From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E7822158176 for ; Tue, 21 Oct 2025 09:06:28 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D2540341540 for ; Tue, 21 Oct 2025 09:06:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BE2B51104B5; Tue, 21 Oct 2025 09:06:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B6C501104B5 for ; Tue, 21 Oct 2025 09:06:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4EFF434107F for ; Tue, 21 Oct 2025 09:06:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB9833AD9 for ; Tue, 21 Oct 2025 09:06:25 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1761037580.d804d799d57140171a42c7caf8e23788de9a09c3.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/wt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/wt/Manifest dev-cpp/wt/wt-4.12.1.ebuild X-VCS-Directories: dev-cpp/wt/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: d804d799d57140171a42c7caf8e23788de9a09c3 X-VCS-Branch: dev Date: Tue, 21 Oct 2025 09:06:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 526cd922-0a87-4300-805b-d94d98d667bc X-Archives-Hash: e28cd2835988e6ae46d0641e91793212 commit: d804d799d57140171a42c7caf8e23788de9a09c3 Author: David Roman gmail com> AuthorDate: Tue Oct 21 09:05:26 2025 +0000 Commit: David Roman gmail com> CommitDate: Tue Oct 21 09:06:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d804d799 dev-cpp/wt: add 4.12.1 Signed-off-by: David Roman gmail.com> dev-cpp/wt/Manifest | 1 + dev-cpp/wt/wt-4.12.1.ebuild | 131 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) diff --git a/dev-cpp/wt/Manifest b/dev-cpp/wt/Manifest index 30498a3be6..f3bc91b386 100644 --- a/dev-cpp/wt/Manifest +++ b/dev-cpp/wt/Manifest @@ -1,2 +1,3 @@ DIST wt-4.11.4.tar.gz 10616646 BLAKE2B d6c5ab376f9c992afff75ebfd8e2d7630cd49627d6217b0fcb9cfcc01f6870d350ba0ba59e18d4a753c93b83ab6aebd0e69e4cc562104141f4e024e66bd7c30c SHA512 e266e8333823a2960fe47645386dea6a9638a83caa4fdeee83af6bffd3e99ee43eb94d9c7afab6e4811a1c25d58df2f4c4f108308ba7f67e4359ed89f69ffd42 DIST wt-4.12.0.tar.gz 10644909 BLAKE2B ba960d0bda4a5b04cc5e6381f719796677069be09bd5496955e0027590d4534ffe9bc40442ea8f9ac801b444975e0777f362e5149d706df0b6ef5ed9d8d5f458 SHA512 89754567b823105de694ee1c2f6e8cecd0b6c1231531f2b791ff95f29039567273329ac9ecc612a96e44232cf80371e947a7a424903c2be8e8c14d0d7260e4d5 +DIST wt-4.12.1.tar.gz 10925011 BLAKE2B afe2620860629471b9a0ee5636d671837b50a596367dc3b1edaa7c94e36f4e14656ce14d2266ba8420346c7b7f5e8465e39fa88d126bbbb5e233589e265e62c2 SHA512 5e0f8f5a7ca88822fbfd142571fb5a6482ed8e75d8c962819feff0d3441ef2dcfaa17b78865c4200de5c8da584b79da37f4b6e6a488e0d65735a2069ccb9de2c diff --git a/dev-cpp/wt/wt-4.12.1.ebuild b/dev-cpp/wt/wt-4.12.1.ebuild new file mode 100644 index 0000000000..d33c8f3d91 --- /dev/null +++ b/dev-cpp/wt/wt-4.12.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +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 +graphicsmagick mysql opengl +pango pdf postgres +sqlite ssl wttest" +REQUIRED_USE=" + pango? ( || ( graphicsmagick pdf ) ) + opengl? ( graphicsmagick ) +" +# TODO: auto-test with wttest +RESTRICT="test" + +DEPEND=" + dev-libs/boost:= + sys-libs/zlib + graphicsmagick? ( media-gfx/graphicsmagick:=[jpeg,png] ) + mysql? ( + virtual/mysql + || ( + dev-db/mariadb-connector-c + dev-db/mysql-connector-c + ) + ) + opengl? ( + media-libs/glew:= + media-libs/libglvnd[X] + ) + pango? ( + dev-libs/glib:2 + media-libs/fontconfig + x11-libs/pango + ) + pdf? ( media-libs/libharu:= ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + dev-qt/qttools:6[assistant] + dev-ruby/asciidoctor + media-gfx/graphviz[cairo] + ) + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/wt-no-rundir.patch" ) + +src_prepare() { + cmake_src_prepare + + # remove bundled sqlite + rm -r src/Wt/Dbo/backend/amalgamation || die + + if use doc; then + doxygen -u Doxyfile 2>/dev/null || die + doxygen -u examples/Doxyfile 2>/dev/null || die + sed -e "/^QHG_LOCATION/s|qhelpgenerator|/usr/$(get_libdir)/qt6/libexec/&|" \ + -i Doxyfile || die + fi +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTS=OFF + -DDOCUMENTATION_DESTINATION="share/doc/${PF}" + -DINSTALL_DOCUMENTATION=$(usex doc) + # will be deprecated + -DCONNECTOR_FCGI=OFF + -DCONNECTOR_HTTP=ON + -DENABLE_SSL=$(usex ssl) + -DENABLE_HARU=$(usex pdf) + -DENABLE_PANGO=$(usex pango) + -DENABLE_SQLITE=$(usex sqlite) + -DENABLE_POSTGRES=$(usex postgres) + -DENABLE_MYSQL=$(usex mysql) + -DENABLE_FIREBIRD=OFF + -DENABLE_LIBWTTEST=$(usex wttest) + # QT is only required for examples + -DENABLE_QT4=OFF + -DENABLE_QT5=OFF + -DENABLE_QT6=OFF + # requires shibboleth and opensaml, not in tree + -DENABLE_SAML=OFF + -DENABLE_OPENGL=$(usex opengl) + -DWT_WRASTERIMAGE_IMPLEMENTATION=$(usex graphicsmagick GraphicsMagick none) + ) + + if use mysql || use postgres || use sqlite; then + mycmakeargs+=( -DENABLE_LIBWTDBO=ON ) + if use sqlite; then + mycmakeargs+=( -DUSE_SYSTEM_SQLITE3=ON ) + # DboTest.C: In member function ‘void Sqlite3_Test_Suite::dbo_precision_test2::test_method()’ + if use wttest; then + append-flags -fno-strict-aliasing + filter-lto + fi + fi + else + mycmakeargs+=( -DENABLE_LIBWTDBO=OFF ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc; then + find "${ED}" \( \ + -iname '*.map' -o \ + -iname '*.md5' \ + \) -delete || die + + docompress -x /usr/share/doc/${PF}/{examples,reference,tutorial} + fi +}