--- jabsorb-1.3.orig/debian/rules +++ jabsorb-1.3/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +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_ANT_BUILDFILE := build.xml +DEB_ANT_BUILD_TARGET := dist + +clean:: + -$(RM) -r docs build + +install/libjabsorb-java:: + dh_install build/jabsorb-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link usr/share/java/jabsorb-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jabsorb.jar --- jabsorb-1.3.orig/debian/copyright +++ jabsorb-1.3/debian/copyright @@ -0,0 +1,42 @@ +Copyright 2007-2008 The jabsorb team + +Copyright Metaparadigm Pte. Ltd. 2004. +Michael Clark + +webapps/jsonrpc/jsonrpc.js: +Copyright 2007 The jabsorb team +Copyright 2005 Michael Clark, Metaparadigm Pte. Ltd. +Copyright 2003-2004 Jan-Klaas Kollhof + +src/org/jabsorb/client: +Copyright CodeBistro, Sasha Ovsankin, 2007. + +Licensed under the Apache License, Version 2.0 +(/usr/share/common-licenses/Apache-2.0) + +Based on original code from +JSON-RPC-Java - a JSON-RPC to Java Bridge with dynamic invocation + +src/org/json: +Copyright (c) 2002 JSON.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +The Software shall be used for Good, not Evil. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + --- jabsorb-1.3.orig/debian/compat +++ jabsorb-1.3/debian/compat @@ -0,0 +1 @@ +5 --- jabsorb-1.3.orig/debian/control +++ jabsorb-1.3/debian/control @@ -0,0 +1,29 @@ +Source: jabsorb +Section: libs +Priority: optional +Maintainer: Kalle Kivimaa +Build-Depends: debhelper (>= 5), cdbs, default-jdk-builddep, ant, maven-ant-helper, libslf4j-java, dpatch +Standards-Version: 3.8.0 +Homepage: http://jabsorb.org + +Package: libjabsorb-java +Architecture: all +Section: libs +Depends: java-common, java-gcj-compat | java1-runtime | java2-runtime, libslf4j-java, ${misc:Depends} +Description: Java to Javascript object request broker + simple and lightweight Ajax/Web 2.0 framework that allows you to call + methods in a Java web application from JavaScript code running in a web + browser as if they were local objects residing directly in the browser. + . + jabsorb handles all the details of marshalling and unmarshalling objects + back and forth between the client and server so that you can focus on + writing your application features. + . + jabsorb makes use of the JSON-RPC protocol for it's transport mechanism. + JSON-RPC is a standard protocol and jabsorb can interoperate with other + standard JSON-RPC clients and servers that may be written in other + languages. + . + Starting with jabsorb 1.2, additional ORB functionality has been added, + and it extends the basic JSON-RPC protocol to allow for passing data + structures that contain Circular References. --- jabsorb-1.3.orig/debian/dirs +++ jabsorb-1.3/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- jabsorb-1.3.orig/debian/changelog +++ jabsorb-1.3/debian/changelog @@ -0,0 +1,9 @@ +jabsorb (1.3-1) unstable; urgency=low + + * Initial release (Closes: #503305). + * The orig.tar.gz has been repackaged not to include binary jars + or pre-compiled classes. + * No extra jars are downloaded. + + -- Kalle Kivimaa Fri, 24 Oct 2008 17:35:01 +0300 + --- jabsorb-1.3.orig/debian/patches/01_ignore_lib.dpatch +++ jabsorb-1.3/debian/patches/01_ignore_lib.dpatch @@ -0,0 +1,126 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_ignore_lib.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad jabsorb-1.3~/build.properties jabsorb-1.3/build.properties +--- jabsorb-1.3~/build.properties 2008-12-20 18:49:40.000000000 +0200 ++++ jabsorb-1.3/build.properties 2008-12-20 18:50:07.000000000 +0200 +@@ -8,16 +8,16 @@ + build.classes=./build/classes + + # Where dependant libraries are found +-lib=./lib/ ++lib=/usr/share/java/ + + # Where to place release build files + release=./ + + # Where dependant libraries that don't need to be included in the test war are found + # aka servlet-api.jar +-lib-ext=./lib-ext/ ++#lib-ext=./lib-ext/ + #Note this may not be necessary in tomcat-6 in which case this should be left blank +-#lib-ext= ++lib-ext= + + # Test dependencies not present in runtime + lib-test=./lib-test/ +diff -urNad jabsorb-1.3~/build.xml jabsorb-1.3/build.xml +--- jabsorb-1.3~/build.xml 2008-12-20 18:49:40.000000000 +0200 ++++ jabsorb-1.3/build.xml 2008-12-20 18:49:41.000000000 +0200 +@@ -27,7 +27,7 @@ + + --> + +- ++ + + + +@@ -46,17 +46,13 @@ + + + +- + + + + + + +- ++ + + + +@@ -79,10 +75,6 @@ + + + +- +- +- + + + +- +- +- +- +- +- +- +- +- ${dependencies.string} + + + +@@ -177,7 +160,7 @@ + + + +- ++ + + + + +- +- +- Creating jsonrpc-min.js from jsonrpc.js using the YUI compressor. +- +- +- +- +- +- + +@@ -391,11 +364,6 @@ + + + +- +- +- +- +- + + + --- jabsorb-1.3.orig/debian/patches/00list +++ jabsorb-1.3/debian/patches/00list @@ -0,0 +1,2 @@ +01_ignore_lib +