summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2012-03-03 20:14:56 +0000
committerAngelo Arrifano <miknix@gentoo.org>2012-03-03 20:14:56 +0000
commit76132816f73cb04b66f35a1fff9943ac97e3cfea (patch)
tree08bc4902c2cbf6963bf3b82d316b8c4d9e3bcb16 /gpe-base
parentRemove old. (diff)
downloadgentoo-2-76132816f73cb04b66f35a1fff9943ac97e3cfea.tar.gz
gentoo-2-76132816f73cb04b66f35a1fff9943ac97e3cfea.tar.bz2
gentoo-2-76132816f73cb04b66f35a1fff9943ac97e3cfea.zip
Fix "ignored LINGUAS" bug 406419
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'gpe-base')
-rw-r--r--gpe-base/libgpewidget/ChangeLog8
-rw-r--r--gpe-base/libgpewidget/files/libgpewidget-0.117-linguas.patch11
-rw-r--r--gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild7
3 files changed, 22 insertions, 4 deletions
diff --git a/gpe-base/libgpewidget/ChangeLog b/gpe-base/libgpewidget/ChangeLog
index 415cde0fb191..5420209275a5 100644
--- a/gpe-base/libgpewidget/ChangeLog
+++ b/gpe-base/libgpewidget/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gpe-base/libgpewidget
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpewidget/ChangeLog,v 1.9 2011/05/15 22:21:30 miknix Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpewidget/ChangeLog,v 1.10 2012/03/03 20:14:56 miknix Exp $
+
+ 03 Mar 2012; Angelo Arrifano <miknix@gentoo.org>
+ libgpewidget-0.117-r1.ebuild, +files/libgpewidget-0.117-linguas.patch:
+ Fix "ignored LINGUAS" bug 406419
15 May 2011; Angelo Arrifano <miknix@gentoo.org>
libgpewidget-0.117-r1.ebuild:
diff --git a/gpe-base/libgpewidget/files/libgpewidget-0.117-linguas.patch b/gpe-base/libgpewidget/files/libgpewidget-0.117-linguas.patch
new file mode 100644
index 000000000000..85e3b68b6881
--- /dev/null
+++ b/gpe-base/libgpewidget/files/libgpewidget-0.117-linguas.patch
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.old 2012-03-03 20:53:16.237577607 +0100
++++ po/Makefile.in.in 2012-03-03 20:54:09.303580162 +0100
+@@ -56,7 +56,7 @@
+
+ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
+
+-USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi)
++USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep -E \" ?$$lang ?\"`"; then printf "$$lang "; fi; done; fi)
+
+ USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
+
diff --git a/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild b/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild
index 1fd419678f7d..fe589969d714 100644
--- a/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild
+++ b/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild,v 1.7 2011/05/15 22:21:30 miknix Exp $
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild,v 1.8 2012/03/03 20:14:56 miknix Exp $
EAPI=2
GPE_TARBALL_SUFFIX="bz2"
@@ -34,6 +34,9 @@ GPE_DOCS="ChangeLog"
GPECONF="$(use_enable cairo)"
src_prepare() {
+ # Fix LINGUAS bug #406419
+ epatch "${FILESDIR}/${P}-linguas.patch"
+
# Fix underlinking, bug #367421
sed -i -e 's/^infoprint_LDADD =/infoprint_LDADD = -lX11/' Makefile.am \
|| die 'Failed to sed Makefile.am'