summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile2
-rw-r--r--japanese/jmode-skk/Makefile23
-rw-r--r--japanese/jmode-skk/pkg-descr3
-rw-r--r--japanese/jmode/Makefile30
-rw-r--r--japanese/jmode/distinfo2
-rw-r--r--japanese/jmode/files/patch-Makefile.in11
-rw-r--r--japanese/jmode/files/patch-src_anthy.xpm9
-rw-r--r--japanese/jmode/files/patch-src_anthyconv.cpp19
-rw-r--r--japanese/jmode/files/patch-src_anthyconv.h11
-rw-r--r--japanese/jmode/files/patch-src_code.xpm9
-rw-r--r--japanese/jmode/files/patch-src_connection.cpp10
-rw-r--r--japanese/jmode/files/patch-src_convdisp.cpp10
-rw-r--r--japanese/jmode/files/patch-src_dispatch.cpp10
-rw-r--r--japanese/jmode/files/patch-src_keyatom.cpp20
-rw-r--r--japanese/jmode/files/patch-src_kkconv.cpp37
-rw-r--r--japanese/jmode/files/patch-src_kkconv.h20
-rw-r--r--japanese/jmode/files/patch-src_main.cpp16
-rw-r--r--japanese/jmode/files/patch-src_off.xpm9
-rw-r--r--japanese/jmode/files/patch-src_on.xpm9
-rw-r--r--japanese/jmode/files/patch-src_skk.xpm9
-rw-r--r--japanese/jmode/files/patch-src_skkconv.cpp20
-rw-r--r--japanese/jmode/files/patch-src_skkconv.h11
-rw-r--r--japanese/jmode/files/patch-src_ui.cpp47
-rw-r--r--japanese/jmode/files/patch-src_ximic.cpp10
-rw-r--r--japanese/jmode/files/patch-src_ximim.cpp10
-rw-r--r--japanese/jmode/files/patch-src_ximpacket.cpp10
-rw-r--r--japanese/jmode/files/patch-src_ximtrans.cpp11
-rw-r--r--japanese/jmode/pkg-descr3
-rw-r--r--japanese/jmode/pkg-plist3
29 files changed, 0 insertions, 394 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 4141e292d91d..8895063019d4 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -126,8 +126,6 @@
SUBDIR += jed
SUBDIR += jishyo
SUBDIR += jls
- SUBDIR += jmode
- SUBDIR += jmode-skk
SUBDIR += jpilot
SUBDIR += jstrings
SUBDIR += jvim3
diff --git a/japanese/jmode-skk/Makefile b/japanese/jmode-skk/Makefile
deleted file mode 100644
index eae85ffb8972..000000000000
--- a/japanese/jmode-skk/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
-# $FreeBSD$
-
-PKGNAMESUFFIX= -skk
-
-MAINTAINER= nobutaka@FreeBSD.org
-COMMENT= XIM server for SKK input method
-
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-MASTERDIR= ${.CURDIR}/../../japanese/jmode
-DESCR= ${.CURDIR}/pkg-descr
-
-.if defined(WITH_DBSKKD) || exists(${LOCALBASE}/libexec/dbskkd-cdb)
-RUN_DEPENDS= ${LOCALBASE}/libexec/dbskkd-cdb:japanese/dbskkd-cdb
-.else
-RUN_DEPENDS= ${LOCALBASE}/sbin/skkserv:japanese/skkserv
-.endif
-
-CONFIGURE_ARGS= --with-skk
-
-.include "${MASTERDIR}/Makefile"
diff --git a/japanese/jmode-skk/pkg-descr b/japanese/jmode-skk/pkg-descr
deleted file mode 100644
index 06d73ab32fa3..000000000000
--- a/japanese/jmode-skk/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-XIM server for SKK input method
-
-WWW: http://anthy.sourceforge.jp/
diff --git a/japanese/jmode/Makefile b/japanese/jmode/Makefile
deleted file mode 100644
index 3f97db69270d..000000000000
--- a/japanese/jmode/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= jmode
-PORTVERSION= 0.6.7
-PORTREVISION= 9
-CATEGORIES= japanese
-MASTER_SITES= OSDN/anthy/5467
-
-MAINTAINER= nobutaka@FreeBSD.org
-COMMENT?= XIM server for Anthy input method
-
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-DEPRECATED= Uses obsolete glib12
-EXPIRATION_DATE= 2018-12-20
-NOT_FOR_ARCHS= aarch64 mips mips64 powerpc64 sparc64
-
-LIB_DEPENDS= libanthy.so:japanese/anthy
-
-USES= gettext-runtime gnome
-USE_GNOME= gtk12
-USE_XORG= x11 xext xi
-
-GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.include <bsd.port.mk>
diff --git a/japanese/jmode/distinfo b/japanese/jmode/distinfo
deleted file mode 100644
index 97541bb65d51..000000000000
--- a/japanese/jmode/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (jmode-0.6.7.tar.gz) = 4691d8b5930c4624d455df3d80f3d23a2ed5802d6a14b4cb81cececd488ea3a9
-SIZE (jmode-0.6.7.tar.gz) = 166629
diff --git a/japanese/jmode/files/patch-Makefile.in b/japanese/jmode/files/patch-Makefile.in
deleted file mode 100644
index 62bc5d4ba706..000000000000
--- a/japanese/jmode/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig 2003-08-11 14:13:27 UTC
-+++ Makefile.in
-@@ -430,7 +430,7 @@ info: info-recursive
-
- info-am:
-
--install-data-am: install-gnorbaDATA install-pkgdataDATA
-+install-data-am: install-pkgdataDATA
-
- install-exec-am:
-
diff --git a/japanese/jmode/files/patch-src_anthy.xpm b/japanese/jmode/files/patch-src_anthy.xpm
deleted file mode 100644
index 196e3a0ff2d0..000000000000
--- a/japanese/jmode/files/patch-src_anthy.xpm
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/anthy.xpm.orig 2018-02-10 09:55:51 UTC
-+++ src/anthy.xpm
-@@ -1,5 +1,5 @@
- /* XPM */
--static char * anthy_xpm[] = {
-+static const char * anthy_xpm[] = {
- "24 32 81 1",
- " c None",
- ". c #EAAFC3",
diff --git a/japanese/jmode/files/patch-src_anthyconv.cpp b/japanese/jmode/files/patch-src_anthyconv.cpp
deleted file mode 100644
index 74c7cd627a30..000000000000
--- a/japanese/jmode/files/patch-src_anthyconv.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/anthyconv.cpp.orig 2003-06-02 14:50:36 UTC
-+++ src/anthyconv.cpp
-@@ -5,6 +5,7 @@
- #endif
-
- #include <stdio.h>
-+#include <string.h>
- #include "anthy.xpm"
- #include "jmode.h"
- #include "anthyconv.h"
-@@ -147,7 +148,7 @@ KKContext *AnthyConv::createContext(XimI
- return anthy;
- }
-
--char **AnthyConv::getIcon()
-+const char **AnthyConv::getIcon()
- {
- // toolbarに出てくるアイコンを返す。
- return anthy_xpm;
diff --git a/japanese/jmode/files/patch-src_anthyconv.h b/japanese/jmode/files/patch-src_anthyconv.h
deleted file mode 100644
index b49ca35fa132..000000000000
--- a/japanese/jmode/files/patch-src_anthyconv.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/anthyconv.h.orig 2003-01-27 13:20:32 UTC
-+++ src/anthyconv.h
-@@ -13,7 +13,7 @@ class AnthyConv : public KKConv{
- public:
- virtual ~AnthyConv();
- KKContext *createContext(XimIC *);
-- char **getIcon();
-+ const char **getIcon();
- void onPushIcon();
- virtual char *getModeName(int );
- private:
diff --git a/japanese/jmode/files/patch-src_code.xpm b/japanese/jmode/files/patch-src_code.xpm
deleted file mode 100644
index d3d4397a5aad..000000000000
--- a/japanese/jmode/files/patch-src_code.xpm
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/code.xpm.orig 2018-02-10 09:59:43 UTC
-+++ src/code.xpm
-@@ -1,5 +1,5 @@
- /* XPM */
--static char * code_xpm[] = {
-+static const char * code_xpm[] = {
- "24 32 13 1",
- " c None",
- ". c #7FFF00",
diff --git a/japanese/jmode/files/patch-src_connection.cpp b/japanese/jmode/files/patch-src_connection.cpp
deleted file mode 100644
index 3194cfb41681..000000000000
--- a/japanese/jmode/files/patch-src_connection.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/connection.cpp.orig 2003-05-03 13:13:15 UTC
-+++ src/connection.cpp
-@@ -8,6 +8,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include "xim.h"
- #include "xdispatch.h"
- #include <list>
diff --git a/japanese/jmode/files/patch-src_convdisp.cpp b/japanese/jmode/files/patch-src_convdisp.cpp
deleted file mode 100644
index 066cccf8379a..000000000000
--- a/japanese/jmode/files/patch-src_convdisp.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/convdisp.cpp.orig 2003-06-02 15:02:23 UTC
-+++ src/convdisp.cpp
-@@ -7,6 +7,7 @@
- #include <X11/Xutil.h>
- #include <X11/extensions/shape.h>
- #include <stdlib.h>
-+#include <string.h>
- #include "xim.h"
- #include "kkconv.h"
- #include "convdisp.h"
diff --git a/japanese/jmode/files/patch-src_dispatch.cpp b/japanese/jmode/files/patch-src_dispatch.cpp
deleted file mode 100644
index 6138ace8b1bd..000000000000
--- a/japanese/jmode/files/patch-src_dispatch.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/dispatch.cpp.orig 2003-08-11 14:38:20 UTC
-+++ src/dispatch.cpp
-@@ -16,6 +16,7 @@
- #include <X11/Xatom.h>
- #include <unistd.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <map>
-
- #include "jmode.h"
diff --git a/japanese/jmode/files/patch-src_keyatom.cpp b/japanese/jmode/files/patch-src_keyatom.cpp
deleted file mode 100644
index b298d0b33774..000000000000
--- a/japanese/jmode/files/patch-src_keyatom.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/keyatom.cpp.orig 2003-01-21 14:26:14 UTC
-+++ src/keyatom.cpp
-@@ -9,6 +9,8 @@
- # include <alloca.h>
- # endif
- #endif
-+#include <stdlib.h>
-+#include <string.h>
-
- #include "jmode.h"
-
-@@ -275,7 +277,7 @@ read_conf_file()
- strlen(CONF_DIR)+20);
- fn[0] = 0;
- strcat(fn, homedir);
-- strcat(fn, "/."PACKAGE);
-+ strcat(fn, "/." PACKAGE);
- if (read_a_conf_file(fn)) {
- return ;
- }
diff --git a/japanese/jmode/files/patch-src_kkconv.cpp b/japanese/jmode/files/patch-src_kkconv.cpp
deleted file mode 100644
index 01dbdd1ef626..000000000000
--- a/japanese/jmode/files/patch-src_kkconv.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/kkconv.cpp.orig 2002-06-15 14:05:09 UTC
-+++ src/kkconv.cpp
-@@ -18,10 +18,12 @@
- # include <alloca.h>
- # endif
- #endif
-+#include <stdlib.h>
-+#include <string.h>
-
- // キャラクタコード32から、
- //このソースはEUCで書かれている。
--static char *ascii_wide_tab[]={
-+static const char *ascii_wide_tab[]={
- 0,"!","”","#","$","%","&","’",
- "(",")","*","+",",","−",".","/",
- "0","1","2","3","4","5","6","7",
-@@ -325,9 +327,9 @@ KKContext *createKKContext(XimIC *ic)
- return c;
- }
-
--char **getKKIcon()
-+const char **getKKIcon()
- {
-- char **c;
-+ const char **c;
- c = NULL;
- if (current_conv) {
- c = current_conv->getIcon ();
-@@ -338,7 +340,7 @@ char **getKKIcon()
- // tool barの仮名漢字変換のボタンが押された。
- void onPushIcon()
- {
-- char **c=0;
-+ const char **c=0;
- if (current_conv) {
- c = current_conv->getIcon ();
- if (c) {
diff --git a/japanese/jmode/files/patch-src_kkconv.h b/japanese/jmode/files/patch-src_kkconv.h
deleted file mode 100644
index e823de974b77..000000000000
--- a/japanese/jmode/files/patch-src_kkconv.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/kkconv.h.orig 2018-02-10 10:12:06 UTC
-+++ src/kkconv.h
-@@ -82,7 +82,7 @@ protected:
- class XimIC;
- class KKConv {
- public:
-- virtual char **getIcon()=0;
-+ virtual const char **getIcon()=0;
- virtual void onPushIcon()=0;
- virtual KKContext *createContext(XimIC *)=0;
- virtual char *getModeName(int )=0;
-@@ -105,7 +105,7 @@ struct Candidates {
-
- bool init_conv();
- KKContext *createKKContext(XimIC *);
--char **getKKIcon();
-+const char **getKKIcon();
- void onPushIcon();
-
- void register_kkconv(KKConv *);
diff --git a/japanese/jmode/files/patch-src_main.cpp b/japanese/jmode/files/patch-src_main.cpp
deleted file mode 100644
index e4c9a6ec0020..000000000000
--- a/japanese/jmode/files/patch-src_main.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/main.cpp.orig 2003-05-03 09:46:15 UTC
-+++ src/main.cpp
-@@ -27,11 +27,11 @@ int host_byte_order;
-
- //文字列
- #ifdef __FreeBSD__
--#define LANG "ja_JP.EUC"
-+#define LANG "ja_JP.eucJP"
- #else
- #define LANG "ja_JP"
- #endif
--#define VERSION_NAME "jmode out of the way! Version "VERSION"\n"
-+#define VERSION_NAME "jmode out of the way! Version " VERSION "\n"
- char *version_name=VERSION_NAME;
- char *usage=
- "--help , --version :Show usage or version\n"
diff --git a/japanese/jmode/files/patch-src_off.xpm b/japanese/jmode/files/patch-src_off.xpm
deleted file mode 100644
index de7be58d3943..000000000000
--- a/japanese/jmode/files/patch-src_off.xpm
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/off.xpm.orig 2018-02-10 09:59:01 UTC
-+++ src/off.xpm
-@@ -1,5 +1,5 @@
- /* XPM */
--static char * off_xpm[] = {
-+static const char * off_xpm[] = {
- "12 32 2 1",
- " c None",
- ". c #FFFF00",
diff --git a/japanese/jmode/files/patch-src_on.xpm b/japanese/jmode/files/patch-src_on.xpm
deleted file mode 100644
index 031f9d99eefb..000000000000
--- a/japanese/jmode/files/patch-src_on.xpm
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/on.xpm.orig 2018-02-10 09:57:51 UTC
-+++ src/on.xpm
-@@ -1,5 +1,5 @@
- /* XPM */
--static char * on_xpm[] = {
-+static const char * on_xpm[] = {
- "12 32 3 1",
- " c None",
- ". c #FFFF00",
diff --git a/japanese/jmode/files/patch-src_skk.xpm b/japanese/jmode/files/patch-src_skk.xpm
deleted file mode 100644
index f56a966fdfb6..000000000000
--- a/japanese/jmode/files/patch-src_skk.xpm
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/skk.xpm.orig 2001-01-29 07:48:17 UTC
-+++ src/skk.xpm
-@@ -1,5 +1,5 @@
- /* XPM */
--static char * skk_xpm[] = {
-+static const char * skk_xpm[] = {
- "24 32 13 1",
- " c None",
- ". c #FFFFFF",
diff --git a/japanese/jmode/files/patch-src_skkconv.cpp b/japanese/jmode/files/patch-src_skkconv.cpp
deleted file mode 100644
index 2ed52883ab35..000000000000
--- a/japanese/jmode/files/patch-src_skkconv.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/skkconv.cpp.orig 2002-06-15 14:35:40 UTC
-+++ src/skkconv.cpp
-@@ -101,7 +101,7 @@ void SKKConv::init()
- bind_str_to_atom("slash", A_skk_begin_latin_conv);
- }
-
--char **SKKConv::getIcon()
-+const char **SKKConv::getIcon()
- {
- return skk_xpm;
- }
-@@ -960,7 +960,7 @@ void SKKChildWindow::draw()
- void SKKChildWindow::activate(GtkWidget *w, gpointer p)
- {
- SKKChildContext *c;
-- int pos = (int)p;
-+ int pos = (uint64_t)p;
- c = get_current_context();
- if (c) {
- c->stat.setMode(pos);
diff --git a/japanese/jmode/files/patch-src_skkconv.h b/japanese/jmode/files/patch-src_skkconv.h
deleted file mode 100644
index 586cbad7aff8..000000000000
--- a/japanese/jmode/files/patch-src_skkconv.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/skkconv.h.orig 2002-06-15 14:10:40 UTC
-+++ src/skkconv.h
-@@ -35,7 +35,7 @@ class SKKConv : public KKConv{
- public:
- virtual ~SKKConv();
- //
-- char **getIcon();
-+ const char **getIcon();
- void onPushIcon();
- virtual char *getModeName(int );
- //
diff --git a/japanese/jmode/files/patch-src_ui.cpp b/japanese/jmode/files/patch-src_ui.cpp
deleted file mode 100644
index 5301bc010133..000000000000
--- a/japanese/jmode/files/patch-src_ui.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
---- src/ui.cpp.orig 2018-02-10 10:03:56 UTC
-+++ src/ui.cpp
-@@ -100,7 +100,7 @@ public:
- virtual void motion(GtkWidget *,int x,int y,int b);
- private:
- void create();
-- void add_icon_to_button(GtkWidget *,char **xpm);
-+ void add_icon_to_button(GtkWidget *,const char **xpm);
- void add_input_mode(GtkWidget *,char *,int mode);
- void init_mode_menu();
- void init_buttons();
-@@ -286,7 +286,7 @@ void ToolBar::create()
- gtk_widget_show(m_hbox);
- gtk_widget_show(m_win);
- //絵を貼る、
-- char **p;
-+ const char **p;
- p = getKKIcon();
- if (p) {
- add_icon_to_button(kk_setting_button,p);
-@@ -353,7 +353,7 @@ void ToolBar::set_mode(int s)
- }
- }
-
--void ToolBar::add_icon_to_button(GtkWidget *button,char **xpm)
-+void ToolBar::add_icon_to_button(GtkWidget *button,const char **xpm)
- {
- GtkStyle *style;
- GdkBitmap *mask;
-@@ -434,7 +434,7 @@ void ToolBar::destroy(GtkWidget *w)
-
- void ToolBar::activate(GtkWidget *w,gpointer p)
- {
-- int pos = (int)p;
-+ int pos = (uint64_t)p;
- gtk_widget_draw(w, NULL);
- user_if->change_menu(pos);
- }
-@@ -581,7 +581,7 @@ GtkWidget *Indicator::get_win()
-
- void Indicator::draw_stat()
- {
-- char *m = "OFF";
-+ const char *m = "OFF";
- if (XimIC::isAnyActive()){
- m = "ON";
- }
diff --git a/japanese/jmode/files/patch-src_ximic.cpp b/japanese/jmode/files/patch-src_ximic.cpp
deleted file mode 100644
index ae5261c25a55..000000000000
--- a/japanese/jmode/files/patch-src_ximic.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/ximic.cpp.orig 2003-08-11 14:23:54 UTC
-+++ src/ximic.cpp
-@@ -7,6 +7,7 @@
- #endif
-
- #include <stdlib.h>
-+#include <string.h>
- #include <ctype.h>
- #include "xim.h"
- #include "convdisp.h"
diff --git a/japanese/jmode/files/patch-src_ximim.cpp b/japanese/jmode/files/patch-src_ximim.cpp
deleted file mode 100644
index a587334612e2..000000000000
--- a/japanese/jmode/files/patch-src_ximim.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/ximim.cpp.orig 2003-05-16 16:07:43 UTC
-+++ src/ximim.cpp
-@@ -15,6 +15,7 @@
- # include <alloca.h>
- # endif
- #endif
-+#include <stdlib.h>
-
- static std::map<int,XimIM *> g_ims;
-
diff --git a/japanese/jmode/files/patch-src_ximpacket.cpp b/japanese/jmode/files/patch-src_ximpacket.cpp
deleted file mode 100644
index 6428e05414d8..000000000000
--- a/japanese/jmode/files/patch-src_ximpacket.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/ximpacket.cpp.orig 2003-02-10 15:01:26 UTC
-+++ src/ximpacket.cpp
-@@ -3,6 +3,7 @@
- #endif
-
- #include <list>
-+#include <stdlib.h>
- #include "xim.h"
-
- //
diff --git a/japanese/jmode/files/patch-src_ximtrans.cpp b/japanese/jmode/files/patch-src_ximtrans.cpp
deleted file mode 100644
index 6a32796e5f1d..000000000000
--- a/japanese/jmode/files/patch-src_ximtrans.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/ximtrans.cpp.orig 2003-05-27 10:54:52 UTC
-+++ src/ximtrans.cpp
-@@ -6,6 +6,8 @@
- #endif
-
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include "xim.h"
-
- #ifndef __GNUC__
diff --git a/japanese/jmode/pkg-descr b/japanese/jmode/pkg-descr
deleted file mode 100644
index 4b1dfcdcde46..000000000000
--- a/japanese/jmode/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-XIM server for Anthy input method
-
-WWW: http://anthy.sourceforge.jp/
diff --git a/japanese/jmode/pkg-plist b/japanese/jmode/pkg-plist
deleted file mode 100644
index b33f5e23bd5d..000000000000
--- a/japanese/jmode/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/jmode
-%%DATADIR%%/jmode-default.conf
-%%DATADIR%%/jmode-kana.conf