summaryrefslogtreecommitdiffstats
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/Makefile60
-rw-r--r--textproc/iiimf-gnome-im-switcher/distinfo3
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-Makefile47
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m440
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_Makefile.am10
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make24
-rw-r--r--textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c14
-rw-r--r--textproc/iiimf-gnome-im-switcher/pkg-descr21
-rw-r--r--textproc/iiimf-gnome-im-switcher/pkg-plist44
9 files changed, 263 insertions, 0 deletions
diff --git a/textproc/iiimf-gnome-im-switcher/Makefile b/textproc/iiimf-gnome-im-switcher/Makefile
new file mode 100644
index 000000000..91606443f
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: iiimf-gnome-im-switcher
+# Date created: 10 Sep 2004
+# Whom: Kuang-che Wu <kcwu@csie.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-im-switcher
+PORTVERSION= 12.2
+PORTREVISION= 7
+CATEGORIES= textproc
+MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
+PKGNAMEPREFIX= iiimf-
+DISTNAME= iiimf-src-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= IIIMF gnome input method switcher
+
+ONLY_FOR_ARCHS= i386
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= intltool gconf2 libglade2 libgnomeui \
+ gnomepanel gnomeprefix gnomehack
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15:env
+
+GCONF_SCHEMAS= gnome-im-properties.schemas gnome-im-switcher.schemas
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
+BUILDDIR= ${WRKSRC}/gnome-im-switcher
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 503000
+IGNORE= is supported on FreeBSD 5.3 and later only
+.endif
+
+CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl ${PTHREAD_LIBS}
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
+post-patch:
+ ${REINPLACE_CMD} \
+ -e '/^serverdir/s,$$[(]libdir[)],%%LOCALBASE%%/libdata,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
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} bootstrap
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
+
+.include <bsd.port.post.mk>
diff --git a/textproc/iiimf-gnome-im-switcher/distinfo b/textproc/iiimf-gnome-im-switcher/distinfo
new file mode 100644
index 000000000..ad441e71a
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/distinfo
@@ -0,0 +1,3 @@
+MD5 (iiimf-src-12.2.tar.bz2) = 70dbf257fe64ddf8611dfa6449da537c
+SHA256 (iiimf-src-12.2.tar.bz2) = 16fc96abe6bdf7118868a51806bbe9c53e5396700398ec305f3de415fae12357
+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
new file mode 100644
index 000000000..da0154fa7
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-Makefile
@@ -0,0 +1,47 @@
+--- 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 = aclocal-1.9
++AUTOMAKE = automake-1.9 --add-missing --copy
++LIBTOOLIZE = libtoolize --force --copy
++AUTOHEADER = autoheader-2.59
++AUTOCONF = autoconf-2.59
+ #CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \
+ # $(LIBTOOLIZE) && \
+ # $(AUTOHEADER) && \
+ # $(AUTOMAKE) && \
+ # $(AUTOCONF)
+
+-AUTORECONF = autoreconf
++AUTORECONF = autoreconf-2.59
+ BOOTSTRAP = $(AUTORECONF) --install --force
+ INTL_CMD = glib-gettextize -f && intltoolize --copy --force --automake
+
+-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
+
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
new file mode 100644
index 000000000..44ee86c03
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-acfiles_check_sys.m4
@@ -0,0 +1,40 @@
+--- 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'
++ ;;
+ *)
+ DEBUG_CXX_CFLAGS="${DEBUG_CXX_CFLAGS} -g"
+ ;;
+@@ -249,8 +256,8 @@
+ COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux"
+ ;;
+ *freebsd*)
+- THREAD_LDFLAGS="-pthread"
+- PTHREAD_LIBS=""
++ THREAD_LDFLAGS=""
++ PTHREAD_LIBS="${PTHREAD_LIBS}"
+ ;;
+ esac
+
+@@ -288,9 +295,9 @@
+ THREAD_CXX_CFLAGS="-mt"
+ HAVE_THREAD="uithread"
+ ;;
+- *freebsd*@gcc:*)
+- THREAD_LDFLAGS="-pthread"
+- THREAD_LIBS=""
++ *freebsd*@cc:*|*freebsd*@gcc:*)
++ THREAD_LDFLAGS=""
++ THREAD_LIBS="${PTHREAD_LIBS}"
+ HAVE_THREAD="freebsd-pthread"
+ ;;
+ *linux*)
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 000000000..2bc8e140d
--- /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_help_omf.make b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make
new file mode 100644
index 000000000..78bf144ed
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_help_omf.make
@@ -0,0 +1,24 @@
+--- gnome-im-switcher/help/omf.make.orig Thu Sep 23 06:31:15 2004
++++ gnome-im-switcher/help/omf.make Sun May 29 22:04:45 2005
+@@ -45,7 +45,9 @@
+ for file in $(omffile); do \
+ $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
+ done
+- -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
++ -for file in $(omffile); do \
++ scrollkeeper-install $(DESTDIR)$(omf_dest_dir)/$$file; \
++ done
+
+ uninstall-local-omf:
+ -for file in $(srcdir)/*.omf; do \
+@@ -53,7 +55,9 @@
+ rm -f $(omf_dest_dir)/$$basefile; \
+ done
+ -rmdir $(omf_dest_dir)
+- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
++ -for file in $(omffile); do \
++ scrollkeeper-uninstall $(DESTDIR)$(omf_dest_dir)/$$file; \
++ done
+
+ clean-local-omf:
+ -for file in $(omffile); do \
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
new file mode 100644
index 000000000..6e4b9f2bc
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/files/patch-gnome_src_widgets.c
@@ -0,0 +1,14 @@
+--- 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>
+
+ #include <signal.h>
++#ifdef __FreeBSD__
++#include <sys/wait.h>
++#else
+ #include <wait.h>
++#endif
+
+ #include "gnome-im-switcher.h"
+ #include "iiim-interface.h"
diff --git a/textproc/iiimf-gnome-im-switcher/pkg-descr b/textproc/iiimf-gnome-im-switcher/pkg-descr
new file mode 100644
index 000000000..346060338
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/pkg-descr
@@ -0,0 +1,21 @@
+IIIMF stands for Internet/Intranet Input Method Framework.
+IIIMF is designed to be the next generation of input method framework
+
+This port provides two input method utility applications for GNOME desktop
+environments.
+
+ GIMLET - GNOME Input Method Language Enabling Tool
+
+As a gnome-panel applet, this UI is used to select input languages for IIIM
+client applications (IIIMGCF and IIIMXCF).
+
+ GIMPET - GNOME Input Method Property Edittingggg Tool
+
+As a gnome capplet, this UI is to allow user to customize input methods,
+for enabling/disabling input method infrastucuture itself, and
+enabling/disabling input method statur bar and candidate choice window.
+
+WWW: http://www.openi18n.org/subgroups/im/IIIMF/
+
+- Kuang-che Wu
+ kcwu@csie.org
diff --git a/textproc/iiimf-gnome-im-switcher/pkg-plist b/textproc/iiimf-gnome-im-switcher/pkg-plist
new file mode 100644
index 000000000..677d42f07
--- /dev/null
+++ b/textproc/iiimf-gnome-im-switcher/pkg-plist
@@ -0,0 +1,44 @@
+bin/gnome-im-properties
+bin/gnome-im-settings-daemon
+libdata/bonobo/servers/GNOME_IMSwitcherApplet.server
+libexec/gnome-im-switcher-applet
+share/control-center-2.0/capplets/gnome-im-properties.desktop
+share/control-center-2.0/interfaces/gnome-im-properties.glade2
+share/gnome-2.0/ui/GNOME_InputMethodSwitcherApplet.xml
+share/gnome/help/imswitcher/C/imswitcher.xml
+share/gnome/help/imswitcher/C/legal.xml
+share/iiimf-im-switcher/glade/gnome-im-switcher.glade2
+share/omf/iiimf-im-switcher/imswitcher-C.omf
+share/pixmaps/gimlet-disable.png
+share/pixmaps/gimlet-off.png
+share/pixmaps/gimlet-on.png
+share/pixmaps/gnome-settings-im.png
+share/icons/hicolor/48x48/apps/gnome-settings-im.png
+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_HK/LC_MESSAGES/iiimf-im-switcher.mo
+share/locale/zh_TW/LC_MESSAGES/iiimf-im-switcher.mo
+@dirrm share/omf/iiimf-im-switcher
+@dirrm share/iiimf-im-switcher/glade
+@dirrm share/iiimf-im-switcher
+@dirrm share/gnome/help/imswitcher/C
+@dirrm share/gnome/help/imswitcher
+@dirrmtry share/control-center-2.0/interfaces
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK