1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Update to version 8.51

PR:		ports/80209
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2005-04-21 15:45:58 +00:00
parent 229e5a2ac7
commit 6a6d477ea0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133870
10 changed files with 21 additions and 100 deletions

View File

@ -1,5 +1,5 @@
# $FreeBSD$
GS_VERSION= 8.50
GS_VERSION= 8.51
GS_REVISION= 0
GS_EPOCH= 1

View File

@ -1,5 +1,5 @@
MD5 (ghostscript/ghostscript-8.50.tar.bz2) = bd49a30d7485ad382f69b49a06d045fd
SIZE (ghostscript/ghostscript-8.50.tar.bz2) = 8837036
MD5 (ghostscript/ghostscript-8.51.tar.bz2) = 8b328b47cce3b7f97f35296aae8e7b77
SIZE (ghostscript/ghostscript-8.51.tar.bz2) = 8377372
MD5 (ghostscript/gdevcd8.tar.gz) = 5ce48bff6082a023199c8ede4aae63a0
SIZE (ghostscript/gdevcd8.tar.gz) = 24803
MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27

View File

@ -1,6 +1,6 @@
--- lib/gs_init.ps.orig Fri Feb 1 12:25:45 2002
+++ lib/gs_init.ps Sat Feb 9 01:42:10 2002
@@ -1274,7 +1274,7 @@
--- lib/gs_init.ps.orig Sat Mar 5 07:02:23 2005
+++ lib/gs_init.ps Thu Apr 21 13:05:43 2005
@@ -1440,7 +1440,7 @@
% Set the default screen and BG/UCR.
/.setdefaultbgucr {
systemdict /setblackgeneration known {
@ -9,8 +9,8 @@
} if
} bind def
/.useloresscreen { % - .useloresscreen <bool>
@@ -1874,3 +1874,7 @@
userdict /AGM_preserve_spots false put
@@ -2241,3 +2241,7 @@
ifelse
% The interpreter will run the initial procedure (start).
+

View File

@ -1,15 +0,0 @@
--- src/gdevccr.c.orig Fri Feb 22 07:24:51 2002
+++ src/gdevccr.c Sun Nov 10 22:38:51 2002
@@ -112,8 +112,11 @@
/* ------ Color mapping routines ------ */
/* map an rgb color to a ccr cmy bitmap */
private gx_color_index
-ccr_map_rgb_color(gx_device *pdev, ushort r, ushort g, ushort b)
+ccr_map_rgb_color(gx_device *pdev, const ushort cv[])
{
+ ushort r = cv[0];
+ ushort g = cv[1];
+ ushort b = cv[2];
register int shift = gx_color_value_bits - 1;
r>>=shift;
g>>=shift;

View File

@ -1,18 +0,0 @@
--- src/gdevcp50.c.orig Fri Feb 22 07:24:51 2002
+++ src/gdevcp50.c Sun Nov 10 22:35:13 2002
@@ -204,9 +204,12 @@
/* Map a r-g-b color to a color index. */
private gx_color_index
-cp50_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g,
- gx_color_value b)
-{ return ((ulong)gx_color_value_to_byte(r) << 16)+
+cp50_rgb_color(gx_device *dev, const gx_color_value cv[])
+{
+ gx_color_value r = cv[0];
+ gx_color_value g = cv[1];
+ gx_color_value b = cv[2];
+ return ((ulong)gx_color_value_to_byte(r) << 16)+
((uint)gx_color_value_to_byte(g) << 8) +
gx_color_value_to_byte(b);
}

View File

@ -1,15 +0,0 @@
--- src/gdevifno.c.orig Sun Jun 16 14:48:55 2002
+++ src/gdevifno.c Sun Nov 10 22:49:32 2002
@@ -99,8 +99,10 @@
* rgb and color map entries
*/
private gx_color_index
-inferno_rgb2cmap(gx_device *dev, gx_color_value red,
- gx_color_value green, gx_color_value blue) {
+inferno_rgb2cmap(gx_device *dev, const gx_color_value cv[]) {
+ gx_color_value red = cv[0];
+ gx_color_value green = cv[1];
+ gx_color_value blue = cv[2];
int shift;
inferno_device *bdev = (inferno_device*) dev;
int nbits = bdev->nbits;

View File

@ -1,17 +0,0 @@
--- src/gdevmgr.c.orig Sun Jun 16 14:48:55 2002
+++ src/gdevmgr.c Sun Nov 10 22:52:19 2002
@@ -364,9 +364,11 @@
/* (1/6, 1/2, and 5/6), instead of the obvious 8x8x4. */
gx_color_index
-mgr_8bit_map_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g,
- gx_color_value b)
-{ uint rv = r / (gx_max_color_value / 7 + 1);
+mgr_8bit_map_rgb_color(gx_device *dev, const gx_color_value cv[])
+{ gx_color_value r = cv[0];
+ gx_color_value g = cv[1];
+ gx_color_value b = cv[2];
+ uint rv = r / (gx_max_color_value / 7 + 1);
uint gv = g / (gx_max_color_value / 7 + 1);
uint bv = b / (gx_max_color_value / 7 + 1);
return (gx_color_index)

View File

@ -1,25 +0,0 @@
--- src/zmedia2.c.orig Fri Apr 27 02:57:41 2001
+++ src/zmedia2.c Fri Nov 2 04:08:16 2001
@@ -429,11 +429,17 @@
rx = ry, ry = temp;
}
- /* Adjust the medium size if flexible. */
- if (medium->p.x < MIN_MEDIA_SIZE && mx > rx)
- mx = rx;
- if (medium->p.y < MIN_MEDIA_SIZE && my > ry)
- my = ry;
+ /* If 'medium' is flexible, adjust 'mx' and 'my' towards 'rx' and 'ry',
+ respectively. Note that 'mx' and 'my' have just acquired the largest
+ permissible value, medium->q. */
+ if (medium->p.x < mx) /* non-empty width range */
+ if (rx < medium->p.x) mx = medium->p.x; /* minimum */
+ else if (mx > rx) mx = rx; /* fits */
+ /* else use medium->q.x, i.e., the maximum */
+ if (medium->p.y < my) /* non-empty height range */
+ if (ry < medium->p.y) my = medium->p.y; /* minimum */
+ else if (my > ry) my = ry; /* fits */
+ /* else use medium->q.y, i.e., the maximum */
/* Translate to align the centers. */
gs_make_translation(mx / 2, my / 2, pmat);

View File

@ -1,5 +1,6 @@
@comment $FreeBSD$
bin/bdftops
bin/dumphint
bin/dvipdf
bin/eps2eps
bin/ert
@ -75,12 +76,14 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-H
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-V
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-V
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-3
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-B5pc
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-ETenms-B5
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-CID
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-Host
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-Mac
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-UCS2
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-4
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-GBK-EUC
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-GBpc-EUC
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-CID
@ -90,6 +93,7 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-0
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-1
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-2
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-4
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-90ms-RKSJ
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-90pv-RKSJ
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-CID
@ -98,6 +102,7 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-PS-H
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-PS-V
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-UCS2
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-2
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-CID
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-Host
%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-Mac
@ -228,7 +233,6 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/doc/Lib.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Maintain.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Make.htm
%%DATADIR%%/%%GS_VERSION%%/doc/New-user.htm
%%DATADIR%%/%%GS_VERSION%%/doc/News.htm
%%DATADIR%%/%%GS_VERSION%%/doc/PUBLIC
%%DATADIR%%/%%GS_VERSION%%/doc/Projects.htm
@ -241,7 +245,6 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/doc/Readme.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Release.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Source.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Tester.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Unix-lpr.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Use.htm
%%DATADIR%%/%%GS_VERSION%%/doc/Xfonts.htm
@ -303,6 +306,7 @@ bin/wftopfa
%%DATADIR%%/%%GS_VERSION%%/lib/dnj750c.upp
%%DATADIR%%/%%GS_VERSION%%/lib/dnj750m.upp
%%DATADIR%%/%%GS_VERSION%%/lib/docie.ps
%%DATADIR%%/%%GS_VERSION%%/lib/dumphint.ps
%%DATADIR%%/%%GS_VERSION%%/lib/errpage.ps
%%DATADIR%%/%%GS_VERSION%%/lib/font2c.ps
%%DATADIR%%/%%GS_VERSION%%/lib/font2pcl.ps

View File

@ -65,6 +65,7 @@ else
xcf xcfcmyk \
faxg3 faxg32d faxg4 \
miff24 inferno jpeg jpeggray \
mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 \
pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pdfwrite \
psdrgb psdcmyk \
bit bitrgb bitcmyk plan9bm pam pbm pbmraw \
@ -291,6 +292,12 @@ Have fun with this new configuration style ! -andreas \n\n\
"inferno" "Inferno bitmaps" "$status_inferno" \
"jpeg" "JPEG format, RGB output" "$status_jpeg" \
"jpeggray" "JPEG format, gray output" "$status_jpeggray" \
"mgrmono" "MGR devices 1-bit monochrome" "$status_mgrmono" \
"mgrgray2" "MGR devices 2-bit gray scale" "$status_mgrgray2" \
"mgrgray4" "MGR devices 4-bit gray scale" "$status_mgrgray4" \
"mgrgray8" "MGR devices 8-bit gray scale" "$status_mgrgray8" \
"mgr4" "MGR devices 4-bit (VGA) color" "$status_mgr4" \
"mgr8" "MGR devices 8-bit color" "$status_mgr8" \
"pcxmono" "PCX file format, monochrome 1-bit b/w" "$status_pcxmono" \
"pcxgray" "PCX file format, 8-bit gray scale" "$status_pcxgray" \
"pcx16" "PCX file format, 4-bit planar EGA/VGA color" "$status_pcx16" \