Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/gimp: ChangeLog gimp-2.4.6.ebuild
Date: Mon, 02 Jun 2008 13:28:27
Message-Id: E1K3A5F-0004nb-Uw@stork.gentoo.org
1 hanno 08/06/02 13:28:21
2
3 Modified: ChangeLog
4 Added: gimp-2.4.6.ebuild
5 Log:
6 gimp version bump
7 (Portage version: 2.1.5.3)
8
9 Revision Changes Path
10 1.255 media-gfx/gimp/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp/ChangeLog?rev=1.255&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp/ChangeLog?rev=1.255&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp/ChangeLog?r1=1.254&r2=1.255
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v
19 retrieving revision 1.254
20 retrieving revision 1.255
21 diff -u -r1.254 -r1.255
22 --- ChangeLog 18 May 2008 02:08:03 -0000 1.254
23 +++ ChangeLog 2 Jun 2008 13:28:21 -0000 1.255
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/gimp
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.254 2008/05/18 02:08:03 hanno Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.255 2008/06/02 13:28:21 hanno Exp $
29 +
30 +*gimp-2.4.6 (02 Jun 2008)
31 +
32 + 02 Jun 2008; Hanno Boeck <hanno@g.o> +gimp-2.4.6.ebuild:
33 + Version bump.
34
35 18 May 2008; Hanno Boeck <hanno@g.o> gimp-2.3.19.ebuild,
36 gimp-2.4.2.ebuild, gimp-2.4.5.ebuild, gimp-9999.ebuild:
37
38
39
40 1.1 media-gfx/gimp/gimp-2.4.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp/gimp-2.4.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gimp/gimp-2.4.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gimp-2.4.6.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.4.6.ebuild,v 1.1 2008/06/02 13:28:21 hanno Exp $
50
51 inherit fdo-mime flag-o-matic multilib python eutils autotools
52
53 DESCRIPTION="GNU Image Manipulation Program"
54 HOMEPAGE="http://www.gimp.org/"
55 SRC_URI="mirror://gimp/v2.4/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="2"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 -mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60
61 IUSE="alsa aalib altivec curl dbus debug doc exif gtkhtml gnome hal lcms mmx mng pdf png python smp sse svg tiff wmf"
62 # jpeg temporarily removed, disabling jpeg requires upstream fix which will come in 2.5
63
64 RDEPEND=">=dev-libs/glib-2.12.3
65 >=x11-libs/gtk+-2.10.13
66 >=x11-libs/pango-1.12.2
67 >=media-libs/freetype-2.1.7
68 >=media-libs/fontconfig-2.2.0
69 >=media-libs/libart_lgpl-2.3.8-r1
70 sys-libs/zlib
71 dev-libs/libxml2
72 dev-libs/libxslt
73 x11-misc/xdg-utils
74 x11-themes/hicolor-icon-theme
75 aalib? ( media-libs/aalib )
76 alsa? ( >=media-libs/alsa-lib-1.0.14a-r1 )
77 curl? ( net-misc/curl )
78 dbus? ( dev-libs/dbus-glib )
79 hal? ( sys-apps/hal )
80 gnome? ( >=gnome-base/gnome-vfs-2.10.0
81 >=gnome-base/libgnomeui-2.10.0
82 >=gnome-base/gnome-keyring-0.4.5 )
83 gtkhtml? ( =gnome-extra/gtkhtml-2* )
84 >=media-libs/jpeg-6b-r2
85 exif? ( >=media-libs/libexif-0.6.15 )
86 lcms? ( media-libs/lcms )
87 mng? ( media-libs/libmng )
88 pdf? ( >=app-text/poppler-bindings-0.3.1 )
89 png? ( >=media-libs/libpng-1.2.2 )
90 python? ( >=dev-lang/python-2.2.1
91 >=dev-python/pygtk-2.10.4 )
92 tiff? ( >=media-libs/tiff-3.5.7 )
93 svg? ( >=gnome-base/librsvg-2.8.0 )
94 wmf? ( >=media-libs/libwmf-0.2.8 )"
95 DEPEND="${RDEPEND}
96 >=dev-util/pkgconfig-0.12.0
97 >=dev-util/intltool-0.31
98 >=sys-devel/gettext-0.17
99 doc? ( >=dev-util/gtk-doc-1 )"
100
101 pkg_setup() {
102 if use pdf && ! built_with_use app-text/poppler-bindings gtk; then
103 eerror "This package requires app-text/poppler-bindings compiled with GTK+ support."
104 die "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
105 fi
106 if use alsa && ! built_with_use media-libs/alsa-lib midi; then
107 eerror "This package requires media-libs/alsa-lib compiled with midi support."
108 die "Please reemerge media-libs/alsa-lib with USE=\"midi\"."
109 fi
110 }
111
112 src_unpack() {
113 unpack ${A}
114 cd "${S}"
115 epatch "${FILESDIR}/gimp-web-browser.patch"
116
117 # Workaround for MIME-type, this is fixed in gimp trunk, so we can
118 # remove this with >= 2.5
119 use svg && epatch "${FILESDIR}/gimp-svg.diff"
120
121 eautoreconf
122 }
123
124 src_compile() {
125 # workaround portage variable leakage
126 local AA=
127
128 # gimp uses inline functions (e.g. plug-ins/common/grid.c) (#23078)
129 # gimp uses floating point math, needs accuracy (#98685)
130 filter-flags "-fno-inline" "-ffast-math"
131 # gimp assumes char is signed (fixes preview corruption)
132 if use ppc || use ppc64; then
133 append-flags "-fsigned-char"
134 fi
135
136 econf --enable-default-binary \
137 --with-x \
138 $(use_with aalib aa) \
139 $(use_with alsa) \
140 $(use_enable altivec) \
141 $(use_with curl) \
142 $(use_enable debug) \
143 $(use_enable doc gtk-doc) \
144 $(use_with dbus) \
145 $(use_with hal) \
146 $(use_with gnome gnomevfs) \
147 $(use_with gtkhtml gtkhtml2) \
148 --with-libjpeg \
149 $(use_with exif libexif) \
150 $(use_with lcms) \
151 $(use_enable mmx) \
152 $(use_with mng libmng) \
153 $(use_with pdf poppler) \
154 $(use_with png libpng) \
155 $(use_enable python) \
156 $(use_enable smp mp) \
157 $(use_enable sse) \
158 $(use_with svg librsvg) \
159 $(use_with tiff libtiff) \
160 $(use_with wmf) \
161 || die "econf failed"
162
163 emake || die "emake failed"
164 }
165
166 src_install() {
167 make DESTDIR="${D}" install || die "make install failed"
168
169 dodoc AUTHORS ChangeLog* HACKING NEWS README*
170 }
171
172 pkg_postinst() {
173 fdo-mime_desktop_database_update
174 fdo-mime_mime_database_update
175
176 elog
177 elog "If you want Postscript file support, emerge ghostscript."
178 elog
179
180 python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
181 /usr/$(get_libdir)/gimp/2.0/plug-ins
182 }
183
184 pkg_postrm() {
185 fdo-mime_desktop_database_update
186 fdo-mime_mime_database_update
187 python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
188 /usr/$(get_libdir)/gimp/2.0/plug-ins
189 }
190
191
192
193 --
194 gentoo-commits@l.g.o mailing list