[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][debian-mate-team/mate-media][master] 6 commits: debian/patches: Add 0002_fix-memleak-in-vol-mixer.patch. (Closes: #971783).



Title: GitLab

Mike Gabriel pushed to branch master at Debian and Ubuntu MATE Packaging Team / mate-media

Commits:

  • 36e7aedc
    by Mike Gabriel at 2023-02-02T15:44:11+01:00
    debian/patches: Add 0002_fix-memleak-in-vol-mixer.patch. (Closes: #971783).
    
  • d56eaec4
    by Mike Gabriel at 2023-02-02T15:44:11+01:00
    debian/patches: Add 0003_a11y-improvements.patch.
    
  • 0e742c64
    by Mike Gabriel at 2023-02-02T15:44:11+01:00
    debian/control: Bump Standards-Version: to 4.6.2. No changes needed.
    
  • a2b60e7f
    by Mike Gabriel at 2023-02-02T15:44:11+01:00
    debian/copyright: Update copyright attributions for debian/.
    
  • d5006a6e
    by Mike Gabriel at 2023-02-02T15:44:11+01:00
    debian/patches: Use 0001_revert-fix-validation-warnings.patch from upstream Git (with all the metadata included).
    
  • b676bb0d
    by Mike Gabriel at 2023-02-02T16:44:43+01:00
    upload to unstable (debian/1.26.0-2)
    

7 changed files:

Changes:

  • debian/changelog
    1
    +mate-media (1.26.0-2) unstable; urgency=medium
    
    2
    +
    
    3
    +  * debian/patches:
    
    4
    +    + Use 0001_revert-fix-validation-warnings.patch from upstream Git (with
    
    5
    +      all the metadata included).
    
    6
    +    + Add 0002_fix-memleak-in-vol-mixer.patch. (Closes: #971783).
    
    7
    +    + Add 0003_a11y-improvements.patch.
    
    8
    +  * debian/control:
    
    9
    +    + Bump Standards-Version: to 4.6.2. No changes needed.
    
    10
    +  * debian/copyright:
    
    11
    +    + Update copyright attributions for debian/.
    
    12
    +
    
    13
    + -- Mike Gabriel <sunweaver@debian.org>  Thu, 02 Feb 2023 15:15:21 +0100
    
    14
    +
    
    1 15
     mate-media (1.26.0-1) unstable; urgency=medium
    
    2 16
     
    
    3 17
       [ Martin Wimpress ]
    

  • debian/control
    ... ... @@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 13),
    17 17
                    libmatemixer-dev (>= 1.18),
    
    18 18
                    libxml2-dev,
    
    19 19
                    mate-common (>= 1.24.0-1~),
    
    20
    -Standards-Version: 4.6.0
    
    20
    +Standards-Version: 4.6.2
    
    21 21
     Rules-Requires-Root: no
    
    22 22
     Homepage: http://www.mate-desktop.org/
    
    23 23
     Vcs-Browser: https://salsa.debian.org/debian-mate-team/mate-media
    

  • debian/copyright
    ... ... @@ -152,7 +152,7 @@ License: public-domain
    152 152
     
    
    153 153
     Files: debian/*
    
    154 154
     Copyright: 2011-2014, Stefano Karapetsas <stefano@karapetsas.com>
    
    155
    -           2014, Mike Gabriel <sunweaver@debian.org>
    
    155
    +           2014-2023, Mike Gabriel <sunweaver@debian.org>
    
    156 156
     License: GPL-2+ or GPL-3+ or LGPL-2+
    
    157 157
     
    
    158 158
     License: GPL-2+
    

  • debian/patches/0001_revert-fix-validation-warnings.patch
    1
    +From 0d07e873ee10228a7d79221f42713a61e68b40b0 Mon Sep 17 00:00:00 2001
    
    2
    +From: rbuj <robert.buj@gmail.com>
    
    3
    +Date: Tue, 12 Oct 2021 11:55:51 +0200
    
    4
    +Subject: [PATCH] Revert Fix desktop file validation warnings It reverts the
    
    5
    + commit 2391307, thus the application mate-volume-control is displayed in the
    
    6
    + audio mixers section (Applications->Sound & Video->Mixers->Sound) because of
    
    7
    + the categories "AudioVideo;Audio;Mixer;", as well as it is also shown in the
    
    8
    + hardware sections of Hardware section (System-> Preferences->Hardware->Sound)
    
    9
    + and control center because of the categories "Settings;HardwareSettings;".
    
    10
    +
    
    11
    +---
    
    12
    + data/mate-volume-control.desktop.in.in | 2 +-
    
    13
    + 1 file changed, 1 insertion(+), 1 deletion(-)
    
    14
    +
    
    1 15
     diff --git a/data/mate-volume-control.desktop.in.in b/data/mate-volume-control.desktop.in.in
    
    2
    -index 3a77b8d..3223e96 100644
    
    16
    +index 3a77b8d..8cf91af 100644
    
    3 17
     --- a/data/mate-volume-control.desktop.in.in
    
    4 18
     +++ b/data/mate-volume-control.desktop.in.in
    
    5 19
     @@ -7,7 +7,7 @@ Icon=multimedia-volume-control
    
    ... ... @@ -7,7 +21,7 @@ index 3a77b8d..3223e96 100644
    7 21
      Type=Application
    
    8 22
      StartupNotify=true
    
    9 23
     -Categories=GTK;AudioVideo;Audio;Mixer;
    
    10
    -+Categories=AudioVideo;Mixer;Settings;HardwareSettings;
    
    24
    ++Categories=GTK;Settings;HardwareSettings;AudioVideo;Audio;Mixer;
    
    11 25
      # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
    
    12 26
      Keywords=MATE;volume;control;mixer;settings;sound;events;
    
    13 27
      _OnlyShowIn_=MATE;

  • debian/patches/0002_fix-memleak-in-vol-mixer.patch
    1
    +From 1166dd4fd6c0225209eee9493de52a08d4a744fe Mon Sep 17 00:00:00 2001
    
    2
    +From: rbuj <robert.buj@gmail.com>
    
    3
    +Date: Fri, 31 Dec 2021 21:48:51 +0100
    
    4
    +Subject: [PATCH] gvc-stream-applet-icon: fix memory leak
    
    5
    +
    
    6
    +---
    
    7
    + mate-volume-control/gvc-stream-applet-icon.c | 1 +
    
    8
    + 1 file changed, 1 insertion(+)
    
    9
    +
    
    10
    +--- a/mate-volume-control/gvc-stream-applet-icon.c
    
    11
    ++++ b/mate-volume-control/gvc-stream-applet-icon.c
    
    12
    +@@ -763,6 +763,7 @@
    
    13
    +         icon = GVC_STREAM_APPLET_ICON (object);
    
    14
    + 
    
    15
    +         g_strfreev (icon->priv->icon_names);
    
    16
    ++        g_clear_pointer (&icon->priv->display_name, g_free);
    
    17
    + 
    
    18
    +         g_signal_handlers_disconnect_by_func (gtk_settings_get_default (),
    
    19
    +                                               on_icon_theme_change,

  • debian/patches/0003_a11y-improvements.patch
    1
    +From 5fd5b5a23011ed536472ea724153216c21515f39 Mon Sep 17 00:00:00 2001
    
    2
    +From: vvillenave <valentin@villenave.net>
    
    3
    +Date: Wed, 10 Nov 2021 20:33:53 +0000
    
    4
    +Subject: [PATCH] Accessibility improvements
    
    5
    +
    
    6
    +- Make the speaker test dialog accessible
    
    7
    +- Add an accessible object for the Input level custom widget
    
    8
    +
    
    9
    +Co-authored-by: Valentin Villenave <vvillenave@hypra.fr>
    
    10
    +---
    
    11
    + mate-volume-control/gvc-level-bar.c    | 14 ++++++++++++++
    
    12
    + mate-volume-control/gvc-mixer-dialog.c |  3 +++
    
    13
    + mate-volume-control/gvc-speaker-test.c |  1 +
    
    14
    + 3 files changed, 18 insertions(+)
    
    15
    +
    
    16
    +--- a/mate-volume-control/gvc-level-bar.c
    
    17
    ++++ b/mate-volume-control/gvc-level-bar.c
    
    18
    +@@ -215,12 +215,23 @@
    
    19
    +         bar->priv->peak_fraction = value;
    
    20
    + 
    
    21
    +         if (value > bar->priv->max_peak) {
    
    22
    ++                AtkObject     *acc_obj;
    
    23
    ++                char          *acc_string;
    
    24
    ++                gdouble        peak_percentage;
    
    25
    ++
    
    26
    +                 if (bar->priv->max_peak_id > 0)
    
    27
    +                         g_source_remove (bar->priv->max_peak_id);
    
    28
    + 
    
    29
    +                 bar->priv->max_peak_id =
    
    30
    +                         g_timeout_add_seconds (1, (GSourceFunc) reset_max_peak, bar);
    
    31
    +                 bar->priv->max_peak = value;
    
    32
    ++                /* Providing an accessible based on peaks, so that
    
    33
    ++                 * it doesn’t get updated too often. */
    
    34
    ++                acc_obj = gtk_widget_get_accessible (GTK_WIDGET (bar));
    
    35
    ++                peak_percentage = round (value * 100.0);
    
    36
    ++                acc_string = g_strdup_printf (_("Peak: %.0lf"), peak_percentage);
    
    37
    ++                atk_object_set_name (acc_obj, acc_string);
    
    38
    ++                g_free (acc_string);
    
    39
    +         }
    
    40
    + 
    
    41
    +         layout = bar->priv->layout;
    
    42
    +@@ -753,6 +764,9 @@
    
    43
    +                           bar);
    
    44
    + 
    
    45
    +         gtk_widget_set_has_window (GTK_WIDGET (bar), FALSE);
    
    46
    ++
    
    47
    ++        atk_object_set_role (gtk_widget_get_accessible (GTK_WIDGET (bar)),
    
    48
    ++                                                        ATK_ROLE_STATIC);
    
    49
    + }
    
    50
    + 
    
    51
    + static void
    
    52
    +--- a/mate-volume-control/gvc-mixer-dialog.c
    
    53
    ++++ b/mate-volume-control/gvc-mixer-dialog.c
    
    54
    +@@ -2108,6 +2108,9 @@
    
    55
    +                                        GTK_ORIENTATION_HORIZONTAL);
    
    56
    +         gvc_level_bar_set_scale (GVC_LEVEL_BAR (self->priv->input_level_bar),
    
    57
    +                                  GVC_LEVEL_SCALE_LINEAR);
    
    58
    ++        gtk_label_set_mnemonic_widget (GTK_LABEL (label),
    
    59
    ++                                       self->priv->input_level_bar);
    
    60
    ++        gtk_widget_set_can_focus (self->priv->input_level_bar, TRUE);
    
    61
    +         gtk_box_pack_start (GTK_BOX (box),
    
    62
    +                             self->priv->input_level_bar,
    
    63
    +                             TRUE, TRUE, 6);
    
    64
    +--- a/mate-volume-control/gvc-speaker-test.c
    
    65
    ++++ b/mate-volume-control/gvc-speaker-test.c
    
    66
    +@@ -365,6 +365,7 @@
    
    67
    +         gtk_box_pack_start (GTK_BOX (control), label, FALSE, FALSE, 0);
    
    68
    + 
    
    69
    +         test_button = gtk_button_new_with_label (_("Test"));
    
    70
    ++        gtk_label_set_mnemonic_widget (GTK_LABEL (label), test_button);
    
    71
    +         g_signal_connect (G_OBJECT (test_button),
    
    72
    +                           "clicked",
    
    73
    +                           G_CALLBACK (on_test_button_clicked),

  • debian/patches/series
    1 1
     0001_revert-fix-validation-warnings.patch
    
    2
    +0002_fix-memleak-in-vol-mixer.patch
    
    3
    +0003_a11y-improvements.patch


  • Reply to: