Skip to content

Commit

Permalink
Merge pull request #4349 from Holzhaus/metainfo-fixes
Browse files Browse the repository at this point in the history
Metainfo fixes
  • Loading branch information
Be-ing authored Oct 4, 2021
2 parents b214480 + fe305e4 commit e086cdd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 31 deletions.
46 changes: 15 additions & 31 deletions res/linux/org.mixxx.Mixxx.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,31 +59,31 @@
</provides>
<screenshots>
<screenshot type="default">
<image>https://mixxx.org/theme/images/2.3/screenshots/latenight-palemoon-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/latenight-palemoon-1600x1200.png</image>
<caption>Mixxx with the default LateNight PaleMoon skin</caption>
</screenshot>
<screenshot>
<image>https://mixxx.org/theme/images/2.3/screenshots/latenight-classic-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/latenight-classic-1600x1200.png</image>
<caption>Mixxx with the LateNight Classic skin</caption>
</screenshot>
<screenshot>
<image>https://mixxx.org/theme/images/2.3/screenshots/deere-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/deere-1600x1200.png</image>
<caption>Mixxx with the Deere skin</caption>
</screenshot>
<screenshot>
<image>https://mixxx.org/theme/images/2.3/screenshots/shade-classic-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/shade-classic-1600x1200.png</image>
<caption>Mixxx with the Shade Classic skin</caption>
</screenshot>
<screenshot>
<image>https://mixxx.org/theme/images/2.3/screenshots/shade-dark-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/shade-dark-1600x1200.png</image>
<caption>Mixxx with the Shade Dark skin</caption>
</screenshot>
<screenshot>
<image>https://mixxx.org/theme/images/2.3/screenshots/shade-summersunset-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/shade-summersunset-1600x1200.png</image>
<caption>Mixxx with the Shade Summer Sunset skin</caption>
</screenshot>
<screenshot>
<image>https://mixxx.org/theme/images/2.3/screenshots/tango-3840x2160.png</image>
<image>https://mixxx.org/theme/images/2.3/screenshots/tango-1600x1200.png</image>
<caption>Mixxx with the Tango skin</caption>
</screenshot>
</screenshots>
Expand Down Expand Up @@ -260,13 +260,9 @@
<ul>
<li>
It is no longer necessary to manually copy the udev rule file in packaging scripts. Now pkg-config is used to determine the udevdir used to install the rules file in the CMake install step when CMAKE_INSTALL_PREFIX is
<code>
/
</code>
/
or
<code>
/usr
</code>
/usr
.
#4126
</li>
Expand Down Expand Up @@ -553,9 +549,7 @@
<ul>
<li>
Add support for searching for empty fields (for example
<code>
crate:""
</code>
crate:""
)
lp:1788086
</li>
Expand Down Expand Up @@ -794,26 +788,18 @@
<ul>
<li>
Add CMake build system with
<code>
ccache
</code>
ccache
and
<code>
sccache
</code>
sccache
support for faster compilation times and remove SCons
#2280
#3618
</li>
<li>
Make Mixxx compile even though
<code>
QT_NO_OPENGL
</code>
QT_NO_OPENGL
or
<code>
QT_OPENGL_ES_2
</code>
QT_OPENGL_ES_2
is defined (fixes build on Raspberry Pi)
lp:1863440
#2504
Expand Down Expand Up @@ -845,9 +831,7 @@
</li>
<li>
Derive Mixxx version from
<code>
git describe
</code>
git describe
#3824
#3841
#3848
Expand Down
7 changes: 7 additions & 0 deletions tools/update_metainfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ def parse_changelog(content):
new_tag = soup.new_tag("p")
new_tag.string = tag.get_text()
tag.replace_with(new_tag)

# Although the `<code>` tag is theoretically supported, it apparently
# leads to parser errors when using `appstream-util validate-relax` (as
# of version 0.7.18).
for tag in soup.find_all("code"):
tag.replace_with(tag.get_text())

desc = soup.new_tag("description")
desc.extend(soup.contents)

Expand Down

0 comments on commit e086cdd

Please sign in to comment.