debian/0000755000000000000000000000000012052712614007166 5ustar debian/source/0000755000000000000000000000000012052712614010466 5ustar debian/source/format0000644000000000000000000000001411741760103011674 0ustar 3.0 (quilt) debian/libpirl-java.jlibs0000644000000000000000000000001111741760103012557 0ustar pirl.jar debian/libpirl-java-doc.javadoc0000644000000000000000000000005111741760103013632 0ustar internal /usr/share/doc/libpirl-java/api debian/copyright0000644000000000000000000001141412004752625011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PIRL packages Upstream-Contact: Bradford Castalia Source: http://pirlwww.lpl.arizona.edu/software/PIRL_Java_Packages.shtml Files: * Copyright: 2001-2012 © Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona. License: LGPL-3 The PIRL Java Packages are free software; you can redistribute them and/or modify them under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . The PIRL Java Packages are distributed in the hope that they 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 program. If not, see . Files: PIRL/Database/Icons/*.gif Copyright: 2000 © Sun Microsystems, Inc. All Rights Reserved. License: Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, and redistribute this software graphics artwork, as individual graphics or as a collection, as part of software code or programs that you develop, provided that i) this copyright notice and license accompany the software graphics artwork; and ii) you do not utilize the software graphics artwork in a manner which is disparaging to Sun. Unless enforcement is prohibited by applicable law, you may not modify the graphics, and must use them true to color and unmodified in every way. . This software graphics artwork is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE GRAPHICS ARTWORK. . IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE GRAPHICS ARTWORK, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . If any of the above provisions are held to be in violation of applicable law, void, or unenforceable in any jurisdiction, then such provisions are waived to the extent necessary for this Disclaimer to be otherwise enforceable in such jurisdiction. Files: PIRL/TreeTable/*.java Copyright: 1997, 2000 © Sun Microsystems, Inc. All Rights Reserved. License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . - Redistribution in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of Sun Microsystems, Inc. or the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. . This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . You acknowledge that this software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility. Files: debian/* Copyright: 2012, Mathieu Malaterre License: LGPL-3 Same as above License: LGPL-3 On Debian GNU/Linux system you can find the complete text of the LGPL-3 license in '/usr/share/common-licenses/LGPL-3' debian/jp2info.10000644000000000000000000000336712052712573010634 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.12. .TH JP2INFO "1" "November 2012" "jp2info 2.3.8" "User Commands" .SH NAME jp2info \- dump meta information of JPEG 2000 Codestream / JP2 file .SH SYNOPSIS .B JP2_Info [\fI\fR] \fI\fR .SH DESCRIPTION Dump meta information of JPEG 2000 Codestream / JP2 file .PP PIRL.Image_Tools.JP2_Info (1.39 2012/11/19 00:13:25) .IP The contents of the specified file are scanned for JP2 file format boxes and JPEG2000 codestream segments. The information found is reported in the form of PVL parameters containing all the data element values. .PP Options \- .HP \fB\-[No_]Tiles\fR .IP Tiles segment parameters are to be included (or not). The default is not to include tile segment parameters. .HP \fB\-[No_]EOC_search\fR .IP Search a final tile\-part of unknown length for the EOC marker. The default is not to search. .HP \fB\-Gui\fR .IP The information PVL is provided in a GUI viewer. The default is to provide a terminal listing. .HP \fB\-Find\fR .IP The named parameter is listed. This option may be repeated to obtain a listing of all parameters specified. .HP \fB\-Pattern\fR .IP The parameters with names that match the regular expression are listed. This option may also be repeated. .HP \fB\-Help\fR .IP Print this usage description and exit. .PP Exit Status \- .IP 0 \- Success 1 \- Command line syntax problem 2 \- I/O Exception while attemping to read the source file 3 \- No information was found 4 \- An error occurred in assembing the PVL parameters for the JP2 information 5 \- The source file does not have the required JP2 contents .SH AUTHOR This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system, but may be used by others. debian/pirl-image-tools.manpages0000644000000000000000000000002112004751031014051 0ustar debian/jp2info.1 debian/rules0000755000000000000000000000122212052712602010240 0ustar #!/usr/bin/make -f VERSION=$(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-) export JAVA_HOME=/usr/lib/jvm/default-java export CLASSPATH=/usr/share/java/jcm.jar:/usr/share/java/gnumail.jar:/usr/share/java/swingx1.jar:/usr/share/java/commons-cli.jar %: dh $@ --with javahelper override_dh_auto_configure: -rm PIRL/Conductor/Notify-simple.java dh_auto_configure debian/jp2info.1: debian/jp2info.1.in help2man --include=$< -n "dump meta information of JPEG 2000 Codestream / JP2 file" \ --output=$@ --version-string=$(VERSION) --help-option=-h --no-info jp2info get-orig-source: uscan --verbose --force-download --rename debian/compat0000644000000000000000000000000211741760103010364 0ustar 7 debian/orig-tar.sh0000755000000000000000000000056512004751031011250 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' TAR=pirl_$2.orig.tar.gz DIR=pirl-$2 # clean up the upstream tarball tar -zxf $3 mv PIRL-* PIRL mkdir $DIR mv PIRL $DIR tar -czf $TAR $DIR rm -rf $DIR $3 # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/jp2info0000755000000000000000000000201712004751031010454 0ustar #! /bin/sh # Shell script wrapper around the fop program, # Copyright 2012 by Mathieu Malaterre # # 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";; *) run_java $HEADLESS $LOG_OPTION PIRL.Image_Tools.JP2_Info "$file";; esac done debian/control0000644000000000000000000001130512006171221010561 0ustar Source: pirl Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Mathieu Malaterre Build-Depends: debhelper (>= 8), javahelper (>= 0.25) Build-Depends-Indep: default-jdk, default-jdk-doc, libgnumail-java, libswingx1-java, libjcm-java, libcommons-cli-java Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/pirl 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, java-wrappers Suggests: libpirl-java-doc, python-jpylyzer 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: 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. . 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 Section: doc Depends: ${misc:Depends}, ${java:Depends} Recommends: ${java:Recommends} Suggests: libpirl-java 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. . 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. . This is the documentation for the PIRL Java Packages debian/jp2info.1.in0000644000000000000000000000032512052712573011230 0ustar [DESCRIPTION] Dump meta information of JPEG 2000 Codestream / JP2 file [AUTHOR] This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system, but may be used by others. debian/changelog0000644000000000000000000000053712052712602011042 0ustar pirl (2.3.8-1) unstable; urgency=low * New upstream: 2.3.8. Fixes issues with JPX. * Missing Depends on java-wrappers. -- Mathieu Malaterre Tue, 20 Nov 2012 15:35:37 +0100 pirl (2.3.7-1) unstable; urgency=low * Initial release (Closes: #668603) -- Mathieu Malaterre Wed, 18 Apr 2012 08:51:38 +0200 debian/watch0000644000000000000000000000020412004751031010204 0ustar version=3 opts=dversionmangle=s/\.dfsg// \ ftp://pirlftp.lpl.arizona.edu/pub/Java/PIRL-([\d\.]+).tar.gz \ debian debian/orig-tar.sh debian/javabuild0000644000000000000000000000001611741767201011055 0ustar pirl.jar PIRL debian/pirl-image-tools.install0000644000000000000000000000002711741776710013754 0ustar debian/jp2info usr/bin