ビルドには以下が必要です。
-NetBSD(pkgsrc) なら wxWidgets は pkgsrc/x11/wxGTK30 です
-(OPTIONS:gtk3 で動作確認しています)。
-
The followings are required for build.
-If you use NetBSD(pkgsrc),
-wxWidgets is pkgsrc/x11/wxGTK30 (OPTIONS:gtk3 is tested).
+
The followings are required for build.
- make (BSD make, not GNU make)
- C/C++ compiler which supports -std=c++14.
-(For gcc, 7.4 or newer works at least.
-For clang, 7.0 - 13.0 works at least.)
- - wxWidgets 3.0.x "stable" branch
-(but 3.1.x "development" branch is not recommended)
+(For gcc, at least 7.4 or later.
+For clang, at least 7.0 or later.)
+
- wxWidgets 3.2.x "stable" branch.
+ (3.0.x "old stable" branch would also work but is not confirmed.)
- gettext
+wxWidgets は NetBSD(pkgsrc) なら
+pkgsrc/x11/wxGTK32 です (wxGTK30 でも動くはずです)。
+If you use NetBSD(pkgsrc),
+wxWidgets is pkgsrc/x11/wxGTK32
+(or wxGTK30).
+
+
(NetBSD 以外でのビルドはサポートしていませんが)
-Ubuntu 20.04 ではたぶん以下のパッケージが必要です。
-You may need the following packages on Ubuntu 20.04
+Ubuntu ではたぶん以下のパッケージが必要です。
+You may need the following packages on Ubuntu
(though we won't support non-NetBSD platform).
--
-bmake
-build-essential
-gettext
-libbsd-dev
-libedit-dev
-libkqueue-dev
-libwxgtk3.0-gtk-dev
+
- Ubuntu 22.04:
+bmake,
+build-essential,
+gettext,
+libbsd-dev,
+libkqueue-dev,
+libwxgtk3.0-gtk3-dev,
+zlib1g-dev
+
- Ubuntu 24.04:
+bmake,
+build-essential,
+gettext,
+libbsd-dev,
+libkqueue-dev,
+libwxgtk3.2-dev,
zlib1g-dev
nono のソースアーカイブを展開したら以下のようにビルドします。
-configure には環境変数 CC、CXX でコンパイラを指定することが出来ます。
-また wx-config が標準的な名前で提供されていないために見付けられない場合には
-環境変数 WX_CONFIG にパスを指定することが出来ます。
-Extract the nono's source archive and build as following.
-You can specify C/C++ compiler using environment variable CC and CXX
-if configure cannot find standard name suitable compiler.
-Also, you can specify wx-config path using environment variable WX_CONFIG
-if configure cannot find wx-config.
-
--DNOTEST は開発者用のテストツールをビルドしないためのものです。
-With -DNOTEST, the build excludes test tools which is needed
-for developers only.
+Extract the nono's source archive and build as following.
+
-% ./configure
-% make -DNOTEST depend
-% make -DNOTEST
+% ./configure [<options>]
+% make -DRELEASE depend
+% make -DRELEASE
% su
# make install
-2つの実行ファイルがインストールされます。
+configure には環境変数 CC、CXX でコンパイラを指定することが出来ます。
+wx-config が標準的な名前で提供されていないために見付けられない場合には
+環境変数 WX_CONFIG にパスを指定することが出来ます。
+また configure のオプションとして以下が指定できます。
+You can specify C/C++ compiler using environment variable CC and CXX
+if configure cannot find standard name suitable compiler.
+You can specify wx-config path using environment variable WX_CONFIG
+if configure cannot find wx-config.
+Also, you can specify the following option for configure.
+
+
+
+- --disable-avx2 …
+amd64(x86_64) で AVX2 対応コードを無効にします。
+デフォルトでは、コンパイラが AVX2 に対応していることを
+configure が検出できれば AVX2 対応コードを生成します。
+
Disable AVX2 support on amd64(x86_64).
+By the default, it will generate AVX2 supported binary
+only if configure detects that compiler supports AVX2.
+ - --disable-neon …
+aarch64 で NEON 対応コードを無効にします。
+デフォルトでは、コンパイラが NEON に対応していることを
+configure が検出できれば NEON 対応コードを生成します。
+
Disable NEON support on aarch64.
+By the default, it will generate NEON supported binary
+only if configure detects that compiler supports NEON.
+
+
+make install により2つの実行ファイルがインストールされます。
nono が GUI 版実行ファイル、
nono-cli がコマンドライン版です。
-Two executables will be installed.
+make install will install two executables.
nono is the GUI executable and nono-cli is
the command line executable.
-
+
+