SHA256
1
0
forked from pool/vim

- Use mercurial tags instead of applying patches one by one. This

reduces unexpected failures.
- Updated to revision 417, fixes the following problems
  * Can't build with Perl on Fedora 20.
  * Fold does not open after search when there is a CmdwinLeave
    autocommand.
  * "foo bar" sorts before "foo" with sort(). (John Little)
  * Cannot define a command only when it's used.
  * Cannot build.  Warning for shadowed variable. (John Little)
  * Problem with breakindent/showbreak and tabs.
  * After splitting a window and setting 'breakindent' the default
    minimum with is not respected.
  * Screen updating is slow when using matches.
  * Inserting text for Visual block mode, with cursor movement,
    repeats the wrong text. (Aleksandar Ivanov)
  * Visual block insert breaks a multi-byte character.
  * Compiler warning for unused argument and unused variable.
  * Character after "fb" command not mapped if it might be a composing
    character.
  * Test 63 fails when run with GUI-only Vim.
  * Popup menu flickers too much.
  * When 'equalalways' is set a split may report "no room" even though
    there is plenty of room.
  * Title of quickfist list is not kept for setqflist(list, 'r').
  * Accessing freed memory after using setqflist(list, 'r'). (Lcd)
  * Loading python may cause Vim to exit.
  * Get u_undo error when backspacing in Insert mode deletes more than
    one line break. (Ayberk Ozgur)
  * Mapping characters may not work after typing Esc in Insert mode.
  * Bad interaction between preview window and omnifunc.

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=224
This commit is contained in:
Ismail Dönmez 2014-08-25 11:50:01 +00:00 committed by Git OBS Bridge
parent d3ab86f6ad
commit 0c332ead23
6 changed files with 74 additions and 28 deletions

View File

@ -1,7 +1,8 @@
diff -rup vim73.orig/runtime/filetype.vim vim73/runtime/filetype.vim Index: vim/runtime/filetype.vim
--- vim73.orig/runtime/filetype.vim 2010-08-03 22:44:00.000000000 +0200 ===================================================================
+++ vim73/runtime/filetype.vim 2010-11-21 05:57:07.132983365 +0100 --- vim.orig/runtime/filetype.vim
@@ -1897,7 +1897,7 @@ endfunc +++ vim/runtime/filetype.vim
@@ -2038,7 +2038,7 @@ endfunc
" Spec (Linux RPM) " Spec (Linux RPM)
@ -10,10 +11,11 @@ diff -rup vim73.orig/runtime/filetype.vim vim73/runtime/filetype.vim
" Speedup (AspenTech plant simulator) " Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
diff -rup vim73.orig/runtime/syntax/spec.vim vim73/runtime/syntax/spec.vim Index: vim/runtime/syntax/spec.vim
--- vim73.orig/runtime/syntax/spec.vim 2010-05-15 13:03:57.000000000 +0200 ===================================================================
+++ vim73/runtime/syntax/spec.vim 2010-11-21 05:57:07.130970392 +0100 --- vim.orig/runtime/syntax/spec.vim
@@ -104,7 +104,7 @@ syn case ignore +++ vim/runtime/syntax/spec.vim
@@ -105,7 +105,7 @@ syn case ignore
"%% PreAmble Section %% "%% PreAmble Section %%
"Copyright and Serial were deprecated by License and Epoch "Copyright and Serial were deprecated by License and Epoch
syn region specPreAmbleDeprecated oneline matchgroup=specError start='^\(Copyright\|Serial\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier syn region specPreAmbleDeprecated oneline matchgroup=specError start='^\(Copyright\|Serial\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
@ -22,12 +24,12 @@ diff -rup vim73.orig/runtime/syntax/spec.vim vim73/runtime/syntax/spec.vim
"%% Description Section %% "%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment
@@ -113,7 +113,7 @@ syn region specDescriptionArea matchgrou @@ -114,7 +114,7 @@ syn region specDescriptionArea matchgrou
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
"%% Scripts Section %% "%% Scripts Section %%
-syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2 -syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
+syn region specScriptArea matchgroup=specSection start='^%\(prep\|check\|build\|install\|clean\|pre\|postun\|preun\|post\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2 +syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|check\|install\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
"%% Changelog Section %% "%% Changelog Section %%
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense

View File

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

3
vim-7.4.417.tar.bz2 Normal file
View File

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

View File

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

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Mon Aug 25 11:05:19 UTC 2014 - idonmez@suse.com
- Use mercurial tags instead of applying patches one by one. This
reduces unexpected failures.
- Updated to revision 417, fixes the following problems
* Can't build with Perl on Fedora 20.
* Fold does not open after search when there is a CmdwinLeave
autocommand.
* "foo bar" sorts before "foo" with sort(). (John Little)
* Cannot define a command only when it's used.
* Cannot build. Warning for shadowed variable. (John Little)
* Problem with breakindent/showbreak and tabs.
* After splitting a window and setting 'breakindent' the default
minimum with is not respected.
* Screen updating is slow when using matches.
* Inserting text for Visual block mode, with cursor movement,
repeats the wrong text. (Aleksandar Ivanov)
* Visual block insert breaks a multi-byte character.
* Compiler warning for unused argument and unused variable.
* Character after "fb" command not mapped if it might be a composing
character.
* Test 63 fails when run with GUI-only Vim.
* Popup menu flickers too much.
* When 'equalalways' is set a split may report "no room" even though
there is plenty of room.
* Title of quickfist list is not kept for setqflist(list, 'r').
* Accessing freed memory after using setqflist(list, 'r'). (Lcd)
* Loading python may cause Vim to exit.
* Get u_undo error when backspacing in Insert mode deletes more than
one line break. (Ayberk Ozgur)
* Mapping characters may not work after typing Esc in Insert mode.
* Bad interaction between preview window and omnifunc.
* Test 102 fails when compiled with small features.
* When building with tiny or small features building the .mo files
fails.
* When splitting a window the changelist position is wrong.
* "4gro" replaces one character then executes "ooo". (Urtica Dioica)
* With 'linebreak' set and 'list' unset a Tab is not counted
properly. (Kent Sibilev)
* Still sometimes Vim enters Replace mode when starting up.
* Advancing pointer over end of a string.
* No 'cursorline' highlighting when the cursor is on a line with
diff highlighting. (Benjamin Fritz)
* Not easy to detect type of command line window.
* C indent is wrong below an if with wrapped condition followed by
curly braces. (Trevor Powell)
* When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful)
* Matchparen only uses the topmost syntax item.
* Encryption implementation is messy. Blowfish encryption has a
weakness.
* Test 72 crashes under certain conditions. (Kazunobu Kuriyama)
* Valgrind reports errors when running test 72. (Dominique Pelle)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 22 09:04:57 UTC 2014 - idonmez@suse.com Tue Jul 22 09:04:57 UTC 2014 - idonmez@suse.com

View File

@ -17,7 +17,7 @@
%define pkg_version 7.4 %define pkg_version 7.4
%define official_ptchlvl 373 %define official_ptchlvl 417
%define VIM_SUBDIR vim74 %define VIM_SUBDIR vim74
%define site_runtimepath /usr/share/vim/site %define site_runtimepath /usr/share/vim/site
%define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags} %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags}
@ -73,7 +73,7 @@ License: SUSE-Vim
Group: Productivity/Editors/Vi Group: Productivity/Editors/Vi
# #
Url: http://www.vim.org/ Url: http://www.vim.org/
Source: ftp://ftp.vim.org/pub/vim/unix/vim-%{pkg_version}.tar.bz2 Source: vim-%{version}.tar.bz2
Source3: suse.vimrc Source3: suse.vimrc
Source4: vimrc_example1 Source4: vimrc_example1
Source5: vimrc_example2 Source5: vimrc_example2
@ -86,7 +86,6 @@ Source18: missing-vim-client
Source19: gvim.desktop Source19: gvim.desktop
Source20: spec.skeleton Source20: spec.skeleton
Source23: apparmor.vim Source23: apparmor.vim
Source98: %{name}-7.4-patches.tar.bz2
Source99: %{name}-7.4-rpmlintrc Source99: %{name}-7.4-rpmlintrc
Patch3: %{name}-7.4-disable_lang_no.patch Patch3: %{name}-7.4-disable_lang_no.patch
Patch4: %{name}-7.3-gvimrc_fontset.patch Patch4: %{name}-7.3-gvimrc_fontset.patch
@ -167,14 +166,8 @@ You need package vim for the help and other documentation too. If you
want less features, you might want to install vim instead. want less features, you might want to install vim instead.
%prep %prep
%setup -q -n %{VIM_SUBDIR} -b 98 %setup -q -n vim
for p in ../vim-%{pkg_version}-patches/%{pkg_version}*; do
test -e $p || break
test ${p#*/%{pkg_version}.} -le %{official_ptchlvl} || exit 1
echo Patch $p
patch -s -p0 < $p
done
unset p
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1