Skip to content

Instantly share code, notes, and snippets.

@helamonster
Created January 14, 2023 16:09
Show Gist options
  • Save helamonster/753977fb80aeadc83ca90a039c599ffb to your computer and use it in GitHub Desktop.
Save helamonster/753977fb80aeadc83ca90a039c599ffb to your computer and use it in GitHub Desktop.
Pidgin IM 3.0 Debian Build Environment (WIP)

Pidgin IM 3.0 Debian Build Environment (WIP)

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment