Package Details: gittyup 1.4.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.37
First Submitted: 2021-11-23 20:05 (UTC)
Last Updated: 2024-05-21 11:44 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

OdinVex commented on 2024-05-25 14:45 (UTC)

@yochananmarqos, This pkgbuild needs to be updated, that's all in the end. Perhaps a vote on maintainer change can happen.

petaramesh commented on 2024-05-25 13:25 (UTC)

I can confirm what @yochananmarqos states : - His PKGBUILD works and produces a working gittyup - Where the PKGBUILD in this AUR archive currently builds a gittyup package that installs, but won't run, giving the following runtime error :

PANIC: unprotected error in call to Lua API (cannot open /var/tmp/pamac-build-myself/gittyup/src/Gittyup/conf/System.lua: No such file or directory) (core dumped)

It seems that the current PKGBUILD here cause librairies to be looked for inside the build directory instead of their actual system location.

However, it was working until recently, but no more.

yochananmarqos commented on 2024-05-24 22:07 (UTC)

@OdinVex: As I say here quite frequently, please try my PKGBUILD. I just built it in a clean chroot yesterday.

OdinVex commented on 2024-05-24 21:35 (UTC)

I have the same problem kode54 does, the tests/check step fails.

yochananmarqos commented on 2024-05-24 00:46 (UTC)

@alerque: FYI, the ENABLE_REPRODUCIBLE_BUILDS flag is no longer used:

CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_REPRODUCIBLE_BUILDS

There are also two new flags, -DGENERATE_APPDATA which should be ON and ENABLE_UPDATE_OVER_GUI which should be OFF. See the build.yml.

petaramesh commented on 2024-05-22 17:17 (UTC)

Builds fine on Manjaro, both x86_64 and aarch64.

Could you please add 'aarch64' in the supported architectures in PKGBUILD, as it compiles and works just fine there ? Thx.

kode54 commented on 2024-05-22 12:24 (UTC)

The tests/check step fails if built with aurutils --chroot.

sjoerd222888 commented on 2024-05-19 19:02 (UTC)

Cannot run gittyup at the moment because of:

gittyup: error while loading shared libraries: libcmark.so.0.30.3: cannot open shared object file: No such file or directory

alerque commented on 2024-05-17 19:50 (UTC)

Version bump is waiting on this issue upstream: https://github.com/Murmele/Gittyup/issues/766

patlefort commented on 2024-05-08 17:16 (UTC)

Patch suggestion:

diff --git a/PKGBUILD b/PKGBUILD
index 662d6be..b52477a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,24 @@ sha256sums=('SKIP'
             'SKIP'
             'SKIP')

+_flags=(
+       -G Ninja
+       -W no-dev
+       -D CMAKE_BUILD_TYPE=None
+       -D CMAKE_INSTALL_PREFIX=/usr
+       -D CMAKE_INSTALL_DATADIR=share/$pkgname
+       -D ENABLE_REPRODUCIBLE_BUILDS=ON
+       -D BUILD_SHARED_LIBS=OFF
+       -D DEBUG_OUTPUT=OFF
+       -D USE_SYSTEM_CMARK=ON
+       -D USE_SYSTEM_GIT=ON
+       -D USE_SYSTEM_HUNSPELL=ON
+       -D USE_SYSTEM_LIBSSH2=ON
+       -D USE_SYSTEM_LUA=ON
+       -D USE_SYSTEM_OPENSSL=ON
+       -D LUA_MODULES_PATH=/usr/lib/lua/5.4
+)
+
 prepare() {
        cd "${pkgname^}"
        git submodule init
@@ -58,27 +76,20 @@ prepare() {

 build() {
        cmake \
-               -G Ninja \
-               -W no-dev \
-               -D CMAKE_BUILD_TYPE=Release \
-               -D CMAKE_INSTALL_PREFIX=/usr \
-               -D CMAKE_INSTALL_DATADIR=share/$pkgname \
-               -D ENABLE_REPRODUCIBLE_BUILDS=ON \
-               -D BUILD_SHARED_LIBS=OFF \
-               -D DEBUG_OUTPUT=OFF \
-               -D USE_SYSTEM_CMARK=ON \
-               -D USE_SYSTEM_GIT=ON \
-               -D USE_SYSTEM_HUNSPELL=ON \
-               -D USE_SYSTEM_LIBSSH2=ON \
-               -D USE_SYSTEM_LUA=ON \
-               -D USE_SYSTEM_OPENSSL=ON \
-               -D LUA_MODULES_PATH=/usr/lib/lua/5.4 \
+               "${_flags[@]}" \
+               -D ENABLE_TESTS=OFF \
                -B build \
                -S "${pkgname^}"
        ninja -C build
 }

 check() {
+       cmake \
+               "${_flags[@]}" \
+               -D ENABLE_TESTS=ON \
+               -B build \
+               -S "${pkgname^}"
+       ninja -C build
        ninja -C build check
 }
  • Only compile tests if needed.
  • Set build type to None, otherwise cmake will override some user's flags.