Package Details: darkplaces 20140513-4

Git Clone URL: https://aur.archlinux.org/darkplaces.git (read-only, click to copy)
Package Base: darkplaces
Description: An advanced Quake 1 game engine
Upstream URL: http://icculus.org/twilight/darkplaces/
Licenses: GPL2
Submitter: None
Maintainer: jose1711
Last Packager: jose1711
Votes: 78
Popularity: 0.003358
First Submitted: 2005-12-18 06:30 (UTC)
Last Updated: 2021-09-20 08:00 (UTC)

Latest Comments

1 2 3 4 Next › Last »

lavaball commented on 2022-02-21 18:44 (UTC) (edited on 2022-04-10 20:21 (UTC) by lavaball)

DarkPlaces-Quake build 16:37:35 Feb 21 2022 darkplaces-glx crashes often when I do vid_restart. darkplaces-sdl doesn't let me set snd_channels to 8. Always sets it to 6 - which ends up being stereo anyway. Also it hogs my mouse buttons so mumble doesn't see me pressing them.

Basically what I'm saying is, how do I compile the 2014 version my own self? Because there everything worked fine.

Edit: Never mind. I mistook the build date as release. My issues are still there though.

jose1711 commented on 2021-09-19 20:50 (UTC)

@kleintux looks like maintainer lost interest in maintaining this. here's a patch you need to apply to fix it.

--- PKGBUILD.orig   2021-09-19 22:47:10.045758485 +0200
+++ PKGBUILD    2021-09-19 22:46:27.978817641 +0200
@@ -13,9 +13,11 @@
          'libxxf86vm' 'sdl' 'zlib')
 install=$pkgname.install
 source=(http://icculus.org/twilight/$pkgname/files/darkplacesengine$pkgver.zip
-        $pkgname.desktop)
+        $pkgname.desktop
+        gcc-11.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch?id=bc2ba1cd6fdc5a7ad7d161efb21652b73c6b207e)
 sha512sums=('45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c'
-            'daed32cb397b8f5d8a569b0679680377b9a1fb7a30fc5b99742381723850b792424d221deafb48ed4bad99d9fc7812f8a667263d9f0e63a40fbc2d9e1013c1d6')
+            'daed32cb397b8f5d8a569b0679680377b9a1fb7a30fc5b99742381723850b792424d221deafb48ed4bad99d9fc7812f8a667263d9f0e63a40fbc2d9e1013c1d6'
+            '426e6e3926872131afde4b6f162453f5f24ee0075b13c2da9732c7519bdbae9f05348502f74cafce88b183adddf5d9916020d1df0db25b953fafdeda7b49f1e2')
 noextract=(darkplacesengine$pkgver.zip)

 prepare() {
@@ -27,6 +29,10 @@
    # Fix a couple options in the Makefile.
    sed -i '1i DP_LINK_TO_LIBJPEG=1' makefile
    sed -i '/(STRIP)/d' makefile.inc
+
+   # Fix compilation with GCC-11
+   patch -p1 -i "${srcdir}/gcc-11.patch"
+
 }

 build() {

pevzi commented on 2021-07-04 08:05 (UTC)

Building with gcc 11 fails with the following error:

../../../dpsoftrast.c:239:22: error: size of array element is not a multiple of its alignment
  239 | typedef ALIGN(struct DPSOFTRAST_State_Thread_s
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~

Here's a patch that fixes this: https://bugs.gentoo.org/786288#c9

alexbrinister commented on 2020-05-06 22:43 (UTC) (edited on 2020-05-06 22:43 (UTC) by alexbrinister)

libglvnd should be a makedepend. This package does not build without GL/glx.h.

jose1711 commented on 2019-12-22 23:23 (UTC)

can you please drop the obsolete makedepends? the engine compiles just fine without them. thanks!