From bf80a9f83af16f1b0769f2f4af4d81a945ee7c88 Mon Sep 17 00:00:00 2001 From: Desmond Orton Date: Fri, 28 Jan 2022 03:40:26 -0600 Subject: at-spi2-core: patch for version 2.40.1 and beyond (#28497) at-spi2-core is automatically selecting dbus-broker and enabling systemd if it finds dbus-broker-launch which some systems might have even without systemd being part of the actual spack environment. This is not ideal for a spack package. --- var/spack/repos/builtin/packages/at-spi2-core/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/at-spi2-core/package.py b/var/spack/repos/builtin/packages/at-spi2-core/package.py index 18db1c09b7..e1c27c3e5e 100644 --- a/var/spack/repos/builtin/packages/at-spi2-core/package.py +++ b/var/spack/repos/builtin/packages/at-spi2-core/package.py @@ -35,6 +35,10 @@ class AtSpi2Core(MesonPackage): depends_on('python', type='build') depends_on('gobject-introspection') + @when('@2.40.1:') + def patch(self): + filter_file(r'dbus_broker.found\(\)', 'false', 'bus/meson.build') + def url_for_version(self, version): """Handle gnome's version-based custom URLs.""" url = 'http://ftp.gnome.org/pub/gnome/sources/at-spi2-core' -- cgit v1.2.3-70-g09d2