mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-10 17:02:11 +01:00

new file: a/Autoconf/Autoconf-2.71-foss-2022b.eb new file: a/Automake/Automake-1.15.eb new file: a/Automake/Automake-1.16.eb new file: a/Autotools/Autotools-20180311-foss-2022b.eb new file: b/Boost/Boost-1.77.0-foss-2022b.eb new file: c/CMake/CMake-3.20.1-foss-2022b.eb new file: c/cURL/cURL-7.76.0-foss-2022b.eb new file: f/Firefox/Firefox-127.0.1.eb modified: f/Firefox/Firefox-44.0.2.eb new file: g/GCC/GCC-13.2.0-foss-2022b.eb new file: g/GCCcore/GCCcore-13.2.0-foss-2022b.eb modified: g/GMP/GMP-6.1.2.eb new file: h/HDF5/HDF5-1.14.0-iimpi-2023a.eb new file: j/JupyterLab/JupyterLab-4.2.0-GCCcore-13.2.0.eb new file: j/jupyter-server/jupyter-server-2.14.0-GCCcore-13.2.0.eb modified: l/libffi/libffi-3.2.1.eb modified: l/libreadline/libreadline-8.0.eb new file: l/libxc/libxc-6.2.2-NVHPC-24.3-CUDA-12.3.0.eb new file: n/ncurses/ncurses-6.2-foss-2022b.eb new file: o/OpenVDB/OpenVDB-11.0.0-foss-2022b-Python-3.10.8.eb new file: o/OpenVDB/OpenVDB-11.0.0-foss-2022b-Python-3.9.9.eb new file: o/OpenVDB/OpenVDB-11.0.0-foss-2022b.eb new file: p/Python/Python-3.11.5-foss-2022b.eb new file: p/Python/Python-3.9.9.eb modified: s/SQLite/SQLite-3.27.2.eb modified: t/Tcl/Tcl-8.6.9.eb new file: t/TurboVNC/TurboVNC-3.1.1-GCCcore-13.2.0.eb new file: z/zlib/zlib-1.2.10-foss-2022b.eb new file: z/zlib/zlib-1.2.11-foss-2022b.eb
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
# IT4Innovations
|
|
# LK 2024
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'TurboVNC'
|
|
version = '3.1.1'
|
|
|
|
homepage = 'https://www.turbovnc.org'
|
|
description = """TurboVNC is a derivative of VNC (Virtual Network Computing) that is tuned to provide
|
|
peak performance for 3D and video workloads."""
|
|
|
|
toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
|
|
|
|
source_urls = ['https://github.com/TurboVNC/turbovnc/archive']
|
|
sources = ['%(version)s.tar.gz']
|
|
checksums = [
|
|
'834392e985cf29a6d7d3b21b6b95b8249c1390f2c4bbf716e03945ca9384bbc8', # 3.0.1.tar.gz
|
|
]
|
|
|
|
builddependencies = [
|
|
('CMake', '3.27.6'),
|
|
('binutils', '2.40'),
|
|
]
|
|
|
|
dependencies = [
|
|
('Java', '11', '', SYSTEM),
|
|
('X11', '20231019'),
|
|
('pixman', '0.42.2'),
|
|
('libjpeg-turbo', '3.0.1'),
|
|
('Mesa', '23.1.9'),
|
|
('libGLU', '9.0.3'),
|
|
('libglvnd', '1.7.0'),
|
|
]
|
|
|
|
configopts = "-DTVNC_BUILDJAVA=0 -DTVNC_SYSTEMX11=1 "
|
|
configopts += "-DX11_X11_LIB=$EBROOTX11/lib/libX11.%s " % SHLIB_EXT
|
|
configopts += "-DX11_Xau_LIB=$EBROOTX11/lib/libXau.%s " % SHLIB_EXT
|
|
configopts += "-DX11_SM_LIB=$EBROOTX11/lib/libSM.%s " % SHLIB_EXT
|
|
configopts += "-DX11_ICE_LIB=$EBROOTX11/lib/libICE.%s " % SHLIB_EXT
|
|
configopts += "-DX11_Pixman_LIB=$EBROOTPIXMAN/lib/libpixman-1.%s.0 " % SHLIB_EXT
|
|
configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT
|
|
configopts += "-DOPENGL_egl_LIBRARY=$EBROOTLIBGLVND/lib/libEGL.%s " % SHLIB_EXT
|
|
configopts += "-DOPENGL_opengl_LIBRARY=$EBROOTLIBGLVND/lib/libOpenGL.%s " % SHLIB_EXT
|
|
configopts += "-DOPENGL_glx_LIBRARY=$EBROOTLIBGLVND/lib/libGLX.%s " % SHLIB_EXT
|
|
|
|
# if installdir starts with /opt, i.e. /opt/xxx, CMake will set SYSCONFDIR to /etc/opt/xxx instead of /opt/xxx/etc
|
|
# https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
|
|
# the solution is to define CMAKE_INSTALL_SYSCONFDIR explicitly
|
|
configopts += "-DCMAKE_INSTALL_SYSCONFDIR=%(installdir)s/etc "
|
|
|
|
# remove etc/turbovncserver-security.conf, to avoid errors like:
|
|
# (EE) Fatal server error:
|
|
# (EE) ERROR: .../TurboVNC/2.2.3-GCCcore-8.2.0/etc/turbovncserver-security.conf must be owned by you or by root
|
|
postinstallcmds = ["rm -rf %(installdir)s/etc/turbovncserver-security.conf"]
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/vncserver', 'bin/vncpasswd', 'bin/Xvnc'],
|
|
'dirs': [],
|
|
}
|
|
|
|
moduleclass = 'vis'
|