[arch-commits] Commit in system-config-printer/trunk (2 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Feb 13 13:30:30 UTC 2013


    Date: Wednesday, February 13, 2013 @ 14:30:30
  Author: andrea
Revision: 178007

upgpkg: system-config-printer 1.3.12-2

Fix typo in the systemd unit (FS#33834)

Added:
  system-config-printer/trunk/fix-typo-in-service.patch
Modified:
  system-config-printer/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |   11 ++++++++---
 fix-typo-in-service.patch |   18 ++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-13 12:35:32 UTC (rev 178006)
+++ PKGBUILD	2013-02-13 13:30:30 UTC (rev 178007)
@@ -4,7 +4,7 @@
 
 pkgname=system-config-printer
 pkgver=1.3.12
-pkgrel=1
+pkgrel=2
 pkgdesc="A CUPS printer configuration tool and status applet"
 url="http://cyberelk.net/tim/software/system-config-printer/"
 arch=('i686' 'x86_64')
@@ -15,13 +15,18 @@
 optdepends=('gnome-keyring: password management')
 replaces=('system-config-printer-common' 'system-config-printer-gnome')
 conflicts=('system-config-printer-common' 'system-config-printer-gnome')
-source=(http://cyberelk.net/tim/data/${pkgname}/1.3/${pkgname}-${pkgver}.tar.xz{,.sig})
+source=(http://cyberelk.net/tim/data/${pkgname}/1.3/${pkgname}-${pkgver}.tar.xz{,.sig}
+        'fix-typo-in-service.patch')
 md5sums=('0775647e1c34ef25364de3c178a4ed36'
-         '1aa2246047b424e2d23473749368b8c6')
+         '1aa2246047b424e2d23473749368b8c6'
+         'd30d14aeb6d2bfeac0679d28704473ec')
 
 build() {
   cd ${pkgname}-${pkgver}
 
+  # Fixed upstream
+  patch -p1 -i "${srcdir}"/fix-typo-in-service.patch
+
   sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
     -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
     $(find . -name '*.py')

Added: fix-typo-in-service.patch
===================================================================
--- fix-typo-in-service.patch	                        (rev 0)
+++ fix-typo-in-service.patch	2013-02-13 13:30:30 UTC (rev 178007)
@@ -0,0 +1,18 @@
+From 1e48d0a6404c6660bbf3f456e5ec48bed8fe7b80 Mon Sep 17 00:00:00 2001
+From: Tim Waugh <twaugh at redhat.com>
+Date: Tue, 23 Oct 2012 13:55:12 +0000
+Subject: Fixed typo in systemd config file.
+
+---
+diff --git a/udev/configure-printer at .service.in b/udev/configure-printer at .service.in
+index 8a20967..5898c79 100644
+--- a/udev/configure-printer at .service.in
++++ b/udev/configure-printer at .service.in
+@@ -4,4 +4,4 @@ Requires=cups.socket
+ After=cups.socket
+ 
+ [Service]
+-ExecStart=@udevhelperdir@/configure-printer add "%i"
++ExecStart=@udevhelperdir@/udev-configure-printer add "%i"
+--
+cgit v0.9.1




More information about the arch-commits mailing list