Skip to content

Commit

Permalink
poppler/23.0.1, librsvg/2.56.0 and libwebp/1.3.0 for GCCcore/12.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPinches committed Apr 23, 2023
1 parent 20012b7 commit f25d056
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 0 deletions.
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/l/librsvg/librsvg-2.56.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'ConfigureMake'

name = 'librsvg'
version = '2.56.0'

homepage = 'https://wiki.gnome.org/Projects/LibRsvg'
description = "Librsvg is a library to render SVG files using cairo."

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

source_urls = ['https://download.gnome.org/sources/librsvg/%(version_major_minor)s/']
sources = [SOURCE_TAR_XZ]
checksums = ['194b5097d9cd107495f49c291cf0da65ec2b4bb55e5628369751a3f44ba222b3']

builddependencies = [
('binutils', '2.39'),
('Rust', '1.65.0'),
]

dependencies = [
('cairo', '1.17.4'),
('freetype', '2.12.1'),
('Gdk-Pixbuf', '2.42.10'),
('HarfBuzz', '5.3.1'),
('Pango', '1.50.12'),
('GObject-Introspection', '1.74.0'),
]

# don't GdkPixbuf loader (which gets added to the Gdk-Pixbuf installation directory)
configopts = "--disable-pixbuf-loader"

sanity_check_paths = {
'files': ['bin/rsvg-convert', 'lib/librsvg-%(version_major)s.a', 'lib/librsvg-%%(version_major)s.%s' % SHLIB_EXT,
'lib/pkgconfig/librsvg-%(version_major)s.0.pc'],
'dirs': ['include/librsvg-%(version_major)s.0/librsvg', 'share'],
}

sanity_check_commands = ["rsvg-convert --help"]

moduleclass = 'lib'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/l/libwebp/libwebp-1.3.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
easyblock = 'ConfigureMake'

name = 'libwebp'
version = '1.3.0'

homepage = 'https://developers.google.com/speed/webp/'
description = """WebP is a modern image format that provides superior
lossless and lossy compression for images on the web. Using WebP,
webmasters and web developers can create smaller, richer images that
make the web faster."""

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

source_urls = ['https://storage.googleapis.com/downloads.webmproject.org/releases/webp']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['64ac4614db292ae8c5aa26de0295bf1623dbb3985054cb656c55e67431def17c']

builddependencies = [
('binutils', '2.39'),
]
dependencies = [
('libjpeg-turbo', '2.1.4'),
('libpng', '1.6.38'),
('LibTIFF', '4.4.0'),
('giflib', '5.2.1'),
]

configopts = '--enable-libwebpmux'

local_headers, local_libs = (
['decode.h', 'demux.h', 'encode.h', 'mux.h', 'mux_types.h', 'types.h'],
['webp', 'webpdemux', 'webpmux']
)

sanity_check_paths = {
'files': (
['include/webp/%s' % h for h in local_headers] +
['lib/lib%s.a' % s for s in local_libs] +
['lib/lib%s.%s' % (s, SHLIB_EXT) for s in local_libs]
),
'dirs': ['lib/']
}

moduleclass = 'lib'
60 changes: 60 additions & 0 deletions easybuild/easyconfigs/p/poppler/poppler-23.01.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
easyblock = 'Bundle'

name = 'poppler'
version = '23.01.0'

homepage = 'https://poppler.freedesktop.org'
description = "Poppler is a PDF rendering library"

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

builddependencies = [
('binutils', '2.39'),
('CMake', '3.24.3'),
('pkgconf', '1.9.3'),
('Python', '3.10.8', '-bare'),
]

dependencies = [
('freetype', '2.12.1'),
('fontconfig', '2.14.1'),
('libjpeg-turbo', '2.1.4'),
('libpng', '1.6.38'),
('NSS', '3.85'),
('LibTIFF', '4.4.0'),
('Qt6', '6.4.2'),
('Boost', '1.81.0'),
('cairo', '1.17.4'),
('OpenJPEG', '2.5.0'),
('zlib', '1.2.12'),
]

default_easyblock = 'CMakeMake'

default_component_specs = {
'start_dir': '%(name)s-%(version)s',
}

components = [
(name, version, {
'source_urls': ['https://poppler.freedesktop.org/'],
'sources': [SOURCE_TAR_XZ],
'checksums': ['fae9b88d3d5033117d38477b79220cfd0d8e252c278ec870ab1832501741fd94'],
'configopts': "-DENABLE_BOOST=ON",
}),
('poppler-data', '0.4.11', {
'source_urls': ['https://poppler.freedesktop.org/'],
'sources': [SOURCE_TAR_GZ],
'checksums': ['2cec05cd1bb03af98a8b06a1e22f6e6e1a65b1e2f3816cb3069bb0874825f08c'],
}),
]

sanity_check_paths = {
'files': ['bin/pdfinfo', 'lib/libpoppler.%s' % SHLIB_EXT, 'lib/libpoppler-cpp.%s' % SHLIB_EXT,
'lib/libpoppler-glib.%s' % SHLIB_EXT, 'lib/libpoppler-qt6.%s' % SHLIB_EXT],
'dirs': ['include/poppler', 'lib/pkgconfig', 'share'],
}

sanity_check_commands = ["pdfinfo --help"]

moduleclass = 'lib'

0 comments on commit f25d056

Please sign in to comment.