Author: drazzib-guest Date: 2009-03-21 21:45:32 +0000 (Sat, 21 Mar 2009) New Revision: 8103
Added: trunk/velocity-tools/debian/ trunk/velocity-tools/debian/README.Debian trunk/velocity-tools/debian/TODO trunk/velocity-tools/debian/changelog trunk/velocity-tools/debian/compat trunk/velocity-tools/debian/control trunk/velocity-tools/debian/copyright trunk/velocity-tools/debian/docs trunk/velocity-tools/debian/libvelocity-tools-java-doc.doc-base trunk/velocity-tools/debian/libvelocity-tools-java-doc.examples trunk/velocity-tools/debian/patches/ trunk/velocity-tools/debian/patches/00list trunk/velocity-tools/debian/patches/01_dont_copy_test_lib.dpatch trunk/velocity-tools/debian/rules trunk/velocity-tools/debian/watch Log: [svn-inject] Applying Debian modifications to trunk Property changes on: trunk/velocity-tools/debian ___________________________________________________________________ Name: mergeWithUpstream + 1 Added: trunk/velocity-tools/debian/README.Debian =================================================================== --- trunk/velocity-tools/debian/README.Debian (rev 0) +++ trunk/velocity-tools/debian/README.Debian 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,7 @@ +VelocityStruts module +--------------------- +This package doesn't contains the struts part (a.k.a. VelocityStruts module) +because it need Struts 1.3.x which is not yet in Debian (see Debian bug #419761). +For now, we only provide VelocityView (including Generic tools). + +-- Damien Raude-Morvan <[email protected]> Added: trunk/velocity-tools/debian/TODO =================================================================== --- trunk/velocity-tools/debian/TODO (rev 0) +++ trunk/velocity-tools/debian/TODO 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,4 @@ +- Launch FULL unit tests (the "test.view" Ant target) during build + need a Jetty servlet/JSP container and some more B-D. +- Package the struts 1.3.x module + need Struts 1.3.x which is not yet in Debian (see Debian bug #419761) Added: trunk/velocity-tools/debian/changelog =================================================================== --- trunk/velocity-tools/debian/changelog (rev 0) +++ trunk/velocity-tools/debian/changelog 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,7 @@ +velocity-tools (1.4-1) unstable; urgency=low + + * Initial release. (Closes: #497436) + * Build-Depend on default-jdk-builddep instead of java-gcj-compat-dev + * Include showcase and simple examples in libvelocity-tools-java-doc + + -- Damien Raude-Morvan <[email protected]> Mon, 16 Mar 2009 00:35:33 +0100 Added: trunk/velocity-tools/debian/compat =================================================================== --- trunk/velocity-tools/debian/compat (rev 0) +++ trunk/velocity-tools/debian/compat 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1 @@ +5 Added: trunk/velocity-tools/debian/control =================================================================== --- trunk/velocity-tools/debian/control (rev 0) +++ trunk/velocity-tools/debian/control 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,38 @@ +Source: velocity-tools +Section: java +Priority: optional +Maintainer: Damien Raude-Morvan <[email protected]> +Build-Depends: cdbs, dpatch, debhelper (>= 5), default-jdk-builddep, ant +Build-Depends-Indep: antlr, libcommons-beanutils-java, libcommons-collections-java, libcommons-digester-java, libcommons-lang-java, libcommons-logging-java, libcommons-validator-java, liboro-java, libservlet2.4-java, velocity, junit4, ant-optional +Standards-Version: 3.8.1 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/velocity-tools +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/velocity-tools +Homepage: http://velocity.apache.org/tools/ + +Package: libvelocity-tools-java +Architecture: all +Depends: ${misc:Depends}, libcommons-beanutils-java, libcommons-collections-java, libcommons-digester-java, libcommons-lang-java, libcommons-logging-java, libcommons-validator-java, liboro-java, libservlet2.4-java, velocity +Description: collection of useful tools for Velocity template engine + The VelocityTools project is a collection of useful Java classes (aka tools), + as well as infrastructure to easily, automatically and transparently + make these tools available to Velocity templates. + . + Project include easy integration of Velocity into the view-layer of + web applications (via the VelocityViewTag and + VelocityViewServlet) and integration with Struts 1.x applications. + +Package: libvelocity-tools-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Suggests: libvelocity-tools-java +Description: collection of useful tools for Velocity template engine - documentation + The VelocityTools project is a collection of useful Java classes (aka tools), + as well as infrastructure to easily, automatically and transparently + make these tools available to Velocity templates. + . + Project include easy integration of Velocity into the view-layer of + web applications (via the VelocityViewTag and + VelocityViewServlet) and integration with Struts 1.x applications. + . + This package provides the API documentation for Velocity Tools. Added: trunk/velocity-tools/debian/copyright =================================================================== --- trunk/velocity-tools/debian/copyright (rev 0) +++ trunk/velocity-tools/debian/copyright 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,30 @@ +This package was debianized by Damien Raude-Morvan <[email protected]> on +Thu, 27 Aug 2008 20:59:38 +0200. + +It was downloaded from http://www.apache.org/dist/velocity/tools/ + +Upstream Author: + The Apache Software Foundation. + +Copyright: + Copyright (C) 2000-2006 The Apache Software Foundation + +License: + + Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + The full text of the Apache-2.0 license can be found in + `/usr/share/common-licenses/Apache-2.0' on Debian systems. + +The Debian packaging is Copyright 2008, Damien Raude-Morvan <[email protected]> and +is licensed under the Apache-2.0, see `/usr/share/common-licenses/Apache-2.0'. Added: trunk/velocity-tools/debian/docs =================================================================== --- trunk/velocity-tools/debian/docs (rev 0) +++ trunk/velocity-tools/debian/docs 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,3 @@ +VLS_README.txt +CONTRIBUTORS +README.txt Added: trunk/velocity-tools/debian/libvelocity-tools-java-doc.doc-base =================================================================== --- trunk/velocity-tools/debian/libvelocity-tools-java-doc.doc-base (rev 0) +++ trunk/velocity-tools/debian/libvelocity-tools-java-doc.doc-base 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,9 @@ +Document: libvelocity-tools-java-doc +Title: API Javadoc for Velocity Tools +Author: Velocity Tools developers +Abstract: This is the API Javadoc provided by the Velocity Tools library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libvelocity-tools-java-doc/api/index.html +Files: /usr/share/doc/libvelocity-tools-java-doc/api/* Added: trunk/velocity-tools/debian/libvelocity-tools-java-doc.examples =================================================================== --- trunk/velocity-tools/debian/libvelocity-tools-java-doc.examples (rev 0) +++ trunk/velocity-tools/debian/libvelocity-tools-java-doc.examples 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,3 @@ +examples/showcase/ +examples/simple/ + Added: trunk/velocity-tools/debian/patches/00list =================================================================== --- trunk/velocity-tools/debian/patches/00list (rev 0) +++ trunk/velocity-tools/debian/patches/00list 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1 @@ +01_dont_copy_test_lib Added: trunk/velocity-tools/debian/patches/01_dont_copy_test_lib.dpatch =================================================================== --- trunk/velocity-tools/debian/patches/01_dont_copy_test_lib.dpatch (rev 0) +++ trunk/velocity-tools/debian/patches/01_dont_copy_test_lib.dpatch 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,44 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_dont_copy_test_lib.dpatch by Damien Raude-Morvan <[email protected]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Don't try to copy some JAR files into "lib" directory. + +...@dpatch@ +diff -urNad trunk~/download.xml trunk/download.xml +--- trunk~/download.xml 2007-11-15 00:03:52.000000000 +0100 ++++ trunk/download.xml 2008-09-01 20:10:01.000000000 +0200 +@@ -286,8 +286,6 @@ + <property name="download.version" value="${jar.js.version}" /> + <property name="download.path" value="rhino/${download.name}/${download.version}" /> + <antcall target="http-test-download"/> +- <!-- httpunit wants a file named 'js.jar' --> +- <copy file="${test.lib.dir}/${download.name}-${download.version}.jar" tofile="${test.lib.dir}/js.jar"/> + </target> + + <target name="junit-download"> +diff -urNad trunk~/examples.xml trunk/examples.xml +--- trunk~/examples.xml 2007-02-05 19:27:52.000000000 +0100 ++++ trunk/examples.xml 2008-09-01 20:10:20.000000000 +0200 +@@ -53,13 +53,6 @@ + </target> + <target name="simple-dependencies"> + <copy todir="${lib}" file="${dist.dir}/${view.id}.jar"/> +- <copy todir="${lib}" file="${commons-beanutils.jar}"/> +- <copy todir="${lib}" file="${commons-collections.jar}"/> +- <copy todir="${lib}" file="${commons-digester.jar}"/> +- <copy todir="${lib}" file="${commons-lang.jar}"/> +- <copy todir="${lib}" file="${commons-logging.jar}"/> +- <copy todir="${lib}" file="${oro.jar}"/> +- <copy todir="${lib}" file="${velocity.jar}"/> + </target> + + <target name="showcase-example"> +@@ -69,7 +62,6 @@ + <antcall target="example-${target}"/> + </target> + <target name="showcase-dependencies" depends="simple-dependencies"> +- <copy todir="${lib}" file="${servlet.jar}"/> + </target> + + <target name="struts-example"> Property changes on: trunk/velocity-tools/debian/patches/01_dont_copy_test_lib.dpatch ___________________________________________________________________ Name: svn:executable + * Added: trunk/velocity-tools/debian/rules =================================================================== --- trunk/velocity-tools/debian/rules (rev 0) +++ trunk/velocity-tools/debian/rules 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant + +DEB_JARS := antlr commons-beanutils commons-collections commons-digester commons-lang commons-logging commons-validator oro servlet-api velocity junit4 ant-junit + +DEB_ANT_BUILD_TARGET := jar.view javadoc +DEB_ANT_CHECK_TARGET := test.generic +DEB_ANT_CLEAN_TARGET := clean + +DEB_ANT_ARGS := -Dskip-download=true + +API_DOCS := docs/javadoc/* + +binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java:: + dh_install -plib$(DEB_SOURCE_PACKAGE)-java dist/$(DEB_SOURCE_PACKAGE)-view-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-view-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE)-view.jar + +binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java-doc:: + dh_install -plib$(DEB_SOURCE_PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(DEB_SOURCE_PACKAGE)-java-doc/api + +# Rename content directory to velocity-tools-X.Y in orig.tar.gz +get-orig-source: + uscan --force-download --rename --repack Property changes on: trunk/velocity-tools/debian/rules ___________________________________________________________________ Name: svn:executable + * Added: trunk/velocity-tools/debian/watch =================================================================== --- trunk/velocity-tools/debian/watch (rev 0) +++ trunk/velocity-tools/debian/watch 2009-03-21 21:45:32 UTC (rev 8103) @@ -0,0 +1,2 @@ +version=3 +http://www.apache.org/dist/velocity/tools/([\d\.]+)/velocity-tools-([\d\.]+)-src\.tar\.gz debian uupdate _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

