From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- net-print/Manifest.gz | Bin 6079 -> 6079 bytes net-print/cups-filters/Manifest | 2 + net-print/cups-filters/cups-filters-1.28.12.ebuild | 129 ++++++++++ net-print/cups/Manifest | 8 +- net-print/cups/cups-2.3.3-r4.ebuild | 7 +- net-print/cups/cups-2.3.3_p2-r2.ebuild | 7 +- net-print/cups/cups-2.3.3_p2-r3.ebuild | 7 +- net-print/cups/cups-9999.ebuild | 7 +- net-print/gutenprint/Manifest | 5 - .../gutenprint/files/gutenprint-5.3.3-epson.patch | 54 ---- .../files/gutenprint-5.3.3-selphy-typo.patch | 22 -- net-print/gutenprint/gutenprint-5.3.3-r1.ebuild | 84 ------ net-print/gutenprint/gutenprint-5.3.3-r3.ebuild | 94 ------- net-print/hplip-plugin/Manifest | 4 +- net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild | 73 ------ net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild | 73 ++++++ net-print/hplip/Manifest | 5 +- net-print/hplip/hplip-3.21.10.ebuild | 285 --------------------- net-print/hplip/hplip-3.22.2.ebuild | 285 +++++++++++++++++++++ 19 files changed, 502 insertions(+), 649 deletions(-) create mode 100644 net-print/cups-filters/cups-filters-1.28.12.ebuild delete mode 100644 net-print/gutenprint/files/gutenprint-5.3.3-epson.patch delete mode 100644 net-print/gutenprint/files/gutenprint-5.3.3-selphy-typo.patch delete mode 100644 net-print/gutenprint/gutenprint-5.3.3-r1.ebuild delete mode 100644 net-print/gutenprint/gutenprint-5.3.3-r3.ebuild delete mode 100644 net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild create mode 100644 net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild delete mode 100644 net-print/hplip/hplip-3.21.10.ebuild create mode 100644 net-print/hplip/hplip-3.22.2.ebuild (limited to 'net-print') diff --git a/net-print/Manifest.gz b/net-print/Manifest.gz index 32412a2633e2..77acf9794e2d 100644 Binary files a/net-print/Manifest.gz and b/net-print/Manifest.gz differ diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest index aefc73430249..0cacac77e16c 100644 --- a/net-print/cups-filters/Manifest +++ b/net-print/cups-filters/Manifest @@ -2,12 +2,14 @@ AUX cups-browsed.init.d-r1 154 BLAKE2B 81a1b1b6c8b6f0d7ac874c32aa5c5531b7d791711 AUX cups-browsed.init.d-r2 150 BLAKE2B c2098766ae08b38dead0a5bab2e30e1728ab93aa98e74edb6e20f8a885b62189f1368a041c4430ad24a1b92f0ae9cb317ac3390767db0a54ca1532022d44b0bd SHA512 c8a74ad0e5cfd3b565c12eeca50a55b7a6aa3ac92c689fc6632e2a6df5033e6fa7f16ce6c9c2cbf607ad4bd09453ab7d47448cdd04ad8c7e35f0e584b6d96d38 AUX cups-filters-1.28.2-make-missing-testfont-non-fatal.patch 477 BLAKE2B 30e8fd049fb4d16439405aa052134d828a5f9e5e3f79c02e6121d3c15c5374c62d370fe88ab4b761e849ab48ecc0bdde97d36c6fd98056d0dc195464c7648a2d SHA512 797e8530f5a44b4e4975399076e4e1c537da968a9ed8272baaf1e457a025bc22478045e780208b1607dbcd4eb31b91ac605781cf6eae47ffcdd748e34d126327 DIST cups-filters-1.28.10.tar.xz 1503924 BLAKE2B b745ad9d35e375411d43acc8936a7be3197deda26d64c3fcdf792abf751452a83ab4e77b25336509a4d15a7db3dd142c94f3fd108f514d4956ac62f00310b263 SHA512 d6079633e10c3cfdc744491df03adc73d98dab0d9c0c6d3bc426b751545ae3434ea875e0841cec9358c19336347903f2832b5f801700b371cc1959e031bfa659 +DIST cups-filters-1.28.12.tar.xz 1505868 BLAKE2B a30f4772f89822dd110312ad2b2fb40ffcd093cee119df0660191938b374f4f99178c8e8801c8ff41bf01822a7e9c0e8aebd1d2f96159d377a40f7047da3177a SHA512 430e31815fe3b40b2d12c8db0a9e38060398d9ba3306af5562bc887dd99b06971765b98ba7227a0478d9f6616dd825149f138a2367b442ea0593708eb34140f6 DIST cups-filters-1.28.3.tar.xz 1501824 BLAKE2B b4f493681ac2a701648b3b9b071f4ebfb432dd4660b610579ff2ed6cba4f6cd4351d5a1f28f5c096b3ba20d9c45dc87837bf127b9bc98680a98dec58dd0a68ea SHA512 ac139ae7452342bd46e464bff3438d437f1c9a2e719a7b32b7abc22c2667acaa93dfb976decb277a02572e688ecd86289e01fca817bef93018dff2076fb2a30c DIST cups-filters-1.28.7.tar.xz 1503052 BLAKE2B b9d3280871faa79a7c277731bf6eb1eef161537829d4bc07ec36075ebc12a3617dce66994ed708991757ce7d78fc5ab010925a1d3d9811fd11cf1172f4786442 SHA512 fa94f51ca1c208dcacb1814d8b812c9a72dd09475b7cf836b02c72cb5e3290318f37e475ee3ae8d45351715c3a2ccc0df5ac51ae6fc11462f5acdfa303a04727 DIST cups-filters-1.28.8.tar.xz 1502456 BLAKE2B 21dad6dc9a1d2f967f3938f2fc5e35eebadb67da8b526a9ea61599272bd3f87e8efff376661adc02b62b539798cbe46e0f7c5c25ba262da0561b53bbb3d08d5d SHA512 77b39ce2a30ad44d50aa58964b389fa5dd75b2b4307ccb25996050fd176e1e794ad0a66ddd4de76e95a671683c3bf448a4f471272c97a752f25ff6234f7d8511 DIST cups-filters-1.28.9.tar.xz 1502888 BLAKE2B ddfed7c0815673d8a372af96cd879fb159a10d5cdaf07839a0157b94c43cead9d32c62a204513274f2a90b48a09e07d20049b93370b24604f14efe0e782116af SHA512 fbdf01b0a3acd70e3bf036ca4944a8b85ab4ab95d945458e924692008a8a37bb0b1fb097c4d4b3cf6f5ad68ae06e8358659cdfc24974ee629be37b54f5c3dca1 EBUILD cups-filters-1.28.10-r1.ebuild 3596 BLAKE2B 6690d684c3088fcb311e126d0f08906080355351a568255ebf47c5b6e94abd6285b82fe72aa84c31c1a10c8b8dbec3804c616e304927397458603d237a8d8dff SHA512 3145d36379d53c62c73d8b9eb80655e30588d8eb5683c4e13007e8a66a17623becbc2cbfc61b9934a1d1e92278aa685e693a930375a765bd3be99f93cf1a8b16 EBUILD cups-filters-1.28.10.ebuild 3606 BLAKE2B 6078cdea39bbe969f74dbcc7df085d1253008f0a11643d984653a2a0a43de048f3096560313f3240c3f01c02fb457177ff2ffe927eeccf45335cc713e429928b SHA512 18fd7f914a278379a393cc209da189e535e4d625e00d6047a2a7bac30dded7a14a5bedf17021dbb47d0110944823a2ca890f4c6f004c46d2cb75296e79f5d159 +EBUILD cups-filters-1.28.12.ebuild 3184 BLAKE2B 2725b3a2ca011dadfa2a72cf2213e9ca2d263bfcb2be8a873b9a6e10396a574d965fb0bde0b94aa041ba0c7f02b08a722bb01e41a1e7463ab32180e448e4d33e SHA512 9515d38283691e58445fd3008251ac453a384d093bd0f1af9ee6c030f1c65530d9c1a6e129dec23513c8696eb0712a08482f488a8992c27f2ea1db9822519267 EBUILD cups-filters-1.28.3.ebuild 3589 BLAKE2B cea462810ff0d46a9f9a56e71b101425f389fba43bd70fc0130b59ca9665996c26af9b0b8ca73f762360a00cb24e067ea3ffd1898f433e940d717a18695bbda5 SHA512 0f6530019fca4fa788394716135643869c2d3aa3b2425a5b3dde6a250b44fb348b3f398a8de367e48805d8a6a604bc7ecf12e9cb34e9ce289f33da942ebdfcc4 EBUILD cups-filters-1.28.7.ebuild 3589 BLAKE2B cea462810ff0d46a9f9a56e71b101425f389fba43bd70fc0130b59ca9665996c26af9b0b8ca73f762360a00cb24e067ea3ffd1898f433e940d717a18695bbda5 SHA512 0f6530019fca4fa788394716135643869c2d3aa3b2425a5b3dde6a250b44fb348b3f398a8de367e48805d8a6a604bc7ecf12e9cb34e9ce289f33da942ebdfcc4 EBUILD cups-filters-1.28.8.ebuild 3597 BLAKE2B eab701365704a1ec5028b0a1104f3f42aa6bbae974ce8b16af901a41ee2d62ec1924f0ff730e2b72433671b4a1f79a1cc8f1828ccbae0137d81f74bfa679e0ad SHA512 2f6853a56107e804938af1df25312dcbf322c63c358ce9deff6d2d53f93da30f75ee6212042ccafbdd00d965a20a20a880fd96472fed0049ef1085f23eb88a4a diff --git a/net-print/cups-filters/cups-filters-1.28.12.ebuild b/net-print/cups-filters/cups-filters-1.28.12.ebuild new file mode 100644 index 000000000000..0c972279f80c --- /dev/null +++ b/net-print/cups-filters/cups-filters-1.28.12.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GENTOO_DEPEND_ON_PERL=no + +inherit perl-module systemd flag-o-matic + +DESCRIPTION="Cups filters" +HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters" +SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +LICENSE="MIT GPL-2" +SLOT="0" +IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript test tiff zeroconf" + +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-text/poppler-0.32[cxx,jpeg?,lcms,tiff?,utils] + >=app-text/qpdf-8.3.0:= + dev-libs/glib:2 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/lcms:2 + >=net-print/cups-1.7.3 + !<=net-print/cups-1.5.9999 + sys-devel/bc + sys-libs/zlib + dbus? ( sys-apps/dbus ) + foomatic? ( !net-print/foomatic-filters ) + jpeg? ( virtual/jpeg:0 ) + ldap? ( net-nds/openldap ) + pdf? ( app-text/mupdf ) + perl? ( dev-lang/perl:= ) + png? ( media-libs/libpng:0= ) + postscript? ( >=app-text/ghostscript-gpl-9.09[cups] ) + tiff? ( media-libs/tiff:0 ) + zeroconf? ( net-dns/avahi[dbus] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gdbus-codegen + >=sys-devel/gettext-0.18.3 + virtual/pkgconfig + test? ( media-fonts/dejavu ) +" + +src_configure() { + # Bug #626800 + append-cxxflags -std=c++11 + + local myeconfargs=( + --enable-imagefilters + --localstatedir="${EPREFIX}"/var + --with-browseremoteprotocols=DNSSD,CUPS + --with-cups-rundir="${EPREFIX}"/run/cups + --with-fontdir="fonts/conf.avail" + --with-pdftops=pdftops + --with-rcdir=no + --without-php + --disable-static + $(use_enable dbus) + $(use_enable foomatic) + $(use_enable ldap) + $(use_enable pclm) + $(use_enable pdf mutool) + $(use_enable postscript ghostscript) + $(use_enable zeroconf avahi) + $(use_with jpeg) + $(use_with png) + $(use_with tiff) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + if use perl; then + pushd "${S}/scripting/perl" > /dev/null || die + perl-module_src_configure + perl-module_src_compile + popd > /dev/null || die + fi +} + +src_test() { + emake check +} + +src_install() { + default + + if use perl; then + pushd "${S}/scripting/perl" > /dev/null || die + perl-module_src_install + perl_delete_localpod + popd > /dev/null || die + fi + + if use postscript; then + # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 + dosym gstoraster /usr/libexec/cups/filter/pstoraster + dosym gstopxl /usr/libexec/cups/filter/pstopxl + fi + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + + cp "${FILESDIR}"/cups-browsed.init.d-r2 "${T}"/cups-browsed || die + + if ! use zeroconf ; then + sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die + sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die + fi + + doinitd "${T}"/cups-browsed + systemd_dounit "${S}"/utils/cups-browsed.service +} + +pkg_postinst() { + if ! use foomatic ; then + ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely" + ewarn "necessary. net-print/foomatic-filters as a replacement is deprecated and unmaintained." + fi +} diff --git a/net-print/cups/Manifest b/net-print/cups/Manifest index 6f160c5e9cdf..50dd1fb51beb 100644 --- a/net-print/cups/Manifest +++ b/net-print/cups/Manifest @@ -12,8 +12,8 @@ AUX cupsd.init.d-r3 584 BLAKE2B f503663a59673209fc6c161aed3cc214cab2b3e68692078d AUX cupsd.init.d-r4 577 BLAKE2B 48508b10a13ee73e905b3d061275f5cb12ebdc2175ce46affb2007d4a5d007719a147f490e7c17a3e9a5211b82d9b89be7111921b1c9d991a6fc4c457f63eae0 SHA512 23ec5714764f2bac4105130efe6f79a508a352ecb45ab3f6e08042b156af05065330b2ac85615d0ce792a4dcd8f5230302dba9d1a96fca84c11d8bf2573ccc0e DIST cups-2.3.3-source.tar.gz 8140741 BLAKE2B 427e6ee3602aec33ac336d9b2c6c8eb270f2996371f0edd3d69e411b94b2e93fc58a0032ba9f6d048f2c58a1c6b48f742671b4011cd725b882adfcc06ed7fd8a SHA512 7d6f4a01794c5599cc71525778ea785fd17271c31ac146a56e8fc374a88f99e4035d018dae48e37e541455e9cc93b302e892b2e93ec558c1b4bfc46dad68c92d DIST cups-2.3.3op2-source.tar.gz 7993205 BLAKE2B 8c115b91ec185a4820578561aaf681238280b22b5c68b68c484ffbd0fa3c4ec1beb4d426e3f0e33192e32bce78aa8b7f50ed6799732a467fa9e75c34787057ee SHA512 db27dd6fb616bd7ad895b2bdf4ea7b010501358a50dc8f2e7e29558d1cfc088a572b1b35ac512654d3ed410c84df87dc34ca636533a4499117253915d4763117 -EBUILD cups-2.3.3-r4.ebuild 9701 BLAKE2B 4203eb7e427486594802694bc83124de8cdc2d1f116638b22669d4b38aa6132234b15d7551ba50eb0952933887128ce070b2ceb4c2ffd8dde5a7e1e7951079e5 SHA512 09c6f214213c13ceb7d2edaf979a378d2c2ac54040db3a1bcd44580b6dca3480ab75a575bc8338d9c0f167fcc8274cb16208c23419cffab5d5019cf0c9888b12 -EBUILD cups-2.3.3_p2-r2.ebuild 9071 BLAKE2B 3942fb09f2010856b51a83f344fedefa0a2fd8a63e1e7613ba36f24aaca362c96ec9454f9acbf14b7dfd440616dc33514ec7e063884b801c8e491bf2f06a2a81 SHA512 8c08852a1729176b2ad826be11fde8f7e5b3bf2d1f887300d8881d4ee73e08f4baa05c891e42726e9c35cbbb920ce2c17495c7af26877c4c46b7c98da38de330 -EBUILD cups-2.3.3_p2-r3.ebuild 9689 BLAKE2B 8473befac51099d4fe0c735cb5f5a35607394cf8ee026a6304ee6cfda4eb64b60f947c7324c0d6c086b4574c547a88218e3e626e1cedf122af7a14e4f3d88a1e SHA512 3e3c2f53dc3882df7f399a7bdd90ae6e3d444241a3ce4682d493a84fbaae6732e6b3bfb625d382a151e246767b90dd9776c7f2cd050fcaf8cbd9008d585f1ca2 -EBUILD cups-9999.ebuild 9005 BLAKE2B 2321c7ddf922a49e643962932888d7b99f1565328487a1f1cd3b631ee392d056aa7a509962c34d2373687edcd703bfbaadf8836efca698329b9ac526c4846f39 SHA512 2bf49d626434b7c1562386c71ac0d96f2f2f34eb57fa3f02d8dcfc3abfdfcf4f483850fd7e9342542c56a45a542c0ddd91a733648c6dc74db4e0dfd65ae861c8 +EBUILD cups-2.3.3-r4.ebuild 9576 BLAKE2B 4f43af0f9fbf852ee1de861e40c5f14e500c0423ddfc876a1d8f803e57909f77ecc38476e6ae2f5e927b55ebf8d1a31fab586a1b9a4cd5f593c292bd622ed504 SHA512 b685fec0e66bf4d80d5ffa87c7e51b0265caf3bc057ebd023818363fed272a2ee3b2f1fd98f52868312eed40023dc06bab7a1d21e75b09c787a3959d3dde4186 +EBUILD cups-2.3.3_p2-r2.ebuild 8946 BLAKE2B 903d051c6d0150ecfce6a77c489682b53eb78ee547169ab8ab476dc7e3b66d464133b14ca2f6cf882724d41d33639ff5b9da8c4f7dfe3361c14866c045ef9c64 SHA512 7f4edabf8d7e99717560459bb78118341a041e7459debe9caa56e27de99a9dc591472243eb55d74d1ed484e42e15e9279710b38ef0688ab06377e1884eb615a9 +EBUILD cups-2.3.3_p2-r3.ebuild 9564 BLAKE2B 28af05108474223cc54c32b24f4d843b784235072232a118af14a2549482ab0b2754387e14a9ce95423bbbb29daec1528e8c73f6dd2d9b268a204fa7d52656ce SHA512 feaa03a2882670572295e750ed0950e0b384a5f0a51e864a47bd8ea7c4fe40dc6fa6e5920e4d868cb24c67218669b842fdd7f887f68d87e0422e50d56277c7a5 +EBUILD cups-9999.ebuild 8880 BLAKE2B 81fffe1f180384a312aec3a6bc5d1cc30fe3d4e7105fb32c268d718fd63a48e6db8acf2cb406ea3f1fd1a2f0fce2afeeae1add677e636736ddbfa9d998488213 SHA512 74feb5fcb658d0bdc7540b650f47cb5e950178cbb262bed39ac1faf47f822d7515c328eed0dfdacd827802a2e6851718c6b8fe737a8c5ef9c98001b751b71295 MISC metadata.xml 528 BLAKE2B 5dedc19570fc6fa2c8ddf6578b30ec8fb1820fb5deb8e2b62cb0897b1f4805086b59cab33bc5e5a8992f4ce2995fba42ab441a77ccf8889b5c4b05da18fdd966 SHA512 c12285daaf0d3a141e7caead57525e8130fcf6859479ae275ed214a508934b15b4697a0cb3f0f5fb90c2931a1727b6919116f1651af6f5dd7eff2eaef7b41803 diff --git a/net-print/cups/cups-2.3.3-r4.ebuild b/net-print/cups/cups-2.3.3-r4.ebuild index 2c0e2bf040b4..d7f3b5fab7e2 100644 --- a/net-print/cups/cups-2.3.3-r4.ebuild +++ b/net-print/cups/cups-2.3.3-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -91,11 +91,6 @@ MULTILIB_CHOST_TOOLS=( S="${WORKDIR}/${MY_P}" pkg_setup() { - #enewgroup lp -> acct-group/lp - # user lp already provided by baselayout - #enewuser lp -1 -1 -1 lp - #enewgroup lpadmin 106 - if use kernel_linux; then linux-info_pkg_setup if ! linux_config_exists; then diff --git a/net-print/cups/cups-2.3.3_p2-r2.ebuild b/net-print/cups/cups-2.3.3_p2-r2.ebuild index 1fb277c69548..2937e9dfac79 100644 --- a/net-print/cups/cups-2.3.3_p2-r2.ebuild +++ b/net-print/cups/cups-2.3.3_p2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -79,11 +79,6 @@ MULTILIB_CHOST_TOOLS=( S="${WORKDIR}/${MY_P}" pkg_setup() { - #enewgroup lp -> acct-group/lp - # user lp already provided by baselayout - #enewuser lp -1 -1 -1 lp - #enewgroup lpadmin 106 - if use kernel_linux; then linux-info_pkg_setup if ! linux_config_exists; then diff --git a/net-print/cups/cups-2.3.3_p2-r3.ebuild b/net-print/cups/cups-2.3.3_p2-r3.ebuild index 0a5b7bfb2b59..d05803d0c1c5 100644 --- a/net-print/cups/cups-2.3.3_p2-r3.ebuild +++ b/net-print/cups/cups-2.3.3_p2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -84,11 +84,6 @@ MULTILIB_CHOST_TOOLS=( S="${WORKDIR}/${MY_P}" pkg_setup() { - #enewgroup lp -> acct-group/lp - # user lp already provided by baselayout - #enewuser lp -1 -1 -1 lp - #enewgroup lpadmin 106 - if use kernel_linux; then linux-info_pkg_setup if ! linux_config_exists; then diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild index 9dfe3c782811..af141c8f5d36 100644 --- a/net-print/cups/cups-9999.ebuild +++ b/net-print/cups/cups-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -78,11 +78,6 @@ MULTILIB_CHOST_TOOLS=( S="${WORKDIR}/${MY_P}" pkg_setup() { - #enewgroup lp -> acct-group/lp - # user lp already provided by baselayout - #enewuser lp -1 -1 -1 lp - #enewgroup lpadmin 106 - if use kernel_linux; then linux-info_pkg_setup if ! linux_config_exists; then diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest index f3b89b187f8e..22797d4f0da3 100644 --- a/net-print/gutenprint/Manifest +++ b/net-print/gutenprint/Manifest @@ -1,9 +1,4 @@ AUX gutenprint-5.3.1-cflags.patch 659 BLAKE2B 90beb435d0b9a036f31e25f78afedca178b2b6d7bba3cf294ae45699e139d136bbc996dfca86db65d64a61ef004c343ba55f7e097e7304b1d6392efe0ed9cc31 SHA512 f7bac5fd0cff9c1e5b47c965c0304ffda47478241f715de4ada829a295ec54adf198046699bab866166f974c692ac525207f0541e7ba6959e18d63765128327d -AUX gutenprint-5.3.3-epson.patch 5637 BLAKE2B 7cb05d40e23ca30bd59b0863318d22c9115c4462b960b154a0da61f66f08c4abf31606c762f5b35e4a3a55218e9929c72980d4855f1cfa06b08fc392be81984a SHA512 0cccd8eb17eb66524d79a867624f0822c365268cba9b15d4f71b9d3b8720663e590c24f322f1731fd21bdb863ab15464a980a5e0c76313050941f36c92d9b66b -AUX gutenprint-5.3.3-selphy-typo.patch 1077 BLAKE2B c8ad7ebb032ac8320b11d88df6cba79dffe68c910f293116d2f04333d53b17fef7baaba5a0d453c6c087ee9f0a6d1150484280c10ac6ae3a9f6d54905d7884ee SHA512 0376b689b3c6d7d630937f56f19efb0d8d9e7a9726af39794106205aeaca00621ec10a56a28fcc25dadf106e66c7956245ee53709cb1cd39f120716dbc6927d1 -DIST gutenprint-5.3.3.tar.xz 5050624 BLAKE2B dbcf74169d0756d991bbdad7338a6e6f995f8eeedc2610677b327abee6aecc787d1cc35949f73c1d93ad274de7d467542b72a5fe0abf58fbc4ec6f21667cbad7 SHA512 d2c47eb4ccc3c46ccb2f1042682edf7443f5c57439ead72f49ecd10537cf967251bacf7ca7da29fb8dceecc7eebd55ed021f2594ff9fb6509bab543fab1dc8d6 DIST gutenprint-5.3.4.tar.xz 5341824 BLAKE2B 134e59c7dbf9c0ba95b91c717f1e6841f35520b55105feb1ba40b82785c825b8e2a2429990e78186a1455e5c6de9880f911438d514c53c56d05575dd4e2d68a4 SHA512 63de0b62edbe255a7efaaeab1dcd22577b7b46d7e0e48441b79977f19e76bf3862e4e8e18c55dd1f2e7392d555f9e8ee875ea53b90c689852d2343491a8fbcc8 -EBUILD gutenprint-5.3.3-r1.ebuild 1910 BLAKE2B e5ddb8a60c036a007ebfa872d497515c317a07a3d3f75fe1f679d87b300b653ce9402e0b374da8f34f94f25cc4f7a9617e4847f1ac064db01ae8feceb1592f5c SHA512 9b2e86460a131a4ddf413626b6f2429e67284f3b9babaf5bcbff91f6bf94b187301c7de6d4b966dc33284f0e2f4c2d4e1eded2cbef7210abb6429b9fd0eedf8f -EBUILD gutenprint-5.3.3-r3.ebuild 2087 BLAKE2B 8f70415b61e037151493ea368a35769e73e01840e1f587c065544e9e0e3861c710bb5d0426215bb28cacca6de13545e772ca9e351b6eb8e552309f45d4d4a181 SHA512 b12a22d351d7c8e3b0798920a7aeaff71639554ccdbc840e2e47f6069a0e197ca76fce3f51233ad420668f469bdcad9270ab12525844f0123b554f95541b1005 EBUILD gutenprint-5.3.4-r2.ebuild 1903 BLAKE2B 1365bb8955c09d29a2adf9e57f6c8cd7bcb2fe9d2efb7bb10b9b8637f21a3e0b48a02f431bf63d7ead61df88b4e49e73b47bb562b9afcb6c8a55d701829bc509 SHA512 3aa6f2a9ba1b48680ff855319b2f43c5ad0b844218c641b8c23ccff8b7526eab521fcbb56ffa8ebac665949581e037e4a23ea00e6801d4f3290de261a67301a4 MISC metadata.xml 340 BLAKE2B 91ab730b8ea24dd11ef59949916cda1cb2a0b2a8b77144ef2a9287eb4145e5c38f98a0572381eb6f75a14dd73ff4ac4d1aaf495432ca4402ab75c6f3b7519e99 SHA512 f8fbc6a3db9143f2bd4094ae5a0a6e7ec0bba5e06c90082faed08d5c76e89972422751c5217e1dc118cd10eaee99ffd02249eba4b5ec885fe9e669e75cfdd595 diff --git a/net-print/gutenprint/files/gutenprint-5.3.3-epson.patch b/net-print/gutenprint/files/gutenprint-5.3.3-epson.patch deleted file mode 100644 index 28906470c7f6..000000000000 --- a/net-print/gutenprint/files/gutenprint-5.3.3-epson.patch +++ /dev/null @@ -1,54 +0,0 @@ -From: Robert Krawitz -Date: Sun, 16 Feb 2020 11:21:23 -0500 -Subject: Updates for Epson Stylus Office printers - -Add duplex support for the following printers: - Epson Stylus Office BX525WD - Epson Stylus Office BX535WD - Epson Stylus Office BX62F5WD - Epson Stylus Office BX635FWD - Epson Stylus Office TX620FWD - -Origin: upstream -Closes: #951410 ---- - src/xml/printers/escp2.xml | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -diff --git a/src/xml/printers/escp2.xml b/src/xml/printers/escp2.xml -index 28716a4..79f5a70 100644 ---- a/src/xml/printers/escp2.xml -+++ b/src/xml/printers/escp2.xml -@@ -189,7 +189,7 @@ - - - -- -+ - - - -@@ -197,17 +197,18 @@ - - - -- -- -+ -+ -+ - -- -+ - -- -+ - - - - -- -+ - - - diff --git a/net-print/gutenprint/files/gutenprint-5.3.3-selphy-typo.patch b/net-print/gutenprint/files/gutenprint-5.3.3-selphy-typo.patch deleted file mode 100644 index 393fa718fd36..000000000000 --- a/net-print/gutenprint/files/gutenprint-5.3.3-selphy-typo.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: "Andreas B. Mundt" -Date: Mon, 4 Nov 2019 18:40:58 +0100 -Subject: Fix 'selpyh' for 'selphy' typo for Canon CP300 - -Closes: #943964 ---- - src/cups/backend_canonselphy.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/cups/backend_canonselphy.c b/src/cups/backend_canonselphy.c -index 978df0d..3ef0c31 100644 ---- a/src/cups/backend_canonselphy.c -+++ b/src/cups/backend_canonselphy.c -@@ -1165,7 +1165,7 @@ struct dyesub_backend canonselphy_backend = { - { USB_VID_CANON, USB_PID_CANON_CP100, P_CP_XXX, NULL, "canon-cp100"}, - { USB_VID_CANON, USB_PID_CANON_CP200, P_CP_XXX, NULL, "canon-cp200"}, - { USB_VID_CANON, USB_PID_CANON_CP220, P_CP_XXX, NULL, "canon-cp220"}, -- { USB_VID_CANON, USB_PID_CANON_CP300, P_CP_XXX, NULL, "selpyhcp300"}, -+ { USB_VID_CANON, USB_PID_CANON_CP300, P_CP_XXX, NULL, "selphycp300"}, - { USB_VID_CANON, USB_PID_CANON_CP330, P_CP_XXX, NULL, "canon-cp330"}, - { USB_VID_CANON, USB_PID_CANON_CP400, P_CP_XXX, NULL, "canon-cp400"}, - { USB_VID_CANON, USB_PID_CANON_CP500, P_CP_XXX, NULL, "canon-cp500"}, diff --git a/net-print/gutenprint/gutenprint-5.3.3-r1.ebuild b/net-print/gutenprint/gutenprint-5.3.3-r1.ebuild deleted file mode 100644 index 25a045d2441d..000000000000 --- a/net-print/gutenprint/gutenprint-5.3.3-r1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="Ghostscript and cups printer drivers" -HOMEPAGE="http://gutenprint.sourceforge.net" - -MY_P="${P/_/-}" -S="${WORKDIR}/${MY_P}" -SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86" - -IUSE="cups gimp gtk nls readline ppds static-libs" -REQUIRED_USE="gimp? ( gtk )" - -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" -# gimp restriction: https://sourceforge.net/p/gimp-print/bugs/725/ -CDEPEND=" - dev-lang/perl - readline? ( sys-libs/readline:0= ) - cups? ( >=net-print/cups-1.1.14 ) - gimp? ( media-gfx/gimp:0/2 x11-libs/gtk+:2 ) - gtk? ( x11-libs/gtk+:2 ) - nls? ( virtual/libintl ) -" -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND}" - -RESTRICT="test" - -DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) - -PATCHES=( - "${FILESDIR}"/${PN}-5.3.1-cflags.patch -) - -src_configure() { - local myeconfargs=( - --enable-test - --disable-translated-cups-ppds - $(use_enable gtk libgutenprintui2) - $(use_with gimp gimp2) - $(use_with gimp gimp2-as-gutenprint) - $(use_with cups) - $(use_enable nls) - $(use_with readline) - $(use_enable static-libs static) - ) - - if use cups && use ppds; then - myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds ) - else - myeconfargs+=( --disable-cups-ppds ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - dodoc doc/FAQ.html - dodoc -r doc/gutenprintui2/html - rm -r "${ED}"/usr/share/gutenprint/doc || die - - find "${ED}" -name '*.la' -exec rm -f '{}' + || die -} - -pkg_postinst() { - if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then - elog "Updating installed printer ppd files" - elog $(/usr/sbin/cups-genppdupdate) - else - elog "You need to update installed ppds manually using cups-genppdupdate" - fi -} diff --git a/net-print/gutenprint/gutenprint-5.3.3-r3.ebuild b/net-print/gutenprint/gutenprint-5.3.3-r3.ebuild deleted file mode 100644 index 903144e2d4c4..000000000000 --- a/net-print/gutenprint/gutenprint-5.3.3-r3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools - -DESCRIPTION="Ghostscript and cups printer drivers" -HOMEPAGE="http://gutenprint.sourceforge.net" - -MY_P="${P/_/-}" -S="${WORKDIR}/${MY_P}" -SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86" - -IUSE="cups gimp gtk nls readline ppds static-libs" -REQUIRED_USE="gimp? ( gtk )" - -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" -# gimp restriction: https://sourceforge.net/p/gimp-print/bugs/725/ -CDEPEND=" - dev-lang/perl - readline? ( sys-libs/readline:0= ) - cups? ( >=net-print/cups-1.1.14 ) - gimp? ( media-gfx/gimp:0/2 x11-libs/gtk+:2 ) - gtk? ( x11-libs/gtk+:2 ) - nls? ( virtual/libintl ) -" -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND}" - -RESTRICT="test" - -DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) - -PATCHES=( - "${FILESDIR}"/${PN}-5.3.1-cflags.patch - # From upstream, fixed in next version - "${FILESDIR}"/${P}-epson.patch - "${FILESDIR}"/${P}-selphy-typo.patch -) - -src_prepare() { - default - - # Needed for cflags patch - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-test - --disable-translated-cups-ppds - $(use_enable gtk libgutenprintui2) - $(use_with gimp gimp2) - $(use_with gimp gimp2-as-gutenprint) - $(use_with cups) - $(use_enable nls) - $(use_with readline) - $(use_enable static-libs static) - ) - - if use cups && use ppds; then - myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds ) - else - myeconfargs+=( --disable-cups-ppds ) - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - dodoc doc/FAQ.html - dodoc -r doc/gutenprintui2/html - rm -r "${ED}"/usr/share/gutenprint/doc || die - - find "${ED}" -name '*.la' -exec rm -f '{}' + || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then - elog "Updating installed printer ppd files" - elog $(/usr/sbin/cups-genppdupdate) - else - elog "You need to update installed ppds manually using cups-genppdupdate" - fi -} diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest index 7430325702c5..e35d8d3986ea 100644 --- a/net-print/hplip-plugin/Manifest +++ b/net-print/hplip-plugin/Manifest @@ -1,7 +1,7 @@ DIST hplip-3.20.11-plugin.run 11514293 BLAKE2B b3b7698a45e5e68a25ec1216e736484d26546b657f4a519a153acf0280847667e7ca81afc988f722668746281857d51d9e1703857514ffe5b57dea85f2bae4d3 SHA512 9075c1ac8e8f6e12d33b81b633025259f54352ea00271eec07ee898fd9a164445519608fc9ea61a7157845a4a03f87c28f486c7994f0d7db81d11d3fe51f1876 -DIST hplip-3.21.10-plugin.run 11514107 BLAKE2B a5e0d9d76e4575e8b99cf32749590d1b5209bfd9b33827f3d6f918a4574fb7452c68c816933fe6142b9acd8e336fd57a5a4ef6cf126e767ce37a05872db666ef SHA512 ee5c36b42e3f8e59607bf4e5a2b0e2b594f19aa7302125fff5dd5fdf392cc7cd142d6c44cbd35a53e1f160ee8293a25419caec2de7e09ecc926551723c793b67 DIST hplip-3.21.12-plugin.run 11487224 BLAKE2B 601f70d6d75bc0172b6de647af43afa0ec047eb8b0a9a37611f2496d43daf1d4de4b705d6e58cb209910d7341811dc365d7aeb60d738f5e8ede71337bf36b58e SHA512 5bf6c0d7fb10f9108baac5d9c0c62f080b15cb227ae39c6647111d6dd39a3f97ab1044bccce781f224b5886842da5bd5063d3ce05db374a43e57a7152c52683b +DIST hplip-3.22.2-plugin.run 11487296 BLAKE2B 2c953e85b3ef299066aaf158121f4a3db68b00f2e2df3cb35acc78a54a466e8a3e204592fbfa2128acb87c0f9b258178cd29faf4e93600ee4b10fe81b93f213b SHA512 5efa533863bec3e7e5fc354411216e6e4232c2bbc15a062ff829296e1357c523333df8221a341b10c940022708299a33449020e633a9873205b568959327cb24 EBUILD hplip-plugin-3.20.11.ebuild 1447 BLAKE2B 4833b0498319b3d1aa1bfcda87335d708efde09be0831cfc07bd9e0dc08bcfe5f3a98aad6f0828ca461dfaf271e920d8a0e33ce6abd33e6ecd72a8b561166e3c SHA512 cd1989698ea448e5e1b630d93bb164c856fa055783a3f00b7bac5a33b0c6597d3261260c8d267f7a43c15b0b89893c7245ba078014851be5345380615dcdda53 -EBUILD hplip-plugin-3.21.10.ebuild 1489 BLAKE2B b9440a6e78da881a43be79763896252775eba6f1847779f278009ab41bb2e856529d7edb76dfc3fefd707759e77ca8d00522ec8de122a1012ffc98f80f42ca58 SHA512 d48c4d3ac5a38c367bac5bddf6a0758ee63412db310c70001c7d70abcba825fa232fc2559088b46999be962fc8daf29e95784f245ba766d3203a08edb1af9cc5 EBUILD hplip-plugin-3.21.12.ebuild 1489 BLAKE2B 40383e62159c76e7918a2e4191e42d17e9be3c3aed959bc3a1579535cfe0dfdd8e44079a87a981f55271307b3eb41fa0ba045a2afcb1af69479bd884d2e86ff7 SHA512 3818d230057726b0b8e00f66052097601cff766cd5687e93892f1958b947552564646d1bcdbb44f4e1798126423bb938c17b826ee6e4e86b38d21b28ac2a2036 +EBUILD hplip-plugin-3.22.2.ebuild 1489 BLAKE2B 40383e62159c76e7918a2e4191e42d17e9be3c3aed959bc3a1579535cfe0dfdd8e44079a87a981f55271307b3eb41fa0ba045a2afcb1af69479bd884d2e86ff7 SHA512 3818d230057726b0b8e00f66052097601cff766cd5687e93892f1958b947552564646d1bcdbb44f4e1798126423bb938c17b826ee6e4e86b38d21b28ac2a2036 MISC metadata.xml 523 BLAKE2B 396a3e3f19f1929ac628fd3301f7de077e34d80b88f0f65dd4035a55b8ff16be6a89dc94b47085dafc7a8a2def19353aa52996a12e51e94154a61ba1329f8c91 SHA512 9d5abebbd6fdac76142c70aa911c4ac55eb5388fd39e010d72e8e6253f51a7924eda2a675cd8ce3475fea76b307805644cf8f7140b265e66b4fcd65a8546fd96 diff --git a/net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild b/net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild deleted file mode 100644 index f253c082d73c..000000000000 --- a/net-print/hplip-plugin/hplip-plugin-3.21.10.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit unpacker - -DESCRIPTION="Proprietary plugins and firmware for HPLIP" -HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" -SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" -LICENSE="hplip-plugin" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="orblite" - -RDEPEND=" - ~net-print/hplip-${PV} - virtual/udev - orblite? ( - media-gfx/sane-backends - >=sys-libs/glibc-2.26 - virtual/libusb:0 - ) -" -DEPEND="" - -S=${WORKDIR} - -HPLIP_HOME=/usr/share/hplip - -# Binary prebuilt package -QA_PREBUILT="${HPLIP_HOME}/*.so" - -# License does not allow us to redistribute the "source" package -RESTRICT="mirror" - -src_install() { - local hplip_arch - case "${ARCH}" in - amd64) hplip_arch="x86_64" ;; - arm) hplip_arch="arm32" ;; - arm64) hplip_arch="arm64" ;; - x86) hplip_arch="x86_32" ;; - *) die "Unsupported architecture." ;; - esac - - insinto "${HPLIP_HOME}"/data/firmware - doins *.fw.gz - - for plugin in *-${hplip_arch}.so; do - local plugin_type=prnt - case "${plugin}" in - bb_orblite-*) - use orblite || continue - plugin_type=scan ;; - bb_*) - plugin_type=scan ;; - fax_*) - plugin_type=fax ;; - esac - - exeinto "${HPLIP_HOME}"/${plugin_type}/plugins - newexe ${plugin} ${plugin/-${hplip_arch}} - done - - insinto /var/lib/hp - newins - hplip.state <<-_EOF_ - [plugin] - installed = 1 - eula = 1 - version = ${PV} - _EOF_ -} diff --git a/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild b/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild new file mode 100644 index 000000000000..354cee23d950 --- /dev/null +++ b/net-print/hplip-plugin/hplip-plugin-3.22.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker + +DESCRIPTION="Proprietary plugins and firmware for HPLIP" +HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins" +SRC_URI="https://developers.hp.com/sites/default/files/hplip-${PV}-plugin.run" +LICENSE="hplip-plugin" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="orblite" + +RDEPEND=" + ~net-print/hplip-${PV} + virtual/udev + orblite? ( + media-gfx/sane-backends + >=sys-libs/glibc-2.26 + virtual/libusb:0 + ) +" +DEPEND="" + +S=${WORKDIR} + +HPLIP_HOME=/usr/share/hplip + +# Binary prebuilt package +QA_PREBUILT="${HPLIP_HOME}/*.so" + +# License does not allow us to redistribute the "source" package +RESTRICT="mirror" + +src_install() { + local hplip_arch + case "${ARCH}" in + amd64) hplip_arch="x86_64" ;; + arm) hplip_arch="arm32" ;; + arm64) hplip_arch="arm64" ;; + x86) hplip_arch="x86_32" ;; + *) die "Unsupported architecture." ;; + esac + + insinto "${HPLIP_HOME}"/data/firmware + doins *.fw.gz + + for plugin in *-${hplip_arch}.so; do + local plugin_type=prnt + case "${plugin}" in + bb_orblite-*) + use orblite || continue + plugin_type=scan ;; + bb_*) + plugin_type=scan ;; + fax_*) + plugin_type=fax ;; + esac + + exeinto "${HPLIP_HOME}"/${plugin_type}/plugins + newexe ${plugin} ${plugin/-${hplip_arch}} + done + + insinto /var/lib/hp + newins - hplip.state <<-_EOF_ + [plugin] + installed = 1 + eula = 1 + version = ${PV} + _EOF_ +} diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index 22e196b0e4a5..e4211cbe0ab8 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -1,9 +1,10 @@ DIST hplip-3.20.11-patches-2.tar.xz 18140 BLAKE2B a0271d0c6fcfaa53c68ab00c4c6cfc121e4eef0368b7eff04677ccbd8b897897352fe44a111693d0d45ee1b40bc3c783984f23a35faedfa2fa0da52018aade3c SHA512 8d00d48e295572df19b6edf0efce005f6bae6e051cce5d618575f5e226e2c32896111ddc1a193d4aacfadbe9d7f525761b0ea2564277f4c263b3df5bc86c1f40 DIST hplip-3.20.11.tar.gz 26301441 BLAKE2B 14667f33cc50b2887c8434ada7327a82e16b9acbcdc75d3a50c0261ec9aef3fada9be81e6c0cbdfb4d29914630799c6406893644386db99c0ce86245cca38cc2 SHA512 f583fb4140a29c5e21956c3e51fe3620baa65d33b40447af419d7fc61473a1148a1873216a84e89be785b155ee8e9aebd5e3eb19d2ded82b8415b1a35de1b55d DIST hplip-3.21.10-patches-1.tar.xz 17700 BLAKE2B a5d60802a3a9b76b18c0cc4d880b649c2ffceb38b9a0b1857e86eac6a4e840272ce8764db6544b273071e361bb29ae6863df64a3b39bcede2a37ea55c1957fe8 SHA512 d8cda2abadc9b0184bf6669e648fa060a9f0f78e9fcaa3998424b968d01c8a1e1e7ebf371c2614b3d1fbf9052c35368bd65ae265946367a72785ff88f753df8b -DIST hplip-3.21.10.tar.gz 27309040 BLAKE2B 542304f4dd5f07b683982ad1218ed47dd06227511025eef6e285e9a3073a3472f7a9eaa5666ade59cc681cb3f4c4a7e1f4eb4d94a8518c322bc0a6c81b0eff94 SHA512 e9b49b7bfc3fa38ea83b357af01cfbc59bf238ad7add49c8e4cb281fbc87facfe6fed9e8428bb926f75fb22ff8e980d620ac102694ae0c8271ce0c4f1ab8b7ed DIST hplip-3.21.12.tar.gz 27314194 BLAKE2B 8ab204f9f655d5792aaeb729b416a994c7661a540602f755c58887d2b5694e85fab3fc9c800620de128979b43724d16603447e875c40e2530bb5566599535311 SHA512 b101a6958dbfa2b717b85bf38b05d682b9fe68ed3d08e2f6039485ac428867de66381e869c1d4ab2bd22e13a751704ca19915dd90661561c8dd68883a72ace2d +DIST hplip-3.22.2-patches-1.tar.xz 17564 BLAKE2B df4d3c71679000febe68730fd88c81a82283874200d86934318b602fc1fb51f6d90a42effb5fbfef38a98ef6a150f9dc139ca3edeb519d9ac11f98ba7ef7ec63 SHA512 df3716b59bbdd87696900f111d3a0c7d27a474826d343503af43bb625f0796696ffdd24383564f5ff3e600f7ae8f5092700ffc9d130b6d5f812750c8856f6ef8 +DIST hplip-3.22.2.tar.gz 27341972 BLAKE2B d262307430b5a4ca05f2a58cdadc212e93b73141906c0852a2b9b2ced33b942dbec6d9f2fc1f79773d3d37a9d71f37b5fe457ba574d7bf826cd3afeb80d4f05d SHA512 9cde954a11bae2e2ad6120d8fe103ab52409c906dde4c1e82fa7a9e5e265e0a71e0578e3117a8b4508e2c7c87f05052d32b14b39b89e3e59baf7a4055ac5579f EBUILD hplip-3.20.11-r2.ebuild 8231 BLAKE2B 3e060f6b134cfb101500db89a889c092f3eecd8803d8d475212d0c91fb7be52759dac472cfe82dd59eff85f4d579b48d7c03d68fb5ded3f90495334294578dde SHA512 a0fe5d63efd08036fcb45b23dc943b529b07d214f3b8bde4b4c91e34d28ae33f8032cb314108922f74955d6e0a4ed88a29c7d6672e18cd90aef6bce03750d13d -EBUILD hplip-3.21.10.ebuild 8197 BLAKE2B 422b38df83b6d7484fe52c91f7c36e39b554e16d45c78f99d120676fa3dac7e16a08bc17701e34ce5664fb1b1d0490c886bb0bb59edf5437375f3620f957c22b SHA512 0e6a2c250048a400b677596a2d9168d4dfcd8caa2aaa003a8a2455fde57e6eed6ebfdf2cdfc8e73ed889444bf1b4a3b24b02060f90790db7bcbc18f018896942 EBUILD hplip-3.21.12.ebuild 8200 BLAKE2B b6d63997766affb57eda1a2cf7cff860f0f021871a9bd063d82a740b88a893a4cfd82ec7da916613c42d0514c8cfec9ab05c5fb8396939ff7a60894ad1129e0b SHA512 e1c26962c7cefaae60efd9c514a9f064bb134c308018d28f7fa6a2d4456ddedcb7e44aac782d9ce3df9b1bb1619432b05b6e6ab1c3464f1345375648738f4d94 +EBUILD hplip-3.22.2.ebuild 8199 BLAKE2B 620ba24226a2771b3a57ebd25858a83cfba74a6a1455bc0d8cd10799383f7aeed8c818253b1607fca89ee76a20b6bae9c70085a6e4a13ae69a900107a23c1200 SHA512 8d20a04779bde80b45201530fea003256b0ddd87f487dd0db9096150605b14f2bbb807310e1c12778029316760099830ff00ce84b9ace7130a109b355b718432 MISC metadata.xml 1911 BLAKE2B ccddda1b977dda5c8bb3c9e9d9d152ca57406a1b530ee92ccccc7a8a4b194b0749426e3012329fb982ce4c445c05d1fa74a3b3e0619b355ca0de429d9727bfc7 SHA512 290530d8260586d9cc07b63b7599c10a6c7b8304ffd72c22e9b9c2f7db9b6a28a72d0f53a8a84c2715cd9fd25228e0b64c005d97267f1d390114b5a46b88e4f1 diff --git a/net-print/hplip/hplip-3.21.10.ebuild b/net-print/hplip/hplip-3.21.10.ebuild deleted file mode 100644 index de81fef8dce1..000000000000 --- a/net-print/hplip/hplip-3.21.10.ebuild +++ /dev/null @@ -1,285 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) -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="https://developers.hp.com/hp-linux-imaging-and-printing" -SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz - https://dev.gentoo.org/~billie/distfiles/${PN}-3.21.10-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 - sys-apps/dbus - virtual/jpeg:0 - hpijs? ( net-print/cups-filters[foomatic] ) - !libusb0? ( virtual/libusb:1 ) - libusb0? ( virtual/libusb:0 ) - ${PYTHON_DEPS} - !minimal? ( - scanner? ( - media-gfx/sane-backends - ) - snmp? ( - dev-libs/openssl:0= - net-analyzer/net-snmp:= - 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() { - 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-fax-build" - minimal_build="${minimal_build} --disable-network-build" - minimal_build="${minimal_build} --disable-scan-build" - minimal_build="${minimal_build} --disable-gui-build" - else - 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 \ - --enable-dbus-build \ - ${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() { - readme.gentoo_print_elog -} diff --git a/net-print/hplip/hplip-3.22.2.ebuild b/net-print/hplip/hplip-3.22.2.ebuild new file mode 100644 index 000000000000..eb73f61d2d52 --- /dev/null +++ b/net-print/hplip/hplip-3.22.2.ebuild @@ -0,0 +1,285 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) +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="https://developers.hp.com/hp-linux-imaging-and-printing" +SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz + https://dev.gentoo.org/~billie/distfiles/${PN}-3.22.2-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 + sys-apps/dbus + virtual/jpeg:0 + hpijs? ( net-print/cups-filters[foomatic] ) + !libusb0? ( virtual/libusb:1 ) + libusb0? ( virtual/libusb:0 ) + ${PYTHON_DEPS} + !minimal? ( + scanner? ( + media-gfx/sane-backends + ) + snmp? ( + dev-libs/openssl:0= + net-analyzer/net-snmp:= + 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() { + 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-fax-build" + minimal_build="${minimal_build} --disable-network-build" + minimal_build="${minimal_build} --disable-scan-build" + minimal_build="${minimal_build} --disable-gui-build" + else + 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 \ + --enable-dbus-build \ + ${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() { + readme.gentoo_print_elog +} -- cgit v1.2.3