Up to [cvs.NetBSD.org] / pkgsrc / devel / libmtp
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 13 10:20:12 2021 UTC (22 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
HEAD
Changes since 1.17: +4 -4
lines
Diff to previous 1.17 (colored)
libmtp: update to 1.1.19 Changes: - Lots of USB ids added, especially Garmin devices - use a local libusb context, not the global one - various bugfixes
Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 26 10:15:24 2021 UTC (23 months ago) by nia
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 7 13:40:18 2021 UTC (23 months, 3 weeks ago) by nia
Branch: MAIN
Changes since 1.15: +1 -2
lines
Diff to previous 1.15 (colored)
devel: Remove SHA1 hashes for distfiles
Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 29 12:55:19 2020 UTC (2 years, 11 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Changes since 1.14: +5 -5
lines
Diff to previous 1.14 (colored)
libmtp: update to 1.1.18. Christian Klein (1): added Sony Xperia XZ3 Dual Sim (H9436) Dylan Aïssi (2): Switch doxygen FULL_PATH_NAMES to NO for reproducible builds On UDEV discovery do not let printers get auto-probed Gerrit Niezen (2): only convert if iconv and langinfo.h is available (#20) don't redefine snprintf in VS 14+ Holger Schemel (4): fixed length in string comparisons added optional device ID parameter to 'mtp-getfile' fixed usage text for 'mtp-delfile' according to implementation added optional device ID parameter to 'mtp-delfile' Johan Källström (1): Add device id for Garmin Vivoactive 4S. Johannes Brandstätter (1): Flag i.Beat Organix 2.0 with DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST. Marcus Meissner (37): added Doro Phone 8030 DSB-0010 https://sourceforge.net/p/libmtp/bugs/1871/ added a kindle fire 7 id https://github.com/gphoto/libgphoto2/issues/473 added more id variants of the last commit added Lenovo TAB4 10 Plus fixes https://github.com/libmtp/libmtp/issues/33 added Lenovo TB-7304I https://sourceforge.net/p/libmtp/feature-requests/296/ fxied id for MTP+ADB https://sourceforge.net/p/libmtp/support-requests/294/ add SGP611 (Xperia Z3) [Tablet Compact] 0fce:51c0 with MTP. ADB id https://sourceforge.net/p/libmtp/support-requests/294/ added lenovo tab p10 https://sourceforge.net/p/libmtp/bugs/1873/ added another bq Aquarius U id https://sourceforge.net/p/libmtp/bugs/1874/ added another kindle fire https://sourceforge.net/p/libmtp/bugs/1876/ report busy more directly on opening added NVIDIA Shield Android TV (pro) https://sourceforge.net/p/libmtp/feature-requests/297/ added id for FITT360 might fix https://github.com/libmtp/libmtp/issues/44 added Sharp AndroidOne S5 https://sourceforge.net/p/libmtp/bugs/1883/ added garmin vivoactive 4, fixes https://github.com/libmtp/libmtp/issues/51 added some missing LIBMTP_destroy_file_t to avoid leaks. added Kindle Fire HD8 Plus https://sourceforge.net/p/libmtp/bugs/1886/ added nokia 701 https://sourceforge.net/p/libmtp/bugs/1885/ added Garmin Forerunner 245 Music https://sourceforge.net/p/libmtp/bugs/1884/ added Garmin Zumo XT https://sourceforge.net/p/libmtp/bugs/1887/ added acer a3-a40 https://sourceforge.net/p/libmtp/feature-requests/298/ tolino Vision 4 HD ebook reader https://sourceforge.net/p/libmtp/bugs/1889/ added A&K player SR15 https://sourceforge.net/p/libmtp/support-requests/292/ added amazon fire hd8 https://sourceforge.net/p/libmtp/feature-requests/300/ 1.1.18 release Zbigniew Jdrzejewski-Szmek (3): mtp-hotplug: fix casing in hwdb patterns mtp-hotplug: make use of the hwdb mtp-hotplug: provide a default for mtp_probe_dir petrus82 (2): Add Sony Xperia Tablet S - SGPT12
Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 3 20:15:19 2020 UTC (3 years, 5 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2
Changes since 1.13: +2 -1
lines
Diff to previous 1.13 (colored)
libmtp: Don't attempt to unload kernel drivers on NetBSD. This reduces the amount the command line utilities complain and makes this marginally less broken. But, it's a hack around the underlying issue, it shouldn't treat this as a failure if the underlying libusb driver doesn't support it.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 24 16:58:05 2020 UTC (3 years, 6 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.12: +5 -5
lines
Diff to previous 1.12 (colored)
libmtp: Update to 1.1.17 Changelog appears to no longer be maintained
Revision 1.12 / (download) - annotate - [select for diffs], Sat Sep 21 09:52:42 2019 UTC (4 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3
Changes since 1.11: +7 -8
lines
Diff to previous 1.11 (colored)
libmtp: updated to 1.1.6 1.1.6: Unknown changes
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 16 13:02:20 2018 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.10: +5 -5
lines
Diff to previous 1.10 (colored)
libmtp: update to 1.1.15. It contains lots of new IDs, bugfixes and also new features: - Improved file handling for files larger than 4GB - Support copy and move object functions - Passing device prop changed events.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 21 12:26:55 2017 UTC (5 years, 11 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored)
Update to 1.1.14 Changelog: Support more devices
Revision 1.9 / (download) - annotate - [select for diffs], Tue May 16 13:50:06 2017 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2
Changes since 1.8: +5 -5
lines
Diff to previous 1.8 (colored)
Updated libmtp to 1.1.13. I have just released 1.1.13 of libmtp. - Fixed GetPartialObject64 on non-x86_64 - Lots of USB ID additions. - Some bugworkaround flags removed for Samsung Galaxy and Motorola G 2nd edition (proplistget and proplistgetall bug flags) pkgsrc change: Really make libgcrypt optional.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 22 12:41:22 2017 UTC (6 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base,
pkgsrc-2017Q1
Changes since 1.7: +5 -5
lines
Diff to previous 1.7 (colored)
Update to 1.1.12 Changelog: I have just released libmtp 1.1.12. This release is largely meant as USB ID addition update. There was also an addition of a function called LIBMTP_Handle_Event(), to handle USB events asynchronously.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 9 10:09:14 2016 UTC (7 years, 5 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Changes since 1.6: +10 -7
lines
Diff to previous 1.6 (colored)
update to libmtp-1.1.11 letting SunOS pick up libusb-1 support adding option for MTPZ libgcrypt support adding missing license libmtp 1.1.11 release Emeric Grange (2): added several gopro hero ids gopro hero4 mtp detect Fish Lung (1): added xperia z5 Marcus Meissner (58): added p98 https://sourceforge.net/p/libmtp/bugs/1440/ added wiko rainbow added amazon kindle fire 7 https://sourceforge.net/p/libmtp/bugs/1448/ google pixel c added https://sourceforge.net/p/libmtp/bugs/1444/ nvidia shield tegra 4 https://sourceforge.net/p/libmtp/bugs/1447/ oneplus one a2005 added https://sourceforge.net/p/libmtp/bugs/1450/ xiamo redmi2 2014811 https://sourceforge.net/p/libmtp/bugs/1445/ removed AC_FUNC_MALLOC https://sourceforge.net/p/libmtp/bugs/1438/ nokia x2 dual sim https://sourceforge.net/p/libmtp/bugs/1453/ sony xperia compact z5 added https://sourceforge.net/p/libmtp/bugs/1455/ added nokia C5-00 alternate PID https://sourceforge.net/p/libmtp/bugs/1457/ philips w6610 https://sourceforge.net/p/libmtp/support-requests/163/ added amazon fire hd 8 https://sourceforge.net/p/libmtp/bugs/1460/ added wileyfox swift https://sourceforge.net/p/libmtp/feature-requests/146/ Sony Z3 Tablet Compact https://sourceforge.net/p/libmtp/bugs/1454/ added sony e2105 log added Prestigio Multipad Color 7 https://sourceforge.net/p/libmtp/feature-requests/148/ lenovo a1000 https://sourceforge.net/p/libmtp/bugs/1465/ added lg 810 tablet https://sourceforge.net/p/libmtp/bugs/1463/ elephone p6000 added nook color info https://sourceforge.net/p/libmtp/bugs/1462/ ARCHOS Helium 45B added acer z530 https://sourceforge.net/p/libmtp/bugs/1469/ added kyocera kc-s701 https://sourceforge.net/p/libmtp/bugs/1476/ added Moto Maxx https://sourceforge.net/p/libmtp/bugs/1477/ Add support for the ARCHOS 70 Cobalt https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1410177 added another htc desire 310 id https://sourceforge.net/p/libmtp/bugs/1481/ medion p8312 8" tablet-pc. https://sourceforge.net/p/libmtp/bugs/1480/ huawei M2-801W log https://sourceforge.net/p/libmtp/bugs/1479/ added acer liquid z330 https://sourceforge.net/p/libmtp/bugs/1478/ fixed regex match failure for some bugs corrected the GoPro naming (company/model) added Marshall London https://sourceforge.net/p/libmtp/bugs/1490/ added Xiaomi Pad 1 (2717:0668) https://sourceforge.net/p/libmtp/bugs/1489/ added lenovo a10 70f https://sourceforge.net/p/libmtp/bugs/1488/ new amazon kindle id added https://sourceforge.net/p/libmtp/bugs/1491/ added Kyocera Event https://sourceforge.net/p/libmtp/bugs/1492/ asus zenfone 2 debzug lenovo a1000 (probably in ADB mode) https://sourceforge.net/p/libmtp/bugs/1465/ added htc desire 520 https://sourceforge.net/p/libmtp/support-requests/200/ added lenovo data added fujistsu arrows 202f https://sourceforge.net/p/libmtp/bugs/1495/ added Lenovo A10-70L https://sourceforge.net/p/libmtp/bugs/1497/ added htc one mini 2 https://sourceforge.net/p/libmtp/bugs/1500/ added lenovo lifetab s1034x debug https://sourceforge.net/p/libmtp/bugs/1499/ added nook glowlight plus https://sourceforge.net/p/libmtp/bugs/1504/ added data for orange nura phone https://sourceforge.net/p/libmtp/bugs/1503/ do not do force_reset_on_close for the Kyocera Event https://sourceforge.net/p/libmtp/bugs/1492/ add huawei honor 7 https://sourceforge.net/p/libmtp/bugs/1507/ added lenovo lifetab S1034X https://sourceforge.net/p/libmtp/support-requests/201/ addone sony xperia z3v https://sourceforge.net/p/libmtp/feature-requests/153/ HTC one M9 https://sourceforge.net/p/libmtp/bugs/1508/ added a microsoft lumia https://sourceforge.net/p/libmtp/feature-requests/155/ added oneplus one2 a2003 https://sourceforge.net/p/libmtp/bugs/151/ added fairphone 2 https://sourceforge.net/p/libmtp/support-requests/202/ in read, use the maxpacket from the device, not _HS_ packetsize allview energy p5 https://sourceforge.net/p/libmtp/bugs/1512/ Kyocera DIGNO T 302KC https://sourceforge.net/p/libmtp/bugs/1518/ 1.1.11 release Nicholas Little (1): This commit alters the flags for the Nexus 6P device by Huawei - it has a working get object properties list and its regular object access is broken with respect to the release date track field. Reverend Homer (1): LIBMP_Create_Folder: fixed doc https://sourceforge.net/p/libmtp/bugs/1472/ 0xFFFFFFFF for root folder instead of 0
Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 3 03:27:43 2015 UTC (7 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
Add SHA512 digests for distfiles for devel category Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.5 / (download) - annotate - [select for diffs], Sat May 2 10:43:29 2015 UTC (8 years, 5 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Changes since 1.4: +5 -5
lines
Diff to previous 1.4 (colored)
Update to 1.1.9 Changelog: * Add many device entries. * Bugfixes.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 8 09:52:01 2013 UTC (10 years, 5 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Changes since 1.3: +4 -4
lines
Diff to previous 1.3 (colored)
Update to 1.1.6 Changes unknown other than support for more devices.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 14 21:00:46 2012 UTC (11 years, 1 month ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3
Changes since 1.2: +5 -4
lines
Diff to previous 1.2 (colored)
Update libmtp to version 1.1.3 Changes unknown other than now supports Samsung Galaxy phones.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 18 10:06:15 2010 UTC (13 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Changes since 1.1: +4 -4
lines
Diff to previous 1.1 (colored)
Update to 1.0.1: 2009-09-12 Linus Walleij <triad@df.lth.se> * configure.ac: bump version to libmtp 1.0.1 and release! * src/Makefile.am: bump soversion to libmtp.so.8.3.1 2009-09-11 Linus Walleij <triad@df.lth.se> * src/music-players.h: tag all SONY NWZ walkmen with DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST. 2009-08-27 Linus Walleij <triad@df.lth.se> * src/libmtp.c: modernize the album retrieveal functions so they work just as nicely as the track/playlist etc functions. Triggered by Nyalls excellent bug report that showed how libmtp tried to get "composer" info for an album eventhough the device didn't support it. 2009-08-27 Linus Walleij <triad@df.lth.se> * src/libmtp.c: bugfixes again... 2009-08-25 Linus Walleij <triad@df.lth.se> * src/libmtp.c: fix a bug where the metadata was cached twice, thx to Marcus for the patch! 2009-08-23 Linus Walleij <triad@df.lth.se> * src/ptp.c: sync to upstream * src/ptp.h: dito. * src/libmtp.c: patch from Thomas Schweitzer to not use C++ reserved words like "private" and "new", this was changed to "priv" and "newlist" making C++ happy. * src/libusb-glue.h: inclusion guard, export functions to C++ (whoever wants to do that...) * src/libusb-glue.c: define USB_CLASS_PTP unless defined, out-commented code to detect all PTP devices as MTP devices as well. 2009-08-12 Linus Walleij <triad@df.lth.se> * src/libusb-glue.c: patch from Simon Berg to detect PTP interface descriptors. * src/ptp.c: sync to upstream with correct MTP interface detection in accordance with MTP spec. * src/ptp.h: dito. 2009-08-02 Linus Walleij <triad@df.lth.se> * configure.ac: tag for libmtp 1.0.0! * src/Makefile.am: bump to compatible API/ABI result = libmtp.so.8.3.0 * src/libmtp.c: missing flag fix from Marcus. 2009-07-24 Linus Walleij <triad@df.lth.se> * src/device-flags.h: add a flag for unknown FLAC type. * src/music-players.h: tag the Cowon iAudio S9 with this. * src/libmtp.c: implement unknown FLAC type. 2009-07-24 Linus Walleij <triad@df.lth.se> * src/music-players.h: a number of new devices. * src/ptp.c: sync to upstream. * src/ptp.h: sync to upstream. * src/ptp-pack.c: sync to upstream. 2009-06-24 Linus Walleij <triad@df.lth.se> * src/music-players.h: tag most all Samsung devices with the UNLOAD_DRIVER flag. Broken GET_ALL info in all Creative devices. 2009-06-20 Linus Walleij <triad@df.lth.se> * examples/pathutils.c: detect VCF files too. 2009-06-15 Marcus Meissner <meissner@suse.de> * configure.ac: use the AC_SYS_LARGEFILE macro instead of the ugly largefile hacks. * src/libmtp.c: fix use of largefile back to the simple functions instead. * examples/albumart.c: dito. * examples/sendfile.c: dito. * examples/sendtr.c: dito. * examples/thumb.c: dito. 2009-06-15 Linus Walleij <triad@df.lth.se> * configure.ac: some buildsystem updates. * INSTALL: some doc updates. 2009-06-15 Marcus Meissner <meissner@suse.de> * src/libmtp.c: synced to new libgphoto2 code. * src/device-flags.h: dito. * src/ptp.h: sync to upstream. * src/ptp.c: dito. * src/ptp-pack.c: dito. The handles, the PTPObjectInfo and the MTP proplists are now consolidated into "PTPObject"s. This and abstraction and the resulting helper functions allow implementation of easier dynamic operations like I need for libgphoto2. Some corner stones: - PTPParams now contains the device flags itself. (from device-flags.h) This is needed due to ptp_object_want() needing to decide whether it can call GetObjPropList, and it makes it cleaner. So the ptp-bugs and device-flags handling are unified. - PTPObjects are sorted by object handle. This allows binary search by handle. - New generic helper functions. * uint16_t ptp_object_find (PTPParams *params, uint32_t handle, PTPObject **retob) binary searches the handle in the object list and returns a pointer to the object. * uint16_t ptp_object_find_or_insert (PTPParams *params, uint32_t handle, PTPObject **retob) binary searches the handle in the object list, inserts it if not there yet, and returns a pointer to the object. * uint16_t ptp_object_want (PTPParams *params, uint32_t handle, int want, PTPObject **retob) The most magic function, which does the "on demand" loading of objectinfos, mtp proplists (and more). want is a flag mask of PTPOBJECT_*_LOADED PTPOBJECT_OBJECTINFO_LOADED clear PTPOBJECT_CANONFLAGS_LOADED (special canon flags) PTPOBJECT_MTPPROPLIST_LOADED mtp properties for this object loaded PTPOBJECT_DIRECTORY_LOADED (only used by libgphoto2 currently) PTPOBJECT_PARENTOBJECT_LOADED this and storageid are interesting for directory based lookups PTPOBJECT_STORAGEID_LOADED and can be filled out by directory loading * void ptp_objects_sort (PTPParams *params); Sort the objects list if you did any modification of your own on it and the order of object handles might not be linear anymore. - Multiple object information loading strategies are possible. libmtp uses getobjecthandles() /getobjectinfo() and getobjectproplist() loading strategies for initial setup. This stays of course, it will just fill out the PTPObject array. libgphoto2 now uses a per-directory getobjecthandles() / getobjectinfo() loading approach, and I will readd the getobjectproplist() approach. It is open what you chose to use here. For libmtp the "load all handles at startup" is good, dynamic loading is better for libgphoto2. Only rule is: The objectlist must be in order of objecthandles! (ptp_object_sort()). 2009-06-02 Linus Walleij <triad@df.lth.se> * examples/hotplug.c: change the udev match rule from ATTR{dev}!="?*" to ENV{MAJOR}!="?*" at the suggestion of Alan Jenkins, this should be faster. * src/libusb-glue.c: include config.h (Marcus Meissner found this is needed when you're not using iconv().) 2009-05-09 Linus Walleij <triad@df.lth.se> * src/libmtp.c: include <config.h> for iconv() compatibility. * src/unicode.c: dito. NOTE: this file needs fixing to work without iconv! * src/ptp.h: sync to upstream and get all the embedded support for FREE! * src/ptp.c: dito. * src/ptp-pack.c: dito. 2009-05-06 Linus Walleij <triad@df.lth.se> * src/ptp.h: sync to upstream. * src/ptp.c: dito. * src/ptp-pack.c: dito. 2009-05-06 Linus Walleij <triad@df.lth.se> A host of Windows fixes from Carlo Bramini <carlo_bramini@users.sourcefore.net> With this patch everything works fine with cygwin and Debian 5.0. Unfortunately, with MSys the "make install" still fails at the very last actions. It happens that everything is re-linked (strange, but not a big problem) and for some unknown reason it loops forever when executing "examples/hotplug > libmtp.usermap". But hopefully the simple "make" completes without errors. * configure.ac: * iconv is now detected with autotools, this makes libmtp linkable on cygwin too (previously it was not). * the presence of Microsoft LIB.EXE is checked; if it is absent then the MSVC libraries won't be generated. * Added checking for some include files not available on Windows: arpa/inet.h, byteswap.h, sys/uio.h. * Check for presence of mkstemp: a replacement has been written for Windows. * examples/Makefile.am: the creation of the links failed: I added source path and $(EXEEXT) extension for executables. This is tested and working with Mingw+MSys, Cygwin, Debian 5.0. * examples/albumart.c: include sys/uio.h only if it's available. * examples/trexist.c: u_int32_t does not exists, into almost all other parts libmtp is using uint32_t so I fixed it in that manner. (Same for u_int64_t/uint64_t). * examples/getfile.c: dito. * examples/pathutils.c: dito, plus rindex() does not exist under Windows, we must user strrchr() instead. * examples/pathutils.h: fixes for prototypes changes made into examples/pathutils.c * examples/thumb.c: include sys/uio.h only if it's available. * src/Makefile.am: * Several fixes because the check on the presence of LIB.EXE libmtp.sym is now prefixed by $(srcdir), this allows to configure libmtp outside the source tree in Windows too. * Libraries are put into LIBADD instead of LDFLAGS, this is the right place. * Previously the linker crashed because there was -ws2_32 instead of -lws2_32. * src/playlist-spl.c: * include sys/uio.h only if it's available. * include replacement for mkstemp() function. 2009-05-03 Richard Low <richard@wentnet.com> * src/libmtp.c: add external property types just like file types so any property can be retrieved/set. Add function LIBMTP_Is_Property_Supported to determine if a property is supported for a given object type. Add function LIBMTP_Get_Allowed_Property_Values to get alowed range/enum of a property value. Make LIBMTP_Get_Representative_Sample_Format get the size parameter to allow us to determine the maximum size for a representative sample. * src/libmtp.h.in: ditto * src/libusb-glue.c: update to check the handler function return value so the handler can return PTP_ERROR_CANCEL to cancel the transfer. 2009-05-02 Richard Low <richard@wentnet.com> * src/ptp-pack.c: add a NULL check 2009-04-18 Richard Low <richard@wentnet.com> * src/ptp-pack.c: add terminating NULL character 2009-04-11 Richard Low <richard@wentnet.com> * src/libusb-glue.c: Make get_playlist_extension return type const char * * src/libusb-glue.h: ditto * src/libusb-glue.c: In probe_device_descriptor, check to see if dev->config is NULL before going round the first loop * src/libmtp.c: Add 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. Add modificationdate to file and track structs. Add LIBMTP_FILETYPE_ALBUM and LIBMTP_FILETYPE_PLAYLIST filetypes. 2009-03-17 Linus Walleij <triad@df.lth.se> * src/device-flags.h: discovered a new device that cannot even read out battery level but still claims to be able to. Sigh. * src/libusb-glue.h: flag macro. * src/music-players.h: flag the Slacker. * src/libmtp.c: avoid battery level getting on these devices. * configure.ac: preparing for 0.3.7. * src/Makefile.am: preparing for 0.3.7 (libmtp.so.8.2.2) * Release libmtp 0.3.7. 2009-03-08 Linus Walleij <triad@df.lth.se> * src/libmtp.c: refactored OGG extenstion check again, same code in three places, broke it out and made it foolproof (hopefully) in one single spot. 2009-03-04 Linus Walleij <triad@df.lth.se> * src/libusb-glue.c: patch from Marcus to fix an issue with retransmit originally reported by Florent Pillet. 2009-02-21 Linus Walleij <triad@df.lth.se> * src/libmtp.c: some additional NULL checks from Florent Pillet. 2009-02-18 Linus Walleij <triad@df.lth.se> * src/libmtp.c: 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. 2009-01-30 Linus Walleij <triad@df.lth.se> * src/libmtp.c: store albums and playlists in the default music folder if no default folder for albums resp. playlists has been detected. 2009-01-22 Linus Walleij <triad@df.lth.se> * configure.ac: bump to 0.3.6 and release. * src/Makefile.am: interface bump to libmtp.so.8.2.1 2009-01-16 Linus Walleij <triad@df.lth.se> * src/ptp.c: sync to upstream. * src/ptp.h: dito. 2009-01-15 Linus Walleij <triad@df.lth.se> * src/libmtp.c: include fixes from Yuri Pankov for *BSD. * src/playlist-spl.c: dito. * examples/*.c: (more or less) dito. 2009-01-14 Linus Walleij <triad@df.lth.se> * src/device-flags.h: new device flag for broken SendObjectPropList, as found broken in MEU202 * src/music-players.h: use the new flag. * src/libmtp.c: implement this device flag. * src/libusb-glue.h: dito. 2009-01-10 Linus Walleij <triad@df.lth.se> * src/libmtp.h.in: mingw32 fixes from James Ravenscroft. * src/libmtp.c: dito. Replaced "rindex" with "strrchr" * src/Makefile.am: dito. * examples/albumart.c: dito. 2009-01-06 Linus Walleij <triad@df.lth.se> * src/Makefile.am: patch from Rafael Laboissiere removing a build artifact in distclean. 2009-01-02 Linus Walleij <triad@df.lth.se> * examples/connect.c: usage patch from Riley Patterson. * examples/sendtr.c: dito. Plus only try to add track to an album if and only if an album name was given. * examples/newfolder.c: real bad bug fixed, didn't even work due to bad args check. * examples/sendfile.c: another bad bug... * examples/common.h: include <config.h> not "config.h" * src/unicode.h: no reason for this to include config.h! 2008-12-21 Linus Walleij <triad@df.lth.se> * Release libmtp 0.3.5. 2008-12-15 Nathan Bullock <nathanbullock@gmail.com> * src/libmtp.c: get folders to a flat list and we get O(n) searching instead of the previous O(n^2) algorithm! 2008-12-13 Linus Walleij <triad@df.lth.se> * examples/detect.c: make mtp-detect dump out default-capabilities.xml if such a file exists on the device. * m4/stdint.m4: update to newer macro from libgphoto2. * m4/byteorder.m4: update to newer macro from libgphoto2. We find these here: http://gphoto.svn.sourceforge.net/viewvc/gphoto/trunk/m4/ * configure.ac: fix the renamed _stdint.h too. * Doxyfile.in: some config option got obsolete. * libmtp.c: start to use PTP error redirection to the libmtp error stack. This also makes it possible to stop the annoying debug prints. * libusb-glue.c: dito. * ptp.c: sync to upstream. * ptp.h: sync to upstream. 2008-12-02 Linus Walleij <triad@df.lth.se> * examples/util.c: another NULL check. 2008-11-25 Linus Walleij <triad@df.lth.se> * src/libmtp.c: fix a bug on handling folder children with an illegal ID of 0. Occured in the ZEN Xi-Fi in the "Recordings" folder, when that is created on the device. 2008-11-17 Alistair Boyle <alistair.js.boyle@gmail.com> * configure.ac: change release to 0.3.5. * libmtp.c: change metadata const*const to *const to allow playlist_id to be modified by LIBMTP_Update_Playlist. (Samsung playlists) * libmtp.h.in: match libmtp.c 2008-11-11 Linus Walleij <triad@df.lth.se> * src/libmtp.c: allow for playlists with zero tracks on them, also in update. 2008-11-09 Linus Walleij <triad@df.lth.se> * src/ptp.h: sync from upstream. * src/ptp.c: sync from upstream. * src/ptp-pack.c: sync from upstream. 2008-11-07 Linus Walleij <triad@df.lth.se> * Release libmtp 0.3.4. * configure.ac: let's release 0.3.4. * src/Makefile.am: compatible API and ABI. 2008-11-05 Linus Walleij <triad@df.lth.se> * src/libmtp.c: fix the association type problem on LIBMTP_Create_Folder(). This causes folders not to work properly on some devices!! 2008-11-01 Linus Walleij <triad@df.lth.se> * src/ptp.h: sync to upstream. * src/ptp.c: sync to upstream. * src/ptp-pack.c: introduce Richards bugfix on top of upstream and take advantage of the ptp_debug() function. * src/libusb-glue.c: make ptp_debug() non-static since ptp-pack.c needs it. 2008-10-21 Linus Walleij <triad@df.lth.se> * src/device-flags.h: actually the SanDisks cannot handle PTP_OPC_DateModified at ALL, not even as part of the initial update so rename the flag to something sensible. * src/music-players.h: consequental changes. * src/libmtp.c: disable all use of PTP_OPC_DateModified if flag is set, not just updates. 2008-10-16 Linus Walleij <triad@df.lth.se> * src/device-flags.h: new flag for broken updates of PTP_OPC_DateModified. * src/music-players.h: tag all SanDisk devices with this flag. Bug appeared in them. * libmtp.c: avoid updating PTP_OPC_DateModified on broken devices. 2008-09-28 Alvin <alvinbeach@gmail.com> * src/libmtp.c: fix several bugs in Ogg filetype support. 2008-09-26 Richard Low <richard@wentnet.com> * src/libmtp.c: check propdesc before setting props in create_new_abstract_list() 2008-09-25 Linus Walleij <triad@df.lth.se> * configure.ac: bump to 0.3.3. * src/Makefile.am: interface to .so.8.1.0 * Release as 0.3.3. 2008-09-24 Linus Walleij <triad@df.lth.se> * src/libmtp.h.in: add new filename setting functions, patch from Florent Mertens <flomertens@gmail.com>. * src/libmtp.c: implementation. * src/playlist-spl.c: consequental changes. * src/libmtp.sym: consequental changes. * Fixup patch from Alvin later this day. * Note to self: remember to bump soname to .so.8.1.0. 2008-09-23 Richard Low <richard@wentnet.com> * src/libmtp.c: check for NULL storage * src/libusb-glue.c: return PTP_RC_OK on zero read * src/music-players.h: give Samsung YP-10 DEVICE_FLAG_NO_ZERO_READS 2008-09-22 Linus Walleij <triad@df.lth.se> * src/libmtp.c: make sure we don't try to fit a new file onto a ROM storage. Add some pretty-print to FourCC codecs so you can actually understand the enumerations. 2008-09-20 Joe Nahmias <joe@nahmias.net> * examples/sendtr.c: added option to specify which storage_id the track should be copied. 2008-09-20 Linus Walleij <triad@df.lth.se> * configure.ac: bump to 0.3.2. * src/Makefile.am: bump to libmtp.so.8.0.2, compatible interface. * Release this as 0.3.2 mainly to get the Creative fixes out. 2008-09-17 Linus Walleij <triad@df.lth.se> * src/libmtp.h.in: new helper macros from Alvin <alvinbeach@gmail.com> plus some docs. 2008-09-12 Linus Walleij <triad@df.lth.se> * src/music-players.h: drop bug flags off the Creative devices. I am confident that the bugs they were masking have been fixed now. 2008-09-07 Richard Low <richard@wentnet.com> * src/music-players.h: added Panasonic P905i 2008-09-05 Marcus Meissner <meissner@suse.de> * src/libmtp.sym: update symbol export table. * src/Makefile.am: fix up some magic for symbol export. 2008-09-04 Linus Walleij <triad@df.lth.se> * src/libmtp.c: look up the filename for playlists if the name is missing or not properly set. Not doing the same for albums - these must have proper metadata. * src/music-players.h: more players as usual. * examples/sendtr.c: more warnings. 2008-08-31 Linus Walleij <triad@df.lth.se> * src/ptp.h: sync to upstream. * src/ptp.c: sync to upstream. 2008-08-30 Chris Bagwell <chris@cnpbagwell.com> * src/libusb-glue.c: make it possible to have per-command or otherwise altered timeout values for different PTP request/response sequences. * src/libusb-glue.h: dito. * src/libmtp.c: increase USB timeout to 30s when getting a complete track listing off the device. * src/music-players.h: as a consequence, the Sirus Stiletto no longer needs any brokenness flag. 2008-08-30 Linus Walleij <triad@df.lth.se> * src/ptp.c: sync to upstream. 2008-08-28 Linus Walleij <triad@df.lth.se> * examples/sendtr.c: fix non-strdup():ed strings to be copied, patch courtesy of Juanan Pereira.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 6 23:24:08 2008 UTC (15 years ago) by wiz
Branch: TNF
CVS Tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-20080906,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Initial import of libmtp-0.3.1, based on pkgsrc-wip package originally by neimal, with work by netcap, hoka_adam, bsadewitz and me. libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems. We implement MTP Basic, the stuff proposed for standardization. It is used by: * XNJB * Gnomad2 * MTPdude * AmaroK
Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 6 23:24:08 2008 UTC (15 years ago) by wiz
Branch: MAIN
Initial revision