Compare commits
17 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 447f9e8378 | |||
| 61c2af5bcf | |||
| 4bd8fb0078 | |||
| 6afe544d78 | |||
| 1d95a2d4b6 | |||
| 23a8cc5730 | |||
| e547d376dd | |||
| 40b10dd6c4 | |||
| d4764cc270 | |||
| ac60d9e686 | |||
| 4cbb0249d3 | |||
| a54e92c25c | |||
| 3e861503a4 | |||
| cbf1109c0c | |||
| 5ddbd5060b | |||
| 4aa8330b7f | |||
| d5076d7bee |
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package specRPM_CREATION_NAME
|
||||
#
|
||||
# Copyright (c) specCURRENT_YEAR SUSE LLC
|
||||
# Copyright (c) specCURRENT_YEAR SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
||||
10
suse.vimrc
10
suse.vimrc
@@ -5,6 +5,11 @@
|
||||
" version: 2021/02/22
|
||||
" commented lines start with `"'
|
||||
|
||||
" get easier to use and more user friendly vim defaults
|
||||
" CAUTION: This option breaks some vi compatibility.
|
||||
" Switch it off if you prefer real vi compatibility
|
||||
set nocompatible
|
||||
|
||||
" enable syntax highlighting
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
@@ -31,11 +36,6 @@ set showmode
|
||||
" Required to be able to use keypad keys and map missed escape sequences
|
||||
set esckeys
|
||||
|
||||
" get easier to use and more user friendly vim defaults
|
||||
" CAUTION: This option breaks some vi compatibility.
|
||||
" Switch it off if you prefer real vi compatibility
|
||||
set nocompatible
|
||||
|
||||
" allow backspacing over everything in insert mode
|
||||
set backspace=indent,eol,start
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
Index: vim-8.2.2411/runtime/filetype.vim
|
||||
Index: vim-9.1.1857/runtime/filetype.vim
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/filetype.vim
|
||||
+++ vim-8.2.2411/runtime/filetype.vim
|
||||
@@ -320,6 +320,9 @@ au BufNewFile,BufRead *.css setf css
|
||||
" Century Term Command Scripts (*.cmd too)
|
||||
au BufNewFile,BufRead *.con setf cterm
|
||||
--- vim-9.1.1857.orig/runtime/filetype.vim
|
||||
+++ vim-9.1.1857/runtime/filetype.vim
|
||||
@@ -221,6 +221,9 @@ endif
|
||||
" Set g_filetype_h to set a different filetype
|
||||
au BufNewFile,BufRead *.h call dist#ft#FTheader()
|
||||
|
||||
+" SuSE .changes file
|
||||
+au BufNewFile,BufRead *.changes setf changes
|
||||
@@ -12,10 +12,10 @@ Index: vim-8.2.2411/runtime/filetype.vim
|
||||
" Changelog
|
||||
au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch,*/debian/changelog
|
||||
\ setf debchangelog
|
||||
Index: vim-8.2.2411/runtime/syntax/changes.vim
|
||||
Index: vim-9.1.1857/runtime/syntax/changes.vim
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ vim-8.2.2411/runtime/syntax/changes.vim
|
||||
+++ vim-9.1.1857/runtime/syntax/changes.vim
|
||||
@@ -0,0 +1,41 @@
|
||||
+" Vim syntax file
|
||||
+" Filename: changes.vim
|
||||
|
||||
@@ -1,22 +1,19 @@
|
||||
Index: vim-9.1.0330/runtime/filetype.vim
|
||||
Index: vim-9.1.1856/runtime/filetype.vim
|
||||
===================================================================
|
||||
--- vim-9.1.0330.orig/runtime/filetype.vim
|
||||
+++ vim-9.1.0330/runtime/filetype.vim
|
||||
@@ -2313,6 +2313,10 @@ au BufNewFile,BufRead *.stp setf stp
|
||||
" Standard ML
|
||||
au BufNewFile,BufRead *.sml setf sml
|
||||
--- vim-9.1.1856.orig/runtime/filetype.vim
|
||||
+++ vim-9.1.1856/runtime/filetype.vim
|
||||
@@ -1638,3 +1638,7 @@ let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: ts=8
|
||||
+" FreeMarker templates
|
||||
+au BufNewFile,BufRead *.ftl setf ftl
|
||||
+
|
||||
+
|
||||
" Sratus VOS command macro
|
||||
au BufNewFile,BufRead *.cm setf voscm
|
||||
|
||||
Index: vim-9.1.0330/runtime/syntax/ftl.vim
|
||||
Index: vim-9.1.1856/runtime/syntax/ftl.vim
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ vim-9.1.0330/runtime/syntax/ftl.vim
|
||||
+++ vim-9.1.1856/runtime/syntax/ftl.vim
|
||||
@@ -0,0 +1,36 @@
|
||||
+" Vim syntax file
|
||||
+" Language: FreeMarker Template Language (FTL)
|
||||
|
||||
@@ -1,26 +1,12 @@
|
||||
Index: vim-9.1.0151/runtime/filetype.vim
|
||||
Index: vim-9.1.1918/runtime/autoload/dist/ft.vim
|
||||
===================================================================
|
||||
--- vim-9.1.0151.orig/runtime/filetype.vim
|
||||
+++ vim-9.1.0151/runtime/filetype.vim
|
||||
@@ -2122,7 +2122,7 @@ au BufRead,BufNewFile *.sol setf solid
|
||||
au BufNewFile,BufRead *.rq,*.sparql setf sparql
|
||||
|
||||
" Spec (Linux RPM)
|
||||
-au BufNewFile,BufRead *.spec setf spec
|
||||
+au BufNewFile,BufRead *.spec,*.spec.in setf spec
|
||||
|
||||
" Speedup (AspenTech plant simulator)
|
||||
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
|
||||
Index: vim-9.1.0151/runtime/syntax/spec.vim
|
||||
===================================================================
|
||||
--- vim-9.1.0151.orig/runtime/syntax/spec.vim
|
||||
+++ vim-9.1.0151/runtime/syntax/spec.vim
|
||||
@@ -102,7 +102,7 @@ syn case ignore
|
||||
"%% PreAmble Section %%
|
||||
"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 specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|SourceLicense\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
|
||||
+syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|SourceLicense\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\|Freshens\|EssentialFor\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
|
||||
|
||||
"%% Description Section %%
|
||||
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment
|
||||
--- vim-9.1.1918.orig/runtime/autoload/dist/ft.vim
|
||||
+++ vim-9.1.1918/runtime/autoload/dist/ft.vim
|
||||
@@ -2673,6 +2673,7 @@ const ft_from_ext = {
|
||||
"sparql": "sparql",
|
||||
# Spec (Linux RPM)
|
||||
"spec": "spec",
|
||||
+ "spec.in": "spec",
|
||||
# Speedup (AspenTech plant simulator)
|
||||
"speedup": "spup",
|
||||
"spdata": "spup",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/runtime/gvimrc_example.vim
|
||||
Index: vim-9.1.1706/runtime/gvimrc_example.vim
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/gvimrc_example.vim
|
||||
+++ vim-8.2.2411/runtime/gvimrc_example.vim
|
||||
@@ -15,9 +15,6 @@
|
||||
--- vim-9.1.1706.orig/runtime/gvimrc_example.vim
|
||||
+++ vim-9.1.1706/runtime/gvimrc_example.vim
|
||||
@@ -16,9 +16,6 @@
|
||||
" Make external commands work through a pipe instead of a pseudo-tty
|
||||
"set noguipty
|
||||
|
||||
@@ -12,7 +12,7 @@ Index: vim-8.2.2411/runtime/gvimrc_example.vim
|
||||
set ch=2 " Make command line two lines high
|
||||
|
||||
set mousehide " Hide the mouse when typing text
|
||||
@@ -53,3 +50,29 @@ if version >= 500
|
||||
@@ -54,3 +51,29 @@ if version >= 500
|
||||
highlight Special gui=NONE guibg=grey95
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-9.1.0908/src/vimtutor
|
||||
Index: vim-9.1.1706/src/vimtutor
|
||||
===================================================================
|
||||
--- vim-9.1.0908.orig/src/vimtutor
|
||||
+++ vim-9.1.0908/src/vimtutor
|
||||
@@ -158,9 +158,8 @@ done
|
||||
--- vim-9.1.1706.orig/src/vimtutor
|
||||
+++ vim-9.1.1706/src/vimtutor
|
||||
@@ -159,9 +159,8 @@ done
|
||||
|
||||
|
||||
# We need a temp file for the copy. First try using a standard command.
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/src/feature.h
|
||||
Index: vim-9.1.1706/src/feature.h
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/src/feature.h
|
||||
+++ vim-8.2.2411/src/feature.h
|
||||
@@ -813,11 +813,12 @@
|
||||
--- vim-9.1.1706.orig/src/feature.h
|
||||
+++ vim-9.1.1706/src/feature.h
|
||||
@@ -704,11 +704,12 @@
|
||||
* SYS_VIMRC_FILE Name of the system-wide .vimrc file.
|
||||
*/
|
||||
// #define SYS_VIMRC_FILE "/etc/vimrc"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
Index: vim-9.1.1230/runtime/syntax/sh.vim
|
||||
Index: vim-9.1.1856/runtime/syntax/sh.vim
|
||||
===================================================================
|
||||
--- vim-9.1.1230.orig/runtime/syntax/sh.vim
|
||||
+++ vim-9.1.1230/runtime/syntax/sh.vim
|
||||
@@ -80,6 +80,13 @@ if exists("b:is_kornshell") || exists("b
|
||||
endif
|
||||
--- vim-9.1.1856.orig/runtime/syntax/sh.vim
|
||||
+++ vim-9.1.1856/runtime/syntax/sh.vim
|
||||
@@ -147,6 +147,13 @@ if exists("b:is_kornshell") || exists("b
|
||||
endif
|
||||
endif
|
||||
|
||||
+" Neither is_kornshell nor is_bash was explicitly set, and
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/src/po/Make_all.mak
|
||||
Index: vim-9.1.1706/src/po/Make_all.mak
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/src/po/Make_all.mak
|
||||
+++ vim-8.2.2411/src/po/Make_all.mak
|
||||
@@ -24,7 +24,6 @@ LANGUAGES = \
|
||||
--- vim-9.1.1706.orig/src/po/Make_all.mak
|
||||
+++ vim-9.1.1706/src/po/Make_all.mak
|
||||
@@ -26,7 +26,6 @@ LANGUAGES = \
|
||||
lv \
|
||||
nb \
|
||||
nl \
|
||||
@@ -10,7 +10,7 @@ Index: vim-8.2.2411/src/po/Make_all.mak
|
||||
pl \
|
||||
pl.UTF-8 \
|
||||
pl.cp1250 \
|
||||
@@ -109,7 +108,6 @@ MOFILES = \
|
||||
@@ -114,7 +113,6 @@ MOFILES = \
|
||||
lv.mo \
|
||||
nb.mo \
|
||||
nl.mo \
|
||||
@@ -18,7 +18,7 @@ Index: vim-8.2.2411/src/po/Make_all.mak
|
||||
pl.mo \
|
||||
pt_BR.mo \
|
||||
ru.mo \
|
||||
@@ -159,7 +157,6 @@ CHECKFILES = \
|
||||
@@ -167,7 +165,6 @@ CHECKFILES = \
|
||||
lv.ck \
|
||||
nb.ck \
|
||||
nl.ck \
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
Index: vim-8.2.2411/runtime/filetype.vim
|
||||
Index: vim-9.1.1918/runtime/filetype.vim
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/filetype.vim
|
||||
+++ vim-8.2.2411/runtime/filetype.vim
|
||||
@@ -104,6 +104,10 @@ au BufNewFile,BufRead *.ino,*.pde setf
|
||||
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
|
||||
au BufNewFile,BufRead */etc/apache2/sites-*/*.com setf apache
|
||||
--- vim-9.1.1918.orig/runtime/filetype.vim
|
||||
+++ vim-9.1.1918/runtime/filetype.vim
|
||||
@@ -124,6 +124,10 @@ au BufNewFile,BufRead *.demo,*.dm{1,2,3,
|
||||
" *.[sS], *.[aA] usually Assembly - GNU
|
||||
au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call dist#ft#FTasm()
|
||||
|
||||
+" AppArmor
|
||||
+au BufNewFile,BufRead */etc/apparmor.d/* setf apparmor
|
||||
+au BufNewFile,BufRead */etc/apparmor/profiles/* setf apparmor
|
||||
+
|
||||
" XA65 MOS6510 cross assembler
|
||||
au BufNewFile,BufRead *.a65 setf a65
|
||||
|
||||
" BASIC or Visual Basic
|
||||
au BufNewFile,BufRead *.bas call dist#ft#FTbas()
|
||||
au BufNewFile,BufRead *.bi,*.bm call dist#ft#FTbas()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/runtime/filetype.vim
|
||||
Index: vim-9.1.1706/runtime/filetype.vim
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/filetype.vim
|
||||
+++ vim-8.2.2411/runtime/filetype.vim
|
||||
@@ -17,7 +17,7 @@ augroup filetypedetect
|
||||
--- vim-9.1.1706.orig/runtime/filetype.vim
|
||||
+++ vim-9.1.1706/runtime/filetype.vim
|
||||
@@ -18,7 +18,7 @@ augroup filetypedetect
|
||||
|
||||
" Ignored extensions
|
||||
if exists("*fnameescape")
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/runtime/defaults.vim
|
||||
Index: vim-9.1.1706/runtime/defaults.vim
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/defaults.vim
|
||||
+++ vim-8.2.2411/runtime/defaults.vim
|
||||
@@ -77,13 +77,15 @@ inoremap <C-U> <C-G>u<C-U>
|
||||
--- vim-9.1.1706.orig/runtime/defaults.vim
|
||||
+++ vim-9.1.1706/runtime/defaults.vim
|
||||
@@ -73,13 +73,15 @@ inoremap <C-U> <C-G>u<C-U>
|
||||
" can position the cursor, Visually select and scroll with the mouse.
|
||||
" Only xterm can grab the mouse events when using the shift key, for other
|
||||
" terminals use ":", select text and press Esc.
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-9.1.0530/src/main.c
|
||||
Index: vim-9.1.1706/src/main.c
|
||||
===================================================================
|
||||
--- vim-9.1.0530.orig/src/main.c
|
||||
+++ vim-9.1.0530/src/main.c
|
||||
@@ -3251,7 +3251,10 @@ source_startup_scripts(mparm_T *parmp)
|
||||
--- vim-9.1.1706.orig/src/main.c
|
||||
+++ vim-9.1.1706/src/main.c
|
||||
@@ -3364,7 +3364,10 @@ source_startup_scripts(mparm_T *parmp)
|
||||
* Get system wide defaults, if the file name is defined.
|
||||
*/
|
||||
#ifdef SYS_VIMRC_FILE
|
||||
|
||||
@@ -12,10 +12,10 @@ This reverts commit 2abec431e1ab5f4f6e21c2bb490241732622a8c5.
|
||||
src/testdir/test_cmdline.vim | 2 --
|
||||
4 files changed, 7 insertions(+), 20 deletions(-)
|
||||
|
||||
Index: vim-9.1.1176/runtime/defaults.vim
|
||||
Index: vim-9.1.1706/runtime/defaults.vim
|
||||
===================================================================
|
||||
--- vim-9.1.1176.orig/runtime/defaults.vim
|
||||
+++ vim-9.1.1176/runtime/defaults.vim
|
||||
--- vim-9.1.1706.orig/runtime/defaults.vim
|
||||
+++ vim-9.1.1706/runtime/defaults.vim
|
||||
@@ -112,11 +112,6 @@ if 1
|
||||
\ | execute "normal! g`\""
|
||||
\ | endif
|
||||
@@ -28,11 +28,11 @@ Index: vim-9.1.1176/runtime/defaults.vim
|
||||
augroup END
|
||||
|
||||
" Quite a few people accidentally type "q:" instead of ":q" and get confused
|
||||
Index: vim-9.1.1176/runtime/doc/autocmd.txt
|
||||
Index: vim-9.1.1706/runtime/doc/autocmd.txt
|
||||
===================================================================
|
||||
--- vim-9.1.1176.orig/runtime/doc/autocmd.txt
|
||||
+++ vim-9.1.1176/runtime/doc/autocmd.txt
|
||||
@@ -1260,19 +1260,10 @@ TerminalWinOpen Just after a terminal
|
||||
--- vim-9.1.1706.orig/runtime/doc/autocmd.txt
|
||||
+++ vim-9.1.1706/runtime/doc/autocmd.txt
|
||||
@@ -1291,19 +1291,10 @@ TerminalWinOpen Just after a terminal
|
||||
TermResponse After the response to |t_RV| is received from
|
||||
the terminal. The value of |v:termresponse|
|
||||
can be used to do things depending on the
|
||||
@@ -55,12 +55,12 @@ Index: vim-9.1.1176/runtime/doc/autocmd.txt
|
||||
+ anything else that takes time is involved.
|
||||
*TermResponseAll*
|
||||
TermResponseAll After the response to |t_RV|, |t_RC|, |t_RS|,
|
||||
|t_RB|, |t_RF|, or |t_u7| are received from
|
||||
Index: vim-9.1.1176/src/testdir/test_cmdline.vim
|
||||
|t_u7| or any OSC command are received from
|
||||
Index: vim-9.1.1706/src/testdir/test_cmdline.vim
|
||||
===================================================================
|
||||
--- vim-9.1.1176.orig/src/testdir/test_cmdline.vim
|
||||
+++ vim-9.1.1176/src/testdir/test_cmdline.vim
|
||||
@@ -1843,8 +1843,6 @@ func Test_verbose_option()
|
||||
--- vim-9.1.1706.orig/src/testdir/test_cmdline.vim
|
||||
+++ vim-9.1.1706/src/testdir/test_cmdline.vim
|
||||
@@ -1899,8 +1899,6 @@ func Test_verbose_option()
|
||||
CheckScreendump
|
||||
|
||||
let lines =<< trim [SCRIPT]
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6229dd8856364b0edb6d76e1c6f4a4a61b404d283c2a61833816b47afc9a8b06
|
||||
size 18571702
|
||||
3
vim-9.1.1966.tar.gz
Normal file
3
vim-9.1.1966.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d1e3691e74bdeb69e619a3c095382c2afe72463cc8c50a2739e13d2636277eb7
|
||||
size 19207066
|
||||
1758
vim.changes
1758
vim.changes
File diff suppressed because it is too large
Load Diff
24
vim.spec
24
vim.spec
@@ -2,6 +2,7 @@
|
||||
# spec file for package vim
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +18,7 @@
|
||||
|
||||
|
||||
%define pkg_version 9.1
|
||||
%define patchlevel 1508
|
||||
%define patchlevel 1966
|
||||
%define patchlevel_compact %{patchlevel}
|
||||
%define VIM_SUBDIR vim91
|
||||
%define site_runtimepath %{_datadir}/vim/site
|
||||
@@ -27,7 +28,6 @@
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%bcond_without python2
|
||||
Name: vim
|
||||
Version: %{pkg_version}.%{patchlevel_compact}
|
||||
Release: 0
|
||||
@@ -75,7 +75,7 @@ Patch12: %{name}73-no-static-libpython.patch
|
||||
Patch13: %{name}-8.0.1568-defaults.patch
|
||||
Patch14: %{name}-8.2.2411-globalvimrc.patch
|
||||
Patch15: %{name}-9.1.1134-revert-putty-terminal-colors.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: autoconf >= 2.71
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gettext-devel
|
||||
@@ -85,6 +85,7 @@ BuildRequires: perl
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: wayland-utils
|
||||
BuildRequires: pkgconfig(form)
|
||||
BuildRequires: pkgconfig(formw)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
@@ -102,7 +103,12 @@ BuildRequires: pkgconfig(panelw)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: pkgconfig(tic)
|
||||
BuildRequires: pkgconfig(tinfo)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(wayland-egl)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
#!BuildIgnore: glycin-loaders
|
||||
Requires: vim-data-common = %{version}-%{release}
|
||||
Requires: xxd = %{version}-%{release}
|
||||
Recommends: vim-data = %{version}-%{release}
|
||||
@@ -122,9 +128,6 @@ Requires: alts
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
|
||||
@@ -260,23 +263,24 @@ export HUGE_OPTIONS="\
|
||||
--enable-luainterp=dynamic \
|
||||
--enable-perlinterp=yes \
|
||||
--enable-python3interp=dynamic \
|
||||
--enable-rubyinterp=dynamic
|
||||
--enable-pythoninterp=%{?with_python2:yes}%{!?with_python2:no}"
|
||||
--enable-rubyinterp=dynamic"
|
||||
|
||||
export GUI_OPTIONS="\
|
||||
--disable-icon-cache-update \
|
||||
--enable-xim \
|
||||
--enable-fontset \
|
||||
--enable-gui=gtk3"
|
||||
--enable-gui=gtk3 \
|
||||
--enable-wayland"
|
||||
|
||||
export NOGUI_OPTIONS="\
|
||||
--disable-gui \
|
||||
--disable-gpm \
|
||||
--with-x=no \
|
||||
--without-wayland \
|
||||
"
|
||||
|
||||
pushd src
|
||||
autoconf
|
||||
make autoconf
|
||||
popd
|
||||
|
||||
# build smaller vim
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/src/configure.ac
|
||||
Index: vim-9.1.1706/src/configure.ac
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/src/configure.ac
|
||||
+++ vim-8.2.2411/src/configure.ac
|
||||
@@ -1289,7 +1289,7 @@ eof
|
||||
--- vim-9.1.1706.orig/src/configure.ac
|
||||
+++ vim-9.1.1706/src/configure.ac
|
||||
@@ -1416,7 +1416,7 @@ eof
|
||||
vi_cv_path_python_plibs="-F${python_PYTHONFRAMEWORKPREFIX} -framework Python"
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user