Skip to content

Commit

Permalink
Merge pull request easybuilders#21433 from ankekreuzer/core-packages-…
Browse files Browse the repository at this point in the history
…JSC-part9

{vis, data, tools, lib}[GCCcore/13.3.0] at-spi2-atk-2.38.0, at-spi2-core-2.54.0, exiv2-0.28.3, GraphicsMagick-1.3.45, HDF-4.3.0, IPython-8.27.0, inih-58, libgeotiff-1.7.3
  • Loading branch information
SebastianAchilles authored Oct 25, 2024
2 parents 166b3f9 + 6765add commit a19cdba
Show file tree
Hide file tree
Showing 8 changed files with 370 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
easyblock = 'MesonNinja'

name = 'at-spi2-atk'
version = '2.38.0'

homepage = 'https://wiki.gnome.org/Accessibility'
description = "AT-SPI 2 toolkit bridge"

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['cfa008a5af822b36ae6287f18182c40c91dd699c55faa38605881ed175ca464f']

builddependencies = [
('binutils', '2.42'),
('Meson', '1.4.0'),
('Ninja', '1.12.1'),
('pkgconf', '2.2.0'),
]

dependencies = [
('GLib', '2.80.4'),
('DBus', '1.15.8'),
('at-spi2-core', '2.54.0'),
('libxml2', '2.12.7'),
('ATK', '2.38.0'),
]

configopts = "--libdir lib "

sanity_check_paths = {
'files': ['lib/libatk-bridge-2.0.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'MesonNinja'

name = 'at-spi2-core'
version = '2.54.0'

homepage = 'https://wiki.gnome.org/Accessibility'
description = """
Assistive Technology Service Provider Interface.
"""

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['d7eee7e75beddcc272cedc2b60535600f3aae6e481589ebc667afc437c0a6079']

builddependencies = [
('binutils', '2.42'),
('Meson', '1.4.0'),
('Ninja', '1.12.1'),
('GObject-Introspection', '1.80.1'),
('gettext', '0.22.5'),
('pkgconf', '2.2.0'),
]

dependencies = [
('GLib', '2.80.4'),
('DBus', '1.15.8'),
('X11', '20240607'),
]

# Hard disable Dbus broker detection and (potential) use of systemd
configopts = "--libdir lib -Duse_systemd=false -Ddefault_bus=dbus-daemon"

sanity_check_paths = {
'files': ['lib/libatspi.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'vis'
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/e/exiv2/exiv2-0.28.3-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
easyblock = 'CMakeMake'

name = 'exiv2'
version = '0.28.3'

homepage = 'http://www.exiv2.org'
description = """
Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write
access to the Exif, IPTC and XMP metadata of digital images in various formats. Exiv2 is available as free software and
with a commercial license, and is used in many projects.
"""


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

source_urls = ['https://github.com/Exiv2/exiv2/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['1315e17d454bf4da3cc0edb857b1d2c143670f3485b537d0f946d9ed31d87b70']

builddependencies = [
('binutils', '2.42'),
('CMake', '3.29.3'),
]

dependencies = [
('expat', '2.6.2'),
('Brotli', '1.1.0'),
('inih', '58'),
]

sanity_check_paths = {
'files': ['bin/exiv2', 'lib/libexiv2.%s' % SHLIB_EXT],
'dirs': []
}

sanity_check_commands = ["exiv2 --help"]

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
easyblock = 'ConfigureMake'

name = 'GraphicsMagick'
version = '1.3.45'

homepage = 'http://www.graphicsmagick.org/'
description = """GraphicsMagick is the swiss army knife of image processing."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = [
SOURCEFORGE_SOURCE,
'ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/%(version_major_minor)s/',
]
sources = [SOURCE_TAR_XZ]
patches = [
'GraphicsMagick_pkgconfig_libtiff.patch'
]
checksums = [
{'GraphicsMagick-1.3.45.tar.xz': 'dcea5167414f7c805557de2d7a47a9b3147bcbf617b91f5f0f4afe5e6543026b'},
{'GraphicsMagick_pkgconfig_libtiff.patch': '25b4c5361f30e23c809a078ac4b26e670d2b8341496323480037e2095d969294'},
]

builddependencies = [
('binutils', '2.42'),
('Autotools', '20231222'),
]

dependencies = [
('X11', '20240607'),
('bzip2', '1.0.8'),
('freetype', '2.13.2'),
('libpng', '1.6.43'),
('libjpeg-turbo', '3.0.1'),
('LibTIFF', '4.6.0'),
('libxml2', '2.12.7'),
('XZ', '5.4.5'),
('zlib', '1.3.1'),
('Ghostscript', '10.03.1'),
]

modextrapaths = {'CPATH': ['include/GraphicsMagick']}

sanity_check_paths = {
'files': ['bin/gm', 'lib/libGraphicsMagick.a', 'lib/libGraphicsMagick++.a',
'lib/libGraphicsMagickWand.a'],
'dirs': ['include/GraphicsMagick', 'lib/pkgconfig'],
}

moduleclass = 'vis'
58 changes: 58 additions & 0 deletions easybuild/easyconfigs/h/HDF/HDF-4.3.0-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
easyblock = 'ConfigureMake'

name = 'HDF'
version = '4.3.0'

homepage = 'https://support.hdfgroup.org/products/hdf4/'
description = """
HDF (also known as HDF4) is a library and multi-object file format for
storing and managing data between machines.
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/HDFGroup/hdf4/archive/refs/tags/']
sources = ['%(namelower)s%(version)s.tar.gz']
checksums = ['a6639a556650e6ea8632a17b8188a69de844bdff54ce121a1fd5b92c8dd06cb1']

builddependencies = [
('binutils', '2.42'),
('Bison', '3.8.2'),
('flex', '2.6.4'),
]

dependencies = [
('libjpeg-turbo', '3.0.1'),
('Szip', '2.1.1'),
('zlib', '1.3.1'),
('libtirpc', '1.3.5'),
]

preconfigopts = "LIBS='-ltirpc' "

local_common_configopts = '--with-szlib=$EBROOTSZIP CFLAGS="$CFLAGS -I$EBROOTLIBTIRPC/include/tirpc" '
local_common_configopts += '--includedir=%(installdir)s/include/%(namelower)s '

configopts = [
local_common_configopts,
# Cannot build shared libraries and Fortran...
# https://trac.osgeo.org/gdal/wiki/HDF#IncompatibilitywithNetCDFLibraries
# netcdf must be disabled to allow HDF to be used by GDAL
local_common_configopts + "--enable-shared --disable-fortran --disable-netcdf",
]


sanity_check_paths = {
'files': ['bin/h4cc', 'bin/ncdump', 'lib/libdf.a', 'lib/libhdf4.settings', 'lib/libmfhdf.a', 'lib/libmfhdf.so'],
'dirs': ['include/%(namelower)s'],
}

sanity_check_commands = [
"h4cc --help",
"ncdump -V",
]

modextrapaths = {'CPATH': 'include/%(namelower)s'}

moduleclass = 'data'
80 changes: 80 additions & 0 deletions easybuild/easyconfigs/i/IPython/IPython-8.27.0-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
easyblock = 'PythonBundle'

name = 'IPython'
version = '8.27.0'

homepage = 'https://ipython.org/index.html'
description = """IPython provides a rich architecture for interactive computing with:
Powerful interactive shells (terminal and Qt-based).
A browser-based notebook with support for code, text, mathematical expressions, inline plots and other rich media.
Support for interactive data visualization and use of GUI toolkits.
Flexible, embeddable interpreters to load into your own projects.
Easy to use, high performance tools for parallel computing."""

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

builddependencies = [
('binutils', '2.42'),
('hatchling', '1.24.2'),
]

dependencies = [
('Python', '3.12.3'),
('Python-bundle-PyPI', '2024.06'),
('ZeroMQ', '4.3.5'),
('lxml', '5.3.0'),
('jedi', '0.19.1')
]

sanity_pip_check = True
use_pip = True

# for the matplotlib-inline required extention we avoid the import sanity check
# as it will fail without matplotlib in the environment, but ipython devs prefer not to make
# matplotlib a required dep (https://github.com/ipython/matplotlib-inline/issues/4)
# we follow the same convention and we not set matplotlib as dependency

# Last updated 20240917
exts_list = [
('traitlets', '5.14.3', {
'checksums': ['9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b96b6b7'],
}),
('pure_eval', '0.2.3', {
'checksums': ['5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42'],
}),
('executing', '2.1.0', {
'checksums': ['8ea27ddd260da8150fa5a708269c4a10e76161e2496ec3e587da9e3c0fe4b9ab'],
}),
('asttokens', '2.4.1', {
'checksums': ['b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0'],
}),
('stack_data', '0.6.3', {
'checksums': ['836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9'],
}),
('prompt_toolkit', '3.0.47', {
'checksums': ['1e1b29cb58080b1e69f207c893a1a7bf16d127a5c30c9d17a25a5d77792e5360'],
}),
('pickleshare', '0.7.5', {
'checksums': ['87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca'],
}),
('matplotlib-inline', '0.1.6', {
'modulename': False,
'checksums': ['f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304'],
}),
('backcall', '0.2.0', {
'checksums': ['5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e'],
}),
('ipython', version, {
'modulename': 'IPython',
'checksums': ['0b99a2dc9f15fd68692e898e5568725c6d49c527d36a9fb5960ffbdeaa82ff7e'],
}),
]

sanity_check_paths = {
'files': ['bin/%(namelower)s'],
'dirs': ['lib/python%(pyshortver)s/site-packages/%(name)s'],
}

sanity_check_commands = ['%(namelower)s -h']

moduleclass = 'tools'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/i/inih/inih-58-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'MesonNinja'

name = 'inih'
version = '58'

homepage = 'https://dri.freedesktop.org'
description = """Direct Rendering Manager runtime library."""

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

source_urls = ['https://github.com/benhoyt/inih/archive/refs/tags/']
sources = ['r%(version)s.tar.gz']
checksums = ['e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7']

builddependencies = [
('binutils', '2.42'),
('pkgconf', '2.2.0'),
('Meson', '1.4.0'),
('Ninja', '1.12.1'),
]

# installing manpages requires an extra build dependency (docbook xsl)
# configopts = '-Dman-pages=disabled'

sanity_check_paths = {
'files': ['lib/libinih.%s' % SHLIB_EXT, 'include/ini.h'],
'dirs': ['include', 'lib'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'ConfigureMake'

name = 'libgeotiff'
version = '1.7.3'

homepage = 'https://directory.fsf.org/wiki/Libgeotiff'
description = """Library for reading and writing coordinate system information from/to GeoTIFF files"""

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

source_urls = ['https://download.osgeo.org/geotiff/libgeotiff']
sources = [SOURCE_TAR_GZ]
checksums = ['ba23a3a35980ed3de916e125c739251f8e3266be07540200125a307d7cf5a704']

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

dependencies = [
('PROJ', '9.4.1'),
('libjpeg-turbo', '3.0.1'),
('zlib', '1.3.1'),
('SQLite', '3.45.3'),
('LibTIFF', '4.6.0'),
('cURL', '8.7.1'),
]

configopts = ' --with-libtiff=$EBROOTLIBTIFF --with-proj=$EBROOTPROJ --with-zlib=$EBROOTZLIB'
configopts += ' --with-jpeg=$EBROOTLIBJPEGMINTURBO'

sanity_check_paths = {
'files': ['bin/listgeo', 'lib/libgeotiff.a', 'lib/libgeotiff.%s' % SHLIB_EXT],
'dirs': ['include', 'share'],
}

moduleclass = 'lib'

0 comments on commit a19cdba

Please sign in to comment.