diff -Nru gaviotatb-0.4/debian/changelog gaviotatb-0.4/debian/changelog --- gaviotatb-0.4/debian/changelog 2021-01-02 02:31:44.000000000 +0100 +++ gaviotatb-0.4/debian/changelog 2025-02-13 22:51:22.000000000 +0100 @@ -1,3 +1,16 @@ +gaviotatb (0.4-2.2) unstable; urgency=medium + + * Non-maintainer upload + * Replace repack rules with Files-Excluded + * Remove .depend via d/clean + * Introduce Rules-Requires-Root + * Do not build with Z_SOLO (Closes: #1074978) + + [ Helmut Grohne ] + * Fix FTCBFS: Force using the debhelper supplied CC. (Closes: #872083) + + -- Bastian Germann Thu, 13 Feb 2025 22:51:22 +0100 + gaviotatb (0.4-2.1) unstable; urgency=medium * Non maintainer upload by the Reproducible Builds team. diff -Nru gaviotatb-0.4/debian/clean gaviotatb-0.4/debian/clean --- gaviotatb-0.4/debian/clean 1970-01-01 01:00:00.000000000 +0100 +++ gaviotatb-0.4/debian/clean 2025-02-13 22:51:22.000000000 +0100 @@ -0,0 +1 @@ +.depend diff -Nru gaviotatb-0.4/debian/control gaviotatb-0.4/debian/control --- gaviotatb-0.4/debian/control 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/control 2025-02-13 22:51:22.000000000 +0100 @@ -4,6 +4,7 @@ Build-Depends: debhelper (>= 8.0.0), zlib1g-dev Standards-Version: 3.9.4 Section: libs +Rules-Requires-Root: binary-targets 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 diff -Nru gaviotatb-0.4/debian/copyright gaviotatb-0.4/debian/copyright --- gaviotatb-0.4/debian/copyright 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/copyright 2025-02-13 22:51:22.000000000 +0100 @@ -1,10 +1,11 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gaviota Source: https://sites.google.com/site/gaviotachessengine/ +Files-Excluded: compression/zlib Files: * Copyright: 2010 Miguel A. Ballicora -License: MIT +License: Expat 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 diff -Nru gaviotatb-0.4/debian/orig-tar.sh gaviotatb-0.4/debian/orig-tar.sh --- gaviotatb-0.4/debian/orig-tar.sh 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/orig-tar.sh 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -#!/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 diff -Nru gaviotatb-0.4/debian/patches/remove_zlib.diff gaviotatb-0.4/debian/patches/remove_zlib.diff --- gaviotatb-0.4/debian/patches/remove_zlib.diff 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/patches/remove_zlib.diff 2025-02-13 22:51:22.000000000 +0100 @@ -1,5 +1,3 @@ -Index: gaviotatb/Makefile -=================================================================== --- gaviotatb.orig/Makefile 2013-06-03 21:09:17.000000000 -0400 +++ gaviotatb/Makefile 2013-06-03 21:09:23.000000000 -0400 @@ -1,12 +1,11 @@ @@ -30,3 +28,13 @@ compression/liblzf/lzf_c.c compression/liblzf/lzf_d.c OBJFILES := $(patsubst %.c,%.o,$(SRCFILES)) PROFFILES := $(SRCFILES:.c=.gcno) $(SRCFILES:.c=.gcda) +--- gaviotatb.orig/compression/wrap.c 2025-02-13 23:04:44.768017302 +0100 ++++ gaviotatb/compression/wrap.c 2025-02-13 23:04:55.268017937 +0100 +@@ -42,7 +42,6 @@ + #endif + + #if defined(ZLIB) +-#define Z_SOLO + #include "zlib.h" + #endif + diff -Nru gaviotatb-0.4/debian/README.source gaviotatb-0.4/debian/README.source --- gaviotatb-0.4/debian/README.source 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/README.source 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -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 diff -Nru gaviotatb-0.4/debian/rules gaviotatb-0.4/debian/rules --- gaviotatb-0.4/debian/rules 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/rules 2025-02-13 22:51:22.000000000 +0100 @@ -7,9 +7,5 @@ %: dh $@ -override_dh_clean: - dh_clean - rm -f .depend - -get-orig-source: - -uscan --force-download +override_dh_auto_build: + dh_auto_build -- DEFAULT_CC='$$(CC)' diff -Nru gaviotatb-0.4/debian/watch gaviotatb-0.4/debian/watch --- gaviotatb-0.4/debian/watch 2015-01-21 06:17:08.000000000 +0100 +++ gaviotatb-0.4/debian/watch 2025-02-13 22:40:44.000000000 +0100 @@ -1,4 +1,3 @@ version=3 opts="dversionmangle=s/[+~]dfsg.*//" \ -https://sites.google.com/site/gaviotachessengine/download .*tbprobe-(.*).zip.* \ - debian debian/orig-tar.sh +https://sites.google.com/site/gaviotachessengine/download .*tbprobe-(.*).zip.*