From 916fd3e228816159d495486db8a39a47dd821102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Wed, 11 Mar 2020 09:16:08 +0100 Subject: [PATCH] new file: d/DBus/DBus-1.13.8.eb new file: n/NSPR/NSPR-4.25.eb new file: n/NSS/NSS-3.51.eb modified: q/Qt5/Qt5-5.13.1.eb --- d/DBus/DBus-1.13.8.eb | 41 +++++++++++++++++++++++++++++++++++++++++ n/NSPR/NSPR-4.25.eb | 27 +++++++++++++++++++++++++++ n/NSS/NSS-3.51.eb | 41 +++++++++++++++++++++++++++++++++++++++++ q/Qt5/Qt5-5.13.1.eb | 17 +++++++++++++---- 4 files changed, 122 insertions(+), 4 deletions(-) create mode 100644 d/DBus/DBus-1.13.8.eb create mode 100644 n/NSPR/NSPR-4.25.eb create mode 100644 n/NSS/NSS-3.51.eb diff --git a/d/DBus/DBus-1.13.8.eb b/d/DBus/DBus-1.13.8.eb new file mode 100644 index 00000000..2a34687a --- /dev/null +++ b/d/DBus/DBus-1.13.8.eb @@ -0,0 +1,41 @@ +# IT4Innovations 2020 + +easyblock = 'ConfigureMake' + +name = 'DBus' +version = '1.13.8' + +homepage = 'http://dbus.freedesktop.org/' + +description = """ + D-Bus is a message bus system, a simple way for applications to talk + to one another. In addition to interprocess communication, D-Bus helps + coordinate process lifecycle; it makes it simple and reliable to code + a "single instance" application or daemon, and to launch applications + and daemons on demand when their services are needed. +""" + +toolchain = SYSTEM + +source_urls = ['http://dbus.freedesktop.org/releases/dbus'] +sources = [SOURCELOWER_TAR_XZ] + +builddependencies = [ + ('binutils', '2.27'), +] + +dependencies = [ + ('expat', '2.2.0'), +] + +configopts = '--without-systemdsystemunitdir' + +sanity_check_paths = { + 'files': ['bin/dbus-%s' % x for x in + ['cleanup-sockets', 'daemon', 'launch', 'monitor', + 'run-session', 'send', 'uuidgen']] + + ['lib/libdbus-1.%s' % x for x in ['a', SHLIB_EXT]], + 'dirs': ['include', 'share'], +} + +moduleclass = 'devel' diff --git a/n/NSPR/NSPR-4.25.eb b/n/NSPR/NSPR-4.25.eb new file mode 100644 index 00000000..2649567c --- /dev/null +++ b/n/NSPR/NSPR-4.25.eb @@ -0,0 +1,27 @@ +easyblock = 'ConfigureMake' + +name = 'NSPR' +version = '4.25' + +homepage = 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR' +description = """Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level + and libc-like functions.""" + +toolchain = SYSTEM + +source_urls = ['https://archive.mozilla.org/pub/nspr/releases/v%(version)s/src/'] +sources = [SOURCELOWER_TAR_GZ] + +builddependencies = [('binutils', '2.27')] + +configopts = "--disable-debug --enable-optimize --enable-64bit" + +sanity_check_paths = { + 'files': ['bin/nspr-config', 'lib/libnspr%(version_major)s.a', 'lib/libnspr%%(version_major)s.%s' % SHLIB_EXT, + 'lib/libplc%(version_major)s.a', 'lib/libplc%%(version_major)s.%s' % SHLIB_EXT, + 'lib/libplds%(version_major)s.a', 'lib/libplds%%(version_major)s.%s' % SHLIB_EXT, + 'lib/pkgconfig/nspr.pc'], + 'dirs': ['include/nspr'], +} + +moduleclass = 'lib' diff --git a/n/NSS/NSS-3.51.eb b/n/NSS/NSS-3.51.eb new file mode 100644 index 00000000..cfcb6223 --- /dev/null +++ b/n/NSS/NSS-3.51.eb @@ -0,0 +1,41 @@ +# IT4Innovations 2019 + +easyblock = 'MakeCp' + +name = 'NSS' +version = '3.51' + +homepage = 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS' +description = """Network Security Services (NSS) is a set of libraries designed to support cross-platform development + of security-enabled client and server applications.""" + +toolchain = SYSTEM + +source_urls = ['https://ftp.mozilla.org/pub/security/nss/releases/NSS_%(version_major)s_%(version_minor)s_RTM/src/'] +sources = [SOURCELOWER_TAR_GZ] +patches = ['NSS-3.39_pkgconfig.patch'] + +builddependencies = [('binutils', '2.27')] +dependencies = [ + ('NSPR', '4.25'), + ('zlib', '1.2.11'), +] + +# building in parallel fails +parallel = 1 + +# fix for not being able to find header files +buildopts = 'WARNING_CFLAGS="" BUILD_OPT=1 USE_64=1 CPATH="$EBROOTNSPR/include/nspr:$CPATH" && ' +# also install pkgconfig file (see patch) +buildopts += "cd config && make PREFIX=%(installdir)s BUILD_OPT=1 USE_64=1 && cd -" + +files_to_copy = ['../dist/Linux*.OBJ/*', (['../dist/public/*'], 'include')] + +sanity_check_paths = { + 'files': ['lib/libnss.a'], + 'dirs': ['bin', 'include/dbm', 'include/nss'], +} + +modextrapaths = {'CPATH': 'include/nss'} + +moduleclass = 'lib' diff --git a/q/Qt5/Qt5-5.13.1.eb b/q/Qt5/Qt5-5.13.1.eb index 1f8ae20c..4195cda5 100644 --- a/q/Qt5/Qt5-5.13.1.eb +++ b/q/Qt5/Qt5-5.13.1.eb @@ -25,20 +25,29 @@ checksums = [ '511ca9c0599ceb1989f73d8ceea9199c041512d3a26ee8c5fd870ead2c10cb63', # Qt5-5.13.1_fix-qmake-libdir.patch ] -builddependencies = [ - ('pkg-config', '0.29.2'), -] - # qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x) #configopts = '-sbkip qtgamepad' platform = 'linux-g++-64' +check_qtwebengine = True + +builddependencies = [ + ('pkg-config', '0.29.2'), + ('Bison', '3.3.2'), + ('flex', '2.6.4'), + ('Python', '2.7.13'), + ('Ninja', '1.9.0'), + ('gperf', '3.1'), +] + dependencies = [ ('GLib', '2.62.4'), ('libpng', '1.6.37'), ('X11', '20190717'), ('libGLU', '9.0.0'), ('Mesa', '18.3.1'), + ('NSS', '3.51'), + ('DBus', '1.13.8'), ] moduleclass = 'devel'