Accepting request 136090 from home:jsmeix:branches:Printing
fixed bnc#778879 OBS-URL: https://build.opensuse.org/request/show/136090 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript-fonts?expand=0&rev=6
This commit is contained in:
parent
d4d224a6bd
commit
1670f10fc3
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 26 10:09:22 CEST 2012 - jsmeix@suse.de
|
||||
|
||||
- Provide a link /usr/share/fonts/ghostscript which points to
|
||||
/usr/share/ghostscript/fonts (the directory where Ghostscript
|
||||
expects its fonts) to make the Ghostscript fonts also appear
|
||||
in the directory /usr/share/fonts/ where applications
|
||||
search for fonts (bnc#778879).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 25 14:58:06 CEST 2012 - jsmeix@suse.de
|
||||
|
||||
|
@ -129,7 +129,9 @@ the documentation on Hershey fonts.
|
||||
# There is nothing to "make" as the sources contain plain font files.
|
||||
|
||||
%install
|
||||
# Install the fonts into the /usr/share/ghostscript/fonts/ directory,
|
||||
# Install the fonts into the /usr/share/ghostscript/fonts/ directory
|
||||
# which is the Ghostscript upstream standard directory where
|
||||
# Ghostscript looks first and foremost for its fonts
|
||||
# see section "3.1 Fonts" in doc/Install.htm in the Ghostscript sources:
|
||||
FONT_INSTALL_DIR=%{buildroot}%{_datadir}/ghostscript/fonts
|
||||
install -d -m755 $FONT_INSTALL_DIR
|
||||
@ -150,6 +152,11 @@ do t1binary $PFA > ${PFA%%.*}.pfb
|
||||
rm -vf $PFA
|
||||
done
|
||||
popd
|
||||
# Provide a link to make the Ghostscript fonts also appear in the directory
|
||||
# /usr/share/fonts/ where applications (including X11) search for fonts.
|
||||
# A usr/share/fonts/ sub-directory does not exist in the buildroot:
|
||||
install -d -m 755 %{buildroot}%{_datadir}/fonts
|
||||
ln -s ../ghostscript/fonts %{buildroot}%{_datadir}/fonts/ghostscript
|
||||
|
||||
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
|
||||
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||
@ -240,6 +247,7 @@ exit 0
|
||||
%files std
|
||||
%defattr(0644,root,root,0755)
|
||||
%verify(not md5 size mtime) %{_datadir}/ghostscript/fonts/fonts.*
|
||||
%{_datadir}/fonts/ghostscript
|
||||
%dir %{_datadir}/ghostscript
|
||||
%dir %{_datadir}/ghostscript/fonts
|
||||
%{_datadir}/ghostscript/fonts/fonts.dir
|
||||
|
Loading…
Reference in New Issue
Block a user