fontconfig mess

Michenaud Laurent lmichenaud at free.fr
Mon Nov 4 04:16:51 PST 2002


My script to install fontconfig :

#!/bin/sh

PKGNAME=fcpackage.2_0
LOCATION=http://www.fontconfig.org/release
WORKDIR=/tmp

cd $WORKDIR &&
wget -c ${LOCATION}/${PKGNAME}.tar.gz
tar zxvf ${PKGNAME}.tar.gz &&
cd $PKGNAME &&

#### Configure

	patch -Np0 -i \
	  /zerezo/linux/scripts/x11/polices/fontconfig/xft1.imakefile.patch &&

	pushd fontconfig &&
	./configure --prefix=/usr/local --sysconfdir=/etc &&
	make &&
	popd &&

	export CFLAGS="$CFLAGS -I../fontconfig" &&

	pushd Xrender &&
	xmkmf -a &&
	make &&
	popd &&
	pushd Xft1 &&
	xmkmf -a &&
	popd &&
	pushd Xft &&

	./configure --prefix=/usr/local --sysconfdir=/etc &&
	make &&
	popd &&

	touch /var/install-logs/.timestamp && sleep 2 &&

	pushd fontconfig &&
	make install &&
	popd &&
	pushd Xrender &&
	make install &&
	popd &&
	pushd Xft1 &&

	make install &&
	popd &&
	pushd Xft &&
	make install &&
	popd &&

	install-log $PKGNAME &&

### Cleanup

cd $WORKDIR &&
rm -rf $PKGNAME &&
rm -f ${PKGNAME}.tar.gz



-------------- next part --------------
A non-text attachment was scrubbed...
Name: xft1.imakefile.patch
Type: application/octet-stream
Size: 613 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20021104/412dbd0b/attachment.obj>


More information about the blfs-support mailing list