You are not logged in.
Hello everyone!
I got wine working great so far but I wanted to play Hellgate London so I installed it and added some dlls and stuff and got it to start up and it seems to work exept the mouse.
Started to search around for an solution and found one, patching up wine with and rawinput thing for the mouse to work.
So my problem is I need to patch an new bin32-wine to get this to work.
Going out on wiki and looking up the abs and makepkg and pkgbuild and stuff, searching around the forum for more help about patching.
And to be completly honest I dont understand this area. Looking into the pkgbuild of bin32-wine to understand the install procedure is "what the **** is this?" like feeling.
The thing I have learned using yaourt is changing the pkgversion so it downloads the latest version and I also can change the md5sum to be correct, but thats it.
I really wanna learn this stuff so If I need a special patch for something I can patch it to my needs but I feel I dont come any further here.
But maybe there is someone here who would help me build a source or pkgbuild that have this patch in it so maybe I can try to understand from that point ![]()
This is the patch: http://bugs.winehq.org/show_bug.cgi?id=10318#c30
Think #30 is the latest uploaded attatchment.
Direct link: http://bugs.winehq.org/attachment.cgi?id=20530
It contatins three .diff files that I want to patch into bin32-wine.
Please help me, I would really appreciate this!
Offline
Ok I have done some testing myself and this is how it went:
Installed abs. Downloaded latest wine source and unpacked it to /home/user/abs/wine.
downloaded the patch files wich are 3 .diff files
and put them into /home/user/abs/wine/wine-1.1.42/patch wich looks like this --> 02-rawinput.diff
03-rawinput-winuser.diff
04-rawinput_makefile.diff
I then in /home/user/abs/wine/wine-1.1.42 do
patch -p0 < patch/02-rawinput.diff
And get this:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../input.c 2009-04-12 15:02:18.000000000 +0400
|+++ wine/dlls/user32/input.c 2009-04-19 00:13:17.000000000 +0400
--------------------------
File to patch:
Enter patch/02-rawinput.diff in "File to patch:" and get this error:
patching file patch/02-rawinput.diff
Hunk #1 FAILED at 22.
Hunk #2 FAILED at 46.
Hunk #3 FAILED at 366.
Hunk #4 FAILED at 383.
4 out of 4 hunks FAILED -- saving rejects to file patch/02-rawinput.diff.rej
Any ideas?
Offline
no one?
Offline
Well, I hope this can help you. This' how I do it.
In root build folder, you have to have all files (*.patch, PKGBUILD, etc.).
Then, add this to build() in PKBGUILD:
cd ${srcdir}/folder_where_diff_should_be_applied
patch -p0 < ${srcdir}/02-rawinput.diffThe "folder_where_diff_should_be_applied" could be root source folder or a subfolder where the file/s are. It depends on how the original diff were created.
Franz Rogar
MOTM : "Quis custodiet ipsos custodes?"
Offline