These notes are from a stock setup, not my personal setup, but the paths are adjusted so I can't test the entire installation, just the obvious stuff that's causing problems.

--------
themes/Makefile
 seems to require a makedepends file.  It's basically a timestamp.

themes Makefile
says to recompile with -fPIC, but should say configure with --enable-shared

images/Makefile dynamic linkage has missing refs.  add -ljpeg -lpng to make
it happy (if congif.h has them set ??).

themes/Makefile
 chokes because there's no 'main' (undefined reference to "start").  This
is cause because all the themes need to be linked dynamic. Add the --shared
 flag AFTER the first file listed (which must be the output file).

 libfltk2 also needs to be linked in all but 'none.theme'.

for example to make kde happy add libfltk2 and --shared flag like so

KDE.theme : $(KDE_OBJ)
$(THEMECOMMAND) $@ $(KDE_OBJ) $(DSOLIBS) $(THEMELIBS) ../lib/libfltk2_images.so ../lib/libfltk2.so --shared


KDE.cxx (or whatever it's called) also needed <fltk/Fonts.h> and "fltk::"
prefixes for font names like BOLD.  I think there were only two of them.

SOME of the other themes may be fixable, but certainly not all of them. There appear to be missing files, 'schemes' that are 'themes' and other stuff that's
either been renamed or built on a non-standard system and we don't have the
parts that would have made them work.

-----
I'm attaching some files that indicate the changes as they need to appear AFTER configuration is done. The Makefiles are automatically generated so these Makefile changes need to be worked in by whatever is creating them.


Attachment: themes-fixups.tar.gz
Description: GNU Zip compressed data

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to