Change metainfo icon from SVG to PNG file

This commit is contained in:
Takao Fujiwara 2022-08-03 18:12:16 +09:00
parent 6431ac298a
commit eba07831da
2 changed files with 9 additions and 6 deletions

View File

@ -77,9 +77,9 @@ index 88b19b8..3e82f2e 100644
-- --
2.34.1 2.34.1
From 2e9f751c45f1002a75e44daa200a379808479e9f Mon Sep 17 00:00:00 2001 From 8cfc210cccbe7324e1fbe7d7911eba33c786a520 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com> From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Tue, 2 Aug 2022 11:14:48 +0900 Date: Wed, 3 Aug 2022 18:02:02 +0900
Subject: [PATCH] data: Add icon tag in ibus-anthy.appdata.xml.in Subject: [PATCH] data: Add icon tag in ibus-anthy.appdata.xml.in
--- ---
@ -87,7 +87,7 @@ Subject: [PATCH] data: Add icon tag in ibus-anthy.appdata.xml.in
1 files changed, 103 insertions(+), 77 deletions(-) 1 files changed, 103 insertions(+), 77 deletions(-)
diff --git a/data/ibus-anthy.appdata.xml.in b/data/ibus-anthy.appdata.xml.in diff --git a/data/ibus-anthy.appdata.xml.in b/data/ibus-anthy.appdata.xml.in
index 8f246e9..be67f9d 100644 index 8f246e9..af32a5a 100644
--- a/data/ibus-anthy.appdata.xml.in --- a/data/ibus-anthy.appdata.xml.in
+++ b/data/ibus-anthy.appdata.xml.in +++ b/data/ibus-anthy.appdata.xml.in
@@ -1,10 +1,12 @@ @@ -1,10 +1,12 @@
@ -99,7 +99,7 @@ index 8f246e9..be67f9d 100644
<project_license>GPL-2.0</project_license> <project_license>GPL-2.0</project_license>
<name translatable="no">Anthy</name> <name translatable="no">Anthy</name>
<summary>Japanese input method</summary> <summary>Japanese input method</summary>
+ <icon type="local">/usr/share/icons/hicolor/scalable/apps/ibus-anthy.svg</icon> + <icon type="remote" width="48" height="48">https://raw.githubusercontent.com/ibus/ibus-anthy/main/icons/ibus-anthy.png</icon>
<description> <description>
<p> <p>
The Anthy input method is designed for entering Japanese text. The Anthy input method is designed for entering Japanese text.
@ -127,7 +127,7 @@ index 8f246e9..be67f9d 100644
+ <screenshots> + <screenshots>
+ <screenshot type="default"> + <screenshot type="default">
+ <caption>The Anthy input method is designed for entering Japanese text.</caption> + <caption>The Anthy input method is designed for entering Japanese text.</caption>
+ <image type="source" width="236" height="200">https://camo.githubusercontent.com/3646c511fba557137a316be913f01fc3114e0db9c990acdfa18c29f52b5a6538/687474703a2f2f696275732e6769746875622e696f2f696d616765732f322e706e67#/ibus-anthy.jpg</image> + <image type="source" width="236" height="200">http://ibus.github.io/images/2.png</image>
+ </screenshot> + </screenshot>
+ </screenshots> + </screenshots>
<translation type="gettext">ibus-anthy</translation> <translation type="gettext">ibus-anthy</translation>

View File

@ -18,7 +18,7 @@
Name: ibus-anthy Name: ibus-anthy
Version: 1.5.14 Version: 1.5.14
Release: 6%{?dist} Release: 7%{?dist}
Summary: The Anthy engine for IBus input platform Summary: The Anthy engine for IBus input platform
License: GPLv2+ License: GPLv2+
URL: https://github.com/ibus/ibus/wiki URL: https://github.com/ibus/ibus/wiki
@ -156,6 +156,9 @@ make -C data check
%{_datadir}/installed-tests/%{name} %{_datadir}/installed-tests/%{name}
%changelog %changelog
* Wed Aug 03 2022 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-7
- Change metainfo icon from SVG to PNG file
* Wed Aug 03 2022 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-6 * Wed Aug 03 2022 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-6
- Add icon tag in ibus-anthy.appdata.xml.in - Add icon tag in ibus-anthy.appdata.xml.in
- Enable IBus.Engine::has-focus-id property - Enable IBus.Engine::has-focus-id property