You can add
install -Dm644 pokerth.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/pokerth.png"
install -Dm644 pokerth.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/pokerth.svg"
for a desktop icons.
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.72 |
First Submitted: | 2018-01-08 23:25 (UTC) |
Last Updated: | 2025-03-31 18:43 (UTC) |
You can add
install -Dm644 pokerth.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/pokerth.png"
install -Dm644 pokerth.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/pokerth.svg"
for a desktop icons.
Here's a tiny improvement on the existing Abseil patch for the next time you have to bump the pkgrel. Instead of hardcoding the paths to the .so files you can use these linker flags:
--- pokerth-1.1.2-rc/pokerth_game.pro 2023-07-04 22:43:50.069300036 +0200
+++ pokerth-1.1.2-rc/pokerth_game.pro 2023-07-04 23:39:38.849095436 +0200
@@ -524,7 +524,9 @@
kFreeBSD = $$find(UNAME, "kFreeBSD")
LIBS += -lsqlite3 \
-ltinyxml \
- -lprotobuf
+ -lprotobuf \
+ -labsl_log_internal_check_op \
+ -labsl_log_internal_message
LIBS += $$BOOST_LIBS
LIBS += -lSDL \
-lSDL_mixer \
bumped for library updates
@viktoracoric config/configfile.cpp seems to have different naming rules for ANDROID which starts to make it all look rather tangled and not necessarily consistent
@costor specification doesn't say that, doesn't it? For example I have curl config hidden inside that folder. But yeah I agree it's better when it's visible, it's an easy fix, but before I submit, @blacktav what are the issues re: ANDROID, I didn't understand your message, I'll see if that can be resolved.
Ah yes indeed! and then also issues re: ANDROID Patch reverted: needs more work
@viktoracoric That patch changes the config directory to $XDG_CONFIG_HOME/.pokerth/
when XDG_CONFIG_HOME
is defined, which is wrong. Programs shouldn't be hidden in that directory. The correct path would be $XDG_CONFIG_HOME/pokerth/
. So without the dot before pokerth
.
@viktoacoric thanks; patch incorporated in release 28
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/";
Pinned Comments
blacktav commented on 2025-03-31 19:28 (UTC) (edited on 2025-03-31 19:29 (UTC) by blacktav)
This latest version 50 does build fine and by & large seems to work OK. However, I have experienced some unreliable behaviour when the remote server cannot be reached for an Internet game.
I suspect this current build is tickling some transient behaviour with the remote server and can result in some unusual results: failed connections and temporary login retries. To-date, nothing specific seems to clear these issues: if you do find something, please share it here.
It does seem to sort itself out eventually and once connected, remains stable enough.
blacktav commented on 2025-03-31 19:21 (UTC)
Thanks to the finger-pointing of #benoliver999 and a huge assist from #jlocash, we now have a functional build plan again.
This latest version has required the deployment of a supporting github instance; this is probably a temporary device will I figure some long-term solution.
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