[pkg-java] r4576 - in trunk: . libjboss-serialization-java libjboss-serialization-java/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Fri Nov 2 06:57:56 UTC 2007


Author: varun-guest
Date: 2007-11-02 06:57:55 +0000 (Fri, 02 Nov 2007)
New Revision: 4576

Added:
   trunk/libjboss-serialization-java/
   trunk/libjboss-serialization-java/debian/
   trunk/libjboss-serialization-java/debian/README.Debian-source
   trunk/libjboss-serialization-java/debian/ant.properties
   trunk/libjboss-serialization-java/debian/build.xml
   trunk/libjboss-serialization-java/debian/changelog
   trunk/libjboss-serialization-java/debian/compat
   trunk/libjboss-serialization-java/debian/control
   trunk/libjboss-serialization-java/debian/copyright
   trunk/libjboss-serialization-java/debian/orig-tar.sh
   trunk/libjboss-serialization-java/debian/rules
   trunk/libjboss-serialization-java/debian/watch
Log:
* Initial inject of jboss-serialization
  - Builds with sun-jdk (requires sun.reflect.ReflectionFactory)



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

Added: trunk/libjboss-serialization-java/debian/README.Debian-source
===================================================================
--- trunk/libjboss-serialization-java/debian/README.Debian-source	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/README.Debian-source	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,13 @@
+libjboss-serialization-java
+===========================
+
+The upstream supplied source package contains binary jar files.
+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>, Fri,  2 Nov 2007 12:00:02 +0530

Added: trunk/libjboss-serialization-java/debian/ant.properties
===================================================================
--- trunk/libjboss-serialization-java/debian/ant.properties	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/ant.properties	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,4 @@
+project.name=jboss-serialization
+class.dir=class
+source.dir=src
+jar.name=jboss-serialization.jar

Added: trunk/libjboss-serialization-java/debian/build.xml
===================================================================
--- trunk/libjboss-serialization-java/debian/build.xml	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/build.xml	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}"/>
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+    deprecation="true" debug="true" optimize="false"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+  </target>
+
+</project>

Added: trunk/libjboss-serialization-java/debian/changelog
===================================================================
--- trunk/libjboss-serialization-java/debian/changelog	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/changelog	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,5 @@
+libjboss-serialization-java (1.0.3.GA-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/libjboss-serialization-java/debian/compat
===================================================================
--- trunk/libjboss-serialization-java/debian/compat	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/compat	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1 @@
+5

Added: trunk/libjboss-serialization-java/debian/control
===================================================================
--- trunk/libjboss-serialization-java/debian/control	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/control	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,24 @@
+Source: libjboss-serialization-java
+Section: contrib/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)
+Build-Depends-Indep: ant, sun-java6-jdk, libtrove-java, liblog4j1.2-java
+Standards-Version: 3.7.2
+Homepage: http://labs.jboss.com/serialization/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-serialization-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-serialization-java
+
+Package: libjboss-serialization-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: JBoss Serialization
+ JBossSerialization is a new approach to java-serialization. The main
+ feature in JBossSerialization besides performance, is Smart Cloning.
+ .
+ Smart cloning is the capability of the reuse of final fields among
+ different class loaders doing exactly what serialization does,
+ without the need of convert every field into a byteArray. This
+ approach is at least 10 times faster than using serialization over a
+ byte array.

Added: trunk/libjboss-serialization-java/debian/copyright
===================================================================
--- trunk/libjboss-serialization-java/debian/copyright	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/copyright	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,79 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 24 Apr 2007 17:19:10 +0530.
+
+It was downloaded from http://labs.jboss.com/serialization/
+
+Upstream Author: JBoss Inc.
+
+Copyright: (C) 2005 JBoss Inc., and authors
+
+Authors: Clebert Suconic and Bob Morris
+
+License:
+    This library 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.1 of
+    the License, or (at your option) any later version.
+ 
+    This library 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, full text of the LGPL license can be found at
+    `/usr/share/common-licenses/LGPL'.
+
+------
+File: src/org/jboss/serial/util/FastHashMap.java
+
+Copyright: (c) 1999-2002 The Apache Software Foundation.
+
+License:
+    The Apache Software License, Version 1.1
+   
+    Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
+    reserved.
+   
+    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. Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in
+       the documentation and/or other materials provided with the
+       distribution.
+   
+    3. The end-user documentation included with the redistribution, if
+       any, must include the following acknowlegement:
+          "This product includes software developed by the
+           Apache Software Foundation (http://www.apache.org/)."
+       Alternately, this acknowlegement may appear in the software itself,
+       if and wherever such third-party acknowlegements normally appear.
+   
+    4. The names "The Jakarta Project", "Commons", and "Apache Software
+       Foundation" must not be used to endorse or promote products derived
+       from this software without prior written permission. For written
+       permission, please contact apache at apache.org.
+   
+    5. Products derived from this software may not be called "Apache"
+       nor may "Apache" appear in their names without prior written
+       permission of the Apache Group.
+   
+    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 APACHE SOFTWARE FOUNDATION 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, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/libjboss-serialization-java/debian/orig-tar.sh
===================================================================
--- trunk/libjboss-serialization-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/orig-tar.sh	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=libjboss-serialization-java_$2.orig.tar.gz
+DIR=libjboss-serialization-java-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv jboss-serialization-* $DIR
+tar -c -z -f $TAR --exclude '*.jar' $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


Property changes on: trunk/libjboss-serialization-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/libjboss-serialization-java/debian/rules
===================================================================
--- trunk/libjboss-serialization-java/debian/rules	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/rules	2007-11-02 06:57:55 UTC (rev 4576)
@@ -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-6-sun
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= trove log4j-1.2
+
+install/libjboss-serialization-java::
+	install -m 644 -D jboss-serialization.jar $(DEB_DESTDIR)/usr/share/java/jboss-serialization-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jboss-serialization-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-serialization.jar
+
+get-orig-source:
+	-uscan --upstream-version 0


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

Added: trunk/libjboss-serialization-java/debian/watch
===================================================================
--- trunk/libjboss-serialization-java/debian/watch	                        (rev 0)
+++ trunk/libjboss-serialization-java/debian/watch	2007-11-02 06:57:55 UTC (rev 4576)
@@ -0,0 +1,2 @@
+version=3
+http://labs.jboss.com/serialization/ .*jboss-serialization-(.*)\.zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list