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
Last revisionBoth sides next revision
howtos:osx:running [2013/12/08 06:51] nullzerohowtos:osx:running [2020/12/07 07:18] – Clearer explanation for installation and explain how to run it sangorys
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 Macports. All 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:+===== Install Geany on macOS (OS X===== 
 +There are 3 ways to install Geany on macOS
  
-  * Install [[http://www.macports.org/|MacPorts]] + 
-  * Add this to ''/opt/local/etc/macports/variants.conf'':+==== Install by downloading 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 dependencies) and color themes. 
 + 
 +==== Install by compiling from Sources ==== 
 +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]]. 
 + 
 +==== Install by 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 25:
 </code> </code>
  
-  * Run the following commands:+Then run the following commands: 
 <code> <code>
 sudo port install geany sudo port install geany
Line 25: Line 37:
 __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't work without additional patching so the terminal tab isn't available.
  
-<code>geany --vte-lib=/opt/local/lib/libvte.dylib</code>+As a bonus, any other GTK+ apps you install with MacPorts will look at least as good as Geany does when installed this way.
  
-__Note:__ Leave out the ''--vte-lib'' argument if you don't care about the Terminal in Geany. 
  
-__Note:__ The terminal wasn't working for me, but I'm sure it's workable, I just didn't try very hard.+===== Run Geany on macOS (OS X) ===== 
 +The intuitive method is to run Geany with the LaunchPad.
  
-As a bonusany other GTK+ apps you install with Macports will look at least as good as Geany does when installed this way.+If you want to run Geany in command line, you can write in the terminal : 
 +<code> 
 +/Applications/Geany.app/Contents/MacOS/geany 
 +</code> 
 +If you want to create some shortcuts or to add this path to the default path, please read this thread on GitHub
  
 +{{tag>howto macosx build build-from-source}}
Print/export