[gnome-software] Add metainfo file for various optional plugins
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Add metainfo file for various optional plugins
- Date: Tue, 6 Dec 2016 15:05:49 +0000 (UTC)
commit 23a95986344b807c2e4ee21a9c52401b619e45c2
Author: Richard Hughes <richard hughsie com>
Date: Tue Dec 6 10:26:45 2016 +0000
Add metainfo file for various optional plugins
The idea here is that distros can ship the less-well-supported, esoteric or
politically challenging plugins in a different sub-package that could be easily
installed by the end user if desired.
contrib/gnome-software.spec.in | 5 +++++
po/POTFILES.in | 7 +++++++
src/plugins/Makefile.am | 16 ++++++++++++++++
....gnome.Software.Plugin.Epiphany.metainfo.xml.in | 11 +++++++++++
...g.gnome.Software.Plugin.Flatpak.metainfo.xml.in | 12 ++++++++++++
...org.gnome.Software.Plugin.Fwupd.metainfo.xml.in | 12 ++++++++++++
...org.gnome.Software.Plugin.Limba.metainfo.xml.in | 12 ++++++++++++
.../org.gnome.Software.Plugin.Odrs.metainfo.xml.in | 12 ++++++++++++
.../org.gnome.Software.Plugin.Snap.metainfo.xml.in | 12 ++++++++++++
...org.gnome.Software.Plugin.Steam.metainfo.xml.in | 12 ++++++++++++
10 files changed, 111 insertions(+), 0 deletions(-)
---
diff --git a/contrib/gnome-software.spec.in b/contrib/gnome-software.spec.in
index 424f73e..a7d824c 100644
--- a/contrib/gnome-software.spec.in
+++ b/contrib/gnome-software.spec.in
@@ -149,6 +149,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/gnome-software/featured-*.svg
%{_datadir}/gnome-software/featured-*.jpg
+%{_datadir}/appdata/org.gnome.Software.Plugin.Epiphany.metainfo.xml
+%{_datadir}/appdata/org.gnome.Software.Plugin.Flatpak.metainfo.xml
+%{_datadir}/appdata/org.gnome.Software.Plugin.Fwupd.metainfo.xml
+%{_datadir}/appdata/org.gnome.Software.Plugin.Odrs.metainfo.xml
+%{_datadir}/appdata/org.gnome.Software.Plugin.Steam.metainfo.xml
%dir %{_libdir}/gs-plugins-%{gs_plugin_version}
%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_appstream.so
%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_desktop-categories.so
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 80f4397..e552ee1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -69,3 +69,10 @@ src/gs-shell-loading.c
[type: gettext/glade]src/gs-shell-loading.ui
src/plugins/gs-desktop-common.c
src/plugins/gs-install-appstream.c
+src/plugins/org.gnome.Software.Plugin.Epiphany.metainfo.xml.in
+src/plugins/org.gnome.Software.Plugin.Flatpak.metainfo.xml.in
+src/plugins/org.gnome.Software.Plugin.Fwupd.metainfo.xml.in
+src/plugins/org.gnome.Software.Plugin.Limba.metainfo.xml.in
+src/plugins/org.gnome.Software.Plugin.Odrs.metainfo.xml.in
+src/plugins/org.gnome.Software.Plugin.Snap.metainfo.xml.in
+src/plugins/org.gnome.Software.Plugin.Steam.metainfo.xml.in
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index f7f5a89..95fef90 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -52,6 +52,8 @@ plugin_LTLIBRARIES = \
libgs_plugin_icons.la \
libgs_plugin_ubuntuone.la
+appdata_in_files =
+
if HAVE_EXTERNAL_APPSTREAM
plugin_LTLIBRARIES += libgs_plugin_external-appstream.la
@@ -183,6 +185,7 @@ libgs_plugin_fedora_tagger_usage_la_LIBADD = $(GS_PLUGIN_LIBS) $(SOUP_LIBS) $(SQ
libgs_plugin_fedora_tagger_usage_la_LDFLAGS = -module -avoid-version
libgs_plugin_fedora_tagger_usage_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
+appdata_in_files += org.gnome.Software.Plugin.Epiphany.metainfo.xml.in
libgs_plugin_epiphany_la_SOURCES = gs-plugin-epiphany.c
libgs_plugin_epiphany_la_LIBADD = $(GS_PLUGIN_LIBS) $(SOUP_LIBS)
libgs_plugin_epiphany_la_LDFLAGS = -module -avoid-version
@@ -202,6 +205,7 @@ libgs_plugin_appstream_la_LDFLAGS = -module -avoid-version
libgs_plugin_appstream_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
if HAVE_LIMBA
+appdata_in_files += org.gnome.Software.Plugin.Limba.metainfo.xml.in
libgs_plugin_limba_la_SOURCES = gs-plugin-limba.c
libgs_plugin_limba_la_LIBADD = $(GS_PLUGIN_LIBS) $(LIMBA_LIBS)
libgs_plugin_limba_la_LDFLAGS = -module -avoid-version
@@ -209,6 +213,7 @@ libgs_plugin_limba_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
endif
if HAVE_FLATPAK
+appdata_in_files += org.gnome.Software.Plugin.Flatpak.metainfo.xml.in
libgs_plugin_flatpak_la_SOURCES = \
gs-appstream.c \
gs-appstream.h \
@@ -230,6 +235,7 @@ libgs_plugin_ostree_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
endif
if HAVE_ODRS
+appdata_in_files += org.gnome.Software.Plugin.Odrs.metainfo.xml.in
libgs_plugin_odrs_la_SOURCES = gs-plugin-odrs.c
libgs_plugin_odrs_la_LIBADD = $(GS_PLUGIN_LIBS) $(JSON_GLIB_LIBS)
libgs_plugin_odrs_la_LDFLAGS = -module -avoid-version
@@ -244,6 +250,7 @@ libgs_plugin_rpm_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
endif
if HAVE_STEAM
+appdata_in_files += org.gnome.Software.Plugin.Steam.metainfo.xml.in
libgs_plugin_steam_la_SOURCES = gs-plugin-steam.c
libgs_plugin_steam_la_LIBADD = $(GS_PLUGIN_LIBS)
libgs_plugin_steam_la_LDFLAGS = -module -avoid-version
@@ -337,6 +344,7 @@ libgs_plugin_systemd_updates_la_LDFLAGS = -module -avoid-version
libgs_plugin_systemd_updates_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
if HAVE_FIRMWARE
+appdata_in_files += org.gnome.Software.Plugin.Fwupd.metainfo.xml.in
libgs_plugin_fwupd_la_SOURCES = gs-plugin-fwupd.c
libgs_plugin_fwupd_la_LIBADD = $(GS_PLUGIN_LIBS) $(FWUPD_LIBS)
libgs_plugin_fwupd_la_LDFLAGS = -module -avoid-version
@@ -375,6 +383,7 @@ libgs_plugin_packagekit_proxy_la_LDFLAGS = -module -avoid-version
libgs_plugin_packagekit_proxy_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
if HAVE_SNAP
+appdata_in_files += org.gnome.Software.Plugin.Snap.metainfo.xml.in
libgs_plugin_snap_la_SOURCES = \
gs-plugin-snap.c \
gs-snapd.h \
@@ -397,6 +406,13 @@ libgs_plugin_ubuntuone_la_LIBADD = \
libgs_plugin_ubuntuone_la_LDFLAGS = -module -avoid-version
libgs_plugin_ubuntuone_la_CFLAGS = $(GS_PLUGIN_CFLAGS) $(WARN_CFLAGS)
+# MetaInfo files
+@INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+EXTRA_DIST = $(appdata_in_files)
+CLEANFILES = $(appdata_DATA)
+
if ENABLE_TESTS
check_PROGRAMS = \
gs-self-test
diff --git a/src/plugins/org.gnome.Software.Plugin.Epiphany.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Epiphany.metainfo.xml.in
new file mode 100644
index 0000000..578978b
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Epiphany.metainfo.xml.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Epiphany</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Wed Apps Support</_name>
+ <_summary>Run popular web applications in a browser</_summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/src/plugins/org.gnome.Software.Plugin.Flatpak.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Flatpak.metainfo.xml.in
new file mode 100644
index 0000000..f4a976d
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Flatpak.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Flatpak</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Flatpak Support</_name>
+ <_summary>Flatpak is a framework for desktop applications on Linux</_summary>
+ <url type="homepage">http://flatpak.org/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/src/plugins/org.gnome.Software.Plugin.Fwupd.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Fwupd.metainfo.xml.in
new file mode 100644
index 0000000..384ab2b
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Fwupd.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Fwupd</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Firmware Upgrade Support</_name>
+ <_summary>Provides support for firmware upgrades</_summary>
+ <url type="homepage">http://www.fwupd.org</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/src/plugins/org.gnome.Software.Plugin.Limba.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Limba.metainfo.xml.in
new file mode 100644
index 0000000..a409e38
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Limba.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Limba</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Limba Support</_name>
+ <_summary>Limba provides developers a way to easily create software bundles</_summary>
+ <url type="homepage">https://people.freedesktop.org/~mak/limba/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/src/plugins/org.gnome.Software.Plugin.Odrs.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Odrs.metainfo.xml.in
new file mode 100644
index 0000000..8e91184
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Odrs.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Odrs</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Open Desktop Ratings Support</_name>
+ <_summary>ODRS is a service providing user reviews of applications</_summary>
+ <url type="homepage">https://odrs.gnome.org/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/src/plugins/org.gnome.Software.Plugin.Snap.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Snap.metainfo.xml.in
new file mode 100644
index 0000000..cc01aea
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Snap.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Snap</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Snappy Support</_name>
+ <_summary>A snap is a universal Linux package</_summary>
+ <url type="homepage">https://www.ubuntu.com/desktop/snappy</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/src/plugins/org.gnome.Software.Plugin.Steam.metainfo.xml.in
b/src/plugins/org.gnome.Software.Plugin.Steam.metainfo.xml.in
new file mode 100644
index 0000000..36fa13c
--- /dev/null
+++ b/src/plugins/org.gnome.Software.Plugin.Steam.metainfo.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013-2016 Richard Hughes <richard hughsie com> -->
+<component type="addon">
+ <id>org.gnome.Software.Plugin.Steam</id>
+ <extends>org.gnome.Software.desktop</extends>
+ <_name>Steam Support</_name>
+ <_summary>The ultimate entertainment platform from Valve</_summary>
+ <url type="homepage">http://store.steampowered.com/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <update_contact>richard_at_hughsie.com</update_contact>
+</component>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]