dev-cpp/wt: drop 4.11.2

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2025-06-23 15:59:48 +02:00
parent 10733bcfb8
commit c4f671b2b3
3 changed files with 0 additions and 140 deletions

View File

@@ -1,3 +1,2 @@
DIST wt-4.11.2.tar.gz 10581246 BLAKE2B 6b1ac3e53a8eab572354f4a43ed20cf92ce1049f79aae0333730fb283cd3c4fc274f8ebe94a08fffeafb73a1ccccf1771d180189ef6d825336172ab891992cbc SHA512 e512c88616878b8fa3b992aa9d2f232d994ee6108607af4e5d511a2fecd7ae35cf33a63435a0ff356df715b386f2061731dcfb28c529bc43c901f17787686f34
DIST wt-4.11.3.tar.gz 10601583 BLAKE2B dd838a1f42fedc93f127f8a496feccc47359bd6883103ec7574e85f47d8e4452d83b48def467e68c97b5f3b3d354b0ed96722b62b306d98ac3d12b09eaf308cb SHA512 de1cf49e1b1d788841b1a87e6455bf5170ab857d0076ef7c60a5592bfb83bcdbc4621b23cac411f4b9dce2fd96b237fb4c80d854c195e575cf2e03515c399e3d
DIST wt-4.11.4.tar.gz 10616646 BLAKE2B d6c5ab376f9c992afff75ebfd8e2d7630cd49627d6217b0fcb9cfcc01f6870d350ba0ba59e18d4a753c93b83ab6aebd0e69e4cc562104141f4e024e66bd7c30c SHA512 e266e8333823a2960fe47645386dea6a9638a83caa4fdeee83af6bffd3e99ee43eb94d9c7afab6e4811a1c25d58df2f4c4f108308ba7f67e4359ed89f69ffd42

View File

@@ -1,79 +0,0 @@
diff --git a/src/http/Server.C b/src/http/Server.C
index 1b21529d..946cd1b6 100644
--- a/src/http/Server.C
+++ b/src/http/Server.C
@@ -331,7 +331,7 @@ std::vector<asio::ip::address> Server::resolveAddress(asio::ip::tcp::resolver &r
LOG_DEBUG_S(&wt_, "Failed to resolve hostname \"" << address << "\" as IPv4: " <<
Wt::AsioWrapper::system_error(errc).what());
// Resolve IPv6
- query = Wt::AsioWrapper::asio::ip::tcp::resolver::query(Wt::AsioWrapper::asio::ip::tcp::v6(), address, "http");
+ auto q = Wt::AsioWrapper::asio::ip::tcp::resolver::query(Wt::AsioWrapper::asio::ip::tcp::v6(), address, "http");
for (Wt::AsioWrapper::asio::ip::tcp::resolver::iterator it = resolver.resolve(query, errc);
!errc && it != end; ++it) {
result.push_back(it->endpoint().address());
diff --git a/src/web/FileUtils.C b/src/web/FileUtils.C
index 122e2a94..c6ce732b 100644
--- a/src/web/FileUtils.C
+++ b/src/web/FileUtils.C
@@ -6,6 +6,7 @@
#include "web/FileUtils.h"
+#include <filesystem>
#include <boost/filesystem/operations.hpp>
#include "web/WebUtils.h"
@@ -45,7 +46,7 @@ namespace Wt {
unsigned long long size(const std::string &file)
{
- return (unsigned long long) boost::filesystem::file_size(file);
+ return (unsigned long long) std::filesystem::file_size(file);
}
std::string* fileToString(const std::string& fileName)
@@ -60,35 +61,35 @@ namespace Wt {
std::chrono::system_clock::time_point lastWriteTime(const std::string &file)
{
- return std::chrono::system_clock::from_time_t(boost::filesystem::last_write_time(file));
+ return std::chrono::system_clock::time_point{std::chrono::duration_cast<std::chrono::milliseconds>(std::filesystem::last_write_time(file).time_since_epoch())};
}
bool exists(const std::string &file)
{
- boost::filesystem::path path(file);
- return boost::filesystem::exists(path);
+ std::filesystem::path path(file);
+ return std::filesystem::exists(path);
}
bool isDirectory(const std::string &file)
{
- boost::filesystem::path path(file);
- return boost::filesystem::is_directory(path);
+ std::filesystem::path path(file);
+ return std::filesystem::is_directory(path);
}
void listFiles(const std::string &directory,
std::vector<std::string> &files)
{
- boost::filesystem::path path(directory);
- boost::filesystem::directory_iterator end_itr;
+ std::filesystem::path path(directory);
+ std::filesystem::directory_iterator end_itr;
- if (!boost::filesystem::is_directory(path)) {
+ if (!std::filesystem::is_directory(path)) {
std::string error
= "listFiles: \"" + directory + "\" is not a directory";
LOG_ERROR(error);
throw WException(error);
}
- for (boost::filesystem::directory_iterator i(path); i != end_itr; ++i) {
+ for (std::filesystem::directory_iterator i(path); i != end_itr; ++i) {
std::string f = (*i).path().string();
files.push_back(f);
}

View File

@@ -1,60 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Wt, C++ Web Toolkit"
HOMEPAGE="https://www.webtoolkit.eu/wt https://github.com/emweb/wt"
SRC_URI="https://github.com/emweb/wt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="doc mysql opengl +pango pdf postgres ssl"
DEPEND="
mysql? ( virtual/mysql )
opengl? ( virtual/opengl )
pango? ( x11-libs/pango )
postgres? ( dev-db/postgresql )
ssl? ( dev-libs/openssl )
<=dev-libs/boost-1.86.0:=
media-libs/libharu
media-gfx/graphicsmagick[jpeg,png]
sys-libs/zlib
"
RDEPEND="${DEPEND}"
BDEPEND="
doc? (
app-text/doxygen[dot]
dev-qt/qttools[qdoc]
)
"
PATCHES=( "${FILESDIR}/wt-no-rundir.patch")
src_configure() {
local mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)
-DBUILD_EXAMPLES=OFF
-DINSTALL_DOCUMENTATION=$(usex doc)
-DDOCUMENTATION_DESTINATION="share/doc/${PF}"
-DENABLE_SSL=$(usex ssl)
-DENABLE_HARU=$(usex pdf)
-DENABLE_PANGO=$(usex pango)
-DENABLE_SQLITE=ON
-DENABLE_POSTGRES=$(usex postgres)
-DENABLE_MYSQL=$(usex mysql)
-DENABLE_FIREBIRD=OFF
-DENABLE_QT4=OFF
-DENABLE_QT5=OFF
-DENABLE_QT6=ON
-DENABLE_SAML=ON
-DENABLE_OPENGL=$(usex opengl)
)
cmake_src_configure
}