Thread: ghostscript?
View Single Post
Old 04-03-2012, 06:41 PM   #6
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,057
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I got it to build last night, but haven't tested it yet. I downloaded the qemu image file for debian lenny that was linked to in the qemu ARM page. This distro is older than the debian sid file used by LoneTech, so it has a better chance of being compatible with what's on the PB devices. I loaded up the image with development tools, and then built ghostscript in it with the following configuration:

Code:
 $ ./configure --prefix=/mnt/ext1/system --with-fontpath=/ebrmain/fonts/ --with-fontpath=/mnt/ext1/system/fonts/ --without-ijs --disable-dbus --disable-cups --disable-gtk --disable-sse2 --without-libidn --without-libpaper --without-pdftoraster --without-x --without-jbig2dec --without-jasper --without-omni --with-drivers=FILES
After it built, I created a directory in tmp, and did the install there:

Code:
mkdir /tmp/gs
make install DESTDIR=/tmp/gs
I then went in and pruned out the man pages, examples and whatnot that wasn't required, and tarred up everything else. Hopefully, it should just unpack into /mnt/ext1/system on the reader and "just work".

Edit: It worked! I was able to produce a grayscale tiff from a colour postscript file.

Last edited by rkomar; 04-03-2012 at 06:51 PM.
rkomar is offline   Reply With Quote