[libgda] Control center: added AppData file and fixed icon install location
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Control center: added AppData file and fixed icon install location
- Date: Mon, 22 Dec 2014 20:25:47 +0000 (UTC)
commit 62b24d40bb95a9fd1b2192244c7b5742695afaed
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Dec 22 21:16:30 2014 +0100
Control center: added AppData file and fixed icon install location
configure.ac | 1 +
control-center/.gitignore | 4 +++-
control-center/Makefile.am | 15 +++++++++++++--
.../gda-control-center-6.0.appdata.xml.in | 19 +++++++++++++++++++
control-center/gda-control-center-6.0.desktop.in | 9 ---------
.../gda-control-center-6.0.desktop.in.in | 14 ++++++++++++++
6 files changed, 50 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5b34cb9..424e03c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1014,6 +1014,7 @@ libgda-ui/demos/Makefile
libgda-ui/demos/geninclude.pl
libgda-ui/glade/Makefile
control-center/Makefile
+control-center/gda-control-center-6.0.desktop.in
control-center/data/Makefile
tools/Makefile
tools/gda-sql-6.0.1:tools/gda-sql.1.in
diff --git a/control-center/.gitignore b/control-center/.gitignore
index 498446e..3c70229 100644
--- a/control-center/.gitignore
+++ b/control-center/.gitignore
@@ -1,3 +1,5 @@
gda-control-center-6.0
-gda-control-center-6.*.desktop
+gda-control-center-*.desktop
+gda-control-center-*.desktop.in
control-center.gresources.c
+gda-control-center-*.appdata.xml
\ No newline at end of file
diff --git a/control-center/Makefile.am b/control-center/Makefile.am
index c8c46f2..5dba253 100644
--- a/control-center/Makefile.am
+++ b/control-center/Makefile.am
@@ -62,8 +62,17 @@ gda_control_center_6_0_LDADD=\
$(top_builddir)/libgda-ui/libgda-ui-6.0.la \
$(COREDEPS_LIBS) $(GTK_LIBS)
- INTLTOOL_DESKTOP_RULE@
+# app icon
+appiconsdir=$(datadir)/pixmaps
+appicons_DATA= \
+ gda-control-center.png
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = gda-control-center-6.0.appdata.xml.in
+
+ INTLTOOL_DESKTOP_RULE@
desktopdir=$(datadir)/applications
Desktop_in_files = gda-control-center-6.0.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
@@ -72,9 +81,11 @@ EXTRA_DIST = \
control-center.gresource.xml \
control-center-res.rc \
gda-control-center.ico \
+ $(appdata_in_files) \
$(Desktop_in_files)
-DISTCLEANFILES = $(desktop_DATA)
+DISTCLEANFILES = $(desktop_DATA) \
+ $(appdata_DATA)
CLEANFILES = \
control-center.gresources.c
diff --git a/control-center/gda-control-center-6.0.appdata.xml.in
b/control-center/gda-control-center-6.0.appdata.xml.in
new file mode 100644
index 0000000..c2b5c25
--- /dev/null
+++ b/control-center/gda-control-center-6.0.appdata.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Vivien Malerba <malerba gnome-db org> -->
+
+<application>
+ <id type="desktop">gda-control-center-6.0.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <summary></summary>
+ <description>
+ <_p>
+ From the database control center, you can manage the defined named data sources (database
connections), and
+ check which database providers are installed (and useable to connect to different databases).
+ </_p>
+ </description>
+ <url type="homepage">http://www.gnome-db.org/</url>
+ <screenshots>
+ <screenshot
type="default">http://www.gnome-db.org/ScreenShots?action=AttachFile&do=get&target=gdp2.png</screenshot>
+ </screenshots>
+ <updatecontact>vmalerba_at_gmail.com</updatecontact>
+</application>
diff --git a/control-center/gda-control-center-6.0.desktop.in.in
b/control-center/gda-control-center-6.0.desktop.in.in
new file mode 100644
index 0000000..d2ebbdb
--- /dev/null
+++ b/control-center/gda-control-center-6.0.desktop.in.in
@@ -0,0 +1,14 @@
+[Desktop Entry]
+_Name=Database access control center
+_Comment=Configure your database access environment
+Icon=gda-control-center
+Exec=gda-control-center-6.0
+Terminal=false
+Type=Application
+Categories=Settings;DesktopSettings;
+StartupNotify=true
+Keywords=SGBD;PostgreSQL;MySQL;SQLite;JDBC;LDAP;DSN;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=Libgda
+X-GNOME-Bugzilla-Component=ControlCenter
+X-GNOME-Bugzilla-Version= GDA_VERSION@
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]