Author: eugene-guest Date: 2013-05-17 06:57:48 +0000 (Fri, 17 May 2013) New Revision: 16681
Added: trunk/saxonhe/ trunk/saxonhe/debian/ trunk/saxonhe/debian/README.source trunk/saxonhe/debian/changelog trunk/saxonhe/debian/compat trunk/saxonhe/debian/control trunk/saxonhe/debian/copyright trunk/saxonhe/debian/libsaxonhe-java.poms trunk/saxonhe/debian/maven.cleanIgnoreRules trunk/saxonhe/debian/maven.ignoreRules trunk/saxonhe/debian/maven.properties trunk/saxonhe/debian/maven.publishedRules trunk/saxonhe/debian/maven.rules trunk/saxonhe/debian/orig-tar.sh trunk/saxonhe/debian/patches/ trunk/saxonhe/debian/patches/maven.patch trunk/saxonhe/debian/patches/series trunk/saxonhe/debian/rules trunk/saxonhe/debian/source/ trunk/saxonhe/debian/source/format trunk/saxonhe/debian/watch Log: initial import Added: trunk/saxonhe/debian/README.source =================================================================== --- trunk/saxonhe/debian/README.source (rev 0) +++ trunk/saxonhe/debian/README.source 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,9 @@ +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. Added: trunk/saxonhe/debian/changelog =================================================================== --- trunk/saxonhe/debian/changelog (rev 0) +++ trunk/saxonhe/debian/changelog 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,5 @@ +saxonhe (9.4.0.7-1) UNRELEASED; urgency=low + + * Initial release + + -- Eugene Zhukov <[email protected]> Thu, 02 May 2013 08:28:39 +0000 Added: trunk/saxonhe/debian/compat =================================================================== --- trunk/saxonhe/debian/compat (rev 0) +++ trunk/saxonhe/debian/compat 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1 @@ +8 Added: trunk/saxonhe/debian/control =================================================================== --- trunk/saxonhe/debian/control (rev 0) +++ trunk/saxonhe/debian/control 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,18 @@ +Source: saxonhe +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Eugene Zhukov <[email protected]> +Build-Depends: debhelper (>= 8), cdbs, default-jdk, maven-debian-helper (>= 1.6.1), libmaven-antrun-plugin-java +Standards-Version: 3.9.4 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/saxonhe +Vcs-Browser: http://svn.debian.org/wsvn/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 + Added: trunk/saxonhe/debian/copyright =================================================================== --- trunk/saxonhe/debian/copyright (rev 0) +++ trunk/saxonhe/debian/copyright 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,19 @@ +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: Mozilla Public License version 1.0 + +Files: debian/* +Copyright: 2013, Eugene Zhukov <[email protected]> +License: FreeBSD + +License: FreeBSD + TODO: include the full text of the license here + +License: Mozilla Public License version 1.0 + TODO: include the full text of the license here + + Added: trunk/saxonhe/debian/libsaxonhe-java.poms =================================================================== --- trunk/saxonhe/debian/libsaxonhe-java.poms (rev 0) +++ trunk/saxonhe/debian/libsaxonhe-java.poms 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [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 <parent> tag from the POM +# --package=<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=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: 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>: name to use when installing the library in /usr/share/java +# --usj-version=<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=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --no-parent --has-package-version Added: trunk/saxonhe/debian/maven.cleanIgnoreRules =================================================================== --- trunk/saxonhe/debian/maven.cleanIgnoreRules (rev 0) +++ trunk/saxonhe/debian/maven.cleanIgnoreRules 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1 @@ + Added: trunk/saxonhe/debian/maven.ignoreRules =================================================================== --- trunk/saxonhe/debian/maven.ignoreRules (rev 0) +++ trunk/saxonhe/debian/maven.ignoreRules 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1 @@ + Added: trunk/saxonhe/debian/maven.properties =================================================================== --- trunk/saxonhe/debian/maven.properties (rev 0) +++ trunk/saxonhe/debian/maven.properties 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,2 @@ +project.build.sourceEncoding=UTF-8 +maven.test.skip=true Added: trunk/saxonhe/debian/maven.publishedRules =================================================================== --- trunk/saxonhe/debian/maven.publishedRules (rev 0) +++ trunk/saxonhe/debian/maven.publishedRules 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,2 @@ + +net.sf.saxon Saxon-HE jar s/9\..*/9.x/ * * Added: trunk/saxonhe/debian/maven.rules =================================================================== --- trunk/saxonhe/debian/maven.rules (rev 0) +++ trunk/saxonhe/debian/maven.rules 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,3 @@ + +s/jdom/org.jdom/ jdom jar s/1\..*/debian/ * * +net.sf.saxon Saxon-HE jar s/9\..*/9.x/ * * Added: trunk/saxonhe/debian/orig-tar.sh =================================================================== --- trunk/saxonhe/debian/orig-tar.sh (rev 0) +++ trunk/saxonhe/debian/orig-tar.sh 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,17 @@ +#!/bin/sh -e + +VERSION=$2 +TAR=../saxonhe_$VERSION.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' $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 Property changes on: trunk/saxonhe/debian/orig-tar.sh ___________________________________________________________________ Added: svn:executable + Added: trunk/saxonhe/debian/patches/maven.patch =================================================================== --- trunk/saxonhe/debian/patches/maven.patch (rev 0) +++ trunk/saxonhe/debian/patches/maven.patch 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,163 @@ +Description: <short summary of the patch> + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + saxonhe (9.4.0.7-1) UNRELEASED; urgency=low + . + * Initial release +Author: Eugene Zhukov <[email protected]> + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- /dev/null ++++ saxonhe-9.4.0.7/pom.xml +@@ -0,0 +1,110 @@ ++<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ++ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> ++ ++ <modelVersion>4.0.0</modelVersion> ++ <groupId>net.sf.saxon</groupId> ++ <artifactId>Saxon-HE</artifactId> ++ <version>9.4.0.7</version> ++ <packaging>jar</packaging> ++ ++ <name>Saxon-HE</name> ++ <description>The XSLT and XQuery Processor</description> ++ <url>http://www.saxonica.com/</url> ++ ++ <licenses> ++ <license> ++ <name>Mozilla Public License Version 1.0</name> ++ <url>http://www.mozilla.org/MPL/1.0/</url> ++ <distribution>repo</distribution> ++ </license> ++ </licenses> ++ ++ <properties> ++ <configs.path>target/config</configs.path> ++ </properties> ++ ++ <dependencies> ++ <dependency> ++ <groupId>org.jdom</groupId> ++ <artifactId>jdom</artifactId> ++ <version>1.1</version> ++ <scope>compile</scope> ++ <optional>true</optional> ++ </dependency> ++ ++ <dependency> ++ <groupId>xom</groupId> ++ <artifactId>xom</artifactId> ++ <version>1.2.5</version> ++ <scope>compile</scope> ++ <optional>true</optional> ++ </dependency> ++ ++ <dependency> ++ <groupId>dom4j</groupId> ++ <artifactId>dom4j</artifactId> ++ <version>1.6.1</version> ++ <optional>true</optional> ++ </dependency> ++ ++ <dependency> ++ <groupId>xml-resolver</groupId> ++ <artifactId>xml-resolver</artifactId> ++ <version>1.2</version> ++ <optional>true</optional> ++ </dependency> ++ </dependencies> ++ ++ <parent> ++ <groupId>org.sonatype.oss</groupId> ++ <artifactId>oss-parent</artifactId> ++ <version>7</version> ++ </parent> ++ <build> ++ <pluginManagement> ++ <plugins> ++ <plugin> ++ <groupId>org.apache.maven.plugins</groupId> ++ <artifactId>maven-compiler-plugin</artifactId> ++ <version>2.0.2</version> ++ <configuration> ++ <encoding>ISO-8859-1</encoding> ++ <source>1.6</source> ++ <target>1.6</target> ++ </configuration> ++ </plugin> ++ </plugins> ++ </pluginManagement> ++ <resources> ++ <resource> ++ <directory>${configs.path}</directory> ++ <targetPath>META-INF</targetPath> ++ </resource> ++ </resources> ++ <plugins> ++ <plugin> ++ <artifactId>maven-antrun-plugin</artifactId> ++ <version>1.6</version> ++ <executions> ++ <execution> ++ <phase>generate-resources</phase> ++ <configuration> ++ <target> ++ <mkdir dir="${configs.path}/services"/> ++ <echo file="${configs.path}/services/javax.xml.transform.TransformerFactory" ++ message="net.sf.saxon.TransformerFactoryImpl"/> ++ <echo file="${configs.path}/services/javax.xml.xpath.XPathFactory">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 ++ </echo> ++ </target> ++ </configuration> ++ <goals> ++ <goal>run</goal> ++ </goals> ++ </execution> ++ </executions> ++ </plugin> ++ </plugins> ++ </build> ++</project> +--- saxonhe-9.4.0.7.orig/src/main/java/net/sf/saxon/option/sql/SQLElementFactory.java ++++ saxonhe-9.4.0.7/src/main/java/net/sf/saxon/option/sql/SQLElementFactory.java +@@ -1,6 +1,5 @@ + package net.sf.saxon.option.sql; + +-import com.saxonica.xsltextn.ExtensionElementFactory; + import net.sf.saxon.style.StyleElement; + + /** +@@ -17,7 +16,7 @@ import net.sf.saxon.style.StyleElement; + // Note: despite its package name, this class is not part of Saxon-HE. Rather, it is part of an + // open-source + +-public class SQLElementFactory implements ExtensionElementFactory { ++public class SQLElementFactory { + + /** + * Identify the class to be used for stylesheet elements with a given local name. +@@ -55,4 +54,4 @@ public class SQLElementFactory implement + // Portions created by ___ are Copyright (C) ___. All rights reserved. + // + // Contributor(s): +-// +\ No newline at end of file ++// Added: trunk/saxonhe/debian/patches/series =================================================================== --- trunk/saxonhe/debian/patches/series (rev 0) +++ trunk/saxonhe/debian/patches/series 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1 @@ +maven.patch Added: trunk/saxonhe/debian/rules =================================================================== --- trunk/saxonhe/debian/rules (rev 0) +++ trunk/saxonhe/debian/rules 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,9 @@ +#!/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 + +get-orig-source: + uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename Property changes on: trunk/saxonhe/debian/rules ___________________________________________________________________ Added: svn:executable + Added: trunk/saxonhe/debian/source/format =================================================================== --- trunk/saxonhe/debian/source/format (rev 0) +++ trunk/saxonhe/debian/source/format 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1 @@ +3.0 (quilt) Added: trunk/saxonhe/debian/watch =================================================================== --- trunk/saxonhe/debian/watch (rev 0) +++ trunk/saxonhe/debian/watch 2013-05-17 06:57:48 UTC (rev 16681) @@ -0,0 +1,4 @@ +version=3 + +https://dev.saxonica.com/repos/archive/opensource/tags/ (\d.*)/ \ + debian debian/orig-tar.sh _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

