Fixed wrongly named directory. Updated .bep file to use finddir to get the font dirs, except it doesn't seem to be picking up the --with-add-fonts=, also it's failing to write the cache, I suspect that it's trying to write to /boot/system/data/fonts which should fail as it's read-only. I set --with cache= but that didn't seem to help.

TODO: fix this one so that it works correctly.
This commit is contained in:
Scott McCreary
2009-11-28 10:59:24 +00:00
parent 761e289b77
commit 22472dfb9f
2 changed files with 29 additions and 20 deletions

View File

@@ -1,20 +0,0 @@
DESCRIPTION="Fontconfig is a library for font customization and configuration."
HOMEPAGE="http://fontconfig.org"
SRC_URI="http://fontconfig.org/release/fontconfig-2.8.0.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd fontconfig-2.8.0
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=/boot/common --enable-libxml2
make
}
INSTALL {
cd fontconfig-2.8.0
make install
}

View File

@@ -0,0 +1,29 @@
DESCRIPTION="Fontconfig is a library for font customization and configuration."
HOMEPAGE="http://fontconfig.org"
SRC_URI="http://fontconfig.org/release/fontconfig-2.8.0.tar.gz"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd fontconfig-2.8.0
libtoolize --force --copy --install
aclocal
autoconf
automake
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`
./configure --prefix=/boot/common \
--enable-libxml2 \
--with-default-fonts=${FONTS_DIR} \
--with-add-fonts=${FONTS_DIR2},${FONTS_DIR3},${FONTS_DIR4} \
--with-cache-dir=${CACHE_DIR}
make
}
INSTALL {
cd fontconfig-2.8.0
make install
}