Gnome Logo

XFree86 4.3 with Gnome 2.2

Debian Logo


This should be considered experimental, but if you are running xfree86 4.3 on debian woody, you are already doing 'experimental' things. That said, others have this working and haven't complained to me.

To get xfree86 4.3 and the gnome2.2 backport to work, you MUST have these versions of software installed:

fontconfig 2.1
freetype 2.1 (yes, 2.1-- xfree86 4.3 needs it)
libxft2 2.1


I do not supply xfree86 4.3 packages with the gnome2.2 backport, so it is up to you to get the above software and xfree86 4.3 installed on your system before attempting to install the gnome2.2 backport. Note that sid currently has 2.2 versions for fontconfig-- this may not work.

Pango (a layout and rendering library) works most of the time when compiled using freetype 2.0.9 (from woody), but installed with a system with freetype 2.1 (as required by xfree86 4.3), but not all the time. The solution is to just recompile pango with freetype 2.1. This is done by adding this to /etc/apt/sources.list:

deb-src http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody gnome2.2/

then running (as root):
apt-get update
apt-get install dpkg-dev fakeroot (these are build tools)
apt-get build-dep libpango1.0-0 (pulls in packages required to build)

then as normal user:
apt-get source libpango1.0-0
cd ./pango1.0*
dpkg-buildpackage -rfakeroot

pango should start building. If it talks about missing dependencies, just 'apt-get install' them manually (apt-get build-dep libpango1.0-0 should have done this for you though).

If it finished building without errors, then as root:
dpkg -i ../*pango*.deb

Now pango and all of your gnome2.2 apps should run fine with the new freetype. You can check by running 'meld' from a terminal. If it opens up without errors, it worked.

Keep in mind that your recompiled pango packages will be overwritten if pango gets updated. You can either recompile the new pango, or use pinning in /etc/apt/preferences.

The above is not considered a tutorial and assumes basic knowledge of debian packaging. Please see:

man dpkg-buildpackage
http://www.debian.org/doc/manuals/maint-guide/index.en.html
http://www.debian.org/doc/manuals/apt-howto/index.en.html

Home Back to the FAQ