Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsemigroups for openSUSE:Factory 
checked in at 2023-03-07 16:51:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsemigroups (Old)
 and      /work/SRC/openSUSE:Factory/.libsemigroups.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsemigroups"

Tue Mar  7 16:51:08 2023 rev:28 rq:1069936 version:2.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsemigroups/libsemigroups.changes      
2023-02-26 14:51:36.312946691 +0100
+++ /work/SRC/openSUSE:Factory/.libsemigroups.new.31432/libsemigroups.changes   
2023-03-07 16:51:28.809946732 +0100
@@ -1,0 +2,6 @@
+Mon Feb 27 13:34:44 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 2.6.2
+  * Build system changes only
+
+-------------------------------------------------------------------

Old:
----
  libsemigroups-2.6.1.tar.gz

New:
----
  libsemigroups-2.6.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsemigroups.spec ++++++
--- /var/tmp/diff_new_pack.ff81Ko/_old  2023-03-07 16:51:29.385949769 +0100
+++ /var/tmp/diff_new_pack.ff81Ko/_new  2023-03-07 16:51:29.389949790 +0100
@@ -18,7 +18,7 @@
 
 Name:           libsemigroups
 %define lname  libsemigroups2
-Version:        2.6.1
+Version:        2.6.2
 Release:        0
 Summary:        Library with algorithms for computing finite and finitely 
presented semigroups
 License:        GPL-3.0-or-later

++++++ libsemigroups-2.6.1.tar.gz -> libsemigroups-2.6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/.VERSION 
new/libsemigroups-2.6.2/.VERSION
--- old/libsemigroups-2.6.1/.VERSION    2023-02-24 20:30:34.000038809 +0100
+++ new/libsemigroups-2.6.2/.VERSION    2023-02-27 14:17:42.997643892 +0100
@@ -1 +1 @@
-2.6.1
\ No newline at end of file
+2.6.2
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/README.rst 
new/libsemigroups-2.6.2/README.rst
--- old/libsemigroups-2.6.1/README.rst  2023-02-24 19:33:50.530700430 +0100
+++ new/libsemigroups-2.6.2/README.rst  2023-02-27 11:34:45.986612892 +0100
@@ -1,10 +1,10 @@
-.. Copyright (c) 2019-2022, J. D. Mitchell
+.. Copyright (c) 2019-2023, J. D. Mitchell
 
    Distributed under the terms of the GPL license version 3.
 
    The full license is in the file LICENSE, distributed with this software.
 
-libsemigroups - Version 2.6.1
+libsemigroups - Version 2.6.2
 =============================
 
 .. image:: https://readthedocs.org/projects/libsemigroups/badge/?version=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/config/config.h.in 
new/libsemigroups-2.6.2/config/config.h.in
--- old/libsemigroups-2.6.1/config/config.h.in  2023-02-24 20:30:37.797954752 
+0100
+++ new/libsemigroups-2.6.2/config/config.h.in  2023-02-27 14:17:46.924883178 
+0100
@@ -1,5 +1,8 @@
 /* config/config.h.in.  Generated from configure.ac by autoheader.  */
 
+/* define if building with backward-cpp enabled */
+#undef BACKWARD_ENABLED
+
 /* define if building in debug mode */
 #undef DEBUG
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/configure 
new/libsemigroups-2.6.2/configure
--- old/libsemigroups-2.6.1/configure   2023-02-24 20:30:37.522835183 +0100
+++ new/libsemigroups-2.6.2/configure   2023-02-27 14:17:46.648204285 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libsemigroups 2.6.1.
+# Generated by GNU Autoconf 2.71 for libsemigroups 2.6.2.
 #
 # Report bugs to <j...@st-andrews.ac.uk>.
 #
@@ -621,8 +621,8 @@
 # Identity of this package.
 PACKAGE_NAME='libsemigroups'
 PACKAGE_TARNAME='libsemigroups'
-PACKAGE_VERSION='2.6.1'
-PACKAGE_STRING='libsemigroups 2.6.1'
+PACKAGE_VERSION='2.6.2'
+PACKAGE_STRING='libsemigroups 2.6.2'
 PACKAGE_BUGREPORT='j...@st-andrews.ac.uk'
 PACKAGE_URL=''
 
@@ -853,6 +853,7 @@
 enable_verbose
 enable_compile_warnings
 enable_stats
+enable_backward
 with_gcov
 enable_code_coverage
 enable_hpcombi
@@ -1432,7 +1433,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libsemigroups 2.6.1 to adapt to many kinds of systems.
+\`configure' configures libsemigroups 2.6.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1504,7 +1505,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libsemigroups 2.6.1:";;
+     short | recursive ) echo "Configuration of libsemigroups 2.6.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1531,6 +1532,7 @@
   --enable-compile-warnings
                           enable compiler warnings
   --disable-stats         disable stats
+  --disable-backward      disable backward
   --enable-code-coverage  Whether to enable code coverage support
   --enable-hpcombi        enable HPCombi
   --enable-fmt            enable fmt (default: no)
@@ -1645,7 +1647,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libsemigroups configure 2.6.1
+libsemigroups configure 2.6.2
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2484,7 +2486,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libsemigroups $as_me 2.6.1, which was
+It was created by libsemigroups $as_me 2.6.2, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -4093,7 +4095,7 @@
 
 # Define the identity of the package.
  PACKAGE='libsemigroups'
- VERSION='2.6.1'
+ VERSION='2.6.2'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -21074,6 +21076,38 @@
 
 fi
 
+# Check if backward-cpp should be enabled
+# Check whether --enable-backward was given.
+if test ${enable_backward+y}
+then :
+  enableval=$enable_backward;
+else $as_nop
+  enable_backward=yes
+
+fi
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable 
backward mode" >&5
+printf %s "checking whether to enable backward mode... " >&6; }
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_backward" >&5
+printf "%s\n" "$enable_backward" >&6; }
+
+if test "x$enable_backward" != "xno"
+then :
+
+  ac_fn_cxx_check_header_compile "$LINENO" "execinfo.h" 
"ac_cv_header_execinfo_h" "$ac_includes_default"
+if test "x$ac_cv_header_execinfo_h" = xyes
+then :
+
+printf "%s\n" "#define BACKWARD_ENABLED 1" >>confdefs.h
+
+else $as_nop
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: backward enabled but 
execinfo.h not found, disabling backward!" >&5
+printf "%s\n" "$as_me: WARNING: backward enabled but execinfo.h not found, 
disabling backward!" >&2;}
+fi
+
+
+fi
+
 # Check if code coverage mode is enabled
 
 
@@ -23434,7 +23468,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libsemigroups $as_me 2.6.1, which was
+This file was extended by libsemigroups $as_me 2.6.2, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -23502,7 +23536,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libsemigroups config.status 2.6.1
+libsemigroups config.status 2.6.2
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/configure.ac 
new/libsemigroups-2.6.2/configure.ac
--- old/libsemigroups-2.6.1/configure.ac        2023-02-17 10:59:29.661121241 
+0100
+++ new/libsemigroups-2.6.2/configure.ac        2023-02-27 11:33:46.875624895 
+0100
@@ -103,6 +103,21 @@
   AC_DEFINE([ENABLE_STATS], [1], [define if building with stats mode])
 ])
 
+# Check if backward-cpp should be enabled
+AC_ARG_ENABLE([backward],
+    [AS_HELP_STRING([--disable-backward], [disable backward])],
+    [],
+    [enable_backward=yes]
+  )
+AC_MSG_CHECKING([whether to enable backward mode])
+AC_MSG_RESULT([$enable_backward])
+
+AS_IF([test "x$enable_backward" != "xno"], [
+  AC_CHECK_HEADER(execinfo.h,
+    [AC_DEFINE([BACKWARD_ENABLED], [1], [define if building with backward-cpp 
enabled])],
+    [AC_MSG_WARN([backward enabled but execinfo.h not found, disabling 
backward!])])
+])
+
 # Check if code coverage mode is enabled
 AX_CODE_COVERAGE()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/docs/source/changelog.rst 
new/libsemigroups-2.6.2/docs/source/changelog.rst
--- old/libsemigroups-2.6.1/docs/source/changelog.rst   2023-02-24 
19:50:28.376807732 +0100
+++ new/libsemigroups-2.6.2/docs/source/changelog.rst   2023-02-27 
11:36:29.915515799 +0100
@@ -1,6 +1,12 @@
 Changelog - version 2
 =====================
 
+v2.6.2 (released 27/02/2023)
+----------------------------
+
+This is a minor release adding the configuration options ``--enable-backward``,
+and ``--disable-backward``, and some related changes to the build system.
+
 v2.6.1 (released 24/02/2023)
 ----------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/docs/source/conf.py 
new/libsemigroups-2.6.2/docs/source/conf.py
--- old/libsemigroups-2.6.1/docs/source/conf.py 2023-02-22 09:06:32.290244493 
+0100
+++ new/libsemigroups-2.6.2/docs/source/conf.py 2023-02-27 11:35:01.756627458 
+0100
@@ -42,7 +42,7 @@
 source_suffix = ".rst"
 master_doc = "index"
 project = "libsemigroups"
-copyright = "2019-22, J. D. Mitchell"
+copyright = "2019-23, J. D. Mitchell"
 author = "J. D. Mitchell"
 cpp_index_common_prefix = ["libsemigroups::"]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/docs/source/index.rst 
new/libsemigroups-2.6.2/docs/source/index.rst
--- old/libsemigroups-2.6.1/docs/source/index.rst       2023-02-24 
19:38:15.129566525 +0100
+++ new/libsemigroups-2.6.2/docs/source/index.rst       2023-02-27 
11:37:10.940371936 +0100
@@ -1,4 +1,4 @@
-libsemigroups - Version 2.6.1
+libsemigroups - Version 2.6.2
 =============================
 
 C++ library for semigroups and monoids
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/docs/source/install.rst 
new/libsemigroups-2.6.2/docs/source/install.rst
--- old/libsemigroups-2.6.1/docs/source/install.rst     2023-02-24 
19:37:51.010073989 +0100
+++ new/libsemigroups-2.6.2/docs/source/install.rst     2023-02-27 
11:36:52.261507558 +0100
@@ -1,4 +1,4 @@
-.. |libsemigroups-version| replace:: 2.6.1
+.. |libsemigroups-version| replace:: 2.6.2
 
 .. _Installation:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/extern/backward-cpp/backward.hpp 
new/libsemigroups-2.6.2/extern/backward-cpp/backward.hpp
--- old/libsemigroups-2.6.1/extern/backward-cpp/backward.hpp    2023-02-24 
17:57:27.926345966 +0100
+++ new/libsemigroups-2.6.2/extern/backward-cpp/backward.hpp    2023-02-27 
11:33:46.876728325 +0100
@@ -312,7 +312,7 @@
 // The default is:
 // #define BACKWARD_HAS_BACKTRACE_SYMBOL == 1
 //
-#if BACKWARD_HAS_BACKTRACE_SYMBOL == 1
+#if defined(BACKWARD_HAS_BACKTRACE_SYMBOL) && BACKWARD_HAS_BACKTRACE_SYMBOL == 
1
 #else
 #undef BACKWARD_HAS_BACKTRACE_SYMBOL
 #define BACKWARD_HAS_BACKTRACE_SYMBOL 1
@@ -325,7 +325,8 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#if (BACKWARD_HAS_BACKTRACE == 1) || (BACKWARD_HAS_BACKTRACE_SYMBOL == 1)
+#if defined(BACKWARD_HAS_BACKTRACE) && (BACKWARD_HAS_BACKTRACE == 1) \
+    || (BACKWARD_HAS_BACKTRACE_SYMBOL == 1)
 #include <execinfo.h>
 #endif
 #endif  // defined(BACKWARD_SYSTEM_DARWIN)
@@ -406,7 +407,7 @@
 
 #endif  // BACKWARD_HAS_UNWIND == 1
 
-#if BACKWARD_HAS_LIBUNWIND == 1
+#if defined(BACKWARD_HAS_LIBUNWIND) && BACKWARD_HAS_LIBUNWIND == 1
 #define UNW_LOCAL_ONLY
 #include <libunwind.h>
 #endif  // BACKWARD_HAS_LIBUNWIND == 1
@@ -629,7 +630,7 @@
       typedef typename rm_ptr<T>::type&       ref_t;
       typedef const typename rm_ptr<T>::type& const_ref_t;
       ref_t                                   operator*() {
-                                          return *_val;
+        return *_val;
       }
       const_ref_t operator*() const {
         return *_val;
@@ -1994,7 +1995,7 @@
       }
 #endif
 
-//#define BACKWARD_I_DO_NOT_RECOMMEND_TO_ENABLE_THIS_HORRIBLE_PIECE_OF_CODE
+// #define BACKWARD_I_DO_NOT_RECOMMEND_TO_ENABLE_THIS_HORRIBLE_PIECE_OF_CODE
 #ifdef BACKWARD_I_DO_NOT_RECOMMEND_TO_ENABLE_THIS_HORRIBLE_PIECE_OF_CODE
       if (!cudie) {
         // If it's still not enough, lets dive deeper in the shit, and try
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/include/libsemigroups/config.hpp 
new/libsemigroups-2.6.2/include/libsemigroups/config.hpp
--- old/libsemigroups-2.6.1/include/libsemigroups/config.hpp    2023-02-24 
20:30:44.555445987 +0100
+++ new/libsemigroups-2.6.2/include/libsemigroups/config.hpp    2023-02-27 
14:17:53.993092186 +0100
@@ -5,6 +5,11 @@
 /* config/config.h.  Generated from config.h.in by configure.  */
 /* config/config.h.in.  Generated from configure.ac by autoheader.  */
 
+/* define if building with backward-cpp enabled */
+#ifndef LIBSEMIGROUPS_BACKWARD_ENABLED
+#define LIBSEMIGROUPS_BACKWARD_ENABLED 1
+#endif
+
 /* define if building in debug mode */
 /* #undef DEBUG */
 
@@ -181,7 +186,7 @@
 
 /* Define to the full name and version of this package. */
 #ifndef LIBSEMIGROUPS_PACKAGE_STRING
-#define LIBSEMIGROUPS_PACKAGE_STRING "libsemigroups 2.6.1"
+#define LIBSEMIGROUPS_PACKAGE_STRING "libsemigroups 2.6.2"
 #endif
 
 /* Define to the one symbol short name of this package. */
@@ -196,7 +201,7 @@
 
 /* Define to the version of this package. */
 #ifndef LIBSEMIGROUPS_PACKAGE_VERSION
-#define LIBSEMIGROUPS_PACKAGE_VERSION "2.6.1"
+#define LIBSEMIGROUPS_PACKAGE_VERSION "2.6.2"
 #endif
 
 /* Define to necessary symbol if this constant uses a non-standard name on
@@ -232,7 +237,7 @@
 
 /* Version number of package */
 #ifndef LIBSEMIGROUPS_VERSION
-#define LIBSEMIGROUPS_VERSION "2.6.1"
+#define LIBSEMIGROUPS_VERSION "2.6.2"
 #endif
 
 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/include/libsemigroups/sims1.tpp 
new/libsemigroups-2.6.2/include/libsemigroups/sims1.tpp
--- old/libsemigroups-2.6.1/include/libsemigroups/sims1.tpp     2023-02-22 
09:06:32.337018103 +0100
+++ new/libsemigroups-2.6.2/include/libsemigroups/sims1.tpp     2023-02-27 
11:34:04.617422608 +0100
@@ -1000,7 +1000,7 @@
     }
 
     hi                    = best.number_of_nodes();
-    ActionDigraph<T> next = std::move(cr.max_nodes(hi - 1).digraph());
+    ActionDigraph<T> next = cr.max_nodes(hi - 1).digraph();
     while (next.number_of_nodes() != 0) {
       hi   = next.number_of_nodes();
       best = std::move(next);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/src/exception.cpp 
new/libsemigroups-2.6.2/src/exception.cpp
--- old/libsemigroups-2.6.1/src/exception.cpp   2023-02-24 17:57:27.928141385 
+0100
+++ new/libsemigroups-2.6.2/src/exception.cpp   2023-02-27 11:33:46.877547346 
+0100
@@ -24,10 +24,17 @@
 #include <stdexcept>  // for std::runtime_error
 #include <string>     // for char_traits, allocator, operator+
 
+#include "libsemigroups/config.hpp"  // for LIBSEMIGROUPS_BACKWARD_ENABLED
+                                     //
+#ifdef LIBSEMIGROUPS_BACKWARD_ENABLED
+#if defined(__CYGWIN__) || defined(__CYGWIN32__)
+#undef LIBSEMIGROUPS_BACKWARD_ENABLED
+#else
 #include "backward-cpp/backward.hpp"  // for StackTrace, TraceResolver, Reso...
+#endif
+#endif
 
 namespace libsemigroups {
-
   LibsemigroupsException::LibsemigroupsException(std::string const& fname,
                                                  int                linenum,
                                                  std::string const& funcname,
@@ -35,7 +42,7 @@
       // Initialise runtime_error message in case something goes wrong below
       : std::runtime_error(fname + ":" + std::to_string(linenum) + ":"
                            + funcname + ": " + msg) {
-#if !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#ifdef LIBSEMIGROUPS_BACKWARD_ENABLED
     std::string          full_msg;
     backward::StackTrace st;
     st.load_here();
@@ -66,6 +73,8 @@
   }
 }  // namespace libsemigroups
 
+#ifdef LIBSEMIGROUPS_BACKWARD_ENABLED
 namespace backward {
   backward::SignalHandling sh;
 }  // namespace backward
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libsemigroups-2.6.1/tests/test-main.cpp 
new/libsemigroups-2.6.2/tests/test-main.cpp
--- old/libsemigroups-2.6.1/tests/test-main.cpp 2023-02-24 17:57:27.928869794 
+0100
+++ new/libsemigroups-2.6.2/tests/test-main.cpp 2023-02-27 11:33:46.878081041 
+0100
@@ -34,13 +34,21 @@
 
 #include "catch.hpp"  // for Colour, Colour::Code::BrightRed, CATCH_REGISTER...
 
-#include "backward-cpp/backward.hpp"  // for backward
-#include "libsemigroups/string.hpp"   // for to_string, unicode_string_length
-#include "libsemigroups/timer.hpp"    // for Timer
+#include "libsemigroups/config.hpp"  // for LIBSEMIGROUPS_BACKWARD_ENABLED
+#include "libsemigroups/string.hpp"  // for to_string, unicode_string_length
+#include "libsemigroups/timer.hpp"   // for Timer
+
+#ifdef LIBSEMIGROUPS_BACKWARD_ENABLED
+#if defined(__CYGWIN__) || defined(__CYGWIN32__)
+#undef LIBSEMIGROUPS_BACKWARD_ENABLED
+#else
+#include "backward-cpp/backward.hpp"  // for StackTrace, TraceResolver, Reso...
+#endif
+#endif
 
 namespace {
 
-#if !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#ifdef LIBSEMIGROUPS_BACKWARD_ENABLED
   struct InstallSIGINTHandler {
     InstallSIGINTHandler() {
       signal(SIGINT, signalHandler);

Reply via email to