--- jhove-1.6+dfsg.orig/debian/watch +++ jhove-1.6+dfsg/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts="uversionmangle=s/_/\./,dversionmangle=s/\+dfsg//" \ +http://sf.net/jhove/jhove-(.*)\.tar\.gz --- jhove-1.6+dfsg.orig/debian/jhove.1 +++ jhove-1.6+dfsg/debian/jhove.1 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH JHOVE 1 "August 28, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +JHOVE \- identify, validate, and characterize digital objects. +.SH SYNOPSIS +.B jhove +.RI [ options ] " files" ... +.br +.B jhoveview +.SH DESCRIPTION +This manual page documents briefly the +.B jhove +and +.B jhoveview +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBjhoveview\fP has a graphical user interface and no significant command line options. +\fBjhove\fP has a command line interface, see full documentation in +online at http://hul.harvard.edu/jhove/using.html#invocation. + +.SH AUTHOR +JHOVE is copyright JSTOR and the President and Fellows of Harvard College, and +the authors are not listed in the program source code. +.PP +This manual page was written by Jeff Breidenbach , +for the Debian project (but may be used by others). --- jhove-1.6+dfsg.orig/debian/README.Debian +++ jhove-1.6+dfsg/debian/README.Debian @@ -0,0 +1,7 @@ +jhove for Debian +---------------- + +The GUI interface has been named "jhoveview" to conform to Debian naming +conventions. Command line interface continues to be "jhove". + + -- Jeff Breidenbach , Tue, 28 Aug 2007 13:39:44 -0700 --- jhove-1.6+dfsg.orig/debian/README.source +++ jhove-1.6+dfsg/debian/README.source @@ -0,0 +1,68 @@ +The upstream tarball has been repacked to remove jar files. +The following was used to recreate the tarball: + tar -xzf xxx.orig.tar.gz + cd jhove + ant cleandist + rm -f lib/*.jar + cd .. + mv jhove jhove-n.n+dfsg + tar -czf jhove_n.n+dfsg.orig.tar.gz jhove-n.n+dfsg + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- jhove-1.6+dfsg.orig/debian/jhoveview.1 +++ jhove-1.6+dfsg/debian/jhoveview.1 @@ -0,0 +1,44 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH JHOVE 1 "August 28, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +JHOVE \- identify, validate, and characterize digital objects. +.SH SYNOPSIS +.B jhove +.RI [ options ] " files" ... +.br +.B jhoveview +.SH DESCRIPTION +This manual page documents briefly the +.B jhove +and +.B jhoveview +commands. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBjhoveview\fP has a graphical user interface and no significant command line options. +\fBjhove\fP has a command line interface, see full documentation in +online at http://hul.harvard.edu/jhove/using.html#invocation. + +.SH AUTHOR +JHOVE is copyright JSTOR and the President and Fellows of Harvard College, and +the authors are not listed in the program source code. +.PP +This manual page was written by Jeff Breidenbach , +for the Debian project (but may be used by others). --- jhove-1.6+dfsg.orig/debian/changelog +++ jhove-1.6+dfsg/debian/changelog @@ -0,0 +1,73 @@ +jhove (1.6+dfsg-1) unstable; urgency=low + + * New upstream release. + + -- Jeff Breidenbach Thu, 08 Dec 2011 16:59:38 -0800 + +jhove (1.4+dfsg-1) unstable; urgency=low + + [ Barry deFreese ] + * New upstream release. + * Repack tarball to remove upstream .jar files. + * Use default-* instead of sun-java5-*. (Closes: #546512). + * Set javac to 1.5 on build. + * Add quilt patch system. + + Move inline changes to quilt patches. + + Add README.source for quilt patching system. + * Move default-jdk to Build-Depends-Indep. + * Package is arch: all so move dh commands to binary-indep. + * Remove empty /usr/sbin dir. + * Add Homepage. + * Add watch file. + * Bump debhelper build-dep and compat to 7. + * Bump Standards Version to 3.8.3. + + [ Niels Thykier ] + * Cleaned debian/rules. + - Used debhelper consistently through out the build. + * Removed 03_htmlstack.diff - it was not used anymore. + * Made debian/copyright refer to LGPL-2.1 rather than the + versionless symlink. + * Registered the java-doc with doc-base. + * Updated the remaining patches. + - Added a short description. + - Made the affected shell scripts properly quote arguments. + + -- Debian Java Maintainers Thu, 19 Nov 2009 19:48:03 +0100 + +jhove (1.1g-5) unstable; urgency=low + + * Switching to non-free + + -- Jeff Breidenbach Mon, 15 Oct 2007 18:23:21 -0700 + +jhove (1.1g-4) unstable; urgency=low + + * Bumping version due to upload problem. + + -- Jeff Breidenbach Tue, 25 Sep 2007 21:22:28 -0700 + +jhove (1.1g-3) unstable; urgency=low + + * Clarify copyright file again. Make sure package is non-native. + + -- Jeff Breidenbach Tue, 25 Sep 2007 19:45:37 -0700 + +jhove (1.1g-2) unstable; urgency=low + + * Adjust debian/copyright to mention years and w3c copyright on some files. + + -- Jeff Breidenbach Thu, 13 Sep 2007 15:14:51 -0700 + +jhove (1.1g-1) unstable; urgency=low + + * New upstream release + + -- Jeff Breidenbach Sat, 8 Sep 2007 22:14:02 -0700 + +jhove (1.1f-1) unstable; urgency=low + + * Initial release + + -- Jeff Breidenbach Tue, 28 Aug 2007 13:39:44 -0700 + --- jhove-1.6+dfsg.orig/debian/docs +++ jhove-1.6+dfsg/debian/docs @@ -0,0 +1,2 @@ +README +RELEASENOTES --- jhove-1.6+dfsg.orig/debian/dirs +++ jhove-1.6+dfsg/debian/dirs @@ -0,0 +1,3 @@ +etc/jhove +usr/bin +usr/share/java --- jhove-1.6+dfsg.orig/debian/control +++ jhove-1.6+dfsg/debian/control @@ -0,0 +1,28 @@ +Source: jhove +Section: non-free/utils +Priority: optional +Maintainer: Jeff Breidenbach +Uploaders: Debian Java Maintainers +Build-Depends: debhelper (>= 7), ant, quilt +Build-Depends-Indep: default-jdk +Standards-Version: 3.8.3 +Homepage: http://hul.harvard.edu/jhove/ + +Package: jhove +Architecture: all +Depends: default-jre | java2-runtime +Description: JSTOR/Harvard Object Validation Environment + The concept of representation format, or type, permeates all technical + areas of digital repositories. Policy and processing decisions + regarding object ingest, storage, access, and preservation are + frequently conditioned on a per-format basis. In order to achieve + necessary operational efficiencies, repositories need to be able to + automate these procedures to the fullest extent possible. + JSTOR and the Harvard University Library are collaborating on a + project to develop an extensible framework for format validation: + JHOVE (pronounced "jove"), the JSTOR/Harvard Object Validation + Environment. The initial release of JHOVE includes modules for + arbitrary byte streams, ASCII and UTF-8 encoded text, GIF, JPEG2000, + and JPEG, and TIFF images, AIFF and WAVE audio, PDF, HTML, and XML; + and text and XML output handlers. + --- jhove-1.6+dfsg.orig/debian/compat +++ jhove-1.6+dfsg/debian/compat @@ -0,0 +1 @@ +7 --- jhove-1.6+dfsg.orig/debian/doc-base +++ jhove-1.6+dfsg/debian/doc-base @@ -0,0 +1,9 @@ +Document: jhove +Title: Jhove Javadoc API +Author: JSTOR and the President and Fellows of Harvard College +Abstract: JSTOR/Harvard Object Validation Environment +Section: Programming + +Format: HTML +Index: /usr/share/doc/jhove/api/index.html +Files: /usr/share/doc/jhove/api/*.html --- jhove-1.6+dfsg.orig/debian/install +++ jhove-1.6+dfsg/debian/install @@ -0,0 +1,6 @@ +jhove usr/bin/ +jhoveview usr/bin/ +bin/JhoveApp.jar usr/share/java/ +bin/JhoveView.jar usr/share/java/ +conf/jhove.conf etc/jhove/ +doc/* usr/share/doc/jhove/api/ --- jhove-1.6+dfsg.orig/debian/copyright +++ jhove-1.6+dfsg/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Jeff Breidenbach on +Tue, 28 Aug 2007 13:39:44 -0700. + +It was downloaded from http://hul.harvard.edu/jhove + +JHOVE is Copyright 2003-2007 by JSTOR and the President and +Fellows of Harvard College. + +Some DTD files included with the JHOVE source code contain the following +notices: + + Copyright 1998-2000 World Wide Web Consortium + (Massachusetts Institute of Technology, Institut National de + Recherche en Informatique et en Automatique, Keio University). + All Rights Reserved. + + Permission to use, copy, modify and distribute the XHTML DTD and its + accompanying documentation for any purpose and without fee is hereby + granted in perpetuity, provided that the above copyright notice and + this paragraph appear in all copies. The copyright holders make no + representation about the suitability of the DTD for any purpose. + +Some character entity set files included with the JHOVE source code +contain the following notices: + + Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + + +License: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public +License, can be found in /usr/share/common-licenses/LGPL-2.1. --- jhove-1.6+dfsg.orig/debian/jhove.manpages +++ jhove-1.6+dfsg/debian/jhove.manpages @@ -0,0 +1,2 @@ +debian/jhove.1 +debian/jhoveview.1 --- jhove-1.6+dfsg.orig/debian/rules +++ jhove-1.6+dfsg/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +build: build-stamp + +build-stamp: patch + dh_testdir + ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 debug + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + ant cleandist + find ./ -name MANIFEST.MF -delete + +binary-indep: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_install + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary configure --- jhove-1.6+dfsg.orig/debian/patches/series +++ jhove-1.6+dfsg/debian/patches/series @@ -0,0 +1,3 @@ +01_jhove.diff +02_jhoveview.diff +#03_htmlstack.diff --- jhove-1.6+dfsg.orig/debian/patches/01_jhove.diff +++ jhove-1.6+dfsg/debian/patches/01_jhove.diff @@ -0,0 +1,35 @@ +Description: Setup jhove to work on a Debian system. + +Index: jhove/jhove +=================================================================== +--- a/jhove 2009-11-14 12:07:53.000000000 -0500 ++++ b/jhove 2009-11-14 12:08:41.000000000 -0500 +@@ -27,26 +27,17 @@ + # Configuration constants: + + #JHOVE_HOME=/users/gary/dev/jhove +-JHOVE_HOME=[fill in path to jhove directory] +- +-JAVA_HOME=/usr/java # Java JRE directory -- change to your local java home +-JAVA=$JAVA_HOME/bin/java # Java interpreter -- usually won't need change + + #XTRA_JARS=/users/stephen/xercesImpl.jar +-EXTRA_JARS= # Extra .jar files to add to CLASSPATH + + # NOTE: Nothing below this line should be edited + ######################################################################## + +-CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS} ++#CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS} + + # Retrieve a copy of all command line arguments to pass to the application. + +-ARGS="" +-for ARG do +- ARGS="$ARGS $ARG" +-done + + # Set the CLASSPATH and invoke the Java loader. + #{JAVA} -classpath $CP Jhove $ARGS -x org.apache.xerces.parsers.SAXParser +-${JAVA} -classpath $CP Jhove $ARGS ++java -jar /usr/share/java/JhoveApp.jar -c /etc/jhove/jhove.conf "$@" --- jhove-1.6+dfsg.orig/debian/patches/02_jhoveview.diff +++ jhove-1.6+dfsg/debian/patches/02_jhoveview.diff @@ -0,0 +1,10 @@ +Description: Add a shell script to start jhoveview. + +Index: jhove-1.1g/jhoveview +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ b/jhoveview 2009-11-12 15:26:07.000000000 -0500 +@@ -0,0 +1,3 @@ ++#!/bin/sh ++ ++java -jar /usr/share/java/JhoveView.jar -c /etc/jhove/jhove.conf "$@"