summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/xsane')
-rw-r--r--media-gfx/xsane/ChangeLog9
-rw-r--r--media-gfx/xsane/Manifest4
-rw-r--r--media-gfx/xsane/files/digest-xsane-0.971
-rw-r--r--media-gfx/xsane/xsane-0.97.ebuild57
4 files changed, 68 insertions, 3 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog
index 77406c8fbd2c..6a8fdfdcc9a5 100644
--- a/media-gfx/xsane/ChangeLog
+++ b/media-gfx/xsane/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/xsane
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.26 2004/12/16 05:48:21 absinthe Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.27 2005/01/22 23:10:05 phosphan Exp $
+
+*xsane-0.97 (22 Jan 2005)
+
+ 22 Jan 2005; Patrick Kursawe <phosphan@gentoo.org> +xsane-0.97.ebuild:
+ Version bump
16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> xsane-0.95.ebuild:
Stable on amd64.
diff --git a/media-gfx/xsane/Manifest b/media-gfx/xsane/Manifest
index f338716ba5a8..a67fd0148ee0 100644
--- a/media-gfx/xsane/Manifest
+++ b/media-gfx/xsane/Manifest
@@ -1,9 +1,11 @@
MD5 3c7ff89dc3b80cb117f7de9752d653b5 xsane-0.93.ebuild 1147
MD5 c4f349f71e0b3add67857f64df5a178f xsane-0.95.ebuild 1350
+MD5 ab5c890e9f2cb573bad6e481c4da8924 xsane-0.97.ebuild 1352
MD5 6cea2cfe12e94437d88019ffd83f5bbf xsane-0.96-r1.ebuild 1447
-MD5 fdc322a083ab95d09103d74d850dccc8 ChangeLog 3420
+MD5 457f283402472bb35ccf4f15c1dd2397 ChangeLog 3536
MD5 1f00d52c238ab654e46144b458cb8090 metadata.xml 347
MD5 fe7857f02174456de620f30b19323804 files/digest-xsane-0.93 63
MD5 253d4e47a0b33d8bb9a060940a16cb1b files/digest-xsane-0.95 63
+MD5 918ef3f00d812af7c8417080ff4b8f75 files/digest-xsane-0.97 63
MD5 c24003808e1c9ca9b7869f81db36d288 files/doublefree.patch 455
MD5 ea4d74ef911486be99ff2905dbc5597f files/digest-xsane-0.96-r1 63
diff --git a/media-gfx/xsane/files/digest-xsane-0.97 b/media-gfx/xsane/files/digest-xsane-0.97
new file mode 100644
index 000000000000..d845c570ada1
--- /dev/null
+++ b/media-gfx/xsane/files/digest-xsane-0.97
@@ -0,0 +1 @@
+MD5 3d1f889d88c3462594febd53be58c561 xsane-0.97.tar.gz 3199876
diff --git a/media-gfx/xsane/xsane-0.97.ebuild b/media-gfx/xsane/xsane-0.97.ebuild
new file mode 100644
index 000000000000..e4ffa4d1545c
--- /dev/null
+++ b/media-gfx/xsane/xsane-0.97.ebuild
@@ -0,0 +1,57 @@
+# 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.ebuild,v 1.1 2005/01/22 23:10:05 phosphan Exp $
+
+DESCRIPTION="graphical scanning frontend"
+SRC_URI="http://www.xsane.org/download/${P}.tar.gz"
+HOMEPAGE="http://www.xsane.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~amd64 ~sparc ~ppc64"
+IUSE="gtk2 nls jpeg png tiff"
+
+DEPEND="media-gfx/sane-backends
+ || (
+ gtk2? ( >=x11-libs/gtk+-2.0 )
+ =x11-libs/gtk+-1.2*
+ )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )"
+
+
+src_compile() {
+ econf \
+ `use_enable nls` \
+ `use_enable jpeg` \
+ `use_enable png` \
+ `use_enable tiff` \
+ `use_enable gtk2` \
+ || 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 [ -d /usr/lib/gimp/1.2 ]; then
+ dodir /usr/lib/gimp/1.2/plug-ins
+ dosym /usr/bin/xsane /usr/lib/gimp/1.2/plug-ins
+ fi
+ if [ -d /usr/lib/gimp/2.0 ]; then
+ dodir /usr/lib/gimp/2.0/plug-ins
+ dosym /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins
+ fi
+}
+
+pkg_postinst() {
+ 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 ""
+}