Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'

name = 'intltool'
version = '0.51.0'
versionsuffix = '-Perl-5.26.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': 'GCCcore', 'version': '6.4.0'}

source_urls = ['http://launchpad.net/intltool/trunk/%(version)s/+download/']
sources = [SOURCE_TAR_GZ]
patches = ['intltool-%(version)s_fix-Perl-compat.patch']
checksums = [
'67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd', # intltool-0.51.0.tar.gz
'e839f7228b2b92301831bca88ed0bc7bce5dbf862568f1644642988204903db6', # intltool-0.51.0_fix-Perl-compat.patch
]

builddependencies = [
('binutils', '2.28'),
]

dependencies = [
('XML-Parser', '2.44_01', versionsuffix),
]

sanity_check_paths = {
'files': ['bin/intltool%s' % x for x in ['-extract', '-merge', '-prepare', '-update', 'ize']],
'dirs': []
}

moduleclass = 'devel'
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
fix for "Unescaped left brace in regex is illegal here in regex"
see https://github.com/Alexpux/MSYS2-packages/blob/master/intltool/perl-5.22-compatibility.patch
--- intltool-0.51.0.orig/intltool-update.in 2015-03-09 02:39:54.000000000 +0100
+++ intltool-0.51.0.orig/intltool-update.in 2015-06-19 01:52:07.171228154 +0200
@@ -1062,7 +1062,7 @@
}
}

- if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/)
+ if ($str =~ /^(.*)\$\{?([A-Z_]+)}?(.*)$/)
{
my $rest = $3;
my $untouched = $1;
@@ -1190,10 +1190,10 @@
$name =~ s/\(+$//g;
$version =~ s/\(+$//g;

- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
+ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
+ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
+ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
+ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
}

if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m)
@@ -1219,11 +1219,11 @@
$version =~ s/\(+$//g;
$bugurl =~ s/\(+$//g if (defined $bugurl);

- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
- $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/);
+ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
+ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
+ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
+ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
+ $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+}?/);
}

# \s makes this not work, why?
136 changes: 136 additions & 0 deletions easybuild/easyconfigs/x/X11/X11-20171023-GCCcore-6.4.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
easyblock = 'Bundle'

name = 'X11'
version = '20171023'

homepage = 'https://www.x.org'
description = "The X Window System (X11) is a windowing system for bitmap displays"

toolchain = {'name': 'GCCcore', 'version': '6.4.0'}

source_urls = [
XORG_LIB_SOURCE,
XORG_PROTO_SOURCE,
'http://xcb.freedesktop.org/dist/',
'http://xkbcommon.org/download/',
'http://cgit.freedesktop.org/xorg/util/macros/snapshot',
XORG_DATA_SOURCE + '/xkeyboard-config',
]

dependencies = [
('bzip2', '1.0.6'),
('fontconfig', '2.12.4'),
('freetype', '2.8'),
('zlib', '1.2.11'),
]
builddependencies = [
# use same binutils version that was used when building GCCcore toolchain
('binutils', '2.28'),
('Autotools', '20170619'),
('Bison', '3.0.4'),
('gettext', '0.19.8.1'),
('pkg-config', '0.29.2'),
('intltool', '0.51.0', '-Perl-5.26.0')
]

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.2', { # 2017-08-04
'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.3', common_specs), # 2017-10-19
('libXfont2', '2.0.2', common_specs), # 2017-10-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.2.0', common_specs), # 2017-10-11
('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.14', common_specs), # 2017-10-23
('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
('xkeyboard-config', '2.22', common_specs), # 2017-10-04
]

preconfigopts = "if [ ! -f configure ]; then ./autogen.sh; fi && "

# 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/pkgconfig',
'share/pkgconfig', 'share/X11/xkb'],
}

moduleclass = 'vis'