Package Details: gridmonger-git 1:1.1.0.r596.b359bbd-1

Git Clone URL: https://aur.archlinux.org/gridmonger-git.git (read-only, click to copy)
Package Base: gridmonger-git
Description: Your trusty old-school cRPG mapping companion
Upstream URL: https://gridmonger.johnnovak.net/
Licenses: custom:WTFPL
Conflicts: gridmonger
Provides: gridmonger
Submitter: silverhikari
Maintainer: silverhikari
Last Packager: silverhikari
Votes: 0
Popularity: 0.000000
First Submitted: 2024-01-01 17:31 (UTC)
Last Updated: 2024-12-02 04:58 (UTC)

Pinned Comments

silverhikari commented on 2024-04-24 04:21 (UTC)

setting commit shas in source as at the moment no newer version of the package can be built. tracking issue via "https://github.com/johnnovak/gridmonger/issues/11"

Latest Comments

Daerandin commented on 2024-11-27 17:11 (UTC)

The current git version of gridmonger can be built with only one override required. --rangeChecks:off can be safely removed as it is no longer needed. But another override is needed: -t:-std=gnu18

The only current compile issue is caused by it using -std=c99 by default. gnu18 is the current default of gcc and it seems to work well. I have not done extensive testing to ensure there are no issues, but it builds and runs.

So the compile command should be: nim release -d:osdialogZenity -t:-std=gnu18

micwoj92 commented on 2024-08-08 19:24 (UTC)

Issue from pinned comment has been closed as completed.

Daerandin commented on 2024-05-26 09:20 (UTC)

I am getting runtime errors while running gridmonger after building.

fatal.nim(53)            sysFatal
Error: unhandled exception: value out of range: 65547 notin 0 .. 65546 [RangeDefect]

I am able to circumvent this by adding the compile option: --rangeChecks:off

Anyone else seeing this, and should upstream be notified?

silverhikari commented on 2024-04-24 04:21 (UTC)

setting commit shas in source as at the moment no newer version of the package can be built. tracking issue via "https://github.com/johnnovak/gridmonger/issues/11"

silverhikari commented on 2024-02-28 23:00 (UTC)

@silvo,

here is a patch to fix somethings wrong with the pkgbuild though i am unable to test the package build as i am unable to access the nimble package directory.

--- PKGBUILD.old    2024-02-28 17:59:24.242768532 -0500
+++ PKGBUILD    2024-02-28 17:58:34.670025385 -0500
@@ -1,4 +1,4 @@
-# Maintainer: Your Name <youremail@domain.com>
+# Maintainer: silver hikari <kerrickethan@gmail.com>
 pkgname=gridmonger-git
 pkgver=1.1.0.r37.aeec810
 epoch=1
@@ -8,7 +8,7 @@
 url="https://gridmonger.johnnovak.net/"
 license=('custom:WTFPL')
 depends=('zenity' 'libxxf86vm' 'libglvnd' 'libxi' 'libxrandr' 'libx11' 'libxinerama' 'libxcursor')
-makedepends=('git' 'nim' 'dart-sass' 'python-sphinx' 'gendesk' 'nim-atlas')
+makedepends=('git' 'nim' 'dart-sass' 'python-sphinx' 'gendesk')
 provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
 source=('git+https://github.com/johnnovak/gridmonger' 'git+https://github.com/johnnovak/koi' 'git+https://github.com/johnnovak/nim-glfw#branch=gridmonger')
@@ -23,7 +23,8 @@
    gendesk -n -f --pkgname="${pkgname%-git}" --pkgdesc="$pkgdesc" --exec="/opt/gridmonger/gridmonger" --icon="/usr/share/pixmaps/gridmonger.png"
    atlas init --deps=deps
    cd "${pkgname%-git}"
-   echo -e 'requires "nanovg"\nrequires"osdialog"\nrequires"riff"\nrequires"winim"\nrequires "file:///home/silver/aur-packages-git/gridmonger/src/nim-glfw"\nrequires "file:///home/silver/aur-packages-git/gridmonger/src/koi"' > 'gridmonger.nimble'
+   echo -e 'requires "nanovg"\nrequires "osdialog"\nrequires "riff"\nrequires "winim"' > 'gridmonger.nimble'
+   echo -e "\nrequires file:///${srcdir}/nim-glfw\nrequires file:///${srcdir}/koi" >> 'gridmonger/nimble'
    atlas install gridmonger.nimble
 }

slivo commented on 2024-02-27 22:20 (UTC) (edited on 2024-02-27 22:22 (UTC) by slivo)

Hello, nim-atlas wont install because of /usr/bin/atlas is there from previous dependency nim.

Packages (1) nim-atlas-git-0.8.0.r6.545c40c-1

Total Installed Size:  1.24 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
error: failed to commit transaction (conflicting files)
nim-atlas-git: /usr/bin/atlas exists in filesystem (owned by nim)
`

pacman -Qo /usr/bin/atlas /usr/bin/atlas is owned by nim 2.0.2-1

`