cups-pk-helper: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should go in share/dbus-1/system.d. The old location is for sysadmin overrides.
This commit is contained in:
parent
271c4b16e9
commit
8e69437fee
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups }:
|
{ stdenv, fetchurl, intltool, pkgconfig, glib, polkit, cups, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2.6";
|
version = "0.2.6";
|
||||||
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool ];
|
||||||
buildInputs = [ glib polkit cups ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "PolicyKit helper to configure cups with fine-grained privileges";
|
description = "PolicyKit helper to configure cups with fine-grained privileges";
|
||||||
homepage = http://www.freedesktop.org/wiki/Software/cups-pk-helper/;
|
homepage = http://www.freedesktop.org/wiki/Software/cups-pk-helper/;
|
||||||
|
Loading…
Reference in New Issue
Block a user