[med-svn] [grabix] 03/14: [svn-inject] Applying Debian modifications to trunk

Andreas Tille tille at debian.org
Fri Dec 8 20:09:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to annotated tag upstream/4.1
in repository grabix.

commit df7b4591e958008c8f9e8398098e2be833f7f6ed
Author: Steffen Moeller <moeller at debian.org>
Date:   Thu Oct 4 22:09:52 2007 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 bla.txt                      | 24 ++++++++++++++++++
 build.xml                    | 26 ++++++++++++++++---
 debian/README.Debian         | 10 ++++++++
 debian/changelog             |  6 +++++
 debian/compat                |  1 +
 debian/control               | 18 ++++++++++++++
 debian/copyright             | 19 ++++++++++++++
 debian/docs                  |  1 +
 debian/haploview.dirs        |  2 ++
 debian/haploview.doc-base.EX | 22 +++++++++++++++++
 debian/manpage.1.ex          | 59 ++++++++++++++++++++++++++++++++++++++++++++
 debian/menu                  |  2 ++
 debian/rules                 | 29 ++++++++++++++++++++++
 debian/watch                 | 12 +++++++++
 haploview.sh                 |  2 ++
 15 files changed, 229 insertions(+), 4 deletions(-)

diff --git a/bla.txt b/bla.txt
new file mode 100644
index 0000000..6f78552
--- /dev/null
+++ b/bla.txt
@@ -0,0 +1,24 @@
+dpkg-buildpackage: source package is haploview
+dpkg-buildpackage: source version is 3.3-1
+dpkg-buildpackage: source changed by Steffen Moeller <moeller at unknown>
+dpkg-buildpackage: host architecture i386
+dpkg-buildpackage: source version without epoch 3.3-1
+test -x debian/rules
+test "`id -u`" = 0
+dh_clean 
+cd . && /usr/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/lib/kaffe/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true     clean
+Buildfile: build.xml
+
+init:
+
+clean:
+   [delete] Deleting directory /local/debian/home/moeller/debian/haploview/haploview-3.3/build
+
+BUILD SUCCESSFUL
+Total time: 0 seconds
+rm -f debian/stamp-ant-build
+dh_clean resources/jgrapht* Haploview.jar
+rm -rf build resources/jfreechart
+touch debian/files
+dpkg-source: building haploview using existing haploview_3.3.orig.tar.gz
+dpkg-source: building haploview in haploview_3.3-1.diff.gz
diff --git a/build.xml b/build.xml
index e118942..c7cd088 100644
--- a/build.xml
+++ b/build.xml
@@ -14,11 +14,17 @@
 <!-- Classpath -->
 
  <path id="library.classpath">
+   <fileset dir="/usr/share/java/">
+       <include name="jgrapht.jar"/>
+       <include name="jfreechart.jar"/>
+       <include name="jcommon.jar"/>
+   </fileset>
+<!--
    <fileset dir="resources/">
        <include name="*.jar"/>
        <include name="*.zip"/>
-       <include name="jfreechart/*.jar"/>
-     </fileset>
+   </fileset>
+-->
    <fileset dir="docs/">
        <include name="HaploHelp.jar"/>
    </fileset>
@@ -74,9 +80,16 @@
      <zipfileset src="resources/JimiProClasses.zip"/>
      <zipfileset src="resources/jh.jar"/>
      <zipfileset src="docs/HaploHelp.jar"/>
-     <zipfileset src="resources/jgrapht-0.5.3.jar"/>
+<!--
+	<zipfileset src="resources/jgrapht-0.5.3.jar"/>
+-->
+     <zipfileset src="/usr/share/java/jgrapht.jar"/>
+<!--
      <zipfileset src="resources/jfreechart/jfreechart-1.0.1.jar"/>
      <zipfileset src="resources/jfreechart/jcommon-1.0.0.jar"/>
+-->
+     <zipfileset src="/usr/share/java/jfreechart.jar"/>
+     <zipfileset src="/usr/share/java/jcommon.jar"/>
    </jar>
 </target>
 
@@ -94,9 +107,14 @@
      <zipfileset src="resources/JimiProClasses.zip"/>
      <zipfileset src="resources/jh.jar"/>
      <zipfileset src="docs/HaploHelp.jar"/>
-     <zipfileset src="resources/jgrapht-0.5.3.jar"/>
+<!--     <zipfileset src="resources/jgrapht-0.5.3.jar"/> -->
+     <zipfileset src="/usr/share/java/jgrapht.jar"/>
+<!--
      <zipfileset src="resources/jfreechart/jfreechart-1.0.1.jar"/>
      <zipfileset src="resources/jfreechart/jcommon-1.0.0.jar"/>
+-->
+     <zipfileset src="/usr/share/java/jfreechart.jar"/>
+     <zipfileset src="/usr/share/java/jcommon.jar"/>
    </jar>
 </target>
 
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..ae9b0f7
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,10 @@
+haploview for Debian
+--------------------
+
+Quite frustrating for me but possibly stimulating for others,
+this package builds with kaffe but does not run without the Sun JDK.
+
+The watch file indicates the older 3.1.1 version rather than the 3.3
+since upstream omitted the second dot as a separator on sourceforge.net.
+
+ -- Steffen Moeller <steffen_moeller at gmx.de>  Sun, 14 Jan 2007 15:28:10 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..224d553
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+haploview (3.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #311421)
+
+ -- Steffen Moeller <moeller at unknown>  Sun, 14 Jan 2007 15:28:10 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2494438
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: haploview
+Section: contrib/science
+Priority: extra
+Maintainer: Steffen Moeller <steffen_moeller at gmx.de>
+Build-Depends-Indep: cdbs, ant, debhelper (>= 5), kaffe|java-compiler,libjfreechart-java,libjgrapht-java
+Standards-Version: 3.7.2
+
+Package: haploview
+Architecture: all
+Depends: java-virtual-machine, sun-java5-jre|java2-runtime,libjfreechart-java,libjgrapht-java, ${shlibs:Depends}, ${misc:Depends}
+Description: Analysis and visualization of LD and haplotype maps
+ This tools assists �n the analysis of the nucleotide
+ variation in a population. Such investigations are performed
+ to determine genes and genetic pathways that are associated
+ with diseases. This is an early stage in the quest for new drugs.
+ .
+  Homepage: http://www.broad.mit.edu/mpg/haploview/
+  
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3d06ed0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,19 @@
+This package was debianized by Steffen Moeller <steffen_moeller at gmx.de> on
+Sun, 14 Jan 2007 15:28:10 +0100.
+
+It was downloaded from www.sf.net/projects/haploview.
+
+Upstream Authors: Jeffrey Barrett, Julian Maller, David Bender <haploview at broad.mit.edu>
+
+Copyright: 2003-2006 Broad Institute of MIT and Harvard
+
+License:
+
+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 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.
+
+The Debian packaging is (C) 2007, Steffen Moeller <steffen_moeller at gmx.de> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/haploview.dirs b/debian/haploview.dirs
new file mode 100644
index 0000000..8cfd4cc
--- /dev/null
+++ b/debian/haploview.dirs
@@ -0,0 +1,2 @@
+usr/share/haploview
+usr/bin
diff --git a/debian/haploview.doc-base.EX b/debian/haploview.doc-base.EX
new file mode 100644
index 0000000..d9eebfb
--- /dev/null
+++ b/debian/haploview.doc-base.EX
@@ -0,0 +1,22 @@
+Document: haploview
+Title: Debian haploview Manual
+Author: <insert document author here>
+Abstract: This manual describes what haploview is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/haploview/haploview.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/haploview/haploview.ps.gz
+
+Format: text
+Files: /usr/share/doc/haploview/haploview.text.gz
+
+Format: HTML
+Index: /usr/share/doc/haploview/html/index.html
+Files: /usr/share/doc/haploview/html/*.html
+
+  
diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
new file mode 100644
index 0000000..6612ab2
--- /dev/null
+++ b/debian/manpage.1.ex
@@ -0,0 +1,59 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH HAPLOVIEW SECTION "January 14, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+haploview \- program to do something
+.SH SYNOPSIS
+.B haploview
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B haploview
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBhaploview\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+haploview was written by <upstream author>.
+.PP
+This manual page was written by Steffen Moeller <moeller at unknown>,
+for the Debian project (but may be used by others).
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..d2a19b8
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(haploview):needs="X11" section="Apps/Science"\
+  title="haploview" command="/usr/bin/haploview"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..da3a22b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME=/usr/lib/kaffe
+JAVACMD=/usr/bin/java
+DEB_ANT_INSTALL_TARGET=haploview
+
+# Add here any variable or target overrides you need.
+
+DEB_JARS = jcommon,jgrapht,jfreechart
+
+DEB_INSTALL_EXAMPLES_haploview=$(shell ls examples/*)
+
+
+common-install-impl:: install/haploview
+#install/libjline-java-doc
+
+install/haploview:: DEB_FINALDIR=$(CURDIR)/debian/haploview
+install/haploview::
+	install -p -m 644 -D Haploview.jar $(DEB_FINALDIR)/usr/share/haploview/Haploview.jar
+	install -p -m 755 -D haploview.sh $(DEB_FINALDIR)/usr/bin/haploview
+
+clean::
+	dh_clean resources/jgrapht* Haploview.jar
+	rm -rf build resources/jfreechart
+	touch debian/files
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7af9880
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,12 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+http://sf.net/haploview/Haploview(.*)\.tar\.gz
+
+
diff --git a/haploview.sh b/haploview.sh
new file mode 100644
index 0000000..adf8976
--- /dev/null
+++ b/haploview.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+export CLASSPATH=/usr/share/java/jgrapht.jar java -jar /usr/share/haploview/Haploview.jar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/grabix.git



More information about the debian-med-commit mailing list