]> git.lyx.org Git - lyx.git/commitdiff
converters patch from Michael Schmitt
authorLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 12 Jan 2003 22:51:59 +0000 (22:51 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 12 Jan 2003 22:51:59 +0000 (22:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5937 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/configure.m4

index e62ec176f547547b7d1d706c54f7838ad7267fb8..abaefb8c120c1d520e4b0fdc6dfcdb8b347cfadb 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
+
+       * configure.m4: Replace fig/tgif/agr->xpm converters by
+       fig/tgif/agr->ppm/jpeg converters
+
 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * Makefile.am (EXTRA_DIST): fix for distcheck
index cc410453e61b75f33cd05a19217f760477bbcedb..f95f6337f2b9309940d1cbcbb30f73f93ffeee88 100644 (file)
@@ -497,11 +497,11 @@ EOF
 ### the graphic converter part with the predefined ones
 #### Search for tne nonstandard converting progs
 #
-SEARCH_PROG([for an FIG -> EPS/XPM converter], FIG2DEV, fig2dev)
+SEARCH_PROG([for an FIG -> EPS/PPM converter], FIG2DEV, fig2dev)
 if test "$FIG2DEV" = "fig2dev"; then
 cat >>$outfile <<EOF
 \\converter fig eps "fig2dev -L eps \$\$i \$\$o" ""
-\\converter fig xpm "fig2dev -L xpm \$\$i \$\$o" ""
+\\converter fig ppm "fig2dev -L ppm \$\$i \$\$o" ""
 EOF
 fi
 
@@ -512,13 +512,13 @@ cat >>$outfile <<EOF
 EOF
 fi
 
-SEARCH_PROG([for an TGIF -> EPS/XPM converter], TGIF, tgif)
+SEARCH_PROG([for an TGIF -> EPS/PPM converter], TGIF, tgif)
 if test "$TGIF" = "tgif"; then
 cat >>$outfile <<EOF
 \\converter tgif eps "tgif -print -eps \$\$i" ""
 \\converter tgif pdf "tgif -print -pdf \$\$i" ""
 \\converter tgif png "tgif -print -png \$\$i" ""
-\\converter tgif xpm "tgif -print -stdout -xpm \$\$i > \$\$o" ""
+\\converter tgif ppm "tgif -print -stdout -xpm \$\$i | xpmtoppm > \$\$o" ""
 EOF
 fi
 
@@ -535,7 +535,7 @@ if test "$GRACE" = "gracebat"; then
 cat >>$outfile <<EOF
 \\converter agr eps "gracebat -hardcopy -printfile \$\$o -hdevice EPS \$\$i 2>/dev/null" ""
 \\converter agr png "gracebat -hardcopy -printfile \$\$o -hdevice PNG \$\$i 2>/dev/null" ""
-\\converter agr xpm "gracebat -hardcopy -printfile - -hdevice PNG \$\$i 2>/dev/null | convert - \$\$o" ""
+\\converter agr jpg "gracebat -hardcopy -printfile \$\$o -hdevice JPEG \$\$i 2>/dev/null" ""
 EOF
 fi