Accepting request 423740 from home:XRevan86

- Update to version 0.1.5.

OBS-URL: https://build.opensuse.org/request/show/423740
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=7
This commit is contained in:
Martin Pluskal 2016-08-30 07:11:31 +00:00 committed by Git OBS Bridge
parent eb07e091d4
commit 504353b1b4
4 changed files with 99 additions and 42 deletions

View File

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

3
neovim-0.1.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Mon Aug 29 22:45:13 UTC 2016 - sor.alexei@meowr.ru
- Update to version 0.1.5:
* Breaking changes:
+ 'termguicolors' option enables "true color".
NVIM_TUI_ENABLE_TRUE_COLOR is now ignored.
+ Remove ":oldfiles!", replaced by Vim's ":browse oldfiles".
* Features:
+ Full :ruby support!
+ timers: timer_start(), timer_stop().
+ :CheckHealth command.
+ file: Add buffered reading and writing.
Much faster shada file reading (important for startup time).
+ jobstart() learned 'rpc':
- jobs and RPC channel IDs share the same "namespace".
- jobstart() can start RPC channels, which allows scripts to
handle 'stderr' on a RPC channel, like a typical non-RPC
job.
- jobpid()/jobstop() works on RPC jobs.
- Deprecates rpcstart().
+ man.vim rewrite:
- :Man command is enabled by default.
- New features: completion, window handling, better parsing,
and more.
+ capture() function (renamed to execute())
- Supports nesting, including nested :redir.
+ rplugin manifest: default to XDG dir.
+ Better handling of mouse-clicks on concealed chars.
+ terminal: Ensure b:term_title always has a value.
+ tui: Assume 256 colours in most cases.
+ Always resize the :terminal.
+ api_info().
+ allow setting cwd in jobstart(), termopen().
+ support "special" highlight (undercurl).
+ mouse: Implement horizontal scroll.
* Fixes:
+ Prevent data loss for process output streams.
+ 'process.c: Fix block in teardown'.
+ Prevent endless loop in printdigraph() (gh#neovim/neovim#5215).
+ timers: Avoid crash after processing events.
+ Set the default value for 'packpath'.
+ Restore double click.
+ readfile(): Less-disruptive readonly check.
Fixes an issue where nvim unnecessarily "touched" open files.
+ Handle very long $XDG_DATA_DIRS.
+ option: Do not expand options in XDG vars.
+ server_init: Handle server_address_new() failure.
+ Fix v:register for clipboard=unnamed,unnamedplus.
+ 'Trigger TabNewEntered with T'.
+ synIDattr(): Return RRGGBB value for fg#.
- Correct group: Productivity/Text/Editors.
- Separate locales into neovim-lang.
- Some spec cleanup.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 28 15:58:15 UTC 2016 - ronisbr@gmail.com Thu Apr 28 15:58:15 UTC 2016 - ronisbr@gmail.com
@ -129,4 +184,3 @@ Thu Dec 3 00:04:27 UTC 2015 - ronisbr@gmail.com
Wed Dec 2 13:05:59 UTC 2015 - ronisbr@gmail.com Wed Dec 2 13:05:59 UTC 2015 - ronisbr@gmail.com
- Initial version based on home:darix:neovim/neovim - Initial version based on home:darix:neovim/neovim

View File

@ -17,80 +17,80 @@
Name: neovim Name: neovim
Version: 0.1.4 Version: 0.1.5
Release: 0 Release: 0
Summary: Vim-fork focused on extensibility and agility Summary: Vim-fork focused on extensibility and agility
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Editors/Vi Group: Productivity/Text/Editors
Url: https://neovim.io/ Url: https://neovim.io/
Source: https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.tar.gz Source: https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: neovim.svg Source1: neovim.desktop
Source2: neovim.desktop Source2: neovim.svg
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: libmsgpack-devel >= 1.2.0 BuildRequires: libmsgpack-devel >= 1.2.0
BuildRequires: libmsgpackc-devel >= 1.2.0 BuildRequires: libmsgpackc-devel >= 1.2.0
BuildRequires: libuv-devel
BuildRequires: lua51-BitOp BuildRequires: lua51-BitOp
BuildRequires: lua51-LPeg BuildRequires: lua51-LPeg
BuildRequires: lua51-mpack BuildRequires: lua51-mpack
BuildRequires: luajit-devel BuildRequires: luajit-devel
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: pkgconfig(jemalloc) BuildRequires: pkgconfig(jemalloc)
BuildRequires: pkgconfig(libuv)
BuildRequires: pkgconfig(termkey) BuildRequires: pkgconfig(termkey)
BuildRequires: pkgconfig(unibilium) BuildRequires: pkgconfig(unibilium)
BuildRequires: pkgconfig(vterm) BuildRequires: pkgconfig(vterm)
Recommends: %{name}-lang
Recommends: python-neovim Recommends: python-neovim
Recommends: python3-neovim Recommends: python3-neovim
Recommends: xsel Recommends: xsel
%description %description
Neovim is a refactor - and sometimes redactor - in the tradition of Vim, which Neovim is a refactor - and sometimes redactor - in the tradition of
itself derives from Stevie. It is not a rewrite, but a continuation and Vim, which itself derives from Stevie. It is not a rewrite, but a
extension of Vim. Many rewrites, clones, emulators and imitators exist; some are continuation and extension of Vim. Many rewrites, clones, emulators
very clever, but none are Vim. Neovim strives to be a superset of Vim, and imitators exist; some are very clever, but none are Vim. Neovim
notwithstanding some intentionally removed misfeatures; excepting those few and strives to be a superset of Vim, notwithstanding some intentionally
carefully-considered excisions, Neovim is Vim. It is built for users who want removed misfeatures; excepting those few and carefully-considered
the good parts of Vim, without compromise, and more. excisions, Neovim is Vim. It is built for users who want the good
parts of Vim, without compromise, and more.
%lang_package
%prep %prep
%setup -q %setup -q
cp -f %{SOURCE1} neovim.desktop
cp -f %{SOURCE2} neovim.svg
# Remove __DATE__ and __TIME__ # Remove __DATE__ and __TIME__.
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" BUILD_DATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{b} %{d} %{Y}')
TIME="\"$(date -d "${modified}" "+%%R")\"" sed -i "s/__TIME__/\"$BUILD_TIME\"/" $(grep -rl '__TIME__')
find . -name '*.[ch]' | xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__')
%build %build
%cmake -DLUA_PRG=%{_bindir}/lua \ %cmake \
-DLUA_PRG=%{_bindir}/lua \
-DUSE_BUNDLED=OFF \ -DUSE_BUNDLED=OFF \
-DLUAJIT_USE_BUNDLED=OFF \ -DLUAJIT_USE_BUNDLED=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DENABLE_JEMALLOC=ON -DENABLE_JEMALLOC=ON
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
pushd build %cmake_install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
popd
# Install icon.
install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
# Install desktop file. # Install desktop file.
install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.desktop install -Dpm 0644 neovim.desktop %{buildroot}/%{_datadir}/applications/neovim.desktop
# Create hardlinks for duplicate files. # Install the icon.
%fdupes %{buildroot}%{_datadir}/nvim/runtime/ftplugin/ install -Dpm 0644 neovim.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/neovim.svg
%suse_update_desktop_file -r neovim ConsoleOnly Application Utility TextEditor %suse_update_desktop_file -r neovim ConsoleOnly Application Utility TextEditor
%fdupes %{buildroot}%{_datadir}/
%find_lang nvim %find_lang nvim
%post %post
@ -101,13 +101,16 @@ install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/%{name}.deskt
%desktop_database_postun %desktop_database_postun
%icon_theme_cache_postun %icon_theme_cache_postun
%files -f nvim.lang %files
%defattr(-,root,root) %defattr(-,root,root)
%doc BACKERS.md CONTRIBUTING.md LICENSE README.md %doc BACKERS.md CONTRIBUTING.md LICENSE README.md
%{_bindir}/nvim %{_bindir}/nvim
%{_datadir}/applications/%{name}.desktop
%{_datadir}/nvim/ %{_datadir}/nvim/
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/nvim.1%{ext_man} %{_datadir}/icons/hicolor/*/apps/%{name}.svg
%{_mandir}/man1/nvim.1%{?ext_man}
%files lang -f nvim.lang
%defattr(-,root,root)
%changelog %changelog