Merge branch 'staging-next'

It's not perfect, but I think we can deal with the rest of the
regressions directly on master, so that this process does not stall.
This commit is contained in:
Vladimír Čunát
2019-10-13 15:50:37 +02:00
220 changed files with 3185 additions and 2178 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups }:
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups, fetchpatch }:
stdenv.mkDerivation rec {
version = "0.2.6";
@@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ glib polkit cups ];
patches = [
# Don't use etc/dbus-1/system.d
(fetchpatch {
url = "https://gitlab.freedesktop.org/cups-pk-helper/cups-pk-helper/merge_requests/2.patch";
sha256 = "1kamhr5kn8c1y0q8xbip0fgr7maf3dyddlvab4n0iypk7rwwikl0";
})
];
meta = with stdenv.lib; {
description = "PolicyKit helper to configure cups with fine-grained privileges";
homepage = http://www.freedesktop.org/wiki/Software/cups-pk-helper/;

View File

@@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
] ++ optionals stdenv.isLinux [
"--enable-dbus"
"--enable-pam"
"--with-dbusdir=${placeholder "out"}/share/dbus-1"
] ++ optional (libusb != null) "--enable-libusb"
++ optional (gnutls != null) "--enable-ssl"
++ optional (avahi != null) "--enable-avahi"
@@ -81,7 +82,6 @@ stdenv.mkDerivation rec {
"STATEDIR=$(TMPDIR)/dummy"
# Idem for /etc.
"PAMDIR=$(out)/etc/pam.d"
"DBUSDIR=$(out)/etc/dbus-1"
"XINETD=$(out)/etc/xinetd.d"
"SERVERROOT=$(out)/etc/cups"
# Idem for /usr.