public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daniel Pielmeier" <billie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/
Date: Thu, 15 Aug 2019 18:29:19 +0000 (UTC)	[thread overview]
Message-ID: <1565893738.14e2fc64adaf7a714f0f993d3fa7c094efd95b86.billie@gentoo> (raw)

commit:     14e2fc64adaf7a714f0f993d3fa7c094efd95b86
Author:     Daniel Pielmeier <billie <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 15 18:28:58 2019 +0000
Commit:     Daniel Pielmeier <billie <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 18:28:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e2fc64

net-print/hplip-plugin: Add back hplip-plugin-3.18.12.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>

 net-print/hplip-plugin/Manifest                    |  1 +
 net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild | 69 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/net-print/hplip-plugin/Manifest b/net-print/hplip-plugin/Manifest
index e9cd425947d..f860bd13845 100644
--- a/net-print/hplip-plugin/Manifest
+++ b/net-print/hplip-plugin/Manifest
@@ -1,2 +1,3 @@
+DIST hplip-3.18.12-plugin.run 10486821 BLAKE2B e48940b1b5fe94dc216383b63bee7807bce9ad265b7c454c201c0ed22ec1964e6c5adf653c3c230789c042cffaaf50bd604bae6f66f407a85f98248934307158 SHA512 82b90aa8245f787e088a1bebfa7892a7f2b97fd04b3702c46eed27306640e562aeec63b4b5b45c24943abe4672f2627d1821bdcdf58a5c1ac4e1d06c7270535f
 DIST hplip-3.18.6-plugin.run 2065663 BLAKE2B 501a37dd504250225ddad9712259e0e1b564aa034e433f24d277c5609fa95580417da1a0ae040a4624ff48806a3b34ec56ff31aed843e9f0f0b68b304d2ebd9e SHA512 7b5eb2f43dd014df25ccd9e72dd7efc069db47921f2de650b2ff993dbee60056063edeee6593be7d35019212daf623fff9696b13508a808db92128f5c81bde76
 DIST hplip-3.19.6-plugin.run 11517158 BLAKE2B c44707e29b104b45c110729c70ebeba1f392ad753eb98d8677657f735e547cdecfab357b348a30545274b51c18249ddb9102df49aa73d726a8e9145a302a8a0c SHA512 3636d655ba289331572f0762a5de2e0bf2f3108ac3f7ca9cb8bbec126942be954fe9c07c882bd8272e30ac46d67231d86a3c4249a6fe31e2d3e8d5e568bbbd8b

diff --git a/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild b/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild
new file mode 100644
index 00000000000..7714ffa082d
--- /dev/null
+++ b/net-print/hplip-plugin/hplip-plugin-3.18.12.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit udev unpacker
+
+DESCRIPTION="Proprietary plugins and firmware for HPLIP"
+HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing/plugins"
+#SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run"
+SRC_URI="https://developers.hp.com/sites/default/files/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_
+}


             reply	other threads:[~2019-08-15 18:29 UTC|newest]

Thread overview: 131+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 18:29 Daniel Pielmeier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-25 20:48 [gentoo-commits] repo/gentoo:master commit in: net-print/hplip-plugin/ James Le Cuirot
2024-10-25 12:00 Arthur Zamarin
2024-10-18 17:42 Arthur Zamarin
2024-10-16  2:12 Sam James
2024-10-16  2:12 Sam James
2024-06-29 22:25 James Le Cuirot
2024-01-18 21:21 James Le Cuirot
2023-12-27 21:03 Sam James
2023-12-19  5:08 Sam James
2023-12-19  5:08 Sam James
2023-12-10 15:46 James Le Cuirot
2023-11-16 21:33 James Le Cuirot
2023-11-16 16:22 Sam James
2023-11-15 17:40 Sam James
2023-11-15 17:40 Sam James
2023-11-15 17:40 Sam James
2023-10-19 10:59 James Le Cuirot
2023-09-16  7:31 Daniel Pielmeier
2023-09-07 17:02 Sam James
2023-09-07 17:02 Sam James
2023-09-07 14:41 Sam James
2023-09-07 14:41 Sam James
2023-07-02 20:49 James Le Cuirot
2023-05-02 21:23 James Le Cuirot
2023-05-02 17:35 Sam James
2023-05-02 15:21 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-05-02 15:21 Arthur Zamarin
2023-04-09 15:18 James Le Cuirot
2023-04-09 14:46 Daniel Pielmeier
2023-04-08 17:52 Arthur Zamarin
2023-04-08 17:32 Arthur Zamarin
2023-04-08 17:31 Arthur Zamarin
2023-04-08 10:40 James Le Cuirot
2023-04-08  9:46 Daniel Pielmeier
2023-04-08  9:17 Daniel Pielmeier
2022-11-21 21:33 James Le Cuirot
2022-11-21 17:14 Daniel Pielmeier
2022-11-18  4:54 Sam James
2022-11-18  4:54 Sam James
2022-11-18  4:54 Sam James
2022-08-04  9:10 James Le Cuirot
2022-08-04  9:10 James Le Cuirot
2022-07-31 11:05 Agostino Sarubbo
2022-07-30 17:20 Arthur Zamarin
2022-07-30 13:42 Arthur Zamarin
2022-05-29 13:02 James Le Cuirot
2022-04-06 13:50 David Seifert
2022-04-05 22:17 James Le Cuirot
2022-04-05  8:54 David Seifert
2022-03-07 22:25 James Le Cuirot
2022-03-05 17:28 Daniel Pielmeier
2022-01-26 21:32 James Le Cuirot
2022-01-22 10:16 Daniel Pielmeier
2021-12-07 18:11 Sam James
2021-11-27 10:30 James Le Cuirot
2021-11-27  9:32 James Le Cuirot
2021-10-16  8:42 James Le Cuirot
2021-08-19 17:26 Daniel Pielmeier
2021-08-07 12:15 James Le Cuirot
2021-06-17 23:12 James Le Cuirot
2021-03-17 16:18 Daniel Pielmeier
2021-03-07 22:49 James Le Cuirot
2020-12-26 14:36 Mikle Kolyada
2020-12-17 15:34 Daniel Pielmeier
2020-12-07 22:58 James Le Cuirot
2020-10-18 18:19 James Le Cuirot
2020-09-26 10:36 Daniel Pielmeier
2020-09-25 22:21 Daniel Pielmeier
2020-09-04 23:12 James Le Cuirot
2020-09-04 23:12 James Le Cuirot
2020-09-02 20:50 James Le Cuirot
2020-09-02 20:50 James Le Cuirot
2020-05-16 11:57 Daniel Pielmeier
2020-03-30 22:05 James Le Cuirot
2020-03-11 19:40 Daniel Pielmeier
2020-03-07 20:32 James Le Cuirot
2019-12-15 18:13 Daniel Pielmeier
2019-11-24 20:34 Manuel Rüger
2019-08-15 18:31 Daniel Pielmeier
2019-08-15 18:01 Daniel Pielmeier
2019-08-15 16:32 Daniel Pielmeier
2019-08-15 16:05 Daniel Pielmeier
2019-07-06  9:46 Daniel Pielmeier
2019-06-27 19:24 Manuel Rüger
2019-05-04  8:38 Daniel Pielmeier
2019-04-08  5:48 Alexey Shvetsov
2019-02-26  8:30 Manuel Rüger
2019-01-20 12:11 Daniel Pielmeier
2018-12-30 15:51 Manuel Rüger
2018-11-29 14:43 Manuel Rüger
2018-09-22  9:52 Daniel Pielmeier
2018-08-02 18:09 Daniel Pielmeier
2018-07-23 15:27 Manuel Rüger
2018-06-21 17:36 Daniel Pielmeier
2018-06-12 23:14 Manuel Rüger
2018-05-24 21:46 Daniel Pielmeier
2018-05-24 21:42 Daniel Pielmeier
2018-05-24 21:42 Daniel Pielmeier
2018-04-10  0:19 Manuel Rüger
2018-01-16 19:19 Daniel Pielmeier
2017-11-20 19:04 Manuel Rüger
2017-11-18 12:11 Daniel Pielmeier
2017-10-22  0:15 Manuel Rüger
2017-09-27 20:41 Daniel Pielmeier
2017-09-24 18:37 Manuel Rüger
2017-09-24 18:37 Manuel Rüger
2017-09-04 15:52 Daniel Pielmeier
2017-06-19 22:39 Manuel Rüger
2017-06-15 11:33 Daniel Pielmeier
2017-04-20 22:27 Manuel Rüger
2016-12-12 17:16 Daniel Pielmeier
2016-11-29 22:39 Manuel Rüger
2016-10-28 18:56 Manuel Rüger
2016-10-24 17:22 Daniel Pielmeier
2016-10-10 22:57 Manuel Rüger
2016-10-01 12:38 Manuel Rüger
2016-10-01 12:38 Manuel Rüger
2016-09-30 16:43 Daniel Pielmeier
2016-09-17  1:36 Manuel Rüger
2016-09-12 11:11 Patrice Clement
2016-09-01 22:20 Manuel Rüger
2016-08-27 13:50 Patrice Clement
2016-08-16 10:31 Manuel Rüger
2016-06-19  2:16 Göktürk Yüksek
2016-06-05 13:33 Aaron Swenson
2016-04-03 14:53 Manuel Rüger
2016-04-03 13:05 Daniel Pielmeier
2016-03-19 21:41 Patrice Clement
2016-03-19 21:32 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565893738.14e2fc64adaf7a714f0f993d3fa7c094efd95b86.billie@gentoo \
    --to=billie@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox