grinvin (1.2-1) debian-dir only changes

Summary

 debian/changelog                      |   37 ++++++++++++++
 debian/compat                         |    1 
 debian/control                        |   20 +++++++
 debian/copyright                      |   38 +++++++++++++++
 debian/grinvin.desktop                |    8 +++
 debian/grinvin.menu                   |    2 
 debian/grinvin.sgml                   |   86 ++++++++++++++++++++++++++++++++++
 debian/grinvin.sh                     |    9 +++
 debian/install                        |    3 +
 debian/patches/build.xml.patch        |   67 ++++++++++++++++++++++++++
 debian/patches/nonjava.Makefile.patch |   19 +++++++
 debian/rules                          |   23 +++++++++
 debian/watch                          |    2 
 13 files changed, 315 insertions(+)

    
download this patch

Patch contents

--- grinvin-1.2.orig/debian/watch
+++ grinvin-1.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+  http://downloads.grinvin.org/modules/grinvin-dist/grinvin-(.*)-src\.tar\.gz
--- grinvin-1.2.orig/debian/changelog
+++ grinvin-1.2/debian/changelog
@@ -0,0 +1,37 @@
+grinvin (1.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed debian/README.Debian-source, no repackaging needed anymore
+  * debian/control:
+    - Updated Depends and Recommends for 1.2 dependencies
+    - Bumped Standards-Version to 3.8.0, no changes needed
+  * debian/copyright:
+    - Updated copyright years
+  * debian/rules:
+    - Use DEB_UPSTREAM_VERSION instead of manually crafted VERSION
+  * debian/watch:
+    - No need to mangle for dfsg anymore
+  * Updated run script
+
+ -- Adriaan Peeters <apeeters@lashout.net>  Mon, 27 Oct 2008 18:14:39 +0100
+
+grinvin (1.0.3.dfsg.1-2) unstable; urgency=low
+
+  * debian/copyright: included copyright for nonjava/benzene.c
+  * debian/control: Build-Depend on default-jdk-builddep instead of
+    java-gcj-compat-dev (Closes: #477869)
+  * debian/rules: change JAVA_HOME accordingly to /usr/lib/jvm/default-java
+
+ -- Adriaan Peeters <apeeters@lashout.net>  Wed, 30 Apr 2008 17:22:20 +0200
+
+grinvin (1.0.3.dfsg.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Adriaan Peeters <apeeters@lashout.net>  Mon, 14 Jan 2008 13:49:27 +0100
+
+grinvin (1.0.2.dfsg.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #447129)
+
+ -- Adriaan Peeters <apeeters@lashout.net>  Thu, 06 Dec 2007 15:45:07 +0100
--- grinvin-1.2.orig/debian/grinvin.sh
+++ grinvin-1.2/debian/grinvin.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+export CLASSPATH=$CLASSPATH
+for JAR in `ls /usr/share/java/*.jar`
+do
+  CLASSPATH=$JAR:$CLASSPATH
+done
+
+java org.grinvin.Grinvin
--- grinvin-1.2.orig/debian/install
+++ grinvin-1.2/debian/install
@@ -0,0 +1,3 @@
+build/linux/benzene usr/lib/grinvin/
+build/grinvin usr/bin/
+debian/grinvin.desktop /usr/share/applications/
--- grinvin-1.2.orig/debian/grinvin.menu
+++ grinvin-1.2/debian/grinvin.menu
@@ -0,0 +1,2 @@
+?package(grinvin):command="/usr/bin/grinvin" needs="X11" \
+	section="Applications/Science/Mathematics" title="GrInvIn"
--- grinvin-1.2.orig/debian/rules
+++ grinvin-1.2/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+ANT_HOME  := /usr/share/ant
+
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILD_TARGET := all
+
+DEB_INSTALL_CHANGELOGS_ALL := changelog.txt
+DEB_INSTALL_MANPAGES_grinvin += debian/grinvin.1
+
+build/grinvin::
+	/usr/bin/docbook-to-man debian/grinvin.sgml > debian/grinvin.1
+
+install/grinvin::
+	cp debian/grinvin.sh build/grinvin
+	dh_install -pgrinvin build/grinvin-dist-$(DEB_UPSTREAM_VERSION).jar usr/share/java/
+	dh_link -pgrinvin usr/share/java/grinvin-dist-$(DEB_UPSTREAM_VERSION).jar usr/share/java/grinvin-dist.jar
+	dh_desktop -pgrinvin
--- grinvin-1.2.orig/debian/grinvin.desktop
+++ grinvin-1.2/debian/grinvin.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=GrInvIn
+Exec=/usr/bin/grinvin
+Categories=Science;Math;Education
+Version=1.0.2
+Type=Application
+Terminal=0
--- grinvin-1.2.orig/debian/control
+++ grinvin-1.2/debian/control
@@ -0,0 +1,20 @@
+Source: grinvin
+Section: contrib/math
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Adriaan Peeters <apeeters@lashout.net>
+Homepage: http://www.grinvin.org/
+Build-Depends: debhelper (>> 5.0.0), cdbs, patchutils, ant, default-jdk-builddep, docbook-to-man
+Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/grinvin/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/grinvin/
+Standards-Version: 3.8.0
+
+Package: grinvin
+Architecture: any
+Depends: ${shlibs:Depends}, libgrinvin-core-java (>= 1.2)
+Recommends: libgrinvin-invariants-java (>= 1.2), libgrinvin-factories-java (>= 1.2), libgrinvin-generators-java (>= 1.0), libgrinvin-help-java (>= 1.2), libgrinvin-graphs-java (>= 1.2)
+Description: interactive software for studying graphs and their invariants
+ GrInvIn is a software package for studying graphs, their properties
+ (invariants) and the relations between these properties. It has been designed
+ to optimally support the user in learning graph theory by means of examples
+ and by experimenting with graphs and their properties.
--- grinvin-1.2.orig/debian/compat
+++ grinvin-1.2/debian/compat
@@ -0,0 +1 @@
+5
--- grinvin-1.2.orig/debian/grinvin.sgml
+++ grinvin-1.2/debian/grinvin.sgml
@@ -0,0 +1,86 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+  <!ENTITY dhfirstname "<firstname>Adriaan</firstname>">
+  <!ENTITY dhsurname   "<surname>Peeters</surname>">
+  <!ENTITY dhdate      "<date>Dec 6, 2007</date>">
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>apeeters@lashout.net</email>">
+  <!ENTITY dhusername  "Adriaan Peeters">
+  <!ENTITY dhucpackage "<refentrytitle>GRINVIN</refentrytitle>">
+  <!ENTITY dhpackage   "grinvin">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2007</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>graph invariant investigator</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage; </command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para><command>&dhpackage;</command>
+      computes conjectures based on a set of graphs and invariants.
+
+    </para>
+
+  </refsect1>
+
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others). It is based on
+      the help output of &dhpackage;. Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the <acronym>GNU</acronym> General Public
+      License, Version 2 or any later version published by the Free
+      Software Foundation; with no Invariant Sections, no Front-Cover
+      Texts and no Back-Cover Texts.</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- grinvin-1.2.orig/debian/copyright
+++ grinvin-1.2/debian/copyright
@@ -0,0 +1,38 @@
+This package was debianized by Adriaan Peeters <apeeters@lashout.net> on
+Fri, 23 Nov 2007 18:06:31 +0100.
+
+It was downloaded from http://downloads.grinvin.org/
+
+Upstream Authors: Gunnar Brinkmann, Kris Coolsaet, Veerle Fack, Adriaan
+  Peeters, Nico Van Cleemput
+
+The file nonjava/benzene.c is also authored by Gilles Caporossi and is
+   Copyright (C) 2005 Universiteit Gent
+   Copyright (C) 2001 Universität Bielefeld
+   Copyright (C) 2001 Ecole des hautes études commerciale, Montréal
+
+All other files are 
+  Copyright (C) 2004-2008 Universiteit Gent
+
+The upstream source code and the Debian packaging is licensed under the
+following license.
+
+License:
+
+   This program 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.
+
+   This program 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'.
--- grinvin-1.2.orig/debian/patches/nonjava.Makefile.patch
+++ grinvin-1.2/debian/patches/nonjava.Makefile.patch
@@ -0,0 +1,19 @@
+--- nonjava/Makefile	2007-06-18 09:50:40.000000000 +0200
++++ nonjava/Makefile.new	2007-10-05 16:39:36.000000000 +0200
+@@ -32,15 +32,12 @@
+ #
+ # On OS/X, cross compilation to both Windows and Linux is possible
+ 
+-# 
+-include Makefile.incl
+-
+ # directories
+ BUILD=../build
+ 
+ # makes external executables
+ 
+-all: ${TARGETS}
++all: for-linux-on-linux
+ 
+ # create directories for each case
+ for-linux:
--- grinvin-1.2.orig/debian/patches/build.xml.patch
+++ grinvin-1.2/debian/patches/build.xml.patch
@@ -0,0 +1,67 @@
+--- build.xml	2007-10-05 16:07:28.000000000 +0200
++++ build.xml.new	2007-10-05 17:49:32.000000000 +0200
+@@ -40,20 +40,6 @@
+     <!-- Minimal Java version -->
+     <property name="jre.minversion" value="1.5.0"/>
+     
+-    <!-- 
+-    LOAD ANT EXTENSIONS
+-    -->
+-    <taskdef name="jarbundler" 
+-             classname="net.sourceforge.jarbundler.JarBundler"
+-             classpath="${ant.JarBundler.classpath}"/>
+-
+-    <taskdef resource="net/sf/antcontrib/antlib.xml"
+-             classpath="${ant.AntContrib.classpath}"/>
+-    
+-    <taskdef name="launch4j"
+-             classname="net.sf.launch4j.ant.Launch4jTask"
+-             classpath="${ant.launch4j.classpath}/launch4j.jar:${ant.launch4j.classpath}/lib/xstream.jar" />
+-    
+     <!--
+        LIBRARIES
+        -->
+@@ -78,16 +64,6 @@
+         <pathelement path="${libs.Batik.classpath}"/>
+     </path>
+     
+-    <target name="-copy-libs">
+-        <mkdir dir="build/libs"/>
+-        <for param="item">
+-            <path refid="libraries.path"/>
+-            <sequential>
+-                <copy todir="build/libs" file="@{item}"/>
+-            </sequential>
+-        </for>
+-    </target>
+-    
+     <target name="clean">
+         <delete dir="build"/>
+         <delete dir="dist"/>
+@@ -112,7 +88,7 @@
+     </target>
+     
+     <target name="jar">
+-        <jar destfile="build/libs/grinvin-dist-${grinvin-dist.version}.jar"
++        <jar destfile="build/grinvin-dist-${grinvin-dist.version}.jar"
+              compress="false">
+             <fileset dir="${basedir}" includes="**/version.properties"/>
+             <metainf dir="${basedir}" includes="COPYRIGHT.txt,LICENSE.txt"/>
+@@ -123,7 +99,7 @@
+     PACKAGING
+     -->
+     
+-    <target name="-package-common" depends="-copy-libs,-make-nonjava,jar">
++    <target name="-package-common" depends="-make-nonjava,jar">
+         <mkdir dir="dist"/>
+     </target>
+     
+@@ -192,7 +168,7 @@
+         </tar>
+     </target>
+     
+-    <target name="packages" depends="-make-nonjava,-package-windows,-package-linux,-package-osx"
++    <target name="packages" depends="-make-nonjava,-package-common"
+             description="Build all binary distribution packages supported by the current platform"
+     />
+