1. 15 Sep, 2021 5 commits
  2. 14 Sep, 2021 3 commits
  3. 10 Sep, 2021 1 commit
  4. 19 Aug, 2021 11 commits
  5. 18 Aug, 2021 3 commits
  6. 11 Aug, 2021 1 commit
  7. 10 Aug, 2021 6 commits
    • Arun Raghavan's avatar
    • Marvin Schmidt's avatar
      build: Allow to specify which system lua to use · da8fc024
      Marvin Schmidt authored and George Kiagiadakis's avatar George Kiagiadakis committed
      On Exherbo we allow to install different Lua ABIs in parallel and
      users can choose per-package which Lua ABI to use, e.g.
      
        media/wireplumber LUA_ABIS: -* 5.3
      
      However, wireplumber's build system doesn't provide a way of explicitly
      requesting a specific version, which makes the build non-deterministic,
      since you get a different result if you install today with Lua 5.3
      installed and reinstall tomorrow after installing Lua 5.4.
      
      To fix this, I introduced a `system-lua-version` option that allows to
      specify an explicit Lua version to check for and build against:
      
      > $ meson .. -Dsystem-lua=true -Dsystem-lua-version=5.4
      > The Meson build system
      > Version: 0.58.0
      > Source dir: /mnt/development/scm/freedesktop/wireplumber
      > Build dir: /mnt/development/scm/freedesktop/wireplumber/build/reconfigure
      > Build type: native build
      > Project name: wireplumber
      > Project version: 0.4.1
      > [...]
      > Run-time dependency lua-5.4 found: YES 5.4.3
      > [...]
      > Build targets in project: 56
      >
      > wireplumber 0.4.1
      >
      >     Lua version                    : 5.4.3 (system)
      >     systemd conf data              : YES
      
      If the specified version isn't found, the build will fail loudly:
      
      > $ meson .. -Dsystem-lua=true -Dsystem-lua-version=5.5
      > [...]
      > Found CMake: /usr/host/bin/cmake (3.20.5)
      > Run-time dependency lua-5.5 found: NO (tried pkgconfig and cmake)
      > Run-time dependency lua5.5 found: NO (tried pkgconfig and cmake)
      >
      > ../meson.build:50:6: ERROR: Problem encountered: Specified Lua version "5.5" not found
      da8fc024
    • Julian Bouzas's avatar
      src: scripts: add alsa-mini.lua monitor · 8c9da58d
      Julian Bouzas authored and George Kiagiadakis's avatar George Kiagiadakis committed
      8c9da58d
    • Julian Bouzas's avatar
      m-lua-scripting: add GLib access Lua API · 9b8a8766
      Julian Bouzas authored and George Kiagiadakis's avatar George Kiagiadakis committed
      9b8a8766
    • Julian Bouzas's avatar
      modules: add new API module to monitor files · 907a67fc
      Julian Bouzas authored and George Kiagiadakis's avatar George Kiagiadakis committed
      907a67fc
    • jakobrs's avatar
      dump_table: Sort keys before printing · 92d99f4a
      jakobrs authored and George Kiagiadakis's avatar George Kiagiadakis committed
      92d99f4a
  8. 08 Aug, 2021 1 commit
  9. 20 Jul, 2021 4 commits
  10. 19 Jul, 2021 1 commit
  11. 16 Jul, 2021 1 commit
  12. 15 Jul, 2021 3 commits
    • Peter Hutterer's avatar
      lib: deprecate the functions to fetch the config directory · ece8f7a7
      Peter Hutterer authored and George Kiagiadakis's avatar George Kiagiadakis committed
      Both have been replaced by functions that directly find configuration files
      in a hierarchy of paths.
      ece8f7a7
    • Peter Hutterer's avatar
      lib: add functions to search in configuration/data directories · d38c3fb4
      Peter Hutterer authored and George Kiagiadakis's avatar George Kiagiadakis committed
      The previous approach to loading config files was to ask WP for the
      directory and then search those for the config files. This patch changes the
      approach - a caller now asks WP to search for a specific config file or
      iterate over a config file directory.
      
      This allows us to implement a directory lookup order, i.e.
      "wireplumber.conf" may be in XDG_CONFIG_DIR, /etc/,
      /usr/share and the first one found is used.
      
      For configuration directories, the new method iterates over all matching
      entries (files + directories) and invokes a callback for each entry.
      
      This enables distributions to ship default files in /usr/share/wireplumber
      but have admins and users override them on a local basis. For lua scripts in
      particular, overriding a distribution-provided file with an empty file
      effectively disables it, adding a file adds it in the right sort order.
      d38c3fb4
    • Peter Hutterer's avatar
      lib: always return the full path from wp_get_config/data_dir · 153e84c8
      Peter Hutterer authored and George Kiagiadakis's avatar George Kiagiadakis committed
      Remove the need for the caller to check if the returned path is absolute or
      relative.
      153e84c8