More work on Debian packaging

This commit is contained in:
2026-08-28 18:27:38 +02:00
parent c549f7b131
commit 93095c630c
8 changed files with 41 additions and 1 deletions
+2
View File
@@ -7,4 +7,6 @@ db_input high yms/db-name || true
db_input high yms/db-user || true
db_input high yms/db-password || true
db_input high yms/webgui || true
db_go
+7 -1
View File
@@ -12,11 +12,17 @@ Package: yms
Architecture: all
Depends:
mariadb-server,
httpd,
python3,
python3-gi,
gir1.2-gtk-3.0,
gir1.2-rsvg-2.0,
python3-mysqldb,
python3-bcrypt
python3-bcrypt,
php (>= 8.0),
php-mysql,
php-xml,
gettext,
mupdf-tools
Description: Yacht Management Software
Yacht management software with native GTK GUI and web interface.
+3
View File
@@ -26,3 +26,6 @@ yms.desktop usr/share/applications/
# Idesktop link file
yms.lnk usr/share/yms/
# Webserver
config/apache/yms.conf /etc/apache2/conf-available/
+6
View File
@@ -27,4 +27,10 @@ else
mariadb "${DB_NAME}" < /usr/share/yms/db/minimal.sql
echo "Database schema initialized."
fi
db_get yms/webgui
if [ "$RET" = "true" ]; then
# use web gui, depends on available web server
fi
exit 0
+1
View File
@@ -17,6 +17,7 @@ override_dh_install:
install -D -m 0755 debian/yms-launcher debian/yms/usr/bin/yms
dh_install
sed -i 's#@PREFIX@#/usr#g' debian/yms/usr/share/applications/yms.desktop
sed -i 's#@PREFIX@#/usr#g' debian/yms/usr/share/yms/yms.lnk
# Installation is handled by debian/install
override_dh_auto_install:
+9
View File
@@ -14,3 +14,12 @@ Template: yms/db-password
Type: password
Description: Web GUI database password:
Please enter the password for the YMS web interface database user.
Template: yms/webgui
Type: boolean
Default: false
Description: Enable the YMS web interface?
The YMS package includes a web interface that can be served
by a web server.
.
Do you want to enable the web interface?