Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kahakai 0.1! (with ebuild)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Xaignar
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 153
Location: Denmark

PostPosted: Wed Jun 11, 2003 7:10 pm    Post subject: Kahakai 0.1! (with ebuild) Reply with quote

The fork of the Waimea wm has had its first release, and the devs has asked me to post about it here. :)
Their homepage can be found here and the ebuild (and installation instructions) can be found in this thread.

Xaignar aka. Vazagi
Back to top
View user's profile Send private message
AgenT
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 280

PostPosted: Wed Jun 11, 2003 10:11 pm    Post subject: Reply with quote

I think this thread should be used when discussing Kahakai and not the other one which was meant as a question about Waimea.

Because of this, here is a copy of Vazagi's post concerning the ebuild:

====================

Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:  $

DESCRIPTION="A language agnostic scriptable window manager based on Waimea."
SRC_URI="http://easynews.dl.sourceforge.net/sourceforge/kahakai/${P}.tar.gz"
HOMEPAGE="http://kahakai.sf.net"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc"
IUSE=""

DEPEND="virtual/x11
   media-libs/imlib2
   virtual/xft
   ~dev-lang/swig-1.3.16"

RDEPEND=">=dev-lang/python-2.2.2"

S=${WORKDIR}/${P}
RESTRICT="nostrip"

PROVIDE="virtual/blackbox"

src_compile() {
   econf ${myconf} || die
   emake || die
}

src_install() {
   einstall || die
   dodoc doc/*

   dodir /etc/X11/Sessions
   echo "/usr/bin/kahakai" > ${D}/etc/X11/Sessions/kahakai
   chmod +x ${D}/etc/X11/Sessions/kahakai
}


To install do this (as root):


    1. Enable PORTDIR_OVERLAY in /etc/make.conf
    2. Save this ebuild as /usr/local/portage/x11-wm/kahakai/kahakai-0.1.ebuild
    3. Do
    Code:
    ebuild /usr/local/portage/x11-wm/kahakai/kahakai-0.1.ebuild digest

    4. Do
    Code:
    ACCEPT_KEYWORDS="~x86" emerge kahakai

    5. In /etc/rc.conf change XSESSION to kahakai
    6. Restart x
    7. Enjoy



Notes:
There are no useflags as they all result in brokeness at the moment.

Edit:
Changed python dependency to 2.2.2+ as requested by the devs.
Edit 2:
Added RESTRICT="nostrip", to fix segfaults one of the devs was experiencing

====================
Back to top
View user's profile Send private message
Xaignar
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 153
Location: Denmark

PostPosted: Wed Jun 11, 2003 10:55 pm    Post subject: Reply with quote

Well gee, there goes my plans of only having the ebuild in one place in case I had to change it again. ;)
Back to top
View user's profile Send private message
RedBeard0531
Guru
Guru


Joined: 21 Sep 2002
Posts: 415
Location: maryland

PostPosted: Wed Jun 11, 2003 11:10 pm    Post subject: Reply with quote

Does this support tabs? If so, does it do it in a way similar to old (pre .90) flux? I hate the integrated tabs. Unfortunatly i can no longer compile old fluxes.
_________________
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Back to top
View user's profile Send private message
princeofchaos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2003
Posts: 107

PostPosted: Wed Jun 11, 2003 11:13 pm    Post subject: Reply with quote

0.1 doesn't support tabs (called merged windows), but 0.2 will - they are actually in the code and I just committed fixes to make merged windows from Waimea CVS work.

They are integrated into the window title like in pekwm, not a separate tab bar like in older fluxboxes.

P.S. I'm one of the lead developers of Kahakai.
Back to top
View user's profile Send private message
AgenT
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 280

PostPosted: Thu Jun 12, 2003 12:25 am    Post subject: Reply with quote

Xaignar wrote:
Well gee, there goes my plans of only having the ebuild in one place in case I had to change it again. ;)


Hah! :twisted:

Of course, if you make changes you can always post the changes and/or the whole ebuild. ;)

_________________
AgenT: Monopolizing one ebuild at a time.
[img:5b41c13f5f]https://forums.gentoo.org/images/avatars/gallery/Austin_Powers/Austin_Powers_-_Dr_Evil.gif[/img:5b41c13f5f]
(sorry, I could not resist)


Last edited by AgenT on Thu Jun 12, 2003 1:09 am; edited 1 time in total
Back to top
View user's profile Send private message
RedBeard0531
Guru
Guru


Joined: 21 Sep 2002
Posts: 415
Location: maryland

PostPosted: Thu Jun 12, 2003 12:37 am    Post subject: Reply with quote

AgenT wrote:

Of course, if you make changes you can always post the changes and/or the whole ebuild. ;)


or just post it to breakmygentoo and link
_________________
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Back to top
View user's profile Send private message
mackstann
n00b
n00b


Joined: 12 Jun 2003
Posts: 50
Location: Iowa, US

PostPosted: Thu Jun 12, 2003 3:59 am    Post subject: Reply with quote

Hi all, I'm one of the people working on Kahakai. Merged windows (tabs) are now working, in CVS. Even though I have been working on the project, I actually had not much chance to really use it and play with it alot (other than making sure it still built and ran, etc :)) until today, after the release. I must say that the python configuration stuff is really, really cool. Also keep in mind that we want to get Ruby working next, and then Perl, but we only have one Ruby guy (who has not had a lot of time lately) and no Perl people.

We will be releasing fairly frequently (intervals of probably a few weeks or around a month at most), and want to stay very active, so we want as much feedback and participation as we can get. Please don't be shy about filing bug reports, feature requests, etc on the sourceforge page. Also feel free to stop by our irc channel, #kahakai on irc.freenode.net. We really want to get lots of people involved, and basically have a project that operates somewhat like fluxbox, i.e. lots of good docs, friendly, accessable developers, etc. 0.1 is a bit raw of course, and CVS is still changing alot, and will for a while. I doubt that anyone would really want to use Kahakai as their main WM quite yet, lots of things are changing very quickly -- but don't hesitate to get involved, it's a very cool concept and is coming along nicely. :)

mackstann
Back to top
View user's profile Send private message
RedBeard0531
Guru
Guru


Joined: 21 Sep 2002
Posts: 415
Location: maryland

PostPosted: Fri Jun 13, 2003 10:10 am    Post subject: Reply with quote

Here is a cvs ebuild. It isn't well formated yet, but i will do that l8r. I'm running on a version compiled on it now. If it gives you a cvs error, wait a few min and try again.

[edit] formating finished and submitted here.

To give creadit where credit is due: this is merely a hacked cross of the ebuild posted above, and the fluxbox-cvs ebuild.
_________________
OH MY GOD! Kenny just killed Kenny!
That Basterd!


Last edited by RedBeard0531 on Fri Jun 13, 2003 8:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
karl11
Guru
Guru


Joined: 25 Jun 2002
Posts: 469
Location: Raleigh, NC

PostPosted: Fri Jun 13, 2003 2:02 pm    Post subject: Reply with quote

We would like to have this on BreakMyGentoo, but I'm going to ask that if you want it on BreakMyGentoo that you please submit it at:

bugs.breakmygentoo.net


We simply can't keep scouring the forums looking for stuff as it takes too much time. So get something packaged, send it to our bugzilla, and I'll personally get it out there as soon as I can :)

Karl
Back to top
View user's profile Send private message
Xaignar
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 153
Location: Denmark

PostPosted: Fri Jun 13, 2003 3:03 pm    Post subject: Reply with quote

Wouldn't it be better to submit it to bugs.gentoo.org? I mean, even though it's an alpha release it seems stable, I've been using it since I wrote that ebuild and havent had a single crash so far.
Back to top
View user's profile Send private message
karl11
Guru
Guru


Joined: 25 Jun 2002
Posts: 469
Location: Raleigh, NC

PostPosted: Fri Jun 13, 2003 3:23 pm    Post subject: Reply with quote

"even though it's an alpha release it seems stable" --- words that mean not portage quality

You should definitely submit this to bugs.gentoo.org, but if you want people to have access to it, submitting it to breakmygentoo.net will get it on the breakmygentoo ebuild page. The problem is, unstable, alpha, and beta software has a very very hard time making it to official portage. I've even submitted a few stable things that are still sitting on bugs.gentoo.org waiting for someone to do something. So in short, the idea behind breakmygentoo is that you will immediately gain more people checking it out, and it will be in one central place. You probably won't get your ebuild in portage very soon. If you do get your ebuild in portage, great! More power to you! As builds get merged into portage, we remove them from BreakMyGentoo as to keep only the version in portage around.


It's up to you, but we have a really wonderful community that checks out BreakMyGentoo on a regular basis and we try to make our tools as accomodating as possible. One of our goals was to help relieve the forums of ebuilds posted in threads such as above.

Karl
Back to top
View user's profile Send private message
Xaignar
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 153
Location: Denmark

PostPosted: Fri Jun 13, 2003 5:14 pm    Post subject: Reply with quote

All right then, breakmygentoo.net it is, unless the (kahakai) devs object. =)
Back to top
View user's profile Send private message
danb
n00b
n00b


Joined: 27 Apr 2003
Posts: 9
Location: Austin, TX

PostPosted: Fri Jun 13, 2003 8:33 pm    Post subject: Reply with quote

Xaignar wrote:
All right then, breakmygentoo.net it is, unless the (kahakai) devs object. =)

of course not. we will be sure to link to the ebuilds from our page as well
Back to top
View user's profile Send private message
danb
n00b
n00b


Joined: 27 Apr 2003
Posts: 9
Location: Austin, TX

PostPosted: Sat Jun 14, 2003 12:06 am    Post subject: Reply with quote

due to anonymous access (apparently) being restricted on bugs.breakmygentoo.net, i've decided to just store the ebuilds and whatnot on the kahakai.sf.net page

Xaignar, you can just keep yours updated there ;)

link: http://kahakai.sf.net/download.php

(give me about an hour from this post to fix the links on that page)
Back to top
View user's profile Send private message
karl11
Guru
Guru


Joined: 25 Jun 2002
Posts: 469
Location: Raleigh, NC

PostPosted: Sat Jun 14, 2003 3:17 am    Post subject: Reply with quote

Ok...bare with me...we're trying to help you guys out. So please don't take anything I say as arrogant or down trodden. But there are some misunderstandings, and they need to be cleared up.

Anonymous access on bugs.breakmygentoo.net -- Absolutely none allowed! We will not allow it anytime soon either as it takes all of 1 minute to get an account.

What happens to my ebuild when I submit it to breakmygentoo through their bugzilla?

1) It gets flagged and Matt or I get an email. I currently check bugzilla 10-12 times a day.

2) When I get a spare moment (or if Matt gets a moment away from hacking away at the gnome stuff), we then consider your ebuild and package it up for inclusion in the breakmygentoo tree.

3) It gets included in this nice publically accesible tree at:

http://www.breakmygentoo.net/ebuilds/

4) You get mentioned in our hall of shame for creating the ebuilds :)

5) You become a candidate for the Barry Award.

Also, when posting to bugzilla....please attach the ebuild as a plain text file instead of pasting the ebuild into the text field. I'm currently building this stuff right now for the breakmygentoo tree, and because the ebuild was in the text field and no one specified a version, I had to come back here and find the version, and I'm having to make sure my copy and paste technique is down fine. I don't mind doing this once, but you now know to attach the build :)

Thanks, and hopefully you'll see that breakmygentoo (even with no anon-bugzilla) is helping get Kahakai some publicity :)

Karl
Back to top
View user's profile Send private message
karl11
Guru
Guru


Joined: 25 Jun 2002
Posts: 469
Location: Raleigh, NC

PostPosted: Sat Jun 14, 2003 4:01 am    Post subject: Reply with quote

Ebuilds for kahakai-0.1 and kahakai-cvs are now available at:

http://www.breakmygentoo.net/ebuilds/

Karl
Back to top
View user's profile Send private message
Xaignar
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 153
Location: Denmark

PostPosted: Sat Jun 14, 2003 9:32 am    Post subject: Reply with quote

karl11 wrote:
Also, when posting to bugzilla....please attach the ebuild as a plain text file instead of pasting the ebuild into the text field.


Whoops, sorry about that. =/
Back to top
View user's profile Send private message
dantrevino
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2002
Posts: 92
Location: Florida, USA

PostPosted: Sat Jun 14, 2003 10:50 am    Post subject: ok, now.... Reply with quote

So I emerged the ebuild from breakmygentoo.net, now config questions:

1. How do I get that menu transparency? I RTFMan page and its not obvious to me.
2. Can I accelerate my mouse somehow?
3. Is it usable as the GNOME2 wm (WINDOW_MANAGER="kahakai")?
_________________
embrace the wrevolution
http://wrevolution.org/
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Wed Jun 18, 2003 1:15 am    Post subject: hmm Reply with quote

nice window manager i wish you luck... :)
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
mahir
l33t
l33t


Joined: 05 Dec 2003
Posts: 725
Location: London

PostPosted: Thu Mar 04, 2004 10:35 pm    Post subject: gnome wm Reply with quote

gnome wm? :-D


kiss this :

Code:


killall metacity && kahakai



:-D enjoy
_________________
"wa ma tawfiqi illah billah"
Mahir Sayar
Back to top
View user's profile Send private message
fisk
n00b
n00b


Joined: 29 Mar 2004
Posts: 63

PostPosted: Mon Mar 29, 2004 7:14 pm    Post subject: Reply with quote

So what I did for 0.6.2 was follow the above guide, apart from:

Code:
ebuild /usr/portage/x11-wm/kahakai/kahakai-0.6.2.ebuild digest


However, this still refuses to complete build ...

Any more recent help available?
_________________
-doh
Back to top
View user's profile Send private message
fisk
n00b
n00b


Joined: 29 Mar 2004
Posts: 63

PostPosted: Mon Mar 29, 2004 7:51 pm    Post subject: Reply with quote

emerge seemed to be out of the question, so I tried to download the source from the homepage and compile it on my own...

Code:

/root/kahakai-0.6.2/src/Imlib2pp.cc:363: undefined reference to `imlib_context_set_display'
Imlib2pp.o(.text+0x1180):/root/kahakai-0.6.2/src/Imlib2pp.cc:364: undefined reference to `imlib_context_set_visual'
Imlib2pp.o(.text+0x118b):/root/kahakai-0.6.2/src/Imlib2pp.cc:365: undefined reference to `imlib_context_set_colormap'
Menu.o(.text+0x1b5a): In function `KaMenu::Render()':
/root/kahakai-0.6.2/src/Menu.cc:482: undefined reference to `imlib_free_pixmap_and_mask'
TitleBar.o(.text+0x324b): In function `TitleBar::render()':
/root/kahakai-0.6.2/src/TitleBar.cc:260: undefined reference to `imlib_free_pixmap_and_mask'
collect2: ld returned 1 exit status
make[2]: *** [kahakai] Error 1
make[2]: Leaving directory `/root/kahakai-0.6.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/kahakai-0.6.2/src'
make: *** [all-recursive] Error 1


Which leaves me clueless.
_________________
-doh
Back to top
View user's profile Send private message
Andersson
Guru
Guru


Joined: 12 Jul 2003
Posts: 525
Location: Göteborg, Sweden

PostPosted: Mon Mar 29, 2004 8:37 pm    Post subject: Reply with quote

Did you try the 0.6.2 ebuild already in portage? Perhaps you haven't synced since it became available, or you missed it because it's masked.

Try ACCEPT_KEYWORDS=~x86 emerge -p kahakai

If you still have problems, look at this more recent kahakai thread:
https://forums.gentoo.org/viewtopic.php?t=133758
Back to top
View user's profile Send private message
fisk
n00b
n00b


Joined: 29 Mar 2004
Posts: 63

PostPosted: Mon Mar 29, 2004 9:08 pm    Post subject: Reply with quote

Code:
: undefined reference to `imlib_free_pixmap_and_mask'
TitleBar.o(.text+0x6104): In function `TitleBar::render()':
: undefined reference to `imlib_free_pixmap_and_mask'
collect2: ld returned 1 exit status
make[2]: *** [kahakai] Error 1
make[2]: *** Waiting for unfinished jobs....
 g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/python2.3/ -I../src -DDEFAULTSTYLE=\"/usr/share/kahakai/styles/Default.style\" -DDEFAULTMENU=\"/usr/share/kahakai/menu\" -DDEFAULTACTION=\"/usr/share/kahakai/actions/action\" -DDEFAULTRCFILE=\"/usr/share/kahakai/config\" -DDEFAULTSCRIPTDIR=\"/usr/share/kahakai/scripts\" -DPKGDATADIR=\"/usr/share/kahakai\" -DDEFAULTSCRIPTCONFIG=\"/usr/share/kahakai/home_userconfig.py\" -DPKGLIBDIR=\"/usr/lib/kahakai\" -DGDB_COMMANDS_FILE=\"/usr/share/kahakai/cmd.gdb\" -O2 -march=pentium3 -fomit-frame-pointer -MT swig_wrapper_python.lo -MD -MP -MF .deps/swig_wrapper_python.Tpo -c swig_wrapper_python.cc -o swig_wrapper_python.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/kahakai-0.6.2/work/kahakai-0.6.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/kahakai-0.6.2/work/kahakai-0.6.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-wm/kahakai-0.6.2 failed.
!!! Function src_compile, Line 30, Exitcode 2


This is what the 0.6.2-generates on:
ACCEPT_KEYWORDS=~x86 emerge kahakai
_________________
-doh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum