1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- upgrade to 1.1.1

- remove old patch
- add new patch(gcin2tab)

PR:		88310
Submitted by:	chinsan <chinsan dot tw AT gmail dot com>
This commit is contained in:
Cheng-Lung Sung 2005-11-01 09:20:08 +00:00
parent 4b4f27f030
commit d215f6c0a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146884
10 changed files with 44 additions and 116 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= gcin
PORTVERSION= 1.0.9
PORTVERSION= 1.1.1
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ \
http://edt1023.sayya.org/gcin/source/ \
http://edt1023.sayya.org/misc/ \
http://bbs.ilc.edu.tw/~chinsan/gcin/
.if defined(WITH_BOSHIAMY)

View File

@ -1,3 +1,3 @@
MD5 (gcin-1.0.9.tar.bz2) = cdb51a89e44f152278528353634bfff1
SIZE (gcin-1.0.9.tar.bz2) = 1294391
MD5 (gcin-1.1.1.tar.bz2) = c117422e8c83556ebd976bbb36ddb0f8
SIZE (gcin-1.1.1.tar.bz2) = 1297587
MD5 (noseeing.tar.gz) = IGNORE

View File

@ -0,0 +1,14 @@
--- gcin2tab.c.orig Tue Nov 1 15:17:21 2005
+++ gcin2tab.c Tue Nov 1 15:17:21 2005
@@ -4,8 +4,11 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/stat.h>
#include <string.h>
#include "gcin.h"
#include "gtab.h"

View File

@ -1,51 +0,0 @@
--- win0.c.orig Tue Oct 4 22:35:52 2005
+++ win0.c Tue Oct 4 13:25:26 2005
@@ -28,6 +28,8 @@
static GtkWidget *button_eng_ph;
static int max_yl;
+static void create_win0_gui();
+
static void recreate_win0()
{
int i;
@@ -41,8 +43,8 @@
void change_win0_style()
{
- if (!top_bin || current_pho_simple_win == pho_simple_win &&
- current_gcin_inner_frame == gcin_inner_frame)
+ if (!top_bin || (current_pho_simple_win == pho_simple_win &&
+ current_gcin_inner_frame == gcin_inner_frame))
return;
gtk_widget_destroy(top_bin);
@@ -153,7 +155,7 @@
}
-void disp_char(int index, u_char *ch)
+void disp_char(int index, char *ch)
{
char tt[CH_SZ+1];
@@ -342,6 +344,7 @@
raw_move(best_win_x, best_win_y);
}
+gboolean tsin_has_input();
void move_win0(int x, int y)
{
@@ -505,9 +508,9 @@
pango_attr_list_insert (attr_list, white_fg);
}
+void create_win1_gui();
-
-void create_win0_gui()
+static void create_win0_gui()
{
if (top_bin)
return;

View File

@ -1,8 +1,10 @@
bin/gcin
bin/gcin-setup
bin/gcin2tab
bin/juyin-learn
bin/phoa2d
bin/phod2a
bin/sim2trad
bin/tsa2d
bin/tsd2a
bin/tslearn
@ -16,10 +18,10 @@ lib/libgcin-im-client.so
%%DATADIR%%/table/cj.gtab
%%DATADIR%%/table/cj5.gtab
%%DATADIR%%/table/dayi3.gtab
%%DATADIR%%/table/et.kbm
%%DATADIR%%/table/et-asdf.kbm
%%DATADIR%%/table/et26.kbm
%%DATADIR%%/table/et.kbm
%%DATADIR%%/table/et26-asdf.kbm
%%DATADIR%%/table/et26.kbm
%%DATADIR%%/table/greek.gtab
%%DATADIR%%/table/gtab.list
%%DATADIR%%/table/hsu.kbm
@ -30,8 +32,8 @@ lib/libgcin-im-client.so
%%DATADIR%%/table/pho-huge.tab
%%DATADIR%%/table/pho.tab
%%DATADIR%%/table/phrase.table
%%DATADIR%%/table/simplex.gtab
%%DATADIR%%/table/pinyin.gtab
%%DATADIR%%/table/simplex.gtab
%%DATADIR%%/table/symbol-table
%%DATADIR%%/table/tsin
%%DATADIR%%/table/tsin.idx

View File

@ -6,10 +6,9 @@
#
PORTNAME= gcin
PORTVERSION= 1.0.9
PORTVERSION= 1.1.1
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ \
http://edt1023.sayya.org/gcin/source/ \
http://edt1023.sayya.org/misc/ \
http://bbs.ilc.edu.tw/~chinsan/gcin/
.if defined(WITH_BOSHIAMY)

View File

@ -1,3 +1,3 @@
MD5 (gcin-1.0.9.tar.bz2) = cdb51a89e44f152278528353634bfff1
SIZE (gcin-1.0.9.tar.bz2) = 1294391
MD5 (gcin-1.1.1.tar.bz2) = c117422e8c83556ebd976bbb36ddb0f8
SIZE (gcin-1.1.1.tar.bz2) = 1297587
MD5 (noseeing.tar.gz) = IGNORE

View File

@ -0,0 +1,14 @@
--- gcin2tab.c.orig Tue Nov 1 15:17:21 2005
+++ gcin2tab.c Tue Nov 1 15:17:21 2005
@@ -4,8 +4,11 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/stat.h>
#include <string.h>
#include "gcin.h"
#include "gtab.h"

View File

@ -1,51 +0,0 @@
--- win0.c.orig Tue Oct 4 22:35:52 2005
+++ win0.c Tue Oct 4 13:25:26 2005
@@ -28,6 +28,8 @@
static GtkWidget *button_eng_ph;
static int max_yl;
+static void create_win0_gui();
+
static void recreate_win0()
{
int i;
@@ -41,8 +43,8 @@
void change_win0_style()
{
- if (!top_bin || current_pho_simple_win == pho_simple_win &&
- current_gcin_inner_frame == gcin_inner_frame)
+ if (!top_bin || (current_pho_simple_win == pho_simple_win &&
+ current_gcin_inner_frame == gcin_inner_frame))
return;
gtk_widget_destroy(top_bin);
@@ -153,7 +155,7 @@
}
-void disp_char(int index, u_char *ch)
+void disp_char(int index, char *ch)
{
char tt[CH_SZ+1];
@@ -342,6 +344,7 @@
raw_move(best_win_x, best_win_y);
}
+gboolean tsin_has_input();
void move_win0(int x, int y)
{
@@ -505,9 +508,9 @@
pango_attr_list_insert (attr_list, white_fg);
}
+void create_win1_gui();
-
-void create_win0_gui()
+static void create_win0_gui()
{
if (top_bin)
return;

View File

@ -1,8 +1,10 @@
bin/gcin
bin/gcin-setup
bin/gcin2tab
bin/juyin-learn
bin/phoa2d
bin/phod2a
bin/sim2trad
bin/tsa2d
bin/tsd2a
bin/tslearn
@ -16,10 +18,10 @@ lib/libgcin-im-client.so
%%DATADIR%%/table/cj.gtab
%%DATADIR%%/table/cj5.gtab
%%DATADIR%%/table/dayi3.gtab
%%DATADIR%%/table/et.kbm
%%DATADIR%%/table/et-asdf.kbm
%%DATADIR%%/table/et26.kbm
%%DATADIR%%/table/et.kbm
%%DATADIR%%/table/et26-asdf.kbm
%%DATADIR%%/table/et26.kbm
%%DATADIR%%/table/greek.gtab
%%DATADIR%%/table/gtab.list
%%DATADIR%%/table/hsu.kbm
@ -30,8 +32,8 @@ lib/libgcin-im-client.so
%%DATADIR%%/table/pho-huge.tab
%%DATADIR%%/table/pho.tab
%%DATADIR%%/table/phrase.table
%%DATADIR%%/table/simplex.gtab
%%DATADIR%%/table/pinyin.gtab
%%DATADIR%%/table/simplex.gtab
%%DATADIR%%/table/symbol-table
%%DATADIR%%/table/tsin
%%DATADIR%%/table/tsin.idx