[pkg-java] r4419 - in trunk: . libcobra-java libcobra-java/debian
varun-guest at alioth.debian.org
varun-guest at alioth.debian.org
Mon Oct 15 16:43:45 UTC 2007
Author: varun-guest
Date: 2007-10-15 16:43:45 +0000 (Mon, 15 Oct 2007)
New Revision: 4419
Added:
trunk/libcobra-java/
trunk/libcobra-java/debian/
trunk/libcobra-java/debian/README.Debian-source
trunk/libcobra-java/debian/ant.properties
trunk/libcobra-java/debian/build.xml
trunk/libcobra-java/debian/changelog
trunk/libcobra-java/debian/compat
trunk/libcobra-java/debian/control
trunk/libcobra-java/debian/copyright
trunk/libcobra-java/debian/doc-base
trunk/libcobra-java/debian/docs
trunk/libcobra-java/debian/orig-tar.sh
trunk/libcobra-java/debian/rules
trunk/libcobra-java/debian/watch
Log:
* Move libcobra-java to pkg-java svn.
Property changes on: trunk/libcobra-java/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/libcobra-java/debian/README.Debian-source
===================================================================
--- trunk/libcobra-java/debian/README.Debian-source (rev 0)
+++ trunk/libcobra-java/debian/README.Debian-source 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,13 @@
+libcobra-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/libcobra-java/debian/ant.properties
===================================================================
--- trunk/libcobra-java/debian/ant.properties (rev 0)
+++ trunk/libcobra-java/debian/ant.properties 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,4 @@
+class.dir=build
+source.dir=src
+doc.dir=doc/api
+jar.name=cobra.jar
Added: trunk/libcobra-java/debian/build.xml
===================================================================
--- trunk/libcobra-java/debian/build.xml (rev 0)
+++ trunk/libcobra-java/debian/build.xml 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="cobra" basedir="..">
+ <property file="build.properties"/>
+
+ <target name="clean" description="Clean up">
+ <delete dir="${class.dir}"/>
+ <delete file="${jar.name}"/>
+ </target>
+
+ <target name="compile" description="Compile the sources">
+ <mkdir dir="${class.dir}"/>
+ <javac srcdir="${source.dir}" destdir="${class.dir}"
+ deprecation="true" debug="true" optimize="false"/>
+ </target>
+
+ <target name="javadoc" description="Creates Javadoc documentation">
+ <mkdir dir="${doc.dir}"/>
+ <javadoc packagenames="*"
+ sourcepath="${source.dir}" destdir="${doc.dir}"/>
+ </target>
+
+ <target name="jar" description="Create the jar" depends="compile">
+ <jar jarfile="${jar.name}" basedir="${class.dir}"/>
+ </target>
+
+ <target name="install" depends="jar">
+ <mkdir dir="${destdir}/usr/share/java/" />
+ <copy file="${jar.name}" todir="${destdir}/usr/share/java/"/>
+ </target>
+</project>
Added: trunk/libcobra-java/debian/changelog
===================================================================
--- trunk/libcobra-java/debian/changelog (rev 0)
+++ trunk/libcobra-java/debian/changelog 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,32 @@
+libcobra-java (0.97.2-2) unstable; urgency=low
+
+ * Move the package to pkg-java svn.
+ * debian/control:
+ + Set Maintainer to Debian Java Maintainers and add myself to Uploaders.
+ + Build-Depend on libxalan2-java.
+ + Switch from sun-java5-jdk to java-gcj-compat.
+ + Move package to Section main from contrib.
+ * Move the build scripts to debian dir.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Mon, 15 Oct 2007 19:55:58 +0530
+
+libcobra-java (0.97.2-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: Add XS-Vcs-{Svn,Browser} headers.
+ * Add debian/README.Debian-source file.
+ * debian/rules: fix the installed jar version and the dh_link.
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Sat, 08 Sep 2007 03:20:26 +0530
+
+libcobra-java (0.97-2) unstable; urgency=low
+
+ * debian/copyright: include the w3c license
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Thu, 02 Aug 2007 20:17:36 +0530
+
+libcobra-java (0.97-1) unstable; urgency=low
+
+ * Initial release (Closes: #435408)
+
+ -- Varun Hiremath <varunhiremath at gmail.com> Tue, 31 Jul 2007 01:35:56 +0530
Added: trunk/libcobra-java/debian/compat
===================================================================
--- trunk/libcobra-java/debian/compat (rev 0)
+++ trunk/libcobra-java/debian/compat 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1 @@
+5
Added: trunk/libcobra-java/debian/control
===================================================================
--- trunk/libcobra-java/debian/control (rev 0)
+++ trunk/libcobra-java/debian/control 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,26 @@
+Source: libcobra-java
+Section: utils
+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)
+Build-Depends-Indep: ant, rhino, libxalan2-java, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://html.xamjwg.org/cobra.jsp
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcobra-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcobra-java
+
+Package: libcobra-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Java HTML Renderer & Parser
+ Cobra is a pure Java HTML renderer and DOM parser that is being
+ developed to support HTML 4, Javascript and CSS 2.
+ .
+ Cobra can be used as a Javascript-aware and CSS-aware HTML DOM
+ parser, independently of the Cobra rendering engine. Javascript DOM
+ modifications that occur during parsing (e.g. via document.write)
+ will be reflected in the parsed DOM, unless Javascript is
+ disabled. Likewise, DOM element implementations have a getStyle
+ method that can be called to obtain the styling properties of an
+ element.
Added: trunk/libcobra-java/debian/copyright
===================================================================
--- trunk/libcobra-java/debian/copyright (rev 0)
+++ trunk/libcobra-java/debian/copyright 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,85 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 31 Jul 2007 01:35:56 +0530.
+
+It was downloaded from http://heanet.dl.sourceforge.net/sourceforge/xamj/
+
+Upstream Authors: The XAMJ Project <xamjadmin at users.sourceforge.net>
+
+Copyright:
+(C) 2006 The Lobo Project
+(C) 2006 The XAMJ Project
+(C) 1994-2002 World Wide Web Consortium, (Massachusetts
+Institute of Technology, Institut National de Recherche en
+Informatique et en Automatique, Keio University). All Rights
+Reserved.
+(C) 1999, 2002 Steady State Software Ltd.
+
+License:
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+-----
+
+W3C SOFTWARE NOTICE AND LICENSE:
+
+Copyright: 1994-2002 World Wide Web Consortium, (Massachusetts
+Institute of Technology, Institut National de Recherche en
+Informatique et en Automatique, Keio University). All Rights
+Reserved.
+
+License:
+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, modify, and distribute 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 World Wide Web Consortium,
+ (Massachusetts Institute of Technology, Institut National de
+ Recherche en Informatique et en Automatique, Keio
+ University). All Rights Reserved.
+ 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.
+-----
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: trunk/libcobra-java/debian/doc-base
===================================================================
--- trunk/libcobra-java/debian/doc-base (rev 0)
+++ trunk/libcobra-java/debian/doc-base 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,9 @@
+Document: libcobra-java
+Title: Programmer API for cobra
+Author: The XAMJ Project <xamjadmin at users.sourceforge.net>
+Abstract: Java HTML Renderer & Parser
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libcobra-java/index.html
+Files: /usr/share/doc/libcobra-java/*.html
Added: trunk/libcobra-java/debian/docs
===================================================================
--- trunk/libcobra-java/debian/docs (rev 0)
+++ trunk/libcobra-java/debian/docs 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1 @@
+doc/api/*
Added: trunk/libcobra-java/debian/orig-tar.sh
===================================================================
--- trunk/libcobra-java/debian/orig-tar.sh (rev 0)
+++ trunk/libcobra-java/debian/orig-tar.sh 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../libcobra-java_$2.orig.tar.gz
+DIR=libcobra-java-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv cobra-$2 $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*/doc/api/*' $DIR
+rm -rf $3 $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
+exit 0
Property changes on: trunk/libcobra-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libcobra-java/debian/rules
===================================================================
--- trunk/libcobra-java/debian/rules (rev 0)
+++ trunk/libcobra-java/debian/rules 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_ANT_BUILD_TARGET := jar javadoc
+DEB_JARS := js xml-apis
+
+install/libcobra-java::
+ install -m 644 -D cobra.jar $(DEB_DESTDIR)/usr/share/java/cobra-$(DEB_UPSTREAM_VERSION).jar
+ dh_link /usr/share/java/cobra-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/cobra.jar
+
+get-orig-source:
+ -uscan --upstream-version 0
Property changes on: trunk/libcobra-java/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/libcobra-java/debian/watch
===================================================================
--- trunk/libcobra-java/debian/watch (rev 0)
+++ trunk/libcobra-java/debian/watch 2007-10-15 16:43:45 UTC (rev 4419)
@@ -0,0 +1,4 @@
+version=3
+#http://nchc.dl.sourceforge.net/sourceforge/xamj/ cobra-(.*)\.zip \
+http://sf.net/xamj/ cobra-(.*)\.zip \
+ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list