Package Details: ufoai-git 1:2.6.42188.8e2a1a5-1

Git Clone URL: (read-only, click to copy)
Package Base: ufoai-git
Description: In UFO: Alien Invasion you fight aliens trying to capture Earth (dev version)
Upstream URL:
Licenses: GPL
Conflicts: ufoai, ufoai-data
Submitter: Wesley
Maintainer: anthraxx
Last Packager: anthraxx
Votes: 9
Popularity: 0.000000
First Submitted: 2011-01-02 03:58
Last Updated: 2015-06-18 16:12

Latest Comments

1 2 3 4 Next › Last »

Nory commented on 2020-02-07 08:56

Please update this package! The game is now in version 2.5.

jose1711 commented on 2019-07-03 17:26

src/common/xml.cpp: In function ‘mxml_type_t mxml_ufo_type_cb(mxml_node_t*)’:
src/common/xml.cpp:513:14: error: invalid use of incomplete type ‘mxml_node_t’ {aka ‘struct _mxml_node_s’}
  513 |   type = node->;
      |              ^~
In file included from src/common/xml.h:23,
                 from src/common/xml.cpp:26:
/usr/include/mxml.h:97:16: note: forward declaration of ‘mxml_node_t’ {aka ‘struct _mxml_node_s’}
   97 | typedef struct _mxml_node_s mxml_node_t; /**** An XML node. ****/
      |                ^~~~~~~~~~~~
make: *** [Makefile:183: release-linux-x86_64/testall/common/xml.cpp.o] Error 1

costalfy commented on 2019-03-27 22:33

Hi, i have this error ... ==> Lancement de build()… ./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/ make: ./ufo2map: Command not found make: *** [build/modules/ unittest/maps/test_routing.bsp] Error 127 ==> ERREUR : Une erreur s’est produite dans build(). Abandon…

gojun077 commented on 2017-03-25 06:51

Please add lua51 to makedepends:

makedepends=('git' 'python2' 'zip' 'gtksourceview2' 'gtkglext' 'openal' 'lua51')

also please add --with-embedded-lua5.1 to the prepare() function:

prepare() {
cd ${_gitname}
# uncomment the '--enable-uforadiant' line for ufo-radiant (map editor)
./configure --prefix=/usr --datadir=/usr/share/ufoai \
--enable-release --localedir=/usr/share/ufoai/base/i18n/ \
--enable-uforadiant --with-embedded-lua5.1

This will solve lua issues of trying to use lua header files > lua5.1 when building from source. As of 2017.03.25 the default lua version in Archlinux is 5.3

hollunder commented on 2016-04-17 06:06

It seems the exact same issue is still present:
===> CXX [ufo2map] src/ports/unix/unix_main.cpp
In file included from /usr/include/unistd.h:25:0,
from src/ports/unix/unix_main.cpp:26:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/
make: ./ufo2map: Command not found
build/modules/ recipe for target 'unittest/maps/test_routing.bsp' failed
make: *** [unittest/maps/test_routing.bsp] Error 127
make: *** Waiting for unfinished jobs....
src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’:
src/ports/unix/unix_shared.cpp:204:13: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
==> ERROR: A failure occurred in build().

hollunder commented on 2014-09-11 16:00

Seems like there's a build issue:
==> Starting build()...
./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/
make: ./ufo2map: Command not found
build/modules/ recipe for target 'unittest/maps/test_routing.bsp' failed
make: *** [unittest/maps/test_routing.bsp] Error 127
==> ERROR: A failure occurred in build().

anthraxx commented on 2014-01-14 22:03

@greenmanalishi: thx for pointing that out, scheduled to take care of this within the next 24h

greenmanalishi commented on 2014-01-14 18:28

And lua51 is a mandatory dependency

greenmanalishi commented on 2014-01-14 17:22

I believe packages mxml picomodel gtksourceview2 gtkglext gtk2 are optdepends if you want to compile the map editor. Also package cunit for tests.

anthraxx commented on 2013-09-11 22:05

rewritten PKGBUILD with up-to-date git VCS packaging conventions.
- added map-sync target to fetch ufo maps instead of building them
- switched to new version schema
- switched to official github mirror for faster pull