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/22 19:32] – lewisgoddard | midori:contribute [2014/03/16 16:59] – kalikiana | ||
---|---|---|---|
Line 24: | Line 24: | ||
* [[https:// | * [[https:// | ||
* Write [[http:// | * Write [[http:// | ||
+ | |||
+ | ====== Documentation resources ====== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
====== Build the code ====== | ====== Build the code ====== | ||
Line 201: | Line 208: | ||
* Clear Private Data uses **Granite.Widgets.LightWindow** | * Clear Private Data uses **Granite.Widgets.LightWindow** | ||
* Edit Bookmark and Security Details use [[http:// | * Edit Bookmark and Security Details use [[http:// | ||
- | * Browser uses **Granite.Widgets.DynamicNotebook** instead of Gtk.Notebook | + | |
====== Midori for Windows ====== | ====== Midori for Windows ====== | ||
- | ===== Dependencies | + | |
+ | ===== For Linux developers | ||
+ | ==== Dependencies | ||
Midori for Windows is compiled on a Linux host and MinGW stack. For the current build Fedora 18 packages are used. Packages needed are listed below: | Midori for Windows is compiled on a Linux host and MinGW stack. For the current build Fedora 18 packages are used. Packages needed are listed below: | ||
Line 218: | Line 227: | ||
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> | ||
Line 244: | Line 253: | ||
One way around it is to virtualize Windows on a Linux host and mount your MinGW directories as a network drive or shared folder. | One way around it is to virtualize Windows on a Linux host and mount your MinGW directories as a network drive or shared folder. | ||
+ | |||
+ | ===== For Windows developers ===== | ||
+ | Rough list of prerequisites for building with MinGW on Windows | ||
+ | |||
+ | If in doubt whether to get 32 or 64 bit versions use 32 bit ones, they are more | ||
+ | universal and tend to be less broken. | ||
+ | |||
+ | |||
+ | ==== MinGW compiler ==== | ||
+ | Compiler should match the one that was used to build packages ideally. | ||
+ | |||
+ | - We will user *mingw64 rubenvb* release | ||
+ | - lastest stable release is gcc 4.8.0 | ||
+ | |||
+ | [Releases](http:// | ||
+ | %20Win64/ | ||
+ | |||
+ | [Download](http:// | ||
+ | %20Win64/ | ||
+ | win32_rubenvb.7z/ | ||
+ | |||
+ | |||
+ | ==== 7zip ==== | ||
+ | We will need 7zip to extract various archives | ||
+ | |||
+ | [Homepage](http:// | ||
+ | |||
+ | |||
+ | [32 bit installer](http:// | ||
+ | |||
+ | |||
+ | ==== Python3 (to extract rpms) ==== | ||
+ | We will need python3 to use download-mingw-rpm.py script. | ||
+ | If you don't plan to use it you can safely skip this step. | ||
+ | |||
+ | We get python3, whatever is the lastes stable release. | ||
+ | |||
+ | [Releases](http:// | ||
+ | |||
+ | [Download page](http:// | ||
+ | |||
+ | [Installer](http:// | ||
+ | |||
+ | Install Python and be sure to check "addd python.exe to path" installer checkbox. | ||
+ | |||
+ | ==== download-mingw-rpm.py ==== | ||
+ | We get download-mingw-rpm.py script from github. It uses Python3 and should fetch and | ||
+ | unpack rpm files for us. | ||
+ | |||
+ | [Script page](https:// | ||
+ | mingw-rpm.py) | ||
+ | |||
+ | [Script itself](https:// | ||
+ | mingw-rpm.py) | ||
+ | |||
+ | Usage: | ||
+ | |||
+ | - launch cmd.exe | ||
+ | - and navigate to folder when the script was saved make sure that python can access | ||
+ | 7z.exe | ||
+ | - run command and wait, it should extract packages into your current directory | ||
+ | |||
+ | c: | ||
+ | http:// | ||
+ | webkitgtk mingw32-glib-networking mingw32-gdb mingw32-gstreamer-plugins-good | ||
+ | |||
+ | [Fedora 18 packages] | ||
+ | (http:// | ||
+ | /m/) | ||
+ | Above url for some reason does not work with the script. | ||
+ | |||
+ | |||
+ | ==== MSYS ==== | ||
+ | Msys contains shell and some small utilities | ||
+ | |||
+ | [Download](http:// | ||
+ | %20packages%20%28Win64%20hosted%29/ | ||
+ | |||
+ | |||
+ | ==== CMake ==== | ||
+ | [Homepage](http:// | ||
+ | [Installer](http:// | ||
+ | |||
+ | When installing check the installer checkbox "add to path" | ||
+ | |||
+ | |||
+ | ==== Bazaar ==== | ||
+ | [Homepage](http:// | ||
+ | |||
+ | We will get 2.4 Stable Release (standalone) | ||
+ | |||
+ | [Installer](http:// | ||
+ | |||
+ | When installing check the installer checkbox "add to path" | ||
+ | |||
+ | ==== Vala ==== | ||
+ | [Source](http:// | ||
+ | |||
+ | ==== Globbing it all together ==== | ||
+ | |||
+ | Extracted rpms msys and mingw packages should form uniform unix like folder. | ||
+ | You use msys.bat to launch a shell | ||
====== Jargon ====== | ====== Jargon ====== |