Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
midori:contribute [2014/03/16 17:01] kalikianamidori:contribute [2015/08/30 21:14] (current) kalikiana
Line 17: Line 17:
  
 Join [[irc://irc.freenode.net/midori|#midori]] on Freenode [[https://kiwiirc.com/client/irc.freenode.net/midori|or use webchat]] to talk about Midori, discuss bugs and new ideas. Join [[irc://irc.freenode.net/midori|#midori]] on Freenode [[https://kiwiirc.com/client/irc.freenode.net/midori|or use webchat]] to talk about Midori, discuss bugs and new ideas.
 +
 +//Note: Midori also has a mirrored room in [[https://elementary.io/|Elementary]]'s Slack ([[https://ele.slack.com/messages/midori/|invite-only]]) which means #midori is logged (logs are only available to admins, not all users) and you may be talking to users through the gateway.//
 +
 ====== Contribute other than touching code ====== ====== Contribute other than touching code ======
  
Line 37: Line 40:
 cmake -DCMAKE_INSTALL_PREFIX=/usr .. cmake -DCMAKE_INSTALL_PREFIX=/usr ..
 make make
-sudo make install</code>+sudo make install 
 +sudo gtk-update-icon-cache /usr/share/icons/hicolor 
 +</code>
  
 //Advanced Tip: Pass "-G Ninja" to cmake to use [[http://martine.github.io/ninja/|Ninja]] instead of make (usually packaged as ninja or ninja-build).// //Advanced Tip: Pass "-G Ninja" to cmake to use [[http://martine.github.io/ninja/|Ninja]] instead of make (usually packaged as ninja or ninja-build).//
  
 If using GTK+3 you'll want to add <code bash>-DUSE_GTK3=1</code> to the cmake command line. If using GTK+3 you'll want to add <code bash>-DUSE_GTK3=1</code> to the cmake command line.
 +
 +You can build Midori using another C Compiler for example Clang. Just
 +add -DCMAKE_C_COMPILER=/path/to/compiler to the cmake arguments.
 +Then you can build following your normal procedure. Like this:
 +<code bash>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=/usr/bin/clang ..
 +make</code>
  
 Midori can be **run without being installed**. Midori can be **run without being installed**.
Line 69: Line 80:
  
 <code bash>env MIDORI_DEBUG=help _build/midori/midori</code> <code bash>env MIDORI_DEBUG=help _build/midori/midori</code>
 +
 +Whilst -g is convenient you may want to use proper gdb:
 +
 +<code bash>gdb
 +file _build/midori/midori
 +run
 +
 +bt</code>
 +
 +On Windows you can open the folder where Midori is installed and double-click gdb.exe. A black command line window should appear.
 +
 +<code bash>file midori.exe
 +run
 +
 +bt</code>
  
 To verify a regression you might need to revert a particular change: To verify a regression you might need to revert a particular change:
Line 264: Line 290:
 Compiler should match the one that was used to build packages ideally. Compiler should match the one that was used to build packages ideally.
  
-We will user *mingw64 rubenvb* release +  * We will user *mingw64 rubenvb* release 
-- lastest stable release is gcc 4.8.0+  * Lastest stable release is gcc 4.8.0
  
-[Releases](http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting +[[http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting 
-%20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/)+%20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/|Releases]]
  
-[Download](http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting+[[http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting
 %20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/x86_64-w64-mingw32-gcc-4.8.0- %20Win64/Personal%20Builds/rubenvb/gcc-4.8-release/x86_64-w64-mingw32-gcc-4.8.0-
-win32_rubenvb.7z/download)+win32_rubenvb.7z/download|Download]]
  
  
Line 278: Line 304:
 We will need 7zip to extract various archives We will need 7zip to extract various archives
  
-[Homepage](http://www.7-zip.org/download.html)+[[http://www.7-zip.org/download.html|Homepage]]
  
  
-[32 bit installer](http://downloads.sourceforge.net/sevenzip/7z920.exe)+[[http://downloads.sourceforge.net/sevenzip/7z920.exe|32bit Installer]]
  
  
Line 290: Line 316:
 We get python3, whatever is the lastes stable release. We get python3, whatever is the lastes stable release.
  
-[Releases](http://www.python.org/download/releases/3.3.5)+[[http://www.python.org/download/releases/3.3.5|Releases]]
  
-[Download page](http://www.python.org/downloads/release/python-335/)+[[http://www.python.org/downloads/release/python-335/|Download]]
  
-[Installer](http://www.python.org/ftp/python/3.3.5/python-3.3.5.amd64.msi)+[[http://www.python.org/ftp/python/3.3.5/python-3.3.5.amd64.msi|Installer]]
  
 Install Python and be sure to check "addd python.exe to path" installer checkbox. Install Python and be sure to check "addd python.exe to path" installer checkbox.
Line 302: Line 328:
 unpack rpm files for us. unpack rpm files for us.
  
-[Script page](https://github.com/mkbosmans/download-mingw-rpm/blob/master/download- +[[https://github.com/mkbosmans/download-mingw-rpm/blob/master/download- 
-mingw-rpm.py)+mingw-rpm.py|View Script]]
  
-[Script itself](https://github.com/mkbosmans/download-mingw-rpm/raw/master/download- +[[https://github.com/mkbosmans/download-mingw-rpm/raw/master/download- 
-mingw-rpm.py)+mingw-rpm.py|Download Script]]
  
 Usage: Usage:
  
-- launch cmd.exe +  * Launch cmd.exe 
-- and navigate to folder when the script was saved make sure that python can access  +  * Navigate to folder where the script was saved 
-7z.exe +  * Make sure that python can access 7z.exe 
-- run command and wait, it should extract packages into your current directory+  * Run command and wait, it should extract the packages into your current directory
  
- c:\Python33\python.exe download-mingw-rpm.py -u  +<code bash>c:\Python33\python.exe download-mingw-rpm.py -u http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/updates/18/i386/ --deps mingw32-webkitgtk mingw32-glib-networking mingw32-gdb mingw32-gstreamer-plugins-good</code>
-http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/updates/18/i386/ --deps mingw32- +
-webkitgtk mingw32-glib-networking mingw32-gdb mingw32-gstreamer-plugins-good+
  
-[Fedora 18 packages] +[[http://dl.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/Packages 
-(http://dl.fedoraproject.org/pub/fedora/linux/releases/18/Everything/i386/os/Packages +/m/|Fedora 18 packages]]
-/m/+
-Above url for some reason does not work with the script.+
  
 +The above URL for some reason does not work with the script.
  
 ==== MSYS ==== ==== MSYS ====