mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 19:55:53 +03:00
vere: removes ncurses dependency
This commit is contained in:
parent
6ea2acea86
commit
8fac63661f
@ -10,7 +10,7 @@ let
|
||||
|
||||
libs =
|
||||
with pkgs;
|
||||
[ openssl zlib curl gmp scrypt libsigsegv ncurses openssl zlib lmdb ];
|
||||
[ openssl zlib curl gmp scrypt libsigsegv openssl zlib lmdb ];
|
||||
|
||||
osx =
|
||||
with pkgs;
|
||||
|
@ -18,7 +18,7 @@ let
|
||||
|
||||
deps =
|
||||
with pkgs;
|
||||
[ curl gmp libsigsegv ncurses openssl zlib lmdb ];
|
||||
[ curl gmp libsigsegv openssl zlib lmdb ];
|
||||
|
||||
vendor =
|
||||
[ argon2 softfloat3 ed25519 ent ge-additions libaes_siv h2o scrypt uv murmur3 secp256k1 sni ivory-header ca-header ];
|
||||
|
@ -12,7 +12,7 @@ let
|
||||
|
||||
crossdeps =
|
||||
with env;
|
||||
[ curl libgmp libsigsegv ncurses openssl zlib lmdb ];
|
||||
[ curl libgmp libsigsegv openssl zlib lmdb ];
|
||||
|
||||
vendor =
|
||||
with deps;
|
||||
@ -27,7 +27,6 @@ env.make_derivation {
|
||||
MEMORY_DEBUG = debug;
|
||||
CPU_DEBUG = debug;
|
||||
EVENT_TIME_DEBUG = false;
|
||||
NCURSES = env.ncurses;
|
||||
|
||||
name = "${name}-${env_name}";
|
||||
exename = name;
|
||||
|
@ -17,6 +17,5 @@ bash ./configure
|
||||
make build/urbit build/urbit-worker -j8
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp -r $NCURSES/share/terminfo $out/bin/$exename-terminfo
|
||||
cp ./build/urbit $out/bin/$exename
|
||||
cp ./build/urbit-worker $out/bin/$exename-worker
|
||||
|
@ -33,7 +33,7 @@ let
|
||||
|
||||
builds-for-platform = plat:
|
||||
plat.deps // {
|
||||
inherit (plat.env) curl libgmp libsigsegv ncurses openssl zlib lmdb;
|
||||
inherit (plat.env) curl libgmp libsigsegv openssl zlib lmdb;
|
||||
inherit (plat.env) cmake_toolchain;
|
||||
ent = ent plat;
|
||||
ge-additions = ge-additions plat;
|
||||
|
2
pkg/urbit/configure
vendored
2
pkg/urbit/configure
vendored
@ -6,7 +6,7 @@ URBIT_VERSION="0.10.5"
|
||||
|
||||
deps=" \
|
||||
curl gmp sigsegv argon2 ed25519 ent h2o scrypt sni uv murmur3 secp256k1 \
|
||||
softfloat3 ncurses ssl crypto z lmdb ge-additions aes_siv \
|
||||
softfloat3 ssl crypto z lmdb ge-additions aes_siv \
|
||||
"
|
||||
|
||||
headers=" \
|
||||
|
@ -9,9 +9,7 @@
|
||||
#include <uv.h>
|
||||
#include <sigsegv.h>
|
||||
#include <stdlib.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <dirent.h>
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/engine.h>
|
||||
@ -451,7 +449,6 @@ report(void)
|
||||
(libsigsegv_version >> 8) & 0xff,
|
||||
libsigsegv_version & 0xff);
|
||||
printf("openssl: %s\n", SSLeay_version(SSLEAY_VERSION));
|
||||
printf("curses: %s\n", curses_version());
|
||||
printf("libuv: %s\n", uv_version_string());
|
||||
printf("libh2o: %d.%d.%d\n",
|
||||
H2O_LIBRARY_VERSION_MAJOR,
|
||||
@ -603,12 +600,6 @@ main(c3_i argc,
|
||||
u3_Host.wrk_c = c3_malloc(worker_exe_len);
|
||||
snprintf(u3_Host.wrk_c, worker_exe_len, "%s-worker", argv[0]);
|
||||
|
||||
// Set TERMINFO_DIRS environment variable
|
||||
c3_i terminfo_len = 1 + strlen(argv[0]) + strlen("-terminfo");
|
||||
c3_c terminfo_dir[terminfo_len];
|
||||
snprintf(terminfo_dir, terminfo_len, "%s-terminfo", argv[0]);
|
||||
setenv("TERMINFO_DIRS", terminfo_dir, 1);
|
||||
|
||||
if ( c3y == u3_Host.ops_u.dem ) {
|
||||
_fork_into_background_process();
|
||||
}
|
||||
|
@ -9,9 +9,6 @@
|
||||
#include <netdb.h>
|
||||
#include <uv.h>
|
||||
#include <errno.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
|
||||
#include "all.h"
|
||||
#include "vere/vere.h"
|
||||
|
@ -6,9 +6,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <uv.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "all.h"
|
||||
|
@ -16,8 +16,6 @@
|
||||
#include <dirent.h>
|
||||
#include <stdint.h>
|
||||
#include <uv.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <errno.h>
|
||||
#include <libgen.h>
|
||||
#include <ftw.h>
|
||||
|
@ -6,9 +6,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <uv.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "all.h"
|
||||
|
@ -6,9 +6,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <uv.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "all.h"
|
||||
|
@ -24,9 +24,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <uv.h>
|
||||
#include <errno.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
|
||||
#include "all.h"
|
||||
#include "vere/vere.h"
|
||||
|
@ -8,9 +8,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <uv.h>
|
||||
#include <errno.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
|
||||
#include "all.h"
|
||||
#include "vere/vere.h"
|
||||
|
@ -6,9 +6,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <uv.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
|
||||
#include "all.h"
|
||||
#include "vere/vere.h"
|
||||
|
@ -7,8 +7,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <uv.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <errno.h>
|
||||
#include <libgen.h>
|
||||
#include <ftw.h>
|
||||
|
@ -6,9 +6,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <uv.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "all.h"
|
||||
|
@ -15,9 +15,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <uv.h>
|
||||
#include <errno.h>
|
||||
#include <ncurses/curses.h>
|
||||
#include <termios.h>
|
||||
#include <ncurses/term.h>
|
||||
|
||||
#include "all.h"
|
||||
#include <vere/vere.h>
|
||||
|
Loading…
Reference in New Issue
Block a user