Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - fpdb

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: fpdb 0.40.5-3

Git Clone URL: https://aur-dev.archlinux.org/fpdb.git (read-only)
Package Base: fpdb
Description: An open source tracker/HUD for use with on-line poker.
Upstream URL: http://sourceforge.net/projects/fpdb/
Licenses: GPL, AGPL
Submitter: flub
Maintainer: jamespharvey20
Last Packager: jamespharvey20
Votes: 4
Popularity: 0.000000
First Submitted: 2011-07-24 13:35
Last Updated: 2015-07-27 07:44

Latest Comments

sstassin commented on 2014-12-11 09:21

Hi Ant1.
Today it's working again, maybe a simple internet connexion problem !
Thank you for you work.

Ant1 commented on 2014-12-09 23:01

Hi sstassin,

I just tried, the URL works for me using makepkg. What is yaourt complaining about?

By the way, I will look into making a package for the Qt version: https://github.com/philroberts/FPDB-for-OSX

I will probably name the package fpdb-qt (at least in a first time) if this prove to work.

sstassin commented on 2014-12-08 11:36

HI.

Thanks for updating this verey important package for a poker player in the Aur repository, but yesterday i was unable to install it with Yaourt. It says me that the source package (or somtehing like that) juste after querying me to compile.

I a newby in the Arch Linux community but it seems that the download URL has changed ?

URL = http://sourceforge.net/projects/fpdb/files/fpdb/0.40/fpdb-.40.5.tar.gz/download
But it is "http://sourceforge.net/projects/fpdb/files/fpdb/${_major}/${pkgname}-${pkgver}.tar.gz" in the PKGBuild. Is the "Download" folder missing in the URL ? Am i right ??

Tx

Ant1 commented on 2013-11-06 03:39

Updated to add optdepends + remove the terminal opening when starting from launcher.

alphaniner commented on 2013-06-06 20:25

makepkg cancels packaging, because the "pkg" directory is created without any permissions.

As a solution I put the content of the build-function into the package-function, leaving only one big package-function.

Regarding the issues mentioned in previous comments, i replaced


build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1

cat "pyfpdb/fpdb.pyw" | sed 's/env\ python/env\ python2/g' > "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/fpdb.pyw"
chmod +x "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/fpdb.pyw"
}

package() {
mkdir "${pkgdir}/usr/bin"
ln -s "../lib/python2.7/site-packages/fpdb/fpdb.pyw" "${pkgdir}/usr/bin/fpdb"
}


in PKGBUILD with


package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
cp "pyfpdb/Cards01.png" "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/"
cp "pyfpdb/Cards02.png" "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/"
cp "pyfpdb/HUD_main.pyw" "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/"
cp "pyfpdb/fpdb.pyw" "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/"
chmod +x "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/fpdb.pyw"
mkdir "${pkgdir}/usr/bin"
ln -s "../lib/python2.7/site-packages/fpdb/fpdb.pyw" "${pkgdir}/usr/bin/fpdb"
cd "${pkgdir}/usr/lib/python2.7/site-packages/fpdb/"
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' *.py
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' *.pyw
}


vagyok commented on 2013-04-01 03:54

- Copying Cards01.png to /usr/lib/python2.7/site-packages/fpdb/ makes Hand Viewer work (presumably the same applies to Cards02.png , although the latter does not seem necessary for Hand Viewer). See line 164 of GuiHandViewer.py

vagyok commented on 2013-04-01 01:17

I got it working with the following additional steps:

- It also needs python2-wnck as a dependency.

- HUD_main.pyw also needs to be copied to /usr/lib/python2.7/site-packages/fpdb/

- All .pyw and .py files in /usr/lib/python2.7/site-packages/fpdb/ need to have their first line changed from

#!/usr/bin/env python

to

#!/usr/bin/env python2

Anonymous comment on 2011-11-10 20:27

The HUD doesn't work if you don't install package python-xlib, and it also doesn't work when the first line of /usr/share/pyshared/fpdb/HUD_main.pyw says:

#!/usr/bin/env python

Changing it to say this instead fixed the problem:

#!/usr/bin/python2