X11-20170805-GCCcore-6.4.0.eb 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. easyblock = 'Bundle'
  2. name = 'X11'
  3. version = '20170805'
  4. homepage = 'https://www.x.org'
  5. description = """
  6. The X Window System (X11) is a windowing system for bitmap displays
  7. """
  8. toolchain = {'name': 'GCCcore', 'version': '6.4.0'}
  9. source_urls = [
  10. XORG_LIB_SOURCE,
  11. XORG_PROTO_SOURCE,
  12. 'http://xcb.freedesktop.org/dist/',
  13. 'http://xkbcommon.org/download/',
  14. 'http://cgit.freedesktop.org/xorg/util/macros/snapshot',
  15. ]
  16. builddependencies = [
  17. ('Autotools', '20170619'),
  18. # use same binutils version that was used when building GCCcore toolchain
  19. ('binutils', '2.28', '', True),
  20. ('Bison', '3.0.4'),
  21. ('gettext', '0.19.8.1'),
  22. ('pkg-config', '0.29.2'),
  23. ]
  24. dependencies = [
  25. ('bzip2', '1.0.6'),
  26. ('fontconfig', '2.12.4'),
  27. ('freetype', '2.8'),
  28. ('zlib', '1.2.11'),
  29. ]
  30. preconfigopts = """
  31. if [ ! -f configure ]; then
  32. ./autogen.sh
  33. fi
  34. """
  35. default_easyblock = 'ConfigureMake'
  36. common_specs = {
  37. 'sources': [SOURCE_TAR_GZ],
  38. 'start_dir': '%(name)s-%(version)s',
  39. }
  40. components = [
  41. ('xorg-macros', '1.19.1', { # 2017-01-29
  42. 'sources': ['util-macros-%(version)s.tar.gz'],
  43. 'start_dir': 'util-macros-%(version)s',
  44. }),
  45. ('libpthread-stubs', '0.4', common_specs), # 2017-03-14
  46. ('bigreqsproto', '1.1.2', common_specs), # 2012-03-23
  47. ('compositeproto', '0.4.2', common_specs), # 2010-10-30
  48. ('damageproto', '1.2.1', common_specs), # 2010-10-30
  49. ('dmxproto', '2.3.1', common_specs), # 2011-01-06
  50. ('dri2proto', '2.8', common_specs), # 2012-07-11
  51. ('dri3proto', '1.0', common_specs), # 2013-11-01
  52. ('fixesproto', '5.0', common_specs), # 2011-03-08
  53. ('fontsproto', '2.1.3', common_specs), # 2014-04-14
  54. ('glproto', '1.4.17', common_specs), # 2013-12-10
  55. ('inputproto', '2.3.2', common_specs), # 2016-04-04
  56. ('kbproto', '1.0.7', common_specs), # 2015-05-01
  57. ('presentproto', '1.1', common_specs), # 2017-01-26
  58. ('randrproto', '1.5.0', common_specs), # 2015-05-17
  59. ('recordproto', '1.14.2', common_specs), # 2012-03-23
  60. ('renderproto', '0.11.1', common_specs), # 2010-08-10
  61. ('resourceproto', '1.2.0', common_specs), # 2011-05-28
  62. ('scrnsaverproto', '1.2.2', common_specs), # 2012-03-23
  63. ('videoproto', '2.3.3', common_specs), # 2016-03-11
  64. ('xcmiscproto', '1.2.2', common_specs), # 2012-03-23
  65. ('xextproto', '7.3.0', common_specs), # 2013-12-27
  66. ('xf86bigfontproto', '1.2.0', common_specs), # 2009-08-27
  67. ('xf86dgaproto', '2.1', common_specs), # 2009-10-01
  68. ('xf86driproto', '2.1.1', common_specs), # 2011-01-06
  69. ('xf86vidmodeproto', '2.3.1', common_specs), # 2011-01-06
  70. ('xineramaproto', '1.2.1', common_specs), # 2011-01-06
  71. ('xproto', '7.0.31', common_specs), # 2016-09-23
  72. ('libXau', '1.0.8', common_specs), # 2013-05-24
  73. ('libXdmcp', '1.1.2', common_specs), # 2015-03-21
  74. ('xcb-proto', '1.12', common_specs), # 2016-05-18
  75. ('libxcb', '1.12', common_specs), # 2016-05-18
  76. ('xtrans', '1.3.5', common_specs), # 2014-09-22
  77. ('libxkbcommon', '0.7.2', { # 2017-08-04
  78. 'sources': ['libxkbcommon-%(version)s.tar.xz'],
  79. 'start_dir': 'libxkbcommon-%(version)s',
  80. }),
  81. ('libX11', '1.6.5', common_specs), # 2017-02-26
  82. ('libXext', '1.3.3', common_specs), # 2014-07-24
  83. ('libFS', '1.0.7', common_specs), # 2015-05-01
  84. ('libICE', '1.0.9', common_specs), # 2014-06-07
  85. ('libSM', '1.2.2', common_specs), # 2013-09-08
  86. ('libXScrnSaver', '1.2.2', common_specs), # 2012-03-08
  87. ('libXt', '1.1.5', common_specs), # 2015-05-01
  88. ('libXmu', '1.1.2', common_specs), # 2013-09-08
  89. ('libXpm', '3.5.12', common_specs), # 2016-12-15
  90. ('libXaw', '1.0.13', common_specs), # 2015-05-01
  91. ('libXfixes', '5.0.3', common_specs), # 2016-10-04
  92. ('libXcomposite', '0.4.4', common_specs), # 2013-01-03
  93. ('libXrender', '0.9.10', common_specs), # 2016-10-04
  94. ('libXcursor', '1.1.14', common_specs), # 2013-05-30
  95. ('libXdamage', '1.1.4', common_specs), # 2013-01-03
  96. ('libfontenc', '1.1.3', common_specs), # 2015-05-01
  97. ('libXfont', '1.5.2', common_specs), # 2016-08-31
  98. ('libXfont2', '2.0.1', common_specs), # 2015-12-11
  99. ('libXft', '2.3.2', common_specs), # 2014-06-06
  100. ('libXi', '1.7.9', common_specs), # 2017-01-23
  101. ('libXinerama', '1.1.3', common_specs), # 2013-05-31
  102. ('libXrandr', '1.5.1', common_specs), # 2016-10-04
  103. ('libXres', '1.0.7', common_specs), # 2013-05-31
  104. ('libXtst', '1.2.3', common_specs), # 2016-10-04
  105. ('libXv', '1.0.11', common_specs), # 2016-10-04
  106. ('libXvMC', '1.0.10', common_specs), # 2016-10-04
  107. ('libXxf86dga', '1.1.4', common_specs), # 2013-05-31
  108. ('libXxf86vm', '1.1.4', common_specs), # 2015-02-24
  109. ('libdmx', '1.1.3', common_specs), # 2013-05-28
  110. ('libpciaccess', '0.13.5', common_specs), # 2017-04-04
  111. ('libxkbfile', '1.0.9', common_specs), # 2015-05-01
  112. ('libxshmfence', '1.2', common_specs), # 2015-01-02
  113. ('xcb-util', '0.4.0', common_specs), # 2014-10-15
  114. ('xcb-util-image', '0.4.0', common_specs), # 2014-10-15
  115. ('xcb-util-keysyms', '0.4.0', common_specs), # 2014-10-01
  116. ('xcb-util-renderutil', '0.3.9', common_specs), # 2014-06-13
  117. ('xcb-util-wm', '0.4.1', common_specs), # 2014-02-19
  118. ('xcb-util-cursor', '0.1.3', common_specs), # 2016-05-12
  119. ]
  120. # Python is required for xcb-proto
  121. allow_system_deps = [('Python', SYS_PYTHON_VERSION)]
  122. pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[0:2])
  123. # specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module
  124. full_sanity_check = True
  125. sanity_check_paths = {
  126. 'files': ['include/X11/Xlib.h', 'include/X11/Xutil.h'],
  127. 'dirs': ['include/GL', 'include/X11', 'include/X11/extensions', 'lib',
  128. 'lib/python%s/site-packages/xcbgen' % pyshortver, 'lib/pkgconfig', 'share/pkgconfig'],
  129. }
  130. moduleclass = 'vis'