[med-svn] [fastx-toolkit] 01/07: Make Build reproducible (thanks for the patch to Chris Lamb, the change in d/rules to suppress creation of manpages was reverted)

Andreas Tille tille at debian.org
Sat Dec 10 07:54:01 UTC 2016


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

tille pushed a commit to branch master
in repository fastx-toolkit.

commit 1005a6b5885546d7852c7f47f503a76bdcd1f08a
Author: Andreas Tille <tille at debian.org>
Date:   Sat Dec 10 08:39:40 2016 +0100

    Make Build reproducible (thanks for the patch to Chris Lamb, the change in d/rules to suppress creation of manpages was reverted)
---
 debian/changelog                        | 11 ++++--
 debian/patches/reproducible_build.patch | 62 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 72 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b443a52..d88774f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,15 @@
-fastx-toolkit (0.0.14-2) UNRELEASED; urgency=low
+fastx-toolkit (0.0.14-3) UNRELEASED; urgency=low
 
+  [ Steffen Moeller ]
   361a318 Added EDAM annotation for fastx-toolkit.
 
- -- Steffen Moeller <moeller at debian.org>  Fri, 05 Feb 2016 21:06:20 +0100
+  [ Andreas Tille ]
+  * Make Build reproducible (thanks for the patch to Chris Lamb
+    <lamby at debian.org>, the change in d/rules to suppress creation
+    of manpages was reverted)
+    Closes: #840140
+
+ -- Andreas Tille <tille at debian.org>  Sat, 10 Dec 2016 08:38:06 +0100
 
 fastx-toolkit (0.0.14-1) unstable; urgency=low
 
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..0122ff0
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,62 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-10-08
+Bug-Debian: https://bugs.debian.org/840140
+
+--- fastx-toolkit-0.0.14.orig/scripts/fasta_clipping_histogram.pl
++++ fastx-toolkit-0.0.14/scripts/fasta_clipping_histogram.pl
+@@ -21,13 +21,16 @@ use warnings;
+ use GD::Graph::bars;
+ use Data::Dumper;
+ use PerlIO::gzip;
++use File::Basename;
+ 
+ if (scalar @ARGV==0) {
++	my $name = basename($0);
++
+ 	print<<END;
+ 	
+ Create a Linker Clipping Information Histogram
+ 
+-usage: $0 INPUT_FILE.FA OUTPUT_FILE.PNG
++usage: $name INPUT_FILE.FA OUTPUT_FILE.PNG
+ 
+ 	INPUT_FILE.FA   = input file (in FASTA format, can be GZIPped)
+ 	OUTPUT_FILE.PNG = histogram image
+--- fastx-toolkit-0.0.14.orig/scripts/fastx_barcode_splitter.pl
++++ fastx-toolkit-0.0.14/scripts/fastx_barcode_splitter.pl
+@@ -22,6 +22,7 @@ use IO::Handle;
+ use Data::Dumper;
+ use Getopt::Long;
+ use Carp;
++use File::Basename;
+ 
+ ##
+ ## This program splits a FASTQ/FASTA file into several smaller files,
+@@ -349,6 +350,8 @@ sub open_and_detect_input_format
+ 
+ sub usage()
+ {
++	my $name = basename($0);
++
+ print<<EOF;
+ Barcode Splitter, by Assaf Gordon (gordon\@cshl.edu), 11sep2008
+ 
+@@ -358,7 +361,7 @@ FASTA/FASTQ data is read from STDIN (for
+ Output files will be writen to disk.
+ Summary will be printed to STDOUT.
+ 
+-usage: $0 --bcfile FILE --prefix PREFIX [--suffix SUFFIX] [--bol|--eol] 
++usage: $name --bcfile FILE --prefix PREFIX [--suffix SUFFIX] [--bol|--eol] 
+          [--mismatches N] [--exact] [--partial N] [--help] [--quiet] [--debug]
+ 
+ Arguments:
+@@ -388,7 +391,7 @@ Arguments:
+ Example (Assuming 's_2_100.txt' is a FASTQ file, 'mybarcodes.txt' is 
+ the barcodes file):
+ 
+-   \$ cat s_2_100.txt | $0 --bcfile mybarcodes.txt --bol --mismatches 2 \\
++   \$ cat s_2_100.txt | $name --bcfile mybarcodes.txt --bol --mismatches 2 \\
+    	--prefix /tmp/bla_ --suffix ".txt"
+ 
+ Barcode file format
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b2026fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible_build.patch

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



More information about the debian-med-commit mailing list