Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-de/files/, app-i18n/man-pages-de/
Date: Wed, 30 Oct 2019 08:33:03
Message-Id: 1572424373.4bd134708c391c8745faeb6817e1b60275b5adda.mgorny@gentoo
1 commit: 4bd134708c391c8745faeb6817e1b60275b5adda
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 30 06:33:28 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 30 08:32:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd13470
7
8 app-i18n/man-pages-de: Drop old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-i18n/man-pages-de/Manifest | 3 -
13 .../files/man-pages-de-1.3-bzip2.patch | 19 -----
14 app-i18n/man-pages-de/man-pages-de-1.15.ebuild | 52 --------------
15 app-i18n/man-pages-de/man-pages-de-1.21.ebuild | 48 -------------
16 app-i18n/man-pages-de/man-pages-de-2.10.ebuild | 80 ----------------------
17 5 files changed, 202 deletions(-)
18
19 diff --git a/app-i18n/man-pages-de/Manifest b/app-i18n/man-pages-de/Manifest
20 index 1314fac50c0..942b525d326 100644
21 --- a/app-i18n/man-pages-de/Manifest
22 +++ b/app-i18n/man-pages-de/Manifest
23 @@ -1,4 +1 @@
24 -DIST manpages-de-1.15.tar.xz 1529576 BLAKE2B 600d9c186ffa46fd1db110c3889abc44bb6ccb6847ed8385c461c7fa696f5a9e8a65233d1290ae9d1e9eb26694e8769aa35983f07205a0e7e57c9b0c14c7d7bc SHA512 d1f1b9f60c4713d6be650e21b7664ff594dbd542b53148c00d1a2269413d39615dd76be4c4095eeb72e2598b94af134ca5d128b85d9520a1ac404364b8a53948
25 -DIST manpages-de-1.21.tar.xz 1585600 BLAKE2B f2364e0b5fc1ca8ce8f5eb7fa5987d1bc68b1f8f2c1a26240d5cabd03eb5bb094f0d63274c7208059a766498f5f20ca7ccab72a9d4847057aae3b7d6697018e7 SHA512 24cc36e8e9c2efb8cd2a0c374a3f5da96f6645a306082cc28aae5933081f7de24bac03652f690a2becd32a23a93c17ddd9029190c299dda95eeb25f49b327fac
26 -DIST manpages-de-v2.10.tar.bz2 18037944 BLAKE2B 7f2ec07e4b4b13adfb93c00827ae56cb82c2158de2a59bca729e5fe5bbe1f9a60c39712c52ae8b5856eb55288b1b562fd320473ed94f443e252df80a909df08b SHA512 d74b62903061f5af939c8e5a5f48906fecd2956d9291be54cb00041f3c964c769159989fba888ddfb41e167b5342b7b71d2dcc7b58f1b1453836b24bb9121f26
27 DIST manpages-de-v2.12.tar.bz2 10242050 BLAKE2B fa497a6fce2c2387dad2ab9443584174d8d5fab530b94e0123e71286c588cb3a2e52aa96760dbfd6545bed013c460e1bf61eb4a5af0673bb84c1c0f0c960a357 SHA512 548d3dd500ce1eadc71365119e35072b71e3fbe36eba664d992e94897f442fb93f9397053f72363f83dff2e931d93e2af995976736d8513d11d7c42bdb471862
28
29 diff --git a/app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch b/app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch
30 deleted file mode 100644
31 index 09a569c2349..00000000000
32 --- a/app-i18n/man-pages-de/files/man-pages-de-1.3-bzip2.patch
33 +++ /dev/null
34 @@ -1,19 +0,0 @@
35 ---- a/po/generate-manpage.sh
36 -+++ b/po/generate-manpage.sh
37 -@@ -38,6 +38,16 @@
38 - original="$uncompressed_manpage"
39 - fi
40 - fi
41 -+# Try a bzip'ed version
42 -+if [ ! -f "$original" ]; then
43 -+ original=/usr/share/man/man$section/$manpage.bz2
44 -+ if [ -f "$original" ]; then
45 -+ # The manpage exists, but needs to be decompressed
46 -+ uncompressed_manpage=`mktemp`
47 -+ bzip2 -d -c "$original" > "$uncompressed_manpage"
48 -+ original="$uncompressed_manpage"
49 -+ fi
50 -+fi
51 - # Cannot generate manpage if the original could not be found
52 - if [ ! -f "$original" ]; then
53 - echo "The original manpage for $manpage could not be found." >&2
54
55 diff --git a/app-i18n/man-pages-de/man-pages-de-1.15.ebuild b/app-i18n/man-pages-de/man-pages-de-1.15.ebuild
56 deleted file mode 100644
57 index 49370f0b46b..00000000000
58 --- a/app-i18n/man-pages-de/man-pages-de-1.15.ebuild
59 +++ /dev/null
60 @@ -1,52 +0,0 @@
61 -# Copyright 1999-2018 Gentoo Foundation
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI=6
65 -
66 -inherit autotools
67 -
68 -MY_P="${PN/-/}-${PV}"
69 -
70 -DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
71 -HOMEPAGE="https://alioth.debian.org/projects/manpages-de/"
72 -SRC_URI="https://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.xz"
73 -
74 -LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
75 -SLOT="0"
76 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
77 -IUSE=""
78 -
79 -RDEPEND="virtual/man"
80 -DEPEND="app-text/po4a"
81 -
82 -PATCHES=(
83 - "${FILESDIR}/${PN}-1.3-bzip2.patch"
84 -)
85 -
86 -S=${WORKDIR}/${MY_P}
87 -
88 -src_prepare() {
89 - default
90 -
91 - # Use the same compression as every other manpage
92 - local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
93 - if [[ ${PORTAGE_COMPRESS+set} == "set" ]] ; then
94 - PORTAGE_COMPRESS_LOCAL="#"
95 - fi
96 - if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
97 - case ${PORTAGE_COMPRESS_LOCAL} in
98 - bzip2|gzip) local PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
99 - ;;
100 - esac
101 - fi
102 - sed -i -e "s/gzip --best/${PORTAGE_COMPRESS_LOCAL} ${PORTAGE_COMPRESS_FLAGS_LOCAL}/"\
103 - po/man{1,2,3,4,5,6,7,8}/Makefile.in po/common.mk || die
104 - eautoreconf
105 -}
106 -
107 -src_compile() { :; }
108 -
109 -src_install() {
110 - emake mandir="${ED}"/usr/share/man install
111 - dodoc CHANGES README
112 -}
113
114 diff --git a/app-i18n/man-pages-de/man-pages-de-1.21.ebuild b/app-i18n/man-pages-de/man-pages-de-1.21.ebuild
115 deleted file mode 100644
116 index 99357591bc9..00000000000
117 --- a/app-i18n/man-pages-de/man-pages-de-1.21.ebuild
118 +++ /dev/null
119 @@ -1,48 +0,0 @@
120 -# Copyright 1999-2018 Gentoo Foundation
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=6
124 -
125 -inherit autotools
126 -
127 -MY_P="${PN/-/}-${PV}"
128 -
129 -DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
130 -HOMEPAGE="https://alioth.debian.org/projects/manpages-de/"
131 -SRC_URI="https://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.xz"
132 -
133 -LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
134 -SLOT="0"
135 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
136 -IUSE=""
137 -
138 -RDEPEND="virtual/man"
139 -DEPEND="app-text/po4a"
140 -
141 -S=${WORKDIR}/${MY_P}
142 -
143 -src_prepare() {
144 - default
145 -
146 - # Use the same compression as every other manpage
147 - local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
148 - if [[ ${PORTAGE_COMPRESS+set} == "set" ]] ; then
149 - PORTAGE_COMPRESS_LOCAL="#"
150 - fi
151 - if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
152 - case ${PORTAGE_COMPRESS_LOCAL} in
153 - bzip2|gzip) local PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
154 - ;;
155 - esac
156 - fi
157 - sed -i -e "s/gzip --best/${PORTAGE_COMPRESS_LOCAL} ${PORTAGE_COMPRESS_FLAGS_LOCAL}/"\
158 - po/man{1,2,3,4,5,6,7,8}/Makefile.in po/common.mk || die
159 - eautoreconf
160 -}
161 -
162 -src_compile() { :; }
163 -
164 -src_install() {
165 - emake mandir="${ED}"/usr/share/man install
166 - dodoc CHANGES README
167 -}
168
169 diff --git a/app-i18n/man-pages-de/man-pages-de-2.10.ebuild b/app-i18n/man-pages-de/man-pages-de-2.10.ebuild
170 deleted file mode 100644
171 index 2828f80836c..00000000000
172 --- a/app-i18n/man-pages-de/man-pages-de-2.10.ebuild
173 +++ /dev/null
174 @@ -1,80 +0,0 @@
175 -# Copyright 1999-2019 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=7
179 -
180 -inherit autotools
181 -
182 -MY_P="${PN/-/}-v${PV}"
183 -
184 -DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
185 -HOMEPAGE="https://salsa.debian.org/manpages-de-team/manpages-de"
186 -SRC_URI="https://salsa.debian.org/manpages-de-team/manpages-de/-/archive/v${PV}/${MY_P}.tar.bz2"
187 -
188 -LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
189 -SLOT="0"
190 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
191 -IUSE=""
192 -
193 -RDEPEND="virtual/man"
194 -BDEPEND="app-text/po4a"
195 -
196 -S="${WORKDIR}/${MY_P}"
197 -
198 -src_prepare() {
199 - default
200 -
201 - sed '/gzip --best/d' -i po/Makefile.am || die
202 -
203 - # sys-apps/shadow has it's own translated man-page for this
204 - local manpage
205 - local noinst_manpages=(
206 - upstream/primary/man1/groups.1
207 - po/primary/man1/groups.1.po
208 - po/primary/man1/su.1.po
209 - )
210 - for manpage in ${noinst_manpages[@]} ; do
211 - rm "${manpage}" || die
212 - done
213 -
214 - # Use the same compression as every other manpage
215 - local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
216 - local PORTAGE_COMPRESS_FLAGS_LOCAL=${PORTAGE_COMPRESS_FLAGS}
217 - if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
218 - case ${PORTAGE_COMPRESS_LOCAL} in
219 - bzip2|gzip)
220 - PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
221 - ;;
222 - esac
223 - fi
224 -
225 - # Fix source files for symlinks
226 - local LINKSOURCE
227 - case ${PORTAGE_COMPRESS_LOCAL} in
228 - bzip2)
229 - for LINKSOURCE in upstream/*/links.txt ; do
230 - sed -i -e 's/\.gz/\.bz2/g' "${LINKSOURCE}" || die
231 - done
232 - ;;
233 - gzip)
234 - # pass
235 - ;;
236 - xz)
237 - for LINKSOURCE in upstream/*/links.txt ; do
238 - sed -i -e 's/\.gz/\.xz/g' "${LINKSOURCE}" || die
239 - done
240 - ;;
241 - *)
242 - ewarn "Unexpected compression command ${PORTAGE_COMPRESS} found, symlinks will not work."
243 - ;;
244 - esac
245 -
246 - eautoreconf
247 -}
248 -
249 -src_compile() { :; }
250 -
251 -src_install() {
252 - emake mandir="${ED}"/usr/share/man install
253 - dodoc CHANGES.md README.md
254 -}