You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/ibus-cangjie/files/ibus-cangjie-2.4-metadata.p...

62 lines
2.2 KiB

https://github.com/Cangjians/ibus-cangjie/commit/378f57b9126eb2af7660c45073107ba8f1dac3f8
Author: Boyuan Yang <byang@debian.org>
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,7 +28,7 @@ ibus_cangjie_datadir = $(pkgdatadir)
@INTLTOOL_XML_RULE@
appdata_in_files = data/cangjie.appdata.xml.in data/quick.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
component_in_in_files = data/cangjie.xml.in.in data/quick.xml.in.in
component_DATA = $(component_in_in_files:.xml.in.in=.xml)
--- a/data/cangjie.appdata.xml.in
+++ b/data/cangjie.appdata.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<application>
- <id type="inputmethod">cangjie.xml</id>
- <licence>CC0</licence>
+<component type="inputmethod">
+ <id>cangjie.xml</id>
+ <metadata_license>CC0-1.0</metadata_license>
<_name>Cangjie</_name>
<_summary>Cangjie input method</_summary>
<description>
@@ -12,6 +12,6 @@
experience for people of the SAR by default, but provide useful options
for others.</_p>
</description>
- <url type="homepage">http://cangjians.github.io/ibus-cangjie</url>
- <updatecontact>hklug@googlegroups.com</updatecontact>
-</application>
+ <url type="homepage">https://cangjians.github.io/projects/ibus-cangjie/</url>
+ <update_contact>hklug@googlegroups.com</update_contact>
+</component>
--- a/data/quick.appdata.xml.in
+++ b/data/quick.appdata.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<application>
- <id type="inputmethod">quick.xml</id>
- <licence>CC0</licence>
+<component type="inputmethod">
+ <id>quick.xml</id>
+ <metadata_license>CC0-1.0</metadata_license>
<_name>Quick</_name>
<_summary>Quick input method</_summary>
<description>
@@ -13,6 +13,6 @@
experience for people of the SAR by default, but provide useful options
for others.</_p>
</description>
- <url type="homepage">http://cangjians.github.io/ibus-cangjie</url>
- <updatecontact>hklug@googlegroups.com</updatecontact>
-</application>
+ <url type="homepage">https://cangjians.github.io/projects/ibus-cangjie/</url>
+ <update_contact>hklug@googlegroups.com</update_contact>
+</component>