debian/0000755000000000000000000000000012152775042007173 5ustar debian/libgaviotatb1.dirs0000644000000000000000000000001012152773670012602 0ustar usr/lib debian/control0000644000000000000000000000356512152775042010607 0ustar Source: gaviotatb Priority: extra Maintainer: Varun Hiremath Build-Depends: debhelper (>= 8.0.0), zlib1g-dev Standards-Version: 3.9.4 Section: libs Homepage: https://sites.google.com/site/gaviotachessengine/ Vcs-Git: git://git.debian.org/users/varun/gaviotatb.git Vcs-Browser: http://git.debian.org/?p=users/varun/gaviotatb.git;a=summary Package: libgaviotatb-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libgaviotatb1 (= ${binary:Version}) Recommends: gaviotatb Description: Gaviota chess endgame tablebase probing library Gaviota is a chess engine. Gaviota generates and uses its own Endgame Tablebases (EGTBs) with its own format. It contains "distance to mate" information, which is how many moves are needed to mate the opponent, or to be mated. The Gaviota Tablebases can be probed from your own program (engine or interface) using this library. Package: libgaviotatb1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: gaviotatb Description: Gaviota chess endgame tablebase probing library Gaviota is a chess engine. Gaviota generates and uses its own Endgame Tablebases (EGTBs) with its own format. It contains "distance to mate" information, which is how many moves are needed to mate the opponent, or to be mated. The Gaviota Tablebases can be probed from your own program (engine or interface) using this library. . This package contains the development files. Package: gaviotatb Section: database Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Description: Gaviota chess endgame tablebases Gaviota is a chess engine. Gaviota generates and uses its own Endgame Tablebases (EGTBs) with its own format. It contains "distance to mate" information, which is how many moves are needed to mate the opponent, or to be mated. This package provides the pre-generated Gaviota endgame tablebases. debian/libgaviotatb-dev.dirs0000644000000000000000000000002412152773670013302 0ustar usr/lib usr/include debian/docs0000644000000000000000000000001312152773670010045 0ustar readme.txt debian/copyright0000644000000000000000000000733012152773670011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gaviota Source: https://sites.google.com/site/gaviotachessengine/ Files: * Copyright: 2010 Miguel A. Ballicora License: MIT 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: compression/lzma/* Copyright: Igor Pavlov License: Public Domain These files are under public domain and can be downloaded from https://github.com/lloyd/easylzma/tree/master/src/pavlov Files: compression/liblzf/* Copyright: 2000-2007 Marc Alexander Lehmann License: BSD Redistribution and use in source and binary forms, with or without modifica- tion, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. 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. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER- CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE- CIAL, 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 OTH- ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . Alternatively, the following files carry an additional notice that explicitly allows relicensing under the GPLv2: lzf.c lzf.h lzfP.h lzf_c.c lzf_d.c Files: debian/* Copyright: 2013 Varun Hiremath 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. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/watch0000644000000000000000000000023612152773670010232 0ustar version=3 opts="dversionmangle=s/[+~]dfsg.*//" \ https://sites.google.com/site/gaviotachessengine/download .*tbprobe-(.*).zip.* \ debian debian/orig-tar.sh debian/rules0000755000000000000000000000031112152773670010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_clean: dh_clean rm -f .depend get-orig-source: -uscan --force-download debian/orig-tar.sh0000755000000000000000000000044112152773670011262 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' TAR=../gaviotatb_$2.orig.tar.gz DIR=gaviotatb-$2.orig # clean up the upstream tarball unzip $3 mv michiguel-Gaviota-Tablebases-* $DIR rm -rf $DIR/compression/zlib GZIP=--best tar -c -z -f $TAR $DIR rm -rf $3 $DIR debian/libgaviotatb1.install0000644000000000000000000000002212152773670013312 0ustar usr/lib/lib*.so.* debian/compat0000644000000000000000000000000212152773670010376 0ustar 8 debian/changelog0000644000000000000000000000020512152773670011047 0ustar gaviotatb (0.4-1) unstable; urgency=low * Initial release -- Varun Hiremath Sun, 02 Jun 2013 15:26:15 -0400 debian/libgaviotatb-dev.install0000644000000000000000000000005512152773670014013 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so debian/source/0000755000000000000000000000000012152773670010500 5ustar debian/source/format0000644000000000000000000000001412152773670011706 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012152773670010627 5ustar debian/patches/Makefile.diff0000644000000000000000000000362312152773670013202 0ustar Index: gaviotatb-0.4/Makefile =================================================================== --- gaviotatb-0.4.orig/Makefile 2013-06-02 20:26:45.000000000 -0400 +++ gaviotatb-0.4/Makefile 2013-06-02 20:30:01.000000000 -0400 @@ -10,7 +10,7 @@ #DEFAULT_ARCHFLAGS = -m64 DEFAULT_CFLAGS = -Wall -Wextra -fPIC $(INCLUDE) $(DEFAULT_DEFINE) \ $(DEFAULT_ARCHFLAGS) -PREFIX = /usr/local +PREFIX = /usr OPTFLAGS = -fast -msse -DNDEBUG DEBUGFLAGS = -O0 -g -DDEBUG PGO1FLAGS = $(OPTFLAGS) -fprofile-generate @@ -30,8 +30,8 @@ compression/liblzf/lzf_c.c compression/liblzf/lzf_d.c OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) PROFFILES := $(SRCFILES:.c=.gcno) $(SRCFILES:.c=.gcda) -LIBNAME := libgtb.a -SONAME :=libgtb.so +LIBNAME := libgaviotatb.a +SONAME :=libgaviotatb.so SOVERSION := 1.0.1 SOMAJORVERSION := 1 @@ -54,7 +54,7 @@ $(LIBNAME): $(OBJFILES) $(AR) rcs $@ $(OBJFILES) -$(SONAME): $(OBJFILES) +$(SONAME): $(OBJFILES) $(CC) -shared $(OBJFILES) -Wl,-soname=$(SONAME).$(SOMAJORVERSION) -o $(SONAME).$(SOVERSION) opt: @@ -90,16 +90,20 @@ LDFLAGS='$(LDFLAGS) -fprofile-generate' clean: - $(RM) -f $(OBJFILES) $(LIBNAME) $(SONAME) + $(RM) -f $(OBJFILES) $(LIBNAME) $(SONAME).$(SOVERSION) pgo-clean: $(RM) -f $(PROFFILES) install: - install -m 755 -o root -g root $(LIBNAME) $(SONAME).$(SOVERSION) $(PREFIX)/lib - ln -sf $(SONAME).$(SOMAJORVERSION) $(PREFIX)/lib/$(SONAME) - install -m 644 -o root -g root gtb-probe.h $(PREFIX)/include - ldconfig + mkdir -p $(DESTDIR)/$(PREFIX)/lib + install -m 755 -o root -g root $(LIBNAME) $(SONAME).$(SOVERSION) $(DESTDIR)/$(PREFIX)/lib + (cd $(DESTDIR)/$(PREFIX)/lib; \ + ln -sf $(SONAME).$(SOVERSION) $(SONAME).$(SOMAJORVERSION); \ + ln -sf $(SONAME).$(SOVERSION) $(SONAME);) + mkdir -p $(DESTDIR)/$(PREFIX)/include + install -m 644 -o root -g root gtb-probe.h $(DESTDIR)/$(PREFIX)/include + #ldconfig .depend: $(CC) -MM $(DEFAULT_CFLAGS) $(SRCFILES) > $@ debian/patches/series0000644000000000000000000000003712152773670012044 0ustar Makefile.diff remove_zlib.diff debian/patches/remove_zlib.diff0000644000000000000000000000213012152773670013772 0ustar Index: gaviotatb-0.4/Makefile =================================================================== --- gaviotatb-0.4.orig/Makefile 2013-06-02 20:30:01.000000000 -0400 +++ gaviotatb-0.4/Makefile 2013-06-02 20:33:48.000000000 -0400 @@ -1,7 +1,6 @@ INCLUDE = -Isysport/ \ -Icompression/ \ -Icompression/liblzf/ \ - -Icompression/zlib/ \ -Icompression/lzma/ \ -Icompression/huffman/ @@ -21,12 +20,7 @@ compression/lzma/LzmaEnc.c compression/lzma/LzmaDec.c \ compression/lzma/Alloc.c compression/lzma/LzFind.c \ compression/lzma/Lzma86Enc.c compression/lzma/Lzma86Dec.c \ - compression/lzma/Bra86.c compression/zlib/zcompress.c \ - compression/zlib/uncompr.c compression/zlib/inflate.c \ - compression/zlib/deflate.c compression/zlib/adler32.c \ - compression/zlib/crc32.c compression/zlib/infback.c \ - compression/zlib/inffast.c compression/zlib/inftrees.c \ - compression/zlib/trees.c compression/zlib/zutil.c \ + compression/lzma/Bra86.c \ compression/liblzf/lzf_c.c compression/liblzf/lzf_d.c OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) PROFFILES := $(SRCFILES:.c=.gcno) $(SRCFILES:.c=.gcda) debian/README.source0000644000000000000000000000070312152773670011357 0ustar Creating source package ======================= The upstream supplied source tarball contains an embedded copy of the zlib library. The debian/orig-tar.sh script removes these zlib source files to avoid duplication and creates a clean source tarball for debian release. Please use the 'get-orig-source' target provided in debian/rules to create the tarball for debian packaging. -- Varun Hiremath Sun, 2 Jun 2013 21:46:00 -0400 debian/gaviotatb.install0000644000000000000000000000003312152773670012544 0ustar gtb/* usr/share/gaviotatb/