wok rev 6650
Up: ghostscript to 9.00. I added some changes to ghostscript to force it to use system libs.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 10 19:07:42 2010 +0000 (2010-10-10) |
parents | 33e4ff10f11e |
children | 753e7438e58e |
files | ghostscript-dev/receipt ghostscript/receipt |
line diff
1.1 --- a/ghostscript-dev/receipt Sun Oct 10 18:17:23 2010 +0000 1.2 +++ b/ghostscript-dev/receipt Sun Oct 10 19:07:42 2010 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ghostscript-dev" 1.7 -VERSION="8.71" 1.8 +VERSION="9.00" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Ghostscript devel file" 1.11 MAINTAINER="jozee@slitaz.org"
2.1 --- a/ghostscript/receipt Sun Oct 10 18:17:23 2010 +0000 2.2 +++ b/ghostscript/receipt Sun Oct 10 19:07:42 2010 +0000 2.3 @@ -1,16 +1,16 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="ghostscript" 2.7 -VERSION="8.71" 2.8 +VERSION="9.00" 2.9 CATEGORY="office" 2.10 SHORT_DESC="Ghostscript tools and utilities." 2.11 MAINTAINER="jozee@slitaz.org" 2.12 TARBALL="$PACKAGE-$VERSION.tar.xz" 2.13 DEPENDS="gtk+ expat fontconfig freetype gnutls jpeg libgcrypt libgpg-error \ 2.14 libpng tiff zlib cups xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ 2.15 -xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base" 2.16 +xorg-libXdmcp xorg-libXext xorg-libXt gcc-lib-base jasper" 2.17 # build depends are optional ; ghostscripts still build but does not compile in cups support 2.18 -BUILD_DEPENDS="cairo-dev gtk+-dev xorg-dev expat-dev fontconfig-dev freetype-dev gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev zlib-dev cups-dev" 2.19 +BUILD_DEPENDS="cairo-dev gtk+-dev xorg-dev expat-dev fontconfig-dev freetype-dev gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev zlib-dev cups-dev jasper-dev" 2.20 WEB_SITE="http://pages.cs.wisc.edu/~ghost/" 2.21 #WGET_URL="http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs862/$TARBALL" 2.22 WGET_URL="http://ghostscript.com/releases/$TARBALL" 2.23 @@ -20,6 +20,14 @@ 2.24 compile_rules() 2.25 { 2.26 cd $src 2.27 + # force it to use system-libs 2.28 + rm -rf jpeg libpng zlib jasper expat 2.29 + 2.30 + # fix build with system jasper 2.31 + patch -Np1 -i ../stuff/ghostscript-system-jasper.patch 2.32 + 2.33 + # --disable-compile-inits is needed for linking with system-zlib 2.34 + 2.35 ./configure \ 2.36 --prefix=/usr \ 2.37 --infodir=/usr/share/info \ 2.38 @@ -30,6 +38,7 @@ 2.39 --enable-cairo \ 2.40 --enable-gtk \ 2.41 --with-fontpath=/usr/share/fonts/truetype/:/usr/share/fonts \ 2.42 + --disable-compile-inits \ 2.43 $CONFIGURE_ARGS && 2.44 make -j 4 && 2.45 make DESTDIR=$PWD/_pkg install soinstall