Package Details: xonotic-git 20220415.r2077.4b05ca1-1

Git Clone URL: https://aur.archlinux.org/xonotic-git.git (read-only, click to copy)
Package Base: xonotic-git
Description: A free, fast-paced crossplatform first-person shooter. GIT version.
Upstream URL: http://xonotic.org
Keywords: xonotic, xonotic-git
Licenses: GPL
Conflicts: xonotic, xonotic-dedicated, xonotic-git, xonotic-glx, xonotic-icons, xonotic-sdl, xonotic-tools
Provides: nexuiz-compatible.pk3, xonotic, xonotic-dedicated, xonotic-git, xonotic-glx, xonotic-icons, xonotic-sdl, xonotic-tools
Submitter: EndlessEden
Maintainer: EndlessEden
Last Packager: tjhexf
Votes: 2
Popularity: 0.000000
First Submitted: 2016-02-02 02:34 (UTC)
Last Updated: 2022-06-10 17:14 (UTC)

Latest Comments

1 2 Next › Last »

kostyarin commented on 2024-12-08 04:50 (UTC)

Next patch to make it buildable

diff --git a/PKGBUILD b/PKGBUILD
index 15716cb..149bbd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 # Contributor: Alexander Suhoverhov <cy at ngs dot ru>

 pkgname=xonotic-git
-pkgver=20220415.r2077.4b05ca1
+pkgver=20241208.r2199.0927a3c
 pkgrel=1
 pkgdesc="A free, fast-paced crossplatform first-person shooter. GIT version. PLEASE SEE AUR COMMENTS."
 arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'armv8h')
@@ -294,17 +294,15 @@ package() {
        _git_extract "$srcdir"/$_gitname/ "$pkgdir"/opt/$pkgname \
                Docs \
                server \
-               xonotic-linux-glx.sh xonotic-linux-sdl.sh \
+               xonotic-linux-sdl.sh \
                key_0.d0pk
-       chmod 755 "$pkgdir"/opt/$pkgname/xonotic-linux-glx.sh \
-                 "$pkgdir"/opt/$pkgname/xonotic-linux-sdl.sh
+       chmod 755 "$pkgdir"/opt/$pkgname/xonotic-linux-sdl.sh

        # Binaries -- those names are needed by the launcher script
        case "$CARCH" in
                x86_64)  _arch="linux64" ;;
                *)       _arch="linux32" ;;
        esac
-       install -m755 "$srcdir"/$_gitname/darkplaces/darkplaces-glx "$pkgdir"/opt/$pkgname/xonotic-$_arch-glx
        install -m755 "$srcdir"/$_gitname/darkplaces/darkplaces-sdl "$pkgdir"/opt/$pkgname/xonotic-$_arch-sdl
        install -m755 "$srcdir"/$_gitname/darkplaces/darkplaces-dedicated "$pkgdir"/opt/$pkgname/xonotic-$_arch-dedicated

@@ -315,15 +313,14 @@ package() {
        # Launch scripts
        mkdir -p "$pkgdir"/usr/bin
        mv -f "$pkgdir"/opt/$pkgname/server/server_linux.sh "$pkgdir"/opt/$pkgname/
-       ln -sf /opt/$pkgname/xonotic-linux-glx.sh "$pkgdir"/usr/bin/xonotic-glx
        ln -sf /opt/$pkgname/xonotic-linux-sdl.sh "$pkgdir"/usr/bin/xonotic-sdl
        ln -sf /opt/$pkgname/server_linux.sh "$pkgdir"/usr/bin/xonotic-dedicated

        mkdir -p "$pkgdir"/usr/share/icons
-       install -m644 "$srcdir"/$_gitname/misc/logos/xonotic_icon.svg "$pkgdir"/usr/share/icons
-       install -m755 "$srcdir"/xonotic-glx.desktop "$pkgdir"/usr/share/applications
-       install -m755 "$srcdir"/xonotic-sdl.desktop "$pkgdir"/usr/share/applications
-       install -m755 "$srcdir"/xonotic-dedicated.desktop "$pkgdir"/usr/share/applications
+       install -m644 "$srcdir"/$_gitname/misc/logos/xonotic_icon.svg "$pkgdir"/usr/share/icons/
+       install -m755 -d "$pkgdir"/usr/share/applications/
+       install -m755 "$srcdir"/../xonotic-sdl.desktop "$pkgdir"/usr/share/applications/
+       install -m755 "$srcdir"/../xonotic-dedicated.desktop "$pkgdir"/usr/share/applications/xonotic-dedicated.desktop
        #readded these, sorry upstream! doubt anyone cares tho, since this package is basically dead.
 #        msg "NOT WRITTEN YET!"
 }

Seems, all GLX stuff had removed.

Also, black screen on my machine. I don't know what's wrong with it.

direc85 commented on 2022-07-04 12:48 (UTC) (edited on 2022-07-04 12:49 (UTC) by direc85)

Here's a patch to make Xonotic build:

diff --git a/PKGBUILD b/PKGBUILD
index 15716cb..0f84112 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -320,10 +320,11 @@ package() {
        ln -sf /opt/$pkgname/server_linux.sh "$pkgdir"/usr/bin/xonotic-dedicated

        mkdir -p "$pkgdir"/usr/share/icons
-       install -m644 "$srcdir"/$_gitname/misc/logos/xonotic_icon.svg "$pkgdir"/usr/share/icons
-       install -m755 "$srcdir"/xonotic-glx.desktop "$pkgdir"/usr/share/applications
-       install -m755 "$srcdir"/xonotic-sdl.desktop "$pkgdir"/usr/share/applications
-       install -m755 "$srcdir"/xonotic-dedicated.desktop "$pkgdir"/usr/share/applications
+       install -m644 "$srcdir"/$_gitname/misc/logos/xonotic_icon.svg "$pkgdir"/usr/share/icons/xonotic_icon.svg
+        mkdir -p "$pkgdir"/usr/share/applications
+       install -m755 "$srcdir"/../xonotic-glx.desktop "$pkgdir"/usr/share/applications/xonotic-glx.desktop
+       install -m755 "$srcdir"/../xonotic-sdl.desktop "$pkgdir"/usr/share/applications/xonotic-sdk.desktop
+       install -m755 "$srcdir"/../xonotic-dedicated.desktop "$pkgdir"/usr/share/applications/xonotic-dedicated.desktop
        #readded these, sorry upstream! doubt anyone cares tho, since this package is basically dead.
 #        msg "NOT WRITTEN YET!"
 }

tjhexf commented on 2022-06-10 17:25 (UTC)

Oh, it was a dumb oversight of mine. Thanks for bringing it up, i'll test it when i can, but should be working now.

<deleted-account> commented on 2022-06-10 13:15 (UTC)

I got: xonotic-linux-glx.sh xonotic-linux-sdl.sh install: cannot stat 'xonotic-glx.desktop': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: xonotic-git

tjhexf commented on 2022-06-03 21:12 (UTC)

fixed

tjhexf commented on 2022-06-03 11:06 (UTC)

the xonotic-desktop package is gone. For now this isn't gonna work. Fixes coming soon.

EndlessEden commented on 2022-05-23 12:16 (UTC)

Great... Don't even get to grieve. I come back from a week after the funeral to find half of my packages orphaned after putting notice of co-maintainer requests.

This is why no one involves them selves in this community.

tjhexf commented on 2022-05-20 16:58 (UTC)

New maintainer here, fixed the _gitroot issue and updated the package.

EndlessEden commented on 2022-01-27 18:08 (UTC)

@straw - Sorry i havent had time to get to this yet. life issues are in the way, but i will look at it and diagnose it when i can.