--- jpoker-1.0.16.orig/debian/README.Debian +++ jpoker-1.0.16/debian/README.Debian @@ -0,0 +1,18 @@ +jpoker for Debian +----------------- + +Jpoker requires access to a poker server in order to work. The poker +server is provided by the python-poker-network package. By default the +URL points to http://pokersource.eu/POKER_REST, it can be changed +in /etc/jpoker.conf. + +On first installation the jpoker software is autmatically enabled using + a2ensite jpoker + +You can use the above command in order to enable it again. + +If you want to disable it you can run + a2dissite jpoker + + -- Loic Dachary (OuoU) , Sat, 16 Aug 2008 03:26:30 +0200 + -- Ola Lundqvist , Mon, 28 Jan 2008 20:08:06 +0100 --- jpoker-1.0.16.orig/debian/apache2/conf.d/jpoker +++ jpoker-1.0.16/debian/apache2/conf.d/jpoker @@ -0,0 +1,9 @@ + + # + # The poker server does not honor KeepAlive and the + # proxy must be set accordingly, otherwise it will + # sometime return 502 errors. + # + SetEnv force-proxy-request-1.0 1 + SetEnv proxy-nokeepalive 1 + --- jpoker-1.0.16.orig/debian/apache2/sites-available/jpoker.conf +++ jpoker-1.0.16/debian/apache2/sites-available/jpoker.conf @@ -0,0 +1,9 @@ +Alias /jpoker /usr/share/jpoker +ProxyRequests Off + + Order deny,allow + Allow from all + +ProxyPass /POKER_REST http://pokersource.eu/POKER_REST retry=1 +ProxyPass /AVATAR http://pokersource.eu/AVATAR retry=1 +ProxyPass /UPLOAD http://pokersource.eu/UPLOAD retry=1 --- jpoker-1.0.16.orig/debian/changelog +++ jpoker-1.0.16/debian/changelog @@ -0,0 +1,112 @@ +jpoker (1.0.16-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Stop hard-coding ruby1.8. (Closes: #735468) + * Remove dependency on obsolete rubygems (Closes: #735666) + * Rename apache2 site file to fix 'a2ensite jpoker' in postinst. + + -- Christian Hofstaedtler Thu, 13 Feb 2014 03:13:06 +0100 + +jpoker (1.0.16-2.1) unstable; urgency=high + + * Non-maintainer upload + * Add 02-add-extension-rb-to-gem_bin_tiddlywiki_cp.patch + + adds a .rb extension to a loaded file to fix FTBFS (Closes: #628320) + * Add a debian/watch file + * Depend on ruby1.8 instead of ruby, as ruby1.9.1 has no ftools.rb + * Set urgency to “high” for the RC bug fix. + + -- Cédric Boutillier Fri, 17 Feb 2012 18:34:43 +0100 + +jpoker (1.0.16-2) unstable; urgency=low + + * wav2swf is obsolete, replace with ming based converter (Closes: #591960) + + -- Loic Dachary (OuoU) Tue, 14 Sep 2010 09:35:25 +0200 + +jpoker (1.0.16-1) unstable; urgency=low + + * New upstream version + * Fix debhelper-but-no-misc-depends + + -- Johan Euphrosine (proppy) Tue, 05 May 2009 18:13:57 +0200 + +jpoker (1.0.15-1) unstable; urgency=low + + * New upstream version. + * tiddlywiki_cp is shipped as part of the sources (Closes: #477027). + + -- Loic Dachary (OuoU) Sun, 12 Apr 2009 17:30:28 +0200 + +jpoker (1.0.14-1) unstable; urgency=low + + * New upstream version. + + -- Loic Dachary (OuoU) Thu, 29 May 2008 14:16:16 +0200 + +jpoker (1.0.13-1) unstable; urgency=low + + * New upstream version. + + -- Loic Dachary (OuoU) Fri, 09 May 2008 19:50:35 +0200 + +jpoker (1.0.12-1) unstable; urgency=low + + * New upstream version. + + -- Loic Dachary (OuoU) Wed, 16 Apr 2008 23:25:59 +0200 + +jpoker (1.0.11-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Tue, 08 Apr 2008 00:21:07 +0200 + +jpoker (1.0.10-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Sat, 05 Apr 2008 12:38:34 +0200 + +jpoker (1.0.9-1) unstable; urgency=low + + * New upstream version + + -- Loic Dachary (OuoU) Tue, 25 Mar 2008 21:41:54 +0000 + +jpoker (1.0.8-1) unstable; urgency=low + + * New upstream version + * Run rhino test at post-build + * Update packaging licensing to GPLv3+ + * Add ProxyPass to jspoker.pokersource.info + * Enable jpoker site when upgrading + + -- Johan Euphrosine (proppy) Thu, 13 Mar 2008 10:26:07 +0000 + +jpoker (1.0.7-1) unstable; urgency=low + + * New upstream release. + * Now url for the server is configurable in /etc/jpoker.conf + * Recommend of python-poker-network changed to suggests. + * Added Ola to the uploaders list. + * Added a README.Debian document to document the installation instructions. + * Modified the postinst and postrm scripts to work better and also to + honor disabled site configuration. + * Split the apache configuration file to an alias part and a generic part. + * Corrected the copyright file to show all copyright holders and the fact + that some files are licensed under both GPL and MIT licenses. + + -- Ola Lundqvist Sun, 27 Jan 2008 09:39:21 +0100 + +jpoker (1.0.6-1) unstable; urgency=low + + * New upstream version. + + -- Johan Euphrosine (proppy) Tue, 27 Nov 2007 09:38:59 +0000 + +jpoker (1.0.5-1) unstable; urgency=low + + * Initial release. (Closes: #450897) + + -- Johan Euphrosine (proppy) Tue, 6 Nov 2007 14:51:58 +0000 --- jpoker-1.0.16.orig/debian/compat +++ jpoker-1.0.16/debian/compat @@ -0,0 +1 @@ +4 --- jpoker-1.0.16.orig/debian/control +++ jpoker-1.0.16/debian/control @@ -0,0 +1,23 @@ +Source: jpoker +Maintainer: Loic Dachary (OuoU) +Uploaders: Ola Lundqvist , Johan Euphrosine (proppy) +Section: web +Priority: optional +Standards-Version: 3.8.1 +Build-Depends: debhelper (>= 5), cdbs, gettext, python, python-simplejson, python-libxml2, tidy, ruby, wget, inkscape, libming-dev, vorbis-tools + +Package: jpoker +Architecture: all +Depends: ${misc:Depends}, apache2 +Suggests: python-poker-network +Description: javascript online poker client + http://jspoker.pokersource.info/jpoker/ is a javascript client for + playing online poker. It displays the list of poker tables and when + the user choses one, it is displayed in the browser. The user can + join the game and play hands. It supports multi table + tournaments. The poker server to which jpoker connects must implement + a protocol compatible with + http://pokersource.info/poker-network/. jpoker user interface is + based on http://tiddlywiki.com/. However the underlying + http://jquery.com/ based library is independent and can be used to + implement alternate look and feel. --- jpoker-1.0.16.orig/debian/copyright +++ jpoker-1.0.16/debian/copyright @@ -0,0 +1,182 @@ +This package was debianized by Johan Euphrosine +Thu, 25 Oct 2007 01:35:05 +0200 + +It was downloaded from http://jpoker.aminche.com/ + +Upstream Authors: + Johan Euphrosine + Loic Dachary + Saq Imtiaz + +This package consists of files from different sources and with different +copyright and license. All files are under a GPLv3+ compatible license. +The license or reference to license can be seen below. + +On Debian systems, the complete text of the GNU General +Public License v3 can be found in `/usr/share/common-licenses/GPL-3'. + +Copyright for all files not mentionned below: + + (c) 2008 Loic Dachary + (c) 2008 Johan Euphrosine + (c) 2008 Saq Imtiaz + Licensed under GPLv3+ + +Copyright for: + mo2json.py jpoker/jquery.gettext.js jpoker/jquery.printf.js + + (c) 2008 Sabin Iacob (m0n5t3r) + Licensed under GPLv3+ + +Copyright for: + jpoker/jquery.js jpoker/jquery.ajaxQueue.js + + (c) 2007 John Resig (jquery.com) + Licensed under MIT + +Copyright for: + jpoker/jquery.tablesorter.js + + (c) 2007 Christian Bach + Licensed under MIT + +Copyright for: + tiddlywiki as found in jpoker/poker.html + + (c) UnaMesa Association 2004-2007 + Licensed under Modified BSD + +Copyright for: + jpoker/index-fr/FrenchTranslationPlugin.tiddler + + (c) 2008 ocalTW@gmail.com + Creative Commons Attribution-ShareAlike 3.0 + +Copyright for: + jpoker/index/404Plugin.js + jpoker/index/ActiveMenuLinksPlugin.js + jpoker/index/PublisherPluginBeta.js + jpoker/index/SplashScreenPlugin.js + jpoker/index/TiddlerSubtitleTweak.js + jpoker/index/TiddlyLightBoxPlugin.js + + (c) 2006, 2007, 2008 Saq Imtiaz + Creative Commons Attribution-ShareAlike 3.0 + GPLv3+ + +Copyright for: + jpoker/index/WebDavPlugin.js + + (c) 2007, 2008 Saq Imtiaz + Loic Dachary + Creative Commons Attribution-ShareAlike 3.0 + GPLv3+ + +Copyright for: + jpoker/index/GenerateRssByTagPlugin.js + + (c) 2007 BidiX@bidix.info + Licensed under Modified BSD + + +--------------------------------------- + + + 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 3 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, see . + +On Debian systems, the complete text of the GNU General +Public License v3 can be found in `/usr/share/common-licenses/GPL-3'. + +--------------------------------------- + +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. + +--------------------------------------- + +TiddlyWiki created by Jeremy Ruston, (jeremy [at] osmosoft [dot] com) + +Copyright (c) UnaMesa Association 2004-2007 + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +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. + +Neither the name of the UnaMesa Association nor the names of its contributors may be +used to endorse or promote products derived from this software without specific +prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, 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 OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +--------------------------------------- + +Copyright (c) 2005-2008, BidiX (http://BidiX.info) + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * 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. + + * Neither the name of BidiX nor the names of its contributors may + be used to endorse or promote products derived from this + software without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, 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 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- jpoker-1.0.16.orig/debian/jpoker.install +++ jpoker-1.0.16/debian/jpoker.install @@ -0,0 +1,2 @@ +debian/apache2/conf.d/jpoker etc/apache2/conf.d +debian/apache2/sites-available/jpoker.conf etc/apache2/sites-available --- jpoker-1.0.16.orig/debian/jpoker.links +++ jpoker-1.0.16/debian/jpoker.links @@ -0,0 +1 @@ +/etc/apache2/sites-available/jpoker.conf etc/jpoker.conf --- jpoker-1.0.16.orig/debian/jpoker.postinst +++ jpoker-1.0.16/debian/jpoker.postinst @@ -0,0 +1,19 @@ +#!/bin/bash +set -e + +# If the option is configure then enable the site configuration. +if [ "$1" = "configure" ] ; then + if [ -x "$(which a2ensite)" ] ; then + a2ensite jpoker || true + fi + if [ -x "$(which a2enmod)" ] ; then + a2enmod proxy_http + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- jpoker-1.0.16.orig/debian/jpoker.postrm +++ jpoker-1.0.16/debian/jpoker.postrm @@ -0,0 +1,11 @@ +#!/bin/bash +set -e + +a2dissite jpoker || true + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- jpoker-1.0.16.orig/debian/jpoker.prerm +++ jpoker-1.0.16/debian/jpoker.prerm @@ -0,0 +1,15 @@ +#!/bin/bash +set -e + +if [ "$1" = "remove" ] ; then + if [ -x "$(which a2dissite)" ] ; then + a2dissite jpoker || true + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- jpoker-1.0.16.orig/debian/patches/01-use-soundswiff.patch +++ jpoker-1.0.16/debian/patches/01-use-soundswiff.patch @@ -0,0 +1,32 @@ +diff -r b31a6f8c8bf6 Makefile +--- a/Makefile Tue Sep 14 16:52:45 2010 +0200 ++++ b/Makefile Tue Sep 14 16:59:34 2010 +0200 +@@ -54,7 +54,7 @@ + cp -a jpoker/*.swf jpoker-binary-${VERSION} + cp -a jpoker-opensocial.xml jpoker-binary-${VERSION} + +-build: i18n cook mockup check ++build: i18n cook mockup sound check + -cd jpoker ; x-www-browser index.html || true + + sound: +diff -r b31a6f8c8bf6 sound/Makefile +--- a/sound/Makefile Tue Sep 14 16:52:45 2010 +0200 ++++ b/sound/Makefile Tue Sep 14 16:59:34 2010 +0200 +@@ -28,7 +28,7 @@ + SWFS = $(SOUNDS:.ogg=.swf) + WAVS = $(SOUNDS:.ogg=.wav) + +-build : $(SWFS) $(WAVS) ++build : soundswiff $(SWFS) $(WAVS) + cp *.swf ../jpoker + + clean: +@@ -45,5 +45,5 @@ + oggdec $< + + %.swf : %.wav +-# ./soundswiff $< $@ +- wav2swf --samplerate $(shell file $< | perl -n -e '/(\d+)\sHz/; print $$1;') --output $@ --definesound $< ++ ./soundswiff $< $@ ++# wav2swf --samplerate $(shell file $< | perl -n -e '/(\d+)\sHz/; print $$1;') --output $@ --definesound $< --- jpoker-1.0.16.orig/debian/patches/02-add-extension-rb-to-gem_bin_tiddlywiki_cp.patch +++ jpoker-1.0.16/debian/patches/02-add-extension-rb-to-gem_bin_tiddlywiki_cp.patch @@ -0,0 +1,9 @@ +diff -Nur -x '*.orig' -x '*~' jpoker-1.0.16/gems/bin/tiddlywiki_cp jpoker-1.0.16.new/gems/bin/tiddlywiki_cp +--- jpoker-1.0.16/gems/bin/tiddlywiki_cp 2009-06-22 09:04:56.000000000 +0200 ++++ jpoker-1.0.16.new/gems/bin/tiddlywiki_cp 2012-02-17 18:03:25.662932292 +0100 +@@ -16,4 +16,4 @@ + end + + gem 'tiddlywiki_cp', version +-load 'tiddlywiki_cp' ++load 'tiddlywiki_cp.rb' --- jpoker-1.0.16.orig/debian/patches/03-ruvy-version.patch +++ jpoker-1.0.16/debian/patches/03-ruvy-version.patch @@ -0,0 +1,20 @@ +Index: jpoker-1.0.16/gems/bin/tiddlywiki_cp +=================================================================== +--- jpoker-1.0.16.orig/gems/bin/tiddlywiki_cp 2009-06-22 09:04:56.000000000 +0200 ++++ jpoker-1.0.16/gems/bin/tiddlywiki_cp 2014-02-13 03:11:50.426090933 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/ruby1.8 ++#!/usr/bin/ruby + # + # This file was generated by RubyGems. + # +Index: jpoker-1.0.16/getcss.rb +=================================================================== +--- jpoker-1.0.16.orig/getcss.rb 2008-09-20 14:39:45.000000000 +0200 ++++ jpoker-1.0.16/getcss.rb 2014-02-13 03:12:30.625692143 +0100 +@@ -1,4 +1,4 @@ +-require 'ftools' ++require 'fileutils' + require 'uri' + require 'optparse' + require 'ostruct' --- jpoker-1.0.16.orig/debian/rules +++ jpoker-1.0.16/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_MAKE_BUILD_TARGET=build +DEB_MAKE_INSTALL_TARGET=install DESTDIR=${DEB_DESTDIR} +DEB_MAKE_CLEAN_TARGET=maintainer-clean --- jpoker-1.0.16.orig/debian/watch +++ jpoker-1.0.16/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://jspoker.pokersource.info/sources/jpoker-(.*).tar.gz