1 |
commit: 34a374a91cc5b8abd8d8e80dd9b38cc3bad58f4e |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 8 18:22:41 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 8 18:22:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a374a9 |
7 |
|
8 |
media-gfx/gimp: Sync 9999 with 2.10.2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/643416 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
media-gfx/gimp/gimp-9999.ebuild | 61 ++++++++++++++++++----------------------- |
14 |
1 file changed, 26 insertions(+), 35 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild |
17 |
index 2ac820e3f5b..c52ce69853a 100644 |
18 |
--- a/media-gfx/gimp/gimp-9999.ebuild |
19 |
+++ b/media-gfx/gimp/gimp-9999.ebuild |
20 |
@@ -3,8 +3,9 @@ |
21 |
|
22 |
EAPI=6 |
23 |
PYTHON_COMPAT=( python2_7 ) |
24 |
+GNOME2_EAUTORECONF=yes |
25 |
|
26 |
-inherit virtualx autotools eutils gnome2 multilib python-single-r1 git-r3 |
27 |
+inherit virtualx autotools gnome2 multilib python-single-r1 ltprune git-r3 |
28 |
|
29 |
DESCRIPTION="GNU Image Manipulation Program" |
30 |
HOMEPAGE="https://www.gimp.org/" |
31 |
@@ -15,9 +16,9 @@ SLOT="2" |
32 |
KEYWORDS="" |
33 |
|
34 |
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" |
35 |
-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 webp wmf xpm" |
36 |
+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" |
37 |
|
38 |
-RDEPEND=">=dev-libs/glib-2.40.0:2 |
39 |
+RDEPEND=">=dev-libs/glib-2.54.2:2 |
40 |
>=dev-libs/atk-2.2.0 |
41 |
>=x11-libs/gtk+-2.24.10:2 |
42 |
dev-util/gtk-update-icon-cache |
43 |
@@ -29,25 +30,27 @@ RDEPEND=">=dev-libs/glib-2.40.0:2 |
44 |
>=media-libs/harfbuzz-0.9.19 |
45 |
>=media-libs/gexiv2-0.10.6 |
46 |
>=media-libs/libmypaint-1.3.0[gegl] |
47 |
- >=media-libs/fontconfig-2.2.0 |
48 |
+ >=media-gfx/mypaint-brushes-1.3.0 |
49 |
+ >=media-libs/fontconfig-2.12.4 |
50 |
sys-libs/zlib |
51 |
dev-libs/libxml2 |
52 |
dev-libs/libxslt |
53 |
x11-themes/hicolor-icon-theme |
54 |
- >=media-libs/babl-0.1.30 |
55 |
- >=media-libs/gegl-0.3.20:0.3[cairo] |
56 |
+ >=media-libs/babl-0.1.50 |
57 |
+ >=media-libs/gegl-0.4.2:0.4[cairo] |
58 |
>=dev-libs/glib-2.43 |
59 |
aalib? ( media-libs/aalib ) |
60 |
alsa? ( media-libs/alsa-lib ) |
61 |
aqua? ( x11-libs/gtk-mac-integration ) |
62 |
gnome? ( gnome-base/gvfs ) |
63 |
virtual/jpeg:0 |
64 |
- jpeg2k? ( media-libs/jasper:= ) |
65 |
- >=media-libs/lcms-2.7:2 |
66 |
+ jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= ) |
67 |
+ >=media-libs/lcms-2.8:2 |
68 |
mng? ( media-libs/libmng ) |
69 |
openexr? ( >=media-libs/openexr-1.6.1 ) |
70 |
- pdf? ( >=app-text/poppler-0.44[cairo] >=app-text/poppler-data-0.4.7 ) |
71 |
- >=media-libs/libpng-1.6.25:0 |
72 |
+ >=app-text/poppler-0.44[cairo] |
73 |
+ >=app-text/poppler-data-0.4.7 |
74 |
+ >=media-libs/libpng-1.6.25:0= |
75 |
python? ( |
76 |
${PYTHON_DEPS} |
77 |
>=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}] |
78 |
@@ -65,8 +68,9 @@ RDEPEND=">=dev-libs/glib-2.40.0:2 |
79 |
postscript? ( app-text/ghostscript-gpl ) |
80 |
udev? ( virtual/libgudev:= )" |
81 |
DEPEND="${RDEPEND} |
82 |
- dev-util/gdbus-codegen |
83 |
+ >=dev-lang/perl-5.10.0 |
84 |
dev-libs/appstream-glib |
85 |
+ dev-util/gtk-update-icon-cache |
86 |
sys-apps/findutils |
87 |
virtual/pkgconfig |
88 |
>=dev-util/intltool-0.40.1 |
89 |
@@ -75,7 +79,7 @@ DEPEND="${RDEPEND} |
90 |
>=sys-devel/libtool-2.2 |
91 |
>=sys-devel/autoconf-2.54 |
92 |
>=sys-devel/automake-1.11 |
93 |
- dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453) |
94 |
+ dev-util/gtk-doc-am" |
95 |
|
96 |
DOCS="AUTHORS ChangeLog* HACKING NEWS README*" |
97 |
|
98 |
@@ -88,25 +92,10 @@ pkg_setup() { |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
- eapply_user |
103 |
- |
104 |
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864 |
105 |
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144 |
106 |
|
107 |
- echo '#!/bin/sh' > py-compile |
108 |
- chmod a+x py-compile || die |
109 |
- sed -i -e 's:\$srcdir/configure:#:g' autogen.sh |
110 |
- local myconf |
111 |
- if ! use doc; then |
112 |
- myconf="${myconf} --disable-gtk-doc" |
113 |
- fi |
114 |
- ./autogen.sh ${myconf} || die |
115 |
- |
116 |
- # Fix "libtoolize --force" of autogen.sh (bug #476626) |
117 |
- rm install-sh ltmain.sh || die |
118 |
- _elibtoolize --copy --install || die |
119 |
- |
120 |
- gnome2_src_prepare |
121 |
+ gnome2_src_prepare # calls eautoreconf |
122 |
|
123 |
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144 |
124 |
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test |
125 |
@@ -114,7 +103,8 @@ src_prepare() { |
126 |
|
127 |
src_configure() { |
128 |
local myconf=( |
129 |
- GEGL=/usr/bin/gegl-0.3 |
130 |
+ GEGL="${EPREFIX}"/usr/bin/gegl-0.4 |
131 |
+ GDBUS_CODEGEN="${EPREFIX}"/bin/false |
132 |
|
133 |
--enable-default-binary |
134 |
--disable-silent-rules |
135 |
@@ -124,14 +114,15 @@ src_configure() { |
136 |
$(use_with alsa) |
137 |
$(use_enable altivec) |
138 |
--with-appdata-test |
139 |
+ --with-bug-report-url=https://bugs.gentoo.org/ |
140 |
--without-webkit |
141 |
- $(use_with jpeg2k libjasper) |
142 |
+ $(use_with jpeg2k jpeg2000) |
143 |
$(use_with postscript gs) |
144 |
$(use_enable cpu_flags_x86_mmx mmx) |
145 |
$(use_with mng libmng) |
146 |
$(use_with openexr) |
147 |
$(use_with webp) |
148 |
- $(use_with pdf poppler) |
149 |
+ --without-libheif |
150 |
$(use_enable python) |
151 |
$(use_enable smp mp) |
152 |
$(use_enable cpu_flags_x86_sse sse) |
153 |
@@ -158,7 +149,7 @@ src_compile() { |
154 |
addwrite /dev/ati/ # bug 589198 |
155 |
addwrite /proc/mtrr # bug 589198 |
156 |
|
157 |
- export XDG_DATA_DIRS=/usr/share # bug 587004 |
158 |
+ export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004 |
159 |
gnome2_src_compile |
160 |
} |
161 |
|
162 |
@@ -170,7 +161,7 @@ _clean_up_locales() { |
163 |
einfo "- keeping ${lang}" |
164 |
continue |
165 |
} |
166 |
- rm -Rf "${ED}"/usr/share/locale/"${lang}" || die |
167 |
+ rm -Rf "${ED%/}"/usr/share/locale/"${lang}" |
168 |
done |
169 |
} |
170 |
|
171 |
@@ -187,12 +178,12 @@ src_install() { |
172 |
|
173 |
# Workaround for bug #321111 to give GIMP the least |
174 |
# precedence on PDF documents by default |
175 |
- mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die |
176 |
+ mv "${ED%/}"/usr/share/applications/{,zzz-}gimp.desktop || die |
177 |
|
178 |
prune_libtool_files --all |
179 |
|
180 |
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527) |
181 |
- mv "${ED}"/usr/share/man/man1/gimp-console{-*,}.1 || die |
182 |
+ mv "${ED%/}"/usr/share/man/man1/gimp-console{-*,}.1 || die |
183 |
|
184 |
_clean_up_locales |
185 |
} |