summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-05-22 14:27:54 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-05-22 14:27:54 +0000
commitd1626e97dc4f5e611fcc67dab05e9c2b684cbb6b (patch)
tree2fbdddc1e338518985011324de5c15788dd8ff38 /kde-misc
parentversion bump; uses experimental cmake patch from Enrico Scholz (diff)
downloadhistorical-d1626e97dc4f5e611fcc67dab05e9c2b684cbb6b.tar.gz
historical-d1626e97dc4f5e611fcc67dab05e9c2b684cbb6b.tar.bz2
historical-d1626e97dc4f5e611fcc67dab05e9c2b684cbb6b.zip
Added LINGUAS support, fixes bug 134605.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kdiff3/ChangeLog5
-rw-r--r--kde-misc/kdiff3/Manifest26
-rw-r--r--kde-misc/kdiff3/kdiff3-0.9.92.ebuild47
3 files changed, 68 insertions, 10 deletions
diff --git a/kde-misc/kdiff3/ChangeLog b/kde-misc/kdiff3/ChangeLog
index aecefba61aa8..490e105ce5fe 100644
--- a/kde-misc/kdiff3/ChangeLog
+++ b/kde-misc/kdiff3/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for kde-misc/kdiff3
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdiff3/ChangeLog,v 1.27 2007/05/15 21:20:58 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdiff3/ChangeLog,v 1.28 2007/05/22 14:27:54 philantrop Exp $
+
+ 22 May 2007; Wulf C. Krueger <philantrop@gentoo.org> kdiff3-0.9.92.ebuild:
+ Added LINGUAS support, fixes bug 134605.
15 May 2007; Carsten Lohrke <carlo@gentoo.org> -kdiff3-0.9.88.ebuild,
-kdiff3-0.9.89.ebuild, -kdiff3-0.9.90.ebuild, -kdiff3-0.9.91.ebuild:
diff --git a/kde-misc/kdiff3/Manifest b/kde-misc/kdiff3/Manifest
index bd037df60e81..c7b6f13cb9a3 100644
--- a/kde-misc/kdiff3/Manifest
+++ b/kde-misc/kdiff3/Manifest
@@ -1,12 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST kdiff3-0.9.92.tar.gz 2220173 RMD160 3757fe678e944755164cdc62bfca9f0214acdbb8 SHA1 c97b98150a1f5de16736a399affe1b4243d1e6c2 SHA256 ec9cc646f6411497cfd5d76ae081b12ff2b11265967ad936d304bd6c452864e4
-EBUILD kdiff3-0.9.92.ebuild 480 RMD160 9b09d38b25d5619a03e3edb743bef2ab4fc40467 SHA1 857159483bbcf4ea4280663b30ccf146a40470d6 SHA256 843a236a3c114720ee0e693f250f275f91455567294293f29f2d7a6bc0ad2fa3
-MD5 04bb46e601dfc55696d3fae8c2c6795a kdiff3-0.9.92.ebuild 480
-RMD160 9b09d38b25d5619a03e3edb743bef2ab4fc40467 kdiff3-0.9.92.ebuild 480
-SHA256 843a236a3c114720ee0e693f250f275f91455567294293f29f2d7a6bc0ad2fa3 kdiff3-0.9.92.ebuild 480
-MISC ChangeLog 5237 RMD160 856f30b4a23ef60a44e8a4b1d0c049a0a21c2d2c SHA1 363a9f210d9d287001677219bd04a9bb80c109a4 SHA256 4240f4af1ac3163f956846d0115973abaca3e2124bfc297c5d13b68a44259dfe
-MD5 6495ab21d44c653fd298f76739f49107 ChangeLog 5237
-RMD160 856f30b4a23ef60a44e8a4b1d0c049a0a21c2d2c ChangeLog 5237
-SHA256 4240f4af1ac3163f956846d0115973abaca3e2124bfc297c5d13b68a44259dfe ChangeLog 5237
+EBUILD kdiff3-0.9.92.ebuild 1924 RMD160 039eca658b4ebbeecaef359f082b2a0e8a996b3c SHA1 0b39be24b0af591a0bf1db9119c28ea74ff74c84 SHA256 cf298eacc8465440d6be9e72c2c380e3751ed3edd885bc7bd44359f894eeba50
+MD5 5ffbf6d09ba617ea43f60273bf46a392 kdiff3-0.9.92.ebuild 1924
+RMD160 039eca658b4ebbeecaef359f082b2a0e8a996b3c kdiff3-0.9.92.ebuild 1924
+SHA256 cf298eacc8465440d6be9e72c2c380e3751ed3edd885bc7bd44359f894eeba50 kdiff3-0.9.92.ebuild 1924
+MISC ChangeLog 5363 RMD160 d3e320b2c67d70d8af5fb89b54e8e12340bb3e54 SHA1 7bb0739e2238036976ddf0a6e7a2cb74e329070a SHA256 f68d898ef21eb15039f9caeec4f2e62243c4d2a43c0e1e73e3d2203f6768d474
+MD5 4adc099a44f05e2cb04f70b978fe0ef9 ChangeLog 5363
+RMD160 d3e320b2c67d70d8af5fb89b54e8e12340bb3e54 ChangeLog 5363
+SHA256 f68d898ef21eb15039f9caeec4f2e62243c4d2a43c0e1e73e3d2203f6768d474 ChangeLog 5363
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
@@ -14,3 +17,10 @@ SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata
MD5 a70cddbce1da0ea2aa919fc5c92c1a5a files/digest-kdiff3-0.9.92 244
RMD160 d6992c504e971b1f6aad8f9277a390617055b94e files/digest-kdiff3-0.9.92 244
SHA256 f1b0eafd901c24de2f85d244f2548f3df9df7609800f589106454962f7d560ed files/digest-kdiff3-0.9.92 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.4 (GNU/Linux)
+
+iD8DBQFGUv3wCkvF58q80IkRAibsAJ9ZnPTv0JExx7P0Zhqjhyee6sCunACfRpLt
+iMzl+uUBfnME42S1ZPR9HC4=
+=h64h
+-----END PGP SIGNATURE-----
diff --git a/kde-misc/kdiff3/kdiff3-0.9.92.ebuild b/kde-misc/kdiff3/kdiff3-0.9.92.ebuild
index c7fd60a07cf2..0efcfb41abb7 100644
--- a/kde-misc/kdiff3/kdiff3-0.9.92.ebuild
+++ b/kde-misc/kdiff3/kdiff3-0.9.92.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdiff3/kdiff3-0.9.92.ebuild,v 1.7 2007/05/15 16:32:28 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdiff3/kdiff3-0.9.92.ebuild,v 1.8 2007/05/22 14:27:54 philantrop Exp $
inherit kde
@@ -16,3 +16,48 @@ IUSE=""
RDEPEND="sys-apps/diffutils"
need-kde 3.5
+
+LANGS="ar az bg br ca cs cy da de el en_GB es et fr ga gl hi hu is it ja ka lt
+nb nl pl pt pt_BR ro ru rw sk sr sr@Latn sv ta tg tr uk zh_CN"
+
+LANGS_DOC="da de en es et fr it nl pt sv"
+
+for lang in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+src_unpack() {
+ kde_src_unpack
+
+ # Adapted from kde.eclass
+ if [[ -z ${LINGUAS} ]]; then
+ einfo "You can drop some of the translations of the interface and"
+ einfo "documentation by setting the \${LINGUAS} variable to the"
+ einfo "languages you want installed."
+ einfo
+ einfo "Enabling all languages"
+ else
+ if [[ -n ${LANGS} ]]; then
+ MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | tr ' ' '\n' | sort | uniq -d))
+ einfo "Enabling translations for: ${MAKE_PO}"
+ local tmp=""
+ for x in ${MAKE_PO}; do
+ tmp+="${x}.po "
+ done
+ MAKE_PO=${tmp}
+ sed -i -e "s:^POFILES =.*:POFILES = ${MAKE_PO}:" "${KDE_S}/po/Makefile.am" \
+ || die "sed for locale failed"
+
+ rm -f "${KDE_S}/configure"
+ fi
+
+ if [[ -n ${LANGS_DOC} ]]; then
+ MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | tr ' ' '\n' | sort | uniq -d))
+ einfo "Enabling documentation for: ${MAKE_DOC}"
+ [[ -n ${MAKE_DOC} ]] && [[ -n ${DOC_DIR_SUFFIX} ]] && MAKE_DOC=$(echo "${MAKE_DOC}" | tr '\n' ' ') && MAKE_DOC="${MAKE_DOC// /${DOC_DIR_SUFFIX} }"
+ sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_DOC} :" \
+ "${KDE_S}/doc/Makefile.am" || die "sed for locale failed"
+ rm -f "${KDE_S}/configure"
+ fi
+ fi
+}