openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2021
- 1 participants
- 2330 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package postgresql-pgagent for openSUSE:Factory checked in at 2021-07-01 07:05:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postgresql-pgagent (Old)
and /work/SRC/openSUSE:Factory/.postgresql-pgagent.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql-pgagent"
Thu Jul 1 07:05:48 2021 rev:5 rq:903259 version:4.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/postgresql-pgagent/postgresql-pgagent.changes 2021-01-27 18:57:27.748361683 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql-pgagent.new.2625/postgresql-pgagent.changes 2021-07-01 07:06:11.275217672 +0200
@@ -1,0 +2,5 @@
+Wed Jun 30 14:28:06 UTC 2021 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- do not build postgresql95 and postgresql96 flavors on Tumbleweed.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postgresql-pgagent.spec ++++++
--- /var/tmp/diff_new_pack.HQMdRo/_old 2021-07-01 07:06:11.727214142 +0200
+++ /var/tmp/diff_new_pack.HQMdRo/_new 2021-07-01 07:06:11.731214111 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package postgresql-pgagent
+# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@@ -30,10 +30,10 @@
%if 0%{?suse_version} == 1500 && "%{pgname}" == "postgresql94"
ExclusiveArch: do_not_build
%endif
-%if 0%{?suse_version} == 1500 && "%{pgname}" == "postgresql95"
+%if 0%{?suse_version} >= 1500 && "%{pgname}" == "postgresql95"
ExclusiveArch: do_not_build
%endif
-%if !0%{?is_opensuse} && 0%{?suse_version} == 1500 && "%{pgname}" == "postgresql96"
+%if 0%{?suse_version} >= 1500 && "%{pgname}" == "postgresql96"
ExclusiveArch: do_not_build
%endif
%if !0%{?is_opensuse} && 0%{?suse_version} == 1500 && "%{pgname}" == "postgresql11"
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package remmina for openSUSE:Factory checked in at 2021-07-01 07:05:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/remmina (Old)
and /work/SRC/openSUSE:Factory/.remmina.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "remmina"
Thu Jul 1 07:05:47 2021 rev:68 rq:903244 version:1.4.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/remmina/remmina.changes 2021-06-04 22:44:44.915228718 +0200
+++ /work/SRC/openSUSE:Factory/.remmina.new.2625/remmina.changes 2021-07-01 07:06:09.635230484 +0200
@@ -1,0 +2,23 @@
+Wed Jun 30 13:45:32 UTC 2021 - Johannes Weberhofer <jweberhofer(a)weberhofer.at>
+
+- App-Indicator is now required
+- Added upstream mark-appindicator-as-required.patch to see better error messages
+ when appindicator is not around
+
+- Update to 1.4.19
+ * Fix Freerdp Git Revision !2277
+ * UI improvements and cleanup !2278
+ * Desktop integration for the Remmina SNAP !2279
+ * Add process-control to the remmina snap !2276
+ * Adding SSH_AGENT support to the snap package !2280
+ * Adding option to disable smooth scrolling !2281
+ * Scrolled Viewport: use viewport_motion_handler as the only timeout indicator !2282
+ * Adding TCP redirection through rdp2tcp !2283
+ * Added setting for RDP number of reconnect attempts !2284
+ * Add RDP reconnect interrupt on window close, fix crash introduced with 7c13b918.
+ Should fix #2079 (closed) !2286
+ * Removing GtkStatusIcon as deprecated !2285
+ * Adding advanced option to share multiple folders !2287
+ * Profile list grabs the focus when search is hidden !2288
+
+-------------------------------------------------------------------
Old:
----
Remmina-v1.4.18.tar.bz2
New:
----
Remmina-v1.4.19.tar.bz2
mark-appindicator-as-required.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ remmina.spec ++++++
--- /var/tmp/diff_new_pack.qAowaY/_old 2021-07-01 07:06:10.119226703 +0200
+++ /var/tmp/diff_new_pack.qAowaY/_new 2021-07-01 07:06:10.119226703 +0200
@@ -19,19 +19,19 @@
%bcond_without remmina_nx
%if 0%{?is_opensuse}
%bcond_without remmina_kwallet
-%bcond_without remmina_appindicator
%else
%bcond_with remmina_kwallet
-%bcond_with remmina_appindicator
%endif
Name: remmina
-Version: 1.4.18
+Version: 1.4.19
Release: 0
Summary: Versatile Remote Desktop Client
License: GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://www.remmina.org/
Source0: https://gitlab.com/Remmina/Remmina/-/archive/v%{version}/Remmina-v%{version…
+# PATCH-FIX-UPSTREAM mark-appindicator-as-required.patch gl#Remmina/Remmina#2290
+Patch0: mark-appindicator-as-required.patch
BuildRequires: cmake
BuildRequires: cups-devel
BuildRequires: ed
@@ -44,6 +44,7 @@
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
+BuildRequires: pkgconfig(appindicator3-0.1)
BuildRequires: pkgconfig(atk)
BuildRequires: pkgconfig(avahi-glib)
BuildRequires: pkgconfig(cairo)
@@ -75,9 +76,6 @@
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(wayland-client)
%endif
-%if %{with remmina_appindicator}
-BuildRequires: pkgconfig(appindicator3-0.1)
-%endif
%description
Remmina is a remote desktop client written in GTK+, aiming to be useful for
@@ -225,11 +223,7 @@
%else
-DWITH_KF5WALLET=OFF \
%endif
-%if %{with remmina_appindicator}
-DWITH_APPINDICATOR=ON \
-%else
- -DWITH_APPINDICATOR=OFF \
-%endif
%if %{with remmina_nx}
-DWITH_NX=ON \
%else
@@ -252,7 +246,7 @@
%fdupes %{buildroot}%{_datadir}/remmina
%fdupes %{buildroot}%{_datadir}/icons/hicolor/*/actions
-%fdupes %{buildroot}%{_datadir}/icons/hicolor/scalable/panel
+%fdupes %{buildroot}%{_datadir}/icons/hicolor/[0-9]*
%find_lang %{name}
@@ -336,7 +330,7 @@
%{_datadir}/icons/hicolor/apps/remmina-symbolic.svg
%{_datadir}/icons/hicolor/scalable/emblems/remmina-sftp-symbolic.svg
%{_datadir}/icons/hicolor/scalable/emblems/remmina-ssh-symbolic.svg
-%{_datadir}/icons/hicolor/scalable/panel
+%{_datadir}/icons/hicolor/[1-9]*
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.remmina.Remmina.appdata.xml
%{_datadir}/mime/packages/%{name}-mime.xml
++++++ Remmina-v1.4.18.tar.bz2 -> Remmina-v1.4.19.tar.bz2 ++++++
++++ 155030 lines of diff (skipped)
++++++ mark-appindicator-as-required.patch ++++++
From f380ac597e8e6495701562a4b5263f661a952126 Mon Sep 17 00:00:00 2001
From: Antenore Gatta <antenore(a)simbiosi.org>
Date: Tue, 29 Jun 2021 22:44:40 +0200
Subject: [PATCH] Mark appindicator as required
---
cmake/FindAPPINDICATOR.cmake | 2 +-
src/CMakeLists.txt | 6 +++++-
src/remmina_icon.c | 26 --------------------------
3 files changed, 6 insertions(+), 28 deletions(-)
diff --git a/cmake/FindAPPINDICATOR.cmake b/cmake/FindAPPINDICATOR.cmake
index d5e4e0623..916fc5757 100644
--- a/cmake/FindAPPINDICATOR.cmake
+++ b/cmake/FindAPPINDICATOR.cmake
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
include(FindPackageHandleStandardArgs)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c670c55d0..03270e54b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -265,11 +265,15 @@ if(sodium_FOUND)
endif()
if(GTK3_FOUND)
- find_suggested_package(APPINDICATOR)
+ find_required_package(APPINDICATOR)
if(APPINDICATOR_FOUND)
add_definitions(-DHAVE_LIBAPPINDICATOR)
include_directories(${APPINDICATOR_INCLUDE_DIRS})
target_link_libraries(remmina ${APPINDICATOR_LIBRARIES})
+ message(STATUS "AppIndicator library dirs ${APPINDICATOR_LIBRARIES}")
+ message(STATUS "AppIndicator include dirs ${APPINDICATOR_INCLUDE_DIRS}")
+ else()
+ message(FATAL_ERROR "AppIndicator not found")
endif()
find_required_package(JSONGLIB)
if(JSONGLIB_FOUND)
diff --git a/src/remmina_icon.c b/src/remmina_icon.c
index 332a78c3f..20b5bf941 100644
--- a/src/remmina_icon.c
+++ b/src/remmina_icon.c
@@ -58,10 +58,8 @@
#endif
typedef struct _RemminaIcon {
-#ifdef HAVE_LIBAPPINDICATOR
AppIndicator * icon;
gboolean indicator_connected;
-#endif
RemminaAvahi * avahi;
guint32 popup_time;
gchar * autostart_file;
@@ -74,9 +72,7 @@ void remmina_icon_destroy(void)
{
TRACE_CALL(__func__);
if (remmina_icon.icon) {
-#ifdef HAVE_LIBAPPINDICATOR
app_indicator_set_status(remmina_icon.icon, APP_INDICATOR_STATUS_PASSIVE);
-#endif
remmina_icon.icon = NULL;
}
if (remmina_icon.avahi) {
@@ -240,8 +236,6 @@ static void remmina_icon_populate_extra_menu_item(GtkWidget *menu)
g_signal_connect(G_OBJECT(menu), "edit-item", G_CALLBACK(remmina_icon_on_edit_item), NULL);
}
-#ifdef HAVE_LIBAPPINDICATOR
-
void
remmina_icon_populate_menu(void)
{
@@ -265,8 +259,6 @@ remmina_icon_populate_menu(void)
}
}
-#endif
-
static void remmina_icon_save_autostart_file(GKeyFile *gkeyfile)
{
TRACE_CALL(__func__);
@@ -355,22 +347,13 @@ void remmina_icon_init(void)
strcpy(msg, "StatusNotifier/Appindicator support: ");
if (sni_supported) {
REMMINA_DEBUG("%s your desktop does support it", msg);
-#ifdef HAVE_LIBAPPINDICATOR
REMMINA_DEBUG("%s and libappindicator is compiled in Remmina. Good.", msg);
-#else
- REMMINA_DEBUG("%s, but you did not compile Remmina with CMake���s -DWITH_APPINDICATOR=on", msg);
-#endif
} else {
-#ifdef HAVE_LIBAPPINDICATOR
REMMINA_DEBUG("%snot supported by desktop. libappindicator will try to fallback to GtkStatusIcon/xembed", msg);
-#else
- REMMINA_DEBUG("%snot supported by desktop.", msg);
-#endif
}
if (!remmina_icon.icon && !remmina_pref.disable_tray_icon) {
-#ifdef HAVE_LIBAPPINDICATOR
remmina_icon.icon = app_indicator_new("remmina-icon", remmina_panel, APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
//app_indicator_set_icon_theme_path(remmina_icon.icon, REMMINA_RUNTIME_DATADIR G_DIR_SEPARATOR_S "icons");
//const gchar *theme_path = app_indicator_get_icon_theme_path(remmina_icon.icon);
@@ -379,18 +362,11 @@ void remmina_icon_init(void)
app_indicator_set_status(remmina_icon.icon, APP_INDICATOR_STATUS_ACTIVE);
app_indicator_set_title(remmina_icon.icon, "Remmina");
remmina_icon_populate_menu();
-#else
- REMMINA_DEBUG("GtkStatusIcon support has been droppen since Gtk 3.14")
-#endif
} else if (remmina_icon.icon) {
-#ifdef HAVE_LIBAPPINDICATOR
app_indicator_set_status(remmina_icon.icon, remmina_pref.disable_tray_icon ?
APP_INDICATOR_STATUS_PASSIVE : APP_INDICATOR_STATUS_ACTIVE);
/* With libappindicator we can also change the icon on the fly */
app_indicator_set_icon(remmina_icon.icon, remmina_panel);
-#else
- REMMINA_DEBUG("GtkStatusIcon support has been droppen since Gtk 3.14")
-#endif
}
if (!remmina_icon.avahi)
remmina_icon.avahi = remmina_avahi_new();
@@ -407,10 +383,8 @@ void remmina_icon_init(void)
remmina_icon_create_autostart_file();
}
// "connected" property means a visible indicator, otherwise could be hidden. or fall back to GtkStatusIcon
-#ifdef HAVE_LIBAPPINDICATOR
g_signal_connect (G_OBJECT(remmina_icon.icon), "connection-changed", G_CALLBACK(remmina_icon_connection_changed_cb), NULL);
g_object_get(G_OBJECT(remmina_icon.icon), "connected", &remmina_icon.indicator_connected, NULL);
-#endif
}
gboolean remmina_icon_is_autostart(void)
--
GitLab
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nodejs-electron for openSUSE:Factory checked in at 2021-07-01 07:05:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
and /work/SRC/openSUSE:Factory/.nodejs-electron.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron"
Thu Jul 1 07:05:47 2021 rev:2 rq:903240 version:13.1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2021-06-29 22:43:23.326883858 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.2625/nodejs-electron.changes 2021-07-01 07:06:04.271272384 +0200
@@ -1,0 +2,16 @@
+Tue Jun 29 07:01:44 UTC 2021 - Andreas Schneider <asn(a)cryptomilk.org>
+
+- Fix build on openSUSE 15.3
+- Allow to build on Fedora (not fully working yet)
+
+-------------------------------------------------------------------
+Fri Jun 25 15:10:42 UTC 2021 - Andreas Schneider <asn(a)cryptomilk.org>
+
+- Build with gcc
+ * add chromium-91-GCC_fix_vector_types_in_pcscan.patch
+ * add electron-13-gcc-fix-v8-nodiscard.patch
+ * add electron-13-blink-gcc-ambiguous-nodestructor.patch
+ * add chromium-gcc11.patch
+ * This fixes speed issues
+
+-------------------------------------------------------------------
New:
----
chromium-91-GCC_fix_vector_types_in_pcscan.patch
chromium-gcc11.patch
electron-13-blink-gcc-ambiguous-nodestructor.patch
electron-13-gcc-fix-v8-nodiscard.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.rb49MQ/_old 2021-07-01 07:06:09.295233139 +0200
+++ /var/tmp/diff_new_pack.rb49MQ/_new 2021-07-01 07:06:09.299233108 +0200
@@ -1,7 +1,7 @@
+#
# spec file for package nodejs-electron
#
# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2020 SUSE LLC, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define mod_name electron
%ifarch x86_64
-%if %{?suse_version} > 1500
+%if 0%{?suse_version} > 1500 || 0%{?fedora_version}
%bcond_without lto
# else suse_version
%else
@@ -30,7 +30,7 @@
%bcond_with lto
# endif arch x86_64
%endif
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
+%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200 || 0%{?fedora_version}
%bcond_without pipewire
%else
%bcond_with pipewire
@@ -42,7 +42,7 @@
%endif
# vaapi still requires bundled libvpx
%bcond_with system_vpx
-%bcond_without clang
+%bcond_with clang
Name: nodejs-electron
Version: 13.1.4
Release: 0
@@ -56,7 +56,11 @@
Source11: electron.desktop
Source12: electron-logo-symbolic.svg
Patch0: chromium-90-compiler.patch
+%if 0%{?sle_version} < 150300 || 0%{?fedora_version} < 34
+# Fixed with ld.gold >= 2.36
+# https://sourceware.org/bugzilla/show_bug.cgi?id=26200
Patch1: chromium-disable-parallel-gold.patch
+%endif
Patch2: chromium-glibc-2.33.patch
Patch3: chromium-lp152-missing-includes.patch
Patch4: chromium-norar.patch
@@ -67,6 +71,8 @@
Patch10: chromium-88-gcc-fix-swiftshader-libEGL-visibility.patch
Patch11: chromium-vaapi.patch
Patch12: chromium-86-fix-vaapi-on-intel.patch
+Patch13: chromium-91-GCC_fix_vector_types_in_pcscan.patch
+Patch14: chromium-gcc11.patch
# Fix building sql recover_module
Patch20: electron-13-fix-sql-virtualcursor-type.patch
# Always disable use_thin_lto which is an lld feature
@@ -77,6 +83,10 @@
# 'nomerge' attribute cannot be applied to a declaration
# See https://reviews.llvm.org/D92800
Patch22: electron-13-fix-base-check-nomerge.patch
+# Mark [nodiscard] as unsupported
+Patch23: electron-13-gcc-fix-v8-nodiscard.patch
+# Fix blink nodestructor
+Patch24: electron-13-blink-gcc-ambiguous-nodestructor.patch
BuildRequires: SDL-devel
BuildRequires: binutils-gold
BuildRequires: bison
@@ -92,22 +102,33 @@
BuildRequires: libcap-devel
BuildRequires: libdc1394
BuildRequires: libgcrypt-devel
+%if 0%{?suse_version}
BuildRequires: libgsm-devel
+%else
+BuildRequires: gsm-devel
+%endif
BuildRequires: libpng-devel
BuildRequires: memory-constraints
BuildRequires: nasm
BuildRequires: ncurses-devel
+%if 0%{?suse_version}
BuildRequires: ninja >= 1.7.2
+%else
+BuildRequires: ninja-build >= 1.7.2
+%endif
BuildRequires: nodejs >= 8.0
BuildRequires: npm
BuildRequires: pam-devel
BuildRequires: pkgconfig
-BuildRequires: python
-BuildRequires: python-xml
-BuildRequires: python2-setuptools
+BuildRequires: python2
+%if 0%{?suse_version}
+BuildRequires: python2-xml
+%endif
BuildRequires: rsync
BuildRequires: snappy-devel
+%if 0%{?suse_version}
BuildRequires: update-desktop-files
+%endif
BuildRequires: util-linux
BuildRequires: wdiff
BuildRequires: perl(Switch)
@@ -115,7 +136,6 @@
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(cairo) >= 1.6
BuildRequires: pkgconfig(dbus-1)
-BuildRequires: pkgconfig(dirac) >= 1.0.0
BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(flac++)
@@ -133,10 +153,12 @@
BuildRequires: pkgconfig(kadm-client)
BuildRequires: pkgconfig(kdb)
BuildRequires: pkgconfig(krb5)
+%if 0%{?suse_version}
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat) >= 58
BuildRequires: pkgconfig(libavutil)
+%endif
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libdc1394-2)
@@ -207,7 +229,7 @@
# Always required for clang-format
BuildRequires: clang >= 8.0.0
%if %{without clang}
-%if %{?suse_version} > 1500
+%if 0%{?suse_version} >= 1550 || 0%{?fedora_version}
BuildRequires: gcc >= 10
BuildRequires: gcc-c++ >= 10
%else
@@ -236,15 +258,15 @@
# Required for third_party/blink/renderer/bindings/scripts/generate_bindings.py
ln -sf %{_bindir}/clang-format buildtools/linux64/clang-format
+# Fix the path to nodejs binary
+mkdir -p third_party/node/linux/node-linux-x64/bin
+ln -sf %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
+
# Fix shim header generation
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
tools/generate_shim_headers/generate_shim_headers.py
%build
-# Fix the path to nodejs binary
-mkdir -p third_party/node/linux/node-linux-x64/bin
-ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
-
# GN sets lto on its own and we need just ldflag options, not cflags
%define _lto_cflags %{nil}
@@ -263,7 +285,7 @@
# REDUCE DEBUG as it gets TOO large
ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ -g$//g'`"
-export CXXFLAGS="${ARCH_FLAGS} -Wno-return-type"
+export CXXFLAGS="${CXXFLAGS} ${ARCH_FLAGS} -Wno-return-type"
# extra flags to reduce warnings that aren't very useful
export CXXFLAGS="${CXXFLAGS} -Wno-pedantic -Wno-unused-result -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations"
# ignore warnings for minor mistakes that are too common
@@ -277,8 +299,14 @@
export CFLAGS="${CXXFLAGS}"
export CXXFLAGS="${CXXFLAGS} -Wno-subobject-linkage -Wno-class-memaccess -Wno-invalid-offsetof -fpermissive"
+
+%if 0%{?suse_version} >= 1550 || 0%{?fedora_version}
export CC=gcc
export CXX=g++
+%else
+export CC=gcc-10
+export CXX=g++-10
+%endif
# endif with clang
%endif
++++++ chromium-91-GCC_fix_vector_types_in_pcscan.patch ++++++
From: Stephan Hartmann <stha09(a)googlemail.com>
Subject: GCC: fix vector types in pcscan
Date: Sat Apr 10 17:02:49 2021
References: https://chromium.googlesource.com/chromium/src/+/429e6f78a88473208e96689afa…
Index: chromium-91.0.4472.57/base/allocator/partition_allocator/starscan/pcscan.cc
===================================================================
--- chromium-91.0.4472.57.orig/base/allocator/partition_allocator/starscan/pcscan.cc
+++ chromium-91.0.4472.57/base/allocator/partition_allocator/starscan/pcscan.cc
@@ -1143,7 +1143,7 @@ class PCScanTask::ScanLoop final {
const __m128i maybe_ptrs =
_mm_loadu_si128(reinterpret_cast<__m128i*>(payload));
const __m128i vand = _mm_and_si128(maybe_ptrs, cage_mask);
- const __m128d vcmp = _mm_cmpeq_epi64(vand, vbase);
+ const __m128i vcmp = _mm_cmpeq_epi64(vand, vbase);
const int mask = _mm_movemask_pd(_mm_castsi128_pd(vcmp));
if (LIKELY(!mask))
continue;
@@ -1153,15 +1153,14 @@ class PCScanTask::ScanLoop final {
if (mask & 0b01) {
quarantine_size +=
pcscan_task_.TryMarkObjectInNormalBuckets<GigaCageLookupPolicy>(
- _mm_cvtsi128_si64(_mm_castpd_si128(maybe_ptrs)));
+ _mm_cvtsi128_si64(maybe_ptrs));
}
if (mask & 0b10) {
// Extraction intrinsics for qwords are only supported in SSE4.1, so
// instead we reshuffle dwords with pshufd. The mask is used to move the
// 4th and 3rd dwords into the second and first position.
static constexpr int kSecondWordMask = (3 << 2) | (2 << 0);
- const __m128i shuffled =
- _mm_shuffle_epi32(_mm_castpd_si128(maybe_ptrs), kSecondWordMask);
+ const __m128i shuffled = _mm_shuffle_epi32(maybe_ptrs, kSecondWordMask);
quarantine_size +=
pcscan_task_.TryMarkObjectInNormalBuckets<GigaCageLookupPolicy>(
_mm_cvtsi128_si64(shuffled));
++++++ chromium-gcc11.patch ++++++
diff --git a/third_party/angle/src/libANGLE/HandleAllocator.cpp b/third_party/angle/src/libANGLE/HandleAllocator.cpp
index 013f1dfb2..3ce63c192 100644
--- a/third_party/angle/src/libANGLE/HandleAllocator.cpp
+++ b/third_party/angle/src/libANGLE/HandleAllocator.cpp
@@ -9,6 +9,7 @@
#include "libANGLE/HandleAllocator.h"
+#include <limits>
#include <algorithm>
#include <functional>
diff --git a/third_party/perfetto/src/trace_processor/containers/string_pool.cc b/third_party/perfetto/src/trace_processor/containers/string_pool.cc
index fd651958f..1e8d0606c 100644
--- a/third_party/perfetto/src/trace_processor/containers/string_pool.cc
+++ b/third_party/perfetto/src/trace_processor/containers/string_pool.cc
@@ -14,9 +14,9 @@
* limitations under the License.
*/
+#include <limits>
#include "src/trace_processor/containers/string_pool.h"
-#include <limits>
#include "perfetto/base/logging.h"
#include "perfetto/ext/base/utils.h"
diff --git a/third_party/perfetto/src/trace_processor/db/column.cc b/third_party/perfetto/src/trace_processor/db/column.cc
index 00496b335..0dccfeb8a 100644
--- a/third_party/perfetto/src/trace_processor/db/column.cc
+++ b/third_party/perfetto/src/trace_processor/db/column.cc
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <limits>
#include "src/trace_processor/db/column.h"
#include "src/trace_processor/db/compare.h"
diff --git a/third_party/perfetto/src/trace_processor/types/variadic.cc b/third_party/perfetto/src/trace_processor/types/variadic.cc
index 837bfeba9..cdd56817d 100644
--- a/third_party/perfetto/src/trace_processor/types/variadic.cc
+++ b/third_party/perfetto/src/trace_processor/types/variadic.cc
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <limits>
#include "src/trace_processor/types/variadic.h"
namespace perfetto {
diff --git a/ui/accessibility/platform/ax_platform_atk_hyperlink.cc b/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
index be91def6b..73f202356 100644
--- a/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
+++ b/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
@@ -245,7 +245,7 @@ static void AXPlatformAtkHyperlinkInit(AXPlatformAtkHyperlink* self, gpointer) {
}
GType ax_platform_atk_hyperlink_get_type() {
- static volatile gsize type_volatile = 0;
+ static gsize type_volatile = 0;
AXPlatformNodeAuraLinux::EnsureGTypeInit();
diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.cc b/ui/accessibility/platform/ax_platform_node_auralinux.cc
index 04125c6fd..6c64e5d8e 100644
--- a/ui/accessibility/platform/ax_platform_node_auralinux.cc
+++ b/ui/accessibility/platform/ax_platform_node_auralinux.cc
@@ -2274,7 +2274,7 @@ void ClassInit(gpointer class_pointer, gpointer /* class_data */) {
GType GetType() {
AXPlatformNodeAuraLinux::EnsureGTypeInit();
- static volatile gsize type_volatile = 0;
+ static gsize type_volatile = 0;
if (g_once_init_enter(&type_volatile)) {
static const GTypeInfo type_info = {
sizeof(AXPlatformNodeAuraLinuxClass), // class_size
diff --git a/ui/gtk/gtk_key_bindings_handler.cc b/ui/gtk/gtk_key_bindings_handler.cc
index c663a2074..38a342484 100644
--- a/ui/gtk/gtk_key_bindings_handler.cc
+++ b/ui/gtk/gtk_key_bindings_handler.cc
@@ -141,7 +141,7 @@ void GtkKeyBindingsHandler::HandlerClassInit(HandlerClass* klass) {
}
GType GtkKeyBindingsHandler::HandlerGetType() {
- static volatile gsize type_id_volatile = 0;
+ static gsize type_id_volatile = 0;
if (g_once_init_enter(&type_id_volatile)) {
GType type_id = g_type_register_static_simple(
GTK_TYPE_TEXT_VIEW, g_intern_static_string("GtkKeyBindingsHandler"),
diff --git a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
index c0b5a805b..e6f921926 100644
--- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <cstddef>
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
#include "base/observer_list.h"
diff --git a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
index 4ad2afa1f..5c4596e12 100644
--- a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
+++ b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <cstddef>
#include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
#include <stdint.h>
diff --git a/components/bookmarks/browser/base_bookmark_model_observer.cc b/components/bookmarks/browser/base_bookmark_model_observer.cc
index 657a3c96b..ad641a082 100644
--- a/components/bookmarks/browser/base_bookmark_model_observer.cc
+++ b/components/bookmarks/browser/base_bookmark_model_observer.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <cstddef>
+
#include "components/bookmarks/browser/base_bookmark_model_observer.h"
namespace bookmarks {
++++++ electron-13-blink-gcc-ambiguous-nodestructor.patch ++++++
Index: electron-13.1.4/media/blink/multibuffer_data_source.cc
===================================================================
--- electron-13.1.4.orig/media/blink/multibuffer_data_source.cc 2021-06-25 10:21:41.234607393 +0200
+++ electron-13.1.4/media/blink/multibuffer_data_source.cc 2021-06-28 15:52:42.017709873 +0200
@@ -62,10 +62,10 @@ const int kUpdateBufferSizeFrequency = 3
constexpr base::TimeDelta kSeekDelay = base::TimeDelta::FromMilliseconds(20);
std::vector<std::string>* GetStreamingSchemes() {
- static base::NoDestructor<std::vector<std::string>> streaming_schemes({
+ static base::NoDestructor<std::vector<std::string>> streaming_schemes{{
url::kHttpsScheme,
url::kHttpScheme
- });
+ }};
return streaming_schemes.get();
}
++++++ electron-13-gcc-fix-v8-nodiscard.patch ++++++
Index: electron-13.1.4/v8/include/v8config.h
===================================================================
--- electron-13.1.4.orig/v8/include/v8config.h 2021-06-25 16:40:49.550560838 +0200
+++ electron-13.1.4/v8/include/v8config.h 2021-06-25 16:40:59.258618575 +0200
@@ -336,7 +336,7 @@ path. Add it with -I<path> to the comman
# define V8_HAS_ATTRIBUTE_UNUSED 1
# define V8_HAS_ATTRIBUTE_VISIBILITY 1
# define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT (!V8_CC_INTEL)
-# define V8_HAS_CPP_ATTRIBUTE_NODISCARD (V8_HAS_CPP_ATTRIBUTE(nodiscard))
+# define V8_HAS_CPP_ATTRIBUTE_NODISCARD 0
# define V8_HAS_BUILTIN_ASSUME_ALIGNED 1
# define V8_HAS_BUILTIN_CLZ 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-containerregistry for openSUSE:Factory checked in at 2021-07-01 07:05:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-containerregistry (Old)
and /work/SRC/openSUSE:Factory/.python-azure-containerregistry.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-containerregistry"
Thu Jul 1 07:05:45 2021 rev:2 rq:903222 version:1.0.0b3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-containerregistry/python-azure-containerregistry.changes 2021-06-15 16:38:06.545773716 +0200
+++ /work/SRC/openSUSE:Factory/.python-azure-containerregistry.new.2625/python-azure-containerregistry.changes 2021-07-01 07:06:02.679284821 +0200
@@ -1,0 +2,8 @@
+Wed Jun 30 11:41:37 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- New upstream release
+ + Version 1.0.0b3
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+
+-------------------------------------------------------------------
Old:
----
azure-containerregistry-1.0.0b2.zip
New:
----
azure-containerregistry-1.0.0b3.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-containerregistry.spec ++++++
--- /var/tmp/diff_new_pack.Wl0upv/_old 2021-07-01 07:06:03.179280915 +0200
+++ /var/tmp/diff_new_pack.Wl0upv/_new 2021-07-01 07:06:03.183280883 +0200
@@ -21,7 +21,7 @@
%define skip_python2 1
%endif
Name: python-azure-containerregistry
-Version: 1.0.0b2
+Version: 1.0.0b3
Release: 0
Summary: Microsoft Azure Container Registry Client Library for Python
License: MIT
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package sirocco for openSUSE:Factory checked in at 2021-07-01 07:05:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sirocco (Old)
and /work/SRC/openSUSE:Factory/.sirocco.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sirocco"
Thu Jul 1 07:05:46 2021 rev:2 rq:903226 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/sirocco/sirocco.changes 2020-09-15 16:27:33.322554579 +0200
+++ /work/SRC/openSUSE:Factory/.sirocco.new.2625/sirocco.changes 2021-07-01 07:06:03.375279384 +0200
@@ -1,0 +2,7 @@
+Wed Jun 30 11:20:09 UTC 2021 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Update to release 2.1.0
+ * This release adds support for treating the different factors
+ of a polynomial separately.
+
+-------------------------------------------------------------------
Old:
----
libsirocco-2.0.2.tar.gz
New:
----
libsirocco-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sirocco.spec ++++++
--- /var/tmp/diff_new_pack.tRwOki/_old 2021-07-01 07:06:03.811275977 +0200
+++ /var/tmp/diff_new_pack.tRwOki/_new 2021-07-01 07:06:03.811275977 +0200
@@ -1,7 +1,7 @@
#
# spec file for package sirocco
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define lname libsirocco0
Name: sirocco
-Version: 2.0.2
+Version: 2.1.0
Release: 0
Summary: Library for computing homotopy continuation of roots
License: GPL-3.0-or-later
++++++ libsirocco-2.0.2.tar.gz -> libsirocco-2.1.0.tar.gz ++++++
++++ 6569 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/libsirocco-2.0.2/README.md new/libsirocco-2.1.0/README.md
--- old/libsirocco-2.0.2/README.md 2020-02-16 20:38:32.000000000 +0100
+++ new/libsirocco-2.1.0/README.md 2021-06-30 11:56:56.000000000 +0200
@@ -10,7 +10,7 @@
sage -i sirocco
```
-and you can use it from Sage as explained in the Sage documentation for
+and you can use it from Sage as explained in the Sage documentation for
[affine](https://doc.sagemath.org/html/en/reference/curves/sage/schemes/curv…
and [projective](https://doc.sagemath.org/html/en/reference/curves/sage/schemes/… curves.
@@ -277,8 +277,32 @@
as before.
-## To do:
-
- - include an option for passing the factors of the polynomial, for the cases
-where the original polynomial is reducible. This might speed up the computations
+## Multiple components:
+In the case where the polynomial is reducible, its roots can be tracked for each
+factor separatedly. In that case, each root is tracked for its corresponding factor,
+making sure that there is no root of the other factors in the corresponding bounding
+box.
+
+The functions to do so are `homotopyPath_comps` and `homotopyPath_mp_comps`.
+Their interface is similar to the ones of `homotopyPath` and `homotopyPath_mp`, but
+including the other factors. That is:
+
+- `int degree` : the degree of the factor whose root is being tracked
+- `double *_coef` : a malloc'ed array with the coefficients of that factor
+- `double _y0R` : the real part of the starting root
+- `double _y0I` : the imaginary part of the starting root
+- `int nothercomps` : the number of the other factors of the polynomial
+- `int *degreescomps` : an array with the degrees of the other factors
+- `double *_coefscomps` : an array with the coefficients of the other factors, all concatenated in just one array.
+
+The multiple precission version works similarly, but changing the doubles by mpfr numbers, and having an extra parameter with the used precission:
+
+- `int degree` : the degree of the factor whose root is being tracked
+- `mpfr_t *_coef` : a malloc'ed array with the coefficients of that factor
+- `mpfr_t _y0R` : the real part of the starting root
+- `mpfr_t _y0I` : the imaginary part of the starting root
+- `int prec` : the used precission
+- `int nothercomps` : the number of the other factors of the polynomial
+- `int *degreescomps` : an array with the degrees of the other factors
+- `mpfr_t *_coefscomps` : an array with the coefficients of the other factors, all concatenated in just one array.
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/libsirocco-2.0.2/build-aux/ar-lib new/libsirocco-2.1.0/build-aux/ar-lib
--- old/libsirocco-2.0.2/build-aux/ar-lib 2020-02-08 11:56:17.000000000 +0100
+++ new/libsirocco-2.1.0/build-aux/ar-lib 2017-02-28 10:35:32.000000000 +0100
@@ -4,7 +4,7 @@
me=ar-lib
scriptversion=2012-03-01.08; # UTC
-# Copyright (C) 2010-2018 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
# Written by Peter Rosin <peda(a)lysator.liu.se>.
#
# This program is free software; you can redistribute it and/or modify
@@ -18,7 +18,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <https://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
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/libsirocco-2.0.2/build-aux/compile new/libsirocco-2.1.0/build-aux/compile
--- old/libsirocco-2.0.2/build-aux/compile 2020-02-08 11:56:17.000000000 +0100
+++ new/libsirocco-2.1.0/build-aux/compile 2017-02-28 10:35:32.000000000 +0100
@@ -1,9 +1,9 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2012-10-14.11; # UTC
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey(a)cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <https://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -255,8 +255,7 @@
echo "compile $scriptversion"
exit $?
;;
- cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
- icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
@@ -340,9 +339,9 @@
# Local Variables:
# mode: shell-script
# sh-indentation: 2
-# eval: (add-hook 'before-save-hook 'time-stamp)
+# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC0"
+# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
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/libsirocco-2.0.2/build-aux/missing new/libsirocco-2.1.0/build-aux/missing
--- old/libsirocco-2.0.2/build-aux/missing 2020-02-08 11:56:17.000000000 +0100
+++ new/libsirocco-2.1.0/build-aux/missing 2017-02-28 10:35:32.000000000 +0100
@@ -1,9 +1,9 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2013-10-28.13; # UTC
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <https://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
exit $st
fi
-perl_URL=https://www.perl.org/
-flex_URL=https://github.com/westes/flex
-gnu_software_URL=https://www.gnu.org/software
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
program_details ()
{
@@ -207,9 +207,9 @@
exit $st
# Local variables:
-# eval: (add-hook 'before-save-hook 'time-stamp)
+# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC0"
+# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
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/libsirocco-2.0.2/build-aux/test-driver new/libsirocco-2.1.0/build-aux/test-driver
--- old/libsirocco-2.0.2/build-aux/test-driver 2020-02-08 11:56:17.000000000 +0100
+++ new/libsirocco-2.1.0/build-aux/test-driver 2017-02-28 10:35:32.000000000 +0100
@@ -1,9 +1,9 @@
#! /bin/sh
# test-driver - basic testsuite driver script.
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2013-07-13.22; # UTC
-# Copyright (C) 2011-2018 Free Software Foundation, Inc.
+# Copyright (C) 2011-2014 Free Software Foundation, Inc.
#
# 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
@@ -16,7 +16,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <https://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -140,9 +140,9 @@
# Local Variables:
# mode: shell-script
# sh-indentation: 2
-# eval: (add-hook 'before-save-hook 'time-stamp)
+# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC0"
+# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
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/libsirocco-2.0.2/configure.ac new/libsirocco-2.1.0/configure.ac
--- old/libsirocco-2.0.2/configure.ac 2020-02-16 20:37:54.000000000 +0100
+++ new/libsirocco-2.1.0/configure.ac 2021-06-30 11:54:31.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([libsirocco], [2.0.2], [mmarco(a)unizar.es]
+AC_INIT([libsirocco], [2.1.0], [mmarco(a)unizar.es]
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign -Wall])
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/libsirocco-2.0.2/include/sirocco.h new/libsirocco-2.1.0/include/sirocco.h
--- old/libsirocco-2.0.2/include/sirocco.h 2020-02-16 20:35:36.000000000 +0100
+++ new/libsirocco-2.1.0/include/sirocco.h 2021-06-30 11:32:29.000000000 +0200
@@ -13,4 +13,8 @@
double * homotopyPath (int degree, double *_coef, double _y0R, double _y0I);
mpfr_t * homotopyPath_mp (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec);
+double * homotopyPath_comps (int degree, double *_coef, double _y0R, double _y0I,
+int nothercomps, int *degreescomps, double *_coefscomps);
+mpfr_t * homotopyPath_mp_comps (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec, int nothercomps, int *degreescomps, mpfr_t *_coefscomps);
+
#endif
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/libsirocco-2.0.2/include/sirocco.hpp new/libsirocco-2.1.0/include/sirocco.hpp
--- old/libsirocco-2.0.2/include/sirocco.hpp 2020-02-16 20:35:36.000000000 +0100
+++ new/libsirocco-2.1.0/include/sirocco.hpp 2020-11-20 15:42:22.000000000 +0100
@@ -5,6 +5,7 @@
#include <fenv.h>
#include <mp_complex.hpp>
#include <polynomial.hpp>
+#include <stdio.h>
// ACTIVATE ROUND MODE CONTROL
@@ -17,6 +18,9 @@
double * homotopyPath (int degree, double *_coef, double _y0R, double _y0I);
mpfr_t * homotopyPath_mp (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec);
+double * homotopyPath_comps (int degree, double *_coef, double _y0R, double _y0I, int nothercomps, int *degreescomps, double *_coefscomps);
+mpfr_t * homotopyPath_mp_comps (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec, int nothercomps, int *degreescomps, mpfr_t *_coefscomps);
+
template <class T> // T -> Complex, IComplex, MPComplex or MPIComplex
void correctRoot (const Polynomial<T>, const T &x0, T &y0) {}
@@ -72,4 +76,35 @@
return 1;
}
+
+template <class T>
+int validate (const Polynomial<T> &If, const T &Ix0, const T &Iy0, const T &IY0, int nothercomps, const Polynomial<T> othercomps[]) {
+
+
+ T IY1;
+ if (!newtonTest<T> (If, Ix0, Iy0, IY0)) return 0;
+
+
+ // COMPUTES AN ENCLOSURE THREE TIMES BIGGER FOR N2
+ // CREATE A 3-TIMES BIGGER ENCLOSURE (ROUNDING TO BIGGER)
+ IY1 = IY0 + IY0;
+ IY1 = IY1 - IY0;
+
+ if (!newtonTest<T> (If, Ix0, Iy0, IY1)) return 0;
+
+ T evalcomp;
+ for (int i=0; i<nothercomps; ++i) {
+
+ evalcomp = othercomps[i](Ix0, IY1);
+
+
+ if ( evalcomp.containsZero() ) {
+
+ return 0;
+ }
+ }
+
+
+ return 1;
+}
#endif
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/libsirocco-2.0.2/lib/sirocco.cpp new/libsirocco-2.1.0/lib/sirocco.cpp
--- old/libsirocco-2.0.2/lib/sirocco.cpp 2020-02-16 20:35:36.000000000 +0100
+++ new/libsirocco-2.1.0/lib/sirocco.cpp 2020-11-20 15:37:59.000000000 +0100
@@ -4,6 +4,7 @@
#include <sirocco.hpp>
#include <list.hpp>
+
using namespace std;
// unsigned int *_Polynomial::combinatorial;
@@ -69,6 +70,284 @@
return;
}
+double * homotopyPath_comps (int degree, double *_coef, double _y0R, double _y0I, int nothercomps, int *degreescomps, double *_coefscomps) {
+
+ int tdegree = degree;
+
+
+ for (int i=0; i< nothercomps; ++i) {
+
+ tdegree = max(tdegree, degreescomps[i]);
+ }
+
+ _Polynomial::startCombinatorialNumbers (tdegree);
+
+ // /************************************************/
+ // /* VARIABLE DECLARATION AND DATA INITIALIZATION */
+ // /************************************************/
+ Complex aux; // Complex aux variable.
+
+ double stepsize = 0.0001; // step size
+ double eps; // radius of the box
+
+
+ int nCoef = ((degree+1)*(degree+2)) / 2; // number of monomials
+ Complex coef[nCoef]; // coefficient list for floating point representation of
+ // the polynomial.
+ IComplex Icoef[nCoef]; // coefficient list for Interval representation of
+ // the polynomial.
+
+ std::vector<Cell<double> > outputList;
+
+
+
+ // INITIALIZE COEFICIENT DATA FROM ARGUMENT INTO APPROPIATE DATA STRUCTURES
+ for (int i=0; i<nCoef; ++i) {
+ Icoef[i] = IComplex (_coef[4*i] ,_coef[4*i+1] ,_coef[4*i+2] ,_coef[4*i+3]);
+ coef[i] = Complex ((_coef[4*i] + _coef[4*i+1])/2.0 ,
+ (_coef[4*i+2] + _coef[4*i+3])/2.0);
+ }
+
+
+ Polynomial<Complex> f (degree, coef); // complex polynomials (with fp arithmetic)
+ // to be used in Newton method correction
+ Polynomial<IComplex> If (degree, Icoef); // complex polynomials (with Interval arithmetic)
+ Polynomial<IComplex> Ig (degree); // to be used in validated homotopy
+ Polynomial<IComplex> Ih (degree);
+
+
+ Polynomial<IComplex> othercomponents[nothercomps];
+ Polynomial<IComplex> Igs[nothercomps];
+ Polynomial<IComplex> Ihs[nothercomps];
+
+ int acumcoefscomps = 0;
+
+ for (int i=0; i< nothercomps; ++i) {
+ int cdegree = degreescomps[i];
+ int nCoefcomp = ((cdegree+1)*(cdegree+2)) / 2;
+ IComplex Icoefcomp[nCoefcomp];
+ for (int j=0; j<nCoefcomp; ++j) {
+ Icoefcomp[j] = IComplex (_coefscomps[4*acumcoefscomps] ,_coefscomps[4*acumcoefscomps+1] ,_coefscomps[4*acumcoefscomps+2] ,_coefscomps[acumcoefscomps*4+3]);
+ acumcoefscomps++;
+ }
+ Polynomial<IComplex> Ifcomp (cdegree, Icoefcomp);
+ othercomponents[i] = Ifcomp;
+ Polynomial<IComplex > Igcomp (cdegree);
+ Polynomial<IComplex > Ihcomp (cdegree);
+ Igs[i] = Igcomp;
+ Ihs[i] = Ihcomp;
+ }
+
+
+
+
+ // INITIALIZE FLOATING POINT COMPLEX APPROXIMATION OF THE ROOT
+ Complex x0 (0.0); // x0 of the root (x0.imag = 0)
+ Complex y0 (_y0R, _y0I); // approximated y0 of the root
+ IComplex Ix0; // Interval representation for x0
+ IComplex Iy0; // Interval representation for y0
+ IComplex IY0; // Interval enclosure for y0 for Newton Method
+ IComplex Iy1, IY1; // Interval representation of zeros for rotated polynomial
+ IComplex Ix1;
+
+ Complex a; // y'(x0) as Complex
+ IComplex Ia; // y'(x0) as IComplex
+
+
+ #ifdef PROFILING
+ int nsteps = 0; // number of steps performed
+ int nrejectedEps = 0; // number of rejected validations of boxes
+ int nrejectedSteps = 0; // number of rejected validations of tubes
+ #endif
+
+
+
+ outputList.push_back (Cell<double> (0.0, y0.real (), y0.imag ()));
+
+ /*******************/
+ /* CORRECT ROOT */
+ /*******************/
+
+
+ correctRoot<Complex> (f, x0, y0);
+
+
+ /*******************/
+ /** MAIN LOOP */
+ /*******************/
+ while (x0.real () < 1.0) {
+
+ #ifdef PROFILING
+ nsteps++; // used for profiling only
+ #endif
+
+ /***********************************************************/
+ /*** BOX SIZE ESTIMATION. F RESTRICTED TO X0 IS INJECTIVE. */
+ /***********************************************************/
+ aux = f.diffYY (x0, y0);
+ if (abs (aux) < 1.0e-10) {
+ eps = 0.5;
+ } else {
+ eps = (abs (f.diffY(x0,y0) / aux)) / 8.0;
+ }
+
+ eps /= 2.0;
+ // cout << "estima eps = " << eps << endl;
+
+ /**************************/
+ /*** VALIDATE y0 AS POINT.*/
+ /**************************/
+ Ix0 = x0;
+ Iy0 = y0;
+ IY0 = y0 + IComplex (-eps, eps, -eps, eps);
+
+
+ while (!validate<IComplex> (If, Ix0, Iy0, IY0, nothercomps, othercomponents)) {
+ #ifdef PROFILING
+ nrejectedEps++; // used for profiling
+ #endif
+ if (eps < 1.0e-13) {
+ printf ("Singularity detected. Abort Sirocco\n");
+ /*******************/
+ /* CLEAN VARIABLES */
+ /*******************/
+
+ _Polynomial::releaseCombinatorialNumbers ();
+ return NULL;
+ }
+ eps *= 0.5;
+ IY0 = Iy0;
+ IY0 = y0 + IComplex (-eps, eps, -eps, eps);
+ }
+ // cout << "acepta eps = " << eps << endl;
+
+ // COMPUTE a = -fx(x0,y0) / fy(x0.y0)
+ // both fp and Interval
+ a = getA<Complex> (f, x0, y0);
+ Ia = a;
+
+
+ /************************/
+ /* ESTIMATE STEP SIZE ***/
+ /************************/
+ // we have: aux = fyy
+ // store all in aux2
+
+ aux = a*a*aux + 2.0*a*f.diffXY(x0,y0) + f.diffXX (x0, y0);
+
+ // DETECT INFLEXION POINT
+ if (abs(aux) < 1.0e-10)
+ stepsize=1.0;
+ else
+ stepsize = sqrt(abs((eps * f.diffY (x0, y0) )/ aux));
+ if (stepsize + x0.real () > 1.0) stepsize = 1.000001 - x0.real ();
+
+
+ /*******************/
+ /** VALIDATE STEP */
+ /*******************/
+ Ix1 = Interval(0,stepsize);
+
+
+ // PERFORM TRANSLATION AND ROTATION OF THE POLYNOMIAL
+ Ig = If.IlinearVarChange2 (Ix0);
+ Ih = Ig.IlinearVarChange (Ia);
+
+ for (int jj = 0; jj<nothercomps; ++jj) {
+
+ Igs[jj] = othercomponents[jj].IlinearVarChange2(Ix0);
+ Ihs[jj] = Igs[jj].IlinearVarChange (Ia);
+ }
+
+
+ while (!validate<IComplex> (Ih, Ix1, Iy0, IY0, nothercomps, Ihs)) {
+ #ifdef PROFILING
+ nrejectedSteps++; // used for profiling
+ #endif
+ stepsize *= 0.5;
+ eps*=0.95;
+ IY0 = y0 + IComplex (-eps, eps, -eps, eps);
+ Ix1 = Interval (0, stepsize);
+
+ if (stepsize < 1.0e-13) {
+ /*******************/
+ /* CLEAN VARIABLES */
+ /*******************/
+ _Polynomial::releaseCombinatorialNumbers ();
+ return NULL;
+ }
+
+ }
+ #ifdef DEVELOPER
+ std::cout << "x0 = " << x0.real () << " step = " << stepsize << std::endl;
+ #endif
+
+
+ // /**************************/
+ // /** VALIDATE FINAL STEP */
+ // /**************************/
+ if (x0.real () + stepsize > 1.0) {
+ stepsize = 1.0 - x0.real ();
+ Ix1.r.b = stepsize;
+
+ #ifdef DEVELOPER
+ std::cout << "final step = " << stepsize << std::endl;
+ #endif
+
+ while (!validate<IComplex> (Ih, Ix1, Iy0, IY0, nothercomps, Ihs));
+ }
+
+
+ // /********************/
+ // /* UPDATE VARIABLES */
+ // /********************/
+ x0 = Complex (Ix0.r.a + stepsize, 0.0);
+ y0 = Complex (y0.real () + Ia.r.a * stepsize,
+ y0.imag () + Ia.i.a * stepsize);
+
+
+
+
+ // /*******************/
+ // /* CORRECT ROOT */
+ // /*******************/
+ correctRoot<Complex> (f, x0, y0);
+
+ /**********************************************/
+ /* CHECK WE HAVE NOT JUMPED TO ANOTHER ROOT */
+ /**********************************************/
+ if (!(IY0+Ia*stepsize).contains (y0)) {
+ printf ("error! Jumped to other thread!\n");
+ _Polynomial::releaseCombinatorialNumbers ();
+ return NULL;
+ }
+
+
+ outputList.push_back (Cell<double> (x0.real (), y0.real (), y0.imag ()));
+
+ }
+
+
+
+
+
+ // /***********************************************/
+ /* PREPARE OUTPUT AS A BINARY ARRAY OF DOUBLES */
+ /***********************************************/
+
+ double *rop = new double [((3 * outputList.size () + 1))];
+ rop[0] = outputList.size ();
+ for (int i=0; i<outputList.size (); i++) {
+ rop[3*i+1] = outputList[i].x[0];
+ rop[3*i+2] = outputList[i].x[1];
+ rop[3*i+3] = outputList[i].x[2];
+ }
+ _Polynomial::releaseCombinatorialNumbers ();
+ return rop;
+
+}
+
+
double * homotopyPath (int degree, double *_coef, double _y0R, double _y0I) {
_Polynomial::startCombinatorialNumbers (degree);
@@ -556,3 +835,290 @@
_Polynomial::releaseCombinatorialNumbers ();
return rop;
}
+
+
+mpfr_t * homotopyPath_mp_comps (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec, int nothercomps, int *degreescomps, mpfr_t *_coefscomps) {
+ mpfr_prec_t oldprec = mpfr_get_default_prec();
+ mpfr_set_default_prec(prec);
+
+
+ int tdegree = degree;
+ for (int i=0; i< nothercomps; ++i) {
+
+ tdegree = max(tdegree, degreescomps[i]);
+ }
+
+ _Polynomial::startCombinatorialNumbers (tdegree);
+
+
+ // // /************************************************/
+ // // /* VARIABLE DECLARATION AND DATA INITIALIZATION */
+ // // /************************************************/
+ MPComplex aux; // Complex aux variable.
+
+ mpfr_t stepsize , eps, calc, tol;
+ mpfr_inits (stepsize, eps, calc, tol, NULL); // step size and radius of the box
+ mpfr_set_d (stepsize, 0.0001, MPFR_RNDN);
+ mpfr_set_d (tol, mpfr_get_default_prec(), MPFR_RNDN);
+ mpfr_sub_si (tol, tol, 10, MPFR_RNDN);
+ mpfr_neg (tol, tol, MPFR_RNDN);
+ mpfr_exp2 (tol, tol, MPFR_RNDN);
+
+
+ int nCoef = ((degree+1)*(degree+2)) / 2; // number of monomials
+ MPComplex coef[nCoef]; // coefficient list for floating point representation of
+ // the polynomial.
+ MPIComplex Icoef[nCoef]; // coefficient list for Interval representation of
+ // the polynomial.
+
+ std::vector<Cell<mpfr_t> > outputList;
+
+
+
+ // INITIALIZE COEFICIENT DATA FROM ARGUMENT INTO APPROPRIATE DATA STRUCTURES
+ for (int i=0; i<nCoef; ++i) {
+ Icoef[i] = MPIComplex (_coef[4*i] ,_coef[4*i+1] ,_coef[4*i+2] ,_coef[4*i+3]);
+ coef[i] = 0.5*(MPComplex (_coef[4*i] , _coef[4*i+2]) +
+ MPComplex (_coef[4*i+1] , _coef[4*i+3]));
+ }
+
+
+ Polynomial<MPComplex> f (degree, coef); // complex polynomials (with fp arithmetic)
+ // to be used in Newton method correction
+ Polynomial<MPIComplex> If (degree, Icoef); // complex polynomials (with Interval arithmetic)
+ Polynomial<MPIComplex> Ig (degree); // to be used in validated homotopy
+ Polynomial<MPIComplex> Ih (degree);
+
+ Polynomial<MPIComplex> othercomponents[nothercomps];
+ Polynomial<MPIComplex> Igs[nothercomps];
+ Polynomial<MPIComplex> Ihs[nothercomps];
+
+ int acumcoefscomps = 0;
+
+ for (int i=0; i< nothercomps; ++i) {
+ int cdegree = degreescomps[i];
+ int nCoefcomp = ((cdegree+1)*(cdegree+2)) / 2;
+ MPIComplex MPIcoefcomp[nCoefcomp];
+ for (int j=0; j<nCoefcomp; ++j) {
+ MPIcoefcomp[j] = MPIComplex (_coefscomps[4*acumcoefscomps] ,_coefscomps[4*acumcoefscomps+1] ,_coefscomps[4*acumcoefscomps+2] ,_coefscomps[acumcoefscomps*4+3]);
+ acumcoefscomps++;
+ }
+ Polynomial<MPIComplex> Ifcomp (cdegree, MPIcoefcomp);
+ othercomponents[i] = Ifcomp;
+ Polynomial<MPIComplex > Igcomp (cdegree);
+ Polynomial<MPIComplex > Ihcomp (cdegree);
+ Igs[i] = Igcomp;
+ Ihs[i] = Ihcomp;
+ }
+
+
+
+ // // INITIALIZE FLOATING POINT COMPLEX APPROXIMATION OF THE ROOT
+ MPComplex x0 (0.0); // x0 of the root (x0.imag = 0)
+ MPComplex y0 (_y0R, _y0I); // approximated y0 of the root
+ MPIComplex Ix0; // Interval representation for x0
+ MPIComplex Iy0; // Interval representation for y0
+ MPIComplex IY0; // Interval enclosure for y0 for Newton Method
+ MPIComplex Iy1, IY1; // Interval representation of zeros for rotated polynomial
+ MPIComplex Ix1;
+
+ MPComplex a; // y'(x0) as Complex
+ MPIComplex Ia; // y'(x0) as MPIComplex
+
+
+ #ifdef PROFILING
+ int nsteps = 0; // number of steps performed
+ int nrejectedEps = 0; // number of rejected validations of boxes
+ int nrejectedSteps = 0; // number of rejected validations of tubes
+ #endif
+
+
+ outputList.push_back (Cell<mpfr_t> (x0.r, y0.r, y0.i));
+
+ // /*******************/
+ // /* CORRECT ROOT */
+ // /*******************/
+
+
+ correctRoot<MPComplex> (f, x0, y0);
+
+
+ // /*******************/
+ // /** MAIN LOOP */
+ // /*******************/
+ while (mpfr_cmp_si(x0.r, 1.0) < 0) {
+
+ #ifdef PROFILING
+ nsteps++; // used for profiling only
+ #endif
+
+ /***********************************************************/
+ /*** BOX SIZE ESTIMATION. F RESTRICTED TO X0 IS INJECTIVE. */
+ /***********************************************************/
+ aux = f.diffYY (x0, y0);
+ abs (calc, aux);
+ if (mpfr_cmp_d (calc, 1.0e-10) < 0) {
+ mpfr_set_d (eps, 0.5, MPFR_RNDN);
+ } else {
+ abs (eps, (f.diffY(x0,y0) / aux));
+ mpfr_div_si (eps, eps, 8, MPFR_RNDN);
+ }
+
+ /**************************/
+ /*** VALIDATE y0 AS POINT.*/
+ /**************************/
+ Ix0 = x0;
+ Iy0 = y0;
+ IY0 = MPIComplex(y0) + eps*MPIComplex (-1.0, 1.0, -1.0, 1.0);
+
+
+ while (!validate<MPIComplex> (If, Ix0, Iy0, IY0, nothercomps, othercomponents)) {
+ #ifdef PROFILING
+ nrejectedEps++; // used for profiling
+ #endif
+ if (mpfr_cmp (eps ,tol) < 0) {
+ printf ("Singularity detected. Abort Sirocco\n");
+ /*******************/
+ /* CLEAN VARIABLES */
+ /*******************/
+ mpfr_clears (stepsize, eps, calc, tol, NULL);
+
+ mpfr_set_default_prec(oldprec);
+
+ _Polynomial::releaseCombinatorialNumbers ();
+ return NULL;
+ }
+ mpfr_div_si (eps, eps, 2, MPFR_RNDN);
+ IY0 = Iy0;
+ IY0 = MPIComplex(y0) + eps*MPIComplex (-1.0, 1.0, -1.0, 1.0);
+ }
+
+ // COMPUTE a = -fx(x0,y0) / fy(x0.y0)
+ // both fp and Interval
+ a = getA<MPComplex> (f, x0, y0);
+ Ia = a;
+
+
+ /************************/
+ /* ESTIMATE STEP SIZE ***/
+ /************************/
+ // we have: aux = fyy
+ // store all in aux2
+
+ aux = a*a*aux + 2.0*a*f.diffXY(x0,y0) + f.diffXX (x0, y0);
+
+ // DETECT INFLEXION POINT
+ abs (calc, aux);
+ if (mpfr_cmp_d(calc, 1.0e-10) < 0) {
+ mpfr_set_si (stepsize, 1, MPFR_RNDN);
+ } else {
+ abs (calc, (eps * f.diffY (x0, y0) )/ aux);
+ mpfr_sqrt (stepsize, calc, MPFR_RNDN);
+ }
+
+ // if (stepsize + x0.real () > 1.0) stepsize = 1.000001 - x0.real ();
+ mpfr_add (calc, x0.r, stepsize, MPFR_RNDU);
+ if (mpfr_cmp_si (calc, 1) > 0) {
+ mpfr_si_sub (stepsize, 1, x0.r, MPFR_RNDU);
+ }
+
+
+ /*******************/
+ /** VALIDATE STEP */
+ /*******************/
+ mpfr_set_si (calc, 0, MPFR_RNDN);
+ Ix1 = MPInterval(calc,stepsize);
+
+
+ // PERFORM TRANSLATION AND ROTATION OF THE POLYNOMIAL
+ Ig = If.IlinearVarChange2 (Ix0);
+ Ih = Ig.IlinearVarChange (Ia);
+
+
+ for (int jj = 0; jj<nothercomps; ++jj) {
+
+ Igs[jj] = othercomponents[jj].IlinearVarChange2(Ix0);
+ Ihs[jj] = Igs[jj].IlinearVarChange (Ia);
+ }
+
+
+ while (!validate<MPIComplex> (Ih, Ix1, Iy0, IY0, nothercomps, Ihs)) {
+ #ifdef PROFILING
+ nrejectedSteps++; // used for profiling
+ #endif
+ mpfr_div_si (stepsize, stepsize, 2, MPFR_RNDN);
+ mpfr_mul_d (eps, eps, 0.95, MPFR_RNDN);
+
+ IY0 = MPIComplex(y0) + eps*MPIComplex (-1.0, 1.0, -1.0, 1.0);
+ Ix1 = MPInterval (calc, stepsize);
+
+ if (mpfr_cmp_d (stepsize, 1.0e-13) < 0) {
+ /*******************/
+ /* CLEAN VARIABLES */
+ /*******************/
+ mpfr_clears (stepsize, eps, calc, tol, NULL);
+
+ mpfr_set_default_prec(oldprec);
+ _Polynomial::releaseCombinatorialNumbers ();
+ return NULL;
+ }
+
+ }
+ #ifdef DEVELOPER
+ std::cout << "x0 = " << x0.r << " step = " << stepsize << std::endl;
+ #endif
+
+ // // /********************/
+ // // /* UPDATE VARIABLES */
+ // // /********************/
+ x0 = MPComplex (Ix0.r.a) + MPComplex (stepsize);
+ y0 = y0 + stepsize*a;
+
+
+
+
+ // /*******************/
+ // /* CORRECT ROOT */
+ // /*******************/
+ correctRoot<MPComplex> (f, x0, y0);
+
+ /**********************************************/
+ /* CHECK WE HAVE NOT JUMPED TO ANOTHER ROOT */
+ /**********************************************/
+ if (!(MPIComplex(y0).subset (IY0+Ia*stepsize))) {
+ mpfr_clears (stepsize, eps, calc, tol, NULL);
+ printf ("error! Jumped to other thread!\n");
+ mpfr_set_default_prec(oldprec);
+ _Polynomial::releaseCombinatorialNumbers ();
+ return NULL;
+ }
+
+
+ outputList.push_back (Cell<mpfr_t> (x0.r, y0.r, y0.i));
+
+ }
+
+
+ // /***********************************************/
+ /* PREPARE OUTPUT AS A BINARY ARRAY OF DOUBLES */
+ /***********************************************/
+
+ mpfr_t *rop = new mpfr_t [((3 * outputList.size () + 1))];
+ mpfr_init(rop[0]);
+ mpfr_set_si(rop[0], outputList.size(), MPFR_RNDN);
+ for (int i=0; i<outputList.size (); i++) {
+ mpfr_init(rop[3*i+1]);
+ mpfr_init(rop[3*i+2]);
+ mpfr_init(rop[3*i+3]);
+ mpfr_set(rop[3*i+1], outputList[i].x[0], MPFR_RNDN);
+ mpfr_set(rop[3*i+2], outputList[i].x[1], MPFR_RNDN);
+ mpfr_set(rop[3*i+3], outputList[i].x[2], MPFR_RNDN);
+ }
+
+
+ mpfr_clears (stepsize, eps, calc, tol, NULL);
+
+ mpfr_set_default_prec(oldprec);
+ _Polynomial::releaseCombinatorialNumbers ();
+ return rop;
+}
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/libsirocco-2.0.2/m4/libtool.m4 new/libsirocco-2.1.0/m4/libtool.m4
--- old/libsirocco-2.0.2/m4/libtool.m4 2020-02-08 11:56:12.000000000 +0100
+++ new/libsirocco-2.1.0/m4/libtool.m4 2017-02-28 10:35:28.000000000 +0100
@@ -1708,11 +1708,6 @@
lt_cv_sys_max_cmd_len=8192;
;;
- mint*)
- # On MiNT this can take a long time and run out of memory.
- lt_cv_sys_max_cmd_len=8192;
- ;;
-
amigaos*)
# On AmigaOS with pdksh, this test takes hours, literally.
# So we just punt and use a minimum line length of 8192.
@@ -2641,11 +2636,11 @@
version_type=darwin
need_lib_prefix=no
need_version=no
- library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
soname_spec='$libname$release$major$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
m4_if([$1], [],[
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
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/libsirocco-2.0.2/sage-sirocco_interface.pyx new/libsirocco-2.1.0/sage-sirocco_interface.pyx
--- old/libsirocco-2.0.2/sage-sirocco_interface.pyx 2020-02-16 20:38:32.000000000 +0100
+++ new/libsirocco-2.1.0/sage-sirocco_interface.pyx 2021-06-30 11:56:56.000000000 +0200
@@ -3,26 +3,29 @@
#clang C++
#clib sirocco
-include 'cysignals/signals.pxi'
+#include 'cysignals/signals.pxi'
+
+from cysignals.signals cimport sig_on, sig_off
+from cysignals.memory cimport check_allocarray, sig_free as free
from sage.libs.mpfr cimport *
from sage.rings.real_mpfr cimport RealNumber
from sage.rings.real_mpfr import RealField
-cdef extern from "stdlib.h":
- void free(void* ptr)
cdef extern from "sirocco.h":
mpfr_t* homotopyPath_mp (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec)
+ mpfr_t* homotopyPath_mp_comps (int degree, mpfr_t *_coef, mpfr_t _y0R, mpfr_t _y0I, int prec, int nothercomps, int *degreescomps, mpfr_t *_coefscomps)
double * homotopyPath (int degree, double *_coef, double _y0R, double _y0I)
+ double * homotopyPath_comps (int degree, double *_coef, double _y0R, double _y0I, int nothercomps, int *degreescomps, double *_coefscomps)
def contpath_mp(deg, values, RealNumber y0r, RealNumber y0i, int prec):
cdef int cdeg = deg
- cdef mpfr_t* cvalues = <mpfr_t*> sage_malloc(sizeof(mpfr_t)*len(values))
+ cdef mpfr_t* cvalues = <mpfr_t*> check_allocarray(len(values), sizeof(mpfr_t))
cdef mpfr_t* rop
cdef int j
for i in range(len(values)):
@@ -66,20 +69,118 @@
+def contpath_mp_comps(deg, values, RealNumber y0r, RealNumber y0i, int prec, otherdegrees, othercoefs):
+ cdef int cdeg = deg
+ cdef mpfr_t* cvalues = <mpfr_t*> check_allocarray(len(values),sizeof(mpfr_t))
+ cdef mpfr_t* cothercoefs = <mpfr_t*> check_allocarray(len(othercoefs),sizeof(mpfr_t))
+ cdef mpfr_t* rop
+ cdef int j
+ for i in range(len(values)):
+ j = <int>i
+ sig_on()
+ mpfr_init2(cvalues[j], prec)
+ mpfr_set(cvalues[j], (<RealNumber>values[j]).value, MPFR_RNDN)
+ sig_off()
+
+ for i in range(len(othercoefs)):
+ j = <int>i
+ sig_on()
+ mpfr_init2(cothercoefs[j], prec)
+ mpfr_set(cothercoefs[j], (<RealNumber>othercoefs[j]).value, MPFR_RNDN)
+ sig_off()
+
+ cdef int* c_otherdegrees = <int*> check_allocarray(len(otherdegrees),sizeof(int))
+ for i in range(len(otherdegrees)):
+ c_otherdegrees[i] = int(otherdegrees[i])
+
+ cdef mpfr_t y0R
+ cdef mpfr_t y0I
+ sig_on()
+ mpfr_init2(y0R, prec)
+ mpfr_set(y0R, (<RealNumber>y0r).value, MPFR_RNDN)
+ mpfr_init2(y0I, prec)
+ mpfr_set(y0I, (<RealNumber>y0i).value, MPFR_RNDN)
+ rop = homotopyPath_mp_comps(cdeg, cvalues, y0R, y0I, prec, int(len(otherdegrees)), c_otherdegrees, cothercoefs)
+ sig_off()
+ for i in range(len(values)):
+ j = <int>i
+ sig_on()
+ mpfr_clear(cvalues[j])
+ sig_off()
+
+ for i in range(len(othercoefs)):
+ j = <int>i
+ sig_on()
+ mpfr_clear(cothercoefs[j])
+ sig_off()
+
+ free(cvalues)
+ free(cothercoefs)
+ free(c_otherdegrees)
+ if rop == NULL:
+ raise ValueError("libsirocco could not guarantee one step")
+ cdef int n = mpfr_get_si(rop[0], MPFR_RNDN)
+
+ #cdef RealNumber res = RealField(53)()
+ cdef double res
+ l = []
+
+ for i in range(1, 3*n+1):
+ RN = RealField(prec)()
+ sig_on()
+ res = mpfr_set((<RealNumber>RN).value, rop[i], MPFR_RNDN)
+ mpfr_clear(rop[i])
+ sig_off()
+ l.append(RN)
+ free(rop)
+ return [(l[3*i], l[3*i+1], l[3*i+2]) for i in range(len(l)/3)]
+
+
+
def contpath(deg,values,y0r,y0i):
cdef double* rop
- cdef double* c_values = <double*> sage_malloc(sizeof(double)*len(values))
+ cdef double* c_values = <double*> check_allocarray(len(values),sizeof(double))
cdef int clen = <int> len(values)
for i,v in enumerate(values):
c_values[i] = values[i]
+ cdef double y0R = y0r
+ cdef double y0I = y0i
+ sig_on()
+ rop = homotopyPath (int(deg), c_values, y0R, y0I)
+ sig_off()
+ if rop == NULL:
+ raise ValueError("libsirocco could not guarantee one step")
+ n=int(rop[0])
+ l=[0 for i in range(n)]
+ for i in range(n):
+ l[i]=(rop[3*i+1],rop[3*i+2],rop[3*i+3])
+ free(rop)
+ free(c_values)
+ return l
+def contpath_comps(deg, values, y0r, y0i, otherdegrees, othercomps):
+ cdef double* rop
+ cdef double* c_values = <double*> check_allocarray(len(values),sizeof(double))
+ for i,v in enumerate(values):
+ c_values[i] = values[i]
+
+ cdef double* c_othercomps = <double*> check_allocarray(len(othercomps),sizeof(double))
+
+ for i,v in enumerate(othercomps):
+ c_othercomps[i] = othercomps[i]
+
+ cdef int* c_otherdegrees = <int *> check_allocarray(len(otherdegrees),sizeof(int))
+
+ for i,v in enumerate(otherdegrees):
+ c_otherdegrees[i] = int(otherdegrees[i])
+
cdef double y0R = y0r
cdef double y0I = y0i
sig_on()
- rop = homotopyPath (int(deg), c_values, y0R, y0I)
+ rop = homotopyPath_comps (int(deg), c_values, y0R, y0I, int(len(otherdegrees)), c_otherdegrees, c_othercomps)
sig_off()
if rop == NULL:
raise ValueError("libsirocco could not guarantee one step")
@@ -89,4 +190,6 @@
l[i]=(rop[3*i+1],rop[3*i+2],rop[3*i+3])
free(rop)
free(c_values)
+ free(c_othercomps)
+ free(c_otherdegrees)
return l
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/libsirocco-2.0.2/tests/sirocco_minimal_test.cpp new/libsirocco-2.1.0/tests/sirocco_minimal_test.cpp
--- old/libsirocco-2.0.2/tests/sirocco_minimal_test.cpp 2020-02-08 11:55:41.000000000 +0100
+++ new/libsirocco-2.1.0/tests/sirocco_minimal_test.cpp 2020-11-20 15:35:29.000000000 +0100
@@ -16,6 +16,23 @@
};
+
+
+double testCoefsotcomp[] = {
+ -2.100000000000, -2.10000000000000, 0.000000000000000, 0.000000000000000,
+ 0.0000000000000, 0.00000000000000, 0.000000000000000, -0.000000000000000,
+ 0.000000000000, 0.000000000000, 0.0000000000000, 0.0000000000000,
+ 1.000000000000000, 1.000000000000000, 0.000000000000000, -0.000000000000000,
+ 0.00000000000000, 0.000000000000000, 0.000000000000000, 0.0000000000000000,
+ 1.0000000000000, 1.000000000000000, 0.000000000000000, 0.0000000000000000
+};
+
+
+
+int compdegs[]={2};
+
+
+
double y0R = 1.414;
double y0I = 0.0;
double *rop = homotopyPath (2, testCoefs, y0R, y0I);
@@ -25,28 +42,46 @@
delete [] rop;
+ double *rop2 = homotopyPath_comps (2, testCoefs, y0R, y0I,1, compdegs, testCoefsotcomp);
+
+ delete [] rop2;
+
mpfr_t mp_testCoefs[24];
for (int i=0; i<24; ++i) {
mpfr_init_set_d (mp_testCoefs[i], testCoefs[i],
(i%2)? MPFR_RNDU : MPFR_RNDD);
}
+
+ mpfr_t mp_othercompsCoefs[24];
+ for (int i=0; i<24; ++i) {
+ mpfr_init_set_d (mp_othercompsCoefs[i], testCoefsotcomp[i],
+ (i%2)? MPFR_RNDU : MPFR_RNDD);
+ }
+
+
mpfr_t mp_y0R, mp_y0I;
mpfr_init_set_d (mp_y0R, y0R, MPFR_RNDN);
mpfr_init_set_d (mp_y0I, y0I, MPFR_RNDN);
mpfr_t *mp_rop = homotopyPath_mp (2, mp_testCoefs, mp_y0R, mp_y0I, 106);
+ mpfr_t *mp_rop2 = homotopyPath_mp_comps (2, mp_testCoefs, mp_y0R, mp_y0I,102,1,compdegs, mp_othercompsCoefs);
int size = mpfr_get_si (mp_rop[0], MPFR_RNDN);
-
+
for (int i=0; i<3*size+1; ++i)
mpfr_clear(mp_rop[i]);
delete [] mp_rop;
+ delete [] mp_rop2;
for (int i=0; i<24; ++i) {
mpfr_clear (mp_testCoefs[i]);
}
+ for (int i=0; i<24; ++i) {
+ mpfr_clear (mp_othercompsCoefs[i]);
+ }
+
mpfr_clear (mp_y0R);
mpfr_clear (mp_y0I);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-communication-sms for openSUSE:Factory checked in at 2021-07-01 07:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-communication-sms (Old)
and /work/SRC/openSUSE:Factory/.python-azure-communication-sms.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-communication-sms"
Thu Jul 1 07:05:44 2021 rev:6 rq:903221 version:1.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-communication-sms/python-azure-communication-sms.changes 2021-05-07 17:15:05.525007069 +0200
+++ /work/SRC/openSUSE:Factory/.python-azure-communication-sms.new.2625/python-azure-communication-sms.changes 2021-07-01 07:06:02.095289383 +0200
@@ -1,0 +2,9 @@
+Wed Jun 30 11:39:22 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- New upstream release
+ + Version 1.0.1
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+- Remove temporary version override
+
+-------------------------------------------------------------------
Old:
----
azure-communication-sms-1.0.0.zip
New:
----
azure-communication-sms-1.0.1.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-communication-sms.spec ++++++
--- /var/tmp/diff_new_pack.wUYty6/_old 2021-07-01 07:06:02.491286289 +0200
+++ /var/tmp/diff_new_pack.wUYty6/_new 2021-07-01 07:06:02.491286289 +0200
@@ -16,20 +16,18 @@
#
-%define realversion 1.0.0
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} >= 1500
%define skip_python2 1
%endif
Name: python-azure-communication-sms
-Version: 1.0.0.0
+Version: 1.0.1
Release: 0
Summary: Microsoft Azure Communication SMS Client Library for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Azure/azure-sdk-for-python
-Source: https://files.pythonhosted.org/packages/source/a/azure-communication-sms/az…
+Source: https://files.pythonhosted.org/packages/source/a/azure-communication-sms/az…
Source1: LICENSE.txt
BuildRequires: %{python_module azure-communication-nspkg >= 0.0.0b1}
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
@@ -50,10 +48,10 @@
Azure Communication SMS client package is intended to be used to send SMS using an Azure Resource.
%prep
-%setup -q -n azure-communication-sms-%{realversion}
+%setup -q -n azure-communication-sms-%{version}
%build
-install -m 644 %{SOURCE1} %{_builddir}/azure-communication-sms-%{realversion}
+install -m 644 %{SOURCE1} %{_builddir}/azure-communication-sms-%{version}
%python_build
%install
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-ai-metricsadvisor for openSUSE:Factory checked in at 2021-07-01 07:05:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-ai-metricsadvisor (Old)
and /work/SRC/openSUSE:Factory/.python-azure-ai-metricsadvisor.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-ai-metricsadvisor"
Thu Jul 1 07:05:43 2021 rev:5 rq:903217 version:1.0.0b4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-ai-metricsadvisor/python-azure-ai-metricsadvisor.changes 2021-04-12 15:48:58.465207467 +0200
+++ /work/SRC/openSUSE:Factory/.python-azure-ai-metricsadvisor.new.2625/python-azure-ai-metricsadvisor.changes 2021-07-01 07:06:01.355295163 +0200
@@ -1,0 +2,9 @@
+Wed Jun 30 11:17:03 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- New upstream release
+ + Version 1.0.0b4
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
azure-ai-metricsadvisor-1.0.0b3.zip
New:
----
azure-ai-metricsadvisor-1.0.0b4.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-ai-metricsadvisor.spec ++++++
--- /var/tmp/diff_new_pack.yr8tWj/_old 2021-07-01 07:06:01.775291882 +0200
+++ /var/tmp/diff_new_pack.yr8tWj/_new 2021-07-01 07:06:01.779291851 +0200
@@ -21,7 +21,7 @@
%define skip_python2 1
%endif
Name: python-azure-ai-metricsadvisor
-Version: 1.0.0b3
+Version: 1.0.0b4
Release: 0
Summary: Microsoft Azure Metrics Advisor Client Library for Python
License: MIT
@@ -37,7 +37,7 @@
Requires: python-azure-ai-nspkg >= 1.0.0
Requires: python-azure-core < 2.0.0
Requires: python-azure-core >= 1.6.0
-Requires: python-msrest >= 0.6.12
+Requires: python-msrest >= 0.6.21
Requires: python-six >= 1.11.0
Conflicts: python-azure-sdk <= 2.0.0
BuildArch: noarch
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-ai-formrecognizer for openSUSE:Factory checked in at 2021-07-01 07:05:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-ai-formrecognizer (Old)
and /work/SRC/openSUSE:Factory/.python-azure-ai-formrecognizer.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-ai-formrecognizer"
Thu Jul 1 07:05:43 2021 rev:5 rq:903216 version:3.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-ai-formrecognizer/python-azure-ai-formrecognizer.changes 2021-06-15 16:37:56.377756107 +0200
+++ /work/SRC/openSUSE:Factory/.python-azure-ai-formrecognizer.new.2625/python-azure-ai-formrecognizer.changes 2021-07-01 07:06:00.599301069 +0200
@@ -1,0 +2,9 @@
+Wed Jun 30 11:14:32 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz(a)suse.com>
+
+- New upstream release
+ + Version 3.1.1
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+- Remove temporary version override
+
+-------------------------------------------------------------------
Old:
----
azure-ai-formrecognizer-3.1.0.zip
New:
----
azure-ai-formrecognizer-3.1.1.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-ai-formrecognizer.spec ++++++
--- /var/tmp/diff_new_pack.ZAToEt/_old 2021-07-01 07:06:01.047297569 +0200
+++ /var/tmp/diff_new_pack.ZAToEt/_new 2021-07-01 07:06:01.051297538 +0200
@@ -16,20 +16,18 @@
#
-%define realversion 3.1.0
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} >= 1500
%define skip_python2 1
%endif
Name: python-azure-ai-formrecognizer
-Version: 3.1.0.0
+Version: 3.1.1
Release: 0
Summary: Microsoft Azure Form Recognizer Client Library for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Azure/azure-sdk-for-python
-Source: https://files.pythonhosted.org/packages/source/a/azure-ai-formrecognizer/az…
+Source: https://files.pythonhosted.org/packages/source/a/azure-ai-formrecognizer/az…
Source1: LICENSE.txt
BuildRequires: %{python_module azure-ai-nspkg >= 1.0.0}
BuildRequires: %{python_module setuptools}
@@ -59,10 +57,10 @@
* Prebuilt receipt model - Recognize data from USA sales receipts using a prebuilt model.
%prep
-%setup -q -n azure-ai-formrecognizer-%{realversion}
+%setup -q -n azure-ai-formrecognizer-%{version}
%build
-install -m 644 %{SOURCE1} %{_builddir}/azure-ai-formrecognizer-%{realversion}
+install -m 644 %{SOURCE1} %{_builddir}/azure-ai-formrecognizer-%{version}
%python_build
%install
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rt-tests for openSUSE:Factory checked in at 2021-07-01 07:05:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rt-tests (Old)
and /work/SRC/openSUSE:Factory/.rt-tests.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rt-tests"
Thu Jul 1 07:05:42 2021 rev:5 rq:903214 version:2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rt-tests/rt-tests.changes 2021-06-26 21:25:43.079363501 +0200
+++ /work/SRC/openSUSE:Factory/.rt-tests.new.2625/rt-tests.changes 2021-07-01 07:05:59.951306130 +0200
@@ -1,0 +2,7 @@
+Wed Jun 30 07:06:07 UTC 2021 - Daniel Wagner <daniel.wagner(a)suse.com>
+
+- Update to upstream version 2.1
+ * Avoid pagefault at startup which made the first cycle
+ in cyclictest measure a huge latency spike.
+
+-------------------------------------------------------------------
Old:
----
rt-tests-2.0.tar.gz
New:
----
rt-tests-2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rt-tests.spec ++++++
--- /var/tmp/diff_new_pack.lDYXY4/_old 2021-07-01 07:06:00.323303224 +0200
+++ /var/tmp/diff_new_pack.lDYXY4/_new 2021-07-01 07:06:00.327303194 +0200
@@ -17,7 +17,7 @@
Name: rt-tests
-Version: 2.0
+Version: 2.1
Release: 0
Summary: Realtime Kernel Testsuite
License: GPL-2.0-only
++++++ rt-tests-2.0.tar.gz -> rt-tests-2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/Makefile new/rt-tests-2.1/Makefile
--- old/rt-tests-2.0/Makefile 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/Makefile 2021-06-30 05:09:41.000000000 +0200
@@ -1,4 +1,4 @@
-VERSION = 1.10
+VERSION = 2.1
CC = $(CROSS_COMPILE)gcc
AR = $(CROSS_COMPILE)ar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/cyclictest/cyclictest.c new/rt-tests-2.1/src/cyclictest/cyclictest.c
--- old/rt-tests-2.0/src/cyclictest/cyclictest.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/cyclictest/cyclictest.c 2021-06-30 05:09:41.000000000 +0200
@@ -615,7 +615,6 @@
setitimer(ITIMER_REAL, &itimer, NULL);
}
- rt_test_start();
stat->threadstarted++;
while (!shutdown) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/include/rt-utils.h new/rt-tests-2.1/src/include/rt-utils.h
--- old/rt-tests-2.0/src/include/rt-utils.h 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/include/rt-utils.h 2021-06-30 05:09:41.000000000 +0200
@@ -82,8 +82,6 @@
void rt_init(int argc, char *argv[]);
-void rt_test_start(void);
-
void rt_write_json(const char *filename, int return_code,
void (*cb)(FILE *, void *),
void *data);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/lib/rt-utils.c new/rt-tests-2.1/src/lib/rt-utils.c
--- old/rt-tests-2.0/src/lib/rt-utils.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/lib/rt-utils.c 2021-06-30 05:09:41.000000000 +0200
@@ -490,6 +490,19 @@
close_tracemark_fd();
}
+static void get_timestamp(char *tsbuf)
+{
+ struct timeval tv;
+ struct tm *tm;
+ time_t t;
+
+ gettimeofday(&tv, NULL);
+ t = tv.tv_sec;
+ tm = localtime(&t);
+ /* RFC 2822-compliant date format */
+ strftime(tsbuf, MAX_TS_SIZE, "%a, %d %b %Y %T %z", tm);
+}
+
void rt_init(int argc, char *argv[])
{
int offset = 0;
@@ -514,23 +527,7 @@
offset += len + 1;
}
-}
-static void get_timestamp(char *tsbuf)
-{
- struct timeval tv;
- struct tm *tm;
- time_t t;
-
- gettimeofday(&tv, NULL);
- t = tv.tv_sec;
- tm = localtime(&t);
- /* RFC 2822-compliant date format */
- strftime(tsbuf, MAX_TS_SIZE, "%a, %d %b %Y %T %z", tm);
-}
-
-void rt_test_start(void)
-{
get_timestamp(ts_start);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/oslat/oslat.c new/rt-tests-2.1/src/oslat/oslat.c
--- old/rt-tests-2.0/src/oslat/oslat.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/oslat/oslat.c 2021-06-30 05:09:41.000000000 +0200
@@ -854,7 +854,6 @@
printf("Test starts...\n");
/* Reset n_threads to always run on all the cores */
g.n_threads = g.n_threads_total;
- rt_test_start();
run_expt(threads, g.runtime);
if (!g.quiet)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/pi_tests/pi_stress.c new/rt-tests-2.1/src/pi_tests/pi_stress.c
--- old/rt-tests-2.0/src/pi_tests/pi_stress.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/pi_tests/pi_stress.c 2021-06-30 05:09:41.000000000 +0200
@@ -304,7 +304,6 @@
}
/* report */
banner();
- rt_test_start();
start = time(NULL);
/* turn loose the threads */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/pmqtest/pmqtest.c new/rt-tests-2.1/src/pmqtest/pmqtest.c
--- old/rt-tests-2.0/src/pmqtest/pmqtest.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/pmqtest/pmqtest.c 2021-06-30 05:09:41.000000000 +0200
@@ -582,7 +582,6 @@
sigemptyset(&sigset);
pthread_sigmask(SIG_SETMASK, &sigset, NULL);
- rt_test_start();
do {
int newsamples = 0, newtimeoutcount = 0;
int minsamples = INT_MAX;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/ptsematest/ptsematest.c new/rt-tests-2.1/src/ptsematest/ptsematest.c
--- old/rt-tests-2.0/src/ptsematest/ptsematest.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/ptsematest/ptsematest.c 2021-06-30 05:09:41.000000000 +0200
@@ -468,7 +468,6 @@
maindelay.tv_sec = 0;
maindelay.tv_nsec = 50000000; /* 50 ms */
- rt_test_start();
while (!shutdown) {
for (i = 0; i < num_threads; i++)
shutdown |= receiver[i].shutdown | sender[i].shutdown;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/rt-migrate-test/rt-migrate-test.c new/rt-tests-2.1/src/rt-migrate-test/rt-migrate-test.c
--- old/rt-tests-2.0/src/rt-migrate-test/rt-migrate-test.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/rt-migrate-test/rt-migrate-test.c 2021-06-30 05:09:41.000000000 +0200
@@ -621,7 +621,6 @@
setup_ftrace_marker();
- rt_test_start();
for (loop=0; loop < nr_runs; loop++) {
unsigned long long end;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/sched_deadline/cyclicdeadline.c new/rt-tests-2.1/src/sched_deadline/cyclicdeadline.c
--- old/rt-tests-2.0/src/sched_deadline/cyclicdeadline.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/sched_deadline/cyclicdeadline.c 2021-06-30 05:09:41.000000000 +0200
@@ -1213,7 +1213,6 @@
if (duration)
alarm(duration);
- rt_test_start();
loop(sched_data, nr_threads);
for (i = 0; i < nr_threads; i++) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/signaltest/signaltest.c new/rt-tests-2.1/src/signaltest/signaltest.c
--- old/rt-tests-2.0/src/signaltest/signaltest.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/signaltest/signaltest.c 2021-06-30 05:09:41.000000000 +0200
@@ -500,7 +500,6 @@
strerror(status));
}
- rt_test_start();
while (!shutdown) {
int allstarted = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/sigwaittest/sigwaittest.c new/rt-tests-2.1/src/sigwaittest/sigwaittest.c
--- old/rt-tests-2.0/src/sigwaittest/sigwaittest.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/sigwaittest/sigwaittest.c 2021-06-30 05:09:41.000000000 +0200
@@ -652,7 +652,6 @@
&sender[i]);
}
- rt_test_start();
while (!mustshutdown) {
for (i = 0; i < num_threads; i++)
mustshutdown |= receiver[i].shutdown |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/ssdd/ssdd.c new/rt-tests-2.1/src/ssdd/ssdd.c
--- old/rt-tests-2.0/src/ssdd/ssdd.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/ssdd/ssdd.c 2021-06-30 05:09:41.000000000 +0200
@@ -357,7 +357,6 @@
forktests(i);
}
- rt_test_start();
for (i = 0; i < nforks; i++) {
status = do_wait(&wait_pid, &ret_sig);
if (status != STATE_EXITED) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rt-tests-2.0/src/svsematest/svsematest.c new/rt-tests-2.1/src/svsematest/svsematest.c
--- old/rt-tests-2.0/src/svsematest/svsematest.c 2021-06-17 15:02:58.000000000 +0200
+++ new/rt-tests-2.1/src/svsematest/svsematest.c 2021-06-30 05:09:41.000000000 +0200
@@ -724,7 +724,6 @@
&sender[i]);
}
- rt_test_start();
while (!mustshutdown) {
for (i = 0; i < num_threads; i++)
mustshutdown |= receiver[i].shutdown |
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package lepton for openSUSE:Factory checked in at 2021-07-01 07:05:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lepton (Old)
and /work/SRC/openSUSE:Factory/.lepton.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lepton"
Thu Jul 1 07:05:41 2021 rev:2 rq:903213 version:1.2.1+git.20201230
Changes:
--------
--- /work/SRC/openSUSE:Factory/lepton/lepton.changes 2021-04-29 01:39:00.742630483 +0200
+++ /work/SRC/openSUSE:Factory/.lepton.new.2625/lepton.changes 2021-07-01 07:05:57.463325564 +0200
@@ -1,0 +2,5 @@
+Wed Jun 30 04:20:36 UTC 2021 - Bernhard Wiedemann <bwiedemann(a)suse.com>
+
+- Stop building with march=native (boo#1100677)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lepton.spec ++++++
--- /var/tmp/diff_new_pack.rsI5Q2/_old 2021-07-01 07:05:59.771307537 +0200
+++ /var/tmp/diff_new_pack.rsI5Q2/_new 2021-07-01 07:05:59.771307537 +0200
@@ -47,6 +47,7 @@
%build
autoreconf -fiv
%configure \
+ --disable-vectorization \
--enable-system-dependencies
%make_build
1
0