Someone wants to know how to apply Bugzilla patch 124290 under Ubuntu.
sudo apt-get build-dep metacity
apt-get source metacity
cd metacity-2.24.0
wget -O - http://bugzilla.gnome.org/attachment.cgi?id=124290 | patch -p1
./configure
make
sudo make install
(I would include the output but it’d be in Welsh.)
Alternatively you could also say “dpkg-buildpackage -rfakeroot” and “sudo dpkg -i metacity…” instead of “configure, make, make install” and the result would be deb packages.
Instead of configure/make/make install, how about ‘dch -i && dpkg-buildpackage -rfakeroot’ ?
I’d be inclined to replace the last three lines with
dch -i
# change the version number to ‘ubuntuXmypatch1’ or something
# describe which the patch you’ve applied
debuild
sudo dpkg -i ../*metacity*deb
That would let the packaging system know that you’ve got a slightly newer version of metacity than what Ubuntu currently does, but that the next Ubuntu version will be newer than the one you have.
That works too, and is probably a better way to keep dpkg happy.