Comment 201 for bug 1220426

Revision history for this message
Niels Mayer (nielsmayer) wrote :

No arguing or instigating from me, just thanking, because perhaps this patch is working. The only part not explained is that you don't need to apply the resultant .deb files which aren't part of the current Xorg install. In my case, 14.04LTS, only needed " sudo dpkg -i ./xserver-common_1.15.1-0ubuntu2.3_all.deb ./xserver-xorg-core_1.15.1-0ubuntu2.3_amd64.deb "

after doing:

xorg-server (2:1.15.1-0ubuntu2.3) UNRELEASED; urgency=medium

  * Patched per Balazs Scheidler (bazsi) https://bugs.launchpad.net/bugs/1220426
    - Layman terms (on trusty): Download patch from the bugzilla and place
 it in a file, let's say "foo.diff"
    - $ apt-get build-dep xorg-server
    - $ apt-get source xorg-server
    - $ cd xorg-server-1.15.1
    - $ patch -p1 < ../foo.diff
    - $ fakeroot debian/rules binary
    - This should eventually build a couple of .deb packages with the
 patch incorporated. It is running for me just now. So no news if
 it worked or not.
    - Also, it might make sense to modify debian/changelog and add your
 own version to make it possible to see the change by judging the
 version number. (e.g. debchange -i, edit and save)

 -- Niels P. Mayer <npm@gnuvelle> Mon, 17 Nov 2014 14:56:45 -0800

--------------------
npm@gnuvelle:~/Downloads$ sudo apt-get build-dep xorg-server
...
npm@gnuvelle:~/Downloads$ cd xorg-server-1.15.1/
npm@gnuvelle:~/Downloads/xorg-server-1.15.1$ patch -p1 < ../nvidia-psmouse.patch
patching file os/WaitFor.c
npm@gnuvelle:~/Downloads/xorg-server-1.15.1$ fakeroot debian/rules binary
...
npm@gnuvelle:~/Downloads$ ll *.deb
-rw-r--r-- 1 npm npm 823370 Nov 17 15:09 xdmx_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 138496 Nov 17 15:09 xdmx-tools_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 683040 Nov 17 15:09 xnest_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 6128668 Nov 17 15:09 xorg-server-source_1.15.1-0ubuntu2.3_all.deb
-rw-r--r-- 1 npm npm 1645058 Nov 17 15:08 xserver-common_1.15.1-0ubuntu2.3_all.deb
-rw-r--r-- 1 npm npm 896566 Nov 17 15:09 xserver-xephyr_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 1312066 Nov 17 15:09 xserver-xorg-core_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 3874916 Nov 17 15:09 xserver-xorg-core-dbg_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 289522 Nov 17 15:09 xserver-xorg-dev_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 104410 Nov 17 15:09 xserver-xorg-xmir_1.15.1-0ubuntu2.3_amd64.deb
-rw-r--r-- 1 npm npm 827668 Nov 17 15:09 xvfb_1.15.1-0ubuntu2.3_amd64.deb