Package Details: sourcegit 2025.03-1

Git Clone URL: https://aur.archlinux.org/sourcegit.git (read-only, click to copy)
Package Base: sourcegit
Description: GUI client for GIT users
Upstream URL: https://github.com/sourcegit-scm/sourcegit
Keywords: git git-gui
Licenses: MIT
Submitter: yataro
Maintainer: yataro
Last Packager: yataro
Votes: 6
Popularity: 0.39
First Submitted: 2024-04-11 17:49 (UTC)
Last Updated: 2025-01-20 07:35 (UTC)

Latest Comments

yataro commented on 2025-01-25 16:20 (UTC)

@earlybird Thanks, will make it use dotnet 9 on the next update

earlybird commented on 2025-01-25 16:00 (UTC)

https://pastebin.com/AhPEHQRT

going to version 9 of dotnet

yataro commented on 2025-01-10 06:09 (UTC)

@fengc for Avalonia apps, you can set AVALONIA_IM_MODULE globally, which I think is fine because this setting is exclusive to Avalonia

fengch commented on 2025-01-10 03:53 (UTC) (edited on 2025-01-10 03:58 (UTC) by fengch)

Wayland does not recommend global configuration of QT_IM_MODULE

Reference configuration https://wiki.archlinuxcn.org/wiki/Fcitx5 It is recommended to install fcitx5-input-support[aur]

@@ -4,3 +4,4 @@
 !PKGBUILD
 !net8.patch
 !.SRCINFO
+!sourcegit
diff --git a/PKGBUILD b/PKGBUILD
index ac9f4ea..f0e92a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,9 +12,11 @@ optdepends=('git-credential-manager: third-party authentication support')
 makedepends=('dotnet-sdk-8.0' 'desktop-file-utils')

 source=("$pkgname-$pkgver.tar.gz::https://github.com/sourcegit-scm/sourcegit/archive/refs/tags/v$pkgver.tar.gz"
-        "net8.patch")
+        "net8.patch"
+        "sourcegit")
 sha256sums=('2699c9e2a4a142cf8f9b6fc3ff9b467211990964818010124a1a02e30ef1427a'
-            '64b66f744bbc620512fdb0933a19abb93d8b2a7dd850a5a6d0cbac3c29365041')
+            '64b66f744bbc620512fdb0933a19abb93d8b2a7dd850a5a6d0cbac3c29365041'
+            '4209540e2634c792d2bf96ebb3e2f6c6eb16dd8693ecc90dbfa34896a4195646')



@@ -46,7 +48,8 @@ package() {
     install -d "$pkgdir/usr/bin/"

     cp -Pr "publish/"* "$pkgdir/opt/$pkgname/"
-    ln -s "/opt/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
+    install -Dm755 "${srcdir}/sourcegit" "$pkgdir/usr/bin/$pkgname"
+    echo "exec /opt/$pkgname/$pkgname \$@" >> "$pkgdir/usr/bin/$pkgname"

     install -Dm644 "build/resources/_common/applications/sourcegit.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
     install -Dm644 "build/resources/_common/icons/sourcegit.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
diff --git a/sourcegit b/sourcegit
new file mode 100644
index 0000000..080c39e
--- /dev/null
+++ b/sourcegit
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "${XMODIFIERS}" in
+    "@im=ibus")
+        : ${QT_IM_MODULE:=ibus}
+        ;;
+    *)
+        : ${QT_IM_MODULE:=fcitx}
+        ;;
+esac
+export QT_IM_MODULE
(END)

yataro commented on 2024-11-04 03:55 (UTC)

I've decided to make git-credential-manager an optional dependency this update because it's only needed when using user:password authentication on third-party resources (like GitHub), but if you're using an ssh key, this is completely avoided.

yataro commented on 2024-07-23 14:05 (UTC)

The problem is (likely) caused by stale dotnet in the Arch Linux repository, so for now I've added a patch to fix it.

yataro commented on 2024-07-23 13:45 (UTC)

At the moment, the latest SourceGit releases don't compile with dotnet 8.0.106, which is the latest available from the Arch Linux repository. I'll update it when the problem is fixed

yataro commented on 2024-05-08 15:43 (UTC)

Here it is: sourcegit-bin

yataro commented on 2024-05-08 14:49 (UTC)

@chust Sure, will do it today

chust commented on 2024-05-08 08:47 (UTC)

Could you provide a binary package?