[arch-commits] Commit in ghostscript/repos (3 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Aug 3 10:27:54 UTC 2008


    Date: Sunday, August 3, 2008 @ 06:27:53
  Author: andyrtr
Revision: 7581

Merged revisions 7564-7580 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/ghostscript/trunk

........
  r7575 | andyrtr | 2008-08-03 10:10:34 +0000 (So, 03 Aug 2008) | 2 lines
  
  upgpkg: ghostscript 8.63-2
      fix typo #11099, smp build again, add fPIC patch from Fedora
........
  r7577 | andyrtr | 2008-08-03 10:12:20 +0000 (So, 03 Aug 2008) | 1 line
  
  add missing patch
........
  r7580 | andyrtr | 2008-08-03 10:27:16 +0000 (So, 03 Aug 2008) | 2 lines
  
  upgpkg: ghostscript 8.63-2
      disable smp again, still not safe
........

Added:
  ghostscript/repos/extra-i686/ghostscript-fPIC.patch
    (from rev 7580, ghostscript/trunk/ghostscript-fPIC.patch)
Modified:
  ghostscript/repos/extra-i686/	(properties)
  ghostscript/repos/extra-i686/PKGBUILD

------------------------+
 PKGBUILD               |   16 +++++++++++-----
 ghostscript-fPIC.patch |   31 +++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 5 deletions(-)


Property changes on: ghostscript/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /ghostscript/trunk:1-7563
   + /ghostscript/trunk:1-7580

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-08-03 10:27:16 UTC (rev 7580)
+++ extra-i686/PKGBUILD	2008-08-03 10:27:53 UTC (rev 7581)
@@ -3,7 +3,7 @@
 
 pkgname=ghostscript
 pkgver=8.63
-pkgrel=1
+pkgrel=2
 pkgdesc="An interpreter for the PostScript language"
 arch=(i686 x86_64)
 license=('GPL' 'custom')
@@ -14,19 +14,25 @@
 url="http://www.cs.wisc.edu/~ghost/"
 #url="http://www.cups.org/espgs/"
 install=ghostscript.install
-source=(ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs863/ghostscript-${pkgver}.tar.bz2)
+source=(ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs863/ghostscript-${pkgver}.tar.bz2
+	ghostscript-fPIC.patch)
 options=('!libtool' '!makeflags')
-md5sums=('c770eedfdd846a53e211e3ba5339de21')
+md5sums=('c770eedfdd846a53e211e3ba5339de21'
+         '29540cd88aad9a3a788d68193523080d')
 
 build() {
   cd ${srcdir}/ghostscript-${pkgver}
-  [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
+  if [ "$CARCH" = "x86_64" ]; then
+    patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch || return 1
+  fi
+
   # Build IJS
   cd ${srcdir}/ghostscript-${pkgver}/ijs
   ./autogen.sh
   ./configure --prefix=/usr --enable-shared --disable-static
   make || return 1
-  make DESTDIR=${pkgdir}/g install || return 1
+  make DESTDIR=${pkgdir} install || return 1
+
   cd ..
   ./configure --prefix=/usr --enable-dynamic --enable-threads --with-ijs \
               --with-jbig2dec --with-omni --with-x --with-drivers=ALL\

Copied: ghostscript/repos/extra-i686/ghostscript-fPIC.patch (from rev 7580, ghostscript/trunk/ghostscript-fPIC.patch)
===================================================================
--- extra-i686/ghostscript-fPIC.patch	                        (rev 0)
+++ extra-i686/ghostscript-fPIC.patch	2008-08-03 10:27:53 UTC (rev 7581)
@@ -0,0 +1,31 @@
+--- ghostscript-8.60-r8112/src/lib.mak.fPIC	2007-07-10 17:03:11.000000000 +0100
++++ ghostscript-8.60-r8112/src/lib.mak	2007-07-10 17:05:56.000000000 +0100
+@@ -874,7 +874,7 @@
+ $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\
+  $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\
+  $(gstypes_h)
+-	$(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
++	$(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c
+ 
+ # Future replacement for gsparams.c
+ $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\
+@@ -1077,7 +1077,7 @@
+ 
+ # Provide a mapping between StandardEncoding and ISOLatin1Encoding.
+ $(GLOBJ)gdevemap.$(OBJ) : $(GLSRC)gdevemap.c $(AK) $(std_h)
+-	$(GLCC) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
++	$(GLCCSHARED) $(GLO_)gdevemap.$(OBJ) $(C_) $(GLSRC)gdevemap.c
+ 
+ ###### Create a pseudo-"feature" for the entire graphics library.
+ 
+--- ghostscript-8.60-r8112/src/devs.mak.fPIC	2007-07-10 17:05:00.000000000 +0100
++++ ghostscript-8.60-r8112/src/devs.mak	2007-07-10 17:05:07.000000000 +0100
+@@ -464,7 +464,7 @@
+ 	$(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c
+ 
+ $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h)
+-	$(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
++	$(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
+ 
+ $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\
+  $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h)




More information about the arch-commits mailing list