diff options
Diffstat (limited to '')
-rw-r--r-- | source/ap/a2ps/a2ps-4.14-texinfo-nodes.patch | 128 | ||||
-rw-r--r-- | source/ap/a2ps/a2ps-texi-comments.patch | 17 | ||||
-rwxr-xr-x | source/ap/a2ps/a2ps.SlackBuild | 12 | ||||
-rw-r--r-- | source/ap/a2ps/a2ps.texinfo-6.7.patch | 40 | ||||
-rw-r--r-- | source/l/fmt/fmt.url | 2 | ||||
-rwxr-xr-x | source/l/libpaper/libpaper.SlackBuild | 142 | ||||
-rw-r--r-- | source/l/libpaper/libpaper.url | 1 | ||||
-rw-r--r-- | source/l/libpaper/slack-desc | 19 | ||||
-rwxr-xr-x | source/l/mozjs102/mozjs102.SlackBuild | 2 | ||||
-rw-r--r-- | source/n/nghttp2/nghttp2.url | 2 | ||||
-rwxr-xr-x | source/x/m17n-lib/m17n-lib.SlackBuild | 4 | ||||
-rw-r--r-- | source/xap/network-manager-applet/01281fae6b601598cd2006bc8f2d5be98810228d.patch | 56 | ||||
-rwxr-xr-x | source/xap/network-manager-applet/network-manager-applet.SlackBuild | 7 |
13 files changed, 231 insertions, 201 deletions
diff --git a/source/ap/a2ps/a2ps-4.14-texinfo-nodes.patch b/source/ap/a2ps/a2ps-4.14-texinfo-nodes.patch deleted file mode 100644 index 47c2001a6..000000000 --- a/source/ap/a2ps/a2ps-4.14-texinfo-nodes.patch +++ /dev/null @@ -1,128 +0,0 @@ -diff -up a2ps-4.14/doc/regex.texi_old a2ps-4.14/doc/regex.texi ---- a2ps-4.14/doc/regex.texi_old 2002-03-04 19:46:24.000000000 +0100 -+++ a2ps-4.14/doc/regex.texi 2008-05-16 11:34:42.000000000 +0200 -@@ -121,7 +121,7 @@ Regular Expression Syntax - - * Syntax Bits:: - * Predefined Syntaxes:: --* Collating Elements vs. Characters:: -+* Collating Elements vs Characters:: - * The Backslash Character:: - - Common Operators -@@ -305,7 +305,7 @@ In the following sections, we describe t - @menu - * Syntax Bits:: - * Predefined Syntaxes:: --* Collating Elements vs. Characters:: -+* Collating Elements vs Characters:: - * The Backslash Character:: - @end menu - -@@ -470,7 +470,7 @@ operator (based on how @code{RE_NO_BK_PA - @end table - - --@node Predefined Syntaxes, Collating Elements vs. Characters, Syntax Bits, Regular Expression Syntax -+@node Predefined Syntaxes, Collating Elements vs Characters, Syntax Bits, Regular Expression Syntax - @section Predefined Syntaxes - - If you're programming with Regex, you can set a pattern buffer's -@@ -552,8 +552,8 @@ The predefined syntaxes--taken directly - | RE_NO_BK_VBAR | RE_UNMATCHED_RIGHT_PAREN_ORD) - @end example - --@node Collating Elements vs. Characters, The Backslash Character, Predefined Syntaxes, Regular Expression Syntax --@section Collating Elements vs.@: Characters -+@node Collating Elements vs Characters, The Backslash Character, Predefined Syntaxes, Regular Expression Syntax -+@section Collating Elements vs@: Characters - - @sc{posix} generalizes the notion of a character to that of a - collating element. It defines a @dfn{collating element} to be ``a -@@ -577,7 +577,7 @@ collating element. For example, the Spa - Since @sc{posix}'s ``collating element'' preserves the essential idea of - a ``character,'' we use the latter, more familiar, term in this document. - --@node The Backslash Character, , Collating Elements vs. Characters, Regular Expression Syntax -+@node The Backslash Character, , Collating Elements vs Characters, Regular Expression Syntax - @section The Backslash Character - - @cindex @samp{\} -diff -up a2ps-4.14/doc/a2ps.texi_old a2ps-4.14/doc/a2ps.texi ---- a2ps-4.14/doc/a2ps.texi_old 2008-05-16 11:34:21.000000000 +0200 -+++ a2ps-4.14/doc/a2ps.texi 2008-05-16 11:42:11.000000000 +0200 -@@ -371,11 +371,11 @@ Contributions - - Frequently asked questions - --* Why Does ...?:: Questions on Error --* How Can I ...?:: a2ps' How-To --* Please tell me...:: Existential Questions on a2ps -+* Why Does?:: Questions on Error -+* How Can I?:: a2ps' How-To -+* Please tell me:: Existential Questions on a2ps - --Why Does...? -+Why Does? - - * It Prints Nothing:: The printer issues nothing - * It Prints in Simplex:: While I asked for Duplex -@@ -385,7 +385,7 @@ Why Does...? - * It Says my File is Binary:: And refuses to print it - * It Refuses to Change the Font Size:: - --How Can I ...? -+How Can I? - - * Leave Room for Binding:: Specifying Margins - * Print stdin:: Using a2ps in a pipe chain -@@ -395,7 +395,7 @@ How Can I ...? - * Non PostScript Printers:: Using GhostScript - * Man Pages with Underlines:: Now it Prints With Italics - --Please tell me... -+Please tell me - - * Is a2ps Y2K compliant?:: Printing dates in short format - * The Options Have Changed:: Respect The Users -@@ -6198,13 +6198,13 @@ question about the options, etc. It has - suggestions, not to contact the authors. - - @menu --* Why Does ...?:: Questions on Error --* How Can I ...?:: a2ps' How-To --* Please tell me...:: Existential Questions on a2ps -+* Why Does?:: Questions on Error -+* How Can I?:: a2ps' How-To -+* Please tell me:: Existential Questions on a2ps - @end menu - --@node Why Does ...? --@section Why Does...? -+@node Why Does? -+@section Why Does? - - Error related questions. - -@@ -6426,8 +6426,8 @@ Note that the `pure' options (no side-ef - virtual pages are @samp{--columns} and @samp{--rows}. - - @c -----------------------------How can I ? ------------------------------ --@node How Can I ...? --@section How Can I ...? -+@node How Can I? -+@section How Can I? - - A mini how-to on @pack{}. - -@@ -6561,8 +6561,8 @@ Use @samp{a2ps --pro=ul}. - - - @c -------------------------- Please Tell me ? ------------------------------ --@node Please tell me... --@section Please tell me... -+@node Please tell me -+@section Please tell me - - Wondering something? - diff --git a/source/ap/a2ps/a2ps-texi-comments.patch b/source/ap/a2ps/a2ps-texi-comments.patch deleted file mode 100644 index 8ccf6f540..000000000 --- a/source/ap/a2ps/a2ps-texi-comments.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a2ps-4.14/doc/a2ps.texi.texifail 2013-03-26 12:50:06.624762058 +0000 -+++ a2ps-4.14/doc/a2ps.texi 2013-03-26 14:44:10.204929702 +0000 -@@ -22,12 +22,12 @@ - @c `a2ps'. Avoid those quotes. - @iftex - @macro pack --@code{@value{PACKAGE}}@c -+@code{@value{PACKAGE}} - @end macro - @end iftex - @ifnottex - @macro pack --@value{PACKAGE}@c -+@value{PACKAGE} - @end macro - @end ifnottex - diff --git a/source/ap/a2ps/a2ps.SlackBuild b/source/ap/a2ps/a2ps.SlackBuild index 9620c9cdc..f07a94bbf 100755 --- a/source/ap/a2ps/a2ps.SlackBuild +++ b/source/ap/a2ps/a2ps.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2017, 2018, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=a2ps VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-9} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -70,9 +70,6 @@ cd $PKGNAM-$VERSION || exit 1 zcat $CWD/a2ps.diff.gz | patch -p1 --verbose || exit 1 zcat $CWD/a2ps.a2ps_cfg.in.diff.gz | patch -p1 --verbose || exit 1 -zcat $CWD/a2ps-4.14-texinfo-nodes.patch.gz | patch -p1 --verbose || exit 1 -zcat $CWD/a2ps-texi-comments.patch.gz | patch -p1 --verbose || exit 1 -zcat $CWD/a2ps.texinfo-6.7.patch.gz | patch -p1 --verbose || exit 1 # Make sure ownerships and permissions are sane: chown -R root:root . @@ -82,17 +79,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Configure needs lispdir in case emacs is not installed at this moment: CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -lispdir="/usr/share/emacs/site-lisp" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --infodir=/usr/info \ --mandir=/usr/man \ --sysconfdir=/etc \ - --with-medium=letter \ --build=$ARCH-slackware-linux || exit 1 # Build and install: @@ -109,7 +103,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \ # Add a documentation directory: mkdir -p $PKG/usr/doc/a2ps-$VERSION cp -a \ - ANNOUNCE AUTHORS COPYING* FAQ NEWS README* THANKS TODO \ + ANNOUNCE* AUTHORS* COPYING* FAQ* NEWS* README* THANKS* TODO* \ $PKG/usr/doc/a2ps-$VERSION # If there's a ChangeLog, installing at least part of the recent history diff --git a/source/ap/a2ps/a2ps.texinfo-6.7.patch b/source/ap/a2ps/a2ps.texinfo-6.7.patch deleted file mode 100644 index df2a60f39..000000000 --- a/source/ap/a2ps/a2ps.texinfo-6.7.patch +++ /dev/null @@ -1,40 +0,0 @@ -https://bugs.gentoo.org/695918 - -The patchs fixes build failure against texinfo-6.7+: -``` -Malformed UTF-8 character: \xcb\xeb (unexpected non-continuation byte 0xeb, immediately after start byte 0xcb; -need 2 bytes, got 1) in pattern match (m//) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364. -Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364. -make[2]: *** [Makefile:472: a2ps.info] Error 25 -``` - -Fixed-by: Neil Bothwick ---- a/doc/a2ps.texi~ 2019-11-24 18:51:07.000000000 +0000 -+++ a/doc/a2ps.texi 2019-11-24 18:56:30.390438433 +0000 -@@ -1,5 +1,6 @@ - \input texinfo @c -*- texinfo -*- - @c %**start of header -+@documentencoding ISO-8859-1 - @setfilename a2ps.info - @settitle General Purpose PostScript Generating Utility - @c @setchapternewpage odd - ---- a/doc/regex.texi~ 2002-03-04 18:46:24.000000000 +0000 -+++ a/doc/regex.texi 2019-11-24 18:56:42.861052598 +0000 -@@ -1,5 +1,6 @@ - \input texinfo - @c %**start of header -+@documentencoding ISO-8859-1 - @setfilename regex.info - @settitle Regex - @c %**end of header - ---- a/ogonkify/doc/ogonkify.texi~ 2007-12-29 02:09:38.000000000 +0000 -+++ a/ogonkify/doc/ogonkify.texi 2019-11-24 18:57:03.173424149 +0000 -@@ -1,5 +1,6 @@ - \input texinfo @c -*-texinfo-*- - @c %**start of header -+@documentencoding ISO-8859-1 - @setfilename ogonkify.info - @settitle Ogonkify - @setchapternewpage off diff --git a/source/l/fmt/fmt.url b/source/l/fmt/fmt.url index 546cb366a..dacb917b0 100644 --- a/source/l/fmt/fmt.url +++ b/source/l/fmt/fmt.url @@ -1 +1 @@ -https://github.com/fmtlib/fmt/releases/ +https://github.com/fmtlib/fmt diff --git a/source/l/libpaper/libpaper.SlackBuild b/source/l/libpaper/libpaper.SlackBuild new file mode 100755 index 000000000..6fc5ca34a --- /dev/null +++ b/source/l/libpaper/libpaper.SlackBuild @@ -0,0 +1,142 @@ +#!/bin/bash + +# Copyright 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=libpaper +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i586 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM + +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf $PKGNAM-$VERSION +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 +cd $PKGNAM-$VERSION || exit 1 + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +# Configure, build, and install: +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/doc/$PKGNAM-$VERSION \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --disable-static \ + --build=$ARCH-slackware-linux || exit 1 +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +# Strip binaries: +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +cp -a \ + AUTHORS* ChangeLog COPYING* NEWS* README* \ + $PKG/usr/doc/${PKGNAM}-$VERSION + +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/l/libpaper/libpaper.url b/source/l/libpaper/libpaper.url new file mode 100644 index 000000000..fa6783c3f --- /dev/null +++ b/source/l/libpaper/libpaper.url @@ -0,0 +1 @@ +https://github.com/rrthomas/libpaper diff --git a/source/l/libpaper/slack-desc b/source/l/libpaper/slack-desc new file mode 100644 index 000000000..23167c57e --- /dev/null +++ b/source/l/libpaper/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +libpaper: libpaper (paper preferences library) +libpaper: +libpaper: The libpaper package enables users to indicate their preferred paper +libpaper: size, provides the paper utility to find the user's preferred default +libpaper: paper size and give information about known sizes, and specifies +libpaper: system-wide and per-user paper size catalogues. +libpaper: +libpaper: Homepage: https://github.com/rrthomas/libpaper +libpaper: +libpaper: +libpaper: diff --git a/source/l/mozjs102/mozjs102.SlackBuild b/source/l/mozjs102/mozjs102.SlackBuild index e7edd16d7..24fcbe063 100755 --- a/source/l/mozjs102/mozjs102.SlackBuild +++ b/source/l/mozjs102/mozjs102.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mozjs102 SRCNAME=firefox VERSION=$(basename $(ls $SRCNAME-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev) .source) -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/n/nghttp2/nghttp2.url b/source/n/nghttp2/nghttp2.url index 760ee3c08..55bbef97f 100644 --- a/source/n/nghttp2/nghttp2.url +++ b/source/n/nghttp2/nghttp2.url @@ -1,2 +1,2 @@ https://github.com/nghttp2/nghttp2 -https://github.com/nghttp2/nghttp2/releases/download/v1.52.0/nghttp2-1.52.0.tar.xz +https://github.com/nghttp2/nghttp2/releases/download/v1.53.0/nghttp2-1.53.0.tar.xz diff --git a/source/x/m17n-lib/m17n-lib.SlackBuild b/source/x/m17n-lib/m17n-lib.SlackBuild index 839894223..b9241f79e 100755 --- a/source/x/m17n-lib/m17n-lib.SlackBuild +++ b/source/x/m17n-lib/m17n-lib.SlackBuild @@ -36,8 +36,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=m17n-lib SHORTNAM=m17n -VERSION=${VERSION:-1.8.1} -DBVERSION=${DBVERSION:-1.8.1} +VERSION=${VERSION:-1.8.2} +DBVERSION=${DBVERSION:-1.8.2} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: diff --git a/source/xap/network-manager-applet/01281fae6b601598cd2006bc8f2d5be98810228d.patch b/source/xap/network-manager-applet/01281fae6b601598cd2006bc8f2d5be98810228d.patch new file mode 100644 index 000000000..4fe78a59e --- /dev/null +++ b/source/xap/network-manager-applet/01281fae6b601598cd2006bc8f2d5be98810228d.patch @@ -0,0 +1,56 @@ +From 01281fae6b601598cd2006bc8f2d5be98810228d Mon Sep 17 00:00:00 2001 +From: Thomas Haller <thaller@redhat.com> +Date: Tue, 2 May 2023 10:39:29 +0200 +Subject: [PATCH] c-e: fix crash in import_vpn_from_file_cb() when importing + VPN profiles + +Import code can create incomplete profiles, that don't have +"connection.type" set. Avoid the crash. + + #0 __strcmp_evex () at ../sysdeps/x86_64/multiarch/strcmp-evex.S:314 + #1 0x000000000043d177 in import_vpn_from_file_cb (dialog=0x7f4650, response=<optimized out>, user_data=0x7d66e0) at src/connection-editor/connection-helpers.c:275 + #2 0x00007ffff6f564ea in g_closure_invoke (closure=0x8d5120, return_value=0x0, n_param_values=2, param_values=0x7fffffffd0f0, invocation_hint=0x7fffffffd070) at ../gobject/gclosure.c:832 + #3 0x00007ffff6f84d36 in signal_emit_unlocked_R.isra.0 + (node=node@entry=0x847c70, detail=detail@entry=0, instance=instance@entry=0x7f4650, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffd0f0) at ../gobject/gsignal.c:3812 + #4 0x00007ffff6f75bdd in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd2b0) at ../gobject/gsignal.c:3565 + #5 0x00007ffff6f75e53 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3622 + #6 0x00007ffff6f75cda in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fffffffd520, instance=0x8ee230, return_value=0x0, closure=0x8efbf0) at ../gobject/gclosure.c:895 + #7 g_signal_emit_valist (instance=0x8ee230, signal_id=216, detail=0, var_args=var_args@entry=0x7fffffffd520) at ../gobject/gsignal.c:3472 + #8 0x00007ffff6f75e53 in g_signal_emit (instance=instance@entry=0x8ee230, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3622 + #9 0x00007ffff76dd7dd in gtk_button_clicked (button=button@entry=0x8ee230) at ../gtk/gtkbutton.c:1541 + #10 0x00007ffff76dfad6 in gtk_button_finish_activate (do_it=1, button=0x8ee230) at ../gtk/gtkbutton.c:2042 + #11 button_activate_timeout (data=0x8ee230) at ../gtk/gtkbutton.c:1984 + #12 0x00007ffff7eddcad in gdk_threads_dispatch (data=data@entry=0xa5f470) at ../gdk/gdk.c:769 + #13 0x00007ffff6e55c69 in g_timeout_dispatch (source=0x711550, callback=0x7ffff7eddc80 <gdk_threads_dispatch>, user_data=0xa5f470) at ../glib/gmain.c:5054 + #14 0x00007ffff6e5539c in g_main_dispatch (context=0x4e7c70) at ../glib/gmain.c:3460 + #15 g_main_context_dispatch (context=0x4e7c70) at ../glib/gmain.c:4200 + #16 0x00007ffff6eb3438 in g_main_context_iterate.isra.0 (context=0x4e7c70, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276 + #17 0x00007ffff6e52a23 in g_main_context_iteration (context=context@entry=0x4e7c70, may_block=may_block@entry=1) at ../glib/gmain.c:4343 + #18 0x00007ffff708a01d in g_application_run (application=application@entry=0x4e5010, argc=<optimized out>, argv=0x7fffffffd9e8) at ../gio/gapplication.c:2573 + #19 0x00000000004133ad in main (argc=<optimized out>, argv=<optimized out>) at src/connection-editor/main.c:259 + +https://gitlab.gnome.org/GNOME/network-manager-applet/-/issues/178 + +Fixes: 3ff5b6cc9841 ('c-e: support importing WireGuard profiles from wg-quick files') +--- + src/connection-editor/connection-helpers.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/connection-editor/connection-helpers.c b/src/connection-editor/connection-helpers.c +index a58a2fbb..43ff2838 100644 +--- a/src/connection-editor/connection-helpers.c ++++ b/src/connection-editor/connection-helpers.c +@@ -272,8 +272,8 @@ import_vpn_from_file_cb (GtkWidget *dialog, gint response, gpointer user_data) + connection = connection_import_from_file (filename, G_TYPE_INVALID, NULL, &error); + if (!connection) { + /* pass */ +- } else if (nm_streq (nm_connection_get_connection_type (connection), +- NM_SETTING_WIREGUARD_SETTING_NAME)) { ++ } else if (nm_streq0 (nm_connection_get_connection_type (connection), ++ NM_SETTING_WIREGUARD_SETTING_NAME)) { + info->result_func (FUNC_TAG_PAGE_NEW_CONNECTION_RESULT_CALL, connection, FALSE, NULL, + info->user_data); + } else { +-- +GitLab + diff --git a/source/xap/network-manager-applet/network-manager-applet.SlackBuild b/source/xap/network-manager-applet/network-manager-applet.SlackBuild index f2d08f7e1..c6197b35a 100755 --- a/source/xap/network-manager-applet/network-manager-applet.SlackBuild +++ b/source/xap/network-manager-applet/network-manager-applet.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for network-manager-applet # Copyright 2010, 2011, 2014 Robby Workman, Northport, Alabama, USA -# Copyyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyyright 2020, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=network-manager-applet VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -77,6 +77,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +# Don't crash importing .ovpn files: +zcat $CWD/01281fae6b601598cd2006bc8f2d5be98810228d.patch.gz | patch -p1 --verbose || exit 1 + # Configure, build, and install: export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" |