--- yics-0.1.2.orig/ytoics-c/command.c +++ yics-0.1.2/ytoics-c/command.c @@ -1457,7 +1457,7 @@ ginc++; } else { printf("%3d. %-8s(%s)%*s", ginc, current->move.alg, - timeTaken, ms - strlen(timeTaken), ""); + timeTaken, ms - (int) strlen(timeTaken), ""); gtime = 1; } current = current->next; --- yics-0.1.2.orig/debian/changelog +++ yics-0.1.2/debian/changelog @@ -0,0 +1,20 @@ +yics (0.1.2-3) unstable; urgency=low + + * command.c assumed that sizeof(int) == sizeof(size_t), now it casts the + size_t to int for various architectures where this is not the case. (This + patch will be implemented upstream too.) + + -- Chris Howie Mon, 20 Feb 2006 12:22:06 -0500 + +yics (0.1.2-2) unstable; urgency=low + + * Compiles with -fsigned-char for arm, ppc, and s390 arches. Closes: #353714 + + -- Chris Howie Mon, 20 Feb 2006 09:13:27 -0500 + +yics (0.1.2-1) unstable; urgency=low + + * Initial release Closes: #347474 + + -- Chris Howie Sun, 8 Jan 2006 20:01:10 -0500 + --- yics-0.1.2.orig/debian/compat +++ yics-0.1.2/debian/compat @@ -0,0 +1 @@ +4 --- yics-0.1.2.orig/debian/docs +++ yics-0.1.2/debian/docs @@ -0,0 +1 @@ +readme.txt --- yics-0.1.2.orig/debian/dirs +++ yics-0.1.2/debian/dirs @@ -0,0 +1 @@ +usr/games --- yics-0.1.2.orig/debian/control +++ yics-0.1.2/debian/control @@ -0,0 +1,23 @@ +Source: yics +Section: games +Priority: optional +Maintainer: Chris Howie +Build-Depends: debhelper (>= 4.0.0), pmake +Standards-Version: 3.6.2 + +Package: yics +Architecture: any +Depends: ${shlibs:Depends} +Suggests: xboard | eboard +Description: Yahoo! Chess client for use with FICS interfaces + This program connects to any of the free Yahoo! Chess lobbies and pretends to + be a FICS server, allowing many of the free FICS interfaces to be used on + Yahoo! Chess. YICS can be thought of as a protocol translator or adapter: the + binary Yahoo! Games protocol goes in one end and the FICS server protocol + comes out the other, and vice-versa. + . + YICS was tested the most with xboard, and works quite well with it. If you + prefer, you can use YICS without any graphical interface just as you can + telnet to FICS. + . + Homepage: http://www.yics.org --- yics-0.1.2.orig/debian/rules +++ yics-0.1.2/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +CFLAGS = -Wall -g -fsigned-char +MAKER = $(MAKE) -C ytoics-c -f Makefile.linux + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + # Without -finline-functions yics segfaults shortly after login. + # According to gdb, it looks like gcc is fscking with the stack; a + # pointer passed to one function mysteriously changes to a random + # address when passed from that function to another function, even + # though the pointer has not been modified. I intend to file a bug + # against gcc at some point. + # + # So basically it does the right thing when inlining but introduces + # very weird problems when it doesn't inline. Why? + CFLAGS += -O2 -finline-functions +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKER) CFLAGS='$(CFLAGS)' CC=gcc + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + touch ytoics-c/.depend + -$(MAKER) clean + -rm -f ytoics-c/yics + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -d $(CURDIR)/debian/yics/usr/games + install ytoics-c/yics $(CURDIR)/debian/yics/usr/games + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman debian/yics.6 + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- yics-0.1.2.orig/debian/yics.6 +++ yics-0.1.2/debian/yics.6 @@ -0,0 +1,52 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH yics 6 "03 Feb 2006" +.\" 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) +.SH NAME +yics \- Yahoo! Chess client for use with FICS interfaces +.SH SYNOPSIS +.B yics [ -l \fIlogfile\fP ] +.br +.SH DESCRIPTION +YICS connects to the free Yahoo! Chess lobbies and emulates a FICS server. It +can be used with most FICS interfaces (\fBxboard(6)\fP, for example) to play on +Yahoo! Chess. +.PP +.SH OPTIONS +YICS currently accepts only one option: +.TP +.B -l \fIlogfile\fP +Saves a connection log (excluding login information) to \fIlogfile\fP, which +can be attached to a bug report if requested by the author. +.SH COMMAND REFERENCE +A reference of commands, and other useful documentation, may be found on the +YICS wiki: \fB\fP. +.SH YICS AS A HELPER PROGRAM +YICS was designed to be used as a helper program with FICS interfaces. With +xboard the use is fairly straightforward: + + xboard -ics -icshost Yahoo -icshelper yics + +Note that the parameter to \fI-icshost\fP has no effect, aside from setting the +xboard title. eboard is a little tricky, but can be done: + + ln -s $(which yics) timeseal.$(uname -s) ; eboard + +Choose "\fBPeer > Connect to FICS\fP" in eboard to connect. +.SH SEE ALSO +.BR xboard (6). +.SH AUTHOR +YICS was written by Chris Howie . +.PP +This manual page was written by Chris Howie , +for the Debian project (but may be used by others). --- yics-0.1.2.orig/debian/copyright +++ yics-0.1.2/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Chris Howie on +Sun, 8 Jan 2006 20:01:10 -0500. + +It was downloaded from the project website, http://www.yics.org + +Copyright 2005 Chris Howie + +License: + +This program 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 program 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, write to the Free Software Foundation, Inc., 51 Franklin +St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public License, version +2, can be found in /usr/share/common-licenses/GPL-2.