Skip to content

Commit dd7423c

Browse files
authored
Merge pull request #7 from flatpak/appstream-changes
Appstream metadata improvements
2 parents a52575b + 1b5f138 commit dd7423c

4 files changed

+18
-9
lines changed

flatpakdemo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void FlatpakDemo::sendNotification()
5151
{
5252
KNotification *notify = new KNotification(QLatin1String("notification"), 0);
5353
notify->setFlags(KNotification::DefaultEvent);
54-
notify->setTitle(QLatin1String("Flatpak Demo"));
54+
notify->setTitle(QLatin1String("Flatpak Developer Demo"));
5555
notify->setText(QLatin1String("This notification was sent from a Flatpak sandbox."));
5656
notify->setIconName(QLatin1String("flatpak"));
5757

org.flatpak.qtdemo.appdata.xml

+13-4
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,28 @@
44
<launchable type="desktop-id">org.flatpak.qtdemo.desktop</launchable>
55
<metadata_license>CC0-1.0</metadata_license>
66
<project_license>LGPL-2.0+</project_license>
7-
<name>Flatpak Demo</name>
8-
<summary>Flatpak Demo</summary>
7+
<name>Flatpak Developer Demo</name>
8+
<summary>Flatpak Developer Demo</summary>
99
<description>
10-
<p>Flatpak demo application written in Qt</p>
10+
<p>Flatpak developer demo application is a companion to the <a href="http://docs.flatpak.org">Flatpak developer documentation</a>. It is an example of how to use Flatpak to build and distribute an application, and can be used as a reference implementation.</p>
11+
<p>While the demo application uses Qt and the KDE runtime, the basic principles that it demonstrates are applicable to applications that use other runtimes and toolkits.</p>
12+
<p>The application demonstrates the use of portals, showing how it is possible to securely access host functions like file choosers, notifications and screenshots. To do this, it uses the built-in support provided by the Qt toolkit. Similar support is also available for GTK.</p>
1113
</description>
1214
​<releases>
13-
​ <release version="1.0" type="stable" date="2018-05-09"/>
15+
​ <release version="1.1.1" type="stable" date="2018-05-15"/>
16+
​ <release version="1.1.0" type="stable" date="2018-05-14"/>
17+
​ <release version="1.0.0" type="stable" date="2018-05-09"/>
1418
</releases>
1519
<screenshots>
1620
<screenshot type="default">
1721
​ <image type="source">https://raw.githubusercontent.com/flatpak/qt-flatpak-demo/master/assets/screenshot.png</image>
1822
</screenshot>
1923
​ </screenshots>
24+
​ <categories>
25+
<category>Documentation</category>
26+
​ <category>Development</category>
27+
​ <category>Qt</category>
28+
​ </categories>
2029
<url type="bugtracker">https://github.com/flatpak/qt-flatpak-demo/issues</url>
2130
<project_group>Flatpak</project_group>
2231
<provides>

org.flatpak.qtdemo.desktop

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Desktop Entry]
2-
Name=Flatpak Demo
3-
GenericName=Flatpak Demo
4-
Comment=Flatpak demo application written in Qt
2+
Name=Flatpak Developer Demo
3+
GenericName=Flatpak Developer Demo
4+
Comment=Flatpak developer demo is a companion application to the <a href="http://docs.flatpak.org">Flatpak documentation</a>. It's written in Qt to show most common usage of portals and demonstrate how to package a Qt application which comply with the docs.
55
Exec=flatpak-demo
66
Terminal=false
77
Icon=org.flatpak.qtdemo

qml/main.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ApplicationWindow {
3535
width: 800
3636
height: 640
3737
visible: true
38-
title: qsTr("Flatpak Demo")
38+
title: qsTr("Flatpak Developer Demo")
3939

4040
DemoPage { id: demoPage; anchors.fill: parent }
4141

0 commit comments

Comments
 (0)