From: dataCobra <dataCobra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] hplip: update to 3.22.10.
Date: Wed, 16 Nov 2022 15:07:59 +0100 [thread overview]
Message-ID: <20221116140759.4rAT72zyYidKEUEKM9H9_QEEUx3-HA2PMbNS7X2jdLU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40434@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
There is an updated pull request by dataCobra against master on the void-packages repository
https://github.com/dataCobra/void-packages hplip
https://github.com/void-linux/void-packages/pull/40434
hplip: update to 3.22.10.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl (crossbuild)
A patch file from https://github.com/void-linux/void-packages/pull/40434.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-40434.patch --]
[-- Type: text/x-diff, Size: 4233 bytes --]
From 255df62e9020c0f2bac57f0c290f0e29b10f8a39 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Thu, 10 Nov 2022 06:56:23 +0100
Subject: [PATCH 1/2] New package: hplip-plugin-3.22.10
---
srcpkgs/hplip-plugin/template | 61 +++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 srcpkgs/hplip-plugin/template
diff --git a/srcpkgs/hplip-plugin/template b/srcpkgs/hplip-plugin/template
new file mode 100644
index 000000000000..a7fe4808c985
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,61 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.10
+revision=1
+archs="i686 x86_64 armv[67]l aarch64"
+hostmakedepends="tar"
+short_desc="Binary plugin for HPs hplip printer driver library"
+maintainer="biopsin <biopsin@teknik.io>"
+license="custom:proprietary"
+homepage="https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html"
+changelog="https://developers.hp.com/hp-linux-imaging-and-printing/release_notes"
+distfiles="https://developers.hp.com/sites/default/files/hplip-${version}-plugin.run"
+checksum=bb9648ea0626a9b3cfa29e260348d5d617f328c55b66eda346384c04f4740b1f
+repository=nonfree
+restricted=yes
+
+ignore_elf_dirs="/usr/share/hplip"
+
+do_extract() {
+ /bin/sh ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hplip-${version}-plugin.run \
+ --noexec --target ${wrksrc}
+}
+
+do_install() {
+ vmkdir usr/share/hplip/data/firmware
+ vmkdir usr/share/hplip/fax/plugins
+ vmkdir usr/share/hplip/prnt/plugins
+ vmkdir usr/share/hplip/scan/plugins
+ vmkdir usr/share/licenses/hplip-plugin
+ vmkdir var/lib/hp
+
+ case "$XBPS_TARGET_MACHINE" in
+ i686) _arch='x86_32' ;;
+ x86_64) _arch='x86_64' ;;
+ armv[67]l) _arch='arm32' ;;
+ aarch64) _arch='arm64' ;;
+ esac
+
+ vcopy plugin.spec usr/share/hplip/
+ vcopy hp_laserjet_*.fw.gz usr/share/hplip/data/firmware/
+ vcopy fax_marvell-"$_arch".so usr/share/hplip/fax/plugins/
+ vcopy hbpl1-"$_arch".so usr/share/hplip/prnt/plugins/
+ vcopy lj-"$_arch".so usr/share/hplip/prnt/plugins/
+ vcopy bb_*-"$_arch".so usr/share/hplip/scan/plugins/
+ vlicense license.txt
+
+ cat << EOF > hplip.state
+[plugin]
+installed = 1
+eula = 1
+version = ${version}
+EOF
+ vcopy hplip.state var/lib/hp
+
+ find "${DESTDIR}/usr/share/hplip" -type f -name "*.so" | while read f; do
+ lib_dir="${f%/*}"
+ lib_name="${f##*/}"
+ ln -sf "$lib_name" "$lib_dir/${lib_name%%-*}.so"
+ done
+}
From babce630aeff5a5f6a2228b0f1f89aab5d0bb927 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Fri, 11 Nov 2022 09:04:00 +0100
Subject: [PATCH 2/2] hplip: update to 3.22.10.
---
srcpkgs/hplip/template | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 063581e4e899..40321a396ede 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,11 +1,9 @@
# Template file for 'hplip'
pkgname=hplip
-version=3.22.6
-revision=2
+version=3.22.10
+revision=1
build_style=gnu-configure
pycompile_dirs="usr/share/hplip"
-# configure checks sys.version[:3] for Python versioning, so 3.10 becomes 3.1;
-# until this is fixed upstream, manually define am_cv_python_version to circumvent
configure_args="
--enable-gui-build
--disable-qt4
@@ -20,8 +18,7 @@ configure_args="
--enable-foomatic-drv-install
--enable-pp-build
--disable-imageProcessor-build
- --with-mimedir=/usr/share/cups/mime
- am_cv_python_version=${py3_ver}"
+ --with-mimedir=/usr/share/cups/mime"
conf_files="/etc/hp/hplip.conf"
make_dirs="/var/lib/hp 0755 root root"
hostmakedepends="pkg-config automake libtool python3"
@@ -36,7 +33,7 @@ license="GPL-2.0-only, BSD-3-Clause, MIT"
homepage="https://developers.hp.com/hp-linux-imaging-and-printing"
changelog="https://developers.hp.com/hp-linux-imaging-and-printing/release_notes"
distfiles="${SOURCEFORGE_SITE}/hplip/hplip/${version}/hplip-${version}.tar.gz"
-checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
+checksum=533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624
conflicts="hplip-gui"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"
next prev parent reply other threads:[~2022-11-16 14:07 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-10 7:19 [PR PATCH] " dataCobra
2022-11-10 10:11 ` [PR REVIEW] " paper42
2022-11-10 10:38 ` dataCobra
2022-11-10 11:46 ` biopsin
2022-11-11 8:05 ` [PR PATCH] [Updated] " dataCobra
2022-11-11 8:09 ` [PR REVIEW] " dataCobra
2022-11-16 14:07 ` dataCobra [this message]
2022-11-16 14:26 ` [PR PATCH] [Updated] hplip: update to 3.22.10. + New package: hplip-plugin 3.22.10 dataCobra
2022-11-16 14:27 ` dataCobra
2022-11-16 15:21 ` ahesford
2022-11-16 15:40 ` dataCobra
2022-11-16 15:58 ` biopsin
2022-11-16 16:06 ` ahesford
2022-11-17 12:25 ` biopsin
2022-11-17 12:54 ` biopsin
2022-11-17 13:03 ` paper42
2022-11-17 13:03 ` paper42
2022-11-17 13:17 ` biopsin
2022-11-17 13:23 ` biopsin
2022-11-17 18:57 ` ahesford
2022-11-18 10:36 ` dataCobra
2022-12-18 11:40 ` [PR PATCH] [Updated] " dataCobra
2022-12-18 11:49 ` dataCobra
2022-12-18 12:20 ` dataCobra
2022-12-18 13:52 ` biopsin
2022-12-24 11:15 ` biopsin
2022-12-24 11:15 ` biopsin
2022-12-24 23:27 ` [PR REVIEW] " paper42
2022-12-24 23:27 ` paper42
2022-12-25 1:29 ` ahesford
2022-12-28 7:12 ` [PR PATCH] [Updated] " dataCobra
2022-12-28 8:31 ` [PR REVIEW] " dataCobra
2022-12-28 8:32 ` [PR PATCH] [Updated] " dataCobra
2022-12-28 10:19 ` [PR REVIEW] " dataCobra
2022-12-28 16:05 ` biopsin
2022-12-28 16:36 ` ahesford
2022-12-28 16:36 ` ahesford
2022-12-28 16:36 ` ahesford
2023-01-04 7:44 ` [PR PATCH] [Updated] " dataCobra
2023-01-13 9:08 ` biopsin
2023-01-13 11:30 ` [PR PATCH] [Merged]: " ahesford
2023-01-13 11:46 ` ahesford
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=20221116140759.4rAT72zyYidKEUEKM9H9_QEEUx3-HA2PMbNS7X2jdLU@z \
--to=datacobra@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).