Package Details: wyrmsun 5.3.6-1

Git Clone URL: https://aur.archlinux.org/wyrmsun.git (read-only, click to copy)
Package Base: wyrmsun
Description: Real-time strategy game based on history, mythology and fiction
Upstream URL: https://andrettin.github.io/
Keywords: game
Licenses: GPL2, CCPL:by-sa, custom:CC0
Submitter: MCMic
Maintainer: bergentroll (GalaxyLJGD)
Last Packager: GalaxyLJGD
Votes: 8
Popularity: 0.017616
First Submitted: 2016-01-08 16:47 (UTC)
Last Updated: 2022-09-08 09:08 (UTC)

Latest Comments

1 2 3 Next › Last »

A8b commented on 2022-08-03 14:57 (UTC) (edited on 2022-08-03 15:05 (UTC) by A8b)

the dev Andrettin: one thing you could try is to re-generate the CMake project with the ENABLE_USEGAMEDIR option set to OFF that would cause the home directory to be used for that instead of the game directory that would probably solve the permissions issue

https://discord.com/channels/206074078338088960/864866298273333298/1004083767754883102

That might fix bugs GalaxyLJGD

jiffy1111 commented on 2022-05-18 10:57 (UTC)

Thank you, GalaxyLJGD.

For anyone else following along, the latest build, 5.3.5-3, still exhibits the problem.

GalaxyLJGD commented on 2022-05-15 22:16 (UTC)

jiffy1111, I have the same problem, and I've reported it to upstream, so they can solve it.

jiffy1111 commented on 2022-05-12 12:11 (UTC)

Hi, coredumps when trying to create a multiplayer game.

~  wyrmsun 
[2022.05.12 08:08:05] Cannot open file "/usr/share/wyrmsun//wyr/preferences.lua" for writing.
Wyrmsun v5.3.5, Copyright (c) 1998-2022 by The Stratagus Project
  written by Lutz Sammer, Fabrice Rossi, Vladi Shabanski, Patrice Fortier,
  Jon Gabrielson, Andreas Arens, Nehal Mistry, Jimmy Salmon, Pali Rohar,
  cybermind, Andrettin and others.
    https://github.com/Andrettin/Wyrmgus
Compile options ZLIB OPENGL LINUX X11 

Stratagus may be copied only under the terms of the GNU General Public License
which may be found in the Stratagus source kit.

DISCLAIMER:
This software is provided as-is.  The author(s) can not be held liable for any
damage that might arise from the use of this software.
Use it at your own risk.

[2022.05.12 08:08:06] Cannot open file "/usr/share/wyrmsun//wyr/preferences.lua" for writing.
[2022.05.12 08:08:06] Cannot open file "/usr/share/wyrmsun//wyr/preferences.lua" for writing.
[2022.05.12 08:08:06] Cannot open file "/usr/share/wyrmsun//wyr/preferences.lua" for writing.
[2022.05.12 08:08:06] Cannot open file "/usr/share/wyrmsun//wyr/preferences.lua" for writing.
terminate called after throwing an instance of 'std::_Nested_exception<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'
Aborted (core dumped)

GalaxyLJGD commented on 2022-05-10 07:35 (UTC)

Sure! I'll make a workaround for the problem and I've notified upstream about this.

bergentroll commented on 2022-05-09 21:53 (UTC) (edited on 2022-05-09 21:54 (UTC) by bergentroll)

GalaxyLJGD, thank you for the patch! I am in a trip now, also I am not working with Wyrmsun for now. Would you like to co-maintain the package? (I add you to the list of co-maintainers).

GalaxyLJGD commented on 2022-05-08 00:46 (UTC) (edited on 2022-05-08 00:55 (UTC) by GalaxyLJGD)

I made a workaround with a script to be able to compile the game:

cflags="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection"
cxxflags="$cflags -Wp,-D_GLIBCXX_ASSERTIONS"
makepkg -CL CFLAGS="$cflags" CXXFLAGS="$cxxflags"

When I ran the game I noticed that some Qt dependencies were not installed because they're not included in the PKGBUILD, so I made a patch to fix that:

diff --git a/PKGBUILD b/PKGBUILD
index 06ce49e..0c3a22b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,18 @@

 pkgname=wyrmsun
 pkgver=5.3.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Real-time strategy game based on history, mythology and fiction"
 arch=('i686' 'x86_64')
 url="http://andrettin.github.io/"
 license=('GPL2')
 depends=(
     'hicolor-icon-theme'
+    'qt5-graphicaleffects'
     'qt5-location'
     'qt5-multimedia'
-    'sdl_mixer'
+    'qt5-quickcontrols2'
+    'sdl2_mixer'
     'tolua++'
 )
 makedepends=('boost' 'cmake' 'glu')

Edit: Deleted a repeated phrase.

GalaxyLJGD commented on 2022-05-06 22:20 (UTC) (edited on 2022-05-06 22:25 (UTC) by GalaxyLJGD)

I've tried several times to compile the game from 5.0, but it was impossible, this is the log makepkg returns: https://paste.debian.net/1240140/

I think this happens because /etc/makepkg.conf now includes a new option in the CFLAGS which is -Werror=format-security.

Edit: The log was so long that I thought that it would be better to put a link to a pastebin.

bergentroll commented on 2021-08-30 09:22 (UTC)

Updated, thank you.

FoPref commented on 2021-08-29 17:10 (UTC) (edited on 2021-08-29 17:10 (UTC) by FoPref)

Patch for 5.0.1:

diff --git a/PKGBUILD b/PKGBUILD
index 3af1e9e..c334bda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: MCMic <come@chilliet.eu>

 pkgname=wyrmsun
-pkgver=4.1.4
+pkgver=5.0.1
 pkgrel=1
 pkgdesc="Real-time strategy game based on history, mythology and fiction"
 arch=('i686' 'x86_64')
@@ -18,8 +18,8 @@ depends=(
 makedepends=('boost' 'cmake' 'glu')
 source=("wyrmsun-${pkgver}.tar.gz::https://github.com/Andrettin/Wyrmsun/archive/v${pkgver}.tar.gz"
         "wyrmgus-${pkgver}.tar.gz::https://github.com/Andrettin/Wyrmgus/archive/v${pkgver}.tar.gz")
-md5sums=('2242badbed6e96c1fdf32a040abe730a'
-         'd450f68291155bbe39a697e6df2a8f9c')
+md5sums=('f65843589884dfcdc3b7cd15ed3ee4b3'
+         'aca08095bc898463237604153c225050')

 build() {
   cd ${srcdir}/Wyrmgus-${pkgver}
@@ -28,7 +28,7 @@ build() {
     -DOpenGL_GL_PREFERENCE=GLVND \
     -DWITH_GEOJSON=OFF \
   ;
-  cmake --build . --target stratagus_main
+  cmake --build . --target wyrmgus_main

   cd "${srcdir}/Wyrmsun-${pkgver}"
   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr/' .
@@ -37,8 +37,8 @@ build() {

 check() {
   cd ${srcdir}/Wyrmgus-${pkgver}
-  cmake --build . --target stratagus_test
-  ./stratagus_test
+  cmake --build . --target wyrmgus_test
+  ./wyrmgus_test
 }

 package() {