This commit is contained in:
Easy Build 2017-06-26 16:11:59 +02:00
parent 40e9799c49
commit 8e04ff06ce
6 changed files with 280 additions and 0 deletions

View File

@ -0,0 +1,24 @@
easyblock = 'ConfigureMake'
name = 'intltool'
version = '0.51.0'
homepage = 'http://freedesktop.org/wiki/Software/intltool/'
description = """intltool is a set of tools to centralize translation of
many different file formats using GNU gettext-compatible PO files."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://launchpad.net/intltool/trunk/%(version)s/+download/']
sources = [SOURCE_TAR_GZ]
dependencies = [
('XML-Parser', '2.44'),
]
sanity_check_paths = {
'files': ['bin/intltool%s' % x for x in ['-extract', '-merge', '-prepare', '-update', 'ize']],
'dirs': []
}
moduleclass = 'devel'

View File

@ -0,0 +1,35 @@
easyblock = 'ConfigureMake'
name = 'XKeyboardConfig'
version = '2.21'
homepage = 'http://www.freedesktop.org/wiki/Software/XKeyboardConfig/'
description = """The non-arch keyboard configuration database for X Window.
The goal is to provide the consistent, well-structured,
frequently released open source of X keyboard configuration data
for X Window System implementations (free, open source and commercial).
The project is targeted to XKB-based systems."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://ftp.x.org/pub/individual/data/xkeyboard-config/']
sources = ['xkeyboard-config-%(version)s.tar.bz2']
builddependencies = [
('X11', '20170314'),
('libX11', '1.6.3'),
]
dependencies = [
('intltool', '0.51.0')
]
# see http://www.linuxfromscratch.org/blfs/view/svn/x/xkeyboard-config.html
configopts = '--with-xkb-rules-symlink=xorg '
sanity_check_paths = {
'files': [],
'dirs': ['share/X11/xkb']
}
moduleclass = 'devel'

View File

@ -0,0 +1,27 @@
easyblock = 'PerlModule'
name = 'XML-Parser'
version = '2.44'
versionsuffix = '-Perl-%(perlver)s'
homepage = 'http://search.cpan.org/~toddr/XML-Parser-2.41/'
description = """This is a Perl extension interface to James Clark's XML parser, expat."""
toolchain = {'name': 'foss', 'version': '2016a'}
source_urls = ['http://cpan.metacpan.org/authors/id/T/TO/TODDR/']
sources = [SOURCE_TAR_GZ]
dependencies = [
('Perl', '5.22.1'),
('expat', '2.1.1')
]
options = {'modulename': 'XML::Parser'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/perl5/site_perl/%(perlver)s/x86_64-linux-thread-multi/XML'],
}
moduleclass = 'data'

View File

@ -0,0 +1,25 @@
easyblock = 'PerlModule'
name = 'XML-Parser'
version = '2.44'
homepage = 'http://search.cpan.org/~toddr/XML-Parser-2.41/'
description = """This is a Perl extension interface to James Clark's XML parser, expat."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://cpan.metacpan.org/authors/id/T/TO/TODDR/']
sources = [SOURCE_TAR_GZ]
dependencies = [
('expat', '2.2.0')
]
options = {'modulename': 'XML::Parser'}
sanity_check_paths = {
'files': [],
'dirs': ['lib64/perl5/XML'],
}
moduleclass = 'data'

View File

@ -0,0 +1,137 @@
easyblock = 'Bundle'
name = 'xorg-fonts'
version = '20170314'
homepage = 'https://www.x.org'
description = "The Xorg font packages provide some scalable fonts and supporting packages for Xorg applications."
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [
'https://www.x.org/pub/individual/font/',
]
dependencies = [
('bzip2', '1.0.6'),
('fontconfig', '2.12.1', '-libpng-1.6.29'),
('freetype', '2.7.1', '-libpng-1.6.29'),
('zlib', '1.2.11'),
]
builddependencies = [
('Autotools', '20150215'),
('Bison', '3.0.4'),
('gettext', '0.19.8.1'),
('pkg-config', '0.29.2'),
# use same binutils version that was used when building GCCcore toolchain
('binutils', '2.27', '', True),
]
default_easyblock = 'ConfigureMake'
common_specs = {
'sources': [SOURCE_TAR_GZ],
'start_dir': '%(name)s-%(version)s',
}
components = [
('xorg-macros', '1.19.1', { # 2017-01-29
'sources': ['util-macros-%(version)s.tar.gz'],
'start_dir': 'util-macros-%(version)s',
}),
('libpthread-stubs', '0.4', common_specs), # 2017-03-14
('bigreqsproto', '1.1.2', common_specs), # 2012-03-23
('compositeproto', '0.4.2', common_specs), # 2010-10-30
('damageproto', '1.2.1', common_specs), # 2010-10-30
('dmxproto', '2.3.1', common_specs), # 2011-01-06
('dri2proto', '2.8', common_specs), # 2012-07-11
('dri3proto', '1.0', common_specs), # 2013-11-01
('fixesproto', '5.0', common_specs), # 2011-03-08
('fontsproto', '2.1.3', common_specs), # 2014-04-14
('glproto', '1.4.17', common_specs), # 2013-12-10
('inputproto', '2.3.2', common_specs), # 2016-04-04
('kbproto', '1.0.7', common_specs), # 2015-05-01
('presentproto', '1.1', common_specs), # 2017-01-26
('randrproto', '1.5.0', common_specs), # 2015-05-17
('recordproto', '1.14.2', common_specs), # 2012-03-23
('renderproto', '0.11.1', common_specs), # 2010-08-10
('resourceproto', '1.2.0', common_specs), # 2011-05-28
('scrnsaverproto', '1.2.2', common_specs), # 2012-03-23
('videoproto', '2.3.3', common_specs), # 2016-03-11
('xcmiscproto', '1.2.2', common_specs), # 2012-03-23
('xextproto', '7.3.0', common_specs), # 2013-12-27
('xf86bigfontproto', '1.2.0', common_specs), # 2009-08-27
('xf86dgaproto', '2.1', common_specs), # 2009-10-01
('xf86driproto', '2.1.1', common_specs), # 2011-01-06
('xf86vidmodeproto', '2.3.1', common_specs), # 2011-01-06
('xineramaproto', '1.2.1', common_specs), # 2011-01-06
('xproto', '7.0.31', common_specs), # 2016-09-23
('libXau', '1.0.8', common_specs), # 2013-05-24
('libXdmcp', '1.1.2', common_specs), # 2015-03-21
('xcb-proto', '1.12', common_specs), # 2016-05-18
('libxcb', '1.12', common_specs), # 2016-05-18
('xtrans', '1.3.5', common_specs), # 2014-09-22
('libxkbcommon', '0.7.1', { # 2017-01-18
'sources': ['libxkbcommon-%(version)s.tar.xz'],
'start_dir': 'libxkbcommon-%(version)s',
}),
('libX11', '1.6.5', common_specs), # 2017-02-26
('libXext', '1.3.3', common_specs), # 2014-07-24
('libFS', '1.0.7', common_specs), # 2015-05-01
('libICE', '1.0.9', common_specs), # 2014-06-07
('libSM', '1.2.2', common_specs), # 2013-09-08
('libXScrnSaver', '1.2.2', common_specs), # 2012-03-08
('libXt', '1.1.5', common_specs), # 2015-05-01
('libXmu', '1.1.2', common_specs), # 2013-09-08
('libXpm', '3.5.12', common_specs), # 2016-12-15
('libXaw', '1.0.13', common_specs), # 2015-05-01
('libXfixes', '5.0.3', common_specs), # 2016-10-04
('libXcomposite', '0.4.4', common_specs), # 2013-01-03
('libXrender', '0.9.10', common_specs), # 2016-10-04
('libXcursor', '1.1.14', common_specs), # 2013-05-30
('libXdamage', '1.1.4', common_specs), # 2013-01-03
('libfontenc', '1.1.3', common_specs), # 2015-05-01
('libXfont', '1.5.2', common_specs), # 2016-08-31
('libXfont2', '2.0.1', common_specs), # 2015-12-11
('libXft', '2.3.2', common_specs), # 2014-06-06
('libXi', '1.7.9', common_specs), # 2017-01-23
('libXinerama', '1.1.3', common_specs), # 2013-05-31
('libXrandr', '1.5.1', common_specs), # 2016-10-04
('libXres', '1.0.7', common_specs), # 2013-05-31
('libXtst', '1.2.3', common_specs), # 2016-10-04
('libXv', '1.0.11', common_specs), # 2016-10-04
('libXvMC', '1.0.10', common_specs), # 2016-10-04
('libXxf86dga', '1.1.4', common_specs), # 2013-05-31
('libXxf86vm', '1.1.4', common_specs), # 2015-02-24
('libdmx', '1.1.3', common_specs), # 2013-05-28
('libpciaccess', '0.13.4', common_specs), # 2015-05-01
('libxkbfile', '1.0.9', common_specs), # 2015-05-01
('libxshmfence', '1.2', common_specs), # 2015-01-02
('xcb-util', '0.4.0', common_specs), # 2014-10-15
('xcb-util-image', '0.4.0', common_specs), # 2014-10-15
('xcb-util-keysyms', '0.4.0', common_specs), # 2014-10-01
('xcb-util-renderutil', '0.3.9', common_specs), # 2014-06-13
('xcb-util-wm', '0.4.1', common_specs), # 2014-02-19
('xcb-util-cursor', '0.1.3', common_specs), # 2016-05-12
]
# Python is required for xcb-proto
allow_system_deps = [('Python', SYS_PYTHON_VERSION)]
pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[0:2])
preconfigopts = "if [ ! -f configure ]; then ./autogen.sh; fi && "
#xkbcommon configuration dir
postinstallcmds = [
'ln -s %(installdir)s/share/xcb %(installdir)s/share/X11/xkb'
]
# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module
full_sanity_check = True
sanity_check_paths = {
'files': ['include/X11/Xlib.h', 'include/X11/Xutil.h'],
'dirs': ['include/GL', 'include/X11', 'include/X11/extensions', 'lib',
'lib/python%s/site-packages/xcbgen' % pyshortver, 'lib/pkgconfig', 'share/pkgconfig'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,32 @@
easyblock = 'ConfigureMake'
name = 'xorg-server'
version = '1.19.3'
homepage = "http://www.x.org/wiki/"
description = "The Xorg Server is the core of the X Window system."
toolchain = {'name': 'intel', 'version': '2017a'}
sources = [SOURCE_TAR_GZ]
source_urls = ['https://www.x.org/archive/individual/xserver/']
configopts = '--disable-glamor --enable-suid-wrapper --disable-systemd-logind'
#builddependencies = [
# ('xorg-macros', '1.19.1'),
#]
dependencies = [
('Mesa', '17.0.2'),
('X11', '20170314', '', True),
('nettle', '3.3'),
('XKeyboardConfig', '2.21', '', True)
]
sanity_check_paths = {
'files': ['bin/Xorg', 'bin/Xvfb', 'bin/Xnest'],
'dirs': ['bin', 'lib', 'include'],
}
moduleclass = 'vis'