Minor problems with kitchen-sink repository

1 view
Skip to first unread message

Dave O'Neill

unread,
Oct 15, 2008, 2:09:27 PM10/15/08
to wmii...@googlegroups.com
Had to do a fresh install today, and came across some minor issues:

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

signature.asc

Bart Trojanowski

unread,
Oct 18, 2008, 11:38:37 AM10/18/08
to wmii...@googlegroups.com, Dave O'Neill
* Dave O'Neill <d...@dmo.ca> [081015 15:41]:

> Had to do a fresh install today, and came across some minor issues:
>
> 1) The additional prerequisites (debian packages, YMMV on other
> systems) of:
> libxrandr-dev
> libxinerama-dev
> pkg-config
> should be added to the instructions.

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/

Dave O'Neill

unread,
Oct 18, 2008, 2:20:27 PM10/18/08
to wmii...@googlegroups.com
Bart Trojanowski wrote:

>
> 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

Reply all
Reply to author
Forward
0 new messages