p81 - fixed create release script, updated ebuild
This commit is contained in:
parent
7b13331331
commit
092f68e259
|
@ -22,12 +22,15 @@ rm pyfpdb/*.pyc
|
||||||
mkdir fpdb-$1
|
mkdir fpdb-$1
|
||||||
cp -R docs fpdb-$1/
|
cp -R docs fpdb-$1/
|
||||||
cp -R pyfpdb fpdb-$1/
|
cp -R pyfpdb fpdb-$1/
|
||||||
rm fpdb-$1/HUD_config.*
|
rm fpdb-$1/pyfpdb/HUD_config.*
|
||||||
cp pyfpdb/HUD_config.xml.example fpdb-$1/
|
cp pyfpdb/HUD_config.xml.example fpdb-$1/pyfpdb/
|
||||||
cp -R regression-test fpdb-$1/
|
cp -R regression-test fpdb-$1/
|
||||||
cp -R utils fpdb-$1/
|
cp -R utils fpdb-$1/
|
||||||
|
|
||||||
cd fpdb-$1
|
cd fpdb-$1
|
||||||
zip -r ../fpdb-1.0_$1.zip *
|
zip -r ../../fpdb-1.0_$1.zip *
|
||||||
tar -cf - * | bzip2 > ../fpdb-1.0_$1.tar.bz2
|
tar -cf - * | bzip2 >> ../../fpdb-1.0_$1.tar.bz2
|
||||||
cd ..
|
cd ..
|
||||||
rm -r fpdb-$1
|
rm -r fpdb-$1
|
||||||
|
|
||||||
|
echo "Please ensure the files are named fpdb-1.0_alpha*_p*.*"
|
||||||
|
|
|
@ -2,9 +2,11 @@ todolist (db=database, imp=importer, tv=tableviewer)
|
||||||
Everything is subject to change and the order does not indicate priority. Patches for any of these or other features are very welcome, see readme-overview.txt for contacts.
|
Everything is subject to change and the order does not indicate priority. Patches for any of these or other features are very welcome, see readme-overview.txt for contacts.
|
||||||
Please also see db-todo.txt
|
Please also see db-todo.txt
|
||||||
|
|
||||||
alpha3 (release 15Sep)
|
alpha4 (release 22-29Sep)
|
||||||
======
|
======
|
||||||
|
newsletter&mailing list
|
||||||
find correct sf logo link
|
find correct sf logo link
|
||||||
|
fix HUD config location and update release script accordingly
|
||||||
|
|
||||||
windows integrated installer
|
windows integrated installer
|
||||||
update install-in-gentoo on website
|
update install-in-gentoo on website
|
||||||
|
@ -18,9 +20,6 @@ export settings[hud-defaultInterval] to conf
|
||||||
fill check-/call-raise cache fields
|
fill check-/call-raise cache fields
|
||||||
|
|
||||||
printhand each and the 2/3 relevant printplayerflags respectively on ps-lhe-ring-successful-steal-by-cutoff.txt and ps-lhe-ring-call-3B-preflop-cb-no2b.txt
|
printhand each and the 2/3 relevant printplayerflags respectively on ps-lhe-ring-successful-steal-by-cutoff.txt and ps-lhe-ring-call-3B-preflop-cb-no2b.txt
|
||||||
|
|
||||||
alpha4 (release 22-29Sep)
|
|
||||||
======
|
|
||||||
change to savannah?
|
change to savannah?
|
||||||
implement steal and positions in stud
|
implement steal and positions in stud
|
||||||
anonymiser script to generate testdata without making a dozen find&replace all... remember to replace hand no with running no
|
anonymiser script to generate testdata without making a dozen find&replace all... remember to replace hand no with running no
|
||||||
|
|
59
packaging/fpdb-1.0_alpha3_p80.ebuild
Normal file
59
packaging/fpdb-1.0_alpha3_p80.ebuild
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/games-util/fpdb/fpdb-1.0_alpha2_p68.ebuild,v 1.0 2008/08/31 23:00:00 steffen@sycamoretest.info Exp $
|
||||||
|
|
||||||
|
NEED_PYTHON=2.3
|
||||||
|
|
||||||
|
#inherit distutils
|
||||||
|
|
||||||
|
MY_P="fpdb-${PV}"
|
||||||
|
DESCRIPTION="A database program to track your online poker games"
|
||||||
|
HOMEPAGE="https://sourceforge.net/projects/fpdb/"
|
||||||
|
#SRC_URI="mirror://sourceforge/fpdb/${MY_P}.tar.bz2"
|
||||||
|
SRC_URI="mirror://sourceforge/fpdb/fpdb-1.0_alpha3-p80.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
#note: this should work on other architectures too, please send me your experiences
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="virtual/mysql
|
||||||
|
dev-python/mysql-python
|
||||||
|
>=x11-libs/gtk+-2.10
|
||||||
|
dev-python/pygtk"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
DIRINST="${D}usr/share/games/fpdb/"
|
||||||
|
mkdir -p "${DIRINST}"
|
||||||
|
cp -R * "${DIRINST}" || die
|
||||||
|
|
||||||
|
DIRBIN="${D}usr/games/bin/"
|
||||||
|
mkdir -p "${DIRBIN}"
|
||||||
|
#echo "pathes"
|
||||||
|
#echo "${DIRINST}pyfpdb/fpdb.py"
|
||||||
|
#echo "${DIRBIN}fpdb.py"
|
||||||
|
#echo
|
||||||
|
echo "cd /usr/share/games/fpdb/pyfpdb/ && python fpdb.py" > "${DIRBIN}fpdb" || die
|
||||||
|
chmod 755 "${DIRBIN}fpdb" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
#src_test() {
|
||||||
|
#}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "Fpdb has been installed and can be called by executing /usr/games/bin/fpdb"
|
||||||
|
elog "You need to perform a couple more steps manually."
|
||||||
|
elog "Please also make sure you followed instructions from previous emerges, in particular make sure you configured mysql and set a root pw for it"
|
||||||
|
elog "Now run this command to connect to MySQL: mysql --user=root --password=yourPassword"
|
||||||
|
elog "In the mysql command line interface you need to type these two lines (make sure you get the ; at the end)"
|
||||||
|
elog "In the second line replace \"newPassword\" with a password of your choice"
|
||||||
|
elog "CREATE DATABASE fpdb;"
|
||||||
|
elog "GRANT ALL PRIVILEGES ON fpdb.* TO 'fpdb'@'localhost' IDENTIFIED BY 'newPassword' WITH GRANT OPTION;"
|
||||||
|
elog "Finally copy the default config file from ${DIRINST}docs/default.conf to ~/.fpdb/ for every user that is to use fpdb."
|
||||||
|
elog "You will need to edit the default.conf, in particular you need to replace the password with what you entered in the \"GRANT ALL...\""
|
||||||
|
elog "Finally run the GUI and click the menu database -> recreate tables"
|
||||||
|
elog "That's it! See our webpage at http://fpdb.sourceforge.net for more documentation"
|
||||||
|
elog " "
|
||||||
|
}
|
|
@ -407,7 +407,7 @@ This program is licensed under the AGPL3, see docs"""+os.sep+"agpl-3.0.txt")
|
||||||
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
|
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
|
||||||
self.window.connect("delete_event", self.delete_event)
|
self.window.connect("delete_event", self.delete_event)
|
||||||
self.window.connect("destroy", self.destroy)
|
self.window.connect("destroy", self.destroy)
|
||||||
self.window.set_title("Free Poker DB - version: alpha3, p80")
|
self.window.set_title("Free Poker DB - version: alpha3+, p81")
|
||||||
self.window.set_border_width(1)
|
self.window.set_border_width(1)
|
||||||
self.window.set_size_request(1020,400)
|
self.window.set_size_request(1020,400)
|
||||||
self.window.set_resizable(True)
|
self.window.set_resizable(True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user