Compare commits
41 Commits
Author | SHA256 | Date | |
---|---|---|---|
d63a63a66a | |||
85d98d9892 | |||
e44b57424b | |||
deea46ea2c | |||
|
a881b3e974 | ||
efbd7c6359 | |||
f255dd368d | |||
ffaac855ed | |||
9b2ebfd6a2 | |||
4ca11f559f | |||
|
b91c77b275 | ||
77e98db383 | |||
|
441e5dd667 | ||
b1b7c1d7c5 | |||
|
8656281cf9 | ||
81bdb35f89 | |||
d135b5394a | |||
7558c408fb | |||
|
7cf02c5b01 | ||
5a680832f7 | |||
|
1772ca2d5c | ||
a5c99300d3 | |||
ab8febe190 | |||
1c7a4ef496 | |||
60aadb4248 | |||
3bb8c29163 | |||
8178fcba14 | |||
4fd8dcab23 | |||
4769e6e71e | |||
c6ffa01209 | |||
8f2f524cfd | |||
b1b7a35656 | |||
|
48f952bdc0 | ||
eb8f8a3528 | |||
|
c29659a60d | ||
|
e6cc37771c | ||
|
eac3227821 | ||
6a98e3a282 | |||
|
b48806cacb | ||
d60ad03ad1 | |||
|
79017b7986 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
45
apparmor.vim
45
apparmor.vim
@@ -3,7 +3,7 @@
|
||||
|
||||
" ----------------------------------------------------------------------
|
||||
" Copyright (c) 2005 Novell, Inc. All Rights Reserved.
|
||||
" Copyright (c) 2006-2012 Christian Boltz. All Rights Reserved.
|
||||
" Copyright (c) 2006-2023 Christian Boltz. All Rights Reserved.
|
||||
"
|
||||
" This program is free software; you can redistribute it and/or
|
||||
" modify it under the terms of version 2 of the GNU General Public
|
||||
@@ -17,14 +17,9 @@
|
||||
" You should have received a copy of the GNU General Public License
|
||||
" along with this program; if not, contact Novell, Inc.
|
||||
"
|
||||
" To contact Novell about this file by physical or electronic mail,
|
||||
" you may find current contact information at www.novell.com.
|
||||
"
|
||||
" To contact Christian Boltz about this file by physical or electronic
|
||||
" mail, you may find current contact information at www.cboltz.de/en/kontakt.
|
||||
"
|
||||
" If you want to report a bug via bugzilla.novell.com, please assign it
|
||||
" to suse-beta[AT]cboltz.de (replace [AT] with @).
|
||||
" If you want to report a bug for apparmor.vim, please do so at
|
||||
" - https://gitlab.com/apparmor/apparmor/ or
|
||||
" - https://bugzilla.opensuse.org (assign it to suse-beta[AT]cboltz.de)
|
||||
" ----------------------------------------------------------------------
|
||||
"
|
||||
" stick this file into ~/.vim/syntax/ and add these commands into your .vimrc
|
||||
@@ -52,6 +47,7 @@ syntax case match
|
||||
" hi sdComment2 ctermfg=darkblue
|
||||
hi sdGlob ctermfg=darkmagenta
|
||||
hi sdAlias ctermfg=darkmagenta
|
||||
hi sdAll ctermfg=darkred ctermbg=yellow
|
||||
hi sdEntryWriteExec ctermfg=black ctermbg=yellow
|
||||
hi sdEntryUX ctermfg=darkred cterm=underline
|
||||
hi sdEntryUXe ctermfg=darkred
|
||||
@@ -67,6 +63,7 @@ syntax case match
|
||||
hi sdCapKey cterm=underline ctermfg=lightblue
|
||||
hi sdCapDanger ctermfg=darkred
|
||||
hi sdRLimit ctermfg=lightblue
|
||||
hi sdUserns ctermfg=darkred
|
||||
hi def link sdEntryR Normal
|
||||
hi def link sdEntryK Normal
|
||||
hi def link sdFlags Normal
|
||||
@@ -112,7 +109,7 @@ syn match sdError /^.*$/ contains=sdComment "highlight all non-valid lines as er
|
||||
|
||||
" TODO: the sdGlob pattern is not anchored with ^ and $, so it matches all lines matching ^@{...}.*
|
||||
" This allows incorrect lines also and should be checked better.
|
||||
" This also (accidently ;-) includes variable definitions (@{FOO}=/bar)
|
||||
" This also (accidentally ;-) includes variable definitions (@{FOO}=/bar)
|
||||
" TODO: make a separate pattern for variable definitions, then mark sdGlob as contained
|
||||
syn match sdGlob /\v\?|\*|\{.*,.*\}|[[^\]]\+\]|\@\{[a-zA-Z][a-zA-Z0-9_]*\}/
|
||||
|
||||
@@ -120,11 +117,18 @@ syn match sdAlias /\v^\s*alias\s+(\/|\@\{\S*\})\S*\s+-\>\s+(\/|\@\{\S*\})\S*\s*,
|
||||
|
||||
" syn match sdComment /#.*/
|
||||
|
||||
syn cluster sdEntry contains=sdEntryWriteExec,sdEntryR,sdEntryW,sdEntryIX,sdEntryPX,sdEntryPXe,sdEntryUX,sdEntryUXe,sdEntryM,sdCap,sdSetCap,sdExtHat,sdRLimit,sdNetwork,sdNetworkDanger,sdEntryChangeProfile
|
||||
" List of all (supported) rules inside a profile.
|
||||
" XXX When adding support for a new rule type, also add it here. XXX
|
||||
" XXX Otherwise it will be highlighted as an error. XXX
|
||||
syn cluster sdEntry contains=sdAll,sdEntryWriteExec,sdEntryR,sdEntryW,sdEntryIX,sdEntryPX,sdEntryPXe,sdEntryUX,sdEntryUXe,sdEntryM,sdCap,sdSetCap,sdExtHat,sdRLimit,sdNetwork,sdNetworkDanger,sdEntryChangeProfile,sdUserns
|
||||
|
||||
|
||||
" TODO: support audit and deny keywords for all rules (not only for files)
|
||||
" TODO: higlight audit and deny keywords everywhere
|
||||
" TODO: highlight audit and deny keywords everywhere
|
||||
|
||||
" 'all' rule
|
||||
syn match sdAll /\v^\s*(audit\s+)?(deny\s+|allow\s+)?all\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude
|
||||
|
||||
|
||||
" Capability line
|
||||
|
||||
@@ -162,10 +166,13 @@ syn match sdRLimit /\v^\s*set\s+rlimit\s+(nofile|ofile|nproc|rtprio)\s+\<\=\s+[0
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+(locks|sigpending)\s+\<\=\s+[0-9]+\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+(fsize|data|stack|core|rss|as|memlock|msgqueue)\s+\<\=\s+[0-9]+([KMG]B)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+nice\s+\<\=\s+(-1?[0-9]|-20|1?[0-9])\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+cpu\s+\<\=\s+[0-9]+(seconds|minutes|hours|days)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+rttime\s+\<\=\s+[0-9]+(ms|seconds|minutes)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+cpu\s+\<\=\s+[0-9]+\s*(s|sec|second|seconds|min|minute|minutes|h|hour|hours|d|day|days|week|weeks)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+rttime\s+\<\=\s+[0-9]+\s*(us|microsecond|microseconds|ms|millisecond|milliseconds|s|sec|second|seconds|min|minute|minutes|h|hour|hours|d|day|days|week|weeks)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
syn match sdRLimit /\v^\s*set\s+rlimit\s+(cpu|rttime|nofile|nproc|rtprio|locks|sigpending|fsize|data|stack|core|rss|as|memlock|msgqueue|nice)\s+\<\=\s+infinity\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment
|
||||
|
||||
" userns
|
||||
syn match sdUserns /\v^\s*(audit\s+)?(deny\s+|allow\s+)?userns(\s+create)?\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdComment nextgroup=@sdEntry,sdComment,sdError,sdInclude
|
||||
|
||||
" link rules
|
||||
syn match sdEntryW /\v^\s+(audit\s+)?(deny\s+|allow\s+)?(owner\s+|other\s+)?link\s+(subset\s+)?(\/|\@\{\S*\})\S*\s+-\>\s+(\/|\@\{\S*\})\S*\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdGlob,sdComment
|
||||
|
||||
@@ -175,14 +182,14 @@ syn match sdExtHat /\v^\s+(\^|hat\s+|profile\s+)\S+\s*,(\s*$|(\s*#.*$)\@=)/ con
|
||||
|
||||
|
||||
|
||||
syn match sdProfileName /\v^((profile\s+)?\/\S+|profile\s+([a-zA-Z0-9]\S*\s)?\S+)\s+((flags\s*\=\s*)?\(\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ contains=sdProfileStart,sdHatName,sdFlags,sdComment,sdGlob
|
||||
syn match sdProfileName /\v^((profile\s+)?\/\S+|profile\s+([a-zA-Z0-9]\S*\s)?\S+)\s+((flags\s*\=\s*)?\(\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ contains=sdProfileStart,sdHatName,sdFlags,sdComment,sdGlob
|
||||
syn match sdProfileStart /{/ contained
|
||||
syn match sdProfileEnd /^}\s*(#.*)?$/ contained " TODO: syn region does not (yet?) allow usage of comment in end=
|
||||
" TODO: Removing the $ mark from end= will allow non-comments also :-(
|
||||
syn match sdHatName /\v^\s+(\^|hat\s+|profile\s+)\S+\s+((flags\s*\=\s*)?\(\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ contains=sdProfileStart,sdFlags,sdComment
|
||||
syn match sdHatName /\v^\s+(\^|hat\s+|profile\s+)\S+\s+((flags\s*\=\s*)?\(\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ contains=sdProfileStart,sdFlags,sdComment
|
||||
syn match sdHatStart /{/ contained
|
||||
syn match sdHatEnd /}/ contained " TODO: allow comments + [same as for syn match sdProfileEnd]
|
||||
syn match sdFlags /\v((flags\s*\=\s*)?\(\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)/ contained contains=sdFlagKey
|
||||
syn match sdFlags /\v((flags\s*\=\s*)?\(\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)/ contained contains=sdFlagKey
|
||||
|
||||
syn match sdComment /\s*#.*$/
|
||||
" NOTE: contains=sdComment changes #include highlighting to comment color.
|
||||
@@ -196,8 +203,8 @@ syn match sdInclude /\s*abi\s<\S*>\s*,/ contains=sdComment " TODO: doesn't chec
|
||||
|
||||
" basic profile block...
|
||||
" \s+ does not work in end=, therefore using \s\s*
|
||||
syn region Normal start=/\v^(profile\s+)?\S+\s+((flags\s*\=\s*)?\(\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ matchgroup=sdProfileEnd end=/^}\s*$/ contains=sdProfileName,Hat,@sdEntry,sdComment,sdError,sdInclude
|
||||
syn region Hat start=/\v^\s+(\^|hat\s+|profile\s+)\S+\s+((flags\s*\=\s*)?\(\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ matchgroup=sdHatEnd end=/^\s\s*}\s*$/ contains=sdHatName,@sdEntry,sdComment,sdError,sdInclude
|
||||
syn region Normal start=/\v^(profile\s+)?\S+\s+((flags\s*\=\s*)?\(\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ matchgroup=sdProfileEnd end=/^}\s*$/ contains=sdProfileName,Hat,@sdEntry,sdComment,sdError,sdInclude
|
||||
syn region Hat start=/\v^\s+(\^|hat\s+|profile\s+)\S+\s+((flags\s*\=\s*)?\(\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|unconfined|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ matchgroup=sdHatEnd end=/^\s\s*}\s*$/ contains=sdHatName,@sdEntry,sdComment,sdError,sdInclude
|
||||
|
||||
" file permissions
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
Encoding=UTF-8
|
||||
Name=Vi IMproved
|
||||
Categories=GTK;Application;Utility;TextEditor;
|
||||
Keywords=editor;gvim;vim;
|
||||
GenericName=Text Editor
|
||||
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||
Exec=gvim -f %f
|
||||
|
@@ -1,12 +0,0 @@
|
||||
Index: vim-8.2.2411/runtime/doc/Makefile
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/doc/Makefile
|
||||
+++ vim-8.2.2411/runtime/doc/Makefile
|
||||
@@ -331,6 +331,7 @@ CONVERTED = \
|
||||
all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
|
||||
|
||||
# Use Vim to generate the tags file. Can only be used when Vim has been
|
||||
+ export VIMRUNTIME=../; \
|
||||
# compiled and installed. Supports multiple languages.
|
||||
vimtags: $(DOCS)
|
||||
@$(VIMEXE) --clean -esX -V1 -u doctags.vim
|
@@ -1,14 +1,15 @@
|
||||
Index: vim-8.2.2411/src/vimtutor
|
||||
Index: vim-9.1.0908/src/vimtutor
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/src/vimtutor
|
||||
+++ vim-8.2.2411/src/vimtutor
|
||||
@@ -24,8 +24,7 @@ xx=$1
|
||||
export xx
|
||||
--- vim-9.1.0908.orig/src/vimtutor
|
||||
+++ vim-9.1.0908/src/vimtutor
|
||||
@@ -158,9 +158,8 @@ done
|
||||
|
||||
|
||||
# We need a temp file for the copy. First try using a standard command.
|
||||
-tmp="${TMPDIR-/tmp}"
|
||||
-TUTORCOPY=`mktemp $tmp/tutorXXXXXX || tempfile -p tutor || echo none`
|
||||
+TUTORCOPY=`mktemp /tmp/tutorXXXXXX || echo /tmp/tutor$$`
|
||||
# shellcheck disable=SC2186
|
||||
-TUTORCOPY=$(mktemp "$tmp/tutorXXXXXX" || tempfile -p tutor || echo none)
|
||||
+TUTORCOPY=$(mktemp /tmp/tutorXXXXXX || echo /tmp/tutor$$)
|
||||
|
||||
# If the standard commands failed then create a directory to put the copy in.
|
||||
# That is a secure way to make a temp file.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
Index: vim-8.2.2411/runtime/syntax/sh.vim
|
||||
Index: vim-9.1.1230/runtime/syntax/sh.vim
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/runtime/syntax/sh.vim
|
||||
+++ vim-8.2.2411/runtime/syntax/sh.vim
|
||||
@@ -74,6 +74,13 @@ if exists("b:is_dash")
|
||||
let b:is_posix= 1
|
||||
--- 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
|
||||
endif
|
||||
|
||||
+" Neither is_kornshell nor is_bash was explicitly set, and
|
||||
|
@@ -1,13 +0,0 @@
|
||||
Index: vim-9.0.1188/runtime/syntax/fstab.vim
|
||||
===================================================================
|
||||
--- vim-9.0.1188.orig/runtime/syntax/fstab.vim
|
||||
+++ vim-9.0.1188/runtime/syntax/fstab.vim
|
||||
@@ -35,7 +35,7 @@ syn match fsOperator /[,=:#]/
|
||||
" Device
|
||||
syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
|
||||
syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained
|
||||
-syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs sysfs usbfs
|
||||
+syn keyword fsDeviceKeyword contained none proc linproc tmpfs debugfs devpts devtmpfs sysfs usbfs
|
||||
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
|
||||
syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID
|
||||
syn keyword fsDeviceKeyword contained PARTLABEL nextgroup=fsDevicePARTLABEL
|
@@ -1,8 +1,8 @@
|
||||
Index: vim-8.2.2411/src/main.c
|
||||
Index: vim-9.1.0530/src/main.c
|
||||
===================================================================
|
||||
--- vim-8.2.2411.orig/src/main.c
|
||||
+++ vim-8.2.2411/src/main.c
|
||||
@@ -3130,7 +3130,10 @@ source_startup_scripts(mparm_T *parmp)
|
||||
--- 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)
|
||||
* Get system wide defaults, if the file name is defined.
|
||||
*/
|
||||
#ifdef SYS_VIMRC_FILE
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d76ed5d1191b5c76fe7195125c9975d78c92a54254b8b5d377c6caf5739da259
|
||||
size 17919981
|
71
vim-9.1.1134-revert-putty-terminal-colors.patch
Normal file
71
vim-9.1.1134-revert-putty-terminal-colors.patch
Normal file
@@ -0,0 +1,71 @@
|
||||
From b16c218964d2024a5c52f251a49c9d71da63f9a0 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jungblut Schreiner <martinjungblut@gmail.com>
|
||||
Date: Wed, 5 Mar 2025 17:07:19 -0300
|
||||
Subject: [PATCH] Revert "runtime(defaults): Detect putty terminal and switch
|
||||
to dark background"
|
||||
|
||||
This reverts commit 2abec431e1ab5f4f6e21c2bb490241732622a8c5.
|
||||
---
|
||||
runtime/defaults.vim | 5 -----
|
||||
runtime/doc/autocmd.txt | 17 ++++-------------
|
||||
runtime/doc/version9.txt | 3 +++
|
||||
src/testdir/test_cmdline.vim | 2 --
|
||||
4 files changed, 7 insertions(+), 20 deletions(-)
|
||||
|
||||
Index: vim-9.1.1176/runtime/defaults.vim
|
||||
===================================================================
|
||||
--- vim-9.1.1176.orig/runtime/defaults.vim
|
||||
+++ vim-9.1.1176/runtime/defaults.vim
|
||||
@@ -112,11 +112,6 @@ if 1
|
||||
\ | execute "normal! g`\""
|
||||
\ | endif
|
||||
|
||||
- " Set the default background for putty to dark. Putty usually sets the
|
||||
- " $TERM to xterm and by default it starts with a dark background which
|
||||
- " makes syntax highlighting often hard to read with bg=light
|
||||
- " undo this using: ":au! vimStartup TermResponse"
|
||||
- autocmd TermResponse * if v:termresponse == "\e[>0;136;0c" | set bg=dark | endif
|
||||
augroup END
|
||||
|
||||
" Quite a few people accidentally type "q:" instead of ":q" and get confused
|
||||
Index: vim-9.1.1176/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
|
||||
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
|
||||
- terminal version.
|
||||
- This is used in |defaults.vim| to detect
|
||||
- putty terminal and set a dark background: >
|
||||
-
|
||||
- au TermResponse *
|
||||
- \ if v:termresponse == "\e[>0;136;0c"
|
||||
- \ set bg=dark
|
||||
- \ endif
|
||||
-<
|
||||
- Note: that this event may be triggered halfway
|
||||
- executing another event, especially if file
|
||||
- I/O, a shell command or anything else that
|
||||
- takes time is involved.
|
||||
+ terminal version. Note that this event may be
|
||||
+ triggered halfway executing another event,
|
||||
+ especially if file I/O, a shell command or
|
||||
+ 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
|
||||
===================================================================
|
||||
--- 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()
|
||||
CheckScreendump
|
||||
|
||||
let lines =<< trim [SCRIPT]
|
||||
- " clear the TermResponse autocommand from defaults.vim
|
||||
- au! vimStartup TermResponse
|
||||
command DoSomething echo 'hello' |set ts=4 |let v = '123' |echo v
|
||||
call feedkeys("\r", 't') " for the hit-enter prompt
|
||||
set verbose=20
|
3
vim-9.1.1508.tar.gz
Normal file
3
vim-9.1.1508.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6229dd8856364b0edb6d76e1c6f4a4a61b404d283c2a61833816b47afc9a8b06
|
||||
size 18571702
|
2098
vim.changes
2098
vim.changes
File diff suppressed because it is too large
Load Diff
56
vim.spec
56
vim.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package vim
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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 @@
|
||||
|
||||
|
||||
%define pkg_version 9.1
|
||||
%define patchlevel 0470
|
||||
%define patchlevel 1508
|
||||
%define patchlevel_compact %{patchlevel}
|
||||
%define VIM_SUBDIR vim91
|
||||
%define site_runtimepath %{_datadir}/vim/site
|
||||
@@ -47,8 +47,10 @@ Source19: gvim.desktop
|
||||
Source20: spec.skeleton
|
||||
Source21: spec.vim
|
||||
Source23: apparmor.vim
|
||||
Source100: README.md
|
||||
# Generated using: epstopdf runtime/vimlogo.eps && pdf2svg runtime/vimlogo.pdf gvim.svg
|
||||
Source24: gvim.svg
|
||||
Source100: README.md
|
||||
# Section Bitmap icons generated from gvim.svg using rsvg-convert
|
||||
Source25: gvim_24.png
|
||||
Source26: gvim_32.png
|
||||
@@ -58,24 +60,25 @@ Source29: gvim_96.png
|
||||
Source30: gvim_128.png
|
||||
Source31: gvim_256.png
|
||||
Source32: gvim_512.png
|
||||
Source100: README.md
|
||||
# /Section
|
||||
Source99: %{name}-7.4-rpmlintrc
|
||||
Patch3: %{name}-7.4-disable_lang_no.patch
|
||||
Patch4: %{name}-7.3-gvimrc_fontset.patch
|
||||
Patch5: %{name}-7.4-highlight_fstab.patch
|
||||
Patch6: %{name}-7.3-sh_is_bash.patch
|
||||
Patch7: %{name}-7.3-filetype_ftl.patch
|
||||
Patch8: %{name}-7.3-help_tags.patch
|
||||
Patch9: %{name}-7.3-use_awk.patch
|
||||
Patch10: %{name}-7.3-name_vimrc.patch
|
||||
Patch11: %{name}-7.3-mktemp_tutor.patch
|
||||
Patch15: %{name}-7.4-filetype_apparmor.patch
|
||||
Patch18: %{name}-7.3-filetype_spec.patch
|
||||
Patch21: %{name}-7.3-filetype_changes.patch
|
||||
Patch22: %{name}-7.4-filetype_mine.patch
|
||||
Patch100: vim73-no-static-libpython.patch
|
||||
Patch101: vim-8.0.1568-defaults.patch
|
||||
Patch104: vim-8.2.2411-globalvimrc.patch
|
||||
Source100: README.md
|
||||
Patch1: %{name}-7.4-disable_lang_no.patch
|
||||
Patch2: %{name}-7.3-gvimrc_fontset.patch
|
||||
Patch3: %{name}-7.3-sh_is_bash.patch
|
||||
Patch4: %{name}-7.3-filetype_ftl.patch
|
||||
Patch5: %{name}-7.3-use_awk.patch
|
||||
Patch6: %{name}-7.3-name_vimrc.patch
|
||||
Patch7: %{name}-7.3-mktemp_tutor.patch
|
||||
Patch8: %{name}-7.4-filetype_apparmor.patch
|
||||
Patch9: %{name}-7.3-filetype_spec.patch
|
||||
Patch10: %{name}-7.3-filetype_changes.patch
|
||||
Patch11: %{name}-7.4-filetype_mine.patch
|
||||
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: db-devel
|
||||
BuildRequires: fdupes
|
||||
@@ -210,23 +213,22 @@ a hex dump back to its original binary form.
|
||||
%prep
|
||||
%setup -q -n %{name}-%{pkg_version}.%{patchlevel}
|
||||
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
%patch -P 4 -p1
|
||||
%patch -P 5 -p1
|
||||
%patch -P 6 -p1
|
||||
%patch -P 7 -p1
|
||||
cp %{SOURCE23} runtime/syntax/apparmor.vim
|
||||
%patch -P 8 -p1
|
||||
%patch -P 9 -p1
|
||||
%patch -P 10 -p1
|
||||
%patch -P 11 -p1
|
||||
cp %{SOURCE23} runtime/syntax/apparmor.vim
|
||||
%patch -P 12 -p1
|
||||
%patch -P 13 -p1
|
||||
%patch -P 14 -p1
|
||||
%patch -P 15 -p1
|
||||
%patch -P 18 -p1
|
||||
%patch -P 21 -p1
|
||||
%patch -P 22 -p1
|
||||
%patch -P 100 -p1
|
||||
%patch -P 101 -p1
|
||||
%patch -P 104 -p1
|
||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||
|
||||
%build
|
||||
@@ -418,6 +420,10 @@ install -D -m 0644 \
|
||||
vimrc_example1 vimrc_example2 suse.vimrc \
|
||||
README.txt READMEdir/README_src.txt READMEdir/README_unix.txt \
|
||||
%{buildroot}%{_docdir}/vim/
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/LICENSE
|
||||
rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/README.txt
|
||||
|
||||
# gvim
|
||||
install -D -m 0644 \
|
||||
README.Japanese-XIM runtime/gvimrc_example.vim suse.gvimrc \
|
||||
|
Reference in New Issue
Block a user