@viktoacoric thanks; patch incorporated in release 28
Search Criteria
Package Details: pokerth 1.1.2-51
Package Actions
Git Clone URL: | https://aur.archlinux.org/pokerth.git (read-only, click to copy) |
---|---|
Package Base: | pokerth |
Description: | Client to online Poker game written in C++/Qt |
Upstream URL: | http://www.pokerth.net/ |
Licenses: | GPL, custom |
Submitter: | blacktav |
Maintainer: | blacktav |
Last Packager: | blacktav |
Votes: | 25 |
Popularity: | 0.30 |
First Submitted: | 2018-01-08 23:25 (UTC) |
Last Updated: | 2025-05-05 08:49 (UTC) |
Dependencies (8)
- boost-libs
- curl (curl-gitAUR, curl-c-aresAUR)
- gsasl (gsasl-ntlmAUR)
- protobuf (protobuf-gitAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- sdl_mixer
- tinyxml (tinyxml-gitAUR)
- boost (boost-gitAUR) (make)
Required by (0)
Sources (4)
blacktav commented on 2023-09-06 09:35 (UTC)
viktoracoric commented on 2023-09-05 21:14 (UTC)
Hey mate, here's a patch you can add, it solves annoying lack of XDG Base Dir specification. If somebody doesn't have it defined, everything stays the same, people who do have it defined will finally be able to "mv ~/.pokerth $XDG_CONFIG_HOME" :)
--- pokerth-1.1.2-rc/src/config/configfile.cpp 2017-08-16 14:24:03.000000000 +0200
+++ pokerth-1.1.2-rc/src/config/configfile.cpp 2023-09-05 22:08:15.894479277 +0200
@@ -118,7 +118,10 @@
#else
//define app-dir
- const char *homePath = getenv("HOME");
+ const char *homePath = getenv("XDG_CONFIG_HOME");
+ if(homePath == NULL) {
+ homePath = getenv("HOME");
+ }
if(homePath) {
configFileName = homePath;
#ifndef ANDROID
--- pokerth-1.1.2-rc/src/chatcleaner/cleanerconfig.cpp 2017-08-16 14:24:03.000000000 +0200
+++ pokerth-1.1.2-rc/src/chatcleaner/cleanerconfig.cpp 2023-09-05 22:07:02.787486305 +0200
@@ -98,7 +98,10 @@
#else
//define app-dir
- const char *homePath = getenv("HOME");
+ const char *homePath = getenv("XDG_CONFIG_HOME");
+ if(homePath == NULL) {
+ homePath = getenv("HOME");
+ }
if(homePath) {
configFileName = homePath;
configFileName += "/.pokerth/";
coruja commented on 2023-07-04 22:35 (UTC)
Thank you for your fast update, i rebuilt pokerth 1.1.2-26 with protobuf 23.3-1, and it works fine again.
blacktav commented on 2023-07-04 18:47 (UTC) (edited on 2023-07-04 22:39 (UTC) by blacktav)
Bumped to release 26 Includes patch to explicitly include a few libraries
coruja commented on 2023-07-04 16:00 (UTC) (edited on 2023-07-04 16:02 (UTC) by coruja)
After the latest protobuf update to version 23.3-1 pokerth won't start anymore:
pokerth: error while loading shared libraries: libprotobuf.so.32: cannot open shared object file: No such file or directory
And a rebuild (as suggested by checkrebuild) failed too:
/usr/bin/ld: /usr/lib/libprotobuf.so: undefined reference to symbol '_ZN4absl12lts_2023012512log_internal17MakeCheckOpStringIllEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc'
/usr/bin/ld: /usr/lib/libabsl_log_internal_check_op.so.2301.0.0: error adding symbols: DSO missing from command line
Only workaround by now is to keep protobuf at version 21.12-2.
blacktav commented on 2023-01-24 11:37 (UTC)
Bumped to rel 24 for revised boost libs
blacktav commented on 2022-10-04 12:04 (UTC)
Bumped to 23 for updated boost libs
blacktav commented on 2022-08-24 21:27 (UTC) (edited on 2022-08-24 21:27 (UTC) by blacktav)
Bumped to 22 for dependency chain update
Expect another soon as an update for boost is pending
blacktav commented on 2022-06-22 22:23 (UTC)
Bumped to 21 for new version of boost lib
blacktav commented on 2022-04-26 22:00 (UTC)
Bumped to 20 to trigger rebuild
Pinned Comments
blacktav commented on 2025-03-31 19:11 (UTC) (edited on 2025-03-31 19:15 (UTC) by blacktav)
Because so many issues have developed of late due to the age of the original 1.1.2 release which is now triggering deprecations in associated code (boost, QT amongst others) it is becoming increasingly difficult for PokerTH to age gracefully.
The recommended solution by the PokerTH team is to use a jailed version of the original source code and locked versions of dependencies such as boost & QT: such as that made available for flatpak.
If you prefer to use flatpak (rather than limping along with this AUR release):
1 install flatpak with pacman or whatever
https://archlinux.org/packages/extra/x86_64/flatpak/
2 then head over to https://flathub.org/apps/net.pokerth.PokerTH
to find out how to deploy and run a "stable" version of pokerth