Add various packages and patches for build system improvements

- Introduced valgrind with a patch to respect flags and updated its configuration.
- Added Vulkan ICD loader with CMake build configuration.
- Implemented Waf build system with a custom build script and configuration.
- Included Wayland protocols with Meson build system.
- Added xcb-util-keysyms with autotools configuration.
- Introduced Yasm with multiple patches for compatibility and improvements.
- Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
This commit is contained in:
2026-03-22 23:25:50 -05:00
parent a0e45c65d3
commit bf96e50e44
144 changed files with 7131 additions and 45 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ description = "source-based package manager designed for Linux, focuses on repro
homepage = "https://gitlab.com/sfg-os/depot"
license = "MIT"
name = "depot"
version = "0.29.0"
version = "0.31.0"
revision = 1
[[source]]
+41
View File
@@ -0,0 +1,41 @@
#!/bin/sh
set -eu
depot_build() {
export CFLAGS="${CFLAGS:+$CFLAGS } -D_GNU_SOURCE -Wno-error -Wno-null-dereference -ffat-lto-objects -g"
mkdir -p build
cd build
../configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-werror \
--program-prefix=eu- \
--enable-deterministic-archives \
--disable-nls \
--disable-libdebuginfod \
--disable-debuginfod \
--with-zstd
make
}
depot_install_elfutils() {
make DESTDIR="$DESTDIR" install
haul libelf usr/lib/libelf*
haul libelf usr/lib/libdw*
haul libelf usr/lib/pkgconfig/libelf.pc
haul libelf usr/lib/pkgconfig/libdw.pc
haul libelf usr/include/libelf.h
haul libelf usr/include/gelf.h
haul libelf usr/include/nlist.h
haul libelf usr/include/dwarf.h
haul libelf usr/include/elfutils
}
depot_install_libelf() {
true
}
+77
View File
@@ -0,0 +1,77 @@
[package]
name = "elfutils"
version = "0.194"
revision = 1
description = "Handle ELF object files and DWARF debugging information"
homepage = "https://sourceware.org/elfutils/"
license = "GPL-3.0-or-later"
[[packages]]
name = "libelf"
version = "0.194"
revision = 1
description = "Handle ELF object files and DWARF debugging information (libraries)"
homepage = "https://sourceware.org/elfutils/"
license = [
"GPL-2.0-or-later",
"LGPL-3.0-or-later",
]
[build]
type = "custom"
[build.flags]
skip_tests = false
no_delete_static = true
[dependencies]
build = [
"bzip2",
"curl",
"json-c",
"libarchive",
"libmicrohttpd",
"sqlite",
"xz",
"zlib-ng",
"zstd",
]
runtime = [
"glibc",
"sh",
"libarchive",
"libcxx",
"libunwind",
"libelf"
]
[package_dependencies.elfutils]
runtime = [
"glibc",
"libarchive",
"libelf",
"sh",
]
[package_dependencies.libelf]
runtime = [
"bzip2",
"curl",
"glibc",
"json-c",
"xz",
"zlib-ng",
"zstd",
]
[[source]]
url = "https://sourceware.org/elfutils/ftp/0.194/elfutils-0.194.tar.bz2"
sha256 = "09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e"
extract_dir = "elfutils-$version"
post_extract = [
"curl -L 'https://sourceware.org/git/?p=elfutils.git;a=patch;h=4a5cf8be906d5991e7527e69e3f2ceaa74811301' -o fix-c23-const.patch",
"patch -Np1 -i fix-c23-const.patch",
"sed -i 's/run-backtrace-native.sh//g' tests/Makefile.am",
"autoreconf -fiv",
]
-34
View File
@@ -1,34 +0,0 @@
[build]
type = "autotools"
[build.flags]
configure = [
"--disable-debuginfod",
"--enable-libdebuginfod=dummy",
]
make_dirs = [ "lib", "libelf" ]
make_install_dirs = [ "libelf" ]
post_install = [ "mkdir -p $DESTDIR/usr/lib/pkgconfig", "install -vm644 config/libelf.pc $DESTDIR/usr/lib/pkgconfig", "rm $DESTDIR/usr/lib/libelf.a" ]
# the tests fail with glibc 2.43
skip_tests = true
[dependencies]
runtime = [
"glibc",
"xz",
"bzip2",
"zlib-ng",
"zstd"
]
[package]
description = "Library to read, modify and create ELF files "
homepage = "https://sourceware.org/elfutils/"
license = "GPL-3.0-or-later AND ( GPL-2.0-or-later OR LGPL-3.0-or-later )"
name = "libelf"
version = "0.194"
[[source]]
extract_dir = "$name-$version"
sha256 = "09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e"
url = "https://sourceware.org/elfutils/ftp/$version/elfutils-$version.tar.bz2"
+10
View File
@@ -7,18 +7,27 @@ configure = [
"-Dhistory=enabled",
"-Dicu=enabled",
"-Dc_args=-D_GNU_SOURCE",
"-Dpython=enabled"
]
post_install = [
'test -f $DESTDIR/usr/bin/xml2-config && sed "s/--static/--shared/" -i $DESTDIR/usr/bin/xml2-config || true',
'test -f libxml.m4 && install -Dm644 libxml.m4 -t $DESTDIR/usr/share/aclocal || true',
]
build_32 = true
configure-lib32 = [
"-Dhistory=enabled",
"-Dicu=enabled",
"-Dc_args=-D_GNU_SOURCE",
"-Dpython=disabled"
]
[dependencies]
build = [
"python",
"meson",
"ninja",
"docbook-xsl",
"doxygen"
]
runtime = [
"sh",
@@ -34,6 +43,7 @@ build = [
"python",
"meson",
"ninja",
"docbook-xsl",
]
runtime = [
"lib32-glibc",
+3
View File
@@ -1,6 +1,9 @@
[build]
type = "custom"
[alternatives]
provides = [ "cargo" ]
[dependencies]
build = [
"cmake",
+2 -2
View File
@@ -2,7 +2,7 @@
type = "meson"
[alternatives]
provides = [ "findutils", "diffutils", "gzip", "grep", "which", "patch" ]
provides = [ "findutils", "diffutils", "gzip", "grep", "which", "patch", "pciutils" ]
replaces = [ "findutils", "diffutils", "gzip", "grep", "which", "patch" ]
[build.flags]
@@ -25,7 +25,7 @@ license = [
"BSD-4-Clause",
]
name = "vx"
version = "0.1.0"
version = "0.2.0"
[[source]]
extract_dir = "$name-$version"