summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-03-12 17:23:12 +0000
committerwiz <wiz@pkgsrc.org>2020-03-12 17:23:12 +0000
commita53b9f00f5037a6f3a4acd2da8c6cbc161bffc07 (patch)
tree8b69be377ebbe0e3cb90705ae400685d03501082 /misc
parent6c52abef03599e84d2ca3541491b25bf95ad4e8f (diff)
downloadpkgsrc-a53b9f00f5037a6f3a4acd2da8c6cbc161bffc07.tar.gz
xdg-utils: update to 1.1.3nb2.
Fix unportable test(1) operator in installed script.
Diffstat (limited to 'misc')
-rw-r--r--misc/xdg-utils/Makefile4
-rw-r--r--misc/xdg-utils/distinfo3
-rw-r--r--misc/xdg-utils/patches/patch-scripts_xdg-settings.in24
3 files changed, 28 insertions, 3 deletions
diff --git a/misc/xdg-utils/Makefile b/misc/xdg-utils/Makefile
index ee26e15ecf1..e853b08df0e 100644
--- a/misc/xdg-utils/Makefile
+++ b/misc/xdg-utils/Makefile
@@ -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 --git a/misc/xdg-utils/distinfo b/misc/xdg-utils/distinfo
index 7e02429b785..aecd99b8b0b 100644
--- a/misc/xdg-utils/distinfo
+++ b/misc/xdg-utils/distinfo
@@ -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 --git a/misc/xdg-utils/patches/patch-scripts_xdg-settings.in b/misc/xdg-utils/patches/patch-scripts_xdg-settings.in
new file mode 100644
index 00000000000..019f4f5319a
--- /dev/null
+++ b/misc/xdg-utils/patches/patch-scripts_xdg-settings.in
@@ -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`"