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,65 @@ +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 +libatspi.so.0 +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.63 +libicuuc.so.63 +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 +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 +--- + 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 +Date: Thu, 31 May 2018 20:12:49 +0100 +Subject: [PATCH 1/1] Use ar + +Signed-off-by: Joey Riches +--- + 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.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,36 @@ +description: use system libevent +author: Michael Gilbert + +--- a/third_party/webrtc/rtc_base/task_queue_libevent.cc ++++ b/third_party/webrtc/rtc_base/task_queue_libevent.cc +@@ -22,7 +22,7 @@ + #include // for remove_reference<>::... + #include // for move + +-#include "base/third_party/libevent/event.h" ++#include + #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 + #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 +@@ -320,6 +320,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,36 @@ +description: fuzzers aren't built, so don't depend on them +author: Michael Gilbert + +--- a/BUILD.gn ++++ b/BUILD.gn +@@ -700,8 +700,7 @@ group("gn_all") { + } + } + +- if ((is_linux && !is_chromeos && !is_chromecast) || +- (is_win && (use_drfuzz || use_libfuzzer)) || (use_libfuzzer && is_mac)) { ++ if (false) { + deps += [ + "//testing/libfuzzer/fuzzers", + "//testing/libfuzzer/tests:libfuzzer_tests", +--- a/content/test/BUILD.gn ++++ b/content/test/BUILD.gn +@@ -2227,9 +2227,3 @@ test("content_perftests") { + deps += [ "//testing/android/native_test:native_test_native_code" ] + } + } +- +-group("fuzzers") { +- deps = [ +- "//content/test/fuzzer", +- ] +-} +--- a/v8/tools/BUILD.gn ++++ b/v8/tools/BUILD.gn +@@ -11,7 +11,6 @@ group("gn_all") { + data_deps = [ + ":v8_check_static_initializers", + "gcmole:v8_run_gcmole", +- "jsfunfuzz:v8_jsfunfuzz", + ] + } 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/harfbuzz.patch b/files/harfbuzz.patch new file mode 100644 --- /dev/null +++ b/files/harfbuzz.patch @@ -0,0 +1,80 @@ +From 7ae38170a117e909bb28e1470842b68de3501197 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert +Date: Sun, 21 Oct 2018 10:06:53 -0400 +Subject: [PATCH] blink: add 'const' modifier for harfbuzz hb_codepoint_t + pointers + +This resolves a build failure against harfbuzz 2.0. + +Based on a patch by Alexandre Fierreira. + +Bug: https://bugs.gentoo.org/669034 +--- + .../renderer/platform/fonts/shaping/harfbuzz_face.cc | 2 +- + .../renderer/platform/fonts/skia/skia_text_metrics.cc | 9 +++++++-- + .../renderer/platform/fonts/skia/skia_text_metrics.h | 2 +- + 3 files changed, 9 insertions(+), 4 deletions(-) + +diff --git a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc +index 8e7d91ca371f..e279a5876cb3 100644 +--- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc ++++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc +@@ -139,7 +139,7 @@ static hb_position_t HarfBuzzGetGlyphHorizontalAdvance(hb_font_t* hb_font, + static void HarfBuzzGetGlyphHorizontalAdvances(hb_font_t* font, + void* font_data, + unsigned count, +- hb_codepoint_t* first_glyph, ++ const hb_codepoint_t* first_glyph, + unsigned int glyph_stride, + hb_position_t* first_advance, + unsigned int advance_stride, +diff --git a/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.cc b/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.cc +index 77ec6209fab9..9f9070921448 100644 +--- a/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.cc ++++ b/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.cc +@@ -18,6 +18,11 @@ T* advance_by_byte_size(T* p, unsigned byte_size) { + return reinterpret_cast(reinterpret_cast(p) + byte_size); + } + ++template ++T* advance_by_byte_size_const(T* p, unsigned byte_size) { ++ return reinterpret_cast(reinterpret_cast(p) + byte_size); ++} ++ + } // namespace + + SkiaTextMetrics::SkiaTextMetrics(const SkPaint* paint) : paint_(paint) { +@@ -39,7 +44,7 @@ void SkiaTextMetrics::GetGlyphWidthForHarfBuzz(hb_codepoint_t codepoint, + } + + void SkiaTextMetrics::GetGlyphWidthForHarfBuzz(unsigned count, +- hb_codepoint_t* glyphs, ++ const hb_codepoint_t* glyphs, + unsigned glyph_stride, + hb_position_t* advances, + unsigned advance_stride) { +@@ -48,7 +53,7 @@ void SkiaTextMetrics::GetGlyphWidthForHarfBuzz(unsigned count, + // array that copy them to a regular array. + Vector glyph_array(count); + for (unsigned i = 0; i < count; +- i++, glyphs = advance_by_byte_size(glyphs, glyph_stride)) { ++ i++, glyphs = advance_by_byte_size_const(glyphs, glyph_stride)) { + glyph_array[i] = *glyphs; + } + Vector sk_width_array(count); +diff --git a/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.h b/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.h +index 787d8af0375a..3bc4407c641b 100644 +--- a/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.h ++++ b/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.h +@@ -19,7 +19,7 @@ class SkiaTextMetrics final { + + void GetGlyphWidthForHarfBuzz(hb_codepoint_t, hb_position_t* width); + void GetGlyphWidthForHarfBuzz(unsigned count, +- hb_codepoint_t* first_glyph, ++ const hb_codepoint_t* first_glyph, + unsigned glyph_stride, + hb_position_t* first_advance, + unsigned advance_stride); +-- +2.19.1 + 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 +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,13 @@ +description: avoid chromium's embedded C++ library when bootstrapping gn +author: Michael Gilbert + +--- a/tools/gn/build/gen.py ++++ b/tools/gn/build/gen.py +@@ -312,7 +312,6 @@ def WriteGNNinja(path, platform, host, o + + if platform.is_linux(): + ldflags.extend([ +- '-static-libstdc++', + '-Wl,--as-needed', + ]) + libs.extend([ 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 + +--- 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 + #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 + #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,119 @@ +description: build using system openjpeg +author: Michael Gilbert + +--- a/third_party/pdfium/third_party/BUILD.gn ++++ b/third_party/pdfium/third_party/BUILD.gn +@@ -367,39 +367,11 @@ config("fx_libopenjpeg_warnings") { + } + } + +-source_set("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 +@@ -10,7 +10,7 @@ + #include + + #include "core/fxcodec/jbig2/JBig2_Context.h" +-#include "third_party/libopenjpeg20/openjpeg.h" ++#include + + class CPDF_ColorSpace; + +--- a/third_party/pdfium/core/fxcodec/codec/ccodec_jpxmodule.cpp ++++ b/third_party/pdfium/core/fxcodec/codec/ccodec_jpxmodule.cpp +@@ -17,8 +17,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 { + +@@ -515,7 +513,6 @@ bool CJPX_Decoder::Init(pdfium::spanpdfium_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, +@@ -549,7 +546,7 @@ bool CJPX_Decoder::Init(pdfium::spanicc_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 + + 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", + ] +@@ -78,7 +77,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,29 @@ +description: respect specified number of parallel jobs while bootstrapping gn +author: Michael Gilbert + +--- 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') + parser.add_option( + '--skip-generate-buildfiles', + action='store_true', +@@ -82,8 +83,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) + + if not options.skip_generate_buildfiles: + diff --git a/files/series b/files/series new file mode 100644 --- /dev/null +++ b/files/series @@ -0,0 +1,15 @@ +parallel.patch +libcxx.patch +nspr.patch +event.patch +lcms2.patch +openjpeg.patch +fuzzers.patch +harfbuzz.patch +chromium-system-icu.patch +widevine.patch +0001-Use-ar.patch +0001-Enable-exclude_unwind_tables-for-offical-builds-with.patch +use-system-libraries-in-official-build.patch +sysroot.patch +vaapi.patch diff --git a/files/sysroot.patch b/files/sysroot.patch new file mode 100644 --- /dev/null +++ b/files/sysroot.patch @@ -0,0 +1,11 @@ +--- a/tools/gn/bootstrap/bootstrap.py ++++ b/tools/gn/bootstrap/bootstrap.py +@@ -76,8 +76,6 @@ def main(argv): + '--no-last-commit-position', + '--out-path=' + gn_build_dir, + ] +- if not options.with_sysroot: +- cmd.append('--no-sysroot') + if options.debug: + cmd.append('--debug') + subprocess.check_call(cmd) 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') + +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,555 @@ +From e95d904578c265a84f117d7d5eff598423f9283d Mon Sep 17 00:00:00 2001 +From: Daniel Charles +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 +--- + +--- a/chrome/browser/about_flags.cc ++++ b/chrome/browser/about_flags.cc +@@ -1429,12 +1429,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, +@@ -1815,6 +1817,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, +@@ -1822,6 +1831,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, +@@ -2501,12 +2511,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."; +@@ -2121,6 +2128,7 @@ const char kWebrtcHybridAgcName[] = "Web + const char kWebrtcHybridAgcDescription[] = + "WebRTC Agc2 digital adaptation with Agc1 analog adaptation."; + ++#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."; +@@ -2128,6 +2136,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[] = +@@ -3059,14 +3068,16 @@ const char kTextSuggestionsTouchBarDescr + + // 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[]; + +@@ -1849,13 +1853,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 +@@ -150,7 +150,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 +@@ -210,7 +210,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 +@@ -166,8 +166,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 +@@ -2932,7 +2932,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, +@@ -3072,8 +3076,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 +@@ -134,4 +134,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 +@@ -283,7 +283,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 +@@ -316,7 +316,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 +@@ -58,9 +58,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 +@@ -64,6 +64,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"; +@@ -853,11 +858,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 +@@ -102,6 +102,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[]; +@@ -239,8 +242,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 +@@ -1415,7 +1415,11 @@ media::GpuVideoAcceleratorFactories* Ren + 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 +@@ -374,17 +374,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 +@@ -501,6 +501,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 = [ +@@ -571,6 +579,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 +@@ -108,10 +108,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. +@@ -460,15 +465,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 +@@ -64,7 +64,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 +@@ -304,7 +304,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/files/widevine.patch b/files/widevine.patch new file mode 100644 --- /dev/null +++ b/files/widevine.patch @@ -0,0 +1,22 @@ +diff -upr chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc chromium-71.0.3578.80/chrome/common/chrome_content_client.cc +--- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc 2018-12-03 20:16:43.000000000 +0000 ++++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-04 21:34:28.658206942 +0000 +@@ -99,7 +99,7 @@ + // Registers Widevine CDM if Widevine is enabled, the Widevine CDM is + // bundled and not a component. When the Widevine CDM is a component, it is + // registered in widevine_cdm_component_installer.cc. +-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) ++#if BUILDFLAG(ENABLE_WIDEVINE) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) + #define REGISTER_BUNDLED_WIDEVINE_CDM + #include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck + // TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support +diff -upr chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h +--- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-03 20:18:01.000000000 +0000 ++++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-04 21:37:45.635374949 +0000 +@@ -12,4 +12,6 @@ + // - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available + // as a string, e.g., "1.0.123.456"). + ++#define WIDEVINE_CDM_VERSION_STRING "unknown" ++ + #endif // WIDEVINE_CDM_VERSION_H_ diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,137 @@ +name : chromium +version : '71.0.3578.98' +release : 1 +source : + - https://commondatastorage.googleapis.com/chromium-browser-official/chromium-71.0.3578.98.tar.xz : 1c56a9e30825774c83d568d194e9585625c6e90f81ee0ef09760fcedc86b9d45 + - 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 + + # https://crbug.com/893950 + sed -i -e 's/\/malloc/' -e 's/\/free/' \ + third_party/blink/renderer/core/xml/*.cc \ + third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \ + third_party/libxml/chromium/libxml_utils.cc + + 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 --skip-generate-buildfiles + ./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 @@ + + + chromium + + Joey Riches + josephriches@gmail.com + + Apache-2.0 + BSD-3-Clause + GPL-3.0-or-later + IJG + ISC + LGPL-3.0-or-later + MIT + MPL-1.1 + OpenSSL + network.web.browser + A web browser built for speed, simplicity, and security + 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. + + https://solus-project.com/sources/README.Solus + + + chromium + A web browser built for speed, simplicity, and security + 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. + + network.web.browser + + /usr/bin/chromium + /usr/lib64/chromium/chrome-sandbox + /usr/lib64/chromium/chrome_100_percent.pak + /usr/lib64/chromium/chrome_200_percent.pak + /usr/lib64/chromium/chromedriver + /usr/lib64/chromium/chromium + /usr/lib64/chromium/headless_lib.pak + /usr/lib64/chromium/headless_shell + /usr/lib64/chromium/locales/am.pak + /usr/lib64/chromium/locales/am.pak.info + /usr/lib64/chromium/locales/ar.pak + /usr/lib64/chromium/locales/ar.pak.info + /usr/lib64/chromium/locales/bg.pak + /usr/lib64/chromium/locales/bg.pak.info + /usr/lib64/chromium/locales/bn.pak + /usr/lib64/chromium/locales/bn.pak.info + /usr/lib64/chromium/locales/ca.pak + /usr/lib64/chromium/locales/ca.pak.info + /usr/lib64/chromium/locales/cs.pak + /usr/lib64/chromium/locales/cs.pak.info + /usr/lib64/chromium/locales/da.pak + /usr/lib64/chromium/locales/da.pak.info + /usr/lib64/chromium/locales/de.pak + /usr/lib64/chromium/locales/de.pak.info + /usr/lib64/chromium/locales/el.pak + /usr/lib64/chromium/locales/el.pak.info + /usr/lib64/chromium/locales/en-GB.pak + /usr/lib64/chromium/locales/en-GB.pak.info + /usr/lib64/chromium/locales/en-US.pak + /usr/lib64/chromium/locales/en-US.pak.info + /usr/lib64/chromium/locales/es-419.pak + /usr/lib64/chromium/locales/es-419.pak.info + /usr/lib64/chromium/locales/es.pak + /usr/lib64/chromium/locales/es.pak.info + /usr/lib64/chromium/locales/et.pak + /usr/lib64/chromium/locales/et.pak.info + /usr/lib64/chromium/locales/fa.pak + /usr/lib64/chromium/locales/fa.pak.info + /usr/lib64/chromium/locales/fi.pak + /usr/lib64/chromium/locales/fi.pak.info + /usr/lib64/chromium/locales/fil.pak + /usr/lib64/chromium/locales/fil.pak.info + /usr/lib64/chromium/locales/fr.pak + /usr/lib64/chromium/locales/fr.pak.info + /usr/lib64/chromium/locales/gu.pak + /usr/lib64/chromium/locales/gu.pak.info + /usr/lib64/chromium/locales/he.pak + /usr/lib64/chromium/locales/he.pak.info + /usr/lib64/chromium/locales/hi.pak + /usr/lib64/chromium/locales/hi.pak.info + /usr/lib64/chromium/locales/hr.pak + /usr/lib64/chromium/locales/hr.pak.info + /usr/lib64/chromium/locales/hu.pak + /usr/lib64/chromium/locales/hu.pak.info + /usr/lib64/chromium/locales/id.pak + /usr/lib64/chromium/locales/id.pak.info + /usr/lib64/chromium/locales/it.pak + /usr/lib64/chromium/locales/it.pak.info + /usr/lib64/chromium/locales/ja.pak + /usr/lib64/chromium/locales/ja.pak.info + /usr/lib64/chromium/locales/kn.pak + /usr/lib64/chromium/locales/kn.pak.info + /usr/lib64/chromium/locales/ko.pak + /usr/lib64/chromium/locales/ko.pak.info + /usr/lib64/chromium/locales/lt.pak + /usr/lib64/chromium/locales/lt.pak.info + /usr/lib64/chromium/locales/lv.pak + /usr/lib64/chromium/locales/lv.pak.info + /usr/lib64/chromium/locales/ml.pak + /usr/lib64/chromium/locales/ml.pak.info + /usr/lib64/chromium/locales/mr.pak + /usr/lib64/chromium/locales/mr.pak.info + /usr/lib64/chromium/locales/ms.pak + /usr/lib64/chromium/locales/ms.pak.info + /usr/lib64/chromium/locales/nb.pak + /usr/lib64/chromium/locales/nb.pak.info + /usr/lib64/chromium/locales/nl.pak + /usr/lib64/chromium/locales/nl.pak.info + /usr/lib64/chromium/locales/pl.pak + /usr/lib64/chromium/locales/pl.pak.info + /usr/lib64/chromium/locales/pt-BR.pak + /usr/lib64/chromium/locales/pt-BR.pak.info + /usr/lib64/chromium/locales/pt-PT.pak + /usr/lib64/chromium/locales/pt-PT.pak.info + /usr/lib64/chromium/locales/ro.pak + /usr/lib64/chromium/locales/ro.pak.info + /usr/lib64/chromium/locales/ru.pak + /usr/lib64/chromium/locales/ru.pak.info + /usr/lib64/chromium/locales/sk.pak + /usr/lib64/chromium/locales/sk.pak.info + /usr/lib64/chromium/locales/sl.pak + /usr/lib64/chromium/locales/sl.pak.info + /usr/lib64/chromium/locales/sr.pak + /usr/lib64/chromium/locales/sr.pak.info + /usr/lib64/chromium/locales/sv.pak + /usr/lib64/chromium/locales/sv.pak.info + /usr/lib64/chromium/locales/sw.pak + /usr/lib64/chromium/locales/sw.pak.info + /usr/lib64/chromium/locales/ta.pak + /usr/lib64/chromium/locales/ta.pak.info + /usr/lib64/chromium/locales/te.pak + /usr/lib64/chromium/locales/te.pak.info + /usr/lib64/chromium/locales/th.pak + /usr/lib64/chromium/locales/th.pak.info + /usr/lib64/chromium/locales/tr.pak + /usr/lib64/chromium/locales/tr.pak.info + /usr/lib64/chromium/locales/uk.pak + /usr/lib64/chromium/locales/uk.pak.info + /usr/lib64/chromium/locales/vi.pak + /usr/lib64/chromium/locales/vi.pak.info + /usr/lib64/chromium/locales/zh-CN.pak + /usr/lib64/chromium/locales/zh-CN.pak.info + /usr/lib64/chromium/locales/zh-TW.pak + /usr/lib64/chromium/locales/zh-TW.pak.info + /usr/lib64/chromium/natives_blob.bin + /usr/lib64/chromium/resources.pak + /usr/lib64/chromium/snapshot_blob.bin + /usr/lib64/chromium/v8_context_snapshot.bin + /usr/share/applications/chromium.desktop + /usr/share/icons/hicolor/128x128/apps/chromium.png + /usr/share/icons/hicolor/16x16/apps/chromium.png + /usr/share/icons/hicolor/22x22/apps/chromium.png + /usr/share/icons/hicolor/24x24/apps/chromium.png + /usr/share/icons/hicolor/256x256/apps/chromium.png + /usr/share/icons/hicolor/32x32/apps/chromium.png + /usr/share/icons/hicolor/48x48/apps/chromium.png + /usr/share/icons/hicolor/64x64/apps/chromium.png + /usr/share/man/man1/chromium.1 + /usr/share/metainfo/chromium-browser.appdata.xml + + + + + 2019-01-22 + 71.0.3578.98 + Packaging update + Joey Riches + josephriches@gmail.com + + + \ No newline at end of file