The difference between Debian and Ubuntu here is that Ubuntu uses -Wl
,--as-needed linker flag [1].

The Debian build log [2] contains this line:

dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/gqrx-sdr/usr/bin/gqrx was not linked against libQt5Svg.so.5 (it
uses none of the library's symbols)

It means that the build system links the binary with libQt5Svg.so.5, but
the dependency is not actually used. Because Ubuntu uses -Wl,--as-
needed, that library is not linked, and so the dependency does not get
added.

If the application uses SVG icons, it should add the dependency on
libqt5svg5 explicitly. I will also add that libqt5gui5 recommends
libqt5svg5, so this package will usually be installed. We cannot make it
a hard dependency because that will introduce a circular dependency.

So this is not a bug in qtsvg-opensource-src.

[1] https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wl.2C--as-needed
[2] 
https://buildd.debian.org/status/fetch.php?pkg=gqrx-sdr&arch=amd64&ver=2.6-1%2Bb1&stamp=1480595463

** Changed in: qtsvg-opensource-src (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtsvg-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1652531

Title:
  gnuradio gqrx-sdr missing qt 5 svg dependency

Status in gqrx-sdr package in Ubuntu:
  New
Status in qtsvg-opensource-src package in Ubuntu:
  Invalid

Bug description:
  gnuradio gqrx-sdr is using SVG icons in toolbar but is not listing qt
  5 svg as a dependency. Therefore, these icons appear broken.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gqrx-sdr/+bug/1652531/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to