mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
EternalTerminal: update to 6.2.1.
This commit is contained in:
parent
3f9b221199
commit
aaf70fb05a
3 changed files with 74 additions and 15 deletions
30
srcpkgs/EternalTerminal/patches/disable-tests.patch
Normal file
30
srcpkgs/EternalTerminal/patches/disable-tests.patch
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
--- a/EternalTerminal/CMakeLists.txt
|
||||||
|
+++ b/EternalTerminal/CMakeLists.txt
|
||||||
|
@@ -519,17 +519,8 @@
|
||||||
|
${CORE_LIBRARIES})
|
||||||
|
decorate_target(htmd)
|
||||||
|
|
||||||
|
- enable_testing()
|
||||||
|
-
|
||||||
|
- file(GLOB TEST_SRCS test/*Test.cpp)
|
||||||
|
- add_executable(
|
||||||
|
- et-test
|
||||||
|
- ${TEST_SRCS}
|
||||||
|
- test/Main.cpp
|
||||||
|
- )
|
||||||
|
- add_dependencies(et-test TerminalCommon et-lib)
|
||||||
|
+ add_dependencies(TerminalCommon et-lib)
|
||||||
|
target_link_libraries(
|
||||||
|
- et-test
|
||||||
|
TerminalCommon
|
||||||
|
et-lib
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
@@ -539,8 +530,6 @@
|
||||||
|
${UTEMPTER_LIBRARIES}
|
||||||
|
${Boost_LIBRARIES}
|
||||||
|
${CORE_LIBRARIES})
|
||||||
|
- add_test(et-test et-test)
|
||||||
|
- decorate_target(et-test)
|
||||||
|
|
||||||
|
if(FUZZING)
|
||||||
|
add_executable(
|
|
@ -1,17 +1,17 @@
|
||||||
Index: EternalTerminal-et-v6.0.13/CMakeLists.txt
|
Index: EternalTerminal-et-v6.0.13/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- EternalTerminal-et-v6.0.13.orig/CMakeLists.txt
|
--- a/EternalTerminal/CMakeLists.txt
|
||||||
+++ EternalTerminal-et-v6.0.13/CMakeLists.txt
|
+++ b/EternalTerminal/CMakeLists.txt
|
||||||
@@ -26,12 +26,6 @@ if(DISABLE_CRASH_LOG)
|
@@ -187,12 +187,6 @@
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DELPP_DISABLE_DEFAULT_CRASH_HANDLING")
|
"${CMAKE_CXX_FLAGS} -DELPP_DISABLE_DEFAULT_CRASH_HANDLING")
|
||||||
ENDIF(DISABLE_CRASH_LOG)
|
endif(DISABLE_CRASH_LOG)
|
||||||
|
|
||||||
-if(UNIX)
|
-if(UNIX)
|
||||||
- # Enable debug info
|
- # Enable debug info
|
||||||
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -ggdb3")
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -ggdb3")
|
||||||
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -ggdb3")
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -ggdb3")
|
||||||
-endif()
|
-endif()
|
||||||
-
|
-
|
||||||
# Enable C++-11
|
# Enable C++-17
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
|
@ -1,17 +1,31 @@
|
||||||
# Template file for 'EternalTerminal'
|
# Template file for 'EternalTerminal'
|
||||||
pkgname=EternalTerminal
|
pkgname=EternalTerminal
|
||||||
version=6.0.13
|
version=6.2.1
|
||||||
revision=7
|
revision=1
|
||||||
|
# revisions used for the specific versions of submodules.
|
||||||
|
# they can be found in the external/ directory of the source code.
|
||||||
|
_sanitizers_gitrev="99e159ec9bc8dd362b08d18436bd40ff0648417b"
|
||||||
|
_threadpool_gitrev="9a42ec1329f259a5f4881a291db1dcb8f2ad9040"
|
||||||
|
build_wrksrc=${pkgname}
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
configure_args="-DDISABLE_VCPKG=ON -DDISABLE_TELEMETRY=ON -DDISABLE_SENTRY=ON"
|
||||||
hostmakedepends="protobuf"
|
hostmakedepends="protobuf"
|
||||||
makedepends="gflags-devel libsodium-devel protobuf-devel"
|
makedepends="gflags-devel libsodium-devel protobuf-devel openssl-devel
|
||||||
|
zlib-devel"
|
||||||
short_desc="Re-Connectable secure remote shell"
|
short_desc="Re-Connectable secure remote shell"
|
||||||
maintainer="Nathan Owens <ndowens@artixlinux.org>"
|
maintainer="Nathan Owens <ndowens@artixlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://eternalterminal.dev/"
|
homepage="https://eternalterminal.dev/"
|
||||||
distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz"
|
distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz
|
||||||
checksum=728c3a444d666897c710e33fe473d8d289263a59574451b13aa53ec3c6ac88b3
|
https://github.com/arsenm/sanitizers-cmake/archive/${_sanitizers_gitrev}.tar.gz
|
||||||
|
https://github.com/progschj/ThreadPool/archive/${_threadpool_gitrev}.tar.gz"
|
||||||
|
checksum="fdf68a51cb8b62b3dbbacd1d2aeba5d5491e5142e65c97713c2f1ce61d4fdbed
|
||||||
|
f9cf386638f455c5d2e7a835b95941201387d2531b8682942d59827663b58341
|
||||||
|
954e0ecdac1aa0da1e0fa78577ff0d352e53094df43762fbc1884f76a7e1dcd2"
|
||||||
system_accounts="_eternal"
|
system_accounts="_eternal"
|
||||||
|
# UnixSocketHandler.cpp:53 Error reading: 104 Connection reset by peer
|
||||||
|
# SocketHandler.cpp:91 Failed a call to writeAll: Broken pipe
|
||||||
|
make_check=no
|
||||||
|
|
||||||
LDFLAGS="-lgflags"
|
LDFLAGS="-lgflags"
|
||||||
|
|
||||||
|
@ -19,11 +33,26 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
makedepends+=" libexecinfo-devel"
|
makedepends+=" libexecinfo-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
mv EternalTerminal-et-v${version} ${build_wrksrc}
|
||||||
|
mv sanitizers-cmake-${_sanitizers_gitrev}/* \
|
||||||
|
${build_wrksrc}/external/sanitizers-cmake
|
||||||
|
mv ThreadPool-${_threadpool_gitrev}/* ${build_wrksrc}/external/ThreadPool
|
||||||
|
}
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
# Use external libexecinfo
|
# Use external libexecinfo
|
||||||
vsed -i CMakeLists.txt \
|
vsed -i CMakeLists.txt \
|
||||||
-e '/execinfo/!s/CORE_LIBRARIES util resolv/& execinfo/'
|
-e '/execinfo/!s/CORE_LIBRARIES$/& execinfo/'
|
||||||
|
fi
|
||||||
|
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
# Remove libatomic from LD if target arch supports atomics
|
||||||
|
vsed -e '/ atomic$/d' -i CMakeLists.txt
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue