CSL Reduce install question
Mark Brethen
mark.brethen at gmail.com
Wed Dec 28 18:38:47 PST 2011
The CSL based build of the whole of REDUCE from scratch involves the following steps:
compile the FOX GUI toolkit
compile CSL sources to make a "bootstrapreduce" executable
use that to process the reduce sources to create "bootstrapreduce.img"
run all REDUCE tests to create profile information
using the profile information compile some scattered REDUCE sources
into C code
compile that C and link with bits of CSL to make the "reduce" executable
Using that create "reduce.img"
As with the PSL version, the make install is useless. Debian install is as follows:
CSLBUILDDIR=$(TOPDIR)/cslbuild/$(BUILDDIR)
SHAREDIR=$(INSTALLDIR)/usr/share/reduce
LIBDIR=$(INSTALLDIR)/usr/lib/reduce
FONTDIR=$(INSTALLDIR)/usr/share/reduce/fonts
DOCDIR=$(INSTALLDIR)/usr/share/doc/reduce
BINDIR=$(INSTALLDIR)/usr/bin
MANDIR=$(INSTALLDIR)/usr/share/man
cp $(CSLBUILDDIR)/csl/ $(CSLBUILDDIR)/csl/reduce $(LIBDIR)/cslbuild/csl
$(RSYNC_CMD) --exclude "/src/***" $(CSLBUILDDIR)/csl/reduce.fonts/ $(FONTDIR)
chmod -x $(FONTDIR)/*.ttf
$(RSYNC_CMD) $(PSLBUILDDIR)/red/ $(LIBDIR)/pslbuild/red/
$(RSYNC_CMD) --no-perms --exclude "/regressions/***" $(TOPDIR)/packages/ $(SHAREDIR)/packages/
cp -a runcsl.sh $(BINDIR)/redcsl
The equivalent Macports install directories would be:
/opt/local/share/${name}
/opt/local/lib/${name} -or- /opt/local/libexec/${name}
/opt/local/share/${name}/fonts
/opt/local/share/doc/${name}
/opt/local/bin
/opt/local/share/man
Is my interpretation correct? Also, how does fontconfig find the included fonts?
Mark
More information about the macports-dev
mailing list