rpms/gnome-packagekit/F-9 gnome-packagekit-set-interaction-for-tools.patch, NONE, 1.1 gnome-packagekit.spec, 1.40, 1.41
Richard Hughes (rhughes)
fedora-extras-commits at redhat.com
Tue Jul 8 00:01:27 UTC 2008
Author: rhughes
Update of /cvs/pkgs/rpms/gnome-packagekit/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12349
Modified Files:
gnome-packagekit.spec
Added Files:
gnome-packagekit-set-interaction-for-tools.patch
Log Message:
* Tue Jul 08 2008 Richard Hughes <rhughes at redhat.com> - 0.2.3-4
- Set the GUI interaction mode in the gpk-install-foo tools
so the dialog does not auto-close when we've asked for auth.
gnome-packagekit-set-interaction-for-tools.patch:
--- NEW FILE gnome-packagekit-set-interaction-for-tools.patch ---
commit 3744304f6daff0555736d8577cdc5b9212d8c54d
Author: Richard Hughes <richard at hughsie.com>
Date: Tue Jul 8 00:37:42 2008 +0100
bugfix: set the interaction of the GClient to always when we are using a helper
diff --git a/src/gpk-install-catalog.c b/src/gpk-install-catalog.c
index 2771cf9..46b68b3 100644
--- a/src/gpk-install-catalog.c
+++ b/src/gpk-install-catalog.c
@@ -86,7 +86,7 @@ main (int argc, char *argv[])
/* find the file list */
files = gpk_convert_argv_to_strv (argv);
gclient = gpk_client_new ();
-
+ gpk_client_set_interaction (gclient, GPK_CLIENT_INTERACT_ALWAYS);
/* install all the catalogs */
ret = gpk_client_install_catalogs (gclient, files, NULL);
diff --git a/src/gpk-install-local-file.c b/src/gpk-install-local-file.c
index f006426..0ea8c26 100644
--- a/src/gpk-install-local-file.c
+++ b/src/gpk-install-local-file.c
@@ -85,6 +85,7 @@ main (int argc, char *argv[])
error = NULL;
gclient = gpk_client_new ();
+ gpk_client_set_interaction (gclient, GPK_CLIENT_INTERACT_ALWAYS);
files = gpk_convert_argv_to_strv (argv);
ret = gpk_client_install_local_files (gclient, files, NULL);
g_strfreev (files);
diff --git a/src/gpk-install-mime-type.c b/src/gpk-install-mime-type.c
index 16a6b30..7f8184a 100644
--- a/src/gpk-install-mime-type.c
+++ b/src/gpk-install-mime-type.c
@@ -89,6 +89,7 @@ main (int argc, char *argv[])
error = NULL;
gclient = gpk_client_new ();
+ gpk_client_set_interaction (gclient, GPK_CLIENT_INTERACT_ALWAYS);
ret = gpk_client_install_mime_type (gclient, argv[1], NULL);
g_object_unref (gclient);
diff --git a/src/gpk-install-package-name.c b/src/gpk-install-package-name.c
index 8e17c10..c9d4f9a 100644
--- a/src/gpk-install-package-name.c
+++ b/src/gpk-install-package-name.c
@@ -85,6 +85,7 @@ main (int argc, char *argv[])
error = NULL;
gclient = gpk_client_new ();
+ gpk_client_set_interaction (gclient, GPK_CLIENT_INTERACT_ALWAYS);
packages = gpk_convert_argv_to_strv (argv);
ret = gpk_client_install_package_names (gclient, packages, NULL);
g_strfreev (packages);
diff --git a/src/gpk-install-provide-file.c b/src/gpk-install-provide-file.c
index a03ea57..d1948af 100644
--- a/src/gpk-install-provide-file.c
+++ b/src/gpk-install-provide-file.c
@@ -89,6 +89,7 @@ main (int argc, char *argv[])
error = NULL;
gclient = gpk_client_new ();
+ gpk_client_set_interaction (gclient, GPK_CLIENT_INTERACT_ALWAYS);
ret = gpk_client_install_provide_file (gclient, argv[1], NULL);
g_object_unref (gclient);
Index: gnome-packagekit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-packagekit/F-9/gnome-packagekit.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- gnome-packagekit.spec 4 Jul 2008 15:58:29 -0000 1.40
+++ gnome-packagekit.spec 8 Jul 2008 00:00:42 -0000 1.41
@@ -6,7 +6,7 @@
Name: gnome-packagekit
Version: 0.2.3
#Release: 1.%{?alphatag}%{?dist}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.packagekit.org
@@ -15,7 +15,8 @@
Source1: system-install-packages
Source2: system-install-packages.1.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-#Patch0: gnome-packagekit-enable-kde.patch
+Patch0: gnome-packagekit-set-interaction-for-tools.patch
+
Requires: gtk2 >= 2.12.0
Requires: gnome-icon-theme
Requires: libnotify >= 0.4.3
@@ -59,7 +60,7 @@
%prep
%setup -q
#%setup -q -n %{name}-%{version}-%{?alphatag}
-#%patch0 -p1
+%patch0 -p1
%build
%configure --disable-scrollkeeper --disable-schemas-install
@@ -143,6 +144,10 @@
%{_datadir}/applications/gpk-*.desktop
%changelog
+* Tue Jul 08 2008 Richard Hughes <rhughes at redhat.com> - 0.2.3-4
+- Set the GUI interaction mode in the gpk-install-foo tools
+ so the dialog does not auto-close when we've asked for auth.
+
* Fri Jul 04 2008 Richard Hughes <rhughes at redhat.com> - 0.2.3-3
- Fix the .. release string.
More information about the fedora-extras-commits
mailing list