Skip to content

Commit

Permalink
bootstrap: add vim
Browse files Browse the repository at this point in the history
Signed-off-by: Anhad Singh <[email protected]>
  • Loading branch information
Andy-Python-Programmer committed Aug 4, 2023
1 parent f95a61f commit 2adc7ac
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ imports:
- file: bootstrap/net.yml
- file: bootstrap/vcs.yml
- file: bootstrap/db.yml
- file: bootstrap/editors.yml

general:
cargo:
Expand Down
60 changes: 60 additions & 0 deletions bootstrap/editors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
packages:
- name: vim
source:
subdir: 'bundled'
git: 'https://github.com/vim/vim.git'
tag: 'v8.2.3704'
version: '8.2.3704'
tools_required:
- host-gcc
- host-pkg-config
- host-automake-v1.16
pkgs_required:
- mlibc
- ncurses
- libiconv
revision: 4
configure:
# vim does not seem to support out-of-tree builds, so we just copy
# the source tree into the build directory instead
- args: ['cp', '-r', '@THIS_SOURCE_DIR@/.', '@THIS_BUILD_DIR@']
- args:
- './configure'
- '--host=x86_64-aero'
- '--prefix=/usr'
- '--disable-gtktest'
- '--disable-icon-cache-update'
- '--disable-desktop-database-update'
- '--disable-canberra'
- '--disable-selinux'
- '--disable-xsmp'
- '--disable-channel'
- '--disable-netbeans'
- '--enable-multibyte'
- '--disable-acl'
- '--disable-gpm'
- '--disable-sysmouse'
- '--disable-nls'
- '--with-tlib=tinfo'
- '--enable-gui=no'
- '--without-x'
environ:
ac_cv_small_wchar_t: 'no'
ac_cv_func_sigsetjmp: 'no'
vim_cv_toupper_broken: 'no'
vim_cv_terminfo: 'yes'
vim_cv_tgetent: 'zero'
vim_cv_tty_group: ''
vim_cv_tty_mode: '0620'
vim_cv_getcwd_broken: 'no'
vim_cv_stat_ignores_slash: 'no'
vim_cv_memmove_handles_overlap: 'yes'
vim_cv_bcopy_handles_overlap: 'yes'
vim_cv_memcpy_handles_overlap: 'yes'
STRIP: 'x86_64-aero-strip'
workdir: '@THIS_BUILD_DIR@/src/'
build:
- args: ['make', '-j@PARALLELISM@']
- args: ['make', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

0 comments on commit 2adc7ac

Please sign in to comment.