From 7b8b84b296d5d74c237d5ececbbb5b3208edc15cafc46d327352de30a4c21671 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 4 Aug 2009 20:33:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=27 --- libmtp-0.3.7.tar.bz2 | 3 - libmtp-1.0.0.tar.bz2 | 3 + libmtp.changes | 29 ++++++++ libmtp.spec | 163 ++----------------------------------------- 4 files changed, 38 insertions(+), 160 deletions(-) delete mode 100644 libmtp-0.3.7.tar.bz2 create mode 100644 libmtp-1.0.0.tar.bz2 diff --git a/libmtp-0.3.7.tar.bz2 b/libmtp-0.3.7.tar.bz2 deleted file mode 100644 index 5ea3b0f..0000000 --- a/libmtp-0.3.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77714760d00c7de78d7bba2645b93b001321f54be1a0b49d5650db82b95bc8fc -size 422599 diff --git a/libmtp-1.0.0.tar.bz2 b/libmtp-1.0.0.tar.bz2 new file mode 100644 index 0000000..9c6f1e1 --- /dev/null +++ b/libmtp-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4051f8e9077d93d18023ad4210243bbeb1ea02d36c6eaa2abb0b3bdcbbd893b5 +size 460028 diff --git a/libmtp.changes b/libmtp.changes index 34f9f36..72b7832 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Aug 4 09:39:55 CEST 2009 - meissner@suse.de + +- upgraded to 1.0.0 release + * More USB ids + * libmtp.so.8.3.0 library interface + * New functions: + LIBMTP_Get_File_To_Handler + LIBMTP_Send_File_From_Handler + LIBMTP_Get_Track_To_Handler + LIBMTP_Send_Track_From_Handler + functions to get/send files/tracks from/to handler functions. + + External handling of individual properties: + LIBMTP_Is_Property_Supported to check if a certain property is + supported on a certain device. + LIBMTP_Get_Allowed_Property_Values to get alowed range/enum of a + property value. + + LIBMTP_Get_Representative_Sample_Format will now get the size + parameter to allow us to determine the maximum size for a + representative sample. + * Added modificationdate to file and track structs. + * Added LIBMTP_FILETYPE_ALBUM and LIBMTP_FILETYPE_PLAYLIST filetypes. + * Numerous Windows portability fixes. + * Marcus Meissner rewrote the PTP object handling and metadata caching + functions from libgphoto2 and fixed up the ugly largefile handling. + * Various minor bug fixes. + ------------------------------------------------------------------- Tue Mar 17 14:59:24 CET 2009 - meissner@suse.de diff --git a/libmtp.spec b/libmtp.spec index 685222e..0d8fa54 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -1,5 +1,5 @@ # -# spec file for package libmtp (Version 0.3.7) +# spec file for package libmtp (Version 1.0.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -26,7 +26,7 @@ License: LGPL v2.1 or later Group: Productivity/Multimedia/Sound/Players AutoReqProv: on Summary: Commandline utilities for access to MTP Players -Version: 0.3.7 +Version: 1.0.0 Release: 1 Source0: %name-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -131,6 +131,10 @@ install -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/ install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp* rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la +for i in delfile getfile newfolder sendfile sendtr +do + ln -sf /usr/bin/mtp-connect $RPM_BUILD_ROOT/usr/bin/mtp-$i +done %post -n libmtp8 -p /sbin/ldconfig @@ -158,158 +162,3 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la %{_prefix}/include/libmtp.h %changelog -* Tue Mar 17 2009 meissner@suse.de -- upgraded to 0.3.7 - * compatible library interface libmtp.8.2.2 - * stores albums and playlists in the default - music folder if no default folder for albums resp. - playlists has been detected. - * an error report from RedHat BZ - http://bugzilla.redhat.com/show_bug.cgi?id=485627 - led to strange code for detecting anonymous OGG files - being rewritten to handle NULL filenames and filenames - that do not exceed 4 chars. - * patch from Marcus to fix an issue - with retransmit originally reported by Florent Pillet. - * discovered a new device that cannot even - read out battery level but still claims to be able to. -- upgraded to 0.3.6 - * Compatible API libmtp.so.8.2.1 - * Several bug fixes to the examples - * Improved Windows and *BSD support - * Proper device flags to handle Toshiba players (hopefully) - * New devices and flag settings - * Nothing new from a programmers point of view -- upgraded to 0.3.5 - * Bumped soname to libmtp.so.8.2.0 - - Only interface change: - * Change metadata const*const to *const to allow playlist_id to be - modified by LIBMTP_Update_Playlist. Shouldn't affect any code out - there really. - - New features and bugfixes: - * Allow for playlists with zero tracks on them (also in update). - * Get folders to a flat list and we get O(n) searching instead of - the previous O(n^2) algorithm! The rest is janitorial changes. -* Mon Dec 15 2008 meissner@suse.de -- detach the Cowon iAudio 7 from usb-storage on start to make it work - bnc#457931 -* Fri Nov 07 2008 meissner@suse.de -- upgraded to 0.3.4 - * Check propdesc before setting props in create_new_abstract_list() (Richard) - * Fix several bugs in Ogg filetype support (Alvin) - * New flag for broken handling of PTP_OPC_DateModified, tag all - SanDisk devices with this flag. Bug appeared in them. (Linus) - * Sync in upstream updates to PTP baseline (Linus) - * Detect and warn on broken OPLs (Richard) - * Fix the association type problem on LIBMTP_Create_Folder(). This - caused folders not to work properly on some devices!! (Linus) -* Wed Oct 22 2008 mrueckert@suse.de -- fix debug_packages_requires define -* Fri Sep 26 2008 meissner@suse.de -- upgraded to 0.3.3 - - lots of new ids - - protocol bugfixes for Samsung and Creative devices - - bugfixes -* Wed Aug 27 2008 meissner@suse.de -- let debuginfo require libmtp8 -- disable static libs and .la files -* Tue Aug 26 2008 meissner@suse.de -- upgraded to 0.3.1 - - lots of new ids - - sansa player handling better now - - special playlist support for a subkind of devices -- commandline tools now live in mtp-tools, libmtp is empty. -* Tue Jun 24 2008 meissner@suse.de -- upgraded to 0.3.0 - - new major version 8 due to API changes - - new devices - - lots of bugfixes -- libmtp7 renamed to libmtp8 -- doxygen added as buildrequires -* Tue Mar 11 2008 meissner@suse.de -- upgraded to 0.2.6.1 - - disabled debug -- info.bus -> info.subsystem in FDI file -* Mon Mar 03 2008 meissner@suse.de -- upgraded to 0.2.6 - - some new devices - - bugfixes - - remove LIBMTP_Set_Object_Parent function -> new major -* Wed Jan 09 2008 meissner@suse.de -- upgraded to 0.2.5 - - several new devices - - code cleanups and bugfixes -* Mon Nov 26 2007 meissner@suse.de -- upgraded to 0.2.4 - - various bug fixes and new fixes - - header-repairing for Zen devices -* Sun Oct 28 2007 meissner@suse.de -- --program-prefix=mtp- is needed. -* Fri Oct 26 2007 meissner@suse.de -- upgraded to 0.2.3 - - new devices added - - varous bugfixes, speed ups - - bumped so from 6 to 7 -- split off libmtp7 package -* Mon Oct 08 2007 meissner@suse.de -- upgraded to 0.2.2 - - bugfixes, new devices, faster metadata read -* Fri Aug 10 2007 meissner@suse.de -- upgraded to 0.2.1 release - - fixed for LFS support -* Sat Aug 04 2007 meissner@suse.de -- upgraded to 0.2.0 release - - more USB ids - - 64bit handling -* Thu Jul 26 2007 meissner@suse.de -- uprgaded to current CVS state - - caching of fs and metadata - - new devices - - ptp reset binary - - bugfixes -* Mon Jun 04 2007 stbinner@suse.de -- fix build requires for older distributions -* Wed May 16 2007 olh@suse.de -- Buildrequires libusb -> libusb-devel - Remove unneded Requires libusb - -devel package requires libusb-devel -* Tue Mar 27 2007 meissner@suse.de -- upstream 0.1.5 - - uses SetObjPropList for most devices - - usb lowlevel communication fixes for - stubborn devices - - some new ids -* Wed Mar 07 2007 meissner@suse.de -- upstream 0.1.4 - - lots of bugfixes - - multiple device handling -* Thu Feb 08 2007 dmueller@suse.de -- split into -devel subpackage -* Wed Jan 17 2007 meissner@suse.de -- upstream 0.1.3 - - bugfixes. -* Wed Jan 10 2007 meissner@suse.de -- use %%run_ldconfig in post/postun. (from rpmlint) -* Mon Jan 08 2007 meissner@suse.de -- Upgraded to 0.1.2: - - new devices - - lots of bugfixes, rewritten lowlevel - communications layer. -* Sat Dec 02 2006 meissner@suse.de -- Upgraded to 0.1.0: - - new devices - - metadata, tracks, vcf handling - - enhanced tools - - HAL snippet -* Thu Sep 21 2006 meissner@suse.de -- Upgraded to 0.0.19: - - formatting of devices added - - lots of fixes -* Mon Aug 28 2006 meissner@suse.de -- Upgraded to 0.0.16 - - better handling of non-ascii filenames - - handling of large files -* Wed Aug 23 2006 meissner@suse.de -- libmtp 0.0.13 - - Library to access MTP devices. - - Small sample tools for accessing.