diff --git a/libmtp.changes b/libmtp.changes index 68a1947..cba07ee 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 8 21:28:57 UTC 2013 - rschweikert@suse.com + +- add support for Motorola Droid Razr M (XT 907) + ------------------------------------------------------------------- Sun Nov 4 18:57:19 UTC 2012 - crrodriguez@opensuse.org diff --git a/libmtp.spec b/libmtp.spec index bbf574e..5587ad2 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -1,7 +1,7 @@ # # spec file for package libmtp # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,7 @@ Version: 1.1.5 Release: 0 %define sonum 9 Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz +Patch: libmtp_motoRazr.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d %define _udevdir %(pkg-config --variable=udevdir udev) @@ -75,6 +76,7 @@ Transfer Protocol) authored by Microsoft. %prep %setup -q +%patch %build %configure --with-udev=%{_udevdir} --disable-static --enable-doxygen diff --git a/libmtp_motoRazr.patch b/libmtp_motoRazr.patch new file mode 100644 index 0000000..e39d620 --- /dev/null +++ b/libmtp_motoRazr.patch @@ -0,0 +1,11 @@ +--- src/music-players.h.orig ++++ src/music-players.h +@@ -1581,6 +1581,8 @@ + { "Motorola", 0x22b8, "V3m/V750 verizon", 0x2a65, + DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL }, ++ { "Motorola", 0x22b8, "Razr M XT907", 0x710f, ++ DEVICE_FLAGS_ANDROID_BUGS }, + // Reported by Jader Rodrigues Simoes + { "Motorola", 0x22b8, "Xoom 2 Media Edition (ID2)", 0x41cf, + DEVICE_FLAGS_ANDROID_BUGS },