This is an automated email from the git hooks/post-receive script. mithrandi pushed a commit to branch master in repository css2xslfo.
commit 6b602dc85b2efd316d8fe9d23d4f194308dd7731 Author: Tristan Seligmann <[email protected]> Date: Wed Oct 31 13:15:37 2012 +0200 Imported Debian patch 1.6.2-1 --- debian/bin/css2xslfo | 8 ++++ debian/changelog | 5 ++ debian/compat | 1 + debian/control | 19 ++++++++ debian/copyright | 88 ++++++++++++++++++++++++++++++++++ debian/css2xslfo.install | 2 + debian/patches/build-modified-libs | 69 ++++++++++++++++++++++++++ debian/patches/remove-ant-webdav-stuff | 32 +++++++++++++ debian/patches/series | 2 + debian/rules | 15 ++++++ debian/source/format | 1 + debian/source/lintian-overrides | 2 + debian/watch | 3 ++ 13 files changed, 247 insertions(+) diff --git a/debian/bin/css2xslfo b/debian/bin/css2xslfo new file mode 100644 index 0000000..3f466e7 --- /dev/null +++ b/debian/bin/css2xslfo @@ -0,0 +1,8 @@ +#!/bin/sh + +CSS2XSLFO_JAR=/usr/share/css2xslfo/css2xslfo1_6_2.jar + +. /usr/lib/java-wrappers/java-wrappers.sh + +find_java_runtime +run_java -jar $CSS2XSLFO_JAR $extra_args "$@" diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ee6aaa4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +css2xslfo (1.6.2-1) UNRELEASED; urgency=low + + * Initial release. (Closes: #694591) + + -- Tristan Seligmann <[email protected]> Wed, 31 Oct 2012 13:15:37 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f199b44 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: css2xslfo +Section: java +Priority: optional +Maintainer: Tristan Seligmann <[email protected]> +Build-Depends: ant, debhelper (>= 7), javahelper, default-jdk +Build-Depends-Indep: +Homepage: http://www.re.be/css2xslfo/ +Standards-Version: 3.9.5 + +Package: css2xslfo +Architecture: all +Depends: default-jre-headless, java-wrappers, ${misc:Depends} +Description: XML+CSS2 to XSL-FO converter + CSSToXSLFO is a utility which can convert an XML document, together with a + CSS2 style sheet, into an XSL-FO document, which can then be converted into + PDF, PostScript, etc. with an XSL-FO-processor. It has special support for the + XHTML vocabulary, because that is the most obvious language it would be used + for. The tool has a number of page-related extensions. It also comes with an + API in the form of an XML filter. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8489997 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,88 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: CSSToXSLFO +Upstream-Contact: [email protected] +Source: http://www.re.be/css2xslfo/index.xhtml + +Files: * +Copyright: Public Domain +License: permissive + All rights granted. + . + This software is free and will remain free. + . + To use at your own responsibility. +Comment: + In addition to this permissive license statement, upstream claims to have + placed this work in the public domain, and no copyright statement is present. + +Files: debian/* +Copyright: 2013-2014 Tristan Seligmann <[email protected]> +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: lib_src/flute_src.zip lib_src/sac_src.zip +Copyright: 1994-2000, 2002 World Wide Web Consortium, + (Massachusetts Institute of Technology, Institut National de Recherche en + Informatique et en Automatique, Keio University). +License: W3C + +Files: lib_src/flute_src.zip lib_src/sac_src.zip +Copyright: 1994-2002 World Wide Web Consortium, + (Massachusetts Institute of Technology, Institut National de Recherche en + Informatique et en Automatique, Keio University). +License: W3C + +License: W3C + 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, and modify 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 © 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/" + 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. diff --git a/debian/css2xslfo.install b/debian/css2xslfo.install new file mode 100644 index 0000000..1cc08fa --- /dev/null +++ b/debian/css2xslfo.install @@ -0,0 +1,2 @@ +bin/css2xslfo*.jar /usr/share/css2xslfo +debian/bin/css2xslfo /usr/bin diff --git a/debian/patches/build-modified-libs b/debian/patches/build-modified-libs new file mode 100644 index 0000000..aee3489 --- /dev/null +++ b/debian/patches/build-modified-libs @@ -0,0 +1,69 @@ +Description: Build modified versions of libs + Upstream makes use of significantly modified versions of SAC/Flute. In + particular, CSS3 support has been added. Fortunately, the source code for + these modified versions is included, but we need to actually build them from + source and use the modified versions rather than the versions packaged in + Debian. +Author: Tristan Seligmann <[email protected]> +Last-Update: 2014-01-19 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: css2xslfo/build.xml +=================================================================== +--- css2xslfo.orig/build.xml 2014-01-19 11:51:16.578481963 +0200 ++++ css2xslfo/build.xml 2014-01-19 11:51:42.534900467 +0200 +@@ -4,18 +4,10 @@ + <property name="version" value="1_6_2" /> + <property name="view" value="csstoxslfo_release" /> + +- <fileset id="compile-classpath" dir="lib"> +- <include name="flute.jar" /> +- <include name="sac.jar" /> +- <include name="stax-api-1.0.1.jar" /> ++ <fileset id="compile-classpath" dir="/usr/share/java"> ++ <include name="stax-api.jar" /> + </fileset> + +- <patternset id="lib-include"> +- <include name="lib/flute.jar" /> +- <include name="lib/sac.jar" /> +- <include name="lib/stax-api-1.0.1.jar" /> +- </patternset> +- + <!-- Main targets --> + <target name="all" depends="xslfo" /> + +@@ -48,7 +40,7 @@ + </target> + + <target name="compile-css2xslfo" depends="init"> +- <javac debug="on" debuglevel="lines,vars,source" srcdir="src" destdir="classes"> ++ <javac debug="on" debuglevel="lines,vars,source" srcdir="src:lib_src/sac:lib_src/flute" destdir="classes"> + <classpath> + <fileset refid="compile-classpath" /> + </classpath> +@@ -172,14 +164,21 @@ + <tstamp /> + <mkdir dir="classes" /> + <mkdir dir="bin" /> ++ <unzip src="lib_src/sac_src.zip" dest="lib_src/sac"> ++ <patternset> ++ <include name="**/*.java" /> ++ </patternset> ++ </unzip> ++ <unzip src="lib_src/flute_src.zip" dest="lib_src/flute"> ++ <patternset> ++ <include name="**/*.java" /> ++ </patternset> ++ </unzip> + </target> + + <target name="jar"> + <jar destfile="bin/${variant}${version}.jar" manifest="res/MANIFEST_${variant}.MF"> + <fileset dir="classes" /> +- <zipgroupfileset dir="."> +- <patternset refid="lib-include" /> +- </zipgroupfileset> + <fileset dir="src"> + <include name="META-INF/**" /> + </fileset> diff --git a/debian/patches/remove-ant-webdav-stuff b/debian/patches/remove-ant-webdav-stuff new file mode 100644 index 0000000..4879489 --- /dev/null +++ b/debian/patches/remove-ant-webdav-stuff @@ -0,0 +1,32 @@ +Description: Remove WebDAV sync from build.xml + build.xml includes a task used by the upstream author to copy the source + somewhere else using WebDAV. This is obviously not appropriate for anything + other than the upstream author's development environment. +Author: Tristan Seligmann <[email protected]> +Last-Update: 2014-01-19 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- css2xslfo-1.6.2.orig/build.xml ++++ css2xslfo-1.6.2/build.xml +@@ -4,8 +4,6 @@ + <property name="version" value="1_6_2" /> + <property name="view" value="csstoxslfo_release" /> + +- <taskdef name="webdav-sync" classname="be.re.webdav.cmd.SyncAntTask" classpath="${user.home}/bin/webdav_sync.jar" /> +- + <fileset id="compile-classpath" dir="lib"> + <include name="flute.jar" /> + <include name="sac.jar" /> +@@ -174,12 +172,6 @@ + <tstamp /> + <mkdir dir="classes" /> + <mkdir dir="bin" /> +- <webdav-sync url="https://[email protected]/view/${view}/java/src/" directory="src" direction="down" /> +- <webdav-sync url="https://[email protected]/view/${view}/java/lib/" directory="lib" direction="down" /> +- <webdav-sync url="https://[email protected]/view/${view}/java/applications/css2xslfo/doc/" directory="doc" direction="down" /> +- <webdav-sync url="https://[email protected]/view/${view}/java/applications/css2xslfo/res/" directory="res" direction="down" /> +- <webdav-sync url="https://[email protected]/view/${view}/java/applications/css2xslfo/lib_src/" directory="lib_src" direction="down" /> +- <webdav-sync url="https://[email protected]/view/${view}/dtd/" directory="dtd" direction="down" /> + </target> + + <target name="jar"> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..cdcbbfb --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +remove-ant-webdav-stuff +build-modified-libs diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4d37a1b --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f +export JAVA_HOME=/usr/lib/jvm/default-java + +# Build with UTF-8, because of UTF-8 source files +export LANG=C.UTF-8 + +%: + dh $@ --with javahelper + +override_dh_auto_clean: + # Just clean ourselves since build.xml doesn't run unpatched + rm -rf classes lib_src/flute lib_src/sac bin + +override_dh_installchangelogs: + dh_installchangelogs -k res/release_notes.txt diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..9eb2147 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# Upstream releases are unfortunately not signed +css2xslfo source: debian-watch-may-check-gpg-signature diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1f28ae0 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/css2xslfo/css2xslfo(\d+)_(\d+)_(\d+)_src.zip \ + debian jh_repack -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/css2xslfo.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

