diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-04-30 18:09:21 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-05-01 08:59:57 +0200 |
commit | 47328317b34b179ce388a8211b61554215c37148 (patch) | |
tree | 09c7ab980b47cbe6c7b912f103f8380841b3cb7a /source | |
parent | ded2ad645c217d20866979991ea57ca71b602f74 (diff) | |
download | current-47328317b34b179ce388a8211b61554215c37148.tar.gz |
Fri Apr 30 18:09:21 UTC 202120210430180921
l/gvfs-1.48.1-x86_64-1.txz: Upgraded.
l/imagemagick-7.0.11_10-x86_64-1.txz: Upgraded.
n/php-7.4.18-x86_64-1.txz: Upgraded.
This update fixes bugs and security issues.
For more information, see:
https://www.php.net/ChangeLog-7.php#7.4.18
(* Security fix *)
n/postfix-3.6.0-x86_64-1.txz: Upgraded.
x/libepoxy-1.5.7-x86_64-1.txz: Upgraded.
x/libinput-1.17.2-x86_64-1.txz: Upgraded.
x/xorgproto-2021.4-x86_64-1.txz: Upgraded.
xap/pavucontrol-4.0-x86_64-4.txz: Rebuilt.
Fix segfault after crtl-Q. Thanks to Jonathan Woithe and 2slguevH.
xap/pidgin-2.14.4-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rw-r--r-- | source/installer/ChangeLog.txt | 4 | ||||
-rwxr-xr-x | source/installer/sources/initrd/usr/lib/setup/setup | 2 | ||||
-rwxr-xr-x | source/n/php/fetch-php.sh | 4 | ||||
-rwxr-xr-x | source/n/php/php.SlackBuild | 2 | ||||
-rwxr-xr-x | source/n/postfix/postfix.SlackBuild | 2 | ||||
-rwxr-xr-x | source/x/libepoxy/libepoxy.SlackBuild | 2 | ||||
-rw-r--r-- | source/x/libepoxy/libepoxy.url | 2 | ||||
-rw-r--r-- | source/x/libinput/libinput.less.lag.complaining.diff | 10 | ||||
-rwxr-xr-x | source/xap/pavucontrol/pavucontrol.SlackBuild | 4 | ||||
-rw-r--r-- | source/xap/pavucontrol/sigsegv_on_quit.patch | 150 | ||||
-rwxr-xr-x | source/xap/pidgin/pidgin.SlackBuild | 3 | ||||
-rw-r--r-- | source/xap/pidgin/slack-desc | 2 |
12 files changed, 172 insertions, 15 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt index 6f035d8f..3f38f3ba 100644 --- a/source/installer/ChangeLog.txt +++ b/source/installer/ChangeLog.txt @@ -1,3 +1,7 @@ +Fri Apr 30 17:30:36 UTC 2021 + setup: filter partition list through sort | uniq to prevent duplicates. + Thanks to Heinz Wiesinger. ++--------------------------+ Thu Apr 22 16:56:28 UTC 2021 setup: fix running ldconfig. Thanks to alienBOB and MoZes. +--------------------------+ diff --git a/source/installer/sources/initrd/usr/lib/setup/setup b/source/installer/sources/initrd/usr/lib/setup/setup index 520b9dbc..a2b76153 100755 --- a/source/installer/sources/initrd/usr/lib/setup/setup +++ b/source/installer/sources/initrd/usr/lib/setup/setup @@ -51,7 +51,7 @@ sleep 1 # that may exist from before the boot: vgchange -ay 1> /dev/null 2> /dev/null if probe -l 2> /dev/null | grep -E 'Linux$' 1> /dev/null 2> /dev/null ; then - probe -l 2> /dev/null | grep -E 'Linux$' | sort 1> $TMP/SeTplist 2> /dev/null + probe -l 2> /dev/null | grep -E 'Linux$' | sort | uniq 1> $TMP/SeTplist 2> /dev/null else dialog --title "NO LINUX PARTITIONS DETECTED" \ --msgbox "There don't seem to be any partitions on this machine of type \ diff --git a/source/n/php/fetch-php.sh b/source/n/php/fetch-php.sh index 5fa8692c..18d44916 100755 --- a/source/n/php/fetch-php.sh +++ b/source/n/php/fetch-php.sh @@ -1,2 +1,2 @@ -lftpget http://us.php.net/distributions/php-7.4.16.tar.xz.asc -lftpget http://us.php.net/distributions/php-7.4.16.tar.xz +lftpget http://us.php.net/distributions/php-7.4.18.tar.xz.asc +lftpget http://us.php.net/distributions/php-7.4.18.tar.xz diff --git a/source/n/php/php.SlackBuild b/source/n/php/php.SlackBuild index d1d9ac18..74c8d485 100755 --- a/source/n/php/php.SlackBuild +++ b/source/n/php/php.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=php VERSION=${VERSION:-$(echo php-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} ALPINE=2.24 -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/n/postfix/postfix.SlackBuild b/source/n/postfix/postfix.SlackBuild index 3cc6375a..b3cbf888 100755 --- a/source/n/postfix/postfix.SlackBuild +++ b/source/n/postfix/postfix.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=postfix VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in diff --git a/source/x/libepoxy/libepoxy.SlackBuild b/source/x/libepoxy/libepoxy.SlackBuild index d7b5f513..e364abcc 100755 --- a/source/x/libepoxy/libepoxy.SlackBuild +++ b/source/x/libepoxy/libepoxy.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libepoxy VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/x/libepoxy/libepoxy.url b/source/x/libepoxy/libepoxy.url index 08b7d7be..fca058ac 100644 --- a/source/x/libepoxy/libepoxy.url +++ b/source/x/libepoxy/libepoxy.url @@ -1 +1 @@ -https://github.com/anholt/libepoxy/releases/download/1.5.5/libepoxy-1.5.5.tar.xz +https://github.com/anholt/libepoxy/releases/download/1.5.7/libepoxy-1.5.7.tar.xz diff --git a/source/x/libinput/libinput.less.lag.complaining.diff b/source/x/libinput/libinput.less.lag.complaining.diff index a8d8c489..5c1ec03b 100644 --- a/source/x/libinput/libinput.less.lag.complaining.diff +++ b/source/x/libinput/libinput.less.lag.complaining.diff @@ -1,6 +1,6 @@ ---- ./src/evdev.c.orig 2020-08-12 22:50:03.612642300 -0500 -+++ ./src/evdev.c 2020-08-20 17:26:17.663305924 -0500 -@@ -1027,7 +1027,7 @@ +--- ./src/evdev.c.orig 2021-04-29 23:25:41.531076400 -0500 ++++ ./src/evdev.c 2021-04-30 12:39:02.636755868 -0500 +@@ -1028,7 +1028,7 @@ /* if we have a current libinput_dispatch() snapshot, compare our * event time with the one from the snapshot. If we have more than @@ -9,10 +9,10 @@ * where there is no steady event flow and thus SYN_DROPPED may not * get hit by the kernel despite us being too slow. */ -@@ -1035,7 +1035,7 @@ +@@ -1037,7 +1037,7 @@ return; - tdelta = us2ms(libinput->dispatch_time - input_event_time(ev)); + tdelta = us2ms(libinput->dispatch_time - eventtime); - if (tdelta > 10) { + if (tdelta > 75) { evdev_log_bug_client_ratelimit(device, diff --git a/source/xap/pavucontrol/pavucontrol.SlackBuild b/source/xap/pavucontrol/pavucontrol.SlackBuild index 49864a59..c6294e42 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:-3} +BUILD=${BUILD:-4} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -76,6 +76,8 @@ 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 new file mode 100644 index 00000000..21a35504 --- /dev/null +++ b/source/xap/pavucontrol/sigsegv_on_quit.patch @@ -0,0 +1,150 @@ +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/pidgin/pidgin.SlackBuild b/source/xap/pidgin/pidgin.SlackBuild index 4bd95586..3a3a3f42 100755 --- a/source/xap/pidgin/pidgin.SlackBuild +++ b/source/xap/pidgin/pidgin.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016, 2018, 2021 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -109,6 +109,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-gtkspell \ --enable-cyrus-sasl \ --enable-perl \ + --disable-gevolution \ --disable-meanwhile \ --disable-avahi \ --disable-nm \ diff --git a/source/xap/pidgin/slack-desc b/source/xap/pidgin/slack-desc index f201d72c..e4e08bd4 100644 --- a/source/xap/pidgin/slack-desc +++ b/source/xap/pidgin/slack-desc @@ -14,6 +14,6 @@ pidgin: Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These protocols pidgin: are implemented using a modular, easy to use design. To use a pidgin: protocol, just load the plugin for it. pidgin: -pidgin: Homepage: http://www.pidgin.im +pidgin: Homepage: https://www.pidgin.im pidgin: pidgin: |