jing-trang (20091111-3) debian-dir only changes

Summary

 debian/README.source           |   20 +++++
 debian/bin/dtdinst             |   14 ++++
 debian/bin/jing                |   14 ++++
 debian/bin/trang               |   14 ++++
 debian/changelog               |   43 ++++++++++++
 debian/compat                  |    1 
 debian/control                 |   96 ++++++++++++++++++++++++++++
 debian/copyright               |  138 +++++++++++++++++++++++++++++++++++++++++
 debian/dtdinst.1               |   20 +++++
 debian/dtdinst.install         |    1 
 debian/dtdinst.manpages        |    1 
 debian/jing-trang-doc.doc-base |   10 ++
 debian/jing-trang-doc.docs     |    3 
 debian/jing.install            |    1 
 debian/jing.manpages           |    1 
 debian/libdtdinst-java.install |    1 
 debian/libjing-java.install    |    1 
 debian/libtrang-java.install   |    1 
 debian/rules                   |   63 ++++++++++++++++++
 debian/trang.install           |    1 
 debian/trang.manpages          |    1 
 debian/watch                   |    2 
 debian/xhtml-relaxng.dirs      |    1 
 23 files changed, 448 insertions(+)

    
download this patch

Patch contents

--- jing-trang-20091111.orig/debian/dtdinst.manpages
+++ jing-trang-20091111/debian/dtdinst.manpages
@@ -0,0 +1 @@
+debian/dtdinst.1
--- jing-trang-20091111.orig/debian/copyright
+++ jing-trang-20091111/debian/copyright
@@ -0,0 +1,138 @@
+This package was debianized by Samuel Thibault <sthibault@debian.org> on
+Tue, 01 Sep 2009 15:53:03 +0200.
+
+It was downloaded from http://code.google.com/p/jing-trang/
+Some parts where removed due to various reasons:
+- doc/gcapaper.rng
+  doc/xhtml-inlpres-1.mod
+  doc/xhtml-table-1.mod: Unsure license, not used.
+- gcj/Xerces-J-src.2.3.0.tar.gz
+  gcj/crimson-1.1.3-src.tar.gz
+  gcj/crimson.copying.txt
+  gcj/crimson.patch
+  gcj/xerces-regex.patch
+  gcj/xerces.copying.txt: Not useful for the build.
+- lib/UnicodeData-3.1.0.txt
+  lib/UnicodeData-4.0.0.txt
+  lib/*.jar
+  lib/isorelax.copying.txt
+  lib/xerces.copying.txt: Already packaged in Debian
+- mod/dtdinst/test: Unsure licenses, not mandatory.
+- mod/schematron/src/main/com/thaiopensource/validate/schematron/resources/schematron.rnc: Unknown license, not mandatory.
+
+Copyright:
+
+    Copyright (c) 2001-2008 Thai Open Source Software Center Ltd
+    All rights reserved.
+
+    Copyright 2001 Martin Gudgin, Developmentor.
+    Copyright 2001 W3C (Massachusetts Institute of Technology,
+    Institut National de Recherche en Informatique et en Automatique,
+    Keio University). All Rights Reserved.
+    http://www.w3.org/Consortium/Legal/
+
+License:
+
+Part of mod/nvdl/test/nvdltest.xml and mod/nvdl/test/nrltest.xml are provided
+under the W3C Software License:
+
+    W3C^® SOFTWARE NOTICE AND LICENSE
+    
+    Copyright © 1994-2002 World Wide Web Consortium, (Massachusetts Institute
+    of Technology, Institut National de Recherche en Informatique et en
+    Automatique, Keio University). All Rights Reserved. http://www.w3.org/
+    Consortium/Legal/
+    
+    This W3C work (including software, documents, or other related items) is
+    being provided by the copyright holders under the following license. By
+    obtaining, using and/or copying this work, you (the licensee) agree that
+    you have read, understood, and will comply with the following terms and
+    conditions:
+    
+    Permission to use, copy, modify, and distribute this software and its
+    documentation, with or without modification,  for any purpose and without
+    fee or royalty is hereby granted, provided that you include the following
+    on ALL copies of the software and documentation or portions thereof,
+    including modifications, that you make:
+    
+     1. The full text of this NOTICE in a location viewable to users of the
+        redistributed or derivative work.
+     2. Any pre-existing intellectual property disclaimers, notices, or terms
+        and conditions. If none exist, a short notice of the following form
+        (hypertext is preferred, text is permitted) should be used within the
+        body of any redistributed or derivative code: "Copyright ©
+        [$date-of-software] World Wide Web Consortium, (Massachusetts
+        Institute of Technology, Institut National de Recherche en
+        Informatique et en Automatique, Keio University). All Rights
+        Reserved. http://www.w3.org/Consortium/Legal/"
+     3. Notice of any changes or modifications to the W3C files, including
+        the date changes were made. (We recommend you provide URIs to the
+        location from which the code is derived.)
+    
+    THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
+    HOLDERS 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.
+    
+    COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
+    CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
+    DOCUMENTATION.
+    
+    The name and trademarks of copyright holders may NOT be used in
+    advertising or publicity pertaining to the software without specific,
+    written prior permission. Title to copyright in this software and any
+    associated documentation will at all times remain with copyright holders.
+    
+    ____________________________________
+    
+    This formulation of W3C's notice and license became active on August 14
+    1998 so as to improve compatibility with GPL. This version ensures that
+    W3C software licensing terms are no more restrictive than GPL and
+    consequently W3C software may be distributed in GPL packages. See the
+    older formulation for the policy prior to this date. Please see our
+    Copyright FAQ for common questions about using materials from our site,
+    including specific terms and conditions for packages like libwww, Amaya,
+    and Jigsaw. Other questions about this notice can be directed to
+    site-policy@w3.org.
+ 
+The rest is provided under the following 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.
+    
+        Redistributions 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 the Thai Open Source Software Center Ltd nor
+        the names of its contributors may be used to endorse or promote
+        products derived from this software without specific prior written
+        permission.
+    
+    
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Samuel Thibault <sthibault@debian.org>
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.
--- jing-trang-20091111.orig/debian/jing-trang-doc.doc-base
+++ jing-trang-20091111/debian/jing-trang-doc.doc-base
@@ -0,0 +1,10 @@
+Document: jing-trang
+Title: Programmer API for the Jing Trang library
+Author: Thai Open Source Software Center
+Abstract: Jing-Trang provides a RELAX NG validator, an XML schema converter, and
+ an XML DTD to XML instance format converter. This is the javadoc documentation.
+Section: Programming/Java
+
+Format: HTML
+Index: /usr/share/doc/jing-trang-doc/doc/index.html
+Files: /usr/share/doc/jing-trang-doc/doc/*.html
--- jing-trang-20091111.orig/debian/dtdinst.1
+++ jing-trang-20091111/debian/dtdinst.1
@@ -0,0 +1,20 @@
+.TH DTDINST "1" "September 2009" "DTDinst" "User Commands"
+.SH NAME
+dtdinst \- XML DTD to XML instance format converter
+.SH SYNOPSIS
+\fBdtdinst\fR \fB[ \-i ]\fR \fB[ \-r \fIdir\fB ]\fR \fIDTD\fR
+.SH DESCRIPTION
+.B dtdinst
+writes an XML representation of the DTD in DTDinst format to the standard
+output.
+.SH OPTIONS
+.TP
+\fB\-r \fIdir\fR
+make DTDinst write one or more files containing a RELAX NG schema to the
+directory \fIdir\fR.
+.TP
+\fI\-i\fR
+inline ATTLIST declarations. Without this option, DTDinst will generate a define
+in the RELAX NG schema for each ATTLIST declaration in the DTD. With this
+option, DTDinst will move the patterns generated from ATTLIST declarations into
+the corresponding element pattern.
--- jing-trang-20091111.orig/debian/jing.manpages
+++ jing-trang-20091111/debian/jing.manpages
@@ -0,0 +1 @@
+gcj/jing.1
--- jing-trang-20091111.orig/debian/compat
+++ jing-trang-20091111/debian/compat
@@ -0,0 +1 @@
+7
--- jing-trang-20091111.orig/debian/trang.install
+++ jing-trang-20091111/debian/trang.install
@@ -0,0 +1 @@
+debian/bin/trang /usr/bin
--- jing-trang-20091111.orig/debian/watch
+++ jing-trang-20091111/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://code.google.com/p/jing-trang/downloads/list http://jing-trang.googlecode.com/files/trang-([\d]*).zip
--- jing-trang-20091111.orig/debian/README.source
+++ jing-trang-20091111/debian/README.source
@@ -0,0 +1,20 @@
+The Debian tarball is a checkout of the subversion repository
+
+http://jing-trang.googlecode.com/svn/trunk
+
+corresponding to the version released on the jing-trang website, except a bunch
+of deletions for various reasons, as can been between the upstream-import (raw
+svn) and upstream (cleaned) git branches:
+
+- doc/gcapaper.rng: unsure copyright,
+- doc/xhtml-inlpres-1.mod: becomes useless,
+- doc/xhtml-table-1.mod: likewise,
+- gcj/crimson-1.1.3-src.tar.gz: external work, provided as a Debian dependency,
+- gcj/crimson.copying.txt: likewise,
+- gcj/crimson.patch: likewise,
+- gcj/Xerces-J-src.2.3.0.tar.gz: likewise,
+- gcj/xerces-regex.patch: likewise,
+- gcj/xerces.copying.txt: likewise,
+- lib/*: likewise,
+- mod/dtdinst/test/*: unsure copyright,
+- mod/schematron/src/main/com/thaiopensource/validate/schematron/resources/schematron.rnc: unsure copyright.
--- jing-trang-20091111.orig/debian/trang.manpages
+++ jing-trang-20091111/debian/trang.manpages
@@ -0,0 +1 @@
+gcj/trang.1
--- jing-trang-20091111.orig/debian/libtrang-java.install
+++ jing-trang-20091111/debian/libtrang-java.install
@@ -0,0 +1 @@
+build/trang-20090818.jar /usr/share/java
--- jing-trang-20091111.orig/debian/xhtml-relaxng.dirs
+++ jing-trang-20091111/debian/xhtml-relaxng.dirs
@@ -0,0 +1 @@
+/usr/share/xml/xhtml-relaxng
--- jing-trang-20091111.orig/debian/rules
+++ jing-trang-20091111/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+JAVAC=javac
+JAVADOC=javadoc
+JAR=jar
+
+JAVACLASSES=/usr/share/java
+CLASSPATH=$(JAVACLASSES)/isorelax.jar:$(JAVACLASSES)/xml-apis-ext.jar:$(JAVACLASSES)/xercesImpl.jar:$(JAVACLASSES)/saxon.jar:$(JAVACLASSES)/openoffice/saxon9.jar:$(JAVACLASSES)/xalan2.jar:$(JAVACLASSES)/testng.jar:$(JAVACLASSES)/xml-commons-resolver-1.1.jar
+
+VERSION=20090818
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	CLASSPATH=$(CLASSPATH) ant -buildfile build.xml
+
+	mkdir build/doc
+	cp -a dtdinst build/doc/
+	rm build/doc/dtdinst/copying.txt
+	cp eg/relaxng.rng build/doc/
+	cp eg/xslt.rng build/doc/
+	cp convert/from-relax.xsl build/doc/
+	cp convert/simplify.xsl build/doc/
+	cp eg/relaxCore.rng build/doc/
+	cp eg/relaxCoreDatatypes.rng build/doc/
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	rm -fr build
+	rm -f modbuild.xml modules.xml
+
+	dh_clean
+
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	ln build/jing.jar build/jing-$(VERSION).jar
+	ln build/trang.jar build/trang-$(VERSION).jar
+	ln build/dtdinst.jar build/dtdinst-$(VERSION).jar
+	dh_installdirs
+	dh_installchangelogs
+	dh_installdocs
+	dh_installman
+	dh_install
+	cp -a xhtml/* debian/xhtml-relaxng/usr/share/xml/xhtml-relaxng
+	dh_link -plibjing-java /usr/share/java/jing-$(VERSION).jar /usr/share/java/jing.jar
+	dh_link -plibtrang-java /usr/share/java/trang-$(VERSION).jar /usr/share/java/trang.jar
+	dh_link -plibdtdinst-java /usr/share/java/dtdinst-$(VERSION).jar /usr/share/java/dtdinst.jar
+	dh_link -pjing-trang-doc /usr/share/xml/xhtml-relaxng /usr/share/doc/jing-trang-doc/doc/xhtml
+	dh_compress -X.rng -X.xsl
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- jing-trang-20091111.orig/debian/control
+++ jing-trang-20091111/debian/control
@@ -0,0 +1,96 @@
+Source: jing-trang
+Priority: extra
+Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
+Uploaders: Samuel Thibault <sthibault@debian.org>
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: default-jdk, ant, ant-optional, testng, javacc, libsaxon-java, libxerces2-java, libxalan2-java, libisorelax-java, openoffice.org-java-common, libxml-commons-resolver1.1-java, unicode-data
+Standards-Version: 3.9.1
+Section: java
+Homepage: http://code.google.com/p/jing-trang/
+Vcs-Browser: http://git.debian.org/?p=collab-maint/jing.git;a=summary
+Vcs-Git: git://git.debian.org/git/collab-maint/jing.git
+
+Package: libjing-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, libxerces2-java, libxalan2-java, libsaxon-java, libisorelax-java
+Description: RELAX NG validator - library
+ This provides a validator for
+  - RELAX NG 1.0 Specification,
+  - RELAX NG Compact Syntax, and
+  - parts of RELAX NG DTD Compatibility, specifically checking of
+ ID/IDREF/IDREFS.
+ .
+ This package contains the Java library
+
+Package: jing
+Section: text
+Architecture: all
+Depends: ${misc:Depends}, default-jre | java2-runtime, libjing-java
+Description: RELAX NG validator
+ This provides a validator for
+  - RELAX NG 1.0 Specification,
+  - RELAX NG Compact Syntax, and
+  - parts of RELAX NG DTD Compatibility, specifically checking of
+ ID/IDREF/IDREFS.
+
+Package: libtrang-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, libxml-commons-resolver1.1-java
+Description: XML schema converter - Java library
+ Trang converts between different schema languages for XML. It supports the
+ following languages:
+  - RELAX NG (XML syntax)
+  - RELAX NG compact syntax
+  - XML 1.0 DTDs
+  - W3C XML Schema
+ .
+ This package contains the Java library
+
+Package: trang
+Section: text
+Architecture: all
+Depends: ${misc:Depends}, default-jre | java2-runtime, libtrang-java
+Description: XML schema converter
+ Trang converts between different schema languages for XML. It supports the
+ following languages:
+  - RELAX NG (XML syntax)
+  - RELAX NG compact syntax
+  - XML 1.0 DTDs
+  - W3C XML Schema
+
+Package: libdtdinst-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Description: XML DTD to XML instance format converter - Java library
+ dtdinst converts XML DTDs into XML instance format. The XML instance can be in
+ either a format specific to DTDinst or RELAX NG format.
+ .
+ This package contains the Java library
+
+Package: dtdinst
+Section: text
+Architecture: all
+Depends: ${misc:Depends}, default-jre | java2-runtime, libdtdinst-java
+Description: XML DTD to XML instance format converter
+ dtdinst converts XML DTDs into XML instance format. The XML instance can be in
+ either a format specific to DTDinst or RELAX NG format.
+
+Package: jing-trang-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Jing Trang and dtdinst documentation
+ This package provides documentation for libjing-java, libtrang-java, and
+ libdtdinst-java
+
+Package: xhtml-relaxng
+Section: misc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Implementation in RELAX NG of the modularization of XHTML
+ This package contains an implementataion in RELAX NG of the modularization of
+ XHTML specified by the Modularization of XHTML Recommendation
+ .
+ The RELAX NG schema has not been mechanically derived from the DTDs.  Rather,
+ it has been hand-crafted so as to produce a good quality RELAX NG schema.
+ However, it may well contain bugs.
--- jing-trang-20091111.orig/debian/jing.install
+++ jing-trang-20091111/debian/jing.install
@@ -0,0 +1 @@
+debian/bin/jing /usr/bin
--- jing-trang-20091111.orig/debian/libjing-java.install
+++ jing-trang-20091111/debian/libjing-java.install
@@ -0,0 +1 @@
+build/jing-20090818.jar /usr/share/java
--- jing-trang-20091111.orig/debian/jing-trang-doc.docs
+++ jing-trang-20091111/debian/jing-trang-doc.docs
@@ -0,0 +1,3 @@
+doc
+trang/doc
+build/doc
--- jing-trang-20091111.orig/debian/libdtdinst-java.install
+++ jing-trang-20091111/debian/libdtdinst-java.install
@@ -0,0 +1 @@
+build/dtdinst-20090818.jar /usr/share/java
--- jing-trang-20091111.orig/debian/changelog
+++ jing-trang-20091111/debian/changelog
@@ -0,0 +1,43 @@
+jing-trang (20091111-3) unstable; urgency=low
+
+  * debian/control:
+    - Make libjing-java, libtrang-java, and libdtdinst-java depend
+    on headless java.
+    - Bump Standards-Version to 3.9.1 (no change needed).
+
+ -- Samuel Thibault <sthibault@debian.org>  Tue, 24 Aug 2010 21:23:21 +0200
+
+jing-trang (20091111-2) unstable; urgency=low
+
+  * debian/control:
+    - Bump Standards-Version to 3.8.4 (no change needed).
+    - Remove gij | java-virtual-machine Dependency from jing,
+    trang and dtdinst (Closes: #573380).
+
+ -- Samuel Thibault <sthibault@debian.org>  Thu, 28 Jan 2010 00:01:06 +0100
+
+jing-trang (20091111-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: Remove duplicate Section: java field.
+  * debian/dtdinst.1: Fix minus sign.
+  * debian/control: Fix duplicate short descriptions.
+  * debian/watch: Add.
+  * debian/jing-trang-doc.doc-base: Add.
+
+ -- Samuel Thibault <sthibault@debian.org>  Wed, 13 Jan 2010 01:02:13 +0100
+
+jing-trang (20090818-2) unstable; urgency=low
+
+  * Add a debian/README.source file explaining how the Debian tarball is
+    built.
+  * debian/control: Set the Debian XML/SGML Group as Maintainer.
+  * debian/copyright: Document why some parts were dropped.
+
+ -- Samuel Thibault <sthibault@debian.org>  Fri, 01 Jan 2010 00:00:00 +0100
+
+jing-trang (20090818-1) unstable; urgency=low
+
+  * Initial release (Closes: #544547)
+
+ -- Samuel Thibault <sthibault@debian.org>  Tue, 01 Sep 2009 15:53:03 +0200
--- jing-trang-20091111.orig/debian/dtdinst.install
+++ jing-trang-20091111/debian/dtdinst.install
@@ -0,0 +1 @@
+debian/bin/dtdinst /usr/bin
--- jing-trang-20091111.orig/debian/bin/dtdinst
+++ jing-trang-20091111/debian/bin/dtdinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ "$1" = "classpath" ]
+then
+  CLASSPATH="$2"
+  shift 2
+fi
+
+JAVACLASSES=/usr/share/java
+CLASSPATH="${CLASSPATH:-.}:$JAVACLASSES/dtdinst.jar"
+
+export CLASSPATH
+
+exec java com.thaiopensource.xml.dtd.app.Driver "$@"
--- jing-trang-20091111.orig/debian/bin/jing
+++ jing-trang-20091111/debian/bin/jing
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ "$1" = "classpath" ]
+then
+  CLASSPATH="$2"
+  shift 2
+fi
+
+JAVACLASSES=/usr/share/java
+CLASSPATH="${CLASSPATH:-.}:$JAVACLASSES/jing.jar"
+
+export CLASSPATH
+
+exec java com.thaiopensource.relaxng.util.Driver "$@"
--- jing-trang-20091111.orig/debian/bin/trang
+++ jing-trang-20091111/debian/bin/trang
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ "$1" = "classpath" ]
+then
+  CLASSPATH="$2"
+  shift 2
+fi
+
+JAVACLASSES=/usr/share/java
+CLASSPATH="${CLASSPATH:-.}:$JAVACLASSES/trang.jar"
+
+export CLASSPATH
+
+exec java com.thaiopensource.relaxng.translate.Driver "$@"