]> git.pld-linux.org Git - packages/ghostscript.git/commitdiff
Up to 10.02.0
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 5 Oct 2023 11:33:38 +0000 (13:33 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 5 Oct 2023 11:33:38 +0000 (13:33 +0200)
ghostscript-gdevcd8-fixes.patch
ghostscript-iccprofiles-initdir.patch
ghostscript-zlib.patch [deleted file]
ghostscript.spec

index 188f3c4cdb88c2bfdfc9b4589a64fb2ba3862a6e..95815468aaf2cfb4d0d8a42fba81e54f7651854c 100644 (file)
@@ -78,21 +78,21 @@ Jakub Bogusz <qboosh@pld-linux.org>
      cdj850->mastergamma = mastergamma;
      cdj850->gammavalc = gammavalc;
      cdj850->gammavalm = gammavalm;
-@@ -1180,7 +1185,13 @@ static void
+@@ -1185,7 +1185,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);
+-do_gcr(int bytecount, byte * inbyte, const byte kvalues[256],
++do_gcr_noblack(int bytecount, byte * inbyte, const byte kvalues[256],
++       const byte cvalues[256], const byte mvalues[256],
++       const byte yvalues[256], const int kcorrect[256],
++       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);
++do_gcr_gcr(int bytecount, byte * inbyte, const byte kvalues[256],
+        const byte cvalues[256], const byte mvalues[256],
+        const byte yvalues[256], const int kcorrect[256],
+        word * inword);
 @@ -2045,7 +2056,10 @@ send_scan_lines(gx_device_printer * pdev
          }
          /* Skip blank lines if any */
index 9c9c4a5545dca8d69977af912e8db0b2ff877407..bc67ae6155daa2213a3832f683bcbcee68a03ebc 100644 (file)
@@ -2,9 +2,9 @@ diff -up ghostscript-9.06/base/gsicc_manage.c.iccprofiles-initdir ghostscript-9.
 --- ghostscript-9.06/base/gsicc_manage.c.iccprofiles-initdir   2012-08-09 13:58:22.102364807 +0100
 +++ ghostscript-9.06/base/gsicc_manage.c       2012-08-09 14:09:24.495864641 +0100
 @@ -40,6 +40,7 @@
- #include "gpmisc.h"
  #include "gxdevice.h"
  #include "gxdevsop.h"
+ #include "assert_.h"
 +#include "gxiodev.h"
  
  #define ICC_HEADER_SIZE 128
diff --git a/ghostscript-zlib.patch b/ghostscript-zlib.patch
deleted file mode 100644 (file)
index 533f0eb..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- ghostscript-9.54.0/configure.ac.orig       2021-04-25 20:45:17.498439464 +0200
-+++ ghostscript-9.54.0/configure.ac    2021-04-25 20:46:23.098488486 +0200
-@@ -1403,7 +1403,7 @@ AC_MSG_CHECKING([for local zlib source])
- dnl zlib is needed for language level 3, and libpng
- # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
- # this seems a harmless default
--ZLIBDIR=src
-+ZLIBDIR=$includedir
- AUX_SHARED_ZLIB=
- ZLIBCFLAGS=""
-@@ -1434,6 +1434,8 @@ if test -z "$SHARE_ZLIB"; then
-   local directory named 'zlib'. See http://www.gzip.org/zlib/
-   for more information.
-   ])
-+else
-+  LIBS="$LIBS -lz"
- fi
- dnl if GS is to use the system zlib, freetype
index a08578fd55765cdf75a1f719dd202e9f64df857b..f9e6bebbf57fec9185873fe08ebe29bfc1d8289d 100644 (file)
@@ -20,13 +20,13 @@ Summary(ja.UTF-8):  PostScript インタープリタ・レンダラー
 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.56.1
+Version:       10.02.0
 Release:       1
 License:       AGPL v3+
 Group:         Applications/Graphics
 #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
-Source0:       https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9561/%{name}-%{version}.tar.xz
-# Source0-md5: 46dabbb1554391a3d0d95ce8304363f0
+Source0:       https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/%{name}-%{version}.tar.xz
+# Source0-md5: 80c1cdfada72f2eb5987dc0d590ea5b2
 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
@@ -34,7 +34,6 @@ Patch1:               %{name}-a4.patch
 Patch2:                ijs-pkgconfig.patch
 
 Patch6:                %{name}-gdevcd8-fixes.patch
-Patch8:                %{name}-zlib.patch
 
 # fedora
 Patch20:       %{name}-scripts.patch
@@ -219,7 +218,6 @@ Statyczna wersja biblioteki IJS.
 %patch2 -p1
 
 %patch6 -p1
-%patch8 -p1
 
 %patch20 -p1
 
@@ -247,7 +245,7 @@ Statyczna wersja biblioteki IJS.
 %configure \
        %{!?with_cairo:--disable-cairo} \
        --disable-compile-inits \
-       --enable-dynamic \
+        --enable-dynamic --disable-hidden-visibility \
        --with-drivers=ALL \
        --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \
        --with-ijs \
@@ -291,8 +289,7 @@ cp -p base/gserrors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript
 cp -p LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*.sh \
-       $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1 \
-       $RPM_BUILD_ROOT%{_mandir}/de/man1/{ps2pdf1{2,3},eps2eps}.1
+       $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1
 
 echo ".so gs.1"     > $RPM_BUILD_ROOT%{_mandir}/man1/ghostscript.1
 echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf12.1
@@ -303,10 +300,6 @@ echo ".so gslp.1"   > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj.1
 echo ".so gslp.1"   > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj500.1
 echo ".so gslp.1"   > $RPM_BUILD_ROOT%{_mandir}/man1/gslj.1
 
-echo ".so ps2ps.1"  > $RPM_BUILD_ROOT%{_mandir}/de/man1/eps2eps.1
-echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf12.1
-echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf13.1
-
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ghostscript-non-english-man-pages
 
@@ -351,9 +344,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ps2ps2
 %attr(755,root,root) %{_bindir}/pphs
 %attr(755,root,root) %{_libdir}/libgs.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgs.so.9
-%dir %{_libdir}/%{name}
-%dir %{_libdir}/%{name}/%{version}
+%attr(755,root,root) %ghost %{_libdir}/libgs.so.10
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/%{version}
 %{_datadir}/%{name}/%{version}/Resource
@@ -388,7 +379,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ps2pdfwr.1*
 %{_mandir}/man1/ps2ps.1*
 %lang(cs) %{_mandir}/cs/man1/*
-%lang(de) %{_mandir}/de/man1/*
 %lang(es) %{_mandir}/es/man1/*
 %lang(fr) %{_mandir}/fr/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.175705 seconds and 4 git commands to generate.