diff --git a/distro/camel.toml b/distro/camel.toml index 445bfb7..5e400dc 100644 --- a/distro/camel.toml +++ b/distro/camel.toml @@ -42,10 +42,12 @@ repos = ["core", "extra", "multilib"] [sources.tanin] repo_name = "tanin" -server = "https://taninux.kgva.ch/$arch" +status = "LIVE — hosted on the Gitea Arch registry, 9 packages, public, pacman-usable" +server = "https://git.openbureau.ch/api/packages/karim/arch/tanin/$arch" code_host = "https://git.openbureau.ch/karim/taninux" # PKGBUILD source clones siglevel = "Optional TrustAll" # TODO: tighten to "Required" + ship the key -db_build = "repo-add -s tanin.db.tar.zst *.pkg.tar.zst" +publish = "packaging/publish-tanin-repo.sh (needs a write:package token); Gitea builds the DB server-side" +vanity = "taninux.kgva.ch can reverse-proxy / front this later" [sources.aur] # Policy: AUR is OPT-IN. Nothing in the desktop may HARD-depend on the AUR diff --git a/distro/tanin.pacman.conf b/distro/tanin.pacman.conf new file mode 100644 index 0000000..4dd3ca2 --- /dev/null +++ b/distro/tanin.pacman.conf @@ -0,0 +1,6 @@ +# [tanin] — TANINUX (camel) binary repo, hosted on the Gitea Arch registry. +# Append this block to /etc/pacman.conf, then: sudo pacman -Sy +# sudo pacman -S tanin-desktop # pulls the whole niri/eww desktop +[tanin] +SigLevel = Optional TrustAll +Server = https://git.openbureau.ch/api/packages/karim/arch/tanin/$arch diff --git a/packaging/publish-tanin-repo.sh b/packaging/publish-tanin-repo.sh new file mode 100755 index 0000000..1eb375e --- /dev/null +++ b/packaging/publish-tanin-repo.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +# Upload the built [tanin] packages to the Gitea Arch registry. +# Run after build-tanin-repo.sh / finish-tanin-repo.sh produced the .pkg.tar.zst. +# Needs a Gitea token with the `write:package` scope: +# TANIN_PKG_TOKEN=xxxx ./publish-tanin-repo.sh (or it will prompt) +# Gitea builds the repo DB server-side; nothing else to upload. +set -uo pipefail +OUT="${TANIN_REPO_DIR:-$HOME/projects/tanin-repo}" +OWNER="${TANIN_OWNER:-karim}" +DISTRO="${TANIN_DISTRO:-tanin}" +BASE="https://git.openbureau.ch/api/packages/$OWNER/arch/$DISTRO" + +TOK="${TANIN_PKG_TOKEN:-}" +[ -z "$TOK" ] && { read -rsp "Gitea token (write:package): " TOK; echo; } +[ -z "$TOK" ] && { echo "no token"; exit 1; } + +shopt -s nullglob +n=0 +for f in "$OUT"/*.pkg.tar.zst; do + case "$f" in *-debug-*) continue;; esac # skip debug symbol packages + code=$(curl -s -o /dev/null -w '%{http_code}' --user "$OWNER:$TOK" \ + --upload-file "$f" "$BASE") + echo "$code $(basename "$f")" + [ "$code" = 201 ] && n=$((n+1)) +done +echo "uploaded $n package(s) to $BASE" +echo "verify: curl -s $BASE/x86_64/tanin.db | gzip -dc | tar tf - | sed -n 's#/desc\$##p'" diff --git a/packaging/taninux/pkg/taninux/.BUILDINFO b/packaging/taninux/pkg/taninux/.BUILDINFO index 8ff662f..16c3ba7 100644 --- a/packaging/taninux/pkg/taninux/.BUILDINFO +++ b/packaging/taninux/pkg/taninux/.BUILDINFO @@ -5,7 +5,7 @@ pkgver = 0.2.0-1 pkgarch = any pkgbuild_sha256sum = 0034394998debf800f45a42786b415250875a99801c2403bf95d29d00aa2ffa9 packager = Unknown Packager -builddate = 1781886675 +builddate = 1781888429 builddir = /home/karim/projects/taninux/packaging/taninux startdir = /home/karim/projects/taninux/packaging/taninux buildtool = makepkg @@ -95,7 +95,7 @@ installed = ceres-solver-2.2.0-5-x86_64 installed = chatbox-bin-1.21.0-1-x86_64 installed = cifs-utils-7.5-1-x86_64 installed = clang-22.1.6-1-x86_64 -installed = claude-code-2.1.177-1-x86_64 +installed = claude-code-2.1.183-1-x86_64 installed = cliphist-1:0.7.0-2-x86_64 installed = clucene-2.3.3.4-17-x86_64 installed = cmake-4.3.4-1-x86_64 @@ -497,6 +497,7 @@ installed = libgedit-tepl-6.14.0-2-x86_64 installed = libgee-0.20.8-1-x86_64 installed = libgfortran-16.1.1+r12+g301eb08fa2c5-1-x86_64 installed = libgirepository-1.86.0-2-x86_64 +installed = libgit2-1:1.9.4-1-x86_64 installed = libglvnd-1.7.0-3-x86_64 installed = libgnomekbd-1:3.28.1-2-x86_64 installed = libgomp-16.1.1+r12+g301eb08fa2c5-1-x86_64 @@ -599,7 +600,7 @@ installed = libraw1394-2.1.2-4-x86_64 installed = libre-trainsim-bin-0.8-1-x86_64 installed = libreoffice-fresh-26.2.4-2-x86_64 installed = librevenge-0.0.5-4-x86_64 -installed = librewolf-bin-1:151.0.4_1-1-x86_64 +installed = librewolf-bin-1:152.0.1_2-1-x86_64 installed = librsvg-2:2.62.3-1-x86_64 installed = librsync-1:2.3.4-2-x86_64 installed = libsamplerate-0.2.2-3-x86_64 @@ -716,6 +717,7 @@ installed = linux-zen-headers-7.0.12.zen1-1-x86_64 installed = litehtml0.9-0.9-2-x86_64 installed = littlenavmap-bin-3.0.18-1-x86_64 installed = lld-22.1.6-1-x86_64 +installed = llhttp-9.3.1-1-x86_64 installed = llvm-22.1.6-1-x86_64 installed = llvm-libs-22.1.6-1-x86_64 installed = lm_sensors-1:3.6.2-1-x86_64 @@ -829,7 +831,7 @@ installed = pciutils-3.15.0-1-x86_64 installed = pcre-8.45-4-x86_64 installed = pcre2-10.47-1-x86_64 installed = pcsclite-2.5.1-1-x86_64 -installed = pcsx2-git-2.7.419.r0.ge0566546c6-1-x86_64 +installed = pcsx2-git-2.7.419.r2.gcd9530eec3-1-x86_64 installed = perl-5.42.2-1-x86_64 installed = perl-error-0.17030-3-any installed = perl-mailtools-2.22-3-any @@ -985,6 +987,7 @@ installed = rsync-3.4.4-1-x86_64 installed = rtkit-0.14-1-x86_64 installed = rubberband-4.0.0-2-x86_64 installed = run-parts-5.23.2-1-x86_64 +installed = rust-1:1.96.0-1-x86_64 installed = rutabaga-ffi-0.1.75-1-x86_64 installed = sbc-2.2-1-x86_64 installed = scdoc-1.11.4-1-x86_64 @@ -1139,7 +1142,7 @@ installed = xdg-user-dirs-gtk-0.16-1-x86_64 installed = xdg-utils-1.2.1-2-any installed = xdotool-4.20260303.1-1-x86_64 installed = xenia-canary-bin-02d2cb5-2-x86_64 -installed = xenia-edge-bin-20260614125312.ce9fb29-1-x86_64 +installed = xenia-edge-bin-20260619053108.8380ba1-1-x86_64 installed = xkeyboard-config-2.47-1-any installed = xmlsec-1.3.11-1-x86_64 installed = xorg-fonts-encodings-1.1.0-2-any diff --git a/packaging/taninux/pkg/taninux/.MTREE b/packaging/taninux/pkg/taninux/.MTREE index fcd18b2..e822003 100644 Binary files a/packaging/taninux/pkg/taninux/.MTREE and b/packaging/taninux/pkg/taninux/.MTREE differ diff --git a/packaging/taninux/pkg/taninux/.PKGINFO b/packaging/taninux/pkg/taninux/.PKGINFO index 3dc265e..7efa605 100644 --- a/packaging/taninux/pkg/taninux/.PKGINFO +++ b/packaging/taninux/pkg/taninux/.PKGINFO @@ -6,7 +6,7 @@ xdata = pkgtype=pkg pkgver = 0.2.0-1 pkgdesc = Central Linux management for Arch — GTK System Settings, Software Hub and TUI url = https://taninux.kgva.ch -builddate = 1781886675 +builddate = 1781888429 packager = Unknown Packager size = 2745490 arch = any diff --git a/packaging/taninux/taninux-0.2.0-1-any.pkg.tar.zst b/packaging/taninux/taninux-0.2.0-1-any.pkg.tar.zst index d5ac713..6d8e6c7 100644 Binary files a/packaging/taninux/taninux-0.2.0-1-any.pkg.tar.zst and b/packaging/taninux/taninux-0.2.0-1-any.pkg.tar.zst differ