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
@@ -0,0 +1,42 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 23 Jun 2015 08:40:29 +0200
Subject: [PATCH] Enable table validation modules
---
modules.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules.cfg b/modules.cfg
index fa8592b15171..cc97ec1af50a 100644
--- a/modules.cfg
+++ b/modules.cfg
@@ -117,26 +117,26 @@ AUX_MODULES += cache
# TrueType GX/AAT table validation. Needs `ftgxval.c' below.
#
-# AUX_MODULES += gxvalid
+AUX_MODULES += gxvalid
# Support for streams compressed with gzip (files with suffix .gz).
#
# See include/freetype/ftgzip.h for the API.
AUX_MODULES += gzip
# Support for streams compressed with LZW (files with suffix .Z).
#
# See include/freetype/ftlzw.h for the API.
AUX_MODULES += lzw
# Support for streams compressed with bzip2 (files with suffix .bz2).
#
# See include/freetype/ftbzip2.h for the API.
AUX_MODULES += bzip2
# OpenType table validation. Needs `ftotval.c' below.
#
-# AUX_MODULES += otvalid
+AUX_MODULES += otvalid
# Auxiliary PostScript driver component to share common code.
#
@@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Tue, 23 Jun 2015 08:43:07 +0200
Subject: [PATCH] Enable subpixel rendering
---
include/freetype/config/ftoption.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index fadfb918742e..6a1f8125dafb 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -123,7 +123,7 @@ FT_BEGIN_HEADER
* When this macro is not defined, FreeType offers alternative LCD
* rendering technology that produces excellent output.
*/
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/**************************************************************************
@@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sun, 14 May 2017 18:09:31 +0200
Subject: [PATCH] Enable long PCF family names
---
include/freetype/config/ftoption.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index 6a1f8125dafb..9e52bad707ed 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -934,7 +934,7 @@ FT_BEGIN_HEADER
* If this option is activated, it can be controlled with the
* `no-long-family-names` property of the 'pcf' driver module.
*/
-/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
+#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
/*************************************************************************/
+11
View File
@@ -0,0 +1,11 @@
# Subpixel hinting mode can be chosen by setting the right TrueType interpreter
# version. The available settings are:
#
# truetype:interpreter-version=35 # Classic mode (default in 2.6)
# truetype:interpreter-version=40 # Minimal mode (default in 2.7)
#
# There are more properties that can be set, separated by whitespace. Please
# refer to the FreeType documentation for details.
# Uncomment and configure below
#export FREETYPE_PROPERTIES="truetype:interpreter-version=40"
+55
View File
@@ -0,0 +1,55 @@
[build]
type = "meson"
[build.flags]
build_dir = "build"
configure = [
"-Dfreetype2:default_library=shared",
"-Dfreetype2:error_strings=true",
"-Dfreetype2:harfbuzz=dynamic",
]
post_install = ['install -Dm644 $DEPOT_SPECDIR/freetype2.sh -t "$DESTDIR/etc/profile.d"']
keep = [ "etc/profile.d/freetype2.sh" ]
[dependencies]
build = [
"glib2",
"libunwind",
"libcxx",
"libx11",
"meson",
"harfbuzz",
"cairo"
]
runtime = [
"brotli",
"bzip2",
"glibc",
"libpng",
"zlib-ng",
"harfbuzz"
]
[[manual_sources]]
files = [
"0001-Enable-table-validation-modules.patch",
"0002-Enable-subpixel-rendering.patch",
"0003-Enable-long-PCF-family-names.patch",
]
[package]
description = "Font rasterization library"
homepage = "https://www.freetype.org/"
license = "FTL OR GPL-2.0-or-later"
name = "freetype2"
version = "2.14.2"
[[source]]
extract_dir = "$name-$version"
patches = [
"0001-Enable-table-validation-modules.patch",
"0002-Enable-subpixel-rendering.patch",
"0003-Enable-long-PCF-family-names.patch",
]
sha256 = "4b62dcab4c920a1a860369933221814362e699e26f55792516d671e6ff55b5e1"
url = "https://download-mirror.savannah.gnu.org/releases/freetype/freetype-$version.tar.xz"