doc: replace "cmake" by "CMake"
This commit is contained in:
parent
96d1276446
commit
f065b43b71
@ -432,7 +432,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core, irc, xfer: fix compilation on macOS (add link with resolv) (issue #276)
|
||||
* core: add build of xz package with make dist (cmake)
|
||||
* core: add build of xz package with make dist (CMake)
|
||||
* tests: fix compilation of tests on FreeBSD 11.0
|
||||
|
||||
[[v1.6]]
|
||||
@ -618,7 +618,7 @@ Bug fixes::
|
||||
|
||||
Documentation::
|
||||
|
||||
* replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (issue #354)
|
||||
* replace PREFIX with CMAKE_INSTALL_PREFIX in CMake instructions (issue #354)
|
||||
|
||||
Build::
|
||||
|
||||
@ -697,7 +697,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix random error when creating symbolic link weechat-curses on make install with cmake (bug #40313)
|
||||
* core: fix random error when creating symbolic link weechat-curses on make install with CMake (bug #40313)
|
||||
|
||||
[[v1.1]]
|
||||
== Version 1.1 (2015-01-11)
|
||||
@ -761,7 +761,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: fix compilation of man pages with autotools in source directory
|
||||
* core: fix compilation of plugins with cmake >= 3.1 (issue #287)
|
||||
* core: fix compilation of plugins with CMake >= 3.1 (issue #287)
|
||||
* lua: add detection of Lua 5.2
|
||||
* python: fix Python detection with Homebrew (issue #217)
|
||||
* tests: fix compilation of tests with clang (issue #275)
|
||||
@ -949,7 +949,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix cmake warning CMP0007 on "make uninstall" (bug #41528)
|
||||
* core: fix CMake warning CMP0007 on "make uninstall" (bug #41528)
|
||||
* core: use glibtoolize on macOS (autotools) (issue #22)
|
||||
* ruby: add detection of Ruby 2.1
|
||||
|
||||
@ -1138,8 +1138,8 @@ Documentation::
|
||||
|
||||
Build::
|
||||
|
||||
* core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
|
||||
* core: disable build of doc by default, add cmake option ENABLE_MAN to compile man page (off by default)
|
||||
* core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
|
||||
* core: disable build of doc by default, add CMake option ENABLE_MAN to compile man page (off by default)
|
||||
* xfer: fix compilation on OpenBSD (bug #39071)
|
||||
|
||||
[[v0.4.1]]
|
||||
@ -1221,7 +1221,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: install icon file (patch #7972)
|
||||
* core: fix detection of iconv with cmake on macOS (bug #38321)
|
||||
* core: fix detection of iconv with CMake on macOS (bug #38321)
|
||||
* guile: fix compilation with Guile 2.0
|
||||
* python: fix detection of Python on Ubuntu Raring
|
||||
* script: fix compilation on GNU/Hurd (patch #7977)
|
||||
@ -1309,7 +1309,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: add git version in build, display it in "weechat-curses --help" and /version
|
||||
* core: stop cmake if gcrypt lib is not found (bug #37671)
|
||||
* core: stop CMake if gcrypt lib is not found (bug #37671)
|
||||
* guile: fix detection of Guile in configure
|
||||
* script: fix compilation on macOS
|
||||
|
||||
@ -1407,10 +1407,10 @@ Documentation::
|
||||
|
||||
Build::
|
||||
|
||||
* core: move the set of cmake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
|
||||
* core: move the set of CMake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
|
||||
* core: fix names of cache variables in configure.in (bug #36971)
|
||||
* core: add cmake option "MANDIR" (bug #36776)
|
||||
* guile: fix path of Guile include dirs in cmake build (patch #7790)
|
||||
* core: add CMake option "MANDIR" (bug #36776)
|
||||
* guile: fix path of Guile include dirs in CMake build (patch #7790)
|
||||
* lua: add support of Lua 5.2
|
||||
* python: fix detection of Python (first try "python2.x" and then "python") (bug #36835)
|
||||
* ruby: add detection of Ruby 1.9.3
|
||||
@ -1561,8 +1561,8 @@ Documentation::
|
||||
|
||||
Build::
|
||||
|
||||
* core: add library "pthread" in cmake file for link on OpenBSD
|
||||
* core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
|
||||
* core: add library "pthread" in CMake file for link on OpenBSD
|
||||
* core: add WEECHAT_HOME option in CMake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
|
||||
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
|
||||
* core: fix compilation error with "pid_t" on macOS (bug #34639)
|
||||
|
||||
@ -1801,7 +1801,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core: add support of Python 2.7 in cmake and configure (debian #606989)
|
||||
* core: add support of Python 2.7 in CMake and configure (debian #606989)
|
||||
* ruby: fix compilation with Ruby 1.9.2 (patch #7316)
|
||||
|
||||
[[v0.3.3]]
|
||||
@ -1980,7 +1980,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix cmake directories: let user customize lib, share, locale and include directories (patch #6922)
|
||||
* core: fix CMake directories: let user customize lib, share, locale and include directories (patch #6922)
|
||||
* ruby: add support of Ruby >= 1.9.1 (patch #6989)
|
||||
|
||||
[[v0.3.0]]
|
||||
@ -2157,7 +2157,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* add cmake for weechat compilation (patch #5943)
|
||||
* add CMake for weechat compilation (patch #5943)
|
||||
|
||||
[[v0.2.4]]
|
||||
== Version 0.2.4 (2007-03-29)
|
||||
|
@ -1076,17 +1076,17 @@ accordingly).
|
||||
|
||||
[NOTE]
|
||||
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
|
||||
not automatically created in the package (both cmake and configure are creating
|
||||
not automatically created in the package (both CMake and configure are creating
|
||||
this link on make install).
|
||||
|
||||
[[v0.4.2_man_page_documentation]]
|
||||
=== Man page / documentation
|
||||
|
||||
Documentation is not built by default any more, you have to use option
|
||||
`-DENABLE_DOC=ON` in cmake to enable it.
|
||||
`-DENABLE_DOC=ON` in cmake command to enable it.
|
||||
|
||||
The man page is now built with asciidoc and translated in several
|
||||
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
|
||||
languages. A new CMake option `ENABLE_MAN` has been added to compile man page
|
||||
(`OFF` by default).
|
||||
|
||||
[[v0.4.2_aspell_colors]]
|
||||
|
@ -52,12 +52,12 @@ https://weechat.org/about/interfaces
|
||||
[[compile_git]]
|
||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[cmake] zum
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake] zum
|
||||
kompilieren von WeeChat zu nutzen.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
||||
(dich also nicht für cmake entscheidest), stelle sicher, dass Du die neueste
|
||||
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
|
||||
Version von autoconf und automake besitzt.
|
||||
|
||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
|
||||
|
@ -97,7 +97,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Um die Quellen zu übersetzen, wird cmake empfohlen:
|
||||
Um die Quellen zu übersetzen, wird CMake empfohlen:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@ -107,7 +107,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||
Falls Du CMake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
@ -85,7 +85,7 @@ wie man Pakete installiert.
|
||||
[[source_package]]
|
||||
=== Quellpakete
|
||||
|
||||
WeeChat kann mittels cmake oder autotools kompiliert werden (cmake sollte dabei die bevorzugte Methode sein).
|
||||
WeeChat kann mittels CMake oder autotools kompiliert werden (CMake sollte dabei die bevorzugte Methode sein).
|
||||
|
||||
[NOTE]
|
||||
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
|
||||
@ -104,7 +104,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
|
||||
| C compiler
|
||||
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
|
||||
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
|
||||
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
|
||||
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. CMake wird aber empfohlen).
|
||||
| pkg-config | | *ja* | entdeckt installierte Bibliotheken.
|
||||
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
|
||||
| libcurl4-gnutls-dev | | *ja* | URL Transfer.
|
||||
@ -152,7 +152,7 @@ installieren:
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Kompilieren mit cmake
|
||||
==== Kompilieren mit CMake
|
||||
|
||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||
|
||||
@ -174,7 +174,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Optionen für cmake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
|
||||
Optionen für CMake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
|
||||
|
||||
Liste von häufig verwendeten Optionen:
|
||||
|
||||
@ -316,10 +316,10 @@ $ ccmake ..
|
||||
==== Kompilieren mit autotools
|
||||
|
||||
[WARNING]
|
||||
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
|
||||
sollte nur verwendet werden falls man keine Möglichkeit hat cmake zu nutzen. +
|
||||
Ausschließlich das Kompilieren mittels CMake wird offiziell unterstützt. Autotools
|
||||
sollte nur verwendet werden falls man keine Möglichkeit hat CMake zu nutzen. +
|
||||
Für die Erstellung mittels autotools werden zusätzliche Pakete benötigt und es ist
|
||||
zeitintensiver als cmake.
|
||||
zeitintensiver als CMake.
|
||||
|
||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||
|
||||
@ -358,13 +358,13 @@ Folgende Pakete werden *benötigt* um Tests zu kompilieren:
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests muss aktiviert werden wenn WeeChat kompiliert wird (mittels cmake):
|
||||
Tests muss aktiviert werden wenn WeeChat kompiliert wird (mittels CMake):
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis (bei cmake) ausgeführt:
|
||||
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis (bei CMake) ausgeführt:
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@ -396,7 +396,7 @@ Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
|
||||
[[debug_info]]
|
||||
==== Debug info
|
||||
|
||||
Bei der Kompilierung mit cmake muss folgende Option gesetzt werden:
|
||||
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
|
@ -1086,7 +1086,7 @@ Examples of commit messages:
|
||||
irc: add command /unquiet (closes #36)
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||
ruby: add detection of ruby version 1.9.3 in cmake
|
||||
ruby: add detection of ruby version 1.9.3 in CMake
|
||||
python: fix crash when unloading a script without pointer to interpreter
|
||||
core: update Japanese translations (patch #7783)
|
||||
----
|
||||
|
@ -47,10 +47,10 @@ https://weechat.org/about/interfaces
|
||||
=== I can't compile WeeChat after cloning git repository, why?
|
||||
|
||||
The recommended way to compile WeeChat is with
|
||||
link:weechat_user.en.html#compile_with_cmake[cmake].
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake].
|
||||
|
||||
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||
(and not cmake), check that you have latest version of autoconf and automake.
|
||||
(and not CMake), check that you have latest version of autoconf and automake.
|
||||
|
||||
The other way is to install the "devel package", which needs less dependencies.
|
||||
This package is built almost every day using git repository. Note that this
|
||||
|
@ -83,7 +83,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
To build sources, cmake is recommended:
|
||||
To build sources, CMake is recommended:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@ -93,7 +93,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
If you don't have cmake, it's still possible to use autotools:
|
||||
If you don't have CMake, it's still possible to use autotools:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
@ -79,7 +79,7 @@ instructions.
|
||||
[[source_package]]
|
||||
=== Source package
|
||||
|
||||
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
|
||||
WeeChat can be compiled with CMake or autotools (CMake is recommended way).
|
||||
|
||||
[NOTE]
|
||||
On macOS, you can use https://brew.sh/[Homebrew]:
|
||||
@ -98,7 +98,7 @@ compile WeeChat.
|
||||
| C compiler
|
||||
(gcc, clang, ...) | | *yes* | Build.
|
||||
| C++ compiler | | | Build and run tests, JavaScript plugin.
|
||||
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but cmake is recommended).
|
||||
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but CMake is recommended).
|
||||
| pkg-config | | *yes* | Detect installed libraries.
|
||||
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
|
||||
| libcurl4-gnutls-dev | | *yes* | URL transfer.
|
||||
@ -144,7 +144,7 @@ all dependencies with the command:
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Compile with cmake
|
||||
==== Compile with CMake
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
@ -166,7 +166,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Options can be used for cmake, with format: "-DOPTION=VALUE".
|
||||
Options can be used for CMake, with format: "-DOPTION=VALUE".
|
||||
|
||||
List of commonly used options:
|
||||
|
||||
@ -308,9 +308,9 @@ $ ccmake ..
|
||||
==== Compile with autotools
|
||||
|
||||
[WARNING]
|
||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use cmake. +
|
||||
Build with autotools requires more dependencies and is slower than with cmake.
|
||||
Only CMake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use CMake. +
|
||||
Build with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
@ -349,13 +349,13 @@ Following packages are *required* to compile tests:
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat (with cmake):
|
||||
Tests must be enabled when compiling WeeChat (with CMake):
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
They can be launched after compilation from the build directory (with cmake):
|
||||
They can be launched after compilation from the build directory (with CMake):
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@ -389,7 +389,7 @@ you have to:
|
||||
[[debug_info]]
|
||||
==== Debug info
|
||||
|
||||
If you're compiling with cmake:
|
||||
If you're compiling with CMake:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
|
@ -1102,7 +1102,7 @@ Exemples de messages de commit :
|
||||
irc: add command /unquiet (closes #36)
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||
ruby: add detection of ruby version 1.9.3 in cmake
|
||||
ruby: add detection of ruby version 1.9.3 in CMake
|
||||
python: fix crash when unloading a script without pointer to interpreter
|
||||
core: update Japanese translations (patch #7783)
|
||||
----
|
||||
|
@ -48,10 +48,10 @@ distantes : https://weechat.org/about/interfaces
|
||||
=== Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
|
||||
|
||||
La méthode recommandée pour compiler WeeChat est d'utiliser
|
||||
link:weechat_user.fr.html#compile_with_cmake[cmake].
|
||||
link:weechat_user.fr.html#compile_with_cmake[CMake].
|
||||
|
||||
Si vous compilez avec les link:weechat_user.fr.html#compile_with_autotools[autotools]
|
||||
(et non cmake), vérifiez que vous avez bien la dernière version d'autoconf et
|
||||
(et non CMake), vérifiez que vous avez bien la dernière version d'autoconf et
|
||||
automake.
|
||||
|
||||
Une autre façon de faire est de compiler le "paquet devel", qui nécessite moins
|
||||
|
@ -89,7 +89,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Pour compiler les sources, cmake est recommandé :
|
||||
Pour compiler les sources, CMake est recommandé :
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@ -99,7 +99,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Si vous n'avez pas cmake, il est toujours possible d'utiliser les autotools :
|
||||
Si vous n'avez pas CMake, il est toujours possible d'utiliser les autotools :
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
@ -81,7 +81,7 @@ la distribution pour la méthode d'installation.
|
||||
[[source_package]]
|
||||
=== Paquet source
|
||||
|
||||
WeeChat peut être compilé avec cmake ou les autotools (cmake est la méthode
|
||||
WeeChat peut être compilé avec CMake ou les autotools (CMake est la méthode
|
||||
recommandée).
|
||||
|
||||
[NOTE]
|
||||
@ -101,7 +101,7 @@ compiler WeeChat.
|
||||
| compilateur C
|
||||
(gcc, clang, ...) | | *oui* | Construction.
|
||||
| compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
|
||||
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais cmake est recommandé).
|
||||
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais CMake est recommandé).
|
||||
| pkg-config | | *oui* | Détection des bibliothèques installées.
|
||||
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
|
||||
| libcurl4-gnutls-dev | | *oui* | Transfert d'URL.
|
||||
@ -148,7 +148,7 @@ pouvez installer toutes les dépendances avec la commande :
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Compilation avec cmake
|
||||
==== Compilation avec CMake
|
||||
|
||||
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
||||
|
||||
@ -170,7 +170,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Des options peuvent être utilisées pour cmake, avec le format : "-DOPTION=VALUE".
|
||||
Des options peuvent être utilisées pour CMake, avec le format : "-DOPTION=VALUE".
|
||||
|
||||
Liste des options couramment utilisées :
|
||||
|
||||
@ -313,11 +313,11 @@ $ ccmake ..
|
||||
==== Compilation avec autotools
|
||||
|
||||
[WARNING]
|
||||
Seulement cmake est officiellement supporté pour construire WeeChat. Vous ne
|
||||
Seulement CMake est officiellement supporté pour construire WeeChat. Vous ne
|
||||
devriez utiliser les autotools que si vous n'avez pas la possibilité d'utiliser
|
||||
cmake. +
|
||||
CMake. +
|
||||
La compilation avec les autotools requiert plus de dépendances et est plus lente
|
||||
qu'avec cmake.
|
||||
qu'avec CMake.
|
||||
|
||||
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
||||
|
||||
@ -356,14 +356,14 @@ Les paquets suivants sont nécessaires pour compiler les tests :
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Les tests doivent être activés pour compiler WeeChat (avec cmake) :
|
||||
Les tests doivent être activés pour compiler WeeChat (avec CMake) :
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
Ils peuvent être lancés après compilation depuis le répertoire de construction
|
||||
(avec cmake) :
|
||||
(avec CMake) :
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@ -398,7 +398,7 @@ futur de WeeChat, vous devez :
|
||||
[[debug_info]]
|
||||
==== Infos de debug
|
||||
|
||||
Si vous compilez avec cmake :
|
||||
Si vous compilez avec CMake :
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
|
@ -56,10 +56,10 @@ https://weechat.org/about/interfaces
|
||||
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
||||
|
||||
Il metodo raccomandato per compilare WeeChat è utilizzando
|
||||
link:weechat_user.it.html#compile_with_cmake[cmake].
|
||||
link:weechat_user.it.html#compile_with_cmake[CMake].
|
||||
|
||||
Se si sta compilando con link:weechat_user.it.html#compile_with_autotools[autotools]
|
||||
(e non cmake), verificare che siano installate le ultime versioni di autoconf e
|
||||
(e non CMake), verificare che siano installate le ultime versioni di autoconf e
|
||||
automake.
|
||||
|
||||
L'altro metodo è installare il "pacchetto di sviluppo", che richiede meno
|
||||
|
@ -94,7 +94,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Per compilare i sorgenti, si raccomanda cmake:
|
||||
Per compilare i sorgenti, si raccomanda CMake:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@ -104,7 +104,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Se cmake non è installato, è ancora possibile usare gli autotools:
|
||||
Se CMake non è installato, è ancora possibile usare gli autotools:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
@ -93,8 +93,8 @@ installazione.
|
||||
[[source_package]]
|
||||
=== Sorgenti
|
||||
|
||||
WeeChat può essere compilato con cmake oppure autotools
|
||||
(tuttavia si raccomanda cmake).
|
||||
WeeChat può essere compilato con CMake oppure autotools
|
||||
(tuttavia si raccomanda CMake).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
@ -116,7 +116,7 @@ compilare WeeChat.
|
||||
(gcc, clang, ...) | | *sì* | Build.
|
||||
// TRANSLATION MISSING
|
||||
| C++ compiler | | | Build and run tests, plugin JavaScript.
|
||||
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda cmake).
|
||||
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
|
||||
// TRANSLATION MISSING
|
||||
| pkg-config | | *sì* | Detect installed libraries.
|
||||
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.
|
||||
@ -174,7 +174,7 @@ all dependencies with the command:
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Compilazione con cmake
|
||||
==== Compilazione con CMake
|
||||
|
||||
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
||||
|
||||
@ -198,7 +198,7 @@ $ make install
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Options can be used for cmake, with format: "-DOPTION=VALUE".
|
||||
Options can be used for CMake, with format: "-DOPTION=VALUE".
|
||||
|
||||
// TRANSLATION MISSING
|
||||
List of commonly used options:
|
||||
@ -343,9 +343,9 @@ $ ccmake ..
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use cmake. +
|
||||
Build with autotools requires more dependencies and is slower than with cmake.
|
||||
Only CMake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use CMake. +
|
||||
Build with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
||||
|
||||
@ -387,13 +387,13 @@ Following packages are *required* to compile tests:
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat (with cmake):
|
||||
Tests must be enabled when compiling WeeChat (with CMake):
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
They can be launched after compilation from the build directory (with cmake):
|
||||
They can be launched after compilation from the build directory (with CMake):
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@ -428,7 +428,7 @@ futuro di WeeChat, è necessario:
|
||||
[[debug_info]]
|
||||
==== Informazioni di debug
|
||||
|
||||
Se si compila con cmake:
|
||||
Se si compila con CMake:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
|
@ -1084,7 +1084,7 @@ _component_ には以下から 1 つ選んで記入してください:
|
||||
irc: add command /unquiet (closes #36)
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||
ruby: add detection of ruby version 1.9.3 in cmake
|
||||
ruby: add detection of ruby version 1.9.3 in CMake
|
||||
python: fix crash when unloading a script without pointer to interpreter
|
||||
core: update Japanese translations (patch #7783)
|
||||
----
|
||||
|
@ -51,10 +51,10 @@ https://weechat.org/about/interfaces
|
||||
[[compile_git]]
|
||||
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。
|
||||
|
||||
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[cmake]
|
||||
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[CMake]
|
||||
を使うことが推奨されています。
|
||||
|
||||
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (cmake を使わずに)
|
||||
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (CMake を使わずに)
|
||||
コンパイルする場合、最新の autoconf と automake を使ってください。
|
||||
|
||||
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
||||
|
@ -87,7 +87,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
ソースをビルドするには cmake を使うことを推奨します:
|
||||
ソースをビルドするには CMake を使うことを推奨します:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@ -97,7 +97,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
cmake が無い場合は autotools を使うことも可能です:
|
||||
CMake が無い場合は autotools を使うことも可能です:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
@ -84,7 +84,7 @@ WeeChat をインストールするには、以下のものが必要です:
|
||||
[[source_package]]
|
||||
=== ソースパッケージ
|
||||
|
||||
WeeChat は cmake または autotools を使ってコンパイルできます (cmake を使うことが推奨されています)。
|
||||
WeeChat は CMake または autotools を使ってコンパイルできます (CMake を使うことが推奨されています)。
|
||||
|
||||
[NOTE]
|
||||
macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||
@ -103,7 +103,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||
| C コンパイラ
|
||||
(gcc, clang, ...) | | *必須* | ビルド
|
||||
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
|
||||
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
|
||||
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、CMake を推奨します)
|
||||
| pkg-config | | *必須* | インストール済みライブラリを検出
|
||||
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
|
||||
| libcurl4-gnutls-dev | | *必須* | URL 転送
|
||||
@ -149,7 +149,7 @@ Debian および Ubuntu
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== cmake によるコンパイル
|
||||
==== CMake によるコンパイル
|
||||
|
||||
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
||||
|
||||
@ -171,7 +171,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
cmake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
|
||||
CMake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
|
||||
|
||||
よく利用されるオプションのリスト:
|
||||
|
||||
@ -313,9 +313,9 @@ $ ccmake ..
|
||||
==== autotools によるコンパイル
|
||||
|
||||
[WARNING]
|
||||
cmake 以外を用いた WeeChat のビルドは公式にサポートされません。cmake
|
||||
CMake 以外を用いた WeeChat のビルドは公式にサポートされません。CMake
|
||||
を利用できない場合のみ autotools を使ってください。 +
|
||||
autotools を用いてビルドする場合、cmake よりも多くの依存パッケージとより長い時間が必要です。
|
||||
autotools を用いてビルドする場合、CMake よりも多くの依存パッケージとより長い時間が必要です。
|
||||
|
||||
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
||||
|
||||
@ -354,13 +354,13 @@ $ ./configure --help
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
テストは WeeChat のコンパイル時に有効化しなければいけません (cmake を使う場合):
|
||||
テストは WeeChat のコンパイル時に有効化しなければいけません (CMake を使う場合):
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
コンパイル終了後、build ディレクトリでテストを起動してください (cmake を使う場合):
|
||||
コンパイル終了後、build ディレクトリでテストを起動してください (CMake を使う場合):
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@ -394,7 +394,7 @@ WeeChat がクラッシュした場合、または WeeChat
|
||||
[[debug_info]]
|
||||
==== デバッグ情報
|
||||
|
||||
cmake でコンパイルする場合:
|
||||
CMake でコンパイルする場合:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
|
@ -52,10 +52,10 @@ https://weechat.org/about/interfaces
|
||||
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
||||
|
||||
Zalecaną metodą kompilacji WeeChat jest użycie
|
||||
link:weechat_user.pl.html#compile_with_cmake[cmake].
|
||||
link:weechat_user.pl.html#compile_with_cmake[CMake].
|
||||
|
||||
Jeśli kompilujesz używając link:weechat_user.pl.html#compile_with_autotools[autotools]
|
||||
(nie cmake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
|
||||
(nie CMake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
|
||||
|
||||
Innym sposobem jest zainstalowanie "paczki deweloperskiej", która wymaga mniej
|
||||
zależności. Ten pakiet jest budowany prawie codziennie z użyciem repozytorium
|
||||
|
@ -90,7 +90,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Do zbudowania źródeł zaleca się cmake:
|
||||
Do zbudowania źródeł zaleca się CMake:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@ -100,7 +100,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Jeśli nie posiadasz cmake, nadal jest możliwe użycie autotools:
|
||||
Jeśli nie posiadasz CMake, nadal jest możliwe użycie autotools:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
@ -85,7 +85,7 @@ pakietów.
|
||||
[[source_package]]
|
||||
=== Pakiety źródłowe
|
||||
|
||||
WeeChat może być kompilowany za pomocą cmake lub autotools (cmake jest zalecany).
|
||||
WeeChat może być kompilowany za pomocą CMake lub autotools (CMake jest zalecany).
|
||||
|
||||
[NOTE]
|
||||
Na macOS możesz użyć https://brew.sh/[Homebrew]:
|
||||
@ -104,7 +104,7 @@ WeeChat.
|
||||
| kompilator C
|
||||
(gcc, clang, ...) | | *tak* | Kompilacja.
|
||||
| kompilator C++ | | | Kompilacja i uruchamianie testów, wtyczka JavaScript.
|
||||
| cmake | ≥ 3.0 | *tak* | Kompilacja (możliwe jest użycie autotools, jednak cmake jest zalecany).
|
||||
| cmake | ≥ 3.0 | *tak* | Kompilacja (możliwe jest użycie autotools, jednak CMake jest zalecany).
|
||||
| pkg-config | | *tak* | Wykrywa zainstalowane biblioteki.
|
||||
| libncursesw5-dev ^(2)^ | | *tak* | Interfejs ncurses.
|
||||
| libcurl4-gnutls-dev | | *tak* | Transfer URL.
|
||||
@ -150,7 +150,7 @@ za pomocą jednej komendy:
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Kompilacja z użyciem cmake
|
||||
==== Kompilacja z użyciem CMake
|
||||
|
||||
* Instalacja w katalogach systemowych (wymaga uprawnień użytkownika _root_):
|
||||
|
||||
@ -172,7 +172,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Opcje mogą zostać przekazane do cmake, format "-DOPCJA=WARTOŚĆ".
|
||||
Opcje mogą zostać przekazane do CMake, format "-DOPCJA=WARTOŚĆ".
|
||||
|
||||
Lista popularnych opcji:
|
||||
|
||||
@ -314,10 +314,10 @@ $ ccmake ..
|
||||
==== Kompilacja z użyciem autotools
|
||||
|
||||
[WARNING]
|
||||
Oficjalne wsparcie do budowania WeeChat posiada tylko cmake. Powinieneś używać
|
||||
autotools tylko jeśli nie możesz użyć cmake. +
|
||||
Oficjalne wsparcie do budowania WeeChat posiada tylko CMake. Powinieneś używać
|
||||
autotools tylko jeśli nie możesz użyć CMake. +
|
||||
Budowanie z użyciem autotools wymaga więcej zależności i jest wolniejsze niż
|
||||
z cmake.
|
||||
z CMake.
|
||||
|
||||
* Instalacja w katalogach systemowych (wymaga uprawnień użytkownika _root_):
|
||||
|
||||
@ -356,13 +356,13 @@ Następujące pakiety są *wymagane* do kompilacji testów:
|
||||
* libcpputest-dev
|
||||
* kompilator C++
|
||||
|
||||
Testy muszą być włączone podczas kompilacji WeeChat (z użyciem cmake):
|
||||
Testy muszą być włączone podczas kompilacji WeeChat (z użyciem CMake):
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
Można je uruchomić po skompilowaniu z katalogu kompilacji (z użyciem cmake):
|
||||
Można je uruchomić po skompilowaniu z katalogu kompilacji (z użyciem CMake):
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@ -396,7 +396,7 @@ Jeśli doświadczyłeś awarii, lub chcesz zgłosić przyszłą awarię WeeChat,
|
||||
[[debug_info]]
|
||||
==== Informacje diagnostyczne
|
||||
|
||||
Jeśli kompilujesz z użyciem cmake:
|
||||
Jeśli kompilujesz z użyciem CMake:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
|
Loading…
x
Reference in New Issue
Block a user