Github messages for voidlinux
 help / color / mirror / Atom feed
From: shizonic <shizonic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: brother-hl3170cdw-cupswrapper-1.1.4
Date: Tue, 03 Nov 2020 09:30:23 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26099@inbox.vuxu.org> (raw)

[-- 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}
+}

             reply	other threads:[~2020-11-03  8:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03  8:30 shizonic [this message]
2020-11-03 17:32 ` Chocimier
2020-11-03 18:02 ` shizonic
2021-11-06 23:36 ` [PR PATCH] [Closed]: " abenson

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26099@inbox.vuxu.org \
    --to=shizonic@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

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

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