[arch-commits] Commit in ipp-usb/trunk (PKGBUILD systemd-service.patch)
Andreas Radke
andyrtr at archlinux.org
Sat Aug 22 20:06:55 UTC 2020
Date: Saturday, August 22, 2020 @ 20:06:55
Author: andyrtr
Revision: 394576
upgpkg: ipp-usb 0.9.11-2: fix systemd service file - FS#67526
Added:
ipp-usb/trunk/systemd-service.patch
Modified:
ipp-usb/trunk/PKGBUILD
-----------------------+
PKGBUILD | 10 +++++++---
systemd-service.patch | 17 +++++++++++++++++
2 files changed, 24 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-22 19:55:33 UTC (rev 394575)
+++ PKGBUILD 2020-08-22 20:06:55 UTC (rev 394576)
@@ -2,7 +2,7 @@
pkgname=ipp-usb
pkgver=0.9.11
-pkgrel=1
+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"
@@ -10,11 +10,15 @@
# ToDo: package goipp ?
depends=('avahi' 'libusb')
makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz)
-sha256sums=('71dc5205f0e2ec61229b0a45d4d19bec43c922cd178f93a6c044344c0c29066f')
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/OpenPrinting/ipp-usb/archive/$pkgver.tar.gz
+ systemd-service.patch)
+sha256sums=('71dc5205f0e2ec61229b0a45d4d19bec43c922cd178f93a6c044344c0c29066f'
+ '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
}
Added: systemd-service.patch
===================================================================
--- systemd-service.patch (rev 0)
+++ systemd-service.patch 2020-08-22 20:06:55 UTC (rev 394576)
@@ -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