[Xfce4-commits] [apps/xfce4-panel-profiles] 108/162: Add appdata file and install (LP: #1554273)

noreply at xfce.org noreply at xfce.org
Fri Jul 13 13:10:07 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-panel-profiles.

commit dbd4864800f15bc45eb53547cee350ad3a782ab4
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Fri Mar 23 06:38:58 2018 -0400

    Add appdata file and install (LP: #1554273)
---
 Makefile.in.in                                     |  5 ++++
 .../org.xubuntu.XfpanelSwitch.appdata.xml.in       | 34 ++++++++++++++++++++++
 po/POTFILES.in                                     | 19 +++++++-----
 po/xfpanel-switch.pot                              | 13 ++++++++-
 4 files changed, 62 insertions(+), 9 deletions(-)

diff --git a/Makefile.in.in b/Makefile.in.in
index 0247224..a9ec0ce 100644
--- a/Makefile.in.in
+++ b/Makefile.in.in
@@ -6,6 +6,8 @@ DESTDIR=
 
 all: $(LANGUAGE_FILES) layouts
 	intltool-merge -d po xfpanel-switch.desktop.in xfpanel-switch.desktop
+	intltool-merge -x po data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in \
+		data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml
 	chmod +x xfpanel-switch.desktop
 	sed -e s,%prefix%,$(PREFIX), bin/$(APPNAME).in.in > bin/$(APPNAME).in
 	sed -e s,%python%,$(PYTHON), bin/$(APPNAME).in > bin/$(APPNAME)
@@ -48,6 +50,9 @@ install: all
 	install -d $(DESTDIR)/$(PREFIX)/share/xfpanel-switch/layouts
 	install data/layouts/*.tar.bz2 $(DESTDIR)/$(PREFIX)/share/xfpanel-switch/layouts
 
+	install -d $(DESTDIR)/$(PREFIX)/share/metainfo
+	install data/metainfo/*.xml $(DESTDIR)/$(PREFIX)/share/metainfo
+
 	cp -rf locale $(DESTDIR)/$(PREFIX)/share
 	ln -sf $(PREFIX)/share/locale $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/locale
 
diff --git a/data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in b/data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in
new file mode 100644
index 0000000..36dbf88
--- /dev/null
+++ b/data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>xfpanel-switch.desktop</id>
+  <metadata_license>CC-BY-3.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <name>Xfpanel Switch</name>
+  <_summary>Application to manage different panel layouts in Xfce</_summary>
+
+  <description>
+    <_p>Multitude of panel layouts can be created using Xfce panel.
+        This tool enables managing different layouts with little effort.
+        Xfpanel-switch makes it possible to backup, restore, import and export panel layouts.</_p>
+  </description>
+
+  <screenshots>
+    <screenshot type="default">
+      <image width="960" height="540">https://screenshots.bluesabre.org/xfpanel-switch/xfpanel-switch.png</image>
+    </screenshot>
+  </screenshots>
+
+  ‚Äč<translation type="gettext">xfpanel-switch</translation>
+
+  <url type="homepage">https://launchpad.net/xfpanel-switch</url>
+  <url type="bugtracker">https://bugs.launchpad.net/xfpanel-switch</url>
+
+  <updatecontact>bluesabre at ubuntu.com</updatecontact>
+
+  <project_group>XFCE</project_group>
+
+  <provides>
+    <binary>xfpanel-switch</binary>
+  </provides>
+
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7aa3ee2..49851f1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,15 +1,15 @@
 ### BEGIN LICENSE
 # Copyright (C) 2015 Sean Davis <smd.seandavis at gmail.com>
-# This program is free software: you can redistribute it and/or modify it 
-# under the terms of the GNU General Public License version 3, as published 
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 3, as published
 # by the Free Software Foundation.
-# 
-# This program is distributed in the hope that it will be useful, but 
-# WITHOUT ANY WARRANTY; without even the implied warranties of 
-# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranties of
+# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 # PURPOSE.  See the GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License along 
+#
+# You should have received a copy of the GNU General Public License along
 # with this program.  If not, see <http://www.gnu.org/licenses/>.
 ### END LICENSE
 
@@ -22,3 +22,6 @@ xfpanel-switch.desktop.in
 # Python Files
 xfpanel-switch/panelconfig.py
 xfpanel-switch/xfpanel-switch.py
+
+# XML
+data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in
diff --git a/po/xfpanel-switch.pot b/po/xfpanel-switch.pot
index 889be93..2ac8cb6 100644
--- a/po/xfpanel-switch.pot
+++ b/po/xfpanel-switch.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-10-06 21:08-0400\n"
+"POT-Creation-Date: 2018-03-23 06:37-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -119,3 +119,14 @@ msgstr ""
 #, python-format
 msgid "Backup_%s"
 msgstr ""
+
+#: ../data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in.h:1
+msgid "Application to manage different panel layouts in Xfce"
+msgstr ""
+
+#: ../data/metainfo/org.xubuntu.XfpanelSwitch.appdata.xml.in.h:2
+msgid ""
+"Multitude of panel layouts can be created using Xfce panel. This tool "
+"enables managing different layouts with little effort. Xfpanel-switch makes "
+"it possible to backup, restore, import and export panel layouts."
+msgstr ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list