Accepting request 570387 from home:alois:branches:utilities

- Update to version 1.9.0
  * Fixed memory leak in w3m image preview
  * Fixed `Q` binding, map it to `quitall` instead of `quit!`
  * Fixed `gR` binding
  * Fixed custom linemode not being applied to files
  * Fixed w3m image display invocation on OpenBSD
  * Fixed broken pager after changing view mode with `~`
  * Added reset of rifle.conf when pressing `<C-R>`
  * Added image-based PDF previews to `scope.sh` (disabled by
    default)
  * Added terminology-based image previews
  * Added check for `$VISUAL` environment variable
  * Added setting `iterm2_font_height` and `iterm2_font_width`
  * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy`
  * Changed command for mercurial integration from `hg` to `chg`
  version 1.9.0b6
  * Fixed crash when parsing corrupted history file
  * Fixed tab completion with `cd -r ...`
  * Fixed crash when previewing files encoded in little-endian
    UTF-16
  * Fixed flicker in previewing symlinked images
  * Fixed detection of location of scope.sh
  * Fixed crash when running ranger from the directory containing
    its package
  * Fixed cursor position after moving half a page down and back up
  * Fixed handling of lines that are too long for the console
  * Added `<F2>` binding to `:rename_append`
  * Avoid dereferencing symlinked directory when starting ranger
    in one
  * Added support for `file://` URIs as path arguments
  * Added setting `save_tabs_on_exit`
  * Added setting `cd_tab_case`, sets case sensitivity of `:cd`
    tab completion
  * Added setting `cd_tab_smart`, allows fuzzy tab completion with
    `:cd`, for example, `:cd /u/lo/b<TAB>` expands to
    `:cd /usr/local/bin`
  * Added setting `global_inode_type_filter` to show only
    directories when running ranger with the new option
    `--show-only-dirs`
  * Added setting `save_backtick_bookmark`, e.g. for easier
    syncing of bookmarks
  * Added setting `one_indexed` to start counting line numbers
    from 1
  * Added rifle.conf entries to list/extract archives without atool
  * Added `:yank` command for simplified definitions of `yn`, `yd`
    & `yp`
  * Added `:narrow` command, which filters selected files
  * Added setting `freeze_files`, bound to `F` key, to avoid
    reloading files
  * Changed `:shell -p ...` to display stderr in pager
  version 1.9.0b5
  * Fixed width calculation of multibyte characters in preview
  * Fixed crash in iTerm2 preview with python 3.5
  version 1.9.0b1
  * Fixed crash when using `Mi` on files without reading
    permissions
  * Fixed natural sorting (`11.jpg` < `100.jpg`)
  * Fixed loss of precision in timestamps when copying
  * Fixed smart case matching in `:travel`
  * Fixed automatically disabling `preview_script` when running as
    root
  * Fixed crash on sshfs disconnect
  * Fixed crash on missing `~/.config/ranger/history`
  * Fixed crash when path not accessible during start-up
  * Fixed automatic tmux title
  * Fixed urxvt image previewing when running tmux
  * Fixed macro expansion in aliased commands
  * Fixed `hidden_filter` option when combined with `:flat`
  * Fixed various other crashes
  * Fixed error message that occasionally pops up when changing
    settings
  * Introduced extensive linting to ensure code quality
  * Added continuous integration.  Patches now require `make test`
    to pass.
  * Added handling of arguments in "$PAGER" environment variable
  * Added quote parsing for `:setlocal path=...`
  * Added `ys` to copy the selection to clipboard
  * Added setting `hostname_in_titlebar`
  * Added setting `wrap_scroll` to wrap cursor around when
    scrolling
  * Added example plugin `plugin_fasd_add.py`
  * Added command `jump_non` to jump to the first non-directory
    file
  * Added additional arguments to the command `:rename_append`
  * Added key binding 'zz' as an alternative to 'zf'
  * Added option `-c` to the `rifle` file opener command
  * Added support for `$XDG_DATA_HOME`
  * Avoid exiting ranger while copying.  Use `:quit!` to quit
    while copying.
  * Improved scope.sh (better performance & readability)
  * Changed `ranger --choosefiles` to return all selected files in
    all paths
  * Changed interpretation of commands: treat tabs as argument
    separators
  * Changed `<C-n>` to open new tab in current directory rather
    than `$HOME`
  * Changed `:quit!` to only close 1 tab.  Use `:quitall` to close
    all tabs.
  * Removed backward compatibility for `options.py`, predecessor
    of `rc.conf`
  * Automatically update bookmarks+tags when renaming them via
    ranger
- New URL and source address.
- Switched to python3
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/570387
OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
This commit is contained in:
Luigi Baldoni 2018-01-28 19:59:51 +00:00 committed by Git OBS Bridge
parent b408e7f42a
commit d863799ad0
5 changed files with 131 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:755c1eac08221ec37515073c3555a34c3e7fb30270985252c763e5a581322784
size 234971

3
ranger-1.9.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe1e11a24cb14148b26977a38160bb5f9fe255c5a0f211d1b0359103cea7c617
size 245594

View File

@ -1,4 +1 @@
addFilter("python-naming-policy-not-applied")
addFilter("non-executable-script .*/ranger/data/scope.sh")
addFilter("non-executable-script .*/usr/lib/python.*/site-packages/ranger/ext/rifle.py")
addFilter("doc-file-dependency .*/usr/share/doc/packages/ranger/(examples|tools)")

View File

@ -1,3 +1,115 @@
-------------------------------------------------------------------
Sun Jan 28 19:26:28 UTC 2018 - aloisio@gmx.com
- Update to version 1.9.0
* Fixed memory leak in w3m image preview
* Fixed `Q` binding, map it to `quitall` instead of `quit!`
* Fixed `gR` binding
* Fixed custom linemode not being applied to files
* Fixed w3m image display invocation on OpenBSD
* Fixed broken pager after changing view mode with `~`
* Added reset of rifle.conf when pressing `<C-R>`
* Added image-based PDF previews to `scope.sh` (disabled by
default)
* Added terminology-based image previews
* Added check for `$VISUAL` environment variable
* Added setting `iterm2_font_height` and `iterm2_font_width`
* Renamed setting `cd_tab_smart` to `cd_tab_fuzzy`
* Changed command for mercurial integration from `hg` to `chg`
version 1.9.0b6
* Fixed crash when parsing corrupted history file
* Fixed tab completion with `cd -r ...`
* Fixed crash when previewing files encoded in little-endian
UTF-16
* Fixed flicker in previewing symlinked images
* Fixed detection of location of scope.sh
* Fixed crash when running ranger from the directory containing
its package
* Fixed cursor position after moving half a page down and back up
* Fixed handling of lines that are too long for the console
* Added `<F2>` binding to `:rename_append`
* Avoid dereferencing symlinked directory when starting ranger
in one
* Added support for `file://` URIs as path arguments
* Added setting `save_tabs_on_exit`
* Added setting `cd_tab_case`, sets case sensitivity of `:cd`
tab completion
* Added setting `cd_tab_smart`, allows fuzzy tab completion with
`:cd`, for example, `:cd /u/lo/b<TAB>` expands to
`:cd /usr/local/bin`
* Added setting `global_inode_type_filter` to show only
directories when running ranger with the new option
`--show-only-dirs`
* Added setting `save_backtick_bookmark`, e.g. for easier
syncing of bookmarks
* Added setting `one_indexed` to start counting line numbers
from 1
* Added rifle.conf entries to list/extract archives without atool
* Added `:yank` command for simplified definitions of `yn`, `yd`
& `yp`
* Added `:narrow` command, which filters selected files
* Added setting `freeze_files`, bound to `F` key, to avoid
reloading files
* Changed `:shell -p ...` to display stderr in pager
version 1.9.0b5
* Fixed width calculation of multibyte characters in preview
* Fixed crash in iTerm2 preview with python 3.5
version 1.9.0b1
* Fixed crash when using `Mi` on files without reading
permissions
* Fixed natural sorting (`11.jpg` < `100.jpg`)
* Fixed loss of precision in timestamps when copying
* Fixed smart case matching in `:travel`
* Fixed automatically disabling `preview_script` when running as
root
* Fixed crash on sshfs disconnect
* Fixed crash on missing `~/.config/ranger/history`
* Fixed crash when path not accessible during start-up
* Fixed automatic tmux title
* Fixed urxvt image previewing when running tmux
* Fixed macro expansion in aliased commands
* Fixed `hidden_filter` option when combined with `:flat`
* Fixed various other crashes
* Fixed error message that occasionally pops up when changing
settings
* Introduced extensive linting to ensure code quality
* Added continuous integration. Patches now require `make test`
to pass.
* Added handling of arguments in "$PAGER" environment variable
* Added quote parsing for `:setlocal path=...`
* Added `ys` to copy the selection to clipboard
* Added setting `hostname_in_titlebar`
* Added setting `wrap_scroll` to wrap cursor around when
scrolling
* Added example plugin `plugin_fasd_add.py`
* Added command `jump_non` to jump to the first non-directory
file
* Added additional arguments to the command `:rename_append`
* Added key binding 'zz' as an alternative to 'zf'
* Added option `-c` to the `rifle` file opener command
* Added support for `$XDG_DATA_HOME`
* Avoid exiting ranger while copying. Use `:quit!` to quit
while copying.
* Improved scope.sh (better performance & readability)
* Changed `ranger --choosefiles` to return all selected files in
all paths
* Changed interpretation of commands: treat tabs as argument
separators
* Changed `<C-n>` to open new tab in current directory rather
than `$HOME`
* Changed `:quit!` to only close 1 tab. Use `:quitall` to close
all tabs.
* Removed backward compatibility for `options.py`, predecessor
of `rc.conf`
* Automatically update bookmarks+tags when renaming them via
ranger
- New URL and source address.
- Switched to python3
- Spec cleanup
-------------------------------------------------------------------
Wed Dec 27 18:01:01 UTC 2017 - antoine.belvire@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package ranger
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -17,41 +17,26 @@
#
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: ranger
Version: 1.8.1
Version: 1.9.0
Release: 0
Summary: Console File Manager
License: GPL-3.0
Group: Productivity/File utilities
Url: http://ranger.nongnu.org
Source: http://nongnu.org/ranger/ranger-%{version}.tar.gz
URL: https://ranger.github.io
Source: https://github.com/ranger/ranger/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: ranger-rpmlintrc
# PATCH-FIX-UPSTREAM ranger.desktop.patch -- Add missing GenericName
Patch0: ranger.desktop.patch
BuildRequires: python-devel >= 2.5.1
Requires: file
Requires: python-curses
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires: python3-devel
BuildRequires: update-desktop-files
%endif
%if 0%{?suse_version}
Requires: file
Requires: python3-curses
Recommends: atool
Recommends: highlight
Recommends: mediainfo
Recommends: w3m
%else
BuildRequires: atool
Requires: atool
%endif
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%if 0%{?suse_version}
%py_requires
%endif
%description
Ranger is a console file manager that gives you greater flexibility and a
@ -64,21 +49,21 @@ though ranger is easily controllable with just the arrow keys or the mouse.
%prep
%setup -q
sed -e 's|#!/bin/python|#!%{_bindir}/env python|' -i doc/tools/convert_papermode_to_metadata.py
%patch0 -p1
sed -e 's|#!/usr/bin/env python|#!%{_bindir}/python3|' -i doc/tools/*.py
sed -e 's|#!/usr/bin/env bash|#!%{_bindir}/bash|' -i ranger/data/scope.sh
%build
python ./setup.py build
python3 ./setup.py build
%install
python ./setup.py install \
python3 ./setup.py install \
--prefix="%{_prefix}" \
--root=%{buildroot}
rm -rf "%{buildroot}%{_datadir}/doc/ranger"
%if 0%{?suse_version} < 1330
%if 0%{?suse_version} < 1500
%post
%desktop_database_post
@ -87,17 +72,16 @@ rm -rf "%{buildroot}%{_datadir}/doc/ranger"
%endif
%files
%defattr(-,root,root)
%doc AUTHORS CHANGELOG.md README.md HACKING.md
%doc doc/colorschemes.txt
%doc doc/tools
%doc examples
%{_bindir}/ranger
%{_bindir}/rifle
%{python_sitelib}/ranger-%{version}-*.egg-info
%{python_sitelib}/ranger
%{_mandir}/man1/ranger.1*
%{_mandir}/man1/rifle.1*
%{python3_sitelib}/ranger_fm-%{version}-*.egg-info
%{python3_sitelib}/ranger
%{_mandir}/man1/ranger.1%{ext_man}
%{_mandir}/man1/rifle.1%{ext_man}
%{_datadir}/applications/%{name}.desktop
%changelog