特殊:Badtitle/NS100:ContinuumOnFeisty:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第25行: 第25行:
+++ b/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
OBJECT_ATTRIBUTES  attr;
    OBJECT_ATTRIBUTES  attr;
CLIENT_ID          cid;
    CLIENT_ID          cid;
+if (access & PROCESS_VM_WRITE) return NULL;
+if (access & PROCESS_VM_WRITE) return NULL;
cid.UniqueProcess = (HANDLE)id;
    cid.UniqueProcess = (HANDLE)id;
cid.UniqueThread = 0; /* FIXME ? */
    cid.UniqueThread = 0; /* FIXME ? */
 
</nowiki></pre>
</nowiki></pre>
Apply the patch.<br>
Apply the patch.<br>

2007年12月6日 (四) 10:09的版本

{{#ifexist: :ContinuumOnFeisty/zh | | {{#ifexist: ContinuumOnFeisty/zh | | {{#ifeq: {{#titleparts:ContinuumOnFeisty|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:ContinuumOnFeisty|1|-1|}} | zh | | }}

in order to get Continuum to work on Fiesty, a simple patch must be used to modify the WINE source. Install what you need to compile the WINE source code.

sudo apt-get install build-essential flex bison xlibs-dev x11proto-gl-dev libgl1-mesa-dev fontconfig libfreetype6-dev fontforge checkinstall

Download the WINE source code.

sudo apt-get source wine

Change to WINE source directory

cd wine*

Open the patch file in gEdit (cont.diff).

sudo gedit cont.diff

Copy the following into gedit and save.

diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 33f9ee1..d50cb7d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
     OBJECT_ATTRIBUTES   attr;
     CLIENT_ID           cid;
 
+if (access & PROCESS_VM_WRITE) return NULL;
     cid.UniqueProcess = (HANDLE)id;
     cid.UniqueThread = 0; /* FIXME ? */

Apply the patch.

sudo cat cont.diff | patch -p1

Configure so your computer is ready to build. (CFLAGS due to Ubuntu bug)

sudo ./configure CFLAGS=-fno-stack-protector

Build

sudo make depend && make

Make a Debian Package and install

sudo checkinstall

Run WINEcfg

winecfg

It is important to run winecfg, select the Drives tab, click C:, Show Advanced, and set the Serial: value to a random number higher than 2000. If you do not, you cannot connect to catid billers, or may cause other issues on the SSC biller. If there is a problem with sound, you may need to switch it to emulation in the sound tab. Now all you need is to download and install Continuum at http://www.getcontinuum.com/