1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

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 <henry.hu.sh@gmail.com> (maintainer)
This commit is contained in:
Jung-uk Kim 2012-01-10 21:43:44 +00:00
parent c3d0e05902
commit 75602a30ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288920
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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