| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
The install step was accidentally removed.
|
|
|
|
|
|
| |
This will allow CoglFramebuffer and its implementations to be exposed
to GJS and other language bindings. This is a necessary part of the
bigger work to make framebuffer management explicit.
|
|
|
|
|
|
|
|
|
| |
CoglOffscreen is effectively a CoglFramebuffer, but it isn't being marked as
such by the GType machinery. This makes it impossible for introspection to
correctly set this class up.
Fix that by adding a COGL_GTYPE_IMPLEMENT_INTERFACE() code into the declaration
of CoglOffscreen. This does not have any functional changes though.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds compilation testing using meson on the gitlab instance. It
uses a prebuild image built, described in .gitlab-ci/Dockerfile, based
on Fedora 29.
The image is build and published by running:
cd .gitlab-ci/
docker build -t registry.gitlab.gnome.org/gnome/mutter/master:v1 .
docker push registry.gitlab.gnome.org/gnome/mutter/master:v1
Resolves: https://gitlab.gnome.org/GNOME/mutter/merge_requests/132
|
|
|
|
|
|
| |
Otherwise, it might trigger the actual race condition that Continuous
is running into, and access the generated enum headers before they're
created.
|
|
|
|
|
|
|
|
|
|
| |
Meson uses the 'dependencies' field to determine and
parallelize build steps, but that isn't entirely true
with 'link_with'; this might cause a race condition
when generating header files while trying to build
them.
Fix that by only using 'dependencies' instead of 'link_with'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
gudev and libudev might have different versions, and
since 361bf847 we require gudev >= 232 to be able to
use g_autoptr with gudev types.
Since the previous commit, however, the meson build
was using the same version for libudev and gudev.
Fix that by requiring different versions for gudev
(>= 232) and libudev (>= 228).
|
|
|
|
|
|
|
| |
Continuous' latest udev version is 228, and that is
not going to change too soon. Since we do not depend
on udev 232 specific features or bugfixes, just lower
the minimum version and make Continouos happy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds meson build support to mutter. It takes a step away
from the three separate code bases with three different autotools setups
into a single meson build system. There are still places that can be
unified better, for example by removing various "config.h" style files
from cogl and clutter, centralizing debug C flags and other configurable
macros, and similar artifacts that are there only because they were once
separate code bases.
There are some differences between the autotools setup and the new
meson. Here are a few:
The meson setup doesn't generate wrapper scripts for various cogl and
clutter test cases. What these tests did was more or less generate a
tiny script that called an executable with a test name as the argument.
To run particular tests, just run the test executable with the name of
the test as the argument.
The meson setup doesn't install test files anymore. The autotools test
suite was designed towards working with installed tests, but it didn't
really still, and now with meson, it doesn't install anything at all,
but instead makes sure that everything runs with the uninstalled input
files, binaries and libraries when running the test suite. Installable
tests may come later.
Tests from cogl, clutter and mutter are run on 'meson test'. In
autotools, only cogl and clutter tests were run on 'make check'.
|
|
|
|
|
| |
Instead of calling no-op functions when EGLStream support isn't enabled,
make it clear at the call site that EGLStream support is optional.
|
|
|
|
|
|
| |
The touch handling code uses evdev API, thus will not work on other
backends. Thus, put touch handling code behind runtime backend checks
and only include the code when native backend support is enabled.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This will avoid building anything related to EGL. For meson, this will
mean that both the native backend an the Wayland support must also be
disabled.
|
|
|
|
|
|
|
|
| |
Install include files in
$prefix/include/mutter-$apiversion/[clutter,cogl,...,meta]/, and
datafiles in /usr/share/mutter-$apiversion/.... We still would conflict
e.g. given that our gettext name is "mutter", and how keybindings are
installed, but it's a step in the right direction.
|
|
|
|
| |
Makes the common test init function simpler to read.
|
|
|
|
|
| |
Outsource the initialization of GTest to the same function used by the
other tests.
|
|
|
|
|
| |
This makes the log handler that breaks test redundant, as GTest already
does this.
|
|
|
|
| |
Missing colon and incorrect type reference in descriptions.
|
|
|
|
| |
This is so that the test suite can point at the non-installed version.
|
|
|
|
|
|
|
| |
This is the filename convention you get when you define a shared module
in meson, and since there is no particular reason to not include the
"lib" prefix, lets make it easier to port it over. While at it,
de-duplicate the retrieval of the plugin name.
|
|
|
|
|
|
| |
It'll be installed in the meta/ directory, so put the template files in
the corresponding directory in the tarball. This will also simplify the
port to meson.
|
| |
|
| |
|
|
|
|
| |
The needed libXi version was released 5 years ago, so should be fine.
|
|
|
|
|
|
| |
While leaving the runtime checks in place, requiring xrandr 1.5 at build
time allows us to remove some seemingly unnecessary conditional
inclusion of functionality.
|
|
|
|
|
|
| |
The order and way include macros were structured was chaotic, with no
real common thread between files. Try to tidy up the mess with some
common scheme, to make things look less messy.
|
|
|
|
|
|
|
|
| |
testboxes was a binary that did unit testing, but it wasn't integrated
to the test system, so in effect, it was never run. Instead integrate it
into the other mutter unit tests. This includes changing a few of
meta_warning()s into g_warning()s so that the GTest framework can handle
them.
|
|
|
|
|
| |
This adds a hard requirement on having cvt installed, which in the past
was soft, where the generated file was added to the repository.
|
|
|
|
| |
TESTS_DATA_DIR was not used by any of the tests, so no use defining it.
|
|
|
|
|
| |
We already have gdk-pixbuf as a dependency, so there is no reason to
make it conditional here.
|
|
|
|
| |
We now require xcomposite, xkb, xi 2.2, at least at compile time.
|
|
|
|
| |
The gbm and drm facing code has since long been moved into mutter.
|
| |
|
|
|
|
|
| |
Unconditionally pass -fvisibility=hidden to compiler and define
_CLUTTER_EXTERN to __attribute__((visibility("default"))) extern.
|
|
|
|
| |
Use #ifdef instead of #if in a couple of places.
|
|
|
|
|
| |
Running clutter apps standalone using mutters fork is not something
worth supporting.
|
|
|
|
| |
It was unconditionally set to 1.
|
| |
|
| |
|
|
|
|
| |
Use the mutter version when something is still needed.
|
|
|
|
|
|
| |
There are different unit-tests file generated containing lists of tests
the test-runner.sh should run. Running run-tests.sh read the unit-tests
in the current directory, which is inconvenient to do when using meson.
|
|
|
|
| |
Macro was only defined when defined to 1.
|
|
|
|
|
| |
Don't rely on some combination of macros, but an explicit definition to
check whether cogl-config.h was included.
|
|
|
|
|
| |
I.e. including a OpenGL driver file, the path "driver/gl/..." must be
specified when including.
|
| |
|
| |
|
| |
|
| |
|