summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-10-02 10:17:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-10-02 10:17:24 +0000
commit612e4281406cc805d133d1f09a260303ee5bd101 (patch)
tree244b4abe69789f27e254b0b8895d8356e3ba716e /lxde-base/lxtask
parentVersion bump. Drop old. (diff)
downloadgentoo-2-612e4281406cc805d133d1f09a260303ee5bd101.tar.gz
gentoo-2-612e4281406cc805d133d1f09a260303ee5bd101.tar.bz2
gentoo-2-612e4281406cc805d133d1f09a260303ee5bd101.zip
Remove all the remaining broken linguas. Bug #385287
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'lxde-base/lxtask')
-rw-r--r--lxde-base/lxtask/ChangeLog6
-rw-r--r--lxde-base/lxtask/files/lxtask-0.1.4-remove-broken-linguas.patch13
-rw-r--r--lxde-base/lxtask/lxtask-0.1.4.ebuild13
3 files changed, 24 insertions, 8 deletions
diff --git a/lxde-base/lxtask/ChangeLog b/lxde-base/lxtask/ChangeLog
index fd8ff18449f1..c674e10fb8e4 100644
--- a/lxde-base/lxtask/ChangeLog
+++ b/lxde-base/lxtask/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for lxde-base/lxtask
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxtask/ChangeLog,v 1.18 2011/06/22 07:23:29 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxtask/ChangeLog,v 1.19 2011/10/02 10:17:24 hwoarang Exp $
+
+ 02 Oct 2011; Markos Chandras <hwoarang@gentoo.org> lxtask-0.1.4.ebuild,
+ +files/lxtask-0.1.4-remove-broken-linguas.patch:
+ Remove all the remaining broken linguas. Bug #385287
*lxtask-0.1.4 (22 Jun 2011)
diff --git a/lxde-base/lxtask/files/lxtask-0.1.4-remove-broken-linguas.patch b/lxde-base/lxtask/files/lxtask-0.1.4-remove-broken-linguas.patch
new file mode 100644
index 000000000000..71bf5457730c
--- /dev/null
+++ b/lxde-base/lxtask/files/lxtask-0.1.4-remove-broken-linguas.patch
@@ -0,0 +1,13 @@
+Index: lxtask-0.1.4/configure.ac
+===================================================================
+--- lxtask-0.1.4.orig/configure.ac
++++ lxtask-0.1.4/configure.ac
+@@ -44,7 +44,7 @@ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
+
+ #These codes are NOT maintained by Pootle ca el en_GB lv sq
+-ALL_LINGUAS="af ar ca cs da de el en_GB es et eu fa fi fr gl hr hu id it ja ko lt lv ml nb nl nn pl ps pt pt_BR ru sk sl sq sv tr uk ur ur_PK vi zh_CN zh_TW"
++ALL_LINGUAS="af ar ca cs da de el es et eu fa fi fr gl hr hu id it ja ko lt ml nb nl nn pl ps pt pt_BR ru sk sl sv tr uk ur ur_PK vi zh_CN zh_TW"
+ AM_GLIB_GNU_GETTEXT
+
+ AC_OUTPUT([
diff --git a/lxde-base/lxtask/lxtask-0.1.4.ebuild b/lxde-base/lxtask/lxtask-0.1.4.ebuild
index bc52e6664a71..0af8c20e8d67 100644
--- a/lxde-base/lxtask/lxtask-0.1.4.ebuild
+++ b/lxde-base/lxtask/lxtask-0.1.4.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxtask/lxtask-0.1.4.ebuild,v 1.1 2011/06/22 07:23:29 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxtask/lxtask-0.1.4.ebuild,v 1.2 2011/10/02 10:17:24 hwoarang Exp $
EAPI="4"
-inherit autotools
+inherit eutils autotools
DESCRIPTION="LXDE Task manager"
HOMEPAGE="http://lxde.sf.net/"
@@ -23,13 +23,12 @@ DEPEND="${RDEPEND}
>=dev-util/intltool-0.40.0"
src_prepare() {
- # en_GB.po file does not exist and breaks compilation
- sed -i -e "/^ALL_LINGUAS/s:en_GB::" \
- configure.ac || die
+ # use new patch to remove broken linguas
+ epatch "${FILESDIR}"/${P}-remove-broken-linguas.patch
eautoreconf
}
src_install () {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS README || die "dodoc failed"
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README
}