Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-doc/gimp-help/files: gimp-help-2.4.0-quickreference-linguas.patch digest-gimp-help-2.4.0 gimp-help-2.4.0-skip-linguas-images.patch
Date: Sun, 06 Jan 2008 00:49:18
Message-Id: E1JBJhO-0004uD-TY@stork.gentoo.org
1 pva 08/01/06 00:49:10
2
3 Added: gimp-help-2.4.0-quickreference-linguas.patch
4 digest-gimp-help-2.4.0
5 gimp-help-2.4.0-skip-linguas-images.patch
6 Log:
7 Version bump. Fixes bug 202110, thank by Tim Harder <thorium90 AT gmail.com> and Denilson <denilsonsa AT gmail.com>. Added myself into metadata, as in other case there is nobody to see bugs.
8 (Portage version: 2.1.3.19)
9
10 Revision Changes Path
11 1.1 app-doc/gimp-help/files/gimp-help-2.4.0-quickreference-linguas.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/gimp-help/files/gimp-help-2.4.0-quickreference-linguas.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/gimp-help/files/gimp-help-2.4.0-quickreference-linguas.patch?rev=1.1&content-type=text/plain
15
16 Index: gimp-help-2.4.0-quickreference-linguas.patch
17 ===================================================================
18 diff -Naur gimp-help-2.4.0.orig/configure.ac gimp-help-2.4.0/configure.ac
19 --- gimp-help-2.4.0.orig/configure.ac 2007-11-18 22:48:21.000000000 +0300
20 +++ gimp-help-2.4.0/configure.ac 2008-01-06 01:44:03.000000000 +0300
21 @@ -29,12 +29,24 @@
22 # haven't been worked on for a while:
23 # ALL_LINGUAS="cs de en es fr hr it ko nl no ru sv zh_CN"
24
25 +QUICKREFERENCE_ALL_LINGUAS="de en fr it ru sv"
26 +
27 if test "x$ALL_LINGUAS" = "x"; then
28 ALL_LINGUAS="de en es fr it ko nl no ru sv"
29 +else
30 + QUICKREFERENCE_LINGUAS=""
31 + for asked_lang in $ALL_LINGUAS ; do
32 + for lang in $QUICKREFERENCE_ALL_LINGUAS ; do
33 + if test "$lang" = "$asked_lang"; then
34 + QUICKREFERENCE_LINGUAS="$QUICKREFERENCE_LINGUAS $asked_lang"
35 + fi
36 + done
37 + done
38 + QUICKREFERENCE_ALL_LINGUAS=$QUICKREFERENCE_LINGUAS
39 fi
40
41 AC_SUBST(ALL_LINGUAS)
42 -
43 +AC_SUBST(QUICKREFERENCE_ALL_LINGUAS)
44
45 # The build of the HTML files is optional.
46
47 diff -Naur gimp-help-2.4.0.orig/quickreference/Makefile.am gimp-help-2.4.0/quickreference/Makefile.am
48 --- gimp-help-2.4.0.orig/quickreference/Makefile.am 2007-11-18 21:33:23.000000000 +0300
49 +++ gimp-help-2.4.0/quickreference/Makefile.am 2008-01-06 01:45:08.000000000 +0300
50 @@ -1,7 +1,5 @@
51 ## Process this file with automake to produce Makefile.in
52
53 -QUICKREFERENCE_ALL_LINGUAS = de en fr it ru sv
54 -
55 PO_FILES = \
56 po/gimp-keys.pot\
57 po/de.po \
58
59
60
61 1.1 app-doc/gimp-help/files/digest-gimp-help-2.4.0
62
63 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/gimp-help/files/digest-gimp-help-2.4.0?rev=1.1&view=markup
64 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/gimp-help/files/digest-gimp-help-2.4.0?rev=1.1&content-type=text/plain
65
66 Index: digest-gimp-help-2.4.0
67 ===================================================================
68 MD5 fb4402aabce1d7f4eccc1a8739cc7e56 gimp-help-2.4.0.tar.bz2 81555148
69 RMD160 a84d87aa77207b9b1cc6653fd8b6fe5b8eeeead5 gimp-help-2.4.0.tar.bz2 81555148
70 SHA256 5cdf56bf048665a84b2379c25971d9b23d2e150f469e2e457947774cb3ab1c02 gimp-help-2.4.0.tar.bz2 81555148
71
72
73
74 1.1 app-doc/gimp-help/files/gimp-help-2.4.0-skip-linguas-images.patch
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/gimp-help/files/gimp-help-2.4.0-skip-linguas-images.patch?rev=1.1&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-doc/gimp-help/files/gimp-help-2.4.0-skip-linguas-images.patch?rev=1.1&content-type=text/plain
78
79 Index: gimp-help-2.4.0-skip-linguas-images.patch
80 ===================================================================
81 diff -Naur gimp-help-2.4.0.orig/configure.ac gimp-help-2.4.0/configure.ac
82 --- gimp-help-2.4.0.orig/configure.ac 2008-01-06 02:25:10.000000000 +0300
83 +++ gimp-help-2.4.0/configure.ac 2008-01-06 02:26:45.000000000 +0300
84 @@ -48,6 +48,29 @@
85 AC_SUBST(ALL_LINGUAS)
86 AC_SUBST(QUICKREFERENCE_ALL_LINGUAS)
87
88 +# Lists all existing language codes existed in the package.
89 +# This helps to filter images for languages user did not asked to install.
90 +ALL_EXISTING_LINGUAS="cs de en es fr hr it ko nl no ru sv zh_CN"
91 +
92 +SKIP_IMAGES_LINGUAS=""
93 +for lang in $ALL_EXISTING_LINGUAS ; do
94 + filter="true"
95 + for asked_lang in $ALL_LINGUAS ; do
96 + if test "$lang" = "$asked_lang"; then
97 + filter="false"
98 + fi
99 + done
100 + if test "$filter" = "true" ; then
101 + if test "x$SKIP_IMAGES_LINGUAS" = "x" ; then
102 + SKIP_IMAGES_LINGUAS="$lang"
103 + else
104 + SKIP_IMAGES_LINGUAS="$SKIP_IMAGES_LINGUAS\|$lang"
105 + fi
106 + fi
107 +done
108 +
109 +AC_SUBST(SKIP_IMAGES_LINGUAS)
110 +
111 # The build of the HTML files is optional.
112
113 AC_ARG_ENABLE(build,
114 diff -Naur gimp-help-2.4.0.orig/Makefile.am gimp-help-2.4.0/Makefile.am
115 --- gimp-help-2.4.0.orig/Makefile.am 2007-11-18 22:46:28.000000000 +0300
116 +++ gimp-help-2.4.0/Makefile.am 2008-01-06 02:27:13.000000000 +0300
117 @@ -246,6 +246,7 @@
118 @echo "** Installing images: (G=gif, J=jpg, M=mng, P=png, X=xcf)"
119
120 @cd $(top_srcdir) && find images $(image_find_predicates) | \
121 + sed "\:.*/\($(SKIP_IMAGES_LINGUAS)\)/.*:d" | \
122 while read file; do \
123 case "$$file" in \
124 *.png) echo -n P ;; \
125
126
127
128 --
129 gentoo-commits@g.o mailing list