Commit Graph

64 Commits

Author SHA1 Message Date
Khaled Hosny 7b0d8d9d18 [meson] Remove ttf-parser wrap
We don’t have a ttf-parser dependency anymore.
2022-06-29 00:42:40 +02:00
Behdad Esfahbod 217d38dfc7 Try to fix distcheck 2022-04-29 16:19:10 -06:00
Khaled Hosny 22cbd038d3 [meson] Add ragel subproject
If ragel 6.10 is not found, build it from source.

Seems to work, except that ragel uses exceptions and we configure
HarfBuzz build to not use exceptions, and I can’t find away to enable
exceptions only for the ragel subproject. I had to remove cpp_eh=none
from default options and try to disable exceptions in MSVC manually
(other compilers are already handled).
2021-09-14 18:46:33 -06:00
Khaled Hosny fac0bc7876 [meson] Drop more wraps we don’t use directly 2021-05-26 23:11:44 +02:00
Khaled Hosny 21d1034dc0 [meson] Remove expat.wrap that we don’t use directly
Fixes https://github.com/harfbuzz/harfbuzz/issues/2987
2021-05-26 23:11:44 +02:00
Khaled Hosny 743baf3543 [build] Don’t look for FontConfig
We don’t currently use it anywhere. It was used briefly for the
hb-fc-list tool, but this tool have not been built since 2015:

commit cd042fc8c4
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Thu Jun 18 10:55:13 2015 -0700

    [util] Disable hb-fc-list for now

    Until I figure out what to do about the API, and finalize
    the tool.
2021-03-29 15:54:51 -06:00
Behdad Esfahbod b39c1f7829 a[build] Fix distcheck 2021-02-20 15:46:17 -07:00
Behdad Esfahbod e05e56061c [mingw] Reinstate win32 cross-compiling with autotools instructions
Was removed in favor of meson in 6058ede3ae.
However, those fail to build for me.
2021-01-24 12:28:04 -07:00
Ebrahim Byagowi 2af58c3518 Revert "Remove cmake build files"
This reverts commit 4e572c9407.
2020-08-12 01:00:33 +04:30
Ebrahim Byagowi 5193357832 Revert "Remove autotools build support"
This reverts commit 01ac32aab2.
2020-08-11 23:51:59 +04:30
Ebrahim Byagowi 01ac32aab2 Remove autotools build support 2020-08-07 23:28:12 +04:30
Ebrahim Byagowi 4e572c9407
Remove cmake build files
As discussed in https://github.com/harfbuzz/harfbuzz/pull/2252
2020-07-30 16:19:15 +04:30
Ebrahim Byagowi 6d3d0ebba3 Remove .tarball-revision generation from meson dist
Toward making release tarball identical to git checkout now that we are moving to meson.
2020-07-06 11:48:59 +04:30
Ebrahim Byagowi 5f870dfadb [meson] Make benchmark buildable also in dists 2020-06-29 12:54:58 +04:30
Ebrahim Byagowi 03bd3efaa7
[meson] Write git revision to .tarball-revision on dist tarball 2020-06-19 10:32:46 +04:30
Ebrahim Byagowi 8571b3551c [releasing] Remove tar signing procedure
https://github.com/harfbuzz/harfbuzz/issues/2449#issuecomment-639898473
2020-06-10 20:16:00 +04:30
Ebrahim Byagowi 6058ede3ae
Build win32 artifacts using meson
As a part of meson migration, this builds hb-shape dependencies
using meson subprojects and removes different unrelated mingw
files we've put on source root about things that aren't really our
concern. This also simplifies all the instructions we've put in
README.mingw.md and makes it easy to build the project on
distros that no mingw libraries (such i686-win32-{freetype,glib,...}
are packaged. The known catch is however lack of hb-view as its need
for build of cairo which apparently isn't that straightforward.
2020-06-01 12:58:31 +04:30
Ebrahim Byagowi c54ab9ba79 Provide meson wrap files on release tarball 2020-03-13 14:41:28 +03:30
Ebrahim Byagowi dfab7a2546 [cmake] Bring it back to release tarball 2020-03-12 21:51:36 +03:30
Ebrahim Byagowi 1dd3896688 [meson] Make it work on autotools dist 2020-03-12 14:49:40 +03:30
Ebrahim Byagowi c494d7abcd Remove cmake testing and add meson build bot
CMake tests are broken anyway as py3 changes so let's get rid of them
2020-03-11 20:15:10 +03:30
Behdad Esfahbod 3a9394635f Add CONFIG.md
https://github.com/harfbuzz/harfbuzz/issues/1652
2019-06-17 20:10:36 -07:00
Behdad Esfahbod c41ed54b16 [mingw] Add "make dist-win" to toplevel Makefile 2019-05-25 12:35:09 -04:00
Behdad Esfahbod a0a75a7c70 [mingw] More 2019-05-25 12:16:41 -04:00
Behdad Esfahbod 77a1b6b7c3 [mingw] Rename README.wine 2019-05-25 11:18:40 -04:00
Behdad Esfahbod 5fd3ece523 2.5.0 2019-05-24 15:57:57 -04:00
Behdad Esfahbod 0dd3fdf9d2 Update ChangeLog generation
Let's see if I can make a release on Mac...
2019-03-26 13:44:39 -07:00
Ebrahim Byagowi 5f7f0bfa1e
Add README.wine.md and touch some other docs (#939) 2018-03-29 04:22:53 +04:30
Chun-wei Fan 53db221259 CMake: Support building HarfBuzz-GObject
This adds support to the CMake build files to support building
HarfBuzz-GObject, which is actually a little bit complicated,
as we need to:

-Run glib-mkenums, which is a Python (for newer GLib/GObject) or PERL
 (for older, pre 2.53.4, GLib/GObject) script.  This matters more for
 Visual Studio builds as shebang lines are not supported, so we need to
 test-run it with PERL or Python to determine which is the correct
 interpretor to use.

-Next, we need to replace strings in the sources that we obtain from
 running glib-mkenums.  So, the solution here is to use a small utility
 CMake script for our purposes here, to maintain maximum compatibility.

-Ensure that things do work in the Visual Studio IDE builds.
2017-10-18 23:48:11 +08:00
ebraminio dfeccd073a Remove nmake port of harfbuzz (#562) 2017-10-12 10:41:47 +02:00
Behdad Esfahbod db446cce4e Add RELEASING.md to dist 2017-10-01 12:06:00 -04:00
ebraminio 7d64c0ef37 Add CMake build support (#444) 2017-04-04 15:03:51 +04:30
Behdad Esfahbod e053ccc5bb Remove Android.mk
Android uses its own file these days and third-party developers should
be using the autotools-based system against Android NDK.
2016-12-28 15:51:57 -05:00
Behdad Esfahbod ca539e37a4 [build] git.mk fix for m4/gtk-doc.m4 2016-02-22 15:38:44 +09:00
Chun-wei Fan d7b6636e5e build: Support Visual Studio builds using NMake
This adds a set of NMake Makefiles that can be used to build HarfBuzz, from
the standard basic build building the minimal HarfBuzz DLL (consisting
of OpenType, fallback and Uniscribe support only), to a full fledged build
consisting of GLib and FreeType support, as well as building the utilities,
the test programs in src/ and test/api, and HarfBuzz-ICU and
HarfBuzz-GObject, and up to building the introspection files.  This means a
flexible build mechanism is supported here, so anything that is supported
for a Windows build (code-wise), should all be supported by this build
system.

As in an earlier commit, the source listings are shared with the autotools
builds with the various Makefile.sources in src/, src/hb-ucdn and util/, and
this set of NMake Makefiles will transform these lists into the form they
want.

In the current form, all the test programs in test/api pass, and this has
been checked successfully with 'make -j8 distcheck'.
2016-02-03 18:14:30 +08:00
Behdad Esfahbod 6486e37554 Fix typo 2015-10-20 16:39:41 -02:00
Behdad Esfahbod 753ea7b909 Add BUILD.md to dist 2015-10-20 15:21:18 -02:00
Behdad Esfahbod 6c918e2997 Clean up gtk-doc.make 2015-02-26 13:59:13 -08:00
Behdad Esfahbod ca1c2813dd [bindings] Add README.python 2015-01-21 01:52:54 -08:00
Behdad Esfahbod bb8ffb581b Use AM_MISSING_PROG for ragel and git 2014-03-04 13:03:51 -08:00
Behdad Esfahbod 74ff41c3a5 Minor 2013-09-03 20:09:14 -04:00
Behdad Esfahbod b0e03508ba Dist with gobject and introspection enabled 2013-08-29 16:17:07 -04:00
Anthony Carrico f7c72b42ef [gtk-doc] Initial setup
Initial setup of gtk-doc. Straight forward setup following the gtk-doc
instructions. Ignore some troublesome types in src/hb-gobject.h. To
build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in
harfbuzz/docs/reference/html/index.html.
2013-08-26 17:32:30 -04:00
Behdad Esfahbod 280e52ae95 Fix ChangeLog regen 2013-05-30 18:04:24 -04:00
Behdad Esfahbod 22ce096174 Generate harfbuzz-icu.pc
Currently it only works with ICU that has .pc files.  I'll
wait till someone complains before fixing it for icu-config
systems.
2013-05-28 17:18:30 -04:00
Behdad Esfahbod 22c625a490 [git.mk] Update to commit efc928222179576270c5910416d8055dd7a97896
Move reusable list of files into variable definitions modules can
    reuse
2013-03-04 21:27:06 -05:00
Behdad Esfahbod 66f7b3509a Add libtool m4 macros to MAINTAINERCLEANFILES 2013-03-04 18:52:12 -05:00
Behdad Esfahbod 614242efb0 Revert "Include config.h.in in tree"
This reverts commit 01013a0f5c.

Conflicts:
	config.h.in

Same argument as previous commit.
2013-02-06 23:45:27 -05:00
Behdad Esfahbod 94afeb6ebe Add Android.mk 2012-12-21 11:54:50 -05:00
Behdad Esfahbod 01013a0f5c Include config.h.in in tree
I typically don't like including generating files in tree.  But like to
make an exception for this, since this forms the canonical list of
options one would need to go through when building with alternative
build systems.
2012-10-29 10:56:04 -07:00