From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdg-utils/files/, x11-misc/xdg-utils/
Date: Sun, 17 Jun 2018 18:30:08 +0000 (UTC) [thread overview]
Message-ID: <1529260201.961b4df26664b11040729a6ee02f53b90c1ebe21.floppym@gentoo> (raw)
commit: 961b4df26664b11040729a6ee02f53b90c1ebe21
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 17 18:26:54 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Jun 17 18:30:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=961b4df2
x11-misc/xdg-utils: fix xdg-open with pcmanfm
Closes: https://bugs.gentoo.org/658186
Package-Manager: Portage-2.3.40_p14, Repoman-2.3.9_p246
.../files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch | 21 +++++++++++++++++++++
...utils-1.1.3.ebuild => xdg-utils-1.1.3-r1.ebuild} | 11 +++++------
2 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/x11-misc/xdg-utils/files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch b/x11-misc/xdg-utils/files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch
new file mode 100644
index 00000000000..1f6cc29ab05
--- /dev/null
+++ b/x11-misc/xdg-utils/files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch
@@ -0,0 +1,21 @@
+From 31525d3855f876ddf2e29091b2e8d376f923e09e Mon Sep 17 00:00:00 2001
+From: Rex Dieter <rdieter@gmail.com>
+Date: Thu, 24 May 2018 14:40:53 -0500
+Subject: xdg-open: better pcmanfm check (BR106636,BR106161)
+
+diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
+index 630e63e..bf9da4c 100644
+--- a/scripts/xdg-open.in
++++ b/scripts/xdg-open.in
+@@ -451,7 +451,7 @@ open_lxde()
+ {
+
+ # pcmanfm only knows how to handle file:// urls and filepaths, it seems.
+- if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then
++ if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then
+ local file="$(file_url_to_path "$1")"
+
+ # handle relative paths
+--
+cgit v1.1
+
diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.3.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.3-r1.ebuild
similarity index 95%
rename from x11-misc/xdg-utils/xdg-utils-1.1.3.ebuild
rename to x11-misc/xdg-utils/xdg-utils-1.1.3-r1.ebuild
index af9be47a61b..178f20fca72 100644
--- a/x11-misc/xdg-utils/xdg-utils-1.1.3.ebuild
+++ b/x11-misc/xdg-utils/xdg-utils-1.1.3-r1.ebuild
@@ -34,6 +34,10 @@ DOCS=( README RELEASE_NOTES TODO ) # ChangeLog is bogus, see git instead
RESTRICT="test" # Disabled because of sandbox violation(s)
+PATCHES=(
+ "${FILESDIR}"/xdg-utils-1.1.3-xdg-open-pcmanfm.patch
+)
+
#S=${WORKDIR}/${MY_P}
src_prepare() {
@@ -42,14 +46,9 @@ src_prepare() {
# to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh
# all the files
if [[ -d "${WORKDIR}/patch" ]]; then
- eapply patch
+ eapply "${WORKDIR}/patch"
fi
eautoreconf
-
- if pushd scripts &>/dev/null ; then
- make scripts-clean
- popd &>/dev/null
- fi
}
src_configure() {
next reply other threads:[~2018-06-17 18:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-17 18:30 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-29 19:03 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdg-utils/files/, x11-misc/xdg-utils/ Andreas Sturmlechner
2024-07-28 17:12 Sam James
2024-07-28 2:39 Sam James
2024-01-30 21:37 Sam James
2021-09-07 14:08 Pacho Ramos
2016-04-29 9:17 Johannes Huber
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=1529260201.961b4df26664b11040729a6ee02f53b90c1ebe21.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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