Hello. libptp2 was released in early 2016. Current version in tree is from 2007.
And the current version is broken and does not work at all. The problem is that the current version assumes the layout of usb_dev_handle structure but since older libusb API is covered by libusb-compat library the layout of the structure is completely different and the libptp2 passes random garbage instead of fd to the ioctl() calls. In short it fails to connect to the device. The version from 2016 has been fixed and no longer assumes the layout of the structure and works fine.
So, to sum up, current version in tree is from 2007, it is broken and there is no maintainer. I checked, and there are no revdeps in tree. Maybe, unless someone wants to finally take care of the package, this should be last-rited.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e76695300596e33492a24a7401455f8c946494 commit b5e76695300596e33492a24a7401455f8c946494 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-12-11 13:54:25 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-12-11 13:54:25 +0000 media-libs/libptp2: Remove last-rited pkg Closes: https://bugs.gentoo.org/622722 Signed-off-by: Michał Górny <mgorny@gentoo.org> media-libs/libptp2/Manifest | 1 - .../libptp2/files/libptp2-1.1.10-configure.patch | 46 ---------------------- .../libptp2/files/libptp2-1.1.10-makefile.patch | 11 ------ media-libs/libptp2/libptp2-1.1.10.ebuild | 31 --------------- media-libs/libptp2/metadata.xml | 8 ---- profiles/package.mask | 5 --- 6 files changed, 102 deletions(-)