the pekwm port as is won't build on my system, it fails with the following error - g++ -mcpu=i686 -O2 -pipe -I/usr/X11R6/include -DSHAPE -DXFT -DXINERAMA -DMENU S -DKEYS -DHARBOUR -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share/pekwm\" -Wall -c th eme.cc -o theme.o In file included from font.hh:28, from theme.hh:27, from theme.cc:22: /usr/X11R6/include/X11/Xft/Xft.h:52: syntax error before `;' token /usr/X11R6/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined as a type. /usr/X11R6/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined as a type. /usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:354: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:393: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:399: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:408: parse error before `,' token /usr/X11R6/include/X11/Xft/Xft.h:418: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:461: parse error before `*' token make[1]: *** [theme.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/pekwm-0.1.2/work/pekwm-0.1.2/src' make: *** [all] Error 2 It looks like some sort of XFT problem, and I've tried with both FreeType's 1 and 2 installed. So far I've found two fixes. The first is simply to remove the --enable-xft from the ebuild, and build without XFT support. This way it builds and runs without trouble, and without XFT support. The second solution is to patch the following files (mostly core X and FreeType files) to allow pekwm to build with XFT support, as follows.
Created attachment 7701 [details, diff] Xft.h patch
Created attachment 7702 [details, diff] ft2build.h patch
Created attachment 7703 [details, diff] ftheader.h patch
Created attachment 7704 [details, diff] fftypes.h patch
The locations of the files to be patched are: /usr/X11R6/include/X11/Xft/Xft.h /usr/include/ft2build.h /usr/X11R6/include/freetype2/freetype/config/ftheader.h /usr/X11R6/include/freetype2/freetype/fttypes.h
*** This bug has been marked as a duplicate of 13109 ***
bleh, wrong thing
Brad, seems like this puppy dont like Xft2 (guessing here). I however do not think patching Xft.h and co is an good idea :/
Exactly what's wrong...there is no support for XFT2, and I'm definately no XFT expert. I also know patching our XFT libs is _NOT_ the way to solve this issue. I've been in touch with the author in IRC, and he's feeling a little overwhelmed because he basically is doing this project himself. Right now there are no plans on adding XFT2 support, and he asked if we could come up with any kind of patch he would gladly accept with open arms :)
Add the 'pkg-config xft' check for now? -------------------- if pkg-config xft then myconf="${myconf} --disable-xft" else myconf="${myconf} --enable-xft" fi
hmm sorry for the non-wrapping comment, I've never had that problem with mozilla before, I'm wondering if there's a problem with the new bugzilla?
grrrrr I don't know whats up with the wrapping, but I'm gonna add the pkg-config xft check :)
added the check to diable xft2