summaryrefslogtreecommitdiff
path: root/builds
Commit message (Collapse)AuthorAgeFilesLines
* [builds/windows] Do not set CharacterSet for VC++.Alexei Podtelezhnikov2021-08-182-12/+12
| | | | | * builds/windows/vc2010/freetype.vcxproj: s/Unicode/NotSet/. * builds/windows/visualc/freetype.vcproj: s/"1"/"0"/.
* * builds/windows/ftsystem.c (FT_Stream_Open): Cast to remove warning.Alexei Podtelezhnikov2021-08-171-2/+2
|
* * builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.Alexei Podtelezhnikov2021-08-171-2/+2
|
* * Version 2.11.0 released.VER-2-11-0Werner Lemberg2021-07-197-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-11-0'. * docs/VERSION.TXT: Add entry for version 2.11.0. * 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.10.4/2.11.0/, s/2104/2110/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 11. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 24:0:18. * CMakeLists.txt (VERSION_MINOR): Set to 11. (VERSION_PATCH): Set to 0. * builds/toplevel.mk (dist): Ignore more git-related files.
* [build] Allow overriding of `ANSIFLAGS` for GNU make build.Werner Lemberg2021-05-2913-13/+14
| | | | * builds/*: Implement it.
* [CMake] Update dependency finders.Nikolaus Waxweiler2021-05-192-49/+166
| | | | | | | | | | | | | | | 1. Fixes CMake using any found HarfBuzz version lower than the minimum required. This is based on HALX99's merge request at https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/31 2. Update FindHarfBuzz.cmake from https://github.com/WebKit/WebKit/blob/1ce32454/Source/cmake/FindHarfBuzz.cmake and guard post-CMake-3.1 features to keep the minimum version unchanged 3. Update FindBrotliDec.cmake to stop the warnings, based on what https://github.com/google/woff2/blob/a0d0ed7d/cmake/FindBrotliDec.cmake is doing * CMakeLists.txt, builds/cmake/FindHarfBuzz.cmake: Implement 1 and 2. * builds/cmake/FindBrotliDec.cmake: Implement 3.
* * builds/meson/process_ftoption_h.py: Add LF at EOF.Issam E. Maghni2021-04-251-1/+1
| | | | | | | | | This fixes .../ftoption.h:1030:10: error: no newline at end of file [-Werror,-Wnewline-eof] for the generated `ftoption.h` file.
* * src/base/ftobjs.c (Mac_Read_POST_Resource): s/FT_ALLOC/FT_QALLOC/.Alexei Podtelezhnikov2021-04-231-2/+2
| | | | * builds/mac/ftmac.c (FT_New_Face_From_SFNT, read_lwfn): Ditto.
* * builds/unix/freetype2.m4: Fix help string formatting.Werner Lemberg2021-04-161-6/+6
| | | | | | The indented `dnl` macros inserted unwanted horizontal space. Problem reported by Ozkan Sezer <sezeroz@gmail.com>.
* * builds/unix/ax_pthread.m4: Update from 'autoconf-archive'.Werner Lemberg2021-02-191-11/+26
| | | | A bunch of fixes were added recently to its git repository.
* [unix] Updates for autoconf 2.71.Werner Lemberg2021-02-172-8/+7
| | | | | | | | | This fixes warnings reported by autoupdate. * builds/unix/ax_pthread.m4: Replace `as_echo` with `AS_ECHO`. * builds/unix/configure.raw: Remove obsolete `AC_HEADER_STDC`. Don't escape back quotes in messages for `AC_MSG_WARN`.
* * builds/toplevel.mk: Fix previous commit.Werner Lemberg2021-02-161-17/+19
| | | | | | | <top_level>: Use `TOP_DIR` in `wildcard` function. (check_out_submodule, copy_submodule): Move down to come after definition of `all` rule. Call `mkdir` conditionally.
* * builds/toplevel.mk: Use rules for handling 'dlg'.Werner Lemberg2021-02-161-11/+18
| | | | | | | Suggested by Alexei. (check_out_submodule, copy_submodule): New targets. <top-level>: Replace calls to `shell` with rules.
* * builds/toplevel.mk: Avoid side effects of `shell`.Werner Lemberg2021-02-161-6/+6
| | | | | | We use a dummy variable to catch its output. Otherwise the `make` program is going to interpret the return value of `shell`; this can cause obscure warning or error messages or even be harmful.
* Move 'dlg' submodule to `subprojects` directory.Werner Lemberg2021-02-162-12/+12
| | | | | | | | | | | | | | This is for future changes with Meson, which doesn't allow a different name for its `subprojects` directory. Having both a `submodules` and a `subprojects` directory is confusing. * .gitmodules, autogen.sh (copy_submodule_files, DLG_INC_DIR, DLG_SRC_DIR): Updated. * builds/toplevel.mk (<top-level>, do-dist), builds/windows/vc2010/script.bat: Updated. * src/tools/no-copyright: Updated.
* * builds/unix/configure.raw [mmap]: Restore default path.Alexei Podtelezhnikov2021-02-031-3/+7
| | | | Fixes #1023.
* * builds/unix/configure.raw [mmap support]: Explicitly handle Windows.Alexei Podtelezhnikov2021-02-021-20/+12
| | | | Fixes #1024.
* * builds/unix/configure.raw [mmap support]: Correctly handle Windows.Werner Lemberg2021-02-021-12/+24
| | | | Fixes #1024.
* builds/{unix,windows}/ftsystem.c: Sync comments with `src/base/ftsystem.c`.Werner Lemberg2021-02-022-221/+260
| | | | Also some minor code formatting.
* * builds/windows/ftdebug.c: Synchronize with `src/base/ftdebug.c`.Werner Lemberg2021-01-311-2/+32
|
* * builds/unix/configure.raw: Fix typo.Werner Lemberg2021-01-301-1/+1
| | | | | | Bug introduced in Vincent's last commit bb33f03. Fixes issue #1021.
* * builds/windows/ftsystem.c: Add shared memory support on Windows.Vincent Torri2021-01-274-3/+407
|
* Require HarfBuzz 2.0.0.Werner Lemberg2021-01-231-1/+1
| | | | | | | This is needed to make commit f1f9705f9 work. * CMakeLists.txt (HARFBUZZ_MIN_VERSION), builds/unix/configure.raw (harfbuzz_pkg), meson.build (harfbuzz_dep): Updated.
* Update all copyright notices.Werner Lemberg2021-01-1782-82/+82
|
* * builds/unix/unixddef.mk: Remove the second DEVEL_DIR definition.Alexei Podtelezhnikov2021-01-161-3/+0
|
* Documentation update for repository move to 'freedesktop.org'.Werner Lemberg2021-01-162-3/+3
|
* * builds/*: s/BUILD_DIR/PLATFORM_DIR/.Werner Lemberg2021-01-1013-49/+49
| | | | The old variable name caused confusion.
* [builds] Revert `FTMODULE_H' changes.Alexei Podtelezhnikov2021-01-082-2/+3
| | | | * builds/toplevel.mk, builds/freetype.mk: Revert changes.
* [builds/windows] Fix up DLG build with VC++.Alexei Podtelezhnikov2021-01-072-8/+8
| | | | | * builds/windows/vc2010/script.bat: Copy headers to include/. * builds/windows/vc2010/freetype.vcxproj: Remove DLG paths.
* [builds] Relocate `FTMODULE_H'.Alexei Podtelezhnikov2021-01-072-3/+2
| | | | | * builds/toplevel.mk: Place `FTMODULE_H' in include/. * builds/freetype.mk: Simplify included path.
* [dlg] Move the headers to include/dlg to simplify their use.Alexei Podtelezhnikov2021-01-073-15/+13
| | | | | | | | * autogen.sh, builds/toplevel.mk: Copy headers to incluide/dlg. * builds/freetype.mk, builds/windows/vc2010/freetype.vcxproj: Simplify included path. * include/freetype/internal/ftdebug.h: Simplify #include. * src/dlg/rules.mk, .gitignore: Updated.
* [builds/windows] Add SDF to VC2010 project.Alexei Podtelezhnikov2021-01-042-3/+11
| | | | | * builds/windows/vc2010/freetype.vcxproj: Updated; AfterBuild conveniences.
* * builds/windows/detect.mk (COPY): Make it work with `shell`.Werner Lemberg2020-12-231-2/+2
| | | | | | | | Without this patch, we get the error builds/toplevel.mk:127: *** missing separator. Stop. Reported by Anuj, with a solution from Alexei.
* * builds/unix/configure.raw: Don't set `FT_DEBUG_LOGGING`.Werner Lemberg2020-12-071-4/+4
| | | | All debug options are handled exclusively in `ftoption.h`.
* */*: s/FT_LOGGING/FT_DEBUG_LOGGING/.Werner Lemberg2020-12-073-14/+14
|
* * builds/toplevel.mk (do-dist): Remove `submodules` directory.Werner Lemberg2020-12-051-0/+3
|
* [base] Don't close 'stderr' after logging.Werner Lemberg2020-12-051-1/+2
| | | | | * src/base/ftdebug.c, builds/windows/ftdebug.c (ft_logging_deinit): Fix it.
* Improve setup for 'dlg' library.Werner Lemberg2020-12-051-17/+20
| | | | | | | | | | * autogen.sh (copy_submodule_file), builds/toplevel.mk: Redirect stderr to `/dev/null`. * builds/toplevel.mk: Move code block to handle 'dlg' stuff into `check_platform` conditional. Also fix wildcard expressions for guarding `git submodule` commands. Also make file copying work with non-Unix platforms (untested).
* [build] Use gcc (and clang) in C99 mode.Werner Lemberg2020-12-054-31/+10
| | | | | | | | | | | | Other compilers are unchanged. * builds/compiler/gcc-dev.mk, builds/compiler/gcc.mk (ANSIFLAGS): s/-ansi/-std=c99/. * builds/freetype.mk (FT_CFLAGS): Remove `-std=c99`. * builds/unix/configure.raw: Handle C99. Remove no longer needed test for gcc 4.6 and earlier.
* Typos.Werner Lemberg2020-12-0414-14/+14
|
* [builds/unix] Check for 'pthread' library.Priyesh Kumar2020-12-042-0/+527
| | | | | | | | * builds/unix/ax_pthread.m4: New file, taken from 'autoconf-archive' git repository. * builds/unix/configure.raw: Check for 'pthread'; also check whether it works.
* [base] Implement vertical alignment of log printing.Werner Lemberg2020-12-041-12/+61
| | | | | | | | | | | | Based on a patch by Priyesh. * include/freetype/internal/fttrace.h (FT_MAX_TRACE_LEVEL_LENGTH): New macro. * src/base/ftdebug.c, builds/windows/ftdebug.c (ft_log_handler): Print logs after a fixed width to handle different lengths of `FT_COMPONENT` entries. Use `ft_strrchr` to check for final newline character.
* [builds/windows] Changes to build 'dlg' with FreeType on Windows.Priyesh Kumar2020-12-044-19/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | We only support Visual C++ 2010 and newer. * builds/windows/vc2010/script.bat: New windows batch file to copy necessary 'dlg' files from `submodules/dlg` to `src/dlg`. This file is used as a pre-built event in Visual C++. * builds/windows/ftdebug.c: Synchronize with `src/base/ftdebug.c`. * builds/windows/vc2010/freetype.vcxproj.filters: Add `src/dlgwrap.c`. * builds/windows/vc2010/freetype.vcxproj (AdditionalIncludeDirectories): Add include files of dlg for 'Debug' and 'Debug Static' configurations on both 'x64' and 'win32' platforms. (PreprocessorDefinitions): Add `FT_LOGGING` for 'Debug' and 'Debug Static' configurations on both 'x64' and 'win32' platforms. Add `DLG_STATIC' for 'Debug' configuration on 'x64' and 'win32' platforms. (DisableLanguageExtensions): We need to disable the `/Za` option when building 'dlg' with FreeType as 'dlg' strictly follows the C99 standard. Visual C++ produces behaves unexpectedly when compiling a C99 file with `/Za` option enabled.
* [builds] Necessary changes to make 'dlg' compile.Priyesh Kumar2020-12-012-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | * autogen.sh (copy_submodule_files): New script to copy all the necessary source and include files from `submodules/dlg` to `src/dlg`. * src/dlg/dlgwrap.c: New wrapper file for `src/dlg.c`. It enables the build of 'dlg' if the `FT_LOGGING` macro is defined. * src/dlg/rules.mk: New sub-Makefile. * builds/freetype.mk (DLG_DIR): New variable to include the header files of the 'dlg' library. (INCLUDES): Add `DLG_DIR`. (FT_CFLAGS): Add `-std=c99' flag. Include `src/dlg/rules.mk` file to build 'dlg' library. (OBJ_S, OBJ_M): Add `DLG_OBJS_M` and `DLG_OBJS_S`. * builds/toplevel.mk: For builds directly from the git repository we need to copy files from `submodule/dlg` to `src/dlg`. * include/freetype/config/ftoption.h, devel/ftoption.h (FT_LOGGING): New macro to enable or disable the logging facility in FreeType.
* builds/meson/*: Add copyright boilerplate.Werner Lemberg2020-11-275-1/+51
|
* * Version 2.10.4 released.VER-2-10-4Werner Lemberg2020-10-206-6/+6
| | | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-10-4'. * docs/VERSION.TXT: Add entry for version 2.10.4. * 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.10.3/2.10.4/, s/2103/2104/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4. * builds/unix/configure.raw (version_info): Set to 23:4:17. * CMakeLists.txt (VERSION_PATCH): Set to 4.
* * Version 2.10.3 released.VER-2-10-3Werner Lemberg2020-10-106-6/+6
| | | | | | | | | | | | | | | | | | | | ========================== Tag sources with `VER-2-10-3'. * docs/VERSION.TXT: Add entry for version 2.10.3. * 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.10.2/2.10.3/, s/2102/2103/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 3. * builds/unix/configure.raw (version_info): Set to 23:3:17. * CMakeLists.txt (VERSION_PATCH): Set to 3.
* Document changes to last release.Werner Lemberg2020-10-101-1/+1
|
* [meson] Move auxiliary scripts to `builds/meson`.Werner Lemberg2020-09-225-0/+556
| | | | | | | | | Suggested by Alexei. * scripts/*.py: Move meson scripts to... * builds/meson/*.py: ... this new location. * meson.build: Updated.
* Add Meson build project file.David Turner2020-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example usage: # Configure Meson build in directory `build-meson` to generate # release binaries comparable to to the ones from the # autotools/make build system. meson setup build-meson \ --prefix=/usr/local \ --buildtype=debugoptimized \ --strip \ -Db_ndebug=true # After configuring the Meson build with the above command, # compile and install to `/usr/local/`; this includes a pkg-config # file. ninja -C build-meson install # Alternatively, compile and install to `/tmp/aa/usr/local/...` # for packaging. DESTDIR=/tmp/aa ninja -C build-meson install # Generate documentation under `build-meson/docs`. ninja -C build-meson docs Library size comparison for stripped `libfreetype.so` generated by all three build systems: - Default build (autotools + libtool): 712 KiB - CMake build (RelWithDebInfo): 712 KiB - Meson build: 712 KiB * meson.build: New top-level Meson build file for the library. * meson_options.txt: New file. It holds user-selectable options for the build, which can be printed with `meson configure`, and selected at `meson setup` or `meson --reconfigure` time with `-D<option>=<value>`. * scripts/parse_modules_cfg.py: A script invoked by `meson.build` to parse `modules.cfg` and extract important information out of it (i.e., the list of modules). * scripts/process_ftoption_h.py: New script invoked by `meson.build` to process the original `ftoption.h` file. It enables or disables configuration macro variables based on the available dependencies. This is similar to what other build systems are using (i.e., Meson's `configure_file()` command is not used here). * scripts/extract_freetype_version.py: New script invoked by `meson.build` to extract the FreeType version number from `<freetype/freetype.h>`. * scripts/extract_libtool_version.py: New script invoked by `meson.build` to extract the libtool `revision_info` data from `builds/unix/configure.raw`, and to generate the corresponding shared library suffix. * scripts/generate_reference_docs.py: New script invoked by `meson.build` to generate the FreeType 2 reference documentation (using the `docwriter` and `mkdocs` packages, which must be already installed).