From c94401701a1b6c744971cdc5a9caf75141aa222a Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 23 Jul 2025 00:28:46 +0200 Subject: [PATCH 1/2] build without libicu by default https://github.com/chatmail/relay/issues/603 --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index f17924e7c..9011c1182 100755 --- a/configure +++ b/configure @@ -1709,7 +1709,6 @@ Optional Packages: --with-stemmer Build with libstemmer support (for FTS) (auto) --with-textcat Build with libtextcat support (for FTS) (auto) --with-icu Build with libicu support (for FTS normalization) - (auto) --with-solr Build with Solr full text search support --with-sodium Build with libsodium support (enables argon2, default: auto) @@ -4252,7 +4251,7 @@ fi if test "${with_icu+set}" = set; then : withval=$with_icu; want_icu=$withval else - want_icu=auto + want_icu=no fi From b42992474f899b8e856132f2bf8f5b5431c18547 Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 30 Jul 2025 17:12:26 +0200 Subject: [PATCH 2/2] Build without icu via debian/rules --- configure | 3 ++- debian/rules | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9011c1182..f17924e7c 100755 --- a/configure +++ b/configure @@ -1709,6 +1709,7 @@ Optional Packages: --with-stemmer Build with libstemmer support (for FTS) (auto) --with-textcat Build with libtextcat support (for FTS) (auto) --with-icu Build with libicu support (for FTS normalization) + (auto) --with-solr Build with Solr full text search support --with-sodium Build with libsodium support (enables argon2, default: auto) @@ -4251,7 +4252,7 @@ fi if test "${with_icu+set}" = set; then : withval=$with_icu; want_icu=$withval else - want_icu=no + want_icu=auto fi diff --git a/debian/rules b/debian/rules index 80c87e8d9..bbefa51f6 100755 --- a/debian/rules +++ b/debian/rules @@ -117,7 +117,7 @@ override_dh_auto_configure: --with-gssapi=plugin \ --with-solr \ --with-ioloop=best \ - --with-icu \ + --without-icu \ --with-libwrap \ --without-lucene \ $(CONFIGURE_APPARMOR) \