import libdv-1.0.0-43.el10

i10ce changed/i10ce/libdv-1.0.0-43.el10
Arkady L. Shane 1 month ago
parent 51cced0c14
commit 61a86d3c53
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

3
.gitignore vendored

@ -1,2 +1 @@
libdv-0.104.tar.gz
libdv-1.0.0.tar.gz
SOURCES/libdv-1.0.0.tar.gz

@ -0,0 +1 @@
2e5ba0e95f665d60e72cbebcf1c4989e0d6c92c8 SOURCES/libdv-1.0.0.tar.gz

@ -0,0 +1,32 @@
--- a/libdv/dv.orig.c 2024-03-17 21:51:33.216006756 +0100
+++ b/libdv/dv.c 2024-03-17 21:53:50.975829509 +0100
@@ -35,6 +35,13 @@
* @{
*/
+#if defined __GNUC__ && __GNUC__ >= 14
+#pragma GCC diagnostic warning "-Wimplicit-function-declaration"
+#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
+#pragma GCC diagnostic warning "-Wint-conversion"
+#pragma GCC diagnostic warning "-Wreturn-mismatch"
+#endif
+
#if HAVE_CONFIG_H
# include <config.h>
#endif
--- a/libdv/quant.orig.c 2024-03-17 22:16:58.212228098 +0100
+++ b/libdv/quant.c 2024-03-17 22:18:20.503660888 +0100
@@ -37,6 +37,13 @@
* @{
*/
+#if defined __GNUC__ && __GNUC__ >= 14
+#pragma GCC diagnostic warning "-Wimplicit-function-declaration"
+#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
+#pragma GCC diagnostic warning "-Wint-conversion"
+#pragma GCC diagnostic warning "-Wreturn-mismatch"
+#endif
+
#if HAVE_CONFIG_H
# include <config.h>
#endif

@ -272,7 +272,7 @@ diff -Naur libdv-1.0.0.old/libdv/dv.c libdv-1.0.0/libdv/dv.c
} else {
#if ARCH_X86
- _dv_quant_88_inverse_x86(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
+ _dv_quant_88_inverse_x86(mb->b[i].coeffs,mb->qno,mb->b[i].class_no,dv_quant_offset,dv_quant_shifts);
+ _dv_quant_88_inverse_x86(mb->b[i].coeffs,mb->qno,mb->b[i].class_no,dv_quant_offset,dv_quant_shifts[0]);
_dv_idct_88(mb->b[i].coeffs);
#elif ARCH_X86_64
_dv_quant_88_inverse_x86_64(mb->b[i].coeffs,mb->qno,mb->b[i].class_no);
@ -281,7 +281,7 @@ diff -Naur libdv-1.0.0.old/libdv/dv.c libdv-1.0.0/libdv/dv.c
} else {
#if ARCH_X86
- _dv_quant_88_inverse_x86(bl->coeffs,mb->qno,bl->class_no);
+ _dv_quant_88_inverse_x86(bl->coeffs,mb->qno,bl->class_no,dv_quant_offset,dv_quant_shifts);
+ _dv_quant_88_inverse_x86(bl->coeffs,mb->qno,bl->class_no,dv_quant_offset,dv_quant_shifts[0]);
_dv_weight_88_inverse(bl->coeffs);
_dv_idct_88(bl->coeffs);
#elif ARCH_X86_64
@ -652,7 +652,7 @@ diff -Naur libdv-1.0.0.old/libdv/quant.h libdv-1.0.0/libdv/quant.h
extern void (*_dv_quant_248_inverse) (dv_coeff_t *block,int qno,int klass,
dv_248_coeff_t *co);
-extern void _dv_quant_88_inverse_x86(dv_coeff_t *block,int qno,int klass);
+extern void _dv_quant_88_inverse_x86(dv_coeff_t *block,int qno,int klass, uint8_t *offset, uint8_t *shifts);
+extern void _dv_quant_88_inverse_x86(dv_coeff_t *block,int qno,int klass, uint8_t *offset, uint8_t (*shifts)[4]);
extern void _dv_quant_88_inverse_x86_64(dv_coeff_t *block,int qno,int klass);
extern void dv_quant_init (void);
#ifdef __cplusplus

@ -1,16 +1,16 @@
Name: libdv
Version: 1.0.0
Release: 36%{?dist}
Release: 43%{?dist}
Summary: Software decoder for DV format video
License: LGPLv2+
License: LGPL-2.0-or-later
URL: http://libdv.sourceforge.net/
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch1: %{name}-no-exec-stack.patch
Patch2: %{name}-pic.patch
Patch3: %{name}-gtk2.patch
Patch4: %{name}-dso-linking.patch
Patch5: %{name}-gcc14.patch
BuildRequires: autoconf
BuildRequires: automake
@ -42,7 +42,6 @@ support the IEEE 1394 (a.k.a. FireWire or i.Link) interface.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains development files for %{name}.
@ -84,6 +83,30 @@ find %{buildroot} -name "*.la" -delete
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Sun Dec 29 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.0-43
- Rebuilt for MSVSphere 10
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Mar 17 2024 Antonio Trande <sagitter@fedoraproject.org> - 1.0.0-42
- Update libdv-pic patch for GCC-14 (rhbz#2261310)
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Mar 24 2022 Simone Caronni <negativo17@gmail.com> - 1.0.0-36
- Clean up SPEC file.
- Trim changelog.

@ -1 +0,0 @@
f895162161cfa4bb4a94c070a7caa6c7 libdv-1.0.0.tar.gz
Loading…
Cancel
Save