Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/
Date: Thu, 30 Apr 2020 21:28:55
Message-Id: 1588282106.38a8dfbcac2aee0345ef905b17bcc3b88ec105cd.asturm@gentoo
1 commit: 38a8dfbcac2aee0345ef905b17bcc3b88ec105cd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 16:52:57 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 21:28:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38a8dfbc
7
8 media-gfx/gimp: Drop 2.10.8-r2 and 2.10.18
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-gfx/gimp/Manifest | 1 -
14 media-gfx/gimp/gimp-2.10.18.ebuild | 211 --------------------------------
15 media-gfx/gimp/gimp-2.10.8-r2.ebuild | 226 -----------------------------------
16 3 files changed, 438 deletions(-)
17
18 diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest
19 index bab17d977b8..442181d8ffa 100644
20 --- a/media-gfx/gimp/Manifest
21 +++ b/media-gfx/gimp/Manifest
22 @@ -1,5 +1,4 @@
23 DIST gimp-2.10.14.tar.bz2 32786424 BLAKE2B f1254ab0742cf0190f4e50f001d8120fe655b73d838c3ed56abb0a221c0eaec02e5c838f952d492069d55d89e4c3493c59b38aa2af87df8181f8979213e7659b SHA512 acbd095361d9211a5a23474693dd170ed76bf4ea5b1df69791f1d975ef5cdaba1e5fb9f5be9f592a360db5826d71eaaf464005075397cb6630070fe32833c030
24 DIST gimp-2.10.18.tar.bz2 32946467 BLAKE2B eb1c756ca646ee9ddc42aebe214ad3e2dedf125940dc1b9cfd04a4424bd2b6255041f1bafbda3fc214f93d97e7802372234a42e1daa0ee56caaf0f0bedd908f9 SHA512 88990f2d70508b22f4acadeab6b687e20af19b765ebc6f245d0c99b3dd853fcd3d237c3b7607e50133aa95a1d71931069029dfd7ee94441ff419c542c141bc9f
25 -DIST gimp-2.10.8.tar.bz2 31954568 BLAKE2B 11f88b1068fa1fe216a54bed27b26b94c3fdb2cbc67e1e444df74a080d00b678f8c81897a6c5fb5956fa107842b0a853ada44d15d51c2e58db7435ddd0f8e999 SHA512 b458dd710b786152f95a8e48a0727b71cac549fccb31ac9e1e6ac3c617652079773ce7076401f8ade750ed38bdc78dfdec3317423f4c4e9c931f78002bd7454e
26 DIST gimp-2.8.22.tar.bz2 20873278 BLAKE2B 673246fd2354f1cecc74bf389df698f594b7553cc88a1d2679ae410ad39923abae843dfe9623ec195b4f967b5eccd199769a6300bf028ae04b8df4932df11505 SHA512 84a78d428282538b606b3cd1ff571e52c3d828fceade171b2012bc1cdcb85919fc7734e7e6c45ed3a8683657fa580412b32c1b511b8a512172a8c1df930493e6
27 DIST gimp-2.9.8.tar.bz2 26161474 BLAKE2B f00a58d33848a818a2cb3b74920b33156330a26423a2b567cd8372258f87b44ae1ad812f2b3ee9a093b919d022e8b71ef518d40b76ab94c616f9916b3d1effec SHA512 897092aa823961e6ed5dac47eaadd3a25c419364d6ca791987d99e495d0d4eba1d75e08c809dfa305e8feec9da606193b608e3470e0ef18fcfaa98ee8aedfe02
28
29 diff --git a/media-gfx/gimp/gimp-2.10.18.ebuild b/media-gfx/gimp/gimp-2.10.18.ebuild
30 deleted file mode 100644
31 index bf39575cfc1..00000000000
32 --- a/media-gfx/gimp/gimp-2.10.18.ebuild
33 +++ /dev/null
34 @@ -1,211 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -GNOME2_EAUTORECONF=yes
40 -WANT_AUTOMAKE=
41 -
42 -inherit autotools gnome2 virtualx
43 -
44 -DESCRIPTION="GNU Image Manipulation Program"
45 -HOMEPAGE="https://www.gimp.org/"
46 -SRC_URI="mirror://gimp/v2.10/${P}.tar.bz2"
47 -LICENSE="GPL-3 LGPL-3"
48 -SLOT="2"
49 -KEYWORDS="~amd64 ~ia64 ~ppc64 ~x86"
50 -
51 -IUSE="aalib alsa altivec aqua debug doc gnome heif jpeg2k mng openexr postscript udev unwind vector-icons webp wmf xpm cpu_flags_x86_mmx cpu_flags_x86_sse"
52 -
53 -RESTRICT="!test? ( test )"
54 -
55 -COMMON_DEPEND="
56 - >=app-text/poppler-0.50[cairo]
57 - >=app-text/poppler-data-0.4.7
58 - >=dev-libs/atk-2.2.0
59 - >=dev-libs/glib-2.56.0:2
60 - >=dev-libs/json-glib-1.2.6
61 - dev-libs/libxml2:2
62 - dev-libs/libxslt
63 - >=gnome-base/librsvg-2.40.6:2
64 - >=media-gfx/mypaint-brushes-1.3.0
65 - >=media-libs/babl-0.1.74
66 - >=media-libs/fontconfig-2.12.4
67 - >=media-libs/freetype-2.1.7
68 - >=media-libs/gegl-0.4.22:0.4[cairo]
69 - >=media-libs/gexiv2-0.10.6
70 - >=media-libs/harfbuzz-0.9.19
71 - >=media-libs/lcms-2.8:2
72 - >=media-libs/libmypaint-1.3.0:=
73 - >=media-libs/libpng-1.6.25:0=
74 - >=media-libs/tiff-3.5.7:0
75 - net-libs/glib-networking[ssl]
76 - sys-libs/zlib
77 - virtual/jpeg
78 - >=x11-libs/cairo-1.12.2
79 - >=x11-libs/gdk-pixbuf-2.31:2
80 - >=x11-libs/gtk+-2.24.32:2
81 - x11-libs/libXcursor
82 - >=x11-libs/pango-1.29.4
83 - aalib? ( media-libs/aalib )
84 - alsa? ( >=media-libs/alsa-lib-1.0.0 )
85 - aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
86 - heif? ( >=media-libs/libheif-1.3.2:= )
87 - jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
88 - mng? ( media-libs/libmng:= )
89 - openexr? ( >=media-libs/openexr-1.6.1:= )
90 - postscript? ( app-text/ghostscript-gpl )
91 - udev? ( dev-libs/libgudev:= )
92 - unwind? ( >=sys-libs/libunwind-1.1.0:= )
93 - webp? ( >=media-libs/libwebp-0.6.0:= )
94 - wmf? ( >=media-libs/libwmf-0.2.8 )
95 - xpm? ( x11-libs/libXpm )
96 -"
97 -
98 -RDEPEND="
99 - ${COMMON_DEPEND}
100 - x11-themes/hicolor-icon-theme
101 - gnome? ( gnome-base/gvfs )
102 -"
103 -
104 -DEPEND="
105 - ${COMMON_DEPEND}
106 - >=dev-lang/perl-5.10.0
107 - dev-libs/appstream-glib
108 - dev-util/gtk-update-icon-cache
109 - >=dev-util/intltool-0.40.1
110 - sys-apps/findutils
111 - >=sys-devel/gettext-0.19
112 - >=sys-devel/libtool-2.2
113 - virtual/pkgconfig
114 -"
115 -
116 -DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" )
117 -
118 -# Bugs 685210 (and duplicate 691070)
119 -PATCHES=(
120 - "${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
121 -)
122 -
123 -src_prepare() {
124 - # Disable system CFLAGS suppressing on SSE{2,4.1} support tests by addition of {SSE2,SSE4_1}_EXTRA_CFLAGS: bug #702554
125 - sed -i -e 's:\$intrinsics_save_CFLAGS \$SSE2_EXTRA_CFLAGS:\$SSE2_EXTRA_CFLAGS \$intrinsics_save_CFLAGS:' \
126 - -e 's:\$intrinsics_save_CFLAGS \$SSE4_1_EXTRA_CFLAGS:\$SSE4_1_EXTRA_CFLAGS \$intrinsics_save_CFLAGS:' configure.ac || die
127 -
128 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
129 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
130 -
131 - gnome2_src_prepare # calls eautoreconf
132 -
133 - sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
134 - fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
135 -}
136 -
137 -_adjust_sandbox() {
138 - # Bugs #569738 and #591214
139 - local nv
140 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
141 - # We do not check for existence as they may show up later
142 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
143 - addwrite "${nv}"
144 - done
145 -
146 - addwrite /dev/dri/ # bugs #574038 and #684886
147 - addwrite /dev/ati/ # bug #589198
148 - addwrite /proc/mtrr # bug #589198
149 -}
150 -
151 -src_configure() {
152 - _adjust_sandbox
153 -
154 - local myconf=(
155 - GEGL="${EPREFIX}"/usr/bin/gegl-0.4
156 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
157 -
158 - --enable-default-binary
159 -
160 - --disable-check-update
161 - --disable-python
162 - --enable-mp
163 - --with-appdata-test
164 - --with-bug-report-url=https://bugs.gentoo.org/
165 - --with-xmc
166 - --without-libbacktrace
167 - --without-webkit
168 - --without-xvfb-run
169 - $(use_enable altivec)
170 - $(use_enable cpu_flags_x86_mmx mmx)
171 - $(use_enable cpu_flags_x86_sse sse)
172 - $(use_enable vector-icons)
173 - $(use_with aalib aa)
174 - $(use_with alsa)
175 - $(use_with !aqua x)
176 - $(use_with heif libheif)
177 - $(use_with jpeg2k jpeg2000)
178 - $(use_with mng libmng)
179 - $(use_with openexr)
180 - $(use_with postscript gs)
181 - $(use_with udev gudev)
182 - $(use_with unwind libunwind)
183 - $(use_with webp)
184 - $(use_with wmf)
185 - $(use_with xpm libxpm)
186 - )
187 -
188 - gnome2_src_configure "${myconf[@]}"
189 -}
190 -
191 -src_compile() {
192 - export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
193 - gnome2_src_compile
194 -}
195 -
196 -# for https://bugs.gentoo.org/664938
197 -_rename_plugins() {
198 - einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
199 - local prepend=gimp-org-
200 - (
201 - cd "${ED%/}"/usr/$(get_libdir)/gimp/2.0/plug-ins || exit 1
202 - for plugin_slash in $(ls -d1 */); do
203 - plugin=${plugin_slash%/}
204 - if [[ -f ${plugin}/${plugin} ]]; then
205 - # NOTE: Folder and file name need to match for Gimp to load that plug-in
206 - # so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
207 - mv ${plugin}/{,${prepend}}${plugin} || exit 1
208 - mv {,${prepend}}${plugin} || exit 1
209 - fi
210 - done
211 - )
212 -}
213 -
214 -src_test() {
215 - virtx emake check
216 -}
217 -
218 -src_install() {
219 - gnome2_src_install
220 -
221 - # Workaround for bug #321111 to give GIMP the least
222 - # precedence on PDF documents by default
223 - mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die
224 -
225 - find "${D}" -name '*.la' -type f -delete || die
226 -
227 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
228 - local gimp_app_version=$(get_version_component_range 1-2)
229 - mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
230 -
231 - # Remove gimp devel-docs html files if user doesn't need it
232 - if ! use doc; then
233 - rm -r "${ED%/}"/usr/share/gtk-doc || die
234 - fi
235 -
236 - _rename_plugins || die
237 -}
238 -
239 -pkg_postinst() {
240 - gnome2_pkg_postinst
241 -}
242 -
243 -pkg_postrm() {
244 - gnome2_pkg_postrm
245 -}
246
247 diff --git a/media-gfx/gimp/gimp-2.10.8-r2.ebuild b/media-gfx/gimp/gimp-2.10.8-r2.ebuild
248 deleted file mode 100644
249 index 81f9d5d67b1..00000000000
250 --- a/media-gfx/gimp/gimp-2.10.8-r2.ebuild
251 +++ /dev/null
252 @@ -1,226 +0,0 @@
253 -# Copyright 1999-2020 Gentoo Authors
254 -# Distributed under the terms of the GNU General Public License v2
255 -
256 -EAPI=6
257 -PYTHON_COMPAT=( python2_7 )
258 -GNOME2_EAUTORECONF=yes
259 -
260 -MY_PV="${PV/_rc/-RC}"
261 -MY_P="${PN}-${MY_PV}"
262 -
263 -inherit versionator virtualx autotools gnome2 multilib python-single-r1 ltprune
264 -
265 -DESCRIPTION="GNU Image Manipulation Program"
266 -HOMEPAGE="https://www.gimp.org/"
267 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
268 -LICENSE="GPL-3 LGPL-3"
269 -SLOT="2"
270 -KEYWORDS="amd64 arm64 x86"
271 -
272 -LANGS="am ar ast az be bg br ca ca@valencia cs csb da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka kk km kn ko lt lv mk ml ms my nb nds ne nl nn oc pa pl pt pt_BR ro ru rw si sk sl sr sr@latin sv ta te th tr tt uk vi xh yi zh_CN zh_HK zh_TW"
273 -IUSE="alsa aalib altivec aqua debug doc openexr gnome heif postscript jpeg2k cpu_flags_x86_mmx mng python cpu_flags_x86_sse udev unwind vector-icons webp wmf xpm"
274 -
275 -RDEPEND=">=dev-libs/glib-2.56.0:2
276 - >=dev-libs/atk-2.2.0
277 - >=x11-libs/gtk+-2.24.10:2
278 - >=x11-libs/gdk-pixbuf-2.31:2
279 - >=x11-libs/cairo-1.12.2
280 - >=x11-libs/pango-1.29.4
281 - xpm? ( x11-libs/libXpm )
282 - >=media-libs/freetype-2.1.7
283 - >=media-libs/harfbuzz-0.9.19
284 - >=media-libs/gexiv2-0.10.6
285 - >=media-libs/libmypaint-1.3.0
286 - >=media-gfx/mypaint-brushes-1.3.0
287 - >=media-libs/fontconfig-2.12.4
288 - sys-libs/zlib
289 - dev-libs/libxml2
290 - dev-libs/libxslt
291 - x11-themes/hicolor-icon-theme
292 - >=media-libs/babl-0.1.58
293 - >=media-libs/gegl-0.4.12:0.4[cairo]
294 - aalib? ( media-libs/aalib )
295 - alsa? ( media-libs/alsa-lib )
296 - aqua? ( x11-libs/gtk-mac-integration )
297 - gnome? ( gnome-base/gvfs )
298 - virtual/jpeg:0
299 - jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
300 - >=media-libs/lcms-2.8:2
301 - mng? ( media-libs/libmng )
302 - openexr? ( >=media-libs/openexr-1.6.1:= )
303 - >=app-text/poppler-0.44[cairo]
304 - >=app-text/poppler-data-0.4.7
305 - >=media-libs/libpng-1.6.25:0=
306 - python? (
307 - ${PYTHON_DEPS}
308 - $(python_gen_cond_dep '
309 - >=dev-python/pygtk-2.10.4:2[${PYTHON_MULTI_USEDEP}]
310 - >=dev-python/pycairo-1.0.2[${PYTHON_MULTI_USEDEP}]
311 - ')
312 - )
313 - >=media-libs/tiff-3.5.7:0
314 - >=gnome-base/librsvg-2.40.6:2
315 - webp? ( >=media-libs/libwebp-0.6.0 )
316 - wmf? ( >=media-libs/libwmf-0.2.8 )
317 - net-libs/glib-networking[ssl]
318 - x11-libs/libXcursor
319 - sys-libs/zlib
320 - app-arch/bzip2
321 - >=app-arch/xz-utils-5.0.0
322 - postscript? ( app-text/ghostscript-gpl )
323 - udev? ( dev-libs/libgudev:= )
324 - unwind? ( sys-libs/libunwind:= )
325 - heif? ( >=media-libs/libheif-1.1.0:= )"
326 -DEPEND="${RDEPEND}
327 - >=dev-lang/perl-5.10.0
328 - dev-libs/appstream-glib
329 - dev-util/gtk-update-icon-cache
330 - sys-apps/findutils
331 - virtual/pkgconfig
332 - >=dev-util/intltool-0.40.1
333 - >=sys-devel/gettext-0.19
334 - doc? ( >=dev-util/gtk-doc-1 )
335 - >=sys-devel/libtool-2.2
336 - >=sys-devel/automake-1.11
337 - dev-util/gtk-doc-am"
338 -
339 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
340 -
341 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
342 -
343 -S="${WORKDIR}/${MY_P}"
344 -
345 -pkg_setup() {
346 - if use python; then
347 - python-single-r1_pkg_setup
348 - fi
349 -}
350 -
351 -src_prepare() {
352 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
353 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
354 -
355 - gnome2_src_prepare # calls eautoreconf
356 -
357 - sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
358 - fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
359 -}
360 -
361 -_adjust_sandbox() {
362 - # Bugs #569738 and #591214
363 - local nv
364 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
365 - # We do not check for existence as they may show up later
366 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
367 - addwrite "${nv}"
368 - done
369 -
370 - addwrite /dev/dri/ # bugs #574038 and #684886
371 - addwrite /dev/ati/ # bug #589198
372 - addwrite /proc/mtrr # bug #589198
373 -}
374 -
375 -src_configure() {
376 - _adjust_sandbox
377 -
378 - local myconf=(
379 - GEGL="${EPREFIX}"/usr/bin/gegl-0.4
380 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
381 - --enable-default-binary
382 - $(use_with !aqua x)
383 - $(use_with aalib aa)
384 - $(use_with alsa)
385 - $(use_enable altivec)
386 - --with-appdata-test
387 - --without-libbacktrace
388 - --with-bug-report-url=https://bugs.gentoo.org/
389 - --without-webkit
390 - $(use_with jpeg2k jpeg2000)
391 - $(use_with postscript gs)
392 - $(use_enable cpu_flags_x86_mmx mmx)
393 - $(use_with mng libmng)
394 - $(use_with openexr)
395 - $(use_with webp)
396 - $(use_with heif libheif)
397 - $(use_enable python)
398 - --enable-mp
399 - $(use_enable cpu_flags_x86_sse sse)
400 - $(use_with udev gudev)
401 - $(use_with unwind libunwind)
402 - $(use_with wmf)
403 - --with-xmc
404 - $(use_with xpm libxpm)
405 - $(use_enable vector-icons)
406 - --without-xvfb-run
407 - )
408 -
409 - gnome2_src_configure "${myconf[@]}"
410 -}
411 -
412 -src_compile() {
413 - export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
414 - gnome2_src_compile
415 -}
416 -
417 -_clean_up_locales() {
418 - [[ -z ${LINGUAS+set} ]] && return
419 - einfo "Cleaning up locales..."
420 - for lang in ${LANGS}; do
421 - has ${lang} ${LINGUAS} && {
422 - einfo "- keeping ${lang}"
423 - continue
424 - }
425 - rm -Rf "${ED%/}"/usr/share/locale/"${lang}"
426 - done
427 -}
428 -
429 -# for https://bugs.gentoo.org/664938
430 -_rename_plugins() {
431 - einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
432 - local prepend=gimp-org-
433 - (
434 - cd "${ED%/}"/usr/$(get_libdir)/gimp/2.0/plug-ins || exit 1
435 - for plugin_slash in $(ls -d1 */); do
436 - plugin=${plugin_slash%/}
437 - if [[ -f ${plugin}/${plugin} ]]; then
438 - # NOTE: Folder and file name need to match for Gimp to load that plug-in
439 - # so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
440 - mv ${plugin}/{,${prepend}}${plugin} || exit 1
441 - mv {,${prepend}}${plugin} || exit 1
442 - fi
443 - done
444 - )
445 -}
446 -
447 -src_test() {
448 - virtx emake check
449 -}
450 -
451 -src_install() {
452 - gnome2_src_install
453 -
454 - if use python; then
455 - python_optimize
456 - fi
457 -
458 - # Workaround for bug #321111 to give GIMP the least
459 - # precedence on PDF documents by default
460 - mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die
461 -
462 - prune_libtool_files --all
463 -
464 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
465 - local gimp_app_version=$(get_version_component_range 1-2)
466 - mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
467 -
468 - _rename_plugins || die
469 - _clean_up_locales
470 -}
471 -
472 -pkg_postinst() {
473 - gnome2_pkg_postinst
474 -}
475 -
476 -pkg_postrm() {
477 - gnome2_pkg_postrm
478 -}