Summary: | gnome-extra/nm-applet-0.7.2 should DEPEND on gnome-extra/polkit-gnome, not gnome-extra/policykit-gnome? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sophie Tatch <tatch.m> |
Component: | New packages | Assignee: | Robert Piasek (RETIRED) <dagger> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | nirbheek, steev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sophie Tatch
2010-07-26 11:20:25 UTC
Could you please explain two things: 1) What the actual problem is (failing build log?). 2) What your solution is (I don't see an explanation of what you propose to change, just a DEPEND and RDEPEND list). I don't have the failing build log anymore... What happened is that the emerge of nm-applet failed to build and after I installed polkit-gnome it did emerge... So accidently I checked the ebuild, and saw that there wasn't a entry for the gnome-polkit... So I figured, with the RDEPEND, or DEPEND entry of polkit-gnome it would work... Thanks for the clarification. That we can put to the maintainers. nm-applet-0.7.2 uses policykit. Polkit is the rewrite of policykit, and nm-applet cannot possible use it since it was written before polkit was released. When I emerged it, polkit-gnome, it emerged just fine... Sophie (In reply to comment #5) > When I emerged it, polkit-gnome, it emerged just fine... > I just re-checked configure.ac, and it says the following: ----- #### PolicyKit checks; need at least 0.6 or later PKG_CHECK_EXISTS(polkit-gnome,[have_polkit_gnome=yes],[have_polkit_gnome=no]) if test x"$have_polkit_gnome" = "xyes"; then PKG_CHECK_MODULES(POLKIT, polkit-gnome) else PKG_CHECK_MODULES(POLKIT, [polkit >= 0.6]) PKG_CHECK_MODULES(POLKIT_DBUS, [polkit-dbus >= 0.6]) AC_DEFINE([NO_POLKIT_GNOME],[1],[Define if you don't have PolicyKit-gnome 0.7 or later]) fi AM_CONDITIONAL(NO_POLKIT_GNOME, test x"$have_polkit_gnome" = "xno") ----- Please note this snippet checks for "polkit-gnome.pc" (a pkgconfig file): PKG_CHECK_MODULES(POLKIT, polkit-gnome) This is provided by gnome-extra/policykit-gnome: # q files -e policykit-gnome | grep polkit-gnome.pc /usr/lib/pkgconfig/polkit-gnome.pc # *Not* gnome-extra/polkit-gnome: # q files -e polkit-gnome | grep polkit-gnome.pc # ---- Yes, the names are confusing (blame upstream for that), but configure.ac clearly says that it needs gnome-extra/policykit-gnome, not gnome-extra/polkit-gnome. Please understand that we can't make a change unless we understand *why* that change is required. Without a build.log, I cannot diagnose your nm-applet build failure and find out exactly *how* adding polkit-gnome to the RDEPEND list fixed the build failure. Thank you for filing the bug report, but unless you can reproduce the failure and past a build.log, my hands are tied. Also, if you're confused about the differences between policykit and polkit, please see http://dev.gentoo.org/~nirbheek/polkit/naming.html |