Download and install (in their default install paths):
Download the HexChat source code and extract it to somewhere. You will work in the extracted hexchat folder from now.
Create a folder for GTK+, referred to as YourDepsPath from now (C:\mozilla-build\hexchat\gtk by default). Specify the absolute path to YourDepsPath in win32\hexchat.props with the YourDepsPath property. Download:
Extract them to win32 and x64 in YourDepsPath.
If you would like to build GTK+ yourself, read this guide.
You can skip this step, but then you won’t be able to generate the installer. Download:
You can use other paths, but then you must update the related properties in win32\hexchat.props accordingly.
Open win32\hexchat.sln, right click on the release/installer (or release/copy if you skipped the language interfaces) project and set it as the startup project. Now you can compile from under the Build menu to your taste.
If everything went fine, the resulting binaries will be found in hexchat-build\Win32 and/or hexchat-build\x64. It was easy, wasn’t it?
First of all, you have to install the build dependencies just like you would for an XChat compilation. Package names differ across distros, so be creative and check your configure output if you get an error. Also most package-managers can get the dependencies for you:
HexChat has its source code hosted using Git, so you have to install Git as well. When it’s ready, you can start the actual compilation, which is basically:
git clone https://github.com/hexchat/hexchat.git cd hexchat ./autogen.sh ./configure make sudo make install
This will compile with defaults. See ./configure –help for more info about flags.
The theme manager isn’t built by default on Unix. To do so install MonoDevelop with your package manager of choice then run this:
cd hexchat/src/htm mdtool --verbose build htm-mono.csproj mono thememan.exe
Install Homebrew, then install all the build dependencies of HexChat such as GTK+. Be creative and check your configure output if you get an error.
Download the testing package which is prepared for Homebrew compilation (basically a clone of Git HEAD with ./autogen.sh ran on Debian 6). Extract it and run the following commands:
cd hexchat ./configure --disable-nls --disable-xlib --disable-perl make ./src/fe-gtk/hexchat
See ./configure –help for more info about flags.