FS#7136 - Metacity crash corrupts future Gnome sessions

Attached to Project: Arch Linux
Opened by Ronald (BobDay) - Saturday, 12 May 2007, 09:12 GMT
Last edited by Jan de Groot (JGC) - Saturday, 12 May 2007, 15:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Metacity crash corrupts future Gnome sessions

I have the exact same problem as reported here:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/106350

To trigger the bug easily:
- open the session applet, activate automatic session saving on logout
- open an emacs windows (or anything else not handling session saving correctly)
- close your GNOME session
- open a new one

There is no window manager started
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 12 May 2007, 15:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks for the patch, will be fixed in 2.18.2-3, which is on its way to the repositories now.
Comment by Ronald (BobDay) - Saturday, 12 May 2007, 13:46 GMT
This bug can be fixed with the attached patch and the PKGBUILD below.
The patch was posted here: https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/106350

-Bob Day

------------

# $Id: PKGBUILD,v 1.32 2007/04/22 15:10:54 jgc Exp $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=metacity
pkgver=2.18.2
pkgrel=3
pkgdesc="A window manager for GNOME2"
arch=(i686 x86_64)
license=('GPL')
depends=('startup-notification>=0.9' 'gconf>=2.18.0.1-2')
makedepends=('perlxml' 'pkgconfig')
url="http://www.gnome.org"
groups=('gnome')
options=('nolibtool')
install=metacity.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2 sessions_crash.patch)
md5sums=('45cdadd7d6213aeca3d9f1acc1d1d70f'
'c8c3249f2732691e593caf6ce7a5719b')

build() {
cd ${startdir}/src/${pkgname}-${pkgver}

patch -Np1 -i ../sessions_crash.patch

./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/metacity \
--localstatedir=/var --disable-static
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install

mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
}

Loading...