1. 23 Jan, 2019 3 commits
  2. 10 Jan, 2019 1 commit
    • Georges Basile Stavracas Neto's avatar
      Drop Autotools · 763ae36c
      Georges Basile Stavracas Neto authored
      I saw Meson fade from the sky
      On the wind I heard a sigh
      As snowflakes cover fallen Makefiles
      I will say this last goodbye
      
      Meson is now coming
      So ends Autotools days
      Future is now coming
      And we must away
      Over Python and without Bashisms
      Through lands where never Meson touched
      By silver streams that run down to the Sea
      
      Under parsers, beneath old legacy
      Over snow one winter’s morn
      I turned at last to paths that lead home
      And though where the road then takes me
      I cannot tell
      We came all this way
      But now comes the day
      To bid you farewell
      
      Many places I have been
      Many sorrows I have seen
      But I don’t regret
      Nor will I forget
      All Makefiles that took that road with me
      
      I bid you all a very fond farewell.
      763ae36c
  3. 08 Jan, 2019 2 commits
    • Florian Müllner's avatar
      build: Install .pc files in correct location · d360b25b
      Florian Müllner authored
      If a library is provided in the positional arguments, then meson
      defaults to installing the .pc file in a 'pkgconfig' subdirectory
      in the library's install location. We want the files in the regular
      $libdir/pkgconfig rather than $libdir/mutter-$api/pkgconfig, so
      specify the location explicitly in the parameters.
      
      GNOME/mutter!382
      d360b25b
    • Jonas Ådahl's avatar
      build: Pass library as first argument to pkg.generate() · 73ddd7cd
      Jonas Ådahl authored
      Dependencies are added automatically, and we no longer get warnings
      like:
      
      clutter/clutter/meson.build:628: DEPRECATION: Library mutter-clutter-4
      was passed to the "libraries" keyword argument of a previous call to
      generate() method instead of first positional argument. Adding
      mutter-clutter-4 to "Requires" field, but this is a deprecated behaviour
      that will change in a future version of Meson. Please report the issue
      if this warning cannot be avoided in your case.
      73ddd7cd
  4. 07 Nov, 2018 2 commits
  5. 06 Nov, 2018 4 commits
    • Georges Basile Stavracas Neto's avatar
      build: Prefer dependencies instead of link_with · d1c4c462
      Georges Basile Stavracas Neto authored
      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'.
      d1c4c462
    • 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
    • Jonas Ådahl's avatar
      autotools: Make install directories paths more consistent · d48d56f8
      Jonas Ådahl authored
      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.
      d48d56f8
    • Jonas Ådahl's avatar
      cogl-gles2/Makefile.am: Add cogl/ includedir · da741ead
      Jonas Ådahl authored
      Otherwise cogl-egl-defines.h isn't found when building out-of-tree.
      da741ead
  6. 15 Feb, 2017 1 commit
  7. 14 Feb, 2017 1 commit
    • Jonas Ådahl's avatar
      Make libmutter and friends parallel installable · 4ebc55f2
      Jonas Ådahl authored
      In order to minimize the amount of breakage, while at the same time
      making it easier to make backward incompatible changes needed to
      continue turning libmutter into a capable Wayland compositor, make the
      libmutter and friends (libmutter-clutter, libmutter-cogl*) parallel
      installable by adding a version number to the name. This changes
      various filenames, for example what previously was libmutter.so is now
      libmutter-0.so (assuming the version for now is 0), and
      libmutter-clutter-1.0.so is now libmutter-clutter-0.so. The pkg-config
      filenames and GObject introspection has been renamed to reflect this as
      well.
      
      This enables a downstream compositor rely on a specific version of the
      libmutter API, while gracefully handling API/ABI changes by having to
      update to the new version at their own pace.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=777317
      4ebc55f2
  8. 28 Apr, 2016 1 commit
  9. 22 Apr, 2016 1 commit