diff --git a/libmtp-nokia-n82.patch b/libmtp-nokia-n82.patch new file mode 100644 index 0000000..fd7a47f --- /dev/null +++ b/libmtp-nokia-n82.patch @@ -0,0 +1,16 @@ +Index: src/music-players.h +=================================================================== +RCS file: /cvsroot/libmtp/libmtp/src/music-players.h,v +retrieving revision 1.83 +diff -u -p -u -p -r1.83 music-players.h +--- src/music-players.h 21 Oct 2008 14:24:24 -0000 1.83 ++++ src/music-players.h 24 Oct 2008 19:57:02 -0000 +@@ -474,6 +474,8 @@ + { "Nokia", 0x0421, "N73 Mobile Phone", 0x04d1, DEVICE_FLAG_UNLOAD_DRIVER }, + // From Swapan + { "Nokia", 0x0421, "N75 Mobile Phone", 0x04e1, DEVICE_FLAG_NONE }, ++ // From Bastien Nocera ++ { "Nokia", 0x0421, "N82 Mobile Phone", 0x0074, DEVICE_FLAG_NONE }, + // From Anonymous Sourceforge User + { "Nokia", 0x0421, "N95 Mobile Phone", 0x04ef, DEVICE_FLAG_NONE }, + // From: Pat Nicholls diff --git a/libmtp.spec b/libmtp.spec index e8269b6..3c72de7 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -3,7 +3,7 @@ Name: libmtp Version: 0.3.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A software library for MTP media players URL: http://libmtp.sourceforge.net/ @@ -17,6 +17,7 @@ BuildRequires: libusb-devel BuildRequires: doxygen Patch0: libmtp-0.2.6.1-simpler-rules.patch +Patch1: libmtp-nokia-n82.patch %description This package provides a software library for communicating with MTP @@ -46,6 +47,7 @@ library for MTP media players. %prep %setup -q %patch0 -p1 -b .rules +%patch1 -p0 -b .n82 %build %configure --disable-static --program-prefix=mtp- @@ -99,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 24 2008 - Bastien Nocera - 0.3.3-2 +- Add support for the Nokia N82 + * Fri Sep 26 2008 Linus Walleij 0.3.3-1 - New upstream bugfix release.