Commit graph

6 commits

Author SHA1 Message Date
Eelco Dolstra 56ea7df62d * Several buildInputs of Gnome-related packages should be
propagatedBuildInputs, because those inputs are required by the *.pc
  or *.la files of the package:

  - If a *.pc file references a non-propagated input, then Gnome
    packages have the bad tendency to silently ignore this problem in
    configure scripts - the failure of a command like `pkg-config
    --cflags foo' will be ignored if a dependency of foo.pc is
    missing, so no flags will be added, and the build will fail later
    on a missing header or library.

  - If a *.la file references a non-propagated input, the build will
    also fail, because Libtool will add library dependencies that it
    cannot find.  (Arguably *.la files should never reference packages
    that aren't in the corresponding *.pc file, but they do it
    anyway).

  By setting the propagatedBuildInputs properly, it should be possible
  to get rid of all the NIX_CFLAGS_COMPILE / NIX_LDFLAGS hacks in the
  Gnome expressions.

svn path=/nixpkgs/branches/xorg-7.5/; revision=18084
2009-11-03 23:26:14 +00:00
Michael Raskin edbbddce1d A case study in transitive overrides. WebKit needs fresh glib. This means it needs a whole slice of system built against glib-2.22.. Added overrides are generic enough, though. So the same way can be used to override everything. I have failed (so far?) to add mkOverridable into stdenv, though.
svn path=/nixpkgs/trunk/; revision=17661
2009-10-06 05:43:51 +00:00
Eelco Dolstra d568a59c86 * PolicyKit: install the manpages.
svn path=/nixpkgs/trunk/; revision=17440
2009-09-26 10:43:41 +00:00
Eelco Dolstra 7638cc573e * Read policy files from /etc/PolicyKit/policy instead of
$out/share/PolicyKit/policy - otherwise we can't let PolicyKit find
  the policies of other packages (such as HAL).

svn path=/nixpkgs/trunk/; revision=17438
2009-09-26 10:29:57 +00:00
Eelco Dolstra c07380798c * Use /etc/PolicyKit/PolicyKit.conf.
svn path=/nixpkgs/trunk/; revision=17435
2009-09-25 23:57:33 +00:00
Eelco Dolstra 7dd58cda98 * Sigh. For PolicyKit, follow the upstream names, otherwise I'll get
a headache.  "polkit" is the new, unstable release series.
  "policykit" is the old series.  (See
  http://lists.freedesktop.org/archives/polkit-devel/2009-February/000106.html
  for an "explanation" of the name change.)  It seems that for HAL we
  need to revert to the old "policykit", since it doesn't compile
  against "polkit".

svn path=/nixpkgs/trunk/; revision=17425
2009-09-25 20:06:36 +00:00