Merge lp:~kalikiana/midori/appdata into lp:midori

Proposed by Cris Dywan
Status: Merged
Approved by: Paweł Forysiuk
Approved revision: 6384
Merged at revision: 6389
Proposed branch: lp:~kalikiana/midori/appdata
Merge into: lp:midori
Diff against target: 120 lines (+60/-16)
4 files modified
README (+19/-16)
cmake/FindIntltool.cmake (+8/-0)
data/CMakeLists.txt (+5/-0)
data/midori.appdata.xml.in (+28/-0)
To merge this branch: bzr merge lp:~kalikiana/midori/appdata
Reviewer Review Type Date Requested Status
Paweł Forysiuk Approve
Review via email: mp+184188@code.launchpad.net

Commit message

Provide and install .appdata.xml file for app stores

Description of the change

While at it, I refreshed the text we have in the README to be a little less like a technical listing and updated it a bit. Text in the README and appdata are the same.

To post a comment you must log in.
lp:~kalikiana/midori/appdata updated
6384. By Cris Dywan

Restructure extension descriptions into a list

Revision history for this message
Paweł Forysiuk (tuxator) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README'
2--- README 2013-06-20 21:11:52 +0000
3+++ README 2013-09-08 17:01:23 +0000
4@@ -1,20 +1,23 @@
5 This file is licensed under the terms of the expat license, see the file EXPAT.
6
7-Midori is a lightweight web browser.
8-
9-* Full integration with GTK+2 and GTK+3.
10-* Fast rendering with WebKit and HTML5 video with GStreamer.
11-* Tabs, windows and session management.
12-* History completion and configurable Web Search.
13-* User scripts and user styles support.
14-* Adblock Plus compatible, external download manager support.
15-* Straightforward bookmark management.
16-* Customizable interface, extensions written in C and Vala.
17-
18-Requirements: GLib 2.22, GTK+ 2.24, WebkitGTK+ 1.8.3, libXML2,
19- libsoup 2.27.90, sqlite 3.0, Vala 0.14, libnotify
20-
21-Optional: GTK+ 3.0, Unique 0.9, gcr, Granite 0.2, WebKit2GTK+ 1.11.91/ 2.0.0
22+Midori is a fast little WebKit browser with support for HTML5. It can manage
23+many open tabs and windows. The URL bar completes history, bookmarks, search
24+engines and open tabs out of the box. Web developers can use the powerful
25+web inspector that is a part of WebKit. Individual pages can easily be turned
26+into web apps and new profiles can be created on demand.
27+
28+A number of extensions are included by default:
29+
30+* Adblock with support for ABP filter lists and custom rules is built-in.
31+* You can download files with Aria2 or SteadyFlow.
32+* User scripts and styles support a la Greasemonkey.
33+* Managing cookies and scripts via NoJS and Cookie Security Manager.
34+* Switching open tabs in a vertical panel or a popup window.
35+
36+Requirements: GLib 2.32.3, GTK+ 2.24, WebkitGTK+ 1.8.3, libXML2,
37+ libsoup 2.27.90, sqlite 3.0, Vala 0.16, libnotify
38+
39+Optional: GTK+ 3.0, gcr, Granite 0.2, WebKit2GTK+ 1.11.91/ 2.0.0
40
41 For installation instructions read INSTALL.
42
43@@ -24,4 +27,4 @@
44 And join the IRC channel #midori on irc.freenode.net
45
46 Check for new versions at:
47- http://www.twotoasts.de
48+ http://www.midori-browser.org
49
50=== modified file 'cmake/FindIntltool.cmake'
51--- cmake/FindIntltool.cmake 2013-08-22 23:21:29 +0000
52+++ cmake/FindIntltool.cmake 2013-09-08 17:01:23 +0000
53@@ -17,6 +17,14 @@
54 install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${desktop_id}.desktop"
55 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
56 endmacro (INTLTOOL_MERGE_DESKTOP desktop_id po_dir)
57+ macro (INTLTOOL_MERGE_APPDATA desktop_id po_dir)
58+ add_custom_target ("${desktop_id}.appdata.xml" ALL
59+ ${INTLTOOL_MERGE_EXECUTABLE} --xml-style ${CMAKE_SOURCE_DIR}/${po_dir}
60+ ${CMAKE_CURRENT_SOURCE_DIR}/${desktop_id}.appdata.xml.in ${desktop_id}.appdata.xml
61+ )
62+ install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${desktop_id}.appdata.xml"
63+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/appdata")
64+ endmacro (INTLTOOL_MERGE_APPDATA desktop_id po_dir)
65 endif ()
66
67 if (INTLTOOL_UPDATE_EXECUTABLE)
68
69=== modified file 'data/CMakeLists.txt'
70--- data/CMakeLists.txt 2013-09-01 21:08:28 +0000
71+++ data/CMakeLists.txt 2013-09-08 17:01:23 +0000
72@@ -14,10 +14,15 @@
73 string(FIND ${FILE} "faq." FAQ_FILE)
74 string(FIND ${FILE} "midori." MIDORI_FILE)
75 string(FIND ${FILE} ".desktop" DESKTOP_FILE)
76+ string(FIND ${FILE} ".appdata.xml" APPDATA_FILE)
77 if (FAQ_FILE GREATER -1)
78 elseif (DESKTOP_FILE GREATER -1 AND NOT WIN32)
79 string(SUBSTRING ${FILE} 0 ${DESKTOP_FILE} DESKTOP_ID)
80 INTLTOOL_MERGE_DESKTOP (${DESKTOP_ID} po)
81+ elseif (APPDATA_FILE GREATER -1 AND NOT WIN32)
82+ string(SUBSTRING ${FILE} 0 ${APPDATA_FILE} DESKTOP_ID)
83+ INTLTOOL_MERGE_APPDATA (${DESKTOP_ID} po)
84+ # install(FILES ${FILE} DESTINATION ${CMAKE_INSTALL_DATADIR}/appdata/)
85 elseif(MIDORI_FILE GREATER -1)
86 else()
87 string(FIND ${FILE} "/" IS_DIR)
88
89=== added file 'data/midori.appdata.xml.in'
90--- data/midori.appdata.xml.in 1970-01-01 00:00:00 +0000
91+++ data/midori.appdata.xml.in 2013-09-08 17:01:23 +0000
92@@ -0,0 +1,28 @@
93+<?xml version="1.0" encoding="UTF-8"?>
94+<application>
95+<id type="desktop">midori.desktop</id>
96+<licence>CC0</licence>
97+<description>
98+<p>
99+Midori is a fast little WebKit browser with support for HTML5. It can manage
100+many open tabs and windows. The URL bar completes history, bookmarks, search
101+engines and open tabs out of the box. Web developers can use the powerful
102+web inspector that is a part of WebKit. Individual pages can easily be turned
103+into web apps and new profiles can be created on demand.
104+</p>
105+<p>A number of extensions are included by default:
106+<ul>
107+ <li>Adblock with support for ABP filter lists and custom rules is built-in.</li>
108+ <li>You can download files with Aria2 or SteadyFlow.</li>
109+ <li>User scripts and styles support a la Greasemonkey.</li>
110+ <li>Managing cookies and scripts via NoJS and Cookie Security Manager.</li>
111+ <li>Switching open tabs in a vertical panel or a popup window.</li>
112+</ul>
113+</p>
114+</description>
115+<url type="homepage">http://www.midori-browser.org/</url>
116+<screenshots>
117+ <screenshot type="default">http://www.midori-browser.org/images/screenshots/rdio.png</screenshot>
118+</screenshots>
119+<updatecontact>christian@twotoasts.de</updatecontact>
120+</application>

Subscribers

People subscribed via source and target branches

to all changes: