diff options
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hplip-plugin/Manifest | 2 | ||||
-rw-r--r-- | net-print/hplip-plugin/hplip-plugin-3.17.9.ebuild | 70 | ||||
-rw-r--r-- | net-print/hplip/Manifest | 2 | ||||
-rw-r--r-- | net-print/hplip/hplip-3.17.9-r1.ebuild | 254 |
4 files changed, 0 insertions, 328 deletions
diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest index 4957d3f2d433..4e522ea407a1 100644 --- a/net-print/hplip-plugin/Manifest +++ b/net-print/hplip-plugin/Manifest @@ -1,8 +1,6 @@ DIST hplip-3.16.3-plugin.run 2084271 SHA256 b7edef2a1c5c0a5e001deb4a18c0ef7202e653596e97144b8908ae093818070f SHA512 2ae8aeb40c2604a2c6b9725700f9addf7a82e819d603631158a5d5feac931248e53e7533178100df1fc12b0dc2340cb3ae0d85f145cd023a311f77bbe67e7c7f WHIRLPOOL 928117f862030eca9c3e5813eb8c4db66570923695b0c7af17df1992f339d2478f42af67ca0e0eb8cfa1d7425b522082fde3b8c829c3f5167e1ec503c95a986b DIST hplip-3.17.10-plugin.run 2062947 SHA256 2fd26f6d5b437a4f1aa9f560e816ce094aea73becdf2f2b976ef46406d1b551d SHA512 98eef413b122527c4a7860b621baf11c04ec9d7f4e43ce4f36e7822a633c64b3d98cbc86cd7d305c74d9a49a4159ebd7280d652e1ba430cad4cc70f66d23ee07 WHIRLPOOL d087e7f857f8bc0a7a0b4f44f07ca15feaff6847cd719a2cb48240dd3aca7df93932eef7a849598ad313b4373e9f50b61bf3c0846c64d1002f1cfd9470a27717 -DIST hplip-3.17.9-plugin.run 2059585 SHA256 98f717266340baa15e0385dc4928cc9c127a9403b72749f4899657cef8dfe883 SHA512 a7a9ee8b7edda3641b5c3aa403570aad72ce9cd42cdd4c64904a0be409cefa838712390c7f535482028ac2d494c711baef77f2f601835b01591fa673272c01ba WHIRLPOOL e6615652382d11ddbe646b793d1f5aff61872ab4f30925855be66faa4d8ebace113a43e369e1b4d199bb65d3bd0315de32cd49d264c52f6d47e7f17990f0263f EBUILD hplip-plugin-3.16.3.ebuild 1503 SHA256 feda237c7ac2e7f46407495a4800fb73ab098573fbcff03ee46944ad1bcb2e0c SHA512 1680865ff9741ffa1ca1bb0e6b55ad3b8427c3c0766a717dad082dbceee5f39545b5f7d9bbe28121579c946a260eb49799f720ea0005510e3908593b8904a2c3 WHIRLPOOL d5a999891f1c29b131a95c007e465300efe6427d69548896393c9e4affb8aaf806605dafc9a19b7571e2a5e274226dc3cae8c667741dee39cd4767ea85b86d99 EBUILD hplip-plugin-3.17.10.ebuild 1623 SHA256 9172560f387cdda70faee2aad869d14eb7d2bc2d9fbdacae628c18c92931efa0 SHA512 7f8a8b4fe9845ad9a43669aaf2d5332053335db6a17e9d0eda8f881dcd53cceed837d1ffd4da273db461cd06d690a58fb080a20c8a87ba6061cc1ad1bd5b9060 WHIRLPOOL 8a39b66de7735fea710e8ece9e93b55198caeec1cf02a2e81641cc226b5531086969e318483534754e62f79a1f48462fcce76b78c8476047d860ffa327d7b703 -EBUILD hplip-plugin-3.17.9.ebuild 1623 SHA256 9172560f387cdda70faee2aad869d14eb7d2bc2d9fbdacae628c18c92931efa0 SHA512 7f8a8b4fe9845ad9a43669aaf2d5332053335db6a17e9d0eda8f881dcd53cceed837d1ffd4da273db461cd06d690a58fb080a20c8a87ba6061cc1ad1bd5b9060 WHIRLPOOL 8a39b66de7735fea710e8ece9e93b55198caeec1cf02a2e81641cc226b5531086969e318483534754e62f79a1f48462fcce76b78c8476047d860ffa327d7b703 MISC ChangeLog 4207 SHA256 dba1c3d48453b6f15d38c4967ee9b15ffe22850630e584cafa36ea12da4a5e71 SHA512 4be1d86940dea35e1c89cd2c3067ad0c9c03b35b6df0cc7df0a243b0f389ac24b120057a8b9723c2855e6b8049c17eb8c9eef3727c9a55b598a24aaa720a1564 WHIRLPOOL 50e03b23716cbc460dfb7740681c021579e03f74cbf8ff73ba51028573514e681e7a15ed75e4f01df11badd9e507683183869c53113702126b916361fcad65b1 MISC metadata.xml 334 SHA256 082d9160d1818ef495b10b1a852139c7204a5b902b2a6eda23263084d158620a SHA512 105a5442ba05b94b2886f9075bd89268d4f2e0567ad69a637a1bd7d7d0eafdc280dfdb198aab5d72525300a9be0d4ad78f6bfe6398c896cc9de0f591651d102c WHIRLPOOL 4097a8bf70b145b21a6b6306895a5262a4e59443bebc93234114b171555756afe9e0cf53efc036c53b849426fdb2086759b50533219278034abc3e75f9f329c1 diff --git a/net-print/hplip-plugin/hplip-plugin-3.17.9.ebuild b/net-print/hplip-plugin/hplip-plugin-3.17.9.ebuild deleted file mode 100644 index 8617df53c8dc..000000000000 --- a/net-print/hplip-plugin/hplip-plugin-3.17.9.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit udev unpacker - -DESCRIPTION="Proprietary plugins and firmware for HPLIP" -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html" -#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run" -SRC_URI="http://hplipopensource.com/hplip-web/plugin/hplip-${PV}-plugin.run" - -LICENSE="hplip-plugin" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - ~net-print/hplip-${PV} - virtual/udev -" -DEPEND="" - -S=${WORKDIR} - -HPLIP_HOME=/usr/share/hplip - -# Binary prebuilt package -QA_PRESTRIPPED=" - /usr/share/hplip/fax/plugins/fax_marvell.so - /usr/share/hplip/prnt/plugins/hbpl1.so - /usr/share/hplip/prnt/plugins/lj.so - /usr/share/hplip/scan/plugins/bb_escl.so - /usr/share/hplip/scan/plugins/bb_marvell.so - /usr/share/hplip/scan/plugins/bb_soapht.so - /usr/share/hplip/scan/plugins/bb_soap.so -" - -# License does not allow us to redistribute the "source" package -RESTRICT="mirror" - -src_unpack() { - unpack_makeself "hplip-${PV}-plugin.run" -} - -src_install() { - local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32') - - insinto "${HPLIP_HOME}"/data/firmware - doins *.fw.gz - - for plugin in *-${hplip_arch}.so; do - local plugin_type=prnt - case "${plugin}" in - fax_*) plugin_type=fax ;; - bb_*) plugin_type=scan ;; - esac - - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins - newexe ${plugin} ${plugin/-${hplip_arch}} - done - - mkdir -p "${ED}/var/lib/hp/" - cat >> "${ED}/var/lib/hp/hplip.state" <<-_EOF_ - [plugin] - installed = 1 - eula = 1 - version = ${PV} - _EOF_ -} diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index cb45c5a25510..4cb38a73897f 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -2,10 +2,8 @@ DIST hplip-3.16.2-patches-1.tar.xz 8188 SHA256 8a9a78e0caac1731eae79f047a6054b41 DIST hplip-3.16.3.tar.gz 22408596 SHA256 42d2302ee38bda41caa0f2f9524a91f531e3aa432814ffd45b3e5c396dc30194 SHA512 32d2f88c0983208e77592f73bf65cf2900cd6aa234d09220a18b45b5fc4bd0d10e9cfc8c7a10639e5a51ad5f5d0f8ed7bd477d08c86b89c633a1bbcd42682915 WHIRLPOOL b287ecf80c2e7b0da0de0afefcf60c507f9d42c74dbba1e745b4b43f253a5b0dedb6398a1f073e14d196296da47764e983138c0151e05bfc7a5dd416458662a0 DIST hplip-3.17.10.tar.gz 23878364 SHA256 0f7344174672f63a98a22f3c109005b6eb89fe738b7d466316bf2c53d083476c SHA512 0c1c78730d269ec41f95bbde887a490aebb4c9c3dcb9784052a1c3b537c12093cbc426e1f79266c63dd5e7adecdda0735b9bf964ddc1307b2c6603f3fa0462a8 WHIRLPOOL d8bffafedcfa40686d4e076c9a74af461a0ea29fec2a2effb5324fba8e60d9c85b13a0e8f73bfaf014ccb7bf4eb4e0d1eeffcdecc0efc4d1f31dd065d4093090 DIST hplip-3.17.9-patches-1.tar.xz 8484 SHA256 2ec368039a59e375bebf565bd679dd3bedb1e0c1ecfc103c5dcf9bb2701ba9d7 SHA512 125f9cfd1c3cad662ce33954b8ab9ab1898368b449c4ad78dfe99f29de8025183773272b9865cd22b976a30c502e38254ce0ac59d685299dff7f9314927d546a WHIRLPOOL 2354bd3b158733b668c731ea3fd605170dd4cc0df5ffebc327a69ad33995ec02166d34897567ed69d608a62e97b33bd12fc0066acb6c302677cc68830a2661cf -DIST hplip-3.17.9.tar.gz 23862533 SHA256 b2aad842f51dae7da2dd08d09ce2c27bc5f73c82a560b9494dd33589b0948678 SHA512 25508b91723be9564b9a7e8093159507a1a01a9e50e9e801f452f71c28cce0bddee2f5bf796214fa5752de8d1799fc6fe102779dabae0dbcba1f4de6b207c095 WHIRLPOOL df3bd0a8c4af9e7bf2a4ee534b317e84d89707587f770ab0c6ae98ccd5bea50d8be704ed2f855c9f67af8cdd34afc2ab0b07bd150f8861fc4900aa471a85b6ee EBUILD hplip-3.16.3.ebuild 7462 SHA256 b878478540933b2f1c3b855d2dd88dccd02d8f45559c55c0661a53e1d52f7729 SHA512 d85473a09df3afada1a1a45aae2490adfa7853a426e8f05f3b86db381c15cde6db952e22535241505932a1ed9187646a1bb89ce7ce96db6f2e6e49ee819e5ca3 WHIRLPOOL 2121b7385aaaee2dde3a24fb098669f78575eb829dcffa96bd7f07ec8875da68a0d1da119dc922ba0dcd287ba964c3d5de1cb43cfadbad1f713887c30d02e84c EBUILD hplip-3.17.10.ebuild 7425 SHA256 e498455eed45af48da0e0e4bcc9a78b0ff162cbc1022ddada69b5496d8203308 SHA512 a9f0ecda7bf52aa609937be4ec736ba34152fc740f22bbce58f45d71483a00f8bf9b720d4a5f05daf6aa973505fa7084c42b3972fefcd0fda529fa053aa7ea67 WHIRLPOOL bd704a54e71b833d91e614f70d98143078f77127376afbdff3b2a7dea6d3d0150ca1529e4b1dfe61c56a7acaafb25d32120d60d6fbf36d89cc3e78dd2627c92d -EBUILD hplip-3.17.9-r1.ebuild 7400 SHA256 b18d117216f2fe51b0f8f3e22667835c001ad31d06019345637ced8d7aa80edc SHA512 237d4b6bb18c16a812d2fc100f71fc6a3848ff9e5077a5f7acd29cdb5e47f0f8bf5a175e045a10bfac0cf4e7fe4a59c0d7858dbe063740b1a308574a5404326e WHIRLPOOL b6fa6ae42f820ba8149205083e2ef18af471142d0adb3ffe4ad4df5f1ce8df4761f80f9bd68c52ee3c5fd354fb4c2fca9566b75a5195ac112e0dfad8a32d35a9 MISC ChangeLog 10553 SHA256 478b5142e0cb6d90ed824076a36fc23072d79f259a51ee996c627ab5fe3db088 SHA512 d7dba727b6b20f1898f45d522825f2f0f290242c026380dfbd8f21c9fc13513325e5d068f8ea68966a2a2e5f177a72e356ce7b78f0d954988a72a4b1d45b4052 WHIRLPOOL 20517487b3fa070f441362ce9fce49adf6f747b5433f888b01dd5ff490f0ea9e6f54e389b4e85497cc70c2cb6f007be20326b73395a6a3ff1c6b11f3e89363e8 MISC ChangeLog-2015 54819 SHA256 554474d3a1d6d3526536b50eb23527cd6747f93ac62bc41609172c7786106c25 SHA512 575bbc609adada123e29a9f311603d8e9c277ef2ad288ff2f85e97e12214eea3ad4c4e18e8d82a6493d12365f3af865a43e7b69da5bdfa2879a11d58b4c079de WHIRLPOOL 7bfc750377d8f3777a212398bee212671b72676588a5b3423212c7f95f061ff07d4330187a6f1a3530df7aedcb6c0ab1f1702e742c87979ec143daad9c348626 MISC metadata.xml 1767 SHA256 bf65f35c2e3d4d64dbaaf0ec88b2ac9fdae734315948c0165e6827281253b585 SHA512 eab26de132a410104ad260bf09962702fdc0c554261511264d4d95375a7afa07fa5b902115e4a500d5371e54f483c6f655f6d0c1fbc387e46f10e98d20b842b3 WHIRLPOOL 4291d4991d4c78ddaff7fdbb96ad8fb7f0e3222ca427eeaca7546c95a98ef44865b050e0c7918655f95a95510552f295b3e9b5bf167dbaef58d0d29dd06bde1f diff --git a/net-print/hplip/hplip-3.17.9-r1.ebuild b/net-print/hplip/hplip-3.17.9-r1.ebuild deleted file mode 100644 index 12247e7fa678..000000000000 --- a/net-print/hplip/hplip-3.17.9-r1.ebuild +++ /dev/null @@ -1,254 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -PYTHON_REQ_USE="threads,xml" - -inherit autotools linux-info python-single-r1 readme.gentoo-r1 udev - -DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and service tools" -HOMEPAGE="http://hplipopensource.com/hplip-web/index.html" -SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz - https://dev.gentoo.org/~billie/distfiles/${PN}-3.17.9-patches-1.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" - -IUSE="doc fax +hpcups hpijs kde libressl -libusb0 minimal parport policykit qt5 scanner +snmp static-ppds X" - -# dependency on dev-python/notify-python dropped due to python 3 incompatibility -# possible replacement notify2 (https://pypi.python.org/pypi/notify2/0.3) not in tree - -COMMON_DEPEND=" - net-print/cups - virtual/jpeg:0 - hpijs? ( net-print/cups-filters[foomatic] ) - !minimal? ( - ${PYTHON_DEPS} - sys-apps/dbus - !libusb0? ( virtual/libusb:1 ) - libusb0? ( virtual/libusb:0 ) - scanner? ( media-gfx/sane-backends ) - snmp? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - net-analyzer/net-snmp - ) - ) -" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig -" -RDEPEND="${COMMON_DEPEND} - app-text/ghostscript-gpl - !minimal? ( - >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/pygobject:2[${PYTHON_USEDEP}]' 'python2*') - $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*') - fax? ( dev-python/reportlab[${PYTHON_USEDEP}] ) - kernel_linux? ( virtual/udev ) - qt5? ( >=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}] ) - scanner? ( - >=dev-python/reportlab-3.2[${PYTHON_USEDEP}] - >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}] - X? ( || ( - kde? ( kde-misc/skanlite ) - media-gfx/xsane - media-gfx/sane-frontends - ) ) - ) - ) - policykit? ( sys-auth/polkit ) -" - -REQUIRED_USE="!minimal? ( ${PYTHON_REQUIRED_USE} )" - -PATCHES=( - "${WORKDIR}/patches" -) - -CONFIG_CHECK="~PARPORT ~PPDEV" -ERROR_PARPORT="Please make sure kernel parallel port support is enabled (PARPORT and PPDEV)." - -#DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -For more information on setting up your printer please take -a look at the hplip section of the gentoo printing guide: -https://wiki.gentoo.org/wiki/Printing - -Any user who wants to print must be in the lp group. -" - -pkg_setup() { - use !minimal && python-single-r1_pkg_setup - - use scanner && ! use X && ewarn "You need USE=X for the scanner GUI." - - if ! use hpcups && ! use hpijs ; then - ewarn "Installing neither hpcups (USE=-hpcups) nor hpijs (USE=-hpijs) driver," - ewarn "which is probably not what you want." - ewarn "You will almost certainly not be able to print." - fi - - if use minimal ; then - ewarn "Installing driver portions only, make sure you know what you are doing." - ewarn "Depending on the USE flags set for hpcups or hpijs the appropiate driver" - ewarn "is installed. If both USE flags are set hpijs overrides hpcups." - else - use parport && linux-info_pkg_setup - fi -} - -src_prepare() { - default - - if use !minimal ; then - python_export EPYTHON PYTHON - python_fix_shebang . - fi - - # Make desktop files follow the specification - # Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=443680 - # Upstream bug: https://bugs.launchpad.net/hplip/+bug/1080324 - sed -i -e '/^Categories=/s/Application;//' \ - -e '/^Encoding=.*/d' hplip.desktop.in || die - sed -i -e '/^Categories=/s/Application;//' \ - -e '/^Version=.*/d' \ - -e '/^Comment=.*/d' hplip-systray.desktop.in || die - - # Fix for Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=345725 - # Upstream bug: https://bugs.launchpad.net/hplip/+bug/880847, - # https://bugs.launchpad.net/hplip/+bug/500086 - local udevdir=$(get_udevdir) - sed -i -e "s|/etc/udev|${udevdir}|g" \ - $(find . -type f -exec grep -l /etc/udev {} +) || die - - # Force recognition of Gentoo distro by hp-check - sed -i \ - -e "s:file('/etc/issue', 'r').read():'Gentoo':" \ - installer/core_install.py || die - - # Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip - # The hpcups driver does not use foomatic-rip - local i - for i in ppd/hpijs/*.ppd.gz ; do - rm -f ${i}.temp || die - gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \ - gzip > ${i}.temp || die - mv ${i}.temp ${i} || die - done - - eautoreconf -} - -src_configure() { - local myconf drv_build minimal_build - - if use libusb0 ; then - myconf="${myconf} --enable-libusb01_build" - else - myconf="${myconf} --disable-libusb01_build" - fi - - if use hpcups ; then - drv_build="$(use_enable hpcups hpcups-install)" - if use static-ppds ; then - drv_build="${drv_build} --enable-cups-ppd-install" - drv_build="${drv_build} --disable-cups-drv-install" - else - drv_build="${drv_build} --enable-cups-drv-install" - drv_build="${drv_build} --disable-cups-ppd-install" - fi - else - drv_build="--disable-hpcups-install" - drv_build="${drv_build} --disable-cups-drv-install" - drv_build="${drv_build} --disable-cups-ppd-install" - fi - - if use hpijs ; then - drv_build="${drv_build} $(use_enable hpijs hpijs-install)" - if use static-ppds ; then - drv_build="${drv_build} --enable-foomatic-ppd-install" - drv_build="${drv_build} --disable-foomatic-drv-install" - else - drv_build="${drv_build} --enable-foomatic-drv-install" - drv_build="${drv_build} --disable-foomatic-ppd-install" - fi - else - drv_build="${drv_build} --disable-hpijs-install" - drv_build="${drv_build} --disable-foomatic-drv-install" - drv_build="${drv_build} --disable-foomatic-ppd-install" - fi - - if use minimal ; then - if use hpijs ; then - minimal_build="--enable-hpijs-only-build" - else - minimal_build="--disable-hpijs-only-build" - fi - if use hpcups ; then - minimal_build="${minimal_build} --enable-hpcups-only-build" - else - minimal_build="${minimal_build} --disable-hpcups-only-build" - fi - fi - - econf \ - --disable-cups11-build \ - --disable-lite-build \ - --disable-foomatic-rip-hplip-install \ - --disable-shadow-build \ - --disable-qt3 \ - --disable-qt4 \ - --disable-udev_sysfs_rules \ - --with-cupsbackenddir=$(cups-config --serverbin)/backend \ - --with-cupsfilterdir=$(cups-config --serverbin)/filter \ - --with-docdir=/usr/share/doc/${PF} \ - --with-htmldir=/usr/share/doc/${PF}/html \ - ${myconf} \ - ${drv_build} \ - ${minimal_build} \ - $(use_enable doc doc-build) \ - $(use_enable fax fax-build) \ - $(use_enable !minimal gui-build) \ - $(use_enable !minimal dbus-build) \ - $(use_enable parport pp-build) \ - $(use_enable policykit) \ - $(use_enable qt5) \ - $(use_enable scanner scan-build) \ - $(use_enable snmp network-build) -} - -src_install() { - # disable parallel install - # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=578018 - emake -j1 DESTDIR="${D}" install - einstalldocs - # default - - # Installed by sane-backends - # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=201023 - rm -f "${ED%/}"/etc/sane.d/dll.conf || die - - rm -f "${ED%/}"/usr/share/doc/${PF}/{copyright,README_LIBJPG,COPYING} || die - rmdir --ignore-fail-on-non-empty "${ED%/}"/usr/share/doc/${PF}/ || die - - # Remove hal fdi files - rm -rf "${ED%/}"/usr/share/hal || die - - find "${D}" -name '*.la' -delete || die - - if use !minimal ; then - python_export EPYTHON PYTHON - python_optimize "${ED%/}"/usr/share/hplip - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} |