From 73f6964d4f00a408f2e0caf1a68e61ecc61353ca Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Wed, 17 Jul 2019 12:09:39 +0000 Subject: [PATCH] Explain Meson in INSTALL --- INSTALL | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/INSTALL b/INSTALL index d2a0acc2..3476211f 100644 --- a/INSTALL +++ b/INSTALL @@ -4,14 +4,21 @@ To compile irssi you need: -- glib-2.6 or greater -- pkg-config +- meson-0.49 build system with ninja-1.5 or greater +- glib-2.28 or greater - openssl (for ssl support) - perl-5.6 or greater (for perl support) - terminfo or ncurses (for text frontend) 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) ./configure (if this script already exists, skip ./autogen.sh) make @@ -20,39 +27,45 @@ For most people, this should work just fine: 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 Specifies the path where irssi will be installed. YES, you can install irssi WITHOUT ROOT permissions by using --prefix=/home/dir - --with-proxy + -Dwith-proxy=yes / --with-proxy Build the irssi proxy (see startup-HOWTO). - --with-perl=[yes|no|module] + -Dwith-perl=[yes|no] / --with-perl=[yes|no|module] Enable Perl support yes enable builtin (default) no disable 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 site install in dir for site-specific modules (default) vendor install in dir for vendor-specific modules DIR install in DIR - --with-socks + [N/A] / --with-socks Build with socks library - --with-bot + -Dwith-bot=yes / --with-bot Build irssi-bot - --without-textui + -Dwithout-textui=yes / --without-textui Build without text frontend