[pkg-java] r14860 - in trunk: . opendap opendap/debian opendap/debian/patches opendap/debian/source
Mathieu Malaterre
malat-guest at alioth.debian.org
Mon Sep 12 14:29:30 UTC 2011
Author: malat-guest
Date: 2011-09-12 14:29:30 +0000 (Mon, 12 Sep 2011)
New Revision: 14860
Added:
trunk/opendap/
trunk/opendap/debian/
trunk/opendap/debian/changelog
trunk/opendap/debian/compat
trunk/opendap/debian/control
trunk/opendap/debian/copyright
trunk/opendap/debian/get-orig-source
trunk/opendap/debian/libnet-luminis-build-plugin-java.jlibs
trunk/opendap/debian/patches/
trunk/opendap/debian/patches/fixbuildxml.patch
trunk/opendap/debian/patches/remove_headers.patch
trunk/opendap/debian/patches/series
trunk/opendap/debian/rules
trunk/opendap/debian/source/
trunk/opendap/debian/source/format
trunk/opendap/debian/watch
Log:
adding opendap
Added: trunk/opendap/debian/changelog
===================================================================
--- trunk/opendap/debian/changelog (rev 0)
+++ trunk/opendap/debian/changelog 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,5 @@
+opendap (2.2-1) unstable; urgency=low
+
+ * Initial Debian Upload (Closes: #??????)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com> Wed, 07 Sep 2011 18:48:30 +0200
Added: trunk/opendap/debian/compat
===================================================================
--- trunk/opendap/debian/compat (rev 0)
+++ trunk/opendap/debian/compat 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1 @@
+8
Added: trunk/opendap/debian/control
===================================================================
--- trunk/opendap/debian/control (rev 0)
+++ trunk/opendap/debian/control 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,22 @@
+Source: opendap
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Build-Depends: debhelper (>= 8), javahelper (>= 0.25)
+Build-Depends-Indep: default-jdk, ant, bnd
+Standards-Version: 3.9.2
+Homepage: https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/net-luminis-build-plugin
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/net-luminis-build-plugin/
+
+Package: libopendap-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: Wrapper around Bnd to allow easy bundle creation from ant builds.
+ The OSGi bundle ant task is a wrapper around Bnd to allow easy bundle creation
+ from ant builds.
+ .
+ Creates an OSGi bundle. Computes OSGi headers (most notably the importPackage
+ and exportPackage) from class analysis.
Added: trunk/opendap/debian/copyright
===================================================================
--- trunk/opendap/debian/copyright (rev 0)
+++ trunk/opendap/debian/copyright 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,34 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: OSGi Bundle Ant Task
+Source: https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task
+
+Files: *
+Copyright: © 2006, 2007 luminis
+Licence: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ - Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ - 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.
+ - Neither the name of the Luminis nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS 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 COPYRIGHT OWNER OR 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.
+
+Files: debian/*
+Copyright: © 2011 Mathieu Malaterre <mathieu.malaterre at gmail.com>
+License: BSD
Added: trunk/opendap/debian/get-orig-source
===================================================================
--- trunk/opendap/debian/get-orig-source (rev 0)
+++ trunk/opendap/debian/get-orig-source 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,27 @@
+#!/bin/sh
+set -ex
+
+PACKAGE=opendap
+
+
+VERSION=${VERSION:-$2}
+TARFILE=${TARFILE:-$3}
+
+if [ -z ${VERSION}]; then
+VERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'`
+fi
+
+REVISION=`echo $VERSION | sed -e 's/^.*svn//g'`
+
+
+if [ -z ${TARFILE}]; then
+TARFILE=${PACKAGE}_${VERSION}.orig.tar.gz
+fi
+
+FOLDER=${PACKAGE}-${VERSION}
+
+svn export -r 24881 http://scm.opendap.org:8090/svn/trunk/Java-OPeNDAP/ ${FOLDER}
+rm ${FOLDER}/lib/*.jar
+
+GZIP="--best --no-name" tar czf ${TARFILE} ${FOLDER}
+rm -rf ${FOLDER}
Property changes on: trunk/opendap/debian/get-orig-source
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/opendap/debian/libnet-luminis-build-plugin-java.jlibs
===================================================================
--- trunk/opendap/debian/libnet-luminis-build-plugin-java.jlibs (rev 0)
+++ trunk/opendap/debian/libnet-luminis-build-plugin-java.jlibs 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1 @@
+dist/*.jar
Added: trunk/opendap/debian/patches/fixbuildxml.patch
===================================================================
--- trunk/opendap/debian/patches/fixbuildxml.patch (rev 0)
+++ trunk/opendap/debian/patches/fixbuildxml.patch 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,52 @@
+Taken from:
+http://www.spinics.net/lists/fedora-package-review/msg213801.html
+Index: net-luminis-build-plugin-0.2.0/build.xml
+===================================================================
+--- net-luminis-build-plugin-0.2.0.orig/build.xml 2011-09-07 19:11:28.000000000 +0200
++++ net-luminis-build-plugin-0.2.0/build.xml 2011-09-07 19:11:51.000000000 +0200
+@@ -1,17 +1,30 @@
+-<project name="build-plugin" basedir="..">
+- <target name="init" />
+- <target name="build">
+- <jar jarfile="deploy/net.luminis.build.plugin-0.2.0.jar" update="true">
+- <fileset dir="classes">
+- <include name="net/luminis/build/plugin/bnd/**" />
+- </fileset>
+- <fileset dir="shared/OSGI-OPT">
+- <include name="NOTICE" />
+- <include name="LICENSE" />
+- </fileset>
+- <zipfileset src="ext/bnd-0.0.238.jar" includes="**/*.class" />
+- </jar>
++<project name="build-plugin" basedir=".">
++ <!-- set global properties for this build -->
++ <property name="src" location="src"/>
++ <property name="build" location="build"/>
++ <property name="dist" location="dist"/>
++ <target name="init">
++ <!-- Create the time stamp -->
++ <tstamp/>
++ <!-- Create the build directory structure used by compile -->
++ <mkdir dir="${build}"/>
++ </target>
++ <target name="compile" depends="init"
++ description="compile the source " >
++ <!-- Compile the java code from ${src} into ${build} -->
++ <javac srcdir="${src}" destdir="${build}"/>
++ </target>
++ <target name="dist" depends="compile"
++ description="generate the distribution" >
++ <!-- Create the distribution directory -->
++ <mkdir dir="${dist}"/>
++ <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
++ <jar jarfile="${dist}/net.luminis.build.plugin-0.2.0.jar" update="true" basedir="${build}" />
++ </target>
++ <target name="clean"
++ description="clean up" >
++ <!-- Delete the ${build} and ${dist} directory trees -->
++ <delete dir="${build}"/>
++ <delete dir="${dist}"/>
+ </target>
+- <target name="deploy" />
+- <target name="clean" />
+ </project>
Added: trunk/opendap/debian/patches/remove_headers.patch
===================================================================
--- trunk/opendap/debian/patches/remove_headers.patch (rev 0)
+++ trunk/opendap/debian/patches/remove_headers.patch 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,15 @@
+Index: net-luminis-build-plugin-0.2.0/src/net/luminis/build/plugin/bnd/BuildTask.java
+===================================================================
+--- net-luminis-build-plugin-0.2.0.orig/src/net/luminis/build/plugin/bnd/BuildTask.java 2011-09-12 14:57:52.000000000 +0200
++++ net-luminis-build-plugin-0.2.0/src/net/luminis/build/plugin/bnd/BuildTask.java 2011-09-12 14:57:55.000000000 +0200
+@@ -338,8 +338,8 @@
+ * task attribute.
+ */
+ public void setIncludeIncludeResourceHeader(boolean include) {
+- if (! include)
+- m_instructions.put(Analyzer.REMOVE_HEADERS, Analyzer.INCLUDE_RESOURCE);
++ //if (! include)
++ // m_instructions.put(Analyzer.REMOVE_HEADERS, Analyzer.INCLUDE_RESOURCE);
+ // default is do include
+ }
+
Added: trunk/opendap/debian/patches/series
===================================================================
--- trunk/opendap/debian/patches/series (rev 0)
+++ trunk/opendap/debian/patches/series 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,2 @@
+fixbuildxml.patch
+remove_headers.patch
Added: trunk/opendap/debian/rules
===================================================================
--- trunk/opendap/debian/rules (rev 0)
+++ trunk/opendap/debian/rules 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+JAVA_HOME=/usr/lib/jvm/default-java
+#export CLASSPATH=/usr/share/java/bnd.jar
+#DEB_ANT_BUILD_TARGET := dist
+
+%:
+ dh $@ --with javahelper
+
+override_dh_auto_build:
+ ant -Dbuild.sysclasspath=first distribution
+
+get-orig-source:
+ ./debian/get-orig-source
Property changes on: trunk/opendap/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/opendap/debian/source/format
===================================================================
--- trunk/opendap/debian/source/format (rev 0)
+++ trunk/opendap/debian/source/format 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/opendap/debian/watch
===================================================================
--- trunk/opendap/debian/watch (rev 0)
+++ trunk/opendap/debian/watch 2011-09-12 14:29:30 UTC (rev 14860)
@@ -0,0 +1,2 @@
+# TODO
+# https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task
More information about the pkg-java-commits
mailing list