19980404  installing xart  

I usually make a dir for a new source bundle of an app in 
/usr/src, e.g. /usr/src/xart . 


EXECUTABLE
i.e. compiling one......
xart includes a working Makefile for my Linux box. If it doesn't
work you can edit Local.config and do xmkmf. If that doesn't work
then look in Imakefile for problems. Both Imakefile and Local.config 
are used by xmkmf to make a Makefile. Then you can do   make   .
When ./xart works, do   mv xart /usr/X11/bin        maybe.
There are Makefiles in the subdirectories also. If things snag rm
them and do make Makefiles when you have a good top level Makefile.


X RESOURCES
xart will honor X resources in   .../app-defaults/XArt  or ~/.Xdefaults .
The source file xart.ad.in is a valid app-defaults file, as an example.
You don't have to set any resources. xart.ad.in gets compiled in.

PALETTES
XPaint would check .XPaintrc for a palette to load. The executable 
has a compiled in palette, and you can load any palette you've saved 
as a file. maybe xart will check .xartrc for a palette, I don't know.
If there's a BigPatterns file in the distrib you'll want to put that
somewhere where you'll remember it. Probably right where it unpacks is
as good as anything. The DefaultRC file is the stock palette.

DOCUMENTATION
xart.man ( or xart.man.in) goes in your manpath, like in /usr/man/man1/xart.1  


OTHER
I don't think anything else needs to be anywhere other than where is unpacks 
to. 


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
A short guide on how to build and install XPaint.

First, *read* the comments in README.

NOTE: You *must* have X11R5 or newer. X11R4 is obsolete and will *not* work.

Check that all paths etc. in 'Local.config' are correct.
Be sure to add any flags needed for your machine.
Then do

	xmkmf
	make Makefiles
	make
	make install
	make install.man


=============================================================================


			Having Trouble Building XPaint?
			     Here Is Some Help



===  General Problems

Undefined symbol strerror:
	
	Edit Local.config and define MISSING_STRERROR

Undefined symbol strcasecmp:
	
	Edit Local.config and define MISSING_STRCASECMP

===  SCO Unix:

From: Tom Kelly <tom@sco.com>

Since SCO does not ship the Athena widgets with the system, they have
to be obtained.  They are available for free from sosco.sco.com  and
various mirrors (including ftp.uu.net) in the TLS directory.  Both the
R4 and R5 widgets are available.

====  Sun machine:

Undefined symbol:
	_get_wmShellWidgetClass
	_get_applicationShellWidgetClass

	>From: Harald Tveit Alvestrand <harald.t.alvestrand@delab.sintef.no>
	>
	>It turns out that the problem occurs with X11R4 on SunOS 4.1.2 and
	>later. SUN "fixed a bug" in the linker that made it conform to the
	>documentation (AARRGGHH), which, as a side effect, wrecked linking
	>to X11R4.
	>
	> There are only 2 solutions that I know of:
	> - Upgrade to X11R5 libraries, which don't have the problem
	> - Add the following line to the Imakefile:
	>     LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) -Bstatic

================

jspath@mail.bcpl.lib.md.us (Webmaster Jim) suggested this:

I don't have the "Fixed 12" font in my XFree86 system, so I've patched
the earlier version to include a font that I like, Sony 16 (and Sony 24).
I don't recommend this for everyone, but including the following in the
distribution can help others get different startup fonts:

--- operation.c.df  Fri Apr 19 04:53:30 1996
+++ operation.c Sun Jun 16 12:10:16 1996
@@ -830,12 +830,14 @@
        fontSet, "-*-helvetica-medium-r-normal-*-*-120-*-*-p-*-*-*"),
     MI_FLAGCB("Helvetica Bold 12", MF_CHECK | MF_GROUP1,
          fontSet, "-*-helvetica-bold-r-normal-*-*-120-*-*-p-*-*-*"),
-    MI_FLAGCB("Fixed 12", MF_CHECK | MF_GROUP1,
-         fontSet, "-*-fixed-medium-r-normal-*-*-120-*-*-m-*-*-*"),
+    MI_FLAGCB("Sony 16", MF_CHECK|MF_GROUP1,
+        fontSet, "-*-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1"),
+    MI_FLAGCB("Sony 24", MF_CHECK|MF_GROUP1,
+        fontSet, "-*-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1"),
     MI_FLAGCB("Courier 12", MF_CHECK | MF_GROUP1,
          fontSet, "-*-courier-medium-r-normal-*-*-120-*-*-m-*-*-*"),
     MI_SEPERATOR(),
-#define FM_SELECT  11
+#define FM_SELECT 12
     MI_FLAGCB("select", MF_CHECK | MF_GROUP1, fontSet, NULL),
 };
