Mac: Difference between revisions

From KDE Community Wiki
(Add KF5 Homebrew tap https://github.com/haraldF/homebrew-kf5)
(Added some links to macports.org and changed the "KDE" term)
Line 1: Line 1:
== Installing KDE on Mac OSX ==
== Installing KDE software on Mac OSX ==


KDE does not currently provide binary downloads for Mac OSX.  Instead you need to build KDE for yourself from source. 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.
KDE does not currently provide binary downloads for Mac OSX.  Instead you need to build KDE software for yourself from source. 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 ===
=== Installing using MacPorts ===
Line 10: Line 10:


Instructions are provided on TechBase for [http://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 [http://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 ====
* [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 current problems with KDE software]


=== Installing using Fink ===
=== Installing using Fink ===
Line 15: Line 20:
* http://www.finkproject.org/
* http://www.finkproject.org/


As of December 2012, Fink has KDE 4.4.1 and KDE 3.5.10 available for installation. Note that KDE3 is unsupported by both KDE and Fink.
As of December 2012, Fink has KDE SC 4.4.1 and KDE 3.5.10 available for installation. Note that KDE3 is unsupported by both KDE and Fink.


The Fink packages allow you to install KDE4 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".


Additionally, the Fink packages allow the running of the Plasma desktop in X11 mode. Just install "kdebase4-workspace-x11" to install it.
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 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.
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 using Homebrew ===
Line 27: Line 32:
* https://github.com/somekool/homebrew
* https://github.com/somekool/homebrew


As of Dec 19th 2012, Homebrew recipes has been updated with KDE 4.9.4 and 4.9.95 packages url and sha1
As of Dec 19th 2012, Homebrew recipes has been updated with KDE SC 4.9.4 and 4.9.95 packages url and sha1


I have not throughly tested since 4.8.0 but I had Amarok window to open and some bugs we're left.
I have not throughly tested since 4.8.0 but I had Amarok window to open and some bugs we're left.
Line 33: Line 38:
If you want to help out. please fork and open PR against my repo. I will test some more soon.
If you want to help out. please fork and open PR against my repo. I will test some more soon.


Note that when a new KDE release comes out, most recipes can be updated automatically using my script
Note that when a new KDE SC release comes out, most recipes can be updated automatically using my script
https://github.com/somekool/public_scripts/blob/master/bin/public_scripts/update_kde_versions
https://github.com/somekool/public_scripts/blob/master/bin/public_scripts/update_kde_versions


Calligra has a standalone homebrew tap which brings least kde dependencies when installing calligra, [http://www.calligra.org/get-calligra/ here are the instructions to use it].
Calligra has a standalone homebrew tap which brings least kdelibs dependencies when installing calligra, [http://www.calligra.org/get-calligra/ here are the instructions to use it].


=== Installing KDevelop and Kate using Homebrew ===
=== Installing KDevelop and Kate using Homebrew ===
Line 50: Line 55:
* https://github.com/haraldF/homebrew-kf5
* https://github.com/haraldF/homebrew-kf5


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). At 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.


Please carefully follow [https://github.com/haraldF/homebrew-kf5 installation instructions].
Please carefully follow [https://github.com/haraldF/homebrew-kf5 installation instructions].
Line 56: Line 61:
=== Application Installers ===
=== Application Installers ===


Some KDE applications provide a standalone installer, usually in a Qt only mode and missing some KDE 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]
Line 65: Line 70:
The applications should be run from the Finder or via Spotlight.  See the MacPorts or Fink sections for where the applications will be installed.
The applications should be run from the Finder or via Spotlight.  See the MacPorts or Fink sections for where the applications will be installed.


Before running any KDE apps you need to perform a couple of steps once only (replace $USER with your username):
Before running any KDE applications you need to perform a couple of steps once only (replace $USER with your username):


  sudo chown -R $USER ~/Library/Preferences/KDE
  sudo chown -R $USER ~/Library/Preferences/KDE
Line 101: Line 106:
== Old Website ==
== Old Website ==


This is the community page for the KDE on Mac team. Outdate information (from June 2009) is available on archives of the http://mac.kde.org website at http://websvn.kde.org/trunk/www/sites/mac/
This is the community page for the KDE software on Mac team. Outdate information (from June 2009) is available on archives of the http://mac.kde.org website at http://websvn.kde.org/trunk/www/sites/mac/

Revision as of 12:35, 12 April 2014

Installing KDE software on Mac OSX

KDE does not currently provide binary downloads for Mac OSX. Instead you need to build KDE software for yourself from source. 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 September 2013, MacPorts has KDE SC 4.11.1, and KDE 3.5.10. Note that KDE3 is unsupported by both KDE and MacPorts.

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 to KDE software in Macports

Installing using Fink

As of December 2012, Fink has KDE SC 4.4.1 and KDE 3.5.10 available for installation. Note that KDE3 is unsupported by both KDE and Fink.

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

As of Dec 19th 2012, Homebrew recipes has been updated with KDE SC 4.9.4 and 4.9.95 packages url and sha1

I have not throughly tested since 4.8.0 but I had Amarok window to open and some bugs we're left.

If you want to help out. please fork and open PR against my repo. I will test some more soon.

Note that when a new KDE SC release comes out, most recipes can be updated automatically using my script https://github.com/somekool/public_scripts/blob/master/bin/public_scripts/update_kde_versions

Calligra has a standalone homebrew tap which brings least kdelibs dependencies when installing calligra, here are the instructions to use it.

Installing KDevelop and Kate using Homebrew

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.

Please carefully follow installation instructions.

Installing KDE Frameworks 5 using Homebrew

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.

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

The applications should be run from the Finder or via Spotlight. See the MacPorts or Fink sections for where the applications will be installed.

Before running any KDE applications you need to perform a couple of steps once only (replace $USER with your username):

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

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.

Old Website

This is the community page for the KDE software on Mac team. Outdate information (from June 2009) is available on archives of the http://mac.kde.org website at http://websvn.kde.org/trunk/www/sites/mac/