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.6.12.ebuild
Date: Thu, 02 Feb 2012 00:59:27
Message-Id: 20120202005917.1B68020034@flycatcher.gentoo.org
1 sping 12/02/02 00:59:17
2
3 Modified: ChangeLog
4 Added: gimp-2.6.12.ebuild
5 Log:
6 media-gfx/gimp: 2.6.12
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.352 media-gfx/gimp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/ChangeLog?rev=1.352&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/ChangeLog?rev=1.352&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/ChangeLog?r1=1.351&r2=1.352
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v
20 retrieving revision 1.351
21 retrieving revision 1.352
22 diff -u -r1.351 -r1.352
23 --- ChangeLog 2 Jan 2012 18:49:04 -0000 1.351
24 +++ ChangeLog 2 Feb 2012 00:59:17 -0000 1.352
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/gimp
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.351 2012/01/02 18:49:04 sping Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.352 2012/02/02 00:59:17 sping Exp $
30 +
31 +*gimp-2.6.12 (02 Feb 2012)
32 +
33 + 02 Feb 2012; Sebastian Pipping <sping@g.o> +gimp-2.6.12.ebuild:
34 + Bump to 2.6.12, drop included patches
35
36 02 Jan 2012; Sebastian Pipping <sping@g.o> gimp-2.7.4.ebuild,
37 +files/gimp-2.7.4-no-deprecation.patch:
38
39
40
41 1.1 media-gfx/gimp/gimp-2.6.12.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/gimp-2.6.12.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gimp/gimp-2.6.12.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gimp-2.6.12.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.6.12.ebuild,v 1.1 2012/02/02 00:59:17 sping Exp $
51
52 EAPI="3"
53
54 PYTHON_DEPEND="python? 2:2.5"
55
56 inherit eutils gnome2 fdo-mime multilib python
57
58 DESCRIPTION="GNU Image Manipulation Program"
59 HOMEPAGE="http://www.gimp.org/"
60 SRC_URI="
61 http://dev.gentoo.org/~jlec/distfiles/${PN}-2.6.11-underlinking.patch.xz
62 mirror://gimp/v2.6/${P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="2"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
67
68 IUSE="alsa aalib altivec curl dbus debug doc exif gnome jpeg lcms mmx mng pdf png python smp sse svg tiff webkit wmf"
69
70 RDEPEND="
71 >=dev-libs/glib-2.18.1:2
72 dev-libs/libxml2
73 dev-libs/libxslt
74 >=media-libs/fontconfig-2.2.0
75 >=media-libs/freetype-2.1.7
76 >=media-libs/gegl-0.0.22
77 >=x11-libs/gtk+-2.12.5:2
78 x11-libs/libXpm
79 >=x11-libs/pango-1.18.0
80 sys-libs/zlib
81 x11-misc/xdg-utils
82 x11-themes/hicolor-icon-theme
83 aalib? ( media-libs/aalib )
84 alsa? ( media-libs/alsa-lib )
85 curl? ( net-misc/curl )
86 dbus? ( dev-libs/dbus-glib )
87 exif? ( >=media-libs/libexif-0.6.15 )
88 gnome? ( gnome-base/gvfs )
89 jpeg? ( virtual/jpeg:0 )
90 lcms? ( =media-libs/lcms-1* )
91 mng? ( media-libs/libmng )
92 pdf? ( >=app-text/poppler-0.12.3-r3[cairo] )
93 png? ( >=media-libs/libpng-1.2.2:0 )
94 python? ( >=dev-python/pygtk-2.10.4:2 )
95 svg? ( >=gnome-base/librsvg-2.8.0:2 )
96 tiff? ( >=media-libs/tiff-3.5.7:0 )
97 webkit? ( net-libs/webkit-gtk:2 )
98 wmf? ( >=media-libs/libwmf-0.2.8 )"
99 DEPEND="${RDEPEND}
100 >=dev-util/intltool-0.40
101 >=dev-util/pkgconfig-0.12.0
102 >=sys-devel/gettext-0.17
103 doc? ( >=dev-util/gtk-doc-1 )"
104
105 DOCS="AUTHORS ChangeLog* HACKING NEWS README*"
106
107 pkg_setup() {
108 G2CONF="--enable-default-binary \
109 --with-x \
110 $(use_with aalib aa) \
111 $(use_with alsa) \
112 $(use_enable altivec) \
113 $(use_with curl libcurl) \
114 $(use_with dbus) \
115 --without-hal \
116 $(use_with gnome gvfs) \
117 --without-gnomevfs \
118 $(use_with webkit) \
119 $(use_with jpeg libjpeg) \
120 $(use_with exif libexif) \
121 $(use_with lcms) \
122 $(use_enable mmx) \
123 $(use_with mng libmng) \
124 $(use_with pdf poppler) \
125 $(use_with png libpng) \
126 $(use_enable python) \
127 $(use_enable smp mp) \
128 $(use_enable sse) \
129 $(use_with svg librsvg) \
130 $(use_with tiff libtiff) \
131 $(use_with wmf)"
132
133 if use python; then
134 python_set_active_version 2
135 python_pkg_setup
136 fi
137 }
138
139 src_prepare() {
140 # don't use empty, removed header
141 # https://bugs.gentoo.org/show_bug.cgi?id=377075
142 epatch "${FILESDIR}"/gimp-curl-headers.diff
143
144 # apply file-uri patch by upstream
145 # https://bugs.gentoo.org/show_bug.cgi?id=372941
146 # https://bugzilla.gnome.org/show_bug.cgi?id=653980#c6
147 epatch "${FILESDIR}"/${PN}-2.6.11-file-uri.patch
148
149 echo '#!/bin/sh' > py-compile
150 gnome2_src_prepare
151 }
152
153 src_install() {
154 gnome2_src_install
155
156 if use python; then
157 python_convert_shebangs -r $(python_get_version) "${ED}"
158 python_need_rebuild
159 fi
160
161 # Workaround for bug #321111 to give GIMP the least
162 # precedence on PDF documents by default
163 mv "${D}"/usr/share/applications/{,zzz-}gimp.desktop || die
164 }
165
166 pkg_postinst() {
167 gnome2_pkg_postinst
168
169 use python && python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
170 /usr/$(get_libdir)/gimp/2.0/plug-ins
171 }
172
173 pkg_postrm() {
174 gnome2_pkg_postrm
175
176 use python && python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
177 /usr/$(get_libdir)/gimp/2.0/plug-ins
178 }