diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2020-07-20 13:09:51 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2020-07-20 13:09:51 +0000 |
commit | 2c42289bba09f976ed6bb9c5f7117851202565d0 (patch) | |
tree | 2ed405d28bb152e2576fbb1fa5ae2edca4d2e5e9 /chinese | |
parent | 70639ac51c2b2d5352f5bfa9e4065a84e8b0e103 (diff) |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/gcin/Makefile | 2 | ||||
-rw-r--r-- | chinese/gcin/distinfo | 6 | ||||
-rw-r--r-- | chinese/gcin/files/patch-Makefile | 2 | ||||
-rw-r--r-- | chinese/gcin/files/patch-configure | 27 | ||||
-rw-r--r-- | chinese/gcin/files/patch-gtab-buf.cpp | 4 |
5 files changed, 16 insertions, 25 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 12cb23fd55df..d42d41ed95de 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gcin -PORTVERSION= 2.8.9 +PORTVERSION= 2.9.0 CATEGORIES= chinese textproc gnome MASTER_SITES= http://hyperrate.com/gcin-source/ EXTRACT_ONLY= gcin-${PORTVERSION}.tar.xz diff --git a/chinese/gcin/distinfo b/chinese/gcin/distinfo index 8a59abec8f65..f89bf5c3562d 100644 --- a/chinese/gcin/distinfo +++ b/chinese/gcin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1552571155 -SHA256 (gcin-2.8.9.tar.xz) = e08426cc85c5932392ebf73ac7d140cd778862517c3ea0cf8953aaab6c14d078 -SIZE (gcin-2.8.9.tar.xz) = 4033152 +TIMESTAMP = 1593822948 +SHA256 (gcin-2.9.0.tar.xz) = 8ae41fb35911112989a9388d66b678d142e05afe3e09063c9ef6fd5746127e60 +SIZE (gcin-2.9.0.tar.xz) = 4050656 diff --git a/chinese/gcin/files/patch-Makefile b/chinese/gcin/files/patch-Makefile index a60045f0eed8..b1d1ff523cb5 100644 --- a/chinese/gcin/files/patch-Makefile +++ b/chinese/gcin/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2019-03-07 09:07:52 UTC +--- Makefile.orig 2020-05-15 23:04:33 UTC +++ Makefile @@ -4,8 +4,11 @@ include config.mak include suffixes-rule diff --git a/chinese/gcin/files/patch-configure b/chinese/gcin/files/patch-configure index d23acdcbc879..2b7a8dd4a7ee 100644 --- a/chinese/gcin/files/patch-configure +++ b/chinese/gcin/files/patch-configure @@ -1,8 +1,8 @@ ---- configure.orig 2019-02-01 23:11:02 UTC +--- configure.orig 2019-09-05 05:24:10 UTC +++ configure @@ -1,4 +1,4 @@ -##!/bin/bash -+##!/bin/sh ++#!/bin/sh if [ "$1" = "-h" -o "$1" = "--help" -o "$1" = "-help" ]; then @@ -15,15 +15,6 @@ exit fi -@@ -129,7 +129,7 @@ if [ -z $GTK ]; then - echo "According to pkg-config, GTK 2.0 or 3.0 WAS NOT FOUND." - echo "please install rpm/package libgtk+2.0_0-devel or libgtk+3.0_0-devel" - rm -f config.mak -- exits -+ exit - fi - - echo "$GTK will be used." @@ -232,7 +232,7 @@ fi @@ -50,7 +41,7 @@ + for i in $prefix/share/qt/bin/moc /usr/lib/qt/bin/moc /usr/lib64/qt/bin/moc /usr/lib/qt3/bin/moc $prefix/share/qt3/bin/moc /usr/lib64/qt3/bin/moc do - [ ! -x $i ] && continue -+ [ ! -x $i ] continue ++ [ ! -x $i ] continue QT_MOC=$i echo "QT_MOC=$QT_MOC" break; @@ -62,7 +53,7 @@ + for i in %%MOC%% $prefix/share/qt4/bin/moc /usr/lib/qt4/bin/moc /usr/lib64/qt4/bin/moc /usr/bin/moc do - [ ! -x $i ] && continue -+ [ ! -x $i ] continue ++ [ ! -x $i ] continue QT4_MOC=$i echo "QT4_MOC=$QT4_MOC" break @@ -71,10 +62,10 @@ fi cd .. - for i in /usr/share/qt5/bin/moc /usr/lib/qt5/bin/moc /usr/lib/x86_64-linux-gnu/qt5/bin/moc /usr/lib/i386-linux-gnu/qt5/bin/moc /usr/lib64/qt5/bin/moc /usr/bin/moc -+ for i in $prefix/share/qt5/bin/moc /usr/lib/qt5/bin/moc /usr/lib/x86_64-linux-gnu/qt5/bin/moc /usr/lib/i386-linux-gnu/qt5/bin/moc /usr/lib64/qt5/bin/moc /usr/bin/moc ++ for i in $prefix/share/qt6/bin/moc /usr/lib/qt5/bin/moc /usr/lib/x86_64-linux-gnu/qt5/bin/moc /usr/lib/i386-linux-gnu/qt5/bin/moc /usr/lib64/qt5/bin/moc /usr/bin/moc do - [ ! -x $i ] && continue -+ [ ! -x $i ] continue ++ [ ! -x $i ] continue QT5_MOC=$i echo "QT5_MOC=$QT5_MOC" break @@ -115,13 +106,13 @@ -[ $QT4_IM = 'Y' ] && echo "QT4_MOC=$QT4_MOC" >> config.mak -[ $QT_IM = 'Y' ] && echo "QT_MOC=$QT_MOC" >> config.mak +if [ $QT5_IM = 'Y' ]; then -+ echo "QT5_MOC=$QT5_MOC" >> config.mak ++ echo "QT5_MOC=$QT5_MOC" >> config.mak +fi +if [ $QT4_IM = 'Y' ]; then -+ echo "QT4_MOC=$QT4_MOC" >> config.mak ++ echo "QT4_MOC=$QT4_MOC" >> config.mak +fi +if [ $QT_IM = 'Y' ]; then -+ echo "QT_MOC=$QT_MOC" >> config.mak ++ echo "QT_MOC=$QT_MOC" >> config.mak +fi -echo "GCIN_DEBUG=0" >> config.mak diff --git a/chinese/gcin/files/patch-gtab-buf.cpp b/chinese/gcin/files/patch-gtab-buf.cpp index 60347ec00982..ba3594028431 100644 --- a/chinese/gcin/files/patch-gtab-buf.cpp +++ b/chinese/gcin/files/patch-gtab-buf.cpp @@ -1,6 +1,6 @@ ---- gtab-buf.cpp.orig 2018-05-21 12:35:13 UTC +--- gtab-buf.cpp.orig 2020-03-14 07:23:09 UTC +++ gtab-buf.cpp -@@ -1242,7 +1242,7 @@ gboolean gtab_pre_select_shift(KeySym key, int kbstate +@@ -1253,7 +1253,7 @@ gboolean gtab_pre_select_shift(KeySym key, int kbstate // If the key(123) is not defined as gtab keys, the shift keys(!@#) should be used for punc, not preselect int c; char *p; |