Hello community,
here is the log from the commit of package ghostscript-library for openSUSE:Factory
checked in at Mon Oct 11 17:21:52 CEST 2010.
--------
--- ghostscript-library/ghostscript-library.changes 2010-09-14 12:19:24.000000000 +0200
+++ ghostscript-library/ghostscript-library.changes 2010-10-04 15:34:22.000000000 +0200
@@ -1,0 +2,26 @@
+Mon Oct 4 12:26:53 CEST 2010 - werner@suse.de
+
+- Drop outmoded OMNI drivers
+- Update to ghostscript 9.00
+ * Now with ICC-based color rendering workflow which allows easy
+ integration of 3rd party color management modules.
+ * Glyph rendering for all font types except Type 3 is now handled
+ by Freetype. The most obvious benefit of this is a complete,
+ and proven implementation of the TrueType byte code interpreter
+ (now unencumbered by patents).
+ * Postscript interpreter's graphics state now stores two separate
+ colour space settings for stroking and filling, to better support
+ the stroke and fill colours required by the PDF interpreter.
+ * Support for optional content has been added to the PDF interpreter
+ * For security reasons, Ghostscript no longer searches the current
+ directory by default. Use -P option to revert to old behavior.
+- Fix crash in device x11
+- Add drivers pamcmyk32, tiff48nc, tiff64nc, tiffsep1, and txtwrite
+- Build with system libtiff and system liblcms
+
+-------------------------------------------------------------------
+Tue Sep 28 12:45:39 CEST 2010 - werner@suse.de
+
+- Added driver cdnj500 (bnc#641948)
+
+-------------------------------------------------------------------
--- ghostscript-library/ghostscript-mini.changes 2010-05-05 15:21:08.000000000 +0200
+++ ghostscript-library/ghostscript-mini.changes 2010-10-04 15:34:22.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Oct 4 12:26:53 CEST 2010 - werner@suse.de
+
+- Add drivers pamcmyk32, tiff48nc, tiff64nc, tiffsep1, and txtwrite
+- Build with system libtiff and system liblcms
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Omni-0.9.2-glibc210.dif
Omni-0.9.2.dif.bz2
Omni-0.9.2.tar.bz2
ghostscript-8.60-alignment.dif
ghostscript-8.61-dmpr.dif
ghostscript-8.62-bjc.dif
ghostscript-8.64-bnc559122.patch
ghostscript-8.64-cmap.dif
ghostscript-8.64-echogs.patch
ghostscript-8.70-P-use.dif
ghostscript-8.70-bnc592279.dif
ghostscript-8.70-bnc605043.dif
ghostscript-8.70-freetype2.dif
ghostscript-8.70-gs_init.dif
ghostscript-8.70-jbig2broken.dif
ghostscript-8.70-png_sig_check.dif
ghostscript-8.70.dif
ghostscript-8.70.tar.bz2
glib-config
gs-8.70-implicit-fortify-decl.patch
hpdj-2.6-gs8.60.dif
New:
----
ghostscript-9.00-bjc.dif
ghostscript-9.00-bnc559122.patch
ghostscript-9.00-dmpr.dif
ghostscript-9.00-echogs.patch
ghostscript-9.00-errprintf.dif
ghostscript-9.00-icc.dif
ghostscript-9.00-jbig2broken.dif
ghostscript-9.00.dif
ghostscript-9.00.tar.bz2
gs-9.00-implicit-fortify-decl.patch
hpdj-2.6-gs9.00.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghostscript-library.spec ++++++
++++ 703 lines (skipped)
++++ between ghostscript-library/ghostscript-library.spec
++++ and ghostscript-library/ghostscript-library.spec
ghostscript-mini.spec: same change
++++++ drivers.mini ++++++
--- /var/tmp/diff_new_pack.KN5XxY/_old 2010-10-11 17:08:58.000000000 +0200
+++ /var/tmp/diff_new_pack.KN5XxY/_new 2010-10-11 17:08:58.000000000 +0200
@@ -1,11 +1,11 @@
-pam, pbm, pbmraw, pgm, pgmraw, pgnm
+pam, pamcmyk32, pbm, pbmraw, pgm, pgmraw, pgnm
pgnmraw, pnm, pnmraw, ppm, ppmraw, pkm
pkmraw, pksm, pksmraw, plan9bm, inferno
dfaxhigh, dfaxlow, fax, faxg3, faxg32d, faxg4
cfax, bff, tfax
tiffcrle, tiffg3, tiffg32d, tiffg4, tiff12nc
-tiff24nc, tiff32nc, tiffgray, tifflzw, tiffpack
-tiffs, tiffsep
+tiff24nc, tiff32nc, tiff48nc, tiff64nc, tiffgray, tifflzw, tiffpack
+tiffs, tiffsep, tiffsep1
psmono, psgray, psrgb, bbox, perm
bit, bitrgb, bitrgbtags, bitcmyk, sunhmono
mgrmono, mgrgray2, mgrgray4, mgrgray8, mgr4, mgr8
@@ -18,3 +18,4 @@
bmpmono, bmpgray, bmpsep1, bmpsep8, bmp16
bmp256, bmp16m, bmp32b
pdfwrite, pswrite, ps2write, epswrite, pxlmono, pxlcolor
+txtwrite
++++++ drivers.norm ++++++
--- /var/tmp/diff_new_pack.KN5XxY/_old 2010-10-11 17:08:58.000000000 +0200
+++ /var/tmp/diff_new_pack.KN5XxY/_new 2010-10-11 17:08:58.000000000 +0200
@@ -16,7 +16,7 @@
atx23, atx24, atx38
coslw2p, coslwxl
cdeskjet, cdjcolor, cdjmono, cdj500, cdj550 cdj670
-cdj850, cdj880, cdj890, cdj970, cdj1600, chp2200
+cdj850, cdj880, cdj890, cdj970, cdj1600, cdnj500, chp2200
deskjet, djet500, djet500c, dnj650c, djet820c
paintjet, pj, pjetxl, pjxl, pjxl300, dj505j, picty180
laserjet, ljet2p, ljet3, ljet3d, ljet4, ljet4pjl,
@@ -37,14 +37,14 @@
oce9050, oki182, oki4w, okiibm, ml600
r4081, rpdl
sj48, jj100, xes
-pam, pbm, pbmraw, pgm, pgmraw, pgnm
+pam, pamcmyk32, pbm, pbmraw, pgm, pgmraw, pgnm
pgnmraw, pnm, pnmraw, ppm, ppmraw, pkm
pkmraw, pksm, pksmraw, plan9bm, inferno
dfaxhigh, dfaxlow, fax, faxg3, faxg32d, faxg4
cfax, bff, tfax
tiffcrle, tiffg3, tiffg32d, tiffg4, tiff12nc
-tiff24nc, tiff32nc, tiffgray, tifflzw, tiffpack
-tiffs, tiffsep
+tiff24nc, tiff32nc, tiff48nc, tiff64nc, tiffgray, tifflzw, tiffpack
+tiffs, tiffsep, tiffsep1
psmono, psgray, psrgb, bbox, perm
bit, bitrgb, bitrgbtags, bitcmyk, sunhmono
mgrmono, mgrgray2, mgrgray4, mgrgray8, mgr4, mgr8
@@ -58,7 +58,6 @@
bmp256, bmp16m, bmp32b
pdfwrite, pswrite, ps2write, epswrite, pxlmono, pxlcolor
ijs, cups, oprp, opvp, gdi, imdi, simdi, wtsimdi, wtscmyk
-omni
uniprint
pcl3, hpdjplus, hpdjportable, hpdj310, hpdj320
hpdj340, hpdj400, hpdj500, hpdj500c, hpdj510
@@ -66,3 +65,4 @@
hpdj660c, hpdj670c, hpdj680c, hpdj690c, hpdj850c
hpdj855c, hpdj870c, hpdj890c, hpdj1120c, hpdj
stp, rinkj
+txtwrite
++++++ ghostscript-8.62-bjc.dif -> ghostscript-9.00-bjc.dif ++++++
--- ghostscript-library/ghostscript-8.62-bjc.dif 2010-01-18 17:23:00.000000000 +0100
+++ ghostscript-library/ghostscript-9.00-bjc.dif 2010-10-04 15:34:21.000000000 +0200
@@ -25,14 +25,14 @@
#define BJC_RESOLUTION_LOW (1 * BJC_RESOLUTION_BASE)
#define BJC_RESOLUTION_MEDIUM (2 * BJC_RESOLUTION_BASE)
--- base/gdevcdj.c
-+++ base/gdevcdj.c 2008-07-29 11:47:54.000000000 +0000
++++ base/gdevcdj.c 2010-09-28 12:37:12.559926366 +0000
@@ -152,17 +152,16 @@
{\
case 0:\
if ( pa.size != psize )\
- code = gs_error_rangecheck;\
+ ncode = gs_note_error(gs_error_rangecheck);\
- else {
+ else {
/* The body of the processing code goes here. */
/* If it succeeds, it should do a 'break'; */
-/* if it fails, it should set ecode and fall through. */
@@ -276,7 +276,7 @@
version = bjcversion(pdev);
- versionString.data = (byte *)bjcversionstring(pdev);
+ versionString.data = (const byte *)bjcversionstring(pdev);
-
+
- versionString.size = strlen((char *)versionString.data);
+ versionString.size = strlen((const char *)versionString.data);
versionString.persistent = true;
@@ -321,7 +321,7 @@
if (hwra.data[0] != BJC_RESOLUTION_LOW &&
hwra.data[0] != BJC_RESOLUTION_NORMAL &&
hwra.data[0] != BJC_RESOLUTION_HIGH) {
-- ncode = gs_error_rangecheck;
+- ncode = gs_error_rangecheck;
+ ncode = gs_note_error(gs_error_rangecheck);
}
#else
@@ -335,9 +335,9 @@
+ for (n = 0; n < maxn; ++n) {
float res = (float)(BJC_RESOLUTION_BASE * (1 << n));
+ float RES = (float)(BJC_RESOLUTION_SPECIAL_BASE * (1 << n));
-
+
if (res == hwra.data[0]) break;
-
+
- if (res > hwra.data[0]) {
- ncode = gs_error_rangecheck;
+ if ((bjc->ptype == BJC800) && n &&
@@ -424,23 +424,23 @@
fputc('\014', f);
fputs("\033@", f);
-@@ -1798,7 +1805,6 @@ bjc_compress(const byte *row, const byte
- {
+@@ -1799,7 +1806,6 @@ bjc_compress(const byte *row, const byte
register const byte *exam = row;
register byte *cptr = compressed; /* output pointer into compressed bytes */
--
+-
while ( exam < end_row ) {
/* Search ahead in the input looking for a run */
-@@ -1815,7 +1821,6 @@ bjc_compress(const byte *row, const byte
- break;
+ /* of at least 4 identical bytes. */
+@@ -1816,7 +1822,6 @@ bjc_compress(const byte *row, const byte
test = test2;
}
--
+-
/* Find out how long the run is */
end_dis = exam - 1;
-@@ -2571,6 +2576,7 @@ hp_colour_print_page(gx_device_printer *
+ if ( exam == end_row ) { /* no run */
+@@ -2583,6 +2588,7 @@ hp_colour_print_page(gx_device_printer *
default:
FSDline(scan, i, j, plane_size, cErr, mErr, yErr, kErr,
cP, mP, yP, kP, 1);
@@ -448,7 +448,7 @@
}
break;
case 24:
-@@ -2679,7 +2685,7 @@ hp_colour_print_page(gx_device_printer *
+@@ -2691,7 +2697,7 @@ hp_colour_print_page(gx_device_printer *
case LJ4DITH:
{ const byte *plane = plane_data[scan][i];
byte *prev_plane = plane_data[1 - scan][i];
@@ -457,7 +457,7 @@
const word *end_row = row + plane_size/W;
int count2 = gdev_pcl_mode2compress(row, end_row, out_row_alt);
int count3 = gdev_pcl_mode3compress(plane_size, plane, prev_plane, out_row);
-@@ -2915,22 +2921,73 @@ gdev_cmyk_map_color_cmyk(gx_device *pdev
+@@ -2927,22 +2933,73 @@ gdev_cmyk_map_color_cmyk(gx_device *pdev
}
default: {
@@ -536,7 +536,7 @@
/*
* Map a r-g-b color to a color index.
* We complement the colours, since we're using cmy anyway, and
-@@ -3256,16 +3313,6 @@ cdj_set_bpp(gx_device *pdev, int bpp, in
+@@ -3268,16 +3325,6 @@ cdj_set_bpp(gx_device *pdev, int bpp, in
bpp = ci->depth; /* Use the current setting. */
}
@@ -553,7 +553,7 @@
/* Check for valid bpp values */
-@@ -3305,47 +3352,45 @@ cdj_set_bpp(gx_device *pdev, int bpp, in
+@@ -3317,47 +3364,47 @@ cdj_set_bpp(gx_device *pdev, int bpp, in
}
case 1:
@@ -572,7 +572,7 @@
case 3:
- if (!cprn_device->cmyk) {
-+ if (!cprn_device->cmyk)
++ if (!cprn_device->cmyk)
break;
- }
@@ -580,7 +580,7 @@
bppe: return gs_error_rangecheck;
}
--
+
- if (cprn_device->cmyk == -1) {
- dev_proc(pdev, map_cmyk_color) = NULL;
- dev_proc(pdev, map_rgb_color) = gdev_pcl_map_rgb_color;
@@ -613,7 +613,7 @@
+ if (pdev->is_open) {
+ int code; /* Return code */
+ gdev_prn_space_params sp; /* Space parameter data */
-
+
- /* Reallocate memory for device */
- sp = ((gx_device_printer *)pdev)->space_params;
+ /* Reallocate memory for device */
@@ -621,14 +621,14 @@
- if ((code = gdev_prn_reallocate_memory(pdev, &sp, pdev->width,
- pdev->height)) < 0)
-- return (code);
++ if ((code = gdev_prn_reallocate_memory(pdev, &sp, pdev->width,
++ pdev->height)) < 0)
+ return (code);
- }
-+ if ((code = gdev_prn_reallocate_memory(pdev, &sp, pdev->width, pdev->height)) < 0)
-+ return (code);
}
switch (ccomps) {
-@@ -3371,24 +3416,31 @@ cce: default: return gs_error_rangechec
+@@ -3383,24 +3430,31 @@ cce: default: return gs_error_rangechec
}
if (cprn_device->cmyk) {
@@ -670,7 +670,7 @@
}
} else {
ci->num_components = (bpp == 1 || bpp == 8 ? 1 : 3);
-@@ -3400,6 +3452,15 @@ cce: default: return gs_error_rangechec
+@@ -3412,6 +3466,15 @@ cce: default: return gs_error_rangechec
ci->depth = ((bpp > 1) && (bpp < 8) ? 8 : bpp);
@@ -686,7 +686,7 @@
return 0;
}
-@@ -3447,18 +3508,6 @@ cdj_put_param_bpp(gx_device *pdev, gs_pa
+@@ -3459,18 +3522,6 @@ cdj_put_param_bpp(gx_device *pdev, gs_pa
}
}
@@ -695,7 +695,7 @@
-static uint
-gdev_prn_rasterwidth(const gx_device_printer *pdev, int pixelcount)
-{
-- ulong raster_width = (ulong)(pdev->width -
+- ulong raster_width = (ulong)(pdev->width -
- pdev->x_pixels_per_inch * (dev_l_margin(pdev) + dev_r_margin(pdev)));
- return (pixelcount ?
- (uint)raster_width :
@@ -705,7 +705,7 @@
/* Functions for manipulation params strings */
static const byte*
-@@ -3480,7 +3529,7 @@ paramStringValue(const stringParamDescri
+@@ -3492,7 +3543,7 @@ paramStringValue(const stringParamDescri
{
for (; params->p_name; ++params) {
@@ -714,7 +714,7 @@
params->p_name[namelen] == 0) {
*value = params->p_value;
return 1;
-@@ -3498,8 +3547,8 @@ put_param_string(gs_param_list* plist,
+@@ -3510,8 +3561,8 @@ put_param_string(gs_param_list* plist,
int ncode;
@@ -725,7 +725,7 @@
} else if (ncode == 1) {
pstring->data = 0, pstring->size = 0;
} else {
-@@ -3507,7 +3556,7 @@ put_param_string(gs_param_list* plist,
+@@ -3519,7 +3570,7 @@ put_param_string(gs_param_list* plist,
if (paramStringValue(params, pstring->data, pstring->size,
&value) == 0) {
@@ -734,7 +734,7 @@
} else {
*pvalue = value;
}
-@@ -3527,19 +3576,21 @@ get_param_string(gs_param_list* plist,
+@@ -3539,19 +3590,21 @@ get_param_string(gs_param_list* plist,
pstring->data = paramValueToString(params, pvalue);
if (pstring->data == (byte*) 0) {
@@ -759,7 +759,7 @@
/*
* This taken from gsdparam.c. I hope it will be useable directly some day.
*
-@@ -3594,6 +3645,88 @@ e: param_signal_error(plist
+@@ -3606,6 +3659,88 @@ e: param_signal_error(plist
return code;
}
++++++ ghostscript-8.64-bnc559122.patch -> ghostscript-9.00-bnc559122.patch ++++++
--- ghostscript-library/ghostscript-8.64-bnc559122.patch 2010-09-14 12:19:23.000000000 +0200
+++ ghostscript-library/ghostscript-9.00-bnc559122.patch 2010-10-04 15:34:18.000000000 +0200
@@ -1,34 +1,6 @@
--- base/gsmisc.c
+++ base/gsmisc.c 2009-11-24 17:16:39.000000000 +0000
-@@ -69,10 +69,10 @@ int outprintf(const gs_memory_t *mem, co
-
- va_start(args, fmt);
-
-- count = vsprintf(buf, fmt, args);
-+ count = vsnprintf(buf, sizeof (buf), fmt, args);
- outwrite(mem, buf, count);
-- if (count >= PRINTF_BUF_LENGTH) {
-- count = sprintf(buf,
-+ if (count == -1 || count >= sizeof (buf)) {
-+ count = snprintf(buf, sizeof (buf),
- "PANIC: printf exceeded %d bytes. Stack has been corrupted.\n",
- PRINTF_BUF_LENGTH);
- outwrite(mem, buf, count);
-@@ -89,10 +89,10 @@ int errprintf(const char *fmt, ...)
-
- va_start(args, fmt);
-
-- count = vsprintf(buf, fmt, args);
-+ count = vsnprintf(buf, sizeof (buf), fmt, args);
- errwrite(buf, count);
-- if (count >= PRINTF_BUF_LENGTH) {
-- count = sprintf(buf,
-+ if (count == -1 || count >= sizeof (buf)) {
-+ count = snprintf(buf, sizeof (buf),
- "PANIC: printf exceeded %d bytes. Stack has been corrupted.\n",
- PRINTF_BUF_LENGTH);
- errwrite(buf, count);
-@@ -236,7 +236,7 @@ int gs_throw_imp(const char *func, const
+@@ -260,7 +260,7 @@ int gs_throw_imp(const char *func, const
va_list ap;
va_start(ap, fmt);
@@ -38,7 +10,7 @@
va_end(ap);
--- base/gxttfb.c
-+++ base/gxttfb.c 2009-11-24 17:16:39.000000000 +0000
++++ base/gxttfb.c 2010-09-29 11:48:26.015926742 +0000
@@ -246,7 +246,7 @@ static int DebugPrint(ttfFont *ttf, cons
if (gs_debug_c('Y')) {
@@ -47,7 +19,7 @@
+ count = vsnprintf(buf, sizeof (buf), fmt, args);
/* NB: moved debug output from stdout to stderr
*/
- errwrite(buf, count);
+ errwrite(ttf->DebugMem, buf, count);
--- base/rinkj/rinkj-byte-stream.c
+++ base/rinkj/rinkj-byte-stream.c 2009-11-24 17:16:39.000000000 +0000
@@ -43,7 +43,7 @@ rinkj_byte_stream_printf (RinkjByteStrea
++++++ ghostscript-8.61-dmpr.dif -> ghostscript-9.00-dmpr.dif ++++++
--- ghostscript-library/ghostscript-8.61-dmpr.dif 2010-01-18 17:22:59.000000000 +0100
+++ ghostscript-library/ghostscript-9.00-dmpr.dif 2010-10-04 15:34:20.000000000 +0200
@@ -81,8 +81,8 @@
- fflush(dviprt_messagestream);
+ if (len == 0)
+ len = strlen(str);
-+ if (len >= 0) errwrite(str,len);
-+ errflush();
++ if (len >= 0) errwrite_nomem(str,len);
++ errflush_nomem();
}
return 0;
}
++++++ ghostscript-8.64-echogs.patch -> ghostscript-9.00-echogs.patch ++++++
--- ghostscript-library/ghostscript-8.64-echogs.patch 2010-01-18 17:23:01.000000000 +0100
+++ ghostscript-library/ghostscript-9.00-echogs.patch 2010-10-04 15:34:11.000000000 +0200
@@ -18,7 +18,7 @@
used for such things?)
--- base/echogs.c
-+++ base/echogs.cc 2009-06-16 14:35:34.566379508 +0200
++++ base/echogs.c 2010-09-28 12:56:09.159926344 +0000
@@ -31,6 +31,7 @@ extern int fputc(int, FILE *), fputs(con
#include