Media symlinks are absolute which makes installed files not relocatable
@robert.ancell
Submitted by Robert Ancell Link to original bug (#767630)
Description
If a media file (e.g. a screenshot) is not translatated it has a symlink pointing to the untranslated version. These symlinks are absolute which means the installed files are not relocatable (e.g. if using a packaging system that has each app in its own directory).
Attached patch uses relative symlinks instead, e.g.
$ ls install/share/help/id/ghex/figures/ -l lrwxrwxrwx 1 bob bob 74 Jun 14 15:01 ghex_window_empty.png -> /home/bob/git/ghex/install/share/help/C/ghex/figures/ghex_window_empty.png
becomes:
$ ls install/share/help/id/ghex/figures/ -l lrwxrwxrwx 1 bob bob 45 Jun 14 15:08 ghex_window_empty.png -> ../../../C/ghex/figures/ghex_window_empty.png
Version: git master