Version 51 (modified by munepi, 13 years ago) (diff) |
---|
カテゴリ(リポジトリのカテゴリ) | パッケージの組み合わせ | texlive-collections-* の生成 | $ du -hsc texmf texmf-dist | コメント |
最小(main) | texlive + texlive-common (= texlive-collection-langgerman + texlive-collection-langcyrillic + texlive-collection-xetex + texlive-collection-latexrecommended + texlive-collection-latex + texlive-collection-fontsrecommended + texlive-collection-basic) + jvf + texlive-macros | $ tlpdb2rpmspec --minimal-collections | 205M | teTeX 3.0 + α |
標準(plus) | + texmacro-otf + texlive-collection-latexextra + texlive-collection-luatex + texlive-collection-pictures + texlive-collection-genericrecommended + texlive-collection-pstricks | $ tlpdb2rpmspec --standard-collections | 391M | task-texlive |
最大(plus) | + 残り全部 | $ tlpdb2rpmspec --full-collections | --- | task-texlive-full |
teTeX 3.0 + α の構成で多くのユーザをカバーできていた?そうであれば、小さな TeX 環境を提供する価値はある!
texmf-dist 以下の解体作業は、パッケージの量が多くて、到底すべて手動で管理しきれていない。
TeX 環境の構築を簡単にできるようにしておきたい!かつ、Requires: させるパッケージを厳選しておく。
ptexlive-20100711 ベースにした TeX Live 2009 のパッケージ。
ディレクトリ構成は、teTeX のときからと同様。
texlive パッケージが提供されていない arch 上で、texlive をビルドするためには、 一旦 --with firstbuild でビルドした texlive パッケージを作成します。
texlive-2009-Xvl6-src.rpm をダウンロード。 $ rpmbuild --rebuild --with firstbuild texlive-2009-Xvl6.src.rpm $ sudo apt-get install texlive-2009-Xvl6.''arch''.rpm libkpathsea*2009-Xvl6.''arch''.rpm libptexenc*2009-Xvl6.''arch''.rpm
--with firstbuild をはずして、texlive をリビルドします。
$ rpmbuild --rebuild texlive-2009-Xvl6.src.rpm $ sudo apt-get reinstall texlive-2009-Xvl6.''arch''.rpm
texlive2009.iso:/tlpkg/texlive.tlpdb において category Collection をフィールドに持つパッケージです。
tlpdb2rpmspec コマンドを使って、これらの rpm を生成します。
TeX Live パッケージの共通ベースを提供するするための仮想パッケージ。
texlive-vl.spec で 6babel.sh を実行するために、texlive-common 以上の依存関係が必要。
TeX Live のアーカイブを展開して固めたパッケージ。
追加マクロパッケージ。
Vine Linux 用の vf をまとめたパッケージ。
otf 1.5.6
TeX の src-special を Emacsen上で使用するための elisp。
texlive 環境を一通りインストールするための仮想パッケージ。
task-texlive, task-texlive-full に対応する task-texlive-doc, task-texlive-full-doc も提供。
texlive-collection-* の spec ファイルを生成するツールを作成しました。
tlpdb2rpmspec は texlive-vtlpkg パッケージに同梱されています。
http://trac.vinelinux.org/browser/projects/texlive-vtlpkg/trunk
$ sudo apt-get install texlive-vtlpkg
/usr/share/texlive-vtlpkg/dot.vtlpkg.conf を ${HOME}/.vtlpkg.conf へコピーして、必要な設定をします。
## ## texlive-vtlpkg configuration file ## ## This configuration is read at the startup of texlive-vtlpkg. ## set your vendor ## default: RPM_VENDOR="Project Vine" RPM_VENDOR="Project Vine" ## set your distribution ## default: RPM_DISTRIBUTION="Vine Linux" RPM_DISTRIBUTION="Vine Linux" ## set your name and your e-mail address ## default: RPM_GPG_NAME="YOUR NAME <your@email.address>" RPM_GPG_NAME="" ## set your packager id ## default: RPM_PACKAGER=your_id RPM_PACKAGER= ## set the top of your rpm directory ## default: RPM_TOPDIR=${HOME}/rpm RPM_TOPDIR=${HOME}/rpm ## end of file
$ tlpdb2rpmspec Usage: tlpdb2rpmspec [option] [pkgname] This script generates a rpm spec file for CTAN and collection-* packages of TeX Live. Options: --name: return [pkgname] --category: return the category of [pkgname] --revision: return the revision of [pkgname] --depend: return dependencies of [pkgname] --shortdesc: return the short description of [pkgname] --longdesc: return the description of [pkgname] --execute: return post processe of [pkgname] --catalogue-ctan: return the locate of [pkgname] --catalogue-date: return the last update of [pkgname] --catalogue-license: return the license of [pkgname] --catalogue-version: return the version of [pkgname] --filelist: return the filelist of [pkgname] --help: show this help Supoort collections-* packages: collection-basic collection-bibtexextra collection-binextra (snip) collection-xetex
例えば、collection-basic の texlive-collection-basic-vl.spec を生成したい場合は、以下を実行します。
$ tlpdb2rpmspec collection-basic > texlive-collection-basic-vl.spec
rpmbuild -ba texlive-collection-basic-vl.spec を実行すると、 texlive-collection-basic-2009-Xvl6.{noarch,src}.rpm, texlive-collection-basic-doc-2009-Xvl6.src.rpm がビルドされます。
各カテゴリ別に texlive-collection-* を生成したい場合は、以下を実行することにより、rpmbuild まで実行します。
最小(main):$ tlpdb2rpmspec --minimal-collections 標準(plus):$ tlpdb2rpmspec --standard-collections 最大?(plus):$ tlpdb2rpmspec --full-collections
%% from /usr/share/texmf/fonts/map/dvipdfm/morisawa.map %% %% Morisawa %% ryumin-l H RyuminPro-Light.otf ryumin-l-v V RyuminPro-Light.otf gtbbb-m H GothicBBBPro-Medium.otf gtbbb-m-v V GothicBBBPro-Medium.otf futomin-b H FutoMinA101Pro-Bold.otf futomin-b-v V FutoMinA101Pro-Bold.otf futogo-b H FutoGoB101Pro-Bold.otf futogo-b-v V FutoGoB101Pro-Bold.otf jun101-l H Jun101Pro-Light.otf jun101-l-v V Jun101Pro-Light.otf