Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lsdvd for openSUSE:Factory checked 
in at 2025-10-18 14:36:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsdvd (Old)
 and      /work/SRC/openSUSE:Factory/.lsdvd.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lsdvd"

Sat Oct 18 14:36:27 2025 rev:3 rq:1312144 version:0.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/lsdvd/lsdvd.changes      2025-09-10 
17:30:21.593831333 +0200
+++ /work/SRC/openSUSE:Factory/.lsdvd.new.18484/lsdvd.changes   2025-10-18 
14:37:38.529985735 +0200
@@ -1,0 +2,17 @@
+Fri Oct 17 19:15:59 UTC 2025 - [email protected]
+
+- Fix patch fix-input-XML_DEPRECATED_MEMBER.patch:
+  The former causes a segfault in testsuite/output-xml
+- Add the section %check. Due to the packages required for this,
+  the tests are disabled and can be run locally, e.g., with
+  'osc build openSUSE_Tumbleweed x86_64 lsdvd.spec --with tests'
+
+-------------------------------------------------------------------
+Fri Oct 17 10:58:00 UTC 2025 - [email protected]
+
+- Add fix-input-XML_DEPRECATED_MEMBER.patch
+  * fixes 'error: called object is not a function or function pointer'
+    'ret = handler->input(out, &out_size, (const xmlChar *) in, &temp)'
+    in oxml.c for libxml2 >= 2.14.5
+
+-------------------------------------------------------------------

New:
----
  fix-input-XML_DEPRECATED_MEMBER.patch

----------(New B)----------
  New:
- Fix patch fix-input-XML_DEPRECATED_MEMBER.patch:
  The former causes a segfault in testsuite/output-xml
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lsdvd.spec ++++++
--- /var/tmp/diff_new_pack.ZdpSfN/_old  2025-10-18 14:37:39.014005984 +0200
+++ /var/tmp/diff_new_pack.ZdpSfN/_new  2025-10-18 14:37:39.018006151 +0200
@@ -18,15 +18,19 @@
 #
 
 
+# run tests locally, e.g., with
+# ‘osc build openSUSE_Tumbleweed x86_64 lsdvd.spec --with tests’
+%bcond_with tests
+
 Name:           lsdvd
 Version:        0.20
 Release:        0
 Summary:        A ls for video DVDs
 Summary(de):    Ein ls für Video DVDs
 License:        GPL-2.0-only
-Group:          Productivity/Multimedia/Other
-URL:            http://untrepid.com/lsdvd
+URL:            https://sourceforge.net/projects/lsdvd/
 Source0:        %{name}-%{version}.tar.xz
+Patch0:         fix-input-XML_DEPRECATED_MEMBER.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 %if 0%{?suse_version} == 1500
@@ -35,6 +39,12 @@
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(dvdread) >= 4.1.3.
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.6.0
+%if %{with tests}
+BuildRequires:  dvdauthor
+BuildRequires:  ffmpeg-4
+BuildRequires:  k3b
+BuildRequires:  ruby
+%endif
 
 %description
 A tool to display the directory of a video DVDs
@@ -43,7 +53,10 @@
 Ein Programm zur Anzeige des Inhalts einer Video-DVD
 
 %prep
-%autosetup -p1
+%setup -q
+%if %{pkg_vcmp libxml2-devel >= 2.14.5}
+%patch -P 0 -p1
+%endif
 
 %build
 export CC=gcc
@@ -55,6 +68,13 @@
 %install
 %make_install
 
+%check
+export PATH=%{buildroot}%{_bindir}:$PATH
+%{name} -V
+%if %{with tests}
+%make_build check
+%endif
+
 %files
 %doc AUTHORS ChangeLog README
 %license COPYING

++++++ fix-input-XML_DEPRECATED_MEMBER.patch ++++++
--- a/oxml.c
+++ b/oxml.c
@@ -44,7 +44,7 @@ ConvertInput(const char *in, const char
                int ret;
                int temp;
                temp = size - 1;
-               ret = handler->input(out, &out_size, (const xmlChar *) in, 
&temp);
+               ret = handler->input.func(NULL, out, &out_size, (const xmlChar 
*) in, &temp, 0);
                if ((ret < 0) || (temp - size + 1)) {
                        if (ret < 0) {
                                printf("ConvertInput: conversion wasn't 
successful.\n");

Reply via email to