Package: librtlsdr-dev
Version: 0.5.3-3
Severity: normal

Hi.

Current librtlsdr-dev package is not sufficient to use the library.

RTL-SDR has internal dependency on libusb-1.0.
That dependency is exposed during static linking or when shipped
librtlsdr.pc is used, so libusb-1.0-0-dev
should appear in librtlsdr-dev dependency list.

Also, librtlsdr.pc should declare -lusb-1.0 in Libs.private section
to exclude usb library from dynamic linking.
References to libusb headers are not needed in Cflags, since these headers
are not used by external rtlsdr API, but this is optional.

Current pkg-config output:
$ pkg-config --cflags librtlsdr
-I/usr/include/ -I/usr/include/libusb-1.0
$ pkg-config --libs librtlsdr
-lrtlsdr -lusb-1.0
$ pkg-config --static --libs librtlsdr
-lrtlsdr -lusb-1.0

Expected pkg-config output:
$ pkg-config --cflags librtlsdr
-I/usr/include/
$ pkg-config --libs librtlsdr
-lrtlsdr
$ pkg-config --static --libs librtlsdr
-lrtlsdr -lusb-1.0

-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (193, 'testing'), (192, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages librtlsdr-dev depends on:
ii  librtlsdr0         0.5.3-3
ii  multiarch-support  2.19-18

librtlsdr-dev recommends no packages.

librtlsdr-dev suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to