LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2125|回复: 20

传说中的notify-osd-ubuntu,能编译成功,但段错误

[复制链接]
发表于 2009-2-20 01:02:24 | 显示全部楼层 |阅读模式
就是那个ubuntu正在开发的那个

粗略的写了个PKGBUILD,能编译成功,但用不了
PKGBUILD:
  1. # $Id$
  2. pkgname=notify-osd-ubuntu
  3. pkgver=3.8.0
  4. pkgrel=1
  5. pkgdesc=" daemon that displays passive pop-up notifications
  6. The Desktop Notifications framework provides a standard way of doing
  7. passive pop-up notifications on the Linux desktop.  These are
  8. designed to notify the user of something without interrupting their
  9. work with a dialog box that they must close.  Passive popups can
  10. automatically disappear after a short period of time."
  11. arch=(i686 x86_64)
  12. license=('GPL2')
  13. url="https://launchpad.net/ubuntu/jaunty/+source/notify-osd/0.8-0ubuntu2"
  14. depends=()  #'human-icon-theme'
  15. makedepends=( 'glib2' 'gtk2' 'dbus' 'dbus-glib' 'intltool' 'libnotify' 'gconf' 'gnome-common' )
  16. conflicts=('notify-daemon' 'alsdorf')
  17. replaces=('notify-daemon' 'alsdorf')
  18. provides=(notification-daemon)
  19. #options=('!libtool')
  20. source=(https://launchpadlibrarian.net/22813045/notify-osd_0.8-0ubuntu2.tar.gz)
  21. md5sums=()
  22. build() {
  23.     cd $startdir/src/notify-osd-ubuntu
  24.    
  25.     msg "Starting build..."
  26.        
  27.   ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib  \
  28.     --localstatedir=/var --disable-static
  29.   make || return 1
  30.   make DESTDIR=${startdir}/pkg install
  31. }
复制代码

notify-osd-ubuntu.install:
  1. post_install() {
  2.            killall alsdorf notification-daemon notify-osd 2>/dev/null || true
  3. }
  4. post_upgrade() {
  5. mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd > /dev/null
  6. }
  7. post_remove() {
  8. post_upgrade()
  9. }
复制代码
发表于 2009-2-20 01:32:17 | 显示全部楼层
xfce4的一个新的通知程序和这个很像。

不过我还是喜欢能够指向托盘通知图标的那种通知,我好知道是哪个程序通知的。。
回复 支持 反对

使用道具 举报

发表于 2009-2-20 01:36:32 | 显示全部楼层
Post by jarryson;1949971
xfce4的一个新的通知程序和这个很像。

不过我还是喜欢能够指向托盘通知图标的那种通知,我好知道是哪个程序通知的。。


现在的kde4.2就有这样的托盘通知图标
回复 支持 反对

使用道具 举报

发表于 2009-2-20 11:30:07 | 显示全部楼层
我也期待unbuntu的表现,貌似ubuntu和mac有一拼的。
回复 支持 反对

使用道具 举报

发表于 2009-2-21 17:24:06 | 显示全部楼层
有人研究过这个东西吗?这是新的通知机制还是只是基于notification-daemon?
回复 支持 反对

使用道具 举报

发表于 2009-2-21 17:29:28 | 显示全部楼层
Post by suzebi;1949973
现在的kde4.2就有这样的托盘通知图标


真的啊!我要试试去~
回复 支持 反对

使用道具 举报

发表于 2009-2-22 00:30:51 | 显示全部楼层
恩,我也去
试试看
回复 支持 反对

使用道具 举报

发表于 2009-2-22 00:38:32 | 显示全部楼层
不错,挺好的,我已经编译成功了。可以用的

不过感觉字体难看了一些,尤其是显示中文的时候。

不知道是不是我系统配置的问题

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2009-2-22 00:58:50 | 显示全部楼层
挺好看的。不知道notification-daemon能不能弄成这样。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-22 18:24:52 | 显示全部楼层
Post by jarryson;1949971
xfce4的一个新的通知程序和这个很像。

不过我还是喜欢能够指向托盘通知图标的那种通知,我好知道是哪个程序通知的。。

恩 xfce4-notifyd已经texting了
且使用gtk2主题文件格式的主题文件

style "smoke-window"
{
    bg[NORMAL] = "#4d4d4d"
    XfceNotifyWindow::border-color = "#ffffff"
    XfceNotifyWindow::border-radius = 10.0
    XfceNotifyWindow::border-width = 3.0
}
class "XfceNotifyWindow" style "smoke-window"

style "smoke-button"
{
    bg[NORMAL] = "#202020"
    bg[PRELIGHT] = "#404040"
    fg[NORMAL] = "#ffffff"
    fg[PRELIGHT] = "#ffffff"
}
widget_class "XfceNotifyWindow.*.GtkButton*" style "smoke-button"

style "smoke-text"
{
    fg[NORMAL] = "#ffffff"
    GtkWidget::link-color = "#a7a7a7"
}
widget_class "XfceNotifyWindow.*.<GtkLabel>" style "smoke-text"
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表