Compile 3.2 with non-standard xft
Kai Grossjohann
kai at emptydomain.de
Sat Nov 20 11:26:35 EST 2004
I am running Solaris 9 which comes with its own version of xft and freetype,
e.g. there are files /usr/openwin/include/X11/Xft/Xft.h and
/usr/local/include/freetype2/freetype/freetype.h.
Compiling Openbox against those produces flyspecks instead of proper
window titles using the default theme.
So I wanted to compile against the blastwave.org packages.
However, that proved to be nontrivial, and I had to apply the
patch shown below. Essentially, the compiler was always seeing
-I/usr/openwin/include before -I/opt/csw/include and was thus loading
the wrong Xft.h and/or freetype.h.
WDYT about the patch?
Kai
sally% gdiff -ru openbox-3.2 openbox-3.2.kai
Only in openbox-3.2.kai: .deps
diff -ru openbox-3.2/Makefile.in openbox-3.2.kai/Makefile.in
--- openbox-3.2/Makefile.in 2004-04-17 13:45:35.000000000 +0200
+++ openbox-3.2.kai/Makefile.in 2004-11-20 16:23:19.385326000 +0100
@@ -231,8 +231,8 @@
render_rendertest_SOURCES = render/test.c
render_libobrender_la_CPPFLAGS = \
- $(X_CFLAGS) \
$(XFT_CFLAGS) \
+ $(X_CFLAGS) \
$(GLIB_CFLAGS) \
$(XML_CFLAGS) \
-DG_LOG_DOMAIN=\"ObRender\" \
@@ -280,9 +280,9 @@
openbox_openbox_CPPFLAGS = \
+ $(XFT_CFLAGS) \
$(X_CFLAGS) \
$(SM_CFLAGS) \
- $(XFT_CFLAGS) \
$(GLIB_CFLAGS) \
$(LIBSN_CFLAGS) \
$(XML_CFLAGS) \
Only in openbox-3.2.kai: nohup.out
Only in openbox-3.2.kai/openbox: .libs
Only in openbox-3.2.kai/tools/gnome-panel-control: .libs
Only in openbox-3.2.kai/tools/kdetrayproxy: .libs
zsh: exit 1 gdiff -ru openbox-3.2 openbox-3.2.kai
More information about the openbox
mailing list