Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libmp4tag for openSUSE:Factory 
checked in at 2026-02-09 15:34:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmp4tag (Old)
 and      /work/SRC/openSUSE:Factory/.libmp4tag.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libmp4tag"

Mon Feb  9 15:34:44 2026 rev:3 rq:1331894 version:2.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libmp4tag/libmp4tag.changes      2026-01-22 
15:17:21.966195723 +0100
+++ /work/SRC/openSUSE:Factory/.libmp4tag.new.1670/libmp4tag.changes    
2026-02-09 15:34:48.695297616 +0100
@@ -1,0 +2,7 @@
+Sun Feb  8 18:29:53 UTC 2026 - Andreas Stieger <[email protected]>
+
+- update to 2.0.3:
+  * Fix compilation of user libmp4tag.h file
+- drop libmp4tag-2.0.0-remove-rpath.patch
+
+-------------------------------------------------------------------

Old:
----
  libmp4tag-2.0.0-remove-rpath.patch
  libmp4tag-src-2.0.2.tar.gz

New:
----
  libmp4tag-src-2.0.3.tar.gz

----------(Old B)----------
  Old:  * Fix compilation of user libmp4tag.h file
- drop libmp4tag-2.0.0-remove-rpath.patch
----------(Old E)----------

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

Other differences:
------------------
++++++ libmp4tag.spec ++++++
--- /var/tmp/diff_new_pack.kLXqzl/_old  2026-02-09 15:34:49.307323358 +0100
+++ /var/tmp/diff_new_pack.kLXqzl/_new  2026-02-09 15:34:49.311323526 +0100
@@ -18,13 +18,12 @@
 
 %define sover 2
 Name:           libmp4tag
-Version:        2.0.2
+Version:        2.0.3
 Release:        0
 Summary:        MP4 tagging library
 License:        Zlib
 URL:            https://libmp4tag.sourceforge.io/
 Source:         
https://sourceforge.net/projects/libmp4tag/files/%{name}-src-%{version}.tar.gz
-Patch0:         libmp4tag-2.0.0-remove-rpath.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake >= 3.18
 
@@ -70,6 +69,7 @@
 %build
 %cmake \
        -DCMAKE_PROJECT_VERSION="%{version}" \
+       -DCMAKE_SKIP_RPATH:BOOL=TRUE \
        %{nil}
 %cmake_build
 

++++++ libmp4tag-src-2.0.2.tar.gz -> libmp4tag-src-2.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/CMakeLists.txt 
new/libmp4tag-2.0.3/CMakeLists.txt
--- old/libmp4tag-2.0.2/CMakeLists.txt  2026-01-20 17:44:28.000000000 +0100
+++ new/libmp4tag-2.0.3/CMakeLists.txt  2026-02-08 15:07:33.000000000 +0100
@@ -34,6 +34,19 @@
   LANGUAGES C
 )
 
+if (CMAKE_SYSTEM_NAME STREQUAL CYGWIN)
+  set (SYSWIN T)
+endif()
+if (CMAKE_SYSTEM_NAME STREQUAL Windows)
+  set (SYSWIN T)
+endif()
+if (CMAKE_SYSTEM_NAME STREQUAL Linux)
+  set (SYSLINUX T)
+endif()
+if (CMAKE_SYSTEM_NAME STREQUAL Darwin)
+  set (SYSMACOS T)
+endif()
+
 # It is possible that the so-version may not match the main version
 # in some future.  This would need to be changed.
 string (REGEX REPLACE "\\..*" "" LIBMP4TAG_SOVERSION ${LIBMP4TAG_VERSION})
@@ -51,8 +64,8 @@
 include (CheckStructHasMember)
 
 set (LIBMP4TAG_LIBNAME libmp4tag)
-if (WIN32)
-  # msys2 loves to put the lib prefix in front
+if (SYSWIN)
+  # cmake on msys2 loves to put the lib prefix in front
   # difficult to work around
   set (LIBMP4TAG_LIBNAME mp4tag)
 endif()
@@ -152,7 +165,7 @@
 
 add_compile_options (-g)
 add_link_options (-g)
-if (NOT WIN32)
+if (NOT SYSWIN)
   checkAddLinkFlag ("-rdynamic")
 endif()
 
@@ -196,11 +209,11 @@
 
 #### system specific compile options
 
-if (NOT WIN32)
-  if (NOT APPLE)
+if (NOT SYSWIN)
+  if (SYSLINUX)
     SET (CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR} "\${ORIGIN}")
   endif()
-  if (APPLE)
+  if (SYSMACOS)
     SET (CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR} "@loader_path")
     # 10.6 = Snow Leopard, 10.7 = Lion
     # 10.8 = Mountain Lion, 10.9 = Mavericks
@@ -250,15 +263,15 @@
   mp4const.c
 )
 set_target_properties (${LIBMP4TAG_LIBNAME} PROPERTIES PREFIX "")
-if (WIN32)
+if (SYSWIN)
   set_target_properties (${LIBMP4TAG_LIBNAME} PROPERTIES PREFIX "lib")
 endif()
-if (WIN32)
+if (SYSWIN)
   target_link_libraries (${LIBMP4TAG_LIBNAME} PUBLIC ws2_32)
 endif()
 
 # I don't know if this is needed.  windows works fine for me.
-if (WIN32)
+if (SYSWIN)
   set_target_properties (${LIBMP4TAG_LIBNAME} PROPERTIES 
WINDOWS_EXPORT_ALL_SYMBOLS ON)
 endif()
 set_target_properties (${LIBMP4TAG_LIBNAME} PROPERTIES
@@ -274,7 +287,7 @@
 target_link_libraries (mp4tagcli PRIVATE
   ${LIBMP4TAG_LIBNAME}
 )
-if (WIN32)
+if (SYSWIN)
   target_link_libraries (mp4tagcli PUBLIC ws2_32)
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/VERSION.txt 
new/libmp4tag-2.0.3/VERSION.txt
--- old/libmp4tag-2.0.2/VERSION.txt     2026-01-20 17:00:06.000000000 +0100
+++ new/libmp4tag-2.0.3/VERSION.txt     2026-02-08 14:45:08.000000000 +0100
@@ -1,2 +1,2 @@
-LIBMP4TAG_VERSION=2.0.2
+LIBMP4TAG_VERSION=2.0.3
 export LIBMP4TAG_VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/libmp4tag.c 
new/libmp4tag-2.0.3/libmp4tag.c
--- old/libmp4tag-2.0.2/libmp4tag.c     2026-01-20 16:34:17.000000000 +0100
+++ new/libmp4tag-2.0.3/libmp4tag.c     2026-02-08 14:44:44.000000000 +0100
@@ -24,7 +24,6 @@
 
 #include "libmp4tag.h"
 #include "mp4tagint.h"
-#include "nodiscard.h"
 
 /* these error strings are only for debugging purposes, and */
 /* do not need to be translated */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/libmp4tag.h.in 
new/libmp4tag-2.0.3/libmp4tag.h.in
--- old/libmp4tag-2.0.2/libmp4tag.h.in  2026-01-20 17:38:22.000000000 +0100
+++ new/libmp4tag-2.0.3/libmp4tag.h.in  2026-02-08 14:27:26.000000000 +0100
@@ -7,8 +7,19 @@
 #include <stddef.h>
 #include <stdbool.h>
 #include <stdint.h>
+#include <stdio.h>
 
-#include "nodiscard.h"
+#if __STDC_VERSION__ < 202000
+# undef NODISCARD
+# define NODISCARD __attribute__ ((warn_unused_result))
+#endif
+#if __STDC_VERSION__ >= 202000
+# undef NODISCARD
+# define NODISCARD [[nodiscard]]
+#endif
+#if ! defined (NODISCARD)
+# define NODISCARD
+#endif
 
 #if defined (__cplusplus) || defined (c_plusplus)
 extern "C" {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/libmp4tag.pc.in 
new/libmp4tag-2.0.3/libmp4tag.pc.in
--- old/libmp4tag-2.0.2/libmp4tag.pc.in 2025-06-30 16:24:57.000000000 +0200
+++ new/libmp4tag-2.0.3/libmp4tag.pc.in 2026-02-04 19:57:14.000000000 +0100
@@ -3,7 +3,7 @@
 libdir=@CMAKE_INSTALL_FULL_LIBDIR@
 
 Name: libmp4tag
-Description: MP4 tagging lbirary
+Description: MP4 tagging library
 Version: @LIBMP4TAG_VERSION@
 URL: https://sourceforge.net/project/libmp4tag/
 Libs: -L${libdir} -lmp4tag
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/mp4tagfileop.c 
new/libmp4tag-2.0.3/mp4tagfileop.c
--- old/libmp4tag-2.0.2/mp4tagfileop.c  2026-01-20 16:34:13.000000000 +0100
+++ new/libmp4tag-2.0.3/mp4tagfileop.c  2026-02-08 15:14:54.000000000 +0100
@@ -17,10 +17,12 @@
 # define WIN32_LEAN_AND_MEAN 1
 # include <windows.h>
 #endif
+#if __has_include (<io.h>)
+# include <io.h>
+#endif
 
 #include "libmp4tag.h"
 #include "mp4tagint.h"
-#include "nodiscard.h"
 
 NODISCARD
 FILE *
@@ -196,8 +198,8 @@
     FILETIME    atime;
     FILETIME    wtime;
 
-    ih = (HANDLE) _get_osfhandle (_fileno (ifh));
-    oh = (HANDLE) _get_osfhandle (_fileno (ofh));
+    ih = (HANDLE) _get_osfhandle (fileno (ifh));
+    oh = (HANDLE) _get_osfhandle (fileno (ofh));
     /* the windows api documentation states that a non-zero return value */
     /* indicates success */
     if (GetFileTime (ih, &ctime, &atime, &wtime) != 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/mp4tagint.h 
new/libmp4tag-2.0.3/mp4tagint.h
--- old/libmp4tag-2.0.2/mp4tagint.h     2026-01-20 17:46:16.000000000 +0100
+++ new/libmp4tag-2.0.3/mp4tagint.h     2026-02-08 14:43:53.000000000 +0100
@@ -11,7 +11,6 @@
 #include <stdint.h>
 
 #include "libmp4tag.h"
-#include "nodiscard.h"
 
 #if defined (__cplusplus) || defined (c_plusplus)
 extern "C" {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/mp4tagutil.c 
new/libmp4tag-2.0.3/mp4tagutil.c
--- old/libmp4tag-2.0.2/mp4tagutil.c    2026-01-20 16:34:09.000000000 +0100
+++ new/libmp4tag-2.0.3/mp4tagutil.c    2026-02-08 14:44:20.000000000 +0100
@@ -19,7 +19,6 @@
 
 #include "libmp4tag.h"
 #include "mp4tagint.h"
-#include "nodiscard.h"
 
 const char *MP4TAG_INPUT_DELIM = ":";
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/mp4tagwrite.c 
new/libmp4tag-2.0.3/mp4tagwrite.c
--- old/libmp4tag-2.0.2/mp4tagwrite.c   2026-01-20 16:34:05.000000000 +0100
+++ new/libmp4tag-2.0.3/mp4tagwrite.c   2026-02-08 14:44:13.000000000 +0100
@@ -14,7 +14,6 @@
 #include "libmp4tag.h"
 #include "mp4tagint.h"
 #include "mp4tagbe.h"
-#include "nodiscard.h"
 
 static const char *MP4TAG_CUSTOM_DELIM = ":";
 static const char *MP4TAG_TEMP_SUFFIX = "-mp4tag.tmp";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/nodiscard.h 
new/libmp4tag-2.0.3/nodiscard.h
--- old/libmp4tag-2.0.2/nodiscard.h     2026-01-20 17:31:24.000000000 +0100
+++ new/libmp4tag-2.0.3/nodiscard.h     1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-/*
- * Copyright 2025-2026 Brad Lanam Pleasant Hill CA
- */
-#pragma once
-
-#if __STDC_VERSION__ < 202000
-# undef NODISCARD
-# define NODISCARD __attribute__ ((warn_unused_result))
-#endif
-#if __STDC_VERSION__ >= 202000
-# undef NODISCARD
-# define NODISCARD [[nodiscard]]
-#endif
-#if __STDC_VERSION__ >= 202000 && defined (__has_cpp_attribute)
-# if ! defined (NODISCARD) && __has_cpp_attribute( nodiscard )
-#  undef NODISCARD
-#  define NODISCARD [[nodiscard]]
-# endif
-#endif
-#if ! defined (NODISCARD)
-# define NODISCARD
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmp4tag-2.0.2/wiki/ChangeLog.txt 
new/libmp4tag-2.0.3/wiki/ChangeLog.txt
--- old/libmp4tag-2.0.2/wiki/ChangeLog.txt      2026-01-20 17:41:43.000000000 
+0100
+++ new/libmp4tag-2.0.3/wiki/ChangeLog.txt      2026-02-08 15:01:30.000000000 
+0100
@@ -6,6 +6,12 @@
 
 -->
 
+**2.0.3 2026-2-8**
+
+* Bug Fixes:
+    * Fix compilation of user libmp4tag.h file.
+    * Fix build for Cygwin.
+
 **2.0.2 2026-1-20**
 
 * Bug Fixes:

Reply via email to