diff options
author | Hanno Böck <hanno@gentoo.org> | 2007-07-26 00:43:08 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2007-07-26 00:43:08 +0000 |
commit | f483a128aed183d699ef919cb62ca4b75ce8c05a (patch) | |
tree | 9884993e856415f6fb4beb9186b3da7a07c056a7 /media-gfx | |
parent | Version bump, bug #179857 (diff) | |
download | gentoo-2-f483a128aed183d699ef919cb62ca4b75ce8c05a.tar.gz gentoo-2-f483a128aed183d699ef919cb62ca4b75ce8c05a.tar.bz2 gentoo-2-f483a128aed183d699ef919cb62ca4b75ce8c05a.zip |
remove old gimp stuff
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gimp/files/digest-gimp-2.2.14 | 3 | ||||
-rw-r--r-- | media-gfx/gimp/files/digest-gimp-2.2.15 | 3 | ||||
-rw-r--r-- | media-gfx/gimp/files/digest-gimp-2.3.16 | 3 | ||||
-rw-r--r-- | media-gfx/gimp/files/gimp-sunras-bufferoverflow.diff | 49 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.2.14.ebuild | 175 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.2.15.ebuild | 173 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.3.16.ebuild | 129 |
7 files changed, 0 insertions, 535 deletions
diff --git a/media-gfx/gimp/files/digest-gimp-2.2.14 b/media-gfx/gimp/files/digest-gimp-2.2.14 deleted file mode 100644 index 3edc7b8b8f96..000000000000 --- a/media-gfx/gimp/files/digest-gimp-2.2.14 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2f47dd66d714a970356e275dd1d3caac gimp-2.2.14.tar.bz2 12836732 -RMD160 cf43fb0436a6086a0bc85fd4a33b009bee557aa0 gimp-2.2.14.tar.bz2 12836732 -SHA256 f672f123118b7b52dfce5833ba26512463295e29d542f32d629ba39870112b4f gimp-2.2.14.tar.bz2 12836732 diff --git a/media-gfx/gimp/files/digest-gimp-2.2.15 b/media-gfx/gimp/files/digest-gimp-2.2.15 deleted file mode 100644 index e89dae3395d5..000000000000 --- a/media-gfx/gimp/files/digest-gimp-2.2.15 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5e705f0c7a3b37703d407e88bee357bb gimp-2.2.15.tar.bz2 13097438 -RMD160 322b5c07de9e6cc9b206d944278d58d8d6cd1e2f gimp-2.2.15.tar.bz2 13097438 -SHA256 d14621ab9bc18c4f491146d443fefbdf3eecb8470896545ce58f5c1e2fc450d7 gimp-2.2.15.tar.bz2 13097438 diff --git a/media-gfx/gimp/files/digest-gimp-2.3.16 b/media-gfx/gimp/files/digest-gimp-2.3.16 deleted file mode 100644 index 404f216a2577..000000000000 --- a/media-gfx/gimp/files/digest-gimp-2.3.16 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 00797e627c8a180e5364f334aab27631 gimp-2.3.16.tar.bz2 16370057 -RMD160 f67d58f48b0997082024088ca37ef52c3b18c6bc gimp-2.3.16.tar.bz2 16370057 -SHA256 fdccaed39f868a24ad408b4a84e5f13b2c8448562b17bdc5ca53f0ddda4f96f4 gimp-2.3.16.tar.bz2 16370057 diff --git a/media-gfx/gimp/files/gimp-sunras-bufferoverflow.diff b/media-gfx/gimp/files/gimp-sunras-bufferoverflow.diff deleted file mode 100644 index 6b071497f081..000000000000 --- a/media-gfx/gimp/files/gimp-sunras-bufferoverflow.diff +++ /dev/null @@ -1,49 +0,0 @@ ---- trunk/plug-ins/common/sunras.c 2006/12/09 21:33:38 21494 -+++ trunk/plug-ins/common/sunras.c 2007/04/27 11:50:00 22355 -@@ -101,8 +101,7 @@ - gint32 image_ID, - gint32 drawable_ID); - --static void set_color_table (gint32, L_SUNFILEHEADER *, unsigned char *); -- -+static void set_color_table (gint32, L_SUNFILEHEADER *, const guchar *); - static gint32 create_new_image (const gchar *filename, - guint width, - guint height, -@@ -857,19 +856,20 @@ - static void - set_color_table (gint32 image_ID, - L_SUNFILEHEADER *sunhdr, -- guchar *suncolmap) -+ const guchar *suncolmap) - { -- int ncols, j; -- guchar ColorMap[256*3]; -+ guchar ColorMap[256 * 3]; -+ gint ncols, j; - - ncols = sunhdr->l_ras_maplength / 3; -- if (ncols <= 0) return; -+ if (ncols <= 0) -+ return; - -- for (j = 0; j < ncols; j++) -+ for (j = 0; j < MIN (ncols, 256); j++) - { -- ColorMap[j*3] = suncolmap[j]; -- ColorMap[j*3+1] = suncolmap[j+ncols]; -- ColorMap[j*3+2] = suncolmap[j+2*ncols]; -+ ColorMap[j * 3 + 0] = suncolmap[j]; -+ ColorMap[j * 3 + 1] = suncolmap[j + ncols]; -+ ColorMap[j * 3 + 2] = suncolmap[j + 2 * ncols]; - } - - #ifdef DEBUG -@@ -878,6 +878,7 @@ - printf ("%3d: 0x%02x 0x%02x 0x%02x\n", j, - ColorMap[j*3], ColorMap[j*3+1], ColorMap[j*3+2]); - #endif -+ - gimp_image_set_colormap (image_ID, ColorMap, ncols); - } - diff --git a/media-gfx/gimp/gimp-2.2.14.ebuild b/media-gfx/gimp/gimp-2.2.14.ebuild deleted file mode 100644 index 8ce1c7a07658..000000000000 --- a/media-gfx/gimp/gimp-2.2.14.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# 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-2.2.14.ebuild,v 1.12 2007/07/22 09:59:49 dberkholz Exp $ - -inherit flag-o-matic libtool eutils fdo-mime alternatives multilib python - -DESCRIPTION="GNU Image Manipulation Program" -HOMEPAGE="http://www.gimp.org/" - -SRC_URI="mirror://gimp/v2.2/${P}.tar.bz2" - -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" - -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}" - - epatch ${FILESDIR}/gimp-sunras-bufferoverflow.diff - - # 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" -} - -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 -} - -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* - - # 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 - 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() { - [[ ! -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 - python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \ - /usr/$(get_libdir)/gimp/2.0/plug-ins -} diff --git a/media-gfx/gimp/gimp-2.2.15.ebuild b/media-gfx/gimp/gimp-2.2.15.ebuild deleted file mode 100644 index 94e82eb9961f..000000000000 --- a/media-gfx/gimp/gimp-2.2.15.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# 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-2.2.15.ebuild,v 1.2 2007/07/22 09:59:49 dberkholz Exp $ - -inherit flag-o-matic libtool eutils fdo-mime alternatives multilib python - -DESCRIPTION="GNU Image Manipulation Program" -HOMEPAGE="http://www.gimp.org/" - -SRC_URI="mirror://gimp/v2.2/${P}.tar.bz2" - -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" - -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" -} - -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 -} - -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* - - # 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 - 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() { - [[ ! -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 - python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \ - /usr/$(get_libdir)/gimp/2.0/plug-ins -} diff --git a/media-gfx/gimp/gimp-2.3.16.ebuild b/media-gfx/gimp/gimp-2.3.16.ebuild deleted file mode 100644 index efa32d196e69..000000000000 --- a/media-gfx/gimp/gimp-2.3.16.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# 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-2.3.16.ebuild,v 1.9 2007/07/10 14:29:07 armin76 Exp $ - -inherit fdo-mime flag-o-matic multilib python - -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 ~x86-fbsd" - -IUSE="alsa aalib altivec curl dbus debug doc gtkhtml gnome jpeg lcms mmx mng pdf png python smp sse svg tiff wmf" - -RDEPEND=">=dev-libs/glib-2.12.3 - >=x11-libs/gtk+-2.10.6 - >=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 ) - curl? ( net-misc/curl ) - dbus? ( dev-libs/dbus-glib - 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* ) - 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.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 - 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_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/gimp-sunras-bufferoverflow.diff -} - -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_with curl) \ - $(use_enable debug) \ - $(use_enable doc gtk-doc) \ - $(use_with dbus) \ - $(use_with gnome) \ - $(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) \ - $(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 -} |