mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
Specify correctly @post* for gtk-query-immodules
This commit is contained in:
parent
12b59fc91a
commit
0eae03bd38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397909
@ -1815,12 +1815,9 @@ PKGUPGRADE?= ${PKGDIR}/pkg-upgrade
|
||||
|
||||
_FORCE_POST_PATTERNS= rmdir fc-cache \
|
||||
fonts.dir fonts.scale gtk-update-icon-cache \
|
||||
gtk-query-immodules \
|
||||
load-octave-pkg \
|
||||
ocamlfind \
|
||||
update-desktop-database update-mime-database \
|
||||
gdk-pixbuf-query-loaders catalog.ports \
|
||||
glib-compile-schemas \
|
||||
ccache-update-links
|
||||
|
||||
.if defined(USE_LOCAL_MK)
|
||||
|
@ -117,11 +117,11 @@ lib/fcitx/libexec/fcitx-scanner
|
||||
%%QT4%%lib/fcitx/qt/libfcitx-quickphrase-editor.so
|
||||
lib/girepository-1.0/Fcitx-1.0.typelib
|
||||
%%GTK2%%lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-fcitx.so
|
||||
%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK2%%@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK2%%@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK3%%lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-fcitx.so
|
||||
%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK3%%@postexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK3%%@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%QT4%%lib/qt4/plugins/inputmethods/qtim-fcitx.so
|
||||
lib/libfcitx-config.so
|
||||
lib/libfcitx-config.so.4
|
||||
|
@ -169,5 +169,5 @@ share/icons/gcin/vocabulary.png
|
||||
share/icons/gcin/wm2.png
|
||||
share/icons/gcin/wubi.png
|
||||
share/icons/hicolor/64x64/apps/gcin.png
|
||||
@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
|
@ -22,5 +22,5 @@ man/man1/oxim.1.gz
|
||||
share/locale/zh_CN/LC_MESSAGES/oxim.mo
|
||||
share/locale/zh_HK/LC_MESSAGES/oxim.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/oxim.mo
|
||||
%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK2%%@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK2%%@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
|
@ -16,5 +16,5 @@ lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-tim.so
|
||||
%%DATADIR%%/shengdiao.tim
|
||||
%%DATADIR%%/wubi.tim
|
||||
%%DATADIR%%/wubihua-n.tim
|
||||
@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
|
@ -149,5 +149,5 @@ share/gir-1.0/GdkPixbuf-2.0.gir
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo
|
||||
%%NLS%%share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo
|
||||
@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
|
||||
@unexec rm %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>&1 >/dev/null || true
|
||||
@postexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
|
||||
@postunexec rm %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>&1 >/dev/null || true
|
||||
|
@ -42,5 +42,5 @@ share/doc/rsvg-2.0/style.css
|
||||
share/doc/rsvg-2.0/up-insensitive.png
|
||||
share/doc/rsvg-2.0/up.png
|
||||
share/gir-1.0/Rsvg-2.0.gir
|
||||
@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
|
||||
@unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
|
||||
@postexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
|
||||
@postunexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
|
||||
|
@ -40,5 +40,5 @@ share/locale/de/LC_MESSAGES/im-ja.mo
|
||||
share/locale/es/LC_MESSAGES/im-ja.mo
|
||||
share/locale/hu/LC_MESSAGES/im-ja.mo
|
||||
share/locale/ja/LC_MESSAGES/im-ja.mo
|
||||
@exec if [ -f %D/bin/gtk-query-immodules-2.0 ]; then %D/bin/gtk-query-immodules-2.0 --update-cache; fi
|
||||
@unexec if [ -f %D/bin/gtk-query-immodules-2.0 ]; then %D/bin/gtk-query-immodules-2.0 --update-cache; fi
|
||||
@postexec if [ -f %D/bin/gtk-query-immodules-2.0 ]; then %D/bin/gtk-query-immodules-2.0 --update-cache; fi
|
||||
@postunexec if [ -f %D/bin/gtk-query-immodules-2.0 ]; then %D/bin/gtk-query-immodules-2.0 --update-cache; fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
lib/gtk-%%GTKVER%%/immodules/im-hangul.so
|
||||
%%NO_GTK3%%%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul.mo
|
||||
%%GTK3%%%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul-%%GTKVER%%.mo
|
||||
@exec %D/bin/gtk-query-immodules-%%GTKVER%% --update-cache
|
||||
@unexec %D/bin/gtk-query-immodules-%%GTKVER%% --update-cache
|
||||
@postexec %D/bin/gtk-query-immodules-%%GTKVER%% --update-cache
|
||||
@postunexec %D/bin/gtk-query-immodules-%%GTKVER%% --update-cache
|
||||
|
@ -3,8 +3,8 @@ bin/ibus-setup
|
||||
bin/ibus
|
||||
etc/xdg/autostart/ibus.desktop
|
||||
%%DCONF%%etc/dconf/db/ibus.d/00-upstream-settings
|
||||
%%DCONF%%@unexec rm -f %D/etc/dconf/db/ibus
|
||||
%%DCONF%%@exec dconf update
|
||||
%%DCONF%%@postunexec rm -f %D/etc/dconf/db/ibus
|
||||
%%DCONF%%@postexec dconf update
|
||||
%%DCONF%%etc/dconf/profile/ibus
|
||||
include/ibus-1.0/ibus.h
|
||||
include/ibus-1.0/ibusattribute.h
|
||||
@ -323,7 +323,7 @@ share/bash-completion/completions/ibus.bash
|
||||
%%PYTHON_LIB%%@dir %%PYTHON_SITELIBDIR%%/ibus
|
||||
@dir include/ibus-1.0
|
||||
%%DCONF%%@dir etc/dconf/db/ibus.d
|
||||
%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK3%%@postexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK2%%@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
%%GTK3%%@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
|
||||
%%GTK2%%@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
|
@ -1,4 +1,3 @@
|
||||
@comment file listing
|
||||
usr/lib/gtk-2.0/immodules/im-scim.so
|
||||
@exec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@unexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@postexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@postunexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
|
@ -8,5 +8,5 @@ usr/lib/libscim-x11utils-1.0.so.8.2.3
|
||||
usr/lib/scim-1.0/1.4.0/Config/simple.so
|
||||
usr/lib/scim-1.0/1.4.0/Config/socket.so
|
||||
usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
|
||||
@exec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@unexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@postexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@postunexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
|
@ -154,5 +154,5 @@ share/locale/zh_TW/LC_MESSAGES/scim.mo
|
||||
@dirrmtry lib/scim-1.0/1.4.0/SetupUI
|
||||
@dirrmtry lib/scim-1.0/1.4.0
|
||||
@dirrmtry lib/scim-1.0
|
||||
@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
|
@ -4,5 +4,5 @@ bin/uim-pref-gtk
|
||||
bin/uim-toolbar-gtk
|
||||
bin/uim-toolbar-gtk-systray
|
||||
lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-uim.so
|
||||
@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
|
||||
|
@ -7,5 +7,5 @@ lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-uim.so
|
||||
libexec/uim-candwin-gtk3
|
||||
libexec/uim-candwin-horizontal-gtk3
|
||||
libexec/uim-candwin-tbl-gtk3
|
||||
@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %D/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
|
||||
@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %D/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
|
||||
@postexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %D/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
|
||||
@postunexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %D/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
|
||||
|
@ -566,10 +566,10 @@ share/locale/zh_TW/LC_MESSAGES/gtk20.mo
|
||||
share/themes/Default/gtk-2.0-key/gtkrc
|
||||
share/themes/Emacs/gtk-2.0-key/gtkrc
|
||||
share/themes/Raleigh/gtk-2.0/gtkrc
|
||||
@exec /usr/bin/find %%LOCALBASE%%/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true
|
||||
@postexec /usr/bin/find %%LOCALBASE%%/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true
|
||||
@unexec /usr/bin/find %%LOCALBASE%%/share/icons -type f -depth 2 -name icon-theme.cache -delete 2>/dev/null || /usr/bin/true
|
||||
@unexec /bin/rm -f %D/lib/gtk-2.0/%%GTK2_VERSION%%/immodules.cache
|
||||
@exec %D/bin/gtk-query-immodules-2.0 --update-cache > /dev/null 2>&1 || /usr/bin/true
|
||||
@postexec %D/bin/gtk-query-immodules-2.0 --update-cache > /dev/null 2>&1 || /usr/bin/true
|
||||
@dir lib/gtk-2.0/modules
|
||||
@dir lib/gtk-2.0/%%GTK2_VERSION%%/printbackends
|
||||
@dir lib/gtk-2.0/%%GTK2_VERSION%%/modules
|
||||
|
@ -682,7 +682,7 @@ share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gtk30.mo
|
||||
share/themes/Default/gtk-3.0/gtk-keys.css
|
||||
share/themes/Emacs/gtk-3.0/gtk-keys.css
|
||||
@exec %D/bin/gtk-query-immodules-3.0 --update-cache > /dev/null 2>&1 || /usr/bin/true
|
||||
@postexec %D/bin/gtk-query-immodules-3.0 --update-cache > /dev/null 2>&1 || /usr/bin/true
|
||||
@rmtry lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
|
||||
@exec /bin/mkdir -p %D/lib/gtk-3.0/modules
|
||||
@exec /bin/mkdir -p %D/lib/gtk-3.0/%%GTK3_VERSION%%/engines
|
||||
|
@ -1,4 +1,3 @@
|
||||
@comment file listing
|
||||
etc/gtk-2.0/im-multipress.conf
|
||||
@unexec rm %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@unexec rm %D/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
|
||||
@ -308,5 +307,5 @@ usr/share/themes/Xfce/gtk-2.0/gtkrc
|
||||
@dir etc/gtk-2.0/i386-redhat-linux-gnu
|
||||
@dir usr/lib/gtk-2.0/2.10.0/filesystems
|
||||
@dir usr/lib/gtk-2.0/modules
|
||||
@exec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@exec chroot %D /usr/bin/gdk-pixbuf-query-loaders-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
|
||||
@postexec chroot %D /usr/bin/gtk-query-immodules-2.0-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules
|
||||
@postexec chroot %D /usr/bin/gdk-pixbuf-query-loaders-32 > %D/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
|
||||
|
Loading…
Reference in New Issue
Block a user