1. 07 Feb, 2019 1 commit
  2. 23 Jan, 2019 1 commit
  3. 22 Jan, 2019 3 commits
    • Jonas Ådahl's avatar
      cogl/path: Don't depend on GL/glu.h · c57ae7fc
      Jonas Ådahl authored
      It's not needed for anything, and we can get rid of the dependency we
      just added.
      
      Also remove the installation step from Dockerfile.
      c57ae7fc
    • Jonas Ådahl's avatar
      meson.build: Add more compilation warnings · 25f416c1
      Jonas Ådahl authored
      So that we can catch more issues. The warning list is copied from GTK+,
      with two switch related ones removed.
      25f416c1
    • Jonas Ådahl's avatar
      cogl-path: Remove own glu.h version · 54685091
      Jonas Ådahl authored
      cogl-path uses types from glu.h, but to avoid a build dependency on glu,
      it kept a minified copy of glu.h in tree. Drop this file and just use
      the actual glu.h. To avoid linking to libGLU.so, just use the
      includepath, instead of actually adding glu as a real dependency.
      
      This means we can remove an includepath meant to make it possible to
      include <GL/glu.h>.
      54685091
  4. 16 Jan, 2019 1 commit
    • Jonas Ådahl's avatar
      screen-cast: Add 'cursor-mode' to allow decoupled cursor updates · 4e402b39
      Jonas Ådahl authored
      The 'cursor-mode', which currently is limited to RecordMonitor(), allows
      the user to either do screen casts where the cursor is hidden, embedded
      in the framebuffer, or sent as PipeWire stream metadata.
      
      The latter allows the user to get cursor updates sent, including the
      cursor sprite, without requiring a stage paint each frame. Currently
      this is done by using the cursor sprite texture, and either reading
      directly from, or drawing to an offscreen framebuffer which is read from
      instead, in case the texture is scaled.
      
      GNOME/mutter!357
      4e402b39
  5. 10 Jan, 2019 1 commit
  6. 08 Jan, 2019 3 commits
  7. 22 Dec, 2018 1 commit
    • Jonas Ådahl's avatar
      build: Always pass --quiet to g-ir-scanner · f7d4a727
      Jonas Ådahl authored
      This makes the build less verbose, as all .gir generation except for
      clutters didn't pass --quiet to g-ir-scanner, making it output long
      linking commands. Do this by adding a common introspection_args
      variable.
      
      While at it, put -U_GNU_SOURCE in there too, as it was always passed
      everywhere as without it the scanner would log warnings.
      f7d4a727
  8. 21 Dec, 2018 1 commit
  9. 20 Dec, 2018 3 commits
    • Georges Basile Stavracas Neto's avatar
      meson: Print some configure flags · 7a75692e
      Georges Basile Stavracas Neto authored
      Just an additional touch after adding installed tests,
      outputting those flags helped not losing track of them.
      7a75692e
    • Georges Basile Stavracas Neto's avatar
      Add Meson support for installed tests · ebb6c56f
      Georges Basile Stavracas Neto authored
      This is the last remaining feature necessary to achieve
      parity with the Autotools build.
      
      A few changes were made to the install locations of the
      tests, in order to better acomodate them in Meson:
      
       * Tests are now installed under a versioned folder (e.g.
         /usr/share/installed-tests/mutter-4)
      
       * The mutter-cogl.test file is now generated from an .in
         file, instead of a series of $(echo)s from within Makefile.
      
      Notice that those tests need very controlled environments
      to run correctly. Mutter installed tests, for example, will
      failed when running under a regular session due to D-Bus
      failing to acquire the ScreenCast and/or RemoteScreen names.
      ebb6c56f
    • Georges Basile Stavracas Neto's avatar
      build: Move libmutter_name to toplevel Meson file · dcb52539
      Georges Basile Stavracas Neto authored
      The libmutter name will be reused by other Meson files,
      so it makes sense to share it instead of rebuilding this
      string every time.
      dcb52539
  10. 06 Dec, 2018 1 commit
  11. 01 Dec, 2018 1 commit
  12. 23 Nov, 2018 1 commit
  13. 14 Nov, 2018 1 commit
  14. 06 Nov, 2018 3 commits
    • Georges Basile Stavracas Neto's avatar
      gudev: Require 232 · d3dc7d6f
      Georges Basile Stavracas Neto authored
      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).
      d3dc7d6f
    • Georges Basile Stavracas Neto's avatar
      build: Make minimum udev version as 228 · b607d35a
      Georges Basile Stavracas Neto authored
      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.
      b607d35a
    • Jonas Ådahl's avatar
      Add meson build support · ef85d1a6
      Jonas Ådahl authored
      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'.
      ef85d1a6