[balsa] Adapt the meson build to reflect option changes



commit 767d56dae822e101e22bf99e26be3be549643859
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Sep 19 21:44:42 2017 -0400

    Adapt the meson build to reflect option changes
    
    Adapt the meson build to reflect the GNOME option changes.
    
        * meson.build: adapt the meson build to reflect the GNOME option
        changes.
        * meson_options.txt: ditto.

 ChangeLog         |    6 ++++++
 meson.build       |   36 ++----------------------------------
 meson_options.txt |    4 ++--
 3 files changed, 10 insertions(+), 36 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 98eea9d..07a648a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-09-19  Peter Bloomfield  <pbloomfield bellsouth net>
 
+       * meson.build: adapt the meson build to reflect the GNOME option
+       changes.
+       * meson_options.txt: ditto.
+
+2017-09-19  Peter Bloomfield  <pbloomfield bellsouth net>
+
        Remove obsolete option to build with deprecated GnomeKeyring
 
        * configure.ac: do not check for the lib and do not define
diff --git a/meson.build b/meson.build
index 1c2b4ac..e539910 100644
--- a/meson.build
+++ b/meson.build
@@ -131,30 +131,10 @@ endif
 # GNOME libs
 # #####################################################################
 
-with_gnome_keyring = false
 if with_gnome
   TOOLKIT_CATEGORIES = 'GNOME;GTK;'
-  gnome_extras = ['gio-unix-2.0']
-  if not with_libsecret
-    gnome_keyring_dep = dependency('gnome-keyring-1', version : '>= 1.0')
-    if gnome_keyring_dep.found()
-      gnome_extras += 'gnome-keyring-1'
-      conf.set('HAVE_GNOME_KEYRING', 1,
-        description : 'Defined when gnome-keyring is there.')
-      # Work around http://bugzilla.gnome.org/show_bug.cgi?id=556530
-      gnome_keyring_24_dep = dependency('gnome-keyring-1', version : '>= 2.24.1')
-      if gnome_keyring_24_dep.found()
-        conf.set('HAVE_GNOME_KEYRING_24', 1,
-          description : 'Defined with gnome-keyring-2.24 or newer.')
-      endif
-      with_gnome_keyring = true
-    endif
-  endif
-  conf.set('HAVE_GNOME', 1,
-    description : 'Defined when building for GNOME.')
 else
   TOOLKIT_CATEGORIES = 'GTK;'
-  gnome_extras = []
 endif # with_gnome
 
 conf.set('TOOLKIT_CATEGORIES', TOOLKIT_CATEGORIES)
@@ -173,10 +153,6 @@ gmime_dep   = dependency('gmime-2.6')
 gio_dep     = dependency('gio-2.0')
 gthread_dep = dependency('gthread-2.0')
 gnutls_dep  = dependency('gnutls')
-gnome_dependencies = []
-foreach extra : gnome_extras
-  gnome_dependencies += dependency(extra)
-endforeach
 
 # Dependencies for balsa
 balsa_deps = [glib_dep,
@@ -184,14 +160,12 @@ balsa_deps = [glib_dep,
               gmime_dep,
               gio_dep,
               gthread_dep,
-              gnutls_dep,
-              gnome_dependencies]
+              gnutls_dep]
 
 # Dependencies for balsa_ab:
 balsa_ab_deps = [glib_dep,
                  gtk_dep,
-                 gmime_dep,
-                 gnome_dependencies]
+                 gmime_dep]
 
 # Dependencies for libnetclient:
 libnetclient_deps = [glib_dep,
@@ -759,12 +733,6 @@ or just plain not work. Use it at your own risk. You have been warned.
 ======================================================================
 ''')
 
-  if with_gnome_keyring
-    message('''
-*** Cannot build in a git tree with deprecated GnomeKeyring.
-*** Either install and configure with libsecret or configure --without-gnome.
-      ''')
-  endif
 endif
 
 if use_html_widget == 'webkit'
diff --git a/meson_options.txt b/meson_options.txt
index b559eb3..785012b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,7 +1,7 @@
 option('with-gnome',
   type        : 'boolean',
   value       : true,
-  description : 'Use GNOME libraries (default=true)')
+  description : 'Set GNOME desktop category (default=true)')
 
 option('enable-flock',
   type        : 'boolean',
@@ -88,7 +88,7 @@ option('with-sqlite',
 option('with-libsecret',
   type        : 'boolean',
   value       : false,
-  description : 'Link to libsecret instead of gnome-keyring (default=false)')
+  description : 'Link to libsecret (default=false)')
 
 option('with-gcr',
   type        : 'boolean',


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