diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-08-21 04:38:34 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-08-21 17:59:54 +0200 |
commit | 22c2e383b0af382c38db014d9155517c80281305 (patch) | |
tree | 8686adfbf1f69064419bc88be9215a3b7942fc01 /source/xap | |
parent | f9358bffd0829cbe5da4270e16126484d71c2bb0 (diff) | |
download | current-22c2e383b0af382c38db014d9155517c80281305.tar.gz |
Sat Aug 21 04:38:34 UTC 202120210821043834
a/e2fsprogs-1.46.4-x86_64-1.txz: Upgraded.
d/ccache-4.4-x86_64-1.txz: Upgraded.
d/mercurial-5.9-x86_64-1.txz: Upgraded.
kde/konsole-21.08.0-x86_64-3.txz: Rebuilt.
Merged another upstream patch for the case where there is no konsolerc.
l/glib2-2.68.4-x86_64-1.txz: Upgraded.
l/gnu-efi-3.0.14-x86_64-1.txz: Upgraded.
n/libmilter-8.17.1-x86_64-1.txz: Upgraded.
n/nftables-1.0.0-x86_64-1.txz: Upgraded.
n/openssh-8.7p1-x86_64-1.txz: Upgraded.
x/ibus-1.5.25-x86_64-1.txz: Upgraded.
x/ibus-anthy-1.5.13-x86_64-1.txz: Upgraded.
xap/libnma-1.8.32-x86_64-1.txz: Upgraded.
xap/mozilla-thunderbird-91.0.2-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/91.0.2/releasenotes/
xap/pavucontrol-5.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/xap')
-rwxr-xr-x | source/xap/libnma/libnma.SlackBuild | 2 | ||||
-rwxr-xr-x | source/xap/pavucontrol/pavucontrol.SlackBuild | 4 | ||||
-rw-r--r-- | source/xap/pavucontrol/sigsegv_on_quit.patch | 150 | ||||
-rw-r--r-- | source/xap/pavucontrol/slack-desc | 8 |
4 files changed, 6 insertions, 158 deletions
diff --git a/source/xap/libnma/libnma.SlackBuild b/source/xap/libnma/libnma.SlackBuild index e7e0ac6f..4c9f616a 100755 --- a/source/xap/libnma/libnma.SlackBuild +++ b/source/xap/libnma/libnma.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libnma VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/xap/pavucontrol/pavucontrol.SlackBuild b/source/xap/pavucontrol/pavucontrol.SlackBuild index c6294e42..db8b576b 100755 --- a/source/xap/pavucontrol/pavucontrol.SlackBuild +++ b/source/xap/pavucontrol/pavucontrol.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=pavucontrol VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-4} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -76,8 +76,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -zcat $CWD/sigsegv_on_quit.patch.gz | patch -p1 --verbose || exit 1 - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS -std=c++11" \ ./configure \ diff --git a/source/xap/pavucontrol/sigsegv_on_quit.patch b/source/xap/pavucontrol/sigsegv_on_quit.patch deleted file mode 100644 index 21a35504..00000000 --- a/source/xap/pavucontrol/sigsegv_on_quit.patch +++ /dev/null @@ -1,150 +0,0 @@ -diff --git a/src/mainwindow.cc b/src/mainwindow.cc -index 6fa3480..6d6463a 100644 ---- a/src/mainwindow.cc -+++ b/src/mainwindow.cc -@@ -35,6 +35,8 @@ - - #include "i18n.h" - -+#include "pavuapplication.h" -+ - /* Used for profile sorting */ - struct profile_prio_compare { - bool operator() (const pa_card_profile_info2& lhs, const pa_card_profile_info2& rhs) const { -@@ -200,7 +202,6 @@ void MainWindow::on_realize() { - } - - bool MainWindow::on_key_press_event(GdkEventKey* event) { -- - if (event->state & GDK_CONTROL_MASK) { - switch (event->keyval) { - case GDK_KEY_KP_1: -@@ -221,7 +222,7 @@ bool MainWindow::on_key_press_event(GdkEventKey* event) { - case GDK_KEY_Q: - case GDK_KEY_w: - case GDK_KEY_q: -- Gtk::Main::quit(); -+ g_MainApp -> quit(); - return true; - } - } -diff --git a/src/pavuapplication.cc b/src/pavuapplication.cc -index e8520ec..3298c1c 100644 ---- a/src/pavuapplication.cc -+++ b/src/pavuapplication.cc -@@ -30,6 +30,9 @@ - #include "pavucontrol.h" - #include "mainwindow.h" - -+ -+std::unique_ptr<PavuApplication> g_MainApp; -+ - PavuApplication::PavuApplication() : - Gtk::Application("org.pulseaudio.pavucontrol", Gio::ApplicationFlags::APPLICATION_HANDLES_COMMAND_LINE), - mainWindow(NULL), -@@ -143,26 +146,26 @@ int main(int argc, char *argv[]) { - signal(SIGPIPE, SIG_IGN); - - /* Create the application */ -- auto app = PavuApplication(); -+ g_MainApp = std::unique_ptr<PavuApplication>(new PavuApplication()); - - /* Add command-line options */ -- app.add_main_option_entry( -+ g_MainApp->add_main_option_entry( - Gio::Application::OptionType::OPTION_TYPE_INT, - "tab", 't', - _("Select a specific tab on load."), - _("number")); - -- app.add_main_option_entry( -+ g_MainApp->add_main_option_entry( - Gio::Application::OptionType::OPTION_TYPE_BOOL, - "retry", 'r', - _("Retry forever if pa quits (every 5 seconds).")); - -- app.add_main_option_entry( -+ g_MainApp->add_main_option_entry( - Gio::Application::OptionType::OPTION_TYPE_BOOL, - "maximize", 'm', - _("Maximize the window.")); - -- app.add_main_option_entry( -+ g_MainApp->add_main_option_entry( - Gio::Application::OptionType::OPTION_TYPE_BOOL, - "version", 'v', - _("Show version.")); -@@ -170,7 +173,7 @@ int main(int argc, char *argv[]) { - /* Connect to the "on_command_line" signal which is fired - * when the application receives command-line arguments - */ -- app.signal_command_line().connect(sigc::bind(sigc::ptr_fun(&on_command_line), &app), false); -+ g_MainApp->signal_command_line().connect(sigc::bind(sigc::ptr_fun(&on_command_line), g_MainApp.get()), false); - - /* Run the application. - * In the first launched instance, this will return when its window is -@@ -179,5 +182,5 @@ int main(int argc, char *argv[]) { - * Handling a new request consists of presenting the existing window (and - * optionally, select a tab). - */ -- return app.run(argc, argv); -+ return g_MainApp->run(argc, argv); - } -diff --git a/src/pavuapplication.h b/src/pavuapplication.h -index 3589c5d..ba56dc9 100644 ---- a/src/pavuapplication.h -+++ b/src/pavuapplication.h -@@ -21,6 +21,7 @@ - #ifndef pavuapplication_h - #define pavuapplication_h - -+#include <memory> - #include "pavucontrol.h" - #include "mainwindow.h" - -@@ -49,4 +50,6 @@ private: - }; - - -+extern std::unique_ptr<PavuApplication> g_MainApp; -+ - #endif -diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc -index 6981707..dbdf92a 100644 ---- a/src/pavucontrol.cc -+++ b/src/pavucontrol.cc -@@ -40,6 +40,7 @@ - #include "sourceoutputwidget.h" - #include "rolewidget.h" - #include "mainwindow.h" -+#include "pavuapplication.h" - - static pa_context* context = NULL; - static pa_mainloop_api* api = NULL; -@@ -56,7 +57,7 @@ void show_error(const char *txt) { - Gtk::MessageDialog dialog(buf, false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_CLOSE, true); - dialog.run(); - -- Gtk::Main::quit(); -+ g_MainApp ->quit(); - } - - static void dec_outstanding(MainWindow *w) { -@@ -571,7 +572,7 @@ void context_state_callback(pa_context *c, void *userdata) { - - case PA_CONTEXT_TERMINATED: - default: -- Gtk::Main::quit(); -+ g_MainApp ->quit(); - return; - } - } -@@ -613,7 +614,7 @@ gboolean connect_to_pulse(gpointer userdata) { - else { - if(!retry) { - reconnect_timeout = -1; -- Gtk::Main::quit(); -+ g_MainApp ->quit(); - } else { - g_debug(_("Connection failed, attempting reconnect")); - reconnect_timeout = 5; diff --git a/source/xap/pavucontrol/slack-desc b/source/xap/pavucontrol/slack-desc index 71a4e6e7..dbada8fb 100644 --- a/source/xap/pavucontrol/slack-desc +++ b/source/xap/pavucontrol/slack-desc @@ -8,10 +8,10 @@ |-----handy-ruler------------------------------------------------------| pavucontrol: pavucontrol (PulseAudio Volume Controller) pavucontrol: -pavucontrol: It is a simple GTK based volume control tool("mixer") for -pavucontrol: PulseAudio sound server. In contrast to classic mixer tools, this one -pavucontrol: allows you to control both the volume of hardware devices and of -pavucontrol: each playback stream separately. +pavucontrol: It is a simple GTK based volume control tool ("mixer") for PulseAudio +pavucontrol: sound server. In contrast to classic mixer tools, this one allows you +pavucontrol: to control both the volume of hardware devices and of each playback +pavucontrol: stream separately. pavucontrol: pavucontrol: Homepage: https://freedesktop.org/software/pulseaudio/pavucontrol pavucontrol: |