[niepce] Added the AppData and the desktop file
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] Added the AppData and the desktop file
- Date: Wed, 30 Jul 2014 22:34:34 +0000 (UTC)
commit 455330098f8c00a5228e56c5a471a451bfeb98e3
Author: Hubert Figuière <hub figuiere net>
Date: Wed Jul 30 15:18:02 2014 +0200
Added the AppData and the desktop file
data/Makefile.am | 25 +++++++++++++++++++++++++
data/niepce.appdata.xml.in | 30 ++++++++++++++++++++++++++++++
data/niepce.desktop.in.in | 11 +++++++++++
po/POTFILES.in | 2 ++
4 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 82f7307..c930423 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1 +1,26 @@
SUBDIRS = icons themes
+
+desktop_in_files = niepce.desktop.in
+desktop_files = $(desktop_in_files:.desktop.in=.desktop)
+
+desktopdir = $(datadir)/applications
+desktop_DATA = $(desktop_files)
+
+appdatadir = $(datarootdir)/appdata
+appdata_in_files = niepce.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
+EXTRA_DIST = \
+ $(desktop_in_files) \
+ $(appdata_in_files) \
+ $(null)
+
+
+CLEANFILES = \
+ $(appdata_DATA)
+ $(null)
+
+DISTCLEANFILES = \
+ $(desktop_files) \
+ $(null)
diff --git a/data/niepce.appdata.xml.in b/data/niepce.appdata.xml.in
new file mode 100644
index 0000000..fb31326
--- /dev/null
+++ b/data/niepce.appdata.xml.in
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">niepce.desktop</id>
+ <!-- this is the licence of the appdata file, not the project. Permitted values are 'CC0', 'CC BY' and 'CC
BY-SA' -->
+ <licence>CC0</licence>
+ <project_license>GPL-3.0+</project_license>
+ <!-- Only include 'name' if you want the software center name to be different to the 'Name' in the .desktop
file -->
+ <name>Niepce Digital</name>
+ <!-- Only include 'summary' if you want the software center name to be different to the 'Comment' in the
.desktop file -->
+ <summary>Advanced Photo Editing</summary>
+ <description>
+ <_p>
+ Niepce Digital is an application used to manage and edit photos.
+ </_p>
+ <_p>Features:</_p>
+ <!-- try not to use lists unless you have to. Paragraphs look a lot better in nearly all cases -->
+ <ul>
+ <_li>Photo library management</_li>
+ <_li>Non destructive image editing</_li>
+ <_li>RAW processing</_li>
+ </ul>
+ </description>
+ <screenshots>
+ <!-- the width and height are optional, but suggested -->
+ <screenshot type="default" width="1366" height="741"></screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Apps/Niepce</url>
+ <!-- this is someone that wants to be notified when we add to the appdata specification -->
+ <updatecontact>hub figuiere net</updatecontact>
+</application>
diff --git a/data/niepce.desktop.in.in b/data/niepce.desktop.in.in
new file mode 100644
index 0000000..0678d83
--- /dev/null
+++ b/data/niepce.desktop.in.in
@@ -0,0 +1,11 @@
+
+[Desktop Entry]
+_Name=Niepce Digital
+_Comment=Manage and edit your photos.
+_Keywords=photo;
+Exec=niepce %u
+Icon=niepce
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=GNOME;GTK;Graphics;Photo;
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1b7e0f9..a599fe4 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -20,3 +20,5 @@ src/niepce/modules/darkroom/toolboxcontroller.cpp
camerawire/src/cwwindow.cpp
magellan/src/mgwindow.cpp
[type: gettext/glade]magellan/src/mgwindow.ui
+[encoding: UTF-8]
+data/niepce.appdata.xml.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]