Accepting request 1193725 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1193725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/PackageKit?expand=0&rev=238
This commit is contained in:
Dominique Leuenberger 2024-08-14 12:13:58 +00:00 committed by Git OBS Bridge
commit 6191e0937c
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,35 @@
From d8f84f7e0a017e0b4df1e08a2a6be832c9fb3611 Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <matthias@tenstral.net>
Date: Tue, 21 May 2024 02:33:55 +0200
Subject: [PATCH] metainfo: Mark PK as compulsory for most desktops
Ideally, AppStream needs a way to just mark a component as critical for
the system to function and prevent its removal. But this is okay as a
temporary fix.
Resolves: #759
---
data/org.freedesktop.packagekit.metainfo.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/data/org.freedesktop.packagekit.metainfo.xml b/data/org.freedesktop.packagekit.metainfo.xml
index 13b7a316d..ce47582a8 100644
--- a/data/org.freedesktop.packagekit.metainfo.xml
+++ b/data/org.freedesktop.packagekit.metainfo.xml
@@ -27,6 +27,16 @@
<url type="homepage">https://www.freedesktop.org/software/PackageKit</url>
<launchable type="service">packagekit.service</launchable>
+
+ <compulsory_for_desktop>Cinnamon</compulsory_for_desktop>
+ <compulsory_for_desktop>GNOME</compulsory_for_desktop>
+ <compulsory_for_desktop>KDE</compulsory_for_desktop>
+ <compulsory_for_desktop>LXQt</compulsory_for_desktop>
+ <compulsory_for_desktop>MATE</compulsory_for_desktop>
+ <compulsory_for_desktop>Pantheon</compulsory_for_desktop>
+ <compulsory_for_desktop>Unity</compulsory_for_desktop>
+ <compulsory_for_desktop>XFCE</compulsory_for_desktop>
+
<categories>
<category>System</category>
</categories>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 13 09:17:52 UTC 2024 - Alynx Zhou <alynx.zhou@suse.com>
- Add PackageKit-mark-as-compulsory.patch: Prevent PackageKit from
user uninstallable for most desktops (bsc#1226269).
-------------------------------------------------------------------
Tue Mar 5 14:14:09 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -57,6 +57,8 @@ Patch7: PackageKit-zypp-disable-upgrade-system-in-sle.patch
Patch15: PackageKit-fix-pkcon-permission.patch
# PATCH-FIX-UPSTREAM PackageKit-dynamic-export.patch boo#1213309 dimstar@opensuse.org -- Fix loading modules when built with glib 2.70
Patch16: PackageKit-dynamic-export.patch
# PATCH-FIX-UPSTREAM PackageKit-mark-as-compulsory.patch bsc#1226269 alynx.zhou@suse.com -- Prevent PackageKit from user uninstallable
Patch17: PackageKit-mark-as-compulsory.patch
# PATCH-FIX-SLE PackageKit-find-python-3-6.patch alynx.zhou@suse.com -- Build PackageKit with Python 3.6
Patch1001: PackageKit-find-python-3-6.patch
@ -284,6 +286,7 @@ This package provides the upstream default configuration for PackageKit.
%patch -P 7 -p1
%patch -P 15 -p1
%patch -P 16 -p1
%patch -P 17 -p1
%if 0%{?sle_version} && 0%{?sle_version} < 160000
%patch -P 1001 -p1
%endif