Do I have to recompile wine to apply a different patch??

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
colbert
Level 2
Level 2
Posts: 10
Joined: Fri Mar 28, 2008 4:11 pm

Do I have to recompile wine to apply a different patch??

Post by colbert »

I just installed and set up COD4 and compiled wine 1.2.2 from git as per instructions on the AppDB page, applying a patch to wine.

Now I installed C&C3 (http://appdb.winehq.org/objectManager.p ... n&iId=7440) and have it working, but there is a nocursor patch on that page and instructions to compile wine and apply it.

I am wondering, I have a wine-git folder as I just compiled it-- do I have to remove installed wine and apply patch to wine-git, recompile wine or is there a way to apply the patch to my existing wine? I don't wanna mess it up hehe, thanks!! :)
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Do I have to recompile wine to apply a different patch??

Post by jeffz »

colbert wrote:I just installed and set up COD4 and compiled wine 1.2.2 from git as per instructions on the AppDB page, applying a patch to wine.

Now I installed C&C3 (http://appdb.winehq.org/objectManager.p ... n&iId=7440) and have it working, but there is a nocursor patch on that page and instructions to compile wine and apply it.

I am wondering, I have a wine-git folder as I just compiled it-- do I have to remove installed wine and apply patch to wine-git, recompile wine or is there a way to apply the patch to my existing wine? I don't wanna mess it up hehe, thanks!! :)
If you build wine in your wine-git folder, you can then use that compiled version by specifying it on the commandline such as:

cd ~/.wine/drive_c/CC3
~/wine-git/wine cc3.exe
colbert
Level 2
Level 2
Posts: 10
Joined: Fri Mar 28, 2008 4:11 pm

Post by colbert »

Okay, so I would leave the existing wine install alone, and just rebuild wine-git with the patch I need and run CNC3 as you indicated?

I'm quite new to the compiling process so for my sake, "make depend && make" is what actually makes wine, and sudo make install just installs it into the system with links and such? So I can just do the make depend && make part right?

Thanks! :)
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Do I have to recompile wine to apply a different patch??

Post by austin987 »

On Thu, Aug 14, 2008 at 8:34 PM, colbert <[email protected]> wrote:
Okay, so I would leave the existing wine install alone, and just rebuild wine-git with the patch I need and run CNC3 as you indicated?
Yes
I'm quite new to the compiling process so for my sake, "make depend && make" is what actually makes wine, and sudo make install just installs it into the system with links and such? So I can just do the make depend && make part right?
Yes
colbert
Level 2
Level 2
Posts: 10
Joined: Fri Mar 28, 2008 4:11 pm

Post by colbert »

Thanks a lot guys! It works perfectly :) :D
Locked