debian/0000755000000000000000000000000011721427706007175 5ustar debian/holdingnuts-server.docs0000644000000000000000000000005211562205077013704 0ustar docs/algorithm.txt docs/protocol_spec.txt debian/README.source0000644000000000000000000000042711562205077011355 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. For details about how to use quilt read /usr/share/doc/quilt/README.source from the quilt package. debian/source/0000755000000000000000000000000011562205146010470 5ustar debian/source/format0000644000000000000000000000001411562205077011701 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000115511721427053010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,defs # builddirectory constructed by dh BDIR = "obj-$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)" %: dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- -DCMAKE_DATA_PATH=/usr/share/games \ -DCMAKE_SKIP_RPATH=ON override_dh_auto_install: $(MAKE) -C $(BDIR)/src/client DESTDIR=$(CURDIR)/debian/holdingnuts install $(MAKE) -C $(BDIR)/src/server DESTDIR=$(CURDIR)/debian/holdingnuts-server install debian/compat0000644000000000000000000000000211721427055010370 0ustar 9 debian/holdingnuts.manpages0000644000000000000000000000002311562205077013241 0ustar docs/holdingnuts.6 debian/control0000644000000000000000000000224111721427461010575 0ustar Source: holdingnuts Section: games Priority: extra Maintainer: Jan Hauke Rahm Build-Depends: debhelper (>= 9), cmake, qt4-qmake, libqt4-dev, libsdl-dev Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/collab-maint/holdingnuts.git Vcs-Browser: http://git.debian.org/?p=collab-maint/holdingnuts.git;a=summary Homepage: http://www.holdingnuts.net Package: holdingnuts Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: holdingnuts-server Description: poker client HoldingNuts is an open source multi-platform poker client and server. You can play the popular Texas Hold'em variant with people all over the world, meet your friends, run your own games and even setup your own poker network. . This package provides the client. Package: holdingnuts-server Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: holdingnuts Description: poker server HoldingNuts is an open source multi-platform poker client and server. You can play the popular Texas Hold'em variant with people all over the world, meet your friends, run your own games and even setup your own poker network. . This package provides the server. debian/watch0000644000000000000000000000145211562205077010226 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # #http://www.example.com/downloads.php holdingnuts-(.*)\.tar\.gz # Uncomment to examine a Webserver directory #http://www.example.com/pub/holdingnuts-(.*)\.tar\.gz # Uncommment to examine a FTP server #ftp://ftp.example.com/pub/holdingnuts-(.*)\.tar\.gz debian uupdate # Uncomment to find new files on sourceforge, for devscripts >= 2.9 http://sf.net/holdingnuts/holdingnuts-([0-9\.]+)\.tar\.bz2 # Uncomment to find new files on GooglePages # http://example.googlepages.com/foo.html holdingnuts-(.*)\.tar\.gz debian/README.Debian0000644000000000000000000000161211562205077011234 0ustar holdingnuts (0.0.4-1) unstable; urgency=low This version is unfortunately not fully compatible to prior versions. That means it is highly recommended to update both client and server for all participants at the same time. Unfortunately upstream cannot promise backwards compatibility for any new versions in the near future. It is highly expected that even the communication protocol between server and client will change heavily. For now it is unclear which version will include the final protocol. -- Jan Hauke Rahm Thu, 04 Jun 2009 00:26:22 +0200 holdingnuts (0.0.3-1) unstable; urgency=low The server comes as a binary in /usr/games and is not capable of being run in daemon mode. You probably want to start it in a screen session (see screen(1)) or push it into the background. -- Jan Hauke Rahm Sat, 09 May 2009 12:08:07 +0200 debian/patches/0000755000000000000000000000000011562205403010613 5ustar debian/patches/fhs-compliance0000644000000000000000000000204711562205077013440 0ustar Description: Use FHS compliant paths by default Upstream is not interested in switching to those paths. . But we will continue using them in Debian nevertheless to comply with our policy. Author: Jan Hauke Rahm Last-Update: 2009-10-17 Index: holdingnuts/src/client/CMakeLists.txt =================================================================== --- holdingnuts.orig/src/client/CMakeLists.txt +++ holdingnuts/src/client/CMakeLists.txt @@ -78,7 +78,7 @@ ) INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/holdingnuts DESTINATION - ${CMAKE_INSTALL_PREFIX}/bin) + ${CMAKE_INSTALL_PREFIX}/games) ############################################################ Index: holdingnuts/src/server/CMakeLists.txt =================================================================== --- holdingnuts.orig/src/server/CMakeLists.txt +++ holdingnuts/src/server/CMakeLists.txt @@ -39,4 +39,4 @@ ) INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/holdingnuts-server DESTINATION - ${CMAKE_INSTALL_PREFIX}/bin) + ${CMAKE_INSTALL_PREFIX}/games) debian/patches/straight-flush-suite0000644000000000000000000000107411562205077014642 0ustar Description: fixed gamelogic bug with wheel-straight: check suit of ace if testing for straight-flush Origin: http://sourceforge.net/apps/trac/holdingnuts/changeset/741 --- a/src/libpoker/GameLogic.cpp +++ b/src/libpoker/GameLogic.cpp @@ -179,7 +179,11 @@ // is an A2345-straight ("wheel") if (count == 4 && (last_face == Card::Two && allcards->front().getFace() == Card::Ace)) - is_straight = true; + { + // check suit when testing for StraightFlush + if (suit == -1 || allcards->front().getSuit() == suit) + is_straight = true; + } if (is_straight) { debian/patches/series0000644000000000000000000000004411562205377012040 0ustar fhs-compliance straight-flush-suite debian/copyright0000644000000000000000000000210011562205077011117 0ustar Upstream-Name: HoldingNuts Upstream-Source: http://www.holdingnuts.net/download Files: * Copyright: Copyright 2008-2009, Dominik Geyer License: GPL-3+ Files: debian/* Copyright: Copyright 2009, Jan Hauke Rahm License: GPL-3+ 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 3 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 package; 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 3 can be found in `/usr/share/common-licenses/GPL-3'. debian/holdingnuts.install0000644000000000000000000000021511562205077013117 0ustar holdingnuts.png usr/share/games/holdingnuts/ holdingnuts.png usr/share/icons/hicolor/64x64/apps/ holdingnuts.desktop usr/share/applications/ debian/changelog0000644000000000000000000000525711721427651011057 0ustar holdingnuts (0.0.5-4) unstable; urgency=low * [92a4358b] Migrated from subversion to git on collab-maint * [a8ffc154] Leave patches unapplied locally * [e025b415] Switch to dh9, link --as-needed, build with hardening flags * [cab89346] Bump Standards-Version to 3.9.3 -- Jan Hauke Rahm Thu, 23 Feb 2012 13:22:37 +0100 holdingnuts (0.0.5-3) unstable; urgency=low * Let debhelper deal with parallel building * Take patch from upstream to fix a bug when calculating straight flushes * Bumped Standards-Version: 3.8.4 -- Jan Hauke Rahm Fri, 05 Mar 2010 14:21:24 +0100 holdingnuts (0.0.5-2) unstable; urgency=low * Reworked build system using dh's cmake capabilities * Suggest client for server and the other way round * Bumped Standards-Version: 3.8.3 * Use DEP3 header for patches * Use source format 3.0 (quilt) -- Jan Hauke Rahm Sun, 29 Nov 2009 10:43:04 +0100 holdingnuts (0.0.5-1) unstable; urgency=low * New upstream release + new translations: Russian, Italian + update display of pot after each bet: - summarize all pots and bets instead of showing single pots - detailed information about the pot is shown as tooltip window + workaround: set encoding to UTF-8; allows localized chat + improved re-connect feature (re-initialization on new round) + several bugfixes * debian/rules: use debhelper overrides as provided by debhelper >= 7.0.50 * Bumped standards-version to 3.8.2: no changes -- Jan Hauke Rahm Fri, 26 Jun 2009 22:23:25 +0200 holdingnuts (0.0.4-1) unstable; urgency=low * New upstream release ** Note that both client and server are not compatible to prior versions + new option: bring table-window to top + new translation: Japanese + new option: display time in foyer chat + new option: several verbosity levels for chat/log messages + support for restart-games (games which restart after they ended) + fixed client problem with bet-actions appearing + a second time after action was performed + when no more action was possible (e.g. all others allin) + added command-line option for specifying alternative config-directory (this allows multiple server/client instances with independent config) + provide simple man-pages (which are used instead of those of the last Debian release) * debian/rules: support DEB_BUILD_OPTIONS * debian/patches: be FHS compliant -- Jan Hauke Rahm Thu, 04 Jun 2009 00:34:27 +0200 holdingnuts (0.0.3-1) unstable; urgency=low * Initial release (Closes: #525841) -- Jan Hauke Rahm Wed, 13 May 2009 09:43:51 +0200 debian/holdingnuts-server.manpages0000644000000000000000000000003211562205077014545 0ustar docs/holdingnuts-server.6