pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgsrc: desktop-file-utils: Add font as valid media type
details: https://anonhg.NetBSD.org/pkgsrc/rev/20c9f9a0a5a5
branches: trunk
changeset: 306475:20c9f9a0a5a5
user: markd <markd%pkgsrc.org@localhost>
date: Tue Apr 17 10:59:19 2018 +0000
description:
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
diffstat:
sysutils/desktop-file-utils/Makefile | 3 +-
sysutils/desktop-file-utils/distinfo | 3 +-
sysutils/desktop-file-utils/patches/patch-src_mimeutils.c | 22 +++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diffs (51 lines):
diff -r 02a78160d815 -r 20c9f9a0a5a5 sysutils/desktop-file-utils/Makefile
--- a/sysutils/desktop-file-utils/Makefile Tue Apr 17 10:58:06 2018 +0000
+++ b/sysutils/desktop-file-utils/Makefile Tue Apr 17 10:59:19 2018 +0000
@@ -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
diff -r 02a78160d815 -r 20c9f9a0a5a5 sysutils/desktop-file-utils/distinfo
--- a/sysutils/desktop-file-utils/distinfo Tue Apr 17 10:58:06 2018 +0000
+++ b/sysutils/desktop-file-utils/distinfo Tue Apr 17 10:59:19 2018 +0000
@@ -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
diff -r 02a78160d815 -r 20c9f9a0a5a5 sysutils/desktop-file-utils/patches/patch-src_mimeutils.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/desktop-file-utils/patches/patch-src_mimeutils.c Tue Apr 17 10:59:19 2018 +0000
@@ -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