Bug#654384: pu: package libmtp/1.0.3-1+squeeze1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
I'd like to update libmtp 1.0.3 in Squeeze to add support for
Motorola Xoom devices, please see bug#650152.
The patch made by Jonathan Nieder is minimalistic and non-invasive,
you find it attached.
Thanks in advance for any reply.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/changelog b/debian/changelog
index 0507cc5..b502530 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libmtp (1.0.3-1+squeeze1) UNRELEASED; urgency=low
+
+ * Add support for Motorola Xoom devices (Closes: #650152).
+
+ -- Alessio Treglia <alessio@debian.org> Tue, 03 Jan 2012 11:13:09 +0100
+
libmtp (1.0.3-1) unstable; urgency=low
* debian/copyright: Update according to DEP-5 proposal.
diff --git a/debian/patches/2001-xoom_support.patch b/debian/patches/2001-xoom_support.patch
new file mode 100644
index 0000000..867c3c7
--- /dev/null
+++ b/debian/patches/2001-xoom_support.patch
@@ -0,0 +1,39 @@
+From: Linus Walleij <triad@df.lth.se>
+Description: Motorola Xoom devices IDs from Google
+ commits ddd898119f2b, 1b077906eafc, 218640483229, 2e49cf0a550
+ upstream.
+Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650152
+---
+ src/music-players.h | 18 +++++++++++++++++-
+ 1 files changed, 17 insertions(+), 1 deletions(-)
+
+diff --git a/src/music-players.h b/src/music-players.h
+index e7bb5779..df5f357a 100644
+--- a/src/music-players.h
++++ b/src/music-players.h
+@@ -1068,7 +1068,23 @@
+ // Reported by anonymous user
+ { "Motorola", 0x22b8, "RAZR2 V8/U9/Z6", 0x6415,
+ DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST },
+-
++ // Reported by Google Inc's Yavor Goulishev <yavor@google.com>
++ // Android 3.0 MTP stack seems to announce that it supports the
++ // list operations, but they do not work?
++ { "Motorola", 0x22b8, "Xoom (ID 1)", 0x70a8,
++ DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
++ DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
++ DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
++ // WiFi-only version of Xoom
++ // See: http://bugzilla.gnome.org/show_bug.cgi?id=647506
++ { "Motorola", 0x18d1, "Xoom (MZ604)", 0x70a8,
++ DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
++ DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
++ DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
++ { "Motorola", 0x22b8, "Xoom (ID 2)", 0x70a9,
++ DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST |
++ DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST |
++ DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST },
+
+ /*
+ * Media Keg
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..887e76b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2001-xoom_support.patch
Reply to: