diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-08-11 18:04:04 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2004-08-11 18:04:04 +0000 |
commit | 2b959a9b14bfc1bcf947b0c83cbe54f1025ee64c (patch) | |
tree | 8fb159b6b4802ec047b5e051666c449c78148762 /media-gfx/gimp | |
parent | Version bump, add net-p2p to metadata.xml, clean old ebuild, mark -r2 stable ... (diff) | |
download | gentoo-2-2b959a9b14bfc1bcf947b0c83cbe54f1025ee64c.tar.gz gentoo-2-2b959a9b14bfc1bcf947b0c83cbe54f1025ee64c.tar.bz2 gentoo-2-2b959a9b14bfc1bcf947b0c83cbe54f1025ee64c.zip |
new ebuild, foser don't kill me
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r-- | media-gfx/gimp/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/gimp/Manifest | 15 | ||||
-rw-r--r-- | media-gfx/gimp/files/digest-gimp-2.0.4 | 2 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.0.4.ebuild | 120 |
4 files changed, 136 insertions, 8 deletions
diff --git a/media-gfx/gimp/ChangeLog b/media-gfx/gimp/ChangeLog index cc888ba29289..40c4bc443ec9 100644 --- a/media-gfx/gimp/ChangeLog +++ b/media-gfx/gimp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/gimp # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.87 2004/07/30 03:48:52 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.88 2004/08/11 18:04:04 lu_zero Exp $ + +*gimp-2.0.4 (11 Aug 2004) + + 11 Aug 2004; Luca Barbato <lu_zero@gentoo.org> +gimp-2.0.4.ebuild: + New ebuild, added gimp-help 29 Jul 2004; Tom Gall <tgall@gentoo.org> gimp-2.0.2.ebuild: stable on ppc64, bug #57015 diff --git a/media-gfx/gimp/Manifest b/media-gfx/gimp/Manifest index 2b813726be91..1cefd1aa0d69 100644 --- a/media-gfx/gimp/Manifest +++ b/media-gfx/gimp/Manifest @@ -1,12 +1,13 @@ -MD5 5eb586e26fd54f2b3c278e6b869e872a ChangeLog 13204 -MD5 e7cbfba89facb9cca1a3117df924f41b gimp-1.2.5.ebuild 3206 -MD5 2951e3093e294629908f060f0d55a381 gimp-2.0.0.ebuild 2655 +MD5 66e58aa3432dd26c18a3b961985cd274 ChangeLog 13331 MD5 d7a9ef0b998d360ae6254fc0508e2f7d gimp-2.0.2.ebuild 2570 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 +MD5 38ebc8d5a13f12fb1930a8002b790949 gimp-2.0.4.ebuild 2880 +MD5 2951e3093e294629908f060f0d55a381 gimp-2.0.0.ebuild 2655 +MD5 e7cbfba89facb9cca1a3117df924f41b gimp-1.2.5.ebuild 3206 +MD5 12ff6c7c980ee34dc7d4d94aa40059b0 files/ltmain_sh-1.5.0-fix-relink.patch 1718 +MD5 0d3108f9120d6976ce4ccb29a131aea7 files/digest-gimp-2.0.4 133 MD5 662e7b51f4c882429b73dea3263b39de files/digest-gimp-1.2.5 65 -MD5 568ba885fc51613466e3b0039e21946c files/digest-gimp-2.0.0 65 MD5 1f2afa6b0785b0547e956d5aff63cf4d files/digest-gimp-2.0.2 65 -MD5 be326cb198ec1f1f6c21a5a5a1460415 files/gimp-2.0.0-gcc34.patch 1148 +MD5 568ba885fc51613466e3b0039e21946c files/digest-gimp-2.0.0 65 MD5 9696bde4a1b70dd2816d46bed477ebc0 files/gimp.desktop 2404 -MD5 12ff6c7c980ee34dc7d4d94aa40059b0 files/ltmain_sh-1.5.0-fix-relink.patch 1718 -MD5 f2b58299eceabecfe5df955198c267d6 files/psd_save.c 49151 +MD5 be326cb198ec1f1f6c21a5a5a1460415 files/gimp-2.0.0-gcc34.patch 1148 diff --git a/media-gfx/gimp/files/digest-gimp-2.0.4 b/media-gfx/gimp/files/digest-gimp-2.0.4 new file mode 100644 index 000000000000..8989ad8b82e4 --- /dev/null +++ b/media-gfx/gimp/files/digest-gimp-2.0.4 @@ -0,0 +1,2 @@ +MD5 731198e0f46cca833243c43197681c66 gimp-2.0.4.tar.bz2 13845175 +MD5 41adc4749ba78171135063436325ff23 gimp-help-2-0.4.tar.gz 9399232 diff --git a/media-gfx/gimp/gimp-2.0.4.ebuild b/media-gfx/gimp/gimp-2.0.4.ebuild new file mode 100644 index 000000000000..c095f66e2e43 --- /dev/null +++ b/media-gfx/gimp/gimp-2.0.4.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.0.4.ebuild,v 1.1 2004/08/11 18:04:04 lu_zero Exp $ + +inherit flag-o-matic libtool eutils +IUSE="X aalib altivec debug doc gimpprint gtkhtml jpeg mmx mng png python sse svg tiff wmf" +DESCRIPTION="GNU Image Manipulation Program" +P_HELP="gimp-help-${PV/\./-}" +S_HELP="$WORKDIR/${P_HELP}" +SRC_URI="mirror://gimp/v2.0/${P}.tar.bz2 + doc? ( mirror://gimp/help/testing/${P_HELP}.tar.gz )" +HOMEPAGE="http://www.gimp.org/" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~hppa ~sparc ~amd64 ~mips ppc64" + +# FIXME : some more things can be (local) USE flagged +# a few options are detection only, fix them to switch + +RDEPEND=">=dev-libs/glib-2.2 + >=x11-libs/gtk+-2.2.2 + >=x11-libs/pango-1.2.2 + >=media-libs/fontconfig-2.2 + >=media-libs/libart_lgpl-2.3.8-r1 + sys-libs/zlib + + gimpprint? ( =media-gfx/gimp-print-4.2* ) + gtkhtml? ( =gnome-extra/libgtkhtml-2* ) + + png? ( >=media-libs/libpng-1.2.1 ) + 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 ) + svg? ( >=gnome-base/librsvg-2.2 ) + + aalib? ( media-libs/aalib ) + python? ( >=dev-lang/python-2.2 + >=dev-python/pygtk-2 ) + X? ( virtual/x11 )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.12.0 + dev-util/intltool + doc? ( >=dev-util/gtk-doc-1 )" + +src_unpack() { + + unpack ${A} + + cd ${S} + # 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 + +} + +gimp_help_compile(){ + cd ${S_HELP} + econf || die + emake || die +} + +gimp_help_install(){ + cd ${S_HELP} + make DESTDIR=${D} install || die +} + +src_compile() { + + # Since 1.3.16, fixes linker problems when upgrading + elibtoolize + + # Workaround portage variable leakage + local AA= + + replace-flags "-march=k6*" "-march=i586" + # gimp uses inline functions (plug-ins/common/grid.c) (#23078) + filter-flags "-fno-inline" + + econf \ + --disable-default-binary \ + `use_enable mmx` \ + `use_enable sse` \ + `use_enable altivec` \ + `use_enable doc gtk-doc` \ + `use_enable python` \ + `use_enable gimpprint print` \ + `use_with X x` \ + `use_with png libpng` \ + `use_with jpeg libjpeg` \ + `use_with jpeg libexif` \ + `use_with tiff libtiff` \ + `use_with mng libmng` \ + `use_with aalib aa` \ + `use_enable debug` || die + + emake || die + + use doc && gimp_help_compile + +} + +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 COPYING ChangeL* HACKING INSTALL \ + MAINTAINERS NEWS PLUGIN_MAINTAINERS README* TODO* + use doc && gimp_help_install +} |