From 236900d3e30aee32708c0194f3a1e7ac1eb94c06 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 19 Nov 2022 14:31:16 +0300 Subject: [PATCH 1/2] clamtk. --- util/antivirus/clamtk/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/antivirus/clamtk/actions.py b/util/antivirus/clamtk/actions.py index 3b7c5510be..2b95b7c8a6 100644 --- a/util/antivirus/clamtk/actions.py +++ b/util/antivirus/clamtk/actions.py @@ -20,4 +20,4 @@ def install(): pisitools.dopixmaps("images/*") pisitools.doman("clamtk.1.gz") - pisitools.insinto("/usr/share/appdata", "com.github.davetheunsub.clamtk.appdata.xml") + pisitools.insinto("/usr/share/metainfo", "com.github.davetheunsub.clamtk.appdata.xml") From cbaef9cdb75cb66e796fac9d517f542b7ea17978 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 19 Nov 2022 15:15:16 +0300 Subject: [PATCH 2/2] clamtk. --- .../clamtk/files/guicheck_disable_by_default.patch | 13 +++++++++++++ util/antivirus/clamtk/pspec.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 util/antivirus/clamtk/files/guicheck_disable_by_default.patch diff --git a/util/antivirus/clamtk/files/guicheck_disable_by_default.patch b/util/antivirus/clamtk/files/guicheck_disable_by_default.patch new file mode 100644 index 0000000000..bc168b0193 --- /dev/null +++ b/util/antivirus/clamtk/files/guicheck_disable_by_default.patch @@ -0,0 +1,13 @@ +diff --git a/lib/Prefs.pm b/lib/Prefs.pm +index 95cf815..f69c446 100644 +--- a/lib/Prefs.pm ++++ b/lib/Prefs.pm +@@ -198,7 +198,7 @@ sub custom_prefs { + for my $p ( qw{GUICheck TruncateLog DupeDB } ) { + # on by default + if ( !exists $pkg{ $p } ) { +- $pkg{ $p } = 1; ++ $pkg{ $p } = 0; + } + } + diff --git a/util/antivirus/clamtk/pspec.xml b/util/antivirus/clamtk/pspec.xml index 3561ddc36f..ba044794e3 100644 --- a/util/antivirus/clamtk/pspec.xml +++ b/util/antivirus/clamtk/pspec.xml @@ -21,7 +21,7 @@ - + guicheck_disable_by_default.patch