#!/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" # 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 " 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