Bug#850771: include doc/keys.en.html in binary package

Trent W. Buck trentbuck at gmail.com
Tue Jan 10 00:54:36 UTC 2017


Package: inkscape
Version: 0.92.0-2
Severity: wishlist

The Inkscape "Help" menu needs internet access to work.
This is annoying for airgapped users.

IIRC most of the menu items link to non-DFSG content,
but one menu item is easy to fix: inkscape_help_keys.inx.
The inkscape source package contains the same content:

     -rw-r--r--       0/0          4250 inkscape-0.92.0/doc/keys.css

     -rw-r--r--       0/0        381998 inkscape-0.92.0/doc/keys.be.html
     -rw-r--r--       0/0        351116 inkscape-0.92.0/doc/keys.de.html
     -rw-r--r--       0/0        389980 inkscape-0.92.0/doc/keys.el.html
     -rw-r--r--       0/0        333383 inkscape-0.92.0/doc/keys.en.html
     -rw-r--r--       0/0        351169 inkscape-0.92.0/doc/keys.fr.html
     -rw-r--r--       0/0        356171 inkscape-0.92.0/doc/keys.ja.html
     -rw-r--r--       0/0        335584 inkscape-0.92.0/doc/keys.zh_TW.html

Please install these somewhere like
file:///usr/share/doc/inkscape/html/ or
file:///usr/share/inkscape/doc/html/,
and patch inkscape_help_keys.inx to point to them instead of
http://inkscape.org/doc/keys092.html.


UPDATE: one problem I hadn't considered is language detection.
I presume the HTTP version does this via Accept-Language[0].
The keys.*.html files don't link to one another,
so inkscape_help_keys.inx or launch_webbrowser.py might need to be
extended provide equivalent functionality based on $LANG?

[0] https://en.wikipedia.org/wiki/Content_negotiation


PS: the keys.*.html in inkscape are copied from the separate inkscape-docs package (not in Debian).
Packaging that might be a better approach, I dunno.
At a glance, everything in it appears to be synced into the normal inkscape source tarball:
http://bazaar.launchpad.net/~inkscape.dev/inkscape-docs/trunk/files/



More information about the pkg-multimedia-maintainers mailing list