Package Details: warzone2100-git r21036.ee69edc10-1

Git Clone URL: https://aur.archlinux.org/warzone2100-git.git (read-only, click to copy)
Package Base: warzone2100-git
Description: 3D realtime strategy game on a future Earth (Git version)
Upstream URL: https://wz2100.net/
Keywords: game
Licenses: GPL-2.0-only AND CC-BY-SA-3.0 AND CC0-1.0 AND MIT AND ISC AND BSD-2-Clause AND BSD-3-Clause AND MPL-2.0 AND BSL-1.0 AND Unicode-TOU AND OFL-1.1 AND CC-BY-4.0
Conflicts: warzone2100
Provides: warzone, warzone-svn, warzone2100, warzone2100-beta
Submitter: disastro
Maintainer: disastro
Last Packager: disastro
Votes: 10
Popularity: 0.000000
First Submitted: 2010-11-28 08:49 (UTC)
Last Updated: 2025-07-23 20:50 (UTC)

Required by (1)

Sources (30)

Latest Comments

1 2 3 4 5 6 Next › Last »

psypherium commented on 2025-07-25 21:32 (UTC) (edited on 2025-07-25 21:56 (UTC) by psypherium)

I thank you :) Last time I looked there were a lot of reds in your list of maintained packages, I had assumed you had gone missing, but you have done good work cleaning up. I closed the request.

disastro commented on 2025-07-23 20:56 (UTC) (edited on 2025-07-23 21:24 (UTC) by disastro)

PKGBUILD updated, game launches and plays but let me know if you have any problems.

This package was marked out-of-date for a total of four days, not five years like your orphan request seems to suggest.

psypherium commented on 2025-07-21 14:24 (UTC) (edited on 2025-08-15 09:46 (UTC) by psypherium)

"git submodule update" is no longer used.

"git -c protocol.file.allow=always submodule update" is used instead.

See: https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/YYY6KN2BJH7KR722GF26SEWNXPLAANNQ/

and: https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

Edit: Maintainer has actioned, thank you :)

psypherium commented on 2025-07-19 11:21 (UTC) (edited on 2025-08-15 09:45 (UTC) by psypherium)

Warzone2100 no longer depends on xorg-xrandr, qt5-script, or glew. See: https://archlinux.org/packages/extra/x86_64/warzone2100/

Also, see comment by ccorn.

Edit: Maintainer has actioned.

ccorn commented on 2022-04-06 10:52 (UTC) (edited on 2022-04-06 12:24 (UTC) by ccorn)

Update source, makedepends; fix build, package:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,16 +10,34 @@ arch=('i686' 'x86_64')
 url="http://wz2100.net/"
 license=('GPL')
 depends=('qt5-script' 'sdl2' 'libtheora' 'openal' 'libvorbis' 'physfs' 'ttf-dejavu' 'glew' 'fribidi' 'xorg-xrandr' 'miniupnpc' 'libsodium')
-makedepends=('zip' 'unzip' 'git' 'asciidoc' 'cmake' 'ninja')
+makedepends=('zip' 'unzip' 'git' 'cmake' 'ninja' 'asciidoctor' 'vulkan-headers' 'shaderc')
 provides=('warzone' 'warzone2100' 'warzone-svn' 'warzone2100-beta')
 conflicts=('warzone2100')
 source=('git+https://github.com/Warzone2100/warzone2100.git'
+        'git+https://github.com/Warzone2100/data-texpages.git'
+        'git+https://github.com/Warzone2100/data-music.git'
+        'git+https://github.com/past-due/EmbeddedJSONSignature.git'
+        'git+https://github.com/SRombauts/SQLiteCpp.git'
+        'git+https://github.com/HowardHinnant/date.git'
+        'git+https://github.com/past-due/discord-rpc.git'
+        'git+https://github.com/fmtlib/fmt.git'
         'git+https://github.com/g-truc/glm.git'
+        'git+https://github.com/past-due/launchinfo.git'
         'git+https://github.com/miniupnp/miniupnp.git'
-        'git+https://github.com/BrianGladman/sha.git'
+        'git+https://github.com/google/re2.git'
+        'git+https://github.com/cameron314/readerwriterqueue.git'
         'git+https://github.com/JuliaStrings/utf8proc.git'
         'git+https://github.com/nemtrif/utfcpp.git')
 sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
@@ -35,19 +53,29 @@ prepare() {
   cd "$srcdir/$_gitname"

   git submodule init
+  git config submodule.data/base/texpages.url "$srcdir/data-texpages"
+  git config submodule.data/music.url "$srcdir/data-music"
+  git config submodule.3rdparty/EmbeddedJSONSignature.url "$srcdir/EmbeddedJSONSignature"
+  git config submodule.3rdparty/SQLiteCpp.url "$srcdir/SQLiteCpp"
+  git config submodule.3rdparty/date.url "$srcdir/date"
+  git config submodule.3rdparty/discord-rpc.url "$srcdir/discord-rpc"
+  git config submodule.3rdparty/fmt.url "$srcdir/fmt"
   git config submodule.3rdparty/glm.url "$srcdir/glm"
+  git config submodule.3rdparty/launchinfo.url "$srcdir/launchinfo"
   git config submodule.3rdparty/miniupnp.url "$srcdir/miniupnp"
-  git config submodule.3rdparty/sha.url "$srcdir/sha"
+  git config submodule.3rdparty/re2.url "$srcdir/re2"
+  git config submodule.3rdparty/readerwriterqueue.url "$srcdir/readerwriterqueue"
   git config submodule.3rdparty/utf8proc.url "$srcdir/utf8proc"
   git config submodule.3rdparty/utfcpp.url "$srcdir/utfcpp"
   git submodule update
 }

 build() {
-  cmake -B build -S "$_gitname" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -GNinja ../warzone2100
+  cmake -B build -S "$_gitname" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -GNinja
   ninja -C build
 }

 package() {
   DESTDIR="$pkgdir" ninja -C build install
+  rm -f "$pkgdir/usr/bin/.portable"     # https://github.com/Warzone2100/warzone2100/issues/2645
 }

gameslayer commented on 2021-03-02 23:53 (UTC)

Can you add aarch64 to the pkgbuild build file please

arch=('i686' 'x86_64' 'armv7h' 'aarch64')

disastro commented on 2020-07-07 13:02 (UTC)

CMake and Ninja now used for building as per upstream, please report any issues

<deleted-account> commented on 2020-03-11 05:14 (UTC)

configure: error: *** This build toolchain is deprecated (and will be removed) - please use the CMake build toolchain. (If you really want to ignore this for now, specify: --enable-promise-to-use-cmake) ***

It seems warzone2100 isn't going to use autotools anymore, and has switched to CMake. The package should be updated for that.

Forgon commented on 2018-03-21 11:36 (UTC) (edited on 2019-06-09 10:15 (UTC) by Forgon)

After fetching the source code repository, it is necessary to execute git submodule update --init --recursive within it.

The PhysFS patches are out-of-date and should be removed. Also, support for the Qt backend has been deprecated in favor of SDL.

disastro commented on 2018-01-10 10:59 (UTC)

@Forgon Thank you for the suggestions. Not using https for git is a remnant from the past, I'll change that.

As for the debugging, I've thought about this long and hard already and also discussed this in IRC and this is the way I am happy with for now. makepkg will strip debug symbols by default, and the package, even if -git, isn't meant to be a debug package. Anyone can remove --disable-debug themselves and add the necessary makepkg options when they need debugging.