Skip to content

Commit

Permalink
Merge pull request amit9838#66 from hsbasu/fix-deb-packaging
Browse files Browse the repository at this point in the history
Fix no icon in debian packaging and lintian
  • Loading branch information
amit9838 authored Feb 5, 2024
2 parents d37b3b0 + b0372d6 commit 2b8e481
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
12 changes: 6 additions & 6 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Priority: optional
Maintainer: Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
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
Expand All @@ -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
16 changes: 15 additions & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mousam
Upstream-Contact: Amit Chaudhary <amitchaudhary0539@outlook.com>
Source: https://github.com/amit9838/weather
Source: https://github.com/amit9838/mousam

Files: *
Copyright: 2023-2024 Amit Chaudhary <amitchaudhary0539@outlook.com>
License: GPL-3.0+

Files: data/io.github.amit9838.mousam.appdata.xml.in
Copyright: 2023-2024 Amit Chaudhary <amitchaudhary0539@outlook.com>
License: CC0-1.0

Files: debian/*
Copyright: 2023-2024 Himadri Sekhar Basu <hsb10@iitbbs.ac.in>
License: GPL-3.0+
Expand All @@ -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 <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the CC0 1.0 Universal License
can be found in "/usr/share/common-licenses/CC0-1.0".
4 changes: 4 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions debian/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;

*)
Expand Down

0 comments on commit 2b8e481

Please sign in to comment.