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