Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b1b5260db2b9d0213e03920138fc9b48ffba359b
commit b1b5260db2b9d0213e03920138fc9b48ffba359b
Author: janny <[EMAIL PROTECTED]>
Date: Wed Sep 12 00:10:53 2007 +0200
vim-7.1-3-i686
added README.Frugalware asciidoc syntax
and add other _F_ syntax from util.sh
diff --git a/source/apps/vim/frugalware.diff b/source/apps/vim/frugalware.diff
index e441099..a0b580a 100644
--- a/source/apps/vim/frugalware.diff
+++ b/source/apps/vim/frugalware.diff
@@ -1,35 +1,6 @@
-diff -Naur vim64.orig/runtime/filetype.vim vim64/runtime/filetype.vim
---- vim64.orig/runtime/filetype.vim 2005-10-13 12:19:37.000000000 +0200
-+++ vim64/runtime/filetype.vim 2005-11-15 01:02:37.000000000 +0100
-@@ -1745,6 +1745,8 @@
- " Z-Shell script
- au BufNewFile,BufRead zsh*,zlog* setf zsh
-
-+" FrugalBuild file
-+au BufNewFile,BufRead FrugalBuild,*.install setf sh
-
- " Generic configuration file (check this last, it's just guessing!)
- au BufNewFile,BufRead,StdinReadPost *
-diff -Naur vim64.orig/runtime/syntax/sh.vim vim64/runtime/syntax/sh.vim
---- vim64.orig/runtime/syntax/sh.vim 2005-09-06 19:25:51.000000000 +0200
-+++ vim64/runtime/syntax/sh.vim 2005-11-15 01:21:08.000000000 +0100
-@@ -409,6 +409,10 @@
- endif
- endif
-
-+" Useful FrugalBuild Keywords: {{{1
-+" ===================
-+syn keyword shStatement Fmessage Fdie Fcd Fmkdir Frm Fcp Fcpr Fmv Finstallrel
Finstall Fdirschmod Ffileschmod Fdirschown Ffileschown Fexe Fexerel Ffile
Ffilerel Fdoc Fdocrel Fln Fsed Fdeststrip Fpatch Fpatchall Fconf Fmake
Fmakeinstall Fbuild Frcd Frcd2 Facu Fsort Funpack_makeself Fautoconfize
Finclude Flasttar Fsplit Fextract
-+
- " Synchronization: {{{1
- " ================
- if !exists("sh_minlines")
-This patch will make VIM 7 open fpm and fdb files as tar.bz2 archives, so you
can open/edit any file within any package without the need of decompressing it
first
-
-By Wael Nasreddine <[EMAIL PROTECTED]>
-
+diff -Naur vim71.orig/runtime/autoload/tar.vim vim71/runtime/autoload/tar.vim
--- vim71.orig/runtime/autoload/tar.vim 2006-10-11 20:03:43.000000000 +0200
-+++ vim71/runtime/autoload/tar.vim 2007-05-16 13:11:00.000000000 +0200
++++ vim71/runtime/autoload/tar.vim 2007-09-11 23:26:22.000000000 +0200
@@ -110,7 +110,7 @@
if tarfile =~# '\.\(gz\|tgz\)$'
" call Decho("exe silent r! gzip -d -c ".g:tar_shq.tarfile.g:tar_shq."|
".g:tar_cmd." -".g:tar_browseoptions." - ")
@@ -60,9 +31,9 @@ By Wael Nasreddine <[EMAIL PROTECTED]>
let compress= "bzip2 '".tarfile."'"
endif
-diff -Naur a/runtime/filetype.vim b/runtime/filetype.vim
---- a/runtime/filetype.vim 2006-05-02 20:15:45.000000000 +0200
-+++ b/runtime/filetype.vim 2006-06-04 04:57:38.000000000 +0200
+diff -Naur vim71.orig/runtime/filetype.vim vim71/runtime/filetype.vim
+--- vim71.orig/runtime/filetype.vim 2007-05-10 17:14:37.000000000 +0200
++++ vim71/runtime/filetype.vim 2007-09-11 23:31:04.000000000 +0200
@@ -34,7 +34,7 @@
" Pattern used to match file names which should not be inspected.
" Currently finds compressed files.
@@ -72,10 +43,22 @@ diff -Naur a/runtime/filetype.vim b/runtime/filetype.vim
endif
" Function used for patterns that end in a star: don't set the filetype if the
-diff -Naur a/runtime/plugin/tarPlugin.vim b/runtime/plugin/tarPlugin.vim
---- a/runtime/plugin/tarPlugin.vim 2005-10-18 21:16:28.000000000 +0200
-+++ b/runtime/plugin/tarPlugin.vim 2006-06-04 04:46:14.000000000 +0200
-@@ -26,6 +26,8 @@
+@@ -1726,6 +1726,11 @@
+ setf hog
+ endfunc
+
++" FrugalBuild file
++au BufNewFile,BufRead FrugalBuild,*.install setf sh
++
++" README.Frugalware file
++au BufNewFile,BufRead README.Frugalware setf asciidoc
+
+ " Spec (Linux RPM)
+ au BufNewFile,BufRead *.spec setf spec
+diff -Naur vim71.orig/runtime/plugin/tarPlugin.vim
vim71/runtime/plugin/tarPlugin.vim
+--- vim71.orig/runtime/plugin/tarPlugin.vim 2006-09-29 22:04:39.000000000
+0200
++++ vim71/runtime/plugin/tarPlugin.vim 2007-09-11 23:26:22.000000000 +0200
+@@ -37,6 +37,8 @@
au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tar.gz call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tar.bz2 call tar#Browse(expand("<amatch>"))
@@ -84,3 +67,69 @@ diff -Naur a/runtime/plugin/tarPlugin.vim
b/runtime/plugin/tarPlugin.vim
au BufReadCmd *.tar.Z call tar#Browse(expand("<amatch>"))
au BufReadCmd *.tgz call tar#Browse(expand("<amatch>"))
augroup END
+diff -Naur vim71.orig/runtime/plugin/tarPlugin.vim.orig
vim71/runtime/plugin/tarPlugin.vim.orig
+--- vim71.orig/runtime/plugin/tarPlugin.vim.orig 1970-01-01
01:00:00.000000000 +0100
++++ vim71/runtime/plugin/tarPlugin.vim.orig 2006-09-29 22:04:39.000000000
+0200
+@@ -0,0 +1,48 @@
++" tarPlugin.vim -- a Vim plugin for browsing tarfiles
++" Original was copyright (c) 2002, Michael C. Toren <[EMAIL PROTECTED]>
++" Modified by Charles E. Campbell, Jr.
++" Distributed under the GNU General Public License.
++"
++" Updates are available from <http://michael.toren.net/code/>. If you
++" find this script useful, or have suggestions for improvements, please
++" let me know.
++" Also look there for further comments and documentation.
++"
++" This part only sets the autocommands. The functions are in
autoload/tar.vim.
++" ---------------------------------------------------------------------
++" Load Once: {{{1
++if &cp || exists("g:loaded_tarPlugin")
++ finish
++endif
++let g:loaded_tarPlugin = 1
++let s:keepcpo = &cpo
++set cpo&vim
++
++" ---------------------------------------------------------------------
++" Public Interface: {{{1
++augroup tar
++ au!
++ au BufReadCmd tarfile:* call tar#Read(expand("<amatch>"), 1)
++ au FileReadCmd tarfile:* call tar#Read(expand("<amatch>"), 0)
++ au BufWriteCmd tarfile:* call tar#Write(expand("<amatch>"))
++ au FileWriteCmd tarfile:* call tar#Write(expand("<amatch>"))
++
++ if has("unix")
++ au BufReadCmd tarfile:*/* call tar#Read(expand("<amatch>"), 1)
++ au FileReadCmd tarfile:*/* call tar#Read(expand("<amatch>"), 0)
++ au BufWriteCmd tarfile:*/* call tar#Write(expand("<amatch>"))
++ au FileWriteCmd tarfile:*/* call tar#Write(expand("<amatch>"))
++ endif
++
++ au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
++ au BufReadCmd *.tar.gz call tar#Browse(expand("<amatch>"))
++ au BufReadCmd *.tar.bz2 call tar#Browse(expand("<amatch>"))
++ au BufReadCmd *.tar.Z call tar#Browse(expand("<amatch>"))
++ au BufReadCmd *.tgz call tar#Browse(expand("<amatch>"))
++augroup END
++
++" ---------------------------------------------------------------------
++" Restoration And Modelines: {{{1
++" vim: fdm=marker
++let &cpo= s:keepcpo
++unlet s:keepcpo
+diff -Naur vim71.orig/runtime/syntax/sh.vim vim71/runtime/syntax/sh.vim
+--- vim71.orig/runtime/syntax/sh.vim 2007-05-07 22:12:00.000000000 +0200
++++ vim71/runtime/syntax/sh.vim 2007-09-11 23:46:48.000000000 +0200
+@@ -436,6 +436,10 @@
+ endif
+ endif
+
++" Useful FrugalBuild Keywords: {{{1
++" ===================
++syn keyword shStatement Fmessage Fdie Fcd Fmkdir Frm Fcp Fcpr Fmv Finstallrel
Finstall Fdirschmod Ffileschmod Fdirschown Ffileschown Fexe Fexerel Ffile
Ffilerel Fdoc Fdocrel Fln Fsed Fdeststrip Fpatch Fpatchall Fconf Fmake
Fmakeinstall Fbuild Frcd Frcd2 Facu Fsort Funpack_makeself Fautoconfize
Finclude Flasttar Flasttgz Flasttarbz2 Fsplit Fextract Fcprrel Fman Fmanrel
Ficon Ficonrel Fnant Fautoreconf Fdesktop Fdesktop2 Fwrapper Fmsgfmt
++
+ " Synchronization: {{{1
+ " ================
+ if !exists("sh_minlines")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git