Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851549 - sys-block/gparted-1.4.0-r1 doesn't install org.gnome.gparted.policy file
Summary: sys-block/gparted-1.4.0-r1 doesn't install org.gnome.gparted.policy file
Status: RESOLVED DUPLICATE of bug 827884
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 13:05 UTC by Alexis
Modified: 2022-06-17 18:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis 2022-06-12 13:05:04 UTC
The ebuild for sys-block/gparted-1.4.0-r1 doesn't install the file 
'org.gnome.gparted.policy' even when the 'policykit' USE flag is enabled. The gparted README:

  https://github.com/GNOME/gparted

seems to suggest that upstream's 'install' make target doesn't automatically install this file, implying that the ebuild should manually install this file when appropriate.

Issue found via user report at:

  https://www.reddit.com/r/Gentoo/comments/va5lfj/gparted_issues/ic2o29m/
Comment 1 Matt Turner gentoo-dev 2022-06-17 18:55:18 UTC
Thanks!

I believe this is fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb73255629cc4999ff198fda276d593657609b8 (bug #827884).

You have to rebuild gparted after installing >=sys-auth/polkit-0.120_p20220221-r1. With that, I see the file installed by both versions of gparted in tree:

> /var/tmp/portage # find -name org.gnome.gparted.policy | grep image
> ./sys-block/gparted-1.4.0/image/usr/share/polkit-1/actions/org.gnome.gparted.policy
> ./sys-block/gparted-1.4.0-r1/image/usr/share/polkit-1/actions/org.gnome.gparted.policy

*** This bug has been marked as a duplicate of bug 827884 ***