debian/0000755000000000000000000000000012243376342007174 5ustar debian/upstream0000644000000000000000000000071012243356242010752 0ustar Name: M4RI Homepage: http://m4ri.sagemath.org/ Contact: https://groups.google.com/group/m4ri-devel Repository: https://bitbucket.org/malb/m4ri Repository-Browse: https://bitbucket.org/malb/m4ri/src Bug-Database: https://bitbucket.org/malb/m4ri/issues Reference: Author: Martin Albrecht and Gregory Bard Title: {The M4RI Library -- Version 20130416} Year: 2013 URL: http://m4ri.sagemath.org Other-References: http://m4ri.sagemath.org/further.html debian/source/0000755000000000000000000000000012243356242010471 5ustar debian/source/format0000644000000000000000000000001412243356242011677 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000062112243356242010250 0ustar #!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) # disable sse2 except on amd64 ifneq ($(DEB_HOST_ARCH_CPU),amd64) additional_confflags := --disable-sse2 endif %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- $(additional_confflags) override_dh_strip: dh_strip --dbg-package=libm4ri-0.0.20130416-dbg debian/libm4ri-0.0.20130416.install0000644000000000000000000000002712243356242013314 0ustar usr/lib/*/libm4ri-*.so debian/gbp.conf0000644000000000000000000000006612243356242010612 0ustar [git-buildpackage] upstream-tag = release-%(version)s debian/copyright0000644000000000000000000000561612243356242011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: m4ri Source: http://m4ri.sagemath.org Files: * Copyright: 2007,2008 Gregory Bard 2008 Marco Bodrato 2008 Jean-Guillaume Dumas 2008 David Harvey 2008, 2009 Clement Pernet 2008-2011 Martin Albrecht 2011 Carlo Wood License: GPL-2+ Files: m4/ax_cache_size.m4 Copyright: 2008 Christophe Tournayre 2008 Martin Albrecht 2008 Arnaud Bergeron License: permissive Files: m4/ax_cache_size_tune.m4 Copyright: 2009-2010 Martin Albrecht License: permissive Files: m4/ax_check_compiler_flags.m4 m4/ax_gcc_x86_cpuid.m4 Copyright: 2008 Steven G. Johnson 2008 Matteo Frigo License: GPL-3+ Files: m4/ax_cpu_vendor.m4 m4/ax_ext.m4 Copyright: 2008 Christophe Tournayre License: permissive Files: m4/ax_func_posix_memalign.m4 Copyright: 2008 Scott Pakin License: permissive Files: m4/ax_guess_path_header.m4 m4/ax_guess_path_lib.m4 Copyright: 2011 Carlo Wood License: permissive Files: m4/ax_openmp.m4 Copyright: 2008 Steven G. Johnson License: GPL-3+ Files: m4/pkg.m4 Copyright: 2004 Scott James Remnant . License: GPL-2+ Files: testsuite/cpucycles-20060326/* Copyright: D. J. Bernstein License: public-domain These files are in the public domain Files: debian/* Copyright: 2008 Tim Abbott 2012 Felix Salfelder 2012 Cédric Boutillier License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in `/usr/share/common-licenses/GPL-2'. License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License, version 3, can be found in `/usr/share/common-licenses/GPL-3'. License: permissive Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/libm4ri-0.0.20130416.lintian-overrides0000644000000000000000000000005412243356242015304 0ustar libm4ri-0.0.20130416: no-upstream-changelog debian/libm4ri-0.0.20130416-dbg.lintian-overrides0000644000000000000000000000006012243356242016033 0ustar libm4ri-0.0.20130416-dbg: no-upstream-changelog debian/libm4ri-dev.install0000644000000000000000000000011212243356242012671 0ustar usr/include usr/lib/*/libm4ri*.a usr/lib/*/libm4ri.so usr/lib/*/pkgconfig debian/control0000644000000000000000000000512412243376146010603 0ustar Source: libm4ri Maintainer: Debian Science Maintainers Uploaders: Felix Salfelder , Cédric Boutillier Section: math Priority: optional Build-Depends: autotools-dev, debhelper (>= 9), dpkg-dev (>= 1.16.1~), libtool, automake, autoconf, dh-autoreconf, libpng-dev, pkg-config Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/libm4ri.git;a=summary Vcs-Git: git://anonscm.debian.org/debian-science/packages/libm4ri.git Homepage: http://m4ri.sagemath.org/ Package: libm4ri-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, libm4ri-0.0.20130416 (= ${binary:Version}) Description: Method of the Four Russians Inversion library, development files M4RI is a library for fast arithmetic with dense matrices over F2. The name M4RI comes from the first implemented algorithm: The "Method of the Four Russians" inversion algorithm. This algorithm in turn is named after the "Method of the Four Russians" multiplication algorithm which is probably better referred to as Kronrod's method. . This package contains development files for libm4ri. Package: libm4ri-0.0.20130416 Architecture: any Multi-Arch: same Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: multiarch-support Description: Method of the Four Russians Inversion library, shared library M4RI is a library for fast arithmetic with dense matrices over F2. The name M4RI comes from the first implemented algorithm: The "Method of the Four Russians" inversion algorithm. This algorithm in turn is named after the "Method of the Four Russians" multiplication algorithm which is probably better referred to as Kronrod's method. . This package contains the m4ri shared library. Package: libm4ri-0.0.20130416-dbg Architecture: any Multi-Arch: same Section: debug Priority: extra Depends: libm4ri-0.0.20130416 (= ${binary:Version}), ${misc:Depends} Description: debugging symbols for libm4ri-0.0.20120613 M4RI is a library for fast arithmetic with dense matrices over F2. The name M4RI comes from the first implemented algorithm: The "Method of the Four Russians" inversion algorithm. This algorithm in turn is named after the "Method of the Four Russians" multiplication algorithm which is probably better referred to as Kronrod's method. . This package contains the debugging symbols for libm4ri-0.0.20130416. debian/changelog0000644000000000000000000000722012243376173011051 0ustar libm4ri (20130416-6) unstable; urgency=low * Build-Depend on autoconf instead of autoconf1.10 (Closes: #724406) * Bump Standards-Version to 3.9.5 (no changes needed) -- Cédric Boutillier Thu, 21 Nov 2013 11:13:22 +0100 libm4ri (20130416-5) unstable; urgency=low * Disable openMP on all architectures for now, as recommended by upstream. -- Cédric Boutillier Mon, 16 Sep 2013 18:20:30 +0200 libm4ri (20130416-4) unstable; urgency=low * Deactivate openMP on sparc to avoid randomly failing tests. -- Cédric Boutillier Mon, 16 Sep 2013 15:20:00 +0200 libm4ri (20130416-3) unstable; urgency=low * Upload to unstable. -- Cédric Boutillier Mon, 17 Jun 2013 21:39:02 +0200 libm4ri (20130416-2) experimental; urgency=low * debian/rules: use DEB_HOST_ARCH_CPU instead of DEB_BUILD_ARCH_CPU in test for activation of SSE2 instructions. -- Cédric Boutillier Tue, 02 Apr 2013 00:16:41 +0200 libm4ri (20130416-1) experimental; urgency=low * New upstream version * debian/control: use anonscm.debian.org instead of git.debian.org for Vcs-* fields * debian/patches: + add dont_disable_sse2_for_opteron.patch: enable sse2 for non Intel CPUs + add disable_sse3.patch patches: disable sse3 unconditionally + remove (unapplied) upstream-versioning-change patch (not needed anymore) * debian/rules : do not disable sse2 for x86_64 CPUs (Closes: #702287) * add debian/upstream file -- Cédric Boutillier Thu, 28 Mar 2013 15:04:44 +0100 libm4ri (20120613-2) experimental; urgency=low * Bump Standards-Version: to 3.9.4 (no changes needed) * Add Vcs-* fields * Add pkg-config and libpng-dev to Build-Depends (Closes: #699071) * Add --enable-openmp flag to add OpenMP support for parallel multiplication and elimination * Build a libm4ri-0.0.20120613-dbg package + override lintian message about the absence of upstream changelog * debian/control: reformat using cme fix dpkg-control -- Cédric Boutillier Sun, 27 Jan 2013 07:55:18 +0100 libm4ri (20120613-1) experimental; urgency=low [ Felix Salfelder ] * new upstream release [ Cédric Boutillier ] * debian/control: + add myself to Uploaders: + add dpkg-dev (>= 1.16.1~) and dh-autoreconf to Build-Depends + add Pre-depends: multiarch-support, Multi-Arch: same for the shared library + add strict dependency on the shared library for the -dev package * debian/rules: + enable hardening + add --disable-sse2 flag to configure * debian/source/local-options: add unapply-patches option * debian/source/format: use 3.0 (quilt) * debian/*.install: + use multiarch paths + do not ship .la file in libm4ri-dev * Set debhelper compatibility level to 9 * Add a debian/watch file * Convert debian/copyright to copyright-format/1.0 * Change version numbering to follow upstream convention * Override lintian message about the absence of upstream changelog -- Cédric Boutillier Mon, 07 Jan 2013 12:08:45 +0100 libm4ri (0.0.20080521-2) unstable; urgency=low * Fix DEB_AUTO_UPDATE_LIBTOOL usage (Closes: #507191). -- Tim Abbott Thu, 04 Dec 2008 21:54:32 -0500 libm4ri (0.0.20080521-1) unstable; urgency=low * New upstream release. * Add missing upstream URL. * Improve description. * Updates Standards-Version to 3.8.0. -- Tim Abbott Thu, 26 Jun 2008 11:23:02 -0400 libm4ri (0.0.20071224-1) unstable; urgency=low * Initial release (Closes: #480085). -- Tim Abbott Tue, 27 May 2008 20:24:07 -0400 debian/patches/0000755000000000000000000000000012243356242010620 5ustar debian/patches/series0000644000000000000000000000006712243356242012040 0ustar dont_disable_sse2_for_opteron.patch disable_sse3.patch debian/patches/disable_sse3.patch0000644000000000000000000000124712243356242014205 0ustar Description: unconditionnally disable SSE3 instructions Those instructions are not implemented on all processors. Author: Cédric Boutillier Last-Update: 2013-03-28 --- a/m4/ax_ext.m4 +++ b/m4/ax_ext.m4 @@ -68,17 +68,11 @@ AC_CACHE_CHECK([whether sse3 is supported], [ax_cv_have_sse3_ext], [ ax_cv_have_sse3_ext=no - if test "$((0x$ecx&0x01))" = 1; then - ax_cv_have_sse3_ext=yes - fi ]) AC_CACHE_CHECK([whether ssse3 is supported], [ax_cv_have_ssse3_ext], [ ax_cv_have_ssse3_ext=no - if test "$((0x$ecx>>9&0x01))" = 1; then - ax_cv_have_ssse3_ext=yes - fi ]) if test "$ax_cv_have_mmx_ext" = yes; then debian/patches/dont_disable_sse2_for_opteron.patch0000644000000000000000000000142412243356242017641 0ustar Description: stop discriminating non Intel CPUs remove condition on CPU vendor to determine wether SSE2 instructions should be enabled. Author: Cédric Boutillier Bug: https://bitbucket.org/malb/m4ri/issue/52/do-not-forbid-sse2-enabling-for-non-intel Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702287 Last-Update: 2013-03-28 --- a/configure.ac +++ b/configure.ac @@ -49,10 +49,7 @@ AC_MSG_ERROR([SSE2 cannot be supported when wrapping word in a C++ class.]) fi case $host_cpu in i[[3456]]86*|x86_64*) - AX_CPU_VENDOR() - if test "x$ax_cv_cpu_vendor" = "xIntel"; then - AX_EXT() # SSE2 is slower on the Opteron - fi + AX_EXT() esac ]) if test x"$ax_cv_have_sse2_ext" = x"yes"; then debian/watch0000644000000000000000000000007712243356242010226 0ustar version=3 http://m4ri.sagemath.org/downloads/ m4ri-(.+).tar.gz debian/libm4ri-dev.lintian-overrides0000644000000000000000000000004312243356242014664 0ustar libm4ri-dev: no-upstream-changelog debian/compat0000644000000000000000000000000212243356242010367 0ustar 9