From f8d5d6297449e34cad4e6fb15e2ca88870bc7da2 Mon Sep 17 00:00:00 2001 From: liuyumeng Date: Wed, 3 Nov 2021 10:41:16 +0800 Subject: [PATCH] Split the update-icon-cache sub-package from the main package --- gtk3.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gtk3.spec b/gtk3.spec index 694e726..af1f33b 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -14,7 +14,7 @@ #Basic Information Name: gtk3 Version: 3.24.29 -Release: 2 +Release: 3 Summary: GTK+ graphical user interface library License: LGPLv2+ URL: http://www.gtk.org @@ -73,6 +73,12 @@ Requires: gtk3 = %{version}-%{release} %description immodule-xim The gtk3-immodule-xim package contains XIM support for GTK+ 3. +%package -n gtk-update-icon-cache +Summary: Icon theme caching utility + +%description -n gtk-update-icon-cache +GTK+ can use the cache files created by gtk-update-icon-cache to avoid alot of system call and disk seek overhead when the application starts.Since the format of the cache files allows them to be mmap()ed shared between multiple applications,the overall memory consumption is reduced as well. + %package devel Summary: Development files for gtk+3 Requires: gtk3 = %{version}-%{release} @@ -168,7 +174,6 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || : %{_bindir}/broadwayd %{_bindir}/gtk-launch %{_bindir}/gtk-query-immodules-3.0* -%{_bindir}/gtk-update-icon-cache %{_libdir}/libgtk-3.so.* %{_libdir}/libgdk-3.so.* %{_libdir}/libgailutil-3.so.* @@ -194,6 +199,10 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || : %exclude %{_sysconfdir}/gtk-3.0/im-multipress.conf %endif +%files -n gtk-update-icon-cache +%license COPYING +%{_bindir}/gtk-update-icon-cache + %if 0%{?enable_immodules_package} %files immodules %config(noreplace) %{_sysconfdir}/gtk-3.0/im-multipress.conf @@ -256,6 +265,9 @@ gtk-query-immodules-3.0-64 --update-cache &>/dev/null || : %{_mandir}/man1/gtk3-widget-factory.1* %changelog +* Wed Nov 03 2021 liuyumeng - 3.24.29-3 +- Split the update-icon-cache sub-package from the main package + * Wed Jun 23 2021 chenbo pan - 3.24.29-2 - Fix virt-manager 'NoneType' object has no attribute 'conn' error -- Gitee