dlenski / gp-saml-gui

Interactively authenticate to GlobalProtect VPNs that require SAML
GNU General Public License v3.0
293 stars 66 forks source link

Include needed apt dependencies for ubuntu #81

Open MischaPanch opened 11 months ago

MischaPanch commented 11 months ago

On Ubuntu I had to install

sudo apt install libgirepository1.0-dev libcairo2-dev pkg-config python3-dev

before pip install of gp-saml-gui worked. That was needed for pycairo and pygobject. Could you include this in the readme?

dlenski commented 11 months ago

That was needed for pycairo and pygobject. Could you include this in the readme?

Hmmm… installing python3-gi (https://packages.ubuntu.com/search?keywords=python3-gi) should be sufficient to get the Ubuntu-distributed versions of pygobject. See https://packages.ubuntu.com/focal/amd64/python3-gi/filelist

As for pycairo… does gp-saml-gui actually need pycairo? How/why? :man_shrugging:

If pycairo is needed, then installing python3-gi-cairo (https://packages.ubuntu.com/search?keywords=python3-gi-ciaro) should get you pycairo. See https://packages.ubuntu.com/focal/amd64/python3-gi-cairo/filelist.