How to setup a build environment for Pidgin IM 3.0 on a virgin debian bullseye system:
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
See:
- Website for Pidgin IM: https://www.pidgin.im/
- Current source code repo: https://keep.imfreedom.org/pidgin/pidgin/
- Old dev page: https://developer.pidgin.im/wiki/UsingPidginMercurial
As of: 2023-01-14
Requires:
- Mercurial ( SCM )
- Meson >= 0.58.0 ( Build system )
- Python >= 3.7 ( Framework )
- Ninja >= 1.8.2 ( Build tool )
Mercurial can be installed from the apt repo:
sudo apt-get install -- mercurial pip gettext pkg-config
Meson needs a newer version, only available via pip:
python3 -m pip install meson
python3 -m pip install ninja
The pidgin meson build script also requires:
- Gettext
- Pkg-config
- libglib2.0-dev >= 2.70.0
STOP: libglib2.0-dev version in apt repo is only 2.66.8 TODO: find easiest / best way to upgrade this (alterntive repo, from source, etc.)
Clone the source repo:
hg clone https://keep.imfreedom.org/pidgin/pidgin pidgin
Run meson:
cd pidgin export "PATH=$PATH:/home/helamonster/.local/bin" meson setup build
Build with ninja:
cd build
ninja
Install with Ninja:
ninja install
Breathe.