From e1d763971f24357dd15083f87cd4b7748eac5ae4 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 02:58:43 +0100 Subject: [PATCH] Build the X Athena widget set, XTEST and X11 session utilities --- libxaw/PKGBUILD.vile | 27 +++++++++++++++++++++++++++ libxtst/PKGBUILD.vile | 27 +++++++++++++++++++++++++++ xauth/PKGBUILD.vile | 25 +++++++++++++++++++++++++ xrdb/PKGBUILD.vile | 25 +++++++++++++++++++++++++ xset/PKGBUILD.vile | 25 +++++++++++++++++++++++++ 5 files changed, 129 insertions(+) create mode 100644 libxaw/PKGBUILD.vile create mode 100644 libxtst/PKGBUILD.vile create mode 100644 xauth/PKGBUILD.vile create mode 100644 xrdb/PKGBUILD.vile create mode 100644 xset/PKGBUILD.vile diff --git a/libxaw/PKGBUILD.vile b/libxaw/PKGBUILD.vile new file mode 100644 index 0000000..91b2449 --- /dev/null +++ b/libxaw/PKGBUILD.vile @@ -0,0 +1,27 @@ +defpkgbuild(libxaw, + #:pkgname, "libxaw", + #:pkgver, "1.0.16", + #:pkgrel, 1, + #:pkgdesc, "X Athena Widget Set", + #:arch, [#:x86-64, #:aarch64], + #:license, "MIT", + #:url, "https://www.x.org/", + #:depends, ["libxt", "libxext", "libxmu", "libxpm"], + #:makedepends, ["xorgproto"], + #:source, ["https://xorg.freedesktop.org/archive/individual/lib/libXaw-1.0.16.tar.xz"], + #:sha256sums, ["731d572b54c708f81e197a6afa8016918e2e06dfd3025e066ca642a5b8c39c8f"], + + #:build, fn() { + run("vinix-configure", "libXaw-1.0.16/configure", "--disable-specs", "--disable-xaw6") + run("make") + }, + #:check, fn() { + run("test", "-s", "src/.libs/libXaw7.so") + run("readelf", "-d", "src/.libs/libXaw7.so") + }, + #:package, fn() { + run("make", "install", string-append("DESTDIR=", pkgdir())) + run("find", pkgdir(), "-name", "*.la", "-delete") + run("install", "-Dm644", "libXaw-1.0.16/COPYING", + string-append(pkgdir(), "/usr/share/licenses/libxaw/COPYING")) + }) diff --git a/libxtst/PKGBUILD.vile b/libxtst/PKGBUILD.vile new file mode 100644 index 0000000..0fc50eb --- /dev/null +++ b/libxtst/PKGBUILD.vile @@ -0,0 +1,27 @@ +defpkgbuild(libxtst, + #:pkgname, "libxtst", + #:pkgver, "1.2.5", + #:pkgrel, 2, + #:pkgdesc, "X11 XTEST and RECORD client library", + #:arch, [#:x86-64, #:aarch64], + #:license, "MIT", + #:url, "https://www.x.org/", + #:depends, ["libx11", "libxext", "libxi"], + #:makedepends, ["xorgproto"], + #:source, ["https://xorg.freedesktop.org/archive/individual/lib/libXtst-1.2.5.tar.xz"], + #:sha256sums, ["b50d4c25b97009a744706c1039c598f4d8e64910c9fde381994e1cae235d9242"], + + #:build, fn() { + run("vinix-configure", "libXtst-1.2.5/configure", "--disable-specs") + run("make") + }, + #:check, fn() { + run("test", "-s", "src/.libs/libXtst.so") + run("readelf", "-d", "src/.libs/libXtst.so") + }, + #:package, fn() { + run("make", "install", string-append("DESTDIR=", pkgdir())) + run("find", pkgdir(), "-name", "*.la", "-delete") + run("install", "-Dm644", "libXtst-1.2.5/COPYING", + string-append(pkgdir(), "/usr/share/licenses/libxtst/COPYING")) + }) diff --git a/xauth/PKGBUILD.vile b/xauth/PKGBUILD.vile new file mode 100644 index 0000000..3669a46 --- /dev/null +++ b/xauth/PKGBUILD.vile @@ -0,0 +1,25 @@ +defpkgbuild(xauth, + #:pkgname, "xauth", + #:pkgver, "1.1.3", + #:pkgrel, 1, + #:pkgdesc, "X.Org authorization settings program", + #:arch, [#:x86-64, #:aarch64], + #:license, "MIT", + #:url, "https://www.x.org/", + #:depends, ["libx11", "libxau", "libxext", "libxmu"], + #:makedepends, ["xorgproto"], + #:source, ["https://xorg.freedesktop.org/archive/individual/app/xauth-1.1.3.tar.xz"], + #:sha256sums, ["e7075498bae332f917f01d660f9b940c0752b2556a8da61ccb62a44d0ffe9d33"], + + #:build, fn() { + run("vinix-configure", "xauth-1.1.3/configure") + run("make") + }, + #:check, fn() { + run("vinix-run", "./xauth", "-V") + }, + #:package, fn() { + run("make", "install", string-append("DESTDIR=", pkgdir())) + run("install", "-Dm644", "xauth-1.1.3/COPYING", + string-append(pkgdir(), "/usr/share/licenses/xauth/COPYING")) + }) diff --git a/xrdb/PKGBUILD.vile b/xrdb/PKGBUILD.vile new file mode 100644 index 0000000..92cd896 --- /dev/null +++ b/xrdb/PKGBUILD.vile @@ -0,0 +1,25 @@ +defpkgbuild(xrdb, + #:pkgname, "xrdb", + #:pkgver, "1.2.2", + #:pkgrel, 1, + #:pkgdesc, "X server resource database utility", + #:arch, [#:x86-64, #:aarch64], + #:license, "MIT", + #:url, "https://www.x.org/", + #:depends, ["libx11", "libxmu"], + #:makedepends, ["xorgproto"], + #:source, ["https://xorg.freedesktop.org/archive/individual/app/xrdb-1.2.2.tar.xz"], + #:sha256sums, ["31f5fcab231b38f255b00b066cf7ea3b496df712c9eb2d0d50c670b63e5033f4"], + + #:build, fn() { + run("vinix-configure", "xrdb-1.2.2/configure", "--with-cpp=/usr/bin/cpp") + run("make") + }, + #:check, fn() { + run("vinix-run", "./xrdb", "-version") + }, + #:package, fn() { + run("make", "install", string-append("DESTDIR=", pkgdir())) + run("install", "-Dm644", "xrdb-1.2.2/COPYING", + string-append(pkgdir(), "/usr/share/licenses/xrdb/COPYING")) + }) diff --git a/xset/PKGBUILD.vile b/xset/PKGBUILD.vile new file mode 100644 index 0000000..9e0a5d4 --- /dev/null +++ b/xset/PKGBUILD.vile @@ -0,0 +1,25 @@ +defpkgbuild(xset, + #:pkgname, "xset", + #:pkgver, "1.2.5", + #:pkgrel, 1, + #:pkgdesc, "X.Org xset application", + #:arch, [#:x86-64, #:aarch64], + #:license, "MIT", + #:url, "https://www.x.org/", + #:depends, ["libx11", "libxmu", "libxext"], + #:makedepends, ["xorgproto"], + #:source, ["https://xorg.freedesktop.org/archive/individual/app/xset-1.2.5.tar.xz"], + #:sha256sums, ["9f692d55635b3862cd63633b1222a87680ec283c7a8e8ed6dd698a3147f75e2f"], + + #:build, fn() { + run("vinix-configure", "xset-1.2.5/configure") + run("make") + }, + #:check, fn() { + run("vinix-run", "./xset", "-version") + }, + #:package, fn() { + run("make", "install", string-append("DESTDIR=", pkgdir())) + run("install", "-Dm644", "xset-1.2.5/COPYING", + string-append(pkgdir(), "/usr/share/licenses/xset/COPYING")) + }) -- 2.56.1