After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 352405 - Documentation figures are installed multiple times
Documentation figures are installed multiple times
Status: RESOLVED DUPLICATE of bug 557227
Product: gnome-doc-utils
Classification: Deprecated
Component: build utils
0.5.x
Other All
: Normal normal
: ---
Assigned To: gnome-doc-utils maintainers
gnome-doc-utils maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-22 14:41 UTC by Stefan Brüns
Modified: 2008-11-17 21:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch for gnome-doc-utils (1.27 KB, patch)
2006-08-22 14:46 UTC, Stefan Brüns
none Details | Review

Description Stefan Brüns 2006-08-22 14:41:02 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:
Comment 1 Stefan Brüns 2006-08-22 14:46:29 UTC
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
Comment 2 Shaun McCance 2006-08-22 16:13:46 UTC
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.

Comment 3 Claude Paroz 2008-11-17 21:26:57 UTC
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 ***