public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Simone Caronni <negativo17@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xeve] rawhide: Update to 0.7.0
Date: Mon, 10 Aug 2026 14:37:27 GMT [thread overview]
Message-ID: <178637264768.1.13601771472625771408.rpms-xeve-a624b988a786@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xeve
Branch : rawhide
Commit : a624b988a78625676090e0ed6e090db657dc5546
Author : Simone Caronni <negativo17@gmail.com>
Date : 2026-08-10T16:37:12+02:00
Stats : +15/-183 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/xeve/c/a624b988a78625676090e0ed6e090db657dc5546?branch=rawhide
Log:
Update to 0.7.0
---
diff --git a/.gitignore b/.gitignore
index 23550b4..cbea80f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/xeve-free-0.5.1.tar.gz
+/xeve-free-0.7.0.tar.gz
diff --git a/sources b/sources
index 9a9ffa2..9852de7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xeve-free-0.5.1.tar.gz) = 12257fe2960eb2f328dc975271b98e1ca8b3fd08cd302a44bb70b6eea7a4955a33cd765162410f79ada83612b5d1939b2602044f090fa850b89f1b6f48c0ddce
+SHA512 (xeve-free-0.7.0.tar.gz) = 62c64c0b8e5a1ad830dbec8d974079122734e20e65fd6cba2736639b7bd90f358c992e58d6cfe708e0d5efeaa3f675b2ba44c2dfa31dc762d06c002d59b14e33
diff --git a/xeve-fix-build-i386.patch b/xeve-fix-build-i386.patch
new file mode 100644
index 0000000..6197948
--- /dev/null
+++ b/xeve-fix-build-i386.patch
@@ -0,0 +1,11 @@
+--- a/app/xeve_app_util.h
++++ b/app/xeve_app_util.h
+@@ -77,7 +77,7 @@
+
+ len = (pre == NULL) ? 0 : (int)strlen(pre);
+ if(len > 0) {
+- sprintf(str + 3, " %s ", pre);
++ snprintf(str + 3, sizeof(str) - 3, " %.73s ", pre);
+ len = (int)strlen(str);
+ }
+
diff --git a/xeve-fix-build-on-non-x86.patch b/xeve-fix-build-on-non-x86.patch
deleted file mode 100644
index a6d48dc..0000000
--- a/xeve-fix-build-on-non-x86.patch
+++ /dev/null
@@ -1,149 +0,0 @@
-diff -up xeve-0.5.1/CMakeLists.txt.orig xeve-0.5.1/CMakeLists.txt
---- xeve-0.5.1/CMakeLists.txt.orig 2024-06-24 09:49:08.000000000 +0200
-+++ xeve-0.5.1/CMakeLists.txt 2025-05-13 15:28:46.125587162 +0200
-@@ -59,15 +59,6 @@ if(NOT SET_PROF)
- set(SET_PROF "MAIN")
- endif()
-
--if(NOT ARM)
-- set(ARM "FALSE")
--else()
-- add_definitions(-DARM=1)
-- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -flax-vector-conversions")
-- set(CMAKE_EXE_LINKER_FLAGS "-static")
--endif()
--message("ARM=${ARM}")
--
- if(("${SET_PROF}" STREQUAL "MAIN") OR ("${SET_PROF}" STREQUAL "BASE"))
- message("SET_PROF=${SET_PROF}")
- else()
-@@ -103,8 +94,7 @@ elseif( UNIX OR MINGW )
- set(OPT_DBG "-DNDEBUG") # disable assert
- endif()
-
-- 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} ${OPT_DBG} -${OPT_LV} -Wall -std=c99 -pthread")
- set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lm")
- endif()
-
-diff -up xeve-0.5.1/src_base/CMakeLists.txt.orig xeve-0.5.1/src_base/CMakeLists.txt
---- xeve-0.5.1/src_base/CMakeLists.txt.orig 2024-06-24 09:49:08.000000000 +0200
-+++ xeve-0.5.1/src_base/CMakeLists.txt 2025-05-13 15:32:27.639434967 +0200
-@@ -17,15 +17,25 @@ file (GLOB LIB_NEON_INC "./neon/xeve_*.h
- include(GenerateExportHeader)
- include_directories("${CMAKE_BINARY_DIR}")
-
-+set(ARM "FALSE")
-+message("SYSTEM_PROCESSOR=${CMAKE_SYSTEM_PROCESSOR}")
-+if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^(arm|aarch)")
-+ set(ARM "TRUE")
-+elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^(x86|ia64|i386|i686)")
-+ set(X86 "TRUE")
-+endif()
-
- if("${ARM}" STREQUAL "TRUE")
- add_library( ${LIB_NAME_BASE} STATIC ${LIB_API_SRC} ${XEVE_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} ${LIB_NEON_INC} ${LIB_NEON_SRC})
- add_library( ${LIB_NAME_BASE}_dynamic SHARED ${LIB_API_SRC} ${XEVE_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} ${LIB_NEON_INC} ${LIB_NEON_SRC})
--else()
-+elseif(X86)
- add_library( ${LIB_NAME_BASE} STATIC ${LIB_API_SRC} ${XEVE_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} ${LIB_SSE_SRC} ${LIB_SSE_INC}
- ${LIB_AVX_SRC} ${LIB_AVX_INC} )
- add_library( ${LIB_NAME_BASE}_dynamic SHARED ${LIB_API_SRC} ${XEVE_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} ${LIB_SSE_SRC} ${LIB_SSE_INC}
- ${LIB_AVX_SRC} ${LIB_AVX_INC} )
-+else()
-+ add_library( ${LIB_NAME_BASE} STATIC ${LIB_API_SRC} ${XEVE_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} )
-+ add_library( ${LIB_NAME_BASE}_dynamic SHARED ${LIB_API_SRC} ${XEVE_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} )
- endif()
-
- set_target_properties(${LIB_NAME_BASE}_dynamic PROPERTIES VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} SOVERSION ${LIB_SOVERSION})
-@@ -57,10 +67,12 @@ source_group("base\\avx\\source" FILES $
- source_group("base\\neon\\header" FILES ${LIB_NEON_INC})
- source_group("base\\neon\\source" FILES ${LIB_NEON_SRC})
-
--if("${ARM}" STREQUAL "TRUE")
-+if(ARM)
- include_directories( ${LIB_NAME_BASE} PUBLIC . .. ../inc ./neon)
--else()
-+elseif(X86)
- include_directories( ${LIB_NAME_BASE} PUBLIC . .. ../inc ./sse ./avx)
-+else()
-+ include_directories( ${LIB_NAME_BASE} PUBLIC . .. ../inc)
- endif()
-
- set( SSE ${BASE_INC_FILES} ${LIB_SSE_SRC})
-@@ -83,7 +95,11 @@ if( MSVC )
- ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/import/lib)
-
- elseif( UNIX OR MINGW )
-- if("${ARM}" STREQUAL "FALSE")
-+ if(ARM)
-+ add_definitions(-DARM=1)
-+ set_property( SOURCE ${NEON} APPEND PROPERTY COMPILE_FLAGS "-flax-vector-conversions")
-+ elseif(X86)
-+ add_definitions(-DX86=1)
- set_property( SOURCE ${SSE} APPEND PROPERTY COMPILE_FLAGS "-msse4.1" )
- set_property( SOURCE ${AVX} APPEND PROPERTY COMPILE_FLAGS " -mavx2" )
- endif()
-diff -up xeve-0.5.1/src_base/xeve_def.h.orig xeve-0.5.1/src_base/xeve_def.h
---- xeve-0.5.1/src_base/xeve_def.h.orig 2024-06-24 09:49:08.000000000 +0200
-+++ xeve-0.5.1/src_base/xeve_def.h 2025-05-13 15:34:08.233577988 +0200
-@@ -1514,10 +1514,10 @@ enum TQC_RUN {
- #include "xeve_ipred.h"
- #include "xeve_picman.h"
- #include "xeve_mc.h"
--#ifndef ARM
-+#if defined(X86)
- #include "xeve_mc_sse.h"
- #include "xeve_mc_avx.h"
--#else
-+#elif defined(ARM)
- #include "xeve_mc_neon.h"
- #endif
- #include "xeve_type.h"
-diff -up xeve-0.5.1/src_base/xeve_port.h.orig xeve-0.5.1/src_base/xeve_port.h
---- xeve-0.5.1/src_base/xeve_port.h.orig 2024-06-24 09:49:08.000000000 +0200
-+++ xeve-0.5.1/src_base/xeve_port.h 2025-05-13 15:33:29.682925990 +0200
-@@ -138,10 +138,10 @@ void xeve_trace_line(char * pre);
- #define xeve_assert_gv(x,r,v,g) \
- {if(!(x)){assert(x); (r)=(v); goto g;}}
-
--#ifndef ARM
-+#if defined(X86)
- #define X86_SSE 1
- #define ARM_NEON 0
--#else
-+#elif defined (ARM)
- #define X86_SSE 0
- #define ARM_NEON 1
- #endif
-diff -up xeve-0.5.1/src_base/xeve_type.h.orig xeve-0.5.1/src_base/xeve_type.h
---- xeve-0.5.1/src_base/xeve_type.h.orig 2024-06-24 09:49:08.000000000 +0200
-+++ xeve-0.5.1/src_base/xeve_type.h 2025-05-13 16:02:07.223774021 +0200
-@@ -34,10 +34,10 @@
- #include "xeve_def.h"
- #include "xeve_bsw.h"
- #include "xeve_sad.h"
--#ifndef ARM
-+#if defined(X86)
- #include "xeve_sad_sse.h"
- #include "xeve_sad_avx.h"
--#else
-+#elif defined(ARM)
- #include "xeve_sad_neon.h"
- #endif
-
-@@ -1016,11 +1016,11 @@ typedef struct _ALF_SLICE_PARAM ALF_SLIC
- #include "xeve_tbl.h"
- #include "xeve_itdq.h"
-
--#ifndef ARM
-+#if defined(X86)
- #include "xeve_itdq_sse.h"
- #include "xeve_itdq_avx.h"
- #include "xeve_tq_avx.h"
--#else
-+#elif defined(ARM)
- #include "xeve_itdq_neon.h"
- #include "xeve_tq_neon.h"
- #endif
diff --git a/xeve-link-libm.patch b/xeve-link-libm.patch
deleted file mode 100644
index c499f49..0000000
--- a/xeve-link-libm.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 68831e71f74d00a66651d97ff7d45d68babf13a2 Mon Sep 17 00:00:00 2001
-From: Neal Gompa <neal@gompa.dev>
-Date: Sun, 24 Aug 2025 18:51:25 -0400
-Subject: [PATCH] src_base: cmake: Link libm for the shared library
-
-Otherwise it fails to link with errors like so:
-
-/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/libxeveb.so: undefined reference to 'log2'
-/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/libxeveb.so: undefined reference to 'pow'
----
- src_base/CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src_base/CMakeLists.txt b/src_base/CMakeLists.txt
-index 248af75..ae2ba2d 100644
---- a/src_base/CMakeLists.txt
-+++ b/src_base/CMakeLists.txt
-@@ -89,6 +89,7 @@ elseif( UNIX OR MINGW )
- endif()
- set_target_properties(${LIB_NAME_BASE}_dynamic PROPERTIES FOLDER lib
- LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
-+ target_link_libraries(${LIB_NAME_BASE}_dynamic m)
- target_compile_definitions( ${LIB_NAME_BASE} PUBLIC ANY LINUX )
- target_link_libraries(${LIB_NAME_BASE} m)
- endif()
---
-2.49.0
-
diff --git a/xeve.spec b/xeve.spec
index f2537a8..283e652 100644
--- a/xeve.spec
+++ b/xeve.spec
@@ -1,5 +1,5 @@
Name: xeve
-Version: 0.5.1
+Version: 0.7.0
Release: %autorelease
Summary: Reference MPEG-5 Part 1 (EVC) encoder
@@ -9,10 +9,7 @@ URL: https://github.com/mpeg5/xeve
Source0: %{name}-free-%{version}.tar.gz
# Script to generate tarball with unencumbered sources
Source1: %{name}_gen_free_tarball.sh
-# Fix build on non-x86
-Patch0: %{name}-fix-build-on-non-x86.patch
-# Link correctly to libm
-Patch1: %{name}-link-libm.patch
+Patch0: xeve-fix-build-i386.patch
BuildRequires: cmake >= 3.12
BuildRequires: gcc
reply other threads:[~2026-08-10 14:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178637264768.1.13601771472625771408.rpms-xeve-a624b988a786@fedoraproject.org \
--to=negativo17@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox