Giter VIP home page Giter VIP logo

homebrew-kde's Introduction

Alexander Dymo's Homebrew

Homebrew tap to build KDE 4 apps 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 that this project's maintainers actually use.

Available stable apps:

  • KDevelop
  • Kate
  • Konversation
  • Massif Visualizer

If you'd like to try KDE 5 versions, try Harald Fernengel's tap: https://github.com/haraldF/homebrew-kf5

Installation

Prepare your environment:

  • Append these codes to your ~/.bash_profile or ~/.profile:
export KDEDIRS=$KDEDIRS:$HOME/Library/Preferences/KDE:/usr/local/kde4
export PATH=/usr/local/kde4/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/kde4/lib:$DYLD_LIBRARY_PATH
launchctl setenv DYLD_LIBRARY_PATH /usr/local/kde4/lib:$DYLD_LIBRARY_PATH
export XDG_DATA_HOME=$HOME/Library/Preferences/KDE/share
export XDG_DATA_DIRS=/usr/local/kde4/share:/usr/local/share:/usr/share
  • If you were using this tap before Feb 17, 2014, kde stuff were installed to /usr/local and you cannot uninstall them. Which means your /usr/local is already messed up. Please backup everything important, sudo rm -rf /usr/local/*, reinstall homebrew and all your formulas, and anything else you put under /usr/local.
  • Now kde stuff are installed to /usr/local/kde4, you still cannot uninstall single kde formula, but you can safely nuke that directory and reinstall kde formulas you want to keep.
  • We're working on a solution to make kde formulas install to their own kegs.

Tap my KDE repository:

brew tap adymo/kde

Compile Qt with D-Bus and Qt3 support. KDE will not work without that.

brew uninstall qt
brew install qt --with-d-bus --with-qt3support

Install KDE applications

brew install kate
brew install kdevelop
brew install kdevelop-ruby
brew install ...

Launch D-Bus

mkdir -p ~/Library/LaunchAgents
# substitute Cellar/d-bus/1.8.0 below with your actual dbus installation dir
ln -s /usr/local/Cellar/d-bus/1.8.0/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist

Update system configuration:

  • relogin or restart your system
kbuildsycoca4 --noincremental
update-mime-database /usr/local/share/mime
update-mime-database /usr/local/kde4/share/mime

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

brew linkapps

Run KDE apps from Launchpad or from command line:

open /Applications/kdevelop.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
  • sometimes after App Store run upgrades, DYLD_LIBRARY_PATH will be reset, then some plugins will fail to load, run launchctl setenv DYLD_LIBRARY_PATH /usr/local/kde4/lib:$DYLD_LIBRARY_PATH in terminal to fix
  • if kbuildsycoca or any other KDE app hangs during start, upgrade d-bus or recompile dbus from sources (installations from bottles was broken at some point, it was missing important configuration files): brew uninstall dbus && brew install dbus --build-from-source

homebrew-kde's People

Contributors

adymo avatar hideov avatar lheckemann avatar mxj4 avatar tlvince avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.