pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/xdg-utils



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 12 17:23:12 UTC 2020

Modified Files:
        pkgsrc/misc/xdg-utils: Makefile distinfo
Added Files:
        pkgsrc/misc/xdg-utils/patches: patch-scripts_xdg-settings.in

Log Message:
xdg-utils: update to 1.1.3nb2.

Fix unportable test(1) operator in installed script.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/misc/xdg-utils/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/misc/xdg-utils/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/misc/xdg-utils/patches/patch-scripts_xdg-settings.in

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

Modified files:

Index: pkgsrc/misc/xdg-utils/Makefile
diff -u pkgsrc/misc/xdg-utils/Makefile:1.15 pkgsrc/misc/xdg-utils/Makefile:1.16
--- pkgsrc/misc/xdg-utils/Makefile:1.15 Wed Oct 17 08:39:13 2018
+++ pkgsrc/misc/xdg-utils/Makefile      Thu Mar 12 17:23:12 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2018/10/17 08:39:13 jperkin Exp $
+# $NetBSD: Makefile,v 1.16 2020/03/12 17:23:12 wiz Exp $
 
 DISTNAME=      xdg-utils-1.1.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    misc
 MASTER_SITES=  https://portland.freedesktop.org/download/
 

Index: pkgsrc/misc/xdg-utils/distinfo
diff -u pkgsrc/misc/xdg-utils/distinfo:1.9 pkgsrc/misc/xdg-utils/distinfo:1.10
--- pkgsrc/misc/xdg-utils/distinfo:1.9  Sat May 12 10:11:49 2018
+++ pkgsrc/misc/xdg-utils/distinfo      Thu Mar 12 17:23:12 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2018/05/12 10:11:49 leot Exp $
+$NetBSD: distinfo,v 1.10 2020/03/12 17:23:12 wiz Exp $
 
 SHA1 (xdg-utils-1.1.3.tar.gz) = 98294cf332c341b85e481d98e9ea59357fe1efc7
 RMD160 (xdg-utils-1.1.3.tar.gz) = e09d258c26834555307d6edd6261514d546587ee
 SHA512 (xdg-utils-1.1.3.tar.gz) = d1f819a211eb4104a90dfdc6fedcb640fd46b15ccfc8762266f8f538c49d74cb00027b8c1af991fb2a200acb4379986ae375700e06a2aa08fb41a38f883acb3e
 Size (xdg-utils-1.1.3.tar.gz) = 297170 bytes
+SHA1 (patch-scripts_xdg-settings.in) = de48e90d70fd8d2ce274dde8ec99e3ffff11f871

Added files:

Index: pkgsrc/misc/xdg-utils/patches/patch-scripts_xdg-settings.in
diff -u /dev/null pkgsrc/misc/xdg-utils/patches/patch-scripts_xdg-settings.in:1.1
--- /dev/null   Thu Mar 12 17:23:12 2020
+++ pkgsrc/misc/xdg-utils/patches/patch-scripts_xdg-settings.in Thu Mar 12 17:23:12 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-scripts_xdg-settings.in,v 1.1 2020/03/12 17:23:12 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- scripts/xdg-settings.in.orig       2020-03-12 17:21:36.235049897 +0000
++++ scripts/xdg-settings.in
+@@ -228,7 +228,7 @@ check_browser_kde()
+     binary="`resolve_kde_browser`"
+ 
+     # The browser may contain a relative entry to the binary starting with !
+-    if [ x"!" == x"${browser:0:1}" ]; then
++    if [ x"!" = x"${browser:0:1}" ]; then
+         # get the full path
+         browser="`binary_to_desktop_file ${browser:1}`"
+         binary="`desktop_file_to_binary $browser`"
+@@ -584,7 +584,7 @@ check_url_scheme_handler_kde()
+     if [ x"$1" = "mailto" ]; then
+         binary="`read_kde_config emaildefaults PROFILE_Default EmailClient`"
+         # The field may contain a relative entry to the binary starting with !
+-        if [ x"!" == x"${binary:0:1}" ]; then
++        if [ x"!" = x"${binary:0:1}" ]; then
+             # get the full path
+             desktop_file="`binary_to_desktop_file ${binary:1}`"
+             binary="`desktop_file_to_binary $desktop_file`"



Home | Main Index | Thread Index | Old Index