public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ranger] epel10: fix mupdf-x11 patch
@ 2026-06-10 3:14 Ben Boeckel
0 siblings, 0 replies; only message in thread
From: Ben Boeckel @ 2026-06-10 3:14 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 3:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 3:14 [rpms/ranger] epel10: fix mupdf-x11 patch Ben Boeckel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox