pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/xdg-utils xdg-utils: update to 1.1.3nb2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4a030e8cff6
branches:  trunk
changeset: 424586:a4a030e8cff6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 12 17:23:12 2020 +0000

description:
xdg-utils: update to 1.1.3nb2.

Fix unportable test(1) operator in installed script.

diffstat:

 misc/xdg-utils/Makefile                              |   4 +-
 misc/xdg-utils/distinfo                              |   3 +-
 misc/xdg-utils/patches/patch-scripts_xdg-settings.in |  24 ++++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (53 lines):

diff -r 3154f4c014cc -r a4a030e8cff6 misc/xdg-utils/Makefile
--- a/misc/xdg-utils/Makefile   Thu Mar 12 17:21:20 2020 +0000
+++ b/misc/xdg-utils/Makefile   Thu Mar 12 17:23:12 2020 +0000
@@ -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/
 
diff -r 3154f4c014cc -r a4a030e8cff6 misc/xdg-utils/distinfo
--- a/misc/xdg-utils/distinfo   Thu Mar 12 17:21:20 2020 +0000
+++ b/misc/xdg-utils/distinfo   Thu Mar 12 17:23:12 2020 +0000
@@ -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
diff -r 3154f4c014cc -r a4a030e8cff6 misc/xdg-utils/patches/patch-scripts_xdg-settings.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xdg-utils/patches/patch-scripts_xdg-settings.in      Thu Mar 12 17:23:12 2020 +0000
@@ -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