internal/rosa/x: libXfont2 artifact
All checks were successful
Test / Create distribution (push) Successful in 1m6s
Test / Sandbox (push) Successful in 2m46s
Test / ShareFS (push) Successful in 3m43s
Test / Hakurei (push) Successful in 3m52s
Test / Sandbox (race detector) (push) Successful in 5m23s
Test / Hakurei (race detector) (push) Successful in 6m27s
Test / Flake checks (push) Successful in 1m23s

Required by xserver.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-14 01:17:27 +09:00
parent f095fcf181
commit ee1dffb676
2 changed files with 42 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ const (
LibXau LibXau
LibXext LibXext
LibXfixes LibXfixes
LibXfont2
LibXrandr LibXrandr
LibXrender LibXrender
LibXxf86vm LibXxf86vm

View File

@@ -504,7 +504,6 @@ func (t Toolchain) newFontUtil() (pkg.Artifact, string) {
utilMacros, utilMacros,
), version ), version
} }
func init() { func init() {
artifactsM[FontUtil] = Metadata{ artifactsM[FontUtil] = Metadata{
f: Toolchain.newFontUtil, f: Toolchain.newFontUtil,
@@ -619,6 +618,47 @@ func init() {
} }
} }
func (t Toolchain) newLibXfont2() (pkg.Artifact, string) {
const (
version = "2.0.7"
checksum = "jv9BZNA02493KB8j1lfAErF5SA3ZFcAhm3_UVJ--Bp1maz-vNprl_wXpkHApBi9M"
)
return t.NewPackage("libXfont2", version, newFromGitLab(
"gitlab.freedesktop.org",
"xorg/lib/libxfont",
"libXfont2-"+version,
checksum,
), nil, &MakeHelper{
Generate: "NOCONFIGURE=1 ./autogen.sh",
},
Automake,
Libtool,
PkgConfig,
utilMacros,
Freetype,
XorgProto,
Libxtrans,
Libfontenc,
), version
}
func init() {
artifactsM[LibXfont2] = Metadata{
f: Toolchain.newLibXfont2,
Name: "libXfont2",
Description: "X font handling library for server & utilities",
Website: "https://gitlab.freedesktop.org/xorg/lib/libxfont",
Dependencies: P{
Freetype,
Libfontenc,
},
ID: 17165,
}
}
func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) { func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) {
const ( const (
version = "0.19" version = "0.19"