[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pkgsrc/www/navigator and Japanese locale



imuraさん作のFreeBSD ports linux-lesstif-ns を持って来てみました。

ogata@isp.qix.org wrote:

 > 某 web chat で試した限りでは
 > 1) <input type="text" name="message" size=50> で入力ボックスの右端が
 >   表示されなくて長い文章を入力すると表示されなくなる。
 > 2) kinput2 経由でなくカットアンドペーストで入力すると日本語の部分が
 >   無視されてしまう。
 > ぐらいが FreeBSD の Netscape と異なるところのようです。

この辺、改善されたりするかもしれません。

/usr/pkg/bin/navigatorとかの最後の行を
exec ${MOZILLA_HOME}/netscape-dynMotif "$@"
にしましょう。


# linux emul exec中に、NetBSDのshared libraryが呼ばれたら、
# そこだけemul switchとかって不可能ですかね? (^^;

sakamoto
--
# 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:
#
#	linux-lesstif-i18n/files/md5
#	linux-lesstif-i18n/pkg/COMMENT
#	linux-lesstif-i18n/pkg/DESCR
#	linux-lesstif-i18n/pkg/PLIST
#	linux-lesstif-i18n/Makefile
#
echo x - linux-lesstif-i18n/files/md5
sed 's/^X//' >linux-lesstif-i18n/files/md5 << 'END-of-linux-lesstif-i18n/files/md5'
X$NetBSD$
X
XMD5 (lesstif-0.90.5.tar.gz) = 0202d78fb7eb8a16146a77031053d690
XMD5 (lesstif-0.90.5-i18n.patch) = fbc69123d9547063a1e42999f5d5c502
END-of-linux-lesstif-i18n/files/md5
echo x - linux-lesstif-i18n/pkg/COMMENT
sed 's/^X//' >linux-lesstif-i18n/pkg/COMMENT << 'END-of-linux-lesstif-i18n/pkg/COMMENT'
XClone of the Motif library mostly for linux-netscape4
END-of-linux-lesstif-i18n/pkg/COMMENT
echo x - linux-lesstif-i18n/pkg/DESCR
sed 's/^X//' >linux-lesstif-i18n/pkg/DESCR << 'END-of-linux-lesstif-i18n/pkg/DESCR'
XLessTif is a API compatible clone of the Motif.
XCurrently Motif (statically linked by Netscape4) has a critical bug
Xaround multi-byte handling in TextWidget such as <input type=text>
Xand <textarea> fields. This port will solve the above problem of
Xlinux-netscape (like www/libxpg4-ns for our native Netscape).
X
XTo activate this port, make sure that you use netscape-dynMotif instead
Xof communicator(navigator)-linux-x.xx.bin in ${LOCALBASE}/lib/netscape-linux/.
XPatches are created by "fun" <fun@shikoku.ne.jp>
X
X- R. Imura
Ximura@FreeBSD.org
END-of-linux-lesstif-i18n/pkg/DESCR
echo x - linux-lesstif-i18n/pkg/PLIST
sed 's/^X//' >linux-lesstif-i18n/pkg/PLIST << 'END-of-linux-lesstif-i18n/pkg/PLIST'
X@comment $NetBSD$
X${EMULSUBDIR}/usr/X11R6/lib/libXm-ns.so.1.0.2
X${EMULSUBDIR}/usr/X11R6/lib/libXm.so
X${EMULSUBDIR}/usr/X11R6/lib/libXm.so.1
X@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}
X@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null
END-of-linux-lesstif-i18n/pkg/PLIST
echo x - linux-lesstif-i18n/Makefile
sed 's/^X//' >linux-lesstif-i18n/Makefile << 'END-of-linux-lesstif-i18n/Makefile'
X# $NetBSD$
X# FreeBSD Id: ports/www/linux-lesstif-ns/Makefile,v 1.1.1.1 2000/05/07 06:05:24 imura Exp
X
XDISTNAME=	lesstif-0.90.5
XPKGNAME=	linux-lesstif-i18n-0.90.5
XCATEGORIES=	x11
XMASTER_SITES=	ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/  \
X		ftp://ftp.hungry.com/pub/hungry/lesstif/srcdist/ \
X		ftp://ftp.fu-berlin.de/unix/X11/gui/lesstif/srcdist/ \
X		ftp://ftp.win.or.jp/pub/X11/misc/lesstif/srcdist/
X
XPATCH_SITES=	http://cgi.shikoku.ne.jp/~fun/srpms/
XPATCHFILES=	${DISTNAME}-i18n.patch
XPATCH_DIST_STRIP=-p1
X
XMAINTAINER=	sakamoto@netbsd.org
X
XBUILD_DEPENDS+=	${EMULDIR}/usr/bin/gcc:../../emulators/suse_devel
XDEPENDS+=	suse_x11-*:../../emulators/suse_x11
X
XEMULSUBDIR=	emul/linux
XEMULDIR=	${PREFIX}/${EMULSUBDIR}
XINSTALL_PREFIX=	${EMULDIR}/usr/X11R6
XPLIST_SUBST+=	EMULSUBDIR="${EMULSUBDIR}"
X
XNO_MTREE=	yes
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	--host=${MACHINE_ARCH}--linux-gnu \
X		--enable-shared --enable-production \
X		--disable-build-20 --disable-debug --no-recursion \
X		--without-motif --disable-build-Xlt --disable-build-Xbae
XGMAKE=		${EMULDIR}/usr/bin/make
X
Xdo-build:
X	cd ${WRKSRC}/lib/Xm && ${GMAKE}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/lib/Xm/.libs/libXm.so.1.0.2 \
X		${INSTALL_PREFIX}/lib/libXm-ns.so.1.0.2
X	${LN} -sf libXm-ns.so.1.0.2 ${INSTALL_PREFIX}/lib/libXm.so.1
X	${LN} -sf libXm.so.1 ${INSTALL_PREFIX}/lib/libXm.so
X	@${ECHO} "===>   [Automatic Linux shared object handling]"
X	@${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
X
Xshow-shlib-type:
X	@${ECHO} linux-${MACHINE_ARCH}
X
X.include "../../mk/bsd.pkg.mk"
X
XCONFIGURE_ENV=	${EMULDIR}/bin/bash
END-of-linux-lesstif-i18n/Makefile
exit