[cdk] 01/62: Added the debian/ for CDK.sf.net. Building on Daniel Leiderts deb packages, and now using CDBS. Its not fully working yet, but putting it here allows collaborate work

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Mar 30 21:56:34 BST 2018


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

ebourg-guest pushed a commit to branch master
in repository cdk.

commit ac1ebfcbfe42978f658e08fae6c9185e2941b26a
Author: Egon Willighagen <egonw at users.sf.net>
Date:   Wed Feb 15 09:41:03 2006 +0000

    Added the debian/ for CDK.sf.net. Building on Daniel Leiderts deb packages, and now using CDBS. Its not fully working yet, but putting it here allows collaborate work
---
 debian/README.Debian             |   6 ++
 debian/TODO                      |   8 ++
 debian/cdk.copyright             |  31 +++++++
 debian/cdk.dirs                  |   2 +
 debian/cdk.install               |   3 +
 debian/cdk.manpages              |  10 +++
 debian/changelog                 | 188 +++++++++++++++++++++++++++++++++++++++
 debian/compat                    |   1 +
 debian/control                   |  46 ++++++++++
 debian/libcdk-java-doc.copyright |  39 ++++++++
 debian/libcdk-java-doc.dirs      |   2 +
 debian/libcdk-java-doc.install   |   3 +
 debian/libcdk-java.copyright     |  39 ++++++++
 debian/libcdk-java.dirs          |   2 +
 debian/libcdk-java.install       |   3 +
 debian/rules                     |  63 +++++++++++++
 16 files changed, 446 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8ddaa73
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+cdk for Debian
+--------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Daniel Leidert <daniel.leidert at wgdd.de>, Sat,  5 Feb 2005 19:42:32 +0100
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..6866ad4
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,8 @@
+TODO list for cdk in Debian
+
+* Patch the build.xml so that the JavaDoc taglets Make*FilesTaglet in doc/javadoc/source compile with gjdoc
+
+* Make a binary package for JChemPaint, see the build-jchempaint.xml
+
+* Complete dependencies and remove optional library dependencies from contrib, such as batik
+
diff --git a/debian/cdk.copyright b/debian/cdk.copyright
new file mode 100644
index 0000000..25b4e8b
--- /dev/null
+++ b/debian/cdk.copyright
@@ -0,0 +1,31 @@
+This package was debianized by Daniel Leidert (dale) <daniel.leidert at wgdd.de>.
+
+It was downloaded from http://cdk.sourceforge.net.
+
+Copyright:
+
+	Copyrighted 1997-2006 by The CDK Development Team
+
+Upstream Authors:
+
+	Egon Willighagen, Daniel Leidert
+	The CDK Development Team
+
+License: LGPL
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+  
+  This library 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
+  Lesser General Public License for more details.
+  
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+On Debian systems, a copy of the GNU Lesser General Public License, version
+2.1, is available as the file /usr/share/common-licenses/copyright/LGPL.
diff --git a/debian/cdk.dirs b/debian/cdk.dirs
new file mode 100644
index 0000000..26ca4c0
--- /dev/null
+++ b/debian/cdk.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/bug/cdk
diff --git a/debian/cdk.install b/debian/cdk.install
new file mode 100644
index 0000000..417999e
--- /dev/null
+++ b/debian/cdk.install
@@ -0,0 +1,3 @@
+cdk-bin/* usr/bin
+
+debian/reportbug/control usr/share/bug/cdk
diff --git a/debian/cdk.manpages b/debian/cdk.manpages
new file mode 100644
index 0000000..503eabc
--- /dev/null
+++ b/debian/cdk.manpages
@@ -0,0 +1,10 @@
+cdk-man/cdk-dbadmin.1
+cdk-man/cdk-download.1
+cdk-man/cdk-fileconvert.1
+cdk-man/cdk-fingerprinter.1
+cdk-man/cdk-guessformat.1
+cdk-man/cdk-iupacname.1
+cdk-man/cdk-substructure.1
+cdk-man/cdk-test.1
+cdk-man/cdk-validate.1
+cdk-man/cdk-view.1
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d09c8a5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,188 @@
+cdk (20060211-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed JOELib from package
+
+ -- Egon Willighagen <egonw at users.sourceforge.net>  Sat, 11 Feb 2006 20:47:00 +0100
+
+cdk (20050125-0dl0) unstable; urgency=low
+
+  * Completely rewritten package process.
+    - includes joelib source
+    - packaging joelib with (API-)documentation
+    - massive using of dpatch
+    - excluding common stuff (copy it into /usr/share/java, if you need it),
+      means: removed libcdk-java-common
+  * Fixes:
+    - rewritten manpages for cdk binaries
+    - better JAVA detection for cdk binaries
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sat,  5 Feb 2005 19:44:26 +0100
+
+cdk (20041015-1) unstable; urgency=low
+
+  * New upstream release + fix for wrong element types.
+  * Moved cdk to contrib/utils.
+  * Moved libcdk-java to contrib/libs.
+  * Moved libcdk-java-doc to contrib/doc.
+  * Moved libcdk-java-common to non-free/libs.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sat, 13 Nov 2004 03:04:22 +0100
+
+cdk (20040917-2) unstable; urgency=low
+
+  * New build. 
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sun, 10 Oct 2004 20:01:48 +0200
+
+cdk (20040917-1) unstable; urgency=low
+
+  * New Upstream release.
+  * Build against joelib-20040827.
+  * Package was reamed to cdk (use 'apt-get source cdk' to get the source), but
+    it is still split into 4 packages.
+  * Adjusted control-file and dependencies.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Fri, 17 Sep 2004 23:26:46 +0200
+
+libcdk-java (20040626-2+3) unstable; urgency=low
+
+  * [NEWS] package-split.
+  * Added package cdk, which contains the shell wrappers (+ manpages).
+  * Added control-files for reportbug.
+  * Clean-up Makefile and rules, some changes in debian.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Fri, 20 Aug 2004 23:13:38 +0200
+
+libcdk-java (20040626-2+2) unstable; urgency=low
+
+  * Added a JavaDoc-package for the CDK-API (libcdk-java-doc).
+  * Adjusted debian/control.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Fri, 20 Aug 2004 12:22:51 +0200
+
+libcdk-java (20040626-2+1) unstable; urgency=low
+
+  * Build with Java3D and JOElib.
+  * Now suggests the different plugin-packages, not libcdk-java-plugins.
+  * Symlinks are now made "the Debian way".
+  * Split package - recommends libcdk-java-common.
+  * libcdk-java-common pre-depends on libcdk-java, to solve the upgrade
+    problem with the common-libs in /usr/share/libcdk-java/lib.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Fri, 13 Aug 2004 03:19:59 +0200
+
+libcdk-java (20040626-1.1) unstable; urgency=low
+
+  * Now suggests libcdk-java-plugins.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sun, 10 Aug 2004 22:41:15 +0200
+
+libcdk-java (20040626-1) unstable; urgency=low
+
+  * New upstream release.
+  * Now there is only one package called libcdk-java providing all libraries
+    and shell scripts, former provided by cdk & libcdk-java.
+  * libcdk-java is now built against ...(libraries)
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Sun,  8 Aug 2004 22:42:33 +0200
+
+cdk (20040513) unstable; urgency=low
+
+  * New upstream release
+  * Now uses gjdoc instead of javadoc (see patches/)
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Thu, 13 May 2004 19:44:00 +0100
+
+cdk (20040420cvs-2) unstable; urgency=low
+
+  * Now conform Standards Version 3.6.1 (control)
+  * Split up package into two binary packages: libcdk-java and cdk
+  * Now depends on debhelper (rules)
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Tue, 20 Apr 2004 13:27:00 +0100
+
+cdk (20040420cvs-1) unstable; urgency=low
+
+  * New release based on CVS
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Tue, 20 Apr 2004 11:36:00 +0100
+
+cdk (20040202-1) unstable; urgency=low
+
+  * New upstream release
+  * Now depends on a lot more Debian packages (control)
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Tue, 03 Feb 2004 11:47:00 +0100
+
+cdk (20040120-2) unstable; urgency=low
+
+  * Now build depends on gcj instead of j2sdk1.4
+  * Now depends on kaffe instead of j2se1.4
+  * Added missing xsltproc build dependency (control)
+  * Now stores extra jar libraries in the correct dir (/usr/share/cdk/lib)
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Wed, 21 Jan 2004 15:33:00 +0100
+
+cdk (20040120-1) unstable; urgency=low
+
+  * New upstream release 20040120
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Tue, 20 Jan 2004 10:30:00 +0100
+
+cdk (20040112-2) unstable; urgency=low
+
+  * Fixed description title name of CDK (control)
+  * Hopefully moved package to arch = all (control)
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Mon, 12 Jan 2004 17:59:00 +0100
+
+cdk (20040112-1) unstable; urgency=low
+
+  * New upstream release taken from CVS
+  * Fixed Depends to have java2-runtime (control)
+  * Added list of contributors to AUTHORS
+  * More information in README
+  * Removed CVS dir from debian/patches
+  * Added upstream ChangeLog
+  * Moved package to science subsection (control)
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Mon, 12 Jan 2004 12:46:00 +0100
+
+cdk (20031017-1) unstable; urgency=low
+
+  * New upstream release
+  * Now uses log4j*.jar from liblog4j1.2-java package
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Fri, 17 Oct 2003 11:11:00 +0100
+
+cdk (20030702-1) unstable; urgency=low
+
+  * New upstream release
+  * Put into correct Section (control)
+  * Now conform Standards Version 3.5.9 (control)
+  * Removed duplication in Description (control)
+  * Added depends on j2se1.4 (control)
+  * Fixed building system
+  * Now uses junit.jar from junit package
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Sat, 03 Jul 2003 12:11:00 +0100
+
+cdk (20020920-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Sat, 20 Sep 2002 21:58:43 +0100
+
+cdk (20020831-1) unstable; urgency=low
+
+  * New upstream version
+  * Merged libcdk, libcdkextra and cdk into one package
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Sun, 01 Sep 2002 20:34:11 +0100
+
+cdk (20020805-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- E.L. Willighagen (Egon) <egonw at sci.kun.nl>  Thu, 06 Aug 2002 19:59:29 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3ac28ef
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: cdk
+Section: contrib/libs
+Priority: optional
+Maintainer: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+Build-Depends-Indep: debhelper (>= 4.0.0), ant (>= 1.6), antlr, docbook-xsl (>= 1.66.1), javacc, kaffe | java2-compiler, libcommons-cli-java, libcrimson-java, libjdom0-java, liblog4j1.2-java, libmysql-java, libpgjava, libxerces2-java, xsltproc
+Standards-Version: 3.6.1.1
+
+Package: cdk
+Section: contrib/utils
+Architecture: all
+Depends: libcdk-java (>= ${Source-Version}), perl, perl-base (>= 5.6.1)
+Description: Shell wrappers for the Chemistry Development Kit (CDK)
+ The CDK is a library of Java classes used in computational and
+ information chemistry and in bioinformatics. It includes renderers,
+ file IO, SMILES generation/parsing, maximal common substructure
+ algorithms, fingerprinting and much, much more.
+ .
+ This package contains a set of shell wrappers to manipulate databases,
+ query structure informations, test the CDK-classes and many more.
+
+Package: libcdk-java
+Section: contrib/libs
+Architecture: all
+Depends: j2re1.4 | java2-virtual-machine | java2-runtime
+Suggests: jchempaint, jmol, cdk, libcdk-java-doc
+Description: Chemistry Development Kit (CDK) Java libraries
+ The CDK is a library of Java classes used in computational and
+ information chemistry and in bioinformatics. It includes renderers,
+ file IO, SMILES generation/parsing, maximal common substructure
+ algorithms, fingerprinting and much, much more.
+ .
+ See the project page for more information:
+ http://cdk.sourceforge.net
+
+Package: libcdk-java-doc
+Section: contrib/doc
+Architecture: all
+Suggests: libcdk-java
+Description: API documentation of the the Chemistry Development Kit (CDK)
+ The CDK is a library of Java classes used in computational and
+ information chemistry and in bioinformatics. It includes renderers,
+ file IO, SMILES generation/parsing, maximal common substructure
+ algorithms, fingerprinting and much, much more.
+ .
+ This package contains the API documentation of the Chemistry Development
+ Kit (CDK) Java libraries.
diff --git a/debian/libcdk-java-doc.copyright b/debian/libcdk-java-doc.copyright
new file mode 100644
index 0000000..7062982
--- /dev/null
+++ b/debian/libcdk-java-doc.copyright
@@ -0,0 +1,39 @@
+This package was debianized by Daniel Leidert (dale) <daniel.leidert at wgdd.de>.
+
+It was downloaded from http://cdk.sourceforge.net.
+
+Copyright:
+
+	Copyrighted 1997-2005 by The CDK Development Team
+
+Upstream Authors and Contributors:
+
+	The CDK Development Team
+	(Ulrich Bauer, Miguel Rojas Cherto, Fabian Dortu, Matteo Floris,
+	 Dan Gezelter, Rajarshi Guha, Yonquan Han, Kai Hartmann,
+	 Christian Hoppe, Oliver Horlacher, Miguel Howard, Geert Josten,
+	 Anatoli Krassavine, Stefan Kuhn, Daniel Leidert, Edgar Luttmann,
+	 Nathana�l Mazuir, Stephan Michels, Peter Murray-Rust, Chris Pudney,
+	 Jonathan Rienstra-Kiracofe, David Robinson, Bhupinder Sandhu,
+	 Jean-Sebastien Senecal, Sulev Sild, Bradley Smith,
+	 Christoph Steinbeck, Stephan Tomkinson, Joerg Wegner,
+	 Stephane Werner, Egon Willighagen, Yong Zhang)
+
+License: LGPL
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+  
+  This library 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
+  Lesser General Public License for more details.
+  
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+On Debian systems, a copy of the GNU Lesser General Public License, version
+2.1, is available as the file /usr/share/common-licenses/copyright/LGPL.
diff --git a/debian/libcdk-java-doc.dirs b/debian/libcdk-java-doc.dirs
new file mode 100644
index 0000000..e4dadd4
--- /dev/null
+++ b/debian/libcdk-java-doc.dirs
@@ -0,0 +1,2 @@
+usr/share/bug/libcdk-java-doc
+usr/share/doc/libcdk-java-doc/apidoc
diff --git a/debian/libcdk-java-doc.install b/debian/libcdk-java-doc.install
new file mode 100644
index 0000000..42c993d
--- /dev/null
+++ b/debian/libcdk-java-doc.install
@@ -0,0 +1,3 @@
+build-tree/cdk/apidoc/* usr/share/doc/libcdk-java-doc/apidoc
+
+debian/reportbug/control usr/share/bug/libcdk-java-doc
diff --git a/debian/libcdk-java.copyright b/debian/libcdk-java.copyright
new file mode 100644
index 0000000..7062982
--- /dev/null
+++ b/debian/libcdk-java.copyright
@@ -0,0 +1,39 @@
+This package was debianized by Daniel Leidert (dale) <daniel.leidert at wgdd.de>.
+
+It was downloaded from http://cdk.sourceforge.net.
+
+Copyright:
+
+	Copyrighted 1997-2005 by The CDK Development Team
+
+Upstream Authors and Contributors:
+
+	The CDK Development Team
+	(Ulrich Bauer, Miguel Rojas Cherto, Fabian Dortu, Matteo Floris,
+	 Dan Gezelter, Rajarshi Guha, Yonquan Han, Kai Hartmann,
+	 Christian Hoppe, Oliver Horlacher, Miguel Howard, Geert Josten,
+	 Anatoli Krassavine, Stefan Kuhn, Daniel Leidert, Edgar Luttmann,
+	 Nathana�l Mazuir, Stephan Michels, Peter Murray-Rust, Chris Pudney,
+	 Jonathan Rienstra-Kiracofe, David Robinson, Bhupinder Sandhu,
+	 Jean-Sebastien Senecal, Sulev Sild, Bradley Smith,
+	 Christoph Steinbeck, Stephan Tomkinson, Joerg Wegner,
+	 Stephane Werner, Egon Willighagen, Yong Zhang)
+
+License: LGPL
+
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+  
+  This library 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
+  Lesser General Public License for more details.
+  
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+On Debian systems, a copy of the GNU Lesser General Public License, version
+2.1, is available as the file /usr/share/common-licenses/copyright/LGPL.
diff --git a/debian/libcdk-java.dirs b/debian/libcdk-java.dirs
new file mode 100644
index 0000000..1a09622
--- /dev/null
+++ b/debian/libcdk-java.dirs
@@ -0,0 +1,2 @@
+usr/share/java
+usr/share/bug/libcdk-java
diff --git a/debian/libcdk-java.install b/debian/libcdk-java.install
new file mode 100644
index 0000000..4e1f31c
--- /dev/null
+++ b/debian/libcdk-java.install
@@ -0,0 +1,3 @@
+build-tree/cdk/jar/cdk*.jar usr/share/java
+
+debian/reportbug/control usr/share/bug/libcdk-java
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..2fa6db3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,63 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+#include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+JAVA_HOME := /usr/lib/kaffe
+JAVACMD := /usr/bin/kaffe
+ANT_OPTS := -Xmx256m
+ANT_HOME := /usr/share/ant
+DEB_JARS := \
+	ant-nodeps \
+	javacc \
+	vecmath1.2 \
+	log4j-1.2 \
+	commons-cli
+
+DEB_ANT_COMPILER := jikes
+DEB_ANT_BUILD_TARGET := dist-all
+DEB_ANT_JARS := \
+    gnu-classpath-tools-gjdoc \
+    com-sun-tools-doclets-Taglet \
+    com-sun-javadoc
+
+
+# Additional command-line arguments for Ant
+ANT_ARGS := -verbose
+
+LIBRARY_PACKAGE := cdk
+API_VERSION     := 20060211
+
+COMPONENTS := \
+	applications \
+	builder3d \
+	core \
+	data \
+	experimental \
+	extra \
+	interfaces \
+	io \
+	io-jmol \
+	libio-cml \
+	pdb-cml \
+	pdb \
+	qsar-cml \
+	qsar \
+	render \
+	standard \
+	swing 
+
+build/$(LIBRARY_PACKAGE)::
+	# Make manpages.
+	@cd debian/cdk-manpages && for mxml in "*.xml"; do \
+		xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl $$mxml; \
+	done
+
+install/lib$(LIBRARY_PACKAGE)-java::
+	for COMPONENT in $(COMPONENTS); do \
+		install -m 644 dist/jar/$(LIBRARY_PACKAGE)-$$COMPONENT.jar \
+			debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$$COMPONENT-$(API_VERSION).jar; \
+		ln -s $(LIBRARY_PACKAGE)-$$COMPONENT-$(API_VERSION).jar \
+			debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$$COMPONENT.jar; \
+	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/cdk.git



More information about the pkg-java-commits mailing list