|% tar xvzf xv-3.10a.tar.gz
|% tar xvzf jpegsrc.v6b.tar.gz
|% tar xvzf tiff-v3.4-tar.gz
|% tar xvzf xv310a-jp-extension-rev5.3.3.tar.gz
|% rm -rf xv-3.10a/jpeg ; mv jpeg-6b xv-3.10a/jpeg
|% rm -rf xv-3.10a/tiff ; mv tiff-v3.4/ xv-3.10a/tiff
|% cd xv-3.10a
|% cat ../xv-3.10a.JPEG-patch | patch
|% cat ../xv-3.10a.TIFF-patch | patch
|% cat ../grabpatch | patch
|% cat ../longname.patch | patch
|% cat ../mp-tiff-patch | patch
|% cat ../pdf.patch | patch
|% cat ../vispatch | patch
|% cat ../xv-jp-extension/Patch.xv310a-ext-5.3.3 | patch
|
|config.hを編集
|#define USE_GUNZIP
|#define GS_PATH “/usr/local/bin/gs”
|#define MACBINARY
|#define AUTO_EXPAND
|#define VIRTUAL_TD
|#define VS_ADJUST
|#define VS_RESCMAP
|#define TV_L10N
|#define HAVE_MGCSFX
|
|Imakefileに追加
|BINDIR=/usr/X11R6/bin
|MANDIR=/usr/X11R6/man/man1
|MGCSFXDIR=/usr/X11R6/lib
|
|% cd jpeg
|% ./configure
|% make libjpeg.a
|% cd ../tiff
|% ./configure
|% make
|% cd ..
|% xmkmf
|% make
|
|xv.hの ’extern char *sys_errlist[];‘の行を’#if 0’にした。(南館)
|
|./bitsディレクトリの存在しないファイルを Patch.xv310a-ext-5.3.3から作った。
|
|Makefileを置換した。(2ヶ所)
|TIFFDIR = tiff/libtiff
|$(LIBTIFF):
| cd $(TIFFDIR); $(MAKE)
URL: http://www.scitec.kobe-u.ac.jp/Computer/Admin/Logs/xv.shtml
xv のコンパイル
[ 当日のツイート
]