[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: transfig/xfig
seirios@Matrix.IRI.Co.Jp wrote:
> 取り合えず、transfig/xfig の日本語pkg作りました。
package作業用のrepositoryもmoguに置いた方が便利ですかね?
> 今 kterm と kinput2 を作ろうと計画中。
ktermはXIM、kinput2はIME、どうしましょう問題があるのですよね。
kinput2は、FreeBSD方式でいくとすると...
kinput2-canna/
kinput2-canna+sj3/
kinput2-canna+sj3+wnn4/
kinput2-canna+sj3+wnn6/
kinput2-canna+wnn4/
kinput2-canna+wnn6/
kinput2-sj3/
kinput2-sj3+wnn4/
kinput2-sj3+wnn6/
kinput2-wnn4/
kinput2-wnn6/
うーむ。
/etc/mk.confに
USE_IME= sj3 wnn6
とか定義しておくとそれでcompileする、とかでもよいのですが、
バイナリパッケージどうしよう、ってことになるのですよね。
あ、それぞれのバイナリパッケージを作るときに、PKGNAMEを指定すれば良いのか。
make USE_IME="sj3 wnn6" PKGNAME=kinput2-sj3+wnn6
とか... うーん、やっぱりFreeBSD方式の方が良いかも...
ktermは鴨さんのpatch
http://kako.ics.nara-wu.ac.jp/staff/kamo/kterm-iso646_ja.html
をあてて、x11に入れてしまおうかと思ってるのですがどうでしょう?
以下につけます。
# 壁紙patchもあてますか? :-)
sakamoto@cec.co.jp
--
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# kterm
# kterm/files
# kterm/files/patch-xaw3d
# kterm/pkg
# kterm/pkg/COMMENT
# kterm/pkg/DESCR
# kterm/pkg/PLIST
# kterm/Makefile
# kterm/patches
# kterm/patches/patch-aa
#
echo c - kterm
mkdir -p kterm > /dev/null 2>&1
echo c - kterm/files
mkdir -p kterm/files > /dev/null 2>&1
echo x - kterm/files/patch-xaw3d
sed 's/^X//' >kterm/files/patch-xaw3d << 'END-of-kterm/files/patch-xaw3d'
X$NetBSD$
X
X--- ./kterm.h.org Thu Jul 11 22:01:37 1996
X+++ ./kterm.h Fri Nov 1 05:22:15 1996
X@@ -36,6 +36,6 @@
X #define KTERM_KINPUT2 /* Kinput2 protocol */
X #define KTERM_COLOR /* color sequence */
X #define KTERM_NOTEK /* disables Tektronix emulation */
X-#undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
X+#define KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
X
X #endif /* !_KTERM_H_ */
END-of-kterm/files/patch-xaw3d
echo c - kterm/pkg
mkdir -p kterm/pkg > /dev/null 2>&1
echo x - kterm/pkg/COMMENT
sed 's/^X//' >kterm/pkg/COMMENT << 'END-of-kterm/pkg/COMMENT'
Xkterm
END-of-kterm/pkg/COMMENT
echo x - kterm/pkg/DESCR
sed 's/^X//' >kterm/pkg/DESCR << 'END-of-kterm/pkg/DESCR'
Xkterm
END-of-kterm/pkg/DESCR
echo x - kterm/pkg/PLIST
sed 's/^X//' >kterm/pkg/PLIST << 'END-of-kterm/pkg/PLIST'
Xbin/kterm
Xlib/X11/app-defaults/KTerm
Xman/cat1/kterm.0
END-of-kterm/pkg/PLIST
echo x - kterm/Makefile
sed 's/^X//' >kterm/Makefile << 'END-of-kterm/Makefile'
X# $NetBSD$
X#
X
XDISTNAME= kterm-6.2.0
XCATEGORIES= x11
XMASTER_SITES= ${MASTER_SITE_XCONTRIB}
XMASTER_SITE_SUBDIR= applications
X
XPATCH_SITES= ftp://ftp.sra.co.jp/pub/x11/kterm/ \
X ftp://ftp.ics.nara-wu.ac.jp/pub/wd/src/kterm/
XPATCHFILES= kterm-6.2.0.NFS-xauth.patch \
X kterm-6.2.0-6.2.0.wd0.2.patch.gz
XPATCH_DIST_STRIP= -p1
X
XMAINTAINER= sakamoto@netbsd.org
X
XUSE_IMAKE= yes
X
X.if defined(USE_XAW3D)
XDEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
X.endif
X
Xpost-patch:
X.if defined(USE_XAW3D)
X @${ECHO_MSG} "===> Applying Xaw3d scrollbar patch"
X @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-xaw3d
X.endif
X
X.include "../../mk/bsd.pkg.mk"
END-of-kterm/Makefile
echo c - kterm/patches
mkdir -p kterm/patches > /dev/null 2>&1
echo x - kterm/patches/patch-aa
sed 's/^X//' >kterm/patches/patch-aa << 'END-of-kterm/patches/patch-aa'
X$NetBSD$
X
X*** kterm.h.orig Thu Jul 11 22:01:37 1996
X--- kterm.h Mon Oct 19 22:28:45 1998
X***************
X*** 37,41 ****
X--- 37,42 ----
X #define KTERM_COLOR /* color sequence */
X #define KTERM_NOTEK /* disables Tektronix emulation */
X #undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
X+ #define ALLOWLOGGING
X
X #endif /* !_KTERM_H_ */
END-of-kterm/patches/patch-aa
exit