You are not logged in.

#1 2005-12-29 19:31:28

jesus franco
Member
From: PA, USA
Registered: 2005-05-17
Posts: 68

Metacity 2.13.5

I finally gave in. I got tired of the current metacity in 2.12 (the main and most common reason why gnome is slow).

So I went and build a pkgbuild for 2.13.5 (latest unstable). I haven't run into any problems yet. It's perfectly stable and does work with all current metacity themes.

So far I've noticed the edge resistance similar to OpenBox and kWin. And I've noticed that when dragging a window over lets say FireFox it doesn't lag. It used it in 2.12. This pkgbuild is originaly by Arjan and it's based on the current abs one.

PKGBUILD

pkgname=metacity
pkgver=2.13.34
pkgrel=1
pkgdesc="A window manager for GNOME2"
depends=('startup-notification' 'gconf')
makedepends=('intltool')
url="http://www.gnome.org"
groups=('gnome')
install=metacity.install
source=(http://ftp.gnome.org/pub/gnome/sources/metacity/2.13/$pkgname-$pkgver.tar.bz2)
md5sums=('d6c8b2a8a8d205ffdaab76d348bd97b7')

build() {
  [ "$GNOMEDIR" = "" ] && . /etc/profile.d/gnome.sh

  cd $startdir/src/$pkgname-$pkgver
  find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} ;
  if [ -f omf.make ]; then
    sed -i -e 's/-scrollkeeper-update.*//' omf.make
  fi

  ./configure --prefix=/opt/gnome
  make || return 1
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$startdir/pkg install

  find $startdir/pkg -name '*.la' -exec rm {} ;
}

metacity.install

pkgname=metacity

post_install() {
  schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)

  export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
  for schema in "${schemas[@]}" ; do
    opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
  done

  kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
  update-desktop-database -q
}

pre_upgrade() {
  pre_remove $1
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)

  export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
  for schema in "${schemas[@]}" ; do
    opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
  done

  kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}

post_remove() {
  update-desktop-database -q
}

op=$1
shift

$op $*

I know it's nothing much, but I think someone might find it usefull.

EDIT: package updated to 2.13.34 now uses less memory and has better edge resistance settings.

Offline

#2 2005-12-30 21:00:04

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Metacity 2.13.5

jesus franco wrote:

So far I've noticed the edge resistance similar to OpenBox and kWin. And I've noticed that when dragging a window over lets say FireFox it does lag. It used it in 2.12. This pkgbuild is originaly by Arjan and it's based on the current abs one.

Do you mean "doesn't"? Or does it still do that? :?

Offline

#3 2005-12-31 06:30:47

clarence
Member
From: fremantle.au
Registered: 2005-10-12
Posts: 294

Re: Metacity 2.13.5

Thanks for that jesus franco. Works a treat. wink

though for me windows only lag when being dragged around over the desktop background.


fck art, lets dance.

Offline

#4 2005-12-31 06:31:25

jesus franco
Member
From: PA, USA
Registered: 2005-05-17
Posts: 68

Re: Metacity 2.13.5

Doesn't...
Sorry about that. It's as smooth as if you were using the composite extension.   8)

Offline

#5 2005-12-31 07:12:26

WillySilly
Member
Registered: 2005-01-14
Posts: 268

Re: Metacity 2.13.5

Soon in 2.13.x metacity will be able to use composite, I'll have a pkgbuild for it once xorg 7 gets out of testing

Offline

#6 2005-12-31 19:59:33

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Metacity 2.13.5

Hard to believe they took this long to start fixing up Metacity, isn't it?

Offline

#7 2006-02-24 00:21:46

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Metacity 2.13.5

Sorry for resurrecting this thread, but can someone point me to an updated PKGBUILD? The current version of Metacity is being intolerably sluggish right now.

Offline

#8 2006-02-27 09:09:58

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Metacity 2.13.5

Gullible Jones wrote:

Sorry for resurrecting this thread, but can someone point me to an updated PKGBUILD? The current version of Metacity is being intolerably sluggish right now.

check out blaasvis gnome 2.14 beta2 repo, it has metacity 2.13.89 or so I believe.
Check out that thread, it has also a link to the package builds

Offline

Board footer

Powered by FluxBB