mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
feat(app-editors/vim) remove package as portage-stable has newer versions
This commit is contained in:
parent
7af9d70a2c
commit
5d960bbbc4
@ -1,2 +0,0 @@
|
||||
DIST vim-7.3.tar.bz2 9080692 RMD160 1846e7f4aa8e0a329d8360a9e05d7e93da23b4b5 SHA1 46faa96c5fab639899b1c655c23d8755b62f036f SHA256 5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d
|
||||
DIST vim-patches-7.3.266.patch.bz2 482229 RMD160 20399fd3a4366f486ce9edf2d09733647b26d487 SHA1 22f2f52cc703ea3ee06dcf9d9c49e39208fbf72a SHA256 28ebe4e469fad7a9f3a55611323e9235b83ec40c6abca85da485f9df02aa0177
|
@ -1,11 +0,0 @@
|
||||
--- src/configure.in
|
||||
+++ src/configure.in
|
||||
@@ -2701,7 +2701,7 @@
|
||||
AC_MSG_CHECKING(whether X_LOCALE needed)
|
||||
AC_TRY_COMPILE([#include <X11/Xlocale.h>],,
|
||||
AC_TRY_LINK_FUNC([_Xsetlocale], [AC_MSG_RESULT(yes)
|
||||
- AC_DEFINE(X_LOCALE)], AC_MSG_RESULT(no)),
|
||||
+ AC_DEFINE(X_LOCALE) ldflags_save="$ldflags_save -lX11"], AC_MSG_RESULT(no)),
|
||||
AC_MSG_RESULT(no))
|
||||
fi
|
||||
CFLAGS=$cflags_save
|
@ -1,11 +0,0 @@
|
||||
--- vim73/src/configure.in.orig 2010-08-13 08:15:17.000000000 -0600
|
||||
+++ vim73/src/configure.in 2010-08-16 17:04:34.000000000 -0600
|
||||
@@ -3180,7 +3180,7 @@ main() {
|
||||
}],
|
||||
AC_MSG_RESULT(ok),
|
||||
AC_MSG_ERROR([WRONG! uint32_t not defined correctly.]),
|
||||
-AC_MSG_ERROR([could not compile program using uint32_t.]))
|
||||
+AC_MSG_WARN([could not check when cross-compiling]))
|
||||
|
||||
dnl Check for memmove() before bcopy(), makes memmove() be used when both are
|
||||
dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.v
|
@ -1,12 +0,0 @@
|
||||
diff -ru vim73.orig/src/link.sh vim73/src/link.sh
|
||||
--- vim73.orig/src/link.sh 2010-10-21 16:29:07 +0200
|
||||
+++ vim73/src/link.sh 2010-10-21 16:23:15 +0200
|
||||
@@ -41,7 +41,7 @@
|
||||
if sh link.cmd; then
|
||||
touch auto/link.sed
|
||||
cp link.cmd linkit.sh
|
||||
- for libname in SM ICE nsl dnet dnet_stub inet socket dir elf iconv Xt Xmu Xp Xpm X11 Xdmcp x w perl dl pthread thread readline m crypt attr; do
|
||||
+ for libname in dummy; do
|
||||
cont=yes
|
||||
while test -n "$cont"; do
|
||||
if grep "l$libname " linkit.sh >/dev/null; then
|
@ -1,36 +0,0 @@
|
||||
# Author: Ciaran McCreesh <ciaranm@gentoo.org>
|
||||
#
|
||||
# completion for vim
|
||||
|
||||
_vim()
|
||||
{
|
||||
local cur prev cmd args
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
cmd=${COMP_WORDS[0]}
|
||||
|
||||
if [[ "${prev}" == "--servername" ]] ; then
|
||||
local servers
|
||||
servers=$(gvim --serverlist )
|
||||
COMPREPLY=( $( compgen -W "${servers}" -- $cur ) )
|
||||
|
||||
elif [[ "${prev}" == -[uUi] ]] ; then
|
||||
COMPREPLY=( $( compgen -W "NONE" ) \
|
||||
$( compgen -f -X "!*vim*" -- "$cur" ) )
|
||||
|
||||
elif [[ "${cur}" == -* ]] ; then
|
||||
args='-t -q -c -S --cmd -A -b -C -d -D -e -E -f --nofork \
|
||||
-F -g -h -H -i -L -l -m -M -N -n -nb -o -R -r -s \
|
||||
-T -u -U -V -v -w -W -x -X -y -Y -Z --echo-wid \
|
||||
--help --literal --noplugin --version'
|
||||
COMPREPLY=( $( compgen -W "${args}" -- $cur ) )
|
||||
else
|
||||
_filedir
|
||||
fi
|
||||
}
|
||||
|
||||
complete -o filenames -F _vim vim ex view evim rvim rview
|
||||
|
||||
# vim: set ft=sh sw=4 et sts=4 :
|
@ -1,93 +0,0 @@
|
||||
" Default configuration file for Vim
|
||||
" Written by Aron Griffis <agriffis@gentoo.org>
|
||||
" Modified by Ryan Phillips <rphillips@gentoo.org>
|
||||
" Added Redhat's vimrc info by Seemant Kulleen <seemant@gentoo.org>
|
||||
|
||||
" The following are some sensible defaults for Vim for most users.
|
||||
" We attempt to change as little as possible from Vim's defaults,
|
||||
" deviating only where it makes sense
|
||||
set nocompatible " Use Vim defaults (much better!)
|
||||
set bs=2 " Allow backspacing over everything in insert mode
|
||||
set ai " Always set auto-indenting on
|
||||
"set backup " Keep a backup file
|
||||
set viminfo='20,\"50 " read/write a .viminfo file -- limit to only 50
|
||||
set history=50 " keep 50 lines of command history
|
||||
set ruler " Show the cursor position all the time
|
||||
|
||||
|
||||
" Added to default to high security within Gentoo. Fixes bug #14088
|
||||
set modelines=0
|
||||
|
||||
if v:lang =~ "^ko"
|
||||
set fileencodings=euc-kr
|
||||
set guifontset=-*-*-medium-r-normal--16-*-*-*-*-*-*-*
|
||||
elseif v:lang =~ "^ja_JP"
|
||||
set fileencodings=euc-jp
|
||||
set guifontset=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*
|
||||
elseif v:lang =~ "^zh_TW"
|
||||
set fileencodings=big5
|
||||
set guifontset=-sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1,-taipei-fixed-medium-r-normal--16-150-75-75-c-160-big5-0
|
||||
elseif v:lang =~ "^zh_CN"
|
||||
set fileencodings=gb2312
|
||||
set guifontset=*-r-*
|
||||
endif
|
||||
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
|
||||
set fileencodings=utf-8,latin1
|
||||
endif
|
||||
|
||||
" Only do this part when compiled with support for autocommands
|
||||
if has("autocmd")
|
||||
" In text files, always limit the width of text to 78 characters
|
||||
autocmd BufRead *.txt set tw=78
|
||||
" When editing a file, always jump to the last cursor position
|
||||
autocmd BufReadPost *
|
||||
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
|
||||
\ exe "normal g'\"" |
|
||||
\ endif
|
||||
endif
|
||||
|
||||
" Don't use Ex mode, use Q for formatting
|
||||
map Q gq
|
||||
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
" Also switch on highlighting the last used search pattern.
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
set hlsearch
|
||||
endif
|
||||
|
||||
if &term=="xterm"
|
||||
set t_RV= " don't check terminal version
|
||||
set t_Co=8
|
||||
set t_Sb=^[4%dm
|
||||
set t_Sf=^[3%dm
|
||||
endif
|
||||
|
||||
if has("autocmd")
|
||||
|
||||
" Gentoo-specific settings for ebuilds. These are the federally-mandated
|
||||
" required tab settings. See the following for more information:
|
||||
" http://www.gentoo.org/doc/en/xml/gentoo-howto.xml
|
||||
augroup gentoo
|
||||
au!
|
||||
au BufRead,BufNewFile *.ebuild set tabstop=4 shiftwidth=4 noexpandtab
|
||||
augroup END
|
||||
|
||||
endif " has("autocmd")
|
||||
|
||||
" some extra commands for HTML editing
|
||||
nmap ,mh wbgueyei<<ESC>ea></<ESC>pa><ESC>bba
|
||||
nmap ,h1 _i<h1><ESC>A</h1><ESC>
|
||||
nmap ,h2 _i<h2><ESC>A</h2><ESC>
|
||||
nmap ,h3 _i<h3><ESC>A</h3><ESC>
|
||||
nmap ,h4 _i<h4><ESC>A</h4><ESC>
|
||||
nmap ,h5 _i<h5><ESC>A</h5><ESC>
|
||||
nmap ,h6 _i<h6><ESC>A</h6><ESC>
|
||||
nmap ,hb wbi<b><ESC>ea</b><ESC>bb
|
||||
nmap ,he wbi<em><ESC>ea</em><ESC>bb
|
||||
nmap ,hi wbi<i><ESC>ea</i><ESC>bb
|
||||
nmap ,hu wbi<u><ESC>ea</i><ESC>bb
|
||||
nmap ,hs wbi<strong><ESC>ea</strong><ESC>bb
|
||||
nmap ,ht wbi<tt><ESC>ea</tt><ESC>bb
|
||||
nmap ,hx wbF<df>f<df>
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.3.266.ebuild,v 1.5 2011/10/08 19:05:19 armin76 Exp $
|
||||
|
||||
EAPI=3
|
||||
VIM_VERSION="7.3"
|
||||
inherit vim
|
||||
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~lack/vim/${VIM_ORG_PATCHES}"
|
||||
|
||||
S="${WORKDIR}/vim${VIM_VERSION/.}"
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
vim_src_prepare
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-7.3-interix-link.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/${PN}-7.1.285-darwin-x11link.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.3-cross.patch
|
||||
|
||||
cd src
|
||||
eautoreconf
|
||||
}
|
Loading…
Reference in New Issue
Block a user