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:   adam
Date:           Tue Jul 23 06:23:43 UTC 2024

Modified Files:
        pkgsrc/sysutils/desktop-file-utils: Makefile distinfo
        pkgsrc/sysutils/desktop-file-utils/patches:
            patch-src_update-desktop-database.c
Removed Files:
        pkgsrc/sysutils/desktop-file-utils/patches: patch-src_install.c
            patch-src_validator.c

Log Message:
desktop-file-utils: updated to 0.27

Version 0.27

common
 - Remove Autotools support.
 - Minor updates to project documentation.
 - Add pledge(2) support to remaining utilities (Antoine Jacoutot).
 - Add --version support to utilities (fdo#64) (JakobDev).

desktop-file-validate
 - Support desktop spec version 1.5 (fdo#59) (David King).
 - Add LXQt to categories (fdo#63) (rezso).
 - Use DDE category for Deepin desktop (Wang Zichong).
 - Add Endless to list of desktop IDs (Philip Withnall).
 - Fix field code escaping in messages (fdo#71).

desktop-entry-mode.el
 - Highlight action groups when ID includes hyphens (Peter Oliver).


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/sysutils/desktop-file-utils/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/sysutils/desktop-file-utils/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/sysutils/desktop-file-utils/patches/patch-src_install.c \
    pkgsrc/sysutils/desktop-file-utils/patches/patch-src_validator.c
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/sysutils/desktop-file-utils/patches/patch-src_update-desktop-database.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.51 pkgsrc/sysutils/desktop-file-utils/Makefile:1.52
--- pkgsrc/sysutils/desktop-file-utils/Makefile:1.51    Thu Dec  7 22:28:43 2023
+++ pkgsrc/sysutils/desktop-file-utils/Makefile Tue Jul 23 06:23:42 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2023/12/07 22:28:43 abs Exp $
+# $NetBSD: Makefile,v 1.52 2024/07/23 06:23:42 adam Exp $
 
-DISTNAME=      desktop-file-utils-0.26
-PKGREVISION=   4
+DISTNAME=      desktop-file-utils-0.27
 CATEGORIES=    sysutils gnome
 MASTER_SITES=  http://freedesktop.org/software/desktop-file-utils/releases/
 EXTRACT_SUFX=  .tar.xz
@@ -11,12 +10,12 @@ HOMEPAGE=   https://www.freedesktop.org/wi
 COMMENT=       Utilities to manage desktop entries
 LICENSE=       gnu-gpl-v2
 
-USE_CC_FEATURES+=      c11
+USE_CC_FEATURES=       c11
 
-USE_TOOLS+=            pkg-config
+USE_TOOLS+=    pkg-config
 
-FILES_SUBST+=          APPLICATIONS_PATH="${PREFIX}/share/applications"
-FILES_SUBST+=          UPDATE_DESKTOPDB="${PREFIX}/bin/update-desktop-database"
+FILES_SUBST+=  APPLICATIONS_PATH="${PREFIX}/share/applications"
+FILES_SUBST+=  UPDATE_DESKTOPDB="${PREFIX}/bin/update-desktop-database"
 
 SUBST_CLASSES+=                paths
 SUBST_STAGE.paths=     pre-configure
@@ -24,8 +23,8 @@ SUBST_FILES.paths=    src/update-desktop-da
 SUBST_VARS.paths=      LOCALBASE
 
 PRINT_PLIST_AWK+=      /^share\/applications\/mimeinfo.cache$$/ \
-                               { print "@comment in INSTALL script: " $$0; \
-                                 next; }
+                       { print "@comment in INSTALL script: " $$0; \
+                         next; }
 
 PYTHON_FOR_BUILD_ONLY= tool
 

Index: pkgsrc/sysutils/desktop-file-utils/distinfo
diff -u pkgsrc/sysutils/desktop-file-utils/distinfo:1.21 pkgsrc/sysutils/desktop-file-utils/distinfo:1.22
--- pkgsrc/sysutils/desktop-file-utils/distinfo:1.21    Tue Oct 26 11:19:29 2021
+++ pkgsrc/sysutils/desktop-file-utils/distinfo Tue Jul 23 06:23:42 2024
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 11:19:29 nia Exp $
+$NetBSD: distinfo,v 1.22 2024/07/23 06:23:42 adam Exp $
 
-BLAKE2s (desktop-file-utils-0.26.tar.xz) = 3bc2cccfec703c104bced582ed00c73b1b20f84d8847d50d6fab9ae65e91fee7
-SHA512 (desktop-file-utils-0.26.tar.xz) = 5b4e435f0b635d8f898ac7f5759f74a08ffbe2a56d41fee0e84ff57e73b98d08b57b4416f20b99f696dad8bcb1c20792b39acf836b0814220c0b386ea5f6b831
-Size (desktop-file-utils-0.26.tar.xz) = 83132 bytes
-SHA1 (patch-src_install.c) = b3a410c90382fbc54abcd97a6e0eb96317d294af
-SHA1 (patch-src_update-desktop-database.c) = 162664c09deaf3b3f817e3f7d0b9f209151ca3b1
-SHA1 (patch-src_validator.c) = 41497fcd2da168e86d51387bba4bc3797adbc82f
+BLAKE2s (desktop-file-utils-0.27.tar.xz) = 11c4218f124808a4ed8345ffbc07a44e105aa030a6e86442014599a85ace7af4
+SHA512 (desktop-file-utils-0.27.tar.xz) = 81356239a92fb17885aa85a5192c84c2757ebb2e540920d0d41d07035795f08f4162f41b1a87bb2bfcf70ec61f19f1f158e4395a359f46b46f68cb9e24f259a8
+Size (desktop-file-utils-0.27.tar.xz) = 80808 bytes
+SHA1 (patch-src_update-desktop-database.c) = b721f8a732dcd5e740ff5fa11969d1a68ba374b7

Index: pkgsrc/sysutils/desktop-file-utils/patches/patch-src_update-desktop-database.c
diff -u pkgsrc/sysutils/desktop-file-utils/patches/patch-src_update-desktop-database.c:1.1 pkgsrc/sysutils/desktop-file-utils/patches/patch-src_update-desktop-database.c:1.2
--- pkgsrc/sysutils/desktop-file-utils/patches/patch-src_update-desktop-database.c:1.1  Tue Sep  1 10:21:55 2020
+++ pkgsrc/sysutils/desktop-file-utils/patches/patch-src_update-desktop-database.c      Tue Jul 23 06:23:42 2024
@@ -1,22 +1,20 @@
-$NetBSD: patch-src_update-desktop-database.c,v 1.1 2020/09/01 10:21:55 schmonz Exp $
+$NetBSD: patch-src_update-desktop-database.c,v 1.2 2024/07/23 06:23:42 adam Exp $
 
 From OpenBSD ports, "Unveil the required directory with .desktop
 files and where the cache file needs to be written out to."
 
---- src/update-desktop-database.c.orig Thu Jan  1 00:00:00 1970
+--- src/update-desktop-database.c.orig 2023-10-05 15:07:13.000000000 +0000
 +++ src/update-desktop-database.c
-@@ -451,8 +451,8 @@ main (int    argc,
-      { NULL }
+@@ -456,7 +456,7 @@ main (int    argc,
     };
  
--#if HAVE_PLEDGE
--  if (pledge("stdio rpath wpath cpath fattr", NULL) == -1) {
-+#ifdef HAVE_PLEDGE
+ #ifdef HAVE_PLEDGE
+-  if (pledge ("stdio rpath wpath cpath fattr", NULL) == -1) {
 +  if (pledge ("stdio rpath wpath cpath fattr unveil", NULL) == -1) {
      g_printerr ("pledge\n");
      return 1;
    }
-@@ -478,9 +478,19 @@ main (int    argc,
+@@ -487,9 +487,19 @@ main (int    argc,
  
    print_desktop_dirs (desktop_dirs);
  
@@ -36,16 +34,16 @@ files and where the cache file needs to 
        error = NULL;
        update_database (desktop_dirs[i], &error);
  
-@@ -495,6 +505,12 @@ main (int    argc,
-         found_processable_dir = TRUE;
+@@ -505,6 +515,12 @@ main (int    argc,
      }
    g_option_context_free (context);
-+
+ 
 +#ifdef HAVE_PLEDGE
 +  if (unveil (NULL, NULL) == -1) {
 +    g_printerr ("unveil\n");
 +  }
 +#endif
- 
++
    if (!found_processable_dir)
      {
+       char *directories;



Home | Main Index | Thread Index | Old Index