0.9.7 version bump
authorMarcelo Góes <vanquirius@gentoo.org>
Sat, 26 Nov 2005 16:56:51 +0000 (16:56 +0000)
committerMarcelo Góes <vanquirius@gentoo.org>
Sat, 26 Nov 2005 16:56:51 +0000 (16:56 +0000)
Package-Manager: portage-2.0.53_rc7

net-print/hplip/ChangeLog
net-print/hplip/Manifest
net-print/hplip/files/digest-hplip-0.9.7 [new file with mode: 0644]
net-print/hplip/hplip-0.9.7.ebuild [new file with mode: 0644]

index 8804fffff4d3059edc1cfa2ff3ac323dae85d865..8232a6cfacdd9677838405c2f19af13f0013bd8e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-print/hplip
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.9 2005/11/16 09:25:05 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.10 2005/11/26 16:56:51 vanquirius Exp $
+
+*hplip-0.9.7 (26 Nov 2005)
+
+  26 Nov 2005; Marcelo Goes <vanquirius@gentoo.org> +hplip-0.9.7.ebuild:
+  0.9.7 version bump.
 
   16 Nov 2005; Luca Barbato <lu_zero@gentoo.org> hplip-0.9.5.ebuild:
   Fix big endian error
index 9bc2d8ac98709113342aef15304fee85b66ab9c1..f0895e5dca728b526d6bd0aa012ec89f87de361c 100644 (file)
@@ -1,9 +1,11 @@
-MD5 ff720e15f1e82ccc255bb273242a5808 ChangeLog 1203
+MD5 10ced8e73a62b3073d999ddf84371379 ChangeLog 1331
 MD5 ce4ebffecf6776bf8b594d515f151b0e files/digest-hplip-0.9.3 146
 MD5 6d67b8483b9c21c792fda3ed690cb26a files/digest-hplip-0.9.4 145
 MD5 cbf1b3a3716e0de9faef1b950ad93b9d files/digest-hplip-0.9.5 145
+MD5 8671891d67472ead728696c8c1fdd2fc files/digest-hplip-0.9.7 145
 MD5 5243cb60063760c1f71d7d026720421e files/hplip.init.d 898
 MD5 f3a777f2c6eeebb99f32e02b52b65a70 hplip-0.9.3.ebuild 2570
 MD5 39df325ae3f38e64a979900d6c54d24f hplip-0.9.4.ebuild 2575
 MD5 b8797d3c934c32f6ad30b83ac842356b hplip-0.9.5.ebuild 2709
+MD5 be3d392fccb6af65e377f6b2a87e9934 hplip-0.9.7.ebuild 2739
 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
diff --git a/net-print/hplip/files/digest-hplip-0.9.7 b/net-print/hplip/files/digest-hplip-0.9.7
new file mode 100644 (file)
index 0000000..c1e0df7
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 c6e602ff829b18ea182c8eec445e2a6a foomatic-db-hpijs-1.5-20051126.tar.gz 87836
+MD5 d2ee27d7c347f549306a880561c5030a hplip-0.9.7.tar.gz 9705231
diff --git a/net-print/hplip/hplip-0.9.7.ebuild b/net-print/hplip/hplip-0.9.7.ebuild
new file mode 100644 (file)
index 0000000..b1b0842
--- /dev/null
@@ -0,0 +1,97 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-0.9.7.ebuild,v 1.1 2005/11/26 16:56:51 vanquirius Exp $
+
+inherit eutils
+
+DB_V=1.5-20051126
+DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools."
+HOMEPAGE="http://hpinkjet.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz
+       foomaticdb? ( http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="foomaticdb snmp X qt ppds scanner cups usb"
+
+DEPEND="dev-lang/python
+       snmp? ( >=net-analyzer/net-snmp-5.0.9 )
+       !net-print/hpijs
+       !net-print/hpoj"
+
+RDEPEND="virtual/ghostscript
+       >=dev-lang/python-2.2.0
+       scanner? (
+               >=media-gfx/sane-backends-1.0.9
+               || (
+                       X? ( >=media-gfx/xsane-0.89 )
+                       >=media-gfx/sane-frontends-1.0.9
+               )
+       )
+       qt? ( >=dev-python/PyQt-3.11 =x11-libs/qt-3* )
+       usb? ( >=dev-libs/libusb-0.1.10a sys-apps/hotplug )
+       foomaticdb? ( net-print/foomatic )
+       cups? ( net-print/cups )
+       ${DEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       sed -i -e "s:(uint32_t)0xff000000) >> 24))):(uint32_t)0xff000000) >> 24):" \
+               "${S}"/scan/sane/mfpdtf.h
+}
+src_compile() {
+       myconf="${myconf} --disable-cups-install --disable-foomatic-install"
+
+       use snmp || myconf="${myconf} --disable-network-build"
+
+       econf ${myconf} || die "Error: econf failed!"
+       emake || die "Error: emake failed!"
+}
+
+
+src_install() {
+       make DESTDIR="${D}" install
+
+       exeinto /etc/init.d
+       newexe "${FILESDIR}"/hplip.init.d hplip
+
+       if use scanner; then
+               insinto /etc/sane.d
+               echo "hpaio" > dll.conf
+               doins dll.conf
+
+               dodir /usr/lib/sane
+               dosym /usr/lib/libsane-hpaio.la /usr/lib/sane/libsane-hpaio.la
+               dosym /usr/lib/libsane-hpaio.so /usr/lib/sane/libsane-hpaio.so
+               dosym /usr/lib/libsane-hpaio.so.1 /usr/lib/sane/libsane-hpaio.so.1
+               dosym /usr/lib/libsane-hpaio.so.1.0.0 /usr/lib/sane/libsane-hpaio.so.1.0.0
+       else
+               rm -f "${D}"/usr/lib/libsane-hpaio.la
+               rm -f "${D}"/usr/lib/libsane-hpaio.so
+               rm -f "${D}"/usr/lib/libsane-hpaio.so.1
+               rm -f "${D}"/usr/lib/libsane-hpaio.so.1.0.0
+       fi
+
+       if use ppds; then
+               dodir /usr/share
+               mv "${S}"/prnt/hpijs/ppd "${D}"/usr/share
+       fi
+
+       if use cups && use ppds ; then
+               dodir /usr/share/cups/model
+               dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds
+       fi
+
+       [ -e /usr/bin/foomatic-rip ] && rm -f "${D}"/usr/bin/foomatic-rip
+
+       if use foomaticdb ; then
+               cd ../foomatic-db-hpijs-${DB_V}
+               econf || die "econf failed"
+               rm -fR data-generators/hpijs-rss
+               make || die
+               make DESTDIR="${D}" install || die
+       fi
+
+       dodir /usr/share/applications
+       mv "${D}"/usr/share/hplip/data/hplip.desktop "${D}"/usr/share/applications
+}