Added initial debian folder.

master
Thomas Goirand 2014-05-25 13:54:49 +00:00
parent 9d53ea590b
commit f56efaec5e
12 changed files with 239 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
gf-complete (1.02~0+2014.05.git259d53ea590b-1) unstable; urgency=low
* Initial release (Closes: #750713).
-- Thomas Goirand <zigo@debian.org> Sun, 25 May 2014 16:35:49 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

45
debian/control vendored Normal file
View File

@ -0,0 +1,45 @@
Source: gf-complete
Section: libs
Priority: extra
Maintainer: Thomas Goirand <zigo@debian.org>
Build-Depends: autotools-dev, debhelper (>= 9), dh-autoreconf, autoconf-archive
Standards-Version: 3.9.5
Homepage: https://bitbucket.org/jimplank/gf-complete
Vcs-Git: git://anonscm.debian.org/openstack/gf-complete.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/gf-complete.git;a=summary
Package: libgf-complete-dev
Section: libdevel
Architecture: any
Depends: libgf-complete1 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Description: Galois Field Arithmetic - development files
Galois Field arithmetic forms the backbone of erasure-coded storage systems,
most famously the Reed-Solomon erasure code. A Galois Field is defined over
w-bit words and is termed GF(2w). As such, the elements of a Galois Field are
the integers 0, 1, . . ., 2^w 1. Galois Field arithmetic defines addition
and multiplication over these closed sets of integers in such a way that they
work as you would hope they would work. Specifically, every number has a
unique multiplicative inverse. Moreover, there is a value, typically the value
2, which has the property that you can enumerate all of the non-zero elements
of the field by taking that value to successively higher powers.
.
This package contains the development files needed to build against the shared
library.
Package: libgf-complete1
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Galois Field Arithmetic - shared library
Galois Field arithmetic forms the backbone of erasure-coded storage systems,
most famously the Reed-Solomon erasure code. A Galois Field is defined over
w-bit words and is termed GF(2w). As such, the elements of a Galois Field are
the integers 0, 1, . . ., 2^w 1. Galois Field arithmetic defines addition
and multiplication over these closed sets of integers in such a way that they
work as you would hope they would work. Specifically, every number has a
unique multiplicative inverse. Moreover, there is a value, typically the value
2, which has the property that you can enumerate all of the non-zero elements
of the field by taking that value to successively higher powers.
.
This package contains the shared library.

44
debian/copyright vendored Normal file
View File

@ -0,0 +1,44 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gf-complete
Source: https://bitbucket.org/jimplank/gf-complete
Files: debian/*
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
License: BSD
Files: *
Copyright: (c) 2013, James S. Plank <plank@cs.utk.edu>
(c) 2013, Ethan L. Miller <elm@cs.ucsc.edu>
(c) 2013, Kevin M. Greenan <kmg@box.com>
(c) 2013, Benjamin A. Arnold
(c) 2013, John A. Burnum
(c) 2013, Adam W. Disney
(c) 2013, Allen C. McBride
License: BSD
License: BSD
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
.
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
- Neither the name of the University of Tennessee nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

8
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,8 @@
[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = v%(version)s
compression = xz
[git-buildpackage]
export-dir = ../build-area/

4
debian/libgf-complete-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
#usr/lib/pkgconfig/*
#usr/share/pkgconfig/*
usr/include/*
usr/lib/*/lib*.so

1
debian/libgf-complete1.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/lib*.so.*

85
debian/libgf-complete1.symbols vendored Normal file
View File

@ -0,0 +1,85 @@
libgf_complete.so.1 libgf-complete1 #MINVER#
MOA_Fill_Random_Region@Base 1.02~0+2014.05.git259d53ea590b
MOA_Random_128@Base 1.02~0+2014.05.git259d53ea590b
MOA_Random_32@Base 1.02~0+2014.05.git259d53ea590b
MOA_Random_64@Base 1.02~0+2014.05.git259d53ea590b
MOA_Random_W@Base 1.02~0+2014.05.git259d53ea590b
MOA_Seed@Base 1.02~0+2014.05.git259d53ea590b
_gf_errno@Base 1.02~0+2014.05.git259d53ea590b
bits@Base 1.02~0+2014.05.git259d53ea590b
bits_56@Base 1.02~0+2014.05.git259d53ea590b
create_gf_from_argv@Base 1.02~0+2014.05.git259d53ea590b
gf_alignment_error@Base 1.02~0+2014.05.git259d53ea590b
gf_bitmatrix_inverse@Base 1.02~0+2014.05.git259d53ea590b
gf_composite_get_default_poly@Base 1.02~0+2014.05.git259d53ea590b
gf_do_final_region_alignment@Base 1.02~0+2014.05.git259d53ea590b
gf_do_initial_region_alignment@Base 1.02~0+2014.05.git259d53ea590b
gf_error@Base 1.02~0+2014.05.git259d53ea590b
gf_error_check@Base 1.02~0+2014.05.git259d53ea590b
gf_free@Base 1.02~0+2014.05.git259d53ea590b
gf_general_add@Base 1.02~0+2014.05.git259d53ea590b
gf_general_are_equal@Base 1.02~0+2014.05.git259d53ea590b
gf_general_divide@Base 1.02~0+2014.05.git259d53ea590b
gf_general_do_region_check@Base 1.02~0+2014.05.git259d53ea590b
gf_general_do_region_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_general_do_single_timing_test@Base 1.02~0+2014.05.git259d53ea590b
gf_general_inverse@Base 1.02~0+2014.05.git259d53ea590b
gf_general_is_one@Base 1.02~0+2014.05.git259d53ea590b
gf_general_is_zero@Base 1.02~0+2014.05.git259d53ea590b
gf_general_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_general_s_to_val@Base 1.02~0+2014.05.git259d53ea590b
gf_general_set_one@Base 1.02~0+2014.05.git259d53ea590b
gf_general_set_random@Base 1.02~0+2014.05.git259d53ea590b
gf_general_set_two@Base 1.02~0+2014.05.git259d53ea590b
gf_general_set_up_single_timing_test@Base 1.02~0+2014.05.git259d53ea590b
gf_general_set_zero@Base 1.02~0+2014.05.git259d53ea590b
gf_general_val_to_s@Base 1.02~0+2014.05.git259d53ea590b
gf_init_easy@Base 1.02~0+2014.05.git259d53ea590b
gf_init_hard@Base 1.02~0+2014.05.git259d53ea590b
gf_multby_one@Base 1.02~0+2014.05.git259d53ea590b
gf_multby_zero@Base 1.02~0+2014.05.git259d53ea590b
gf_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_set_region_data@Base 1.02~0+2014.05.git259d53ea590b
gf_size@Base 1.02~0+2014.05.git259d53ea590b
gf_two_byte_region_table_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_bytwo_b_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_bytwo_b_multiply_region@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_bytwo_p_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_clm_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_divide_from_inverse@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_euclid@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_extract_word@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_group_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_init@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_inverse_from_divide@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_shift_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_sse_bytwo_b_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w128_sse_bytwo_p_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w16_get_div_alog_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w16_get_log_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w16_get_mult_alog_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w16_init@Base 1.02~0+2014.05.git259d53ea590b
gf_w16_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_w16_split_8_8_multiply@Base 1.02~0+2014.05.git259d53ea590b
gf_w32_init@Base 1.02~0+2014.05.git259d53ea590b
gf_w32_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_w4_get_div_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w4_get_mult_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w4_init@Base 1.02~0+2014.05.git259d53ea590b
gf_w4_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_bytwo_p_sse_multiply_region@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_clm_multiply_region@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_init@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_split_16_64_lazy_multiply_region@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_split_4_64_lazy_multiply_region@Base 1.02~0+2014.05.git259d53ea590b
gf_w64_split_8_64_lazy_multiply_region@Base 1.02~0+2014.05.git259d53ea590b
gf_w8_get_div_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w8_get_mult_table@Base 1.02~0+2014.05.git259d53ea590b
gf_w8_init@Base 1.02~0+2014.05.git259d53ea590b
gf_w8_scratch_size@Base 1.02~0+2014.05.git259d53ea590b
gf_wgen_cauchy_region@Base 1.02~0+2014.05.git259d53ea590b
gf_wgen_extract_word@Base 1.02~0+2014.05.git259d53ea590b
gf_wgen_init@Base 1.02~0+2014.05.git259d53ea590b
gf_wgen_scratch_size@Base 1.02~0+2014.05.git259d53ea590b

View File

@ -0,0 +1,20 @@
Description: Do not use ax-ext macros
This disables the AX_EXT macros from the m4 folder, so that it disables
the SSE extensions (otherwise the lib wont work on all CPU).
.
Thanks to pabs for his help here!
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2014-06-06
--- gf-complete-1.02~0+2014.05.git259d53ea590b.orig/configure.ac
+++ gf-complete-1.02~0+2014.05.git259d53ea590b/configure.ac
@@ -22,7 +22,7 @@ CFLAGS="-Wall -Wpointer-arith -O3 -g"
dnl Compiling with per-target flags requires AM_PROG_CC_C_O.
AC_PROG_CC
-AX_EXT()
+#AX_EXT()
AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile test/Makefile examples/Makefile])
AC_OUTPUT

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
do-not-use-sse-ac-ext.patch

24
debian/rules vendored Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/make -f
UPSTREAM_GIT ?= https://bitbucket.org/jimplank/gf-complete.git
DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')
DEBFLAVOR ?= $(shell dpkg-parsechangelog | grep -E ^Distribution: | cut -d" " -f2)
DEBPKGNAME ?= $(shell dpkg-parsechangelog | grep -E ^Source: | cut -d" " -f2)
GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/')
%:
dh $@ --with autoreconf
override_dh_auto_test:
#make check
echo "Not doing anything for now"
gen-orig-xz:
git tag -v $(GIT_TAG) || true
if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \
git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(GIT_TAG) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \
fi
[ ! -e ../build-area ] && mkdir ../build-area || true
[ ! -e ../build-area/$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] && cp ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ../build-area

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)