Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509086 - mate-extra/mate-polkit: lastrite in favour of gnome-extra/polkit-gnome after fixing revdeps to link against proper libpolkit-gtk
Summary: mate-extra/mate-polkit: lastrite in favour of gnome-extra/polkit-gnome after ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL: https://github.com/mate-desktop/mate-...
Whiteboard: Use 'sys-auth/polkit -gtk' in /etc/po...
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2014-04-29 15:49 UTC by Bradley Broom
Modified: 2014-04-30 14:20 UTC (History)
0 users

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 Bradley Broom 2014-04-29 15:49:59 UTC
sys-auth/polkit requires polkit-gnome if the gtk use flag is specified, even if mate-polkit is present on the system.  Either should be sufficient.


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2014-04-30 06:16:44 UTC
CCing mate maintainer to confirm they are drop-in replacements. Also, I guess Tom should be in freedesktop mail alias too as kde/gnome/xfce... ;)
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-04-30 07:36:18 UTC
Yes, it is a fork and thus should be able to be used as a drop-in replacement.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-04-30 12:21:45 UTC
Is it a real fork or just some renaming like was done for another gtk agent that ssuominen (if I remember correctly) removed not so long ago ?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-04-30 12:51:17 UTC
(In reply to Gilles Dartiguelongue from comment #3)
> Is it a real fork or just some renaming like was done for another gtk agent
> that ssuominen (if I remember correctly) removed not so long ago ?

It'a a pointless rename like lxpolkit (or xfpolkit which was once written, but deleted, after upstream was made aware polkit-gnome is GTK+ toolkit, not gnome library dependant -only)

It's freakily forked out for GNOME 2.x (that's now MATE) because also the libpolkit-gtk library we have in gnome-extra/polkit-gnome:obsolete SLOT, was also renamed to something like libpolkit-mate-gtk and then that library started to be used for eg. mate-system-tools

As I explained to TomWij when he was adding this package, it would only be until he finds the reasonable time to swap the linking against the old polkit GTK+ library in the reverse dependencies, like mate-system-tools, against the unrenamed libraries from gnome-extra/polkit-gnome:obsolete

As in...

1. Fix reverse deps to link against the library from polkit-gnome:obsolete instead of the renamed pointless mate library
2. Delete NotShowIn=MATE; from polkit-gnome's .desktop file to make the agent ran also when MATE is launched
3. Remove mate-polkit from tree accordingly

Anyways, since the .desktop file of mate-polkit is OnlyShowIn=MATE;, this is not a viable GTK+ agent, and doesn't belong to || ( ) of polkit's ebuild
This situation is temporary, and fixable by the MATE maintainers
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-04-30 14:13:07 UTC
Bradley, please follow what was written in the Whiteboard field:

    Use 'sys-auth/polkit -gtk' in /etc/portage/package.use ...

As for an actual resolution, upstream will eventually do this at some point:

2014-03-01 15:21:25     TomWij  I had one question for you wrt mate-polkit:
2014-03-01 15:21:59     TomWij  What does this fork provide on top of polkit-gnome (or similar other polkit agents)?
2014-03-01 15:23:19     TomWij  Someone pinged me about that, asking why I add another polkit agent clone; then we looked at it together and we saw there was a library, I suppose that reverse dependencies link to that library and need some extra functionality from it that other polkit agents don't provide?
2014-03-01 15:25:17     stefano-k       well... it provides polkit for MATE apps, because they arent the GNOME ones now, different names
2014-03-01 15:26:09     TomWij  This has its importance in determining if mate-polkit can be used in other DEs as well as that polkit-gnome from other DEs can be used in MATE; currently we've set that other polkits are unavailable in MATE and I've seen in the .desktop that mate-polkit only is set to show in MATE.
2014-03-01 15:26:24     TomWij  But also in keeping an extra package out of the Portage tree is possible.
2014-03-01 15:26:26     TomWij  if*
2014-03-01 15:27:12     stefano-k       well... we are really interested in drop every package that can be replaced... so you're right... I should check if we could use gnome-polkit with eventual changes
2014-03-01 15:27:20     stefano-k       the fact is the first MATE developer forked everything
2014-03-01 15:27:50     stefano-k       but now GNOME devs are allowing us to implement changes to use their apps/libraries in MATE to drop useless forks

As this is a temporary situation upstream, there is nothing for us to do now.