graphene:check-cc-can-run

Last commit made on 2023-08-10
Get this branch:
git clone -b check-cc-can-run https://git.launchpad.net/graphene

Branch merges

Branch information

Name:
check-cc-can-run
Repository:
lp:graphene

Recent commits

c19d1f4... by Emmanuele Bassi <email address hidden>

build: Allow host builds when cross-compiling

Environments that set up execution wrappers when cross-compiling should
be allowed to run code. We only fall back on external properties if we
really can't run any native code on the host machine.

a0595ec... by Emmanuele Bassi <email address hidden>

Merge pull request #257 from ebassi/point-distance-helpers

Add squared distance operator for 2D points

362c9d8... by Emmanuele Bassi <email address hidden>

Add squared distance operator for 2D points

A convenience function that computes the squared distance between two
points, and avoids the per-axis components of distance().

5c142f1... by Emmanuele Bassi <email address hidden>

ci: Update the MSVC action

f8c8aad... by Emmanuele Bassi <email address hidden>

tests: Update the minimal TAP runner fallback

Starting with TAP version 13, the version has to be specified as the
first line on the test output.

Our TAPTestRunner fallback code needs to take that into account.

f0d1d88... by Emmanuele Bassi <email address hidden>

build: Use boolean values with set10()

Instead of an integer, configuration_data.set10() takes a boolean and
turns it into a 1 or 0.

f89522c... by psykose <email address hidden>

meson: don't install introspection file with installed_tests=false

fixes #247

07d3e54... by Corentin Noël

Add support for using g_autoptr with graphene types

145b8f3... by Nirbheek Chauhan <email address hidden>

meson: Stop using fallback: kwarg for deps that don't need it

Subprojects that use meson.override_dependency() do not require the
caller to provide the dependency variable name inside the subproject.

glib is also on wrapdb, so provide instructions on how someone can
install it and use it.

1ad53f0... by Nirbheek Chauhan <email address hidden>

meson: Override dependencies to improve usage as a subproject

With this change, graphene can be consumed as a subproject without
making any changes to the build files of a project. All you need to do
is provide a wrap file with a `[provide]` section:

https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section

This is also necessary because otherwise projects need to hard-code
the subproject name, which might be `graphene` when using `wrap-git` or
`graphene-1.10.8` when using `wrap-file` (to build from a release
tarball). This can cause conflicts between different subprojects that
consume graphene differently.

Other projects like glib, cairo, pango, etc already do this.