* [PR PATCH] mosh: update to 1.4.0.
@ 2022-10-28 19:05 leahneukirchen
2022-11-01 9:37 ` [PR PATCH] [Merged]: " Piraty
0 siblings, 1 reply; 2+ messages in thread
From: leahneukirchen @ 2022-10-28 19:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
There is a new pull request by leahneukirchen against master on the void-packages repository
https://github.com/leahneukirchen/void-packages mosh14
https://github.com/void-linux/void-packages/pull/40207
mosh: update to 1.4.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/40207.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mosh14-40207.patch --]
[-- Type: text/x-diff, Size: 3173 bytes --]
From e24322d84dc6fb6e782f784e42470831606604d8 Mon Sep 17 00:00:00 2001
From: Leah Neukirchen <leah@vuxu.org>
Date: Mon, 8 Aug 2022 13:01:53 +0200
Subject: [PATCH] mosh: update to 1.4.0.
---
.../fix-memory-blowup-on-large-paste.patch | 35 -------------------
srcpkgs/mosh/template | 10 +++---
2 files changed, 5 insertions(+), 40 deletions(-)
delete mode 100644 srcpkgs/mosh/patches/fix-memory-blowup-on-large-paste.patch
diff --git a/srcpkgs/mosh/patches/fix-memory-blowup-on-large-paste.patch b/srcpkgs/mosh/patches/fix-memory-blowup-on-large-paste.patch
deleted file mode 100644
index efe3fd806969..000000000000
--- a/srcpkgs/mosh/patches/fix-memory-blowup-on-large-paste.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 91de8901f5da04bc2abba3242164b0a330764d49 Mon Sep 17 00:00:00 2001
-From: John Hood <cgull@glup.org>
-Date: Sat, 6 May 2017 23:28:29 -0400
-Subject: [PATCH] Don't do prediction on large pastes into mosh-client.
-
-Fixes #482, memory use blowup on large pastes. mosh is still pretty slow
-about copying pastes through, though.
----
- src/frontend/stmclient.cc | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git src/frontend/stmclient.cc src/frontend/stmclient.cc
-index 7eff0af3..450d068a 100644
---- a/src/frontend/stmclient.cc
-+++ b/src/frontend/stmclient.cc
-@@ -318,10 +318,18 @@ bool STMClient::process_user_input( int fd )
- if ( !network->shutdown_in_progress() ) {
- overlays.get_prediction_engine().set_local_frame_sent( network->get_sent_state_last() );
-
-+ /* Don't predict for bulk data. */
-+ bool paste = bytes_read > 100;
-+ if ( paste ) {
-+ overlays.get_prediction_engine().reset();
-+ }
-+
- for ( int i = 0; i < bytes_read; i++ ) {
- char the_byte = buf[ i ];
-
-- overlays.get_prediction_engine().new_user_byte( the_byte, local_framebuffer );
-+ if ( !paste ) {
-+ overlays.get_prediction_engine().new_user_byte( the_byte, local_framebuffer );
-+ }
-
- if ( quit_sequence_started ) {
- if ( the_byte == '.' ) { /* Quit sequence is Ctrl-^ . */
diff --git a/srcpkgs/mosh/template b/srcpkgs/mosh/template
index cb256903080b..c15e95bb2c30 100644
--- a/srcpkgs/mosh/template
+++ b/srcpkgs/mosh/template
@@ -1,17 +1,17 @@
# Template file for 'mosh'
pkgname=mosh
-version=1.3.2
-revision=26
+version=1.4.0
+revision=1
build_style=gnu-configure
-hostmakedepends="pkg-config protobuf"
+hostmakedepends="perl pkg-config protobuf"
makedepends="ncurses-devel protobuf-devel libutempter-devel openssl-devel"
depends="perl-IO-Tty"
short_desc="Mobile shell, remote terminal application that allows roaming"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://mosh.org/"
-distfiles="https://mosh.org/mosh-${version}.tar.gz"
-checksum=da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216
+distfiles="https://github.com/mobile-shell/mosh/releases/download/mosh-${version}/mosh-${version}.tar.gz"
+checksum=d93ec9b2b0a012f59c4b8d5902b8a70b45db01e32c7c1ef7e5acd84ecebbb95f
pre_configure() {
# make local.test always succeed. It fails due to missing X server in chroot.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: mosh: update to 1.4.0.
2022-10-28 19:05 [PR PATCH] mosh: update to 1.4.0 leahneukirchen
@ 2022-11-01 9:37 ` Piraty
0 siblings, 0 replies; 2+ messages in thread
From: Piraty @ 2022-11-01 9:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
There's a merged pull request on the void-packages repository
mosh: update to 1.4.0.
https://github.com/void-linux/void-packages/pull/40207
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-01 9:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 19:05 [PR PATCH] mosh: update to 1.4.0 leahneukirchen
2022-11-01 9:37 ` [PR PATCH] [Merged]: " Piraty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).