update to 9.14 [release 9.14-1mamba;Wed Apr 09 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 22:59:51 +01:00
parent 160d828231
commit f02a791774
3 changed files with 28779 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# ghostscript
Ghostscript is a package of software that provides:
- An interpreter for the PostScript (TM) language, with the ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in;
- An interpreter for Portable Document Format (PDF) files, with the same abilities;
- The ability to convert PostScript language files to PDF (with some limitations) and vice versa; and
- A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF.

File diff suppressed because it is too large Load Diff

342
ghostscript.spec Normal file
View File

@ -0,0 +1,342 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: ghostscript
Version: 9.14
Release: 1mamba
Summary: The GPL release of the Ghostscript interpreter
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ghostscript.com/awki
Source: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
#Source: http://downloads.sourceforge.net/sourceforge/ghostscript/ghostscript-%{version}.tar.bz2
Patch0: ghostscript-9.07-european-locales-comma-separator.patch
License: GPL
Requires: %{name}-fonts
## AUTOBUILDREQ-BEGIN
BuildRequires: ghostscript-fonts
BuildRequires: glibc-devel
BuildRequires: libatk-devel
%if "%{stage1}" != "1"
BuildRequires: libcairo-devel
BuildRequires: libpango-devel
BuildRequires: libcups-devel
BuildRequires: libgtk-devel
%endif
BuildRequires: libfontconfig-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libkrb5-devel
BuildRequires: libtasn1-devel
BuildRequires: libtool >= 1.5.22
%if "%{stage1}" != "1"
BuildRequires: libGLUT-devel
BuildRequires: libSDL-devel
%endif
Provides: ghostscript-cups
Obsoletes: ghostscript-cups
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Ghostscript is a package of software that provides:
- An interpreter for the PostScript (TM) language, with the ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in;
- An interpreter for Portable Document Format (PDF) files, with the same abilities;
- The ability to convert PostScript language files to PDF (with some limitations) and vice versa; and
- A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF.
%package devel
Summary: Headers and static libraries for development with Ghostscript
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
- An interpreter for the PostScript (TM) language, with the ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in;
- An interpreter for Portable Document Format (PDF) files, with the same abilities;
- The ability to convert PostScript language files to PDF (with some limitations) and vice versa; and
- A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF.
Headers and static libraries for development with Ghostscript.
%package cups
Summary: ESP Ghostscript Support for CUPS
Group: Applications/Publishing
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description cups
ESP Ghostscript support for the Common UNIX Printing System ("CUPS").
This package is required to support non-PostScript printers with CUPS.
%package gtk
Summary: A GTK-enabled PostScript(TM) interpreter and renderer.
Group: Applications/Publishing
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
AutoProv: no
%description gtk
A GTK-enabled version of Ghostscript, called 'gsx'.
%package X11
Summary: X11 support for Ghostscript
Group: Applications/Publishing
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description X11
X11 support library for Ghostscript.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
FONTPATH=
for path in \
%{_datadir}/cups/fonts \
%{_datadir}/ghostscript/fonts \
/usr/local/lib/ghostscript/fonts \
%{_datadir}/fonts
do
FONTPATH="$FONTPATH${FONTPATH:+:}$path"
done
%configure \
--enable-dynamic \
--enable-gtk \
--disable-compile-inits \
--with-drivers=ALL \
--with-fontpath="$FONTPATH" \
--with-system-libtiff \
--with-ijs
FT_CFLAGS=$(pkg-config --cflags freetype2)
%make -j1 prefix=%{_prefix}
# \
# FT_BRIDGE=1 FT_CFLAGS="$FT_CFLAGS" FT_LIB=freetype
%make -j1 so prefix=%{_prefix}
# \
# FT_BRIDGE=1 FT_CFLAGS="$FT_CFLAGS" FT_LIB=freetype
# build ijs
cd ijs
sed -i "s|AM_PROG_CC_STDC|AC_PROG_CC|" configure.ac
aclocal
./autogen.sh || automake --add-missing && autoreconf -f
%configure --enable-shared --enable-static
%make prefix=%{_prefix}
cd ..
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall soinstall
# FT_BRIDGE=1
# CUPSSERVER=%{buildroot}`cups-config --serverbin` \
# CUPSCONFIG=%{buildroot}`cups-config --serverroot` \
# CUPSDATA=%{buildroot}`cups-config --datadir`
# install ijs
cd ijs
%makeinstall
cd ..
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
#%{_bindir}/bdftops
#%{_bindir}/dumphint
%{_bindir}/dvipdf
%{_bindir}/eps2eps
#%{_bindir}/fixmswrd.pl
%{_bindir}/font2c
%{_bindir}/gs
%{_bindir}/gsc
%{_bindir}/gsbj
%{_bindir}/gsdj
%{_bindir}/gsdj500
%{_bindir}/gslj
%{_bindir}/gslp
%{_bindir}/gsnd
%{_bindir}/lprsetup.sh
%{_bindir}/pdf2dsc
%{_bindir}/pdf2ps
#%{_bindir}/pdfopt
%{_bindir}/pf2afm
%{_bindir}/pfbtopfa
%{_bindir}/pphs
%{_bindir}/printafm
%{_bindir}/ps2ascii
%{_bindir}/ps2epsi
%{_bindir}/ps2pdf
%{_bindir}/ps2pdf12
%{_bindir}/ps2pdf13
%{_bindir}/ps2pdf14
%{_bindir}/ps2pdfwr
%{_bindir}/ps2ps
%{_bindir}/ps2ps2
#%{_bindir}/pv.sh
%{_bindir}/unix-lpr.sh
%{_bindir}/wftopfa
%{_datadir}/ghostscript
%{_libdir}/libgs.so.*
%{_libdir}/libijs-*.so*
%{_mandir}/man1/*
%{_mandir}/de/*
#%doc LICENSE
%files devel
%defattr(-,root,root)
%{_bindir}/ijs-config
%{_bindir}/ijs_client_example
%{_bindir}/ijs_server_example
%dir %{_includedir}/ghostscript
%{_includedir}/ghostscript/*.h
%dir %{_includedir}/ijs
%{_includedir}/ijs/ijs.h
%{_includedir}/ijs/ijs_client.h
%{_includedir}/ijs/ijs_server.h
%{_libdir}/libijs.a
%{_libdir}/libijs.la
%{_libdir}/libijs.so
%{_libdir}/libgs.so
%{_libdir}/pkgconfig/ijs.pc
#%if "%{stage1}" != "1"
#%files cups
#%defattr(-,root,root)
#%{_datadir}/cups/model/pxlcolor.ppd
#%{_datadir}/cups/model/pxlmono.ppd
#%{_sysconfdir}/cups/*
#%{_libdir}/cups/filter/*
#%endif
%files gtk
%defattr(-,root,root)
%{_bindir}/gsx
%files X11
%defattr(-,root,root)
%{_libdir}/ghostscript/*/X11.so
%changelog
* Wed Apr 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 9.14-1mamba
- update to 9.14
* Mon Sep 02 2013 Automatic Build System <autodist@mambasoft.it> 9.10-1mamba
- automatic version update by autodist
* Sat Aug 24 2013 Automatic Build System <autodist@mambasoft.it> 9.09-1mamba
- automatic version update by autodist
* Wed Jul 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 9.07-2mamba
- patch to fix broken rendering on european locales (http://bugs.ghostscript.com/show_bug.cgi?id=693843)
* Tue Feb 19 2013 Automatic Build System <autodist@mambasoft.it> 9.07-1mamba
- automatic version update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 9.06-1mamba
- automatic version update by autodist
* Mon Mar 12 2012 Automatic Build System <autodist@mambasoft.it> 9.05-1mamba
- update to 9.05
* Sat Aug 13 2011 Automatic Build System <autodist@mambasoft.it> 9.04-1mamba
- automatic version update by autodist
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 9.02-1mamba
- automatic update by autodist
* Sat Feb 12 2011 Automatic Build System <autodist@mambasoft.it> 9.01-1mamba
- automatic update by autodist
* Mon Oct 25 2010 Automatic Build System <autodist@mambasoft.it> 9.00-1mamba
- update to 9.00
* Tue Feb 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 8.71-3mamba
- rebuilt without freetype support
* Mon Feb 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 8.71-2mamba
- ghostscript-gtk: don't provide libgs.so.8
- added debug package
* Thu Feb 11 2010 Automatic Build System <autodist@mambasoft.it> 8.71-1mamba
- automatic update to 8.71 by autodist
* Sun Aug 02 2009 Automatic Build System <autodist@mambasoft.it> 8.70-1mamba
- automatic update to 8.70 by autodist
* Tue Jun 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 8.64-3mamba
- added build requirement for libkrb5-devel
- added CVE 2009-0195, 2009-0583, 2009-0584, 2009-0792, fPIC patches
* Thu May 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 8.64-2mamba
- remove requirement for gimp-print
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 8.64-1mamba
- automatic update to 8.64 by autodist
* Sun Sep 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 8.63-1mamba
- automatic update to 8.63 by autodist
* Sun Mar 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 8.62-1mamba
- update to 8.62
* Tue Nov 06 2007 Aleph0 <aleph0@openmamba.org> 8.60-2mamba
- build libgs library (required by okular)
- fix CVE-2007-2721
- new subpackage gtk
* Wed Sep 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.60-1mamba
- update to 8.60
* Sat Jun 23 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.57-2mamba
- added X11 subpackage
* Sun Jun 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.57-1mamba
- update to 8.57 from gs-esp-gpl-merger branch
* Wed May 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.56-1mamba
- update to 8.56
* Tue Mar 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.54-3qilnx
- rebuilt
* Tue Feb 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.54-2qilnx
- build with ijs support
* Fri Jan 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.54-1qilnx
- update to version 8.54 by autospec
* Tue Jun 20 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 8.15.2-1qilnx
- update to version 8.15.2 by autospec
* Tue Mar 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 7.07.1-2qilnx
- rebuilt to fix some broken links to nonexistent manpages
- fixed unsecure creating of temporary file in shell scripts
- added missing build requirements
- added basic documentation
* Mon Dec 29 2003 Davide Madrisan <davide.madrisan@qilinux.it> 7.07.1-1qilnx
- rebuilt with version 7.07.1
- added dependency (ghostscript-fonts)
* Thu Jun 19 2003 Silvan Calarco <silvan.calarco@qinet.it> 7.05.6-1qilnx
- first build of espgs