[med-svn] [fasta3] 02/10: fasta3 - almost ready to upload

Andreas Tille tille at debian.org
Tue Dec 5 16:21:47 UTC 2017


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

tille pushed a commit to branch master
in repository fasta3.

commit 5f6fe36568abe84252d89269aef8e947a2ebe612
Author: Steffen Moeller <moeller at debian.org>
Date:   Tue Feb 10 09:47:21 2015 +0000

    fasta3 - almost ready to upload
---
 debian/README.Debian          |  6 ------
 debian/README.source          | 10 ----------
 debian/changelog              |  4 ++--
 debian/copyright              | 30 +++++++++++++++++++-----------
 debian/docs                   |  5 ++++-
 debian/fasta.doc-base.EX      | 20 --------------------
 debian/fasta3.doc-base        | 15 +++++++++++++++
 debian/fasta3.manpages        |  6 ++++++
 debian/patches/Makefile.patch | 35 +++++++++++++++++++++++++++++++++++
 debian/rules                  |  9 ++++++---
 10 files changed, 87 insertions(+), 53 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index 0f771cd..0000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,6 +0,0 @@
-fasta for Debian
-----------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- Steffen Moeller <moeller at debian.org>  Mon, 09 Feb 2015 15:04:28 +0100
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index a49081b..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,10 +0,0 @@
-fasta for Debian
-----------------
-
-<this file describes information about the source package, see Debian policy
-manual section 4.14. You WILL either need to modify or delete this file>
-
-
-
- -- Steffen Moeller <moeller at debian.org>  Mon, 09 Feb 2015 15:04:28 +0100
-
diff --git a/debian/changelog b/debian/changelog
index f7e901c..87c78ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 fasta3 (36.3.7a-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * Initial release (Closes: #coming)
 
- -- Steffen Moeller <moeller at debian.org>  Mon, 09 Feb 2015 15:04:28 +0100
+ -- Steffen Moeller <moeller at debian.org>  Tue, 10 Feb 2015 10:46:55 +0100
diff --git a/debian/copyright b/debian/copyright
index 08e72db..08c2bf4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,20 +7,28 @@ Copyright: 1996, 1997, 1998, 1999, 2014 by William R. Pearson and
    The Rector & Visitors of the University of Virginia
 License: Apache-2.0
 
+Files: src/wm_align.c
+Copyright: William R. Pearson, University of Virginia
+           Webb Miller, Penn State University 
+License: Apache-2.0
+
 Files: src/karlin.c
-Copyright: 1980, 1983 Stephen Altschul
+Copyright: 1990, 1993 Stephen Altschul, NCBI
+License: Apache-2.0
+
+Files: src/smith_waterman_altivec.c
+Copyright: 2004, Erik Lindahl <lindahl at sbc.su.se>
+    Stockholm Bioinformatics Center, 2004
 License: Apache-2.0
 
-Files: src/global_sse2.c
-Copyright: 2010 Michael Farrar <farrar.michael at gmail.com>
-License:
- /******************************************************************
- . Copyright 2010 by Michael Farrar.  All rights reserved.
- . This program may not be sold or incorporated into a commercial product,
- . in whole or in part, without written consent of Michael Farrar.  For
- . further information regarding permission for use or reproduction, please
- . contact: Michael Farrar at farrar.michael at gmail.com.
- .******************************************************************/
+Files: src/glo[bc]al_sse2.[ch]
+       src/smith_waterman_sse2.c
+Copyright: 2006,2010 Michael Farrar <farrar.michael at gmail.com>
+License: Academics-only
+ This program may not be sold or incorporated into a commercial product,
+ in whole or in part, without written consent of Michael Farrar.  For
+ further information regarding permission for use or reproduction, please
+ contact: Michael Farrar at farrar.michael at gmail.com.
 
 Files: debian/*
 Copyright: 2015 Steffen Moeller <moeller at debian.org>
diff --git a/debian/docs b/debian/docs
index 2e09849..ab8aa33 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1,5 @@
 README
-doc/*
+doc/readme*
+doc/README*
+doc/changes*
+doc/fasta_guide.pdf
diff --git a/debian/fasta.doc-base.EX b/debian/fasta.doc-base.EX
deleted file mode 100644
index a7e90ac..0000000
--- a/debian/fasta.doc-base.EX
+++ /dev/null
@@ -1,20 +0,0 @@
-Document: fasta
-Title: Debian fasta Manual
-Author: <insert document author here>
-Abstract: This manual describes what fasta is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/fasta/fasta.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/fasta/fasta.ps.gz
-
-Format: text
-Files: /usr/share/doc/fasta/fasta.text.gz
-
-Format: HTML
-Index: /usr/share/doc/fasta/html/index.html
-Files: /usr/share/doc/fasta/html/*.html
diff --git a/debian/fasta3.doc-base b/debian/fasta3.doc-base
new file mode 100644
index 0000000..26ef887
--- /dev/null
+++ b/debian/fasta3.doc-base
@@ -0,0 +1,15 @@
+Document: fasta3
+Title: The FASTA program package
+Author: William R. Pearson
+Abstract: This documentation describes the version 36 of the FASTA program
+ package (see W. R. Pearson and D. J. Lipman (1988), "Improved Tools for
+ Biological Sequence Analysis", PNAS 85:2444-2448.  W. R. Pearson (1996)
+ "Effective protein sequence comparison" Meth. Enzymol. 266:227-258;
+ and Pearson et. al. (1997) Genomics 46:24-36 [18]. Version 3 of the
+ FASTA packages contains many programs for searching DNA and protein
+ databases and for evaluating statistical significance from randomly
+ shuffled sequences.
+Section: Science/Biology
+
+Format: pdf
+Files: /usr/share/doc/fasta3/fasta_guide.pdf
diff --git a/debian/fasta3.manpages b/debian/fasta3.manpages
new file mode 100644
index 0000000..d71b3a8
--- /dev/null
+++ b/debian/fasta3.manpages
@@ -0,0 +1,6 @@
+doc/fasta36.1
+doc/fastf3.1
+doc/fasts3.1
+doc/map_db.1
+doc/prss3.1
+doc/ps_lav.1
diff --git a/debian/patches/Makefile.patch b/debian/patches/Makefile.patch
index 7501778..ac20e6b 100644
--- a/debian/patches/Makefile.patch
+++ b/debian/patches/Makefile.patch
@@ -10,3 +10,38 @@ Index: fasta3-36.3.7a/make/Makefile
  XDIR = /seqprg/bin
  
  DROPGSW_NA_O = dropgsw2.o wm_align.o calcons_sw.o
+Index: fasta3-36.3.7a/make/Makefile.linux64_sse2
+===================================================================
+--- fasta3-36.3.7a.orig/make/Makefile.linux64_sse2
++++ fasta3-36.3.7a/make/Makefile.linux64_sse2
+@@ -12,7 +12,7 @@
+ 
+ SHELL=/bin/bash
+ 
+-CC = gcc -g -O -msse2
++CC = gcc -g -O -msse2 $(CPPFLAGS)
+ #CC= gcc -pg -g -O -msse2 -ffast-math
+ #CC = gcc -g -DDEBUG -msse2
+ 
+@@ -25,7 +25,7 @@
+ 
+ # standard options
+ 
+-CFLAGS= -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DPROGRESS -DM10_CONS -DFASTA_HOST='"your_fasta_host_here"' -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP  -D_LARGEFILE64_SOURCE  -DBIG_LIB64
++CFLAGS+= -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DPROGRESS -DM10_CONS -DFASTA_HOST='"your_fasta_host_here"' -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP  -D_LARGEFILE64_SOURCE  -DBIG_LIB64
+ # -I/usr/include/mysql -DMYSQL_DB
+ # -DSUPERFAMNUM -DSFCHAR="'|'" 
+ 
+Index: fasta3-36.3.7a/make/Makefile36m.common
+===================================================================
+--- fasta3-36.3.7a.orig/make/Makefile36m.common
++++ fasta3-36.3.7a/make/Makefile36m.common
+@@ -34,7 +34,7 @@
+ # and "-L/usr/lib64/mysql -lmysqlclient -lz" in LIB_M
+ # some systems may also require a LD_LIBRARY_PATH change
+ 
+-LIB_M= -lm -lz
++LIB_M= $(LDFLAGS) -lm -lz
+ #LIB_M= -L/usr/lib64/mysql -lmysqlclient -lz -lm
+ NCBL_LIB=ncbl2_mlib.o
+ #NCBL_LIB=ncbl2_mlib.o mysql_lib.o
diff --git a/debian/rules b/debian/rules
index 11705d7..a60608a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,9 @@ ARCH=`dpkg-architecture -qDEB_TARGET_GNU_CPU`
 MAKEFILE="../make/Makefile.linux64"
 #endif
 
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+CFLAGS+=-flto
+LDFLAGS+=-flto
 
 # package maintainers to append CFLAGS
 #export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
@@ -26,7 +28,8 @@ override_dh_auto_build:
 	cd src && $(MAKE) -f $(MAKEFILE)
 
 override_dh_auto_clean:
-	cd src && $(MAKE) -f $(MAKEFILE) clean-up
-
+	if [ -d src ]; then cd src && $(MAKE) -f $(MAKEFILE) clean-up; fi
 
+override_dh_compress:
+	dh_compress --exclude=.pdf
 

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



More information about the debian-med-commit mailing list