You are not logged in.

#1 2006-12-27 14:14:45

Gweg
Member
Registered: 2006-02-27
Posts: 77

Request : pok3d

Do you like poker ?
Do you want to play in 3D ?

This project is for you !

On freshmeat : http://freshmeat.net/projects/poker3d/

Official website : https://www.pok3d.com


Great, isn't it ?


Voodoo voodoo, VOOODOOOO ?

Offline

#2 2006-12-27 15:21:34

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

+1

Offline

#3 2006-12-27 19:17:31

ro0x
Member
From: Santiago, Chile
Registered: 2004-06-20
Posts: 79

Re: Request : pok3d

+1

Offline

#4 2006-12-27 19:32:57

ro0x
Member
From: Santiago, Chile
Registered: 2004-06-20
Posts: 79

Re: Request : pok3d

where is the source?

Offline

#5 2006-12-27 21:03:25

martti1
Member
Registered: 2006-10-14
Posts: 38

Re: Request : pok3d

ro0x wrote:

where is the source?

There's sources here, but they're in debian and fedora, I wonder if there's any difference between the sources, same version.


Linux user #438799

Offline

#6 2006-12-28 01:35:33

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

Offline

#7 2007-01-11 17:12:58

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

up

Offline

#8 2007-03-10 18:56:25

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Re: Request : pok3d

I think I got everything correct. The only non-GPL below is poker3d-data which contains the artwork for Pok3d.

NOTE: By default it connects to localhost, but if you want to connect to the pok3d server you have to change the line "<servers>localhost:19380</servers>" to "<servers>poker.pok3d.com:19380</servers>" in ~/.poker3d/poker3d.xml

EDIT 1: added freealut to depends line on openalpp PKGBUILD, thank you cougar smile

EDIT 2: Needed a modified version of openscenegraph which I called openscenegraph-uw to fix some errors. It provides openscenegraph, openproducer, and openthreads that were modified by underware. The following needs to be rebuilt after compiling openscenegraph-uw: openalpp, osgal, osgcal, poker3d. Source is licensed under openscenegraph public license which is basically LGPL + wxwindows exception.

EDIT 3: Ran all packages and PKGBUILDS with namcap and also included custom licenses. Renamed poker3d-data to pok3d-data and removed poker3d's dependency on it.

poker-eval

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=poker-eval
pkgver=134.0
pkgrel=1
pkgdesc="C library used to evaluate poker hands"
url="http://gna.org/projects/pokersource/"
license=('GPL')
arch=('i686')
depends=('glibc')
makedepends=('pkgconfig')
options=(NOLIBTOOL)
source=(http://download.gna.org/pokersource/pokersource/gnulinux/debian/unstable/src/poker-eval_$pkgver.orig.tar.gz)
md5sums=('aa6d39fd3b9025fb47f25009cde60d9b')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

pypoker-eval

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=pypoker-eval
pkgver=134.0
pkgrel=1
pkgdesc="Python adapter for poker-eval which is used to evaluate poker hands."
url="http://gna.org/projects/pokersource/"
license=('GPL')
arch=('i686')
depends=('poker-eval')
makedepends=(pkgconfig)
options=(NOLIBTOOL)
source=(http://download.gna.org/pokersource/pokersource/gnulinux/debian/unstable/src/pypoker-eval_$pkgver.orig.tar.gz)
md5sums=('fe2f62a7b4edef85dd36114b2fac6299')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

poker-engine

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=poker-engine
pkgver=1.0.24
pkgrel=1
pkgdesc="Python library used to implement poker and betting rules"
url="http://gna.org/projects/pokersource/"
license=('GPL')
arch=('i686')
depends=('pypoker-eval' 'pyxml' 'libxslt')
makedepends=('rsync' 'pkgconfig')
source=(http://download.gna.org/pokersource/sources/$pkgname-$pkgver.tar.gz)
md5sums=('1acc6510cdd0f9c25de596db2187b23a')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=$startdir/pkg install
  chmod 755 $startdir/pkg/etc/poker-engine/
  rm -r $startdir/pkg/usr/share/poker-engine/upgrades
}

poker-network

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=poker-network
pkgver=1.0.36
pkgrel=1
pkgdesc="Provides a poker server and client for use over a network."
url="http://gna.org/projects/pokersource/"
license=('GPL')
arch=('i686')
depends=('libglade' 'twisted' 'mysql-python' 'pygtk' 'pyopenssl' \
'python-soappy' 'python-pygame' 'poker-engine')
makedepends=('pkgconfig')
options=(NOLIBTOOL)
source=(http://download.gna.org/pokersource/sources/$pkgname-$pkgver.tar.gz)
md5sums=('324583b835b6d9d54a8fc3f3fe273d5d')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  sed -i 's/gamesdir\ =\ \${prefix}\/games/gamesdir\ =\ \${prefix}\/bin/' \
  $startdir/src/$pkgname-$pkgver/pokerclient2d/Makefile
  sed -i 's/Exec=\/usr\/games\/poker2d/Exec=\/usr\/bin\/poker2d/' \
  $startdir/src/$pkgname-$pkgver/pokerclient2d/python-poker2d.desktop
  make || return 1
  make DESTDIR=$startdir/pkg install
}

openscenegraph-uw

PKGBUILD:

# Contributor: William Rea <sillywilly@gmail.com>
pkgname=openscenegraph-uw
pkgver=1.2.0
pkgrel=1
pkgdesc="An Open Source, high performance real-time graphics toolkit modified by Underware"
url="http://www.openscenegraph.org"
arch=('i686')
license=("LGPL" "custom")
depends=('libtiff' 'libpng' 'mesa')
provides=('openscenegraph' 'openproducer' 'openthreads')
conflicts=('openscenegraph' 'openproducer' 'openthreads')
source=(http://download.gna.org/underware/sources/openscenegraph-$pkgver.tar.gz \
        http://poker3d-gentoo.googlecode.com/svn/trunk/dev-cpp/openscenegraph/files/01.dpatch)
md5sums=('875b7fad523fc5f3a789c29ae156dc60' '51e42411b2b88bede8a26a41e22aba63')

build() {
  cd $startdir/src/openscenegraph-$pkgver
  patch -Np1 -i ../01.dpatch
  export LIBUNGIF_INSTALLED=no
  export GLUT_INSTALLED=yes
  export COMPILE_EXAMPLES=no
  export COMPILE_OSG_OP_OT_WITH_SONAMES=YES
  export OPENTHREADS_INC_DIR=$startdir/src/openscenegraph-$pkgver/OpenThreads/include
  export OPENTHREADS_LIB_DIR=$startdir/src/openscenegraph-$pkgver/OpenThreads/lib/Linux
  export PRODUCER_INC_DIR=$startdir/src/openscenegraph-$pkgver/Producer/include
  export PRODUCER_LIB_DIR=$startdir/src/openscenegraph-$pkgver/Producer/lib/Linux
  export INST_LOCATION="$startdir/pkg/usr"
  cd $startdir/src/openscenegraph-$pkgver/OpenThreads
  make ARCH='' OPTF="'${CXXFLAGS}'" || return 1
  cd $startdir/src/openscenegraph-$pkgver/Producer
  make ARCH='' OPTF="'${CXXFLAGS}'" || return 1
  cd $startdir/src/openscenegraph-$pkgver/OpenSceneGraph
  make ARCH='' OPTF="'${CXXFLAGS}'" || return 1

  cd $startdir/src/openscenegraph-$pkgver/OpenThreads
  make ARCH='' install || return 1
  install -D Make/openthreads.pc $startdir/pkg/usr/lib/pkgconfig/openthreads.pc
  cd $startdir/src/openscenegraph-$pkgver/Producer
  make ARCH='' install || return 1
  install -D Make/producer.pc $startdir/pkg/usr/lib/pkgconfig/producer.pc
  cd $startdir/src/openscenegraph-$pkgver/OpenSceneGraph
  make ARCH='' install || return 1
  install -D Make/openscenegraph.pc $startdir/pkg/usr/lib/pkgconfig/openscenegraph.pc
  mv $startdir/pkg/usr/share/OpenSceneGraph/bin $startdir/pkg/usr
  rm -r $startdir/pkg/usr/share
  install -D -m 644 LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
}

openalpp

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=openalpp
pkgver=20060714
pkgrel=1
pkgdesc="Object oriented wrapper for OpenAL."
arch=('i686')
url="http://alpp.sourceforge.net/"
license=('LGPL')
depends=('freealut' 'libvorbis' 'openscenegraph-uw')
makedepends=('pkgconfig')
options=(NOLIBTOOL)
source=(http://download.gna.org/underware/sources/$pkgname-cvs-$pkgver.tar.gz)
md5sums=('904778a83862e1981b182ceff9caf663')

build() {
  cd $startdir/src/$pkgname-cvs-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

osgal-uw

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=osgal-uw
pkgver=20060903
pkgrel=1
pkgdesc="Handles 3d spatial sound in an openscenegraph environment modified by underware."
url="http://www.vrlab.umu.se/research/osgAL/"
license=('LGPL')
arch=('i686')
depends=('openalpp')
makedepends=('pkgconfig')
provides=('osgal')
conflicts=('osgal')
options=(NOLIBTOOL)
source=(http://download.gna.org/underware/sources/osgal-cvs-$pkgver.tar.gz)
md5sums=('92e67bc580900b9a98ba31e18b47c5f3')

build() {
  cd $startdir/src/osgal-cvs-$pkgver

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

osgcal

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=osgcal
pkgver=0.1.44
pkgrel=1
pkgdesc="The GPL version of cal3d to openscenegraph adapter dev environment."
url="http://mekensleep.org/index.php"
license=('GPL')
arch=('i686')
depends=('cal3d' 'sdl' 'libxml2' 'glib2' 'openscenegraph-uw')
makedepends=('pkgconfig')
conflicts=(osgcal2)
options=(NOLIBTOOL)
source=(http://download.gna.org/underware/sources/$pkgname-$pkgver.tar.gz)
md5sums=('c6f43aa6014fc7fdc7cc0ab9e4b5a885')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

xwnc-uw

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=xwnc-uw
pkgver=0.3.3
pkgrel=1
pkgdesc="A virtual server from metisse modified by underware which is used for poker3d"
arch=('i686')
url="http://insitu.lri.fr/~chapuis/metisse"
license=('GPL')
depends=('zlib')
makedepends=('pkgconfig')
provides=('xwnc')
conflicts=('xwnc')
source=(http://download.gna.org/underware/sources/xwnc-$pkgver.tar.gz \
        http://poker3d-gentoo.googlecode.com/svn/trunk/x11-misc/xwnc/files/xwnc-0.3.3-r1.patch)
md5sums=('be38eb400d9e3fac38b3ce34250cf54e' '9613497c0c9eb72eab0fd6254e9429b6')

build() {
  cd $startdir/src/xwnc-$pkgver
  patch -Np1 -i ../xwnc-0.3.3-r1.patch || return 1
  autoreconf -f -i
  ./configure --prefix=/usr --disable-glx --without-fvwm-ametista
  make || return 1
  make DESTDIR=$startdir/pkg install
}

pok3d-data

Read the license here Pok3d's House Rules
Download for the PKGBUILD:house-rules.txt

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=pok3d-data
pkgver=1.1.29
pkgrel=1
pkgdesc="Data for use with Pok3d"
arch=('i686')
url="http://www.pok3d.com/"
license=('custom')
provides=('poker3d-data')
conflicts=('poker3d-data')
install="pok3d-data.install"
groups=('pok3d')
source=(http://pok3d.net/gentoo-non-free/poker3d-data-$pkgver.tar.gz \
        house-rules.txt)
md5sums=('f5e0b71551fcc961004646f5582c6fbb' '8cdf48dcd7b2414d18958b31f573972d')

build() {
  cd $startdir/src
  mkdir -p $startdir/pkg/usr/share/poker3d
  mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
  cp house-rules.txt $startdir/pkg/usr/share/licenses/$pkgname/
  cp -R data $startdir/pkg/usr/share/poker3d
}

pok3d-data.install:

post_install() {
  echo "The pok3d-data is covered by a proprietary license."
  echo "You MUST read and agree to the license stored in"
  echo "/usr/share/licenses/poker3d-data/house-rules.txt"
  echo "before using it."
  echo ""
  echo "To connect to Pok3d you should as your user"
  echo "mkdir ~/.poker3d"
  echo "cp /usr/share/poker3d/poker3d.xml ~/.poker3d/"
  echo "and replace <servers>localhost:19380</servers> with"
  echo "<servers>poker.pok3d.com:19380</servers>"
}

post_upgrade() {
  post_install $1
}

op=$1
shift
$op $*

poker3d

PKGBUILD:

# Contributor: hpestilence <hpestilence@gmail.com>
pkgname=poker3d
pkgver=1.1.30
pkgrel=1
pkgdesc="A 3d poker server and client"
url="http://mekensleep.org/index.php"
license=('GPL')
arch=('i686')
depends=('osgal-uw' 'osgcal' 'poker-network' 'xwnc-uw')
makedepends=('pkgconfig')
groups=('pok3d')
options=(NOLIBTOOL)
source=(http://download.gna.org/underware/sources/$pkgname-$pkgver.tar.gz)
md5sums=('c9153aa9cf13e14e34b6c2086d5626ff')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  sed -i 's/gamesdir\ =\ \${prefix}\/games/gamesdir\ =\ \${prefix}\/bin/' $startdir/src/$pkgname-$pkgver/examples/poker/Makefile
  sed -i 's/Exec=\/usr\/games\/poker2d/Exec=\/usr\/bin\/poker3d/' $startdir/src/$pkgname-$pkgver/examples/poker/python-poker3d.desktop
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Last edited by hpestilence (2007-03-25 20:58:59)

Offline

#9 2007-03-10 22:23:17

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

Ok, I'm trying now !

Fix: You have to add "freealut" as depends of the "openalpp" packet

Offline

#10 2007-03-10 23:09:43

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Re: Request : pok3d

I've just finished trying this out and for some reason when I click on my hand to view the cards dealt to me the camera seems to move the wrong way so I can't see what I have. hmm

Offline

#11 2007-03-11 11:19:35

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

Everythink seems to compile fine but it's not working for me.
I've got some refreshing problems, when I connect to my account, the window turns blackscreen.

How about change the PKGBUILD's to install in /opt since there are some big packets ?

Offline

#12 2007-03-11 15:57:34

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Re: Request : pok3d

I fixed my problems by building the openscenegraph source that was modified by underware. Everything seems to running perfectly. I'll edit my post above.

Offline

#13 2007-03-18 18:53:36

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

What about putting it on AUR ?

Last edited by cougar (2007-03-18 20:35:15)

Offline

#14 2007-03-18 23:13:37

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Re: Request : pok3d

cougar wrote:

What about putting it on AUR ?

Alright, but first im gonna file some bugs for the out of date poker packages in the AUR. I am also thinking of changing the PKGBUILDs to add groups=('pok3d') so that the GPL'd poker3d doesn't have to depend on proprietary poker3d-data and makes it easier in case someone else creates artwork for poker3d. Last is to include all custom licenses. smile

EDIT 03/24/07: Updated the post above with new PKGBUILDS edited with namcap's recommendations, should be more correct. Also installed custom licenses.;)

Last edited by hpestilence (2007-03-24 05:22:39)

Offline

#15 2007-03-25 02:37:06

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Re: Request : pok3d

I put everything into the AUR. I posted updated PKGBUILD's in the comments for the packages that were already there (poker-eval, pypoker-eval, poker-engine, and poker-network).

Offline

#16 2007-03-25 09:49:40

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: Request : pok3d

So thanks again wink

Edit: There is a problem with poker-engine. The target doesn't exist.

Last edited by cougar (2007-03-25 10:24:58)

Offline

#17 2007-03-25 15:35:26

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: Request : pok3d

omg I had no idea there was a good poker client for linux..  I can't wait to try this out!  Thank you!

Offline

#18 2007-03-25 20:58:30

hpestilence
Member
Registered: 2005-06-20
Posts: 67

Re: Request : pok3d

cougar wrote:

So thanks again wink

Edit: There is a problem with poker-engine. The target doesn't exist.

I just checked the configure script and it seems to look for pyxml and libxslt, namcap didn't catch that. I checked the other configure scripts and I don't think I missed anything else. smile

I'll update the PKGBUILD.

Offline

Board footer

Powered by FluxBB