Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4
@ 2020-11-03  8:30 shizonic
  2020-11-03 17:32 ` Chocimier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: shizonic @ 2020-11-03  8:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/shizonic/void-packages brother-hl3170cdw-cupswrapper
https://github.com/void-linux/void-packages/pull/26099

New package: brother-hl3170cdw-cupswrapper-1.1.4


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-hl3170cdw-cupswrapper-26099.patch --]
[-- Type: text/x-diff, Size: 4325 bytes --]

From 35194fb5fead9e655a1a203f3d1de60b7a8fd98d Mon Sep 17 00:00:00 2001
From: Toby Merz <realtiaz@gmail.com>
Date: Tue, 3 Nov 2020 08:49:45 +0100
Subject: [PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4

---
 srcpkgs/brother-hl3170cdw-cupswrapper/INSTALL |  7 +++++
 srcpkgs/brother-hl3170cdw-cupswrapper/REMOVE  |  3 ++
 .../brother-hl3170cdw-cupswrapper/template    | 25 ++++++++++++++++
 srcpkgs/brother-hl3170cdw-lpr/INSTALL         |  6 ++++
 srcpkgs/brother-hl3170cdw-lpr/template        | 29 +++++++++++++++++++
 5 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/brother-hl3170cdw-cupswrapper/INSTALL
 create mode 100644 srcpkgs/brother-hl3170cdw-cupswrapper/REMOVE
 create mode 100644 srcpkgs/brother-hl3170cdw-cupswrapper/template
 create mode 100644 srcpkgs/brother-hl3170cdw-lpr/INSTALL
 create mode 100644 srcpkgs/brother-hl3170cdw-lpr/template

diff --git a/srcpkgs/brother-hl3170cdw-cupswrapper/INSTALL b/srcpkgs/brother-hl3170cdw-cupswrapper/INSTALL
new file mode 100644
index 00000000000..2b508057611
--- /dev/null
+++ b/srcpkgs/brother-hl3170cdw-cupswrapper/INSTALL
@@ -0,0 +1,7 @@
+case "${ACTION}" in
+    post)
+        opt/brother/Printers/hl3170cdw/cupswrapper/cupswrapperhl3170cdw -i
+        chmod 755 opt/brother/Printers/hl3170cdw/cupswrapper*
+        ;;
+esac
+
diff --git a/srcpkgs/brother-hl3170cdw-cupswrapper/REMOVE b/srcpkgs/brother-hl3170cdw-cupswrapper/REMOVE
new file mode 100644
index 00000000000..c7e1d4d4430
--- /dev/null
+++ b/srcpkgs/brother-hl3170cdw-cupswrapper/REMOVE
@@ -0,0 +1,3 @@
+case ${ACTION} in
+    pre) opt/brother/Printers/hl3170cdw/cupswrapper/cupswrapper.void -e ;;
+esac
diff --git a/srcpkgs/brother-hl3170cdw-cupswrapper/template b/srcpkgs/brother-hl3170cdw-cupswrapper/template
new file mode 100644
index 00000000000..aaec11e4252
--- /dev/null
+++ b/srcpkgs/brother-hl3170cdw-cupswrapper/template
@@ -0,0 +1,25 @@
+# Template file for 'brother-hl3170cdw-cupswrapper'
+pkgname=brother-hl3170cdw-cupswrapper
+version=1.1.4
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+depends="brother-hl3170cdw-lpr cups"
+short_desc="CUPS wrapper driver for the brother HL-3170CDW printer"
+maintainer="shizonic <realtiaz@gmail.com>"
+license="GPL-2.0-only"
+homepage="http://support.brother.com/g/b/index.aspx"
+distfiles="https://download.brother.com/welcome/dlf007058/hl3170cdwcupswrapper-${version}-0.i386.deb"
+checksum=3ff4a1c0ab351c43d0a17d303fbcbdeb94a5d7a8d5b4fd1cf004cd8a775ec9b4
+nopie=yes
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl3170cdwcupswrapper-${version}-0.i386.deb
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}
+	bsdtar xzpvf data.tar.gz -C ${DESTDIR}
+	# rm ${DESTDIR}/opt/brother/Printers/hl3170cdw/cupswrapper/cupswrapperhl3170cdw
+	# vinstall ${FILESDIR}/cupswrapper.void 755 /opt/brother/Printers/hl3170cdw/cupswrapper/
+}
diff --git a/srcpkgs/brother-hl3170cdw-lpr/INSTALL b/srcpkgs/brother-hl3170cdw-lpr/INSTALL
new file mode 100644
index 00000000000..183f4cde8ff
--- /dev/null
+++ b/srcpkgs/brother-hl3170cdw-lpr/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+    post)
+        mkdir -p var/spool/lpd
+        opt/brother/Printers/hl3170cdw/inf/setupPrintcapij hl3170cdw -i
+    ;;
+esac
diff --git a/srcpkgs/brother-hl3170cdw-lpr/template b/srcpkgs/brother-hl3170cdw-lpr/template
new file mode 100644
index 00000000000..fe53b12df9c
--- /dev/null
+++ b/srcpkgs/brother-hl3170cdw-lpr/template
@@ -0,0 +1,29 @@
+# Template file for 'brother-hl3170cdw-lpr'
+pkgname=brother-hl3170cdw-lpr
+version=1.1.2
+revision=6
+archs="i686 x86_64"
+create_wrksrc=yes
+depends="a2ps ghostscript"
+short_desc="LPR driver for the brother HL-3170CDW printer"
+maintainer="shizonic <realtiaz@gmail.com>"
+license="GPL-2.0-only"
+homepage="http://support.brother.com/g/b/index.aspx"
+distfiles="https://support.brother.com/g/b/files/dlf/dlf007056/hl3170cdwlpr-${version}-1.i386.deb"
+checksum=3751a3407b61e64e2a85b7d62c89f3b9bf4370db1e7b880a737116d9621fae4a
+mutable_files="/opt/brother/Printers/hl3170cdw/inf/brhl3170cdwrc"
+nopie=yes
+system_accounts="lp"
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	depends+=" glibc-32bit"
+fi
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl3170cdwlpr-${version}-1.i386.deb
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}
+	bsdtar xzpvf data.tar.gz -C ${DESTDIR}
+}

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

* Re: New package: brother-hl3170cdw-cupswrapper-1.1.4
  2020-11-03  8:30 [PR PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4 shizonic
@ 2020-11-03 17:32 ` Chocimier
  2020-11-03 18:02 ` shizonic
  2021-11-06 23:36 ` [PR PATCH] [Closed]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: Chocimier @ 2020-11-03 17:32 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/26099#issuecomment-721273708

Comment:
EULA displayed before downloading from webpage is quite permissive, but significantly different from GPL.
I'm not sure if we should accept binary blobs targetting single printer model.

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

* Re: New package: brother-hl3170cdw-cupswrapper-1.1.4
  2020-11-03  8:30 [PR PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4 shizonic
  2020-11-03 17:32 ` Chocimier
@ 2020-11-03 18:02 ` shizonic
  2021-11-06 23:36 ` [PR PATCH] [Closed]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: shizonic @ 2020-11-03 18:02 UTC (permalink / raw)
  To: ml

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

New comment by shizonic on void-packages repository

https://github.com/void-linux/void-packages/pull/26099#issuecomment-721289279

Comment:
I agree but guess GPL matches the best.
Feel free. I just packaged it for myself but thought why not sharing with all void users.

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

* Re: [PR PATCH] [Closed]: New package: brother-hl3170cdw-cupswrapper-1.1.4
  2020-11-03  8:30 [PR PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4 shizonic
  2020-11-03 17:32 ` Chocimier
  2020-11-03 18:02 ` shizonic
@ 2021-11-06 23:36 ` abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-11-06 23:36 UTC (permalink / raw)
  To: ml

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

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

New package: brother-hl3170cdw-cupswrapper-1.1.4
https://github.com/void-linux/void-packages/pull/26099

Description:


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

end of thread, other threads:[~2021-11-06 23:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03  8:30 [PR PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4 shizonic
2020-11-03 17:32 ` Chocimier
2020-11-03 18:02 ` shizonic
2021-11-06 23:36 ` [PR PATCH] [Closed]: " abenson

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