Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/gimp: ChangeLog gimp-2.8.8.ebuild
Date: Mon, 04 Nov 2013 16:27:45
Message-Id: 20131104162737.AC8C82004B@flycatcher.gentoo.org
1 sping 13/11/04 16:27:37
2
3 Modified: ChangeLog
4 Added: gimp-2.8.8.ebuild
5 Log:
6 media-gfx/gimp: 2.8.8
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
9
10 Revision Changes Path
11 1.417 media-gfx/gimp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/ChangeLog?rev=1.417&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/ChangeLog?rev=1.417&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/ChangeLog?r1=1.416&r2=1.417
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v
20 retrieving revision 1.416
21 retrieving revision 1.417
22 diff -u -r1.416 -r1.417
23 --- ChangeLog 25 Sep 2013 17:25:37 -0000 1.416
24 +++ ChangeLog 4 Nov 2013 16:27:37 -0000 1.417
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/gimp
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.416 2013/09/25 17:25:37 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.417 2013/11/04 16:27:37 sping Exp $
30 +
31 +*gimp-2.8.8 (04 Nov 2013)
32 +
33 + 04 Nov 2013; Sebastian Pipping <sping@g.o> +gimp-2.8.8.ebuild:
34 + Bump to 2.8.8
35
36 25 Sep 2013; Agostino Sarubbo <ago@g.o> gimp-2.8.6.ebuild:
37 Stable for ppc, wrt bug #481736
38
39
40
41 1.1 media-gfx/gimp/gimp-2.8.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/gimp-2.8.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/gimp-2.8.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gimp-2.8.8.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.8.8.ebuild,v 1.1 2013/11/04 16:27:37 sping Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="python? 2:2.5"
54
55 inherit versionator autotools eutils gnome2 fdo-mime multilib python
56
57 DESCRIPTION="GNU Image Manipulation Program"
58 HOMEPAGE="http://www.gimp.org/"
59 SRC_URI="mirror://gimp/v$(get_version_component_range 1-2)/${P}.tar.bz2"
60 LICENSE="GPL-3 LGPL-3"
61 SLOT="2"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
63
64 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"
65 IUSE="alsa aalib altivec aqua bzip2 curl dbus debug doc exif gnome postscript jpeg jpeg2k lcms mmx mng pdf png python smp sse svg tiff udev webkit wmf xpm"
66
67 for lang in ${LANGS}; do
68 IUSE+=" linguas_${lang}"
69 done
70
71 RDEPEND=">=dev-libs/glib-2.30.2:2
72 >=dev-libs/atk-2.2.0
73 >=x11-libs/gtk+-2.24.10:2
74 >=x11-libs/gdk-pixbuf-2.24.1:2
75 >=x11-libs/cairo-1.10.2
76 >=x11-libs/pango-1.29.4
77 xpm? ( x11-libs/libXpm )
78 >=media-libs/freetype-2.1.7
79 >=media-libs/fontconfig-2.2.0
80 sys-libs/zlib
81 dev-libs/libxml2
82 dev-libs/libxslt
83 x11-themes/hicolor-icon-theme
84 >=media-libs/babl-0.1.10
85 >=media-libs/gegl-0.2.0
86 aalib? ( media-libs/aalib )
87 alsa? ( media-libs/alsa-lib )
88 curl? ( net-misc/curl )
89 dbus? ( dev-libs/dbus-glib )
90 gnome? ( gnome-base/gvfs )
91 webkit? ( >=net-libs/webkit-gtk-1.6.1:2 )
92 jpeg? ( virtual/jpeg:0 )
93 jpeg2k? ( media-libs/jasper )
94 exif? ( >=media-libs/libexif-0.6.15 )
95 lcms? ( >=media-libs/lcms-1.16:0 )
96 mng? ( media-libs/libmng )
97 pdf? ( >=app-text/poppler-0.12.4[cairo] )
98 png? ( >=media-libs/libpng-1.2.37:0 )
99 python? ( >=dev-python/pygtk-2.10.4:2 )
100 tiff? ( >=media-libs/tiff-3.5.7:0 )
101 svg? ( >=gnome-base/librsvg-2.36.0:2 )
102 wmf? ( >=media-libs/libwmf-0.2.8 )
103 x11-libs/libXcursor
104 sys-libs/zlib
105 bzip2? ( app-arch/bzip2 )
106 postscript? ( app-text/ghostscript-gpl )
107 udev? ( virtual/udev[gudev] )"
108 DEPEND="${RDEPEND}
109 sys-apps/findutils
110 virtual/pkgconfig
111 >=dev-util/intltool-0.40.1
112 >=sys-devel/gettext-0.17
113 doc? ( >=dev-util/gtk-doc-1 )
114 >=sys-devel/libtool-2.2
115 >=sys-devel/automake-1.11
116 dev-util/gtk-doc-am" # due to our call to eautoreconf below (bug #386453)
117
118 DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
119
120 S="${WORKDIR}"/${P}
121
122 pkg_setup() {
123 G2CONF="--enable-default-binary \
124 --disable-silent-rules \
125 $(use_with !aqua x) \
126 $(use_with aalib aa) \
127 $(use_with alsa) \
128 $(use_enable altivec) \
129 $(use_with bzip2) \
130 $(use_with curl libcurl) \
131 $(use_with dbus) \
132 $(use_with gnome gvfs) \
133 $(use_with webkit) \
134 $(use_with jpeg libjpeg) \
135 $(use_with jpeg2k libjasper) \
136 $(use_with exif libexif) \
137 $(use_with lcms lcms lcms1) \
138 $(use_with postscript gs) \
139 $(use_enable mmx) \
140 $(use_with mng libmng) \
141 $(use_with pdf poppler) \
142 $(use_with png libpng) \
143 $(use_enable python) \
144 $(use_enable smp mp) \
145 $(use_enable sse) \
146 $(use_with svg librsvg) \
147 $(use_with tiff libtiff) \
148 $(use_with udev gudev) \
149 $(use_with wmf) \
150 --with-xmc \
151 $(use_with xpm libxpm) \
152 --without-xvfb-run"
153
154 if use python; then
155 python_set_active_version 2
156 python_pkg_setup
157 fi
158 }
159
160 src_prepare() {
161 epatch "${FILESDIR}"/${PN}-2.7.4-no-deprecation.patch # bug 395695, comment 9 and 16
162 eautoreconf # If you remove this: remove dev-util/gtk-doc-am from DEPEND, too
163
164 echo '#!/bin/sh' > py-compile
165 gnome2_src_prepare
166 }
167
168 _clean_up_locales() {
169 einfo "Cleaning up locales..."
170 for lang in ${LANGS}; do
171 use "linguas_${lang}" && {
172 einfo "- keeping ${lang}"
173 continue
174 }
175 rm -Rf "${ED}"/usr/share/locale/"${lang}" || die
176 done
177 }
178
179 src_install() {
180 gnome2_src_install
181
182 if use python; then
183 python_convert_shebangs -r $(python_get_version) "${ED}"
184 python_need_rebuild
185 fi
186
187 # Workaround for bug #321111 to give GIMP the least
188 # precedence on PDF documents by default
189 mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
190
191 find "${ED}" -name '*.la' -delete || die
192
193 # Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
194 local gimp_app_version=$(get_version_component_range 1-2)
195 mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
196
197 _clean_up_locales
198 }
199
200 pkg_postinst() {
201 gnome2_pkg_postinst
202
203 use python && python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
204 /usr/$(get_libdir)/gimp/2.0/plug-ins
205 }
206
207 pkg_postrm() {
208 gnome2_pkg_postrm
209
210 use python && python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
211 /usr/$(get_libdir)/gimp/2.0/plug-ins
212 }