Mac OS X 安装 digiKam 1.6 和 Amarok 2.3

心之所在 | 2011/01/12

kde4mac2.jpg (1169×684)

先是安装系统光盘中的xcode开发环境,然后安装 port,注意port只认它自个安装的qt4,所以就算你有qt4,还是得编译一次。

echo 'export PATH=/opt/local/bin:/opt/local/sbin:$PATH' >> ~/.profile
source ~/.profile

这2步是弄macport的路径

sudo port install poppler +qt4 +quartz

不然安装kdegraphics4的时候会报错。

安装digikam和amarok的命令是

sudo port install digikam
sudo port install amarok

digikaminstall.jpg (585×366)

还可以用

sudo port clean 包名称

清理掉那个安装出错的包,重新install看,有错就查看log,然后google错误,一般都能解决,port实在是不牢靠的。

你要做好心理准备,一台没安装过port的mac这一次装各种东西,要是你脸再丑点,port计算依赖就能花掉1个小时⋯⋯

最好半夜开在那编译。
安装好后,需要修改权限

sudo chown -R 你的用户名 ~/Library/Preferences/KDE

需要enable dbus

sudo vi org.freedesktop.dbus-session.plist

OnDemand的Disabled改为Enabled
启动dbus进程

launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist

检查dbus运行情况

qiisMacBook-Pro:~ qii$ ps -ax | grep dbus
19437 ??         0:00.13 /opt/local/bin/dbus-daemon --nofork --session
20016 ttys003    0:00.00 grep dbus

一切OK是吧?然后打开dock上的application栈,MacPorts,KDE4,随便打开KDE程序。

kde4mac.jpg (1366×768)
看吧,程序出现了,你是不是觉得万事OK了?


很抱歉,你安装KDE4Mac的时机不对,
查看安装的KDE吧:

qiisMacBook-Pro:~ qii$  port installed "kde*"
The following ports are currently installed:
  kdebase4 @4.5.5_0 (active)
  kdebase4-runtime @4.5.5_0 (active)
  kdeedu4 @4.5.5_0 (active)
  kdegraphics4 @4.5.5_0 (active)
  kdelibs4 @4.5.5_0 (active)
  kdepimlibs4 @4.5.5_0 (active)

悲剧了,刚好这个4.5.5版本是有问题的,klauncher启动不了,无法访问本地文件,而且木有好的解决办法,指望4.6吧。。。

kde4mac4.jpg (536×257)

我在考虑打补丁或降级kde4版本中⋯⋯

Amarok因为有扫描搜藏的功能(digikam也有吧)所以导入音乐放歌还是大丈夫的。

amarok4mac.jpg (1008×595)

不过我怎么感觉这界面细节瑕疵很多啊。
链接:MacPorts-KDE

Amarok-Mac

    泰达希尔-德鲁伊
    Tags:

    6 FEEDBACKS

    Leave a Reply to 右京样一 Cancel reply

    Your email address will not be published. Required fields are marked *

    Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

    This site uses Akismet to reduce spam. Learn how your comment data is processed.