Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180996 - app-text/ghostscript-gnu: font search path not correctly set
Summary: app-text/ghostscript-gnu: font search path not correctly set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 19:57 UTC by Tim Yamin
Modified: 2007-06-05 20:06 UTC (History)
1 user (show)

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


Attachments
Patch (fix-ghostscript-search-path.patch,472 bytes, patch)
2007-06-05 19:57 UTC, Tim Yamin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Yamin 2007-06-05 19:57:21 UTC
There is a bug in the sed call in the ebuild, it does not modify the correct Makefile and so Ghostscript is built with the wrong font search path: /usr/share/ghostscript/fonts instead of /usr/share/fonts/default/ghostscript. So documents without embedded fonts fail processing.

It should be noted that initially Makefile.in is symlinked to src/Makefile.in. However, the behaviour of sed if --follow-symlinks is not specified is to break the link when -i is also used.

Attached patch resolves this issue. This probably affects ghostscript-gpl too but I have not confirmed this.
Comment 1 Tim Yamin 2007-06-05 19:57:35 UTC
Created attachment 121270 [details, diff]
Patch
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-06-05 20:06:25 UTC
thank you, fixed