diff --git a/debian/control b/debian/control index 6ae1f2f..191ba4a 100644 --- a/debian/control +++ b/debian/control @@ -4,13 +4,13 @@ Priority: optional Maintainer: Himadri Sekhar Basu Build-Depends: debhelper-compat (= 13), dh-python, - meson (>= 0.61) + meson (>= 0.61) Build-Depends-Indep: desktop-file-utils, - gtk-update-icon-cache, + gtk-update-icon-cache, libglib2.0-bin, - libglib2.0-dev, - libglib2.0-dev-bin, - pkg-config, + libglib2.0-dev, + libglib2.0-dev-bin, + pkg-config, python3-all Standards-Version: 4.6.0 Homepage: https://amit9838.github.io/weather @@ -24,7 +24,7 @@ Depends: gir1.2-adw-1, gir1.2-gtk-4.0, python3-gi, ${python3:Depends}, - ${misc:Depends} + ${misc:Depends} Description: Weather for Linux Beautiful and light weight weather app built using Gtk4 and python diff --git a/debian/copyright b/debian/copyright index eae9a76..b44053f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,12 +1,16 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mousam Upstream-Contact: Amit Chaudhary -Source: https://github.com/amit9838/weather +Source: https://github.com/amit9838/mousam Files: * Copyright: 2023-2024 Amit Chaudhary License: GPL-3.0+ +Files: data/io.github.amit9838.mousam.appdata.xml.in +Copyright: 2023-2024 Amit Chaudhary +License: CC0-1.0 + Files: debian/* Copyright: 2023-2024 Himadri Sekhar Basu License: GPL-3.0+ @@ -27,3 +31,13 @@ License: GPL-3.0+ . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +License: CC0-1.0 + No license required for any purpose; the work is not subject to copyright + in any jurisdiction. + . + You should have received a copy of the CC0 1.0 Universal License + along with this program. If not, see . + . + On Debian systems, the complete text of the CC0 1.0 Universal License + can be found in "/usr/share/common-licenses/CC0-1.0". diff --git a/debian/postinst b/debian/postinst index c55d922..e374e65 100644 --- a/debian/postinst +++ b/debian/postinst @@ -12,6 +12,10 @@ case "$1" in then glib-compile-schemas /usr/share/glib-2.0/schemas fi + if which gtk4-update-icon-cache >/dev/null 2>&1 + then + gtk4-update-icon-cache -q -t -f /usr/share/icons/hicolor + fi ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/postrm b/debian/postrm index 9ed6584..6074738 100644 --- a/debian/postrm +++ b/debian/postrm @@ -12,6 +12,10 @@ case "$1" in then glib-compile-schemas /usr/share/glib-2.0/schemas fi + if which gtk4-update-icon-cache >/dev/null 2>&1 + then + gtk4-update-icon-cache -q -t -f /usr/share/icons/hicolor + fi ;; *)