Author: qboosh                       Date: Tue Aug 16 17:28:30 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 9.04
- updated gdevcd8-fixes,fPIC patches
- removed obsolete git patch

---- Files affected:
packages/ghostscript:
   ghostscript-fPIC.patch (1.2 -> 1.3) , ghostscript-gdevcd8-fixes.patch (1.3 
-> 1.4) , ghostscript.spec (1.208 -> 1.209) , ghostscript-git.patch (1.2 -> 
NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/ghostscript/ghostscript-fPIC.patch
diff -u packages/ghostscript/ghostscript-fPIC.patch:1.2 
packages/ghostscript/ghostscript-fPIC.patch:1.3
--- packages/ghostscript/ghostscript-fPIC.patch:1.2     Sat Jun 11 21:00:17 2011
+++ packages/ghostscript/ghostscript-fPIC.patch Tue Aug 16 19:28:25 2011
@@ -1,21 +1,20 @@
-diff -up ghostscript-8.64/base/lib.mak.fPIC ghostscript-8.64/base/lib.mak
---- ghostscript-8.64/base/lib.mak.fPIC 2009-01-08 09:17:18.000000000 +0000
-+++ ghostscript-8.64/base/lib.mak      2009-02-04 11:34:21.000000000 +0000
-@@ -894,7 +894,7 @@ $(GLOBJ)gsparam.$(OBJ) : $(GLSRC)gsparam
- $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\
+--- ghostscript-9.04/base/lib.mak.orig 2011-08-05 13:12:20.000000000 +0200
++++ ghostscript-9.04/base/lib.mak      2011-08-15 21:15:14.722986828 +0200
+@@ -995,7 +995,7 @@
+ $(GLOBJ)gsparamx.$(OBJ) : $(AK) $(GLSRC)gsparamx.c $(string__h)\
   $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\
-  $(gstypes_h)
+  $(gstypes_h) $(MAKEDIRS)
 -      $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
 +      $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
  
  # Future replacement for gsparams.c
- $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\
-@@ -1085,7 +1085,7 @@ $(GLOBJ)gdevnfwd.$(OBJ) : $(GLSRC)gdevnf
+ $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(AK) $(gx_h)\
+@@ -1196,7 +1196,7 @@
  
  # Provide a mapping between StandardEncoding and ISOLatin1Encoding.
- $(GLOBJ)gdevemap.$(OBJ) : $(GLSRC)gdevemap.c $(AK) $(std_h)
+ $(GLOBJ)gdevemap.$(OBJ) : $(GLSRC)gdevemap.c $(AK) $(std_h) $(MAKEDIRS)
 -      $(GLCC) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
 +      $(GLCCSHARED) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
  
- ###### Create a pseudo-"feature" for the entire graphics library.
- 
+ # ----------- Downsampling routines ------------ #
+ gxdownscale_h=$(GLSRC)gxdownscale.h $(gsmemory_h) $(gxdevcli_h) $(ctype__h) \

================================================================
Index: packages/ghostscript/ghostscript-gdevcd8-fixes.patch
diff -u packages/ghostscript/ghostscript-gdevcd8-fixes.patch:1.3 
packages/ghostscript/ghostscript-gdevcd8-fixes.patch:1.4
--- packages/ghostscript/ghostscript-gdevcd8-fixes.patch:1.3    Thu Sep 16 
21:48:25 2010
+++ packages/ghostscript/ghostscript-gdevcd8-fixes.patch        Tue Aug 16 
19:28:25 2011
@@ -1,16 +1,17 @@
 Fixes:
-       - cdj850 and cdj1600 were broken, because of terminating *b command
-         (by 'Y' or 'V' instead of 'y' or 'v'); now *b is terminated only
-         for cdj880
-       - do_gcr replaced whole black component by CMY (so everything was
-         printed using colour ink!); do_gcr with NOBLACK looks strange,
-         like somebody didn't know what he's doing... now old, actual
-         DOGCR is used, but NOBLACK can be enabled by -dUseBlack=0 though
+ - cdj850 and cdj1600 were broken, because of terminating *b command
+   (by 'Y' or 'V' instead of 'y' or 'v'); now *b is terminated only
+   for cdj880
+ - do_gcr replaced whole black component by CMY (so everything was
+   printed using colour ink!); do_gcr with NOBLACK looks strange,
+   like somebody didn't know what he's doing... (see the "XXX" comments);
+   now old, actual DOGCR is used, but NOBLACK can be enabled by -dUseBlack=0
+   though
 
 Jakub Bogusz <[email protected]>
---- ghostscript-8.71/contrib/gdevcd8.c.orig    2009-12-30 18:30:30.000000000 
+0100
-+++ ghostscript-8.71/contrib/gdevcd8.c 2010-09-16 09:20:18.580564844 +0200
-@@ -609,6 +609,7 @@
+--- ghostscript-9.04/contrib/gdevcd8.c.orig    2011-08-05 13:12:20.000000000 
+0200
++++ ghostscript-9.04/contrib/gdevcd8.c 2011-08-15 21:10:22.919653641 +0200
+@@ -600,6 +600,7 @@
      StartRasterMode start_raster_mode;        /* output function to start 
raster mode */
      PrintNonBlankLines print_non_blank_lines; /* output function to print a 
non blank line */
      TerminatePage terminate_page;     /* page termination output function */
@@ -18,7 +19,7 @@
  } gx_device_cdj850;
  
  typedef struct {
-@@ -665,7 +666,7 @@
+@@ -655,7 +656,7 @@
      blackcorrect,\
      start_raster_mode,\
      print_non_blank_line,\
@@ -27,7 +28,7 @@
  }
  
  #define cdj_1600_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page, 
correction, quality, papertype, 
intensities,ptype,compression,mastergamma,gammavalc,gammavalm,gammavaly,gammavalk,blackcorrect,start_raster_mode,print_non_blank_line,terminate_page)\
-@@ -684,7 +685,7 @@
+@@ -674,7 +675,7 @@
      blackcorrect,\
      start_raster_mode,\
      print_non_blank_line,\
@@ -36,7 +37,7 @@
  }
  
  /* HP2200 and DNJ500 is a RGB printer */
-@@ -704,7 +705,7 @@
+@@ -694,7 +695,7 @@
      blackcorrect,\
      start_raster_mode,\
      print_non_blank_line,\
@@ -45,15 +46,15 @@
  }
  
  #define cmyk_colour_procs(proc_colour_open, proc_get_params, proc_put_params, 
\
-@@ -1066,6 +1067,7 @@
+@@ -1052,6 +1053,7 @@
      if (code < 0 ||
-       (code = param_write_int(plist, "Quality", &cdj850->quality)) < 0 ||
-       (code = param_write_int(plist, "Papertype", &cdj850->papertype)) < 0 ||
-+      (code = param_write_int(plist, "UseBlack", &cdj850->useblack)) < 0 ||
-       (code = param_write_float(plist, "MasterGamma", &cdj850->gammavalc))
-       < 0 ||
-       (code = param_write_float(plist, "GammaValC", &cdj850->gammavalc)) <
-@@ -1089,6 +1091,7 @@
+         (code = param_write_int(plist, "Quality", &cdj850->quality)) < 0 ||
+         (code = param_write_int(plist, "Papertype", &cdj850->papertype)) < 0 
||
++        (code = param_write_int(plist, "UseBlack", &cdj850->useblack)) < 0 ||
+         (code = param_write_float(plist, "MasterGamma", &cdj850->gammavalc))
+         < 0 ||
+         (code = param_write_float(plist, "GammaValC", &cdj850->gammavalc)) <
+@@ -1075,6 +1077,7 @@
  {
      int quality = cdj850->quality;
      int papertype = cdj850->papertype;
@@ -61,7 +62,7 @@
      float mastergamma = cdj850->mastergamma;
      float gammavalc = cdj850->gammavalc;
      float gammavalm = cdj850->gammavalm;
-@@ -1101,6 +1104,7 @@
+@@ -1087,6 +1090,7 @@
      code = cdj_put_param_int(plist, "BitsPerPixel", &bpp, 1, 32, code);
      code = cdj_put_param_int(plist, "Quality", &quality, 0, 2, code);
      code = cdj_put_param_int(plist, "Papertype", &papertype, 0, 4, code);
@@ -69,7 +70,7 @@
      code = cdj_put_param_float(plist, "MasterGamma", &mastergamma, 0.1, 9.0, 
code);
      code = cdj_put_param_float(plist, "GammaValC", &gammavalc, 0.0, 9.0, 
code);
      code = cdj_put_param_float(plist, "GammaValM", &gammavalm, 0.0, 9.0, 
code);
-@@ -1118,6 +1122,7 @@
+@@ -1103,6 +1107,7 @@
  
      cdj850->quality = quality;
      cdj850->papertype = papertype;
@@ -77,57 +78,57 @@
      cdj850->mastergamma = mastergamma;
      cdj850->gammavalc = gammavalc;
      cdj850->gammavalm = gammavalm;
-@@ -1171,7 +1176,13 @@
-                       gx_device_printer * pdev,
-                       struct error_val_field *error_values);
+@@ -1155,7 +1160,13 @@
+                         gx_device_printer * pdev,
+                         struct error_val_field *error_values);
  static int
 -    do_gcr(int bytecount, byte * inbyte, const byte * kvalues,
 +    do_gcr_noblack(int bytecount, byte * inbyte, const byte * kvalues,
-+         const byte * cvalues, const byte * mvalues,
-+         const byte * yvalues, const int *kcorrect,
-+         word * inword);
++           const byte * cvalues, const byte * mvalues,
++           const byte * yvalues, const int *kcorrect,
++           word * inword);
 +
 +static int
 +    do_gcr_gcr(int bytecount, byte * inbyte, const byte * kvalues,
-          const byte * cvalues, const byte * mvalues,
-          const byte * yvalues, const int *kcorrect,
-          word * inword);
-@@ -2036,7 +2047,10 @@
-       }
-       /* Skip blank lines if any */
-       if (num_blank_lines > 0) {
-+        if(cdj850->ptype == DJ880C)
-           fprintf(prn_stream, "\033*b%dY", num_blank_lines / (cdj850->yscal + 
1));
-+        else /* still in *b if not dj880 */
-+          fprintf(prn_stream, "%dy", num_blank_lines / (cdj850->yscal + 1));
-           memset(data_ptrs->plane_data[0][0], 0,
-                  (misc_vars->plane_size * 2 * misc_vars->num_comps));
-           memset(data_ptrs->plane_data_c[0][0], 0,
-@@ -2046,7 +2060,10 @@
-       /* all blank lines printed, now for the non-blank lines */
-       if (cdj850->yscal && odd(lnum)) {
-           /* output a blank black plane for odd lines */
-+        if(cdj850->ptype == DJ880C)
-           fprintf(prn_stream, "\033*b0V");
-+        else /* still in *b if not dj880 */
-+          putc('v', prn_stream);
-       }
-       /* now output all non blank lines */
-       while (lnum < lend && llen != 0) {
-@@ -2072,9 +2089,11 @@
+            const byte * cvalues, const byte * mvalues,
+            const byte * yvalues, const int *kcorrect,
+            word * inword);
+@@ -2018,7 +2029,10 @@
+         }
+         /* Skip blank lines if any */
+         if (num_blank_lines > 0) {
++          if(cdj850->ptype == DJ880C)
+             fprintf(prn_stream, "\033*b%dY", num_blank_lines / (cdj850->yscal 
+ 1));
++          else /* still in *b if not dj880 */
++            fprintf(prn_stream, "%dy", num_blank_lines / (cdj850->yscal + 1));
+             memset(data_ptrs->plane_data[0][0], 0,
+                    (misc_vars->plane_size * 2 * misc_vars->num_comps));
+             memset(data_ptrs->plane_data_c[0][0], 0,
+@@ -2028,7 +2042,10 @@
+         /* all blank lines printed, now for the non-blank lines */
+         if (cdj850->yscal && odd(lnum)) {
+             /* output a blank black plane for odd lines */
++                if(cdj850->ptype == DJ880C)
+             fprintf(prn_stream, "\033*b0V");
++          else /* still in *b if not dj880 */
++                  putc('v', prn_stream);
+         }
+         /* now output all non blank lines */
+         while (lnum < lend && llen != 0) {
+@@ -2054,9 +2071,11 @@
      int out_count = gdev_pcl_mode9compress(plane_size, curr, prev, out_data);
  
      /* and output the data */
--      fprintf(prn_stream, "%d%c", out_count, plane_code);
+-        fprintf(prn_stream, "%d%c", out_count, plane_code);
      if (out_count > 0) {
-+      fprintf(prn_stream, "%d%c", out_count, plane_code);
-       fwrite(out_data, sizeof(byte), out_count, prn_stream);
++        fprintf(prn_stream, "%d%c", out_count, plane_code);
+         fwrite(out_data, sizeof(byte), out_count, prn_stream);
 +    } else { /* single plane_code is sufficient for cdj850 */
-+      putc(plane_code, prn_stream);
++        putc(plane_code, prn_stream);
      }
  }
  
-@@ -2134,16 +2153,22 @@
+@@ -2113,15 +2132,22 @@
      byte *dp = data_ptrs->data[misc_vars->scan + 2];
      int *ep = data_ptrs->errors[misc_vars->scan];
  
@@ -139,21 +140,20 @@
  
 +  if(cdj850->useblack) {
      misc_vars->is_color_data =
--      do_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
-+      do_gcr_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
-              gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
-              (word *) data_ptrs->data[misc_vars->scan]);
--
+-        do_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
++        do_gcr_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
+                gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
+                (word *) data_ptrs->data[misc_vars->scan]);
 +  } else {
 +    misc_vars->is_color_data =
-+      do_gcr_noblack(misc_vars->databuff_size, 
data_ptrs->data[misc_vars->scan],
-+             gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
-+             (word *) data_ptrs->data[misc_vars->scan]);
++       do_gcr_noblack(misc_vars->databuff_size, 
data_ptrs->data[misc_vars->scan],
++              gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
++              (word *) data_ptrs->data[misc_vars->scan]);
 +  }
+ 
      /* dithering the black-plane */
      FSDlinebw(misc_vars->scan, misc_vars->plane_size,
-             error_values, kP, misc_vars->num_comps, ep, dp);
-@@ -2212,15 +2237,22 @@
+@@ -2191,15 +2217,22 @@
      byte *dp = data_ptrs->data[misc_vars->scan + 2];
      int *ep = data_ptrs->errors[misc_vars->scan];
  
@@ -164,21 +164,21 @@
         might generate black */
  
 +  if(cdj850->useblack) {
-     misc_vars->is_color_data =
--      do_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
-+      do_gcr_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
-              gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
-              (word *) data_ptrs->data[misc_vars->scan]);
-+  } else {
 +    misc_vars->is_color_data =
-+      do_gcr_noblack(misc_vars->databuff_size, 
data_ptrs->data[misc_vars->scan],
-+             gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
-+             (word *) data_ptrs->data[misc_vars->scan]);
++        do_gcr_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
++               gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
++               (word *) data_ptrs->data[misc_vars->scan]);
++  } else {
+     misc_vars->is_color_data =
+-        do_gcr(misc_vars->databuff_size, data_ptrs->data[misc_vars->scan],
++        do_gcr_noblack(misc_vars->databuff_size, 
data_ptrs->data[misc_vars->scan],
+                gamma->k, gamma->c, gamma->m, gamma->y, gamma->correct,
+                (word *) data_ptrs->data[misc_vars->scan]);
 +  }
  
      /* dithering the black-plane */
      FSDlinebw(misc_vars->scan, misc_vars->plane_size,
-@@ -2429,7 +2461,7 @@
+@@ -2408,7 +2441,7 @@
     do real color separation, here we try a real grey component
     replacement */
  static int
@@ -187,36 +187,32 @@
         const byte cvalues[256], const byte mvalues[256],
         const byte yvalues[256], const int kcorrect[256],
         word * inword)
-@@ -2467,14 +2499,15 @@
-       
-       is_color = 1;
- 
--      /* Test whether we 've already computet the value */
-+      /* Test whether we've already computed the value */
+@@ -2449,11 +2482,12 @@
+       /* Test whether we 've already computet the value */
        if (*inword == last_color_value) {
-       /* save a copy of the current color before it will be modified */
--      last_color_value = *inword;
-+      last_color_value = *inword; /* NOP --q */
+         /* save a copy of the current color before it will be modified */
+-        last_color_value = *inword;
++        last_color_value = *inword; /* NOP --q */
  /*    debug_print_string("\n", 1);*/
-       /* copy the result of the old value onto the new position */
-       *inword = *last_color;
+         /* copy the result of the old value onto the new position */
+         *inword = *last_color;
        } else {
-+      /* ??? ALL these NOBLACKs will be NOPs after the first NOBLACK! what 
are they for??? --q */
-       /* save a copy of the current color before it will be modified */
-       last_color_value = *inword;
++        /* ??? ALL these NOBLACKs will be NOPs after the first NOBLACK! what 
are they for??? --q */
+         /* save a copy of the current color before it will be modified */
+         last_color_value = *inword;
    NOBLACK(cyan, magenta, yellow, black);
-@@ -2511,6 +2544,7 @@
+@@ -2490,6 +2524,7 @@
        debug_print_string(output, strlen(output));
      }
  #endif /* 0 */
-+        /* XXX: how byte could be >255??? --q */
-         if (   *cyan > 255)    *cyan = 255;
-         if (*magenta > 255) *magenta = 255;
-         if ( *yellow > 255)  *yellow = 255;
-@@ -2518,6 +2552,95 @@
-         *cyan = *(cvalues + *cyan);
-         *magenta = *(mvalues + *magenta);
-         *yellow = *(yvalues + *yellow);
++          /* XXX: how byte could be >255??? --q */
+           if (   *cyan > 255)    *cyan = 255;
+           if (*magenta > 255) *magenta = 255;
+           if ( *yellow > 255)  *yellow = 255;
+@@ -2497,6 +2532,95 @@
+           *cyan = *(cvalues + *cyan);
+           *magenta = *(mvalues + *magenta);
+           *yellow = *(yvalues + *yellow);
 +        last_color =  inword; /* save pointer */
 +      }/* end current_color */
 +    }                 /* end of if c+m+y > 0 */
@@ -265,47 +261,47 @@
 +      /* Test whether we've already computed the value */
 +      if (*inword == last_color_value) {
 +/*    debug_print_string("\n", 1);*/
-+      /* copy the result of the old value onto the new position */
-+      *inword = *last_color;
++        /* copy the result of the old value onto the new position */
++        *inword = *last_color;
 +      } else {
-+      /* save a copy of the current color before it will be modified */
-+      last_color_value = *inword;
-+      if ((*cyan >= *magenta)
-+          && (*magenta >= *yellow)
-+          && (*yellow > 0)) { /* if any grey component */
-+        DOGCR(cyan, magenta, yellow, black);
-+      } else if ((*cyan >= *yellow)
-+                 && (*yellow >= *magenta)
-+                 && (*magenta > 0)) {
-+        DOGCR(cyan, yellow, magenta, black);
-+      } else if ((*yellow >= *magenta)
-+                 && (*magenta >= *cyan)
-+                 && (*cyan > 0)) {
-+        DOGCR(yellow, magenta, cyan, black);
-+      } else if ((*yellow >= *cyan)
-+                 && (*cyan >= *magenta)
-+                 && (*magenta > 0)) {
-+        DOGCR(yellow, cyan, magenta, black);
-+      } else if ((*magenta >= *yellow)
-+                 && (*yellow >= *cyan)
-+                 && (*cyan > 0)) {
-+        DOGCR(magenta, yellow, cyan, black);
-+      } else if ((*magenta >= *cyan)
-+                 && (*cyan >= *yellow)
-+                 && (*yellow > 0)) {
-+        DOGCR(magenta, cyan, yellow, black);
-+      } else {                /* do gamma only if no black */
-+      }
++        /* save a copy of the current color before it will be modified */
++        last_color_value = *inword;
++        if ((*cyan >= *magenta)
++            && (*magenta >= *yellow)
++            && (*yellow > 0)) { /* if any grey component */
++          DOGCR(cyan, magenta, yellow, black);
++        } else if ((*cyan >= *yellow)
++                   && (*yellow >= *magenta)
++                   && (*magenta > 0)) {
++          DOGCR(cyan, yellow, magenta, black);
++        } else if ((*yellow >= *magenta)
++                   && (*magenta >= *cyan)
++                   && (*cyan > 0)) {
++          DOGCR(yellow, magenta, cyan, black);
++        } else if ((*yellow >= *cyan)
++                   && (*cyan >= *magenta)
++                   && (*magenta > 0)) {
++          DOGCR(yellow, cyan, magenta, black);
++        } else if ((*magenta >= *yellow)
++                   && (*yellow >= *cyan)
++                   && (*cyan > 0)) {
++          DOGCR(magenta, yellow, cyan, black);
++        } else if ((*magenta >= *cyan)
++                   && (*cyan >= *yellow)
++                   && (*yellow > 0)) {
++          DOGCR(magenta, cyan, yellow, black);
++        } else {                /* do gamma only if no black */
++        }
 +#if 0
-+        if (ucr > 0)
-+        {
++          if (ucr > 0)
++          {
 +      sprintf(output, "%3d %3d %3d %3d - %5d\n", *cyan, *magenta, *yellow, 
*black, ucr);
 +      debug_print_string(output, strlen(output));
 +    }
 +#endif /* 0 */
-+        *cyan = *(cvalues + *cyan);
-+        *magenta = *(mvalues + *magenta);
-+        *yellow = *(yvalues + *yellow);
-         last_color =  inword; /* save pointer */
++          *cyan = *(cvalues + *cyan);
++          *magenta = *(mvalues + *magenta);
++          *yellow = *(yvalues + *yellow);
+           last_color =  inword; /* save pointer */
        }/* end current_color */
      }                 /* end of if c+m+y > 0 */

================================================================
Index: packages/ghostscript/ghostscript.spec
diff -u packages/ghostscript/ghostscript.spec:1.208 
packages/ghostscript/ghostscript.spec:1.209
--- packages/ghostscript/ghostscript.spec:1.208 Tue Jul 12 23:09:17 2011
+++ packages/ghostscript/ghostscript.spec       Tue Aug 16 19:28:25 2011
@@ -17,12 +17,12 @@
 Summary(pl.UTF-8):     Bezpłatny interpreter i renderer PostScriptu i PDF
 Summary(tr.UTF-8):     PostScript & PDF yorumlayıcı ve gösterici
 Name:          ghostscript
-Version:       9.02
-Release:       4
+Version:       9.04
+Release:       1
 License:       GPL v3+
 Group:         Applications/Graphics
 Source0:       
http://downloads.sourceforge.net/ghostscript/%{name}-%{version}.tar.bz2
-# Source0-md5: f67151444bd56a7904579fc75a083dd6
+# Source0-md5: 9f6899e821ab6d78ab2c856f10fa3023
 Source1:       
http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 9b5953aa0cc155f4364f20036b848585
 Patch0:                %{name}-missquotes.patch
@@ -31,8 +31,7 @@
 Patch5:                %{name}-cups-sh.patch
 Patch6:                %{name}-gdevcd8-fixes.patch
 Patch7:                %{name}-fPIC.patch
-Patch8:                %{name}-git.patch
-Patch9:                %{name}-zlib.patch
+Patch8:                %{name}-zlib.patch
 URL:           http://www.ghostscript.com/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1.6
@@ -190,8 +189,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p2
-%patch9 -p1
+%patch8 -p1
 
 %build
 %if %{with system_jbig2dec}
@@ -216,6 +214,7 @@
        --with-drivers=ALL%{?with_svga:,vgalib,lvga256} \
        --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \
        --with-ijs \
+       --with-install-cups \
        --with-jbig2dec \
        --with-jasper \
        --with-pdftoraster \
@@ -286,11 +285,9 @@
 %files
 %defattr(644,root,root,755)
 %doc %{_docdir}/%{name}-%{version}
-%attr(755,root,root) %{_bindir}/bdftops
 %attr(755,root,root) %{_bindir}/dumphint
 %attr(755,root,root) %{_bindir}/dvipdf
 %attr(755,root,root) %{_bindir}/eps2eps
-%attr(755,root,root) %{_bindir}/fixmswrd.pl
 %attr(755,root,root) %{_bindir}/font2c
 %attr(755,root,root) %{_bindir}/ghostscript
 %attr(755,root,root) %{_bindir}/gs
@@ -410,6 +407,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.209  2011/08/16 17:28:25  qboosh
+- updated to 9.04
+- updated gdevcd8-fixes,fPIC patches
+- removed obsolete git patch
+
 Revision 1.208  2011/07/12 21:09:17  arekm
 - rel 4; fix romfs linking with zlib
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghostscript/ghostscript-fPIC.patch?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghostscript/ghostscript-gdevcd8-fixes.patch?r1=1.3&r2=1.4&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghostscript/ghostscript.spec?r1=1.208&r2=1.209&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to