|
|
@ -29,13 +29,13 @@
|
|
|
|
# We don't want any libs in these directories to generate Provides
|
|
|
|
# We don't want any libs in these directories to generate Provides
|
|
|
|
# Requires is trickier.
|
|
|
|
# Requires is trickier.
|
|
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude_from %{chromium_path}/.*\\.so|%{chromium_path}/lib/.*\\.so
|
|
|
|
%global __provides_exclude_from %{chromium_path}/.*\\.so|%{chromium_path}/lib/.*\\.so|%{chromium_path}/lib/.*\\.so.*
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
%global privlibs libaccessibility|libanimation|libaura_extra|libaura|libbase_i18n|libbase|libbindings_base|libbindings|libblink_android_mojo_bindings_shared|libblink_common|libblink_controller|libblink_core_mojo_bindings_shared|libblink_core|libblink_modules|libblink_mojo_bindings_shared|libblink_offscreen_canvas_mojo_bindings_shared|libblink_platform|libbluetooth|libboringssl|libbrowser_ui_views|libcaptive_portal|libcapture_base|libcapture_lib|libcbor|libcc_animation|libcc_base|libcc_blink|libcc_debug|libcc_ipc|libcc_paint|libcc|libcdm_manager|libchromium_sqlite3|libclearkeycdm|libclient|libcloud_policy_proto_generated_compile|libcodec|libcolor_space|libcommon|libcompositor|libcontent_common_mojo_bindings_shared|libcontent_public_common_mojo_bindings_shared|libcontent|libcrash_key|libcrcrypto|libdbus|libdevice_base|libdevice_event_log|libdevice_features|libdevice_gamepad|libdevices|libdevice_vr_mojo_bindings_blink|libdevice_vr_mojo_bindings_shared|libdevice_vr_mojo_bindings|libdevice_vr|libdiscardable_memory_client|libdiscardable_memory_common|libdiscardable_memory_service|libdisplay|libdisplay_types|libdisplay_util|libdomain_reliability|libEGL|libembedder|libembedder_switches|libevents_base|libevents_devices_x11|libevents_ozone_layout|libevents|libevents_x|libffmpeg|libfingerprint|libfontconfig|libfreetype_harfbuzz|libgcm|libgeolocation|libgeometry_skia|libgeometry|libgesture_detection|libgfx_ipc_buffer_types|libgfx_ipc_color|libgfx_ipc_geometry|libgfx_ipc_skia|libgfx_ipc|libgfx|libgfx_switches|libgfx_x11|libgin|libgles2_implementation|libgles2|libgles2_utils|libGLESv2|libgl_init|libgl_in_process_context|libgl_wrapper|libgpu_ipc_service|libgpu|libgpu_util|libgtk3ui|libheadless|libhost|libicui18n|libicuuc|libinterfaces_shared|libipc_mojom_shared|libipc_mojom|libipc|libkeyboard|libkeyboard_with_content|libkeycodes_x11|libkeyed_service_content|libkeyed_service_core|libleveldatabase|libmanager|libmedia_blink|libmedia_devices_mojo_bindings_shared|libmedia_gpu|libmedia_mojo_services|libmedia|libmessage_center|libmessage_support|libmetrics_cpp|libmidi|libmojo_base_lib|libmojo_base_mojom_blink|libmojo_base_mojom_shared|libmojo_base_mojom|libmojo_base_shared_typemap_traits|libmojo_common_lib|libmojo_ime_lib|libmojo_mojom_bindings_shared|libmojo_mojom_bindings|libmojom_platform_shared|libmojom_shared|libmojo_public_system_cpp|libmojo_public_system|libmojo_system_impl|libnative_theme|libnet|libnet_with_v8|libnetwork_cpp_base|libnetwork_cpp|libnetwork_service|libnetwork_session_configurator|libonc|libplatform|libpolicy_component|libpolicy_proto|libppapi_host|libppapi_proxy|libppapi_shared|libprefs|libprinting|libprotobuf_lite|libproxy_config|libpublic|librange|libraster|libresource_coordinator_cpp_base|libresource_coordinator_cpp|libresource_coordinator_public_mojom_blink|libresource_coordinator_public_mojom_shared|libresource_coordinator_public_mojom|libsandbox_services|libsandbox|libseccomp_bpf|libservice_manager_cpp|libservice_manager_cpp_types|libservice_manager_mojom_blink|libservice_manager_mojom_constants_blink|libservice_manager_mojom_constants_shared|libservice_manager_mojom_constants|libservice_manager_mojom_shared|libservice_manager_mojom|libservice|libsessions|libshared_memory_support|libshell_dialogs|libskia|libsnapshot|libsql|libstartup_tracing|libstorage_browser|libstorage_common|libstub_window|libsuid_sandbox_client|libsurface|libtracing_cpp|libtracing_mojom_shared|libtracing_mojom|libtracing|libui_base_ime|libui_base|libui_base_x|libui_data_pack|libui_devtools|libui_message_center_cpp|libui_touch_selection|libui_views_mus_lib|liburl_ipc|liburl_matcher|liburl|libuser_manager|libuser_prefs|libv8_libbase|libv8_libplatform|libv8|libviews|libviz_common|libviz_resource_format|libVkLayer_core_validation|libVkLayer_object_tracker|libVkLayer_parameter_validation|libVkLayer_threading|libVkLayer_unique_objects|libwebdata_common|libweb_dialogs|libwebview|libwidevinecdmadapter|libwidevinecdm|libwm_public|libwm|libwtf|libx11_events_platform|libx11_window
|
|
|
|
%global privlibs libaccessibility|libanimation|libapdu|libaura_extra|libaura|libbase_i18n|libbase|libbindings_base|libbindings|libblink_android_mojo_bindings_shared|libblink_common|libblink_controller|libblink_core_mojo_bindings_shared|libblink_core|libblink_modules|libblink_mojo_bindings_shared|libblink_offscreen_canvas_mojo_bindings_shared|libblink_platform|libbluetooth|libboringssl|libbrowser_ui_views|libcaptive_portal|libcapture_base|libcapture_lib|libcbor|libcc_animation|libcc_base|libcc_blink|libcc_debug|libcc_ipc|libcc_paint|libcc|libcdm_manager|libchromium_sqlite3|libclearkeycdm|libclient|libcloud_policy_proto_generated_compile|libcodec|libcolor_space|libcommon|libcompositor|libcontent_common_mojo_bindings_shared|libcontent_public_common_mojo_bindings_shared|libcontent|libcrash_key|libcrcrypto|libdbus|libdevice_base|libdevice_event_log|libdevice_features|libdevice_gamepad|libdevices|libdevice_vr_mojo_bindings_blink|libdevice_vr_mojo_bindings_shared|libdevice_vr_mojo_bindings|libdevice_vr|libdiscardable_memory_client|libdiscardable_memory_common|libdiscardable_memory_service|libdisplay|libdisplay_types|libdisplay_util|libdomain_reliability|libEGL|libembedder|libembedder_switches|libevents_base|libevents_devices_x11|libevents_ozone_layout|libevents|libevents_x|libffmpeg|libfido|libfingerprint|libfreetype_harfbuzz|libgcm|libgeolocation|libgeometry_skia|libgeometry|libgesture_detection|libgfx_ipc_buffer_types|libgfx_ipc_color|libgfx_ipc_geometry|libgfx_ipc_skia|libgfx_ipc|libgfx|libgfx_switches|libgfx_x11|libgin|libgles2_implementation|libgles2|libgles2_utils|libGLESv2|libgl_init|libgl_in_process_context|libgl_wrapper|libgpu_ipc_service|libgpu|libgpu_util|libgtk3ui|libheadless|libhost|libicui18n|libicuuc|libinterfaces_shared|libipc_mojom_shared|libipc_mojom|libipc|libkeyboard|libkeycodes_x11|libkeyed_service_content|libkeyed_service_core|libleveldatabase|libmanager|libmedia_blink|libmedia_devices_mojo_bindings_shared|libmedia_gpu|libmedia_mojo_services|libmedia|libmessage_center|libmessage_support|libmetrics_cpp|libmidi|libmirclient|libmojo_base_lib|libmojo_base_mojom_blink|libmojo_base_mojom_shared|libmojo_base_mojom|libmojo_base_shared_typemap_traits|libmojo_edk_ports|libmojo_edk|libmojo_ime_lib|libmojom_core_shared|libmojo_mojom_bindings_shared|libmojo_mojom_bindings|libmojom_platform_shared|libmojo_public_system_cpp|libmojo_public_system|libnative_theme|libnet|libnet_with_v8|libnetwork_cpp_base|libnetwork_cpp|libnetwork_service|libnetwork_session_configurator|libonc|libplatform|libpolicy_component|libpolicy_proto|libppapi_host|libppapi_proxy|libppapi_shared|libprefs|libprinting|libprotobuf_lite|libproxy_config|libpublic|librange|libraster|libresource_coordinator_cpp_base|libresource_coordinator_cpp|libresource_coordinator_public_mojom_blink|libresource_coordinator_public_mojom_shared|libresource_coordinator_public_mojom|libsandbox_services|libsandbox|libseccomp_bpf|libservice_manager_cpp|libservice_manager_cpp_types|libservice_manager_mojom_blink|libservice_manager_mojom_constants_blink|libservice_manager_mojom_constants_shared|libservice_manager_mojom_constants|libservice_manager_mojom_shared|libservice_manager_mojom|libservice|libsessions|libshared_memory_support|libshell_dialogs|libskia|libsnapshot|libsql|libstartup_tracing|libstorage_browser|libstorage_common|libstub_window|libsuid_sandbox_client|libsurface|libtracing_cpp|libtracing_mojom_shared|libtracing_mojom|libtracing|libui_base_ime|libui_base|libui_base_x|libui_data_pack|libui_devtools|libui_message_center_cpp|libui_touch_selection|libui_views_mus_lib|liburl_ipc|liburl_matcher|liburl|libuser_manager|libuser_prefs|libv8_libbase|libv8_libplatform|libv8|libviews|libviz_common|libviz_resource_format|libVkLayer_core_validation|libVkLayer_object_tracker|libVkLayer_parameter_validation|libVkLayer_threading|libVkLayer_unique_objects|libwebdata_common|libweb_dialogs|libwebview|libwm_public|libwm|libwtf|libx11_events_platform|libx11_window|libbase|libEGL|libGLESv2|libfontconfig
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global privlibs libaccessibility|libanimation|libaura_extra|libaura|libbase_i18n|libbase|libbindings_base|libbindings|libblink_android_mojo_bindings_shared|libblink_common|libblink_controller|libblink_core_mojo_bindings_shared|libblink_core|libblink_modules|libblink_mojo_bindings_shared|libblink_offscreen_canvas_mojo_bindings_shared|libblink_platform|libbluetooth|libboringssl|libbrowser_ui_views|libcaptive_portal|libcapture_base|libcapture_lib|libcbor|libcc_animation|libcc_base|libcc_blink|libcc_debug|libcc_ipc|libcc_paint|libcc|libcdm_manager|libchromium_sqlite3|libclearkeycdm|libclient|libcloud_policy_proto_generated_compile|libcodec|libcolor_space|libcommon|libcompositor|libcontent_common_mojo_bindings_shared|libcontent_public_common_mojo_bindings_shared|libcontent|libcrash_key|libcrcrypto|libdbus|libdevice_base|libdevice_event_log|libdevice_features|libdevice_gamepad|libdevices|libdevice_vr_mojo_bindings_blink|libdevice_vr_mojo_bindings_shared|libdevice_vr_mojo_bindings|libdevice_vr|libdiscardable_memory_client|libdiscardable_memory_common|libdiscardable_memory_service|libdisplay|libdisplay_types|libdisplay_util|libdomain_reliability|libEGL|libembedder|libembedder_switches|libevents_base|libevents_devices_x11|libevents_ozone_layout|libevents|libevents_x|libffmpeg|libfingerprint|libfreetype_harfbuzz|libgcm|libgeolocation|libgeometry_skia|libgeometry|libgesture_detection|libgfx_ipc_buffer_types|libgfx_ipc_color|libgfx_ipc_geometry|libgfx_ipc_skia|libgfx_ipc|libgfx|libgfx_switches|libgfx_x11|libgin|libgles2_implementation|libgles2|libgles2_utils|libGLESv2|libgl_init|libgl_in_process_context|libgl_wrapper|libgpu_ipc_service|libgpu|libgpu_util|libgtk3ui|libheadless|libhost|libicui18n|libicuuc|libinterfaces_shared|libipc_mojom_shared|libipc_mojom|libipc|libkeyboard|libkeyboard_with_content|libkeycodes_x11|libkeyed_service_content|libkeyed_service_core|libleveldatabase|libmanager|libmedia_blink|libmedia_devices_mojo_bindings_shared|libmedia_gpu|libmedia_mojo_services|libmedia|libmessage_center|libmessage_support|libmetrics_cpp|libmidi|libmojo_base_lib|libmojo_base_mojom_blink|libmojo_base_mojom_shared|libmojo_base_mojom|libmojo_base_shared_typemap_traits|libmojo_common_lib|libmojo_ime_lib|libmojo_mojom_bindings_shared|libmojo_mojom_bindings|libmojom_platform_shared|libmojom_shared|libmojo_public_system_cpp|libmojo_public_system|libmojo_system_impl|libnative_theme|libnet|libnet_with_v8|libnetwork_cpp_base|libnetwork_cpp|libnetwork_service|libnetwork_session_configurator|libonc|libplatform|libpolicy_component|libpolicy_proto|libppapi_host|libppapi_proxy|libppapi_shared|libprefs|libprinting|libprotobuf_lite|libproxy_config|libpublic|librange|libraster|libresource_coordinator_cpp_base|libresource_coordinator_cpp|libresource_coordinator_public_mojom_blink|libresource_coordinator_public_mojom_shared|libresource_coordinator_public_mojom|libsandbox_services|libsandbox|libseccomp_bpf|libservice_manager_cpp|libservice_manager_cpp_types|libservice_manager_mojom_blink|libservice_manager_mojom_constants_blink|libservice_manager_mojom_constants_shared|libservice_manager_mojom_constants|libservice_manager_mojom_shared|libservice_manager_mojom|libservice|libsessions|libshared_memory_support|libshell_dialogs|libskia|libsnapshot|libsql|libstartup_tracing|libstorage_browser|libstorage_common|libstub_window|libsuid_sandbox_client|libsurface|libtracing_cpp|libtracing_mojom_shared|libtracing_mojom|libtracing|libui_base_ime|libui_base|libui_base_x|libui_data_pack|libui_devtools|libui_message_center_cpp|libui_touch_selection|libui_views_mus_lib|liburl_ipc|liburl_matcher|liburl|libuser_manager|libuser_prefs|libv8_libbase|libv8_libplatform|libv8|libviews|libviz_common|libviz_resource_format|libVkLayer_core_validation|libVkLayer_object_tracker|libVkLayer_parameter_validation|libVkLayer_threading|libVkLayer_unique_objects|libwebdata_common|libweb_dialogs|libwebview|libwidevinecdmadapter|libwidevinecdm|libwm_public|libwm|libwtf|libx11_events_platform|libx11_window
|
|
|
|
%global privlibs libaccessibility|libanimation|libapdu|libaura_extra|libaura|libbase_i18n|libbase|libbindings_base|libbindings|libblink_android_mojo_bindings_shared|libblink_common|libblink_controller|libblink_core_mojo_bindings_shared|libblink_core|libblink_modules|libblink_mojo_bindings_shared|libblink_offscreen_canvas_mojo_bindings_shared|libblink_platform|libbluetooth|libboringssl|libbrowser_ui_views|libcaptive_portal|libcapture_base|libcapture_lib|libcbor|libcc_animation|libcc_base|libcc_blink|libcc_debug|libcc_ipc|libcc_paint|libcc|libcdm_manager|libchromium_sqlite3|libclearkeycdm|libclient|libcloud_policy_proto_generated_compile|libcodec|libcolor_space|libcommon|libcompositor|libcontent_common_mojo_bindings_shared|libcontent_public_common_mojo_bindings_shared|libcontent|libcrash_key|libcrcrypto|libdbus|libdevice_base|libdevice_event_log|libdevice_features|libdevice_gamepad|libdevices|libdevice_vr_mojo_bindings_blink|libdevice_vr_mojo_bindings_shared|libdevice_vr_mojo_bindings|libdevice_vr|libdiscardable_memory_client|libdiscardable_memory_common|libdiscardable_memory_service|libdisplay|libdisplay_types|libdisplay_util|libdomain_reliability|libEGL|libembedder|libembedder_switches|libevents_base|libevents_devices_x11|libevents_ozone_layout|libevents|libevents_x|libffmpeg|libfido|libfingerprint|libfreetype_harfbuzz|libgcm|libgeolocation|libgeometry_skia|libgeometry|libgesture_detection|libgfx_ipc_buffer_types|libgfx_ipc_color|libgfx_ipc_geometry|libgfx_ipc_skia|libgfx_ipc|libgfx|libgfx_switches|libgfx_x11|libgin|libgles2_implementation|libgles2|libgles2_utils|libGLESv2|libgl_init|libgl_in_process_context|libgl_wrapper|libgpu_ipc_service|libgpu|libgpu_util|libgtk3ui|libheadless|libhost|libicui18n|libicuuc|libinterfaces_shared|libipc_mojom_shared|libipc_mojom|libipc|libkeyboard|libkeycodes_x11|libkeyed_service_content|libkeyed_service_core|libleveldatabase|libmanager|libmedia_blink|libmedia_devices_mojo_bindings_shared|libmedia_gpu|libmedia_mojo_services|libmedia|libmessage_center|libmessage_support|libmetrics_cpp|libmidi|libmirclient|libmojo_base_lib|libmojo_base_mojom_blink|libmojo_base_mojom_shared|libmojo_base_mojom|libmojo_base_shared_typemap_traits|libmojo_edk_ports|libmojo_edk|libmojo_ime_lib|libmojom_core_shared|libmojo_mojom_bindings_shared|libmojo_mojom_bindings|libmojom_platform_shared|libmojo_public_system_cpp|libmojo_public_system|libnative_theme|libnet|libnet_with_v8|libnetwork_cpp_base|libnetwork_cpp|libnetwork_service|libnetwork_session_configurator|libonc|libplatform|libpolicy_component|libpolicy_proto|libppapi_host|libppapi_proxy|libppapi_shared|libprefs|libprinting|libprotobuf_lite|libproxy_config|libpublic|librange|libraster|libresource_coordinator_cpp_base|libresource_coordinator_cpp|libresource_coordinator_public_mojom_blink|libresource_coordinator_public_mojom_shared|libresource_coordinator_public_mojom|libsandbox_services|libsandbox|libseccomp_bpf|libservice_manager_cpp|libservice_manager_cpp_types|libservice_manager_mojom_blink|libservice_manager_mojom_constants_blink|libservice_manager_mojom_constants_shared|libservice_manager_mojom_constants|libservice_manager_mojom_shared|libservice_manager_mojom|libservice|libsessions|libshared_memory_support|libshell_dialogs|libskia|libsnapshot|libsql|libstartup_tracing|libstorage_browser|libstorage_common|libstub_window|libsuid_sandbox_client|libsurface|libtracing_cpp|libtracing_mojom_shared|libtracing_mojom|libtracing|libui_base_ime|libui_base|libui_base_x|libui_data_pack|libui_devtools|libui_message_center_cpp|libui_touch_selection|libui_views_mus_lib|liburl_ipc|liburl_matcher|liburl|libuser_manager|libuser_prefs|libv8_libbase|libv8_libplatform|libv8|libviews|libviz_common|libviz_resource_format|libVkLayer_core_validation|libVkLayer_object_tracker|libVkLayer_parameter_validation|libVkLayer_threading|libVkLayer_unique_objects|libwebdata_common|libweb_dialogs|libwebview|libwm_public|libwm|libwtf|libx11_events_platform|libx11_window|libbase|libEGL|libGLESv2
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%global __requires_exclude ^(%{privlibs})\\.so
|
|
|
|
%global __requires_exclude ^(%{privlibs})\\.so*
|
|
|
|
|
|
|
|
|
|
|
|
# If we build with shared on, then chrome-remote-desktop depends on chromium libs.
|
|
|
|
# If we build with shared on, then chrome-remote-desktop depends on chromium libs.
|
|
|
|
# If we build with shared off, then users cannot swap out libffmpeg (and i686 gets a lot harder to build)
|
|
|
|
# If we build with shared off, then users cannot swap out libffmpeg (and i686 gets a lot harder to build)
|
|
|
@ -279,6 +279,9 @@ Source8: get_linux_tests_names.py
|
|
|
|
Source9: chromium-browser.xml
|
|
|
|
Source9: chromium-browser.xml
|
|
|
|
Source11: chrome-remote-desktop@.service
|
|
|
|
Source11: chrome-remote-desktop@.service
|
|
|
|
Source13: master_preferences
|
|
|
|
Source13: master_preferences
|
|
|
|
|
|
|
|
# Unpackaged fonts
|
|
|
|
|
|
|
|
Source14: https://fontlibrary.org/assets/downloads/gelasio/4d610887ff4d445cbc639aae7828d139/gelasio.zip
|
|
|
|
|
|
|
|
Source15: http://download.savannah.nongnu.org/releases/freebangfont/MuktiNarrow-0.94.tar.bz2
|
|
|
|
|
|
|
|
|
|
|
|
# We can assume gcc and binutils.
|
|
|
|
# We can assume gcc and binutils.
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
@ -438,6 +441,16 @@ BuildRequires: pkgconfig(gnome-keyring-1)
|
|
|
|
# remote desktop needs this
|
|
|
|
# remote desktop needs this
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
|
|
|
BuildRequires: google-croscore-arimo-fonts
|
|
|
|
|
|
|
|
BuildRequires: google-croscore-cousine-fonts
|
|
|
|
|
|
|
|
BuildRequires: dejavu-sans-fonts
|
|
|
|
|
|
|
|
BuildRequires: thai-scalable-garuda-fonts
|
|
|
|
|
|
|
|
BuildRequires: lohit-devanagari-fonts
|
|
|
|
|
|
|
|
BuildRequires: lohit-gurmukhi-fonts
|
|
|
|
|
|
|
|
BuildRequires: lohit-tamil-fonts
|
|
|
|
|
|
|
|
BuildRequires: google-noto-sans-cjk-jp-fonts
|
|
|
|
|
|
|
|
BuildRequires: google-noto-sans-khmer-fonts
|
|
|
|
|
|
|
|
BuildRequires: google-croscore-tinos-fonts
|
|
|
|
# using the built from source version on aarch64
|
|
|
|
# using the built from source version on aarch64
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
|
|
|
|
|
|
|
@ -848,6 +861,23 @@ ln -s /usr/bin/clang clang
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Unpack fonts
|
|
|
|
|
|
|
|
pushd third_party/test_fonts
|
|
|
|
|
|
|
|
mkdir test_fonts
|
|
|
|
|
|
|
|
cd test_fonts
|
|
|
|
|
|
|
|
unzip %{SOURCE14}
|
|
|
|
|
|
|
|
tar xf %{SOURCE15}
|
|
|
|
|
|
|
|
mv MuktiNarrow0.94/MuktiNarrow.ttf .
|
|
|
|
|
|
|
|
rm -rf MuktiNarrow0.94
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/google-croscore/Arimo-*.ttf .
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/google-croscore/Cousine-*.ttf .
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf .
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/thai-scalable/Garuda.ttf .
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/lohit-devanagari/Lohit-Devanagari.ttf /usr/share/fonts/lohit-gurmukhi/Lohit-Gurmukhi.ttf /usr/share/fonts/lohit-tamil/Lohit-Tamil.ttf .
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/google-noto-cjk/NotoSansCJKjp-Regular.otf /usr/share/fonts/google-noto/NotoSansKhmer-Regular.ttf .
|
|
|
|
|
|
|
|
cp -a /usr/share/fonts/google-croscore/Tinos-*.ttf .
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
# Core defines are flags that are true for both the browser and headless.
|
|
|
|
# Core defines are flags that are true for both the browser and headless.
|
|
|
|
CHROMIUM_CORE_GN_DEFINES=""
|
|
|
|
CHROMIUM_CORE_GN_DEFINES=""
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' is_debug=false'
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' is_debug=false'
|
|
|
@ -880,7 +910,7 @@ CHROMIUM_BROWSER_GN_DEFINES+=' is_component_ffmpeg=false is_component_build=fals
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' remove_webcore_debug_symbols=true enable_hangout_services_extension=true'
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' remove_webcore_debug_symbols=true enable_hangout_services_extension=true'
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' use_aura=true'
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' use_aura=true'
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' enable_webrtc=true enable_widevine=true'
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' enable_webrtc=true'
|
|
|
|
%if 0%{gtk3}
|
|
|
|
%if 0%{gtk3}
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' use_gtk3=true'
|
|
|
|
CHROMIUM_BROWSER_GN_DEFINES+=' use_gtk3=true'
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -931,6 +961,7 @@ build/linux/unbundle/remove_bundled_libraries.py \
|
|
|
|
'third_party/angle/third_party/spirv-headers' \
|
|
|
|
'third_party/angle/third_party/spirv-headers' \
|
|
|
|
'third_party/angle/third_party/spirv-tools' \
|
|
|
|
'third_party/angle/third_party/spirv-tools' \
|
|
|
|
'third_party/angle/third_party/vulkan-validation-layers' \
|
|
|
|
'third_party/angle/third_party/vulkan-validation-layers' \
|
|
|
|
|
|
|
|
'third_party/apple_apsl' \
|
|
|
|
'third_party/blanketjs' \
|
|
|
|
'third_party/blanketjs' \
|
|
|
|
'third_party/blink' \
|
|
|
|
'third_party/blink' \
|
|
|
|
'third_party/boringssl' \
|
|
|
|
'third_party/boringssl' \
|
|
|
@ -951,6 +982,8 @@ build/linux/unbundle/remove_bundled_libraries.py \
|
|
|
|
'third_party/catapult/tracing/third_party/pako' \
|
|
|
|
'third_party/catapult/tracing/third_party/pako' \
|
|
|
|
'third_party/ced' \
|
|
|
|
'third_party/ced' \
|
|
|
|
'third_party/cld_3' \
|
|
|
|
'third_party/cld_3' \
|
|
|
|
|
|
|
|
'third_party/crashpad' \
|
|
|
|
|
|
|
|
'third_party/crashpad/crashpad/third_party/zlib/' \
|
|
|
|
'third_party/crc32c' \
|
|
|
|
'third_party/crc32c' \
|
|
|
|
'third_party/cros_system_api' \
|
|
|
|
'third_party/cros_system_api' \
|
|
|
|
'third_party/devscripts' \
|
|
|
|
'third_party/devscripts' \
|
|
|
@ -1053,6 +1086,7 @@ build/linux/unbundle/remove_bundled_libraries.py \
|
|
|
|
'third_party/swiftshader/third_party/LLVM' \
|
|
|
|
'third_party/swiftshader/third_party/LLVM' \
|
|
|
|
'third_party/swiftshader/third_party/llvm-subzero' \
|
|
|
|
'third_party/swiftshader/third_party/llvm-subzero' \
|
|
|
|
'third_party/tcmalloc' \
|
|
|
|
'third_party/tcmalloc' \
|
|
|
|
|
|
|
|
'third_party/test_fonts' \
|
|
|
|
'third_party/usb_ids' \
|
|
|
|
'third_party/usb_ids' \
|
|
|
|
'third_party/usrsctp' \
|
|
|
|
'third_party/usrsctp' \
|
|
|
|
'third_party/vulkan' \
|
|
|
|
'third_party/vulkan' \
|
|
|
@ -1196,7 +1230,7 @@ sed -i.orig -e 's/getenv("CHROME_VERSION_EXTRA")/"Fedora Project"/' $FILE
|
|
|
|
# Do headless first.
|
|
|
|
# Do headless first.
|
|
|
|
../depot_tools/ninja -C %{headlesstarget} -vvv headless_shell
|
|
|
|
../depot_tools/ninja -C %{headlesstarget} -vvv headless_shell
|
|
|
|
|
|
|
|
|
|
|
|
../depot_tools/ninja -C %{target} -vvv chrome chrome_sandbox chromedriver widevinecdmadapter clear_key_cdm policy_templates
|
|
|
|
../depot_tools/ninja -C %{target} -vvv chrome chrome_sandbox chromedriver clear_key_cdm policy_templates
|
|
|
|
|
|
|
|
|
|
|
|
# remote client
|
|
|
|
# remote client
|
|
|
|
pushd remoting
|
|
|
|
pushd remoting
|
|
|
@ -1273,9 +1307,10 @@ cp -a natives_blob.bin %{buildroot}%{chromium_path}
|
|
|
|
cp -a snapshot_blob.bin %{buildroot}%{chromium_path}
|
|
|
|
cp -a snapshot_blob.bin %{buildroot}%{chromium_path}
|
|
|
|
cp -a v8_context_snapshot.bin %{buildroot}%{chromium_path}
|
|
|
|
cp -a v8_context_snapshot.bin %{buildroot}%{chromium_path}
|
|
|
|
cp -a xdg-mime xdg-settings %{buildroot}%{chromium_path}
|
|
|
|
cp -a xdg-mime xdg-settings %{buildroot}%{chromium_path}
|
|
|
|
|
|
|
|
cp -a MEIPreload %{buildroot}%{chromium_path}
|
|
|
|
%if 0%{?shared}
|
|
|
|
%if 0%{?shared}
|
|
|
|
cp -a lib*.so* %{buildroot}%{chromium_path}
|
|
|
|
cp -a lib*.so* %{buildroot}%{chromium_path}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libwidevinecdm.so{,.fedora}
|
|
|
|
# cp -p %%{buildroot}%{chromium_path}/libwidevinecdm.so{,.fedora}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libffmpeg.so{,.%{lsuffix}}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libffmpeg.so{,.%{lsuffix}}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libffmpeg.so.TOC{,.%{lsuffix}}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libffmpeg.so.TOC{,.%{lsuffix}}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libmedia.so{,.%{lsuffix}}
|
|
|
|
cp -p %{buildroot}%{chromium_path}/libmedia.so{,.%{lsuffix}}
|
|
|
@ -1416,17 +1451,6 @@ if st and st.type == "link" then
|
|
|
|
os.remove(path)
|
|
|
|
os.remove(path)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
%posttrans libs
|
|
|
|
|
|
|
|
%{_sbindir}/update-alternatives --install \
|
|
|
|
|
|
|
|
%{_libdir}/chromium-browser/libwidevinecdm.so libwidevinecdm.so \
|
|
|
|
|
|
|
|
%{_libdir}/chromium-browser/libwidevinecdm.so.fedora 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%preun libs
|
|
|
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
|
|
|
%{_sbindir}/alternatives --remove libwidevinecdm.so \
|
|
|
|
|
|
|
|
%{_libdir}/chromium-browser/libwidevinecdm.so.fedora
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{freeworld}
|
|
|
|
%if %{freeworld}
|
|
|
|
%posttrans -n chromium-libs-media-freeworld
|
|
|
|
%posttrans -n chromium-libs-media-freeworld
|
|
|
|
%{_sbindir}/update-alternatives --install \
|
|
|
|
%{_sbindir}/update-alternatives --install \
|
|
|
@ -1497,6 +1521,7 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|
|
|
%{chromium_path}/icudtl.dat
|
|
|
|
%{chromium_path}/icudtl.dat
|
|
|
|
%{chromium_path}/%{chromium_browser_channel}
|
|
|
|
%{chromium_path}/%{chromium_browser_channel}
|
|
|
|
%{chromium_path}/%{chromium_browser_channel}.sh
|
|
|
|
%{chromium_path}/%{chromium_browser_channel}.sh
|
|
|
|
|
|
|
|
%{chromium_path}/MEIPreload/
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
%{chromium_path}/swiftshader/
|
|
|
|
%{chromium_path}/swiftshader/
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -1587,7 +1612,6 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%exclude %{chromium_path}/libffmpeg.so*
|
|
|
|
%exclude %{chromium_path}/libffmpeg.so*
|
|
|
|
%exclude %{chromium_path}/libmedia.so*
|
|
|
|
%exclude %{chromium_path}/libmedia.so*
|
|
|
|
%exclude %{chromium_path}/libwidevinecdm.so
|
|
|
|
|
|
|
|
%{chromium_path}/lib*.so*
|
|
|
|
%{chromium_path}/lib*.so*
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|