diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2005-09-20 16:09:10 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2005-09-20 16:09:10 +0000 |
commit | d550f4fdda63c40cca4d0fd7fd05eef09ce63990 (patch) | |
tree | aee6b38d055c3e84c756eb708cd33390c16323f0 /media-gfx/xsane | |
parent | Remove obsolete ebuilds and patches (diff) | |
download | historical-d550f4fdda63c40cca4d0fd7fd05eef09ce63990.tar.gz historical-d550f4fdda63c40cca4d0fd7fd05eef09ce63990.tar.bz2 historical-d550f4fdda63c40cca4d0fd7fd05eef09ce63990.zip |
Getting rid of gtk1 support (bug #106560)
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-gfx/xsane')
-rw-r--r-- | media-gfx/xsane/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/xsane/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/xsane/files/digest-xsane-0.97-r1 | 1 | ||||
-rw-r--r-- | media-gfx/xsane/xsane-0.97-r1.ebuild | 69 |
4 files changed, 79 insertions, 2 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog index eda31aff0e6f..f76b116debb1 100644 --- a/media-gfx/xsane/ChangeLog +++ b/media-gfx/xsane/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/xsane # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.40 2005/09/13 17:49:14 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.41 2005/09/20 16:09:10 phosphan Exp $ + +*xsane-0.97-r1 (20 Sep 2005) + + 20 Sep 2005; Patrick Kursawe <phosphan@gentoo.org> +xsane-0.97-r1.ebuild: + Getting rid of gtk1 support (bug #106560) 13 Sep 2005; Aron Griffis <agriffis@gentoo.org> xsane-0.97.ebuild: Mark 0.97 stable on alpha diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest index 525e2cff84ee..fe47102896f2 100644 --- a/media-gfx/xsane/Manifest +++ b/media-gfx/xsane/Manifest @@ -1,4 +1,6 @@ +MD5 1ec14e1ee0ca39dda7b4e5633402ddaf xsane-0.97-r1.ebuild 1630 MD5 8c5d4fdcaf6572134cefe867a24ae018 xsane-0.97.ebuild 1677 +MD5 6ae34fea270d96a514c3b684fafcf3a1 ChangeLog 5116 MD5 1f00d52c238ab654e46144b458cb8090 metadata.xml 347 -MD5 e29734f1db538db6034049b184696d80 ChangeLog 4965 MD5 918ef3f00d812af7c8417080ff4b8f75 files/digest-xsane-0.97 63 +MD5 918ef3f00d812af7c8417080ff4b8f75 files/digest-xsane-0.97-r1 63 diff --git a/media-gfx/xsane/files/digest-xsane-0.97-r1 b/media-gfx/xsane/files/digest-xsane-0.97-r1 new file mode 100644 index 000000000000..d845c570ada1 --- /dev/null +++ b/media-gfx/xsane/files/digest-xsane-0.97-r1 @@ -0,0 +1 @@ +MD5 3d1f889d88c3462594febd53be58c561 xsane-0.97.tar.gz 3199876 diff --git a/media-gfx/xsane/xsane-0.97-r1.ebuild b/media-gfx/xsane/xsane-0.97-r1.ebuild new file mode 100644 index 000000000000..61db7d792acd --- /dev/null +++ b/media-gfx/xsane/xsane-0.97-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.97-r1.ebuild,v 1.1 2005/09/20 16:09:10 phosphan Exp $ + +DESCRIPTION="graphical scanning frontend" +HOMEPAGE="http://www.xsane.org/" +SRC_URI="http://www.xsane.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls jpeg png tiff gimp" + +DEPEND="media-gfx/sane-backends + >=x11-libs/gtk+-2.0 + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng ) + tiff? ( media-libs/tiff ) + gimp? ( media-gfx/gimp )" + +pkg_setup() { + export OLDXSANE + if has_version '<=media-gfx/xsane-0.93'; then + OLDXSANE="yes" + else + OLDXSANE="no" + fi +} + +src_compile() { + econf --enable-gtk2 \ + $(use_enable nls) \ + $(use_enable jpeg) \ + $(use_enable png) \ + $(use_enable tiff) \ + $(use_enable gimp) \ + || die + emake || die +} + +src_install() { + einstall || die + dodoc xsane.[A-Z]* + dohtml -r doc + + # link xsane so it is seen as a plugin in gimp + if use gimp; then + local plugindir + if [ -x /usr/bin/gimptool ]; then + plugindir="$(gimptool --gimpplugindir)/plug-ins" + elif [ -x /usr/bin/gimptool-2.0 ]; then + plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins" + else + die "Can't find GIMP plugin directory." + fi + dodir "${plugindir}" + dosym /usr/bin/xsane "${plugindir}" + fi +} + +pkg_postinst() { + if [ $OLDXSANE = 'yes' ]; then + einfo "" + ewarn "If you are upgrading from <=xsane-0.93, please make sure to" + ewarn "remove ~/.sane/xsane/xsane.rc _before_ you start xsane for" + ewarn "the first time." + einfo "" + fi +} |