public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ben Boeckel <mathstuf@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ranger] epel10: fix mupdf-x11 patch
Date: Wed, 10 Jun 2026 03:14:06 GMT	[thread overview]
Message-ID: <178106124691.1.14318359716247353195.rpms-ranger-4e11d964fc91@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ranger
Branch : epel10
Commit : 4e11d964fc913056c65f2c32945230a008dd8749
Author : Ben Boeckel <mathstuf@gmail.com>
Date   : 2015-09-26T14:53:56-04:00
Stats  : +24/-19 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ranger/c/4e11d964fc913056c65f2c32945230a008dd8749?branch=epel10

Log:
fix mupdf-x11 patch

---
diff --git a/ranger-1.7.1-mupdf-x11.patch b/ranger-1.7.1-mupdf-x11.patch
new file mode 100644
index 0000000..ce6d6d0
--- /dev/null
+++ b/ranger-1.7.1-mupdf-x11.patch
@@ -0,0 +1,21 @@
+From d0c1e4c57ab50d3f14cd8ae6fcac511275daf903 Mon Sep 17 00:00:00 2001
+From: Ben Boeckel <mathstuf@gmail.com>
+Date: Sat, 26 Sep 2015 14:50:44 -0400
+Subject: [PATCH] rifle: detect mupdf-x11
+
+---
+ ranger/config/rifle.conf | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf
+index 7cd9e79..c39d44e 100644
+--- a/ranger/config/rifle.conf
++++ b/ranger/config/rifle.conf
+@@ -139,6 +139,7 @@ mime ^video, terminal, !X, has mplayer   = mplayer -- "$@"
+ ext pdf, has llpp,     X, flag f = llpp "$@"
+ ext pdf, has zathura,  X, flag f = zathura -- "$@"
+ ext pdf, has mupdf,    X, flag f = mupdf "$@"
++ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@"
+ ext pdf, has apvlv,    X, flag f = apvlv -- "$@"
+ ext pdf, has xpdf,     X, flag f = xpdf -- "$@"
+ ext pdf, has evince,   X, flag f = evince -- "$@"

diff --git a/ranger-fedora-1.6.1-rifle-conf.patch b/ranger-fedora-1.6.1-rifle-conf.patch
deleted file mode 100644
index 1456997..0000000
--- a/ranger-fedora-1.6.1-rifle-conf.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -u -r -U5 ranger-1.6.1/ranger/config/rifle.conf ranger-1.6.1.rifle-conf/ranger/config/rifle.conf
---- ranger-1.6.1/ranger/config/rifle.conf	2013-05-24 14:45:13.000000000 -0400
-+++ ranger-1.6.1.rifle-conf/ranger/config/rifle.conf	2015-03-02 19:54:16.588356781 -0500
-@@ -138,11 +138,11 @@
- #-------------------------------------------
- # Documents
- #-------------------------------------------
- ext pdf, has llpp,     X, flag f = llpp "$@"
- ext pdf, has zathura,  X, flag f = zathura -- "$@"
--ext pdf, has mupdf,    X, flag f = mupdf -- "$@"
-+ext pdf, has mupdf-x11,X, flag f = mupdf-x11 -- "$@"
- ext pdf, has apvlv,    X, flag f = apvlv -- "$@"
- ext pdf, has xpdf,     X, flag f = xpdf -- "$@"
- ext pdf, has evince,   X, flag f = evince -- "$@"
- ext pdf, has okular,   X, flag f = okular -- "$@"
- ext pdf, has epdfview, X, flag f = epdfview -- "$@"

diff --git a/ranger.spec b/ranger.spec
index cdab606..e199742 100644
--- a/ranger.spec
+++ b/ranger.spec
@@ -7,10 +7,10 @@ Group:          Development/Languages
 License:        GPLv3+
 URL:            http://savannah.nongnu.org/projects/ranger/
 Source0:        http://git.savannah.gnu.org/cgit/%{name}.git/snapshot/%{name}-%{version}.tar.gz
+# https://github.com/hut/ranger/pull/378
+Patch0:         ranger-1.7.1-mupdf-x11.patch
 
 # Fedora-specific patches
-# mupdf binary in Fedora is mupdf-x11
-Patch100:       ranger-fedora-1.6.1-rifle-conf.patch
 # w3mimgdisplay is in /usr/libexec on Fedora
 Patch101:       ranger-fedora-1.7.1-w3m-img-path.patch
 
@@ -29,7 +29,7 @@ you'll be going.
 
 %prep
 %setup -q
-%patch100 -p1 -b .rifle-conf
+%patch0 -p1 -b .mupdf-x11
 %patch101 -p1 -b .w3m-img-path
 
 

                 reply	other threads:[~2026-06-10  3:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178106124691.1.14318359716247353195.rpms-ranger-4e11d964fc91@fedoraproject.org \
    --to=mathstuf@gmail.com \
    --cc=git-commits@fedoraproject.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