1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Explain Meson in INSTALL

This commit is contained in:
ailin-nemui 2019-07-17 12:09:39 +00:00 committed by GitHub
parent d55a74587c
commit 73f6964d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
INSTALL
View File

@ -4,14 +4,21 @@
To compile irssi you need: To compile irssi you need:
- glib-2.6 or greater - meson-0.49 build system with ninja-1.5 or greater
- pkg-config - glib-2.28 or greater
- openssl (for ssl support) - openssl (for ssl support)
- perl-5.6 or greater (for perl support) - perl-5.6 or greater (for perl support)
- terminfo or ncurses (for text frontend) - terminfo or ncurses (for text frontend)
For most people, this should work just fine: For most people, this should work just fine:
meson Build
ninja -C Build
su
ninja -C Build install
For the moment, autotools is also supported:
./autogen.sh (for people who just cloned the repository) ./autogen.sh (for people who just cloned the repository)
./configure (if this script already exists, skip ./autogen.sh) ./configure (if this script already exists, skip ./autogen.sh)
make make
@ -20,39 +27,45 @@ For most people, this should work just fine:
configure options configure options
These options can be given to meson or ./configure.
The first syntax is for meson, the 2nd for ./configure
For a complete list of options, run
meson configure / ./configure --help
--prefix --prefix
Specifies the path where irssi will be installed. Specifies the path where irssi will be installed.
YES, you can install irssi WITHOUT ROOT permissions YES, you can install irssi WITHOUT ROOT permissions
by using --prefix=/home/dir by using --prefix=/home/dir
--with-proxy -Dwith-proxy=yes / --with-proxy
Build the irssi proxy (see startup-HOWTO). Build the irssi proxy (see startup-HOWTO).
--with-perl=[yes|no|module] -Dwith-perl=[yes|no] / --with-perl=[yes|no|module]
Enable Perl support Enable Perl support
yes enable builtin (default) yes enable builtin (default)
no disable no disable
module enable as module module enable as module
--with-perl-lib=[site|vendor|DIR] -Dwith-perl-lib=[site|vendor|DIR] / --with-perl-lib=[site|vendor|DIR]
Specify installation dir for Perl libraries Specify installation dir for Perl libraries
site install in dir for site-specific modules (default) site install in dir for site-specific modules (default)
vendor install in dir for vendor-specific modules vendor install in dir for vendor-specific modules
DIR install in DIR DIR install in DIR
--with-socks [N/A] / --with-socks
Build with socks library Build with socks library
--with-bot -Dwith-bot=yes / --with-bot
Build irssi-bot Build irssi-bot
--without-textui -Dwithout-textui=yes / --without-textui
Build without text frontend Build without text frontend