View previous topic :: View next topic |
Author |
Message |
julienp n00b
Joined: 25 Nov 2003 Posts: 10
|
|
Back to top |
|
|
dub.wav Tux's lil' helper
Joined: 09 Apr 2003 Posts: 149 Location: Norway
|
Posted: Tue Nov 25, 2003 10:16 am Post subject: |
|
|
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 |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Tue Nov 25, 2003 11:11 am Post subject: |
|
|
wow! It works.
Thanks a lot for the ebuild. _________________ 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 |
|
|
zs n00b
Joined: 24 Apr 2003 Posts: 9 Location: Budapest
|
Posted: Tue Nov 25, 2003 11:26 am Post subject: No luck |
|
|
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 |
|
|
darge0flex Tux's lil' helper
Joined: 15 Jun 2002 Posts: 93
|
Posted: Tue Nov 25, 2003 11:34 am Post subject: Re: No luck |
|
|
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 |
|
|
darge0flex Tux's lil' helper
Joined: 15 Jun 2002 Posts: 93
|
Posted: Tue Nov 25, 2003 11:59 am Post subject: |
|
|
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 |
|
|
zs n00b
Joined: 24 Apr 2003 Posts: 9 Location: Budapest
|
Posted: Tue Nov 25, 2003 11:59 am Post subject: Finally |
|
|
This is cool! 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 |
|
|
julienp n00b
Joined: 25 Nov 2003 Posts: 10
|
Posted: Tue Nov 25, 2003 12:08 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Tue Nov 25, 2003 12:13 pm Post subject: |
|
|
For CVS ebuilds please remember to inherit debug flag-o-matic and strip-flags
For your own safety. |
|
Back to top |
|
|
dub.wav Tux's lil' helper
Joined: 09 Apr 2003 Posts: 149 Location: Norway
|
Posted: Tue Nov 25, 2003 1:13 pm Post subject: |
|
|
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 |
|
|
marioraun n00b
Joined: 15 Mar 2003 Posts: 17
|
Posted: Tue Nov 25, 2003 11:53 pm Post subject: |
|
|
wow this is really sweet, and not slow at all for me |
|
Back to top |
|
|
zwoop n00b
Joined: 26 Nov 2003 Posts: 2
|
Posted: Wed Nov 26, 2003 12:19 am Post subject: |
|
|
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 |
|
|
marioraun n00b
Joined: 15 Mar 2003 Posts: 17
|
Posted: Wed Nov 26, 2003 12:31 am Post subject: GDM |
|
|
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 |
|
|
goatorbit n00b
Joined: 26 Nov 2003 Posts: 3
|
Posted: Wed Nov 26, 2003 12:42 am Post subject: |
|
|
im missing something. what keystroke brings it up? |
|
Back to top |
|
|
zwoop n00b
Joined: 26 Nov 2003 Posts: 2
|
Posted: Wed Nov 26, 2003 12:46 am Post subject: |
|
|
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 |
|
|
goatorbit n00b
Joined: 26 Nov 2003 Posts: 3
|
Posted: Wed Nov 26, 2003 1:01 am Post subject: |
|
|
hmph. would it be nontrivial to make it trigger with the useless windows key? |
|
Back to top |
|
|
Sequentious Apprentice
Joined: 07 Jun 2002 Posts: 290 Location: London Ontario Canada
|
Posted: Wed Nov 26, 2003 1:37 am Post subject: |
|
|
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 |
|
|
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Wed Nov 26, 2003 1:39 am Post subject: |
|
|
Prolly a silly question but do you need to remove metacity first and then install the cvs version? |
|
Back to top |
|
|
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Wed Nov 26, 2003 2:50 am Post subject: |
|
|
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 |
|
|
dcstimm Guru
Joined: 19 Jun 2002 Posts: 321
|
Posted: Wed Nov 26, 2003 6:03 am Post subject: |
|
|
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 |
|
|
Sequentious Apprentice
Joined: 07 Jun 2002 Posts: 290 Location: London Ontario Canada
|
Posted: Wed Nov 26, 2003 6:31 am Post subject: |
|
|
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 |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Wed Nov 26, 2003 9:10 am Post subject: |
|
|
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 |
|
|
Mystilleef Guru
Joined: 27 Apr 2003 Posts: 561 Location: Earth
|
Posted: Wed Nov 26, 2003 12:07 pm Post subject: |
|
|
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 |
|
|
Qball Apprentice
Joined: 25 Nov 2002 Posts: 196
|
Posted: Wed Nov 26, 2003 12:33 pm Post subject: |
|
|
It doesnt do a to good jub @ my dual screen setup.
but its done pretty nifty.. |
|
Back to top |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Wed Nov 26, 2003 1:56 pm Post subject: |
|
|
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 |
|
|
|