Homebrew tap with some KDE packages. For now contains KDevelop and Kate
Ruby
Pull request Compare This branch is 107 commits behind adymo:master.
Latest commit 2897b04 Oct 14, 2013 @adymo adymo Better instructions:
- add brew linkapps
- clarify d-bus instructions
Permalink
Failed to load latest commit information.
LICENSE
README.md
akonadi.rb
attica.rb
base_kde_formula.rb
grantlee.rb
homebrew-kde.kdev4
kactivities.rb
kate.rb
kde-phonon.rb
kde-runtime.rb
kdelibs.rb
kdepimlibs.rb
kdevelop-ruby.rb
kdevelop.rb
kdevplatform.rb
nepomuk-core.rb
oxygen-icons.rb
qt.rb
shared-desktop-ontologies.rb
soprano.rb
strigi.rb

README.md

Alexander Dymo's Homebrew

Homebrew tap to build KDevelop and Kate on Mac OS. Based on https://github.com/somekool/homebrew but actually works. Note, this is not a full KDE distribution. It contains only KDE apps I use (which is KDevelop and Kate).

You can tap this repository to your existing homebrew with "brew tap adymo/kde".

Installation

Prepare your environment:

  • prepend /usr/local/bin to your PATH in ~/.bash_profile (note, it's important that your setting extends $PATH, not replaces it, otherwise things will not compile with strange errors)
    export PATH=/usr/local/bin:$PATH
  • . ~/.bash_profile

Tap my KDE repository:

  • brew tap adymo/kde

Install Qt from my tap (kde requires qt compiled from source with additional options like dbus and qt3support):

  • brew uninstall qt
  • brew install adymo/kde/qt

Install KDevelop and (optionally) additional language support plugins

  • brew install kdevelop
  • brew install kdevelop-ruby

Launch D-Bus

  • mkdir -p ~/Library/LaunchAgents
  • cp /usr/local/Cellar/d-bus/<version>/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents/
  • launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist

Update system configuration:

  • restart your system (optional, but helps prevent various dbus-related problems)
  • kbuildsycoca4 --noincremental
  • update-mime-database /usr/local/share/mime

Create application links (so that Finder and Launchpad see KDevelop and Kate apps):

  • brew linkapps

Run KDevelop and Kate from Launchpad or from command line:

  • open ~/Application/kdevelop.app
  • open ~/Application/kate.app

Troubleshooting

  • if kbuildsycoca4 never finishes, then stop dbus, remove its lock file (run "env | grep DBUS" to find out where it is) and start dbus again
  • if dbus fails to start, check whether you have /usr/local/etc/dbus-1/session.d directory
  • if something does not compile, make sure you do not override $PATH in .bash_profile, but rather prepend /usr/local/bin to it like this:
    export PATH=/usr/local/bin:$PATH