From 75602a30eed5a3288b11a92fe35a0edd71ae91de Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Tue, 10 Jan 2012 21:43:44 +0000 Subject: [PATCH] Install a desktop file which is no longer installed by default. http://code.google.com/p/ibus/issues/detail?id=1314 Approved by: Henry Hu (maintainer) --- textproc/ibus/Makefile | 4 +++- textproc/ibus/pkg-plist | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile index 3eb3f4de1698..958302226966 100644 --- a/textproc/ibus/Makefile +++ b/textproc/ibus/Makefile @@ -7,7 +7,7 @@ PORTNAME= ibus PORTVERSION= 1.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -90,6 +90,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/var/lib/dbus|/var/db/dbus|g' ${WRKSRC}/src/ibusshare.c #devel/dbus/files/dbus.in post-install: + @${MKDIR} ${PREFIX}/etc/xdg/autostart + @${INSTALL_DATA} ${WRKSRC}/bus/ibus.desktop ${PREFIX}/etc/xdg/autostart . if defined(WITH_GTK3) @gtk-query-immodules-3.0 --update-cache . endif diff --git a/textproc/ibus/pkg-plist b/textproc/ibus/pkg-plist index bddfd6204af8..b3973dcadc4c 100644 --- a/textproc/ibus/pkg-plist +++ b/textproc/ibus/pkg-plist @@ -1,5 +1,6 @@ bin/ibus-daemon bin/ibus-setup +etc/xdg/autostart/ibus.desktop include/ibus-1.0/ibus.h include/ibus-1.0/ibusattribute.h include/ibus-1.0/ibusattrlist.h @@ -323,5 +324,7 @@ share/icons/hicolor/scalable/apps/ibus.svg @dirrm %%PYTHON_SITELIBDIR%%/ibus/interface @dirrm %%PYTHON_SITELIBDIR%%/ibus @dirrm include/ibus-1.0 +@dirrmtry etc/xdg/autostart +@dirrmtry etc/xdg %%GTK3%%@unexec gtk-query-immodules-3.0 --update-cache @unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules