diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-08-30 17:58:50 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-08-30 17:58:50 +0000 |
commit | 0357878515571135e58c4125f41840e08edf901e (patch) | |
tree | 728670f152679cd57f9192c663f4457ccd0b2911 /media-gfx | |
parent | added patch for jikes, bug 62122 (diff) | |
download | historical-0357878515571135e58c4125f41840e08edf901e.tar.gz historical-0357878515571135e58c4125f41840e08edf901e.tar.bz2 historical-0357878515571135e58c4125f41840e08edf901e.zip |
Bug #29506
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/sane-backends/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/sane-backends/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/sane-backends/files/digest-sane-backends-1.0.14-r5 | 3 | ||||
-rw-r--r-- | media-gfx/sane-backends/sane-backends-1.0.14-r5.ebuild | 111 |
4 files changed, 124 insertions, 2 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog index 745275fbf52c..670de6801c8e 100644 --- a/media-gfx/sane-backends/ChangeLog +++ b/media-gfx/sane-backends/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/sane-backends # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.47 2004/08/27 00:00:19 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.48 2004/08/30 17:58:50 phosphan Exp $ + +*sane-backends-1.0.14-r5 (30 Aug 2004) + + 30 Aug 2004; Patrick Kursawe <phosphan@gentoo.org> + +sane-backends-1.0.14-r5.ebuild: + Bug #29506 revisited. Canon 2700F focus problems. 26 Aug 2004; Jason Wever <weeve@gentoo.org> sane-backends-1.0.14-r3.ebuild: Stable on sparc. diff --git a/media-gfx/sane-backends/Manifest b/media-gfx/sane-backends/Manifest index 57d8608599b7..1ebd808b2e86 100644 --- a/media-gfx/sane-backends/Manifest +++ b/media-gfx/sane-backends/Manifest @@ -1,8 +1,9 @@ MD5 c8a5f35a59293001a852dc67603ea652 sane-backends-1.0.14-r3.ebuild 2473 +MD5 ed295c5fbe0c33ddc1e4b6f859c0cda7 sane-backends-1.0.14-r5.ebuild 2777 MD5 41ccd3ca88b24476e6d95ef32d5f5111 sane-backends-1.0.13-r3.ebuild 1717 MD5 a7bbc0f5e148d654966c95c15d921fa1 sane-backends-1.0.14-r2.ebuild 2176 MD5 998c7cff0b6534a14fd02fd89e5cbc0d sane-backends-1.0.14-r4.ebuild 2735 -MD5 5912ee4ce70a07e19d4055c17b09d3d8 ChangeLog 8425 +MD5 19d49f3fd9faa3848f01829de64d5b63 ChangeLog 8609 MD5 b742040acaeddc3798a21739bd59e8aa metadata.xml 224 MD5 365f695ec2c079ac06dd5bbf495f87ce files/linux_sg3_err.h 4894 MD5 820e842ff4247de984a89752ac129ceb files/libusbscanner-device.patch 582 @@ -12,3 +13,4 @@ MD5 01607471a4380f74f7b9da650e5ca5ad files/digest-sane-backends-1.0.13-r3 160 MD5 38efb4d762b212d339caa112194dbf56 files/digest-sane-backends-1.0.14-r2 160 MD5 38efb4d762b212d339caa112194dbf56 files/digest-sane-backends-1.0.14-r3 160 MD5 e8109e4fa602f9e29257c4abea88f69d files/digest-sane-backends-1.0.14-r4 229 +MD5 e8109e4fa602f9e29257c4abea88f69d files/digest-sane-backends-1.0.14-r5 229 diff --git a/media-gfx/sane-backends/files/digest-sane-backends-1.0.14-r5 b/media-gfx/sane-backends/files/digest-sane-backends-1.0.14-r5 new file mode 100644 index 000000000000..df429dcc0a62 --- /dev/null +++ b/media-gfx/sane-backends/files/digest-sane-backends-1.0.14-r5 @@ -0,0 +1,3 @@ +MD5 7ae5bf91aea34ef7956df6f53cf073bd sane-backends-1.0.14.tar.gz 3198777 +MD5 1b2f83dcb5dae520ef845d071bceb4f5 backend-20040723_1.tar.gz 31201 +MD5 643de6a8321df8ef561170610b91b538 sane-backends-1.0.13-brothermfc-r1.patch.bz2 9727 diff --git a/media-gfx/sane-backends/sane-backends-1.0.14-r5.ebuild b/media-gfx/sane-backends/sane-backends-1.0.14-r5.ebuild new file mode 100644 index 000000000000..31e87c171bcb --- /dev/null +++ b/media-gfx/sane-backends/sane-backends-1.0.14-r5.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.14-r5.ebuild,v 1.1 2004/08/30 17:58:50 phosphan Exp $ + +inherit eutils + +IUSE="usb gphoto2" + +DESCRIPTION="Scanner Access Now Easy - Backends" +HOMEPAGE="http://www.mostang.com/sane/" + +DEPEND=">=media-libs/jpeg-6b + x86? ( sys-libs/libieee1284 ) + =sys-apps/sed-4* + usb? ( dev-libs/libusb ) + gphoto2? ( media-gfx/gphoto2 )" + +BROTHERMFCDRIVER="sane-backends-1.0.13-brothermfc-r1.patch" + +SRC_URI="ftp://ftp.mostang.com/pub/sane/${P}/${P}.tar.gz + ftp://ftp.mostang.com/pub/sane/old-versions/${P}/${P}.tar.gz + usb? ( mirror://sourceforge/hp3300backend/backend-20040723_1.tar.gz ) + usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2 )" +SLOT="0" +LICENSE="GPL-2 public-domain" +KEYWORDS="~x86 ~sparc ~ppc ~ppc64" + + +src_unpack() { + unpack ${A} + use usb && unpack ${BROTHERMFCDRIVER}.bz2 + cp ${FILESDIR}/linux_sg3_err.h ${S}/sanei + + cd ${S} + + epatch ${FILESDIR}/canoscan-focus.patch + + #only generate the .ps and not the fonts + sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \ + doc/Makefile.in + #compile errors when using NDEBUG otherwise + sed -i -e 's:function_name:__FUNCTION__:g' backend/artec_eplus48u.c + use usb && epatch ${WORKDIR}/${BROTHERMFCDRIVER} + use usb && epatch ${FILESDIR}/libusbscanner-device-r1.patch + + if use usb; then + #patch sane-backends for NIASH chip support + einfo "Applying NIASH chip support patch" + cd ${WORKDIR}/backend + chmod +x patch-sane.sh + ./patch-sane.sh ${S} + fi +} + +src_compile() { + local myconf + myconf="$(use_enable usb libusb) $(use_with gphoto2)" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --host=${CHOST} ${myconf} || die + make || die + if use usb; then + cd tools/hotplug + grep < libsane.usermap -v '^$' > libsane.usermap.new + mv libsane.usermap.new libsane.usermap + fi +} + +src_install () { + + + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + mandir=${D}/usr/share/man \ + docdir=${D}/usr/share/doc/${PF} \ + install || die + + if use usb; then + cd tools/hotplug + insinto /etc/hotplug/usb + exeinto /etc/hotplug/usb + doins libsane.usermap + doexe libusbscanner + newdoc README README.hotplug + cd ../.. + fi + + docinto backend + cd backend + dodoc GUIDE *.README *.BUGS *.CHANGES *.FAQ *.TODO + + echo "SANE_CONFIG_DIR=/etc/sane.d" > 30sane + insinto /etc/env.d + doins 30sane + +} + +pkg_preinst() { + enewgroup scanner +} + +pkg_postinst() { + if use usb; then + einfo "There are some problems with the hotplug script when" + einfo "restarting hotplug with some kernel versions." + einfo "If you have trouble, please edit" + einfo "/etc/hotplug/usb/libusbscanner" + einfo "and see bug #50934 for details." + fi +} |