[med-svn] r16580 - in trunk/packages/libssj-java/trunk/debian: . bin patches source
Timothy Booth
tbooth-guest at moszumanska.debian.org
Mon Apr 7 10:19:05 UTC 2014
Author: tbooth-guest
Date: 2014-04-07 10:19:05 +0000 (Mon, 07 Apr 2014)
New Revision: 16580
Added:
trunk/packages/libssj-java/trunk/debian/README.source
trunk/packages/libssj-java/trunk/debian/bin/
trunk/packages/libssj-java/trunk/debian/bin/pdflatex
trunk/packages/libssj-java/trunk/debian/changelog
trunk/packages/libssj-java/trunk/debian/compat
trunk/packages/libssj-java/trunk/debian/control
trunk/packages/libssj-java/trunk/debian/copyright
trunk/packages/libssj-java/trunk/debian/libssj-java-doc.docs
trunk/packages/libssj-java/trunk/debian/patches/
trunk/packages/libssj-java/trunk/debian/patches/fix_build_script
trunk/packages/libssj-java/trunk/debian/patches/fix_pdflatex
trunk/packages/libssj-java/trunk/debian/patches/series
trunk/packages/libssj-java/trunk/debian/patches/set_build_properties
trunk/packages/libssj-java/trunk/debian/rules
trunk/packages/libssj-java/trunk/debian/source/
trunk/packages/libssj-java/trunk/debian/source/format
trunk/packages/libssj-java/trunk/debian/watch
Log:
Working build that seems to make a working Acacia.
Added: trunk/packages/libssj-java/trunk/debian/README.source
===================================================================
--- trunk/packages/libssj-java/trunk/debian/README.source (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/README.source 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,8 @@
+Note from Tim Booth, Apr 2014:
+
+I started building this as a Maven package with a dependency on maven-debian-helper (>= 1.5.1)
+and libmaven-javadoc-plugin-java but on returning to the package I can't work out why, or
+remember where I got the POM from. A mystery. Anyway, ANT is simpler surely?
+
+Note this package needs TCode to build from the original source which is embedded in the .tex
+files.
Added: trunk/packages/libssj-java/trunk/debian/bin/pdflatex
===================================================================
--- trunk/packages/libssj-java/trunk/debian/bin/pdflatex (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/bin/pdflatex 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# pdfLaTeX is far too fussy. How about a version that always returns
+# exit status 0? Much better :-)
+
+/usr/bin/pdflatex "$@"
+true
Property changes on: trunk/packages/libssj-java/trunk/debian/bin/pdflatex
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/libssj-java/trunk/debian/changelog
===================================================================
--- trunk/packages/libssj-java/trunk/debian/changelog (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/changelog 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,9 @@
+libssj-java (2.5-0ubuntu1) precise; urgency=low
+
+ * Initial release
+ * For some reason I started trying to build this with Maven, but the
+ recommended build system is Ant. Not sure what I was doing there.
+ * Don't build the Unuran JNI stuff as it just seems to drag in many
+ dependencies. If I do build it, I'll probably make a separate binary pkg.
+
+ -- Tim Booth <tbooth at ceh.ac.uk> Fri, 04 Apr 2014 09:54:37 +0100
Added: trunk/packages/libssj-java/trunk/debian/compat
===================================================================
--- trunk/packages/libssj-java/trunk/debian/compat (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/compat 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1 @@
+7
Added: trunk/packages/libssj-java/trunk/debian/control
===================================================================
--- trunk/packages/libssj-java/trunk/debian/control (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/control 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,42 @@
+Source: libssj-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Tim Booth <tbooth at ceh.ac.uk>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, javahelper,
+ libcolt-java (>= 1.2.0), liboptimization-java, libjfreechart-java,
+ libdsol1-java, tcode, libjcommon-java
+Build-Depends-Indep: default-jdk-doc
+Standards-Version: 3.9.2
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libssj-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libssj-java
+Homepage: http://www.iro.umontreal.ca/~simardr/ssj/indexe.html
+
+Package: libssj-java
+Architecture: any
+Depends: ${misc:Depends}, ${java:Depends}, ${shlibs:Depends}
+Suggests: libssj-java-doc
+Description: Simulation Stochastique en Java
+ SSJ is a Java library for stochastic simulation, developed under the direction
+ of Pierre L'Ecuyer, in the Département d'Informatique et de Recherche
+ Opérationnelle (DIRO), at the Université de Montréal. It provides facilities
+ for generating uniform and nonuniform random variates, computing different
+ measures related to probability distributions, performing goodness-of-fit
+ tests, applying quasi-Monte Carlo methods, collecting (elementary) statistics,
+ and programming discrete-event simulations with both events and processes.
+
+Package: libssj-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libssj-java
+Description: Documentation for SSJ
+ SSJ is a Java library for stochastic simulation, developed under the direction
+ of Pierre L'Ecuyer, in the Département d'Informatique et de Recherche
+ Opérationnelle (DIRO), at the Université de Montréal. It provides facilities
+ for generating uniform and nonuniform random variates, computing different
+ measures related to probability distributions, performing goodness-of-fit
+ tests, applying quasi-Monte Carlo methods, collecting (elementary) statistics,
+ and programming discrete-event simulations with both events and processes.
+ .
+ This package contains the API documentation of libssj-java.
Added: trunk/packages/libssj-java/trunk/debian/copyright
===================================================================
--- trunk/packages/libssj-java/trunk/debian/copyright (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/copyright 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,17 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: ssj
+Source: http://www.iro.umontreal.ca/~simardr/ssj/indexe.html
+
+Files: *
+Copyright: 2013, Richard Simard <simardr at iro.umontreal.ca>
+License: GPL-3
+
+Files: debian/*
+Copyright: 2013, Tim Booth <tbooth at ceh.ac.uk>
+License: GPL-3
+
+License: GPL-3
+ On Debian GNU/Linux system you can find the complete text of the
+ GPL-3 license in '/usr/share/common-licenses/GPL-3'
+
+
Added: trunk/packages/libssj-java/trunk/debian/libssj-java-doc.docs
===================================================================
--- trunk/packages/libssj-java/trunk/debian/libssj-java-doc.docs (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/libssj-java-doc.docs 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1 @@
+doc/*
Added: trunk/packages/libssj-java/trunk/debian/patches/fix_build_script
===================================================================
--- trunk/packages/libssj-java/trunk/debian/patches/fix_build_script (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/patches/fix_build_script 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,22 @@
+--- a/build.xml
++++ b/build.xml
+@@ -144,8 +144,8 @@
+ <arg value="-O2"/>
+ <arg value="-s"/>
+ <!-- <arg value="-static"/> -->
+- <arg value="-I${java.home}/include"/>
+- <arg value="-I${java.home}/include/linux"/>
++ <arg value="-I${env.JAVA_HOME}/include"/>
++ <arg value="-I${env.JAVA_HOME}/include/linux"/>
+ <arg value="-o"/>
+ <arg file="lib/libssjutil.so"/>
+ <arg file="source/${putil}/Chrono.c"/>
+@@ -502,7 +502,7 @@
+ <attribute name="Implementation-Title" value="SSJ"/>
+ <attribute name="Implementation-Version" value="${ssj.version} ${TODAY}"/>
+ <attribute name="Implementation-Vendor" value="DIRO of the Université de Montréal"/>
+- <attribute name="Class-Path" value="colt.jar optimization.jar Blas.jar tcode.jar jfreechart-1.0.10.jar jcommon-1.0.13.jar interpreter-1.6.8.jar event-1.6.5.jar logger-1.6.4.jar language-1.6.7.jar"/>
++ <attribute name="Class-Path" value="colt.jar optimization.jar Blas.jar tcode.jar jfreechart.jar jcommon.jar dsol-interpreter.jar dsol-event.jar dsol-logger.jar dsol-language.jar"/>
+ </manifest>
+ </jar>
+ </target>
Added: trunk/packages/libssj-java/trunk/debian/patches/fix_pdflatex
===================================================================
--- trunk/packages/libssj-java/trunk/debian/patches/fix_pdflatex (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/patches/fix_pdflatex 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,24 @@
+--- a/source/umontreal/iro/lecuyer/util/guideutil.tex
++++ b/source/umontreal/iro/lecuyer/util/guideutil.tex
+@@ -5,9 +5,7 @@
+ \dateheadtrue
+ \usepackage{tikz}
+ \usepackage{color}
+-\usepackage{crayola}
+ \usepackage[procnames]{listings}
+-\usepackage{lstpatch}
+
+ \lstloadlanguages{Java}
+ \lstset{language=Java,
+--- a/source/umontreal/iro/lecuyer/randvar/guiderandvar.tex
++++ b/source/umontreal/iro/lecuyer/randvar/guiderandvar.tex
+@@ -8,9 +8,7 @@
+ %end{latexonly}
+ \usepackage{ssj}
+ \usepackage{color}
+-\usepackage{crayola}
+ \usepackage[procnames]{listings}
+-\usepackage{lstpatch}
+
+ \lstloadlanguages{Java}
+ \lstset{language=Java,
Added: trunk/packages/libssj-java/trunk/debian/patches/series
===================================================================
--- trunk/packages/libssj-java/trunk/debian/patches/series (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/patches/series 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,3 @@
+set_build_properties
+fix_build_script
+fix_pdflatex
Added: trunk/packages/libssj-java/trunk/debian/patches/set_build_properties
===================================================================
--- trunk/packages/libssj-java/trunk/debian/patches/set_build_properties (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/patches/set_build_properties 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,21 @@
+--- a/ssj.properties
++++ b/ssj.properties
+@@ -1,9 +1,9 @@
+ # Properties specific to SSJ
+ # ssj.debug configures how javac will be called
+-ssj.debug = on
++ssj.debug = off
+
+ # These properties, when set, activate the compilation of JNI C files.
+-# ssj.buildjnichrono
++ssj.buildjnichrono
+ # ssj.buildjniunuran
+
+ # Documentation building switches
+@@ -11,5 +11,5 @@
+ ssj.htmldoc
+
+ # Properties specific to TCode
+-texjava.texjava = ${env.TCODEHOME}/texjava.pl
++texjava.texjava = /usr/bin/texjava
+ texjava.html = yes
Added: trunk/packages/libssj-java/trunk/debian/rules
===================================================================
--- trunk/packages/libssj-java/trunk/debian/rules (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/rules 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/colt.jar:/usr/share/java/optimization.jar:/usr/share/tcode/tcode.jar:/usr/share/java/jfreechart.jar:/usr/share/java/jcommon.jar:/usr/share/java/dsol-language.jar:/usr/share/java/dsol-interpreter.jar:/usr/share/java/dsol-event.jar:/usr/share/java/dsol-logger.jar:./build
+export TEXINPUTS=.:$(shell pwd)/source:/usr/share/tcode:/usr/share/latex2html/styles:
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ #Building lib then dist gets around the fact that the dependencies
+ #in the build.xml aren't quite right.
+ env PATH="$(shell pwd)/debian/bin:$$PATH" ant lib
+ env PATH="$(shell pwd)/debian/bin:$$PATH" ant dist
+
+override_dh_auto_clean:
+ ant cleanall
+ rm -rf lib/* lib64/* home doc/html
+ find -name '*.pdf' -delete
+ find -name '*.zip' -delete
+ find -name '*.out' -delete
+ find -name '*.log' -delete
+ find -name '*.aux' -delete
+ find -name '*.h' -delete
+
+override_dh_install:
+ dh_install
+ jh_installlibs -plibssj-java -v lib/*.jar
+ dh_install -plibssj-java -v lib/*.so usr/lib
+
+get-orig-source:
+ uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
Property changes on: trunk/packages/libssj-java/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/libssj-java/trunk/debian/source/format
===================================================================
--- trunk/packages/libssj-java/trunk/debian/source/format (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/source/format 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/libssj-java/trunk/debian/watch
===================================================================
--- trunk/packages/libssj-java/trunk/debian/watch (rev 0)
+++ trunk/packages/libssj-java/trunk/debian/watch 2014-04-07 10:19:05 UTC (rev 16580)
@@ -0,0 +1,2 @@
+version=3
+http://www.iro.umontreal.ca/~simardr/ssj/ssj-source.html (?:.*/|)ssj-([0-9.]+)-source.zip
More information about the debian-med-commit
mailing list