[PATCH] PolicyKit-gnome: do not depend on polkit-policy-file-validate

Doug Goldstein cardoe at gentoo.org
Thu Sep 20 06:59:40 PDT 2007


Michael Biebl wrote:
> Hi,
>
> the configure script of PolicyKit-gnome checks for the
> polkit-policy-file-validate binary. Imho this check is superfluous and
> has the downside that it requires the PolicyKit package (+ its
> dependencies) to be installed on the build systems.
>
> Thus I propose to remove this check from configure.ac. The attached
> patch does that.
>
> Cheers,
> Michael
>   
> ------------------------------------------------------------------------
It's not superfluous since it's actually used in the Makefiles. So now
without this check, if you run "make check", and you don't have the
binary it will bomb for you. While the program is not necessary for
"make && make install", it doesn't mean it's not a dependency.

The tool is used to validate that the installed files are proper and
functional. Many packagers like to run a package's "make check" step
before building up the package.


More information about the hal mailing list