Package Details: return-to-the-roots-git r4737.842d4d9a2-1

Git Clone URL: https://aur.archlinux.org/return-to-the-roots-git.git (read-only, click to copy)
Package Base: return-to-the-roots-git
Description: Free/libre implementation of The Settlers II game engine
Upstream URL: https://siedler25.org/
Licenses: GPL3
Conflicts: return-to-the-roots, s25rttr, s25rttr-nightly-bin
Provides: return-to-the-roots
Submitter: Peuc
Maintainer: Peuc
Last Packager: Peuc
Votes: 2
Popularity: 0.000000
First Submitted: 2018-02-15 15:48
Last Updated: 2020-12-02 21:39

Required by (3)

Sources (15)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Peuc commented on 2018-08-23 15:43

At build time, we don't have much information on CPU used to run the game beside it's x86-64 - so can't do anything with RTTR_OPTIMZATION_TUNE. Concerning RTTR_OPTIMZATION_VECTOR_EXT, GCC will auto-enable SSE and SSE2.

dreieck commented on 2018-08-22 21:08

Yes, thanks.

Btw., it seems that the cmake-options -DRTTR_OPTIMZATION_TUNE and -DRTTR_OPTIMZATION_VECTOR_EXT do not get automatically set to what the system where it is compiled on provides. Maybe there is a way to automatically detect the best settings in the build()-function?

Peuc commented on 2018-08-22 18:48

Updated, it should work again.

dreieck commented on 2018-08-22 16:46

There is no build/-directory in $srcdir/s25rttr by default, but the build()-function expects one.

Please make sure it get's created before, e.g. in prepare() or at the beginning of build().

Also, there is no cmake.sh.

Peuc commented on 2018-02-16 19:00

Fixed, thanks.

klemens commented on 2018-02-16 18:07

This needs a dependency on libgl (and a make-dependency on mesa), otherwise it does not compile for me:

Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

Peuc commented on 2018-02-15 15:53

Sure, create a new -git package for me to merge this one into and I will merge the comments + votes.

Done. Thanks for your help!

but if the software itself is written to depend on the name of an sh file (weird!)

Not the software itself, their (english written) documentation.

eschwartz commented on 2018-02-15 11:58

Sure, create a new -git package for me to merge this one into and I will merge the comments + votes.

re: rttr.sh, people should be able to figure out that /usr/bin/rttr is the same thing, but if the software itself is written to depend on the name of an sh file (weird!) then maybe it isn't worth the effort to fix this properly, and similarly for tracking the cmake.sh args -- although for my own packages I would. ;) I guess that is your call, anyway. They were somewhat subjective comments.

Peuc commented on 2018-02-15 06:51

Please fix this package to use a static release rather than the latest git master.

I'm not interested in maintaining a package for static releases.

The package is currently in violation of AUR guidelines. If you wish, you or anyone else can additionally upload a "return-to-the-roots-git" package that pulls from the latest git master.

Since you're TU, can you please rename this current package to "return-to-the-roots-git", so we can also keep comments history?

As Lucki's proposed PKGBUILD pointed out, if you are using git to download the sources you need to download that in source=() and tell git to reference those downloaded versions

Fixed.

This cmake.sh file looks really ugly

Indeed.

you can probably just use cmake directly rather than first using sed on a really badly written script. Just change all the --FOO= to -DFOO=

As written in comment, this not less ugly sed is just a workaround for a recent upstream bug - which I must admit I've not reported yet. However I prefer to stick with documented build procedure instead of inventing my own.

You should remove rttr.sh, and create a symlink to s25client instead.

Having a .sh file linking to a binary doesn't exactly look like a brilliant idea… I agree this script file is completely useless, but game documentation refers to it, so I must provide it with the package. As it, it's bare minimum to launch the game.

eschwartz commented on 2018-02-14 22:02

Please fix this package to use a static release rather than the latest git master. Either download the release archive or checkout a specific tag as described by the "USING VCS SOURCES" section of the PKGBUILD(5) manpage. The package is currently in violation of AUR guidelines. If you wish, you or anyone else can additionally upload a "return-to-the-roots-git" package that pulls from the latest git master.

As Lucki's proposed PKGBUILD pointed out, if you are using git to download the sources you need to download that in source=() and tell git to reference those downloaded versions, see https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_Submodules

This cmake.sh file looks really ugly, you can probably just use cmake directly rather than first using sed on a really badly written script. Just change all the --FOO= to -DFOO=

You should remove rttr.sh, and create a symlink to s25client instead.