Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ginac for openSUSE:Factory checked 
in at 2023-06-16 16:54:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ginac (Old)
 and      /work/SRC/openSUSE:Factory/.ginac.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ginac"

Fri Jun 16 16:54:37 2023 rev:14 rq:1093314 version:1.8.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ginac/ginac.changes      2023-03-12 
16:26:49.097444458 +0100
+++ /work/SRC/openSUSE:Factory/.ginac.new.15902/ginac.changes   2023-06-16 
16:55:44.066022543 +0200
@@ -1,0 +2,10 @@
+Mon Jun 12 04:20:35 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 1.8.6:
+  * Fix wrong numeric info on transcendental functions.
+  * Fix crash of evaluation of binomial(n, k) with negative
+    integer n, k.
+- Add ginac-doc-latex-symbol-error.patch: Change a math symbol to
+  get pdflatex to build reference.pdf correctly; upstream commit.
+
+-------------------------------------------------------------------

Old:
----
  ginac-1.8.5.tar.bz2

New:
----
  ginac-1.8.6.tar.bz2
  ginac-doc-latex-symbol-error.patch

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

Other differences:
------------------
++++++ ginac.spec ++++++
--- /var/tmp/diff_new_pack.BxBFd1/_old  2023-06-16 16:55:44.738026508 +0200
+++ /var/tmp/diff_new_pack.BxBFd1/_new  2023-06-16 16:55:44.742026532 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package ginac
+# spec file
 #
 # Copyright (c) 2023 SUSE LLC
 #
@@ -38,7 +38,7 @@
 
 %define library_version 11
 Name:           %{srcname}%{?pkg_suffix}
-Version:        1.8.5
+Version:        1.8.6
 Release:        0
 Summary:        C++ library for symbolic calculations
 License:        GPL-2.0-only
@@ -48,6 +48,8 @@
 Patch0:         ginac-fix-makeindex.patch
 # PATCH-FIX-UPSTREAM ginac-cmake-install-doc.patch badshah...@gmail.com -- 
Install man and other documentation files when cmake is used for building
 Patch1:         ginac-cmake-install-doc.patch
+# PATCH-FIX-UPSTREAM ginac-doc-latex-symbol-error.patch badshah...@gmail.com 
-- Change a math symbol to get pdflatex to build reference.pdf correctly
+Patch2:         ginac-doc-latex-symbol-error.patch
 BuildRequires:  bison
 BuildRequires:  cln-devel
 BuildRequires:  cmake

++++++ ginac-1.8.5.tar.bz2 -> ginac-1.8.6.tar.bz2 ++++++
++++ 5629 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/GiNaC.spec new/ginac-1.8.6/GiNaC.spec
--- old/ginac-1.8.5/GiNaC.spec  2023-01-01 02:24:25.000000000 +0100
+++ new/ginac-1.8.6/GiNaC.spec  2023-02-08 20:23:47.000000000 +0100
@@ -1,5 +1,5 @@
 %define name ginac
-%define version 1.8.5
+%define version 1.8.6
 %define release 1
 
 Summary: C++ library for symbolic calculations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/NEWS new/ginac-1.8.6/NEWS
--- old/ginac-1.8.5/NEWS        2023-01-01 14:30:27.000000000 +0100
+++ new/ginac-1.8.6/NEWS        2023-02-08 20:11:12.000000000 +0100
@@ -1,5 +1,9 @@
 This file records noteworthy changes.
 
+1.8.6 (8 February 2023)
+* Fix wrong numeric info on transcendental functions.
+* Fix crash of evaluation of binomial(n, k) with negative integer n, k.
+
 1.8.5 (1 January 2023)
 * Speed up multivariate polynomial factorization; fix it in some rare
   corner cases where it didn't previously terminate.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/config/config.rpath new/ginac-1.8.6/config/config.rpath
--- old/ginac-1.8.5/config/config.rpath 2022-12-31 19:47:20.000000000 +0100
+++ new/ginac-1.8.6/config/config.rpath 2023-02-08 20:15:33.000000000 +0100
@@ -2,7 +2,7 @@
 # Output a system dependent set of variables, describing how to set the
 # run time search path of shared libraries in an executable.
 #
-#   Copyright 1996-2015 Free Software Foundation, Inc.
+#   Copyright 1996-2023 Free Software Foundation, Inc.
 #   Taken from GNU libtool, 2001
 #   Originally by Gordon Matzigkeit <g...@gnu.ai.mit.edu>, 1996
 #
@@ -371,7 +371,7 @@
       hardcode_direct=yes
       hardcode_minus_L=yes
       ;;
-    freebsd* | dragonfly*)
+    freebsd* | dragonfly* | midnightbsd*)
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
       ;;
@@ -547,7 +547,7 @@
   freebsd[23].*)
     library_names_spec='$libname$shrext$versuffix'
     ;;
-  freebsd* | dragonfly*)
+  freebsd* | dragonfly* | midnightbsd*)
     library_names_spec='$libname$shrext'
     ;;
   gnu*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/doc/tutorial/ginac.info new/ginac-1.8.6/doc/tutorial/ginac.info
--- old/ginac-1.8.5/doc/tutorial/ginac.info     2023-01-01 14:41:25.000000000 
+0100
+++ new/ginac-1.8.6/doc/tutorial/ginac.info     2023-02-08 20:24:55.000000000 
+0100
@@ -5,7 +5,7 @@
 * ginac: (ginac).                   C++ library for symbolic computation.
 END-INFO-DIR-ENTRY
 
-This is a tutorial that documents GiNaC 1.8.5, an open framework for
+This is a tutorial that documents GiNaC 1.8.6, an open framework for
 symbolic computation within the C++ programming language.
 
 Copyright (C) 1999-2023 Johannes Gutenberg University Mainz, Germany
@@ -25,7 +25,7 @@
 GiNaC
 *****
 
-This is a tutorial that documents GiNaC 1.8.5, an open framework for
+This is a tutorial that documents GiNaC 1.8.6, an open framework for
 symbolic computation within the C++ programming language.
 
 * Menu:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/doc/tutorial/stamp-vti new/ginac-1.8.6/doc/tutorial/stamp-vti
--- old/ginac-1.8.5/doc/tutorial/stamp-vti      2023-01-01 14:41:24.000000000 
+0100
+++ new/ginac-1.8.6/doc/tutorial/stamp-vti      2023-02-08 20:24:55.000000000 
+0100
@@ -1,4 +1,4 @@
 @set UPDATED 1 January 2023
 @set UPDATED-MONTH January 2023
-@set EDITION 1.8.5
-@set VERSION 1.8.5
+@set EDITION 1.8.6
+@set VERSION 1.8.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/doc/tutorial/version.texi 
new/ginac-1.8.6/doc/tutorial/version.texi
--- old/ginac-1.8.5/doc/tutorial/version.texi   2023-01-01 14:41:24.000000000 
+0100
+++ new/ginac-1.8.6/doc/tutorial/version.texi   2023-02-08 20:24:55.000000000 
+0100
@@ -1,4 +1,4 @@
 @set UPDATED 1 January 2023
 @set UPDATED-MONTH January 2023
-@set EDITION 1.8.5
-@set VERSION 1.8.5
+@set EDITION 1.8.6
+@set VERSION 1.8.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/ginac/inifcns_trans.cpp new/ginac-1.8.6/ginac/inifcns_trans.cpp
--- old/ginac-1.8.5/ginac/inifcns_trans.cpp     2022-12-31 19:47:20.000000000 
+0100
+++ new/ginac-1.8.6/ginac/inifcns_trans.cpp     2023-02-07 22:33:53.000000000 
+0100
@@ -149,7 +149,6 @@
 static bool exp_info(const ex & x, unsigned inf)
 {
        switch (inf) {
-       case info_flags::numeric:
        case info_flags::expanded:
        case info_flags::real:
                return x.info(inf);
@@ -389,7 +388,6 @@
 static bool log_info(const ex & x, unsigned inf)
 {
        switch (inf) {
-       case info_flags::numeric:
        case info_flags::expanded:
                return x.info(inf);
        case info_flags::real:
@@ -512,7 +510,6 @@
 static bool trig_info(const ex & x, unsigned inf)
 {
        switch (inf) {
-       case info_flags::numeric:
        case info_flags::expanded:
        case info_flags::real:
                return x.info(inf);
@@ -834,7 +831,6 @@
 static bool asin_info(const ex & x, unsigned inf)
 {
        switch (inf) {
-       case info_flags::numeric:
        case info_flags::expanded:
                return x.info(inf);
        default:
@@ -1039,7 +1035,6 @@
 static bool atan_info(const ex & x, unsigned inf)
 {
        switch (inf) {
-       case info_flags::numeric:
        case info_flags::expanded:
        case info_flags::real:
                return x.info(inf);
@@ -1158,7 +1153,6 @@
 static bool atan2_info(const ex & y, const ex & x, unsigned inf)
 {
        switch (inf) {
-       case info_flags::numeric:
        case info_flags::expanded:
        case info_flags::real:
                return y.info(inf) && x.info(inf);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/ginac/numeric.cpp new/ginac-1.8.6/ginac/numeric.cpp
--- old/ginac-1.8.5/ginac/numeric.cpp   2022-12-31 19:47:20.000000000 +0100
+++ new/ginac-1.8.6/ginac/numeric.cpp   2023-02-08 00:02:38.000000000 +0100
@@ -2138,8 +2138,10 @@
 
 /** The Binomial coefficients.  It computes the binomial coefficients.  For
  *  integer n and k and positive n this is the number of ways of choosing k
- *  objects from n distinct objects.  If n is negative, the formula
- *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) is used to compute the result. */
+ *  objects from n distinct objects.  If n is a negative integer, the formula
+ *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k≥0)
+ *  binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
+ *  is used to compute the result. */
 const numeric binomial(const numeric &n, const numeric &k)
 {
        if (n.is_integer() && k.is_integer()) {
@@ -2149,7 +2151,10 @@
                        else
                                return *_num0_p;
                } else {
-                       return _num_1_p->power(k)*binomial(k-n-(*_num1_p),k);
+                       if (k.is_nonneg_integer())
+                               return 
_num_1_p->power(k)*binomial(k-n-(*_num1_p), k);
+                       else
+                               return 
_num_1_p->power(n-k)*binomial(-k-(*_num1_p), n-k);
                }
        }
        
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/ginac/version.h new/ginac-1.8.6/ginac/version.h
--- old/ginac-1.8.5/ginac/version.h     2023-01-01 02:22:05.000000000 +0100
+++ new/ginac-1.8.6/ginac/version.h     2023-02-08 20:00:21.000000000 +0100
@@ -30,7 +30,7 @@
 #define GINACLIB_MINOR_VERSION 8
 
 /* Micro version of GiNaC */
-#define GINACLIB_MICRO_VERSION 5
+#define GINACLIB_MICRO_VERSION 6
 
 // GiNaC library version information. It has very little to do with GiNaC
 // version number. In particular, library version is OS dependent. 
@@ -56,7 +56,7 @@
 //  * change matrix inverse to use default argument (twice)
 //  * check for interfaces marked as deprecated
 #define GINAC_LT_CURRENT  12
-#define GINAC_LT_REVISION 4
+#define GINAC_LT_REVISION 5
 #define GINAC_LT_AGE      1
 
 /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/ginac.pc new/ginac-1.8.6/ginac.pc
--- old/ginac-1.8.5/ginac.pc    2023-01-01 02:24:25.000000000 +0100
+++ new/ginac-1.8.6/ginac.pc    2023-02-08 20:23:47.000000000 +0100
@@ -5,7 +5,7 @@
 
 Name: GiNaC
 Description: C++ library for symbolic calculations
-Version: 1.8.5
+Version: 1.8.6
 Requires: cln >= 1.2.2
 Libs: -L${libdir} -lginac -Wl,-rpath -Wl,${libdir}
 Cflags: -I${includedir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/m4/host-cpu-c-abi.m4 new/ginac-1.8.6/m4/host-cpu-c-abi.m4
--- old/ginac-1.8.5/m4/host-cpu-c-abi.m4        2022-12-31 19:47:20.000000000 
+0100
+++ new/ginac-1.8.6/m4/host-cpu-c-abi.m4        2023-02-08 20:21:14.000000000 
+0100
@@ -1,5 +1,5 @@
 # host-cpu-c-abi.m4 serial 15
-dnl Copyright (C) 2002-2022 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/m4/lib-ld.m4 new/ginac-1.8.6/m4/lib-ld.m4
--- old/ginac-1.8.5/m4/lib-ld.m4        2022-12-31 19:47:20.000000000 +0100
+++ new/ginac-1.8.6/m4/lib-ld.m4        2023-02-08 20:17:50.000000000 +0100
@@ -1,5 +1,5 @@
 # lib-ld.m4 serial 10
-dnl Copyright (C) 1996-2003, 2009-2022 Free Software Foundation, Inc.
+dnl Copyright (C) 1996-2003, 2009-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/m4/lib-link.m4 new/ginac-1.8.6/m4/lib-link.m4
--- old/ginac-1.8.5/m4/lib-link.m4      2022-12-31 19:47:20.000000000 +0100
+++ new/ginac-1.8.6/m4/lib-link.m4      2023-02-08 20:20:49.000000000 +0100
@@ -1,5 +1,5 @@
 # lib-link.m4 serial 33
-dnl Copyright (C) 2001-2022 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/m4/lib-prefix.m4 new/ginac-1.8.6/m4/lib-prefix.m4
--- old/ginac-1.8.5/m4/lib-prefix.m4    2022-12-31 19:47:20.000000000 +0100
+++ new/ginac-1.8.6/m4/lib-prefix.m4    2023-02-08 20:21:00.000000000 +0100
@@ -1,5 +1,5 @@
 # lib-prefix.m4 serial 20
-dnl Copyright (C) 2001-2005, 2008-2022 Free Software Foundation, Inc.
+dnl Copyright (C) 2001-2005, 2008-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ginac-1.8.5/m4/ltsugar.m4 new/ginac-1.8.6/m4/ltsugar.m4
--- old/ginac-1.8.5/m4/ltsugar.m4       2022-02-20 21:55:07.000000000 +0100
+++ new/ginac-1.8.6/m4/ltsugar.m4       2023-02-08 20:19:51.000000000 +0100
@@ -1,6 +1,6 @@
 # ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
 #
-# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
+# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software
 # Foundation, Inc.
 # Written by Gary V. Vaughan, 2004
 #

++++++ ginac-doc-latex-symbol-error.patch ++++++
>From e8bd7a51450cc03faf0225ac4850d925c51275b2 Mon Sep 17 00:00:00 2001
From: Richard Kreckel <krec...@ginac.de>
Date: Sun, 12 Feb 2023 00:09:48 +0100
Subject: [PATCH] [DOC] Fix build of reference.pdf.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

This is obnoxious: It is 2023, the ≥ character is in Unicode since
1993, and UTF-8 is ubiquitous. Yet, pdfLaTeX balks at this.

Maybe the right fix would be to switch to LuaLaTeX. Alas, that doesn't
seem to have reached the necessary maturity yet:
<https://tug.org/pipermail/luatex/2023-February/007799.html>
---
 ginac/numeric.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp
index 
c28cc56ad2853a34882800a5c272bf40ecc66480..92b3c46645f71bbf1ff028244d9c4320965e6fba
 100644 (file)
--- a/ginac/numeric.cpp
+++ b/ginac/numeric.cpp
@@ -2139,7 +2139,7 @@ const numeric doublefactorial(const numeric &n)
 /** The Binomial coefficients.  It computes the binomial coefficients.  For
  *  integer n and k and positive n this is the number of ways of choosing k
  *  objects from n distinct objects.  If n is a negative integer, the formula
- *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k≥0)
+ *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
  *  binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
  *  is used to compute the result. */
 const numeric binomial(const numeric &n, const numeric &k)
-- 
2.40.1

Reply via email to