Bug 233966
Summary: | Support for reading read-only configuration files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Akira TAGOH <tagoh> |
Component: | ghostscript | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | eng-i18n-bugs |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 8.15.4-3.fc7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-04-17 10:13:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150225 | ||
Attachments: |
Description
Akira TAGOH
2007-03-26 12:19:25 UTC
I mean /etc/ghostscript would be used as the place put the user configuration and create new place to put the files which the packages, such as fonts-{japanese,korean,chinese} has. Created attachment 150891 [details]
proposed patch for ghostscript.spec
The reason to put the user configuration files under the versioned directory is
to prevent the breakage for incompatible changes in the configuration since it
may be hard to solve such files but we could fix the configuration files from
the font packages with rebuilding them. and still adding /etc/ghostscript to
the font path is to keep the compatibility. %{_datadir}/%{name}/conf.d would be
used to put the files for the font packages.
This hunk did not apply cleanly: @ -110,7 +110,9 @@ %{_datadir}/fonts/default/amspsfnt/pfb \ %{_datadir}/fonts/default/cmpsfont/pfb \ %{_datadir}/fonts/japanese \ - %{_sysconfdir}/%{name} + %{_datadir}/%{name}/conf.d \ + %{_sysconfdir}/%{name} \ + %{_sysconfdir}/%{name}/%{gs_dot_ver} do FONTPATH="$FONTPATH${FONTPATH:+:}$path" done ..because %{_datadir}/fonts/japanese is not in that list in CVS. Is that part of a different change? Oh, never mind, I was looking at a CVS file with a sticky tag.. Sorry for reopening. but need to append the kind of (cidfmap.local) .runlibfileifexists in cidfmap say. and as well as in CIDFnmap, FAPIfontmap and Fontmap. Could you provide a patch please? I'm not sure I understand enough about it to get it right.. Created attachment 152763 [details]
new file (CIDFnmap) to be installed under /usr/share/ghostscript/8.15/lib/
Created attachment 152764 [details]
updated FAPIcidfnmap
Created attachment 152765 [details]
an replacement of Fontmap that gs has by default.
Created attachment 152766 [details]
updated cidfmap
Thanks! Should be all done in ghostscript-8.15.4-3.fc7. |