summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-11-25 04:22:52 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-11-25 04:22:52 +0000
commit87be7ef10fd130e4875e986d3dd314529c33c873 (patch)
treea4e742cde2b322ed6932b02c216edea8bf82d967
parentLocal use flag for mapserver added (gdal,geos,postgis,proj). (diff)
downloadhistorical-87be7ef10fd130e4875e986d3dd314529c33c873.tar.gz
historical-87be7ef10fd130e4875e986d3dd314529c33c873.tar.bz2
historical-87be7ef10fd130e4875e986d3dd314529c33c873.zip
Add i18n support, thanks to Damien Gombault, Bug 151319
Package-Manager: portage-2.1.2_rc2
-rw-r--r--media-gfx/gwenview/ChangeLog6
-rw-r--r--media-gfx/gwenview/Manifest33
-rw-r--r--media-gfx/gwenview/files/digest-gwenview-1.4.03
-rw-r--r--media-gfx/gwenview/gwenview-1.4.0.ebuild39
4 files changed, 58 insertions, 23 deletions
diff --git a/media-gfx/gwenview/ChangeLog b/media-gfx/gwenview/ChangeLog
index d4a17512c4aa..cd79d566c876 100644
--- a/media-gfx/gwenview/ChangeLog
+++ b/media-gfx/gwenview/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/gwenview
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/ChangeLog,v 1.44 2006/09/17 22:43:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/ChangeLog,v 1.45 2006/11/25 04:22:52 masterdriverz Exp $
+
+ 25 Nov 2006; Charlie Shepherd <masterdriverz@gentoo.org>
+ gwenview-1.4.0.ebuild:
+ Add i18n support, thanks to Damien Gombault, Bug 151319
*gwenview-1.4.0 (17 Sep 2006)
diff --git a/media-gfx/gwenview/Manifest b/media-gfx/gwenview/Manifest
index b247e7c4f1a1..8369c180df04 100644
--- a/media-gfx/gwenview/Manifest
+++ b/media-gfx/gwenview/Manifest
@@ -1,24 +1,22 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gwenview-1.3.1-noexecstack.patch 432 RMD160 e40ac90091f20e423c1f3b020a1582a25df8194c SHA1 2e23e2ad84d00b86bb2207f141c14fe6793dda32 SHA256 ee376c65eac8840dff17f49a74fcf0b7ee5310b5f56d6b1138dd6ca30f5e4393
MD5 e8170544e85c5c5e89cd50b3a7d6fed4 files/gwenview-1.3.1-noexecstack.patch 432
RMD160 e40ac90091f20e423c1f3b020a1582a25df8194c files/gwenview-1.3.1-noexecstack.patch 432
SHA256 ee376c65eac8840dff17f49a74fcf0b7ee5310b5f56d6b1138dd6ca30f5e4393 files/gwenview-1.3.1-noexecstack.patch 432
DIST gwenview-1.3.1.tar.bz2 2447404 RMD160 d0477ef4e963c6dd0b89fa6c774d77f57436e799 SHA1 be5585d7b5a158ce238df53e5caa00ffdf6034b6 SHA256 6545117dc29ee5b4df2aed0162b2f65cbc864831f5444bb3ec514ea5cd2d97a4
DIST gwenview-1.4.0.tar.bz2 997269 RMD160 0540aed93837a736d7372ccf947b312311910b44 SHA1 e8594c5b47c79fee108a4999c23dac1130320de5 SHA256 da0728a9cbd57e1b36d9ea472ccf55cb3a1204da6f191697c669a38c55d1c711
+DIST gwenview-i18n-1.4.0.tar.bz2 2016732 RMD160 1296124f7493ddd70f662fa8af16230797925cb3 SHA1 76a7fa9e50952d50b09393848154118028505f48 SHA256 e93b7c082214717a51e6e2363781136f6e3fd1f8c6a54f0ae4b32902936db6b7
EBUILD gwenview-1.3.1-r1.ebuild 842 RMD160 c35330ed3cd31413fa2f78f1c86d6dc5b684db52 SHA1 838588fd7f8bdaf5c5ee18b684a98973c4f3faed SHA256 de041edabe2678365af1ed3fd59d6ef8fc888105939f85da3ebf82d35feb176f
MD5 28f956ce6759040e2d70a08417f3786a gwenview-1.3.1-r1.ebuild 842
RMD160 c35330ed3cd31413fa2f78f1c86d6dc5b684db52 gwenview-1.3.1-r1.ebuild 842
SHA256 de041edabe2678365af1ed3fd59d6ef8fc888105939f85da3ebf82d35feb176f gwenview-1.3.1-r1.ebuild 842
-EBUILD gwenview-1.4.0.ebuild 769 RMD160 ecc7f7bbf999327c1532cdcca59c9a2097908e9c SHA1 a86c4f5e0fe9bd86d54654e075b5b1eeae1c0e3a SHA256 335a1fe02ea9abdec9ce67c920d22943942d9067006ad647db0501bbc1e45dd0
-MD5 1bbe55a3f81ef5969703b69104870f34 gwenview-1.4.0.ebuild 769
-RMD160 ecc7f7bbf999327c1532cdcca59c9a2097908e9c gwenview-1.4.0.ebuild 769
-SHA256 335a1fe02ea9abdec9ce67c920d22943942d9067006ad647db0501bbc1e45dd0 gwenview-1.4.0.ebuild 769
-MISC ChangeLog 6312 RMD160 169021c717b00582b93e58833f61137c4c8b7480 SHA1 3ff40a66757b542a789ad48f08d22c1fcdce04f3 SHA256 edae023d37c4084f13e0adc5cfba8960d30f51ff45ce2907504e2f22c1e7fce5
-MD5 ad648ccb4730a35627c9778401a39871 ChangeLog 6312
-RMD160 169021c717b00582b93e58833f61137c4c8b7480 ChangeLog 6312
-SHA256 edae023d37c4084f13e0adc5cfba8960d30f51ff45ce2907504e2f22c1e7fce5 ChangeLog 6312
+EBUILD gwenview-1.4.0.ebuild 1522 RMD160 3380c126756e63aaf078044f86dc7c25a953a0f7 SHA1 695a0464a31a4eceef418b20c6e1b5e811adf412 SHA256 28585d94f214631224aa823af67d4a384feaef1c5bcc6cdf843f28b1ccb31eb4
+MD5 c406804f4c27687e492eb0221473f28c gwenview-1.4.0.ebuild 1522
+RMD160 3380c126756e63aaf078044f86dc7c25a953a0f7 gwenview-1.4.0.ebuild 1522
+SHA256 28585d94f214631224aa823af67d4a384feaef1c5bcc6cdf843f28b1ccb31eb4 gwenview-1.4.0.ebuild 1522
+MISC ChangeLog 6459 RMD160 b49a1cf73950fb2b07df8b14ff7874041ae5a7a7 SHA1 55b9b7e66a777f36382dbc3b939a3c458acf207c SHA256 980dd4d90fee2bf940bedff67a0baa1a958542a0e77efe9af96c5767dadf3aca
+MD5 267a2316227e608fba4479dd8c798cde ChangeLog 6459
+RMD160 b49a1cf73950fb2b07df8b14ff7874041ae5a7a7 ChangeLog 6459
+SHA256 980dd4d90fee2bf940bedff67a0baa1a958542a0e77efe9af96c5767dadf3aca ChangeLog 6459
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
@@ -26,13 +24,6 @@ SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata
MD5 a0a7b00b62982f2f5f3568640fb6068b files/digest-gwenview-1.3.1-r1 250
RMD160 1dd9c38c449479bcebf21d1f5ea7e37ee7711538 files/digest-gwenview-1.3.1-r1 250
SHA256 8a23c17cdeba9a3a2b70ea3b33a7f6bdb76f4849f60a77056d62a2bb41020da8 files/digest-gwenview-1.3.1-r1 250
-MD5 f2c261f601b1097615f8cec2a7e1f755 files/digest-gwenview-1.4.0 247
-RMD160 6d73d461dfd3baf581fba91c8359ca5eb89d21c1 files/digest-gwenview-1.4.0 247
-SHA256 d18861cf8517530de49ee00ea7b4fb08a3201e23943652fe34a6147785e58773 files/digest-gwenview-1.4.0 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFDc+5AiZjviIA2XgRAiWDAKDgmfrgMhWTYRNU7yJc1TJWYlqcWACdHuvW
-QoRaEw1Z20NzwvCJClyHn4U=
-=u19A
------END PGP SIGNATURE-----
+MD5 12f370b45e51c7028a938c36130c55cc files/digest-gwenview-1.4.0 512
+RMD160 b16179ab0462341f740b8a84e4d0655e233a53e6 files/digest-gwenview-1.4.0 512
+SHA256 bda485500bff3bdb1130a30f83c3d6d66380fa5e6a010b0c28073b8026c82bad files/digest-gwenview-1.4.0 512
diff --git a/media-gfx/gwenview/files/digest-gwenview-1.4.0 b/media-gfx/gwenview/files/digest-gwenview-1.4.0
index dfbdaada09ae..42193c2985d7 100644
--- a/media-gfx/gwenview/files/digest-gwenview-1.4.0
+++ b/media-gfx/gwenview/files/digest-gwenview-1.4.0
@@ -1,3 +1,6 @@
MD5 82f15fca494ffd2aabad9828c5c66d94 gwenview-1.4.0.tar.bz2 997269
RMD160 0540aed93837a736d7372ccf947b312311910b44 gwenview-1.4.0.tar.bz2 997269
SHA256 da0728a9cbd57e1b36d9ea472ccf55cb3a1204da6f191697c669a38c55d1c711 gwenview-1.4.0.tar.bz2 997269
+MD5 2b978ab4b76cbd4fb857d63100f0d5da gwenview-i18n-1.4.0.tar.bz2 2016732
+RMD160 1296124f7493ddd70f662fa8af16230797925cb3 gwenview-i18n-1.4.0.tar.bz2 2016732
+SHA256 e93b7c082214717a51e6e2363781136f6e3fd1f8c6a54f0ae4b32902936db6b7 gwenview-i18n-1.4.0.tar.bz2 2016732
diff --git a/media-gfx/gwenview/gwenview-1.4.0.ebuild b/media-gfx/gwenview/gwenview-1.4.0.ebuild
index 4e7dfd1eb791..481aeec5ab06 100644
--- a/media-gfx/gwenview/gwenview-1.4.0.ebuild
+++ b/media-gfx/gwenview/gwenview-1.4.0.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/media-gfx/gwenview/gwenview-1.4.0.ebuild,v 1.1 2006/09/17 22:43:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/gwenview-1.4.0.ebuild,v 1.2 2006/11/25 04:22:52 masterdriverz Exp $
inherit kde
@@ -21,15 +21,52 @@ DEPEND="kipi? ( >=media-plugins/kipi-plugins-0.1.0_beta2 )
need-kde 3
+I18N="${PN}-i18n-${PV}"
+
+LANGS="ar az bg br ca cs cy da de el en_GB es et fi fo fr ga gl he hi hu
+is it ja ka ko lt nb nl nso pa pl pt pt_BR ro ru rw sk sr sr@Latn sv
+ta tr uk ven xh zh_CN zh_TW zu"
+
+for X in ${LANGS}; do
+ SRC_URI="${SRC_URI} linguas_${X}? ( mirror://sourceforge/${PN}/${I18N}.tar.bz2 )"
+ IUSE="${IUSE} linguas_${X}"
+done
+
pkg_setup(){
if use kipi ; then
slot_rebuild "media-plugins/kipi-plugins" && die
fi
}
+src_unpack() {
+ kde_src_unpack
+
+ if [ -d "${WORKDIR}/${I18N}" ]; then
+ cd "${WORKDIR}/${I18N}"
+ for X in ${LANGS}; do
+ use linguas_${X} || rm -rf "${X}"
+ done
+ rm -f configure
+ fi
+}
+
src_compile() {
local myconf="$(use_enable kipi)"
rm -f "${S}/configure"
kde_src_compile
+
+ if [ -d "${WORKDIR}/${I18N}" ]; then
+ KDE_S="${WORKDIR}/${I18N}" \
+ kde_src_compile
+ fi
+}
+
+src_install() {
+ kde_src_install
+
+ if [ -d "${WORKDIR}/${I18N}" ]; then
+ KDE_S="${WORKDIR}/${I18N}" \
+ kde_src_install
+ fi
}