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

2024-01-29 Thread Diederik de Haas
On Wed, 2 Aug 2023 16:44:39 +0100 Simon McVittie  wrote:
> Control: tags -1 + patch
> 
> On Tue, 06 Dec 2022 at 13:22:40 +, 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
> .

This MR was merged and AFAICT uploaded with version 1.9.7-1, so this bug
can/should be closed with that version?


signature.asc
Description: This is a digitally signed message part.


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

2023-08-02 Thread Simon McVittie
Control: tags -1 + patch

On Tue, 06 Dec 2022 at 13:22:40 +, 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
.

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 
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



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

2022-12-06 Thread Simon McVittie
Source: fwupd
Version: 1.8.6-2
Severity: normal
User: pkg-utopia-maintain...@lists.alioth.debian.org
Usertags: policykit-1
Control: block 1025540 by -1

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.

If this package communicates with polkitd via D-Bus, please represent that
as a Depends, Recommends or Suggests on polkitd, whichever is appropriate
for the strength of the requirement.

If this package runs /usr/bin/pkexec, please represent that as a Depends,
Recommends or Suggests on pkexec, whichever is appropriate for the strength
of the requirement.

If this package requires polkit at build-time (usually for the gettext
extensions polkit.its and polkit.loc), please build-depend on both
libpolkit-gobject-1-dev and polkitd, even if the package does not
actually depend on libpolkit-gobject-1 at runtime. This is because
the gettext extensions are currently in polkitd, but might be moved to
libpolkit-gobject-1-dev in future (see #955204). pkexec is usually not
required at build-time.

For packages that are expected to be backported to bullseye, it's OK to
use an alternative dependency: polkitd | policykit-1 and/or
pkexec | policykit-1.

This is part of a mass bug filing, see
.

Thanks,
smcv