JasPer/3.0.4-cpeGNU-22.08 (JasPer-3.0.4-cpeGNU-22.08.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider JasPer/3.0.4-cpeGNU-22.08
.
EasyConfig:
# NOTE: Be careful when building this on a node that has OpenGL support.
# CMake configure process detects this so it may use those libraries in
# in that case.
easyblock = 'CMakeMake'
local_libjpegturbo_version = '2.1.3' # https://sourceforge.net/projects/libjpeg-turbo/files/
local_JasPer_version = '3.0.4' # http://www.ece.uvic.ca/~frodo/jasper/#download
name = 'JasPer'
version = local_JasPer_version
homepage = 'http://www.ece.uvic.ca/~frodo/jasper/'
whatis = [
'Description: Open-source software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1)',
'The module contains both command line tools and shared libraries.',
]
description = """
The JasPer Project is an open-source initiative to provide a free software-based
reference implementation of the codec specified in the JPEG-2000 Part-1 standard
(i.e., ISO/IEC 15444-1).
The JasPer software is written in the C programming language.
The JasPer software has been included in the JPEG-2000 Part-5 standard (i.e.,
ISO/IEC 15444-5), as an official reference implementation of the JPEG-2000
Part-1 codec. This software has also been incorporated into numerous other
software projects (some commercial and some non-commercial).
"""
usage = """
The following command line utilities support the --help option:
+ imgcmp: Image comparison utility
+ imginfo: Displays information about an image
+ jasper: File format converter specialized in JPEG-2000 encoding
More information on the library is available in the Software Reference Manual.
"""
docurls = [
'JasPer Software Reference Manual: http://www.ece.uvic.ca/~frodo/jasper/jasper.pdf',
'Man pages and --help option for the command line tools imgcmp, imginfo and jasper',
]
toolchain = {'name': 'cpeGNU', 'version': '22.08'}
toolchainopts = {'pic': True}
github_account = 'jasper-software'
sources = {
'download_filename': 'version-%(version)s.tar.gz',
'filename': SOURCELOWER_TAR_GZ,
'source_urls': [GITHUB_SOURCE]
}
checksums = ['d2c88b56a8a6d0b06cd6450911c7b3f2de2ab54f3732657f6b29f1fb23f48e50']
separate_build_dir = True
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
]
dependencies = [
('libjpeg-turbo', local_libjpegturbo_version),
]
configopts = '-DJAS_ENABLE_DOC=0 ' # No PDFLaTeX on our systems.
configopts += '-DJAS_ENABLE_OPENGL=0 '
configopts += '-DJAS_ENABLE_LIBJPEG=1 '
# Checked the other options, they were mostly for debugging.
sanity_check_paths = {
'files': ["bin/jasper", "lib64/libjasper.so"],
'dirs' : ["include"],
}
moduleclass = 'vis'