[chromium-libs-media-freeworld/f31] (7 commits) ...Merge Fedora, chromium-77.0.3865.90-2
by Nicolas Chauvet
Summary of changes:
a2942aa... Don't try to revert a previously removed patch (*)
1ef42a2... Remove support for (p)NaCL (*)
d8b8fc1... Fix how the arguments are passed to GN's bootstrap.py (*)
5a01686... Remove the unused patches or patches that are not needed an (*)
6aa7bda... Fix the icon (*)
0f0792f... Fix the icon Remove quite a few of downstream patches Fix t (*)
be6c8dc... Merge Fedora, chromium-77.0.3865.90-2 (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month
[chromium-libs-media-freeworld: 2/7] Remove support for (p)NaCL
by Nicolas Chauvet
commit 1ef42a21dcf51442af1b6830c71b060258844ef5
Author: Tomas Popela <tpopela(a)redhat.com>
Date: Fri Sep 20 09:37:33 2019 +0200
Remove support for (p)NaCL
We don't build it for quite some time and will by killed by Google in
Spring 2020. Let's drop the support for it from the SPEC file. We can
revert this patch if needed.
...7.0.2526.80-nacl-ignore-broken-fd-counter.patch | 27 ---
chromium-47.0.2526.80-pnacl-fgnu-inline-asm.patch | 11 --
chromium.spec | 187 ---------------------
3 files changed, 225 deletions(-)
---
diff --git a/chromium.spec b/chromium.spec
index a2538f0..25eb383 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -70,32 +70,11 @@
# If we build with shared on, then chrome-remote-desktop depends on chromium libs.
# If we build with shared off, then users cannot swap out libffmpeg (and i686 gets a lot harder to build)
%global shared 1
-# We should not need to turn this on. The app in the webstore _should_ work.
-%global build_remoting_app 0
# AddressSanitizer mode
# https://www.chromium.org/developers/testing/addresssanitizer
%global asan 0
-# nacl/pnacl are soon to be dead. We're just killing them off early.
-%global killnacl 1
-
-%if 0%{?killnacl}
- %global nacl 0
- %global nonacl 1
-%else
-# TODO: Try arm (nacl disabled)
-%if 0%{?fedora}
- %ifarch i686
- %global nacl 0
- %global nonacl 1
- %else
- %global nacl 1
- %global nonacl 0
- %endif
-%endif
-%endif
-
%if 0
# Chromium's fork of ICU is now something we can't unbundle.
# This is left here to ease the change if that ever switches.
@@ -302,16 +281,6 @@ Patch101: chromium-75.0.3770.100-epel7-stdc++.patch
# el7 only patch
Patch102: chromium-77.0.3865.75-el7-noexcept.patch
-# In file included from ../linux/directory.c:21:
-# In file included from ../../../../native_client/src/nonsfi/linux/abi_conversion.h:20:
-# ../../../../native_client/src/nonsfi/linux/linux_syscall_structs.h:44:13: error: GNU-style inline assembly is disabled
-# __asm__ __volatile__("mov %%gs, %0" : "=r"(gs));
-# ^
-# 1 error generated.
-Patch200: chromium-47.0.2526.80-pnacl-fgnu-inline-asm.patch
-# Ignore broken nacl open fd counter
-Patch201: chromium-47.0.2526.80-nacl-ignore-broken-fd-counter.patch
-
# Enable VAAPI support on Linux
# NOTE: This patch will never land upstream
Patch202: enable-vaapi.patch
@@ -419,24 +388,6 @@ BuildRequires: libappstream-glib
# gn needs these
BuildRequires: libstdc++-static
BuildRequires: libstdc++-devel, openssl-devel
-%if 0%{?nacl}
-BuildRequires: nacl-gcc, nacl-binutils, nacl-newlib
-BuildRequires: nacl-arm-gcc, nacl-arm-binutils, nacl-arm-newlib
-# pNaCl needs this monster
-# It's possible that someday this dep will stabilize, but
-# right now, it needs to be updated everytime chromium bumps
-# a major version.
-BuildRequires: chromium-native_client >= 52.0.2743.82
-BuildRequires: clang
-BuildRequires: llvm
-%ifarch x86_64
-# Really, this is what we want:
-# BuildRequires: glibc-devel(x86-32) libgcc(x86-32)
-# But, koji only offers glibc32. Maybe that's enough.
-# This BR will pull in either glibc.i686 or glibc32.
-BuildRequires: /lib/libc.so.6 /usr/lib/libc.so
-%endif
-%endif
# Fedora tries to use system libs whenever it can.
BuildRequires: bzip2-devel
BuildRequires: dbus-glib-devel
@@ -874,11 +825,6 @@ udev.
%endif
# Feature specific patches
-%if ! 0%{?killnacl}
-%patch200 -p1 -b .gnu-inline
-%patch201 -p1 -b .ignore-fd-count
-%endif
-
%if %{use_vaapi}
%patch202 -p1 -b .vaapi
%ifarch i686
@@ -907,101 +853,6 @@ export RANLIB="ranlib"
rm -rf buildtools/third_party/libc++/BUILD.gn
-%if 0%{?nacl}
-# prep the nacl tree
-mkdir -p out/Release/gen/sdk/linux_x86/nacl_x86_newlib
-cp -a --no-preserve=context /usr/%{_arch}-nacl/* out/Release/gen/sdk/linux_x86/nacl_x86_newlib
-
-mkdir -p out/Release/gen/sdk/linux_x86/nacl_arm_newlib
-cp -a --no-preserve=context /usr/arm-nacl/* out/Release/gen/sdk/linux_x86/nacl_arm_newlib
-
-# Not sure if we need this or not, but better safe than sorry.
-pushd out/Release/gen/sdk/linux_x86
-ln -s nacl_x86_newlib nacl_x86_newlib_raw
-ln -s nacl_arm_newlib nacl_arm_newlib_raw
-popd
-
-mkdir -p out/Release/gen/sdk/linux_x86/nacl_x86_newlib/bin
-pushd out/Release/gen/sdk/linux_x86/nacl_x86_newlib/bin
-ln -s /usr/bin/x86_64-nacl-gcc gcc
-ln -s /usr/bin/x86_64-nacl-gcc x86_64-nacl-gcc
-ln -s /usr/bin/x86_64-nacl-g++ g++
-ln -s /usr/bin/x86_64-nacl-g++ x86_64-nacl-g++
-# ln -s /usr/bin/x86_64-nacl-ar ar
-ln -s /usr/bin/x86_64-nacl-ar x86_64-nacl-ar
-# ln -s /usr/bin/x86_64-nacl-as as
-ln -s /usr/bin/x86_64-nacl-as x86_64-nacl-as
-# ln -s /usr/bin/x86_64-nacl-ranlib ranlib
-ln -s /usr/bin/x86_64-nacl-ranlib x86_64-nacl-ranlib
-# Cleanups
-rm addr2line
-ln -s /usr/bin/x86_64-nacl-addr2line addr2line
-rm c++filt
-ln -s /usr/bin/x86_64-nacl-c++filt c++filt
-rm gprof
-ln -s /usr/bin/x86_64-nacl-gprof gprof
-rm readelf
-ln -s /usr/bin/x86_64-nacl-readelf readelf
-rm size
-ln -s /usr/bin/x86_64-nacl-size size
-rm strings
-ln -s /usr/bin/x86_64-nacl-strings strings
-popd
-
-mkdir -p out/Release/gen/sdk/linux_x86/nacl_arm_newlib/bin
-pushd out/Release/gen/sdk/linux_x86/nacl_arm_newlib/bin
-ln -s /usr/bin/arm-nacl-gcc gcc
-ln -s /usr/bin/arm-nacl-gcc arm-nacl-gcc
-ln -s /usr/bin/arm-nacl-g++ g++
-ln -s /usr/bin/arm-nacl-g++ arm-nacl-g++
-ln -s /usr/bin/arm-nacl-ar arm-nacl-ar
-ln -s /usr/bin/arm-nacl-as arm-nacl-as
-ln -s /usr/bin/arm-nacl-ranlib arm-nacl-ranlib
-popd
-
-touch out/Release/gen/sdk/linux_x86/nacl_x86_newlib/stamp.untar out/Release/gen/sdk/linux_x86/nacl_x86_newlib/stamp.prep
-touch out/Release/gen/sdk/linux_x86/nacl_x86_newlib/nacl_x86_newlib.json
-touch out/Release/gen/sdk/linux_x86/nacl_arm_newlib/stamp.untar out/Release/gen/sdk/linux_x86/nacl_arm_newlib/stamp.prep
-touch out/Release/gen/sdk/linux_x86/nacl_arm_newlib/nacl_arm_newlib.json
-
-pushd out/Release/gen/sdk/linux_x86/
-mkdir -p pnacl_newlib pnacl_translator
-# Might be able to do symlinks here, but eh.
-cp -a --no-preserve=context /usr/pnacl_newlib/* pnacl_newlib/
-cp -a --no-preserve=context /usr/pnacl_translator/* pnacl_translator/
-for i in lib/libc.a lib/libc++.a lib/libg.a lib/libm.a; do
- /usr/pnacl_newlib/bin/pnacl-ranlib pnacl_newlib/x86_64_bc-nacl/$i
- /usr/pnacl_newlib/bin/pnacl-ranlib pnacl_newlib/i686_bc-nacl/$i
- /usr/pnacl_newlib/bin/pnacl-ranlib pnacl_newlib/le32-nacl/$i
-done
-
-for i in lib/libpthread.a lib/libnacl.a; do
- /usr/pnacl_newlib/bin/pnacl-ranlib pnacl_newlib/le32-nacl/$i
-done
-
-for i in lib/clang/3.7.0/lib/x86_64_bc-nacl/libpnaclmm.a lib/clang/3.7.0/lib/i686_bc-nacl/libpnaclmm.a; do
- /usr/pnacl_newlib/bin/pnacl-ranlib pnacl_newlib/$i
-done
-
-for i in lib/clang/3.7.0/lib/le32-nacl/libpnaclmm.a lib/clang/3.7.0/lib/le32-nacl/libgcc.a; do
- /usr/pnacl_newlib/bin/pnacl-ranlib pnacl_newlib/$i
-done
-
-popd
-
-mkdir -p native_client/toolchain/.tars/linux_x86
-touch native_client/toolchain/.tars/linux_x86/pnacl_translator.json
-
-pushd native_client/toolchain
-ln -s ../../out/Release/gen/sdk/linux_x86 linux_x86
-popd
-
-mkdir -p third_party/llvm-build/Release+Asserts/bin
-pushd third_party/llvm-build/Release+Asserts/bin
-ln -s /usr/bin/clang clang
-popd
-%endif
-
# Unpack fonts
%if %{freeworld}
# no font fun needed.
@@ -1072,9 +923,7 @@ export CHROMIUM_CORE_GN_DEFINES
CHROMIUM_BROWSER_GN_DEFINES=""
CHROMIUM_BROWSER_GN_DEFINES+=' use_gio=true use_pulseaudio=true icu_use_data_file=true'
-%if 0%{?nonacl}
CHROMIUM_BROWSER_GN_DEFINES+=' enable_nacl=false'
-%endif
%if 0%{?shared}
CHROMIUM_BROWSER_GN_DEFINES+=' is_component_ffmpeg=true is_component_build=true'
%else
@@ -1236,9 +1085,6 @@ build/linux/unbundle/remove_bundled_libraries.py \
'third_party/libwebm' \
'third_party/libwebp' \
'third_party/libyuv' \
-%if 0%{?nacl}
- 'third_party/llvm-build' \
-%endif
'third_party/lss' \
'third_party/lzma_sdk' \
%if 0%{?bundlepylibs}
@@ -1471,20 +1317,8 @@ echo
# remote client
# ../../depot_tools/ninja -C ../%{builddir} -vvv remoting_me2me_host remoting_start_host remoting_it2me_native_messaging_host remoting_me2me_native_messaging_host remoting_native_messaging_manifests remoting_resources
%build_target %{remotingbuilddir} remoting_all
-%if 0%{?build_remoting_app}
-%if 0%{?nacl}
-export GOOGLE_CLIENT_ID_REMOTING_IDENTITY_API=%{chromoting_client_id}
-%build_target %{builddir} remoting_webapp
-%endif
-%endif
-
%endif
-# Nuke nacl/pnacl bits at the end of the build
-rm -rf %{builddir}/gen/sdk
-rm -rf native_client/toolchain
-rm -rf third_party/llvm-build/*
-
%install
rm -rf %{buildroot}
@@ -1522,10 +1356,6 @@ mkdir -p %{buildroot}%{_mandir}/man1/
pushd %{builddir}
cp -a *.pak locales resources icudtl.dat %{buildroot}%{chromium_path}
-%if 0%{?nacl}
-cp -a nacl_helper* *.nexe pnacl tls_edit %{buildroot}%{chromium_path}
-chmod -x %{buildroot}%{chromium_path}/nacl_helper_bootstrap* *.nexe
-%endif
# Reasonably sure we don't need this anymore. Chrome doesn't include it.
%if 0
cp -a protoc pyproto %{buildroot}%{chromium_path}
@@ -1607,12 +1437,6 @@ pushd %{buildroot}%{_sysconfdir}/pam.d/
ln -s system-auth chrome-remote-desktop
popd
-%if 0%{?build_remoting_app}
-%if 0%{?nacl}
-cp -a remoting_client_plugin_newlib.* %{buildroot}%{chromium_path}
-%endif
-%endif
-
%if %{build_headless}
pushd %{headlessbuilddir}
cp -a headless_lib.pak headless_shell %{buildroot}%{chromium_path}
@@ -1753,12 +1577,6 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%ifarch x86_64 i686 aarch64
%{chromium_path}/swiftshader/
%endif
-%if 0%{?nacl}
-%{chromium_path}/nacl_helper*
-%{chromium_path}/*.nexe
-%{chromium_path}/pnacl/
-%{chromium_path}/tls_edit
-%endif
%dir %{chromium_path}/PepperFlash/
%if 0
%{chromium_path}/protoc
@@ -1872,11 +1690,6 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%{crd_path}/user-session
%{_unitdir}/chrome-remote-desktop@.service
/var/lib/chrome-remote-desktop/
-%if 0%{?build_remoting_app}
-%if 0%{?nacl}
-%{chromium_path}/remoting_client_plugin_newlib.*
-%endif
-%endif
%files -n chromedriver
%doc AUTHORS
5 years, 1 month
[chromium-libs-media-freeworld: 1/7] Don't try to revert a previously removed patch
by Nicolas Chauvet
commit a2942aa1bba73adf0d336548aea65e3830f172ef
Author: Tomas Popela <tpopela(a)redhat.com>
Date: Sun Sep 15 13:36:44 2019 +0200
Don't try to revert a previously removed patch
chromium.spec | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/chromium.spec b/chromium.spec
index 7a0d711..a2538f0 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -871,8 +871,6 @@ udev.
%patch100 -p1 -b .kmaxskip
%patch101 -p1 -b .epel7
%patch102 -p1 -b .el7-noexcept
-# Revert patch58 because it's breaking the build on el7
-%patch58 -R -p1
%endif
# Feature specific patches
5 years, 1 month
[chromium-libs-media-freeworld] (7 commits) ...Merge Fedora, chromium-77.0.3865.90-2
by Nicolas Chauvet
Summary of changes:
a2942aa... Don't try to revert a previously removed patch
1ef42a2... Remove support for (p)NaCL
d8b8fc1... Fix how the arguments are passed to GN's bootstrap.py
5a01686... Remove the unused patches or patches that are not needed an
6aa7bda... Fix the icon
0f0792f... Fix the icon Remove quite a few of downstream patches Fix t
be6c8dc... Merge Fedora, chromium-77.0.3865.90-2
5 years, 1 month
[VirtualBox-kmod/f31] (3 commits) ...Fixes for kernel 5.4
by Sérgio M. Basto
Summary of changes:
5ec0929... Add patch for kernel of EL 7.7 (*)
2b42cfc... git add kernel-el7.7.patch (*)
80ae93d... Fixes for kernel 5.4 (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month
[VirtualBox-kmod] Fixes for kernel 5.4
by Sérgio M. Basto
commit 80ae93d8474d8c22cf1adba4e0a9c1dc59192a89
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Oct 3 05:37:21 2019 +0100
Fixes for kernel 5.4
VirtualBox-kmod.spec | 7 +++-
fixes_for_5.4.patch | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 880ad4e..a8dba05 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -45,7 +45,7 @@
Name: VirtualBox-kmod
Version: 6.0.12
-Release: 2%{?dist}
+Release: 3%{?dist}
#Release: 1%%{?prerel:.%%{prerel}}%%{?dist}
Summary: Kernel module for VirtualBox
@@ -58,6 +58,7 @@ Source2: https://github.com/jwrdegoede/vboxsf/archive/%{shortcommit1}.zip
Patch1: Fixes_for_Kernel_5.3.patch
Patch2: kernel-5.patch
Patch3: kernel-el7.7.patch
+Patch4: fixes_for_5.4.patch
%global AkmodsBuildRequires %{_bindir}/kmodtool, VirtualBox-kmodsrc >= %{version}%{vboxreltag}, xz, time
@@ -91,6 +92,7 @@ unzip %{SOURCE2}
mv vboxsf-%{commit1}/ vboxsf/
%endif
%patch3 -p1
+%patch4 -p1
popd
@@ -152,6 +154,9 @@ DIRS=$(ls %{name}-%{version} |wc -l)
%changelog
+* Thu Oct 03 2019 Sérgio Basto <sergio(a)serjux.com> - 6.0.12-3
+- Fixes for kernel 5.4
+
* Sat Sep 14 2019 Sérgio Basto <sergio(a)serjux.com> - 6.0.12-2
- Add patch for kernel of EL 7.7
diff --git a/fixes_for_5.4.patch b/fixes_for_5.4.patch
new file mode 100644
index 0000000..deeabea
--- /dev/null
+++ b/fixes_for_5.4.patch
@@ -0,0 +1,114 @@
+Index: VirtualBox-6.0.12/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+===================================================================
+--- VirtualBox-6.0.12.orig/vboxnetflt/linux/VBoxNetFlt-linux.c
++++ VirtualBox-6.0.12/vboxnetflt/linux/VBoxNetFlt-linux.c
+@@ -924,8 +924,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
+ for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++)
+ {
+ skb_frag_t *pFrag = &skb_shinfo(pBuf)->frags[i];
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
++ pSG->aSegs[iSeg].cb = pFrag->bv_len;
++ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
++#else
+ pSG->aSegs[iSeg].cb = pFrag->size;
+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
++#endif
+ Log6((" %p", pSG->aSegs[iSeg].pv));
+ pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
+ Assert(iSeg <= pSG->cSegsAlloc);
+@@ -940,8 +945,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
+ for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++)
+ {
+ skb_frag_t *pFrag = &skb_shinfo(pFragBuf)->frags[i];
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
++ pSG->aSegs[iSeg].cb = pFrag->bv_len;
++ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
++#else
+ pSG->aSegs[iSeg].cb = pFrag->size;
+ pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
++#endif
+ Log6((" %p", pSG->aSegs[iSeg].pv));
+ pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
+ Assert(iSeg <= pSG->cSegsAlloc);
+Index: VirtualBox-6.0.12/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
+===================================================================
+--- VirtualBox-6.0.12.orig/vboxguest/r0drv/linux/alloc-r0drv-linux.c
++++ VirtualBox-6.0.12/vboxguest/r0drv/linux/alloc-r0drv-linux.c
+@@ -444,8 +444,10 @@ RTR0DECL(void *) RTMemContAlloc(PRTCCPHY
+
+ SetPageReserved(&paPages[iPage]);
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
+ MY_SET_PAGES_EXEC(&paPages[iPage], 1);
+ #endif
++#endif
+ }
+ *pPhys = page_to_phys(paPages);
+ pvRet = phys_to_virt(page_to_phys(paPages));
+@@ -492,8 +494,10 @@ RTR0DECL(void) RTMemContFree(void *pv, s
+ {
+ ClearPageReserved(&paPages[iPage]);
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
+ MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
+ #endif
++#endif
+ }
+ __free_pages(paPages, cOrder);
+ IPRT_LINUX_RESTORE_EFL_AC();
+Index: VirtualBox-6.0.12/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
+===================================================================
+--- VirtualBox-6.0.12.orig/vboxguest/r0drv/linux/thread2-r0drv-linux.c
++++ VirtualBox-6.0.12/vboxguest/r0drv/linux/thread2-r0drv-linux.c
+@@ -36,6 +36,9 @@
+ #include <iprt/errcore.h>
+ #include "internal/thread.h"
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
++#include <uapi/linux/sched/types.h>
++#endif
+
+ RTDECL(RTTHREAD) RTThreadSelf(void)
+ {
+
+Index: VirtualBox-6.0.12/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
+===================================================================
+--- VirtualBox-6.0.12.orig/vboxdrv/r0drv/linux/alloc-r0drv-linux.c
++++ VirtualBox-6.0.12/vboxdrv/r0drv/linux/alloc-r0drv-linux.c
+@@ -444,8 +444,10 @@ RTR0DECL(void *) RTMemContAlloc(PRTCCPHY
+
+ SetPageReserved(&paPages[iPage]);
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
+ MY_SET_PAGES_EXEC(&paPages[iPage], 1);
+ #endif
++#endif
+ }
+ *pPhys = page_to_phys(paPages);
+ pvRet = phys_to_virt(page_to_phys(paPages));
+@@ -492,8 +494,10 @@ RTR0DECL(void) RTMemContFree(void *pv, s
+ {
+ ClearPageReserved(&paPages[iPage]);
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
+ MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);
+ #endif
++#endif
+ }
+ __free_pages(paPages, cOrder);
+ IPRT_LINUX_RESTORE_EFL_AC();
+Index: VirtualBox-6.0.12/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
+===================================================================
+--- VirtualBox-6.0.12.orig/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
++++ VirtualBox-6.0.12/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
+@@ -36,6 +36,9 @@
+ #include <iprt/errcore.h>
+ #include "internal/thread.h"
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
++#include <uapi/linux/sched/types.h>
++#endif
+
+ RTDECL(RTTHREAD) RTThreadSelf(void)
+ {
+
5 years, 1 month
[rpmfusion-packager] Add bash-completion file to the package
by Sérgio M. Basto
commit 4dff5ba260a3c05156b119680b87c50486e70124
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Oct 3 05:09:39 2019 +0100
Add bash-completion file to the package
rpmfusion-packager.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/rpmfusion-packager.spec b/rpmfusion-packager.spec
index 36a982a..56e5172 100644
--- a/rpmfusion-packager.spec
+++ b/rpmfusion-packager.spec
@@ -1,3 +1,8 @@
+%define compdir %(pkg-config --variable=completionsdir bash-completion)
+%if "%{compdir}" == ""
+%define compdir "/etc/bash_completion.d"
+%endif
+
# rpmfusion-packager switched to python3 on Fedora 30 and RHEL > 7:
%if 0%{?fedora} > 29 || 0%{?rhel} > 7
%bcond_without python3
@@ -18,6 +23,7 @@ BuildArch: noarch
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: pkgconfig(bash-completion)
%if %{with python3}
BuildRequires: python3-devel
%else
@@ -97,6 +103,7 @@ autoreconf -i
%{_bindir}/rfabipkgdiff
%{_bindir}/rpmfusion-packager-setup
%{_bindir}/koji-rpmfusion
+%{compdir}/
%if %{with python3}
%files -n python3-rpmfusion-cert
@@ -115,6 +122,7 @@ autoreconf -i
- Add bash completions for koji-rpmfusion command
- Update .gitignore
- Turn off crl certificate check, never worked anyway
+- Add bash-completion file to the package
* Sat Aug 24 2019 Leigh Scott <leigh123linux(a)gmail.com> - 0.6.4-2
- Rebuild for python-3.8
5 years, 1 month
[rpmfusion-packager] Update sources
by Sérgio M. Basto
commit da1b459b6f5e8a68536280865c68886219a26278
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Oct 3 04:29:03 2019 +0100
Update sources
.gitignore | 1 +
sources | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index ded266e..f1c47b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ rpmfusion-packager-0.4.tar.bz2
/rpmfusion-packager-0.6.3.tar.bz2
/rpmfusion-packager-0.6.3.tar.gz
/rpmfusion-packager-0.6.4.tar.gz
+/rpmfusion-packager-0.6.5.tar.gz
diff --git a/sources b/sources
index 11b08eb..d32d4d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-551f7b4a03b506e0259765b8e2ecbd68 rpmfusion-packager-0.6.4.tar.gz
+SHA512 (rpmfusion-packager-0.6.5.tar.gz) = b4f69fc77715bb85af23bf7685458262ed29739787bed6b11cd35156f0a9a3c2b0949f353d2af68bcc60ed9aefa173351cd470b8b74097d2fac4250a55a9ef61
5 years, 1 month
[rpmfusion-packager] Add bash completions for koji-rpmfusion command Update .gitignore Turn off crl certificate check, ne
by Sérgio M. Basto
commit 436fa9aec7cf4fb9b828c874254219ae37f6c7de
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Oct 3 04:24:05 2019 +0100
Add bash completions for koji-rpmfusion command
Update .gitignore
Turn off crl certificate check, never worked anyway
rpmfusion-packager.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/rpmfusion-packager.spec b/rpmfusion-packager.spec
index 7252e7c..36a982a 100644
--- a/rpmfusion-packager.spec
+++ b/rpmfusion-packager.spec
@@ -6,8 +6,8 @@
%endif
Name: rpmfusion-packager
-Version: 0.6.4
-Release: 2%{?dist}
+Version: 0.6.5
+Release: 1%{?dist}
Summary: Tools for setting up a rpmfusion maintainer environment
License: GPLv2+
@@ -111,6 +111,11 @@ autoreconf -i
%endif
%changelog
+* Thu Oct 03 2019 Sérgio Basto <sergio(a)serjux.com> - 0.6.5-1
+- Add bash completions for koji-rpmfusion command
+- Update .gitignore
+- Turn off crl certificate check, never worked anyway
+
* Sat Aug 24 2019 Leigh Scott <leigh123linux(a)gmail.com> - 0.6.4-2
- Rebuild for python-3.8
5 years, 1 month