Created attachment 209837 [details]
The attached ebuild emerges cleanly on my machine.
i have compiled ebuild on my laptop after some work:
1. i have added freetype headers in include path:
kim@buki ~ $ freetype-config --cflags
kim@buki ~ $ grep INCLUDES config.mk
INCLUDES = -I. -I$(ROOT)/include -I$(INCLUDE) -I/usr/include -I/usr/include/freetype2
this fix problem with this:
MAKE all cmd/wmii/
In file included from /usr/include/X11/Xft/Xft.h:39,
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
2. i have installed x11-proto/xineramaproto
this fix problem with this:
cmd/wmii/xext.c:7:37: error: X11/extensions/Xinerama.h: No such file or directory
cmd/wmii/xext.c:127: warning: implicit declaration of function ‘XineramaQueryExtension’
cmd/wmii/xext.c:132: warning: implicit declaration of function ‘XineramaIsActive’
cmd/wmii/xext.c:138: error: ‘XineramaScreenInfo’ undeclared
cmd/wmii/xext.c:138: error: ‘res’ undeclared
cmd/wmii/xext.c:147: warning: implicit declaration of function ‘XineramaQueryScreens’
make: *** [xext.o] Error 1
(In reply to comment #2)
> 1. i have added freetype headers in include path:
> 2. i have installed x11-proto/xineramaproto
For me this wasn't enough (I was using wmii from hg, which is a copyt of the 3.9_beta1 ebuild with fixes for the above). Compiling wmii ends with:
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/bar.c:254: undefined reference to `XUngrabPointer'
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/client.c:130: undefined reference to `XSetWindowBorderWidth'
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/client.c:131: undefined reference to `XAddToSaveSet'
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/client.c:136: undefined reference to `XCreateColormap'
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/client.c:155: undefined reference to `XFreeColormap'
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/client.c:274: undefined reference to `XGrabServer'
/var/tmp/portage/x11-wm/wmii-9999/work/wmii/cmd/wmii/client.c:286: undefined reference to `XUngrabServer'
<and a lot more of this>
wmii 3.9 was released yesterday!
Created attachment 232521 [details]
some proposed ebuild improvements
I have been using this ebuild to install wmii. Changes are:
- only install (useflag) selected alternative wmiirc
- support both hg and releases
- do not install file DISTRIBUTORS
- install wmii.doc only if useflag 'doc' is set
- use 'exec /usr/bin/wmii' (for safety reasons)
- add some FIXMEs/TODOs
- probably some more changes
You might want to incorporate some of these when bumping the ebuild
Comment on attachment 209837 [details]
This ebuild inherits several problems from its predecessors. For one thing, it uses an internal libixp which it builds and then links statically to (while the ebuild also DEPENDs on sys-libs/libixp which is then not used). For another, we don't do nearly enough patching to adhere to Gentoo QA standards. I've tried cleaning up the ebuild and do more sensible patching, but I have nothing better to attach right now.
+*wmii-3.9 (07 Jun 2010)
+ 07 Jun 2010; Samuli Suominen <firstname.lastname@example.org> +wmii-3.9.ebuild:
+ Version bump wrt #291176 by Jeroen Roovers.