You are not logged in.

#1 2015-05-16 23:09:05

yuvadm
Member
From: Tel Aviv-Jaffa, Israel
Registered: 2012-08-08
Posts: 102
Website

Polkit dependencies

What's the right way to package software that requires a running Polkit?

How do I state the dependency given that each DE has it's own implementation? How do I deal with WMs that don't have any existing polkit processes running?

My initial thought was to use lxpolkit (from the lxsession package) since it's the most lightweight, and provide a lxpolkit.service with my package, that users should start and possibly enable before running the original software.

Offline

#2 2015-05-16 23:29:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: Polkit dependencies

I'd add polkit to the depends, and make an install file that prints out the need for a polkit agent, linking to the wiki page.

If you're adventurous, add the existing polkit agents to the optdepends array, and add any new ones that pop up as and when you discover them.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB