[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users-jp 00824] libVFlib*.so* check, minor fix in mgp.man and others
- To: mgp-users-jp@Mew.org
- Subject: [mgp-users-jp 00824] libVFlib*.so* check, minor fix in mgp.man and others
- From: Fumitoshi UKAI <ukai@debian.or.jp>
- Date: Tue, 15 May 2001 01:18:19 +0900
- Organization: Debian JP Project
- Posted: Tue, 15 May 2001 01:16:58 +0900
- Reply-to: mgp-users-jp@mew.org
- User-agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
magicpoint-1.08a.tar.gz ですが、Debianユーザから指摘がいくつか
* configure.in で
shlib2=`echo $dir/lib/libVFlib2.so* | head -1 | sed -e 's/.*\///'`
などとして libVFlib2.so* をチェックしてますが、これだと runtime library
の libVFlib2.so.24.0.3 を検出してしまい、開発用の library libVFlib2.so
がなくてもここのチェックが通ってしまい、その後の
AC_CHECK_LIB($ac_cv_vf_libname, VF_Init,
[mgp_cv_vflib_a=$ac_cv_vf_libpath],
[echo "Fatal: $ac_cv_vf_libpath not found"
exit 1])
で Fatal: libVFlib2.so.24.0.3 not found で終了してしまいます。
(/usr/lib/libVFlib2.so.24.0.3 はあるにもかかわらず)
これは
shlib2=`echo $dir/lib/libVFlib2.so | head -1 | sed -e 's/.*\///'`
でチェックした方がいいと思います。
それから configure.in では
AC_ARG_ENABLE(debug,
[ --enable-debug compile debugging information in.],
[mgp_debug="yes"; OPTFLAGS="$OPTFLAGS -g -DDEBUG -Wall"],
[mgp_debug="no"])
という書きかたがされていますが、
AC_ARG_ENABLE(feature, help-text, [action-if-given, [action-if-not-given]])
で --enable-<feature> / --disable-<feature> どちらが指定されても
action-if-given が使われる(ただし --disable-<feature> の時は enableval=no)
なので
AC_ARG_ENABLE(debug,
[ --enable-debug compile debugging information in.],
[mgp_debug="$enableval"], [mgp_debug="no"])
if test "$mgp_debug" = "yes";
OPTFLAGS="$OPTFLAGS -g -DDEBUG -Wall"
fi
のように書いた方がいいと思います。
* mgp.man
-X gsdevice
mgp sometimes invokes ghostscript(1) to render postscript image.
で a postscript image か postscript images だろ と指摘されました。
images だと思うので
--- mgp-1.08a.orig/mgp.man
+++ mgp-1.08a/mgp.man
@@ -254,7 +254,7 @@
.Nm
sometimes invokes
.Xr ghostscript 1
-to render postscript image.
+to render postscript images.
.Fl X
enables you to specify the device to be used by
.Xr ghostscript 1 .
* sample/gradation.mgp
black じゃないでしょうか? (back "black" なので backでもいい?)
--- mgp-1.08a.orig/sample/gradation.mgp
+++ mgp-1.08a/sample/gradation.mgp
@@ -27,7 +27,7 @@
By default
entire screen
from up to down
- from blue to back
+ from blue to black
Without arguments, displayed with these default values.
* mgp-1.08a だとなんか行間が微妙に広い(?)のはなぜなんでしょうか?
http://people.debian.org/~joey/stuff/mgp00004-newmgp.png
(mgp-1.08a)
http://people.debian.org/~joey/stuff/mgp00004-oldmgp.png
(mgp-snap 20010212くらい?)
--
鵜飼文敏