Package Details: gittyup 1.4.0-5

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: 14
Popularity: 0.45
First Submitted: 2021-11-23 20:05 (UTC)
Last Updated: 2024-12-20 12:52 (UTC)

Pinned Comments

alerque commented on 2024-12-20 13:30 (UTC)

I've created an issue upstream to track requirements for this build to make it to [extra]. As soon as those are met I'll make an official build for this. The project is a lot closer than it was even the last time I reviewed the status. If you want this to happen I'm sure the upstream project could use a hand with a few of the remaining details for devendoring.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

patlefort commented on 2022-07-01 03:34 (UTC)

Revised patch:

diff --git a/PKGBUILD b/PKGBUILD
index ffc2fd6..e08ff6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -83,9 +83,11 @@ 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"
+       install -dm755 "$pkgdir/usr/bin"
+       ln -s "../../usr/lib/$pkgname/${pkgname^}" "$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"

I realized that I could just have used a symbolic link. It also work better with pinned apps in KDE.

alumni commented on 2022-06-30 08:20 (UTC)

@patlefort's patch is fine for me

jost21 commented on 2022-06-24 16:53 (UTC)

I also have that issue. I can install and use it, when I use the PKGBUILD from @yochananmarqos, but themes are totally messed up. Almost unusable because it's light on light text or similar.

It used to work great with any theme (dark or light) until sometime in May, I think.

Bink commented on 2022-05-25 06:36 (UTC)

Thanks @yochananmarqos. Your PKGBUILD worked here.

yochananmarqos commented on 2022-05-21 15:07 (UTC)

I can't reproduce the issue with my PKGBUILD that does not use ninja, FYI.

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.