Github messages for voidlinux
 help / color / mirror / Atom feed
From: bvdeenen <bvdeenen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] xdg-utils: update to 1.2.1
Date: Thu, 16 May 2024 21:10:43 +0200	[thread overview]
Message-ID: <20240516191043.A0B6324AFC@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50374@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by bvdeenen against master on the void-packages repository

https://github.com/bvdeenen/void-packages master
https://github.com/void-linux/void-packages/pull/50374

xdg-utils: update to 1.2.1
I've fixed the issue where xdg-open won't open any url on plasma 6 (see [this reddit thread](https://www.reddit.com/r/voidlinux/comments/1csvd8e/problems_with_plasma_6/)).

I could remove one of the patches (that was incorporated upstream), but the `/bin/sh` -> `/bin/bash` patch is still needed probably.

#### Testing the changes
- I tested the changes in this PR: **briefly** with `file` and `https` urls.

#### Local build testing
- I built this PR locally for my native architecture, x86_64



A patch file from https://github.com/void-linux/void-packages/pull/50374.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-50374.patch --]
[-- Type: text/x-diff, Size: 2921 bytes --]

From e12de73f2e87881551c650806fda6d9903b92e6f Mon Sep 17 00:00:00 2001
From: Bart van Deenen <bartvandeenen@streammachine.io>
Date: Thu, 16 May 2024 20:56:57 +0200
Subject: [PATCH] xdg-utils: update to 1.2.1

---
 ...ebb3e6fd9f23e993b8b7fcbd56f92d9c9197.patch | 40 -------------------
 srcpkgs/xdg-utils/template                    |  8 ++--
 2 files changed, 4 insertions(+), 44 deletions(-)
 delete mode 100644 srcpkgs/xdg-utils/patches/9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197.patch

diff --git a/srcpkgs/xdg-utils/patches/9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197.patch b/srcpkgs/xdg-utils/patches/9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197.patch
deleted file mode 100644
index 08c2563789472a..00000000000000
--- a/srcpkgs/xdg-utils/patches/9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197 Mon Sep 17 00:00:00 2001
-From: Andrea Tarocchi <andrea.tarocchi@gmail.com>
-Date: Thu, 20 Feb 2020 22:01:04 +0100
-Subject: [PATCH] fixed #166: xdg-open dose not search correctly in directories
- with spaces in the name
-
----
- scripts/xdg-mime.in | 2 +-
- scripts/xdg-open.in | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in
-index 034d0ef..612d2ce 100644
---- a/scripts/xdg-mime.in
-+++ b/scripts/xdg-mime.in
-@@ -307,7 +307,7 @@ search_desktop_file()
- 
-     grep -l "$MIME;" "$dir/"*.desktop 2>/dev/null
- 
--    for f in $dir/*/; do
-+    for f in "$dir/"*/; do
-       [ -d "$f" ] && search_desktop_file "$MIME" "$f"
-     done
- }
-diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
-index 202f3e3..8de839a 100644
---- a/scripts/xdg-open.in
-+++ b/scripts/xdg-open.in
-@@ -328,7 +328,7 @@ search_desktop_file()
-         fi
-     fi
- 
--    for d in $dir/*/; do
-+    for d in "$dir/"*/; do
-         [ -d "$d" ] && search_desktop_file "$default" "$d" "$target"
-     done
- }
--- 
-GitLab
-
diff --git a/srcpkgs/xdg-utils/template b/srcpkgs/xdg-utils/template
index 5969b6c494556e..eb0966b3e45876 100644
--- a/srcpkgs/xdg-utils/template
+++ b/srcpkgs/xdg-utils/template
@@ -1,7 +1,7 @@
 # Template file for 'xdg-utils'
 pkgname=xdg-utils
-version=1.1.3
-revision=5
+version=1.2.1
+revision=1
 build_style=gnu-configure
 make_check_target=test
 hostmakedepends="xmlto lynx"
@@ -11,8 +11,8 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://www.freedesktop.org/wiki/Software/xdg-utils/"
 changelog="https://cgit.freedesktop.org/xdg/xdg-utils/plain/ChangeLog"
-distfiles="https://portland.freedesktop.org/download/${pkgname}-${version}.tar.gz"
-checksum=d798b08af8a8e2063ddde6c9fa3398ca81484f27dec642c5627ffcaa0d4051d9
+distfiles="https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=f6b648c064464c2636884c05746e80428110a576f8daacf46ef2e554dcfdae75
 
 post_install() {
 	vlicense LICENSE

  parent reply	other threads:[~2024-05-16 19:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 19:01 [PR PATCH] " bvdeenen
2024-05-16 19:01 ` classabbyamp
2024-05-16 19:10 ` bvdeenen [this message]
2024-05-16 19:22 ` bvdeenen
2024-05-16 19:22 ` bvdeenen
2024-05-16 20:26 ` [PR PATCH] [Closed]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240516191043.A0B6324AFC@inbox.vuxu.org \
    --to=bvdeenen@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).