Hello community, here is the log from the commit of package gnome-packagekit for openSUSE:Factory checked in at 2016-09-21 18:36:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-packagekit (Old) and /work/SRC/openSUSE:Factory/.gnome-packagekit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-packagekit" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-packagekit/gnome-packagekit.changes 2016-08-31 00:03:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-packagekit.new/gnome-packagekit.changes 2016-09-21 18:36:10.000000000 +0200 @@ -1,0 +2,68 @@ +Mon Sep 19 15:24:19 UTC 2016 - [email protected] + +- Update to version 3.22.0: + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 16 07:45:16 UTC 2016 - [email protected] + +- Run spec-clean: Modernize macros, add pkgconfig BuildRequires, + and generally clean up spec. +- Stop passing V=1 to make, we do debugging locally. +- Conditionally apply translations-update-upstream BuildRequires + and macro for non-openSUSE only. + +------------------------------------------------------------------- +Wed Sep 14 07:52:03 UTC 2016 - [email protected] + +- Update to version 3.21.92: + + Updated translations. + +------------------------------------------------------------------- +Thu Sep 8 14:40:28 UTC 2016 - [email protected] + +- Re-enable and rebase gnome-packagekit-displaysize.patch. + +------------------------------------------------------------------- +Wed Sep 7 20:31:28 UTC 2016 - [email protected] + +- Rebased bnc-946886-install-signatures-in-viewer.patch. + +------------------------------------------------------------------- +Tue Aug 30 10:42:12 UTC 2016 - [email protected] + +- Update to version 3.21.91: + + Re-instate the gpk-application app-menu (bgo#769931). + + Don't use the deprecated GNOME_COMPILE_WARNINGS. + + Remove duplicate prototypes for _get_type(). + + Ensure gpk-application gets the warning flags set. + + Updated translations. + +------------------------------------------------------------------- +Wed Aug 17 09:43:15 UTC 2016 - [email protected] + +- Update to version 3.21.90: + + Use new-style application IDs for flatpak. + + Remove the broken markdown parsing module. + + Updated translations. + +------------------------------------------------------------------- +Mon Aug 15 11:14:46 UTC 2016 - [email protected] + +- Update to version 3.21.4: + + Depend on a non-obsolete PackageKit version. + + Remove some unused API. + + Remove unused animations. + + Remove unused functionality. + + Use new-style application IDs for flatpak. + + Updated translations. +- Replace PackageKit-devel BuildRequires with + pkgconfig(packagekit-glib2), matching what configure looks for. +- Rebase patches: + + gnome-packagekit-OnlyShowIn.patch + + bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch + + bnc#939278-gnome-packagekit-asks-for-reboot-password-too-early.patch +- Disabled bnc-946886-install-signatures-in-viewer.patch: patch + needs rebase. + +------------------------------------------------------------------- Old: ---- gnome-packagekit-3.20.0.tar.xz New: ---- gnome-packagekit-3.22.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-packagekit.spec ++++++ --- /var/tmp/diff_new_pack.IN7dWz/_old 2016-09-21 18:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.IN7dWz/_new 2016-09-21 18:36:11.000000000 +0200 @@ -18,22 +18,21 @@ # Easy switching on/off of systemd integration %define with_systemd 1 - Name: gnome-packagekit -Version: 3.20.0 +Version: 3.22.0 Release: 0 Summary: Applications for the PackageKit API License: GPL-2.0+ Group: System/GUI/GNOME Url: http://packagekit.org/ -Source: http://download.gnome.org/sources/gnome-packagekit/3.20/%{name}-%{version}.tar.xz -# PATCH-FIX-OPENSUSE gnome-packagekit-displaysize.patch [email protected] -- Never expand over 90% of the screen size, +Source: http://download.gnome.org/sources/gnome-packagekit/3.22/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gnome-packagekit-displaysize.patch bgo#770640 [email protected] -- Never expand over 90% of the screen size, Patch0: gnome-packagekit-displaysize.patch # PATCH-FEATURE-OPENSUSE -- Only show gnome-packagekit in gnome. Patch1: gnome-packagekit-OnlyShowIn.patch # PATCH-FIX-SLED bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch [email protected] -- Restart gpk-update-viewer after certain update. Patch2: bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch -# PATCH-FIX-UPSTREAM bnc-946886-install-signatures-in-viewer.patch bsc#946886 [email protected] -- install signatures in gpk-update-viewer if needed. +# PATCH-FIX-UPSTREAM bnc-946886-install-signatures-in-viewer.patch bsc#946886 [email protected] -- install signatures in gpk-update-viewer if needed Patch3: bnc-946886-install-signatures-in-viewer.patch # PATCH-FIX-SLED bnc#939278-gnome-packagekit-asks-for-reboot-password-too-early.patch [email protected] -- Fixed asks for passwd too early. Patch4: bnc#939278-gnome-packagekit-asks-for-reboot-password-too-early.patch @@ -43,7 +42,7 @@ BuildRequires: gettext-devel BuildRequires: gnome-menus-devel BuildRequires: intltool -BuildRequires: translation-update-upstream +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: yelp-tools BuildRequires: pkgconfig(dbus-1) @@ -52,16 +51,20 @@ BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(libnotify) -%if %{with_systemd} -BuildRequires: pkgconfig(libsystemd-login) -BuildRequires: pkgconfig(polkit-gobject-1) -%endif +BuildRequires: pkgconfig(packagekit-glib2) >= 0.9.1 Recommends: %{name}-lang Provides: opensuse-updater-gnome = 0.4.7 Obsoletes: opensuse-updater-gnome < 0.4.7 Provides: org.freedesktop.PackageKit.service BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires +%if !0%{?is_opensuse} +BuildRequires: translation-update-upstream +%endif +%if %{with_systemd} +BuildRequires: pkgconfig(libsystemd-login) +BuildRequires: pkgconfig(polkit-gobject-1) +%endif %description GNOME PackageKit provides session applications for the PackageKit API. @@ -82,11 +85,13 @@ YaST Software Management. %lang_package + %prep %setup -q +%if !0%{?is_opensuse} translation-update-upstream -# Disabled as a test, I suspect upstream solved the issue an other way. -#%%patch0 -p1 +%endif +%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -98,21 +103,18 @@ --enable-systemd \ %endif %{nil} -make %{?_smp_mflags} V=1 +make %{?_smp_mflags} %install %make_install %find_lang %{name} %{?no_lang_C} -%suse_update_desktop_file gpk-application +%suse_update_desktop_file org.gnome.Packages # gpk-install-local-file is no longer part of gpk, see boo#941862 rm %{buildroot}%{_datadir}/applications/gpk-install-local-file.desktop #suse_update_desktop_file gpk-install-local-file %suse_update_desktop_file gpk-log Settings %suse_update_desktop_file gpk-prefs X-GNOME-SystemSettings -%suse_update_desktop_file gpk-update-viewer - -%clean -rm -rf %{buildroot} +%suse_update_desktop_file org.gnome.PackageUpdater %post %desktop_database_post @@ -139,21 +141,13 @@ %dir %{_datadir}/GConf/gsettings %{_datadir}/GConf/gsettings/org.gnome.packagekit.gschema.migrate %dir %{_datadir}/appdata -%{_datadir}/appdata/gpk-update-viewer.appdata.xml +%{_datadir}/appdata/org.gnome.PackageUpdater.appdata.xml # do not ship dysfunctional handler for x-rpm mime type #{_datadir}/applications/gpk-install-local-file.desktop %{_datadir}/applications/gpk-prefs.desktop -%{_datadir}/applications/gpk-update-viewer.desktop +%{_datadir}/applications/org.gnome.PackageUpdater.desktop %{_datadir}/glib-2.0/schemas/org.gnome.packagekit.gschema.xml %dir %{_datadir}/gnome-packagekit -%{_datadir}/gnome-packagekit/gpk-client.ui -%{_datadir}/gnome-packagekit/gpk-error.ui -%{_datadir}/gnome-packagekit/gpk-eula.ui -# gpk-log.ui is actually used by other apps -%{_datadir}/gnome-packagekit/gpk-log.ui -%{_datadir}/gnome-packagekit/gpk-prefs.ui -%{_datadir}/gnome-packagekit/gpk-signature.ui -%{_datadir}/gnome-packagekit/gpk-update-viewer.ui %{_datadir}/gnome-packagekit/icons/ %{_datadir}/icons/hicolor/*/apps/gpk-*.* %{_datadir}/icons/hicolor/*/mimetypes/application-*.* @@ -161,15 +155,15 @@ %{_mandir}/man1/gpk-update-viewer.1%{?ext_man} %files lang -f %{name}.lang +%defattr(-,root,root) %files extras %defattr(-, root, root) %{_bindir}/gpk-application %{_bindir}/gpk-log -%{_datadir}/appdata/gpk-application.appdata.xml -%{_datadir}/applications/gpk-application.desktop +%{_datadir}/appdata/org.gnome.Packages.appdata.xml +%{_datadir}/applications/org.gnome.Packages.desktop %{_datadir}/applications/gpk-log.desktop -%{_datadir}/gnome-packagekit/gpk-application.ui %{_mandir}/man1/gpk-application.1%{?ext_man} %{_mandir}/man1/gpk-log.1%{?ext_man} ++++++ bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch ++++++ --- /var/tmp/diff_new_pack.IN7dWz/_old 2016-09-21 18:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.IN7dWz/_new 2016-09-21 18:36:11.000000000 +0200 @@ -1,7 +1,8 @@ -diff -urp gnome-packagekit-3.20.0.orig/src/gpk-update-viewer.c gnome-packagekit-3.20.0/src/gpk-update-viewer.c ---- gnome-packagekit-3.20.0.orig/src/gpk-update-viewer.c 2015-08-19 07:49:32.000000000 -0500 -+++ gnome-packagekit-3.20.0/src/gpk-update-viewer.c 2016-04-13 15:42:44.669318353 -0500 -@@ -220,7 +220,17 @@ gpk_update_viewer_check_restart (void) +Index: gnome-packagekit-3.21.4/src/gpk-update-viewer.c +=================================================================== +--- gnome-packagekit-3.21.4.orig/src/gpk-update-viewer.c ++++ gnome-packagekit-3.21.4/src/gpk-update-viewer.c +@@ -209,7 +209,17 @@ gpk_update_viewer_check_restart (void) message = _("Some of the updates that were installed require you to log out and back in before the changes will be applied."); /* TRANSLATORS: the button text for the log out */ button = _("Log Out"); @@ -20,8 +21,8 @@ } else if (restart_update == PK_RESTART_ENUM_SECURITY_SESSION) { /* TRANSLATORS: the message text for the log out */ message = _("Some of the updates that were installed require you to log out and back in to remain secure."); -@@ -273,6 +283,21 @@ gpk_update_viewer_check_restart (void) - g_error_free (error); +@@ -261,6 +271,21 @@ gpk_update_viewer_check_restart (void) + gpk_update_viewer_error_dialog (_("Could not restart"), NULL, error->message); } #endif + } else if (restart_update == PK_RESTART_ENUM_APPLICATION) { @@ -40,9 +41,9 @@ + /* needed to force gpk-update-viewer to quit */ + ret = FALSE; } - out: return ret; -@@ -461,6 +486,7 @@ gpk_update_viewer_update_packages_cb (Pk + } +@@ -432,6 +457,7 @@ gpk_update_viewer_update_packages_cb (Pk /* check restart */ if (restart_update == PK_RESTART_ENUM_SYSTEM || restart_update == PK_RESTART_ENUM_SESSION || @@ -50,7 +51,7 @@ restart_update == PK_RESTART_ENUM_SECURITY_SESSION || restart_update == PK_RESTART_ENUM_SECURITY_SYSTEM) { gpk_update_viewer_check_restart (); -@@ -2066,6 +2092,10 @@ gpk_update_viewer_populate_details (PkUp +@@ -1803,6 +1829,10 @@ gpk_update_viewer_populate_details (PkUp /* TRANSLATORS: reboot required */ gtk_text_buffer_insert_with_tags_by_name (text_buffer, &iter, _("The computer will have to be restarted after the update for the changes to take effect."), -1, "para", NULL); gtk_text_buffer_insert (text_buffer, &iter, "\n", -1); ++++++ bnc#939278-gnome-packagekit-asks-for-reboot-password-too-early.patch ++++++ --- /var/tmp/diff_new_pack.IN7dWz/_old 2016-09-21 18:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.IN7dWz/_new 2016-09-21 18:36:11.000000000 +0200 @@ -1,40 +1,56 @@ -Index: gnome-packagekit-3.10.1/src/systemd-proxy.c +Index: gnome-packagekit-3.21.4/src/systemd-proxy.c =================================================================== ---- gnome-packagekit-3.10.1.orig/src/systemd-proxy.c -+++ gnome-packagekit-3.10.1/src/systemd-proxy.c -@@ -63,27 +63,6 @@ systemd_proxy_can_restart (SystemdProxy +--- gnome-packagekit-3.21.4.orig/src/systemd-proxy.c ++++ gnome-packagekit-3.21.4/src/systemd-proxy.c +@@ -63,10 +63,17 @@ systemd_proxy_can_restart (SystemdProxy gboolean *can_restart, GError **error) { -- PolkitAuthorizationResult *res; -- GError *local_error = NULL; -- ++ return TRUE; ++} ++ ++gboolean ++systemd_proxy_restart (SystemdProxy *proxy, ++ GError **error) ++{ + PolkitAuthorizationResult *res; ++ GDBusConnection *bus; + GError *local_error = NULL; + - *can_restart = FALSE; -- res = polkit_authority_check_authorization_sync (proxy->authority, -- proxy->subject, -- SYSTEMD_REBOOT_ACTION, -- NULL, -- POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION, -- NULL, -- &local_error); -- if (res == NULL) { -- g_propagate_error (error, local_error); -- return FALSE; -- } -- + res = polkit_authority_check_authorization_sync (proxy->authority, + proxy->subject, + SYSTEMD_REBOOT_ACTION, +@@ -77,29 +84,18 @@ systemd_proxy_can_restart (SystemdProxy + if (res == NULL) { + g_propagate_error (error, local_error); + return FALSE; ++ } else if (polkit_authorization_result_get_is_authorized (res) | ++ polkit_authorization_result_get_is_challenge (res)) { ++ bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL); ++ g_dbus_connection_call_sync (bus, ++ SYSTEMD_DBUS_NAME, ++ SYSTEMD_DBUS_PATH, ++ SYSTEMD_DBUS_INTERFACE, ++ "Reboot", ++ g_variant_new ("(b)", TRUE), ++ NULL, 0, G_MAXINT, NULL, NULL); ++ g_object_unref (bus); + } + - *can_restart = polkit_authorization_result_get_is_authorized (res) || - polkit_authorization_result_get_is_challenge (res); - - g_object_unref (res); - - return TRUE; - } - -@@ -91,17 +70,32 @@ gboolean - systemd_proxy_restart (SystemdProxy *proxy, - GError **error) - { -- GDBusConnection *bus; +- return TRUE; +-} +- +-gboolean +-systemd_proxy_restart (SystemdProxy *proxy, +- GError **error) +-{ +- g_autoptr(GDBusConnection) bus = NULL; - - bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL); - g_dbus_connection_call_sync (bus, @@ -44,35 +60,5 @@ - "Reboot", - g_variant_new ("(b)", TRUE), - NULL, 0, G_MAXINT, NULL, NULL); -- g_object_unref (bus); -- -- return TRUE; -+ PolkitAuthorizationResult *res; -+ GDBusConnection *bus; -+ GError *local_error = NULL; -+ -+ res = polkit_authority_check_authorization_sync (proxy->authority, -+ proxy->subject, -+ SYSTEMD_REBOOT_ACTION, -+ NULL, -+ POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION, -+ NULL, -+ &local_error); -+ if (res == NULL) { -+ g_propagate_error (error, local_error); -+ return FALSE; -+ } else if (polkit_authorization_result_get_is_authorized (res) || -+ polkit_authorization_result_get_is_challenge (res)) { -+ bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL); -+ g_dbus_connection_call_sync (bus, -+ SYSTEMD_DBUS_NAME, -+ SYSTEMD_DBUS_PATH, -+ SYSTEMD_DBUS_INTERFACE, -+ "Reboot", -+ g_variant_new ("(b)", TRUE), -+ NULL, 0, G_MAXINT, NULL, NULL); -+ g_object_unref (bus); -+ } -+ -+ return TRUE; + return TRUE; } ++++++ bnc-946886-install-signatures-in-viewer.patch ++++++ --- /var/tmp/diff_new_pack.IN7dWz/_old 2016-09-21 18:36:11.000000000 +0200 +++ /var/tmp/diff_new_pack.IN7dWz/_new 2016-09-21 18:36:11.000000000 +0200 @@ -5,14 +5,10 @@ https://bugzilla.gnome.org/show_bug.cgi?id=756991 --- - src/gpk-update-viewer.c | 237 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 237 insertions(+) - -diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c -index 9b08f18..241f034 100644 ---- a/src/gpk-update-viewer.c -+++ b/src/gpk-update-viewer.c -@@ -63,6 +63,7 @@ static GCancellable *cancellable = NULL; +diff -urp gnome-packagekit-3.21.91.orig/src/gpk-update-viewer.c gnome-packagekit-3.21.91/src/gpk-update-viewer.c +--- gnome-packagekit-3.21.91.orig/src/gpk-update-viewer.c 2016-08-25 03:30:50.000000000 -0500 ++++ gnome-packagekit-3.21.91/src/gpk-update-viewer.c 2016-09-07 15:30:15.846880448 -0500 +@@ -60,6 +60,7 @@ static GCancellable *cancellable = NULL static GSettings *settings = NULL; static GPtrArray *update_array = NULL; static GtkBuilder *builder = NULL; @@ -20,7 +16,7 @@ static GtkTreeStore *array_store_updates = NULL; static GtkTextBuffer *text_buffer = NULL; static PkControl *control = NULL; -@@ -74,6 +75,10 @@ static GtkWidget *info_mobile_label = NULL; +@@ -71,6 +72,10 @@ static GtkWidget *info_mobile_label = N static GtkApplication *application = NULL; static PkBitfield roles = 0; static gboolean have_available_distro_upgrades = FALSE; @@ -31,11 +27,10 @@ enum { GPK_UPDATES_COLUMN_TEXT, -@@ -2628,6 +2633,168 @@ gpk_update_viewer_packages_to_ids (GPtrArray *array) - return value; +@@ -2264,6 +2269,168 @@ gpk_update_viewer_packages_to_ids (GPtrA } -+static void + static void +gpk_update_viewer_get_distro_upgrades_cb (PkClient *client, GAsyncResult *res, gpointer user_data); + +static void @@ -197,19 +192,20 @@ + g_ptr_array_unref (array); +} + - /** - * gpk_update_viewer_get_updates_cb: - **/ -@@ -2655,6 +2822,7 @@ gpk_update_viewer_get_updates_cb (PkClient *client, GAsyncResult *res, gpointer ++static void + gpk_update_viewer_get_updates_cb (PkClient *client, GAsyncResult *res, gpointer user_data) + { + g_autoptr(PkResults) results = NULL; +@@ -2283,6 +2450,7 @@ gpk_update_viewer_get_updates_cb (PkClie + g_autoptr(PkError) error_code = NULL; + GtkWindow *window; PkInfoEnum info; - gchar *package_id = NULL; - gchar *summary = NULL; + PkExitEnum exit_enum; /* get the results */ results = pk_client_generic_finish (client, res, &error); -@@ -2665,6 +2833,16 @@ gpk_update_viewer_get_updates_cb (PkClient *client, GAsyncResult *res, gpointer - goto out; +@@ -2292,6 +2460,14 @@ gpk_update_viewer_get_updates_cb (PkClie + return; } + exit_enum = pk_results_get_exit_code(results); @@ -217,43 +213,39 @@ + need_signature_for_update = TRUE; + if (!need_signature_for_distro) + gpk_update_viewer_key_question (results); -+ g_object_unref (results); + return; + } + -+ /* check error code */ error_code = pk_results_get_error_code (results); if (error_code != NULL) { -@@ -3072,6 +3250,7 @@ gpk_update_viewer_get_distro_upgrades_cb (PkClient *client, GAsyncResult *res, g +@@ -2644,6 +2820,7 @@ gpk_update_viewer_get_distro_upgrades_cb GtkWidget *widget; - PkError *error_code = NULL; + g_autoptr(PkError) error_code = NULL; GtkWindow *window; + PkExitEnum exit_enum; /* get the results */ results = pk_client_generic_finish (client, res, &error); -@@ -3087,6 +3266,15 @@ gpk_update_viewer_get_distro_upgrades_cb (PkClient *client, GAsyncResult *res, g - if (error_code != NULL) { - g_warning ("failed to get list of distro upgrades: %s, %s", pk_error_enum_to_string (pk_error_get_code (error_code)), pk_error_get_details (error_code)); +@@ -2653,6 +2830,14 @@ gpk_update_viewer_get_distro_upgrades_cb + return; + } + exit_enum = pk_results_get_exit_code(results); + if (exit_enum == PK_EXIT_ENUM_KEY_REQUIRED) { + need_signature_for_distro = TRUE; + if (!need_signature_for_update) + gpk_update_viewer_key_question (results); -+ g_object_unref (results); + return; + } + - window = GTK_WINDOW(gtk_builder_get_object (builder, "dialog_updates")); - gpk_error_dialog_modal (window, gpk_error_enum_to_localised_text (pk_error_get_code (error_code)), - gpk_error_enum_to_localised_message (pk_error_get_code (error_code)), pk_error_get_details (error_code)); -@@ -3186,6 +3374,53 @@ gpk_update_viewer_activate_cb (GtkApplication *_application, gpointer user_data) - gtk_window_present (window); + /* check error code */ + error_code = pk_results_get_error_code (results); + if (error_code != NULL) { +@@ -2736,6 +2921,53 @@ gpk_update_viewer_activate_cb (GtkApplic } -+static void + static void +gpk_update_viewer_button_decline_cb (GtkWidget *widget, gpointer data) +{ + gtk_widget_hide (GTK_WIDGET(current_window)); @@ -300,11 +292,12 @@ + g_signal_connect (widget, "clicked", G_CALLBACK (gpk_update_viewer_button_decline_cb), NULL); +} + - /** - * gpk_update_viewer_application_startup_cb: - **/ -@@ -3243,6 +3478,8 @@ gpk_update_viewer_application_startup_cb (GtkApplication *_application, gpointer - goto out; ++static void + gpk_update_viewer_application_startup_cb (GtkApplication *_application, gpointer user_data) + { + GtkWidget *main_window; +@@ -2786,6 +3018,8 @@ gpk_update_viewer_application_startup_cb + return; } + gpk_update_viewer_setup_dialog_signature (); @@ -312,6 +305,3 @@ main_window = GTK_WIDGET(gtk_builder_get_object (builder, "dialog_updates")); gtk_window_set_icon_name (GTK_WINDOW(main_window), GPK_ICON_SOFTWARE_UPDATE); gtk_application_add_window (application, GTK_WINDOW(main_window)); --- -2.1.4 - ++++++ gnome-packagekit-3.20.0.tar.xz -> gnome-packagekit-3.22.0.tar.xz ++++++ ++++ 75361 lines of diff (skipped) ++++++ gnome-packagekit-OnlyShowIn.patch ++++++ --- /var/tmp/diff_new_pack.IN7dWz/_old 2016-09-21 18:36:12.000000000 +0200 +++ /var/tmp/diff_new_pack.IN7dWz/_new 2016-09-21 18:36:12.000000000 +0200 @@ -1,29 +1,17 @@ -Index: gnome-packagekit-3.9.92/data/gpk-application.desktop.in +Index: gnome-packagekit-3.21.4/data/gpk-log.desktop.in =================================================================== ---- orig-gnome-packagekit-3.15.3/data/gpk-application.desktop.in 2014-12-18 16:38:23.000000000 +0100 -+++ gnome-packagekit-3.15.3/data/gpk-application.desktop.in 2014-12-19 02:59:27.044592039 +0100 -@@ -7,6 +7,6 @@ - Type=Application - Categories=GNOME;GTK;System;PackageManager; - _Keywords=Sources;Repositories;Preferences;Install;Store; --NotShowIn=KDE; -+OnlyShowIn=GNOME; - StartupNotify=true - X-GNOME-UsesNotifications=true -Index: gnome-packagekit-3.9.92/data/gpk-log.desktop.in -=================================================================== ---- gnome-packagekit-3.9.92.orig/data/gpk-log.desktop.in -+++ gnome-packagekit-3.9.92/data/gpk-log.desktop.in +--- gnome-packagekit-3.21.4.orig/data/gpk-log.desktop.in ++++ gnome-packagekit-3.21.4/data/gpk-log.desktop.in @@ -8,4 +8,4 @@ Type=Application NoDisplay=true Categories=GNOME;GTK;System; StartupNotify=true - +OnlyShowIn=GNOME; -Index: gnome-packagekit-3.9.92/data/gpk-prefs.desktop.in +Index: gnome-packagekit-3.21.4/data/gpk-prefs.desktop.in =================================================================== ---- gnome-packagekit-3.9.92.orig/data/gpk-prefs.desktop.in -+++ gnome-packagekit-3.9.92/data/gpk-prefs.desktop.in +--- gnome-packagekit-3.21.4.orig/data/gpk-prefs.desktop.in ++++ gnome-packagekit-3.21.4/data/gpk-prefs.desktop.in @@ -5,7 +5,7 @@ Icon=gpk-prefs Exec=gpk-prefs Terminal=false @@ -35,11 +23,11 @@ StartupNotify=true -NoDisplay=true +NoDisplay=false -Index: gnome-packagekit-3.9.92/data/gpk-update-viewer.desktop.in +Index: gnome-packagekit-3.21.4/data/org.gnome.PackageUpdater.desktop.in =================================================================== ---- orig-gnome-packagekit-3.15.3/data/gpk-update-viewer.desktop.in 2014-12-18 16:38:23.000000000 +0100 -+++ gnome-packagekit-3.15.3/data/gpk-update-viewer.desktop.in 2014-12-19 03:01:09.450768311 +0100 -@@ -7,6 +7,6 @@ +--- gnome-packagekit-3.21.4.orig/data/org.gnome.PackageUpdater.desktop.in ++++ gnome-packagekit-3.21.4/data/org.gnome.PackageUpdater.desktop.in +@@ -7,6 +7,6 @@ Terminal=false Type=Application Categories=GNOME;GTK;System; _Keywords=Updates;Upgrade; @@ -47,4 +35,15 @@ +OnlyShowIn=GNOME; StartupNotify=true X-GNOME-UsesNotifications=true - +Index: gnome-packagekit-3.21.4/data/org.gnome.Packages.desktop.in +=================================================================== +--- gnome-packagekit-3.21.4.orig/data/org.gnome.Packages.desktop.in ++++ gnome-packagekit-3.21.4/data/org.gnome.Packages.desktop.in +@@ -7,6 +7,6 @@ Terminal=false + Type=Application + Categories=GNOME;GTK;System;PackageManager; + _Keywords=Sources;Repositories;Preferences;Install;Store; +-NotShowIn=KDE; ++OnlyShowIn=GNOME; + StartupNotify=true + X-GNOME-UsesNotifications=true ++++++ gnome-packagekit-displaysize.patch ++++++ --- /var/tmp/diff_new_pack.IN7dWz/_old 2016-09-21 18:36:12.000000000 +0200 +++ /var/tmp/diff_new_pack.IN7dWz/_new 2016-09-21 18:36:12.000000000 +0200 @@ -1,8 +1,8 @@ -Index: gnome-packagekit-3.4.2/src/gpk-common.c +Index: gnome-packagekit-3.21.91/src/gpk-common.c =================================================================== ---- gnome-packagekit-3.4.2.orig/src/gpk-common.c -+++ gnome-packagekit-3.4.2/src/gpk-common.c -@@ -218,7 +218,7 @@ gtk_text_buffer_insert_markup (GtkTextBu +--- gnome-packagekit-3.21.91.orig/src/gpk-common.c ++++ gnome-packagekit-3.21.91/src/gpk-common.c +@@ -75,7 +75,7 @@ pk_strv_to_ptr_array (gchar **array) gboolean gpk_window_set_size_request (GtkWindow *window, guint width, guint height) { @@ -11,7 +11,7 @@ GdkScreen *screen; guint screen_w; guint screen_h; -@@ -229,6 +229,7 @@ gpk_window_set_size_request (GtkWindow * +@@ -86,6 +86,7 @@ gpk_window_set_size_request (GtkWindow * screen = gdk_screen_get_default (); screen_w = gdk_screen_get_width (screen); screen_h = gdk_screen_get_height (screen); @@ -19,12 +19,12 @@ /* find percentage of screen area */ percent_w = (width * 100) / screen_w; -@@ -249,6 +250,8 @@ gpk_window_set_size_request (GtkWindow * +@@ -106,6 +107,8 @@ gpk_window_set_size_request (GtkWindow * goto out; #endif /* normal size laptop panel */ + if (height > screen_h * 0.9) height = screen_h * 0.9; + if (width > screen_w * 0.9) width = screen_w * 0.9; - g_debug ("using native mode: %ix%i", width, height); + g_debug ("using native mode: %ux%u", width, height); gtk_window_set_default_size (window, width, height); small_form_factor_mode = FALSE;
