Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-gfx/gimp/
Date: Wed, 02 May 2018 19:48:31
Message-Id: 1525290384.fa402bdf774532170f7c8fe0617a536a501cb9bb.sping@gentoo
1 commit: fa402bdf774532170f7c8fe0617a536a501cb9bb
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Wed May 2 19:29:07 2018 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed May 2 19:46:24 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=fa402bdf
7
8 media-gfx/gimp: Remove 2.10.0_rc1
9
10 media-gfx/gimp/gimp-2.10.0_rc1.ebuild | 187 ----------------------------------
11 1 file changed, 187 deletions(-)
12
13 diff --git a/media-gfx/gimp/gimp-2.10.0_rc1.ebuild b/media-gfx/gimp/gimp-2.10.0_rc1.ebuild
14 deleted file mode 100644
15 index 2465c6ce..00000000
16 --- a/media-gfx/gimp/gimp-2.10.0_rc1.ebuild
17 +++ /dev/null
18 @@ -1,187 +0,0 @@
19 -# Copyright 1999-2018 Gentoo Foundation
20 -# Distributed under the terms of the GNU General Public License v2
21 -
22 -EAPI=6
23 -PYTHON_COMPAT=( python2_7 )
24 -
25 -inherit versionator virtualx autotools gnome2 multilib python-single-r1
26 -
27 -MY_P="${P/_rc/-RC}"
28 -
29 -DESCRIPTION="GNU Image Manipulation Program"
30 -HOMEPAGE="https://www.gimp.org/"
31 -SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
32 -LICENSE="GPL-3 LGPL-3"
33 -SLOT="2"
34 -KEYWORDS="~amd64 ~x86"
35 -
36 -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"
37 -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"
38 -
39 -RDEPEND="
40 - app-arch/bzip2
41 - >=app-arch/xz-utils-5.0.0
42 - >=app-text/poppler-0.44.0[cairo]
43 - >=dev-libs/atk-2.2.0
44 - >=dev-libs/glib-2.54.2:2
45 - dev-libs/libxml2
46 - dev-libs/libxslt
47 - dev-util/gtk-update-icon-cache
48 - >=gnome-base/librsvg-2.40.6:2
49 - >=media-gfx/mypaint-brushes-1.3.0
50 - >=media-libs/babl-0.1.44
51 - >=media-libs/fontconfig-2.12.4
52 - >=media-libs/freetype-2.1.7
53 - >=media-libs/gegl-0.3.30:0.3[cairo]
54 - >=media-libs/gexiv2-0.10.6
55 - >=media-libs/harfbuzz-0.9.19
56 - >=media-libs/lcms-2.8:2
57 - >=media-libs/libmypaint-1.3.0[gegl]
58 - >=media-libs/libpng-1.6.25
59 - >=media-libs/tiff-3.5.7:0
60 - net-libs/glib-networking[ssl]
61 - sys-libs/zlib
62 - virtual/jpeg:0
63 - >=x11-libs/cairo-1.12.2
64 - >=x11-libs/gdk-pixbuf-2.31:2
65 - >=x11-libs/gtk+-2.24.10:2
66 - >=x11-libs/pango-1.29.4
67 - x11-libs/libXcursor
68 - x11-themes/hicolor-icon-theme
69 - aalib? ( media-libs/aalib )
70 - alsa? ( media-libs/alsa-lib )
71 - aqua? ( x11-libs/gtk-mac-integration )
72 - gnome? ( gnome-base/gvfs )
73 - jpeg2k? ( >=media-libs/openjpeg-2.1.0 )
74 - mng? ( media-libs/libmng )
75 - openexr? ( >=media-libs/openexr-1.6.1 )
76 - postscript? ( app-text/ghostscript-gpl )
77 - python? (
78 - ${PYTHON_DEPS}
79 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
80 - >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
81 - )
82 - webp? ( >=media-libs/libwebp-0.6.0 )
83 - wmf? ( >=media-libs/libwmf-0.2.8 )
84 - xpm? ( x11-libs/libXpm )
85 - udev? ( virtual/libgudev:= )
86 -"
87 -# dev-util/gtk-doc-am due to our call to eautoreconf below (bug #386453)
88 -DEPEND="${RDEPEND}
89 - >=app-text/poppler-data-0.4.7
90 - >=dev-lang/perl-5.10.0
91 - dev-libs/appstream-glib
92 - dev-util/gtk-doc-am
93 - >=dev-util/intltool-0.40.1
94 - sys-apps/findutils
95 - >=sys-devel/automake-1.11
96 - >=sys-devel/gettext-0.19
97 - >=sys-devel/libtool-2.2
98 - virtual/pkgconfig
99 - doc? ( >=dev-util/gtk-doc-1 )
100 -"
101 -
102 -DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
103 -
104 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
105 -
106 -S="${WORKDIR}/${MY_P}"
107 -
108 -pkg_setup() {
109 - if use python; then
110 - python-single-r1_pkg_setup
111 - fi
112 -}
113 -
114 -src_prepare() {
115 - default
116 -
117 - sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
118 - sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
119 - eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
120 -
121 - gnome2_src_prepare
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 -}
126 -
127 -src_configure() {
128 - local myconf=(
129 - GEGL="${EPREFIX}"/usr/bin/gegl-0.3
130 - GDBUS_CODEGEN="${EPREFIX}"/bin/false
131 -
132 - --enable-default-binary
133 - --disable-silent-rules
134 -
135 - $(use_with !aqua x)
136 - $(use_with aalib aa)
137 - $(use_with alsa)
138 - $(use_enable altivec)
139 - --with-appdata-test
140 - --without-webkit
141 - $(use_with jpeg2k jpeg2000)
142 - $(use_with postscript gs)
143 - $(use_enable cpu_flags_x86_mmx mmx)
144 - $(use_with mng libmng)
145 - $(use_with openexr)
146 - $(use_with webp)
147 - $(use_enable python)
148 - $(use_enable smp mp)
149 - $(use_enable cpu_flags_x86_sse sse)
150 - $(use_with udev gudev)
151 - $(use_with wmf)
152 - --with-xmc
153 - $(use_with xpm libxpm)
154 - $(use_enable vector-icons)
155 - --without-xvfb-run
156 - )
157 -
158 - gnome2_src_configure "${myconf[@]}"
159 -}
160 -
161 -src_compile() {
162 - # Bugs #569738 and #591214
163 - local nv
164 - for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
165 - # We do not check for existence as they may show up later
166 - # https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
167 - addwrite "${nv}"
168 - done
169 - addwrite /dev/dri/ # bug #574038
170 - addwrite /dev/ati/ # bug 589198
171 - addwrite /proc/mtrr # bug 589198
172 -
173 - export XDG_DATA_DIRS="${EPREFIX}/usr/share" # bug 587004
174 - gnome2_src_compile
175 -}
176 -
177 -src_test() {
178 - virtx emake 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 - find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
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 -
199 -pkg_postinst() {
200 - gnome2_pkg_postinst
201 -}
202 -
203 -pkg_postrm() {
204 - gnome2_pkg_postrm
205 -}