2 |
|
|
3 |
%define gsversion 9.04 |
%define gsversion 9.04 |
4 |
%define gsextraversion %{nil} |
%define gsextraversion %{nil} |
5 |
%define gsreleaseno 2 |
%define gsreleaseno 3 |
6 |
%define gsrelease %mkrel %gsreleaseno |
%define gsrelease %mkrel %gsreleaseno |
7 |
%define gssvnrevision -rev183 |
%define gssvnrevision -rev183 |
8 |
%define ijsver 0.35 |
%define ijsver 0.35 |
109 |
Patch102: ghostscript-scripts.patch |
Patch102: ghostscript-scripts.patch |
110 |
Patch105: ghostscript-runlibfileifexists.patch |
Patch105: ghostscript-runlibfileifexists.patch |
111 |
Patch107: ghostscript-pksmraw.patch |
Patch107: ghostscript-pksmraw.patch |
112 |
|
Patch108: ghostscript-cups-rgbw.patch |
113 |
|
Patch109: ghostscript-pxl-landscape.patch |
114 |
|
Patch110: ghostscript-glyph-crash.patch |
115 |
|
|
116 |
|
|
117 |
##### LIBIJS PATCHES |
##### LIBIJS PATCHES |
118 |
|
|
324 |
# Fix pksmraw output (RH bug #308211). Still needed in 8.63. |
# Fix pksmraw output (RH bug #308211). Still needed in 8.63. |
325 |
%patch107 -p1 -b .pksmraw |
%patch107 -p1 -b .pksmraw |
326 |
|
|
327 |
|
# Applied upstream fix for gdevcups handling of RGBW (Ghostscript |
328 |
|
# bug #691922). |
329 |
|
%patch108 -p1 -b .cups-rgbw |
330 |
|
|
331 |
|
# pxl: match landscape page sizes (fedora bug #692165). |
332 |
|
%patch109 -p1 -b .pxl-landscape |
333 |
|
|
334 |
|
# Applied upstream fix for skipping "cached" outline glyphs (fedora bug #742349). |
335 |
|
%patch110 -p1 -b .glyph-crash |
336 |
|
|
337 |
|
|
338 |
# Convert manual pages to UTF-8 |
# Convert manual pages to UTF-8 |
339 |
from8859_1() { |
from8859_1() { |
340 |
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_" |
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_" |