linux:chromium:cef

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:chromium:cef [2019/05/14 17:29] – [ビルド] ともやんlinux:chromium:cef [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 3: 行 3:
  
 ===== フレームワークのダウンロード ===== ===== フレームワークのダウンロード =====
-[[https://bitbucket.org/chromiumembedded/cef|chromiumembedded / cef — Bitbucket]] の Binary Distributions - [[http://opensource.spotify.com/cefbuilds/index.html|CEF Automated Builds]] より [[http://opensource.spotify.com/cefbuilds/cef_binary_3.3626.1886.g162fdec_linux64.tar.bz2|cef_binary_3.3626.1886.g162fdec_linux64.tar.bz2]](フレームワークのバイナリディストリビューション)をダウンロードする。\\+[[https://bitbucket.org/chromiumembedded/cef|chromiumembedded / cef — Bitbucket]] の Binary Distributions - [[http://opensource.spotify.com/cefbuilds/index.html|CEF Automated Builds]] より [[http://opensource.spotify.com/cefbuilds/cef_binary_74.1.16%2Bge20b240%2Bchromium-74.0.3729.131_linux64.tar.bz2|cef_binary_74.1.16+ge20b240+chromium-74.0.3729.131_linux64.tar.bz2]](フレームワークのバイナリディストリビューション)をダウンロードする。\\
  
 ===== フレームワーク入門 ===== ===== フレームワーク入門 =====
行 29: 行 29:
 Chromium Embedded Framework (CEF) のバイナリディストリビューションを解凍する。 Chromium Embedded Framework (CEF) のバイナリディストリビューションを解凍する。
 <code> <code>
-$ tar jxvf cef_binary_3.3626.1886.g162fdec_linux64.tar.bz2+$ tar jxvf cef_binary_74.1.16+ge20b240+chromium-74.0.3729.131_linux64.tar.bz2
 </code> </code>
 Makefile を生成する。 Makefile を生成する。
行 138: 行 138:
 </code> </code>
 </WRAP> </WRAP>
 +
 +==== SUIDアクセス許可を設定 ====
 +ビルドが終わったら指示にしたがって、手動で次のコマンドを実行して SUID アクセス許可を設定する。
 +<WRAP prewrap 100%>
 +<code>
 +$ EXE="/home/tomoyan/my_projects/cef_binary_74.1.16+ge20b240+chromium-74.0.3729.131_linux64/build/tests/ceftests/Debug/chrome-sandbox" && sudo -- chown root:root $EXE && sudo -- chmod 4755 $EXE
 +</code>
 +</WRAP>
 +
 +==== Sample の実行 ====
 +cefclient を実行する。\\
 +<code>
 +$ ./tests/cefclient/Debug/cefclient
 +</code>
 +URL に chrome:%%//%%version/ を入力する。\\
 +{{:linux:chromium:cefclient_about_version.png?800|}}\\
  
 ==== cef-project のビルド ==== ==== cef-project のビルド ====
行 154: 行 170:
 </code> </code>
 <code> <code>
--- The C compiler identification is GNU 8.2.1 +-- The C compiler identification is GNU 9.1.1 
--- The CXX compiler identification is GNU 8.2.1+-- The CXX compiler identification is GNU 9.1.1
 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc
 -- Check for working C compiler: /usr/bin/cc -- works -- Check for working C compiler: /usr/bin/cc -- works
行 168: 行 184:
 -- Detecting CXX compile features -- Detecting CXX compile features
 -- Detecting CXX compile features - done -- Detecting CXX compile features - done
--- Downloading /home/tomoyan/my_projects/cef-project/third_party/cef/cef_binary_3.3538.1852.gcb937fc_linux64.tar.bz2.sha1... +CMake Warning (dev) at CMakeLists.txt:54 (find_package): 
--- Downloading /home/tomoyan/my_projects/cef-project/third_party/cef/cef_binary_3.3538.1852.gcb937fc_linux64.tar.bz2... +  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables. 
--- [download 0% complete] +  Run "cmake --help-policy CMP0074" for policy details Use the cmake_policy 
--- [download 1% complete] +  command to set the policy and suppress this warning
--- [download 2% complete]+ 
 +  CMake variable CEF_ROOT is set to: 
 + 
 +    /home/tomoyan/my_projects/cef-project/third_party/cef/cef_binary_3.3538.1852.gcb937fc_linux64 
 + 
 +  For compatibility, CMake is ignoring the variable. 
 +This warning is for project developers Use -Wno-dev to suppress it. 
 + 
 +-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS 
 +-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS - Success 
 +-- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX 
 +-- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX - Success 
 +-- Performing Test COMPILER_SUPPORTS_NO_NARROWING 
 +-- Performing Test COMPILER_SUPPORTS_NO_NARROWING - Success 
 +-- Found PythonInterp: /usr/bin/python (found version "2.7.16")  
 +-- Downloading clang-format from Google Storage...
 〜省略〜 〜省略〜
 -- [download 98% complete] -- [download 98% complete]
行 230: 行 261:
 -- Build files have been written to: /home/tomoyan/my_projects/cef-project/build -- Build files have been written to: /home/tomoyan/my_projects/cef-project/build
 </code> </code>
- 
-=== cef_variables.cmake の修正 === 
-ビルドエラーにならない様に cef_variables.cmake を修正する。 
-<code> 
-$ vi ../third_party/cef/cef_binary_3.3538.1852.gcb937fc_linux64/cmake/cef_variables.cmake 
-</code> 
-<file autoconf ../third_party/cef/cef_binary_3.3538.1852.gcb937fc_linux64/cmake/cef_variables.cmake> 
-#    -Werror                         # Treat warnings as errors 
-</file> 
-※**-Werror**をコメントアウトする。\\ 
  
 === ビルド === === ビルド ===
  • linux/chromium/cef.1557822550.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)