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

Andreas Radke andyrtr at gemini.archlinux.org
Sat May 7 16:44:37 UTC 2022


    Date: Saturday, May 7, 2022 @ 16:44:36
  Author: andyrtr
Revision: 444858

archrelease: copy trunk to extra-x86_64

Added:
  ipp-usb/repos/extra-x86_64/PKGBUILD
    (from rev 444857, ipp-usb/trunk/PKGBUILD)
  ipp-usb/repos/extra-x86_64/systemd-service.patch
    (from rev 444857, 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 |   22 ++++----
 2 files changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-07 16:44:26 UTC (rev 444857)
+++ PKGBUILD	2022-05-07 16:44:36 UTC (rev 444858)
@@ -1,59 +0,0 @@
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=ipp-usb
-pkgver=0.9.20
-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=('94cadc2dbe028984b0fe34c7480d2e76d87f953cabd38160d103c977dc06c382'
-            '8cec95d5de1fcc95187c6521971a0239a5503bbc08162e5d67cfef2439e07a76')
-
-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"
-}

Copied: ipp-usb/repos/extra-x86_64/PKGBUILD (from rev 444857, ipp-usb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-07 16:44:36 UTC (rev 444858)
@@ -0,0 +1,59 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ipp-usb
+pkgver=0.9.21
+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=('478abfd872c42ead76edf100db603f54d8b76922468a0008c26c5b56f35a8520'
+            '8cec95d5de1fcc95187c6521971a0239a5503bbc08162e5d67cfef2439e07a76')
+
+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	2022-05-07 16:44:26 UTC (rev 444857)
+++ systemd-service.patch	2022-05-07 16:44:36 UTC (rev 444858)
@@ -1,11 +0,0 @@
---- ipp-usb-0.9.16/systemd-udev/ipp-usb.service	2020-12-29 20:08:25.000000000 +0100
-+++ ipp-usb-0.9.16/systemd-udev/ipp-usb.service.new	2020-12-29 20:11:29.458472044 +0100
-@@ -6,4 +6,7 @@
- 
- [Service]
- Type=simple
--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 444857, ipp-usb/trunk/systemd-service.patch)
===================================================================
--- systemd-service.patch	                        (rev 0)
+++ systemd-service.patch	2022-05-07 16:44:36 UTC (rev 444858)
@@ -0,0 +1,11 @@
+--- ipp-usb-0.9.16/systemd-udev/ipp-usb.service	2020-12-29 20:08:25.000000000 +0100
++++ ipp-usb-0.9.16/systemd-udev/ipp-usb.service.new	2020-12-29 20:11:29.458472044 +0100
+@@ -6,4 +6,7 @@
+ 
+ [Service]
+ Type=simple
+-ExecStart=/sbin/ipp-usb udev
++ExecStart=/usr/bin/ipp-usb udev
++
++[Install]
++WantedBy=multi-user.target



More information about the arch-commits mailing list