feat(vtm): enable auto-update, upgrade to 0.6.0

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
Aditya Alok 2022-04-16 16:06:53 +05:30
parent db2a4771a8
commit c747776924
No known key found for this signature in database
GPG Key ID: 345AE134142077D8
3 changed files with 17 additions and 20 deletions

View File

@ -1,24 +1,22 @@
diff -uNr vtm-0.5.15/src/CMakeLists.txt vtm-0.5.15.mod/src/CMakeLists.txt
--- vtm-0.5.15/src/CMakeLists.txt 2021-08-04 21:50:44.000000000 +0000
+++ vtm-0.5.15.mod/src/CMakeLists.txt 2021-10-04 12:35:14.765769171 +0000
@@ -13,14 +13,6 @@
--- a/src/CMakeLists.txt 2022-02-14 16:50:27.000000000 +0000
+++ b/src/CMakeLists.txt 2022-04-17 10:11:34.852563956 +0000
@@ -14,13 +14,6 @@
#set (CMAKE_EXE_LINKER_FLAGS "/MANIFEST:NO")
set (CMAKE_CXX_FLAGS "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /bigobj")
-else ()
- set (CMAKE_CXX_FLAGS "-pthread")
- if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- #static linkage
- #set (CMAKE_CXX_FLAGS "-static-libstdc++ -static-libgcc -pthread -s")
- set (CMAKE_CXX_FLAGS "-pthread -s")
- else ()
- set (CMAKE_CXX_FLAGS "-pthread")
- #set (CMAKE_CXX_FLAGS "-pthread -s")
- endif ()
endif ()
add_executable (vtmd "vtmd.cpp")
@@ -29,4 +21,4 @@
if (DEMO)
@@ -31,4 +24,4 @@
if (NOT WIN32)
install (TARGETS vtmd DESTINATION bin)
install (TARGETS vtm DESTINATION bin)
-endif ()
\ No newline at end of file

View File

@ -2,12 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://vtm.netxs.online/
TERMUX_PKG_DESCRIPTION="Terminal multiplexer with TUI window manager and multi-party session sharing"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.5.15
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=0.6.0
TERMUX_PKG_SRCURL=https://github.com/netxs-group/vtm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=fa18ae2f1eee9615c6e0df5be4b248fb15268c5e7401380f129ccee8cb9254f0
TERMUX_PKG_SHA256=b572a7f7f4b1271faf6dac5c0f91505b878eee1cfcbcca4a9323b97e9325e16b
TERMUX_PKG_DEPENDS="libandroid-spawn, libc++"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_pre_configure() {
TERMUX_PKG_SRCDIR+=/src

View File

@ -1,6 +1,5 @@
diff -uNr vtm-0.5.15/src/netxs/os/system.hpp vtm-0.5.15.mod/src/netxs/os/system.hpp
--- vtm-0.5.15/src/netxs/os/system.hpp 2021-08-05 00:50:44.000000000 +0300
+++ vtm-0.5.15.mod/src/netxs/os/system.hpp 2021-10-04 19:44:51.626533289 +0300
--- a/src/netxs/os/system.hpp 2022-02-14 16:50:27.000000000 +0000
+++ b/src/netxs/os/system.hpp 2022-04-17 10:03:16.743450407 +0000
@@ -81,7 +81,7 @@
#if defined(__linux__)
@ -9,8 +8,8 @@ diff -uNr vtm-0.5.15/src/netxs/os/system.hpp vtm-0.5.15.mod/src/netxs/os/system.
+ #include <linux/kd.h> // ::console_ioctl()
#include <linux/keyboard.h> // ::keyb_ioctl()
#endif
#endif
@@ -1464,7 +1464,7 @@
@@ -1507,7 +1507,7 @@
#elif defined(__linux__)
ucred cred = {};
@ -19,10 +18,10 @@ diff -uNr vtm-0.5.15/src/netxs/os/system.hpp vtm-0.5.15.mod/src/netxs/os/system.
if (!ok(::getsockopt(handle.h, SOL_SOCKET, SO_PEERCRED, &cred, &size), "getsockopt error"))
return faux;
@@ -2634,4 +2634,4 @@
@@ -2687,4 +2687,4 @@
};
}
-#endif // NETXS_SYSTEM_HPP
\ В конце файла нет новой строки
\ No newline at end of file
+#endif // NETXS_SYSTEM_HPP