Skip to content
Snippets Groups Projects
Commit 473e1a0b authored by Alexandre Strube's avatar Alexandre Strube
Browse files

vips and dependencies

parent ca8b9657
No related branches found
No related tags found
No related merge requests found
easyblock = 'ConfigureMake'
name = 'GTK2'
version = '2.24.33'
homepage = 'https://www.gtk.org'
description = """
The GTK+ 2 package contains libraries used for creating graphical user interfaces for applications.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = ['https://ftp.gnome.org/pub/GNOME/sources/gtk+/%(version_major_minor)s']
sources = ['gtk+-%(version)s.tar.xz']
checksums = ['ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da']
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
('GObject-Introspection', '1.72.0'),
]
dependencies = [
('ATK', '2.38.0'),
('Gdk-Pixbuf', '2.42.8'),
('Pango', '1.50.7'),
]
configopts = "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility "
sanity_check_paths = {
'files': ['bin/gtk-update-icon-cache', 'lib/libgtk-x11-2.0.%s' % SHLIB_EXT],
'dirs': ['include/gtk-2.0'],
}
moduleclass = 'vis'
easyblock = 'ConfigureMake'
name = 'Ghostscript'
version = '9.56.1'
homepage = 'https://ghostscript.com'
description = """Ghostscript is a versatile processor for PostScript data with the ability to render PostScript to
different targets. It used to be part of the cups printing stack, but is no longer used for that."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'pic': True}
source_urls = [
'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%s/' % version.replace('.', ''),
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['1598b9a38659cce8448d42a73054b2f9cbfcc40a9b97eeec5f22d4d6cd1de8e6']
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
]
dependencies = [
('zlib', '1.2.12'),
('libpng', '1.6.37'),
('freetype', '2.12.1'),
('libjpeg-turbo', '2.1.3'),
('expat', '2.4.8'),
('GLib', '2.72.1'),
('cairo', '1.17.4'),
('LibTIFF', '4.3.0'),
('GTK2', '2.24.33'),
]
# Do not use local copies of zlib, jpeg, freetype, and png
preconfigopts = "mv zlib zlib.no && mv jpeg jpeg.no && mv freetype freetype.no && mv libpng libpng.no && "
preconfigopts += 'export LIBS="$LIBS -L$EBROOTZLIB/lib -lz" && '
configopts = "--with-system-libtiff --enable-dynamic"
# Avoid race condition in build if too much parallelism is used
maxparallel = 4
postinstallcmds = [
# build and install shared libs
"make so && make soinstall",
# install header files
"mkdir -p %(installdir)s/include/ghostscript",
"install -v -m644 base/*.h %(installdir)s/include/ghostscript",
"install -v -m644 psi/*.h %(installdir)s/include/ghostscript",
]
sanity_check_paths = {
'files': ['bin/gs', 'lib/libgs.%s' % SHLIB_EXT],
'dirs': ['lib/ghostscript', 'include/ghostscript', 'share/man'],
}
moduleclass = 'tools'
easyblock = 'ConfigureMake'
name = 'ImageMagick'
version = '7.1.0-37'
homepage = 'https://www.imagemagick.org/'
description = """ImageMagick is a software suite to create, edit, compose, or convert bitmap images"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = ['https://github.com/ImageMagick/ImageMagick/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['a54888a1a46dbb808705a3e6c6b5ecb93ee30189a8ae6ea0f02300a0ab0d0996']
dependencies = [
('bzip2', '1.0.8'),
('X11', '20220504'),
('Ghostscript', '9.56.1'),
('JasPer', '2.0.33'),
('libjpeg-turbo', '2.1.3'),
('LibTIFF', '4.3.0'),
('LittleCMS', '2.13.1'),
('Pango', '1.50.7'),
]
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
]
configopts = "--with-gslib --with-x"
sanity_check_paths = {
'files': [],
'dirs': ['bin', 'etc/%(name)s-%(version_major)s',
'include/%(name)s-%(version_major)s', 'lib', 'share'],
}
modextravars = {'MAGICK_HOME': '%(installdir)s'}
moduleclass = 'vis'
easyblock = 'ConfigureMake'
name = 'LittleCMS'
version = '2.13.1'
homepage = 'https://www.littlecms.com/'
description = """ Little CMS intends to be an OPEN SOURCE small-footprint color management engine,
with special focus on accuracy and performance. """
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = ['https://sourceforge.net/projects/lcms/files/lcms/%s/' % '.'.join(version.split('.')[:2])]
sources = ['lcms2-%(version)s.tar.gz']
checksums = ['d473e796e7b27c5af01bd6d1552d42b45b43457e7182ce9903f38bb748203b88']
builddependencies = [('binutils', '2.38')]
dependencies = [('libjpeg-turbo', '2.1.3')]
sanity_check_paths = {
'files': ['bin/jpgicc', 'bin/linkicc', 'bin/psicc', 'bin/transicc', 'include/lcms2.h', 'include/lcms2_plugin.h',
'lib/liblcms2.a', 'lib/liblcms2.%s' % SHLIB_EXT, 'lib/pkgconfig/lcms2.pc'],
'dirs': ['share/man'],
}
moduleclass = 'vis'
easyblock = 'ConfigureMake'
name = 'libvips'
version = '8.13.3'
homepage = 'https://libvips.github.io/libvips/'
description = """libvips is a demand-driven, horizontally threaded image processing library."""
toolchain = {'name': 'foss', 'version': '2022a'}
github_account = 'libvips'
source_urls = ['https://github.com/libvips/libvips/releases/download/v%(version)s']
sources = ['vips-%(version)s.tar.gz']
builddependencies = [
('pkgconf', '1.8.0'),
('binutils', '2.38'),
]
dependencies = [
('libpng', '1.6.37'),
('libjpeg-turbo', '2.1.3'),
('LibTIFF', '4.3.0'),
('giflib', '5.2.1'),
('FFTW', '3.3.10', '', ('GCC', '11.3.0')),
('GLib', '2.72.1'),
('expat', '2.4.8'),
('librsvg', '2.55.1'),
('ImageMagick', '7.1.0-37'),
('OpenSlide', '3.4.1', '-largefiles'),
]
sanity_check_paths = {
'files': ['bin/vips', 'bin/batch_image_convert', 'bin/vipsthumbnail',
'lib/libvips.%s' % SHLIB_EXT],
'dirs': ['include/vips']
}
moduleclass = 'vis'
easyblock = 'ConfigureMake'
name = 'OpenSlide'
version = '3.4.1'
versionsuffix = '-largefiles'
homepage = 'https://openslide.org/'
description = """OpenSlide is a C library that provides a simple interface to
read whole-slide images (also known as virtual slides)."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
patches = ['%(name)s-%(version)s_large_file_support.patch']
checksums = [
# v3.4.1.tar.gz
'a5d869916e370125421535dcce778b2ba625dc50d920aa4ca93bbaaa6a7b470c',
# %(name)s-%(version_major_minor)s.1_large_file_support.patch
'cb618053f4ae6c3ce37d1b8b0e4ef7c55fd17378776d13be4aa4efab91706b8c',
]
builddependencies = [
('Autotools', '20220317'),
('M4', '1.4.19'),
('pkg-config', '0.29.2'),
('binutils', '2.38'),
]
dependencies = [
('zlib', '1.2.12'),
('libpng', '1.6.37'),
('libjpeg-turbo', '2.1.3'),
('LibTIFF', '4.3.0'),
('OpenJPEG', '2.5.0'),
('libxml2', '2.9.13'),
('SQLite', '3.38.3'),
('cairo', '1.17.4'),
('Gdk-Pixbuf', '2.42.8'),
]
preconfigopts = "autoreconf -f -i && "
sanity_check_paths = {
'files': [
'bin/openslide-quickhash1sum',
'bin/openslide-show-properties',
'bin/openslide-write-png',
'lib/libopenslide.la',
'lib/libopenslide.%s' % SHLIB_EXT
],
'dirs': ['include/openslide']
}
moduleclass = 'vis'
easyblock = 'PythonPackage'
name = 'pkgconfig'
version = '1.5.5'
# The -python versionsuffix is used to avoid confusion between
# pkg-config (the tool) and pkgconfig (the Python wrappers)
versionsuffix = '-python'
homepage = 'https://github.com/matze/pkgconfig'
description = """pkgconfig is a Python module to interface with the pkg-config command line tool"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
sources = [SOURCE_TAR_GZ]
checksums = ['deb4163ef11f75b520d822d9505c1f462761b4309b1bb713d08689759ea8b899']
builddependencies = [('binutils', '2.38')]
dependencies = [
('Python', '3.10.4'),
('pkgconf', '1.8.0'),
]
use_pip = True
download_dep_fail = True
sanity_pip_check = True
moduleclass = 'devel'
easyblock = 'PythonPackage'
name = 'pyvips'
version = '2.2.1'
homepage = 'https://github.com/libvips/pyvips/tags'
description = """Pyvips is the python bindings for libvips: a demand-driven,
horizontally threaded image processing library."""
toolchain = {'name': 'foss', 'version': '2022a'}
source_urls = ['https://github.com/libvips/pyvips/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['37a0fc33556a1057ba05dc5a6f3029975539c5f0b63bd84ecd6eae3862898103']
builddependencies = [('binutils', '2.38')]
dependencies = [
('Python', '3.10.4'),
('OpenSlide', '3.4.1', '-largefiles'),
('libvips', '8.13.3'),
('pkgconfig', '1.5.5', '-python'),
]
use_pip = True
download_dep_fail = True
sanity_pip_check = True
options = {'modulename': 'pyvips'}
moduleclass = 'vis'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment