1) The additional prerequisites (debian packages, YMMV on other
systems) of:
libxrandr-dev
libxinerama-dev
pkg-config
should be added to the instructions.
2) wmii/mk/wmii.mk tries to call 'hg' to detect its own version number,
which fails. Hardcoding a VERSION and CONFVERSION in that file
works as a workaround. I'm not sure what the proper fix should be,
given that the submodules wouldn't have a clue about hg history.
Cheers,
Dave
So technically 2 of those are in the README already.
apt-get install build-essential debhelper \
libx11-dev libxext-dev libxt-dev \
lua5.1 liblua5.1-0-dev liblua5.1-posix0 \
dwm-tools xclip dstat pkg-config \
libxrandr-dev x11proto-randr-dev
I will add libxinerama-dev, and sync up the blog entry.
> 2) wmii/mk/wmii.mk tries to call 'hg' to detect its own version number,
> which fails. Hardcoding a VERSION and CONFVERSION in that file
> works as a workaround. I'm not sure what the proper fix should be,
> given that the submodules wouldn't have a clue about hg history.
I don't see this bug. I have a clean checkout, no VERSION or
CONFVERSION set; it builds.
Without hg installed I see this:
% cd wmiirc-lua-kitchen-sink
% make user
...
MAKE all cmd/wmii/
/bin/sh: hg: command not found
/bin/sh: hg: command not found
...
#
BUILD OK
... so it doesn't care about having a version.
With hg installed I see:
% cd wmiirc-lua-kitchen-sink
% make user
...
MAKE all cmd/wmii/
abort: There is no Mercurial repository here (.hg not found)
abort: There is no Mercurial repository here (.hg not found)!
...
#
BUILD OK
... again, it doesn't care.
The only thing I do see is no version in the output of wmiir:
% wmiir -v
wmiir-hg, ©2008 Kris Maglione
^^
(this should be the version)
... but it still builds and runs.
Can you give me your build output for with-out-hg and with-hg cases?
-Bart
--
WebSig: http://www.jukie.net/~bart/sig/
>
> Can you give me your build output for with-out-hg and with-hg cases?
>
I could... if I could reproduce the failure, which I can't seem to do.
Let's just ignore it for now.
Cheers,
Dave