Missing libqt4-svg package dependency for texstudio

Bug #1332508 reported by Steve Markgraf
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
texstudio (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Some SVG-icons in the toolbar aren't displayed if libqt4-svg is not already installed in Trusty. Thus, libqt4-svg should be added as an dependency for the texstudio package.

Tom Jampen (jampen)
Changed in texstudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Tom Jampen (jampen) wrote :

libqt4-svg is indeed not added automatically to texstudio's dependencies in ubuntu. That seems strange to me because in Debian the dependecy on libqt4-svg is automatically detected and added.

I've contacted the maintainers of the qt4-x11 package (https://lists.ubuntu.com/archives/kubuntu-devel/2014-June/008537.html) but I haven't got an answer yet.

It doesn't feel right to just add the dependency manually, the problem might affect other packages as well.

Cheers,
Tom

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

> libqt4-svg is indeed not added automatically to texstudio's dependencies in ubuntu. That seems strange to me because in Debian the dependecy on libqt4-svg is automatically detected and added.

The reason is that Ubuntu uses --as-needed linking by default, while Debian is not. The Debian build log has:

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

> It doesn't feel right to just add the dependency manually, the problem might affect other packages as well.

TexStudio is not using Qt SVG library directly (i.e. it is not linked against it), however that library is needed if the user has SVG-only icon theme. That is true for any Qt application, not just TexStudio. Thus, you don't need Depends (because package will work without it on PNG icon themes), but you can add Recommends or Suggests.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package texstudio - 2.8.0+debian-2

---------------
texstudio (2.8.0+debian-2) unstable; urgency=medium

  * Fixing wrong date in changelog.
  * Enabling --as-needed linking.
  * Adding dependency on libqt4-svg as texstudio heavily uses svg icons (LP:
    #1332508).
  * Fixing capitalization error in package description.
  * Simplifying install files by removing unneeded destination directories.

 -- Tom Jampen <email address hidden> Wed, 30 Jul 2014 06:29:41 +0200

Changed in texstudio (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.