summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* 1.48.01.48.0Matthias Clasen2020-11-081-1/+1
|
* Merge branch 'override-dependency' into 'master'Matthias Clasen2020-10-141-1/+1
|\ | | | | | | | | meson: Use meson.override_dependency() See merge request GNOME/pango!250
| * meson: Use meson.override_dependency()Xavier Claessens2020-09-301-1/+1
| | | | | | | | | | This allows projects that use pango as a subproject to not hardcode dependency variable names such as 'libpangocairo_dep'.
* | meson: Fix cairo/fontconfig/freetype2 fallbackXavier Claessens2020-10-021-19/+39
|/ | | | | | | - Ignore disabled freetype/fontconfig option on platforms where they are required. - If option is enabled it should still check for system dependency with required: false.
* meson: Fix cairo fallbackXavier Claessens2020-09-291-1/+1
| | | | | | When building with -Dcairo=enabled the first dependency('cairo', ...) call was aborting instead of returning not-found and continue with msvc checks and then again dependency() check with a fallback set.
* Bump version to 1.47Matthias Clasen2020-09-181-1/+1
| | | | We are going to add new API.
* 1.46.21.46.2Matthias Clasen2020-09-181-1/+1
|
* Make dependencies to fontconfig and freetype optional and explicit.Niklas Guertler2020-09-141-6/+14
| | | | | | | | Added meson features for explicitly enabling or disabling the dependencies freetype and fontconfig such that they won't be used even if present on the system. The meson option use_fontconfig was changed to fontconfig with these possible values: * 'enabled' (equivalent to old use_fontconfig=true) * 'auto' (equivalent to old use_fontconfig=false) * 'disabled' (equivalent to old use_fontconfig=false AND report an error if fontconfig is required on this system).
* Make dependencies to libthai, cairo and xft optional.Niklas Guertler2020-09-091-4/+4
| | | | Added meson features for disabling the dependencies libthai, cairo and xft such that they won't be used even if present on the system. Changed meson dependencies for some tests accordingly.
* meson.build: Fix check for msvc_recommended_pragmas.hChun-wei Fan2020-08-261-1/+1
| | | | | There was a typo when we checked whether force-including it would be supported. Fix that.
* 1.46.11.46.1Matthias Clasen2020-08-201-1/+1
|
* Add sysprof tracing supportMatthias Clasen2020-08-191-0/+17
| | | | | Add support for adding sysprof marks. Strongly inspired by equivalent GLib support.
* 1.461.46.0Matthias Clasen2020-08-101-1/+1
|
* Bump the versionMatthias Clasen2020-08-021-1/+1
|
* 1.45.41.45.4Matthias Clasen2020-07-301-1/+1
|
* 1.45.31.45.3Matthias Clasen2020-06-221-1/+1
|
* 1.45.21.45.2Matthias Clasen2020-06-111-1/+1
|
* 1.45.11.45.1Matthias Clasen2020-06-081-1/+1
| | | | | | We've been using the 1.45.0 version in git for a while, without ever putting out a tarball. Lets bump the version to 1.45.1 for a new release, to get avoid uncertainties.
* Merge branch 'master' into 'master'Matthias Clasen2020-06-081-1/+1
|\ | | | | | | | | Replace fallthrough comments with G_GNUC_FALLTHROUGH See merge request GNOME/pango!177
| * build: Require glib 2.60Timm Bäder2020-04-141-1/+1
| | | | | | | | So we can use G_GNUC_FALLTHROUGH
* | Visual Studio: Use -utf-8 when availableChun-wei Fan2020-06-051-2/+2
| | | | | | | | | | | | This avoids the build erroring out on C4819 (Unicode handling issue in Visual Studio compilers), notably when running on Chinese, Japanese and Korean locales.
* | meson: Only use FreeType fallback only when neededChun-wei Fan2020-06-051-2/+6
|/ | | | | | | Defer using the FreeType fallback until: -We need to really build FontConfig support -FreeType is not found even after checking the headers and lib's.
* Merge branch 'fix-buildtype-usage' into 'master'Emmanuele Bassi2020-04-141-7/+9
|\ | | | | | | | | meson: Fix check for builtype arguments See merge request GNOME/pango!181
| * meson: Fix check for builtype argumentsNirbheek Chauhan2020-04-031-7/+9
| | | | | | | | | | | | | | | | | | | | | | `get_option('buildtype')` will return `'custom'` for most combinations of `-Doptimization` and `-Ddebug`, but those two will always be set correctly if only `-Dbuildtype` is set. So we should look at those options directly. For the two-way mapping between `buildtype` and `optimization` + `debug`, see this table: https://mesonbuild.com/Builtin-options.html#build-type-options
* | build: Do not use source/build_root functionsEmmanuele Bassi2020-04-141-0/+1
|/ | | | | Meson has the include_directories() object to specify inclusion paths that refer to both the source and build directories.
* build: Move C-only warning flags to right placeBenjamin Otte2019-12-081-2/+2
| | | | The build was complaining about those and that broke -Werror builds.
* Link against gioMatthias Clasen2019-12-041-1/+3
| | | | | We want to implement the GListModel interface, which lives in gio.
* Bump version to 1.45Matthias Clasen2019-10-311-1/+1
|
* 1.44.71.44.7Matthias Clasen2019-10-241-1/+1
|
* 1.44.61.44.6-2Matthias Clasen2019-09-041-1/+1
|
* 1.44.51.44.5Matthias Clasen2019-08-141-1/+1
|
* 1.44.41.44.4Matthias Clasen2019-08-131-1/+1
|
* Bump meson req to 0.50Matthias Clasen2019-08-131-1/+1
|
* 1.44.31.44.3Matthias Clasen2019-08-031-1/+1
|
* 1.44.21.44.2Matthias Clasen2019-08-021-1/+1
|
* Add a few more warning flagsMatthias Clasen2019-08-011-0/+2
| | | | | | Add warning flags for the just fixed warnings to the build. This is in order to ensure that pango builds in ci as a subproject of gtk.
* 1.44.1Matthias Clasen2019-07-281-1/+1
|
* Merge branch 'darwin-versions-fix' into 'master'Khaled Hosny2019-07-271-1/+2
|\ | | | | | | | | meson: fix darwin_versions See merge request GNOME/pango!105
| * meson: fix darwin_versionsTom Schoonjans2019-07-271-1/+2
| | | | | | | | The darwin_versions argument should take into account the interface_age
* | 1.441.44Matthias Clasen2019-07-271-1/+1
|/
* build: Make harfbuzz a required dependencyMatthias Clasen2019-07-241-2/+4
| | | | | We can't do without anymore, so report a clear error if harfbuzz is not found.
* Merge branch 'Jehan/fix-MinGW64-build' into 'master'Matthias Clasen2019-07-241-1/+2
|\ | | | | | | | | meson: do not set -Werror=redundant-decls for gcc on Windows target. See merge request GNOME/pango!41
| * meson: do not set -Werror=redundant-decls for gcc on Windows target.Jehan2019-01-261-1/+2
| | | | | | | | | | | | When cross-compiling with MinGW64, system headers have various redundant declarations. This commit makes pango cross-buildable with MinGW64 while not removing the warning-errors for other OSes.
* | Merge branch 'improve-fontconfig-dep-search' into 'master'Christoph Reiter2019-07-211-2/+9
|\ \ | | | | | | | | | | | | build: Only use fallback dep for FontConfig when needed/requested See merge request GNOME/pango!94
| * | build: Only use fallback dep for FontConfig when needed/requestedChun-wei Fan2019-07-191-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows and macOS only optionally requires FontConfig, so: -Add an option, for Windows and macOS, whether we want to use FontConfig on these platforms. This is ignored on *NIX, where FontConfig will always be used. -We still look for FontConfig first via pkg-config files, and on MSVC builds, via looking for its headers and .lib files. If FontConfig is required (or requested) but is not found, we then use the fallback dependency for it.
* | | build: Only use fallback for Cairo dep when necessaryChun-wei Fan2019-07-191-2/+9
|/ / | | | | | | | | | | Only use the fallback when we are sure that we can't find the Cairo headers and libraries, where applicable, and ensure that it is used, as it is really a hard dependency.
* | build: Only use fallback dependency for HarfBuzz when neededChun-wei Fan2019-07-151-7/+16
| | | | | | | | | | | | | | | | | | | | Unfortunately the CMake dependency discovery mechanism is broken in Meson, so on MSVC builds we still look first for the HarfBuzz headers and .lib's, and ensure that they are 2.0.0 or later, before we try to use the fallback dependency. We do, however, want to make use of the fallback if HarfBuzz cannot be found since HarfBuzz is now a hard dependency of Pango for all builds.
* | Revert "Reduce overlinking"Matthias Clasen2019-07-121-5/+3
| | | | | | | | This reverts commit f972ba0562823a8d55ad02ff9609481a884c79f8.
* | Reduce overlinkingMatthias Clasen2019-07-091-3/+5
| | | | | | | | | | Only link libpangoxft and libpangocairo against xft and cairo.
* | meson: Use 'standard' option namesMatthias Clasen2019-07-011-1/+1
| | | | | | | | | | | | | | | | Use 'gtk_doc' for documentation and 'introspection' for, well, introspection. This matches what the rest of the stack does. Fixes https://gitlab.gnome.org/GNOME/pango/issues/364