aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-11-10 05:57:42 -0500
committerB. Watson <urchlay@slackware.uk>2026-11-10 06:02:05 -0500
commitc7c94ee2d6281f0cd167f434cf328e9adb5fcbec (patch)
treec19be73186eeaacd19a69db84e052b31f357d55a
parent7b7205642dbef6375bbccebfb2dc736c5dd6dfda (diff)
downloadsbo-maintainer-tools-c7c94ee2d6281f0cd167f434cf328e9adb5fcbec.tar.gz
sbopkglint: Handle usr/share/applications/intent.cache on -current.
-rw-r--r--NEWS6
-rw-r--r--sbopkglint.d/35-desktop.t.sh1
-rw-r--r--sbopkglint.d/pre-doinst.sh1
3 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8468e14..8de824c 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,11 @@ sbopkglint:
'file' output (calls executables "i386" rather than "80386").
sbopkglint now just looks for "386". Thanks to Diniz Bortolotto
for reporting this.
-
+- desktop-file-utils now creates a file in /usr/share/applications
+ called "intent.cache" on Slackware-current. Apply patch from
+ Mario Antunes to (a) not choke on this file after doinst.sh is run,
+ and (b) complain in the pre-doinst test if the package contains it.
+ Same logic as mimeinfo.cache. Thanks, Mario!
New in 0.9.9:
=============
diff --git a/sbopkglint.d/35-desktop.t.sh b/sbopkglint.d/35-desktop.t.sh
index 23ccc41..e9fec81 100644
--- a/sbopkglint.d/35-desktop.t.sh
+++ b/sbopkglint.d/35-desktop.t.sh
@@ -28,6 +28,7 @@ check_desktop_dir() {
[ -e "$f" ] || continue
[ "$f" = "usr/share/applications/mimeinfo.cache" ] && continue
+ [ "$f" = "usr/share/applications/intent.cache" ] && continue
[ "$f" = "usr/share/applications/screensavers" ] && continue
[ "$( stat -Lc '%a %U %G' "$f" )" = "644 root root" ] || \
diff --git a/sbopkglint.d/pre-doinst.sh b/sbopkglint.d/pre-doinst.sh
index 14f745c..c786751 100644
--- a/sbopkglint.d/pre-doinst.sh
+++ b/sbopkglint.d/pre-doinst.sh
@@ -18,6 +18,7 @@ usr/share/icons/hicolor/icon-theme.cache \
usr/share/glib-2.0/schemas/gschemas.compiled \
usr/share/mime/mime.cache \
usr/share/applications/mimeinfo.cache \
+usr/share/applications/intent.cache \
usr/lib/gio/modules/giomodule.cache \
usr/lib64/gio/modules/giomodule.cache \
usr/lib/perl5/perllocal.pod \