patch installed wine
patch installed wine
Hey guys,
I'm pretty new to this stuff, like wine and linux, I'm actually running Ubuntu 10.04 on my machine and I'm wondering, since I love the game League of legends, if there is a possibility to patch an existing installation of wine.
I found this link: http://appdb.winehq.org/objectManager.p ... &iId=19141
where it says, that I have to patch 2 files and then compile wine. Well... I don't really know much about it. What do I have to do to make it patch my existing wine installation or do I really have to uninstall wine, install all the necessary packages and then compile wine?
I'm pretty new to this stuff, like wine and linux, I'm actually running Ubuntu 10.04 on my machine and I'm wondering, since I love the game League of legends, if there is a possibility to patch an existing installation of wine.
I found this link: http://appdb.winehq.org/objectManager.p ... &iId=19141
where it says, that I have to patch 2 files and then compile wine. Well... I don't really know much about it. What do I have to do to make it patch my existing wine installation or do I really have to uninstall wine, install all the necessary packages and then compile wine?
You can't patch your existing wine installation - wine recompilation is required for that. So if you want to apply some patches you must download wine source, unpack it, copy .patch files to the source dir, apply them with patch -p1 <patchname.patch, and compile wine. although this sounds complicated, it is not - assuming you got all the requirements for wine compilation - i think that on Ubuntu you can get them the same way like on Debian - that is:
sudo apt-get update && sudo apt-get build-dep wine
sudo apt-get update && sudo apt-get build-dep wine
What does that command do?
Does it download & install all required packages to make the compilation of wine possible?
Code: Select all
sudo apt-get build-dep wine
patch installed wine
On 06/25/2010 03:40 AM, syron wrote:
contain changes for the source, not the binary.
Yes, you really have to uninstall, patch and compile. Patch filesHey guys,
I'm pretty new to this stuff, like wine and linux, I'm actually running Ubuntu 10.04 on my machine and I'm wondering, since I love the game League of legends, if there is a possibility to patch an existing installation of wine.
I found this link: http://appdb.winehq.org/objectManager.p ... &iId=19141
where it says, that I have to patch 2 files and then compile wine. Well... I don't really know much about it. What do I have to do to make it patch my existing wine installation or do I really have to uninstall wine, install all the necessary packages and then compile wine?
contain changes for the source, not the binary.
Thanks.
so basically I just have to put the patches into the source folder, patch them with patch p1 < name.patch
one by one and then just compile the source? Or is there any special command to make the compilation with the patches in it? or does the patch command know where to put those patches in? (sorry I'm really new to this, I'm trying to understand it)
so basically I just have to put the patches into the source folder, patch them with patch p1 < name.patch
one by one and then just compile the source? Or is there any special command to make the compilation with the patches in it? or does the patch command know where to put those patches in? (sorry I'm really new to this, I'm trying to understand it)
patch installed wine
On Fri, Jun 25, 2010 at 14:38, syron <[email protected]> wrote:
apply (read one to get an example).
Patched code is just modified code; it's completely orthogonal to the
compilation process.
Frédéric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
A patch indicates the files that were modified, as well as which change toThanks.
so basically I just have to put the patches into the source folder, patch
them with patch p1 < name.patch
one by one and then just compile the source? Or is there any special
command to make the compilation with the patches in it? or does the patch
command know where to put those patches in? (sorry I'm really new to this,
I'm trying to understand it)
apply (read one to get an example).
Patched code is just modified code; it's completely orthogonal to the
compilation process.
Frédéric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
First, uninstall the wine package from the package manager, to prevent any conflicting global files with your compiled version. Then run "sudo make install" (no quotes).syron wrote:Thanks,
it worked perfectly. But I'm having a new question.
I've successfully installed wine via source and I can run wine software by running ./wine program.exe in the source folder, but I cannot rune wine program.exe outside the folder, how can I fix that?
Graphics drivers are installed and taken from your distro, not Wine. Check if you have any proper (Linux) 3D graphics drivers installed (the best test is to just install and run an OpenGL game like Armagetron or Sauerbraten and see how well it runs - if framerate is horrible, you lack proper 3D graphics drivers).