pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/shared-mime-info



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Dec  5 20:15:24 UTC 2023

Modified Files:
        pkgsrc/databases/shared-mime-info: Makefile PLIST distinfo
Added Files:
        pkgsrc/databases/shared-mime-info/patches:
            patch-src_update-mime-database.cpp
Removed Files:
        pkgsrc/databases/shared-mime-info/patches:
            patch-src_update-mime-database.c

Log Message:
shared-mime-info: update to 2.4

shared-mime-info 2.4 (2023-11-12)

* Restore mimetype name for *.bz2 and *.tar.bz2
* Improve detection of application/mac-binhex40
* Add application/x-msdownload and subtypes
* Add Windows app store types
* Give Windows Installer packages the package icon
* Lower priority for text/x-mpsub's magic, so it doesn't match pcb-drillFile.drl
* Add application/x-powershell
* Add application/wasm
* Change comment of text/x-mpsub
* Change comment of text/x-mpl2
* Add text/x-component
* Give higher priority to the more specific image/apng magic
* Recognize *.jfif as image/jpeg
* Add application/its+xml
* Add text/x-vb
* Add text/x-basic
* Add new group "chemical" in update-mime-database
* Add mimetype for Protein Data Bank (pdb) files
* Remove too generic magic from application/x-pak
* Add application/json5
* Add text/vbscript.encode
* Add text/jscript.encode
* Add text/jscript as synonym of text/javascript
* Fix backwards relationship between text/javascript and application/ecmascript
* Add application/vnd.cups-ppd
* Add application/x-ms-shortcut
* Give application/x-mswinurl the link icon
Build:
* Fix missing sentinel warning with clang
* Fix false positive fdatasync detection on darwin
* Fix string literal concatenation

shared-mime-info 2.3 (2023-10-07)

* Make update-mime-database compatible with MSVC (by porting it to C++)
* Remove "##" magic for matlab files
* Add application/x-ms-pdb
* Identify .pdb files without a signature match as application/vnd.palm
* text/vnd.familysearch.gedcom: use IANA registered type
* application/vnd.dbf: use IANA registered type
* application/vnd.dart: use IANA registered type
* application/yaml: use IANA registered type
* Update application/sieve.
* Updated to latest xdgmime
* Add subclass information for .ppt and .xls
* Add application/x-bzip3
* Add application/x-bzip for bzip2's deprecated predecessor bzip
* Rename application/x-bzip to application/x-bzip2
* add tiled map editor map and tileset files
* Add image/apng
* Lengthen image/png magic
* Add JPEG XR mime type
* Add Gerber and Excellon drill files
* Bump magic priority for application/ovf
* Fix description for audio/x-xi
* Add Portable Font Resource application/font-tdpfr.
* Add mimetype application/x-lmdb
* Add definition and test file for StuffIt X archives.
* spec: Clarify that namespaceURI can be empty
* Add application/vnd.ms-officetheme
* Add mime type for Typst files
* Add text/x-nim and text/x-nimscript
* Don't install man page on Windows
* Improve matching for message/rfc822
* Add mimetype for Blueprint source code
* buildsystem - add options for building tests and translations
* Give application/x-raw-floppy-disk-image the floppy media icon
* Give generic optical disk images the optical media icon
* Make application/vnd.squashfs a subclass of application/vnd.efi.img
* Prefer application/vnd.efi.img over application/x-raw-disk-image
* Prefer application/vnd.efi.iso over application/x-cd-image
* Avoid meson errors when 'build-tools' is set to false
* Add DOS/Windows batch file type
* Add application/vnd.microsoft.windows.thumbnail-cache
* Add application/x-fishscript and application/x-nuscript
* Add perf data file type
* use Sentence case for mime type descriptions
* Revert "use Title Case for mime type description"
* Add todo.txt mime type
* Prefer video/vnd.avi over video/x-msvideo
* Prefer audio/vnd.wave over audio/x-wav
* Add mimetype for ERIS link files
* Add mimetype for CBOR
* Add support for newer AAXC Audible Audiobook format
* ci: Use ci-templates to build image
* Add Modrinth modpack
* Add application/x-zpaq
* CI: Use dnf5 instead of dnf
* use Title Case for mime type description
* Add mimetype for Quite OK Image Format (QOI)
* ci: Use detached pipelines
* Add OpenVPN profile
* Prefer application/java-archive to application/x-java-archive
* icons for 3d model formats
* Make application/pgp-* not inherit from text/plain
* Add text/julia for Julia source code
* application/javascript: Rename to text/javascript
* Change descriptions to say LibreOffice rather than OpenOffice
* Add TAK audio mime type
* video/vnd.youtube.yt: add magic
* video/vnd.youtube.yt: use IANA registered type
* text/markdown: add x-office-document generic-icon
* Add two new languages
* audio/x-wav: Add missing sub-class relationship with application/x-riff
* Add mimetype for Flattened Devicetree (binary)
* Add mimetype for Devicetree source code


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 pkgsrc/databases/shared-mime-info/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/databases/shared-mime-info/PLIST
cvs rdiff -u -r1.39 -r1.40 pkgsrc/databases/shared-mime-info/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/databases/shared-mime-info/patches/patch-src_update-mime-database.c
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/shared-mime-info/patches/patch-src_update-mime-database.cpp

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

Modified files:

Index: pkgsrc/databases/shared-mime-info/Makefile
diff -u pkgsrc/databases/shared-mime-info/Makefile:1.80 pkgsrc/databases/shared-mime-info/Makefile:1.81
--- pkgsrc/databases/shared-mime-info/Makefile:1.80     Wed Nov  8 13:18:37 2023
+++ pkgsrc/databases/shared-mime-info/Makefile  Tue Dec  5 20:15:23 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2023/11/08 13:18:37 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2023/12/05 20:15:23 markd Exp $
 
-DISTNAME=      shared-mime-info-2.2
-PKGREVISION=   4
+DISTNAME=      shared-mime-info-2.4
 CATEGORIES=    databases
 MASTER_SITES=  https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.bz2
@@ -14,7 +13,7 @@ LICENSE=      gnu-gpl-v2
 TOOL_DEPENDS+=         gettext-tools>=0.19.8:../../devel/gettext-tools
 TOOL_DEPENDS+=         xmlto>=0:../../textproc/xmlto
 
-USE_LANGUAGES+=                c99
+USE_LANGUAGES+=                c99 c++
 USE_TOOLS+=            bash:test msgfmt pkg-config xgettext
 
 .include "../../mk/bsd.prefs.mk"

Index: pkgsrc/databases/shared-mime-info/PLIST
diff -u pkgsrc/databases/shared-mime-info/PLIST:1.25 pkgsrc/databases/shared-mime-info/PLIST:1.26
--- pkgsrc/databases/shared-mime-info/PLIST:1.25        Thu Oct 13 11:08:43 2022
+++ pkgsrc/databases/shared-mime-info/PLIST     Tue Dec  5 20:15:23 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2022/10/13 11:08:43 wiz Exp $
+@comment $NetBSD: PLIST,v 1.26 2023/12/05 20:15:23 markd Exp $
 bin/update-mime-database
 man/man1/update-mime-database.1
 share/gettext/its/shared-mime-info.its
@@ -38,6 +38,7 @@ share/locale/hr/LC_MESSAGES/shared-mime-
 share/locale/hu/LC_MESSAGES/shared-mime-info.mo
 share/locale/ia/LC_MESSAGES/shared-mime-info.mo
 share/locale/id/LC_MESSAGES/shared-mime-info.mo
+share/locale/is/LC_MESSAGES/shared-mime-info.mo
 share/locale/it/LC_MESSAGES/shared-mime-info.mo
 share/locale/ja/LC_MESSAGES/shared-mime-info.mo
 share/locale/ka/LC_MESSAGES/shared-mime-info.mo
@@ -62,6 +63,7 @@ share/locale/pt_BR/LC_MESSAGES/shared-mi
 share/locale/ro/LC_MESSAGES/shared-mime-info.mo
 share/locale/ru/LC_MESSAGES/shared-mime-info.mo
 share/locale/rw/LC_MESSAGES/shared-mime-info.mo
+share/locale/si/LC_MESSAGES/shared-mime-info.mo
 share/locale/sk/LC_MESSAGES/shared-mime-info.mo
 share/locale/sl/LC_MESSAGES/shared-mime-info.mo
 share/locale/sq/LC_MESSAGES/shared-mime-info.mo

Index: pkgsrc/databases/shared-mime-info/distinfo
diff -u pkgsrc/databases/shared-mime-info/distinfo:1.39 pkgsrc/databases/shared-mime-info/distinfo:1.40
--- pkgsrc/databases/shared-mime-info/distinfo:1.39     Thu Oct 13 11:08:43 2022
+++ pkgsrc/databases/shared-mime-info/distinfo  Tue Dec  5 20:15:23 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.39 2022/10/13 11:08:43 wiz Exp $
+$NetBSD: distinfo,v 1.40 2023/12/05 20:15:23 markd Exp $
 
-BLAKE2s (shared-mime-info-2.2.tar.bz2) = b9c873ddc28ef0760605e5a2a0e088660ed23841df6fa41e84e3d96c701698d4
-SHA512 (shared-mime-info-2.2.tar.bz2) = e32e78435b6bbcdd5abcd1b7708a715d14310f920742e762ce1d4a4f27c1215dbd6493f816d3bf8cf32cf8635a4cee031cf7ea7bad56c4034302273f25da1065
-Size (shared-mime-info-2.2.tar.bz2) = 6428871 bytes
-SHA1 (patch-src_update-mime-database.c) = c4477e3f1e1a71931be67df2556cdcf9357acb95
+BLAKE2s (shared-mime-info-2.4.tar.bz2) = 6032696550d949c4b7d62713c82e2d85c9b19cc1c3f8f294bc22509d655e92c0
+SHA512 (shared-mime-info-2.4.tar.bz2) = 712f414e80919bf2a0f5083ced44c54a350948a526850466a6e9f35365dcfd97fad8bcdbb29945de2715a8f9b70a108e931c8500209a4d6e3dddf97af02771cb
+Size (shared-mime-info-2.4.tar.bz2) = 7096347 bytes
+SHA1 (patch-src_update-mime-database.cpp) = 4e4c0370c78cacdd5392099bedd30b4bc8d7e8f0

Added files:

Index: pkgsrc/databases/shared-mime-info/patches/patch-src_update-mime-database.cpp
diff -u /dev/null pkgsrc/databases/shared-mime-info/patches/patch-src_update-mime-database.cpp:1.1
--- /dev/null   Tue Dec  5 20:15:24 2023
+++ pkgsrc/databases/shared-mime-info/patches/patch-src_update-mime-database.cpp        Tue Dec  5 20:15:23 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_update-mime-database.cpp,v 1.1 2023/12/05 20:15:23 markd Exp $
+
+Adapt paths for pkgsrc.
+
+--- src/update-mime-database.cpp.orig  2023-11-12 08:52:33.000000000 +0000
++++ src/update-mime-database.cpp
+@@ -2159,7 +2159,7 @@ static void check_in_path_xdg_data(const
+ 
+       env = getenv("XDG_DATA_DIRS");
+       if (!env)
+-              env = "/usr/local/share/" PATH_SEPARATOR "/usr/share/";
++              env = PREFIX "/share/" PATH_SEPARATOR "/usr/local/share/" PATH_SEPARATOR "/usr/share/";
+       dirs = g_strsplit(env, PATH_SEPARATOR, 0);
+       g_return_if_fail(dirs != NULL);
+       for (n = 0; dirs[n]; n++)



Home | Main Index | Thread Index | Old Index