Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package liboggz for openSUSE:Factory checked in at 2026-01-15 16:48:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liboggz (Old) and /work/SRC/openSUSE:Factory/.liboggz.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liboggz" Thu Jan 15 16:48:24 2026 rev:18 rq:1327353 version:1.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/liboggz/liboggz.changes 2025-03-10 18:49:11.248996603 +0100 +++ /work/SRC/openSUSE:Factory/.liboggz.new.1928/liboggz.changes 2026-01-15 16:49:44.684895156 +0100 @@ -1,0 +2,6 @@ +Mon Jan 12 16:56:56 UTC 2026 - Stefan BrĂ¼ns <[email protected]> + +- Fix writing of comments in FLAC, add + 0001-oggz-comment-Set-last-header-flag-for-vorbis-comment.patch + +------------------------------------------------------------------- New: ---- 0001-oggz-comment-Set-last-header-flag-for-vorbis-comment.patch ----------(New B)---------- New:- Fix writing of comments in FLAC, add 0001-oggz-comment-Set-last-header-flag-for-vorbis-comment.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liboggz.spec ++++++ --- /var/tmp/diff_new_pack.bV0DgH/_old 2026-01-15 16:49:45.500928247 +0100 +++ /var/tmp/diff_new_pack.bV0DgH/_new 2026-01-15 16:49:45.504928409 +0100 @@ -1,7 +1,7 @@ # # spec file for package liboggz # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2025 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -27,6 +27,7 @@ URL: https://xiph.org/oggz/ Source0: https://downloads.xiph.org/releases/liboggz/%{name}-%{version}.tar.gz Source1: baselibs.conf +Patch0: 0001-oggz-comment-Set-last-header-flag-for-vorbis-comment.patch BuildRequires: doxygen BuildRequires: pkgconfig BuildRequires: pkgconfig(ogg) ++++++ 0001-oggz-comment-Set-last-header-flag-for-vorbis-comment.patch ++++++ >From c01b93c23654f6942f391e84e297af6f3dfb9df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> Date: Mon, 12 Jan 2026 17:32:36 +0100 Subject: [PATCH] oggz-comment: Set last-header flag for vorbis comment in flac when needed The comment may be trailed by other headers like padding or picture, but if it is the last one/only header the appropriate flag has to be set. See liboggz#18. --- src/tools/oggz-comment.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tools/oggz-comment.c b/src/tools/oggz-comment.c index 2ac4edd..572cea6 100644 --- a/src/tools/oggz-comment.c +++ b/src/tools/oggz-comment.c @@ -272,6 +272,7 @@ read_packet (OGGZ * oggz, oggz_packet * zp, long serialno, void * user_data) const char * vendor; int flush, copy_op_flush = 0; int ret; + int flac_last_header = 0; #ifdef USE_FLUSH_NEXT flush = flush_next; @@ -302,6 +303,11 @@ read_packet (OGGZ * oggz, oggz_packet * zp, long serialno, void * user_data) copy_op_flush = flush; flush = 1; } + /* For FLAC, the last header packet has to be flagged */ + if (oggz_stream_get_content (oggz, serialno) == OGGZ_CONTENT_FLAC && + oggz_stream_get_numheaders (oggz, serialno) == 1) { + flac_last_header = 1; + } vendor = oggz_comment_get_vendor (ocdata->reader, serialno); @@ -316,7 +322,7 @@ read_packet (OGGZ * oggz, oggz_packet * zp, long serialno, void * user_data) oggz_comment_set_vendor (ocdata->writer, serialno, vendor); /* Generate the replacement comments packet */ - op = oggz_comments_generate (ocdata->writer, serialno, 0); + op = oggz_comments_generate (ocdata->writer, serialno, flac_last_header); } /* Feed the packet into the writer */ -- 2.52.0
