# HG changeset patch # User Hans-G?nter Theisgen # Date 1646202316 -3600 # Node ID bbb38f5d2cd9d615bbec12904eef322bb01d65e0 # Parent 1f0f29295019a0ea088b6d5e5bf66f8afb9e1b75 updated ghostscript and ghostscript-dev (9.02 -> 9.55.0) diff -r 1f0f29295019 -r bbb38f5d2cd9 ghostscript-dev/receipt --- a/ghostscript-dev/receipt Tue Mar 01 17:41:56 2022 +0100 +++ b/ghostscript-dev/receipt Wed Mar 02 07:25:16 2022 +0100 @@ -1,9 +1,9 @@ # SliTaz package receipt. PACKAGE="ghostscript-dev" -VERSION="9.02" +VERSION="9.55.0" CATEGORY="development" -SHORT_DESC="Ghostscript devel file" +SHORT_DESC="Ghostscript development files." MAINTAINER="jozee@slitaz.org" LICENSE="GPL3" WANTED="ghostscript" @@ -12,6 +12,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/include - cp -a $install/usr/include $fs/usr + cook_copy_folders include } diff -r 1f0f29295019 -r bbb38f5d2cd9 ghostscript/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ghostscript/description.txt Wed Mar 02 07:25:16 2022 +0100 @@ -0,0 +1,4 @@ +Ghostscript is an interpreter for the PostScript® language and PDF files. +It has been under active development for over 30 years and has been ported +to several different systems during this time. +Ghostscript consists of a PostScript interpreter layer and a graphics library. diff -r 1f0f29295019 -r bbb38f5d2cd9 ghostscript/receipt --- a/ghostscript/receipt Tue Mar 01 17:41:56 2022 +0100 +++ b/ghostscript/receipt Wed Mar 02 07:25:16 2022 +0100 @@ -1,24 +1,24 @@ # SliTaz package receipt. PACKAGE="ghostscript" -VERSION="9.02" +VERSION="9.55.0" CATEGORY="office" SHORT_DESC="Ghostscript tools and utilities." MAINTAINER="jozee@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://pages.cs.wisc.edu/~ghost/" +LICENSE="AGPL" +WEB_SITE="https://www.ghostscript.com/" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -#WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL" -WGET_URL="http://downloads.ghostscript.com/public/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION//./}/$TARBALL" -DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \ - libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ - xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper jbig2dec" +DEPENDS="cups expat fontconfig freetype gcc83-lib-base gnutls gtk+ jasper + jbig2dec jpeg libgcrypt libgpg-error libpng tiff xorg-libICE + xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext + xorg-libXt zlib" # build depends are optional ; ghostscripts still build but does not compile in cups support -BUILD_DEPENDS="cairo-dev gtk+-dev expat-dev fontconfig-dev freetype-dev \ - gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \ - zlib-dev cups-dev jbig2dec jasper-dev" +BUILD_DEPENDS="cairo-dev cups-dev expat-dev fontconfig-dev freetype-dev + gcc83 gnutls-dev gtk+-dev jasper-dev jbig2dec jpeg-dev libgcrypt-dev + libgpg-error-dev libpng-dev tiff-dev zlib-dev" # What is the latest version available today? current_version() @@ -31,7 +31,7 @@ compile_rules() { # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff + rm -rf jpeg libpng zlib jasper expat # --disable-compile-inits is needed for linking with system-zlib @@ -39,20 +39,21 @@ sed -i '32i#include ' \ cups/colord.h - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --disable-compile-inits \ - --enable-dynamic \ - --enable-cups \ - --enable-cairo \ - --enable-gtk \ - --with-fontpath=/usr/share/fonts/truetype/:/usr/share/fonts \ - --disable-compile-inits \ + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --disable-compile-inits \ + --enable-cups \ + --enable-dynamic \ + --enable-gtk \ + --with-fontpath="/usr/share/fonts/truetype/:/usr/share/fonts" \ + --with-system-libtiff \ $CONFIGURE_ARGS && make $MAKEFLAGS && - make DESTDIR=$DESTDIR install soinstall + make install soinstall DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -66,21 +67,23 @@ cp -a $install/usr/share/$PACKAGE $fs/usr/share # if cups-dev installed - cp -a $install/usr/share/cups $fs/usr/share - cp -a $install/etc $fs + # 9.55.0: not created +# cp -a $install/usr/share/cups $fs/usr/share +# cp -a $install/etc $fs # Remove documentation and examples rm -rf $fs/usr/share/$PACKAGE/$VERSION/doc rm -rf $fs/usr/share/$PACKAGE/$VERSION/examples - # Remove CMAPs (Non-free : not covered under GPL) : moved to non-free package get-ghostscript-CMAP + # Remove CMAPs (Non-free : not covered under GPL) : + # moved to non-free package get-ghostscript-CMAP rm -rf $fs/usr/share/$PACKAGE/$VERSION/Resource/CMap/* - - # already compiled as a shared library; gsc is same as gs + + # already compiled as a shared lib; gsc is same as gs rm -rf $fs/usr/bin/gs } post_install() { - ln -sf /usr/bin/gsc "$1/usr/bin/gs" + ln -sf /usr/bin/gsc "$1/usr/bin/gs" }