Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pasystray for openSUSE:Factory checked in at 2022-12-06 14:23:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pasystray (Old) and /work/SRC/openSUSE:Factory/.pasystray.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pasystray" Tue Dec 6 14:23:39 2022 rev:11 rq:1040434 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pasystray/pasystray.changes 2022-05-04 15:11:23.084189298 +0200 +++ /work/SRC/openSUSE:Factory/.pasystray.new.1835/pasystray.changes 2022-12-06 14:23:54.569900042 +0100 @@ -1,0 +2,7 @@ +Mon Dec 5 20:50:28 UTC 2022 - Dirk Müller <dmuel...@suse.com> + +- update to 0.8.1: + * Explicit opt-in for symbolic icons + * documentation updates + +------------------------------------------------------------------- Old: ---- pasystray-0.8.0.tar.gz New: ---- pasystray-0.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pasystray.spec ++++++ --- /var/tmp/diff_new_pack.8E8Nv7/_old 2022-12-06 14:23:55.937911705 +0100 +++ /var/tmp/diff_new_pack.8E8Nv7/_new 2022-12-06 14:23:55.941911740 +0100 @@ -17,7 +17,7 @@ Name: pasystray -Version: 0.8.0 +Version: 0.8.1 Release: 0 Summary: PulseAudio system tray License: LGPL-2.1-or-later @@ -32,13 +32,13 @@ BuildRequires: pkgconfig(gail-3.0) BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(gdk-broadway-3.0) -BuildRequires: pkgconfig(gdk-x11-3.0) BuildRequires: pkgconfig(gdk-wayland-3.0) +BuildRequires: pkgconfig(gdk-x11-3.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-broadway-3.0) BuildRequires: pkgconfig(gtk+-unix-print-3.0) -BuildRequires: pkgconfig(gtk+-x11-3.0) BuildRequires: pkgconfig(gtk+-wayland-3.0) +BuildRequires: pkgconfig(gtk+-x11-3.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libpulse-mainloop-glib) ++++++ pasystray-0.8.0.tar.gz -> pasystray-0.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/README.md new/pasystray-0.8.1/README.md --- old/pasystray-0.8.0/README.md 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/README.md 2022-11-30 20:27:41.000000000 +0100 @@ -1,5 +1,5 @@ -PulseAudio System Tray -====================== +# PulseAudio System Tray + [](https://github.com/christophgysin/pasystray/actions/workflows/build.yml) A replacement for the deprecated padevchooser. @@ -8,8 +8,34 @@ streams on the fly between sources/sinks without restarting the client applications. -Features --------- +<a href="https://repology.org/project/pasystray/versions"> + <img align="right" src="https://repology.org/badge/vertical-allrepos/pasystray.svg?exclude_sources=site&exclude_unsupported=1" alt="Packaging status"> +</a> + +## Usage + +``` +Help Options: + -h, --help Show help options + --help-all Show all help options + --help-gtk Show GTK+ Options + +Application Options: + -V, --version Print version and exit + -d, --debug Print debugging information + -m, --volume-max=N Maximum volume (in percent) + -i, --volume-inc=N Volume increment + -r, --reverse-scroll Reverse volume scroll direction + -t, --no-icon-tooltip Disable the status icon tooltip for the connected state + -n, --no-notify Deprecated, use --notify=none instead + -a, --always-notify Deprecated, use --notify=all instead + --include-monitors Include monitor sources + -g, --key-grabbing Grab volume control keys + -N, --notify=OPTION Set notification options, use --notify=help for a list of valid options + --display=DISPLAY X display to use +``` + +## Features * switch default sink/source * move playback/record stream to a different sink/source on the fly @@ -26,8 +52,7 @@ $ PULSE_SERVER=remote_host pasystray ``` -Mouse Bindings --------------- +## Mouse Bindings over status icon: * left/right-click: open menu @@ -47,8 +72,7 @@ * scroll up/down: adjust the volume of respective stream * middle-click: toggle mute -Troubleshooting ---------------- +## Troubleshooting If the pasystray icon is not displayed in your Unity system tray, you will have to whitelist it. Read this for instructions: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/configure.ac new/pasystray-0.8.1/configure.ac --- old/pasystray-0.8.0/configure.ac 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/configure.ac 2022-11-30 20:27:41.000000000 +0100 @@ -1,6 +1,6 @@ # This file is part of PaSystray # -# Copyright (C) 2011-2021 Christoph Gysin +# Copyright (C) 2011-2022 Christoph Gysin # # PaSystray is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as @@ -19,7 +19,7 @@ AC_PREREQ([2.68]) -AC_INIT([pasystray], [0.8.0], [christoph.gy...@gmail.com], [pasystray], +AC_INIT([pasystray], [0.8.1], [christoph.gy...@gmail.com], [pasystray], [http://github.com/christophgysin/pasystray]) AC_CONFIG_SRCDIR([src/pasystray.c]) AC_CONFIG_HEADERS([src/config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/man/pasystray.1 new/pasystray-0.8.1/man/pasystray.1 --- old/pasystray-0.8.0/man/pasystray.1 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/man/pasystray.1 2022-11-30 20:27:41.000000000 +0100 @@ -100,17 +100,26 @@ .B \-i, \-\-volume-inc=N Set the volume increment. .TP +.B \-r, \-\-reverse-scroll +Reverse the direction of volume adjustment with the mouse scroll wheel. +.TP .B \-t, \-\-no-icon-tooltip Disable the status icon tooltip for the connected state. .TP .B \-n, \-\-no-notify -Disable all notifications. +Disable all notifications. Deprecated; use \-\-notify=none instead. .TP .B \-a, \-\-always-notify -Enable notifications for all changes in pulsaudio. +Enable notifications for all changes in pulsaudio. Deprecated; use \-\-notify=all instead. .TP .B \-\-include-monitors Show monitor sources. +.TP +.B \-g, \-\-key-grabbing +Enable keyboard volume control and mute keys to adjust volume settings. +.TP +.B \-N, \-\-notify=option +Set notification options; use \-\-notify=help for a list of valid options. .SH SEE ALSO .BR pulseaudio (1), .BR pactl (1). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/src/menu_info.h new/pasystray-0.8.1/src/menu_info.h --- old/pasystray-0.8.0/src/menu_info.h 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/src/menu_info.h 2022-11-30 20:27:41.000000000 +0100 @@ -63,6 +63,7 @@ gboolean monitors; // Grab volume control keys gboolean key_grabbing; + gboolean symbolic_icons; // Notification options below gboolean n_new; gboolean n_sink; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/src/options.c new/pasystray-0.8.1/src/options.c --- old/pasystray-0.8.0/src/options.c 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/src/options.c 2022-11-30 20:27:41.000000000 +0100 @@ -36,6 +36,7 @@ static gboolean monitors = FALSE; static gboolean key_grabbing = FALSE; static gchar **notify_mode; +static gboolean symbolic_icons = FALSE; static GOptionEntry entries[] = { @@ -44,7 +45,7 @@ { "volume-max", 'm', 0, G_OPTION_ARG_INT, &volume_max, "Maximum volume (in percent)", "N" }, { "volume-inc", 'i', 0, G_OPTION_ARG_INT, &volume_inc, "Volume increment", "N" }, { "reverse-scroll", 'r', 0, G_OPTION_ARG_NONE, - &reverse_scroll, "Reverse volume scroll direction", NULL }, + &reverse_scroll, "Reverse volume scroll direction", NULL }, { "no-icon-tooltip", 't', 0, G_OPTION_ARG_NONE, &icon_tooltip, "Disable the status icon tooltip for the connected state", NULL }, { "no-notify", 'n', 0, G_OPTION_ARG_NONE, &no_notify, @@ -55,6 +56,8 @@ { "key-grabbing", 'g', 0, G_OPTION_ARG_NONE, &key_grabbing, "Grab volume control keys", NULL }, { "notify", 'N', 0, G_OPTION_ARG_STRING_ARRAY, ¬ify_mode, "Set notification options, use --notify=help for a list of valid options", "OPTION" }, + { "symbolic-icons", 'S', 0, G_OPTION_ARG_NONE, &symbolic_icons, + "Prefer symbolic icons", NULL }, { .long_name = NULL } }; @@ -219,4 +222,5 @@ settings->monitors = monitors; settings->key_grabbing = key_grabbing; + settings->symbolic_icons = symbolic_icons; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/src/pasystray.c new/pasystray-0.8.1/src/pasystray.c --- old/pasystray-0.8.0/src/pasystray.c 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/src/pasystray.c 2022-11-30 20:27:41.000000000 +0100 @@ -65,7 +65,7 @@ notify_initialize(); x11_property_init(); - ui_load(); + ui_load(settings); mis = menu_infos_create(); mis->settings = *settings; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/src/ui.c new/pasystray-0.8.1/src/ui.c --- old/pasystray-0.8.0/src/ui.c 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/src/ui.c 2022-11-30 20:27:41.000000000 +0100 @@ -54,9 +54,9 @@ static GtkBuilder* builder; -static void ui_load_icons(void); +static void ui_load_icons(settings_t* settings); -void ui_load() +void ui_load(settings_t* settings) { builder = gtk_builder_new(); @@ -80,7 +80,7 @@ g_free(local_file); g_free(local_file_src); - ui_load_icons(); + ui_load_icons(settings); if(!ret) { @@ -150,23 +150,27 @@ return GTK_DIALOG(dialog); } -static const gchar* ui_find_icon_name(GtkIconTheme* theme, const gchar* name, const gchar* fallback) +static const gchar* ui_find_icon_name(GtkIconTheme* theme, const gchar* name, const gchar* fallback, gboolean symbolic_icons) { - const gchar* s = g_strdup_printf("%s-symbolic", name); - if(gtk_icon_theme_has_icon(theme, s)) - return s; - g_free(s); + if (symbolic_icons) { + gchar* s = g_strdup_printf("%s-symbolic", name); + if(gtk_icon_theme_has_icon(theme, s)) + return s; + g_free(s); + } + if(gtk_icon_theme_has_icon(theme, name)) return g_strdup(name); + return g_strdup(fallback); } -static void ui_load_icons(void) { +static void ui_load_icons(settings_t* settings) { GtkIconTheme* theme = gtk_icon_theme_get_default(); for(menu_type_t mt = 0; mt < MENU_COUNT; mt++) { const gchar** preferred_names = (mt == MENU_SOURCE ? mic_icon_names : volume_icon_names); for(icon_idx_t i = 0; i < ICON_IDX_COUNT; i++) { - ui_icon_names[mt][i] = ui_find_icon_name(theme, preferred_names[i], volume_icon_names[i]); + ui_icon_names[mt][i] = ui_find_icon_name(theme, preferred_names[i], volume_icon_names[i], settings->symbolic_icons); } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pasystray-0.8.0/src/ui.h new/pasystray-0.8.1/src/ui.h --- old/pasystray-0.8.0/src/ui.h 2021-10-21 20:54:40.000000000 +0200 +++ new/pasystray-0.8.1/src/ui.h 2022-11-30 20:27:41.000000000 +0100 @@ -25,7 +25,7 @@ #include "menu_info.h" #include <gtk/gtk.h> -void ui_load(); +void ui_load(settings_t* settings); void ui_set_volume_icon(menu_info_item_t* mii); void ui_update_systray_icon(menu_info_item_t* mii); GtkDialog* ui_renamedialog();