Package Details: unknown-horizons 2019.1-4

Git Clone URL: https://aur.archlinux.org/unknown-horizons.git (read-only, click to copy)
Package Base: unknown-horizons
Description: 2D realtime strategy simulation with an emphasis on economy and city building.
Upstream URL: http://www.unknown-horizons.org/
Keywords: Anno Game OpenSource Realtime Strategy
Licenses: GPL, CCPL
Conflicts: unknown-horizons-git
Submitter: biginoz
Maintainer: Lucki
Last Packager: Lucki
Votes: 81
Popularity: 0.000829
First Submitted: 2010-08-17 18:05
Last Updated: 2019-12-31 02:38

Latest Comments

1 2 3 4 5 6 ... Next › Last »

dixi_minga commented on 2019-12-31 02:56

Hi Lucki,

no I don't get the GLX-Error, now it compiles and works. Thank you.

I get some "SyntaxWarnings" in some python-scripts:

"is" with a literal. Did you mean "=="?

but the game starts

Lucki commented on 2019-12-31 02:46

I already had the fixes in place but forgot to push them.

Can you tell me if it runs on your system? I always get a X Error of failed request: GLXBadDrawable, presumably the reason I haven't pushed it yet.

dixi_minga commented on 2019-12-31 02:29

in src/unknown-horizons-2019.1/setup.py I replaced:

if platform.dist()[0].lower() in ('debian', 'ubuntu'):
executable_path = 'games'
else:
executable_path = 'bin'
with:
executable_path = 'bin'
then I were able to compile

dixi_minga commented on 2019-12-31 02:19

Build-Error:

makepkg
==> Making package: unknown-horizons 2019.1-3 (Tue Dec 31 03:06:34 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found unknown-horizons-2019.1.tar.gz
==> Validating source files with sha512sums...
unknown-horizons-2019.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting unknown-horizons-2019.1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
File "setup.py", line 42, in <module>
if platform.dist()[0].lower() in ('debian', 'ubuntu'):
AttributeError: module 'platform' has no attribute 'dist'
==> ERROR: A failure occurred in package().
Aborting...

Lucki commented on 2019-06-09 14:26

Thanks for the heads up. Their build system can't handle the separated build and install steps. While combining both steps again I was finally able to reproduce the missing atlas.sql problem and can confirm the fix by manually invoking the generate_atlases.py which now takes place in the build() function.

lightdot commented on 2019-06-09 00:58

The .xpm is correctly placed into /usr/share/pixmaps/ but the .desktop file is missing from /usr/share/applications. It's there as /usr/share/unknown-horizons/content/packages/unknown-horizons.desktop.in, though.

BTW, builds fine for me, using a clean chroot.

Lucki commented on 2019-05-06 10:09

Please try to rebuild with this added line after line 25 (at the end of the build function): python horizons/engine/generate_atlases.py 2048

I still can't reproduce this in any way, it works here in a clean chroot and in my user setup so it's really hard to get anywhere without knowing whats happening.

Are there any related error messages in the build log? Is the file available in the package?

$ pacman -Ql unknown-horizons | grep atlas.sql
unknown-horizons /usr/share/unknown-horizons/content/atlas.sql
build() {
    cd "$srcdir/$pkgname-$pkgver"
    python setup.py build --quiet
    python horizons/engine/generate_atlases.py 2048
}

robfuscator commented on 2019-05-05 11:28

I keep getting this error:

FileNotFoundError: [Errno 2] No such file or directory: 'content/atlas.sql'

Seems related to: https://github.com/unknown-horizons/unknown-horizons/issues/2892 Maybe there is a way to work around by generating the atlas.sql after installation?

Lucki commented on 2019-04-17 10:43

Is fife available in /usr/lib/python3.7/site-packages/fife/fife.py?

Which package have you installed, fife or fife-git?

raucao commented on 2019-04-17 09:29

Fresh install fails for me, due to dependency not found:

~ $ unknown-horizons Traceback (most recent call last): File "/usr/bin/unknown-horizons", line 381, in <module> main() File "/usr/bin/unknown-horizons", line 109, in main import horizons.main File "/usr/lib/python3.7/site-packages/horizons/main.py", line 41, in <module> from fife import fife as fife_module ModuleNotFoundError: No module named 'fife'