aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/uim
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2003-10-13 23:39:54 +0800
committernobutaka <nobutaka@FreeBSD.org>2003-10-13 23:39:54 +0800
commiteedb22b1a3a25095cd982c4054c1ae4a8a05cdb3 (patch)
tree47b919a7939e7854c3d4fb7d059c81e4786b9bf9 /textproc/uim
parent9c4d1eee02a0d5ac9016e2a85aa528f1a5487dfa (diff)
downloadfreebsd-ports-graphics-eedb22b1a3a25095cd982c4054c1ae4a8a05cdb3.tar.gz
freebsd-ports-graphics-eedb22b1a3a25095cd982c4054c1ae4a8a05cdb3.tar.zst
freebsd-ports-graphics-eedb22b1a3a25095cd982c4054c1ae4a8a05cdb3.zip
Update to 0.1.1.
Diffstat (limited to 'textproc/uim')
-rw-r--r--textproc/uim/Makefile8
-rw-r--r--textproc/uim/distinfo2
-rw-r--r--textproc/uim/files/patch-configure24
-rw-r--r--textproc/uim/files/patch-gtk:gtk-im-uim.c16
-rw-r--r--textproc/uim/files/patch-helper:helper-applet.c23
-rw-r--r--textproc/uim/files/patch-uim:uim-func.c25
-rw-r--r--textproc/uim/files/patch-xim:Makefile.in11
-rw-r--r--textproc/uim/pkg-plist4
8 files changed, 32 insertions, 81 deletions
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
index 384041bfe03..79266c2c037 100644
--- a/textproc/uim/Makefile
+++ b/textproc/uim/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= uim
-PORTVERSION= 0.0.2.1
+PORTVERSION= 0.1.1
CATEGORIES= japanese x11
-MASTER_SITES= http://downloads.sourceforge.jp/anthy/5771/
+MASTER_SITES= http://downloads.sourceforge.jp/anthy/6318/
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Input method library
@@ -36,8 +36,8 @@ PLIST_SUB+= GTK=""
PLIST_SUB+= GTK="@comment "
.endif
-.if ${HAVE_GNOME:Mlibgnome}
-USE_GNOME+= libgnome
+.if ${HAVE_GNOME:Mgnomepanel}
+USE_GNOME+= gnomepanel
PLIST_SUB+= GNOME=""
.else
PLIST_SUB+= GNOME="@comment "
diff --git a/textproc/uim/distinfo b/textproc/uim/distinfo
index 691acb5f790..599802c0461 100644
--- a/textproc/uim/distinfo
+++ b/textproc/uim/distinfo
@@ -1 +1 @@
-MD5 (uim-0.0.2.1.tar.gz) = d8195a47be0cff1f4a7b6e0fab8f1cd9
+MD5 (uim-0.1.1.tar.gz) = 3684b4ad731b44926cdf5533345b96b8
diff --git a/textproc/uim/files/patch-configure b/textproc/uim/files/patch-configure
deleted file mode 100644
index 2f85193ad77..00000000000
--- a/textproc/uim/files/patch-configure
+++ /dev/null
@@ -1,24 +0,0 @@
---- configure.orig Mon Aug 25 23:34:01 2003
-+++ configure Mon Aug 25 23:34:40 2003
-@@ -21430,10 +21430,6 @@
-
- if test $succeeded = yes; then
- use_gtk2="yes"
-- else
-- { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
--echo "$as_me: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
-- { (exit 1); exit 1; }; }
- fi
-
-
-@@ -21528,10 +21524,6 @@
-
- if test $succeeded = yes; then
- use_gnome2="yes"
-- else
-- { { echo "$as_me:$LINENO: error: Library requirements (libgnome-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
--echo "$as_me: error: Library requirements (libgnome-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
-- { (exit 1); exit 1; }; }
- fi
-
-
diff --git a/textproc/uim/files/patch-gtk:gtk-im-uim.c b/textproc/uim/files/patch-gtk:gtk-im-uim.c
deleted file mode 100644
index 16c7d22b817..00000000000
--- a/textproc/uim/files/patch-gtk:gtk-im-uim.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- gtk/gtk-im-uim.c.orig Sun Aug 31 15:40:29 2003
-+++ gtk/gtk-im-uim.c Sun Aug 31 15:41:10 2003
-@@ -109,10 +109,12 @@
- static void
- pushback_cb(void *ptr, int attr, char *str)
- {
-+ IMUIMContext *uic;
-+
- if(!str)
- return;
-
-- IMUIMContext *uic = ptr;
-+ uic = ptr;
- uic->pseg = realloc(uic->pseg,
- sizeof(struct preedit_segment) *
- (uic->nr_psegs + 1));
diff --git a/textproc/uim/files/patch-helper:helper-applet.c b/textproc/uim/files/patch-helper:helper-applet.c
new file mode 100644
index 00000000000..9a872a80a11
--- /dev/null
+++ b/textproc/uim/files/patch-helper:helper-applet.c
@@ -0,0 +1,23 @@
+--- helper/helper-applet.c.orig Tue Oct 14 00:07:31 2003
++++ helper/helper-applet.c Tue Oct 14 00:24:43 2003
+@@ -134,6 +134,7 @@
+ gchar **tmp2 = NULL;
+ gchar *charset = NULL;
+ GString *path = g_string_new("");
++ GtkItemFactoryEntry entry;
+
+ tmp2 = g_strsplit(tmp[1], "=", 0);
+
+@@ -176,7 +177,11 @@
+ gtk_widget_show(button);
+ } else if(strcmp("leaf", tmp2[0]) == 0) {
+ g_string_printf(path, "/%s", tmp2[2]);
+- GtkItemFactoryEntry entry = {path->str, NULL, G_CALLBACK(activate_event), 0, ""};
++ entry.path = path->str;
++ entry.accelerator = NULL;
++ entry.callback = G_CALLBACK(activate_event);
++ entry.callback_action = 0;
++ entry.item_type = "";
+ gtk_item_factory_create_item ( mode_item_fact, &entry, tmp2[4], 1);
+
+ }
diff --git a/textproc/uim/files/patch-uim:uim-func.c b/textproc/uim/files/patch-uim:uim-func.c
deleted file mode 100644
index b5ed135e0e3..00000000000
--- a/textproc/uim/files/patch-uim:uim-func.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- uim/uim-func.c.orig Sun Aug 31 15:09:52 2003
-+++ uim/uim-func.c Sun Aug 31 15:10:19 2003
-@@ -97,15 +97,17 @@
- char *
- uim_code_conv(char *str, iconv_t ic)
- {
-+ int len, buflen;
-+ char *realbuf, *outbuf, *inbuf;
-
- if(!str)
- return NULL;
-
-- int len = strlen(str);
-- int buflen = len * 6+3;
-- char *realbuf = alloca(buflen);
-- char *outbuf = realbuf;
-- char *inbuf = str;
-+ len = strlen(str);
-+ buflen = len * 6+3;
-+ realbuf = alloca(buflen);
-+ outbuf = realbuf;
-+ inbuf = str;
- if (!ic) {
- return strdup(str);
- }
diff --git a/textproc/uim/files/patch-xim:Makefile.in b/textproc/uim/files/patch-xim:Makefile.in
deleted file mode 100644
index 3206900a9e0..00000000000
--- a/textproc/uim/files/patch-xim:Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- xim/Makefile.in.orig Mon Aug 25 23:44:36 2003
-+++ xim/Makefile.in Mon Aug 25 23:45:03 2003
-@@ -139,7 +139,7 @@
- install_sh = @install_sh@
-
- INCLUDES = -I$(top_srcdir)
--CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\"
-+CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\""$(localedir)"\"
-
- bin_PROGRAMS = uim-xim
- uim_xim_LDFLAGS = -L/usr/lib -L/usr/X11R6/lib
diff --git a/textproc/uim/pkg-plist b/textproc/uim/pkg-plist
index b16dcfb6856..3b7a89c1c78 100644
--- a/textproc/uim/pkg-plist
+++ b/textproc/uim/pkg-plist
@@ -1,4 +1,6 @@
+bin/uim-helper-server
bin/uim-xim
+include/uim/uim-helper.h
include/uim/uim.h
%%GNOME%%lib/bonobo/servers/GNOME_UimApplet.server
%%GTK%%lib/gtk-2.0/2.2.0/immodules/im-uim.a
@@ -8,6 +10,7 @@ lib/libuim.a
lib/libuim.la
lib/libuim.so
lib/libuim.so.0
+libexec/uim-helper-applet
%%PORTDOCS%%%%DOCSDIR_JA%%/README.ja
%%PORTDOCS%%%%DOCSDIR%%/README
share/locale/ja/LC_MESSAGES/uim.mo
@@ -27,6 +30,7 @@ share/uim/key.scm
share/uim/loader.scm
share/uim/prime.scm
share/uim/rk.scm
+share/uim/skk-editor.scm
share/uim/skk.scm
share/uim/tcode.scm
share/uim/tutcode.scm