summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-04-28 13:30:09 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-28 15:30:09 -0500
commit2cfc5eebb5affe76e6ae53e835dcc089a708719d (patch)
tree22b609920f04edca0b6d48a55cfc986049a85903
parent6814842814da2e96c10be603d9a738b4a16c3f06 (diff)
downloadspack-2cfc5eebb5affe76e6ae53e835dcc089a708719d.tar.gz
spack-2cfc5eebb5affe76e6ae53e835dcc089a708719d.tar.bz2
spack-2cfc5eebb5affe76e6ae53e835dcc089a708719d.tar.xz
spack-2cfc5eebb5affe76e6ae53e835dcc089a708719d.zip
Bug/make dia build (#4045)
* Make dia build w/ Spack's X bits (and misc) X related - need to depend on the +X variant of gtkplus - need to depend on freetype misc - fix path to tarball * Make freetype a "build" dependency * Freetype is not just a build dep
-rw-r--r--var/spack/repos/builtin/packages/dia/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/dia/package.py b/var/spack/repos/builtin/packages/dia/package.py
index 014ddf084c..d04cce27dc 100644
--- a/var/spack/repos/builtin/packages/dia/package.py
+++ b/var/spack/repos/builtin/packages/dia/package.py
@@ -33,7 +33,7 @@ class Dia(Package):
version('0.97.3', '0e744a0f6a6c4cb6a089e4d955392c3c')
depends_on('intltool', type='build')
- depends_on('gtkplus@2.6.0:')
+ depends_on('gtkplus@2.6.0:+X')
depends_on('libxslt')
depends_on('python')
depends_on('swig')
@@ -42,6 +42,7 @@ class Dia(Package):
depends_on('libxinerama')
depends_on('libxrender')
depends_on('libxml2')
+ depends_on('freetype')
# TODO: Optional dependencies, not yet supported by Spack
# depends_on('libart')
@@ -49,7 +50,7 @@ class Dia(Package):
def url_for_version(self, version):
"""Handle Dia's version-based custom URLs."""
- return 'https://ftp.gnome.org/pub/gnome/source/dia/%s/dia-%s.tar.xz' % (version.up_to(2), version)
+ return 'https://ftp.gnome.org/pub/gnome/sources/dia/%s/dia-%s.tar.xz' % (version.up_to(2), version)
def install(self, spec, prefix):