inqlude 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/labels/cornelius-inqlude-labels.svg +102 -0
- data/.github/labels/cornelius-inqlude-labels.tf +90 -0
- data/.github/labels/cornelius-inqlude-labels.yaml +58 -0
- data/.travis.yml +3 -3
- data/CHANGELOG.md +6 -0
- data/CONTRIBUTING.md +11 -0
- data/README.md +13 -2
- data/ROADMAP.md +71 -0
- data/lib/cli.rb +7 -0
- data/lib/inqlude.rb +1 -0
- data/lib/kde_frameworks_creator.rb +3 -2
- data/lib/version.rb +1 -1
- data/manifest-format.md +2 -0
- data/spec/data/kholidays.readme +8 -0
- data/spec/data/kirigami.readme +130 -0
- data/spec/unit/kde_frameworks_creator_spec.rb +34 -1
- data/spec/unit/view_spec.rb +40 -39
- data/view/two-column/about.html.haml +2 -2
- data/view/two-column/all.html.haml +1 -1
- data/view/two-column/contribute.html.haml +4 -4
- data/view/two-column/group.html.haml +7 -7
- data/view/two-column/index.html.haml +5 -5
- data/view/two-column/layout.html.haml +32 -11
- data/view/two-column/public/inqlude.css +6 -0
- data/view/two-column/search.html.haml +1 -1
- data/view/two-column/topic.html.haml +1 -1
- metadata +10 -4
- data/TODO +0 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e39a5b53d7b6e6f522dcbb6bc297edb85b79fa5c
|
4
|
+
data.tar.gz: 9860a51211ec000299f88f35859241090602e569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 006e2b46b093c9c6cd914a93fa4bc572dd21c95ddf46ae1497d5a7242e5e964de3df48e5787d949957ee65dcfb4d106f24cee04ddac0b0bf35a77c88dd793f4b
|
7
|
+
data.tar.gz: b18c895d563d91ccfc67da1eac9b852e17c7455566243b740077be8c518a7724b3f020b22869be4484db5b2c087946d6b2863a8ea145f6b6234060c8bf7c3e8b
|
@@ -0,0 +1,102 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
+
<svg width="840" height="340" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
4
|
+
<rect x="0" y="0" width="840" height="340" fill="#eee"/>
|
5
|
+
<g font-size="25" font-family="arial" fill="#444">
|
6
|
+
<text x="40" y="50">
|
7
|
+
Labels for cornelius/inqlude
|
8
|
+
</text>
|
9
|
+
</g>
|
10
|
+
<g font-size="25" font-family="arial" fill="#777">
|
11
|
+
<text x="40" y="120">
|
12
|
+
Type
|
13
|
+
</text>
|
14
|
+
</g>
|
15
|
+
<rect x="200" y="90" width="130" height="40" fill="#000080" rx="5"/>
|
16
|
+
<g font-size="15" font-family="arial" fill="white">
|
17
|
+
<text x="213" y="116">
|
18
|
+
Bug
|
19
|
+
</text>
|
20
|
+
</g>
|
21
|
+
<rect x="350" y="90" width="130" height="40" fill="#1034A6" rx="5"/>
|
22
|
+
<g font-size="15" font-family="arial" fill="white">
|
23
|
+
<text x="363" y="116">
|
24
|
+
Feature
|
25
|
+
</text>
|
26
|
+
</g>
|
27
|
+
<rect x="500" y="90" width="130" height="40" fill="#0F52BA" rx="5"/>
|
28
|
+
<g font-size="15" font-family="arial" fill="white">
|
29
|
+
<text x="513" y="116">
|
30
|
+
Refactoring
|
31
|
+
</text>
|
32
|
+
</g>
|
33
|
+
<g font-size="25" font-family="arial" fill="#777">
|
34
|
+
<text x="40" y="180">
|
35
|
+
Categories
|
36
|
+
</text>
|
37
|
+
</g>
|
38
|
+
<rect x="200" y="150" width="130" height="40" fill="#228B22" rx="5"/>
|
39
|
+
<g font-size="15" font-family="arial" fill="white">
|
40
|
+
<text x="213" y="176">
|
41
|
+
CLI
|
42
|
+
</text>
|
43
|
+
</g>
|
44
|
+
<rect x="350" y="150" width="130" height="40" fill="#2E8B57" rx="5"/>
|
45
|
+
<g font-size="15" font-family="arial" fill="white">
|
46
|
+
<text x="363" y="176">
|
47
|
+
Data
|
48
|
+
</text>
|
49
|
+
</g>
|
50
|
+
<rect x="500" y="150" width="130" height="40" fill="#3CB371" rx="5"/>
|
51
|
+
<g font-size="15" font-family="arial" fill="white">
|
52
|
+
<text x="513" y="176">
|
53
|
+
Documentation
|
54
|
+
</text>
|
55
|
+
</g>
|
56
|
+
<rect x="650" y="150" width="130" height="40" fill="#66CDAA" rx="5"/>
|
57
|
+
<g font-size="15" font-family="arial" fill="white">
|
58
|
+
<text x="663" y="176">
|
59
|
+
Web Site
|
60
|
+
</text>
|
61
|
+
</g>
|
62
|
+
<g font-size="25" font-family="arial" fill="#777">
|
63
|
+
<text x="40" y="240">
|
64
|
+
Priorities
|
65
|
+
</text>
|
66
|
+
</g>
|
67
|
+
<rect x="200" y="210" width="130" height="40" fill="#fbca04" rx="5"/>
|
68
|
+
<g font-size="15" font-family="arial" fill="black">
|
69
|
+
<text x="213" y="236">
|
70
|
+
Low Priority
|
71
|
+
</text>
|
72
|
+
</g>
|
73
|
+
<rect x="350" y="210" width="130" height="40" fill="#eb6420" rx="5"/>
|
74
|
+
<g font-size="15" font-family="arial" fill="white">
|
75
|
+
<text x="363" y="236">
|
76
|
+
Medium Priority
|
77
|
+
</text>
|
78
|
+
</g>
|
79
|
+
<rect x="500" y="210" width="130" height="40" fill="#e11d21" rx="5"/>
|
80
|
+
<g font-size="15" font-family="arial" fill="white">
|
81
|
+
<text x="513" y="236">
|
82
|
+
High Priority
|
83
|
+
</text>
|
84
|
+
</g>
|
85
|
+
<g font-size="25" font-family="arial" fill="#777">
|
86
|
+
<text x="40" y="300">
|
87
|
+
Welcome
|
88
|
+
</text>
|
89
|
+
</g>
|
90
|
+
<rect x="200" y="270" width="130" height="40" fill="#5319e7" rx="5"/>
|
91
|
+
<g font-size="15" font-family="arial" fill="white">
|
92
|
+
<text x="213" y="296">
|
93
|
+
good first issue
|
94
|
+
</text>
|
95
|
+
</g>
|
96
|
+
<rect x="350" y="270" width="130" height="40" fill="#5319e7" rx="5"/>
|
97
|
+
<g font-size="15" font-family="arial" fill="white">
|
98
|
+
<text x="363" y="296">
|
99
|
+
GSoC
|
100
|
+
</text>
|
101
|
+
</g>
|
102
|
+
</svg>
|
@@ -0,0 +1,90 @@
|
|
1
|
+
variable "github_token" {}
|
2
|
+
|
3
|
+
provider "github" {
|
4
|
+
organization = "cornelius"
|
5
|
+
token = "${var.github_token}"
|
6
|
+
}
|
7
|
+
|
8
|
+
resource "github_issue_label" "1181821042a" {
|
9
|
+
repository = "inqlude"
|
10
|
+
name = "Bug"
|
11
|
+
description = "Issue in existing functionality"
|
12
|
+
color = "000080"
|
13
|
+
}
|
14
|
+
|
15
|
+
resource "github_issue_label" "1181821042b" {
|
16
|
+
repository = "inqlude"
|
17
|
+
name = "Feature"
|
18
|
+
description = "New functionality"
|
19
|
+
color = "1034A6"
|
20
|
+
}
|
21
|
+
|
22
|
+
resource "github_issue_label" "1181821042" {
|
23
|
+
repository = "inqlude"
|
24
|
+
name = "Refactoring"
|
25
|
+
description = "Improvement of code without user-visible changes"
|
26
|
+
color = "0F52BA"
|
27
|
+
}
|
28
|
+
|
29
|
+
resource "github_issue_label" "1181821630" {
|
30
|
+
repository = "inqlude"
|
31
|
+
name = "CLI"
|
32
|
+
description = "Command Line Interface"
|
33
|
+
color = "228B22"
|
34
|
+
}
|
35
|
+
|
36
|
+
resource "github_issue_label" "1181823572" {
|
37
|
+
repository = "inqlude"
|
38
|
+
name = "Data"
|
39
|
+
description = "Inqlude data, including schema and content"
|
40
|
+
color = "2E8B57"
|
41
|
+
}
|
42
|
+
|
43
|
+
resource "github_issue_label" "1181820759" {
|
44
|
+
repository = "inqlude"
|
45
|
+
name = "Documentation"
|
46
|
+
description = ""
|
47
|
+
color = "3CB371"
|
48
|
+
}
|
49
|
+
|
50
|
+
resource "github_issue_label" "60095012" {
|
51
|
+
repository = "inqlude"
|
52
|
+
name = "Web Site"
|
53
|
+
description = "Inqlude web site"
|
54
|
+
color = "66CDAA"
|
55
|
+
}
|
56
|
+
|
57
|
+
resource "github_issue_label" "120813816" {
|
58
|
+
repository = "inqlude"
|
59
|
+
name = "Low Priority"
|
60
|
+
description = ""
|
61
|
+
color = "fbca04"
|
62
|
+
}
|
63
|
+
|
64
|
+
resource "github_issue_label" "120813794" {
|
65
|
+
repository = "inqlude"
|
66
|
+
name = "Medium Priority"
|
67
|
+
description = ""
|
68
|
+
color = "eb6420"
|
69
|
+
}
|
70
|
+
|
71
|
+
resource "github_issue_label" "120813779" {
|
72
|
+
repository = "inqlude"
|
73
|
+
name = "High Priority"
|
74
|
+
description = ""
|
75
|
+
color = "e11d21"
|
76
|
+
}
|
77
|
+
|
78
|
+
resource "github_issue_label" "761165516" {
|
79
|
+
repository = "inqlude"
|
80
|
+
name = "good first issue"
|
81
|
+
description = "good issue to start with if you are new to the project"
|
82
|
+
color = "5319e7"
|
83
|
+
}
|
84
|
+
|
85
|
+
resource "github_issue_label" "395340299" {
|
86
|
+
repository = "inqlude"
|
87
|
+
name = "GSoC"
|
88
|
+
description = "possible task or project for GSoC"
|
89
|
+
color = "5319e7"
|
90
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
categories:
|
2
|
+
- name: Type
|
3
|
+
labels:
|
4
|
+
- color: 000080
|
5
|
+
description: 'Issue in existing functionality'
|
6
|
+
id: 1181821042a
|
7
|
+
name: Bug
|
8
|
+
- color: 1034A6
|
9
|
+
description: 'New functionality'
|
10
|
+
id: 1181821042b
|
11
|
+
name: Feature
|
12
|
+
- color: 0F52BA
|
13
|
+
description: 'Improvement of code without user-visible changes'
|
14
|
+
id: 1181821042
|
15
|
+
name: Refactoring
|
16
|
+
- name: Categories
|
17
|
+
labels:
|
18
|
+
- color: 228B22
|
19
|
+
description: 'Command Line Interface'
|
20
|
+
id: 1181821630
|
21
|
+
name: CLI
|
22
|
+
- color: 2E8B57
|
23
|
+
description: 'Inqlude data, including schema and content'
|
24
|
+
id: 1181823572
|
25
|
+
name: Data
|
26
|
+
- color: 3CB371
|
27
|
+
description: ''
|
28
|
+
id: 1181820759
|
29
|
+
name: Documentation
|
30
|
+
- color: 66CDAA
|
31
|
+
description: 'Inqlude web site'
|
32
|
+
id: 60095012
|
33
|
+
name: Web Site
|
34
|
+
- name: Priorities
|
35
|
+
labels:
|
36
|
+
- color: fbca04
|
37
|
+
description: ''
|
38
|
+
id: 120813816
|
39
|
+
name: Low Priority
|
40
|
+
- color: eb6420
|
41
|
+
description: ''
|
42
|
+
id: 120813794
|
43
|
+
name: Medium Priority
|
44
|
+
- color: e11d21
|
45
|
+
description: ''
|
46
|
+
id: 120813779
|
47
|
+
name: High Priority
|
48
|
+
- name: Welcome
|
49
|
+
color: 5319e7
|
50
|
+
labels:
|
51
|
+
- description: 'good issue to start with if you are new to the project'
|
52
|
+
id: 761165516
|
53
|
+
name: good first issue
|
54
|
+
- description: 'possible task or project for GSoC'
|
55
|
+
id: 395340299
|
56
|
+
name: GSoC
|
57
|
+
org: cornelius
|
58
|
+
repo: inqlude
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change log of Inqlude
|
2
2
|
|
3
|
+
## Version 0.12.0
|
4
|
+
|
5
|
+
* Fix parsing of KDE READMEs with multiple top-level headers
|
6
|
+
* Parse KHolidays README correctly
|
7
|
+
* Various improvements and fixes to the new HTML view
|
8
|
+
|
3
9
|
## Version 0.11.0
|
4
10
|
|
5
11
|
* Change the default view to the new two column layout. This takes advantage of all the new features Nanduni implemented during the Google Summer of Code 2016, such as the topics, the display names, responsive layout, better navigation and searchability. The new default layout now will show up on the Inqlude home page.
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Inqlude contribution guide
|
2
|
+
|
3
|
+
Contributions to Inqlude are very welcome. Code, information about libraries, documentation, feedback, everything helps and is very much appreciated. You can use the [Inqlude issues](https://github.com/cornelius/inqlude/issues) as a starting point to ask questions, provide input, or report bugs and feature requests. The data shown on the [Inqlude web site](http://inqlude.org/) is hosted in the [inqlude-data repository](https://github.com/cornelius/inqlude-data). Go there to submit pull requests for adding new libraries or updating existing ones, or to report any issues with the data.
|
4
|
+
|
5
|
+
This is a community project. Thanks for your participation.
|
6
|
+
|
7
|
+
## Issue labels
|
8
|
+
|
9
|
+
We use issue labels to categorize and prioritize issues. See the graphics below for an overview.
|
10
|
+
|
11
|
+
![labels](.github/labels/cornelius-inqlude-labels.svg)
|
data/README.md
CHANGED
@@ -30,6 +30,14 @@ the native tools.
|
|
30
30
|
There also is an option to generate an HTML overview of all available libraries.
|
31
31
|
This can be hosted or used locally.
|
32
32
|
|
33
|
+
## Generating the Inqlude website
|
34
|
+
|
35
|
+
The [Inqlude website](https://inqlude.org) is automatically generated from the [manifest data in the KDE git repository](https://cgit.kde.org/websites/inqlude-data.git/). The [manifest repoitory on GitHub](https://github.com/cornelius/inqlude-data) is a source for that to collect contributions.
|
36
|
+
|
37
|
+
To generate the website locally for development and testing just run `inqlude view`. This will create a directory with static HTML files you can view in your browser.
|
38
|
+
|
39
|
+
The site is generated from templates you find in the [view/twocolumns](https://github.com/cornelius/inqlude/tree/master/view/two-column) directory in the git repository.
|
40
|
+
|
33
41
|
## KDE Frameworks
|
34
42
|
|
35
43
|
The KDE Frameworks provide more than fifty libraries, which can be used to
|
@@ -59,6 +67,10 @@ To create release manifests for a KDE Frameworks release runs
|
|
59
67
|
inqlude release_kde_frameworks <release_date> <version>
|
60
68
|
```
|
61
69
|
|
70
|
+
## Contributing
|
71
|
+
|
72
|
+
Contributions in any form are welcome. See the [contribution guidelines](CONTRIBUTING.md) for more details.
|
73
|
+
|
62
74
|
## License
|
63
75
|
|
64
76
|
Inqlude is licensed under the GPL.
|
@@ -66,5 +78,4 @@ Inqlude is licensed under the GPL.
|
|
66
78
|
## Contact
|
67
79
|
|
68
80
|
If you have questions or comments, please contact Cornelius Schumacher
|
69
|
-
<schumacher@kde.org> or
|
70
|
-
[Inqlude mailing list](mailto:inqlude@kde.org).
|
81
|
+
<schumacher@kde.org> or [create an issue](https://github.com/cornelius/inqlude/issues/new).
|
data/ROADMAP.md
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Inqlude roadmap
|
2
|
+
|
3
|
+
Inqlude has come along nicely over the years. It has a comprehensive listing
|
4
|
+
of more or less all third party Qt libraries and displays them on the
|
5
|
+
[Inqlude web site](https://inqlude.org). The
|
6
|
+
[inqlude command line client](https://github.com/cornelius/inqlude) provides
|
7
|
+
the tooling to create the web site. It also has some support for listing,
|
8
|
+
downloading, and installing libraries targeted towards Qt developers using
|
9
|
+
libraries as end users. While the web site is pretty mature and stable, the
|
10
|
+
command line client is more experimental and not very complete.
|
11
|
+
|
12
|
+
The main entry point for managing the data of libraries on Inqlude is the
|
13
|
+
[inqlude-data](https://github.com/cornelius/inqlude-data) git repository. It
|
14
|
+
contains meta data for all libraries listed on Inqlude in
|
15
|
+
[JSON format](https://github.com/cornelius/inqlude/blob/master/manifest-format.md).
|
16
|
+
This data is also used for
|
17
|
+
[integration](https://github.com/cornelius/inqlude/blob/master/accessing-inqlude-data.md)
|
18
|
+
with other tools and services. The format of the data and the way how it's
|
19
|
+
accessed is fairly stable, but it's not set in stone yet, and there are a few
|
20
|
+
open ends.
|
21
|
+
|
22
|
+
Currently we declare Inqlude as alpha to reflect that there are no guarantees
|
23
|
+
in terms of APIs, functionality, or formats. This might not be the most accurate
|
24
|
+
declaration as it actually has been quite stable over years now.
|
25
|
+
|
26
|
+
So how do we move forward with all this? Here is an outline of the roadmap with
|
27
|
+
corresponding release milestones. It is tracked on the
|
28
|
+
[Inqlude issue tracker](https://github.com/cornelius/inqlude/issues).
|
29
|
+
|
30
|
+
## 0.12 (Beta) (ready for contributors of meta data, schema stable)
|
31
|
+
|
32
|
+
The next step is to actually declare the data format as stable. This will also
|
33
|
+
be the point where we go from alpha to beta. With this Inqlude is officially
|
34
|
+
ready for people working on meta data. To achieve it there are a few issues
|
35
|
+
which need to be fixed, such as stricter checking of meta data values for
|
36
|
+
licenses and platforms.
|
37
|
+
|
38
|
+
As part of this step we'll also consolidate all project tracking using issues
|
39
|
+
in the [Inqlude project](https://github.com/cornelius/inqlude) on GitHub. This
|
40
|
+
has proven to be the most effective and accepted way of dealing with issues,
|
41
|
+
planning, and providing transparency to the community.
|
42
|
+
|
43
|
+
Progress on this step will be reflected in releases of the Inqlude command line
|
44
|
+
tool as Ruby gem using further 0.x releases. Release 0.12 is the next release
|
45
|
+
in this series and is supposed to have everything required for the beta status.
|
46
|
+
|
47
|
+
## 1.0 (ready for end users of the web site)
|
48
|
+
|
49
|
+
The next big step is to finish up the web site to make it usable for end users.
|
50
|
+
There is not much missing from this. With this step we'll declare Inqlude stable
|
51
|
+
and mark this by the 1.0 release of the Ruby gem. This makes Inqlude officially
|
52
|
+
ready for end users using Qt libraries via the Inqlude web site.
|
53
|
+
|
54
|
+
## 2.0 (ready for end users of the command line tool)
|
55
|
+
|
56
|
+
There are a lot of possible features around the command line client to help
|
57
|
+
users to find, install, and manage Qt libraries. This can be done in concert
|
58
|
+
with native package managers or as generic support based on source code. It
|
59
|
+
also opens potential for integration with other tools or services.
|
60
|
+
|
61
|
+
This is the future big step to improve Inqlude, making it ready for end users
|
62
|
+
of the command line tool. This might take a while. The highest value is already
|
63
|
+
provided by having the meta data of all third party Qt libraries available as
|
64
|
+
machine-readable JSON as well as human-readable web site. So progress on the
|
65
|
+
version 2.0 will depend on how it is picked up by contributors and how valuable
|
66
|
+
these possible future features turn out to users.
|
67
|
+
|
68
|
+
The path ahead might also change quite a bit of version 2.0 depending on what
|
69
|
+
we learn over the course of the releases leading towards this future milestone.
|
70
|
+
|
71
|
+
Input and feedback is always appreciated.
|
data/lib/cli.rb
CHANGED
@@ -224,6 +224,13 @@ actual domain."
|
|
224
224
|
end
|
225
225
|
end
|
226
226
|
|
227
|
+
desc "parse_kde_readme <path>", "Parse README.md of KDE Framework"
|
228
|
+
def parse_kde_readme path
|
229
|
+
k = KdeFrameworksCreator.new
|
230
|
+
k.parse_readme(path)
|
231
|
+
pp k.framework(k.frameworks.first)
|
232
|
+
end
|
233
|
+
|
227
234
|
desc "create_kde_frameworks <frameworks-git-checkout> <output_dir>",
|
228
235
|
"Create manifests from git checkout of KDE frameworks module in given directory"
|
229
236
|
method_option "show-warnings", :type => :boolean,
|
data/lib/inqlude.rb
CHANGED
@@ -62,7 +62,7 @@ class KdeFrameworksCreator
|
|
62
62
|
|
63
63
|
state = nil
|
64
64
|
File.open(File.join(path,"README.md")).each_line do |line|
|
65
|
-
if line =~ /^# (.*)/
|
65
|
+
if !framework["title"] && (line =~ /^# (.*) #/ || line =~ /^# (.*)/)
|
66
66
|
framework["title"] = $1
|
67
67
|
state = :parse_summary
|
68
68
|
next
|
@@ -87,7 +87,6 @@ class KdeFrameworksCreator
|
|
87
87
|
|
88
88
|
if state == :parse_introduction
|
89
89
|
if line =~ /^##/
|
90
|
-
framework["introduction"].strip!
|
91
90
|
state = nil
|
92
91
|
else
|
93
92
|
framework["introduction"] += line
|
@@ -121,6 +120,8 @@ class KdeFrameworksCreator
|
|
121
120
|
required_fields.each do |field|
|
122
121
|
if !framework.has_key?(field) || framework[field].strip.empty?
|
123
122
|
@errors.push( { :name => name, :issue => "missing_" + field } )
|
123
|
+
else
|
124
|
+
framework[field].strip!
|
124
125
|
end
|
125
126
|
end
|
126
127
|
|
data/lib/version.rb
CHANGED
data/manifest-format.md
CHANGED
@@ -0,0 +1,130 @@
|
|
1
|
+
# Kirigami
|
2
|
+
|
3
|
+
QtQuick plugins to build user interfaces based on the KDE UX guidelines
|
4
|
+
|
5
|
+
## Introduction
|
6
|
+
|
7
|
+
Kirigami is a set of QtQuick components at the moment targeted for mobile use (in the future desktop as well) targeting both Plasma Mobile and Android. It’s not a whole set of components, all the “Primitive” ones like buttons and textboxes are a job for QtQuickControls (soon QtQuickControls2) but it’s a set of high level components to make the creation of applications that look and feel great on mobile as well as desktop devices and follow the Kirigami Human Interface Guidelines.
|
8
|
+
|
9
|
+
## Build examples to desktop
|
10
|
+
Build all examples available
|
11
|
+
```sh
|
12
|
+
mkdir build
|
13
|
+
cd build
|
14
|
+
cmake .. -DBUILD_EXAMPLES=ON
|
15
|
+
make
|
16
|
+
```
|
17
|
+
Than, you can run:
|
18
|
+
```sh
|
19
|
+
./examples/applicationitemapp/applicationitemapp
|
20
|
+
# or
|
21
|
+
./examples/galleryapp/kirigami2gallery
|
22
|
+
```
|
23
|
+
|
24
|
+
## Build the gallery example app on Android:
|
25
|
+
Make sure to install **android-sdk**, **android-ndk** and **android-qt5-arch**, where **arch** should be the same architecture that you aim to deploy.
|
26
|
+
```sh
|
27
|
+
mkdir build
|
28
|
+
cd build
|
29
|
+
cmake .. \
|
30
|
+
-DQTANDROID_EXPORTED_TARGET=kirigami2gallery \
|
31
|
+
-DBUILD_EXAMPLES=on \
|
32
|
+
-DANDROID_APK_DIR=../examples/galleryapp \
|
33
|
+
-DECM_DIR=/path/to/share/ECM/cmake \
|
34
|
+
-DCMAKE_TOOLCHAIN_FILE=/usr/share/ECM/toolchain/Android.cmake \
|
35
|
+
-DECM_ADDITIONAL_FIND_ROOT_PATH=/path/to/Qt5.7.0/5.7/{arch} \
|
36
|
+
-DCMAKE_PREFIX_PATH=/path/to/Qt5.7.0/5.7/{arch}/path/to/Qt5Core \
|
37
|
+
-DANDROID_NDK=/path/to/Android/Sdk/ndk-bundle \
|
38
|
+
-DANDROID_SDK_ROOT=/path/to/Android/Sdk/ \
|
39
|
+
-DANDROID_SDK_BUILD_TOOLS_REVISION=26.0.2 \
|
40
|
+
-DCMAKE_INSTALL_PREFIX=/path/to/dummy/install/prefix
|
41
|
+
```
|
42
|
+
|
43
|
+
You need a `-DCMAKE_INSTALL_PREFIX` to somewhere in your home, but using an absolute path.
|
44
|
+
|
45
|
+
If you have a local checkout of the breeze-icons repo, you can avoid the cloning of the build dir
|
46
|
+
by passing also `-DBREEZEICONS_DIR=/path/to/existing/sources/of/breeze-icons`
|
47
|
+
|
48
|
+
```
|
49
|
+
make create-apk-kirigami2gallery
|
50
|
+
```
|
51
|
+
|
52
|
+
`./kirigami2gallery_build_apk/build/outputs/apk/kirigami2gallery_build_apk-debug.apk` will be generated
|
53
|
+
|
54
|
+
To directly install on a phone:
|
55
|
+
```
|
56
|
+
adb install -r ./kirigami2gallery_build_apk/build/outputs/apk/kirigami2gallery_build_apk-debug.apk
|
57
|
+
```
|
58
|
+
To perform this, your device need to be configureted with `USB debugging` and `install via USB` in `Developer options`.
|
59
|
+
|
60
|
+
> Some ambient variables must be set before the process: `ANDROID_NDK`, `ANDROID_SDK_ROOT`, `Qt5_android` and `JAVA_HOME`
|
61
|
+
```
|
62
|
+
export ANDROID_NDK=/path/to/android-ndk
|
63
|
+
export ANDROID_SDK_ROOT=/path/to/android-sdk
|
64
|
+
export Qt5_android=/path/to/android-qt5/5.7.0/{arch}
|
65
|
+
export PATH=$ANDROID_SDK_ROOT/platform-tools/:$PATH
|
66
|
+
# adapt the following path to your ant installation
|
67
|
+
export ANT=/usr/bin/ant
|
68
|
+
export JAVA_HOME=/path/to/lib/jvm/java-8-openjdk/
|
69
|
+
```
|
70
|
+
# Build on your application Android, ship it together Kirigami
|
71
|
+
|
72
|
+
1) Build kirigami
|
73
|
+
|
74
|
+
|
75
|
+
use the same procedure mentioned above (but without BUILD_EXAMPLES switch
|
76
|
+
|
77
|
+
cd into kirigami sources directory.
|
78
|
+
|
79
|
+
```sh
|
80
|
+
mkdir build
|
81
|
+
cd build
|
82
|
+
|
83
|
+
cmake .. \
|
84
|
+
-DCMAKE_TOOLCHAIN_FILE=/path/to/share/ECM/toolchain/Android.cmake\
|
85
|
+
-DCMAKE_PREFIX_PATH=/path/to/Qt5.7.0/5.7/android_armv7/\
|
86
|
+
-DCMAKE_INSTALL_PREFIX=/path/to/dummy/install/prefix\
|
87
|
+
-DECM_DIR=/path/to/share/ECM/cmake
|
88
|
+
|
89
|
+
make
|
90
|
+
make install
|
91
|
+
```
|
92
|
+
(note, omit the make create-apk-kirigami2gallery step)
|
93
|
+
|
94
|
+
2) Build your application
|
95
|
+
|
96
|
+
This guide assumes you build your application with CMake and use Extra-cmake-modules from KDE frameworks.
|
97
|
+
|
98
|
+
|
99
|
+
cd into your application sources directory.
|
100
|
+
|
101
|
+
```sh
|
102
|
+
mkdir build
|
103
|
+
cd build
|
104
|
+
|
105
|
+
cmake .. \
|
106
|
+
-DCMAKE_TOOLCHAIN_FILE=/path/to/share/ECM/toolchain/Android.cmake \
|
107
|
+
-DQTANDROID_EXPORTED_TARGET=yourapp \
|
108
|
+
-DANDROID_APK_DIR=../examples/galleryapp/ \
|
109
|
+
-DCMAKE_PREFIX_PATH=/path/to/Qt5.7.0/5.7/android_armv7/ \
|
110
|
+
-DCMAKE_INSTALL_PREFIX=/path/to/dummy/install/prefix
|
111
|
+
```
|
112
|
+
|
113
|
+
Note, `-DCMAKE_INSTALL_PREFIX` folder will be the same as where kirigami was installed, since you need to create an apk package that contains both the kirigami build and the build of your application.
|
114
|
+
|
115
|
+
```sh
|
116
|
+
make
|
117
|
+
make install
|
118
|
+
make create-apk-yourapp
|
119
|
+
```
|
120
|
+
|
121
|
+
where make create-apk-yourapp dependes from the actual name of your application
|
122
|
+
|
123
|
+
# Build a QMake-based application
|
124
|
+
|
125
|
+
* Base upon the example in examples/minimalqmake
|
126
|
+
* on android, it builds it statically, on desktop systems it uses the one distribution provided (static linking mode may be useful for other systems such as iOS or Windows)
|
127
|
+
* in order to have static linking working, clone kirigami.git and breeze-icons.git under the 3rdparty folder
|
128
|
+
* in your main.cpp you'll have, only on android KirigamiPlugin::getInstance().registerTypes(); which will make the import work
|
129
|
+
* qtcreator should be able to do deployment on android out of the box
|
130
|
+
|
@@ -93,7 +93,7 @@ describe KdeFrameworksCreator do
|
|
93
93
|
expect(c.frameworks.count).to eq 0
|
94
94
|
end
|
95
95
|
|
96
|
-
it "parses README" do
|
96
|
+
it "parses full README" do
|
97
97
|
c = KdeFrameworksCreator.new
|
98
98
|
|
99
99
|
framework_path = given_directory "karchive" do
|
@@ -115,6 +115,39 @@ describe KdeFrameworksCreator do
|
|
115
115
|
expect(karchive["summary"]).to eq "Reading, creation, and manipulation of file archives"
|
116
116
|
end
|
117
117
|
|
118
|
+
it "parses short README" do
|
119
|
+
c = KdeFrameworksCreator.new
|
120
|
+
|
121
|
+
framework_path = given_directory "kholidays" do
|
122
|
+
given_directory(".git")
|
123
|
+
given_file "README.md", :from => "kholidays.readme"
|
124
|
+
end
|
125
|
+
|
126
|
+
c.parse_readme framework_path
|
127
|
+
|
128
|
+
karchive = c.framework("kholidays")
|
129
|
+
|
130
|
+
expect( c.errors.count ).to eq 0
|
131
|
+
|
132
|
+
expect(karchive["title"]).to eq "KHolidays"
|
133
|
+
expect(karchive["introduction"]).to eq "This library provides a C++ API that determines holiday and other\nspecial events for a geographical region."
|
134
|
+
end
|
135
|
+
|
136
|
+
it "parses README with multiple top headers" do
|
137
|
+
c = KdeFrameworksCreator.new
|
138
|
+
|
139
|
+
framework_path = given_directory "kirigami" do
|
140
|
+
given_directory(".git")
|
141
|
+
given_file "README.md", :from => "kirigami.readme"
|
142
|
+
end
|
143
|
+
|
144
|
+
c.parse_readme framework_path
|
145
|
+
|
146
|
+
framework = c.framework("kirigami")
|
147
|
+
|
148
|
+
expect(framework["title"]).to eq("Kirigami")
|
149
|
+
end
|
150
|
+
|
118
151
|
it "parses metainfo.yaml" do
|
119
152
|
c = KdeFrameworksCreator.new
|
120
153
|
|
data/spec/unit/view_spec.rb
CHANGED
@@ -4,7 +4,7 @@ describe View do
|
|
4
4
|
|
5
5
|
context "general libraries" do
|
6
6
|
include_context "manifest_files"
|
7
|
-
|
7
|
+
|
8
8
|
it "shows version content" do
|
9
9
|
mh = ManifestHandler.new settings
|
10
10
|
mh.read_remote
|
@@ -12,10 +12,10 @@ describe View do
|
|
12
12
|
|
13
13
|
v.library = mh.library "awesomelib"
|
14
14
|
v.manifest = v.library.latest_manifest
|
15
|
-
|
15
|
+
|
16
16
|
expect(v.version_content).to include "0.2.0"
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
it "throws error on showing version content of generic manifest" do
|
20
20
|
mh = ManifestHandler.new settings
|
21
21
|
mh.read_remote
|
@@ -23,7 +23,7 @@ describe View do
|
|
23
23
|
|
24
24
|
v.library = mh.library "newlib"
|
25
25
|
v.manifest = v.library.latest_manifest
|
26
|
-
|
26
|
+
|
27
27
|
expect{v.version_content}.to raise_error(InqludeError)
|
28
28
|
end
|
29
29
|
|
@@ -31,16 +31,16 @@ describe View do
|
|
31
31
|
mh = ManifestHandler.new settings
|
32
32
|
mh.read_remote
|
33
33
|
v = View.new mh
|
34
|
-
|
34
|
+
|
35
35
|
expect(v.unreleased_libraries.count).to eq mh.unreleased_libraries.count
|
36
36
|
expect(v.unreleased_libraries.first.name).to eq mh.unreleased_libraries.first.name
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
39
|
it "returns list of commercial libraries" do
|
40
40
|
mh = ManifestHandler.new settings
|
41
41
|
mh.read_remote
|
42
42
|
v = View.new mh
|
43
|
-
|
43
|
+
|
44
44
|
expect(v.commercial_libraries.count).to eq mh.commercial_libraries.count
|
45
45
|
expect(v.commercial_libraries.first.name).to eq mh.commercial_libraries.first.name
|
46
46
|
end
|
@@ -53,13 +53,13 @@ describe View do
|
|
53
53
|
expect(v.latest_libraries.count).to eq mh.latest_libraries.count
|
54
54
|
expect(v.latest_libraries.first.name).to eq mh.latest_libraries.first.name
|
55
55
|
end
|
56
|
-
|
56
|
+
|
57
57
|
it "returns group" do
|
58
58
|
mh = ManifestHandler.new settings
|
59
59
|
mh.read_remote
|
60
60
|
v = View.new mh
|
61
61
|
v.group_name = "kde-frameworks"
|
62
|
-
|
62
|
+
|
63
63
|
expect(v.group.count).to eq mh.group("kde-frameworks").count
|
64
64
|
expect(v.group.first.name).to eq mh.group("kde-frameworks").first.name
|
65
65
|
end
|
@@ -73,11 +73,11 @@ describe View do
|
|
73
73
|
expect(v.topic("API").first.name).to eq 'awesomelib'
|
74
74
|
end
|
75
75
|
end
|
76
|
-
|
76
|
+
|
77
77
|
context "generic manifest and one release" do
|
78
|
-
|
78
|
+
|
79
79
|
include GivenFilesystemSpecHelpers
|
80
|
-
|
80
|
+
|
81
81
|
use_given_filesystem
|
82
82
|
|
83
83
|
before(:each) do
|
@@ -87,30 +87,30 @@ describe View do
|
|
87
87
|
given_file("karchive.2014-02-01.manifest", :from => "karchive-release-beta.manifest")
|
88
88
|
end
|
89
89
|
end
|
90
|
-
|
90
|
+
|
91
91
|
s = Settings.new
|
92
92
|
s.manifest_path = @manifest_dir
|
93
93
|
s.offline = true
|
94
94
|
@manifest_handler = ManifestHandler.new s
|
95
95
|
@manifest_handler.read_remote
|
96
96
|
end
|
97
|
-
|
97
|
+
|
98
98
|
it "shows version content" do
|
99
99
|
v = View.new @manifest_handler
|
100
100
|
|
101
101
|
v.library = @manifest_handler.library "karchive"
|
102
102
|
v.manifest = v.library.latest_manifest
|
103
|
-
|
103
|
+
|
104
104
|
expect(v.version_content).to include "4.9.90"
|
105
105
|
expect(v.version_content).not_to include( "older versions" )
|
106
106
|
end
|
107
|
-
|
107
|
+
|
108
108
|
end
|
109
109
|
|
110
110
|
context "generic manifest and two releases" do
|
111
|
-
|
111
|
+
|
112
112
|
include GivenFilesystemSpecHelpers
|
113
|
-
|
113
|
+
|
114
114
|
use_given_filesystem
|
115
115
|
|
116
116
|
before(:each) do
|
@@ -121,14 +121,14 @@ describe View do
|
|
121
121
|
given_file("karchive.2014-03-04.manifest", :from => "karchive-release2.manifest")
|
122
122
|
end
|
123
123
|
end
|
124
|
-
|
124
|
+
|
125
125
|
s = Settings.new
|
126
126
|
s.manifest_path = @manifest_dir
|
127
127
|
s.offline = true
|
128
128
|
@manifest_handler = ManifestHandler.new s
|
129
129
|
@manifest_handler.read_remote
|
130
130
|
end
|
131
|
-
|
131
|
+
|
132
132
|
it "shows version content" do
|
133
133
|
v = View.new @manifest_handler
|
134
134
|
|
@@ -149,7 +149,7 @@ describe View do
|
|
149
149
|
expect(File.exists?(all_path)).to be true
|
150
150
|
expected_all_content = File.read(test_data_path("inqlude-all-karchive.json"))
|
151
151
|
expect(File.read(all_path)).to eq expected_all_content
|
152
|
-
end
|
152
|
+
end
|
153
153
|
end
|
154
154
|
|
155
155
|
context "rendertest" do
|
@@ -187,7 +187,7 @@ EOT
|
|
187
187
|
|
188
188
|
it "returns if there are more URLs" do
|
189
189
|
expect(@view.more_urls?).to be true
|
190
|
-
end
|
190
|
+
end
|
191
191
|
end
|
192
192
|
|
193
193
|
context "templates" do
|
@@ -220,22 +220,23 @@ EOT
|
|
220
220
|
nokogiri_object = Nokogiri::HTML(html_data)
|
221
221
|
paragraphs_content = nokogiri_object.xpath("//p").to_s
|
222
222
|
|
223
|
-
expected_content =
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
223
|
+
expected_content = <<-EOT.chomp
|
224
|
+
<p>
|
225
|
+
The goal of Inqlude is to provide a comprehensive listing of all
|
226
|
+
existing libraries for developers of Qt applications. If you are creating
|
227
|
+
applications using the <a href="http://qt-project.org">Qt toolkit</a>, and
|
228
|
+
are looking for libraries, components
|
229
|
+
or modules to use, Inqlude is the place where you find all information and
|
230
|
+
pointers to get started.
|
231
|
+
</p><p>
|
232
|
+
This is a young project, we are still collecting information, and are
|
233
|
+
building up the web site and the tools around it. If you would like to get
|
234
|
+
involved, read more about <a href="contribute.html">how to contribute</a>, or go
|
235
|
+
to the mailing list
|
236
|
+
<a href="https://mail.kde.org/mailman/listinfo/inqlude">inqlude.kde.org</a>
|
237
|
+
to directly talk to us. See you there.
|
238
|
+
</p>
|
239
|
+
EOT
|
239
240
|
|
240
241
|
expect(paragraphs_content).to eq(expected_content)
|
241
242
|
end
|
@@ -264,7 +265,7 @@ EOT
|
|
264
265
|
expect(rendered).to include expected
|
265
266
|
end
|
266
267
|
|
267
|
-
it "generates footer for sub pages" do
|
268
|
+
it "generates footer for sub pages" do
|
268
269
|
@v.render_template("about", @dir)
|
269
270
|
rendered = @v.add_footer
|
270
271
|
expected = 'Last updated on ' + Date.today.to_s
|
@@ -25,8 +25,8 @@
|
|
25
25
|
production use yet. Data is still incomplete, and the tools are
|
26
26
|
limited. Feedback and input is appreciated.
|
27
27
|
%p
|
28
|
-
If you have questions of comments please feel free to
|
29
|
-
|
28
|
+
If you have questions of comments please feel free to let us know by
|
29
|
+
#{link_to "creating an issue", "https://github.com/cornelius/inqlude/issues/new"}.
|
30
30
|
%p
|
31
31
|
Inqlude was created by
|
32
32
|
= link_to "Cornelius Schumacher", "mailto:schumacher@kde.org"
|
@@ -23,7 +23,7 @@
|
|
23
23
|
- if library.manifests.last.platforms.include? 'Android'
|
24
24
|
%i.fa.fa-android
|
25
25
|
- if library.manifests.last.platforms.include? 'iOS'
|
26
|
-
%
|
26
|
+
%span.ios
|
27
27
|
%td.topics
|
28
28
|
- if library.manifests.last.topics
|
29
29
|
- library.manifests.last.topics.each do |topic|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
for documentation about what to put into the manifest.
|
21
21
|
%p
|
22
22
|
You can contribute meta data by providing patches to the inqlude-data
|
23
|
-
repository. Use the
|
23
|
+
repository. Use the KDE or GitHub mechanisms or just send patches by email.
|
24
24
|
Contributions are welcome.
|
25
25
|
%br
|
26
26
|
|
@@ -41,9 +41,9 @@
|
|
41
41
|
out there.
|
42
42
|
%br
|
43
43
|
|
44
|
-
%h3
|
44
|
+
%h3 Discussions
|
45
45
|
|
46
46
|
%p
|
47
47
|
If you want to discuss any aspects of Inqlude, get in contact with us, have
|
48
|
-
questions, or want to contribute in any other way, the best way is to
|
49
|
-
|
48
|
+
questions, or want to contribute in any other way, the best way is to start
|
49
|
+
a thread by #{link_to "creating an issue", "https://github.com/cornelius/inqlude/issues/new"}.
|
@@ -6,16 +6,16 @@
|
|
6
6
|
|
7
7
|
%table.table-hover.col-sm-12
|
8
8
|
- group.each do |library|
|
9
|
-
%tr
|
9
|
+
%tr
|
10
10
|
%td.name
|
11
11
|
- if library.latest_manifest.display_name
|
12
12
|
= link_to_library(library.latest_manifest.name, library.latest_manifest.display_name)
|
13
13
|
- else
|
14
14
|
= link_to_library(library.latest_manifest.name, library.latest_manifest.name)
|
15
15
|
%td.summary
|
16
|
-
= library.manifests.last.summary
|
16
|
+
= library.manifests.last.summary
|
17
17
|
%td.platforms
|
18
|
-
%link{:href => "
|
18
|
+
%link{:href => "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css", :rel => "stylesheet"}
|
19
19
|
- if library.manifests.last.platforms.include? 'Linux'
|
20
20
|
%i.fa.fa-linux
|
21
21
|
- if library.manifests.last.platforms.include? 'OS X'
|
@@ -25,19 +25,19 @@
|
|
25
25
|
- if library.manifests.last.platforms.include? 'Android'
|
26
26
|
%i.fa.fa-android
|
27
27
|
- if library.manifests.last.platforms.include? 'iOS'
|
28
|
-
%
|
28
|
+
%span.ios
|
29
29
|
%td.topics
|
30
30
|
- if library.manifests.last.topics
|
31
31
|
- library.manifests.last.topics.each do |topic|
|
32
32
|
- if (topic != library.manifests.last.topics.last)
|
33
33
|
= topic + ", "
|
34
|
-
- else
|
35
|
-
= topic
|
34
|
+
- else
|
35
|
+
= topic
|
36
36
|
%td.licenses
|
37
37
|
- library.manifests.last.licenses.each do |license|
|
38
38
|
- if (license != library.manifests.last.licenses.last)
|
39
39
|
= license + ", "
|
40
|
-
- else
|
40
|
+
- else
|
41
41
|
= license
|
42
42
|
%br
|
43
43
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
- if library.manifests.last.platforms.include? 'Android'
|
22
22
|
%i.fa.fa-android
|
23
23
|
- if library.manifests.last.platforms.include? 'iOS'
|
24
|
-
%
|
24
|
+
%span.ios
|
25
25
|
%td.topics
|
26
26
|
- if library.manifests.last.topics
|
27
27
|
- library.manifests.last.topics.each do |topic|
|
@@ -59,7 +59,7 @@
|
|
59
59
|
- if library.manifests.last.platforms.include? 'Android'
|
60
60
|
%i.fa.fa-android
|
61
61
|
- if library.manifests.last.platforms.include? 'iOS'
|
62
|
-
%
|
62
|
+
%span.ios
|
63
63
|
%td.topics
|
64
64
|
- if library.manifests.last.topics
|
65
65
|
- library.manifests.last.topics.each do |topic|
|
@@ -93,7 +93,7 @@
|
|
93
93
|
- if library.manifests.last.platforms.include? 'Android'
|
94
94
|
%i.fa.fa-android
|
95
95
|
- if library.manifests.last.platforms.include? 'iOS'
|
96
|
-
%
|
96
|
+
%span.ios
|
97
97
|
%td.topics
|
98
98
|
- if library.manifests.last.topics
|
99
99
|
- library.manifests.last.topics.each do |topic|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
- if library.manifests.last.platforms.include? 'Android'
|
128
128
|
%i.fa.fa-android
|
129
129
|
- if library.manifests.last.platforms.include? 'iOS'
|
130
|
-
%
|
130
|
+
%span.ios
|
131
131
|
%td.topics
|
132
132
|
- if library.manifests.last.topics
|
133
133
|
- library.manifests.last.topics.each do |topic|
|
@@ -165,7 +165,7 @@
|
|
165
165
|
- if library.manifests.last.platforms.include? 'Android'
|
166
166
|
%i.fa.fa-android
|
167
167
|
- if library.manifests.last.platforms.include? 'iOS'
|
168
|
-
%
|
168
|
+
%span.ios
|
169
169
|
%td.topics
|
170
170
|
- if library.manifests.last.topics
|
171
171
|
- library.manifests.last.topics.each do |topic|
|
@@ -1,19 +1,23 @@
|
|
1
1
|
!!!
|
2
2
|
%head
|
3
3
|
%meta{ :charset => 'utf-8' }
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
|
5
|
+
%title Inqlude - The Qt library archive
|
6
|
+
|
7
|
+
%link{ :rel => "stylesheet", :href => "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" }
|
8
|
+
%link{ :rel => "stylesheet", :href => "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" }
|
9
|
+
= style_sheet
|
8
10
|
- if enable_search
|
9
|
-
|
10
|
-
|
11
|
-
|
11
|
+
%link{ :rel => "stylesheet", :href => "https://fonts.googleapis.com/css?family=Droid+Sans" }
|
12
|
+
%link{ :rel => "stylesheet", :href => "https://www.google.com/cse/style/look/default.css" }
|
13
|
+
|
14
|
+
%link{ :rel => "icon", :type => "image/x-icon", :href => "favicon.ico" }
|
15
|
+
|
12
16
|
%body
|
13
17
|
.container-fluid.header
|
14
18
|
.col-sm-8.left
|
15
19
|
.ribbon
|
16
|
-
= link_to "Alpha", "about"
|
20
|
+
= link_to "Alpha", "about"
|
17
21
|
%h1
|
18
22
|
%span.logo><
|
19
23
|
= link_to "#in", "index"
|
@@ -24,7 +28,7 @@
|
|
24
28
|
%h2
|
25
29
|
%span.subtitle><
|
26
30
|
= link_to "The Qt library archive", "index"
|
27
|
-
.col-sm-4.right
|
31
|
+
.col-sm-4.right
|
28
32
|
- if enable_search
|
29
33
|
%gcse:searchbox-only{ resultsUrl: "https://inqlude.org/search.html" }
|
30
34
|
Loading...
|
@@ -32,7 +36,7 @@
|
|
32
36
|
|
33
37
|
.col-sm-3.side-bar
|
34
38
|
%p{:class => "description"}
|
35
|
-
Inqlude provides a comprehensive listing of all existing libraries for developers of applications using the #{link_to "Qt toolkit", "http://qt-project.org"}. Inqlude is run by the community and open for contributions.
|
39
|
+
Inqlude provides a comprehensive listing of all existing libraries for developers of applications using the #{link_to "Qt toolkit", "http://qt-project.org"}. Inqlude is run by the community and open for contributions.
|
36
40
|
%ul.titles-list
|
37
41
|
%li
|
38
42
|
= link_to "About", "about"
|
@@ -77,7 +81,7 @@
|
|
77
81
|
%br{ :clear => "all" }
|
78
82
|
|
79
83
|
%hr
|
80
|
-
|
84
|
+
|
81
85
|
.col-sm-12.footer
|
82
86
|
= add_footer
|
83
87
|
|
@@ -93,3 +97,20 @@
|
|
93
97
|
var s = document.getElementsByTagName('script')[0];
|
94
98
|
s.parentNode.insertBefore(gcse, s);
|
95
99
|
})();
|
100
|
+
|
101
|
+
%script{ :src => "https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" }
|
102
|
+
|
103
|
+
<!-- Piwik -->
|
104
|
+
:javascript
|
105
|
+
var _paq = _paq || [];
|
106
|
+
// tracker methods like "setCustomDimension" should be called before "trackPageView"
|
107
|
+
_paq.push(['trackPageView']);
|
108
|
+
_paq.push(['enableLinkTracking']);
|
109
|
+
(function() {
|
110
|
+
var u="//stats.kde.org/";
|
111
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
112
|
+
_paq.push(['setSiteId', '4']);
|
113
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
114
|
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
115
|
+
})();
|
116
|
+
<!-- End Piwik Code -->
|
@@ -24,7 +24,7 @@
|
|
24
24
|
- if library.manifests.last.platforms.include? 'Android'
|
25
25
|
%i.fa.fa-android
|
26
26
|
- if library.manifests.last.platforms.include? 'iOS'
|
27
|
-
%
|
27
|
+
%span.ios
|
28
28
|
%td.topics
|
29
29
|
- if library.manifests.last.topics
|
30
30
|
- library.manifests.last.topics.each do |topic|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inqlude
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cornelius Schumacher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -145,14 +145,18 @@ executables:
|
|
145
145
|
extensions: []
|
146
146
|
extra_rdoc_files: []
|
147
147
|
files:
|
148
|
+
- ".github/labels/cornelius-inqlude-labels.svg"
|
149
|
+
- ".github/labels/cornelius-inqlude-labels.tf"
|
150
|
+
- ".github/labels/cornelius-inqlude-labels.yaml"
|
148
151
|
- ".gitignore"
|
149
152
|
- ".rspec"
|
150
153
|
- ".travis.yml"
|
151
154
|
- CHANGELOG.md
|
155
|
+
- CONTRIBUTING.md
|
152
156
|
- COPYING
|
153
157
|
- Gemfile
|
154
158
|
- README.md
|
155
|
-
-
|
159
|
+
- ROADMAP.md
|
156
160
|
- accessing-inqlude-data.md
|
157
161
|
- bin/inqlude
|
158
162
|
- data/manifest.patch
|
@@ -197,6 +201,8 @@ files:
|
|
197
201
|
- spec/data/karchive.authors
|
198
202
|
- spec/data/karchive.metainfo.yaml
|
199
203
|
- spec/data/karchive.readme
|
204
|
+
- spec/data/kholidays.readme
|
205
|
+
- spec/data/kirigami.readme
|
200
206
|
- spec/data/kservice-generic.manifest
|
201
207
|
- spec/data/kservice.readme
|
202
208
|
- spec/data/manifests/awesomelib/awesomelib.2013-09-08.manifest
|
@@ -293,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
293
299
|
version: 1.3.6
|
294
300
|
requirements: []
|
295
301
|
rubyforge_project: inqlude
|
296
|
-
rubygems_version: 2.
|
302
|
+
rubygems_version: 2.6.14
|
297
303
|
signing_key:
|
298
304
|
specification_version: 4
|
299
305
|
summary: Command line tool for handling Qt based libraries
|
data/TODO
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
# 0.8 (Alpha) (second announcement, ready for contributors)
|
2
|
-
|
3
|
-
* Create ROADMAP.md
|
4
|
-
* Define milestones on GitHub and reference issues
|
5
|
-
* Move all issues from this file to GitHub
|
6
|
-
* Add Upstream.get_involved for all issues where possible
|
7
|
-
|
8
|
-
* Split cli #23
|
9
|
-
* Sort out client naming
|
10
|
-
|
11
|
-
* Release it
|
12
|
-
|
13
|
-
|
14
|
-
# 0.9 (Beta) (ready for contributors of meta data, schema stable)
|
15
|
-
|
16
|
-
* Add display name High Priority #12
|
17
|
-
* Check platform attribute for valid entries High Priority #18
|
18
|
-
* Check maturity for valid values High Priority #16
|
19
|
-
* Add a comment field for authors Medium Priority #15
|
20
|
-
* Add attribute for screenshots Medium Priority #10
|
21
|
-
* Add bugtracker URL Low Priority #7
|
22
|
-
* Add vcs:git:clone_url
|
23
|
-
* Use SPDX license identifiers (http://spdx.org/licenses/)
|
24
|
-
* Link to license text Medium Priority #14
|
25
|
-
|
26
|
-
* Define maturity scale
|
27
|
-
* State policy for inclusion of libraries (at least one stable release, no qt3,
|
28
|
-
open source, provides a Qt API, published API docs)
|
29
|
-
* Handle binding consistently (suffix -qt, common description, maybe special
|
30
|
-
tags in meta data for bound library)
|
31
|
-
|
32
|
-
* Show Qt5 compability High Priority #20
|
33
|
-
|
34
|
-
* Define how to handle dependencies between libraries on inqlude.org
|
35
|
-
|
36
|
-
* Check links Medium Priority #11
|
37
|
-
* Add command for showing library details High Priority #1
|
38
|
-
|
39
|
-
* Turn alpha ribbon into beta ribbon on web site
|
40
|
-
|
41
|
-
* Commit hook on server to verify the manifests
|
42
|
-
|
43
|
-
* Release it
|
44
|
-
|
45
|
-
|
46
|
-
# 1.0 (ready for end users of the web site)
|
47
|
-
|
48
|
-
* Show latest releases on web page Medium Priority #22
|
49
|
-
* Make layout responsive Medium Priority Web site #6
|
50
|
-
* Align summaries on development page vertically Low Priority Web site #19
|
51
|
-
|
52
|
-
* Add "How to use" data
|
53
|
-
* Add tags for searching
|
54
|
-
|
55
|
-
* Update manifest data to have complete package data
|
56
|
-
* Check existence of packages
|
57
|
-
* Link to Open Build Service Low Priority #9
|
58
|
-
|
59
|
-
* Remove beta ribbon on web site
|
60
|
-
|
61
|
-
* Release it
|
62
|
-
|
63
|
-
|
64
|
-
# 2.0 (ready for end users of the command line tool)
|
65
|
-
|
66
|
-
* Smarter match for source RPMs, which contain more than one library
|
67
|
-
* Retrieve data from qt-apps and kde-apps
|
68
|
-
* "How to package libraries"
|
69
|
-
* Look for local search
|
70
|
-
* Get manifests from build service
|
71
|
-
* List libraries with available packages
|
72
|
-
* Properly identify repository (use vendor?)
|
73
|
-
* Dependencies to other libraries
|
74
|
-
* Get from list_dependencies in kde build meta data
|
75
|
-
* Qt version information
|
76
|
-
* minimum_qt_version = [ 4.2.1, 5.1.0 ]
|
77
|
-
or
|
78
|
-
* split manifests between Qt 4 and Qt 5 (directory with Qt version suffix)
|
79
|
-
* Check installation experience on Mac
|
80
|
-
* Check installation experience on Windows
|
81
|
-
* User client without dependencies on git and Ruby
|
82
|
-
* Integration tests for download/list/etc. functionality
|
83
|
-
* Define way to manage local downloads
|
84
|
-
|
85
|
-
* Release it
|
86
|
-
|
87
|
-
|
88
|
-
# Later
|
89
|
-
|
90
|
-
* Add some quality indication Low Priority #17
|