Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/
Date: Mon, 06 May 2019 11:05:16
Message-Id: 1557140696.633285ce3da553d8f5f64d66639e8f430c8741a0.pacho@gentoo
1 commit: 633285ce3da553d8f5f64d66639e8f430c8741a0
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 6 11:01:23 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon May 6 11:04:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633285ce
7
8 media-gfx/gimp: Drop old
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 media-gfx/gimp/Manifest | 3 -
14 media-gfx/gimp/gimp-2.10.10.ebuild | 217 ----------------------------------
15 media-gfx/gimp/gimp-2.10.2.ebuild | 199 -------------------------------
16 media-gfx/gimp/gimp-2.10.4.ebuild | 199 -------------------------------
17 media-gfx/gimp/gimp-2.10.6-r1.ebuild | 219 -----------------------------------
18 5 files changed, 837 deletions(-)
19
20 diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest
21 index 1094580d730..45765720586 100644
22 --- a/media-gfx/gimp/Manifest
23 +++ b/media-gfx/gimp/Manifest
24 @@ -1,7 +1,4 @@
25 DIST gimp-2.10.10.tar.bz2 32408724 BLAKE2B 7d4f06d255d7b853f08c2a8bd9695b5cbc27a417f2f78aab56c970675430534b7c6f870168c5555369b873971b4ca3889565085cfc0cb9b2e1bb60c3bfe938bd SHA512 87caab9643a018e741e5e51c61220b7b282a66ed5bb723750cdf4139950f98c9ab246f4d6450420531d0e878c4561150efc4063cda896f08b25669bac4d1d172
26 -DIST gimp-2.10.2.tar.bz2 30863771 BLAKE2B a3525f7266ffe35be1daf973bee4ea107d9e7384e0c85a792f2fc69bd29fa8ee3d19409586b9b1e1bf36a1be4e30719c7ed945e5de9b7cb4be4f81be06ea1468 SHA512 6e351294e018a9f879993700355bdf5f10bccc6862604ae1950c4d235d32cdfcd6a0195b37377819adeef53ab3d24f32ed1de60cba6bafe58608ed0906a6fbcf
27 -DIST gimp-2.10.4.tar.bz2 31064613 BLAKE2B 66d815c830696923759146dce68049131078ddf4f67242c78a7755db34c1b7e31b1b25bfe52e8e47a7fb81e24e60e4161261043484242c4682ca6cf362d55816 SHA512 9d0cc8d97b82423687b579907edaab6044f19a8207426edf4f7428de23fa82481112bb0a53b06bb7037b68d92336517b1eddef4600519707e7feedb64e5414f7
28 -DIST gimp-2.10.6.tar.bz2 31447973 BLAKE2B 96df16c1d774726580ad09317cba31f36bac341aa53178bdb04444c87406465b2c56d508ba0b8c012ad8abc85136f8c635b6e9875e4da57c97e6a6832edbc296 SHA512 1330ec756ec5f57243435e66aeb5f6214a9783e26763be6679714010a631e47dbb8b5f610195587af29261d2183332a4a4c6202acafc3f2837ae7a6b7f9a30c2
29 DIST gimp-2.10.8.tar.bz2 31954568 BLAKE2B 11f88b1068fa1fe216a54bed27b26b94c3fdb2cbc67e1e444df74a080d00b678f8c81897a6c5fb5956fa107842b0a853ada44d15d51c2e58db7435ddd0f8e999 SHA512 b458dd710b786152f95a8e48a0727b71cac549fccb31ac9e1e6ac3c617652079773ce7076401f8ade750ed38bdc78dfdec3317423f4c4e9c931f78002bd7454e
30 DIST gimp-2.8.22.tar.bz2 20873278 BLAKE2B 673246fd2354f1cecc74bf389df698f594b7553cc88a1d2679ae410ad39923abae843dfe9623ec195b4f967b5eccd199769a6300bf028ae04b8df4932df11505 SHA512 84a78d428282538b606b3cd1ff571e52c3d828fceade171b2012bc1cdcb85919fc7734e7e6c45ed3a8683657fa580412b32c1b511b8a512172a8c1df930493e6
31 DIST gimp-2.9.8.tar.bz2 26161474 BLAKE2B f00a58d33848a818a2cb3b74920b33156330a26423a2b567cd8372258f87b44ae1ad812f2b3ee9a093b919d022e8b71ef518d40b76ab94c616f9916b3d1effec SHA512 897092aa823961e6ed5dac47eaadd3a25c419364d6ca791987d99e495d0d4eba1d75e08c809dfa305e8feec9da606193b608e3470e0ef18fcfaa98ee8aedfe02
32
33 diff --git a/media-gfx/gimp/gimp-2.10.10.ebuild b/media-gfx/gimp/gimp-2.10.10.ebuild
34 deleted file mode 100644
35 index cfcc2774ce9..00000000000
36 --- a/media-gfx/gimp/gimp-2.10.10.ebuild
37 +++ /dev/null
38 @@ -1,217 +0,0 @@
39 -# Copyright 1999-2019 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=6
43 -PYTHON_COMPAT=( python2_7 )
44 -GNOME2_EAUTORECONF=yes
45 -
46 -inherit eapi7-ver virtualx autotools gnome2 multilib python-single-r1
47 -
48 -DESCRIPTION="GNU Image Manipulation Program"
49 -HOMEPAGE="https://www.gimp.org/"
50 -SRC_URI="mirror://gimp/v$(ver_cut 1-2)/${P}.tar.bz2"
51 -LICENSE="GPL-3 LGPL-3"
52 -SLOT="2"
53 -KEYWORDS="~amd64 ~x86"
54 -
55 -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"
56 -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"
57 -
58 -RDEPEND=">=dev-libs/glib-2.56.0:2
59 - >=dev-libs/atk-2.2.0
60 - >=x11-libs/gtk+-2.24.32:2
61 - >=x11-libs/gdk-pixbuf-2.31:2
62 - >=x11-libs/cairo-1.12.2
63 - >=x11-libs/pango-1.29.4
64 - xpm? ( x11-libs/libXpm )
65 - >=media-libs/freetype-2.1.7
66 - >=media-libs/harfbuzz-0.9.19
67 - >=media-libs/gexiv2-0.10.6
68 - >=media-libs/libmypaint-1.3.0
69 - >=media-gfx/mypaint-brushes-1.3.0
70 - >=media-libs/fontconfig-2.12.4
71 - sys-libs/zlib
72 - dev-libs/libxml2
73 - dev-libs/libxslt
74 - x11-themes/hicolor-icon-theme
75 - >=media-libs/babl-0.1.62
76 - >=media-libs/gegl-0.4.14:0.4[cairo]
77 - aalib? ( media-libs/aalib )
78 - alsa? ( media-libs/alsa-lib )
79 - aqua? ( x11-libs/gtk-mac-integration )
80 - gnome? ( gnome-base/gvfs )
81 - virtual/jpeg:0
82 - jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
83 - >=media-libs/lcms-2.8:2
84 - mng? ( media-libs/libmng )
85 - openexr? ( >=media-libs/openexr-1.6.1:= )
86 - >=app-text/poppler-0.50[cairo]
87 - >=app-text/poppler-data-0.4.7
88 - >=media-libs/libpng-1.6.25:0=
89 - python? (
90 - ${PYTHON_DEPS}
91 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
92 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
93 - )
94 - >=media-libs/tiff-3.5.7:0
95 - >=gnome-base/librsvg-2.40.6:2
96 - webp? ( >=media-libs/libwebp-0.6.0 )
97 - wmf? ( >=media-libs/libwmf-0.2.8 )
98 - net-libs/glib-networking[ssl]
99 - x11-libs/libXcursor
100 - sys-libs/zlib
101 - app-arch/bzip2
102 - >=app-arch/xz-utils-5.0.0
103 - postscript? ( app-text/ghostscript-gpl )
104 - udev? ( virtual/libgudev:= )
105 - unwind? ( sys-libs/libunwind:= )
106 - heif? ( >=media-libs/libheif-1.1.0:= )"
107 -DEPEND="${RDEPEND}
108 - >=dev-lang/perl-5.10.0
109 - dev-libs/appstream-glib
110 - dev-util/gtk-update-icon-cache
111 - sys-apps/findutils
112 - virtual/pkgconfig
113 - >=dev-util/intltool-0.40.1
114 - >=sys-devel/gettext-0.19
115 - doc? ( >=dev-util/gtk-doc-1 )
116 - >=sys-devel/libtool-2.2
117 - >=sys-devel/automake-1.11
118 - dev-util/gtk-doc-am"
119 -
120 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
121 -
122 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
123 -
124 -pkg_setup() {
125 - if use python; then
126 - python-single-r1_pkg_setup
127 - fi
128 -}
129 -
130 -src_prepare() {
131 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
132 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
133 -
134 - gnome2_src_prepare # calls eautoreconf
135 -
136 - sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
137 - fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
138 -}
139 -
140 -src_configure() {
141 - local myconf=(
142 - GEGL="${EPREFIX}"/usr/bin/gegl-0.4
143 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
144 -
145 - --enable-default-binary
146 - --disable-silent-rules
147 -
148 - $(use_with !aqua x)
149 - $(use_with aalib aa)
150 - $(use_with alsa)
151 - $(use_enable altivec)
152 - --with-appdata-test
153 - --without-libbacktrace
154 - --with-bug-report-url=https://bugs.gentoo.org/
155 - --without-webkit
156 - $(use_with jpeg2k jpeg2000)
157 - $(use_with postscript gs)
158 - $(use_enable cpu_flags_x86_mmx mmx)
159 - $(use_with mng libmng)
160 - $(use_with openexr)
161 - $(use_with webp)
162 - $(use_with heif libheif)
163 - $(use_enable python)
164 - --enable-mp
165 - $(use_enable cpu_flags_x86_sse sse)
166 - $(use_with udev gudev)
167 - $(use_with unwind libunwind)
168 - $(use_with wmf)
169 - --with-xmc
170 - $(use_with xpm libxpm)
171 - $(use_enable vector-icons)
172 - --without-xvfb-run
173 - )
174 -
175 - gnome2_src_configure "${myconf[@]}"
176 -}
177 -
178 -src_compile() {
179 - # Bugs #569738 and #591214
180 - local nv
181 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
182 - # We do not check for existence as they may show up later
183 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
184 - addwrite "${nv}"
185 - done
186 - addwrite /dev/dri/ # bug #574038
187 - addwrite /dev/ati/ # bug 589198
188 - addwrite /proc/mtrr # bug 589198
189 -
190 - export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
191 - gnome2_src_compile
192 -}
193 -
194 -_clean_up_locales() {
195 - [[ -z ${LINGUAS+set} ]] && return
196 - einfo "Cleaning up locales..."
197 - for lang in ${LANGS}; do
198 - has ${lang} ${LINGUAS} && {
199 - einfo "- keeping ${lang}"
200 - continue
201 - }
202 - rm -Rf "${ED%/}"/usr/share/locale/"${lang}"
203 - done
204 -}
205 -
206 -# for https://bugs.gentoo.org/664938
207 -_rename_plugins() {
208 - einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
209 - local prepend=gimp-org-
210 - (
211 - cd "${ED%/}"/usr/$(get_libdir)/gimp/2.0/plug-ins || exit 1
212 - for plugin_slash in $(ls -d1 */); do
213 - plugin=${plugin_slash%/}
214 - if [[ -f ${plugin}/${plugin} ]]; then
215 - # NOTE: Folder and file name need to match for Gimp to load that plug-in
216 - # so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
217 - mv ${plugin}/{,${prepend}}${plugin} || exit 1
218 - mv {,${prepend}}${plugin} || exit 1
219 - fi
220 - done
221 - )
222 -}
223 -
224 -src_test() {
225 - virtx emake check
226 -}
227 -
228 -src_install() {
229 - gnome2_src_install
230 -
231 - if use python; then
232 - python_optimize
233 - fi
234 -
235 - # Workaround for bug #321111 to give GIMP the least
236 - # precedence on PDF documents by default
237 - mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die
238 -
239 - find "${D}" -name '*.la' -type f -delete || die
240 -
241 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
242 - local gimp_app_version=$(get_version_component_range 1-2)
243 - mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
244 -
245 - _rename_plugins || die
246 - _clean_up_locales
247 -}
248 -
249 -pkg_postinst() {
250 - gnome2_pkg_postinst
251 -}
252 -
253 -pkg_postrm() {
254 - gnome2_pkg_postrm
255 -}
256
257 diff --git a/media-gfx/gimp/gimp-2.10.2.ebuild b/media-gfx/gimp/gimp-2.10.2.ebuild
258 deleted file mode 100644
259 index 818b06076c8..00000000000
260 --- a/media-gfx/gimp/gimp-2.10.2.ebuild
261 +++ /dev/null
262 @@ -1,199 +0,0 @@
263 -# Copyright 1999-2018 Gentoo Foundation
264 -# Distributed under the terms of the GNU General Public License v2
265 -
266 -EAPI=6
267 -PYTHON_COMPAT=( python2_7 )
268 -GNOME2_EAUTORECONF=yes
269 -
270 -MY_PV="${PV/_rc/-RC}"
271 -MY_P="${PN}-${MY_PV}"
272 -
273 -inherit versionator virtualx autotools gnome2 multilib python-single-r1 ltprune
274 -
275 -DESCRIPTION="GNU Image Manipulation Program"
276 -HOMEPAGE="https://www.gimp.org/"
277 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
278 -LICENSE="GPL-3 LGPL-3"
279 -SLOT="2"
280 -KEYWORDS="~amd64 ~x86"
281 -
282 -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"
283 -IUSE="alsa aalib altivec aqua debug doc openexr gnome postscript jpeg2k cpu_flags_x86_mmx mng python smp cpu_flags_x86_sse udev vector-icons webp wmf xpm"
284 -
285 -RDEPEND=">=dev-libs/glib-2.54.2:2
286 - >=dev-libs/atk-2.2.0
287 - >=x11-libs/gtk+-2.24.10:2
288 - >=x11-libs/gdk-pixbuf-2.31:2
289 - >=x11-libs/cairo-1.12.2
290 - >=x11-libs/pango-1.29.4
291 - xpm? ( x11-libs/libXpm )
292 - >=media-libs/freetype-2.1.7
293 - >=media-libs/harfbuzz-0.9.19
294 - >=media-libs/gexiv2-0.10.6
295 - >=media-libs/libmypaint-1.3.0[gegl]
296 - >=media-gfx/mypaint-brushes-1.3.0
297 - >=media-libs/fontconfig-2.12.4
298 - sys-libs/zlib
299 - dev-libs/libxml2
300 - dev-libs/libxslt
301 - x11-themes/hicolor-icon-theme
302 - >=media-libs/babl-0.1.50
303 - >=media-libs/gegl-0.4.2:0.4[cairo]
304 - aalib? ( media-libs/aalib )
305 - alsa? ( media-libs/alsa-lib )
306 - aqua? ( x11-libs/gtk-mac-integration )
307 - gnome? ( gnome-base/gvfs )
308 - virtual/jpeg:0
309 - jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
310 - >=media-libs/lcms-2.8:2
311 - mng? ( media-libs/libmng )
312 - openexr? ( >=media-libs/openexr-1.6.1 )
313 - >=app-text/poppler-0.44[cairo]
314 - >=app-text/poppler-data-0.4.7
315 - >=media-libs/libpng-1.6.25:0=
316 - python? (
317 - ${PYTHON_DEPS}
318 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
319 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
320 - )
321 - >=media-libs/tiff-3.5.7:0
322 - >=gnome-base/librsvg-2.40.6:2
323 - webp? ( >=media-libs/libwebp-0.6.0 )
324 - wmf? ( >=media-libs/libwmf-0.2.8 )
325 - net-libs/glib-networking[ssl]
326 - x11-libs/libXcursor
327 - sys-libs/zlib
328 - app-arch/bzip2
329 - >=app-arch/xz-utils-5.0.0
330 - postscript? ( app-text/ghostscript-gpl )
331 - udev? ( virtual/libgudev:= )"
332 -DEPEND="${RDEPEND}
333 - >=dev-lang/perl-5.10.0
334 - dev-libs/appstream-glib
335 - dev-util/gtk-update-icon-cache
336 - sys-apps/findutils
337 - virtual/pkgconfig
338 - >=dev-util/intltool-0.40.1
339 - >=sys-devel/gettext-0.19
340 - doc? ( >=dev-util/gtk-doc-1 )
341 - >=sys-devel/libtool-2.2
342 - >=sys-devel/automake-1.11
343 - dev-util/gtk-doc-am"
344 -
345 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
346 -
347 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
348 -
349 -S="${WORKDIR}/${MY_P}"
350 -
351 -pkg_setup() {
352 - if use python; then
353 - python-single-r1_pkg_setup
354 - fi
355 -}
356 -
357 -src_prepare() {
358 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
359 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
360 -
361 - gnome2_src_prepare # calls eautoreconf
362 -
363 - sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
364 - fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
365 -}
366 -
367 -src_configure() {
368 - local myconf=(
369 - GEGL="${EPREFIX}"/usr/bin/gegl-0.4
370 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
371 -
372 - --enable-default-binary
373 - --disable-silent-rules
374 -
375 - $(use_with !aqua x)
376 - $(use_with aalib aa)
377 - $(use_with alsa)
378 - $(use_enable altivec)
379 - --with-appdata-test
380 - --with-bug-report-url=https://bugs.gentoo.org/
381 - --without-webkit
382 - $(use_with jpeg2k jpeg2000)
383 - $(use_with postscript gs)
384 - $(use_enable cpu_flags_x86_mmx mmx)
385 - $(use_with mng libmng)
386 - $(use_with openexr)
387 - $(use_with webp)
388 - --without-libheif
389 - $(use_enable python)
390 - $(use_enable smp mp)
391 - $(use_enable cpu_flags_x86_sse sse)
392 - $(use_with udev gudev)
393 - $(use_with wmf)
394 - --with-xmc
395 - $(use_with xpm libxpm)
396 - $(use_enable vector-icons)
397 - --without-xvfb-run
398 - )
399 -
400 - gnome2_src_configure "${myconf[@]}"
401 -}
402 -
403 -src_compile() {
404 - # Bugs #569738 and #591214
405 - local nv
406 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
407 - # We do not check for existence as they may show up later
408 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
409 - addwrite "${nv}"
410 - done
411 - addwrite /dev/dri/ # bug #574038
412 - addwrite /dev/ati/ # bug 589198
413 - addwrite /proc/mtrr # bug 589198
414 -
415 - export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
416 - gnome2_src_compile
417 -}
418 -
419 -_clean_up_locales() {
420 - [[ -z ${LINGUAS+set} ]] && return
421 - einfo "Cleaning up locales..."
422 - for lang in ${LANGS}; do
423 - has ${lang} ${LINGUAS} && {
424 - einfo "- keeping ${lang}"
425 - continue
426 - }
427 - rm -Rf "${ED%/}"/usr/share/locale/"${lang}"
428 - done
429 -}
430 -
431 -src_test() {
432 - virtx emake check
433 -}
434 -
435 -src_install() {
436 - gnome2_src_install
437 -
438 - if use python; then
439 - python_optimize
440 - fi
441 -
442 - # Workaround for bug #321111 to give GIMP the least
443 - # precedence on PDF documents by default
444 - mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die
445 -
446 - prune_libtool_files --all
447 -
448 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
449 - local gimp_app_version=$(get_version_component_range 1-2)
450 - mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
451 -
452 - _clean_up_locales
453 -}
454 -
455 -pkg_postinst() {
456 - gnome2_pkg_postinst
457 -}
458 -
459 -pkg_postrm() {
460 - gnome2_pkg_postrm
461 -}
462
463 diff --git a/media-gfx/gimp/gimp-2.10.4.ebuild b/media-gfx/gimp/gimp-2.10.4.ebuild
464 deleted file mode 100644
465 index 586cce90b37..00000000000
466 --- a/media-gfx/gimp/gimp-2.10.4.ebuild
467 +++ /dev/null
468 @@ -1,199 +0,0 @@
469 -# Copyright 1999-2018 Gentoo Foundation
470 -# Distributed under the terms of the GNU General Public License v2
471 -
472 -EAPI=6
473 -PYTHON_COMPAT=( python2_7 )
474 -GNOME2_EAUTORECONF=yes
475 -
476 -MY_PV="${PV/_rc/-RC}"
477 -MY_P="${PN}-${MY_PV}"
478 -
479 -inherit versionator virtualx autotools gnome2 multilib python-single-r1 ltprune
480 -
481 -DESCRIPTION="GNU Image Manipulation Program"
482 -HOMEPAGE="https://www.gimp.org/"
483 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
484 -LICENSE="GPL-3 LGPL-3"
485 -SLOT="2"
486 -KEYWORDS="~amd64 ~x86"
487 -
488 -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"
489 -IUSE="alsa aalib altivec aqua debug doc openexr gnome postscript jpeg2k cpu_flags_x86_mmx mng python smp cpu_flags_x86_sse udev vector-icons webp wmf xpm"
490 -
491 -RDEPEND=">=dev-libs/glib-2.54.2:2
492 - >=dev-libs/atk-2.2.0
493 - >=x11-libs/gtk+-2.24.10:2
494 - >=x11-libs/gdk-pixbuf-2.31:2
495 - >=x11-libs/cairo-1.12.2
496 - >=x11-libs/pango-1.29.4
497 - xpm? ( x11-libs/libXpm )
498 - >=media-libs/freetype-2.1.7
499 - >=media-libs/harfbuzz-0.9.19
500 - >=media-libs/gexiv2-0.10.6
501 - >=media-libs/libmypaint-1.3.0[gegl]
502 - >=media-gfx/mypaint-brushes-1.3.0
503 - >=media-libs/fontconfig-2.12.4
504 - sys-libs/zlib
505 - dev-libs/libxml2
506 - dev-libs/libxslt
507 - x11-themes/hicolor-icon-theme
508 - >=media-libs/babl-0.1.52
509 - >=media-libs/gegl-0.4.4:0.4[cairo]
510 - aalib? ( media-libs/aalib )
511 - alsa? ( media-libs/alsa-lib )
512 - aqua? ( x11-libs/gtk-mac-integration )
513 - gnome? ( gnome-base/gvfs )
514 - virtual/jpeg:0
515 - jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
516 - >=media-libs/lcms-2.8:2
517 - mng? ( media-libs/libmng )
518 - openexr? ( >=media-libs/openexr-1.6.1 )
519 - >=app-text/poppler-0.44[cairo]
520 - >=app-text/poppler-data-0.4.7
521 - >=media-libs/libpng-1.6.25:0=
522 - python? (
523 - ${PYTHON_DEPS}
524 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
525 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
526 - )
527 - >=media-libs/tiff-3.5.7:0
528 - >=gnome-base/librsvg-2.40.6:2
529 - webp? ( >=media-libs/libwebp-0.6.0 )
530 - wmf? ( >=media-libs/libwmf-0.2.8 )
531 - net-libs/glib-networking[ssl]
532 - x11-libs/libXcursor
533 - sys-libs/zlib
534 - app-arch/bzip2
535 - >=app-arch/xz-utils-5.0.0
536 - postscript? ( app-text/ghostscript-gpl )
537 - udev? ( virtual/libgudev:= )"
538 -DEPEND="${RDEPEND}
539 - >=dev-lang/perl-5.10.0
540 - dev-libs/appstream-glib
541 - dev-util/gtk-update-icon-cache
542 - sys-apps/findutils
543 - virtual/pkgconfig
544 - >=dev-util/intltool-0.40.1
545 - >=sys-devel/gettext-0.19
546 - doc? ( >=dev-util/gtk-doc-1 )
547 - >=sys-devel/libtool-2.2
548 - >=sys-devel/automake-1.11
549 - dev-util/gtk-doc-am"
550 -
551 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
552 -
553 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
554 -
555 -S="${WORKDIR}/${MY_P}"
556 -
557 -pkg_setup() {
558 - if use python; then
559 - python-single-r1_pkg_setup
560 - fi
561 -}
562 -
563 -src_prepare() {
564 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
565 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
566 -
567 - gnome2_src_prepare # calls eautoreconf
568 -
569 - sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
570 - fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
571 -}
572 -
573 -src_configure() {
574 - local myconf=(
575 - GEGL="${EPREFIX}"/usr/bin/gegl-0.4
576 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
577 -
578 - --enable-default-binary
579 - --disable-silent-rules
580 -
581 - $(use_with !aqua x)
582 - $(use_with aalib aa)
583 - $(use_with alsa)
584 - $(use_enable altivec)
585 - --with-appdata-test
586 - --with-bug-report-url=https://bugs.gentoo.org/
587 - --without-webkit
588 - $(use_with jpeg2k jpeg2000)
589 - $(use_with postscript gs)
590 - $(use_enable cpu_flags_x86_mmx mmx)
591 - $(use_with mng libmng)
592 - $(use_with openexr)
593 - $(use_with webp)
594 - --without-libheif
595 - $(use_enable python)
596 - $(use_enable smp mp)
597 - $(use_enable cpu_flags_x86_sse sse)
598 - $(use_with udev gudev)
599 - $(use_with wmf)
600 - --with-xmc
601 - $(use_with xpm libxpm)
602 - $(use_enable vector-icons)
603 - --without-xvfb-run
604 - )
605 -
606 - gnome2_src_configure "${myconf[@]}"
607 -}
608 -
609 -src_compile() {
610 - # Bugs #569738 and #591214
611 - local nv
612 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
613 - # We do not check for existence as they may show up later
614 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
615 - addwrite "${nv}"
616 - done
617 - addwrite /dev/dri/ # bug #574038
618 - addwrite /dev/ati/ # bug 589198
619 - addwrite /proc/mtrr # bug 589198
620 -
621 - export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
622 - gnome2_src_compile
623 -}
624 -
625 -_clean_up_locales() {
626 - [[ -z ${LINGUAS+set} ]] && return
627 - einfo "Cleaning up locales..."
628 - for lang in ${LANGS}; do
629 - has ${lang} ${LINGUAS} && {
630 - einfo "- keeping ${lang}"
631 - continue
632 - }
633 - rm -Rf "${ED%/}"/usr/share/locale/"${lang}"
634 - done
635 -}
636 -
637 -src_test() {
638 - virtx emake check
639 -}
640 -
641 -src_install() {
642 - gnome2_src_install
643 -
644 - if use python; then
645 - python_optimize
646 - fi
647 -
648 - # Workaround for bug #321111 to give GIMP the least
649 - # precedence on PDF documents by default
650 - mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die
651 -
652 - prune_libtool_files --all
653 -
654 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
655 - local gimp_app_version=$(get_version_component_range 1-2)
656 - mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
657 -
658 - _clean_up_locales
659 -}
660 -
661 -pkg_postinst() {
662 - gnome2_pkg_postinst
663 -}
664 -
665 -pkg_postrm() {
666 - gnome2_pkg_postrm
667 -}
668
669 diff --git a/media-gfx/gimp/gimp-2.10.6-r1.ebuild b/media-gfx/gimp/gimp-2.10.6-r1.ebuild
670 deleted file mode 100644
671 index 88e720cd174..00000000000
672 --- a/media-gfx/gimp/gimp-2.10.6-r1.ebuild
673 +++ /dev/null
674 @@ -1,219 +0,0 @@
675 -# Copyright 1999-2018 Gentoo Authors
676 -# Distributed under the terms of the GNU General Public License v2
677 -
678 -EAPI=6
679 -PYTHON_COMPAT=( python2_7 )
680 -GNOME2_EAUTORECONF=yes
681 -
682 -MY_PV="${PV/_rc/-RC}"
683 -MY_P="${PN}-${MY_PV}"
684 -
685 -inherit versionator virtualx autotools gnome2 multilib python-single-r1 ltprune
686 -
687 -DESCRIPTION="GNU Image Manipulation Program"
688 -HOMEPAGE="https://www.gimp.org/"
689 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
690 -LICENSE="GPL-3 LGPL-3"
691 -SLOT="2"
692 -KEYWORDS="~amd64 ~x86"
693 -
694 -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"
695 -IUSE="alsa aalib altivec aqua debug doc openexr gnome heif postscript jpeg2k cpu_flags_x86_mmx mng python smp cpu_flags_x86_sse udev vector-icons webp wmf xpm"
696 -
697 -RDEPEND=">=dev-libs/glib-2.56.0:2
698 - >=dev-libs/atk-2.2.0
699 - >=x11-libs/gtk+-2.24.10:2
700 - >=x11-libs/gdk-pixbuf-2.31:2
701 - >=x11-libs/cairo-1.12.2
702 - >=x11-libs/pango-1.29.4
703 - xpm? ( x11-libs/libXpm )
704 - >=media-libs/freetype-2.1.7
705 - >=media-libs/harfbuzz-0.9.19
706 - >=media-libs/gexiv2-0.10.6
707 - >=media-libs/libmypaint-1.3.0[gegl]
708 - >=media-gfx/mypaint-brushes-1.3.0
709 - >=media-libs/fontconfig-2.12.4
710 - sys-libs/zlib
711 - dev-libs/libxml2
712 - dev-libs/libxslt
713 - x11-themes/hicolor-icon-theme
714 - >=media-libs/babl-0.1.56
715 - >=media-libs/gegl-0.4.8:0.4[cairo]
716 - aalib? ( media-libs/aalib )
717 - alsa? ( media-libs/alsa-lib )
718 - aqua? ( x11-libs/gtk-mac-integration )
719 - gnome? ( gnome-base/gvfs )
720 - virtual/jpeg:0
721 - jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
722 - >=media-libs/lcms-2.8:2
723 - mng? ( media-libs/libmng )
724 - openexr? ( >=media-libs/openexr-1.6.1:= )
725 - >=app-text/poppler-0.44[cairo]
726 - >=app-text/poppler-data-0.4.7
727 - >=media-libs/libpng-1.6.25:0=
728 - python? (
729 - ${PYTHON_DEPS}
730 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
731 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
732 - )
733 - >=media-libs/tiff-3.5.7:0
734 - >=gnome-base/librsvg-2.40.6:2
735 - webp? ( >=media-libs/libwebp-0.6.0 )
736 - wmf? ( >=media-libs/libwmf-0.2.8 )
737 - net-libs/glib-networking[ssl]
738 - x11-libs/libXcursor
739 - sys-libs/zlib
740 - app-arch/bzip2
741 - >=app-arch/xz-utils-5.0.0
742 - postscript? ( app-text/ghostscript-gpl )
743 - udev? ( virtual/libgudev:= )
744 - heif? ( >=media-libs/libheif-1.1.0:= )"
745 -DEPEND="${RDEPEND}
746 - >=dev-lang/perl-5.10.0
747 - dev-libs/appstream-glib
748 - dev-util/gtk-update-icon-cache
749 - sys-apps/findutils
750 - virtual/pkgconfig
751 - >=dev-util/intltool-0.40.1
752 - >=sys-devel/gettext-0.19
753 - doc? ( >=dev-util/gtk-doc-1 )
754 - >=sys-devel/libtool-2.2
755 - >=sys-devel/automake-1.11
756 - dev-util/gtk-doc-am"
757 -
758 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
759 -
760 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
761 -
762 -S="${WORKDIR}/${MY_P}"
763 -
764 -pkg_setup() {
765 - if use python; then
766 - python-single-r1_pkg_setup
767 - fi
768 -}
769 -
770 -src_prepare() {
771 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
772 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
773 -
774 - gnome2_src_prepare # calls eautoreconf
775 -
776 - sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
777 - fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
778 -}
779 -
780 -src_configure() {
781 - local myconf=(
782 - GEGL="${EPREFIX}"/usr/bin/gegl-0.4
783 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
784 -
785 - --enable-default-binary
786 - --disable-silent-rules
787 -
788 - $(use_with !aqua x)
789 - $(use_with aalib aa)
790 - $(use_with alsa)
791 - $(use_enable altivec)
792 - --with-appdata-test
793 - --with-bug-report-url=https://bugs.gentoo.org/
794 - --without-webkit
795 - $(use_with jpeg2k jpeg2000)
796 - $(use_with postscript gs)
797 - $(use_enable cpu_flags_x86_mmx mmx)
798 - $(use_with mng libmng)
799 - $(use_with openexr)
800 - $(use_with webp)
801 - $(use_with heif libheif)
802 - $(use_enable python)
803 - $(use_enable smp mp)
804 - $(use_enable cpu_flags_x86_sse sse)
805 - $(use_with udev gudev)
806 - $(use_with wmf)
807 - --with-xmc
808 - $(use_with xpm libxpm)
809 - $(use_enable vector-icons)
810 - --without-xvfb-run
811 - )
812 -
813 - gnome2_src_configure "${myconf[@]}"
814 -}
815 -
816 -src_compile() {
817 - # Bugs #569738 and #591214
818 - local nv
819 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
820 - # We do not check for existence as they may show up later
821 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
822 - addwrite "${nv}"
823 - done
824 - addwrite /dev/dri/ # bug #574038
825 - addwrite /dev/ati/ # bug 589198
826 - addwrite /proc/mtrr # bug 589198
827 -
828 - export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
829 - gnome2_src_compile
830 -}
831 -
832 -_clean_up_locales() {
833 - [[ -z ${LINGUAS+set} ]] && return
834 - einfo "Cleaning up locales..."
835 - for lang in ${LANGS}; do
836 - has ${lang} ${LINGUAS} && {
837 - einfo "- keeping ${lang}"
838 - continue
839 - }
840 - rm -Rf "${ED%/}"/usr/share/locale/"${lang}"
841 - done
842 -}
843 -
844 -# for https://bugs.gentoo.org/664938
845 -_rename_plugins() {
846 - einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
847 - local prepend=gimp-org-
848 - (
849 - cd "${ED%/}"/usr/$(get_libdir)/gimp/2.0/plug-ins || exit 1
850 - for plugin_slash in $(ls -d1 */); do
851 - plugin=${plugin_slash%/}
852 - if [[ -f ${plugin}/${plugin} ]]; then
853 - # NOTE: Folder and file name need to match for Gimp to load that plug-in
854 - # so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
855 - mv ${plugin}/{,${prepend}}${plugin} || exit 1
856 - mv {,${prepend}}${plugin} || exit 1
857 - fi
858 - done
859 - )
860 -}
861 -
862 -src_test() {
863 - virtx emake check
864 -}
865 -
866 -src_install() {
867 - gnome2_src_install
868 -
869 - if use python; then
870 - python_optimize
871 - fi
872 -
873 - # Workaround for bug #321111 to give GIMP the least
874 - # precedence on PDF documents by default
875 - mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die
876 -
877 - prune_libtool_files --all
878 -
879 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
880 - local gimp_app_version=$(get_version_component_range 1-2)
881 - mv "${ED%/}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
882 -
883 - _rename_plugins || die
884 - _clean_up_locales
885 -}
886 -
887 -pkg_postinst() {
888 - gnome2_pkg_postinst
889 -}
890 -
891 -pkg_postrm() {
892 - gnome2_pkg_postrm
893 -}