From d55a74587c37942c7e4a0cf84e8a090e6adb5d01 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Wed, 17 Jul 2019 11:52:20 +0000 Subject: [PATCH 1/2] Add Meson ver requirement to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9ea92940..febe01b3 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ available. #### Development source installation +[Ninja](http://mesonbuild.com/) 1.5 and [Meson](http://mesonbuild.com/) 0.49 + ``` git clone https://github.com/irssi/irssi cd irssi From 73f6964d4f00a408f2e0caf1a68e61ecc61353ca Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Wed, 17 Jul 2019 12:09:39 +0000 Subject: [PATCH 2/2] 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