[med-svn] [euler-sr] 01/12: Euler-sr is the successor of euler2. Both feature a non-free (free for academical use) license and need registration for download. Before talking to upstream we can not release a Debian package - but here is at least some preliminary packaging stuff - which needs some enhancement anyway.

Andreas Tille tille at debian.org
Tue Dec 5 15:29:41 UTC 2017


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

tille pushed a commit to branch master
in repository euler-sr.

commit 9e35b713326a250880bda56b9286ed85cea6e3d4
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 19 20:27:55 2008 +0000

    Euler-sr is the successor of euler2.  Both feature a non-free (free for academical use) license and need registration for download.  Before talking to upstream we can not release a Debian package - but here is at least some preliminary packaging stuff - which needs some enhancement anyway.
---
 debian/README.Debian            |  8 +++++++
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 18 ++++++++++++++++
 debian/copyright                | 46 +++++++++++++++++++++++++++++++++++++++++
 debian/docs                     |  1 +
 debian/install                  |  2 ++
 debian/patches/20_gcc_4.3.patch | 22 ++++++++++++++++++++
 debian/patches/series           |  1 +
 debian/rules                    | 31 +++++++++++++++++++++++++++
 10 files changed, 135 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..ec6b980
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+euler-sr for Debian
+-------------------
+
+Downloading the source tarball for Euler-SR needs registration at
+the website.  So we provide here at least the packaging stuff to
+simplify building Debian packages.
+
+ -- Andreas Tille <tille at debian.org>  Thu, 11 Dec 2008 09:51:31 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0de2cb8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+euler-sr (0.0.20081211-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Andreas Tille <tille at debian.org>  Tue, 09 Dec 2008 07:40:11 +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..8913bcd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: euler-sr
+Section: science
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: cdbs, debhelper, quilt
+Standards-Version: 3.8.0
+Homepage: http://nbcr.sdsc.edu/euler/document.htm
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/euler2/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/euler2/trunk/
+
+Package: euler-sr
+Architecture: any
+Section: science
+Depends: ${shlibs:Depends}, graphviz
+Description: short description
+ long description
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..aea409d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+X-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+X-Debianized-By: Andreas Tille <tille at debian.org>
+X-Debinized-Date: Tue,  9 Dec 2008 14:19:29 +0100.
+X-Upstream-Author: Pavel A. Pevzner, Haixu Tang and Glenn Tesler
+X-Homepage: http://nbcr.sdsc.edu/euler/document.htm
+
+Files: *
+Copyright: (C) 2001-2004 The Regents of the University of California.
+ EULER V2.0
+ Copyright (c) 2001-2004 The Regents of the University of California
+ All Rights Reserved
+ .
+ Permission to use any part of this EULER V2.0 software for
+ educational, research and non-profit purposes, without fee, and
+ without a written agreement is hereby granted, provided that the above
+ copyright notice, this paragraph and the following three paragraphs
+ appear in all copies.
+ .
+ Those desiring to incorporate this EULER V2.0 software into commercial
+ products or use for other purposes not specified above should contact
+ the Technology Transfer & Intellectual Property Services, University
+ of California, San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla,
+ CA 92093-0910, Ph: (858) 534-5815, FAX: (858) 534-7345,
+ E-MAIL:invent at ucsd.edu.
+ .
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS EULER V2.0
+ SOFTWARE, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ THE EULER V2.0 SOFTWARE PROVIDED HEREIN IS ON AN "AS IS" BASIS, AND
+ THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE,
+ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  THE UNIVERSITY OF
+ CALIFORNIA MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES OF ANY
+ KIND, EITHER IMPLIED OR EXPRESS, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
+ PURPOSE, OR THAT THE USE OF THE EULER V2.0 SOFTWARE WILL NOT INFRINGE
+ ANY PATENT, TRADEMARK OR OTHER RIGHTS.
+
+
+Files: debian/*
+Copyright: 2008 Andreas Tille <tille at debian.org> on
+License: GPL
+X-Comment: On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..7dc2f72
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.eulersr
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..0127d25
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+binary/*         usr/lib/euler-sr
+assembly_utils/* usr/lib/euler-sr
diff --git a/debian/patches/20_gcc_4.3.patch b/debian/patches/20_gcc_4.3.patch
new file mode 100644
index 0000000..5140526
--- /dev/null
+++ b/debian/patches/20_gcc_4.3.patch
@@ -0,0 +1,22 @@
+--- euler-sr.orig/lib/utils.cpp
++++ euler-sr/lib/utils.cpp
+@@ -15,6 +15,7 @@
+ #include <istream>
+ #include <time.h>
+ #include <assert.h>
++#include <string.h>
+ 
+ using namespace std;
+ 
+--- euler-sr.orig/lib/tree/NewettTree.cpp
++++ euler-sr/lib/tree/NewettTree.cpp
+@@ -8,6 +8,9 @@
+  * All Rights Reserved
+  * See file LICENSE for details.
+  ***************************************************************************/
++
++#include <stdlib.h>
++
+ #include "NewettTree.h"
+ char Advance(std::ifstream &in) {
+   char next = in.peek();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a33e509
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+20_gcc_4.3.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6d72c6c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+# debian/rules for euler2 using cdbs
+# Andreas Tille <tille at debian.org>, GPL
+
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+pkg=euler-sr
+
+# EUSRC ?= $(shell pwd)
+MACHTYPE=i686
+
+DEB_MAKE_CLEAN_TARGET = clean MACHTYPE=$(MACHTYPE) EUSRC=`pwd`
+DEB_MAKE_BUILD_TARGET = all   MACHTYPE=$(MACHTYPE) EUSRC=`pwd`
+
+get-orig-source:
+	echo "You have to gegister to obtain the upstream source"
+
+clean::
+	find . -type f -name "lib*.a" -exec rm -f \{\} \;
+	find . -type f -name ".exists" -exec rm -f \{\} \;
+	rm -f lib/make.[dfo][fie]*
+	rm -rf binary
+
+build/$(pkg)::
+	mkdir -p binary
+	# copy with exception of *.o and *.a
+	(cd assembly; tar -cf - --exclude *.[ao] --exclude .exists $(MACHTYPE)) | (cd binary; tar xfBp -)
+	mv binary/$(MACHTYPE)/* binary
+	rm -rf binary/$(MACHTYPE)

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



More information about the debian-med-commit mailing list