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
howtos:osx:running [2012/02/19 07:32] – Self-censorship codebrainzhowtos:osx:running [2020/03/29 19:35] – Copy edited (e.g. ref. <https://en.wikipedia.org/wiki/Mac_OS_X_Lion>). petermortensen
Line 1: Line 1:
-====== Running Geany on Mac OSX ======+====== Running Geany on macOS (OS X) ======
  
-{{ :howtos:osx:geany-osx.png?direct&300 |}}+{{ :howtos:osx:geany-osx.png?direct&400 |}}
  
-The simplest way I found to run Geany on OSX, while still being somewhat "native" is to use MacportsAll of the other stuff I tried (Fink and Homebrewcaused Geany to run in Xorg, which is kinda nasty but this way will use the Quartz backend of GTK+I'll quickly outline the steps to install it:+==== Binary Package ==== 
 +The easiest way to get Geany installed on your system is to get the precompiled version available [[http://download.geany.org/|here]]. The app bundle requires OS X 10.7 (Lion) or higher and a 64-bit CPU. The bundle includes most of the plugins (those not requiring additional dependenciesand color themes.
  
-  * Install [[http://www.macports.org/|MacPorts]] +==== Compiling from Sources ==== 
-  * Add this to ''/opt/local/etc/macports/variants.conf'':+Geany compilation and creation of the above app bundle using jhbuild is explained in the [[https://github.com/geany/geany-osx|geany-osx project README]]
 + 
 +==== Using MacPorts ==== 
 + 
 +__Note:__ while MacPorts provides a Geany package, as of this writing the Geany version provided by MacPorts has some major issues (paste not working, infinite loop after using find in files). The current Geany master version already contains fixes for these issues and it is expected that Geany 1.25 will work alright with MacPorts. You can get all dependencies using MacPorts and compile the development Geany version to have fully working Geany under MacPorts. 
 + 
 +To have native-looking Geany under OS X, add this to ''/opt/local/etc/macports/variants.conf'':
  
 <code> <code>
Line 14: Line 21:
 </code> </code>
  
-  * Run the following commands:+Then run the following commands: 
 <code> <code>
 sudo port install geany sudo port install geany
 sudo port install gtk2-aurora #optional sudo port install gtk2-aurora #optional
 +sudo port install gtk-chtheme #optional
 </code> </code>
  
-__Note:__ The ''gtk2-aurora'' package isn't required but it will make Geany look better.+__Note:__ The ''gtk2-aurora'' and ''gtk-chtheme'' packages aren't required but they will make Geany look better. After installing, run <code>gtk-chtheme</code> and choose gtk2-aurora.
  
 __Note:__ Geany's menu will be inside its main window instead of in the top panel like native applications, so it will feel slightly foreign, but it still works great. __Note:__ Geany's menu will be inside its main window instead of in the top panel like native applications, so it will feel slightly foreign, but it still works great.
  
-  * Then run geany with the following command: +__Note:__ VTE 0.28.2 doesn'work without additional patching so the terminal tab isn'available.
- +
-<code>geany --vte-lib=/opt/local/lib/libvte.dylib</code> +
- +
-__Note:__ Leave out the ''--vte-lib'' argument if you don'care about the Terminal in Geany. +
- +
-__Note:__ The terminal wasn't working for me, but I'm sure it's workable, I just didn'try very hard.+
  
-As a bonus, any other GTK+ apps you install with Macports will look at least as good as Geany does when installed this way.+As a bonus, any other GTK+ apps you install with MacPorts will look at least as good as Geany does when installed this way.
  
 +{{tag>howto macosx build build-from-source}}
Print/export