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 444AE158074 for ; Sat, 28 Jun 2025 20:54:17 +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 30832341CC6 for ; Sat, 28 Jun 2025 20:54:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4DCA0110278; Sat, 28 Jun 2025 20:54:13 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 37CC711055B for ; Sat, 28 Jun 2025 20:54:13 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C1656341CBA for ; Sat, 28 Jun 2025 20:54:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3739D2AF7 for ; Sat, 28 Jun 2025 20:54:11 +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: <1751144014.58db7816b12f8045b936fa68dce00ad6a50b5d40.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/metadata.xml dev-cpp/wt/wt-4.11.4-r3.ebuild X-VCS-Directories: dev-cpp/wt/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 58db7816b12f8045b936fa68dce00ad6a50b5d40 X-VCS-Branch: dev Date: Sat, 28 Jun 2025 20:54:11 +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: 18f5d75d-8c03-4a48-a40d-96f6ed6f8a32 X-Archives-Hash: 988c1323075e24f7a7a155d3603508aa commit: 58db7816b12f8045b936fa68dce00ad6a50b5d40 Author: Nicolas PARLANT parhuet fr> AuthorDate: Fri Jun 27 07:56:42 2025 +0000 Commit: David Roman gmail com> CommitDate: Sat Jun 28 20:53:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58db7816 dev-cpp/wt: rework deps, unrestrict boost dep : unrestrict boost version. It builds now with >=1.87. media-libs/libharu is only required with pdf feature add media-libs/glew required for opengl add connector-c for mariadb/mysql add pkgconfig use libglvnd[X] instead of virtual/opengl doc : generate qch requires qttools[assistant] not qttools[qdoc] add dev-ruby/asciidoctor for tutorial building add graphviz for dot add useflags : make graphicsmagick (raster image) optional make Wt::Test optional with wttest make sqlite optional (but enabled by default) and force system-lib REQUIRED_USE : pango is only used with graphicsmagick or libharu opengl requires graphicsmagick Signed-off-by: Nicolas PARLANT parhuet.fr> Part-of: https://github.com/gentoo/guru/pull/339 Signed-off-by: David Roman gmail.com> dev-cpp/wt/metadata.xml | 4 +- dev-cpp/wt/wt-4.11.4-r3.ebuild | 131 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 134 insertions(+), 1 deletion(-) diff --git a/dev-cpp/wt/metadata.xml b/dev-cpp/wt/metadata.xml index f8c1c1ffbc..7a8a8a0802 100644 --- a/dev-cpp/wt/metadata.xml +++ b/dev-cpp/wt/metadata.xml @@ -6,7 +6,9 @@ David Roman - Enable x11-libs/pango, wich is used for improved font support (WPdfImage and WRasterImage) + Enable media-gfx/graphicsmagick, which is used for creating raster images (WRasterImage) + Enable x11-libs/pango, which is used for improved font support (WPdfImage and WRasterImage) + Build Wt::Test for automated (integration/unit) tests emweb/wt diff --git a/dev-cpp/wt/wt-4.11.4-r3.ebuild b/dev-cpp/wt/wt-4.11.4-r3.ebuild new file mode 100644 index 0000000000..d33c8f3d91 --- /dev/null +++ b/dev-cpp/wt/wt-4.11.4-r3.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 +} 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 77B07158074 for ; Mon, 30 Jun 2025 08:40:55 +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 65482341EBA for ; Mon, 30 Jun 2025 08:40:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 84F8611056B; Mon, 30 Jun 2025 08:40:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 795D611056A for ; Mon, 30 Jun 2025 08:40:30 +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 13652341646 for ; Mon, 30 Jun 2025 08:40:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97AC22C90 for ; Mon, 30 Jun 2025 08:40:26 +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: <1751144014.58db7816b12f8045b936fa68dce00ad6a50b5d40.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/wt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/wt/metadata.xml dev-cpp/wt/wt-4.11.4-r3.ebuild X-VCS-Directories: dev-cpp/wt/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 58db7816b12f8045b936fa68dce00ad6a50b5d40 X-VCS-Branch: master Date: Mon, 30 Jun 2025 08:40:26 +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: dfc9c609-ffde-4707-9cb4-d42f736ba959 X-Archives-Hash: b6c8e0e514468193970ccca49c8036ff Message-ID: <20250630084026.mp_irjps36by-u6ezMQ1cHYTvdmLQI4KEbWP28JN3Gc@z> commit: 58db7816b12f8045b936fa68dce00ad6a50b5d40 Author: Nicolas PARLANT parhuet fr> AuthorDate: Fri Jun 27 07:56:42 2025 +0000 Commit: David Roman gmail com> CommitDate: Sat Jun 28 20:53:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58db7816 dev-cpp/wt: rework deps, unrestrict boost dep : unrestrict boost version. It builds now with >=1.87. media-libs/libharu is only required with pdf feature add media-libs/glew required for opengl add connector-c for mariadb/mysql add pkgconfig use libglvnd[X] instead of virtual/opengl doc : generate qch requires qttools[assistant] not qttools[qdoc] add dev-ruby/asciidoctor for tutorial building add graphviz for dot add useflags : make graphicsmagick (raster image) optional make Wt::Test optional with wttest make sqlite optional (but enabled by default) and force system-lib REQUIRED_USE : pango is only used with graphicsmagick or libharu opengl requires graphicsmagick Signed-off-by: Nicolas PARLANT parhuet.fr> Part-of: https://github.com/gentoo/guru/pull/339 Signed-off-by: David Roman gmail.com> dev-cpp/wt/metadata.xml | 4 +- dev-cpp/wt/wt-4.11.4-r3.ebuild | 131 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 134 insertions(+), 1 deletion(-) diff --git a/dev-cpp/wt/metadata.xml b/dev-cpp/wt/metadata.xml index f8c1c1ffbc..7a8a8a0802 100644 --- a/dev-cpp/wt/metadata.xml +++ b/dev-cpp/wt/metadata.xml @@ -6,7 +6,9 @@ David Roman - Enable x11-libs/pango, wich is used for improved font support (WPdfImage and WRasterImage) + Enable media-gfx/graphicsmagick, which is used for creating raster images (WRasterImage) + Enable x11-libs/pango, which is used for improved font support (WPdfImage and WRasterImage) + Build Wt::Test for automated (integration/unit) tests emweb/wt diff --git a/dev-cpp/wt/wt-4.11.4-r3.ebuild b/dev-cpp/wt/wt-4.11.4-r3.ebuild new file mode 100644 index 0000000000..d33c8f3d91 --- /dev/null +++ b/dev-cpp/wt/wt-4.11.4-r3.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 +}