openSUSE Commits
Threads by month
- ----- 2025 -----
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
August 2018
- 1 participants
- 1600 discussions
Hello community,
here is the log from the commit of package mariadb-connector-c for openSUSE:Factory checked in at 2018-08-02 14:48:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mariadb-connector-c (Old)
and /work/SRC/openSUSE:Factory/.mariadb-connector-c.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mariadb-connector-c"
Thu Aug 2 14:48:49 2018 rev:12 rq:625058 version:3.0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/mariadb-connector-c/mariadb-connector-c.changes 2018-07-02 23:29:22.381552809 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb-connector-c.new/mariadb-connector-c.changes 2018-08-02 14:48:51.819333760 +0200
@@ -1,0 +2,44 @@
+Fri Jun 29 15:12:47 UTC 2018 - kstreitova(a)suse.com
+
+- New upstream version 3.0.5
+- 3.0.5 important changes:
+ * CONC-336: Allow multiple initialization of client library
+ * Fixed string to MYSQL_TIME conversion (prepared statements)
+ * CONC-334: Copy all members of MYSQL_FIELD to internal
+ statement structure
+ * Fixed double free in dynamic column library
+ * Added checks for corrupted packets in protocol
+ * MDEV-15450: Added default connection attribute _server_host
+ * CONC-326: fixed wrong openssl thread id callback
+- 3.0.4 important changes:
+ * Added option MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS for
+ mysql_options()/mysql_optionsv():
+ * New plugin configuration interface: The default configuration
+ for a specific plugin can be specified via cmake parameter
+ -DCLIENT_PLUGIN_${PLUGIN}=[DYNAMIC|STATIC|OFF].
+ * Added support for linux abstract socket (MDEV-15655).
+ * CONC-320: Added asynchronous/non-blocking support for
+ OpenSSL and GnuTLS
+ * CONC-294: Access violation in mysql_close when using
+ a connection plugin.
+ * MDEV-14977: If built dynamically the old_password plugin
+ could not be located due to wrong filename (must be
+ mysql_old_password.so instead of old_password.so).
+ * CONC-315: If no default client character set was specified,
+ the utf8 character set will be used by default (instead of
+ setting the client character set to server character set)
+ * CONC-317: Parsing of configuration file fails if key/value
+ pairs contain white spaces.
+ * CONC-322: Correct handling of EAGAIN and EINPROGRESS in
+ internal_connect (socket) for non windows platforms.
+ * CONC-323: mariadb_stmt_execute_direct hangs forever if
+ compression used.
+ * CONC-324: Wrong codepage numbers for some collations.
+ * CONC-326: ssl_thread_init() uses wrong openssl threadid
+ callback
+- refresh the following patches:
+ * mariadb-connector-c-2.3.1_unresolved_symbols.patch
+ * absolute_path_fix.patch
+ * private_library.patch
+
+-------------------------------------------------------------------
Old:
----
mariadb-connector-c-3.0.3-src.tar.gz
mariadb-connector-c-3.0.3-src.tar.gz.asc
New:
----
mariadb-connector-c-3.0.5-src.tar.gz
mariadb-connector-c-3.0.5-src.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mariadb-connector-c.spec ++++++
--- /var/tmp/diff_new_pack.Sg6vj5/_old 2018-08-02 14:48:52.251334587 +0200
+++ /var/tmp/diff_new_pack.Sg6vj5/_new 2018-08-02 14:48:52.255334595 +0200
@@ -25,7 +25,7 @@
%endif
%bcond_with sqlite3
Name: mariadb-connector-c
-Version: 3.0.3
+Version: 3.0.5
Release: 0
Summary: MariaDB connector in C
License: LGPL-2.1-or-later
++++++ absolute_path_fix.patch ++++++
--- /var/tmp/diff_new_pack.Sg6vj5/_old 2018-08-02 14:48:52.271334625 +0200
+++ /var/tmp/diff_new_pack.Sg6vj5/_new 2018-08-02 14:48:52.271334625 +0200
@@ -2,19 +2,18 @@
Date: Fri Mar 3 15:59:09 CET 2017
Summary: Remove pure ugliness with paths
-Index: mariadb-connector-c-3.0.3-src/mariadb_config/mariadb_config.c.in
+Index: mariadb-connector-c-3.0.5-src/mariadb_config/mariadb_config.c.in
===================================================================
---- mariadb-connector-c-3.0.3-src.orig/mariadb_config/mariadb_config.c.in
-+++ mariadb-connector-c-3.0.3-src/mariadb_config/mariadb_config.c.in
-@@ -5,14 +5,14 @@
+--- mariadb-connector-c-3.0.5-src.orig/mariadb_config/mariadb_config.c.in
++++ mariadb-connector-c-3.0.5-src/mariadb_config/mariadb_config.c.in
+@@ -5,13 +5,13 @@
static char *mariadb_progname;
-#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@ -I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@/mysql"
--#define LIBS "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb "\
+-#define LIBS "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb @extra_dynamic_LDFLAGS@"
+#define INCLUDE "-I@INSTALL_INCLUDEDIR@ -I@INSTALL_INCLUDEDIR@/mariadb"
-+#define LIBS "-L@INSTALL_LIBDIR@ -lmariadb "\
- "@extra_dynamic_LDFLAGS@"
++#define LIBS "-L@INSTALL_LIBDIR@ -lmariadb @extra_dynamic_LDFLAGS@"
#define LIBS_SYS "@extra_dynamic_LDFLAGS@"
#define CFLAGS INCLUDE
#define VERSION "@MARIADB_CLIENT_VERSION@"
@@ -24,10 +23,10 @@
#define SOCKET "@MARIADB_UNIX_ADDR@"
#define PORT "@MARIADB_PORT@"
#define TLS_LIBRARY_VERSION "@TLS_LIBRARY_VERSION@"
-Index: mariadb-connector-c-3.0.3-src/mariadb_config/libmariadb.pc.in
+Index: mariadb-connector-c-3.0.5-src/mariadb_config/libmariadb.pc.in
===================================================================
---- mariadb-connector-c-3.0.3-src.orig/mariadb_config/libmariadb.pc.in
-+++ mariadb-connector-c-3.0.3-src/mariadb_config/libmariadb.pc.in
+--- mariadb-connector-c-3.0.5-src.orig/mariadb_config/libmariadb.pc.in
++++ mariadb-connector-c-3.0.5-src/mariadb_config/libmariadb.pc.in
@@ -6,14 +6,14 @@
# Dan Nicholson’s Guide to pkg-config (http://www.freedesktop.org/wiki/Software/pkg-config/)
#
++++++ mariadb-connector-c-2.3.1_unresolved_symbols.patch ++++++
--- /var/tmp/diff_new_pack.Sg6vj5/_old 2018-08-02 14:48:52.283334649 +0200
+++ /var/tmp/diff_new_pack.Sg6vj5/_new 2018-08-02 14:48:52.283334649 +0200
@@ -1,12 +1,14 @@
-Index: mariadb-connector-c-3.0.2-src/plugins/auth/CMakeLists.txt
+Index: mariadb-connector-c-3.0.5-src/plugins/auth/CMakeLists.txt
===================================================================
---- mariadb-connector-c-3.0.2-src.orig/plugins/auth/CMakeLists.txt
-+++ mariadb-connector-c-3.0.2-src/plugins/auth/CMakeLists.txt
-@@ -21,6 +21,7 @@ IF(AUTH_DIALOG_PLUGIN_TYPE MATCHES "DYNA
- SET(DIALOG_SOURCES ${DIALOG_SOURCES} ${CC_SOURCE_DIR}/plugins/plugin.def)
- ENDIF()
- ADD_LIBRARY(dialog MODULE ${DIALOG_SOURCES})
-+ TARGET_LINK_LIBRARIES(dialog dl)
- SET_TARGET_PROPERTIES(dialog PROPERTIES PREFIX "")
- SIGN_TARGET(dialog)
- INSTALL_PLUGIN(dialog ${CC_BINARY_DIR}/plugins/auth)
+--- mariadb-connector-c-3.0.5-src.orig/plugins/auth/CMakeLists.txt
++++ mariadb-connector-c-3.0.5-src/plugins/auth/CMakeLists.txt
+@@ -16,7 +16,8 @@ REGISTER_PLUGIN(TARGET dialog
+ CONFIGURATIONS DYNAMIC STATIC OFF
+ DEFAULT DYNAMIC
+ SOURCES ${CC_SOURCE_DIR}/plugins/auth/dialog.c
+- ${CC_SOURCE_DIR}/libmariadb/get_password.c)
++ ${CC_SOURCE_DIR}/libmariadb/get_password.c
++ LIBRARIES dl)
+
+ #GSSAPI client authentication plugin
+ IF(NOT WIN32)
++++++ mariadb-connector-c-3.0.3-src.tar.gz -> mariadb-connector-c-3.0.5-src.tar.gz ++++++
++++ 8451 lines of diff (skipped)
++++++ private_library.patch ++++++
--- /var/tmp/diff_new_pack.Sg6vj5/_old 2018-08-02 14:48:52.431334931 +0200
+++ /var/tmp/diff_new_pack.Sg6vj5/_new 2018-08-02 14:48:52.431334931 +0200
@@ -8,11 +8,11 @@
exports all symbols. With the exception of exported symbols, it is
identical to the regular library.
-Index: mariadb-connector-c-3.0.3-src/libmariadb/CMakeLists.txt
+Index: mariadb-connector-c-3.0.5-src/libmariadb/CMakeLists.txt
===================================================================
---- mariadb-connector-c-3.0.3-src.orig/libmariadb/CMakeLists.txt
-+++ mariadb-connector-c-3.0.3-src/libmariadb/CMakeLists.txt
-@@ -391,16 +391,24 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 8 AND MSVC)
+--- mariadb-connector-c-3.0.5-src.orig/libmariadb/CMakeLists.txt
++++ mariadb-connector-c-3.0.5-src/libmariadb/CMakeLists.txt
+@@ -403,16 +403,24 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 8 AND MSVC)
SET_TARGET_PROPERTIES(mariadbclient PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
ENDIF()
@@ -23,7 +23,7 @@
+ENDIF()
+
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
- IF (NOT WITH_ASAN AND NOT WITH_TSAN)
+ IF (NOT WITH_ASAN)
TARGET_LINK_LIBRARIES (libmariadb "-Wl,--no-undefined")
ENDIF()
TARGET_LINK_LIBRARIES (libmariadb "${CC_BINARY_DIR}/libmariadb/mariadbclient.def")
@@ -36,8 +36,8 @@
+SET_TARGET_PROPERTIES(libmariadbprivate PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(libmariadb PROPERTIES PREFIX "")
- SET_TARGET_PROPERTIES(libmariadb PROPERTIES VERSION
-@@ -434,6 +442,9 @@ INSTALL(TARGETS mariadbclient
+ #
+@@ -442,6 +450,9 @@ INSTALL(TARGETS mariadbclient
INSTALL(TARGETS libmariadb
COMPONENT SharedLibraries
DESTINATION ${INSTALL_LIBDIR})
@@ -47,20 +47,20 @@
IF(WIN32)
# On Windows, install PDB
-Index: mariadb-connector-c-3.0.3-src/mariadb_config/mariadb_config.c.in
+Index: mariadb-connector-c-3.0.5-src/mariadb_config/mariadb_config.c.in
===================================================================
---- mariadb-connector-c-3.0.3-src.orig/mariadb_config/mariadb_config.c.in
-+++ mariadb-connector-c-3.0.3-src/mariadb_config/mariadb_config.c.in
-@@ -8,6 +8,8 @@ static char *mariadb_progname;
+--- mariadb-connector-c-3.0.5-src.orig/mariadb_config/mariadb_config.c.in
++++ mariadb-connector-c-3.0.5-src/mariadb_config/mariadb_config.c.in
+@@ -7,6 +7,8 @@ static char *mariadb_progname;
+
#define INCLUDE "-I@INSTALL_INCLUDEDIR@ -I@INSTALL_INCLUDEDIR@/mariadb"
- #define LIBS "-L@INSTALL_LIBDIR@ -lmariadb "\
- "@extra_dynamic_LDFLAGS@"
+ #define LIBS "-L@INSTALL_LIBDIR@ -lmariadb @extra_dynamic_LDFLAGS@"
+#define PRIVATE_LIBS "-L@INSTALL_LIBDIR@ -lmariadbprivate " \
+ "@extra_dynamic_LDFLAGS@"
#define LIBS_SYS "@extra_dynamic_LDFLAGS@"
#define CFLAGS INCLUDE
#define VERSION "@MARIADB_CLIENT_VERSION@"
-@@ -31,6 +33,7 @@ static struct option long_options[]=
+@@ -30,6 +32,7 @@ static struct option long_options[]=
{"port", no_argument, 0, 'i'},
{"plugindir", no_argument, 0, 'j'},
{"tlsinfo", no_argument, 0, 'k'},
@@ -68,7 +68,7 @@
{NULL, 0, 0, 0}
};
-@@ -46,6 +49,7 @@ static const char *values[]=
+@@ -45,6 +48,7 @@ static const char *values[]=
CC_VERSION,
SOCKET,
PORT,
@@ -76,7 +76,7 @@
PLUGIN_DIR,
TLS_LIBRARY_VERSION
};
-@@ -116,6 +120,9 @@ int main(int argc, char **argv)
+@@ -115,6 +119,9 @@ int main(int argc, char **argv)
case 'l':
puts(LIBS_SYS);
break;
1
0
Hello community,
here is the log from the commit of package python-pip for openSUSE:Factory checked in at 2018-08-02 14:48:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
and /work/SRC/openSUSE:Factory/.python-pip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pip"
Thu Aug 2 14:48:43 2018 rev:37 rq:624944 version:18.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes 2018-04-26 13:34:26.623968687 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip.new/python-pip.changes 2018-08-02 14:48:46.159322929 +0200
@@ -1,0 +2,15 @@
+Mon Jul 23 21:03:56 UTC 2018 - mimi.vx(a)gmail.com
+
+- update to 18.0
+- refresh pip-8.1.2-shipped-requests-cabundle.patch
+ * drop python 3.3 support
+ * Remove the legacy format from pip list.
+ * Remove support for cleaning up #egg fragment postfixes
+ * Remove the shim for the old get-pip.py location
+ * Introduce a new --prefer-binary flag, to prefer older wheels
+ over newer source packages.
+ * Improve autocompletion function on file name completion
+ * Add support for installing PEP 518 build dependencies from source
+ * Improve status message when upgrade is skipped due to only-if-needed strategy
+
+-------------------------------------------------------------------
Old:
----
pip-10.0.1.tar.gz
New:
----
pip-18.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pip.spec ++++++
--- /var/tmp/diff_new_pack.m4MeJS/_old 2018-08-02 14:48:46.751324062 +0200
+++ /var/tmp/diff_new_pack.m4MeJS/_new 2018-08-02 14:48:46.751324062 +0200
@@ -21,7 +21,7 @@
# enable testing with a build conditional (off by default):
%bcond_with test
Name: python-pip
-Version: 10.0.1
+Version: 18.0
Release: 0
Summary: Pip installs packages. Python packages. An easy_install replacement
License: MIT
++++++ pip-10.0.1.tar.gz -> pip-18.0.tar.gz ++++++
++++ 208187 lines of diff (skipped)
++++++ pip-8.1.2-shipped-requests-cabundle.patch ++++++
--- /var/tmp/diff_new_pack.m4MeJS/_old 2018-08-02 14:48:47.019324575 +0200
+++ /var/tmp/diff_new_pack.m4MeJS/_new 2018-08-02 14:48:47.019324575 +0200
@@ -1,24 +1,23 @@
-Index: pip-10.0.1/src/pip/_vendor/certifi/core.py
+Index: pip-18.0/src/pip/_vendor/certifi/core.py
===================================================================
---- pip-10.0.1.orig/src/pip/_vendor/certifi/core.py
-+++ pip-10.0.1/src/pip/_vendor/certifi/core.py
+--- pip-18.0.orig/src/pip/_vendor/certifi/core.py
++++ pip-18.0/src/pip/_vendor/certifi/core.py
@@ -7,7 +7,6 @@ certifi.py
-
- This module returns the installation location of cacert.pem.
- """
--import os
- import warnings
-
-
-@@ -19,10 +18,7 @@ class DeprecatedBundleWarning(Deprecatio
-
-
- def where():
-- f = os.path.dirname(__file__)
--
-- return os.path.join(f, 'cacert.pem')
--
-+ return '/etc/ssl/ca-bundle.pem'
-
- def old_where():
- warnings.warn(
+
+ This module returns the installation location of cacert.pem.
+ """
+-import os
+ import warnings
+
+
+@@ -19,9 +18,8 @@ class DeprecatedBundleWarning(Deprecatio
+
+
+ def where():
+- f = os.path.dirname(__file__)
+
+- return os.path.join(f, 'cacert.pem')
++ return '/etc/ssl/ca-bundle.pem'
+
+
+ def old_where():
1
0
Hello community,
here is the log from the commit of package geoclue2 for openSUSE:Factory checked in at 2018-08-02 14:48:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/geoclue2 (Old)
and /work/SRC/openSUSE:Factory/.geoclue2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "geoclue2"
Thu Aug 2 14:48:29 2018 rev:31 rq:625946 version:2.4.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/geoclue2/geoclue2.changes 2018-05-13 15:55:59.778185093 +0200
+++ /work/SRC/openSUSE:Factory/.geoclue2.new/geoclue2.changes 2018-08-02 14:48:31.131294174 +0200
@@ -1,0 +2,17 @@
+Thu Jul 26 18:21:54 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 2.4.11:
+ + Don't crash on invalid accuracy level request.
+ + The demo agent now watches for geoclue on D-Bus if it's not
+ running already, instead of giving up. This solves a
+ race-condition, which makes geoclue completely unusable.
+ + Provide Vala bindings for libgeoclue.
+ + Add gclue_client_get/set_time_threshold() to docs.
+- Drop geoclue2-Fix-safety-header-name.patch and
+ geoclue2-Fix-potentially-unused-variable.patch: Fixed upstream.
+- Add vala BuildRequires: New optional dependency, build vala
+ bindings.
+- No longer nuke during build geoclue-demo-agent.desktop files,
+ upstream wants us to package them.
+
+-------------------------------------------------------------------
Old:
----
geoclue-2.4.10.tar.xz
geoclue2-Fix-potentially-unused-variable.patch
geoclue2-Fix-safety-header-name.patch
New:
----
geoclue-2.4.11.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ geoclue2.spec ++++++
--- /var/tmp/diff_new_pack.TxEqE9/_old 2018-08-02 14:48:31.875295598 +0200
+++ /var/tmp/diff_new_pack.TxEqE9/_new 2018-08-02 14:48:31.879295605 +0200
@@ -18,7 +18,7 @@
%define _name geoclue
Name: geoclue2
-Version: 2.4.10
+Version: 2.4.11
Release: 0
Summary: GeoLocation Framework
License: GPL-2.0-or-later
@@ -28,24 +28,21 @@
Source1: srvGeoClue.conf
Source99: geoclue2-rpmlintrc
-# PATCH-FIX-UPSTREAM geoclue2-Fix-safety-header-name.patch -- public-api: Fix safety header name
-Patch0: geoclue2-Fix-safety-header-name.patch
-# PATCH-FIX-UPSTREAM geoclue2-Fix-potentially-unused-variable.patch - locator: Fix a potentially unused variable declaration
-Patch1: geoclue2-Fix-potentially-unused-variable.patch
# PATCH-FIX-UPSTREAM geoclue2-Fix-duplicate-decl-specifier.patch -- Fix compiler warning about duplicate decl specifier
-Patch2: geoclue2-Fix-duplicate-decl-specifier.patch
+Patch0: geoclue2-Fix-duplicate-decl-specifier.patch
BuildRequires: gtk-doc
BuildRequires: intltool >= 0.40.0
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: sysuser-tools
+BuildRequires: vala
BuildRequires: perl(XML::Parser)
BuildRequires: pkgconfig(avahi-client) >= 0.6.10
BuildRequires: pkgconfig(avahi-glib) >= 0.6.10
BuildRequires: pkgconfig(gio-2.0) >= 2.34.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.34.0
-BuildRequires: pkgconfig(glib-2.0) >= 2.34.0
+BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(json-glib-1.0) >= 0.14
BuildRequires: pkgconfig(libnotify)
@@ -101,7 +98,7 @@
--disable-geoip-server \
--enable-introspection \
--with-dbus-service-user=srvGeoClue
-make %{?_smp_mflags} V=1
+%make_build
%sysusers_generate_pre %{SOURCE1} srvGeoClue
%install
@@ -110,8 +107,8 @@
mkdir -p %{buildroot}%{_sysusersdir}
install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-srvGeoClue.conf
find %{buildroot} -type f -name "*.la" -delete -print
-# Remove desktop file, we do not build the demos
-find %{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print
+# Remove desktop file, we do not build the demos # Upstream is explicitly asking us to package these, so lets give it a go.
+#find %%{buildroot} -type f -name "geoclue-demo-agent.desktop" -delete -print
# note: do not use systemd macros for geoclue2.service, they are not meant for dbus unit files.
@@ -143,6 +140,9 @@
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
%{_unitdir}/geoclue.service
+# Upstream is explicitly asking us to package these, so lets give it a go.
+%{_sysconfdir}/xdg/autostart/geoclue-demo-agent.desktop
+%{_datadir}/applications/geoclue-demo-agent.desktop
%files -n system-user-srvGeoClue
%attr(0700,srvGeoClue,root) %{_localstatedir}/lib/srvGeoClue
@@ -161,5 +161,6 @@
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
%{_datadir}/gir-1.0/Geoclue-2.0.gir
+%{_datadir}/vala/vapi/libgeoclue-2.0.*
%changelog
++++++ geoclue-2.4.10.tar.xz -> geoclue-2.4.11.tar.xz ++++++
++++ 13110 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package patterns-kde for openSUSE:Factory checked in at 2018-08-02 14:48:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patterns-kde (Old)
and /work/SRC/openSUSE:Factory/.patterns-kde.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patterns-kde"
Thu Aug 2 14:48:10 2018 rev:21 rq:625943 version:20180709
Changes:
--------
--- /work/SRC/openSUSE:Factory/patterns-kde/patterns-kde.changes 2018-07-21 10:20:38.339023636 +0200
+++ /work/SRC/openSUSE:Factory/.patterns-kde.new/patterns-kde.changes 2018-08-02 14:48:20.927274650 +0200
@@ -1,0 +2,5 @@
+Sat Jul 28 15:32:00 UTC 2018 - fabian(a)ritter-vogt.de
+
+- %2F is '/', but it has to be '-', so use %2D
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ patterns-kde.spec ++++++
--- /var/tmp/diff_new_pack.NizpEv/_old 2018-08-02 14:48:24.663281798 +0200
+++ /var/tmp/diff_new_pack.NizpEv/_new 2018-08-02 14:48:24.663281798 +0200
@@ -46,7 +46,7 @@
Provides: patterns-openSUSE-devel_kde = %{version}
Provides: patterns-openSUSE-devel_kde_framework = %{version}
Provides: pattern() = devel_kde_frameworks
-Provides: pattern-icon() = pattern%2Fkde%2Fdevel
+Provides: pattern-icon() = pattern%2Dkde%2Ddevel
Provides: pattern-order() = 3180
Provides: pattern-visible()
Obsoletes: patterns-kde-devel_kde < %{version}
@@ -166,7 +166,7 @@
Group: Metapackages
Provides: patterns-openSUSE-devel_qt5 = %{version}
Provides: pattern() = devel_qt5
-Provides: pattern-icon() = pattern%2Fbasis%2Fdevel
+Provides: pattern-icon() = pattern%2Dbasis%2Ddevel
Provides: pattern-order() = 3381
Provides: pattern-visible()
Obsoletes: patterns-openSUSE-devel_qt5 < %{version}
@@ -223,7 +223,7 @@
Provides: patterns-openSUSE-kde = %{version}
Provides: patterns-openSUSE-kde4 = %{version}
Provides: pattern() = kde
-Provides: pattern-icon() = pattern%2Fkde4
+Provides: pattern-icon() = pattern%2Dkde4
Provides: pattern-order() = 1110
Provides: pattern-visible()
Obsoletes: patterns-openSUSE-kde < %{version}
@@ -277,7 +277,7 @@
Provides: patterns-openSUSE-kde4_basis = %{version}
Provides: patterns-openSUSE-kde_plasma = %{version}
Provides: pattern() = kde_plasma
-Provides: pattern-icon() = pattern%2Fkde4
+Provides: pattern-icon() = pattern%2Dkde4
Provides: pattern-order() = 1100
Provides: pattern-visible()
Obsoletes: patterns-openSUSE-kde4_admin < %{version}
1
0
Hello community,
here is the log from the commit of package libopenmpt for openSUSE:Factory checked in at 2018-08-02 14:47:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libopenmpt (Old)
and /work/SRC/openSUSE:Factory/.libopenmpt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libopenmpt"
Thu Aug 2 14:47:53 2018 rev:11 rq:625937 version:0.3.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/libopenmpt/libopenmpt.changes 2018-06-05 12:52:44.710003725 +0200
+++ /work/SRC/openSUSE:Factory/.libopenmpt.new/libopenmpt.changes 2018-08-02 14:48:10.479254661 +0200
@@ -1,0 +2,30 @@
+Sat Jul 28 13:36:32 UTC 2018 - 9+suse(a)cirno.systems
+
+- Update to version 0.3.11:
+ * [Sec] Crash with some malformed custom tunings in MPTM files
+ * Channels whose volume envelope was playing at volume 0 while
+ being moved to a NNA background channel were cut off completely
+ since libopenmpt 0.3.8.
+ * AMF (ASYLUM): Convert 7-bit panning to 8-bit panning for
+ playback
+- Update to version 0.3.10:
+ * [Bug] Internal mixer state was not initialized properly when
+ initially rendering in 44100kHz stereo format.
+ * [Bug] AMF: Undefined behaviour in loader code could lead to
+ files playing silent.
+ * Switching between instruments with portamento did not update
+ the NNA settings for the new instrument.
+ * FAR: Properly import volume commands.
+ * [Sec] Possible write near address 0 in out-of-memory situations
+ when reading AMS files.
+ * [Bug] openmpt123: Fixed build failure in C++17 due to use of
+ removed feature std::random_shuffle.
+ * STM: Having both Bxx and Cxx commands in a pattern imported the
+ Bxx command incorrectly.
+ * STM: Last character of sample name was missing.
+ * Speed up reading of truncated ULT files.
+ * ULT: Portamento import was sometimes broken.
+ * The resonant filter was sometimes unstable when combining
+ low-volume samples, low cutoff and high mixing rates.
+
+-------------------------------------------------------------------
Old:
----
libopenmpt-0.3.9+release.autotools.tar.gz
New:
----
libopenmpt-0.3.11+release.autotools.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libopenmpt.spec ++++++
--- /var/tmp/diff_new_pack.nMdKi6/_old 2018-08-02 14:48:11.319256268 +0200
+++ /var/tmp/diff_new_pack.nMdKi6/_new 2018-08-02 14:48:11.323256275 +0200
@@ -21,7 +21,7 @@
%define libopenmpt_modplug libopenmpt_modplug1
%bcond_without mpg123
Name: libopenmpt
-Version: 0.3.9
+Version: 0.3.11
Release: 0
Summary: C++ and C library to decode tracker music files
License: BSD-3-Clause
++++++ libopenmpt-0.3.9+release.autotools.tar.gz -> libopenmpt-0.3.11+release.autotools.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/common/CompilerDetect.h new/libopenmpt-0.3.11+release.autotools/common/CompilerDetect.h
--- old/libopenmpt-0.3.9+release.autotools/common/CompilerDetect.h 2017-12-08 14:03:16.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/common/CompilerDetect.h 2018-04-29 10:32:32.000000000 +0200
@@ -61,7 +61,9 @@
#elif defined(_MSC_VER)
#define MPT_COMPILER_MSVC 1
-#if (_MSC_VER >= 1912)
+#if (_MSC_VER >= 1913)
+#define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2017,6)
+#elif (_MSC_VER >= 1912)
#define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2017,5)
#elif (_MSC_VER >= 1911)
#define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2017,3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/common/Logging.cpp new/libopenmpt-0.3.11+release.autotools/common/Logging.cpp
--- old/libopenmpt-0.3.9+release.autotools/common/Logging.cpp 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/common/Logging.cpp 2018-05-01 13:00:10.000000000 +0200
@@ -255,6 +255,7 @@
static uint32 ThreadIdGUI = 0;
static uint32 ThreadIdAudio = 0;
static uint32 ThreadIdNotify = 0;
+static uint32 ThreadIdWatchdir = 0;
void Enable(std::size_t numEntries)
{
@@ -379,6 +380,9 @@
} else if(entry.ThreadId == ThreadIdNotify)
{
f << " --Notify ";
+ } else if(entry.ThreadId == ThreadIdWatchdir)
+ {
+ f << " WatchDir ";
} else
{
f << " " << mpt::fmt::hex0<8>(entry.ThreadId) << " ";
@@ -406,7 +410,31 @@
case ThreadKindNotify:
ThreadIdNotify = id;
break;
+ case ThreadKindWatchdir:
+ ThreadIdWatchdir = id;
+ break;
+ }
+}
+
+uint32 GetThreadId(mpt::log::Trace::ThreadKind kind)
+{
+ uint32 result = 0;
+ switch(kind)
+ {
+ case ThreadKindGUI:
+ result = ThreadIdGUI;
+ break;
+ case ThreadKindAudio:
+ result = ThreadIdAudio;
+ break;
+ case ThreadKindNotify:
+ result = ThreadIdNotify;
+ break;
+ case ThreadKindWatchdir:
+ result = ThreadIdWatchdir;
+ break;
}
+ return result;
}
#endif // MPT_OS_WINDOWS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/common/Logging.h new/libopenmpt-0.3.11+release.autotools/common/Logging.h
--- old/libopenmpt-0.3.9+release.autotools/common/Logging.h 2016-09-04 09:32:45.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/common/Logging.h 2018-05-01 13:00:10.000000000 +0200
@@ -235,12 +235,14 @@
ThreadKindGUI,
ThreadKindAudio,
ThreadKindNotify,
+ ThreadKindWatchdir,
};
void Enable(std::size_t numEntries);
void Disable();
void SetThreadId(mpt::log::Trace::ThreadKind kind, uint32 id);
+uint32 GetThreadId(mpt::log::Trace::ThreadKind kind);
void Seal();
bool Dump(const mpt::PathString &filename);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/common/mptRandom.cpp new/libopenmpt-0.3.11+release.autotools/common/mptRandom.cpp
--- old/libopenmpt-0.3.9+release.autotools/common/mptRandom.cpp 2017-04-27 09:27:15.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/common/mptRandom.cpp 2018-04-29 10:51:09.000000000 +0200
@@ -305,7 +305,7 @@
mpt::thread_safe_prng<mpt::best_prng> & global_prng()
{
- static mpt::thread_safe_prng<mpt::best_prng> g_best_prng(global_random_device());
+ static mpt::thread_safe_prng<mpt::best_prng> g_best_prng(mpt::make_prng<mpt::best_prng>(global_random_device()));
return g_best_prng;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/common/versionNumber.h new/libopenmpt-0.3.11+release.autotools/common/versionNumber.h
--- old/libopenmpt-0.3.9+release.autotools/common/versionNumber.h 2018-04-29 08:03:48.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/common/versionNumber.h 2018-07-28 12:51:57.000000000 +0200
@@ -18,8 +18,8 @@
//Version definitions. The only thing that needs to be changed when changing version number.
#define VER_MAJORMAJOR 1
#define VER_MAJOR 27
-#define VER_MINOR 07
-#define VER_MINORMINOR 02
+#define VER_MINOR 09
+#define VER_MINORMINOR 00
//Version string. For example "1.17.02.28"
#define MPT_VERSION_STR VER_STRINGIZE(VER_MAJORMAJOR) "." VER_STRINGIZE(VER_MAJOR) "." VER_STRINGIZE(VER_MINOR) "." VER_STRINGIZE(VER_MINORMINOR)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/configure new/libopenmpt-0.3.11+release.autotools/configure
--- old/libopenmpt-0.3.9+release.autotools/configure 2018-04-29 08:12:57.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/configure 2018-07-28 13:57:41.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libopenmpt 0.3.9+release.autotools.
+# Generated by GNU Autoconf 2.69 for libopenmpt 0.3.11+release.autotools.
#
# Report bugs to <https://bugs.openmpt.org/>.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='libopenmpt'
PACKAGE_TARNAME='libopenmpt'
-PACKAGE_VERSION='0.3.9+release.autotools'
-PACKAGE_STRING='libopenmpt 0.3.9+release.autotools'
+PACKAGE_VERSION='0.3.11+release.autotools'
+PACKAGE_STRING='libopenmpt 0.3.11+release.autotools'
PACKAGE_BUGREPORT='https://bugs.openmpt.org/'
PACKAGE_URL='https://lib.openmpt.org/'
@@ -1482,7 +1482,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libopenmpt 0.3.9+release.autotools to adapt to many kinds of systems.
+\`configure' configures libopenmpt 0.3.11+release.autotools to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1553,7 +1553,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libopenmpt 0.3.9+release.autotools:";;
+ short | recursive ) echo "Configuration of libopenmpt 0.3.11+release.autotools:";;
esac
cat <<\_ACEOF
@@ -1752,7 +1752,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libopenmpt configure 0.3.9+release.autotools
+libopenmpt configure 0.3.11+release.autotools
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2151,7 +2151,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libopenmpt $as_me 0.3.9+release.autotools, which was
+It was created by libopenmpt $as_me 0.3.11+release.autotools, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3022,7 +3022,7 @@
# Define the identity of the package.
PACKAGE='libopenmpt'
- VERSION='0.3.9+release.autotools'
+ VERSION='0.3.11+release.autotools'
cat >>confdefs.h <<_ACEOF
@@ -17186,13 +17186,13 @@
-$as_echo "#define MPT_SVNURL \"https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.3.9\"" >>confdefs.h
+$as_echo "#define MPT_SVNURL \"https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.3.11\"" >>confdefs.h
-$as_echo "#define MPT_SVNVERSION \"10169\"" >>confdefs.h
+$as_echo "#define MPT_SVNVERSION \"10633\"" >>confdefs.h
-$as_echo "#define MPT_SVNDATE \"2018-04-29T06:08:50.600539Z\"" >>confdefs.h
+$as_echo "#define MPT_SVNDATE \"2018-07-28T11:50:00.062292Z\"" >>confdefs.h
$as_echo "#define MPT_PACKAGE true" >>confdefs.h
@@ -22366,7 +22366,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libopenmpt $as_me 0.3.9+release.autotools, which was
+This file was extended by libopenmpt $as_me 0.3.11+release.autotools, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -22433,7 +22433,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libopenmpt config.status 0.3.9+release.autotools
+libopenmpt config.status 0.3.11+release.autotools
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/configure.ac new/libopenmpt-0.3.11+release.autotools/configure.ac
--- old/libopenmpt-0.3.9+release.autotools/configure.ac 2018-04-29 08:12:46.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/configure.ac 2018-07-28 13:57:30.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([libopenmpt], [0.3.9+release.autotools], [https://bugs.openmpt.org/] [libopenmpt], [https://lib.openmpt.org/]
+AC_INIT([libopenmpt], [0.3.11+release.autotools], [https://bugs.openmpt.org/] [libopenmpt], [https://lib.openmpt.org/]
AC_PREREQ([2.68])
AC_CONFIG_MACRO_DIR([m4])
@@ -27,9 +27,9 @@
AC_SUBST([LIBOPENMPT_LTVER_REVISION])
AC_SUBST([LIBOPENMPT_LTVER_AGE])
-AC_DEFINE([MPT_SVNURL], ["https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.3.9"], [svn version])
-AC_DEFINE([MPT_SVNVERSION], ["10169"], [svn version])
-AC_DEFINE([MPT_SVNDATE], ["2018-04-29T06:08:50.600539Z"], [svn date])
+AC_DEFINE([MPT_SVNURL], ["https://source.openmpt.org/svn/openmpt/tags/libopenmpt-0.3.11"], [svn version])
+AC_DEFINE([MPT_SVNVERSION], ["10633"], [svn version])
+AC_DEFINE([MPT_SVNDATE], ["2018-07-28T11:50:00.062292Z"], [svn date])
AC_DEFINE([MPT_PACKAGE], [true], [is package])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/libopenmpt/dox/changelog.md new/libopenmpt-0.3.11+release.autotools/libopenmpt/dox/changelog.md
--- old/libopenmpt-0.3.9+release.autotools/libopenmpt/dox/changelog.md 2018-04-29 08:08:21.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/libopenmpt/dox/changelog.md 2018-07-28 13:48:29.000000000 +0200
@@ -5,6 +5,25 @@
For fully detailed change log, please see the source repository directly. This
is just a high-level summary.
+### libopenmpt 0.3.11 (2018-07-28)
+
+ * [**Sec**] Crash with some malformed custom tunings in MPTM files (r10615).
+
+ * Channels whose volume envelope was playing at volume 0 while being moved to
+ a NNA background channel were cut off completely since libopenmpt 0.3.8.
+ * AMF (ASYLUM): Convert 7-bit panning to 8-bit panning for playback.
+
+### libopenmpt 0.3.10 (2018-06-17)
+
+ * [**Bug**] Internal mixer state was not initialized properly when initially
+ rendering in 44100kHz stereo format.
+ * [**Bug**] AMF: Undefined behaviour in loader code could lead to files
+ playing silent.
+
+ * Switching between instruments with portamento did not update the NNA
+ settings for the new instrument.
+ * FAR: Properly import volume commands.
+
### libopenmpt 0.3.9 (2018-04-29)
* [**Sec**] Possible write near address 0 in out-of-memory situations when
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_c.cpp new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_c.cpp
--- old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_c.cpp 2017-11-10 09:28:03.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_c.cpp 2018-07-05 14:24:48.000000000 +0200
@@ -66,7 +66,7 @@
class invalid_module_pointer : public openmpt::exception {
public:
- invalid_module_pointer() throw()
+ invalid_module_pointer()
: openmpt::exception("module * not valid")
{
return;
@@ -78,7 +78,7 @@
class argument_null_pointer : public openmpt::exception {
public:
- argument_null_pointer() throw()
+ argument_null_pointer()
: openmpt::exception("argument null pointer")
{
return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_impl.cpp new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_impl.cpp
--- old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_impl.cpp 2017-12-15 17:58:58.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_impl.cpp 2018-05-30 17:14:01.000000000 +0200
@@ -415,11 +415,14 @@
mixersettings.SetVolumeRampUpMicroseconds( volrampin_us );
mixersettings.SetVolumeRampDownMicroseconds( volrampout_us );
m_sndFile->SetMixerSettings( mixersettings );
+ } else if ( !m_mixer_initialized ) {
+ m_sndFile->InitPlayer( true );
}
if ( samplerate_changed ) {
m_sndFile->SuspendPlugins();
m_sndFile->ResumePlugins();
}
+ m_mixer_initialized = true;
}
void module_impl::apply_libopenmpt_defaults() {
set_render_param( module::RENDER_STEREOSEPARATION_PERCENT, 100 );
@@ -447,6 +450,7 @@
void module_impl::ctor( const std::map< std::string, std::string > & ctls ) {
m_sndFile = mpt::make_unique<CSoundFile>();
m_loaded = false;
+ m_mixer_initialized = false;
m_Dither = mpt::make_unique<Dither>(mpt::global_prng());
m_LogForwarder = mpt::make_unique<log_forwarder>( *m_Log );
m_sndFile->SetCustomLog( m_LogForwarder.get() );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_impl.hpp new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_impl.hpp
--- old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_impl.hpp 2017-09-18 14:00:33.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_impl.hpp 2018-05-30 17:14:01.000000000 +0200
@@ -87,6 +87,7 @@
double m_currentPositionSeconds;
std::unique_ptr<OpenMPT::CSoundFile> m_sndFile;
bool m_loaded;
+ bool m_mixer_initialized;
std::unique_ptr<OpenMPT::Dither> m_Dither;
subsongs_type m_subsongs;
float m_Gain;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_version.h new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_version.h
--- old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_version.h 2018-04-29 08:08:21.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_version.h 2018-07-28 13:48:29.000000000 +0200
@@ -19,7 +19,7 @@
/*! \brief libopenmpt minor version number */
#define OPENMPT_API_VERSION_MINOR 3
/*! \brief libopenmpt patch version number */
-#define OPENMPT_API_VERSION_PATCH 9
+#define OPENMPT_API_VERSION_PATCH 11
/*! \brief libopenmpt pre-release tag */
#define OPENMPT_API_VERSION_PREREL ""
/*! \brief libopenmpt pre-release flag */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_version.mk new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_version.mk
--- old/libopenmpt-0.3.9+release.autotools/libopenmpt/libopenmpt_version.mk 2018-04-29 08:08:21.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/libopenmpt/libopenmpt_version.mk 2018-07-28 13:48:29.000000000 +0200
@@ -1,8 +1,8 @@
LIBOPENMPT_VERSION_MAJOR=0
LIBOPENMPT_VERSION_MINOR=3
-LIBOPENMPT_VERSION_PATCH=9
+LIBOPENMPT_VERSION_PATCH=11
LIBOPENMPT_VERSION_PREREL=
LIBOPENMPT_LTVER_CURRENT=1
-LIBOPENMPT_LTVER_REVISION=9
+LIBOPENMPT_LTVER_REVISION=11
LIBOPENMPT_LTVER_AGE=1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/man/openmpt123.1 new/libopenmpt-0.3.11+release.autotools/man/openmpt123.1
--- old/libopenmpt-0.3.9+release.autotools/man/openmpt123.1 2018-04-29 08:12:46.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/man/openmpt123.1 2018-07-28 13:57:30.000000000 +0200
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
-.TH OPENMPT123 "1" "April 2018" "openmpt123 v0.3.9" "User Commands"
+.TH OPENMPT123 "1" "July 2018" "openmpt123 v0.3.11" "User Commands"
.SH NAME
openmpt123 - command line module music player based on libopenmpt
.SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123.cpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123.cpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123.cpp 2018-04-23 19:20:15.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123.cpp 2018-07-05 14:26:31.000000000 +0200
@@ -99,35 +99,35 @@
namespace openmpt123 {
struct silent_exit_exception : public std::exception {
- silent_exit_exception() throw() { }
+ silent_exit_exception() { }
};
struct show_license_exception : public std::exception {
- show_license_exception() throw() { }
+ show_license_exception() { }
};
struct show_credits_exception : public std::exception {
- show_credits_exception() throw() { }
+ show_credits_exception() { }
};
struct show_man_version_exception : public std::exception {
- show_man_version_exception() throw() { }
+ show_man_version_exception() { }
};
struct show_man_help_exception : public std::exception {
- show_man_help_exception() throw() { }
+ show_man_help_exception() { }
};
struct show_short_version_number_exception : public std::exception {
- show_short_version_number_exception() throw() { }
+ show_short_version_number_exception() { }
};
struct show_version_number_exception : public std::exception {
- show_version_number_exception() throw() { }
+ show_version_number_exception() { }
};
struct show_long_version_number_exception : public std::exception {
- show_long_version_number_exception() throw() { }
+ show_long_version_number_exception() { }
};
bool IsTerminal( int fd ) {
@@ -888,10 +888,16 @@
};
static std::string channel_to_string( int channels, int channel, const meter_channel & meter, bool tiny = false ) {
- float db = 20.0f * std::log10( meter.peak );
- float db_hold = 20.0f * std::log10( meter.hold );
- int val = static_cast<int>( db + 48.0f );
- int hold_pos = static_cast<int>( db_hold + 48.0f );
+ int val = std::numeric_limits<int>::min();
+ int hold_pos = std::numeric_limits<int>::min();
+ if ( meter.peak > 0.0f ) {
+ float db = 20.0f * std::log10( meter.peak );
+ val = static_cast<int>( db + 48.0f );
+ }
+ if ( meter.hold > 0.0f ) {
+ float db_hold = 20.0f * std::log10( meter.hold );
+ hold_pos = static_cast<int>( db_hold + 48.0f );
+ }
if ( val < 0 ) {
val = 0;
}
@@ -911,13 +917,13 @@
headroom = 0;
}
if ( tiny ) {
- if ( meter.clip != 0.0f || db >= 0.0f ) {
+ if ( meter.clip != 0.0f || meter.peak >= 1.0f ) {
return "#";
- } else if ( db > -6.0f ) {
+ } else if ( meter.peak > std::pow( 10.0f, -6.0f / 20.0f ) ) {
return "O";
- } else if ( db > -12.0f ) {
+ } else if ( meter.peak > std::pow( 10.0f, -12.0f / 20.0f ) ) {
return "o";
- } else if ( db > -18.0f ) {
+ } else if ( meter.peak > std::pow( 10.0f, -18.0f / 20.0f ) ) {
return ".";
} else {
return " ";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123.hpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123.hpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123.hpp 2017-11-01 18:38:35.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123.hpp 2018-07-05 14:25:37.000000000 +0200
@@ -15,7 +15,7 @@
namespace openmpt123 {
struct exception : public openmpt::exception {
- exception( const std::string & text ) throw() : openmpt::exception(text) { }
+ exception( const std::string & text ) : openmpt::exception(text) { }
};
struct show_help_exception {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_portaudio.hpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_portaudio.hpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_portaudio.hpp 2016-09-02 20:04:54.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_portaudio.hpp 2018-07-05 14:25:37.000000000 +0200
@@ -20,7 +20,7 @@
namespace openmpt123 {
struct portaudio_exception : public exception {
- portaudio_exception( PaError code ) throw() : exception( Pa_GetErrorText( code ) ) { }
+ portaudio_exception( PaError code ) : exception( Pa_GetErrorText( code ) ) { }
};
typedef void (*PaUtilLogCallback ) (const char *log);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_pulseaudio.hpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_pulseaudio.hpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_pulseaudio.hpp 2016-09-03 22:07:36.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_pulseaudio.hpp 2018-07-05 14:25:37.000000000 +0200
@@ -42,7 +42,7 @@
return std::string();
}
}
- pulseaudio_exception( int error ) throw() : exception( error_to_string( error ) ) { }
+ pulseaudio_exception( int error ) : exception( error_to_string( error ) ) { }
};
class pulseaudio_stream_raii : public write_buffers_interface {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_sdl.hpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_sdl.hpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_sdl.hpp 2015-05-22 21:02:20.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_sdl.hpp 2018-07-05 14:25:37.000000000 +0200
@@ -26,7 +26,7 @@
namespace openmpt123 {
struct sdl_exception : public exception {
- sdl_exception( int /*code*/ ) throw() : exception( "SDL error" ) { }
+ sdl_exception( int /*code*/ ) : exception( "SDL error" ) { }
};
class sdl_stream_raii : public write_buffers_blocking_wrapper {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_sdl2.hpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_sdl2.hpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_sdl2.hpp 2016-03-24 15:09:51.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_sdl2.hpp 2018-07-05 14:25:37.000000000 +0200
@@ -26,7 +26,7 @@
namespace openmpt123 {
struct sdl2_exception : public exception {
- sdl2_exception( int /*code*/ ) throw() : exception( "SDL2 error" ) { }
+ sdl2_exception( int /*code*/ ) : exception( "SDL2 error" ) { }
};
static void check_sdl2_error( int e ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_waveout.hpp new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_waveout.hpp
--- old/libopenmpt-0.3.9+release.autotools/openmpt123/openmpt123_waveout.hpp 2016-09-02 20:04:54.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/openmpt123/openmpt123_waveout.hpp 2018-07-05 14:25:37.000000000 +0200
@@ -18,7 +18,7 @@
namespace openmpt123 {
struct waveout_exception : public exception {
- waveout_exception() throw() : exception( "waveout" ) { }
+ waveout_exception() : exception( "waveout" ) { }
};
class waveout_stream_raii : public write_buffers_interface {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/sounddsp/Reverb.cpp new/libopenmpt-0.3.11+release.autotools/sounddsp/Reverb.cpp
--- old/libopenmpt-0.3.9+release.autotools/sounddsp/Reverb.cpp 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/sounddsp/Reverb.cpp 2018-05-30 11:35:08.000000000 +0200
@@ -64,6 +64,8 @@
CReverb::CReverb()
{
+ m_currentPreset = nullptr;
+
// Shared reverb state
InitMixBuffer(MixReverbBuffer, static_cast<uint32>(mpt::size(MixReverbBuffer)));
gnRvbROfsVol = 0;
@@ -326,18 +328,17 @@
void CReverb::Initialize(bool bReset, uint32 MixingFreq)
{
if (m_Settings.m_nReverbType >= NUM_REVERBTYPES) m_Settings.m_nReverbType = 0;
- static SNDMIX_REVERB_PROPERTIES *spCurrentPreset = nullptr;
- SNDMIX_REVERB_PROPERTIES *pRvbPreset = &gRvbPresets[m_Settings.m_nReverbType].Preset;
+ const SNDMIX_REVERB_PROPERTIES *rvbPreset = &gRvbPresets[m_Settings.m_nReverbType].Preset;
- if ((pRvbPreset != spCurrentPreset) || (bReset))
+ if ((rvbPreset != m_currentPreset) || (bReset))
{
// Reverb output frequency is half of the dry output rate
float flOutputFrequency = (float)MixingFreq;
EnvironmentReverb rvb;
// Reset reverb parameters
- spCurrentPreset = pRvbPreset;
- I3dl2_to_Generic(pRvbPreset, &rvb, flOutputFrequency,
+ m_currentPreset = rvbPreset;
+ I3dl2_to_Generic(rvbPreset, &rvb, flOutputFrequency,
RVBMINREFDELAY, RVBMAXREFDELAY,
RVBMINRVBDELAY, RVBMAXRVBDELAY,
( RVBDIF1L_LEN + RVBDIF1R_LEN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/sounddsp/Reverb.h new/libopenmpt-0.3.11+release.autotools/sounddsp/Reverb.h
--- old/libopenmpt-0.3.9+release.autotools/sounddsp/Reverb.h 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/sounddsp/Reverb.h 2018-05-30 11:35:08.000000000 +0200
@@ -59,6 +59,8 @@
LR16 RefOut[SNDMIX_REVERB_DELAY_MASK + 1]; // stereo output of reflections
};
+struct SNDMIX_REVERB_PROPERTIES;
+
// Late reverberation
// Tank diffusers lengths
@@ -145,6 +147,7 @@
mixsample_t gnRvbROfsVol, gnRvbLOfsVol;
private:
+ const SNDMIX_REVERB_PROPERTIES *m_currentPreset;
uint32 gnReverbSend;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/AudioReadTarget.h new/libopenmpt-0.3.11+release.autotools/soundlib/AudioReadTarget.h
--- old/libopenmpt-0.3.9+release.autotools/soundlib/AudioReadTarget.h 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/AudioReadTarget.h 2018-07-16 13:11:25.000000000 +0200
@@ -8,6 +8,8 @@
*/
+#pragma once
+
#include "Sndfile.h"
#include "Dither.h"
#include "../soundbase/SampleFormat.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/Load_amf.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/Load_amf.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/Load_amf.cpp 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/Load_amf.cpp 2018-07-27 23:56:44.000000000 +0200
@@ -137,6 +137,7 @@
InitializeGlobals(MOD_TYPE_AMF0);
InitializeChannels();
+ SetupMODPanning(true);
m_nChannels = 8;
m_nDefaultSpeed = fileHeader.defaultSpeed;
m_nDefaultTempo.Set(fileHeader.defaultTempo);
@@ -185,6 +186,13 @@
m.command = data[2];
m.param = data[3];
ConvertModCommand(m);
+#ifdef MODPLUG_TRACKER
+ if(m.command == CMD_PANNING8)
+ {
+ // Convert 7-bit panning to 8-bit
+ m.param = mpt::saturate_cast<ModCommand::PARAM>(m.param * 2u);
+ }
+#endif
}
}
@@ -574,8 +582,9 @@
for(uint16 i = 0; i < trackCount; i++)
{
// Track size is a 24-Bit value describing the number of byte triplets in this track.
- uint32 trackSize = file.ReadUint16LE() | (file.ReadUint8() << 16);
- trackData[i] = file.ReadChunk(trackSize * 3);
+ uint8 trackSize[3];
+ file.ReadArray(trackSize);
+ trackData[i] = file.ReadChunk((trackSize[0] | (trackSize[1] << 8) | (trackSize[2] << 16)) * 3);
}
if(loadFlags & loadSampleData)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/Load_far.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/Load_far.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/Load_far.cpp 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/Load_far.cpp 2018-05-06 16:48:53.000000000 +0200
@@ -234,7 +234,7 @@
continue;
}
- // Read break row and unused value
+ // Read break row and unused value (used to be pattern tempo)
ROWINDEX breakRow = patternChunk.ReadUint8();
patternChunk.Skip(1);
if(breakRow > 0 && breakRow < numRows - 2)
@@ -262,10 +262,10 @@
m.instr = data[1] + 1;
}
- if(data[2] & 0x0F)
+ if(m.note != NOTE_NONE || data[2] > 0)
{
m.volcmd = VOLCMD_VOLUME;
- m.vol = (data[2] & 0x0F) << 2;
+ m.vol = (Clamp(data[2], uint8(1), uint8(16)) - 1u) * 4u;
}
m.param = data[3] & 0x0F;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/Load_mid.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/Load_mid.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/Load_mid.cpp 2018-02-27 14:02:53.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/Load_mid.cpp 2018-05-19 13:36:18.000000000 +0200
@@ -1083,7 +1083,7 @@
chn = 9;
else if(chn < 10)
chn--;
- drumChns.set(chn, xg[7] != 0);
+ drumChns.set(chn, sysex.ReadUint8() != 0);
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/Load_psm.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/Load_psm.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/Load_psm.cpp 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/Load_psm.cpp 2018-06-13 07:45:57.000000000 +0200
@@ -435,11 +435,15 @@
// Output of PLAY.EXE: "SMapTabl from pos 0 to pos -1 starting at 0 and adding 1 to it each time"
// It appears that this maps e.g. what is "I0" in the file to sample 1.
// If we were being fancy, we could implement this, but in practice it won't matter.
- if (subChunk.ReadUint8() != 0x00 || subChunk.ReadUint8() != 0xFF || // "0 to -1" (does not seem to do anything)
- subChunk.ReadUint8() != 0x00 || subChunk.ReadUint8() != 0x00 || // "at 0" (actually this appears to be the adding part - changing this to 0x01 0x00 offsets all samples by 1)
- subChunk.ReadUint8() != 0x01 || subChunk.ReadUint8() != 0x00) // "adding 1" (does not seem to do anything)
{
- return false;
+ uint8 mapTable[6];
+ if(!subChunk.ReadArray(mapTable)
+ || mapTable[0] != 0x00 || mapTable[1] != 0xFF // "0 to -1" (does not seem to do anything)
+ || mapTable[2] != 0x00 || mapTable[3] != 0x00 // "at 0" (actually this appears to be the adding part - changing this to 0x01 0x00 offsets all samples by 1)
+ || mapTable[4] != 0x01 || mapTable[5] != 0x00) // "adding 1" (does not seem to do anything)
+ {
+ return false;
+ }
}
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/Load_s3m.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/Load_s3m.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/Load_s3m.cpp 2018-03-20 17:42:08.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/Load_s3m.cpp 2018-06-09 21:43:31.000000000 +0200
@@ -439,7 +439,7 @@
if(hasAdlibPatches)
{
- AddToLog("This track uses Adlib instruments, which are not supported by OpenMPT.");
+ AddToLog("This track uses Adlib instruments, which are not supported by this version of OpenMPT.");
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/OggStream.h new/libopenmpt-0.3.11+release.autotools/soundlib/OggStream.h
--- old/libopenmpt-0.3.9+release.autotools/soundlib/OggStream.h 2017-04-03 15:20:34.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/OggStream.h 2018-07-16 13:11:25.000000000 +0200
@@ -8,6 +8,8 @@
*/
+#pragma once
+
#include "../common/Endianness.h"
#include "../common/mptIO.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/SampleFormatMediaFoundation.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/SampleFormatMediaFoundation.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/SampleFormatMediaFoundation.cpp 2017-09-24 09:24:38.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/SampleFormatMediaFoundation.cpp 2018-05-08 20:16:23.000000000 +0200
@@ -454,6 +454,12 @@
result = true;
+ if(!mo3Decode)
+ {
+ Samples[sample].Convert(MOD_TYPE_IT, GetType());
+ Samples[sample].PrecomputeLoops(*this, false);
+ }
+
fail:
mptMFSafeRelease(&buffer);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/SampleFormats.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/SampleFormats.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/SampleFormats.cpp 2018-04-19 18:03:50.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/SampleFormats.cpp 2018-05-26 19:38:45.000000000 +0200
@@ -254,7 +254,7 @@
}
#ifdef MODPLUG_TRACKER
- if(!strcmp(pIns->filename, "") && srcSong.GetpModDoc() != nullptr)
+ if(!strcmp(pIns->filename, "") && srcSong.GetpModDoc() != nullptr && &srcSong != this)
{
mpt::String::Copy(pIns->filename, srcSong.GetpModDoc()->GetPathNameMpt().GetFullFileName().ToLocale());
}
@@ -307,7 +307,7 @@
}
#ifdef MODPLUG_TRACKER
- if(!strcmp(targetSmp.filename, "") && srcSong.GetpModDoc() != nullptr)
+ if(!strcmp(targetSmp.filename, "") && srcSong.GetpModDoc() != nullptr && &srcSong != this)
{
mpt::String::Copy(targetSmp.filename, mpt::ToCharset(GetCharsetInternal(), srcSong.GetpModDoc()->GetTitle()));
}
@@ -446,7 +446,11 @@
} else if(wavFile.GetSampleFormat() == WAVFormatChunk::fmtMP3)
{
// MP3 in WAV
- return ReadMP3Sample(nSample, sampleChunk, true) || ReadMediaFoundationSample(nSample, sampleChunk, true);
+ bool loadedMP3 = ReadMP3Sample(nSample, sampleChunk, true) || ReadMediaFoundationSample(nSample, sampleChunk, true);
+ if(!loadedMP3)
+ {
+ return false;
+ }
} else if(!wavFile.IsExtensibleFormat() && wavFile.MayBeCoolEdit16_8() && wavFile.GetSampleFormat() == WAVFormatChunk::fmtPCM && wavFile.GetBitsPerSample() == 32 && wavFile.GetBlockAlign() == wavFile.GetNumChannels() * 4)
{
// Syntrillium Cool Edit hack to store IEEE 32bit floating point
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/Snd_fx.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/Snd_fx.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/Snd_fx.cpp 2018-04-07 18:05:43.000000000 +0200
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/Snd_fx.cpp 2018-07-27 23:56:44.000000000 +0200
@@ -1416,7 +1416,7 @@
pChn->nNewIns = 0;
// IT Compatiblity: NNA is reset on every note change, not every instrument change (fixes s7xinsnum.it).
- if (pIns && ((!m_playBehaviour[kITNNAReset] && pSmp) || pIns->nMixPlug))
+ if (pIns && ((!m_playBehaviour[kITNNAReset] && pSmp) || pIns->nMixPlug || instrumentChanged))
pChn->nNNA = pIns->nNNA;
// Update volume
@@ -2177,11 +2177,11 @@
IMixPlugin *pPlugin = nullptr;
if(srcChn.HasMIDIOutput() && ModCommand::IsNote(srcChn.nNote)) // instro sends to a midi chan
{
- PLUGINDEX nPlugin = GetBestPlugin(nChn, PrioritiseInstrument, RespectMutes);
+ PLUGINDEX plugin = GetBestPlugin(nChn, PrioritiseInstrument, RespectMutes);
- if(nPlugin > 0 && nPlugin <= MAX_MIXPLUGINS)
+ if(plugin > 0 && plugin <= MAX_MIXPLUGINS)
{
- pPlugin = m_MixPlugins[nPlugin-1].pMixPlugin;
+ pPlugin = m_MixPlugins[plugin - 1].pMixPlugin;
if(pPlugin)
{
// apply NNA to this plugin iff it is currently playing a note on this tracker channel
@@ -2193,7 +2193,7 @@
#endif // NO_PLUGINS
// New Note Action
- if((srcChn.nRealVolume > 0 && srcChn.nLength > 0) || applyNNAtoPlug)
+ if(srcChn.IsSamplePlaying() || applyNNAtoPlug)
{
nnaChn = GetNNAChannel(nChn);
if(nnaChn != 0)
@@ -2209,16 +2209,12 @@
#ifndef NO_PLUGINS
if(applyNNAtoPlug && pPlugin)
{
- //Move note to the NNA channel (odd, but makes sense with DNA stuff).
- //Actually a bad idea since it then become very hard to kill some notes.
- //pPlugin->MoveNote(pChn.nNote, pChn.pModInstrument->nMidiChannel, nChn, n);
switch(srcChn.nNNA)
{
case NNA_NOTEOFF:
case NNA_NOTECUT:
case NNA_NOTEFADE:
- //switch off note played on this plugin, on this tracker channel and midi channel
- //pPlugin->MidiCommand(pChn.pModInstrument->nMidiChannel, pChn.pModInstrument->nMidiProgram, pChn.nNote + NOTE_MAX_SPECIAL, 0, n);
+ // Switch off note played on this plugin, on this tracker channel and midi channel
SendMIDINote(nChn, NOTE_KEYOFF, 0);
srcChn.nArpeggioLastNote = NOTE_NONE;
break;
@@ -2300,8 +2296,8 @@
const bool isFirstTick = m_SongFlags[SONG_FIRSTTICK];
if(isFirstTick)
pChn->m_RowPlug = pChn->rowCommand.instr;
- const PLUGINDEX nPlug = pChn->m_RowPlug;
- const bool hasValidPlug = (nPlug > 0 && nPlug <= MAX_MIXPLUGINS && m_MixPlugins[nPlug-1].pMixPlugin);
+ const PLUGINDEX plugin = pChn->m_RowPlug;
+ const bool hasValidPlug = (plugin > 0 && plugin <= MAX_MIXPLUGINS && m_MixPlugins[plugin - 1].pMixPlugin);
if(hasValidPlug)
{
if(isFirstTick)
@@ -2311,14 +2307,14 @@
{
PlugParamValue targetvalue = ModCommand::GetValueEffectCol(pChn->rowCommand.command, pChn->rowCommand.param) / PlugParamValue(ModCommand::maxColumnValue);
pChn->m_plugParamTargetValue = targetvalue;
- pChn->m_plugParamValueStep = (targetvalue - m_MixPlugins[nPlug-1].pMixPlugin->GetParameter(plugparam)) / float(GetNumTicksOnCurrentRow());
+ pChn->m_plugParamValueStep = (targetvalue - m_MixPlugins[plugin-1].pMixPlugin->GetParameter(plugparam)) / float(GetNumTicksOnCurrentRow());
}
if(m_PlayState.m_nTickCount + 1 == GetNumTicksOnCurrentRow())
{ // On last tick, set parameter exactly to target value.
- m_MixPlugins[nPlug-1].pMixPlugin->SetParameter(plugparam, pChn->m_plugParamTargetValue);
+ m_MixPlugins[plugin - 1].pMixPlugin->SetParameter(plugparam, pChn->m_plugParamTargetValue);
}
else
- m_MixPlugins[nPlug-1].pMixPlugin->ModifyParameter(plugparam, pChn->m_plugParamValueStep);
+ m_MixPlugins[plugin - 1].pMixPlugin->ModifyParameter(plugparam, pChn->m_plugParamValueStep);
}
#endif // NO_PLUGINS
}
@@ -2778,7 +2774,7 @@
InstrumentChange(pChn, pChn->nNewIns, bPorta, false, !(GetType() & (MOD_TYPE_XM|MOD_TYPE_MT2)));
pChn->nNewIns = 0;
}
- NoteChange(pChn, note, bPorta, !(GetType() & (MOD_TYPE_XM|MOD_TYPE_MT2)));
+ NoteChange(pChn, note, bPorta, !(GetType() & (MOD_TYPE_XM | MOD_TYPE_MT2)));
if ((bPorta) && (GetType() & (MOD_TYPE_XM|MOD_TYPE_MT2)) && (instr))
{
pChn->dwFlags.set(CHN_FASTVOLRAMP);
@@ -4066,7 +4062,7 @@
pChn->nPan = param * 4;
} else
{
- if(!(GetType() & (MOD_TYPE_S3M | MOD_TYPE_DSM | MOD_TYPE_AMF | MOD_TYPE_MTM)))
+ if(!(GetType() & (MOD_TYPE_S3M | MOD_TYPE_DSM | MOD_TYPE_AMF0 | MOD_TYPE_AMF | MOD_TYPE_MTM)))
{
// Real 8-bit panning
pChn->nPan = param;
@@ -4936,16 +4932,16 @@
} else if(macroCode == 0x03 && !isExtended)
{
// F0.F0.03.xx: Set plug dry/wet
- const PLUGINDEX nPlug = (plugin != 0) ? plugin : GetBestPlugin(nChn, PrioritiseChannel, EvenIfMuted);
- if ((nPlug) && (nPlug <= MAX_MIXPLUGINS) && param < 0x80)
+ const PLUGINDEX plug = (plugin != 0) ? plugin : GetBestPlugin(nChn, PrioritiseChannel, EvenIfMuted);
+ if(plug > 0 && plug <= MAX_MIXPLUGINS && param < 0x80)
{
const float newRatio = 1.0f - (static_cast<float>(param & 0x7F) / 127.0f);
if(!isSmooth)
{
- m_MixPlugins[nPlug - 1].fDryRatio = newRatio;
+ m_MixPlugins[plug - 1].fDryRatio = newRatio;
} else
{
- m_MixPlugins[nPlug - 1].fDryRatio = CalculateSmoothParamChange(m_MixPlugins[nPlug - 1].fDryRatio, newRatio);
+ m_MixPlugins[plug - 1].fDryRatio = CalculateSmoothParamChange(m_MixPlugins[plug - 1].fDryRatio, newRatio);
}
}
@@ -4953,11 +4949,11 @@
} else if((macroCode & 0x80) || isExtended)
{
// F0.F0.{80|n}.xx / F0.F1.n.xx: Set VST effect parameter n to xx
- const PLUGINDEX nPlug = (plugin != 0) ? plugin : GetBestPlugin(nChn, PrioritiseChannel, EvenIfMuted);
+ const PLUGINDEX plug = (plugin != 0) ? plugin : GetBestPlugin(nChn, PrioritiseChannel, EvenIfMuted);
const uint32 plugParam = isExtended ? (0x80 + macroCode) : (macroCode & 0x7F);
- if((nPlug) && (nPlug <= MAX_MIXPLUGINS))
+ if(plug > 0 && plug <= MAX_MIXPLUGINS)
{
- IMixPlugin *pPlugin = m_MixPlugins[nPlug - 1].pMixPlugin;
+ IMixPlugin *pPlugin = m_MixPlugins[plug - 1].pMixPlugin;
if(pPlugin && param < 0x80)
{
const float fParam = param / 127.0f;
@@ -4984,15 +4980,15 @@
const CHANNELINDEX plugChannel = (nChn < GetNumChannels()) ? nChn + 1 : chn.nMasterChn;
if(plugChannel > 0 && plugChannel <= GetNumChannels()) // XXX do we need this? I guess it might be relevant for previewing notes in the pattern... Or when using this mechanism for volume/panning!
{
- PLUGINDEX nPlug = 0;
+ PLUGINDEX plug = 0;
if(!chn.dwFlags[CHN_NOFX])
{
- nPlug = (plugin != 0) ? plugin : GetBestPlugin(nChn, PrioritiseChannel, EvenIfMuted);
+ plug = (plugin != 0) ? plugin : GetBestPlugin(nChn, PrioritiseChannel, EvenIfMuted);
}
- if(nPlug > 0 && nPlug <= MAX_MIXPLUGINS)
+ if(plug > 0 && plug <= MAX_MIXPLUGINS)
{
- IMixPlugin *pPlugin = m_MixPlugins[nPlug - 1].pMixPlugin;
+ IMixPlugin *pPlugin = m_MixPlugins[plug - 1].pMixPlugin;
if (pPlugin != nullptr)
{
if(macro[0] == 0xF0)
@@ -5033,10 +5029,10 @@
// instro sends to a midi chan
if (pIns && pIns->HasValidMIDIChannel())
{
- PLUGINDEX nPlug = pIns->nMixPlug;
- if ((nPlug) && (nPlug <= MAX_MIXPLUGINS))
+ PLUGINDEX plug = pIns->nMixPlug;
+ if(plug > 0 && plug <= MAX_MIXPLUGINS)
{
- IMixPlugin *pPlug = m_MixPlugins[nPlug-1].pMixPlugin;
+ IMixPlugin *pPlug = m_MixPlugins[plug - 1].pMixPlugin;
if (pPlug != nullptr)
{
pPlug->MidiCommand(GetBestMidiChannel(chn), pIns->nMidiProgram, pIns->wMidiBank, note, volume, chn);
@@ -5771,32 +5767,32 @@
}
//Define search source order
- PLUGINDEX nPlugin = 0;
+ PLUGINDEX plugin = 0;
switch (priority)
{
case ChannelOnly:
- nPlugin = GetChannelPlugin(nChn, respectMutes);
+ plugin = GetChannelPlugin(nChn, respectMutes);
break;
case InstrumentOnly:
- nPlugin = GetActiveInstrumentPlugin(nChn, respectMutes);
+ plugin = GetActiveInstrumentPlugin(nChn, respectMutes);
break;
case PrioritiseInstrument:
- nPlugin = GetActiveInstrumentPlugin(nChn, respectMutes);
- if ((!nPlugin) || (nPlugin > MAX_MIXPLUGINS))
+ plugin = GetActiveInstrumentPlugin(nChn, respectMutes);
+ if(!plugin || plugin > MAX_MIXPLUGINS)
{
- nPlugin = GetChannelPlugin(nChn, respectMutes);
+ plugin = GetChannelPlugin(nChn, respectMutes);
}
break;
case PrioritiseChannel:
- nPlugin = GetChannelPlugin(nChn, respectMutes);
- if ((!nPlugin) || (nPlugin > MAX_MIXPLUGINS))
+ plugin = GetChannelPlugin(nChn, respectMutes);
+ if(!plugin || plugin > MAX_MIXPLUGINS)
{
- nPlugin = GetActiveInstrumentPlugin(nChn, respectMutes);
+ plugin = GetActiveInstrumentPlugin(nChn, respectMutes);
}
break;
}
- return nPlugin; // 0 Means no plugin found.
+ return plugin; // 0 Means no plugin found.
}
@@ -5804,10 +5800,10 @@
{
const ModChannel &channel = m_PlayState.Chn[nChn];
- PLUGINDEX nPlugin;
+ PLUGINDEX plugin;
if((respectMutes == RespectMutes && channel.dwFlags[CHN_MUTE]) || channel.dwFlags[CHN_NOFX])
{
- nPlugin = 0;
+ plugin = 0;
} else
{
// If it looks like this is an NNA channel, we need to find the master channel.
@@ -5820,13 +5816,13 @@
if(nChn < MAX_BASECHANNELS)
{
- nPlugin = ChnSettings[nChn].nMixPlugin;
+ plugin = ChnSettings[nChn].nMixPlugin;
} else
{
- nPlugin = 0;
+ plugin = 0;
}
}
- return nPlugin;
+ return plugin;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/soundlib/tuning.cpp new/libopenmpt-0.3.11+release.autotools/soundlib/tuning.cpp
--- old/libopenmpt-0.3.9+release.autotools/soundlib/tuning.cpp 2018-01-07 15:21:49.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/soundlib/tuning.cpp 2018-07-26 08:13:13.000000000 +0200
@@ -196,6 +196,10 @@
RATIOTYPE CTuningRTI::GetRatio(const NOTEINDEXTYPE& baseNote, const STEPINDEXTYPE& baseStepDiff) const
{
const STEPINDEXTYPE fsCount = static_cast<STEPINDEXTYPE>(GetFineStepCount());
+ if(fsCount < 0 || fsCount > FINESTEPCOUNT_MAX)
+ {
+ return s_DefaultFallbackRatio;
+ }
if(fsCount == 0 || baseStepDiff == 0)
{
return GetRatio(static_cast<NOTEINDEXTYPE>(baseNote + baseStepDiff));
@@ -222,8 +226,10 @@
RATIOTYPE CTuningRTI::GetRatioFine(const NOTEINDEXTYPE& note, USTEPINDEXTYPE sd) const
{
- if(GetFineStepCount() <= 0)
- return 1;
+ if(GetFineStepCount() <= 0 || GetFineStepCount() > static_cast<USTEPINDEXTYPE>(FINESTEPCOUNT_MAX))
+ {
+ return s_DefaultFallbackRatio;
+ }
//Neither of these should happen.
if(sd <= 0) sd = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libopenmpt-0.3.9+release.autotools/test/test.cpp new/libopenmpt-0.3.11+release.autotools/test/test.cpp
--- old/libopenmpt-0.3.9+release.autotools/test/test.cpp 2018-01-21 14:25:19.000000000 +0100
+++ new/libopenmpt-0.3.11+release.autotools/test/test.cpp 2018-07-26 15:32:08.000000000 +0200
@@ -1669,6 +1669,17 @@
VERIFY_EQUAL(Gregorian::FromTM(mpt::Date::Unix( 1413064016).AsUTC()), TestDate2( 56, 46, 21, 11, 10, 2014 ));
VERIFY_EQUAL(Gregorian::FromTM(mpt::Date::Unix( 1413064100).AsUTC()), TestDate2( 20, 48, 21, 11, 10, 2014 ));
+ // https://github.com/kripken/emscripten/issues/4251
+ #if MPT_OS_EMSCRIPTEN
+ volatile int transpose = 32;
+ volatile int finetune = 0;
+ float exp = (transpose * 128.0f + finetune) * (1.0f / (12.0f * 128.0f));
+ float f = ::powf(2.0f, exp);
+ double d = ::pow (2.0 , (double)exp);
+ VERIFY_EQUAL_EPS(d, 6.349605, 0.00001);
+ VERIFY_EQUAL_EPS(f, 6.349605, 0.00001);
+ #endif
+
}
1
0
Hello community,
here is the log from the commit of package gnome-builder for openSUSE:Factory checked in at 2018-08-02 14:47:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-builder (Old)
and /work/SRC/openSUSE:Factory/.gnome-builder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-builder"
Thu Aug 2 14:47:48 2018 rev:35 rq:625916 version:3.28.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-builder/gnome-builder.changes 2018-06-28 15:09:17.324047703 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-builder.new/gnome-builder.changes 2018-08-02 14:48:01.391237274 +0200
@@ -1,0 +2,21 @@
+Fri Jul 27 20:21:44 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 3.28.4:
+ + Improvements to C indenter.
+ + More safety improvements using IdeTask.
+ + Protections against pathological lines when parsing To-do's.
+ + To-do plugin now uses "git grep" when possible.
+ + Some guards against very large projects (Mesa, WebKit,
+ Chromium) were added. We still suggest disabling CTags on this
+ size of project.
+ + Diagnostics are re-processed after initial build pipeline
+ configure.
+ + Fix for loading a project based on a flatpak manifest
+ (gnome-builder -m).
+ + Fix for SSH authentication when no username is supplied.
+ + emacs-style modeline improvements on initial load of buffer.
+ + Cloning a project from a manifest will now detect some
+ situations where downloads can be avoided.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
gnome-builder-3.28.3.tar.xz
New:
----
gnome-builder-3.28.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-builder.spec ++++++
--- /var/tmp/diff_new_pack.E9Jgxx/_old 2018-08-02 14:48:03.527241360 +0200
+++ /var/tmp/diff_new_pack.E9Jgxx/_new 2018-08-02 14:48:03.531241368 +0200
@@ -17,7 +17,7 @@
Name: gnome-builder
-Version: 3.28.3
+Version: 3.28.4
Release: 0
Summary: A toolsmith for GNOME-based applications
License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND LGPL-2.1-or-later AND CC-BY-SA-3.0
++++++ gnome-builder-3.28.3.tar.xz -> gnome-builder-3.28.4.tar.xz ++++++
/work/SRC/openSUSE:Factory/gnome-builder/gnome-builder-3.28.3.tar.xz /work/SRC/openSUSE:Factory/.gnome-builder.new/gnome-builder-3.28.4.tar.xz differ: char 25, line 1
1
0
Hello community,
here is the log from the commit of package flatpak for openSUSE:Factory checked in at 2018-08-02 14:47:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flatpak (Old)
and /work/SRC/openSUSE:Factory/.flatpak.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "flatpak"
Thu Aug 2 14:47:41 2018 rev:20 rq:625914 version:0.11.8.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/flatpak/flatpak.changes 2018-06-26 10:33:06.724301628 +0200
+++ /work/SRC/openSUSE:Factory/.flatpak.new/flatpak.changes 2018-08-02 14:47:43.487203024 +0200
@@ -1,0 +2,9 @@
+Mon Jul 23 15:13:44 UTC 2018 - matthias.gerstner(a)suse.com
+
+- polkit_rules_usability.patch: Improve usability by allowing members of the
+ group 'wheel' to bypass polkit authentication checks when locally logged in
+ (bnc#984817). This adds a few polkit actions to the rules that are not
+ covered by upstream, because they are set to 'yes' for active users by
+ default. On SUSE we require 'auth_admin' for regular users, however.
+
+-------------------------------------------------------------------
New:
----
polkit_rules_usability.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ flatpak.spec ++++++
--- /var/tmp/diff_new_pack.LFL2qB/_old 2018-08-02 14:47:44.079204156 +0200
+++ /var/tmp/diff_new_pack.LFL2qB/_new 2018-08-02 14:47:44.083204163 +0200
@@ -25,6 +25,7 @@
Group: System/Packages
URL: https://flatpak.github.io/
Source: %{name}-%{version}.tar.xz
+Patch0: polkit_rules_usability.patch
BuildRequires: bison
BuildRequires: bubblewrap >= 0.2.1
BuildRequires: docbook-xsl-stylesheets
@@ -112,6 +113,7 @@
%prep
%setup -q
+%patch0 -p1
%build
NOCONFIGURE=1 ./autogen.sh
++++++ polkit_rules_usability.patch ++++++
Index: flatpak-0.11.8.3/system-helper/org.freedesktop.Flatpak.rules.in
===================================================================
--- flatpak-0.11.8.3.orig/system-helper/org.freedesktop.Flatpak.rules.in
+++ flatpak-0.11.8.3/system-helper/org.freedesktop.Flatpak.rules.in
@@ -3,7 +3,10 @@ polkit.addRule(function(action, subject)
action.id == "org.freedesktop.Flatpak.runtime-install"||
action.id == "org.freedesktop.Flatpak.app-uninstall" ||
action.id == "org.freedesktop.Flatpak.runtime-uninstall" ||
- action.id == "org.freedesktop.Flatpak.modify-repo") &&
+ action.id == "org.freedesktop.Flatpak.modify-repo" ||
+ action.id == "org.freedesktop.Flatpak.app-update" ||
+ action.id == "org.freedesktop.Flatpak.runtime-update" ||
+ action.id == "org.freedesktop.Flatpak.appstream-update") &&
subject.active == true && subject.local == true &&
subject.isInGroup("@privileged_group@")) {
return polkit.Result.YES;
1
0
Hello community,
here is the log from the commit of package permissions for openSUSE:Factory checked in at 2018-08-02 14:47:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/permissions (Old)
and /work/SRC/openSUSE:Factory/.permissions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "permissions"
Thu Aug 2 14:47:34 2018 rev:116 rq:625020 version:20180724
Changes:
--------
--- /work/SRC/openSUSE:Factory/permissions/permissions.changes 2018-05-13 15:53:17.260115750 +0200
+++ /work/SRC/openSUSE:Factory/.permissions.new/permissions.changes 2018-08-02 14:47:38.175192863 +0200
@@ -1,0 +2,7 @@
+Tue Jul 24 08:49:20 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Update to version 20180724:
+ * Fix wrong file path in help string
+ * whitelisting: add spice-gtk usb helper setuid binary (bnc#1101420)
+
+-------------------------------------------------------------------
Old:
----
permissions-20180508.tar.xz
New:
----
permissions-20180724.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ permissions.spec ++++++
--- /var/tmp/diff_new_pack.qTOlcY/_old 2018-08-02 14:47:38.755193972 +0200
+++ /var/tmp/diff_new_pack.qTOlcY/_new 2018-08-02 14:47:38.755193972 +0200
@@ -17,11 +17,11 @@
Name: permissions
-Version: 20180508
+Version: 20180724
Release: 0
Summary: SUSE Linux Default Permissions
# Maintained in github by the security team.
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Productivity/Security
Url: http://github.com/openSUSE/permissions
Source: permissions-%{version}.tar.xz
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.qTOlcY/_old 2018-08-02 14:47:38.787194033 +0200
+++ /var/tmp/diff_new_pack.qTOlcY/_new 2018-08-02 14:47:38.791194041 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/permissions.git</param>
- <param name="changesrevision">15dbfc119c74f7144cbdaea3632a6a2936fe94f4</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">888ecd1562f4a85dd37a131c52f4a5b132acd085</param></service></servicedata>
\ No newline at end of file
++++++ permissions-20180508.tar.xz -> permissions-20180724.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/permissions-20180508/chkstat.c new/permissions-20180724/chkstat.c
--- old/permissions-20180508/chkstat.c 2018-05-08 08:05:37.000000000 +0200
+++ new/permissions-20180724/chkstat.c 2018-07-24 10:28:19.000000000 +0200
@@ -429,7 +429,7 @@
" --noheader don't print intro message\n"
" --fscaps force use of fscaps\n"
" --no-fscaps disable use of fscaps\n"
-" --system system mode, act according to /etc/permissions/security\n"
+" --system system mode, act according to /etc/sysconfig/security\n"
" --level LEVEL force use LEVEL (only with --system)\n"
" --examine FILE apply to specified file only\n"
" --files FILELIST read list of files to apply from FILELIST\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/permissions-20180508/permissions.easy new/permissions-20180724/permissions.easy
--- old/permissions-20180508/permissions.easy 2018-05-08 08:05:37.000000000 +0200
+++ new/permissions-20180724/permissions.easy 2018-07-24 10:28:19.000000000 +0200
@@ -432,3 +432,5 @@
/usr/lib/usbauth-notifier root:usbauth-notifier 0750
/usr/lib/usbauth-notifier/usbauth-notifier root:usbauth 02755
+# spice-gtk (bsc#1101420)
+/usr/bin/spice-client-glib-usb-acl-helper root:kvm 04750
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/permissions-20180508/permissions.paranoid new/permissions-20180724/permissions.paranoid
--- old/permissions-20180508/permissions.paranoid 2018-05-08 08:05:37.000000000 +0200
+++ new/permissions-20180724/permissions.paranoid 2018-07-24 10:28:19.000000000 +0200
@@ -439,3 +439,5 @@
/usr/lib/usbauth-notifier root:usbauth-notifier 0750
/usr/lib/usbauth-notifier/usbauth-notifier root:usbauth 0755
+# spice-gtk (bsc#1101420)
+/usr/bin/spice-client-glib-usb-acl-helper root:kvm 0750
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/permissions-20180508/permissions.secure new/permissions-20180724/permissions.secure
--- old/permissions-20180508/permissions.secure 2018-05-08 08:05:37.000000000 +0200
+++ new/permissions-20180724/permissions.secure 2018-07-24 10:28:19.000000000 +0200
@@ -468,3 +468,5 @@
/usr/lib/usbauth-notifier root:usbauth-notifier 0750
/usr/lib/usbauth-notifier/usbauth-notifier root:usbauth 02755
+# spice-gtk (bsc#1101420)
+/usr/bin/spice-client-glib-usb-acl-helper root:kvm 04750
1
0
Hello community,
here is the log from the commit of package 000product for openSUSE:Factory checked in at 2018-08-01 06:52:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000product (Old)
and /work/SRC/openSUSE:Factory/.000product.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000product"
Wed Aug 1 06:52:55 2018 rev:405 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
_service:product_converter:openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi: same change
_service:product_converter:openSUSE-Addon-NonOss-release.spec: same change
_service:product_converter:openSUSE-Tumbleweed-Kubic-dvd5-dvd-x86_64.kiwi: same change
_service:product_converter:openSUSE-Tumbleweed-Kubic-release.spec: same change
_service:product_converter:openSUSE-cd-mini-i586.kiwi: same change
_service:product_converter:openSUSE-cd-mini-x86_64.kiwi: same change
_service:product_converter:openSUSE-dvd5-dvd-i586.kiwi: same change
_service:product_converter:openSUSE-dvd5-dvd-x86_64.kiwi: same change
_service:product_converter:openSUSE-ftp-ftp-i586_x86_64.kiwi: same change
++++++ _service:product_converter:openSUSE-release.spec ++++++
--- /var/tmp/diff_new_pack.pJ4ccf/_old 2018-08-01 06:53:19.047042097 +0200
+++ /var/tmp/diff_new_pack.pJ4ccf/_new 2018-08-01 06:53:19.067042133 +0200
@@ -14903,6 +14903,7 @@
Provides: weakremover(libdns165)
Provides: weakremover(libdns165-32bit)
Provides: weakremover(libdpdk-17_08-0)
+Provides: weakremover(libdruntime-ldc68)
Provides: weakremover(libdtkbase1-1)
Provides: weakremover(libdtkbase1-devel)
Provides: weakremover(libdtkutil1-1)
@@ -15118,6 +15119,7 @@
Provides: weakremover(libpetsc_3_7_6-gnu-openmpi1-hpc)
Provides: weakremover(libpgf6)
Provides: weakremover(libphobos2-0_77)
+Provides: weakremover(libphobos2-ldc68)
Provides: weakremover(libpodofo0_9_5)
Provides: weakremover(libpolkit-gtk-mate-1-0-32bit)
Provides: weakremover(libpoppler-qt4-4)
@@ -32363,6 +32365,7 @@
<obsoletepackage>libdns165</obsoletepackage>
<obsoletepackage>libdns165-32bit</obsoletepackage>
<obsoletepackage>libdpdk-17_08-0</obsoletepackage>
+ <obsoletepackage>libdruntime-ldc68</obsoletepackage>
<obsoletepackage>libdtkbase1-1</obsoletepackage>
<obsoletepackage>libdtkbase1-devel</obsoletepackage>
<obsoletepackage>libdtkutil1-1</obsoletepackage>
@@ -32578,6 +32581,7 @@
<obsoletepackage>libpetsc_3_7_6-gnu-openmpi1-hpc</obsoletepackage>
<obsoletepackage>libpgf6</obsoletepackage>
<obsoletepackage>libphobos2-0_77</obsoletepackage>
+ <obsoletepackage>libphobos2-ldc68</obsoletepackage>
<obsoletepackage>libpodofo0_9_5</obsoletepackage>
<obsoletepackage>libpolkit-gtk-mate-1-0-32bit</obsoletepackage>
<obsoletepackage>libpoppler-qt4-4</obsoletepackage>
openSUSE-release.spec: same change
++++++ obsoletepackages.inc ++++++
--- /var/tmp/diff_new_pack.pJ4ccf/_old 2018-08-01 06:53:19.251042467 +0200
+++ /var/tmp/diff_new_pack.pJ4ccf/_new 2018-08-01 06:53:19.251042467 +0200
@@ -14829,6 +14829,7 @@
<obsoletepackage>libdns165</obsoletepackage>
<obsoletepackage>libdns165-32bit</obsoletepackage>
<obsoletepackage>libdpdk-17_08-0</obsoletepackage>
+ <obsoletepackage>libdruntime-ldc68</obsoletepackage>
<obsoletepackage>libdtkbase1-1</obsoletepackage>
<obsoletepackage>libdtkbase1-devel</obsoletepackage>
<obsoletepackage>libdtkutil1-1</obsoletepackage>
@@ -15044,6 +15045,7 @@
<obsoletepackage>libpetsc_3_7_6-gnu-openmpi1-hpc</obsoletepackage>
<obsoletepackage>libpgf6</obsoletepackage>
<obsoletepackage>libphobos2-0_77</obsoletepackage>
+ <obsoletepackage>libphobos2-ldc68</obsoletepackage>
<obsoletepackage>libpodofo0_9_5</obsoletepackage>
<obsoletepackage>libpolkit-gtk-mate-1-0-32bit</obsoletepackage>
<obsoletepackage>libpoppler-qt4-4</obsoletepackage>
1
0
Hello community,
here is the log from the commit of package 000product for openSUSE:Factory checked in at 2018-08-01 05:51:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000product (Old)
and /work/SRC/openSUSE:Factory/.000product.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000product"
Wed Aug 1 05:51:00 2018 rev:404 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
_service:product_converter:openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi: same change
_service:product_converter:openSUSE-Addon-NonOss-release.spec: same change
_service:product_converter:openSUSE-Tumbleweed-Kubic-dvd5-dvd-x86_64.kiwi: same change
_service:product_converter:openSUSE-Tumbleweed-Kubic-release.spec: same change
_service:product_converter:openSUSE-cd-mini-i586.kiwi: same change
_service:product_converter:openSUSE-cd-mini-x86_64.kiwi: same change
++++++ _service:product_converter:openSUSE-dvd5-dvd-i586.kiwi ++++++
--- /var/tmp/diff_new_pack.G6OHHK/_old 2018-08-01 05:51:09.380285142 +0200
+++ /var/tmp/diff_new_pack.G6OHHK/_new 2018-08-01 05:51:09.384285149 +0200
@@ -112,6 +112,7 @@
<repopackage name="amarok" arch="i586,i686"/>
<repopackage name="amavisd-new" arch="i586,i686"/>
<repopackage name="amavisd-new-docs" arch="i586,i686"/>
+ <repopackage name="amtk-5-lang" arch="i586,i686"/>
<repopackage name="analitza" arch="i586,i686"/>
<repopackage name="analitza-lang" arch="i586,i686"/>
<repopackage name="anjuta" arch="i586,i686"/>
@@ -1520,6 +1521,7 @@
<repopackage name="libakonadi4" arch="i586,i686"/>
<repopackage name="libakonadiprotocolinternals1" arch="i586,i686"/>
<repopackage name="libamd2" arch="i586,i686"/>
+ <repopackage name="libamtk-5-0" arch="i586,i686"/>
<repopackage name="libAnalitza5" arch="i586,i686"/>
<repopackage name="libanjuta-3-0" arch="i586,i686"/>
<repopackage name="libao-plugins4" arch="i586,i686"/>
@@ -4405,6 +4407,7 @@
<repopackage name="ruby2.5-rubygem-mustermann" arch="i586,i686"/>
<repopackage name="ruby2.5-rubygem-mustermann-grape" arch="i586,i686"/>
<repopackage name="ruby2.5-rubygem-mysql2" arch="i586,i686"/>
+ <repopackage name="ruby2.5-rubygem-mysql2-0.4" arch="i586,i686"/>
<repopackage name="ruby2.5-rubygem-net-scp" arch="i586,i686"/>
<repopackage name="ruby2.5-rubygem-net-ssh" arch="i586,i686"/>
<repopackage name="ruby2.5-rubygem-nio4r" arch="i586,i686"/>
++++++ _service:product_converter:openSUSE-dvd5-dvd-x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.G6OHHK/_old 2018-08-01 05:51:09.404285185 +0200
+++ /var/tmp/diff_new_pack.G6OHHK/_new 2018-08-01 05:51:09.408285192 +0200
@@ -117,6 +117,7 @@
<repopackage name="amarok" arch="x86_64"/>
<repopackage name="amavisd-new" arch="x86_64"/>
<repopackage name="amavisd-new-docs" arch="x86_64"/>
+ <repopackage name="amtk-5-lang" arch="x86_64"/>
<repopackage name="analitza" arch="x86_64"/>
<repopackage name="analitza-lang" arch="x86_64"/>
<repopackage name="anjuta" arch="x86_64"/>
@@ -1518,6 +1519,7 @@
<repopackage name="libakonadi4" arch="x86_64"/>
<repopackage name="libakonadiprotocolinternals1" arch="x86_64"/>
<repopackage name="libamd2" arch="x86_64"/>
+ <repopackage name="libamtk-5-0" arch="x86_64"/>
<repopackage name="libAnalitza5" arch="x86_64"/>
<repopackage name="libanjuta-3-0" arch="x86_64"/>
<repopackage name="libao-plugins4" arch="x86_64"/>
@@ -4549,6 +4551,7 @@
<repopackage name="ruby2.5-rubygem-mustermann" arch="x86_64"/>
<repopackage name="ruby2.5-rubygem-mustermann-grape" arch="x86_64"/>
<repopackage name="ruby2.5-rubygem-mysql2" arch="x86_64"/>
+ <repopackage name="ruby2.5-rubygem-mysql2-0.4" arch="x86_64"/>
<repopackage name="ruby2.5-rubygem-net-scp" arch="x86_64"/>
<repopackage name="ruby2.5-rubygem-net-ssh" arch="x86_64"/>
<repopackage name="ruby2.5-rubygem-nio4r" arch="x86_64"/>
_service:product_converter:openSUSE-release.spec: same change
openSUSE-Tumbleweed-Kubic-release.spec: same change
openSUSE-release.spec: same change
++++++ DVD5-i586.group ++++++
--- /var/tmp/diff_new_pack.G6OHHK/_old 2018-08-01 05:51:09.488285337 +0200
+++ /var/tmp/diff_new_pack.G6OHHK/_new 2018-08-01 05:51:09.492285344 +0200
@@ -115,6 +115,7 @@
<package name="amarok"/>
<package name="amavisd-new"/>
<package name="amavisd-new-docs"/>
+ <package name="amtk-5-lang"/>
<package name="analitza"/>
<package name="analitza-lang"/>
<package name="anjuta"/>
@@ -1794,6 +1795,7 @@
<package name="libakonadi4"/>
<package name="libakonadiprotocolinternals1"/>
<package name="libamd2"/>
+ <package name="libamtk-5-0"/>
<package name="libanjuta-3-0"/>
<package name="libao-plugins4"/>
<package name="libao4"/>
@@ -4350,6 +4352,7 @@
<package name="ruby2.5-rubygem-mustermann"/>
<package name="ruby2.5-rubygem-mustermann-grape"/>
<package name="ruby2.5-rubygem-mysql2"/>
+ <package name="ruby2.5-rubygem-mysql2-0.4"/>
<package name="ruby2.5-rubygem-net-scp"/>
<package name="ruby2.5-rubygem-net-ssh"/>
<package name="ruby2.5-rubygem-nio4r"/>
++++++ DVD5-x86_64.group ++++++
--- /var/tmp/diff_new_pack.G6OHHK/_old 2018-08-01 05:51:09.520285394 +0200
+++ /var/tmp/diff_new_pack.G6OHHK/_new 2018-08-01 05:51:09.524285401 +0200
@@ -117,6 +117,7 @@
<package name="amarok"/>
<package name="amavisd-new"/>
<package name="amavisd-new-docs"/>
+ <package name="amtk-5-lang"/>
<package name="analitza"/>
<package name="analitza-lang"/>
<package name="anjuta"/>
@@ -1811,6 +1812,7 @@
<package name="libakonadi4"/>
<package name="libakonadiprotocolinternals1"/>
<package name="libamd2"/>
+ <package name="libamtk-5-0"/>
<package name="libanjuta-3-0"/>
<package name="libao-plugins4"/>
<package name="libao4"/>
@@ -4496,6 +4498,7 @@
<package name="ruby2.5-rubygem-mustermann"/>
<package name="ruby2.5-rubygem-mustermann-grape"/>
<package name="ruby2.5-rubygem-mysql2"/>
+ <package name="ruby2.5-rubygem-mysql2-0.4"/>
<package name="ruby2.5-rubygem-net-scp"/>
<package name="ruby2.5-rubygem-net-ssh"/>
<package name="ruby2.5-rubygem-nio4r"/>
1
0