[med-svn] r12556 - in trunk/packages/phyloviz/phyloviz-core/trunk/debian: . patches
Andreas Tille
tille at alioth.debian.org
Wed Nov 21 21:11:45 UTC 2012
Author: tille
Date: 2012-11-21 21:11:44 +0000 (Wed, 21 Nov 2012)
New Revision: 12556
Added:
trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/
trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/build_xml.patch
trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/series
Modified:
trunk/packages/phyloviz/phyloviz-core/trunk/debian/control
Log:
Create build.xml (thanks for the patch to Olivier)
Modified: trunk/packages/phyloviz/phyloviz-core/trunk/debian/control
===================================================================
--- trunk/packages/phyloviz/phyloviz-core/trunk/debian/control 2012-11-21 14:00:27 UTC (rev 12555)
+++ trunk/packages/phyloviz/phyloviz-core/trunk/debian/control 2012-11-21 21:11:44 UTC (rev 12556)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 9), javahelper (>=0.25), default-jdk, ant
+Build-Depends: debhelper (>= 9), javahelper (>=0.25), default-jdk, ant, libnb-platform13-java
Standards-Version: 3.9.4
Homepage: http://www.phyloviz.net
Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/phyloviz/phyloviz-core/trunk/
Added: trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/build_xml.patch
===================================================================
--- trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/build_xml.patch (rev 0)
+++ trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/build_xml.patch 2012-11-21 21:11:44 UTC (rev 12556)
@@ -0,0 +1,60 @@
+Author: Olivier Sallou <olivier.sallou at irisa.fr>
+Date: Wed, 21 Nov 2012 18:37:47 +0100
+Description: build.xml without depending from netbeans magic
+
+--- net-phyloviz-core.orig/build.xml
++++ net-phyloviz-core/build.xml
+@@ -2,7 +2,51 @@
+ <!-- You may freely edit this file. See harness/README in the NetBeans platform -->
+ <!-- for some information on what you could do (e.g. targets to override). -->
+ <!-- If you delete this file and reopen the project it will be recreated. -->
+-<project name="net.phyloviz.core" default="netbeans" basedir=".">
++<project name="net.phyloviz.core" default="jar" basedir=".">
+ <description>Builds, tests, and runs the project net.phyloviz.core.</description>
+- <import file="nbproject/build-impl.xml"/>
++
++ <property name="project.jarfile.name" value="phyloviz-core.jar"/>
++ <property name="build.dir" location="build"/>
++ <property name="class.dir" location="${build.dir}/classes"/>
++ <property name="src.dir" location="src"/>
++ <property name="dist.dir" location="dist"/>
++ <property name="class.path" value="/usr/share/netbeans/platform13/modules/org-openide-dialogs.jar /usr/share/netbeans/platform13/core/org-openide-filesystems.jar /usr/share/netbeans/platform13/modules/org-openide-awt.jar /usr/share/netbeans/platform13/lib/org-openide-util.jar /usr/share/netbeans/platform13/lib/org-openide-util-lookup.jar /usr/share/netbeans/platform13/modules/org-openide-nodes.jar /usr/share/netbeans/platform13/modules/org-openide-windows.jar /usr/share/netbeans/platform13/modules/org-openide-explorer.jar /usr/share/netbeans/platform13/modules/org-openide-actions.jar /usr/share/netbeans/platform13/modules/org-netbeans-modules-settings.jar"/>
++
++ <path id="compile.classpath">
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-dialogs.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/core/org-openide-filesystems.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-awt.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/lib/org-openide-util.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/lib/org-openide-util-lookup.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-nodes.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-explorer.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-windows.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-actions.jar"/>
++ <pathelement location="/usr/share/netbeans/platform13/modules/org-netbeans-modules-settings.jar"/>
++ </path>
++
++ <target name="clean">
++ <echo>Cleaning build directories</echo>
++ <delete failonerror="false" verbose="true" includeEmptyDirs="true">
++ <fileset dir="${build.dir}" includes="**"/>
++ <fileset dir="${dist.dir}" includes="**"/>
++ </delete>
++ </target>
++
++ <target name="compile" depends="clean">
++ <mkdir dir="${class.dir}"/>
++ <mkdir dir="${dist.dir}"/>
++ <javac classpathref="compile.classpath" srcdir="${src.dir}" destdir="${class.dir}" source="1.5">
++ </javac>
++ </target>
++
++ <target name="jar" depends="compile">
++ <jar destfile="${dist.dir}/${project.jarfile.name}" basedir="${class.dir}" >
++ <manifest>
++ <attribute name="Built-By" value="${user.name}"/>
++ <attribute name="Class-Path" value="${class.path}"/>
++ </manifest>
++ </jar>
++ </target>
++
+ </project>
Added: trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/series
===================================================================
--- trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/series (rev 0)
+++ trunk/packages/phyloviz/phyloviz-core/trunk/debian/patches/series 2012-11-21 21:11:44 UTC (rev 12556)
@@ -0,0 +1 @@
+build_xml.patch
More information about the debian-med-commit
mailing list