[arch-commits] Commit in libgpod/trunk (PKGBUILD libgpod-udev.patch)

Jan de Groot jgc at archlinux.org
Fri May 15 22:11:39 UTC 2020


    Date: Friday, May 15, 2020 @ 22:11:39
  Author: jgc
Revision: 383739

upgpkg: libgpod 0.8.3-10: Fix udev rules (FS#64300)

Added:
  libgpod/trunk/libgpod-udev.patch
Modified:
  libgpod/trunk/PKGBUILD

--------------------+
 PKGBUILD           |    9 ++++++---
 libgpod-udev.patch |   15 +++++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-15 22:03:06 UTC (rev 383738)
+++ PKGBUILD	2020-05-15 22:11:39 UTC (rev 383739)
@@ -3,7 +3,7 @@
 
 pkgname=libgpod
 pkgver=0.8.3
-pkgrel=9
+pkgrel=10
 pkgdesc="A shared library to access the contents of an iPod"
 arch=(x86_64)
 license=('LGPL')
@@ -14,12 +14,14 @@
 source=(https://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2
         libgpod-0.8.2-pkgconfig_overlinking.patch
         libgpod-fixswig.patch
-        0001-323-Segmentation-fault-when-opening-ipod.patch)
+        0001-323-Segmentation-fault-when-opening-ipod.patch
+        libgpod-udev.patch)
 options=('!emptydirs')
 sha256sums=('638a7959d04e95f1e62abad02bd33702e4e8dfef98485ac7d9d50395c37e955d'
             '02daa2b46d0cfdee14c9d96eabf903ba4638694e669c5cb0ec462076837ac2ff'
             '86f7054dc53ee2aa756c98dc893af6718bbeb6361a0785a5c93a5592b8cc8cdd'
-            'b181131ee5b42673074f8217155b4f147623cc63dd382ee4bfa2cb81cd281b20')
+            'b181131ee5b42673074f8217155b4f147623cc63dd382ee4bfa2cb81cd281b20'
+            '35786054ebbfab1d247d51e7c7dc7618f8ed9fc17ad3c8b590d89190728452ea')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -26,6 +28,7 @@
   patch -Np1 -i ../libgpod-0.8.2-pkgconfig_overlinking.patch
   patch -Np1 -i ../libgpod-fixswig.patch
   patch -Np1 -i ../0001-323-Segmentation-fault-when-opening-ipod.patch
+  patch -Np0 -i ../libgpod-udev.patch
 }
 
 build() {

Added: libgpod-udev.patch
===================================================================
--- libgpod-udev.patch	                        (rev 0)
+++ libgpod-udev.patch	2020-05-15 22:11:39 UTC (rev 383739)
@@ -0,0 +1,15 @@
+--- tools/90-libgpod.rules.in~	2011-07-24 06:03:29.000000000 -0500
++++ tools/90-libgpod.rules.in	2019-10-15 15:50:28.279770507 -0500
+@@ -16,10 +16,10 @@
+ 
+ 
+ # "iPods" using the afc protocol (iPhone, iPod Touch, ...)
+-ACTION=="add|change", ENV{USBMUX_SUPPORTED}=="1", IMPORT{program}+="@udevdir@/iphone-set-info", GOTO="libgpod_end"
++ACTION=="add|change", ENV{USBMUX_SUPPORTED}=="1", IMPORT{program}=="@udevdir@/iphone-set-info", GOTO="libgpod_end"
+ # with a new enough usbmuxd, the rule below is not useful since it will
+ # take care of setting USBMUX_SUPPORTED for all supported devices. Keep
+ # this rule for now until distros ship a new enough usbmuxd
+-ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", IMPORT{program}+="@udevdir@/iphone-set-info"
++ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", IMPORT{program}=="@udevdir@/iphone-set-info"
+ 
+ LABEL="libgpod_end"


More information about the arch-commits mailing list