diff -Nru ranger-1.8.1/debian/changelog ranger-1.8.1/debian/changelog --- ranger-1.8.1/debian/changelog 2017-01-25 08:42:22.000000000 +0100 +++ ranger-1.8.1/debian/changelog 2017-02-09 21:17:58.000000000 +0100 @@ -1,3 +1,14 @@ +ranger (1.8.1-0.2) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches: + - 0002-make-sensible-decisions-on-which-pager-and-editor.patch: Drop + sensible-pager it functionnalities breaks. See upstream bug for that: + https://github.com/ranger/ranger/issues/750 (Closes: #854646) + * debian/control: Move less to Depends. + + -- Mateusz Łukasik Thu, 09 Feb 2017 21:17:58 +0100 + ranger (1.8.1-0.1) unstable; urgency=medium [ Gianfranco Costamagna ] diff -Nru ranger-1.8.1/debian/control ranger-1.8.1/debian/control --- ranger-1.8.1/debian/control 2017-01-22 19:57:40.000000000 +0100 +++ ranger-1.8.1/debian/control 2017-02-09 21:14:25.000000000 +0100 @@ -9,9 +9,9 @@ Package: ranger Architecture: all -Depends: ${misc:Depends}, ${python:Depends} +Depends: ${misc:Depends}, ${python:Depends}, less Recommends: file, python-chardet, w3m-img -Suggests: atool, caca-utils, elinks | elinks-lite | lynx | w3m, highlight, less, poppler-utils, sudo +Suggests: atool, caca-utils, elinks | elinks-lite | lynx | w3m, highlight, poppler-utils, sudo Description: File manager with an ncurses frontend written in Python Ranger is a free console file manager that gives you greater flexibility and a good overview of your files without having to leave your *nix console. It diff -Nru ranger-1.8.1/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch ranger-1.8.1/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch --- ranger-1.8.1/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch 2017-01-22 19:57:54.000000000 +0100 +++ ranger-1.8.1/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch 2017-02-09 21:16:47.000000000 +0100 @@ -3,26 +3,13 @@ Subject: make sensible decisions on which pager and editor Forwarded: yes ---- a/ranger/__init__.py -+++ b/ranger/__init__.py -@@ -24,7 +24,7 @@ TICKS_BEFORE_COLLECTING_GARBAGE = 100 - TIME_BEFORE_FILE_BECOMES_GARBAGE = 1200 - MAX_RESTORABLE_TABS = 3 - MACRO_DELIMITER = '%' --DEFAULT_PAGER = 'less' -+DEFAULT_PAGER = 'sensible-pager' - CACHEDIR = os.path.expanduser("~/.cache/ranger") - USAGE = '%prog [options] [path]' - VERSION = 'ranger-stable %s\n\nPython %s' % (__version__, sys.version) --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py -@@ -22,8 +22,8 @@ import sys - __version__ = 'rifle 1.8.1' +@@ -23,7 +23,7 @@ __version__ = 'rifle 1.8.1' # Options and constants that a user might want to change: --DEFAULT_PAGER = 'less' + DEFAULT_PAGER = 'less' -DEFAULT_EDITOR = 'vim' -+DEFAULT_PAGER = 'sensible-pager' +DEFAULT_EDITOR = 'sensible-editor' ASK_COMMAND = 'ask' ENCODING = 'utf-8'