summaryrefslogtreecommitdiff
path: root/chinese/xcin/files
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1997-12-15 17:57:54 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1997-12-15 17:57:54 +0000
commit4ee04e0666702371a2e856fb1144afd2ee7cb20b (patch)
tree98e329f2c0a19097968f0fbf62cd98a28dca2d56 /chinese/xcin/files
parentActivate rasmol. (diff)
xcin is a chinese input program.
PR: ports/5164 Submitted by: Yen-Shuo SU <yssu@CCCA.Nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=9085
Diffstat (limited to 'chinese/xcin/files')
-rw-r--r--chinese/xcin/files/patch-aa73
-rw-r--r--chinese/xcin/files/patch-ab61
2 files changed, 134 insertions, 0 deletions
diff --git a/chinese/xcin/files/patch-aa b/chinese/xcin/files/patch-aa
new file mode 100644
index 000000000000..24deb8310ef1
--- /dev/null
+++ b/chinese/xcin/files/patch-aa
@@ -0,0 +1,73 @@
+--- configure.orig Wed Nov 19 13:00:56 1997
++++ configure Mon Dec 15 10:43:02 1997
+@@ -19,9 +19,10 @@
+
+ # Usage: configure [-help] [-prefix=PREFIX] [-bin-prefix=PREFIX]
+ # [-x-include-prefix=PREFIX] [-x-lib-prefix=PREFIX]
+-# [-x-font-prefix=PREFIX]
++# [-x-font-prefix=PREFIX] [-use-24-fonts]
+
+
++use_24_fonts=0
+ for arg in $@; do
+ case $arg in
+ -bin-prefix=*)
+@@ -34,6 +35,8 @@
+ x_lib_prefix=`echo $arg | sed 's/[-a-z]*=//'` ;;
+ -x-font-prefix=*)
+ x_font_prefix=`echo $arg | sed 's/[-a-z]*=//'` ;;
++ -use-24-fonts)
++ use_24_fonts=1 ;;
+ -help)
+ cat << EOF >&2
+ Usage: configure [-help] [-prefix=PREFIX] [-exec-prefix=PREFIX]
+@@ -52,6 +55,8 @@
+
+ -x-font-prefix: Prefix dir of the X-win .pcf fonts.
+
++ -use-24-fonts: Use 24 Fonts
++
+ EOF
+ exit 0
+ ;;
+@@ -94,11 +99,11 @@
+ echo 'Chinese interface to setting up your XCIN system.'
+ echo
+ echo 'Do you want to use the Chinese interface [y/n]?'
+-read chinese
++#read chinese
+ if [ "$chinese" = 'y' ] || [ "$chinese" = 'Y' ]; then
+ unique_file=script/configure.Cinstall
+ fi
+-$srcdir/$unique_file -root=$srcdir -prefix=$prefix -bin-prefix=$bin_prefix -x-font-prefix=$x_font_prefix
++$srcdir/$unique_file -root=$srcdir -prefix=$prefix -bin-prefix=$bin_prefix -x-font-prefix=$x_font_prefix -use-24-fonts=$use_24_fonts
+ if [ "$?" = '1' ]; then
+ echo 'Stop!'
+ echo
+@@ -155,7 +160,7 @@
+
+ # Test the -O2 for CFLAGS.
+ ${CC-cc} -O2 conftest.c >/dev/null 2>&1
+-test -f a.out && CFLAGS=-O2
++test -f a.out && CFLAGS="-O2 -m486"
+ CFLAGS="${CFLAGS--O}"
+ rm -f a.out
+
+@@ -248,7 +253,7 @@
+ IFS="$saveifs"
+ fi
+ INSTALL=${INSTALL-cp}
+-INSTALL_PROGRAM=${INSTALL_PROGRAM-'$(INSTALL)'}
++INSTALL_PROGRAM="/usr/bin/install -c -s"
+ INSTALL_DATA=${INSTALL_DATA-'$(INSTALL)'}
+ INSTALL_DIR=${INSTALL_DIR-mkdir}
+
+@@ -800,7 +805,7 @@
+ grep $1 install.status | sed "s%$1=%%"
+ }
+ INSTALL_XCIN=`GetData INSTALL_XCIN`
+-INSTALL_CRXVT=`GetData INSTALL_CRXVT`
++#INSTALL_CRXVT=`GetData INSTALL_CRXVT`
+ INSTALL_FONTS=`GetData INSTALL_FONTS`
+ INSTALL_INPTABS=`GetData INSTALL_INPTABS`
+ INSTALL_DOCS=`GetData INSTALL_DOCS`
diff --git a/chinese/xcin/files/patch-ab b/chinese/xcin/files/patch-ab
new file mode 100644
index 000000000000..b90b96b60ed7
--- /dev/null
+++ b/chinese/xcin/files/patch-ab
@@ -0,0 +1,61 @@
+--- script/configure.install.orig Wed Nov 19 13:16:00 1997
++++ script/configure.install Wed Dec 10 23:16:32 1997
+@@ -11,6 +11,7 @@
+ # General setup.
+ #
+
++use_24_fonts=0
+ for arg in $@; do
+ case $arg in
+ -root=*)
+@@ -21,6 +22,9 @@
+ BIN_PREFIX=`echo $arg | sed 's/[-a-z]*=//'` ;;
+ -x-font-prefix=*)
+ X_FONT_PREFIX=`echo $arg | sed 's/[-a-z]*=//'` ;;
++ -use-24-fonts=*)
++ echo "Use 24 fonts!!!!!!!!!!"
++ use_24_fonts=`echo $arg | sed 's/[-a-z0-9]*=//'` ;;
+ *) echo "Invalid arguement $arg. Stop."
+ exit 1 ;;
+ esac
+@@ -105,10 +109,17 @@
+ PATH_XCIN_ETEN=
+
+ OPT_XCIN_DELETEK=0
+- OPT_XCIN_CFONT=taipei15
+- OPT_XCIN_EFONT=8x16
+- OPT_CRXVT_CFONT=taipei15
+- OPT_CRXVT_EFONT=8x16
++ if [ "$use_24_fonts" = '1' ]; then
++ OPT_XCIN_CFONT=kc24
++ OPT_XCIN_EFONT=12x24
++ OPT_CRXVT_CFONT=kc24
++ OPT_CRXVT_EFONT=12x24
++ else
++ OPT_XCIN_CFONT=kc15
++ OPT_XCIN_EFONT=8x15
++ OPT_CRXVT_CFONT=kc15
++ OPT_CRXVT_EFONT=8x15
++ fi
+ OPT_FONT_ET15=no
+ OPT_FONT_ET24K=no
+ OPT_FONT_ET24L=no
+@@ -133,7 +144,7 @@
+ fi
+
+ test ! -z "$PREFIX" && PATH_XCIN_BIN=`echo $PREFIX | sed 's/\/$//'`/bin \
+- && PATH_XCIN_DIR=`echo $PREFIX | sed 's/\/$//'`/xcin \
++ && PATH_XCIN_DIR=`echo $PREFIX/lib/X11 | sed 's/\/$//'`/xcin \
+ && PATH_XCIN_MAN=`echo $PREFIX | sed 's/\/$//'`/man
+ test ! -z "$BIN_PREFIX" && PATH_XCIN_BIN=`echo $BIN_PREFIX | sed 's/\/$//'`/bin
+ test ! -z "$X_FONT_PREFIX" && PATH_XCIN_CFONT=`echo $X_FONT_PREFIX | sed 's/\/$//'`/chinese \
+@@ -258,7 +269,8 @@
+ EOF
+ $ECHO 'Your choice [CDFHISQUX123456] : '
+
+-read ch
++#read ch
++ch=s
+ echo
+
+ case $ch in