summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelly (KT) Thompson <KineticTheory@users.noreply.github.com>2017-04-27 15:04:45 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2017-04-27 14:04:45 -0700
commit109a3ed8e9d5b5501c29bac65bd4a433d3107396 (patch)
tree72d1b861c0123d0f20f0351d3534145264c4a14e
parent0488654f67b8e177dbf598484a5220d92ad91ac2 (diff)
downloadspack-109a3ed8e9d5b5501c29bac65bd4a433d3107396.tar.gz
spack-109a3ed8e9d5b5501c29bac65bd4a433d3107396.tar.bz2
spack-109a3ed8e9d5b5501c29bac65bd4a433d3107396.tar.xz
spack-109a3ed8e9d5b5501c29bac65bd4a433d3107396.zip
Dia requires libxml2. (#3976)
* Dia requires libxml2. * Clean up dependencies for Dia (and add X11 deps). + Remove dependencies on cairo and libpng. The will be satisfied via gtkplus. + Add dependencies on X11 libraries: libsm, libuuid, libxinerama, libxrender. + From a dependency diagram, it doesn't appear that we need libxml2 since this dependency should be come in through cairo (via gtkplus). However, Dia will not build without it.
-rw-r--r--var/spack/repos/builtin/packages/dia/package.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/dia/package.py b/var/spack/repos/builtin/packages/dia/package.py
index af9d1b23ac..014ddf084c 100644
--- a/var/spack/repos/builtin/packages/dia/package.py
+++ b/var/spack/repos/builtin/packages/dia/package.py
@@ -34,15 +34,18 @@ class Dia(Package):
depends_on('intltool', type='build')
depends_on('gtkplus@2.6.0:')
- depends_on('cairo')
- depends_on('libpng')
depends_on('libxslt')
depends_on('python')
depends_on('swig')
+ depends_on('libsm')
+ depends_on('libuuid')
+ depends_on('libxinerama')
+ depends_on('libxrender')
+ depends_on('libxml2')
# TODO: Optional dependencies, not yet supported by Spack
# depends_on('libart')
- # depends_on('py-gtk', type=('build', 'run'))
+ # depends_on('py-pygtk', type=('build', 'run'))
def url_for_version(self, version):
"""Handle Dia's version-based custom URLs."""