[chromium-browser-privacy: 1/3] Update to 84.0.4147.125
by qvint
commit fe78c2d9dc50a21ae7852a1a98f6b5801781454c
Author: qvint <dotqvint(a)gmail.com>
Date: Wed Aug 12 04:12:13 2020 +0300
Update to 84.0.4147.125
- Stop using gold
- Add 'ulimit -n 2048'
chromium-enable-vaapi.patch | 4 ++--
chromium-freeworld.spec | 16 ++++++++++------
sources | 2 +-
3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/chromium-enable-vaapi.patch b/chromium-enable-vaapi.patch
index 50bb0f0..5785193 100644
--- a/chromium-enable-vaapi.patch
+++ b/chromium-enable-vaapi.patch
@@ -32,7 +32,7 @@ Subject: [PATCH] Enable VAAPI on Linux
FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
-@@ -3136,16 +3136,19 @@ const char kMetalDescription[] =
+@@ -3142,16 +3142,19 @@ const char kMetalDescription[] =
#endif
@@ -57,7 +57,7 @@ Subject: [PATCH] Enable VAAPI on Linux
"Use the aggregated ML model to rank the suggested apps.";
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
-@@ -1820,13 +1820,19 @@ extern const char kMetalDescription[];
+@@ -1823,13 +1823,19 @@ extern const char kMetalDescription[];
#endif // defined(OS_MACOSX)
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index b730fe8..dc129ad 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -66,7 +66,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-freeworld
-Version: 84.0.4147.89
+Version: 84.0.4147.125
Release: 1%{?dist}
Summary: Chromium web browser built with all freeworld codecs and VA-API support
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -539,6 +539,9 @@ mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
#####################################BUILD#############################################
%build
+# Final link uses lots of file descriptors.
+ulimit -n 2048
+
#export compilar variables
%if %{clang}
@@ -553,11 +556,6 @@ export CFLAGS="$CFLAGS -Wno-unknown-warning-option"
%else
export AR=ar NM=nm AS=as
export CC=gcc CXX=g++
-
-
-# GN needs gold to bootstrap
-export LDFLAGS="$LDFLAGS -fuse-ld=gold"
-
export CXXFLAGS="$CXXFLAGS -fpermissive"
%if !%{debug_logs}
# Disable useless warning on non debug log builds
@@ -585,6 +583,7 @@ gn_args=(
use_cups=true
use_gnome_keyring=true
use_gio=true
+ use_gold=false
use_kerberos=true
use_libpci=true
use_pulseaudio=true
@@ -763,6 +762,11 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Tue Aug 11 2020 qvint <dotqvint(a)gmail.com> - 84.0.4147.125-1
+- Update to 84.0.4147.125
+- Stop using gold
+- Add 'ulimit -n 2048'
+
* Sat Jul 18 2020 qvint <dotqvint(a)gmail.com> - 84.0.4147.89-1
- Update to 84.0.4147.89
- Use patchset composed by Stephan Hartmann <stha09(a)googlemail.com>
diff --git a/sources b/sources
index f5f739a..5a53a32 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (chromium-84.0.4147.89.tar.xz) = cc207a5f09a89e42bc12fd491d5d0ef11c04daaa324aa696d2f8a37679b8f2171d3b265296968c3312e158b0fd2c059e12727a7463d3bd2f640d5bbd43c4f676
+SHA512 (chromium-84.0.4147.125.tar.xz) = a86439efbadce4cc157fe16e0e16732feda2025e14179a54df6a33446f744dc1db59f1ebcf7d5d29d7bfc42102af1283ddf108982152ec1f869d7623af7bed26
SHA512 (chromium-patches-chromium-84-patchset-3.tar.gz) = ea7f5c9436bbbe3de2fa69f006e0e12be24e73a652d3ac780c30045dfd821b41d9b83779fd306eafc2455cbc8fced3477f5adff626318a4ab5e13b06d9a7234a
SHA512 (xcb-proto-1.13.tar.bz2) = 002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7
4 years, 3 months
[nvidia-340xx-kmod] Patch for kernel-5.8.0
by Leigh Scott
commit 2a0972fdaacd4ba58f492dade2a100413db8876d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Aug 12 18:19:47 2020 +0100
Patch for kernel-5.8.0
kernel-5.8.patch | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
nvidia-340xx-kmod.spec | 9 +++++--
2 files changed, 78 insertions(+), 2 deletions(-)
---
diff --git a/kernel-5.8.patch b/kernel-5.8.patch
new file mode 100644
index 0000000..c345a45
--- /dev/null
+++ b/kernel-5.8.patch
@@ -0,0 +1,71 @@
+diff -Naur a/kernel/nvidia-modules-common.mk b/kernel/nvidia-modules-common.mk
+--- a/kernel/nvidia-modules-common.mk
++++ b/kernel/nvidia-modules-common.mk
+@@ -222,6 +222,7 @@
+ define BUILD_MODULE_RULE
+ $(1): build-sanity-checks $(3)
+ @echo "NVIDIA: calling KBUILD..."; \
++ touch .nv-kernel.o.cmd; \
+ $$(MAKE) "CC=$$(CC)" NV_MODULE_SUFFIX=$$(strip $(2)) $$(KBUILD_PARAMS) modules; \
+ echo "NVIDIA: left KBUILD."; \
+ if ! [ -f $(1) ]; then \
+diff -Naru a/kernel/nv-linux.h b/kernel/nv-linux.h
+--- a/kernel/nv-linux.h 2020-08-08 03:48:46.894783237 +0300
++++ b/kernel/nv-linux.h 2020-08-08 15:43:05.252047541 +0300
+@@ -669,11 +669,19 @@
+ # define KM_FREE_RECORD(a,b,c)
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
++#define NV_VMALLOC(ptr, size) \
++ { \
++ (ptr) = __vmalloc(size, GFP_KERNEL); \
++ VM_ALLOC_RECORD(ptr, size, "vm_vmalloc"); \
++ }
++#else
+ #define NV_VMALLOC(ptr, size) \
+ { \
+ (ptr) = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL); \
+ VM_ALLOC_RECORD(ptr, size, "vm_vmalloc"); \
+ }
++#endif
+
+ #define NV_VFREE(ptr, size) \
+ { \
+diff -Naru a/kernel/os-mlock.c b/kernel/os-mlock.c
+--- a/kernel/os-mlock.c 2020-04-16 15:37:41.000000000 +0300
++++ b/kernel/os-mlock.c 2020-08-08 15:47:44.793311179 +0300
+@@ -44,11 +44,19 @@
+ return rmStatus;
+ }
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
++ down_read(&mm->mmap_lock);
++ ret = NV_GET_USER_PAGES((unsigned long)address,
++ page_count, write, force, user_pages, NULL);
++ up_read(&mm->mmap_lock);
++ pinned = ret;
++#else
+ down_read(&mm->mmap_sem);
+ ret = NV_GET_USER_PAGES((unsigned long)address,
+ page_count, write, force, user_pages, NULL);
+ up_read(&mm->mmap_sem);
+ pinned = ret;
++#endif
+
+ if (ret < 0)
+ {
+diff -Naru a/kernel/uvm/nvidia_uvm_lite_api.c b/kernel/uvm/nvidia_uvm_lite_api.c
+--- a/kernel/uvm/nvidia_uvm_lite_api.c 2020-04-16 15:37:41.000000000 +0300
++++ b/kernel/uvm/nvidia_uvm_lite_api.c 2020-08-08 15:28:40.110186418 +0300
+@@ -30,6 +30,10 @@
+ #include "uvm_gpu_ops_tests.h"
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
++#define mmap_sem mmap_lock
++#endif
++
+ //
+ // nvidia_uvm_lite_api.c
+ //
diff --git a/nvidia-340xx-kmod.spec b/nvidia-340xx-kmod.spec
index 50d74f9..27eb9fa 100644
--- a/nvidia-340xx-kmod.spec
+++ b/nvidia-340xx-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-340xx-kmod
Epoch: 1
Version: 340.108
# Taken over by kmodtool
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -21,6 +21,7 @@ URL: http://www.nvidia.com/
Source11: nvidia-kmodtool-excludekernel-filterfile
Patch0: nv-linux-arm.patch
Patch1: kernel-5.7.patch
+Patch2: kernel-5.8.patch
BuildRequires: elfutils-libelf-devel
BuildRequires: gcc
@@ -48,6 +49,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterf
tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
%patch1 -p1
+%patch2 -p1
%patch0 -p1
for kernel_version in %{?kernel_versions} ; do
@@ -78,8 +80,11 @@ done
%{?akmod_install}
%changelog
+* Wed Aug 12 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1:340.108-6
+- Patch for kernel-5.8.0
+
* Sun Jul 05 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1:340.108-5
-- patch for kernel-5.7.0
+- Patch for kernel-5.7.0
* Mon May 18 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 1:340.108-4
- Bump for current
4 years, 3 months
[chromium-freeworld] Update to 84.0.4147.125
by qvint
commit fe78c2d9dc50a21ae7852a1a98f6b5801781454c
Author: qvint <dotqvint(a)gmail.com>
Date: Wed Aug 12 04:12:13 2020 +0300
Update to 84.0.4147.125
- Stop using gold
- Add 'ulimit -n 2048'
chromium-enable-vaapi.patch | 4 ++--
chromium-freeworld.spec | 16 ++++++++++------
sources | 2 +-
3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/chromium-enable-vaapi.patch b/chromium-enable-vaapi.patch
index 50bb0f0..5785193 100644
--- a/chromium-enable-vaapi.patch
+++ b/chromium-enable-vaapi.patch
@@ -32,7 +32,7 @@ Subject: [PATCH] Enable VAAPI on Linux
FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
-@@ -3136,16 +3136,19 @@ const char kMetalDescription[] =
+@@ -3142,16 +3142,19 @@ const char kMetalDescription[] =
#endif
@@ -57,7 +57,7 @@ Subject: [PATCH] Enable VAAPI on Linux
"Use the aggregated ML model to rank the suggested apps.";
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
-@@ -1820,13 +1820,19 @@ extern const char kMetalDescription[];
+@@ -1823,13 +1823,19 @@ extern const char kMetalDescription[];
#endif // defined(OS_MACOSX)
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index b730fe8..dc129ad 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -66,7 +66,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-freeworld
-Version: 84.0.4147.89
+Version: 84.0.4147.125
Release: 1%{?dist}
Summary: Chromium web browser built with all freeworld codecs and VA-API support
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -539,6 +539,9 @@ mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
#####################################BUILD#############################################
%build
+# Final link uses lots of file descriptors.
+ulimit -n 2048
+
#export compilar variables
%if %{clang}
@@ -553,11 +556,6 @@ export CFLAGS="$CFLAGS -Wno-unknown-warning-option"
%else
export AR=ar NM=nm AS=as
export CC=gcc CXX=g++
-
-
-# GN needs gold to bootstrap
-export LDFLAGS="$LDFLAGS -fuse-ld=gold"
-
export CXXFLAGS="$CXXFLAGS -fpermissive"
%if !%{debug_logs}
# Disable useless warning on non debug log builds
@@ -585,6 +583,7 @@ gn_args=(
use_cups=true
use_gnome_keyring=true
use_gio=true
+ use_gold=false
use_kerberos=true
use_libpci=true
use_pulseaudio=true
@@ -763,6 +762,11 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Tue Aug 11 2020 qvint <dotqvint(a)gmail.com> - 84.0.4147.125-1
+- Update to 84.0.4147.125
+- Stop using gold
+- Add 'ulimit -n 2048'
+
* Sat Jul 18 2020 qvint <dotqvint(a)gmail.com> - 84.0.4147.89-1
- Update to 84.0.4147.89
- Use patchset composed by Stephan Hartmann <stha09(a)googlemail.com>
diff --git a/sources b/sources
index f5f739a..5a53a32 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (chromium-84.0.4147.89.tar.xz) = cc207a5f09a89e42bc12fd491d5d0ef11c04daaa324aa696d2f8a37679b8f2171d3b265296968c3312e158b0fd2c059e12727a7463d3bd2f640d5bbd43c4f676
+SHA512 (chromium-84.0.4147.125.tar.xz) = a86439efbadce4cc157fe16e0e16732feda2025e14179a54df6a33446f744dc1db59f1ebcf7d5d29d7bfc42102af1283ddf108982152ec1f869d7623af7bed26
SHA512 (chromium-patches-chromium-84-patchset-3.tar.gz) = ea7f5c9436bbbe3de2fa69f006e0e12be24e73a652d3ac780c30045dfd821b41d9b83779fd306eafc2455cbc8fced3477f5adff626318a4ab5e13b06d9a7234a
SHA512 (xcb-proto-1.13.tar.bz2) = 002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7
4 years, 3 months
[retroarch-freeworld] Update to 1.9.0
by Artem Polishchuk
commit 0a13a95b3d3d01398444c868c592fa89d2683f8d
Author: Artem Polishchuk <ego.cordatus(a)gmail.com>
Date: Mon Aug 10 22:28:36 2020 +0300
Update to 1.9.0
.gitignore | 5 +++++
retroarch-freeworld.spec | 19 +++++++++++++------
sources | 10 +++++-----
3 files changed, 23 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 11b8e62..ec37ff3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,8 @@
/retroarch-1.8.9.tar.gz
/retroarch-assets-20200617git0ac74a9.tar.gz
/retroarch-joypad-autoconfig-20200618git0327efe.tar.gz
+/libretro-core-info-1.9.0.tar.gz
+/libretro-database-1.9.0.tar.gz
+/retroarch-1.9.0.tar.gz
+/retroarch-assets-20200808git7a9a849.tar.gz
+/retroarch-joypad-autoconfig-20200730gitc13eb46.tar.gz
diff --git a/retroarch-freeworld.spec b/retroarch-freeworld.spec
index adea875..5d302ca 100644
--- a/retroarch-freeworld.spec
+++ b/retroarch-freeworld.spec
@@ -18,18 +18,18 @@
# Assets
# * https://github.com/libretro/retroarch-assets
-%global commit1 0ac74a9b2503f5a19e0a9ab1985e5fab8c64993d
+%global commit1 7a9a84956099404e26e2010ffd913b247e1e2dd4
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
-%global date 20200617
+%global date 20200808
# Joypad Autoconfig Files
# * https://github.com/libretro/retroarch-joypad-autoconfig
-%global commit4 0327efe4502203d5a357cf78135d8ab945ae8ad0
+%global commit4 c13eb4653f733f9d2d5d52929f0e87182c27bd61
%global shortcommit4 %(c=%{commit4}; echo ${c:0:7})
-%global date4 20200618
+%global date4 20200730
Name: %{appname}%{?p_suffix}
-Version: 1.8.9
+Version: 1.9.0
Release: 1%{?dist}
Summary: Cross-platform, sophisticated frontend for the libretro API. %{?sum_suffix}
@@ -387,7 +387,8 @@ rm %{buildroot}%{_datadir}/libretro/assets%{?p_suffix}/pkg/osd-font.ttf \
install -m 0644 -Dp %{SOURCE2} %{buildroot}%{_metainfodir}/%{uuid}.appdata.xml
# Joypad Autoconfig Files
-%make_install -C %{appname}-joypad-autoconfig-%{commit4}
+%make_install -C %{appname}-joypad-autoconfig-%{commit4} \
+ DOC_DIR=%{_datadir}/libretro/autoconfig/doc
%if %{with freeworld}
mv %{buildroot}%{_datadir}/libretro/autoconfig/ \
%{buildroot}%{_datadir}/libretro/autoconfig-freeworld/
@@ -467,6 +468,12 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
%changelog
+* Sat Aug 08 2020 Artem Polishchuk <ego.cordatus(a)gmail.com> - 1.9.0-1
+- Update to 1.9.0
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.8.9-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
* Sat Jun 20 2020 Artem Polishchuk <ego.cordatus(a)gmail.com> - 1.8.9-1
- Update to 1.8.9
diff --git a/sources b/sources
index f6ae4d1..6a55d1b 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (libretro-core-info-1.8.9.tar.gz) = 4f89091c9695ee8a48f70059e2d64ae02dd552d7b2af69d31bd0e91e0f98a398e62d4866533040dd815113612ad95776bb6390a629976152536a45d0977f03ee
-SHA512 (libretro-database-1.8.9.tar.gz) = 68579a19de1ea893e858f45efa7da1287847ba81328e26061e8496350cca9026afd5fe8208d995418e874e63772025b460cea7b5a34fd4a3962f1f27881f209f
-SHA512 (retroarch-1.8.9.tar.gz) = 7544437b5e913db2397442fac53cd2a659f06569063f87600040b18d9581055ee8eb8c06316669ef98a07692449b26d07c1b1633be6c4e57b3fc64299a38d459
-SHA512 (retroarch-assets-20200617git0ac74a9.tar.gz) = 562a82c0031734fb52fb8cd503c3e09e824c4d5a432882435303b2ab098ca2ea1e5bc5af6d0bb08117e7464bc677b05af585cc2e711c5872bb447b2599d9a12b
-SHA512 (retroarch-joypad-autoconfig-20200618git0327efe.tar.gz) = 0e88e820829d7459e1ebe0d5da938571f273bfe24c9452a4be230dd4e03c03a47397ea993e081cc7267e75a1f0ae1f7a774ee2d7f6b55cfeead65673fd9587ba
+SHA512 (libretro-core-info-1.9.0.tar.gz) = c0220cb6e0c707b4d0f3c212c9c369413c5404dea9623d2ad69caf28c85f2a0280570dbd2af859240b1fb565ec0de9a5553a576b5be99574f699987c37b1a339
+SHA512 (libretro-database-1.9.0.tar.gz) = 0541c893939fbba0d1142a3622fb42fd3351932ae100d095023c371a77bb69848f0a7e8d50d4f4ff969289fab852e479937b5caa3887d30ceaa6e7a372df4c12
+SHA512 (retroarch-1.9.0.tar.gz) = 228312424325fae12f5647e8774fb546e9a379d7a61a831d84e4c45b0a8ad9c3a2c2d0fd6442347842a71f39be2e0ef9d4302900279fe7e61d5def2966b636c3
+SHA512 (retroarch-assets-20200808git7a9a849.tar.gz) = dde9c0c69eccff8dc75095487e8c29fe8094716446570d7dbfabe0df70b64bbd3248a33c5961d619a56ff87569131d9469dab432cd60b751c5990621d366022d
+SHA512 (retroarch-joypad-autoconfig-20200730gitc13eb46.tar.gz) = d5b5d28507af5c98c1385e2d670370047cc736ed33c60e0db8694b561ec06c8c0b11c49f116cda3908d32108f315f649a39047ff2346eef4f1ef25f17da5cc67
4 years, 3 months