summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-05-05 13:52:08 +0000
committervanilla <vanilla@FreeBSD.org>2005-05-05 13:52:08 +0000
commit626a03a879b865b8ce4b1adac36e04cca37f37d3 (patch)
tree48932fd2a4cebebd67f2be47c339da7f74fb68f6
parenta284c200f61d24e52da44efd2afa076e6cbc9fb9 (diff)
downloadFreeBSD-ports-626a03a879b865b8ce4b1adac36e04cca37f37d3.zip
FreeBSD-ports-626a03a879b865b8ce4b1adac36e04cca37f37d3.tar.gz
Upgrade to 0.9.3.
PR: ports/80651 Submitted by: chinsan <chinsan.at.mail2000.com.tw> Approved by: maintainer
-rw-r--r--chinese/gcin-devel/Makefile8
-rw-r--r--chinese/gcin-devel/distinfo4
-rw-r--r--chinese/gcin-devel/files/patch-about.c20
-rw-r--r--chinese/gcin-devel/pkg-message25
-rw-r--r--chinese/gcin-devel/pkg-plist15
-rw-r--r--chinese/gcin/Makefile8
-rw-r--r--chinese/gcin/distinfo4
-rw-r--r--chinese/gcin/files/patch-about.c20
-rw-r--r--chinese/gcin/pkg-message25
-rw-r--r--chinese/gcin/pkg-plist15
10 files changed, 124 insertions, 20 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile
index ce8548c..f88b57b 100644
--- a/chinese/gcin-devel/Makefile
+++ b/chinese/gcin-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcin
-PORTVERSION= 0.9.2
+PORTVERSION= 0.9.3
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/
@@ -25,4 +25,10 @@ USE_GMAKE= YES
USE_GCC= 3.4
.endif
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+ @${ECHO}
+
.include <bsd.port.post.mk>
diff --git a/chinese/gcin-devel/distinfo b/chinese/gcin-devel/distinfo
index 2cc39e7..1417cd1 100644
--- a/chinese/gcin-devel/distinfo
+++ b/chinese/gcin-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (gcin-0.9.2.tar.bz2) = d1b26b72f3fb6fbfb286cc64d5992ef9
-SIZE (gcin-0.9.2.tar.bz2) = 1109165 \ No newline at end of file
+MD5 (gcin-0.9.3.tar.bz2) = 6fc8be96ee415af8496fb4e4e5cfbaa0
+SIZE (gcin-0.9.3.tar.bz2) = 1168314
diff --git a/chinese/gcin-devel/files/patch-about.c b/chinese/gcin-devel/files/patch-about.c
new file mode 100644
index 0000000..58f0d3e
--- /dev/null
+++ b/chinese/gcin-devel/files/patch-about.c
@@ -0,0 +1,20 @@
+--- about.c.orig Thu May 5 11:32:39 2005
++++ about.c Thu May 5 11:41:34 2005
+@@ -69,10 +69,16 @@
+ gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 3);
+
+ GtkWidget *separator = gtk_hseparator_new ();
++ GtkWidget *vseparator = gtk_vseparator_new ();
+ gtk_box_pack_start(GTK_BOX(vbox), separator, FALSE, FALSE, 3);
+
+- GtkWidget *label_sf = gtk_label_new ("http://www.csie.nctu.edu.tw/~cp76/gcin");
++ GtkWidget *label_sf = gtk_label_new ("gcin WWW:\nhttp://www.csie.nctu.edu.tw/~cp76/gcin");
++ gtk_misc_set_alignment (GTK_MISC (label_sf), 0, 0);
++ GtkWidget *label_FreeBSD = gtk_label_new ("FeeeBack:\nhttp://cle.linux.org.tw/gcin/");
++ gtk_misc_set_alignment (GTK_MISC (label_FreeBSD), 0, 0);
+ gtk_box_pack_start(GTK_BOX(vbox), label_sf, FALSE, FALSE, 0);
++ gtk_box_pack_start(GTK_BOX(vbox), vseparator, FALSE, FALSE, 3);
++ gtk_box_pack_start(GTK_BOX(vbox), label_FreeBSD, FALSE, FALSE, 0);
+
+
+ /* Now on to the image stuff */
diff --git a/chinese/gcin-devel/pkg-message b/chinese/gcin-devel/pkg-message
new file mode 100644
index 0000000..ff739a5
--- /dev/null
+++ b/chinese/gcin-devel/pkg-message
@@ -0,0 +1,25 @@
+--------------------------------------------------------------------
+Remember to set environment varible:
+
+ (csh/tcsh) (sh/bash)
+ setenv XMODIFIERS @im=xcin export XMODIFIERS='@im=xcin'
+ setenv GTK_IM_MODULE xim export GTK_IM_MODULE=xim
+ setenv QT_IM_SWITCHER imsw-multi export QT_IM_SWITCHER=imsw-multi
+ setenv QT_IM_MODULE xim export QT_IM_MODULE=xim
+
+and set LANG, LC_CTYPE to one of zh_TW.UTF-8, zh_TW.Big5 value:
+ (csh/tcsh) (sh/bash)
+Big5: setenv LC_CTYPE zh_TW.Big5 export LC_CTYPE=zh_TW.Big5
+ setenv LANG zh_TW.Big5 export LANG=zh_TW.Big5
+or
+UTF-8:
+ setenv LC_CTYPE zh_TW.UTF-8 export LC_CTYPE=zh_TW.UTF-8
+ setenv LANG zh_TW.UTF-8 export LANG=zh_TW.UTF-8
+
+Finally, to start the GCIN input method daemon, use command:
+
+ exec gcin &
+
+If you get problem with gcin, please visit http://cle.linux.org.tw/gcin/
+Happy Gcining...:-)
+--------------------------------------------------------------------
diff --git a/chinese/gcin-devel/pkg-plist b/chinese/gcin-devel/pkg-plist
index b411622..3a24c61 100644
--- a/chinese/gcin-devel/pkg-plist
+++ b/chinese/gcin-devel/pkg-plist
@@ -25,9 +25,10 @@ lib/libgcin-im-client.so
%%DATADIR%%/table/hsu.kbm
%%DATADIR%%/table/ibm.kbm
%%DATADIR%%/table/jyutping.gtab
-%%DATADIR%%/table/phrase.table
-%%DATADIR%%/table/pho.tab
%%DATADIR%%/table/pho-huge.tab
+%%DATADIR%%/table/pho.tab
+%%DATADIR%%/table/phrase.table
+%%DATADIR%%/table/simplex.gtab
%%DATADIR%%/table/pinyin.gtab
%%DATADIR%%/table/symbol-table
%%DATADIR%%/table/tsin
@@ -41,11 +42,11 @@ share/applications/gcin-setup.desktop
share/icons/gcin.png
share/icons/gcin/pin-fixed24.png
share/icons/gcin/pin-float16.png
-@dirrm %%DOCSDIR%%
-@dirrm share/icons/gcin
+@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true
+@unexec rmdir %D/share/icons/gcin 2>/dev/null || true
@unexec rmdir %D/share/applications 2>/dev/null || true
@unexec rmdir %D/share/icons 2>/dev/null || true
-@dirrm %%DATADIR%%/table
-@dirrm %%DATADIR%%/script
-@dirrm %%DATADIR%%
+@unexec rmdir %D/%%DATADIR%%/table 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%%/script 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
@unexec rmdir %D/lib/gtk-2.0/immodules 2>/dev/null || true
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile
index ce8548c..f88b57b 100644
--- a/chinese/gcin/Makefile
+++ b/chinese/gcin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcin
-PORTVERSION= 0.9.2
+PORTVERSION= 0.9.3
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/
@@ -25,4 +25,10 @@ USE_GMAKE= YES
USE_GCC= 3.4
.endif
+post-install:
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+ @${ECHO}
+
.include <bsd.port.post.mk>
diff --git a/chinese/gcin/distinfo b/chinese/gcin/distinfo
index 2cc39e7..1417cd1 100644
--- a/chinese/gcin/distinfo
+++ b/chinese/gcin/distinfo
@@ -1,2 +1,2 @@
-MD5 (gcin-0.9.2.tar.bz2) = d1b26b72f3fb6fbfb286cc64d5992ef9
-SIZE (gcin-0.9.2.tar.bz2) = 1109165 \ No newline at end of file
+MD5 (gcin-0.9.3.tar.bz2) = 6fc8be96ee415af8496fb4e4e5cfbaa0
+SIZE (gcin-0.9.3.tar.bz2) = 1168314
diff --git a/chinese/gcin/files/patch-about.c b/chinese/gcin/files/patch-about.c
new file mode 100644
index 0000000..58f0d3e
--- /dev/null
+++ b/chinese/gcin/files/patch-about.c
@@ -0,0 +1,20 @@
+--- about.c.orig Thu May 5 11:32:39 2005
++++ about.c Thu May 5 11:41:34 2005
+@@ -69,10 +69,16 @@
+ gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 3);
+
+ GtkWidget *separator = gtk_hseparator_new ();
++ GtkWidget *vseparator = gtk_vseparator_new ();
+ gtk_box_pack_start(GTK_BOX(vbox), separator, FALSE, FALSE, 3);
+
+- GtkWidget *label_sf = gtk_label_new ("http://www.csie.nctu.edu.tw/~cp76/gcin");
++ GtkWidget *label_sf = gtk_label_new ("gcin WWW:\nhttp://www.csie.nctu.edu.tw/~cp76/gcin");
++ gtk_misc_set_alignment (GTK_MISC (label_sf), 0, 0);
++ GtkWidget *label_FreeBSD = gtk_label_new ("FeeeBack:\nhttp://cle.linux.org.tw/gcin/");
++ gtk_misc_set_alignment (GTK_MISC (label_FreeBSD), 0, 0);
+ gtk_box_pack_start(GTK_BOX(vbox), label_sf, FALSE, FALSE, 0);
++ gtk_box_pack_start(GTK_BOX(vbox), vseparator, FALSE, FALSE, 3);
++ gtk_box_pack_start(GTK_BOX(vbox), label_FreeBSD, FALSE, FALSE, 0);
+
+
+ /* Now on to the image stuff */
diff --git a/chinese/gcin/pkg-message b/chinese/gcin/pkg-message
new file mode 100644
index 0000000..ff739a5
--- /dev/null
+++ b/chinese/gcin/pkg-message
@@ -0,0 +1,25 @@
+--------------------------------------------------------------------
+Remember to set environment varible:
+
+ (csh/tcsh) (sh/bash)
+ setenv XMODIFIERS @im=xcin export XMODIFIERS='@im=xcin'
+ setenv GTK_IM_MODULE xim export GTK_IM_MODULE=xim
+ setenv QT_IM_SWITCHER imsw-multi export QT_IM_SWITCHER=imsw-multi
+ setenv QT_IM_MODULE xim export QT_IM_MODULE=xim
+
+and set LANG, LC_CTYPE to one of zh_TW.UTF-8, zh_TW.Big5 value:
+ (csh/tcsh) (sh/bash)
+Big5: setenv LC_CTYPE zh_TW.Big5 export LC_CTYPE=zh_TW.Big5
+ setenv LANG zh_TW.Big5 export LANG=zh_TW.Big5
+or
+UTF-8:
+ setenv LC_CTYPE zh_TW.UTF-8 export LC_CTYPE=zh_TW.UTF-8
+ setenv LANG zh_TW.UTF-8 export LANG=zh_TW.UTF-8
+
+Finally, to start the GCIN input method daemon, use command:
+
+ exec gcin &
+
+If you get problem with gcin, please visit http://cle.linux.org.tw/gcin/
+Happy Gcining...:-)
+--------------------------------------------------------------------
diff --git a/chinese/gcin/pkg-plist b/chinese/gcin/pkg-plist
index b411622..3a24c61 100644
--- a/chinese/gcin/pkg-plist
+++ b/chinese/gcin/pkg-plist
@@ -25,9 +25,10 @@ lib/libgcin-im-client.so
%%DATADIR%%/table/hsu.kbm
%%DATADIR%%/table/ibm.kbm
%%DATADIR%%/table/jyutping.gtab
-%%DATADIR%%/table/phrase.table
-%%DATADIR%%/table/pho.tab
%%DATADIR%%/table/pho-huge.tab
+%%DATADIR%%/table/pho.tab
+%%DATADIR%%/table/phrase.table
+%%DATADIR%%/table/simplex.gtab
%%DATADIR%%/table/pinyin.gtab
%%DATADIR%%/table/symbol-table
%%DATADIR%%/table/tsin
@@ -41,11 +42,11 @@ share/applications/gcin-setup.desktop
share/icons/gcin.png
share/icons/gcin/pin-fixed24.png
share/icons/gcin/pin-float16.png
-@dirrm %%DOCSDIR%%
-@dirrm share/icons/gcin
+@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true
+@unexec rmdir %D/share/icons/gcin 2>/dev/null || true
@unexec rmdir %D/share/applications 2>/dev/null || true
@unexec rmdir %D/share/icons 2>/dev/null || true
-@dirrm %%DATADIR%%/table
-@dirrm %%DATADIR%%/script
-@dirrm %%DATADIR%%
+@unexec rmdir %D/%%DATADIR%%/table 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%%/script 2>/dev/null || true
+@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
@unexec rmdir %D/lib/gtk-2.0/immodules 2>/dev/null || true
OpenPOWER on IntegriCloud