Package: gpxviewer
Version: 0.5.2-1
Severity: important
Tags: patch
Dear Maintainer,
It looks like gpxviewer uses a couple of libraries which the package
doesn't declare a dependency upon. This can lead to crashes when the
libraries aren't installed. For instance:
$ gpxviewer
Traceback (most recent call last):
File "/usr/bin/gpxviewer", line 28, in <module>
from gi.repository import Gdk
ImportError: No module named gi.repository
I found that gpxviewer crashes or has other issues if any of the
following packages are missing:
python-cairo, python-gi, python-gtk2
With these three installed, it seems to work as expected.
Please see the attached patch which adds these as dependencies.
For more information, see the original bug report in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/gpxviewer/+bug/1654976
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gpxviewer depends on:
ii gir1.2-freedesktop 1.50.0-1
ii gir1.2-glib-2.0 1.50.0-1
ii gir1.2-gtk-3.0 3.22.7-2
ii gir1.2-osmgpsmap-1.0 1.1.0-1
ii gir1.2-pango-1.0 1.40.3-3
ii librsvg2-common 2.40.16-1
ii python 2.7.13-2
pn python:any <none>
gpxviewer recommends no packages.
gpxviewer suggests no packages.
-- no debconf information
--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
Index: debian/control
===================================================================
--- debian/control (revision 13909)
+++ debian/control (working copy)
@@ -13,6 +13,7 @@
Architecture: all
Depends: ${python:Depends}, gir1.2-osmgpsmap-1.0, gir1.2-glib-2.0,
gir1.2-freedesktop, gir1.2-gtk-3.0, gir1.2-pango-1.0, librsvg2-common,
+ python-cairo, python-gi, python-gtk2
${misc:Depends}
Description: views GPS traces collected in the GPX format
This application allows the user to load a GPS trace, in the GPX file format,