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

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/ContinuumOnFeisty}}
{{From|https://help.ubuntu.com/community/ContinuumOnFeisty}}
{{Languages|UbuntuHelp:ContinuumOnFeisty}}
{{Languages|UbuntuHelp:ContinuumOnFeisty}}
<<Include(Tag/Unsupported)>>
in order to get Continuum to work on Fiesty, a simple patch must be used to modify the WINE source.
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.<br>
Install what you need to compile the WINE source code.<<BR>>
<pre><nowiki>
<pre><nowiki>
sudo apt-get install build-essential flex bison xlibs-dev x11proto-gl-dev libgl1-mesa-dev fontconfig libfreetype6-dev fontforge checkinstall
sudo apt-get install build-essential flex bison xlibs-dev x11proto-gl-dev libgl1-mesa-dev fontconfig libfreetype6-dev fontforge checkinstall
</nowiki></pre>
</nowiki></pre>
Download the WINE source code.<br>
Download the WINE source code.<<BR>>
<pre><nowiki>
<pre><nowiki>
sudo apt-get source wine
sudo apt-get source wine
</nowiki></pre>
</nowiki></pre>
Change to WINE source directory<br>
Change to WINE source directory<<BR>>
<pre><nowiki>
<pre><nowiki>
cd wine*
cd wine*
</nowiki></pre>
</nowiki></pre>
Open the patch file in gEdit (cont.diff).<br>
Open the patch file in gEdit (cont.diff).<<BR>>
<pre><nowiki>
<pre><nowiki>
sudo gedit cont.diff
sudo gedit cont.diff
</nowiki></pre>
</nowiki></pre>
Copy the following into gedit and save.<br>
Copy the following into gedit and save.<<BR>>
<pre><nowiki>
<pre><nowiki>
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
第33行: 第34行:


</nowiki></pre>
</nowiki></pre>
Apply the patch.<br>
Apply the patch.<<BR>>
<pre><nowiki>sudo cat cont.diff | patch -p1
<pre><nowiki>
sudo cat cont.diff | patch -p1
</nowiki></pre>
</nowiki></pre>
Configure so your computer is ready to build. (CFLAGS due to Ubuntu bug)<br>
Configure so your computer is ready to build. (CFLAGS due to Ubuntu bug)<<BR>>
<pre><nowiki>
<pre><nowiki>
sudo ./configure CFLAGS=-fno-stack-protector
sudo ./configure CFLAGS=-fno-stack-protector
</nowiki></pre>
</nowiki></pre>
Build<br>
Build<<BR>>
<pre><nowiki>
<pre><nowiki>
sudo make depend && make
sudo make depend && make
</nowiki></pre>
</nowiki></pre>
Make a Debian Package and install<br>
Make a Debian Package and install<<BR>>
<pre><nowiki>
<pre><nowiki>
sudo checkinstall
sudo checkinstall
</nowiki></pre>
</nowiki></pre>
Run WINEcfg<br>
Run WINEcfg<<BR>>
<pre><nowiki>
<pre><nowiki>
winecfg
winecfg

2009年5月12日 (二) 16:19的最新版本

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

<<Include(Tag/Unsupported)>> 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/