From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43B28158094 for ; Wed, 7 Sep 2022 03:57:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 796D5E0AE3; Wed, 7 Sep 2022 03:57:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D853E0AE3 for ; Wed, 7 Sep 2022 03:57:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 726DD340CD9 for ; Wed, 7 Sep 2022 03:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F5785C0 for ; Wed, 7 Sep 2022 03:57:03 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1662522959.ebc6daae79b138fac98f5dad4423a79d7cc773eb.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-print/hpuld/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-print/hpuld/hpuld-1.00.39.15.00.23.ebuild X-VCS-Directories: net-print/hpuld/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: ebc6daae79b138fac98f5dad4423a79d7cc773eb X-VCS-Branch: dev Date: Wed, 7 Sep 2022 03:57:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d2aff8f3-80e1-4ecf-961a-48146812312e X-Archives-Hash: f3517e1c544228ea8b13ddf10a34ff86 commit: ebc6daae79b138fac98f5dad4423a79d7cc773eb Author: Huang Rui gmail com> AuthorDate: Wed Sep 7 03:55:59 2022 +0000 Commit: Rui Huang gmail com> CommitDate: Wed Sep 7 03:55:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebc6daae net-print/hpuld: drop 1.00.39.15.00.23 Signed-off-by: Huang Rui gmail.com> net-print/hpuld/hpuld-1.00.39.15.00.23.ebuild | 114 -------------------------- 1 file changed, 114 deletions(-) diff --git a/net-print/hpuld/hpuld-1.00.39.15.00.23.ebuild b/net-print/hpuld/hpuld-1.00.39.15.00.23.ebuild deleted file mode 100644 index 1d31577a8..000000000 --- a/net-print/hpuld/hpuld-1.00.39.15.00.23.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -MY_PV="$(ver_rs 4 _)" -SANE_CONF_DIR="/etc/sane.d" - -DESCRIPTION="HP Unified Linux Driver (for samsung hardware)" -HOMEPAGE="https://support.hp.com" - -SRC_URI=" - https://ftp.ext.hp.com/pub/softlib/software13/printers/LaserJet/M437_M443/ULDLINUX_HewlettPackard_V${MY_PV}.zip -" - -S="${WORKDIR}/uld" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~mips ~x86" - -IUSE="+scanner" - -RDEPEND=" - net-print/cups - scanner? ( - media-gfx/sane-backends - ) -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - app-arch/unzip -" - -QA_FLAGS_IGNORED=" - /opt/smfp-common/scanner/lib/libsane-smfp.* - /opt/smfp-common/printer/bin/pstosecps - /opt/smfp-common/printer/bin/rastertospl - /opt/smfp-common/printer/bin/smfpnetdiscovery -" -QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" - -src_unpack() { - default - - for f in ${WORKDIR}/*/*.tar.gz; do - tar -zxf "$f" -C ${WORKDIR} || die - done -} - -src_install() { - export AGREE_EULA="y" - export CONTINUE_INSTALL="y" - export PAGER="$(which cat)" - - # Fix printer install path - sed -i "s#\"/opt\"#\"${D}/opt\"#g" noarch/package_utils || die - sed -i "s#\"/opt\"#\"${D}/opt\"#g" noarch/pre_install.sh || die - sed -i "s#\"\$INSTDIR_CUPS_BACKENDS\"#\"${D}/\$INSTDIR_CUPS_BACKENDS\"#g" noarch/printer.pkg || die - sed -i "s#\"\$INSTDIR_CUPS_FILTERS\"#\"${D}/\$INSTDIR_CUPS_FILTERS\"#g" noarch/printer.pkg || die - sed -i "s#\"\$INSTDIR_CUPS_PPD\"#\"${D}/\$INSTDIR_CUPS_PPD\"#g" noarch/printer-script.pkg || die - sed -i "s#\"\$INSTDIR_LSB_PPD\"#\"${D}/\$INSTDIR_LSB_PPD\"#g" noarch/printer-script.pkg || die - # Not use rpm and dpkg - sed -i "s#which rpm#which not_found_command_${PN}#g" noarch/package_utils || die - sed -i "s#which dpkg#which not_found_command_${PN}#g" noarch/package_utils || die - - # Fix scanner install path - sed -i "s#SANE_DIR=/usr/lib\${LIBSFX}/sane#SANE_DIR=${D}/usr/lib\${LIBSFX}/sane#g" noarch/scanner.pkg || die - sed -i "s#/usr/lib/sane#${D}/usr/lib\${LIBSFX}/sane#g" noarch/scanner.pkg || die - sed -i "s#/usr/share/locale/\$i/LC_MESSAGES/#${D}//usr/share/locale/\$i/LC_MESSAGES#g" noarch/scanner.pkg || die - sed -i "s#\$(sane_config)#${D}/\$(sane_config)#g" noarch/scanner-script.pkg || die - sed -i "s#\$(udev_rules)#${D}/\$(udev_rules)#g" noarch/scanner-script.pkg || die - sed -i "s#\$(hal_rules)#${D}/\$(hal_rules)#g" noarch/scanner-script.pkg || die - sed -i "s#\${USERMAP}#${D}/\${USERMAP}#g" noarch/scanner-script.pkg || die - sed -i "s# trigger_libusbscanner_hotplug##g" noarch/scanner-script.pkg || die - mkdir -p "${D}"/etc/hotplug/usb || die - - if use scanner ; then - echo "# Add support for the HP-ULD specific backend. Needs net-print/hpuld installed." > "${S}"/"${PN}".conf || die - echo "smfp" > "${S}"/"${PN}".conf || die - insinto ${SANE_CONF_DIR}/dll.d - doins "${S}"/"${PN}".conf - - sh ./install.sh || die - fperms 644 /etc/sane.d/smfp-hewlett-packard.conf - else - sh ./install-printer.sh || die - fi -} - -pkg_postinst() { - if use scanner ; then - ewarn "If you want to use the scanner," - ewarn "make sure the smfp is listed in ${SANE_CONF_DIR}/dll.d/"${PN}".conf." - ewarn "If the geniusvp2 is listed in ${SANE_CONF_DIR}/dll.conf," - ewarn "please comment out it." - - ewarn "You should restart cupsd service after installed $P." - ewarn "OpenRC: rc-service cupsd restart" - ewarn "systemd: systemctl restart cups.service" - fi -} - -pkg_postrm() { - if use scanner ; then - ewarn "You should restart cupsd service after removed $P." - ewarn "OpenRC: rc-service cupsd restart" - ewarn "systemd: systemctl restart cups.service" - fi -}