Browse Source

add EMF, SWF and plot-SVG support

master
parent
commit
d2bba43ff8
  1. 15
      pstoedit/pstoedit.patch
  2. 7
      pstoedit/pstoedit.spec

15
pstoedit/pstoedit.patch

@ -1,6 +1,6 @@
Index: configure
--- configure.orig 2009-08-13 10:18:46.000000000 +0200
+++ configure 2010-05-07 13:07:48.000000000 +0200
+++ configure 2010-05-07 13:57:30.000000000 +0200
@@ -18160,7 +18160,7 @@
{ $as_echo "$as_me:$LINENO: result: GNU" >&5
$as_echo "GNU" >&6; }
@ -12,7 +12,7 @@ Index: configure
elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
Index: src/Makefile.in
--- src/Makefile.in.orig 2009-08-13 10:18:34.000000000 +0200
+++ src/Makefile.in 2010-05-07 13:06:34.000000000 +0200
+++ src/Makefile.in 2010-05-07 13:57:30.000000000 +0200
@@ -396,7 +396,7 @@
genericints.h \
version.h
@ -22,3 +22,14 @@ Index: src/Makefile.in
libpstoedit_la_LDFLAGS = -no-undefined
pstoedit_SOURCES = cmdmain.cpp
pstoedit_LDFLAGS = -no-undefined -L. libpstoedit.la ${LIBLD_LDFLAGS}
Index: src/drvswf.cpp
--- src/drvswf.cpp.orig 2009-06-21 17:10:21.000000000 +0200
+++ src/drvswf.cpp 2010-05-07 16:01:51.000000000 +0200
@@ -32,7 +32,6 @@
//static bool cubic = false;
#include "mingpp.h"
-#include "ming_config.h"
#if defined(_WIN32)
extern "C" {

7
pstoedit/pstoedit.spec

@ -41,8 +41,8 @@ Patch0: pstoedit.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20100101, ghostscript, gcc
PreReq: OpenPKG, openpkg >= 20100101, ghostscript
BuildPreReq: png, zlib
PreReq: png, zlib
BuildPreReq: png, zlib, libemf, libming, plotutils
PreReq: png, zlib, libemf, libming, plotutils
%description
pstoedit translates PostScript and PDF graphics into other vector
@ -68,6 +68,9 @@ PreReq: png, zlib
./configure \
--prefix=%{l_prefix} \
--mandir=%{l_prefix}/man \
--with-swf \
--with-emf \
--with-libplot \
--disable-shared
%{l_make} %{l_mflags}

Loading…
Cancel
Save