po/POTFILES.in                                 |    1 
 src/Makefile.am                                |    6 ++
 src/meson.build                                |    9 +++
 src/org.pulseaudio.pavucontrol.metainfo.xml.in |   74 +++++++++++++++++++++++++
 4 files changed, 90 insertions(+)

New commits:
commit c330506815f78f77f6685cb40749679eae789d63
Author: Will Thompson <w...@willthompson.co.uk>
Date:   Mon Mar 18 11:02:48 2024 +0000

    metainfo: Add release notes for 5.0
    
    These are taken from README.html.in, without the information about new
    dependencies (IMHO not useful to end-users) or “Some bug fixes.” (IMHO
    not specific enough to be useful).

diff --git a/src/org.pulseaudio.pavucontrol.metainfo.xml.in 
b/src/org.pulseaudio.pavucontrol.metainfo.xml.in
index c83e805..ff47ea4 100644
--- a/src/org.pulseaudio.pavucontrol.metainfo.xml.in
+++ b/src/org.pulseaudio.pavucontrol.metainfo.xml.in
@@ -39,7 +39,16 @@
     </screenshot>
   </screenshots>
   <releases>
-    <release version="5.0" date="2021-08-15"/>
+    <release version="5.0" date="2021-08-15">
+      <description>
+        <ul>
+          <li>Support for switching Bluetooth codecs (new in PulseAudio 
15.0).</li>
+          <li>Support for locking card profiles (new in PulseAudio 15.0). 
Locking a profile prevents PulseAudio from automatically switching away from 
that profile on plug/unplug events.</li>
+          <li>New translations: Asturian, Basque, Belarusian, Galician, 
Hebrew, Kazakh, Norwegian Bokmål, Sinhala, Slovenian</li>
+          <li>Updated translations: Catalan, Chinese (Simplified), Chinese 
(Traditional), Croatian, Danish, Dutch, Finnish, French, German, Hungarian, 
Italian, Japanese, Korean, Lithuanian, Norwegian Nynorsk, Polish, Portugese, 
Portugese (Brazil), Slovak, Spanish, Swedish, Turkish, Ukrainian.</li>
+        </ul>
+      </description>
+    </release>
     <release version="4.0" date="2019-03-05">
       <description>
         <ul>

commit be0226094137c9cc147c5eb85c6b972bb79a9941
Author: Will Thompson <w...@willthompson.co.uk>
Date:   Mon Mar 18 11:01:26 2024 +0000

    Add AppStream metainfo file
    
    This file is taken from the Flathub package, as of
    https://github.com/flathub/org.pulseaudio.pavucontrol/pull/31 where I
    have adjusted the name & summary to conform to Flathub's rules. In
    particular:
    
    - The name must be no more than 20 characters, so I have used “Volume
      Control” to match the window title and GenericName
    
    - The summary must be no more than 35 characters.
    
    I noticed while preparing this patch that the Comment in the .desktop
    file (which the appstream specification says is “roughly equivalent” to
    the <summary>) is just “Adjust the volume level”. IMO “Adjust the volume
    level” contains no more information than the name “Volume Control”.
    
    Fixes https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/127

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 931f312..a939fc8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+src/org.pulseaudio.pavucontrol.appdata.xml.in
 src/pavucontrol.desktop.in
 src/pavucontrol.glade
 src/pavucontrol.cc
diff --git a/src/Makefile.am b/src/Makefile.am
index adec68e..4b39cfe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,6 +18,7 @@
 desktopdir = $(datadir)/applications
 gladedir = $(pkgdatadir)
 localedir = $(datadir)/locale
+metainfodir = $(datadir)/metainfo
 
 bin_PROGRAMS=pavucontrol
 glade_DATA=pavucontrol.glade
@@ -27,6 +28,11 @@ desktop_DATA=$(desktop_in_files:.desktop.in=.desktop)
 $(desktop_DATA): $(desktop_in_files)
        $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
 
+metainfo_in_files=org.pulseaudio.pavucontrol.metainfo.xml.in
+metainfo_DATA=$(metainfo_in_files:.metainfo.xml.in=.metainfo.xml)
+$(metainfo_DATA): $(metainfo_in_files)
+       $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
 pavucontrol_SOURCES= \
   minimalstreamwidget.h minimalstreamwidget.cc \
   channelwidget.h channelwidget.cc \
diff --git a/src/meson.build b/src/meson.build
index d480475..f8a4b81 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -40,3 +40,12 @@ desktop_file = i18n.merge_file(
   install : true,
   install_dir : join_paths(datadir, 'applications'),
 )
+
+appdata_file = i18n.merge_file(
+  input : 'org.pulseaudio.pavucontrol.metainfo.xml.in',
+  output : 'org.pulseaudio.pavucontrol.metainfo.xml',
+  po_dir : po_dir,
+  type : 'xml',
+  install : true,
+  install_dir : datadir / 'metainfo',
+)
diff --git a/src/org.pulseaudio.pavucontrol.metainfo.xml.in 
b/src/org.pulseaudio.pavucontrol.metainfo.xml.in
new file mode 100644
index 0000000..c83e805
--- /dev/null
+++ b/src/org.pulseaudio.pavucontrol.metainfo.xml.in
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2019 Endless OS Foundation LLC-->
+<component type="desktop-application">
+  <id>org.pulseaudio.pavucontrol</id>
+  <translation type="gettext">pavucontrol</translation>
+  <launchable type="desktop-id">pavucontrol.desktop</launchable>
+  <name>Volume Control</name>
+  <summary>Adjust device and app volumes</summary>
+  <developer_name>The PulseAudio Developers</developer_name>
+  <developer id="org.pulseaudio">
+    <name>The PulseAudio Developers</name>
+  </developer>
+  <description>
+    <p>PulseAudio Volume Control (pavucontrol) is a volume control tool 
(“mixer”) for the PulseAudio sound server. In contrast to classic mixer tools, 
this one allows you to control both the volume of hardware devices and of each 
playback stream separately.</p>
+  </description>
+  <provides>
+    <id>pavucontrol.desktop</id>
+  </provides>
+  <screenshots>
+    <screenshot type="default">
+      <caption>The “Playback” tab</caption>
+      <image type="source" width="1600" 
height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-playback.png</image>
+    </screenshot>
+    <screenshot>
+      <caption>The “Recording” tab</caption>
+      <image type="source" width="1600" 
height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-record.png</image>
+    </screenshot>
+    <screenshot>
+      <caption>The “Output” tab</caption>
+      <image type="source" width="1600" 
height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-output.png</image>
+    </screenshot>
+    <screenshot>
+      <caption>The “Input” tab</caption>
+      <image type="source" width="1600" 
height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-input.png</image>
+    </screenshot>
+    <screenshot>
+      <caption>The “Configuration” tab</caption>
+      <image type="source" width="1600" 
height="900">https://freedesktop.org/software/pulseaudio/pavucontrol/screenshots/pavucontrol-config.png</image>
+    </screenshot>
+  </screenshots>
+  <releases>
+    <release version="5.0" date="2021-08-15"/>
+    <release version="4.0" date="2019-03-05">
+      <description>
+        <ul>
+          <li>There can now be only one pavucontrol window open at a time. 
Trying to start pavucontrol for a second time brings the first window to 
foreground.</li>
+          <li>Added a "Show volume meters" checkbox to the Configuration tab. 
Disabling the volume meters reduces CPU use.</li>
+          <li>Improve the use of space (remove useless margins and 
paddings).</li>
+          <li>Use a more appropriate icon for the channel lock button.</li>
+          <li>Better channel label layout, prevents volume sliders from 
getting unaligned.</li>
+          <li>Maximum latency offset increased from 2 to 5 seconds to 
accommodate AirPlay devices that often have higher latency than 2 seconds (this 
is not that useful on newer PulseAudio versions, though, because the latency is 
reported much more accurately than before).</li>
+          <li>New --version command line option.</li>
+          <li>New translations: Chinese (Taiwan), Croatian, Korean, Norwegian 
Nynorsk, Lithuanian, Valencian.</li>
+          <li>Updated translations: Finnish, French, German, Italian, 
Japanese, Polish, Swedish.</li>
+        </ul>
+      </description>
+    </release>
+  </releases>
+  <content_rating type="oars-1.1"/>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <url 
type="homepage">https://freedesktop.org/software/pulseaudio/pavucontrol/</url>
+  <url 
type="bugtracker">https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues</url>
+  
<update_contact>https://gitlab.freedesktop.org/pulseaudio/pavucontrol/issues/new</update_contact>
+</component>

Reply via email to