From 9c853acfa3d5722e03578e5bb393231db885ed6e Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 18 Apr 2022 21:33:43 +0300 Subject: [PATCH] build: bump version 1.7.13 And some small tweaks, cleanups --- Makefile.meson | 11 ++++++----- configure.ac | 2 +- lib/meson.build | 21 --------------------- lib/message/meson.build | 10 +--------- meson.build | 3 +-- 5 files changed, 9 insertions(+), 38 deletions(-) diff --git a/Makefile.meson b/Makefile.meson index 5bb913d1..1220b111 100644 --- a/Makefile.meson +++ b/Makefile.meson @@ -19,7 +19,11 @@ NINJA ?= ninja BUILDDIR ?= $(CURDIR)/build MESON ?= meson +V ?= 0 +ifneq ($(V),0) + VERBOSE=--verbose +endif # MESON_FLAGS, e.g. "-Dreadline=enabled" @@ -28,7 +32,7 @@ MESON ?= meson # make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang all: $(BUILDDIR) - $(NINJA) -C $(BUILDDIR) + $(NINJA) -C $(BUILDDIR) $(VERBOSE) $(BUILDDIR): $(MESON) $(MESON_FLAGS) $(BUILDDIR) @@ -36,10 +40,7 @@ $(BUILDDIR): check: test test: all - $(MESON) test -C $(BUILDDIR) - -test-verbose: all - $(MESON) test --verbose -C $(BUILDDIR) + $(MESON) test $(VERBOSE) -C $(BUILDDIR) test-verbose-if-fail: all @cd $(BUILDDIR); $(MESON) test || $(MESON) test --verbose diff --git a/configure.ac b/configure.ac index 0349db6f..a7cb234a 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. AC_PREREQ([2.68]) -AC_INIT([mu],[1.7.12],[https://github.com/djcb/mu/issues],[mu]) +AC_INIT([mu],[1.7.13],[https://github.com/djcb/mu/issues],[mu]) AC_COPYRIGHT([Copyright (C) 2008-2021 Dirk-Jan C. Binnema]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([mu/mu.cc]) diff --git a/lib/meson.build b/lib/meson.build index a435bbf6..550e1f8c 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -23,45 +23,24 @@ lib_mu=static_library( 'mu', [ 'mu-bookmarks.cc', - 'mu-bookmarks.hh', 'mu-contacts-cache.cc', - 'mu-contacts-cache.hh', - 'mu-data.hh', 'mu-parser.cc', - 'mu-parser.hh', 'mu-query.cc', - 'mu-query.hh', - 'mu-query-results.hh', 'mu-query-match-deciders.cc', - 'mu-query-match-deciders.hh', 'mu-query-threads.cc', - 'mu-query-threads.hh', 'mu-runtime.cc', - 'mu-runtime.hh', 'mu-script.cc', - 'mu-script.hh', 'mu-server.cc', - 'mu-server.hh', 'mu-store.cc', - 'mu-store.hh', 'mu-tokenizer.cc', - 'mu-tokenizer.hh', - 'mu-tree.hh', 'mu-xapian.cc', - 'mu-xapian.hh', 'mu-maildir.cc', - 'mu-maildir.hh', 'mu-msg-crypto.cc', 'mu-msg-doc.cc', - 'mu-msg-doc.hh', 'mu-msg-file.cc', - 'mu-msg-file.hh', 'mu-msg-part.cc', - 'mu-msg-part.hh', - 'mu-msg-priv.hh', 'mu-msg-sexp.cc', 'mu-msg.cc', - 'mu-msg.hh', ], dependencies: [ glib_dep, diff --git a/lib/message/meson.build b/lib/message/meson.build index 34dcb452..8758907c 100644 --- a/lib/message/meson.build +++ b/lib/message/meson.build @@ -1,4 +1,4 @@ -## Copyright (C) 2021 Dirk-Jan C. Binnema +## Copyright (C) 2022 Dirk-Jan C. Binnema ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -19,22 +19,14 @@ lib_mu_message=static_library( 'mu-message', [ 'mu-message.cc', - 'mu-message.hh', 'mu-message-part.cc', - 'mu-message-part.hh', 'mu-message-sexp.cc', - 'mu-contact.hh', 'mu-contact.cc', 'mu-document.cc', - 'mu-document.hh', - 'mu-fields.hh', 'mu-fields.cc', - 'mu-flags.hh', 'mu-flags.cc', - 'mu-priority.hh', 'mu-priority.cc', 'mu-mime-object.cc', - 'mu-mime-object.hh' ], dependencies: [ glib_dep, diff --git a/meson.build b/meson.build index 58ac9002..7b4ac38f 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ # project setup # project('mu', ['c', 'cpp'], - version: '1.7.12', + version: '1.7.13', meson_version: '>= 0.52.0', # debian 10 license: 'GPL-3.0-or-later', default_options : [ @@ -45,7 +45,6 @@ extra_flags = [ '-Wno-#warnings' ] - if get_option('buildtype') == 'debug' extra_flags += [ '-ggdb',