Author: malat-guest Date: 2010-02-23 13:08:09 +0000 (Tue, 23 Feb 2010) New Revision: 11687
Added: trunk/xslthl/ trunk/xslthl/debian/ trunk/xslthl/debian/changelog trunk/xslthl/debian/compat trunk/xslthl/debian/control trunk/xslthl/debian/copyright trunk/xslthl/debian/get-orig-source trunk/xslthl/debian/libxslthl-java.install trunk/xslthl/debian/libxslthl-java.jlibs trunk/xslthl/debian/rules trunk/xslthl/debian/watch Log: import xslthl on pkg-java Added: trunk/xslthl/debian/changelog =================================================================== --- trunk/xslthl/debian/changelog (rev 0) +++ trunk/xslthl/debian/changelog 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1,5 @@ +xslthl (2.0.1-1) unstable; urgency=low + + * Initial version. Closes: #570932 + + -- Mathieu Malaterre (malat) <[email protected]> Mon, 22 Feb 2010 11:31:00 +0100 Property changes on: trunk/xslthl/debian/changelog ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/compat =================================================================== --- trunk/xslthl/debian/compat (rev 0) +++ trunk/xslthl/debian/compat 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1 @@ +7 Property changes on: trunk/xslthl/debian/compat ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/control =================================================================== --- trunk/xslthl/debian/control (rev 0) +++ trunk/xslthl/debian/control 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1,19 @@ +Source: xslthl +Section: text +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Mathieu Malaterre (malat) <[email protected]> +Build-Depends: debhelper (>= 7), javahelper +Build-Depends-Indep: default-jdk-builddep, libsaxon-java, libsaxonb-java, libxalan2-java +Standards-Version: 3.8.4 + +Package: libxslthl-java +Section: java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Description: XSLT syntax highlighting + This is an implementation of syntax highlighting as an extension module for + XSLT processors + . + Article about programming written in DocBook, code examples can be + automatically syntax highlighted during the XSLT processing phase. Property changes on: trunk/xslthl/debian/control ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/copyright =================================================================== --- trunk/xslthl/debian/copyright (rev 0) +++ trunk/xslthl/debian/copyright 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1,33 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: xslthl +Maintainer: Mathieu Malaterre +Source: http://xslthl.sourceforge.net/ + +Files: * +Copyright: 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks +License: + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +Files: debian/* +Copyright: 2009; Mathieu Malaterre (malat) <[email protected]> +License: GPL-2+ + +License: GPL-2+ + On Debian GNU/Linux system you can find the complete text of the + GNU General Public License version 2 license in + '/usr/share/common-licenses/GPL-2'. + Property changes on: trunk/xslthl/debian/copyright ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/get-orig-source =================================================================== --- trunk/xslthl/debian/get-orig-source (rev 0) +++ trunk/xslthl/debian/get-orig-source 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1,33 @@ +#!/bin/sh +# I could not find the src on the sf.net download page. +# Instead pull down the svn tree +set -ex + +PACKAGE=xslthl + +VERSION=${VERSION:-$2} +TARFILE=${TARFILE:-$3} + +if [ -z ${VERSION}]; then +VERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'` +fi + +REVISION=`echo $VERSION | sed -e 's/^.*svn//g'` +#REVISION=10509 +FOLDER=${PACKAGE}-${VERSION} + +if [ -z ${TARFILE}]; then +TARFILE=${PACKAGE}_${VERSION}.orig.tar.gz +fi + +#svn export --quiet --revision ${REVISION} http://xslthl.svn.sourceforge.net/svnroot/xslthl/tags/v2_0_1/ ${FOLDER} +svn export --quiet http://xslthl.svn.sourceforge.net/svnroot/xslthl/tags/v2_0_1/ ${FOLDER} + +cd ${FOLDER} +# saxon6 / saxon9 / xalan are packaged inside the source... +rm -rf ./lib +cd .. + +GZIP=-9 tar czf ${TARFILE} ${FOLDER} +rm -rf ${FOLDER} + Property changes on: trunk/xslthl/debian/get-orig-source ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/libxslthl-java.install =================================================================== --- trunk/xslthl/debian/libxslthl-java.install (rev 0) +++ trunk/xslthl/debian/libxslthl-java.install 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1 @@ +highlighters /usr/share/xslthl Property changes on: trunk/xslthl/debian/libxslthl-java.install ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/libxslthl-java.jlibs =================================================================== --- trunk/xslthl/debian/libxslthl-java.jlibs (rev 0) +++ trunk/xslthl/debian/libxslthl-java.jlibs 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1 @@ +xslthl.jar Added: trunk/xslthl/debian/rules =================================================================== --- trunk/xslthl/debian/rules (rev 0) +++ trunk/xslthl/debian/rules 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1,50 @@ +#!/usr/bin/make -f + +export JAVA_HOME=/usr/lib/jvm/default-java +export CLASSPATH=/usr/share/java/saxon.jar:/usr/share/java/saxonb.jar:/usr/share/java/xalan2.jar + +build: build-stamp +build-stamp: + dh_testdir + jh_build xslthl.jar src + touch $@ + +clean: + dh_testdir + dh_testroot + jh_build --clean + dh_clean + rm -f build-stamp xslthl.jar + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + +binary-arch: build install + # Java packages are arch: all, nothing to do here + +binary-indep: build install + # Create the package here + dh_testdir + dh_testroot + dh_prep + dh_install -i + dh_installdocs -i + dh_installchangelogs -i + #dh_javadoc -i --sourcedir=src + jh_libs -i + jh_depends -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +get-orig-source: + ./debian/get-orig-source + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install Property changes on: trunk/xslthl/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: trunk/xslthl/debian/watch =================================================================== --- trunk/xslthl/debian/watch (rev 0) +++ trunk/xslthl/debian/watch 2010-02-23 13:08:09 UTC (rev 11687) @@ -0,0 +1,2 @@ +version=3 +http://sf.net/xslthl/xslthl-([\d\.]+)\.tar\.gz Property changes on: trunk/xslthl/debian/watch ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

