changeset 3608:7bccd055043e

pstoedit: update to pstoedit 3.62, quote ghostscript path. * src/pstoedit.mk: update to version 3.62. * src/pstoedit-2-gs.patch: quote DEFAULTGS variable.
author John Donoghue
date Mon, 09 Jun 2014 08:18:39 -0400
parents b3e27f5b5b33
children 360eff7d9c06
files src/pstoedit-2-gs.patch src/pstoedit.mk
diffstat 2 files changed, 15 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/pstoedit-2-gs.patch	Mon Jun 09 08:38:54 2014 -0400
+++ b/src/pstoedit-2-gs.patch	Mon Jun 09 08:18:39 2014 -0400
@@ -15,8 +15,20 @@
 +dnl    AC_MSG_ERROR([** Cannot find ghostscript. If it is already installed, Check PATH.])
 +dnl else
 +dnl dnl Strip off // to / that causes troubles.
-+dnl    GS=`echo $GS | sed -e 's/\/\//\//g'`	
++dnl    GS=`echo $GS | sed -e 's/\/\//\//g'`
 +dnl fi
  
  PKG_PROG_PKG_CONFIG
  
+diff -ur pstoedit-3.62.orig/src/Makefile.am pstoedit-3.62/src/Makefile.am
+--- pstoedit-3.62.orig/src/Makefile.am	2014-06-03 12:53:10 -0400
++++ pstoedit-3.62/src/Makefile.am	2014-06-03 12:54:14 -0400
+@@ -31,7 +31,7 @@
+ 	${LIBMAGICK_CFLAGS}			\
+ 	${LIBEMF_CFLAGS}			\
+ 	${LIBPNG_CFLAGS}			\
+-        -DDEFAULTGS=$(GS)			\
++        -DDEFAULTGS="\"$(GS)\""			\
+ 	-DPSTOEDITDATADIR="\"$(pkgdatadir)\""	\
+ 	-DPSTOEDITLIBDIR="\"$(pkglibdir)\""	\
+         ${SPECIAL_CXXFLAGS}
--- a/src/pstoedit.mk	Mon Jun 09 08:38:54 2014 -0400
+++ b/src/pstoedit.mk	Mon Jun 09 08:18:39 2014 -0400
@@ -3,8 +3,8 @@
 
 PKG             := pstoedit
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 3.61
-$(PKG)_CHECKSUM := 426f3746ecb441caa0db401d5880e1ac04a399d5
+$(PKG)_VERSION  := 3.62
+$(PKG)_CHECKSUM := 50d5a4e2fe0e0ff2f73cb094cb945b221083e742
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://sourceforge.net/projects/pstoedit/files/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)/download