From e2d5cf8a35eb69ab25517c8e94b5936e91f055ee Mon Sep 17 00:00:00 2001 From: Alexandre Strube <a.strube@fz-juelich.de> Date: Thu, 11 Nov 2021 20:00:49 +0100 Subject: [PATCH] libcroco, librscvg --- .../libcroco-0.6.13-GCCcore-11.2.0.eb | 33 ++++++++++++++ .../librsvg/librsvg-2.51.2-GCCcore-11.2.0.eb | 44 +++++++++++++++++++ bin/gcc11ize.py | 4 ++ 3 files changed, 81 insertions(+) create mode 100644 Golden_Repo/l/libcroco/libcroco-0.6.13-GCCcore-11.2.0.eb create mode 100644 Golden_Repo/l/librsvg/librsvg-2.51.2-GCCcore-11.2.0.eb diff --git a/Golden_Repo/l/libcroco/libcroco-0.6.13-GCCcore-11.2.0.eb b/Golden_Repo/l/libcroco/libcroco-0.6.13-GCCcore-11.2.0.eb new file mode 100644 index 000000000..897f399dc --- /dev/null +++ b/Golden_Repo/l/libcroco/libcroco-0.6.13-GCCcore-11.2.0.eb @@ -0,0 +1,33 @@ +easyblock = 'ConfigureMake' + +name = 'libcroco' +version = '0.6.13' + +homepage = 'https://github.com/GNOME/libcroco' +description = """Libcroco is a standalone css2 parsing and manipulation library.""" + + +toolchain = {'name': 'GCCcore', 'version': '11.2.0'} + +sources = [SOURCE_TAR_XZ] +source_urls = [ + 'http://ftp.gnome.org/pub/GNOME/sources/libcroco/%(version_major_minor)s/'] + +builddependencies = [ + ('binutils', '2.37'), + ('pkg-config', '0.29.2'), +] + +dependencies = [ + ('zlib', '1.2.11'), + ('libxml2', '2.9.10'), + ('GLib', '2.69.1'), +] + +sanity_check_paths = { + 'files': ['bin/csslint-%(version_major_minor)s', 'lib/libcroco-%%(version_major_minor)s.%s' % SHLIB_EXT, + 'lib/libcroco-%(version_major_minor)s.a'], + 'dirs': ['include/libcroco-%(version_major_minor)s', 'share'] +} + +moduleclass = 'lib' diff --git a/Golden_Repo/l/librsvg/librsvg-2.51.2-GCCcore-11.2.0.eb b/Golden_Repo/l/librsvg/librsvg-2.51.2-GCCcore-11.2.0.eb new file mode 100644 index 000000000..f5d4c3024 --- /dev/null +++ b/Golden_Repo/l/librsvg/librsvg-2.51.2-GCCcore-11.2.0.eb @@ -0,0 +1,44 @@ +easyblock = 'ConfigureMake' + +name = 'librsvg' +version = '2.51.2' + +homepage = 'https://wiki.gnome.org/action/show/Projects/LibRsvg' +description = """librsvg is a library to render SVG files using cairo.""" + + +toolchain = {'name': 'GCCcore', 'version': '11.2.0'} + +sources = [SOURCE_TAR_XZ] +source_urls = [ + 'https://download.gnome.org/sources/librsvg/%(version_major_minor)s'] + +builddependencies = [ + ('binutils', '2.37'), + ('pkg-config', '0.29.2'), + ('GObject-Introspection', '1.68.0'), +] + +dependencies = [ + ('Gdk-Pixbuf', '2.42.6'), + ('libcroco', '0.6.13'), + ('Pango', '1.48.8'), + ('cairo', '1.16.0'), + ('Rust', '1.54.0'), +] + +# This loader wants to install in the directory of Gdk-Pixbuf itself. If we disable it, Gdk-Pixbuf can't manage SVG +# files, which is bad for creating icons +# configopts = '--disable-pixbuf-loader' + +sanity_check_paths = { + 'files': ['bin/rsvg-convert', 'lib/librsvg-%%(version_major)s.%s' % SHLIB_EXT, 'lib/librsvg-2.a'], + 'dirs': ['include/librsvg-2.0', 'share'] +} + +modextrapaths = { + 'GI_TYPELIB_PATH': 'lib/girepository-1.0', + 'XDG_DATA_DIRS': 'share', +} + +moduleclass = 'vis' diff --git a/bin/gcc11ize.py b/bin/gcc11ize.py index 379e055a9..c555622a7 100755 --- a/bin/gcc11ize.py +++ b/bin/gcc11ize.py @@ -64,6 +64,10 @@ releases = { 'freetype': ['2.10.1', '2.11.0'], 'FriBidi': ['1.0.9', '1.0.10'], 'libepoxy': ['1.5.4', '1.5.8'], + 'librsvg': ['2.48.8', '2.51.2'], + 'libcroco': ['0.6.13', '0.6.13'], + 'libxml2': ['2.9.10', '2.9.10'], + 'Rust': ['1.47.0', '1.54.0'], } -- GitLab