From bc6f5f70a172f71972f1bd35f4001be7cbd53244 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 12 Jul 2006 10:37:48 +0000 Subject: [PATCH] Initially commited orphaned src2tex-2.12h-7. Originally maintained by Takao Kawamurak. --- debian/README.Debian | 6 +++++ debian/changelog | 55 +++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 28 +++++++++++++++++++++ debian/copyright | 19 ++++++++++++++ debian/docs | 1 + debian/examples | 50 +++++++++++++++++++++++++++++++++++++ debian/install | 1 + debian/manpages | 2 ++ debian/rules | 59 ++++++++++++++++++++++++++++++++++++++++++++ debian/src2latex.1 | 1 + debian/src2tex.1 | 38 ++++++++++++++++++++++++++++ 12 files changed, 261 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/examples create mode 100644 debian/install create mode 100644 debian/manpages create mode 100755 debian/rules create mode 100644 debian/src2latex.1 create mode 100644 debian/src2tex.1 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..2754dcc --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +src2tex for Debian +---------------------- + +This package is `src2tex' for Debian GNU/Linux System. + +Takao KAWAMURA , Thu, 27 May 1999 13:19:08 +0900 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7a90b67 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,55 @@ +src2tex (2.12h-7) unstable; urgency=low + + * QA upload. + * Package is orphaned (#353619); set maintainer to Debian QA Group. + * Switch to debhelper 5. + * debian/copyright: Include copyright holders. Closes: #302985. + * debian/src2tex.1: s/src2tex.c.ps/src2tex.c.ps.gz/ Closes: #284029. + * debian/rules: Add support for DEB_BUILD_OPTIONS=noopt. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Thu, 9 Mar 2006 09:51:07 +0100 + +src2tex (2.12h-6) unstable; urgency=low + + * (control): Fixed the long description to format right. + (Closes: Bug#120952) + + -- Takao KAWAMURA Tue, 27 Nov 2001 11:15:15 +0900 + +src2tex (2.12h-5) unstable; urgency=low + + * src2tex.1 refers to /usr/share/doc. Thanks to Stephen Stafford! + (Closes: Bug#103186) + + -- Takao KAWAMURA Tue, 3 Jul 2001 10:53:37 +0900 + +src2tex (2.12h-4) unstable; urgency=low + + * FHS-compliant + + -- Takao KAWAMURA Sun, 19 Sep 1999 12:00:58 +0900 + +src2tex (2.12h-3) unstable; urgency=low + + * (control): Removed `Suggests: src2tex-examples'. + + -- Takao KAWAMURA Tue, 22 Jun 1999 09:38:44 +0900 + +src2tex (2.12h-2) unstable; urgency=low + + * Initial Release for Debian (previous versions were uploaded to Debian + JP Project). + * (control): src2tex-examples was merged into src2tex. + * Changed maintainer's email address. + * Updated to Standards-Version 2.5.1.0. + + -- Takao KAWAMURA Thu, 27 May 1999 13:18:53 +0900 + +src2tex (2.12h-1) unstable; urgency=low + + * Initial Release. + + -- Takao KAWAMURA Tue, 2 Jun 1998 19:32:36 +0900 + + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..087df02 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: src2tex +Section: tex +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5) +Standards-Version: 3.6.2 + +Package: src2tex +Architecture: any +Depends: ${shlibs:Depends} +Recommends: tetex-bin +Description: A converter from source program files to TeX format files + src2tex [resp. src2latex] is a sort of text converter from BASIC, C, + C++, OBJECTIVE-C, COBOL, FORTRAN, HTML, JAVA, LISP, MAKE, PASCAL, + PERL, SCHEME, SHELL, TCL/TK and ASIR, MACSYMA, MAPLE, MATHEMATICA, + MATLAB, MAXIMA, MuPAD, OCTAVE, REDUCE to TeX [resp. LaTeX]. However, + it is not a simple pretty-printer; actually, it is designed to + fulfill the following desires: + . + (1) We want to write mathematical formulae in comment area of source + program. + (2) We would like to patch PS or EPS figures upon source program. + (3) We need a simple and easy-to-use tool which enables to combine + documentation and manual with source program. + (4) We often have to translate our program from text format to TeX + format when we want to quote our own program in research report, + lecture note, etc. That is quite time consuming, so it should be + automated. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3e3070a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +This package was debianized by Takao KAWAMURA kawamura@debian.org on +Thu, 27 May 1999 13:19:08 +0900. + +It was downloaded from + http://www.cc.gunma-u.ac.jp/~amano/src2tex-212h.tar.gz + +Upstream Authors: + + Kazuo AMANO (kamano@po.iijnet.or.jp) + Shinichi NOMOTO (m93093@euclides.josai.ac.jp) + +Copyright (C) 1992-1997 Kazuo AMANO, Shinichi NOMOTO + +Permission to use, copy, and modify this software and its +documentation is granted without restriction. +However, the authors would be very happy if users could inform +any modifications to kamano@tansei.cc.u-tokyo.ac.jp. +Since src2tex is a free software, +there is no warranty of any kind for the program. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..7ea416c --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +FAQ FAQ.JIS HISTORY RELEASENOTE RELEASENOTE.JIS src2tex.c.ps diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..5549500 --- /dev/null +++ b/debian/examples @@ -0,0 +1,50 @@ +farmer+hen.scm +farmer+hen.scm.ps +figure1.eps +figure1.fig +figure2.eps +figure2.fig +fileio.c +fileio.c.ps +fonts.tex +getdata.c +getdata.c.ps +hanoi.c +hanoi.c.ps +hanoi1.eps +hanoi2.eps +langflag.c +langflag.c.ps +modflag.c +modflag.c.ps +newton.c +newton.c.ps +newton.eps +options.c +options.c.ps +pas_bold.c +pas_bold.c.ps +popgen.red +popgen.red.ps +prob1.eps +prob2.eps +references.tex +simpson.c +simpson.c.ps +simpson.eps +solution.eps +sqrt_mat.red +sqrt_mat.red.ps +src2latex.s2t +src2ltex.s2t +src2tex.c +src2tex.h +src2tex.h.ps +src2tex.s2t +text2tex.c +text2tex.c.ps +thanks.tex +title.tex +tools.c +tools.c.ps +contrib diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..485ee59 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +src2tex src2latex usr/bin diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..4d008dc --- /dev/null +++ b/debian/manpages @@ -0,0 +1,2 @@ +debian/src2tex.1 +debian/src2latex.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..03ee153 --- /dev/null +++ b/debian/rules @@ -0,0 +1,59 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + $(MAKE) CFLAGS="$(CFLAGS)" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress -Xexamples + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/src2latex.1 b/debian/src2latex.1 new file mode 100644 index 0000000..f2ce427 --- /dev/null +++ b/debian/src2latex.1 @@ -0,0 +1 @@ +.so man1/src2tex.1 diff --git a/debian/src2tex.1 b/debian/src2tex.1 new file mode 100644 index 0000000..8d238cb --- /dev/null +++ b/debian/src2tex.1 @@ -0,0 +1,38 @@ +.TH SRC2TEX 1 +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.\" ***** +.\" Edited slightly by Stephen Stafford +.\" to change the pointer to documentation from /usr/doc to +.\" /usr/share/doc. +.SH NAME +src2tex \- a converter from source program files to TeX format files +.SH SYNOPSIS +.B src2tex +.I "file" +.br +.B src2latex +.I "file" +.SH "DESCRIPTION" +This manual page documents briefly the +.BR src2tex, +and +.B src2latex +commands. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +Instead, it has documentation in the Postscript format; see below. +.PP +.B src2tex +[resp. +.B src2latex +] is a sort of text converter fromBASIC, C, C++, +OBJECTIVE-C, COBOL, FORTRAN, HTML, JAVA, LISP, MAKE, PASCAL, PERL, +SCHEME, SHELL, TCL/TK and ASIR, MACSYMA, MAPLE, MATHEMATICA, MATLAB, +MAXIMA, MuPAD, OCTAVE, REDUCE to TeX [resp. LaTeX]. +.SH "SEE ALSO" +The programs are documented fully in +.IR "/usr/share/doc/src2tex/src2tex.c.ps.gz" . +.SH AUTHOR +This manual page was written by Takao KAWAMURA , +for the Debian GNU/Linux system (but may be used by others). -- 2.30.2