summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-03-03 15:00:26 +0000
committerHanno Boeck <hanno@gentoo.org>2008-03-03 15:00:26 +0000
commit349b9f8ddbbb94eb4ae4a772e8a8edd43e984f20 (patch)
treef53d8872c4eed64b067617200980c46da1d9e45d /media-gfx
parentVersion bump. Fixes some memory leaks and other bugs. (diff)
downloadhistorical-349b9f8ddbbb94eb4ae4a772e8a8edd43e984f20.tar.gz
historical-349b9f8ddbbb94eb4ae4a772e8a8edd43e984f20.tar.bz2
historical-349b9f8ddbbb94eb4ae4a772e8a8edd43e984f20.zip
gimp version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp/ChangeLog7
-rw-r--r--media-gfx/gimp/Manifest10
-rw-r--r--media-gfx/gimp/gimp-2.4.5.ebuild142
3 files changed, 154 insertions, 5 deletions
diff --git a/media-gfx/gimp/ChangeLog b/media-gfx/gimp/ChangeLog
index 64a4ff953cf9..eee79168ecf5 100644
--- a/media-gfx/gimp/ChangeLog
+++ b/media-gfx/gimp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/gimp
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.249 2008/02/04 21:48:19 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.250 2008/03/03 15:00:26 hanno Exp $
+
+*gimp-2.4.5 (03 Mar 2008)
+
+ 03 Mar 2008; Hanno Boeck <hanno@gentoo.org> +gimp-2.4.5.ebuild:
+ Version bump.
04 Feb 2008; Hanno Boeck <hanno@gentoo.org> +files/gimp-svg.diff:
Add forgotten patch.
diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest
index 93b667e10bba..14b9dc568f12 100644
--- a/media-gfx/gimp/Manifest
+++ b/media-gfx/gimp/Manifest
@@ -5,16 +5,18 @@ AUX gimp-svg.diff 1080 RMD160 ef80ab1b82622dc28d38a3a606dec40b36685a04 SHA1 636d
DIST gimp-2.3.19.tar.bz2 16803491 RMD160 3ea293372ef0656543912c0a63ab287fd9ae72ca SHA1 f04efda774e8ed57ded5058d37091f7a8d7b17b2 SHA256 f4e388b7b52db1e91e052dcd0aeab0844fcf83a14ccd24228bf033e7937007f0
DIST gimp-2.4.2.tar.bz2 17777846 RMD160 f9da1008c29746379eb728f27e9b0d452ba2318f SHA1 4913a411abde3fccae5350e00a9bd20742715367 SHA256 00393b2d2aa163a7791dc4456306bf903d920d345aeee162d0e2ce85cfae5fb1
DIST gimp-2.4.4.tar.bz2 17775071 RMD160 b497e8bdf986bf94673ac702ecf0289350fc14e0 SHA1 47c80470e15e3fa29e46652130e870e0c952789f SHA256 d059c7159bca6e90f2a8201f1efdbd1c5af52a876e7c6462a7829d4b1618d4d6
+DIST gimp-2.4.5.tar.bz2 17819962 RMD160 963a139e417354d898abd2499a5f31ecfc0da75b SHA1 70cf6af5700cf6db73fca898510873394eb95581 SHA256 dadf13c2e605245572f1bdb948969c3f3ef3d2b18a9ca1f64d6f9383ac48d5ae
EBUILD gimp-2.3.19.ebuild 3449 RMD160 a1931074784c38e52c2d9debbdb2141cb9b86597 SHA1 fe0fec80a6de241b2e52e1f5559cd096d966895c SHA256 5f679e7ccda242e000d0ea4c390ae82f75f8394cf35a8521c119647bcca5c7d2
EBUILD gimp-2.4.2.ebuild 3706 RMD160 cf265b6a9274af37bff76aa7048e20a1bbcbc946 SHA1 41ffb1ab555669664ba5cca84b4ae53d35ed1ce0 SHA256 cdbaa54bf2571d3ab60001866a4270a58c0fac37846135f3256bdc0f85a93a1b
EBUILD gimp-2.4.4.ebuild 4041 RMD160 d2691fb9a252414cbcb937098daa16b3c47dd37e SHA1 3638237b4c22aec7ccaa08fe4d7606eff4d4fbe8 SHA256 215556bc979c3e9b152bb0553c6e31d8ebf72cbdef1eb40ac9d5eb23dfed4abc
+EBUILD gimp-2.4.5.ebuild 4041 RMD160 81a642de28cba073289839421a485e2e76c4c7ee SHA1 7ffe258f176a44a9d4e549b10dc3301f8c2c45dd SHA256 dc645745dfff1ec7a7bb6d10fda79f44534a7d8a0107a0e8a45883afba662adf
EBUILD gimp-9999.ebuild 3786 RMD160 ede6db9fbc04791c7dd3ac7f38bdd86d9e296fc6 SHA1 488c776ec66885737fc8da4fcd34c7689badc968 SHA256 f859ede7919d34622459e7ac823bc4a515d137692dc07de3f37f04c0556f06ea
-MISC ChangeLog 33961 RMD160 bcea5f58d1e9c67f9664ee98146b349427fee2f4 SHA1 893d5b1709982e5eeac5c94689cd8081798fb1b6 SHA256 fabe33193e49221b832a042efbd5787cccc25a622b27e8ff15338090e3926d31
+MISC ChangeLog 34071 RMD160 13bd4ed661ab7d6cea8b390592ed659066b0a4a5 SHA1 5c04a887d0ec907c8a6ad883be95907f67ac955c SHA256 b1a80afbf5b17a33c41a64ad17b8a14278d616fe1de086883a5246123347305f
MISC metadata.xml 220 RMD160 a49072631c03f8ac3685b12169abeef3b34ad3d6 SHA1 9614887db749b0a3c17016da5b3ec0e42b908ad3 SHA256 c893488c84e6da8039f2b473982f03e934ec12f8fe2c1ace770f9e34969db081
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHzAYfr2QksT29OyARAqCUAJwI7Zxhy8LFG3LRN9l7aDdVFTrJfgCfYNLV
-ANjP6Sf8UM25gGcEtEa5cXY=
-=FcAJ
+iD8DBQFHzBKRr2QksT29OyARAlsFAJ92clDEdUqmrUy3RPd3CeLThZ+7swCcD9SK
+vvJrn0+Zq6bHN6Dt2ibIBjg=
+=Yz7k
-----END PGP SIGNATURE-----
diff --git a/media-gfx/gimp/gimp-2.4.5.ebuild b/media-gfx/gimp/gimp-2.4.5.ebuild
new file mode 100644
index 000000000000..99a5a69e7ad8
--- /dev/null
+++ b/media-gfx/gimp/gimp-2.4.5.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.4.5.ebuild,v 1.1 2008/03/03 15:00:26 hanno Exp $
+
+inherit fdo-mime flag-o-matic multilib python eutils autotools
+
+DESCRIPTION="GNU Image Manipulation Program"
+HOMEPAGE="http://www.gimp.org/"
+SRC_URI="mirror://gimp/v2.4/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 -mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+IUSE="alsa aalib altivec curl dbus debug doc exif gtkhtml gnome hal lcms mmx mng pdf png python smp sse svg tiff wmf"
+# jpeg temporarily removed, disabling jpeg requires upstream fix which will come in 2.5
+
+RDEPEND=">=dev-libs/glib-2.12.3
+ >=x11-libs/gtk+-2.10.13
+ >=x11-libs/pango-1.12.2
+ >=media-libs/freetype-2.1.7
+ >=media-libs/fontconfig-2.2.0
+ >=media-libs/libart_lgpl-2.3.8-r1
+ sys-libs/zlib
+ dev-libs/libxml2
+ dev-libs/libxslt
+ x11-themes/hicolor-icon-theme
+ aalib? ( media-libs/aalib )
+ alsa? ( >=media-libs/alsa-lib-1.0.14a-r1 )
+ curl? ( net-misc/curl )
+ dbus? ( dev-libs/dbus-glib )
+ hal? ( sys-apps/hal )
+ doc? ( app-doc/gimp-help )
+ gnome? ( >=gnome-base/gnome-vfs-2.10.0
+ >=gnome-base/libgnomeui-2.10.0
+ >=gnome-base/gnome-keyring-0.4.5 )
+ gtkhtml? ( =gnome-extra/gtkhtml-2* )
+ >=media-libs/jpeg-6b-r2
+ exif? ( >=media-libs/libexif-0.6.15 )
+ lcms? ( media-libs/lcms )
+ mng? ( media-libs/libmng )
+ pdf? ( >=app-text/poppler-bindings-0.3.1 )
+ png? ( >=media-libs/libpng-1.2.2 )
+ python? ( >=dev-lang/python-2.2.1
+ >=dev-python/pygtk-2.10.4 )
+ tiff? ( >=media-libs/tiff-3.5.7 )
+ svg? ( >=gnome-base/librsvg-2.8.0 )
+ wmf? ( >=media-libs/libwmf-0.2.8 )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0
+ >=dev-util/intltool-0.31
+ sys-devel/gettext
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+pkg_setup() {
+ if use pdf && ! built_with_use app-text/poppler-bindings gtk; then
+ eerror "This package requires app-text/poppler-bindings compiled with GTK+ support."
+ die "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
+ fi
+ if use alsa && ! built_with_use media-libs/alsa-lib midi; then
+ eerror "This package requires media-libs/alsa-lib compiled with midi support."
+ die "Please reemerge media-libs/alsa-lib with USE=\"midi\"."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Workaround for MIME-type, this is fixed in gimp trunk, so we can
+ # remove this with >= 2.5
+ use svg && epatch "${FILESDIR}/gimp-svg.diff"
+
+ eautoreconf
+}
+
+src_compile() {
+ # workaround portage variable leakage
+ local AA=
+
+ # gimp uses inline functions (e.g. plug-ins/common/grid.c) (#23078)
+ # gimp uses floating point math, needs accuracy (#98685)
+ filter-flags "-fno-inline" "-ffast-math"
+ # gimp assumes char is signed (fixes preview corruption)
+ if use ppc || use ppc64; then
+ append-flags "-fsigned-char"
+ fi
+
+ econf --enable-default-binary \
+ --with-x \
+ $(use_with aalib aa) \
+ $(use_with alsa) \
+ $(use_enable altivec) \
+ $(use_with curl) \
+ $(use_enable debug) \
+ $(use_enable doc gtk-doc) \
+ $(use_with dbus) \
+ $(use_with hal) \
+ $(use_with gnome) \
+ $(use_with gtkhtml gtkhtml2) \
+ --with-libjpeg \
+ $(use_with exif libexif) \
+ $(use_with lcms) \
+ $(use_enable mmx) \
+ $(use_with mng libmng) \
+ $(use_with pdf poppler) \
+ $(use_with png libpng) \
+ $(use_enable python) \
+ $(use_enable smp mp) \
+ $(use_enable sse) \
+ $(use_with svg librsvg) \
+ $(use_with tiff libtiff) \
+ $(use_with wmf) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog* HACKING NEWS README*
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+
+ elog
+ elog "If you want Postscript file support, emerge ghostscript."
+ elog
+
+ python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \
+ /usr/$(get_libdir)/gimp/2.0/plug-ins
+}