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