openSUSE Commits
Threads by month
- ----- 2024 -----
- 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
December 2022
- 1 participants
- 2263 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libgarcon for openSUSE:Factory checked in at 2022-12-24 14:52:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgarcon (Old)
and /work/SRC/openSUSE:Factory/.libgarcon.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgarcon"
Sat Dec 24 14:52:33 2022 rev:34 rq:1045186 version:4.18.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/libgarcon/libgarcon.changes 2021-01-18 11:34:47.657110607 +0100
+++ /work/SRC/openSUSE:Factory/.libgarcon.new.1563/libgarcon.changes 2022-12-24 14:55:21.876707418 +0100
@@ -1,0 +2,7 @@
+Sat Dec 17 13:43:04 UTC 2022 - Maurizio Galli <maurizio.galli(a)suse.com>
+
+- Update to version 4.18.0
+ * Bump requirements for Xfce 4.18
+ * Translation Updates:
+
+-------------------------------------------------------------------
Old:
----
garcon-4.16.1.tar.bz2
New:
----
garcon-4.18.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgarcon.spec ++++++
--- /var/tmp/diff_new_pack.7UVXmw/_old 2022-12-24 14:55:22.280709776 +0100
+++ /var/tmp/diff_new_pack.7UVXmw/_new 2022-12-24 14:55:22.292709845 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libgarcon
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,25 +18,25 @@
%define libname libgarcon-1-0
Name: libgarcon
-Version: 4.16.1
+Version: 4.18.0
Release: 0
Summary: Library Implementing the freedesktop.org Desktop Menu Specification
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
URL: https://wiki.xfce.org/dev/garcon
-Source: https://archive.xfce.org/src/xfce/garcon/4.16/garcon-%{version}.tar.bz2
+Source: https://archive.xfce.org/src/xfce/garcon/4.18/garcon-%{version}.tar.bz2
# PATCH-FEATURE-OPENSUSE libgarcon-x-suse-unimportant-support.patch gber(a)opensuse.org -- Hide desktop files marked with X-SuSE-Unimportant
Patch0: libgarcon-x-suse-unimportant-support.patch
BuildRequires: fdupes
BuildRequires: intltool
-BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(gobject-2.0)
-BuildRequires: pkgconfig(gthread-2.0)
-BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(gio-2.0) >= 2.66.0
+BuildRequires: pkgconfig(glib-2.0) >= 2.66.0
+BuildRequires: pkgconfig(gobject-2.0) >= 2.66.0
+BuildRequires: pkgconfig(gthread-2.0) >= 2.66.0
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
BuildRequires: pkgconfig(gtk-doc)
-BuildRequires: pkgconfig(libxfce4ui-2)
-BuildRequires: pkgconfig(libxfce4util-1.0)
+BuildRequires: pkgconfig(libxfce4ui-2) >= 4.15.6
+BuildRequires: pkgconfig(libxfce4util-1.0) >= 4.15.6
%description
Garcon is a library based on GLib and GIO which implements the freedesktop.org
@@ -103,6 +103,7 @@
This package provides the upstream look and feel for garcon.
# this should be replaced by %%lang_package once bnc#513786 is resolved
+
%package lang
Summary: Languages for package %{name}
Group: System/Localization
@@ -158,7 +159,7 @@
%{_libdir}/libgarcon-gtk3-1.so
%files doc
-%doc AUTHORS HACKING NEWS README.md STATUS TODO
+%doc AUTHORS NEWS README.md
%license COPYING
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
++++++ garcon-4.16.1.tar.bz2 -> garcon-4.18.0.tar.bz2 ++++++
++++ 61614 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nodejs-underscore for openSUSE:Factory checked in at 2022-12-24 14:52:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-underscore (Old)
and /work/SRC/openSUSE:Factory/.nodejs-underscore.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-underscore"
Sat Dec 24 14:52:31 2022 rev:3 rq:1045172 version:1.13.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-underscore/nodejs-underscore.changes 2021-04-15 16:58:59.786824219 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-underscore.new.1563/nodejs-underscore.changes 2022-12-24 14:55:20.064696846 +0100
@@ -1,0 +2,9 @@
+Sat Dec 24 08:26:56 UTC 2022 - Hillwood Yang <hillwood(a)opensuse.org>
+
+- Update version to 1.13.6
+ * minor bugfixes and improved documentation
+ * Patch release with improved compatibility with ExtendScript
+ * Patch release to address WebPack module federation issue
+ * Patch to add exports.require.module, plus testing updates
+
+-------------------------------------------------------------------
Old:
----
underscore-1.13.1.tar.gz
New:
----
underscore-1.13.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-underscore.spec ++++++
--- /var/tmp/diff_new_pack.hDqTYl/_old 2022-12-24 14:55:20.668700370 +0100
+++ /var/tmp/diff_new_pack.hDqTYl/_new 2022-12-24 14:55:20.676700417 +0100
@@ -1,7 +1,7 @@
#
# spec file for package nodejs-underscore
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,8 +21,8 @@
%define nodejs_modulesdir /usr/lib/node_modules
%endif
-Name: nodejs-%{_name}
-Version: 1.13.1
+Name: nodejs-underscore
+Version: 1.13.6
Release: 0
Summary: A utility belt library for JavaScript
License: MIT
++++++ underscore-1.13.1.tar.gz -> underscore-1.13.6.tar.gz ++++++
++++ 35212 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-treebeard for openSUSE:Factory checked in at 2022-12-24 14:52:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-treebeard (Old)
and /work/SRC/openSUSE:Factory/.python-django-treebeard.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-treebeard"
Sat Dec 24 14:52:32 2022 rev:5 rq:1045177 version:4.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-django-treebeard/python-django-treebeard.changes 2022-05-03 21:19:29.337037539 +0200
+++ /work/SRC/openSUSE:Factory/.python-django-treebeard.new.1563/python-django-treebeard.changes 2022-12-24 14:55:21.276703918 +0100
@@ -1,0 +2,6 @@
+Sat Dec 24 08:35:05 UTC 2022 - Matej Cepl <mcepl(a)suse.com>
+
+- Add update-tests.patch to fix
+ gh#django-treebeard/django-treebeard#241.
+
+-------------------------------------------------------------------
New:
----
update-tests.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-treebeard.spec ++++++
--- /var/tmp/diff_new_pack.NQkEhk/_old 2022-12-24 14:55:21.696706368 +0100
+++ /var/tmp/diff_new_pack.NQkEhk/_new 2022-12-24 14:55:21.700706392 +0100
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-django-treebeard
Version: 4.5.1
@@ -26,13 +25,17 @@
Group: Development/Languages/Python
URL: https://github.com/django-treebeard/django-treebeard/
Source: https://files.pythonhosted.org/packages/source/d/django-treebeard/django-tr…
-BuildRequires: %{python_module setuptools}
+# PATCH-FIX-UPSTREAM update-tests.patch gh#django-treebeard/django-treebeard#241 mcepl(a)suse.com
+# update tests to work with the modern versions of libraries
+Patch0: update-tests.patch
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Django >= 2.2
+Requires: python-Django >= 3.2
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module Django >= 2.2}
+BuildRequires: %{python_module Django >= 3.2}
BuildRequires: %{python_module pytest-django >= 4.0}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -47,16 +50,15 @@
- Nested Sets
%prep
-%setup -q -n django-treebeard-%{version}
-%autopatch -p1
+%autosetup -p1 -n django-treebeard-%{version}
sed -i 's/\r//' CHANGES.md README.md UPDATING
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/treebeard/tests/
%fdupes %{buildroot}%{$python_sitelib}
}
@@ -74,14 +76,14 @@
export DJANGO_SETTINGS_MODULE=treebeard.tests.settings
PYTHONPATH=.
-# Exclusions because of gh#django-treebeard/django-treebeard#241
-%pytest -k 'not (test_result_filtered or test_result_tree or test_result_tree_list or test_result_tree_list_with_action or test_result_tree_list_with_get or test_unicode_result_tree)'
+%pytest
%python_expand rm -r %{buildroot}%{$python_sitelib}/treebeard/tests/
%files %{python_files}
%doc CHANGES.md README.md UPDATING
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/treebeard
+%{python_sitelib}/django_treebeard-%{version}*-info
%changelog
++++++ update-tests.patch ++++++
From 868ba56198c456ce3d5f3333329304beaa90e184 Mon Sep 17 00:00:00 2001
From: Samir Shah <solaris.smoke(a)gmail.com>
Date: Sat, 24 Dec 2022 05:21:12 +0300
Subject: [PATCH] Update supported versions and test matrix.
---
docs/source/tests.rst | 11 +++----
setup.py | 13 ++++----
treebeard/__init__.py | 2 -
treebeard/tests/settings.py | 3 --
treebeard/tests/test_treebeard.py | 57 ++++++++++++++++++++++----------------
5 files changed, 47 insertions(+), 39 deletions(-)
delete mode 100644 .travis.yml
--- a/docs/source/tests.rst
+++ b/docs/source/tests.rst
@@ -41,18 +41,17 @@ tox
``django-treebeard`` uses `tox`_ to run the test suite in all the supported
environments - permutations of:
- - Python 3.6, 3.7 and 3.8
- - Django 2.2, 3.0 and 3.1
+ - Python 3.8 - 3.11
+ - Django 3.2, 4.0 and 4.1
- Sqlite, MySQL and PostgreSQL
-This means that the test suite will run 24 times to test every
-environment supported by ``django-treebeard``. This takes a long time.
-If you want to test only one or a few environments, please use the `-e`
+This means that there are a lot of permutations, which takes a long time.
+If you want to test only one or a few environments, use the `-e`
option in `tox`_, like:
.. code-block:: console
- $ tox -e py36-dj22-pgsql
+ $ tox -e py39-dj32-postgres
.. _pytest: http://pytest.org/
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup_args = dict(
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.6',
- install_requires=['Django>=2.2'],
+ install_requires=['Django>=3.2'],
tests_require=[
'pytest-django>=4.0,<5.0',
@@ -34,13 +34,14 @@ setup_args = dict(
'License :: OSI Approved :: Apache Software License',
'Environment :: Web Environment',
'Framework :: Django',
- 'Framework :: Django :: 2.2',
- 'Framework :: Django :: 3.0',
- 'Framework :: Django :: 3.1',
+ 'Framework :: Django :: 3.2',
+ 'Framework :: Django :: 4.0',
+ 'Framework :: Django :: 4.1',
'Programming Language :: Python',
- 'Programming Language :: Python :: 3.6',
- 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'])
--- a/treebeard/__init__.py
+++ b/treebeard/__init__.py
@@ -7,7 +7,7 @@ Release logic:
3. git commit -m 'Bump to <version>'
4. git tag <version>
5. git push
- 6. assure that all tests pass on https://travis-ci.org/django-treebeard/django-treebeard/builds/
+ 6. ensure that all tests pass on Github Actions
7. git push --tags
8. pip install --upgrade pip wheel twine
9. python setup.py clean --all
--- a/treebeard/tests/settings.py
+++ b/treebeard/tests/settings.py
@@ -38,7 +38,7 @@ def get_db_conf():
}
elif database_engine == "mssql":
return {
- 'ENGINE': 'sql_server.pyodbc',
+ 'ENGINE': 'mssql',
'NAME': 'master',
'USER': 'sa',
'PASSWORD': 'Password12!',
@@ -46,7 +46,6 @@ def get_db_conf():
'PORT': '',
'OPTIONS': {
'driver': 'SQL Server Native Client 11.0',
- 'MARS_Connection': 'True',
},
}
--- a/treebeard/tests/test_treebeard.py
+++ b/treebeard/tests/test_treebeard.py
@@ -15,6 +15,7 @@ from django.test import TestCase
from django.test.client import RequestFactory
from django.templatetags.static import static
from django.contrib.admin.options import TO_FIELD_VAR
+from django import VERSION as DJANGO_VERSION
import pytest
@@ -140,6 +141,14 @@ def mpm2muser_model(request):
return request.param
+# Compat helper, and be dropped after Django 3.2 is dropped
+def get_changelist_args(*args):
+ new_args = list(args)
+ if DJANGO_VERSION > (4,):
+ new_args.append("") # New search_help_text arg
+ return new_args
+
+
class TestTreeBase(object):
def got(self, model):
if model in [models.NS_TestNode, models.NS_TestNode_Proxy]:
@@ -2603,7 +2612,7 @@ class TestAdminTree(TestNonEmptyTree):
m = admin_class(model, site)
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2616,8 +2625,8 @@ class TestAdminTree(TestNonEmptyTree):
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
@@ -2652,7 +2661,7 @@ class TestAdminTree(TestNonEmptyTree):
m = UnicodeModelAdmin(model, site)
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2665,8 +2674,8 @@ class TestAdminTree(TestNonEmptyTree):
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
@@ -2693,7 +2702,7 @@ class TestAdminTree(TestNonEmptyTree):
m = admin_class(model, site)
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2706,8 +2715,8 @@ class TestAdminTree(TestNonEmptyTree):
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
@@ -2719,7 +2728,7 @@ class TestAdminTree(TestNonEmptyTree):
request.user = AnonymousUser()
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2732,8 +2741,8 @@ class TestAdminTree(TestNonEmptyTree):
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
@@ -2745,7 +2754,7 @@ class TestAdminTree(TestNonEmptyTree):
request.user = AnonymousUser()
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2758,8 +2767,8 @@ class TestAdminTree(TestNonEmptyTree):
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
@@ -2788,7 +2797,7 @@ class TestAdminTreeList(TestNonEmptyTree
m = admin_class(model, site)
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2801,8 +2810,8 @@ class TestAdminTreeList(TestNonEmptyTree
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
@@ -2821,7 +2830,7 @@ class TestAdminTreeList(TestNonEmptyTree
m = admin_class(model, site)
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2834,8 +2843,8 @@ class TestAdminTreeList(TestNonEmptyTree
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request, "action_form": True})
table_output = self.template.render(context)
@@ -2864,7 +2873,7 @@ class TestAdminTreeList(TestNonEmptyTree
m = admin_class(model, site)
list_display = m.get_list_display(request)
list_display_links = m.get_list_display_links(request, list_display)
- cl = ChangeList(
+ cl = ChangeList(*get_changelist_args(
request,
model,
list_display,
@@ -2877,8 +2886,8 @@ class TestAdminTreeList(TestNonEmptyTree
m.list_max_show_all,
m.list_editable,
m,
- None,
- )
+ [],
+ ))
cl.formset = None
context = Context({"cl": cl, "request": request})
table_output = self.template.render(context)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package QTalarm for openSUSE:Factory checked in at 2022-12-24 14:52:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QTalarm (Old)
and /work/SRC/openSUSE:Factory/.QTalarm.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QTalarm"
Sat Dec 24 14:52:30 2022 rev:8 rq:1045174 version:2.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/QTalarm/QTalarm.changes 2022-12-02 13:13:06.177840555 +0100
+++ /work/SRC/openSUSE:Factory/.QTalarm.new.1563/QTalarm.changes 2022-12-24 14:55:19.356692715 +0100
@@ -1,0 +2,8 @@
+Fri Dec 23 17:30:37 UTC 2022 - Martin Hauke <mardnh(a)gmx.de>
+
+- Update to version 2.4.0
+ * Added ability to detect if another instance of the application
+ is running and self terminate if so.
+ * Added more verbose debug logging.
+
+-------------------------------------------------------------------
Old:
----
QTalarm-2.3.2.tar.gz
New:
----
QTalarm-2.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ QTalarm.spec ++++++
--- /var/tmp/diff_new_pack.nziY2h/_old 2022-12-24 14:55:19.780695189 +0100
+++ /var/tmp/diff_new_pack.nziY2h/_new 2022-12-24 14:55:19.788695235 +0100
@@ -18,7 +18,7 @@
%define _name qtalarm
Name: QTalarm
-Version: 2.3.2
+Version: 2.4.0
Release: 0
Summary: A handy alarm clock Program written in QT
License: GPL-3.0-only
++++++ QTalarm-2.3.2.tar.gz -> QTalarm-2.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/.github/workflows/build.yml new/QTalarm-2.4.0/.github/workflows/build.yml
--- old/QTalarm-2.3.2/.github/workflows/build.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/QTalarm-2.4.0/.github/workflows/build.yml 2022-12-23 01:33:52.000000000 +0100
@@ -0,0 +1,22 @@
+name: Build
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ # Important: This sets up your GITHUB_WORKSPACE environment variable
+ - uses: actions/checkout@v2
+
+ - name: Install Qt
+ uses: jurplel/install-qt-action@v3
+
+ - name: Build the Makefile using qmake
+ run: qmake
+
+ - name: Build the project using make
+ run: make
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/LICENSE new/QTalarm-2.4.0/LICENSE
--- old/QTalarm-2.3.2/LICENSE 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/LICENSE 2022-12-23 01:33:52.000000000 +0100
@@ -1,626 +1,675 @@
-GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
-Version 3, 29 June 2007
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ 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
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-Copyright �� 2007 Free Software Foundation, Inc. <http s ://fsf.org/>
-
-Everyone is permitted to copy and distribute verbatim copies of this license
-document, but changing it is not allowed.
-
-Preamble
-
-The GNU General Public License is a free, copyleft license for software and
-other kinds of works.
-
-The licenses for most software and other practical works are designed to take
-away your freedom to share and change the works. By contrast, the GNU General
-Public License is intended to guarantee your freedom to share and change all
-versions of a program--to make sure it remains free software for all its users.
-We, the Free Software Foundation, use the GNU General Public License for most
-of our software; it applies also to any other work released this way by its
-authors. You can apply it to your programs, too.
-
-When we speak of free software, we are referring to freedom, not price. Our
-General Public Licenses are designed to make sure that you have the freedom
-to distribute copies of free software (and charge for them if you wish), that
-you receive source code or can get it if you want it, that you can change
-the software or use pieces of it in new free programs, and that you know you
-can do these things.
-
-To protect your rights, we need to prevent others from denying you these rights
-or asking you to surrender the rights. Therefore, you have certain responsibilities
-if you distribute copies of the software, or if you modify it: responsibilities
-to respect the freedom of others.
-
-For example, if you distribute copies of such a program, whether gratis or
-for a fee, you must pass on to the recipients the same freedoms that you received.
-You must make sure that they, too, receive or can get the source code. And
-you must show them these terms so they know their rights.
-
-Developers that use the GNU GPL protect your rights with two steps: (1) assert
-copyright on the software, and (2) offer you this License giving you legal
-permission to copy, distribute and/or modify it.
-
-For the developers' and authors' protection, the GPL clearly explains that
-there is no warranty for this free software. For both users' and authors'
-sake, the GPL requires that modified versions be marked as changed, so that
-their problems will not be attributed erroneously to authors of previous versions.
-
-Some devices are designed to deny users access to install or run modified
-versions of the software inside them, although the manufacturer can do so.
-This is fundamentally incompatible with the aim of protecting users' freedom
-to change the software. The systematic pattern of such abuse occurs in the
-area of products for individuals to use, which is precisely where it is most
-unacceptable. Therefore, we have designed this version of the GPL to prohibit
-the practice for those products. If such problems arise substantially in other
-domains, we stand ready to extend this provision to those domains in future
-versions of the GPL, as needed to protect the freedom of users.
-
-Finally, every program is threatened constantly by software patents. States
-should not allow patents to restrict development and use of software on general-purpose
-computers, but in those that do, we wish to avoid the special danger that
-patents applied to a free program could make it effectively proprietary. To
-prevent this, the GPL assures that patents cannot be used to render the program
-non-free.
-
-The precise terms and conditions for copying, distribution and modification
-follow.
-
-TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
-"Copyright" also means copyright-like laws that apply to other kinds of works,
-such as semiconductor masks.
-
-"The Program" refers to any copyrightable work licensed under this License.
-Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals
-or organizations.
-
-To "modify" a work means to copy from or adapt all or part of the work in
-a fashion requiring copyright permission, other than the making of an exact
-copy. The resulting work is called a "modified version" of the earlier work
-or a work "based on" the earlier work.
-
-A "covered work" means either the unmodified Program or a work based on the
-Program.
-
-To "propagate" a work means to do anything with it that, without permission,
-would make you directly or secondarily liable for infringement under applicable
-copyright law, except executing it on a computer or modifying a private copy.
-Propagation includes copying, distribution (with or without modification),
-making available to the public, and in some countries other activities as
-well.
-
-To "convey" a work means any kind of propagation that enables other parties
-to make or receive copies. Mere interaction with a user through a computer
-network, with no transfer of a copy, is not conveying.
-
-An interactive user interface displays "Appropriate Legal Notices" to the
-extent that it includes a convenient and prominently visible feature that
-(1) displays an appropriate copyright notice, and (2) tells the user that
-there is no warranty for the work (except to the extent that warranties are
-provided), that licensees may convey the work under this License, and how
-to view a copy of this License. If the interface presents a list of user commands
-or options, such as a menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
-The "source code" for a work means the preferred form of the work for making
-modifications to it. "Object code" means any non-source form of a work.
-
-A "Standard Interface" means an interface that either is an official standard
-defined by a recognized standards body, or, in the case of interfaces specified
-for a particular programming language, one that is widely used among developers
-working in that language.
-
-The "System Libraries" of an executable work include anything, other than
-the work as a whole, that (a) is included in the normal form of packaging
-a Major Component, but which is not part of that Major Component, and (b)
-serves only to enable use of the work with that Major Component, or to implement
-a Standard Interface for which an implementation is available to the public
-in source code form. A "Major Component", in this context, means a major essential
-component (kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to produce
-the work, or an object code interpreter used to run it.
-
-The "Corresponding Source" for a work in object code form means all the source
-code needed to generate, install, and (for an executable work) run the object
-code and to modify the work, including scripts to control those activities.
-However, it does not include the work's System Libraries, or general-purpose
-tools or generally available free programs which are used unmodified in performing
-those activities but which are not part of the work. For example, Corresponding
-Source includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically linked
-subprograms that the work is specifically designed to require, such as by
-intimate data communication or control flow between those subprograms and
-other parts of the work.
-
-The Corresponding Source need not include anything that users can regenerate
-automatically from other parts of the Corresponding Source.
-
- The Corresponding Source for a work in source code form is that same work.
-
- 2. Basic Permissions.
-
-All rights granted under this License are granted for the term of copyright
-on the Program, and are irrevocable provided the stated conditions are met.
-This License explicitly affirms your unlimited permission to run the unmodified
-Program. The output from running a covered work is covered by this License
-only if the output, given its content, constitutes a covered work. This License
-acknowledges your rights of fair use or other equivalent, as provided by copyright
-law.
-
-You may make, run and propagate covered works that you do not convey, without
-conditions so long as your license otherwise remains in force. You may convey
-covered works to others for the sole purpose of having them make modifications
-exclusively for you, or provide you with facilities for running those works,
-provided that you comply with the terms of this License in conveying all material
-for which you do not control copyright. Those thus making or running the covered
-works for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of your copyrighted
-material outside their relationship with you.
-
-Conveying under any other circumstances is permitted solely under the conditions
-stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-No covered work shall be deemed part of an effective technological measure
-under any applicable law fulfilling obligations under article 11 of the WIPO
-copyright treaty adopted on 20 December 1996, or similar laws prohibiting
-or restricting circumvention of such measures.
-
-When you convey a covered work, you waive any legal power to forbid circumvention
-of technological measures to the extent such circumvention is effected by
-exercising rights under this License with respect to the covered work, and
-you disclaim any intention to limit operation or modification of the work
-as a means of enforcing, against the work's users, your or third parties'
-legal rights to forbid circumvention of technological measures.
-
- 4. Conveying Verbatim Copies.
-
-You may convey verbatim copies of the Program's source code as you receive
-it, in any medium, provided that you conspicuously and appropriately publish
-on each copy an appropriate copyright notice; keep intact all notices stating
-that this License and any non-permissive terms added in accord with section
-7 apply to the code; keep intact all notices of the absence of any warranty;
-and give all recipients a copy of this License along with the Program.
-
-You may charge any price or no price for each copy that you convey, and you
-may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
-You may convey a work based on the Program, or the modifications to produce
-it from the Program, in the form of source code under the terms of section
-4, provided that you also meet all of these conditions:
-
-a) The work must carry prominent notices stating that you modified it, and
-giving a relevant date.
-
-b) The work must carry prominent notices stating that it is released under
-this License and any conditions added under section 7. This requirement modifies
-the requirement in section 4 to "keep intact all notices".
-
-c) You must license the entire work, as a whole, under this License to anyone
-who comes into possession of a copy. This License will therefore apply, along
-with any applicable section 7 additional terms, to the whole of the work,
-and all its parts, regardless of how they are packaged. This License gives
-no permission to license the work in any other way, but it does not invalidate
-such permission if you have separately received it.
-
-d) If the work has interactive user interfaces, each must display Appropriate
-Legal Notices; however, if the Program has interactive interfaces that do
-not display Appropriate Legal Notices, your work need not make them do so.
-
-A compilation of a covered work with other separate and independent works,
-which are not by their nature extensions of the covered work, and which are
-not combined with it such as to form a larger program, in or on a volume of
-a storage or distribution medium, is called an "aggregate" if the compilation
-and its resulting copyright are not used to limit the access or legal rights
-of the compilation's users beyond what the individual works permit. Inclusion
-of a covered work in an aggregate does not cause this License to apply to
-the other parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
-You may convey a covered work in object code form under the terms of sections
-4 and 5, provided that you also convey the machine-readable Corresponding
-Source under the terms of this License, in one of these ways:
-
-a) Convey the object code in, or embodied in, a physical product (including
-a physical distribution medium), accompanied by the Corresponding Source fixed
-on a durable physical medium customarily used for software interchange.
-
-b) Convey the object code in, or embodied in, a physical product (including
-a physical distribution medium), accompanied by a written offer, valid for
-at least three years and valid for as long as you offer spare parts or customer
-support for that product model, to give anyone who possesses the object code
-either (1) a copy of the Corresponding Source for all the software in the
-product that is covered by this License, on a durable physical medium customarily
-used for software interchange, for a price no more than your reasonable cost
-of physically performing this conveying of source, or (2) access to copy the
-Corresponding Source from a network server at no charge.
-
-c) Convey individual copies of the object code with a copy of the written
-offer to provide the Corresponding Source. This alternative is allowed only
-occasionally and noncommercially, and only if you received the object code
-with such an offer, in accord with subsection 6b.
-
-d) Convey the object code by offering access from a designated place (gratis
-or for a charge), and offer equivalent access to the Corresponding Source
-in the same way through the same place at no further charge. You need not
-require recipients to copy the Corresponding Source along with the object
-code. If the place to copy the object code is a network server, the Corresponding
-Source may be on a different server (operated by you or a third party) that
-supports equivalent copying facilities, provided you maintain clear directions
-next to the object code saying where to find the Corresponding Source. Regardless
-of what server hosts the Corresponding Source, you remain obligated to ensure
-that it is available for as long as needed to satisfy these requirements.
-
-e) Convey the object code using peer-to-peer transmission, provided you inform
-other peers where the object code and Corresponding Source of the work are
-being offered to the general public at no charge under subsection 6d.
-
-A separable portion of the object code, whose source code is excluded from
-the Corresponding Source as a System Library, need not be included in conveying
-the object code work.
-
-A "User Product" is either (1) a "consumer product", which means any tangible
-personal property which is normally used for personal, family, or household
-purposes, or (2) anything designed or sold for incorporation into a dwelling.
-In determining whether a product is a consumer product, doubtful cases shall
-be resolved in favor of coverage. For a particular product received by a particular
-user, "normally used" refers to a typical or common use of that class of product,
-regardless of the status of the particular user or of the way in which the
-particular user actually uses, or expects or is expected to use, the product.
-A product is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent the
-only significant mode of use of the product.
-
-"Installation Information" for a User Product means any methods, procedures,
-authorization keys, or other information required to install and execute modified
-versions of a covered work in that User Product from a modified version of
-its Corresponding Source. The information must suffice to ensure that the
-continued functioning of the modified object code is in no case prevented
-or interfered with solely because modification has been made.
-
-If you convey an object code work under this section in, or with, or specifically
-for use in, a User Product, and the conveying occurs as part of a transaction
-in which the right of possession and use of the User Product is transferred
-to the recipient in perpetuity or for a fixed term (regardless of how the
-transaction is characterized), the Corresponding Source conveyed under this
-section must be accompanied by the Installation Information. But this requirement
-does not apply if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has been installed
-in ROM).
-
-The requirement to provide Installation Information does not include a requirement
-to continue to provide support service, warranty, or updates for a work that
-has been modified or installed by the recipient, or for the User Product in
-which it has been modified or installed. Access to a network may be denied
-when the modification itself materially and adversely affects the operation
-of the network or violates the rules and protocols for communication across
-the network.
-
-Corresponding Source conveyed, and Installation Information provided, in accord
-with this section must be in a format that is publicly documented (and with
-an implementation available to the public in source code form), and must require
-no special password or key for unpacking, reading or copying.
-
- 7. Additional Terms.
-
-"Additional permissions" are terms that supplement the terms of this License
-by making exceptions from one or more of its conditions. Additional permissions
-that are applicable to the entire Program shall be treated as though they
-were included in this License, to the extent that they are valid under applicable
-law. If additional permissions apply only to part of the Program, that part
-may be used separately under those permissions, but the entire Program remains
-governed by this License without regard to the additional permissions.
-
-When you convey a copy of a covered work, you may at your option remove any
-additional permissions from that copy, or from any part of it. (Additional
-permissions may be written to require their own removal in certain cases when
-you modify the work.) You may place additional permissions on material, added
-by you to a covered work, for which you have or can give appropriate copyright
-permission.
-
-Notwithstanding any other provision of this License, for material you add
-to a covered work, you may (if authorized by the copyright holders of that
-material) supplement the terms of this License with terms:
-
-a) Disclaiming warranty or limiting liability differently from the terms of
-sections 15 and 16 of this License; or
-
-b) Requiring preservation of specified reasonable legal notices or author
-attributions in that material or in the Appropriate Legal Notices displayed
-by works containing it; or
-
-c) Prohibiting misrepresentation of the origin of that material, or requiring
-that modified versions of such material be marked in reasonable ways as different
-from the original version; or
-
-d) Limiting the use for publicity purposes of names of licensors or authors
-of the material; or
-
-e) Declining to grant rights under trademark law for use of some trade names,
-trademarks, or service marks; or
-
-f) Requiring indemnification of licensors and authors of that material by
-anyone who conveys the material (or modified versions of it) with contractual
-assumptions of liability to the recipient, for any liability that these contractual
-assumptions directly impose on those licensors and authors.
-
-All other non-permissive additional terms are considered "further restrictions"
-within the meaning of section 10. If the Program as you received it, or any
-part of it, contains a notice stating that it is governed by this License
-along with a term that is a further restriction, you may remove that term.
-If a license document contains a further restriction but permits relicensing
-or conveying under this License, you may add to a covered work material governed
-by the terms of that license document, provided that the further restriction
-does not survive such relicensing or conveying.
-
-If you add terms to a covered work in accord with this section, you must place,
-in the relevant source files, a statement of the additional terms that apply
-to those files, or a notice indicating where to find the applicable terms.
-
-Additional terms, permissive or non-permissive, may be stated in the form
-of a separately written license, or stated as exceptions; the above requirements
-apply either way.
-
- 8. Termination.
-
-You may not propagate or modify a covered work except as expressly provided
-under this License. Any attempt otherwise to propagate or modify it is void,
-and will automatically terminate your rights under this License (including
-any patent licenses granted under the third paragraph of section 11).
-
-However, if you cease all violation of this License, then your license from
-a particular copyright holder is reinstated (a) provisionally, unless and
-until the copyright holder explicitly and finally terminates your license,
-and (b) permanently, if the copyright holder fails to notify you of the violation
-by some reasonable means prior to 60 days after the cessation.
-
-Moreover, your license from a particular copyright holder is reinstated permanently
-if the copyright holder notifies you of the violation by some reasonable means,
-this is the first time you have received notice of violation of this License
-(for any work) from that copyright holder, and you cure the violation prior
-to 30 days after your receipt of the notice.
-
-Termination of your rights under this section does not terminate the licenses
-of parties who have received copies or rights from you under this License.
-If your rights have been terminated and not permanently reinstated, you do
-not qualify to receive new licenses for the same material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
-You are not required to accept this License in order to receive or run a copy
-of the Program. Ancillary propagation of a covered work occurring solely as
-a consequence of using peer-to-peer transmission to receive a copy likewise
-does not require acceptance. However, nothing other than this License grants
-you permission to propagate or modify any covered work. These actions infringe
-copyright if you do not accept this License. Therefore, by modifying or propagating
-a covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
-Each time you convey a covered work, the recipient automatically receives
-a license from the original licensors, to run, modify and propagate that work,
-subject to this License. You are not responsible for enforcing compliance
-by third parties with this License.
-
-An "entity transaction" is a transaction transferring control of an organization,
-or substantially all assets of one, or subdividing an organization, or merging
-organizations. If propagation of a covered work results from an entity transaction,
-each party to that transaction who receives a copy of the work also receives
-whatever licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the Corresponding
-Source of the work from the predecessor in interest, if the predecessor has
-it or can get it with reasonable efforts.
-
-You may not impose any further restrictions on the exercise of the rights
-granted or affirmed under this License. For example, you may not impose a
-license fee, royalty, or other charge for exercise of rights granted under
-this License, and you may not initiate litigation (including a cross-claim
-or counterclaim in a lawsuit) alleging that any patent claim is infringed
-by making, using, selling, offering for sale, or importing the Program or
-any portion of it.
-
- 11. Patents.
-
-A "contributor" is a copyright holder who authorizes use under this License
-of the Program or a work on which the Program is based. The work thus licensed
-is called the contributor's "contributor version".
-
-A contributor's "essential patent claims" are all patent claims owned or controlled
-by the contributor, whether already acquired or hereafter acquired, that would
-be infringed by some manner, permitted by this License, of making, using,
-or selling its contributor version, but do not include claims that would be
-infringed only as a consequence of further modification of the contributor
-version. For purposes of this definition, "control" includes the right to
-grant patent sublicenses in a manner consistent with the requirements of this
-License.
-
-Each contributor grants you a non-exclusive, worldwide, royalty-free patent
-license under the contributor's essential patent claims, to make, use, sell,
-offer for sale, import and otherwise run, modify and propagate the contents
-of its contributor version.
-
-In the following three paragraphs, a "patent license" is any express agreement
-or commitment, however denominated, not to enforce a patent (such as an express
-permission to practice a patent or covenant not to sue for patent infringement).
-To "grant" such a patent license to a party means to make such an agreement
-or commitment not to enforce a patent against the party.
-
-If you convey a covered work, knowingly relying on a patent license, and the
-Corresponding Source of the work is not available for anyone to copy, free
-of charge and under the terms of this License, through a publicly available
-network server or other readily accessible means, then you must either (1)
-cause the Corresponding Source to be so available, or (2) arrange to deprive
-yourself of the benefit of the patent license for this particular work, or
-(3) arrange, in a manner consistent with the requirements of this License,
-to extend the patent license to downstream recipients. "Knowingly relying"
-means you have actual knowledge that, but for the patent license, your conveying
-the covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that country
-that you have reason to believe are valid.
-
-If, pursuant to or in connection with a single transaction or arrangement,
-you convey, or propagate by procuring conveyance of, a covered work, and grant
-a patent license to some of the parties receiving the covered work authorizing
-them to use, propagate, modify or convey a specific copy of the covered work,
-then the patent license you grant is automatically extended to all recipients
-of the covered work and works based on it.
-
-A patent license is "discriminatory" if it does not include within the scope
-of its coverage, prohibits the exercise of, or is conditioned on the non-exercise
-of one or more of the rights that are specifically granted under this License.
-You may not convey a covered work if you are a party to an arrangement with
-a third party that is in the business of distributing software, under which
-you make payment to the third party based on the extent of your activity of
-conveying the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory patent
-license (a) in connection with copies of the covered work conveyed by you
-(or copies made from those copies), or (b) primarily for and in connection
-with specific products or compilations that contain the covered work, unless
-you entered into that arrangement, or that patent license was granted, prior
-to 28 March 2007.
-
-Nothing in this License shall be construed as excluding or limiting any implied
-license or other defenses to infringement that may otherwise be available
-to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
-If conditions are imposed on you (whether by court order, agreement or otherwise)
-that contradict the conditions of this License, they do not excuse you from
-the conditions of this License. If you cannot convey a covered work so as
-to satisfy simultaneously your obligations under this License and any other
-pertinent obligations, then as a consequence you may not convey it at all.
-For example, if you agree to terms that obligate you to collect a royalty
-for further conveying from those to whom you convey the Program, the only
-way you could satisfy both those terms and this License would be to refrain
-entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
-Notwithstanding any other provision of this License, you have permission to
-link or combine any covered work with a work licensed under version 3 of the
-GNU Affero General Public License into a single combined work, and to convey
-the resulting work. The terms of this License will continue to apply to the
-part which is the covered work, but the special requirements of the GNU Affero
-General Public License, section 13, concerning interaction through a network
-will apply to the combination as such.
-
- 14. Revised Versions of this License.
-
-The Free Software Foundation may publish revised and/or new versions of the
-GNU General Public License from time to time. Such new versions will be similar
-in spirit to the present version, but may differ in detail to address new
-problems or concerns.
-
-Each version is given a distinguishing version number. If the Program specifies
-that a certain numbered version of the GNU General Public License "or any
-later version" applies to it, you have the option of following the terms and
-conditions either of that numbered version or of any later version published
-by the Free Software Foundation. If the Program does not specify a version
-number of the GNU General Public License, you may choose any version ever
-published by the Free Software Foundation.
-
-If the Program specifies that a proxy can decide which future versions of
-the GNU General Public License can be used, that proxy's public statement
-of acceptance of a version permanently authorizes you to choose that version
-for the Program.
-
-Later license versions may give you additional or different permissions. However,
-no additional obligations are imposed on any author or copyright holder as
-a result of your choosing to follow a later version.
-
- 15. Disclaimer of Warranty.
-
-THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
-LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
-EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
-PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
-CORRECTION.
-
- 16. Limitation of Liability.
-
-IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
-ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
-AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
-INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
-USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
-INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
-PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
-PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
-If the disclaimer of warranty and limitation of liability provided above cannot
-be given local legal effect according to their terms, reviewing courts shall
-apply local law that most closely approximates an absolute waiver of all civil
-liability in connection with the Program, unless a warranty or assumption
-of liability accompanies a copy of the Program in return for a fee. END OF
-TERMS AND CONDITIONS
-
-How to Apply These Terms to Your New Programs
-
-If you develop a new program, and you want it to be of the greatest possible
-use to the public, the best way to achieve this is to make it free software
-which everyone can redistribute and change under these terms.
-
-To do so, attach the following notices to the program. It is safest to attach
-them to the start of each source file to most effectively state the exclusion
-of warranty; and each file should have at least the "copyright" line and a
-pointer to where the full notice is found.
-
-<one line to give the program's name and a brief idea of what it does.>
-
-Copyright (C) <year> <name of author>
-
-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 the Free Software
-Foundation, either version 3 of the License, or (at your option) any later
-version.
-
-This program is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-FOR A PARTICULAR PURPOSE. See the 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 <http s ://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
-If the program does terminal interaction, make it output a short notice like
-this when it starts in an interactive mode:
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
-<program> Copyright (C) <year> <name of author>
-
-This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-
-This is free software, and you are welcome to redistribute it under certain
-conditions; type `show c' for details.
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands might
-be different; for a GUI interface, you would use an "about box".
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
-You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary. For
-more information on this, and how to apply and follow the GNU GPL, see <http
-s ://www.gnu.org/licenses/>.
-
-The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Lesser General Public
-License instead of this License. But first, please read <http s ://www.gnu.org/
-licenses /why-not-lgpl.html>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/README.md new/QTalarm-2.4.0/README.md
--- old/QTalarm-2.3.2/README.md 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/README.md 2022-12-23 01:33:52.000000000 +0100
@@ -1,14 +1,20 @@
QTalarm
=======
-A handy alarm clock Program written in QT.
+[![Actions Status](https://github.com/CountMurphy/QTalarm/workflows/Build/badge.svg)](…
-Compile Instrustions for Linux and Mac:
- Type: "qmake", "make", and then "make clean"
+A handy alarm clock program written in QT.
-Windows users will have to compile the program with the QT creator IDE (or download the binaries off the downloads page)
+Compilation instructions for Linux and MacOS:
+```
+qmake
+make
+make clean
+```
+
+Windows users will have to compile the program with the QT creator IDE (or download the binaries off the downloads page).
-Screen shots and more information on the [offical web page!](https://random-hackery.net/page/qtalarm/)
+Screenshots and more information on the [official web page!](https://random-hackery.net/page/qtalarm/)
Features
========
@@ -17,21 +23,22 @@
- Can wake up using the default sound, or any of audio / video file of your choosing.
-- Custom Date alarms
+- Custom date alarms
- Completely Cross plateform
## Linux Build/Install
### Building
+
1. Ensure QT5 is installed on your system.
-1. In the termnal, type `qmake` This will create a Makefile
-1. type `make`
+1. In the termnal, type `qmake`. This will create a Makefile
+1. Type `make`
### Installing
-1. copy the qtalarm binary into /usr/bin (sudo cp qtalarm /usr/bin).
-2. inside of the source code directory, there is a directory called "Icons." These icons need to be copied with the following commands:
+1. Copy the qtalarm binary into `/usr/bin` (`sudo cp qtalarm /usr/bin`).
+2. Inside of the source code directory, there is a directory called "Icons." These icons need to be copied with the following commands:
- `sudo cp 1349069370_Alarm_Clock.png /usr/share/icons/hicolor/48x48/apps/`
- `sudo cp Icons/1349069370_Alarm_Clock24.png /usr/share/icons/hicolor/24x24/apps/1349069370_Alarm_Clock.png`
- `sudo cp 1349069370_Alarm_Clock16.png /usr/share/icons/hicolor/16x16/apps/1349069370_Alarm_Clock.png`
@@ -55,5 +62,4 @@
==========
GPL V3
-
-Please Report any bugs to the github page at https://github.com/CountMurphy/QTalarm
+Please Report any bugs to the GitHub page at [https://github.com/CountMurphy/QTalarm](https://github.com/CountMurphy/QTal….
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/aboutdialog.h new/QTalarm-2.4.0/aboutdialog.h
--- old/QTalarm-2.3.2/aboutdialog.h 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/aboutdialog.h 2022-12-23 01:33:52.000000000 +0100
@@ -14,7 +14,7 @@
public:
explicit AboutDialog(QWidget *parent = 0);
~AboutDialog();
- const QString version="2.3.2";
+ const QString version="2.4.0";
private:
Ui::AboutDialog *ui;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/alarm.cpp new/QTalarm-2.4.0/alarm.cpp
--- old/QTalarm-2.3.2/alarm.cpp 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/alarm.cpp 2022-12-23 01:33:52.000000000 +0100
@@ -20,6 +20,7 @@
void Alarm::Start(bool useCustom)
{
+ qInfo() << "Starting alarm audio";
if(useCustom)
{
media->setMedia(QUrl::fromLocalFile(this->_CustPath));
@@ -36,6 +37,7 @@
void Alarm::Stop()
{
+ qInfo() << "Stopping alarm audio";
media->stop();
this->_Pause->start(60000);
this->_isPlaying=false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/fileio.cpp new/QTalarm-2.4.0/fileio.cpp
--- old/QTalarm-2.3.2/fileio.cpp 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/fileio.cpp 2022-12-23 01:33:52.000000000 +0100
@@ -8,6 +8,7 @@
#include <QDateTime>
#include <QTime>
#include <QList>
+#include <QDebug>
FileIO::FileIO(QObject *parent) :
QObject(parent)
@@ -31,9 +32,11 @@
QList<ScheduleModel*> FileIO::LoadConfig()
{
+
QList<ScheduleModel*> scheduleList;
QString indexStr;
+ qInfo() << "Loading Config values";
for(int index=0;index<this->_Settings.value("AlarmCount").toInt();index++)
{
ScheduleModel *sched=new ScheduleModel(this);
@@ -77,6 +80,7 @@
int index=0;
this->_Settings.setValue("AlarmCount",SchedList.count());
+ qInfo() << "Saving settings";
foreach(currentSche,SchedList)
{
QString IndexStr;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/mainwindow.cpp new/QTalarm-2.4.0/mainwindow.cpp
--- old/QTalarm-2.3.2/mainwindow.cpp 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/mainwindow.cpp 2022-12-23 01:33:52.000000000 +0100
@@ -21,6 +21,8 @@
#include <QListWidgetItem>
#include <QCalendarWidget>
#include <QToolTip>
+#include <QLocalSocket>
+#include <QLocalServer>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
@@ -34,6 +36,8 @@
qInfo() << "No system tray detected. What a shitty DE"; //what is this 1993?
}
+ TerminateIfRunning();
+
//add buttons
ConfigureButtons();
@@ -573,3 +577,39 @@
_prevTimeWasMil=_isMilTime;
displayTimeMode();
}
+
+void MainWindow::TerminateIfRunning()
+{
+ const QString appKey = "qtalarmLocal";
+
+ QLocalSocket *socket = new QLocalSocket(this);
+ socket->connectToServer(appKey);
+
+ QLocalSocket::LocalSocketState status = socket->state();
+ if (status == QLocalSocket::ConnectedState)
+ {
+ socket->close();
+ socket->deleteLater();
+ qInfo() << "Application already running. Exiting";
+ exit(EXIT_FAILURE);
+ }
+ socket->deleteLater();
+
+
+ //used for process communication for duplicate processes
+ QLocalServer *m_server = new QLocalServer(this);
+ connect(m_server, SIGNAL(newConnection()), this, SLOT(handleLocalConnection()));
+ m_server->setSocketOptions(QLocalServer::UserAccessOption);
+
+ if (!m_server->listen(appKey))
+ {
+ qInfo() << "Unable to start Local Process Server";
+ } else {
+ qInfo() << "Local-only Process Server up and running";
+ }
+}
+
+void MainWindow::handleLocalConnection()
+{
+ this->show();
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/mainwindow.h new/QTalarm-2.4.0/mainwindow.h
--- old/QTalarm-2.3.2/mainwindow.h 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/mainwindow.h 2022-12-23 01:33:52.000000000 +0100
@@ -47,6 +47,7 @@
void SetupTrayIcon(QAction *,QAction*);
void SetupVolume();
void ConfigureButtons();
+ void TerminateIfRunning();
QString solveNotificationTitle = "Solve To Silence";
QString solveNotification = "Solve to Silence is a new feature that prevents the user from dismissing snooze until they solve a math problem";
@@ -76,6 +77,7 @@
void timeCheck();
void ShowSettings();
void SendTrayMessage(QString title, QString message);
+ void handleLocalConnection();
};
#endif // MAINWINDOW_H
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/QTalarm-2.3.2/schedules.cpp new/QTalarm-2.4.0/schedules.cpp
--- old/QTalarm-2.3.2/schedules.cpp 2022-11-28 02:41:03.000000000 +0100
+++ new/QTalarm-2.4.0/schedules.cpp 2022-12-23 01:33:52.000000000 +0100
@@ -3,6 +3,7 @@
#include "fileio.h"
#include <QString>
#include <QSettings>
+#include <QDebug>
Schedules::Schedules(QObject *parent) :
QObject(parent){}
@@ -31,10 +32,12 @@
void Schedules::AddSchedule(ScheduleModel *scheToAdd)
{
+ qInfo() << "Adding new alarm";
this->_Collection.append(scheToAdd);
}
void Schedules::removeScheduleByIndex(int index)
{
+ qInfo() << "Removing alarm";
this->_Collection.removeAt(index);
}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qt5platform-plugins for openSUSE:Factory checked in at 2022-12-24 14:52:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt5platform-plugins (Old)
and /work/SRC/openSUSE:Factory/.qt5platform-plugins.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt5platform-plugins"
Sat Dec 24 14:52:27 2022 rev:11 rq:1045162 version:5.0.70
Changes:
--------
--- /work/SRC/openSUSE:Factory/qt5platform-plugins/qt5platform-plugins.changes 2022-11-13 18:09:18.599560404 +0100
+++ /work/SRC/openSUSE:Factory/.qt5platform-plugins.new.1563/qt5platform-plugins.changes 2022-12-24 14:55:16.684677125 +0100
@@ -1,0 +2,5 @@
+Sat Dec 24 07:36:50 UTC 2022 - Hillwood Yang <hillwood(a)opensuse.org>
+
+- Fix build on Tumbleweed
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qt5platform-plugins.spec ++++++
--- /var/tmp/diff_new_pack.5DjaUo/_old 2022-12-24 14:55:17.336680929 +0100
+++ /var/tmp/diff_new_pack.5DjaUo/_new 2022-12-24 14:55:17.364681093 +0100
@@ -28,7 +28,6 @@
Group: Development/Libraries/X11
Url: https://github.com/linuxdeepin/qt5platform-plugins
Source0: https://github.com/linuxdeepin/qt5platform-plugins/archive/%{version}/%{nam…
-# Source1: https://download.qt.io/official_releases/qt/5.14/%{qt_version}/submodules/q…
BuildRequires: libqt5-linguist
BuildRequires: wayland-devel
BuildRequires: libQt5Widgets-private-headers-devel
@@ -105,6 +104,8 @@
cp -r xcb/libqt5xcbqpa-dev/5.15.5 xcb/libqt5xcbqpa-dev/5.15.6
elif [ "`rpm -q --queryformat '%%{VERSION}' libQt5Core5`" = "5.15.7+kde167" ]; then
cp -r xcb/libqt5xcbqpa-dev/5.15.5 xcb/libqt5xcbqpa-dev/5.15.7
+elif [ "`rpm -q --queryformat '%%{VERSION}' libQt5Core5`" = "5.15.7+kde177" ]; then
+ cp -r xcb/libqt5xcbqpa-dev/5.15.5 xcb/libqt5xcbqpa-dev/5.15.7
fi
# Disable wayland for now: https://github.com/linuxdeepin/qt5platform-plugins/issues/47
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package zellij for openSUSE:Factory checked in at 2022-12-24 14:52:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zellij (Old)
and /work/SRC/openSUSE:Factory/.zellij.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zellij"
Sat Dec 24 14:52:25 2022 rev:9 rq:1045158 version:0.34.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/zellij/zellij.changes 2022-11-24 12:25:31.518172990 +0100
+++ /work/SRC/openSUSE:Factory/.zellij.new.1563/zellij.changes 2022-12-24 14:55:15.752671687 +0100
@@ -1,0 +2,28 @@
+Sat Dec 17 06:21:27 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela(a)gmail.com>
+
+- Update to version 0.34.4:
+ * Fix application crash when resizing with flexible plugin panes in layout
+ * Allow the SHELL variable to contain non-absolute shell paths (e.g. SHELL=sh instead of SHELL=/bin/sh
+
+-------------------------------------------------------------------
+Sun Dec 11 04:13:24 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela(a)gmail.com>
+
+- Update to version 0.34.3:
+ * Performance: both loading and rendering are significantly faster now and take less HW resources
+ * Loading screen: Zellij now has a minor loading screen (0.5 seconds) before it starts. This is so
+ that input from STDIN will not be lost while Zellij queries the user's terminal emulator for
+ pixel/cell ratio and the default colors
+ * We now fall back to /bin/sh if we can't find a $SHELL variable
+ * Users can now directionally decrease pane size and not just increase it - by default these are
+ bound to HJKL (uppercase letter) in resize mode, but can be bound like anything to other keys.
+ * Lots of stability and bug fixes
+ * BREAKING CHANGES:
+ - performance: change plugin data flow to improve render speed
+ - performance: various render pipeline improvements
+ * Fixes:
+ - server on longer crashes on client crash
+ - preserve pane focus properly when closing panes and switching tabs
+ - missing tokyo-night-dark theme
+- plugin assets are now moved to zellij-utils/assets/plugins. updated specfile accordingly
+
+-------------------------------------------------------------------
Old:
----
v0.33.0.tar.gz
New:
----
v0.34.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zellij.spec ++++++
--- /var/tmp/diff_new_pack.NxoVJC/_old 2022-12-24 14:55:16.436675677 +0100
+++ /var/tmp/diff_new_pack.NxoVJC/_new 2022-12-24 14:55:16.444675724 +0100
@@ -18,12 +18,12 @@
%bcond_with test
Name: zellij
-Version: 0.33.0
+Version: 0.34.4
Release: 0
Summary: Terminal workspace with batteries included
License: MIT
URL: https://github.com/zellij-org/zellij
-Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
+Source0: https://github.com/zellij-org/zellij/archive/refs/tags/v%{version}.tar.gz
Source1: vendor.tar.gz
Source2: cargo_config
Source3: README.suse-maint.md
@@ -82,7 +82,7 @@
mkdir -p .cargo
cp %{SOURCE2} .cargo/config
# Remove prebuilt binaries
-rm assets/plugins/*
+rm -v zellij-utils/assets/plugins/*
%build
# First rebuilt plugins we just deleted
@@ -101,7 +101,7 @@
popd
# Move the results to the place they are expected
-mv target/wasm32-wasi/release/*.wasm assets/plugins/
+mv -v target/wasm32-wasi/release/*.wasm zellij-utils/assets/plugins/
# Build zellij proper
%{cargo_build} --features unstable
++++++ _service ++++++
--- /var/tmp/diff_new_pack.NxoVJC/_old 2022-12-24 14:55:16.504676074 +0100
+++ /var/tmp/diff_new_pack.NxoVJC/_new 2022-12-24 14:55:16.508676098 +0100
@@ -1,7 +1,7 @@
<services>
<service name="download_files" mode="disabled" />
<service name="cargo_vendor" mode="disabled">
- <param name="srctar">v0.33.0.tar.gz</param>
+ <param name="srctar">v0.34.4.tar.gz</param>
<param name="compression">gz</param>
<param name="update">true</param>
</service>
++++++ v0.33.0.tar.gz -> v0.34.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/zellij/v0.33.0.tar.gz /work/SRC/openSUSE:Factory/.zellij.new.1563/v0.34.4.tar.gz differ: char 13, line 1
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/zellij/vendor.tar.gz /work/SRC/openSUSE:Factory/.zellij.new.1563/vendor.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openlibm for openSUSE:Factory checked in at 2022-12-24 14:52:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openlibm (Old)
and /work/SRC/openSUSE:Factory/.openlibm.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openlibm"
Sat Dec 24 14:52:24 2022 rev:12 rq:1045139 version:0.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/openlibm/openlibm.changes 2021-10-04 18:41:46.642234169 +0200
+++ /work/SRC/openSUSE:Factory/.openlibm.new.1563/openlibm.changes 2022-12-24 14:55:14.492664335 +0100
@@ -1,0 +2,9 @@
+Thu Dec 22 14:13:19 UTC 2022 - Andrea Manzini <andrea.manzini(a)suse.com>
+
+- Update to 0.8.1:
+ * Fix sqrt function on i387
+ * Fix incorrect results in `hypotl` near underflow
+ * Export `fenv` functions on all platforms
+- add linker flags to prevent executable stack
+
+-------------------------------------------------------------------
Old:
----
openlibm-0.7.1.tar.gz
New:
----
openlibm-0.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openlibm.spec ++++++
--- /var/tmp/diff_new_pack.EgPr4O/_old 2022-12-24 14:55:14.864666506 +0100
+++ /var/tmp/diff_new_pack.EgPr4O/_new 2022-12-24 14:55:14.876666576 +0100
@@ -1,7 +1,7 @@
#
# spec file for package openlibm
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
#
-%define so_ver 3
+%define so_ver 4
%define libname lib%{name}%{so_ver}
Name: openlibm
-Version: 0.7.1
+Version: 0.8.1
Release: 0
Summary: Standalone C mathematical library
License: BSD-2-Clause AND MIT
@@ -68,6 +68,7 @@
%make_build \
FFLAGS="%{optflags}" \
CFLAGS="%{optflags}" \
+ LDFLAGS="-Wl,-z,noexecstack" \
%ifarch armv6hl
MARCH="armv6" \
%endif
++++++ openlibm-0.7.1.tar.gz -> openlibm-0.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/.github/workflows/ci.yml new/openlibm-0.8.1/.github/workflows/ci.yml
--- old/openlibm-0.7.1/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/.github/workflows/ci.yml 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,44 @@
+name: CI
+on:
+ pull_request:
+ branches:
+ - master
+ push:
+ branches:
+ - master
+ tags: '*'
+jobs:
+ test-unix:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os:
+ - ubuntu-latest
+ - macos-latest
+ steps:
+ - uses: actions/checkout@v2
+ - run: make
+ - run: make test
+ windows:
+ runs-on: windows-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - { sys: mingw64, env: x86_64 }
+ - { sys: mingw32, env: i686 }
+ - { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
+ - { sys: clang64, env: clang-x86_64 } # Experimental!
+ defaults:
+ run:
+ shell: msys2 {0}
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up the desired MSYS2 environment
+ uses: msys2/setup-msys2@v2
+ with:
+ msystem: ${{matrix.sys}}
+ install: base-devel mingw-w64-${{matrix.env}}-toolchain
+ - run: make
+ - run: make test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/Make.inc new/openlibm-0.8.1/Make.inc
--- old/openlibm-0.7.1/Make.inc 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/Make.inc 2022-01-20 00:43:52.000000000 +0100
@@ -6,45 +6,44 @@
OS := $(shell uname)
# Do not forget to bump SOMINOR when changing VERSION,
# and SOMAJOR when breaking ABI in a backward-incompatible way
-VERSION = 0.7.0
-SOMAJOR = 3
+VERSION = 0.8.0
+SOMAJOR = 4
SOMINOR = 0
DESTDIR =
-prefix = /usr/local
-bindir = $(prefix)/bin
-libdir = $(prefix)/lib
-includedir = $(prefix)/include
+prefix ?= /usr/local
+bindir ?= $(prefix)/bin
+libdir ?= $(prefix)/lib
+includedir ?= $(prefix)/include
ifeq ($(OS), FreeBSD)
-pkgconfigdir = $(prefix)/libdata/pkgconfig
+pkgconfigdir ?= $(prefix)/libdata/pkgconfig
else
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir ?= $(libdir)/pkgconfig
endif
-USEGCC = 1
-USECLANG = 0
+USEGCC ?= 1
+USECLANG ?= 0
ifneq (,$(findstring $(OS),Darwin FreeBSD OpenBSD))
-USEGCC = 0
-USECLANG = 1
+USEGCC ?= 0
+USECLANG ?= 1
endif
-AR = $(TOOLPREFIX)ar
-
ifeq ($(ARCH),wasm32)
-CC = clang-8
-USEGCC = 0
-CFLAGS_add += -fno-builtin -fno-strict-aliasing
+USECLANG = 1
+TOOLPREFIX = llvm-
endif
+AR ?= $(TOOLPREFIX)ar
+
ifeq ($(USECLANG),1)
-USEGCC = 0
+USEGCC ?= 0
CC = clang
CFLAGS_add += -fno-builtin -fno-strict-aliasing
endif
ifeq ($(USEGCC),1)
-CC = $(TOOLPREFIX)gcc
+CC ?= $(TOOLPREFIX)gcc
CFLAGS_add += -fno-gnu89-inline -fno-builtin
endif
@@ -55,6 +54,9 @@
endif
# OS-specific stuff
+ifeq ($(ARCH),arm64)
+override ARCH := aarch64
+endif
ifeq ($(findstring arm,$(ARCH)),arm)
override ARCH := arm
MARCH ?= armv7-a
@@ -79,6 +81,9 @@
ifeq ($(findstring mips,$(ARCH)),mips)
override ARCH := mips
endif
+ifeq ($(findstring riscv64,$(ARCH)),riscv64)
+override ARCH := riscv64
+endif
# If CFLAGS does not contain a -O optimization flag, default to -O3
ifeq ($(findstring -O,$(CFLAGS)),)
@@ -92,8 +97,7 @@
#keep these if statements separate
ifeq ($(OS), WINNT)
SHLIB_EXT = dll
-SONAME_FLAG = -soname
-CFLAGS_add += -nodefaultlibs
+SONAME_FLAG =
shlibdir = $(bindir)
else
ifeq ($(OS), Darwin)
@@ -144,6 +148,16 @@
endif
endif
+ifneq ($(filter $(ARCH),i387 amd64),)
+# Determines whether `long double` is the same as `double` on this arch.
+# linux x86_64, for instance, `long double` is 80 bits wide, whereas on macOS aarch64,
+# `long double` is the same as `double`.
+LONG_DOUBLE_NOT_DOUBLE := 1
+else ifeq ($(ARCH), aarch64)
+ifeq ($(filter $(OS),Darwin WINNT),)
+LONG_DOUBLE_NOT_DOUBLE := 1
+endif
+endif
%.c.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_add) -c $< -o $@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/Makefile new/openlibm-0.8.1/Makefile
--- old/openlibm-0.7.1/Makefile 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/Makefile 2022-01-20 00:43:52.000000000 +0100
@@ -2,6 +2,7 @@
include ./Make.inc
SUBDIRS = src $(ARCH) bsdsrc
+ifeq ($(LONG_DOUBLE_NOT_DOUBLE),1)
# Add ld80 directory on x86 and x64
ifneq ($(filter $(ARCH),i387 amd64),)
SUBDIRS += ld80
@@ -11,6 +12,7 @@
else
endif
endif
+endif
define INC_template
TEST=test
@@ -44,6 +46,7 @@
OLM_MAJOR_MINOR_SHLIB_EXT := $(SHLIB_EXT).$(SOMAJOR).$(SOMINOR)
OLM_MAJOR_SHLIB_EXT := $(SHLIB_EXT).$(SOMAJOR)
endif
+LDFLAGS_add += -Wl,$(SONAME_FLAG),libopenlibm.$(OLM_MAJOR_SHLIB_EXT)
endif
.PHONY: all check test clean distclean \
@@ -65,7 +68,7 @@
$(AR) -rcs libopenlibm.a $(OBJS)
libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT): $(OBJS)
- $(CC) -shared $(OBJS) $(LDFLAGS) $(LDFLAGS_add) -Wl,$(SONAME_FLAG),libopenlibm.$(OLM_MAJOR_SHLIB_EXT) -o $@
+ $(CC) -shared $(OBJS) $(LDFLAGS) $(LDFLAGS_add) -o $@
ifneq ($(OS),WINNT)
ln -sf $@ libopenlibm.$(OLM_MAJOR_SHLIB_EXT)
ln -sf $@ libopenlibm.$(SHLIB_EXT)
@@ -78,7 +81,7 @@
$(MAKE) -C test test-float
clean:
- rm -f aarch64/*.o amd64/*.o arm/*.o bsdsrc/*.o i387/*.o ld80/*.o ld128/*.o src/*.o powerpc/*.o mips/*.o s390/*.o
+ rm -f aarch64/*.o amd64/*.o arm/*.o bsdsrc/*.o i387/*.o ld80/*.o ld128/*.o src/*.o powerpc/*.o mips/*.o s390/*.o riscv64/*.o
rm -f libopenlibm.a libopenlibm.*$(SHLIB_EXT)*
$(MAKE) -C test clean
@@ -93,7 +96,13 @@
install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT)
mkdir -p $(DESTDIR)$(shlibdir)
+ifeq ($(OS), WINNT)
+ mkdir -p $(DESTDIR)$(libdir)
+ cp -RpP -f libopenlibm.*$(SHLIB_EXT) $(DESTDIR)$(shlibdir)/
+ cp -RpP -f libopenlibm.*$(SHLIB_EXT).a $(DESTDIR)$(libdir)/
+else
cp -RpP -f libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
+endif
install-pkgconfig: openlibm.pc
mkdir -p $(DESTDIR)$(pkgconfigdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/README.md new/openlibm-0.8.1/README.md
--- old/openlibm-0.7.1/README.md 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/README.md 2022-01-20 00:43:52.000000000 +0100
@@ -18,7 +18,7 @@
OpenLibm builds on Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD, and
DragonFly BSD. It builds with both GCC and clang. Although largely
tested and widely used on the x86 and x86-64 architectures, OpenLibm
-also supports arm, aarch64, ppc64le, mips, wasm32, and s390(x).
+also supports arm, aarch64, ppc64le, mips, wasm32, riscv, and s390(x).
## Build instructions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/aarch64/fenv.c new/openlibm-0.8.1/aarch64/fenv.c
--- old/openlibm-0.7.1/aarch64/fenv.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/aarch64/fenv.c 2022-01-20 00:43:52.000000000 +0100
@@ -26,7 +26,6 @@
* $FreeBSD: src/lib/msun/arm/fenv.c,v 1.3 2011/10/16 05:37:56 das Exp $
*/
-#define __fenv_static
#include <openlibm_fenv.h>
#ifdef __GNUC_GNU_INLINE__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/amd64/Make.files new/openlibm-0.8.1/amd64/Make.files
--- old/openlibm-0.7.1/amd64/Make.files 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/amd64/Make.files 2022-01-20 00:43:52.000000000 +0100
@@ -3,4 +3,5 @@
s_llrint.S s_llrintf.S s_llrintl.S \
s_logbl.S s_lrint.S s_lrintf.S s_lrintl.S \
s_remquo.S s_remquof.S s_remquol.S \
- s_rintl.S s_scalbn.S s_scalbnf.S s_scalbnl.S
+ s_rintl.S s_scalbn.S s_scalbnf.S s_scalbnl.S \
+ e_fmod.S e_fmodf.S e_fmodl.S
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/amd64/e_fmod.S new/openlibm-0.8.1/amd64/e_fmod.S
--- old/openlibm-0.7.1/amd64/e_fmod.S 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/amd64/e_fmod.S 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 1993,94 Winning Strategies, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Winning Strategies, Inc.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Based on the i387 version written by:
+ * J.T. Conklin (jtc(a)wimsey.com), Winning Strategies, Inc.
+ */
+
+#include <amd64/bsd_asm.h>
+
+ENTRY(fmod)
+ movsd %xmm0,-8(%rsp)
+ movsd %xmm1,-16(%rsp)
+ fldl -16(%rsp)
+ fldl -8(%rsp)
+1: fprem
+ fstsw %ax
+ testw $0x400,%ax
+ jne 1b
+ fstpl -8(%rsp)
+ movsd -8(%rsp),%xmm0
+ fstp %st
+ ret
+END(fmod)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/amd64/e_fmodf.S new/openlibm-0.8.1/amd64/e_fmodf.S
--- old/openlibm-0.7.1/amd64/e_fmodf.S 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/amd64/e_fmodf.S 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,21 @@
+/*
+ * Based on the i387 version written by J.T. Conklin <jtc(a)netbsd.org>.
+ * Public domain.
+ */
+
+#include <amd64/bsd_asm.h>
+
+ENTRY(fmodf)
+ movss %xmm0,-4(%rsp)
+ movss %xmm1,-8(%rsp)
+ flds -8(%rsp)
+ flds -4(%rsp)
+1: fprem
+ fstsw %ax
+ testw $0x400,%ax
+ jne 1b
+ fstps -4(%rsp)
+ movss -4(%rsp),%xmm0
+ fstp %st
+ ret
+END(fmodf)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/amd64/e_fmodl.S new/openlibm-0.8.1/amd64/e_fmodl.S
--- old/openlibm-0.7.1/amd64/e_fmodl.S 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/amd64/e_fmodl.S 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 1993,94 Winning Strategies, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Winning Strategies, Inc.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Based on the i387 version written by:
+ * J.T. Conklin (jtc(a)wimsey.com), Winning Strategies, Inc.
+ */
+
+#include <amd64/bsd_asm.h>
+
+ENTRY(fmodl)
+ fldt 24(%rsp)
+ fldt 8(%rsp)
+1: fprem
+ fstsw %ax
+ testw $0x400,%ax
+ jne 1b
+ fstp %st(1)
+ ret
+END(fmodl)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/amd64/fenv.c new/openlibm-0.8.1/amd64/fenv.c
--- old/openlibm-0.7.1/amd64/fenv.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/amd64/fenv.c 2022-01-20 00:43:52.000000000 +0100
@@ -29,7 +29,7 @@
#include "bsd_fpu.h"
#include "math_private.h"
-#ifndef OPENLIBM_USE_HOST_FENV_H
+#ifdef _WIN32
#define __fenv_static OLM_DLLEXPORT
#endif
#include <openlibm_fenv.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/bsdsrc/b_tgamma.c new/openlibm-0.8.1/bsdsrc/b_tgamma.c
--- old/openlibm-0.7.1/bsdsrc/b_tgamma.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/bsdsrc/b_tgamma.c 2022-01-20 00:43:52.000000000 +0100
@@ -38,6 +38,7 @@
* acknowledged.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "mathimpl.h"
@@ -312,3 +313,7 @@
if (sgn < 0) y = -y;
return (M_PI / (y*z));
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(tgamma, tgammal);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/i387/e_sqrt.S new/openlibm-0.8.1/i387/e_sqrt.S
--- old/openlibm-0.7.1/i387/e_sqrt.S 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/i387/e_sqrt.S 2022-01-20 00:43:52.000000000 +0100
@@ -8,12 +8,29 @@
//__FBSDID("$FreeBSD: src/lib/msun/i387/e_sqrt.S,v 1.10 2011/01/07 16:13:12 kib Exp $")
ENTRY(sqrt)
- fldl 4(%esp)
+ pushl %ebp
+ movl %esp,%ebp
+ subl $8,%esp
+
+ fstcw -4(%ebp) /* store fpu control word */
+ movw -4(%ebp),%dx
+ andw $0xfeff,%dx /* Set precision field to 64 bits (53 bit mantissa).
+ We assume it's set to 0b11 (extended precision),
+ so zeroing out the low bit of the precision field,
+ will correctly set the precision */
+ movw %dx,-8(%ebp)
+ fldcw -8(%ebp) /* load modfied control word */
+
+ fldl 8(%ebp)
fsqrt
+
+ fldcw -4(%ebp) /* restore original control word */
+
+ leave
ret
END(sqrt)
-
+
/* Enable stack protection */
#if defined(__ELF__)
.section .note.GNU-stack,"",%progbits
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/include/openlibm_fenv.h new/openlibm-0.8.1/include/openlibm_fenv.h
--- old/openlibm-0.7.1/include/openlibm_fenv.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/include/openlibm_fenv.h 2022-01-20 00:43:52.000000000 +0100
@@ -14,6 +14,8 @@
#include <openlibm_fenv_mips.h>
#elif defined(__s390__)
#include <openlibm_fenv_s390.h>
+#elif defined(__riscv)
+#include <openlibm_fenv_riscv.h>
#else
#error "Unsupported platform"
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/include/openlibm_fenv_i387.h new/openlibm-0.8.1/include/openlibm_fenv_i387.h
--- old/openlibm-0.7.1/include/openlibm_fenv_i387.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/include/openlibm_fenv_i387.h 2022-01-20 00:43:52.000000000 +0100
@@ -29,6 +29,7 @@
#ifndef _FENV_H_
#define _FENV_H_
+#include "openlibm_defs.h"
#include "cdefs-compat.h"
#include "types-compat.h"
@@ -88,8 +89,8 @@
/* After testing for SSE support once, we cache the result in __has_sse. */
enum __sse_support { __SSE_YES, __SSE_NO, __SSE_UNK };
-extern enum __sse_support __has_sse;
-int __test_sse(void);
+OLM_DLLEXPORT extern enum __sse_support __has_sse;
+OLM_DLLEXPORT int __test_sse(void);
#ifdef __SSE__
#define __HAS_SSE() 1
#else
@@ -98,7 +99,7 @@
#endif
/* Default floating-point environment */
-extern const fenv_t __fe_dfl_env;
+OLM_DLLEXPORT extern const fenv_t __fe_dfl_env;
#define FE_DFL_ENV (&__fe_dfl_env)
#define __fldcw(__cw) __asm __volatile("fldcw %0" : : "m" (__cw))
@@ -150,8 +151,8 @@
return (0);
}
-int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
-int feraiseexcept(int __excepts);
+OLM_DLLEXPORT int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
+OLM_DLLEXPORT int feraiseexcept(int __excepts);
__fenv_static inline int
fetestexcept(int __excepts)
@@ -206,8 +207,8 @@
return (0);
}
-int fegetenv(fenv_t *__envp);
-int feholdexcept(fenv_t *__envp);
+OLM_DLLEXPORT int fegetenv(fenv_t *__envp);
+OLM_DLLEXPORT int feholdexcept(fenv_t *__envp);
__fenv_static inline int
fesetenv(const fenv_t *__envp)
@@ -231,12 +232,12 @@
return (0);
}
-int feupdateenv(const fenv_t *__envp);
+OLM_DLLEXPORT int feupdateenv(const fenv_t *__envp);
#if __BSD_VISIBLE
-int feenableexcept(int __mask);
-int fedisableexcept(int __mask);
+OLM_DLLEXPORT int feenableexcept(int __mask);
+OLM_DLLEXPORT int fedisableexcept(int __mask);
/* We currently provide no external definition of fegetexcept(). */
static inline int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/include/openlibm_fenv_riscv.h new/openlibm-0.8.1/include/openlibm_fenv_riscv.h
--- old/openlibm-0.7.1/include/openlibm_fenv_riscv.h 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/include/openlibm_fenv_riscv.h 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,261 @@
+/*-
+ * Copyright (c) 2004-2005 David Schultz <das(a)FreeBSD.ORG>
+ * Copyright (c) 2015-2016 Ruslan Bukin <br(a)bsdpad.com>
+ * All rights reserved.
+ *
+ * Portions of this software were developed by SRI International and the
+ * University of Cambridge Computer Laboratory under DARPA/AFRL contract
+ * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme.
+ *
+ * Portions of this software were developed by the University of Cambridge
+ * Computer Laboratory as part of the CTSRD Project, with support from the
+ * UK Higher Education Innovation Fund (HEIF).
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD: head/lib/msun/riscv/fenv.h 332792 2018-04-19 20:36:15Z brooks $
+ */
+
+#ifndef _FENV_H_
+#define _FENV_H_
+
+#include <stdint.h>
+#include "cdefs-compat.h"
+
+#ifndef __fenv_static
+#define __fenv_static static
+#endif
+
+typedef __uint64_t fenv_t;
+typedef __uint64_t fexcept_t;
+
+/* Exception flags */
+#define FE_INVALID 0x0010
+#define FE_DIVBYZERO 0x0008
+#define FE_OVERFLOW 0x0004
+#define FE_UNDERFLOW 0x0002
+#define FE_INEXACT 0x0001
+#define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
+ FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)
+
+/*
+ * RISC-V Rounding modes
+ */
+#define _ROUND_SHIFT 5
+#define FE_TONEAREST (0x00 << _ROUND_SHIFT)
+#define FE_TOWARDZERO (0x01 << _ROUND_SHIFT)
+#define FE_DOWNWARD (0x02 << _ROUND_SHIFT)
+#define FE_UPWARD (0x03 << _ROUND_SHIFT)
+#define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \
+ FE_UPWARD | FE_TOWARDZERO)
+
+__BEGIN_DECLS
+
+/* Default floating-point environment */
+extern const fenv_t __fe_dfl_env;
+#define FE_DFL_ENV (&__fe_dfl_env)
+
+#if !defined(__riscv_float_abi_soft) && !defined(__riscv_float_abi_double)
+#if defined(__riscv_float_abi_single)
+#error single precision floating point ABI not supported
+#else
+#error compiler did not set soft/hard float macros
+#endif
+#endif
+
+#ifndef __riscv_float_abi_soft
+#define __rfs(__fcsr) __asm __volatile("csrr %0, fcsr" : "=r" (__fcsr))
+#define __wfs(__fcsr) __asm __volatile("csrw fcsr, %0" :: "r" (__fcsr))
+#endif
+
+#ifdef __riscv_float_abi_soft
+int feclearexcept(int __excepts);
+int fegetexceptflag(fexcept_t *__flagp, int __excepts);
+int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
+int feraiseexcept(int __excepts);
+int fetestexcept(int __excepts);
+int fegetround(void);
+int fesetround(int __round);
+int fegetenv(fenv_t *__envp);
+int feholdexcept(fenv_t *__envp);
+int fesetenv(const fenv_t *__envp);
+int feupdateenv(const fenv_t *__envp);
+#else
+__fenv_static inline int
+feclearexcept(int __excepts)
+{
+
+ __asm __volatile("csrc fflags, %0" :: "r"(__excepts));
+
+ return (0);
+}
+
+__fenv_static inline int
+fegetexceptflag(fexcept_t *__flagp, int __excepts)
+{
+ fexcept_t __fcsr;
+
+ __rfs(__fcsr);
+ *__flagp = __fcsr & __excepts;
+
+ return (0);
+}
+
+__fenv_static inline int
+fesetexceptflag(const fexcept_t *__flagp, int __excepts)
+{
+ fexcept_t __fcsr;
+
+ __fcsr = *__flagp;
+ __asm __volatile("csrc fflags, %0" :: "r"(__excepts));
+ __asm __volatile("csrs fflags, %0" :: "r"(__fcsr & __excepts));
+
+ return (0);
+}
+
+__fenv_static inline int
+feraiseexcept(int __excepts)
+{
+
+ __asm __volatile("csrs fflags, %0" :: "r"(__excepts));
+
+ return (0);
+}
+
+__fenv_static inline int
+fetestexcept(int __excepts)
+{
+ fexcept_t __fcsr;
+
+ __rfs(__fcsr);
+
+ return (__fcsr & __excepts);
+}
+
+__fenv_static inline int
+fegetround(void)
+{
+ fexcept_t __fcsr;
+
+ __rfs(__fcsr);
+
+ return (__fcsr & _ROUND_MASK);
+}
+
+__fenv_static inline int
+fesetround(int __round)
+{
+ fexcept_t __fcsr;
+
+ if (__round & ~_ROUND_MASK)
+ return (-1);
+
+ __rfs(__fcsr);
+ __fcsr &= ~_ROUND_MASK;
+ __fcsr |= __round;
+ __wfs(__fcsr);
+
+ return (0);
+}
+
+__fenv_static inline int
+fegetenv(fenv_t *__envp)
+{
+
+ __rfs(*__envp);
+
+ return (0);
+}
+
+__fenv_static inline int
+feholdexcept(fenv_t *__envp)
+{
+
+ /* No exception traps. */
+
+ return (-1);
+}
+
+__fenv_static inline int
+fesetenv(const fenv_t *__envp)
+{
+
+ __wfs(*__envp);
+
+ return (0);
+}
+
+__fenv_static inline int
+feupdateenv(const fenv_t *__envp)
+{
+ fexcept_t __fcsr;
+
+ __rfs(__fcsr);
+ __wfs(*__envp);
+ feraiseexcept(__fcsr & FE_ALL_EXCEPT);
+
+ return (0);
+}
+#endif /* !__riscv_float_abi_soft */
+
+#if __BSD_VISIBLE
+
+/* We currently provide no external definitions of the functions below. */
+
+#ifdef __riscv_float_abi_soft
+int feenableexcept(int __mask);
+int fedisableexcept(int __mask);
+int fegetexcept(void);
+#else
+static inline int
+feenableexcept(int __mask)
+{
+
+ /* No exception traps. */
+
+ return (-1);
+}
+
+static inline int
+fedisableexcept(int __mask)
+{
+
+ /* No exception traps. */
+
+ return (0);
+}
+
+static inline int
+fegetexcept(void)
+{
+
+ /* No exception traps. */
+
+ return (0);
+}
+#endif /* !__riscv_float_abi_soft */
+
+#endif /* __BSD_VISIBLE */
+
+__END_DECLS
+
+#endif /* !_FENV_H_ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/include/openlibm_math.h new/openlibm-0.8.1/include/openlibm_math.h
--- old/openlibm-0.7.1/include/openlibm_math.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/include/openlibm_math.h 2022-01-20 00:43:52.000000000 +0100
@@ -174,7 +174,7 @@
#define MAXFLOAT ((float)3.40282346638528860e+38)
#ifndef OPENLIBM_ONLY_THREAD_SAFE
-extern int signgam;
+OLM_DLLEXPORT extern int signgam;
#endif
#endif /* __BSD_VISIBLE || __XSI_VISIBLE */
@@ -304,6 +304,7 @@
* BSD math library entry points
*/
#if __BSD_VISIBLE
+OLM_DLLEXPORT int isinff(float) __pure2;
OLM_DLLEXPORT int isnanf(float) __pure2;
/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/powerpc/fenv.c new/openlibm-0.8.1/powerpc/fenv.c
--- old/openlibm-0.7.1/powerpc/fenv.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/powerpc/fenv.c 2022-01-20 00:43:52.000000000 +0100
@@ -26,7 +26,6 @@
* $FreeBSD$
*/
-#define __fenv_static
#include <openlibm_fenv.h>
#ifdef __GNUC_GNU_INLINE__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/riscv64/Make.files new/openlibm-0.8.1/riscv64/Make.files
--- old/openlibm-0.7.1/riscv64/Make.files 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/riscv64/Make.files 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1 @@
+$(CUR_SRCS) = fenv.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/riscv64/fenv.c new/openlibm-0.8.1/riscv64/fenv.c
--- old/openlibm-0.7.1/riscv64/fenv.c 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/riscv64/fenv.c 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,63 @@
+/*-
+ * Copyright (c) 2004 David Schultz <das(a)FreeBSD.ORG>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD: head/lib/msun/riscv/fenv.c 332792 2018-04-19 20:36:15Z brooks $
+ */
+
+#define __fenv_static
+#include "fenv.h"
+
+#ifdef __GNUC_GNU_INLINE__
+#error "This file must be compiled with C99 'inline' semantics"
+#endif
+
+/*
+ * Hopefully the system ID byte is immutable, so it's valid to use
+ * this as a default environment.
+ */
+const fenv_t __fe_dfl_env = 0;
+
+#ifdef __riscv_float_abi_soft
+#define __set_env(env, flags, mask, rnd) env = ((flags) | (rnd) << 5)
+#define __env_flags(env) ((env) & FE_ALL_EXCEPT)
+#define __env_mask(env) (0) /* No exception traps. */
+#define __env_round(env) (((env) >> 5) & _ROUND_MASK)
+#include "fenv-softfloat.h"
+#endif
+
+extern inline int feclearexcept(int __excepts);
+extern inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);
+extern inline int fesetexceptflag(const fexcept_t *__flagp, int __excepts);
+extern inline int feraiseexcept(int __excepts);
+extern inline int fetestexcept(int __excepts);
+extern inline int fegetround(void);
+extern inline int fesetround(int __round);
+extern inline int fegetenv(fenv_t *__envp);
+extern inline int feholdexcept(fenv_t *__envp);
+extern inline int fesetenv(const fenv_t *__envp);
+extern inline int feupdateenv(const fenv_t *__envp);
+extern inline int feenableexcept(int __mask);
+extern inline int fedisableexcept(int __mask);
+extern inline int fegetexcept(void);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/Make.files new/openlibm-0.8.1/src/Make.files
--- old/openlibm-0.7.1/src/Make.files 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/Make.files 2022-01-20 00:43:52.000000000 +0100
@@ -44,7 +44,7 @@
endif
# Add in long double functions for x86, x64 and aarch64
-ifneq ($(filter $(ARCH),i387 amd64 aarch64),)
+ifeq ($(LONG_DOUBLE_NOT_DOUBLE),1)
# C99 long double functions
$(CUR_SRCS) += s_copysignl.c s_fabsl.c s_llrintl.c s_lrintl.c s_modfl.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/aarch64_fpmath.h new/openlibm-0.8.1/src/aarch64_fpmath.h
--- old/openlibm-0.7.1/src/aarch64_fpmath.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/aarch64_fpmath.h 2022-01-20 00:43:52.000000000 +0100
@@ -27,18 +27,20 @@
* $FreeBSD: head/lib/libc/aarch64/_fpmath.h 281197 2015-04-07 09:52:14Z andrew $
*/
+#include <stdint.h>
+
union IEEEl2bits {
long double e;
struct {
- unsigned long manl :64;
- unsigned long manh :48;
+ uint64_t manl :64;
+ uint64_t manh :48;
unsigned int exp :15;
unsigned int sign :1;
} bits;
/* TODO andrew: Check the packing here */
struct {
- unsigned long manl :64;
- unsigned long manh :48;
+ uint64_t manl :64;
+ uint64_t manh :48;
unsigned int expsign :16;
} xbits;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/cdefs-compat.h new/openlibm-0.8.1/src/cdefs-compat.h
--- old/openlibm-0.7.1/src/cdefs-compat.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/cdefs-compat.h 2022-01-20 00:43:52.000000000 +0100
@@ -59,14 +59,19 @@
#endif /* __warn_references */
#endif /* __STDC__ */
#elif defined(__clang__) /* CLANG */
+#if defined(_WIN32) && defined(_X86_)
+#define openlibm_asm_symbol_prefix "_"
+#else
+#define openlibm_asm_symbol_prefix ""
+#endif
#ifdef __STDC__
#define openlibm_weak_reference(sym,alias) \
- __asm__(".weak_reference " #alias); \
- __asm__(".set " #alias ", " #sym)
+ __asm__(".weak_reference " openlibm_asm_symbol_prefix #alias); \
+ __asm__(".set " openlibm_asm_symbol_prefix #alias ", " openlibm_asm_symbol_prefix #sym)
#else
#define openlibm_weak_reference(sym,alias) \
- __asm__(".weak_reference alias");\
- __asm__(".set alias, sym")
+ __asm__(".weak_reference openlibm_asm_symbol_prefix/**/alias");\
+ __asm__(".set openlibm_asm_symbol_prefix/**/alias, openlibm_asm_symbol_prefix/**/sym")
#endif
#else /* !__ELF__ */
#ifdef __STDC__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_acosh.c new/openlibm-0.8.1/src/e_acosh.c
--- old/openlibm-0.7.1/src/e_acosh.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_acosh.c 2022-01-20 00:43:52.000000000 +0100
@@ -29,6 +29,7 @@
* acosh(NaN) is NaN without signal.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -61,3 +62,7 @@
return log1p(t+sqrt(2.0*t+t*t));
}
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(acosh, acoshl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_atanh.c new/openlibm-0.8.1/src/e_atanh.c
--- old/openlibm-0.7.1/src/e_atanh.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_atanh.c 2022-01-20 00:43:52.000000000 +0100
@@ -33,6 +33,7 @@
*
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -61,3 +62,7 @@
t = 0.5*log1p((x+x)/(one-x));
if(hx>=0) return t; else return -t;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(atanh, atanhl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_cosh.c new/openlibm-0.8.1/src/e_cosh.c
--- old/openlibm-0.7.1/src/e_cosh.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_cosh.c 2022-01-20 00:43:52.000000000 +0100
@@ -35,6 +35,7 @@
* only cosh(0)=1 is exact for finite x.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -78,3 +79,7 @@
/* |x| > overflowthresold, cosh(x) overflow */
return huge*huge;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(cosh, coshl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_exp.c new/openlibm-0.8.1/src/e_exp.c
--- old/openlibm-0.7.1/src/e_exp.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_exp.c 2022-01-20 00:43:52.000000000 +0100
@@ -165,3 +165,7 @@
return y*twopk*twom1000;
}
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(exp, expl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_hypotl.c new/openlibm-0.8.1/src/e_hypotl.c
--- old/openlibm-0.7.1/src/e_hypotl.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_hypotl.c 2022-01-20 00:43:52.000000000 +0100
@@ -82,7 +82,7 @@
man_t manh, manl;
GET_LDBL_MAN(manh,manl,b);
if((manh|manl)==0) return a;
- t1=0;
+ t1=1;
SET_HIGH_WORD(t1,ESW(MAX_EXP-2)); /* t1=2^(MAX_EXP-2) */
b *= t1;
a *= t1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_log.c new/openlibm-0.8.1/src/e_log.c
--- old/openlibm-0.7.1/src/e_log.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_log.c 2022-01-20 00:43:52.000000000 +0100
@@ -65,6 +65,7 @@
* to produce the hexadecimal values shown.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -139,3 +140,7 @@
return dk*ln2_hi-((s*(f-R)-dk*ln2_lo)-f);
}
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(log, logl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_log10.c new/openlibm-0.8.1/src/e_log10.c
--- old/openlibm-0.7.1/src/e_log10.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_log10.c 2022-01-20 00:43:52.000000000 +0100
@@ -22,6 +22,7 @@
* in not-quite-routine extra precision.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -86,3 +87,7 @@
return val_lo + val_hi;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(log10, log10l);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_log2.c new/openlibm-0.8.1/src/e_log2.c
--- old/openlibm-0.7.1/src/e_log2.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_log2.c 2022-01-20 00:43:52.000000000 +0100
@@ -24,6 +24,7 @@
* in not-quite-routine extra precision.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -109,3 +110,7 @@
return val_lo + val_hi;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(log2, log2l);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_pow.c new/openlibm-0.8.1/src/e_pow.c
--- old/openlibm-0.7.1/src/e_pow.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_pow.c 2022-01-20 00:43:52.000000000 +0100
@@ -57,6 +57,7 @@
* to produce the hexadecimal values shown.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -310,3 +311,7 @@
else SET_HIGH_WORD(z,j);
return s*z;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(pow, powl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_powf.c new/openlibm-0.8.1/src/e_powf.c
--- old/openlibm-0.7.1/src/e_powf.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_powf.c 2022-01-20 00:43:52.000000000 +0100
@@ -25,6 +25,9 @@
dp_h[] = { 0.0, 5.84960938e-01,}, /* 0x3f15c000 */
dp_l[] = { 0.0, 1.56322085e-06,}, /* 0x35d1cfdc */
zero = 0.0,
+half = 0.5,
+qrtr = 0.25,
+thrd = 3.33333343e-01, /* 0x3eaaaaab */
one = 1.0,
two = 2.0,
two24 = 16777216.0, /* 0x4b800000 */
@@ -74,7 +77,7 @@
/* y!=zero: result is NaN if either arg is NaN */
if(ix > 0x7f800000 ||
iy > 0x7f800000)
- return (x+0.0F)+(y+0.0F);
+ return nan_mix(x, y);
/* determine if y is an odd int when x < 0
* yisint = 0 ... y is not an integer
@@ -103,15 +106,10 @@
if(iy==0x3f800000) { /* y is +-1 */
if(hy<0) return one/x; else return x;
}
- if(hy==0x40000000) return x*x; /* y is 2 */
- if(hy==0x40400000) return x*x*x; /* y is 3 */
- if(hy==0x40800000) { /* y is 4 */
- u = x*x;
- return u*u;
- }
- if(hy==0x3f000000) { /* y is 0.5 */
+ if(hy==0x40000000) return x*x; /* y is 2 */
+ if(hy==0x3f000000) { /* y is 0.5 */
if(hx>=0) /* x >= +0 */
- return __ieee754_sqrtf(x);
+ return __ieee754_sqrtf(x);
}
ax = fabsf(x);
@@ -139,12 +137,12 @@
/* |y| is huge */
if(iy>0x4d000000) { /* if |y| > 2**27 */
/* over/underflow if x is not close to one */
- if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
+ if(ix<0x3f7ffff6) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny;
/* now |1-x| is tiny <= 2**-20, suffice to compute
log(x) by x-x^2/2+x^3/3-x^4/4 */
t = ax-1; /* t has 20 trailing zeros */
- w = (t*t)*((float)0.5-t*((float)0.333333333333-t*(float)0.25));
+ w = (t*t)*(half-t*(thrd-t*qrtr));
u = ivln2_h*t; /* ivln2_h has 16 sig. bits */
v = t*ivln2_l-w*ivln2;
t1 = u+v;
@@ -183,10 +181,10 @@
r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6)))));
r += s_l*(s_h+s);
s2 = s_h*s_h;
- t_h = (float)3.0+s2+r;
+ t_h = 3+s2+r;
GET_FLOAT_WORD(is,t_h);
SET_FLOAT_WORD(t_h,is&0xfffff000);
- t_l = r-((t_h-(float)3.0)-s2);
+ t_l = r-((t_h-3)-s2);
/* u+v = s*(1+...) */
u = s_h*t_h;
v = s_l*t_h+t_l*s;
@@ -198,7 +196,7 @@
z_h = cp_h*p_h; /* cp_h+cp_l = 2/(3*log2) */
z_l = cp_l*p_h+p_l*cp+dp_l[k];
/* log2(ax) = (s+..)*2/(3*log2) = n + dp_h + z_h + z_l */
- t = (float)n;
+ t = n;
t1 = (((z_h+z_l)+dp_h[k])+t);
GET_FLOAT_WORD(is,t1);
SET_FLOAT_WORD(t1,is&0xfffff000);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/e_sinh.c new/openlibm-0.8.1/src/e_sinh.c
--- old/openlibm-0.7.1/src/e_sinh.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/e_sinh.c 2022-01-20 00:43:52.000000000 +0100
@@ -32,6 +32,7 @@
* only sinh(0)=0 is exact for finite x.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -72,3 +73,7 @@
/* |x| > overflowthresold, sinh(x) overflow */
return x*shuge;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(sinh, sinhl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/fpmath.h new/openlibm-0.8.1/src/fpmath.h
--- old/openlibm-0.7.1/src/fpmath.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/fpmath.h 2022-01-20 00:43:52.000000000 +0100
@@ -43,6 +43,8 @@
#include "mips_fpmath.h"
#elif defined(__s390__)
#include "s390_fpmath.h"
+#elif defined(__riscv)
+#include "riscv_fpmath.h"
#endif
/* Definitions provided directly by GCC and Clang. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/math_private.h new/openlibm-0.8.1/src/math_private.h
--- old/openlibm-0.7.1/src/math_private.h 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/math_private.h 2022-01-20 00:43:52.000000000 +0100
@@ -203,10 +203,9 @@
} while (0)
-//VBS
+#ifndef __FreeBSD__
#define STRICT_ASSIGN(type, lval, rval) ((lval) = (rval))
-
-/* VBS
+#else
#ifdef FLT_EVAL_METHOD
// Attempt to get strict C99 semantics for assignment with non-C99 compilers.
#if FLT_EVAL_METHOD == 0 || __GNUC__ == 0
@@ -215,7 +214,7 @@
#define STRICT_ASSIGN(type, lval, rval) do { \
volatile type __lval; \
\
- if (sizeof(type) >= sizeof(double)) \
+ if (sizeof(type) >= sizeof(long double)) \
(lval) = (rval); \
else { \
__lval = (rval); \
@@ -224,13 +223,31 @@
} while (0)
#endif
#endif
-*/
+#endif
/*
* Common routine to process the arguments to nan(), nanf(), and nanl().
*/
void __scan_nan(u_int32_t *__words, int __num_words, const char *__s);
+/*
+ * Mix 1 or 2 NaNs. First add 0 to each arg. This normally just turns
+ * signaling NaNs into quiet NaNs by setting a quiet bit. We do this
+ * because we want to never return a signaling NaN, and also because we
+ * don't want the quiet bit to affect the result. Then mix the converted
+ * args using addition. The result is typically the arg whose mantissa
+ * bits (considered as in integer) are largest.
+ *
+ * Technical complications: the result in bits might depend on the precision
+ * and/or on compiler optimizations, especially when different register sets
+ * are used for different precisions. Try to make the result not depend on
+ * at least the precision by always doing the main mixing step in long double
+ * precision. Try to reduce dependencies on optimizations by adding the
+ * the 0's in different precisions (unless everything is in long double
+ * precision).
+ */
+#define nan_mix(x, y) (((x) + 0.0L) + ((y) + 0))
+
#ifdef __GNUCLIKE_ASM
/* Asm versions of some functions. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/riscv_fpmath.h new/openlibm-0.8.1/src/riscv_fpmath.h
--- old/openlibm-0.7.1/src/riscv_fpmath.h 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/src/riscv_fpmath.h 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,58 @@
+/*-
+ * Copyright (c) 2002, 2003 David Schultz <das(a)FreeBSD.ORG>
+ * Copyright (c) 2014 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD: head/lib/libc/riscv/_fpmath.h 362788 2020-06-29 19:30:35Z mhorne $
+ */
+
+union IEEEl2bits {
+ long double e;
+ struct {
+ unsigned long manl :64;
+ unsigned long manh :48;
+ unsigned int exp :15;
+ unsigned int sign :1;
+ } bits;
+ struct {
+ unsigned long manl :64;
+ unsigned long manh :48;
+ unsigned int expsign :16;
+ } xbits;
+};
+
+#define LDBL_NBIT 0
+#define LDBL_IMPLICIT_NBIT
+#define mask_nbit_l(u) ((void)0)
+
+#define LDBL_MANH_SIZE 48
+#define LDBL_MANL_SIZE 64
+
+#define LDBL_TO_ARRAY32(u, a) do { \
+ (a)[0] = (uint32_t)(u).bits.manl; \
+ (a)[1] = (uint32_t)((u).bits.manl >> 32); \
+ (a)[2] = (uint32_t)(u).bits.manh; \
+ (a)[3] = (uint32_t)((u).bits.manh >> 32); \
+} while(0)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_asinh.c new/openlibm-0.8.1/src/s_asinh.c
--- old/openlibm-0.7.1/src/s_asinh.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_asinh.c 2022-01-20 00:43:52.000000000 +0100
@@ -24,6 +24,7 @@
* := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -55,3 +56,7 @@
}
if(hx>0) return w; else return -w;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(asinh, asinhl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_cabs.c new/openlibm-0.8.1/src/s_cabs.c
--- old/openlibm-0.7.1/src/s_cabs.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_cabs.c 2022-01-20 00:43:52.000000000 +0100
@@ -19,6 +19,8 @@
#include <openlibm_complex.h>
#include <openlibm_math.h>
+#include "math_private.h"
+
double
cabs(double complex z)
{
@@ -26,5 +28,5 @@
}
#if LDBL_MANT_DIG == DBL_MANT_DIG
-__strong_alias(cabsl, cabs);
+openlibm_strong_reference(cabs, cabsl);
#endif /* LDBL_MANT_DIG == DBL_MANT_DIG */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_ccos.c new/openlibm-0.8.1/src/s_ccos.c
--- old/openlibm-0.7.1/src/s_ccos.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_ccos.c 2022-01-20 00:43:52.000000000 +0100
@@ -53,6 +53,8 @@
#include <openlibm_complex.h>
#include <openlibm_math.h>
+#include "math_private.h"
+
/* calculate cosh and sinh */
static void
@@ -85,5 +87,5 @@
}
#if LDBL_MANT_DIG == DBL_MANT_DIG
-__strong_alias(ccosl, ccos);
+openlibm_strong_reference(ccos, ccosl);
#endif /* LDBL_MANT_DIG == DBL_MANT_DIG */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_csin.c new/openlibm-0.8.1/src/s_csin.c
--- old/openlibm-0.7.1/src/s_csin.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_csin.c 2022-01-20 00:43:52.000000000 +0100
@@ -55,6 +55,8 @@
#include <openlibm_complex.h>
#include <openlibm_math.h>
+#include "math_private.h"
+
/* calculate cosh and sinh */
static void
@@ -87,5 +89,5 @@
}
#if LDBL_MANT_DIG == DBL_MANT_DIG
-__strong_alias(csinl, csin);
+openlibm_strong_reference(csin, csinl);
#endif /* LDBL_MANT_DIG == DBL_MANT_DIG */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_ctan.c new/openlibm-0.8.1/src/s_ctan.c
--- old/openlibm-0.7.1/src/s_ctan.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_ctan.c 2022-01-20 00:43:52.000000000 +0100
@@ -60,6 +60,8 @@
#include <openlibm_complex.h>
#include <openlibm_math.h>
+#include "math_private.h"
+
#define MACHEP 1.1e-16
#define MAXNUM 1.0e308
@@ -153,5 +155,5 @@
}
#if LDBL_MANT_DIG == DBL_MANT_DIG
-__strong_alias(ctanl, ctan);
+openlibm_strong_reference(ctan, ctanl);
#endif /* LDBL_MANT_DIG == DBL_MANT_DIG */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_erf.c new/openlibm-0.8.1/src/s_erf.c
--- old/openlibm-0.7.1/src/s_erf.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_erf.c 2022-01-20 00:43:52.000000000 +0100
@@ -107,6 +107,7 @@
* erfc/erf(NaN) is NaN
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -299,3 +300,8 @@
if(hx>0) return tiny*tiny; else return two-tiny;
}
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(erf, erfl);
+openlibm_weak_reference(erfc, erfcl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_expm1.c new/openlibm-0.8.1/src/s_expm1.c
--- old/openlibm-0.7.1/src/s_expm1.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_expm1.c 2022-01-20 00:43:52.000000000 +0100
@@ -215,3 +215,7 @@
}
return y;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(expm1, expm1l);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_log1p.c new/openlibm-0.8.1/src/s_log1p.c
--- old/openlibm-0.7.1/src/s_log1p.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_log1p.c 2022-01-20 00:43:52.000000000 +0100
@@ -173,3 +173,7 @@
if(k==0) return f-(hfsq-s*(hfsq+R)); else
return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(log1p, log1pl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/src/s_tanh.c new/openlibm-0.8.1/src/s_tanh.c
--- old/openlibm-0.7.1/src/s_tanh.c 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/src/s_tanh.c 2022-01-20 00:43:52.000000000 +0100
@@ -37,6 +37,7 @@
* only tanh(0)=0 is exact for finite argument.
*/
+#include <float.h>
#include <openlibm_math.h>
#include "math_private.h"
@@ -76,3 +77,7 @@
}
return (jx>=0)? z: -z;
}
+
+#if (LDBL_MANT_DIG == 53)
+openlibm_weak_reference(tanh, tanhl);
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/test/Makefile new/openlibm-0.8.1/test/Makefile
--- old/openlibm-0.7.1/test/Makefile 2020-09-02 18:33:04.000000000 +0200
+++ new/openlibm-0.8.1/test/Makefile 2022-01-20 00:43:52.000000000 +0100
@@ -7,6 +7,8 @@
ifneq ($(OS),Darwin)
OPENLIBM_LIB += -Wl,-rpath=$(OPENLIBM_HOME)
endif
+else # WINNT
+CFLAGS_add += -DIMPORT_EXPORTS
endif
all: test-double test-float # test-double-system test-float-system
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openlibm-0.7.1/test/test-211.c new/openlibm-0.8.1/test/test-211.c
--- old/openlibm-0.7.1/test/test-211.c 1970-01-01 01:00:00.000000000 +0100
+++ new/openlibm-0.8.1/test/test-211.c 2022-01-20 00:43:52.000000000 +0100
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include <math.h>
+#include <assert.h>
+
+int
+main()
+{
+ float x = 0xd.65874p-4f;
+ float y = 4.0f;
+ float z = powf (x, y);
+ assert(z==0x1.f74424p-2);
+}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qd for openSUSE:Factory checked in at 2022-12-24 14:52:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qd (Old)
and /work/SRC/openSUSE:Factory/.qd.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qd"
Sat Dec 24 14:52:24 2022 rev:3 rq:1045138 version:2.3.23
Changes:
--------
--- /work/SRC/openSUSE:Factory/qd/qd.changes 2019-02-27 17:29:09.155320700 +0100
+++ /work/SRC/openSUSE:Factory/.qd.new.1563/qd.changes 2022-12-24 14:55:13.640659364 +0100
@@ -1,0 +2,14 @@
+Sat Dec 3 22:59:25 UTC 2022 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 2.3.23:
+ * Fixed underlinking of libqdmod and libqd_f_main (bug).
+ * Don't set CC=$CXX (fixes a new build issue with autoconf-2.71, bug).
+ * Fixed typo in the rule to build docs/qd.pdf (bug).
+ * Fixed "make dist" rule (built headers cannot be dist'd, bug).
+ * Fixed the build with --disable-inline (bug).
+ * Don't add "-O2" to CXXFLAGS or FCFLAGS when they're empty (portability).
+ * Don't manually search for compilers & flags in configure.ac (portability).
+ * Removed the --enable-warnings and --enable-debug flags (portability).
+ * Modernized all of configure.ac for use with autoconf-2.71 (housekeeping).
+
+-------------------------------------------------------------------
Old:
----
qd-2.3.22.tar.gz
New:
----
qd-2.3.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qd.spec ++++++
--- /var/tmp/diff_new_pack.lUKkFk/_old 2022-12-24 14:55:14.044661721 +0100
+++ /var/tmp/diff_new_pack.lUKkFk/_new 2022-12-24 14:55:14.052661768 +0100
@@ -1,7 +1,7 @@
#
# spec file for package qd
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,17 @@
%define libname libqd0
-
Name: qd
-Version: 2.3.22
+Version: 2.3.23
Release: 0
Summary: Quad Double computation package
License: BSD-3-Clause-LBNL
Group: Development/Libraries/C and C++
-Url: http://crd-legacy.lbl.gov/~dhbailey/mpdist/
-Source0: http://crd.lbl.gov/~dhbailey/mpdist/%{name}-%{version}.tar.gz
+URL: https://www.davidhbailey.com/dhbsoftware/
+Source0: https://www.davidhbailey.com/dhbsoftware/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkg-config
%description
qd provides numeric types of twice the precision of IEEE double
@@ -38,11 +37,11 @@
overloading, these facilities can be utilized with only minor modifications
to conventional C++ and Fortran-90 programs.
-%package -n %libname
+%package -n %{libname}
Summary: A library for nonlinear optimization
Group: System/Libraries
-%description -n %libname
+%description -n %{libname}
qd provides numeric types of twice the precision of IEEE double
(106 mantissa bits, or approximately 32 decimal digits) and four
times the precision of IEEE double (212 mantissa bits, or approximately
@@ -53,7 +52,7 @@
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
-Requires: %libname = %{version}
+Requires: %{libname} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
@@ -64,32 +63,27 @@
%build
%configure --enable-shared --disable-static
-make %{?_smp_mflags}
+%make_build
%install
%make_install
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_datadir}/doc/qd
-%clean
-rm -rf %{buildroot}
-
-%post -n %libname -p /sbin/ldconfig
+%post -n %{libname} -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
-%postun -n %libname -p /sbin/ldconfig
-
-%files -n %libname
-%defattr(-,root,root,-)
+%files -n %{libname}
%license COPYING
%{_libdir}/*.so.*
%files devel
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING docs/qd.pdf NEWS README
-%license BSD-LBNL-License.doc
+%license COPYING
+%doc AUTHORS docs/qd.pdf NEWS README
%{_bindir}/%{name}-config
%{_includedir}/*
%{_libdir}/*.so
+%{_libdir}/pkgconfig/qd.pc
%changelog
++++++ qd-2.3.22.tar.gz -> qd-2.3.23.tar.gz ++++++
++++ 156878 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openQA for openSUSE:Factory checked in at 2022-12-24 14:52:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openQA (Old)
and /work/SRC/openSUSE:Factory/.openQA.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openQA"
Sat Dec 24 14:52:21 2022 rev:428 rq:1045137 version:4.6.1671708203.c9f8b10
Changes:
--------
openQA-devel-test.changes: same change
openQA-test.changes: same change
openQA-worker-test.changes: same change
--- /work/SRC/openSUSE:Factory/openQA/openQA.changes 2022-12-22 16:23:04.638030508 +0100
+++ /work/SRC/openSUSE:Factory/.openQA.new.1563/openQA.changes 2022-12-24 14:55:12.460652479 +0100
@@ -1,0 +2,9 @@
+Sat Dec 24 02:16:48 UTC 2022 - okurz(a)suse.com
+
+- Update to version 4.6.1671708203.c9f8b10:
+ * Dependency cron 2022-12-22
+ * codecov.yml: Introduce specific coverage thresholds
+ * codecov: Remove redundant duplication of default values and range
+ * Avoid jobs from being stuck in state "running"
+
+-------------------------------------------------------------------
Old:
----
openQA-4.6.1671625243.c73687c.obscpio
New:
----
openQA-4.6.1671708203.c9f8b10.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openQA-client-test.spec ++++++
--- /var/tmp/diff_new_pack.NxXKi4/_old 2022-12-24 14:55:13.232656984 +0100
+++ /var/tmp/diff_new_pack.NxXKi4/_new 2022-12-24 14:55:13.236657007 +0100
@@ -18,7 +18,7 @@
%define short_name openQA-client
Name: %{short_name}-test
-Version: 4.6.1671625243.c73687c
+Version: 4.6.1671708203.c9f8b10
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ openQA-devel-test.spec ++++++
--- /var/tmp/diff_new_pack.NxXKi4/_old 2022-12-24 14:55:13.264657170 +0100
+++ /var/tmp/diff_new_pack.NxXKi4/_new 2022-12-24 14:55:13.268657193 +0100
@@ -18,7 +18,7 @@
%define short_name openQA-devel
Name: %{short_name}-test
-Version: 4.6.1671625243.c73687c
+Version: 4.6.1671708203.c9f8b10
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ openQA-test.spec ++++++
--- /var/tmp/diff_new_pack.NxXKi4/_old 2022-12-24 14:55:13.312657450 +0100
+++ /var/tmp/diff_new_pack.NxXKi4/_new 2022-12-24 14:55:13.324657520 +0100
@@ -18,7 +18,7 @@
%define short_name openQA
Name: %{short_name}-test
-Version: 4.6.1671625243.c73687c
+Version: 4.6.1671708203.c9f8b10
Release: 0
Summary: Test package for openQA
License: GPL-2.0-or-later
++++++ openQA-worker-test.spec ++++++
--- /var/tmp/diff_new_pack.NxXKi4/_old 2022-12-24 14:55:13.348657660 +0100
+++ /var/tmp/diff_new_pack.NxXKi4/_new 2022-12-24 14:55:13.356657707 +0100
@@ -18,7 +18,7 @@
%define short_name openQA-worker
Name: %{short_name}-test
-Version: 4.6.1671625243.c73687c
+Version: 4.6.1671708203.c9f8b10
Release: 0
Summary: Test package for %{short_name}
License: GPL-2.0-or-later
++++++ openQA.spec ++++++
--- /var/tmp/diff_new_pack.NxXKi4/_old 2022-12-24 14:55:13.384657870 +0100
+++ /var/tmp/diff_new_pack.NxXKi4/_new 2022-12-24 14:55:13.392657917 +0100
@@ -76,7 +76,7 @@
%define devel_requires %devel_no_selenium_requires chromedriver
Name: openQA
-Version: 4.6.1671625243.c73687c
+Version: 4.6.1671708203.c9f8b10
Release: 0
Summary: The openQA web-frontend, scheduler and tools
License: GPL-2.0-or-later
++++++ openQA-4.6.1671625243.c73687c.obscpio -> openQA-4.6.1671708203.c9f8b10.obscpio ++++++
/work/SRC/openSUSE:Factory/openQA/openQA-4.6.1671625243.c73687c.obscpio /work/SRC/openSUSE:Factory/.openQA.new.1563/openQA-4.6.1671708203.c9f8b10.obscpio differ: char 50, line 1
++++++ openQA.obsinfo ++++++
--- /var/tmp/diff_new_pack.NxXKi4/_old 2022-12-24 14:55:13.488658477 +0100
+++ /var/tmp/diff_new_pack.NxXKi4/_new 2022-12-24 14:55:13.496658524 +0100
@@ -1,5 +1,5 @@
name: openQA
-version: 4.6.1671625243.c73687c
-mtime: 1671625243
-commit: c73687c22fdee12430e1dab26365347517101840
+version: 4.6.1671708203.c9f8b10
+mtime: 1671708203
+commit: c9f8b107d3c0b21a4ba8098aaf6d2fe95d0aeba3
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ffmpeg-python for openSUSE:Factory checked in at 2022-12-24 14:52:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ffmpeg-python (Old)
and /work/SRC/openSUSE:Factory/.python-ffmpeg-python.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ffmpeg-python"
Sat Dec 24 14:52:20 2022 rev:6 rq:1045132 version:0.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ffmpeg-python/python-ffmpeg-python.changes 2022-01-16 23:19:19.342379174 +0100
+++ /work/SRC/openSUSE:Factory/.python-ffmpeg-python.new.1563/python-ffmpeg-python.changes 2022-12-24 14:55:11.472646714 +0100
@@ -1,0 +2,5 @@
+Fri Dec 23 23:19:11 UTC 2022 - Ben Greiner <code(a)bnavigator.de>
+
+- Skip a test failing because of missing libopenh264 support
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ffmpeg-python.spec ++++++
--- /var/tmp/diff_new_pack.xBOehw/_old 2022-12-24 14:55:11.912649282 +0100
+++ /var/tmp/diff_new_pack.xBOehw/_new 2022-12-24 14:55:11.920649328 +0100
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-ffmpeg-python
Version: 0.2.0
@@ -58,12 +57,14 @@
%check
# skip some tests since we do not have FFmpeg with mp4-support on the public OBS instance
+# test__probe fails because of missing libopenh264 on plain openSUSE
# test_pipe - fails on Leap due to too old FFmpeg
-%pytest -k 'not (test__run or test__run__multi_output or test_pipe)'
+%pytest -k 'not (test__run or test__run__multi_output or test_pipe or test__probe)'
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitelib}/ffmpeg*
+%{python_sitelib}/ffmpeg
+%{python_sitelib}/ffmpeg_python-%{version}*-info
%changelog
1
0