libXaw 1.0.16: Athena widgets (xdm dependency)
Author:
Chris Tusa <chris.tusa@leafscale.com>
Date:
Jul 23, 2026 22:11
Changeset:
6501bd85f6868da967e32c2c4affe067cea55613
Branch:
default
Changed files:
Diff
diff -r 6ef80c28665d -r 6501bd85f686 base/libXaw/build.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/base/libXaw/build.sh Thu Jul 23 22:11:56 2026 -0500 @@ -0,0 +1,28 @@ +#!/bin/sh +# Build script for libXaw (autotools, Template A). +set -e +cd "$SRCDIR" + +# GOTCHA (see libXmu build.sh, Task 4a): this release's libtool-generated +# `configure` has no solaris/illumos/hammerhead arm in its dynamic-linker +# detection `case $host_os in ...` block - unmatched OS falls through to +# `*) dynamic_linker=no ;;` which forces can_build_shared=no (static-only +# .a, no .so). Patch the case arm to add hammerhead* alongside the generic +# glibc/ELF branch (same SONAME/.so.N convention applies). +if [ -f configure ]; then + sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure +fi + +export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH" +export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS" +export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib" + +./configure \ + --prefix="$PREFIX" \ + --build="$BUILD_TRIPLE" \ + --host="$BUILD_TRIPLE" \ + --sysconfdir="$SYSCONFDIR" \ + --disable-static + +gmake -j${JOBS:-1} +gmake install DESTDIR="$PKGDIR" diff -r 6ef80c28665d -r 6501bd85f686 base/libXaw/package.toml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/base/libXaw/package.toml Thu Jul 23 22:11:56 2026 -0500 @@ -0,0 +1,24 @@ +# libXaw - X Athena Widget library +# https://gitlab.freedesktop.org/xorg/lib/libxaw + +[package] +name = "libXaw" +version = "1.0.16" +release = 1 +description = "X Athena Widget library" +url = "https://xorg.freedesktop.org/releases/individual/lib/" +license = "MIT" +maintainer = "Chris Tusa <chris.tusa@leafscale.com>" +arch = "x86_64" + +[dependencies] +runtime = ["libXt", "libXmu", "libXpm", "libX11", "libXext"] +build = ["libXt", "libXmu", "libXpm", "libX11", "libXext", "xorgproto", "util-macros"] + +[[source]] +file = "libXaw-1.0.16.tar.xz" +urls = ["https://xorg.freedesktop.org/archive/individual/lib/libXaw-1.0.16.tar.xz"] +checksum = "731d572b54c708f81e197a6afa8016918e2e06dfd3025e066ca642a5b8c39c8f" + +[build] +parallel = true