[chromium-browser-privacy: 47/103] Merge branch 'master' into f30
by qvint
commit b5ae81cab48d2ac41c6aa4888ede53b28ac6d8f0
Merge: 5a043eb 4bbccf8
Author: Akarshan Biswas <akarshan(a)desktop.biswasab.org>
Date: Sun May 5 19:06:57 2019 +0530
Merge branch 'master' into f30
chromium-vaapi.spec | 43 ++++++++-----------------------------------
sources | 2 +-
2 files changed, 9 insertions(+), 36 deletions(-)
---
5 years, 1 month
[chromium-browser-privacy: 46/103] Update to 74.0.3729.131 and spec cleanup
by qvint
commit 4bbccf833de3c6afd7cd057a168294f792d5f12e
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Sun May 5 18:42:26 2019 +0530
Update to 74.0.3729.131 and spec cleanup
chromium-vaapi.spec | 43 ++++++++-----------------------------------
sources | 2 +-
2 files changed, 9 insertions(+), 36 deletions(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index a3b4435..1005317 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -59,15 +59,11 @@
#------------------------------------------------------
#Build debug packages for debugging
%global debug_pkg 0
-#Allow building with Fedora compilation flags
-%global fedora_compilation_flags 0
-# Gold switch
-%global stopgold 0
# Enable building with ozone support
%global ozone 0
##############################Package Definitions######################################
Name: chromium-vaapi
-Version: 74.0.3729.108
+Version: 74.0.3729.131
Release: 1%{?dist}
Summary: A Chromium web browser with video decoding acceleration
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)
@@ -76,7 +72,7 @@ URL: https://www.chromium.org/Home
Source0: https://commondatastorage.googleapis.com/chromium-browser-official/chromi...
%else
# Unfortunately, Fedora & Copr forbids uploading sources with patent-encumbered
-# ffmpeg code even if they are never compiled and linked to target binraies,
+# ffmpeg code even if they are never compiled and linked to target binaries,
# so we must repackage upstream tarballs to satisfy this requirement. However,
# we cannot simply delete all code of ffmpeg because this will disable support
# for some commonly-used free codecs such as Ogg Theora. Instead, helper
@@ -494,25 +490,7 @@ sed -i.orig -e 's/getenv("CHROME_VERSION_EXTRA")/"%{name}"/' $FILE
#export compilar variables
export AR=llvm-ar NM=llvm-nm AS=llvm-as
export CC=clang CXX=clang++
-%if %{fedora_compilation_flags}
-#Build flags to make hardened binaries
-#Remove some flags which are incompatible with chromium code.
-CBUILDFLAGS="$(echo '%{__global_cflags}' | sed -e 's/-fexceptions//' \
- -e 's/-Werror=format-security//' \
- -e 's/-pipe//' \
- -e 's/-g1record-g1cc-switches//' \
- -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ -g$//g')"
-CXXBUILDFLAGS="$(echo '%{?__global_cxxflags}%{!?__global_cxxflags:%{__global_cflags}}' | sed -e 's/-fexceptions//' \
- -e 's/-Werror=format-security//' \
- -e 's/-pipe//' \
- -e 's/-g1record-g1cc-switches//' \
- -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ -g$//g')"
-export CFLAGS="${CBUILDFLAGS}"
-export CXXFLAGS="${CXXBUILDFLAGS} -fpermissive"
-export LDFLAGS='%{__global_ldflags}'
-%else
export CXXFLAGS=$CXXFLAGS" -fpermissive"
-%endif
gn_args=(
is_debug=false
use_vaapi=true
@@ -554,17 +532,11 @@ gn_args=(
'google_default_client_id="%{default_client_id}"'
'google_default_client_secret="%{default_client_secret}"'
)
-# Gold is faulty on rawhide so disabled it.
-gn_args+=(
- is_clang=false
- use_lld=true
-%if %{stopgold}
- use_gold=false
-%endif
-)
+
#compiler settings
gn_args+=(
is_clang=true
+ use_lld=true
'clang_base_path = "/usr"'
clang_use_chrome_plugins=false
)
@@ -585,8 +557,7 @@ gn_args+=(
%endif
)
-# Ozone stuff
-# Tracking bug : https://github.com/Igalia/chromium/issues/512
+# Ozone stuff : Whole work is done completely upstream.
gn_args+=(
%if %{ozone}
use_ozone=true
@@ -624,7 +595,6 @@ install -m 644 %{SOURCE11} %{buildroot}%{_metainfodir}
sed -e "s|@@MENUNAME@@|%{name}|g" -e "s|@@PACKAGE@@|%{name}|g" \
chrome/app/resources/manpage.1.in > chrome.1
install -m 644 chrome.1 %{buildroot}%{_mandir}/man1/%{name}.1
-#Using the template from the source. Still doesn't help in fixing.
sed -e "s|@@MENUNAME@@|%{name}|g" -e "s|@@PACKAGE@@|%{name}|g" -e "s|@@USR_BIN_SYMLINK_NAME@@|%{name}|g" \
chrome/installer/linux/common/desktop.template > %{name}.desktop
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
@@ -695,6 +665,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
%changelog
+* Sun May 05 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 74.0.3729.131-1
+- Update to 74.0.3729.131 and spec cleanup
+
* Thu Apr 25 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 74.0.3729.108-1
- Update to 74.0.3729.108
- Install missing MEIPreload component
diff --git a/sources b/sources
index 5bc7e30..39fe869 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3394d93149ce5a541d6c534ecd966a86 chromium-74.0.3729.108.tar.xz
+d5d3df1b1229191b1b7095863780a83d chromium-74.0.3729.131.tar.xz
5 years, 1 month
[chromium-browser-privacy: 45/103] Merge branch 'master' into f30
by qvint
commit 5a043ebd02376d31cb4b8655b631b223e9f5e740
Merge: 846be0c b94d551
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Sun Apr 28 17:10:41 2019 +0000
Merge branch 'master' into f30
chromium-color_utils-use-std-sqrt.patch | 48 -------------
chromium-glibc-2.29.patch | 98 +++++++++++++++++++++++++++
chromium-media-fix-build-with-libstdc++.patch | 48 -------------
chromium-vaapi.spec | 35 ++++++----
nounrar.patch | 13 ++--
sources | 2 +-
stopVsyncspam.patch | 32 ---------
7 files changed, 129 insertions(+), 147 deletions(-)
---
5 years, 1 month
[chromium-browser-privacy: 44/103] Upload new sources
by qvint
commit b94d55150987cd39b1697412d1a937011979e430
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Sat Apr 27 09:24:52 2019 +0000
Upload new sources
sources | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sources b/sources
index 784a21d..5bc7e30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6614c55c213b9348ce7f4d072fe0a848 chromium-73.0.3683.103.tar.xz
+3394d93149ce5a541d6c534ecd966a86 chromium-74.0.3729.108.tar.xz
5 years, 1 month
[chromium-browser-privacy: 43/103] Update to 74.0.3729.108 Install missing MEIPreload component
by qvint
commit f0dfab73268025786f495e5750116a14b521e3ca
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Fri Apr 26 07:09:43 2019 +0000
Update to 74.0.3729.108
Install missing MEIPreload component
chromium-color_utils-use-std-sqrt.patch | 48 -------------
chromium-glibc-2.29.patch | 98 +++++++++++++++++++++++++++
chromium-media-fix-build-with-libstdc++.patch | 48 -------------
chromium-vaapi.spec | 32 +++++----
nounrar.patch | 13 ++--
stopVsyncspam.patch | 32 ---------
6 files changed, 124 insertions(+), 147 deletions(-)
---
diff --git a/chromium-glibc-2.29.patch b/chromium-glibc-2.29.patch
new file mode 100644
index 0000000..5b00aad
--- /dev/null
+++ b/chromium-glibc-2.29.patch
@@ -0,0 +1,98 @@
+tree 0f4b37852646eae176de06a5d92cd2f68ffaf318
+parent a38dc4152f043e81310b0deff46f9a770b9f5fcb
+author Matthew Denton <mpdenton(a)chromium.org> 1555962368 -0700
+committer Matthew Denton <mpdenton(a)chromium.org> 1555962368 -0700
+
+Update Linux Seccomp syscall restrictions to EPERM posix_spawn/vfork
+
+Glibc's system() function switched to using posix_spawn, which uses
+CLONE_VFORK. Pepperflash includes a sandbox debugging check which
+relies on us EPERM-ing process creation like this, rather than crashing
+the process with SIGSYS.
+
+So whitelist clone() calls, like posix_spawn, that include the flags
+CLONE_VFORK and CLONE_VM.
+
+Bug: 949312
+Change-Id: I3f4b90114b2fc1d9929e3c0a85bbe8f10def3c20
+
+diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+index cdeb210..40fcebf 100644
+--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
++++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+@@ -10,7 +10,9 @@
+ #include <sched.h>
+ #include <signal.h>
+ #include <stddef.h>
++#include <stdlib.h>
+ #include <string.h>
++#include <sys/mman.h>
+ #include <sys/prctl.h>
+ #include <sys/resource.h>
+ #include <sys/socket.h>
+@@ -130,6 +132,33 @@
+ BPF_ASSERT_EQ(EPERM, fork_errno);
+ }
+
++BPF_TEST_C(BaselinePolicy, SystemEperm, BaselinePolicy) {
++ errno = 0;
++ int ret_val = system("echo SHOULD NEVER RUN");
++ BPF_ASSERT_EQ(-1, ret_val);
++ BPF_ASSERT_EQ(EPERM, errno);
++}
++
++BPF_TEST_C(BaselinePolicy, CloneVforkEperm, BaselinePolicy) {
++ errno = 0;
++ // Allocate a couple pages for the child's stack even though the child should
++ // never start.
++ constexpr size_t kStackSize = 4096 * 4;
++ void* child_stack = mmap(nullptr, kStackSize, PROT_READ | PROT_WRITE,
++ MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);
++ BPF_ASSERT_NE(child_stack, nullptr);
++ pid_t pid = syscall(__NR_clone, CLONE_VM | CLONE_VFORK | SIGCHLD,
++ static_cast<char*>(child_stack) + kStackSize, nullptr,
++ nullptr, nullptr);
++ const int clone_errno = errno;
++ TestUtils::HandlePostForkReturn(pid);
++
++ munmap(child_stack, kStackSize);
++
++ BPF_ASSERT_EQ(-1, pid);
++ BPF_ASSERT_EQ(EPERM, clone_errno);
++}
++
+ BPF_TEST_C(BaselinePolicy, CreateThread, BaselinePolicy) {
+ base::Thread thread("sandbox_tests");
+ BPF_ASSERT(thread.Start());
+diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+index 100afe5..348ab6e 100644
+--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
++++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+@@ -135,7 +135,8 @@
+ #if !defined(OS_NACL_NONSFI)
+ // Allow Glibc's and Android pthread creation flags, crash on any other
+ // thread creation attempts and EPERM attempts to use neither
+-// CLONE_VM, nor CLONE_THREAD, which includes all fork() implementations.
++// CLONE_VM nor CLONE_THREAD (all fork implementations), unless CLONE_VFORK is
++// present (as in newer versions of posix_spawn).
+ ResultExpr RestrictCloneToThreadsAndEPERMFork() {
+ const Arg<unsigned long> flags(0);
+
+@@ -154,8 +155,16 @@
+ AnyOf(flags == kAndroidCloneMask, flags == kObsoleteAndroidCloneMask,
+ flags == kGlibcPthreadFlags);
+
++ // The following two flags are the two important flags in any vfork-emulating
++ // clone call. EPERM any clone call that contains both of them.
++ const uint64_t kImportantCloneVforkFlags = CLONE_VFORK | CLONE_VM;
++
++ const BoolExpr is_fork_or_clone_vfork =
++ AnyOf((flags & (CLONE_VM | CLONE_THREAD)) == 0,
++ (flags & kImportantCloneVforkFlags) == kImportantCloneVforkFlags);
++
+ return If(IsAndroid() ? android_test : glibc_test, Allow())
+- .ElseIf((flags & (CLONE_VM | CLONE_THREAD)) == 0, Error(EPERM))
++ .ElseIf(is_fork_or_clone_vfork, Error(EPERM))
+ .Else(CrashSIGSYSClone());
+ }
+
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 484bd08..a3b4435 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -67,7 +67,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-vaapi
-Version: 73.0.3683.103
+Version: 74.0.3729.108
Release: 1%{?dist}
Summary: A Chromium web browser with video decoding acceleration
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)
@@ -122,7 +122,7 @@ BuildRequires: pkgconfig(dbus-1), pkgconfig(libudev)
BuildRequires: pkgconfig(gnome-keyring-1)
BuildRequires: pkgconfig(libffi)
#for vaapi
-BuildRequires: pkgconfig(libva)
+BuildRequires: pkgconfig(libva)
%if %{ozone}
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(wayland-client)
@@ -206,11 +206,9 @@ Patch54: brand.patch
#Stolen from Fedora to fix building with pipewire
# https://src.fedoraproject.org/rpms/chromium/blob/master/f/chromium-73.0.3...
Patch65: chromium-73.0.3683.75-pipewire-cstring-fix.patch
-# Stop Vsync error spam when chromium runs on Wayland (Reviewed upstream)
-Patch66: stopVsyncspam.patch
-#Fix chromium color
-Patch67: chromium-color_utils-use-std-sqrt.patch
-Patch68: chromium-media-fix-build-with-libstdc++.patch
+# Update Linux Seccomp syscall restrictions to EPERM posix_spawn/vfork
+Patch66: chromium-glibc-2.29.patch
+
%description
chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
############################################PREP###########################################################
@@ -227,15 +225,15 @@ chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
%if %{freeworld}
%patch54 -p1 -b .brand
%endif
-#%patch64 -p1 -b .gn
%if 0%{?fedora} >= 29
%patch65 -p1 -b .pipewire
%endif
-%patch66 -p1 -b .vsync
-%patch67 -p1 -b .color
-%patch68 -p1 -b .media
+%patch66 -p1 -b .glibc
+%if 0%{?fedora} >= 30
+# Add a workaround for a race condition in clang-llvm8+ compiler
sed -i 's|const std::vector<Delta> deltas_;|std::vector<Delta> deltas_;|' chrome/browser/ui/tabs/tab_strip_model_observer.h
+%endif
#Let's change the default shebang of python files.
find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python2}=' {} +
@@ -269,7 +267,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/angle/src/third_party/compiler \
third_party/angle/src/third_party/libXNVCtrl \
third_party/angle/src/third_party/trace_event \
- third_party/angle/third_party/glslang \
+ third_party/glslang \
third_party/angle/third_party/spirv-headers \
third_party/angle/third_party/spirv-tools \
third_party/angle/third_party/vulkan-headers \
@@ -302,8 +300,10 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/crashpad/crashpad/third_party/zlib \
third_party/crc32c \
third_party/cros_system_api \
+ third_party/dav1d \
third_party/devscripts \
third_party/dom_distiller_js \
+ third_party/emoji-segmenter \
%if !%{with system_ffmpeg}
third_party/ffmpeg \
%endif
@@ -642,7 +642,7 @@ install -m 644 %{target}/v8_context_snapshot.bin %{buildroot}%{chromiumdir}/
install -m 644 %{target}/*.pak %{buildroot}%{chromiumdir}/
install -m 644 %{target}/locales/*.pak %{buildroot}%{chromiumdir}/locales/
install -m 644 %{target}/xdg* %{buildroot}%{chromiumdir}/
-install -m 644 out/Release/MEIPreload/* %{buildroot}%{chromiumdir}/MEIPreload/
+install -m 644 %{target}/MEIPreload/* %{buildroot}%{chromiumdir}/MEIPreload/
for i in 16 32; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
install -m 644 chrome/app/theme/default_100_percent/chromium/product_logo_$i.png \
@@ -695,6 +695,10 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
%changelog
+* Thu Apr 25 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 74.0.3729.108-1
+- Update to 74.0.3729.108
+- Install missing MEIPreload component
+
* Fri Apr 05 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 73.0.3683.103-1
- Update to 73.0.3683.103
@@ -823,3 +827,5 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
* Wed Aug 29 2018 Akarshan Biswas <akarshan.biswas(a)hotmail.com> 68.0.3440.106-1
- Deleted provides and excludes and added conflict
+
+
diff --git a/nounrar.patch b/nounrar.patch
index 7395711..b3be4fa 100644
--- a/nounrar.patch
+++ b/nounrar.patch
@@ -127,13 +127,13 @@ index 158cbfc6d157..6d8b0df7c59e 100644
"sandboxed_zip_analyzer.cc",
"sandboxed_zip_analyzer.h",
]
-@@ -35,7 +33,6 @@ source_set("unit_tests") {
+@@ -49,7 +47,6 @@ source_set("unit_tests") {
- sources = [
- "sandboxed_dmg_analyzer_mac_unittest.cc",
-- "sandboxed_rar_analyzer_unittest.cc",
- "sandboxed_zip_analyzer_unittest.cc",
- ]
+ sources = [
+ "sandboxed_dmg_analyzer_mac_unittest.cc",
+- "sandboxed_rar_analyzer_unittest.cc",
+ "sandboxed_zip_analyzer_unittest.cc",
+ ]
diff --git a/chrome/services/file_util/public/mojom/safe_archive_analyzer.mojom b/chrome/services/file_util/public/mojom/safe_archive_analyzer.mojom
index 266160351e18..15d5aaba3657 100644
@@ -186,3 +186,4 @@ index 94d6ec0e16f8..2eda4f378bcc 100644
const std::unique_ptr<service_manager::ServiceContextRef> service_ref_;
+
5 years, 1 month
[chromium-browser-privacy: 42/103] Add MEIPreload in install package
by qvint
commit 84f0bc7413faf37525d735cff49de350e09f4971
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Fri Apr 26 06:07:32 2019 +0000
Add MEIPreload in install package
chromium-vaapi.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index d06ff94..484bd08 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -613,6 +613,7 @@ ninja %{_smp_mflags} -C %{target} chrome chrome_sandbox chromedriver
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{chromiumdir}/locales
+mkdir -p %{buildroot}%{chromiumdir}/MEIPreload
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_metainfodir}
mkdir -p %{buildroot}%{_datadir}/applications
@@ -641,6 +642,7 @@ install -m 644 %{target}/v8_context_snapshot.bin %{buildroot}%{chromiumdir}/
install -m 644 %{target}/*.pak %{buildroot}%{chromiumdir}/
install -m 644 %{target}/locales/*.pak %{buildroot}%{chromiumdir}/locales/
install -m 644 %{target}/xdg* %{buildroot}%{chromiumdir}/
+install -m 644 out/Release/MEIPreload/* %{buildroot}%{chromiumdir}/MEIPreload/
for i in 16 32; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
install -m 644 chrome/app/theme/default_100_percent/chromium/product_logo_$i.png \
@@ -686,6 +688,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/*.pak
%{chromiumdir}/xdg-mime
%{chromiumdir}/xdg-settings
+%dir %{chromiumdir}/MEIPreload
+%{chromiumdir}/MEIPreload/manifest.json
+%{chromiumdir}/MEIPreload/preloaded_data.pb
%dir %{chromiumdir}/locales
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
5 years, 1 month
[chromium-browser-privacy: 41/103] Merge branch 'master' into f30
by qvint
commit 846be0c8878a33f93761151f52b517e7b0f24168
Merge: 5e4b736 8a83ddf
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Apr 23 16:45:00 2019 +0300
Merge branch 'master' into f30
.gitignore | 12 +-----------
chromium-vaapi.spec | 20 +++++++++++---------
2 files changed, 12 insertions(+), 20 deletions(-)
---
5 years, 1 month
[chromium-browser-privacy: 40/103] Fixed build with llvm 8.
by qvint
commit 8a83ddfcf79ee8a73b3969b1881ad009c224dde9
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Apr 23 16:34:32 2019 +0300
Fixed build with llvm 8.
chromium-vaapi.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 3ce4ec0..d06ff94 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -234,6 +234,9 @@ chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
%patch66 -p1 -b .vsync
%patch67 -p1 -b .color
%patch68 -p1 -b .media
+
+sed -i 's|const std::vector<Delta> deltas_;|std::vector<Delta> deltas_;|' chrome/browser/ui/tabs/tab_strip_model_observer.h
+
#Let's change the default shebang of python files.
find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python2}=' {} +
./build/linux/unbundle/remove_bundled_libraries.py --do-remove \
5 years, 1 month
[chromium-browser-privacy: 38/103] Removed outdated workarounds for linker and compiler
by qvint
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, 1 month