]> git.pld-linux.org Git - packages/gnome-packagekit.git/commitdiff
- 2.27.2
authorPatryk Zawadzki <patrys@room-303.com>
Tue, 9 Jun 2009 09:05:19 +0000 (09:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- viewer crash patch applied upstream

Changed files:
    gnome-packagekit-update-viewer-crash.patch -> 1.2
    gnome-packagekit.spec -> 1.21

gnome-packagekit-update-viewer-crash.patch [deleted file]
gnome-packagekit.spec

diff --git a/gnome-packagekit-update-viewer-crash.patch b/gnome-packagekit-update-viewer-crash.patch
deleted file mode 100644 (file)
index 1655f1f..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-commit 4fffe8867dd0db611ffe6860d4414f2b13c4fa89
-Author: Richard Hughes <richard@hughsie.com>
-Date:   Wed Apr 1 10:00:36 2009 +0100
-
-    bugfix: only get the distro upgrades in the update viewer if we support it
-
-diff --git a/src/gpk-update-viewer2.c b/src/gpk-update-viewer2.c
-index 771d84c..8130c30 100644
---- a/src/gpk-update-viewer2.c
-+++ b/src/gpk-update-viewer2.c
-@@ -1464,6 +1464,7 @@ gpk_update_viewer_finished_cb (PkClient *client, PkExitEnum exit, guint runtime,
-       GtkTreePath *path;
-       GtkTreeModel *model;
-       GtkTreeSelection *selection;
-+      PkBitfield roles;
-       PkRoleEnum role;
-       PkPackageList *list;
-       PkRestartEnum restart;
-@@ -1530,8 +1531,11 @@ gpk_update_viewer_finished_cb (PkClient *client, PkExitEnum exit, guint runtime,
-       }
-       if (role == PK_ROLE_ENUM_GET_DETAILS) {
--              /* get the distro-upgrades */
--              g_idle_add ((GSourceFunc) gpk_update_viewer_finished_get_distro_upgrades_cb, NULL);
-+
-+              /* get the distro-upgrades if we support it */
-+              roles = pk_control_get_actions (control, NULL);
-+              if (pk_bitfield_contain (roles, PK_ROLE_ENUM_GET_DISTRO_UPGRADES))
-+                      g_idle_add ((GSourceFunc) gpk_update_viewer_finished_get_distro_upgrades_cb, NULL);
-               /* select the first entry in the updates list now we've got data */
-               widget = glade_xml_get_widget (glade_xml, "treeview_updates");
index 552e26171aa76e3bcd1bf94fa4c5b5db1965a3cb..e2cf05bfb4ea1287de559a6412e1a0499fff0ee7 100644 (file)
@@ -1,13 +1,12 @@
 Summary:       GNOME PackageKit Client
 Summary(pl.UTF-8):     Klient PackageKit dla GNOME
 Name:          gnome-packagekit
-Version:       2.27.1
-Release:       0.1
+Version:       2.27.2
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://www.packagekit.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 7a38bcdfda3e712365f674c51565e845
-Patch0:                %{name}-update-viewer-crash.patch
+# Source0-md5: f9811f51567280e13d61547387503303
 URL:           http://www.packagekit.org/
 BuildRequires: GConf2-devel
 BuildRequires: PackageKit-devel >= 0.4.3
@@ -24,7 +23,6 @@ BuildRequires:        gtk+2-devel >= 2:2.12.8
 BuildRequires: intltool >= 0.35.0
 BuildRequires: libglade2-devel >= 1:2.6.2
 BuildRequires: libnotify-devel >= 0.4.4
-BuildRequires: libsexy-devel >= 0.1.11
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(find_lang) >= 1.23
@@ -62,9 +60,11 @@ Ten moduł dostarcza widgety do użycia PackageKit w aplikacjach GTK+.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
+mkdir m4
+sed -i 's/gpk-xxxxxxxxxxxxx/gpk-application/g' man/gpk-application.sgml
+sed -i 's/gpk-xxxxxxxxxxxxx/gpk-backend-status/g' man/gpk-backend-status.sgml
 %{__intltoolize}
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -118,7 +118,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/gpk-service-pack
 %attr(755,root,root) %{_bindir}/gpk-update-icon
 %attr(755,root,root) %{_bindir}/gpk-update-viewer
-%attr(755,root,root) %{_bindir}/gpk-update-viewer2
 %{_datadir}/gnome-packagekit
 %{_sysconfdir}/gconf/schemas/gnome-packagekit.schemas
 %{_datadir}/gnome/autostart/gpk-update-icon.desktop
@@ -131,6 +130,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_desktopdir}/gpk-repo.desktop
 %{_desktopdir}/gpk-service-pack.desktop
 %{_desktopdir}/gpk-update-viewer.desktop
+%{_mandir}/man1/gpk-application.1*
+%{_mandir}/man1/gpk-backend-status.1*
 %{_mandir}/man1/gpk-install-local-file.1*
 %{_mandir}/man1/gpk-install-mime-type.1*
 %{_mandir}/man1/gpk-install-package-name.1*
This page took 0.151727 seconds and 4 git commands to generate.