Debian clean up (#180)

* debian: bump compat level to 10

Fixes the following warning:

dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 8 in use)

debian/compat is replaced with debhelper-compat build dependency.

Remove "--with autotools-dev" from debian/rules as the package uses
plain makefiles and not autotools. Also remove autotools-dev build
dependency.

* src/timeshift-gtk.desktop: remove MimeType and add Keywords

These changes apply the following Debian patches:

https://salsa.debian.org/debian/timeshift/-/blob/master/debian/patches/0003-Remove-Mime-Type-record-form-timeshift-gtk.desktop.patch
https://salsa.debian.org/debian/timeshift/-/blob/master/debian/patches/0006-Add_keywords_to_dot_desktop.patch
This commit is contained in:
Yegor Yefremov 2023-04-24 16:47:14 +02:00 committed by GitHub
parent 5a44146762
commit 0c8a853c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

1
debian/compat vendored
View File

@ -1 +0,0 @@
8

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: timeshift
Section: utils
Priority: extra
Maintainer: Linux Mint <root@linuxmint.com>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, gzip, valac, libgtk-3-dev, libgee-0.8-dev, libjson-glib-dev, libvte-2.91-dev, libxapp-dev
Build-Depends: debhelper-compat (= 10), gzip, valac, libgtk-3-dev, libgee-0.8-dev, libjson-glib-dev, libvte-2.91-dev, libxapp-dev
Standards-Version: 3.9.3
Homepage: https://github.com/linuxmint/timeshift

2
debian/rules vendored
View File

@ -12,4 +12,4 @@
override_dh_usrlocal:
%:
dh $@ --with autotools-dev
dh $@

View File

@ -1,6 +1,5 @@
[Desktop Entry]
Name=Timeshift
MimeType=
Exec=timeshift-launcher
Type=Application
GenericName=System Restore Utility
@ -30,3 +29,4 @@ Comment[ru]=Программа для восстановления систем
X-KDE-StartupNotify=false
Categories=System;
X-GNOME-UsesNotifications=true
Keywords=backup;btrfs;rsync;