Added missed translations. Fixed bug #148880 reported by Denilson <denilsonsa AT...
authorPeter Volkov <pva@gentoo.org>
Sun, 21 Jan 2007 15:52:55 +0000 (15:52 +0000)
committerPeter Volkov <pva@gentoo.org>
Sun, 21 Jan 2007 15:52:55 +0000 (15:52 +0000)
Package-Manager: portage-2.1.1-r2

app-doc/gimp-help/ChangeLog
app-doc/gimp-help/Manifest
app-doc/gimp-help/files/digest-gimp-help-0.11-r1 [new file with mode: 0644]
app-doc/gimp-help/files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch [new file with mode: 0644]
app-doc/gimp-help/gimp-help-0.11-r1.ebuild [new file with mode: 0644]

index 2b8ae1dbbb7c737ae0506161c84a047fc0450ee4..8ad71963347390ba7a281f972527e9800cc14f3c 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for app-doc/gimp-help
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/ChangeLog,v 1.23 2007/01/21 15:43:04 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/ChangeLog,v 1.24 2007/01/21 15:52:55 pva Exp $
+
+*gimp-help-0.11-r1 (21 Jan 2007)
+
+  21 Jan 2007; <pva@gentoo.org>
+  +files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch,
+  +gimp-help-0.11-r1.ebuild:
+  Added missed translations. Fixed bug #148880 reported by Denilson
+  <denilsonsa AT gmail.com>; images now respect LINGUAS setting.
 
   21 Jan 2007; <pva@gentoo.org> metadata.xml, gimp-help-0.10.ebuild,
   gimp-help-0.11.ebuild:
index 93983adc221a55a0b333d42b76e1df6a82ebfc94..ef902eabd32d22e6e98586012b46c773e03d7e83 100644 (file)
@@ -1,17 +1,25 @@
+AUX gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch 2070 RMD160 7ea9b9a5e0aa22eff98a48e32761ce84ac447d81 SHA1 24b2a32d85a29b6f96c6e1fe1b6b4067e1a2d91a SHA256 dca52f2465506c86284e96afcf54c139de817e1b0c280bad2e08e7f41db300cd
+MD5 7945476d9598e62e426d8270dfe255f6 files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch 2070
+RMD160 7ea9b9a5e0aa22eff98a48e32761ce84ac447d81 files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch 2070
+SHA256 dca52f2465506c86284e96afcf54c139de817e1b0c280bad2e08e7f41db300cd files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch 2070
 DIST gimp-help-2-0.10.tar.gz 41802089 RMD160 8bf675b1973077f810382d90f36e8c4057e22aea SHA1 82cfde38b53f4b497d89dd7551c707980f7ad2a6 SHA256 cd1cd381435823809264e10ede6d597ec46d443c5bcd7b803da4190ba505454f
 DIST gimp-help-2-0.11.tar.gz 52058316 RMD160 edfa32797ed6c93048e510b2c4f39f4738468b49 SHA1 b78e8e24b03bd923da7f5f21f99566d789aad963 SHA256 ad1238962ac3eea36b2d07f210e7716f4892b46b49efb313de03c3b71499f9e6
 EBUILD gimp-help-0.10.ebuild 1612 RMD160 dfbb11a3ac1f0d61b677fe1469c06e9e7f0770c1 SHA1 c27f7da3ab4eea7e1fd90e4f5b4d3dfa83e35039 SHA256 03fe6b95dbe6e20b364a191af09d8bb15b79547af46fb4bc1114bc70f64d8eb8
 MD5 812c562338de18f6decdf81e0441abd8 gimp-help-0.10.ebuild 1612
 RMD160 dfbb11a3ac1f0d61b677fe1469c06e9e7f0770c1 gimp-help-0.10.ebuild 1612
 SHA256 03fe6b95dbe6e20b364a191af09d8bb15b79547af46fb4bc1114bc70f64d8eb8 gimp-help-0.10.ebuild 1612
+EBUILD gimp-help-0.11-r1.ebuild 2006 RMD160 77a1b2952c21d5b9dc9e83b319cce3db32ef2a48 SHA1 a3689e3dc21ef13f156ebad842e5579bf5d5c653 SHA256 20ed14ea79f2907f67dec998073395f84b07e71f56d5851953defa580a4efb57
+MD5 2e7e18e45f32691759b5274cd36a8720 gimp-help-0.11-r1.ebuild 2006
+RMD160 77a1b2952c21d5b9dc9e83b319cce3db32ef2a48 gimp-help-0.11-r1.ebuild 2006
+SHA256 20ed14ea79f2907f67dec998073395f84b07e71f56d5851953defa580a4efb57 gimp-help-0.11-r1.ebuild 2006
 EBUILD gimp-help-0.11.ebuild 1612 RMD160 ce1891d982a37b7063f38ef442227a7161cbc89d SHA1 26557e9a24e879617d249e13093fb793ef8f4bfa SHA256 4a775f07ddc196ee357adbc2e2472db05f49e1df34e4046fa27452c87d109c9f
 MD5 f26fe80caab463597e7d92d195e06172 gimp-help-0.11.ebuild 1612
 RMD160 ce1891d982a37b7063f38ef442227a7161cbc89d gimp-help-0.11.ebuild 1612
 SHA256 4a775f07ddc196ee357adbc2e2472db05f49e1df34e4046fa27452c87d109c9f gimp-help-0.11.ebuild 1612
-MISC ChangeLog 3033 RMD160 fd52ec99ad3dc82697b8f7cde2a6c30bd3c8f798 SHA1 b09e6c5b0028a26853481d512c9ec7c28fa9c9c3 SHA256 62f75b89482a02aeb4082556ca7191910608985157e1b950940dee2061d2b563
-MD5 ec20198644f7f82b95686a07587b3ac0 ChangeLog 3033
-RMD160 fd52ec99ad3dc82697b8f7cde2a6c30bd3c8f798 ChangeLog 3033
-SHA256 62f75b89482a02aeb4082556ca7191910608985157e1b950940dee2061d2b563 ChangeLog 3033
+MISC ChangeLog 3320 RMD160 95bb4183c89013245a8aca64de2d30f4cf17321e SHA1 f57c522471461914e4687950d9d3127e8f7cf8a2 SHA256 7dbc45632a985779b2d4d01c9d3dfdf9ee11b9f9978d5839f2249ebe0e61de3d
+MD5 c7cf5540a8b490fddf9c82a4a3040ddc ChangeLog 3320
+RMD160 95bb4183c89013245a8aca64de2d30f4cf17321e ChangeLog 3320
+SHA256 7dbc45632a985779b2d4d01c9d3dfdf9ee11b9f9978d5839f2249ebe0e61de3d ChangeLog 3320
 MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160
@@ -22,3 +30,6 @@ SHA256 d510a63bfd6b6f729e7349b748903ed234143dac055bc8c7f8fca232561c81d8 files/di
 MD5 e80926bff9d59db57bfdd060890b1817 files/digest-gimp-help-0.11 256
 RMD160 20b7c04d863520e996f2cba2790117e7237453dd files/digest-gimp-help-0.11 256
 SHA256 aab48f03a2f34e4e7f2a06645de7e99fafb8da22bdbf1a0783cad7c97929802d files/digest-gimp-help-0.11 256
+MD5 e80926bff9d59db57bfdd060890b1817 files/digest-gimp-help-0.11-r1 256
+RMD160 20b7c04d863520e996f2cba2790117e7237453dd files/digest-gimp-help-0.11-r1 256
+SHA256 aab48f03a2f34e4e7f2a06645de7e99fafb8da22bdbf1a0783cad7c97929802d files/digest-gimp-help-0.11-r1 256
diff --git a/app-doc/gimp-help/files/digest-gimp-help-0.11-r1 b/app-doc/gimp-help/files/digest-gimp-help-0.11-r1
new file mode 100644 (file)
index 0000000..a742112
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 1becf4914fe51d8f0ce4142202c8cb92 gimp-help-2-0.11.tar.gz 52058316
+RMD160 edfa32797ed6c93048e510b2c4f39f4738468b49 gimp-help-2-0.11.tar.gz 52058316
+SHA256 ad1238962ac3eea36b2d07f210e7716f4892b46b49efb313de03c3b71499f9e6 gimp-help-2-0.11.tar.gz 52058316
diff --git a/app-doc/gimp-help/files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch b/app-doc/gimp-help/files/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch
new file mode 100644 (file)
index 0000000..c2a0977
--- /dev/null
@@ -0,0 +1,72 @@
+--- Makefile.am.orig   2006-12-02 14:23:01.000000000 +0300
++++ Makefile.am        2007-01-21 17:43:13.000000000 +0300
+@@ -3,17 +3,19 @@
+ STAMP_DIR = stamps
+ IMAGE_DIRS = \
++      .               \
++      callouts        \
+       dialogs         \
+       dialogs/examples\
+       filters         \
+       filters/examples\
+       glossary        \
++      math            \
++      menus           \
++      preferences     \
+       tool-options    \
+       toolbox         \
+-      callouts        \
+-      preferences     \
+-      using           \
+-      menus
++      using
+ IMAGE_FILES = \
+       $(wildcard $(top_srcdir)/images/*.png)          \
+@@ -93,9 +95,21 @@
+       @echo '*** Creating directories ***'
+     # we care only for HTML here
+-      @for name in `find $(top_srcdir)/images/ -name "*.png" -o -name "*.jpg"`;\
+-              do $(mkinstalldirs) `dirname html/$$name`; \
++      @for lang in $(ALL_LINGUAS); do \
++        echo 'Language: '$$lang; \
++        if test $$lang = "en"; then \
++          for dir in $(IMAGE_DIRS); do \
++            for file in `echo $(top_srcdir)/images/$$dir/*.png` `echo $(top_srcdir)/images/$$dir/*.jpg`; do \
++              $(mkinstalldirs) `dirname html/$$file`; \
++            done; \
++          done; \
++        else \
++          for file in `find images/ -wholename "*/$$lang/*.png" -o -wholename "*/$$lang/*.jpg"`; do \
++            $(mkinstalldirs) `dirname html/$$file`; \
++          done; \
++        fi; \
+       done;
++
+   # only create a link in the PDF directory, because image files are
+   # included in the PDF anyways
+       @echo '*** Creating link in PDF directory to images ***'
+@@ -133,8 +147,19 @@
+       @echo '*** Copying images ***'
+   # copy the image files to html directory
+-      @for name in `find $(top_srcdir)/images/ -name "*.png" -o -name "*.jpg"`;\
+-    do cp $$name html/$$name; \
++      @for lang in $(ALL_LINGUAS); do \
++        echo 'Language: '$$lang; \
++        if test $$lang = "en"; then \
++          for dir in $(IMAGE_DIRS); do \
++            for file in `echo $(top_srcdir)/images/$$dir/*.png` `echo $(top_srcdir)/images/$$dir/*.jpg`; do \
++              test -f $$file && cp $$file html/$$file; \
++            done; \
++          done; \
++        else \
++          for file in `find images/ -wholename "*/$$lang/*.png" -o -wholename "*/$$lang/*.jpg"`; do \
++            cp $$file html/$$file; \
++          done; \
++        fi; \
+       done;
+       @touch $@
diff --git a/app-doc/gimp-help/gimp-help-0.11-r1.ebuild b/app-doc/gimp-help/gimp-help-0.11-r1.ebuild
new file mode 100644 (file)
index 0000000..f45a3f1
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-0.11-r1.ebuild,v 1.1 2007/01/21 15:52:55 pva Exp $
+
+inherit autotools
+
+MY_P=${P/gimp-help/gimp-help-2}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="GNU Image Manipulation Program help files"
+HOMEPAGE="http://docs.gimp.org/"
+SRC_URI="mirror://gimp/help/${MY_P}.tar.gz"
+
+LICENSE="FDL-1.2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="webinstall linguas_cs linguas_de linguas_en linguas_es linguas_fr linguas_hr linguas_it linguas_ko linguas_nl linguas_no linguas_ru linguas_sv linguas_zh_CN"
+DEPEND="=app-text/docbook-xml-dtd-4.3*
+               dev-libs/libxml2
+               dev-libs/libxslt
+               webinstall? ( media-gfx/imagemagick )"
+RDEPEND="!<media-gfx/gimp-2.2.12"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       epatch "${FILESDIR}"/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch
+       eautomake
+}
+
+src_compile() {
+       local ALL_LINGUAS=""
+
+       use linguas_cs && ALL_LINGUAS="${ALL_LINGUAS} cs"
+       use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de"
+       use linguas_en && ALL_LINGUAS="${ALL_LINGUAS} en"
+       use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es"
+       use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr"
+       use linguas_hr && ALL_LINGUAS="${ALL_LINGUAS} hr"
+       use linguas_it && ALL_LINGUAS="${ALL_LINGUAS} it"
+       use linguas_ko && ALL_LINGUAS="${ALL_LINGUAS} ko"
+       use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl"
+       use linguas_no && ALL_LINGUAS="${ALL_LINGUAS} no"
+       use linguas_ru && ALL_LINGUAS="${ALL_LINGUAS} ru"
+       use linguas_sv && ALL_LINGUAS="${ALL_LINGUAS} sv"
+       use linguas_zh_CN && ALL_LINGUAS="${ALL_LINGUAS} zh_CN"
+
+       ALL_LINGUAS=${ALL_LINGUAS} \
+               econf \
+               --without-gimp \
+               $(use_enable webinstall convert) \
+               || die "econf failed"
+
+       # not parallel make safe (#137192)
+       emake -j1 || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+
+       dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY TODO
+}