- Update to 2.4.1
* Changes - Fix Dockerfile (#3335) - Update to 2.4.0 Rerun gerbera --create-config="Boxlayout|DynamicContainer" and merge changes to the boxlayout and containers the get support for upnp shortcut list feature. There are some noteworthy new features in this release: - the search page: Query your database with UPnP search statements in Web UI, - the dark mode for the Web UI, - access permissions for files: Restrict access to directories via client groups, - support for UPnP filters in requests, - support for UPnP CONTAINER_SHORTCUTS feature. * NEW Features - Configuration of ui handler to allow hosting of docs and doxygen output - Support for UPnP filters - Support for UPnP shortcuts - Search page in web UI - Command line options --create-config and --create-example-config support arguments - Provide packages for Ubuntu-24.10 - Allow deleting of client entries immediately * FIXES - Logic exceptions are reported - Handling of logging command line options - Handling of checkbox values on web ui - Access to cache option if thumbnailer is disabled - Container creation in web ui - Handling of multi-valued tags in virtual paths - Increase of pupnp threadpool size - Drop Build Support for Ubuntu 23.04 and 23.10 * Code Improvements - Build without ffmpeg leaves option unset - Compatibility with ffmpeg > 6.0 - Logging of build info with --compile-info - Update versions of libpupnp (1.14.20), spdlog (1.15.0) - Update Build Environment - Update versions of js vendor files jquery-ui (v1.13.2 -> v1.14.1), js-cookie (v3.0.1 -> v3.0.5), @popperjs/core (v2.11.6 -> v2.11.8) * Changes - Gerbera 2.4.0 (#3330) - Fix Artist Image in Virtual Layout (#3333) - Set correct image size for xx-large pictures (#3332) - Enhance xsd (#3329) - Validate XSD CI workflow (#3328) - Gerbera welcomes 2025 (#3327) - Fix container filters (#3325) - Handle int parse error in config (#3324) - Debian: pack postinst file (#3320) - Fix SIMPLE_DATE (#3318) - Mention systemd as optional package (#3317) - Web UI: Add dark mode (#3309) - Fix config2.xsd: The QName value upnp-properties does not resolve to … (#3314) - Dynamic banner colour in Readme (#3308) - Update build for openSuSE (#3307) - Fix parsing enum config values (#3304) - Update docker settings (#3301) - Clients: Support deleting entries (#3299) - Debian: create changelog file (#3297) - Fix systemd detection (#3295) - ConfigGenerator: Export defaults for more entries (#3293) - UPnP filters: provided defaults for filter properties (#3292) - Scripting: Clean up property handling (#3290) - Update and refactor MySQL code (#3289) - Improve compile info contents (#3286) - actions: clang-format 18 (#3257) - deps: Fix build with ffmpeg 6.1 (#3256) - Fix CodeQL messages (#3285) - Config: Unify path handling (#3282) - Add workflow for Release Drafter (#3277) - Test: Fix CMake commands (#3284) - Drop Build Support for Ubuntu 23.04 (#3283) - Web UI: Cleanup display of item number (#3280) - Handle broken ContainerImage (#3278) - Update Release Template (#3276) - Drop Build Support for Ubuntu 23.10 (#3275) - Update js vendor files (#3274) - Add variables to docker images (#3267) - Fix Handling command line options (#3273) - UPnP Shortcuts feature (#3261) - Access permissions for files by client (#3255) - Fix autoscan issue with empty filename (#3254) - Update Build Environment (#3252) - Resource directory configuration and cleanup collection (#3251) - Bump cookie, express and socket.io in /gerbera-web (#3249) - Web UI: Fix detail display (#3247) - Increase size of pupnp threadpool (#3244) - Web UI: Add Search page (#3242) - Improve handling multivalue tags in virtual paths (#3241) - Fix creating containers in web ui (#3240) - UPnP: Add support for filters (#3233) - Fix access to cache option if thumbnailer disabled (#3232) - Fix build without ffmpeg (#3231) - Fix handling of checkbox values on web ui (#3229) - Config: UI handler mimetypes and CSP (#3227) - Bump master (#3226) - Fix some errors in post section from spec file. - Fix rights for config and log directories and files. - Fix wrong group in gerbera.sysusers.in - Move sqlite gerbera.db from /etc/gerbera to /var/lib/gerbera for new installations. OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/gerbera?expand=0&rev=70
This commit is contained in:
parent
29a6140c83
commit
66c225e851
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c9f7956d9e94a9b8ded7de809ba8496ad1a2279b624ab121652dff2a28a1a69e
|
|
||||||
size 6255947
|
|
3
gerbera-2.4.1.tar.gz
Normal file
3
gerbera-2.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:563ee3941b0347a91f5a3e9fe151032bd0e26868bfe7b7c68a7c095f8b07677b
|
||||||
|
size 9594796
|
109
gerbera.changes
109
gerbera.changes
@ -1,3 +1,112 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 7 18:46:28 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.4.1
|
||||||
|
* Changes
|
||||||
|
- Fix Dockerfile (#3335)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 7 08:39:20 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Update to 2.4.0
|
||||||
|
|
||||||
|
Rerun gerbera --create-config="Boxlayout|DynamicContainer"
|
||||||
|
and merge changes to the boxlayout and containers the get support for upnp shortcut list feature.
|
||||||
|
|
||||||
|
There are some noteworthy new features in this release:
|
||||||
|
- the search page: Query your database with UPnP search statements in Web UI,
|
||||||
|
- the dark mode for the Web UI,
|
||||||
|
- access permissions for files: Restrict access to directories via client groups,
|
||||||
|
- support for UPnP filters in requests,
|
||||||
|
- support for UPnP CONTAINER_SHORTCUTS feature.
|
||||||
|
|
||||||
|
* NEW Features
|
||||||
|
- Configuration of ui handler to allow hosting of docs and doxygen output
|
||||||
|
- Support for UPnP filters
|
||||||
|
- Support for UPnP shortcuts
|
||||||
|
- Search page in web UI
|
||||||
|
- Command line options --create-config and --create-example-config support arguments
|
||||||
|
- Provide packages for Ubuntu-24.10
|
||||||
|
- Allow deleting of client entries immediately
|
||||||
|
* FIXES
|
||||||
|
- Logic exceptions are reported
|
||||||
|
- Handling of logging command line options
|
||||||
|
- Handling of checkbox values on web ui
|
||||||
|
- Access to cache option if thumbnailer is disabled
|
||||||
|
- Container creation in web ui
|
||||||
|
- Handling of multi-valued tags in virtual paths
|
||||||
|
- Increase of pupnp threadpool size
|
||||||
|
- Drop Build Support for Ubuntu 23.04 and 23.10
|
||||||
|
* Code Improvements
|
||||||
|
- Build without ffmpeg leaves option unset
|
||||||
|
- Compatibility with ffmpeg > 6.0
|
||||||
|
- Logging of build info with --compile-info
|
||||||
|
- Update versions of libpupnp (1.14.20), spdlog (1.15.0)
|
||||||
|
- Update Build Environment
|
||||||
|
- Update versions of js vendor files jquery-ui (v1.13.2 -> v1.14.1), js-cookie (v3.0.1 -> v3.0.5), @popperjs/core (v2.11.6 -> v2.11.8)
|
||||||
|
* Changes
|
||||||
|
- Gerbera 2.4.0 (#3330)
|
||||||
|
- Fix Artist Image in Virtual Layout (#3333)
|
||||||
|
- Set correct image size for xx-large pictures (#3332)
|
||||||
|
- Enhance xsd (#3329)
|
||||||
|
- Validate XSD CI workflow (#3328)
|
||||||
|
- Gerbera welcomes 2025 (#3327)
|
||||||
|
- Fix container filters (#3325)
|
||||||
|
- Handle int parse error in config (#3324)
|
||||||
|
- Debian: pack postinst file (#3320)
|
||||||
|
- Fix SIMPLE_DATE (#3318)
|
||||||
|
- Mention systemd as optional package (#3317)
|
||||||
|
- Web UI: Add dark mode (#3309)
|
||||||
|
- Fix config2.xsd: The QName value upnp-properties does not resolve to … (#3314)
|
||||||
|
- Dynamic banner colour in Readme (#3308)
|
||||||
|
- Update build for openSuSE (#3307)
|
||||||
|
- Fix parsing enum config values (#3304)
|
||||||
|
- Update docker settings (#3301)
|
||||||
|
- Clients: Support deleting entries (#3299)
|
||||||
|
- Debian: create changelog file (#3297)
|
||||||
|
- Fix systemd detection (#3295)
|
||||||
|
- ConfigGenerator: Export defaults for more entries (#3293)
|
||||||
|
- UPnP filters: provided defaults for filter properties (#3292)
|
||||||
|
- Scripting: Clean up property handling (#3290)
|
||||||
|
- Update and refactor MySQL code (#3289)
|
||||||
|
- Improve compile info contents (#3286)
|
||||||
|
- actions: clang-format 18 (#3257)
|
||||||
|
- deps: Fix build with ffmpeg 6.1 (#3256)
|
||||||
|
- Fix CodeQL messages (#3285)
|
||||||
|
- Config: Unify path handling (#3282)
|
||||||
|
- Add workflow for Release Drafter (#3277)
|
||||||
|
- Test: Fix CMake commands (#3284)
|
||||||
|
- Drop Build Support for Ubuntu 23.04 (#3283)
|
||||||
|
- Web UI: Cleanup display of item number (#3280)
|
||||||
|
- Handle broken ContainerImage (#3278)
|
||||||
|
- Update Release Template (#3276)
|
||||||
|
- Drop Build Support for Ubuntu 23.10 (#3275)
|
||||||
|
- Update js vendor files (#3274)
|
||||||
|
- Add variables to docker images (#3267)
|
||||||
|
- Fix Handling command line options (#3273)
|
||||||
|
- UPnP Shortcuts feature (#3261)
|
||||||
|
- Access permissions for files by client (#3255)
|
||||||
|
- Fix autoscan issue with empty filename (#3254)
|
||||||
|
- Update Build Environment (#3252)
|
||||||
|
- Resource directory configuration and cleanup collection (#3251)
|
||||||
|
- Bump cookie, express and socket.io in /gerbera-web (#3249)
|
||||||
|
- Web UI: Fix detail display (#3247)
|
||||||
|
- Increase size of pupnp threadpool (#3244)
|
||||||
|
- Web UI: Add Search page (#3242)
|
||||||
|
- Improve handling multivalue tags in virtual paths (#3241)
|
||||||
|
- Fix creating containers in web ui (#3240)
|
||||||
|
- UPnP: Add support for filters (#3233)
|
||||||
|
- Fix access to cache option if thumbnailer disabled (#3232)
|
||||||
|
- Fix build without ffmpeg (#3231)
|
||||||
|
- Fix handling of checkbox values on web ui (#3229)
|
||||||
|
- Config: UI handler mimetypes and CSP (#3227)
|
||||||
|
- Bump master (#3226)
|
||||||
|
|
||||||
|
- Fix some errors in post section from spec file.
|
||||||
|
- Fix rights for config and log directories and files.
|
||||||
|
- Fix wrong group in gerbera.sysusers.in
|
||||||
|
- Move sqlite gerbera.db from /etc/gerbera to /var/lib/gerbera for new installations.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 30 07:40:57 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
|
Mon Dec 30 07:40:57 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
54
gerbera.spec
54
gerbera.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gerbera
|
# spec file for package gerbera
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,7 +21,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: gerbera
|
Name: gerbera
|
||||||
Version: 2.3.0
|
Version: 2.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: UPnP Media Server
|
Summary: UPnP Media Server
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -42,9 +42,9 @@ BuildRequires: file-devel
|
|||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
BuildRequires: pkgconfig(duktape)
|
BuildRequires: pkgconfig(duktape) >= 2.6.0
|
||||||
BuildRequires: pkgconfig(exiv2)
|
BuildRequires: pkgconfig(exiv2) >= 0.26
|
||||||
BuildRequires: pkgconfig(fmt)
|
BuildRequires: pkgconfig(fmt) >= 9.1.0
|
||||||
BuildRequires: pkgconfig(gmock)
|
BuildRequires: pkgconfig(gmock)
|
||||||
BuildRequires: pkgconfig(gmock_main)
|
BuildRequires: pkgconfig(gmock_main)
|
||||||
BuildRequires: pkgconfig(gtest)
|
BuildRequires: pkgconfig(gtest)
|
||||||
@ -54,13 +54,13 @@ BuildRequires: pkgconfig(libavformat)
|
|||||||
BuildRequires: pkgconfig(libavutil)
|
BuildRequires: pkgconfig(libavutil)
|
||||||
BuildRequires: pkgconfig(libcurl)
|
BuildRequires: pkgconfig(libcurl)
|
||||||
BuildRequires: pkgconfig(libebml)
|
BuildRequires: pkgconfig(libebml)
|
||||||
BuildRequires: pkgconfig(libffmpegthumbnailer)
|
BuildRequires: pkgconfig(libffmpegthumbnailer) >= 2.2.2
|
||||||
BuildRequires: pkgconfig(libmatroska)
|
BuildRequires: pkgconfig(libmatroska) >= 1.6.3
|
||||||
BuildRequires: pkgconfig(libswscale)
|
BuildRequires: pkgconfig(libswscale)
|
||||||
BuildRequires: pkgconfig(libupnp) >= 1.14.6
|
BuildRequires: pkgconfig(libupnp) >= 1.14.6
|
||||||
BuildRequires: pkgconfig(pugixml)
|
BuildRequires: pkgconfig(pugixml) >= 1.10
|
||||||
BuildRequires: pkgconfig(spdlog) >= 1.8.1
|
BuildRequires: pkgconfig(spdlog) >= 1.11.0
|
||||||
BuildRequires: pkgconfig(sqlite3) >= 3.7.11
|
BuildRequires: pkgconfig(sqlite3) >= 3.35.5
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: pkgconfig(taglib) >= 1.12
|
BuildRequires: pkgconfig(taglib) >= 1.12
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
@ -108,8 +108,8 @@ rm -f web/.gitignore
|
|||||||
|
|
||||||
# server test hardcodes alpha strings
|
# server test hardcodes alpha strings
|
||||||
sed -i -e '/test_server/d' test/CMakeLists.txt
|
sed -i -e '/test_server/d' test/CMakeLists.txt
|
||||||
sed -i -e 's/@USER@/gerbera/' %{SOURCE2}
|
#sed -i -e 's/@USER@/gerbera/' %%{SOURCE2}
|
||||||
sed -i -e 's/@GROUP@/gerbera/' %{SOURCE2}
|
#sed -i -e 's/@GROUP@/gerbera/' %%{SOURCE2}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
@ -132,9 +132,10 @@ sed -i -e 's/@GROUP@/gerbera/' %{SOURCE2}
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/gerbera
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
||||||
touch %{buildroot}%{_sysconfdir}/gerbera/{gerbera.db,gerbera.html}
|
touch %{buildroot}%{_sysconfdir}/%{name}/gerbera.html
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/log/gerbera
|
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}
|
||||||
|
mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
|
||||||
touch %{buildroot}%{_localstatedir}/log/%{name}
|
touch %{buildroot}%{_localstatedir}/log/%{name}
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF'
|
cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF'
|
||||||
@ -145,6 +146,12 @@ cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF'
|
|||||||
missingok
|
missingok
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
cat > %{buildroot}%{_sysconfdir}/%{name}/_INFO_ << 'EOF'
|
||||||
|
gerbera.xml <- active configuration file
|
||||||
|
gerbera-example.xml <- example configuration with almost all options
|
||||||
|
gerbera-new.xml <- new configuration file after update of package
|
||||||
|
gerbera-diff.xml <- diff between gerbera.xml and gerbera-new.xml
|
||||||
|
EOF
|
||||||
|
|
||||||
install -d %{buildroot}%{_sbindir}
|
install -d %{buildroot}%{_sbindir}
|
||||||
ln -s service %{buildroot}%{_sbindir}/rc%{name}
|
ln -s service %{buildroot}%{_sbindir}/rc%{name}
|
||||||
@ -171,14 +178,20 @@ install -D -m0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/nginx/vhosts.d/%{name}.
|
|||||||
%service_add_post %{name}.service
|
%service_add_post %{name}.service
|
||||||
# only do on install
|
# only do on install
|
||||||
if [ "$1" -eq 1 ]; then
|
if [ "$1" -eq 1 ]; then
|
||||||
|
echo "o Create config.xml..." || :
|
||||||
gerbera --create-config | sudo tee /etc/gerbera/config.xml || :
|
gerbera --create-config | sudo tee /etc/gerbera/config.xml || :
|
||||||
sed -i -e 's|<home>/root/</home>|<home>/etc/gerbera</home>|g' /etc/gerbera/config.xml
|
sed -i -e 's|<home>/root/</home>|<home>/etc/gerbera</home>|g' /etc/gerbera/config.xml || :
|
||||||
|
sed -i -e 's|<database-file>gerbera.db</database-file>|<database-file>/var/lib/gerbera/gerbera.db</database-file>|g' /etc/gerbera/config.xml || :
|
||||||
fi
|
fi
|
||||||
# only do on upgrade
|
# only do on upgrade
|
||||||
if [ "$1" -gt 1 ]; then
|
if [ "$1" -gt 1 ]; then
|
||||||
|
echo "o Create config-diff.xml from own config to new config..." || :
|
||||||
gerbera --create-config | sudo tee /etc/gerbera/config-new.xml || :
|
gerbera --create-config | sudo tee /etc/gerbera/config-new.xml || :
|
||||||
diff /etc/gerbera/config.xml /etc/gerbera/config-new.xml > config-diff.xml || :
|
sed -i -e 's|<home>/root/</home>|<home>/etc/gerbera</home>|g' /etc/gerbera/config-new.xml || :
|
||||||
|
sed -i -e 's|<database-file>gerbera.db</database-file>|<database-file>/var/lib/gerbera/gerbera.db</database-file>|g' /etc/gerbera/config-new.xml || :
|
||||||
|
diff /etc/gerbera/config.xml /etc/gerbera/config-new.xml > /etc/gerbera/config-diff.xml || :
|
||||||
fi
|
fi
|
||||||
|
echo "o Create new config-example.xml with almost all options..." || :
|
||||||
gerbera --create-example-config | sudo tee /etc/gerbera/config-example.xml || :
|
gerbera --create-example-config | sudo tee /etc/gerbera/config-example.xml || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -190,9 +203,10 @@ gerbera --create-example-config | sudo tee /etc/gerbera/config-example.xml || :
|
|||||||
%files
|
%files
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%doc AUTHORS CONTRIBUTING.md ChangeLog.md README.SUSE
|
%doc AUTHORS CONTRIBUTING.md ChangeLog.md README.SUSE
|
||||||
%attr(-,gerbera,gerbera)%dir %{_sysconfdir}/%{name}/
|
%dir %attr(0750,gerbera,gerbera) %{_sysconfdir}/%{name}
|
||||||
%attr(-,gerbera,gerbera)%config(noreplace) %{_sysconfdir}/%{name}/*
|
%attr(640,gerbera,gerbera)%config(noreplace) %{_sysconfdir}/%{name}/*
|
||||||
%attr(-,gerbera,gerbera) %{_localstatedir}/log/%{name}
|
%dir %attr(0750,gerbera,gerbera) %{_localstatedir}/log/%{name}
|
||||||
|
%dir %attr(0750,gerbera,gerbera) %{_localstatedir}/lib/%{name}
|
||||||
%dir %{_sysconfdir}/logrotate.d
|
%dir %{_sysconfdir}/logrotate.d
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
u gerbera - "Gerbera daemon user" /var/lib/gerbera -
|
u gerbera - "Gerbera daemon user" /var/lib/gerbera -
|
||||||
m gerbera video - - -
|
m gerbera gerbera - - -
|
||||||
|
m gerbera www - - -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user