惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
IT之家
IT之家
博客园 - 聂微东
The Cloudflare Blog
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
H
Help Net Security
博客园 - 叶小钗
V
V2EX
WordPress大学
WordPress大学
J
Java Code Geeks
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
C
Check Point Blog
B
Blog
D
DataBreaches.Net
美团技术团队
罗磊的独立博客

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - darkplaces
2026-05-30 · via AUR Newest Packages

jose1711 commented on 2026-05-29 19:43 (UTC)

kerframil commented on 2026-05-29 13:51 (UTC) (edited on 2026-05-29 13:53 (UTC) by kerframil)

As to Callumari's comment, try to contact jose1711 directly to see whether they still have the time and inclination to maintain it. If they do not respond within a reasonable timeframe (two weeks at least), you may click the "Submit Request" link on this page and request that the package be orphaned. Once in an orphaned state, the package may be adopted by another AUR user.

kerframil commented on 2026-05-29 13:41 (UTC)

This package can - and should - be made to compile with GCC 16 by targeting the "gnu17" standard.

diff --git a/PKGBUILD b/PKGBUILD
index a81ae26..4b4c796 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8 +8 @@ pkgver=20140513
-pkgrel=4
+pkgrel=5
@@ -41 +41 @@ build() {
-   make OPTIM_RELEASE="${CFLAGS}" DP_FS_BASEDIR=/usr/share/games/quake release
+   make OPTIM_RELEASE="${CFLAGS} -std=gnu17" DP_FS_BASEDIR=/usr/share/games/quake release

Callumari commented on 2026-04-24 14:51 (UTC)

I have a fix! I can commit if the maintainer would allow, however I have literally never committed to the AUR before, so I don't know what the process is.

lavaball commented on 2025-04-30 21:24 (UTC) (edited on 2025-05-04 08:23 (UTC) by lavaball)

Edit2: gcc13 would have worked as well. CC=gcc-13 paru -S darkplaces

Edit: I install gcc11 from AUR. Took forever. Then: CC=gcc-11 paru -S darkplaces worked. I'm sure there is a way to patch it so it works with the newest gcc, but that is far beyond my modest abilities. || Doesn't compile no more.

In file included from ../../../quakedef.h:45, from ../../../sys_linux.c:16: ../../../qtypes.h:9:26: error: cannot use keyword ‘false’ as enumeration constant 9 | typedef enum qboolean_e {false, true} qboolean; | ^ ../../../qtypes.h:9:26: note: ‘false’ is a keyword with ‘-std=c23’ onwards make[3]: *** [makefile.inc:556: sys_linux.o] Error 1

I switched the standard to c99 and c11. Then I had to add a few more include files for strings and sys/select and what not. Then it told me the array wasn't a multiple ... actually, here the error:

../../../dpsoftrast.c:240:22: error: size of array element is not a multiple of its alignment
240 | typedef ALIGN(struct DPSOFTRAST_State_Thread_s
| ^
../../../dpsoftrast.c:46:36: note: in definition of macro ‘ALIGN’
46 | #define ALIGN(var) var attribute((aligned(16)))
| ^
../../../dpsoftrast.c: In function ‘DPSOFTRAST_Interpret_Draw’:
../../../dpsoftrast.c:5180:78: error: ‘M_LN2’ undeclared (first use in this function) 5180 | y = (int)(log((float)y)*0.5f/M_LN2); | ^
~~ ../../../dpsoftrast.c:5180:78: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [makefile.inc:544: dpsoftrast.o] Error 1

looks like math.h is missing as well.

Anyway, that's far more than I'm able to. Help anyone?

lavaball commented on 2022-02-21 18:44 (UTC) (edited on 2025-04-30 21:07 (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. Edit: Turns out the vid_restart was the Nvidia driver. I only use the glx version these days, so with the new drivers it's all good. Well, if it compiles.

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.