[xorg-commit-diffs] xc/extras/fontconfig Makefile.am, NONE,
1.1.6.1 aclocal.m4, NONE, 1.1.6.1 config.guess, NONE,
1.1.6.1 config.sub, NONE, 1.1.6.1 depcomp, NONE,
1.1.6.1 fontconfig-zip.in, NONE, 1.1.6.1 fontconfig.spec, NONE,
1.1.6.1 fontconfig.spec.in, NONE, 1.1.6.1 install-sh, NONE,
1.1.6.1 local.conf, NONE, 1.1.6.1 ltmain.sh, NONE,
1.1.6.1 missing, NONE, 1.1.6.1 mkinstalldirs, NONE,
1.1.6.1 COPYING, 1.1.4.1, 1.1.4.2 ChangeLog, 1.1,
1.1.4.1 INSTALL, 1.1, 1.1.4.1 Makefile.in, 1.1.4.1,
1.1.4.2 README, 1.1, 1.1.4.1 config.h.in, 1.1,
1.1.4.1 configure, 1.1, 1.1.4.1 configure.in, 1.1.4.1,
1.1.4.2 fontconfig.pc.in, 1.1, 1.1.4.1 fonts.conf.in, 1.1,
1.1.4.1 fonts.dtd, 1.1, 1.1.4.1 Imakefile, 1.1.4.1,
NONE cvscompile.sh, 1.1, NONE findfonts, 1.1,
NONE fontconfig-config.in, 1.1, NONE
Egbert Eich
xorg-commit at pdx.freedesktop.org
Thu Apr 15 03:13:55 PDT 2004
- Previous message: [xorg-commit-diffs]
xc/extras/fontconfig/doc FcAtomicCreate.3, NONE,
1.1.6.1 FcAtomicDeleteNew.3, NONE, 1.1.6.1 FcAtomicDestroy.3,
NONE, 1.1.6.1 FcAtomicLock.3, NONE, 1.1.6.1 FcAtomicNewFile.3,
NONE, 1.1.6.1 FcAtomicOrigFile.3, NONE,
1.1.6.1 FcAtomicReplaceOrig.3, NONE, 1.1.6.1 FcAtomicUnlock.3,
NONE, 1.1.6.1 FcBlanksAdd.3, NONE, 1.1.6.1 FcBlanksCreate.3,
NONE, 1.1.6.1 FcBlanksDestroy.3, NONE,
1.1.6.1 FcBlanksIsMember.3, NONE, 1.1.6.1 FcCharSetAddChar.3,
NONE, 1.1.6.1 FcCharSetCopy.3, NONE, 1.1.6.1 FcCharSetCount.3,
NONE, 1.1.6.1 FcCharSetCreate.3, NONE,
1.1.6.1 FcCharSetDestroy.3, NONE, 1.1.6.1 FcCharSetEqual.3,
NONE, 1.1.6.1 FcCharSetFirstPage.3, NONE,
1.1.6.1 FcCharSetHasChar.3, NONE, 1.1.6.1 FcCharSetIntersect.3,
NONE, 1.1.6.1 FcCharSetIntersectCount.3, NONE,
1.1.6.1 FcCharSetIsSubset.3, NONE, 1.1.6.1 FcCharSetNextPage.3,
NONE, 1.1.6.1 FcCharSetSubtract.3, NONE,
1.1.6.1 FcCharSetSubtractCount.3, NONE,
1.1.6.1 FcCharSetUnion.3, NONE,
1.1.6.1 FcConfigAppFontAddDir.3, NONE,
1.1.6.1 FcConfigAppFontAddFile.3, NONE,
1.1.6.1 FcConfigAppFontClear.3, NONE,
1.1.6.1 FcConfigBuildFonts.3, NONE, 1.1.6.1 FcConfigCreate.3,
NONE, 1.1.6.1 FcConfigDestroy.3, NONE,
1.1.6.1 FcConfigFilename.3, NONE, 1.1.6.1 FcConfigGetBlanks.3,
NONE, 1.1.6.1 FcConfigGetCache.3, NONE,
1.1.6.1 FcConfigGetConfigDirs.3, NONE,
1.1.6.1 FcConfigGetConfigFiles.3, NONE,
1.1.6.1 FcConfigGetCurrent.3, NONE,
1.1.6.1 FcConfigGetFontDirs.3, NONE,
1.1.6.1 FcConfigGetFonts.3, NONE,
1.1.6.1 FcConfigGetRescanInverval.3, NONE,
1.1.6.1 FcConfigParseAndLoad.3, NONE,
1.1.6.1 FcConfigSetCurrent.3, NONE,
1.1.6.1 FcConfigSetRescanInverval.3, NONE,
1.1.6.1 FcConfigSubstitute.3, NONE,
1.1.6.1 FcConfigSubstituteWithPat.3, NONE,
1.1.6.1 FcConfigUptoDate.3, NONE,
1.1.6.1 FcDefaultSubstitute.3, NONE, 1.1.6.1 FcDirCacheValid.3,
NONE, 1.1.6.1 FcDirSave.3, NONE, 1.1.6.1 FcDirScan.3, NONE,
1.1.6.1 FcFileScan.3, NONE, 1.1.6.1 FcFontList.3, NONE,
1.1.6.1 FcFontMatch.3, NONE, 1.1.6.1 FcFontRenderPrepare.3,
NONE, 1.1.6.1 FcFontSetAdd.3, NONE, 1.1.6.1 FcFontSetCreate.3,
NONE, 1.1.6.1 FcFontSetDestroy.3, NONE, 1.1.6.1 FcFontSort.3,
NONE, 1.1.6.1 FcFreeTypeCharIndex.3, NONE,
1.1.6.1 FcFreeTypeCharSet.3, NONE, 1.1.6.1 FcFreeTypeQuery.3,
NONE, 1.1.6.1 FcGetVersion.3, NONE, 1.1.6.1 FcInit.3, NONE,
1.1.6.1 FcInitBringUptoDate.3, NONE,
1.1.6.1 FcInitLoadConfig.3, NONE,
1.1.6.1 FcInitLoadConfigAndFonts.3, NONE,
1.1.6.1 FcInitReinitialize.3, NONE, 1.1.6.1 FcMatrixCopy.3,
NONE, 1.1.6.1 FcMatrixEqual.3, NONE, 1.1.6.1 FcMatrixInit.3,
NONE, 1.1.6.1 FcMatrixMultiply.3, NONE,
1.1.6.1 FcMatrixRotate.3, NONE, 1.1.6.1 FcMatrixScale.3, NONE,
1.1.6.1 FcMatrixShear.3, NONE, 1.1.6.1 FcNameConstant.3, NONE,
1.1.6.1 FcNameGetConstant.3, NONE,
1.1.6.1 FcNameGetObjectType.3, NONE, 1.1.6.1 FcNameParse.3,
NONE, 1.1.6.1 FcNameRegisterConstants.3, NONE,
1.1.6.1 FcNameRegisterObjectTypes.3, NONE,
1.1.6.1 FcNameUnparse.3, NONE,
1.1.6.1 FcNameUnregisterConstants.3, NONE,
1.1.6.1 FcNameUnregisterObjectTypes.3, NONE,
1.1.6.1 FcObjectSetAdd.3, NONE, 1.1.6.1 FcObjectSetBuild.3,
NONE, 1.1.6.1 FcObjectSetCreate.3, NONE,
1.1.6.1 FcObjectSetDestroy.3, NONE,
1.1.6.1 FcPatternAdd-Type.3, NONE, 1.1.6.1 FcPatternAdd.3,
NONE, 1.1.6.1 FcPatternAddWeak.3, NONE,
1.1.6.1 FcPatternBuild.3, NONE, 1.1.6.1 FcPatternCreate.3,
NONE, 1.1.6.1 FcPatternDel.3, NONE, 1.1.6.1 FcPatternDestroy.3,
NONE, 1.1.6.1 FcPatternEqual.3, NONE,
1.1.6.1 FcPatternEqualSubset.3, NONE,
1.1.6.1 FcPatternGet-Type.3, NONE, 1.1.6.1 FcPatternGet.3,
NONE, 1.1.6.1 FcPatternHash.3, NONE, 1.1.6.1 FcPatternPrint.3,
NONE, 1.1.6.1 FcStrBasename.3, NONE,
1.1.6.1 FcStrCmpIgnoreCase.3, NONE, 1.1.6.1 FcStrCopy.3, NONE,
1.1.6.1 FcStrCopyFilename.3, NONE, 1.1.6.1 FcStrDirname.3,
NONE, 1.1.6.1 FcStrListCreate.3, NONE, 1.1.6.1 FcStrListDone.3,
NONE, 1.1.6.1 FcStrListNext.3, NONE, 1.1.6.1 FcStrSetAdd.3,
NONE, 1.1.6.1 FcStrSetAddFilename.3, NONE,
1.1.6.1 FcStrSetCreate.3, NONE, 1.1.6.1 FcStrSetDel.3, NONE,
1.1.6.1 FcStrSetDestroy.3, NONE, 1.1.6.1 FcStrSetMember.3,
NONE, 1.1.6.1 FcUcs4ToUtf8.3, NONE, 1.1.6.1 FcUtf16Len.3, NONE,
1.1.6.1 FcUtf16ToUcs4.3, NONE, 1.1.6.1 FcUtf8Len.3, NONE,
1.1.6.1 FcUtf8ToUcs4.3, NONE, 1.1.6.1 FcValueDestroy.3, NONE,
1.1.6.1 FcValueSave.3, NONE, 1.1.6.1 Makefile.am, NONE,
1.1.6.1 Makefile.in, NONE, 1.1.6.1 edit-sgml.c, NONE,
1.1.6.1 fcatomic.fncs, NONE, 1.1.6.1 fcblanks.fncs, NONE,
1.1.6.1 fccharset.fncs, NONE, 1.1.6.1 fcconfig.fncs, NONE,
1.1.6.1 fcconstant.fncs, NONE, 1.1.6.1 fcfile.fncs, NONE,
1.1.6.1 fcfontset.fncs, NONE, 1.1.6.1 fcfreetype.fncs, NONE,
1.1.6.1 fcinit.fncs, NONE, 1.1.6.1 fcmatrix.fncs, NONE,
1.1.6.1 fcobjectset.fncs, NONE, 1.1.6.1 fcobjecttype.fncs,
NONE, 1.1.6.1 fcpattern.fncs, NONE, 1.1.6.1 fcstring.fncs,
NONE, 1.1.6.1 fcstrset.fncs, NONE, 1.1.6.1 fcvalue.fncs, NONE,
1.1.6.1 fontconfig-devel.sgml, NONE,
1.1.6.1 fontconfig-devel.txt, NONE,
1.1.6.1 fontconfig-user.html, NONE,
1.1.6.1 fontconfig-user.sgml, NONE,
1.1.6.1 fontconfig-user.txt, NONE, 1.1.6.1 fonts-conf.5, NONE,
1.1.6.1 func.sgml, NONE, 1.1.6.1 version.sgml.in, NONE, 1.1.6.1
- Next message: [xorg-commit-diffs] xc/extras/fontconfig/doc/fontconfig-devel
index.html, NONE, 1.1.6.1 r1016.html, NONE, 1.1.6.1 r1042.html,
NONE, 1.1.6.1 r1064.html, NONE, 1.1.6.1 r1087.html, NONE,
1.1.6.1 r1111.html, NONE, 1.1.6.1 r1134.html, NONE,
1.1.6.1 r1159.html, NONE, 1.1.6.1 r1184.html, NONE,
1.1.6.1 r120.html, NONE, 1.1.6.1 r1209.html, NONE,
1.1.6.1 r1234.html, NONE, 1.1.6.1 r1259.html, NONE,
1.1.6.1 r1281.html, NONE, 1.1.6.1 r1306.html, NONE,
1.1.6.1 r1331.html, NONE, 1.1.6.1 r1356.html, NONE,
1.1.6.1 r1383.html, NONE, 1.1.6.1 r141.html, NONE,
1.1.6.1 r1414.html, NONE, 1.1.6.1 r1437.html, NONE,
1.1.6.1 r1460.html, NONE, 1.1.6.1 r1486.html, NONE,
1.1.6.1 r1515.html, NONE, 1.1.6.1 r1545.html, NONE,
1.1.6.1 r1575.html, NONE, 1.1.6.1 r1608.html, NONE,
1.1.6.1 r162.html, NONE, 1.1.6.1 r1629.html, NONE,
1.1.6.1 r1650.html, NONE, 1.1.6.1 r1672.html, NONE,
1.1.6.1 r1693.html, NONE, 1.1.6.1 r1715.html, NONE,
1.1.6.1 r1736.html, NONE, 1.1.6.1 r1758.html, NONE,
1.1.6.1 r1780.html, NONE, 1.1.6.1 r1802.html, NONE,
1.1.6.1 r1823.html, NONE, 1.1.6.1 r183.html, NONE,
1.1.6.1 r1847.html, NONE, 1.1.6.1 r1868.html, NONE,
1.1.6.1 r1890.html, NONE, 1.1.6.1 r1913.html, NONE,
1.1.6.1 r1936.html, NONE, 1.1.6.1 r1959.html, NONE,
1.1.6.1 r1980.html, NONE, 1.1.6.1 r2009.html, NONE,
1.1.6.1 r2034.html, NONE, 1.1.6.1 r204.html, NONE,
1.1.6.1 r2062.html, NONE, 1.1.6.1 r2099.html, NONE,
1.1.6.1 r2130.html, NONE, 1.1.6.1 r2157.html, NONE,
1.1.6.1 r2181.html, NONE, 1.1.6.1 r2207.html, NONE,
1.1.6.1 r2231.html, NONE, 1.1.6.1 r2255.html, NONE,
1.1.6.1 r228.html, NONE, 1.1.6.1 r2280.html, NONE,
1.1.6.1 r2304.html, NONE, 1.1.6.1 r2328.html, NONE,
1.1.6.1 r2350.html, NONE, 1.1.6.1 r2378.html, NONE,
1.1.6.1 r2399.html, NONE, 1.1.6.1 r2420.html, NONE,
1.1.6.1 r2443.html, NONE, 1.1.6.1 r2469.html, NONE,
1.1.6.1 r249.html, NONE, 1.1.6.1 r2491.html, NONE,
1.1.6.1 r2513.html, NONE, 1.1.6.1 r2535.html, NONE,
1.1.6.1 r2557.html, NONE, 1.1.6.1 r2579.html, NONE,
1.1.6.1 r2600.html, NONE, 1.1.6.1 r2621.html, NONE,
1.1.6.1 r2646.html, NONE, 1.1.6.1 r2682.html, NONE,
1.1.6.1 r270.html, NONE, 1.1.6.1 r2717.html, NONE,
1.1.6.1 r2745.html, NONE, 1.1.6.1 r2770.html, NONE,
1.1.6.1 r2791.html, NONE, 1.1.6.1 r2816.html, NONE,
1.1.6.1 r2841.html, NONE, 1.1.6.1 r2866.html, NONE,
1.1.6.1 r2892.html, NONE, 1.1.6.1 r2914.html, NONE,
1.1.6.1 r2936.html, NONE, 1.1.6.1 r295.html, NONE,
1.1.6.1 r2958.html, NONE, 1.1.6.1 r2983.html, NONE,
1.1.6.1 r3012.html, NONE, 1.1.6.1 r3037.html, NONE,
1.1.6.1 r3069.html, NONE, 1.1.6.1 r3102.html, NONE,
1.1.6.1 r3138.html, NONE, 1.1.6.1 r3161.html, NONE,
1.1.6.1 r3184.html, NONE, 1.1.6.1 r3209.html, NONE,
1.1.6.1 r323.html, NONE, 1.1.6.1 r3231.html, NONE,
1.1.6.1 r344.html, NONE, 1.1.6.1 r372.html, NONE,
1.1.6.1 r401.html, NONE, 1.1.6.1 r476.html, NONE,
1.1.6.1 r504.html, NONE, 1.1.6.1 r591.html, NONE,
1.1.6.1 r632.html, NONE, 1.1.6.1 r655.html, NONE,
1.1.6.1 r676.html, NONE, 1.1.6.1 r704.html, NONE,
1.1.6.1 r726.html, NONE, 1.1.6.1 r750.html, NONE,
1.1.6.1 r771.html, NONE, 1.1.6.1 r792.html, NONE,
1.1.6.1 r818.html, NONE, 1.1.6.1 r839.html, NONE,
1.1.6.1 r862.html, NONE, 1.1.6.1 r883.html, NONE,
1.1.6.1 r917.html, NONE, 1.1.6.1 r940.html, NONE,
1.1.6.1 r963.html, NONE, 1.1.6.1 r99.html, NONE,
1.1.6.1 r994.html, NONE, 1.1.6.1 x19.html, NONE,
1.1.6.1 x31.html, NONE, 1.1.6.1 x93.html, NONE, 1.1.6.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: eich
Update of /cvs/xorg/xc/extras/fontconfig
In directory pdx:/home/eich/tstbuild/xc/extras/fontconfig
Modified Files:
Tag: XORG-CURRENT
COPYING ChangeLog INSTALL Makefile.in README config.h.in
configure configure.in fontconfig.pc.in fonts.conf.in
fonts.dtd
Added Files:
Tag: XORG-CURRENT
Makefile.am aclocal.m4 config.guess config.sub depcomp
fontconfig-zip.in fontconfig.spec fontconfig.spec.in
install-sh local.conf ltmain.sh missing mkinstalldirs
Removed Files:
Tag: XORG-CURRENT
Imakefile cvscompile.sh findfonts fontconfig-config.in
Log Message:
2004-04-15 Egbert Eich <eich at freedesktop.org>
Merged changes from RELEASE-1 branch
--- NEW FILE: Makefile.am ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: aclocal.m4 ---
# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Do all the work for Automake. -*- Autoconf -*-
# This macro actually does too much some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
[...6722 lines suppressed...]
cat conftest.in conftest.in >conftest.tmp
mv conftest.tmp conftest.in
cp conftest.in conftest.nl
echo >>conftest.nl
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
cmp -s conftest.out conftest.nl || break
# 10000 chars as input seems more than enough
test $lt_ac_count -gt 10 && break
lt_ac_count=`expr $lt_ac_count + 1`
if test $lt_ac_count -gt $lt_ac_max; then
lt_ac_max=$lt_ac_count
lt_cv_path_SED=$lt_ac_sed
fi
done
done
SED=$lt_cv_path_SED
])
AC_MSG_RESULT([$SED])
])
--- NEW FILE: config.guess ---
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-02-22'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
[...1349 lines suppressed...]
/bin/universe = `(/bin/universe) 2>/dev/null`
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
/bin/arch = `(/bin/arch) 2>/dev/null`
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
UNAME_MACHINE = ${UNAME_MACHINE}
UNAME_RELEASE = ${UNAME_RELEASE}
UNAME_SYSTEM = ${UNAME_SYSTEM}
UNAME_VERSION = ${UNAME_VERSION}
EOF
exit 1
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
# End:
--- NEW FILE: config.sub ---
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-02-22'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[...1450 lines suppressed...]
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
vendor=atari
;;
-vos*)
vendor=stratus
;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;
esac
echo $basic_machine$os
exit 0
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
# End:
--- NEW FILE: depcomp ---
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva at dcc.unicamp.br>.
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# `libtool' can also be set to `yes' or `no'.
if test -z "$depfile"; then
base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
dir=`echo "$object" | sed 's,/.*$,/,'`
if test "$dir" = "$object"; then
dir=
fi
# FIXME: should be _deps on DOS.
depfile="$dir.deps/$base"
fi
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
# current directory. Also, the AIX compiler puts `$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
stat=$?
if test -f "$tmpdepfile"; then :
else
stripped=`echo "$stripped" | sed 's,^.*/,,'`
tmpdepfile="$stripped.u"
fi
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then
outname="$stripped.o"
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
icc)
# Intel's C compiler understands `-MD -MF file'. However on
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# ICC 7.0 will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want:
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
# ICC 7.1 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using \ :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1="$dir.libs/$base.lo.d"
tmpdepfile2="$dir.libs/$base.d"
"$@" -Wc,-MD
else
tmpdepfile1="$dir$base.o.d"
tmpdepfile2="$dir$base.d"
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
if test -f "$tmpdepfile1"; then
tmpdepfile="$tmpdepfile1"
else
tmpdepfile="$tmpdepfile2"
fi
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
# Require at least two characters before searching for `:'
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
"$@" $dashmflag |
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
cleared=no
for arg in "$@"; do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E |
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
for arg
do
case "$arg" in
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
--- NEW FILE: fontconfig-zip.in ---
#!/bin/sh
# Build distribution zipfiles for fontconfig on Win32. (This script
# obviously needs to be run in Cygwin or similar.) Separate runtime
# and developer zipfiles.
ZIP=/tmp/fontconfig- at VERSION@.zip
DEVZIP=/tmp/fontconfig-dev- at VERSION@.zip
cd @prefix@
rm -f $ZIP
zip $ZIP -@ <<EOF
lib/libfontconfig- at LT_CURRENT_MINUS_AGE@.dll
etc/fonts/fonts.conf
EOF
rm -f $DEVZIP
zip -r $DEVZIP -@ <<EOF
etc/fonts/fonts.dtd
include/fontconfig
lib/libfontconfig.dll.a
lib/fontconfig.lib
lib/fontconfig.def
lib/pkgconfig/fontconfig.pc
bin/fc-list.exe
bin/fc-cache.exe
man/man1/fc-cache.1
man/man1/fc-list.1
man/man3/fontconfig.3
EOF
--- NEW FILE: fontconfig.spec ---
# Some distributions name their Freetype 2 package "freetype", while others
# name it "freetype2". You can define the name your distribution uses here.
%define freetype2 freetype
Summary: Font configuration and customization library
Name: fontconfig
Version: 2.2.2
Release: 1
License: MIT
Group: System Environment/Libraries
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
URL: http://fontconfig.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: %{_bindir}/docbook2html
BuildRequires: %{_bindir}/docbook2txt
BuildRequires: %{freetype2}-devel
BuildRequires: expat-devel
BuildRequires: perl
PreReq: %{freetype2}
%description
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
applications.
%package devel
Summary: Font configuration and customization library
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{freetype2}-devel
%description devel
The fontconfig-devel package includes the static libraries,
header files, and developer docs for the fontconfig package.
Install fontconfig-devel if you want to develop programs which
will use fontconfig.
%prep
%setup -q
%build
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts --disable-gtk-doc --disable-docs
make %{_smp_mflags}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
{
%makeinstall
# fontconfig is currently installing these in improper location for RPM
# based Linux distributions, so we remove what it installs here, and let
# RPM pick up the same files with 'doc' directives in the file lists as
# a workaround
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/fontconfig
}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
{
/sbin/ldconfig
# Force regeneration of all fontconfig cache files.
%{_bindir}/fc-cache -f --system-only
}
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc README AUTHORS COPYING ChangeLog doc/fontconfig-*.{html,txt}
%dir %{_sysconfdir}/fonts
%{_sysconfdir}/fonts/fonts.conf
%{_sysconfdir}/fonts/fonts.dtd
%config %{_sysconfdir}/fonts/local.conf
%{_bindir}/fc-*
%{_libdir}/libfontconfig*.so.*
%{_mandir}/man5/*
%files devel
%defattr(-, root, root)
%doc doc/fontconfig-devel.txt doc/fontconfig-devel/*
%dir %{_includedir}/fontconfig
%{_includedir}/fontconfig
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/libfontconfig.so
%{_libdir}/pkgconfig
%{_mandir}/man3/*
%changelog
* Fri Mar 7 2003 Mike A. Harris <mharris at redhat.com> 2.1.92-1
- Removed man1/* and added man5/* to main package and man3/* to devel package
- Added missing defattr(-, root, root) to main package
- Added HTML and text development documentation to -devel subpackage
* Wed Mar 5 2003 Mike A. Harris <mharris at redhat.com>
- Added back the configure macro options --disable-docs because otherwise
fontconfig installs docs into /usr/share/doc/fontconfig (with no version
number) unconditionally, causing RPM to fail the build due to unpackaged
files terminate build
* Wed Mar 5 2003 Mike A. Harris <mharris at redhat.com>
- Removed commented out rpm macro define at top of spec file, replacing it with
a simple explanation, since rpm macros are expanded by rpm even in comments
- Changed /usr/bin to _bindir in BuildRequires lines
- Cleaned up rpm postinstall script, and made fc-cache use _bindir
- Reorganized file manifest lists
* Sun Mar 2 2003 Owen Taylor <otaylor at redhat.com>
- Various improvements from Red Hat spec file
* Sun Mar 2 2003 Mike A. Harris <mharris at redhat.com>
- Initial changelog entry
--- NEW FILE: fontconfig.spec.in ---
# Some distributions name their Freetype 2 package "freetype", while others
# name it "freetype2". You can define the name your distribution uses here.
%define freetype2 freetype
Summary: Font configuration and customization library
Name: fontconfig
Version: @VERSION@
Release: 1
License: MIT
Group: System Environment/Libraries
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
URL: http://fontconfig.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: %{_bindir}/docbook2html
BuildRequires: %{_bindir}/docbook2txt
BuildRequires: %{freetype2}-devel
BuildRequires: expat-devel
BuildRequires: perl
PreReq: %{freetype2}
%description
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
applications.
%package devel
Summary: Font configuration and customization library
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{freetype2}-devel
%description devel
The fontconfig-devel package includes the static libraries,
header files, and developer docs for the fontconfig package.
Install fontconfig-devel if you want to develop programs which
will use fontconfig.
%prep
%setup -q
%build
%configure --with-x-fonts=/usr/X11R6/lib/X11/fonts --disable-gtk-doc --disable-docs
make %{_smp_mflags}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
{
%makeinstall
# fontconfig is currently installing these in improper location for RPM
# based Linux distributions, so we remove what it installs here, and let
# RPM pick up the same files with 'doc' directives in the file lists as
# a workaround
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/fontconfig
}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
{
/sbin/ldconfig
# Force regeneration of all fontconfig cache files.
%{_bindir}/fc-cache -f --system-only
}
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc README AUTHORS COPYING ChangeLog doc/fontconfig-*.{html,txt}
%dir %{_sysconfdir}/fonts
%{_sysconfdir}/fonts/fonts.conf
%{_sysconfdir}/fonts/fonts.dtd
%config %{_sysconfdir}/fonts/local.conf
%{_bindir}/fc-*
%{_libdir}/libfontconfig*.so.*
%{_mandir}/man5/*
%files devel
%defattr(-, root, root)
%doc doc/fontconfig-devel.txt doc/fontconfig-devel/*
%dir %{_includedir}/fontconfig
%{_includedir}/fontconfig
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/libfontconfig.so
%{_libdir}/pkgconfig
%{_mandir}/man3/*
%changelog
* Fri Mar 7 2003 Mike A. Harris <mharris at redhat.com> 2.1.92-1
- Removed man1/* and added man5/* to main package and man3/* to devel package
- Added missing defattr(-, root, root) to main package
- Added HTML and text development documentation to -devel subpackage
* Wed Mar 5 2003 Mike A. Harris <mharris at redhat.com>
- Added back the configure macro options --disable-docs because otherwise
fontconfig installs docs into /usr/share/doc/fontconfig (with no version
number) unconditionally, causing RPM to fail the build due to unpackaged
files terminate build
* Wed Mar 5 2003 Mike A. Harris <mharris at redhat.com>
- Removed commented out rpm macro define at top of spec file, replacing it with
a simple explanation, since rpm macros are expanded by rpm even in comments
- Changed /usr/bin to _bindir in BuildRequires lines
- Cleaned up rpm postinstall script, and made fc-cache use _bindir
- Reorganized file manifest lists
* Sun Mar 2 2003 Owen Taylor <otaylor at redhat.com>
- Various improvements from Red Hat spec file
* Sun Mar 2 2003 Mike A. Harris <mharris at redhat.com>
- Initial changelog entry
--- NEW FILE: install-sh ---
#!/bin/sh
#
# install - install a program, script, or datafile
#
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd=$cpprog
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd=$stripprog
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "$0: no input file specified" >&2
exit 1
else
:
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d "$dst" ]; then
instcmd=:
chmodcmd=""
else
instcmd=$mkdirprog
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f "$src" ] || [ -d "$src" ]
then
:
else
echo "$0: $src does not exist" >&2
exit 1
fi
if [ x"$dst" = x ]
then
echo "$0: no destination specified" >&2
exit 1
else
:
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d "$dst" ]
then
dst=$dst/`basename "$src"`
else
:
fi
fi
## this sed command emulates the dirname command
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-$defaultIFS}"
oIFS=$IFS
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS=$oIFS
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp=$pathcomp$1
shift
if [ ! -d "$pathcomp" ] ;
then
$mkdirprog "$pathcomp"
else
:
fi
pathcomp=$pathcomp/
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd "$dst" &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename "$dst"`
else
dstfile=`basename "$dst" $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename "$dst"`
else
:
fi
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/_inst.$$_
rmtmp=$dstdir/_rm.$$_
# Trap to clean up temp files at exit.
trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
trap '(exit $?); exit' 1 2 13 15
# Move or copy the file name to the temp name
$doit $instcmd "$src" "$dsttmp" &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
# Now remove or move aside any old file at destination location. We try this
# two ways since rm can't unlink itself on some systems and the destination
# file might be busy for other reasons. In this case, the final cleanup
# might fail but the new file should still install successfully.
{
if [ -f "$dstdir/$dstfile" ]
then
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
{
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
(exit 1); exit
}
else
:
fi
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
fi &&
# The final little trick to "correctly" pass the exit status to the exit trap.
{
(exit 0); exit
}
--- NEW FILE: local.conf ---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
Enable sub-pixel rendering
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
</fontconfig>
--- NEW FILE: ltmain.sh ---
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
[...6251 lines suppressed...]
# the user asked for that or because the platform doesn't support
# them. This is particularly important on AIX, because we don't
# support having both static and shared libraries enabled at the same
# time on that platform, so we default to a shared-only configuration.
# If a disable-shared tag is given, we'll fallback to a static-only
# configuration. But we'll never go from static-only to shared-only.
# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
build_libtool_libs=no
build_old_libs=yes
# ### END LIBTOOL TAG CONFIG: disable-shared
# ### BEGIN LIBTOOL TAG CONFIG: disable-static
build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
# ### END LIBTOOL TAG CONFIG: disable-static
# Local Variables:
# mode:shell-script
# sh-indentation:2
# End:
--- NEW FILE: missing ---
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
run=:
# In the cases where this matters, `missing' is being run in the
# srcdir already.
if test -f configure.ac; then
configure_ac=configure.ac
else
configure_ac=configure.in
fi
case "$1" in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
shift
"$@" && exit 0
;;
esac
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
case "$1" in
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
--run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing 0.4 - GNU automake"
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
aclocal*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`${configure_ac}'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
case "$f" in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
esac
done
touch $touch_files
;;
automake*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print |
sed 's/\.am$/.in/' |
while read f; do touch "$f"; done
;;
autom4te)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them.
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo "#! /bin/sh"
echo "# Created by GNU Automake missing as a replacement of"
echo "# $ $@"
echo "exit 0"
chmod +x $file
exit 1
fi
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if [ ! -f y.tab.h ]; then
echo >y.tab.h
fi
if [ ! -f y.tab.c ]; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if [ ! -f lex.yy.c ]; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
help2man)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
fi
if [ -f "$file" ]; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
exit 1
fi
;;
makeinfo)
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
# We have makeinfo, but it failed.
exit 1
fi
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
touch $file
;;
tar)
shift
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
fi
# We have already tried tar in the generic part.
# Look for gnutar/gtar before invocation to avoid ugly error
# messages.
if (gnutar --version > /dev/null 2>&1); then
gnutar "$@" && exit 0
fi
if (gtar --version > /dev/null 2>&1); then
gtar "$@" && exit 0
fi
firstarg="$1"
if shift; then
case "$firstarg" in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
case "$firstarg" in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
;;
esac
fi
echo 1>&2 "\
WARNING: I can't seem to be able to run \`tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments."
exit 1
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0
--- NEW FILE: mkinstalldirs ---
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman at prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help | --h*) # -h for help
echo "$usage" 1>&2
exit 0
;;
-m) # -m PERM arg
shift
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
dirmode=$1
shift
;;
--) # stop option processing
shift
break
;;
-*) # unknown option
echo "$usage" 1>&2
exit 1
;;
*) # first non-opt arg
break
;;
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
case $dirmode in
'')
if mkdir -p -- . 2>/dev/null; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
fi
;;
*)
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
fi
;;
esac
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case $pathcomp in
-*) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
lasterr=""
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
errstatus=$lasterr
fi
fi
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# End:
# mkinstalldirs ends here
Index: COPYING
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/COPYING,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/COPYING 5 Mar 2004 13:38:36 -0000 1.1.4.1
+++ b/COPYING 15 Apr 2004 10:13:47 -0000 1.1.4.2
@@ -1,6 +1,5 @@
-$XFree86: xc/lib/fontconfig/COPYING,v 1.1.1.1 2002/02/14 23:34:11 keithp Exp $
-Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc.
+Copyright © 2001,2003 Keith Packard
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
Index: ChangeLog
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/ChangeLog 25 Nov 2003 19:27:17 -0000 1.1
+++ b/ChangeLog 15 Apr 2004 10:13:47 -0000 1.1.4.1
@@ -1,3 +1,164 @@
+2004-03-10 Keith Packard <keithp at keithp.com>
+
+ * README:
+ * fontconfig/fontconfig.h:
+ * configure.in:
+ Update to version 2.2.2
+
+ * doc/Makefile.am:
+ * fc-lang/Makefile.am:
+ Make subdir build work
+
+ * fontconfig/fcfreetype.h:
+ * src/fcfreetype.c:
+ Use new freetype include scheme
+
+2003-11-10 Roozbeh Pournader <roozbeh at sharif.edu>
+
+ * src/fcxml.c:
+ Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
+ separators.
+
+2003-06-09 Keith Packard <keithp at keithp.com>
+
+ * Tag version 2.2.1
+ * add patch from HEAD to fix optimized path in FcLangSetIndex
+
+2003-04-30 Keith Packard <keithp at keithp.com>
+
+ * Typo in bitstream foundry name
+
+2003-04-24 Keith Packard <keithp at keithp.com>
+
+ * Eliminate italic_angle check for PS fonts
+
+2003-04-23 James Henstridge <james at daa.com.au>
+
+ * doc/fontconfig-devel.sgml: close the <para> element.
+
+ * doc/fcpattern.fncs: close the <para> element.
+
+ * doc/func.sgml: close the <refsynopsisdiv> element.
+
+2003-04-22 Keith Packard <keithp at keithp.com
+
+ * Update autogen.sh to work with newer automake versions
+ * Handle pattern elements moving during multiple edits
+
+2003-04-17 Colin Walters <walters at debian.org>
+
+ + Remove some unused variables, and initialize some other ones so
+ gcc doesn't warn us.
+
+2003-04-16 Keith Packard <keithp at keithp.com>
+
+ + tag version 2.1.94
+
+2003-04-16 Keith Packard <keithp at keithp.com>
+
+ + add BDF property fetching support for foundry
+ (from Juliusz Chroboczek)
+ + add BDF property fetching support for width
+
+2003-04-11 Juliusz Chroboczek <jch at pps.jussieu.fr>
+
+ + Implemented foundry generation for Type 1 and TrueType
+
+2003-04-11 Gerard Escalante <g2 at magestudios.net>
+
+ + Retrieve information from Type1 FontInfo dictionaries
+
+2003-04-07 Colin Walters <walters at verbum.org>
+
+ + src/Makefile.am: Fix dummy makefile target names when
+ MS_LIB_AVAILABLE isn't set.
+
+2003-03-22 Tor Lillqvist <tml at iki.fi>
+
+ Changes for Windows:
+
+ + On Windows with gcc (a.k.a. mingw) build as a DLL.
+
+ + We don't want to hardcode the fonts.conf file location in the
+ DLL, so we look up the DLL location at run-time in a DllMain()
+ function. The fonts.conf location is deduced from that.
+
+ + The colon can't be used as path separator on Windows,
+ semicolon is used instead. File path components can be separated
+ with either slash or backslash. Absolute paths can also begin
+ with a drive letter.
+
+ + Add internal function FcStrLastSlash that strrchr's the last
+ slash, or backslash on Windows.
+
+ + There is no link() on Windows. For atomicity checks, mkdir a
+ lock directory instead.
+
+ + In addition to HOME, also look for USERPROFILE.
+
+ + Recognize the special font directory token WINDOWSFONTDIR, to
+ use the system's font directory.
+
+ + Remove the fontconfig-def.cpp that was obsolete. Add
+ fontconfig.def(.in), without internal functions.
+
+ + Add a fontconfig-zip(.in) script, used to build a binary
+ distribution.
+
+Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris at redhat.com>
+ + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
+ to main package and man3/* to devel package
+
+ + Added missing defattr(-, root, root) to main RPM package
+
+ + Added HTML and text development documentation to -devel subpackage
+
+Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris at redhat.com>
+ + Added back the configure macro options --disable-docs, otherwise
+ fontconfig installs docs into /usr/share/doc/fontconfig (with no
+ version number) unconditionally, causing RPM to fail the build due
+ to _unpackaged_files_terminate_build. We pick up the pregenerated
+ docs with %doc already.
+
+Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris at redhat.com>
+ + Removed commented out rpm macro define at top of spec file,
+ replacing it with a simple explanation, since rpm macros are
+ expanded by rpm even in comments.
+
+ + Changed /usr/bin to _bindir in BuildRequires lines
+
+ + Cleaned up rpm postinstall script, and made fc-cache use _bindir
+
+ + Reorganized file manifest lists
+
+Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor at redhat.com>
+
+ + fontconfig.spec.in: Improvements from Red Hat spec file.
+
+ + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
+
+ + docs/*.sgml: SGML fixes.
+
+Sat Mar 1 17:28:53 PST 2003 keithp
+ + Ok, so the ChangeLog is a bit out of date
+
+ + Lots of bugs fixed; most are in bugzilla, the
+ biggest problems were in cache management where
+ Owen discovered the library would lose badly when
+ combining fonts-cache and ~/.fonts-cache data
+
+ + Converted from autoconf to automake. This after
+ getting patches accepted into libtool to allow
+ the '-version-number' argument which lets
+ packages set version numbers explicitly rather
+ than the roundabout libtool way
+
+ + Converted documentation to SGML using the docbook
+ DTD. Now .txt and .html documents are installed
+ in /usr/share/doc/fontconfig and there's no
+ man page. Perhaps a man version can be written
+ at some point.
+
Sat Aug 31 15:21:22 PDT 2002 keithp
+ Xrender and Xft had several bugs related to
rendering manually placed or poly-face text
Index: INSTALL
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/INSTALL,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/INSTALL 25 Nov 2003 19:27:17 -0000 1.1
+++ b/INSTALL 15 Apr 2004 10:13:47 -0000 1.1.4.1
@@ -1,13 +1,8 @@
-You can build fontconfig with either autoconf or imake.
-
-For autoconf:
-
- $ sh cvscompile.sh --sysconfdir=/etc --prefix=/usr
+Fontconfig is built with the traditional configure script:
-For imake:
- $ xmkmf -a
+ $ ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
-These should both generate valid Makefiles, in either case:
+This should generate valid Makefiles, then:
$ make
$ make install
Index: Makefile.in
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/Makefile.in,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/Makefile.in 5 Mar 2004 13:38:36 -0000 1.1.4.1
+++ b/Makefile.in 15 Apr 2004 10:13:47 -0000 1.1.4.2
@@ -1,95 +1,686 @@
-#
-# $XFree86: xc/lib/fontconfig/Makefile.in,v 1.7 2002/08/01 15:57:25 keithp Exp $
-#
-# Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
-#
-# Permission to use, copy, modify, distribute, and sell this software and its
-# documentation for any purpose is hereby granted without fee, provided that
-# the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of Keith Packard not be used in
-# advertising or publicity pertaining to distribution of the software without
-# specific, written prior permission. Keith Packard makes no
-# representations about the suitability of this software for any purpose. It
-# is provided "as is" without express or implied warranty.
-#
-# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-#
+# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# @configure_input@
-TOPDIR = .
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
-include $(TOPDIR)/config/Makedefs
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
-DIRS = src fc-cache fc-list fontconfig
+ at SET_MAKE@
-all install clean::
- for d in $(DIRS); do (cd $$d && $(MAKE) $@); done
+#
+# $Id: Makefile.am,v 1.8 2003/04/11 22:53:53 keithp Exp $
+#
+# Copyright © 2003 Keith Packard
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of Keith Packard not be used in
+# advertising or publicity pertaining to distribution of the software without
+# specific, written prior permission. Keith Packard makes no
+# representations about the suitability of this software for any purpose. It
+# is provided "as is" without express or implied warranty.
+#
+# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+# PERFORMANCE OF THIS SOFTWARE.
-#
-# create fonts.conf file
-#
-all:: fonts.conf
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = .
-fonts.conf: fonts.conf.in
- rm -f $@
- sh ./setfontdirs $(FC_DEFAULT_FONTS) $(X_FONT_DIR)
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONFDIR = @CONFDIR@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOCDIR = @DOCDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
+ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
+EXEEXT = @EXEEXT@
+EXPAT_CFLAGS = @EXPAT_CFLAGS@
+EXPAT_LIBS = @EXPAT_LIBS@
+F77 = @F77@
+FC_ADD_FONTS = @FC_ADD_FONTS@
+FC_DEFAULT_FONTS = @FC_DEFAULT_FONTS@
+FC_FONTDATE = @FC_FONTDATE@
+FC_FONTPATH = @FC_FONTPATH@
+FFLAGS = @FFLAGS@
+FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
+FREETYPE_LIBS = @FREETYPE_LIBS@
+HASDOCBOOK = @HASDOCBOOK@
+HAVE_EXPAT = @HAVE_EXPAT@
+HAVE_XMLPARSE_H = @HAVE_XMLPARSE_H@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+LT_CURRENT = @LT_CURRENT@
+LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@
+LT_REVISION = @LT_REVISION@
+LT_VERSION_INFO = @LT_VERSION_INFO@
+MAKEINFO = @MAKEINFO@
+MS_LIB_AVAILABLE_FALSE = @MS_LIB_AVAILABLE_FALSE@
+MS_LIB_AVAILABLE_TRUE = @MS_LIB_AVAILABLE_TRUE@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+ORTH_FILES = @ORTH_FILES@
+OS_WIN32_FALSE = @OS_WIN32_FALSE@
+OS_WIN32_TRUE = @OS_WIN32_TRUE@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_AS = @ac_ct_AS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+confdir = @confdir@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+ft_config = @ft_config@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+ms_librarian = @ms_librarian@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
-clean::
- rm -f fonts.conf
+SUBDIRS = fontconfig fc-lang src fc-cache fc-list doc test
-#
-# installation directories
-#
+EXTRA_DIST = \
+ fontconfig.pc.in \
+ fonts.conf.in \
+ fonts.dtd \
+ local.conf \
+ fontconfig.spec.in \
+ fontconfig.spec \
+ fontconfig-zip.in
-install:: $(DESTDIR)$(CONFDIR) $(DESTDIR)$(BINDIR)
-install:: $(DESTDIR)$(LIBDIR) $(DESTDIR)$(LIBDIR)/pkgconfig
-$(DESTDIR)$(CONFDIR):
- mkdir -p $@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = fontconfig.pc
-$(DESTDIR)$(BINDIR):
- mkdir -p $@
+configdir = $(CONFDIR)
+config_DATA = fonts.conf fonts.dtd
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES = fontconfig.spec fontconfig.pc fonts.conf \
+ fontconfig-zip
+DIST_SOURCES =
+DATA = $(config_DATA) $(pkgconfig_DATA)
-$(DESTDIR)$(LIBDIR):
- mkdir -p $@
-$(DESTDIR)$(LIBDIR)/pkgconfig:
- mkdir -p $@
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+ ps-recursive install-info-recursive uninstall-info-recursive \
+ all-recursive install-data-recursive install-exec-recursive \
+ installdirs-recursive install-recursive uninstall-recursive \
+ check-recursive installcheck-recursive
+DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
+ COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 \
+ config.guess config.h.in config.sub configure configure.in \
+ depcomp fontconfig-zip.in fontconfig.pc.in fontconfig.spec.in \
+ fonts.conf.in install-sh ltmain.sh missing mkinstalldirs
+DIST_SUBDIRS = $(SUBDIRS)
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
-#
-# install config files
-#
-install:: $(DESTDIR)$(CONFDIR)/fonts.conf $(DESTDIR)$(CONFDIR)/fonts.dtd
+.SUFFIXES:
-$(DESTDIR)$(CONFDIR)/fonts.conf:: fonts.conf
- if [ -f $@ ]; then \
- echo "Not overwriting existing $@"; \
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
+
+$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ cd $(srcdir) && $(AUTOCONF)
+
+$(ACLOCAL_M4): configure.in
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+
+$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ touch $(srcdir)/config.h.in
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+fontconfig.spec: $(top_builddir)/config.status fontconfig.spec.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+fontconfig.pc: $(top_builddir)/config.status fontconfig.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+fonts.conf: $(top_builddir)/config.status fonts.conf.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+fontconfig-zip: $(top_builddir)/config.status fontconfig-zip.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+configDATA_INSTALL = $(INSTALL_DATA)
+install-configDATA: $(config_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(configdir)
+ @list='$(config_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(configDATA_INSTALL) $$d$$p $(DESTDIR)$(configdir)/$$f"; \
+ $(configDATA_INSTALL) $$d$$p $(DESTDIR)$(configdir)/$$f; \
+ done
+
+uninstall-configDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(config_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(configdir)/$$f"; \
+ rm -f $(DESTDIR)$(configdir)/$$f; \
+ done
+pkgconfigDATA_INSTALL = $(INSTALL_DATA)
+install-pkgconfigDATA: $(pkgconfig_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \
+ $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \
+ done
+
+uninstall-pkgconfigDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+ echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \
+ rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \
+ done
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @set fnord $$MAKEFLAGS; amf=$$2; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @set fnord $$MAKEFLAGS; amf=$$2; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if (etags --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
else \
- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR)/fonts.conf; \
+ include_option=--include; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -f $$subdir/TAGS && \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique
+
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = .
+distdir = $(PACKAGE)-$(VERSION)
+
+am__remove_distdir = \
+ { test ! -d $(distdir) \
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -fr $(distdir); }; }
+
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ mkdir $(distdir)
+ $(mkinstalldirs) $(distdir)/. $(distdir)/doc $(distdir)/src
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
+ || exit 1; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" \
+ distdir=../$(distdir)/$$subdir \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r $(distdir)
+dist-gzip: distdir
+ $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ $(am__remove_distdir)
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+ mkdir $(distdir)/_build
+ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && cd $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
+ && rm -f $(distdir).tar.gz \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+ $(am__remove_distdir)
+ @echo "$(distdir).tar.gz is ready for distribution" | \
+ sed 'h;s/./=/g;p;x;p;x'
+distuninstallcheck:
+ @cd $(distuninstallcheck_dir) \
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(DATA) config.h
+installdirs: installdirs-recursive
+installdirs-am:
+ $(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(pkgconfigdir)
-$(DESTDIR)$(CONFDIR)/fonts.dtd:: fonts.dtd
- $(INSTALL_DATA) fonts.dtd $(DESTDIR)$(CONFDIR)/fonts.dtd
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
-#
-# install fontconfig-config script
-#
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install:: $(DESTDIR)$(BINDIR)/fontconfig-config
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
-$(DESTDIR)$(BINDIR)/fontconfig-config: fontconfig-config
- $(INSTALL_SCRIPT) $< $(DESTDIR)$(BINDIR)/$<
+clean-generic:
-#
-# install pkgconfig control file
-#
-install:: $(DESTDIR)$(LIBDIR)/pkgconfig/fontconfig.pc
+distclean-generic:
+ -rm -f $(CONFIG_CLEAN_FILES)
-$(DESTDIR)$(LIBDIR)/pkgconfig/fontconfig.pc: fontconfig.pc
- $(INSTALL_DATA) $< $(DESTDIR)$(LIBDIR)/pkgconfig/$<
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-configDATA install-data-local \
+ install-pkgconfigDATA
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-configDATA uninstall-info-am \
+ uninstall-pkgconfigDATA
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-recursive ctags \
+ ctags-recursive dist dist-all dist-gzip distcheck distclean \
+ distclean-generic distclean-hdr distclean-libtool \
+ distclean-recursive distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am dvi-recursive info info-am \
+ info-recursive install install-am install-configDATA \
+ install-data install-data-am install-data-local \
+ install-data-recursive install-exec install-exec-am \
+ install-exec-recursive install-info install-info-am \
+ install-info-recursive install-man install-pkgconfigDATA \
+ install-recursive install-strip installcheck installcheck-am \
+ installdirs installdirs-am installdirs-recursive \
+ maintainer-clean maintainer-clean-generic \
+ maintainer-clean-recursive mostlyclean mostlyclean-generic \
+ mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
+ pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+ uninstall uninstall-am uninstall-configDATA uninstall-info-am \
+ uninstall-info-recursive uninstall-pkgconfigDATA \
+ uninstall-recursive
+
+
+install-data-local:
+ if [ -f $(DESTDIR)$(configdir)/local.conf ]; then \
+ echo "not overwriting existing $(DESTDIR)$(configdir)/local.conf"; \
+ else if [ -f $(srcdir)/local.conf ]; then \
+ echo " $(INSTALL_DATA) $(srcdir)/local.conf $(DESTDIR)$(configdir)/local.conf"; \
+ $(INSTALL_DATA) $(srcdir)/local.conf $(DESTDIR)$(configdir)/local.conf; \
+ else if [ -f local.conf ]; then \
+ echo " $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf"; \
+ $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf; \
+ fi; fi; fi
+ if [ x$(DESTDIR) = x ]; then fc-cache/fc-cache -f -v; fi
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Index: README
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/README,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/README 25 Nov 2003 19:27:17 -0000 1.1
+++ b/README 15 Apr 2004 10:13:47 -0000 1.1.4.1
@@ -1,9 +1,9 @@
Fontconfig
Font configuration and customization library
- Version 1.0.1
- 2002-5-23
+ Version 2.2.2
+ 2004-3-10
-This is the first public release of fontconfig, a font configuration and
+This is the third public release of fontconfig, a font configuration and
customization library. Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by applications.
@@ -11,5 +11,25 @@
rasterization library on the application. The X-specific library
'Xft' uses fontconfig along with freetype to specify and rasterize fonts.
+Version 2.2.2
+
+Update #includes for newer versions of FreeType
+
+Version 2.2.1
+
+Allows executable names for autotools to be specified in environment
+variables.
+
+Close some SGML tags in the documentation.
+
+Fix a catastrophic bug in pattern editing code
+
+Fix a typo "bitsteam" -> "bitstream"
+
+Let FreeType compute slant for type1 fonts instead of poking at the
+italic_angle value.
+
+Fix language comparison function.
+
Keith Packard
keithp at keithp.com
Index: config.h.in
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/config.h.in,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/config.h.in 25 Nov 2003 19:27:17 -0000 1.1
+++ b/config.h.in 15 Apr 2004 10:13:47 -0000 1.1.4.1
@@ -1,32 +1,35 @@
-/* config.h.in. Generated manually by keithp. */
+/* config.h.in. Generated from configure.in by autoheader. */
-/* Path library uses when config file is broken */
+/* Font configuration directory */
+#undef CONFDIR
+
+/* Additional font directories */
+#undef FC_ADD_FONTS
+
+/* System font directory */
#undef FC_DEFAULT_FONTS
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#undef HAVE_DOPRNT
-/* Use expat library for xml parsing */
+/* Found a useable expat library */
#undef HAVE_EXPAT
-/* expat uses old xmlparse.h include */
-#undef HAVE_XMLPARSE_H
-
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
-/* whether system has freetype2 library */
-#undef HAVE_FREETYPE
-
-/* Define to 1 if you have the <ft2build.h> header file. */
-#undef HAVE_FT2BUILD_H
+/* Define to 1 if you have the `FT_Get_First_Char' function. */
+#undef HAVE_FT_GET_FIRST_CHAR
-/* Define to 1 if you have the `FT_Init_FreeType' function. */
-#undef HAVE_FT_INIT_FREETYPE
+/* Define to 1 if you have the `geteuid' function. */
+#undef HAVE_GETEUID
/* Define to 1 if you have the `getopt' function. */
#undef HAVE_GETOPT
@@ -34,11 +37,14 @@
/* Define to 1 if you have the `getopt_long' function. */
#undef HAVE_GETOPT_LONG
+/* Define to 1 if you have the `getuid' function. */
+#undef HAVE_GETUID
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
-/* Define to 1 if your system has a working `malloc' function. */
-#undef HAVE_MALLOC
+/* Define to 1 if you have the `link' function. */
+#undef HAVE_LINK
/* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE
@@ -49,13 +55,12 @@
/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET
+/* Define to 1 if you have the `mkstemp' function. */
+#undef HAVE_MKSTEMP
+
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
-/* Define to 1 if `stat' has the bug that it succeeds when given the
- zero-length file name argument. */
-#undef HAVE_STAT_EMPTY_STRING_BUG
-
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
@@ -97,28 +102,21 @@
/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF
+/* Use xmlparse.h instead of expat.h */
+#undef HAVE_XMLPARSE_H
+
/* Define to 1 if you have the `XML_ParserCreate' function. */
#undef HAVE_XML_PARSERCREATE
-/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
- slash. */
-#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
+/* Name of package */
+#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
-/* Library major version */
-#undef PACKAGE_MAJOR
-
-/* Library minor version */
-#undef PACKAGE_MINOR
-
/* Define to the full name of this package. */
#undef PACKAGE_NAME
-/* Library revision */
-#undef PACKAGE_REVISION
-
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
@@ -131,6 +129,9 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
+/* Version number of package */
+#undef VERSION
+
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
Index: configure
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/configure,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/configure 25 Nov 2003 19:27:17 -0000 1.1
+++ b/configure 15 Apr 2004 10:13:47 -0000 1.1.4.1
@@ -1,44 +1,479 @@
#! /bin/sh
-
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13
-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+# Generated by GNU Autoconf 2.59.
#
+# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
+## --------------------- ##
[...24577 lines suppressed...]
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || { (exit 1); exit 1; }
+fi
Index: configure.in
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/configure.in,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/configure.in 5 Mar 2004 13:38:37 -0000 1.1.4.1
+++ b/configure.in 15 Apr 2004 10:13:47 -0000 1.1.4.2
@@ -1,66 +1,83 @@
+dnl
+dnl $Id: configure.in,v 1.31.2.2 2004/03/10 20:42:28 keithp Exp $
+dnl
+dnl Copyright © 2003 Keith Packard
+dnl
+dnl Permission to use, copy, modify, distribute, and sell this software and its
+dnl documentation for any purpose is hereby granted without fee, provided that
+dnl the above copyright notice appear in all copies and that both that
+dnl copyright notice and this permission notice appear in supporting
+dnl documentation, and that the name of Keith Packard not be used in
+dnl advertising or publicity pertaining to distribution of the software without
+dnl specific, written prior permission. Keith Packard makes no
+dnl representations about the suitability of this software for any purpose. It
+dnl is provided "as is" without express or implied warranty.
+dnl
+dnl KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+dnl EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+dnl PERFORMANCE OF THIS SOFTWARE.
dnl
-dnl $XFree86: xc/lib/fontconfig/configure.in,v 1.8 2002/08/19 19:31:59 keithp Exp $
-dnl
-dnl Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
-dnl
-dnl Permission to use, copy, modify, distribute, and sell this software and its
-dnl documentation for any purpose is hereby granted without fee, provided that
-dnl the above copyright notice appear in all copies and that both that
-dnl copyright notice and this permission notice appear in supporting
-dnl documentation, and that the name of Keith Packard not be used in
-dnl advertising or publicity pertaining to distribution of the software without
-dnl specific, written prior permission. Keith Packard makes no
-dnl representations about the suitability of this software for any purpose. It
-dnl is provided "as is" without express or implied warranty.
-dnl
-dnl KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-dnl EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-dnl PERFORMANCE OF THIS SOFTWARE.
-dnl
+dnl Process this file with autoconf to create configure.
-# Process this file with autoconf to produce a configure script.
+AC_INIT(fonts.dtd)
-AC_INIT(fontconfig, 1.0.1, fonts at xfree86.org)
-AC_CONFIG_AUX_DIR(config)
-AC_CONFIG_HEADER(config.h)
+dnl ==========================================================================
+dnl Versioning
+dnl ==========================================================================
-AC_ARG_WITH(freetype_includes, [ --with-freetype-includes=DIR Use FreeType includes in DIR], freetype_includes=$withval, freetype_includes=yes)
-AC_ARG_WITH(freetype_lib, [ --with-freetype-lib=DIR Use FreeType library in DIR], freetype_lib=$withval, freetype_lib=yes)
-AC_ARG_WITH(freetype_config, [ --with-freetype-config=PROG Use FreeType configuration program PROG], freetype_config=$withval, freetype_config=yes)
-AC_ARG_WITH(expat, [ --with-expat=DIR Use Expat in DIR], expat=$withval, expat=yes)
-AC_ARG_WITH(expat_includes, [ --with-expat-includes=DIR Use Expat includes in DIR], expat_includes=$withval, expat_includes=yes)
-AC_ARG_WITH(expat_lib, [ --with-expat-lib=DIR Use Expat library in DIR], expat_lib=$withval, expat_lib=yes)
-AC_ARG_WITH(default_fonts, [ --with-default-fonts=DIR Use fonts from DIR when config is busted], defaultfonts="$withval", default_fonts=yes)
-AC_ARG_WITH(confdir, [ --with-confdir=DIR Use DIR to store configuration files (default /etc/fonts)], confdir="$withval", confdir=yes)
+dnl This is the package version number, not the shared library
+dnl version. This same version number must appear in fontconfig/fontconfig.h
+dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
+dnl not possible to extract the version number here from fontconfig.h
+AM_INIT_AUTOMAKE(fontconfig, 2.2.2)
+
+dnl libtool versioning
+
+LT_CURRENT=1
+LT_REVISION=4
+AC_SUBST(LT_CURRENT)
+AC_SUBST(LT_REVISION)
+LT_AGE=0
+
+LT_VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
+AC_SUBST(LT_VERSION_INFO)
+
+LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
+AC_SUBST(LT_CURRENT_MINUS_AGE)
+
+dnl ==========================================================================
+
+AM_CONFIG_HEADER(config.h)
-# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
-AC_PATH_X
+AC_LIBTOOL_WIN32_DLL
+AM_PROG_LIBTOOL
+AC_PROG_MAKE_SET
-PACKAGE_VERSION=1.0.1
+dnl ==========================================================================
-# Set major version
-PACKAGE_MAJOR=`echo $PACKAGE_VERSION | awk -F . '{ print $1 }'`
-PACKAGE_MINOR=`echo $PACKAGE_VERSION | awk -F . '{ print $2 }'`
-PACKAGE_REVISION=`echo $PACKAGE_VERSION | awk -F . '{ print $3 }'`
-AC_SUBST(PACKAGE_VERSION)
-AC_SUBST(PACKAGE_MAJOR)
-AC_SUBST(PACKAGE_MINOR)
-AC_SUBST(PACKAGE_REVISION)
+case "$host" in
+ *-*-mingw*)
+ os_win32=yes
+ ;;
+ *)
+ os_win32=no
+esac
+AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
-OBJEXT="o"
-AC_SUBST(OBJEXT)
+if test "$os_win32" = "yes"; then
+ AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
+fi
+AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes)
+
+dnl ==========================================================================
-AC_DEFINE_UNQUOTED(PACKAGE_MAJOR,$PACKAGE_MAJOR)
-AC_DEFINE_UNQUOTED(PACKAGE_MINOR,$PACKAGE_MINOR)
-AC_DEFINE_UNQUOTED(PACKAGE_REVISION,$PACKAGE_REVISION)
-
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
@@ -72,193 +89,80 @@
# Checks for library functions.
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS([memmove memset strchr strrchr strtol getopt getopt_long])
-
-if test "$GCC" = "yes"; then
- MKSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
- DSO_LDOPTS='-shared -Wl,-h,`echo $@ | sed '"'s/\.so\.\([[0-9][0-9]]*\).*/.so.\1/'"'`'
- DSO_CFLAGS=''
- DSO_PIC_CFLAGS='-fPIC -DPIC'
-else
- AC_CANONICAL_HOST
-
- MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
- DSO_CFLAGS=''
- DSO_PIC_CFLAGS='-KPIC -DPIC'
-
- case "$host" in
- *solaris*)
- DSO_LDOPTS='-G -z text -z defs -h $@'
- LIBS="$LIBS -lc"
- ;;
- *)
- DSO_LDOPTS='-shared -h $@'
- ;;
- esac
-fi
-
-AC_SUBST(MKSHLIB)
-AC_SUBST(DSO_LDOPTS)
-AC_SUBST(DSO_CFLAGS)
-AC_SUBST(DSO_PIC_CFLAGS)
-
-#
-# Using x libraries, set X font directory
-case "$no_x" in
-yes)
- ;;
-*)
- X_FONT_DIR="$x_libraries/X11/fonts"
- AC_DEFINE_UNQUOTED(X_FONT_DIR,$X_FONT_DIR)
- ;;
-esac
-AC_SUBST(X_FONT_DIR)
+AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long])
#
-# Check freetype configuration
+# Checks for FreeType
#
-case "$freetype_config" in
-no)
- ;;
-yes)
- AC_CHECK_PROG(ft_config,freetype-config,freetype-config,no)
- ;;
-*)
- ft_config="$freetype_config"
- ;;
-esac
-
-case "$freetype_includes" in
-no)
- FREETYPE_CFLAGS=""
- ;;
-yes)
- case "$ft_config" in
- no)
- FREETYPE_CFLAGS=""
- ;;
- *)
- FREETYPE_CFLAGS="`$ft_config --cflags`"
- ;;
- esac
- ;;
-*)
- FREETYPE_CFLAGS="-I$freetype_includes"
- ;;
-esac
-case "$freetype_lib" in
-no)
- freetype_lib=""
- ;;
-yes)
- case "$ft_config" in
- no)
- freetype_lib=""
- ;;
- *)
- freetype_lib="`$ft_config --libs`"
- ;;
- esac
- ;;
-*)
- freetype_lib="-L$freetype_lib -lfreetype"
- ;;
-esac
-
-saved_LIBS="$LIBS"
-LIBS="$LIBS $freetype_lib"
-saved_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
-AC_CHECK_HEADERS(freetype/freetype.h)
+AC_ARG_WITH(freetype-config, [ --with-freetype-config=PROG Use FreeType configuration program PROG], freetype_config=$withval, freetype_config=yes)
-case "$ac_cv_header_freetype_freetype_h" in
-no)
- CPPFLAGS="$saved_CPPFLAGS"
- LIBS="$saved_LIBS"
- ;;
-yes)
- AC_CHECK_FUNCS(FT_Init_FreeType)
- case "$ac_cv_func_FT_Init_FreeType" in
- no)
- CPPFLAGS="$saved_CPPFLAGS"
- LIBS="$saved_LIBS"
- ;;
- yes)
- AC_DEFINE(HAVE_FREETYPE)
- AC_SUBST(FREETYPE_CFLAGS)
- ;;
- esac
- ;;
-esac
+if test "$freetype_config" = "yes"; then
+ AC_PATH_PROG(ft_config,freetype-config,no)
+ if test "$ft_config" = "no"; then
+ AC_MSG_ERROR([You must have freetype installed; see http://www.freetype.org/])
+ fi
+else
+ ft_config="$freetype_config"
+fi
-case "$default_fonts" in
-yes)
- FC_DEFAULT_FONTS="/usr/share/fonts"
- AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "/usr/share/fonts")
- ;;
-*)
- FC_DEFAULT_FONTS="$default_fonts"
- AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "$default_fonts")
- ;;
-esac
+FREETYPE_CFLAGS="`$ft_config --cflags`"
+FREETYPE_LIBS="`$ft_config --libs`"
-AC_SUBST(FC_DEFAULT_FONTS)
+AC_SUBST(FREETYPE_LIBS)
+AC_SUBST(FREETYPE_CFLAGS)
#
-# Set CONFDIR and FONTCONFIG_PATH
+# Check to see whether we have FT_Get_First_Char(), new in 2.0.9
#
-case "$confdir" in
-no|yes)
- confdir=/etc/fonts
- ;;
-*)
- ;;
-esac
-AC_SUBST(confdir)
-CONFDIR='${confdir}'
-AC_DEFINE_UNQUOTED(CONFDIR, "$CONFDIR")
-AC_SUBST(CONFDIR)
+fontconfig_save_libs=$LIBS
+LIBS="$LIBS $FREETYPE_LIBS"
+AC_CHECK_FUNCS(FT_Get_First_Char)
+LIBS=$fontconfig_save_libs
#
# Check expat configuration
#
+AC_ARG_WITH(expat, [ --with-expat=DIR Use Expat in DIR], expat=$withval, expat=yes)
+AC_ARG_WITH(expat-includes, [ --with-expat-includes=DIR Use Expat includes in DIR], expat_includes=$withval, expat_includes=yes)
+AC_ARG_WITH(expat-lib, [ --with-expat-lib=DIR Use Expat library in DIR], expat_lib=$withval, expat_lib=yes)
+
case "$expat" in
no)
;;
*)
case "$expat_includes" in
yes|no)
- expat_include_path=""
+ EXPAT_CFLAGS=""
;;
*)
- expat_include_path="-I$expat_includes"
+ EXPAT_CFLAGS="-I$expat_includes"
;;
esac
case "$expat_lib" in
yes)
case "$expat" in
yes)
- expat_library="-lexpat"
+ EXPAT_LIBS="-lexpat"
;;
*)
- expat_library="-L$expat/lib -lexpat"
+ EXPAT_LIBS="-L$expat/lib -lexpat"
;;
esac
;;
no)
;;
*)
- expat_library="-L$expat_lib -lexpat"
+ EXPAT_LIBS="-L$expat_lib -lexpat"
;;
esac
- saved_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $expat_include_path"
- saved_LIBS="$LIBS"
- LIBS="$LIBS $expat_library"
+ expatsaved_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
+ expatsaved_LIBS="$LIBS"
+ LIBS="$LIBS $EXPAT_LIBS"
AC_CHECK_HEADER(expat.h)
case "$ac_cv_header_expat_h" in
@@ -271,7 +175,8 @@
yes)
HAVE_XMLPARSE_H=1
AC_SUBST(HAVE_XMLPARSE_H)
- AC_DEFINE_UNQUOTED(HAVE_XMLPARSE_H,$HAVE_XMLPARSE_H)
+ AC_DEFINE_UNQUOTED(HAVE_XMLPARSE_H,$HAVE_XMLPARSE_H,
+ [Use xmlparse.h instead of expat.h])
have_expat_header=yes
;;
esac
@@ -282,29 +187,29 @@
esac
case "$have_expat_header" in
no)
- CPPFLAGS="$saved_CPPFLAGS"
- LIBS="$saved_LIBS"
expat=no
;;
yes)
AC_CHECK_FUNCS(XML_ParserCreate)
case "$ac_cv_func_XML_ParserCreate" in
no)
- CPPFLAGS="$saved_CPPFLAGS"
- LIBS="$saved_LIBS"
expat=no
;;
yes)
HAVE_EXPAT=1
AC_SUBST(HAVE_EXPAT)
- AC_DEFINE_UNQUOTED(HAVE_EXPAT,$HAVE_EXPAT)
+ AC_DEFINE_UNQUOTED(HAVE_EXPAT,$HAVE_EXPAT,
+ [Found a useable expat library])
;;
esac
;;
esac
+ CPPFLAGS="$expatsaved_CPPFLAGS"
+ LIBS="$expatsaved_LIBS"
;;
esac
-
+AC_SUBST(EXPAT_LIBS)
+AC_SUBST(EXPAT_CFLAGS)
case "$expat" in
no)
@@ -312,12 +217,155 @@
;;
esac
-AC_OUTPUT([Makefile
- config/Makedefs
- src/Makefile
- fc-cache/Makefile
- fc-list/Makefile
- fontconfig/Makefile
- fontconfig.pc
- fontconfig-config])
+#
+# Set default font directory
+#
+
+AC_ARG_WITH(default-fonts, [ --with-default-fonts=DIR Use fonts from DIR when config is busted], default_fonts="$withval", default_fonts=yes)
+
+case "$default_fonts" in
+yes)
+ FC_DEFAULT_FONTS="/usr/share/fonts"
+ AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "/usr/share/fonts",
+ [System font directory])
+ ;;
+*)
+ FC_DEFAULT_FONTS="$default_fonts"
+ AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "$default_fonts",
+ [System font directory])
+ ;;
+esac
+
+AC_SUBST(FC_DEFAULT_FONTS)
+
+#
+# Add more fonts if available. By default, add only the directories
+# with outline fonts; those with bitmaps can be added as desired in
+# local.conf or ~/.fonts.conf
+#
+AC_ARG_WITH(add-fonts, [ --with-add-fonts=DIR1,DIR2,...Find additional fonts in DIR1,DIR2,... ], add_fonts="$withval", add_fonts=yes)
+
+case "$add_fonts" in
+yes)
+ FC_ADD_FONTS=""
+ for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
+ case x"$FC_ADD_FONTS" in
+ x)
+ if test -d "$dir/fonts"; then
+ for sub in "$dir"/fonts/*; do
+ if ls "$sub" | grep -q -i '\.pf\|\.tt\|\.ot'; then
+ case x$FC_ADD_FONTS in
+ x)
+ FC_ADD_FONTS="$sub"
+ ;;
+ *)
+ FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
+ ;;
+ esac
+ fi
+ done
+ fi
+ ;;
+ esac
+ done
+ AC_DEFINE_UNQUOTED(FC_ADD_FONTS,"$add_fonts",[Additional font directories])
+ ;;
+no)
+ FC_ADD_FONTS=""
+ ;;
+*)
+ FC_ADD_FONTS="$add_fonts"
+ AC_DEFINE_UNQUOTED(FC_ADD_FONTS,"$add_fonts",[Additional font directories])
+ ;;
+esac
+
+AC_SUBST(FC_ADD_FONTS)
+
+FC_FONTPATH=""
+
+case "$FC_ADD_FONTS" in
+"")
+ ;;
+*)
+ FC_FONTPATH=`echo $FC_ADD_FONTS |
+ sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
+ ;;
+esac
+
+AC_SUBST(FC_FONTPATH)
+
+FC_FONTDATE=`date`
+
+AC_SUBST(FC_FONTDATE)
+
+AC_ARG_WITH(confdir, [ --with-confdir=DIR Use DIR to store configuration files (default /etc/fonts)], confdir="$withval", confdir=yes)
+
+#
+# Set CONFDIR and FONTCONFIG_PATH
+#
+
+case "$confdir" in
+no|yes)
+ confdir='${sysconfdir}'/fonts
+ ;;
+*)
+ ;;
+esac
+AC_SUBST(confdir)
+CONFDIR=${confdir}
+AC_DEFINE_UNQUOTED(CONFDIR, "$CONFDIR",[Font configuration directory])
+AC_SUBST(CONFDIR)
+
+#
+# Find out what language orthographies are included
+#
+
+ORTH_FILES=`cd ${srcdir}/fc-lang && echo *.orth`
+AC_SUBST(ORTH_FILES)
+
+#
+# Let people not build/install docs if they don't have docbook
+#
+
+AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no)
+AC_ARG_ENABLE(docs, [ --disable-docs Don't build and install documentation],,enable_docs=yes)
+
+if test "x$enable_docs" = xyes; then
+ if test "x$HASDOCBOOK" != xyes; then
+ enable_docs=no
+ fi
+fi
+
+AM_CONDITIONAL(ENABLE_DOCS, test "x$enable_docs" = xyes)
+
+#
+# Figure out where to install documentation
+#
+
+AC_ARG_WITH(docdir, [ --with-docdir=DIR Use DIR to store documentation files (default ${datadir}/doc/fontconfig)], confdir="$withval")
+
+if test "x$with_docdir" = "x" ; then
+ DOCDIR='${datadir}/doc/fontconfig'
+else
+ DOCDIR=$with_docdir
+fi
+
+AC_SUBST(DOCDIR)
+
+AC_OUTPUT([
+Makefile
+fontconfig/Makefile
+fc-lang/Makefile
+src/Makefile
+src/fontconfig.def
+fc-cache/Makefile
+fc-list/Makefile
+doc/Makefile
+doc/version.sgml
+test/Makefile
+fontconfig.spec
+fontconfig.pc
+fonts.conf
+fontconfig-zip
+])
Index: fontconfig.pc.in
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/fontconfig.pc.in,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/fontconfig.pc.in 25 Nov 2003 19:27:17 -0000 1.1
+++ b/fontconfig.pc.in 15 Apr 2004 10:13:48 -0000 1.1.4.1
@@ -1,11 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-hardcode_libdir_flag_spec=@hardcode_libdir_flag_spec@
includedir=@includedir@
Name: Fontconfig
Description: Font configuration and customization library
-Version: @PACKAGE_VERSION@
-Libs: ${hardcode_libdir_flag_spec} -L${libdir} -lfontconfig
+Version: @VERSION@
+Libs: -L${libdir} -lfontconfig
Cflags: -I${includedir}
Index: fonts.conf.in
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/fonts.conf.in,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/fonts.conf.in 25 Nov 2003 19:27:17 -0000 1.1
+++ b/fonts.conf.in 15 Apr 2004 10:13:48 -0000 1.1.4.1
@@ -1,45 +1,32 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- /etc/fonts.conf file to configure system font access -->
+<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<!--
+ DO NOT EDIT THIS FILE.
+ IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
+ LOCAL CHANGES BELONG IN 'local.conf'.
+
The intent of this standard configuration file is to be adequate for
most environments. If you have a reasonably normal environment and
have found problems with this configuration, they are probably
- things that others will also want fixed. Please send any suggested
- changes to fonts at xfree86.org so that future releases can include
- such changes.
+ things that others will also want fixed. Please submit any
+ problems to the fontconfig bugzilla system located at fontconfig.org
- Note that the normal 'make install' procedure for XFree86 is to
+ Note that the normal 'make install' procedure for fontconfig is to
replace any existing fonts.conf file with the new version. Place
any local customizations in local.conf which this file references.
Keith Packard
-->
-<!-- FONTPATH_START -->
-
-<!--
- Common X11R6 font directories
--->
+<!-- Font directory list configured on @FC_FONTDATE@ -->
- <dir>/usr/X11R6/lib/X11/fonts</dir>
- <dir>/usr/share/fonts</dir>
+ <dir>@FC_DEFAULT_FONTS@</dir>
+ @FC_FONTPATH@
<dir>~/.fonts</dir>
-<!-- FONTPATH_END -->
-
-<!--
- Enable sub-pixel rendering
- <match target="font">
- <test qual="all" name="rgba">
- <const>unknown</const>
- </test>
- <edit name="rgba" mode="assign"><const>rgb</const></edit>
- </match>
--->
-
<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
@@ -85,6 +72,7 @@
Serif faces
-->
<alias>
+ <family>Bitstream Vera Serif</family>
<family>Times</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
@@ -99,6 +87,7 @@
Sans-serif faces
-->
<alias>
+ <family>Bitstream Vera Sans</family>
<family>Helvetica</family>
<family>Arial</family>
<family>Verdana</family>
@@ -115,6 +104,7 @@
Monospace faces
-->
<alias>
+ <family>Bitstream Vera Sans Mono</family>
<family>Courier</family>
<family>Courier New</family>
<family>Andale Mono</family>
@@ -142,6 +132,75 @@
</match>
<!--
+ Some Asian fonts misadvertise themselves as monospaced when
+ in fact they are dual-spaced (half and full). This makes
+ FreeType very confused as it forces all widths to match.
+ Undo this magic by disabling the width forcing code -->
+ <match target="font">
+ <test name="family"><string>GulimChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>DotumChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>BatangChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+ <match target="font">
+ <test name="family"><string>GungsuhChe</string></test>
+ <edit name="globaladvance"><bool>false</bool></edit>
+ </match>
+
+<!--
+ The Bitstream Vera fonts have GASP entries suggesting that hinting be
+ disabled below 8 ppem, but FreeType ignores those, preferring to use
+ the data found in the instructed hints. The initial Vera release
+ didn't include the right instructions in the 'prep' table. Fix this
+ by disabling hinting manually at smaller sizes (< 8ppem)
+ -->
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Sans</string>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Serif</string>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Bitstream Vera Sans Mono</string>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+<!--
Load per-user customization file
-->
<include ignore_missing="yes">~/.fonts.conf</include>
@@ -172,11 +231,40 @@
</alias>
<!--
+ Check user preference to avoid bitmap fonts and replace
+ bitmap face names with equivalent scalable fonts
+ -->
+
+ <match target="pattern">
+ <test name="prefer_outline">
+ <bool>true</bool>
+ </test>
+ <test name="family">
+ <string>Helvetica</string>
+ </test>
+ <edit name="family" mode="prepend" binding="same">
+ <string>Arial</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="prefer_outline">
+ <bool>true</bool>
+ </test>
+ <test name="family">
+ <string>Times</string>
+ </test>
+ <edit name="family" mode="prepend" binding="same">
+ <string>Times New Roman</string>
+ </edit>
+ </match>
+<!--
Provide required aliases for standard names
-->
<alias>
<family>serif</family>
<prefer>
+ <family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
@@ -190,6 +278,7 @@
<alias>
<family>sans-serif</family>
<prefer>
+ <family>Bitstream Vera Sans</family>
<family>Verdana</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
@@ -205,6 +294,7 @@
<alias>
<family>monospace</family>
<prefer>
+ <family>Bitstream Vera Sans Mono</family>
<family>Andale Mono</family>
<family>Courier New</family>
<family>Luxi Mono</family>
@@ -232,7 +322,7 @@
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
- <matrix><double>1</double><double>.2</double>
+ <matrix><double>1</double><double>0.2</double>
<double>0</double><double>1</double>
</matrix>
</times>
@@ -297,7 +387,7 @@
<int>0xffa0</int> <!-- HALFWIDTH HANGUL FILLER -->
<int>0xfff9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
<int>0xfffa</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
- <int>0xfffa</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
+ <int>0xfffb</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
</blank>
<!--
Rescan configuration every 30 seconds when FcFontSetList is called
Index: fonts.dtd
===================================================================
RCS file: /cvs/xorg/xc/extras/fontconfig/fonts.dtd,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- a/fonts.dtd 25 Nov 2003 19:27:17 -0000 1.1
+++ b/fonts.dtd 15 Apr 2004 10:13:48 -0000 1.1.4.1
@@ -91,7 +91,7 @@
<!ENTITY % expr 'int|double|string|matrix|bool|charset
|name|const
|or|and|eq|not_eq|less|less_eq|more|more_eq|contains|not_contains
- |plus|minus|times|divide|not|if'>
+ |plus|minus|times|divide|not|if|floor|ceil|round|trunc'>
<!--
Match and edit patterns.
@@ -145,7 +145,7 @@
<!ATTLIST edit
name CDATA #REQUIRED
mode (assign|assign_replace|prepend|append|prepend_first|append_last) "assign"
- binding (weak|strong) "weak">
+ binding (weak|strong|same) "weak">
<!--
Elements of expressions follow
@@ -157,7 +157,7 @@
<!ELEMENT string (#PCDATA)>
<!ATTLIST string xml:space (default|preserve) 'preserve'>
<!ELEMENT matrix (double,double,double,double)>
-<!ELEMENT bool (true|false)>
+<!ELEMENT bool (#PCDATA)>
<!ELEMENT charset (#PCDATA)>
<!ATTLIST charset xml:space (default|preserve) 'preserve'>
<!ELEMENT name (#PCDATA)>
@@ -180,3 +180,7 @@
<!ELEMENT divide (%expr;)*>
<!ELEMENT not (%expr;)>
<!ELEMENT if ((%expr;), (%expr;), (%expr;))>
+<!ELEMENT floor (%expr;)>
+<!ELEMENT ceil (%expr;)>
+<!ELEMENT round (%expr;)>
+<!ELEMENT trunc (%expr;)>
--- Imakefile DELETED ---
--- cvscompile.sh DELETED ---
--- findfonts DELETED ---
--- fontconfig-config.in DELETED ---
- Previous message: [xorg-commit-diffs]
xc/extras/fontconfig/doc FcAtomicCreate.3, NONE,
1.1.6.1 FcAtomicDeleteNew.3, NONE, 1.1.6.1 FcAtomicDestroy.3,
NONE, 1.1.6.1 FcAtomicLock.3, NONE, 1.1.6.1 FcAtomicNewFile.3,
NONE, 1.1.6.1 FcAtomicOrigFile.3, NONE,
1.1.6.1 FcAtomicReplaceOrig.3, NONE, 1.1.6.1 FcAtomicUnlock.3,
NONE, 1.1.6.1 FcBlanksAdd.3, NONE, 1.1.6.1 FcBlanksCreate.3,
NONE, 1.1.6.1 FcBlanksDestroy.3, NONE,
1.1.6.1 FcBlanksIsMember.3, NONE, 1.1.6.1 FcCharSetAddChar.3,
NONE, 1.1.6.1 FcCharSetCopy.3, NONE, 1.1.6.1 FcCharSetCount.3,
NONE, 1.1.6.1 FcCharSetCreate.3, NONE,
1.1.6.1 FcCharSetDestroy.3, NONE, 1.1.6.1 FcCharSetEqual.3,
NONE, 1.1.6.1 FcCharSetFirstPage.3, NONE,
1.1.6.1 FcCharSetHasChar.3, NONE, 1.1.6.1 FcCharSetIntersect.3,
NONE, 1.1.6.1 FcCharSetIntersectCount.3, NONE,
1.1.6.1 FcCharSetIsSubset.3, NONE, 1.1.6.1 FcCharSetNextPage.3,
NONE, 1.1.6.1 FcCharSetSubtract.3, NONE,
1.1.6.1 FcCharSetSubtractCount.3, NONE,
1.1.6.1 FcCharSetUnion.3, NONE,
1.1.6.1 FcConfigAppFontAddDir.3, NONE,
1.1.6.1 FcConfigAppFontAddFile.3, NONE,
1.1.6.1 FcConfigAppFontClear.3, NONE,
1.1.6.1 FcConfigBuildFonts.3, NONE, 1.1.6.1 FcConfigCreate.3,
NONE, 1.1.6.1 FcConfigDestroy.3, NONE,
1.1.6.1 FcConfigFilename.3, NONE, 1.1.6.1 FcConfigGetBlanks.3,
NONE, 1.1.6.1 FcConfigGetCache.3, NONE,
1.1.6.1 FcConfigGetConfigDirs.3, NONE,
1.1.6.1 FcConfigGetConfigFiles.3, NONE,
1.1.6.1 FcConfigGetCurrent.3, NONE,
1.1.6.1 FcConfigGetFontDirs.3, NONE,
1.1.6.1 FcConfigGetFonts.3, NONE,
1.1.6.1 FcConfigGetRescanInverval.3, NONE,
1.1.6.1 FcConfigParseAndLoad.3, NONE,
1.1.6.1 FcConfigSetCurrent.3, NONE,
1.1.6.1 FcConfigSetRescanInverval.3, NONE,
1.1.6.1 FcConfigSubstitute.3, NONE,
1.1.6.1 FcConfigSubstituteWithPat.3, NONE,
1.1.6.1 FcConfigUptoDate.3, NONE,
1.1.6.1 FcDefaultSubstitute.3, NONE, 1.1.6.1 FcDirCacheValid.3,
NONE, 1.1.6.1 FcDirSave.3, NONE, 1.1.6.1 FcDirScan.3, NONE,
1.1.6.1 FcFileScan.3, NONE, 1.1.6.1 FcFontList.3, NONE,
1.1.6.1 FcFontMatch.3, NONE, 1.1.6.1 FcFontRenderPrepare.3,
NONE, 1.1.6.1 FcFontSetAdd.3, NONE, 1.1.6.1 FcFontSetCreate.3,
NONE, 1.1.6.1 FcFontSetDestroy.3, NONE, 1.1.6.1 FcFontSort.3,
NONE, 1.1.6.1 FcFreeTypeCharIndex.3, NONE,
1.1.6.1 FcFreeTypeCharSet.3, NONE, 1.1.6.1 FcFreeTypeQuery.3,
NONE, 1.1.6.1 FcGetVersion.3, NONE, 1.1.6.1 FcInit.3, NONE,
1.1.6.1 FcInitBringUptoDate.3, NONE,
1.1.6.1 FcInitLoadConfig.3, NONE,
1.1.6.1 FcInitLoadConfigAndFonts.3, NONE,
1.1.6.1 FcInitReinitialize.3, NONE, 1.1.6.1 FcMatrixCopy.3,
NONE, 1.1.6.1 FcMatrixEqual.3, NONE, 1.1.6.1 FcMatrixInit.3,
NONE, 1.1.6.1 FcMatrixMultiply.3, NONE,
1.1.6.1 FcMatrixRotate.3, NONE, 1.1.6.1 FcMatrixScale.3, NONE,
1.1.6.1 FcMatrixShear.3, NONE, 1.1.6.1 FcNameConstant.3, NONE,
1.1.6.1 FcNameGetConstant.3, NONE,
1.1.6.1 FcNameGetObjectType.3, NONE, 1.1.6.1 FcNameParse.3,
NONE, 1.1.6.1 FcNameRegisterConstants.3, NONE,
1.1.6.1 FcNameRegisterObjectTypes.3, NONE,
1.1.6.1 FcNameUnparse.3, NONE,
1.1.6.1 FcNameUnregisterConstants.3, NONE,
1.1.6.1 FcNameUnregisterObjectTypes.3, NONE,
1.1.6.1 FcObjectSetAdd.3, NONE, 1.1.6.1 FcObjectSetBuild.3,
NONE, 1.1.6.1 FcObjectSetCreate.3, NONE,
1.1.6.1 FcObjectSetDestroy.3, NONE,
1.1.6.1 FcPatternAdd-Type.3, NONE, 1.1.6.1 FcPatternAdd.3,
NONE, 1.1.6.1 FcPatternAddWeak.3, NONE,
1.1.6.1 FcPatternBuild.3, NONE, 1.1.6.1 FcPatternCreate.3,
NONE, 1.1.6.1 FcPatternDel.3, NONE, 1.1.6.1 FcPatternDestroy.3,
NONE, 1.1.6.1 FcPatternEqual.3, NONE,
1.1.6.1 FcPatternEqualSubset.3, NONE,
1.1.6.1 FcPatternGet-Type.3, NONE, 1.1.6.1 FcPatternGet.3,
NONE, 1.1.6.1 FcPatternHash.3, NONE, 1.1.6.1 FcPatternPrint.3,
NONE, 1.1.6.1 FcStrBasename.3, NONE,
1.1.6.1 FcStrCmpIgnoreCase.3, NONE, 1.1.6.1 FcStrCopy.3, NONE,
1.1.6.1 FcStrCopyFilename.3, NONE, 1.1.6.1 FcStrDirname.3,
NONE, 1.1.6.1 FcStrListCreate.3, NONE, 1.1.6.1 FcStrListDone.3,
NONE, 1.1.6.1 FcStrListNext.3, NONE, 1.1.6.1 FcStrSetAdd.3,
NONE, 1.1.6.1 FcStrSetAddFilename.3, NONE,
1.1.6.1 FcStrSetCreate.3, NONE, 1.1.6.1 FcStrSetDel.3, NONE,
1.1.6.1 FcStrSetDestroy.3, NONE, 1.1.6.1 FcStrSetMember.3,
NONE, 1.1.6.1 FcUcs4ToUtf8.3, NONE, 1.1.6.1 FcUtf16Len.3, NONE,
1.1.6.1 FcUtf16ToUcs4.3, NONE, 1.1.6.1 FcUtf8Len.3, NONE,
1.1.6.1 FcUtf8ToUcs4.3, NONE, 1.1.6.1 FcValueDestroy.3, NONE,
1.1.6.1 FcValueSave.3, NONE, 1.1.6.1 Makefile.am, NONE,
1.1.6.1 Makefile.in, NONE, 1.1.6.1 edit-sgml.c, NONE,
1.1.6.1 fcatomic.fncs, NONE, 1.1.6.1 fcblanks.fncs, NONE,
1.1.6.1 fccharset.fncs, NONE, 1.1.6.1 fcconfig.fncs, NONE,
1.1.6.1 fcconstant.fncs, NONE, 1.1.6.1 fcfile.fncs, NONE,
1.1.6.1 fcfontset.fncs, NONE, 1.1.6.1 fcfreetype.fncs, NONE,
1.1.6.1 fcinit.fncs, NONE, 1.1.6.1 fcmatrix.fncs, NONE,
1.1.6.1 fcobjectset.fncs, NONE, 1.1.6.1 fcobjecttype.fncs,
NONE, 1.1.6.1 fcpattern.fncs, NONE, 1.1.6.1 fcstring.fncs,
NONE, 1.1.6.1 fcstrset.fncs, NONE, 1.1.6.1 fcvalue.fncs, NONE,
1.1.6.1 fontconfig-devel.sgml, NONE,
1.1.6.1 fontconfig-devel.txt, NONE,
1.1.6.1 fontconfig-user.html, NONE,
1.1.6.1 fontconfig-user.sgml, NONE,
1.1.6.1 fontconfig-user.txt, NONE, 1.1.6.1 fonts-conf.5, NONE,
1.1.6.1 func.sgml, NONE, 1.1.6.1 version.sgml.in, NONE, 1.1.6.1
- Next message: [xorg-commit-diffs] xc/extras/fontconfig/doc/fontconfig-devel
index.html, NONE, 1.1.6.1 r1016.html, NONE, 1.1.6.1 r1042.html,
NONE, 1.1.6.1 r1064.html, NONE, 1.1.6.1 r1087.html, NONE,
1.1.6.1 r1111.html, NONE, 1.1.6.1 r1134.html, NONE,
1.1.6.1 r1159.html, NONE, 1.1.6.1 r1184.html, NONE,
1.1.6.1 r120.html, NONE, 1.1.6.1 r1209.html, NONE,
1.1.6.1 r1234.html, NONE, 1.1.6.1 r1259.html, NONE,
1.1.6.1 r1281.html, NONE, 1.1.6.1 r1306.html, NONE,
1.1.6.1 r1331.html, NONE, 1.1.6.1 r1356.html, NONE,
1.1.6.1 r1383.html, NONE, 1.1.6.1 r141.html, NONE,
1.1.6.1 r1414.html, NONE, 1.1.6.1 r1437.html, NONE,
1.1.6.1 r1460.html, NONE, 1.1.6.1 r1486.html, NONE,
1.1.6.1 r1515.html, NONE, 1.1.6.1 r1545.html, NONE,
1.1.6.1 r1575.html, NONE, 1.1.6.1 r1608.html, NONE,
1.1.6.1 r162.html, NONE, 1.1.6.1 r1629.html, NONE,
1.1.6.1 r1650.html, NONE, 1.1.6.1 r1672.html, NONE,
1.1.6.1 r1693.html, NONE, 1.1.6.1 r1715.html, NONE,
1.1.6.1 r1736.html, NONE, 1.1.6.1 r1758.html, NONE,
1.1.6.1 r1780.html, NONE, 1.1.6.1 r1802.html, NONE,
1.1.6.1 r1823.html, NONE, 1.1.6.1 r183.html, NONE,
1.1.6.1 r1847.html, NONE, 1.1.6.1 r1868.html, NONE,
1.1.6.1 r1890.html, NONE, 1.1.6.1 r1913.html, NONE,
1.1.6.1 r1936.html, NONE, 1.1.6.1 r1959.html, NONE,
1.1.6.1 r1980.html, NONE, 1.1.6.1 r2009.html, NONE,
1.1.6.1 r2034.html, NONE, 1.1.6.1 r204.html, NONE,
1.1.6.1 r2062.html, NONE, 1.1.6.1 r2099.html, NONE,
1.1.6.1 r2130.html, NONE, 1.1.6.1 r2157.html, NONE,
1.1.6.1 r2181.html, NONE, 1.1.6.1 r2207.html, NONE,
1.1.6.1 r2231.html, NONE, 1.1.6.1 r2255.html, NONE,
1.1.6.1 r228.html, NONE, 1.1.6.1 r2280.html, NONE,
1.1.6.1 r2304.html, NONE, 1.1.6.1 r2328.html, NONE,
1.1.6.1 r2350.html, NONE, 1.1.6.1 r2378.html, NONE,
1.1.6.1 r2399.html, NONE, 1.1.6.1 r2420.html, NONE,
1.1.6.1 r2443.html, NONE, 1.1.6.1 r2469.html, NONE,
1.1.6.1 r249.html, NONE, 1.1.6.1 r2491.html, NONE,
1.1.6.1 r2513.html, NONE, 1.1.6.1 r2535.html, NONE,
1.1.6.1 r2557.html, NONE, 1.1.6.1 r2579.html, NONE,
1.1.6.1 r2600.html, NONE, 1.1.6.1 r2621.html, NONE,
1.1.6.1 r2646.html, NONE, 1.1.6.1 r2682.html, NONE,
1.1.6.1 r270.html, NONE, 1.1.6.1 r2717.html, NONE,
1.1.6.1 r2745.html, NONE, 1.1.6.1 r2770.html, NONE,
1.1.6.1 r2791.html, NONE, 1.1.6.1 r2816.html, NONE,
1.1.6.1 r2841.html, NONE, 1.1.6.1 r2866.html, NONE,
1.1.6.1 r2892.html, NONE, 1.1.6.1 r2914.html, NONE,
1.1.6.1 r2936.html, NONE, 1.1.6.1 r295.html, NONE,
1.1.6.1 r2958.html, NONE, 1.1.6.1 r2983.html, NONE,
1.1.6.1 r3012.html, NONE, 1.1.6.1 r3037.html, NONE,
1.1.6.1 r3069.html, NONE, 1.1.6.1 r3102.html, NONE,
1.1.6.1 r3138.html, NONE, 1.1.6.1 r3161.html, NONE,
1.1.6.1 r3184.html, NONE, 1.1.6.1 r3209.html, NONE,
1.1.6.1 r323.html, NONE, 1.1.6.1 r3231.html, NONE,
1.1.6.1 r344.html, NONE, 1.1.6.1 r372.html, NONE,
1.1.6.1 r401.html, NONE, 1.1.6.1 r476.html, NONE,
1.1.6.1 r504.html, NONE, 1.1.6.1 r591.html, NONE,
1.1.6.1 r632.html, NONE, 1.1.6.1 r655.html, NONE,
1.1.6.1 r676.html, NONE, 1.1.6.1 r704.html, NONE,
1.1.6.1 r726.html, NONE, 1.1.6.1 r750.html, NONE,
1.1.6.1 r771.html, NONE, 1.1.6.1 r792.html, NONE,
1.1.6.1 r818.html, NONE, 1.1.6.1 r839.html, NONE,
1.1.6.1 r862.html, NONE, 1.1.6.1 r883.html, NONE,
1.1.6.1 r917.html, NONE, 1.1.6.1 r940.html, NONE,
1.1.6.1 r963.html, NONE, 1.1.6.1 r99.html, NONE,
1.1.6.1 r994.html, NONE, 1.1.6.1 x19.html, NONE,
1.1.6.1 x31.html, NONE, 1.1.6.1 x93.html, NONE, 1.1.6.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the xorg-commit-diffs
mailing list