Your message dated Sat, 17 Mar 2018 22:58:26 +0000
with message-id <[email protected]>
and subject line Bug#851516: fixed in gnome-packagekit 3.28.0-2
has caused the Debian Bug report #851516,
regarding gnome-packagekit: Also prefer update-manager if available
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 [email protected]
immediately.)


-- 
851516: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851516
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnome-packagekit
Version: 3.22.1-2
Severity: wishlist
Tags: patch

Ubuntu has one remaining diff for gnome-packagekit. Here's an updated
version of your prefer-software-properties.patch that should work for
both Debian and Ubuntu.

Also, you have an extra new line in your debian/patches/series .
Interestingly it causes 'gbp pq' to fail. I'll file a bug against
git-buildpackage for that.

Thanks,
Jeremy Bicha
From: Matthias Klumpp <[email protected]>
Date: Thu, 22 Dec 2016 18:10:24 +0100
Subject: Prefer software-properties-gtk and update-manager
 This patch makes GPK use software-properties-gtk instead of gpk-prefs and
 update-manager instead of gpk-update-viewer if the former is available on
 the system.

---
 src/gpk-application.c | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/gpk-application.c b/src/gpk-application.c
index b5b63db..48630c2 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -2202,12 +2202,18 @@ gpk_application_activate_sources_cb (GSimpleAction *action,
 	GpkApplicationPrivate *priv = user_data;
 	GtkWidget *window;
 	guint xid;
+	g_autofree gchar *exe = NULL;
 
 	/* get xid */
 	window = GTK_WIDGET (gtk_builder_get_object (priv->builder, "window_manager"));
 	xid = gdk_x11_window_get_xid (gtk_widget_get_window (window));
 
-	command = g_strdup_printf ("%s/gpk-prefs --parent-window %u", BINDIR, xid);
+	exe = g_strdup_printf ("%s/software-properties-gtk", BINDIR);
+	if (g_file_test (exe, G_FILE_TEST_IS_EXECUTABLE))
+		command = g_strdup_printf ("%s -nt %u", exe, xid);
+	else
+		command = g_strdup_printf ("%s/gpk-prefs --parent-window %u", BINDIR, xid);
+
 	g_debug ("running: %s", command);
 	ret = g_spawn_command_line_async (command, NULL);
 	if (!ret)
@@ -2923,7 +2929,10 @@ gpk_application_activate_updates_cb (GSimpleAction *action,
 	g_autofree gchar *command = NULL;
 	g_autoptr(GError) error = NULL;
 
-	command = g_build_filename (BINDIR, "gpk-update-viewer", NULL);
+	command = g_strdup_printf ("%s/update-manager", BINDIR);
+	if (!g_file_test (command, G_FILE_TEST_IS_EXECUTABLE))
+		command = g_build_filename (BINDIR, "gpk-update-viewer", NULL);
+
 	g_debug ("running: %s", command);
 	ret = g_spawn_command_line_async (command, &error);
 	if (!ret)
@@ -2999,7 +3008,9 @@ main (int argc, char *argv[])
 					 G_N_ELEMENTS (gpk_menu_app_entries),
 					 priv);
 
-	filename = g_build_filename (BINDIR, "gpk-update-viewer", NULL);
+	filename = g_strdup_printf ("%s/update-manager", BINDIR);
+	if (!g_file_test (filename, G_FILE_TEST_IS_EXECUTABLE))
+		filename = g_build_filename (BINDIR, "gpk-update-viewer", NULL);
 	if (!g_file_test (filename, G_FILE_TEST_IS_EXECUTABLE)) {
 		GAction *action = g_action_map_lookup_action (G_ACTION_MAP (priv->application), "updates");
 		g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);

--- End Message ---
--- Begin Message ---
Source: gnome-packagekit
Source-Version: 3.28.0-2

We believe that the bug you reported is fixed in the latest version of
gnome-packagekit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bicha <[email protected]> (supplier of updated gnome-packagekit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 17 Mar 2018 18:23:02 -0400
Source: gnome-packagekit
Binary: gnome-packagekit gnome-packagekit-data
Architecture: source
Version: 3.28.0-2
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klumpp <[email protected]>
Changed-By: Jeremy Bicha <[email protected]>
Description:
 gnome-packagekit - Graphical distribution neutral package manager for GNOME
 gnome-packagekit-data - Data files for GNOME-PackageKit
Closes: 851516
Changes:
 gnome-packagekit (3.28.0-2) unstable; urgency=medium
 .
   * Update 01_prefer-software-properties.patch to also prefer update-manager
     (Closes: #851516)
   * Drop obsolete Build-Depends
   * Build-depend on xvfb and xauth to run build tests
   * Simplify debian/rules
   * Use appstream-util appdata-to-news to install NEWS
   * Update Vcs fields for migration to https://salsa.debian.org/
   * Add myself to Uploaders
Checksums-Sha1:
 a8b073dc23a09a845a0ff58ceed626d87d305970 2367 gnome-packagekit_3.28.0-2.dsc
 0482349d1c4f112134f95013dc2099372dc31976 6164 
gnome-packagekit_3.28.0-2.debian.tar.xz
 5ef87a8471e47ce3f70734db5be084f266133790 16790 
gnome-packagekit_3.28.0-2_source.buildinfo
Checksums-Sha256:
 589656c836b107ab4ae1381b0d609adc35c42d84af312b5258449b06277918c1 2367 
gnome-packagekit_3.28.0-2.dsc
 3163d5ea1cb5f764bf4ce6e159e870def3750d3cb380fb037b5722d4a521ad4f 6164 
gnome-packagekit_3.28.0-2.debian.tar.xz
 10d852fa138034c489eaf5df942e8272d19be8322fbe7c2b9d9c221ad7a291cf 16790 
gnome-packagekit_3.28.0-2_source.buildinfo
Files:
 d8b2ff134f5cd3b80340853cd7c04754 2367 gnome optional 
gnome-packagekit_3.28.0-2.dsc
 dc92ffe972c1b6d188f002f3f927668d 6164 gnome optional 
gnome-packagekit_3.28.0-2.debian.tar.xz
 1170716166940c8992c66e4ed5f3c13b 16790 gnome optional 
gnome-packagekit_3.28.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAlqtlY8ACgkQ5mx3Wuv+
bH3j/xAAoh6tR/Mm0c1i9j+DKOqVkdGC3Lzmr0VukpOLOWCPWC4QYMyeej+beePb
b0cS7Tu7M5bzOlaXUU/K17uy5YM3mcny7N8Zb95CpYbcWY/HEIOblOaPmuM1yQt4
mQkhAjdlEC4Wbe3qgGOAABtR4BJPymrJv9oa0xxkrsGyJFLS7/jLa9YcshLIkDpz
te7agWWLXtXYa5ZaB762Bn2BMSOuSxPhwVZ7EYm9J1jRKQXboAfmPkhbO918SxNc
bNRPzchmT4a5EcAnTLrS/bkZWtka+0v+H95FiDGRf0wuxfsVuE8OBHOFPxtF9b+B
fWK/5nX/w64z7G5OWGslP00dM2WqJ7uS3nuLyQS4KaLxmpKhlWHaCA4RkY95ePUE
T7Uk9mm7NR965S5zQMYlA2l8gjFMiVjTeq7sVkCAZLSiPGH2J03YwtVL0himoSld
MKBWdYioFffUhmA3Z+WGaKYdNru5p56eRVMZkCBO5kuhGI2nI9Z3jZYGJgAied1p
iLUrUlhMB71SgmkA3WnV/kcc/b5f06dbt5Vo3gM8WOGWICiMrhQrxxInD/5f0C37
q1D+tozwJZJUwf28vlw9SYVuLAwTfdULoJXNVmni1h3IpOQGZXWCA2bA75oRKrz4
eI4aMyJwann+LGPfPllqtvI5U06Ple3ND6VY5ymXl4TOvU3mM54=
=LDol
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to