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
Next revisionBoth sides next revision
midori:contribute [2014/04/07 19:45] kalikianamidori:contribute [2015/08/10 00:43] – [Build the code] kalikiana
Line 37: Line 37:
 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**.