This patch shuts up update-mime-database(1) when having KDE4 and/or
chemical packages installed. Looking at the code, there are already
some non-standard items (x-* ones), so I don't thing we're going
to make things worse than they already are.
Running this for a while.
Any thoughts or okay to commit?
--
WBR,
Vadim Zhukov
Index: Makefile
===================================================================
RCS file: /cvs/ports/misc/shared-mime-info/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- Makefile 11 Mar 2013 11:23:58 -0000 1.47
+++ Makefile 4 May 2013 08:23:52 -0000
@@ -4,6 +4,7 @@ COMMENT= shared mime database for deskt
DISTNAME= shared-mime-info-1.1
CATEGORIES= misc
+REVISION= 0
HOMEPAGE=
http://www.freedesktop.org/wiki/Software/shared-mime-info
Index: patches/patch-update-mime-database_c
===================================================================
RCS file: patches/patch-update-mime-database_c
diff -N patches/patch-update-mime-database_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-update-mime-database_c 4 May 2013 08:23:52 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- update-mime-database.c.orig Sun Apr 7 00:14:19 2013
++++ update-mime-database.c Sun Apr 7 00:15:09 2013
+@@ -59,6 +59,9 @@ const char *media_types[] = {
+ "x-content",
+ "x-epoc",
+ "x-scheme-handler",
++ "all", /* KDE4 */
++ "uri", /* KDE4 */
++ "chemical", /* chemical apps de-facto standard */
+ };
+
+ /* Represents a MIME type */