pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/desktop-file-utils



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Apr 17 10:59:19 UTC 2018

Modified Files:
        pkgsrc/sysutils/desktop-file-utils: Makefile distinfo
Added Files:
        pkgsrc/sysutils/desktop-file-utils/patches: patch-src_mimeutils.c

Log Message:
desktop-file-utils: Add font as valid media type

This was codified in RFC 8081, and some desktop apps are using
this now.
https://bugs.freedesktop.org/show_bug.cgi?id=105785


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/sysutils/desktop-file-utils/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/desktop-file-utils/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/desktop-file-utils/patches/patch-src_mimeutils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/desktop-file-utils/Makefile
diff -u pkgsrc/sysutils/desktop-file-utils/Makefile:1.35 pkgsrc/sysutils/desktop-file-utils/Makefile:1.36
--- pkgsrc/sysutils/desktop-file-utils/Makefile:1.35    Thu Jun 30 17:42:18 2016
+++ pkgsrc/sysutils/desktop-file-utils/Makefile Tue Apr 17 10:59:19 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2016/06/30 17:42:18 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2018/04/17 10:59:19 markd Exp $
 
 DISTNAME=      desktop-file-utils-0.23
+PKGREVISION=   1
 CATEGORIES=    sysutils gnome
 MASTER_SITES=  http://freedesktop.org/software/desktop-file-utils/releases/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/sysutils/desktop-file-utils/distinfo
diff -u pkgsrc/sysutils/desktop-file-utils/distinfo:1.15 pkgsrc/sysutils/desktop-file-utils/distinfo:1.16
--- pkgsrc/sysutils/desktop-file-utils/distinfo:1.15    Thu Jun 30 17:42:18 2016
+++ pkgsrc/sysutils/desktop-file-utils/distinfo Tue Apr 17 10:59:19 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2016/06/30 17:42:18 wiz Exp $
+$NetBSD: distinfo,v 1.16 2018/04/17 10:59:19 markd Exp $
 
 SHA1 (desktop-file-utils-0.23.tar.xz) = 10e9df65fdf2b896ce4d5f16616ea0df7c01d8f8
 RMD160 (desktop-file-utils-0.23.tar.xz) = 308058ff58db3a8a4ac28bf4b0d57df2dfede7bf
 SHA512 (desktop-file-utils-0.23.tar.xz) = 66a8ddfbb2be8edc14e16427e0dafa6fb1ef7491c816f19221fb5d5782e964cdcc3ae89807339f1c565af828aa83403cc56edeb2d03b3f93e013f3c5e9e6fe6a
 Size (desktop-file-utils-0.23.tar.xz) = 132000 bytes
 SHA1 (patch-ab) = 82809458adbb142b64bfc3b5cd29ce39413d51fc
+SHA1 (patch-src_mimeutils.c) = f2eb709d6bd922db52acf8c48d8d8588ed2e1595

Added files:

Index: pkgsrc/sysutils/desktop-file-utils/patches/patch-src_mimeutils.c
diff -u /dev/null pkgsrc/sysutils/desktop-file-utils/patches/patch-src_mimeutils.c:1.1
--- /dev/null   Tue Apr 17 10:59:19 2018
+++ pkgsrc/sysutils/desktop-file-utils/patches/patch-src_mimeutils.c    Tue Apr 17 10:59:19 2018
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_mimeutils.c,v 1.1 2018/04/17 10:59:19 markd Exp $
+
+Add font as valid media type
+
+This was codified in RFC 8081, and some desktop apps are using
+this now.
+https://bugs.freedesktop.org/show_bug.cgi?id=105785
+
+--- src/mimeutils.c.orig       2016-05-11 20:05:33.000000000 +0000
++++ src/mimeutils.c
+@@ -52,9 +52,9 @@ static const char *known_old_fdo_media_t
+   "x-directory"
+ };
+ 
+-/* Defined in RFC 2045/2046 and RFC 2077 */
++/* Defined in RFC 2045/2046, RFC 2077 and RFC 8081 */
+ static const char *registered_discrete_media_types[] = {
+-  "application", "audio", "image", "model", "text", "video"
++  "application", "audio", "font", "image", "model", "text", "video"
+ };
+ 
+ /* Defined in RFC 2045/2046 */



Home | Main Index | Thread Index | Old Index