commit gerbera for openSUSE:Factory

2024-05-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2024-05-10 12:06:19

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1880 (New)


Package is "gerbera"

Fri May 10 12:06:19 2024 rev:15 rq:1173063 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2024-02-05 
22:01:47.556297780 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1880/gerbera.changes
2024-05-10 12:07:14.958095655 +0200
@@ -1,0 +2,55 @@
+Thu May  9 19:55:55 UTC 2024 - Dirk Müller 
+
+- update to 2.1.0:
+  * Add ctypes include
+  * Add issue template
+  * Autoscan: avoid errors from parent directories
+  * Avoid crash when parent was not created yet.
+  * Bring back custom headers as client specific headers
+  * BUGFIX: common.js boxSetup check Video/AllDates for Dates
+  * Build Support for NPUPNP
+  * Bump express from 4.18.2 to 4.19.2 in /gerbera-web
+  * Bump follow-redirects from 1.15.3 to 1.15.4 in /gerbera-web
+  * Bump follow-redirects from 1.15.4 to 1.15.6 in /gerbera-web
+  * Bump xml2js and parse-bmfont-xml in /gerbera-web
+  * clang-tidy and cppcheck fixes
+  * clang-tidy fixes
+  * Cleanup FileRequestHandler
+  * CMake: Use presets
+  * Config: Refactor handling of integer types
+  * Correct two typos.
+  * debian12: fix script error
+  * Docker image usability
+  * Docker: update alpine version
+  * Enhances default javascript files to check config file
+options
+  * Expand firewall advice in docs
+  * Fix build-deb.sh for releases
+  * Fix findAutoscanDirectory
+  * Gerbera welcomes 2024
+  * Gerbera-web: update chromedriver for tests
+  * github workflows: make cmake stuff consistent
+  * Import: Safely handle second scan
+  * Import: Safely handle second scan - 2
+  * matroska_handler: update API calls to work with
+libebml/libmatroska 2.0
+  * MetadataHandler: Refactor static methods
+  * Metafile: handle instance
+  * Minor fixes to RST documentation
+  * Provide BoxKeys also for scripts
+  * Refactor config and enums to reduce nesting
+  * Refactor parser files
+  * Safely handle suppressed file types
+  * Scripting: print2 function with log level support
+  * some fixes
+  * Sqlite: Harden delete
+  * Take configuration into account when creating virtual-layout
+(built-in + JS)
+  * Update Conan to v2
+  * Update screenshots to latest version
+  * Update various library versions
+  * Update workflow actions
+  * WebUI: Add Item View
+  * Webui: update vendor libraries
+
+---

Old:

  gerbera-2.0.0.tar.gz

New:

  gerbera-2.1.0.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.obluyh/_old  2024-05-10 12:07:15.614119559 +0200
+++ /var/tmp/diff_new_pack.obluyh/_new  2024-05-10 12:07:15.618119705 +0200
@@ -21,7 +21,7 @@
 %endif
 
 Name:   gerbera
-Version:2.0.0
+Version:2.1.0
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only

++ gerbera-2.0.0.tar.gz -> gerbera-2.1.0.tar.gz ++
 33980 lines of diff (skipped)


commit gerbera for openSUSE:Factory

2024-02-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2024-02-05 22:01:36

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1815 (New)


Package is "gerbera"

Mon Feb  5 22:01:36 2024 rev:14 rq:1144284 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2024-01-08 
23:45:55.407754316 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1815/gerbera.changes
2024-02-05 22:01:47.556297780 +0100
@@ -1,0 +2,17 @@
+Mon Feb  5 13:23:17 UTC 2024 - Dominique Leuenberger 
+
+- Generate the pre script usingn sysusers_generate.
+
+---
+Mon Feb  5 11:53:56 UTC 2024 - Dominique Leuenberger 
+
+- Actually run the generated sysusers script as part of pre (do not
+  manually provide the user() symbol, taken care of bu
+  rpm/sysusers.
+
+---
+Mon Feb  5 07:37:46 UTC 2024 - Paolo Stivanin 
+
+- Adapt to RPM 4.19 on Tumbleweed.
+
+---



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.8Mjhsm/_old  2024-02-05 22:01:48.108317751 +0100
+++ /var/tmp/diff_new_pack.8Mjhsm/_new  2024-02-05 22:01:48.112317896 +0100
@@ -37,6 +37,7 @@
 BuildRequires:  file-devel
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
+BuildRequires:  sysuser-tools
 BuildRequires:  pkgconfig(duktape)
 BuildRequires:  pkgconfig(exiv2)
 BuildRequires:  pkgconfig(gmock)
@@ -61,6 +62,7 @@
 BuildRequires:  pkgconfig(zlib)
 Requires:   logrotate
 %{?systemd_requires}
+%sysusers_requires
 BuildRequires:  gcc%{?force_gcc_version}-c++ >= 12
 
 %description
@@ -117,23 +119,16 @@
 install -p -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/gerbera/config.xml
 install -p -D -m0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gerbera.conf
 
+%sysusers_generate_pre %{buildroot}%{_sysusersdir}/gerbera.conf gerbera 
gerbera.conf
+
 %check
 %ctest
 
-%pre
-getent group gerbera >/dev/null || groupadd -r gerbera
-getent passwd gerbera >/dev/null || \
-useradd -r -g gerbera -d %{_sysconfdir}/gerbera -s /sbin/nologin \
--c "To run Gerbera" gerbera
+%pre -f %{name}.pre
 %service_add_pre %{name}.service
 
 %post
 %service_add_post %{name}.service
-%if 0%{?suse_version} > 1590
-%sysusers_create_package %{name} %{SOURCE2}
-%else
-%sysusers_create %{_sysusersdir}/%{name}.conf
-%endif
 
 %preun
 %service_del_preun %{name}.service

++ gerbera.sysusers.in ++
--- /var/tmp/diff_new_pack.8Mjhsm/_old  2024-02-05 22:01:48.148319198 +0100
+++ /var/tmp/diff_new_pack.8Mjhsm/_new  2024-02-05 22:01:48.152319343 +0100
@@ -1,3 +1,3 @@
-u gerbera - "Gerbera daemon user" /var/lib/gerbera
-m gerbera video
+u gerbera - "Gerbera daemon user" /var/lib/gerbera  -
+m gerbera video - - -
 


commit gerbera for openSUSE:Factory

2024-01-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2024-01-08 23:45:51

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.21961 (New)


Package is "gerbera"

Mon Jan  8 23:45:51 2024 rev:13 rq:1137492 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2024-01-03 
12:27:52.981821695 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.21961/gerbera.changes   
2024-01-08 23:45:55.407754316 +0100
@@ -1,0 +2,25 @@
+Mon Jan  8 07:14:18 UTC 2024 - Paolo Stivanin 
+
+- Update to 2.0.0:
+  NEW:
+* Staged importing that allows updating the virtual layout instead of 
deleting
+  and recreating it each time (import-mode="grb")
+* Config options as command line arguments (--set-option OPT=VAL with 
--print-options)
+* Allow configuration of follow-symlinks per autoscan directory
+* Configuration of containers in virtual layout: title can be changed, 
some nodes can be disabled
+* New mode of loading Javascript plugins with cleanup of global variables
+* Generation of example configuration via command line option 
--create-example-config
+* Case insensitive sorting for databases
+* New config options for URL handling and host redirection
+* Use .nomedia to hide directory, incl. config option
+* Support for UPnP commands GetFeatureList and GetSortExtensionCapabilities
+  FIXES:
+* Autoscan: Keep track of renamed directories
+* Runtime issues in request handling
+* Configurable handling of HOME directory
+* Transcoding: parsing issue of requests
+* Stability for sqlite database access
+* Browsing on Samsung devices
+- Drop upstreamed gerbera-1.12.1-buildfix-support-fmtlib-10.patch.
+
+---

Old:

  gerbera-1.12.1-buildfix-support-fmtlib-10.patch
  gerbera-1.12.1.tar.gz

New:

  gerbera-2.0.0.tar.gz

BETA DEBUG BEGIN:
  Old:* Browsing on Samsung devices
- Drop upstreamed gerbera-1.12.1-buildfix-support-fmtlib-10.patch.
BETA DEBUG END:



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.0OtEoC/_old  2024-01-08 23:45:56.331787912 +0100
+++ /var/tmp/diff_new_pack.0OtEoC/_new  2024-01-08 23:45:56.335788058 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gerbera
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %endif
 
 Name:   gerbera
-Version:1.12.1
+Version:2.0.0
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
@@ -31,7 +31,6 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
-Patch1: gerbera-1.12.1-buildfix-support-fmtlib-10.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes

++ gerbera-1.12.1.tar.gz -> gerbera-2.0.0.tar.gz ++
 48176 lines of diff (skipped)


commit gerbera for openSUSE:Factory

2024-01-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2024-01-03 12:27:50

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.28375 (New)


Package is "gerbera"

Wed Jan  3 12:27:50 2024 rev:12 rq:1135991 version:1.12.1

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2023-06-16 
16:55:27.269923461 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.28375/gerbera.changes   
2024-01-03 12:27:52.981821695 +0100
@@ -1,0 +2,11 @@
+Sun Dec 31 19:15:11 UTC 2023 - Andreas Stieger 
+
+- fix build on Tumbleweed with fmtlib 10 (boo#1218445)
+  add gerbera-1.12.1-buildfix-support-fmtlib-10.patch
+
+---
+Fri Oct  6 07:21:59 UTC 2023 - Paolo Stivanin 
+
+- Use better macro for selecting a newer GCC on Leap.
+
+---

New:

  gerbera-1.12.1-buildfix-support-fmtlib-10.patch

BETA DEBUG BEGIN:
  New:- fix build on Tumbleweed with fmtlib 10 (boo#1218445)
  add gerbera-1.12.1-buildfix-support-fmtlib-10.patch
BETA DEBUG END:



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.uaJafh/_old  2024-01-03 12:27:53.641845797 +0100
+++ /var/tmp/diff_new_pack.uaJafh/_new  2024-01-03 12:27:53.645845944 +0100
@@ -16,6 +16,10 @@
 #
 
 
+%if 0%{?suse_version} && 0%{?suse_version} < 1590
+%global force_gcc_version 12
+%endif
+
 Name:   gerbera
 Version:1.12.1
 Release:0
@@ -27,6 +31,7 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
+Patch1: gerbera-1.12.1-buildfix-support-fmtlib-10.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
@@ -57,11 +62,7 @@
 BuildRequires:  pkgconfig(zlib)
 Requires:   logrotate
 %{?systemd_requires}
-%if 0%{?suse_version} <= 1550
-BuildRequires:  gcc10-c++
-%else
-BuildRequires:  gcc-c++
-%endif
+BuildRequires:  gcc%{?force_gcc_version}-c++ >= 12
 
 %description
 Gerbera is a UPnP media server which allows streaming digital
@@ -84,9 +85,8 @@
   -DWITH_AVCODEC=1 \
   -DWITH_EXIF=0 \
   -DWITH_EXIV2=1 \
-%if 0%{?suse_version} <= 1550
-  -DCMAKE_CXX_COMPILER=g++-10 \
-  -DCMAKE_C_COMPILER=gcc-10 \
+%if 0%{?force_gcc_version}
+-DCMAKE_CXX_COMPILER=%{_bindir}/g++-%{?force_gcc_version} \
 %endif
   -DWITH_FFMPEGTHUMBNAILER=1 \
   -DWITH_INOTIFY=1 \

++ gerbera-1.12.1-buildfix-support-fmtlib-10.patch ++
>From 37957aac0aea776e6f843af2358916f81056a405 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA 
Date: Thu, 29 Jun 2023 22:09:15 +0900
Subject: [PATCH] buildfix: support fmtlib 10
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1218445

With fmtlib10, fmt::format does not accept pugi::xml_node as it is.
Use name() member function, as this usage appear on other places of
gerbera source code.

Closes #2839 .
---
 src/config/setup/config_setup_array.cc   | 6 +++---
 src/config/setup/config_setup_autoscan.cc| 2 +-
 src/config/setup/config_setup_client.cc  | 2 +-
 src/config/setup/config_setup_dictionary.cc  | 6 +++---
 src/config/setup/config_setup_dynamic.cc | 2 +-
 src/config/setup/config_setup_transcoding.cc | 2 +-
 src/config/setup/config_setup_tweak.cc   | 2 +-
 src/config/setup/config_setup_vector.cc  | 4 ++--
 8 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/config/setup/config_setup_array.cc 
b/src/config/setup/config_setup_array.cc
index 62dd5c9a7..a5f8958ce 100644
--- a/src/config/setup/config_setup_array.cc
+++ b/src/config/setup/config_setup_array.cc
@@ -137,11 +137,11 @@ std::vector 
ConfigArraySetup::getXmlContent(const pugi::xml_node& o
 std::vector result;
 if (initArray) {
 if (!initArray(optValue, result, 
ConfigDefinition::mapConfigOption(nodeOption))) {
-throw_std_runtime_error("Invalid {} array value '{}'", xpath, 
optValue);
+throw_std_runtime_error("Invalid {} array value '{}'", xpath, 
optValue.name());
 }
 } else {
 if (!createOptionFromNode(optValue, result)) {
-throw_std_runtime_error("Invalid {} array value '{}'", xpath, 
optValue);
+throw_std_runtime_error("Invalid {} array value '{}'", xpath, 
optValue.name());
 }
 }
 if (result.empty()) {
@@ -150,7 +150,7 @@ std::vector 
ConfigArraySetup::getXmlContent(const pugi::xml_node& o
 result = defaultEntries;
 }
 if (notEmpty && result.empty()) {
-throw_std_runtime_error("Invalid array {} empty '{}'", xpath, 
optValue);
+throw_std_runtime_error("Invalid array {} empty '{}'", 

commit gerbera for openSUSE:Factory

2023-06-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2023-06-16 16:54:15

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.15902 (New)


Package is "gerbera"

Fri Jun 16 16:54:15 2023 rev:11 rq:1093286 version:1.12.1

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2023-01-06 
17:06:46.216590631 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.15902/gerbera.changes   
2023-06-16 16:55:27.269923461 +0200
@@ -1,0 +2,6 @@
+Thu Jun 15 11:44:52 UTC 2023 - Dominique Leuenberger 
+
+- Fix usage of %sysusers_create_package: the macro takes two
+  parameters.
+
+---



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.ysyoh0/_old  2023-06-16 16:55:27.797926575 +0200
+++ /var/tmp/diff_new_pack.ysyoh0/_new  2023-06-16 16:55:27.801926599 +0200
@@ -131,7 +131,7 @@
 %post
 %service_add_post %{name}.service
 %if 0%{?suse_version} > 1590
-%sysusers_create_package %{_sysusersdir}/%{name}.conf
+%sysusers_create_package %{name} %{SOURCE2}
 %else
 %sysusers_create %{_sysusersdir}/%{name}.conf
 %endif


commit gerbera for openSUSE:Factory

2023-01-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2023-01-06 17:06:00

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1563 (New)


Package is "gerbera"

Fri Jan  6 17:06:00 2023 rev:10 rq:1056337 version:1.12.1

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2022-11-30 
15:00:58.237708098 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1563/gerbera.changes
2023-01-06 17:06:46.216590631 +0100
@@ -1,0 +2,18 @@
+Fri Jan  6 08:07:12 UTC 2023 - Paolo Stivanin 
+
+- Update to 1.12.1:
+  * Debug options for specialized messages
+  * Configure offset of lastPlayedPosition (aka Samsung bookmark)
+  * Calling null IOHandler
+  * Encoding of ticks ' as  for Bose
+  * ffmpeg and transcoding in docker container
+  * Tests failing on openSuSE > 15.3 and others
+- Drop 2759.patch
+
+---
+Mon Dec  5 08:25:00 UTC 2022 - Paolo Stivanin 
+
+- Add 2759.patch: fix tests execution issues.
+- Remove disable-test.patch
+
+---

Old:

  disable-test.patch
  gerbera-1.12.0.tar.gz

New:

  gerbera-1.12.1.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.UHLdC7/_old  2023-01-06 17:06:46.668593169 +0100
+++ /var/tmp/diff_new_pack.UHLdC7/_new  2023-01-06 17:06:46.672593191 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gerbera
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   gerbera
-Version:1.12.0
+Version:1.12.1
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
@@ -27,8 +27,6 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
-# PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/issues/2755
-Patch1: disable-test.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes

++ gerbera-1.12.0.tar.gz -> gerbera-1.12.1.tar.gz ++
 16485 lines of diff (skipped)


commit gerbera for openSUSE:Factory

2022-11-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2022-11-30 14:59:59

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1597 (New)


Package is "gerbera"

Wed Nov 30 14:59:59 2022 rev:9 rq:1038939 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2022-10-15 
16:40:57.146657342 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1597/gerbera.changes
2022-11-30 15:00:58.237708098 +0100
@@ -1,0 +2,19 @@
+Tue Nov 29 14:19:26 UTC 2022 - Paolo Stivanin 
+
+- Update to 1.12.0:
+  * Support for NFO files as additional resources: Set up in resources
+and place nfo-files (https://kodi.wiki/view/NFO_files/Templates) next to 
your media files.
+  * Tweaking mimetypes for clients
+  * Editing Flags in web UI
+  * More statistics on web UI
+  * Add support for ip subnets in client config
+  * Defaults for virtual container upnp class
+  * Configuration for SQLite database modes
+  * Offline mode for initial scan large libraries
+- Add disable-test.patch until https://github.com/gerbera/gerbera/issues/2755
+  is fixed. These two tests (UpnpClientsTest.getHostName and 
ParserTest.SortTrackNumber)
+  were added with this release.
+- Remove 2635.patch
+- Remove fix-fmt9.patch
+
+---

Old:

  2635.patch
  fix-fmt9.patch
  gerbera-1.11.0.tar.gz

New:

  disable-test.patch
  gerbera-1.12.0.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.XYEVN3/_old  2022-11-30 15:00:58.801711203 +0100
+++ /var/tmp/diff_new_pack.XYEVN3/_new  2022-11-30 15:00:58.809711247 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   gerbera
-Version:1.11.0
+Version:1.12.0
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
@@ -27,10 +27,8 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
-#PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/pull/2635
-Patch1: 2635.patch
-#PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/issues/2681
-Patch2: fix-fmt9.patch
+# PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/issues/2755
+Patch1: disable-test.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes

++ disable-test.patch ++
--- gerbera-1.12.0/test/util/test_upnp_clients.cc.orig  2022-11-29 
17:34:42.902179228 +0100
+++ gerbera-1.12.0/test/util/test_upnp_clients.cc   2022-11-29 
17:34:48.322206084 +0100
@@ -163,16 +163,6 @@
 EXPECT_EQ(pInfo->flags, 456);
 }
 
-TEST_F(UpnpClientsTest, getHostName)
-{
-auto addr = std::make_shared("192.168.99.100");
-auto hostname = addr->getHostName();
-EXPECT_EQ(hostname, "192.168.99.100");
-addr->setHostName("Wombat");
-hostname = addr->getHostName();
-EXPECT_EQ(hostname, "Wombat");
-}
-
 TEST_F(UpnpClientsTest, netmask4)
 {
 auto addr = GrbNet("192.168.2.100");
--- gerbera-1.12.0/test/core/test_searchhandler.cc.orig 2022-11-29 
17:42:07.064382208 +0100
+++ gerbera-1.12.0/test/core/test_searchhandler.cc  2022-11-29 
17:42:11.748405460 +0100
@@ -503,11 +503,3 @@
 "_t_._id_ ASC, _t_._property_value_ ASC"));
 }
 
-TEST_F(ParserTest, SortTrackNumber)
-{
-EXPECT_EQ(OTN, "unknown");
-EXPECT_EQ(otn, "upnp:originalTrackNumber");
-EXPECT_EQ(MetadataHandler::getMetaFieldName(M_TRACKNUMBER), 
"upnp:originalTrackNumber");
-EXPECT_TRUE(executeSortParserTest("+upnp:originalTrackNumber",
-"_t_._number1_ ASC, _t_._number2_ ASC"));
-}

++ gerbera-1.11.0.tar.gz -> gerbera-1.12.0.tar.gz ++
 27036 lines of diff (skipped)

++ gerbera.sysusers.in ++
--- /var/tmp/diff_new_pack.XYEVN3/_old  2022-11-30 15:00:59.353714240 +0100
+++ /var/tmp/diff_new_pack.XYEVN3/_new  2022-11-30 15:00:59.357714262 +0100
@@ -1,3 +1,3 @@
-u @USER@ - "Gerbera daemon user" /var/lib/gerbera
-m @GROUP@ video
+u gerbera - "Gerbera daemon user" /var/lib/gerbera
+m gerbera video
 

++ harden_gerbera.service.patch ++
--- /var/tmp/diff_new_pack.XYEVN3/_old  2022-11-30 15:00:59.369714328 +0100
+++ /var/tmp/diff_new_pack.XYEVN3/_new  2022-11-30 15:00:59.373714350 +0100
@@ -1,9 +1,9 @@
-Index: gerbera-1.9.1/scripts/systemd/gerbera.service.cmake
+Index: gerbera-1.12.0/scripts/systemd/gerbera.service.cmake
 ===
 gerbera-1.9.1.orig/scripts/systemd/gerbera.service.cmake
-+++ gerbera-1.9.1/scripts/systemd/gerbera.service.cmake
-@@ -3,6 +3,20 @@ Description=${SYSTEMD_DESCRIPTION}
- After=${SYSTEMD_AFTER_TARGET}
+--- 

commit gerbera for openSUSE:Factory

2022-10-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2022-10-15 16:38:19

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.2275 (New)


Package is "gerbera"

Sat Oct 15 16:38:19 2022 rev:8 rq:1011100 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2022-05-25 
20:35:52.728337874 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.2275/gerbera.changes
2022-10-15 16:40:57.146657342 +0200
@@ -1,0 +2,5 @@
+Sat Oct 15 09:52:05 UTC 2022 - Paolo Stivanin 
+
+- Add fix-fmt9.patch
+
+---

New:

  fix-fmt9.patch



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.JZKKvg/_old  2022-10-15 16:40:57.658658572 +0200
+++ /var/tmp/diff_new_pack.JZKKvg/_new  2022-10-15 16:40:57.58591 +0200
@@ -29,6 +29,8 @@
 Patch0: harden_gerbera.service.patch
 #PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/pull/2635
 Patch1: 2635.patch
+#PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/issues/2681
+Patch2: fix-fmt9.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes

++ fix-fmt9.patch ++
>From d7b8fafbc94405c20753fed569abd8878cccde89 Mon Sep 17 00:00:00 2001
From: Felix Yan 
Date: Fri, 19 Aug 2022 15:22:10 +0300
Subject: [PATCH] Fix build with fmt 9.0

Fixes #2681
---
 src/database/sql_format.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/database/sql_format.h b/src/database/sql_format.h
index 32dc00efa..e4e1909a8 100644
--- a/src/database/sql_format.h
+++ b/src/database/sql_format.h
@@ -42,7 +42,7 @@ struct SQLIdentifier {
 template <>
 struct fmt::formatter : formatter {
 template 
-auto format(const SQLIdentifier& tn, FormatContext& ctx) -> 
decltype(ctx.out())
+auto format(const SQLIdentifier& tn, FormatContext& ctx) const -> 
decltype(ctx.out())
 {
 return format_to(ctx.out(), "{}{}{}", tn.quote_begin, tn.name, 
tn.quote_end);
 }
@@ -61,7 +61,7 @@ struct ColumnUpdate {
 template <>
 struct fmt::formatter : formatter {
 template 
-auto format(const ColumnUpdate& a, FormatContext& ctx) -> 
decltype(ctx.out())
+auto format(const ColumnUpdate& a, FormatContext& ctx) const -> 
decltype(ctx.out())
 {
 return format_to(ctx.out(), "{} = {}", a.column, a.value);
 }


commit gerbera for openSUSE:Factory

2022-05-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2022-05-25 20:35:05

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.2254 (New)


Package is "gerbera"

Wed May 25 20:35:05 2022 rev:7 rq:979177 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2022-03-22 
19:39:53.791070795 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.2254/gerbera.changes
2022-05-25 20:35:52.728337874 +0200
@@ -1,0 +2,35 @@
+Wed May 25 09:36:13 UTC 2022 - Paolo Stivanin 
+
+- Update 2635.patch
+
+---
+Wed May 18 09:23:12 UTC 2022 - Paolo Stivanin 
+
+- Add 2635.patch: this fixes and issue on i586 and x86
+
+---
+Mon May  9 06:10:54 UTC 2022 - Paolo Stivanin 
+
+- Update to 1.11.0:
+  * New features:
+- Database: Clients and statistics are stored database so restart
+  does not empty client list. Client grouping for play statistics.
+- Search: Support searching playlists containers
+- Search: Respect ContainerID when performing search
+- Import: item class filtering and mapping by file properties
+  allows more sophisticated virtual structure
+- Transcoding: Support filtering transcoding profiles by resource 
properties
+  (like codecs) avoids transcoding if client can play files
+- DLNA: Detect DNLA profiles by resource attributes to specify more 
detailled
+  profile for handling in client
+- File type support for WavPack improved: More metadata read with
+  special library if compiled in.
+  * Fixes:
+- Playlist: Fix parser error
+- Playlist: Handle end of file properly
+- Browsing: Sort containers first
+- Search: search result is sort by title now
+- Import: Timestamps in future are not stored for containers
+- Lots of others fixes: 
https://github.com/gerbera/gerbera/releases/tag/v1.11.0
+
+---

Old:

  gerbera-1.10.0.tar.gz

New:

  2635.patch
  gerbera-1.11.0.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.MCvMik/_old  2022-05-25 20:35:53.116338416 +0200
+++ /var/tmp/diff_new_pack.MCvMik/_new  2022-05-25 20:35:53.120338421 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   gerbera
-Version:1.10.0
+Version:1.11.0
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
@@ -27,6 +27,8 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
+#PATCH-FIX-UPSTREAM https://github.com/gerbera/gerbera/pull/2635
+Patch1: 2635.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes

++ 2635.patch ++
>From ae46ab4684bd31df4537475dc33234ae85c9b1e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karl=20Strau=C3=9Fberger?= 
Date: Tue, 17 May 2022 18:13:55 +0200
Subject: [PATCH] This and that

May even solve:
---
 src/metadata/resolution.cc  |  4 ++--
 src/upnp_xml.cc |  4 ++--
 src/util/process_executor.cc|  3 ++-
 src/util/tools.cc   | 18 +++---
 test/content/test_resolution.cc |  6 +++---
 5 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/src/metadata/resolution.cc b/src/metadata/resolution.cc
index 031cb5788..476c644e5 100644
--- a/src/metadata/resolution.cc
+++ b/src/metadata/resolution.cc
@@ -33,7 +33,7 @@ Resolution::Resolution(const std::string& string)
 
 if (!parts[0].empty()) {
 auto x = stoulString(trimString(parts[0]));
-if (x == 0 || x == std::numeric_limits::max()) {
+if (x == 0 || x == std::numeric_limits::max()) {
 throw_std_runtime_error("Failed to parse '{}' to valid 
resolution", string);
 }
 _x = x;
@@ -41,7 +41,7 @@ Resolution::Resolution(const std::string& string)
 
 if (!parts[1].empty()) {
 auto y = stoulString(trimString(parts[1]));
-if (y == 0 || y == std::numeric_limits::max()) {
+if (y == 0 || y == std::numeric_limits::max()) {
 throw_std_runtime_error("Failed to parse '{}' to valid 
resolution", string);
 }
 _y = y;
diff --git a/src/upnp_xml.cc b/src/upnp_xml.cc
index d2d6bc60b..2ed9c7bef 100644
--- a/src/upnp_xml.cc
+++ b/src/upnp_xml.cc
@@ -508,9 +508,9 @@ std::string UpnpXMLBuilder::renderExtension(const 
std::string& contentType, cons
 }
 
 if (!location.empty() && location.has_extension()) {
-std::string extension = location.filename().extension();
+

commit gerbera for openSUSE:Factory

2022-03-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2022-03-22 19:39:51

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.25692 (New)


Package is "gerbera"

Tue Mar 22 19:39:51 2022 rev:6 rq:963832 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2022-01-14 
23:14:42.390688490 +0100
+++ /work/SRC/openSUSE:Factory/.gerbera.new.25692/gerbera.changes   
2022-03-22 19:39:53.791070795 +0100
@@ -1,0 +2,12 @@
+Mon Mar 21 15:35:03 UTC 2022 - Paolo Stivanin 
+
+- Update to 1.10.0:
+  * show subdir of recursive autoscan in directory tree
+  * add screenshots for grid view
+  * add all metadata to search capabilities
+  * search title in metadata instead of file name
+  * reuse Request Handler
+  * lots of other fixes: 
https://github.com/gerbera/gerbera/releases/tag/v1.10.0
+- Remove fix_for_smt_gt8.patch
+
+---

Old:

  fix_for_smt_gt8.patch
  gerbera-1.9.2.tar.gz

New:

  gerbera-1.10.0.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.lD68JD/_old  2022-03-22 19:39:54.431071467 +0100
+++ /var/tmp/diff_new_pack.lD68JD/_new  2022-03-22 19:39:54.435071471 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   gerbera
-Version:1.9.2
+Version:1.10.0
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
@@ -27,8 +27,6 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
-# PATCH-FIX-UPSTREAM: this will be included with v1.9.3
-Patch1: fix_for_smt_gt8.patch
 BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
@@ -49,12 +47,12 @@
 BuildRequires:  pkgconfig(libffmpegthumbnailer)
 BuildRequires:  pkgconfig(libmatroska)
 BuildRequires:  pkgconfig(libswscale)
-BuildRequires:  pkgconfig(libupnp) >= 1.14.0
+BuildRequires:  pkgconfig(libupnp) >= 1.14.6
 BuildRequires:  pkgconfig(pugixml)
-BuildRequires:  pkgconfig(spdlog)
-BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(spdlog) >= 1.8.1
+BuildRequires:  pkgconfig(sqlite3) >= 3.7.11
 BuildRequires:  pkgconfig(systemd)
-BuildRequires:  pkgconfig(taglib) >= 1.11
+BuildRequires:  pkgconfig(taglib) >= 1.12
 BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(zlib)
 Requires:   logrotate

++ gerbera-1.9.2.tar.gz -> gerbera-1.10.0.tar.gz ++
 88828 lines of diff (skipped)


commit gerbera for openSUSE:Factory

2022-01-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2022-01-14 23:13:15

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1892 (New)


Package is "gerbera"

Fri Jan 14 23:13:15 2022 rev:5 rq:946338 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2021-10-08 
00:07:11.701869738 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1892/gerbera.changes
2022-01-14 23:14:42.390688490 +0100
@@ -1,0 +2,6 @@
+Fri Jan 14 06:44:40 UTC 2022 - Paolo Stivanin 
+
+- Use %sysusers_create_package on Tumbleweed
+- Add fix_for_smt_gt8.patch
+
+---

New:

  fix_for_smt_gt8.patch



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.HrKTE6/_old  2022-01-14 23:14:42.786688745 +0100
+++ /var/tmp/diff_new_pack.HrKTE6/_new  2022-01-14 23:14:42.790688748 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gerbera
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,15 +27,12 @@
 Source1:config.xml
 Source2:gerbera.sysusers.in
 Patch0: harden_gerbera.service.patch
+# PATCH-FIX-UPSTREAM: this will be included with v1.9.3
+Patch1: fix_for_smt_gt8.patch
+BuildRequires:  ccache
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
 BuildRequires:  file-devel
-%if 0%{?suse_version} <= 1550
-BuildRequires:  gcc10-c++
-%else
-BuildRequires:  gcc-c++
-%endif
-BuildRequires:  ccache
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(duktape)
@@ -60,7 +57,13 @@
 BuildRequires:  pkgconfig(taglib) >= 1.11
 BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(zlib)
+Requires:   logrotate
 %{?systemd_requires}
+%if 0%{?suse_version} <= 1550
+BuildRequires:  gcc10-c++
+%else
+BuildRequires:  gcc-c++
+%endif
 
 %description
 Gerbera is a UPnP media server which allows streaming digital
@@ -103,7 +106,7 @@
 touch %{buildroot}%{_localstatedir}/log/%{name}
 mkdir -p  %{buildroot}%{_sysconfdir}/logrotate.d
 cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF'
-/var/log/gerbera/gerbera {
+%{_localstatedir}/log/gerbera/gerbera {
 create 644 gerbera gerbera
   monthly
   compress
@@ -129,7 +132,11 @@
 
 %post
 %service_add_post %{name}.service
+%if 0%{?suse_version} > 1590
+%sysusers_create_package %{_sysusersdir}/%{name}.conf
+%else
 %sysusers_create %{_sysusersdir}/%{name}.conf
+%endif
 
 %preun
 %service_del_preun %{name}.service

++ fix_for_smt_gt8.patch ++
>From f25950e8ac23a8e6859bf5861884b8818ead2db8 Mon Sep 17 00:00:00 2001
From: kyak 
Date: Wed, 12 Jan 2022 19:41:37 +0300
Subject: [PATCH] Fix for fmt > 8.0

---
 src/util/logger.h | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/src/util/logger.h b/src/util/logger.h
index 58696e52f..ba64afa79 100644
--- a/src/util/logger.h
+++ b/src/util/logger.h
@@ -32,7 +32,9 @@
 #ifndef __LOGGER_H__
 #define __LOGGER_H__
 
+#include 
 #include 
+#include 
 
 #define log_debug SPDLOG_DEBUG
 #define log_info SPDLOG_INFO
@@ -40,4 +42,17 @@
 #define log_error SPDLOG_ERROR
 #define log_js SPDLOG_INFO
 
+#if FMT_VERSION >= 80100
+template 
+struct fmt::formatter, char>>
+: formatter> {
+template 
+auto format(const T& value, FormatContext& ctx) -> decltype(ctx.out())
+{
+return fmt::formatter>::format(
+static_cast>(value), ctx);
+}
+};
+#endif
+
 #endif // __LOGGER_H__


++ harden_gerbera.service.patch ++
--- /var/tmp/diff_new_pack.HrKTE6/_old  2022-01-14 23:14:42.842688781 +0100
+++ /var/tmp/diff_new_pack.HrKTE6/_new  2022-01-14 23:14:42.846688784 +0100
@@ -18,7 +18,7 @@
 +ProtectKernelLogs=true
 +ProtectControlGroups=true
 +RestrictRealtime=true
-+ReadWritePaths=/usr/share/gerbera/ /etc/gerbera/
++ReadWritePaths=/usr/share/gerbera/ /etc/gerbera/ /var/log/gerbera
 +# end of automatic additions 
  Type=simple
  User=gerbera


commit gerbera for openSUSE:Factory

2021-10-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2021-10-08 00:06:16

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.2443 (New)


Package is "gerbera"

Fri Oct  8 00:06:16 2021 rev:4 rq:923735 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2021-09-02 
23:20:36.404575319 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.2443/gerbera.changes
2021-10-08 00:07:11.701869738 +0200
@@ -1,0 +2,29 @@
+Thu Oct  7 12:51:58 UTC 2021 - Paolo Stivanin 
+
+- Update to 1.9.2:
+* Titles of search results can be configured
+* Containers in virtual layout can be defined as search result, so,
+  e.g. albums, located in several places are only found once
+* Metadata, like artist, appearing multiple times are now stored
+  in that way and can be sent to UPnP clients as separate entries
+  as well or addressed in layout scripts. If you have a custom js
+  import script which updates metadata you have to modify it using
+  the new properties (see doc on scripting)
+* DLNA profile can be configured using video and audio codec,
+  allow devices to pick supported streams
+* DLNA profile can be set for transcoding
+
+---
+Tue Sep 21 12:33:17 UTC 2021 - Paolo Stivanin 
+
+- Fix spec file
+- Add config.xml
+- Remove unneeded tmpfile
+
+---
+Tue Sep 21 09:51:10 UTC 2021 - Johannes Segitz 
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_gerbera.service.patch
+
+---

Old:

  gerbera-1.9.1.tar.gz
  gerbera.tmpfile.in

New:

  config.xml
  gerbera-1.9.2.tar.gz
  harden_gerbera.service.patch



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.IQBa1L/_old  2021-10-08 00:07:12.313870776 +0200
+++ /var/tmp/diff_new_pack.IQBa1L/_new  2021-10-08 00:07:12.317870782 +0200
@@ -17,15 +17,16 @@
 
 
 Name:   gerbera
-Version:1.9.1
+Version:1.9.2
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
 Group:  Productivity/Multimedia/Other
 URL:https://gerbera.io
 Source0:
https://github.com/gerbera/gerbera/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Source3:gerbera.tmpfile.in
-Source4:gerbera.sysusers.in
+Source1:config.xml
+Source2:gerbera.sysusers.in
+Patch0: harden_gerbera.service.patch
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
 BuildRequires:  file-devel
@@ -67,22 +68,18 @@
 compatible devices.
 
 %prep
-%autosetup
+%autosetup -p1
 
 # server test hardcodes alpha strings
 sed -i -e '/test_server/d' test/CMakeLists.txt
-
-for _file in %{SOURCE3} %{SOURCE4}; do
-  sed -e 's/@USER@/gerbera/' \
-  -e 's/@GROUP@/gerbera/' \
-  < $_file > ${_file##*/}
-done
+sed -i -e 's/@USER@/gerbera/' %{SOURCE2}
+sed -i -e 's/@GROUP@/gerbera/' %{SOURCE2}
 
 %build
-export CFLAGS="${CFLAGS} -fPIE"
-export CXXFLAGS="${CXXFLAGS} -fPIE"
-export LDFLAGS="${LDFLAGS} -pie"
 %cmake \
+  -DWITH_JS=1 \
+  -DWITH_TAGLIB=1 \
+  -DWITH_MAGIC=1 \
   -DWITH_AVCODEC=1 \
   -DWITH_EXIF=0 \
   -DWITH_EXIV2=1 \
@@ -91,6 +88,8 @@
   -DCMAKE_C_COMPILER=gcc-10 \
 %endif
   -DWITH_FFMPEGTHUMBNAILER=1 \
+  -DWITH_INOTIFY=1 \
+  -DWITH_SYSTEMD=1 \
   -DWITH_TESTS=1 \
   -Wno-dev
 %cmake_build
@@ -98,13 +97,25 @@
 %install
 %cmake_install
 
+mkdir -p %{buildroot}%{_sysconfdir}/gerbera
+touch %{buildroot}%{_sysconfdir}/gerbera/{gerbera.db,gerbera.html}
+mkdir -p %{buildroot}%{_localstatedir}/log/gerbera
+touch %{buildroot}%{_localstatedir}/log/%{name}
+mkdir -p  %{buildroot}%{_sysconfdir}/logrotate.d
+cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF'
+/var/log/gerbera/gerbera {
+create 644 gerbera gerbera
+  monthly
+  compress
+  missingok
+}
+EOF
+
 install -d %{buildroot}%{_sbindir}
 ln -s service  %{buildroot}%{_sbindir}/rc%{name}
-install -Dm 0644 %{name}.tmpfile.in %{buildroot}%{_tmpfilesdir}/%{name}.conf
-install -Dm 0644 %{name}.sysusers.in %{buildroot}%{_sysusersdir}/%{name}.conf
 
-install -d %{buildroot}%{_localstatedir}/lib/%{name}
-touch 
%{buildroot}%{_localstatedir}/lib/%{name}/{config.xml,%{name}.db,%{name}.html}
+install -p -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/gerbera/config.xml
+install -p -D -m0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/gerbera.conf
 
 %check
 %ctest
@@ -118,7 +129,6 @@
 
 %post
 %service_add_post %{name}.service
-%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
 %sysusers_create 

commit gerbera for openSUSE:Factory

2021-09-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2021-09-02 23:20:18

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1899 (New)


Package is "gerbera"

Thu Sep  2 23:20:18 2021 rev:3 rq:915702 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2021-08-05 
20:48:33.111901818 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1899/gerbera.changes
2021-09-02 23:20:36.404575319 +0200
@@ -1,0 +2,7 @@
+Thu Sep  2 07:25:06 UTC 2021 - Paolo Stivanin 
+
+- Update to 1.9.1:
+  * lots of small code-related fixes
+https://github.com/gerbera/gerbera/releases/tag/v1.9.1
+
+---

Old:

  gerbera-1.9.0.tar.gz

New:

  gerbera-1.9.1.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.pT8e4B/_old  2021-09-02 23:20:37.168576272 +0200
+++ /var/tmp/diff_new_pack.pT8e4B/_new  2021-09-02 23:20:37.172576276 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   gerbera
-Version:1.9.0
+Version:1.9.1
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only

++ gerbera-1.9.0.tar.gz -> gerbera-1.9.1.tar.gz ++
 10165 lines of diff (skipped)


commit gerbera for openSUSE:Factory

2021-08-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gerbera for openSUSE:Factory checked 
in at 2021-08-05 20:48:03

Comparing /work/SRC/openSUSE:Factory/gerbera (Old)
 and  /work/SRC/openSUSE:Factory/.gerbera.new.1899 (New)


Package is "gerbera"

Thu Aug  5 20:48:03 2021 rev:2 rq:910244 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/gerbera/gerbera.changes  2021-07-07 
18:31:31.766496688 +0200
+++ /work/SRC/openSUSE:Factory/.gerbera.new.1899/gerbera.changes
2021-08-05 20:48:33.111901818 +0200
@@ -1,0 +2,23 @@
+Thu Aug  5 05:35:30 UTC 2021 - Paolo Stivanin 
+
+- Update to 1.9.0:
+  * New or Improved features:
++ Many more things have been added to configuration (order of
+  resources for album art, DLNA profiles, upnp properties).
+  Please consult https://docs.gerbera.io/en/stable/config-overview.html
+  for the exact usage
++ Gerbera now can display dynamic containers, i.e. its contents
+  are calculated as you click. This may show you recently add
+  or changed media
++ Gerbera now supports client specific transcoding, i.e. video
+  is only transcode for your older devices, newer can stream it
+  as it is
++ The compatibility with Samsung TV sets was increase again
++ Minor media and upnp additions in search allow you to make
+  the most out of your files
+  * Refactoring of Code in Database Layer: this means that after
+the upgrade to 1.9.0 it's not possible to downgrade
+  * Lots of small bug fixed
+(https://github.com/gerbera/gerbera/releases/tag/v1.9.0)
+
+---

Old:

  gerbera-1.8.2.tar.gz

New:

  gerbera-1.9.0.tar.gz



Other differences:
--
++ gerbera.spec ++
--- /var/tmp/diff_new_pack.3ONjfH/_old  2021-08-05 20:48:33.755901095 +0200
+++ /var/tmp/diff_new_pack.3ONjfH/_new  2021-08-05 20:48:33.759901090 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   gerbera
-Version:1.8.2
+Version:1.9.0
 Release:0
 Summary:UPnP Media Server
 License:GPL-2.0-only
@@ -26,7 +26,7 @@
 Source0:
https://github.com/gerbera/gerbera/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source3:gerbera.tmpfile.in
 Source4:gerbera.sysusers.in
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
 BuildRequires:  file-devel
 %if 0%{?suse_version} <= 1550
@@ -79,6 +79,9 @@
 done
 
 %build
+export CFLAGS="${CFLAGS} -fPIE"
+export CXXFLAGS="${CXXFLAGS} -fPIE"
+export LDFLAGS="${LDFLAGS} -pie"
 %cmake \
   -DWITH_AVCODEC=1 \
   -DWITH_EXIF=0 \
@@ -88,6 +91,7 @@
   -DCMAKE_C_COMPILER=gcc-10 \
 %endif
   -DWITH_FFMPEGTHUMBNAILER=1 \
+  -DWITH_TESTS=1 \
   -Wno-dev
 %cmake_build
 

++ gerbera-1.8.2.tar.gz -> gerbera-1.9.0.tar.gz ++
 2 lines of diff (skipped)