DIST foomatic-db-hpijs-20060720.tar.gz 98252 RMD160 0c2c09f3cea6fc2a8e5da216bd9996b96d91613d SHA1 0e4ec08d01cd28bb751bc2e5844f0d0f7b97ba42 SHA256 1e50f603b46b1d07980212b2e5dfc5d72d07c889259e79ecbf09469fef5ad20e
DIST hplip-1.6.10.tar.gz 10561620 RMD160 3608757fca36865528565c0c40571d91a936fd3f SHA1 7c877cac132fc8695c693800c7e34322bdc8d858 SHA256 45f4eafd4568a06889bf4b996a3c75ef571a157b921f56b027b567766d8e239f
DIST hplip-1.7.3.tar.gz 13556732 RMD160 dfed95da08f6d5384759b60fc49e8f7cdcbd5aa4 SHA1 5b35c68ca0c1b96a0edadbae144d504319f91843 SHA256 13276261eef92167bf1d36fe7331775a3c2428ab06cf34e68fd1e2409b1c614e
+DIST hplip-1.7.4.tar.gz 13565392 RMD160 1e1cf865be6507fed0cc174eff5ad55002ea435a SHA1 215f7a295357d5e3f6133bd96f1450178abf5c64 SHA256 cb9c3531897af9613932fb9896ed2696f8903dd44b2a385a2faff0b819337aa5
EBUILD hplip-1.6.10.ebuild 3673 RMD160 cb97ee29e40405d1d9c2cddd523fedafb9a04f27 SHA1 e5f04b956ea421745c3986bd9c6764d7401324cb SHA256 ce12d77789f659fc57452d219cffcc729f7979317c81f958c09988cb58bea8ae
MD5 acbc7941c0e137d038603c41a6b71d27 hplip-1.6.10.ebuild 3673
RMD160 cb97ee29e40405d1d9c2cddd523fedafb9a04f27 hplip-1.6.10.ebuild 3673
MD5 a5c1c65c3407d841adf133d4f81028df hplip-1.7.3.ebuild 3392
RMD160 4cf57aadc778b1b641f59c5eece439d6e4c67ae3 hplip-1.7.3.ebuild 3392
SHA256 8ebc89a136536d9f1e0c289590c18e2d78dd04de63801d8e2ae2f3a6c3a298c1 hplip-1.7.3.ebuild 3392
-MISC ChangeLog 10342 RMD160 4f514575ed0f4c18f0ea03285ce2b6f7a26302a7 SHA1 d6332a0780f64acc998f1d1db052302c433ce3f6 SHA256 7f850a86a0641c0e119cb15a2f72ee1d930afaedf7f4e6436ac2b49528e2fdb6
-MD5 2afbc69a6d6f827dc114f1dac58132d4 ChangeLog 10342
-RMD160 4f514575ed0f4c18f0ea03285ce2b6f7a26302a7 ChangeLog 10342
-SHA256 7f850a86a0641c0e119cb15a2f72ee1d930afaedf7f4e6436ac2b49528e2fdb6 ChangeLog 10342
+EBUILD hplip-1.7.4.ebuild 3395 RMD160 4f7ae55074ba5ec8b55647ced1fdbd4d36081705 SHA1 116083d97bbb6d5cda1054a66fa989356f15f3ab SHA256 6057ccabc25f6044fb97e573cb1b3e057606e852f26c252ced72caa3da0ec536
+MD5 bc02960c59d9c4e56197e6f35696327b hplip-1.7.4.ebuild 3395
+RMD160 4f7ae55074ba5ec8b55647ced1fdbd4d36081705 hplip-1.7.4.ebuild 3395
+SHA256 6057ccabc25f6044fb97e573cb1b3e057606e852f26c252ced72caa3da0ec536 hplip-1.7.4.ebuild 3395
+MISC ChangeLog 10469 RMD160 17e23497018c8d0be8a5291b2fc3a9149076ca8a SHA1 6164e4d05ccc0e4dba66cf510cbbef354e3c1043 SHA256 648dc5eee4227f646d75fb337f5d5f5452a8e7c308f92b42a13c523c2a0e5eaa
+MD5 2cbce7929bac6ecee385a995cfe2e60c ChangeLog 10469
+RMD160 17e23497018c8d0be8a5291b2fc3a9149076ca8a ChangeLog 10469
+SHA256 648dc5eee4227f646d75fb337f5d5f5452a8e7c308f92b42a13c523c2a0e5eaa ChangeLog 10469
MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
MD5 8131f62abf443de6a23dfee041a6d18c files/digest-hplip-1.7.3 518
RMD160 851876dd38b2fbd24a612a5dd9fdc24f3ec044d3 files/digest-hplip-1.7.3 518
SHA256 8420503d0910c30234937e9e2c43469e80926d322130a88bdeb113cbff7be779 files/digest-hplip-1.7.3 518
+MD5 9c9b65fd14b9deb4596758a9859783f1 files/digest-hplip-1.7.4 518
+RMD160 86901fa9a089a807505764fc917bfe60bf02ac74 files/digest-hplip-1.7.4 518
+SHA256 5c27411a7cb99880e1d58ef8d33d5f33bd7aff83fe442199ebd121e231df8d74 files/digest-hplip-1.7.4 518
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-1.7.4.ebuild,v 1.1 2007/04/23 22:29:26 vanquirius Exp $
+
+inherit eutils
+
+DB_V=20060720
+DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools."
+HOMEPAGE="http://hplip.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz
+ foomaticdb? (
+ http://gentooexperimental.org/~genstef/dist/foomatic-db-hpijs-${DB_V}.tar.gz
+ http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz
+ )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cups foomaticdb snmp qt3 ppds scanner X"
+
+DEPEND=">=dev-lang/python-2.2.0
+ snmp? ( >=net-analyzer/net-snmp-5.0.9 )
+ !net-print/hpijs
+ !net-print/hpoj
+ virtual/ghostscript
+ scanner? (
+ >=media-gfx/sane-backends-1.0.9
+ X? ( || (
+ >=media-gfx/xsane-0.89
+ >=media-gfx/sane-frontends-1.0.9
+ ) )
+ !X? ( || (
+ >=media-gfx/sane-frontends-1.0.9
+ >=media-gfx/xsane-0.89
+ ) )
+ )
+ qt3? ( >=dev-python/PyQt-3.11 =x11-libs/qt-3* )
+ >=dev-libs/libusb-0.1.10a
+ sys-apps/hotplug-base
+ net-print/cups
+ foomaticdb? ( net-print/foomatic-db-engine )
+ >=net-print/foomatic-filters-3.0.2"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ # avoid collisions with cups-1.2 compat symlinks
+ if [ -e ${ROOT}/usr/lib/cups/backend/hp ] && [ -e ${ROOT}/usr/libexec/cups/backend/hp ]; then
+ rm -f ${ROOT}/usr/libexec/cups/backend/hp{,fax};
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # bug 98428
+ sed -i -e "s:/usr/bin/env python:/usr/bin/python:g" \
+ hpssd.py
+}
+src_compile() {
+ econf \
+ $(use_enable snmp network-build) \
+ $(use_enable cups cups-install) \
+ $(use_enable ppds foomatic-install) \
+ || die "econf failed"
+ emake || die "emake failed"
+
+ if use foomaticdb ; then
+ cd ../foomatic-db-hpijs-${DB_V}
+ econf || die "econf failed"
+ rm -fR data-generators/hpijs-rss
+ emake || die "emake failed"
+ fi
+}
+
+
+src_install() {
+ # cups-1.2 installation paths, make sure that the .desktop is installed
+ sed -i -e "s:/usr/lib/cups:$(cups-config --serverbin):" \
+ -e 's:\(ICON_FILE = \).*:\1hplip.desktop:' \
+ -e 's:\(ICON_PATH = \).*:\1/usr/share/applications:' \
+ Makefile
+
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/hplip.init.d hplip
+
+ if use scanner; then
+ dodir /usr/$(get_libdir)/sane
+ for i in libsane-hpaio.{la,so{,.1{,.0.0}}}; do
+ dosym /usr/$(get_libdir)/${i} /usr/$(get_libdir)/sane/${i}; done
+ else
+ rm -f "${D}"/usr/$(get_libdir)/libsane-hpaio.{la,so{,.1{,.0.0}}}
+ rm -f "${D}"/etc/sane.d/dll.conf
+ fi
+
+ # bug 106035
+ if ! use qt3 ; then
+ rm -f "${D}"/usr/{bin/hp-,share/hplip/}{print,toolbox}
+ rm -f "${D}"/usr/share/applications/hplip.desktop
+ rm -f "${D}"/usr/lib/menu/hplip
+ fi
+
+ rm -rf ${D}/$(cups-config --serverbin)/filter ${D}/usr/bin/foomatic-rip
+
+ if use foomaticdb ; then
+ cd ../foomatic-db-hpijs-${DB_V}
+ emake DESTDIR="${D}" install || die "emake install failed"
+ fi
+}
+
+pkg_preinst() {
+ if use scanner; then
+ insinto /etc/sane.d
+ [ -e /etc/sane.d/dll.conf ] && cp /etc/sane.d/dll.conf .
+ [ -e ${ROOT}/etc/sane.d/dll.conf ] && cp ${ROOT}/etc/sane.d/dll.conf .
+ grep -q hpaio dll.conf || echo hpaio >> dll.conf
+ doins dll.conf
+ fi
+}
+
+pkg_postinst() {
+ einfo "You need the qt3 useflag enabled to use the guy configurator hp-setup"
+}