Skip to content

Commit

Permalink
adding easyconfigs: evince-45.0-GCC-12.3.0.eb, libgxps-0.3.2-GCCcore-…
Browse files Browse the repository at this point in the history
…12.3.0.eb, libspectre-0.2.12-GCCcore-12.3.0.eb, gspell-1.12.2-GCCcore-12.3.0.eb, GI-DocGen-2023.3-GCCcore-12.3.0.eb
  • Loading branch information
jfgrimm committed Jan 23, 2024
1 parent 5030f4c commit 179b7d2
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 0 deletions.
62 changes: 62 additions & 0 deletions easybuild/easyconfigs/e/evince/evince-45.0-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Author: Jasper Grimm (UoY)
easyblock = 'MesonNinja'

name = 'evince'
version = '45.0'

homepage = 'https://wiki.gnome.org/Apps/Evince'
description = """Evince is a document viewer for multiple document formats. The
goal of evince is to replace the multiple document viewers that exist on the
GNOME Desktop with a single simple application.
"""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

source_urls = ['https://ftp.gnome.org/pub/GNOME/sources/%(name)s/45']
sources = [SOURCE_TAR_XZ]
checksums = ['d18647d4275cbddf0d32817b1d04e307342a85be914ec4dad2d8082aaf8aa4a8']

builddependencies = [
('Meson', '1.1.1'),
('Ninja', '1.11.1'),
('pkgconf', '1.9.5'),
('GI-DocGen', '2023.3'),
('CMake', '3.26.3'),
]

dependencies = [
('Python', '3.11.3'),
('Python-bundle-PyPI', '2023.06'),
('GLib', '2.77.1'),
('GTK3', '3.24.37'),
('libhandy', '1.8.2'),
('ITSTool', '2.0.7'),
('Gdk-Pixbuf', '2.42.10'),
('cairo', '1.17.8'),
('zlib', '1.2.13'),
('GObject-Introspection', '1.76.1'),
('GStreamer', '1.22.5'),
('gspell', '1.12.2'),
('libspectre', '0.2.12'),
('libarchive', '3.6.2'),
('poppler', '23.09.0'),
('Ghostscript', '10.01.2'),
('LibTIFF', '4.5.0'),
('libgxps', '0.3.2'),
('DBus', '1.15.4'),
# ddjvuapi
# kpathsea
]

_bins = ['bin/%%(name)s%s' % x for x in ['', '-previewer', '-thumbnailer']]
_incs = ['include/evince', 'lib/evince', 'lib/pkgconfig']
_libs = ['lib/%s.%s' % (x, SHLIB_EXT) for x in ['libevdocument3', 'libevview3']] + ['libexec/evinced']

sanity_check_paths = {
'files': _bins + _libs,
'dirs': _incs,
}

sanity_check_commands = ['%(name)s --help']

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Author: Jasper Grimm (UoY)
easyblock = 'PythonBundle'

name = 'GI-DocGen'
version = '2023.3'

homepage = 'https://gitlab.gnome.org/GNOME/gi-docgen'
description = """
GI-DocGen is a document generator for GObject-based libraries. GObject is
the base type system of the GNOME project. GI-Docgen reuses the
introspection data generated by GObject-based libraries to generate the API
reference of these libraries, as well as other ancillary documentation.
"""

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

dependencies = [
('Python', '3.11.3'),
('Python-bundle-PyPI', '2023.06'),
]

exts_default_options = {
'download_dep_fail': True,
'sanity_pip_check': True,
'use_pip': True,
}

exts_list = [
('Markdown', '3.5.2', {
'checksums': ['e1ac7b3dc550ee80e602e71c1d168002f062e49f1b11e26a36264dafd4df2ef8'],
}),
('typogrify', '2.0.7', {
'checksums': ['8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38'],
}),
('smartypants', '1.8.3', {
'checksums': ['36dd37a573c74b68ba3614f52ebab0ec7a7ffe4255b7da9c4de46cda3c2e9e68'],
}),
('gi-docgen', version, {
'modulename': 'gidocgen',
'checksums': ['977616bcc0e2735bb596c71e8eb34533526680740c666e87f9dfc323acd488f0'],
}),
]

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

moduleclass = 'tools'
36 changes: 36 additions & 0 deletions easybuild/easyconfigs/g/gspell/gspell-1.12.2-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Author: Jasper Grimm (UoY)
easyblock = 'ConfigureMake'

name = 'gspell'
version = '1.12.2'

homepage = 'https://gitlab.gnome.org/GNOME/gspell'
description = "gspell provides a flexible API to add spell-checking to a GTK application."

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCE_TAR_XZ]
checksums = ['b4e993bd827e4ceb6a770b1b5e8950fce3be9c8b2b0cbeb22fdf992808dd2139']

builddependencies = [
('binutils', '2.40'),
('Vala', '0.56.14'),
('pkgconf', '1.9.5'),
]

dependencies = [
('GLib', '2.77.1'),
('GTK3', '3.24.37'),
('GObject-Introspection', '1.76.1'),
('enchant-2', '2.6.5'),
]

configopts = '--enable-introspection --enable-vala'

sanity_check_paths = {
'files': ['bin/%(name)s-app1', 'lib/lib%%(name)s-1.%s' % SHLIB_EXT],
'dirs': ['include/%(name)s-1'],
}

moduleclass = 'tools'
43 changes: 43 additions & 0 deletions easybuild/easyconfigs/l/libgxps/libgxps-0.3.2-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Author: Jasper Grimm (UoY)
easyblock = 'MesonNinja'

name = 'libgxps'
version = '0.3.2'

homepage = 'https://wiki.gnome.org/Projects/libgxps'
description = "libgxps is a GObject based library for handling and rendering XPS documents."

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCE_TAR_XZ]
checksums = ['6d27867256a35ccf9b69253eb2a88a32baca3b97d5f4ef7f82e3667fa435251c']

builddependencies = [
('binutils', '2.40'),
('Meson', '1.1.1'),
('Ninja', '1.11.1'),
('pkgconf', '1.9.5'),
('CMake', '3.26.3'),
]

dependencies = [
('GLib', '2.77.1'),
('GObject-Introspection', '1.76.1'),
('cairo', '1.17.8'),
('libarchive', '3.6.2'),
('freetype', '2.13.0'),
('libjpeg-turbo', '2.1.5.1'),
('LibTIFF', '4.5.0'),
('libpng', '1.6.39'),
('zlib', '1.2.13'),
('LittleCMS', '2.15'),
('GTK3', '3.24.37'),
]

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

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Author: Jasper Grimm (UoY)
easyblock = 'ConfigureMake'

name = 'libspectre'
version = '0.2.12'

homepage = 'https://www.freedesktop.org/wiki/Software/libspectre/'
description = """libspectre is a small library for rendering Postscript
documents. It provides a convenient easy to use API for handling and
rendering Postscript documents.
"""

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

source_urls = ['https://libspectre.freedesktop.org/releases']
sources = [SOURCE_TAR_GZ]
checksums = ['55a7517cd3572bd2565df0cf450944a04d5273b279ebb369a895391957f0f960']

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

dependencies = [
('Ghostscript', '10.01.2'),
('cairo', '1.17.8'),
]

sanity_check_paths = {
'files': ['lib/%%(name)s.%s' % x for x in [SHLIB_EXT, 'a', 'la']],
'dirs': ['include/%(name)s'],
}

moduleclass = 'lib'

0 comments on commit 179b7d2

Please sign in to comment.