Page MenuHomeSolus

D985.id9681.diff
No OneTemporary

D985.id9681.diff

diff --git a/Makefile b/Makefile
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
diff --git a/abi_used_libs b/abi_used_libs
new file mode 100644
--- /dev/null
+++ b/abi_used_libs
@@ -0,0 +1,64 @@
+ld-linux-x86-64.so.2
+libFLAC.so.8
+libX11-xcb.so.1
+libX11.so.6
+libXcomposite.so.1
+libXcursor.so.1
+libXdamage.so.1
+libXext.so.6
+libXfixes.so.3
+libXi.so.6
+libXrandr.so.2
+libXrender.so.1
+libXss.so.1
+libXtst.so.6
+libasound.so.2
+libatk-1.0.so.0
+libatk-bridge-2.0.so.0
+libatomic.so.1
+libc.so.6
+libcairo.so.2
+libcups.so.2
+libdbus-1.so.3
+libdl.so.2
+libevent-2.1.so.6
+libexpat.so.1
+libfontconfig.so.1
+libfreetype.so.6
+libgcc_s.so.1
+libgdk-3.so.0
+libgdk_pixbuf-2.0.so.0
+libgio-2.0.so.0
+libglib-2.0.so.0
+libgobject-2.0.so.0
+libgtk-3.so.0
+libharfbuzz.so.0
+libicui18n.so.62
+libicuuc.so.62
+libjpeg.so.8
+libjson-glib-1.0.so.0
+liblcms2.so.2
+libm.so.6
+libminizip.so.1
+libnspr4.so
+libnss3.so
+libnssutil3.so
+libopenjp2.so.7
+libopus.so.0
+libpango-1.0.so.0
+libpangocairo-1.0.so.0
+libpng16.so.16
+libpthread.so.0
+libpulse.so.0
+libre2.so
+librt.so.1
+libsmime3.so
+libsnappy.so.1
+libstdc++.so.6
+libwebp.so.7
+libwebpdemux.so.2
+libwebpmux.so.3
+libxcb.so.1
+libxml2.so.2
+libxslt.so.1
+libz.so.1
diff --git a/files/0001-Enable-exclude_unwind_tables-for-offical-builds-with.patch b/files/0001-Enable-exclude_unwind_tables-for-offical-builds-with.patch
new file mode 100644
--- /dev/null
+++ b/files/0001-Enable-exclude_unwind_tables-for-offical-builds-with.patch
@@ -0,0 +1,27 @@
+From 2a7e61cfd777956a5f091809102663600cf29237 Mon Sep 17 00:00:00 2001
+From: Joey Riches <josephriches@gmail.com>
+Date: Thu, 31 May 2018 20:26:05 +0100
+Subject: [PATCH 1/1] Enable exclude_unwind_tables for offical builds without
+ chrome branding
+
+Signed-off-by: Joey Riches <josephriches@gmail.com>
+---
+ build/config/compiler/compiler.gni | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
+index 0b13302021..89ed10f89a 100644
+--- a/build/config/compiler/compiler.gni
++++ b/build/config/compiler/compiler.gni
+@@ -73,7 +73,7 @@ assert(!is_cfi || use_thin_lto, "CFI requires ThinLTO")
+ # which doesn't use Crashpad, crbug.com/479283) builds it's useful to be able
+ # to unwind at runtime.
+ exclude_unwind_tables =
+- (is_chrome_branded && is_official_build) ||
++ (is_official_build) ||
+ (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
+
+ # If true, optimize for size. Does not affect windows builds.
+--
+2.17.1
+
diff --git a/files/0001-Use-ar.patch b/files/0001-Use-ar.patch
new file mode 100644
--- /dev/null
+++ b/files/0001-Use-ar.patch
@@ -0,0 +1,26 @@
+From e14e0119b842fcf198462df34cd24170033e2428 Mon Sep 17 00:00:00 2001
+From: Joey Riches <josephriches@gmail.com>
+Date: Thu, 31 May 2018 20:12:49 +0100
+Subject: [PATCH 1/1] Use ar
+
+Signed-off-by: Joey Riches <josephriches@gmail.com>
+---
+ build/toolchain/gcc_toolchain.gni | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
+index b6f63d7556..9e139aa6d5 100644
+--- a/build/toolchain/gcc_toolchain.gni
++++ b/build/toolchain/gcc_toolchain.gni
+@@ -609,7 +609,7 @@ template("clang_toolchain") {
+ cxx = "$prefix/clang++"
+ ld = cxx
+ readelf = "${toolprefix}readelf"
+- ar = "${prefix}/llvm-ar"
++ ar = "${toolprefix}ar"
+ nm = "${toolprefix}nm"
+
+ forward_variables_from(invoker,
+--
+2.17.1
+
diff --git a/files/api-keys b/files/api-keys
new file mode 100644
--- /dev/null
+++ b/files/api-keys
@@ -0,0 +1,3 @@
+google_api_key="AIzaSyDvTqULEU7AFl9Co6b-j1lEX7mlaV4wQuM"
+google_default_client_id="647124852452-k4g91dgda0qftulavda5u9hale7gh8fu.apps.googleusercontent.com"
+google_default_client_secret="uJsvlfp5vfGxrkUMzmQNbGW4"
diff --git a/files/chromium-system-icu.patch b/files/chromium-system-icu.patch
new file mode 100644
--- /dev/null
+++ b/files/chromium-system-icu.patch
@@ -0,0 +1,19 @@
+diff --git a/third_party/blink/renderer/platform/text/character_property_data_generator.h b/third_party/blink/renderer/platform/text/character_property_data_generator.h
+index 28fb6a9..bb4dbd7 100644
+--- a/third_party/blink/renderer/platform/text/character_property_data_generator.h
++++ b/third_party/blink/renderer/platform/text/character_property_data_generator.h
+@@ -244,10 +244,12 @@ static const UChar32 kIsHangulRanges[] = {
+ 0xD7B0, 0xD7FF,
+ // Halfwidth Hangul Jamo
+ // https://www.unicode.org/charts/nameslist/c_FF00.html
+- 0xFFA0, 0xFFDC,
++ 0xFFA0, 0xFFDB,
+ };
+
+-static const UChar32 kIsHangulArray[] = {};
++static const UChar32 kIsHangulArray[] = {
++ 0xFFDC,
++};
+
+ } // namespace blink
+
diff --git a/files/chromium-widevine-r2.patch b/files/chromium-widevine-r2.patch
new file mode 100644
--- /dev/null
+++ b/files/chromium-widevine-r2.patch
@@ -0,0 +1,39 @@
+Minimal patch to get chromium to compile with widevine support.
+
+Exactly the same as -r1, but we now need to patch
+ninja to pretty please not terminate our build.
+
+caveat emptor: it's in no way clear that building chromium this
+way is safer, from a security perspective, than whatever Google
+Chrome does.
+
+Upstream appears to be cooking up a code-signing trust-chain
+which may protect users against malicious cdm blobs; I doubt
+we benefit from these using this kludge. Ideally, someone
+would look into this more carefully than I have ... tbh as
+soon as I got my "stories" back, I pretty much lost interest :)
+
+-gmt
+
+--
+--- a/third_party/widevine/cdm/stub/widevine_cdm_version.h
++++ b/third_party/widevine/cdm/stub/widevine_cdm_version.h
+@@ -10,6 +10,7 @@
+
+ #include "third_party/widevine/cdm/widevine_cdm_common.h"
+
++#define WIDEVINE_CDM_VERSION_STRING "unknown"
+ #define WIDEVINE_CDM_AVAILABLE
+
+ #endif // WIDEVINE_CDM_VERSION_H_
+--- a/third_party/widevine/cdm/BUILD.gn
++++ b/third_party/widevine/cdm/BUILD.gn
+@@ -11,7 +11,7 @@ import("//third_party/widevine/cdm/widev
+ # Internal Cast builds set enable_widevine=true to bring in Widevine support.
+ # TODO(xhwang): Support component updated CDM on other platforms and remove this
+ # assert.
+-assert(!enable_widevine || is_win || is_mac || is_chromecast,
++assert(!enable_widevine || is_win || is_mac || is_chromecast || is_linux,
+ "Component updated CDM only supported on Windows and Mac for now.")
+
+ widevine_arch = current_cpu
diff --git a/files/chromium.desktop b/files/chromium.desktop
new file mode 100644
--- /dev/null
+++ b/files/chromium.desktop
@@ -0,0 +1,165 @@
+[Desktop Entry]
+Name=Chromium
+Comment=Access the Internet
+Comment[ar]=الدخول إلى الإنترنت
+Comment[bg]=Достъп до интернет
+Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
+Comment[ca]=Accedeix a Internet
+Comment[cs]=Přístup k internetu
+Comment[da]=Få adgang til internettet
+Comment[de]=Internetzugriff
+Comment[el]=Πρόσβαση στο Διαδίκτυο
+Comment[en_GB]=Access the Internet
+Comment[es]=Accede a Internet.
+Comment[et]=Pääs Internetti
+Comment[fi]=Käytä internetiä
+Comment[fil]=I-access ang Internet
+Comment[fr]=Accéder à Internet
+Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
+Comment[he]=גישה אל האינטרנט
+Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
+Comment[hr]=Pristup Internetu
+Comment[hu]=Internetelérés
+Comment[id]=Akses Internet
+Comment[it]=Accesso a Internet
+Comment[ja]=インターネットにアクセス
+Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
+Comment[ko]=인터넷 연결
+Comment[lt]=Interneto prieiga
+Comment[lv]=Piekļūt internetam
+Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
+Comment[mr]=इंटरनेटमध्ये प्रवेश करा
+Comment[nb]=Gå til Internett
+Comment[nl]=Verbinding maken met internet
+Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
+Comment[pl]=Skorzystaj z internetu
+Comment[pt]=Aceder à Internet
+Comment[pt_BR]=Acessar a internet
+Comment[ro]=Accesaţi Internetul
+Comment[ru]=Доступ в Интернет
+Comment[sk]=Prístup do siete Internet
+Comment[sl]=Dostop do interneta
+Comment[sr]=Приступите Интернету
+Comment[sv]=Gå ut på Internet
+Comment[ta]=இணையத்தை அணுகுதல்
+Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
+Comment[th]=เข้าถึงอินเทอร์เน็ต
+Comment[tr]=İnternet'e erişin
+Comment[uk]=Доступ до Інтернету
+Comment[vi]=Truy cập Internet
+Comment[zh_CN]=访问互联网
+Comment[zh_HK]=連線到網際網路
+Comment[zh_TW]=連線到網際網路
+Exec=chromium %U
+Terminal=false
+Icon=chromium
+Type=Application
+Categories=GTK;Network;WebBrowser;
+MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+Actions=NewWindow;NewPrivateWindow;
+
+[Desktop Action NewWindow]
+Name=New Window
+Name[am]=አዲስ መስኮት
+Name[ar]=نافذة جديدة
+Name[bg]=Нов прозорец
+Name[bn]=নতুন উইন্ডো
+Name[ca]=Finestra nova
+Name[cs]=Nové okno
+Name[da]=Nyt vindue
+Name[de]=Neues Fenster
+Name[el]=Νέο Παράθυρο
+Name[en_GB]=New Window
+Name[es]=Nueva ventana
+Name[et]=Uus aken
+Name[fa]=پنجره جدید
+Name[fi]=Uusi ikkuna
+Name[fil]=New Window
+Name[fr]=Nouvelle fenêtre
+Name[gu]=નવી વિંડો
+Name[hi]=नई विंडो
+Name[hr]=Novi prozor
+Name[hu]=Új ablak
+Name[id]=Jendela Baru
+Name[it]=Nuova finestra
+Name[iw]=חלון חדש
+Name[ja]=新規ウインドウ
+Name[kn]=ಹೊಸ ವಿಂಡೊ
+Name[ko]=새 창
+Name[lt]=Naujas langas
+Name[lv]=Jauns logs
+Name[ml]=പുതിയ വിന്‍ഡോ
+Name[mr]=नवीन विंडो
+Name[nl]=Nieuw venster
+Name[no]=Nytt vindu
+Name[pl]=Nowe okno
+Name[pt]=Nova janela
+Name[pt_BR]=Nova janela
+Name[ro]=Fereastră nouă
+Name[ru]=Новое окно
+Name[sk]=Nové okno
+Name[sl]=Novo okno
+Name[sr]=Нови прозор
+Name[sv]=Nytt fönster
+Name[sw]=Dirisha Jipya
+Name[ta]=புதிய சாளரம்
+Name[te]=క్రొత్త విండో
+Name[th]=หน้าต่างใหม่
+Name[tr]=Yeni Pencere
+Name[uk]=Нове вікно
+Name[vi]=Cửa sổ Mới
+Name[zh_CN]=新建窗口
+Name[zh_TW]=開新視窗
+Exec=chromium
+
+[Desktop Action NewPrivateWindow]
+Name=New Incognito Window
+Name[ar]=نافذة جديدة للتصفح المتخفي
+Name[bg]=Нов прозорец „инкогнито“
+Name[bn]=নতুন ছদ্মবেশী উইন্ডো
+Name[ca]=Finestra d'incògnit nova
+Name[cs]=Nové anonymní okno
+Name[da]=Nyt inkognitovindue
+Name[de]=Neues Inkognito-Fenster
+Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
+Name[en_GB]=New Incognito window
+Name[es]=Nueva ventana de incógnito
+Name[et]=Uus inkognito aken
+Name[fa]=پنجره جدید حالت ناشناس
+Name[fi]=Uusi incognito-ikkuna
+Name[fil]=Bagong Incognito window
+Name[fr]=Nouvelle fenêtre de navigation privée
+Name[gu]=નવી છુપી વિંડો
+Name[hi]=नई गुप्त विंडो
+Name[hr]=Novi anoniman prozor
+Name[hu]=Új Inkognitóablak
+Name[id]=Jendela Penyamaran baru
+Name[it]=Nuova finestra di navigazione in incognito
+Name[iw]=חלון חדש לגלישה בסתר
+Name[ja]=新しいシークレット ウィンドウ
+Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
+Name[ko]=새 시크릿 창
+Name[lt]=Naujas inkognito langas
+Name[lv]=Jauns inkognito režīma logs
+Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
+Name[mr]=नवीन गुप्त विंडो
+Name[nl]=Nieuw incognitovenster
+Name[no]=Nytt inkognitovindu
+Name[pl]=Nowe okno incognito
+Name[pt]=Nova janela de navegação anónima
+Name[pt_BR]=Nova janela anônima
+Name[ro]=Fereastră nouă incognito
+Name[ru]=Новое окно в режиме инкогнито
+Name[sk]=Nové okno inkognito
+Name[sl]=Novo okno brez beleženja zgodovine
+Name[sr]=Нови прозор за прегледање без архивирања
+Name[sv]=Nytt inkognitofönster
+Name[ta]=புதிய மறைநிலைச் சாளரம்
+Name[te]=క్రొత్త అజ్ఞాత విండో
+Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
+Name[tr]=Yeni Gizli pencere
+Name[uk]=Нове вікно в режимі анонімного перегляду
+Name[vi]=Cửa sổ ẩn danh mới
+Name[zh_CN]=新建隐身窗口
+Name[zh_TW]=新增無痕式視窗
+Exec=chromium --incognito
diff --git a/files/event.patch b/files/event.patch
new file mode 100644
--- /dev/null
+++ b/files/event.patch
@@ -0,0 +1,35 @@
+description: use system libevent
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/third_party/webrtc/rtc_base/task_queue_libevent.cc
++++ b/third_party/webrtc/rtc_base/task_queue_libevent.cc
+@@ -16,7 +16,7 @@
+ #include <unistd.h>
+ #include <list>
+
+-#include "base/third_party/libevent/event.h"
++#include <event.h>
+ #include "rtc_base/checks.h"
+ #include "rtc_base/criticalsection.h"
+ #include "rtc_base/logging.h"
+--- a/base/message_loop/message_pump_libevent.cc
++++ b/base/message_loop/message_pump_libevent.cc
+@@ -14,7 +14,7 @@
+ #include "base/files/file_util.h"
+ #include "base/logging.h"
+ #include "base/posix/eintr_wrapper.h"
+-#include "base/third_party/libevent/event.h"
++#include <event.h>
+ #include "base/time/time.h"
+ #include "base/trace_event/trace_event.h"
+ #include "build/build_config.h"
+--- a/tools/gn/build/gen.py
++++ b/tools/gn/build/gen.py
+@@ -377,6 +377,7 @@ def WriteGNNinja(path, platform, host, o
+ '-lpthread',
+ # Additional system libraries that are used.
+ '-lnspr4',
++ '-levent',
+ ])
+ elif platform.is_darwin():
+ min_mac_version_flag = '-mmacosx-version-min=10.9'
diff --git a/files/fuzzers.patch b/files/fuzzers.patch
new file mode 100644
--- /dev/null
+++ b/files/fuzzers.patch
@@ -0,0 +1,15 @@
+description: fuzzers aren't built, so don't depend on them
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/BUILD.gn
++++ b/BUILD.gn
+@@ -698,8 +698,7 @@ group("gn_all") {
+ }
+ }
+
+- if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) ||
+- (use_libfuzzer && is_mac)) {
++ if (false) {
+ deps += [
+ "//testing/libfuzzer/fuzzers",
+ "//testing/libfuzzer/tests:libfuzzer_tests",
diff --git a/files/gn-build-config b/files/gn-build-config
new file mode 100644
--- /dev/null
+++ b/files/gn-build-config
@@ -0,0 +1,27 @@
+clang_base_path="/usr"
+cc_wrapper="ccache"
+blink_symbol_level=0
+clang_use_chrome_plugins=false
+enable_hangout_services_extension=true
+enable_nacl=false
+enable_swiftshader=false
+enable_widevine=true
+ffmpeg_branding="ChromeOS"
+is_official_build=true
+link_pulseaudio=true
+use_cfi_icall=false
+linux_use_bundled_binutils=false
+proprietary_codecs=true
+symbol_level=0
+treat_warnings_as_errors=false
+use_custom_libcxx=false
+use_gnome_keyring=false
+use_jumbo_build=true
+use_system_freetype=true
+use_system_harfbuzz=true
+use_system_lcms2=true
+use_system_libjpeg=true
+use_system_zlib=false
+use_sysroot=false
+use_xkbcommon=true
+use_vaapi=true
diff --git a/files/lcms2.patch b/files/lcms2.patch
new file mode 100644
--- /dev/null
+++ b/files/lcms2.patch
@@ -0,0 +1,30 @@
+description: use system lcms2
+author: Michael Gilbert <mgilbert@debian.org>
+bug-debian: http://bugs.debian.org/879153
+
+--- a/third_party/pdfium/BUILD.gn
++++ b/third_party/pdfium/BUILD.gn
+@@ -194,6 +194,7 @@ jumbo_static_library("pdfium") {
+ ":fxge",
+ ":fxjs",
+ ":pwl",
++ "third_party:lcms2",
+ "third_party:bigint",
+ "third_party:pdfium_base",
+ ]
+@@ -687,6 +688,7 @@ jumbo_static_library("fpdftext") {
+ configs += [ ":pdfium_core_config" ]
+ deps = [
+ ":fxcrt",
++ "third_party:lcms2",
+ ]
+ }
+
+@@ -1081,6 +1083,7 @@ jumbo_static_library("fxge") {
+
+ deps = [
+ ":fxcrt",
++ "third_party:lcms2",
+ ]
+
+ defines = [ "DEFINE_PS_TABLES" ]
diff --git a/files/libcxx.patch b/files/libcxx.patch
new file mode 100644
--- /dev/null
+++ b/files/libcxx.patch
@@ -0,0 +1,30 @@
+description: avoid chromium's embedded C++ library when bootstrapping gn
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/tools/gn/build/gen.py
++++ b/tools/gn/build/gen.py
+@@ -369,7 +369,6 @@ def WriteGNNinja(path, platform, host, o
+ cflags.append('--sysroot=' + linux_sysroot)
+ ldflags.append('--sysroot=' + linux_sysroot)
+ ldflags.extend([
+- '-static-libstdc++',
+ '-Wl,--as-needed',
+ ])
+ libs.extend([
+--- a/tools/gn/bootstrap/bootstrap.py
++++ b/tools/gn/bootstrap/bootstrap.py
+@@ -83,14 +83,6 @@ def main(argv):
+ ['ninja', '-C', gn_build_dir, 'gn', '-w', 'dupbuild=err'])
+ shutil.copy2(os.path.join(gn_build_dir, 'gn'), gn_path)
+
+- gn_gen_args = options.gn_gen_args or ''
+- if not options.debug:
+- gn_gen_args += ' is_debug=false'
+- subprocess.check_call([
+- gn_path, 'gen', out_dir,
+- '--args=%s' % gn_gen_args, "--root=" + SRC_ROOT
+- ])
+-
+
+ if __name__ == '__main__':
+ sys.exit(main(sys.argv[1:]))
diff --git a/files/nspr.patch b/files/nspr.patch
new file mode 100644
--- /dev/null
+++ b/files/nspr.patch
@@ -0,0 +1,57 @@
+description: use system nspr library
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/base/time/pr_time_unittest.cc
++++ b/base/time/pr_time_unittest.cc
+@@ -7,7 +7,7 @@
+
+ #include "base/compiler_specific.h"
+ #include "base/macros.h"
+-#include "base/third_party/nspr/prtime.h"
++#include <nspr/prtime.h>
+ #include "base/time/time.h"
+ #include "build/build_config.h"
+ #include "testing/gtest/include/gtest/gtest.h"
+--- a/base/time/time.cc
++++ b/base/time/time.cc
+@@ -14,7 +14,7 @@
+ #include "base/macros.h"
+ #include "base/no_destructor.h"
+ #include "base/strings/stringprintf.h"
+-#include "base/third_party/nspr/prtime.h"
++#include <nspr/prtime.h>
+ #include "base/time/time_override.h"
+ #include "build/build_config.h"
+
+--- a/base/BUILD.gn
++++ b/base/BUILD.gn
+@@ -86,6 +86,9 @@ config("base_flags") {
+ "-Wexit-time-destructors",
+ ]
+ }
++ ldflags = [
++ "-lnspr4",
++ ]
+ }
+
+ config("base_implementation") {
+@@ -915,8 +918,6 @@ jumbo_component("base") {
+ "third_party/dmg_fp/g_fmt.cc",
+ "third_party/icu/icu_utf.cc",
+ "third_party/icu/icu_utf.h",
+- "third_party/nspr/prtime.cc",
+- "third_party/nspr/prtime.h",
+ "third_party/superfasthash/superfasthash.c",
+ "thread_annotations.h",
+ "threading/platform_thread.h",
+--- a/tools/gn/build/gen.py
++++ b/tools/gn/build/gen.py
+@@ -375,6 +375,8 @@ def WriteGNNinja(path, platform, host, o
+ # These are needed by libc++.
+ '-ldl',
+ '-lpthread',
++ # Additional system libraries that are used.
++ '-lnspr4',
+ ])
+ elif platform.is_darwin():
+ min_mac_version_flag = '-mmacosx-version-min=10.9'
diff --git a/files/openjpeg.patch b/files/openjpeg.patch
new file mode 100644
--- /dev/null
+++ b/files/openjpeg.patch
@@ -0,0 +1,118 @@
+description: build using system openjpeg
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/third_party/pdfium/third_party/BUILD.gn
++++ b/third_party/pdfium/third_party/BUILD.gn
+@@ -366,39 +366,11 @@ config("fx_libopenjpeg_warnings") {
+ }
+ }
+
+-static_library("fx_libopenjpeg") {
+- configs -= [ "//build/config/compiler:chromium_code" ]
+- configs += [
+- "//build/config/compiler:no_chromium_code",
+- "//build/config/sanitizers:cfi_icall_generalize_pointers",
+- ":pdfium_third_party_config",
+-
+- # Must be after no_chromium_code for warning flags to be ordered correctly.
+- ":fx_libopenjpeg_warnings",
+- ]
+- sources = [
+- "libopenjpeg20/bio.c",
+- "libopenjpeg20/cio.c",
+- "libopenjpeg20/dwt.c",
+- "libopenjpeg20/event.c",
+- "libopenjpeg20/function_list.c",
+- "libopenjpeg20/image.c",
+- "libopenjpeg20/invert.c",
+- "libopenjpeg20/j2k.c",
+- "libopenjpeg20/jp2.c",
+- "libopenjpeg20/mct.c",
+- "libopenjpeg20/mqc.c",
+- "libopenjpeg20/openjpeg.c",
+- "libopenjpeg20/opj_clock.c",
+- "libopenjpeg20/pi.c",
+- "libopenjpeg20/sparse_array.c",
+- "libopenjpeg20/sparse_array.h",
+- "libopenjpeg20/t1.c",
+- "libopenjpeg20/t2.c",
+- "libopenjpeg20/tcd.c",
+- "libopenjpeg20/tgt.c",
+- "libopenjpeg20/thread.c",
+- ]
++pkg_config("libopenjpeg_from_pkgconfig") {
++ packages = [ "libopenjp2" ]
++}
++group("fx_libopenjpeg") {
++ public_configs = [ ":libopenjpeg_from_pkgconfig" ]
+ }
+
+ config("system_libpng_config") {
+--- a/third_party/pdfium/core/fxcodec/codec/codec_int.h
++++ b/third_party/pdfium/core/fxcodec/codec/codec_int.h
+@@ -15,7 +15,7 @@
+ #include <vector>
+
+ #include "core/fxcodec/jbig2/JBig2_Context.h"
+-#include "third_party/libopenjpeg20/openjpeg.h"
++#include <openjpeg-2.3/openjpeg.h>
+
+ class CPDF_ColorSpace;
+
+--- a/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp
++++ b/third_party/pdfium/core/fxcodec/codec/fx_codec_jpx_opj.cpp
+@@ -16,8 +16,6 @@
+ #include "core/fxcrt/fx_memory.h"
+ #include "core/fxcrt/fx_safe_types.h"
+ #include "third_party/base/ptr_util.h"
+-#include "third_party/libopenjpeg20/openjpeg.h"
+-#include "third_party/libopenjpeg20/opj_malloc.h"
+
+ namespace {
+
+@@ -514,7 +512,6 @@ bool CJPX_Decoder::Init(pdfium::span<con
+ return false;
+
+ m_Image = pTempImage;
+- m_Image->pdfium_use_colorspace = !!m_ColorSpace;
+
+ if (!m_Parameters.nb_tile_to_decode) {
+ if (!opj_set_decode_area(m_Codec.Get(), m_Image.Get(), m_Parameters.DA_x0,
+@@ -548,7 +545,7 @@ bool CJPX_Decoder::Init(pdfium::span<con
+ // TODO(palmer): Using |opj_free| here resolves the crash described in
+ // https://crbug.com/737033, but ultimately we need to harmonize the
+ // memory allocation strategy across OpenJPEG and its PDFium callers.
+- opj_free(m_Image->icc_profile_buf);
++ free(m_Image->icc_profile_buf);
+ m_Image->icc_profile_buf = nullptr;
+ m_Image->icc_profile_len = 0;
+ }
+--- a/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
++++ b/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
+@@ -13,7 +13,7 @@
+ #include "core/fxcodec/codec/codec_int.h"
+ #include "core/fxcrt/unowned_ptr.h"
+ #include "third_party/base/span.h"
+-#include "third_party/libopenjpeg20/openjpeg.h"
++#include <openjpeg-2.3/openjpeg.h>
+
+ class CPDF_ColorSpace;
+
+--- a/third_party/pdfium/BUILD.gn
++++ b/third_party/pdfium/BUILD.gn
+@@ -21,7 +21,6 @@ config("pdfium_common_config") {
+ ldflags = []
+ include_dirs = [ "." ]
+ defines = [
+- "OPJ_STATIC",
+ "PNG_PREFIX",
+ "PNG_USE_READ_MACROS",
+ ]
+@@ -75,7 +74,6 @@ config("pdfium_core_config") {
+ if (is_linux) {
+ if (current_cpu == "x64") {
+ defines += [ "_FX_CPU_=_FX_X64_" ]
+- cflags += [ "-fPIC" ]
+ } else if (current_cpu == "x86") {
+ defines += [ "_FX_CPU_=_FX_X86_" ]
+ }
diff --git a/files/parallel.patch b/files/parallel.patch
new file mode 100644
--- /dev/null
+++ b/files/parallel.patch
@@ -0,0 +1,26 @@
+description: respect specified number of parallel jobs while bootstrapping gn
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/tools/gn/bootstrap/bootstrap.py
++++ b/tools/gn/bootstrap/bootstrap.py
+@@ -51,6 +51,7 @@ def main(argv):
+ action='store_true',
+ help='Download and build with the Debian sysroot.')
+ parser.add_option('-v', '--verbose', help='ignored')
++ parser.add_option('-j', '--jobs', help='Number of jobs')
+ options, args = parser.parse_args(argv)
+ if args:
+ parser.error('Unrecognized command line arguments: %s.' % ', '.join(args))
+@@ -79,8 +80,12 @@ def main(argv):
+
+ shutil.copy2(
+ os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir)
+- subprocess.check_call(
+- ['ninja', '-C', gn_build_dir, 'gn', '-w', 'dupbuild=err'])
++ if options.jobs:
++ subprocess.check_call(
++ ['ninja', '-C', gn_build_dir, 'gn', '-w', 'dupbuild=err', '-j'+str(options.jobs)])
++ else:
++ subprocess.check_call(
++ ['ninja', '-C', gn_build_dir, 'gn', '-w', 'dupbuild=err'])
+ shutil.copy2(os.path.join(gn_build_dir, 'gn'), gn_path)
diff --git a/files/series b/files/series
new file mode 100644
--- /dev/null
+++ b/files/series
@@ -0,0 +1,13 @@
+parallel.patch
+libcxx.patch
+nspr.patch
+event.patch
+lcms2.patch
+openjpeg.patch
+fuzzers.patch
+chromium-system-icu.patch
+chromium-widevine-r2.patch
+0001-Use-ar.patch
+0001-Enable-exclude_unwind_tables-for-offical-builds-with.patch
+use-system-libraries-in-official-build.patch
+vaapi.patch
diff --git a/files/unbundle.py b/files/unbundle.py
new file mode 100644
--- /dev/null
+++ b/files/unbundle.py
@@ -0,0 +1,52 @@
+#!/usr/bin/python3 -B
+
+import os
+import sys
+import shutil
+
+sys.path.append("build/linux/unbundle")
+
+import replace_gn_files
+
+def strip(path):
+ if os.path.exists(path):
+ for filename in os.listdir(path):
+ remove = True
+ for extension in ('.py','.gn','.gni','google','chromium'):
+ if filename.endswith(extension):
+ remove = False
+ if remove:
+ removal=os.path.join(path,filename)
+ print('removing: %s'%removal)
+ if os.path.isdir(removal):
+ shutil.rmtree(removal)
+ else:
+ os.remove(removal)
+
+keepers = ('openh264','libjpeg','ffmpeg','flot','libvpx','zlib')
+
+for lib,rule in replace_gn_files.REPLACEMENTS.items():
+ if lib not in keepers:
+ libdir = os.path.join('third_party',lib)
+ if os.path.exists(libdir):
+ # remove conflicting embedded third party source files
+ strip(libdir)
+ strip(os.path.dirname(rule))
+ # remove the gn file that builds the embedded library
+ if os.path.lexists(rule):
+ print('removing: %s'%rule)
+ os.remove(rule)
+ # create a symlink to the unbundle gn file
+ symlink = "ln -s "
+ path = os.path.split(rule)
+ if not os.path.exists(path[0]):
+ os.mkdir(path[0])
+ while path[0] != '':
+ path = os.path.split(path[0])
+ symlink += '../'
+ symlink += "build/linux/unbundle/%s.gn %s"%(lib,rule)
+ if os.system(symlink):
+ raise RuntimeError("error creating symlink",symlink)
+
+# libjpeg_turbo is unlike all the others, so clean it manually here
+strip('third_party/libjpeg_turbo')
diff --git a/files/use-system-libraries-in-official-build.patch b/files/use-system-libraries-in-official-build.patch
new file mode 100644
--- /dev/null
+++ b/files/use-system-libraries-in-official-build.patch
@@ -0,0 +1,13 @@
+# Allow linking against system libraries when using the GN flag `is_official_build=true`
+
+--- a/tools/generate_shim_headers/generate_shim_headers.py
++++ b/tools/generate_shim_headers/generate_shim_headers.py
+@@ -18,7 +18,7 @@ import sys
+
+
+ SHIM_TEMPLATE = """
+-#if defined(OFFICIAL_BUILD)
++#if defined(GOOGLE_CHROME_BUILD)
+ #error shim headers must not be used in official builds!
+ #endif
+ """
diff --git a/files/vaapi.patch b/files/vaapi.patch
new file mode 100644
--- /dev/null
+++ b/files/vaapi.patch
@@ -0,0 +1,554 @@
+From e95d904578c265a84f117d7d5eff598423f9283d Mon Sep 17 00:00:00 2001
+From: Daniel Charles <daniel.charles@intel.com>
+Date: Fri, 09 Feb 2018 14:39:27 -0800
+Subject: [PATCH] Enable VAVDA, VAVEA and VAJDA on linux with VAAPI only
+
+This patch contains all the changes necessary to use VA-API along with
+vaapi-driver to run all media use cases supported with hardware acceleration.
+
+It is intended to remain as experimental accessible from chrome://flags on linux.
+It requires libva/intel-vaapi-driver to be installed on the system path where
+chrome is executed. Other drivers could be tested if available. Flags are
+kept independent for linux, where this feature has to be enabled before
+actually using it. This should not change how other OSes use the flags
+already, the new flags will show at the buttom on the section of unavailable
+experiments
+
+The changes cover a range of compiler pre-processor flags to enable the stack.
+It moves the presandbox operations to the vaapi_wrapper class as the hook function
+is available there. vaInit will open driver on the correct installed folder.
+
+chrome flags consolidtation into only two flags for linux. Mjpeg and accelerated
+video are used. The other flags are kept for ChromeOS and other OSes.
+
+Developer testing was made on skylake hardware, ChromeOS and Ubuntu.
+
+BUG=NONE
+TEST=subjective testing with VAVDA,VAVEA and VAJDA, autotest for encoder
+ and decoder hardware accelerated
+ have libva/intel-vaapi-driver installed and not installed in the system
+ repeat on different hardware families
+
+Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
+Change-Id: Ifbbf5c9e5221a8b5733fc6d4d0cf984a1f103171
+Signed-off-by: Daniel Charles <daniel.charles@intel.com>
+---
+
+--- a/chrome/browser/about_flags.cc
++++ b/chrome/browser/about_flags.cc
+@@ -1273,12 +1273,14 @@ const FeatureEntry kFeatureEntries[] = {
+ {"ui-disable-partial-swap", flag_descriptions::kUiPartialSwapName,
+ flag_descriptions::kUiPartialSwapDescription, kOsAll,
+ SINGLE_DISABLE_VALUE_TYPE(switches::kUIDisablePartialSwap)},
++#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
+ {"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName,
+ flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS,
+ SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)},
+ {"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName,
+ flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS,
+ SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)},
++#endif
+ {"enable-webrtc-hw-h264-encoding",
+ flag_descriptions::kWebrtcHwH264EncodingName,
+ flag_descriptions::kWebrtcHwH264EncodingDescription, kOsAndroid | kOsCrOS,
+@@ -1647,6 +1649,13 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kShowTouchHudDescription, kOsCrOS,
+ SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)},
+ #endif // OS_CHROMEOS
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ {
++ "enable-accelerated-video", flag_descriptions::kAcceleratedVideoName,
++ flag_descriptions::kAcceleratedVideoDescription, kOsLinux,
++ SINGLE_VALUE_TYPE(switches::kEnableAcceleratedVideo),
++ },
++#else
+ {
+ "disable-accelerated-video-decode",
+ flag_descriptions::kAcceleratedVideoDecodeName,
+@@ -1654,6 +1663,7 @@ const FeatureEntry kFeatureEntries[] = {
+ kOsMac | kOsWin | kOsCrOS | kOsAndroid,
+ SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
+ },
++#endif
+ #if defined(OS_WIN)
+ {"enable-hdr", flag_descriptions::kEnableHDRName,
+ flag_descriptions::kEnableHDRDescription, kOsWin,
+@@ -2326,12 +2336,17 @@ const FeatureEntry kFeatureEntries[] = {
+ FEATURE_VALUE_TYPE(features::kOpenVR)},
+ #endif // ENABLE_OPENVR
+ #endif // ENABLE_VR
+-#if defined(OS_CHROMEOS)
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ {"enable-accelerated-mjpeg-decode",
++ flag_descriptions::kAcceleratedMjpegDecodeName,
++ flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsLinux,
++ SINGLE_VALUE_TYPE(switches::kEnableAcceleratedMjpegDecode)},
++#elif defined(OS_CHROMEOS)
+ {"disable-accelerated-mjpeg-decode",
+ flag_descriptions::kAcceleratedMjpegDecodeName,
+ flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS,
+ SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
+-#endif // OS_CHROMEOS
++#endif
+ {"v8-cache-options", flag_descriptions::kV8CacheOptionsName,
+ flag_descriptions::kV8CacheOptionsDescription, kOsAll,
+ MULTI_VALUE_TYPE(kV8CacheOptionsChoices)},
+--- a/chrome/browser/chromeos/login/chrome_restart_request.cc
++++ b/chrome/browser/chromeos/login/chrome_restart_request.cc
+@@ -19,6 +19,7 @@
+ #include "base/sys_info.h"
+ #include "base/timer/timer.h"
+ #include "base/values.h"
++#include "build/build_config.h"
+ #include "cc/base/switches.h"
+ #include "chrome/browser/browser_process.h"
+ #include "chrome/browser/chromeos/boot_times_recorder.h"
+@@ -84,9 +85,14 @@ void DeriveCommandLine(const GURL& start
+ ::switches::kDisable2dCanvasImageChromium,
+ ::switches::kDisableAccelerated2dCanvas,
+ ::switches::kDisableAcceleratedJpegDecoding,
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ ::switches::kEnableAcceleratedMjpegDecode,
++ ::switches::kEnableAcceleratedVideo,
++#else
+ ::switches::kDisableAcceleratedMjpegDecode,
+ ::switches::kDisableAcceleratedVideoDecode,
+ ::switches::kDisableAcceleratedVideoEncode,
++#endif
+ ::switches::kDisableBlinkFeatures,
+ ::switches::kDisableCastStreamingHWEncoding,
+ ::switches::kDisableGpu,
+@@ -160,8 +166,10 @@ void DeriveCommandLine(const GURL& start
+ ::switches::kEnableWebGLImageChromium,
+ ::switches::kEnableWebVR,
+ ::switches::kEnableUnsafeWebGPU,
++#if (defined(OS_CHROMEOS) || defined(OS_ANDROID))
+ ::switches::kDisableWebRtcHWDecoding,
+ ::switches::kDisableWebRtcHWEncoding,
++#endif
+ ::switches::kOzonePlatform,
+ ash::switches::kAshEnableTabletMode,
+ ash::switches::kAshEnableWaylandServer,
+--- a/chrome/browser/flag_descriptions.cc
++++ b/chrome/browser/flag_descriptions.cc
+@@ -14,6 +14,13 @@ const char kAccelerated2dCanvasDescripti
+ "Enables the use of the GPU to perform 2d canvas rendering instead of "
+ "using software rendering.";
+
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++const char kAcceleratedVideoName[] = "Hardware-accelerated video";
++const char kAcceleratedVideoDescription[] =
++ "Hardware-accelerated video where VA-API driver is installed on the"
++ "system.";
++#endif
++
+ const char kAcceleratedVideoDecodeName[] = "Hardware-accelerated video decode";
+ const char kAcceleratedVideoDecodeDescription[] =
+ "Hardware-accelerated video decode where available.";
+@@ -1986,6 +1993,7 @@ const char kWebrtcEchoCanceller3Name[] =
+ const char kWebrtcEchoCanceller3Description[] =
+ "Experimental WebRTC echo canceller (AEC3).";
+
++#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
+ const char kWebrtcHwDecodingName[] = "WebRTC hardware video decoding";
+ const char kWebrtcHwDecodingDescription[] =
+ "Support in WebRTC for decoding video streams using platform hardware.";
+@@ -1993,6 +2001,7 @@ const char kWebrtcHwDecodingDescription[
+ const char kWebrtcHwEncodingName[] = "WebRTC hardware video encoding";
+ const char kWebrtcHwEncodingDescription[] =
+ "Support in WebRTC for encoding video streams using platform hardware.";
++#endif
+
+ const char kWebrtcHwH264EncodingName[] = "WebRTC hardware h264 video encoding";
+ const char kWebrtcHwH264EncodingDescription[] =
+@@ -2892,14 +2901,16 @@ const char kTabStripKeyboardFocusDescrip
+
+ // Chrome OS -------------------------------------------------------------------
+
+-#if defined(OS_CHROMEOS)
++#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID))
+
+ const char kAcceleratedMjpegDecodeName[] =
+ "Hardware-accelerated mjpeg decode for captured frame";
+ const char kAcceleratedMjpegDecodeDescription[] =
+ "Enable hardware-accelerated mjpeg decode for captured frame where "
+ "available.";
++#endif
+
++#if defined(OS_CHROMEOS)
+ const char kAllowTouchpadThreeFingerClickName[] = "Touchpad three-finger-click";
+ const char kAllowTouchpadThreeFingerClickDescription[] =
+ "Enables touchpad three-finger-click as middle button.";
+--- a/chrome/browser/flag_descriptions.h
++++ b/chrome/browser/flag_descriptions.h
+@@ -37,6 +37,10 @@ namespace flag_descriptions {
+ extern const char kAccelerated2dCanvasName[];
+ extern const char kAccelerated2dCanvasDescription[];
+
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++extern const char kAcceleratedVideoName[];
++extern const char kAcceleratedVideoDescription[];
++#endif
+ extern const char kAcceleratedVideoDecodeName[];
+ extern const char kAcceleratedVideoDecodeDescription[];
+
+@@ -1762,13 +1766,17 @@ extern const char kPermissionPromptPersi
+
+ #endif // defined(OS_MACOSX)
+
+-// Chrome OS ------------------------------------------------------------------
+-
+-#if defined(OS_CHROMEOS)
++#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID))
+
+ extern const char kAcceleratedMjpegDecodeName[];
+ extern const char kAcceleratedMjpegDecodeDescription[];
+
++#endif
++
++// Chrome OS ------------------------------------------------------------------
++
++#if defined(OS_CHROMEOS)
++
+ extern const char kAllowTouchpadThreeFingerClickName[];
+ extern const char kAllowTouchpadThreeFingerClickDescription[];
+
+--- a/content/browser/gpu/compositor_util.cc
++++ b/content/browser/gpu/compositor_util.cc
+@@ -149,7 +149,11 @@ const GpuFeatureData GetGpuFeatureData(
+ {"video_decode",
+ SafeGetFeatureStatus(gpu_feature_info,
+ gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE),
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ !command_line.HasSwitch(switches::kEnableAcceleratedVideo),
++#else
+ command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode),
++#endif
+ "Accelerated video decode has been disabled, either via blacklist, "
+ "about:flags or the command line.",
+ true, true},
+--- a/content/browser/gpu/gpu_process_host.cc
++++ b/content/browser/gpu/gpu_process_host.cc
+@@ -209,7 +209,9 @@ static const char* const kSwitchNames[]
+ switches::kDisableLogging,
+ switches::kDisableShaderNameHashing,
+ switches::kDisableSkiaRuntimeOpts,
++#if !defined(OS_LINUX)
+ switches::kDisableWebRtcHWEncoding,
++#endif
+ #if defined(OS_WIN)
+ switches::kEnableAcceleratedVpxDecode,
+ #endif
+--- a/content/browser/renderer_host/media/video_capture_browsertest.cc
++++ b/content/browser/renderer_host/media/video_capture_browsertest.cc
+@@ -165,8 +165,13 @@ class VideoCaptureBrowserTest : public C
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kUseFakeJpegDecodeAccelerator);
+ } else {
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ base::CommandLine::ForCurrentProcess()->AppendSwitch(
++ switches::kEnableAcceleratedMjpegDecode);
++#else
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kDisableAcceleratedMjpegDecode);
++#endif
+ }
+ }
+
+--- a/content/browser/renderer_host/render_process_host_impl.cc
++++ b/content/browser/renderer_host/render_process_host_impl.cc
+@@ -2799,7 +2799,11 @@ void RenderProcessHostImpl::PropagateBro
+ switches::kDefaultTileHeight,
+ switches::kDisable2dCanvasImageChromium,
+ switches::kDisableAcceleratedJpegDecoding,
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ switches::kEnableAcceleratedVideo,
++#else
+ switches::kDisableAcceleratedVideoDecode,
++#endif
+ switches::kDisableBackgroundTasks,
+ switches::kDisableBackgroundTimerThrottling,
+ switches::kDisableBreakpad,
+@@ -2936,8 +2940,10 @@ void RenderProcessHostImpl::PropagateBro
+ #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION)
+ switches::kDisableMojoRenderer,
+ #endif
++#if !defined(OS_LINUX) || defined(OS_CHROMEOS)
+ switches::kDisableWebRtcHWDecoding,
+ switches::kDisableWebRtcHWEncoding,
++#endif
+ switches::kEnableWebRtcSrtpAesGcm,
+ switches::kEnableWebRtcSrtpEncryptedHeaders,
+ switches::kEnableWebRtcStunOrigin,
+--- a/content/browser/webrtc/webrtc_media_recorder_browsertest.cc
++++ b/content/browser/webrtc/webrtc_media_recorder_browsertest.cc
+@@ -66,7 +66,12 @@ class MAYBE_WebRtcMediaRecorderTest
+ return;
+ // This flag is also used for encoding, https://crbug.com/616640.
+ base::CommandLine::ForCurrentProcess()->AppendSwitch(
+- switches::kDisableAcceleratedVideoDecode);
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ switches::kEnableAcceleratedVideo
++#else
++ switches::kDisableAcceleratedVideoDecode
++#endif
++ );
+ }
+
+ private:
+--- a/content/gpu/BUILD.gn
++++ b/content/gpu/BUILD.gn
+@@ -133,4 +133,8 @@ target(link_target_type, "gpu_sources")
+ (!is_chromecast || is_cast_desktop_build)) {
+ configs += [ "//build/config/linux/dri" ]
+ }
++
++ if (is_desktop_linux) {
++ public_configs = [ "//media/gpu:libva_config" ]
++ }
+ }
+--- a/content/gpu/gpu_main.cc
++++ b/content/gpu/gpu_main.cc
+@@ -284,7 +284,7 @@ int GpuMain(const MainFunctionParams& pa
+
+ base::PlatformThread::SetName("CrGpuMain");
+
+-#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
++#if defined(OS_LINUX)
+ // Set thread priority before sandbox initialization.
+ base::PlatformThread::SetCurrentThreadPriority(base::ThreadPriority::DISPLAY);
+ #endif
+@@ -317,7 +317,7 @@ int GpuMain(const MainFunctionParams& pa
+ GetContentClient()->SetGpuInfo(gpu_init->gpu_info());
+
+ base::ThreadPriority io_thread_priority = base::ThreadPriority::NORMAL;
+-#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
++#if defined(OS_LINUX)
+ io_thread_priority = base::ThreadPriority::DISPLAY;
+ #endif
+
+--- a/content/public/browser/gpu_utils.cc
++++ b/content/public/browser/gpu_utils.cc
+@@ -57,9 +57,17 @@ const gpu::GpuPreferences GetGpuPreferen
+ gpu_preferences.in_process_gpu =
+ command_line->HasSwitch(switches::kInProcessGPU);
+ gpu_preferences.disable_accelerated_video_decode =
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ !command_line->HasSwitch(switches::kEnableAcceleratedVideo);
++#else
+ command_line->HasSwitch(switches::kDisableAcceleratedVideoDecode);
++#endif
+ gpu_preferences.disable_accelerated_video_encode =
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ !command_line->HasSwitch(switches::kEnableAcceleratedVideo);
++#else
+ command_line->HasSwitch(switches::kDisableAcceleratedVideoEncode);
++#endif
+ #if defined(OS_WIN)
+ uint32_t enable_accelerated_vpx_decode_val =
+ gpu::GpuPreferences::VPX_VENDOR_MICROSOFT;
+--- a/content/public/common/content_switches.cc
++++ b/content/public/common/content_switches.cc
+@@ -79,6 +79,11 @@ const char kDisable3DAPIs[]
+ // Disable gpu-accelerated 2d canvas.
+ const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
+
++#if defined(OS_LINUX)
++// Enables hardware acceleration of video for Linux only. VA-API driver
++// is required to be present on the system installation.
++const char kEnableAcceleratedVideo[] = "enable-accelerated-video";
++#endif
+ // Disables hardware acceleration of video decode, where available.
+ const char kDisableAcceleratedVideoDecode[] =
+ "disable-accelerated-video-decode";
+@@ -868,11 +873,13 @@ const char kWaitForDebuggerChildren[]
+ // ignores this switch on its stable and beta channels.
+ const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
+
++#if defined(OS_CHROMEOS)
+ // Disables HW decode acceleration for WebRTC.
+ const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
+
+ // Disables HW encode acceleration for WebRTC.
+ const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
++#endif
+
+ // Enables negotiation of GCM cipher suites from RFC 7714 for SRTP in WebRTC.
+ // See https://tools.ietf.org/html/rfc7714 for further information.
+--- a/content/public/common/content_switches.h
++++ b/content/public/common/content_switches.h
+@@ -104,6 +104,9 @@ CONTENT_EXPORT extern const char kDisabl
+ CONTENT_EXPORT extern const char kDomAutomationController[];
+ extern const char kDisable2dCanvasClipAntialiasing[];
+ CONTENT_EXPORT extern const char kDumpBlinkRuntimeCallStats[];
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++CONTENT_EXPORT extern const char kEnableAcceleratedVideo[];
++#endif
+ CONTENT_EXPORT extern const char kEnableAccessibilityObjectModel[];
+ CONTENT_EXPORT extern const char kEnableAggressiveDOMStorageFlushing[];
+ CONTENT_EXPORT extern const char kEnableAutomation[];
+@@ -241,8 +244,10 @@ CONTENT_EXPORT extern const char kValida
+ CONTENT_EXPORT extern const char kWaitForDebuggerChildren[];
+
+ CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
++#if defined(OS_CHROMEOS)
+ CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
+ CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
++#endif
+ CONTENT_EXPORT extern const char kEnableWebRtcSrtpAesGcm[];
+ CONTENT_EXPORT extern const char kEnableWebRtcSrtpEncryptedHeaders[];
+ CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[];
+--- a/content/renderer/media/webrtc/peer_connection_dependency_factory.cc
++++ b/content/renderer/media/webrtc/peer_connection_dependency_factory.cc
+@@ -276,10 +276,18 @@ void PeerConnectionDependencyFactory::In
+
+ const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
+ if (gpu_factories && gpu_factories->IsGpuVideoAcceleratorEnabled()) {
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ if (cmd_line->HasSwitch(switches::kEnableAcceleratedVideo))
++#else
+ if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWDecoding))
++#endif
+ decoder_factory.reset(new RTCVideoDecoderFactory(gpu_factories));
+
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ if (cmd_line->HasSwitch(switches::kEnableAcceleratedVideo))
++#else
+ if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding))
++#endif
+ encoder_factory.reset(new RTCVideoEncoderFactory(gpu_factories));
+ }
+
+--- a/content/renderer/render_thread_impl.cc
++++ b/content/renderer/render_thread_impl.cc
+@@ -1441,7 +1441,11 @@ media::GpuVideoAcceleratorFactories* Ren
+ kGpuStreamIdMedia, kGpuStreamPriorityMedia);
+
+ const bool enable_video_accelerator =
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++ cmd_line->HasSwitch(switches::kEnableAcceleratedVideo) &&
++#else
+ !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) &&
++#endif
+ (gpu_channel_host->gpu_feature_info()
+ .status_values[gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE] ==
+ gpu::kGpuFeatureStatusEnabled);
+--- a/gpu/config/software_rendering_list.json
++++ b/gpu/config/software_rendering_list.json
+@@ -377,17 +377,6 @@
+ ]
+ },
+ {
+- "id": 48,
+- "description": "Accelerated video decode is unavailable on Linux",
+- "cr_bugs": [137247],
+- "os": {
+- "type": "linux"
+- },
+- "features": [
+- "accelerated_video_decode"
+- ]
+- },
+- {
+ "id": 50,
+ "description": "Disable VMware software renderer on older Mesa",
+ "cr_bugs": [145531, 332596, 571899, 629434],
+--- a/media/gpu/BUILD.gn
++++ b/media/gpu/BUILD.gn
+@@ -495,6 +495,14 @@ if (use_v4l2_codec || use_vaapi || is_ma
+ }
+ }
+
++if (is_desktop_linux && use_vaapi) {
++ import("//build/config/linux/pkg_config.gni")
++
++ pkg_config("libva_config") {
++ packages = [ "libva" ]
++ }
++}
++
+ if (use_vaapi) {
+ test("jpeg_encode_accelerator_unittest") {
+ deps = [
+@@ -559,6 +567,10 @@ if (use_v4l2_codec || use_vaapi) {
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ }
++
++ if (is_desktop_linux) {
++ public_configs = [ ":libva_config" ]
++ }
+ }
+ }
+
+--- a/media/base/media_switches.cc
++++ b/media/base/media_switches.cc
+@@ -117,10 +117,15 @@ const char kUseFileForFakeAudioCapture[]
+ // accelerator hardware to be present.
+ const char kUseFakeJpegDecodeAccelerator[] = "use-fake-jpeg-decode-accelerator";
+
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++// Enable hardware accelerated mjpeg decode on linux
++const char kEnableAcceleratedMjpegDecode[] = "enable-accelerated-mjpeg-decode";
++#else
+ // Disable hardware acceleration of mjpeg decode for captured frame, where
+ // available.
+ const char kDisableAcceleratedMjpegDecode[] =
+ "disable-accelerated-mjpeg-decode";
++#endif
+
+ // When running tests on a system without the required hardware or libraries,
+ // this flag will cause the tests to fail. Otherwise, they silently succeed.
+@@ -462,15 +467,22 @@ const base::Feature kPreloadMediaEngagem
+ #endif
+
+ bool IsVideoCaptureAcceleratedJpegDecodingEnabled() {
++
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
++ switches::kEnableAcceleratedMjpegDecode)
++#else
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+- switches::kDisableAcceleratedMjpegDecode)) {
++ switches::kDisableAcceleratedMjpegDecode)
++#endif
++ ) {
+ return false;
+ }
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kUseFakeJpegDecodeAccelerator)) {
+ return true;
+ }
+-#if defined(OS_CHROMEOS)
++#if !defined(OS_ANDROID) && defined(OS_LINUX)
+ return true;
+ #endif
+ return false;
+--- a/media/base/media_switches.h
++++ b/media/base/media_switches.h
+@@ -66,7 +66,11 @@ MEDIA_EXPORT extern const char kUseFakeD
+ MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[];
+ MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[];
+ MEDIA_EXPORT extern const char kUseFakeJpegDecodeAccelerator[];
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++MEDIA_EXPORT extern const char kEnableAcceleratedMjpegDecode[];
++#else
+ MEDIA_EXPORT extern const char kDisableAcceleratedMjpegDecode[];
++#endif
+
+ MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[];
+ MEDIA_EXPORT extern const char kMuteAudio[];
+--- a/content/browser/utility_process_host.cc
++++ b/content/browser/utility_process_host.cc
+@@ -296,7 +296,11 @@ bool UtilityProcessHost::StartProcess()
+ switches::kOverrideUseSoftwareGLForTests,
+ switches::kOverrideEnabledCdmInterfaceVersion,
+ switches::kProxyServer,
++#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
++ switches::kEnableAcceleratedMjpegDecode,
++#else
+ switches::kDisableAcceleratedMjpegDecode,
++#endif
+ switches::kUseFakeDeviceForMediaStream,
+ switches::kUseFakeJpegDecodeAccelerator,
+ switches::kUseFileForFakeVideoCapture,
diff --git a/package.yml b/package.yml
new file mode 100644
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,131 @@
+name : chromium
+version : '69.0.3497.100'
+release : 1
+source :
+ - https://commondatastorage.googleapis.com/chromium-browser-official/chromium-69.0.3497.100.tar.xz : e3391560e73e25fb4afc3f2dd5616607e2dbfc58aa88251a2c5d6b7096fe9e35
+ - https://github.com/foutrelis/chromium-launcher/archive/v6.tar.gz : 04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1
+license :
+ - Apache-2.0
+ - BSD-3-Clause
+ - GPL-3.0-or-later
+ - IJG
+ - ISC
+ - LGPL-3.0-or-later
+ - MIT
+ - MPL-1.1
+ - OpenSSL
+component : network.web.browser
+summary : A web browser built for speed, simplicity, and security
+description: |
+ Chromium is an open-source web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. The two browsers share the majority of code and features, though there are some minor differences in features, logos and they have different licensing.
+clang : yes
+builddeps :
+ - pkgconfig(alsa)
+ - pkgconfig(flac)
+ - pkgconfig(gtk+-3.0)
+ - pkgconfig(json-glib-1.0)
+ - pkgconfig(krb5-gssapi)
+ - pkgconfig(lcms2)
+ - pkgconfig(libavcodec)
+ - pkgconfig(libevent)
+ - pkgconfig(libjpeg)
+ - pkgconfig(libopenjp2)
+ - pkgconfig(libpci)
+ - pkgconfig(libpulse)
+ - pkgconfig(libva)
+ - pkgconfig(libwebp)
+ - pkgconfig(libxslt)
+ - pkgconfig(minizip)
+ - pkgconfig(nss)
+ - pkgconfig(opus)
+ - pkgconfig(vpx)
+ - pkgconfig(xscrnsaver)
+ - pkgconfig(xtst)
+ - cups-devel
+ - git
+ - gperf
+ - nodejs
+ - re2-devel
+ - snappy-devel
+ - yasm
+setup : |
+ %apply_patches
+
+ mkdir chromium-launcher
+ bsdtar xf $sources/v6.tar.gz -C $workdir/chromium-launcher --strip=1
+
+ # unbundle script failing idfk
+ rm -v base/third_party/libevent/BUILD.gn
+
+ # Remove bundled dependancies to force chromium to use system libraries
+ mv $pkgfiles/unbundle.py $workdir/
+ python3 unbundle.py
+
+ # Export build config & keys
+ FLAGS=(`cat $pkgfiles/gn-build-config`)
+ API_KEYS=(`cat $pkgfiles/api-keys`)
+
+ # Bootstrap GN with build configuration
+ #python tools/gn/bootstrap/bootstrap.py %JOBS% --gn-gen-args "${FLAGS[*]} ${API_KEYS[*]}"
+
+ ./tools/gn/bootstrap/bootstrap.py %JOBS% -s --no-clean
+ ./out/Release/gn gen out/Release --args="${FLAGS[*]} ${API_KEYS[*]}"
+build : |
+ # optimize_webui enabled requires nodejs and this workaround
+ mkdir -p third_party/node/linux/node-linux-x64/bin
+ ln -s /usr/bin/node $workdir/third_party/node/linux/node-linux-x64/bin/node
+
+ # chromium launcher
+ %make -C chromium-launcher
+
+ ninja %JOBS% -C out/Release \
+ chrome \
+ chrome_sandbox \
+ chromedriver \
+ headless_shell \
+ remoting_me2me_host \
+ remoting_start_host \
+ remoting_native_messaging_host \
+ remoting_native_messaging_manifests \
+ remoting/webapp
+install : |
+ # Install chromium launcher wrapper
+ pushd chromium-launcher
+ make PREFIX=/usr DESTDIR=$installdir install
+ popd
+
+ install -Dm00755 out/Release/chrome $installdir/usr/lib64/chromium/chromium
+
+ # chromium
+ cp -a \
+ out/Release/{chrome_{100,200}_percent,resources}.pak \
+ out/Release/{*.bin,chromedriver} \
+ out/Release/locales \
+ $installdir/usr/lib64/chromium/
+
+ # Setup sandbox
+ install -Dm04775 out/Release/chrome_sandbox $installdir/usr/lib64/chromium/chrome-sandbox
+
+ # headless shell support
+ install -Dm00644 out/Release/headless_lib.pak $installdir/usr/lib64/chromium/headless_lib.pak
+ install -Dm00755 out/Release/headless_shell $installdir/usr/lib64/chromium/headless_shell
+
+ # desktop file
+ install -Dm00644 $pkgfiles/chromium.desktop $installdir/usr/share/applications/chromium.desktop
+
+ # man page
+ install -Dm00644 chrome/app/resources/manpage.1.in $installdir/usr/share/man/man1/chromium.1
+
+ # icons
+ for size in 22 24 48 64 128 256; do
+ install -Dm00644 chrome/app/theme/chromium/product_logo_$size.png \
+ $installdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png
+ done
+ for size in 16 32; do
+ install -Dm00644 chrome/app/theme/default_100_percent/chromium/product_logo_$size.png \
+ $installdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png
+ done
+
+ # appstream data
+ install -Dm00644 chrome/installer/linux/common/chromium-browser/chromium-browser.appdata.xml \
+ $installdir/usr/share/metainfo/chromium-browser.appdata.xml
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,170 @@
+<PISI>
+ <Source>
+ <Name>chromium</Name>
+ <Packager>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Packager>
+ <License>Apache-2.0</License>
+ <License>BSD-3-Clause</License>
+ <License>GPL-3.0-or-later</License>
+ <License>IJG</License>
+ <License>ISC</License>
+ <License>LGPL-3.0-or-later</License>
+ <License>MIT</License>
+ <License>MPL-1.1</License>
+ <License>OpenSSL</License>
+ <PartOf>network.web.browser</PartOf>
+ <Summary xml:lang="en">A web browser built for speed, simplicity, and security</Summary>
+ <Description xml:lang="en">Chromium is an open-source web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. The two browsers share the majority of code and features, though there are some minor differences in features, logos and they have different licensing.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>chromium</Name>
+ <Summary xml:lang="en">A web browser built for speed, simplicity, and security</Summary>
+ <Description xml:lang="en">Chromium is an open-source web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. The two browsers share the majority of code and features, though there are some minor differences in features, logos and they have different licensing.
+</Description>
+ <PartOf>network.web.browser</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin/chromium</Path>
+ <Path fileType="library">/usr/lib64/chromium/chrome-sandbox</Path>
+ <Path fileType="library">/usr/lib64/chromium/chrome_100_percent.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/chrome_200_percent.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/chromedriver</Path>
+ <Path fileType="library">/usr/lib64/chromium/chromium</Path>
+ <Path fileType="library">/usr/lib64/chromium/headless_lib.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/headless_shell</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/am.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/am.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ar.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ar.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/bg.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/bg.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/bn.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/bn.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ca.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ca.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/cs.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/cs.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/da.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/da.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/de.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/de.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/el.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/el.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/en-GB.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/en-GB.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/en-US.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/en-US.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/es-419.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/es-419.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/es.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/es.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/et.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/et.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fa.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fa.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fi.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fi.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fil.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fil.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fr.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/fr.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/gu.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/gu.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/he.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/he.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/hi.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/hi.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/hr.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/hr.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/hu.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/hu.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/id.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/id.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/it.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/it.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ja.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ja.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/kn.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/kn.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ko.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ko.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/lt.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/lt.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/lv.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/lv.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ml.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ml.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/mr.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/mr.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ms.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ms.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/nb.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/nb.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/nl.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/nl.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/pl.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/pl.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/pt-BR.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/pt-BR.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/pt-PT.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/pt-PT.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ro.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ro.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ru.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ru.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sk.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sk.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sl.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sl.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sr.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sr.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sv.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sv.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sw.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/sw.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ta.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/ta.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/te.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/te.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/th.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/th.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/tr.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/tr.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/uk.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/uk.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/vi.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/vi.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/zh-CN.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/zh-CN.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/zh-TW.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/locales/zh-TW.pak.info</Path>
+ <Path fileType="library">/usr/lib64/chromium/natives_blob.bin</Path>
+ <Path fileType="library">/usr/lib64/chromium/resources.pak</Path>
+ <Path fileType="library">/usr/lib64/chromium/snapshot_blob.bin</Path>
+ <Path fileType="library">/usr/lib64/chromium/v8_context_snapshot.bin</Path>
+ <Path fileType="data">/usr/share/applications/chromium.desktop</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/128x128/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/16x16/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/22x22/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/24x24/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/256x256/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/32x32/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/48x48/apps/chromium.png</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/64x64/apps/chromium.png</Path>
+ <Path fileType="man">/usr/share/man/man1/chromium.1</Path>
+ <Path fileType="data">/usr/share/metainfo/chromium-browser.appdata.xml</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2018-09-26</Date>
+ <Version>69.0.3497.100</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Joey Riches</Name>
+ <Email>josephriches@gmail.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 6, 5:06 PM (2 d, 3 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5814810
Default Alt Text
D985.id9681.diff (67 KB)

Event Timeline