[pkg-java] r7837 - in trunk/jalview: . debian debian/wrappers

fourmond at alioth.debian.org fourmond at alioth.debian.org
Sat Jan 17 13:49:32 UTC 2009


Author: fourmond
Date: 2009-01-17 13:49:32 +0000 (Sat, 17 Jan 2009)
New Revision: 7837

Added:
   trunk/jalview/debian/
   trunk/jalview/debian/README.Debian
   trunk/jalview/debian/changelog
   trunk/jalview/debian/compat
   trunk/jalview/debian/control
   trunk/jalview/debian/copyright
   trunk/jalview/debian/dirs
   trunk/jalview/debian/docs
   trunk/jalview/debian/menu.ex
   trunk/jalview/debian/new-upstream
   trunk/jalview/debian/rules
   trunk/jalview/debian/watch
   trunk/jalview/debian/wrappers/
   trunk/jalview/debian/wrappers/jalview
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/jalview/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/jalview/debian/README.Debian
===================================================================
--- trunk/jalview/debian/README.Debian	                        (rev 0)
+++ trunk/jalview/debian/README.Debian	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,6 @@
+jalview for Debian
+------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Vincent Fourmond <fourmond at debian.org>  Thu, 15 Jan 2009 23:12:16 +0100

Added: trunk/jalview/debian/changelog
===================================================================
--- trunk/jalview/debian/changelog	                        (rev 0)
+++ trunk/jalview/debian/changelog	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,8 @@
+jalview (2.4.dfsg-1) UNRELEASED unstable; urgency=low
+
+  * DO NOT UPLOAD THIS PACKAGE: WORK IN PROGRESS !
+  * Initial release (Closes: #507436)
+  * Adding a debian/new-upstream script to repackage the original
+    tarball, getting rid of the non-free bits.
+
+ -- Vincent Fourmond <fourmond at debian.org>  Sat, 17 Jan 2009 14:18:11 +0100

Added: trunk/jalview/debian/compat
===================================================================
--- trunk/jalview/debian/compat	                        (rev 0)
+++ trunk/jalview/debian/compat	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1 @@
+7

Added: trunk/jalview/debian/control
===================================================================
--- trunk/jalview/debian/control	                        (rev 0)
+++ trunk/jalview/debian/control	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,21 @@
+Source: jalview
+Section: science
+Priority: optional
+Maintainer: Vincent Fourmond <fourmond at debian.org>
+Build-Depends: cdbs, debhelper (>= 7), default-jdk-builddep,
+	       ant
+Standards-Version: 3.8.0
+Homepage: http://www.jalview.org/
+
+Package: jalview
+Architecture: any
+Depends: ${misc:Depends}, openjdk-6-jre | cacao-oj6-jre | java6-runtime,
+	 java-wrappers (>= 0.1.11), libxerces2-java, libxalan2-java, 
+Suggests: clustalw, kalign, t-coffee
+Description: multiple alignment editor
+ JalView is a Java alignement editor that can work with sequence
+ alignement produced by programs implementing alignment algorithms
+ such as clustalw, kalign and t-coffee.
+ .
+ It has lots of features, and can be considered a decent BioEdit
+ replacement for Debian systems.

Added: trunk/jalview/debian/copyright
===================================================================
--- trunk/jalview/debian/copyright	                        (rev 0)
+++ trunk/jalview/debian/copyright	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,52 @@
+This package was debianized by:
+
+    Vincent Fourmond <fourmond at debian.org> on Thu, 15 Jan 2009 23:12:16 +0100
+
+It was downloaded from:
+
+    <url://example.com>
+
+Upstream Author(s):
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright:
+
+    <Copyright (C) YYYY Firtname Lastname>
+    <likewise for another author>
+
+License:
+
+### SELECT: ###
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+### OR ###
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License version 2 as
+   published by the Free Software Foundation.
+##########
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is:
+
+    Copyright C) 2009, Vincent Fourmond <fourmond at debian.org>
+
+and is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added: trunk/jalview/debian/dirs
===================================================================
--- trunk/jalview/debian/dirs	                        (rev 0)
+++ trunk/jalview/debian/dirs	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,2 @@
+usr/share/java
+usr/bin
\ No newline at end of file

Added: trunk/jalview/debian/docs
===================================================================
--- trunk/jalview/debian/docs	                        (rev 0)
+++ trunk/jalview/debian/docs	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1 @@
+README

Added: trunk/jalview/debian/menu.ex
===================================================================
--- trunk/jalview/debian/menu.ex	                        (rev 0)
+++ trunk/jalview/debian/menu.ex	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,2 @@
+?package(jalview):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\
+  title="jalview" command="/usr/bin/jalview"

Added: trunk/jalview/debian/new-upstream
===================================================================
--- trunk/jalview/debian/new-upstream	                        (rev 0)
+++ trunk/jalview/debian/new-upstream	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# new-upstream: copyright 2007 by Vincent Fourmond.
+# See debian/copyright file for details.
+#
+# Called by uscan; from uscan(1):
+#
+# Finally,  if a third parameter (an action) is given in the watchfile
+# line, this is taken as the name of a command, and the command
+#  command --upstream-version version filename
+# 
+# is executed, using either the original file or the symlink name.
+#
+# Thanks to Sam Morris <sam at robots.org.uk> for giving me the idea
+#
+
+version=$2
+filename=$3
+
+dir=`mktemp -d`
+
+# We repackage the upstream source zip file:
+tar cvz -C $dir -f "$filename"
+origname=jalview_$version.dfsg.orig.tar.gz
+
+# We repackage excluding the lib/ subdir
+cd $dir
+# Removing the utils/ directory, not needed for build ?
+rm -rf jalview*/utils
+# Remove unneeded jar files.
+for jar in xercesImpl.jar ; do
+    rm -f jalview*/lib/$f
+done
+tar cvz -f $origname jalv*
+cd -
+mv $dir/$origname ..
+rm -rf $dir
\ No newline at end of file

Added: trunk/jalview/debian/rules
===================================================================
--- trunk/jalview/debian/rules	                        (rev 0)
+++ trunk/jalview/debian/rules	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+# debian/rules for statsvn, based on the one from Batik (uses CDBS)
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+VERSION = $(shell dpkg-parsechangelog | egrep '^Version' | \
+	sed -r 's/Version:\s*//' | sed -r 's/^[0-9]+://' | \
+	sed -r 's/(\.dfsg)?-[0-9.]+//')
+
+# export JITC_PROCESSOR_TYPE=6
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+JAVA_HOME_DIRS       := /usr/lib/jvm/java-gcj
+ANT_HOME             := /usr/share/ant
+DEB_ANT_COMPILER     := modern
+DEB_ANT_BUILD_TARGET := build makedist
+DEB_BUILDDIR         := .
+DEB_ANT_BUILDFILE    := build.xml
+DEB_ANT_CLEAN_TARGET := clean
+
+# Some comments here:
+# libaxis-java
+#  -> saaj.jar
+#  -> jaxrpc.jar
+# libwsdl4j-java
+#  -> wsdl4j.jar
+# libgnujaf-java
+#  -> activation.jar
+# javahelp2:
+#  -> jhall.jar
+
+# These are jar provided by the source tarball that should be installed
+# along with the program to make it work.
+#
+# AS LONG AS THIS VARIABLE EXISTS, UPLOAD TO MAIN, AND POSSIBLY TO NON-FREE
+# IS IMPOSSIBLE !
+BINARY_JARS = activation.jar axis.jar castor-1.1-cycle-xml.jar \
+	commons-discovery.jar commons-logging.jar jaxrpc.jar \
+	jhall.jar Jmol-11.0.2.jar log4j-1.2.8.jar mail.jar regex.jar \
+	saaj.jar vamsas-client.jar wsdl4j.jar xml-apis.jar
+
+
+print-version:
+	echo $(VERSION)
+
+install-binary-jars:
+	for jar in $(BINARY_JARS); do \
+	install -m 644 lib/$$jar debian/jalview/usr/share/java/jalview-$$jar; \
+	done
+
+install/jalview:: install-binary-jars
+	install -m 644 dist/jalview.jar debian/jalview/usr/share/java/jalview-$(VERSION).jar
+	ln -s jalview-$(VERSION).jar debian/jalview/usr/share/java/jalview.jar
+	install -m 755 -t debian/jalview/usr/bin debian/wrappers/jalview
+
+clean::
+	rm -rf dist
+


Property changes on: trunk/jalview/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/jalview/debian/watch
===================================================================
--- trunk/jalview/debian/watch	                        (rev 0)
+++ trunk/jalview/debian/watch	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,10 @@
+# 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
+
+opts="dversionmangle=s/\.dfsg//,uversionmangle=s/_/./"	\
+http://www.jalview.org/source/source.html jalview_(.*)\.tar\.gz debian/new-upstream

Added: trunk/jalview/debian/wrappers/jalview
===================================================================
--- trunk/jalview/debian/wrappers/jalview	                        (rev 0)
+++ trunk/jalview/debian/wrappers/jalview	2009-01-17 13:49:32 UTC (rev 7837)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+# We need openjdk or sun6
+find_java_runtime openjdk sun6
+
+find_jars jalview-activation jalview-axis jalview-castor-1.1-cycle-xml \
+    jalview-commons-discovery jalview-commons-logging jalview-jaxrpc \
+    jalview-jhall jalview-Jmol-11.0.2 jalview-log4j-1.2.8 \
+    jalview-mail jalview-regex jalview-saaj jalview-vamsas-client \
+    jalview-wsdl4j xercesImpl xml-apis \
+    jalview
+
+run_java jalview.bin.Jalview "$@"




More information about the pkg-java-commits mailing list