Package Details: trenchbroom-git v2024.1.RC2.r19.gce15d1158-1

Git Clone URL: (read-only, click to copy)
Package Base: trenchbroom-git
Description: TrenchBroom is a modern cross-platform level editor for Quake-engine based games. This will build/install TrenchBroom from the current commits to the main branch of it's GitHub
Upstream URL:
Licenses: GPLv3
Conflicts: trenchbroom
Provides: trenchbroom
Submitter: hrehfeld
Maintainer: hrehfeld (Retro_Gamer)
Last Packager: Retro_Gamer
Votes: 6
Popularity: 0.000803
First Submitted: 2020-04-25 16:26 (UTC)
Last Updated: 2024-02-25 10:50 (UTC)

Latest Comments

1 2 Next › Last »

Retro_Gamer commented on 2024-06-11 17:21 (UTC) (edited on 2024-06-11 17:30 (UTC) by Retro_Gamer)

Just an FYI, make sure to back up your older pkg builds. TrenchBroom is going through another semi major update to the texture code to implement materials in addition to textures. This creates a need for GameConfig.cfg syntax/versioning update. IE if you have any "custom" GameConfigs they will break in current git commits and would need to be updated to incorporate the new syntax changes.

If you are using it as installed and aren't using any custom GameConfigs you should be fine. This message is just for those who do.

pixelsyntax commented on 2023-11-21 11:29 (UTC)

Build fails with error

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find tinyxml2 (missing: tinyxml2_LIBRARY tinyxml2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/packages/tinyxml2-config.cmake:28 (find_package_handle_standard_args)
  vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
  CMakeLists.txt:122 (find_package)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
 -> error making: trenchbroom-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
trenchbroom-git - exit status 4

As per kingthrillgore, build depends on tinyxml2 and built successfully once tinyxml2 was installed.

kingthrillgore commented on 2022-10-02 23:06 (UTC) (edited on 2022-10-02 23:51 (UTC) by kingthrillgore)

Ran into the following issue trying to build using rua:

make[3]: *** [app/CMakeFiles/GenerateManual.dir/build.make:535: app/gen-manual/index.html] Bad system call (core dumped)
make[2]: *** [CMakeFiles/Makefile2:653: app/CMakeFiles/GenerateManual.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:688: app/CMakeFiles/TrenchBroom.dir/rule] Error 2
make: *** [Makefile:384: TrenchBroom] Error 2
==> ERROR: A failure occurred in build().

Full pastebin here:

It also said something about needing tinyxml2 during a build and its not a listed dependency in the PKGBUILD. Installs fine manually with makepkg though.

Retro_Gamer commented on 2022-05-19 12:37 (UTC) (edited on 2022-09-26 12:50 (UTC) by Retro_Gamer)

@hrehfeld: I can't believe that worked for me. ^_^ My last attempt at anything with my AUR key and git was bad, but this time I got it done!

I've updated the build to include the necessary vcpkg changes as well as the info changes since they changed a while back. I just built it on my Manjaro Linux box without an issue. I also tested in pure Arch and it compiled fine.

hrehfeld commented on 2022-05-16 15:49 (UTC)

@RetroGamer: you should be able to push, can you fix this? I'm on mobile only internet ATM.

Retro_Gamer commented on 2022-05-15 20:11 (UTC) (edited on 2022-05-19 12:38 (UTC) by Retro_Gamer)

OK, this is outdated and no longer builds due to compile changes to TrenchBroom it won't find certain packages already installed in your system like for freeimage as an example. Until hrehfeld or I have time to fix this you can change the PKGBUILD manually.

To fix to make buildable change line #39:

from this:

cmake "$srcdir/trenchbroom" -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release

to this:

cmake "$srcdir/trenchbroom" -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="cmake/packages" -DCMAKE_TOOLCHAIN_FILE="vcpkg/scripts/buildsystems/vcpkg.cmake"

hrehfeld commented on 2021-10-19 21:45 (UTC)

I removed the xorg-server-xvfb dependendency a few months ago, check the commit history.

Builds fine without it on my machine as well.

MagnusW commented on 2021-10-18 13:40 (UTC)

Sad to say that this still does not build without manually installing xorg-server-xvfb first on a clean system. Reading the PKGBUILD I cannot see that it has been added as a dependency anywhere. Did you forget to commit the change hrehfeld?

hrehfeld commented on 2021-02-18 19:31 (UTC)

Build was broken while generating documentation due to a missing make dependency (xorg-server-xvfb). Should be fixed now.