* [PR PATCH] New package: cnijfilter2-5.70
@ 2019-11-01 15:32 voidlinux-github
2019-11-01 16:51 ` [PR PATCH] [Updated] " voidlinux-github
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-01 15:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 577 bytes --]
There is a new pull request by ralphvanetten against master on the void-packages repository
https://github.com/ralphvanetten/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3699 bytes --]
From 6236d636f35923cdf3ccbb6953c0f7e3b67738d9 Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 ++++
srcpkgs/cnijfilter2/template | 70 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..1ebb1955b64
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,70 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ echo "Unknown target $XBPS_TARGET_MACHINE"
+ exit 1
+ ;;
+esac
+
+do_configure() {
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
+
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: cnijfilter2-5.70
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
2019-11-01 16:51 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-01 16:51 ` voidlinux-github
2019-11-02 7:36 ` voidlinux-github
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-01 16:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by x12a1f against master on the void-packages repository
https://github.com/x12a1f/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3697 bytes --]
From 49c97071f10e27f3e7253a3dabbb4e3552ae431b Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 ++++
srcpkgs/cnijfilter2/template | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..6957d4da73e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,69 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ echo "Unknown target $XBPS_TARGET_MACHINE"
+ exit 1
+ ;;
+esac
+
+do_configure() {
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: cnijfilter2-5.70
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
@ 2019-11-01 16:51 ` voidlinux-github
2019-11-01 16:51 ` voidlinux-github
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-01 16:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by x12a1f against master on the void-packages repository
https://github.com/x12a1f/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3697 bytes --]
From 49c97071f10e27f3e7253a3dabbb4e3552ae431b Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 ++++
srcpkgs/cnijfilter2/template | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..6957d4da73e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,69 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ echo "Unknown target $XBPS_TARGET_MACHINE"
+ exit 1
+ ;;
+esac
+
+do_configure() {
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: cnijfilter2-5.70
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
2019-11-01 16:51 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-01 16:51 ` voidlinux-github
@ 2019-11-02 7:36 ` voidlinux-github
2019-11-02 7:36 ` voidlinux-github
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-02 7:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by x12a1f against master on the void-packages repository
https://github.com/x12a1f/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3697 bytes --]
From 0c7f5c557b7df36fe262d0707dfc3e17fa933298 Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 ++++
srcpkgs/cnijfilter2/template | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..6957d4da73e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,69 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ echo "Unknown target $XBPS_TARGET_MACHINE"
+ exit 1
+ ;;
+esac
+
+do_configure() {
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: cnijfilter2-5.70
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
` (2 preceding siblings ...)
2019-11-02 7:36 ` voidlinux-github
@ 2019-11-02 7:36 ` voidlinux-github
2019-11-02 8:02 ` voidlinux-github
2019-11-02 8:02 ` voidlinux-github
5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-02 7:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by x12a1f against master on the void-packages repository
https://github.com/x12a1f/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3697 bytes --]
From 0c7f5c557b7df36fe262d0707dfc3e17fa933298 Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 ++++
srcpkgs/cnijfilter2/template | 69 ++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..6957d4da73e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,69 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ echo "Unknown target $XBPS_TARGET_MACHINE"
+ exit 1
+ ;;
+esac
+
+do_configure() {
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: cnijfilter2-5.70
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
` (4 preceding siblings ...)
2019-11-02 8:02 ` voidlinux-github
@ 2019-11-02 8:02 ` voidlinux-github
5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-02 8:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by x12a1f against master on the void-packages repository
https://github.com/x12a1f/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3835 bytes --]
From 24e4e16b91664d1d194f964b9742f3a4f712cd7c Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 +++
srcpkgs/cnijfilter2/template | 75 ++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..cd54cf89ffa
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,75 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ _arc=0
+ ;;
+esac
+
+do_configure() {
+ if [ "_arc" = "0" ]
+ then
+ echo "Unsupported architecture $XBPS_TARGET_MACHINE"
+ exit 1
+ fi
+
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: cnijfilter2-5.70
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
` (3 preceding siblings ...)
2019-11-02 7:36 ` voidlinux-github
@ 2019-11-02 8:02 ` voidlinux-github
2019-11-02 8:02 ` voidlinux-github
5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2019-11-02 8:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
There is an updated pull request by x12a1f against master on the void-packages repository
https://github.com/x12a1f/void-packages master
https://github.com/void-linux/void-packages/pull/16033
New package: cnijfilter2-5.70
I wanted to use my Canon printer which did not work properly with the gutenprint or foomatic drivers. I could not find the 'official' Canon driver in void-packages so I packaged it myself.
I hope I did not forget something as this is my first package.
A patch file from https://github.com/void-linux/void-packages/pull/16033.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-16033.patch --]
[-- Type: text/x-diff, Size: 3835 bytes --]
From 24e4e16b91664d1d194f964b9742f3a4f712cd7c Mon Sep 17 00:00:00 2001
From: Ralph van Etten <ralph@et10.org>
Date: Fri, 1 Nov 2019 16:15:54 +0100
Subject: [PATCH] New package: cnijfilter2-5.70
---
srcpkgs/cnijfilter2/INSTALL | 6 +++
srcpkgs/cnijfilter2/template | 75 ++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
create mode 100644 srcpkgs/cnijfilter2/INSTALL
create mode 100644 srcpkgs/cnijfilter2/template
diff --git a/srcpkgs/cnijfilter2/INSTALL b/srcpkgs/cnijfilter2/INSTALL
new file mode 100644
index 00000000000..fdfe0e9a18e
--- /dev/null
+++ b/srcpkgs/cnijfilter2/INSTALL
@@ -0,0 +1,6 @@
+case "${ACTION}" in
+ post)
+ chown cups.lp /usr/lib/bjlib2/cnnet.ini
+ chmod 0664 /usr/lib/bjlib2/cnnet.ini
+ ;;
+esac
diff --git a/srcpkgs/cnijfilter2/template b/srcpkgs/cnijfilter2/template
new file mode 100644
index 00000000000..cd54cf89ffa
--- /dev/null
+++ b/srcpkgs/cnijfilter2/template
@@ -0,0 +1,75 @@
+# Template file for 'cnijfilter2'
+
+_upstreamversion="5.70-1"
+
+pkgname=cnijfilter2
+version=5.70
+revision=1
+wrksrc=cnijfilter2-source-${_upstreamversion}
+archs="i686 x86_64"
+repository=nonfree
+hostmakedepends="automake autoconf libtool"
+makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
+depends="cups libusb libxml2"
+short_desc="Canon printer drivers for a number of PIXMA models"
+maintainer="Ralph van Etten <ralph@et10.org>"
+license="custom:canon,GPL-2.0-or-later"
+homepage="https://www.canon-europe.com/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_ts_series/pixma-ts9540.html?type=drivers&driverdetailid=tcm:13-1714899"
+distfiles="http://gdlp01.c-wss.com/gds/0/0100009930/01/cnijfilter2-source-${_upstreamversion}.tar.gz"
+checksum=999a0649d865e40bc5cceb8661a4b1018750d3fa0a27a75fc757a2333d7d5fb3
+nocross="Binary drivers provided by Canon are only available for i686 and x86_64"
+
+case $XBPS_TARGET_MACHINE in
+ x86_64)
+ _arc=64
+ ;;
+ i686)
+ _arc=32
+ ;;
+ *)
+ _arc=0
+ ;;
+esac
+
+do_configure() {
+ if [ "_arc" = "0" ]
+ then
+ echo "Unsupported architecture $XBPS_TARGET_MACHINE"
+ exit 1
+ fi
+
+ ( cd ./cmdtocanonij2 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cmdtocanonij3 && ./autogen.sh --prefix=/usr --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./cnijbe2 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./lgmon3 && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin --enable-libpath=/usr/lib/bjlib2 --datadir=/usr/share LDFLAGS="-L../../com/libs_bin${_arc}" )
+ ( cd ./rastertocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocanonij && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+ ( cd ./tocnpwg && ./autogen.sh --prefix=/usr --enable-progpath=/usr/bin )
+}
+
+do_build() {
+ ( cd ./cmdtocanonij2 && make clean && make )
+ ( cd ./cmdtocanonij3 && make clean && make )
+ ( cd ./cnijbe2 && make clean && make )
+ ( cd ./lgmon3 && make clean && make )
+ ( cd ./rastertocanonij && make clean && make )
+ ( cd ./tocanonij && make clean && make )
+ ( cd ./tocnpwg && make clean && make )
+}
+
+do_install() {
+ ( cd ./cmdtocanonij2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cmdtocanonij3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./cnijbe2 && make install DESTDIR=${DESTDIR} )
+ ( cd ./lgmon3 && make install DESTDIR=${DESTDIR} )
+ ( cd ./rastertocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocanonij && make install DESTDIR=${DESTDIR} )
+ ( cd ./tocnpwg && make install DESTDIR=${DESTDIR} )
+
+ vmkdir /usr/lib/bjlib2
+ vinstall com/ini/cnnet.ini 644 /usr/lib/bjlib2
+ vmkdir /usr/share/ppd/cnijfilter2
+ vcopy "com/libs_bin${_arc}/lib*" /usr/lib
+ vcopy "ppd/*.ppd" /usr/share/ppd/cnijfilter2
+ vlicense doc/LICENSE-cnijfilter-5.70EN.txt LICENSE.txt
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-11-02 8:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01 15:32 [PR PATCH] New package: cnijfilter2-5.70 voidlinux-github
2019-11-01 16:51 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-01 16:51 ` voidlinux-github
2019-11-02 7:36 ` voidlinux-github
2019-11-02 7:36 ` voidlinux-github
2019-11-02 8:02 ` voidlinux-github
2019-11-02 8:02 ` voidlinux-github
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).