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