tgif-3.0-p13.tar.gzのinstall (97/06/29) 1) sourceとpatchをgetし展開。patchをあてる。 tgif-3.0-p13.tar.gz tgif-3.0J0-p13-1.diff.gz tgif-3.0J0-p13-overthespot.patch.gz Message-ID: のsmall grid patch(small.patch) $ tar zxvf tgif-3.0-p13.tar.gz -C ~/src $ cd ~/src/tgif-3.0-p13 $ gzip -dc ../tgif-3.0J0-p13-1.diff.gz | patch -s $ gzip -dc ../tgif-3.0J0-p13-overthespot.patch.gz | patch -s $ patch -s < ../small.patch 2) mainloop.cとImakefileの修正 $ chmod +w mainloop.c $ vi mainloop.c $ chmod -w mainloop.c $ chmod +w Imakefile $ vi Imakefile $ chmod -w Imakefile mainloop.cの485行目 - } else if (!FindXApplResDir(c_ptr, tmp_buf, sizeof(tmp_buf)) { + } else if (!FindXApplResDir(c_ptr, tmp_buf, sizeof(tmp_buf))) { Imakefileの70行目 - -DA4PAPER -DUSE_FLUSH_COLORMAP -DUSE_QUICKWARP $(XIMDEFINES) + -DA4PAPER -DUSE_FLUSH_COLORMAP -DUSE_QUICKWARP \@@\ + -DUSE_XAPPLRESDIR \@@\ + -DXAPPLOADDIR_DEF=\"/usr/X11R6/lib/X11/app-defaults\" \@@\ + $(XIMDEFINES) 3) make $ xmkmf -a $ make 4) install $ su # make install # make install.man