Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500024 - media-gfx/iscan-2.29.1.5 should depend on libusb-1.0
Summary: media-gfx/iscan-2.29.1.5 should depend on libusb-1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Schultz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 498524
  Show dependency tree
 
Reported: 2014-02-01 22:48 UTC by W. Trevor King
Modified: 2015-07-15 19:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description W. Trevor King 2014-02-01 22:48:35 UTC
Since 2.29, iscan has supported libusb-1.0.  Here's the NEWS entry from the tarball:

  ----------------------------------------------------------------------
  iscan-2.29.0                                              (2012-03-05)
  ----------------------------------------------------------------------
   * not publicly released
   * changed contact information following change of distribution channel
   * added build-time support for libusb-1.0
   * updated the sanei_*.[ch] files to sane-backends-1.0.22

However, the iscan ebuild still RDEPENDS on virtual/libusb:0.  It doesn't look like there's a configure flag analagous to sane-backends' --enable-libusb_1_0, so without patching you probably can't restrict it to libusb:0 if you have libusb:1 installed.  I think it's best to just bump the RDEPEND to libusb:1.

Reproducible: Always

Steps to Reproduce:
$ equery depgraph =media-gfx/iscan-2.29.1.5

Actual Results:  
…
 * dependency graph for media-gfx/iscan-2.29.1.5
 `--  media-gfx/iscan-2.29.1.5  [~amd64 keyword]
   …
   `--  virtual/libusb-0-r1  (virtual/libusb) amd64
…


Expected Results:  
Expect it to pull in virtual/libusb:1.

  $ tar xvf /usr/portage/distfiles/iscan_2.29.1-5.tar.gz
  $ cd iscan-2.29.1
  $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-static --enable-dependency-reduction --enable-frontend --disable-gimp --enable-jpeg --enable-png --enable-tiff
  $ grep LIBUSB config.h
  /* #undef HAVE_LIBUSB */
  #define HAVE_LIBUSB_1_0 1
Comment 1 Adam Feldman gentoo-dev 2015-07-15 19:04:32 UTC
Resolved in the version bump in bug 498524.