udev patch.

This commit is contained in:
Gwyn Ciesla 2019-10-15 16:06:12 -05:00
parent 6696ac7321
commit afc534c8c4
2 changed files with 21 additions and 1 deletions

15
libgpod-udev.patch Normal file
View File

@ -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"

View File

@ -13,7 +13,7 @@
Summary: Library to access the contents of an iPod
Name: libgpod
Version: 0.8.3
Release: 30%{?dist}
Release: 31%{?dist}
License: LGPLv2+
URL: http://www.gtkpod.org/libgpod.html
Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
@ -23,6 +23,7 @@ Patch0: libgpod-0.8.2-pkgconfig_overlinking.patch
Patch1: libgpod-fixswig.patch
Patch2: libgpod-0.8.3-mono4.patch
Patch3: libgpod-playcounts.patch
Patch4: libgpod-udev.patch
BuildRequires: automake libtool
BuildRequires: docbook-style-xsl
@ -111,6 +112,7 @@ libgpod-sharp.
%patch1 -p1 -b .swig
%patch2 -p1 -b .mono4
%patch3 -p1 -b .playcounts
%patch4 -p0 -b .udev
%if %{with_gtk3}
sed -i "s#sharp-2.0#sharp-3.0#g" bindings/mono/libgpod-sharp/libgpod-sharp.pc.in
@ -186,6 +188,9 @@ find %{buildroot} -type f -name "*.a" -delete
%endif
%changelog
* Tue Oct 15 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.8.3-31
- Correct udev rules.
* Wed Aug 07 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.8.3-30
- Fix FTBFS.