Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package noson for openSUSE:Factory checked in at 2023-04-03 21:13:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/noson (Old) and /work/SRC/openSUSE:Factory/.noson.new.9019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "noson" Mon Apr 3 21:13:21 2023 rev:14 rq:1077030 version:2.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/noson/noson.changes 2023-02-15 13:41:18.295026738 +0100 +++ /work/SRC/openSUSE:Factory/.noson.new.9019/noson.changes 2023-04-03 21:13:22.864399791 +0200 @@ -1,0 +2,10 @@ +Sat Apr 1 19:21:40 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.10.2: + * Fix portability to GNU Hurd. +- Add noson-fix-missing-include.patch: Add missing include + <cstdint> exposed by gcc 13. +- Rebase noson-include-time.h.patch with quilt. +- Use ldconfig_scriptlets macro. + +------------------------------------------------------------------- Old: ---- noson-2.10.1.tar.gz New: ---- noson-2.10.2.tar.gz noson-fix-missing-include.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ noson.spec ++++++ --- /var/tmp/diff_new_pack.GRFy6t/_old 2023-04-03 21:13:23.400402880 +0200 +++ /var/tmp/diff_new_pack.GRFy6t/_new 2023-04-03 21:13:23.408402926 +0200 @@ -17,15 +17,17 @@ Name: noson -Version: 2.10.1 +Version: 2.10.2 Release: 0 Summary: C++ library for accessing sonos devices License: GPL-3.0-or-later Group: Development/Libraries/C and C++ -URL: https://github.com/janbar/noson/ -Source0: https://github.com/janbar/noson/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/janbar/noson +Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM noson-include-time.h.patch gh#janbar/noson#16 -- Fix build with gcc 12.1 Patch0: noson-include-time.h.patch +# PATCH-FIX-UPSTREAM noson-fix-missing-include.patch -- Add missing include <cstdint> +Patch1: noson-fix-missing-include.patch BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: flac-devel @@ -68,8 +70,7 @@ %install %make_install -C build -%post -n libnoson2 -p /sbin/ldconfig -%postun -n libnoson2 -p /sbin/ldconfig +%ldconfig_scriptlets -n libnoson2 %files -n libnoson2 %license LICENSE ++++++ noson-2.10.1.tar.gz -> noson-2.10.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/noson-2.10.1/noson/CMakeLists.txt new/noson-2.10.2/noson/CMakeLists.txt --- old/noson-2.10.1/noson/CMakeLists.txt 2023-02-01 21:24:43.000000000 +0100 +++ new/noson-2.10.2/noson/CMakeLists.txt 2023-03-19 20:53:48.000000000 +0100 @@ -9,7 +9,7 @@ # set lib version here set (noson_VERSION_MAJOR 2) set (noson_VERSION_MINOR 10) -set (noson_VERSION_PATCH 1) +set (noson_VERSION_PATCH 2) set (noson_VERSION ${noson_VERSION_MAJOR}.${noson_VERSION_MINOR}.${noson_VERSION_PATCH}) set (NOSON_LIB_VERSION ${noson_VERSION}) @@ -65,7 +65,7 @@ find_package (ZLIB REQUIRED) endif() if (ZLIB_FOUND) - include_directories (${ZLIB_INCLUDE_DIRS}) + include_directories (BEFORE SYSTEM ${ZLIB_INCLUDE_DIRS}) set (HAVE_ZLIB 1) else () set (HAVE_ZLIB 0) @@ -75,7 +75,7 @@ find_package(OpenSSL REQUIRED) endif() if (OPENSSL_FOUND) - include_directories (${OPENSSL_INCLUDE_DIR}) + include_directories (BEFORE SYSTEM ${OPENSSL_INCLUDE_DIR}) set (HAVE_OPENSSL 1) else () set (HAVE_OPENSSL 0) @@ -298,7 +298,7 @@ ) if (HAVE_FLAC) - include_directories (${FLACXX_INCLUDE_DIR}) + include_directories (BEFORE SYSTEM ${FLACXX_INCLUDE_DIR}) list (APPEND STREAM_SRC_FILES src/flacencoder.cpp) list (APPEND STREAM_HDR_FILES src/flacencoder.h) if (HAVE_PULSEAUDIO) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/noson-2.10.1/noson/src/private/os/threads/timeout.h new/noson-2.10.2/noson/src/private/os/threads/timeout.h --- old/noson-2.10.1/noson/src/private/os/threads/timeout.h 2023-02-01 21:24:43.000000000 +0100 +++ new/noson-2.10.2/noson/src/private/os/threads/timeout.h 2023-03-19 20:53:48.000000000 +0100 @@ -24,7 +24,7 @@ #if defined(__APPLE__) #include <mach/mach_time.h> -#elif defined(__linux__) +#elif !defined(__WINDOWS__) #include <time.h> #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/noson-2.10.1/noson/src/private/os/unix/os-types.h new/noson-2.10.2/noson/src/private/os/unix/os-types.h --- old/noson-2.10.1/noson/src/private/os/unix/os-types.h 2023-02-01 21:24:43.000000000 +0100 +++ new/noson-2.10.2/noson/src/private/os/unix/os-types.h 2023-03-19 20:53:48.000000000 +0100 @@ -37,13 +37,13 @@ #define E_OUTOFMEMORY 0x8007000EL #define E_FAIL 0x8004005EL -#if defined(__linux__) -#include <limits.h> -#define MAX_PATH PATH_MAX -#elif defined(__APPLE__) || defined(__FreeBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) #include <sys/cdefs.h> #include <sys/syslimits.h> #define MAX_PATH PATH_MAX +#elif defined(__GNU__) || defined(__linux__) +#include <limits.h> +#define MAX_PATH PATH_MAX #else #define MAX_PATH 256 #endif ++++++ noson-fix-missing-include.patch ++++++ Index: noson-2.10.2/noson/src/audioformat.h =================================================================== --- noson-2.10.2.orig/noson/src/audioformat.h +++ noson-2.10.2/noson/src/audioformat.h @@ -22,6 +22,7 @@ #include "local_config.h" #include <string> +#include <cstdint> namespace NSROOT { Index: noson-2.10.2/noson/src/filepicreader.h =================================================================== --- noson-2.10.2.orig/noson/src/filepicreader.h +++ noson-2.10.2/noson/src/filepicreader.h @@ -27,6 +27,7 @@ #include <string> #include <vector> +#include <cstdint> #define FILEPICREADER_PARAM_PATH "path" #define FILEPICREADER_PARAM_TYPE "type" ++++++ noson-include-time.h.patch ++++++ --- /var/tmp/diff_new_pack.GRFy6t/_old 2023-04-03 21:13:23.616404125 +0200 +++ /var/tmp/diff_new_pack.GRFy6t/_new 2023-04-03 21:13:23.620404148 +0200 @@ -8,12 +8,12 @@ [ 23s] /home/abuild/rpmbuild/BUILD/noson-2.8.6/noson/src/private/os/threads/timeout.h:58:5: error: 'clock_gettime' was not declared in this scope on most recent gcc 12 branch -Index: noson-2.10.1/noson/src/private/os/threads/timeout.h +Index: noson-2.10.2/noson/src/private/os/threads/timeout.h =================================================================== ---- noson-2.10.1.orig/noson/src/private/os/threads/timeout.h -+++ noson-2.10.1/noson/src/private/os/threads/timeout.h +--- noson-2.10.2.orig/noson/src/private/os/threads/timeout.h ++++ noson-2.10.2/noson/src/private/os/threads/timeout.h @@ -27,6 +27,7 @@ - #elif defined(__linux__) + #elif !defined(__WINDOWS__) #include <time.h> #endif +#include <time.h>