Debian packaging QIDIStudio

This commit is contained in:
S.Galanskiy
2026-03-24 17:31:40 +05:00
commit 5683afb6f6
27 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Package: qidistudio-appimage
Version: 2.5.0-1
Architecture: amd64
Maintainer: Sergey Galanskiy (merelden) <merelden.77@gmail.com>
Installed-Size: 116856
Depends: ca-certificates, locales
Section: graphics
Priority: optional
Homepage: https://github.com/QIDITECH/QIDIStudio
Description: QIDIStudio packaged AppImage launcher for Debian
Installs QIDIStudio AppImage under /opt and provides a desktop entry.
Includes a launcher that sets SSL_CERT_FILE for system CA bundle.

View File

@@ -0,0 +1,5 @@
4a5dfc13460ccb0009c1f78c8a5316f5 opt/qidistudio/QIDIStudio_ubu64.AppImage
ce2adaf46b2320af0f3bf15eab54e114 usr/bin/qidistudio
b353ec230708d98d1bd9a7f961ca67ae usr/share/applications/qidistudio.desktop
3aca78d959ce0cb4c2402f8f5b4c7ae8 usr/share/doc/qidistudio-appimage/changelog.Debian.gz
c4a7e146fe03b169e4a0a4d2df0a2e01 usr/share/pixmaps/qidistudio.png

20
debian/qidistudio-appimage/DEBIAN/postinst vendored Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
set -eu
case "$1" in
configure)
if [ -f /etc/locale.gen ]; then
if grep -Eq '^\s*#\s*en_GB\.UTF-8\s+UTF-8\s*$' /etc/locale.gen; then
sed -i 's/^\s*#\s*\(en_GB\.UTF-8\s\+UTF-8\s*\)$/\1/' /etc/locale.gen
fi
fi
if command -v locale-gen >/dev/null 2>&1; then
if ! locale -a 2>/dev/null | grep -Eiq '^en_GB\.utf-?8$'; then
locale-gen en_GB.UTF-8 || true
fi
fi
;;
esac
exit 0

3
debian/qidistudio-appimage/DEBIAN/prerm vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
set -eu
exit 0