libptp2 is a library used to communicate with PTP devices like still imaging cameras or MP3 players (KODAK mc3).
Created attachment 32628 [details] libptp2-1.0 new ebuild
sorry, i can't maintain this since i have no means of testing, please reassign to someone else. thanks bug-wranglers
is there a frontend availible somewhere that uses this lib? I don't see a reason to put a seldom-used lib into portage if there's no frontend that requires it in there either.
A frontend is already present in portage. It is gphoto2 that use this library.
liquidx interesting in making gphoto2 depend on this (somehow) For this to happen - archs ~ppc sparc ~amd64 ~ia64 ppc64 are needed on this one. Good news - this includes a src_test routine to do a self test and you don't need a camera. Removing sound@gentoo.org since pictures are normally silent.
Created attachment 37473 [details] camlibs/ptp2/Makefile.am liquidx - clarifying after further investingation. libptp2-1.0.1 provides a newer version of the ptp2 interface than that is compiled into libgphoto2. libptp2-1.0.1 provides more support to a wider range of camera. By rights the upstream should resync their libraries. libgphoto2 changes to use this library: The attached Makefile.am placed in the ptp2 direcory of libgphoto2 will link to libptp2. Just need to run automake before src_compile to make it work.
Created attachment 37474 [details, diff] library.c.patch Also needed
added ~ppc64 to KEYWORDS