Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] wt: add build options and their dependencies
@ 2023-12-25 13:00 Danoloan10
  2023-12-25 13:17 ` [PR PATCH] [Updated] " Danoloan10
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Danoloan10 @ 2023-12-25 13:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

There is a new pull request by Danoloan10 against master on the void-packages repository

https://github.com/Danoloan10/void-packages wt-opts
https://github.com/void-linux/void-packages/pull/47903

wt: add build options and their dependencies
Fixes https://github.com/epoupon/lms/issues/384

#### Testing the changes
- I tested the changes in this PR: **briefly** (only default options)

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glib)


A patch file from https://github.com/void-linux/void-packages/pull/47903.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-wt-opts-47903.patch --]
[-- Type: text/x-diff, Size: 3873 bytes --]

From 37bd019a6a563f1fdca7a99ffda9bd4c2b40f7c4 Mon Sep 17 00:00:00 2001
From: danoloan10 <danolo@danoloan.es>
Date: Mon, 25 Dec 2023 13:48:18 +0100
Subject: [PATCH] wt: add build options and their dependencies

Fixes https://github.com/epoupon/lms/issues/384
---
 srcpkgs/wt/template | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/wt/template b/srcpkgs/wt/template
index d825acae8889b..019e0ad01869e 100644
--- a/srcpkgs/wt/template
+++ b/srcpkgs/wt/template
@@ -3,7 +3,20 @@ pkgname=wt
 version=4.10.0
 revision=2
 build_style=cmake
-makedepends="boost-devel"
+configure_args="$(vopt_bool examples BUILD_EXAMPLES) $(vopt_bool examples INSTALL_EXAMPLES)
+ $(vopt_bool docs INSTALL_DOCUMENTATION) $(vopt_bool resources INSTALL_RESOURCES)
+ $(vopt_bool ssl ENABLE_SSL) $(vopt_bool haru ENABLE_HARU) $(vopt_bool pango ENABLE_PANGO)
+ $(vopt_bool sqlite ENABLE_SQLITE) $(vopt_bool postgres ENABLE_POSTGRES)
+ $(vopt_bool firebird ENABLE_FIREBIRD) $(vopt_bool mysql ENABLE_MYSQL)
+ $(vopt_bool mssqlserver ENABLE_MSSQLSERVER) $(vopt_bool qt4 ENABLE_QT4) $(vopt_bool qt5 ENABLE_QT5)
+ $(vopt_bool saml ENABLE_SAML) $(vopt_bool libwttest ENABLE_LIBWTTEST) $(vopt_bool libtdbo ENABLE_LIBTDBO)
+ $(vopt_bool no_std_locale WT_NO_STD_LOCALE) $(vopt_bool no_std_wstring WT_NO_STD_WSTRING)
+ $(vopt_bool opengl ENABLE_OPENGL) $(vopt_bool unwind ENABLE_UNWIND)"
+makedepends="boost-devel
+ $(vopt_if ssl openssl-devel) $(vopt_if haru Haru-devel) $(vopt_if pango pango-devel) $(vopt_if sqlite sqlite-devel)
+ $(vopt_if postgres postgresql-libs-devel) $(vopt_if firebird firebird3) $(vopt_if mysql libmysqlclient-devel)
+ $(vopt_if mssqlserver unixodbc-devel) $(vopt_if qt4 qt-devel) $(vopt_if qt5 qt5-devel)
+ $(vopt_if opengl libfreeglut-devel) $(vopt_if backtrace libunwind-devel)"
 short_desc="Wt, C++ Web Toolkit"
 maintainer="danoloan10 <danoloan10@tutanota.com>"
 license="GPL-2.0-or-later"
@@ -12,6 +25,28 @@ changelog="https://webtoolkit.eu/wt/doc/reference/html/Releasenotes.html"
 distfiles="https://github.com/emweb/wt/archive/refs/tags/${version}.tar.gz"
 checksum=7090023d4fc4b6594bf4cb11072d9d3d775269327aece9a8993c7bbe46decb9d
 
+build_options="docs examples resources ssl haru pango sqlite postgres firebird mysql mssqlserver qt4 qt5 saml libwttest libtdbo no_std_locale no_std_wstring opengl backtrace"
+build_options_default="resources ssl haru pango sqlite postgres firebird mysql mssqlserver qt5 libwttest libtdbo opengl"
+vopt_conflict qt4 qt5
+desc_option_docs="Install documentation (tutorials and reference)"
+desc_option_examples="Build and install examples (binaries and source)"
+desc_option_resources="Install resources directory"
+desc_option_ssl="Enable cryptography functions, using OpenSSL"
+desc_option_haru="Enable Haru Free PDF Library, which is used to provide support for painting to PDF (WPdfImage)"
+desc_option_pango="Enable Pango Library, which is used for improved font support (WPdfImage and WRasterImage)"
+desc_option_sqlite="Build SQLite3 backend for Wt::Dbo"
+desc_option_postgres="Build PostgreSQL backend for Wt::Dbo"
+desc_option_firebird="Build FirebirdSQL backend for Wt::Dbo"
+desc_option_mysql="Build mariadb/mysql backend for Wt::Dbo"
+desc_option_mssqlserver="Build Microsoft SQL Server backend for Wt::Dbo"
+desc_option_qt4="Build Qt4 interworking library (libwtwithqt)"
+desc_option_qt5="Build Qt5 interworking library (libwtwithqt5)"
+desc_option_saml="Build built-in SAML service provider for Wt::Auth"
+desc_option_no_std_locale="Build Wt to run on a system without std::locale support"
+desc_option_no_std_wstring="Build Wt to run on a system without std::wstring support"
+desc_option_libwttest="Build Wt::Test"
+desc_option_libtdbo="Build Wt::Dbo"
+
 wt-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-12-26 23:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-25 13:00 [PR PATCH] wt: add build options and their dependencies Danoloan10
2023-12-25 13:17 ` [PR PATCH] [Updated] " Danoloan10
2023-12-25 13:35 ` Danoloan10
2023-12-25 13:38 ` Danoloan10
2023-12-25 13:40 ` Danoloan10
2023-12-25 14:18 ` classabbyamp
2023-12-25 14:39 ` Danoloan10
2023-12-25 14:55 ` classabbyamp
2023-12-25 15:48 ` [PR PATCH] [Updated] " Danoloan10
2023-12-25 15:57 ` Danoloan10
2023-12-25 16:04 ` Danoloan10
2023-12-25 16:25 ` Danoloan10
2023-12-25 18:38 ` [PR REVIEW] " classabbyamp
2023-12-25 18:38 ` classabbyamp
2023-12-25 18:39 ` classabbyamp
2023-12-26 20:48 ` Danoloan10
2023-12-26 20:50 ` [PR PATCH] [Updated] " Danoloan10
2023-12-26 20:52 ` Danoloan10
2023-12-26 21:07 ` [PR REVIEW] wt: add build dependencies classabbyamp
2023-12-26 21:48 ` [PR PATCH] [Updated] " Danoloan10
2023-12-26 23:07 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).