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:13] 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: