1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Next generation Vim
8 HOMEPAGE= http://neovim.org/
12 SITES[main]= GITHUB/neovim:neovim:v0.4.4
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= gperf:primary:standard
24 lua-bitop:single:lua52
25 lua-mpack:single:lua52
26 BUILDRUN_DEPENDS= msgpack:single:standard
27 libtermkey:single:standard
28 libvterm:single:standard
30 libluv:single:standard
32 USES= cmake gmake libtool pkgconfig lua:5.2 gettext-tools
33 gettext-runtime desktop-utils:primary
35 LICENSE= APACHE20:primary CUSTOM1:primary
36 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
37 LICENSE_NAME= CUSTOM1:"VIM license"
38 LICENSE_FILE= APACHE20:{{WRKDIR}}/LICENSE_APACHE
39 CUSTOM1:{{WRKDIR}}/LICENSE_VIM
42 FPC_EQUIVALENT= editors/neovim
44 INSTALL_REQ_TOOLCHAIN= yes
46 CMAKE_ARGS= -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES
47 -DDEPS_PREFIX:PATH="{{LOCALBASE}}"
48 -DLUA_PRG:FILEPATH="{{LOCALBASE}}/bin/{{LUA_CMD}}"
50 -DENABLE_JEMALLOC:BOOL=NO
53 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nvim
56 ${AWK} '/Apache License/,/^====$$/' \
57 ${WRKSRC}/LICENSE > ${WRKDIR}/LICENSE_APACHE
58 ${AWK} '/^VIM LICENSE/,/at your option/' \
59 ${WRKSRC}/LICENSE > ${WRKDIR}/LICENSE_VIM
60 ${AWK} '/^====/{exit}; {print}' \
61 ${WRKSRC}/LICENSE > ${WRKDIR}/TERMS
62 echo "[See APACHE20.standard file]" >> ${WRKDIR}/TERMS
63 echo >> ${WRKDIR}/TERMS
64 ${AWK} '/^The above license/,/^The Vim license follows/' \
65 ${WRKSRC}/LICENSE >> ${WRKDIR}/TERMS
66 echo "[See CUSTOM1.standard file]" >> ${WRKDIR}/TERMS
69 ${REINPLACE_CMD} -e 's|STR(|STR_(|g' \
70 ${WRKSRC}/src/nvim/eval/typval_encode.c.h \
71 ${WRKSRC}/src/nvim/version.c
72 ${REINPLACE_CMD} -e 's|util||' \
73 ${WRKSRC}/src/nvim/CMakeLists.txt
75 [FILE:395:descriptions/desc.primary]
76 Neovim is a refactor, and sometimes redactor, in the tradition of Vim
77 (which itself derives from Stevie). It is not a rewrite but a continuation
78 and extension of Vim. Many clones and derivatives exist, some very
79 clever -- but none are Vim.
81 Neovim strives to be a superset of Vim except for some intentionally
82 removed misfeatures. It is built for users who want the good parts of
87 2f76aac59363677f37592e853ab2c06151cca8830d4b3fe4675b4a52d41fc42c 9558246 neovim-neovim-0.4.4.tar.gz
90 [FILE:18253:manifests/plist.primary]
92 share/applications/nvim.desktop
93 share/man/man1/nvim.1.gz
111 share/nvim/runtime/autoload/
126 javascriptcomplete.vim
130 netrwFileHandlers.vim
152 share/nvim/runtime/autoload/dist/ft.vim
153 share/nvim/runtime/autoload/health/
156 share/nvim/runtime/autoload/provider/
164 share/nvim/runtime/autoload/remote/
167 share/nvim/runtime/autoload/xml/
181 share/nvim/runtime/colors/
200 share/nvim/runtime/compiler/
266 share/nvim/runtime/doc/
307 nvim_terminal_emulator.txt
379 share/nvim/runtime/ftplugin/
603 share/nvim/runtime/indent/
731 share/nvim/runtime/keymap/
735 armenian-eastern_utf-8.vim
736 armenian-western_utf-8.vim
737 belarusian-jcuken.vim
739 bulgarian-phonetic.vim
743 croatian_iso-8859-2.vim
757 hebrew_iso-8859-8.vim
761 hebrewp_iso-8859-8.vim
765 lithuanian-baltic.vim
768 oldturkic-orkhon_utf-8.vim
769 oldturkic-yenisei_utf-8.vim
770 persian-iranian_utf-8.vim
774 polish-slash_cp1250.vim
775 polish-slash_cp852.vim
776 polish-slash_iso-8859-2.vim
777 polish-slash_utf-8.vim
780 russian-jcukenmac.vim
781 russian-jcukenwin.vim
784 serbian-latin_utf-8.vim
788 serbian_iso-8859-2.vim
789 serbian_iso-8859-5.vim
791 sinhala-phonetic_utf-8.vim
795 slovak_iso-8859-2.vim
798 thaana-phonetic_utf-8.vim
802 vietnamese-telex_utf-8.vim
803 vietnamese-viqr_utf-8.vim
804 vietnamese-vni_utf-8.vim
805 share/nvim/runtime/lua/man.lua
806 share/nvim/runtime/lua/vim/
810 share/nvim/runtime/macros/
819 share/nvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.vim
820 share/nvim/runtime/pack/dist/opt/justify/plugin/justify.vim
821 share/nvim/runtime/pack/dist/opt/matchit/autoload/matchit.vim
822 share/nvim/runtime/pack/dist/opt/matchit/doc/
825 share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim
826 share/nvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim
827 share/nvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim
828 share/nvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
829 share/nvim/runtime/pack/dist/opt/vimball/autoload/vimball.vim
830 share/nvim/runtime/pack/dist/opt/vimball/doc/
833 share/nvim/runtime/pack/dist/opt/vimball/plugin/vimballPlugin.vim
834 share/nvim/runtime/plugin/
848 share/nvim/runtime/print/
880 share/nvim/runtime/spell/en.utf-8.spl
881 share/nvim/runtime/syntax/
988 cyn%%LUA_LIBDIR%%.vim
1438 upstreaminstalllog.vim
1492 share/nvim/runtime/syntax/vim/generated.vim
1493 share/nvim/runtime/tools/check_colors.vim
1494 share/nvim/runtime/tutor/
1497 share/nvim/runtime/tutor/en/
1498 vim-01-beginner.tutor
1499 vim-01-beginner.tutor.json
1500 share/pixmaps/nvim.png
1503 [FILE:1101:manifests/plist.nls]
1504 share/locale/af/LC_MESSAGES/nvim.mo
1505 share/locale/ca/LC_MESSAGES/nvim.mo
1506 share/locale/cs.cp1250/LC_MESSAGES/nvim.mo
1507 share/locale/cs/LC_MESSAGES/nvim.mo
1508 share/locale/da/LC_MESSAGES/nvim.mo
1509 share/locale/de/LC_MESSAGES/nvim.mo
1510 share/locale/en_GB/LC_MESSAGES/nvim.mo
1511 share/locale/eo/LC_MESSAGES/nvim.mo
1512 share/locale/es/LC_MESSAGES/nvim.mo
1513 share/locale/fi/LC_MESSAGES/nvim.mo
1514 share/locale/fr/LC_MESSAGES/nvim.mo
1515 share/locale/ga/LC_MESSAGES/nvim.mo
1516 share/locale/it/LC_MESSAGES/nvim.mo
1517 share/locale/ja.euc-jp/LC_MESSAGES/nvim.mo
1518 share/locale/ja/LC_MESSAGES/nvim.mo
1519 share/locale/ko.UTF-8/LC_MESSAGES/nvim.mo
1520 share/locale/nb/LC_MESSAGES/nvim.mo
1521 share/locale/nl/LC_MESSAGES/nvim.mo
1522 share/locale/no/LC_MESSAGES/nvim.mo
1523 share/locale/pl.UTF-8/LC_MESSAGES/nvim.mo
1524 share/locale/pt_BR/LC_MESSAGES/nvim.mo
1525 share/locale/ru/LC_MESSAGES/nvim.mo
1526 share/locale/sk.cp1250/LC_MESSAGES/nvim.mo
1527 share/locale/sk/LC_MESSAGES/nvim.mo
1528 share/locale/sv/LC_MESSAGES/nvim.mo
1529 share/locale/uk/LC_MESSAGES/nvim.mo
1530 share/locale/vi/LC_MESSAGES/nvim.mo
1531 share/locale/zh_CN.UTF-8/LC_MESSAGES/nvim.mo
1532 share/locale/zh_TW.UTF-8/LC_MESSAGES/nvim.mo
1535 [FILE:1085:patches/patch-CMakeLists.txt]
1536 --- CMakeLists.txt.orig 2020-08-05 00:07:48 UTC
1538 @@ -302,18 +302,6 @@ if(HAS_WVLA_FLAG)
1539 add_compile_options(-Wvla)
1543 - # -fstack-protector breaks non Unix builds even in Mingw-w64
1544 - check_c_compiler_flag(-fstack-protector-strong HAS_FSTACK_PROTECTOR_STRONG_FLAG)
1545 - check_c_compiler_flag(-fstack-protector HAS_FSTACK_PROTECTOR_FLAG)
1547 - if(HAS_FSTACK_PROTECTOR_STRONG_FLAG)
1548 - add_compile_options(-fstack-protector-strong)
1549 - elseif(HAS_FSTACK_PROTECTOR_FLAG)
1550 - add_compile_options(-fstack-protector --param ssp-buffer-size=4)
1554 check_c_compiler_flag(-fno-common HAVE_FNO_COMMON)
1555 if (HAVE_FNO_COMMON)
1556 add_compile_options(-fno-common)
1557 @@ -345,7 +333,7 @@ add_definitions(-DINCLUDE_GENERATED_DECL
1559 if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
1560 if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
1561 - set(NO_UNDEFINED "-Wl,--no-undefined -lsocket")
1562 + set(NO_UNDEFINED "-lsocket")
1563 elseif(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin")
1564 set(NO_UNDEFINED "-Wl,--no-undefined")
1568 [FILE:275:patches/patch-src_nvim_macros.h]
1569 --- src/nvim/macros.h.orig 2020-08-05 00:07:48 UTC
1570 +++ src/nvim/macros.h
1572 #define RGB_(r, g, b) ((r << 16) | (g << 8) | b)
1576 #define STR(x) STR_(x)
1579 #ifndef __has_attribute
1580 # define NVIM_HAS_ATTRIBUTE(x) 0
1583 [FILE:279:patches/patch-src_nvim_os_os__defs.h]
1584 --- src/nvim/os/os_defs.h.orig 2020-08-05 00:07:48 UTC
1585 +++ src/nvim/os/os_defs.h
1587 # include "nvim/os/unix_defs.h"
1591 +#define NAME_MAX 255
1594 #define BASENAMELEN (NAME_MAX - 5)
1596 // Use the system path length if it makes sense.
1599 [FILE:819:patches/patch-src_nvim_os_process.c]
1600 --- src/nvim/os/process.c.orig 2020-08-05 00:07:48 UTC
1601 +++ src/nvim/os/process.c
1603 # include <tlhelp32.h> // for CreateToolhelp32Snapshot
1606 -#if defined(__FreeBSD__) // XXX: OpenBSD ?
1607 +#if defined(__FreeBSD__) || defined(__DragonFly__)
1608 # include <string.h>
1609 # include <sys/types.h>
1610 # include <sys/user.h>
1613 -#if defined(__NetBSD__) || defined(__OpenBSD__)
1614 +#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
1615 # include <sys/param.h>
1618 @@ -146,6 +146,9 @@ int os_proc_children(int ppid, int **pro
1619 # elif defined(__FreeBSD__)
1620 # define KP_PID(o) o.ki_pid
1621 # define KP_PPID(o) o.ki_ppid
1622 +# elif defined(__DragonFly__)
1623 +# define KP_PID(o) o.kp_pid
1624 +# define KP_PPID(o) o.kp_ppid
1626 # define KP_PID(o) o.p_pid
1627 # define KP_PPID(o) o.p_ppid
1630 [FILE:1739:patches/patch-src_nvim_os_pty__process__unix.c]
1631 --- src/nvim/os/pty_process_unix.c.orig 2020-08-05 00:07:48 UTC
1632 +++ src/nvim/os/pty_process_unix.c
1634 # include <libutil.h>
1635 #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
1637 +#elif defined __sun__
1639 +#include <strings.h>
1640 +#include <unistd.h>
1641 +#include <stropts.h>
1642 +#include <nvim/log.h>
1645 +cfsetspeed(struct termios *t, speed_t speed) {
1646 + cfsetispeed(t, speed);
1647 + cfsetospeed(t, speed);
1652 +forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
1658 + if ((*master = open("/dev/ptmx", O_RDWR|O_NOCTTY)) == -1)
1660 + if (grantpt(*master) != 0)
1662 + if (unlockpt(*master) != 0)
1665 + if ((path = ptsname(*master)) == NULL)
1668 + strlcpy(name, path, _SC_TTY_NAME_MAX);
1669 + if ((slave = open(path, O_RDWR|O_NOCTTY)) == -1)
1672 + switch (pid = fork()) {
1679 + if (ioctl(slave, TIOCSCTTY, NULL) == -1)
1680 + ELOG("ioctl failed");
1681 + if (ioctl(slave, I_PUSH, "ptem") == -1)
1682 + ELOG("ioctl failed");
1683 + if (ioctl(slave, I_PUSH, "ldterm") == -1)
1684 + ELOG("ioctl failed");
1686 + if (tio != NULL && tcsetattr(slave, TCSAFLUSH, tio) == -1)
1687 + ELOG("tcsetattr failed");
1688 + if (ioctl(slave, TIOCSWINSZ, ws) == -1)
1689 + ELOG("ioctl failed");
1703 + if (*master != -1)