editors/kibi: Update to 0.2.1

ChangeLog: https://github.com/ilai-deutel/kibi/releases/v0.2.1

PR:	250181
Submitted by:	vulcan@wired.sh (maintainer)
This commit is contained in:
Fernando Apesteguía 2020-10-07 13:46:22 +00:00
parent 680a711d05
commit 14f7e5c0e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551640
4 changed files with 39 additions and 46 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= kibi
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
DISTVERSION= 0.2.1
CATEGORIES= editors
MAINTAINER= vulcan@wired.sh
@ -14,21 +14,19 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= ilai-deutel
CARGO_CRATES= arc-swap-0.4.6 \
bitflags-1.2.1 \
cc-1.0.52 \
CARGO_CRATES= bitflags-1.2.1 \
cfg-if-0.1.10 \
cloudabi-0.0.3 \
getrandom-0.1.14 \
lazy_static-1.4.0 \
libc-0.2.69 \
libc-0.2.79 \
lock_api-0.3.4 \
nix-0.17.0 \
parking_lot-0.10.2 \
parking_lot_core-0.7.2 \
ppv-lite86-0.2.6 \
proc-macro2-1.0.10 \
quote-1.0.3 \
proc-macro2-1.0.12 \
quote-1.0.4 \
rand-0.7.3 \
rand_chacha-0.2.2 \
rand_core-0.5.1 \
@ -36,18 +34,15 @@ CARGO_CRATES= arc-swap-0.4.6 \
redox_syscall-0.1.56 \
remove_dir_all-0.5.2 \
scopeguard-1.1.0 \
serial_test-0.4.0 \
serial_test_derive-0.4.0 \
signal-hook-0.1.13 \
signal-hook-registry-1.2.0 \
serial_test-0.5.0 \
serial_test_derive-0.5.0 \
smallvec-1.4.0 \
syn-1.0.18 \
tempfile-3.1.0 \
unicode-width-0.1.7 \
unicode-width-0.1.8 \
unicode-xid-0.2.0 \
void-1.0.2 \
wasi-0.9.0+wasi-snapshot-preview1 \
winapi-0.3.8 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0

View File

@ -1,10 +1,6 @@
TIMESTAMP = 1589054553
SHA256 (rust/crates/arc-swap-0.4.6.tar.gz) = b585a98a234c46fc563103e9278c9391fde1f4e6850334da895d27edb9580f62
SIZE (rust/crates/arc-swap-0.4.6.tar.gz) = 48658
TIMESTAMP = 1602064189
SHA256 (rust/crates/bitflags-1.2.1.tar.gz) = cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693
SIZE (rust/crates/bitflags-1.2.1.tar.gz) = 16745
SHA256 (rust/crates/cc-1.0.52.tar.gz) = c3d87b23d6a92cd03af510a5ade527033f6aa6fa92161e2d5863a907d4c5e31d
SIZE (rust/crates/cc-1.0.52.tar.gz) = 51006
SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822
SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933
SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f
@ -13,22 +9,20 @@ SHA256 (rust/crates/getrandom-0.1.14.tar.gz) = 7abc8dd8451921606d809ba32e95b6111
SIZE (rust/crates/getrandom-0.1.14.tar.gz) = 24698
SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443
SHA256 (rust/crates/libc-0.2.69.tar.gz) = 99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005
SIZE (rust/crates/libc-0.2.69.tar.gz) = 472393
SHA256 (rust/crates/libc-0.2.79.tar.gz) = 2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743
SIZE (rust/crates/libc-0.2.79.tar.gz) = 511752
SHA256 (rust/crates/lock_api-0.3.4.tar.gz) = c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75
SIZE (rust/crates/lock_api-0.3.4.tar.gz) = 18750
SHA256 (rust/crates/nix-0.17.0.tar.gz) = 50e4785f2c3b7589a0d0c1dd60285e1188adac4006e8abd6dd578e1567027363
SIZE (rust/crates/nix-0.17.0.tar.gz) = 195654
SHA256 (rust/crates/parking_lot-0.10.2.tar.gz) = d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e
SIZE (rust/crates/parking_lot-0.10.2.tar.gz) = 39536
SHA256 (rust/crates/parking_lot_core-0.7.2.tar.gz) = d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3
SIZE (rust/crates/parking_lot_core-0.7.2.tar.gz) = 33875
SHA256 (rust/crates/ppv-lite86-0.2.6.tar.gz) = 74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b
SIZE (rust/crates/ppv-lite86-0.2.6.tar.gz) = 20522
SHA256 (rust/crates/proc-macro2-1.0.10.tar.gz) = df246d292ff63439fea9bc8c0a270bed0e390d5ebd4db4ba15aba81111b5abe3
SIZE (rust/crates/proc-macro2-1.0.10.tar.gz) = 35622
SHA256 (rust/crates/quote-1.0.3.tar.gz) = 2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f
SIZE (rust/crates/quote-1.0.3.tar.gz) = 22939
SHA256 (rust/crates/proc-macro2-1.0.12.tar.gz) = 8872cf6f48eee44265156c111456a700ab3483686b3f96df4cf5481c89157319
SIZE (rust/crates/proc-macro2-1.0.12.tar.gz) = 35819
SHA256 (rust/crates/quote-1.0.4.tar.gz) = 4c1f4b0efa5fc5e8ceb705136bfee52cfdb6a4e3509f770b478cd6ed434232a7
SIZE (rust/crates/quote-1.0.4.tar.gz) = 22965
SHA256 (rust/crates/rand-0.7.3.tar.gz) = 6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03
SIZE (rust/crates/rand-0.7.3.tar.gz) = 112246
SHA256 (rust/crates/rand_chacha-0.2.2.tar.gz) = f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402
@ -43,35 +37,29 @@ SHA256 (rust/crates/remove_dir_all-0.5.2.tar.gz) = 4a83fa3702a688b9359eccba92d15
SIZE (rust/crates/remove_dir_all-0.5.2.tar.gz) = 8907
SHA256 (rust/crates/scopeguard-1.1.0.tar.gz) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
SIZE (rust/crates/scopeguard-1.1.0.tar.gz) = 11470
SHA256 (rust/crates/serial_test-0.4.0.tar.gz) = fef5f7c7434b2f2c598adc6f9494648a1e41274a75c0ba4056f680ae0c117fd6
SIZE (rust/crates/serial_test-0.4.0.tar.gz) = 2283
SHA256 (rust/crates/serial_test_derive-0.4.0.tar.gz) = d08338d8024b227c62bd68a12c7c9883f5c66780abaef15c550dc56f46ee6515
SIZE (rust/crates/serial_test_derive-0.4.0.tar.gz) = 2789
SHA256 (rust/crates/signal-hook-0.1.13.tar.gz) = 10b9f3a1686a29f53cfd91ee5e3db3c12313ec02d33765f02c1a9645a1811e2c
SIZE (rust/crates/signal-hook-0.1.13.tar.gz) = 26045
SHA256 (rust/crates/signal-hook-registry-1.2.0.tar.gz) = 94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41
SIZE (rust/crates/signal-hook-registry-1.2.0.tar.gz) = 14490
SHA256 (rust/crates/serial_test-0.5.0.tar.gz) = 1b15f74add9a9d4a3eb2bf739c9a427d266d3895b53d992c3a7c234fec2ff1f1
SIZE (rust/crates/serial_test-0.5.0.tar.gz) = 2305
SHA256 (rust/crates/serial_test_derive-0.5.0.tar.gz) = 65f59259be9fc1bf677d06cc1456e97756004a1a5a577480f71430bd7c17ba33
SIZE (rust/crates/serial_test_derive-0.5.0.tar.gz) = 2899
SHA256 (rust/crates/smallvec-1.4.0.tar.gz) = c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4
SIZE (rust/crates/smallvec-1.4.0.tar.gz) = 24645
SHA256 (rust/crates/syn-1.0.18.tar.gz) = 410a7488c0a728c7ceb4ad59b9567eb4053d02e8cc7f5c0e0eeeb39518369213
SIZE (rust/crates/syn-1.0.18.tar.gz) = 198434
SHA256 (rust/crates/tempfile-3.1.0.tar.gz) = 7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9
SIZE (rust/crates/tempfile-3.1.0.tar.gz) = 25823
SHA256 (rust/crates/unicode-width-0.1.7.tar.gz) = caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479
SIZE (rust/crates/unicode-width-0.1.7.tar.gz) = 16644
SHA256 (rust/crates/unicode-width-0.1.8.tar.gz) = 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3
SIZE (rust/crates/unicode-width-0.1.8.tar.gz) = 16732
SHA256 (rust/crates/unicode-xid-0.2.0.tar.gz) = 826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c
SIZE (rust/crates/unicode-xid-0.2.0.tar.gz) = 14994
SHA256 (rust/crates/void-1.0.2.tar.gz) = 6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d
SIZE (rust/crates/void-1.0.2.tar.gz) = 2356
SHA256 (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz) = cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519
SIZE (rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz) = 31521
SHA256 (rust/crates/winapi-0.3.8.tar.gz) = 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6
SIZE (rust/crates/winapi-0.3.8.tar.gz) = 1128308
SHA256 (rust/crates/winapi-0.3.9.tar.gz) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
SIZE (rust/crates/winapi-0.3.9.tar.gz) = 1200382
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
SHA256 (rust/crates/winapi-util-0.1.5.tar.gz) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178
SIZE (rust/crates/winapi-util-0.1.5.tar.gz) = 10164
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
SHA256 (ilai-deutel-kibi-v0.2.0_GH0.tar.gz) = 7af69657ce50816e45e9111138cf9e050f74289bba3ceaa2a52e4715951c8885
SIZE (ilai-deutel-kibi-v0.2.0_GH0.tar.gz) = 35260
SHA256 (ilai-deutel-kibi-v0.2.1_GH0.tar.gz) = f6171a2c1be66aa52814b736d6c06ad9ad50b71869e4447196e16ecf951eb494
SIZE (ilai-deutel-kibi-v0.2.1_GH0.tar.gz) = 36709

View File

@ -1,6 +1,6 @@
--- src/unix.rs.orig 2020-04-24 08:39:34 UTC
--- src/unix.rs.orig 2020-10-06 00:22:27 UTC
+++ src/unix.rs
@@ -39,7 +39,7 @@ fn xdg_dirs(xdg_type: &str, def_home_suffix: &str, def
@@ -45,7 +45,7 @@ fn xdg_dirs(xdg_type: &str, def_home_suffix: &str, def
}
/// Return configuration directories for UNIX systems
@ -9,3 +9,12 @@
/// Return syntax directories for UNIX systems
pub fn data_dirs() -> Vec<String> {
@@ -59,7 +59,7 @@ pub fn data_dirs() -> Vec<String> {
/// This ioctl is described here: <http://man7.org/linux/man-pages/man4/tty_ioctl.4.html>
pub fn get_window_size() -> Result<(usize, usize), Error> {
let mut maybe_ws = std::mem::MaybeUninit::<winsize>::uninit();
- cerr(unsafe { libc::ioctl(STDOUT_FILENO, TIOCGWINSZ, maybe_ws.as_mut_ptr()) })
+ cerr(unsafe { libc::ioctl(STDOUT_FILENO, TIOCGWINSZ.into(), maybe_ws.as_mut_ptr()) })
.map_or(None, |_| unsafe { Some(maybe_ws.assume_init()) })
.filter(|ws| ws.ws_col != 0 && ws.ws_row != 0)
.map_or(Err(Error::InvalidWindowSize), |ws| Ok((ws.ws_row as usize, ws.ws_col as usize)))

View File

@ -2,6 +2,7 @@ bin/kibi
%%SYNTAX%%%%DATADIR%%/syntax.d/bash.ini
%%SYNTAX%%%%DATADIR%%/syntax.d/gitignore.ini
%%SYNTAX%%%%DATADIR%%/syntax.d/ini.ini
%%SYNTAX%%%%DATADIR%%/syntax.d/json.ini
%%SYNTAX%%%%DATADIR%%/syntax.d/python.ini
%%SYNTAX%%%%DATADIR%%/syntax.d/rust.ini
%%SYNTAX%%%%DATADIR%%/syntax.d/toml.ini