Accepting request 354434 from utilities

OBS-URL: https://build.opensuse.org/request/show/354434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vifm?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2016-01-21 22:42:51 +00:00 committed by Git OBS Bridge
commit 6e6b3f78f6
5 changed files with 23 additions and 33 deletions

3
vifm-0.8.1.tar.bz2 Normal file
View File

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

View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sun Jan 17 19:32:26 UTC 2016 - mvetter@suse.com
- Update to version 0.8.1
* Added local options, which work until directory change.
* Added named bookmarks (paths are associated with tags).
* Added autocommands (with DirEnter event).
* Added ability to sort by regexp-extracted part of file name.
* Added builtin directory preview (similar to tree).
* Added a way to communicate menu contents to Vim quickfix.
* Added "more" mode that is used to handle status bar content that doesn't fit on the screen.
* IPC got new (safe) implementation with listing/targeting of active instances, it's enabled by default again.
* Updating local view settings from vifmrc now affects both panes (:windo is not necessary).
* More predictive cursor updates on directory reload.
* Improvements related to expression and command parsing.
- Remove vifm_utils_nix_dynamic_page_size_for_powerpc.patch:
Got upstreamed
-------------------------------------------------------------------
Thu Aug 27 16:08:17 UTC 2015 - normand@linux.vnet.ibm.com

View File

@ -1,7 +1,7 @@
#
# spec file for package vifm
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: vifm
Version: 0.8
Version: 0.8.1
Release: 0
Summary: Ncurses based file manager with vi like keybindings
License: GPL-2.0+
@ -37,7 +37,6 @@ BuildRequires: pkgconfig(x11)
%else
BuildRequires: xorg-x11-devel
%endif
Patch1: vifm_utils_nix_dynamic_page_size_for_powerpc.patch
%description
Vifm is a ncurses based file manager with vi like keybindings that allow complete
@ -47,7 +46,6 @@ and configurable color schemes.
%prep
%setup -q
%patch1 -p1
%build
%configure \

View File

@ -1,26 +0,0 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: vifm utils nix dynamic page size for powerpc
Date: Thu, 27 Aug 2015 17:57:44 +0200
utils-nix.c needs dynamic PAGE_SIZE for powerpc
as not defined by default.
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
src/utils/utils_nix.c | 3 +++
1 file changed, 3 insertions(+)
Index: vifm-0.8/src/utils/utils_nix.c
===================================================================
--- vifm-0.8.orig/src/utils/utils_nix.c
+++ vifm-0.8/src/utils/utils_nix.c
@@ -261,6 +261,9 @@ char **
make_execv_array(char shell[], char cmd[])
{
#ifdef MAX_ARG_STRLEN
+#ifndef PAGE_SIZE
+#define PAGE_SIZE sysconf(_SC_PAGESIZE)
+#endif
/* Don't use maximum length, leave some room or commands fail to run. */
const size_t safe_arg_len = MIN(MAX_ARG_STRLEN, MAX_ARG_STRLEN - 4096U);
const size_t npieces = DIV_ROUND_UP(strlen(cmd), safe_arg_len);