[pkg-java] r11071 - in trunk: . cruisecontrol cruisecontrol/debian cruisecontrol/debian/patches
Onkar Shinde
onkarshinde-guest at alioth.debian.org
Wed Nov 18 15:07:31 UTC 2009
Author: onkarshinde-guest
Date: 2009-11-18 15:07:30 +0000 (Wed, 18 Nov 2009)
New Revision: 11071
Added:
trunk/cruisecontrol/
trunk/cruisecontrol/debian/
trunk/cruisecontrol/debian/README.source
trunk/cruisecontrol/debian/ant.properties
trunk/cruisecontrol/debian/changelog
trunk/cruisecontrol/debian/compat
trunk/cruisecontrol/debian/control
trunk/cruisecontrol/debian/install
trunk/cruisecontrol/debian/orig-tar.exclude
trunk/cruisecontrol/debian/orig-tar.sh
trunk/cruisecontrol/debian/patches/
trunk/cruisecontrol/debian/patches/01_disable_components.diff
trunk/cruisecontrol/debian/patches/series
trunk/cruisecontrol/debian/rules
trunk/cruisecontrol/debian/watch
Log:
work started on cruisecontrol
Added: trunk/cruisecontrol/debian/README.source
===================================================================
--- trunk/cruisecontrol/debian/README.source (rev 0)
+++ trunk/cruisecontrol/debian/README.source 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,33 @@
+This package uses CDBS (and therefore simple-patchsys.mk) in order to
+apply patches to the upstream source. Patches are stored in
+debian/patches and their filenames usually end in .patch or .diff .
+For further details, see the man page for cdbs-edit-patch.
+
+All commands described below should be run from the top directory of the
+package source tree, unless otherwise stated.
+
+ * To generate the fully patched source, in a form ready for
+ editing, that would be built to create Debian packages, run:
+
+ make -f debian/rules apply-patches
+
+ Note: This should happen automatically when you run
+ dpkg-source -x on a CDBS simple-patchsys.mk source package.
+
+ * To modify the source and save those modifications so that
+ they will be applied when building the package, pick a
+ suitably informative patch file name, for example
+ 01_add_README.source_file.patch, and then run:
+
+ cdbs-edit-patch 01_add_README.source_file.patch
+
+ This will place you in a new shell in a temporary copy of the
+ source tree. Make your desired modifications to it, and then
+ exit the shell to create the patch file containing them (this
+ file will appear in debian/patches).
+
+ * To remove source modifications that are currently being
+ applied when building the package, run:
+
+ make -f debian/rules reverse-patches
+
Added: trunk/cruisecontrol/debian/ant.properties
===================================================================
--- trunk/cruisecontrol/debian/ant.properties (rev 0)
+++ trunk/cruisecontrol/debian/ant.properties 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1 @@
+emma.classpath=/usr/share/java/emma.jar:/usr/share/java/emma_ant.jar
Added: trunk/cruisecontrol/debian/changelog
===================================================================
--- trunk/cruisecontrol/debian/changelog (rev 0)
+++ trunk/cruisecontrol/debian/changelog 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,5 @@
+cruisecontrol (2.8.2-1) UNRELEASED; urgency=low
+
+ * Initial Release.
+
+ -- Onkar Shinde <onkarshinde at ubuntu.com> Wed, 18 Nov 2009 15:29:48 +0530
Added: trunk/cruisecontrol/debian/compat
===================================================================
--- trunk/cruisecontrol/debian/compat (rev 0)
+++ trunk/cruisecontrol/debian/compat 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1 @@
+5
Added: trunk/cruisecontrol/debian/control
===================================================================
--- trunk/cruisecontrol/debian/control (rev 0)
+++ trunk/cruisecontrol/debian/control 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,18 @@
+Source: cruisecontrol
+Section: electronics
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Onkar Shinde <onkarshinde at ubuntu.com>
+Build-Depends: debhelper (>= 5), cdbs, ant, quilt, libemma-java
+Build-Depends-Indep: default-jdk, ant-optional, ivy, junit4, libcommons-httpclient-java, libcommons-net-java, libcommons-validator-java, libgnumail-java, libjdom1-java, libjetty-java, liblog4j1.2-java, libmaven2-core-java, libmaven-embedder-java, libmx4j-java, liboro-java, libplexus-component-api-java, libxstream-java
+Standards-Version: 3.8.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/cruisecontrol
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/cruisecontrol
+Homepage: http://cruisecontrol.sourceforge.net/
+
+Package: cruisecontrol
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Description: place holder short description
+ place holder long description
+
Added: trunk/cruisecontrol/debian/install
===================================================================
--- trunk/cruisecontrol/debian/install (rev 0)
+++ trunk/cruisecontrol/debian/install 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,4 @@
+electric.jar usr/share/java/
+debian/electric.svg usr/share/icons/hicolor/scalable/apps/
+debian/electric.desktop usr/share/applications/
+debian/wrappers/electric usr/bin/
Added: trunk/cruisecontrol/debian/orig-tar.exclude
===================================================================
--- trunk/cruisecontrol/debian/orig-tar.exclude (rev 0)
+++ trunk/cruisecontrol/debian/orig-tar.exclude 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,4 @@
+*.jar
+*.so
+*.dll
+*.zip
Added: trunk/cruisecontrol/debian/orig-tar.sh
===================================================================
--- trunk/cruisecontrol/debian/orig-tar.sh (rev 0)
+++ trunk/cruisecontrol/debian/orig-tar.sh 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../cruisecontrol_$2.orig.tar.gz
+DIR=cruisecontrol-$2
+ZIP=$3
+
+# clean up the upstream tarball
+unzip ../$ZIP
+tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
+rm -rf $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/cruisecontrol/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/cruisecontrol/debian/patches/01_disable_components.diff
===================================================================
--- trunk/cruisecontrol/debian/patches/01_disable_components.diff (rev 0)
+++ trunk/cruisecontrol/debian/patches/01_disable_components.diff 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,27 @@
+Index: cruisecontrol-2.8.2/main/build.xml
+===================================================================
+--- cruisecontrol-2.8.2.orig/main/build.xml 2009-11-18 19:29:58.000000000 +0530
++++ cruisecontrol-2.8.2/main/build.xml 2009-11-18 19:34:38.000000000 +0530
+@@ -136,14 +136,20 @@
+ <attribute name="classpathref" default="project.classpath" />
+ <element name="nested" implicit="true" optional="true" />
+ <sequential>
+- <javac destdir="@{destdir}" debug="true" deprecation="true" fork="true" source="1.5" target="1.5" compiler="javac1.5" classpathref="@{classpathref}" srcdir="@{srcdir}">
++ <javac sourcepath="" destdir="@{destdir}" debug="true" deprecation="true" fork="true" source="1.5" target="1.5" compiler="javac1.5" classpathref="@{classpathref}" srcdir="@{srcdir}">
+ <nested />
+ </javac>
+ </sequential>
+ </macrodef>
+
+ <target name="compile" depends="init" unless="compile.skip" description="Compile source code">
+- <compile-macro/>
++ <compile-macro>
++ <exclude name="**/*Jabber*.java"/>
++ <exclude name="**/*Origo*.java"/>
++ <exclude name="**/*Sfee*.java"/>
++ <exclude name="**/*Weblog*.java"/>
++ <exclude name="**/*X10*.java"/>
++ </compile-macro>
+
+ <copy todir="${classes}">
+ <fileset dir="${basedir}" includes="*.properties" />
Added: trunk/cruisecontrol/debian/patches/series
===================================================================
--- trunk/cruisecontrol/debian/patches/series (rev 0)
+++ trunk/cruisecontrol/debian/patches/series 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1 @@
+01_disable_components.diff
Added: trunk/cruisecontrol/debian/rules
===================================================================
--- trunk/cruisecontrol/debian/rules (rev 0)
+++ trunk/cruisecontrol/debian/rules 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_JARS := ant-trax ant-junit commons-httpclient commons-net commons-validator emma emma_ant gnumail ivy jdom1 jetty junit4 log4j-1.2.jar maven-artifact maven-core maven-embedder maven-model maven-project mx4j mx4j-tools oro plexus-component-api xstream
+
+get-orig-source::
+ uscan --verbose --force-download
Property changes on: trunk/cruisecontrol/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/cruisecontrol/debian/watch
===================================================================
--- trunk/cruisecontrol/debian/watch (rev 0)
+++ trunk/cruisecontrol/debian/watch 2009-11-18 15:07:30 UTC (rev 11071)
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/cruisecontrol/cruisecontrol-src-([\d\.]+)\.zip
More information about the pkg-java-commits
mailing list