[pkg-java] r15946 - trunk/pirl/debian

Mathieu Malaterre malat at alioth.debian.org
Fri Apr 13 10:12:29 UTC 2012


Author: malat
Date: 2012-04-13 10:12:28 +0000 (Fri, 13 Apr 2012)
New Revision: 15946

Added:
   trunk/pirl/debian/jp2info
   trunk/pirl/debian/pirl-image-tools.install
Modified:
   trunk/pirl/debian/control
   trunk/pirl/debian/copyright
Log:
Adding the command line tools

Modified: trunk/pirl/debian/control
===================================================================
--- trunk/pirl/debian/control	2012-04-13 09:27:50 UTC (rev 15945)
+++ trunk/pirl/debian/control	2012-04-13 10:12:28 UTC (rev 15946)
@@ -10,22 +10,56 @@
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/pirl
 Homepage: http://pirlwww.lpl.arizona.edu/software/PIRL_Java_Packages.shtml
 
+Package: pirl-image-tools
+Section: graphics
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, libpirl-java
+Suggests: libpirl-java-doc
+Description: PIRL Image Tools
+ Image_Tools: Classes for obtaining metadata information from JP2 files, plus an
+ ImageInputStream implementation for access to files remotely via an HTTP
+ server.
+ .
+ This package contains the command line image tools from PIRL Java Packages
+
 Package: libpirl-java
 Architecture: all
 Depends: ${misc:Depends}, ${java:Depends}
 Recommends: ${java:Recommends}
 Suggests: libpirl-java-doc
-Description: Java Components for Mathematics
- THE "Java Components For Mathematics" project represents an effort to develop a
- framework of configurable mathematical software components written in the Java
- programming language. Our Java components are meant to be used on instructional
- Web pages as interactive illustrations, special-purpose calculators, support
- for exercises, and so forth. The components in Version 1 are mostly useful for
- calculus and pre-calculus and for science courses that use some of the same
- material. They use Java 1.1, and so will not work in some older browsers that
- support only Java 1.0.
+Description: PIRL Java Packages
+ Conductor: An application to manage procedure pipelines with classes to
+ resolve references to parameters (as are used in Configuration objects) and
+ Database fields, asynchronous thread logging of streams, and utility
+ applications to exercise the mathematical expression evaluator (JCM) and send
+ email notification messages to a list of recipients. The Conductor application
+ requires (as of Java 1.4) a patch to the Process class implementation. This is
+ provided separately in the Process.patch tarball. A sample pipeline kit for
+ processing MOC images with the ISIS software is in the moclevall-kit tarball.
  .
- This project was supported by NSF grant number DUE-9950473.
+ Configuration: An extension of the PVL.Parameter class for convenient
+ management of configuration parameters.
+ .
+ Database: A simplified interface for access to, and basic management of,
+ relational SQL databases. An example database query tool is included.
+ .
+ Image_Tools: Classes for obtaining metadata information from JP2 files, plus an
+ ImageInputStream implementation for access to files remotely via an HTTP
+ server.
+ .
+ PVL: The PIRL Parameter Value Language package provides for the input, output
+ and manipulation of generic parameters and their data values. A PVL_to_DB class
+ is provided to map PVL Parameter Values into Database fields for update or
+ insert operations.
+ .
+ Strings: Character string manipulation capabilities used by the other PIRL
+ packages.
+ .
+ Utilities: Miscellaneous utilities classes that handle various helpful
+ operations not easily classified into the classes of other packages.
+ .
+ Viewers: Classes for common capabilies associated with GUI viewers, plus GUI
+ viewers associated with other PIRL packages.
 
 Package: libpirl-java-doc
 Architecture: all
@@ -33,16 +67,38 @@
 Depends: ${misc:Depends}, ${java:Depends}
 Recommends: ${java:Recommends}
 Suggests: libpirl-java
-Description: Documentation for Java Components for Mathematics
- THE "Java Components For Mathematics" project represents an effort to develop a
- framework of configurable mathematical software components written in the Java
- programming language. Our Java components are meant to be used on instructional
- Web pages as interactive illustrations, special-purpose calculators, support
- for exercises, and so forth. The components in Version 1 are mostly useful for
- calculus and pre-calculus and for science courses that use some of the same
- material. They use Java 1.1, and so will not work in some older browsers that
- support only Java 1.0.
+Description: PIRL Java Packages Documentation
+ Conductor: An application to manage procedure pipelines with classes to
+ resolve references to parameters (as are used in Configuration objects) and
+ Database fields, asynchronous thread logging of streams, and utility
+ applications to exercise the mathematical expression evaluator (JCM) and send
+ email notification messages to a list of recipients. The Conductor application
+ requires (as of Java 1.4) a patch to the Process class implementation. This is
+ provided separately in the Process.patch tarball. A sample pipeline kit for
+ processing MOC images with the ISIS software is in the moclevall-kit tarball.
  .
- This project was supported by NSF grant number DUE-9950473.
+ Configuration: An extension of the PVL.Parameter class for convenient
+ management of configuration parameters.
  .
- This package contains the API documentation of libjcm-java.
+ Database: A simplified interface for access to, and basic management of,
+ relational SQL databases. An example database query tool is included.
+ .
+ Image_Tools: Classes for obtaining metadata information from JP2 files, plus an
+ ImageInputStream implementation for access to files remotely via an HTTP
+ server.
+ .
+ PVL: The PIRL Parameter Value Language package provides for the input, output
+ and manipulation of generic parameters and their data values. A PVL_to_DB class
+ is provided to map PVL Parameter Values into Database fields for update or
+ insert operations.
+ .
+ Strings: Character string manipulation capabilities used by the other PIRL
+ packages.
+ .
+ Utilities: Miscellaneous utilities classes that handle various helpful
+ operations not easily classified into the classes of other packages.
+ .
+ Viewers: Classes for common capabilies associated with GUI viewers, plus GUI
+ viewers associated with other PIRL packages.
+ .
+ This is the documentation for the PIRL Java Packages

Modified: trunk/pirl/debian/copyright
===================================================================
--- trunk/pirl/debian/copyright	2012-04-13 09:27:50 UTC (rev 15945)
+++ trunk/pirl/debian/copyright	2012-04-13 10:12:28 UTC (rev 15946)
@@ -1,32 +1,27 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: Java Components for Mathematics
-Source: http://math.hws.edu/javamath/
+Upstream-Name: PIRL packages
+Upstream-Contact: Bradford Castalia Castalia at Arizona.edu
+Source: http://pirlwww.lpl.arizona.edu/software/PIRL_Java_Packages.shtml
 
-Files: *.java
-Copyright: David J. Eck
-License: public-domain
- This source code file, and compiled classes derived from it, can
- be used and distributed without restriction, including for commercial
- use.  (Attribution is not required but is appreciated.)
-
-Files: edu
-Copyright: David J. Eck
-License:
- 1) This source code file, in unmodified form, and compiled classes
-    derived from it can be used and distributed without restriction,
-    including for commercial use.  (Attribution is not required
-    but is appreciated.)
+Files: *
+Copyright: 2003-2008  Arizona Board of Regents on behalf of the
+ Planetary Image Research Laboratory, Lunar and Planetary Laboratory at
+ the University of Arizona.
+License: LGPL-2
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License, version 2.1,
+ as published by the Free Software Foundation.
  .
- 2) Modified versions of this file can be made and distributed
-    provided:  the modified versions are put into a Java package
-    different from the original package, edu.hws;  modified
-    versions are distributed under the same terms as the original;
-    and the modifications are documented in comments.  (Modification
-    here does not include simply making subclasses that belong to
-    a package other than edu.hws, which can be done without any
-    restriction.)
+ This library 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
 
 Files: debian/*
 Copyright: 2012, Mathieu Malaterre <malat at debian.org>
-License: Public Domain
+License: LGPL-2
  Same as above

Added: trunk/pirl/debian/jp2info
===================================================================
--- trunk/pirl/debian/jp2info	                        (rev 0)
+++ trunk/pirl/debian/jp2info	2012-04-13 10:12:28 UTC (rev 15946)
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+# Shell script wrapper around the fop program,
+# Copyright 2012 by Mathieu Malaterre <malat at debian.org>
+#
+# Licensed under the same terms as pirl itself, that is under
+# the conditions of the LGPL-2 licence.
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+# comment this line if you want fop to run without headless property,
+# or write a line containing
+#  HEADLESS=
+# in your fop configuration file.
+HEADLESS=-Djava.awt.headless=true
+
+# We prefer to use openjdk or Sun's java if available
+find_java_runtime openjdk sun  || find_java_runtime 
+
+find_jars pirl
+
+LOG_OPTION=-Dorg.apache.commons.logging.Log=org.apache.fop.util.CommandLineLogger
+# LOG_DEBUG_OPTION=-Dlog4j.debug
+
+
+for file in "$@" ; do
+  case $file in 
+    *.j2k)
+      run_java $HEADLESS $LOG_OPTION PIRL.Image_Tools.JPEG2000_Codestream_Info "$file";;
+    *.jp2)
+      run_java $HEADLESS $LOG_OPTION PIRL.Image_Tools.JP2_Info "$file";;
+  esac
+done


Property changes on: trunk/pirl/debian/jp2info
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/pirl/debian/pirl-image-tools.install
===================================================================
--- trunk/pirl/debian/pirl-image-tools.install	                        (rev 0)
+++ trunk/pirl/debian/pirl-image-tools.install	2012-04-13 10:12:28 UTC (rev 15946)
@@ -0,0 +1 @@
+debian/jp2info usr/bin




More information about the pkg-java-commits mailing list