1 |
dilfridge 14/11/29 19:02:05 |
2 |
|
3 |
Modified: ChangeLog po4a-0.45-r1.ebuild |
4 |
Added: po4a-0.45-r2.ebuild |
5 |
Log: |
6 |
Revert changes to stable ebuild by monsieurp and put them in a revision bump instead. |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.86 app-text/po4a/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.86&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?rev=1.86&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/ChangeLog?r1=1.85&r2=1.86 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v |
20 |
retrieving revision 1.85 |
21 |
retrieving revision 1.86 |
22 |
diff -u -r1.85 -r1.86 |
23 |
--- ChangeLog 29 Nov 2014 18:06:14 -0000 1.85 |
24 |
+++ ChangeLog 29 Nov 2014 19:02:05 -0000 1.86 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-text/po4a |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.85 2014/11/29 18:06:14 monsieurp Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/ChangeLog,v 1.86 2014/11/29 19:02:05 dilfridge Exp $ |
30 |
+ |
31 |
+*po4a-0.45-r2 (29 Nov 2014) |
32 |
+ |
33 |
+ 29 Nov 2014; Andreas K. Huettel <dilfridge@g.o> po4a-0.45-r1.ebuild, |
34 |
+ +po4a-0.45-r2.ebuild: |
35 |
+ Revert changes to stable ebuild by monsieurp and put them in a revision bump |
36 |
+ instead. |
37 |
|
38 |
29 Nov 2014; Patrice Clement <monsieurp@g.o> po4a-0.45-r1.ebuild: |
39 |
Honour languages set by LINGUAS. Bug #402691. |
40 |
|
41 |
|
42 |
|
43 |
1.4 app-text/po4a/po4a-0.45-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.4&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?rev=1.4&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild?r1=1.3&r2=1.4 |
48 |
|
49 |
Index: po4a-0.45-r1.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v |
52 |
retrieving revision 1.3 |
53 |
retrieving revision 1.4 |
54 |
diff -u -r1.3 -r1.4 |
55 |
--- po4a-0.45-r1.ebuild 29 Nov 2014 18:06:14 -0000 1.3 |
56 |
+++ po4a-0.45-r1.ebuild 29 Nov 2014 19:02:05 -0000 1.4 |
57 |
@@ -1,15 +1,12 @@ |
58 |
# Copyright 1999-2014 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.3 2014/11/29 18:06:14 monsieurp Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r1.ebuild,v 1.4 2014/11/29 19:02:05 dilfridge Exp $ |
62 |
|
63 |
EAPI=5 |
64 |
|
65 |
-PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK" |
66 |
-PLOCALES_BACKUP="en" |
67 |
- |
68 |
# Needed because this package also installs to vendor_perl |
69 |
GENTOO_DEPEND_ON_PERL_SUBSLOT="yes" |
70 |
-inherit perl-app perl-module l10n |
71 |
+inherit perl-app |
72 |
|
73 |
DESCRIPTION="Tools for helping translation of documentation" |
74 |
HOMEPAGE="http://po4a.alioth.debian.org" |
75 |
@@ -36,29 +33,3 @@ |
76 |
virtual/tex-base )" |
77 |
|
78 |
SRC_TEST="do" |
79 |
- |
80 |
-src_prepare() { |
81 |
- # Check against locale files in ${S}/pod/bin for mismatches |
82 |
- # with languages listed in PLOCALES |
83 |
- local locales_path="$S/po/bin" |
84 |
- l10n_find_plocales_changes "$locales_path" "" ".po" |
85 |
- |
86 |
- # Array containing locale files to remove |
87 |
- local locales_to_remove=( ) |
88 |
- |
89 |
- # Get rid of disabled locales |
90 |
- my_get_disabled_locales() { |
91 |
- local locale=$1 |
92 |
- local locale_abs_path="$locales_path/$locale.po" |
93 |
- locales_to_remove+=$locale_abs_path |
94 |
- } |
95 |
- |
96 |
- l10n_for_each_disabled_locale_do my_get_disabled_locales |
97 |
- |
98 |
- einfo "Your LINGUAS lists the following languages: $LINGUAS" |
99 |
- einfo "Removing locale files not listed in it ..." |
100 |
- |
101 |
- # perl_rm_files also updates the Manifest file |
102 |
- # and therefore silences Perl as to .po files we're about to clean |
103 |
- perl_rm_files "${locales_to_remove[@]}" |
104 |
-} |
105 |
|
106 |
|
107 |
|
108 |
1.1 app-text/po4a/po4a-0.45-r2.ebuild |
109 |
|
110 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r2.ebuild?rev=1.1&view=markup |
111 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/po4a-0.45-r2.ebuild?rev=1.1&content-type=text/plain |
112 |
|
113 |
Index: po4a-0.45-r2.ebuild |
114 |
=================================================================== |
115 |
# Copyright 1999-2014 Gentoo Foundation |
116 |
# Distributed under the terms of the GNU General Public License v2 |
117 |
# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.45-r2.ebuild,v 1.1 2014/11/29 19:02:05 dilfridge Exp $ |
118 |
|
119 |
EAPI=5 |
120 |
|
121 |
PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK" |
122 |
PLOCALES_BACKUP="en" |
123 |
|
124 |
# Needed because this package also installs to vendor_perl |
125 |
GENTOO_DEPEND_ON_PERL_SUBSLOT="yes" |
126 |
inherit perl-app perl-module l10n |
127 |
|
128 |
DESCRIPTION="Tools for helping translation of documentation" |
129 |
HOMEPAGE="http://po4a.alioth.debian.org" |
130 |
SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz" |
131 |
|
132 |
LICENSE="GPL-2" |
133 |
SLOT="0" |
134 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" |
135 |
IUSE="test" |
136 |
|
137 |
RDEPEND="dev-perl/SGMLSpm |
138 |
>=sys-devel/gettext-0.13 |
139 |
app-text/openjade |
140 |
dev-libs/libxslt |
141 |
dev-perl/Locale-gettext |
142 |
dev-perl/TermReadKey |
143 |
dev-perl/Text-WrapI18N" |
144 |
DEPEND="${RDEPEND} |
145 |
>=virtual/perl-Module-Build-0.380.0 |
146 |
app-text/docbook-xsl-stylesheets |
147 |
app-text/docbook-xml-dtd:4.1.2 |
148 |
test? ( app-text/docbook-sgml-dtd |
149 |
app-text/docbook-sgml-utils |
150 |
virtual/tex-base )" |
151 |
|
152 |
SRC_TEST="do" |
153 |
|
154 |
src_prepare() { |
155 |
# Check against locale files in ${S}/pod/bin for mismatches |
156 |
# with languages listed in PLOCALES |
157 |
local locales_path="$S/po/bin" |
158 |
l10n_find_plocales_changes "$locales_path" "" ".po" |
159 |
|
160 |
# Array containing locale files to remove |
161 |
local locales_to_remove=( ) |
162 |
|
163 |
# Get rid of disabled locales |
164 |
my_get_disabled_locales() { |
165 |
local locale=$1 |
166 |
local locale_abs_path="$locales_path/$locale.po" |
167 |
locales_to_remove+=$locale_abs_path |
168 |
} |
169 |
|
170 |
l10n_for_each_disabled_locale_do my_get_disabled_locales |
171 |
|
172 |
einfo "Your LINGUAS lists the following languages: $LINGUAS" |
173 |
einfo "Removing locale files not listed in it ..." |
174 |
|
175 |
# perl_rm_files also updates the Manifest file |
176 |
# and therefore silences Perl as to .po files we're about to clean |
177 |
perl_rm_files "${locales_to_remove[@]}" |
178 |
} |