Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Thu, May 14, 2009 at 10:24:06PM +0200, steph wrote: Kris Maglione : Just pull from hg, and run 'make deb-dep deb' Thanks for this command (i didn't know) but some weeks ago i've tried with dpkg-buildpackage and i had the same error: make[4]: *** No rule to make target `/usr/lib/libixp.a', needed by `wmii.O'. Stop. make[3]: *** [dall] Error 2 make[2]: *** [dall] Error 2 make[1]: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 make: *** [deb] Error 2 zsh: exit 2 LANG=C sudo make deb-dep deb I don't know what is the problem: i install libixp from hg but it doesn't change anything. The debian/rules file seems to be old. I try with the debian diff from the last package in unstable released a week ago but the problèm is the same. I want to add that the compilation with make and make install works fine but as i said in my last post, i prefer dabian packages :) Just download the latest snapshot from wmii.suckless.org, it includes libixp. -- Kris Maglione The camel has evolved to be relatively self-sufficient. On the other hand, the camel has not evolved to smell good. Neither has Perl. --Larry Wall
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Thu, May 14, 2009 at 01:08:09PM +0200, steph wrote: It seems working fine with wmii 3.6+debian-5, no errors. I think you can change the README :) I will make others tests later, i don't have time now. If i see problems, i'll tell you. Thanks for this commit, i prefer use debian packages. It's more simple :) Just pull from hg, and run 'make deb-dep deb' -- Kris Maglione One does well to put on gloves when reading the New Testament. The proximity of so much uncleanliness almost forces one to do this. --Friedrich Nietzsche
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Wed, May 13, 2009 at 8:36 PM, Kris Maglione wrote: > On Tue, May 12, 2009 at 03:57:27PM -0700, Suraj Kurapati wrote: >> Perhaps wmii-3.6 does not support the "bar on top|bottom" setting and >> is therefore raising a "bad value" error? > > You can just catch the exception. All of the other values you write should > still take effect. Thanks, this is good to know. I applied your suggestion in this commit: http://github.com/sunaku/wmiirc/commit/9596761e8197f9802bc53c05b16253b9f737b6ff Steph, if you would like, please verify this commit with wmii-3.6. Cheers.
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Tue, May 12, 2009 at 12:50:35PM -0700, Suraj Kurapati wrote: Another minor annoyance. In wmii (latest hg version), the menu is called using wimenu. When I type a few characters and press tab, it behaves like left arrow key in dmenu. Rumani simply calls dmenu and tab completes the current word. Any idea how wimenu is implmented? Can the choice of the menu program be also made configurable? For the time being, you can git cherry-pick this commit: http://github.com/sunaku/wmiirc/commit/7dc215c300be27a8034869e39246d3e8e7330a4f Or you can just override the click_menu() method in the "script" section of your config.yaml file. I'll think about making it an option, maybe as "display:menu". I don't see any problems with the default key bindings, but since they seem unacceptable to you, they're rebindable in the latest tip. You should probably rebind them via a pipe so they can be configured via YAML. -- Kris Maglione You're bound to be unhappy if you optimize everything. --Donald Knuth
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Tue, May 12, 2009 at 03:57:27PM -0700, Suraj Kurapati wrote: Aha! This must be the real problem. I only use wmii-hg and I did not test my wmiirc with wmii-3.6. Perhaps wmii-3.6 does not support the "bar on top|bottom" setting and is therefore raising a "bad value" error? You can just catch the exception. All of the other values you write should still take effect. -- Kris Maglione When you start off by telling those who disagree with you that they are not merely in error but in sin, how much of a dialogue do you expect? --Thomas Sowell
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Tue, May 12, 2009 at 4:32 PM, steph wrote: > Suraj Kurapati : >>> Is rumai-3.0.0 works with wmii-3.6? >> >> Aha! This must be the real problem. I only use wmii-hg and I did >> not test my wmiirc with wmii-3.6. > > Perhaps you can write in the README that wmii-3.6 is not supported... Done. The new minimum requirement is wmii hg2444. http://github.com/sunaku/wmiirc/commit/04147250267a8b6c3ca6cbb7378f8cf554ae9fb1
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Tue, May 12, 2009 at 2:58 PM, steph wrote: > Suraj Kurapati : >> The problem was in the "data=" field of that message: [...] >> It seems that you added newlines to the values of those parameters > > No, i didn't change anything! My mistake. I parsed your error output incorrectly. > Is rumai-3.0.0 works with wmii-3.6? Aha! This must be the real problem. I only use wmii-hg and I did not test my wmiirc with wmii-3.6. Perhaps wmii-3.6 does not support the "bar on top|bottom" setting and is therefore raising a "bad value" error?
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Tue, May 12, 2009 at 7:05 AM, Aditya Mahajan wrote: > Another minor annoyance. In wmii (latest hg version), the menu is called > using wimenu. When I type a few characters and press tab, it behaves like > left arrow key in dmenu. Rumani simply calls dmenu and tab completes the > current word. Any idea how wimenu is implmented? Can the choice of the menu > program be also made configurable? For the time being, you can git cherry-pick this commit: http://github.com/sunaku/wmiirc/commit/7dc215c300be27a8034869e39246d3e8e7330a4f Or you can just override the click_menu() method in the "script" section of your config.yaml file. I'll think about making it an option, maybe as "display:menu".
Re: [wmii] Re: [ANN] YAML based Ruby wmiirc
On Tue, May 12, 2009 at 4:05 AM, steph wrote:
> I've installed rumai-3.0.0 but i can't use yaml config: wmii starts
> with an xterm and this error message in a xmessage window and in
> wmiirc.log: [...]
The problem was in the "data=" field of that message:
bar on bottom
colmode
default
normcolors #c0c0c0 #0a0a0a #202020
grabmod Mod1
border
1
font -*-fixed-medium-r-*-*-18-*-*-*-*-*-*-*
focuscolors #ff
#285577 #4c7899
It seems that you added newlines to the values of those parameters in
your config.yaml file, correct?
For example:
border: |
1
Will become { "border" => "\n1" } in Ruby.
> Thank you for rumai. Before the config.yaml release, I was using
> rumai-2.0.0 with the config.rb tag of your wmiirc which don't work
> with rumai-3.0.0.
No problem, I'm glad it was helpful to you.
