[CM] Snd and Fedora Core 5

Bill Schottstaedt bil@ccrma.Stanford.EDU
Fri, 24 Mar 2006 06:46:58 -0800


Fedora Core 5 goes out of its way to delete Motif (and mwm, which I like!);
to rebuild motif 2.3, you need to replace the two or three includes of
X11/bitmaps/gray (Xm/I18List.c, Xm/IconButton.c) with:

#define gray_width 16
#define gray_height 16
static char gray_bits[] = {
   0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
   0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
   0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
   0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55};

Also, the X11-related configuration process has changed so that my configure
script is confused -- until I figure this out, change the MOTIF_LIBS line
in makefile to use the static Xm library and add -lXft -lpng -ljpeg -lXmu:

MOTIF_LIBS =   -lSM -lICE /usr/X11R6/lib/libXm.a -lXt -lXp -lX11  -lXext -lXpm -lXft -lpng -ljpeg -
lXmu

(FC5 has changed the X11 layout and expects you to use the pkgconfig stuff,
I think -- I don't see any errors in config.log, so I have some digging to do.)