Hello community,
here is the log from the commit of package gnome-packagekit for openSUSE:Factory
checked in at Fri Jul 31 19:31:52 CEST 2009.
--------
--- GNOME/gnome-packagekit/gnome-packagekit.changes 2009-04-29 14:28:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/gnome-packagekit/gnome-packagekit.changes 2009-07-30 15:19:50.000000000 +0200
@@ -1,0 +2,161 @@
+Thu Jul 30 00:45:42 CEST 2009 - vuntz@novell.com
+
+- Update to version 2.27.3:
+ + New Features:
+ - Add a link to gpk-log in gpk-application
+ - Enable nice build output on automake1.11
+ - Enable the warning GSEAL_ENABLE and fix up build failures
+ - Check for dependancies before downloading updates in the
+ update viewer
+ - Add --parent-window options to the client tools so they are
+ set transient in gpk-application
+ + Bugfix:
+ - Include in gpk-update-viewer.c
+ - Use gtk_show_uri instead of deprecated gnome-open
+ - Don't use English enumerated values in GConf, instead use
+ seconds
+ - Check packages content-type before sending them to the daemon
+ - Add a tooltip to the package entry box in the service pack
+ creator
+ - Fix a double free when we fail to find packages
+ - Show normal updates in the update viewer severity column
+ - Populate the manpage package names correctly
+ - Force intltool to recognise .ui files as gettext/glade files
+ - Set the GpkHelperRun window to be modal. Fixes rh#506010
+ - Connect to gnome-session to get the idle status, not
+ gnome-screensaver
+ - Don't show a generic icon when we have messages
+ - Get rid of the 'Display Notification' section in the
+ preferences pane
+ - Don't try to update previously added deps to be installed in
+ the update viewer
+ - Fix mnemonic conflict in gpk-application
+ - When the user clicks hide, do so until the session is
+ restarted. Fixes rh#507062
+ - Move a few GConf keys to the correct places
+ - Add preference to be able to see every PackageKit
+ transaction, even if it's active
+ - Don't ignore the user pressing escape to dismiss a
+ GpkHelperChooser
+ - Use small form factor mode when the window is nearly as big
+ as the display
+ - Don't use a large package screen on notebooks with small
+ displays
+ - Use the newest filter by default in the update viewer. Fixes
+ rh#508505
+ - Use better wording when a package sent RequireRestart
+ - Don't include the size column in the Status column. Fixes
+ rh#509067
+ - Run all the packages after install, not just the selected
+ package
+ - Clear the run list when we setup a new GpkHelperRun. Fixes
+ fd#22489
+ - Use a PkPackageList in gpk-appliction to store the package
+ list
+ - If the use has set get-updates policy to never, then ignore
+ updates-changed events. Fixes rh#509104
+ - Fix up a translation string. Fixes fd#22623
+ - Don't connect to key press _and_ release in gpk-log. Fixes
+ rh#509636
+ + Updated translations.
+- Add py_requires.
+- Do not package omf files twice.
+- Pass --disable-schemas-install to configure.
+
+-------------------------------------------------------------------
+Sat Jun 13 02:35:12 CEST 2009 - sreeves@novell.com
+
+- Update to version 2.27.2:
+ + New Features:
+ - Replace GpkCellRendererProgress with GpkCellRendererSpinner
+ in the update viewer
+ - Set a busy cursor in the update viewer when the transaction
+ is not cancellable
+ - Warn when we use the update viewer when on mobile broadband
+ - Remove libsexy requirement, and raise our GTK+ dep to 2.15.0
+ - Raise our dep on GIO to 2.18.0
+ - Add a hard dep on libunique 1.0.0
+ - Remove the old update viewer, and rename gpk-update-viewer2
+ to gpk-update-viewer
+ - Convert glade files into GtkBuilder files, and drop the
+ libglade dep completely
+ - Remove the legacy org.freedesktop.PackageKit session
+ interface
+ - Use PkClient rather than GpkClient in gpk-application
+ - Add UI helpers for media changing
+ - Add media change functionality into gpk-application
+ - Remove GpkClient and move to a 99% asyncronous model of
+ operation
+ - Add DOAP project description
+ + Bugfix:
+ - Use the busy cursor when we are in a transaction, not just
+ when we cannot cancel
+ - Make the install button the default widget in the update
+ viewer
+ - Make typeahead search work in the update list
+ - Add a silly hack until we get some metadata about animated
+ icon sizes
+ - Only get the distro upgrades in the update viewer if we
+ support it
+ - Make the tooltip past and present tense in the update viewer,
+ and also add a downloaded icon
+ - When we launch the update viewer manually, ensure we set the
+ title text correctly
+ - Allow the user to resize the gpk-log dialog. Fixes rh#493934
+ - Do the find callback when we paste text into the add-remove
+ software window. Fixes rh#492160
+ - If we have force-login set to true, never repeat the startup
+ check even if it fails
+ - Don't show cancel and close in the update viewer
+ - Preload all the common GConf keys in the update icon
+ - Never show the checkbox for the search welcome. Fixes
+ rh#496024
+ - Add a commits file taken from Nautilus, and autogenerate the
+ ChangeLog
+ - Denote the size column in the update viewer to belong to the
+ status column
+ - Set the size value to zero when we get an info update
+ - Add a completed modal dialog at the end of a successful
+ update, rather than just quitting
+ - Show the package name in the repo-signature dialog. Fixes
+ fd#21236
+ - Use libcanberra to do event sounds when we succeed in doing
+ an update
+ - Don't re-get the update list after a failed install, just
+ undisable the checkboxes. Fixes rh#496870
+ - Enable autocode for compiler defines in the markdown parser.
+ Fixes rh#497162
+ - Only select the package item after all the results have
+ appeared
+ - Add another helper to cope with deps from the update process
+ - Don't inhibit to gnome-power-manager, use gnome-session
+ - Use DeviceKit-power rather than gnome-power-manager to get
+ the on-battery status
+ - Pop up a modal dialog if any of the methods in
+ gpk-install-foo fail. Fixes rh#500237
+ - Provide some #ifdef compatibility so that git master GPK can
+ build with >= 0.4.4 PK
+ - Export InstallCatalogs on the session bus. Fixes rh#502562
+ - Don't show a long list of packages in the catalog install
+ screen, instead use a scrollable package list
+ - Refresh the system package list if it does not exist in the
+ service pack creation tool. Fixes rh#502589
+ - Remove GpkSmartIcon and use GpkStatusIcon directly
+ - Only show the monitor icon when the task is no longer
+ connected to the bus but running
+ - Inhibit the icon in GpkCheckUpdate rather than having
+ last-set policy. Fixes rh#492005
+ - Add a loading string when loading details in the update
+ viewer
+ - Fix the window icon, title, and some inconsistent text in the
+ update viewer
+ - Don't critically warn when we have no packages selected after
+ install
+ + Updated translations.
+- Rewrite gnome-packagekit-BNC383261.patch to apply to the new
+ layout of 2.27.2
+- Add DeviceKit-devel, DeviceKit-power-devel, libcanberra-devel,
+ libunique-devel BuildRequires.
+- Remove libglade2-devel BuildRequires.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
gnome-packagekit-2.27.1.tar.bz2
New:
----
gnome-packagekit-2.27.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-packagekit.spec ++++++
--- /var/tmp/diff_new_pack.lukItq/_old 2009-07-31 19:30:58.000000000 +0200
+++ /var/tmp/diff_new_pack.lukItq/_new 2009-07-31 19:30:58.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package gnome-packagekit (Version 2.27.1)
+# spec file for package gnome-packagekit (Version 2.27.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,8 +19,8 @@
Name: gnome-packagekit
Url: http://packagekit.org/
-Version: 2.27.1
-Release: 2
+Version: 2.27.3
+Release: 1
License: GPL v2 or later
Source: %{name}-%{version}.tar.bz2
Patch1: gnome-packagekit_release.patch
@@ -29,6 +29,8 @@
Patch3: gnome-packagekit-fate302445.patch
Patch5: gnome-packagekit-BNC383261.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: DeviceKit-devel
+BuildRequires: DeviceKit-power-devel
BuildRequires: PackageKit-devel
BuildRequires: PolicyKit-gnome-devel
BuildRequires: dbus-1-devel
@@ -38,8 +40,9 @@
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
-BuildRequires: libglade2-devel
+BuildRequires: libcanberra-devel
BuildRequires: libnotify-devel
+BuildRequires: libunique-devel
BuildRequires: sqlite-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
@@ -51,6 +54,7 @@
Group: System/GUI/GNOME
Summary: Applications for the PackageKit API
%gconf_schemas_prereq
+%py_requires
%description
GNOME PackageKit provides session applications for the PackageKit API.
@@ -75,7 +79,8 @@
%build
#autoreconf -f -i
%configure \
- --disable-scrollkeeper
+ --disable-scrollkeeper \
+ --disable-schemas-install
%__make %{?jobs: -j%jobs}
%install
@@ -103,6 +108,7 @@
rm -rf "$RPM_BUILD_ROOT"
%pre -f %{name}.schemas_pre
+
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
@@ -110,13 +116,12 @@
%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
-%dir %py_sitedir/packagekit
%{_bindir}/gpk-*
%{_datadir}/gnome-packagekit
-%{_datadir}/omf/gnome-packagekit
%{_sysconfdir}/xdg/autostart/gpk-update-icon.desktop
%{_datadir}/applications/gpk-*.desktop
%{_datadir}/icons/hicolor/*
+%dir %{py_sitedir}/packagekit
%{py_sitedir}/packagekit/g*
%files lang -f %{name}.lang
++++++ gnome-packagekit-2.27.1.tar.bz2 -> gnome-packagekit-2.27.3.tar.bz2 ++++++
++++ 243163 lines of diff (skipped)
++++++ gnome-packagekit-BNC383261.patch ++++++
--- /var/tmp/diff_new_pack.lukItq/_old 2009-07-31 19:31:01.000000000 +0200
+++ /var/tmp/diff_new_pack.lukItq/_new 2009-07-31 19:31:01.000000000 +0200
@@ -1,71 +1,42 @@
-Index: gnome-packagekit-0.4.5/src/gpk-client.c
-===================================================================
---- gnome-packagekit-0.4.5.orig/src/gpk-client.c
-+++ gnome-packagekit-0.4.5/src/gpk-client.c
-@@ -101,6 +101,7 @@ struct _GpkClientPrivate
- gchar *parent_title;
- gchar *parent_icon_name;
- gchar *error_details;
-+ const gchar *error_details_prompt_for_yast;
- gint timeout;
- GMainLoop *loop;
- };
-@@ -218,8 +219,12 @@ gpk_client_libnotify_cb (NotifyNotificat
- egg_debug ("set %s to FALSE", GPK_CONF_NOTIFY_UPDATE_STARTED);
- gconf_client_set_bool (gclient->priv->gconf_client, GPK_CONF_NOTIFY_UPDATE_STARTED, FALSE, NULL);
- } else if (egg_strequal (action, "show-error-details")) {
-- /* TRANSLATORS: detailed text about the error */
-- gpk_error_dialog (_("Error details"), _("Package Manager error details"), gclient->priv->error_details);
-+ if (gclient->priv->error_details_prompt_for_yast)
-+ /* TRANSLATORS: detailed text about the error */
-+ gpk_error_dialog_modal_prompt_yast (NULL, _("Error details"), _("Package Manager error details"), gclient->priv->error_details, gclient->priv->error_details_prompt_for_yast);
-+ else
-+ gpk_error_dialog (_("Error details"), _("Package Manager error details"), gclient->priv->error_details);
-+
- } else if (egg_strequal (action, "cancel")) {
- /* try to cancel */
- ret = pk_client_cancel (gclient->priv->client_action, &error);
-@@ -503,6 +508,14 @@ gpk_client_error_code_cb (PkClient *clie
- return;
+diff --git a/src/gpk-check-update.c b/src/gpk-check-update.c
+index 9769714..d456ee5 100644
+--- a/src/gpk-check-update.c
++++ b/src/gpk-check-update.c
+@@ -1243,8 +1243,14 @@ gpk_check_update_error_code_cb (PkClient *client, PkErrorCodeEnum code, const gc
}
+ /* not modal as we are a status icon */
+- gpk_error_dialog (gpk_error_enum_to_localised_text (code),
+- gpk_error_enum_to_localised_message (code), details);
+ if (code == PK_ERROR_ENUM_DEP_RESOLUTION_FAILED) {
+ egg_debug ("DEP_RES failed - will ask if they want to try yast");
-+ gclient->priv->error_details_prompt_for_yast = _("To try and manually resolve problems use the YaST \"Online Update\" module");
++ gpk_error_dialog_modal_with_time (NULL, gpk_error_enum_to_localised_text (code),
++ gpk_error_enum_to_localised_message (code), details, 0, TRUE);
+ }
+ else
-+ gclient->priv->error_details_prompt_for_yast = NULL;
-+
-+
- egg_debug ("code was %s", pk_error_enum_to_text (code));
-
- /* use a modal dialog if showing progress, else use libnotify */
-@@ -510,7 +523,10 @@ gpk_client_error_code_cb (PkClient *clie
- message = gpk_error_enum_to_localised_message (code);
- if (gclient->priv->show_progress) {
- widget = GTK_WIDGET (gpk_client_dialog_get_window (gclient->priv->dialog));
-- gpk_error_dialog_modal (GTK_WINDOW (widget), title, message, details);
-+ if (gclient->priv->error_details_prompt_for_yast)
-+ gpk_error_dialog_modal_prompt_yast (GTK_WINDOW (widget), title, message, details, gclient->priv->error_details_prompt_for_yast);
-+ else
-+ gpk_error_dialog_modal (GTK_WINDOW (widget), title, message, details);
- return;
- }
++ gpk_error_dialog (gpk_error_enum_to_localised_text (code),
++ gpk_error_enum_to_localised_message (code), details);
+ }
-@@ -706,7 +722,7 @@ gpk_client_error_msg (GpkClient *gclient
+ /**
+diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
+index 33f5652..bf57855 100644
+--- a/src/gpk-dbus-task.c
++++ b/src/gpk-dbus-task.c
+@@ -439,7 +439,7 @@ gpk_dbus_task_error_msg (GpkDbusTask *task, const gchar *title, GError *error)
/* hide the main window */
- window = gpk_client_dialog_get_window (gclient->priv->dialog);
-- gpk_error_dialog_modal_with_time (window, title, message, details, gclient->priv->timestamp);
-+ gpk_error_dialog_modal_with_time (window, title, message, details, gclient->priv->timestamp, NULL);
+ window = gpk_modal_dialog_get_window (task->priv->dialog);
+- gpk_error_dialog_modal_with_time (window, title, message, details, task->priv->timestamp);
++ gpk_error_dialog_modal_with_time (window, title, message, details, task->priv->timestamp, FALSE);
}
/**
-Index: gnome-packagekit-0.4.5/src/gpk-error.c
-===================================================================
---- gnome-packagekit-0.4.5.orig/src/gpk-error.c
-+++ gnome-packagekit-0.4.5/src/gpk-error.c
-@@ -35,6 +35,32 @@
+diff --git a/src/gpk-error.c b/src/gpk-error.c
+index 8203748..4171493 100644
+--- a/src/gpk-error.c
++++ b/src/gpk-error.c
+@@ -34,6 +34,32 @@
#include "gpk-common.h"
#include "gpk-error.h"
@@ -98,87 +69,87 @@
/**
* gpk_error_dialog_expanded_cb:
**/
-@@ -63,12 +89,14 @@ gpk_error_dialog_expanded_cb (GObject *o
+@@ -62,14 +88,16 @@ gpk_error_dialog_expanded_cb (GObject *object, GParamSpec *param_spec, GtkBuilde
* Shows a modal error, and blocks until the user clicks close
**/
gboolean
-gpk_error_dialog_modal_with_time (GtkWindow *window, const gchar *title, const gchar *message, const gchar *details, guint timestamp)
-+gpk_error_dialog_modal_with_time (GtkWindow *window, const gchar *title, const gchar *message, const gchar *details, guint timestamp, const gchar *prompt_yast)
++gpk_error_dialog_modal_with_time (GtkWindow *window, const gchar *title, const gchar *message, const gchar *details, guint timestamp, gboolean prompt_yast)
{
GtkWidget *widget;
+ GtkWidget *button;
- GladeXML *glade_xml;
+ GtkBuilder *builder;
GtkTextBuffer *buffer = NULL;
gchar *text;
+ guint retval;
+ GError *error = NULL;
+ gchar *full_message;
- g_return_val_if_fail (title != NULL, FALSE);
g_return_val_if_fail (message != NULL, FALSE);
-@@ -107,8 +135,21 @@ gpk_error_dialog_modal_with_time (GtkWin
+
+@@ -114,8 +142,22 @@ gpk_error_dialog_modal_with_time (GtkWindow *window, const gchar *title, const g
g_free (text);
/* message */
-+ if (prompt_yast) {
-+ full_message = g_strconcat (message, "\n\n", prompt_yast, NULL);
-+ button = gtk_button_new_with_label(_("Start YaST and install updates manually"));
-+ g_signal_connect (button, "clicked", G_CALLBACK (gpk_error_dialog_yast_cb), NULL);
-+ /* add to box */
-+ widget = glade_xml_get_widget (glade_xml, "dialog_error");
-+ widget = gtk_dialog_get_action_area (GTK_DIALOG(widget));
-+ gtk_box_pack_start (GTK_BOX (widget), button, TRUE, TRUE, 0);
-+ gtk_widget_show (button);
-+ }
-+ full_message = g_strdup (message);
-+
- widget = glade_xml_get_widget (glade_xml, "label_message");
- gtk_label_set_markup (GTK_LABEL (widget), message);
-+ g_free (full_message);
++ if (prompt_yast) {
++ egg_debug ("DEP_RES failed - will ask if they want to try yast");
++ full_message = g_strconcat (message, "\n\n", _("To try and manually resolve problems use the YaST \"Online Update\" module"), NULL);
++ button = gtk_button_new_with_label(_("Start YaST and install updates manually"));
++ g_signal_connect (button, "clicked", G_CALLBACK (gpk_error_dialog_yast_cb), NULL);
++ /* add to box */
++ widget = GTK_WIDGET (gtk_builder_get_object (builder, "dialog_error"));
++ widget = gtk_dialog_get_action_area (GTK_DIALOG(widget));
++ gtk_box_pack_start (GTK_BOX (widget), button, TRUE, TRUE, 0);
++ gtk_widget_show (button);
++ }
++ else
++ full_message = g_strdup (message);
+ widget = GTK_WIDGET (gtk_builder_get_object (builder, "label_message"));
+- gtk_label_set_markup (GTK_LABEL (widget), message);
++ gtk_label_set_markup (GTK_LABEL (widget), full_message);
++ g_free (full_message);
/* show text in the expander */
if (egg_strzero (details)) {
-@@ -139,6 +180,13 @@ gpk_error_dialog_modal_with_time (GtkWin
- return TRUE;
- }
-
-+gboolean
-+gpk_error_dialog_modal_prompt_yast (GtkWindow *window, const gchar *title, const gchar *message, const gchar *details, const gchar *yast)
-+{
-+ return gpk_error_dialog_modal_with_time (window, title, message, details, 0, yast);
-+}
-+
-+
- /**
- * gpk_error_dialog_modal:
- * @window: the parent dialog
-@@ -151,7 +199,7 @@ gpk_error_dialog_modal_with_time (GtkWin
+@@ -159,7 +201,7 @@ out_build:
gboolean
gpk_error_dialog_modal (GtkWindow *window, const gchar *title, const gchar *message, const gchar *details)
{
- return gpk_error_dialog_modal_with_time (window, title, message, details, 0);
-+ return gpk_error_dialog_modal_with_time (window, title, message, details, 0, NULL);
++ return gpk_error_dialog_modal_with_time (window, title, message, details, 0, FALSE);
}
/**
-Index: gnome-packagekit-0.4.5/src/gpk-error.h
-===================================================================
---- gnome-packagekit-0.4.5.orig/src/gpk-error.h
-+++ gnome-packagekit-0.4.5/src/gpk-error.h
-@@ -33,11 +33,17 @@ gboolean gpk_error_dialog_modal (GtkW
- const gchar *title,
- const gchar *message,
- const gchar *details);
-+gboolean gpk_error_dialog_modal_prompt_yast (GtkWindow *window,
-+ const gchar *title,
-+ const gchar *message,
-+ const gchar *details,
-+ const gchar *prompt_yast);
- gboolean gpk_error_dialog_modal_with_time (GtkWindow *window,
+diff --git a/src/gpk-error.h b/src/gpk-error.h
+index 49240e8..5fc2fdf 100644
+--- a/src/gpk-error.h
++++ b/src/gpk-error.h
+@@ -37,7 +37,8 @@ gboolean gpk_error_dialog_modal_with_time (GtkWindow *window,
const gchar *title,
const gchar *message,
const gchar *details,
- guint timestamp);
+ guint timestamp,
-+ const gchar *prompt_yast);
++ gboolean prompt_yast);
G_END_DECLS
+diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
+index 0b0f001..52b0935 100644
+--- a/src/gpk-update-viewer.c
++++ b/src/gpk-update-viewer.c
+@@ -1922,7 +1922,13 @@ gpk_update_viewer_error_code_cb (PkClient *client, PkErrorCodeEnum code, const g
+ }
+
+ window = GTK_WINDOW (gtk_builder_get_object (builder, "dialog_updates"));
+- gpk_error_dialog_modal (window, gpk_error_enum_to_localised_text (code),
++ if (code == PK_ERROR_ENUM_DEP_RESOLUTION_FAILED) {
++ egg_debug ("DEP_RES failed - will ask if they want to try yast");
++ gpk_error_dialog_modal_with_time (window, gpk_error_enum_to_localised_text (code),
++ gpk_error_enum_to_localised_message (code), details, 0, TRUE);
++ }
++ else
++ gpk_error_dialog_modal (window, gpk_error_enum_to_localised_text (code),
+ gpk_error_enum_to_localised_message (code), details);
+ }
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org