Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548418 - ebuild-writing/functions/diagram.png is truncated
Summary: ebuild-writing/functions/diagram.png is truncated
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Devmanual Team
URL: https://devmanual.gentoo.org//ebuild-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-02 18:54 UTC by Ulrich Müller
Modified: 2015-09-12 10:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2015-05-02 18:54:19 UTC
The picture at https://devmanual.gentoo.org/ebuild-writing/functions/diagram.png is cut off on the left and right sides, so the "pkg_setup" and "pkg_postinst" boxes are missing.

The corresponding diagram.svg in the git repo is o.k., so I guess something with the conversion to png went wrong.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-09-07 10:31:29 UTC
The SVG viewport doesn't look right.

Fix:
--- diagram.svg	2012-10-17 19:40:50.000000000 +0000
+++ diagram-fixed.svg	2015-09-07 09:52:13.063560667 +0000
@@ -6,7 +6,7 @@
    version="1.0"
    width="1100"
    height="80"
-   viewBox="0 100 830 80"
+   viewBox="-130 100 1100 80"
    id="svg2503">
   <defs
      id="defs2577" />
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2015-09-12 10:58:56 UTC
The fix works for me so I have committed it. Thanks