[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1025559: fwupd: dependency on transitional policykit-1 package



Control: tags -1 + patch

On Tue, 06 Dec 2022 at 13:22:40 +0000, Simon McVittie wrote:
> This package has a Depends and/or Build-Depends on the transitional
> package policykit-1, which has been separated into polkitd, pkexec and
> (deprecated) polkitd-pkla packages.

This package doesn't seem to use pkexec, so please consider the attached
patch, also available as
<https://salsa.debian.org/efi-team/fwupd/-/merge_requests/10>.

It compiles successfully but I have not otherwise tested it.

According to diffoscope, the only differences in the built binary packages
as a result of this change seem to be build paths and Build-IDs.

Thanks,
    smcv
>From 03db339d5bffb44460b4c29fa83a6ffb480e0c09 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Wed, 2 Aug 2023 15:27:55 +0100
Subject: [PATCH] d/control, d/control.in: Use polkitd instead of transitional
 policykit-1

Closes: #1025559
---
 debian/control    | 4 ++--
 debian/control.in | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index c3fb4c313..f0bc2cb75 100644
--- a/debian/control
+++ b/debian/control
@@ -55,7 +55,7 @@ Build-Depends:
 	mingw-w64-tools [amd64 arm64 armhf i386],
 	pandoc,
 	pkg-config,
-	policykit-1 (>> 0.105-14),
+	polkitd,
 	protobuf-c-compiler,
 	python3-gi-cairo,
 	python3-jinja2,
@@ -136,7 +136,7 @@ Depends: ${misc:Depends},
          dbus-x11,
          fwupd,
          gnome-desktop-testing,
-         policykit-1,
+         polkitd,
          python3,
          python3-gi,
          python3-requests,
diff --git a/debian/control.in b/debian/control.in
index 85d1af4b4..ad7af9786 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -72,7 +72,7 @@ Depends: ${misc:Depends},
          dbus-x11,
          fwupd,
          gnome-desktop-testing,
-         policykit-1,
+         polkitd,
          python3,
          python3-gi,
          python3-requests,
@@ -137,4 +137,4 @@ Description: GObject introspection data for libfwupd
  This package provides the introspection data for libfwupd.
  .
  It can be used by packages using the GIRepository format to generate
- dynamic bindings.
\ No newline at end of file
+ dynamic bindings.
-- 
2.40.1


Reply to: