Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/
Date: Wed, 25 Oct 2017 22:57:15
Message-Id: 1508972052.4871fb69fade069d7853b0106eb5b619f9a27dde.sping@gentoo
1 commit: 4871fb69fade069d7853b0106eb5b619f9a27dde
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 25 22:54:12 2017 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 25 22:54:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4871fb69
7
8 media-gfx/gimp: Remove old/vulnerable (bug 618310)
9
10 2.8.14-r2 was vulnerable to CVE-2007-3126, the others were removed for clean-up
11
12 Package-Manager: Portage-2.3.10, Repoman-2.3.3
13
14 media-gfx/gimp/Manifest | 3 -
15 media-gfx/gimp/gimp-2.8.14-r2.ebuild | 170 -------------------------------
16 media-gfx/gimp/gimp-2.8.14-r4.ebuild | 170 -------------------------------
17 media-gfx/gimp/gimp-2.8.20-r1.ebuild | 169 -------------------------------
18 media-gfx/gimp/gimp-2.9.4-r3.ebuild | 191 -----------------------------------
19 5 files changed, 703 deletions(-)
20
21 diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest
22 index a77314ed5e0..090ae9a3836 100644
23 --- a/media-gfx/gimp/Manifest
24 +++ b/media-gfx/gimp/Manifest
25 @@ -1,5 +1,2 @@
26 -DIST gimp-2.8.14.tar.bz2 20440077 SHA256 d82a958641c9c752d68e35f65840925c08e314cea90222ad845892a40e05b22d SHA512 533f6b931624d36525cb2f3fbc27fe27565d761bbe26873bb5445c06c01523c044d1814363a8cd76b6e381440db4c6e302b0d3f7a9e5aac7f60072770552f1ba WHIRLPOOL 8fd7b0fd5f8627b2df83481f7956727acd42eafcdc9c9116713d60faf8578005c2fb1e1d729f3b2c836a90e9bab063e477f9da5285e5c43a79f2dbe441a0565b
27 -DIST gimp-2.8.20.tar.bz2 20853324 SHA256 939ca1df70be865c672ffd654f4e20f188121d01601c5c90237214101533c805 SHA512 5cd02854e21098c0d9d929e9131ede628ed520b6c76190eb9f6db38f057cff956e35b0a891d04c3a2e9c9e85c77f82d7ff5e63404187a8df921553763f649fd7 WHIRLPOOL 14b4791e6849629e3794de28d3bab228dc43df844c56c7777b31e36e4db3173e6c5ccda8f8f116b4fbd2dcec31c24de94d9b822f12bdb20ddc372cf035089355
28 DIST gimp-2.8.22.tar.bz2 20873278 SHA256 9187a35cc52b110d78124d7b27b68a68ade14a794c2721314bac6134d2a5638a SHA512 84a78d428282538b606b3cd1ff571e52c3d828fceade171b2012bc1cdcb85919fc7734e7e6c45ed3a8683657fa580412b32c1b511b8a512172a8c1df930493e6 WHIRLPOOL f9d2f2049b3bf91e8abb8a20b1fda93d801d66ca5d58a9710ae618b0289970c5eaf0df8f195de6c41a4f737fc9e666e011ff7061a45356f18cf426cbbedc3b06
29 -DIST gimp-2.9.4-r1.tar.xz 18510496 SHA256 c3f3cab83f70c1c2c11c6b94157def3a40f1fd335ffda2ef3e191865fc89d97a SHA512 60691506ad021d34a9728a76529fb7ff653f679979f23346ba84f1f9c36606c6bc118b611e92be79af894cba93746c8bdaeeb00012300c23fe995e50c3204025 WHIRLPOOL a042ac4ccbb8172526cc9fa2ff2df7ac35bd9fcd6283778e03f451766176422ddf250229d9a074821b7a991c24bb14058abe49d9739815681d250f6201467a75
30 DIST gimp-2.9.6.tar.bz2 25472593 SHA256 b46f31d822a33ab416dcb15e33e10b5b98430814fa34f5ea4036230e845dfc9f SHA512 c874daedb00fbfa4156f0e244b217e221b047cb3bd22a81fb190a5d9d774212dc7802ec215151c6dc87136148bf9f84ca23a0a6340681a53c39b5fa71b2ded89 WHIRLPOOL c0166b2f7d3c0592c940030441f1d918463a5759ba8748c0c3ba0467b8dd15fea364041784e36aff4298e2754ae4f62d5cb83eb4e98531bf50bda1b7603b69c7
31
32 diff --git a/media-gfx/gimp/gimp-2.8.14-r2.ebuild b/media-gfx/gimp/gimp-2.8.14-r2.ebuild
33 deleted file mode 100644
34 index d697e22cff9..00000000000
35 --- a/media-gfx/gimp/gimp-2.8.14-r2.ebuild
36 +++ /dev/null
37 @@ -1,170 +0,0 @@
38 -# Copyright 1999-2017 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=5
42 -PYTHON_COMPAT=( python2_7 )
43 -
44 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
45 -
46 -DESCRIPTION="GNU Image Manipulation Program"
47 -HOMEPAGE="https://www.gimp.org/"
48 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
49 -LICENSE="GPL-3 LGPL-3"
50 -SLOT="2"
51 -KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
52 -
53 -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"
54 -IUSE="alsa aalib altivec aqua bzip2 curl dbus debug doc exif gnome postscript jpeg jpeg2k lcms cpu_flags_x86_mmx mng pdf png python smp cpu_flags_x86_sse svg tiff udev webkit wmf xpm"
55 -
56 -for lang in ${LANGS}; do
57 - IUSE+=" linguas_${lang}"
58 -done
59 -
60 -RDEPEND=">=dev-libs/glib-2.30.2:2
61 - >=dev-libs/atk-2.2.0
62 - >=x11-libs/gtk+-2.24.10:2
63 - >=x11-libs/gdk-pixbuf-2.24.1:2
64 - >=x11-libs/cairo-1.10.2
65 - >=x11-libs/pango-1.29.4
66 - xpm? ( x11-libs/libXpm )
67 - >=media-libs/freetype-2.1.7
68 - >=media-libs/fontconfig-2.2.0
69 - sys-libs/zlib
70 - dev-libs/libxml2
71 - dev-libs/libxslt
72 - x11-themes/hicolor-icon-theme
73 - >=media-libs/babl-0.1.10
74 - >=media-libs/gegl-0.2.0:0
75 - aalib? ( media-libs/aalib )
76 - alsa? ( media-libs/alsa-lib )
77 - aqua? ( x11-libs/gtk-mac-integration )
78 - curl? ( net-misc/curl )
79 - dbus? ( dev-libs/dbus-glib )
80 - gnome? ( gnome-base/gvfs )
81 - webkit? ( >=net-libs/webkit-gtk-1.6.1:2 )
82 - jpeg? ( virtual/jpeg:0 )
83 - jpeg2k? ( media-libs/jasper:= )
84 - exif? ( >=media-libs/libexif-0.6.15 )
85 - lcms? ( >=media-libs/lcms-2.2:2 )
86 - mng? ( media-libs/libmng )
87 - pdf? ( >=app-text/poppler-0.12.4[cairo] )
88 - png? ( >=media-libs/libpng-1.2.37:0 )
89 - python? (
90 - ${PYTHON_DEPS}
91 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
92 - )
93 - tiff? ( >=media-libs/tiff-3.5.7:0 )
94 - svg? ( >=gnome-base/librsvg-2.36.0:2 )
95 - wmf? ( >=media-libs/libwmf-0.2.8 )
96 - x11-libs/libXcursor
97 - sys-libs/zlib
98 - bzip2? ( app-arch/bzip2 )
99 - postscript? ( app-text/ghostscript-gpl )
100 - udev? ( virtual/libgudev:= )"
101 -DEPEND="${RDEPEND}
102 - sys-apps/findutils
103 - virtual/pkgconfig
104 - >=dev-util/intltool-0.40.1
105 - >=sys-devel/gettext-0.19
106 - doc? ( >=dev-util/gtk-doc-1 )
107 - >=sys-devel/libtool-2.2
108 - >=sys-devel/automake-1.11
109 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
110 -
111 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
112 -
113 -S="${WORKDIR}"/${P}
114 -
115 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
116 -
117 -pkg_setup() {
118 - G2CONF="--enable-default-binary \
119 - --disable-silent-rules \
120 - $(use_with !aqua x) \
121 - $(use_with aalib aa) \
122 - $(use_with alsa) \
123 - $(use_enable altivec) \
124 - $(use_with bzip2) \
125 - $(use_with curl libcurl) \
126 - $(use_with dbus) \
127 - $(use_with gnome gvfs) \
128 - $(use_with webkit) \
129 - $(use_with jpeg libjpeg) \
130 - $(use_with jpeg2k libjasper) \
131 - $(use_with exif libexif) \
132 - $(use_with lcms lcms lcms2) \
133 - $(use_with postscript gs) \
134 - $(use_enable cpu_flags_x86_mmx mmx) \
135 - $(use_with mng libmng) \
136 - $(use_with pdf poppler) \
137 - $(use_with png libpng) \
138 - $(use_enable python) \
139 - $(use_enable smp mp) \
140 - $(use_enable cpu_flags_x86_sse sse) \
141 - $(use_with svg librsvg) \
142 - $(use_with tiff libtiff) \
143 - $(use_with udev gudev) \
144 - $(use_with wmf) \
145 - --with-xmc \
146 - $(use_with xpm libxpm) \
147 - --without-xvfb-run"
148 -
149 - if use python; then
150 - python-single-r1_pkg_setup
151 - fi
152 -}
153 -
154 -src_prepare() {
155 - epatch "${FILESDIR}"/${P}-blend-center.patch # bug 558878
156 - epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
157 - epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
158 - epatch "${FILESDIR}"/${PN}-2.9.2-CVE-2016-4994.patch # bug 586666
159 -
160 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
161 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
162 -
163 - gnome2_src_prepare
164 -}
165 -
166 -_clean_up_locales() {
167 - einfo "Cleaning up locales..."
168 - for lang in ${LANGS}; do
169 - use "linguas_${lang}" && {
170 - einfo "- keeping ${lang}"
171 - continue
172 - }
173 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
174 - done
175 -}
176 -
177 -src_test() {
178 - Xemake check
179 -}
180 -
181 -src_install() {
182 - gnome2_src_install
183 -
184 - if use python; then
185 - python_optimize
186 - fi
187 -
188 - # Workaround for bug #321111 to give GIMP the least
189 - # precedence on PDF documents by default
190 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
191 -
192 - prune_libtool_files --all
193 -
194 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
195 - local gimp_app_version=$(get_version_component_range 1-2)
196 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
197 -
198 - _clean_up_locales
199 -}
200 -
201 -pkg_postinst() {
202 - gnome2_pkg_postinst
203 -}
204 -
205 -pkg_postrm() {
206 - gnome2_pkg_postrm
207 -}
208
209 diff --git a/media-gfx/gimp/gimp-2.8.14-r4.ebuild b/media-gfx/gimp/gimp-2.8.14-r4.ebuild
210 deleted file mode 100644
211 index 0f09309d692..00000000000
212 --- a/media-gfx/gimp/gimp-2.8.14-r4.ebuild
213 +++ /dev/null
214 @@ -1,170 +0,0 @@
215 -# Copyright 1999-2017 Gentoo Foundation
216 -# Distributed under the terms of the GNU General Public License v2
217 -
218 -EAPI=5
219 -PYTHON_COMPAT=( python2_7 )
220 -
221 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
222 -
223 -DESCRIPTION="GNU Image Manipulation Program"
224 -HOMEPAGE="https://www.gimp.org/"
225 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
226 -LICENSE="GPL-3 LGPL-3"
227 -SLOT="2"
228 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
229 -
230 -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"
231 -IUSE="alsa aalib altivec aqua bzip2 curl dbus debug doc exif gnome postscript jpeg jpeg2k lcms cpu_flags_x86_mmx mng pdf png python smp cpu_flags_x86_sse svg tiff udev wmf xpm"
232 -
233 -for lang in ${LANGS}; do
234 - IUSE+=" linguas_${lang}"
235 -done
236 -
237 -RDEPEND=">=dev-libs/glib-2.30.2:2
238 - >=dev-libs/atk-2.2.0
239 - >=x11-libs/gtk+-2.24.10:2
240 - >=x11-libs/gdk-pixbuf-2.24.1:2
241 - >=x11-libs/cairo-1.10.2
242 - >=x11-libs/pango-1.29.4
243 - xpm? ( x11-libs/libXpm )
244 - >=media-libs/freetype-2.1.7
245 - >=media-libs/fontconfig-2.2.0
246 - sys-libs/zlib
247 - dev-libs/libxml2
248 - dev-libs/libxslt
249 - x11-themes/hicolor-icon-theme
250 - >=media-libs/babl-0.1.10
251 - >=media-libs/gegl-0.2.0:0
252 - aalib? ( media-libs/aalib )
253 - alsa? ( media-libs/alsa-lib )
254 - aqua? ( x11-libs/gtk-mac-integration )
255 - curl? ( net-misc/curl )
256 - dbus? ( dev-libs/dbus-glib )
257 - gnome? ( gnome-base/gvfs )
258 - jpeg? ( virtual/jpeg:0 )
259 - jpeg2k? ( media-libs/jasper:= )
260 - exif? ( >=media-libs/libexif-0.6.15 )
261 - lcms? ( >=media-libs/lcms-2.2:2 )
262 - mng? ( media-libs/libmng )
263 - pdf? ( >=app-text/poppler-0.12.4[cairo] )
264 - png? ( >=media-libs/libpng-1.2.37:0 )
265 - python? (
266 - ${PYTHON_DEPS}
267 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
268 - )
269 - tiff? ( >=media-libs/tiff-3.5.7:0 )
270 - svg? ( >=gnome-base/librsvg-2.36.0:2 )
271 - wmf? ( >=media-libs/libwmf-0.2.8 )
272 - x11-libs/libXcursor
273 - sys-libs/zlib
274 - bzip2? ( app-arch/bzip2 )
275 - postscript? ( app-text/ghostscript-gpl )
276 - udev? ( virtual/libgudev:= )"
277 -DEPEND="${RDEPEND}
278 - sys-apps/findutils
279 - virtual/pkgconfig
280 - >=dev-util/intltool-0.40.1
281 - >=sys-devel/gettext-0.19
282 - doc? ( >=dev-util/gtk-doc-1 )
283 - >=sys-devel/libtool-2.2
284 - >=sys-devel/automake-1.11
285 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
286 -
287 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
288 -
289 -S="${WORKDIR}"/${P}
290 -
291 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
292 -
293 -pkg_setup() {
294 - G2CONF="--enable-default-binary \
295 - --disable-silent-rules \
296 - $(use_with !aqua x) \
297 - $(use_with aalib aa) \
298 - $(use_with alsa) \
299 - $(use_enable altivec) \
300 - $(use_with bzip2) \
301 - $(use_with curl libcurl) \
302 - $(use_with dbus) \
303 - $(use_with gnome gvfs) \
304 - --without-webkit \
305 - $(use_with jpeg libjpeg) \
306 - $(use_with jpeg2k libjasper) \
307 - $(use_with exif libexif) \
308 - $(use_with lcms lcms lcms2) \
309 - $(use_with postscript gs) \
310 - $(use_enable cpu_flags_x86_mmx mmx) \
311 - $(use_with mng libmng) \
312 - $(use_with pdf poppler) \
313 - $(use_with png libpng) \
314 - $(use_enable python) \
315 - $(use_enable smp mp) \
316 - $(use_enable cpu_flags_x86_sse sse) \
317 - $(use_with svg librsvg) \
318 - $(use_with tiff libtiff) \
319 - $(use_with udev gudev) \
320 - $(use_with wmf) \
321 - --with-xmc \
322 - $(use_with xpm libxpm) \
323 - --without-xvfb-run"
324 -
325 - if use python; then
326 - python-single-r1_pkg_setup
327 - fi
328 -}
329 -
330 -src_prepare() {
331 - epatch "${FILESDIR}"/${P}-blend-center.patch # bug 558878
332 - epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
333 - epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
334 - epatch "${FILESDIR}"/${PN}-2.9.2-CVE-2016-4994.patch # bug 586666
335 - epatch "${FILESDIR}"/${PN}-2.9.4-CVE-2007-3126.patch # bug 618310
336 -
337 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
338 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
339 -
340 - gnome2_src_prepare
341 -}
342 -
343 -_clean_up_locales() {
344 - einfo "Cleaning up locales..."
345 - for lang in ${LANGS}; do
346 - use "linguas_${lang}" && {
347 - einfo "- keeping ${lang}"
348 - continue
349 - }
350 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
351 - done
352 -}
353 -
354 -src_test() {
355 - Xemake check
356 -}
357 -
358 -src_install() {
359 - gnome2_src_install
360 -
361 - if use python; then
362 - python_optimize
363 - fi
364 -
365 - # Workaround for bug #321111 to give GIMP the least
366 - # precedence on PDF documents by default
367 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
368 -
369 - prune_libtool_files --all
370 -
371 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
372 - local gimp_app_version=$(get_version_component_range 1-2)
373 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
374 -
375 - _clean_up_locales
376 -}
377 -
378 -pkg_postinst() {
379 - gnome2_pkg_postinst
380 -}
381 -
382 -pkg_postrm() {
383 - gnome2_pkg_postrm
384 -}
385
386 diff --git a/media-gfx/gimp/gimp-2.8.20-r1.ebuild b/media-gfx/gimp/gimp-2.8.20-r1.ebuild
387 deleted file mode 100644
388 index 36bb5254dd1..00000000000
389 --- a/media-gfx/gimp/gimp-2.8.20-r1.ebuild
390 +++ /dev/null
391 @@ -1,169 +0,0 @@
392 -# Copyright 1999-2017 Gentoo Foundation
393 -# Distributed under the terms of the GNU General Public License v2
394 -
395 -EAPI=5
396 -PYTHON_COMPAT=( python2_7 )
397 -
398 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
399 -
400 -DESCRIPTION="GNU Image Manipulation Program"
401 -HOMEPAGE="https://www.gimp.org/"
402 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
403 -LICENSE="GPL-3 LGPL-3"
404 -SLOT="2"
405 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
406 -
407 -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"
408 -IUSE="alsa aalib altivec aqua bzip2 curl dbus debug doc exif gnome postscript jpeg jpeg2k lcms cpu_flags_x86_mmx mng pdf png python smp cpu_flags_x86_sse svg tiff udev wmf xpm"
409 -
410 -for lang in ${LANGS}; do
411 - IUSE+=" linguas_${lang}"
412 -done
413 -
414 -RDEPEND=">=dev-libs/glib-2.30.2:2
415 - >=dev-libs/atk-2.2.0
416 - >=x11-libs/gtk+-2.24.10:2
417 - >=x11-libs/gdk-pixbuf-2.24.1:2
418 - >=x11-libs/cairo-1.10.2
419 - >=x11-libs/pango-1.29.4
420 - xpm? ( x11-libs/libXpm )
421 - >=media-libs/freetype-2.1.7
422 - >=media-libs/fontconfig-2.2.0
423 - sys-libs/zlib
424 - dev-libs/libxml2
425 - dev-libs/libxslt
426 - x11-themes/hicolor-icon-theme
427 - >=media-libs/babl-0.1.10
428 - >=media-libs/gegl-0.2.0:0
429 - aalib? ( media-libs/aalib )
430 - alsa? ( media-libs/alsa-lib )
431 - aqua? ( x11-libs/gtk-mac-integration )
432 - curl? ( net-misc/curl )
433 - dbus? ( dev-libs/dbus-glib )
434 - gnome? ( gnome-base/gvfs )
435 - jpeg? ( virtual/jpeg:0 )
436 - jpeg2k? ( media-libs/jasper:= )
437 - exif? ( >=media-libs/libexif-0.6.15 )
438 - lcms? ( >=media-libs/lcms-2.2:2 )
439 - mng? ( media-libs/libmng )
440 - pdf? ( >=app-text/poppler-0.12.4[cairo] )
441 - png? ( >=media-libs/libpng-1.2.37:0 )
442 - python? (
443 - ${PYTHON_DEPS}
444 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
445 - )
446 - tiff? ( >=media-libs/tiff-3.5.7:0 )
447 - svg? ( >=gnome-base/librsvg-2.36.0:2 )
448 - wmf? ( >=media-libs/libwmf-0.2.8 )
449 - x11-libs/libXcursor
450 - sys-libs/zlib
451 - bzip2? ( app-arch/bzip2 )
452 - postscript? ( app-text/ghostscript-gpl )
453 - udev? ( virtual/libgudev:= )"
454 -DEPEND="${RDEPEND}
455 - sys-apps/findutils
456 - virtual/pkgconfig
457 - >=dev-util/intltool-0.40.1
458 - >=sys-devel/gettext-0.19
459 - doc? ( >=dev-util/gtk-doc-1 )
460 - >=sys-devel/libtool-2.2
461 - >=sys-devel/automake-1.11
462 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
463 -
464 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
465 -
466 -S="${WORKDIR}"/${P}
467 -
468 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
469 -
470 -pkg_setup() {
471 - G2CONF="--enable-default-binary \
472 - --disable-silent-rules \
473 - $(use_with !aqua x) \
474 - $(use_with aalib aa) \
475 - $(use_with alsa) \
476 - $(use_enable altivec) \
477 - $(use_with bzip2) \
478 - $(use_with curl libcurl) \
479 - $(use_with dbus) \
480 - $(use_with gnome gvfs) \
481 - --without-webkit \
482 - $(use_with jpeg libjpeg) \
483 - $(use_with jpeg2k libjasper) \
484 - $(use_with exif libexif) \
485 - $(use_with lcms lcms lcms2) \
486 - $(use_with postscript gs) \
487 - $(use_enable cpu_flags_x86_mmx mmx) \
488 - $(use_with mng libmng) \
489 - $(use_with pdf poppler) \
490 - $(use_with png libpng) \
491 - $(use_enable python) \
492 - $(use_enable smp mp) \
493 - $(use_enable cpu_flags_x86_sse sse) \
494 - $(use_with svg librsvg) \
495 - $(use_with tiff libtiff) \
496 - $(use_with udev gudev) \
497 - $(use_with wmf) \
498 - --with-xmc \
499 - $(use_with xpm libxpm) \
500 - --without-xvfb-run"
501 -
502 - if use python; then
503 - python-single-r1_pkg_setup
504 - fi
505 -}
506 -
507 -src_prepare() {
508 - epatch "${FILESDIR}"/${PN}-2.8.14-blend-center.patch # bug 558878
509 - epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
510 - epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
511 - epatch "${FILESDIR}"/${PN}-2.9.4-CVE-2007-3126.patch # bug 618310
512 -
513 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
514 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
515 -
516 - gnome2_src_prepare
517 -}
518 -
519 -_clean_up_locales() {
520 - einfo "Cleaning up locales..."
521 - for lang in ${LANGS}; do
522 - use "linguas_${lang}" && {
523 - einfo "- keeping ${lang}"
524 - continue
525 - }
526 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
527 - done
528 -}
529 -
530 -src_test() {
531 - Xemake check
532 -}
533 -
534 -src_install() {
535 - gnome2_src_install
536 -
537 - if use python; then
538 - python_optimize
539 - fi
540 -
541 - # Workaround for bug #321111 to give GIMP the least
542 - # precedence on PDF documents by default
543 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
544 -
545 - prune_libtool_files --all
546 -
547 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
548 - local gimp_app_version=$(get_version_component_range 1-2)
549 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
550 -
551 - _clean_up_locales
552 -}
553 -
554 -pkg_postinst() {
555 - gnome2_pkg_postinst
556 -}
557 -
558 -pkg_postrm() {
559 - gnome2_pkg_postrm
560 -}
561
562 diff --git a/media-gfx/gimp/gimp-2.9.4-r3.ebuild b/media-gfx/gimp/gimp-2.9.4-r3.ebuild
563 deleted file mode 100644
564 index 8c75005f2e5..00000000000
565 --- a/media-gfx/gimp/gimp-2.9.4-r3.ebuild
566 +++ /dev/null
567 @@ -1,191 +0,0 @@
568 -# Copyright 1999-2017 Gentoo Foundation
569 -# Distributed under the terms of the GNU General Public License v2
570 -
571 -EAPI=5
572 -PYTHON_COMPAT=( python2_7 )
573 -
574 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
575 -
576 -DESCRIPTION="GNU Image Manipulation Program"
577 -HOMEPAGE="https://www.gimp.org/"
578 -SRC_URI="https://www.hartwork.org/public/${P}-r1.tar.xz"
579 -LICENSE="GPL-3 LGPL-3"
580 -SLOT="2"
581 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~x86"
582 -
583 -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"
584 -IUSE="alsa aalib altivec aqua debug doc openexr gnome postscript jpeg2k cpu_flags_x86_mmx mng pdf python smp cpu_flags_x86_sse udev vector-icons wmf xpm"
585 -
586 -for lang in ${LANGS}; do
587 - IUSE+=" linguas_${lang}"
588 -done
589 -
590 -RDEPEND=">=dev-libs/glib-2.30.2:2
591 - >=dev-libs/atk-2.2.0
592 - >=x11-libs/gtk+-2.24.10:2
593 - dev-util/gtk-update-icon-cache
594 - >=x11-libs/gdk-pixbuf-2.31:2
595 - >=x11-libs/cairo-1.12.2
596 - >=x11-libs/pango-1.29.4
597 - xpm? ( x11-libs/libXpm )
598 - >=media-libs/freetype-2.1.7
599 - >=media-libs/harfbuzz-0.9.19
600 - >=media-libs/gexiv2-0.6.1
601 - >=media-libs/libmypaint-1.3.0_beta0[gegl]
602 - >=media-libs/fontconfig-2.2.0
603 - sys-libs/zlib
604 - dev-libs/libxml2
605 - dev-libs/libxslt
606 - x11-themes/hicolor-icon-theme
607 - >=media-libs/babl-0.1.18
608 - >=media-libs/gegl-0.3.8:0.3[cairo]
609 - >=dev-libs/glib-2.43
610 - aalib? ( media-libs/aalib )
611 - alsa? ( media-libs/alsa-lib )
612 - aqua? ( x11-libs/gtk-mac-integration )
613 - gnome? ( gnome-base/gvfs )
614 - virtual/jpeg:0
615 - jpeg2k? ( media-libs/jasper:= )
616 - >=media-libs/lcms-2.2:2
617 - mng? ( media-libs/libmng )
618 - openexr? ( >=media-libs/openexr-1.6.1 )
619 - pdf? ( >=app-text/poppler-0.12.4[cairo] >=app-text/poppler-data-0.4.7 )
620 - >=media-libs/libpng-1.2.37:0
621 - python? (
622 - ${PYTHON_DEPS}
623 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
624 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
625 - )
626 - >=media-libs/tiff-3.5.7:0
627 - >=gnome-base/librsvg-2.36.0:2
628 - wmf? ( >=media-libs/libwmf-0.2.8 )
629 - x11-libs/libXcursor
630 - sys-libs/zlib
631 - app-arch/bzip2
632 - >=app-arch/xz-utils-5.0.0
633 - postscript? ( app-text/ghostscript-gpl )
634 - udev? ( virtual/libgudev:= )"
635 -DEPEND="${RDEPEND}
636 - sys-apps/findutils
637 - virtual/pkgconfig
638 - >=dev-util/intltool-0.40.1
639 - >=sys-devel/gettext-0.19
640 - doc? ( >=dev-util/gtk-doc-1 )
641 - >=sys-devel/libtool-2.2
642 - >=sys-devel/automake-1.11
643 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
644 -
645 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
646 -
647 -S="${WORKDIR}"/${P}-r1
648 -
649 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
650 -
651 -pkg_setup() {
652 - G2CONF="--enable-default-binary \
653 - --disable-silent-rules \
654 - $(use_with !aqua x) \
655 - $(use_with aalib aa) \
656 - $(use_with alsa) \
657 - $(use_enable altivec) \
658 - --without-webkit \
659 - $(use_with jpeg2k libjasper) \
660 - $(use_with postscript gs) \
661 - $(use_enable cpu_flags_x86_mmx mmx) \
662 - $(use_with mng libmng) \
663 - $(use_with openexr) \
664 - $(use_with pdf poppler) \
665 - $(use_enable python) \
666 - $(use_enable smp mp) \
667 - $(use_enable cpu_flags_x86_sse sse) \
668 - --with-librsvg \
669 - $(use_with udev gudev) \
670 - $(use_with wmf) \
671 - --with-xmc \
672 - $(use_with xpm libxpm) \
673 - $(use_enable vector-icons) \
674 - --without-xvfb-run"
675 -
676 - if use python; then
677 - python-single-r1_pkg_setup
678 - fi
679 -}
680 -
681 -src_prepare() {
682 - epatch "${FILESDIR}"/${PN}-2.9.2-no-deprecation.patch # bug 395695, comment 9 and 16
683 - epatch "${FILESDIR}"/${PN}-2.9.4-CVE-2007-3126.patch # bug 618310
684 -
685 - # Bug 589394
686 - rm icons/Symbolic-Inverted/Makefile.in || die
687 - epatch "${FILESDIR}"/${PN}-2.9.4-mkdir-makefile.patch
688 -
689 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
690 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
691 -
692 - gnome2_src_prepare
693 -}
694 -
695 -src_configure() {
696 - gnome2_src_configure \
697 - GEGL=/usr/bin/gegl-0.3 \
698 - GDBUS_CODEGEN=/bin/false
699 -}
700 -
701 -src_compile() {
702 - # Bugs #569738 and #591214
703 - local nv
704 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
705 - # We do not check for existence as they may show up later
706 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
707 - addwrite "${nv}"
708 - done
709 - addwrite /dev/dri/ # bug #574038
710 - addwrite /dev/ati/ # bug 589198
711 - addwrite /proc/mtrr # bug 589198
712 -
713 - export XDG_DATA_DIRS=/usr/share # bug 587004
714 - gnome2_src_compile
715 -}
716 -
717 -_clean_up_locales() {
718 - einfo "Cleaning up locales..."
719 - for lang in ${LANGS}; do
720 - use "linguas_${lang}" && {
721 - einfo "- keeping ${lang}"
722 - continue
723 - }
724 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
725 - done
726 -}
727 -
728 -src_test() {
729 - Xemake check
730 -}
731 -
732 -src_install() {
733 - gnome2_src_install
734 -
735 - if use python; then
736 - python_optimize
737 - fi
738 -
739 - # Workaround for bug #321111 to give GIMP the least
740 - # precedence on PDF documents by default
741 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
742 -
743 - prune_libtool_files --all
744 -
745 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
746 - local gimp_app_version=$(get_version_component_range 1-2)
747 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
748 -
749 - _clean_up_locales
750 -}
751 -
752 -pkg_postinst() {
753 - gnome2_pkg_postinst
754 -}
755 -
756 -pkg_postrm() {
757 - gnome2_pkg_postrm
758 -}