ftp.nice.ch/pub/next/unix/graphics/ImageMagick.3.8.6.s.tar.gz#/ImageMagick/xlib

Makefile
 
Makefile.in
 
README
 
X11/
 
X11_stubs.c
[View X11_stubs.c] 
configure
 
configure.in
 
dirent.h
[View dirent.h] 
install-sh
 
pwd.h
[View pwd.h] 

README

ImageMagick, version 3.7.2, is a package for display and interactive
manipulation of images for the X Window System. It is written in C and
interfaces to the X library, and therefore does not require any
proprietary toolkit in order to compile.    However, some Posix systems
do not have the X11 libraries.    With the X11 Stubs library display and
animate will not work.    However convert, for example, will some limited
functionality.    You can convert JPEG to TIFF for example, but with the
X11 Stubs library you will not be able to read or write XPM images.

The credit for X11_stubs.c goes to the X11 Consortium.    I created it
from Xlib.h, Xresource.h, and Xutils.h.    To compile, type

    configure
    make

If you are using xmkmf, edit Magick.tmpl and add -Ixlib to the compile
definitions and -Lxlib -lX11_stubs to the load.    The compile will look
like this:

    cc -o convert -Ixlib convert.c ... -Lxlib -lX11_stubs ...

If you are using configure, edit Makefile.in and change the X_INCLUDE
and X_LIBRARIES definitions to look like:

    X_INCLUDES = @X_CFLAGS@ -Ixlib
    X_LIBRARIES = @X_LIBS@ @X_EXTRA_LIBS@ -Lxlib -lX11_stubs

The compile will look like this:

    cc -o convert -Ixlib convert.c ... -Lxlib -lX11_stubs ...

You also need to make a link in the magick directory so it can find xlib
using the -Ixlib compile flag.

    cd magick
    ln -s ../xlib xlib

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.