summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2022-01-28 03:40:26 -0600
committerGitHub <noreply@github.com>2022-01-28 10:40:26 +0100
commitbf80a9f83af16f1b0769f2f4af4d81a945ee7c88 (patch)
tree9d3dab70448545721789620aee230e2784985c64 /var
parentf7f7a168e942760a9a28779f622e13e7a1ca74b4 (diff)
downloadspack-bf80a9f83af16f1b0769f2f4af4d81a945ee7c88.tar.gz
spack-bf80a9f83af16f1b0769f2f4af4d81a945ee7c88.tar.bz2
spack-bf80a9f83af16f1b0769f2f4af4d81a945ee7c88.tar.xz
spack-bf80a9f83af16f1b0769f2f4af4d81a945ee7c88.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/at-spi2-core/package.py4
1 files changed, 4 insertions, 0 deletions
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'