1
0

Accepting request 203296 from home:dimstar:branches:GNOME:Factory

Switch to PK for updates instead of systemd

OBS-URL: https://build.opensuse.org/request/show/203296
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2013-10-14 21:41:45 +00:00 committed by Git OBS Bridge
parent 3ec3255243
commit 2ecf252849
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/gs-application.c b/src/gs-application.c
index 4e730fa..af73cde 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -170,7 +170,7 @@ gs_application_startup (GApplication *application)
gs_plugin_loader_set_enabled (app->plugin_loader, "hardcoded-menu-spec", TRUE);
gs_plugin_loader_set_enabled (app->plugin_loader, "local-ratings", TRUE);
gs_plugin_loader_set_enabled (app->plugin_loader, "packagekit", TRUE);
- gs_plugin_loader_set_enabled (app->plugin_loader, "systemd-updates", TRUE);
+ gs_plugin_loader_set_enabled (app->plugin_loader, "packagekit-updates", TRUE);
gs_plugin_loader_set_enabled (app->plugin_loader, "packagekit-refine", TRUE);
gs_plugin_loader_set_enabled (app->plugin_loader, "packagekit-history", TRUE);
gs_plugin_loader_set_enabled (app->plugin_loader, "packagekit-offline", TRUE);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 14 17:13:18 UTC 2013 - dimstar@opensuse.org
- Add gnome-software-PK-updates.patch: Use PackageKit for Software
updates. GNOME Software defaults to use systemd offline updates,
which we do not currently have enabled on openSUSE.
-------------------------------------------------------------------
Mon Oct 14 13:19:41 UTC 2013 - dimstar@opensuse.org

View File

@ -24,6 +24,8 @@ License: GPL-2.0+
Group: System/GUI/GNOME
Url: https://wiki.gnome.org/Design/Apps/Software
Source: http://download.gnome.org/sources/gnome-software/3.10/%{name}-%{version}.tar.xz
# PATCH-FEATURE-OPENSUSE gnome-software-PK-updates.patch dimstar@opensuse.org -- Switch to PackageKit Update provider instead of systemd offline updates.
Patch0: gnome-software-PK-updates.patch
BuildRequires: intltool >= 0.35.0
BuildRequires: suse-xsl-stylesheets
BuildRequires: update-desktop-files
@ -43,6 +45,7 @@ AppStore like management of Applications for your GNOME Desktop.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
%configure \