Skip to content

Commit 9948473

Browse files
committed
Fix Linux release packaging and document Flatpak (#64, #105)
- release.yml: bundle Qt via linuxdeploy --plugin qt for AppImage xcb - build-deb.sh: point Maintainer, Homepage, Bugs at ScanTailor-Advanced fork - flatpak: KDE runtime 5.15-23.08, drop redundant base/base-version - README: Flatpak/Flathub scope, local build steps, Releases pointer for #64
1 parent 1e9dfc3 commit 9948473

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ jobs:
8181
run: |
8282
cd build-appimage
8383
export QMAKE=/usr/bin/qmake
84-
../linuxdeploy-x86_64.AppImage --appdir AppDir -e AppDir/usr/bin/scantailor --output appimage
84+
# Bundle Qt platform plugins (e.g. xcb) via linuxdeploy-plugin-qt; same-dir discovery.
85+
../linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt -e AppDir/usr/bin/scantailor --output appimage
8586
OUT=$(ls -1 *.AppImage 2>/dev/null | head -1)
8687
mv "$OUT" "../scantailor-advanced-${{ github.ref_name }}-x86_64.AppImage"
8788

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ Go to [this repository](https://github.com/ScanTailor-Advanced/scantailor-libs-b
8787

8888
**Application ID:** the manifest uses `org.scantailor.Advanced` so it does **not** replace the legacy `com.github._4lex4.*` Flatpak. Author docs: [for app authors](https://docs.flathub.org/docs/for-app-authors/).
8989

90+
**Linux – GitHub Releases (.deb / AppImage, [issue #64](https://github.com/ScanTailor-Advanced/scantailor-advanced/issues/64)):** Version tags matching `v*` run [`.github/workflows/release.yml`](.github/workflows/release.yml), which produces a `.deb` ([`build-deb.sh`](build-deb.sh)) and an AppImage attached to the GitHub Release when the workflow is enabled. Report problems with those binaries in [issue #64](https://github.com/ScanTailor-Advanced/scantailor-advanced/issues/64).
91+
9092
**Community examples / test data:** See also [scantailor-testing](https://github.com/ImageProcessing-ElectronicPublications/scantailor-testing) (community repository; issue [#43](https://github.com/ScanTailor-Advanced/scantailor-advanced/issues/43)).
9193

9294
## About this fork

build-deb.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,14 @@ Section: graphics
5858
Priority: optional
5959
Architecture: ${ARCH}
6060
Depends: ${DEPS}
61-
Maintainer: 4lex4 <4lex49@zoho.com>
61+
Maintainer: ScanTailor-Advanced <https://github.com/ScanTailor-Advanced/scantailor-advanced>
6262
Description: Interactive post-processing tool for scanned pages
6363
ScanTailor Advanced merges features from ScanTailor Featured and Enhanced,
6464
with improvements for page splitting, deskewing, content selection,
6565
margins, dewarping and output. Supports batch processing and multiple
6666
output formats.
6767
Homepage: https://github.com/ScanTailor-Advanced/scantailor-advanced
68+
Bugs: https://github.com/ScanTailor-Advanced/scantailor-advanced/issues
6869
EOF
6970

7071
# Optional: refresh icon and desktop caches after install

0 commit comments

Comments
 (0)