jman

  • man
  • groff
  • less

    • groff-1.19.1-i486-3.tgz
    • less-382-i486-1.tgz

  • groff
    $ pwd
    /home/shin/tmp
    $ rpm -ivh groff-1.17.2-0vl6.src.rpm
    $ ls /home/shin/rpm/SOURCES
    groff-1.16-safer.patch  groff-tmac-ja.tar.gz
    groff-1.17.2-13.patch   installman.sh.vine
    groff-1.17.2-sec.patch  troff-to-ps.fpi
    groff-1.17.2.tar.gz
    $ mv /home/shin/rpm/SOURCES/* .
    $ tar -zxvf groff-1.17.2.tar.gz
    $ cd groff-1.17.2
    $ patch -p1 < ../groff-1.16-safer.patch
    $ patch -p1 < ../groff-1.17.2-13.patch
    $ patch -p1 < ../groff-1.17.2-sec.patch
    $ configure --prefix=/usr --enable-japanese --host=i686-slackware-linux-gnu
    $ make
    $ mkdir -p /var/tmp/groff-1.17.2/usr
    $ make -e prefix=/var/tmp/groff-1.17.2/usr install
    $ cd src/xditview
    $ xmkmf
    $ make
    $ make DESTDIR=/var/tmp/groff-1.17.2 install
    $ make DESTDIR=/var/tmp/groff-1.17.2 install.man
    $ cd ../../..
    $ pwd
    /home/shin/tmp
    $ tar -zxvf groff-tmac-ja.tar.gz -C /var/tmp/groff-1.17.2/usr/share/groff/1.17.2/tmac
    $ cd /var/tmp/groff-1.17.2/usr/share/groff/1.17.2/tmac
    $ ln -s s.tmac   tmac.gs
    $ ln -s mse.tmac tmac.gs
    $ ln -s m.tmac   tmac.gs
    $ cd /var/tmp/groff-1.17.2/usr/bin
    $ ln -s troff   gtroff
    $ ln -s tbl     gtbl
    $ ln -s pic     gpic
    $ ln -s eqn     geqn
    $ ln -s neqn    gneqn
    $ ln -s refer   grefer
    $ ln -s lookbib glookbib
    $ ln -s indxbib gindxbib
    $ ln -s soelim  gsoelim
    $ ln -s soelim  zsoelim
    $ ln -s nroff   gnroff
    $ cd /var/tmp/groff-1.17.2/usr/man/man1
    $ ln -s eqn.1     geqn.1
    $ ln -s indxbib.1 gindxbib.1
    $ ln -s lookbib.1 glookbib.1
    $ ln -s nroff.1   gnroff.1
    $ ln -s pic.1     gpic.1
    $ ln -s refer.1   grefer.1
    $ ln -s soelim.1  gsoelim.1
    $ ln -s soelim.1  zsoelim.1
    $ ln -s tbl.1     gtbl.1
    $ ln -s troff.1   gtroff.1
    $ cd /home/shin/tmp/groff-1.17.2
    $ mkdir -p /var/tmp/groff-1.17.2/usr/doc/groff-1.17.2
    $ cp -aRp [BCFI]*    /var/tmp/groff-1.17.2/usr/doc/groff-1.17.2
    $ cp -ap  MORE.STUFF /var/tmp/groff-1.17.2/usr/doc/groff-1.17.2
    $ cp -aRp [NPRTV]*   /var/tmp/groff-1.17.2/usr/doc/groff-1.17.2
    $ cd /var/tmp/groff-1.17.2
    $ su
    # makepkg ja-groff-1.17.2-i686-1.tgz
    # cd /
    # installpkg /var/tmp/groff-1.17.2/ja-groff-1.17.2-i686-1.tgz
  • less
    $ pwd
    /home/shin/tmp
    $ rpm -ivh less-358-0vl9.src.rpm
    $ ls /home/shin/rpm/SOURCES
    less-354-hlp-ja.tgz           less-358.tar.bz2
    less-354-ja_nls-modify.patch  less-profile.tar.gz
    less-354-ja_nls.patch         lesspipe.sh
    less-358-iso254.patch
    $ mv /home/shin/rpm/SOURCES/* .
    $ tar -jxvf less-358.tar.bz2
    $ cd less-358
    $ patch -p1 < ../less-358-iso254.pacth
    $ patch -p1 < ../less-354-ja_nls.patch
    $ patch -p1 < ../less-354-ja_nls-modify.patch
    $ ./configure --prefix=/usr --enable-nls --host=i686-slackware-linux-gnu
    $ make
    $ make -e prefix=/var/tmp/less-358/usr install
    $ strip /var/tmp/less-358/usr/bin/*
    $ install -p -m 755 ../less-pipe.sh /var/tmp/less-358/usr/bin/
    $ cd /home/shin/tmp
    $ tar -zxvf less-profile.tar.gz
    $ mkdir -p /var/tmp/less-358/etc/profile.d
    $ install -p -m ../less-profile/less* /var/tmp/less-358/etc/profile.d
    $ cd less-358
    $ mkdir -p /var/tmp/less-358/usr/doc/less-358
    $ cp -aRp [CILNR]* /var/tmp/less-358/usr/doc/less-358
    $ cd /var/tmp/less-358
    $ su
    # makepkg ja-less-358-i686-1.tgz
    # cd /
    # installpkg /var/tmp/less-358/ja-less-358-i686-1.tgz
  • $ pwd
    /home/shin/tmp
    $ rpm2tgz jman_pages-0.5-20050615vl1.noarch.rpm
    $ ls
    jman_pages-0.5-20050615vl1.noarch.tgz
    $ mkdir -p /var/tmp/jman-pages
    $ tar -zxvf jman_pages-0.5-20050615vl1.noarch.tgz -C /var/tmp/jman-pages
    $ cd /var/tmp/jman-pages/usr/share
    $ ls
    doc  jman
    $ mv doc ..
    $ cd /var/tmp/jman-pages
    $ su
    # makepkg jman-pages-0.5-noarch-1.tgz
    # cd /
    # installpkg /var/tmp/jman-pages/jman-pages-0.5-noarch-1.tgz

export MANPATH=/usr/share/jman:$MANPATH


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: Sat, 06 May 2006 15:39:33 JST (4520d)