[med-svn] r17716 - in trunk/packages/bowtie/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Wed Aug 13 11:59:30 UTC 2014


Author: tille
Date: 2014-08-13 11:59:30 +0000 (Wed, 13 Aug 2014)
New Revision: 17716

Modified:
   trunk/packages/bowtie/trunk/debian/changelog
   trunk/packages/bowtie/trunk/debian/patches/disable_bits_flag.patch
   trunk/packages/bowtie/trunk/debian/patches/seqan-popcount.patch
   trunk/packages/bowtie/trunk/debian/patches/seqan-rename-ChunkPool.patch
   trunk/packages/bowtie/trunk/debian/patches/seqan-rename-fill-to-resize.patch
   trunk/packages/bowtie/trunk/debian/patches/use-dpkg-buildflags.patch
   trunk/packages/bowtie/trunk/debian/patches/use_debian_seqan.patch
Log:
New upstream version (adapted patches); TODO: Does not build - perhaps further adaptation to seqan-1.4 is needed



Modified: trunk/packages/bowtie/trunk/debian/changelog
===================================================================
--- trunk/packages/bowtie/trunk/debian/changelog	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/changelog	2014-08-13 11:59:30 UTC (rev 17716)
@@ -1,3 +1,10 @@
+bowtie (1.1.0-1) UNRELEASED; urgency=medium
+
+  * New upstream version (adapted patches)
+  TODO: Does not build - perhaps further adaptation to seqan-1.4 is needed
+
+ -- Andreas Tille <tille at debian.org>  Wed, 13 Aug 2014 08:27:09 +0200
+
 bowtie (1.0.1-1) unstable; urgency=medium
 
   * New upstream version (adapted patches)

Modified: trunk/packages/bowtie/trunk/debian/patches/disable_bits_flag.patch
===================================================================
--- trunk/packages/bowtie/trunk/debian/patches/disable_bits_flag.patch	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/patches/disable_bits_flag.patch	2014-08-13 11:59:30 UTC (rev 17716)
@@ -3,18 +3,18 @@
  to run.
 Author: Ognyan Kulev <ogi at debian.org>
 Forwarded: not-needed 
-Last-Update: 2013-04-24 
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Last-Update: 2014-08-13 
+
 --- a/Makefile
 +++ b/Makefile
-@@ -133,6 +133,9 @@ ifeq (64,$(BITS))
-     BITS_FLAG = -m64
+@@ -120,8 +120,8 @@ ifeq (32,$(BITS))
+     $(error bowtie2 compilation requires a 64-bit platform )
  endif
  
-+# Debian: Disable selection of 32/64-bits. Use multiarch instead.
-+BITS_FLAG =
-+
- DEBUG_FLAGS = -O0 -g3 $(BITS_FLAG)
- RELEASE_FLAGS = -O3 $(BITS_FLAG)
+-DEBUG_FLAGS = -O0 -g3 -m64
+-RELEASE_FLAGS = -O3 -m64
++DEBUG_FLAGS = -O0 -g3
++RELEASE_FLAGS = -O3
  NOASSERT_FLAGS = -DNDEBUG
+ FILE_FLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+ 

Modified: trunk/packages/bowtie/trunk/debian/patches/seqan-popcount.patch
===================================================================
--- trunk/packages/bowtie/trunk/debian/patches/seqan-popcount.patch	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/patches/seqan-popcount.patch	2014-08-13 11:59:30 UTC (rev 17716)
@@ -5,7 +5,7 @@
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/diff_sample.h
 +++ b/diff_sample.h
-@@ -475,6 +475,8 @@ static String<T> getDeltaMap(T v, const
+@@ -476,6 +476,8 @@ static String<T> getDeltaMap(T v, const
  	return amap;
  }
  
@@ -14,7 +14,7 @@
  /**
   * Return population count (count of all bits set to 1) of i.
   */
-@@ -487,6 +489,7 @@ static unsigned int popCount(T i) {
+@@ -488,6 +490,7 @@ static unsigned int popCount(T i) {
  	}
  	return cnt;
  }

Modified: trunk/packages/bowtie/trunk/debian/patches/seqan-rename-ChunkPool.patch
===================================================================
--- trunk/packages/bowtie/trunk/debian/patches/seqan-rename-ChunkPool.patch	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/patches/seqan-rename-ChunkPool.patch	2014-08-13 11:59:30 UTC (rev 17716)
@@ -223,7 +223,7 @@
  static bool chunkVerbose; // have chunk allocator output status messages?
  static bool recal;
  static int recalMaxCycle;
-@@ -221,7 +221,7 @@ static void resetOptions() {
+@@ -222,7 +222,7 @@ static void resetOptions() {
  	randomizeQuals			= false; // randomize quality values
  	stats					= false; // print performance stats
  	chunkPoolMegabytes		= 64;    // max MB to dedicate to best-first search frames per thread
@@ -232,7 +232,7 @@
  	chunkVerbose			= false; // have chunk allocator output status messages?
  	recal					= false;
  	recalMaxCycle			= 64;
-@@ -1202,7 +1202,7 @@ static void exactSearchWorkerStateful(vo
+@@ -1192,7 +1192,7 @@ static void exactSearchWorkerStateful(vo
  	PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
  	HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
  
@@ -241,7 +241,7 @@
  	UnpairedExactAlignerV1Factory alSEfact(
  			ebwt,
  			NULL,
-@@ -1371,7 +1371,7 @@ static void mismatchSearchWorkerFullStat
+@@ -1361,7 +1361,7 @@ static void mismatchSearchWorkerFullStat
  	// Global initialization
  	PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
  	HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
@@ -250,7 +250,7 @@
  
  	Unpaired1mmAlignerV1Factory alSEfact(
  			ebwtFw,
-@@ -1668,7 +1668,7 @@ static void twoOrThreeMismatchSearchWork
+@@ -1658,7 +1658,7 @@ static void twoOrThreeMismatchSearchWork
  	PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
  	HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);
  
@@ -259,7 +259,7 @@
  	Unpaired23mmAlignerV1Factory alSEfact(
  			ebwtFw,
  			&ebwtBw,
-@@ -2101,7 +2101,7 @@ static void seededQualSearchWorkerFullSt
+@@ -2091,7 +2091,7 @@ static void seededQualSearchWorkerFullSt
  	// Global initialization
  	PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid);
  	HitSinkPerThreadFactory* sinkFact = createSinkFactory(_sink);

Modified: trunk/packages/bowtie/trunk/debian/patches/seqan-rename-fill-to-resize.patch
===================================================================
--- trunk/packages/bowtie/trunk/debian/patches/seqan-rename-fill-to-resize.patch	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/patches/seqan-rename-fill-to-resize.patch	2014-08-13 11:59:30 UTC (rev 17716)
@@ -3,22 +3,22 @@
  SeqAn ticket: http://trac.seqan.de/ticket/77
 Forwarded: no
 Author: Ognyan Kulev <ogi at debian.org>
-Last-Update: 2013-04-18
+Last-Update: 2014-08-13
 
 --- a/blockwise_sa.h
 +++ b/blockwise_sa.h
-@@ -448,8 +448,8 @@ void KarkkainenBlockwiseSA<TStr>::buildS
+@@ -456,8 +456,8 @@ void KarkkainenBlockwiseSA<TStr>::buildS
  		try {
  			// Allocate and initialize containers for holding bucket
  			// sizes and representatives.
 -			fill(bucketSzs, numBuckets, 0, Exact());
--			fill(bucketReps, numBuckets, 0xffffffff, Exact());
+-			fill(bucketReps, numBuckets, OFF_MASK, Exact());
 +			resize(bucketSzs, numBuckets, 0, Exact());
-+			resize(bucketReps, numBuckets, 0xffffffff, Exact());
++			resize(bucketReps, numBuckets, OFF_MASK, Exact());
  		} catch(bad_alloc &e) {
  			if(this->_passMemExc) {
  				throw e; // rethrow immediately
-@@ -806,7 +806,7 @@ void KarkkainenBlockwiseSA<TStr>::nextBl
+@@ -816,7 +816,7 @@ void KarkkainenBlockwiseSA<TStr>::nextBl
  				// Not the last bucket
  				assert_lt(_cur, length(_sampleSuffs));
  				hi = _sampleSuffs[_cur];
@@ -27,7 +27,7 @@
  				assert_eq(zHi[0], 0);
  				calcZ(t, hi, zHi, this->verbose(), this->sanityCheck());
  			}
-@@ -815,7 +815,7 @@ void KarkkainenBlockwiseSA<TStr>::nextBl
+@@ -825,7 +825,7 @@ void KarkkainenBlockwiseSA<TStr>::nextBl
  				assert_gt(_cur, 0);
  				assert_leq(_cur, length(_sampleSuffs));
  				lo = _sampleSuffs[_cur-1];
@@ -38,7 +38,7 @@
  				calcZ(t, lo, zLo, this->verbose(), this->sanityCheck());
 --- a/diff_sample.h
 +++ b/diff_sample.h
-@@ -451,7 +451,7 @@ static String<T> getDeltaMap(T v, const
+@@ -452,7 +452,7 @@ static String<T> getDeltaMap(T v, const
  	// Declare anchor-map-related items
  	String<T> amap;
  	size_t amapEnts = 1;
@@ -47,39 +47,39 @@
  	amap[0] = 0;
  	// Print out difference cover (and optionally calculate
  	// anchor map)
-@@ -531,7 +531,7 @@ public:
+@@ -532,7 +532,7 @@ public:
  		assert_gt(_d, 0);
  		assert_eq(1, popCount(_v)); // must be power of 2
  		// Build map from d's to idx's
 -		fill(_dInv, _v, 0xffffffff, Exact());
 +		resize(_dInv, _v, 0xffffffff, Exact());
- 		for(size_t i = 0; i < length(_ds); i++) _dInv[_ds[i]] = i;
- 	}
- 	
-@@ -652,7 +652,7 @@ void DifferenceCoverSample<TStr>::doBuil
+ 		uint32_t lim = (uint32_t)length(_ds);
+ 		for(uint32_t i = 0; i < lim; i++) {
+ 			_dInv[_ds[i]] = i;
+@@ -656,7 +656,7 @@ void DifferenceCoverSample<TStr>::doBuil
  	VMSG_NL("  Doing sanity check");
- 	uint32_t added = 0;
- 	String<uint32_t> sorted;
--	fill(sorted, length(_isaPrime), 0xffffffff, Exact());
-+	resize(sorted, length(_isaPrime), 0xffffffff, Exact());
+ 	TIndexOffU added = 0;
+ 	String<TIndexOffU> sorted;
+-	fill(sorted, length(_isaPrime), OFF_MASK, Exact());
++	resize(sorted, length(_isaPrime), OFF_MASK, Exact());
  	for(size_t di = 0; di < this->d(); di++) {
  		uint32_t d = _ds[di];
  		size_t i = 0;
-@@ -713,7 +713,7 @@ void DifferenceCoverSample<TStr>::buildS
+@@ -717,7 +717,7 @@ void DifferenceCoverSample<TStr>::buildS
  	assert_eq(length(_doffs), d+1);
  	// Size sPrime appropriately
  	reserve(sPrime, sPrimeSz+1, Exact()); // reserve extra slot for LS
--	fill(sPrime, sPrimeSz, 0xffffffff, Exact());
-+	resize(sPrime, sPrimeSz, 0xffffffff, Exact());
+-	fill(sPrime, sPrimeSz, OFF_MASK, Exact());
++	resize(sPrime, sPrimeSz, OFF_MASK, Exact());
  	// Slot suffixes from text into sPrime according to the mu
  	// mapping; where the mapping would leave a blank, insert a 0
- 	uint32_t added = 0;
-@@ -818,7 +818,7 @@ void DifferenceCoverSample<TStr>::build(
+ 	TIndexOffU added = 0;
+@@ -823,7 +823,7 @@ void DifferenceCoverSample<TStr>::build(
  		// arrays back into sPrime.
  		VMSG_NL("  Allocating rank array");
  		reserve(_isaPrime, length(sPrime)+1, Exact());
--		fill(_isaPrime, length(sPrime), 0xffffffff, Exact());
-+		resize(_isaPrime, length(sPrime), 0xffffffff, Exact());
+-		fill(_isaPrime, length(sPrime), OFF_MASK, Exact());
++		resize(_isaPrime, length(sPrime), OFF_MASK, Exact());
  		assert_gt(length(_isaPrime), 0);
  		{
  			Timer timer(cout, "  Ranking v-sort output time: ", this->verbose());

Modified: trunk/packages/bowtie/trunk/debian/patches/use-dpkg-buildflags.patch
===================================================================
--- trunk/packages/bowtie/trunk/debian/patches/use-dpkg-buildflags.patch	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/patches/use-dpkg-buildflags.patch	2014-08-13 11:59:30 UTC (rev 17716)
@@ -6,7 +6,7 @@
 
 --- a/Makefile
 +++ b/Makefile
-@@ -195,7 +195,7 @@ DEFS=-fno-strict-aliasing \
+@@ -192,7 +192,7 @@ DEFS=-fno-strict-aliasing \
       $(MM_DEF) \
       $(SHMEM_DEF)
  

Modified: trunk/packages/bowtie/trunk/debian/patches/use_debian_seqan.patch
===================================================================
--- trunk/packages/bowtie/trunk/debian/patches/use_debian_seqan.patch	2014-08-13 09:50:23 UTC (rev 17715)
+++ trunk/packages/bowtie/trunk/debian/patches/use_debian_seqan.patch	2014-08-13 11:59:30 UTC (rev 17716)
@@ -15,11 +15,11 @@
  SEQAN_INC = -I $(SEQAN_DIR)
  INC = $(SEQAN_INC) -I third_party
  CPP = g++
-@@ -151,7 +151,6 @@ GENERAL_LIST = $(wildcard scripts/*.sh)
+@@ -145,7 +145,6 @@ GENERAL_LIST = $(wildcard scripts/*.sh)
                 $(wildcard genomes/NC_008253.fna) \
                 $(wildcard reads/e_coli_1000.*) \
                 $(wildcard reads/e_coli_1000_*) \
 -               SeqAn-1.1 \
-                doc/manual.html \
-                doc/README \
-                doc/style.css \
+                bowtie \
+                bowtie-build \
+                bowtie-inspect \




More information about the debian-med-commit mailing list