[balsa/port-to-pcre2: 50/57] Build tools: Add LibBalsaRegex




commit 18e7233090d01a4e2721be102f14593cbdc55b94
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 e59b34026..18f2b90d7 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 b272d4269..bcda9b7e0 100644
--- a/libbalsa/Makefile.am
+++ b/libbalsa/Makefile.am
@@ -136,7 +136,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 8abc1824b..4944dfec4 100644
--- a/libbalsa/meson.build
+++ b/libbalsa/meson.build
@@ -133,7 +133,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 a84c775a7..8453b505d 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]