特殊:Badtitle/NS100:ContinuumOnFeisty:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第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的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/ContinuumOnFeisty }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/af | • {{#if: UbuntuHelp:ContinuumOnFeisty|Afrikaans| [[::ContinuumOnFeisty/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ar | • {{#if: UbuntuHelp:ContinuumOnFeisty|العربية| [[::ContinuumOnFeisty/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/az | • {{#if: UbuntuHelp:ContinuumOnFeisty|azərbaycanca| [[::ContinuumOnFeisty/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/bcc | • {{#if: UbuntuHelp:ContinuumOnFeisty|جهلسری بلوچی| [[::ContinuumOnFeisty/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/bg | • {{#if: UbuntuHelp:ContinuumOnFeisty|български| [[::ContinuumOnFeisty/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/br | • {{#if: UbuntuHelp:ContinuumOnFeisty|brezhoneg| [[::ContinuumOnFeisty/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ca | • {{#if: UbuntuHelp:ContinuumOnFeisty|català| [[::ContinuumOnFeisty/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/cs | • {{#if: UbuntuHelp:ContinuumOnFeisty|čeština| [[::ContinuumOnFeisty/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/de | • {{#if: UbuntuHelp:ContinuumOnFeisty|Deutsch| [[::ContinuumOnFeisty/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/el | • {{#if: UbuntuHelp:ContinuumOnFeisty|Ελληνικά| [[::ContinuumOnFeisty/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/es | • {{#if: UbuntuHelp:ContinuumOnFeisty|español| [[::ContinuumOnFeisty/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/fa | • {{#if: UbuntuHelp:ContinuumOnFeisty|فارسی| [[::ContinuumOnFeisty/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/fi | • {{#if: UbuntuHelp:ContinuumOnFeisty|suomi| [[::ContinuumOnFeisty/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/fr | • {{#if: UbuntuHelp:ContinuumOnFeisty|français| [[::ContinuumOnFeisty/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/gu | • {{#if: UbuntuHelp:ContinuumOnFeisty|ગુજરાતી| [[::ContinuumOnFeisty/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/he | • {{#if: UbuntuHelp:ContinuumOnFeisty|עברית| [[::ContinuumOnFeisty/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/hu | • {{#if: UbuntuHelp:ContinuumOnFeisty|magyar| [[::ContinuumOnFeisty/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/id | • {{#if: UbuntuHelp:ContinuumOnFeisty|Bahasa Indonesia| [[::ContinuumOnFeisty/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/it | • {{#if: UbuntuHelp:ContinuumOnFeisty|italiano| [[::ContinuumOnFeisty/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ja | • {{#if: UbuntuHelp:ContinuumOnFeisty|日本語| [[::ContinuumOnFeisty/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ko | • {{#if: UbuntuHelp:ContinuumOnFeisty|한국어| [[::ContinuumOnFeisty/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ksh | • {{#if: UbuntuHelp:ContinuumOnFeisty|Ripoarisch| [[::ContinuumOnFeisty/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/mr | • {{#if: UbuntuHelp:ContinuumOnFeisty|मराठी| [[::ContinuumOnFeisty/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ms | • {{#if: UbuntuHelp:ContinuumOnFeisty|Bahasa Melayu| [[::ContinuumOnFeisty/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/nl | • {{#if: UbuntuHelp:ContinuumOnFeisty|Nederlands| [[::ContinuumOnFeisty/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/no | • {{#if: UbuntuHelp:ContinuumOnFeisty|norsk| [[::ContinuumOnFeisty/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/oc | • {{#if: UbuntuHelp:ContinuumOnFeisty|occitan| [[::ContinuumOnFeisty/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/pl | • {{#if: UbuntuHelp:ContinuumOnFeisty|polski| [[::ContinuumOnFeisty/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/pt | • {{#if: UbuntuHelp:ContinuumOnFeisty|português| [[::ContinuumOnFeisty/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ro | • {{#if: UbuntuHelp:ContinuumOnFeisty|română| [[::ContinuumOnFeisty/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/ru | • {{#if: UbuntuHelp:ContinuumOnFeisty|русский| [[::ContinuumOnFeisty/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/si | • {{#if: UbuntuHelp:ContinuumOnFeisty|සිංහල| [[::ContinuumOnFeisty/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/sq | • {{#if: UbuntuHelp:ContinuumOnFeisty|shqip| [[::ContinuumOnFeisty/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/sr | • {{#if: UbuntuHelp:ContinuumOnFeisty|српски / srpski| [[::ContinuumOnFeisty/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/sv | • {{#if: UbuntuHelp:ContinuumOnFeisty|svenska| [[::ContinuumOnFeisty/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/th | • {{#if: UbuntuHelp:ContinuumOnFeisty|ไทย| [[::ContinuumOnFeisty/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/tr | • {{#if: UbuntuHelp:ContinuumOnFeisty|Türkçe| [[::ContinuumOnFeisty/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/vi | • {{#if: UbuntuHelp:ContinuumOnFeisty|Tiếng Việt| [[::ContinuumOnFeisty/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/yue | • {{#if: UbuntuHelp:ContinuumOnFeisty|粵語| [[::ContinuumOnFeisty/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/zh | • {{#if: UbuntuHelp:ContinuumOnFeisty|中文| [[::ContinuumOnFeisty/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/zh-hans | • {{#if: UbuntuHelp:ContinuumOnFeisty|中文(简体)| [[::ContinuumOnFeisty/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ContinuumOnFeisty | UbuntuHelp:ContinuumOnFeisty | {{#if: | :}}ContinuumOnFeisty}}/zh-hant | • {{#if: UbuntuHelp:ContinuumOnFeisty|中文(繁體)| [[::ContinuumOnFeisty/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:ContinuumOnFeisty|:ContinuumOnFeisty|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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/