debian/0000755000000000000000000000000012247134612007170 5ustar debian/rules0000755000000000000000000000050212214247301010237 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_UPSTREAM_VERSION2 := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/.dfsg//') get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION2) --force-download --rename debian/maven.rules0000644000000000000000000000013212145352354011350 0ustar s/jdom/org.jdom/ jdom jar s/1\..*/debian/ * * net.sf.saxon Saxon-HE jar s/9\..*/9.x/ * * debian/maven.ignoreRules0000644000000000000000000000000112145352354012507 0ustar debian/watch0000644000000000000000000000021312214247301010207 0ustar version=3 opts=dversionmangle=s/\.dfsg// \ https://dev.saxonica.com/repos/archive/opensource/tags/ (\d.*)/ \ debian debian/orig-tar.sh debian/changelog0000644000000000000000000000024012214247301011030 0ustar saxonhe (9.4.0.7.dfsg-1) unstable; urgency=low * Initial release. Closes: #708214 -- Eugene Zhukov Fri, 17 May 2013 11:28:26 +0000 debian/maven.properties0000644000000000000000000000000012157532307012405 0ustar debian/orig-tar.sh0000755000000000000000000000100412214247301011240 0ustar #!/bin/sh -e VERSION=$2 TAR=../saxonhe_$VERSION.dfsg.orig.tar.gz DIR=saxonhe-$VERSION SRC_DIR=$DIR/src/main/java TAG="$VERSION" svn export https://www.saxonica.co.uk/repos/archive/opensource/tags/${TAG}/hej/ $SRC_DIR tar -c -z -f $TAR --exclude 'net/sf/saxon/dotnet' --exclude 'net/sf/saxon/option' --exclude 'javax' --exclude 'net/sf/saxon/xqj' $SRC_DIR rm -rf $DIR ../$TAG # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir && echo "moved $TAR to $origDir" fi debian/README.Debian0000644000000000000000000000403012213122677011227 0ustar Some source java files from upstream were removed. Namely all files from directory: net/sf/saxon/xqj/* indeed: saxonhe-9.4.0.7\src\main\java\javax\xml\xquery\*: Copyright # 2003, 2004, 2005, 2006, 2007, 2008 Oracle. All rights reserved. are licensed under non-free terms: [...] (c) does not modify, subset, superset or otherwise extend those public class or interface declarations whose names begin with "Java" [...] ref: http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/2013-September/043308.html full text: ---------- Forwarded message ---------- From: Michael Kay Date: Mon, Sep 2, 2013 at 11:24 PM Subject: Re: Saxon-HE copyright To: Eugene Zhukov These Java interface definitions are taken from the XQJ specification, JSR 225, which you can find here: http://jcp.org/aboutJava/communityprocess/final/jsr225/index.html along with the licensing terms. An extract of the license is: In addition, to the extent that an implementation of the Specification would be considered a derivative work under applicable law requiring a license grant from the holder of the copyright in the Specification, the Spec Lead grants a copyright license solely for the purpose of making and/or distributing an implementation of the Specification that: (a) except for the RI code licensed from Oracle under the RI License which is attached hereto as Exhibit B, does not include or otherwise make any use of the RI; (b) fully implements the Specification including all of its required interfaces and functionality; (c) does not modify, subset, superset or otherwise extend those public class or interface declarations whose names begin with “java;” and (d) passes the TCK. In other words: Saxon, as an implementation of the XQJ specification, takes advantage of the copyright license granted by Oracle, and satisifies the terms of this license insofar as it is a complete implementation of the specification and passes the TCK. NOTE: I am not a lawyer and this is not legal advice. Michael Kay Saxonica debian/control0000644000000000000000000000160112247070703010571 0ustar Source: saxonhe Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Eugene Zhukov Build-Depends: debhelper (>= 8), cdbs, default-jdk, maven-debian-helper (>= 1.6.1) Build-Depends-Indep: libmaven-antrun-plugin-java, libdom4j-java, libjdom1-java (>= 1.1), libxml-commons-resolver1.1-java (>= 1.2), libxom-java Standards-Version: 3.9.4 Vcs-Svn: svn://alioth.debian.org/svn/pkg-java/trunk/saxonhe Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/saxonhe/ Homepage: http://www.saxonica.com/ Package: libsaxonhe-java Architecture: all Depends: ${misc:Depends}, ${maven:Depends} Recommends: ${maven:OptionalDepends} Description: Saxon-HE The XSLT and XQuery Processor. It provides implementations of XSLT 2.0, XQuery 1.0 and XPath 2.0 at the basic level of conformance defined by W3C. debian/copyright0000644000000000000000000000312112247067561011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Saxon-HE Source: http://www.saxonica.com/ Files: * Copyright: 1999-2013, Saxonica License: MPL-1.0 The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ . Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. . The Original Code is Saxon-HE - The XSLT and XQuery Processor. . The Initial Developer of the Original Code is Michael H. Kay. Comment: The complete text of the Mozilla Public License can be found in the `MPL' file in the same directory as this file. Files: src/main/java/net/sf/saxon/expr/sort/GenericSorter.java Copyright: 1999 CERN - European Organization for Nuclear Research. License: Permission to use, copy, moNumbererdify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. CERN makes no representations about the suitability of this software for any purpose. It is provided "as is" without expressed or implied warranty. Files: debian/* Copyright: 2013, Eugene Zhukov License: MPL-1.0 same as above debian/maven.cleanIgnoreRules0000644000000000000000000000000112145352354013452 0ustar debian/source/0000755000000000000000000000000012247134153010470 5ustar debian/source/format0000644000000000000000000000001412145352354011700 0ustar 3.0 (quilt) debian/libsaxonhe-java.poms0000644000000000000000000000320612145352354013146 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --has-package-version debian/compat0000644000000000000000000000000212145352354010370 0ustar 8 debian/maven.publishedRules0000644000000000000000000000005412145352354013213 0ustar net.sf.saxon Saxon-HE jar s/9\..*/9.x/ * * debian/README.source0000644000000000000000000000107312157532307011353 0ustar Information about saxonhe ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. The pom.xml provided by patch is my own work. src/main/java/net/sf/saxon/dotnet and src/main/java/net/sf/saxon/option packages are dropped as they are also omitted from original build process by Saxonica. -- Eugene Zhukov Fri, 17 May 2013 11:19:39 +0000 debian/patches/0000755000000000000000000000000012247134153010617 5ustar debian/patches/pom_added.patch0000644000000000000000000001052312157532307013560 0ustar Description: Adds pom.xml for building * The pom.xml created for packaging purposes Author: Eugene Zhukov Last-Update: 2013-06-17 --- /dev/null +++ b/pom.xml @@ -0,0 +1,130 @@ + + + 4.0.0 + net.sf.saxon + Saxon-HE + 9.4.0.7 + jar + + Saxon-HE + The XSLT and XQuery Processor + http://www.saxonica.com/ + + + + Mozilla Public License Version 1.0 + http://www.mozilla.org/MPL/1.0/ + repo + + + + + target/config + target/edition + UTF-8 + + + + + org.jdom + jdom + 1.1 + compile + + + + xom + xom + 1.2.5 + compile + + + + dom4j + dom4j + 1.6.1 + + + + xml-resolver + xml-resolver + 1.2 + + + + + org.sonatype.oss + oss-parent + 7 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + ISO-8859-1 + 1.6 + 1.6 + + + + + + + ${configs.path} + META-INF + + + ${edition.properties} + . + + + + + maven-antrun-plugin + 1.6 + + + generate-resources + + + + + net.sf.saxon.xpath.XPathFactoryImpl +http\://java.sun.com/jaxp/xpath/dom: net.sf.saxon.xpath.XPathFactoryImpl +http\://saxon.sf.net/jaxp/xpath/om: net.sf.saxon.xpath.XPathFactoryImpl + + + config=net.sf.saxon.Configuration +platform=net.sf.saxon.java.JavaPlatform + + + + + run + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + custom + /usr/share/java/$${artifact.artifactId}.$${artifact.extension} + net.sf.saxon.Transform + + + + + + + debian/patches/series0000644000000000000000000000002012157532307012027 0ustar pom_added.patch