!4 Update to version 43.0
From: @wang--ge Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e3b3cfcdc7
Binary file not shown.
BIN
gnome-packagekit-43.0.tar.xz
Normal file
BIN
gnome-packagekit-43.0.tar.xz
Normal file
Binary file not shown.
@ -1,11 +1,12 @@
|
|||||||
Name: gnome-packagekit
|
Name: gnome-packagekit
|
||||||
Version: 3.32.0
|
Version: 43.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Allows the session user to manage packages in a secure way
|
Summary: Allows the session user to manage packages in a secure way
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.packagekit.org
|
URL: http://www.packagekit.org
|
||||||
Source0: http://download.gnome.org/sources/gnome-packagekit/3.32/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/gnome-packagekit/43/%{name}-%{version}.tar.xz
|
||||||
|
Patch0: remove-icon-for-critical-updates.patch
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= 2.25.8
|
BuildRequires: glib2-devel >= 2.25.8
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
@ -70,6 +71,7 @@ without rebooting.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch 0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
@ -88,7 +90,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop
|
|||||||
|
|
||||||
%files common -f %{name}.lang
|
%files common -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README
|
%doc AUTHORS README.md
|
||||||
%{_bindir}/gpk-log
|
%{_bindir}/gpk-log
|
||||||
%{_bindir}/gpk-prefs
|
%{_bindir}/gpk-prefs
|
||||||
%dir %{_datadir}/gnome-packagekit
|
%dir %{_datadir}/gnome-packagekit
|
||||||
@ -109,18 +111,21 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop
|
|||||||
%files installer
|
%files installer
|
||||||
%{_bindir}/gpk-application
|
%{_bindir}/gpk-application
|
||||||
%{_datadir}/applications/org.gnome.Packages.desktop
|
%{_datadir}/applications/org.gnome.Packages.desktop
|
||||||
%{_datadir}/metainfo/org.gnome.Packages.appdata.xml
|
%{_datadir}/metainfo/org.gnome.Packages.metainfo.xml
|
||||||
%{_mandir}/man1/gpk-application.1*
|
%{_mandir}/man1/gpk-application.1*
|
||||||
|
|
||||||
%files updater
|
%files updater
|
||||||
%{_bindir}/gpk-update-viewer
|
%{_bindir}/gpk-update-viewer
|
||||||
%{_datadir}/applications/org.gnome.PackageUpdater.desktop
|
%{_datadir}/applications/org.gnome.PackageUpdater.desktop
|
||||||
%{_datadir}/metainfo/org.gnome.PackageUpdater.appdata.xml
|
%{_datadir}/metainfo/org.gnome.PackageUpdater.metainfo.xml
|
||||||
%{_mandir}/man1/gpk-update-viewer.1*
|
%{_mandir}/man1/gpk-update-viewer.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 20 2023 Ge Wang <wang__ge@126.com> - 43.0-1
|
||||||
|
- Update to 43.0
|
||||||
|
|
||||||
* Thu Jun 30 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.32.0-1
|
* Thu Jun 30 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.32.0-1
|
||||||
- update to 3.32
|
- update to 3.32
|
||||||
|
|
||||||
* Fri Nov 22 2019 sunguoshuai <sunguoshuai@huawei.com> - 3.30.0-2
|
* Fri Nov 22 2019 sunguoshuai <sunguoshuai@huawei.com> - 3.30.0-2
|
||||||
- Package init.
|
- Package init.
|
||||||
|
|||||||
38
remove-icon-for-critical-updates.patch
Normal file
38
remove-icon-for-critical-updates.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From b1c03f304fef7c876be6c913630a2a36b14008d1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: wang--ge <wang__ge@126.com>
|
||||||
|
Date: Fri, 20 Oct 2023 11:41:21 +0800
|
||||||
|
Subject: [PATCH] remove icon for critical updates
|
||||||
|
|
||||||
|
---
|
||||||
|
src/gpk-enum.c | 1 -
|
||||||
|
src/gpk-self-test.c | 2 +-
|
||||||
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
|
||||||
|
index ba8a8cc..7dfaa03 100644
|
||||||
|
--- a/src/gpk-enum.c
|
||||||
|
+++ b/src/gpk-enum.c
|
||||||
|
@@ -36,7 +36,6 @@ static const PkEnumMatch enum_info_icon_name[] = {
|
||||||
|
{PK_INFO_ENUM_LOW, "pk-update-low"},
|
||||||
|
{PK_INFO_ENUM_NORMAL, "pk-update-normal"},
|
||||||
|
{PK_INFO_ENUM_IMPORTANT, "pk-update-high"},
|
||||||
|
- {PK_INFO_ENUM_CRITICAL, "pk-update-security"},
|
||||||
|
{PK_INFO_ENUM_SECURITY, "pk-update-security"},
|
||||||
|
{PK_INFO_ENUM_BUGFIX, "pk-update-bugfix"},
|
||||||
|
{PK_INFO_ENUM_ENHANCEMENT, "pk-update-enhancement"},
|
||||||
|
diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c
|
||||||
|
index 5f83296..60a1923 100644
|
||||||
|
--- a/src/gpk-self-test.c
|
||||||
|
+++ b/src/gpk-self-test.c
|
||||||
|
@@ -55,7 +55,7 @@ gpk_test_enum_func (void)
|
||||||
|
for (i = PK_INFO_ENUM_UNKNOWN+1; i < PK_INFO_ENUM_LAST; i++) {
|
||||||
|
string = gpk_info_enum_to_icon_name (i);
|
||||||
|
if (string == NULL || g_strcmp0 (string, "help-browser") == 0) {
|
||||||
|
- g_warning ("failed to get %s (got %s instead)", pk_info_enum_to_string (i), string);
|
||||||
|
+ g_warning ("failed to get %s", pk_info_enum_to_string (i));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user