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
This commit is contained in:
Marcus Meissner 2013-02-09 08:23:59 +00:00 committed by Git OBS Bridge
parent f064d26e4c
commit 233866ad65
3 changed files with 19 additions and 1 deletions

View File

@ -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 Sun Nov 4 18:57:19 UTC 2012 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package libmtp # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -30,6 +30,7 @@ Version: 1.1.5
Release: 0 Release: 0
%define sonum 9 %define sonum 9
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
Patch: libmtp_motoRazr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
%define _udevdir %(pkg-config --variable=udevdir udev) %define _udevdir %(pkg-config --variable=udevdir udev)
@ -75,6 +76,7 @@ Transfer Protocol) authored by Microsoft.
%prep %prep
%setup -q %setup -q
%patch
%build %build
%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen %configure --with-udev=%{_udevdir} --disable-static --enable-doxygen

11
libmtp_motoRazr.patch Normal file
View File

@ -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 <jadersimoes@users.sourceforge.net>
{ "Motorola", 0x22b8, "Xoom 2 Media Edition (ID2)", 0x41cf,
DEVICE_FLAGS_ANDROID_BUGS },