Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954340 - sys-apps/flatpak-1.16.0: policykit USE flag was dropped while still optional
Summary: sys-apps/flatpak-1.16.0: policykit USE flag was dropped while still optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 17:37 UTC by Michel Ganguin
Modified: 2025-04-24 23:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch to add policykit USE flag (flatpak-without-polkit.patch,1.01 KB, patch)
2025-04-24 17:39 UTC, Michel Ganguin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Ganguin 2025-04-24 17:37:21 UTC
flatpak meson build shows optional policykit, but policykit USE was dropped in latest version 1.16.0.

Reproducible: Always

Steps to Reproduce:
1. ensure policykit is not installed
2. USE=-policykit emerge flatpak
Actual Results:  
pull policykit and enables it in the build system

Expected Results:  
Disable policykit support

The meson build system additionnally requires policykit for tests, when disabling them, flatpak can be built without policykit.
Comment 1 Michel Ganguin 2025-04-24 17:39:38 UTC
Created attachment 925990 [details, diff]
Ebuild patch to add policykit USE flag
Comment 2 Larry the Git Cow gentoo-dev 2025-04-24 23:25:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34573993e10934616abcf1c40dcc3e680332b75b

commit 34573993e10934616abcf1c40dcc3e680332b75b
Author:     Michel Ganguin <ganguin@gmail.com>
AuthorDate: 2025-04-24 23:21:35 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2025-04-24 23:25:01 +0000

    sys-apps/flatpak: Make policykit optional again
    
    Closes: https://bugs.gentoo.org/954340
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/flatpak/flatpak-1.16.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)