Package Details: gittyup 1.3.0-1

Git Clone URL: https://aur.archlinux.org/gittyup.git (read-only, click to copy)
Package Base: gittyup
Description: Graphical Git client (GitAhead fork)
Upstream URL: https://murmele.github.io/Gittyup
Licenses: MIT
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 13
Popularity: 0.67
First Submitted: 2021-11-23 20:05 (UTC)
Last Updated: 2024-03-27 23:54 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

patlefort commented on 2022-05-21 08:20 (UTC)

Proposed patch to fix the issue:

diff --git a/PKGBUILD b/PKGBUILD
index e99ab82..5dbb2e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -77,9 +77,15 @@ package() {
        cd "$pkgname"
        DESTDIR="$pkgdir" ninja -C ../build install
        rm -rf "$pkgdir/usr/lib/gittyup/"*.so.*
-       local _bin="$pkgdir/usr/lib/$pkgname/${pkgname^}"
-       install -Dm0755 "$_bin" "$pkgdir/usr/bin/$pkgname"
-       rm "$_bin"
+       rm -rf "$pkgdir/usr/lib/gittyup/include"
+       rm -rf "$pkgdir/usr/lib/gittyup/lib"
+       rm -rf "$pkgdir/usr/lib/gittyup/share"
+       local _bin="/usr/lib/$pkgname/${pkgname^}"
+       install -Dm755 <(cat <<- EOF
+               #!/usr/bin/env sh
+               $_bin "\$@"
+       EOF
+       ) "$pkgdir/usr/bin/$pkgname"
        install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
        install -Dm0644 -t "$pkgdir/usr/share/applications/" ../$pkgname.desktop
        install -Dm0644 rsrc/Gittyup.iconset/gittyup_logo.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/gittyup.svg"

The application is expecting some folders to be sub folders of its executable, so it will leave it in /usr/lib/gittyup. Also it remove some extra undeeded files.

alerque commented on 2022-05-16 15:52 (UTC) (edited on 2022-05-16 16:15 (UTC) by alerque)

@rmartin and @Bink, definitely a bug there, but I think the bug is actually this upstream. It is doing some sort of path munging and saving the compile time path for use in the built artifacts. That's just a messed up build system, I don't think it's a mistake in this packaging.

Bink commented on 2022-05-15 04:46 (UTC) (edited on 2022-05-15 04:47 (UTC) by Bink)

I can confirm, I'm having the same issue as @rmartin. Application throws this error when trying to start:


Theme dir:  QDir( "/home/bink/.cache/yay/gittyup/src/gittyup/conf" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
Theme dir:  QDir( "/home/bink/.cache/yay/gittyup/src/gittyup/conf" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
PANIC: unprotected error in call to Lua API (cannot open /home/bink/.cache/yay/gittyup/src/gittyup/conf/System.lua: No such file or directory)
Aborted (core dumped)

rmartin commented on 2022-05-10 21:17 (UTC)

This build is reading lua files from the .cache build location rather than from installation path such that if the build paths in .cache are cleared out, the app will abort and fail to start.

yochananmarqos commented on 2022-05-01 20:05 (UTC) (edited on 2022-05-01 20:09 (UTC) by yochananmarqos)

Working preliminary PKGBUILD for 1.1.0

It can't find http-parser, so I didn't include it:

http-parser version 2 was not found or disabled; using bundled 3rd-party sources.

alerque commented on 2022-05-01 17:41 (UTC)

Yes, v1.1.0 packages are in progress, but it's a bit of a fiasco. I think they are pretty close...

FabioLolix commented on 2022-04-25 11:19 (UTC)

@jost21 you can use gittyup-git or if you really want v1.0.0 use this pkgbuild https://github.com/FabioLolix/PKGBUILD-AUR_fix/blob/master/g/gittyup/PKGBUILD

jost21 commented on 2022-04-25 08:56 (UTC)

I'm getting errors (cmake error for libssh2 and libgit2) when I try to install it

alerque commented on 2021-11-23 20:11 (UTC)

I started this packaging but got interrupted and am posting a half way measure. I am really trying to setup the stable built to use system libraries instead of the upstream bundling system. If anybody wants to jump in with patches or PRs on this I'm happy to put them through or add maintainers. I'm traveling and might be delayed on finishing otherwise.