[pkg-java] r11082 - in trunk/jhove: . debian debian/patches

Niels Thykier nthykier-guest at alioth.debian.org
Thu Nov 19 18:44:24 UTC 2009


Author: nthykier-guest
Date: 2009-11-19 18:44:24 +0000 (Thu, 19 Nov 2009)
New Revision: 11082

Added:
   trunk/jhove/debian/
   trunk/jhove/debian/README.Debian
   trunk/jhove/debian/README.source
   trunk/jhove/debian/changelog
   trunk/jhove/debian/compat
   trunk/jhove/debian/control
   trunk/jhove/debian/copyright
   trunk/jhove/debian/dirs
   trunk/jhove/debian/doc-base
   trunk/jhove/debian/docs
   trunk/jhove/debian/install
   trunk/jhove/debian/jhove.1
   trunk/jhove/debian/jhove.manpages
   trunk/jhove/debian/jhoveview.1
   trunk/jhove/debian/patches/
   trunk/jhove/debian/patches/01_jhove.diff
   trunk/jhove/debian/patches/02_jhoveview.diff
   trunk/jhove/debian/patches/series
   trunk/jhove/debian/rules
   trunk/jhove/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/jhove/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/jhove/debian/README.Debian
===================================================================
--- trunk/jhove/debian/README.Debian	                        (rev 0)
+++ trunk/jhove/debian/README.Debian	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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 <jab at debian.org>, Tue, 28 Aug 2007 13:39:44 -0700

Added: trunk/jhove/debian/README.source
===================================================================
--- trunk/jhove/debian/README.source	                        (rev 0)
+++ trunk/jhove/debian/README.source	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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 <patch>
+
+where <patch> 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 <file>
+
+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 <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> 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 <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.

Added: trunk/jhove/debian/changelog
===================================================================
--- trunk/jhove/debian/changelog	                        (rev 0)
+++ trunk/jhove/debian/changelog	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,67 @@
+jhove (1.4+dfsg-1) UNRELEASED; 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.
+
+ -- Niels Thykier <niels at thykier.net>  Thu, 12 Nov 2009 14:35:13 -0500
+
+jhove (1.1g-5) unstable; urgency=low
+
+  * Switching to non-free
+
+ -- Jeff Breidenbach <jab at debian.org>  Mon, 15 Oct 2007 18:23:21 -0700
+
+jhove (1.1g-4) unstable; urgency=low
+
+  * Bumping version due to upload problem.
+
+ -- Jeff Breidenbach <jab at debian.org>  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 <jab at debian.org>  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 <jab at debian.org>  Thu, 13 Sep 2007 15:14:51 -0700
+
+jhove (1.1g-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Jeff Breidenbach <jab at debian.org>  Sat,  8 Sep 2007 22:14:02 -0700
+
+jhove (1.1f-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Jeff Breidenbach <jab at debian.org>  Tue, 28 Aug 2007 13:39:44 -0700
+

Added: trunk/jhove/debian/compat
===================================================================
--- trunk/jhove/debian/compat	                        (rev 0)
+++ trunk/jhove/debian/compat	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1 @@
+7

Added: trunk/jhove/debian/control
===================================================================
--- trunk/jhove/debian/control	                        (rev 0)
+++ trunk/jhove/debian/control	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,28 @@
+Source: jhove
+Section: non-free/utils
+Priority: optional
+Maintainer: Jeff Breidenbach <jab at debian.org>
+Uploaders: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>, Niels Thykier <niels at thykier.net>
+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.
+

Added: trunk/jhove/debian/copyright
===================================================================
--- trunk/jhove/debian/copyright	                        (rev 0)
+++ trunk/jhove/debian/copyright	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,49 @@
+This package was debianized by Jeff Breidenbach <jab at debian.org> 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.

Added: trunk/jhove/debian/dirs
===================================================================
--- trunk/jhove/debian/dirs	                        (rev 0)
+++ trunk/jhove/debian/dirs	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,3 @@
+etc/jhove
+usr/bin
+usr/share/java

Added: trunk/jhove/debian/doc-base
===================================================================
--- trunk/jhove/debian/doc-base	                        (rev 0)
+++ trunk/jhove/debian/doc-base	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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

Added: trunk/jhove/debian/docs
===================================================================
--- trunk/jhove/debian/docs	                        (rev 0)
+++ trunk/jhove/debian/docs	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,2 @@
+README
+RELEASENOTES

Added: trunk/jhove/debian/install
===================================================================
--- trunk/jhove/debian/install	                        (rev 0)
+++ trunk/jhove/debian/install	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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/

Added: trunk/jhove/debian/jhove.1
===================================================================
--- trunk/jhove/debian/jhove.1	                        (rev 0)
+++ trunk/jhove/debian/jhove.1	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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 <n>    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<whatever>\fP and
+.\" \fI<whatever>\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 <jab at debian.org>,
+for the Debian project (but may be used by others).

Added: trunk/jhove/debian/jhove.manpages
===================================================================
--- trunk/jhove/debian/jhove.manpages	                        (rev 0)
+++ trunk/jhove/debian/jhove.manpages	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,2 @@
+debian/jhove.1
+debian/jhoveview.1

Added: trunk/jhove/debian/jhoveview.1
===================================================================
--- trunk/jhove/debian/jhoveview.1	                        (rev 0)
+++ trunk/jhove/debian/jhoveview.1	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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 <n>    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<whatever>\fP and
+.\" \fI<whatever>\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 <jab at debian.org>,
+for the Debian project (but may be used by others).

Added: trunk/jhove/debian/patches/01_jhove.diff
===================================================================
--- trunk/jhove/debian/patches/01_jhove.diff	                        (rev 0)
+++ trunk/jhove/debian/patches/01_jhove.diff	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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 "$@"

Added: trunk/jhove/debian/patches/02_jhoveview.diff
===================================================================
--- trunk/jhove/debian/patches/02_jhoveview.diff	                        (rev 0)
+++ trunk/jhove/debian/patches/02_jhoveview.diff	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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 "$@"

Added: trunk/jhove/debian/patches/series
===================================================================
--- trunk/jhove/debian/patches/series	                        (rev 0)
+++ trunk/jhove/debian/patches/series	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,3 @@
+01_jhove.diff
+02_jhoveview.diff
+#03_htmlstack.diff

Added: trunk/jhove/debian/rules
===================================================================
--- trunk/jhove/debian/rules	                        (rev 0)
+++ trunk/jhove/debian/rules	2009-11-19 18:44:24 UTC (rev 11082)
@@ -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


Property changes on: trunk/jhove/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/jhove/debian/watch
===================================================================
--- trunk/jhove/debian/watch	                        (rev 0)
+++ trunk/jhove/debian/watch	2009-11-19 18:44:24 UTC (rev 11082)
@@ -0,0 +1,4 @@
+version=3
+
+opts="uversionmangle=s/_/\./,dversionmangle=s/\+dfsg//" \
+http://sf.net/jhove/jhove-(.*)\.tar\.gz




More information about the pkg-java-commits mailing list