summaryrefslogtreecommitdiff
path: root/builds
Commit message (Collapse)AuthorAgeFilesLines
* builds/vms/apinames_vms.bash: Fix `unzip` artifactWerner Lemberg2023-03-131-0/+0
| | | | | | | | The problem occured when unpacking a zip file created on OpenVMS on Linux. While OpenVMS knows many different file formats, Unix only knows stream-LF and binary. In principle `zip` on Linux should have translated the file to stream-LF but failed to do so. That caused the file to incorrectly contain only one line with control-characters.
* Update VMS installation support.Jouk Jansen2023-03-104-28/+0
|
* * builds/windows/vc2010/freetype.vcxproj: Suppress C4267 on _WIN64.Alexei Podtelezhnikov2023-03-051-8/+8
| | | | | This usually comes from `strlen` returning 64-bit `size_t`, which we often assign to 32-bit `FT_ULong` on Windows-64 (LLP64).
* * builds/meson/parse_modules_cfg.py: Handle `gxvalid` and `otvalid`.Jan Alexander Steffens (heftig)2023-02-091-1/+5
| | | | | These need a name mapping similar to what was done for other modules, or linking will fail.
* * build/toplevel.mk (do_dist): Fix typo.Werner Lemberg2023-02-091-1/+1
|
* * Version 2.13 released.VER-2-13-0Werner Lemberg2023-02-096-6/+6
| | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-13-0'. * docs/VERSION.TXT: Add entry for version 2.13. * docs/CHANGES: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.12.1/2.13/, s/2121/2130/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 13. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 25:0:19. * CMakeLists.txt (VERSION_MINOR): Set to 13. (VERSION_PATCH): Set to 0.
* Minor changes.Werner Lemberg2023-01-281-1/+1
| | | | Comment fixes, typos, removing of unnecessary parentheses.
* Update all copyright notices.Werner Lemberg2023-01-1783-83/+83
|
* * builds/unix/configure.raw: Don't check for `memcpy` and `memmove`.Werner Lemberg2022-12-141-3/+0
| | | | We expect a C99 compiler, and both functions are part of this standard.
* [meson] Fix generated ftmodule.hLoïc Yhuel2022-11-141-7/+9
| | | | | | The sdf module wasn't recognized, so the generated ftmodule.h had "None_renderer_class". * builds/meson/parse_modules_cfg.py: Handle sdf in RASTER_MODULES.
* Fix `-Wstrict-prototypes`.Sam James2022-11-102-2/+2
| | | | | | | | | * builds/unix/configure.raw: Fix `-Wstrict-prototypes`. Clang 16 warns on these and they will be dropped in C23. * builds/unix/freetype2.m4: Ditto. Signed-off-by: Sam James <sam@gentoo.org>
* [build] use AC_CHECK_PROG() macro for libpng-config detectionsuzuki toshiya2022-11-081-6/+2
| | | | * builds/unix/configure.raw: use AC_CHECK_PROG() instead of `which` to find `libpng-config`.
* * builds/toplevel.mk: Prefix all paths with `$(TOP_DIR)/`.Xiang Xiao2022-10-171-22/+22
| | | | | | This is useful for builds that are not started from the root directory. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* * builds/toplevel.mk (do-dist): Don't remove meson wrap files.Werner Lemberg2022-05-181-1/+1
| | | | Fixes #1157.
* * Version 2.12.1 released.VER-2-12-1Werner Lemberg2022-05-016-6/+6
| | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-12-1'. * docs/VERSION.TXT: Add entry for version 2.12.1. * docs/CHANGES, docs/release: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.12.0/2.12.1/, s/2120/2121/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. * builds/unix/configure.raw (version_info): Set to 24:3:18. * CMakeLists.txt (VERSION_PATCH): Set to 1.
* [builds/windows] Simplify non-desktop UWP check.Alexei Podtelezhnikov2022-04-251-2/+1
| | | | | | Fixes mingw compilation described in !159. * builds/windows/ftsystem.c: Do not use WINAPI_FAMILY_PARTITION macro.
* * builds/unix/configure.raw: Add option `--with-librsvg`.Werner Lemberg2022-04-011-7/+19
| | | | | | | | Since 'librsvg' is written in Rust, this option allows distributions to avoid a dependency on the entire Rust toolchain to provide the FreeType demo programs. Suggested by Lars Wendler in !156.
* * Version 2.12.0 released.VER-2-12-0Werner Lemberg2022-03-317-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-12-0'. * docs/VERSION.TXT: Add entry for version 2.12.0. * docs/CHANGES, docs/release: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.11.1/2.12.0/, s/2111/2120/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 12. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 24:2:18. * CMakeLists.txt (VERSION_MINOR): Set to 12. (VERSION_PATCH): Set to 0. * builds/toplevel.mk (do-dist): Generate `ChangeLog` entries for all commits since version 2.11.0 (when we stopped creating this file manually).
* Whitespace.Werner Lemberg2022-03-301-31/+33
|
* [builds] Fix creation of `freetype2.pc` for static-only builds.Werner Lemberg2022-03-303-45/+67
| | | | | | | | | | | | | | | We have to help `pkg-config` since it can't recognize that there is no shared library installed. Note that meson already does exactly the same. * builds/unix/configure.raw (REQUIRES_PRIVATE, LIBS_PRIVATE): Rename to... (PKGCONFIG_REQUIRES_PRIVATE, PKGCONFIG_LIBS_PRIVATE): This. Adjust them depending on `$enable_shared`. (PKGCONFIG_REQUIRES, PKGCONFIG_LIBS): New variables. * builds/unix/freetype2.in, builds/unix/unix-def.in: Use new and updated variables.
* [builds/windows] Fix WCE support.Carlo Bramini2022-03-231-0/+2
| | | | | * builds/windows/ftsystem.c [_WIN32_WCE]: Include <malloc.h> needed by _alloca.
* [build/windows] Improve UWP support.Steve Lhomme2022-03-231-6/+44
| | | | * builds/windows/ftsystem.c [UWP]: Wrap CreateFile2 into CreateFileA.
* * builds/mac/ftmac.c, src/base/ftmac.c: s|FT_MAC_H|<freetype/ftmac.h>|.Werner Lemberg2022-02-191-1/+1
|
* [builds/windows] Add support for legacy UWP builds.Steve Lhomme2022-02-171-1/+19
| | | | | | | | | * builds/windows/ftsystem.c: Add neccessary macro substitutions to enable strict UWP builds. See !141. Co-authored-by: Alexei Podtelezhnikov <apodtele@gmail.com>
* [builds/windows] Add SVG to to project files.Alexei Podtelezhnikov2022-02-063-1/+9
| | | | | | * builds/windows/vc2010/freetype.vcxproj: Updated. * builds/windows/vc2010/freetype.vcxproj.filters: Updated. * builds/windows/visualc/freetype.vcproj: Updated.
* [cmake] Fix build on MacOS.Eric Jing2022-02-021-1/+1
| | | | | | | | | | * CMakeLists.txt (CMAKE_OSX_ARCHITECTURES): Update value to fix the building of a framework on MacOS. * builds/mac/freetype-Info.plist (CFBundleExecutable): Make identifier lowercase only. Fixes #1127.
* * unix/configure.raw: We need 'librsvg' version 2.46.0 or newer.Werner Lemberg2022-01-281-1/+1
| | | | Older versions don't have function `rsvg_handle_get_intrinsic_dimensions`.
* * builds/unix/configure.raw (FT_DEMO_CFLAGS): Pass `-DHAVE-LIBRSVG`.Werner Lemberg2022-01-251-1/+1
| | | | | This helps in decoupling library support from `pkg-config` for other platforms.
* [builds/unix] Handle 'librsvg' for demo programs.Werner Lemberg2022-01-202-9/+28
| | | | | | | | | * builds/unix/configure.raw: Check for 'librsvg'. (LIB_CLOCK_GETTIME): Don't call `AC_SUBST` on this but on... (FT_DEMO_CFLAGS, FT_DEMO_LDFLAGS): ... these two new variables. * builds/unix/unix-cc.in (LIB_CLOCK_GETTIME): Replaced by... (FT_DEMO_CFLAGS, FT_DEMO_LDFLAGS): ... these two new variables.
* Add 'svg' module for OT-SVG rendering.Moazin Khatti2022-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * CMakeLists.txt (BASE_SRCS): Add svg module file. * meson.build (ft2_public_headers): Add `otsvg.h`. * modules.cfg (RASTER_MODULES): Add `svg` module. * builds/meson/parse_modules_cfg.py: Add svg module. * include/freetype/config/ftmodule.h: Add `ft_svg_renderer_class`. * include/freetype/fterrdef.h: Add `Invalid_SVG_Document` and `Missing_SVG_Hooks` error codes. * include/freetype/internal/fttrace.h: Add tracing for `otsvg`. * include/freetype/internal/svginterface.h: New file. It adds an interface to enable the presetting hook from the `base` module. * include/freetype/otsvg.h (SVG_Lib_Init_Func, SVG_Lib_Free_Func, SVG_Lib_Render_Func, SVG_Lib_Preset_Slot_Func): New hooks for SVG rendering. (SVG_RendererHooks): New structure to access them. * src/base/ftobjs.c: Include `svginterface.h`. (ft_glyphslot_preset_bitmap): Add code for presetting the slot for SVG glyphs. (ft_add_renderer): Updated. * src/svg/*: New files.
* Update all copyright notices.Werner Lemberg2022-01-1183-83/+83
|
* * builds/unix/configure.raw: Restore `SYSTEM_ZLIB` variable.Werner Lemberg2022-01-021-0/+6
| | | | This was accidentally removed with commit 93ebcbd0 almost eight years ago.
* * builds/meson/*.py: Fix name of python executable for auxiliary scripts.Eli Schwartz2021-12-175-5/+5
| | | | | | | | | | | | | | The previous change to check the return code of `run_command` invocations caused the CI to fail. Although most scripts used `python_exe` as the program command, the script to determine the project version did not. But, all scripts used `python` as the shebang, and this is not available on all systems. Particularly Debian does not provide a `python` command, though `python3` does exist. This meant that formerly the version number was lacking, and now the build simply fails. Instead, rely on `python3` since it is guaranteed to exist when running meson, and `python2` is end of life anyway.
* [builds/windows] Guard some non-ancient API.Cameron Cawley2021-12-062-1/+11
| | | | | | | We can support Windows 98 and NT 4.0 in principle... * builds/windows/ftdebug.c, builds/windows/ftsystem.c: Check for the ancient SDK using _WIN32_WINDOWS, _WIN32_WCE, or _WIN32_WINNT.
* * builds/windows/visualc/freetype.vcproj: Add missing file.Cameron Cawley2021-12-061-0/+4
|
* * Version 2.11.1 released.VER-2-11-1Werner Lemberg2021-12-027-6/+20
| | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-11-1'. * docs/VERSION.TXT: Add entry for version 2.11.1. * docs/CHANGES, docs/release: Updated. * README, src/base/ftver.rc, builds/windows/vc2010/index.html, builds/windows/visualc/index.html, builds/windows/visualce/index.html, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html, docs/freetype-config.1: s/2.11.0/2.11.1/, s/2110/2111/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. * builds/unix/configure.raw (version_info): Set to 24:1:18. * CMakeLists.txt (VERSION_PATCH): Set to 1. * builds/toplevel.mk (version_tag, CHANGELOG_SCRIPT): New variables. (do-dist): Generate `ChangeLog` file with all commits since last release.
* [builds/windows] Improve debugging.Alexei Podtelezhnikov2021-11-291-13/+48
| | | | | | * builds/windows/ftdebug.c (FT_Message, FT_Panic): Buffer output and call `OutputDebugStringA` only if `IsDebuggerPresent`. [_WIN32_WCE] (OutputDebugStringA): Implement the missing API.
* * builds/windows/vc2010/freetype.vcxproj (DlgCopy): Minor tweak.Alexei Podtelezhnikov2021-11-271-1/+1
|
* * builds/windows/vc2010/freetype.vcxproj (DlgCopy): Use transforms.Alexei Podtelezhnikov2021-11-231-8/+11
|
* [builds/windows] Improve `DlgCopy` target.Alexei Podtelezhnikov2021-11-121-2/+2
| | | | | | | Fixes #1113. * builds/windows/vc2010/freetype.vcxproj: Run `DlgCopy` conditionally and decouple it from `Build`.
* [build/windows] Remove logging from default debug configurations.Alexei Podtelezhnikov2021-11-081-6/+18
| | | | | | | | DLG is rather costly for performance and should be used judiciously. This removes it from the default configurations but gives an example how to enable it using the `UserDefines` property. * builds/windows/vc2010/freetype.vcxproj: Hide FT_DEBUG_LOGGING.
* [dlg] Define DLG_STATIC explicitly.Alexei Podtelezhnikov2021-11-071-3/+3
| | | | | | | | | | | DLG_STATIC is intended to disable Windows DLL linking attributes. It does not hurt to define it explicitly when we wrap DLG code. This fixes tons of LNK4286 and C4273 warnings from MSVC if we forget to define DLG_STATIC as a compiler option. * builds/windows/vc2010/freetype.vcxproj: Remove DLG_STATIC option. * src/dlg/dlgwrap.c [FT_DEBUG_LOGGING]: Define DLG_STATIC. * include/freetype/internal/ftdebug.h [FT_DEBUG_LOGGING]: Ditto.
* [builds/windows] Let MSBuild handle DLG copy.Alexei Podtelezhnikov2021-11-022-29/+11
| | | | | * builds/windows/vc2010/freetype.vcxproj: Specify DlgCopy target. * builds/windows/vc2010/script.bat: Deleted.
* [builds/windows] Separate MSVC linker and librarian.Alexei Podtelezhnikov2021-10-291-18/+13
| | | | | | | MSVC uses LIB for static and LINK for dynamic libraries. They are related but the former has much smaller set of options. * builds/windows/vc2010/freetype.vcxproj: Updated.
* [builds/windows] Revise MSVC linking optimizations.Alexei Podtelezhnikov2021-10-283-46/+14
| | | | | | * builds/windows/vc2010/freetype.vcxproj: Optimize DLL linking only. * builds/windows/visualc/freetype.dsp: Ditto. * builds/windows/visualc/freetype.vcproj: Ditto.
* [builds/windows] Add MSVC linker optimazations.Alexei Podtelezhnikov2021-10-251-14/+60
| | | | | | | We continue to build static libraries with statically linked C run- time and add options to optimize references. * builds/windows/vc2010/freetype.vcxproj: Sort entries, add options.
* * builds/windows/vc2010/freetype.vcxproj: Use MachineARM64.Alexei Podtelezhnikov2021-10-231-3/+3
|
* [builds/windows] Prioritize x64.Alexei Podtelezhnikov2021-10-221-24/+24
| | | | * builds/windows/vc2010/freetype.sln: Sort entries.
* [builds/windows] Add ARM64 platform.Gabor Kertesz2021-10-223-17/+172
| | | | | | * builds/windows/vc2010/freetype.sln: Updated * builds/windows/vc2010/freetype.vcxproj: Updated. * builds/windows/vc2010/freetype.vcxproj.filters: Minor fix.
* [builds/unix, builds/vms] Standardize `mmap` failure.Alexei Podtelezhnikov2021-10-052-3/+2
| | | | | | | * builds/unix/ftsystem.c (FT_Stream_Open): Check for MAP_FAILED. * builds/vms/ftsystem.c (FT_Stream_Open): Ditto. This should cover https://savannah.nongnu.org/patch/?5909 as well.