aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-02 23:42:00 +0900
committerOphestra <cat@gensokyo.uk>2026-05-02 23:42:00 +0900
commitb111e220501317519dc953c078e394f0f4e7342c (patch)
tree8ff7df04958ccb605a597343f37fec000d93bded /internal
parent1fa458c0bec7e686d16a08ad398d6b2598be5385 (diff)
internal/rosa/x: libxtrans artifact
Required by many X libraries. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/all.go1
-rw-r--r--internal/rosa/x.go32
2 files changed, 33 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index ba90a2c6..dd558b48 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -95,6 +95,7 @@ const (
Libunistring
Libxml2
Libxslt
+ Libxtrans
M4
MPC
MPFR
diff --git a/internal/rosa/x.go b/internal/rosa/x.go
index e233099d..37fbba27 100644
--- a/internal/rosa/x.go
+++ b/internal/rosa/x.go
@@ -26,6 +26,38 @@ func init() {
}
}
+func (t Toolchain) newLibxtrans() (pkg.Artifact, string) {
+ const (
+ version = "1.6.0"
+ checksum = "1cxDCF59fLf1HyGDMcjR1L50ZbjD0RTTEDUpOJYcHXu6HUK_Ds0x-KREY7rLNxu9"
+ )
+ return t.NewPackage("libxtrans", version, newFromGitLab(
+ "gitlab.freedesktop.org",
+ "xorg/lib/libxtrans",
+ "xtrans-"+version,
+ checksum,
+ ), nil, &MakeHelper{
+ Generate: "NOCONFIGURE=1 ./autogen.sh",
+ },
+ Automake,
+ Libtool,
+ PkgConfig,
+
+ utilMacros,
+ ), version
+}
+func init() {
+ artifactsM[Libxtrans] = Metadata{
+ f: Toolchain.newLibxtrans,
+
+ Name: "libxtrans",
+ Description: "X Window System Protocols Transport layer shared code",
+ Website: "https://gitlab.freedesktop.org/xorg/lib/libxtrans",
+
+ ID: 13441,
+ }
+}
+
func (t Toolchain) newXproto() (pkg.Artifact, string) {
const (
version = "7.0.31"