jtidy (7+svn20070309-4) debian-dir only changes

Summary

 debian/README.Debian-source       |   19 +++++++++
 debian/build.xml                  |   79 ++++++++++++++++++++++++++++++++++++++
 debian/changelog                  |   52 +++++++++++++++++++++++++
 debian/compat                     |    1 
 debian/control                    |   36 +++++++++++++++++
 debian/copyright                  |   54 +++++++++++++++++++++++++
 debian/libjtidy-java-doc.doc-base |    9 ++++
 debian/libjtidy-java-doc.docs     |    1 
 debian/libjtidy-java.poms         |    1 
 debian/manifest.mf                |    4 +
 debian/maven.rules                |    4 +
 debian/patches/pom.patch          |   18 ++++++++
 debian/patches/series             |    1 
 debian/rules                      |   29 +++++++++++++
 14 files changed, 308 insertions(+)

    
download this patch

Patch contents

--- jtidy-7+svn20070309.orig/debian/maven.rules
+++ jtidy-7+svn20070309/debian/maven.rules
@@ -0,0 +1,4 @@
+s/xerces/xml-apis/ s/dom3-xml-apis/xml-apis/ jar s/.*/debian/
+s/ant/org.apache.ant/ * * s/.*/debian/
+junit junit jar s/3\..*/3.x/
+log4j log4j jar s/1\.2\..*/1.2.x/
--- jtidy-7+svn20070309.orig/debian/copyright
+++ jtidy-7+svn20070309/debian/copyright
@@ -0,0 +1,54 @@
+This package was debianized by Paul Cager <paul-debian@home.paulcager.org> on
+Fri,  9 Mar 2007 23:57:22 +0000
+
+The Debian packaging is Copyright (c) 2007 Paul Cager and is licensed under
+the GNU General Public License version 2. On Debian systems, the complete text
+of the GNU General Public License version 2 can be found in
+'/usr/share/common-licenses/GPL-2'.
+
+
+JTidy was downloaded from http://jtidy.sourceforge.net/
+
+Upstream Authors:  Andy Quick <ac.quick@sympatico.ca>
+	           Dave Raggett <dsr@w3.org>
+                   Fabrizio Giustina
+		   Andy Tripp
+		   Russell Gold
+		   Gary L Peskin <garyp@firstech.com>
+		   Sami Lempinen <sami@lempinen.net>
+
+Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
+Institute of Technology, Institut National de Recherche en
+Informatique et en Automatique, Keio University). All Rights
+Reserved.
+
+COPYRIGHT NOTICE:
+	* 
+	*  This software and documentation is provided "as is," and
+	*  the copyright holders and contributing author(s) make no
+	*  representations or warranties, express or implied, including
+	*  but not limited to, warranties of merchantability or fitness
+	*  for any particular purpose or that the use of the software or
+	*  documentation will not infringe any third party patents,
+	*  copyrights, trademarks or other rights. 
+	*
+	*  The copyright holders and contributing author(s) will not be
+	*  liable for any direct, indirect, special or consequential damages
+	*  arising out of any use of the software or documentation, even if
+	*  advised of the possibility of such damage.
+	*
+	*  Permission is hereby granted to use, copy, modify, and distribute
+	*  this source code, or portions hereof, documentation and executables,
+	*  for any purpose, without fee, subject to the following restrictions:
+	*
+	*  1. The origin of this source code must not be misrepresented.
+	*  2. Altered versions must be plainly marked as such and must
+	*     not be misrepresented as being the original source.
+	*  3. This Copyright notice may not be removed or altered from any
+	*     source or altered source distribution.
+	* 
+	*  The copyright holders and contributing author(s) specifically
+	*  permit, without fee, and encourage the use of this source code
+	*  as a component for supporting the Hypertext Markup Language in
+	*  commercial products. If you use this source code in a product,
+	*  acknowledgment is not required but would be appreciated.
--- jtidy-7+svn20070309.orig/debian/manifest.mf
+++ jtidy-7+svn20070309/debian/manifest.mf
@@ -0,0 +1,4 @@
+Main-Class: org.w3c.tidy.Tidy
+
+Name: org/w3c/tidy/Tidy.class
+Java-Bean: True
--- jtidy-7+svn20070309.orig/debian/libjtidy-java-doc.docs
+++ jtidy-7+svn20070309/debian/libjtidy-java-doc.docs
@@ -0,0 +1 @@
+build/doc/api
--- jtidy-7+svn20070309.orig/debian/rules
+++ jtidy-7+svn20070309/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := $(ANT_HOME)/lib/ant-trax.jar xalan2
+DEB_ANT_BUILD_TARGET := package
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -DartifactId=$(PACKAGE) -Dversion=$(VERSION)
+API_DOCS             := build/doc/api
+
+get-orig-source:
+	mkdir orig_tmp
+	cd orig_tmp && \
+		svn export -q https://svn.sourceforge.net/svnroot/jtidy/trunk/jtidy/ jtidy && \
+		tar czf ../../jtidy_$(DEB_UPSTREAM_VERSION).orig.tar.gz jtidy
+	rm -rf orig_tmp
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE)-$(VERSION).jar
+
+clean::
+	-rm -rf debian/tmp
+
--- jtidy-7+svn20070309.orig/debian/libjtidy-java-doc.doc-base
+++ jtidy-7+svn20070309/debian/libjtidy-java-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libjtidy-java
+Title: API Javadoc for jtidy
+Author: jtidy developers
+Abstract: This is the API Javadoc provided by the jtidy library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjtidy-java-doc/api/index.html
+Files: /usr/share/doc/libjtidy-java-doc/api/*
--- jtidy-7+svn20070309.orig/debian/changelog
+++ jtidy-7+svn20070309/debian/changelog
@@ -0,0 +1,52 @@
+jtidy (7+svn20070309-4) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 09 Aug 2009 11:48:10 +0200
+
+jtidy (7+svn20070309-3) experimental; urgency=low
+
+  * Change section to java, bump up Standards-Version to 3.8.1 
+  * Bump up debhelper to 6
+  * Use default-jdk instead of java-gcj for the build (closes: #526287)
+  * Add ${misc:Depends} to Depends to clear Lintian warnings
+  * Add the Maven POM to the package
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+  * Use mh_installpom and mh_installjar to install the POM and the jar to the
+    Maven repository
+  * Patch the POM with quilt to remove the SNAPSHOT version
+  * Depend on libjaxb1.3-java instead of libxalan-java as only the xml apis
+    are required
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Wed, 13 May 2009 18:26:09 +0100
+
+jtidy (7+svn20070309-2ubuntu2) jaunty; urgency=low
+
+  * Don't depend on classpath-doc, which is in universe and therefore
+    unrelated to this package.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 30 Mar 2009 21:48:47 +0000
+
+jtidy (7+svn20070309-2ubuntu1) jaunty; urgency=low
+
+  * Merge from debian unstable, remaining changes:
+    - default-java transition.
+
+ -- Chris Cheney <ccheney@ubuntu.com>  Wed, 17 Dec 2008 00:15:00 -0600
+
+jtidy (7+svn20070309-2) unstable; urgency=low
+
+  * Added manifest to jtidy.jar. Closes: #481571
+  * Updated Standards-Version to 3.8.0. No changes needed.
+  * Added Homepage, Vcs-Svn and Vcs-Browser fields.
+  * Improved long description of -doc package.
+  * Simplified debian/rules.
+  * Added myself to Uploaders.
+
+ -- Michael Koch <konqueror@gmx.de>  Fri, 13 Jun 2008 07:33:47 +0200
+
+jtidy (7+svn20070309-1) unstable; urgency=low
+
+  * Initial release. (Closes: #413526)
+
+ -- Paul Cager <paul-debian@home.paulcager.org>  Fri,  9 Mar 2007 23:57:22 +0000
--- jtidy-7+svn20070309.orig/debian/README.Debian-source
+++ jtidy-7+svn20070309/debian/README.Debian-source
@@ -0,0 +1,19 @@
+Debian README for JTidy
+=======================
+
+Upstream provide 3 types of downloads:
+
+   1)  The standard SourceForge.net dowloads. These appear to be
+       out of date - the latest archive is 04aug2000r7-dev on
+       August 1, 2001.
+
+   2)  Maven snapshots at
+       http://jtidy.sourceforge.net/snapshots/jtidy/jtidy/. These
+       do *not* include source code.
+
+   3)  svn access at
+       https://svn.sourceforge.net/svnroot/jtidy/trunk/jtidy/
+
+This Debian packaging uses an svn snapshot.
+
+ -- Paul Cager <paul-debian@home.paulcager.org>  Thu, 22 Mar 2007 23:30:02 +0000
--- jtidy-7+svn20070309.orig/debian/build.xml
+++ jtidy-7+svn20070309/debian/build.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0"?>
+
+<!--
+      This build.xml file was written for the Debian build of jtidy.
+      This file copyright (c) Paul Cager <paul-debian@home.paulcager.org>
+
+        This software and documentation is provided "as is," and
+        the copyright holders and contributing author(s) make no
+        representations or warranties, express or implied, including
+        but not limited to, warranties of merchantability or fitness
+        for any particular purpose or that the use of the software or
+        documentation will not infringe any third party patents,
+        copyrights, trademarks or other rights. 
+
+        The copyright holders and contributing author(s) will not be
+        liable for any direct, indirect, special or consequential damages
+        arising out of any use of the software or documentation, even if
+        advised of the possibility of such damage.
+
+        Permission is hereby granted to use, copy, modify, and distribute
+        this source code, or portions hereof, documentation and executables,
+        for any purpose, without fee, subject to the following restrictions:
+
+        1. The origin of this source code must not be misrepresented.
+        2. Altered versions must be plainly marked as such and must
+           not be misrepresented as being the original source.
+        3. This Copyright notice may not be removed or altered from any
+           source or altered source distribution.
+-->
+
+<project name="jtidy" default="package" basedir="..">
+
+<target name="package" depends="jar,javadoc"/>
+
+<target name="init">
+	<property name="src.dir" value="src"/>
+	<property name="build.dir" value="build"/>
+	<property name="package" value="jtidy"/>
+	<property name="jar" value="${build.dir}/${package}-${version}.jar"/>
+	<property name="javadoc.dir" value="${build.dir}/doc/api"/>
+</target>
+
+<target name="compile" depends="init">
+	<mkdir dir="${build.dir}"/>
+	<javac srcdir="${src.dir}/main"
+		destdir="${build.dir}"
+		includes="**/*.java"
+		debug="on"
+	/>
+	<copy file="${src.dir}/main/resources/tidy.gif" tofile="${build.dir}/org/w3c/tidy/tidy.gif"/>
+	<copy file="${src.dir}/main/resources/org/w3c/tidy/TidyMessages.properties" tofile="${build.dir}/org/w3c/tidy/TidyMessages.properties"/>
+</target>
+
+<target name="jar" depends="compile">
+	<delete file="${jar}"/>
+
+	<jar jarfile="${jar}"
+		basedir="${build.dir}"
+		includes="**/*.class,**/*.properties,**/*.gif"
+		manifest="debian/manifest.mf"
+	/>
+</target>
+
+<target name="javadoc" depends="init">
+	<mkdir dir="${javadoc.dir}"/>
+	<javadoc packagenames="org.w3c.dom.*, org.w3c.tidy.*"
+		sourcepath="${src.dir}/main/java"
+		destdir="${javadoc.dir}"
+		author="true"
+		version="true"
+		windowtitle="${package} API"
+		doctitle="${package} - ${version}"
+	/>
+</target>
+
+<target name="clean" depends="init">
+	<delete dir="${build.dir}"/>
+</target>
+</project>
--- jtidy-7+svn20070309.orig/debian/control
+++ jtidy-7+svn20070309/debian/control
@@ -0,0 +1,36 @@
+Source: jtidy
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Paul Cager <paul-debian@home.paulcager.org>, Michael Koch <konqueror@gmx.de>
+Build-Depends: debhelper (>= 6), cdbs (>= 0.4.5.3), quilt, default-jdk
+Build-Depends-Indep: maven-repo-helper, ant, ant-optional, libjaxp1.3-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jtidy
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jtidy
+Homepage: http://jtidy.sourceforge.net/
+
+Package: libjtidy-java
+Architecture: all
+Depends: ${misc:Depends}, libjaxp1.3-java
+Suggests: libjtidy-java-doc, ant
+Description: a Java port of HTML Tidy, a HTML syntax checker and pretty printer
+ JTidy is a Java port of HTML Tidy (http://www.w3.org/People/Raggett/tidy/).
+ Like its non-Java cousin, JTidy can be used as a tool for cleaning up malformed
+ and faulty HTML. In addition, JTidy provides a DOM interface to the document
+ that is being processed, which effectively makes you able to use JTidy as a
+ DOM parser for real-world HTML.
+
+Package: libjtidy-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libjtidy-java
+Description: API Documentation for JTidy
+ JTidy is a Java port of HTML Tidy (http://www.w3.org/People/Raggett/tidy/).
+ Like its non-Java cousin, JTidy can be used as a tool for cleaning up malformed
+ and faulty HTML. In addition, JTidy provides a DOM interface to the document
+ that is being processed, which effectively makes you able to use JTidy as a
+ DOM parser for real-world HTML.
+ .
+ This package contains the documentation for JTidy.
--- jtidy-7+svn20070309.orig/debian/libjtidy-java.poms
+++ jtidy-7+svn20070309/debian/libjtidy-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
--- jtidy-7+svn20070309.orig/debian/compat
+++ jtidy-7+svn20070309/debian/compat
@@ -0,0 +1 @@
+6
--- jtidy-7+svn20070309.orig/debian/patches/pom.patch
+++ jtidy-7+svn20070309/debian/patches/pom.patch
@@ -0,0 +1,18 @@
+--- a/pom.xml
++++ b/pom.xml
+@@ -5,7 +5,7 @@
+   <groupId>jtidy</groupId>
+   <artifactId>jtidy</artifactId>
+   <name>JTidy</name>
+-  <version>8.0-SNAPSHOT</version>
++  <version>8.0-alpha-20070309</version>
+   <description>
+     JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer. Like its non-Java cousin, JTidy can be
+     used as a tool for cleaning up malformed and faulty HTML. In addition, JTidy provides a DOM interface to the
+@@ -263,4 +263,4 @@
+       <url>scp://shell.sourceforge.net/home/groups/j/jt/jtidy/htdocs/</url>
+     </site>
+   </distributionManagement>
+-</project>
+\ No newline at end of file
++</project>
--- jtidy-7+svn20070309.orig/debian/patches/series
+++ jtidy-7+svn20070309/debian/patches/series
@@ -0,0 +1 @@
+pom.patch