diff options
Diffstat (limited to 'debian/patches')
5 files changed, 88 insertions, 0 deletions
diff --git a/debian/patches/0001-comply-with-the-Debian-policy-10.7.2.patch b/debian/patches/0001-comply-with-the-Debian-policy-10.7.2.patch new file mode 100644 index 0000000..91cc816 --- /dev/null +++ b/debian/patches/0001-comply-with-the-Debian-policy-10.7.2.patch @@ -0,0 +1,30 @@ +From: Vern Sun <s5unty@gmail.com> +Date: Tue, 16 Jun 2015 16:10:52 +0800 +Subject: comply with the Debian policy/10.7.2 +Forwarded: not-needed + + +https://www.debian.org/doc/debian-policy/ch-files.html#s10.7.2 +--- + doc/ranger.1 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/doc/ranger.1 b/doc/ranger.1 +index 42eca7e..baa8639 100644 +--- a/doc/ranger.1 ++++ b/doc/ranger.1 +@@ -158,12 +158,12 @@ ranger is a console file manager with \s-1VI\s0 key bindings. + \&\fIInside ranger\fR, you can press \fI?\fR for a list of key bindings, commands or + settings. + .PP +-The \fI\s-1README\s0\fR contains install instructions. ++The file \fI\s-1README\s0.md\fR contains install instructions. + .PP + The file \fI\s-1HACKING\s0.md\fR contains guidelines for code modification. + .PP + The directory \fIdoc/configs\fR contains configuration files. They are usually +-installed to \fI/usr/share/doc/ranger/config\fR and can be obtained with ranger's ++installed to \fI/etc/ranger/config\fR and can be obtained with ranger's + \&\-\-copy\-config option. + .PP + The directory \fIexamples\fR contains reference implementations for ranger diff --git a/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch b/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch new file mode 100644 index 0000000..b1a3135 --- /dev/null +++ b/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch @@ -0,0 +1,16 @@ +From: Vern Sun <s5unty@gmail.com> +Date: Thu, 6 Mar 2014 14:13:36 +0800 +Subject: make sensible decisions on which pager and editor +Forwarded: yes + +--- a/ranger/ext/rifle.py ++++ b/ranger/ext/rifle.py +@@ -23,7 +23,7 @@ __version__ = 'rifle 1.8.1' + + # Options and constants that a user might want to change: + DEFAULT_PAGER = 'less' +-DEFAULT_EDITOR = 'vim' ++DEFAULT_EDITOR = 'sensible-editor' + ASK_COMMAND = 'ask' + ENCODING = 'utf-8' + diff --git a/debian/patches/0003-closes-772351-thanks-Raphael-Geissert.patch b/debian/patches/0003-closes-772351-thanks-Raphael-Geissert.patch new file mode 100644 index 0000000..e368494 --- /dev/null +++ b/debian/patches/0003-closes-772351-thanks-Raphael-Geissert.patch @@ -0,0 +1,24 @@ +From: Vern Sun <s5unty@gmail.com> +Date: Tue, 16 Jun 2015 11:00:50 +0800 +Subject: closes #772351, thanks Raphael Geissert +Forwarded: not-needed + + +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772351 +--- + examples/rifle_sxiv.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh +index 8cb1390..0bdd892 100755 +--- a/examples/rifle_sxiv.sh ++++ b/examples/rifle_sxiv.sh +@@ -24,7 +24,7 @@ if [ $# -eq 0 ]; then + exit + fi + +-[ "$1" == '--' ] && shift ++[ "$1" = '--' ] && shift + + abspath () { + case "$1" in diff --git a/debian/patches/0004-fix-type-in-manpage.patch b/debian/patches/0004-fix-type-in-manpage.patch new file mode 100644 index 0000000..676d219 --- /dev/null +++ b/debian/patches/0004-fix-type-in-manpage.patch @@ -0,0 +1,14 @@ +Description: Fix typo in manpage +Author: Mateusz Ĺukasik <mati75@linuxmint.pl> + +--- a/doc/ranger.1 ++++ b/doc/ranger.1 +@@ -681,7 +681,7 @@ in ranger. + .IP "automatically_count_files [bool]" 4 + .IX Item "automatically_count_files [bool]" + Should ranger count and display the number of files in each directory +-as soon as it's visible? This gets slow with remote file sytems. Turning it ++as soon as it's visible? This gets slow with remote file systems. Turning it + off will still allow you to see the number of files after entering the + directory. + .IP "autosave_bookmarks [bool]" 4 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e6d4332 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,4 @@ +0001-comply-with-the-Debian-policy-10.7.2.patch +0002-make-sensible-decisions-on-which-pager-and-editor.patch +0003-closes-772351-thanks-Raphael-Geissert.patch +0004-fix-type-in-manpage.patch |