[Xfce4-commits] [xfce/xfce4-power-manager] 01/06: Add basic AppData support
noreply at xfce.org
noreply at xfce.org
Tue May 27 12:32:12 CEST 2014
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 73dd8a165854cd2b86295372a5f1a3ed2d056443
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri May 23 15:41:36 2014 +0200
Add basic AppData support
---
configure.ac.in | 1 +
data/Makefile.am | 3 +-
data/appdata/Makefile.am | 10 ++++
data/appdata/xfce4-power-manager.appdata.xml.in | 73 +++++++++++++++++++++++
po/POTFILES.in | 1 +
5 files changed, 87 insertions(+), 1 deletion(-)
diff --git a/configure.ac.in b/configure.ac.in
index 2891d07..a72e676 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -232,6 +232,7 @@ data/icons/scalable/Makefile
data/icons/scalable/status/Makefile
data/icons/scalable/actions/Makefile
data/interfaces/Makefile
+data/appdata/Makefile
po/Makefile.in
])
AC_OUTPUT
diff --git a/data/Makefile.am b/data/Makefile.am
index 5010034..3e386a2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,3 +1,4 @@
SUBDIRS = \
icons \
- interfaces
\ No newline at end of file
+ interfaces \
+ appdata
\ No newline at end of file
diff --git a/data/appdata/Makefile.am b/data/appdata/Makefile.am
new file mode 100644
index 0000000..0f71ff8
--- /dev/null
+++ b/data/appdata/Makefile.am
@@ -0,0 +1,10 @@
+#
+# .appdata
+#
+ at INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = xfce4-power-manager.appdata.xml.in
+
+DISTCLEANFILES = \
+ $(appdata_DATA)
\ No newline at end of file
diff --git a/data/appdata/xfce4-power-manager.appdata.xml.in b/data/appdata/xfce4-power-manager.appdata.xml.in
new file mode 100644
index 0000000..80d1757
--- /dev/null
+++ b/data/appdata/xfce4-power-manager.appdata.xml.in
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Eric Koegel <eric.koegel at gmail.com> and Simon Steinbeiß <simon at xfce.org> -->
+<component type="desktop">
+ <id>parole.desktop</id>
+ <metadata_license>CC-BY-3.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>Xfce power manager</name>
+ <summary>Manage and reduce power consumption of computer and devices</summary>
+
+ <description>
+ <_p>Xfce power manager manages the power sources on the computer
+ and the devices that can be controlled to reduce their power
+ consumption (such as LCD brightness level, monitor sleep,
+ CPU frequency scaling).
+ </_p>
+ <_p>In addition, Xfce power manager provides a set of freedesktop-compliant
+ DBus interfaces to inform other applications about current power level
+ so that they can adjust their power consumption, and it provides the inhibit
+ interface which allows applications to prevent automatic sleep actions
+ via the power manager; as an example, the operating system’s package manager
+ should make use of this interface while it is performing update operations.
+ </_p>
+ <_p>Xfce power manager also provides two plugins for the Xfce panel,
+ one to control LCD brightness levels and a second plugin to monitor battery
+ and device charge levels.
+ </_p>
+ </description>
+
+ <screenshots>
+ <screenshot type="default">
+ <image></image>
+ </screenshot>
+ <screenshot>
+ <caption>Xfce power manager's settings dialog and panel plugin</caption>
+ <image></image>
+ </screenshot>
+ </screenshots>
+
+ <url type="homepage">http://www.xfce.org/</url>
+ <url type="bugtracker">https://bugzilla.xfce.org/</url>
+ <url type="help">http://http://http://docs.xfce.org/xfce/xfce4-power-manager/start</url>
+
+ <updatecontact>xfce4-dev at xfce.org</updatecontact>
+
+ <project_group>XFCE</project_group>
+
+ <provides>
+ <binary>xfce4-power-manager</binary>
+ <binary>xfce4-power-manager-settings</binary>
+ </provides>
+
+ <releases>
+ <release version="1.3.0" timestamp="">
+ <description>
+ <_p>This development release introduces a lot of new features, among them
+ suspending/hibernation without systemd and UPower>=0.99. It allows for
+ individual control of systemd-inhibition, a new panel plugin to monitor
+ battery and device charge levels replaces the trayicon. The settings dialog
+ has been completely restructured for better oversight and many open bugs
+ have been fixed and translations have been updated.
+ </_p>
+ </description>
+ </release>
+
+ <release version="1.2.0" timestamp="1335645654">
+ <description>
+ <_p>This stable release fixes compilation problems, a memory leak and
+ a few other minor bugs. Furthermore it provides updated translations.
+ </_p>
+ </description>
+ </release>
+
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ea09e91..8487281 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -20,3 +20,4 @@ src/xfce4-power-manager.desktop.in
src/org.xfce.power.policy.in2
panel-plugins/brightness/brightness-button.c
panel-plugins/brightness/xfce4-brightness-plugin.desktop.in.in
+data/appdata/xfce4-power-manager.appdata.xml.in
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list