sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (7116ff3472cbc2fd0f295754034eb85a3d6aef06)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (7116ff3472cbc2fd0f295754034eb85a3d6aef06)
- Date: Thu, 29 Oct 2026 17:09:48 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
windowmanagers/openbox/DEPENDS | 10 ++++++++++
windowmanagers/openbox/HISTORY | 8 ++++++++
windowmanagers/openbox/PRE_BUILD | 7 +++++++
3 files changed, 25 insertions(+)
New commits:
commit 7116ff3472cbc2fd0f295754034eb85a3d6aef06
Author: chris_debian <cjhandrew AT gmail.com>
Commit: Pavel Vinogradov <public AT sourcemage.org>
windowmanagers/openbox: declare the libraries it links directly
findLibDepends on a clean build found openbox, libobt and libobrender
linking libX11, libXext, libXau, libICE, libXft, freetype and harfbuzz
without declaring them; they only arrived through xorg-libs and pango.
libSM and libICE were linked even with session management disabled:
autoconf's AC_PATH_XTRA puts -lSM -lICE in X_PRE_LIBS whenever libSM is
installed, and openbox's m4/x11.m4 adds X_PRE_LIBS to every X link line.
A new PRE_BUILD drops X_PRE_LIBS there (in both x11.m4 and the shipped
configure, as BUILD may rerun autoconf), so libsm stays optional and
libice is needed only with it.
diff --git a/windowmanagers/openbox/DEPENDS b/windowmanagers/openbox/DEPENDS
index 82a2218..1e3651e 100755
--- a/windowmanagers/openbox/DEPENDS
+++ b/windowmanagers/openbox/DEPENDS
@@ -4,6 +4,12 @@ depends glib2 &&
depends libxml2 &&
depends -sub "X" pango &&
depends libxfixes &&
+depends libx11 &&
+depends libxext &&
+depends libxau &&
+depends libxft &&
+depends freetype2 &&
+depends harfbuzz &&
optional_depends libxcursor \
"--enable-xcursor" \
@@ -25,6 +31,10 @@ optional_depends libsm \
"--disable-session-management" \
"for session management support" &&
+if is_depends_enabled $SPELL libsm; then
+ depends libice
+fi &&
+
optional_depends startup-notification \
"--enable-startup-notification" \
"--disable-startup-notification" \
diff --git a/windowmanagers/openbox/HISTORY b/windowmanagers/openbox/HISTORY
index df1b0b9..f9b27aa 100644
--- a/windowmanagers/openbox/HISTORY
+++ b/windowmanagers/openbox/HISTORY
@@ -1,3 +1,11 @@
+2026-10-29 chris_debian <cjhandrew AT gmail.com>
+ * DEPENDS: added libx11, libxext, libxau, libxft, freetype2 and
+ harfbuzz; openbox and its libraries link them directly, but they
+ were only pulled in indirectly (xorg-libs, pango)
+ * DEPENDS: libice is needed only with libsm
+ * PRE_BUILD: added, stop configure linking -lSM -lICE into everything
+ when libSM is installed, so --disable-session-management works
+
2017-08-10 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 3.6.1
diff --git a/windowmanagers/openbox/PRE_BUILD
b/windowmanagers/openbox/PRE_BUILD
new file mode 100755
index 0000000..b0cd1c6
--- /dev/null
+++ b/windowmanagers/openbox/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# AC_PATH_XTRA puts -lSM -lICE in X_PRE_LIBS whenever libSM is installed,
+# and x11.m4 adds X_PRE_LIBS to every X link line; SM_LIBS covers real use
+sed -i 's/X_LIBS="\$X_PRE_LIBS \$X_LIBS -lX11"/X_LIBS="$X_LIBS -lX11"/' \
+ m4/x11.m4 configure
- [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (7116ff3472cbc2fd0f295754034eb85a3d6aef06), Pavel Vinogradov, 10/29/2026
Archive powered by MHonArc 2.6.24.