diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-07 06:41:06 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-07 06:41:06 +0000 |
commit | d69399c7befdd98cda62d6a1788ae2aa7f104c5e (patch) | |
tree | eac7184f4cfe7d67580c1d0a0d9942a91e6cb4ee /net-print | |
parent | e4d9d6796d5018e338f0b27a3bc97716195bf0b8 (diff) |
gentoo auto-resync : 07:01:2025 - 06:41:06
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/Manifest.gz | bin | 6425 -> 6419 bytes | |||
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/Manifest | 3 | ||||
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.5.ebuild | 39 | ||||
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/files/1.6.5-warnings.patch | 42 | ||||
-rw-r--r-- | net-print/hplip/Manifest | 2 | ||||
-rw-r--r-- | net-print/hplip/hplip-3.24.4.ebuild | 296 |
6 files changed, 0 insertions, 382 deletions
diff --git a/net-print/Manifest.gz b/net-print/Manifest.gz Binary files differindex 1ef8481f008a..f5b5cca463d1 100644 --- a/net-print/Manifest.gz +++ b/net-print/Manifest.gz diff --git a/net-print/epson-inkjet-printer-escpr/Manifest b/net-print/epson-inkjet-printer-escpr/Manifest index 2b2d986b4d4f..06684609b703 100644 --- a/net-print/epson-inkjet-printer-escpr/Manifest +++ b/net-print/epson-inkjet-printer-escpr/Manifest @@ -1,12 +1,9 @@ -AUX 1.6.5-warnings.patch 1115 BLAKE2B eac889dc8f5b39bbcf633c3ff2469ba1d3e07f475aa29f82e2ff81568aa72e2a3c25018c481b9d56bfd321314fb931561bbaed5b0883597c6fb296465ac486f1 SHA512 8a32ce7d22bb97cf1a7c1864353cab4a148eb4d1dc599f355420e0119dfb89abbfb66cbe58c8f35e2f8fc3a62b0c4018e0d48065acd21b17cb250e4722b9e027 AUX 1.8.6-warnings.patch 1624 BLAKE2B bbbb104be24df30a8b9391b6a9e781b4e74d7ff59a50a14ad7c06a3da9d2b99bc221c2c962275f050e9e8051d30c5121dcbcd786b2025571fbdb43440f8ab418 SHA512 59c604214a67473d3d6ffb48c30e295548f5205ff5827acdefb3d2ad54948d404a202090fb92ce40f6087f4482dc1d77d5a2ad1713ce7adea72104bb18bc2594 AUX epson-inkjet-printer-escpr-1.7.7-fnocommon.patch 309 BLAKE2B 70e10c99dcf8b5d06acd38722f419c09f994253538d88cc9621051ee58b8a9cbe203c35c279c9ef8b5f0f7cd091118a0b2ccf802e09e2996f4e6346e7927f695 SHA512 5cff64797453868d1d0540a22fd72b53d7214d2e9c574cdf635206baf71fc227147babcfe97c73193ca356ad40afa5bb7ea80107576efee138b936e052b9fb2d AUX epson-inkjet-printer-escpr-1.8-missing-include.patch 6575 BLAKE2B 24e0d0e2674fb74b4cfabe27a695c08f4b1a87a26ddb82956157449c09c4f0e71ca9585db3507b92902ec7deb02a41a3aa9df770820379bcd851b47f4865b8e1 SHA512 392b4713ca94fd8656d39205f61db3f5491c09a15f5dc1f1239a07928d62d243d24941893c197bc227195129e7e346c8479de234aaafbf91d64716dba395068a AUX gcc-no-implicit-function-declaration-1.2.patch 2421 BLAKE2B 158c074ec7d37ee1a09b29bbee21c29da0ff2784fe25b22f64d2b199b07a8d8c90ca92477f7c284ded194c1a66bee219943b7c827bf7fb1b58227b3e7caedc3b SHA512 55533abc7b4f4cfa6c95868726721e59d187601722c0b2daa38d913f15ce9c695ae4c900274c46a770cfcdf85c46f77c724b936686a70bae34be5660c41a34aa -DIST epson-inkjet-printer-escpr-1.8.5-1.tar.gz 5666905 BLAKE2B 549c948709993779b5615b501038fdceb6c3d6f173709b8cf99459346fff89923bdbe1babe34ee98eed4e1ebbd7a4b5962ddbc9cec9711aa15ff2056fec3d436 SHA512 4117b1efe903e4f506bbc67c45079f1d467ff6527691308734e55d32feeda3ec44b2dd85361e0243114f924eef04a91b0a5e86b5008f0a32ef323989b3d2896f DIST epson-inkjet-printer-escpr-1.8.6-1.tar.gz 5715741 BLAKE2B 0da5e0af022bf2ce42ef94631c984b8308562bcb8f1f47a8f50b77be09326a80e9495ddaf02becdf72e78e50041f73cdd558c96d72046600452de50bc68f1bc8 SHA512 d0040c99793ba33e54ec5f0137f3b672628f089a6cd792916c24fc5edab75702561dade91eb63cd4b3b8e898f7b4647c899ca425e1449a401c7ff562f8cc0f1e DIST epson-inkjet-printer-escpr2-1.2.15-1.tar.gz 5560479 BLAKE2B 8180fe06df8175ec31044b0eec2a125b9567c11a827343401a07e59e8bd93e689617b9b29364374f1d6ba6d6bca320d6615f601791c59e966d3a4d63f7adbeb0 SHA512 62cd5161f65f8ca6f8c1a8bb755e06eb147d4a06b5f796a8068ed9235b3abf38e6ccb10e82bdd93fddc085b90a7f9332e024ba09679aa08490a05735c0372653 EBUILD epson-inkjet-printer-escpr-1.2.15.ebuild 984 BLAKE2B a652211011d88737af38b062d5a4a038a0f832374b5b232aaa9a5684541710052c431d377c4738bbd409f275990c0a94f3a2b1c4a042ef97883bda6d92a63812 SHA512 3ac40276d11f11f695de917faac0ee7be2cf702af748ce7af2dbb286c8f2e192bb27008ea98207734b8d79944924a3bada9789605775740a5287554120df4f99 -EBUILD epson-inkjet-printer-escpr-1.8.5.ebuild 1079 BLAKE2B e718ecb13d39a8bfe03f65f8adad42895b853f686ad3f3166bfe3f0735b80aa7e5c7db34c7906a1dbc2bc1f8dff61b09d304dd118d90646cec39ab96a0a55753 SHA512 6ee84e32bd3701f8aa2bd1a6bff6b49044a1b3ebbe78599e04bf9355ffee8493013fe5bc78d04cc922053c9337266b9e66250e48b83dab8f42c1e75506fd8106 EBUILD epson-inkjet-printer-escpr-1.8.6.ebuild 1224 BLAKE2B 2a3c268c0babe48ec290dd7704bb3f94d632e49e816787d706523da60db100170893dceb0fe557865ff28ec1f91bcdf7161867601cf1fbb437944d404ee7021d SHA512 0c70f2f372be9c7c6cfc68eafdd51ad863702b1a9fd7d8c00c964d50f8d1c7c227976c21b9b2587efc8ae455bedfad35137d13be26cb3473d6d86d6c415199a3 MISC metadata.xml 1890 BLAKE2B b90489bd80a2957d1a6287a727d847c1fdbdfb576f7e816b60196b7d82ac13c72fd19322202f651cdfd11b56fe09fe962230f0d2eb4f1a9565ff9ad9b9ab0c24 SHA512 8cb73e282d607a5699d4c3e4f6f6f4663153ea9a0240a5b6b73317ab7ffb8ba1d54ed00c7b6ed53045059b246f62ee841cf27cc83a56a7ed72d9b2131463bc24 diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.5.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.5.ebuild deleted file mode 100644 index ca70ea12d8a6..000000000000 --- a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.8.5.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)" -HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" - -# https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr.php -# Use the "source package for arm CPU" to get a tarball instead of an srpm. -SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/15/68/89/fbff579f15226ffcc4a16895bd6bce6842277802/${P}-1.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc64" - -DEPEND="net-print/cups" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/1.6.5-warnings.patch" - "${FILESDIR}/${PN}-1.7.7-fnocommon.patch" - "${FILESDIR}/${PN}-1.8-missing-include.patch" -) - -src_configure() { - econf --disable-shared - - # Makefile calls ls to generate a file list which is included in Makefile.am - # Set the collation to C to avoid automake being called automatically - unset LC_ALL - export LC_COLLATE=C -} - -src_install() { - emake -C ppd DESTDIR="${D}" install - emake -C src DESTDIR="${D}" install - einstalldocs -} diff --git a/net-print/epson-inkjet-printer-escpr/files/1.6.5-warnings.patch b/net-print/epson-inkjet-printer-escpr/files/1.6.5-warnings.patch deleted file mode 100644 index afd88b99eedf..000000000000 --- a/net-print/epson-inkjet-printer-escpr/files/1.6.5-warnings.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/lib/epson-escpr-api.h -+++ b/lib/epson-escpr-api.h -@@ -111,6 +111,9 @@ - /*** -------------------------------------------------------------------------------*/
- extern EPS_ERR_CODE epsMakeMainteCmd (EPS_INT32, EPS_UINT8*, EPS_UINT32* );
-
-+extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB* );
-+extern EPS_ERR_CODE SendStartJob (EPS_BOOL );
-+extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
- #ifdef __cplusplus
- }
- #endif
---- a/src/filter.c -+++ b/src/filter.c -@@ -33,7 +33,9 @@ - - #include "epson-protocol.h" - #include "epson-escpr-api.h" -+#include "epson-escpr-services.h" - #include "epson-escpr-mem.h" -+#include "epson-escpage.h" - - #include "err.h" - #include "mem.h" -@@ -42,6 +44,7 @@ - #include "libprtX.h" - #include "optBase.h" - #include "linux_cmn.h" -+#include "xfifo.h" - - #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4) - ---- a/src/mem.c -+++ b/src/mem.c -@@ -23,6 +23,7 @@ - #endif - - #include <stdlib.h> -+#include "err.h" - #include "mem.h" - - void * diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index 14f9e1cd5d82..8dcc727edd9e 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -1,6 +1,4 @@ -DIST hplip-3.24.4-patches-1.tar.xz 22068 BLAKE2B 9b388033b17315c407014b0b344e2994c456c84dd856f3f522e202b431a03fb315060d74ead98696af62934fa5e5d44185cae20cd3171252f33049a9832b15f5 SHA512 292c5717627ecbb5f50b2ecad82fdf43bb80c3128f1e4c3cc806167dd34ac9c7c5c2a988103ec18fc82483ba95221261c7935271a0b213523f00a4e9de23731c DIST hplip-3.24.4-patches-2.tar.xz 22240 BLAKE2B 6fe2a7378e54e01964168ebfdb175efc99cb778bb98e3a488da16da89759efec875d8caf54e3efacb365bff008065c425d6b617cca5e9c0abfb8099867a3aad4 SHA512 7acf3b1a885ebfff3e97ed8d74387e6c5636e7f3595b8a379342cff844c0b780ff88d3ca035fec80d761d926b9a3a608a1ba3352f9059ad62a3409967462c6ae DIST hplip-3.24.4.tar.gz 30217933 BLAKE2B 0b5c93465f6d9e30916bf57fd7f2d490d2f04ef80ed1654a7d2c6adc57a5293e358720a71bbb76757a1496d9f7ca05f077f6e9ea62cfa243319fe9d551440710 SHA512 6162ec58289433659ed4c3a254b2a50863c01acb87a8c0e1a1f935fed2b1916c5ae211c2d84130f40963368ff53e0c8da1878a1fce4dd08bd517f65bbcf6a2d2 EBUILD hplip-3.24.4-r1.ebuild 8537 BLAKE2B 7aa196593123faa1819a2ebbb69159e829941e15cbf744c6f7501e3c685e4933306204fc0106aebf0601146252a67fd273716d43dce80214ffe1baebc19024bd SHA512 ffbd1c4dea55109e2d3e77ab08223b24bf58d667ea1cb04f37cc063cc7becb3edff5a5ee80cf7aefcf5f81a50fba035bfdeb5d5836607443c0b3b629bf9b5732 -EBUILD hplip-3.24.4.ebuild 8537 BLAKE2B 91f793264f1f1fee5de5d98804cf0cf9795af49e7bc733f51fa1fbb99816929f89dfbaaee9968949bdf1b4e11e5b1299d3f9b07e6d5803fad4ba8a67c46d96d9 SHA512 d01ed602cff73dae983c826bdd7152f0c62db1b934d49d74c1344cf572e0d767a599d131daf9e4fd2ac61b0ae67fa18a8749c3a9e6ac6b21759c5ae669b4ad2a MISC metadata.xml 1849 BLAKE2B 381cc0d0fe08d072487850a5f5ac6e264cb4ee5db8722b6f83ad9d4e6e78948a7768e80ea2a8a2313bdca1029b59a02d8c3ca309d9438d5e4d63585f7a6b2a83 SHA512 0f5f42b561099e943d99dc5e50cfd42577582b31590c0cd98f276e5acc364fb31f4a48cf91b33e923d24daa77b7b3a6bc54a0c24d9ebff9e3ec82c957a5671e3 diff --git a/net-print/hplip/hplip-3.24.4.ebuild b/net-print/hplip/hplip-3.24.4.ebuild deleted file mode 100644 index 61c2933b087d..000000000000 --- a/net-print/hplip/hplip-3.24.4.ebuild +++ /dev/null @@ -1,296 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10,11,12} ) -PYTHON_REQ_USE="threads(+),xml(+)" - -inherit autotools flag-o-matic linux-info python-single-r1 readme.gentoo-r1 udev - -DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and service tools" -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.gz - https://dev.gentoo.org/~billie/distfiles/${PN}-3.24.4-patches-1.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 x86" - -IUSE="doc fax +hpcups hpijs kde libnotify libusb0 minimal parport policykit qt5 scanner +snmp static-ppds X" - -COMMON_DEPEND=" - net-print/cups - media-libs/libjpeg-turbo:0 - hpijs? ( net-print/cups-filters[foomatic] ) - !libusb0? ( virtual/libusb:1 ) - libusb0? ( virtual/libusb:0 ) - ${PYTHON_DEPS} - !minimal? ( - sys-apps/dbus - scanner? ( - media-gfx/sane-backends - ) - snmp? ( - dev-libs/openssl:0= - net-analyzer/net-snmp:=[${PYTHON_SINGLE_USEDEP}] - net-dns/avahi[dbus,python,${PYTHON_SINGLE_USEDEP}] - ) - ) -" -BDEPEND=" - virtual/pkgconfig -" -DEPEND=" - ${COMMON_DEPEND} -" -RDEPEND=" - ${COMMON_DEPEND} - app-text/ghostscript-gpl - !minimal? ( - $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*') - kernel_linux? ( virtual/udev ) - $(python_gen_cond_dep ' - >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - fax? ( dev-python/reportlab[${PYTHON_USEDEP}] ) - qt5? ( - >=dev-python/pyqt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}] - libnotify? ( dev-python/notify2[${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="${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 -" - -pkg_setup() { - python-single-r1_pkg_setup - - use scanner && ! use X && ewarn "You need USE=X for the scanner GUI." - - use parport && linux-info_pkg_setup - - 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." - ewarn "This also disables fax, network, scanner and gui support!" - fi - - 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 -} - -src_prepare() { - default - - python_fix_shebang . - - # 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 - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/861851 - # https://bugs.launchpad.net/hplip/+bug/2055371 - filter-lto - - local drv_build minimal_build - - 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 - minimal_build="${minimal_build} --disable-dbus-build" - minimal_build="${minimal_build} --disable-fax-build" - minimal_build="${minimal_build} --disable-network-build" - minimal_build="${minimal_build} --disable-scan-build" - minimal_build="${minimal_build} --disable-gui-build" - else - minimal_build="${minimal_build} --enable-dbus-build" - if use fax ; then - minimal_build="${minimal_build} --enable-fax-build" - else - minimal_build="${minimal_build} --disable-fax-build" - fi - if use snmp ; then - minimal_build="${minimal_build} --enable-network-build" - else - minimal_build="${minimal_build} --disable-network-build" - fi - if use scanner ; then - minimal_build="${minimal_build} --enable-scan-build" - else - minimal_build="${minimal_build} --disable-scan-build" - fi - if use qt5 ; then - minimal_build="${minimal_build} --enable-qt5" - minimal_build="${minimal_build} --enable-gui-build" - else - minimal_build="${minimal_build} --disable-gui-build" - minimal_build="${minimal_build} --disable-qt5" - fi - fi - - # disable class driver for now - econf \ - --disable-class-driver \ - --disable-cups11-build \ - --disable-foomatic-rip-hplip-install \ - --disable-imageProcessor-build \ - --disable-lite-build \ - --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 \ - --enable-hpps-install \ - ${drv_build} \ - ${minimal_build} \ - $(use_enable doc doc-build) \ - $(use_enable libusb0 libusb01_build) \ - $(use_enable parport pp-build) \ - $(use_enable policykit) - - # hpijs ppds are created at configure time but are not installed (3.17.11) - - # 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 -} - -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 - - # Remove desktop and autostart files - # Gentoo Bug: https://bugs.gentoo.org/show_bug.cgi?id=638770 - use qt5 || { - rm -Rf "${ED}"/usr/share/applications "${ED}"/etc/xdg - } - - 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 - - python_optimize "${ED}"/usr/share/hplip - - readme.gentoo_create_doc -} - -pkg_postinst() { - udev_reload - readme.gentoo_print_elog -} - -pkg_postrm() { - udev_reload -} |