diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-01-25 14:46:33 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-01-25 14:46:33 +0000 |
commit | e39c09f33ffaf348360e01954da19ae1cd17f37d (patch) | |
tree | e2a8fff000f204b1366c946d86da241e52903c01 /dev-util/poedit | |
parent | masked poedit again. i accidentally unmasked it thinking it was ok sandbox-wi... (diff) | |
download | historical-e39c09f33ffaf348360e01954da19ae1cd17f37d.tar.gz historical-e39c09f33ffaf348360e01954da19ae1cd17f37d.tar.bz2 historical-e39c09f33ffaf348360e01954da19ae1cd17f37d.zip |
fix for sandbox w/ kde icons
Diffstat (limited to 'dev-util/poedit')
-rw-r--r-- | dev-util/poedit/files/poedit-1.1.5-gentoo.diff | 54 | ||||
-rw-r--r-- | dev-util/poedit/poedit-1.1.5.ebuild | 13 |
2 files changed, 65 insertions, 2 deletions
diff --git a/dev-util/poedit/files/poedit-1.1.5-gentoo.diff b/dev-util/poedit/files/poedit-1.1.5-gentoo.diff new file mode 100644 index 000000000000..0297457dbc60 --- /dev/null +++ b/dev-util/poedit/files/poedit-1.1.5-gentoo.diff @@ -0,0 +1,54 @@ +diff -u install.orig/Makefile.am install/Makefile.am +--- install.orig/Makefile.am Sat Nov 3 16:34:09 2001 ++++ install/Makefile.am Fri Jan 25 16:22:30 2002 +@@ -4,17 +4,17 @@ + + if USE_KDE + install-kde: +- mkdir -p $(KDE_DATA_DIR)/icons +- mkdir -p $(KDE_DATA_DIR)/mimelnk/application +- mkdir -p $(KDE_DATA_DIR)/applnk/Development ++ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/icons ++ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application ++ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development + if test -w $(KDE_DATA_DIR)/icons ; then \ +- install -m 644 $(top_srcdir)/src/appicon.xpm $(KDE_DATA_DIR)/icons/poedit.xpm; \ ++ install -m 644 $(top_srcdir)/src/appicon.xpm $(DESTDIR)/$(KDE_DATA_DIR)/icons/poedit.xpm; \ + fi + if test -w $(KDE_DATA_DIR)/mimelnk/application ; then \ +- install -m 644 $(srcdir)/x-po.kdelnk $(KDE_DATA_DIR)/mimelnk/application; \ ++ install -m 644 $(srcdir)/x-po.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application; \ + fi + if test -w $(KDE_DATA_DIR)/applnk/Development ; then \ +- install -m 644 $(srcdir)/poedit.kdelnk $(KDE_DATA_DIR)/applnk/Development; \ ++ install -m 644 $(srcdir)/poedit.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development; \ + fi + + else +diff -u install.orig/Makefile.in install/Makefile.in +--- install.orig/Makefile.in Mon Nov 5 16:11:56 2001 ++++ install/Makefile.in Fri Jan 25 16:23:09 2002 +@@ -189,17 +189,17 @@ + install-data-local: install-gnome install-kde + + @USE_KDE_TRUE@install-kde: +-@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/icons +-@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/mimelnk/application +-@USE_KDE_TRUE@ mkdir -p $(KDE_DATA_DIR)/applnk/Development ++@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/icons ++@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application ++@USE_KDE_TRUE@ mkdir -p $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development + @USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/icons ; then \ +-@USE_KDE_TRUE@ install -m 644 $(top_srcdir)/src/appicon.xpm $(KDE_DATA_DIR)/icons/poedit.xpm; \ ++@USE_KDE_TRUE@ install -m 644 $(top_srcdir)/src/appicon.xpm $(DESTDIR)/$(KDE_DATA_DIR)/icons/poedit.xpm; \ + @USE_KDE_TRUE@ fi + @USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/mimelnk/application ; then \ +-@USE_KDE_TRUE@ install -m 644 $(srcdir)/x-po.kdelnk $(KDE_DATA_DIR)/mimelnk/application; \ ++@USE_KDE_TRUE@ install -m 644 $(srcdir)/x-po.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/mimelnk/application; \ + @USE_KDE_TRUE@ fi + @USE_KDE_TRUE@ if test -w $(KDE_DATA_DIR)/applnk/Development ; then \ +-@USE_KDE_TRUE@ install -m 644 $(srcdir)/poedit.kdelnk $(KDE_DATA_DIR)/applnk/Development; \ ++@USE_KDE_TRUE@ install -m 644 $(srcdir)/poedit.kdelnk $(DESTDIR)/$(KDE_DATA_DIR)/applnk/Development; \ + @USE_KDE_TRUE@ fi + + @USE_KDE_FALSE@install-kde: diff --git a/dev-util/poedit/poedit-1.1.5.ebuild b/dev-util/poedit/poedit-1.1.5.ebuild index 95474d78db41..04842bf8477d 100644 --- a/dev-util/poedit/poedit-1.1.5.ebuild +++ b/dev-util/poedit/poedit-1.1.5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Tod Neidt <tneidt@fidnet.com> -# $Header: /var/cvsroot/gentoo-x86/dev-util/poedit/poedit-1.1.5.ebuild,v 1.1 2002/01/10 13:52:53 hallski Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/poedit/poedit-1.1.5.ebuild,v 1.2 2002/01/25 14:46:33 danarmak Exp $ S=${WORKDIR}/${P} @@ -14,6 +14,14 @@ HOMEPAGE="http://poedit.sourceforge.net/" DEPEND=">=x11-libs/wxGTK-2.3.2 >=sys-libs/db-3" +src_unpack() { + + unpack ${A} + cd ${S} + patch -p0 <${FILESDIR}/${P}-gentoo.diff + +} + src_compile() { ./configure --host=${CHOST} \ @@ -27,7 +35,8 @@ src_compile() { } src_install () { - make prefix=${D}/usr \ + + make prefix=${D}/usr DESTDIR=${D} \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ datadir=${D}/usr/share \ |