wok rev 24598

updated ghostscript and ghostscript-dev (9.02 -> 9.55.0)
author Hans-G?nter Theisgen
date Wed Mar 02 07:25:16 2022 +0100 (2022-03-02)
parents 1f0f29295019
children b55f6ebcce61
files ghostscript-dev/receipt ghostscript/description.txt ghostscript/receipt
line diff
     1.1 --- a/ghostscript-dev/receipt	Tue Mar 01 17:41:56 2022 +0100
     1.2 +++ b/ghostscript-dev/receipt	Wed Mar 02 07:25:16 2022 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ghostscript-dev"
     1.7 -VERSION="9.02"
     1.8 +VERSION="9.55.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Ghostscript devel file"
    1.11 +SHORT_DESC="Ghostscript development files."
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WANTED="ghostscript"
    1.15 @@ -12,6 +12,5 @@
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	mkdir -p $fs/usr/include
    1.20 -	cp -a $install/usr/include $fs/usr
    1.21 +	cook_copy_folders	include
    1.22  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ghostscript/description.txt	Wed Mar 02 07:25:16 2022 +0100
     2.3 @@ -0,0 +1,4 @@
     2.4 +Ghostscript is an interpreter for the PostScript®  language and PDF files.
     2.5 +It has been under active development for over 30 years and has been ported
     2.6 +to several different systems during this time.
     2.7 +Ghostscript consists of a PostScript interpreter layer and a graphics library.
     3.1 --- a/ghostscript/receipt	Tue Mar 01 17:41:56 2022 +0100
     3.2 +++ b/ghostscript/receipt	Wed Mar 02 07:25:16 2022 +0100
     3.3 @@ -1,24 +1,24 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="ghostscript"
     3.7 -VERSION="9.02"
     3.8 +VERSION="9.55.0"
     3.9  CATEGORY="office"
    3.10  SHORT_DESC="Ghostscript tools and utilities."
    3.11  MAINTAINER="jozee@slitaz.org"
    3.12 -LICENSE="GPL3"
    3.13 -WEB_SITE="http://pages.cs.wisc.edu/~ghost/"
    3.14 +LICENSE="AGPL"
    3.15 +WEB_SITE="https://www.ghostscript.com/"
    3.16  
    3.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.18 -#WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL"
    3.19 -WGET_URL="http://downloads.ghostscript.com/public/$TARBALL"
    3.20 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.21 +WGET_URL="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION//./}/$TARBALL"
    3.22  
    3.23 -DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \
    3.24 -	libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    3.25 -	xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" 
    3.26 +DEPENDS="cups expat fontconfig freetype gcc83-lib-base gnutls gtk+ jasper 
    3.27 +	jbig2dec jpeg libgcrypt libgpg-error libpng tiff xorg-libICE 
    3.28 +	xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext 
    3.29 +	xorg-libXt zlib" 
    3.30  # build depends are optional ; ghostscripts still build but does not compile in cups support
    3.31 -BUILD_DEPENDS="cairo-dev gtk+-dev expat-dev fontconfig-dev freetype-dev \
    3.32 -	gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \
    3.33 -	zlib-dev cups-dev jbig2dec jasper-dev"
    3.34 +BUILD_DEPENDS="cairo-dev cups-dev expat-dev fontconfig-dev freetype-dev 
    3.35 +	gcc83 gnutls-dev gtk+-dev jasper-dev jbig2dec jpeg-dev libgcrypt-dev 
    3.36 +	libgpg-error-dev libpng-dev tiff-dev zlib-dev"
    3.37  
    3.38  # What is the latest version available today?
    3.39  current_version()
    3.40 @@ -31,7 +31,7 @@
    3.41  compile_rules()
    3.42  {
    3.43  	# force it to use system-libs
    3.44 -	rm -rf jpeg libpng zlib jasper expat tiff
    3.45 +	rm -rf jpeg libpng zlib jasper expat
    3.46  
    3.47  	# --disable-compile-inits is needed for linking with system-zlib
    3.48  
    3.49 @@ -39,20 +39,21 @@
    3.50  	sed -i '32i#include <cups/ppd.h>' \
    3.51  		cups/colord.h
    3.52  
    3.53 -	./configure				\
    3.54 -		--prefix=/usr			\
    3.55 -		--infodir=/usr/share/info	\
    3.56 -		--mandir=/usr/share/man		\
    3.57 -		--disable-compile-inits		\
    3.58 -		--enable-dynamic		\
    3.59 -		--enable-cups			\
    3.60 -		--enable-cairo			\
    3.61 -		--enable-gtk			\
    3.62 -		--with-fontpath=/usr/share/fonts/truetype/:/usr/share/fonts \
    3.63 -		--disable-compile-inits		\
    3.64 +	./configure								\
    3.65 +		CC=gcc-83							\
    3.66 +		CXX=g++-83							\
    3.67 +		--prefix=/usr							\
    3.68 +		--infodir=/usr/share/info					\
    3.69 +		--mandir=/usr/share/man						\
    3.70 +		--disable-compile-inits						\
    3.71 +		 --enable-cups							\
    3.72 +		 --enable-dynamic						\
    3.73 +		 --enable-gtk							\
    3.74 +		--with-fontpath="/usr/share/fonts/truetype/:/usr/share/fonts"	\
    3.75 +		--with-system-libtiff						\
    3.76  		$CONFIGURE_ARGS &&
    3.77  	make $MAKEFLAGS &&
    3.78 -	make DESTDIR=$DESTDIR install soinstall
    3.79 +	make install soinstall DESTDIR=$DESTDIR
    3.80  }
    3.81  
    3.82  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.83 @@ -66,21 +67,23 @@
    3.84  	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    3.85  
    3.86  	# if cups-dev installed
    3.87 -	cp -a $install/usr/share/cups		$fs/usr/share
    3.88 -	cp -a $install/etc			$fs
    3.89 +	# 9.55.0: not created
    3.90 +#	cp -a $install/usr/share/cups		$fs/usr/share
    3.91 +#	cp -a $install/etc			$fs
    3.92  
    3.93  	# Remove documentation and examples
    3.94  	rm -rf					$fs/usr/share/$PACKAGE/$VERSION/doc
    3.95  	rm -rf					$fs/usr/share/$PACKAGE/$VERSION/examples
    3.96  
    3.97 -	# Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP
    3.98 +	# Remove CMAPs (Non-free : not covered under GPL) :
    3.99 +	# moved to non-free package get-ghostscript-CMAP
   3.100  	rm -rf					$fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/*
   3.101 -	
   3.102 -	# already compiled as a shared library; gsc is same as gs
   3.103 +
   3.104 +	# already compiled as a shared lib; gsc is same as gs
   3.105  	rm -rf					$fs/usr/bin/gs
   3.106  }
   3.107  
   3.108  post_install()
   3.109  {
   3.110 -	ln -sf /usr/bin/gsc "$1/usr/bin/gs"
   3.111 +	ln -sf /usr/bin/gsc			"$1/usr/bin/gs"
   3.112  }