summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-11-08 14:07:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-11-08 14:07:00 +0000
commitbd1a22840aea5b0ef19bc2ee076f11fe6808ffbf (patch)
treea5ca468a0262479b4c9a72633076e0351ef973ad /app-text/kbibtex
parentBump (diff)
downloadgentoo-2-bd1a22840aea5b0ef19bc2ee076f11fe6808ffbf.tar.gz
gentoo-2-bd1a22840aea5b0ef19bc2ee076f11fe6808ffbf.tar.bz2
gentoo-2-bd1a22840aea5b0ef19bc2ee076f11fe6808ffbf.zip
Fix Categories= entry and icon.
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'app-text/kbibtex')
-rw-r--r--app-text/kbibtex/ChangeLog6
-rw-r--r--app-text/kbibtex/files/kbibtex-0_p95-entry.patch9
-rw-r--r--app-text/kbibtex/kbibtex-0_p95.ebuild14
3 files changed, 25 insertions, 4 deletions
diff --git a/app-text/kbibtex/ChangeLog b/app-text/kbibtex/ChangeLog
index 3b22c26e2a3b..77a6b446ede6 100644
--- a/app-text/kbibtex/ChangeLog
+++ b/app-text/kbibtex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/kbibtex
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/ChangeLog,v 1.26 2009/11/08 13:20:20 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/ChangeLog,v 1.27 2009/11/08 14:06:59 ssuominen Exp $
+
+ 08 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> kbibtex-0_p95.ebuild,
+ +files/kbibtex-0_p95-entry.patch:
+ Fix Categories= entry and icon.
*kbibtex-0_p95 (08 Nov 2009)
diff --git a/app-text/kbibtex/files/kbibtex-0_p95-entry.patch b/app-text/kbibtex/files/kbibtex-0_p95-entry.patch
new file mode 100644
index 000000000000..c10971bf9688
--- /dev/null
+++ b/app-text/kbibtex/files/kbibtex-0_p95-entry.patch
@@ -0,0 +1,9 @@
+diff -ur kbibtex-0_p95.orig/src/program/kbibtex.desktop kbibtex-0_p95/src/program/kbibtex.desktop
+--- kbibtex-0_p95.orig/src/program/kbibtex.desktop 2009-11-08 15:10:40.000000000 +0200
++++ kbibtex-0_p95/src/program/kbibtex.desktop 2009-11-08 16:01:32.000000000 +0200
+@@ -12,4 +12,4 @@
+ # TODO X-DBUS-StartupType=Multi
+ # TODO X-DBUS-ServiceName=org.kde.okteta
+ # TODO Categories=Qt;KDE;Utility;X-KDE-Utilities-File;
+-
++Categories=Qt;KDE;Utility;
diff --git a/app-text/kbibtex/kbibtex-0_p95.ebuild b/app-text/kbibtex/kbibtex-0_p95.ebuild
index 3b301218d731..0fea32389308 100644
--- a/app-text/kbibtex/kbibtex-0_p95.ebuild
+++ b/app-text/kbibtex/kbibtex-0_p95.ebuild
@@ -1,14 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/kbibtex-0_p95.ebuild,v 1.2 2009/11/08 13:49:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/kbibtex-0_p95.ebuild,v 1.3 2009/11/08 14:06:59 ssuominen Exp $
EAPI=2
WEBKIT_REQUIRED=always
-inherit kde4-base
+inherit eutils kde4-base
DESCRIPTION="A BibTeX editor for KDE"
HOMEPAGE="http://home.gna.org/kbibtex/"
-SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.bz2"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.bz2
+ http://dev.gentoo.org/~ssuominen/kbibtex.png.bz2"
LICENSE="GPL-2"
SLOT="4"
@@ -18,3 +19,10 @@ IUSE="debug"
DEPEND="!${CATEGORY}/${PN}:0"
RDEPEND="${DEPEND}
virtual/tex-base"
+
+PATCHES=( "${FILESDIR}/${P}-entry.patch" )
+
+src_install() {
+ kde4-base_src_install
+ doicon "${WORKDIR}"/${PN}.png
+}