[balsa/port-to-pcre2: 29/36] Build tools: Add LibBalsaRegex




commit 23ec6024f67ccf3be3b0c7f064df588a553a60b1
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Sep 6 13:44:47 2020 -0400

    Build tools: Add LibBalsaRegex
    
    We now depend on libpcre2-8, and must add the new source files to the
    manifests.

 configure.ac         | 1 +
 libbalsa/Makefile.am | 4 +++-
 libbalsa/meson.build | 4 +++-
 meson.build          | 4 +++-
 4 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f9759f0de..c6f488ae5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,7 @@ gthread-2.0
 gnutls >= 3.0
 fribidi
 libical >= 2.0.0
+libpcre2-8
 ])
 
 PKG_CHECK_MODULES(BALSA_AB, [
diff --git a/libbalsa/Makefile.am b/libbalsa/Makefile.am
index 2792472d0..223ec79c8 100644
--- a/libbalsa/Makefile.am
+++ b/libbalsa/Makefile.am
@@ -134,7 +134,9 @@ libbalsa_a_SOURCES =                \
        geometry-manager.c      \
        geometry-manager.h      \
        x509-cert-widget.c      \
-       x509-cert-widget.h
+       x509-cert-widget.h      \
+       regex.c                 \
+       regex.h
 
 
 EXTRA_DIST =                           \
diff --git a/libbalsa/meson.build b/libbalsa/meson.build
index 24c37f76c..ee162beed 100644
--- a/libbalsa/meson.build
+++ b/libbalsa/meson.build
@@ -131,7 +131,9 @@ libbalsa_a_sources = [
   'geometry-manager.c',
   'geometry-manager.h',
   'x509-cert-widget.c',
-  'x509-cert-widget.h'
+  'x509-cert-widget.h',
+  'regex.c',
+  'regex.h'
 ]
 
 libimap_include = include_directories('imap')
diff --git a/meson.build b/meson.build
index 8539d041b..a982549e6 100644
--- a/meson.build
+++ b/meson.build
@@ -137,6 +137,7 @@ gnutls_dep  = dependency('gnutls',    version : '>= 3.0'   )
 gpgme_dep   = dependency('gpgme',     version : '>= 1.8.0' )
 fribidi_dep = dependency('fribidi'                         )
 libical_dep = dependency('libical',   version : '>= 2.0.0' )
+pcre2_dep   = dependency('libpcre2-8'                      )
 
 # Dependencies for balsa
 balsa_deps = [glib_dep,
@@ -147,7 +148,8 @@ balsa_deps = [glib_dep,
               gnutls_dep,
               gpgme_dep,
               fribidi_dep,
-              libical_dep]
+              libical_dep,
+              pcre2_dep]
 
 # Dependencies for balsa_ab:
 balsa_ab_deps = [glib_dep,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]