Emerging sawfish-1.2 produces the following error: gcc -DHAVE_CONFIG_H -DSAWFISH -I. -I.. -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o gtk-style gtk-style.c -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lnsl gtk-style.c: In function `print_rc_style': gtk-style.c:101: structure has no member named `font_name' gtk-style.c:102: structure has no member named `font_name' gtk-style.c:103: structure has no member named `fontset_name' gtk-style.c:104: structure has no member named `fontset_name' make[1]: *** [gtk-style] Error 1 make[1]: Leaving directory `/var/tmp/portage/sawfish-1.2/work/sawfish-1.2-gtk2/src' make: *** [all] Error 1 !!! ERROR: x11-wm/sawfish-1.2 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! (no error message)
Some more info: Portage 2.0.46-r2 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7) ================================================================= System uname: 2.4.20 i686 GenuineIntel USE="x86 oss 3dnow apm crypt cups encode libg++ mikmod mmx mpeg ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv berkdb cdr esd gdbm ggi gif gnome-libs gtk guile imlib java libwww nls opengl pam perl python qt readline sdl slang ssl svga tcltk tcpd tetex X dvd avi alsa oggvorbis png tiff jpeg xface lucid -mule -gpm -kde gnome -motif -arts -nas" ARCH="x86" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -O2 -pipe" CXXFLAGS="-mcpu=i686 -O2 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
http://bugzilla.gnome.org/show_bug.cgi?id=101834 This is the fix for the bug. Basically, sawfish 1.2 does not compile against gtk+-2.2 because of bad #ifdef logic. I am attaching a patch and ebuild.
Created attachment 6971 [details] Revised ebulid
Created attachment 6972 [details, diff] Patch to fix compile problems with gtk+-2.2
Patch added to the tree, thnx for the good work Andy :)