debian/0000755000000000000000000000000011631640145007167 5ustar debian/changelog0000644000000000000000000000535011631633552011050 0ustar fruit (2.1.dfsg-6) unstable; urgency=low * Maintenence update. * Changes in debian/control: Standards-Version: 3.9.2 * Changes in debian/control: Homepage: http://wbec-ridderkerk.nl/html/details1/Fruit.html (Closes: #638742) * Update to the manpage. -- Oliver Korff Wed, 07 Sep 2011 11:07:28 +0200 fruit (2.1.dfsg-5) unstable; urgency=low * Remove of README.Source file * Switch to dpkg-source 3.0 (quilt) format * Removed the knights dependencies, because knights is not longer available for updates. Removed related documentation accordingly. * Added no stripping to the Makefile. * New standards version: 3.9.1 -- Oliver Korff Mon, 28 Mar 2011 13:32:15 +0200 fruit (2.1.dfsg-4) unstable; urgency=low * Updated standards version to 3.8.1 * Set debhelper recommendation to >=7.0.0 * Set compat level to 7 * Added Homepage field to control file * Removed dh_clean -k from rules and added dh_prep * Added suggest on knights for version >=0.6-8.2 -- Oliver Korff Sat, 06 Jun 2009 10:36:23 +0200 fruit (2.1.dfsg-3) unstable; urgency=low * Remove stripping of binarys (#Closes: 436875) * Changed standards version to 3.7.3 * Adjusted the format for the homepage in control -- Oliver Korff Wed, 06 Feb 2008 20:25:32 +0100 fruit (2.1.dfsg-2) unstable; urgency=low * remove unneccessary dependency on libstdc++.so.6 and libgcc1 -- Oliver Korff Sat, 20 Jan 2007 11:45:39 +0100 fruit (2.1.dfsg-1) unstable; urgency=low * removed crlf from documentation (closes: #334372) * changed version number back to the original numbering scheme * added the changes of the Non-maintainer upload -- Oliver Korff Thu, 25 May 2006 11:35:58 +0200 fruit (2.1.0.1dfsg-0.1) unstable; urgency=low * Non-maintainer upload * The package provided a binary without source, which broke the DFSG I had to repack the old orig.tar.gz and bumped the version number to 2.1.0.1dfsg. Upstream only uses the first two digits so there should never be a versioning problem. (Closes: #350033) -- Steffen Joeris Sat, 29 Apr 2006 16:12:42 +0200 fruit (2.1-2) unstable; urgency=low * added uudecode to build dependencys (closes: #332533) * small changes to the control file (closes: #332793) * corrected misspelling in manpage (closes: #332640) -- Oliver Korff Fri, 7 Oct 2005 19:40:10 +0200 fruit (2.1-1) unstable; urgency=low * Initial release (closes: #324677) * repack of the original source was neccessary, moved zip archive to tar, and renamed it * tried to be more descriptive in the description fields -- Oliver Korff Thu, 24 Aug 2005 21:17:24 +0200 debian/dirs0000644000000000000000000000004011631636014010045 0ustar usr/games usr/share/games/fruit debian/rules0000755000000000000000000000072111631632543010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --sourcedirectory=src debian/watch0000644000000000000000000000012711631634257010227 0ustar # There is no official update mechanism, that I can scan. # Oliver Korff debian/fruit.60000644000000000000000000000404111631634513010410 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .TH "FRUIT" "6" "June 30, 2005" "" "" .SH "NAME" fruit \- Fruit is a UCI\-only chess engine. .SH "SYNOPSIS" .B fruit .SH "DESCRIPTION" This manual page documents briefly the .B fruit program. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBFruit\fP is an UCI\-only chess engine. This distribution comes up with an opening book. Fruit and other UCI engines can be used with XBoard or WinBoard (or other xboard\-compatible interfaces) with the help of PolyGlot (UCI\-to\-xboard adapter). Another well known frontend is scid, which has a UCI capable interface. .SH "OPTIONS" These program does NOT follow the usual GNU command line syntax, but can be fed with options with a personal config file which can be read by the polyglot helper software. The author himself says "You are advised to skip this section unless you are completely crazy about computer chess." For a complete description of these UCI commands, see the readme files. .TP .SH "SEE ALSO" Further documentation in /usr/share/doc/fruit/readme.txt .SH "AUTHOR" fruit was written by Fabien Letouzey . The Sourcecode including binaries for several architectures can be found at: http://wbec\-ridderkerk.nl/html/details1/Fruit.html .PP This manual page was written by Oliver Korff , for the Debian project (but may be used by others). debian/README.Debian0000644000000000000000000000115711500132424011223 0ustar fruit for Debian ---------------- This Software is useful with a frontend to play with. Successfully tested is the current version of knights. This software implements the UCI standard and can only work with frontends which use this. You can find Information at: http://wbec-ridderkerk.nl/index.html http://www.tim-mann.org/chess.html. I am going to package the PolyGlot adapter soon, this is a connector between xboard compatible engines and UCI. Then the usage of fruit is possible with xboard and the well known scid chess database frontend. -- Oliver Korff , Thu, 30 Jun 2005 22:13:24 +0200 debian/control0000644000000000000000000000147711631632232010601 0ustar Source: fruit Section: games Priority: optional Maintainer: Oliver Korff Build-Depends: debhelper (>= 7.0.0) Standards-Version: 3.9.2 Homepage: http://wbec-ridderkerk.nl/html/details1/Fruit.html Package: fruit Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: scid, xboard Description: chess engine, to calculate chess moves This is a very strong chess engine, placed second in the 13th world computer chess championship 2005. It uses the UCI (universal chess interface), for chess engines as communication protocol. This means to play against it, you will have to use an UCI capable interface, like knights. This distribution comes with an opening book of moves that the engine can use for the first few moves of the game. This increases performance in the chess games opening. debian/source/0000755000000000000000000000000011631640131010462 5ustar debian/source/lintian-overrides0000644000000000000000000000015311631640131014042 0ustar # There will not be any upstream update with a minor version number fruit source: dfsg-version-with-period debian/source/format0000644000000000000000000000001411500133625011670 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211500132424010354 0ustar 7 debian/fruit.docs0000644000000000000000000000003411631635666011203 0ustar readme.txt technical_10.txt debian/fruit.install0000644000000000000000000000007511631635754011724 0ustar src/fruit /usr/games/ book_small.bin /usr/share/games/fruit/ debian/copyright0000644000000000000000000000056111500132424011113 0ustar This package was debianized by Oliver Korff on Thu, 30 Jun 2005 22:13:24 +0200. It was downloaded from http://wbec-ridderkerk.nl/ you need to go to the download area, no direct link. Copyright Holder: Fruit 2.1 Copyright 2004-2005 Fabien Letouzey Released under the terms of the GPL; see /usr/share/common-licenses/GPL. debian/patches/0000755000000000000000000000000011501361156010614 5ustar debian/patches/01-simple_go.patch0000644000000000000000000000332311501361156014032 0ustar Description: Fruit does not calculate a move to make because it expects the go command to have arguments, e.g. 'go wtime 30000'. This is because it looks for a string starting with "go " instead of just "go". If that change is made it appears to just do an infinite search. I've attached a patch that allows the simple go command and searches to depth 5 if no arguments are passed to go. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/fruit/+bug/74764 Author: Robert Ancell, robert.ancell@canonical.com Index: fruit-2.1.dfsg-1.orig/src/protocol.cpp =================================================================== --- fruit-2.1.dfsg-1.orig.orig/src/protocol.cpp 2010-12-09 12:34:30.000000000 +0100 +++ fruit-2.1.dfsg-1.orig/src/protocol.cpp 2010-12-13 09:49:11.000000000 +0100 @@ -129,7 +129,7 @@ // dummy - } else if (string_start_with(string,"go ")) { + } else if (string_start_with(string,"go")) { if (!Searching && !Delay) { init(); @@ -230,7 +230,7 @@ const char * ptr; bool infinite, ponder; - int depth, mate, movestogo; + int depth, mate, movestogo, arg_count; sint64 nodes; double binc, btime, movetime, winc, wtime; double time, inc; @@ -257,7 +257,10 @@ ptr = strtok(string," "); // skip "go" + arg_count = 0; for (ptr = strtok(NULL," "); ptr != NULL; ptr = strtok(NULL," ")) { + arg_count++; + if (false) { @@ -344,9 +347,16 @@ wtime = double(atoi(ptr)) / 1000.0; ASSERT(wtime>=0.0); - } + } else + arg_count--; } + + // If no arguments default to search depth 5 + if (arg_count == 0) + depth = 5; + + // init search_clear(); debian/patches/01-makefile.patch0000644000000000000000000000101111501360625013621 0ustar Description: No stripping in debian Author: Oliver Korff Index: fruit-2.1.dfsg-1.orig/src/Makefile =================================================================== --- fruit-2.1.dfsg-1.orig.orig/src/Makefile 2010-12-09 12:17:16.000000000 +0100 +++ fruit-2.1.dfsg-1.orig/src/Makefile 2010-12-09 12:18:09.000000000 +0100 @@ -33,8 +33,8 @@ # CXXFLAGS += -march=athlon-xp # SELECT ME # strip - -LDFLAGS += -s +# Added by ok: We strip by debhelper scripts! +# LDFLAGS += -s # dependencies debian/patches/series0000644000000000000000000000004511500137175012031 0ustar 01-makefile.patch 01-simple_go.patch debian/clean0000644000000000000000000000001211500136034010155 0ustar src/fruit debian/fruit.manpages0000644000000000000000000000001711631632716012040 0ustar debian/fruit.6