git: 4fc43870682d - main - sysutils/mate-control-center: do not package cache files

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 04 Sep 2025 16:18:43 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fc43870682dfcb2e9ef43470d49c5d6d6d6eec9

commit 4fc43870682dfcb2e9ef43470d49c5d6d6d6eec9
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-09-04 16:17:32 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-09-04 16:18:26 +0000

    sysutils/mate-control-center: do not package cache files
    
    share/applications/mimeinfo.cache is handled by desktop-file-utils
    trigger and should never be packaged
---
 sysutils/mate-control-center/Makefile                         |  2 +-
 .../mate-control-center/files/patch-font-viewer_Makefile.am   | 11 +++++++++++
 sysutils/mate-control-center/pkg-plist                        |  1 -
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/sysutils/mate-control-center/Makefile b/sysutils/mate-control-center/Makefile
index 39fead4e5bf8..078b3d7b6d85 100644
--- a/sysutils/mate-control-center/Makefile
+++ b/sysutils/mate-control-center/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	mate-control-center
 PORTVERSION=	1.28.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils mate
 DIST_SUBDIR=	mate
 
diff --git a/sysutils/mate-control-center/files/patch-font-viewer_Makefile.am b/sysutils/mate-control-center/files/patch-font-viewer_Makefile.am
new file mode 100644
index 000000000000..09dbbb026f36
--- /dev/null
+++ b/sysutils/mate-control-center/files/patch-font-viewer_Makefile.am
@@ -0,0 +1,11 @@
+--- font-viewer/Makefile.am.orig	2025-09-04 15:59:11 UTC
++++ font-viewer/Makefile.am
+@@ -41,7 +41,7 @@ endif
+ 	$(AM_V_GEN) sed '/^# Translators/d' < $< > $@
+ endif
+ 
+-install-data-local: install-desktop-database
++#install-data-local: install-desktop-database
+ 
+ install-desktop-database: install-desktopDATA
+ 	update-desktop-database $(DESTDIR)$(desktopdir)
diff --git a/sysutils/mate-control-center/pkg-plist b/sysutils/mate-control-center/pkg-plist
index ca14659b05b8..6124627ea04c 100644
--- a/sysutils/mate-control-center/pkg-plist
+++ b/sysutils/mate-control-center/pkg-plist
@@ -31,7 +31,6 @@ share/applications/mate-system-info.desktop
 share/applications/mate-theme-installer.desktop
 share/applications/mate-window-properties.desktop
 share/applications/matecc.desktop
-share/applications/mimeinfo.cache
 share/desktop-directories/matecc.directory
 share/help/C/mate-control-center/config-accessibility-keyboard.xml
 share/help/C/mate-control-center/config-background.xml