Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package maildir-utils for openSUSE:Factory checked in at 2022-09-15 22:58:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/maildir-utils (Old) and /work/SRC/openSUSE:Factory/.maildir-utils.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maildir-utils" Thu Sep 15 22:58:59 2022 rev:36 rq:1003709 version:1.8.10 Changes: -------- --- /work/SRC/openSUSE:Factory/maildir-utils/maildir-utils.changes 2022-08-16 17:08:06.995945005 +0200 +++ /work/SRC/openSUSE:Factory/.maildir-utils.new.2083/maildir-utils.changes 2022-09-15 22:59:56.413342414 +0200 @@ -1,0 +2,8 @@ +Thu Sep 15 07:01:30 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 1.8.10: + * Fix build with emacs 29 snapshots + * Use save-excursion around toggling html + * Install guile scripts and fix bindings + +------------------------------------------------------------------- Old: ---- mu-1.8.9.tar.xz New: ---- mu-1.8.10.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ maildir-utils.spec ++++++ --- /var/tmp/diff_new_pack.i03vIu/_old 2022-09-15 22:59:56.933343882 +0200 +++ /var/tmp/diff_new_pack.i03vIu/_new 2022-09-15 22:59:56.937343893 +0200 @@ -17,7 +17,7 @@ Name: maildir-utils -Version: 1.8.9 +Version: 1.8.10 Release: 0 Summary: Maildir indexer and searcher License: GPL-3.0-or-later ++++++ mu-1.8.9.tar.xz -> mu-1.8.10.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.8.9/configure.ac new/mu-1.8.10/configure.ac --- old/mu-1.8.9/configure.ac 2022-08-15 22:18:18.000000000 +0200 +++ new/mu-1.8.10/configure.ac 2022-09-14 22:34:44.000000000 +0200 @@ -15,7 +15,7 @@ ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. AC_PREREQ([2.68]) -AC_INIT([mu],[1.8.9],[https://github.com/djcb/mu/issues],[mu]) +AC_INIT([mu],[1.8.10],[https://github.com/djcb/mu/issues],[mu]) AC_COPYRIGHT([Copyright (C) 2008-2022 Dirk-Jan C. Binnema]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([mu/mu.cc]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.8.9/guile/meson.build new/mu-1.8.10/guile/meson.build --- old/mu-1.8.9/guile/meson.build 2022-08-15 22:18:18.000000000 +0200 +++ new/mu-1.8.10/guile/meson.build 2022-09-14 22:34:44.000000000 +0200 @@ -51,8 +51,8 @@ snarf = find_program('guile-snarf3.0','guile-snarf') # there must be a better way of feeding the include paths to snarf... snarf_args=['-o', '@OUTPUT@', '@INPUT@', '-I' + meson.current_source_dir() + '/..', - '-I' + meson.current_source_dir() + '/../lib', - '-I' + meson.current_build_dir() + '/..'] + '-I' + meson.current_source_dir() + '/../lib', + '-I' + meson.current_build_dir() + '/..'] snarf_args += '-I' + join_paths(glib_dep.get_pkgconfig_variable('includedir'), 'glib-2.0') snarf_args += '-I' + join_paths(glib_dep.get_pkgconfig_variable('libdir'), @@ -60,8 +60,8 @@ snarf_args += '-I' + join_paths(guile_dep.get_pkgconfig_variable('includedir'), 'guile', '3.0') snarf_gen=generator(snarf, - output: '@BASENAME@.x', - arguments: snarf_args) + output: '@BASENAME@.x', + arguments: snarf_args) snarf_srcs=['mu-guile.cc', 'mu-guile-message.cc'] snarf_x=snarf_gen.process(snarf_srcs) else @@ -77,25 +77,36 @@ if makeinfo.found() custom_target('mu_guile_info', - input: 'mu-guile.texi', - output: 'mu-guile.info', - install: true, - install_dir: infodir, - command: [makeinfo, - '-o', join_paths(meson.current_build_dir(), 'mu-guile.info'), - join_paths(meson.current_source_dir(), 'mu-guile.texi'), - '-I', join_paths(meson.current_build_dir(), '..')]) + input: 'mu-guile.texi', + output: 'mu-guile.info', + install: true, + install_dir: infodir, + command: [makeinfo, + '-o', join_paths(meson.current_build_dir(), 'mu-guile.info'), + join_paths(meson.current_source_dir(), 'mu-guile.texi'), + '-I', join_paths(meson.current_build_dir(), '..')]) if install_info.found() meson.add_install_script(install_info_script, 'share/info', 'mu-guile.info') endif - - endif guile_scm_dir=join_paths(datadir, 'guile', 'site', '3.0', 'mu') install_data(['mu.scm','mu/script.scm', 'mu/message.scm', 'mu/stats.scm', 'mu/plot.scm'], - install_dir: guile_scm_dir) + install_dir: guile_scm_dir) + + +mu_guile_scripts=[ + join_paths('scripts', 'find-dups.scm'), + join_paths('scripts', 'msgs-count.scm'), + join_paths('scripts', 'msgs-per-day.scm'), + join_paths('scripts', 'msgs-per-hour.scm'), + join_paths('scripts', 'msgs-per-month.scm'), + join_paths('scripts', 'msgs-per-year-month.scm'), + join_paths('scripts', 'msgs-per-year.scm') +] +mu_guile_script_dir=join_paths(datadir, 'mu', 'scripts') +install_data(mu_guile_scripts, install_dir: mu_guile_script_dir) guile_builddir=meson.current_build_dir() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.8.9/guile/mu-guile-message.cc new/mu-1.8.10/guile/mu-guile-message.cc --- old/mu-1.8.9/guile/mu-guile-message.cc 2022-08-15 22:18:18.000000000 +0200 +++ new/mu-1.8.10/guile/mu-guile-message.cc 2022-09-14 22:34:44.000000000 +0200 @@ -444,10 +444,18 @@ define_vars(void) { field_for_each([](auto&& field){ - const auto name{"mu:field:" + - std::string{field.alias.empty() ? field.name : field.alias}}; - scm_c_define(name.c_str(), scm_from_uint(field.value_no())); - scm_c_export(name.c_str(), NULL); + + auto defvar = [&](auto&& fname, auto&& ffield) { + const auto name{"mu:field:" + std::string{fname}}; + scm_c_define(name.c_str(), scm_from_uint(field.value_no())); + scm_c_export(name.c_str(), NULL); + }; + + // define for both name and (if exists) alias. + if (!field.name.empty()) + defvar(field.name, field); + if (!field.alias.empty()) + defvar(field.alias, field); }); /* non-Xapian field: timestamp */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.8.9/meson.build new/mu-1.8.10/meson.build --- old/mu-1.8.9/meson.build 2022-08-15 22:18:18.000000000 +0200 +++ new/mu-1.8.10/meson.build 2022-09-14 22:34:44.000000000 +0200 @@ -18,7 +18,7 @@ # project setup # project('mu', ['c', 'cpp'], - version: '1.8.9', + version: '1.8.10', meson_version: '>= 0.52.0', # debian 10 license: 'GPL-3.0-or-later', default_options : [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.8.9/mu4e/mu4e-headers.el new/mu-1.8.10/mu4e/mu4e-headers.el --- old/mu-1.8.9/mu4e/mu4e-headers.el 2022-08-15 22:18:18.000000000 +0200 +++ new/mu-1.8.10/mu4e/mu4e-headers.el 2022-09-14 22:34:44.000000000 +0200 @@ -379,14 +379,14 @@ (lambda (cell) (if mu4e-use-fancy-chars (cdr cell) (car cell))))) (cl-case type - ('child (funcall get-prefix mu4e-headers-thread-child-prefix)) - ('first-child (funcall get-prefix mu4e-headers-thread-first-child-prefix)) - ('last-child (funcall get-prefix mu4e-headers-thread-last-child-prefix)) - ('connection (funcall get-prefix mu4e-headers-thread-connection-prefix)) - ('blank (funcall get-prefix mu4e-headers-thread-blank-prefix)) - ('orphan (funcall get-prefix mu4e-headers-thread-orphan-prefix)) - ('single-orphan (funcall get-prefix mu4e-headers-thread-single-orphan-prefix)) - ('duplicate (funcall get-prefix mu4e-headers-thread-duplicate-prefix)) + (child (funcall get-prefix mu4e-headers-thread-child-prefix)) + (first-child (funcall get-prefix mu4e-headers-thread-first-child-prefix)) + (last-child (funcall get-prefix mu4e-headers-thread-last-child-prefix)) + (connection (funcall get-prefix mu4e-headers-thread-connection-prefix)) + (blank (funcall get-prefix mu4e-headers-thread-blank-prefix)) + (orphan (funcall get-prefix mu4e-headers-thread-orphan-prefix)) + (single-orphan (funcall get-prefix mu4e-headers-thread-single-orphan-prefix)) + (duplicate (funcall get-prefix mu4e-headers-thread-duplicate-prefix)) (t "?")))) @@ -1555,9 +1555,7 @@ (if (eq sortfield mu4e-headers-sort-field) (if (eq mu4e-headers-sort-direction 'ascending) 'descending 'ascending) - 'descending)) - (mu4e-read-option "Direction: " - '(("ascending" . 'ascending) ("descending" . 'descending)))))) + 'descending))))) (setq mu4e-headers-sort-field sortfield mu4e-headers-sort-direction dir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mu-1.8.9/mu4e/mu4e-view.el new/mu-1.8.10/mu4e/mu4e-view.el --- old/mu-1.8.9/mu4e/mu4e-view.el 2022-08-15 22:18:18.000000000 +0200 +++ new/mu-1.8.10/mu4e/mu4e-view.el 2022-09-14 22:34:44.000000000 +0200 @@ -1300,12 +1300,13 @@ (interactive) ;; This function assumes `gnus-article-mime-handle-alist' is sorted by ;; pertinence, i.e. the first HTML part found in it is the most important one. - (if-let ((html-part - (seq-find (lambda (handle) - (equal (mm-handle-media-type (cdr handle)) "text/html")) - gnus-article-mime-handle-alist))) - (gnus-article-inline-part (car html-part)) - (mu4e-warn "No html part in this message"))) + (save-excursion + (if-let ((html-part + (seq-find (lambda (handle) + (equal (mm-handle-media-type (cdr handle)) "text/html")) + gnus-article-mime-handle-alist))) + (gnus-article-inline-part (car html-part)) + (mu4e-warn "No html part in this message")))) (defun mu4e-process-file-through-pipe (path pipecmd) "Process file at PATH through a pipe with PIPECMD."