feat(pacmanage): PacManager 1.4.3, screens split out and a plugin shop
Replaces the vendored 1.4.1 tarball. Upstream restructured: a logic layer of background workers, a plugin shop and a controller, with one file per screen under pages/ on top of it. New screens for dashboard, browse, cleanup, history, logs and plugins, plus a doc/ directory. Nothing new to install alongside. The CMake options, the Qt components and the install rules are unchanged, and the plugin shop's catalog.json is fetched from the Gitea repository at runtime rather than shipped. The plugin loop already picks up both providers. doc/ is installed next to the README since it covers installation, the interface, the plugin shop and troubleshooting, which is what someone reaches for when a package source reports itself unavailable. A prepare() now realigns the source's version file on pkgver. Upstream's file lags the release: it read 1.4.1 in both the 1.4.2 and the 1.4.3 delivery. CMake compiles that value into the binary and UpdateManager compares it to the Gitea releases, so leaving it stale would have offered an already installed release for ever, and pacman would have disagreed with the app's own about box. The tarball stays a faithful copy of what upstream delivered and the correction sits in one visible place. It should be fixed in FWS-PacManage so this can go. Both plugin sources compile. The full build needs Qt6, absent here. Signed-off-by: nocode <suzuku295@gmail.com>
This commit is contained in:
1 parent
629a94cd6c
commit
b0cc435ab5
3 files changed
+22
-6
No files matched your search
@@ -12,15 +12,19 @@
|
||||
# 2. tar --transform 's,^fws-pacmanage,fws-pacmanage-<v>,' \
|
||||
# -C <parent> -czf pkgbuilds/fws-pacmanage/fws-pacmanage-<v>.tar.gz \
|
||||
# fws-pacmanage (sans build/ ni .git/)
|
||||
# 3. pkgver ci-dessous, puis ./setup-aur.sh && ./build.sh
|
||||
# 3. pkgver ci-dessous, retirer l'ancien tarball, puis
|
||||
# ./setup-aur.sh && ./build.sh
|
||||
#
|
||||
# ⚠ pkgver SUIT le fichier « version » de la source, pas le nom du dossier de
|
||||
# livraison. CMake compile cette valeur dans le binaire et UpdateManager la
|
||||
# compare aux releases du Gitea : un pkgver plus haut que le fichier
|
||||
# « version » ferait proposer une mise à jour déjà installée, pour toujours.
|
||||
# ⚠ LE FICHIER « version » DE L'AMONT EST EN RETARD. Les livraisons 1.4.2 et
|
||||
# 1.4.3 contenaient toutes deux « 1.4.1 ». Or CMake compile cette valeur dans
|
||||
# le binaire et UpdateManager la compare aux releases du Gitea : la laisser
|
||||
# telle quelle ferait proposer une mise à jour déjà installée, pour toujours.
|
||||
# Le prepare() ci-dessous la réaligne sur pkgver. Le tarball reste une copie
|
||||
# FIDÈLE de ce que l'amont a livré — la correction est ici, en un seul
|
||||
# endroit, visible. À régler côté FWS-PacManage pour pouvoir la retirer.
|
||||
# ============================================================================
|
||||
pkgname=fws-pacmanage
|
||||
pkgver=1.4.1
|
||||
pkgver=1.4.3
|
||||
pkgrel=1
|
||||
pkgdesc="PacManager — gestionnaire de paquets graphique de FWS (pacman + Flatpak + AUR, Qt6)"
|
||||
arch=('x86_64')
|
||||
@@ -42,6 +46,14 @@ source=("${pkgname}-${pkgver}.tar.gz"
|
||||
sha256sums=('SKIP'
|
||||
'SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
# Réaligne la version de la source sur celle du paquet (cf. l'avertissement
|
||||
# en tête). À faire AVANT cmake : le fichier est lu au configure, pas au
|
||||
# build. Sans ça le binaire annoncerait 1.4.1 quand pacman dit 1.4.3.
|
||||
printf '%s\n' "$pkgver" > version
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
# Les greffons d'EXEMPLE n'ont d'intérêt que pour les développeurs de
|
||||
@@ -106,5 +118,9 @@ package() {
|
||||
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
||||
|
||||
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
# doc/ est arrivé en 1.4.3 : installation, interface, dépannage, magasin
|
||||
# de greffons. Dix fichiers markdown, utiles à qui cherche pourquoi une
|
||||
# source est indisponible — autant les avoir sur la machine.
|
||||
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/doc" doc/*.md
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user