From dda17eda2a905f84f4380d1d950fd814f863f994 Mon Sep 17 00:00:00 2001 From: lanruo Date: Mon, 7 Aug 2023 17:34:48 +0800 Subject: [PATCH 1/2] fix yelp is not displayed in the control center --- ...displayed-in-the-control-center-4925.patch | 36 +++++++++++++++++++ yelp.spec | 9 ++++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 fix-yelp-is-not-displayed-in-the-control-center-4925.patch diff --git a/fix-yelp-is-not-displayed-in-the-control-center-4925.patch b/fix-yelp-is-not-displayed-in-the-control-center-4925.patch new file mode 100644 index 0000000..314c11d --- /dev/null +++ b/fix-yelp-is-not-displayed-in-the-control-center-4925.patch @@ -0,0 +1,36 @@ +From 4907896e18da715de4896aaabddfa59178dd5d0a Mon Sep 17 00:00:00 2001 +From: yangchenguang +Date: Tue, 11 Apr 2023 09:57:02 +0800 +Subject: [PATCH] fix(*) yelp is not displayed in the control center (#49251) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 修复yelp在控制中心不显示 + +Signed-off-by: yangchenguang +--- + yelp.desktop.in | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/yelp.desktop.in b/yelp.desktop.in +index 7c1044a..119aa35 100644 +--- a/yelp.desktop.in ++++ b/yelp.desktop.in +@@ -3,12 +3,11 @@ Name=Help + Comment=Get help with GNOME + # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! + Keywords=documentation;information;manual;help; +-OnlyShowIn=GNOME;Unity; + Exec=yelp %u + # Translators: Do NOT translate or transliterate this text (this is an icon file name)! + Icon=org.gnome.Yelp + StartupNotify=true + Terminal=false + Type=Application +-Categories=GNOME;GTK;Core;Documentation;Utility; ++Categories=GNOME;GTK;Core;Documentation;Utility;X-Kylin-Doc; + MimeType=x-scheme-handler/ghelp;x-scheme-handler/help;x-scheme-handler/info;x-scheme-handler/man; +-- +2.33.0 + diff --git a/yelp.spec b/yelp.spec index f70cba3..d7fe558 100644 --- a/yelp.spec +++ b/yelp.spec @@ -1,7 +1,7 @@ Name: yelp Epoch: 2 Version: 3.38.3 -Release: 1 +Release: 2 Summary: Help browser for the GNOME desktop License: LGPLv2+ and ASL 2.0 and GPLv2+ URL: https://wiki.gnome.org/Apps/Yelp @@ -9,6 +9,7 @@ Source: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{versio # https://bugzilla.gnome.org/show_bug.cgi?id=687960 Patch1: 0001-Center-new-windows.patch +Patch2: fix-yelp-is-not-displayed-in-the-control-center-4925.patch BuildRequires: gcc gtk3-devel xz-devel libxml2-devel libxslt-devel BuildRequires: sqlite-devel webkit2gtk3-devel yelp-xsl-devel @@ -85,6 +86,12 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop %{_datadir}/gtk-doc %changelog +* Tue Apr 11 2023 yangchenguang - 2:3.38.3-1.kb1 +- KYOS-F: fix yelp is not displayed in the control center (#49251) + +* Thu Jan 05 2023 kpkg +- rebuild for KY3.5-2 + * Tue Jun 22 2021 weijin deng - 2:3.38.3-1 - Upgrade to 2:3.38.3 -- Gitee From ae4efce5418b3c2d06cb101e6a141c40527d857c Mon Sep 17 00:00:00 2001 From: lanruo Date: Thu, 10 Aug 2023 11:16:58 +0800 Subject: [PATCH 2/2] modified yelp.spec --- yelp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yelp.spec b/yelp.spec index d7fe558..a0cb9a1 100644 --- a/yelp.spec +++ b/yelp.spec @@ -9,7 +9,7 @@ Source: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{versio # https://bugzilla.gnome.org/show_bug.cgi?id=687960 Patch1: 0001-Center-new-windows.patch -Patch2: fix-yelp-is-not-displayed-in-the-control-center-4925.patch +Patch2: 0002-fix-yelp-is-not-displayed-in-the-control-center-4925.patch BuildRequires: gcc gtk3-devel xz-devel libxml2-devel libxslt-devel BuildRequires: sqlite-devel webkit2gtk3-devel yelp-xsl-devel -- Gitee