Package Details: gitte 0.11.1-1

Git Clone URL: https://aur.archlinux.org/gitte.git (read-only, click to copy)
Package Base: gitte
Description: A GTK4/libadwaita Git client for the GNOME desktop
Upstream URL: https://codeberg.org/ckruse/Gitte
Keywords: git gnome gtk gtk4 libadwaita
Licenses: AGPL-3.0-or-later
Submitter: Integral
Maintainer: Integral (lilac)
Last Packager: lilac
Votes: 2
Popularity: 0.52
First Submitted: 2026-05-07 10:55 (UTC)
Last Updated: 2026-10-26 12:48 (UTC)

Latest Comments

manticore commented on 2026-09-13 02:13 (UTC) (edited on 2026-09-13 02:18 (UTC) by manticore)

May I suggest to use lockfile pinning (--locked/--frozen) for deterministic crate dependencies resolution?

prepare() {
    cd "${_srcname}"
    cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}

build() {
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_NET_OFFLINE=true
    export CFLAGS+=" -ffat-lto-objects"
    export LIBSSH2_SYS_USE_PKG_CONFIG=1
    export LIBGIT2_NO_VENDOR=1
    meson setup --prefix=/usr --libexecdir=lib --buildtype=release build "${_srcname}"
    meson compile -C build
}

check() {
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_NET_OFFLINE=true
    export LIBSSH2_SYS_USE_PKG_CONFIG=1
    export LIBGIT2_NO_VENDOR=1
    meson test -C build --print-errorlogs
}

topas-rec commented on 2026-07-03 10:53 (UTC) (edited on 2026-07-03 10:53 (UTC) by topas-rec)

Doesn't build currently because upstream uses nightly rust toolchain, see https://codeberg.org/ckruse/Gitte/issues/101#issuecomment-15902441

error: rustc 1.91.1 is not supported by the following packages:
  cairo-rs@0.22.0 requires rustc 1.92
  cairo-sys-rs@0.22.0 requires rustc 1.92
  cairo-sys-rs@0.22.0 requires rustc 1.92
  cairo-sys-rs@0.22.0 requires rustc 1.92
[...]

Adding a toochain override (https://rust-lang.github.io/rustup/overrides.html) fixes this problem.

PKGBUILD changes:

[...]
makedepends=('cargo' 'git' 'meson' 'ninja')
source=("git+${url}.git#tag=${pkgver}"
    "rust-toolchain.toml") #new
sha256sums=('920f127238638c669b890b9126117fd3f5b763d0e7edf42fa75f39a221088b5a'
    'SKIP') #new

build() {
[...]

Toolchain file:

[toolchain]
channel = "nightly"

Please consider adding this to the PKGBUILD.

nebulon commented on 2026-05-20 13:56 (UTC) (edited on 2026-05-20 13:57 (UTC) by nebulon)

Looks like the checksum needs to be updated. According to makepkg -g the new one for 0.4.0 is:

sha256sums=('77ee7939577e3593e3e98b41661f4acacfcdd4d5ac5faa59d2bc6bbf645e3cc5')