Add .desktop file for Debian
All checks were successful
CI / test (push) Successful in 8m20s
Lint / test (push) Successful in 34s
Trivy / test (push) Successful in 19s

This commit is contained in:
Miguel Jacq 2025-12-22 17:17:04 +11:00
parent 6d199dbca2
commit 2d1c4f5b21
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
4 changed files with 44 additions and 0 deletions

View file

@ -1,3 +1,7 @@
# 0.7.6
* Add .desktop file for Debian
# 0.7.5
* Fix import of sqlcipher4

13
debian/bouquin.desktop vendored Normal file
View file

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Name=Bouquin
GenericName=Journal
Comment=Daily planner with calendar, keyword searching, version control, time logging and document management
Exec=bouquin
Icon=bouquin
Terminal=false
Type=Application
Categories=Office;Calendar;
Keywords=Journal;Diary;Notes;Notebook;
StartupNotify=true
X-GNOME-Gettext-Domain=bouquin

2
debian/bouquin.install vendored Normal file
View file

@ -0,0 +1,2 @@
debian/bouquin.desktop usr/share/applications/
bouquin/icons/bouquin.svg usr/share/icons/hicolor/scalable/apps/

25
tests-debian-packaging.sh Executable file
View file

@ -0,0 +1,25 @@
#!/bin/bash
set -eou pipefail
DISTS=(
debian:trixie
)
for dist in ${DISTS[@]}; do
release=$(echo ${dist} | cut -d: -f2)
mkdir -p dist/${release}
docker build -f Dockerfile.debbuild -t bouquin-deb:${release} \
--no-cache \
--progress=plain \
--build-arg BASE_IMAGE=${dist} .
docker run --rm \
-e SUITE="${release}" \
-v "$PWD":/src \
-v "$PWD/dist/${release}":/out \
bouquin-deb:${release}
debfile=$(ls -1 dist/${release}/*.deb)
done