GNOME Bugzilla – Bug 352405
Documentation figures are installed multiple times
Last modified: 2008-11-17 21:26:57 UTC
Please describe the problem: During make install, gnome-doc-utils.make creates a copy of the figure of the "C" language for every language when no figure for this language exists. This copy wastes space on the installation media/ftp servers as well as on the system harddisk. The help viewer should be able to show a figure of a different language depending on the locale settings, as it happens with the documentation itself. (Try for example pt_BR pt_PT C in this order). Figures may be missing for a reason, they may be translation invariant (logos, symbols), or the translator may decide the image of a different language suffices (no need for en_US en_GB en_AU ... screenshots). The behavior shown at the moment leads to severe duplication and may get worse when usage of gdu and available translations increases. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 71369 [details] [review] Proposed patch for gnome-doc-utils This patch changes gdu.make from making copies to symlinking. It may be better to do nothing instead of symlinking, given the help viewer is clever enough to find replacement figures itself. Symlinking will most probably not work on Windows
The help viewer is not clever enough, and it would be non-trivial to make it so. Furthermore, DocBook doesn't make any such specification (though its loose specifications don't exactly forbid it either), so that would make people's help files Yelp-specific, something I've tried very hard to avoid. I will take symlinking into consideration for 2.18.
Thanks for taking the time to report this bug. It seems that this issue has been fixed with resolution of #557227. *** This bug has been marked as a duplicate of 557227 ***