Gtk For Mac Os



GTK (formerly GTK+, GNOME ToolKit) is a free and open-source cross-platform widget toolkit for creating graphical user interfaces (GUIs). It is licensed under the terms of the GNU Lesser General Public License, allowing both free and proprietary software to use it. All macOS and iOS releases appearances from System 4 to macOS Catalina.

Added Mc-OS-Transparent: a very transparent version of the dark theme. McOS-CTLina is the latest iteration in this long-running series of mac- OS GTK-themes. Theming-wise this version builds further on top of the Mc-OS-MJV-GTK-theme. Better optimized with subtle improvements CTLina and CTLina-Dark are definitely worth updating. Make sure to install Mono 32-bit and GTK# for.NET (both found here) Double-click TerraTechModManager-GTK.exe. Be aware that Windows SmartScreen may interfere, either mark this executable as trusted or disable SmartScreen; For Mac OS users: Download & unzip TTMM.zip; Ensure Mono is installed. Split FLAC, split mp3, split ogg vorbis. Mp3splt-project do not own the logos or the icons of this page. Please see the icons licenses.

  • Verified
    This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.
    GPG key ID: 4AEE18F83AFDEB23Learn about signing commits
  • Choose a tag to compare
  • Verified
    This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.
    GPG key ID: 4AEE18F83AFDEB23Learn about signing commits

Aceba1 released this May 29, 2020 · 1 commit to master since this release

Gtk For Mac Os High Sierra

This update only updates executables for Linux & Mac OS, and provides instructions for how to install. No new improvements or changes.

For Windows users:

  • Download & unzip TTMM.zip
  • Make sure to install Mono 32-bit and GTK# for .NET (both found here)
  • Double-click TerraTechModManager-GTK.exe. Be aware that Windows SmartScreen may interfere, either mark this executable as trusted or disable SmartScreen

For Mac OS users:

  • Download & unzip TTMM.zip
  • Ensure Mono is installed
  • Control-click the Execute.command file to run it the first time, otherwise Finder will prohibit it

For Linux users:

  • Download & unzip TTMM.zip
  • Ensure the mono-complete package is installed (instructions here)
  • Mark Execute.sh as an executable, with chmod +x Execute.sh, or with user interface if applicable
  • Run with ./Execute.sh, or with interface
    • It is possible to alternatively use mono TerraTechModManager-GTK.exe
    • You can create a desktop entry to also run this, for example, with Alacarte
< Gtk2Hs
  • 5HomeBrew (32 bit, last checked 2011-08)
  • 6MacPorts (last checked 2011-03-10)

Known configurations

DateArchOSGTKGtk2HsGHCHaskell Platform
2016-08Intel 64-bitEl Capitan 10.11.6, Xcode Version 7.3.1 (7D1014)gtk+/2.24.30 (Homebrew)0.13.2.18.0.1 (Homebrew)
2014-05Intel 64-bitMavericks - 10.9.2, Xcode Version 5.1.1HomeBrew0.12.5.77.6.32013.2.0.0 for Mac OS X, 64 bit
2012-04Intel 64-bitLion - 10.7.3, Xcode 4.3HomeBrew0.12.37.0.42011.3.0.0
2012-02Intel 64-bitLion - 10.7.3, Xcode 4.1MacPortsdarcs HEAD 2012-02-207.4.1 (built from source, 64-bit)
2011-08Intel 32-bitSnow Leopard2.24.5 Homebrewgtk-0.12.07.0.32011.2.0.1
2011-03Intel 64-bitLeopardMacPorts6.10

HomeBrew OS X El Capitan (64 bit, last checked 2016-08)

1. Install XQuartz (version 2.7.9 at the time of writing):

2. Install GTK and the required libraries

3. Set an environment variable to allow pkg-config to find the file gtk+-2.0.pc (mine is located at /usr/local/lib/pkgconfig):

4. Install Cabal packages. The packages alex and happy are dependencies of dependencies of ghk2hs-buildtools. For some reason, they must be installed separately prior to installing gtk2hs-buildtools. The same goes for glib with respect to gtk. If they are not installed separately, compiling them fails. Make sure you install the gtk package with the flag -f have_quartz-gtk. Otherwise compiling gtk will fail.

At the time of writing, the versions installed with these commands are alex-3.1.7, happy-1.19.5, gtk2hs-buildtools-0.13.2.1, glib-0.13.4.0, gtk-0.14.5.

HomeBrew OS X Mavericks (64 bit, last checked 2014-05)

These instructions are an update of the HomeBrew installation shown below (2008) for Mavericks. Make sure that the system you are using has the 64bit version of the Haskell platform installed. Unfortunately, if you have an older 32bit version these instructions will work but all the programs using gtk will fail to compile.

1. Install XQuartz (download) at the time these instruction were written version 2.7.5 worked.Make sure to logout and login again.

2. Install the gtk library and dependencies

3. Build freetype by hand (download)

Verify whether gtk installed correctly by executing gtk-demo. If the window does not open you might have forgotten to logout and login.

4. Install Haskell GTK with gcc 4.8, it might work with other versions of gcc that you already have installed. However, it will not work with gcc versions <= 4.2.

HomeBrew (64 bit, last checked 2012-08)

These instructions come from a gist by Carter Schonwald

1. Install the gtk library and dependencies

2. Build freetype by hand (download)

3. Install Haskell GTK

4. Update for Mountain Lion (OSX 10.8)

This OS release uses xquartz project X11 implementation, that may yield errors while building the package.

In the above step 3 (cabal install gtk) I had errors that were resolved by:

4.1 Fixing any detail reported by 'brew doctor'

4.2. Accepting the XCode 4.4 command line tool's license:

4.3. Setting pkg-config search path to:

4.4. Building (as cited in gtk2hs mac instructions) with

HomeBrew (32 bit, last checked 2011-08)

If the gtk-demo appears to work, proceed to the rest of the gtk2hs install.

Troubleshooting

Problem: Bus error

Try running the gtk-demo program. Does it also fail?

If so, did you try updating your port? For example, if you are using Howebrew try:

Then try gtk-demo again and finally

Gtk Mac Os Theme

It may be worthwhile to try a gtkhs helloworld

MacPorts (last checked 2011-03-10)

  • Install MacPorts
  • Add +universal to /opt/local/etc/macports/variants.conf (not needed on 32bit)
  • execute:

Detailed instructions

This explains how to install Gtk2Hs-0.10.1 on Mac OS X 10.6 Snow Leopard, in combination with GTK+ from MacPorts.

  • Install the Haskell Platform for Mac
  • Download gtk2hs from Gtk2Hs website and untar it.
  • Install gtk, cairo, etc. from MacPorts like this (note that the +universal is needed; if you already installed gtk or one of its dependencies, it is recommended you reinstall those as detailed in the NB at the end of this section).
  • Go to the directory where gtk2hs is untarred and run

Alternatively, if you wish to follow the Mac OS X style of directory layout, you can use this configure command instead:

Right now you should be able to run the demos. Unfortunately, to build any libraries depending on Gtk2Hs, such as Chart, you need to edit one more file. You will need to find package.conf for your installed GHC by running

In the output you will see the full directory to your package.conf file. In this file, you need to search for 'gthread', and everywhere you can find it, add '/opt/local/lib' (with quotes) to the libraryDirs array before it.

If all went well, it should be properly installed now.

Gtk+ Macos Brew

NB: If compiling fails with architecture errors for certain dynlibs, you need to reinstall the packages these dynlibs belong to with +universal by doing

Alternatively, and this is recommended, you can follow the steps on Haskell On Snow Leopard Blogpost to immediately add the universal variant of each package:

  1. Edit /opt/local/macports/variants.conf and add +universal to the end of this file
  2. sudo port selfupdate
  3. sudo port sync
  4. sudo port upgrade --force installed

GTK+ OS X Framework

This explains how to install Gtk2Hs on Macs using the native GTK+ OS X Framework, a port of GTK+ to the Mac that does not depend on X11, and hence, is better integrated into the Mac desktop - i.e., menus actually appear in the menu bar, where they belong. It also avoids the often tedious installation of GTK+ via MacPorts. However, it misses support for optional Gtk2Hs packages that are currently not supported by the GTK+ OS X Framework, most notably support for Glade. It does include support for Cairo, though.

Here is how to install the library:

  1. Download and install GTK+ OS X Framework (this uses the standard Mac package installer).
  2. Install pkg-config, either by compiling it from source or via MacPorts.
  3. Download and unpack the Gtk2Hs tar ball from the Gtk2Hs download page (I tested 0.10.0).
  4. Configure with (you may want to remove the two backslashes and put everything on one line)

Mac Os Download For Windows

  1. Build with
  1. Install (to /usr/local/ unless a --prefix option was passed to configure) with

Gtk Sharp Mac Os X

The library is now registered with the package database of the GHC you used for compiling.

NB: Thanks to Ross Mellgren for his post on the gtk2hs-users list that outlined the use of PKG_CONFIG_PATH.

Download
Retrieved from 'https://wiki.haskell.org/index.php?title=Gtk2Hs/Mac&oldid=62426'




Comments are closed.