The NetBSD Project

CVS log for pkgsrc/devel/libmtp/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / libmtp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 9 12:08:28 2022 UTC (19 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, 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, HEAD
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

*: Remove hardcoded -liconv / -lintl on SunOS.

This is now handled centrally via OPSYS_EXPLICIT_LIBDEPS support in libiconv
and gettext-lib.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 13 10:20:12 2021 UTC (2 years, 4 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Thu Oct 29 12:55:19 2020 UTC (3 years, 4 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.20: +2 -3 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Fri Apr 3 20:15:19 2020 UTC (3 years, 11 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Tue Mar 24 16:58:05 2020 UTC (4 years ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

libmtp: Update to 1.1.17

Changelog appears to no longer be maintained

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 20 11:57:27 2020 UTC (4 years ago) by nia
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

*: Convert broken sourceforge HOMEPAGEs back to http

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 18 23:30:32 2020 UTC (4 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 21 09:52:42 2019 UTC (4 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.15: +10 -11 lines
Diff to previous 1.15 (colored)

libmtp: updated to 1.1.6

1.1.6:
Unknown changes

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 16 13:02:20 2018 UTC (5 years, 11 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.14: +2 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Sat Oct 21 12:26:55 2017 UTC (6 years, 5 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update to 1.1.14

Changelog:
Support more devices

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 16 13:50:06 2017 UTC (6 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.12: +2 -4 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sun Jan 22 12:41:22 2017 UTC (7 years, 2 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sat Apr 9 10:09:14 2016 UTC (7 years, 11 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.10: +5 -7 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sat May 2 10:43:29 2015 UTC (8 years, 10 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update to 1.1.9

Changelog:
* Add many device entries.
* Bugfixes.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 21 14:03:45 2014 UTC (9 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

Pull in devel/libusb on SunOS instead of the unsupported devel/libusb1, the
package detects which version is used at build time and handles both.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 8 09:52:01 2013 UTC (10 years, 11 months ago) by markd
Branch: MAIN
CVS Tags: 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.7: +2 -2 lines
Diff to previous 1.7 (colored)

Update to 1.1.6

Changes unknown other than support for more devices.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 31 11:17:18 2012 UTC (11 years, 4 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.6: +1 -3 lines
Diff to previous 1.6 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 14 21:00:46 2012 UTC (11 years, 7 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Update libmtp to version 1.1.3

Changes unknown other than now supports Samsung Galaxy phones.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 17 13:52:03 2012 UTC (12 years, 1 month ago) by hans
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

Remove CPPFLAGS.SunOS, no longer needed.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 21 15:06:04 2011 UTC (12 years, 11 months ago) by hans
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Fix build on SunOS.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 18 10:06:15 2010 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: 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.2: +2 -2 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Thu Nov 20 21:49:34 2008 UTC (15 years, 4 months ago) by drochner
Branch: MAIN
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
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

tell configure to ignore doxygen even if present, to avoid build
inconsistencies

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 6 23:24:08 2008 UTC (15 years, 6 months ago) by wiz
Branch: TNF
CVS Tags: 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, 6 months ago) by wiz
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>