summaryrefslogtreecommitdiff
path: root/databases/shared-mime-info
diff options
context:
space:
mode:
authorwiz <wiz>2014-04-25 08:53:21 +0000
committerwiz <wiz>2014-04-25 08:53:21 +0000
commit0edcf3651609106a3c3172448f163d0aa0bb41f3 (patch)
treebfe7c7fa79d526a1428241effec3551b004f4255 /databases/shared-mime-info
parent5de33eb1de4136420577ca6d245e6fdc39548812 (diff)
downloadpkgsrc-0edcf3651609106a3c3172448f163d0aa0bb41f3.tar.gz
Update to 1.3:
shared-mime-info 1.3 (2014-04-08) * Mime-type changes: - Add Aliases for OpenOffice Base and StarWriter - Add Apple Keynote 5 mime-type - Add mimetype for compressed FictionBook2 - Don't recognize all .asc files as application/pgp-encrypted - Add tree magic for the Kindle e-book reader - Add LZ4 archive type - Add PC Engine, GameCube and Wii "ROM" types - Add audio/x-opus+ogg mime-type - Add image/webp mime-type - Prefer application/vnd.ms-asf to video/x-ms-asf - Add application/x-riff mime-type - Add JSON mime-type - Add *.jsm glob for Javascript - Add magic and glob patterns for compressed x-spss-sav files - JavaScript and CSS are not subclasses of text/x-csrc - Remove *.CSSL glob for CSS files * Call g_type_init() only with older glib * Fix failures on NetBSD * Store MEDIA/SUBTYPE.xml files in lowercase
Diffstat (limited to 'databases/shared-mime-info')
-rw-r--r--databases/shared-mime-info/Makefile5
-rw-r--r--databases/shared-mime-info/distinfo10
-rw-r--r--databases/shared-mime-info/patches/patch-aa14
3 files changed, 8 insertions, 21 deletions
diff --git a/databases/shared-mime-info/Makefile b/databases/shared-mime-info/Makefile
index 7721a5c5105..143cbc81faf 100644
--- a/databases/shared-mime-info/Makefile
+++ b/databases/shared-mime-info/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2013/10/17 04:28:33 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2014/04/25 08:53:21 wiz Exp $
-DISTNAME= shared-mime-info-1.2
-PKGREVISION= 2
+DISTNAME= shared-mime-info-1.3
CATEGORIES= databases
MASTER_SITES= http://people.freedesktop.org/~hadess/
EXTRACT_SUFX= .tar.xz
diff --git a/databases/shared-mime-info/distinfo b/databases/shared-mime-info/distinfo
index 7296d0e0feb..3d62b5b5e0a 100644
--- a/databases/shared-mime-info/distinfo
+++ b/databases/shared-mime-info/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2013/10/17 04:36:57 wiz Exp $
+$NetBSD: distinfo,v 1.26 2014/04/25 08:53:21 wiz Exp $
-SHA1 (shared-mime-info-1.2.tar.xz) = 4c1598e30c632f1f9e825d95da7e3a1f47a32948
-RMD160 (shared-mime-info-1.2.tar.xz) = fb1dca4b9f866dc1c6cc9ac4bab066a2a5bc69b6
-Size (shared-mime-info-1.2.tar.xz) = 514612 bytes
-SHA1 (patch-aa) = e1b5a5601d9c46da202886fe81397f136ef2915a
+SHA1 (shared-mime-info-1.3.tar.xz) = dfc8f2724df2172be2f2782be0c40c23e1d8f54f
+RMD160 (shared-mime-info-1.3.tar.xz) = b7a1b278a9db6d1fa895c7a5ed61a683823ab610
+Size (shared-mime-info-1.3.tar.xz) = 517420 bytes
+SHA1 (patch-aa) = 2e55e6051412b06b2661f88673cb14154eef2c8a
diff --git a/databases/shared-mime-info/patches/patch-aa b/databases/shared-mime-info/patches/patch-aa
index ec857dc0841..9f14f5167c9 100644
--- a/databases/shared-mime-info/patches/patch-aa
+++ b/databases/shared-mime-info/patches/patch-aa
@@ -1,21 +1,9 @@
-$NetBSD: patch-aa,v 1.7 2013/10/17 04:36:57 wiz Exp $
-
-fdatasync needs a writable file descriptor.
-https://bugs.freedesktop.org/show_bug.cgi?id=70559
+$NetBSD: patch-aa,v 1.8 2014/04/25 08:53:21 wiz Exp $
Adapt paths for pkgsrc.
--- update-mime-database.c.orig 2013-07-09 22:10:53.000000000 +0000
+++ update-mime-database.c
-@@ -951,7 +951,7 @@ static gboolean atomic_update(const gcha
- new_name = g_strndup(pathname, len - 4);
-
- #ifdef HAVE_FDATASYNC
-- fd = open(pathname, O_RDONLY);
-+ fd = open(pathname, O_RDWR);
- if (fd == -1)
- {
- set_error_from_errno(error);
@@ -2135,7 +2135,7 @@ static void check_in_path_xdg_data(const
env = getenv("XDG_DATA_DIRS");