Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: pfusp-2.2.0
@ 2022-05-03 10:25 joshuakraemer
  2022-05-03 10:34 ` [PR PATCH] [Updated] " joshuakraemer
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: joshuakraemer @ 2022-05-03 10:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/joshuakraemer/void-packages new-package-pfusp
https://github.com/void-linux/void-packages/pull/36972

New package: pfusp-2.2.0
This is the proprietary SANE backend for Fujitsu SP series scanners.

#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-pfusp-36972.patch --]
[-- Type: text/x-diff, Size: 5176 bytes --]

From a59e5415f13012627a2094db21a55303c33a65c4 Mon Sep 17 00:00:00 2001
From: Joshua <joshua@kraemer.link>
Date: Tue, 3 May 2022 12:08:44 +0200
Subject: [PATCH] New package: pfusp-2.2.0

---
 srcpkgs/pfusp/files/60-pfusp.rules          | 26 ++++++++++++
 srcpkgs/pfusp/files/consumablessettings.xml | 15 +++++++
 srcpkgs/pfusp/files/pfusp                   |  1 +
 srcpkgs/pfusp/files/pfusp.conf              | 21 ++++++++++
 srcpkgs/pfusp/files/simple-scan.conf        |  1 +
 srcpkgs/pfusp/template                      | 45 +++++++++++++++++++++
 6 files changed, 109 insertions(+)
 create mode 100644 srcpkgs/pfusp/files/60-pfusp.rules
 create mode 100644 srcpkgs/pfusp/files/consumablessettings.xml
 create mode 100644 srcpkgs/pfusp/files/pfusp
 create mode 100644 srcpkgs/pfusp/files/pfusp.conf
 create mode 100644 srcpkgs/pfusp/files/simple-scan.conf
 create mode 100644 srcpkgs/pfusp/template

diff --git a/srcpkgs/pfusp/files/60-pfusp.rules b/srcpkgs/pfusp/files/60-pfusp.rules
new file mode 100644
index 000000000000..bf48b73d7286
--- /dev/null
+++ b/srcpkgs/pfusp/files/60-pfusp.rules
@@ -0,0 +1,26 @@
+ACTION!="add", GOTO="pfusp_scanner_rules_end"
+ENV{DEVTYPE}!="usb_device", GOTO="pfusp_scanner_rules_end"
+ATTR{idVendor}!="04c5", GOTO="pfusp_scanner_rules_end"
+
+LABEL="pfusp_scanner_rules_begin"
+#SP-1120
+ATTRS{idProduct}=="1473", ENV{pfusp_driver}="yes"
+#SP-1125
+ATTRS{idProduct}=="1475", ENV{pfusp_driver}="yes"
+#SP-1130
+ATTRS{idProduct}=="1476", ENV{pfusp_driver}="yes"
+#SP-1425
+ATTRS{idProduct}=="1524", ENV{pfusp_driver}="yes"
+#SP-1120N
+ATTRS{idProduct}=="1625", ENV{pfusp_driver}="yes"
+#SP-1125N
+ATTRS{idProduct}=="1626", ENV{pfusp_driver}="yes"
+#SP-1130N
+ATTRS{idProduct}=="1627", ENV{pfusp_driver}="yes"
+# Give scanner users read/write permissions on the device.
+ENV{pfusp_driver}=="yes", MODE="0666", OWNER="root", GROUP="root"
+
+# Device detection by pfusp depends on libsane_matched being set.
+ENV{pfusp_driver}=="yes", ENV{libsane_matched}="yes"
+
+LABEL="pfusp_scanner_rules_end"
diff --git a/srcpkgs/pfusp/files/consumablessettings.xml b/srcpkgs/pfusp/files/consumablessettings.xml
new file mode 100644
index 000000000000..b0d094e1c551
--- /dev/null
+++ b/srcpkgs/pfusp/files/consumablessettings.xml
@@ -0,0 +1,15 @@
+<Root>
+<SP-1120>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1120>
+<SP-1125>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1125>
+<SP-1130>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1130>
+<SP-1425>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1425>
+<Version>2.2.0</Version>
+</Root>
diff --git a/srcpkgs/pfusp/files/pfusp b/srcpkgs/pfusp/files/pfusp
new file mode 100644
index 000000000000..fcbab2419252
--- /dev/null
+++ b/srcpkgs/pfusp/files/pfusp
@@ -0,0 +1 @@
+pfusp
diff --git a/srcpkgs/pfusp/files/pfusp.conf b/srcpkgs/pfusp/files/pfusp.conf
new file mode 100644
index 000000000000..432c1abe7357
--- /dev/null
+++ b/srcpkgs/pfusp/files/pfusp.conf
@@ -0,0 +1,21 @@
+#SP-1120
+usb 0x04c5 0x1473
+
+#SP-1125
+usb 0x04c5 0x1475
+
+#SP-1130
+usb 0x04c5 0x1476
+
+#SP-1425
+usb 0x04c5 0x1524
+
+#SP-1120N
+usb 0x04c5 0x1625
+
+#SP-1125N
+usb 0x04c5 0x1626
+
+#SP-1130N
+usb 0x04c5 0x1627
+
diff --git a/srcpkgs/pfusp/files/simple-scan.conf b/srcpkgs/pfusp/files/simple-scan.conf
new file mode 100644
index 000000000000..69b02c8febdd
--- /dev/null
+++ b/srcpkgs/pfusp/files/simple-scan.conf
@@ -0,0 +1 @@
+PAPER_SIZE=0
diff --git a/srcpkgs/pfusp/template b/srcpkgs/pfusp/template
new file mode 100644
index 000000000000..81be24d19e5c
--- /dev/null
+++ b/srcpkgs/pfusp/template
@@ -0,0 +1,45 @@
+# Template file for 'pfusp'
+pkgname=pfusp
+version=2.2.0
+revision=1
+archs="x86_64"
+hostmakedepends="binutils tar xz"
+depends="sane"
+short_desc="SANE backend for Fujitsu SP series scanners"
+maintainer="Joshua Krämer <joshua@kraemer.link>"
+license="custom:EULA"
+homepage="https://imagescanner.fujitsu.com/global/dl/index-sps.html"
+restricted=yes
+repository=nonfree
+distfiles="https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/220/pfusp-ubuntu_${version}_amd64.deb
+ https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/220/P2U3-0210-03ENZ0.pdf"
+checksum="6bd1289b52a2d2574f5260dd29ea9e1a9a75bd6f02ccc904c9fc3d6f2d8642dc
+ cbf3cbb95d7266a53b8203c590af8256787b588b5ba12cfb30c645edf8d2fd85"
+
+do_extract() {
+	ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/pfusp-ubuntu_${version}_amd64.deb data.tar.xz | tar -xJf -
+}
+
+do_install() {
+	vcopy "*" /
+	vdoc opt/pfusp/readme.txt
+	vdoc opt/pfusp/readmeJPN.txt
+	vdoc ${XBPS_SRCDISTDIR}/${pkgname}-${version}/P2U3-0210-03ENZ0.pdf
+	vlicense opt/pfusp/LicenseENU.txt
+	vlicense opt/pfusp/LicenseJPN.txt
+	rm ${DESTDIR}/opt/pfusp/*.txt
+
+	cd ${DESTDIR}/opt/pfusp
+	chmod 755 bin/* consumables/* etc/pfuspsysinfo.sh lib/* pfuspgetinfo/*
+
+	vmkdir usr/bin
+	vmkdir etc
+	ln -s -t ${DESTDIR}/usr/bin /opt/pfusp/consumables/pfuspconsumables
+	ln -s -t ${DESTDIR}/usr/bin /opt/pfusp/bin/pfuspscanmanager
+	ln -s /opt/pfusp/etc ${DESTDIR}/etc/pfusp
+
+	cd ${FILESDIR}
+	vinstall 60-pfusp.rules 644 usr/lib/udev/rules.d
+	vinstall pfusp 644 etc/sane.d/dll.d
+	vcopy "pfusp.conf simple-scan.conf consumablessettings.xml" opt/pfusp/etc
+}

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

* Re: [PR PATCH] [Updated] New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
@ 2022-05-03 10:34 ` joshuakraemer
  2022-08-07  2:14 ` github-actions
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: joshuakraemer @ 2022-05-03 10:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/joshuakraemer/void-packages new-package-pfusp
https://github.com/void-linux/void-packages/pull/36972

New package: pfusp-2.2.0
This is the proprietary SANE backend for Fujitsu SP series scanners.

#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-pfusp-36972.patch --]
[-- Type: text/x-diff, Size: 5176 bytes --]

From fce675bb9afcddd3eef3aa61e11a9d22d31625a4 Mon Sep 17 00:00:00 2001
From: Joshua <joshua@kraemer.link>
Date: Tue, 3 May 2022 12:08:44 +0200
Subject: [PATCH] New package: pfusp-2.2.0

---
 srcpkgs/pfusp/files/60-pfusp.rules          | 26 ++++++++++++
 srcpkgs/pfusp/files/consumablessettings.xml | 15 +++++++
 srcpkgs/pfusp/files/pfusp                   |  1 +
 srcpkgs/pfusp/files/pfusp.conf              | 21 ++++++++++
 srcpkgs/pfusp/files/simple-scan.conf        |  1 +
 srcpkgs/pfusp/template                      | 45 +++++++++++++++++++++
 6 files changed, 109 insertions(+)
 create mode 100644 srcpkgs/pfusp/files/60-pfusp.rules
 create mode 100644 srcpkgs/pfusp/files/consumablessettings.xml
 create mode 100644 srcpkgs/pfusp/files/pfusp
 create mode 100644 srcpkgs/pfusp/files/pfusp.conf
 create mode 100644 srcpkgs/pfusp/files/simple-scan.conf
 create mode 100644 srcpkgs/pfusp/template

diff --git a/srcpkgs/pfusp/files/60-pfusp.rules b/srcpkgs/pfusp/files/60-pfusp.rules
new file mode 100644
index 000000000000..bf48b73d7286
--- /dev/null
+++ b/srcpkgs/pfusp/files/60-pfusp.rules
@@ -0,0 +1,26 @@
+ACTION!="add", GOTO="pfusp_scanner_rules_end"
+ENV{DEVTYPE}!="usb_device", GOTO="pfusp_scanner_rules_end"
+ATTR{idVendor}!="04c5", GOTO="pfusp_scanner_rules_end"
+
+LABEL="pfusp_scanner_rules_begin"
+#SP-1120
+ATTRS{idProduct}=="1473", ENV{pfusp_driver}="yes"
+#SP-1125
+ATTRS{idProduct}=="1475", ENV{pfusp_driver}="yes"
+#SP-1130
+ATTRS{idProduct}=="1476", ENV{pfusp_driver}="yes"
+#SP-1425
+ATTRS{idProduct}=="1524", ENV{pfusp_driver}="yes"
+#SP-1120N
+ATTRS{idProduct}=="1625", ENV{pfusp_driver}="yes"
+#SP-1125N
+ATTRS{idProduct}=="1626", ENV{pfusp_driver}="yes"
+#SP-1130N
+ATTRS{idProduct}=="1627", ENV{pfusp_driver}="yes"
+# Give scanner users read/write permissions on the device.
+ENV{pfusp_driver}=="yes", MODE="0666", OWNER="root", GROUP="root"
+
+# Device detection by pfusp depends on libsane_matched being set.
+ENV{pfusp_driver}=="yes", ENV{libsane_matched}="yes"
+
+LABEL="pfusp_scanner_rules_end"
diff --git a/srcpkgs/pfusp/files/consumablessettings.xml b/srcpkgs/pfusp/files/consumablessettings.xml
new file mode 100644
index 000000000000..b0d094e1c551
--- /dev/null
+++ b/srcpkgs/pfusp/files/consumablessettings.xml
@@ -0,0 +1,15 @@
+<Root>
+<SP-1120>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1120>
+<SP-1125>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1125>
+<SP-1130>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1130>
+<SP-1425>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1425>
+<Version>2.2.0</Version>
+</Root>
diff --git a/srcpkgs/pfusp/files/pfusp b/srcpkgs/pfusp/files/pfusp
new file mode 100644
index 000000000000..fcbab2419252
--- /dev/null
+++ b/srcpkgs/pfusp/files/pfusp
@@ -0,0 +1 @@
+pfusp
diff --git a/srcpkgs/pfusp/files/pfusp.conf b/srcpkgs/pfusp/files/pfusp.conf
new file mode 100644
index 000000000000..432c1abe7357
--- /dev/null
+++ b/srcpkgs/pfusp/files/pfusp.conf
@@ -0,0 +1,21 @@
+#SP-1120
+usb 0x04c5 0x1473
+
+#SP-1125
+usb 0x04c5 0x1475
+
+#SP-1130
+usb 0x04c5 0x1476
+
+#SP-1425
+usb 0x04c5 0x1524
+
+#SP-1120N
+usb 0x04c5 0x1625
+
+#SP-1125N
+usb 0x04c5 0x1626
+
+#SP-1130N
+usb 0x04c5 0x1627
+
diff --git a/srcpkgs/pfusp/files/simple-scan.conf b/srcpkgs/pfusp/files/simple-scan.conf
new file mode 100644
index 000000000000..69b02c8febdd
--- /dev/null
+++ b/srcpkgs/pfusp/files/simple-scan.conf
@@ -0,0 +1 @@
+PAPER_SIZE=0
diff --git a/srcpkgs/pfusp/template b/srcpkgs/pfusp/template
new file mode 100644
index 000000000000..dcd18763102b
--- /dev/null
+++ b/srcpkgs/pfusp/template
@@ -0,0 +1,45 @@
+# Template file for 'pfusp'
+pkgname=pfusp
+version=2.2.0
+revision=1
+archs="x86_64"
+hostmakedepends="binutils tar xz"
+depends="sane"
+short_desc="SANE backend for Fujitsu SP series scanners"
+maintainer="Joshua Krämer <joshua@kraemer.link>"
+license="custom:EULA"
+homepage="https://imagescanner.fujitsu.com/global/dl/index-sps.html"
+distfiles="https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/220/pfusp-ubuntu_${version}_amd64.deb
+ https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/220/P2U3-0210-03ENZ0.pdf"
+checksum="6bd1289b52a2d2574f5260dd29ea9e1a9a75bd6f02ccc904c9fc3d6f2d8642dc
+ cbf3cbb95d7266a53b8203c590af8256787b588b5ba12cfb30c645edf8d2fd85"
+restricted=yes
+repository=nonfree
+
+do_extract() {
+	ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/pfusp-ubuntu_${version}_amd64.deb data.tar.xz | tar -xJf -
+}
+
+do_install() {
+	vcopy "*" /
+	vdoc opt/pfusp/readme.txt
+	vdoc opt/pfusp/readmeJPN.txt
+	vdoc ${XBPS_SRCDISTDIR}/${pkgname}-${version}/P2U3-0210-03ENZ0.pdf
+	vlicense opt/pfusp/LicenseENU.txt
+	vlicense opt/pfusp/LicenseJPN.txt
+	rm ${DESTDIR}/opt/pfusp/*.txt
+
+	cd ${DESTDIR}/opt/pfusp
+	chmod 755 bin/* consumables/* etc/pfuspsysinfo.sh lib/* pfuspgetinfo/*
+
+	vmkdir usr/bin
+	vmkdir etc
+	ln -s -t ${DESTDIR}/usr/bin /opt/pfusp/consumables/pfuspconsumables
+	ln -s -t ${DESTDIR}/usr/bin /opt/pfusp/bin/pfuspscanmanager
+	ln -s /opt/pfusp/etc ${DESTDIR}/etc/pfusp
+
+	cd ${FILESDIR}
+	vinstall 60-pfusp.rules 644 usr/lib/udev/rules.d
+	vinstall pfusp 644 etc/sane.d/dll.d
+	vcopy "pfusp.conf simple-scan.conf consumablessettings.xml" opt/pfusp/etc
+}

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

* Re: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
  2022-05-03 10:34 ` [PR PATCH] [Updated] " joshuakraemer
@ 2022-08-07  2:14 ` github-actions
  2022-08-08  8:50 ` joshuakraemer
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-08-07  2:14 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/36972#issuecomment-1207316042

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
  2022-05-03 10:34 ` [PR PATCH] [Updated] " joshuakraemer
  2022-08-07  2:14 ` github-actions
@ 2022-08-08  8:50 ` joshuakraemer
  2022-11-08  2:13 ` github-actions
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: joshuakraemer @ 2022-08-08  8:50 UTC (permalink / raw)
  To: ml

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

New comment by joshuakraemer on void-packages repository

https://github.com/void-linux/void-packages/pull/36972#issuecomment-1207846306

Comment:
Bump

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

* Re: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (2 preceding siblings ...)
  2022-08-08  8:50 ` joshuakraemer
@ 2022-11-08  2:13 ` github-actions
  2022-11-08  8:55 ` joshuakraemer
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-11-08  2:13 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/36972#issuecomment-1306519432

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (3 preceding siblings ...)
  2022-11-08  2:13 ` github-actions
@ 2022-11-08  8:55 ` joshuakraemer
  2023-02-07  2:27 ` github-actions
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: joshuakraemer @ 2022-11-08  8:55 UTC (permalink / raw)
  To: ml

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

New comment by joshuakraemer on void-packages repository

https://github.com/void-linux/void-packages/pull/36972#issuecomment-1306852245

Comment:
Bump

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

* Re: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (4 preceding siblings ...)
  2022-11-08  8:55 ` joshuakraemer
@ 2023-02-07  2:27 ` github-actions
  2023-02-22  2:01 ` [PR PATCH] [Closed]: " github-actions
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-02-07  2:27 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/36972#issuecomment-1420105804

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (5 preceding siblings ...)
  2023-02-07  2:27 ` github-actions
@ 2023-02-22  2:01 ` github-actions
  2023-03-08 16:43 ` [PR PATCH] [Updated] " joshuakraemer
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-02-22  2:01 UTC (permalink / raw)
  To: ml

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

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

New package: pfusp-2.2.0
https://github.com/void-linux/void-packages/pull/36972

Description:
This is the proprietary SANE backend for Fujitsu SP series scanners.

#### 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**


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

* Re: [PR PATCH] [Updated] New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (6 preceding siblings ...)
  2023-02-22  2:01 ` [PR PATCH] [Closed]: " github-actions
@ 2023-03-08 16:43 ` joshuakraemer
  2023-06-07  2:06 ` github-actions
  2023-06-22  1:59 ` [PR PATCH] [Closed]: " github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: joshuakraemer @ 2023-03-08 16:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/joshuakraemer/void-packages new-package-pfusp
https://github.com/void-linux/void-packages/pull/36972

New package: pfusp-2.2.0
This is the proprietary SANE backend for Fujitsu SP series scanners.

#### 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**


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-pfusp-36972.patch --]
[-- Type: text/x-diff, Size: 5091 bytes --]

From 20452f141d706622a70f5e407efc080cd26ed075 Mon Sep 17 00:00:00 2001
From: Joshua <joshua@kraemer.link>
Date: Tue, 3 May 2022 12:08:44 +0200
Subject: [PATCH] New package: pfusp-2.2.0

---
 srcpkgs/pfusp/files/60-pfusp.rules          | 26 +++++++++++++
 srcpkgs/pfusp/files/consumablessettings.xml | 15 ++++++++
 srcpkgs/pfusp/files/pfusp                   |  1 +
 srcpkgs/pfusp/files/pfusp.conf              | 21 +++++++++++
 srcpkgs/pfusp/files/simple-scan.conf        |  1 +
 srcpkgs/pfusp/template                      | 42 +++++++++++++++++++++
 6 files changed, 106 insertions(+)
 create mode 100644 srcpkgs/pfusp/files/60-pfusp.rules
 create mode 100644 srcpkgs/pfusp/files/consumablessettings.xml
 create mode 100644 srcpkgs/pfusp/files/pfusp
 create mode 100644 srcpkgs/pfusp/files/pfusp.conf
 create mode 100644 srcpkgs/pfusp/files/simple-scan.conf
 create mode 100644 srcpkgs/pfusp/template

diff --git a/srcpkgs/pfusp/files/60-pfusp.rules b/srcpkgs/pfusp/files/60-pfusp.rules
new file mode 100644
index 000000000000..bf48b73d7286
--- /dev/null
+++ b/srcpkgs/pfusp/files/60-pfusp.rules
@@ -0,0 +1,26 @@
+ACTION!="add", GOTO="pfusp_scanner_rules_end"
+ENV{DEVTYPE}!="usb_device", GOTO="pfusp_scanner_rules_end"
+ATTR{idVendor}!="04c5", GOTO="pfusp_scanner_rules_end"
+
+LABEL="pfusp_scanner_rules_begin"
+#SP-1120
+ATTRS{idProduct}=="1473", ENV{pfusp_driver}="yes"
+#SP-1125
+ATTRS{idProduct}=="1475", ENV{pfusp_driver}="yes"
+#SP-1130
+ATTRS{idProduct}=="1476", ENV{pfusp_driver}="yes"
+#SP-1425
+ATTRS{idProduct}=="1524", ENV{pfusp_driver}="yes"
+#SP-1120N
+ATTRS{idProduct}=="1625", ENV{pfusp_driver}="yes"
+#SP-1125N
+ATTRS{idProduct}=="1626", ENV{pfusp_driver}="yes"
+#SP-1130N
+ATTRS{idProduct}=="1627", ENV{pfusp_driver}="yes"
+# Give scanner users read/write permissions on the device.
+ENV{pfusp_driver}=="yes", MODE="0666", OWNER="root", GROUP="root"
+
+# Device detection by pfusp depends on libsane_matched being set.
+ENV{pfusp_driver}=="yes", ENV{libsane_matched}="yes"
+
+LABEL="pfusp_scanner_rules_end"
diff --git a/srcpkgs/pfusp/files/consumablessettings.xml b/srcpkgs/pfusp/files/consumablessettings.xml
new file mode 100644
index 000000000000..b0d094e1c551
--- /dev/null
+++ b/srcpkgs/pfusp/files/consumablessettings.xml
@@ -0,0 +1,15 @@
+<Root>
+<SP-1120>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1120>
+<SP-1125>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1125>
+<SP-1130>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1130>
+<SP-1425>
+<IgnoreEnergyStar3>0</IgnoreEnergyStar3>
+</SP-1425>
+<Version>2.2.0</Version>
+</Root>
diff --git a/srcpkgs/pfusp/files/pfusp b/srcpkgs/pfusp/files/pfusp
new file mode 100644
index 000000000000..fcbab2419252
--- /dev/null
+++ b/srcpkgs/pfusp/files/pfusp
@@ -0,0 +1 @@
+pfusp
diff --git a/srcpkgs/pfusp/files/pfusp.conf b/srcpkgs/pfusp/files/pfusp.conf
new file mode 100644
index 000000000000..432c1abe7357
--- /dev/null
+++ b/srcpkgs/pfusp/files/pfusp.conf
@@ -0,0 +1,21 @@
+#SP-1120
+usb 0x04c5 0x1473
+
+#SP-1125
+usb 0x04c5 0x1475
+
+#SP-1130
+usb 0x04c5 0x1476
+
+#SP-1425
+usb 0x04c5 0x1524
+
+#SP-1120N
+usb 0x04c5 0x1625
+
+#SP-1125N
+usb 0x04c5 0x1626
+
+#SP-1130N
+usb 0x04c5 0x1627
+
diff --git a/srcpkgs/pfusp/files/simple-scan.conf b/srcpkgs/pfusp/files/simple-scan.conf
new file mode 100644
index 000000000000..69b02c8febdd
--- /dev/null
+++ b/srcpkgs/pfusp/files/simple-scan.conf
@@ -0,0 +1 @@
+PAPER_SIZE=0
diff --git a/srcpkgs/pfusp/template b/srcpkgs/pfusp/template
new file mode 100644
index 000000000000..9e2d48e63b1b
--- /dev/null
+++ b/srcpkgs/pfusp/template
@@ -0,0 +1,42 @@
+# Template file for 'pfusp'
+pkgname=pfusp
+version=2.2.0
+revision=1
+archs="x86_64"
+hostmakedepends="binutils tar xz"
+depends="sane"
+short_desc="SANE backend for Fujitsu SP series scanners"
+maintainer="Joshua Krämer <joshua@kraemer.link>"
+license="custom:EULA"
+homepage="https://imagescanner.fujitsu.com/global/dl/index-sps.html"
+distfiles="https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/220/pfusp-ubuntu_${version}_amd64.deb
+ https://origin.pfultd.com/downloads/IMAGE/driver/ubuntu/220/P2U3-0210-03ENZ0.pdf"
+checksum="6bd1289b52a2d2574f5260dd29ea9e1a9a75bd6f02ccc904c9fc3d6f2d8642dc
+ cbf3cbb95d7266a53b8203c590af8256787b588b5ba12cfb30c645edf8d2fd85"
+skip_extraction="P2U3-0210-03ENZ0.pdf"
+repository=nonfree
+restricted=yes
+
+do_install() {
+	vcopy "*" /
+	vdoc opt/pfusp/readme.txt
+	vdoc opt/pfusp/readmeJPN.txt
+	vdoc ${XBPS_SRCDISTDIR}/${pkgname}-${version}/P2U3-0210-03ENZ0.pdf
+	vlicense opt/pfusp/LicenseENU.txt
+	vlicense opt/pfusp/LicenseJPN.txt
+	rm ${DESTDIR}/opt/pfusp/*.txt
+
+	cd ${DESTDIR}/opt/pfusp
+	chmod 755 bin/* consumables/* etc/pfuspsysinfo.sh lib/* pfuspgetinfo/*
+
+	vmkdir usr/bin
+	vmkdir etc
+	ln -s -t ${DESTDIR}/usr/bin /opt/pfusp/consumables/pfuspconsumables
+	ln -s -t ${DESTDIR}/usr/bin /opt/pfusp/bin/pfuspscanmanager
+	ln -s /opt/pfusp/etc ${DESTDIR}/etc/pfusp
+
+	cd ${FILESDIR}
+	vinstall 60-pfusp.rules 644 usr/lib/udev/rules.d
+	vinstall pfusp 644 etc/sane.d/dll.d
+	vcopy "pfusp.conf simple-scan.conf consumablessettings.xml" opt/pfusp/etc
+}

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

* Re: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (7 preceding siblings ...)
  2023-03-08 16:43 ` [PR PATCH] [Updated] " joshuakraemer
@ 2023-06-07  2:06 ` github-actions
  2023-06-22  1:59 ` [PR PATCH] [Closed]: " github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-06-07  2:06 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/36972#issuecomment-1579754809

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: pfusp-2.2.0
  2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
                   ` (8 preceding siblings ...)
  2023-06-07  2:06 ` github-actions
@ 2023-06-22  1:59 ` github-actions
  9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-06-22  1:59 UTC (permalink / raw)
  To: ml

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

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

New package: pfusp-2.2.0
https://github.com/void-linux/void-packages/pull/36972

Description:
This is the proprietary SANE backend for Fujitsu SP series scanners.

#### 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**


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

end of thread, other threads:[~2023-06-22  1:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 10:25 [PR PATCH] New package: pfusp-2.2.0 joshuakraemer
2022-05-03 10:34 ` [PR PATCH] [Updated] " joshuakraemer
2022-08-07  2:14 ` github-actions
2022-08-08  8:50 ` joshuakraemer
2022-11-08  2:13 ` github-actions
2022-11-08  8:55 ` joshuakraemer
2023-02-07  2:27 ` github-actions
2023-02-22  2:01 ` [PR PATCH] [Closed]: " github-actions
2023-03-08 16:43 ` [PR PATCH] [Updated] " joshuakraemer
2023-06-07  2:06 ` github-actions
2023-06-22  1:59 ` [PR PATCH] [Closed]: " github-actions

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