Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622722 - media-libs/libptp2: removal (was: 1.2.0: version bump)
Summary: media-libs/libptp2: removal (was: 1.2.0: version bump)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: No maintainer - Look at if you want to take care of it
Whiteboard: Pending removal: 2018-12-11
Keywords: PMASKED
Depends on:
Reported: 2017-06-26 06:25 UTC by Coacher
Modified: 2018-12-11 13:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2017-06-26 06:25:26 UTC

libptp2 was released in early 2016. Current version in tree is from 2007.
Comment 1 Cyril Hrubis 2018-10-01 19:47:54 UTC
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.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-10-03 15:20:33 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2018-12-11 13:55:47 UTC
The bug has been closed via the following commit(s):

commit b5e76695300596e33492a24a7401455f8c946494
Author:     Michał Górny <>
AuthorDate: 2018-12-11 13:54:25 +0000
Commit:     Michał Górny <>
CommitDate: 2018-12-11 13:54:25 +0000

    media-libs/libptp2: Remove last-rited pkg
    Signed-off-by: Michał Górny <>

 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(-)