Following the preceding post, it seems that there is a permission problem in the source package for xserver-xorg (which is downloaded by 'apt-get source xserver-xorg-core').
In brief, a man page was installed as executable what prevented it to be recoded in UTF-8 (perhaps it is related to my locale, fr_FR.UTF-8), and perhaps it would disappear if you build the packages as root...
But nevertheless, a workaround is to modify the procedure from post #6 as follow (mv, sed and chmod added) :
Of course, you sould replace /tmp/xorg-patch.patch by the path to the patch file downloaded from post #9; and you should do all that from a temporary directory where you have rights. Note that I don't use dch -i because I'm not the maintainer of the package, and consequently the new version is different from the one of post #6
In the last command, replace amd64 by i386 if you're working with a 32 bit version of ubuntu.
Following the preceding post, it seems that there is a permission problem in the source package for xserver-xorg (which is downloaded by 'apt-get source xserver- xorg-core' ).
In brief, a man page was installed as executable what prevented it to be recoded in UTF-8 (perhaps it is related to my locale, fr_FR.UTF-8), and perhaps it would disappear if you build the packages as root...
But nevertheless, a workaround is to modify the procedure from post #6 as follow (mv, sed and chmod added) :
$ sudo apt-get install build-essential fakeroot dpkg-dev devscripts patch.patch install -m 644/' debian/rules.orig > debian/rules common_ 1.7.6-2ubuntu7_ all.deb xorg-core_ 1.7.6-2ubuntu7_ amd64.deb
$ apt-get source xserver-xorg-core
$ sudo apt-get build-dep xserver-xorg-core
$ cd xorg-server-1.7.6/
$ patch -p1 </tmp/xorg-
$ mv debian/rules debian/rules.orig
$ sed -e '244s/install/
$ chmod 755 debian/rules
$ dpkg-buildpackage -rfakeroot -uc -b
$ cd ..
$ sudo dpkg -i xserver-
$ sudo dpkg -i xserver-
Of course, you sould replace /tmp/xorg- patch.patch by the path to the patch file downloaded from post #9; and you should do all that from a temporary directory where you have rights. Note that I don't use dch -i because I'm not the maintainer of the package, and consequently the new version is different from the one of post #6
In the last command, replace amd64 by i386 if you're working with a 32 bit version of ubuntu.