forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: Ghostscript-10.02.1-GCCcore-13.2.0.eb, GTK3-3.24.…
…39-GCCcore-13.2.0.eb
- Loading branch information
1 parent
d0e5856
commit eed8929
Showing
2 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
72 changes: 72 additions & 0 deletions
72
easybuild/easyconfigs/g/GTK3/GTK3-3.24.39-GCCcore-13.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
easyblock = 'Bundle' | ||
|
||
name = 'GTK3' | ||
version = '3.24.39' | ||
|
||
homepage = 'https://developer.gnome.org/gtk3/stable/' | ||
description = """GTK+ is the primary library used to construct user interfaces in GNOME. It | ||
provides all the user interface controls, or widgets, used in a common | ||
graphical application. Its object-oriented API allows you to construct | ||
user interfaces without dealing with the low-level details of drawing and | ||
device interaction. | ||
""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '13.2.0'} | ||
|
||
builddependencies = [ | ||
('binutils', '2.40'), | ||
('Autotools', '20220317'), | ||
('Meson', '1.2.3'), | ||
('Ninja', '1.11.1'), | ||
('pkgconf', '2.0.3'), | ||
('GObject-Introspection', '1.78.1'), | ||
] | ||
|
||
dependencies = [ | ||
('ATK', '2.38.0'), | ||
('at-spi2-atk', '2.38.0'), | ||
('cairo', '1.18.0'), | ||
('Gdk-Pixbuf', '2.42.10'), | ||
('GLib', '2.78.1'), | ||
('Pango', '1.51.0'), | ||
('libepoxy', '1.5.10'), | ||
('X11', '20231019'), | ||
('FriBidi', '1.0.13'), | ||
('Wayland', '1.22.0'), | ||
] | ||
|
||
default_easyblock = 'MesonNinja' | ||
|
||
default_component_specs = { | ||
'sources': [SOURCELOWER_TAR_XZ], | ||
'start_dir': '%(namelower)s-%(version)s', | ||
} | ||
|
||
components = [ | ||
('GTK+', version, { | ||
'source_urls': [FTPGNOME_SOURCE], | ||
'checksums': ['1cac3e566b9b2f3653a458c08c2dcdfdca9f908037ac03c9d8564b4295778d79'], | ||
}), | ||
('hicolor-icon-theme', '0.17', { | ||
'easyblock': 'ConfigureMake', | ||
'source_urls': ['https://icon-theme.freedesktop.org/releases/'], | ||
'checksums': ['317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8'], | ||
}), | ||
('adwaita-icon-theme', '45.0', { | ||
'source_urls': ['https://ftp.gnome.org/pub/GNOME/sources/%(namelower)s/%(version_major)s'], | ||
'checksums': ['2442bfb06f4e6cc95bf6e2682fdff98fa5eddc688751b9d6215c623cb4e42ff1'], | ||
}), | ||
] | ||
|
||
postinstallcmds = ['gtk-update-icon-cache'] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/%s' % x for x in ['gtk3-demo', 'gtk3-demo-application', 'gtk3-icon-browser', 'gtk3-widget-factory', | ||
'gtk-builder-tool', 'gtk-launch', 'gtk-query-immodules-3.0', 'gtk-query-settings', | ||
'gtk-update-icon-cache']] + | ||
['lib/%s-%%(version_major)s.%s' % (x, SHLIB_EXT) for x in ['libgailutil', 'libgdk', 'libgtk']], | ||
'dirs': ['include/%s-%%(version_major)s.0' % x for x in ['gail', 'gtk']] + | ||
['share/icons/hicolor', 'share/icons/Adwaita'], | ||
} | ||
|
||
moduleclass = 'vis' |
56 changes: 56 additions & 0 deletions
56
easybuild/easyconfigs/g/Ghostscript/Ghostscript-10.02.1-GCCcore-13.2.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'Ghostscript' | ||
version = '10.02.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': '13.2.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = ['https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
checksums = ['e429e4f5b01615a4f0f93a4128e8a1a4d932dff983b1774174c79c0630717ad9'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.40'), | ||
('pkgconf', '2.0.3'), | ||
] | ||
dependencies = [ | ||
('zlib', '1.2.13'), | ||
('libpng', '1.6.40'), | ||
('freetype', '2.13.2'), | ||
('libjpeg-turbo', '3.0.1'), | ||
('expat', '2.5.0'), | ||
('GLib', '2.78.1'), | ||
('cairo', '1.18.0'), | ||
('LibTIFF', '4.6.0'), | ||
('GTK3', '3.24.39'), | ||
] | ||
|
||
# Do not use local copies of zlib, jpeg, freetype, and png | ||
preconfigopts = 'mv zlib zlib.no && mv jpeg jpeg.no && mv freetype freetype.no && ' | ||
preconfigopts += 'mv libpng libpng.no && export LIBS="$LIBS -L$EBROOTZLIB/lib -lz" && ' | ||
configopts = "--with-system-libtiff --enable-dynamic --disable-hidden-visibility" | ||
|
||
# also build and install shared libs | ||
build_cmd_targets = ['', 'so'] | ||
installopts = 'soinstall' | ||
|
||
postinstallcmds = [ | ||
# install header files | ||
"mkdir -p %(installdir)s/include/%(namelower)s", | ||
"install -v -m644 base/*.h %(installdir)s/include/%(namelower)s", | ||
"install -v -m644 psi/*.h %(installdir)s/include/%(namelower)s", | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/gs', 'lib/libgs.%s' % SHLIB_EXT], | ||
'dirs': ['lib/%(namelower)s', 'include/%(namelower)s', 'share/man'], | ||
} | ||
|
||
sanity_check_commands = ["gs --help"] | ||
|
||
moduleclass = 'tools' |