aboutsummaryrefslogtreecommitdiff
path: root/textproc/iiimf-gnome-im-switcher
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/iiimf-gnome-im-switcher')
-rw-r--r--textproc/iiimf-gnome-im-switcher/Makefile82
-rw-r--r--textproc/iiimf-gnome-im-switcher/distinfo4
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-Makefile60
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m412
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am10
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_configure.in9
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c4
-rw-r--r--textproc/iiimf-gnome-im-switcher/pkg-plist127
8 files changed, 143 insertions, 165 deletions
diff --git a/textproc/iiimf-gnome-im-switcher/Makefile b/textproc/iiimf-gnome-im-switcher/Makefile
index 7eb9393f5e33..1ee8652681fd 100644
--- a/textproc/iiimf-gnome-im-switcher/Makefile
+++ b/textproc/iiimf-gnome-im-switcher/Makefile
@@ -6,88 +6,68 @@
#
PORTNAME= gnome-im-switcher
-PORTVERSION= ${IIIMF_VER:S/_/./g:C/-.*//}
-PORTREVISION= 2
+PORTVERSION= 12.2
CATEGORIES= textproc
MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
PKGNAMEPREFIX= iiimf-
-DISTNAME= im-sdk-src-${IIIMF_VER}
+DISTNAME= iiimf-src-${PORTVERSION}
EXTRACT_SUFX= .tar.bz2
-MAINTAINER= kcwu@csie.org
+MAINTAINER= ozawa@ongs.co.jp
COMMENT= IIIMF gnome input method switcher
-BROKEN= Incorrect pkg-plist
+ONLY_FOR_ARCHS= i386
USE_X_PREFIX= yes
-IIIMF_VER= r12_1-svn2002
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= intltool gconf2 libglade2 libgnomeui \
gnomepanel gnomeprefix gnomehack
-USE_AUTOCONF_VER= 259
-USE_AUTOHEADER_VER= 259
-USE_AUTOMAKE_VER= 19
+WANT_AUTOCONF_VER= 259
+WANT_AUTOHEADER_VER= 259
+WANT_AUTOMAKE_VER= 19
WANT_LIBTOOL_VER= 15
-AUTOMAKE_ARGS+= --add-missing
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
-WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}/gnome-im-switcher
-PATCH_WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
+BUILDDIR= ${WRKSRC}/gnome-im-switcher
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
-IGNORE= "It is supported on FreeBSD 5.3 and later"
-.endif
-
-.if ${ARCH} != "i386"
-IGNORE= "${ARCH} is not support."
+IGNORE= It is supported on FreeBSD 5.3 and later.
.endif
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-UPDATE_ARGS+= ACLOCAL=${ACLOCAL} AUTOMAKE=${AUTOMAKE} \
- AUTOHEADER=${AUTOHEADER} AUTOCONF=${AUTOCONF} \
- LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} \
- ACLOCAL_DIR="-I ${LOCALBASE}/share/aclocal -I ${ACLOCAL_DIR}"
-TLZ_ARGS= --copy --force
-BNB_PATH= bonobo/server
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
- ${REINPLACE_CMD} -e "s,/usr/lib/im,${LOCALBASE}/lib/im,g" \
- ${WRKSRC}/../acfiles/im_common.m4
+ ${REINPLACE_CMD} \
+ -e '/^serverdir/s,$$[(]libdir[)],%%LOCALBASE%%/libdata,g' \
+ -e '/^uidir/s,$$[(]datadir[)]/,&gnome/,g' \
+ ${BUILDDIR}/src/Makefile.am
+ ${REINPLACE_CMD} \
+ -e "s,%%LOCALBASE%%,${LOCALBASE},g" \
+ -e "s,%%PREFIX%%,${PREFIX},g" \
+ ${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
+ ${BUILDDIR}/src/Makefile.am
${REINPLACE_CMD} -e "/GNOMECC_DATA_DIR/s,/share/,&gnome/,g" \
- ${WRKSRC}/configure.in
+ ${BUILDDIR}/configure.ac
+ ${REINPLACE_CMD} -e "/^GNOMECC_.*_DIR=/s,[(]datadir[)]/,&gnome/,g" \
+ ${BUILDDIR}/configure.ac
+ ${REINPLACE_CMD} -e "/^omf_dest_dir/s,[(]datadir[)]/,&gnome/,g" \
+ ${BUILDDIR}/help/omf.make
-pre-configure:
- @cd ${WRKSRC}/.. && ${GMAKE} ${UPDATE_ARGS} update-acfiles
- @cd ${WRKSRC} && glib-gettextize ${TLZ_ARGS}
- @cd ${WRKSRC} && intltoolize ${TLZ_ARGS}
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} ${TLZ_ARGS}
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} \
- -I ../acfiles -I ${LOCALBASE}/share/aclocal -I ${ACLOCAL_DIR}
- @cd ${WRKSRC} && ${REINPLACE_CMD} \
- -e "s^\$$ac_aux_dir/ltconfig^${LTCONFIG}^g" \
- -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
- -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
- ${LIBTOOLFILES}
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOHEADER}
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} bootstrap
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
post-configure:
- ${REINPLACE_CMD} \
- -e "s,[(]libdir[)]/${BNB_PATH},{exec_prefix}/libdata/${BNB_PATH},g" \
- -e "/-D.*LOCALEDIR=/s,[(]datadir[)]/,&../,g" \
- ${WRKSRC}/src/Makefile
- ${REINPLACE_CMD} -e "s,[(]datadir[)]/gnome/,(datadir)/,g" \
- ${WRKSRC}/help/C/Makefile
- ${REINPLACE_CMD} \
- -e "/^datadir/s,${PREFIX}/share/gnome,${PREFIX}/share,g" \
- ${WRKSRC}/po/Makefile
+ ${REINPLACE_CMD} -e '/^pkgdatadir/s,[(]datadir[)]/,&gnome/,g' \
+ -e '/^iconsdir/s,[(]datadir[)]/,&gnome/,g' \
+ ${BUILDDIR}/src/Makefile
.include <bsd.port.post.mk>
diff --git a/textproc/iiimf-gnome-im-switcher/distinfo b/textproc/iiimf-gnome-im-switcher/distinfo
index 440e49d16220..4416cce728d0 100644
--- a/textproc/iiimf-gnome-im-switcher/distinfo
+++ b/textproc/iiimf-gnome-im-switcher/distinfo
@@ -1,2 +1,2 @@
-MD5 (im-sdk-src-r12_1-svn2002.tar.bz2) = 51f3f10b11f8d4a206e2b190ec36a32a
-SIZE (im-sdk-src-r12_1-svn2002.tar.bz2) = 18141292
+MD5 (iiimf-src-12.2.tar.bz2) = 70dbf257fe64ddf8611dfa6449da537c
+SIZE (iiimf-src-12.2.tar.bz2) = 11452670
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-Makefile b/textproc/iiimf-gnome-im-switcher/files/patch-Makefile
index bcc2cb24a1c8..e069a637ace3 100644
--- a/textproc/iiimf-gnome-im-switcher/files/patch-Makefile
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-Makefile
@@ -1,19 +1,47 @@
---- Makefile Thu Apr 8 03:28:00 2004
-+++ Makefile Wed Feb 16 14:09:34 2005
-@@ -2,6 +2,7 @@
- AUTOMAKE = automake
- AUTOHEADER = autoheader
- AUTOCONF = autoconf
-+LIBTOOLIZE = libtoolize
+--- Makefile.orig Mon May 9 15:32:45 2005
++++ Makefile Mon May 9 15:35:03 2005
+@@ -1,29 +1,31 @@
+ ## deprecated in favour of AUTORECONF
+-#ACLOCAL = aclocal
+-#AUTOMAKE = automake --add-missing --copy
+-#LIBTOOLIZE = libtoolize --force --copy
+-#AUTOHEADER = autoheader
+-#AUTOCONF = autoconf
++ACLOCAL = aclocal19
++AUTOMAKE = automake19 --add-missing --copy
++LIBTOOLIZE = libtoolize15 --force --copy
++AUTOHEADER = autoheader259
++AUTOCONF = autoconf259
+ #CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \
+ # $(LIBTOOLIZE) && \
+ # $(AUTOHEADER) && \
+ # $(AUTOMAKE) && \
+ # $(AUTOCONF)
- CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \
- $(AUTOHEADER) && \
-@@ -21,7 +22,7 @@
+-AUTORECONF = autoreconf
++AUTORECONF = autoreconf259
+ BOOTSTRAP = $(AUTORECONF) --install --force
+ INTL_CMD = glib-gettextize -f && intltoolize --copy --force --automake
- update-acfiles:
- cd acfiles && \
-- $(ACLOCAL) && $(AUTOMAKE) --add-missing --copy && libtoolize --force --copy && \
-+ $(ACLOCAL) $(ACLOCAL_DIR) && $(AUTOMAKE) --add-missing --copy && $(LIBTOOLIZE) --force --copy && \
- rm -f Makefile.in aclocal.m4
+-CONFIG_FLAGS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var
++CONFIG_FLAGS = --prefix=%%PREFIX%% --sysconfdir=%%PREFIX%%/etc --localstatedir=/var
+
+-INTLDIRS = iiimgcf gnome-im-switcher
++INTLDIRS = gnome-im-switcher
+
+-BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
+- iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
+- iiimxcf/xiiimp.so iiimxcf/htt_xbe \
+- iiimgcf gnome-im-switcher doc
++BUILDDIRS = gnome-im-switcher
++#BUILDDIRS = lib/CSConv lib/EIMIL lib/iiimp lib/iiimcf \
++# iiimsf leif leif/sun_le_korea leif/sch_le_sun leif/tch_le_sun \
++# iiimxcf/xiiimp.so iiimxcf/htt_xbe \
++# iiimgcf gnome-im-switcher doc
+
+-CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
++CONFIGDIRS = $(BUILDDIRS)
++#CONFIGDIRS = $(BUILDDIRS) leif/m17n_le leif/thai_le_sun
+
+ all: compile
- config:
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4 b/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4
index 8626eeae1fd1..44ee86c035bc 100644
--- a/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4
@@ -1,10 +1,12 @@
---- acfiles/check_sys.m4.orig Tue Sep 14 13:31:27 2004
-+++ acfiles/check_sys.m4 Wed Mar 2 08:39:25 2005
-@@ -203,6 +203,11 @@
+--- acfiles/check_sys.m4.orig Mon May 9 15:28:20 2005
++++ acfiles/check_sys.m4 Mon May 9 15:32:07 2005
+@@ -203,6 +203,13 @@
CXX=${CC}
fi
;;
+ cc*:*)
++ DEBUG_CFLAGS="${DEBUG_CFLAGS} -ggdb"
++ DEBUG_CXXFLAGS="${DEBUG_CXXFLAGS} -g"
+ COMMON_CFLAGS="${COMMON_CFLAGS} -Wall"
+ SHLIBCFLAGS='-fpic'
+ SHLIBLDFLAGS='-shared'
@@ -12,7 +14,7 @@
*)
DEBUG_CXX_CFLAGS="${DEBUG_CXX_CFLAGS} -g"
;;
-@@ -249,8 +254,8 @@
+@@ -249,8 +256,8 @@
COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux"
;;
*freebsd*)
@@ -23,7 +25,7 @@
;;
esac
-@@ -288,9 +293,9 @@
+@@ -288,9 +295,9 @@
THREAD_CXX_CFLAGS="-mt"
HAVE_THREAD="uithread"
;;
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am
new file mode 100644
index 000000000000..2bc8e140d7db
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am
@@ -0,0 +1,10 @@
+--- gnome-im-switcher/Makefile.am.orig Fri May 13 17:44:10 2005
++++ gnome-im-switcher/Makefile.am Fri May 13 17:44:57 2005
+@@ -1,5 +1,7 @@
+ SUBDIRS = src po capplet help
+
++ACLOCAL_AMFLAGS = -I %%LOCALBASE%%/share/aclocal -I %%PREFIX%%/share/aclocal -I ../acfiles
++
+ @INTLTOOL_DESKTOP_RULE@
+
+ EXTRA_DIST = \
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_configure.in b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_configure.in
deleted file mode 100644
index 873ae1283978..000000000000
--- a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_configure.in
+++ /dev/null
@@ -1,9 +0,0 @@
---- gnome-im-switcher/configure.in.orig Thu Oct 14 23:10:11 2004
-+++ gnome-im-switcher/configure.in Wed Mar 2 22:17:35 2005
-@@ -40,6 +40,7 @@
- GIMLET_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $GIMLET_LIBS"
- GIMLET_CFLAGS="$X_CFLAGS $GIMLET_CFLAGS"
- CFLAGS="$GIMLET_CFLAGS $CFLAGS"
-+LDFLAGS="${LDFLAGS}"
-
- AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
diff --git a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c
index b1e61d27581f..6e4b9f2bc006 100644
--- a/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c
@@ -1,5 +1,5 @@
---- gnome-im-switcher/src/widgets.c Thu Oct 14 23:10:11 2004
-+++ gnome-im-switcher/src/widgets.c Wed Feb 16 16:51:26 2005
+--- gnome-im-switcher/src/widgets.c.orig Tue May 10 16:29:36 2005
++++ gnome-im-switcher/src/widgets.c Tue May 10 16:30:04 2005
@@ -29,7 +29,11 @@
#include <gnome.h>
diff --git a/textproc/iiimf-gnome-im-switcher/pkg-plist b/textproc/iiimf-gnome-im-switcher/pkg-plist
index b8c4fa91c1a7..ea1ddd711017 100644
--- a/textproc/iiimf-gnome-im-switcher/pkg-plist
+++ b/textproc/iiimf-gnome-im-switcher/pkg-plist
@@ -1,92 +1,59 @@
bin/gnome-im-properties
bin/gnome-im-settings-daemon
-libdata/bonobo/servers/GNOME_IMSwitcherApplet.server
libexec/gnome-im-switcher-applet
-share/gnome/control-center-2.0/capplets/gnome-im-properties.desktop
-share/gnome/control-center-2.0/interfaces/gnome-im-properties.glade2
-share/gnome/gnome-2.0/ui/GNOME_InputMethodSwitcherApplet.xml
+share/locale/bn/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/cs/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/de/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/es/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/fr/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/gu/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/hi/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/hu/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/it/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ja/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ko/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/pa/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/pl/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/pt_BR/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ru/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/sv/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/ta/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_CN/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_TW/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_HK/LC_MESSAGES/iiimf-im-switcher.mo
+share/icons/hicolor/48x48/apps/gnome-settings-im.png
share/gnome/pixmaps/gnome-settings-im.png
share/gnome/pixmaps/gimlet-off.png
share/gnome/pixmaps/gimlet-on.png
+share/gnome/pixmaps/gimlet-disable.png
+share/gnome/control-center-2.0/capplets/gnome-im-properties.desktop
+share/gnome/control-center-2.0/interfaces/gnome-im-properties.glade2
+share/gnome/help/imswitcher/C/legal.xml
+share/gnome/help/imswitcher/C/imswitcher.xml
+@dirrm share/gnome/help/imswitcher/C
+@dirrm share/gnome/help/imswitcher
+share/gnome/iiimf-im-switcher/glade/gnome-im-switcher.glade2
+@dirrm share/gnome/iiimf-im-switcher/glade
+@dirrm share/gnome/iiimf-im-switcher
+share/gnome/gnome-2.0/ui/GNOME_InputMethodSwitcherApplet.xml
+@comment
+@comment 'do scrollkeeper-update'
+@comment
+share/gnome/omf/iiimf-im-switcher/imswitcher-C.omf
+@exec %D/bin/scrollkeeper-update -p %D/var/scrollkeeper -o %D/share/gnome/omf/gnome-im-switcher
+@unexec %D/bin/scrollkeeper-update -p %D/var/scrollkeeper -o %D/share/gnome/omf/gnome-im-switcher
+@dirrm share/gnome/omf/iiimf-im-switcher
+@comment
+@comment 'do gconftool-2'
+@comment
@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults %D/bin/gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gnome-im-switcher.schemas > /dev/null || true
etc/gconf/schemas/gnome-im-switcher.schemas
@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults %D/bin/gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gnome-im-switcher.schemas > /dev/null || true
@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults %D/bin/gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gnome-im-properties.schemas > /dev/null || true
etc/gconf/schemas/gnome-im-properties.schemas
@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults %D/bin/gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gnome-im-properties.schemas > /dev/null || true
-@exec %D/bin/scrollkeeper-update -p %D/var/scrollkeeper -o %D/share/gnome/omf/gnome-im-switcher
-share/gnome/omf/gnome-im-switcher/imswitcher-C.omf
-@unexec %D/bin/scrollkeeper-update -p %D/var/scrollkeeper -o %D/share/gnome/omf/gnome-im-switcher
-@dirrm share/gnome/omf/gnome-im-switcher
-share/gnome/gnome-im-switcher/glade/gnome-im-switcher.glade2
-@dirrm share/gnome/gnome-im-switcher/glade
-@dirrm share/gnome/gnome-im-switcher
-share/gnome/help/imswitcher/C/legal.xml
-share/gnome/help/imswitcher/C/imswitcher.xml
-@dirrm share/gnome/help/imswitcher/C
-@dirrm share/gnome/help/imswitcher
-share/gnome/icons/hicolor/48x48/apps/gnome-settings-im.png
-@unexec rmdir %D/share/gnome/icons/hicolor/48x48/apps > /dev/null 2>&1 || true
-@unexec rmdir %D/share/gnome/icons/hicolor/48x48 > /dev/null 2>&1 || true
-@unexec rmdir %D/share/gnome/icons/hicolor > /dev/null 2>&1 || true
-@unexec rmdir %D/share/gnome/icons > /dev/null 2>&1 || true
-share/locale/ja/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/ja/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/ja > /dev/null 2>&1 || true
-share/locale/ko/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/ko/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/ko > /dev/null 2>&1 || true
-share/locale/zh_CN/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/zh_CN > /dev/null 2>&1 || true
-share/locale/zh_TW/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/zh_TW > /dev/null 2>&1 || true
-share/locale/zh_HK/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/zh_HK/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/zh_HK > /dev/null 2>&1 || true
-share/locale/de/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/de/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/de > /dev/null 2>&1 || true
-share/locale/fr/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/fr/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/fr > /dev/null 2>&1 || true
-share/locale/pl/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/pl/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/pl > /dev/null 2>&1 || true
-share/locale/ru/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/ru/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/ru > /dev/null 2>&1 || true
-share/locale/es/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/es/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/es > /dev/null 2>&1 || true
-share/locale/it/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/it/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/it > /dev/null 2>&1 || true
-share/locale/pt_BR/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/pt_BR > /dev/null 2>&1 || true
-share/locale/sv/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/sv/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/sv > /dev/null 2>&1 || true
-share/locale/cs/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/cs/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/cs > /dev/null 2>&1 || true
-share/locale/hu/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/hu/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/hu > /dev/null 2>&1 || true
-share/locale/bn/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/bn/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/bn > /dev/null 2>&1 || true
-share/locale/gu/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/gu/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/gu > /dev/null 2>&1 || true
-share/locale/hi/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/hi/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/hi > /dev/null 2>&1 || true
-share/locale/pa/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/pa/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/pa > /dev/null 2>&1 || true
-share/locale/ta/LC_MESSAGES/gnome-im-switcher.mo
-@unexec rmdir %D/share/locale/ta/LC_MESSAGES > /dev/null 2>&1 || true
-@unexec rmdir %D/share/locale/ta > /dev/null 2>&1 || true
+@comment
+@comment 'rm files in LOCALBASE.'
+@comment
+@cwd %%LOCALBASE%%
+libdata/bonobo/servers/GNOME_IMSwitcherApplet.server