のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

wsl fontview

$ git clone https://github.com/googlei18n/fontview.git
Cloning into 'fontview'...
remote: Counting objects: 1356, done.
remote: Total 1356 (delta 0), reused 0 (delta 0), pack-reused 1355
Receiving objects: 100% (1356/1356), 6.98 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (705/705), done.

$ cd fontview

$ git submodule status
-39ce3ac499d4cd7371031a062f410953c8ecce29 src/third_party/freetype/freetype2
-881b8d891cc61989ab8811b74d0e721f72bf913b src/third_party/fribidi/fribidi
-e7079f0e0e14108ab0dba58728ff219637458563 src/third_party/gyp
-f0b700db394ccdff30ff83961a3e2ea9ff4ea472 src/third_party/harfbuzz/harfbuzz
-59d68d5a44332942fd426051ad90e38e417a02e9 src/third_party/raqm/libraqm
-6ca0116169f0aa6aa5175067de022dafea107a6b src/third_party/ucdn/ucdn
-6527607af7e7de881f98aac3bf9daf7e60584608 src/third_party/wxWidgets/wxWidgets

$ git submodule init
Submodule 'src/third_party/freetype/freetype2' (git://git.sv.nongnu.org/freetype/freetype2.git) registered for path 'src/third_party/freetype/freetype2'
Submodule 'src/third_party/fribidi/fribidi' (https://anongit.freedesktop.org/git/fribidi/fribidi.git) registered for path 'src/third_party/fribidi/fribidi'
Submodule 'src/third_party/gyp' (https://chromium.googlesource.com/external/gyp) registered for path 'src/third_party/gyp'
Submodule 'src/third_party/harfbuzz/harfbuzz' (https://github.com/behdad/harfbuzz.git) registered for path 'src/third_party/harfbuzz/harfbuzz'
Submodule 'src/third_party/raqm/libraqm' (https://github.com/HOST-Oman/libraqm.git) registered for path 'src/third_party/raqm/libraqm'
Submodule 'src/third_party/ucdn/ucdn' (https://github.com/grigorig/ucdn.git) registered for path 'src/third_party/ucdn/ucdn'
Submodule 'src/third_party/wxWidgets/wxWidgets' (https://github.com/wxWidgets/wxWidgets.git) registered for path 'src/third_party/wxWidgets/wxWidgets'

$ git submodule update
Cloning into '/home/m_fujii/github/fontview/src/third_party/freetype/freetype2'...
Cloning into '/home/m_fujii/github/fontview/src/third_party/fribidi/fribidi'...
Cloning into '/home/m_fujii/github/fontview/src/third_party/gyp'...
Cloning into '/home/m_fujii/github/fontview/src/third_party/harfbuzz/harfbuzz'...
Cloning into '/home/m_fujii/github/fontview/src/third_party/raqm/libraqm'...
Cloning into '/home/m_fujii/github/fontview/src/third_party/ucdn/ucdn'...
Cloning into '/home/m_fujii/github/fontview/src/third_party/wxWidgets/wxWidgets'...
Submodule path 'src/third_party/freetype/freetype2': checked out '39ce3ac499d4cd7371031a062f410953c8ecce29'
Submodule path 'src/third_party/fribidi/fribidi': checked out '881b8d891cc61989ab8811b74d0e721f72bf913b'
Submodule path 'src/third_party/gyp': checked out 'e7079f0e0e14108ab0dba58728ff219637458563'
Submodule path 'src/third_party/harfbuzz/harfbuzz': checked out 'f0b700db394ccdff30ff83961a3e2ea9ff4ea472'
Submodule path 'src/third_party/raqm/libraqm': checked out '59d68d5a44332942fd426051ad90e38e417a02e9'
Submodule path 'src/third_party/ucdn/ucdn': checked out '6ca0116169f0aa6aa5175067de022dafea107a6b'
Submodule path 'src/third_party/wxWidgets/wxWidgets': checked out '6527607af7e7de881f98aac3bf9daf7e60584608'

$ python3 build.py
freetype2 >= 19.0.13 is missing
wxWidgets
sudo apt install libwxgtk3.0-dev

開発環境のインストール

$ sudo apt install build-essential

nixeneko.hatenablog.com