[med-svn] [exabayes] 02/02: Initial packaging - not working yet (see https://github.com/aberer/exabayes/issues/4)

Andreas Tille tille at debian.org
Wed Mar 15 12:42:33 UTC 2017


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

tille pushed a commit to branch master
in repository exabayes.

commit 0b3f93290901b66e6fc4e34057f6830e5b061c73
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 15 13:41:49 2017 +0100

    Initial packaging - not working yet (see https://github.com/aberer/exabayes/issues/4)
---
 debian/changelog                                   |   5 +
 debian/clean                                       |   9 +
 debian/compat                                      |   1 +
 debian/control                                     |  46 ++++
 debian/copyright                                   |  12 +
 debian/doc-base                                    |  20 ++
 debian/missing_in_source_tarball/get               |   4 +
 debian/missing_in_source_tarball/library2.bib      | 165 +++++++++++++
 debian/missing_in_source_tarball/org.css           | 254 +++++++++++++++++++++
 debian/patches/debug.patch                         |  34 +++
 debian/patches/do_not_require_missing_images.patch |  13 ++
 debian/patches/fix_latex_export.patch              |  28 +++
 debian/patches/series                              |   3 +
 debian/rules                                       |  33 +++
 debian/source/format                               |   1 +
 debian/upstream/metadata                           |  12 +
 debian/watch                                       |   3 +
 17 files changed, 643 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..967b0f3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+exabayes (1.5-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #<bug>)
+
+ -- DMPT <debian-med-packaging at lists.alioth.debian.org>  Thu, 23 Feb 2017 15:55:15 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..c6399fc
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,9 @@
+Makefile.in
+aclocal.m4
+compile
+config.*
+configure
+depcomp
+install-sh
+missing
+src/config.h.in
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8da5197
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: exabayes
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               autoconf-archive,
+               bibtex2html,
+               emacs,
+               texlive-fonts-recommended,
+               texlive-latex-extra,
+               texlive-generic-recommended
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/exabayes.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/exabayes.git
+Homepage: http://sco.h-its.org/exelixis/web/software/exabayes/
+
+Package: exabayes
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: bayesian phylogenetic tree inference for large-scale analyses
+ ExaBayes is a tool for Bayesian phylogenetic analyses. It implements a
+ Markov chain Monte Carlo sampling approach that allows to determine the
+ posterior probability of a tree (resp., topology) and various
+ evolutionary model parameters, for instance, branch lengths or
+ substitution rates. Similar approaches are implemented in beast-mcmc or
+ mrbayes. ExaBayes has heavily drawn inspiration specifically from
+ the latter one.
+ .
+ ExaBayes comes with the most commonly used evolutionary models, such as
+ the generalized time reversible model (GTR) of character substitution,
+ the discretized Gamma-model of among site rate heterogeneity and
+ estimates trees with unconstrained branch lengths. For clocked tree
+ models or less parameter-rich substitution models, we refer you to the
+ established tools.
+ .
+ The distinguishing feature of ExaBayes is its capability to handle
+ enormous datasets efficiently. ExaBayes provides an implementation of
+ data parallelism using the Message Passing Interface (MPI). This means,
+ that if you conduct your analysis on a computing cluster composed of
+ several machines (a.k.a. nodes), the memory needed to evaluate the
+ likelihood of trees and parameters given a large alignment can be spread
+ out across multiple computing nodes. In conclusion, the size of the
+ concatenated alignment ExaBayes can handle is only limited by the
+ combined main memory of your entire computing cluster.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..aeb82c0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,12 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ExaBayes
+Upstream-Contact: Andre J. Aberer <andre.aberer at h-its.org>
+Source: https://github.com/aberer/exabayes/releases
+
+Files: *
+Copyright: © 20xx-20yy <upstream>
+License: <license>
+
+Files: debian/*
+Copyright: © 2016 maintainername <maintainer at e.mail>
+License: <license>
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..5e7e1d4
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,20 @@
+Document: <pkg>
+Title: <title for this doc>
+Author: <author of this doc>
+Abstract: <if you have no better clue the short and
+ long description from debian/control might fit here as well>
+Section: Science/{Biology,Medicine} # see /usr/share/doc/doc-base/doc-base.txt.gz "2.3.3. The `section' field"
+
+# pick one of the below options
+Format: Text
+Files: /usr/share/doc/<pkg>/<pkg>.txt.gz
+
+Format: html
+Index: /usr/share/doc/<pkg>/html/index.html
+Files: /usr/share/doc/<pkg>/html/*
+
+Format: pdf
+Files: /usr/share/doc/<pkg>/<pkg>.pdf.gz
+
+Format: postscript
+Files: /usr/share/doc/<pkg>/<pkg>.ps.gz
diff --git a/debian/missing_in_source_tarball/get b/debian/missing_in_source_tarball/get
new file mode 100755
index 0000000..5fa6bf8
--- /dev/null
+++ b/debian/missing_in_source_tarball/get
@@ -0,0 +1,4 @@
+#!/bin/sh
+wget https://app.assembla.com/spaces/exa-bayes/git/source/master/manual/library2.bib?_format=raw
+mv library2.bib?_format=raw library2.bib
+w3m -dump http://orgmode.org/org.css > org.css
diff --git a/debian/missing_in_source_tarball/library2.bib b/debian/missing_in_source_tarball/library2.bib
new file mode 100644
index 0000000..18d04d7
--- /dev/null
+++ b/debian/missing_in_source_tarball/library2.bib
@@ -0,0 +1,165 @@
+ at article{Ronquist2012,
+abstract = {Since its introduction in 2001, MrBayes has grown in popularity as a software package for Bayesian phylogenetic inference using Markov chain Monte Carlo (MCMC) methods. With this note, we announce the release of version 3.2, a major upgrade to the latest official release presented in 2003. The new version provides convergence diagnostics and allows multiple analyses to be run in parallel with convergence progress monitored on the fly. The introduction of new proposals and aut [...]
+author = {Ronquist, Fredrik and Teslenko, Maxim and van der Mark, Paul and Ayres, Daniel L and Darling, Aaron and H\"{o}hna, Sebastian and Larget, Bret and Liu, Liang and Suchard, Marc a and Huelsenbeck, John P},
+doi = {10.1093/sysbio/sys029},
+file = {:home/aberer/documents/watch/Syst Biol-2012-Ronquist-539-42.pdf:pdf},
+issn = {1076-836X},
+journal = {Systematic biology},
+keywords = {Algorithms,Classification,Classification: methods,Markov Chains,Models, Biological,Monte Carlo Method,Phylogeny,Software},
+month = may,
+number = {3},
+pages = {539--42},
+pmid = {22357727},
+title = {{MrBayes 3.2: efficient Bayesian phylogenetic inference and model choice across a large model space.}},
+url = {http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=3329765\&tool=pmcentrez\&rendertype=abstract},
+volume = {61},
+year = {2012}
+}
+
+
+ at article{Drummond2012,
+abstract = {Computational evolutionary biology, statistical phylogenetics and coalescent-based population genetics are becoming increasingly central to the analysis and understanding of molecular sequence data. We present the Bayesian Evolutionary Analysis by Sampling Trees (BEAST) software package version 1.7, which implements a family of Markov chain Monte Carlo (MCMC) algorithms for Bayesian phylogenetic inference, divergence time dating, coalescent analysis, phylogeography and relate [...]
+author = {Drummond, Alexei J and Suchard, Marc a and Xie, Dong and Rambaut, Andrew},
+doi = {10.1093/molbev/mss075},
+file = {:home/aberer/documents/watch/mss075.pdf:pdf},
+issn = {1537-1719},
+journal = {Molecular biology and evolution},
+keywords = {Animals,Base Sequence,Bayes Theorem,Computational Biology,Computational Biology: methods,DNA, Mitochondrial,DNA, Mitochondrial: genetics,Finches,Finches: genetics,Molecular Sequence Data,Phenotype,Phylogeny,Software,User-Computer Interface},
+month = aug,
+number = {8},
+pages = {1969--73},
+pmid = {22367748},
+title = {{Bayesian phylogenetics with BEAUti and the BEAST 1.7.}},
+url = {http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=3408070\&tool=pmcentrez\&rendertype=abstract},
+volume = {29},
+year = {2012}
+}
+
+
+ at article{Lakner2008a,
+abstract = {The main limiting factor in Bayesian MCMC analysis of phylogeny is typically the efficiency with which topology proposals sample tree space. Here we evaluate the performance of seven different proposal mechanisms, including most of those used in current Bayesian phylogenetics software. We sampled 12 empirical nucleotide data sets--ranging in size from 27 to 71 taxa and from 378 to 2,520 sites--under difficult conditions: short runs, no Metropolis-coupling, and an oversimplifi [...]
+author = {Lakner, Clemens and van der Mark, Paul and Huelsenbeck, John P and Larget, Bret and Ronquist, Fredrik},
+doi = {10.1080/10635150801886156},
+file = {::},
+isbn = {1063515080188},
+issn = {1063-5157},
+journal = {Systematic biology},
+keywords = {Bayes Theorem,Markov Chains,Models, Genetic,Monte Carlo Method,Phylogeny},
+month = feb,
+number = {1},
+pages = {86--103},
+pmid = {18278678},
+title = {{Efficiency of Markov chain Monte Carlo tree proposals in Bayesian phylogenetics.}},
+url = {http://www.ncbi.nlm.nih.gov/pubmed/18278678},
+volume = {57},
+year = {2008}
+}
+
+
+
+ at article{Stamatakis2006,
+abstract = {RAxML-VI-HPC (randomized axelerated maximum likelihood for high performance
+computing) is a sequential and parallel program for inference of
+large phylogenies with maximum likelihood (ML). Low-level technical
+optimizations, a modification of the search algorithm, and the use
+of the GTR+CAT approximation as replacement for GTR+Gamma yield a
+program that is between 2.7 and 52 times faster than the previous
+version of RAxML. A large-scale performance comparison with GARLI,
+PHYML, IQPNNI and MrBayes on real data containing 1000 up to 6722
+taxa shows that RAxML requires at least 5.6 times less main memory
+and yields better trees in similar times than the best competing
+program (GARLI) on datasets up to 2500 taxa. On datasets > or =4000
+taxa it also runs 2-3 times faster than GARLI. RAxML has been parallelized
+with MPI to conduct parallel multiple bootstraps and inferences on
+distinct starting trees. The program has been used to compute ML
+trees on two of the largest alignments to date containing 25,057
+(1463 bp) and 2182 (51,089 bp) taxa, respectively. AVAILABILITY:
+icwww.epfl.ch/\~{}stamatak},
+author = {Stamatakis, Alexandros},
+doi = {10.1093/bioinformatics/btl446},
+institution = {Swiss Federal Institute of Technology Lausanne, School of Computer and Communication Sciences Lab Prof. Moret, STATION 14, CH-1015 Lausanne, Switzerland. Alexandros.Stamatakis at epfl.ch},
+journal = {Bioinformatics},
+keywords = { DNA, Genetic; Models, Molecular; Models, Nucleic Acid; Software; Species Specificity, Statistical; Phylogeny; Sequence Alignment, methods; Sequence Analysis, methods; Sequence Homology,Algorithms; Conserved Sequence; Evolution},
+month = nov,
+number = {21},
+pages = {2688--2690},
+pmid = {16928733},
+title = {{RAxML-VI-HPC: maximum likelihood-based phylogenetic analyses with thousands of taxa and mixed models.}},
+url = {http://dx.doi.org/10.1093/bioinformatics/btl446},
+volume = {22},
+year = {2006}
+}
+
+
+ at article{Stamatakis2012,
+abstract = {Due to advances in molecular sequencing and the increasingly rapid collection of molecular data, the field of phyloinformatics is transforming into a computational science. Therefore, new tools are required that can be deployed in supercomputing environments and that scale to hundreds or thousands of cores.},
+author = {Stamatakis, Alexandros and Aberer, Andre J and Goll, Christian and Smith, Stephen A and Berger, Simon A and Izquierdo-Carrasco, Fernando},
+doi = {10.1093/bioinformatics/bts309},
+file = {:home/aberer/documents/watch/Bioinformatics-2012-Stamatakis-bioinformatics-bts309.pdf:pdf},
+issn = {1367-4811},
+journal = {Bioinformatics (Oxford, England)},
+month = aug,
+number = {15},
+pages = {2064--6},
+pmid = {22628519},
+title = {{RAxML-Light: a tool for computing terabyte phylogenies.}},
+url = {http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=3400957\&tool=pmcentrez\&rendertype=abstract},
+volume = {28},
+year = {2012}
+}
+
+
+ at INPROCEEDINGS{Stamatakis2012a, 
+author={Stamatakis, A. and Aberer, A.J.}, 
+booktitle={Parallel Distributed Processing (IPDPS), 2013 IEEE 27th International Symposium on}, 
+title={Novel Parallelization Schemes for Large-Scale Likelihood-based Phylogenetic Inference}, 
+year={2013}, 
+pages={1195-1204}, 
+keywords={application program interfaces;biology computing;data analysis;evolution (biological);fault tolerant computing;genetics;message passing;parallel processing;tree searching;ExaML;RAxML-Light scalability;checkpointable MPI-based code;code complexity;communication scheme;evolutionary trees;exascale maximum likelihood;fault tolerance;fork-join parallelization approach;hardware failures;large-scale likelihood-based phylogenetic inference;likelihood-based models;molecular data avalanc [...]
+doi={10.1109/IPDPS.2013.70}, 
+ISSN={1530-2075},}
+
+
+ at inproceedings{zhang2012multi,
+author = {Zhang, J and Stamatakis, A},
+booktitle = {Parallel and Distributed Processing Symposium Workshops \& PhD Forum (IPDPSW), 2012 IEEE 26th International},
+mendeley-groups = {phylogenetics},
+organization = {IEEE},
+pages = {691--698},
+title = {{The multi-processor scheduling problem in phylogenetics}},
+year = {2012}
+}
+
+
+ at article{Izquierdo-Carrasco2011,
+abstract = {BACKGROUND: The rapid accumulation of molecular sequence data, driven by novel wet-lab sequencing technologies, poses new challenges for large-scale maximum likelihood-based phylogenetic analyses on trees with more than 30,000 taxa and several genes. The three main computational challenges are: numerical stability, the scalability of search algorithms, and the high memory requirements for computing the likelihood.
+
+RESULTS: We introduce methods for solving these three key problems and provide respective proof-of-concept implementations in RAxML. The mechanisms presented here are not RAxML-specific and can thus be applied to any likelihood-based (Bayesian or maximum likelihood) tree inference program. We develop a new search strategy that can reduce the time required for tree inferences by more than 50\% while yielding equally good trees (in the statistical sense) for well-chosen starting trees. We  [...]
+
+CONCLUSIONS: We address three major issues pertaining to large scale tree reconstruction under maximum likelihood and propose respective solutions. Respective proof-of-concept/production-level implementations of our ideas are made available as open-source code.},
+author = {Izquierdo-Carrasco, Fernando and Smith, Stephen a and Stamatakis, Alexandros},
+doi = {10.1186/1471-2105-12-470},
+file = {:home/aberer/documents/watch/1471-2105-12-470.pdf:pdf},
+issn = {1471-2105},
+journal = {BMC bioinformatics},
+keywords = {Algorithms,Bayes Theorem,Likelihood Functions,Models, Genetic,Molecular Sequence Data,Phylogeny,Probability},
+month = jan,
+number = {1},
+pages = {470},
+pmid = {22165866},
+publisher = {BioMed Central Ltd},
+title = {{Algorithms, data structures, and numerics for likelihood-based phylogenetic inference of huge trees.}},
+url = {http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=3267785\&tool=pmcentrez\&rendertype=abstract},
+volume = {12},
+year = {2011}
+}
+
+
+ at incollection{kobert2014divisible,
+  title={The Divisible Load Balance Problem and Its Application to Phylogenetic Inference},
+  author={Kobert, Kassian and Flouri, Tom{\'a}{\v{s}} and Aberer, Andre and Stamatakis, Alexandros},
+  booktitle={Algorithms in Bioinformatics},
+  pages={204--216},
+  year={2014},
+  publisher={Springer}
+}
diff --git a/debian/missing_in_source_tarball/org.css b/debian/missing_in_source_tarball/org.css
new file mode 100644
index 0000000..858bc3b
--- /dev/null
+++ b/debian/missing_in_source_tarball/org.css
@@ -0,0 +1,254 @@
+ at import url(http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans+Mono|Droid+Serif);
+
+html {
+    margin: 0;
+    font: 300 .9em/1.6em "Droid Serif", "Open Sans", Cambria, Georgia, "DejaVu Serif", serif;
+}
+
+#top {
+    margin-top:0pt;
+    padding-right: 2.5em;
+    font-size: 1.4em;
+}
+
+/* img#rackspace { */
+/*     width: 200px; */
+/* } */
+
+#top2 {
+    font-size:70%;
+}
+
+#searchgmane {
+    margin-left: 10pt;
+}
+
+#logo {
+    position: absolute;
+    top: 12px;
+    left: 20px;
+}
+
+#translate {
+    position: absolute;
+    left: 30px;
+    top: 150px;
+}
+
+#buttons {
+    display:block;
+    position:absolute;
+    top:20pt;
+    right:10pt;
+    text-align: right;
+}
+
+a {
+    text-decoration: none;
+    /* color: #1c3030; */
+    /* #0066CC; */
+    /* color: #537d7b */
+}
+a:visited {
+    text-decoration: none;
+    /* color: #5e251e; */
+    /* #FF0000; */
+    /* color: #98855b */
+}
+a:hover {
+    text-decoration: underline;
+    /* color: #3d696a; */
+    /* #0066CC; */
+    /* color: #a34d32; */
+    /* #923a2e */
+    /* #5e251e */
+    /* #461c16 */
+    /* #3d696a */
+    /* #1c3030 */
+}
+
+#content {
+    font-size: 1.2em;
+    margin-left: 130px;
+    line-height: 2em;
+}
+
+#content p {
+    padding-right: 7pt;
+}
+
+h1.title {
+    display: none;
+}
+
+h3 {
+    display: none;
+}
+
+.outline-3 {
+    background-color: #eee;
+    color: black;
+    box-shadow: 1px 1px 1px #aaa;
+    padding: 5pt;
+    width: 27em;
+    font-size: 85%;
+    margin-top: 20pt;
+}
+
+.outline-3 p {
+    margin:3pt; 
+    padding:0;
+}
+
+h2 {
+    display: block;
+    padding-top: 30px;
+    font-size: 1.8em;
+    margin-top: 0;
+    margin-bottom: 30pt;
+}
+
+.outline-2 {
+    font-size: 1em;
+    line-height: 1.3em;
+    margin-top: 40px;
+    margin-left: -130px;
+    min-height: 600pt;
+}
+
+*.outline-2 img {
+    box-shadow: 5px 5px 5px #aaa;
+    /* margin-top: -35px; */
+    margin-left: 50px;
+}
+
+.iframe {
+    float: right;
+}
+
+*.outline-2 p {
+    margin-right: 5px;
+    margin-left: 5px;
+    padding-right: 5px;
+    padding-left: 5px;
+}
+
+code {
+    font-family: "Droid Sans Mono";
+    background-color: #eeeeee;
+    padding: 2pt;
+    margin-right: 1pt;
+    box-shadow: 1px 1px 1px #aaa;
+}
+
+pre {
+    font-family: "Droid Sans Mono";
+    font-size: .8em;
+    font-weight: normal;
+    line-height: 1.4em;
+    background-color: #eeeeee;
+    padding: 2pt;
+    margin-right: 1pt;
+    box-shadow: 1px 1px 1px #aaa;
+}
+
+#orgquote {
+    z-index: 1000;
+    position: fixed;
+    margin: 0;
+    bottom: 0;
+    right: 0;
+    font-size:100%;
+    padding: 20px;
+    background-color: #eee;
+    -moz-opacity:0;
+    opacity:0;
+    filter:alpha(opacity=0);
+}
+
+#orgquote:hover {
+    -moz-opacity:1;
+    opacity:1;
+    filter:alpha(opacity=100);
+}
+
+.move { 
+    float: left;
+    font-weight: 800;
+    font-size: 1.3em;
+    color: #ccc;
+    letter-spacing: 1.4pt;
+    background-color: white;
+    box-shadow: 0px 0px 0px white;
+}
+
+.move a {
+    color: #ccc;
+}
+
+.move a:hover {
+    color: grey;
+    text-decoration: none;
+}
+
+ at media(min-width:1000px){
+    #screenshot {
+        float: right;
+        width: 500px;
+    }
+    #main-image {
+        float: right;
+        width: 500px;
+    }
+    body {
+        padding: 20px;
+        margin-left: 50px;
+        margin-right: 30px;
+    }
+}
+
+ at media(min-width:800px) and (max-width:1000px){
+    #screenshot {
+        float: right;
+        width: 450px;
+    }
+    #main-image {
+        float: right;
+        width: 450px;
+    }
+}
+
+ at media(min-width:850px) and (max-width:1000px){
+    body {
+        padding: 10px;
+        margin-left: 25px;
+        margin-right: 15px;
+    }
+}
+
+ at media(max-width:800px){
+    #screenshot {
+        display: none;
+    }
+    #main-image {
+        display: none;
+    }
+}
+
+ at media(max-width:800px){
+    code{
+        font-size: 85%;
+    }
+}
+
+ at media(min-width:800px) and (max-width:900px){
+    code{
+        font-size: 75%;
+    }
+}
+
+ at media(min-width:900px){
+    code{
+        font-size: 85%;
+    }
+}
diff --git a/debian/patches/debug.patch b/debian/patches/debug.patch
new file mode 100644
index 0000000..75a6a16
--- /dev/null
+++ b/debian/patches/debug.patch
@@ -0,0 +1,34 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ exabayes (1.5-1) UNRELEASED; urgency=medium
+ .
+   * Initial release (Closes: #<bug>)
+Author: DMPT <debian-med-packaging at lists.alioth.debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2017-03-12
+
+--- exabayes-1.5.orig/bootstrap.sh
++++ exabayes-1.5/bootstrap.sh
+@@ -1,5 +1,6 @@
+ #! /bin/bash
+ 
++set -x
+ gitroot=$(dirname $0)
+ 
+ if [ ! -d "$gitroot/.git" ]; then
diff --git a/debian/patches/do_not_require_missing_images.patch b/debian/patches/do_not_require_missing_images.patch
new file mode 100644
index 0000000..e841a3c
--- /dev/null
+++ b/debian/patches/do_not_require_missing_images.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -11,8 +11,8 @@ dist_doc_DATA = ./CHANGELOG  ./README.md
+ # shared/doc/manual
+ docmanualdir=$(docdir)/manual
+ dist_docmanual_DATA= \
+-./manual/manual.pdf ./manual/css/org.css ./manual/img/banner.png \
+-./manual/img/banner2.png ./manual/manual.html ./manual/library2.html
++./manual/manual.pdf ./manual/css/org.css \
++./manual/manual.html ./manual/library2.html
+ 
+ # shared/doc/examples
+ docexamplesdir=$(docdir)/examples
diff --git a/debian/patches/fix_latex_export.patch b/debian/patches/fix_latex_export.patch
new file mode 100644
index 0000000..121a7db
--- /dev/null
+++ b/debian/patches/fix_latex_export.patch
@@ -0,0 +1,28 @@
+--- a/manual/process.sh
++++ b/manual/process.sh
+@@ -1,11 +1,14 @@
+-#! /bin/bash
++#!/bin/sh -e
+ 
+-cd $(dirname $0 )
++# cd $(dirname $0 )
+ 
+ emacs --batch --kill --eval "(progn \
+     (find-file \"manual.org\")\
+-    (org-html-export-to-html))\
+-    (org-latex-export-to-pdf) "
++    (org-html-export-to-html))"
++
++emacs --batch --kill --eval "(progn \
++    (find-file \"manual.org\")\
++    (org-latex-export-to-pdf)) "
+ 
+ bibtex2html --no-abstract --no-keywords library2.bib
+ 
+@@ -41,5 +44,5 @@ do
+     cmd="cat $htmlFile  | sed \"s/$escElem/<a href='manual.html\\#sec-9'>$replacement<\/a>/g\"  > tmp "
+     eval $cmd
+     
+-    \mv tmp $htmlFile
++    mv tmp $htmlFile
+ done 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b5c7125
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+fix_latex_export.patch
+do_not_require_missing_images.patch
+debug.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..47ab0d3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+export LC_ALL=C.UTF-8
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables, you can
+#  include /usr/share/dpkg/default.mk
+# and use what is set there.
+
+# for hardening you might like to uncomment this:
+# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	ln -s $(CURDIR)/debian/missing_in_source_tarball/library2.bib manual
+	mkdir -p manual/css
+	ln -s $(CURDIR)/debian/missing_in_source_tarball/org.css manual/css
+	cd manual && . ./process.sh
+	mkdir .git # required to run bootstrap which needs to be run to create src/releaseDate.hpp
+	. ./bootstrap.sh
+	dh_auto_build
+	# rm -rf manual/css manual/library2.bib
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d08c8cc
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,12 @@
+Reference:
+  Author: Andre J. Aberer and Kassian Kobert and Alexandros Stamatakis
+  Title: "ExaBayes: Massively Parallel Bayesian Tree Inference for the Whole-Genome Era"
+  Journal: Molecular Biology and Evolution
+  Year: 2014
+  Volume: 31
+  Number: 10
+  Pages: 2553-2556
+  DOI: 10.1093/molbev/msu236
+  PMID: 25135941
+  URL: https://academic.oup.com/mbe/article/31/10/2553/1016562/ExaBayes-Massively-Parallel-Bayesian-Tree
+  eprint: https://academic.oup.com/mbe/article-pdf/31/10/2553/6199533/msu236.pdf
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dbdeca9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+
+https://github.com/aberer/exabayes/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

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



More information about the debian-med-commit mailing list