ports/88310: [UPDATE] chinese/gcin: upgrade to 1.1.1
chinsan
chinsan.tw at gmail.com
Tue Nov 1 08:10:17 UTC 2005
>Number: 88310
>Category: ports
>Synopsis: [UPDATE] chinese/gcin: upgrade to 1.1.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 01 08:10:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 4.11-RELEASE-p12 i386
>Organization:
GiGaMedia
>Environment:
System: FreeBSD smtp1.bc.hgc.com.tw 4.11-RELEASE-p12 FreeBSD 4.11-RELEASE-p12 #2: Mon Sep 26 09:10:34 CST 2005 root at smtp1.bc.hgc.com.tw:/usr/obj/usr/src/sys/SMTP1 i386
>Description:
- upgrade to 1.1.1
- remove old patch
- add new patch(gcin2tab)
Thanks very much. :)
>How-To-Repeat:
>Fix:
--- gcin.diff begins here ---
diff -ruN gcin.orig/Makefile gcin/Makefile
--- gcin.orig/Makefile Fri Oct 28 13:40:21 2005
+++ gcin/Makefile Tue Nov 1 15:50:37 2005
@@ -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)
diff -ruN gcin.orig/distinfo gcin/distinfo
--- gcin.orig/distinfo Fri Oct 28 13:40:21 2005
+++ gcin/distinfo Tue Nov 1 15:51:47 2005
@@ -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
diff -ruN gcin.orig/files/patch-gcin2tab.c gcin/files/patch-gcin2tab.c
--- gcin.orig/files/patch-gcin2tab.c Thu Jan 1 08:00:00 1970
+++ gcin/files/patch-gcin2tab.c Tue Nov 1 15:22:33 2005
@@ -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"
diff -ruN gcin.orig/files/patch-win0.c gcin/files/patch-win0.c
--- gcin.orig/files/patch-win0.c Fri Oct 28 13:40:17 2005
+++ gcin/files/patch-win0.c Thu Jan 1 08:00:00 1970
@@ -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;
diff -ruN gcin.orig/pkg-plist gcin/pkg-plist
--- gcin.orig/pkg-plist Fri Oct 28 13:40:21 2005
+++ gcin/pkg-plist Tue Nov 1 15:00:21 2005
@@ -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 @@
%%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 @@
%%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
--- gcin.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list