|

xsetroot 1.1.4: root-window utility (xdm Xsetup dependency)

Author: Chris Tusa <chris.tusa@leafscale.com>
Date: Jul 23, 2026 22:37
Changeset: 511ba2d79ac086ea7191dc6c0128e5b2f26a0e35
Branch: default

Diff

diff -r f3dcdf0b59f1 -r 511ba2d79ac0 base/xsetroot/build.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/base/xsetroot/build.sh	Thu Jul 23 22:37:01 2026 -0500
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Build script for xsetroot (autotools, Template A verbatim).
+set -e
+cd "$SRCDIR"
+
+# MANDATORY libtool fix (Task 4a, 2026-07-22): see libXau/build.sh for the
+# full explanation. Piggyback hammerhead onto the kopensolaris arm.
+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:/usr/local/lib/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 f3dcdf0b59f1 -r 511ba2d79ac0 base/xsetroot/package.toml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/base/xsetroot/package.toml	Thu Jul 23 22:37:01 2026 -0500
@@ -0,0 +1,28 @@
+# xsetroot - X.Org root window utility (solid color / bitmap / cursor)
+# https://gitlab.freedesktop.org/xorg/app/xsetroot
+#
+# hammerhead-xdm's Xsetup_0 execs /usr/local/bin/xsetroot to paint a solid
+# backdrop before the xlogin greeter appears (Task 4 finding: binary was
+# referenced but never ported). See docs/roadmap/DESKTOP_XLIBRE_XDM_GREETER_PLAN.md.
+
+[package]
+name = "xsetroot"
+version = "1.1.4"
+release = 1
+description = "X.Org root window utility (solid color / bitmap / cursor)"
+url = "https://xorg.freedesktop.org/releases/individual/app/"
+license = "MIT"
+maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
+arch = "x86_64"
+
+[dependencies]
+runtime = ["libX11", "libXmu", "libXcursor"]
+build = ["libX11", "libXmu", "libXcursor", "xbitmaps", "xorgproto", "util-macros"]
+
+[[source]]
+file = "xsetroot-1.1.4.tar.xz"
+urls = ["https://xorg.freedesktop.org/releases/individual/app/xsetroot-1.1.4.tar.xz"]
+checksum = "1315a3f7e9abe06357363b93461e272601f67225ce0bc075c430cce35073362b"
+
+[build]
+parallel = true