summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Drop -Werror=array-boundsmatthiasc/for-mainMatthias Clasen2023-05-011-2/+0
| | | | | | | | gcc has strange issues with this and produces false positives that recently started breaking the build of pango as a subproject in gtk. See e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
* Fix check for Cairo DWrite Font dependencyLuca Bacci2023-04-151-1/+5
| | | | | | Name changed from 'cairo-win32-dwrite-font' to 'cairo-dwrite-font', https://gitlab.freedesktop.org/cairo/cairo/-/commit/15855876685f01af828c29ca2a1608eb06de2a89
* Post-release version bumpMatthias Clasen2023-03-021-1/+1
|
* Post-release version bumpMatthias Clasen2023-02-201-1/+1
|
* Drop an unnecessary conditionalMatthias Clasen2023-02-041-6/+0
| | | | | It was added my mistake. This is not new harfbuzz api.
* shape: Avoid some overheadMatthias Clasen2023-01-301-0/+6
| | | | | Most fonts are not color, no need to check that for every glyph.
* meson: Stop using fallback: kwarg for deps that don't need itNirbheek Chauhan2022-12-191-19/+9
| | | | | | | | | | Subprojects that use meson.override_dependency() do not require the caller to provide the subproject name and dependency variable name inside the subproject. All the dependencies we use can be switched in this way; including gi-docgen which is now automatically executed by the find_program() invocation thanks to `program_names` in the wrap file.
* meson: Always look for both cmake and pkgconfig namesNirbheek Chauhan2022-12-191-5/+2
| | | | | | | | | | | | | | | | The is_msvc_like change is wrong; it used a false correlation between "compiler being used" and "dependency method" by saying that on Windows, when building with MSVC, you will only use CMake to find freetype. You can use pkgconfig to find freetype on Windows with MSVC -- when it has been built with meson (msvc). You can also find freetype using CMake on other platforms like macOS or Linux. The solution is simple: just search for both names on all platforms, and just search for the pkgconfig name first. This requires Meson 0.60
* meson: Fix pangoft2.pc when using freetype and fontconfig subprojectsNirbheek Chauhan2022-12-171-5/+7
| | | | | | | | | | | | This is the same change that was made for pangocairo earlier. Without this, the pc file contains the following requires line: ``` Requires: pango, ``` Which is incorrect, and also invalid.
* Post-release version bumpMatthias Clasen2022-11-181-1/+1
|
* Revert "meson.build: Check for GDI and DirectWrite support in HarfBuzz"Chun-wei Fan2022-10-171-18/+0
| | | | | | | This caused issues when buliding HarfBuzz as a fallback subproject, as mentioned in issue #707, so don't use platform APIs in HarfBuzz on Windows as a result. This reverts commit 3ab3e076665d0722d6f12938f3bddf263322539b.
* meson: Drop some unused checksMatthias Clasen2022-10-161-27/+0
| | | | | We are not using these HAVE_FOO defines anymore. So no need to produce them.
* Merge branch 'pango1-dwrite' into 'main'Matthias Clasen2022-10-131-0/+27
|\ | | | | | | | | Pango-1.x: Add some DirectWrite support as a supplement See merge request GNOME/pango!635
| * meson.build: Check for GDI and DirectWrite support in HarfBuzzChun-wei Fan2022-09-261-0/+18
| | | | | | | | | | | | | | | | These support are not enabled by default when building HarfBuzz, but if one or both are enabled, we can simplify the codepath to create the needed hb_face_t. This was not added previously as the needed HarfBuzz GDI API was not available at the time the code was written and we are only integrating DirectWrite now.
| * build: Check for DirectWrite supportChun-wei Fan2022-09-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | ...in Cairo, as well as their presence in the Windows SDKs (which should always be there in the Windows SDKs). We want to use items in DirectWrite to help us improve support on Windows regarding looking up for features (description) of a font. Since upstream Cairo gained DirectWrite support very recently, check for it only via pkg-config, since Cairo had Meson build support quite a bit before that happened.
* | Post-release version bumpMatthias Clasen2022-10-031-1/+1
| | | | | | | | | | Trying to get back into the habit of bumping the version in git right after a release.
* | 1.50.111.50.11Matthias Clasen2022-10-031-1/+1
|/
* 1.50.101.50.10Matthias Clasen2022-09-161-1/+1
|
* Fix meson summary for IntrospectionPierre Labastie2022-09-121-1/+1
|
* 1.50.91.50.9Matthias Clasen2022-08-091-1/+1
|
* 1.50.81.50.8Matthias Clasen2022-07-021-1/+1
|
* Revert "Add a check for mixed linkage"Matthias Clasen2022-06-271-3/+1
| | | | | | | This reverts commit e5b62c8c27599699fa583a18e5346138799d9f50. No longer needed. We've renamed everything to avoid conflicts, instead.
* Add a check for mixed linkageprevent-mixed-linkageMatthias Clasen2022-06-231-1/+3
| | | | | | | | Having both pango 1.x and pango 2 linked into the same process will cause trouble, because the type and function names conflict. Error out if we detect this situation.
* 1.50.71.50.7Matthias Clasen2022-04-141-1/+1
|
* 1.50.61.50.6Matthias Clasen2022-03-191-1/+1
|
* 1.50.51.50.5Matthias Clasen2022-03-051-1/+1
|
* meson: Clean up FreeType searchChun-wei Fan2022-02-211-21/+9
| | | | | | | Use CMake's built-in support to look for FreeType2 on Visual Studio-like builds, by using the 'freetype' package name, since it is what CMake expects. This cleans the Meson build files a bit and CMake would do more comprehensive work to help us find FreeType.
* meson.build: Remove strap FontConfig itemsChun-wei Fan2022-02-211-4/+0
| | | | Drop items that are actually not used.
* Meson: Clean up HarfBuzz searchChun-wei Fan2022-02-211-30/+5
| | | | | | | | | | | Pango 1.50.x and later require a HarfBuzz version that is buildable via Meson, so we can just use the standard dependency() call for HarfBuzz for all builds. This means that we can drop all the items where we search for HarfBuzz manually. Also remove the stray HarfBuzz items that are no longer used.
* Remove options from cairo subproject Benjamin Otte2022-02-161-2/+1
| | | Cairo is a proper meson project now, and force-enabling fontconfig and freetype broke the CI build on MacOS.
* cosmeticsMatthias Clasen2022-02-151-1/+1
| | | | No need to check harfbuzz_dep. We require it.
* 1.50.41.50.4Matthias Clasen2022-02-091-1/+1
|
* 1.50.31.50.3Matthias Clasen2021-12-211-1/+1
|
* 1.50.21.50.2Matthias Clasen2021-12-161-1/+1
|
* 1.50.11.50.1Matthias Clasen2021-12-101-1/+1
|
* 1.50.01.50.0Matthias Clasen2021-12-021-1/+1
|
* serializer: Replace json-glibMatthias Clasen2021-12-021-5/+0
| | | | Replace json-glib by a homegrown json parser/printer.
* 1.49.41.49.4Matthias Clasen2021-11-271-1/+1
|
* Make summary work with meson 0.55Matthias Clasen2021-11-191-1/+1
| | | | That is what we have in ci.
* build: Add a summaryMatthias Clasen2021-11-191-0/+25
| | | | | I hope this will give some insight into what is happening in ci builds.
* Add a json-glib subprojectserializer2Matthias Clasen2021-11-181-1/+2
| | | | This is necessary for ci on MacOs to build.
* Add layout serialization apiMatthias Clasen2021-11-181-0/+4
| | | | | | | | Add api to serialize PangoLayout, for the benefit of testing and debugging. Currently, this uses json, but that is an implementation detail. Some tests included.
* build: Bump the harfbuzz reqMatthias Clasen2021-11-161-1/+1
| | | | | | | We are using the hb metrics api in more places now, so just require 2.6.0 where it was introduced. That version is almost 2 years old now, so that is hopefully not too much of a burden.
* Bump fontconfig dep to 2.13.0Matthias Clasen2021-11-081-1/+1
| | | | | This version of fontconfig has all the API we are using, and was released in 2018.
* 1.49.31.49.3Matthias Clasen2021-11-081-1/+1
|
* 1.49.21.49.2Matthias Clasen2021-10-291-1/+1
|
* Require CoreText for Quartz backendEvan Miller2021-09-071-10/+13
| | | | | Also fix CoreText detection by including its header. (Older systems have CoreText as a private framework.)
* 1.49.11.49.1Matthias Clasen2021-09-011-1/+1
|
* build: More compiler warningscompiler-warningsMatthias Clasen2021-08-221-4/+39
| | | | | | Now that the code has been fixed, we can enable these warnings. The flags here match what is used in GTK.
* build: Raise required fribidi versionMatt Turner2021-08-121-1/+1
| | | | | | Pango uses the FRIBIDI_TYPE_RLI macro. It was not usable until fribidi commit 46f52d588ab5 ("Fixed bug PFRIBIDI_TYPE_PDF_LRI is undefined. Issue #69") which was first included in v1.0.6.