Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin
@ 2022-05-25  7:50 biopsin
  2022-05-25  8:06 ` biopsin
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: biopsin @ 2022-05-25  7:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]

There is a new pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.4. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 8279 bytes --]

From de6795e509835abfc2bff38a65452d2174670068 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Wed, 25 May 2022 09:36:15 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.4.

Continue from #35611
---
 srcpkgs/hplip/patches/pysizet_clean.patch | 100 ----------------------
 srcpkgs/hplip/template                    |   6 +-
 2 files changed, 3 insertions(+), 103 deletions(-)
 delete mode 100644 srcpkgs/hplip/patches/pysizet_clean.patch

diff --git a/srcpkgs/hplip/patches/pysizet_clean.patch b/srcpkgs/hplip/patches/pysizet_clean.patch
deleted file mode 100644
index 38d21f520934..000000000000
--- a/srcpkgs/hplip/patches/pysizet_clean.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-Based on patch by Zdenek Dohnal obtained from
-https://bugs.launchpad.net/hplip/+bug/1933973
-
-diff -pru hplip-3.21.8/io/mudext/hpmudext.c hplip-3.21.8-patched/io/mudext/hpmudext.c
---- hplip-3.21.8/io/mudext/hpmudext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/io/mudext/hpmudext.c	2021-10-22 08:30:38.600922861 +0100
-@@ -24,6 +24,8 @@ Authors: Don Welch, David Suffield, Naga
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <stdarg.h>
- #include "hpmud.h"
-@@ -187,14 +189,22 @@ static PyObject *write_channel(PyObject
-     HPMUD_CHANNEL cd;
-     int timeout = 30;
-     char * buf;
--    int buf_size = 0;
-+    Py_ssize_t buf_size = 0;
-+    int buf_size_asInt = 0;
-     int bytes_written = 0;
- 
-     if (!PyArg_ParseTuple(args, "iis#|i", &dd, &cd, &buf, &buf_size, &timeout))
-         return NULL;
- 
-+    if (buf_size < INT_MIN)
-+      buf_size_asInt = INT_MIN;
-+    else if (buf_size > INT_MAX)
-+      buf_size_asInt = INT_MAX;
-+    else
-+      buf_size_asInt = (int)buf_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_write_channel(dd, cd, buf, buf_size,  timeout, &bytes_written);
-+    result = hpmud_write_channel(dd, cd, buf, buf_size_asInt,  timeout, &bytes_written);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, bytes_written);
-@@ -231,14 +241,22 @@ static PyObject *set_pml(PyObject *self,
-     char * oid;
-     int type;
-     char * data;
--    int data_size;
-+    Py_ssize_t data_size = 0;
-+    int data_size_asInt = 0;
-     int pml_result;
- 
-     if (!PyArg_ParseTuple(args, "iisis#", &dd, &cd, &oid, &type, &data, &data_size))
-         return NULL;
- 
-+    if (data_size < INT_MIN)
-+      data_size_asInt = INT_MIN;
-+    else if (data_size > INT_MAX)
-+      data_size_asInt = INT_MAX;
-+    else
-+      data_size_asInt = (int)data_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size, &pml_result);
-+    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size_asInt, &pml_result);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, pml_result);
-diff -pru hplip-3.21.8/pcard/pcardext/pcardext.c hplip-3.21.8-patched/pcard/pcardext/pcardext.c
---- hplip-3.21.8/pcard/pcardext/pcardext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/pcard/pcardext/pcardext.c	2021-10-22 08:24:11.010798381 +0100
-@@ -24,6 +24,8 @@ Author: Don Welch
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <structmember.h>
- #include "../fat.h"
-diff -pru hplip-3.21.8/prnt/cupsext/cupsext.c hplip-3.21.8-patched/prnt/cupsext/cupsext.c
---- hplip-3.21.8/prnt/cupsext/cupsext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/prnt/cupsext/cupsext.c	2021-10-22 08:26:30.975843330 +0100
-@@ -73,6 +73,7 @@ Yashwant Kumar Sahu
- Sanjay Kumar
- */
- 
-+#define PY_SSIZE_T_CLEAN
- 
- #include <Python.h>
- #include <structmember.h>
-diff -pru hplip-3.21.8/scan/scanext/scanext.c hplip-3.21.8-patched/scan/scanext/scanext.c
---- hplip-3.21.8/scan/scanext/scanext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/scan/scanext/scanext.c	2021-10-21 21:31:23.074739743 +0100
-@@ -45,6 +45,8 @@ PERFORMANCE OF THIS SOFTWARE.
- *******************************************************************/
- 
- 
-+#define PY_SSIZE_T_CLEAN
-+
- /* _ScanDevice objects */
- 
- #include "Python.h"
diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..e33c6847197a 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,6 @@
 # Template file for 'hplip'
 pkgname=hplip
-version=3.21.10
+version=3.22.4
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"
@@ -36,7 +36,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=7be9e547c5ac40917160ef34f59f82275d1daea577067f7eeeb2ae07c7bec110
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From ecf26cb965b7d7cf0384d3ae1e70539416cf97c8 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Wed, 25 May 2022 09:38:21 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.4.

Closes #34845
---
 srcpkgs/hplip-plugin/template | 64 +++++++++++++++++++++++++++++++++++
 1 file changed, 64 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..70f04ef9ae4c
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,64 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.4
+revision=1
+archs="i686 x86_64 armv6h armv7h 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=c888f93256f48230685053d9baf3e34fb6f2969a79a7c9289356e5fee9bfb81c
+repository=nonfree
+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
+
+	if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+		_arch='x86_32'
+	elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+		_arch='x86_64'
+	elif [ $XBPS_TARGET_MACHINE = "armv6h" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "armv7h" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+		_arch='arm64'
+	fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.4. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
@ 2022-05-25  8:06 ` biopsin
  2022-05-28  7:53 ` biopsin
                   ` (25 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-05-25  8:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1136924589

Comment:
@biopsin Forgot to fix #https://github.com/void-linux/void-packages/issues/34845#issuecomment-1007286087

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.4. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
  2022-05-25  8:06 ` biopsin
@ 2022-05-28  7:53 ` biopsin
  2022-08-08  9:42 ` [PR PATCH] [Updated] " biopsin
                   ` (24 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-05-28  7:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1140200197

Comment:
uhm this is awkward as I expected both 40-libsane.rules & S99-2000S1.rules to be in the sane package but xlocate sane.rules only locates 49-sane.rules file, so something is later on creating these or what?

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Updated] hplip: update to 3.22.4. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
  2022-05-25  8:06 ` biopsin
  2022-05-28  7:53 ` biopsin
@ 2022-08-08  9:42 ` biopsin
  2022-08-14  8:16 ` hplip: update to 3.22.6. " dataCobra
                   ` (23 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-08  9:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

There is an updated pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.4. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 8492 bytes --]

From 2f4acbfbc7a37e2eeb16e0f85022583f87efbee6 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 8 Aug 2022 11:40:01 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.6

    Remove 1 patch and add 1 build dependency
    Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
    Continue from PR hplip: update to 3.21.12 #35611
    Close issue Package Request: hplip-plugin #34845
---
 srcpkgs/hplip/patches/pysizet_clean.patch | 100 ----------------------
 srcpkgs/hplip/template                    |   6 +-
 2 files changed, 3 insertions(+), 103 deletions(-)
 delete mode 100644 srcpkgs/hplip/patches/pysizet_clean.patch

diff --git a/srcpkgs/hplip/patches/pysizet_clean.patch b/srcpkgs/hplip/patches/pysizet_clean.patch
deleted file mode 100644
index 38d21f520934..000000000000
--- a/srcpkgs/hplip/patches/pysizet_clean.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-Based on patch by Zdenek Dohnal obtained from
-https://bugs.launchpad.net/hplip/+bug/1933973
-
-diff -pru hplip-3.21.8/io/mudext/hpmudext.c hplip-3.21.8-patched/io/mudext/hpmudext.c
---- hplip-3.21.8/io/mudext/hpmudext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/io/mudext/hpmudext.c	2021-10-22 08:30:38.600922861 +0100
-@@ -24,6 +24,8 @@ Authors: Don Welch, David Suffield, Naga
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <stdarg.h>
- #include "hpmud.h"
-@@ -187,14 +189,22 @@ static PyObject *write_channel(PyObject
-     HPMUD_CHANNEL cd;
-     int timeout = 30;
-     char * buf;
--    int buf_size = 0;
-+    Py_ssize_t buf_size = 0;
-+    int buf_size_asInt = 0;
-     int bytes_written = 0;
- 
-     if (!PyArg_ParseTuple(args, "iis#|i", &dd, &cd, &buf, &buf_size, &timeout))
-         return NULL;
- 
-+    if (buf_size < INT_MIN)
-+      buf_size_asInt = INT_MIN;
-+    else if (buf_size > INT_MAX)
-+      buf_size_asInt = INT_MAX;
-+    else
-+      buf_size_asInt = (int)buf_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_write_channel(dd, cd, buf, buf_size,  timeout, &bytes_written);
-+    result = hpmud_write_channel(dd, cd, buf, buf_size_asInt,  timeout, &bytes_written);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, bytes_written);
-@@ -231,14 +241,22 @@ static PyObject *set_pml(PyObject *self,
-     char * oid;
-     int type;
-     char * data;
--    int data_size;
-+    Py_ssize_t data_size = 0;
-+    int data_size_asInt = 0;
-     int pml_result;
- 
-     if (!PyArg_ParseTuple(args, "iisis#", &dd, &cd, &oid, &type, &data, &data_size))
-         return NULL;
- 
-+    if (data_size < INT_MIN)
-+      data_size_asInt = INT_MIN;
-+    else if (data_size > INT_MAX)
-+      data_size_asInt = INT_MAX;
-+    else
-+      data_size_asInt = (int)data_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size, &pml_result);
-+    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size_asInt, &pml_result);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, pml_result);
-diff -pru hplip-3.21.8/pcard/pcardext/pcardext.c hplip-3.21.8-patched/pcard/pcardext/pcardext.c
---- hplip-3.21.8/pcard/pcardext/pcardext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/pcard/pcardext/pcardext.c	2021-10-22 08:24:11.010798381 +0100
-@@ -24,6 +24,8 @@ Author: Don Welch
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <structmember.h>
- #include "../fat.h"
-diff -pru hplip-3.21.8/prnt/cupsext/cupsext.c hplip-3.21.8-patched/prnt/cupsext/cupsext.c
---- hplip-3.21.8/prnt/cupsext/cupsext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/prnt/cupsext/cupsext.c	2021-10-22 08:26:30.975843330 +0100
-@@ -73,6 +73,7 @@ Yashwant Kumar Sahu
- Sanjay Kumar
- */
- 
-+#define PY_SSIZE_T_CLEAN
- 
- #include <Python.h>
- #include <structmember.h>
-diff -pru hplip-3.21.8/scan/scanext/scanext.c hplip-3.21.8-patched/scan/scanext/scanext.c
---- hplip-3.21.8/scan/scanext/scanext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/scan/scanext/scanext.c	2021-10-21 21:31:23.074739743 +0100
-@@ -45,6 +45,8 @@ PERFORMANCE OF THIS SOFTWARE.
- *******************************************************************/
- 
- 
-+#define PY_SSIZE_T_CLEAN
-+
- /* _ScanDevice objects */
- 
- #include "Python.h"
diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..9c06e7148686 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,6 @@
 # Template file for 'hplip'
 pkgname=hplip
-version=3.21.10
+version=3.22.6
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"
@@ -36,7 +36,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From 3abe5a27a5e3d17488eccca2e2ae0e7e053f3d23 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 8 Aug 2022 11:41:07 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.6.

    Closes #34845
---
 srcpkgs/hplip-plugin/template | 64 +++++++++++++++++++++++++++++++++++
 1 file changed, 64 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..2141186ea95f
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,64 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.6
+revision=1
+archs="i686 x86_64 armv6h armv7h 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=3124023e749754bad74b59cf208be5531d31b216f25343a5a5f2ce82164c82fb
+repository=nonfree
+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
+
+	if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+		_arch='x86_32'
+	elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+		_arch='x86_64'
+	elif [ $XBPS_TARGET_MACHINE = "armv6h" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "armv7h" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+		_arch='arm64'
+	fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (2 preceding siblings ...)
  2022-08-08  9:42 ` [PR PATCH] [Updated] " biopsin
@ 2022-08-14  8:16 ` dataCobra
  2022-08-14 12:11 ` paper42
                   ` (22 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-08-14  8:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1214309026

Comment:
Hey @paper42,

does this PR need some work or is it good to go?

Since I don't know which void-linux team member to ask, I just choose you randomly. I hope you don't mind. When there is a better way of getting attention for a specific PR please let me know. :slightly_smiling_face: 

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (3 preceding siblings ...)
  2022-08-14  8:16 ` hplip: update to 3.22.6. " dataCobra
@ 2022-08-14 12:11 ` paper42
  2022-08-14 12:15 ` [PR REVIEW] " paper42
                   ` (21 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-14 12:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1214356923

Comment:
I don't know anything about this package and I never touched it, so I can't review this and don't feel comfortable blindly merging this.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (6 preceding siblings ...)
  2022-08-14 12:15 ` paper42
@ 2022-08-14 12:15 ` paper42
  2022-08-14 12:24 ` dataCobra
                   ` (18 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-14 12:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r945280373

Comment:
can we redistribute this? If not, it has to be a restricted package.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (5 preceding siblings ...)
  2022-08-14 12:15 ` [PR REVIEW] " paper42
@ 2022-08-14 12:15 ` paper42
  2022-08-14 12:15 ` paper42
                   ` (19 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-14 12:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r945280160

Comment:
armv6h and armv7h are not valid archs

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (4 preceding siblings ...)
  2022-08-14 12:11 ` paper42
@ 2022-08-14 12:15 ` paper42
  2022-08-14 12:15 ` paper42
                   ` (20 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-14 12:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r945280320

Comment:
include this notice in hplip too, otherwise someone will update only hplip and won't notice there is hplip-plugin

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (7 preceding siblings ...)
  2022-08-14 12:15 ` paper42
@ 2022-08-14 12:24 ` dataCobra
  2022-08-14 12:29 ` dataCobra
                   ` (17 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-08-14 12:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1214360448

Comment:
> I don't know anything about this package and I never touched it, so I can't review this and don't feel comfortable blindly merging this.

@paper42, thank you for taking the time to check the PR anyway. :slightly_smiling_face: :+1: 

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (8 preceding siblings ...)
  2022-08-14 12:24 ` dataCobra
@ 2022-08-14 12:29 ` dataCobra
  2022-08-14 13:44 ` biopsin
                   ` (16 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-08-14 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1214361868

Comment:
Hey @biopsin,

do you have the time to get the PR further?

If you need help I'll try to assist you. :+1:

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (9 preceding siblings ...)
  2022-08-14 12:29 ` dataCobra
@ 2022-08-14 13:44 ` biopsin
  2022-08-14 14:02 ` dataCobra
                   ` (15 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-14 13:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1214381106

Comment:
Hi @dataCobra 
jup will resolve my mistakes later today,
please test against your hardware would be nice

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (10 preceding siblings ...)
  2022-08-14 13:44 ` biopsin
@ 2022-08-14 14:02 ` dataCobra
  2022-08-15 10:22 ` [PR PATCH] [Updated] " biopsin
                   ` (14 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-08-14 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1214384381

Comment:
I'll test after your changes. :)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Updated] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (11 preceding siblings ...)
  2022-08-14 14:02 ` dataCobra
@ 2022-08-15 10:22 ` biopsin
  2022-08-15 10:26 ` biopsin
                   ` (13 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-15 10:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

There is an updated pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.6. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 4149 bytes --]

From f73577e64468e6fcb8fe65d9b3eb531c71647d9d Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:13:38 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.6

    Remove 1 patch and add 1 build dependency
    Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
    Continue from PR hplip: update to 3.21.12 #35611
    Close issue Package Request: hplip-plugin #34845
---
 srcpkgs/hplip/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index cde79c1cee18..123b5156f355 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,7 @@
 # Template file for 'hplip'
+# Must be in sync with hplip-plugin package
 pkgname=hplip
-version=3.21.10
+version=3.22.6
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -36,7 +37,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From 648d3e67dc9ab6518f3d3ef0f8b848db1cbba235 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:19:18 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.6.

    Closes #34845
---
 srcpkgs/hplip-plugin/template | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 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..c03fb82ba4c4
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,66 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.6
+revision=1
+archs="i686 x86_64 armv6hf armv7hf 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=3124023e749754bad74b59cf208be5531d31b216f25343a5a5f2ce82164c82fb
+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
+
+    if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+        _arch='x86_32'
+    elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+        _arch='x86_64'
+    elif [ $XBPS_TARGET_MACHINE = "armv6hf" ]; then
+        _arch='arm32'
+    elif [ $XBPS_TARGET_MACHINE = "armv7hf" ]; then
+        _arch='arm32'
+    elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+        _arch='arm64'
+    fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Updated] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (12 preceding siblings ...)
  2022-08-15 10:22 ` [PR PATCH] [Updated] " biopsin
@ 2022-08-15 10:26 ` biopsin
  2022-08-15 10:29 ` biopsin
                   ` (12 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-15 10:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

There is an updated pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.6. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 4104 bytes --]

From f73577e64468e6fcb8fe65d9b3eb531c71647d9d Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:13:38 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.6

    Remove 1 patch and add 1 build dependency
    Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
    Continue from PR hplip: update to 3.21.12 #35611
    Close issue Package Request: hplip-plugin #34845
---
 srcpkgs/hplip/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index cde79c1cee18..123b5156f355 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,7 @@
 # Template file for 'hplip'
+# Must be in sync with hplip-plugin package
 pkgname=hplip
-version=3.21.10
+version=3.22.6
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -36,7 +37,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From 0f0dcf7c6eb171f971d157f4c0538ef8bc7d6211 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:19:18 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.6.

    Closes #34845
---
 srcpkgs/hplip-plugin/template | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 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..bed61d535cd5
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,66 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.6
+revision=1
+archs="i686 x86_64 armv6hf armv7hf 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=3124023e749754bad74b59cf208be5531d31b216f25343a5a5f2ce82164c82fb
+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
+
+	if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+		_arch='x86_32'
+	elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+		_arch='x86_64'
+	elif [ $XBPS_TARGET_MACHINE = "armv6hf" ]; then
+		_arch='arm32'
+    elif [ $XBPS_TARGET_MACHINE = "armv7hf" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+		_arch='arm64'
+	fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Updated] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (13 preceding siblings ...)
  2022-08-15 10:26 ` biopsin
@ 2022-08-15 10:29 ` biopsin
  2022-08-15 10:39 ` biopsin
                   ` (11 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-15 10:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

There is an updated pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.6. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 4101 bytes --]

From f73577e64468e6fcb8fe65d9b3eb531c71647d9d Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:13:38 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.6

    Remove 1 patch and add 1 build dependency
    Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
    Continue from PR hplip: update to 3.21.12 #35611
    Close issue Package Request: hplip-plugin #34845
---
 srcpkgs/hplip/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index cde79c1cee18..123b5156f355 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,7 @@
 # Template file for 'hplip'
+# Must be in sync with hplip-plugin package
 pkgname=hplip
-version=3.21.10
+version=3.22.6
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -36,7 +37,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From fef24fde968c7fc1d2c3aebaa31f7607e2d2e277 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:19:18 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.6.

    Closes #34845
---
 srcpkgs/hplip-plugin/template | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 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..f48e2434f197
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,66 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.6
+revision=1
+archs="i686 x86_64 armv6hf armv7hf 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=3124023e749754bad74b59cf208be5531d31b216f25343a5a5f2ce82164c82fb
+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
+
+	if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+		_arch='x86_32'
+	elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+		_arch='x86_64'
+	elif [ $XBPS_TARGET_MACHINE = "armv6hf" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "armv7hf" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+		_arch='arm64'
+	fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Updated] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (14 preceding siblings ...)
  2022-08-15 10:29 ` biopsin
@ 2022-08-15 10:39 ` biopsin
  2022-08-15 10:49 ` [PR REVIEW] " paper42
                   ` (10 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-15 10:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

There is an updated pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.6. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 8088 bytes --]

From 5698aab2b37dac83bdc2102011f22c633d27d821 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:37:36 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.6

    Remove 1 patch and add 1 build dependency
    Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
    Continue from PR hplip: update to 3.21.12 #35611
    Close issue Package Request: hplip-plugin #34845
---
 srcpkgs/hplip/patches/pysizet_clean.patch | 100 ----------------------
 srcpkgs/hplip/template                    |   5 +-
 2 files changed, 3 insertions(+), 102 deletions(-)
 delete mode 100644 srcpkgs/hplip/patches/pysizet_clean.patch

diff --git a/srcpkgs/hplip/patches/pysizet_clean.patch b/srcpkgs/hplip/patches/pysizet_clean.patch
deleted file mode 100644
index 38d21f520934..000000000000
--- a/srcpkgs/hplip/patches/pysizet_clean.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-Based on patch by Zdenek Dohnal obtained from
-https://bugs.launchpad.net/hplip/+bug/1933973
-
-diff -pru hplip-3.21.8/io/mudext/hpmudext.c hplip-3.21.8-patched/io/mudext/hpmudext.c
---- hplip-3.21.8/io/mudext/hpmudext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/io/mudext/hpmudext.c	2021-10-22 08:30:38.600922861 +0100
-@@ -24,6 +24,8 @@ Authors: Don Welch, David Suffield, Naga
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <stdarg.h>
- #include "hpmud.h"
-@@ -187,14 +189,22 @@ static PyObject *write_channel(PyObject
-     HPMUD_CHANNEL cd;
-     int timeout = 30;
-     char * buf;
--    int buf_size = 0;
-+    Py_ssize_t buf_size = 0;
-+    int buf_size_asInt = 0;
-     int bytes_written = 0;
- 
-     if (!PyArg_ParseTuple(args, "iis#|i", &dd, &cd, &buf, &buf_size, &timeout))
-         return NULL;
- 
-+    if (buf_size < INT_MIN)
-+      buf_size_asInt = INT_MIN;
-+    else if (buf_size > INT_MAX)
-+      buf_size_asInt = INT_MAX;
-+    else
-+      buf_size_asInt = (int)buf_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_write_channel(dd, cd, buf, buf_size,  timeout, &bytes_written);
-+    result = hpmud_write_channel(dd, cd, buf, buf_size_asInt,  timeout, &bytes_written);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, bytes_written);
-@@ -231,14 +241,22 @@ static PyObject *set_pml(PyObject *self,
-     char * oid;
-     int type;
-     char * data;
--    int data_size;
-+    Py_ssize_t data_size = 0;
-+    int data_size_asInt = 0;
-     int pml_result;
- 
-     if (!PyArg_ParseTuple(args, "iisis#", &dd, &cd, &oid, &type, &data, &data_size))
-         return NULL;
- 
-+    if (data_size < INT_MIN)
-+      data_size_asInt = INT_MIN;
-+    else if (data_size > INT_MAX)
-+      data_size_asInt = INT_MAX;
-+    else
-+      data_size_asInt = (int)data_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size, &pml_result);
-+    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size_asInt, &pml_result);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, pml_result);
-diff -pru hplip-3.21.8/pcard/pcardext/pcardext.c hplip-3.21.8-patched/pcard/pcardext/pcardext.c
---- hplip-3.21.8/pcard/pcardext/pcardext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/pcard/pcardext/pcardext.c	2021-10-22 08:24:11.010798381 +0100
-@@ -24,6 +24,8 @@ Author: Don Welch
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <structmember.h>
- #include "../fat.h"
-diff -pru hplip-3.21.8/prnt/cupsext/cupsext.c hplip-3.21.8-patched/prnt/cupsext/cupsext.c
---- hplip-3.21.8/prnt/cupsext/cupsext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/prnt/cupsext/cupsext.c	2021-10-22 08:26:30.975843330 +0100
-@@ -73,6 +73,7 @@ Yashwant Kumar Sahu
- Sanjay Kumar
- */
- 
-+#define PY_SSIZE_T_CLEAN
- 
- #include <Python.h>
- #include <structmember.h>
-diff -pru hplip-3.21.8/scan/scanext/scanext.c hplip-3.21.8-patched/scan/scanext/scanext.c
---- hplip-3.21.8/scan/scanext/scanext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/scan/scanext/scanext.c	2021-10-21 21:31:23.074739743 +0100
-@@ -45,6 +45,8 @@ PERFORMANCE OF THIS SOFTWARE.
- *******************************************************************/
- 
- 
-+#define PY_SSIZE_T_CLEAN
-+
- /* _ScanDevice objects */
- 
- #include "Python.h"
diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index cde79c1cee18..123b5156f355 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,7 @@
 # Template file for 'hplip'
+# Must be in sync with hplip-plugin package
 pkgname=hplip
-version=3.21.10
+version=3.22.6
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -36,7 +37,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From a8561c0b94269181c22da6584790f191172961ee Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:38:20 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.6.

    Closes #34845
---
 srcpkgs/hplip-plugin/template | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 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..f48e2434f197
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,66 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.6
+revision=1
+archs="i686 x86_64 armv6hf armv7hf 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=3124023e749754bad74b59cf208be5531d31b216f25343a5a5f2ce82164c82fb
+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
+
+	if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+		_arch='x86_32'
+	elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+		_arch='x86_64'
+	elif [ $XBPS_TARGET_MACHINE = "armv6hf" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "armv7hf" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+		_arch='arm64'
+	fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (15 preceding siblings ...)
  2022-08-15 10:39 ` biopsin
@ 2022-08-15 10:49 ` paper42
  2022-08-16  5:15 ` [PR PATCH] [Updated] " biopsin
                   ` (9 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-15 10:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r945612023

Comment:
armv6hf and armv7hf are also not valid archs

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Updated] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (16 preceding siblings ...)
  2022-08-15 10:49 ` [PR REVIEW] " paper42
@ 2022-08-16  5:15 ` biopsin
  2022-08-16  5:16 ` [PR REVIEW] " biopsin
                   ` (8 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-16  5:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

There is an updated pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages hplip
https://github.com/void-linux/void-packages/pull/37287

hplip: update to 3.22.6. + new hplip-plugin
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

A patch file from https://github.com/void-linux/void-packages/pull/37287.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hplip-37287.patch --]
[-- Type: text/x-diff, Size: 8015 bytes --]

From 92fb100bf9ca8f4f541b73d2cc109e4fca3e302a Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:37:36 +0200
Subject: [PATCH 1/2] hplip: update to 3.22.6

    Remove 1 patch and add 1 build dependency
    Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
    Continue from PR hplip: update to 3.21.12 #35611
    Close issue Package Request: hplip-plugin #34845
---
 srcpkgs/hplip/patches/pysizet_clean.patch | 100 ----------------------
 srcpkgs/hplip/template                    |   5 +-
 2 files changed, 3 insertions(+), 102 deletions(-)
 delete mode 100644 srcpkgs/hplip/patches/pysizet_clean.patch

diff --git a/srcpkgs/hplip/patches/pysizet_clean.patch b/srcpkgs/hplip/patches/pysizet_clean.patch
deleted file mode 100644
index 38d21f520934..000000000000
--- a/srcpkgs/hplip/patches/pysizet_clean.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-Based on patch by Zdenek Dohnal obtained from
-https://bugs.launchpad.net/hplip/+bug/1933973
-
-diff -pru hplip-3.21.8/io/mudext/hpmudext.c hplip-3.21.8-patched/io/mudext/hpmudext.c
---- hplip-3.21.8/io/mudext/hpmudext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/io/mudext/hpmudext.c	2021-10-22 08:30:38.600922861 +0100
-@@ -24,6 +24,8 @@ Authors: Don Welch, David Suffield, Naga
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <stdarg.h>
- #include "hpmud.h"
-@@ -187,14 +189,22 @@ static PyObject *write_channel(PyObject
-     HPMUD_CHANNEL cd;
-     int timeout = 30;
-     char * buf;
--    int buf_size = 0;
-+    Py_ssize_t buf_size = 0;
-+    int buf_size_asInt = 0;
-     int bytes_written = 0;
- 
-     if (!PyArg_ParseTuple(args, "iis#|i", &dd, &cd, &buf, &buf_size, &timeout))
-         return NULL;
- 
-+    if (buf_size < INT_MIN)
-+      buf_size_asInt = INT_MIN;
-+    else if (buf_size > INT_MAX)
-+      buf_size_asInt = INT_MAX;
-+    else
-+      buf_size_asInt = (int)buf_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_write_channel(dd, cd, buf, buf_size,  timeout, &bytes_written);
-+    result = hpmud_write_channel(dd, cd, buf, buf_size_asInt,  timeout, &bytes_written);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, bytes_written);
-@@ -231,14 +241,22 @@ static PyObject *set_pml(PyObject *self,
-     char * oid;
-     int type;
-     char * data;
--    int data_size;
-+    Py_ssize_t data_size = 0;
-+    int data_size_asInt = 0;
-     int pml_result;
- 
-     if (!PyArg_ParseTuple(args, "iisis#", &dd, &cd, &oid, &type, &data, &data_size))
-         return NULL;
- 
-+    if (data_size < INT_MIN)
-+      data_size_asInt = INT_MIN;
-+    else if (data_size > INT_MAX)
-+      data_size_asInt = INT_MAX;
-+    else
-+      data_size_asInt = (int)data_size;
-+
-     Py_BEGIN_ALLOW_THREADS
--    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size, &pml_result);
-+    result = hpmud_set_pml(dd, cd, oid, type, (void *)data, data_size_asInt, &pml_result);
-     Py_END_ALLOW_THREADS
- 
-     return Py_BuildValue("(ii)", result, pml_result);
-diff -pru hplip-3.21.8/pcard/pcardext/pcardext.c hplip-3.21.8-patched/pcard/pcardext/pcardext.c
---- hplip-3.21.8/pcard/pcardext/pcardext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/pcard/pcardext/pcardext.c	2021-10-22 08:24:11.010798381 +0100
-@@ -24,6 +24,8 @@ Author: Don Welch
- 
- \*****************************************************************************/
- 
-+#define PY_SSIZE_T_CLEAN
-+
- #include <Python.h>
- #include <structmember.h>
- #include "../fat.h"
-diff -pru hplip-3.21.8/prnt/cupsext/cupsext.c hplip-3.21.8-patched/prnt/cupsext/cupsext.c
---- hplip-3.21.8/prnt/cupsext/cupsext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/prnt/cupsext/cupsext.c	2021-10-22 08:26:30.975843330 +0100
-@@ -73,6 +73,7 @@ Yashwant Kumar Sahu
- Sanjay Kumar
- */
- 
-+#define PY_SSIZE_T_CLEAN
- 
- #include <Python.h>
- #include <structmember.h>
-diff -pru hplip-3.21.8/scan/scanext/scanext.c hplip-3.21.8-patched/scan/scanext/scanext.c
---- hplip-3.21.8/scan/scanext/scanext.c	2021-09-01 16:10:17.000000000 +0100
-+++ hplip-3.21.8-patched/scan/scanext/scanext.c	2021-10-21 21:31:23.074739743 +0100
-@@ -45,6 +45,8 @@ PERFORMANCE OF THIS SOFTWARE.
- *******************************************************************/
- 
- 
-+#define PY_SSIZE_T_CLEAN
-+
- /* _ScanDevice objects */
- 
- #include "Python.h"
diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index cde79c1cee18..123b5156f355 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -1,6 +1,7 @@
 # Template file for 'hplip'
+# Must be in sync with hplip-plugin package
 pkgname=hplip
-version=3.21.10
+version=3.22.6
 revision=1
 build_style=gnu-configure
 pycompile_dirs="usr/share/hplip"
@@ -36,7 +37,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=de230e1fdd1e718fc718417265612e0c882949e08fe045ee56f9f9882e6b6a60
+checksum=27ed0d492febb0b47c656234820d3ce573b24ff5b62e3bf4b2c47f82868d6bb4
 conflicts="hplip-gui"
 
 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}"

From e16d1b38993e700412d722bf4e146b6aab993f4b Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Mon, 15 Aug 2022 12:38:20 +0200
Subject: [PATCH 2/2] New Package: hplip-plugin-3.22.6.

    Closes #34845
---
 srcpkgs/hplip-plugin/template | 64 +++++++++++++++++++++++++++++++++++
 1 file changed, 64 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..c3ba263c6021
--- /dev/null
+++ b/srcpkgs/hplip-plugin/template
@@ -0,0 +1,64 @@
+# Template file for 'hplip-plugin'
+# Must be in sync with main hplip package
+pkgname=hplip-plugin
+version=3.22.6
+revision=1
+archs="i686 x86_64 armv[67] 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=3124023e749754bad74b59cf208be5531d31b216f25343a5a5f2ce82164c82fb
+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
+
+	if [ $XBPS_TARGET_MACHINE = "i686" ]; then
+		_arch='x86_32'
+	elif [ $XBPS_TARGET_MACHINE = "x86_64" ]; then
+		_arch='x86_64'
+	elif [ $XBPS_TARGET_MACHINE = "armv[67]" ]; then
+		_arch='arm32'
+	elif [ $XBPS_TARGET_MACHINE = "aarch64" ]; then
+		_arch='arm64'
+	fi
+
+	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
+}

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (17 preceding siblings ...)
  2022-08-16  5:15 ` [PR PATCH] [Updated] " biopsin
@ 2022-08-16  5:16 ` biopsin
  2022-08-16 12:28 ` paper42
                   ` (7 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-08-16  5:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

New review comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r946344717

Comment:
Corrected

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (18 preceding siblings ...)
  2022-08-16  5:16 ` [PR REVIEW] " biopsin
@ 2022-08-16 12:28 ` paper42
  2022-08-16 12:30 ` paper42
                   ` (6 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-16 12:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r946713790

Comment:
still not correct, look at other templates or to common/build-profiles, the correct arch names are armv6l and armv7l

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR REVIEW] hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (19 preceding siblings ...)
  2022-08-16 12:28 ` paper42
@ 2022-08-16 12:30 ` paper42
  2022-09-05 18:47 ` dataCobra
                   ` (5 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: paper42 @ 2022-08-16 12:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#discussion_r946716039

Comment:
this doesn't work, = does not match with regex

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (20 preceding siblings ...)
  2022-08-16 12:30 ` paper42
@ 2022-09-05 18:47 ` dataCobra
  2022-09-06 16:45 ` biopsin
                   ` (4 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-09-05 18:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1237387560

Comment:
Hey @biopsin,

are you able to fix the issues?

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (21 preceding siblings ...)
  2022-09-05 18:47 ` dataCobra
@ 2022-09-06 16:45 ` biopsin
  2022-09-07  8:58 ` dataCobra
                   ` (3 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-09-06 16:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1238404100

Comment:
@dataCobra 
Please take over as I see I wont make it in reasonable time at the moment.
I also wanted to fix the sane pkg -> 49-sane.rules file but it should be in own PR.
Sorry for the lag

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (22 preceding siblings ...)
  2022-09-06 16:45 ` biopsin
@ 2022-09-07  8:58 ` dataCobra
  2022-09-07  9:11 ` dataCobra
                   ` (2 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-09-07  8:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1239107729

Comment:
@biopsin I've created a new PR. You can close this one if you want.

You are named as the maintainer of the hplip-plugin package. I'll not change this.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (23 preceding siblings ...)
  2022-09-07  8:58 ` dataCobra
@ 2022-09-07  9:11 ` dataCobra
  2022-09-21  8:35 ` dataCobra
  2022-09-21  9:13 ` [PR PATCH] [Closed]: " biopsin
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-09-07  9:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1239107729

Comment:
@biopsin I've created two new PRs. You can close this one if you want.

You are named as the maintainer of the hplip-plugin package. I'll not change this.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (24 preceding siblings ...)
  2022-09-07  9:11 ` dataCobra
@ 2022-09-21  8:35 ` dataCobra
  2022-09-21  9:13 ` [PR PATCH] [Closed]: " biopsin
  26 siblings, 0 replies; 28+ messages in thread
From: dataCobra @ 2022-09-21  8:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

New comment by dataCobra on void-packages repository

https://github.com/void-linux/void-packages/pull/37287#issuecomment-1253383146

Comment:
Hey @biopsin, are you able to close here?

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PR PATCH] [Closed]: hplip: update to 3.22.6. + new hplip-plugin
  2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
                   ` (25 preceding siblings ...)
  2022-09-21  8:35 ` dataCobra
@ 2022-09-21  9:13 ` biopsin
  26 siblings, 0 replies; 28+ messages in thread
From: biopsin @ 2022-09-21  9:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

There's a closed pull request on the void-packages repository

hplip: update to 3.22.6. + new hplip-plugin
https://github.com/void-linux/void-packages/pull/37287

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

- Remove 1 patch and add 1 build dependency
- Tested both packages with hplip-scan & xsane on HP Neverstop Laser MFP 120x.
- Continue from PR #35611
- Close issue #34845

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-09-21  9:13 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25  7:50 [PR PATCH] hplip: update to 3.22.4. + new hplip-plugin biopsin
2022-05-25  8:06 ` biopsin
2022-05-28  7:53 ` biopsin
2022-08-08  9:42 ` [PR PATCH] [Updated] " biopsin
2022-08-14  8:16 ` hplip: update to 3.22.6. " dataCobra
2022-08-14 12:11 ` paper42
2022-08-14 12:15 ` [PR REVIEW] " paper42
2022-08-14 12:15 ` paper42
2022-08-14 12:15 ` paper42
2022-08-14 12:24 ` dataCobra
2022-08-14 12:29 ` dataCobra
2022-08-14 13:44 ` biopsin
2022-08-14 14:02 ` dataCobra
2022-08-15 10:22 ` [PR PATCH] [Updated] " biopsin
2022-08-15 10:26 ` biopsin
2022-08-15 10:29 ` biopsin
2022-08-15 10:39 ` biopsin
2022-08-15 10:49 ` [PR REVIEW] " paper42
2022-08-16  5:15 ` [PR PATCH] [Updated] " biopsin
2022-08-16  5:16 ` [PR REVIEW] " biopsin
2022-08-16 12:28 ` paper42
2022-08-16 12:30 ` paper42
2022-09-05 18:47 ` dataCobra
2022-09-06 16:45 ` biopsin
2022-09-07  8:58 ` dataCobra
2022-09-07  9:11 ` dataCobra
2022-09-21  8:35 ` dataCobra
2022-09-21  9:13 ` [PR PATCH] [Closed]: " biopsin

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).