From 2ecf25284941c114c8dfc1e3ce0d4c8a5abeabe06107e24e66636f27db312203 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 14 Oct 2013 21:41:45 +0000 Subject: [PATCH] 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 --- gnome-software-PK-updates.patch | 13 +++++++++++++ gnome-software.changes | 7 +++++++ gnome-software.spec | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 gnome-software-PK-updates.patch diff --git a/gnome-software-PK-updates.patch b/gnome-software-PK-updates.patch new file mode 100644 index 0000000..607a2d8 --- /dev/null +++ b/gnome-software-PK-updates.patch @@ -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); diff --git a/gnome-software.changes b/gnome-software.changes index bdae252..d247716 100644 --- a/gnome-software.changes +++ b/gnome-software.changes @@ -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 diff --git a/gnome-software.spec b/gnome-software.spec index 72dffec..bbac9ab 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -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 \