aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/xfce4-windowck-plugin/aab7417cb3ca9a7c7a8798b3b3736c71bb19d419.patch22
-rw-r--r--desktop/xfce4-windowck-plugin/slack-desc2
-rw-r--r--desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild15
-rw-r--r--desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.info8
4 files changed, 11 insertions, 36 deletions
diff --git a/desktop/xfce4-windowck-plugin/aab7417cb3ca9a7c7a8798b3b3736c71bb19d419.patch b/desktop/xfce4-windowck-plugin/aab7417cb3ca9a7c7a8798b3b3736c71bb19d419.patch
deleted file mode 100644
index dd9d521c4b6ee..0000000000000
--- a/desktop/xfce4-windowck-plugin/aab7417cb3ca9a7c7a8798b3b3736c71bb19d419.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From aab7417cb3ca9a7c7a8798b3b3736c71bb19d419 Mon Sep 17 00:00:00 2001
-From: foobarbyte <61650320+foobarbyte@users.noreply.github.com>
-Date: Fri, 26 Jun 2020 07:07:55 +0000
-Subject: [PATCH] Fix crash on closing last active window.
-
-When on_name_changed is called, controlwindow may refer to a window that has been closed. If so, this leads to is_window_on_active_workspace_and_no_other_maximized_windows_above causing a segmentation fault when top_window turns out to be NULL. Since we would like to clear the displayed window title in this case, we should first check whether controlwindow refers to a closed window. It makes sense to do this where we already check if it is NULL or if it refers to the Desktop. We can check this by determining whether the window has a valid PID using wnck_window_get_pid.
----
- panel-plugin/title/windowck-title.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/panel-plugin/title/windowck-title.c b/panel-plugin/title/windowck-title.c
-index e73c2bd..b465a7b 100644
---- a/panel-plugin/title/windowck-title.c
-+++ b/panel-plugin/title/windowck-title.c
-@@ -123,6 +123,7 @@ static void on_name_changed (WnckWindow *controlwindow, WindowckPlugin *wckp)
- const gchar *title_text;
-
- if (controlwindow
-+ && wnck_window_get_pid(controlwindow) // if active window has been closed, pid is 0
- && ((wnck_window_get_window_type (controlwindow) != WNCK_WINDOW_DESKTOP)
- || wckp->prefs->show_on_desktop))
- {
diff --git a/desktop/xfce4-windowck-plugin/slack-desc b/desktop/xfce4-windowck-plugin/slack-desc
index 865fe7546fae4..cd833acfc5f7b 100644
--- a/desktop/xfce4-windowck-plugin/slack-desc
+++ b/desktop/xfce4-windowck-plugin/slack-desc
@@ -12,7 +12,7 @@ xfce4-windowck-plugin: xfce4-windowck-plugin is a set of two plugins
xfce4-windowck-plugin: which allows to put the maximized window title
xfce4-windowck-plugin: and window buttons on the panel.
xfce4-windowck-plugin:
-xfce4-windowck-plugin: https://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin
+xfce4-windowck-plugin: https://docs.xfce.org/panel-plugins/xfce4-windowck-plugin/start
xfce4-windowck-plugin:
xfce4-windowck-plugin:
xfce4-windowck-plugin:
diff --git a/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild b/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
index efe0fbee65d22..9ae5476e2a197 100644
--- a/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
+++ b/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for xfce4-windowck-plugin
# Generated using mkslack (dawoodfall.net/slackbuilds/noversion/mkslack)
-# Copyright 2015-2021 Aaditya <aaditya_gnulinux@zoho.com>
+# Copyright 2015-2023 Aaditya <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xfce4-windowck-plugin
-VERSION=${VERSION:-0.4.10}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.5.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,12 +77,9 @@ 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 {} \;
-# add missing cedl38 upstream patch for last window close
-patch -p1 < ${CWD}/aab7417cb3ca9a7c7a8798b3b3736c71bb19d419.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -101,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING NEWS README.md TODO \
+cp -a AUTHORS COPYING NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.info b/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.info
index 2ac7ce2dcabb6..7b92f056fa3a4 100644
--- a/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.info
+++ b/desktop/xfce4-windowck-plugin/xfce4-windowck-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="xfce4-windowck-plugin"
-VERSION="0.4.10"
-HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin"
-DOWNLOAD="https://github.com/invidian/xfce4-windowck-plugin/archive/v0.4.10/xfce4-windowck-plugin-0.4.10.tar.gz"
-MD5SUM="c295921595c4bfa4e296b5ecee658491"
+VERSION="0.5.1"
+HOMEPAGE="https://docs.xfce.org/panel-plugins/xfce4-windowck-plugin/start"
+DOWNLOAD="https://archive.xfce.org/src/panel-plugins/xfce4-windowck-plugin/0.5/xfce4-windowck-plugin-0.5.1.tar.bz2"
+MD5SUM="9dc7dfbf53dea83678719ab150f5fb0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""