[Fontconfig-bugs] [Bug 30077] fontconfig fails to write cache on Haiku

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 18 14:47:54 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=30077

--- Comment #10 from scottmc <scottmc2 at gmail.com> 2012-06-18 14:47:54 PDT ---
Using bz30077 did the same as before.  Here is the build steps I used:
FONTS_DIR=`finddir B_SYSTEM_FONTS_DIRECTORY`
FONTS_DIR2=`finddir B_COMMON_FONTS_DIRECTORY`
FONTS_DIR3=`finddir B_BEOS_FONTS_DIRECTORY`
FONTS_DIR4=`finddir B_USER_FONTS_DIRECTORY`
CACHE_DIR=`finddir B_USER_CACHE_DIRECTORY`
DOCS_DIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
DATA_DIR=`finddir B_COMMON_DATA_DIRECTORY`

./autogen.sh --prefix=`finddir B_COMMON_DIRECTORY` --enable-libxml2
--with-default-fonts=${FONTS_DIR} \
--with-add-fonts=${FONTS_DIR2},${FONTS_DIR3},${FONTS_DIR4} \
--with-cache-dir=${CACHE_DIR} --mandir=${MAN_DIR}/man \
--docdir=${DOCS_DIR}/doc       --datarootdir=${DATA_DIR}

make
make install

Haiku has a command line utility "finddir" which will return the directory name
for several of it's standard directories, use finddir -l to see a list of all
of the constants it will find locations for.  These will probably change in the
next year or so, so we don't want to hard code them in our build scripts.

If you'd like to test it out yourself you can find recent Haiku VM images here:
http://www.haiku-files.org/unsupported-builds/x86-gcc2/
Git isn't installed by default, but you can have it installed by using the
command line program "installoptionalpackage" by typing "installoptionalpackage
git".  The VM images are small, but might be large enough to test build
fontconfig.  The terminal is located off the "blue leaf" button, then
applications/terminal.  It is bash 4.x based.
Maybe you'll spot something I'm overlooking...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Fontconfig-bugs mailing list