debian/0000755000000000000000000000000012217115571007170 5ustar debian/changelog0000644000000000000000000000702612217110131011032 0ustar bmagic (3.7.0-2) unstable; urgency=low [ Marcus Holland-Moritz ] * Work around build issues with Clang++ (Closes: #683926) [ Roberto C. Sanchez ] * Acknowledge NMU, thanks to Matthias Klose * Add build-arch and build-indep targets to debian/rules * Fix outdated-autotools-helper-file lintian warning * Update to Standards-Version 3.9.4 (no changes) -- Roberto C. Sanchez Fri, 20 Sep 2013 14:06:19 -0400 bmagic (3.7.0-1.1) unstable; urgency=low * Non maintainer upload * Work around build failure with GCC 4.7. Closes: #672004. -- Matthias Klose Tue, 22 May 2012 09:07:11 +0000 bmagic (3.7.0-1) unstable; urgency=low * New upstream release (Closes: #615929) * Update to Standards-Version 3.9.1 (no changes) * Specify Debian source format as '3.0 (quilt)' -- Roberto C. Sanchez Thu, 03 Mar 2011 12:22:16 -0500 bmagic (3.6.4-1) unstable; urgency=low * New upstream release * Update to Standards-Version 3.8.4 (no changes) -- Roberto C. Sanchez Thu, 08 Apr 2010 16:47:58 -0400 bmagic (3.6.3-1) unstable; urgency=low * New upstream release * debian/patches/config.guess.patch: drop obsolete patch * Add ${misc:Depends} as requested by lintian -- Roberto C. Sanchez Sun, 24 Jan 2010 14:45:39 -0500 bmagic (3.6.1-1) unstable; urgency=low * New upstream release -- Roberto C. Sanchez Wed, 09 Dec 2009 16:02:55 -0500 bmagic (3.6.0-1) unstable; urgency=low * New upstream release -- Roberto C. Sanchez Fri, 30 Oct 2009 18:48:35 -0400 bmagic (3.5.4-2) unstable; urgency=low * Make sample build with g++-4.4 -- Roberto C. Sanchez Tue, 06 Oct 2009 20:54:02 -0400 bmagic (3.5.4-1) unstable; urgency=low * New upstream release * Update to Standards-Version 3.8.3 (no changes) * Register documentation with doc-base -- Roberto C. Sanchez Tue, 29 Sep 2009 20:34:36 -0400 bmagic (3.5.3-1) unstable; urgency=high * New upstream release * Update to debhelper compatibility level 5 * Update to Standards-Version 3.8.2 (no changes) * Convert from dpatch to quilt * Fix FTBFS on amd64, set urgency to high (Closes: #527829) * Update copyright * Add watch file -- Roberto C. Sanchez Wed, 12 Aug 2009 22:01:50 -0400 bmagic (3.5.0-1) unstable; urgency=low * New upstream release. * Add tcpp.dpatch. This stops tests/stress/t.cpp from including ncbi_pch.hpp. As far as I can tell, NCBI is not used at all, I have no idea where that came from.. * Silence some lintian warnings; binary-arch-rules-but-pkg-is-arch-indep and ancient-standards-version. -- Andres Salomon Sat, 05 Jan 2008 23:58:56 +0000 bmagic (3.4.0-4) unstable; urgency=low * Fix amd64 patch so that it works correctly with debuild cleans. (Closes: #382981) -- Wes Chow Tue, 17 Oct 2006 10:36:56 -0400 bmagic (3.4.0-3) unstable; urgency=low * Fix amd64 build problem. Thanks to Andreas Jochens for the patch. (Closes: #382981) -- Wes Chow Thu, 17 Aug 2006 12:31:54 -0400 bmagic (3.4.0-2) unstable; urgency=low * Update maintainer to a company alias, add myself as a maintainer. * Change Arch: any to Arch: all. -- Andres Salomon Tue, 30 May 2006 23:15:24 +0000 bmagic (3.4.0-1) unstable; urgency=low * Initial release. -- Wes Chow Wed, 17 May 2006 13:59:28 -0400 debian/bmagic.dirs0000644000000000000000000000003312217110131011254 0ustar usr/include usr/include/bm debian/control0000644000000000000000000000176712217110131010571 0ustar Source: bmagic Section: libdevel Priority: optional Maintainer: Athena Capital Research Uploaders: Wes Chow , Roberto C. Sanchez Homepage: http://bmagic.sourceforge.net/ Build-Depends: debhelper (>= 5), quilt, autotools-dev Standards-Version: 3.9.4 Package: bmagic Architecture: all Depends: ${misc:Depends} Recommends: c++-compiler Description: C++ template library for efficient platform independent bitsets BitMagic is a C++ template library designed and developed to implement efficient platform independent bitsets. Key features: . - Several types of on the fly adaptive compression. - Dynamic range of addressable space of 232-1 bits. - Efficient memory management. - Cache optimized bitset distance algorithms. - Serialization in platform independent, compact format suitable for storing in files and databases. - Performance tuning for 32-bit and 64-bit systems. - Optimization for Intel SSE2 128-bit integer SIMD. debian/source/0000755000000000000000000000000012217110131010453 5ustar debian/source/format0000644000000000000000000000001412217110131011661 0ustar 3.0 (quilt) debian/bmagic.docs0000644000000000000000000000002012217110131011237 0ustar readme doc/html debian/watch0000644000000000000000000000006312217115250010212 0ustar version=3 http://sf.net/bmagic/bm\.?(.*)\.tar\.gz debian/bmagic.install0000644000000000000000000000002712217110131011764 0ustar src/*.h usr/include/bm debian/compat0000644000000000000000000000000212217110131010351 0ustar 5 debian/bmagic.doc-base0000644000000000000000000000041212217110131011771 0ustar Document: bmagic Title: BitMagic Documentation Author: Anatoliy Kuznetsov (2002-2009) Abstract: Documentation for using the bmagic headers. Section: Programming/C++ Format: HTML Index: /usr/share/doc/bmagic/html/index.html Files: /usr/share/doc/bmagic/html/*.html debian/rules0000755000000000000000000000217612217110131010241 0ustar #!/usr/bin/make -f # This file is public domain software, originally written by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/quilt/quilt.make build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: $(QUILT_STAMPFN) dh_testdir dh_autotools-dev_updateconfig env PROJECT_DIR=`pwd` $(MAKE) touch build-stamp clean: clean-patched unpatch rm -f build-stamp dh_clean clean-patched: $(QUILT_STAMPFN) dh_testdir dh_testroot env PROJECT_DIR=`pwd` $(MAKE) clean dh_autotools-dev_restoreconfig install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Build architecture-dependent files here. binary-arch: build install # We have nothing to do by default. # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_install dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/README.source0000644000000000000000000000036312217110131011334 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/copyright0000644000000000000000000000317712217110131011116 0ustar Upstream-Source: http://bmagic.sourceforge.net/ Files: * Copyright: (c) 2002-2010, Anatoliy Kuznetsov License: MIT BitMagic Library. BitMagic library is open source software and distributed under the MIT license. The only restriction is to mention the author in any work derived from this. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: (c) 2006, Wes Chow Copyright: (c) 2008, Andres Salomon Copyright: (c) 2009, Roberto C. Sanchez License: MIT It is assumed that all contributors release their packaging works under the same term as the package itself. debian/patches/0000755000000000000000000000000012217115227010615 5ustar debian/patches/series0000644000000000000000000000006412217110131012017 0ustar g++-4.4.patch amd64.patch g++-4.7.patch clang.patch debian/patches/clang.patch0000644000000000000000000000230412217115226012720 0ustar Description: Work around build issues with Clang++ (Closes: #683926) Author: Marcus Holland-Moritz diff -ruN bm3.7.0/src/bmblocks.h bm3.7.0-mhx/src/bmblocks.h --- bm3.7.0/src/bmblocks.h 2010-04-25 20:08:23.000000000 +0000 +++ bm3.7.0-mhx/src/bmblocks.h 2012-07-30 13:32:26.941643349 +0000 @@ -226,7 +226,7 @@ : bm_func_base_const(bm) {} - bool operator()(const bm::word_t* block, unsigned idx) + bool operator()(const bm::word_t* block, unsigned /* idx */) { if (IS_FULL_BLOCK(block)) return true; diff -ruN bm3.7.0/src/bmfunc.h bm3.7.0-mhx/src/bmfunc.h --- bm3.7.0/src/bmfunc.h 2010-04-25 20:08:23.000000000 +0000 +++ bm3.7.0-mhx/src/bmfunc.h 2012-07-30 13:32:22.368956057 +0000 @@ -39,6 +39,15 @@ namespace bm { +inline +bm::id_t bit_block_calc_count_range(const bm::word_t* block, + bm::word_t left, + bm::word_t right); + +inline +bm::id_t bit_block_any_range(const bm::word_t* block, + bm::word_t left, + bm::word_t right); /*! @brief Structure with statistical information about bitset's memory debian/patches/amd64.patch0000644000000000000000000000134612217110131012542 0ustar Author: Description: Fixes build on AMD64 system. Thanks goes to Andreas Jochens. --- trunk.orig/canon-system +++ trunk/canon-system @@ -30,7 +30,7 @@ echo intel-unixware7 exit 0;; - i[34567]86-*-linux-gnu*) + i[34567]86-*-linux-gnu*|x86_64-*-linux-gnu*) echo intel-linux-gnu exit 0;; --- trunk.orig/platforms/intel-linux-gnu.mk +++ trunk/platforms/intel-linux-gnu.mk @@ -10,8 +10,8 @@ COMMON_LDFLAGS = $(LINKER_DFLAGS) -export-dynamic COMMON_CLDFLAGS = $(COMMON_LDFLAGS) EXTERN_LIBS = $(EXTERN_LIBS_BASE)/lib - CXX = g++ -march=core2 -Wall - CC = gcc -march=core2 -Wall + CXX = g++ -Wall + CC = gcc -Wall LD = g++ CC_PIC_FLAGS = -fPIC CXX_PIC_FLAGS = -fPIC debian/patches/g++-4.4.patch0000644000000000000000000000035712217110131012507 0ustar Make bmagic samples build with g++-4.4 --- trunk.orig/tests/perf/perf.cpp +++ trunk/tests/perf/perf.cpp @@ -21,6 +21,7 @@ OTHER DEALINGS IN THE SOFTWARE. */ +#include #include #include #include debian/patches/g++-4.7.patch0000644000000000000000000000123712217115157012525 0ustar Description: Work around build failure with GCC 4.7. Closes: #672004 Author: Matthias Klose Index: bmagic-3.7.0/platforms/intel-linux-gnu.mk =================================================================== --- bmagic-3.7.0.orig/platforms/intel-linux-gnu.mk 2012-05-22 09:06:45.000000000 +0000 +++ bmagic-3.7.0/platforms/intel-linux-gnu.mk 2012-05-22 09:11:46.472774239 +0000 @@ -10,7 +10,7 @@ COMMON_LDFLAGS = $(LINKER_DFLAGS) -export-dynamic COMMON_CLDFLAGS = $(COMMON_LDFLAGS) EXTERN_LIBS = $(EXTERN_LIBS_BASE)/lib - CXX = g++ -Wall + CXX = g++ -fpermissive -Wall CC = gcc -Wall LD = g++ CC_PIC_FLAGS = -fPIC