Thanks, added it
Search Criteria
Package Details: oh-my-git-git 0.6.5.r23.gc64e8f2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/oh-my-git-git.git (read-only, click to copy) |
|---|---|
| Package Base: | oh-my-git-git |
| Description: | An interactive Git learning game! |
| Upstream URL: | https://ohmygit.org/ |
| Keywords: | game git learning |
| Licenses: | custom |
| Submitter: | dodecahedron |
| Maintainer: | Felixoid |
| Last Packager: | Felixoid |
| Votes: | 5 |
| Popularity: | 0.001566 |
| First Submitted: | 2021-10-13 20:08 (UTC) |
| Last Updated: | 2025-11-13 09:51 (UTC) |
Dependencies (11)
- libglvnd (libglvnd-gitAUR)
- libxcursor
- libxi (libxi-gitAUR)
- libxinerama (libxinerama-randr-gitAUR)
- libxrandr (libxrandr-gitAUR)
- libxrender
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- godot3AUR (godot3-as-binAUR, godot3-gitAUR) (make)
- godot3-export-templatesAUR (make)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR, xlibre-server-xvfb-binAUR, xlibre-xserver-xvfbAUR, xlibre-xserver-xvfb-betaAUR) (make)
- zip (zip-natspecAUR) (make)
Required by (0)
Sources (4)
Felixoid commented on 2025-11-13 09:52 (UTC)
gwuensch commented on 2025-11-13 02:17 (UTC)
Figured out the problem: Godot was prioritizing $XDG_DATA_HOME over $HOME/.local/share (as it's supposed to, per the spec). Using XDG_DATA_HOME could be a cleaner solution overall, it avoids creating the hidden .local directory in $srcdir:
diff --git a/PKGBUILD b/PKGBUILD
index e67bfce..093a20a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Anthony Wang <ta180m@pm.me>
# Maintainer: Mikhail f. Shiryaev <mr dot felixoid at gmail dot com>
pkgname=oh-my-git-git
-pkgver=0.6.4.r24.gfbe95c3
+pkgver=0.6.5.r23.gc64e8f2
pkgrel=1
pkgdesc='An interactive Git learning game!'
arch=(x86_64)
@@ -39,12 +39,12 @@ build() {
godot_version=${godot_version/.stable*/.stable}
godot_minor=${godot_version%.*.*}
for bin in godot godot3; do
- templates_dir="${srcdir}/.local/share/$bin/templates"
+ templates_dir="${srcdir}/templates/$bin/templates"
mkdir -p "$templates_dir"
ln -sf --no-dereference /usr/share/godot/templates/"$godot_minor"* "$templates_dir/$godot_version"
done
# build game
- HOME="${srcdir}" xvfb-run make linux
+ XDG_DATA_HOME="${srcdir}/templates" xvfb-run make linux
}
package() {
Felixoid commented on 2025-06-23 22:04 (UTC)
I can only think of the missing makepkg -s command to install all dependencies.
The output does not make any sense to me, sorry.
gwuensch commented on 2025-06-23 15:44 (UTC)
Godot tries to look for the templates in the wrong location, the workaround of setting the HOME variable to srcdir does not seem to work correctly:
ERROR: Cannot export project with preset "Linux" due to configuration errors:
No export template found at the expected path:
/home/user/.local/share/godot/templates/3.6.stable/linux_x11_64_debug
No export template found at the expected path:
/home/user/.local/share/godot/templates/3.6.stable/linux_x11_64_release
Aryan commented on 2025-01-16 13:23 (UTC)
solved, thanks for your quick response!
Felixoid commented on 2025-01-16 11:50 (UTC)
It's due to an outdated version of godot3-export-templates. I've updated the dependency package, please retry
Aryan commented on 2025-01-16 11:38 (UTC) (edited on 2025-01-16 11:39 (UTC) by Aryan)
Hello, thanks for maintaining this package. any idea about this error?
[aryan@Arnix oh-my-git]$ oh-my-git
ERROR: Pack created with a newer version of the engine: 3.6.
at: try_open_pack (core/io/file_access_pack.cpp:217)
ERROR: Pack created with a newer version of the engine: 3.6.
at: try_open_pack (core/io/file_access_pack.cpp:217)
ERROR: Pack created with a newer version of the engine: 3.6.
at: try_open_pack (core/io/file_access_pack.cpp:217)
ERROR: Pack created with a newer version of the engine: 3.6.
at: try_open_pack (core/io/file_access_pack.cpp:217)
Error: Couldn't load project data at path ".". Is the .pck file missing?
If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension).
Warning: Missing charsets in String to FontSet conversion
[aryan@Arnix oh-my-git]$ oh-my-git --version
3.5.3.stable.official.6c814135b
[aryan@Arnix oh-my-git]$
Felixoid commented on 2024-09-11 06:14 (UTC)
This package neither provides nor conflicts with https://aur.archlinux.org/packages/oh-my-git. It's a completely different package
Auerhuhn commented on 2024-04-09 11:44 (UTC) (edited on 2024-04-09 11:44 (UTC) by Auerhuhn)
Hi Felixoid,
Would you mind making the following changes to the package so it builds correctly on a clean chroot?
-
dependsneeds additional entries:libglvnd,libxcursor,libxi,libxinerama,libxrandr, andlibxrender. -
makedependsneeds additional entriesgitandxorg-server-xvfb. -
In
build, please replacemake linuxwithxvfb-run make linux. (This allows the build to run headlessly. It also prevents a graphical window from appearing during the build.)
Thanks!
Regards
Claudia
Felixoid commented on 2024-02-29 17:16 (UTC)
@Aryan use the aur helper to get dependencies
https://aur.archlinux.org/packages/godot3 https://aur.archlinux.org/packages/godot3-export-templates
Pinned Comments
Felixoid commented on 2024-09-11 06:14 (UTC)
This package neither provides nor conflicts with https://aur.archlinux.org/packages/oh-my-git. It's a completely different package