Package Details: unknown-horizons-git 2019.1.r47.gc196f0704-2

Git Clone URL: https://aur.archlinux.org/unknown-horizons-git.git (read-only, click to copy)
Package Base: unknown-horizons-git
Description: Open source real-time strategy game with the comfy Anno1602 feeling.
Upstream URL: http://www.unknown-horizons.org
Keywords: Anno Game OpenSource Realtime Strategy
Licenses: GPL, CCPL
Conflicts: unknown-horizons
Provides: unknown-horizons
Submitter: nihathrael
Maintainer: Lucki
Last Packager: Lucki
Votes: 53
Popularity: 0.38
First Submitted: 2010-08-26 10:53 (UTC)
Last Updated: 2019-10-16 13:14 (UTC)

Latest Comments

Lucki commented on 2019-07-26 07:59 (UTC) (edited on 2019-07-26 15:05 (UTC) by Lucki)

Please create the following directory, try again and also report back if that fixes your problem you've might found a bug in their build script:

/home/tepiloxtl/.cache/yay/unknown-horizons-git/src/python/.config

I'm actually a bit confused I'm not running into this error in a clean chroot build. The folder doesn't exist there either.

Edit: Are you sure you're on the latest commit? The line in question got fixed 7 months ago and differs from your quoted error message.

tepiloxtl commented on 2019-07-25 20:18 (UTC) (edited on 2019-07-25 20:19 (UTC) by tepiloxtl)

Im unable to build this package right now with error in build:

==> Starting build()...
Traceback (most recent call last):
  File "horizons/engine/generate_atlases.py", line 70, in <module>
    from horizons.constants import PATHS # isort:skip
  File "/usr/lib/python3.7/site-packages/horizons/constants.py", line 596, in <module>
    _config_dir, _data_dir, _cache_dir = get_user_game_directories()
  File "/usr/lib/python3.7/site-packages/horizons/util/platform.py", line 104, in get_user_game_directories
    os.mkdir(config_dir)
FileNotFoundError: [Errno 2] No such file or directory: '/home/tepiloxtl/.cache/yay/unknown-horizons-git/src/python/.config/unknown-horizons'
==> ERROR: A failure occurred in build().
    Aborting...

(This has been run manually after yay failed to build this package too)

FredBezies commented on 2019-04-28 21:03 (UTC) (edited on 2019-04-28 21:04 (UTC) by FredBezies)

Here is a modified PKGBUILD:

# Maintainer: Lucki <https://aur.archlinux.org/account/Lucki>
# Contributor: Chris Oelmueller <chris.oelmueller@gmail.com>
# Contributor: Thomas Kinnen <thomas.kinnen@gmail.com>
# Contributor: Thomas Kowaliczek-Schmer <thomas.kowaliczek@posteo.de>

pkgname=unknown-horizons-git
pkgver=2019.r43.gc2eee6a20
pkgrel=1
pkgdesc="Open source real-time strategy game with the comfy Anno1602 feeling."
arch=('any')
url="http://www.unknown-horizons.org"
license=('GPL' 'CCPL')
depends=('fife' 'python-yaml' 'python-pillow' 'python-future')
makedepends=('git' 'intltool')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=("git+https://github.com/${pkgname%-git}/${pkgname%-git}.git")
sha512sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    git describe --long --tags | sed -r 's/^v//;s/-dev//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
    cd "$srcdir/${pkgname%-git}"
    HOME=. python setup.py build
}

package() {
    cd "$srcdir/${pkgname%-git}"
    HOME=. python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}

Lucki commented on 2019-02-13 18:23 (UTC)

The current version (2019.1) doesn't get displayed in the version string because the actual tag is in a separate branch. This is the -git version and builds from the master branch which latest tag is sadly 2017.2 but it's actually several commits in front of the 2019.1 tag. So this package is not outdated, pbnoxious.

If you know how I can get the latest tag over multiple branches with a matching filter let me know.

ChrisOelmueller commented on 2017-08-03 17:29 (UTC)

As opposed to…? All I'm aware of is UH installing a symlink to that exact launcher under a name that's easier to memorize. If something is expected to be placed elsewhere during setup process I'd assume the best course of action is asking about a change in that process upstream – the package simply trusts those definitions are correct and executes them. But I didn't understand the expected behavior from your comment just yet, so you might have to clarify a bit: What would you like to happen but didn't?

commented on 2017-08-03 15:53 (UTC)

This package does not install the run_uh.py script.

balduin commented on 2014-09-27 13:28 (UTC)

Works without any problems.

ChrisOelmueller commented on 2014-08-22 14:09 (UTC)

And migrated back to fife-git after the segfaults look like they've been fixed.

ChrisOelmueller commented on 2014-08-19 12:52 (UTC)

Thanks! Updated to fife in lieu of fife-git for stability concerns mentioned before.

arcanis commented on 2014-08-19 05:18 (UTC)

please update dependency list according to the request [1]: fife-svn -> fife-git 1. https://mailman.archlinux.org/pipermail/aur-requests/2014-August/001181.html

hagabaka commented on 2014-04-13 01:38 (UTC)

@ChrisOelmueller The svn repository fife-svn uses seems to be last updated around Feburary 2013. What issues do you see with fife-git?

ChrisOelmueller commented on 2014-04-12 23:32 (UTC)

Probably can work with fife-git as well, but there are several things about it (and fifechan-git) that I'm not confident with requiring right now.

Herk commented on 2014-04-12 20:58 (UTC)

Shouldn't this depend on fife-git instead of fife-svn?

hagabaka commented on 2013-09-30 03:46 (UTC)

The lines in pkgver() and package(): cd "$pkgdir/${pkgname%-*}" should be replaced with: cd "$srcdir/${pkgname%-*}"

OdinEidolon commented on 2013-07-17 15:50 (UTC)

==> WARNING: Using a PKGBUILD without a package() function is deprecated. See wiki for that.

ChrisOelmueller commented on 2013-05-15 21:53 (UTC)

Proposed new PKGBUILD: http://bpaste.net/show/XLic2h42BKqOIPKHfNH1/ (fife-svn should be replaced by fife-git sometime)

theflyingfool commented on 2013-05-15 21:15 (UTC)

I believe that your PKGBUILD should be using the package() function makepkg tells me that using a PKGBUILD without said function is deprecated

weedfreak commented on 2013-01-06 17:41 (UTC)

Still getting the same message, fatal read error from the GIT server though it does seem accessible from a browser.

weedfreak commented on 2013-01-04 16:37 (UTC)

Yes it seems that, I did d/l a lot of stuff first time but now get Connecting to GIT server.... Cloning into 'unknown-horizons'... fatal: read error: Connection reset by peer I'll try again tomorrow.

nihathrael commented on 2013-01-04 16:13 (UTC)

Please try again, that looks like a server issue at github for me.

weedfreak commented on 2013-01-04 11:06 (UTC)

Making package: unknown-horizons-git 20130104-1 (Fri 4 Jan 12:01:08 CET 2013) Cloning into 'unknown-horizons'... fatal: read error: Connection reset by peer ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build unknown-horizons-git.

nihathrael commented on 2012-11-16 08:06 (UTC)

Fixed.

ChrisOelmueller commented on 2012-11-16 06:47 (UTC)

python-imaging is now python2-imaging.

nihathrael commented on 2012-11-01 16:55 (UTC)

Added python-imaging dependency.

stubb commented on 2012-10-28 10:18 (UTC)

Please add python-imaging as dependency. Its needed for the atlas support.

commented on 2012-08-09 11:52 (UTC)

It seems that docbook-xsl is missing from the dependency list.

nihathrael commented on 2012-05-15 18:01 (UTC)

Fixed it, my bad. I've been using co as alias for checkout for years, so I forgot that it is not actually a command. Thanks for reporting!

mfs commented on 2012-05-10 09:18 (UTC)

"co is not a git command" is what I get when I try to install it. Changing "git co run_uh.py" to "git checkout run_uh.py" in solves the problem.

nihathrael commented on 2012-05-08 09:10 (UTC)

I hope this issues is fixed now, I manually revert the run_uh.py file before every update.

mfs commented on 2012-04-12 10:04 (UTC)

I am using this package and have yaourt keep the sources after the build so that I don't have to download the entire GIT repo every time I do an upgrade. But this introduces the following problem: During the package build process, a file called unknown-horizons.6 is created and run_uh.py is modified. As PKGBUILD calls git pull --rebase the next time I do an upgrade, git complains that "you have unstaged changes" and the upgrade fails. So I propose that git pull --rebase be replaced by git pull (in line 25 of the PKGBUILD).

commented on 2011-10-09 10:33 (UTC)

File "/usr/bin/unknown-horizons", line 500, in <module> main() File "/usr/bin/unknown-horizons", line 224, in main ret = horizons.main.start(options) File "/usr/lib/python2.7/site-packages/horizons/main.py", line 91, in start fife = Fife() File "/usr/lib/python2.7/site-packages/horizons/engine.py", line 96, in __init__ self._setup_settings() File "/usr/lib/python2.7/site-packages/horizons/engine.py", line 152, in _setup_settings update_value(modulename, entryname) File "/usr/lib/python2.7/site-packages/horizons/engine.py", line 144, in update_value value = self._setting.get(modulename, entryname) File "/usr/lib/python2.7/site-packages/fife/extensions/fife_settings.py", line 448, in get if self._readSettingsCompleted[module] is not True: KeyError: 'FIFE

caemir commented on 2011-07-21 13:08 (UTC)

[caemir@Archlinux ~]$ unknown-horizons /usr/bin/env: python22: Aucun fichier ou dossier de ce type

commented on 2011-04-03 20:42 (UTC)

python-yaml is now python2-yaml

tsion commented on 2011-02-08 02:54 (UTC)

When I try to install this package with clyde, there is a misspelled dependency, "python-distultils-extra", which it fails to find. It should be spelled "python-distutils-extra", I think.

nihathrael commented on 2010-11-28 16:10 (UTC)

Updated to use python2

commented on 2010-10-29 08:51 (UTC)

Doesn't work now with python 3.

commented on 2010-09-28 16:00 (UTC)

I got the error message: github.com[0: 207.97.227.239]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) Aborting... ==> ERROR: Makepkg was unable to build unknown-horizons-git. with your pkgbuild. changing the _gitroot to "http://github.com/unknown-horizons/unknown-horizons.git" in the pkgbuild solved the problem. here is the new pkbuild: http://aur.pastebin.com/c3uTRxFE

nihathrael commented on 2010-09-17 20:16 (UTC)

Updated because of 2010.1 Version release.

nihathrael commented on 2010-09-01 20:12 (UTC)

Updated, should now work on clean installs as well.