From 233866ad65f5ba1b0a9f71f644ec5bd350cc4fa25b6b3f7b608d33d67bd88b57 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 9 Feb 2013 08:23:59 +0000 Subject: [PATCH] Accepting request 154951 from home:rjschwei:branches:devel:libraries:c_c++ - add support for Motorola Droid Razr M (XT 907) OBS-URL: https://build.opensuse.org/request/show/154951 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp?expand=0&rev=55 --- libmtp.changes | 5 +++++ libmtp.spec | 4 +++- libmtp_motoRazr.patch | 11 +++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 libmtp_motoRazr.patch 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 },