public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xevd] rawhide: Update to 0.7.0
@ 2026-08-10 14:29 Simone Caronni
  0 siblings, 0 replies; only message in thread
From: Simone Caronni @ 2026-08-10 14:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xevd
Branch : rawhide
Commit : bcde95a4b2d26dfc4bc8843bb68affa8bf5064a0
Author : Simone Caronni <negativo17@gmail.com>
Date   : 2026-08-10T16:28:58+02:00
Stats  : +3/-169 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/xevd/c/bcde95a4b2d26dfc4bc8843bb68affa8bf5064a0?branch=rawhide

Log:
Update to 0.7.0

---
diff --git a/.gitignore b/.gitignore
index 73cb748..c45c67d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /xevd-free-0.5.0.tar.gz
+/xevd-free-0.7.0.tar.gz

diff --git a/sources b/sources
index 1474cf5..768e8a8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xevd-free-0.5.0.tar.gz) = a64d842968c5524964ba33abc74a461cac6c6419c773803296173bb36950c260634b8ff2fbc603f7187a098d003e5886f8abb183fae03989bbb4d7c1d3fd2ac2
+SHA512 (xevd-free-0.7.0.tar.gz) = 3ddd2c752dc8743ef0df2ca30fa6f2d01ea8fe58fe3c531a16676eb508e59656e786f8424cc7f91137759ce27091b237af25a434fa0e0380e67cc0f1c0d7620e

diff --git a/xevd-fix-build-on-non-x86.patch b/xevd-fix-build-on-non-x86.patch
deleted file mode 100644
index eb90dd5..0000000
--- a/xevd-fix-build-on-non-x86.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-diff -up xevd-0.5.0/CMakeLists.txt.orig xevd-0.5.0/CMakeLists.txt
---- xevd-0.5.0/CMakeLists.txt.orig	2024-04-20 16:10:26.000000000 +0200
-+++ xevd-0.5.0/CMakeLists.txt	2025-05-11 13:52:18.407716502 +0200
-@@ -57,14 +57,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()
--
- if(("${SET_PROF}" STREQUAL "MAIN") OR ("${SET_PROF}" STREQUAL "BASE"))
-   message("SET_PROF=${SET_PROF}")
- else()
-@@ -105,8 +97,7 @@ elseif( UNIX OR MINGW )
-         set(OPT_DBG "-DNDEBUG") # disable assert
-     endif()
- 
--    set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -${OPT_LV} ${OPT_DBG} -fomit-frame-pointer -Wall -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Werror -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_LV} ${OPT_DBG} -Wall -std=c99 -pthread")
-     set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lm")
- endif()
- 
-diff -up xevd-0.5.0/src_base/CMakeLists.txt.orig xevd-0.5.0/src_base/CMakeLists.txt
---- xevd-0.5.0/src_base/CMakeLists.txt.orig	2024-04-20 16:10:26.000000000 +0200
-+++ xevd-0.5.0/src_base/CMakeLists.txt	2025-05-11 14:57:27.077723083 +0200
-@@ -15,14 +15,26 @@ file (GLOB LIB_NEON_INC "neon/xevd_*.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} ${XEVD_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} ${LIB_NEON_SRC} ${LIB_NEON_INC} )
-     add_library( ${LIB_NAME_BASE}_dynamic SHARED ${LIB_API_SRC} ${XEVD_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} ${LIB_NEON_SRC} ${LIB_NEON_INC} )
--else()
-+elseif(X86)
-     add_library( ${LIB_NAME_BASE} STATIC ${LIB_API_SRC} ${XEVD_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} ${XEVD_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} ${XEVD_INC} ${LIB_BASE_SRC} ${LIB_BASE_INC} )
-+    add_library( ${LIB_NAME_BASE}_dynamic SHARED ${LIB_API_SRC} ${XEVD_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})
-@@ -56,8 +68,10 @@ source_group("base\\neon\\source" FILES
- 
- if("${ARM}" STREQUAL "TRUE")
-     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()
- 
- 
-@@ -86,7 +100,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 xevd-0.5.0/src_base/xevd_def.h.orig xevd-0.5.0/src_base/xevd_def.h
---- xevd-0.5.0/src_base/xevd_def.h.orig	2024-04-20 16:10:26.000000000 +0200
-+++ xevd-0.5.0/src_base/xevd_def.h	2025-05-11 18:46:08.954462609 +0200
-@@ -1498,7 +1498,7 @@ int  xevd_dec_slice(XEVD_CTX * ctx, XEVD
- #include "xevd_mc.h"
- #include "xevd_eco.h"
- #include "xevd_df.h"
--#ifndef ARM
-+#if defined(X86)
- #include "xevd_mc_sse.h"
- #include "xevd_mc_avx.h"
- #include "xevd_itdq_sse.h"
-@@ -1506,7 +1506,7 @@ int  xevd_dec_slice(XEVD_CTX * ctx, XEVD
- #include "xevd_recon_avx.h"
- #include "xevd_recon_sse.h"
- #include "xevd_dbk_sse.h"
--#else
-+#elif defined(ARM)
- #include "xevd_mc_neon.h"
- #include "xevd_itdq_neon.h"
- #include "xevd_recon_neon.h"
-diff -up xevd-0.5.0/src_base/xevd_port.h.orig xevd-0.5.0/src_base/xevd_port.h
---- xevd-0.5.0/src_base/xevd_port.h.orig	2024-04-20 16:10:26.000000000 +0200
-+++ xevd-0.5.0/src_base/xevd_port.h	2025-05-11 18:06:47.004678618 +0200
-@@ -137,10 +137,10 @@ void xevd_trace_line(char * pre);
- #define xevd_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 --git a/xevd-fix-neon-header.patch b/xevd-fix-neon-header.patch
deleted file mode 100644
index 4087539..0000000
--- a/xevd-fix-neon-header.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up xevd-0.5.0/src_base/neon/xevd_dbk_neon.h.orig xevd-0.5.0/src_base/neon/xevd_dbk_neon.h
---- xevd-0.5.0/src_base/neon/xevd_dbk_neon.h.orig	2024-04-20 14:10:26.000000000 +0000
-+++ xevd-0.5.0/src_base/neon/xevd_dbk_neon.h	2025-05-10 20:32:17.488740239 +0000
-@@ -28,7 +28,7 @@
-    POSSIBILITY OF SUCH DAMAGE.
- */
- 
--#ifndef _XEVD_DBK_NOEN_H_
-+#ifndef _XEVD_DBK_NEON_H_
- #define _XEVD_DBK_NEON_H_
- 
- 

diff --git a/xevd-link-libm.patch b/xevd-link-libm.patch
deleted file mode 100644
index fd0eca6..0000000
--- a/xevd-link-libm.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From a1b49a5d56d90d58fa51a52f4aa60ae0a7659697 Mon Sep 17 00:00:00 2001
-From: Neal Gompa <neal@gompa.dev>
-Date: Sun, 24 Aug 2025 18:53:44 -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/libxevdb.so: undefined reference to 'log2'
-/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/libxevdb.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 0d8575a..5a2ff99 100644
---- a/src_base/CMakeLists.txt
-+++ b/src_base/CMakeLists.txt
-@@ -92,6 +92,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/xevd.spec b/xevd.spec
index be95a2c..4012f61 100644
--- a/xevd.spec
+++ b/xevd.spec
@@ -1,5 +1,5 @@
 Name:           xevd
-Version:        0.5.0
+Version:        0.7.0
 Release:        %autorelease
 Summary:        Reference MPEG-5 Part 1 (EVC) decoder
 
@@ -9,12 +9,6 @@ URL:            https://github.com/mpeg5/xevd
 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
-# Fix typo in NEON header include guard
-Patch1:         %{name}-fix-neon-header.patch
-# Link correctly to libm
-Patch2:         %{name}-link-libm.patch
 
 BuildRequires:  cmake >= 3.12
 BuildRequires:  gcc

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 14:29 [rpms/xevd] rawhide: Update to 0.7.0 Simone Caronni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox