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:
parent
4b4f27f030
commit
d215f6c0a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146884
@ -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)
|
||||
|
@ -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
|
||||
|
14
chinese/gcin-devel/files/patch-gcin2tab.c
Normal file
14
chinese/gcin-devel/files/patch-gcin2tab.c
Normal 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"
|
@ -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;
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
14
chinese/gcin/files/patch-gcin2tab.c
Normal file
14
chinese/gcin/files/patch-gcin2tab.c
Normal 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"
|
@ -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;
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user