Make the desktop a proper Arch desktop: pacman, sudo, utilities and touch right-click

The KDE desktop package now records every package it ships in pacman's
database and carries a pinned droiddeck repository built from the same
Arch Linux ARM snapshot, so pacman installs software that matches the
desktop's Qt and KDE versions and never upgrades what DroidDeck ships.
sudo, su and sudoedit run commands as root through a small preload, and
pacman hooks refuse to remove or replace DroidDeck's own packages and
remember user installs so they come back after runtime updates.

Adds zip, 7zip, unrar, less, man pages, htop, git, wget, wl-clipboard,
xclip, KCalc, Okular, Filelight, KFind, System Monitor, Elisa and
Discover, pins Kate to the panel, and hides technical menu entries.
Updates KWin to 6.8.1 to match the repository.

A two-finger tap now right-clicks on the desktop, and the Android
clipboard is only pushed into the session when it changed, so files
copied in Dolphin stay pasteable after leaving the app.
This commit is contained in:
maxjivi05 committed 2026-10-27 15:17:15 -04:00
1 parent c9044a27e3
commit 49201e1afa
50 files changed
+1051 -15

No files matched your search

+9 -5
View File
@@ -60,11 +60,12 @@ jobs:
- name: Build
run: |
set -euo pipefail
sudo apt-get update -qq && sudo apt-get install -y -qq zstd xz-utils gpgv >/dev/null
KDE_KWIN_OVERRIDE="$PWD/out/kwin" tools/desktop-kde/build.sh out
sudo apt-get update -qq && sudo apt-get install -y -qq zstd xz-utils gpgv gcc-aarch64-linux-gnu >/dev/null
KDE_KWIN_OVERRIDE="$PWD/out/kwin" DESKTOP_KDE_RELEASE_TAG='${{ inputs.tag }}' tools/desktop-kde/build.sh out
cp out/kwin/desktop-kde.kwin.txt out/
echo "size $(stat -c %s out/desktop-kde.tar.zst) sha256 $(cat out/desktop-kde.sha256)"
echo "language packs $(ls out/desktop-kde-i18n-*.tar.zst | wc -l)"
echo "pacman repository $(ls out/repo | wc -l) files, $(du -sm out/repo | cut -f1) MiB"
- uses: actions/upload-artifact@v4
with:
name: desktop-kde
@@ -77,6 +78,7 @@ jobs:
out/desktop-kde.sha256
out/desktop-kde.i18n.txt
out/desktop-kde-i18n-*.tar.zst
out/repo/
- name: Publish
if: github.event_name == 'workflow_dispatch' && inputs.tag != ''
env:
@@ -89,8 +91,10 @@ jobs:
echo "::error::$TAG is already published in DroidDeck-Components, and published tags are never replaced: use a new tag"
exit 1
fi
gh release create "$TAG" --latest=false --prerelease=false --title "$TAG" \
prerelease=false
case $TAG in *-rc*) prerelease=true ;; esac
gh release create "$TAG" --latest=false --prerelease="$prerelease" --title "$TAG" \
--notes "KDE Plasma desktop package for DroidDeck's Linux runtime ($GITHUB_REPOSITORY tools/desktop-kde, $GITHUB_SHA). size $(stat -c %s out/desktop-kde.tar.zst), sha256 $(cat out/desktop-kde.sha256). desktop-kde.packages.txt lists the signature-checked Arch Linux ARM packages it was built from." \
out/desktop-kde.tar.zst out/desktop-kde.sha256 out/desktop-kde.packages.txt out/desktop-kde.kwin.txt \
out/desktop-kde.i18n.txt out/desktop-kde-i18n-*.tar.zst
gh release edit "$TAG" --latest=false --prerelease=false
out/desktop-kde.i18n.txt out/desktop-kde-i18n-*.tar.zst out/repo/*
gh release edit "$TAG" --latest=false --prerelease="$prerelease"