diff --git a/CHANGELOG.md b/CHANGELOG.md index e236649..0027e37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.7.6 + + * Add .desktop file for Debian + # 0.7.5 * Fix import of sqlcipher4 diff --git a/debian/bouquin.desktop b/debian/bouquin.desktop new file mode 100644 index 0000000..ba622e5 --- /dev/null +++ b/debian/bouquin.desktop @@ -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 diff --git a/debian/bouquin.install b/debian/bouquin.install new file mode 100644 index 0000000..33cffb7 --- /dev/null +++ b/debian/bouquin.install @@ -0,0 +1,2 @@ +debian/bouquin.desktop usr/share/applications/ +bouquin/icons/bouquin.svg usr/share/icons/hicolor/scalable/apps/ diff --git a/tests-debian-packaging.sh b/tests-debian-packaging.sh new file mode 100755 index 0000000..cbefc31 --- /dev/null +++ b/tests-debian-packaging.sh @@ -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