summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2007-01-28 11:50:58 +0000
committerHanno Böck <hanno@gentoo.org>2007-01-28 11:50:58 +0000
commit939ede8cc8c3c188b584814406c77b34957d9661 (patch)
tree80626e22cee585839ea601eee35f919a54e469e0 /media-gfx
parentRemove vulnerable version, see bug #164225. (diff)
downloadgentoo-2-939ede8cc8c3c188b584814406c77b34957d9661.tar.gz
gentoo-2-939ede8cc8c3c188b584814406c77b34957d9661.tar.bz2
gentoo-2-939ede8cc8c3c188b584814406c77b34957d9661.zip
remove old gimp ebuilds
(Portage version: 2.1.2-r4)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp/files/digest-gimp-2.2.11-r16
-rw-r--r--media-gfx/gimp/files/digest-gimp-2.3.103
-rw-r--r--media-gfx/gimp/files/digest-gimp-2.3.113
-rw-r--r--media-gfx/gimp/files/digest-gimp-2.3.123
-rw-r--r--media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch20
-rw-r--r--media-gfx/gimp/gimp-2.2.11-r1.ebuild188
-rw-r--r--media-gfx/gimp/gimp-2.3.10.ebuild119
-rw-r--r--media-gfx/gimp/gimp-2.3.11.ebuild119
-rw-r--r--media-gfx/gimp/gimp-2.3.12.ebuild111
-rw-r--r--media-gfx/gimp/gimp-9999.ebuild4
10 files changed, 2 insertions, 574 deletions
diff --git a/media-gfx/gimp/files/digest-gimp-2.2.11-r1 b/media-gfx/gimp/files/digest-gimp-2.2.11-r1
deleted file mode 100644
index 04c1c784b259..000000000000
--- a/media-gfx/gimp/files/digest-gimp-2.2.11-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 0403e9b4e0415c99cd27b137b9839212 gimp-2.2.11.tar.bz2 12854751
-RMD160 0304a859d53e4e6b7520b5e8634e64e07911eeba gimp-2.2.11.tar.bz2 12854751
-SHA256 169441ac8dd59d0dda52e4a93622e9824e74bf79b56aab6908c74ffd0418a2d4 gimp-2.2.11.tar.bz2 12854751
-MD5 22a1e10c314c5547fe8721c4f6f0b30a gimp-help-2-0.10.tar.gz 41802089
-RMD160 8bf675b1973077f810382d90f36e8c4057e22aea gimp-help-2-0.10.tar.gz 41802089
-SHA256 cd1cd381435823809264e10ede6d597ec46d443c5bcd7b803da4190ba505454f gimp-help-2-0.10.tar.gz 41802089
diff --git a/media-gfx/gimp/files/digest-gimp-2.3.10 b/media-gfx/gimp/files/digest-gimp-2.3.10
deleted file mode 100644
index 241d121982d7..000000000000
--- a/media-gfx/gimp/files/digest-gimp-2.3.10
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a46acb413484300583ffca1fa54e0874 gimp-2.3.10.tar.bz2 15049343
-RMD160 3638979e994c54ac78d812f789b249a2b2cb612c gimp-2.3.10.tar.bz2 15049343
-SHA256 38ddc0ebc452968db653efce31864d61bc4a5e521a9694a8b9b8f4fe49a2d131 gimp-2.3.10.tar.bz2 15049343
diff --git a/media-gfx/gimp/files/digest-gimp-2.3.11 b/media-gfx/gimp/files/digest-gimp-2.3.11
deleted file mode 100644
index e1fe33740b87..000000000000
--- a/media-gfx/gimp/files/digest-gimp-2.3.11
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b401920ae892195cda297fc2a70c3680 gimp-2.3.11.tar.bz2 15114433
-RMD160 d7432bb02dca0d073cc51e4785887872b622a5b0 gimp-2.3.11.tar.bz2 15114433
-SHA256 32df3ab477c28250afe8bfa344b043af1e9580a84b7d44a1917c84de158a78ab gimp-2.3.11.tar.bz2 15114433
diff --git a/media-gfx/gimp/files/digest-gimp-2.3.12 b/media-gfx/gimp/files/digest-gimp-2.3.12
deleted file mode 100644
index a8f248b55a89..000000000000
--- a/media-gfx/gimp/files/digest-gimp-2.3.12
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b66a3c39bd6355e85ac4ea54f3912612 gimp-2.3.12.tar.bz2 15461784
-RMD160 3d011ef04d4b5953ac63843c1e73b1e2e6a7c843 gimp-2.3.12.tar.bz2 15461784
-SHA256 716c18ad0218c79ab1f499d07da7ef6ae20997815a0535dde9ad11559c0ce997 gimp-2.3.12.tar.bz2 15461784
diff --git a/media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch b/media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch
deleted file mode 100644
index 92fddcf1b8fe..000000000000
--- a/media-gfx/gimp/files/gimp-2.2.11-libpng-1.2.10.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- plug-ins/common/png.c.orig 2006-06-15 19:45:07.000000000 +0200
-+++ plug-ins/common/png.c 2006-06-15 19:45:51.000000000 +0200
-@@ -1012,7 +1012,7 @@
- * Done with the file...
- */
-
-- png_read_destroy (pp, info, NULL);
-+ png_destroy_read_struct(&pp, &info, NULL);
-
- g_free (pixel);
- g_free (pixels);
-@@ -1441,7 +1441,7 @@
- };
-
- png_write_end (pp, info);
-- png_write_destroy (pp);
-+ png_destroy_write_struct(&pp, &info);
-
- g_free (pixel);
- g_free (pixels);
diff --git a/media-gfx/gimp/gimp-2.2.11-r1.ebuild b/media-gfx/gimp/gimp-2.2.11-r1.ebuild
deleted file mode 100644
index d23b5399cc26..000000000000
--- a/media-gfx/gimp/gimp-2.2.11-r1.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.2.11-r1.ebuild,v 1.10 2006/08/22 14:15:13 geoman Exp $
-
-inherit flag-o-matic libtool eutils fdo-mime alternatives
-
-DESCRIPTION="GNU Image Manipulation Program"
-HOMEPAGE="http://www.gimp.org/"
-
-P_HELP="gimp-help-2-0.10"
-S_HELP="$WORKDIR/${P_HELP}"
-SRC_URI="mirror://gimp/v2.2/${P}.tar.bz2
- doc? ( mirror://gimp/help/${P_HELP}.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha amd64 ~hppa ia64 mips ppc ppc64 sparc x86"
-IUSE="aalib altivec debug doc gtkhtml gimpprint hardened jpeg lcms mmx mng png
-python smp sse svg tiff wmf"
-
-# X? ( virtual/x11 )"
-RDEPEND=">=dev-libs/glib-2.4.5
- >=x11-libs/gtk+-2.4.4
- >=x11-libs/pango-1.4
- >=media-libs/freetype-2.1.7
- >=media-libs/fontconfig-2.2
- >=media-libs/libart_lgpl-2.3.8-r1
- sys-libs/zlib
- dev-libs/libxml2
- dev-libs/libxslt
-
- gimpprint? ( =media-gfx/gimp-print-4.2* )
- gtkhtml? ( =gnome-extra/gtkhtml-2* )
-
- png? ( >=media-libs/libpng-1.2.10 )
- jpeg? ( >=media-libs/jpeg-6b-r2
- media-libs/libexif )
- tiff? ( >=media-libs/tiff-3.5.7 )
- mng? ( media-libs/libmng )
-
- wmf? ( >=media-libs/libwmf-0.2.8.2 )
- svg? ( >=gnome-base/librsvg-2.2 )
-
- aalib? ( media-libs/aalib )
- python? ( >=dev-lang/python-2.2
- >=dev-python/pygtk-2 )
- lcms? ( media-libs/lcms )
- doc? ( !app-doc/gimp-help )"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.12.0
- dev-util/intltool
- doc? ( >=dev-util/gtk-doc-1 )"
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
-
- # fixes bug #76050, allows for themable icons
- sed -i -e s,@gimpdatadir@/images/@GIMP_DESKTOP_ICON@,@GIMP_DESKTOP_ICON@, ${S}/data/misc/gimp.desktop.in.in
-
- # Fix linking to older version of gimp if installed - this should
- # void liquidx's hack, so it is removed.
- epatch "${FILESDIR}/ltmain_sh-1.5.0-fix-relink.patch"
-
- # fix for change in libpng's API (bug #136661)
- epatch "${FILESDIR}/${P}-libpng-1.2.10.patch"
-}
-
-src_compile() {
-
- # Since 1.3.16, fixes linker problems when upgrading
- elibtoolize
-
- # Workaround portage variable leakage
- local AA=
-
- # only use mmx if hardened is not set
- local USE_MMX=
-
- # remove this for now, since I have 3 reports that this is
- # not necessary
- # replace-flags "-march=k6*" "-march=i586"
-
- # gimp uses inline functions (plug-ins/common/grid.c) (#23078)
- # gimp uses floating point math, needs accuracy (#98685)
- filter-flags "-fno-inline" "-ffast-math"
-
- # this is fixed in HEAD, but apply when using mmx
- if use mmx; then
- append-flags "-fomit-frame-pointer"
- fi
-
- if use hardened; then
- ewarn "hardened use flag suppressing mmx use flag"
- HARDENED_SUPPRESS_MMX="--disable-mmx"
- elif use x86; then
- HARDENED_SUPPRESS_MMX="`use_enable mmx`"
- elif use amd64; then
- HARDENED_SUPPRESS_MMX="--enable-mmx"
- fi
-
- local myconf
-
- # Hard enable SIMD assembler code for AMD64.
- if use x86; then
- myconf="${myconf} `use_enable sse`"
- elif use amd64; then
- myconf="${myconf} --enable-sse"
- fi
-
- econf \
- --disable-default-binary \
- --with-x \
- "${HARDENED_SUPPRESS_MMX}" \
- ${myconf} \
- `use_enable altivec` \
- `use_enable doc gtk-doc` \
- `use_enable python` \
- `use_enable gimpprint print` \
- `use_with png libpng` \
- `use_with jpeg libjpeg` \
- `use_with jpeg libexif` \
- `use_enable smp mp` \
- `use_with tiff libtiff` \
- `use_with mng libmng` \
- `use_with aalib aa` \
- `use_with lcms` \
- `use_with gtkhtml gtkhtml2` \
- `use_with svg librsvg` \
- `use_enable debug` || die
-
- # X isn't optional (#58003) atm
- # `use_with X x` \
-
- emake || die
-
- if use doc; then
- cd ${S_HELP}
- econf --without-gimp || die
- # not parallel make safe (#137025)
- emake -j1 || die
- fi
-}
-
-src_install() {
- # Workaround portage variable leakage
- local AA=
-
- # create these dirs to make the makefile installs these items correctly
- dodir /usr/share/{applications,application-registry,mime-info}
-
- make DESTDIR="${D}" install || die
-
- dodoc AUTHORS ChangeLog* HACKING NEWS README*
-
- if use doc; then
- cd ${S_HELP}
- make DESTDIR="${D}" install || die
- fi
-
- # Create the gimp-remote link, see bug #36648
- dosym gimp-remote-2.2 /usr/bin/gimp-remote
-}
-
-pkg_postinst() {
- alternatives_auto_makesym "/usr/bin/gimp" "/usr/bin/gimp-[0-9].[0-9]"
-
- # fix for bug #76050
- ln -s $(gimptool-2.0 --gimpdatadir)/images/wilber-icon.png \
- ${ROOT}/usr/share/pixmaps/
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- einfo ""
- einfo "If you want Postscript file support, emerge ghostscript."
- einfo ""
-}
-
-pkg_postrm() {
- [[ ! -f ${ROOT}/usr/bin/gimp-2.2 ]] && \
- rm -f ${ROOT}/usr/share/pixmaps/wilber-icon.png
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
diff --git a/media-gfx/gimp/gimp-2.3.10.ebuild b/media-gfx/gimp/gimp-2.3.10.ebuild
deleted file mode 100644
index 2517e1650028..000000000000
--- a/media-gfx/gimp/gimp-2.3.10.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.10.ebuild,v 1.3 2006/09/04 03:55:59 kumba Exp $
-
-inherit alternatives eutils fdo-mime flag-o-matic
-
-DESCRIPTION="GNU Image Manipulation Program"
-HOMEPAGE="http://www.gimp.org/"
-SRC_URI="mirror://gimp/v2.3/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="alsa aalib altivec debug doc gtkhtml gnome jpeg lcms mmx mng pdf png python smp sse svg tiff wmf"
-
-RDEPEND=">=dev-libs/glib-2.8.2
- >=x11-libs/gtk+-2.8.8
- >=x11-libs/pango-1.10
- >=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.0 )
- 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* )
- jpeg? ( >=media-libs/jpeg-6b-r2
- >=media-libs/libexif-0.6.0 )
- 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 )
- tiff? ( >=media-libs/tiff-3.5.7 )
- svg? ( >=gnome-base/librsvg-2.2.8 )
- wmf? ( >=media-libs/libwmf-0.2.8 )"
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.12.0
- >=dev-util/intltool-0.31
- doc? ( >=dev-util/gtk-doc-1 )"
-
-pkg_setup() {
- if use pdf && ! built_with_use app-text/poppler-bindings gtk; then
- eerror
- eerror "This package requires app-text/poppler-bindings compiled with GTK+ support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
- eerror
- die "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
- fi
-}
-
-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"
-
- econf \
- --disable-default-binary \
- --with-x \
- $(use_with aalib aa) \
- $(use_with alsa) \
- $(use_enable altivec) \
- $(use_enable debug) \
- $(use_enable doc gtk-doc) \
- $(use_with gtkhtml gtkhtml2) \
- $(use_with jpeg libjpeg) \
- $(use_with jpeg 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) \
- || 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() {
- local binary
-
- # install symlinks for everything but gimptool (#136012)
- for binary in gimp gimp-console gimp-remote; do
- alternatives_auto_makesym "/usr/bin/${binary}" "/usr/bin/${binary}-[0-9].[0-9]"
- done
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- einfo
- einfo "If you want Postscript file support, emerge ghostscript."
- einfo
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
diff --git a/media-gfx/gimp/gimp-2.3.11.ebuild b/media-gfx/gimp/gimp-2.3.11.ebuild
deleted file mode 100644
index 9d6464f56377..000000000000
--- a/media-gfx/gimp/gimp-2.3.11.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.11.ebuild,v 1.1 2006/09/12 00:41:44 hanno Exp $
-
-inherit alternatives eutils fdo-mime flag-o-matic
-
-DESCRIPTION="GNU Image Manipulation Program"
-HOMEPAGE="http://www.gimp.org/"
-SRC_URI="mirror://gimp/v2.3/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="alsa aalib altivec debug doc gtkhtml gnome jpeg lcms mmx mng pdf png python smp sse svg tiff wmf"
-
-RDEPEND=">=dev-libs/glib-2.8.2
- >=x11-libs/gtk+-2.8.8
- >=x11-libs/pango-1.10
- >=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.0 )
- 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* )
- jpeg? ( >=media-libs/jpeg-6b-r2
- >=media-libs/libexif-0.6.0 )
- 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 )
- tiff? ( >=media-libs/tiff-3.5.7 )
- svg? ( >=gnome-base/librsvg-2.2.8 )
- wmf? ( >=media-libs/libwmf-0.2.8 )"
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.12.0
- >=dev-util/intltool-0.31
- doc? ( >=dev-util/gtk-doc-1 )"
-
-pkg_setup() {
- if use pdf && ! built_with_use app-text/poppler-bindings gtk; then
- eerror
- eerror "This package requires app-text/poppler-bindings compiled with GTK+ support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
- eerror
- die "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
- fi
-}
-
-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"
-
- econf \
- --disable-default-binary \
- --with-x \
- $(use_with aalib aa) \
- $(use_with alsa) \
- $(use_enable altivec) \
- $(use_enable debug) \
- $(use_enable doc gtk-doc) \
- $(use_with gtkhtml gtkhtml2) \
- $(use_with jpeg libjpeg) \
- $(use_with jpeg 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) \
- || 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() {
- local binary
-
- # install symlinks for everything but gimptool (#136012)
- for binary in gimp gimp-console gimp-remote; do
- alternatives_auto_makesym "/usr/bin/${binary}" "/usr/bin/${binary}-[0-9].[0-9]"
- done
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- einfo
- einfo "If you want Postscript file support, emerge ghostscript."
- einfo
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
diff --git a/media-gfx/gimp/gimp-2.3.12.ebuild b/media-gfx/gimp/gimp-2.3.12.ebuild
deleted file mode 100644
index 7f56f5147f56..000000000000
--- a/media-gfx/gimp/gimp-2.3.12.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.3.12.ebuild,v 1.3 2006/10/28 21:57:32 hanno Exp $
-
-inherit fdo-mime flag-o-matic
-
-DESCRIPTION="GNU Image Manipulation Program"
-HOMEPAGE="http://www.gimp.org/"
-SRC_URI="mirror://gimp/v2.3/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="alsa aalib altivec debug doc gtkhtml gnome jpeg lcms mmx mng pdf png python smp sse svg tiff wmf"
-
-RDEPEND=">=dev-libs/glib-2.8.2
- >=x11-libs/gtk+-2.8.20-r1
- >=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.0 )
- 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* )
- jpeg? ( >=media-libs/jpeg-6b-r2
- >=media-libs/libexif-0.6.0 )
- 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 )
- tiff? ( >=media-libs/tiff-3.5.7 )
- svg? ( >=gnome-base/librsvg-2.2.8 )
- wmf? ( >=media-libs/libwmf-0.2.8 )"
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.12.0
- >=dev-util/intltool-0.31
- doc? ( >=dev-util/gtk-doc-1 )"
-
-pkg_setup() {
- if use pdf && ! built_with_use app-text/poppler-bindings gtk; then
- eerror
- eerror "This package requires app-text/poppler-bindings compiled with GTK+ support."
- eerror "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
- eerror
- die "Please reemerge app-text/poppler-bindings with USE=\"gtk\"."
- fi
-}
-
-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"
-
- econf --enable-default-binary \
- --with-x \
- $(use_with aalib aa) \
- $(use_with alsa) \
- $(use_enable altivec) \
- $(use_enable debug) \
- $(use_enable doc gtk-doc) \
- $(use_with gtkhtml gtkhtml2) \
- $(use_with jpeg libjpeg) \
- $(use_with jpeg 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) \
- || 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
-
- einfo
- einfo "If you want Postscript file support, emerge ghostscript."
- einfo
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild
index c2867ab77344..e72f550d8a26 100644
--- a/media-gfx/gimp/gimp-9999.ebuild
+++ b/media-gfx/gimp/gimp-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.6 2006/07/09 17:00:52 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.7 2007/01/28 11:50:58 hanno Exp $
inherit alternatives cvs eutils fdo-mime flag-o-matic