Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
midori:contribute [2013/11/20 00:48] – [Build the code] kalikiana | midori:contribute [2013/11/22 19:32] – lewisgoddard | ||
---|---|---|---|
Line 23: | Line 23: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | * Write [[tutorial|your own extension]] - granted that's code, too, but maybe a little easier than hacking the core. | + | * Write [[http:// |
====== Build the code ====== | ====== Build the code ====== | ||
Line 212: | Line 212: | ||
For cross-compilation | For cross-compilation | ||
- | <code bash>yum install mingw{32, | + | <code bash>yum install mingw{32, |
Packages needed when assembling the archive | Packages needed when assembling the archive | ||
- | <code bash> yum install faenza-icon-theme p7zip mingw32-nsis</ | + | <code bash> yum install faenza-icon-theme p7zip mingw32-nsis |
Installing those should get you the packages needed to successfully build and develop Midori for Win32. | Installing those should get you the packages needed to successfully build and develop Midori for Win32. | ||
- | |||
===== Building ===== | ===== Building ===== | ||
For 32-bit builds: | For 32-bit builds: | ||
<code bash> | <code bash> | ||
- | mingw32-env | + | mkdir _mingw32 |
- | ./ | + | cd _mingw32 |
+ | mingw32-cmake .. -DUSE_ZEITGEIST=0 | ||
make | make | ||
sudo make install</ | sudo make install</ | ||
Line 229: | Line 229: | ||
For 64-bit builds: | For 64-bit builds: | ||
<code bash> | <code bash> | ||
- | mingw64-env | + | mkdir _mingw64 |
- | ./ | + | cd _mingw64 |
+ | mingw64-cmake .. -DUSE_ZEITGEIST=0 | ||
make | make | ||
sudo make install</ | sudo make install</ | ||
Line 239: | Line 240: | ||
64-bit build: | 64-bit build: | ||
<code bash>env MINGW_PREFIX="/ | <code bash>env MINGW_PREFIX="/ | ||
- | |||
===== Testing ===== | ===== Testing ===== | ||
For testing your changes unfortuantely a real system is needed because Midori and WebKitGTK+ don't work properly under Wine. Even if it works some problems are not visible when using Wine, but are present when running under a real Windows system and vice versa. | For testing your changes unfortuantely a real system is needed because Midori and WebKitGTK+ don't work properly under Wine. Even if it works some problems are not visible when using Wine, but are present when running under a real Windows system and vice versa. |