[arch-commits] CVS update of arch/build/system/ghostscript (PKGBUILD ghostscript.patch)

Jan de Groot jgc at archlinux.org
Fri Apr 27 19:20:07 UTC 2007


    Date: Friday, April 27, 2007 @ 15:20:07
  Author: jgc
    Path: /home/cvs-arch/arch/build/system/ghostscript

Modified: PKGBUILD (1.36 -> 1.37)
 Removed: ghostscript.patch (1.2)

upgpkg: ghostscript 8.15.4-2
Add license, md5sums, provide ghostscript-lprng


-------------------+
 PKGBUILD          |   16 ++++++++++------
 ghostscript.patch |   45 ---------------------------------------------
 2 files changed, 10 insertions(+), 51 deletions(-)


Index: arch/build/system/ghostscript/PKGBUILD
diff -u arch/build/system/ghostscript/PKGBUILD:1.36 arch/build/system/ghostscript/PKGBUILD:1.37
--- arch/build/system/ghostscript/PKGBUILD:1.36	Sat Mar 17 07:21:30 2007
+++ arch/build/system/ghostscript/PKGBUILD	Fri Apr 27 15:20:06 2007
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD,v 1.36 2007/03/17 11:21:30 tpowa Exp $
+# $Id: PKGBUILD,v 1.37 2007/04/27 19:20:06 jgc Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 pkgname=ghostscript
 pkgver=8.15.4
-pkgrel=1
+pkgrel=2
 pkgdesc="An interpreter for the PostScript language"
 arch=(i686 x86_64)
-depends=(libxext libxt libcups gcc fontconfig gsfonts)
+license=('GPL' 'custom')
+depends=('libxext' 'libxt' 'libcups' 'fontconfig' 'gsfonts')
+replaces=('ghostscript-lrpng')
+provides=('ghostscript-lprng')
 url="http://www.cups.org/espgs/"
 source=(http://ftp.easysw.com/pub/${pkgname}/${pkgver}/espgs-${pkgver}-source.tar.bz2)
+md5sums=('e74e0463e0bfb1cea3db245d8e71828c')
 
 build() {
   cd ${startdir}/src/espgs-${pkgver}
-  [ "$CARCH" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
+  [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
   ./configure --prefix=/usr --enable-dynamic --enable-threads --with-ijs \
               --with-jbig2dec --with-omni --with-x \
 	      --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts
   make -j1 || return 1
   make install \
        install_prefix=${startdir}/pkg \
-       #prefix=${startdir}/pkg/usr \
-       #datadir=${startdir}/pkg/usr/share \
        cups_serverroot=${startdir}/pkg/etc/cups \
        cups_serverbin=${startdir}/pkg/usr/lib/cups
+  mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}
+  install -m644 LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/
 }
Index: arch/build/system/ghostscript/ghostscript.patch
diff -u arch/build/system/ghostscript/ghostscript.patch:1.2 arch/build/system/ghostscript/ghostscript.patch:removed
--- arch/build/system/ghostscript/ghostscript.patch:1.2	Thu Sep 25 14:11:27 2003
+++ arch/build/system/ghostscript/ghostscript.patch	Fri Apr 27 15:20:07 2007
@@ -1,45 +0,0 @@
-diff -Naur espgs-7.07.1rc2-orig/Makefile.in espgs-7.07.1rc2/Makefile.in
---- espgs-7.07.1rc2-orig/Makefile.in	2003-07-12 21:43:17.000000000 -0700
-+++ espgs-7.07.1rc2/Makefile.in	2003-09-25 10:43:29.000000000 -0700
-@@ -59,7 +59,7 @@
- libdir = @libdir@
- mandir = @mandir@
- man1ext = 1
--datadir = @datadir@
-+datadir = $(prefix)@datadir@
- gsdir = $(datadir)/ghostscript
- gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
- 
-diff -Naur espgs-7.07.1rc2-orig/configure espgs-7.07.1rc2/configure
---- espgs-7.07.1rc2-orig/configure	2003-08-29 11:04:09.000000000 -0700
-+++ espgs-7.07.1rc2/configure	2003-09-25 10:43:01.000000000 -0700
-@@ -4827,16 +4827,12 @@
- 
- if test "x$fontpath" = "x"; then
- 	# These font directories are used by various Linux distributions...
--	fontpath="$datadir/fonts/default/ghostscript"
--	fontpath="${fontpath}:$datadir/fonts/default/Type1"
-+	fontpath="$datadir/fonts/default/Type1"
- 	fontpath="${fontpath}:$datadir/fonts/default/TrueType"
- 
- 	# These font directories are used by IRIX...
--	fontpath="${fontpath}:/usr/lib/DPS/outline/base"
- 
- 	# These font directories are used by Solaris...
--	fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1"
--	fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType"
- fi
- 
- 
-diff -Naur espgs-7.07.1rc2-orig/src/Makefile.in espgs-7.07.1rc2/src/Makefile.in
---- espgs-7.07.1rc2-orig/src/Makefile.in	2003-07-12 21:43:17.000000000 -0700
-+++ espgs-7.07.1rc2/src/Makefile.in	2003-09-25 10:43:29.000000000 -0700
-@@ -59,7 +59,7 @@
- libdir = @libdir@
- mandir = @mandir@
- man1ext = 1
--datadir = @datadir@
-+datadir = $(prefix)@datadir@
- gsdir = $(datadir)/ghostscript
- gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
- 




More information about the arch-commits mailing list