From ad0f1cf36bb73a9a464dd3968f28a756631a8322 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 13 May 2026 22:21:31 +0900 Subject: [PATCH] internal/rosa/x: libxkbfile artifact Required by xkbcomp. Signed-off-by: Ophestra --- internal/rosa/all.go | 3 ++- internal/rosa/x.go | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 2f8292a7..ed7b33f6 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -105,8 +105,9 @@ const ( Libtool Libucontext Libunistring - Libxshmfence + Libxkbfile Libxml2 + Libxshmfence Libxslt Libxtrans LMSensors diff --git a/internal/rosa/x.go b/internal/rosa/x.go index 98e1e4c3..bdf64b25 100644 --- a/internal/rosa/x.go +++ b/internal/rosa/x.go @@ -484,6 +484,41 @@ func init() { } } +func (t Toolchain) newLibxkbfile() (pkg.Artifact, string) { + const ( + version = "1.2.0" + checksum = "WUtph1ab0AyATahlwljchBxZJcpjYrjyhCK9DW2VO0uXEXaN22GWmUaibcA83i_B" + ) + return t.NewPackage("libxkbfile", version, newFromGitLab( + "gitlab.freedesktop.org", + "xorg/lib/libxkbfile", + "libxkbfile-"+version, + checksum, + ), nil, (*MesonHelper)(nil), + Automake, + Libtool, + PkgConfig, + + utilMacros, + LibX11, + ), version +} +func init() { + artifactsM[Libxkbfile] = Metadata{ + f: Toolchain.newLibxkbfile, + + Name: "libxkbfile", + Description: "XKB file handling routines", + Website: "http://www.x.org/wiki/XKB", + + Dependencies: P{ + LibX11, + }, + + ID: 1781, + } +} + func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) { const ( version = "0.19"