summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorlingnanyuan <1297162327@qq.com>2018-03-21 13:53:26 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-03-21 13:53:26 -0500
commit011d4071326c677736980b055bef0e9af761d4db (patch)
tree364d9c2d81d4a7ae1827ac5c11f15accf2c4fa05 /var
parent647c4a15077c8d78d906c66ba2dfd7c98911b029 (diff)
downloadspack-011d4071326c677736980b055bef0e9af761d4db.tar.gz
spack-011d4071326c677736980b055bef0e9af761d4db.tar.bz2
spack-011d4071326c677736980b055bef0e9af761d4db.tar.xz
spack-011d4071326c677736980b055bef0e9af761d4db.zip
Xorg-server: Add dependencies and fix installation. (#7220)
* xorg-server: Add several dependencies. * libepoxy: Add dependendies mesa and meson. * mesa: Add dependencies for hwrender. * mesa: undo some changes.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libepoxy/package.py7
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xorg-server/package.py81
3 files changed, 37 insertions, 53 deletions
diff --git a/var/spack/repos/builtin/packages/libepoxy/package.py b/var/spack/repos/builtin/packages/libepoxy/package.py
index 9f29a701a0..a8d077e928 100644
--- a/var/spack/repos/builtin/packages/libepoxy/package.py
+++ b/var/spack/repos/builtin/packages/libepoxy/package.py
@@ -29,6 +29,11 @@ class Libepoxy(AutotoolsPackage):
"""Epoxy is a library for handling OpenGL function pointer management for
you."""
homepage = "https://github.com/anholt/libepoxy"
- url = "https://github.com/anholt/libepoxy/releases/download/v1.3.1/libepoxy-1.3.1.tar.bz2"
+ url = "https://github.com/anholt/libepoxy/releases/download/1.4.3/libepoxy-1.4.3.tar.xz"
+ list_url = "https://github.com/anholt/libepoxy/releases"
+ version('1.4.3', 'af4c3ce0fb1143bdc4e43f85695a9bed')
version('1.3.1', '96f6620a9b005a503e7b44b0b528287d')
+
+ depends_on('meson')
+ depends_on('mesa')
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py
index 2912f6c789..09ed462ab2 100644
--- a/var/spack/repos/builtin/packages/mesa/package.py
+++ b/var/spack/repos/builtin/packages/mesa/package.py
@@ -90,6 +90,8 @@ class Mesa(AutotoolsPackage):
depends_on('llvm@:3.9.1+link_dylib', when='@13:13.99+llvm')
depends_on('llvm+link_dylib', when='+llvm')
depends_on('libelf', when='+llvm')
+ depends_on('damageproto', when='+hwrender')
+ depends_on('fixesproto', when='+hwrender')
def url_for_version(self, version):
"""Handle Mesa version-based custom URLs."""
diff --git a/var/spack/repos/builtin/packages/xorg-server/package.py b/var/spack/repos/builtin/packages/xorg-server/package.py
index 0b3994943d..883536a587 100644
--- a/var/spack/repos/builtin/packages/xorg-server/package.py
+++ b/var/spack/repos/builtin/packages/xorg-server/package.py
@@ -39,7 +39,7 @@ class XorgServer(AutotoolsPackage):
depends_on('libxshmfence@1.1:')
depends_on('libdrm@2.3.0:')
depends_on('libx11')
- # depends_on('gl@9.2.0:')
+ depends_on('mesa+hwrender', type='build')
depends_on('dri2proto@2.8:', type='build')
depends_on('dri3proto@1.0:', type='build')
@@ -49,54 +49,31 @@ class XorgServer(AutotoolsPackage):
depends_on('bison', type='build')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
-
- # TODO: add missing dependencies
- # $LIBSELINUX $REQUIRED_MODULES $REQUIRED_LIBS
- # $LIBPCIACCESS $DGAPROTO $XORG_MODULES epoxy xdmcp xau xfixes x11-xcb
- # xcb-aux xcb-image xcb-ewmh xcb-icccm $WINDOWSWMPROTO windowsdriproto
- # khronos-opengl-registry
- # $APPLEWMPROTO $LIBAPPLEWM xfixes $LIBDMX $LIBXEXT $LIBDMX xmu $LIBXEXT
- # $LIBDMX $LIBXI $LIBXEXT $LIBXTST $LIBXEXT xres $LIBXEXT $LIBXEXT
- # $XEPHYR_REQUIRED_LIBS
-
- # VIDEOPROTO="videoproto"
- # COMPOSITEPROTO="compositeproto >= 0.4"
- # RECORDPROTO="recordproto >= 1.13.99.1"
- # SCRNSAVERPROTO="scrnsaverproto >= 1.1"
- # RESOURCEPROTO="resourceproto >= 1.2.0"
- # DRIPROTO="xf86driproto >= 2.1.0"
- # XINERAMAPROTO="xineramaproto"
- # BIGFONTPROTO="xf86bigfontproto >= 1.2.0"
- # DGAPROTO="xf86dgaproto >= 2.0.99.1"
- # DMXPROTO="dmxproto >= 2.2.99.1"
- # VIDMODEPROTO="xf86vidmodeproto >= 2.2.99.1"
- # WINDOWSWMPROTO="windowswmproto"
- # APPLEWMPROTO="applewmproto >= 1.4"
-
- # XPROTO="xproto >= 7.0.28"
- # RANDRPROTO="randrproto >= 1.5.0"
- # RENDERPROTO="renderproto >= 0.11"
- # XEXTPROTO="xextproto >= 7.2.99.901"
- # INPUTPROTO="inputproto >= 2.3"
- # KBPROTO="kbproto >= 1.0.3"
- # FONTSPROTO="fontsproto >= 2.1.3"
- # FIXESPROTO="fixesproto >= 5.0"
- # DAMAGEPROTO="damageproto >= 1.1"
- # XCMISCPROTO="xcmiscproto >= 1.2.0"
- # BIGREQSPROTO="bigreqsproto >= 1.1.0"
- # XTRANS="xtrans >= 1.3.5"
- # PRESENTPROTO="presentproto >= 1.0"
-
- # LIBAPPLEWM="applewm >= 1.4"
- # LIBDMX="dmx >= 1.0.99.1"
- # LIBDRI="dri >= 7.8.0"
- # LIBEGL="egl"
- # LIBGBM="gbm >= 10.2.0"
- # LIBXEXT="xext >= 1.0.99.4"
- # LIBXFONT="xfont2 >= 2.0.0"
- # LIBXI="xi >= 1.2.99.1"
- # LIBXTST="xtst >= 1.0.99.2"
- # LIBPCIACCESS="pciaccess >= 0.12.901"
- # LIBUDEV="libudev >= 143"
- # LIBSELINUX="libselinux >= 2.0.86"
- # LIBDBUS="dbus-1 >= 1.0"
+ depends_on('fixesproto@5.0:')
+ depends_on('damageproto@1.1:')
+ depends_on('xcmiscproto@1.2.0:')
+ depends_on('xtrans@1.3.5:')
+ depends_on('bigreqsproto@1.1.0:')
+ depends_on('xproto@7.0.28:')
+ depends_on('randrproto@1.5.0:')
+ depends_on('renderproto@0.11:')
+ depends_on('xextproto@7.2.99.901:')
+ depends_on('inputproto@2.3:')
+ depends_on('kbproto@1.0.3:')
+ depends_on('fontsproto@2.1.3:')
+ depends_on('pixman@0.27.2:')
+ depends_on('videoproto')
+ depends_on('compositeproto@0.4:')
+ depends_on('recordproto@1.13.99.1:')
+ depends_on('scrnsaverproto@1.1:')
+ depends_on('resourceproto@1.2.0:')
+ depends_on('xf86driproto@2.1.0:')
+ depends_on('glproto@1.4.17:')
+ depends_on('presentproto@1.0:')
+ depends_on('xineramaproto')
+ depends_on('libxkbfile')
+ depends_on('libxfont2')
+ depends_on('libxext')
+ depends_on('libxdamage')
+ depends_on('libxfixes')
+ depends_on('libepoxy')