[med-svn] r19932 - in trunk/packages/libsis-base-java/trunk/debian: . patches source
Timothy Booth
tbooth-guest at moszumanska.debian.org
Thu Aug 13 09:18:52 UTC 2015
Author: tbooth-guest
Date: 2015-08-13 09:18:51 +0000 (Thu, 13 Aug 2015)
New Revision: 19932
Added:
trunk/packages/libsis-base-java/trunk/debian/README.Debian
trunk/packages/libsis-base-java/trunk/debian/changelog
trunk/packages/libsis-base-java/trunk/debian/compat
trunk/packages/libsis-base-java/trunk/debian/control
trunk/packages/libsis-base-java/trunk/debian/copyright
trunk/packages/libsis-base-java/trunk/debian/jlibs
trunk/packages/libsis-base-java/trunk/debian/manifest
trunk/packages/libsis-base-java/trunk/debian/patches/
trunk/packages/libsis-base-java/trunk/debian/patches/remove_ch_rinn_imports.patch
trunk/packages/libsis-base-java/trunk/debian/patches/series
trunk/packages/libsis-base-java/trunk/debian/rules
trunk/packages/libsis-base-java/trunk/debian/source/
trunk/packages/libsis-base-java/trunk/debian/source/format
trunk/packages/libsis-base-java/trunk/debian/watch
Log:
Packaging for sis-base. As far as I can see this is good, but its only
use is to support sis-jhdf5 which is currently not compiling.
Added: trunk/packages/libsis-base-java/trunk/debian/README.Debian
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/README.Debian (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/README.Debian 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,7 @@
+This package is needed by libsis-jhdf5-java and possibly by other related
+packages in the future.
+
+Do not confuse it with "Apache SIS".
+
+It does not seem to have a web page and does not seem to be used outside of
+internal ETH SIS projects.
Added: trunk/packages/libsis-base-java/trunk/debian/changelog
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/changelog (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/changelog 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,5 @@
+libsis-base-java (14.12.0-0biolinux1) trusty; urgency=medium
+
+ * Build for Trusty
+
+ -- Tim Booth <tbooth at ceh.ac.uk> Wed, 12 Aug 2015 12:15:17 +0100
Added: trunk/packages/libsis-base-java/trunk/debian/compat
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/compat (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/compat 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1 @@
+9
Added: trunk/packages/libsis-base-java/trunk/debian/control
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/control (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/control 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,15 @@
+Source: libsis-base-java
+Section: java
+Priority: extra
+Maintainer: Tim Booth <tbooth at ceh.ac.uk>
+Build-Depends: debhelper (>= 9), default-jdk, javahelper,
+ libcommons-lang-java,
+ libcommons-io-java,
+ testng
+Standards-Version: 3.9.5
+
+Package: libsis-base-java
+Architecture: all
+Depends: ${misc:Depends}, ${java:Depends}
+Description: Base libraries used by software from the SIS division at ETH Zurich
+ This library supplies some utility classes needed for libraries like sis-jhdf5
Added: trunk/packages/libsis-base-java/trunk/debian/copyright
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/copyright (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/copyright 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,14 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sis-base
+Upstream-Contact: https://www1.ethz.ch/id/about/sections/sis/index_EN
+Source: http://bs-svn01.ethz.ch/repos/cisd/libraries/trunk/sis-base/sis-base.jar
+
+Files: *
+Copyright: Copyright (C) Copyright 2007-2012 ETH Zuerich, CISD
+License: Apache
+ On Debian systems, you can read the full text of the Apache
+ License in ‘/usr/share/common-licenses/Apache-2.0’.
+
+Files: debian/*
+Copyright: © Tim Booth <tbooth at ceh.ac.uk>
+License: Whatever
Added: trunk/packages/libsis-base-java/trunk/debian/jlibs
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/jlibs (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/jlibs 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1 @@
+*.jar
Added: trunk/packages/libsis-base-java/trunk/debian/manifest
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/manifest (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/manifest 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,2 @@
+usr/share/java/sis-base.jar:
+ Class-Path: commons-lang.jar commons-io.jar
Added: trunk/packages/libsis-base-java/trunk/debian/patches/remove_ch_rinn_imports.patch
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/patches/remove_ch_rinn_imports.patch (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/patches/remove_ch_rinn_imports.patch 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,27 @@
+We don't care if the interface is private or public, as it makes no
+difference to the running code.
+I have no idea where the code for this decorator is in any case.
+--- a/ch/systemsx/cisd/base/unix/Unix.java
++++ b/ch/systemsx/cisd/base/unix/Unix.java
+@@ -19,7 +19,6 @@
+ import java.io.File;
+ import java.io.IOException;
+
+-import ch.rinn.restrictions.Private;
+ import ch.systemsx.cisd.base.exceptions.CheckedExceptionTunnel;
+ import ch.systemsx.cisd.base.exceptions.IOExceptionUnchecked;
+ import ch.systemsx.cisd.base.utilities.NativeLibraryUtilities;
+@@ -415,13 +414,11 @@
+
+ private static native String strerror();
+
+- @Private
+ static boolean isProcessRunningProcFS(int pid)
+ {
+ return new File("/proc/" + pid).isDirectory();
+ }
+
+- @Private
+ static boolean isProcessRunningPS(int pid)
+ {
+ try
Added: trunk/packages/libsis-base-java/trunk/debian/patches/series
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/patches/series (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/patches/series 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1 @@
+remove_ch_rinn_imports.patch
Added: trunk/packages/libsis-base-java/trunk/debian/rules
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/rules (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/rules 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export CLASSPATH=/usr/share/java/commons-lang.jar:/usr/share/java/commons-io.jar:/usr/share/java/testng.jar
+
+%:
+ dh $@ --with javahelper
+
+override_dh_auto_clean:
+ rm -rf src lib build *.jar
+ #find test -name '*.class' -delete
+
+override_dh_auto_build:
+ # Avoids jh_build thinking that files in .svn or .pc are things it
+ # needs to compile.
+ mkdir src ; cp -r ch src
+ jh_build sis-base.jar src
Property changes on: trunk/packages/libsis-base-java/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/libsis-base-java/trunk/debian/source/format
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/source/format (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/source/format 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/libsis-base-java/trunk/debian/watch
===================================================================
--- trunk/packages/libsis-base-java/trunk/debian/watch (rev 0)
+++ trunk/packages/libsis-base-java/trunk/debian/watch 2015-08-13 09:18:51 UTC (rev 19932)
@@ -0,0 +1,3 @@
+# The latest vesrsion can be found at http://bs-svn01.ethz.ch/repos/cisd/libraries/trunk/sis-base/
+# and I've inferred the version from the BUILD-base.INFO file in the zip file.
+# As the version is not part of the file name we can't "watch" it.
More information about the debian-med-commit
mailing list