Skip to content
Snippets Groups Projects
Commit 7fa63c4e authored by Alexandre Strube's avatar Alexandre Strube
Browse files

Emacs and deps

parent 583c9f2d
No related branches found
No related tags found
No related merge requests found
easyblock = 'MesonNinja'
name = 'ATK'
version = '2.38.0'
homepage = 'https://developer.gnome.org/atk/'
description = """
ATK provides the set of accessibility interfaces that are implemented by other
toolkits and applications. Using the ATK interfaces, accessibility tools have
full access to view and control running applications.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['ac4de2a4ef4bd5665052952fe169657e65e895c5057dffb3c2a810f6191a0c36']
builddependencies = [
('binutils', '2.38'),
('Meson', '0.62.1'),
('Ninja', '1.10.2'),
('pkgconf', '1.8.0'),
('GObject-Introspection', '1.72.0'),
]
dependencies = [
('GLib', '2.72.1'),
]
configopts = "--buildtype=release --default-library=both "
configopts += "-Dintrospection=true "
sanity_check_paths = {
'files': ['lib/libatk-1.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'
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': '11.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['cfa008a5af822b36ae6287f18182c40c91dd699c55faa38605881ed175ca464f']
builddependencies = [
('binutils', '2.38'),
('Meson', '0.62.1'),
('Ninja', '1.10.2'),
('pkgconf', '1.8.0'),
]
dependencies = [
('GLib', '2.72.1'),
('DBus', '1.14.0'),
('at-spi2-core', '2.44.1'),
('libxml2', '2.9.13'),
('ATK', '2.38.0'),
]
configopts = "--libdir lib "
sanity_check_paths = {
'files': ['lib/libatk-bridge-2.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'
easyblock = 'MesonNinja'
name = 'at-spi2-core'
version = '2.44.1'
homepage = 'https://wiki.gnome.org/Accessibility'
description = """
Assistive Technology Service Provider Interface.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['4beb23270ba6cf7caf20b597354d75194d89afb69d2efcf15f4271688ba6f746']
builddependencies = [
('binutils', '2.38'),
('Meson', '0.62.1'),
('Ninja', '1.10.2'),
('GObject-Introspection', '1.72.0'),
('gettext', '0.21'),
('pkgconf', '1.8.0'),
]
dependencies = [
('GLib', '2.72.1'),
('DBus', '1.14.0'),
('X11', '20220504'),
]
configopts = "--libdir lib "
sanity_check_paths = {
'files': ['lib/libatspi.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'
easyblock = 'ConfigureMake'
name = "Coreutils"
version = "9.1"
homepage = 'https://www.gnu.org/software/coreutils/'
description = """The GNU Core Utilities are the basic file, shell and text
manipulation utilities of the GNU operating system. These are
the core utilities which are expected to exist on every
operating system.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'optarch': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423']
builddependencies = [('binutils', '2.38')]
sanity_check_paths = {
'files': ['bin/sort', 'bin/echo', 'bin/du', 'bin/date', 'bin/true'],
'dirs': []
}
moduleclass = 'tools'
easyblock = 'ConfigureMake'
name = 'Emacs'
version = '28.2'
homepage = 'https://www.gnu.org/software/emacs/'
description = """GNU Emacs is an extensible, customizable text editor--and more.
At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming
language with extensions to support text editing."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['a6912b14ef4abb1edab7f88191bfd61c3edd7085e084de960a4f86485cb7cad8']
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
]
dependencies = [
('zlib', '1.2.12'),
('libpng', '1.6.37'),
('libjpeg-turbo', '2.1.3'),
('ncurses', '6.3'),
('LibTIFF', '4.3.0'),
('X11', '20220504'),
('GTK+', '3.24.34'),
]
# If you want to use Emacs plugins you must install the gnutls command line tools
# osdependencies = [('gnutls-utils')]
configopts = '--x-includes=$EBROOTX11/include --x-libraries=$EBROOTX11/lib --with-gif=no '
configopts += ' --with-gnutls=no --with-x-toolkit=gtk3 --with-modules'
sanity_check_paths = {
'files': ["bin/emacs", "bin/emacs-%(version)s", "bin/emacsclient", "bin/etags"],
'dirs': []
}
moduleclass = 'tools'
easyblock = 'Bundle'
name = 'GTK+'
version = '3.24.34'
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': '11.3.0'}
builddependencies = [
('binutils', '2.38'),
('Autotools', '20220317'),
('GObject-Introspection', '1.72.0'),
('gettext', '0.21'),
('pkgconf', '1.8.0'),
('cairo', '1.17.4'),
('Perl', '5.34.1'),
('Coreutils', '9.1'),
]
dependencies = [
('ATK', '2.38.0'),
('at-spi2-atk', '2.38.0'),
('Gdk-Pixbuf', '2.42.8'),
('Pango', '1.50.7'),
('X11', '20220504'),
('libepoxy', '1.5.10'),
('zlib', '1.2.12'),
('FriBidi', '1.0.12'),
('X11', '20220504'), # GDK backend
# This installs the SVG loader in Gdk-Pixbuf, which is needed for adwaita
('librsvg', '2.55.1'),
]
default_easyblock = 'ConfigureMake'
default_component_specs = {
'sources': [SOURCELOWER_TAR_XZ],
'start_dir': '%(namelower)s-%(version)s',
}
default_component_specs = {
'sources': [SOURCELOWER_TAR_XZ],
'start_dir': '%(namelower)s-%(version)s',
}
components = [
(name, version, {
'source_urls': [FTPGNOME_SOURCE],
'checksums': ['5d864d248357a2251545b3387b35942de5f66e4c66013f0962eb5cb6f8dae2b1'],
'configopts': "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility ",
}),
('hicolor-icon-theme', '0.17', {
'source_urls': ['https://icon-theme.freedesktop.org/releases/'],
'checksums': ['317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8'],
}),
('adwaita-icon-theme', '3.38.0', {
'preconfigopts': 'autoreconf -f -i && ',
'source_urls': [FTPGNOME_SOURCE],
'patches': ['adwaita-icon-theme-3.34.3_disable-svg-conversion.patch'],
'checksums': [
# adwaita-icon-theme-3.34.3_disable-svg-conversion.patch
'f4b86855d50759ecfc1e8f6550ec0f3a7a4ea2c80b9f5fc1685fe8967d1c5342',
# adwaita-icon-theme-3.38.0.tar.xz
'6683a1aaf2430ccd9ea638dd4bfe1002bc92b412050c3dba20e480f979faaf97',
]
}),
]
postinstallcmds = ['gtk-update-icon-cache']
modextrapaths = {
'GI_TYPELIB_PATH': 'lib64/girepository-1.0',
'XDG_DATA_DIRS': 'share',
}
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'
As we don't have SVG support we disable the search for the converter.
Author: Alexander Grund (TU Dresden)
diff -aur a/configure.ac b/configure.ac
--- a/configure.ac 2021-07-16 15:16:15.774630738 +0200
+++ b/configure.ac 2021-07-16 15:15:10.138814059 +0200
@@ -49,7 +49,7 @@
AM_CONDITIONAL(ALLOW_RENDERING, test "x$allow_rendering" = "xyes")
symbolic_encode_sizes="16x16 24x24 32x32 48x48 64x64 96x96"
-AC_PATH_PROG([GTK_ENCODE_SYMBOLIC_SVG], [gtk-encode-symbolic-svg], [false])
+GTK_ENCODE_SYMBOLIC_SVG="false"
if test "x$GTK_ENCODE_SYMBOLIC_SVG" = "xfalse"; then
symbolic_encode_sizes=""
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment