[glom/gmenu] Add an appdata.xml file.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gmenu] Add an appdata.xml file.
- Date: Fri, 13 Sep 2013 21:03:59 +0000 (UTC)
commit 3efcaa4fb2bb7c782b34314136422c7e315f464f
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Sep 3 16:00:50 2013 +0200
Add an appdata.xml file.
* glom.appdata.xml.in: Add the file.
* configure.ac: Create glom.appdata.xml from the .in file.
This lets us translate it.
* po/POTFILES.in: Mention the file so its contents can
be translated.
* Makefile.am: Install the file next to the .desktop file.
This is needed by the new GNOME Software Center.
Makefile.am | 12 +++++++++++-
configure.ac | 1 +
glom.appdata.xml.in | 16 ++++++++++++++++
po/POTFILES.in | 1 +
4 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ddb8bc8..e73aa6b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -239,6 +239,16 @@ else
desktop_DATA = glom.desktop
endif
+
+appdatadir = $(datadir)/appdata
+
+if HOST_WIN32
+appdata_DATA =
+else
+appdata_DATA = glom.appdata.xml
+endif
+
+
mimedir = $(datadir)/mime
mimepackagesdir = $(mimedir)/packages
dist_mimepackages_DATA = glom.xml
@@ -257,7 +267,7 @@ dist_noinst_SCRIPTS += autogen.sh win32/build-installer
# messages.mo is apparently generated because we have .po files under examples/po_files, in git,
# TODO: Is there some way to tell the build to ignore them?
-CLEANFILES = $(dbusservice_DATA) $(desktop_DATA) $(win_resfile) $(top_builddir)/messages.mo
+CLEANFILES = $(dbusservice_DATA) $(desktop_DATA) $(appdata_DATA) $(win_resfile) $(top_builddir)/messages.mo
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
MAINTAINERCLEANFILES += \
$(dist_docutils) $(dist_intltool) \
diff --git a/configure.ac b/configure.ac
index e592549..a882f35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -365,6 +365,7 @@ AC_MSG_RESULT($enable_gcov)
AC_CONFIG_FILES([Makefile
docs/user-guide/Makefile
po/Makefile.in
+ glom.appdata.xml
glom.desktop.in
glom/libglom/glom-${GLOM_ABI_VERSION}.pc:glom/libglom/glom.pc.in
docs/libglom_reference/Makefile
diff --git a/glom.appdata.xml.in b/glom.appdata.xml.in
new file mode 100644
index 0000000..c24f5f4
--- /dev/null
+++ b/glom.appdata.xml.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">org.gnome.glom.desktop</id>
+ <licence>CC0</licence>
+ <description>
+ <_p>
+ With Glom you can design database systems - the database and the user interface.
+ </_p>
+ </description>
+ <screenshots>
+ <screenshot type="default">http://www.glom.org/wiki/images/7/7b/Small_glom_data_details.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://www.glom.org/</url>
+ <updatecontact>murrayc_at_murrayc.com</updatecontact>
+</application>
+
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3e4e19f..146a269 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -8,6 +8,7 @@ glom/base_db_table_data.cc
glom/base_db_table_data_readonly.cc
glom/box_reports.cc
glom/box_withbuttons.cc
+glom.appdata.xml.in
glom.desktop.in.in
glom/dialog_connection.cc
glom/dialog_existing_or_new.cc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]