[packages/xeve] - updated to 0.7.1
qboosh
qboosh at pld-linux.org
Mon Oct 12 22:15:13 CEST 2026
commit e3f144cb782f7eff50ab412e8fb48df0c978134d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 12 22:15:40 2026 +0200
- updated to 0.7.1
xeve-link.patch | 20 --------------------
xeve-pc.patch | 52 ++++++++++++++++++++++++++++++----------------------
xeve-string.patch | 43 ++++++++++++++++++++++++++++---------------
xeve.spec | 18 ++++++++----------
4 files changed, 66 insertions(+), 67 deletions(-)
---
diff --git a/xeve.spec b/xeve.spec
index ff119da..15d214c 100644
--- a/xeve.spec
+++ b/xeve.spec
@@ -5,15 +5,14 @@
Summary: eXtra-fast Essential Video Encoder (MPEG-5 EVC)
Summary(pl.UTF-8): eXtra-fast Essential Video Encoder - szybki koder obrazu MPEG-5 EVC
Name: xeve
-Version: 0.5.1
+Version: 0.7.1
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/mpeg5/xeve/releases
Source0: https://github.com/mpeg5/xeve/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ac296018c6fdb43459d31b2547b82b68
+# Source0-md5: 12690173b3a7b51c10a068aba652d923
Patch0: %{name}-string.patch
-Patch1: %{name}-link.patch
Patch2: %{name}-dynamic.patch
Patch3: %{name}-pc.patch
URL: https://github.com/mpeg5/xeve
@@ -127,7 +126,6 @@ Statyczna biblioteka XEVE (profil Baseline).
%prep
%setup -q
%patch -P0 -p1
-%patch -P1 -p1
%patch -P2 -p1
%patch -P3 -p1
@@ -171,12 +169,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc COPYING README.md
%attr(755,root,root) %{_bindir}/xeve_app
-%attr(755,root,root) %{_libdir}/libxeve.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxeve.so.0
+%{_libdir}/libxeve.so.*.*
+%ghost %{_libdir}/libxeve.so.0
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxeve.so
+%{_libdir}/libxeve.so
%{_includedir}/xeve
%{_pkgconfigdir}/xeve.pc
@@ -190,12 +188,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc COPYING README.md
%attr(755,root,root) %{_bindir}/xeveb_app
-%attr(755,root,root) %{_libdir}/libxeveb.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxeveb.so.0
+%{_libdir}/libxeveb.so.*.*
+%ghost %{_libdir}/libxeveb.so.0
%files base-devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxeveb.so
+%{_libdir}/libxeveb.so
%{_includedir}/xeveb
%{_pkgconfigdir}/xeveb.pc
diff --git a/xeve-link.patch b/xeve-link.patch
deleted file mode 100644
index d46930a..0000000
--- a/xeve-link.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- xeve-0.4.3-3890dae6/src_main/CMakeLists.txt.orig 2022-12-21 06:54:14.000000000 +0100
-+++ xeve-0.4.3-3890dae6/src_main/CMakeLists.txt 2024-04-13 20:53:32.812477103 +0200
-@@ -103,6 +103,7 @@ elseif( UNIX OR MINGW )
-
- target_compile_definitions( ${LIB_NAME} PUBLIC ANY LINUX )
- target_link_libraries(${LIB_NAME} m)
-+ target_link_libraries(${LIB_NAME}_dynamic m)
- endif()
-
- # Install rules
---- xeve-0.4.3-3890dae6/src_base/CMakeLists.txt.orig 2022-12-21 06:54:14.000000000 +0100
-+++ xeve-0.4.3-3890dae6/src_base/CMakeLists.txt 2024-04-13 20:53:45.202409981 +0200
-@@ -91,6 +91,7 @@ elseif( UNIX OR MINGW )
- LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
- target_compile_definitions( ${LIB_NAME_BASE} PUBLIC ANY LINUX )
- target_link_libraries(${LIB_NAME_BASE} m)
-+ target_link_libraries(${LIB_NAME_BASE}_dynamic m)
- endif()
-
- # Install rules
diff --git a/xeve-pc.patch b/xeve-pc.patch
index d1d5420..8d01936 100644
--- a/xeve-pc.patch
+++ b/xeve-pc.patch
@@ -1,28 +1,36 @@
---- xeve-0.4.3-3890dae6/pkgconfig/xeveb.pc.in.orig 2022-12-21 06:54:14.000000000 +0100
-+++ xeve-0.4.3-3890dae6/pkgconfig/xeveb.pc.in 2024-04-14 20:57:57.712973066 +0200
-@@ -1,8 +1,8 @@
+--- xeve-0.7.1/pkgconfig/xeveb.pc.in.orig 2026-10-09 13:17:21.000000000 +0200
++++ xeve-0.7.1/pkgconfig/xeveb.pc.in 2026-10-12 21:41:24.532428724 +0200
+@@ -1,6 +1,6 @@
# --- xeveb.pc.in file ---
prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@
--libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
--includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@LIB_NAME_BASE@
-+exec_prefix=${prefix}
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME_BASE@
+-exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
++exec_prefix=@CMAKE_INSTALL_PREFIX@
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME_BASE@
- Name: xeveb
- Description: eXtra-fast Essential Video Encoder (XEVE) (BASE profile)
---- xeve-0.4.3-3890dae6/pkgconfig/xeve.pc.in.orig 2022-12-21 06:54:14.000000000 +0100
-+++ xeve-0.4.3-3890dae6/pkgconfig/xeve.pc.in 2024-04-14 20:59:01.075963132 +0200
-@@ -1,8 +1,8 @@
+@@ -11,6 +11,6 @@ Version: @PROJECT_VERSION_MAJOR at .@PROJEC
+
+ Requires:
+ Libs: -L${libdir} -lxeveb
+-Libs.private: -L${libdir}/@LIB_NAME_BASE@ -lm
++Libs.private: -lm
+
+ Cflags: -I${includedir}
+--- xeve-0.7.1/pkgconfig/xeve.pc.in.orig 2026-10-09 13:17:21.000000000 +0200
++++ xeve-0.7.1/pkgconfig/xeve.pc.in 2026-10-12 21:41:46.872307699 +0200
+@@ -1,6 +1,6 @@
# --- xeve.pc.in file ---
prefix=@CMAKE_INSTALL_PREFIX@
--exec_prefix=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@
--libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
--includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@LIB_NAME@
-+exec_prefix=${prefix}
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME@
+-exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
++exec_prefix=@CMAKE_INSTALL_PREFIX@
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME@
+
+@@ -11,6 +11,6 @@ Version: @PROJECT_VERSION_MAJOR at .@PROJEC
+
+ Requires:
+ Libs: -L${libdir} -lxeve
+-Libs.private: -L${libdir}/@LIB_NAME@ -lm
++Libs.private: -lm
- Name: xeve
- Description: eXtra-fast Essential Video Encoder (XEVE) (MAIN profile)
+ Cflags: -I${includedir}
diff --git a/xeve-string.patch b/xeve-string.patch
index 70f7345..19006fd 100644
--- a/xeve-string.patch
+++ b/xeve-string.patch
@@ -1,22 +1,35 @@
---- xeve-0.4.3-3890dae6/app/xeve_app_util.h.orig 2022-12-21 06:54:14.000000000 +0100
-+++ xeve-0.4.3-3890dae6/app/xeve_app_util.h 2024-04-13 20:33:44.722246873 +0200
-@@ -73,7 +73,7 @@ static void log_line(char * pre)
- len = (pre == NULL)? 0: (int)strlen(pre);
- if(len > 0)
- {
+--- xeve-0.7.1/app/xeve_app_util.h.orig 2026-10-09 13:17:21.000000000 +0200
++++ xeve-0.7.1/app/xeve_app_util.h 2026-10-12 21:35:38.604302777 +0200
+@@ -55,10 +55,10 @@ static void log_msg(char *filename, int
+ '\0',
+ };
+ if(filename != NULL && line >= 0)
+- sprintf(str, "[%s:%d] ", filename, line);
++ snprintf(str, 1024, "[%s:%d] ", filename, line);
+ va_list args;
+ va_start(args, fmt);
+- vsprintf(str + strlen(str), fmt, args);
++ vsnprintf(str + strlen(str), 1024 - strlen(str), fmt, args);
+ va_end(args);
+ printf("%s", str);
+ }
+@@ -77,7 +77,7 @@ static void log_line(char *pre)
+
+ len = (pre == NULL) ? 0 : (int)strlen(pre);
+ if(len > 0) {
- sprintf(str + 3, " %s ", pre);
+ snprintf(str + 3, 125, " %s ", pre);
len = (int)strlen(str);
}
---- xeve-0.4.3-3890dae6/CMakeLists.txt.orig 2022-12-21 06:54:14.000000000 +0100
-+++ xeve-0.4.3-3890dae6/CMakeLists.txt 2024-04-13 20:34:16.332075628 +0200
-@@ -104,7 +104,7 @@ elseif( UNIX OR MINGW )
- endif()
+--- xeve-0.7.1/CMakeLists.txt.orig 2026-10-09 13:17:21.000000000 +0200
++++ xeve-0.7.1/CMakeLists.txt 2026-10-12 21:36:27.284039057 +0200
+@@ -137,7 +137,7 @@ elseif( UNIX OR MINGW )
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OPT_DBG} -${OPT_LV} -fomit-frame-pointer -Wall -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Werror -Wno-strict-overflow -Wno-unknown-pragmas -Wno-stringop-overflow -std=c99")
-- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pointer-sign -pthread -Wno-pointer-to-int-cast -Wno-maybe-uninitialized")
-+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pointer-sign -pthread -Wno-pointer-to-int-cast -Wno-maybe-uninitialized -Wno-format-truncation")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OPT_DBG} -${OPT_LV} -fomit-frame-pointer -pthread -std=c99")
+ #TODO: fix suppressed problems
+- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wno-pointer-sign -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Wno-strict-overflow -Wno-unknown-pragmas -Wno-stringop-overflow -Wno-pointer-to-int-cast -Wno-maybe-uninitialized")
++ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wno-pointer-sign -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Wno-strict-overflow -Wno-unknown-pragmas -Wno-stringop-overflow -Wno-pointer-to-int-cast -Wno-maybe-uninitialized -Wno-format-truncation")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lm")
- endif()
-
+ else()
+ message("Unknown compiler")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xeve.git/commitdiff/e3f144cb782f7eff50ab412e8fb48df0c978134d
More information about the pld-cvs-commit
mailing list