[ffmpeg/f30] (2 commits) ...Update changelog
by Nicolas Chauvet
Summary of changes:
cd3bdd1... Backport upstream patch (*)
23cc013... Update changelog (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 7 months
[ffmpeg] Update changelog
by Nicolas Chauvet
commit 23cc0133df0e1a86fb180b24de1839ceda82fe92
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 10:07:49 2019 +0200
Update changelog
ffmpeg.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 3f36079..1efc017 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -82,7 +82,7 @@ ExclusiveArch: armv7hnl
Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor}
Version: 4.1.3
-Release: 1%{?date}%{?date:git}%{?rel}%{?dist}
+Release: 2%{?date}%{?date:git}%{?rel}%{?dist}
License: %{ffmpeg_license}
URL: http://ffmpeg.org/
%if 0%{?date}
@@ -424,6 +424,9 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
%changelog
+* Sat Apr 06 2019 Nicolas Chauvet <kwizart(a)gmail.com> - 4.1.3-2
+- Backport avutil/mem: Fix invalid use of av_alloc_size - rfbz#5149
+
* Mon Apr 01 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 4.1.3-1
- Update to 4.1.3 release
5 years, 7 months
[ffmpeg] Backport upstream patch
by Nicolas Chauvet
commit cd3bdd1a008f1999fae104868e273cc3e926904f
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 10:06:31 2019 +0200
Backport upstream patch
4361293fcf59edb56879c36edcd25f0a91e0edf8.patch | 32 ++++++++++++++++++++++++++
ffmpeg.spec | 4 ++++
2 files changed, 36 insertions(+)
---
diff --git a/4361293fcf59edb56879c36edcd25f0a91e0edf8.patch b/4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
new file mode 100644
index 0000000..7ade867
--- /dev/null
+++ b/4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
@@ -0,0 +1,32 @@
+From 4361293fcf59edb56879c36edcd25f0a91e0edf8 Mon Sep 17 00:00:00 2001
+From: Mark Harris <mark.hsj(a)gmail.com>
+Date: Sat, 24 Nov 2018 13:02:02 -0800
+Subject: [PATCH 1/1] avutil/mem: Fix invalid use of av_alloc_size
+
+The alloc_size attribute is valid only on functions that return a
+pointer. GCC 9 (not yet released) warns about invalid usage:
+
+./libavutil/mem.h:342:1: warning: 'alloc_size' attribute ignored on a function returning int' [-Wattributes]
+ 342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
+ | ^~~~~~~~~~~~~
+
+Signed-off-by: Michael Niedermayer <michael(a)niedermayer.cc>
+---
+ libavutil/mem.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libavutil/mem.h b/libavutil/mem.h
+index 55ae573..5fb1a02 100644
+--- a/libavutil/mem.h
++++ b/libavutil/mem.h
+@@ -339,7 +339,7 @@ av_alloc_size(2, 3) void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
+ * @warning Unlike av_malloc(), the allocated memory is not guaranteed to be
+ * correctly aligned.
+ */
+-av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
++int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
+
+ /**
+ * Reallocate the given buffer if it is not large enough, otherwise do nothing.
+--
+2.7.4
diff --git a/ffmpeg.spec b/ffmpeg.spec
index f2e2dcb..3f36079 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -90,6 +90,9 @@ Source0: ffmpeg-%{?branch}%{date}.tar.bz2
%else
Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
%endif
+#Backport avutil/mem: Fix invalid use of av_alloc_size
+#See rfbz#5221
+Patch0: 4361293fcf59edb56879c36edcd25f0a91e0edf8.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel}
%{?_with_libnpp:BuildRequires: pkgconfig(nppc-%{_cuda_version})}
@@ -314,6 +317,7 @@ echo "git-snapshot-%{?branch}%{date}-rpmfusion" > VERSION
%else
%setup -q -n ffmpeg-%{version}
%endif
+%patch0 -p1
# fix -O3 -g in host_cflags
sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure
mkdir -p _doc/examples
5 years, 7 months
[chromium-vaapi: 1/2] Removed outdated workarounds for linker and compiler
by Akarshan Biswas
commit 528cdf6ae5502f31f29549a18ce289c7de938e94
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Sat Apr 6 12:47:12 2019 +0530
Removed outdated workarounds for linker and compiler
chromium-vaapi.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index bfa0498..3ce4ec0 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -179,6 +179,8 @@ BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
# Mojojojo need this >:(
BuildRequires: java-1.8.0-openjdk
+# Libstdc++ static needed for linker
+BuildRequires: libstdc++-static
#Runtime Requirements
Requires: hicolor-icon-theme
#Some recommendations
@@ -464,13 +466,11 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
sed -i 's|//third_party/usb_ids|/usr/share/hwdata|g' device/usb/BUILD.gn
-# Don't use static libstdc++
-sed -i '/-static-libstdc++/d' tools/gn/build/gen.py
# Remove compiler flags not supported by our system clang
- sed -i \
- -e '/"-Wno-ignored-pragma-optimize"/d' \
- build/config/compiler/BUILD.gn
+# sed -i \
+# -e '/"-Wno-ignored-pragma-optimize"/d' \
+# build/config/compiler/BUILD.gn
rmdir third_party/markupsafe
5 years, 7 months
[chromium-vaapi] Add wildcard for gitignore
by Nicolas Chauvet
commit 16c42b63ff3a12c942de65b4dbea08e48125a8c4
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Apr 6 00:53:26 2019 +0200
Add wildcard for gitignore
.gitignore | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d91289e..e912076 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1 @@
-/chromium-69.0.3497.100.tar.xz
-/chromium-70.0.3538.67.tar.xz
-/chromium-70.0.3538.77.tar.xz
-/chromium-70.0.3538.102.tar.xz
-/chromium-70.0.3538.110.tar.xz
-/chromium-71.0.3578.80.tar.xz
-/chromium-71.0.3578.98.tar.xz
-/chromium-72.0.3626.81.tar.xz
-/chromium-72.0.3626.109.tar.xz
-/chromium-72.0.3626.121.tar.xz
-/chromium-73.0.3683.75.tar.xz
-/chromium-73.0.3683.103.tar.xz
+chromium-*.tar.xz
5 years, 7 months
[wireguard-kmod/f29] Rebuilt for akmods-ostree-post scriptlet
by Robert-André Mauchin
commit fb15c8c45d58849bd5b44f7cd60c44adfac3f473
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Thu Apr 4 19:28:33 2019 +0200
Rebuilt for akmods-ostree-post scriptlet
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
wireguard-kmod.spec | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index d8da75e..a5ff8c1 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -4,7 +4,7 @@
Name: wireguard-kmod
Summary: Kernel module (kmod) for Wireguard
Version: 0.0.20190227
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -18,11 +18,11 @@ BuildRequires: elfutils-libelf-devel
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%description
-WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
-state-of-the-art cryptography. It aims to be faster, simpler, leaner,
-and more useful than IPSec, while avoiding the massive headache. It intends
-to be considerably more performant than OpenVPN. WireGuard is designed as a
-general purpose VPN for running on embedded interfaces and super computers
+WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
+state-of-the-art cryptography. It aims to be faster, simpler, leaner,
+and more useful than IPSec, while avoiding the massive headache. It intends
+to be considerably more performant than OpenVPN. WireGuard is designed as a
+general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances. It runs over UDP.
This package contains the kmod module for WireGuard.
@@ -58,6 +58,9 @@ done
%changelog
+* Thu Apr 04 19:27:39 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-2
+- Rebuilt for akmods-ostree-post scriptlet
+
* Thu Feb 28 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-1
- Release 0.0.20190227
5 years, 7 months
[wireguard/f29] Unifying spec with Lubomir Rintel's one Rebuilt for akmods-ostree-post scriptlet
by Robert-André Mauchin
commit 6048641c8b9e21d6cf4f312c8c949dbf20ab4406
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Thu Apr 4 19:35:32 2019 +0200
Unifying spec with Lubomir Rintel's one
Rebuilt for akmods-ostree-post scriptlet
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
wireguard.spec | 42 +++++++++++++++++++-----------------------
1 file changed, 19 insertions(+), 23 deletions(-)
---
diff --git a/wireguard.spec b/wireguard.spec
index e78a76b..c33082a 100644
--- a/wireguard.spec
+++ b/wireguard.spec
@@ -1,7 +1,7 @@
Name: wireguard
Summary: Fast, modern, secure VPN tunnel
Version: 0.0.20190227
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -17,41 +17,33 @@ Provides: %{name}-kmod-common = %{version}
Requires: %{name}-kmod >= %{version}
%description
-WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
-state-of-the-art cryptography. It aims to be faster, simpler, leaner,
-and more useful than IPSec, while avoiding the massive headache. It intends
-to be considerably more performant than OpenVPN. WireGuard is designed as a
-general purpose VPN for running on embedded interfaces and super computers
+WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
+state-of-the-art cryptography. It aims to be faster, simpler, leaner,
+and more useful than IPSec, while avoiding the massive headache. It intends
+to be considerably more performant than OpenVPN. WireGuard is designed as a
+general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances. It runs over UDP.
%prep
-%autosetup -n WireGuard-%{version} different circumstances. It runs over UDP.
+%autosetup -n WireGuard-%{version}
# Remove .gitignore files in examples
find contrib/ -type f -name ".gitignore" -exec rm "{}" \;
# Do not use /usr/bin/env
sed -i '1s@/usr/bin/env bash@/bin/bash@' contrib/examples/ncat-client-server/client-quick.sh
-# Use standard perms for /etc/wireguard
-sed -i 's|install -v -m 0700|install -v -m 0755|' src/tools/Makefile
%build
%set_build_flags
-
-pushd contrib/examples/dns-hatchet
-sh apply.sh
-popd
-
-pushd src/tools
-%make_build V=1
-popd
+%make_build V=1 -C src/tools
%install
-pushd src/tools
-%make_install
-popd
+%make_install -C src/tools \
+ WITH_BASHCOMPLETION=yes \
+ WITH_WGQUICK=yes \
+ WITH_SYSTEMDUNITS=yes
%post
@@ -71,17 +63,21 @@ popd
%license COPYING
%{_bindir}/wg
%{_bindir}/wg-quick
+%{_unitdir}/wg-quick@.service
%{_sysconfdir}/wireguard
+%{_mandir}/man8/wg.8*
+%{_mandir}/man8/wg-quick.8*
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/wg
%{_datadir}/bash-completion/completions/wg-quick
-%{_unitdir}/wg-quick@.service
-%{_mandir}/man8/wg.8*
-%{_mandir}/man8/wg-quick.8*
%changelog
+* Thu Mar 07 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-2
+- Unifying spec with Lubomir Rintel's one
+- Rebuilt for akmods-ostree-post scriptlet
+
* Thu Feb 28 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-1
- Release 0.0.20190227
5 years, 7 months
[wireguard-kmod/f30] Rebuilt for akmods-ostree-post scriptlet
by Robert-André Mauchin
commit b6f7a2c2d2c84ea184962d1bef9c96be4e4a0fe0
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Thu Apr 4 19:28:33 2019 +0200
Rebuilt for akmods-ostree-post scriptlet
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
wireguard-kmod.spec | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index d2d4b13..c183f2f 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -4,7 +4,7 @@
Name: wireguard-kmod
Summary: Kernel module (kmod) for Wireguard
Version: 0.0.20190227
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
URL: https://www.wireguard.com/
@@ -18,11 +18,11 @@ BuildRequires: elfutils-libelf-devel
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%description
-WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
-state-of-the-art cryptography. It aims to be faster, simpler, leaner,
-and more useful than IPSec, while avoiding the massive headache. It intends
-to be considerably more performant than OpenVPN. WireGuard is designed as a
-general purpose VPN for running on embedded interfaces and super computers
+WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
+state-of-the-art cryptography. It aims to be faster, simpler, leaner,
+and more useful than IPSec, while avoiding the massive headache. It intends
+to be considerably more performant than OpenVPN. WireGuard is designed as a
+general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances. It runs over UDP.
This package contains the kmod module for WireGuard.
@@ -58,6 +58,9 @@ done
%changelog
+* Thu Apr 04 19:27:39 CET 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.0.20190227-3
+- Rebuilt for akmods-ostree-post scriptlet
+
* Tue Mar 05 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.0.20190227-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5 years, 7 months