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

Bug#856401: marked as done (unblock: gnome-power-manager/3.22.2-2)



Your message dated Tue, 28 Feb 2017 16:55:54 +0000
with message-id <E1cil46-0006ja-JW@respighi.debian.org>
and subject line unblock gnome-power-manager
has caused the Debian Bug report #856401,
regarding unblock: gnome-power-manager/3.22.2-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
856401: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856401
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hi,

Please unblock package gnome-power-manager

With the current version in testing, (3.22.2-1) the application is not
being associated properly with the .desktop file meaning that its icon
and name are not properly set in the gnome-shell top bar.

The attached patch (already pushed upstream) fixes this by setting the
application id to the desktop file name

unblock gnome-power-manager/3.22.2-2

Regards,

Laurent Bigonville

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru gnome-power-manager-3.22.2/debian/changelog gnome-power-manager-3.22.2/debian/changelog
--- gnome-power-manager-3.22.2/debian/changelog	2016-11-08 16:04:50.000000000 +0100
+++ gnome-power-manager-3.22.2/debian/changelog	2017-02-23 16:37:20.000000000 +0100
@@ -1,3 +1,12 @@
+gnome-power-manager (3.22.2-2) unstable; urgency=medium
+
+  * d/p/0001-Rename-the-application-id-passed-to-the-gtk_applicat.patch: Fix
+    the program name so it matches the .desktop file
+  * debian/control.in: Drop the Suggests against policykit-1, pkexec is not
+    used anymore.
+
+ -- Laurent Bigonville <bigon@debian.org>  Thu, 23 Feb 2017 16:37:20 +0100
+
 gnome-power-manager (3.22.2-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru gnome-power-manager-3.22.2/debian/control gnome-power-manager-3.22.2/debian/control
--- gnome-power-manager-3.22.2/debian/control	2016-11-08 16:04:50.000000000 +0100
+++ gnome-power-manager-3.22.2/debian/control	2017-02-23 16:37:20.000000000 +0100
@@ -6,7 +6,7 @@
 Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
-Uploaders: Andreas Henriksson <andreas@fatal.se>, Michael Biebl <biebl@debian.org>
+Uploaders: Andreas Henriksson <andreas@fatal.se>, Laurent Bigonville <bigon@debian.org>, Michael Biebl <biebl@debian.org>
 Build-Depends: debhelper (>= 10),
                gnome-pkg-tools (>= 0.10),
                autoconf-archive,
@@ -32,7 +32,6 @@
          default-dbus-session-bus | dbus-session-bus,
          upower (>= 0.99),
          gnome-settings-daemon (>= 3.2)
-Suggests: policykit-1
 Description: power management tool for the GNOME desktop
  GNOME Power Manager is a session daemon for the GNOME desktop
  that takes care of system or desktop events related to power, and
diff -Nru gnome-power-manager-3.22.2/debian/control.in gnome-power-manager-3.22.2/debian/control.in
--- gnome-power-manager-3.22.2/debian/control.in	2016-09-19 23:18:48.000000000 +0200
+++ gnome-power-manager-3.22.2/debian/control.in	2017-02-23 16:37:20.000000000 +0100
@@ -28,7 +28,6 @@
          default-dbus-session-bus | dbus-session-bus,
          upower (>= 0.99),
          gnome-settings-daemon (>= 3.2)
-Suggests: policykit-1
 Description: power management tool for the GNOME desktop
  GNOME Power Manager is a session daemon for the GNOME desktop
  that takes care of system or desktop events related to power, and
diff -Nru gnome-power-manager-3.22.2/debian/patches/0001-Rename-the-application-id-passed-to-the-gtk_applicat.patch gnome-power-manager-3.22.2/debian/patches/0001-Rename-the-application-id-passed-to-the-gtk_applicat.patch
--- gnome-power-manager-3.22.2/debian/patches/0001-Rename-the-application-id-passed-to-the-gtk_applicat.patch	1970-01-01 01:00:00.000000000 +0100
+++ gnome-power-manager-3.22.2/debian/patches/0001-Rename-the-application-id-passed-to-the-gtk_applicat.patch	2017-02-23 16:35:12.000000000 +0100
@@ -0,0 +1,31 @@
+From 9c91bf6ed47265466f06677fddb1940bebfd6e9e Mon Sep 17 00:00:00 2001
+From: Laurent Bigonville <bigon@bigon.be>
+Date: Mon, 20 Feb 2017 11:15:48 +0100
+Subject: [PATCH] Rename the application id passed to the gtk_application_new()
+ function
+
+The application id and the desktop file need to match, rename the
+application id here instead of renaming all the other icon and .desktop
+files
+
+https://bugzilla.gnome.org/show_bug.cgi?id=778945
+---
+ src/gpm-statistics.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
+index b10a9004..ab970fab 100644
+--- a/src/gpm-statistics.c
++++ b/src/gpm-statistics.c
+@@ -1923,7 +1923,7 @@ main (int argc, char *argv[])
+ 	settings = g_settings_new (GPM_SETTINGS_SCHEMA);
+ 
+ 	/* are we already activated? */
+-	application = gtk_application_new ("org.gnome.PowerManager.Statistics",
++	application = gtk_application_new ("org.gnome.PowerStats",
+ 					   G_APPLICATION_HANDLES_COMMAND_LINE);
+ 	g_signal_connect (application, "startup",
+ 			  G_CALLBACK (gpm_stats_startup_cb), NULL);
+-- 
+2.11.0
+
diff -Nru gnome-power-manager-3.22.2/debian/patches/series gnome-power-manager-3.22.2/debian/patches/series
--- gnome-power-manager-3.22.2/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ gnome-power-manager-3.22.2/debian/patches/series	2017-02-23 16:36:19.000000000 +0100
@@ -0,0 +1 @@
+0001-Rename-the-application-id-passed-to-the-gtk_applicat.patch

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: