diff options
author | Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> | 2021-10-14 02:07:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 19:07:27 -0500 |
commit | 2c3ea68dd1450c7dd9ab68e7c2e69b11a72c115d (patch) | |
tree | 05ca3c8850a54e5968678957e724ba4ec38e6eca /var | |
parent | 99200f91b75782fea943f65abacce8c80b17c746 (diff) | |
download | spack-2c3ea68dd1450c7dd9ab68e7c2e69b11a72c115d.tar.gz spack-2c3ea68dd1450c7dd9ab68e7c2e69b11a72c115d.tar.bz2 spack-2c3ea68dd1450c7dd9ab68e7c2e69b11a72c115d.tar.xz spack-2c3ea68dd1450c7dd9ab68e7c2e69b11a72c115d.zip |
openslide: Fix missing dependencies: gdk-pixbuf and perl-alien-libxml2 (#26620)
Add missing pkgconfig to openslide and its dep perl-alien-libxml2.
Fix shared-mime-info to be a runtime dependency of gdk-pixbuf,
Otherwise, configure cannot detect use gdk-pixbuf without error.
Diffstat (limited to 'var')
3 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py index 7f4fa88527..e317d4d706 100644 --- a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py +++ b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py @@ -32,8 +32,8 @@ class GdkPixbuf(Package): depends_on('meson@0.46.0:', type='build', when='@2.37.92:') depends_on('meson@0.45.0:', type='build', when='@2.37.0:') depends_on('ninja', type='build', when='@2.37.0:') - depends_on('shared-mime-info', type='build', when='@2.36.8: platform=linux') - depends_on('shared-mime-info', type='build', when='@2.36.8: platform=cray') + depends_on('shared-mime-info', when='@2.36.8: platform=linux') + depends_on('shared-mime-info', when='@2.36.8: platform=cray') depends_on('pkgconfig', type='build') # Building the man pages requires libxslt and the Docbook stylesheets depends_on('libxslt', type='build', when='+man') diff --git a/var/spack/repos/builtin/packages/openslide/package.py b/var/spack/repos/builtin/packages/openslide/package.py index 38456d83de..1f5aed9a8a 100644 --- a/var/spack/repos/builtin/packages/openslide/package.py +++ b/var/spack/repos/builtin/packages/openslide/package.py @@ -14,6 +14,7 @@ class Openslide(AutotoolsPackage): version('3.4.1', sha256='9938034dba7f48fadc90a2cdf8cfe94c5613b04098d1348a5ff19da95b990564') + depends_on('pkgconfig', type='build') depends_on('openjpeg') depends_on('jpeg') depends_on('libtiff') diff --git a/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py b/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py index 6e5d36685f..de22f69970 100644 --- a/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py +++ b/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py @@ -16,3 +16,4 @@ class PerlAlienLibxml2(PerlPackage): depends_on('libxml2') depends_on('perl-alien-build', type=('build', 'run')) + depends_on('pkgconfig', type=('build')) |