aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-02-21 00:28:21 +0900
committerOphestra <cat@gensokyo.uk>2026-02-21 00:28:21 +0900
commit771adad60369cb99e4904e2929719a6dbbb26018 (patch)
treeb94a3b01c52235116507ee06ca000e3504f8772c /internal
parent178305cb22a04f9c68a0e6fdce03ecede4ef5917 (diff)
internal/rosa: texinfo artifact
Yet another wheel reinvented by GNU. Required to shut some GNU programs up. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/all.go2
-rw-r--r--internal/rosa/gnu.go18
2 files changed, 20 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index f29599f7..278e7628 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -80,6 +80,7 @@ const (
Setuptools
SquashfsTools
TamaGo
+ Texinfo
Toybox
toyboxEarly
Unzip
@@ -199,6 +200,7 @@ func ResolveName(name string) (p PArtifact, ok bool) {
"setuptools": Setuptools,
"squashfs-tools": SquashfsTools,
"tamago": TamaGo,
+ "texinfo": Texinfo,
"toybox": Toybox,
"unzip": Unzip,
"util-linux": UtilLinux,
diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go
index a5a79a4a..276ae3cb 100644
--- a/internal/rosa/gnu.go
+++ b/internal/rosa/gnu.go
@@ -283,6 +283,24 @@ test_disable 'int main(){return 0;}' gnulib-tests/test-lchown.c
}
func init() { artifactsF[Coreutils] = Toolchain.newCoreutils }
+func (t Toolchain) newTexinfo() pkg.Artifact {
+ const (
+ version = "7.2"
+ checksum = "9EelM5b7QGMAY5DKrAm_El8lofBGuFWlaBPSBhh7l_VQE8054MBmC0KBvGrABqjv"
+ )
+ return t.NewViaMake("texinfo", version, pkg.NewHTTPGetTar(
+ nil, "https://ftpmirror.gnu.org/gnu/texinfo/texinfo-"+version+".tar.gz",
+ mustDecode(checksum),
+ pkg.TarGzip,
+ ), &MakeAttr{
+ // nonstandard glibc extension
+ SkipCheck: true,
+ },
+ t.Load(Perl),
+ )
+}
+func init() { artifactsF[Texinfo] = Toolchain.newTexinfo }
+
func (t Toolchain) newGperf() pkg.Artifact {
const (
version = "3.3"