summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-01-27 13:21:12 +0000
committerHanno Böck <hanno@gentoo.org>2005-01-27 13:21:12 +0000
commit91e2953030c5d0bf8f604c6b45967b44ef278058 (patch)
treee2301b45b716c1126a9ce7aea1821bd4f48c69e1 /app-office
parentAdjusting LICENSE and closing bug #79700. (diff)
downloadgentoo-2-91e2953030c5d0bf8f604c6b45967b44ef278058.tar.gz
gentoo-2-91e2953030c5d0bf8f604c6b45967b44ef278058.tar.bz2
gentoo-2-91e2953030c5d0bf8f604c6b45967b44ef278058.zip
fix for scribus menu entry
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/scribus/ChangeLog5
-rw-r--r--app-office/scribus/scribus-1.2.1.ebuild18
2 files changed, 9 insertions, 14 deletions
diff --git a/app-office/scribus/ChangeLog b/app-office/scribus/ChangeLog
index c2166fbd15b4..5ac19e2b5eb2 100644
--- a/app-office/scribus/ChangeLog
+++ b/app-office/scribus/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/scribus
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.49 2005/01/08 15:22:05 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/ChangeLog,v 1.50 2005/01/27 13:21:12 hanno Exp $
+
+ 27 Jan 2005; Hanno Boeck <hanno@gentoo.org> scribus-1.2.1.ebuild:
+ Make menu entry work and use portage macros domenu and doicon.
*scribus-1.2.1 (08 Jan 2005)
diff --git a/app-office/scribus/scribus-1.2.1.ebuild b/app-office/scribus/scribus-1.2.1.ebuild
index 7b555f3658d6..e80949b0c89c 100644
--- a/app-office/scribus/scribus-1.2.1.ebuild
+++ b/app-office/scribus/scribus-1.2.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.2.1.ebuild,v 1.1 2005/01/08 15:22:05 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.2.1.ebuild,v 1.2 2005/01/27 13:21:12 hanno Exp $
-inherit kde-functions
+inherit kde-functions eutils
need-qt 3
DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux."
@@ -11,7 +11,7 @@ SRC_URI="http://www.scribus.org.uk/downloads/${PV}/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64"
-IUSE="kde"
+IUSE=""
DEPEND=">=x11-libs/qt-3.3.3
>=media-libs/freetype-2.1
@@ -33,16 +33,8 @@ src_install() {
dodoc AUTHORS ChangeLog README TODO
- # Fixing desktop.scribus
- if use kde ; then
- inherit kde-functions
- set-kdedir 3
- sed -e 's/local\///' scribus.desktop > desktop.scribus.2
- echo "Name=Scribus" >> desktop.scribus.2
- cp -f desktop.scribus.2 scribus.desktop
- insinto ${PREFIX}/share/applnk/Graphics
- doins scribus.desktop
- fi
+ domenu scribus.desktop
+ doicon scribus/icons/scribusicon.png
dosym /usr/share/scribus/doc /usr/share/doc/${PF}/html
}