summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/glibmm
diff options
context:
space:
mode:
authorBernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-11-02 11:39:25 +0100
committerGitHub <noreply@github.com>2021-11-02 10:39:25 +0000
commit5a4d03060be6d5e097eec58551a666c67126e83f (patch)
tree0337cf7b267db686fefa20d1f3b97f9375a7b4ed /var/spack/repos/builtin/packages/glibmm
parentbf411c7c55bd253a3bed904489cc1af061274600 (diff)
downloadspack-5a4d03060be6d5e097eec58551a666c67126e83f.tar.gz
spack-5a4d03060be6d5e097eec58551a666c67126e83f.tar.bz2
spack-5a4d03060be6d5e097eec58551a666c67126e83f.tar.xz
spack-5a4d03060be6d5e097eec58551a666c67126e83f.zip
gtk packages: fix dependencies (#26960)
gconf depends on gettext and libintl (dep: intltool) glibmm, gtkmm, libcanberra and cups need pkgconfig glibmm needs libsigc++ < 2.9x(which are 3.x pre-releases) libsigc++@:2.9 depends on m4 for the build Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var/spack/repos/builtin/packages/glibmm')
-rw-r--r--var/spack/repos/builtin/packages/glibmm/package.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/glibmm/package.py b/var/spack/repos/builtin/packages/glibmm/package.py
index e9a00245f9..f064dee0b0 100644
--- a/var/spack/repos/builtin/packages/glibmm/package.py
+++ b/var/spack/repos/builtin/packages/glibmm/package.py
@@ -9,15 +9,22 @@ from spack import *
class Glibmm(AutotoolsPackage):
"""Glibmm is a C++ wrapper for the glib library."""
- homepage = "https://developer.gnome.org/glib/"
- url = "https://ftp.gnome.org/pub/GNOME/sources/glibmm/2.19/glibmm-2.19.3.tar.gz"
+ homepage = 'https://gitlab.gnome.org/GNOME/glibmm'
+ url = 'https://download-fallback.gnome.org/sources/glibmm/2.70/glibmm-2.70.0.tar.xz'
+ # version('2.70.0', sha256='8008fd8aeddcc867a3f97f113de625f6e96ef98cf7860379813a9c0feffdb520')
version('2.19.3', sha256='23958368535c19188b1241c4615dcf1f35e80e0922a04236bb9247dcd8fe0a2b')
version('2.16.0', sha256='99795b9c6e58e490df740a113408092bf47a928427cbf178d77c35adcb6a57a3')
version('2.4.8', sha256='78b97bfa1d001cc7b398f76bf09005ba55b45ae20780b297947a1a71c4f07e1f')
depends_on('libsigcpp')
+ # https://libsigcplusplus.github.io/libsigcplusplus/index.html
+ # sigc++-2.0 and sigc++-3.0 are different parallel-installable ABIs:
+ # libsigcpp@:2.99: are pre-releases of 3.0 & glibmm@:2.19 is not updated for @2.99:
+ # The newer glibmm releases have dependencies which are not yet in spack:
+ depends_on('libsigcpp@:2.9', when='@:2.19')
depends_on('glib')
+ depends_on('pkgconfig', type='build')
patch('guint16_cast.patch', when='@2.19.3')