summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-11-26 16:56:51 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-11-26 16:56:51 +0000
commit24e9fcddce032dae8efaba73834338068e125856 (patch)
treeebe438f71358cd1117c2dd860f4aec46427cbca2 /net-print/hplip
parentstable on ppc64 (diff)
downloadgentoo-2-24e9fcddce032dae8efaba73834338068e125856.tar.gz
gentoo-2-24e9fcddce032dae8efaba73834338068e125856.tar.bz2
gentoo-2-24e9fcddce032dae8efaba73834338068e125856.zip
0.9.7 version bump
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'net-print/hplip')
-rw-r--r--net-print/hplip/ChangeLog7
-rw-r--r--net-print/hplip/Manifest2
-rw-r--r--net-print/hplip/files/digest-hplip-0.9.72
-rw-r--r--net-print/hplip/hplip-0.9.7.ebuild97
4 files changed, 107 insertions, 1 deletions
diff --git a/net-print/hplip/ChangeLog b/net-print/hplip/ChangeLog
index 8804fffff4d3..8232a6cfacdd 100644
--- a/net-print/hplip/ChangeLog
+++ b/net-print/hplip/ChangeLog
@@ -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
diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest
index 9bc2d8ac9870..af6f6a2ccc99 100644
--- a/net-print/hplip/Manifest
+++ b/net-print/hplip/Manifest
@@ -2,8 +2,10 @@ MD5 ff720e15f1e82ccc255bb273242a5808 ChangeLog 1203
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 171779d73bb2944fb8cae0287fb4af04 hplip-0.9.7.ebuild 2736
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
index 000000000000..c1e0df7a011c
--- /dev/null
+++ b/net-print/hplip/files/digest-hplip-0.9.7
@@ -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
index 000000000000..b1b0842b6a91
--- /dev/null
+++ b/net-print/hplip/hplip-0.9.7.ebuild
@@ -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
+}