This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to run texteroids with dpsnx.agent


Hello,

Cygwin/X includes the texteroids executable, which did not work for me.
To make it work, the system must support Display Postscript.
This is how to get it running:

You need at least the following cygwin packages
glib  1.2.10-2 
glib-devel  1.2.10-2 
ghostscript 8.15-2

Get the dgs source package (which may soon disappear; it had been moved
to a directory marked old on the gnustep ftp server.)

ftp ftp.gnustep.org
(...)
ftp> pwd
257 "/pub/gnustep/old/dgs" is current directory.

-rw-r--r--   1 gso_pubftp1 gso_pubftp  3572504 Jun 16  2000 dgs-0.5.10.tar.gz

Download/unpack the package, configure it with

./configure  --disable-glibtest --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

Before running make, change three files:
1. gs/dgsserve.c:
	disable code from L244 ... L259 (#if 0 request_init()... #endif)
2. gs/unix-gcc.mak:
	L238: EXTRALIBS=-lglib
	L242: GLIBINCLUDE=-I/usr/include/glib-1.2 -I/usr/lib/glib/include
3. DPS/clients/makepsres/makepsres.c
	disable code from L129 ... L135 (#if 0 *sys_errlist[] #endif)

make
make install

This installs everything to /usr/local, most importantly
-rwxr-xr-x  1 Gerd Kein 3746710 Feb 12 20:27 /usr/local/bin/dpsnx.agent

The last thing to do is to create a symbolic link from /usr/local/share/ghostscript/fonts
to /usr/share/ghostscript/fonts

start the X server and run
texteroids "Cygwin/X is amazing\!"

Gerd Spalink


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]