Mac: Difference between revisions

From KDE Community Wiki
(Update MacPorts versions)
(Full cleanup)
Line 11: Line 11:
Instructions are provided on TechBase for [https://techbase.kde.org/Getting_Started/Build/Mac_OS_X/MacPorts installing a development environment using MacPorts]. If you want a user installation then just skip the final 'Configure your KDE development environment' section.
Instructions are provided on TechBase for [https://techbase.kde.org/Getting_Started/Build/Mac_OS_X/MacPorts installing a development environment using MacPorts]. If you want a user installation then just skip the final 'Configure your KDE development environment' section.


==== Additional information to KDE software in Macports ====
Additional information:


* [https://trac.macports.org/wiki/KDE Wiki page on macports.org about KDE software in general]
* [https://trac.macports.org/wiki/KDE Wiki page on macports.org about KDE software in general]
Line 20: Line 20:
* http://www.finkproject.org/
* http://www.finkproject.org/


As of August 2014, the latest available and supported version is KDE SC 4.4.1.
As of June 2016, the latest available and supported version is KDE SC 4.14.6.


The Fink packages allow you to install KDE SC 4 as either Qt/X11 or Qt/Mac (native) packages by selecting either packages ending in "-x11" or "-mac", for example "kdebase4-x11" and "kdebase4-mac".
The Fink packages allow you to install KDE SC 4 as either Qt/X11 or Qt/Mac (native) packages by selecting either packages ending in "-x11" or "-mac", for example "kdebase4-x11" and "kdebase4-mac".
Line 34: Line 34:
* https://github.com/adymo/homebrew-kde
* https://github.com/adymo/homebrew-kde


You can tap this repository into your homebrew. It adds KDevelop and Kate packages (and all their dependencies). At of Oct 10th, 2013 the repository has only those two applications. More planned.
As of June 2016, the latest available and supported version is KDE SC 4.14.3.


Please carefully follow [https://github.com/adymo/homebrew-kde installation instructions].
You can tap this repository into your homebrew. It installs the following apps and all their dependencies:
 
* KDevelop
* Kate
* Konversation
* Massif Visualizer
 
Please carefully follow installation instructions on that above page.


==== Installing KDE Frameworks 5 using Homebrew ====
==== Installing KDE Frameworks 5 using Homebrew ====


* https://github.com/haraldF/homebrew-kf5
* https://github.com/haraldF/homebrew-kf5
As of June 2016, the latest available and supported version is KDE SC 5.22.0.


You can tap this repository into your homebrew. It adds KDE Frameworks 5 packages (and all their dependencies) and some applications that already make use of them (e.g. Kate and Kwrite). As of March 28th, 2014 the repository still is experimental as the developer tries to get them into a working state. Hints and patches are welcome.
You can tap this repository into your homebrew. It adds KDE Frameworks 5 packages (and all their dependencies) and some applications that already make use of them (e.g. Kate and Kwrite). As of March 28th, 2014 the repository still is experimental as the developer tries to get them into a working state. Hints and patches are welcome.
Line 50: Line 59:
Some KDE applications provide a standalone installer, usually in a Qt only mode and missing some KDE software integration features.
Some KDE applications provide a standalone installer, usually in a Qt only mode and missing some KDE software integration features.


* [http://edu.kde.org/marble/download.php Marble Virtual Globe]
* [http://edu.kde.org/marble/download.php Marble Virtual Globe] v1.5.0 (outdated)


== Running KDE Applications ==
== Running KDE Applications ==


The applications should be run from the Finder or via Spotlight.  See the MacPorts or Fink sections for where the applications will be installed.
Please see the distribution notes for MacPorts / Fink / Homebrew formulas you are using. You may need to run the following steps once after installation:
 
Before running any KDE applications you need to perform a couple of steps once only:


  sudo chown -R $USER ~/Library/Preferences/KDE
  sudo chown -R $USER ~/Library/Preferences/KDE
Line 84: Line 91:
Many of these TechBase pages are outdated, most of the content is no longer valid and should be moved to community and/or deleted.  Please use with care.
Many of these TechBase pages are outdated, most of the content is no longer valid and should be moved to community and/or deleted.  Please use with care.


* http://techbase.kde.org/Getting_Started/Build/Mac_OS_X/MacPorts
* https://techbase.kde.org/Getting_Started/Build/Mac_OS_X/MacPorts
* http://techbase.kde.org/Projects/KDE_on_Mac_OS_X/KDE_3
* https://techbase.kde.org/Projects/KDE_on_Mac_OS_X/KDE_3
* http://techbase.kde.org/Projects/KDE_on_Mac_OS_X/TODO
* https://techbase.kde.org/Projects/KDE_on_Mac_OS_X/TODO
* http://techbase.kde.org/Projects/KDE_on_Mac_OS_X/Tips_On_Building
* https://techbase.kde.org/Projects/KDE_on_Mac_OS_X/Tips_On_Building
* http://techbase.kde.org/Projects/KDE_on_Mac_OS_X/Macbook_Manifesto
* https://techbase.kde.org/Projects/KDE_on_Mac_OS_X/Macbook_Manifesto


== Continuous Integration ==
== Continuous Integration ==


In the [http://community.kde.org/Frameworks Frameworks] section of this wiki you find more information about [http://community.kde.org/Frameworks/Epics/Continuous_Integration Continuous Integration on Mac] and other systems.
In the [http://community.kde.org/Frameworks Frameworks] section of this wiki you find more information about [http://community.kde.org/Frameworks/Epics/Continuous_Integration Continuous Integration on Mac] and other systems.

Revision as of 15:43, 14 June 2016

Installing KDE software on Mac OSX

The easiest way to do this is to use one of the Mac build systems which will automatically resolve all the dependencies for you. Unfortunately, this can be a very long process, taking up to 2 or more days. As at December 2012 MacPorts is currently recommended as it is the most up-to-date.

Installing using MacPorts

As of June 2016, the latest available and supported version is KDE SC 4.14.3.

Instructions are provided on TechBase for installing a development environment using MacPorts. If you want a user installation then just skip the final 'Configure your KDE development environment' section.

Additional information:

Installing using Fink

As of June 2016, the latest available and supported version is KDE SC 4.14.6.

The Fink packages allow you to install KDE SC 4 as either Qt/X11 or Qt/Mac (native) packages by selecting either packages ending in "-x11" or "-mac", for example "kdebase4-x11" and "kdebase4-mac".

Additionally, the Fink packages allow the running of the Plasma desktop in X11 mode. Just install "kdebase4-workspace-x11" to install it.

The Fink KDE software packages will be installed in /sw/opt/kde4/x11 or /sw/opt/kde4/mac respectively. They also are able to start D-Bus for you as long as you run "/sw/bin/init.sh" normally, or when you open a terminal, if you have run the path setup script in the Fink installer.

Installing using Homebrew

Installing KDevelop and Kate using Homebrew (KDE4-based)

As of June 2016, the latest available and supported version is KDE SC 4.14.3.

You can tap this repository into your homebrew. It installs the following apps and all their dependencies:

  • KDevelop
  • Kate
  • Konversation
  • Massif Visualizer

Please carefully follow installation instructions on that above page.

Installing KDE Frameworks 5 using Homebrew

As of June 2016, the latest available and supported version is KDE SC 5.22.0.

You can tap this repository into your homebrew. It adds KDE Frameworks 5 packages (and all their dependencies) and some applications that already make use of them (e.g. Kate and Kwrite). As of March 28th, 2014 the repository still is experimental as the developer tries to get them into a working state. Hints and patches are welcome.

Please carefully follow installation instructions.

Standalone Application Installers

Some KDE applications provide a standalone installer, usually in a Qt only mode and missing some KDE software integration features.

Running KDE Applications

Please see the distribution notes for MacPorts / Fink / Homebrew formulas you are using. You may need to run the following steps once after installation:

sudo chown -R $USER ~/Library/Preferences/KDE
sudo launchctl load  -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist

Sometimes, Installer.app fails to run the post-install. If things are acting funny, try running these two commands in a terminal:

sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
/opt/local/bin/kbuildsycoca4

Getting Help

IRC:

  • #kde-mac on Freenode

Mailing list:

Forums:

Bugs:

TechBase Pages

Many of these TechBase pages are outdated, most of the content is no longer valid and should be moved to community and/or deleted. Please use with care.

Continuous Integration

In the Frameworks section of this wiki you find more information about Continuous Integration on Mac and other systems.