Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lsdvd for openSUSE:Factory checked 
in at 2026-04-08 17:17:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsdvd (Old)
 and      /work/SRC/openSUSE:Factory/.lsdvd.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lsdvd"

Wed Apr  8 17:17:54 2026 rev:4 rq:1345172 version:0.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/lsdvd/lsdvd.changes      2025-10-18 
14:37:38.529985735 +0200
+++ /work/SRC/openSUSE:Factory/.lsdvd.new.21863/lsdvd.changes   2026-04-08 
17:18:25.990591178 +0200
@@ -1,0 +2,10 @@
+Tue Apr  7 11:12:48 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 0.21
+  * Corrected python self test.
+  * Migrated to newer API methods to work with newer libxml.
+    Tested with libxml >= 2.9.
+- Drop patch:
+  * fix-input-XML_DEPRECATED_MEMBER.patch (not longer needed)
+
+-------------------------------------------------------------------

Old:
----
  fix-input-XML_DEPRECATED_MEMBER.patch
  lsdvd-0.20.tar.xz

New:
----
  lsdvd-0.21.tar.xz

----------(Old B)----------
  Old:- Drop patch:
  * fix-input-XML_DEPRECATED_MEMBER.patch (not longer needed)
----------(Old E)----------

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

Other differences:
------------------
++++++ lsdvd.spec ++++++
--- /var/tmp/diff_new_pack.2cufsc/_old  2026-04-08 17:18:26.542613909 +0200
+++ /var/tmp/diff_new_pack.2cufsc/_new  2026-04-08 17:18:26.546614073 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsdvd
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2006-2009 Manfred Tremmel <[email protected]>
 # Copyright (c) 2004 Rainer Lay <[email protected]>
 #
@@ -23,14 +23,13 @@
 %bcond_with tests
 
 Name:           lsdvd
-Version:        0.20
+Version:        0.21
 Release:        0
 Summary:        A ls for video DVDs
 Summary(de):    Ein ls für Video DVDs
 License:        GPL-2.0-only
 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
@@ -54,9 +53,6 @@
 
 %prep
 %setup -q
-%if %{pkg_vcmp libxml2-devel >= 2.14.5}
-%patch -P 0 -p1
-%endif
 
 %build
 export CC=gcc
@@ -76,8 +72,8 @@
 %endif
 
 %files
-%doc AUTHORS ChangeLog README
 %license COPYING
+%doc AUTHORS ChangeLog README
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{ext_man}
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.2cufsc/_old  2026-04-08 17:18:26.590615885 +0200
+++ /var/tmp/diff_new_pack.2cufsc/_new  2026-04-08 17:18:26.594616050 +0200
@@ -1,17 +1,16 @@
 <services>
-  <service mode="manual" name="tar_scm">
+  <service name="tar_scm" mode="manual">
     <param name="url">git://git.code.sf.net/p/lsdvd/git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">0.20</param>
+    <param name="revision">0.21</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="filename">lsdvd</param>
   </service>
-  <service mode="manual" name="recompress">
+  <service name="recompress" mode="manual">
     <param name="file">*.tar</param>
     <param name="compression">xz</param>
   </service>
-  <service mode="manual" name="set_version" />
+  <service name="set_version" mode="manual"/>
 </services>
 
-

++++++ lsdvd-0.20.tar.xz -> lsdvd-0.21.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsdvd-0.20/ChangeLog new/lsdvd-0.21/ChangeLog
--- old/lsdvd-0.20/ChangeLog    2025-03-06 15:54:47.000000000 +0100
+++ new/lsdvd-0.21/ChangeLog    2025-12-02 10:07:04.000000000 +0100
@@ -1,3 +1,8 @@
+2025-12-02 0.21
+ * Corrected python self test.
+ * Migrated to newer API methods to work with newer libxml.  Tested
+   with libxml >= 2.9.
+
 2025-03-06 0.20
 
  * Adjusted use of libdvdread to log to stderr not stdout, to avoid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsdvd-0.20/configure.ac new/lsdvd-0.21/configure.ac
--- old/lsdvd-0.20/configure.ac 2025-03-06 15:54:47.000000000 +0100
+++ new/lsdvd-0.21/configure.ac 2025-12-02 10:07:04.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([lsdvd], [0.20])
+AC_INIT([lsdvd], [0.21])
 AM_INIT_AUTOMAKE([foreign])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AC_PROG_CC
@@ -7,6 +7,6 @@
 CFLAGS="${CFLAGS} -g"
 AC_SYS_LARGEFILE
 PKG_CHECK_MODULES([DVDREAD], [dvdread >= 4.1.3])
-PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6.0])
+PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.9.0])
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsdvd-0.20/oxml.c new/lsdvd-0.21/oxml.c
--- old/lsdvd-0.20/oxml.c       2025-03-06 15:54:47.000000000 +0100
+++ new/lsdvd-0.21/oxml.c       2025-12-02 10:07:04.000000000 +0100
@@ -21,9 +21,9 @@
 ConvertInput(const char *in, const char *encoding)
 {
        xmlChar *out;
-       int size;
-       int out_size;
        xmlCharEncodingHandlerPtr handler;
+       xmlBufferPtr inbuf, outbuf;
+       int ret;
 
        if (in == 0)
                return 0;
@@ -36,34 +36,34 @@
                return 0;
        }
 
-       size = (int) strlen(in) + 1;
-       out_size = size * 4 - 1; // Assume max 4 bytes for each character in 
UTF-8
-       out = (unsigned char *) xmlMalloc((size_t) out_size);
-
-       if (out != 0) {
-               int ret;
-               int temp;
-               temp = size - 1;
-               ret = handler->input(out, &out_size, (const xmlChar *) in, 
&temp);
-               if ((ret < 0) || (temp - size + 1)) {
-                       if (ret < 0) {
-                               printf("ConvertInput: conversion wasn't 
successful.\n");
-                       } else {
-                               printf
-                                 ("ConvertInput: conversion wasn't successful. 
converted: %i octets.\n",
-                                  temp);
-                       }
-
-                       xmlFree(out);
-                       out = NULL;
-               } else {
-                       out = (unsigned char *) xmlRealloc(out, out_size + 1);
-                       out[out_size] = 0;  /*null terminating out */
-               }
-       } else {
-               printf("ConvertInput: no mem\n");
+       inbuf = xmlBufferCreate();
+       if (inbuf)
+               xmlBufferAdd(inbuf, (const xmlChar *)in, strlen(in));
+       outbuf = xmlBufferCreate();
+
+       if (inbuf == NULL || outbuf == NULL) {
+               printf("ConvertInput: unable to allocate memory\n");
+               if (inbuf) xmlBufferFree(inbuf);
+               if (outbuf) xmlBufferFree(outbuf);
+               xmlCharEncCloseFunc(handler);
+               return 0;
+       }
+
+       ret = xmlCharEncInFunc(handler, outbuf, inbuf);
+       if (ret < 0) {
+               printf("ConvertInput: charset encoding conversion failed.\n");
+               xmlBufferFree(inbuf);
+               xmlBufferFree(outbuf);
+               xmlCharEncCloseFunc(handler);
+               return 0;
        }
 
+       out = xmlStrdup(xmlBufferContent(outbuf));
+
+       xmlBufferFree(inbuf);
+       xmlBufferFree(outbuf);
+       xmlCharEncCloseFunc(handler);
+
        return out;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lsdvd-0.20/testsuite/output-python 
new/lsdvd-0.21/testsuite/output-python
--- old/lsdvd-0.20/testsuite/output-python      2025-03-06 15:54:47.000000000 
+0100
+++ new/lsdvd-0.21/testsuite/output-python      2025-12-02 10:07:04.000000000 
+0100
@@ -2,6 +2,10 @@
 
 set -e
 
-./lsdvd -Oy -x testsuite/dvd-pal.iso > testsuite/lsdvd.py
+./lsdvd -Oy -x testsuite/dvd-pal.iso > testsuite/lsdvd-pal.py
 
-python3 testsuite/lsdvd.py
+python3 testsuite/lsdvd-pal.py
+
+./lsdvd -Oy -x testsuite/dvd-ntsc.iso > testsuite/lsdvd-ntsc.py
+
+python3 testsuite/lsdvd-ntsc.py

Reply via email to