Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/fontconfig/include regen for fontconfig 2.13.1.



details:   https://anonhg.NetBSD.org/xsrc/rev/03d4260dd9ce
branches:  trunk
changeset: 10189:03d4260dd9ce
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Mar 08 09:49:46 2019 +0000

description:
regen for fontconfig 2.13.1.

diffstat:

 external/mit/fontconfig/include/config.h        |   73 ++-
 external/mit/fontconfig/include/fcalias.h       |  448 ++++++++++++----------
 external/mit/fontconfig/include/fcaliastail.h   |  454 +++++++++++++----------
 external/mit/fontconfig/include/fcftalias.h     |   12 +-
 external/mit/fontconfig/include/fcftaliastail.h |   12 +-
 external/mit/fontconfig/include/fcobjshash.h    |  332 +++++++++++++++++
 external/mit/fontconfig/include/fcstdint.h      |    9 -
 7 files changed, 884 insertions(+), 456 deletions(-)

diffs (truncated from 1948 to 300 lines):

diff -r 640b727defac -r 03d4260dd9ce external/mit/fontconfig/include/config.h
--- a/external/mit/fontconfig/include/config.h  Fri Mar 08 09:49:07 2019 +0000
+++ b/external/mit/fontconfig/include/config.h  Fri Mar 08 09:49:46 2019 +0000
@@ -5,23 +5,31 @@
 /* #undef AC_APPLE_UNIVERSAL_BUILD */
 
 /* The normal alignment of `double', in bytes. */
-#define ALIGNOF_DOUBLE 4
+#define ALIGNOF_DOUBLE 8
 
 /* The normal alignment of `void *', in bytes. */
-#define ALIGNOF_VOID_P 4
+#define ALIGNOF_VOID_P 8
 
 /* Use libxml2 instead of Expat */
 /* #undef ENABLE_LIBXML2 */
 
+#if 0
+/* Define to 1 if translation of program messages to the user's native
+   language is requested. */
+#define ENABLE_NLS 1
+#endif
+
+#if 0
 /* Additional font directories */
-#define FC_ADD_FONTS "yes"
+#define FC_ADD_FONTS "/usr/X11R7/lib/X11/fonts,/usr/pkg/share/fonts/urw,/usr/pkg/share/ghostscript/fonts,/usr/pkg/share/fonts/X11"
+#endif
 
 /* Architecture prefix to use for cache file names */
 /* #undef FC_ARCHITECTURE */
 
 #if 0
 /* System font directory */
-#define FC_DEFAULT_FONTS "/usr/share/fonts"
+#define FC_DEFAULT_FONTS "/usr/pkg/share/fonts/X11"
 #endif
 
 /* The type of len parameter of the gperf hash/lookup function */
@@ -36,6 +44,23 @@
    MSVC and with C++ compilers. */
 #define FLEXIBLE_ARRAY_MEMBER /**/
 
+/* Gettext package */
+#define GETTEXT_PACKAGE "fontconfig"
+
+/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
+   CoreFoundation framework. */
+/* #undef HAVE_CFLOCALECOPYCURRENT */
+
+/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
+   the CoreFoundation framework. */
+/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
+
+#if 0
+/* Define if the GNU dcgettext() function is already present or preinstalled.
+   */
+#define HAVE_DCGETTEXT 1
+#endif
+
 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
    */
 #define HAVE_DIRENT_H 1
@@ -55,15 +80,12 @@
 /* Define to 1 if you have the `fstatvfs' function. */
 #define HAVE_FSTATVFS 1
 
-/* FT_Bitmap_Size structure includes y_ppem field */
-#define HAVE_FT_BITMAP_SIZE_Y_PPEM 1
+/* Define to 1 if you have the `FT_Done_MM_Var' function. */
+#define HAVE_FT_DONE_MM_VAR 1
 
 /* Define to 1 if you have the `FT_Get_BDF_Property' function. */
 #define HAVE_FT_GET_BDF_PROPERTY 1
 
-/* Define to 1 if you have the `FT_Get_Next_Char' function. */
-#define HAVE_FT_GET_NEXT_CHAR 1
-
 /* Define to 1 if you have the `FT_Get_PS_Font_Info' function. */
 #define HAVE_FT_GET_PS_FONT_INFO 1
 
@@ -73,9 +95,6 @@
 /* Define to 1 if you have the `FT_Has_PS_Glyph_Names' function. */
 #define HAVE_FT_HAS_PS_GLYPH_NAMES 1
 
-/* Define to 1 if you have the `FT_Select_Size' function. */
-#define HAVE_FT_SELECT_SIZE 1
-
 /* Define to 1 if you have the `getexecname' function. */
 /* #undef HAVE_GETEXECNAME */
 
@@ -91,6 +110,14 @@
 /* Define to 1 if you have the `getprogname' function. */
 #define HAVE_GETPROGNAME 1
 
+#if 0
+/* Define if the GNU gettext() function is already present or preinstalled. */
+#define HAVE_GETTEXT 1
+#endif
+
+/* Define if you have the iconv() function and it works. */
+#define HAVE_ICONV 1
+
 /* Have Intel __sync_* atomic primitives */
 #define HAVE_INTEL_ATOMIC_PRIMITIVES 1
 
@@ -163,6 +190,12 @@
 /* Define to 1 if you have the <stdlib.h> header file. */
 #define HAVE_STDLIB_H 1
 
+/* Define to 1 if you have the `strerror' function. */
+#define HAVE_STRERROR 1
+
+/* Define to 1 if you have the `strerror_r' function. */
+#define HAVE_STRERROR_R 1
+
 /* Define to 1 if you have the <strings.h> header file. */
 #define HAVE_STRINGS_H 1
 
@@ -216,12 +249,6 @@
 /* Define to 1 if you have the <sys/vfs.h> header file. */
 /* #undef HAVE_SYS_VFS_H */
 
-/* Define to 1 if `usLowerOpticalPointSize' is a member of `TT_OS2'. */
-#define HAVE_TT_OS2_USLOWEROPTICALPOINTSIZE 1
-
-/* Define to 1 if `usUpperOpticalPointSize' is a member of `TT_OS2'. */
-#define HAVE_TT_OS2_USUPPEROPTICALPOINTSIZE 1
-
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
 
@@ -247,13 +274,13 @@
 #define PACKAGE "fontconfig"
 
 /* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig";
+#define PACKAGE_BUGREPORT "https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new";
 
 /* Define to the full name of this package. */
 #define PACKAGE_NAME "fontconfig"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "fontconfig 2.12.4"
+#define PACKAGE_STRING "fontconfig 2.13.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "fontconfig"
@@ -262,7 +289,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.12.4"
+#define PACKAGE_VERSION "2.13.1"
 
 /* Define to necessary symbol if this constant uses a non-standard name on
    your system. */
@@ -284,7 +311,7 @@
 /* #undef SIZEOF_VOIDP */
 
 /* The size of `void *', as computed by sizeof. */
-#define SIZEOF_VOID_P 4
+#define SIZEOF_VOID_P 8
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -315,7 +342,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.12.4"
+#define VERSION "2.13.1"
 
 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
    significant byte first (like Motorola and SPARC, unlike Intel). */
diff -r 640b727defac -r 03d4260dd9ce external/mit/fontconfig/include/fcalias.h
--- a/external/mit/fontconfig/include/fcalias.h Fri Mar 08 09:49:07 2019 +0000
+++ b/external/mit/fontconfig/include/fcalias.h Fri Mar 08 09:49:46 2019 +0000
@@ -1,410 +1,448 @@
-extern __typeof (FcBlanksCreate) IA__FcBlanksCreate __attribute((visibility("hidden")));
+extern __typeof (FcBlanksCreate) IA__FcBlanksCreate FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcBlanksCreate IA__FcBlanksCreate
-extern __typeof (FcBlanksDestroy) IA__FcBlanksDestroy __attribute((visibility("hidden")));
+extern __typeof (FcBlanksDestroy) IA__FcBlanksDestroy FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcBlanksDestroy IA__FcBlanksDestroy
-extern __typeof (FcBlanksAdd) IA__FcBlanksAdd __attribute((visibility("hidden")));
+extern __typeof (FcBlanksAdd) IA__FcBlanksAdd FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcBlanksAdd IA__FcBlanksAdd
-extern __typeof (FcBlanksIsMember) IA__FcBlanksIsMember __attribute((visibility("hidden")));
+extern __typeof (FcBlanksIsMember) IA__FcBlanksIsMember FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcBlanksIsMember IA__FcBlanksIsMember
-extern __typeof (FcCacheCopySet) IA__FcCacheCopySet __attribute((visibility("hidden")));
+extern __typeof (FcCacheCopySet) IA__FcCacheCopySet FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcCacheCopySet IA__FcCacheCopySet
-extern __typeof (FcCacheNumSubdir) IA__FcCacheNumSubdir __attribute((visibility("hidden")));
+extern __typeof (FcCacheNumSubdir) IA__FcCacheNumSubdir FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcCacheNumSubdir IA__FcCacheNumSubdir
-extern __typeof (FcCacheNumFont) IA__FcCacheNumFont __attribute((visibility("hidden")));
+extern __typeof (FcCacheNumFont) IA__FcCacheNumFont FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcCacheNumFont IA__FcCacheNumFont
-extern __typeof (FcDirCacheUnlink) IA__FcDirCacheUnlink __attribute((visibility("hidden")));
+extern __typeof (FcDirCacheUnlink) IA__FcDirCacheUnlink FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcDirCacheUnlink IA__FcDirCacheUnlink
-extern __typeof (FcDirCacheValid) IA__FcDirCacheValid __attribute((visibility("hidden")));
+extern __typeof (FcDirCacheValid) IA__FcDirCacheValid FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcDirCacheValid IA__FcDirCacheValid
-extern __typeof (FcDirCacheClean) IA__FcDirCacheClean __attribute((visibility("hidden")));
+extern __typeof (FcDirCacheClean) IA__FcDirCacheClean FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcDirCacheClean IA__FcDirCacheClean
-extern __typeof (FcCacheCreateTagFile) IA__FcCacheCreateTagFile __attribute((visibility("hidden")));
+extern __typeof (FcCacheCreateTagFile) IA__FcCacheCreateTagFile FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcCacheCreateTagFile IA__FcCacheCreateTagFile
-extern __typeof (FcConfigHome) IA__FcConfigHome __attribute((visibility("hidden")));
+extern __typeof (FcDirCacheCreateUUID) IA__FcDirCacheCreateUUID FC_ATTRIBUTE_VISIBILITY_HIDDEN;
+#define FcDirCacheCreateUUID IA__FcDirCacheCreateUUID
+extern __typeof (FcDirCacheDeleteUUID) IA__FcDirCacheDeleteUUID FC_ATTRIBUTE_VISIBILITY_HIDDEN;
+#define FcDirCacheDeleteUUID IA__FcDirCacheDeleteUUID
+extern __typeof (FcConfigHome) IA__FcConfigHome FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigHome IA__FcConfigHome
-extern __typeof (FcConfigEnableHome) IA__FcConfigEnableHome __attribute((visibility("hidden")));
+extern __typeof (FcConfigEnableHome) IA__FcConfigEnableHome FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigEnableHome IA__FcConfigEnableHome
-extern __typeof (FcConfigFilename) IA__FcConfigFilename __attribute((visibility("hidden")));
+extern __typeof (FcConfigFilename) IA__FcConfigFilename FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigFilename IA__FcConfigFilename
-extern __typeof (FcConfigCreate) IA__FcConfigCreate __attribute((visibility("hidden")));
+extern __typeof (FcConfigCreate) IA__FcConfigCreate FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigCreate IA__FcConfigCreate
-extern __typeof (FcConfigReference) IA__FcConfigReference __attribute((visibility("hidden")));
+extern __typeof (FcConfigReference) IA__FcConfigReference FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigReference IA__FcConfigReference
-extern __typeof (FcConfigDestroy) IA__FcConfigDestroy __attribute((visibility("hidden")));
+extern __typeof (FcConfigDestroy) IA__FcConfigDestroy FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigDestroy IA__FcConfigDestroy
-extern __typeof (FcConfigSetCurrent) IA__FcConfigSetCurrent __attribute((visibility("hidden")));
+extern __typeof (FcConfigSetCurrent) IA__FcConfigSetCurrent FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigSetCurrent IA__FcConfigSetCurrent
-extern __typeof (FcConfigGetCurrent) IA__FcConfigGetCurrent __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetCurrent) IA__FcConfigGetCurrent FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetCurrent IA__FcConfigGetCurrent
-extern __typeof (FcConfigUptoDate) IA__FcConfigUptoDate __attribute((visibility("hidden")));
+extern __typeof (FcConfigUptoDate) IA__FcConfigUptoDate FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigUptoDate IA__FcConfigUptoDate
-extern __typeof (FcConfigBuildFonts) IA__FcConfigBuildFonts __attribute((visibility("hidden")));
+extern __typeof (FcConfigBuildFonts) IA__FcConfigBuildFonts FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigBuildFonts IA__FcConfigBuildFonts
-extern __typeof (FcConfigGetFontDirs) IA__FcConfigGetFontDirs __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetFontDirs) IA__FcConfigGetFontDirs FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetFontDirs IA__FcConfigGetFontDirs
-extern __typeof (FcConfigGetConfigDirs) IA__FcConfigGetConfigDirs __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetConfigDirs) IA__FcConfigGetConfigDirs FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetConfigDirs IA__FcConfigGetConfigDirs
-extern __typeof (FcConfigGetConfigFiles) IA__FcConfigGetConfigFiles __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetConfigFiles) IA__FcConfigGetConfigFiles FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetConfigFiles IA__FcConfigGetConfigFiles
-extern __typeof (FcConfigGetCache) IA__FcConfigGetCache __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetCache) IA__FcConfigGetCache FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetCache IA__FcConfigGetCache
-extern __typeof (FcConfigGetBlanks) IA__FcConfigGetBlanks __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetBlanks) IA__FcConfigGetBlanks FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetBlanks IA__FcConfigGetBlanks
-extern __typeof (FcConfigGetCacheDirs) IA__FcConfigGetCacheDirs __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetCacheDirs) IA__FcConfigGetCacheDirs FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetCacheDirs IA__FcConfigGetCacheDirs
-extern __typeof (FcConfigGetRescanInterval) IA__FcConfigGetRescanInterval __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetRescanInterval) IA__FcConfigGetRescanInterval FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetRescanInterval IA__FcConfigGetRescanInterval
-extern __typeof (FcConfigSetRescanInterval) IA__FcConfigSetRescanInterval __attribute((visibility("hidden")));
+extern __typeof (FcConfigSetRescanInterval) IA__FcConfigSetRescanInterval FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigSetRescanInterval IA__FcConfigSetRescanInterval
-extern __typeof (FcConfigGetFonts) IA__FcConfigGetFonts __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetFonts) IA__FcConfigGetFonts FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetFonts IA__FcConfigGetFonts
-extern __typeof (FcConfigAppFontAddFile) IA__FcConfigAppFontAddFile __attribute((visibility("hidden")));
+extern __typeof (FcConfigAppFontAddFile) IA__FcConfigAppFontAddFile FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigAppFontAddFile IA__FcConfigAppFontAddFile
-extern __typeof (FcConfigAppFontAddDir) IA__FcConfigAppFontAddDir __attribute((visibility("hidden")));
+extern __typeof (FcConfigAppFontAddDir) IA__FcConfigAppFontAddDir FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigAppFontAddDir IA__FcConfigAppFontAddDir
-extern __typeof (FcConfigAppFontClear) IA__FcConfigAppFontClear __attribute((visibility("hidden")));
+extern __typeof (FcConfigAppFontClear) IA__FcConfigAppFontClear FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigAppFontClear IA__FcConfigAppFontClear
-extern __typeof (FcConfigSubstituteWithPat) IA__FcConfigSubstituteWithPat __attribute((visibility("hidden")));
+extern __typeof (FcConfigSubstituteWithPat) IA__FcConfigSubstituteWithPat FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigSubstituteWithPat IA__FcConfigSubstituteWithPat
-extern __typeof (FcConfigSubstitute) IA__FcConfigSubstitute __attribute((visibility("hidden")));
+extern __typeof (FcConfigSubstitute) IA__FcConfigSubstitute FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigSubstitute IA__FcConfigSubstitute
-extern __typeof (FcConfigGetSysRoot) IA__FcConfigGetSysRoot __attribute((visibility("hidden")));
+extern __typeof (FcConfigGetSysRoot) IA__FcConfigGetSysRoot FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigGetSysRoot IA__FcConfigGetSysRoot
-extern __typeof (FcConfigSetSysRoot) IA__FcConfigSetSysRoot __attribute((visibility("hidden")));
+extern __typeof (FcConfigSetSysRoot) IA__FcConfigSetSysRoot FC_ATTRIBUTE_VISIBILITY_HIDDEN;
 #define FcConfigSetSysRoot IA__FcConfigSetSysRoot
-extern __typeof (FcCharSetCreate) IA__FcCharSetCreate __attribute((visibility("hidden")));
+extern __typeof (FcConfigFileInfoIterInit) IA__FcConfigFileInfoIterInit FC_ATTRIBUTE_VISIBILITY_HIDDEN;
+#define FcConfigFileInfoIterInit IA__FcConfigFileInfoIterInit
+extern __typeof (FcConfigFileInfoIterNext) IA__FcConfigFileInfoIterNext FC_ATTRIBUTE_VISIBILITY_HIDDEN;
+#define FcConfigFileInfoIterNext IA__FcConfigFileInfoIterNext
+extern __typeof (FcConfigFileInfoIterGet) IA__FcConfigFileInfoIterGet FC_ATTRIBUTE_VISIBILITY_HIDDEN;



Home | Main Index | Thread Index | Old Index