Package Details: 0ad-git 21551-1

Git Clone URL: https://aur.archlinux.org/0ad-git.git (read-only, click to copy)
Package Base: 0ad-git
Description: Cross-platform, 3D and historically-based real-time strategy game — built from git source tree. WARNING: the 0ad git repo is approximately 7 GB in size!
Upstream URL: http://play0ad.com/
Licenses: GPL2, CCPL
Conflicts: 0ad
Provides: 0ad
Submitter: fusion809
Maintainer: fusion809
Last Packager: fusion809
Votes: 4
Popularity: 0.000000
First Submitted: 2016-09-09 11:31
Last Updated: 2020-06-21 18:24

Dependencies (8)

Required by (3)

Sources (1)

Latest Comments

1 2 Next › Last »

tuxayo commented on 2021-06-15 00:01

It build! Can someone else confirm?

== 1 ==

(I changed the dep wxgtk => wxgtk3 because it doesn't exist anymore)

Actually it's wxgtk2 that is needed.

== 2 ==

Also, I had to comment following line in the PKGBUILD

sed -i "s/env python/env python2/g" libraries/source/cxxtest-4.4/bin/cxxtestgen

Otherwise it ends up looking for python23

== 3 == I had an old build directory so I had to clean up to had a successful build. In 0ad-git/src/0ad I removed everything except the .git directory, I guess I could have removed everything. If the last build is recent maybe it's possible to not have to delete all and spare build time. That would have to be tested in the future.

Anyway, the source code and asset don't need to be re downloaded from scratch, that's the most important.

tuxayo commented on 2021-06-14 15:27

I had to rm src/0ad/build/workspaces/gcc/obj/Collada_Release/precompile*

This is likely due to me reusing the old build dir. To avoid downloading many GB. And avoid some of the compilation.

tuxayo commented on 2021-06-14 15:19

Does anyone can build the package? (I changed the dep wxgtk => wxgtk3 because it doesn't exist anymore)

I have this error:

==== Building mocks_real (release) ====
==== Building network (release) ====
==== Building rlinterface (release) ====
==== Building tinygettext (release) ====
==== Building lobby (release) ====
==== Building glooxwrapper (release) ====
==== Building simulation2 (release) ====
==== Building scriptinterface (release) ====
==== Building engine (release) ====
==== Building graphics (release) ====
==== Building atlas (release) ====
==== Building gui (release) ====
==== Building lowlevel (release) ====
==== Building mongoose (release) ====
==== Building Collada (release) ====
StdSkeletons.cpp
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: note: use -Winvalid-pch for more information
<command-line>: fatal error: obj/Collada_Release/precompiled.h: No such file or directory
compilation terminated.
make[1]: *** [Collada.make:163: obj/Collada_Release/StdSkeletons.o] Error 1
make: *** [Makefile:185: Collada] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

FastCar commented on 2020-12-16 00:27

mft is now a dependency for 0ad. SpiderMonkey version has been bumped to 78 and now requires rust for the build process. I guess that means rustup and cargo for make dependencies? Not sure if the PKGBUILD is also expected to install the toolchain if not already installed? Additionally I wonder what "test projects" are? If they're not necessary, compilation time could be reduced by adding --without-tests.

TheCloudt commented on 2020-06-28 18:20

Hi, the current version fails to build with an

undefined reference to `_xmlNode*` FArchiveXML::AddPhysicsParameter<FMVector3, 0>(_xmlNode*, char const*, FCDParameterAnimatableT<FMVector3, 0>&)

error.

There is a fix known at wildfire games namely D2745, I am not aware when this fix will appear in the master branch on git, but in the mean time one can apply D2745 himself by applying the diff located at:

https://code.wildfiregames.com/D2745

tuxayo commented on 2020-05-14 18:40

WARNING: the 0ad git repo is approximately 7 GB in size!

Can someone check the size of the .git directory? To have an idea if not cloning the whole history[1] would save space.

[1] using git clone --depth 1

kozaki commented on 2019-12-11 17:00

WARNING: the 0ad git repo is approximately 3 GB in size!

Actually about 7 GB nowadays:

$ ncdu /PATH/TO/makepkg/0ad-git/src/

 4,0 GiB [##########] /binaries
 2,8 GiB [#######   ] /libraries
35,4 MiB [          ] /build    
14,1 MiB [          ] /source
 4,5 MiB [          ] /...

fusion809 commented on 2018-12-19 13:37

@Sample: please stop spamming these comments.

a36233 commented on 2018-05-18 07:57

./src/0ad/binaries/system/*.so missing on system after installation.

a36233 commented on 2018-05-17 21:37

Reported Upstream possible fix:

$ export SDL2_CONFIG="pkg-config sdl2"

$ sh update-workspaces.sh