/[packages]/updates/8/chromium-browser-stable/current/SPECS/chromium-browser-stable.spec
ViewVC logotype

Diff of /updates/8/chromium-browser-stable/current/SPECS/chromium-browser-stable.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1603641 by ovitters, Thu Jul 9 12:36:10 2020 UTC revision 1641959 by ns80, Tue Nov 3 08:51:20 2020 UTC
# Line 3  Line 3 
3  %global debug_package          %{nil}  %global debug_package          %{nil}
4  %global __debug_install_post   %{nil}  %global __debug_install_post   %{nil}
5    
6  %global use_clang 0  %global use_clang 1
7  %global system_icu 1  %global system_icu 1
8  %global system_openjpeg 1  %global system_openjpeg 1
9  %global system_libtiff 1  %global system_libtiff 1
# Line 45  Line 45 
45  %define    google_default_client_secret mRHXPjlS4cLpp1beCiXoYbLZ  %define    google_default_client_secret mRHXPjlS4cLpp1beCiXoYbLZ
46    
47  Name:           chromium-browser-stable  Name:           chromium-browser-stable
48  Version:        83.0.4103.97  Version:        86.0.4240.111
49  Release:        %mkrel 3  Release:        %mkrel 1
50  Summary:        A fast webkit-based web browser  Summary:        A fast webkit-based web browser
51  Group:          Networking/WWW  Group:          Networking/WWW
52  License:        BSD, LGPL  License:        BSD, LGPL
# Line 56  URL:           http://www.chromium.org/Home Line 56  URL:           http://www.chromium.org/Home
56  Source0:        http://commondatastorage.googleapis.com/chromium-browser-official/chromium-%{version}.tar.xz  Source0:        http://commondatastorage.googleapis.com/chromium-browser-official/chromium-%{version}.tar.xz
57  Source1:        chromium-wrapper  Source1:        chromium-wrapper
58  Source2:        chromium-browser.desktop  Source2:        chromium-browser.desktop
 Source4:        widevine_cdm_version.h.in  
 # from gentoo: compiler setup  
 Patch1:         chromium-compiler-r4.patch  
59  # fix googleisms in man page  # fix googleisms in man page
60  Patch2:         chromium-mageia.patch  Patch2:         chromium-mageia.patch
61    # (ns80) use a patch rather than a source file for widevine
62    Patch3:         chromium-71.0.3578.98-widevine-r3.patch
63    # (ns80) remove unrar
64    Patch4:         chromium-norar.patch
65  # (cjw) Recognize mimetypes for matroska (.mkv) and AVI (.avi) formats (video/x-matroska and audio/x-matroska, video/x-msvideo) + handle A52 "AC3" and DTS compressed audio.  # (cjw) Recognize mimetypes for matroska (.mkv) and AVI (.avi) formats (video/x-matroska and audio/x-matroska, video/x-msvideo) + handle A52 "AC3" and DTS compressed audio.
66  Patch6:         chromium-55-extra-media.patch  Patch6:         chromium-55-extra-media.patch
67  # (cjw) [1/2] Recognize mimetypes for WMV (.wmv), FLV (.flv) and MPEG (.mpg) videos  # (cjw) [1/2] Recognize mimetypes for WMV (.wmv), FLV (.flv) and MPEG (.mpg) videos
# Line 75  Patch11:       chromium-third-party-cookies-of Line 76  Patch11:       chromium-third-party-cookies-of
76  Patch19:        chromium-50-codec-warnings.patch  Patch19:        chromium-50-codec-warnings.patch
77  # (cjw) remove assertion on "chromium" branding in combination with enabled "proprietary codecs"  # (cjw) remove assertion on "chromium" branding in combination with enabled "proprietary codecs"
78  Patch22:        chromium-54-proprietary-codecs-assert.patch  Patch22:        chromium-54-proprietary-codecs-assert.patch
 # (cjw) disable werror for a compilation warning that causes the build to fail  
 Patch23:        chromium-53-bignum-werror-fix.patch  
79  # (cjw) add -Wno-error=depecated-declarations because ffmpeg deprecations cause the build to fail  # (cjw) add -Wno-error=depecated-declarations because ffmpeg deprecations cause the build to fail
80  Patch24:        chromium-53-ffmpeg-no-deprecation-errors.patch  Patch24:        chromium-53-ffmpeg-no-deprecation-errors.patch
 # (cjw) link several libraries directly instead of loading them using dlopen()  
 Patch27:        chromium-53-link-libgio-libpci-libudev-libbrlapi.patch  
81  # (cjw) add missing unbundle gn files (1)  # (cjw) add missing unbundle gn files (1)
82  Patch28:        chromium-53-gn-system-icu-jsoncpp.patch  Patch28:        chromium-53-gn-system-icu-jsoncpp.patch
83  # (cjw) add missing unbundle gn files (2)  # (cjw) add missing unbundle gn files (2)
84  Patch29:        chromium-53-gn-system-opus.patch  Patch29:        chromium-53-gn-system-opus.patch
 %if %{system_libtiff}  
 # (cjw) build pdfium with system libtiff  
 Patch30:        chromium-52-pdfium-system-libtiff-libpng.patch  
 %endif  
85  %if %{system_openjpeg}  %if %{system_openjpeg}
86  # (cjw) fix pdfium build with system openjpeg  # (cjw) fix pdfium build with system openjpeg
87  Patch31:        chromium-74-pdfium-system-libopenjpeg2.patch  Patch31:        chromium-74-pdfium-system-libopenjpeg2.patch
# Line 101  Patch37:       chromium-58-system-nodejs.patch Line 94  Patch37:       chromium-58-system-nodejs.patch
94  Patch40:        chromium-59-gcc5.patch  Patch40:        chromium-59-gcc5.patch
95  # (cjw) system libvpx  # (cjw) system libvpx
96  Patch42:        chromium-60-system-libvpx.patch  Patch42:        chromium-60-system-libvpx.patch
 # (cjw) fix coding errors resulting in gcc 7 warning  
 Patch54:        chromium-62-gcc7.patch  
 # (cjw) fix gcc errors and warnings  
 Patch177:       chromium-64-gcc7.patch  
 # (cjw) fix even more gcc warnings  
 Patch179:       chromium-65-gcc7.patch  
 # (cjw) fix yet mmore gcc warnings  
 Patch182:       chromium-66-gcc7.patch  
 # (cjw) fix a few more gcc warnings  
 Patch184:       chromium-67-gcc7.patch  
 # (cjw) more gcc warnings  
 Patch186:       chromium-68-gcc7.patch  
97  # (cjw) moore gcc warnings  # (cjw) moore gcc warnings
98  Patch188:       chromium-68-gcc8.patch  Patch188:       chromium-68-gcc8.patch
 # (cjw) and more gcc warnings  
 Patch189:       chromium-69-gcc7.patch  
99  # (cjw) fix gn bootstrapping with gcc  # (cjw) fix gn bootstrapping with gcc
100  Patch190:       chromium-69-gn-bootstrap.patch  Patch190:       chromium-69-gn-bootstrap.patch
 # (cjw) moooore gcc warnings  
 Patch192:       chromium-70-gcc8.patch  
101  # (cjw) build fixes for 64-bit arm  # (cjw) build fixes for 64-bit arm
102  Patch193:       chromium-70-aarch64.patch  Patch193:       chromium-70-aarch64.patch
103  # (cjw) gn bootstrap fix  # (cjw) gn bootstrap fix
104  Patch195:       chromium-72-gn-bootstrap.patch  Patch195:       chromium-72-gn-bootstrap.patch
 # (cjw) yet more gcc warnings  
 Patch196:       chromium-72-gcc8.patch  
 # (cjw) use system closure compiler  
 Patch197:       chromium-72-system-closure-compiler.patch  
105  # (cjw) fix i586 build  # (cjw) fix i586 build
106  Patch198:       chromium-72-i586.patch  Patch198:       chromium-72-i586.patch
 # (cjw) some more gcc warnings  
 Patch199:       chromium-73-gcc8.patch  
 # (cjw) gcc warnings  
 Patch200:       chromium-74-gcc8.patch  
 # (cjw) gcc warnings  
 Patch201:       chromium-75-gcc8.patch  
 # (cjw) fixes for gcc warnings that do not work with clang  
 %if !%{use_clang}  
 Patch203:       chromium-75-gcc-only.patch  
 %endif  
 # (cjw) gcc warnings  
 Patch205:       chromium-76-gcc8.patch  
 # (cjw) gcc warnings  
 Patch207:       chromium-77-gcc9.patch  
107  # (cjw) fix build with system icu  # (cjw) fix build with system icu
108  Patch209:       chromium-77-system-icu.patch  Patch209:       chromium-77-system-icu.patch
 # (cjw) fixes for gcc warnings that do not work with clang  
 %if !%{use_clang}  
 Patch211:       chromium-77-gcc-only.patch  
 %endif  
109  # (cjw) force use of python2, since python3 does not work  # (cjw) force use of python2, since python3 does not work
110  Patch215:       chromium-77-python2.patch  Patch215:       chromium-77-python2.patch
 # (cjw) gcc warnings  
 Patch216:       chromium-78-gcc.patch  
 # (cjw) gcc warnings  
 Patch220:       chromium-79-gcc.patch  
111  %if !%{use_clang}  %if !%{use_clang}
112  # fixes for gcc warnings that do not work with clang  # fixes for gcc warnings that do not work with clang
113  Patch221:       chromium-79-gcc-only.patch  Patch221:       chromium-79-gcc-only.patch
114  %endif  %endif
115  # (cjw) support using system dav1d  # (cjw) support using system dav1d
116  Patch224:       chromium-79-system-dav1d.patch  Patch224:       chromium-79-system-dav1d.patch
117  # (cjw) gcc warnings  
118  Patch226:       chromium-80-gcc.patch  # (ns80) Patches found in fedora, opensuse, gentoo
119  %if !%{use_clang}  Patch250:       chromium-78-protobuf-RepeatedPtrField-export.patch
120  # fixes for gcc warnings that do not work with clang  Patch251:       chromium-79-gcc-protobuf-alignas.patch
121  Patch230:       chromium-80-gcc-only.patch  Patch252:       chromium-80-QuicStreamSendBuffer-deleted-move-constructor.patch
122  %endif  Patch253:       chromium-84-blink-disable-clang-format.patch
123  # (cjw) gcc warnings  Patch254:       chromium-86-compiler.patch
124  Patch231:       chromium-81-gcc.patch  Patch255:       chromium-86-ConsumeDurationNumber-constexpr.patch
125  # (cjw) gcc warnings  Patch256:       chromium-86-ImageMemoryBarrierData-init.patch
126  Patch232:       chromium-83-gcc.patch  Patch257:       chromium-86-nearby-explicit.patch
127  # (cjw) upstream gcc build fix  Patch258:       chromium-86-nearby-include.patch
128  Patch233:       chromium-83-8d115ddda495d0d2e1e1447392db6e9e6a8a1b32.patch  Patch259:       chromium-86-ServiceWorkerRunningInfo-noexcept.patch
129  # (cjw) upstream gcc build fix, via gentoo  
130  Patch234:       chromium-83-gcc-iterator.patch  # (ns80) fixes for building chromium 86
131  # (cjw) upstream gcc build fix, via gentoo  Patch300:       chromium-86-mga-fix-build.patch
 Patch235:       chromium-82-gcc-iterator.patch  
132    
133  Provides:       %{crname}  Provides:       %{crname}
134  Obsoletes:      chromium-browser-unstable < 26.0.1410.51  Obsoletes:      chromium-browser-unstable < 26.0.1410.51
# Line 190  BuildRequires: gperf Line 140  BuildRequires: gperf
140  %if %{system_icu}  %if %{system_icu}
141  BuildRequires:  icu  BuildRequires:  icu
142  %endif  %endif
143    BuildRequires:  java-openjdk-headless
144  BuildRequires:  ninja  BuildRequires:  ninja
145  BuildRequires:  python2  BuildRequires:  python2
146  BuildRequires:  yasm  BuildRequires:  yasm
# Line 263  BuildRequires: pkgconfig(xscrnsaver) Line 214  BuildRequires: pkgconfig(xscrnsaver)
214  BuildRequires:  pkgconfig(xt)  BuildRequires:  pkgconfig(xt)
215  BuildRequires:  pkgconfig(xtst)  BuildRequires:  pkgconfig(xtst)
216  BuildRequires:  pkgconfig(zlib)  BuildRequires:  pkgconfig(zlib)
217    BuildRequires:  pkgconfig(re2)
218  %if %{use_clang}  %if %{use_clang}
219  BuildRequires:  clang  BuildRequires:  clang
220  %endif  %endif
# Line 305  browser. Line 257  browser.
257  %setup -q -n chromium-%{version}  %setup -q -n chromium-%{version}
258  %autopatch -p1  %autopatch -p1
259    
260  # files we do not want from upstream source bundles  # Remove bundled libs
261  rm -r --interactive=never third_party/breakpad/breakpad/src/processor/testdata/  keeplibs=(
262  rm -r --interactive=never third_party/breakpad/breakpad/src/tools      base/third_party/cityhash
263  rm -r --interactive=never chrome/common/extensions/docs/      base/third_party/double_conversion
264  rm -r --interactive=never chrome/test/data/{android,app_shim,apptest,ash,autofill,automation,automation_proxy_snapshot,banners,bookmark_html_reader,bookmarks,captive_portal,chromedriver,chrome_endure,chromeos,click_modifier,components,constrained_files,content,content_setting_bubble,devtools,diagnostics,dom_automation,dom_checker,dom_distiller,downloads,drive_first_run,dromaeo,durable,edge_database_reader,edge_profile,encoding_tests,extensions,fast_shutdown,fast_tab_close,favicon,feeds,file_select_helper,find_in_page,firefox320_profile,firefox35_profile,firefox3_nss,firefox3_nss_mac,firefox3_profile,firefox_profile,firefox_searchplugins,focus,frame_dom_access,frame_tree,ftp,fullscreen_mouselock,geolocation,google,gpu,History,image_decoding,image_search,import,indexeddb,inspector,installer,interstitial_page,login,native_messaging,navigation_interception,notifications,page_cycler,page_load_metrics,password,pdf,pepper,perf,permissions,plugin_power_saver,policy,popup_blocker,predictor,prefs,pref_service,prerender,printing,profiles,push_messaging,referrer_policy,safe_browsing,save_page,scroll,session_history,session_restore,sessions,settings,speech,ssl,subresource_filter,sunspider,sync,template_url_scraper,textinput,third_party,top_sites,translate,unit,v8_benchmark_v6,viewsource,web_app_info,webrtc,websocket,webui_test_resources.grd,whitelists,workers}      base/third_party/dynamic_annotations
265  rm -r --interactive=never chrome/test/data/nacl/{pnacl_error_handling,cross_origin,irt_exception,pnacl_request_header,nonsfi,pnacl_url_loader,pnacl_hw_eh_disabled,pnacl_nmf_options,pnacl_dyncode_syscall_disabled,extension_mime_handler,ppapi_test_lib,bad,ppapi,manifest,pnacl_debug_url,extension_validation_cache,exit_status,progress_events,manifest_file,sysconf_nprocessors_onln,crash,pnacl_mime_type}      base/third_party/nspr
266  rmdir chrome/test/data/webui/{settings,extensions}/a11y      base/third_party/libevent
267  rmdir chrome/test/data/webui/settings/chromeos/app_management      base/third_party/icu
268  rmdir chrome/test/data/webui/{engagement,extensions,print_preview,history,net_internals}      base/third_party/superfasthash
269  rm -r --interactive=never components/test/data/update_client/jebgalgnebhfojomionfpkfelancnnkf/component1.dll      base/third_party/symbolize
270  rm -r --interactive=never content/test/data/      base/third_party/valgrind
271  rm -r --interactive=never ppapi/native_client/tests/      base/third_party/xdg_mime
272  rm -r --interactive=never third_party/apache-win32/      base/third_party/xdg_user_dirs
273  rm -r --interactive=never third_party/binutils/      buildtools/third_party/libc++
274  rm -r --interactive=never third_party/expat/{fuzz,include,src}      buildtools/third_party/libc++abi
275  rm -r --interactive=never third_party/ffmpeg/*/*      buildtools/third_party/libunwind
276  rm -r --interactive=never third_party/flac/{include,src}      chrome/third_party/mozilla_security_manager
277  %if %{system_icu}      courgette/third_party
278  rm -r --interactive=never third_party/icu/{android,android_small,common,patches,source,chromeos,ios}      net/third_party/mozilla_security_manager
279  %endif      net/third_party/nss
280  rm -r --interactive=never third_party/jsoncpp/source      net/third_party/quic
281  rm -r --interactive=never third_party/lcov      net/third_party/uri_template
282  %if %{system_libevent}      third_party/abseil-cpp
283  rm -r --interactive=never base/third_party/libevent/*/*      third_party/angle
284  rm -r --interactive=never base/third_party/libevent/*.[ch]      third_party/angle/src/common/third_party/base
285  %endif      third_party/angle/src/common/third_party/smhasher
286  %if %{system_libvpx}      third_party/angle/src/common/third_party/xxhash
287  rm -r --interactive=never third_party/libvpx/source/{libvpx,config}      third_party/angle/src/third_party/compiler
288  %endif      third_party/angle/src/third_party/libXNVCtrl
289  rm -r --interactive=never third_party/libaom/source      third_party/angle/src/third_party/trace_event
290  %if %{system_dav1d}      third_party/angle/src/third_party/volk
291  rm -r --interactive=never third_party/dav1d/{libdav1d,version}      third_party/angle/third_party/glslang
292  %endif      third_party/angle/third_party/spirv-headers
293  rm -r --interactive=never third_party/libjpeg_turbo/*.[ch]      third_party/angle/third_party/spirv-tools
294  rm -r --interactive=never third_party/libpng/*.[ch]      third_party/angle/third_party/vulkan-headers
295  rm -r --interactive=never third_party/libxslt/{linux,mac,src,win32}      third_party/angle/third_party/vulkan-loader
296  rm -r --interactive=never third_party/xdg-utils/tests/      third_party/angle/third_party/vulkan-tools
297  rm -r --interactive=never third_party/yasm/source/      third_party/angle/third_party/vulkan-validation-layers
298  rm -r --interactive=never third_party/zlib/{*.[ch],contrib/minizip}      third_party/apple_apsl
299  rm -r --interactive=never native_client_sdk/src/tools/lib/tests/data      third_party/axe-core
300  rm -r --interactive=never buildtools/third_party/eu-strip/bin      third_party/blanketjs
301  rm -r --interactive=never third_party/pdfium/third_party/eu-strip      third_party/blink
302  rm --interactive=never third_party/pdfium/third_party/libopenjpeg20/*.[ch]      third_party/boringssl
303  rm -r --interactive=never third_party/pdfium/third_party/libpng16      third_party/boringssl/src/third_party/fiat
304  %if %{system_libtiff}      third_party/breakpad
305  rm --interactive=never third_party/pdfium/third_party/libtiff/*.[ch]      third_party/breakpad/breakpad/src/third_party/curl
306  %endif      third_party/brotli
307  rm -r --interactive=never third_party/pdfium/third_party/yasm/source      third_party/catapult
308  rm --interactive=never native_client/tools/redirector.exe      third_party/catapult/common/py_vulcanize/third_party/rcssmin
309  rm --interactive=never third_party/webrtc/data/voice_engine/stereo_rtp_files/rtpplay.exe      third_party/catapult/common/py_vulcanize/third_party/rjsmin
310  rm -r --interactive=never third_party/llvm      third_party/catapult/third_party/beautifulsoup4
311  rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/gles/t/SanOGLES-Gerbera.exe      third_party/catapult/third_party/google-endpoints
312  rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/gles/t/SanOGLES-PVRSDK.exe      third_party/catapult/third_party/html5lib-python
313  rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/gles/t/libGLES_CM.dll      third_party/catapult/third_party/polymer
314  rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/gles/bob/bob      third_party/catapult/third_party/six
315  rm --interactive=never third_party/webgl/src/sdk/demos/google/san-angeles/glut/SanOGLES      third_party/catapult/tracing/third_party/d3
316  rm --interactive=never third_party/lzma_sdk/Executable/7za.exe      third_party/catapult/tracing/third_party/gl-matrix
317  rm --interactive=never third_party/lzma_sdk/7zr.exe      third_party/catapult/tracing/third_party/jpeg-js
318  rm --interactive=never third_party/breakpad/symupload.exe      third_party/catapult/tracing/third_party/jszip
319  rm -r --interactive=never third_party/catapult/third_party/google-endpoints/setuptools      third_party/catapult/tracing/third_party/mannwhitneyu
320  rm -r --interactive=never third_party/catapult/third_party/vinn/third_party/v8      third_party/catapult/tracing/third_party/oboe
321  rm --interactive=never third_party/depot_tools/ninja.exe      third_party/catapult/tracing/third_party/pako
322  rm --interactive=never third_party/depot_tools/ninja-linux32      third_party/ced
323  rm --interactive=never third_party/depot_tools/ninja-linux64      third_party/cld_3
324  rm -r --interactive=never native_client/tools/hermetic_cygwin      third_party/crashpad
325  rm -r --interactive=never base/test/data/pe_image/      third_party/closure_compiler
326  rm -r --interactive=never base/test/data/file_version_info_unittest      third_party/crashpad/crashpad/third_party/lss
327  rm -r --interactive=never chrome/chrome_cleaner/test/resources/signed_dll      third_party/crashpad/crashpad/third_party/zlib
328  rm --interactive=never third_party/crashpad/crashpad/handler/win/z7_test.dll      third_party/crc32c
329  rm -r --interactive=never third_party/crashpad/crashpad/snapshot/elf/elf_image_reader_fuzzer_corpus      third_party/cros_system_api
330  rm -r --interactive=never third_party/boringssl/src/util/ar/testdata      third_party/dav1d
331  rm -r --interactive=never third_party/pyelftools/test/testfiles_for_unittests      third_party/dawn
332  rm -r --interactive=never third_party/pyelftools/test/external_tools      third_party/depot_tools
333  rm -r --interactive=never third_party/pyelftools/test/testfiles_for_readelf      third_party/depot_tools/third_party/six
334  rm -r --interactive=never third_party/pyelftools/examples      third_party/devscripts
335  rm -r --interactive=never third_party/skia/platform_tools/android/bin      third_party/devtools-frontend
336  rm --interactive=never third_party/nasm/travis/test/tmap.o.t      third_party/devtools-frontend/src/third_party/axe-core
337  rm -r --interactive=never third_party/chromite/lib/datafiles      third_party/devtools-frontend/src/third_party/typescript
338  rm -r --interactive=never components/test/data/update_client      third_party/devtools-frontend/src/front_end/third_party/acorn
339  rm -r --interactive=never build/android/tests/symbolize      third_party/devtools-frontend/src/front_end/third_party/chromium
340        third_party/devtools-frontend/src/front_end/third_party/codemirror
341  rm --interactive=never third_party/skia/platform_tools/android/apps/gradle/wrapper/gradle-wrapper.jar      third_party/devtools-frontend/src/front_end/third_party/fabricjs
342  rm --interactive=never third_party/libphonenumber/dist/tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar      third_party/devtools-frontend/src/front_end/third_party/i18n
343  rm --interactive=never third_party/libphonenumber/dist/tools/java/cpp-build/target/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar      third_party/devtools-frontend/src/front_end/third_party/intl-messageformat
344  rm -r --interactive=never third_party/libphonenumber/dist/java/demo/war/WEB-INF/lib      third_party/devtools-frontend/src/front_end/third_party/lighthouse
345  rm -r --interactive=never third_party/libphonenumber/dist/java/lib      third_party/devtools-frontend/src/front_end/third_party/lit-html
346  rm --interactive=never third_party/webrtc/examples/androidapp/third_party/autobanh/lib/autobanh.jar      third_party/devtools-frontend/src/front_end/third_party/lodash-isequal
347  rm -r --interactive=never third_party/cacheinvalidation/src/example-app-build/libs      third_party/devtools-frontend/src/front_end/third_party/marked
348  rm --interactive=never third_party/closure_compiler/compiler/compiler.jar      third_party/devtools-frontend/src/front_end/third_party/wasmparser
349  rm --interactive=never third_party/flatbuffers/src/android/gradle/wrapper/gradle-wrapper.jar      third_party/devtools-frontend/src/third_party
350  rm --interactive=never third_party/flatbuffers/src/samples/android/gradle/wrapper/gradle-wrapper.jar      third_party/dom_distiller_js
351  rm --interactive=never third_party/devtools-frontend/src/scripts/closure/compiler.jar      third_party/emoji-segmenter
352  rm --interactive=never third_party/devtools-frontend/src/scripts/closure/closure_runner/closure_runner.jar      third_party/expat
353  rm --interactive=never third_party/devtools-frontend/src/scripts/jsdoc_validator/jsdoc_validator.jar      third_party/ffmpeg
354  rm --interactive=never third_party/gradle_wrapper/gradle/wrapper/gradle-wrapper.jar      third_party/flac
355  rm --interactive=never third_party/webgl/src/conformance-suites/2.0.0/deqp/compiler.jar      third_party/flatbuffers
356        third_party/fontconfig
357  %if %{system_libevent}      third_party/libgifcodec
358  find base/third_party/libevent -type f \! -regex '.*\.\(gn\|gni\|isolate\)' -delete      third_party/glslang
359  %endif      third_party/google_input_tools
360        third_party/google_input_tools/third_party/closure_library
361  %if %{system_icu}      third_party/google_input_tools/third_party/closure_library/third_party/closure
362  # Remove bundled ICU; its header files appear to get picked up instead of      third_party/google_trust_services
363  # the system ones, leading to errors during the final link stage.      third_party/googletest
364  # https://groups.google.com/a/chromium.org/d/topic/chromium-packagers/BNGvJc08B6Q      third_party/grpc
365  find third_party/icu -type f \! -regex '.*\.\(gn\|gni\|isolate\)' -delete      third_party/grpc/src/third_party/nanopb
366  %endif      third_party/harfbuzz-ng
367        third_party/harfbuzz-ng/utils
368        third_party/hunspell
369        third_party/iccjpeg
370        third_party/inspector_protocol
371        third_party/jinja2
372        third_party/jsoncpp
373        third_party/jstemplate
374        third_party/khronos
375        third_party/leveldatabase
376        third_party/libXNVCtrl
377        third_party/libaddressinput
378        third_party/libaom
379        third_party/libaom/source/libaom/third_party/vector
380        third_party/libaom/source/libaom/third_party/x86inc
381        third_party/libavif
382        third_party/libdrm
383        third_party/libjingle
384        third_party/libjpeg_turbo
385        third_party/libphonenumber
386        third_party/libsecret
387        third_party/libsrtp
388        third_party/libsync
389        third_party/libudev
390        third_party/libusb
391        third_party/libwebm
392        third_party/libwebp
393        third_party/libxml
394        third_party/libxml/chromium
395        third_party/libxslt
396        third_party/libyuv
397        third_party/lottie
398        third_party/lss
399        third_party/lzma_sdk
400        third_party/mako
401        third_party/markupsafe
402        third_party/mesa
403        third_party/metrics_proto
404        third_party/minigbm
405        third_party/modp_b64
406        third_party/nasm
407        third_party/nearby
408        third_party/node
409        third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2
410        third_party/one_euro_filter
411        third_party/opencv
412        third_party/openscreen
413        third_party/openscreen/src/third_party/mozilla
414        third_party/openscreen/src/third_party/tinycbor
415        third_party/opus
416        third_party/ots
417        third_party/pdfium
418        third_party/pdfium/third_party/agg23
419        third_party/pdfium/third_party/base
420        third_party/pdfium/third_party/bigint
421        third_party/pdfium/third_party/eu-strip
422        third_party/pdfium/third_party/freetype
423        third_party/pdfium/third_party/lcms
424        third_party/pdfium/third_party/libopenjpeg20
425        third_party/pdfium/third_party/libpng16
426        third_party/pdfium/third_party/libtiff
427        third_party/pdfium/third_party/skia_shared
428        third_party/perfetto
429        third_party/pffft
430        third_party/ply
431        third_party/polymer
432        third_party/private-join-and-compute
433        third_party/protobuf
434        third_party/protobuf/third_party/six
435        third_party/pyjson5
436        third_party/qcms
437        third_party/rnnoise
438        third_party/s2cellid
439        third_party/schema_org
440        third_party/securemessage
441        third_party/simplejson
442        third_party/sinonjs
443        third_party/skia
444        third_party/skia/third_party/skcms
445        third_party/skia/third_party/vulkan
446        third_party/skia/include/third_party/vulkan/
447        third_party/skia/include/third_party/skcms/
448        third_party/smhasher
449        third_party/snappy
450        third_party/spirv-headers
451        third_party/SPIRV-Tools
452        third_party/sqlite
453        third_party/swiftshader
454        third_party/swiftshader/third_party/astc-encoder
455        third_party/swiftshader/third_party/llvm-10.0
456        third_party/swiftshader/third_party/llvm-subzero
457        third_party/swiftshader/third_party/marl
458        third_party/swiftshader/third_party/subzero
459        third_party/swiftshader/third_party/SPIRV-Headers
460        third_party/tcmalloc
461        third_party/test_fonts
462        third_party/ukey2
463        third_party/usrsctp
464        third_party/vulkan
465        third_party/web-animations-js
466        third_party/webdriver
467        third_party/webrtc
468        third_party/webrtc/common_audio/third_party/ooura
469        third_party/webrtc/common_audio/third_party/spl_sqrt_floor
470        third_party/webrtc/modules/third_party/fft
471        third_party/webrtc/modules/third_party/g711
472        third_party/webrtc/modules/third_party/g722
473        third_party/webrtc/rtc_base/third_party/base64
474        third_party/webrtc/rtc_base/third_party/sigslot
475        third_party/widevine
476        third_party/woff2
477        third_party/wuffs
478        third_party/xcbproto
479        third_party/zxcvbn-cpp
480        third_party/zlib
481        third_party/zlib/google
482        tools/gn/src/base/third_party/icu
483        tools/grit/third_party/six
484        url/third_party/mozilla
485        v8/src/third_party/siphash
486        v8/src/third_party/valgrind
487        v8/src/third_party/utf8-decoder
488        v8/third_party/inspector_protocol
489        v8/third_party/v8
490        v8/third_party/v8/builtins
491    )
492    keeplibs+=(
493        third_party/v4l-utils
494        third_party/wayland
495        third_party/wayland-protocols
496    )
497    %if !%{system_icu}
498    keeplibs+=(
499        third_party/icu
500    )
501    %endif
502    %if !%{system_libvpx}
503    keeplibs+=(
504        third_party/libvpx
505        third_party/libvpx/source/libvpx/third_party/x86inc
506    )
507    %endif
508    # needed due to bugs in GN
509    keeplibs+=(
510        third_party/adobe
511        third_party/speech-dispatcher
512        third_party/usb_ids
513        third_party/xdg-utils
514    )
515    build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove
516    
517  # Hard code extra version  # Hard code extra version
518  FILE=chrome/common/channel_info_posix.cc  FILE=chrome/common/channel_info_posix.cc
# Line 420  if diff -u $FILE $FILE.orig >/dev/null; Line 521  if diff -u $FILE $FILE.orig >/dev/null;
521    exit 1    exit 1
522  fi  fi
523    
 # version taken from: strings opt/google/chrome-unstable/chrome | grep -C 1 " (version:"  
 %define widevine_version 1.4.8.1008  
 for chrome_arch in ia32 x64; do  
   mkdir -p third_party/widevine/cdm/linux/${chrome_arch}  
   sed -e "s/@WIDEVINE_VERSION@/%{widevine_version}/" %{SOURCE4} > third_party/widevine/cdm/linux/${chrome_arch}/widevine_cdm_version.h  
 done  
   
524  %build  %build
525  %define system_gn_list  ffmpeg flac libwebp libxml libxslt snappy yasm %{?gn_libvpx} libpng %{?gn_icu} zlib jsoncpp opus libdrm %{?gn_libaom} %{?gn_dav1d} %{?gn_libevent}  %define system_gn_list  ffmpeg flac libwebp libxml libxslt snappy %{?gn_libvpx} libpng %{?gn_icu} zlib jsoncpp opus re2 libdrm %{?gn_dav1d} %{?gn_libevent} freetype harfbuzz-ng
 # handled by upstream regular build scripts? : freetype harfbuzz-ng  
 # mesa  
526    
527  # v NO TABS IN HERE!  # v NO TABS IN HERE!
528  %define gn_config use_sysroot=false \  %define gn_config use_sysroot=false \
# Line 470  done Line 562  done
562                    closure_compile=false \                    closure_compile=false \
563                    google_api_key="%{google_api_key}" \                    google_api_key="%{google_api_key}" \
564                    google_default_client_id="%{google_default_client_id}" \                    google_default_client_id="%{google_default_client_id}" \
565                    google_default_client_secret="%{google_default_client_secret}"                    google_default_client_secret="%{google_default_client_secret}" \
566                      treat_warnings_as_errors=false
567    
568    
569  #                  enable_browser_cdms=true \  #                  enable_browser_cdms=true \

Legend:
Removed from v.1603641  
changed lines
  Added in v.1641959

  ViewVC Help
Powered by ViewVC 1.1.30