Package Details: widelands-bzr r7282-2

Package Base: widelands-bzr
Description: A realtime strategy game with emphasis on economy and transport - development version
Upstream URL: http://wl.widelands.org
Category: games
Licenses: GPL2
Conflicts: widelands, widelands-data
Provides: widelands
Submitter: matthiaskrgr
Maintainer: gamag
Last Packager: gamag
Votes: 2
First Submitted: 2012-04-21 17:53
Last Updated: 2014-12-04 20:00

Dependencies (9)

Required by (0)

Sources

  • changelog

Latest Comments

Comment by gamag

2014-11-28 09:31

Fixed. Upstream changed path management in build system without me noticing it. You may need to delete the build directory if cmake fails.

Comment by kaputtnik

2014-11-26 18:09

Works fine :-)

exept: The executables are stored in directory /usr

Comment by gamag

2014-11-15 08:44

It's hopefully working now.

Comment by gamag

2014-02-27 19:18

Upstream no longer depends on lua (since bzr rev 6829).

Comment by TiborB

2013-11-02 22:22

Well, I managed to compile it - though without PKGBUILD, the procedure is like this:

#Uninstall LUA, and have LUA51 installed.
$bzr branch lp:widelands
$cd widelands
$sed -i "1 i #include <unistd.h>" src/main.cc
$sed -i "/Boost_USE_STATIC_LIBS/d" CMakeLists.txt
$test -d build/compile && rm -rf build/compile/* #not relevant for PKGBUILD as there will be no residuals from previous compilation
$mkdir -p build/compile && cd build/compile

$cmake ../.. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/bla/bla/ \
-DWL_INSTALL_PREFIX=/bla/bla/ \
-DWL_INSTALL_DATADIR=share/widelands \
-DWL_INSTALL_BINDIR=bin |

$make install # I install directly to final location

Hope it helps :)

Comment by TiborB

2013-10-26 22:05

nevermind, I will keep trying..

Comment by matthiaskrgr

2013-10-26 21:53

well, thats as far as I got... :/

Comment by TiborB

2013-10-26 21:52

I found that I have LUA51 installed - still no success.

Comment by matthiaskrgr

2013-10-26 21:22

There is a seperate lua51 package which can be installed next to 5.2.
I can't uninstall lua (5.2) because I have quite some dependencies on it so I can't tell if there are/will be other problems or not.

Comment by TiborB

2013-10-26 21:20

I have current LUA (v. 5.2.2).
So I should downgrade and it will compile or there is another problem except the problem with LUA?

Comment by matthiaskrgr

2013-10-26 21:10

Actually this should be a problem of the PKGBUILD, however if you have lua 5.2 installed, the build will fail anyway, I'm waiting for an upstream fix for that since several months now...

Comment by TiborB

2013-10-26 21:03

Now it fails with:

patching file src/main.cc
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file src/main.cc.rej

I understand this is not a problem of PKGBUILD, I will keep trying... Thanks

Comment by matthiaskrgr

2013-10-25 20:09

Mmh no idea. Maybe try again later?
I had cloned the repo some time ago and pulling still seems to work.

Comment by TiborB

2013-10-25 19:20

Hi,

it failed with:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: No such file: 'http://bazaar.launchpad.net/~widelands-dev/widelands/trunk/.bzr/repository/pack-names'

Any idea what is wrong?

Comment by matthiaskrgr

2013-05-01 12:50

widelands does only build with lua 5.1 (it fails if you have 5.2 and 5.1 installed).

I'm waiting for an upstream fix.

Comment by MelTraX

2013-04-28 20:30

Compilation fails at the moment:

[ 82%] Building CXX object src/CMakeFiles/widelands_all.dir/logic/worker_descr.cc.o
In file included from /tmp/yaourt-tmp-meltrax/aur-widelands-bzr/src/widelands-build/src/logic/worker_descr.cc:37:0:
/tmp/yaourt-tmp-meltrax/aur-widelands-bzr/src/widelands-build/src/scripting/pdep/llimits.h:18:9: error: ‘LUAI_UINT32’ does not name a type
typedef LUAI_UINT32 lu_int32;
^
/tmp/yaourt-tmp-meltrax/aur-widelands-bzr/src/widelands-build/src/scripting/pdep/llimits.h:47:9: error: ‘LUAI_USER_ALIGNMENT_T’ does not name a type
typedef LUAI_USER_ALIGNMENT_T L_Umaxalign;
^
/tmp/yaourt-tmp-meltrax/aur-widelands-bzr/src/widelands-build/src/scripting/pdep/llimits.h:88:9: error: ‘lu_int32’ does not name a type
typedef lu_int32 Instruction;
^
make[2]: *** [src/CMakeFiles/widelands_all.dir/logic/worker_descr.cc.o] Error 1
make[1]: *** [src/CMakeFiles/widelands_all.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().