summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/djvu')
-rw-r--r--app-text/djvu/ChangeLog6
-rw-r--r--app-text/djvu/djvu-3.5.17.ebuild4
-rw-r--r--app-text/djvu/files/djvu-3.5.17-dont-prestrip-bins.patch36
3 files changed, 44 insertions, 2 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
index a7b1c774babd..0e36df0677c0 100644
--- a/app-text/djvu/ChangeLog
+++ b/app-text/djvu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/djvu
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.40 2006/05/30 09:31:32 ehmsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.41 2006/06/02 07:33:38 ehmsen Exp $
+
+ 02 Jun 2006; Martin Ehmsen <ehmsen@gentoo.org>
+ +files/djvu-3.5.17-dont-prestrip-bins.patch, djvu-3.5.17.ebuild:
+ Patched Makefiles so they don't strip binaries, bug #135208.
30 May 2006; Martin Ehmsen <ehmsen@gentoo.org> djvu-3.5.17.ebuild:
Fixed problem with nspluging being installed also with unset use flag,
diff --git a/app-text/djvu/djvu-3.5.17.ebuild b/app-text/djvu/djvu-3.5.17.ebuild
index 24d42bef9287..1f61e082469c 100644
--- a/app-text/djvu/djvu-3.5.17.ebuild
+++ b/app-text/djvu/djvu-3.5.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.17.ebuild,v 1.3 2006/05/30 09:31:32 ehmsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.17.ebuild,v 1.4 2006/06/02 07:33:38 ehmsen Exp $
inherit nsplugins flag-o-matic fdo-mime eutils multilib toolchain-funcs
@@ -25,6 +25,8 @@ src_unpack() {
unpack ${A}
cd ${S}
+ epatch "${FILESDIR}/${P}-dont-prestrip-bins.patch" || die "patch failed"
+
# Replace autochecking acdesktop.m4 with a gentoo-specific one
cp "${FILESDIR}/gentoo-acdesktop.m4" "${S}/gui/desktop/acdesktop.m4"
diff --git a/app-text/djvu/files/djvu-3.5.17-dont-prestrip-bins.patch b/app-text/djvu/files/djvu-3.5.17-dont-prestrip-bins.patch
new file mode 100644
index 000000000000..87ebf9c1e197
--- /dev/null
+++ b/app-text/djvu/files/djvu-3.5.17-dont-prestrip-bins.patch
@@ -0,0 +1,36 @@
+diff -urN djvulibre-3.5.17.orig/gui/djview/Makefile.in djvulibre-3.5.17/gui/djview/Makefile.in
+--- djvulibre-3.5.17.orig/gui/djview/Makefile.in 2004-08-24 19:58:55.000000000 +0200
++++ djvulibre-3.5.17/gui/djview/Makefile.in 2006-06-02 09:11:29.000000000 +0200
+@@ -174,7 +174,7 @@
+ install-bin: ${PROGRAM} FORCE
+ ${INSTALL} -d ${DESTDIR}${bindir}
+ ${LIBTOOL} --mode=install \
+- ${INSTALL_PROGRAM} -s ${PROGRAM} ${DESTDIR}${bindir}
++ ${INSTALL_PROGRAM} ${PROGRAM} ${DESTDIR}${bindir}
+
+ install-man: FORCE
+ ${INSTALL} -d ${DESTDIR}${mandir}/man1
+diff -urN djvulibre-3.5.17.orig/tools/Makefile.in djvulibre-3.5.17/tools/Makefile.in
+--- djvulibre-3.5.17.orig/tools/Makefile.in 2005-08-23 18:49:23.000000000 +0200
++++ djvulibre-3.5.17/tools/Makefile.in 2006-06-02 09:10:52.000000000 +0200
+@@ -75,7 +75,7 @@
+ ${INSTALL} -d ${DESTDIR}${bindir}
+ for n in ${PROGRAMS} ; do \
+ ${LIBTOOL} --mode=install \
+- ${INSTALL_PROGRAM} -s $$n ${DESTDIR}${bindir} \
++ ${INSTALL_PROGRAM} $$n ${DESTDIR}${bindir} \
+ || exit ; done
+
+ install-scripts: FORCE
+diff -urN djvulibre-3.5.17.orig/xmltools/Makefile.in djvulibre-3.5.17/xmltools/Makefile.in
+--- djvulibre-3.5.17.orig/xmltools/Makefile.in 2004-08-24 19:58:56.000000000 +0200
++++ djvulibre-3.5.17/xmltools/Makefile.in 2006-06-02 09:10:30.000000000 +0200
+@@ -63,7 +63,7 @@
+ ${INSTALL} -d ${DESTDIR}${bindir}
+ for n in ${PROGRAMS} ; do \
+ ${LIBTOOL} --mode=install \
+- ${INSTALL_PROGRAM} -s $$n ${DESTDIR}${bindir} \
++ ${INSTALL_PROGRAM} $$n ${DESTDIR}${bindir} \
+ || exit ; done
+
+ install-data: FORCE