* [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/wt/, dev-cpp/wt/files/
2024-02-23 1:36 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/wt/, dev-cpp/wt/files/ David Roman
@ 2024-02-22 15:53 ` David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2024-02-22 15:53 UTC (permalink / raw
To: gentoo-commits
commit: 1d4fbe9784f2046e604b79233c05aa5cdf272b8a
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 22 15:28:47 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 22 15:28:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d4fbe97
dev-cpp/wt: new package, add 4.10.3
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-cpp/wt/Manifest | 1 +
dev-cpp/wt/files/wt-no-rundir.patch | 14 ++++++++++
dev-cpp/wt/metadata.xml | 11 ++++++++
dev-cpp/wt/wt-4.10.3.ebuild | 53 +++++++++++++++++++++++++++++++++++++
4 files changed, 79 insertions(+)
diff --git a/dev-cpp/wt/Manifest b/dev-cpp/wt/Manifest
new file mode 100644
index 0000000000..b28f49bb5a
--- /dev/null
+++ b/dev-cpp/wt/Manifest
@@ -0,0 +1 @@
+DIST wt-4.10.3.tar.gz 10443169 BLAKE2B f5f6cdb0024001522bfc10b30c0f3b819be643c81a61e66ba548d284749a82b5fda78e10a5c82efd2b1ec0f1bf8ccc29d38dbf0ec0f20eead5be400467440f00 SHA512 cf81f2ec08741aba6c102b5558dccc82623d7073130bbaa9be1168751b3047bd411acf19ac1f20303b722dc5db05b667c7c7cb213fbc6930918b6cff8d1aad6b
diff --git a/dev-cpp/wt/files/wt-no-rundir.patch b/dev-cpp/wt/files/wt-no-rundir.patch
new file mode 100644
index 0000000000..ad17603e92
--- /dev/null
+++ b/dev-cpp/wt/files/wt-no-rundir.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 887e5de6..a8d559ab 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -132,9 +132,6 @@ ELSE(WIN32)
+ SET(CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
+ ENDIF()
+
+- SET(RUNDIR "${CONFIG_PREFIX}/var/run/wt" CACHE PATH
+- "Default path for wt session management (only used by FCGI connector)")
+-
+ IF(NOT DEFINED CONFIGDIR)
+ SET(CONFIGDIR "${CONFIG_PREFIX}/etc/wt" CACHE STRING "Path for the configuration files")
+ ENDIF( NOT DEFINED CONFIGDIR )
diff --git a/dev-cpp/wt/metadata.xml b/dev-cpp/wt/metadata.xml
new file mode 100644
index 0000000000..a637183f18
--- /dev/null
+++ b/dev-cpp/wt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>davidroman96@gmail.com</email>
+ <name>David Roman</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">emweb/wt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-cpp/wt/wt-4.10.3.ebuild b/dev-cpp/wt/wt-4.10.3.ebuild
new file mode 100644
index 0000000000..6a323d81a3
--- /dev/null
+++ b/dev-cpp/wt/wt-4.10.3.ebuild
@@ -0,0 +1,53 @@
+# 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"
+KEYWORDS="~amd64"
+IUSE="doc firebird mysql pdf postgres ssl"
+
+DEPEND="
+ firebird? ( dev-db/firebird )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ ssl? ( dev-libs/openssl )
+ media-libs/libharu
+ media-gfx/graphicsmagick
+ x11-libs/pango
+ sys-libs/zlib
+ virtual/opengl
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/wt-no-rundir.patch")
+
+src_configure() {
+ # TODO
+ #-DENABLE_QT6=$(usex qt6)
+
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DBUILD_EXAMPLES=OFF
+ -DINSTALL_DOCUMENTATION=$(usex doc)
+ -DENABLE_SSL=$(usex ssl)
+ -DENABLE_HARU=$(usex pdf)
+ -DENABLE_PANGO=ON
+ -DENABLE_SQLITE=ON
+ -DENABLE_POSTGRES=$(usex postgres)
+ -DENABLE_FIREBIRD=$(usex firebird)
+ -DENABLE_MYSQL=$(usex mysql)
+ -DENABLE_QT4=OFF
+ -DENABLE_QT5=ON
+ -DENABLE_SAML=ON
+ )
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/wt/, dev-cpp/wt/files/
@ 2024-02-23 1:36 David Roman
2024-02-22 15:53 ` [gentoo-commits] repo/proj/guru:dev " David Roman
0 siblings, 1 reply; 2+ messages in thread
From: David Roman @ 2024-02-23 1:36 UTC (permalink / raw
To: gentoo-commits
commit: 1d4fbe9784f2046e604b79233c05aa5cdf272b8a
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 22 15:28:47 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 22 15:28:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d4fbe97
dev-cpp/wt: new package, add 4.10.3
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-cpp/wt/Manifest | 1 +
dev-cpp/wt/files/wt-no-rundir.patch | 14 ++++++++++
dev-cpp/wt/metadata.xml | 11 ++++++++
dev-cpp/wt/wt-4.10.3.ebuild | 53 +++++++++++++++++++++++++++++++++++++
4 files changed, 79 insertions(+)
diff --git a/dev-cpp/wt/Manifest b/dev-cpp/wt/Manifest
new file mode 100644
index 0000000000..b28f49bb5a
--- /dev/null
+++ b/dev-cpp/wt/Manifest
@@ -0,0 +1 @@
+DIST wt-4.10.3.tar.gz 10443169 BLAKE2B f5f6cdb0024001522bfc10b30c0f3b819be643c81a61e66ba548d284749a82b5fda78e10a5c82efd2b1ec0f1bf8ccc29d38dbf0ec0f20eead5be400467440f00 SHA512 cf81f2ec08741aba6c102b5558dccc82623d7073130bbaa9be1168751b3047bd411acf19ac1f20303b722dc5db05b667c7c7cb213fbc6930918b6cff8d1aad6b
diff --git a/dev-cpp/wt/files/wt-no-rundir.patch b/dev-cpp/wt/files/wt-no-rundir.patch
new file mode 100644
index 0000000000..ad17603e92
--- /dev/null
+++ b/dev-cpp/wt/files/wt-no-rundir.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 887e5de6..a8d559ab 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -132,9 +132,6 @@ ELSE(WIN32)
+ SET(CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
+ ENDIF()
+
+- SET(RUNDIR "${CONFIG_PREFIX}/var/run/wt" CACHE PATH
+- "Default path for wt session management (only used by FCGI connector)")
+-
+ IF(NOT DEFINED CONFIGDIR)
+ SET(CONFIGDIR "${CONFIG_PREFIX}/etc/wt" CACHE STRING "Path for the configuration files")
+ ENDIF( NOT DEFINED CONFIGDIR )
diff --git a/dev-cpp/wt/metadata.xml b/dev-cpp/wt/metadata.xml
new file mode 100644
index 0000000000..a637183f18
--- /dev/null
+++ b/dev-cpp/wt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>davidroman96@gmail.com</email>
+ <name>David Roman</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">emweb/wt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-cpp/wt/wt-4.10.3.ebuild b/dev-cpp/wt/wt-4.10.3.ebuild
new file mode 100644
index 0000000000..6a323d81a3
--- /dev/null
+++ b/dev-cpp/wt/wt-4.10.3.ebuild
@@ -0,0 +1,53 @@
+# 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"
+KEYWORDS="~amd64"
+IUSE="doc firebird mysql pdf postgres ssl"
+
+DEPEND="
+ firebird? ( dev-db/firebird )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ ssl? ( dev-libs/openssl )
+ media-libs/libharu
+ media-gfx/graphicsmagick
+ x11-libs/pango
+ sys-libs/zlib
+ virtual/opengl
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/wt-no-rundir.patch")
+
+src_configure() {
+ # TODO
+ #-DENABLE_QT6=$(usex qt6)
+
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DBUILD_EXAMPLES=OFF
+ -DINSTALL_DOCUMENTATION=$(usex doc)
+ -DENABLE_SSL=$(usex ssl)
+ -DENABLE_HARU=$(usex pdf)
+ -DENABLE_PANGO=ON
+ -DENABLE_SQLITE=ON
+ -DENABLE_POSTGRES=$(usex postgres)
+ -DENABLE_FIREBIRD=$(usex firebird)
+ -DENABLE_MYSQL=$(usex mysql)
+ -DENABLE_QT4=OFF
+ -DENABLE_QT5=ON
+ -DENABLE_SAML=ON
+ )
+
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-23 1:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 1:36 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/wt/, dev-cpp/wt/files/ David Roman
2024-02-22 15:53 ` [gentoo-commits] repo/proj/guru:dev " David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox