Package Details: unknown-horizons 2014.1-1

Git Clone URL: https://aur.archlinux.org/unknown-horizons.git (read-only)
Package Base: unknown-horizons
Description: 2D realtime strategy simulation with an emphasis on economy and city building.
Upstream URL: http://www.unknown-horizons.org/
Licenses: GPL, CCPL
Conflicts: unknown-horizons-git, unknown-horizons-svn
Submitter: biginoz
Maintainer: ChrisOelmueller
Last Packager: ChrisOelmueller
Votes: 67
Popularity: 0.690239
First Submitted: 2010-08-17 18:05
Last Updated: 2015-06-11 06:57

Latest Comments

ChrisOelmueller commented on 2015-08-14 08:15

Hi,

it should be available again now, though I'll be unable to properly test it myself until late this weekend. Hope this still helps!

All the best,
Chris

BrilliantByrd commented on 2015-08-09 15:26

fife-git isn't in the AUR :(. Chris, help?

ChrisOelmueller commented on 2015-01-02 22:14

New release!

(2014.1)
[pkgrel 1] - new release, require fife-git (see below) plus fix for color overlays w/atlases

ChrisOelmueller commented on 2014-10-23 21:27

Thanks!
The issue appears to have been introduced with the upgrade to SWIG 3. I personally had not upgraded due to similar issues with SWIG updates in the past and thus been unable to reproduce.
Indeed fife-git has fixed the problem and should work with unknown-horizons-git as you mentioned. I am not sure if the combination (unknown-horizons / fife-git) also works.
If fife-git plays nicely, I'd prefer requiring that over more patching for 0.3.5 myself. If it does not, I could wait for a new FIFE release, which is unlikely to happen soon, or apply your workaround to the package untested.

bby commented on 2014-10-23 21:11

Temporary workaround for the issue below:

Comment out (Add a # at the start) the following lines in
/usr/lib/python2.7/site-packages/fife/fife.py

3233
3954
3743
4871

More technically it appears there is some issue in swig passing a bool through an *args array.

unknown-horizons-git (dependent on fife-git) is unaffected.

balduin commented on 2014-09-27 12:18

I have downloaded the package and installed, but I got this error message!

unknown-horizons
libpng warning: iCCP: known incorrect sRGB profile
Traceback (most recent call last):
File "/usr/bin/unknown-horizons", line 473, in <module>
main()
File "/usr/bin/unknown-horizons", line 283, in main
ret = horizons.main.start(options)
File "/usr/lib/python2.7/site-packages/horizons/main.py", line 179, in start
horizons.globals.fife.init()
File "/usr/lib/python2.7/site-packages/horizons/engine/engine.py", line 159, in init
self._setting.apply()
File "/usr/lib/python2.7/site-packages/horizons/engine/settings.py", line 87, in apply
change_language(language)
File "/usr/lib/python2.7/site-packages/horizons/i18n/__init__.py", line 125, in change_language
horizons.globals.fife.pychan.loadFonts(fontdef)
File "/usr/lib/python2.7/site-packages/fife/extensions/pychan/fonts.py", line 88, in loadFonts
for font in Font.loadFromFile(filename):
File "/usr/lib/python2.7/site-packages/fife/extensions/pychan/fonts.py", line 73, in loadFromFile
fonts.append( Font(name,_get) )
File "/usr/lib/python2.7/site-packages/fife/extensions/pychan/fonts.py", line 46, in __init__
self.font.setAntiAlias(self.antialias)
File "/usr/lib/python2.7/site-packages/fife/fife.py", line 3233, in setAntiAlias
return _fife.GuiFont_setAntiAlias(self, *args)
TypeError: in method 'GuiFont_setAntiAlias', argument 2 of type 'bool'
AL lib: (EE) alc_cleanup: 1 device not closed

ChrisOelmueller commented on 2014-08-19 13:10

(Sorry again about this prolonged period of silence.)

Were any of you using `fife-svn` or `fife-git` packages to provide fife? (If you're still using the now-deleted `fife-svn`, make sure to upgrade to `fife` sometime.) For now I've added

[pkgrel 6] - an ugly hack to require non-git fife

but still can't reproduce these issues on my system. If nothing else helps, perhaps try `unknown-horizons-git` and `fife` packages.

pulsar68 commented on 2014-05-29 06:57

Same here

skiwi commented on 2014-05-17 14:04

I get the same error as tacloban.

tacloban commented on 2014-04-24 05:49

maybe I have a font issue?

tacloban commented on 2014-04-24 05:46

Tried the latest from AUR, 2013.3-5, getting a different error now:


libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Traceback (most recent call last):
File "/usr/bin/unknown-horizons", line 473, in <module>
main()
File "/usr/bin/unknown-horizons", line 283, in main
ret = horizons.main.start(options)
File "/usr/lib/python2.7/site-packages/horizons/main.py", line 179, in start
horizons.globals.fife.init()
File "/usr/lib/python2.7/site-packages/horizons/engine/engine.py", line 159, in init
self._setting.apply()
File "/usr/lib/python2.7/site-packages/horizons/engine/settings.py", line 87, in apply
change_language(language)
File "/usr/lib/python2.7/site-packages/horizons/i18n/__init__.py", line 125, in change_language
horizons.globals.fife.pychan.loadFonts(fontdef)
File "/usr/lib/python2.7/site-packages/fife/extensions/pychan/fonts.py", line 88, in loadFonts
for font in Font.loadFromFile(filename):
File "/usr/lib/python2.7/site-packages/fife/extensions/pychan/fonts.py", line 73, in loadFromFile
fonts.append( Font(name,_get) )
File "/usr/lib/python2.7/site-packages/fife/extensions/pychan/fonts.py", line 46, in __init__
self.font.setAntiAlias(self.antialias)
File "/usr/lib/python2.7/site-packages/fife/fife.py", line 3233, in setAntiAlias
return _fife.GuiFont_setAntiAlias(self, *args)
TypeError: in method 'GuiFont_setAntiAlias', argument 2 of type 'bool'
AL lib: (EE) alc_cleanup: 1 device not closed

ChrisOelmueller commented on 2014-04-21 23:05

After some debugging and testing in #unknown-horizons:

[pkgrel 5] - patch a couple of lines that might break with fife 0.3.5

Hopefully that fixes the issue reported some weeks ago (sorry about the delay).

tacloban commented on 2014-04-06 15:33

I get this when trying to run this version, 2013.3-4:


Traceback (most recent call last):
File "/usr/bin/unknown-horizons", line 473, in <module>
main()
File "/usr/bin/unknown-horizons", line 283, in main
ret = horizons.main.start(options)
File "/usr/lib/python2.7/site-packages/horizons/main.py", line 102, in start
horizons.globals.fife = Fife()
File "/usr/lib/python2.7/site-packages/horizons/engine/engine.py", line 50, in __init__
self.init_logging()
File "/usr/lib/python2.7/site-packages/horizons/engine/engine.py", line 124, in init_logging
self._setting.get(SETTINGS.FIFE_MODULE, "LogToFile", "0"))
File "/usr/lib/python2.7/site-packages/fife/extensions/fifelog.py", line 42, in __init__
self.lm.setLogToPrompt(promptlog)
File "/usr/lib/python2.7/site-packages/fife/fife.py", line 12721, in setLogToPrompt
return _fife.LogManager_setLogToPrompt(self, *args)
TypeError: in method 'LogManager_setLogToPrompt', argument 2 of type 'bool'

ChrisOelmueller commented on 2014-01-03 20:33

Which version of Fife is installed? Any debug output from UH?

NebuPookins commented on 2013-12-31 18:25

When I try to run this game, I get a dialog box that says "Failed to find and/or load FIFE."

ChrisOelmueller commented on 2013-10-09 15:34

Good catch, thanks!

[pkgrel 4] - update source, add intltool dependency

LinuxDonald commented on 2013-10-09 12:29

warning: _build_i18n: Can't generate desktop files, needs intltool-merge. Try installing the package 'intltool'.

I think intltool should added to the needed deps. After Install

Merging translations into build/share/applications/unknown-horizons.desktop.

ChrisOelmueller commented on 2013-10-06 17:49

(2013.3)
[pkgrel 1] - Replace whole PKGBUILD with two `package` lines; use pre-release tag 2013.3.
[pkgrel 2] - Replace `python2-imaging` dependency with `python2-pillow`; use final release tag 2013.3.
[pkgrel 3] - Remove `openanno` conflict (never existed as package)

I *really* recommend to use `fife-git` instead of the currently outdated and apparently unmaintained `fife` (or to build Fife 0.3.5 yourself). There are many segfaults and otherwise unconvenient crashes that 0.3.5 fixes as opposed to 0.3.4.

ChrisOelmueller commented on 2013-10-01 12:28

I'll update the package once 2013.3 exists, as I'm planning to get rid of precisely all the old cruft with what's attached below, and don't particularly feel like testing that current mess. I'd be happy about feedback for why anything of the current stuff should be kept, though :)

package() {
cd "$srcdir/$pkgname"
python2 setup.py --quiet install --root="$pkgdir" --optimize=1
}

hav3lock commented on 2013-10-01 03:34

please add package() to the PKGBUILD.

Harey commented on 2013-04-11 08:53

2013.2 is out

Anonymous comment on 2012-11-16 15:53

Thanks,

I will try those two out.

ChrisOelmueller commented on 2012-11-16 06:47

That's related to the fife version 2012.1 shipped with. We're preparing another release currently -- unknown-horizons-git (and the corresponding fife-svn) might be of interest if you'd like to have the issue fixed right now: https://aur.archlinux.org/packages/unknown-horizons-git/

Anonymous comment on 2012-11-16 01:59

When I run this in console.
I get the following:

swig/python detected a memory leak of type 'FIFE::MouseEvent *', no destructor found.

Is there a fix for this?

nihathrael commented on 2012-04-24 20:42

Updated to 2012.1.

TZ86 commented on 2012-04-24 03:50

http://www.unknown-horizons.org/devblog/70/114/Unknown-Horizons-2012-1-Release/

nihathrael commented on 2011-12-04 17:11

Adopted by me, updated to 2011.3

schuay commented on 2011-12-02 23:37

unknown-horizons is now orphaned, feel free to adopt.

schuay commented on 2011-11-28 07:24

No.

macxcool commented on 2011-11-28 00:16

BTW, does a package get orphaned automatically 3 weeks after being flagged out-of-date?

ChrisOelmueller commented on 2011-11-27 22:31

Either me or nihathrael would certainly adopt it (we currently maintain unknown-horizons-git anyways - https://aur.archlinux.org/packages.php?ID=40274).

ChrisOelmueller commented on 2011-11-27 22:29

Either me or nihathrael would certainly adopt it (we currently maintain unknown-horizons-git anyways - https://aur.archlinux.org/packages.php?ID=40274).

macxcool commented on 2011-11-27 21:07

Does someone have plans to adopt it? I'm tempted to just install the thing ;-) but I hate to do that. I don't understand the reason for a lot of the things in the PKGBUILD though.

schuay commented on 2011-11-26 12:53

This package will be orphaned if it isn't updated until Dec 3rd (which is a week from now and 3 weeks since being marked out of date).

ChrisOelmueller commented on 2011-11-11 22:48

New release 2011.3 of Unknown Horizons is out.

To run with the API changes of the current FIFE release available through AUR, an update to 2011.3 is *required*.

ChrisOelmueller commented on 2011-11-02 17:23

This happens because FIFE had a fresh release recently, API not backwards compatible, and UH will follow up on this shortly -- about next week if everything works as expected.

If you want to test the code (which is in RC state right now), check out the AUR package unknown-horizons-git!

Anonymous comment on 2011-11-02 17:19

$ unknown-horizons
Traceback (most recent call last):
File "/usr/bin/unknown-horizons", line 422, in <module>
main()
File "/usr/bin/unknown-horizons", line 185, in main
import horizons.main
File "/usr/lib/python2.7/site-packages/horizons/main.py", line 43, in <module>
from horizons.util import ActionSetLoader, TileSetLoader, Color, parse_port
File "/usr/lib/python2.7/site-packages/horizons/util/__init__.py", line 35, in <module>
from sqliteanimationloader import SQLiteAnimationLoader
File "/usr/lib/python2.7/site-packages/horizons/util/sqliteanimationloader.py", line 28, in <module>
class SQLiteAnimationLoader(fife.ResourceLoader):
AttributeError: 'module' object has no attribute 'ResourceLoader'

narendiran commented on 2011-09-11 10:08

Got this error during installation

==> Making package: unknown-horizons 2011.2-1 (Sun Sep 11 15:34:05 IST 2011)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: fife
==> ERROR: 'pacman' failed to install missing dependencies.

ChrisOelmueller commented on 2011-07-03 20:36

The settings file located in ~/.unknown-horizons/settings.xml should be removed with major updates. Afterwards 2011.2 will properly start.

ChrisOelmueller commented on 2011-07-03 20:31

The settings file located in ~/.unknown-horizons/settings.xml should be removed with major updates. Afterwards 2011.2 will properly start.

ajs124 commented on 2011-07-03 13:01

http://pastebin.com/Mc0m98wM
update to 2011.2 but fails with:
Updating settings.xml to the default, it is missing the entry: EdgeScrolling for module unknownhorizons
Traceback (most recent call last):
File "/usr/bin/unknown-horizons", line 422, in <module>
main()
File "/usr/bin/unknown-horizons", line 189, in main
ret = horizons.main.start(options)
File "/usr/lib/python2.7/site-packages/horizons/main.py", line 86, in start
fife = Fife()
File "/usr/lib/python2.7/site-packages/horizons/engine.py", line 84, in __init__
self._setup_settings()
File "/usr/lib/python2.7/site-packages/horizons/engine.py", line 126, in _setup_settings
self._setting.createAndAddEntry(UH_MODULE, "EdgeScrolling", "edgescrolling")
File "/usr/lib/python2.7/site-packages/fife/extensions/fife_settings.py", line 197, in createAndAddEntry
self.addEntry(entry)
File "/usr/lib/python2.7/site-packages/fife/extensions/fife_settings.py", line 212, in addEntry
self.setDefaults()
File "/usr/lib/python2.7/site-packages/horizons/engine.py", line 73, in setDefaults
confirmed = horizons.main._modules.gui.show_popup(title, msg, \
AttributeError: 'NoneType' object has no attribute 'show_popup'

nihathrael commented on 2011-04-18 21:28

Please update to 2011.1, files are available on sourceforge.

ajs124 commented on 2010-10-20 17:55

update to new python path (because python3 default)

acoolon commented on 2010-10-11 07:42

please change line 11 'python-distultils-extra' to 'python-distutils-extra'
and there is no 'fife' package, but 'fife-svn'

acoolon commented on 2010-10-11 07:14

please change line 11 'python-distultils-extra' to 'python-distutils-extra'

ajs124 commented on 2010-10-03 09:54

http://aur.pastebin.com/8GwyDk0q
updated to version 2010.1...

biginoz commented on 2010-08-23 13:42

updated for symlink i delete the command, but I have a bug because the version for archlinux is 1.43 and unkhown want 1.40.

dcelasun commented on 2010-08-18 09:15

This is one of the worst PKGBUILDs I've seen in a long time.

1) You have included python-yaml dependency 2 times.
2) You need to have sdl_ttf as a dependency.
3) Most importantly, NEVER EVER EVER, symlink different versions of libraries. Either wait for the library to get updated in the repos, or provide another AUR package that provides the version you require.

dogmatist commented on 2010-08-18 08:11

Failed to load fife: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory

add to dependencies "sdl_ttf"