diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-01-04 03:56:41 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-01-04 03:56:41 +0000 |
commit | 39d8e34be20b1a7bf41882c50023553f61de2493 (patch) | |
tree | d02dda1b5f034f9c495e283f2404c82ba18be191 | |
parent | be2ff4ae7cca1a004ebb1b9b1260a53fdc486b63 (diff) | |
download | ports-39d8e34be20b1a7bf41882c50023553f61de2493.tar.gz ports-39d8e34be20b1a7bf41882c50023553f61de2493.zip |
Notes
-rw-r--r-- | chinese/gcin-devel/Makefile | 14 | ||||
-rw-r--r-- | chinese/gcin-devel/distinfo | 6 | ||||
-rw-r--r-- | chinese/gcin-devel/files/patch-gcin2tab.c | 26 | ||||
-rw-r--r-- | chinese/gcin-devel/pkg-plist | 2 | ||||
-rw-r--r-- | chinese/gcin/Makefile | 14 | ||||
-rw-r--r-- | chinese/gcin/distinfo | 6 | ||||
-rw-r--r-- | chinese/gcin/files/patch-gcin2tab.c | 26 | ||||
-rw-r--r-- | chinese/gcin/pkg-plist | 2 |
8 files changed, 24 insertions, 72 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile index 29fe2201ebb0..419d71d85dfd 100644 --- a/chinese/gcin-devel/Makefile +++ b/chinese/gcin-devel/Makefile @@ -6,10 +6,10 @@ # PORTNAME= gcin -PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTVERSION= 1.3.2 CATEGORIES= chinese textproc gnome MASTER_SITES= http://cle.linux.org.tw/gcin/download/:main \ + http://ftp.twaren.net/local-distfiles/gcin/:main \ http://yilan.twbbs.org/chinsan/gcin/:main \ LOCAL/chinsan:main DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main @@ -44,21 +44,23 @@ post-extract: .endif pre-patch: + ${MV} ${WRKSRC}/icons/3/pingin.png ${WRKSRC}/icons/3/pinyin.png @${REINPLACE_CMD} -e 's,&,,; 1 s,bash,sh,; \ s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,; \ s,mandir=$$datadir,mandir=$$prefix,; \ - s,/usr/share,$$prefix/share,; 161 s,/gcin,,; \ + s,/usr/share,$$prefix/share,; 164 s,/gcin,,; \ 133,134 s,control-center-2\.0,gnome\/control-center-2\.0,g; \ s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ - ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile + ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile @${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib,g; \ s,/usr/include,${X11BASE}/include,g; s,Xft2/X11/Xft,X11/Xft,' \ ${WRKSRC}/qt-im/Makefile @${REINPLACE_CMD} -e 's,modify-XIM ,,; 8,10 d' ${WRKSRC}/scripts/Makefile @${REINPLACE_CMD} -e 's,bash,sh,; s/&//; s,/opt/gnome,${X11BASE},;' \ - ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup + ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup \ + ${WRKSRC}/scripts/gtab.append_prepare @${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ ${WRKSRC}/gtk-im/gtkimcontextgcin.c @@ -67,8 +69,6 @@ pre-patch: ${WRKSRC}/IMdkit/Xi18n_sample/Makefile ${WRKSRC}/Makefile \ ${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ ${WRKSRC}/scripts/utf8-edit - @${REINPLACE_CMD} -e 's,BIG_ENDIAN\(.*\)1,BIG_ENDIAN\1\0,' \ - ${WRKSRC}/gtab.h .if defined(WITH_BOSHIAMY) post-patch: diff --git a/chinese/gcin-devel/distinfo b/chinese/gcin-devel/distinfo index ca78105814bc..441a3dc0f875 100644 --- a/chinese/gcin-devel/distinfo +++ b/chinese/gcin-devel/distinfo @@ -1,6 +1,6 @@ -MD5 (gcin-1.3.1.tar.bz2) = 3467166a035141c42f4d5f4efaca711e -SHA256 (gcin-1.3.1.tar.bz2) = 1b1d8c59b92ade16723b8187290005e177da7c81e0d72229099309ca55890139 -SIZE (gcin-1.3.1.tar.bz2) = 1610772 +MD5 (gcin-1.3.2.tar.bz2) = 9de142b3c491ee446b9234a35a878159 +SHA256 (gcin-1.3.2.tar.bz2) = 99ac8a9d6edc2c5090c0fd941e53f318188809578de96a8948a03e983c210dbf +SIZE (gcin-1.3.2.tar.bz2) = 1621176 MD5 (noseeing-6.tar.gz) = c67e5c85b2805f12bb2f092dfa1814b7 SHA256 (noseeing-6.tar.gz) = 2f240c8dbb15c2249dff74102842bbccfe307a721cf2c092c75dc6234e470f9b SIZE (noseeing-6.tar.gz) = 400429 diff --git a/chinese/gcin-devel/files/patch-gcin2tab.c b/chinese/gcin-devel/files/patch-gcin2tab.c deleted file mode 100644 index 0eb3e39b7121..000000000000 --- a/chinese/gcin-devel/files/patch-gcin2tab.c +++ /dev/null @@ -1,26 +0,0 @@ ---- gcin2tab.c.orig Sun Dec 3 11:05:26 2006 -+++ gcin2tab.c Sun Dec 3 11:08:36 2006 -@@ -129,7 +129,10 @@ - int d; - if ((d = a->key - b->key)) return d; - -- return memcmp(a->ch ,b->ch, CH_SZ); -+ d = memcmp(a->ch ,b->ch, CH_SZ); -+ if (d) return d; -+ -+ return a->oseq - b->oseq; - } - - int qcmp2_64(const void *aa, const void *bb) -@@ -139,7 +142,10 @@ - if (a->key > b->key) return 1; - if (a->key < b->key) return -1; - -- return memcmp(a->ch ,b->ch, CH_SZ); -+ int d = memcmp(a->ch ,b->ch, CH_SZ); -+ if (d) return d; -+ -+ return a->oseq - b->oseq; - } - - int qcmp(const void *aa, const void *bb) diff --git a/chinese/gcin-devel/pkg-plist b/chinese/gcin-devel/pkg-plist index 12280be1f19c..bd71bf3e7241 100644 --- a/chinese/gcin-devel/pkg-plist +++ b/chinese/gcin-devel/pkg-plist @@ -3,6 +3,7 @@ bin/gcin-gb-toggle bin/gcin-message bin/gcin-setup bin/gcin2tab +bin/gtab-merge bin/juyin-learn bin/phoa2d bin/phod2a @@ -19,6 +20,7 @@ lib/libgcin-im-client.so lib/libgcin-im-client.so.1.0.1 lib/libgcin-im-client.so.1 %%DATADIR%%/script/gcin-user-setup +%%DATADIR%%/script/gtab.append_prepare %%DATADIR%%/script/noseeing-inst %%DATADIR%%/script/utf8-edit %%DATADIR%%/table/ar30.gtab diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 29fe2201ebb0..419d71d85dfd 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -6,10 +6,10 @@ # PORTNAME= gcin -PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTVERSION= 1.3.2 CATEGORIES= chinese textproc gnome MASTER_SITES= http://cle.linux.org.tw/gcin/download/:main \ + http://ftp.twaren.net/local-distfiles/gcin/:main \ http://yilan.twbbs.org/chinsan/gcin/:main \ LOCAL/chinsan:main DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main @@ -44,21 +44,23 @@ post-extract: .endif pre-patch: + ${MV} ${WRKSRC}/icons/3/pingin.png ${WRKSRC}/icons/3/pinyin.png @${REINPLACE_CMD} -e 's,&,,; 1 s,bash,sh,; \ s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,; \ s,mandir=$$datadir,mandir=$$prefix,; \ - s,/usr/share,$$prefix/share,; 161 s,/gcin,,; \ + s,/usr/share,$$prefix/share,; 164 s,/gcin,,; \ 133,134 s,control-center-2\.0,gnome\/control-center-2\.0,g; \ s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ - ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile + ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile @${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib,g; \ s,/usr/include,${X11BASE}/include,g; s,Xft2/X11/Xft,X11/Xft,' \ ${WRKSRC}/qt-im/Makefile @${REINPLACE_CMD} -e 's,modify-XIM ,,; 8,10 d' ${WRKSRC}/scripts/Makefile @${REINPLACE_CMD} -e 's,bash,sh,; s/&//; s,/opt/gnome,${X11BASE},;' \ - ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup + ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup \ + ${WRKSRC}/scripts/gtab.append_prepare @${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ ${WRKSRC}/gtk-im/gtkimcontextgcin.c @@ -67,8 +69,6 @@ pre-patch: ${WRKSRC}/IMdkit/Xi18n_sample/Makefile ${WRKSRC}/Makefile \ ${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ ${WRKSRC}/scripts/utf8-edit - @${REINPLACE_CMD} -e 's,BIG_ENDIAN\(.*\)1,BIG_ENDIAN\1\0,' \ - ${WRKSRC}/gtab.h .if defined(WITH_BOSHIAMY) post-patch: diff --git a/chinese/gcin/distinfo b/chinese/gcin/distinfo index ca78105814bc..441a3dc0f875 100644 --- a/chinese/gcin/distinfo +++ b/chinese/gcin/distinfo @@ -1,6 +1,6 @@ -MD5 (gcin-1.3.1.tar.bz2) = 3467166a035141c42f4d5f4efaca711e -SHA256 (gcin-1.3.1.tar.bz2) = 1b1d8c59b92ade16723b8187290005e177da7c81e0d72229099309ca55890139 -SIZE (gcin-1.3.1.tar.bz2) = 1610772 +MD5 (gcin-1.3.2.tar.bz2) = 9de142b3c491ee446b9234a35a878159 +SHA256 (gcin-1.3.2.tar.bz2) = 99ac8a9d6edc2c5090c0fd941e53f318188809578de96a8948a03e983c210dbf +SIZE (gcin-1.3.2.tar.bz2) = 1621176 MD5 (noseeing-6.tar.gz) = c67e5c85b2805f12bb2f092dfa1814b7 SHA256 (noseeing-6.tar.gz) = 2f240c8dbb15c2249dff74102842bbccfe307a721cf2c092c75dc6234e470f9b SIZE (noseeing-6.tar.gz) = 400429 diff --git a/chinese/gcin/files/patch-gcin2tab.c b/chinese/gcin/files/patch-gcin2tab.c deleted file mode 100644 index 0eb3e39b7121..000000000000 --- a/chinese/gcin/files/patch-gcin2tab.c +++ /dev/null @@ -1,26 +0,0 @@ ---- gcin2tab.c.orig Sun Dec 3 11:05:26 2006 -+++ gcin2tab.c Sun Dec 3 11:08:36 2006 -@@ -129,7 +129,10 @@ - int d; - if ((d = a->key - b->key)) return d; - -- return memcmp(a->ch ,b->ch, CH_SZ); -+ d = memcmp(a->ch ,b->ch, CH_SZ); -+ if (d) return d; -+ -+ return a->oseq - b->oseq; - } - - int qcmp2_64(const void *aa, const void *bb) -@@ -139,7 +142,10 @@ - if (a->key > b->key) return 1; - if (a->key < b->key) return -1; - -- return memcmp(a->ch ,b->ch, CH_SZ); -+ int d = memcmp(a->ch ,b->ch, CH_SZ); -+ if (d) return d; -+ -+ return a->oseq - b->oseq; - } - - int qcmp(const void *aa, const void *bb) diff --git a/chinese/gcin/pkg-plist b/chinese/gcin/pkg-plist index 12280be1f19c..bd71bf3e7241 100644 --- a/chinese/gcin/pkg-plist +++ b/chinese/gcin/pkg-plist @@ -3,6 +3,7 @@ bin/gcin-gb-toggle bin/gcin-message bin/gcin-setup bin/gcin2tab +bin/gtab-merge bin/juyin-learn bin/phoa2d bin/phod2a @@ -19,6 +20,7 @@ lib/libgcin-im-client.so lib/libgcin-im-client.so.1.0.1 lib/libgcin-im-client.so.1 %%DATADIR%%/script/gcin-user-setup +%%DATADIR%%/script/gtab.append_prepare %%DATADIR%%/script/noseeing-inst %%DATADIR%%/script/utf8-edit %%DATADIR%%/table/ar30.gtab |