_How to apply the patch and recompile dosbox_

Packages that are needed (install via synaptic, adept or apt-get):
build-essential devscripts fakeroot

Open up a terminal. Create a directory somewhere and change to the newly 
created directory.
Execute the following commands (don't type the Dollar sign!):
$ sudo apt-get build-dep dosbox
$ apt-get source dosbox

Get the patch from the link above or use the prepared one that is attached to 
this post. I assume that the file is named "dosbox-0.72-evdev.patch".
Execute:
$ patch -p0 < dosbox-0.72-evdev.patch

You just patched dosbox. Now on to the build.

Change to the subdirectory "dosbox-0.72".
Execute:
$ debchange --nmu
A command line editor should open up. You don't need to type something. Just 
save and exit (if the editor is vim, type ":wq" followed by return).

Execute:
$ sudo dpkg-buildpackage

The build process should now start. If it finished successfully, you
will find the generated packed in the directory above (name should be
"dosbox_0.72-1.1build1.1_amd64.deb" or something like that, depending on
your architecture).

Install the package via
$ sudo dpkg -i dosbox_0.72-1.1build1.1_amd64.deb
Change the name of the .deb file in the command above to meet the name of the 
one you just built.

Hope that helps.

Regards

** Attachment added: "Patch from Fedora package (Link from Lubomir Rintel)"
   http://launchpadlibrarian.net/23884260/dosbox-0.72-evdev.patch

-- 
Dosbox reading keys wrong after 8.10 upgrade
https://bugs.launchpad.net/bugs/287894
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to