Package Details: s25rttr 0.9.5-2

Git Clone URL: https://aur.archlinux.org/s25rttr.git (read-only, click to copy)
Package Base: s25rttr
Description: Return to the Roots is a reimplementation of Settlers II (Die Siedler II) by BlueByte Software GmbH. Put the files from the original game in the folder (/usr/share/s25rttr/S2/)
Upstream URL: https://www.siedler25.org/
Keywords: settlers siedler
Licenses: GPL3
Conflicts: return-to-the-roots
Provides: return-to-the-roots
Submitter: NiNjA
Maintainer: Mailaender
Last Packager: Mailaender
Votes: 6
Popularity: 0.000003
First Submitted: 2016-04-03 11:23 (UTC)
Last Updated: 2023-09-02 12:51 (UTC)

Latest Comments

1 2 Next › Last »

Mailaender commented on 2023-09-02 12:51 (UTC)

Thanks.

adlerweb commented on 2023-08-28 23:52 (UTC)

The current stable (0.9.5) can not be compiled using gcc13 as cstdint is no longer included by default. As such cmake fails due to missing integer declarations:

s25rttr/src/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:25: error: ‘uint8_t’ was not declared in this scope
   11 | static const std::array<uint8_t, 128> ansi2oem_tab = {

To mitigate it until upstream released a new stable, you can add cstdint to two source code files (libs/s25main/gameTypes/LanGameInfo.h, external/libsiedler2/src/oem.cpp). Additionally you have to add -Wno-dangling-reference in addition to -Wno-error=deprecated-declarations suggested by handfrog.

I posted a patch over at https://gist.github.com/adlerweb/5a94803f2b4f6b4bb16f332cee766e56 - use at your own risk…

dreieck commented on 2023-04-13 20:23 (UTC) (edited on 2023-04-13 20:23 (UTC) by dreieck)

Ahoj,

a suggestion: Add provides=("return-to-the-roots=${pkgver}"), conflicts=("return-to-the-roots"), since there are and were other packages which call(ed) this game engine's package return-to-the-roots, and at least one package which depends on this.

Regards!

handfrog commented on 2023-01-24 22:52 (UTC) (edited on 2023-01-24 22:54 (UTC) by handfrog)

The compile breaks at the moment:

[ 86%] Building CXX object libs/s25main/CMakeFiles/s25Main.dir/network/GameServerPlayer.cpp.o
/tmp/makepkg/s25rttr/src/s25client_v0.9.5/libs/s25main/network/GameClient.cpp: In member function ‘bool GameClient::HostGame(const CreateServerInfo&, const boost::filesystem::path&, MapType)’:
/tmp/makepkg/s25rttr/src/s25client_v0.9.5/libs/s25main/network/GameClient.cpp:122:18: error: ‘bool boost::filesystem::copy_file(const path&, const path&, copy_option, boost::system::error_code&)’ is deprecated: Use copy_options instead of copy_option [-Werror=deprecated-declarations]
  122 |         copy_file(map_path, playedMapPath, boost::filesystem::copy_option::overwrite_if_exists, ignoredEc);
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/dll/config.hpp:60,
                 from /usr/include/boost/dll/shared_library.hpp:15,
                 from /tmp/makepkg/s25rttr/src/s25client_v0.9.5/libs/s25main/drivers/DriverWrapper.h:7,
                 from /tmp/makepkg/s25rttr/src/s25client_v0.9.5/libs/s25main/drivers/VideoDriverWrapper.h:7,
                 from /tmp/makepkg/s25rttr/src/s25client_v0.9.5/libs/s25main/network/GameClient.cpp:24:
/usr/include/boost/filesystem/operations.hpp:430:13: note: declared here
  430 | inline bool copy_file(path const& from, path const& to, // See ticket #2925
      |             ^~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [libs/s25main/CMakeFiles/s25Main.dir/build.make:3982: libs/s25main/CMakeFiles/s25Main.dir/network/GameClient.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1122: libs/s25main/CMakeFiles/s25Main.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: s25rttr

Adding "-Wno-error=deprecated-declarations" to CFLAGS in /etc/makepkg.conf helped for the moment, but i think there must be a better way to handle this.

Mailaender commented on 2022-07-24 12:06 (UTC)

Updated it. Then decided to properly build from source to avoid conflicts with /usr/lib/libminiupnpc.so.17 from the real package.

vladimir1922 commented on 2022-05-08 12:59 (UTC)

This package is quite outdated:

This is version 0.91 20210918-1 Last version is 0.95 20220417

Shawn8901 commented on 2021-10-25 16:13 (UTC) (edited on 2021-10-25 16:14 (UTC) by Shawn8901)

hi, sorry for flagging the package as out of date yesterday, i somehow mislooked the dates. :-( Sorry for that... edit: would be glad if you or a TU can remove the Out of date flag.

dcx commented on 2021-09-24 12:48 (UTC)

libsdl1.2 libsdl-mixer1.2 is a dependency already included in this package.

balwierz commented on 2021-09-24 12:42 (UTC)

I got no sound drivers available in the options (and no sound at all) until I installed sdl2_mixer. Please include it as a dependency and/or remove older sdl dependencies if possible.

dcx commented on 2021-09-20 12:01 (UTC) (edited on 2021-09-20 15:22 (UTC) by dcx)

@izikeros

I updated it now and switch it to stable. I don't think it is correct to add -bin to the name because there is no other stable version for Linux then this. For the same reason s25rttr-nightly-bin should be reduced to s25rttr-nightly and also shorter names are always better I think.