Skip to content

Instantly share code, notes, and snippets.

@jyr
Forked from mgrouchy/vim.rb
Last active December 18, 2015 00:09
Show Gist options
  • Save jyr/5694271 to your computer and use it in GitHub Desktop.
Save jyr/5694271 to your computer and use it in GitHub Desktop.

Revisions

  1. jyr revised this gist Jun 2, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,6 +44,7 @@ def opt_val(opt)
    end

    system "./configure",
    "--enable-gui=yes",
    "--enable-gui=x11-clientserver",
    "--disable-nls",
    "--disable-gpm",
  2. jyr revised this gist Jun 2, 2013. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,8 +44,7 @@ def opt_val(opt)
    end

    system "./configure",
    "--enable-gui=auto",
    "--with-x",
    "--enable-gui=x11-clientserver",
    "--disable-nls",
    "--disable-gpm",
    "--disable-netbeans",
  3. jyr revised this gist Jun 2, 2013. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -45,6 +45,7 @@ def opt_val(opt)

    system "./configure",
    "--enable-gui=auto",
    "--with-x",
    "--disable-nls",
    "--disable-gpm",
    "--disable-netbeans",
  4. jyr revised this gist Jun 2, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ def opt_val(opt)
    end

    system "./configure",
    "--enable-gui=gtk2",
    "--enable-gui=auto",
    "--disable-nls",
    "--disable-gpm",
    "--disable-netbeans",
  5. jyr revised this gist Jun 2, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ def opt_val(opt)
    end

    system "./configure",
    "--enable-gui=auto",
    "--enable-gui=gtk2",
    "--disable-nls",
    "--disable-gpm",
    "--disable-netbeans",
  6. jyr revised this gist Jun 2, 2013. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -45,7 +45,6 @@ def opt_val(opt)

    system "./configure",
    "--enable-gui=auto",
    "--without-x",
    "--disable-nls",
    "--disable-gpm",
    "--disable-netbeans",
  7. jyr revised this gist Jun 2, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,7 @@ def opt_val(opt)
    end

    system "./configure",
    "--disable-gui",
    "--enable-gui=auto",
    "--without-x",
    "--disable-nls",
    "--disable-gpm",
  8. @mgrouchy mgrouchy revised this gist May 10, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -53,6 +53,7 @@ def opt_val(opt)
    "--disable-farsi",
    "--disable-cscope",
    "--disable-emacs_tags",
    "--disable-keymap",
    "--disable-langmap",
    "--enable-feature=browse",
    "--with-tlib=ncurses",
  9. @mgrouchy mgrouchy revised this gist May 10, 2012. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -53,7 +53,6 @@ def opt_val(opt)
    "--disable-farsi",
    "--disable-cscope",
    "--disable-emacs_tags",
    "--disable-keymap",
    "--disable-langmap",
    "--enable-feature=browse",
    "--with-tlib=ncurses",
  10. @mgrouchy mgrouchy revised this gist May 10, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => 'f1f6ac67acd8'
    version '7.3.462'
    url 'https://vim.googlecode.com/hg/', :revision => '6c318419e331'
    version '7.3.515'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  11. @mgrouchy mgrouchy revised this gist May 10, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -47,6 +47,7 @@ def opt_val(opt)
    "--disable-gui",
    "--without-x",
    "--disable-nls",
    "--disable-gpm",
    "--disable-netbeans",
    "--disable-arabic",
    "--disable-farsi",
  12. @mgrouchy mgrouchy revised this gist May 9, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ def interp; %w(lua mzscheme perl python python3 tcl ruby) end
    def options
    [
    ["--with-features=TYPE", "tiny, small, normal, big or huge (default: normal)"],
    ["--enable-interp=NAME,...", "lua, mzscheme, perl, python, python3, tcl and/or ruby"]
    ["--enable-interp=NAME,...", "lua, mzscheme, perl, python, python3, tcl and/or ruby (default:python,ruby)"]
    ]
    end

    @@ -28,7 +28,7 @@ def opt_val(opt)
    # }}}
    opts << "--with-features=#{feature}"

    interps = opt_val(ARGV.find {|s| s =~ /^--enable-interp=/ }) || ""
    interps = opt_val(ARGV.find {|s| s =~ /^--enable-interp=/ }) || "python,ruby"
    interps = interps.split(/,/)
    # For compatibility and convenience {{{
    interp.each do |i|
  13. @mgrouchy mgrouchy revised this gist Mar 16, 2012. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,6 @@ def opt_val(opt)
    system "./configure",
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
    "--disable-nls",
    "--disable-netbeans",
    "--disable-arabic",
  14. @mgrouchy mgrouchy revised this gist Mar 16, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -53,6 +53,8 @@ def opt_val(opt)
    "--disable-farsi",
    "--disable-cscope",
    "--disable-emacs_tags",
    "--disable-keymap",
    "--disable-langmap",
    "--enable-feature=browse",
    "--with-tlib=ncurses",
    "--enable-multibyte",
    @@ -61,4 +63,4 @@ def opt_val(opt)
    *opts
    system "make install"
    end
    end
    end
  15. @mgrouchy mgrouchy revised this gist Mar 16, 2012. 1 changed file with 0 additions and 8 deletions.
    8 changes: 0 additions & 8 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -53,14 +53,6 @@ def opt_val(opt)
    "--disable-farsi",
    "--disable-cscope",
    "--disable-emacs_tags",
    "--disable-keymap",
    "--disable-langmap",
    "--disable-rightleft",
    "--disable-signs",
    "--disable-mouse_dec",
    "--disable-mouse_netterm",
    "--disable-mouse_gpm",
    "--disable-mouse_xterm",
    "--enable-feature=browse",
    "--with-tlib=ncurses",
    "--enable-multibyte",
  16. Peter Aronoff revised this gist Mar 2, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => '749c0a60b745'
    version '7.3.364'
    url 'https://vim.googlecode.com/hg/', :revision => 'f1f6ac67acd8'
    version '7.3.462'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  17. Peter Aronoff revised this gist Dec 3, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => '5e84f6567623'
    version '7.3.322'
    url 'https://vim.googlecode.com/hg/', :revision => '749c0a60b745'
    version '7.3.364'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  18. Peter Aronoff revised this gist Sep 28, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => '15b934a16641'
    version '7.3.315'
    url 'https://vim.googlecode.com/hg/', :revision => '5e84f6567623'
    version '7.3.322'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  19. Peter Aronoff revised this gist Sep 16, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => 'ba9f075a347d'
    version '7.3.289'
    url 'https://vim.googlecode.com/hg/', :revision => '15b934a16641'
    version '7.3.315'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  20. Peter Aronoff revised this gist Aug 31, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => '7b50afd31037'
    version '7.3.285'
    url 'https://vim.googlecode.com/hg/', :revision => 'ba9f075a347d'
    version '7.3.289'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  21. Peter Aronoff revised this gist Aug 21, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => '124a81f12ca4'
    version '7.3.265'
    url 'https://vim.googlecode.com/hg/', :revision => '7b50afd31037'
    version '7.3.285'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  22. Peter Aronoff revised this gist Aug 4, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => 'd1842e5ea9b6'
    version '7.3.260'
    url 'https://vim.googlecode.com/hg/', :revision => '124a81f12ca4'
    version '7.3.265'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  23. Peter Aronoff revised this gist Jul 25, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    class Vim < Formula
    homepage 'http://www.vim.org/'
    url 'https://vim.googlecode.com/hg/', :revision => 'd1842e5ea9b6'
    version '7.3.244'
    version '7.3.260'

    def features; %w(tiny small normal big huge) end
    def interp; %w(lua mzscheme perl python python3 tcl ruby) end
  24. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 2 additions and 6 deletions.
    8 changes: 2 additions & 6 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,11 +44,6 @@ def opt_val(opt)
    end

    system "./configure",
    "--with-features=normal",
    "--enable-rubyinterp=yes",
    "--enable-perlinterp=yes",
    "--enable-conceal=yes",
    "--with-conceal",
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
    @@ -70,7 +65,8 @@ def opt_val(opt)
    "--with-tlib=ncurses",
    "--enable-multibyte",
    "--prefix=#{prefix}",
    "--mandir=#{man}"
    "--mandir=#{man}",
    *opts
    system "make install"
    end
    end
  25. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,9 +44,11 @@ def opt_val(opt)
    end

    system "./configure",
    "--with-features=big",
    "--enable-ruby=yes",
    "--enable-perl=yes",
    "--with-features=normal",
    "--enable-rubyinterp=yes",
    "--enable-perlinterp=yes",
    "--enable-conceal=yes",
    "--with-conceal",
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
  26. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 3 additions and 4 deletions.
    7 changes: 3 additions & 4 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -45,8 +45,8 @@ def opt_val(opt)

    system "./configure",
    "--with-features=big",
    "--enable-interp=ruby",
    "--enable-interp=perl",
    "--enable-ruby=yes",
    "--enable-perl=yes",
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
    @@ -68,8 +68,7 @@ def opt_val(opt)
    "--with-tlib=ncurses",
    "--enable-multibyte",
    "--prefix=#{prefix}",
    "--mandir=#{man}",
    *opts
    "--mandir=#{man}"
    system "make install"
    end
    end
  27. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,6 +44,9 @@ def opt_val(opt)
    end

    system "./configure",
    "--with-features=big",
    "--enable-interp=ruby",
    "--enable-interp=perl",
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
  28. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 12 additions and 1 deletion.
    13 changes: 12 additions & 1 deletion vim.rb
    Original file line number Diff line number Diff line change
    @@ -49,7 +49,18 @@ def opt_val(opt)
    "--disable-gpm",
    "--disable-nls",
    "--disable-netbeans",
    "--enable-feature=conceal",
    "--disable-arabic",
    "--disable-farsi",
    "--disable-cscope",
    "--disable-emacs_tags",
    "--disable-keymap",
    "--disable-langmap",
    "--disable-rightleft",
    "--disable-signs",
    "--disable-mouse_dec",
    "--disable-mouse_netterm",
    "--disable-mouse_gpm",
    "--disable-mouse_xterm",
    "--enable-feature=browse",
    "--with-tlib=ncurses",
    "--enable-multibyte",
  29. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,7 +44,6 @@ def opt_val(opt)
    end

    system "./configure",
    *opts,
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
    @@ -55,7 +54,8 @@ def opt_val(opt)
    "--with-tlib=ncurses",
    "--enable-multibyte",
    "--prefix=#{prefix}",
    "--mandir=#{man}"
    "--mandir=#{man}",
    *opts
    system "make install"
    end
    end
  30. Peter Aronoff revised this gist Jul 14, 2011. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions vim.rb
    Original file line number Diff line number Diff line change
    @@ -44,18 +44,18 @@ def opt_val(opt)
    end

    system "./configure",
    *opts,
    "--disable-gui",
    "--without-x",
    "--disable-gpm",
    "--disable-nls",
    "--disable-netbeans",
    "--enable-conceal",
    "--enable-browse",
    "--enable-feature=conceal",
    "--enable-feature=browse",
    "--with-tlib=ncurses",
    "--enable-multibyte",
    "--prefix=#{prefix}",
    "--mandir=#{man}",
    *opts
    "--mandir=#{man}"
    system "make install"
    end
    end