compat32_fontconfig: Rename fontconfig-32 to compat32_fontconfig

This commit is contained in:
Naveen Narayanan 2019-07-23 13:45:06 +02:00
parent 4841b1d459
commit 5eda319aec
23 changed files with 1305 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# $NetBSD: DEINSTALL,v 1.1 2006/09/17 18:20:20 joerg Exp $
VARBASE="@VARBASE@"
case ${STAGE} in
DEINSTALL)
${RM} -rf ${VARBASE}/cache/fontconfig
;;
esac

24
compat32_fontconfig/DESCR Normal file
View File

@ -0,0 +1,24 @@
Fontconfig is a library for configuring and customizing font access.
Fontconfig can:
* discover new fonts when installed automatically, removing a common
source of configuration problems.
* perform font name substitution, so that appropriate alternative fonts
can be selected if fonts are missing.
* identify the set of fonts required to completely cover a set of
languages.
* have GUI configuration tools built as it uses an XML-based
configuration file (though with autodiscovery, we believe this need is
minimized).
* efficiently and quickly find the fonts you need among the set of fonts
you have installed, even if you have installed thousands of fonts,
while minimizing memory usage.
* be used in concert with the X Render Extension and FreeType to
implement high quality, anti-aliased and subpixel rendered text on a
display.
Fontconfig does not:
* render the fonts themselves (this is left to FreeType or other
rendering mechanisms).
* depend on the X Window System in any fashion, so that printer only
applications do not have such dependencies.

View File

@ -0,0 +1,10 @@
# $NetBSD: INSTALL,v 1.1 2006/09/17 18:20:20 joerg Exp $
VARBASE="@VARBASE@"
case ${STAGE} in
POST-INSTALL)
${MKDIR} ${VARBASE}/cache/fontconfig
${PREFIX}/bin/fc-cache
;;
esac

View File

@ -0,0 +1,117 @@
# $NetBSD: Makefile,v 1.115 2018/09/17 06:56:22 maya Exp $
DISTNAME= fontconfig-2.13.1
ABI= 32
CATEGORIES= fonts
MASTER_SITES= https://www.fontconfig.org/release/
EXTRACT_SUFX= .tar.bz2
PKGNAME= compat${ABI}_${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.fontconfig.org/
COMMENT= Library for configuring and customizing font access
#LICENSE= x11?
# https://bugs.freedesktop.org/show_bug.cgi?id=101280
BUILD_DEPENDS+= gperf-[0-9]*:../../devel/gperf
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config msgfmt
CFLAGS+= -m32
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/emul/netbsd32/
CONFIGURE_ARGS+= --with-default-fonts=${PREFIX}/emul/netbsd32/share/fonts/X11
CONFIGURE_ARGS+= --with-expat-includes=${PREFIX}/emul/netbsd32/include
CONFIGURE_ARGS+= --with-expat-lib=${PREFIX}/emul/netbsd32/lib
CONFIGURE_ARGS+= --with-baseconfigdir=${PREFIX}/emul/netbsd32/etc
CONFIGURE_ARGS+= --with-cache-dir=${VARBASE}/cache/fontconfig
CONFIGURE_ARGS+= --libdir=${PREFIX}/emul/netbsd32/lib/fontconfig
CONFIGURE_ARGS+= --enable-docs
CONFIGURE_ARGS+= --x-libraries=${PREFIX}/emul/netbsd32/lib
CONFIGURE_ENV+= HASDOCBOOK=no
PKGCONFIG_OVERRIDE= fontconfig.pc.in
_PKG_CONFIG_LIBDIR= ${BUILDLINK_DIR}/emul/netbsd32/lib/pkgconfig:${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig
PKG_SYSCONFSUBDIR= fontconfig
.include "../../mk/compiler.mk"
# Workaround for GCC 4.2 bug, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46861
# GCC 4.2 and -fPIC with visibility
.if !empty(CC_VERSION:Mgcc-4.2.*)
SUBST_CLASSES+= visibility
SUBST_STAGE.visibility= pre-configure
SUBST_MESSAGE.visibility= Removing visibility
SUBST_FILES.visibility= src/makealias
SUBST_SED.visibility= -e 's/__attribute((visibility("hidden")))//g'
SUBST_SED.visibility+= -e 's/, visibility("default")//g'
.endif
.include "../../mk/bsd.prefs.mk"
ADDFONTS= ${PREFIX}/emul/netbsd32/share/fonts/urw,${PREFIX}/emul/netbsd32/share/ghostscript/fonts,${PREFIX}/emul/netbsd32/share/fonts/X11
.if ${X11BASE} != ${LOCALBASE}
ADDFONTS:= ${PREFIX}/emul/netbsd32/lib/X11/fonts,${ADDFONTS}
.else
ADDFONTS:= ${LOCALBASE}/share/fonts/X11,${ADDFONTS}
.endif
.if ${OPSYS} == "Darwin"
ADDFONTS:= ~/Library/Fonts,/Library/Fonts,/System/Library/Fonts,${ADDFONTS}
CONFIGURE_ARGS+= --with-arch=${MACHINE_ARCH}
.endif
CONFIGURE_ARGS+= --with-add-fonts=${ADDFONTS}
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-build
SUBST_FILES.prefix= conf.d/README
SUBST_VARS.prefix= PREFIX
PKG_SYSCONFDIR32 = ${PREFIX}/emul/netbsd32/etc
EGDIR= ${PREFIX}/emul/netbsd32/share/examples/fontconfig
CONF_FILES= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR32}/fonts.conf
CONF_FILES+= ${EGDIR}/conf.d/README ${PKG_SYSCONFDIR32}/conf.d/README
TMPLDIR= ${PREFIX}/emul/netbsd32/share/fontconfig/conf.avail
MAKE_DIRS+= ${PKG_SYSCONFDIR32}/conf.d
# following list from ${WRKSRC}/conf.d/Makefile.am
FC_STDCONF= 10-scale-bitmap-fonts.conf 10-hinting-full.conf \
10-hinting-medium.conf 10-hinting-none.conf 10-hinting-slight.conf \
20-unhint-small-vera.conf \
30-metric-aliases.conf 40-nonlatin.conf \
45-latin.conf 49-sansserif.conf 50-user.conf 51-local.conf \
60-latin.conf 65-fonts-persian.conf 65-nonlatin.conf 69-unifont.conf \
80-delicious.conf 90-synthetic.conf
# pkgsrc addition
FC_STDCONF+= 30-pkgsrc-aliases.conf
.for f in ${FC_STDCONF}
CONF_FILES+= ${TMPLDIR}/${f} ${PKG_SYSCONFDIR32}/conf.d/${f}
.endfor
MAKE_DIRS+= ${VARBASE}/cache
BUILD_DEFS+= VARBASE
TEST_TARGET= check
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
.endif
pre-configure:
-cd ${BUILDLINK_X11_DIR:Q} && ${FIND} . -path "*fontconfig*" -type l -delete
-cd ${BUILDLINK_X11_DIR:Q}/emul/netbsd32/lib && find . -name "*freetype*" -maxdepth 1 -type l -delete
post-install:
${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf ${DESTDIR}${TMPLDIR}
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.if ${OPSYS} != "Darwin"
.include "../../wip/libuuid-32/buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.8.1
.include "../../wip/freetype2-32/buildlink3.mk"
.include "../../wip/compat80-x11/buildlink3.mk"
.include "../../wip/expat-32/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

509
compat32_fontconfig/PLIST Normal file
View File

@ -0,0 +1,509 @@
@comment $NetBSD$
emul/netbsd32/bin/fc-cache
emul/netbsd32/bin/fc-cat
emul/netbsd32/bin/fc-conflist
emul/netbsd32/bin/fc-list
emul/netbsd32/bin/fc-match
emul/netbsd32/bin/fc-pattern
emul/netbsd32/bin/fc-query
emul/netbsd32/bin/fc-scan
emul/netbsd32/bin/fc-validate
emul/netbsd32/include/fontconfig/fcfreetype.h
emul/netbsd32/include/fontconfig/fcprivate.h
emul/netbsd32/include/fontconfig/fontconfig.h
emul/netbsd32/lib/fontconfig/libfontconfig.la
emul/netbsd32/lib/fontconfig/pkgconfig/fontconfig.pc
emul/netbsd32/man/man1/fc-cache.1
emul/netbsd32/man/man1/fc-cat.1
emul/netbsd32/man/man1/fc-conflist.1
emul/netbsd32/man/man1/fc-list.1
emul/netbsd32/man/man1/fc-match.1
emul/netbsd32/man/man1/fc-pattern.1
emul/netbsd32/man/man1/fc-query.1
emul/netbsd32/man/man1/fc-scan.1
emul/netbsd32/man/man1/fc-validate.1
emul/netbsd32/man/man3/FcAtomicCreate.3
emul/netbsd32/man/man3/FcAtomicDeleteNew.3
emul/netbsd32/man/man3/FcAtomicDestroy.3
emul/netbsd32/man/man3/FcAtomicLock.3
emul/netbsd32/man/man3/FcAtomicNewFile.3
emul/netbsd32/man/man3/FcAtomicOrigFile.3
emul/netbsd32/man/man3/FcAtomicReplaceOrig.3
emul/netbsd32/man/man3/FcAtomicUnlock.3
emul/netbsd32/man/man3/FcBlanksAdd.3
emul/netbsd32/man/man3/FcBlanksCreate.3
emul/netbsd32/man/man3/FcBlanksDestroy.3
emul/netbsd32/man/man3/FcBlanksIsMember.3
emul/netbsd32/man/man3/FcCacheCopySet.3
emul/netbsd32/man/man3/FcCacheCreateTagFile.3
emul/netbsd32/man/man3/FcCacheDir.3
emul/netbsd32/man/man3/FcCacheNumFont.3
emul/netbsd32/man/man3/FcCacheNumSubdir.3
emul/netbsd32/man/man3/FcCacheSubdir.3
emul/netbsd32/man/man3/FcCharSetAddChar.3
emul/netbsd32/man/man3/FcCharSetCopy.3
emul/netbsd32/man/man3/FcCharSetCount.3
emul/netbsd32/man/man3/FcCharSetCoverage.3
emul/netbsd32/man/man3/FcCharSetCreate.3
emul/netbsd32/man/man3/FcCharSetDelChar.3
emul/netbsd32/man/man3/FcCharSetDestroy.3
emul/netbsd32/man/man3/FcCharSetEqual.3
emul/netbsd32/man/man3/FcCharSetFirstPage.3
emul/netbsd32/man/man3/FcCharSetHasChar.3
emul/netbsd32/man/man3/FcCharSetIntersect.3
emul/netbsd32/man/man3/FcCharSetIntersectCount.3
emul/netbsd32/man/man3/FcCharSetIsSubset.3
emul/netbsd32/man/man3/FcCharSetMerge.3
emul/netbsd32/man/man3/FcCharSetNew.3
emul/netbsd32/man/man3/FcCharSetNextPage.3
emul/netbsd32/man/man3/FcCharSetSubtract.3
emul/netbsd32/man/man3/FcCharSetSubtractCount.3
emul/netbsd32/man/man3/FcCharSetUnion.3
emul/netbsd32/man/man3/FcConfigAppFontAddDir.3
emul/netbsd32/man/man3/FcConfigAppFontAddFile.3
emul/netbsd32/man/man3/FcConfigAppFontClear.3
emul/netbsd32/man/man3/FcConfigBuildFonts.3
emul/netbsd32/man/man3/FcConfigCreate.3
emul/netbsd32/man/man3/FcConfigDestroy.3
emul/netbsd32/man/man3/FcConfigEnableHome.3
emul/netbsd32/man/man3/FcConfigFileInfoIterGet.3
emul/netbsd32/man/man3/FcConfigFileInfoIterInit.3
emul/netbsd32/man/man3/FcConfigFileInfoIterNext.3
emul/netbsd32/man/man3/FcConfigFilename.3
emul/netbsd32/man/man3/FcConfigGetBlanks.3
emul/netbsd32/man/man3/FcConfigGetCache.3
emul/netbsd32/man/man3/FcConfigGetCacheDirs.3
emul/netbsd32/man/man3/FcConfigGetConfigDirs.3
emul/netbsd32/man/man3/FcConfigGetConfigFiles.3
emul/netbsd32/man/man3/FcConfigGetCurrent.3
emul/netbsd32/man/man3/FcConfigGetFontDirs.3
emul/netbsd32/man/man3/FcConfigGetFonts.3
emul/netbsd32/man/man3/FcConfigGetRescanInterval.3
emul/netbsd32/man/man3/FcConfigGetSysRoot.3
emul/netbsd32/man/man3/FcConfigHome.3
emul/netbsd32/man/man3/FcConfigParseAndLoad.3
emul/netbsd32/man/man3/FcConfigParseAndLoadFromMemory.3
emul/netbsd32/man/man3/FcConfigReference.3
emul/netbsd32/man/man3/FcConfigSetCurrent.3
emul/netbsd32/man/man3/FcConfigSetRescanInterval.3
emul/netbsd32/man/man3/FcConfigSetSysRoot.3
emul/netbsd32/man/man3/FcConfigSubstitute.3
emul/netbsd32/man/man3/FcConfigSubstituteWithPat.3
emul/netbsd32/man/man3/FcConfigUptoDate.3
emul/netbsd32/man/man3/FcDefaultSubstitute.3
emul/netbsd32/man/man3/FcDirCacheClean.3
emul/netbsd32/man/man3/FcDirCacheCreateUUID.3
emul/netbsd32/man/man3/FcDirCacheDeleteUUID.3
emul/netbsd32/man/man3/FcDirCacheLoad.3
emul/netbsd32/man/man3/FcDirCacheLoadFile.3
emul/netbsd32/man/man3/FcDirCacheRead.3
emul/netbsd32/man/man3/FcDirCacheRescan.3
emul/netbsd32/man/man3/FcDirCacheUnlink.3
emul/netbsd32/man/man3/FcDirCacheUnload.3
emul/netbsd32/man/man3/FcDirCacheValid.3
emul/netbsd32/man/man3/FcDirSave.3
emul/netbsd32/man/man3/FcDirScan.3
emul/netbsd32/man/man3/FcFileIsDir.3
emul/netbsd32/man/man3/FcFileScan.3
emul/netbsd32/man/man3/FcFini.3
emul/netbsd32/man/man3/FcFontList.3
emul/netbsd32/man/man3/FcFontMatch.3
emul/netbsd32/man/man3/FcFontRenderPrepare.3
emul/netbsd32/man/man3/FcFontSetAdd.3
emul/netbsd32/man/man3/FcFontSetCreate.3
emul/netbsd32/man/man3/FcFontSetDestroy.3
emul/netbsd32/man/man3/FcFontSetList.3
emul/netbsd32/man/man3/FcFontSetMatch.3
emul/netbsd32/man/man3/FcFontSetPrint.3
emul/netbsd32/man/man3/FcFontSetSort.3
emul/netbsd32/man/man3/FcFontSetSortDestroy.3
emul/netbsd32/man/man3/FcFontSort.3
emul/netbsd32/man/man3/FcFreeTypeCharIndex.3
emul/netbsd32/man/man3/FcFreeTypeCharSet.3
emul/netbsd32/man/man3/FcFreeTypeCharSetAndSpacing.3
emul/netbsd32/man/man3/FcFreeTypeQuery.3
emul/netbsd32/man/man3/FcFreeTypeQueryAll.3
emul/netbsd32/man/man3/FcFreeTypeQueryFace.3
emul/netbsd32/man/man3/FcGetDefaultLangs.3
emul/netbsd32/man/man3/FcGetLangs.3
emul/netbsd32/man/man3/FcGetVersion.3
emul/netbsd32/man/man3/FcInit.3
emul/netbsd32/man/man3/FcInitBringUptoDate.3
emul/netbsd32/man/man3/FcInitLoadConfig.3
emul/netbsd32/man/man3/FcInitLoadConfigAndFonts.3
emul/netbsd32/man/man3/FcInitReinitialize.3
emul/netbsd32/man/man3/FcIsLower.3
emul/netbsd32/man/man3/FcIsUpper.3
emul/netbsd32/man/man3/FcLangGetCharSet.3
emul/netbsd32/man/man3/FcLangNormalize.3
emul/netbsd32/man/man3/FcLangSetAdd.3
emul/netbsd32/man/man3/FcLangSetCompare.3
emul/netbsd32/man/man3/FcLangSetContains.3
emul/netbsd32/man/man3/FcLangSetCopy.3
emul/netbsd32/man/man3/FcLangSetCreate.3
emul/netbsd32/man/man3/FcLangSetDel.3
emul/netbsd32/man/man3/FcLangSetDestroy.3
emul/netbsd32/man/man3/FcLangSetEqual.3
emul/netbsd32/man/man3/FcLangSetGetLangs.3
emul/netbsd32/man/man3/FcLangSetHasLang.3
emul/netbsd32/man/man3/FcLangSetHash.3
emul/netbsd32/man/man3/FcLangSetSubtract.3
emul/netbsd32/man/man3/FcLangSetUnion.3
emul/netbsd32/man/man3/FcMatrixCopy.3
emul/netbsd32/man/man3/FcMatrixEqual.3
emul/netbsd32/man/man3/FcMatrixInit.3
emul/netbsd32/man/man3/FcMatrixMultiply.3
emul/netbsd32/man/man3/FcMatrixRotate.3
emul/netbsd32/man/man3/FcMatrixScale.3
emul/netbsd32/man/man3/FcMatrixShear.3
emul/netbsd32/man/man3/FcNameConstant.3
emul/netbsd32/man/man3/FcNameGetConstant.3
emul/netbsd32/man/man3/FcNameGetObjectType.3
emul/netbsd32/man/man3/FcNameParse.3
emul/netbsd32/man/man3/FcNameRegisterConstants.3
emul/netbsd32/man/man3/FcNameRegisterObjectTypes.3
emul/netbsd32/man/man3/FcNameUnparse.3
emul/netbsd32/man/man3/FcNameUnregisterConstants.3
emul/netbsd32/man/man3/FcNameUnregisterObjectTypes.3
emul/netbsd32/man/man3/FcObjectSetAdd.3
emul/netbsd32/man/man3/FcObjectSetBuild.3
emul/netbsd32/man/man3/FcObjectSetCreate.3
emul/netbsd32/man/man3/FcObjectSetDestroy.3
emul/netbsd32/man/man3/FcPatternAdd-Type.3
emul/netbsd32/man/man3/FcPatternAdd.3
emul/netbsd32/man/man3/FcPatternAddWeak.3
emul/netbsd32/man/man3/FcPatternBuild.3
emul/netbsd32/man/man3/FcPatternCreate.3
emul/netbsd32/man/man3/FcPatternDel.3
emul/netbsd32/man/man3/FcPatternDestroy.3
emul/netbsd32/man/man3/FcPatternDuplicate.3
emul/netbsd32/man/man3/FcPatternEqual.3
emul/netbsd32/man/man3/FcPatternEqualSubset.3
emul/netbsd32/man/man3/FcPatternFilter.3
emul/netbsd32/man/man3/FcPatternFindIter.3
emul/netbsd32/man/man3/FcPatternFormat.3
emul/netbsd32/man/man3/FcPatternGet-Type.3
emul/netbsd32/man/man3/FcPatternGet.3
emul/netbsd32/man/man3/FcPatternGetWithBinding.3
emul/netbsd32/man/man3/FcPatternHash.3
emul/netbsd32/man/man3/FcPatternIterEqual.3
emul/netbsd32/man/man3/FcPatternIterGetObject.3
emul/netbsd32/man/man3/FcPatternIterGetValue.3
emul/netbsd32/man/man3/FcPatternIterIsValid.3
emul/netbsd32/man/man3/FcPatternIterNext.3
emul/netbsd32/man/man3/FcPatternIterStart.3
emul/netbsd32/man/man3/FcPatternIterValueCount.3
emul/netbsd32/man/man3/FcPatternObjectCount.3
emul/netbsd32/man/man3/FcPatternPrint.3
emul/netbsd32/man/man3/FcPatternReference.3
emul/netbsd32/man/man3/FcPatternRemove.3
emul/netbsd32/man/man3/FcRangeCopy.3
emul/netbsd32/man/man3/FcRangeCreateDouble.3
emul/netbsd32/man/man3/FcRangeCreateInteger.3
emul/netbsd32/man/man3/FcRangeDestroy.3
emul/netbsd32/man/man3/FcRangeGetDouble.3
emul/netbsd32/man/man3/FcStrBasename.3
emul/netbsd32/man/man3/FcStrCmp.3
emul/netbsd32/man/man3/FcStrCmpIgnoreCase.3
emul/netbsd32/man/man3/FcStrCopy.3
emul/netbsd32/man/man3/FcStrCopyFilename.3
emul/netbsd32/man/man3/FcStrDirname.3
emul/netbsd32/man/man3/FcStrDowncase.3
emul/netbsd32/man/man3/FcStrFree.3
emul/netbsd32/man/man3/FcStrListCreate.3
emul/netbsd32/man/man3/FcStrListDone.3
emul/netbsd32/man/man3/FcStrListFirst.3
emul/netbsd32/man/man3/FcStrListNext.3
emul/netbsd32/man/man3/FcStrPlus.3
emul/netbsd32/man/man3/FcStrSetAdd.3
emul/netbsd32/man/man3/FcStrSetAddFilename.3
emul/netbsd32/man/man3/FcStrSetCreate.3
emul/netbsd32/man/man3/FcStrSetDel.3
emul/netbsd32/man/man3/FcStrSetDestroy.3
emul/netbsd32/man/man3/FcStrSetEqual.3
emul/netbsd32/man/man3/FcStrSetMember.3
emul/netbsd32/man/man3/FcStrStr.3
emul/netbsd32/man/man3/FcStrStrIgnoreCase.3
emul/netbsd32/man/man3/FcToLower.3
emul/netbsd32/man/man3/FcUcs4ToUtf8.3
emul/netbsd32/man/man3/FcUtf16Len.3
emul/netbsd32/man/man3/FcUtf16ToUcs4.3
emul/netbsd32/man/man3/FcUtf8Len.3
emul/netbsd32/man/man3/FcUtf8ToUcs4.3
emul/netbsd32/man/man3/FcValueDestroy.3
emul/netbsd32/man/man3/FcValueEqual.3
emul/netbsd32/man/man3/FcValuePrint.3
emul/netbsd32/man/man3/FcValueSave.3
emul/netbsd32/man/man3/FcWeightFromOpenType.3
emul/netbsd32/man/man3/FcWeightFromOpenTypeDouble.3
emul/netbsd32/man/man3/FcWeightToOpenType.3
emul/netbsd32/man/man3/FcWeightToOpenTypeDouble.3
emul/netbsd32/man/man5/fonts-conf.5
emul/netbsd32/share/doc/fontconfig/fontconfig-devel.pdf
emul/netbsd32/share/doc/fontconfig/fontconfig-devel.txt
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomiccreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomicdeletenew.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomicdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomiclock.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomicnewfile.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomicorigfile.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomicreplaceorig.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcatomicunlock.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcblanksadd.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcblankscreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcblanksdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcblanksismember.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccachecopyset.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccachecreatetagfile.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccachedir.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccachenumfont.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccachenumsubdir.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccachesubdir.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetaddchar.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetcopy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetcount.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetcoverage.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetdelchar.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetfirstpage.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsethaschar.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetintersect.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetintersectcount.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetissubset.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetmerge.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetnew.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetnextpage.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetsubtract.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetsubtractcount.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fccharsetunion.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigappfontadddir.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigappfontaddfile.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigappfontclear.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigbuildfonts.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigenablehome.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigfileinfoiterget.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigfileinfoiterinit.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigfileinfoiternext.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigfilename.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetblanks.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetcache.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetcachedirs.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigdirs.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigfiles.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetcurrent.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetfontdirs.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetfonts.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetrescaninterval.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiggetsysroot.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfighome.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigparseandload.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigparseandloadfrommemory.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigreference.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigsetcurrent.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigsetrescaninterval.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigsetsysroot.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitute.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitutewithpat.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcconfiguptodate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdefaultsubstitute.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacheclean.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircachecreateuuid.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircachedeleteuuid.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacheload.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacheloadfile.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacheread.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacherescan.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacheunlink.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircacheunload.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdircachevalid.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdirsave.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcdirscan.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfileisdir.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfilescan.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfini.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontlist.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontmatch.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontrenderprepare.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetadd.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetlist.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetmatch.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetprint.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetsort.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsetsortdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfontsort.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfreetypecharindex.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfreetypecharset.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfreetypecharsetandspacing.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfreetypequery.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfreetypequeryall.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcfreetypequeryface.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcgetdefaultlangs.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcgetlangs.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcgetversion.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcinit.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcinitbringuptodate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcinitloadconfig.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcinitloadconfigandfonts.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcinitreinitialize.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcislower.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcisupper.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclanggetcharset.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangnormalize.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetadd.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetcompare.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetcontains.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetcopy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetdel.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetgetlangs.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsethash.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsethaslang.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetsubtract.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fclangsetunion.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixcopy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixmultiply.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixrotate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixscale.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcmatrixshear.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameconstant.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnamegetconstant.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnamegetobjecttype.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameparse.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameregisterconstants.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameregisterobjecttypes.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameunparse.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameunregisterconstants.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcnameunregisterobjecttypes.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcobjectsetadd.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcobjectsetbuild.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcobjectsetcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcobjectsetdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternadd-type.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternadd.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternaddweak.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternbuild.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterncreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterndel.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterndestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternduplicate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternequalsubset.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternfilter.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternfinditer.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternformat.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternget-type.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternget.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterngetwithbinding.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternhash.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterniterequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternitergetobject.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternitergetvalue.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterniterisvalid.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterniternext.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatterniterstart.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternitervaluecount.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternobjectcount.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternprint.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternreference.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcpatternremove.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcrangecopy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcrangecreatedouble.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcrangecreateinteger.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcrangedestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcrangegetdouble.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrbasename.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrcmp.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrcmpignorecase.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrcopy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrcopyfilename.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrdirname.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrdowncase.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrfree.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrlistcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrlistdone.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrlistfirst.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrlistnext.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrplus.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetadd.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetaddfilename.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetcreate.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetdel.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetdestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrsetmember.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrstr.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcstrstrignorecase.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fctolower.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcucs4toutf8.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcutf16len.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcutf16toucs4.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcutf8len.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcutf8toucs4.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcvaluedestroy.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcvalueequal.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcvalueprint.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcvaluesave.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcweightfromopentype.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcweightfromopentypedouble.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcweighttoopentype.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/fcweighttoopentypedouble.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/ln12.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/t1.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/x103.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/x19.html
emul/netbsd32/share/doc/fontconfig/fontconfig-devel/x31.html
emul/netbsd32/share/doc/fontconfig/fontconfig-user.html
emul/netbsd32/share/doc/fontconfig/fontconfig-user.pdf
emul/netbsd32/share/doc/fontconfig/fontconfig-user.txt
emul/netbsd32/share/examples/fontconfig/conf.d/README
emul/netbsd32/share/examples/fontconfig/fonts.conf
emul/netbsd32/share/fontconfig/conf.avail/10-autohint.conf
emul/netbsd32/share/fontconfig/conf.avail/10-hinting-full.conf
emul/netbsd32/share/fontconfig/conf.avail/10-hinting-medium.conf
emul/netbsd32/share/fontconfig/conf.avail/10-hinting-none.conf
emul/netbsd32/share/fontconfig/conf.avail/10-hinting-slight.conf
emul/netbsd32/share/fontconfig/conf.avail/10-no-sub-pixel.conf
emul/netbsd32/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
emul/netbsd32/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
emul/netbsd32/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
emul/netbsd32/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
emul/netbsd32/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
emul/netbsd32/share/fontconfig/conf.avail/10-unhinted.conf
emul/netbsd32/share/fontconfig/conf.avail/11-lcdfilter-default.conf
emul/netbsd32/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
emul/netbsd32/share/fontconfig/conf.avail/11-lcdfilter-light.conf
emul/netbsd32/share/fontconfig/conf.avail/20-unhint-small-vera.conf
emul/netbsd32/share/fontconfig/conf.avail/25-unhint-nonlatin.conf
emul/netbsd32/share/fontconfig/conf.avail/30-metric-aliases.conf
emul/netbsd32/share/fontconfig/conf.avail/30-pkgsrc-aliases.conf
emul/netbsd32/share/fontconfig/conf.avail/40-nonlatin.conf
emul/netbsd32/share/fontconfig/conf.avail/45-generic.conf
emul/netbsd32/share/fontconfig/conf.avail/45-latin.conf
emul/netbsd32/share/fontconfig/conf.avail/49-sansserif.conf
emul/netbsd32/share/fontconfig/conf.avail/50-user.conf
emul/netbsd32/share/fontconfig/conf.avail/51-local.conf
emul/netbsd32/share/fontconfig/conf.avail/60-generic.conf
emul/netbsd32/share/fontconfig/conf.avail/60-latin.conf
emul/netbsd32/share/fontconfig/conf.avail/65-fonts-persian.conf
emul/netbsd32/share/fontconfig/conf.avail/65-khmer.conf
emul/netbsd32/share/fontconfig/conf.avail/65-nonlatin.conf
emul/netbsd32/share/fontconfig/conf.avail/69-unifont.conf
emul/netbsd32/share/fontconfig/conf.avail/70-no-bitmaps.conf
emul/netbsd32/share/fontconfig/conf.avail/70-yes-bitmaps.conf
emul/netbsd32/share/fontconfig/conf.avail/80-delicious.conf
emul/netbsd32/share/fontconfig/conf.avail/90-synthetic.conf
emul/netbsd32/share/gettext/its/fontconfig.its
emul/netbsd32/share/gettext/its/fontconfig.loc
emul/netbsd32/share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo
emul/netbsd32/share/locale/zh_CN/LC_MESSAGES/fontconfig.mo
emul/netbsd32/share/xml/fontconfig/fonts.dtd

1
compat32_fontconfig/TODO Normal file
View File

@ -0,0 +1 @@
This package isnt functional yet.

View File

@ -0,0 +1,22 @@
# $NetBSD: buildlink3.mk,v 1.36 2018/08/31 09:06:07 tnn Exp $
BUILDLINK_TREE+= compat32_fontconfig
.if !defined(COMPAT32_FONTCONFIG_BUILDLINK3_MK)
COMPAT32_FONTCONFIG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.compat32_fontconfig+= compat32_fontconfig>=2.10.93
BUILDLINK_ABI_DEPENDS.compat32_fontconfig+= compat32_fontconfig>=2.13.0
BUILDLINK_PKGSRCDIR.compat32_fontconfig?= ../../wip/fontconfig-32
BUILDLINK_LIBDIRS.compat32_fontconfig?= emul/netbsd32/lib/fontconfig
BUILDLINK_INCDIRS.compat32_fontconfig?= emul/netbsd32/include
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../wip/libuuid-32/buildlink3.mk"
.include "../../wip/freetype2-32/buildlink3.mk"
.include "../../wip/expat-32/buildlink3.mk"
.endif # COMPAT32_FONTCONFIG_BUILDLINK3_MK
BUILDLINK_TREE+= -compat32_fontconfig

View File

@ -0,0 +1,84 @@
# $NetBSD: builtin.mk,v 1.12 2019/04/26 15:05:14 gavan Exp $
BUILTIN_PKG:= fontconfig
BUILTIN_FIND_FILES_VAR:= H_FONTCONFIG
BUILTIN_FIND_FILES.H_FONTCONFIG= \
${X11BASE}/include/fontconfig/fontconfig.h
.include "../../mk/buildlink3/bsd.builtin.mk"
###
### Determine if there is a built-in implementation of the package and
### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
###
.if !defined(IS_BUILTIN.fontconfig)
. if empty(H_FONTCONFIG:M__nonexistent__)
IS_BUILTIN.fontconfig= yes
. else
IS_BUILTIN.fontconfig= no
. endif
.endif
MAKEVARS+= IS_BUILTIN.fontconfig
###
### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
### a package name to represent the built-in package.
###
.if !defined(BUILTIN_PKG.fontconfig) && \
!empty(IS_BUILTIN.fontconfig:M[yY][eE][sS]) && \
empty(H_FONTCONFIG:M__nonexistent__)
BUILTIN_VERSION.fontconfig!= \
${AWK} '/\#define[ ]*FC_MAJOR/ { M = $$3 } \
/\#define[ ]*FC_MINOR/ { m = "."$$3 } \
/\#define[ ]*FC_REVISION/ { r = "."$$3 } \
END { printf "%s%s%s\n", M, m, r }' \
${H_FONTCONFIG}
BUILTIN_PKG.fontconfig= fontconfig-${BUILTIN_VERSION.fontconfig}
.endif
MAKEVARS+= BUILTIN_PKG.fontconfig
###
### Determine whether we should use the built-in implementation if it
### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
###
.if !defined(USE_BUILTIN.fontconfig)
. if ${PREFER.fontconfig} == "pkgsrc"
USE_BUILTIN.fontconfig= no
. else
USE_BUILTIN.fontconfig= ${IS_BUILTIN.fontconfig}
. if defined(BUILTIN_PKG.fontconfig) && \
!empty(IS_BUILTIN.fontconfig:M[yY][eE][sS])
USE_BUILTIN.fontconfig= yes
. for _dep_ in ${BUILDLINK_API_DEPENDS.fontconfig}
. if !empty(USE_BUILTIN.fontconfig:M[yY][eE][sS])
USE_BUILTIN.fontconfig!= \
if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.fontconfig:Q}; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
. endif
. endfor
. endif
. endif # PREFER.fontconfig
.endif
MAKEVARS+= USE_BUILTIN.fontconfig
###
### The section below only applies if we are not including this file
### solely to determine whether a built-in implementation exists.
###
.include "../../mk/x11.builtin.mk"
CHECK_BUILTIN.fontconfig?= no
.if !empty(CHECK_BUILTIN.fontconfig:M[nN][oO])
. if !empty(USE_BUILTIN.fontconfig:M[nN][oO])
BUILDLINK_API_DEPENDS.fontconfig+= fontconfig>=2.1nb2
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.3
. endif
.endif # CHECK_BUILTIN.fontconfig

View File

@ -0,0 +1,17 @@
$NetBSD: distinfo,v 1.66 2018/09/02 20:30:43 wiz Exp $
SHA1 (fontconfig-2.13.1.tar.bz2) = 75612356ef4f801735b49baf987f8942b4a7a5e1
RMD160 (fontconfig-2.13.1.tar.bz2) = a971903874fb0395a7ab2d5705378af1ffce2b2c
SHA512 (fontconfig-2.13.1.tar.bz2) = f97f2a9db294fd72d416a7d76dd7db5934ade2cf76903764b09e7decc33e0e2eed1a1d35c5f1c7fd9ea39e2c7653b9e65365f0c6205e047e95e38ba5000dd100
Size (fontconfig-2.13.1.tar.bz2) = 1723639 bytes
SHA1 (patch-aa) = ae9a465321dcaee634faf016e2dd01e2f544af12
SHA1 (patch-ac) = 4a0b7b55aa4b5c106fd256c4ef81df2240224803
SHA1 (patch-af) = d351265c894738284215f0bb38d47cc1c8f28ec7
SHA1 (patch-configure) = 164cb8ae38d71e52eb9c41584d8597f6c44228b5
SHA1 (patch-scandir.c) = e35f4c005f635dd0d8bb949cd32aa34f5e314200
SHA1 (patch-src_fccharset.c) = f3855554b3b3cab2530b46bc1ccec6a33303de7a
SHA1 (patch-src_fcfreetype.c) = 42542ae666b292af700313ee103d0f295cf69e4e
SHA1 (patch-src_fcftint.h) = d629fd7ef9713ccc56800d033ba2e09c5a9e2bff
SHA1 (patch-src_fcint.h) = 0f8accec35b75ad4cd4c558f9680d1f82548a308
SHA1 (patch-src_fcstat.c) = 3aaa5b1a174644e5d655a9c5890998c9d80e8da9
SHA1 (patch-test_test-migration.c) = 0fcbae562f8ebdef807978755c252626ade44a09

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!-- $NetBSD: 30-pkgsrc-aliases.conf,v 1.1 2009/04/07 19:27:57 drochner Exp $ -->
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>ZapfDingbats</family>
<accept><family>Dingbats</family></accept>
</alias>
</fontconfig>

View File

@ -0,0 +1,43 @@
$NetBSD: patch-aa,v 1.18 2013/10/17 07:27:33 wiz Exp $
--- Makefile.in.orig 2013-10-11 04:28:46.000000000 +0000
+++ Makefile.in
@@ -380,6 +380,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
+egdir = $(prefix)/emul/netbsd32/share/examples/fontconfig
exec_prefix = @exec_prefix@
fc_cachedir = @fc_cachedir@
host = @host@
@@ -439,6 +440,7 @@ xml_DATA = fonts.dtd
@CROSS_COMPILING_TRUE@RUN_FC_CACHE_TEST = false
FC_CONFIGDIR = $(subst $(BASECONFIGDIR)/,,$(CONFIGDIR))
DISTCHECK_CONFIGURE_FLAGS =
+RUN_FC_CACHE_TEST = false
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -997,17 +999,13 @@ fonts.conf: fonts.conf.in Makefile
mv $@.tmp $@
install-data-local: fonts.conf
- $(mkinstalldirs) $(DESTDIR)$(baseconfigdir) $(DESTDIR)$(fc_cachedir)
- if [ -f $(DESTDIR)$(baseconfigdir)/fonts.conf ]; then \
- echo "backing up existing $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
- mv $(DESTDIR)$(baseconfigdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf.bak; \
- fi
+ $(mkinstalldirs) $(DESTDIR)$(egdir)
if [ -f $(srcdir)/fonts.conf ]; then \
- echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
- $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf; \
+ echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(egdir)/fonts.conf"; \
+ $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(egdir)/fonts.conf; \
else if [ -f fonts.conf ]; then \
- echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf; \
+ echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(egdir)/fonts.conf"; \
+ $(INSTALL_DATA) fonts.conf $(DESTDIR)$(egdir)/fonts.conf; \
fi; fi
@(if $(RUN_FC_CACHE_TEST); then \
echo "fc-cache$(EXEEXT) -s -f -v"; \

View File

@ -0,0 +1,21 @@
$NetBSD: patch-ac,v 1.13 2013/10/17 07:27:33 wiz Exp $
--- conf.d/Makefile.in.orig 2013-10-11 04:28:47.000000000 +0000
+++ conf.d/Makefile.in
@@ -345,7 +345,7 @@ CONF_LINKS = \
EXTRA_DIST = $(template_DATA) $(DOC_SOURCES)
CLEANFILES = $(DOC_FILES)
-configdir = $(CONFIGDIR)
+configdir = $(prefix)/emul/netbsd32/share/examples/fontconfig/conf.d
config_DATA = $(DOC_FILES)
templatedir = $(TEMPLATEDIR)
template_DATA = \
@@ -628,6 +628,7 @@ README: $(srcdir)/README.in
sed "s|\@TEMPLATEDIR\@|$(templatedir)|" $< > $@
install-data-hook:
+xinstall-data-hook:
mkdir -p $(DESTDIR)$(configdir)
@(echo cd $(DESTDIR)$(configdir); \
cd $(DESTDIR)$(configdir); \

View File

@ -0,0 +1,43 @@
$NetBSD: patch-aa,v 1.18 2013/10/17 07:27:33 wiz Exp $
--- Makefile.in.orig 2013-10-11 04:28:46.000000000 +0000
+++ Makefile.in
@@ -380,6 +380,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
+egdir = $(prefix)/share/examples/fontconfig
exec_prefix = @exec_prefix@
fc_cachedir = @fc_cachedir@
host = @host@
@@ -439,6 +440,7 @@ xml_DATA = fonts.dtd
@CROSS_COMPILING_TRUE@RUN_FC_CACHE_TEST = false
FC_CONFIGDIR = $(subst $(BASECONFIGDIR)/,,$(CONFIGDIR))
DISTCHECK_CONFIGURE_FLAGS =
+RUN_FC_CACHE_TEST = false
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -997,17 +999,13 @@ fonts.conf: fonts.conf.in Makefile
mv $@.tmp $@
install-data-local: fonts.conf
- $(mkinstalldirs) $(DESTDIR)$(baseconfigdir) $(DESTDIR)$(fc_cachedir)
- if [ -f $(DESTDIR)$(baseconfigdir)/fonts.conf ]; then \
- echo "backing up existing $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
- mv $(DESTDIR)$(baseconfigdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf.bak; \
- fi
+ $(mkinstalldirs) $(DESTDIR)$(egdir)
if [ -f $(srcdir)/fonts.conf ]; then \
- echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
- $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf; \
+ echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(egdir)/fonts.conf"; \
+ $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(egdir)/fonts.conf; \
else if [ -f fonts.conf ]; then \
- echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf; \
+ echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(egdir)/fonts.conf"; \
+ $(INSTALL_DATA) fonts.conf $(DESTDIR)$(egdir)/fonts.conf; \
fi; fi
@(if $(RUN_FC_CACHE_TEST); then \
echo "fc-cache$(EXEEXT) -s -f -v"; \

View File

@ -0,0 +1,21 @@
$NetBSD: patch-ac,v 1.13 2013/10/17 07:27:33 wiz Exp $
--- conf.d/Makefile.in.orig 2013-10-11 04:28:47.000000000 +0000
+++ conf.d/Makefile.in
@@ -345,7 +345,7 @@ CONF_LINKS = \
EXTRA_DIST = $(template_DATA) $(DOC_SOURCES)
CLEANFILES = $(DOC_FILES)
-configdir = $(CONFIGDIR)
+configdir = $(prefix)/share/examples/fontconfig/conf.d
config_DATA = $(DOC_FILES)
templatedir = $(TEMPLATEDIR)
template_DATA = \
@@ -628,6 +628,7 @@ README: $(srcdir)/README.in
sed "s|\@TEMPLATEDIR\@|$(templatedir)|" $< > $@
install-data-hook:
+xinstall-data-hook:
mkdir -p $(DESTDIR)$(configdir)
@(echo cd $(DESTDIR)$(configdir); \
cd $(DESTDIR)$(configdir); \

View File

@ -0,0 +1,16 @@
$NetBSD: patch-af,v 1.2 2013/05/20 19:56:39 adam Exp $
--- conf.d/README.orig 2013-05-13 03:05:36.000000000 +0000
+++ conf.d/README
@@ -2,9 +2,8 @@ conf.d/README
Each file in this directory is a fontconfig configuration file. Fontconfig
scans this directory, loading all files of the form [0-9][0-9]*.conf.
-These files are normally installed in /usr/share/fontconfig/conf.avail
-and then symlinked here, allowing them to be easily installed and then
-enabled/disabled by adjusting the symlinks.
+These files are normally installed in @PREFIX@/share/fontconfig/conf.avail
+and then copied or symlinked here as needed.
The files are loaded in numeric order, the structure of the configuration
has led to the following conventions in usage:

View File

@ -0,0 +1,71 @@
$NetBSD: patch-configure,v 1.5 2018/09/02 20:30:43 wiz Exp $
Do not look for libuuid on Darwin, it is built-in.
Patch "GNU" gettext support to not depend unnecessary on "GNU" gettext.
--- configure.orig 2018-08-30 08:24:28.000000000 +0000
+++ configure
@@ -13304,8 +13304,12 @@ case "$host" in
*-*-mingw*)
os_win32=yes
;;
+ *-*-darwin*)
+ os_darwin=yes
+ ;;
*)
os_win32=no
+ os_darwin=no
esac
if test "$os_win32" = "yes"; then
OS_WIN32_TRUE=
@@ -15236,8 +15240,7 @@ extern
#ifdef __cplusplus
"C"
#endif
-const char *_nl_expand_alias (const char *);
-#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *bindtextdomain ("", ""))
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
@@ -15273,8 +15276,7 @@ extern
#ifdef __cplusplus
"C"
#endif
-const char *_nl_expand_alias (const char *);
-#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
+#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *bindtextdomain ("", ""))
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
@@ -15900,6 +15902,10 @@ if ac_fn_c_try_compile "$LINENO"; then :
$as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ #if defined(_SCO_DS)
+ /* bogus */
+ #include <prot.h>
+ #endif
fi
CXXFLAGS="$old_CXXFLAGS"
CPPFLAGS="$old_CPPFLAGS"
@@ -15928,6 +15934,9 @@ if test "_$ac_cv_header_stdint_t" = "_"
inttype_headers=`echo | sed -e 's/,/ /g'`
+ #if defined(_SCO_DS)
+ #include <prot.h>
+ #endif
ac_cv_stdint_result="(no helpful system typedefs seen)"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
@@ -17196,7 +17205,7 @@ CFLAGS="$fontconfig_save_cflags"
#
# Check for uuid
#
-if test "$os_win32" != "yes"; then
+if test "$os_win32" != "yes" -a "$os_darwin" != "yes"; then
use_pkgconfig_for_uuid=yes
if test -n "${UUID_LIBS}"; then
save_UUID_LIBS=$UUID_LIBS

View File

@ -0,0 +1,142 @@
$NetBSD: patch-scandir.c,v 1.2 2015/10/27 20:20:31 bsiegert Exp $
--- scandir.c.orig 2014-07-14 12:36:57.000000000 +0000
+++ scandir.c
@@ -0,0 +1,137 @@
+/* -*- Mode: C -*-
+ * Basename: scandir.c
+ * Revision: 1.3.1.5.1.3
+ * Last Modified By: Ulrich Pfeifer
+ * Last Modified On: Tue May 13 13:15:16 1997
+ * Language : C
+ * Update Count : 2
+ * Status : Unknown, Use with caution!
+ *
+ * (C) Copyright 1997, Universitaet Dortmund, all rights reserved.
+ * (C) Copyright CNIDR (see ../doc/CNIDR/COPYRIGHT)
+ */
+
+/*
+Title: COPYRIGHT freeWAIS-0.2
+Author: Jane Smith
+Copyright: Copyright 1993 CNIDR
+Last update: 10.01.93
+Abstract: This file contains the copyright statement for freeWAIS 0.2
+
+Copyright Statement for freeWAIS 0.2 and subsquent freeWAIS
+releases:
+
+Copyright (c) MCNC, Clearinghouse for Networked Information Discovery
+and Retrieval, 1993.
+
+Permission to use, copy, modify, distribute, and sell this software
+and its documentation, in whole or in part, for any purpose is hereby
+granted without fee, provided that
+
+1. The above copyright notice and this permission notice appear in all
+copies of the software and related documentation. Notices of copyright
+and/or attribution which appear at the beginning of any file included
+in this distribution must remain intact.
+
+2. Users of this software agree to make their best efforts (a) to
+return to MCNC any improvements or extensions that they make, so that
+these may be included in future releases; and (b) to inform MCNC/CNIDR
+of noteworthy uses of this software.
+
+3. The names of MCNC and Clearinghouse for Networked Information
+Discovery and Retrieval may not be used in any advertising or publicity
+relating to the software without the specific, prior written permission
+of MCNC/CNIDR.
+
+THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
+EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+IN NO EVENT SHALL MCNC/CNIDR BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
+INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
+RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
+THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+
+/*
+ * SCANDIR
+ * Scan a directory, collecting all (selected) items into a an array.
+ */
+
+#include <stdio.h>
+#include <dirent.h>
+#include <stdlib.h>
+#include <string.h>
+
+#ifdef DIRNAMLEN
+#define NLENGTH(dirent) ((dirent)->d_namlen)
+#else /* not DIRNAMLEN */
+#define NLENGTH(dirent) (strlen((dirent)->d_name))
+#endif /* not DIRNAMLEN */
+
+/* Initial guess at directory size. */
+#define INITIAL_SIZE 20
+
+int
+scandir(name, list, selector, sorter)
+ char *name;
+ dirent_t ***list;
+ int (*selector)();
+ int (*sorter)();
+{
+ register dirent_t **names;
+ register dirent_t *entp;
+ register DIR *dirp;
+ register int i;
+ register int size;
+
+ /* Get initial list space and open directory. */
+ size = INITIAL_SIZE;
+ names = (dirent_t **)malloc(size * sizeof names[0]);
+ if (names == NULL)
+ return -1;
+ dirp = opendir(name);
+ if (dirp == NULL)
+ return -1;
+
+ /* Read entries in the directory. */
+ for (i = 0; entp = readdir(dirp); )
+ if (selector == NULL || (*selector)(entp)) {
+ /* User wants them all, or he wants this one. */
+ if (++i >= size) {
+ size <<= 1;
+ names = (dirent_t **)
+ realloc((char *)names, size * sizeof names[0]);
+ if (names == NULL) {
+ closedir(dirp);
+ return -1;
+ }
+ }
+
+ /* Copy the entry. */
+ names[i - 1] = (dirent_t *)malloc(sizeof(dirent_t)
+ + NLENGTH(entp)+1);
+ if (names[i - 1] == NULL) {
+ closedir(dirp);
+ return -1;
+ }
+ names[i - 1]->d_ino = entp->d_ino;
+ names[i - 1]->d_reclen = entp->d_reclen;
+#ifdef DIRNAMLEN
+ names[i - 1]->d_namlen = entp->d_namlen;
+#endif
+ (void)strcpy(names[i - 1]->d_name, entp->d_name);
+ }
+
+ /* Close things off. */
+ names[i] = NULL;
+ *list = names;
+ closedir(dirp);
+
+ /* Sort? */
+ if (i && sorter)
+ qsort((char *)names, i, sizeof names[0], sorter);
+
+ return i;
+}

View File

@ -0,0 +1,13 @@
$NetBSD: patch-src_fccharset.c,v 1.1 2014/07/15 14:48:34 ryoon Exp $
--- src/fccharset.c.orig 2014-01-20 08:14:20.000000000 +0000
+++ src/fccharset.c
@@ -569,7 +569,7 @@ FcCharSetHasChar (const FcCharSet *fcs,
static FcChar32
FcCharSetPopCount (FcChar32 c1)
{
-#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
+#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) && !defined(_SCO_DS)
return __builtin_popcount (c1);
#else
/* hackmem 169 */

View File

@ -0,0 +1,16 @@
$NetBSD: patch-src_fcfreetype.c,v 1.2 2018/03/11 17:54:03 wiz Exp $
Workaround for in-tree freetype2 headers from netbsd-6.
--- src/fcfreetype.c.orig 2018-03-02 04:27:09.000000000 +0000
+++ src/fcfreetype.c
@@ -1338,6 +1338,9 @@ FcFreeTypeQueryFaceInternal (const FT_Fa
if (!FcPatternAddBool (pat, FC_VARIABLE, variable))
goto bail1;
+#if !defined(FT_SFNT_OS2) && !defined(ft_sfnt_os2)
+# define FT_SFNT_OS2 ft_sfnt_os2
+#endif
/*
* Get the OS/2 table
*/

View File

@ -0,0 +1,19 @@
$NetBSD: patch-src_fcftint.h,v 1.1 2014/07/15 14:48:34 ryoon Exp $
--- src/fcftint.h.orig 2014-01-20 08:14:20.000000000 +0000
+++ src/fcftint.h
@@ -25,7 +25,13 @@
#include <fontconfig/fcfreetype.h>
-#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun)
+/* Bug of GCC 4.2 (visibility and -fPIC)
+ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46861 */
+#if (__GNUC__ == 4 && __GNUC_MINOR__ == 2) && defined(__ELF__) && !defined(__sun)
+#define FcPrivate
+#define HAVE_GNUC_ATTRIBUTE 1
+#include "fcftalias.h"
+#elif (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun) && !(__GNUC__ == 4 && __GNUC_MINOR__ == 2)
#define FcPrivate __attribute__((__visibility__("hidden")))
#define HAVE_GNUC_ATTRIBUTE 1
#include "fcftalias.h"

View File

@ -0,0 +1,37 @@
$NetBSD: patch-src_fcint.h,v 1.3 2018/03/11 17:54:03 wiz Exp $
--- src/fcint.h.orig 2018-02-04 10:20:56.000000000 +0000
+++ src/fcint.h
@@ -76,6 +76,17 @@ extern pfnSHGetFolderPathA pSHGetFolderP
#define FC_PATH_MAX 128
#endif
+/*
+ * SCO OpenServer 5.0.7/3.2 has no MAXPATHLEN, but it has PATH_MAX (256).
+ * in limits.h. PATH_MAX is defined alternatively under non-OpenServer OS,
+ * and it is used in dirname.c of bmake.
+ */
+#if !defined(PATH_MAX)
+#if defined(_SCO_DS)
+#define PATH_MAX 1024
+#endif
+#endif
+
#if __GNUC__ >= 4
#define FC_UNUSED __attribute__((unused))
#else
@@ -103,7 +114,13 @@ extern pfnSHGetFolderPathA pSHGetFolderP
#define FC_MAX(a,b) ((a) > (b) ? (a) : (b))
/* slim_internal.h */
-#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun)
+/* Bug of GCC 4.2 (visibility and -fPIC)
+ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46861 */
+#if (__GNUC__ == 4 && __GNUC_MINOR__ == 2) && defined(__ELF__) && !defined(__sun)
+#define FcPrivate
+#define HAVE_GNUC_ATTRIBUTE 1
+#include "fcalias.h"
+#elif (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun) && !(__GNUC__ == 4 && __GNUC_MINOR__ == 2)
#define FcPrivate __attribute__((__visibility__("hidden")))
#define HAVE_GNUC_ATTRIBUTE 1
#include "fcalias.h"

View File

@ -0,0 +1,46 @@
$NetBSD: patch-src_fcstat.c,v 1.5 2016/06/19 20:48:55 wiz Exp $
The argument types to scandir(3) differ between different OSes.
OpenBSD seems to be still different. I used the provided alphasort
instead of rewriting the equivalent sorter function.
statvfs and fstatvfs need another include file, at least on MirBSD.
--- src/fcstat.c.orig 2016-04-06 03:22:55.000000000 +0000
+++ src/fcstat.c
@@ -52,6 +52,12 @@ typedef long long INT64;
#define EPOCH_OFFSET 11644473600i64
typedef __int64 INT64;
#endif
+#ifdef __MirBSD__
+#include <sys/statvfs.h>
+#endif
+#if defined(_SCO_DS)
+#include "../scandir.c"
+#endif
/* Workaround for problems in the stat() in the Microsoft C library:
*
@@ -159,7 +165,11 @@ Adler32Finish (struct Adler32 *ctx)
#ifdef HAVE_STRUCT_DIRENT_D_TYPE
/* dirent.d_type can be relied upon on FAT filesystem */
static FcBool
+# ifdef __MirBSD__
+FcDirChecksumScandirFilter(struct dirent *entry)
+# else
FcDirChecksumScandirFilter(const struct dirent *entry)
+# endif
{
return entry->d_type != DT_DIR;
}
@@ -263,7 +273,11 @@ FcDirChecksum (const FcChar8 *dir, time_
#else
NULL,
#endif
+#ifdef __MirBSD__
+ &alphasort);
+#else
&FcDirChecksumScandirSorter);
+#endif
if (n == -1)
return -1;

View File

@ -0,0 +1,15 @@
$NetBSD: patch-test_test-migration.c,v 1.4 2014/07/15 14:48:34 ryoon Exp $
--- test/test-migration.c.orig 2014-01-20 08:14:21.000000000 +0000
+++ test/test-migration.c
@@ -153,8 +153,10 @@ main(void)
strcpy (xdg, tmp);
strcpy (&xdg[len], "/.config");
+#if !defined(_SCO_DS) /* SCO OpenServer 5.0.7/3.2 has no setenv. */
setenv ("HOME", tmp, 1);
setenv ("XDG_CONFIG_HOME", xdg, 1);
+#endif
xlen = strlen (xdg);
strcpy (confd, xdg);
strcpy (&confd[xlen], "/fontconfig");