--- ptex-base-2.5.orig/debian/rules +++ ptex-base-2.5/debian/rules @@ -0,0 +1,120 @@ +#!/usr/bin/make -f +# debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# Modified by Masayuki Hatta for ptex-base. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +#################### +# Things you should change when new upstream version is available. + +# pTeX tarball +PTEX_TEXMF_TARBALL=ptex-texmf-2.5.tar.gz + +#################### + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/ptex-base. + tar xfz $(PTEX_TEXMF_TARBALL) -C $(CURDIR)/debian/ptex-base/usr/share + mv $(CURDIR)/debian/ptex-base/usr/share/ptex-texmf $(CURDIR)/debian/ptex-base/usr/share/texmf + + # Install amsptex.ini and ptex-ams.tex. + install -m 644 $(CURDIR)/debian/amsptex.ini $(CURDIR)/debian/ptex-base/usr/share/texmf/ptex/plain/config + install -m 644 $(CURDIR)/debian/ptex-ams.tex $(CURDIR)/debian/ptex-base/usr/share/texmf/ptex/plain/base + + # Separate jbibtex-base. + dh_movefiles --source=debian/ptex-base + + # Move /usr/share/texmf/fonts/*/ptex to /usr/share/texmf/fonts/*/dvips + mv $(CURDIR)/debian/ptex-base/usr/share/texmf/fonts/tfm/ptex/ \ + $(CURDIR)/debian/ptex-base/usr/share/texmf/fonts/tfm/dvips + mv $(CURDIR)/debian/ptex-base/usr/share/texmf/fonts/vf/ptex/ \ + $(CURDIR)/debian/ptex-base/usr/share/texmf/fonts/vf/dvips + + # Move /usr/share/texmf/doc/* to /usr/share/doc/texmf/* + mv $(CURDIR)/debian/ptex-base/usr/share/texmf/doc/ptex \ + $(CURDIR)/debian/ptex-base/usr/share/doc/texmf/ptex + mv $(CURDIR)/debian/jbibtex-base/usr/share/texmf/doc/jbibtex \ + $(CURDIR)/debian/jbibtex-base/usr/share/doc/texmf/jbibtex + + # Remove unnecessary files and directories. + rm -rf $(CURDIR)/debian/ptex-base/usr/share/texmf/jbibtex/ + rm -rf $(CURDIR)/debian/ptex-base/usr/share/texmf/doc + rm -rf $(CURDIR)/debian/jbibtex-base/usr/share/texmf/doc + rm -rf $(CURDIR)/debian/ptex-base/usr/share/texmf/ptex/platex/base/.cvsignore + rm -rf $(CURDIR)/debian/ptex-base/usr/share/texmf/COPYRIGHT* + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i +# dh_installdebconf -i + dh_installdocs -i + # Move /usr/share/texmf/*.txt to /usr/share/doc/ptex-base (after that directory created by dh_installdocs) + mv $(CURDIR)/debian/ptex-base/usr/share/texmf/README.txt \ + $(CURDIR)/debian/ptex-base/usr/share/doc/ptex-base +# dh_installexamples -i +# dh_installmenu -i +# dh_installlogrotate -i +# dh_installemacsen -i +# dh_installpam -i +# dh_installmime -i +# dh_installinit -i +# dh_installcron -i +# dh_installman -i +# dh_installinfo -i +# dh_undocumented -i + dh_installchangelogs -i debian/ptex-base/usr/share/texmf/Changes.txt + # We should remove this at this timing + rm -rf $(CURDIR)/debian/ptex-base/usr/share/texmf/Changes* + dh_installtex -i + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i +# dh_makeshlibs -i + dh_installdeb -i +# dh_perl -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ptex-base-2.5.orig/debian/ptex-ams.tex +++ ptex-base-2.5/debian/ptex-ams.tex @@ -0,0 +1,61 @@ +% This is the pTeX format +% +% (C)copyright ASCII corporation,1987,1995,1997 +% +\input plain +\catcode`@=11 % at signs are no longer letters +\def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later + \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi + \nobreak#1\@sf\vfootnote{#1}} +\catcode`@=12 % at signs are no longer letters +% +\font\tenmin=min10 % mincho(KANJI) +\font\preloaded=min9 +\font\preloaded=min8 +\font\sevenmin=min7 +\font\preloaded=min6 +\font\fivemin=min5 +% +\font\tengt=goth10 % gothic(KANJI) +\font\preloaded=goth9 +\font\preloaded=goth8 +\font\sevengt=goth7 +\font\preloaded=goth6 +\font\fivegt=goth5 +% +\font\tentmin=tmin10 % mincho(KANJI,tate) +\font\preloaded=tmin9 +\font\preloaded=tmin8 +\font\seventmin=tmin7 +\font\preloaded=tmin6 +\font\fivetmin=tmin5 +% +\font\tentgt=tgoth10 % gothic(KANJI,tate) +\font\preloaded=tgoth9 +\font\preloaded=tgoth8 +\font\seventgt=tgoth7 +\font\preloaded=tgoth6 +\font\fivetgt=tgoth5 +% +\newfam\minfam % \min is family 8 +\newfam\gtfam % \gt is family 9 +% +\def\mc{\fam\minfam\tenmin}% +\textfont\minfam=\tenmin\scriptfont\minfam=\sevenmin% +\scriptscriptfont\minfam=\fivemin +% +\def\gt{\fam\gtfam\tengt}% +\textfont\gtfam=\tengt\scriptfont\gtfam=\sevengt% +\scriptscriptfont\gtfam=\fivegt +% +\input kinsoku +\mc % select mincho font +\kanjiskip=0pt plus .4pt minus .4pt +%\xkanjiskip=2.5pt plus 1pt minus 1pt +\xkanjiskip=.25zw plus 1pt minus 1pt +\autospacing\autoxspacing +\jcharwidowpenalty=500 +% +% identifies the current format +\def\fmtname{ptex} +\def\fmtversion{3.14159 p1.0b} --- ptex-base-2.5.orig/debian/control +++ ptex-base-2.5/debian/control @@ -0,0 +1,32 @@ +Source: ptex-base +Section: tex +Priority: optional +Maintainer: Masayuki Hatta (mhatta) +Build-Depends: debhelper (>> 4.0.0), tex-common +Standards-Version: 3.7.3 + +Package: ptex-base +Architecture: all +Depends: tetex-base | texlive-base, tetex-bin | texlive-base-bin, ${misc:Depends} +Suggests: ptex-bin +Conflicts: platex-base +Description: basic ASCII pTeX library files + ASCII pTeX is a Japanized TeX distribution. + . + Together with ptex-bin you have a complete installation. + . + Includes: platex + +Package: jbibtex-base +Architecture: all +Depends: tetex-base | texlive-base, tetex-bin | texlive-base-bin, ${misc:Depends} +Suggests: jbibtex-bin +Description: make a bibliography for ASCII p(La)TeX / NTT j(La)TeX + This is JBibTeX, a Japanized BibTeX based on the original BibTeX 0.99c. + JBibTeX can handle Kanji characters (EUC-JP). + . + This package contains library files for JBibTeX. You need to install + jbibtex-bin to use JBibTeX. + . + This is a part of ASCII pTeX distribution, but you can use this + program not only with ASCII p(La)TeX but also with NTT j(La)TeX. --- ptex-base-2.5.orig/debian/jbibtex-base.dirs +++ ptex-base-2.5/debian/jbibtex-base.dirs @@ -0,0 +1,2 @@ +usr/share/texmf +usr/share/doc/texmf --- ptex-base-2.5.orig/debian/changelog +++ ptex-base-2.5/debian/changelog @@ -0,0 +1,178 @@ +ptex-base (1:2.5-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "jbibtex-base: unowned file /usr/local/share/texmf/ls-R after + purge (policy 6.8, 9.1.2)": use dh_installtex in debian/rules, add + build-dependency on tex-common, add ${misc:Depends} to binary packages; + drop maintainer scripts. + (Closes: #669381) + + -- gregor herrmann Fri, 03 Aug 2012 15:00:53 +0200 + +ptex-base (1:2.5-2) unstable; urgency=low + + * Bumped to Standards-Version: 3.7.3. + * Fixed various lintian warnings. + + -- Masayuki Hatta (mhatta) Sat, 08 Dec 2007 09:08:53 +0900 + +ptex-base (1:2.5-1) unstable; urgency=low + + * New upstream release. + + -- Masayuki Hatta (mhatta) Wed, 05 Dec 2007 01:11:31 +0900 + +ptex-base (1:2.5~beta6-1) unstable; urgency=low + + * New upstream release. + + -- Masayuki Hatta (mhatta) Tue, 01 May 2007 20:42:15 +0900 + +ptex-base (1:2.5~beta5-1) unstable; urgency=low + + * New upstream release + * Acknowledged NMU - closes: #391200, #391209 + * Support TeXLive - closes: #357196 + + -- Masayuki Hatta (mhatta) Sun, 15 Oct 2006 08:52:25 +0900 + +ptex-base (1:2.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * postrm no longer calls mktexlsr if not present when purging. + (Closes: #391209) + * debian/control + + Fixed Build-Depends-Indep: debhelper to Build-Depends. + + Set Standards-VErsion to 3.7.2. + + -- Arnaud Hocevar Sat, 7 Oct 2006 17:11:25 +0000 + +ptex-base (1:2.4-1) unstable; urgency=low + + * Works done at Codefest in Malaysia 2006. + * New upstream release - closes: #354567. + * Acknowledged NMU, thanks Luk - closes: #341001 + * Don't install confusing *.txt in /usr/share/texmf - closes: #349538 + * Bumped to Standards-Version: 3.6.2.2 (no physical changes). + + -- Masayuki Hatta (mhatta) Sat, 4 Mar 2006 12:39:42 +0900 + +ptex-base (1:2.3-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Remove trailing slash in mv commands (Closes: #341001). + + -- Luk Claes Sat, 31 Dec 2005 16:04:56 +0100 + +ptex-base (1:2.3-1) unstable; urgency=low + + * New upstream release. + + -- Masayuki Hatta (mhatta) Sat, 12 Mar 2005 04:40:20 +0900 + +ptex-base (1:2.1-2) unstable; urgency=low + + * [control] changed Maintainer field. + * Bumped to Standards-Version: 3.6.1. + * Removed watch. + + -- Masayuki Hatta (mhatta) Sat, 14 Feb 2004 17:20:53 +0900 + +ptex-base (1:2.1-1) unstable; urgency=low + + * New upstream release. + * Bumped to Standards-Version: 3.5.8. + + -- Masayuki Hatta Sat, 8 Mar 2003 02:23:09 +0900 + +ptex-base (1:2.0-4) unstable; urgency=low + + * Updated to Standards-Version: 3.5.6. + + -- Masayuki Hatta Sat, 31 Aug 2002 16:28:45 +0900 + +ptex-base (1:2.0-3) unstable; urgency=low + + * Reverted changes of 1:2.0-2. + + -- Masayuki Hatta Wed, 10 Apr 2002 22:22:43 +0900 + +ptex-base (1:2.0-2) unstable; urgency=low + + * Install JBibTeX files under the original BibTeX tree. + + -- Masayuki Hatta Sun, 10 Feb 2002 18:46:30 +0900 + +ptex-base (1:2.0-1) unstable; urgency=low + + * The "At Last I Am Free" release. + * New upstream release. + * The license has been changed to a modified BSD. Now pTeX is DFSG-free! + * Also Mr. Matsui (the JBibTeX upstream) approved of changing his license + to the new ASCII's. + + -- Masayuki Hatta Thu, 17 Jan 2002 22:47:42 +0900 + +ptex-base (1:1.10+20010904-2) unstable; urgency=low + + * Added amsptex support. + + -- Masayuki Hatta Mon, 8 Oct 2001 10:38:17 +0900 + +ptex-base (1:1.10+20010904-1) unstable; urgency=low + + * New upstream release (beta). - closes: #114041 + * Build-Depends -> Build-Depends-Indep. - closes: #114040 + * Seems the upstream changed their license to Modified BSD, so hopefully + this package will go to main soon. + + -- Masayuki Hatta Thu, 4 Oct 2001 10:12:10 +0900 + +ptex-base (1:1.10-2) unstable; urgency=low + + * Now contains *.tfm & *.vf. + + -- Masayuki Hatta Sun, 8 Jul 2001 11:16:48 +0900 + +ptex-base (1:1.10-1) unstable; urgency=low + + * New upstream release. + + -- Masayuki Hatta Sat, 12 May 2001 15:47:33 +0900 + +ptex-base (1:1.9-4) unstable; urgency=low + + * The "Ain't That Good News" release. + * Initial release for Debian Project. - closes: #94839 + + -- Masayuki Hatta Sun, 22 Apr 2001 20:51:32 +0900 + +ptex-base (1:1.9-3) unstable; urgency=low + + * Move /usr/share/texmf/doc/* -> /usr/share/doc/texmf/*. + + -- Masayuki Hatta Sun, 15 Apr 2001 11:07:59 +0900 + +ptex-base (1:1.9-2) unstable; urgency=low + + * Modified copyright.*. + + -- Masayuki Hatta Sun, 8 Apr 2001 13:37:00 +0900 + +ptex-base (1:1.9-1) unstable; urgency=low + + * New maintainer: Masayuki Hatta . + + -- Masayuki Hatta Sun, 8 Apr 2001 00:36:38 +0900 + +ptex-base (1:1.9-0.1) unstable; urgency=low + + * NMU. + * New upstream release. + * Re-packaged. + + -- Masayuki Hatta Thu, 5 Apr 2001 09:26:32 +0900 + +Local variables: +mode: debian-changelog +End: --- ptex-base-2.5.orig/debian/compat +++ ptex-base-2.5/debian/compat @@ -0,0 +1 @@ +4 --- ptex-base-2.5.orig/debian/copyright.ja.jbibtex +++ ptex-base-2.5/debian/copyright.ja.jbibtex @@ -0,0 +1,29 @@ +(注) 以下は日本語の方が分かりやすい人のために、英語の著作権表示を訳し +た文章である。正式な著作権は、英語の原本に従う。 + +Copyright (C) 1987, 1995 ASCII Corporation. +All rights reserved. + +変更の有無にかかわらず、ソースおよびバイナリ形式の再配布および利用は、 +以下の条件を満たしていれば、これを許可する。 + +1. ソース・コードの再配布は、上記の著作権表示、この条件項目、および、 +以下の免責事項を保存しなければならない。 + +2. バイナリ形式の再配布は、上記の著作権表示、この条件項目、および、以 +下の免責事項を、その配布に付随する説明書、あるいはその他の資料のいずれ +かに明記しなければならない。 + +3. 前もって特別に許諾を得ない限り、このソフトウェアから派生した製品の +推奨や販売促進のために、この著作権者名を利用してはならない。 + +このソフトウェアは「このままの形で」提供され、明示的あるいは言外の保証 +は、商用利用および特定目的への適合に対する言外の保証も含み、またこれら +だけに限らず、存在しない。たとえ以下のような損害の可能性を示唆されてい +たとしても、どのような形にしろこのソフトウェアの利用から発生した問題に +おいて、この著作権者は、(代替製品やサービスの調達; 利用権、データ、あ +るいは利益の損失; あるいは営業の中断を含む、またこれらだけに限らず)直 +接的に、間接的に、偶然に、特別に、懲罰上、あるいは、必然的に生じてしまっ +た損害に対し責任はなく、いかなる責任理論上でも契約の有無に係わらず厳密 +な責任はなく、また(過失あるいはその他を含む)不法行為に対しても責任はな +い。 --- ptex-base-2.5.orig/debian/amsptex.ini +++ ptex-base-2.5/debian/amsptex.ini @@ -0,0 +1,6 @@ +\input ptex-ams +\input amstex +%% Uncomment this line to include the AMSPPT preprint style in the +%% format file: +%%\documentstyle{amsppt} +\dump --- ptex-base-2.5.orig/debian/dirs +++ ptex-base-2.5/debian/dirs @@ -0,0 +1 @@ +usr/share/doc/texmf --- ptex-base-2.5.orig/debian/README.Debian +++ ptex-base-2.5/debian/README.Debian @@ -0,0 +1,6 @@ +ptex-base for Debian +-------------------- + +o Most of documents are placed under /usr/share/doc/texmf/ptex/. + + -- Masayuki Hatta , Thu, 5 Apr 2001 09:26:32 +0900 --- ptex-base-2.5.orig/debian/copyright.ja +++ ptex-base-2.5/debian/copyright.ja @@ -0,0 +1,29 @@ +(注) 以下は日本語の方が分かりやすい人のために、英語の著作権表示を訳し +た文章である。正式な著作権は、英語の原本に従う。 + +Copyright (C) 1987, 1995 ASCII Corporation. +All rights reserved. + +変更の有無にかかわらず、ソースおよびバイナリ形式の再配布および利用は、 +以下の条件を満たしていれば、これを許可する。 + +1. ソース・コードの再配布は、上記の著作権表示、この条件項目、および、 +以下の免責事項を保存しなければならない。 + +2. バイナリ形式の再配布は、上記の著作権表示、この条件項目、および、以 +下の免責事項を、その配布に付随する説明書、あるいはその他の資料のいずれ +かに明記しなければならない。 + +3. 前もって特別に許諾を得ない限り、このソフトウェアから派生した製品の +推奨や販売促進のために、この著作権者名を利用してはならない。 + +このソフトウェアは「このままの形で」提供され、明示的あるいは言外の保証 +は、商用利用および特定目的への適合に対する言外の保証も含み、またこれら +だけに限らず、存在しない。たとえ以下のような損害の可能性を示唆されてい +たとしても、どのような形にしろこのソフトウェアの利用から発生した問題に +おいて、この著作権者は、(代替製品やサービスの調達; 利用権、データ、あ +るいは利益の損失; あるいは営業の中断を含む、またこれらだけに限らず)直 +接的に、間接的に、偶然に、特別に、懲罰上、あるいは、必然的に生じてしまっ +た損害に対し責任はなく、いかなる責任理論上でも契約の有無に係わらず厳密 +な責任はなく、また(過失あるいはその他を含む)不法行為に対しても責任はな +い。 --- ptex-base-2.5.orig/debian/copyright +++ ptex-base-2.5/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Masayuki Hatta on +Tue, 3 Apr 2001 22:25:18 +0900. + +It was downloaded from ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ + +Upstream Author: ASCII Corp. + +Copyright: + +Copyright (C) 1987, 1995 ASCII Corporation. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the author may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- ptex-base-2.5.orig/debian/docs +++ ptex-base-2.5/debian/docs @@ -0,0 +1 @@ +debian/copyright.ja --- ptex-base-2.5.orig/debian/jbibtex-base.docs +++ ptex-base-2.5/debian/jbibtex-base.docs @@ -0,0 +1,2 @@ +debian/copyright.ja.jbibtex + --- ptex-base-2.5.orig/debian/jbibtex-base.files +++ ptex-base-2.5/debian/jbibtex-base.files @@ -0,0 +1,2 @@ +usr/share/texmf/jbibtex +usr/share/texmf/doc/jbibtex --- ptex-base-2.5.orig/debian/jbibtex-base.README.Debian +++ ptex-base-2.5/debian/jbibtex-base.README.Debian @@ -0,0 +1,6 @@ +jbibtex-base for Debian +-------------------- + +o Most of documents are placed under /usr/share/texmf/doc/jbibtex/. + + -- Masayuki Hatta , Thu, 5 Apr 2001 09:26:32 +0900 --- ptex-base-2.5.orig/debian/jbibtex-base.copyright +++ ptex-base-2.5/debian/jbibtex-base.copyright @@ -0,0 +1,35 @@ +This package was debianized by Masayuki Hatta on +Tue, 3 Apr 2001 22:25:18 +0900. + +It was downloaded from ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ + +Upstream Authors: Shouichi MATSUI + ASCII Corp. + +Copyright: + +Copyright (C) Shouichi MATSUI and ASCII Corporation. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the author may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.