[pkg-java] r4402 - in trunk: . libfreemarker-java libfreemarker-java/debian libfreemarker-java/debian/patches

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Mon Oct 15 04:28:50 UTC 2007


Author: varun-guest
Date: 2007-10-15 04:28:50 +0000 (Mon, 15 Oct 2007)
New Revision: 4402

Added:
   trunk/libfreemarker-java/
   trunk/libfreemarker-java/debian/
   trunk/libfreemarker-java/debian/README.Debian-source
   trunk/libfreemarker-java/debian/ant.properties
   trunk/libfreemarker-java/debian/changelog
   trunk/libfreemarker-java/debian/compat
   trunk/libfreemarker-java/debian/control
   trunk/libfreemarker-java/debian/copyright
   trunk/libfreemarker-java/debian/doc-base
   trunk/libfreemarker-java/debian/docs
   trunk/libfreemarker-java/debian/orig-tar.exclude
   trunk/libfreemarker-java/debian/orig-tar.sh
   trunk/libfreemarker-java/debian/patches/
   trunk/libfreemarker-java/debian/patches/java-version.diff
   trunk/libfreemarker-java/debian/patches/series
   trunk/libfreemarker-java/debian/rules
   trunk/libfreemarker-java/debian/watch
Log:
* Initial inject of libfreemarker-java to pkg-java svn.




Property changes on: trunk/libfreemarker-java/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/libfreemarker-java/debian/README.Debian-source
===================================================================
--- trunk/libfreemarker-java/debian/README.Debian-source	                        (rev 0)
+++ trunk/libfreemarker-java/debian/README.Debian-source	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,13 @@
+libfreemarker-java
+==================
+
+The upstream supplied source package contains binary jar files and
+pre-built documentation. Currently no clean source distribution
+exists. Therefore, the upstream sources were modified to comply with
+the Debian Free Software Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the 
+debian/orig-tar.sh file.
+
+-- Varun Hiremath <varunhiremath at gmail.com>  Mon, 27 Aug 2007 19:02:53 +0530

Added: trunk/libfreemarker-java/debian/ant.properties
===================================================================
--- trunk/libfreemarker-java/debian/ant.properties	                        (rev 0)
+++ trunk/libfreemarker-java/debian/ant.properties	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,15 @@
+javacc.home=/usr/share/java/
+lib.jdom=
+lib.jaxen=
+lib.saxpath=
+lib.servlet23=/usr/share/java/servlet-2.3.jar
+#jython.home=
+lib.log4j=
+lib.logkit=
+lib.xerces=
+lib.junit=
+lib.dom4j=
+lib.ant=
+lib.rhino=
+lib.servlet24=/usr/share/java/servlet-api-2.4
+

Added: trunk/libfreemarker-java/debian/changelog
===================================================================
--- trunk/libfreemarker-java/debian/changelog	                        (rev 0)
+++ trunk/libfreemarker-java/debian/changelog	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,48 @@
+libfreemarker-java (2.3.10-6) unstable; urgency=low
+
+  * Move the package to pkg-java svn.
+  * Set Maintainer to Debian Java Maintainers and add myself to Uploaders.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Mon, 15 Oct 2007 10:05:10 +0530
+
+libfreemarker-java (2.3.10-5) unstable; urgency=low
+
+  * debian/control: Set Priority to optional from extra.
+  * Remove debian/install and install jar from debian/rules and create
+    symbolic link.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Thu, 11 Oct 2007 14:03:30 +0530
+
+libfreemarker-java (2.3.10-4) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * Add debian/README.Debian-source file.
+  * debian/control:
+    + Add myself to Uploaders.
+    + Add XS-Vcs-{Svn,Browser} headers.
+
+  [ Torsten Werner ]
+  * Use java-gcj-compat-dev instead of kaffe and change source version to 1.3.
+    Thanks to Kumar Appaiah. (Closes: #439502)
+
+ -- Torsten Werner <twerner at debian.org>  Tue, 18 Sep 2007 22:08:04 +0200
+
+libfreemarker-java (2.3.10-3) unstable; urgency=low
+
+  * Remove the whole docs directory because it contains generated files we
+    don't have sources for.
+
+ -- Torsten Werner <twerner at debian.org>  Tue, 31 Jul 2007 20:47:06 +0200
+
+libfreemarker-java (2.3.10-2) unstable; urgency=low
+
+  * Remove some dtd and xsd files from upstream tarball because of license
+    issues.
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 15 Jul 2007 09:14:06 +0200
+
+libfreemarker-java (2.3.10-1) unstable; urgency=low
+
+  * Initial release (Closes: #427255)
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 27 May 2007 19:15:16 +0200

Added: trunk/libfreemarker-java/debian/compat
===================================================================
--- trunk/libfreemarker-java/debian/compat	                        (rev 0)
+++ trunk/libfreemarker-java/debian/compat	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1 @@
+5

Added: trunk/libfreemarker-java/debian/control
===================================================================
--- trunk/libfreemarker-java/debian/control	                        (rev 0)
+++ trunk/libfreemarker-java/debian/control	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,36 @@
+Source: libfreemarker-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), quilt
+Build-Depends-Indep: ant, ant-optional, java-gcj-compat-dev, javacc,
+ junit, jython, libdom4j-java, libjaxen-java, libjdom0-java,
+ liblog4j1.2-java, liblogkit-java, libservlet2.3-java,
+ libservlet2.4-java, libxerces2-java, rhino
+Standards-Version: 3.7.2
+Homepage: http://www.freemarker.org/	
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libfreemarker-java
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libfreemarker-java
+
+Package: libfreemarker-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: a template engine written in Java
+ FreeMarker is a "template engine"; a generic tool to generate text output
+ (anything from HTML to autogenerated source code) based on templates. It's a
+ Java package, a class library for Java programmers. It's not an application
+ for end-users in itself, but something that programmers can embed into their
+ products.
+ .
+ FreeMarker is designed to be practical for the generation of HTML Web pages,
+ particularly by servlet-based applications following the MVC (Model View
+ Controller) pattern. The idea behind using the MVC pattern for dynamic Web
+ pages is that you separate the designers (HTML authors) from the programmers.
+ Everybody works on what they are good at. Designers can change the appearance
+ of a page without programmers having to change or recompile code, because the
+ application logic (Java programs) and page design (FreeMarker templates) are
+ separated. Templates do not become polluted with complex program fragments.
+ This separation is useful even for projects where the programmer and the HMTL
+ page author is the same person, since it helps to keep the application clear
+ and easily maintainable. 

Added: trunk/libfreemarker-java/debian/copyright
===================================================================
--- trunk/libfreemarker-java/debian/copyright	                        (rev 0)
+++ trunk/libfreemarker-java/debian/copyright	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,47 @@
+This package was debianized by Torsten Werner <twerner at debian.org> on
+Sat Jun  2 19:54:42 CEST 2007.
+
+It was downloaded from
+<http://sourceforge.net/project/showfiles.php?group_id=794&package_id=787>.
+
+Upstream Authors: The Visigoth Software Society
+
+Copyright: (c) 2003 The Visigoth Software Society. All rights reserved.
+
+License:
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+    1.  Redistributions of source code must retain the above copyright notice,
+	this list of conditions and the following disclaimer.
+
+    2.  The end-user documentation included with the redistribution, if any, must
+	include the following acknowlegement:
+	  "This product includes software developed by the
+	  Visigoth Software Society (http://www.visigoths.org/)."
+	Alternately, this acknowlegement may appear in the software itself, if and
+	wherever such third-party acknowlegements normally appear.
+
+    3.  Neither the name "FreeMarker", "Visigoth", nor any of the names of the
+	project contributors may be used to endorse or promote products derived
+	from this software without prior written permission. For written
+	permission, please contact visigoths at visigoths.org.
+
+    4.  Products derived from this software may not be called "FreeMarker" or
+	"Visigoth" nor may "FreeMarker" or "Visigoth" appear in their names
+	without prior written permission of the Visigoth Software Society.
+
+    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+    FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+    VISIGOTH SOFTWARE SOCIETY OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+    INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+    OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+    EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+The Debian packaging is (C) 2007, Torsten Werner <twerner at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/libfreemarker-java/debian/doc-base
===================================================================
--- trunk/libfreemarker-java/debian/doc-base	                        (rev 0)
+++ trunk/libfreemarker-java/debian/doc-base	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,11 @@
+Document: libfreemarker-java
+Title: Freemarker: a template engine written in Java
+Author: The Visigoth Software Society
+Abstract: FreeMarker is a "template engine"; a generic tool to generate text
+ output (anything from HTML to autogenerated source code) based on templates.
+ It's a Java package, a class library for Java programmers.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libfreemarker-java/index.html
+Files: /usr/share/doc/libfreemarker-java/*.html

Added: trunk/libfreemarker-java/debian/docs
===================================================================
--- trunk/libfreemarker-java/debian/docs	                        (rev 0)
+++ trunk/libfreemarker-java/debian/docs	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,2 @@
+build/api/*
+README.txt

Added: trunk/libfreemarker-java/debian/orig-tar.exclude
===================================================================
--- trunk/libfreemarker-java/debian/orig-tar.exclude	                        (rev 0)
+++ trunk/libfreemarker-java/debian/orig-tar.exclude	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,4 @@
+*.jar
+*/docs*
+*/src/freemarker/ext/jsp/*.dtd
+*/src/freemarker/ext/jsp/*.xsd

Added: trunk/libfreemarker-java/debian/orig-tar.sh
===================================================================
--- trunk/libfreemarker-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libfreemarker-java/debian/orig-tar.sh	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+DIR=libfreemarker-java-$2.orig
+
+# clean up the upstream tarball
+tar -x -z -f $3
+mv freemarker-$2 $DIR
+tar -c -z -f $3 -X debian/orig-tar.exclude $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $3 $origDir
+  echo "moved $3 to $origDir"
+fi
+


Property changes on: trunk/libfreemarker-java/debian/orig-tar.sh
___________________________________________________________________
Name: executable
   + 1

Added: trunk/libfreemarker-java/debian/patches/java-version.diff
===================================================================
--- trunk/libfreemarker-java/debian/patches/java-version.diff	                        (rev 0)
+++ trunk/libfreemarker-java/debian/patches/java-version.diff	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,94 @@
+Index: libfreemarker-java-2.3.10/build.xml
+===================================================================
+--- libfreemarker-java-2.3.10.orig/build.xml	2007-09-18 22:11:51.000000000 +0200
++++ libfreemarker-java-2.3.10/build.xml	2007-09-18 22:13:03.000000000 +0200
+@@ -352,7 +352,7 @@
+     <target depends="init, prepare, javacc" name="compile"
+             description="Compile Java source files">
+         <mkdir dir="${build.classes.dir}"/>
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" source="1.2" target="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" source="1.3" target="1.3">
+             <src path="${src.dir}"/>
+             <patternset refid="freemarker.compile"/>
+             <!-- src path="${build.javacc.dir}"/ -->
+@@ -379,7 +379,7 @@
+     </target>
+ 
+     <target name="compile-log4j" if="log4j.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.log4j"/>
+@@ -387,7 +387,7 @@
+     </target>
+ 
+     <target name="compile-logkit" if="logkit.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.logkit"/>
+@@ -411,7 +411,7 @@
+     </target>
+ 
+     <target name="compile-jython" if="jython.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.jython"/>
+@@ -419,7 +419,7 @@
+     </target>
+ 
+     <target name="compile-jsp2" if="jsp2.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.jsp2.classpath"/>
+             <patternset refid="freemarker.compile.jsp2"/>
+@@ -427,7 +427,7 @@
+     </target>
+ 
+     <target name="compile-rhino" if="rhino.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.rhino"/>
+@@ -435,7 +435,7 @@
+     </target>
+ 
+     <target name="compile-dom4j" if="dom4j.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.dom4j"/>
+@@ -443,7 +443,7 @@
+     </target>
+ 
+     <target name="compile-jaxen" if="jaxen.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.jaxen"/>
+@@ -451,7 +451,7 @@
+     </target>
+ 
+     <target name="compile-jdom" if="jdom.available">
+-        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.2" source="1.2">
++        <javac deprecation="off" destdir="${build.classes.dir}" debug="on" optimize="off" bootclasspath="${boot.class.path}" target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.jdom"/>
+@@ -463,7 +463,7 @@
+                destdir="${build.classes.dir}"
+                debug="on"
+                optimize="off"
+-               target="1.2" source="1.2">
++               target="1.3" source="1.3">
+             <src path="${src.dir}"/>
+             <classpath refid="compile.classpath"/>
+             <patternset refid="freemarker.compile.xalan"/>

Added: trunk/libfreemarker-java/debian/patches/series
===================================================================
--- trunk/libfreemarker-java/debian/patches/series	                        (rev 0)
+++ trunk/libfreemarker-java/debian/patches/series	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1 @@
+java-version.diff

Added: trunk/libfreemarker-java/debian/rules
===================================================================
--- trunk/libfreemarker-java/debian/rules	                        (rev 0)
+++ trunk/libfreemarker-java/debian/rules	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME            := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET := all
+DEB_JARS 	     := ant-nodeps dom4j jaxen jdom0 js jsp-api-2.0 junit jython \
+			log4j-1.2 logkit xercesImpl
+
+install/libfreemarker-java::
+	install -m 644 -D lib/freemarker.jar $(DEB_DESTDIR)/usr/share/java/freemarker-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/freemarker-$(DEB_UPSTREAM_VERSION).jar \
+	  /usr/share/java/freemarker.jar
+
+get-orig-source:
+	-uscan --upstream-version 0 --rename


Property changes on: trunk/libfreemarker-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/libfreemarker-java/debian/watch
===================================================================
--- trunk/libfreemarker-java/debian/watch	                        (rev 0)
+++ trunk/libfreemarker-java/debian/watch	2007-10-15 04:28:50 UTC (rev 4402)
@@ -0,0 +1,4 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/freemarker/ \
+  freemarker-(\d+)\.(\d+)\.(\d+).tar.gz debian debian/orig-tar.sh
+




More information about the pkg-java-commits mailing list