This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository tcode.
commit cb74dd3125b5d7cd454c66f24e648d2b36fe9add Author: Andreas Tille <[email protected]> Date: Sat Apr 19 00:49:35 2014 +0200 Debian packaging as in Debian Med SVN --- debian/changelog | 11 +++++++++++ debian/compat | 1 + debian/control | 31 +++++++++++++++++++++++++++++++ debian/copyright | 33 +++++++++++++++++++++++++++++++++ debian/doc-base | 14 ++++++++++++++ debian/docs | 2 ++ debian/install | 5 +++++ debian/manpages | 1 + debian/patches/fix_interpreter | 12 ++++++++++++ debian/patches/series | 1 + debian/rules | 28 ++++++++++++++++++++++++++++ debian/scripts/tcode | 20 ++++++++++++++++++++ debian/scripts/texjava | 12 ++++++++++++ debian/source/format | 1 + debian/texjava.1 | 14 ++++++++++++++ debian/watch | 3 +++ 16 files changed, 189 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b8f2dc8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +tcode (0.1.20080917-1) unstable; urgency=medium + + * Initial upload to Debian (Closes: #743859) + + -- Andreas Tille <[email protected]> Mon, 07 Apr 2014 15:10:06 +0200 + +tcode (0.1.20080917-0ubuntu1) precise; urgency=low + + * Initial (and probably final) release + + -- Tim Booth <[email protected]> Wed, 12 Jun 2013 18:13:41 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..cc3b16a --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: tcode +Maintainer: Debian Med Packaging Team <[email protected]> +Uploaders: Tim Booth <[email protected]>, + Andreas Tille <[email protected]> +Section: java +Priority: optional +Build-Depends: debhelper (>= 9), + default-jdk, + ant, + latex2html, + texlive-latex-base, + texlive-latex-extra, + texlive-bibtex-extra +Standards-Version: 3.9.5 +Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/tcode/trunk/ +Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/tcode/trunk/ +Homepage: http://www.iro.umontreal.ca/~simardr/ssj/ssj-source.html + +Package: tcode +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + default-jre, + latex2html, + texlive-bibtex-extra +Description: create a Java file from an associated LaTex file + Tcode is a precondition for libssj-java (SSJ) that creates a Java file from an + associated LaTeX file. All SSJ code is written in LaTex format with special + commands that allows Tcode to extract the Java code from the LaTex file. After + which, Javadoc and LaTeX2HTML will create the HTML documentation. + This guarantees that the source code and its documentation will never diverge. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f175564 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Tcode +Source: http://www.iro.umontreal.ca/~simardr/ssj/tcode-20080917.zip +Comment: TCode is distributed along with SSJ + +Files: * +Copyright: 2008 Pierre L'Ecuyer and Université de Montréal +License: GPL-3 +Remark: Since this code is distributed together with SSJ, this license + statement is valid also here: + www.iro.umontreal.ca/~simardr/ssj/ + which links to + http://www.iro.umontreal.ca/~simardr/ssj/ssj-licence.html + +Files: debian/* +Copyright: 2014 Tim Booth <[email protected]>, + Andreas Tille <[email protected]> +License: GPL-3 + +License: GPL-3 + This is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + any later version. + . + This software is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + On Debian systems, a copy of the license may be found at + /usr/share/common-licenses/GPL-3. + diff --git a/debian/doc-base b/debian/doc-base new file mode 100644 index 0000000..b426897 --- /dev/null +++ b/debian/doc-base @@ -0,0 +1,14 @@ +Document: tcode +Title: Tcode API +Author: SSJ developers +Abstract: create a Java file from an associated LaTex file + Tcode is a precondition for libssj-java (SSJ) that creates a Java file from an + associated LaTeX file. All SSJ code is written in LaTex format with special + commands that allows Tcode to extract the Java code from the LaTex file. After + which, Javadoc and LaTeX2HTML will create the HTML documentation. + This guarantees that the source code and its documentation will never diverge. +Section: Programming + +Format: pdf +Files: /usr/share/doc/tcode/tcode.pdf.gz + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..a9e280d --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README +tcode.pdf diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..986094b --- /dev/null +++ b/debian/install @@ -0,0 +1,5 @@ +*.jar /usr/share/tcode +*.pl /usr/share/tcode +*.sty /usr/share/tcode +*.perl /usr/share/tcode +debian/scripts/texjava /usr/bin diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..0f65186 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +debian/*.1 diff --git a/debian/patches/fix_interpreter b/debian/patches/fix_interpreter new file mode 100644 index 0000000..acb69d8 --- /dev/null +++ b/debian/patches/fix_interpreter @@ -0,0 +1,12 @@ +Author: Tim Booth <[email protected]> +Last-Update: Wed, 12 Jun 2013 18:13:41 +0100 +Description: Fix Perl path + +--- a/setl2hinit.pl ++++ b/setl2hinit.pl +@@ -1,4 +1,4 @@ +-#!/bin/perl ++#!/usr/bin/perl + + # This script manage the ~/.latex2html-init LATEX2HTMLSTYLES variable. + # Its first argument must be a path that will be looked for in the LATEX2HTMLSTYLES diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..ba41eb9 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix_interpreter diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0c21a92 --- /dev/null +++ b/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +#The following prevents +# W: tcode: incompatible-java-bytecode-format Java7 version (Class format: 51) +#See https://lists.debian.org/debian-java/2014/04/msg00117.html +export JAVA_HOME=/usr/lib/jvm/default-java + +%: + dh $@ + +override_dh_auto_clean: + ant cleanbuild cleanlib cleandoc + rm -f *.pdf *.java + +override_dh_auto_build: + ant lib + ant doc + test -e tcode.pdf + +override_dh_fixperms: + dh_fixperms + chmod a+x debian/*/usr/share/tcode/*.pl + +get-orig-source: + uscan --verbose --force-download --repack --repack-compression xz diff --git a/debian/scripts/tcode b/debian/scripts/tcode new file mode 100644 index 0000000..22a9320 --- /dev/null +++ b/debian/scripts/tcode @@ -0,0 +1,20 @@ +#!/bin/sh + +export TCODEHOME=/usr/share/tcode + +if [ -n "$TEXINPUTS" ] ; then + export TEXINPUTS=".:${TCODEHOME}:$TEXINPUTS" +else + export TEXINPUTS=".:${TCODEHOME}" +fi + +perl $TCODEHOME/setl2hinit.pl $TCODEHOME + +if [ -n "$CLASSPATH" ] ; then + export CLASSPATH=$TCODEHOME/tcode.jar:$CLASSPATH +else + export CLASSPATH=$TCODEHOME/tcode.jar +fi + +#Er, what do I actually want this to do??? +exec java "$@" diff --git a/debian/scripts/texjava b/debian/scripts/texjava new file mode 100644 index 0000000..c35ad3f --- /dev/null +++ b/debian/scripts/texjava @@ -0,0 +1,12 @@ +#!/bin/sh + +export TCODEHOME=/usr/share/tcode +if [ -n "$TEXINPUTS" ] ; then + export TEXINPUTS=".:${TCODEHOME}:$TEXINPUTS" +else + export TEXINPUTS=".:${TCODEHOME}" +fi + +perl $TCODEHOME/setl2hinit.pl $TCODEHOME + +exec perl $TCODEHOME/texjava.pl "$@" diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/texjava.1 b/debian/texjava.1 new file mode 100644 index 0000000..6a78a32 --- /dev/null +++ b/debian/texjava.1 @@ -0,0 +1,14 @@ +.TH "TEXJAVA" "1" "April 7, 2014" "texjava 20080917" "texjava User Manual" +.SH "NAME" +texjava \- create a Java file from an associated LaTex file +.SH "SYNOPSIS" +.B texjava +[\-(no)images] [\-(no)html] [\-(no)savelatex] [\-(no)htmlonly] [\-htmltitle title] [\-htmloutdir dir] [\-master master] <fin> [<fout>] +.SH "DESCRIPTION" +Texjava (Tcode) is a precondition for libssj-java (SSJ) that creates a Java file from an +associated LaTeX file. All SSJ code is written in LaTex format with special +commands that allows Tcode to extract the Java code from the LaTex file. After +which, Javadoc and LaTeX2HTML will create the HTML documentation. +This guarantees that the source code and its documentation will never diverge. +.SH "SEE ALSO" +/usr/share/doc/tcode/tcode.pdf.gz diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ad3868b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/^/0.1./" \ +http://www.iro.umontreal.ca/~simardr/ssj/ssj-source.html tcode-(.*)\.zip -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/tcode.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

