[arch-commits] Commit in ipp-usb/repos/extra-x86_64 (4 files)

Andreas Radke andyrtr at archlinux.org
Tue Oct 6 19:00:01 UTC 2020


    Date: Tuesday, October 6, 2020 @ 19:00:01
  Author: andyrtr
Revision: 397436

archrelease: copy trunk to extra-x86_64

Added:
  ipp-usb/repos/extra-x86_64/PKGBUILD
    (from rev 397435, ipp-usb/trunk/PKGBUILD)
  ipp-usb/repos/extra-x86_64/systemd-service.patch
    (from rev 397435, ipp-usb/trunk/systemd-service.patch)
Deleted:
  ipp-usb/repos/extra-x86_64/PKGBUILD
  ipp-usb/repos/extra-x86_64/systemd-service.patch

-----------------------+
 PKGBUILD              |  118 ++++++++++++++++++++++++------------------------
 systemd-service.patch |   34 ++++++-------
 2 files changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-06 18:59:51 UTC (rev 397435)
+++ PKGBUILD	2020-10-06 19:00:01 UTC (rev 397436)
@@ -1,59 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=ipp-usb
-pkgver=0.9.13
-pkgrel=2
-pkgdesc="allows using the IPP protocol, normally designed for network printers, to be used with USB printers as well"
-arch=('x86_64')
-url="https://github.com/OpenPrinting/ipp-usb"
-license=('custom: BSD')
-depends=('avahi' 'libusb')
-makedepends=('go')
-backup=(etc/ipp-usb/ipp-usb.conf)
-# ToDo: package goipp and fix ipp-usb - keeps downloading goipp even if present in build system
-#makedepends=('go' 'golang-github-openprinting-goipp')
-source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz
-        systemd-service.patch)
-sha256sums=('f98c582d529f811a74c814596e74af229022f2bd62fcb2fcccf82e86eb483a2d'
-            '41f236fda5c0176b3b9c49be652e922397b8c39b1cb04f80c374d2d608a005b6')
-
-prepare() {
-        cd "$pkgname-$pkgver"
-        # fix systemd service file; FS#67526
-        patch -Np1 -i ../systemd-service.patch
-	# fix Makefile
-	sed -i "s/sbin/bin/g" Makefile
-}
-
-build() {
-	cd "$pkgname-$pkgver"
-	export CGO_CPPFLAGS="${CPPFLAGS}"
-	export CGO_CFLAGS="${CFLAGS}"
-	export CGO_CXXFLAGS="${CXXFLAGS}"
-	export CGO_LDFLAGS="${LDFLAGS}"
-	export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-	#go build -o "$pkgname" .
-	make
-}
-
-check() {
-	cd "$pkgname-$pkgver"
-	go test
-}
-
-package() {
-	cd "$pkgname-$pkgver"
-	# https://github.com/OpenPrinting/ipp-usb/blob/master/Makefile
-	# DESTDIR and PREFIX are fully f... up so do it our own
-	#make DESTDIR="${pkgdir}" install
-
-	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
-	install -Dm644 ipp-usb.conf "$pkgdir"/etc/ipp-usb/ipp-usb.conf
-	install -Dm644 systemd-udev/71-ipp-usb.rules "$pkgdir"/usr/lib/udev/rules.d/71-ipp-usb.rules
-	install -Dm644 systemd-udev/ipp-usb.service "$pkgdir"/usr/lib/systemd/system/ipp-usb.service
-	install -Dm644 ipp-usb.8 "$pkgdir"/usr/share/man/man8/ipp-usb.8
-
-	
-	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: ipp-usb/repos/extra-x86_64/PKGBUILD (from rev 397435, ipp-usb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-06 19:00:01 UTC (rev 397436)
@@ -0,0 +1,59 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ipp-usb
+pkgver=0.9.14
+pkgrel=1
+pkgdesc="allows using the IPP protocol, normally designed for network printers, to be used with USB printers as well"
+arch=('x86_64')
+url="https://github.com/OpenPrinting/ipp-usb"
+license=('custom: BSD')
+depends=('avahi' 'libusb')
+makedepends=('go')
+backup=(etc/ipp-usb/ipp-usb.conf)
+# ToDo: package goipp and fix ipp-usb - keeps downloading goipp even if present in build system
+#makedepends=('go' 'golang-github-openprinting-goipp')
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz
+        systemd-service.patch)
+sha256sums=('9b43ed8a887c5db1aa1e23e38d92246f33936334411e2929d8754e71040435c6'
+            '41f236fda5c0176b3b9c49be652e922397b8c39b1cb04f80c374d2d608a005b6')
+
+prepare() {
+        cd "$pkgname-$pkgver"
+        # fix systemd service file; FS#67526
+        patch -Np1 -i ../systemd-service.patch
+	# fix Makefile
+	sed -i "s/sbin/bin/g" Makefile
+}
+
+build() {
+	cd "$pkgname-$pkgver"
+	export CGO_CPPFLAGS="${CPPFLAGS}"
+	export CGO_CFLAGS="${CFLAGS}"
+	export CGO_CXXFLAGS="${CXXFLAGS}"
+	export CGO_LDFLAGS="${LDFLAGS}"
+	export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+	#go build -o "$pkgname" .
+	make
+}
+
+check() {
+	cd "$pkgname-$pkgver"
+	go test
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+	# https://github.com/OpenPrinting/ipp-usb/blob/master/Makefile
+	# DESTDIR and PREFIX are fully f... up so do it our own
+	#make DESTDIR="${pkgdir}" install
+
+	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+	install -Dm644 ipp-usb.conf "$pkgdir"/etc/ipp-usb/ipp-usb.conf
+	install -Dm644 systemd-udev/71-ipp-usb.rules "$pkgdir"/usr/lib/udev/rules.d/71-ipp-usb.rules
+	install -Dm644 systemd-udev/ipp-usb.service "$pkgdir"/usr/lib/systemd/system/ipp-usb.service
+	install -Dm644 ipp-usb.8 "$pkgdir"/usr/share/man/man8/ipp-usb.8
+	install -Dm644 ipp-usb-quirks/* -t "$pkgdir"/usr//share/ipp-usb/quirks
+	
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: systemd-service.patch
===================================================================
--- systemd-service.patch	2020-10-06 18:59:51 UTC (rev 397435)
+++ systemd-service.patch	2020-10-06 19:00:01 UTC (rev 397436)
@@ -1,17 +0,0 @@
---- ipp-usb-0.9.11/systemd-udev/ipp-usb.service	2020-08-21 00:52:44.000000000 +0200
-+++ ipp-usb-0.9.11/systemd-udev/ipp-usb.service.new	2020-08-22 22:02:38.798950382 +0200
-@@ -1,9 +1,12 @@
- [Unit]
- Description=Daemon for IPP over USB printer support
- Documentation=man:ipp-usb(8)
--After=cups.service avahi-daemon.service
-+After=org.cups.cupsd.service avahi-daemon.service
- Wants=avahi-daemon.service
- 
- [Service]
- Type=oneshot
--ExecStart=/sbin/ipp-usb udev
-+ExecStart=/usr/bin/ipp-usb udev
-+
-+[Install]
-+WantedBy=multi-user.target

Copied: ipp-usb/repos/extra-x86_64/systemd-service.patch (from rev 397435, ipp-usb/trunk/systemd-service.patch)
===================================================================
--- systemd-service.patch	                        (rev 0)
+++ systemd-service.patch	2020-10-06 19:00:01 UTC (rev 397436)
@@ -0,0 +1,17 @@
+--- ipp-usb-0.9.11/systemd-udev/ipp-usb.service	2020-08-21 00:52:44.000000000 +0200
++++ ipp-usb-0.9.11/systemd-udev/ipp-usb.service.new	2020-08-22 22:02:38.798950382 +0200
+@@ -1,9 +1,12 @@
+ [Unit]
+ Description=Daemon for IPP over USB printer support
+ Documentation=man:ipp-usb(8)
+-After=cups.service avahi-daemon.service
++After=org.cups.cupsd.service avahi-daemon.service
+ Wants=avahi-daemon.service
+ 
+ [Service]
+ Type=oneshot
+-ExecStart=/sbin/ipp-usb udev
++ExecStart=/usr/bin/ipp-usb udev
++
++[Install]
++WantedBy=multi-user.target



More information about the arch-commits mailing list