Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58777

Summary: libgphoto2 usb support should be optional
Product: Gentoo Linux Reporter: Anakim Border <akborder>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libgphoto2-2.1.4.ebuild patch adding usb useflag

Description Anakim Border 2004-07-29 05:46:10 UTC
libgphoto2 ebuild depends on three usb packages:
  dev-libs/libusb
  sys-apps/usbutils
  sys-apps/hotplug

Neither of them is actually required on non-usb systems; those dependencies should therfore be controlled by an use-flag (usb?).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Anakim Border 2004-07-29 05:47:09 UTC
Created attachment 36396 [details, diff]
libgphoto2-2.1.4.ebuild patch adding usb useflag
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-08-04 16:11:58 UTC
the patch is fine (except it's reversed :)

however, i'm relucant to add this because most cameras have USB interfaces and secondly, because usb isn't in the default use flags, it will be turned off by default. that is not a good default to have, i'd rather have a nousb USE flag instead.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2005-01-13 07:39:00 UTC
fixed in 2.1.5