[jtharness] 01/24: Added jtharness-java package.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jun 18 15:54:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jtharness.
commit f62b04c3de457b03efefc2d033e93108b816db98
Author: Guillaume Mazoyer <respawneral at gmail.com>
Date: Tue Jun 7 19:18:54 2011 +0000
Added jtharness-java package.
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 43 +++++++++++++++++++++
debian/copyright | 72 ++++++++++++++++++++++++++++++++++++
debian/libjtharness-java-doc.install | 1 +
debian/libjtharness-java-doc.javadoc | 1 +
debian/libjtharness-java.jlibs | 2 +
debian/patches/dependencies.diff | 39 +++++++++++++++++++
debian/patches/rxtx.diff | 68 ++++++++++++++++++++++++++++++++++
debian/patches/series | 2 +
debian/rules | 9 +++++
debian/source/format | 1 +
12 files changed, 244 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c5a4706
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jtharness (4.3.0-MR1-Rel-b23-1) unstable; urgency=low
+
+ * Initial release (Closes: #628857).
+
+ -- Guillaume Mazoyer <respawneral at gmail.com> Tue, 31 May 2011 12:56:01 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bdd7517
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: jtharness
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Guillaume Mazoyer <respawneral at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), javahelper
+Build-Depends-Indep: default-jdk,
+ default-jdk-doc,
+ ant,
+ junit4,
+ javahelp2,
+ librxtx-java,
+ libasm3-java,
+ libservlet3.0-java
+Standards-Version: 3.9.2
+Homepage: http://jtharness.java.net/
+
+Package: libjtharness-java
+Architecture: all
+Depends: junit4,
+ librxtx-java,
+ libasm3-java,
+ libservlet3.0-java,
+ ${java:Depends},
+ ${misc:Depends}
+Description: jtharness
+ The JT harness is a general purpose, fully-featured, flexible, and configurable
+ test harness very well suited for most types of unit testing. Originally
+ developed as a test harness to run TCK test suites, it has since evolved into a
+ general purpose test platform.
+
+Package: libjtharness-java-doc
+Section: doc
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Suggests: libjtharness-java
+Description: jtharness (documentation)
+ This is the javadoc for the libjtharness-java package.
+ .
+ The JT harness is a general purpose, fully-featured, flexible, and configurable
+ test harness very well suited for most types of unit testing. Originally
+ developed as a test harness to run TCK test suites, it has since evolved into a
+ general purpose test platform.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..89d6ddd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,72 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: jtharness
+Source: http://jtharness.java.net/
+
+Files: *
+Copyright: Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+License:
+ This code is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License version 2 only, as
+ published by the Free Software Foundation. Oracle designates this
+ particular file as subject to the "Classpath" exception as provided
+ by Oracle in the LICENSE file that accompanied this code.
+ .
+ This code 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
+ version 2 for more details (a copy is included in the LICENSE file that
+ accompanied this code).
+ .
+ You should have received a copy of the GNU General Public License version
+ 2 along with this work; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ or visit www.oracle.com if you need additional information or have any
+ questions.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+ '
+ "CLASSPATH" EXCEPTION TO THE GPL
+ .
+ Certain source files distributed by Oracle are subject to
+ the following clarification and special exception to the GPL, but only where
+ Oracle has expressly included in the particular source file's header the words
+ "Oracle designates this particular file as subject to the "Classpath" exception
+ as provided by Oracle in the LICENSE file that accompanied this code."
+ .
+ Linking this library statically or dynamically with other modules is making
+ a combined work based on this library. Thus, the terms and conditions of
+ the GNU General Public License cover the whole combination.
+ .
+ As a special exception, the copyright holders of this library give you
+ permission to link this library with independent modules to produce an
+ executable, regardless of the license terms of these independent modules,
+ and to copy and distribute the resulting executable under terms of your
+ choice, provided that you also meet, for each linked independent module,
+ the terms and conditions of the license of that module. An independent
+ module is a module which is not derived from or based on this library. If
+ you modify this library, you may extend this exception to your version of
+ the library, but you are not obligated to do so. If you do not wish to do
+ so, delete this exception statement from your version.
+
+Files: debian/*
+Copyright: 2011 Guillaume Mazoyer <respawneral at gmail.com>
+License: GPL-2+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/libjtharness-java-doc.install b/debian/libjtharness-java-doc.install
new file mode 100644
index 0000000..9d91891
--- /dev/null
+++ b/debian/libjtharness-java-doc.install
@@ -0,0 +1 @@
+jar-build/binaries/examples/tutorial /usr/share/doc/libjtharness-java/examples
diff --git a/debian/libjtharness-java-doc.javadoc b/debian/libjtharness-java-doc.javadoc
new file mode 100644
index 0000000..27c5fb6
--- /dev/null
+++ b/debian/libjtharness-java-doc.javadoc
@@ -0,0 +1 @@
+jar-build/javadoc /usr/share/doc/libjtharness-java/api
diff --git a/debian/libjtharness-java.jlibs b/debian/libjtharness-java.jlibs
new file mode 100644
index 0000000..082dc3c
--- /dev/null
+++ b/debian/libjtharness-java.jlibs
@@ -0,0 +1,2 @@
+jar-build/binaries/lib/javatest.jar
+jar-build/binaries/lib/jt-junit.jar
diff --git a/debian/patches/dependencies.diff b/debian/patches/dependencies.diff
new file mode 100644
index 0000000..6bfd27b
--- /dev/null
+++ b/debian/patches/dependencies.diff
@@ -0,0 +1,39 @@
+## Description: Locate JAR on the file systems
+## Origin/Author: Guillaume Mazoyer
+## Bug: bug URL
+Index: jtharness-4.3.0-MR1-Rel-b23/build/local.properties
+===================================================================
+--- jtharness-4.3.0-MR1-Rel-b23.orig/build/local.properties 2011-06-06 15:26:02.064143117 -0500
++++ jtharness-4.3.0-MR1-Rel-b23/build/local.properties 2011-06-06 15:26:02.224143117 -0500
+@@ -26,24 +26,24 @@
+ #
+
+ #Please specify location of jhall.jar here - for compilation
+-jhalljar = /Users/work/lib/jhall.jar
++jhalljar = /usr/share/java/jhall.jar
+
+ # needed only at runtime
+-jhjar = /Users/work/lib/jh.jar
++jhjar = /usr/share/java/jh.jar
+
+ # location of jar with with implementation of java serial communications API
+-jcommjar = /Users/work/lib/comm.jar
++jcommjar = /usr/share/java/RXTXcomm.jar
+
+ # location of jar with servlet API implementation
+-servletjar = /Users/work/lib/servlet-api.jar
++servletjar = /usr/share/java/tomcat-servlet-api-3.0.jar
+
+ # bytecode library (BCEL or ASM)
+ # these are not interchangable
+-bytecodelib = /Users/work/lib/asm-3.1.jar:/Users/work/lib/asm-commons-3.1.jar
++bytecodelib = /usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar
+
+ # JUnit Library - Version 4 currently used to compile 3 and 4 support
+-junitlib = /Users/work/lib/junit-4.4.jar
++junitlib = /usr/share/java/junit4.jar
+
+ # Please specify location where the build distribution (output) will be created
+-BUILD_DIR = ../JTHarness-build
++BUILD_DIR = ./jar-build
+
diff --git a/debian/patches/rxtx.diff b/debian/patches/rxtx.diff
new file mode 100644
index 0000000..04eafd0
--- /dev/null
+++ b/debian/patches/rxtx.diff
@@ -0,0 +1,68 @@
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortAgentCommand.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortAgentCommand.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortAgentCommand.java 2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortAgentCommand.java 2011-05-31 12:50:30.042113241 -0500
+@@ -28,8 +28,8 @@
+
+ import java.io.IOException;
+ import java.io.PrintWriter;
+-import javax.comm.NoSuchPortException;
+-import javax.comm.PortInUseException;
++import gnu.io.NoSuchPortException;
++import gnu.io.PortInUseException;
+
+ import com.sun.javatest.Command;
+ import com.sun.javatest.ProductInfo;
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnectionFactory.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnectionFactory.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnectionFactory.java 2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnectionFactory.java 2011-05-31 12:49:56.442113234 -0500
+@@ -27,9 +27,9 @@
+ package com.sun.javatest.agent;
+
+ import java.io.IOException;
+-import javax.comm.CommPortIdentifier;
+-import javax.comm.NoSuchPortException;
+-import javax.comm.PortInUseException;
++import gnu.io.CommPortIdentifier;
++import gnu.io.NoSuchPortException;
++import gnu.io.PortInUseException;
+
+ /**
+ * A factory for creating connections to be used by agents communicating
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnection.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnection.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortConnection.java 2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortConnection.java 2011-05-31 12:50:15.502113238 -0500
+@@ -31,13 +31,13 @@
+ import java.io.InputStream;
+ import java.io.OutputStream;
+ import java.util.TooManyListenersException;
+-import javax.comm.CommPortIdentifier;
+-import javax.comm.NoSuchPortException;
+-import javax.comm.PortInUseException;
+-import javax.comm.SerialPort;
+-import javax.comm.SerialPortEvent;
+-import javax.comm.SerialPortEventListener;
+-import javax.comm.UnsupportedCommOperationException;
++import gnu.io.CommPortIdentifier;
++import gnu.io.NoSuchPortException;
++import gnu.io.PortInUseException;
++import gnu.io.SerialPort;
++import gnu.io.SerialPortEvent;
++import gnu.io.SerialPortEventListener;
++import gnu.io.UnsupportedCommOperationException;
+
+ /**
+ * A connection via a serial port.
+diff -Naur jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortModeOptions.java jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortModeOptions.java
+--- jtharness-4.3.0-MR1-Rel-b23/src/com/sun/javatest/agent/SerialPortModeOptions.java 2011-05-30 11:44:46.000000000 -0500
++++ jtharness-4.3.0-MR1-Rel-b23.rxtx/src/com/sun/javatest/agent/SerialPortModeOptions.java 2011-05-31 12:49:36.710113228 -0500
+@@ -31,8 +31,8 @@
+ import java.awt.Label;
+ import java.util.Enumeration;
+ import java.util.Vector;
+-import javax.comm.CommPortIdentifier;
+-import javax.comm.NoSuchPortException;
++import gnu.io.CommPortIdentifier;
++import gnu.io.NoSuchPortException;
+
+
+ // The functionality of SerialPortModeOptions is split in two, to cope
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c19a03c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+rxtx.diff
+dependencies.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6bbf71f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+JAVA_HOME = /usr/lib/jvm/default-java
+
+override_dh_auto_build:
+ ant -f build/build.xml
+
+%:
+ dh $@ --with javahelper
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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jtharness.git
More information about the pkg-java-commits
mailing list