Jump to content

Weechat: Difference between revisions

558 bytes removed ,  1 April 2015
no edit summary
(Update to fix msgmerge resource issue)
No edit summary
Line 13: Line 13:
== Compiling Weechat ==
== Compiling Weechat ==


Weechat requires a bit of jiggery pokery before building on azazel using ''make && make install''. Here's how to do it:
   git clone https://github.com/weechat/weechat
 
   git clone https://github.com/weechat/weechat.git
   cd weechat
   cd weechat
   perl -p -i.bak -e 's/^AM_GNU_GETTEXT_VERSION\(\[0\.18\]\)/AM_GNU_GETTEXT_VERSION\(\[0\.17\]\)/g' configure.ac
   mkdir build
   ./autogen.sh
   cd build
   ./configure --prefix=$HOME
   cmake .. -DPREFIX=$HOME -DENABLE_NLS=OFF
  for f in `ls po/*.po`
  do
  /usr/bin/msgmerge --update $f po/weechat.pot
  done;
   make
   make
   make install
   make install
  echo '*/upgrade ~/bin/weechat' > `find ~/.weechat -name "weechat_fifo_*"`


Creadak has also written a script that will compile and install weechat to a local directory and then tell the currently running weechat to upgrade itself, so it's perfect for cronjobbing. The script is available from [http://creadak.tk/upgrade-weechat http://creadak.tk/upgrade-weechat] and instructions are at the top of the script.


== Basic use ==
== Basic use ==
28

edits