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: Mon, 05 Jun 2017 14:36:28
Message-Id: 1496673379.b12a612a98004cd6bcb1e2702a30aab0dd3c56c0.sping@gentoo
1 commit: b12a612a98004cd6bcb1e2702a30aab0dd3c56c0
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 5 14:34:33 2017 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 14:36:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12a612a
7
8 media-gfx/gimp: Remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-gfx/gimp/gimp-2.8.14-r3.ebuild | 169 -------------------------------
13 media-gfx/gimp/gimp-2.8.20.ebuild | 168 -------------------------------
14 media-gfx/gimp/gimp-2.9.4-r2.ebuild | 190 -----------------------------------
15 3 files changed, 527 deletions(-)
16
17 diff --git a/media-gfx/gimp/gimp-2.8.14-r3.ebuild b/media-gfx/gimp/gimp-2.8.14-r3.ebuild
18 deleted file mode 100644
19 index 90bd322c24c..00000000000
20 --- a/media-gfx/gimp/gimp-2.8.14-r3.ebuild
21 +++ /dev/null
22 @@ -1,169 +0,0 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=5
27 -PYTHON_COMPAT=( python2_7 )
28 -
29 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
30 -
31 -DESCRIPTION="GNU Image Manipulation Program"
32 -HOMEPAGE="http://www.gimp.org/"
33 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
34 -LICENSE="GPL-3 LGPL-3"
35 -SLOT="2"
36 -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"
37 -
38 -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"
39 -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"
40 -
41 -for lang in ${LANGS}; do
42 - IUSE+=" linguas_${lang}"
43 -done
44 -
45 -RDEPEND=">=dev-libs/glib-2.30.2:2
46 - >=dev-libs/atk-2.2.0
47 - >=x11-libs/gtk+-2.24.10:2
48 - >=x11-libs/gdk-pixbuf-2.24.1:2
49 - >=x11-libs/cairo-1.10.2
50 - >=x11-libs/pango-1.29.4
51 - xpm? ( x11-libs/libXpm )
52 - >=media-libs/freetype-2.1.7
53 - >=media-libs/fontconfig-2.2.0
54 - sys-libs/zlib
55 - dev-libs/libxml2
56 - dev-libs/libxslt
57 - x11-themes/hicolor-icon-theme
58 - >=media-libs/babl-0.1.10
59 - >=media-libs/gegl-0.2.0:0
60 - aalib? ( media-libs/aalib )
61 - alsa? ( media-libs/alsa-lib )
62 - aqua? ( x11-libs/gtk-mac-integration )
63 - curl? ( net-misc/curl )
64 - dbus? ( dev-libs/dbus-glib )
65 - gnome? ( gnome-base/gvfs )
66 - jpeg? ( virtual/jpeg:0 )
67 - jpeg2k? ( media-libs/jasper:= )
68 - exif? ( >=media-libs/libexif-0.6.15 )
69 - lcms? ( >=media-libs/lcms-2.2:2 )
70 - mng? ( media-libs/libmng )
71 - pdf? ( >=app-text/poppler-0.12.4[cairo] )
72 - png? ( >=media-libs/libpng-1.2.37:0 )
73 - python? (
74 - ${PYTHON_DEPS}
75 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
76 - )
77 - tiff? ( >=media-libs/tiff-3.5.7:0 )
78 - svg? ( >=gnome-base/librsvg-2.36.0:2 )
79 - wmf? ( >=media-libs/libwmf-0.2.8 )
80 - x11-libs/libXcursor
81 - sys-libs/zlib
82 - bzip2? ( app-arch/bzip2 )
83 - postscript? ( app-text/ghostscript-gpl )
84 - udev? ( virtual/libgudev:= )"
85 -DEPEND="${RDEPEND}
86 - sys-apps/findutils
87 - virtual/pkgconfig
88 - >=dev-util/intltool-0.40.1
89 - >=sys-devel/gettext-0.19
90 - doc? ( >=dev-util/gtk-doc-1 )
91 - >=sys-devel/libtool-2.2
92 - >=sys-devel/automake-1.11
93 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
94 -
95 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
96 -
97 -S="${WORKDIR}"/${P}
98 -
99 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
100 -
101 -pkg_setup() {
102 - G2CONF="--enable-default-binary \
103 - --disable-silent-rules \
104 - $(use_with !aqua x) \
105 - $(use_with aalib aa) \
106 - $(use_with alsa) \
107 - $(use_enable altivec) \
108 - $(use_with bzip2) \
109 - $(use_with curl libcurl) \
110 - $(use_with dbus) \
111 - $(use_with gnome gvfs) \
112 - --without-webkit \
113 - $(use_with jpeg libjpeg) \
114 - $(use_with jpeg2k libjasper) \
115 - $(use_with exif libexif) \
116 - $(use_with lcms lcms lcms2) \
117 - $(use_with postscript gs) \
118 - $(use_enable cpu_flags_x86_mmx mmx) \
119 - $(use_with mng libmng) \
120 - $(use_with pdf poppler) \
121 - $(use_with png libpng) \
122 - $(use_enable python) \
123 - $(use_enable smp mp) \
124 - $(use_enable cpu_flags_x86_sse sse) \
125 - $(use_with svg librsvg) \
126 - $(use_with tiff libtiff) \
127 - $(use_with udev gudev) \
128 - $(use_with wmf) \
129 - --with-xmc \
130 - $(use_with xpm libxpm) \
131 - --without-xvfb-run"
132 -
133 - if use python; then
134 - python-single-r1_pkg_setup
135 - fi
136 -}
137 -
138 -src_prepare() {
139 - epatch "${FILESDIR}"/${P}-blend-center.patch # bug 558878
140 - epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
141 - epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
142 - epatch "${FILESDIR}"/${PN}-2.9.2-CVE-2016-4994.patch # bug 586666
143 -
144 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
145 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
146 -
147 - gnome2_src_prepare
148 -}
149 -
150 -_clean_up_locales() {
151 - einfo "Cleaning up locales..."
152 - for lang in ${LANGS}; do
153 - use "linguas_${lang}" && {
154 - einfo "- keeping ${lang}"
155 - continue
156 - }
157 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
158 - done
159 -}
160 -
161 -src_test() {
162 - Xemake check
163 -}
164 -
165 -src_install() {
166 - gnome2_src_install
167 -
168 - if use python; then
169 - python_optimize
170 - fi
171 -
172 - # Workaround for bug #321111 to give GIMP the least
173 - # precedence on PDF documents by default
174 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
175 -
176 - prune_libtool_files --all
177 -
178 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
179 - local gimp_app_version=$(get_version_component_range 1-2)
180 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
181 -
182 - _clean_up_locales
183 -}
184 -
185 -pkg_postinst() {
186 - gnome2_pkg_postinst
187 -}
188 -
189 -pkg_postrm() {
190 - gnome2_pkg_postrm
191 -}
192
193 diff --git a/media-gfx/gimp/gimp-2.8.20.ebuild b/media-gfx/gimp/gimp-2.8.20.ebuild
194 deleted file mode 100644
195 index b3a51d23273..00000000000
196 --- a/media-gfx/gimp/gimp-2.8.20.ebuild
197 +++ /dev/null
198 @@ -1,168 +0,0 @@
199 -# Copyright 1999-2017 Gentoo Foundation
200 -# Distributed under the terms of the GNU General Public License v2
201 -
202 -EAPI=5
203 -PYTHON_COMPAT=( python2_7 )
204 -
205 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
206 -
207 -DESCRIPTION="GNU Image Manipulation Program"
208 -HOMEPAGE="http://www.gimp.org/"
209 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
210 -LICENSE="GPL-3 LGPL-3"
211 -SLOT="2"
212 -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"
213 -
214 -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"
215 -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"
216 -
217 -for lang in ${LANGS}; do
218 - IUSE+=" linguas_${lang}"
219 -done
220 -
221 -RDEPEND=">=dev-libs/glib-2.30.2:2
222 - >=dev-libs/atk-2.2.0
223 - >=x11-libs/gtk+-2.24.10:2
224 - >=x11-libs/gdk-pixbuf-2.24.1:2
225 - >=x11-libs/cairo-1.10.2
226 - >=x11-libs/pango-1.29.4
227 - xpm? ( x11-libs/libXpm )
228 - >=media-libs/freetype-2.1.7
229 - >=media-libs/fontconfig-2.2.0
230 - sys-libs/zlib
231 - dev-libs/libxml2
232 - dev-libs/libxslt
233 - x11-themes/hicolor-icon-theme
234 - >=media-libs/babl-0.1.10
235 - >=media-libs/gegl-0.2.0:0
236 - aalib? ( media-libs/aalib )
237 - alsa? ( media-libs/alsa-lib )
238 - aqua? ( x11-libs/gtk-mac-integration )
239 - curl? ( net-misc/curl )
240 - dbus? ( dev-libs/dbus-glib )
241 - gnome? ( gnome-base/gvfs )
242 - jpeg? ( virtual/jpeg:0 )
243 - jpeg2k? ( media-libs/jasper:= )
244 - exif? ( >=media-libs/libexif-0.6.15 )
245 - lcms? ( >=media-libs/lcms-2.2:2 )
246 - mng? ( media-libs/libmng )
247 - pdf? ( >=app-text/poppler-0.12.4[cairo] )
248 - png? ( >=media-libs/libpng-1.2.37:0 )
249 - python? (
250 - ${PYTHON_DEPS}
251 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
252 - )
253 - tiff? ( >=media-libs/tiff-3.5.7:0 )
254 - svg? ( >=gnome-base/librsvg-2.36.0:2 )
255 - wmf? ( >=media-libs/libwmf-0.2.8 )
256 - x11-libs/libXcursor
257 - sys-libs/zlib
258 - bzip2? ( app-arch/bzip2 )
259 - postscript? ( app-text/ghostscript-gpl )
260 - udev? ( virtual/libgudev:= )"
261 -DEPEND="${RDEPEND}
262 - sys-apps/findutils
263 - virtual/pkgconfig
264 - >=dev-util/intltool-0.40.1
265 - >=sys-devel/gettext-0.19
266 - doc? ( >=dev-util/gtk-doc-1 )
267 - >=sys-devel/libtool-2.2
268 - >=sys-devel/automake-1.11
269 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
270 -
271 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
272 -
273 -S="${WORKDIR}"/${P}
274 -
275 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
276 -
277 -pkg_setup() {
278 - G2CONF="--enable-default-binary \
279 - --disable-silent-rules \
280 - $(use_with !aqua x) \
281 - $(use_with aalib aa) \
282 - $(use_with alsa) \
283 - $(use_enable altivec) \
284 - $(use_with bzip2) \
285 - $(use_with curl libcurl) \
286 - $(use_with dbus) \
287 - $(use_with gnome gvfs) \
288 - --without-webkit \
289 - $(use_with jpeg libjpeg) \
290 - $(use_with jpeg2k libjasper) \
291 - $(use_with exif libexif) \
292 - $(use_with lcms lcms lcms2) \
293 - $(use_with postscript gs) \
294 - $(use_enable cpu_flags_x86_mmx mmx) \
295 - $(use_with mng libmng) \
296 - $(use_with pdf poppler) \
297 - $(use_with png libpng) \
298 - $(use_enable python) \
299 - $(use_enable smp mp) \
300 - $(use_enable cpu_flags_x86_sse sse) \
301 - $(use_with svg librsvg) \
302 - $(use_with tiff libtiff) \
303 - $(use_with udev gudev) \
304 - $(use_with wmf) \
305 - --with-xmc \
306 - $(use_with xpm libxpm) \
307 - --without-xvfb-run"
308 -
309 - if use python; then
310 - python-single-r1_pkg_setup
311 - fi
312 -}
313 -
314 -src_prepare() {
315 - epatch "${FILESDIR}"/${PN}-2.8.14-blend-center.patch # bug 558878
316 - epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
317 - epatch "${FILESDIR}"/${PN}-2.8.10-clang.patch # bug 449370 compile with clang
318 -
319 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
320 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
321 -
322 - gnome2_src_prepare
323 -}
324 -
325 -_clean_up_locales() {
326 - einfo "Cleaning up locales..."
327 - for lang in ${LANGS}; do
328 - use "linguas_${lang}" && {
329 - einfo "- keeping ${lang}"
330 - continue
331 - }
332 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
333 - done
334 -}
335 -
336 -src_test() {
337 - Xemake check
338 -}
339 -
340 -src_install() {
341 - gnome2_src_install
342 -
343 - if use python; then
344 - python_optimize
345 - fi
346 -
347 - # Workaround for bug #321111 to give GIMP the least
348 - # precedence on PDF documents by default
349 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
350 -
351 - prune_libtool_files --all
352 -
353 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
354 - local gimp_app_version=$(get_version_component_range 1-2)
355 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
356 -
357 - _clean_up_locales
358 -}
359 -
360 -pkg_postinst() {
361 - gnome2_pkg_postinst
362 -}
363 -
364 -pkg_postrm() {
365 - gnome2_pkg_postrm
366 -}
367
368 diff --git a/media-gfx/gimp/gimp-2.9.4-r2.ebuild b/media-gfx/gimp/gimp-2.9.4-r2.ebuild
369 deleted file mode 100644
370 index 73402dab76f..00000000000
371 --- a/media-gfx/gimp/gimp-2.9.4-r2.ebuild
372 +++ /dev/null
373 @@ -1,190 +0,0 @@
374 -# Copyright 1999-2017 Gentoo Foundation
375 -# Distributed under the terms of the GNU General Public License v2
376 -
377 -EAPI=5
378 -PYTHON_COMPAT=( python2_7 )
379 -
380 -inherit versionator virtualx autotools eutils gnome2 fdo-mime multilib python-single-r1
381 -
382 -DESCRIPTION="GNU Image Manipulation Program"
383 -HOMEPAGE="http://www.gimp.org/"
384 -SRC_URI="https://www.hartwork.org/public/${P}-r1.tar.xz"
385 -LICENSE="GPL-3 LGPL-3"
386 -SLOT="2"
387 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86"
388 -
389 -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"
390 -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"
391 -
392 -for lang in ${LANGS}; do
393 - IUSE+=" linguas_${lang}"
394 -done
395 -
396 -RDEPEND=">=dev-libs/glib-2.30.2:2
397 - >=dev-libs/atk-2.2.0
398 - >=x11-libs/gtk+-2.24.10:2
399 - dev-util/gtk-update-icon-cache
400 - >=x11-libs/gdk-pixbuf-2.31:2
401 - >=x11-libs/cairo-1.12.2
402 - >=x11-libs/pango-1.29.4
403 - xpm? ( x11-libs/libXpm )
404 - >=media-libs/freetype-2.1.7
405 - >=media-libs/harfbuzz-0.9.19
406 - >=media-libs/gexiv2-0.6.1
407 - >=media-libs/libmypaint-1.3.0_beta0[gegl]
408 - >=media-libs/fontconfig-2.2.0
409 - sys-libs/zlib
410 - dev-libs/libxml2
411 - dev-libs/libxslt
412 - x11-themes/hicolor-icon-theme
413 - >=media-libs/babl-0.1.18
414 - >=media-libs/gegl-0.3.8:0.3[cairo]
415 - >=dev-libs/glib-2.43
416 - aalib? ( media-libs/aalib )
417 - alsa? ( media-libs/alsa-lib )
418 - aqua? ( x11-libs/gtk-mac-integration )
419 - gnome? ( gnome-base/gvfs )
420 - virtual/jpeg:0
421 - jpeg2k? ( media-libs/jasper:= )
422 - >=media-libs/lcms-2.2:2
423 - mng? ( media-libs/libmng )
424 - openexr? ( >=media-libs/openexr-1.6.1 )
425 - pdf? ( >=app-text/poppler-0.12.4[cairo] >=app-text/poppler-data-0.4.7 )
426 - >=media-libs/libpng-1.2.37:0
427 - python? (
428 - ${PYTHON_DEPS}
429 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
430 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
431 - )
432 - >=media-libs/tiff-3.5.7:0
433 - >=gnome-base/librsvg-2.36.0:2
434 - wmf? ( >=media-libs/libwmf-0.2.8 )
435 - x11-libs/libXcursor
436 - sys-libs/zlib
437 - app-arch/bzip2
438 - >=app-arch/xz-utils-5.0.0
439 - postscript? ( app-text/ghostscript-gpl )
440 - udev? ( virtual/libgudev:= )"
441 -DEPEND="${RDEPEND}
442 - sys-apps/findutils
443 - virtual/pkgconfig
444 - >=dev-util/intltool-0.40.1
445 - >=sys-devel/gettext-0.19
446 - doc? ( >=dev-util/gtk-doc-1 )
447 - >=sys-devel/libtool-2.2
448 - >=sys-devel/automake-1.11
449 - dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
450 -
451 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
452 -
453 -S="${WORKDIR}"/${P}-r1
454 -
455 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
456 -
457 -pkg_setup() {
458 - G2CONF="--enable-default-binary \
459 - --disable-silent-rules \
460 - $(use_with !aqua x) \
461 - $(use_with aalib aa) \
462 - $(use_with alsa) \
463 - $(use_enable altivec) \
464 - --without-webkit \
465 - $(use_with jpeg2k libjasper) \
466 - $(use_with postscript gs) \
467 - $(use_enable cpu_flags_x86_mmx mmx) \
468 - $(use_with mng libmng) \
469 - $(use_with openexr) \
470 - $(use_with pdf poppler) \
471 - $(use_enable python) \
472 - $(use_enable smp mp) \
473 - $(use_enable cpu_flags_x86_sse sse) \
474 - --with-librsvg \
475 - $(use_with udev gudev) \
476 - $(use_with wmf) \
477 - --with-xmc \
478 - $(use_with xpm libxpm) \
479 - $(use_enable vector-icons) \
480 - --without-xvfb-run"
481 -
482 - if use python; then
483 - python-single-r1_pkg_setup
484 - fi
485 -}
486 -
487 -src_prepare() {
488 - epatch "${FILESDIR}"/${PN}-2.9.2-no-deprecation.patch # bug 395695, comment 9 and 16
489 -
490 - # Bug 589394
491 - rm icons/Symbolic-Inverted/Makefile.in || die
492 - epatch "${FILESDIR}"/${PN}-2.9.4-mkdir-makefile.patch
493 -
494 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
495 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
496 -
497 - gnome2_src_prepare
498 -}
499 -
500 -src_configure() {
501 - gnome2_src_configure \
502 - GEGL=/usr/bin/gegl-0.3 \
503 - GDBUS_CODEGEN=/bin/false
504 -}
505 -
506 -src_compile() {
507 - # Bugs #569738 and #591214
508 - local nv
509 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
510 - # We do not check for existence as they may show up later
511 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
512 - addwrite "${nv}"
513 - done
514 - addwrite /dev/dri/ # bug #574038
515 - addwrite /dev/ati/ # bug 589198
516 - addwrite /proc/mtrr # bug 589198
517 -
518 - export XDG_DATA_DIRS=/usr/share # bug 587004
519 - gnome2_src_compile
520 -}
521 -
522 -_clean_up_locales() {
523 - einfo "Cleaning up locales..."
524 - for lang in ${LANGS}; do
525 - use "linguas_${lang}" && {
526 - einfo "- keeping ${lang}"
527 - continue
528 - }
529 - rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
530 - done
531 -}
532 -
533 -src_test() {
534 - Xemake check
535 -}
536 -
537 -src_install() {
538 - gnome2_src_install
539 -
540 - if use python; then
541 - python_optimize
542 - fi
543 -
544 - # Workaround for bug #321111 to give GIMP the least
545 - # precedence on PDF documents by default
546 - mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
547 -
548 - prune_libtool_files --all
549 -
550 - # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
551 - local gimp_app_version=$(get_version_component_range 1-2)
552 - mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
553 -
554 - _clean_up_locales
555 -}
556 -
557 -pkg_postinst() {
558 - gnome2_pkg_postinst
559 -}
560 -
561 -pkg_postrm() {
562 - gnome2_pkg_postrm
563 -}