Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
expocity
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 25 Nov 2003
Posts: 10

PostPosted: Tue Nov 25, 2003 9:20 am    Post subject: expocity Reply with quote

Just came across this on gnomedesktop.org: http://www.gnomedesktop.org/article.php?sid=1478&mode=thread&order=0&thold=1
So my question is: how can I get this to work ? Anyone want to make an ebuild for a patched metacity ? :D
Back to top
View user's profile Send private message
dub.wav
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 149
Location: Norway

PostPosted: Tue Nov 25, 2003 10:16 am    Post subject: Reply with quote

Here's a quick edit of the metacity-2.6.3 ebuild in portage.
Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/x11-wm/metacity/metacity-2.6.3.ebuild,v 1.2 2003/11/14 04:13:57 brad_mssw Exp $

inherit gnome2 cvs debug flag-o-matic
strip-flags
unset SRC_URI

DESCRIPTION="Gnome default windowmanager"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa amd64"
IUSE=""
SRC_URI="http://www.pycage.de/download/expocity-11-24-03.diff"

# not parallel-safe; see bug #14405
MAKEOPTS="${MAKEOPTS} -j1"

# sharp gtk dep is for a certain speed patch
RDEPEND="virtual/x11
   >=x11-libs/pango-1.2
   >=x11-libs/gtk+-2.2.0-r1
   >=gnome-base/gconf-2
   >=x11-libs/startup-notification-0.4"

DEPEND="${RDEPEND}
   >=dev-util/pkgconfig-0.12.0
   >=dev-util/intltool-0.21"

DOCS="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README"

ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome"
ECVS_MODULE="metacity"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}

src_compile() {
   epatch ${DISTDIR}/expocity-11-24-03.diff
   ./autogen.sh --prefix=/usr || die
   emake || die
}

Save it as /usr/local/portage/x11-wm/metacity-cvs/metacity-cvs-2.6.3.ebuild, and then run ebuild metacity-cvs-2.6.3.ebuild digest. When that's done, run emerge metacity-cvs-2.6.3.ebuild. :)

edit: wrong digest command.
edit2: added inherit debug flag-o-matic and strip-flags.
edit3: no more sandbox violations (inherited gnome2)


Last edited by dub.wav on Tue Nov 25, 2003 1:24 pm; edited 3 times in total
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Tue Nov 25, 2003 11:11 am    Post subject: Reply with quote

wow! It works. :D

Thanks a lot for the ebuild. :D
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
zs
n00b
n00b


Joined: 24 Apr 2003
Posts: 9
Location: Budapest

PostPosted: Tue Nov 25, 2003 11:26 am    Post subject: No luck Reply with quote

Hi,

I tried the ebuild but I fail with digesting. I created the ebuild, then I do and get

Code:
root@ottoka metacity-cvs # ebuild digest metacity-cvs-2.6.3.ebuild
!!! doebuild: Please specify a valid command.


I copied the ebuild, so no typo here. But I have never done home-brewn ebuilds, so
I might miss a setting or so. I also could not find any debugginig switch for ebuild.

What is going wrong here?

Thanks,
Zs
Back to top
View user's profile Send private message
darge0flex
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 93

PostPosted: Tue Nov 25, 2003 11:34 am    Post subject: Re: No luck Reply with quote

zs wrote:
Hi,

I tried the ebuild but I fail with digesting. I created the ebuild, then I do and get

Code:
root@ottoka metacity-cvs # ebuild digest metacity-cvs-2.6.3.ebuild
!!! doebuild: Please specify a valid command.


I copied the ebuild, so no typo here. But I have never done home-brewn ebuilds, so
I might miss a setting or so. I also could not find any debugginig switch for ebuild.

What is going wrong here?

Thanks,
Zs


Type
Code:
ebuild metacity-cvs-2.6.3.ebuild digest
Back to top
View user's profile Send private message
darge0flex
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 93

PostPosted: Tue Nov 25, 2003 11:59 am    Post subject: Reply with quote

Expocity really makes task-switching more eyecandy! But the productivity....on my system its very slow. Not only when you switch between tasks, also if you just open a new window, rezise it and so on.
Back to top
View user's profile Send private message
zs
n00b
n00b


Joined: 24 Apr 2003
Posts: 9
Location: Budapest

PostPosted: Tue Nov 25, 2003 11:59 am    Post subject: Finally Reply with quote

This is cool! 8) Thanx for the correct order of commands. My other problem was not specifying
the local portage overlay in make.conf, but I did that at last.
Cheers,
Zs
Back to top
View user's profile Send private message
julienp
n00b
n00b


Joined: 25 Nov 2003
Posts: 10

PostPosted: Tue Nov 25, 2003 12:08 pm    Post subject: Reply with quote

darge0flex wrote:
Expocity really makes task-switching more eyecandy! But the productivity....on my system its very slow. Not only when you switch between tasks, also if you just open a new window, rezise it and so on.

I have that problem too, I guess it needs more work... very nice though 8)
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Tue Nov 25, 2003 12:13 pm    Post subject: Reply with quote

For CVS ebuilds please remember to inherit debug flag-o-matic and strip-flags

For your own safety.
Back to top
View user's profile Send private message
dub.wav
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 149
Location: Norway

PostPosted: Tue Nov 25, 2003 1:13 pm    Post subject: Reply with quote

Lovechild wrote:
For CVS ebuilds please remember to inherit debug flag-o-matic and strip-flags

For your own safety.

Ok, thanks for the suggestion...I edited the original post.
Back to top
View user's profile Send private message
marioraun
n00b
n00b


Joined: 15 Mar 2003
Posts: 17

PostPosted: Tue Nov 25, 2003 11:53 pm    Post subject: Reply with quote

wow this is really sweet, and not slow at all for me :)
Back to top
View user's profile Send private message
zwoop
n00b
n00b


Joined: 26 Nov 2003
Posts: 2

PostPosted: Wed Nov 26, 2003 12:19 am    Post subject: Reply with quote

I've tried this on two systems now (neither running Gentoo, but anywho...). On one of them, the patched Metacity works great, no performance problem, and the Expose feature works well. On the other (similar hardware), it's dog slow...

I'm not sure why, but I'm guessing it's something with the Gnome packages itself. One machine is running Ximian gnome 2 desktop (oldish release), the other is running bleeding edge, latest Gnome software. The latter is the one that works well with this version of Metacity.

Edit: The second machine (slow Expocity) is running Linux 2.6-test9, which perhaps could affect this (but somehow I doubt that). It seems more likely it's the Gnome environment.
Back to top
View user's profile Send private message
marioraun
n00b
n00b


Joined: 15 Mar 2003
Posts: 17

PostPosted: Wed Nov 26, 2003 12:31 am    Post subject: GDM Reply with quote

Wouldn't it be cool to have something setup like this in GDM to switch greeters among desktops/xservers on a network? One greeter with all the xdisplays available to graphically click on to login to that specific box.
Back to top
View user's profile Send private message
goatorbit
n00b
n00b


Joined: 26 Nov 2003
Posts: 3

PostPosted: Wed Nov 26, 2003 12:42 am    Post subject: Reply with quote

im missing something. what keystroke brings it up?
Back to top
View user's profile Send private message
zwoop
n00b
n00b


Joined: 26 Nov 2003
Posts: 2

PostPosted: Wed Nov 26, 2003 12:46 am    Post subject: Reply with quote

It replaces the old "alt-tab" functionality ... :-/ I personally think that's a bad decision, I would much rather have seen this implemented as an entirely new function, with it's own key bindings.

So, it's "alt-tab" unless you have changed that key binding
Back to top
View user's profile Send private message
goatorbit
n00b
n00b


Joined: 26 Nov 2003
Posts: 3

PostPosted: Wed Nov 26, 2003 1:01 am    Post subject: Reply with quote

hmph. would it be nontrivial to make it trigger with the useless windows key?
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Wed Nov 26, 2003 1:37 am    Post subject: Reply with quote

goatorbit wrote:
hmph. would it be nontrivial to make it trigger with the useless windows key?
The (ahem) logo key is far from useless. I use it for a large assortment of shortcuts, from switching desktops to launching terminals. The former even being default keybindings in some wm's.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Wed Nov 26, 2003 1:39 am    Post subject: Reply with quote

Prolly a silly question but do you need to remove metacity first and then install the cvs version?
Back to top
View user's profile Send private message
lurid
Guru
Guru


Joined: 12 Mar 2003
Posts: 595
Location: Florida

PostPosted: Wed Nov 26, 2003 2:50 am    Post subject: Reply with quote

Doesn't compile for me.

Code:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libXrender.so.1, needed by /usr/lib/libgdk-x11-2.0.so, may conflict with libXrender.so.0
compositor.o(.text+0x617): In function `paint_screen':
/var/tmp/portage/metacity-cvs-2.6.3/work/metacity/src/compositor.c:276: undefined reference to `XFixesCopyRegion'
compositor.o(.text+0x7a2): In function `merge_and_destroy_damage_region':
/var/tmp/portage/metacity-cvs-2.6.3/work/metacity/src/compositor.c:428: undefined reference to `XFixesCopyRegion'
compositor.o(.text+0x7f3): In function `merge_damage_region':
/var/tmp/portage/metacity-cvs-2.6.3/work/metacity/src/compositor.c:453: undefined reference to `XFixesCopyRegion'
compositor.o(.text+0x8c7): In function `process_damage_notify':
/var/tmp/portage/metacity-cvs-2.6.3/work/metacity/src/compositor.c:481: undefined reference to `XFixesTranslateRegion'
collect2: ld returned 1 exit status
make[3]: *** [metacity] Error 1
make[3]: Leaving directory `/var/tmp/portage/metacity-cvs-2.6.3/work/metacity/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/metacity-cvs-2.6.3/work/metacity/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/metacity-cvs-2.6.3/work/metacity'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: x11-wm/metacity-cvs-2.6.3 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)

_________________
Go find a cheerleader and saw her legs off. - Nny
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Wed Nov 26, 2003 6:03 am    Post subject: Reply with quote

awesome, the ebuild worked perfectly, the problem is I made my own ebuild before I found yours, heh, oh well, yours is alittle cleaner. works suprisingly fast, but no where near as fast as a new Apple, expose is part of quartz extreme which uses the opengl layer, which really speeds things up, if X had a way to do quartz extreme it would really make X a more enjoyable experience.

But I am very happy someone made this awesome patch..
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Wed Nov 26, 2003 6:31 am    Post subject: Reply with quote

what are you guys doing to get it going fast? Mine runs dog slow. It's nowhere near a usable replacement for alt+tab (which I've rebinded to the shortcut formerly known as alt+esc).

Slowness aside, it's pretty cool, except I have to use the keyboard AND mouse to pick windows.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed Nov 26, 2003 9:10 am    Post subject: Reply with quote

Has anyone else experienced desktop switching being awfully slow using the patched metacity?

Also, this may be a dumb question, but how do I change the key-bindings so that alt+esc works like alt+tab used to?
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Wed Nov 26, 2003 12:07 pm    Post subject: Reply with quote

Way too slow on my machine. I'll test it again tonight. May be I need to restart X or something.
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
Back to top
View user's profile Send private message
Qball
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 196

PostPosted: Wed Nov 26, 2003 12:33 pm    Post subject: Reply with quote

It doesnt do a to good jub @ my dual screen setup.

but its done pretty nifty..
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Wed Nov 26, 2003 1:56 pm    Post subject: Reply with quote

Sequentious wrote:

Slowness aside, it's pretty cool, except I have to use the keyboard AND mouse to pick windows.


You can't select a window with the keyboard only? Hmm ... I hope this will be added, otherwise it's quite useless for someone in programming mode.
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, 3  Next
Page 1 of 3

 
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