Differences

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

Link to this comparison view

Next revision
Previous revision
howtos:osx:running [2012/02/10 08:45] – Initial Running on OSX instructions codebrainzhowtos:osx:running [2022/03/04 14:57] (current) – Update re MacPorts trlvn
Line 1: Line 1:
-====== Running Geany on Mac OSX ======+====== Running Geany on macOS (OS X) ======
  
-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 Homebrew) caused 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:+{{ :howtos:osx:geany-osx.png?direct&400 |}}
  
-  * Install [[http://www.macports.org/|MacPorts]] +===== Install Geany on macOS (OS X) ===== 
-  * Add this to ''/opt/local/etc/macports/variants.conf'':+There are 3 ways to install Geany on macOS
  
 +
 +==== 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.
 +
 +If you installed Geany from the dmg and want to run it from the command line:
 <code> <code>
-+no_x11 +/Applications/Geany.app/Contents/MacOS/geany
--x11 +
-+quartz+
 </code> </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}}
 +
 +==== 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 ====
 +
 +As of March 2022, you can install geany and geany-plugins (1.38) on your Apple Macintosh via MacPorts.  MacPorts is a software packaging system that brings thousands of open source software packages to the Mac operating system.  After installing MacPorts (and Apple’s Xcode developer tools), you can install geany and most of the plugin collection with:
 +
 +sudo port install geany-plugins
 +
 +If you want a leaner install, you can install just geany with:
  
-  * Run the following commands: 
-<code> 
 sudo port install geany sudo port install geany
-sudo port install gtk2-aurora #optional 
-</code> 
  
-__Note:__ The ''gtk2-aurora'' package isn't required but it will make Geany not look like donkey barf.+The default install of geany uses a X11 interface and so should be as similar as possible to other unix-based platforms if that is where you are coming from.  More experimental at this point, but can also install geany with a Quartz-based interface with: 
 + 
 +sudo port install geany +quartz 
 + 
 +For information on geany on MacPorts, you can look at
  
-__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.+[[https://ports.macports.org/port/geany/]]
  
-  * Then run geany with the following command:+[[https://ports.macports.org/port/geany-plugins/]]
  
-<code>geany --vte-lib=/opt/local/lib/libvte.dylib</code>+geany and geany-plugins are both native and compatible with Apple-silicone macs (“M1”).
  
-__Note:__ Leave out the ''--vte-lib'' argument if you don't care about the Terminal in Geany.+To run Geany, double-click the Geany icon installed in Application/MacPorts.
  
-__Note:__ The terminal wasn't working for me, but I'm sure it's workable, I just didn't try very hard.+If you run into a problem or deficiency with Geany from MacPorts, please post a message on the MacPorts-users mailing list:
  
-As a bonus, any other GTK+ apps you install with Macports will look at least as good as Geany does when installed this way.+[[https://trac.macports.org/wiki/MailingLists]]
  
Print/export