Package Details: 0ad-git 26504-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 development version. WARNING: you will need more than 42 GiB of disk space!
Upstream URL: http://play0ad.com/
Licenses: GPL2, CCPL
Conflicts: 0ad
Provides: 0ad
Submitter: fusion809
Maintainer: tuxayo
Last Packager: tuxayo
Votes: 5
Popularity: 0.000760
First Submitted: 2016-09-09 11:31 (UTC)
Last Updated: 2021-07-09 21:32 (UTC)

Latest Comments

tuxayo commented on 2021-07-04 16:19 (UTC) (edited on 2021-07-04 16:21 (UTC) by tuxayo)

Thanks Brenton for trusting me with the package and for the past work.

So I just pushed the following main changes:

  • various fixes so package builds again
  • keep debug symbols
  • add the option for a debug build

Tell me if I broke something. Feel free to review the changes, feedback very welcome about AUR and C++ build best practices.

Enjoy the game and thanks for testing the upcoming release :)

FastCar commented on 2020-12-16 00:27 (UTC)

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 (UTC) (edited on 2020-06-28 18:20 (UTC) by TheCloudt)

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 (UTC)

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 (UTC) (edited on 2019-12-11 17:00 (UTC) by kozaki)

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 (UTC)

@Sample: please stop spamming these comments.

a36233 commented on 2018-05-18 07:57 (UTC)

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

a36233 commented on 2018-05-17 21:37 (UTC) (edited on 2018-05-17 21:40 (UTC) by a36233)

Reported Upstream possible fix:

$ export SDL2_CONFIG="pkg-config sdl2"

$ sh update-workspaces.sh

fusion809 commented on 2018-05-17 15:52 (UTC)

@a36233, hmm thanks for reporting but this does seem like an upstream bug. Could you report this bug upstream? I personally have no idea how to fix this really, although if someone else knows how to I'll be happy to accept a patch.

a36233 commented on 2018-05-17 15:47 (UTC)

==== Building scriptinterface (release) ==== precompiled.h In file included from ../../../source/lib/sysdep/stl.h:32, from ../../../source/lib/precompiled.h:68, from ../../../source/pch/scriptinterface/precompiled.h:19: /usr/include/c++/8.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated. make[1]: [scriptinterface.make:121: obj/scriptinterface_Release/precompiled.h.gch] Error 1 make: [Makefile:105: scriptinterface] Error 2</stdlib.h>

JeromeS commented on 2017-05-20 04:24 (UTC)

Build fails since the update of icu, with an error in Fcollada. I get plenty of error like this message: /usr/include/unicode/umachine.h:347:13: error: « char16_t » is not a type typedef char16_t UChar; Any idea what I'm doing wrong?

jamincollins commented on 2017-02-05 22:49 (UTC)

@fusion809, if you don't have the tools to properly maintain the package(s) please consider orphaning the package or recruiting a co-maintainer that does have the tools.

fusion809 commented on 2017-02-05 21:52 (UTC)

@jamincollins I would if I still had an Arch Linux system to do this on. I can still do routine maintenance (like bumping package versions, making adjustments to the PKGBUILD, etc.) on my AUR packages but I can't do what you're mentioning as I don't have the tools to build.

jamincollins commented on 2017-02-05 21:37 (UTC)

This package fails to successfully build in a clean chroot. ==8<========================================================================== ... ==> Validating source files with md5sums... 0ad ... Skipped ==> ERROR: Cannot find the git package needed to handle git sources. ==> ERROR: An unknown error has occurred. Exiting... ERROR: Build failed: exit status 1 ==8<========================================================================== The following changes correct this: ==8<========================================================================== diff --git a/PKGBUILD b/PKGBUILD index f4af7da..fe169d4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ license=('GPL2' 'CCPL') depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu' 'gloox' 'miniupnpc' 'icu' 'nspr') -makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm') +makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm' 'git') source=("git+https://github.com/0ad/0ad.git") md5sums=('SKIP') ==8<========================================================================== Please consider testing new package versions by building them in a clean chroot[1], with something like the following: ==8<========================================================================== #!/bin/bash BUILD_CHROOT=~/.local/build-chroot test -d ${BUILD_CHROOT} || \ mkdir -p ${BUILD_CHROOT} test -d ${BUILD_CHROOT}/root && \ arch-nspawn ${BUILD_CHROOT}/root pacman -Syu || \ mkarchroot ${BUILD_CHROOT}/root base-devel makechrootpkg -c -n -T -u -r ${BUILD_CHROOT} -- --cleanbuild ==8<========================================================================== [1] - https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

fusion809 commented on 2016-11-09 07:42 (UTC)

@cRaZy-bisCuiT git packages shouldn't be flagged as out of date because they are automatically updated to the latest version whenever you build them!

fusion809 commented on 2016-10-21 18:04 (UTC)

@Imat, never heard of it. Guessin' it clones the repo with only the top-level contents? If it omits any part of the repo's contents my guess is no. Most git repos try to only include vital components, so if you strip anything from them it will likely lead to problems.

lmat commented on 2016-10-21 17:59 (UTC)

Is it possible to use a shallow clone? (git clone --depth 1; or whatever)