[SM-Commit] GIT changes to master grimoire by Arjan Bouter (4d95415866f8881bcae4596a48bf3d55505c8b77)

Arjan Bouter scm at sourcemage.org
Thu May 22 20:08:39 EDT 2008


GIT changes to master grimoire by Arjan Bouter <abouter at sourcemage.org>:

 disk/libmtp/DETAILS                       |    2 +-
 disk/libmtp/HISTORY                       |    5 +++++
 disk/libmtp/PRE_BUILD                     |    3 +++
 disk/libmtp/libmtp-0.2.6.1-se-w890i.patch |   12 ++++++++++++
 4 files changed, 21 insertions(+), 1 deletion(-)

New commits:
commit 4d95415866f8881bcae4596a48bf3d55505c8b77
Author: Arjan Bouter <abouter at sourcemage.org>
Commit: Arjan Bouter <abouter at sourcemage.org>

    libmtp: added the missing changelog entry, a patch along with PRE_BUILD and
     corrected the license.

diff --git a/disk/libmtp/DETAILS b/disk/libmtp/DETAILS
index 03b9f8e..ecccc22 100755
--- a/disk/libmtp/DETAILS
+++ b/disk/libmtp/DETAILS
@@ -5,7 +5,7 @@
      SOURCE_HASH=sha512:cc85691c9f1227c1993eee313e503267746baa467faaa290b1178939e5101dfddbd831f1948c79ba0c776d7348b2592919b8e154bb3fed3dea8bf8e1a2daa530
 SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
         WEB_SITE="http://libmtp.sourceforge.net/"
-      LICENSE[0]=GPL
+      LICENSE[0]=LGPL
          ENTERED=20080522
            SHORT="Library to access MTP devices"
 cat << EOF
diff --git a/disk/libmtp/HISTORY b/disk/libmtp/HISTORY
index 533f0e2..1977b08 100644
--- a/disk/libmtp/HISTORY
+++ b/disk/libmtp/HISTORY
@@ -1,2 +1,7 @@
+2008-05-23 Arjan Bouter <abouter at sourcemage.org>
+	* PRE_BUILD,libmtp-0.2.6.1-se-w890i.patch: added patch
+	  to allow use with Sony Ericsson W890i phones.
+	  patch submitted upstream.
+
 2008-05-22 Arjan Bouter <abouter at sourcemage.org>
 	* DETAILS, HISTORY: spell created
diff --git a/disk/libmtp/PRE_BUILD b/disk/libmtp/PRE_BUILD
new file mode 100755
index 0000000..613a916
--- /dev/null
+++ b/disk/libmtp/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build    &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SCRIPT_DIRECTORY/libmtp-0.2.6.1-se-w890i.patch
diff --git a/disk/libmtp/libmtp-0.2.6.1-se-w890i.patch b/disk/libmtp/libmtp-0.2.6.1-se-w890i.patch
new file mode 100644
index 0000000..7182863
--- /dev/null
+++ b/disk/libmtp/libmtp-0.2.6.1-se-w890i.patch
@@ -0,0 +1,12 @@
+diff -Naur libmtp-0.2.6.1/src/music-players.h libmtp-0.2.6.1-patched/src/music-players.h
+--- libmtp-0.2.6.1/src/music-players.h	2008-02-29 23:48:49.000000000 +0100
++++ libmtp-0.2.6.1-patched/src/music-players.h	2008-05-23 01:06:04.000000000 +0200
+@@ -489,6 +489,8 @@
+    */
+   // Reported by Øyvind Stegard <stegaro at users.sourceforge.net>
+   { "SonyEricsson", 0x0fce, "K850i", 0x0075, DEVICE_FLAG_NONE },
++  // Reported by Arjan Bouter <abouter at sourcemage.org>
++  { "SonyEricsson", 0x0fce, "W890i", 0x00b3, DEVICE_FLAG_NONE },
+   // Reported by Michael Eriksson
+   { "SonyEricsson", 0x0fce, "W910", 0x0076, DEVICE_FLAG_NONE },
+ 



More information about the SM-Commit mailing list