diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-01-10 21:19:53 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-01-10 21:19:53 +0000 |
commit | a61d9fb7cb9934ebf80471b68ba07b073961f24a (patch) | |
tree | 8dd20da7758c848ae5cbe8bf9bfaae02c85282f5 /games-board/pokerth | |
parent | old (diff) | |
download | gentoo-2-a61d9fb7cb9934ebf80471b68ba07b073961f24a.tar.gz gentoo-2-a61d9fb7cb9934ebf80471b68ba07b073961f24a.tar.bz2 gentoo-2-a61d9fb7cb9934ebf80471b68ba07b073961f24a.zip |
old
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-board/pokerth')
-rw-r--r-- | games-board/pokerth/Manifest | 13 | ||||
-rw-r--r-- | games-board/pokerth/files/pokerth-0.7.1-gcc45.patch | 105 | ||||
-rw-r--r-- | games-board/pokerth/pokerth-0.7.1.ebuild | 76 |
3 files changed, 0 insertions, 194 deletions
diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest index dec161b9616f..a69ba8c8a9bf 100644 --- a/games-board/pokerth/Manifest +++ b/games-board/pokerth/Manifest @@ -1,17 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX pokerth-0.7.1-gcc45.patch 5908 RMD160 f786fbfaad22b44cf41c4fe9ff63de9661ea72ff SHA1 afb4e58419009f15c87a2851e1433e5376ae6f12 SHA256 0ce1f0d4c56a7e0af5eac208283f8df4f39cce2d29048957f24750d294cf78d4 -DIST PokerTH-0.7.1-src.tar.bz2 6535050 RMD160 7aca895bb07bc83f977e9147217ad50eb7adfb8a SHA1 9c0c546355d7d248aeeee371d0354bfe90150a7b SHA256 97df0eeabd11e862b23e770e87053ceac245dd082f1516be1be9e4fcae882ece DIST PokerTH-0.8.1-src.tar.bz2 7080728 RMD160 4688ff9d8237c921215e837a633022f9fb7cab83 SHA1 f698fa0ebeed4b027a719d7887e9b7ed37c2e441 SHA256 d2b6f8bf0cc9b6e5348aa4d6d5e59b3b17465a0f1a822341fd4417c2a5db1240 -EBUILD pokerth-0.7.1.ebuild 1808 RMD160 0fac2fa25f841718d1903966f0644ad2ca051d4a SHA1 daa159a2e58233a194472f39cc1ad9d098a9d599 SHA256 58f7ee673c2cbd637d3a3e7fa4363df88f40d069be0819886ce91f60153213da EBUILD pokerth-0.8.1.ebuild 1810 RMD160 7f109f1da19b353bea7970c1b96abf54996cebef SHA1 4b2975dd37ee8a8fad7d935ea761c1f02bc1ed93 SHA256 b92da499e31e76a8578502c89e48f7bfaa6c9f3ef5368cbe497f4f92cffc211a MISC ChangeLog 2816 RMD160 2e59961383b7f66ff129928ae28efd681936da1f SHA1 e0649385b213293effe5b181b7fecbdab32dc135 SHA256 3f67fc1121d7c35caf100f3f031620d0bda782ba3e4f9dd58abcd338321888bf MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAk0BVf0ACgkQnZsgo/h8kNYZ0gCgwSN9OCjb/r0O0A2BjYhPZoDP -dR0AoJPvjDZ4ZzSJrs3YSWcOTnM+j3My -=jpkr ------END PGP SIGNATURE----- diff --git a/games-board/pokerth/files/pokerth-0.7.1-gcc45.patch b/games-board/pokerth/files/pokerth-0.7.1-gcc45.patch deleted file mode 100644 index 612771c74cb1..000000000000 --- a/games-board/pokerth/files/pokerth-0.7.1-gcc45.patch +++ /dev/null @@ -1,105 +0,0 @@ -Fixing build with gcc 4.5 - -http://bugs.gentoo.org/show_bug.cgi?id=318591 - ---- src/gui/qt/gametable/gametableimpl.cpp -+++ src/gui/qt/gametable/gametableimpl.cpp -@@ -811,7 +811,7 @@ - for (it_c=currentHand->getSeatsList()->begin(); it_c!=currentHand->getSeatsList()->end(); it_c++) { - if((*it_c)->getMyActiveStatus()) { - -- if((*it_c)->getMyAvatar() == "" || !QFile::QFile(QString::fromUtf8((*it_c)->getMyAvatar().c_str())).exists()) { -+ if((*it_c)->getMyAvatar() == "" || !QFile(QString::fromUtf8((*it_c)->getMyAvatar().c_str())).exists()) { - playerAvatarLabelArray[(*it_c)->getMyID()]->setPixmap(QPixmap::fromImage(QImage(myGameTableStyle->getDefaultAvatar()))); - } - else { -@@ -821,7 +821,7 @@ - else { - if((myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_INTERNET || myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK)) { - if((*it_c)->getMyStayOnTableStatus() == TRUE && (*it_c)->getMyType() != PLAYER_TYPE_COMPUTER) { -- if((*it_c)->getMyAvatar() == "" || !QFile::QFile(QString::fromUtf8((*it_c)->getMyAvatar().c_str())).exists()) { -+ if((*it_c)->getMyAvatar() == "" || !QFile(QString::fromUtf8((*it_c)->getMyAvatar().c_str())).exists()) { - playerAvatarLabelArray[(*it_c)->getMyID()]->setPixmap(QPixmap::fromImage(QImage(myGameTableStyle->getDefaultAvatar())), TRUE); - } - else { -@@ -847,7 +847,7 @@ - boost::shared_ptr<PlayerInterface> tmpPlayer = myStartWindow->getSession()->getCurrentGame()->getPlayerByUniqueId(myID); - if (tmpPlayer.get()) { - -- if(QFile::QFile(myAvatar).exists()) { -+ if(QFile(myAvatar).exists()) { - playerAvatarLabelArray[tmpPlayer->getMyID()]->setPixmap(myAvatar); - tmpPlayer->setMyAvatar(myAvatar.toUtf8().constData()); - } ---- src/gui/qt/gametable/log/log.cpp -+++ src/gui/qt/gametable/log/log.cpp -@@ -54,13 +54,13 @@ - - if(myConfig->readConfigInt("LogOnOff")) { - //if write logfiles is enabled -- if(myConfig->readConfigString("LogDir") != "" && QDir::QDir(QString::fromUtf8(myConfig->readConfigString("LogDir").c_str())).exists()) { -+ if(myConfig->readConfigString("LogDir") != "" && QDir(QString::fromUtf8(myConfig->readConfigString("LogDir").c_str())).exists()) { - - myLogDir = new QDir(QString::fromUtf8(myConfig->readConfigString("LogDir").c_str())); - myLogFile = new QFile(myLogDir->absolutePath()+"/pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh.mm.ss")+".html"); - - //Logo-Pixmap extrahieren -- QPixmap::QPixmap(myAppDataPath +"gfx/gui/misc/logoChip3D.png").save(myLogDir->absolutePath()+"/logo.png"); -+ QPixmap(myAppDataPath +"gfx/gui/misc/logoChip3D.png").save(myLogDir->absolutePath()+"/logo.png"); - - // myW->textBrowser_Log->append(myLogFile->fileName()); - ---- src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp -+++ src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp -@@ -716,7 +716,7 @@ - if(mySession->getAvatarFile(playerInfo.avatar, myAvatarFileName)) { - - QString myAvatarString(QString::fromUtf8(myAvatarFileName.c_str())); -- if(QFile::QFile(myAvatarString).exists()) { -+ if(QFile(myAvatarString).exists()) { - - QPixmap myAvatarPixmap(25,26); - myAvatarPixmap.fill(Qt::transparent); ---- src/gui/qt/settingsdialog/selectavatardialog/selectavatardialogimpl.cpp -+++ src/gui/qt/settingsdialog/selectavatardialog/selectavatardialogimpl.cpp -@@ -212,7 +212,7 @@ - else return QString(""); - } - -- if(groupBox_2->isChecked() && QFile::QFile(lineEdit->text()).exists() ) return externalAvatar; -+ if(groupBox_2->isChecked() && QFile(lineEdit->text()).exists() ) return externalAvatar; - else return QString(""); - } - -@@ -232,9 +232,9 @@ - } - - if(groupBox_2->isChecked()) { -- if(QFile::QFile(lineEdit->text()).exists()) { -+ if(QFile(lineEdit->text()).exists()) { - -- if(QFile::QFile(lineEdit->text()).size() <= 30720 ) { -+ if(QFile(lineEdit->text()).size() <= 30720 ) { - externalAvatar = lineEdit->text(); - settingsCorrect = TRUE; - } ---- src/gui/qt/settingsdialog/settingsdialogimpl.cpp -+++ src/gui/qt/settingsdialog/settingsdialogimpl.cpp -@@ -559,7 +559,7 @@ - myConfig->writeConfigInt("FlipsideOwn", radioButton_flipsideOwn->isChecked()); - - if(radioButton_flipsideOwn->isChecked()) { -- if(QFile::QFile(lineEdit_OwnFlipsideFilename->text()).exists() && lineEdit_OwnFlipsideFilename->text() != "") {myConfig->writeConfigString("FlipsideOwnFile", lineEdit_OwnFlipsideFilename->text().toUtf8().constData()); } -+ if(QFile(lineEdit_OwnFlipsideFilename->text()).exists() && lineEdit_OwnFlipsideFilename->text() != "") {myConfig->writeConfigString("FlipsideOwnFile", lineEdit_OwnFlipsideFilename->text().toUtf8().constData()); } - else { QMessageBox::warning(this, tr("Settings Error"), - tr("The entered flipside picture doesn't exist.\n" - "Please enter an valid picture!"), -@@ -615,7 +615,7 @@ - myConfig->writeConfigInt("LogOnOff", groupBox_logOnOff->isChecked()); - if (myConfig->readConfigInt("LogOnOff")) { - // if log On -- if(QDir::QDir(lineEdit_logDir->text()).exists() && lineEdit_logDir->text() != "") { myConfig->writeConfigString("LogDir", lineEdit_logDir->text().toUtf8().constData()); } -+ if(QDir(lineEdit_logDir->text()).exists() && lineEdit_logDir->text() != "") { myConfig->writeConfigString("LogDir", lineEdit_logDir->text().toUtf8().constData()); } - else { - QMessageBox::warning(this, tr("Settings Error"), - tr("The log file directory doesn't exist.\n" diff --git a/games-board/pokerth/pokerth-0.7.1.ebuild b/games-board/pokerth/pokerth-0.7.1.ebuild deleted file mode 100644 index cc7199f80f19..000000000000 --- a/games-board/pokerth/pokerth-0.7.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pokerth/pokerth-0.7.1.ebuild,v 1.7 2010/05/14 18:13:21 ssuominen Exp $ - -EAPI=2 -inherit multilib flag-o-matic eutils qt4 games - -MY_P="PokerTH-${PV}-src" -DESCRIPTION="Texas Hold'em poker game" -HOMEPAGE="http://www.pokerth.net/" -SRC_URI="mirror://sourceforge/pokerth/${MY_P}.tar.bz2" - -LICENSE="GPL-1 GPL-2 GPL-3 BitstreamVera public-domain" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="dedicated" - -DEPEND=">=dev-libs/boost-1.39 - >=net-libs/gnutls-2.2.2 - >=net-misc/curl-7.16 - x11-libs/qt-core:4 - !dedicated? ( - media-libs/libsdl - media-libs/sdl-mixer[mikmod,vorbis] - >=sys-libs/zlib-1.2.3 - x11-libs/qt-gui:4 - )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc45.patch - - local boost_ver - - if use dedicated ; then - sed -i \ - -e 's/pokerth_game.pro//' \ - pokerth.pro \ - || die "sed failed" - fi - sed -i \ - -e '/no_dead_strip_inits_and_terms/d' \ - *pro \ - || die 'sed failed' - local boost_ver=$(best_version ">=dev-libs/boost-1.39") - - boost_ver=${boost_ver/*boost-/} - boost_ver=${boost_ver%.*} - boost_ver=${boost_ver/./_} - - einfo "Using boost version ${boost_ver}" - append-cxxflags \ - -I/usr/include/boost-${boost_ver} - append-ldflags \ - -L/usr/$(get_libdir)/boost-${boost_ver} - export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}" - export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}" -} - -src_configure() { - eqmake4 -} - -src_install() { - dogamesbin bin/pokerth_server || die - if ! use dedicated ; then - dogamesbin ${PN} || die - insinto "${GAMES_DATADIR}/${PN}" - doins -r data || die - domenu ${PN}.desktop - doicon ${PN}.png - fi - dodoc ChangeLog TODO docs/{net_protocol,server_setup_howto}.txt - prepgamesdirs -} |