Debian packaging QIDIStudio
This commit is contained in:
BIN
QIDIStudio_ubu64.AppImage
Executable file
BIN
QIDIStudio_ubu64.AppImage
Executable file
Binary file not shown.
7
debian/.debhelper/generated/qidistudio-appimage/dh_installchangelogs.dch.trimmed
vendored
Normal file
7
debian/.debhelper/generated/qidistudio-appimage/dh_installchangelogs.dch.trimmed
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
qidistudio-appimage (2.5.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial Debian package for AppImage distribution.
|
||||
* Install launcher with SSL_CERT_FILE.
|
||||
* Post-install locale setup for en_GB.UTF-8.
|
||||
|
||||
-- QIDIStudio Builder <builder@local> Tue, 24 Mar 2026 16:50:00 +0500
|
||||
4
debian/.debhelper/generated/qidistudio-appimage/installed-by-dh_install
vendored
Normal file
4
debian/.debhelper/generated/qidistudio-appimage/installed-by-dh_install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
./QIDIStudio_ubu64.AppImage
|
||||
./qidistudio.png
|
||||
./debian/qidistudio
|
||||
./debian/qidistudio.desktop
|
||||
0
debian/.debhelper/generated/qidistudio-appimage/installed-by-dh_installdocs
vendored
Normal file
0
debian/.debhelper/generated/qidistudio-appimage/installed-by-dh_installdocs
vendored
Normal file
7
debian/changelog
vendored
Normal file
7
debian/changelog
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
qidistudio-appimage (2.5.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial Debian package for AppImage distribution.
|
||||
* Install launcher with SSL_CERT_FILE.
|
||||
* Post-install locale setup for en_GB.UTF-8.
|
||||
|
||||
-- QIDIStudio Builder <builder@local> Tue, 24 Mar 2026 16:50:00 +0500
|
||||
16
debian/control
vendored
Normal file
16
debian/control
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
Source: qidistudio-appimage
|
||||
Section: graphics
|
||||
Priority: optional
|
||||
Maintainer: Sergey Galanskiy (merelden) <merelden.77@gmail.com>
|
||||
Uploaders: GOSSYS LLC <devteam@gossys.dev>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Standards-Version: 4.6.2
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://github.com/QIDITECH/QIDIStudio
|
||||
|
||||
Package: qidistudio-appimage
|
||||
Architecture: amd64
|
||||
Depends: ${misc:Depends}, ca-certificates, locales
|
||||
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.
|
||||
1
debian/debhelper-build-stamp
vendored
Normal file
1
debian/debhelper-build-stamp
vendored
Normal file
@@ -0,0 +1 @@
|
||||
qidistudio-appimage
|
||||
2
debian/files
vendored
Normal file
2
debian/files
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
qidistudio-appimage_2.5.0-1_amd64.buildinfo graphics optional
|
||||
qidistudio-appimage_2.5.0-1_amd64.deb graphics optional
|
||||
18
debian/qidistudio
vendored
Executable file
18
debian/qidistudio
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# Locale fallback: prefer en_GB.UTF-8, then C.UTF-8, then C.
|
||||
if locale -a 2>/dev/null | grep -Eiq '^en_GB\.utf-?8$'; then
|
||||
export LANG=en_GB.UTF-8
|
||||
export LC_ALL=en_GB.UTF-8
|
||||
elif locale -a 2>/dev/null | grep -Eiq '^c\.utf-?8$'; then
|
||||
export LANG=C.UTF-8
|
||||
export LC_ALL=C.UTF-8
|
||||
else
|
||||
export LANG=C
|
||||
export LC_ALL=C
|
||||
fi
|
||||
|
||||
exec /opt/qidistudio/QIDIStudio_ubu64.AppImage "$@"
|
||||
4
debian/qidistudio-appimage.install
vendored
Normal file
4
debian/qidistudio-appimage.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
QIDIStudio_ubu64.AppImage opt/qidistudio/
|
||||
qidistudio.png usr/share/pixmaps/
|
||||
debian/qidistudio usr/bin/
|
||||
debian/qidistudio.desktop usr/share/applications/
|
||||
20
debian/qidistudio-appimage.postinst
vendored
Executable file
20
debian/qidistudio-appimage.postinst
vendored
Executable 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.prerm
vendored
Executable file
3
debian/qidistudio-appimage.prerm
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
exit 0
|
||||
2
debian/qidistudio-appimage.substvars
vendored
Normal file
2
debian/qidistudio-appimage.substvars
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
misc:Depends=
|
||||
misc:Pre-Depends=
|
||||
12
debian/qidistudio-appimage/DEBIAN/control
vendored
Normal file
12
debian/qidistudio-appimage/DEBIAN/control
vendored
Normal 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.
|
||||
5
debian/qidistudio-appimage/DEBIAN/md5sums
vendored
Normal file
5
debian/qidistudio-appimage/DEBIAN/md5sums
vendored
Normal 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
20
debian/qidistudio-appimage/DEBIAN/postinst
vendored
Executable 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
3
debian/qidistudio-appimage/DEBIAN/prerm
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
exit 0
|
||||
BIN
debian/qidistudio-appimage/opt/qidistudio/QIDIStudio_ubu64.AppImage
vendored
Executable file
BIN
debian/qidistudio-appimage/opt/qidistudio/QIDIStudio_ubu64.AppImage
vendored
Executable file
Binary file not shown.
18
debian/qidistudio-appimage/usr/bin/qidistudio
vendored
Executable file
18
debian/qidistudio-appimage/usr/bin/qidistudio
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# Locale fallback: prefer en_GB.UTF-8, then C.UTF-8, then C.
|
||||
if locale -a 2>/dev/null | grep -Eiq '^en_GB\.utf-?8$'; then
|
||||
export LANG=en_GB.UTF-8
|
||||
export LC_ALL=en_GB.UTF-8
|
||||
elif locale -a 2>/dev/null | grep -Eiq '^c\.utf-?8$'; then
|
||||
export LANG=C.UTF-8
|
||||
export LC_ALL=C.UTF-8
|
||||
else
|
||||
export LANG=C
|
||||
export LC_ALL=C
|
||||
fi
|
||||
|
||||
exec /opt/qidistudio/QIDIStudio_ubu64.AppImage "$@"
|
||||
9
debian/qidistudio-appimage/usr/share/applications/qidistudio.desktop
vendored
Normal file
9
debian/qidistudio-appimage/usr/share/applications/qidistudio.desktop
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=QIDIStudio
|
||||
Comment=QIDIStudio 3D printing slicer
|
||||
Exec=/usr/bin/qidistudio
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;3DGraphics;
|
||||
Icon=qidistudio
|
||||
StartupNotify=true
|
||||
BIN
debian/qidistudio-appimage/usr/share/doc/qidistudio-appimage/changelog.Debian.gz
vendored
Normal file
BIN
debian/qidistudio-appimage/usr/share/doc/qidistudio-appimage/changelog.Debian.gz
vendored
Normal file
Binary file not shown.
BIN
debian/qidistudio-appimage/usr/share/pixmaps/qidistudio.png
vendored
Normal file
BIN
debian/qidistudio-appimage/usr/share/pixmaps/qidistudio.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
9
debian/qidistudio.desktop
vendored
Normal file
9
debian/qidistudio.desktop
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=QIDIStudio
|
||||
Comment=QIDIStudio 3D printing slicer
|
||||
Exec=/usr/bin/qidistudio
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;3DGraphics;
|
||||
Icon=qidistudio
|
||||
StartupNotify=true
|
||||
8
debian/rules
vendored
Executable file
8
debian/rules
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_strip:
|
||||
# Do not strip AppImage - it breaks runtime integrity/signature.
|
||||
:
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
BIN
qidistudio.png
Normal file
BIN
qidistudio.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
Reference in New Issue
Block a user