commit c9d94eebc17347d89e3311abcb93624fb6fa4432a7ea2a18d949b8d92a5c9962 Author: Adrian Schröter Date: Fri May 3 15:16:54 2024 +0200 Sync from SUSE:SLFO:Main libmtp revision fca12beceaab41078a170cdc638c78c5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libmtp-1.1.21.tar.gz b/libmtp-1.1.21.tar.gz new file mode 100644 index 0000000..933e6e9 --- /dev/null +++ b/libmtp-1.1.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4ffa5ab8c8f48c91b0047f2e253c101c418d5696a5ed65c839922a4280872a7 +size 862703 diff --git a/libmtp-1.1.21.tar.gz.asc b/libmtp-1.1.21.tar.gz.asc new file mode 100644 index 0000000..3a70ced --- /dev/null +++ b/libmtp-1.1.21.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEfEr9Ydiq51cHlqUXIgnWkC+WnJUFAmRDnuAACgkQIgnWkC+W +nJW+HQ//Qqwv4p6Giy4UZP0PtXHgTOlvjskMNJrvvmopU0CFd2QOgtlN8ly4wDiT +gPC4uH4Aw2pNL36pT9kLI5UrLn5QWlpt1Az72/kr1qQnqZ9DvvBWGS808/DJpda3 +Tt7t0rymN1laJZLcV+XF/MY4kyLwXB46q88D7LKNXw5ix4FLHjtm5zxCEeiTTubO +CIW6tlYM/wBwmJ6v0xJkO/XeHlc6DBO7cPnfxHP9F6SWHmOpOdr02rQOXqMT52Yx +wZKmPOryopmB6AJew19G1HO4afupQopE9urEp+Uz9hR8lpm2DyJDfr3h5pIGmQoG ++oxZFXEtBcNFN9tkR4h8KAPGDkL6WNFRJrqpJf96G5CvGeTPBsJ9Hy/N4vAM/MBC +/93KezyXg6QFlPQxxvsb3Oj9fIXwNMVEKmOH6u7khxDw/bYsR25ZSkHz5tnGNo9I +OxJZc7TYWJ4e6bL5qZy2PLI7EaVwUbuNYDOsgLc3U61ZMuNFUDXR/Ced44c2hijO +sV2pHPn3D8Y1fo5uRhowOSRlXcu4qDg/mijC7qty3W3GZqZKkuL6uA6xakxK6N4L +LBHX/8+dXfSpSJcNXbnYII6PSf1x88jivNO9TgWEff5r6B7z0T7lQiPw9eUPsuQr +YNQbBh7luHMaDgnXf76lEOojJEz3I6DuvaVXpMnjFV6GSr3A3cE= +=23bH +-----END PGP SIGNATURE----- diff --git a/libmtp.changes b/libmtp.changes new file mode 100644 index 0000000..d57d1fb --- /dev/null +++ b/libmtp.changes @@ -0,0 +1,650 @@ +------------------------------------------------------------------- +Mon Apr 24 09:46:21 UTC 2023 - Marcus Meissner + +- updated to 1.1.21 release + Bugs fixed: + + - Fix LIBMTP_STORAGE_SORTBY_MAXSPACE not working (copy-paste mistake) + - fix warnings regarding mismatched parameter docs + - fix comment above sort_storage_bysort_storage_by + - Revert "ptp_pack_string: check string length for no iconv situation" + - remove dependency on ptp.h + - fixed paste error vendor/product id + - libusb-glue: check return value of ptp_init_send_memory_handler + - ptp_pack_string: check string length for no iconv situation + - ptp-pack: fix ucs2str overflow + + Features: + + - add a LIBMTP_FreeMemory function that wraps free() + - added functions to get device by serial number + - added serial number of device to output of 'mtp-files' + - added optional serial number parameter to 'mtp-getfile' + - added optional serial number parameter to 'mtp-delfile' + - feat: Add LIBMTP_Get_Children() to read the list of raw IDs of a folder. + - merge a patch from google https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/chromiumos-overlay/media-libs/libmtp/files/libmtp-1.1.20-10_remove_nexus_s_from_device_list.patch + + - several new devices added, some device renaming for consistency. + +------------------------------------------------------------------- +Sat Jul 2 08:50:23 UTC 2022 - Marcus Meissner + +- updated to 1.1.20 release + - again more USB ids added + - some smaller bugfixes + +------------------------------------------------------------------- +Sat Sep 25 14:29:46 UTC 2021 - Marcus Meissner + +- updated to 1.1.19 release + - Lots of USB ids added, especially Garmin devices + - use a local libusb context, not the global one + - various bugfixes + +------------------------------------------------------------------- +Sun Oct 11 11:59:58 UTC 2020 - Marcus Meissner + +- updated to 1.1.18 release + - new USB ids + - mtp-getfile and mtp-delfile new parameter + - report "error 6" as "busy / blocked by another device" + +------------------------------------------------------------------- +Sun Feb 2 14:00:38 UTC 2020 - Marcus Meissner + +- updated to 1.1.17 release + - new USB Ids + - various bugfixes + +------------------------------------------------------------------- +Fri Dec 14 13:25:50 UTC 2018 - Martin Pluskal + +- Small packaging cleanup + +------------------------------------------------------------------- +Sat Oct 27 17:09:08 UTC 2018 - meissner@suse.com + +- updated to 1.1.16 release + - lots of new USB ids + - some bugfixes + - adjust udev rules for new kernel versions (bsc#1110868) + +------------------------------------------------------------------- +Sat Mar 24 17:35:38 UTC 2018 - meissner@suse.com + +- updated to 1.1.15 release + - lots of new USB ids + - copy and move object implemented + - 64bit file bugfixes + - bugfixes + +------------------------------------------------------------------- +Mon Oct 2 08:06:48 UTC 2017 - meissner@suse.com + +- updated to 1.1.14 release + - lots of new USB ids + - 64bit file bugfixes + - bugfixes + +------------------------------------------------------------------- +Sun Apr 2 19:45:15 UTC 2017 - meissner@suse.com + +- updated to 1.1.13 release (bsc#1033830) + - lots of new USB id updates + - getpartialobject64 fixed for non x86_64 + - some too strict bugflags removed for Galaxy S and Motorola G2 + +------------------------------------------------------------------- +Fri Aug 12 14:26:14 UTC 2016 - meissner@suse.com + +- updated to 1.1.12 release + - lots of new USB id updates + - async event function + +------------------------------------------------------------------- +Wed Feb 10 21:06:21 UTC 2016 - meissner@suse.com + +- updated to 1.1.11 release + - lots of new USB id updates + - small usb 3 bugfix +- libmtp.keyring: temporary add my older key, as I mistakenly + used that to sign the tarball + +------------------------------------------------------------------- +Mon Oct 26 13:45:30 UTC 2015 - dmitry_r@opensuse.org + +- Split udev rules to separate package + +------------------------------------------------------------------- +Sun Oct 4 15:14:12 UTC 2015 - meissner@suse.com + +- updated to 1.1.10 release + - lots of new ids + - various bugfixes + +------------------------------------------------------------------- +Sun Jun 21 04:34:03 UTC 2015 - crrodriguez@opensuse.org + +- remove Requires on libusb-devel from libmtp-devel, the correct + dependency is libusb1 already included by the pkgconfig + generator. + +------------------------------------------------------------------- +Thu Apr 30 09:18:47 UTC 2015 - olaf@aepfle.de + +- Package whole udev related dirs to avoid build failures + +------------------------------------------------------------------- +Mon Apr 13 19:32:11 UTC 2015 - meissner@suse.com + +- updated to 1.1.9 release + - lots and lots of new ids + - bugfixes +- mtp_DroidTurbo.patch,include-config-h.patch: upstream + +------------------------------------------------------------------- +Sat Mar 21 14:28:40 UTC 2015 - meissner@suse.com + +- update to 1.1.8 + - several new ids. + +------------------------------------------------------------------- +Sat Jan 31 20:26:11 UTC 2015 - rjschwei@suse.com + +- Add device data for Droid Turbo + add: mtp_DroidTurbo.patch + +------------------------------------------------------------------- +Thu Sep 25 08:02:46 UTC 2014 - schwab@suse.de + +- include-config-h.patch: always include "config.h" first + +------------------------------------------------------------------- +Tue Aug 26 06:31:36 UTC 2014 - meissner@suse.com + +- updated to 1.1.7 + - Soname libmtp.so.9.2.0 - binary compatible, new interfaces + have been added. + - Compilation fixes for older GCC and non-GCC compilers. + - Finalize >4GB file transfer changes so this works now. + - A new API to check for device capabilities has been added. + - Sync in latest upstream ptp2 changes. + - Support for USB 3.0! (A patch adding async buffering was + reverted after deemed instable by Debian.) + - Some migration toward the new API in the examples. + - Use parent storage if available as default storage media. + - Force reset on close for Android devices. + - Handle integrated USB hubs in mtp-probe. + - Devices, devices, devices... +- mtpz-use-LIBMTP_ERROR-instead-of-LIBMTP_INFO.patch: is upstream +- music-players.h: use up to date 1.1.7 version again. + +------------------------------------------------------------------- +Tue May 27 01:39:24 UTC 2014 - crrodriguez@opensuse.org + +- Tell doxygen to stop producing files with timestamps. +- define udev macros only if not already there. + +------------------------------------------------------------------- +Mon Dec 9 12:45:01 UTC 2013 - meissner@suse.com + +- music-players.h: Updated to the device database of the current GIT level + to support more MTP devices (bnc#854328) + +------------------------------------------------------------------- +Fri Sep 27 19:54:22 UTC 2013 - rmilasan@suse.com + +- Use LIBMTP_ERROR instead of LIBMTP_INFO function in mtpz_loaddata + (mtpz.c) to dont get junk in the udev rule when generating the rule. + add: mtpz-use-LIBMTP_ERROR-instead-of-LIBMTP_INFO.patch + +------------------------------------------------------------------- +Fri Mar 15 09:28:44 UTC 2013 - meissner@suse.com + +- updated to 1.1.6 + + - Soname libmtp.so.9.1.0 - binary compatible, new interfaces + have been added. + - Devices, devices, devices... I think I had a hundred (no kidding) + reports for the Nexus 4. It seems hackers just love this device + and cannot wait for me to spin a new libmtp. + - More careful autoprobing code for Linux, running around in + sysfs to try to avoid opening non-MTP devices. The libusb devs + do not uniformly like this idea but what shall I do? People + still want their devices to autodetect. Any hints welcome, + any patches will be reviewed. + - Interface extenstions from Philip Langdale to support the + Android in-place read/write extensions. This will be used by + GVFS for editing files etc, it is actually very useful when + treating the MTP device as a "real" filesystem. It only works + on Android devices with Google's MTP stack, but hey, that is + a fair share of the MTP devices used today. + - Several fixes and memory leaks fixed by Lei Zhang courtesy if + the Chromebook project, thanks Google! + - Windows Phone 8 should work out of the box. +- remove upstream libmtp_motoRazr.patch + +------------------------------------------------------------------- +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 + +- mtp-probe no longer working in factory, wrong udev dir. + +------------------------------------------------------------------- +Sat Sep 22 11:34:52 UTC 2012 - toddrme2178@gmail.com + +- updated to 1.1.5 + - Soname libmtp.so.9.0.5 - binary compatible + - Stop forcing altinterface 0! That bug has been around like + forever and libgphoto2 never did this. It screws up some + Samsung devices and is the prime reason for releasing this + update so soon after 1.1.4 as I know a lot of people out there + have Samsung devices! + - Integrated Sajid Anwars hard long-term work on MTPZ. There are + no secret keys or certificates inside libmtp, if you need these + to talk to your MTPZ device (Zune models, Windows Phones) you + need to get a file of secrets from some other place, preferably + Microsoft. + - Expose getthumbnail method and the Add Storage events as needed + for a GNOME VFS project by Philip Langdale. + - Rearrange and try to understand some SONY device modes again + and again. + - A udev script fix from Alessio Treglia to avoid poking around + on Canon EOS 3D. + - Devices, devices, devices... +- Add libgrypt buildrequires for MTPZ support + +------------------------------------------------------------------- +Sun Aug 19 09:29:56 UTC 2012 - meissner@suse.com + +- updated to 1.1.4 + - various bugfixes, especially in Samsung * + - lots of new ids + +------------------------------------------------------------------- +Tue Apr 3 11:59:59 CEST 2012 - meissner@suse.de + +- updated to 1.1.3 + - Soname libmtp.so.9.0.3 - binary compatible. + - Probably nailed the bugs in the Samsung Galaxy Tab S2 family + of devices. Ignacio Martinez helped us fixing this! + - Build fixes by Alessio Treglia and others. + - A horde of new devices in the database. + +------------------------------------------------------------------- +Tue Jan 31 12:27:07 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions + +------------------------------------------------------------------- +Fri Jan 13 11:35:55 CET 2012 - meissner@suse.de + +- updated to 1.1.2 + * device updates + * ported to use libusb 1.0 + * Autodetect "sony.net" devices + +------------------------------------------------------------------- +Thu Dec 29 16:30:06 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections (authors list, already in package + as a file); put %description after %package +- Parallel build with %_smp_mflags + +------------------------------------------------------------------- +Thu Dec 29 11:46:54 UTC 2011 - adrian@suse.de + +- add support for Galaxy Nexus + +------------------------------------------------------------------- +Wed Dec 21 21:30:49 UTC 2011 - adrian@suse.de + +- updated to 1.1.1 + * device updates + +------------------------------------------------------------------- +Mon Sep 19 10:01:27 CEST 2011 - meissner@suse.de + +- updated to 1.1.0 + * lots of new devices + * IAD (0xfe class) device detection +- drop HAL FDI snippets +- libmtp8 -> libmtp9 + +------------------------------------------------------------------- +Fri Jun 10 09:23:53 UTC 2011 - andrea.turrini@gmail.com + +- fixed typos in descriptions of libmtp.spec + +------------------------------------------------------------------- +Tue Feb 15 11:02:08 CET 2011 - meissner@suse.de + +- updated to 1.0.6 + * even less aggressive mtp probing (not detecting nearly all + devices as MTP) bnc#668986 + * some more USB ids + +------------------------------------------------------------------- +Tue Jan 25 16:08:21 CET 2011 - meissner@suse.de + +- do not greedily match all PTP cameras in the udev rules. + +------------------------------------------------------------------- +Mon Jan 10 10:28:34 CET 2011 - meissner@suse.de + +- updated to 1.0.4 incremental release + * new ids + * bugfixes + * new udev rules for new udev + +------------------------------------------------------------------- +Sun May 23 11:34:39 UTC 2010 - meissner@novell.com + +- updated to 1.0.3 incremental release + * some new ids + * some smaller bugfixes +- buildrequre pkg-config + +------------------------------------------------------------------- +Wed Apr 28 13:28:02 CEST 2010 - meissner@suse.de + +- updated to intermediate snapshot + * Samsung fixes and new ids + * various small bugfixes + +------------------------------------------------------------------- +Mon Feb 1 14:19:31 CET 2010 - meissner@suse.de + +- updated to 1.0.2 bugfix release + * new ids: Samsung, Archos, Blackberry, ... + * bugfixes + +------------------------------------------------------------------- +Wed Sep 16 11:17:26 CEST 2009 - meissner@suse.de + +- updated to 1.0.1 bugfix release + * last patches included + * some more bug flags for devices + +------------------------------------------------------------------- +Sat Sep 5 21:01:26 CEST 2009 - meissner@suse.de + +- bugfixes to "fast metadata loading" method + +------------------------------------------------------------------- +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 + +- 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 11:54:26 CET 2008 - meissner@suse.de + +- detach the Cowon iAudio 7 from usb-storage on start to make it work + bnc#457931 + +------------------------------------------------------------------- +Fri Nov 7 23:52:13 CET 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 16:17:20 CEST 2008 - mrueckert@suse.de + +- fix debug_packages_requires define + +------------------------------------------------------------------- +Fri Sep 26 07:39:22 CEST 2008 - meissner@suse.de + +- upgraded to 0.3.3 + - lots of new ids + - protocol bugfixes for Samsung and Creative devices + - bugfixes + +------------------------------------------------------------------- +Wed Aug 27 12:16:56 CEST 2008 - meissner@suse.de + +- let debuginfo require libmtp8 +- disable static libs and .la files + +------------------------------------------------------------------- +Tue Aug 26 14:41:28 CEST 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 10:27:48 CEST 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 08:11:30 CET 2008 - meissner@suse.de + +- upgraded to 0.2.6.1 + - disabled debug +- info.bus -> info.subsystem in FDI file + +------------------------------------------------------------------- +Mon Mar 3 09:57:15 CET 2008 - meissner@suse.de + +- upgraded to 0.2.6 + - some new devices + - bugfixes + - remove LIBMTP_Set_Object_Parent function -> new major + +------------------------------------------------------------------- +Wed Jan 9 08:44:12 CET 2008 - meissner@suse.de + +- upgraded to 0.2.5 + - several new devices + - code cleanups and bugfixes + +------------------------------------------------------------------- +Mon Nov 26 10:03:58 CET 2007 - meissner@suse.de + +- upgraded to 0.2.4 + - various bug fixes and new fixes + - header-repairing for Zen devices + +------------------------------------------------------------------- +Sun Oct 28 09:53:09 CET 2007 - meissner@suse.de + +- --program-prefix=mtp- is needed. + +------------------------------------------------------------------- +Fri Oct 26 11:16:25 CEST 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 8 18:07:28 CEST 2007 - meissner@suse.de + +- upgraded to 0.2.2 + - bugfixes, new devices, faster metadata read + +------------------------------------------------------------------- +Fri Aug 10 13:49:23 CEST 2007 - meissner@suse.de + +- upgraded to 0.2.1 release + - fixed for LFS support + +------------------------------------------------------------------- +Sat Aug 4 23:46:47 CEST 2007 - meissner@suse.de + +- upgraded to 0.2.0 release + - more USB ids + - 64bit handling + +------------------------------------------------------------------- +Thu Jul 26 16:14:51 CEST 2007 - meissner@suse.de + +- uprgaded to current CVS state + - caching of fs and metadata + - new devices + - ptp reset binary + - bugfixes + +------------------------------------------------------------------- +Mon Jun 4 11:09:29 CEST 2007 - stbinner@suse.de + +- fix build requires for older distributions + +------------------------------------------------------------------- +Wed May 16 21:32:29 CEST 2007 - olh@suse.de + +- Buildrequires libusb -> libusb-devel + Remove unneded Requires libusb + -devel package requires libusb-devel + +------------------------------------------------------------------- +Tue Mar 27 09:02:10 CEST 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 7 23:56:48 CET 2007 - meissner@suse.de + +- upstream 0.1.4 + - lots of bugfixes + - multiple device handling + +------------------------------------------------------------------- +Thu Feb 8 10:16:36 CET 2007 - dmueller@suse.de + +- split into -devel subpackage + +------------------------------------------------------------------- +Wed Jan 17 11:28:17 CET 2007 - meissner@suse.de + +- upstream 0.1.3 + - bugfixes. + +------------------------------------------------------------------- +Wed Jan 10 10:59:43 CET 2007 - meissner@suse.de + +- use %run_ldconfig in post/postun. (from rpmlint) + +------------------------------------------------------------------- +Mon Jan 8 16:37:42 CET 2007 - meissner@suse.de + +- Upgraded to 0.1.2: + - new devices + - lots of bugfixes, rewritten lowlevel + communications layer. + +------------------------------------------------------------------- +Sat Dec 2 12:47:17 CET 2006 - meissner@suse.de + +- Upgraded to 0.1.0: + - new devices + - metadata, tracks, vcf handling + - enhanced tools + - HAL snippet + +------------------------------------------------------------------- +Thu Sep 21 12:29:13 CEST 2006 - meissner@suse.de + +- Upgraded to 0.0.19: + - formatting of devices added + - lots of fixes + +------------------------------------------------------------------- +Mon Aug 28 13:29:55 CEST 2006 - meissner@suse.de + +- Upgraded to 0.0.16 + - better handling of non-ascii filenames + - handling of large files + +------------------------------------------------------------------- +Wed Aug 23 10:43:23 CEST 2006 - meissner@suse.de + +- libmtp 0.0.13 + - Library to access MTP devices. + - Small sample tools for accessing. diff --git a/libmtp.keyring b/libmtp.keyring new file mode 100644 index 0000000..e34a763 --- /dev/null +++ b/libmtp.keyring @@ -0,0 +1,93 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFSzpi8BEACdXU/ZG0JXS3l4guQzEorPhHsiJB79x/EqQLUXQUl+RpXydebd +WlNEVgKu88h//1rHC61GC64g4IvRD8wdnNwp01O9mMatxzXPqay8HAb4pKioHbrQ +NDsyUEdNFp9noHzJNXt/ugmxxCAn7oBAv4iTZ751r4RCaCMXvGrNcQyP/pMkrThj +OYiFFQtZ+IkIcfaSe60OaRjAGV7fOrrF2fDK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ckBub3ZlbGwuY29tPohgBBMRAgAgAhsjAh4BAheABQJQ +hbyFBgsJCAcDAgQVAggDBBYCAwEACgkQ6nvzlwF1Yj4amACgtjJSPpexM7RIawlK +TkFL8aq05sQAniW1RkeREMW37th2bV+TNrYyJx9itCNNYXJjdXMgTWVpc3NuZXIg +PG1laXNzbmVyQHN1c2UuY29tPohgBBMRAgAgAhsjAh4BAheABQJQhbyJBgsJCAcD +AgQVAggDBBYCAwEACgkQ6nvzlwF1Yj6i/gCeJvvrDb4sUzXYQme9P9kQTYx/CKYA +nRsQkK9YdgBh3eANzkB9OZvoCGk/tCJNYXJjdXMgTWVpc3NuZXIgPG1laXNzbmVy +QHN1c2UuZGU+iF0EExECAB0CHgECF4AFAlCFvIkGCwkIBwMCBBUCCAMEFgIDAQAK +CRDqe/OXAXViPq08AJ4s4d8TqL8glx5QoidtAzAgA1vMeQCfeT7NzLnk8MKgvBYu +KLWlukHjkcm5AQ0EP75CaRAEAMrHw0+H/2VCqLHOyEPSlk23aUNFLvNzp9p7pXrX +qQ+arJuFrAG79/iPXOBbV9pbxR385shJQOn+QFLGnwvA8AyMfqsy27RmcMD8mXPE +8gGdo45SqVcZXQ+azBCsuF/QxHJnY/WcDlcuhB5nEDtZJval//qRqgNbnkZK3pyO +8JhfAAMFBACsoUNMtaDj2gXi/lugJu0795o0F9ETte5PLl6FeOeAzGunfsnTYeY5 +DIIToC7zwSKRhz24ceoZl+q6lhlmSWWkyLaRnXBbjdUsDt5p5uMdfAyg868swJ7x +E4aCTHiWZ6GxZWKEyHsumBraztXYoSTqfnWLvndWt2gG89ufcd1hBYhGBBgRAgAG +BQJETkdZAAoJEOp785cBdWI+Mr4An1j8RYTRnqWFx5tUSqIUodF6wKnsAKCCLHoQ +/QqHyxmdf9dq8TkZEUEKxA== +=+M03 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libmtp.spec b/libmtp.spec new file mode 100644 index 0000000..88ff1f5 --- /dev/null +++ b/libmtp.spec @@ -0,0 +1,124 @@ +# +# spec file for package libmtp +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sonum 9 +%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d } +%{!?_udevdir: %global _udevdir %(pkg-config --variable=udevdir udev) } +Name: libmtp +Version: 1.1.21 +Release: 0 +Summary: Commandline utilities for access to MTP Players +License: LGPL-2.1-or-later +Group: Productivity/Multimedia/Sound/Players +URL: http://sf.net/projects/libmtp +Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz +Source1: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz.asc +Source2: %{name}.keyring +BuildRequires: doxygen +BuildRequires: libgcrypt-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(udev) + +%description +This package contains binaries and documentation that allow access to +USB based media players based on the MTP (Media Transfer Protocol) +authored by Microsoft. + +Common devices using this technology are Creative Zen, iRiver, Samsung +and others. + +%package -n %{name}-udev +Summary: Udev rules for accessing MTP devices +Group: Hardware/Mobile +Requires: pkgconfig(udev) + +%description -n %{name}-udev +This package contains the udev rules that allow access to USB based media +players based on the MTP (Media Transfer Protocol) authored by +Microsoft. + +%package -n %{name}%{sonum} +Summary: Library for accessing MTP Players +Group: Productivity/Multimedia/Sound/Players +Requires: %{name}-udev >= %{version} + +%description -n %{name}%{sonum} +This package contains the libraries that allow access to USB based media +players based on the MTP (Media Transfer Protocol) authored by +Microsoft. + +Common devices using this technology are Creative Zen, iRiver, Samsung +and others. + +%package -n mtp-tools +Summary: Commandline utilities for access to MTP Players +Group: Productivity/Multimedia/Sound/Players + +%description -n mtp-tools +This package contains binaries that allow command line access to USB +based media players based on the MTP (Media Transfer Protocol) authored +by Microsoft. For graphical user interfaces use Amarok or Banshee. + +%package devel +Summary: Development files for access to MTP Player library +Group: Development/Libraries/Other +Requires: %{name}%{sonum} = %{version} + +%description devel +This package contains the development headers for the libmtp library +that allows access to USB based media players based on the MTP (Media +Transfer Protocol) authored by Microsoft. + +%prep +%setup -q + +%build +echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in +%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen +make %{?_smp_mflags} + +%install +%make_install +#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 %{buildroot}%{_datadir}/doc/libmtp* +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{name}%{sonum} -p /sbin/ldconfig +%postun -n %{name}%{sonum} -p /sbin/ldconfig + +%files -n mtp-tools +%{_bindir}/* + +%files -n %{name}%{sonum} +%license COPYING +%doc README ChangeLog AUTHORS +%{_libdir}/lib*.so.* + +%files -n %{name}-udev +%{_udevdir} +%{_udevrulesdir} + +%files devel +%doc doc/html TODO +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/libmtp.pc +%{_includedir}/libmtp.h + +%changelog