summaryrefslogtreecommitdiffstats
path: root/source/xfce/xfce4-notifyd
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-05-28 19:12:29 +0000
committer Eric Hameleers <alien@slackware.com>2018-05-31 23:39:35 +0200
commit646a5c1cbfd95873950a87b5f75d52073a967023 (patch)
treeb8b8d2ab3b0d432ea69ad1a64d1c789649d65020 /source/xfce/xfce4-notifyd
parentd31c50870d0bee042ce660e445c9294a59a3a65b (diff)
downloadcurrent-646a5c1cbfd95873950a87b5f75d52073a967023.tar.gz
current-646a5c1cbfd95873950a87b5f75d52073a967023.tar.xz
Mon May 28 19:12:29 UTC 201820180528191229
a/pkgtools-15.0-noarch-13.txz: Rebuilt. installpkg: default line length for --terselength is the number of columns. removepkg: added --terse mode. upgradepkg: default line length for --terselength is the number of columns. upgradepkg: accept -option in addition to --option. ap/vim-8.1.0026-x86_64-1.txz: Upgraded. d/bison-3.0.5-x86_64-1.txz: Upgraded. e/emacs-26.1-x86_64-1.txz: Upgraded. kde/kopete-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against libidn-1.35. n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded. n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.0-x86_64-1.txz: Upgraded. n/links-2.16-x86_64-2.txz: Rebuilt. Rebuilt to enable X driver for -g mode. n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded. n/nftables-0.8.5-x86_64-1.txz: Upgraded. n/p11-kit-0.23.11-x86_64-1.txz: Upgraded. n/ulogd-2.0.7-x86_64-1.txz: Upgraded. n/whois-5.3.1-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/xfce/xfce4-notifyd')
-rw-r--r--source/xfce/xfce4-notifyd/0001-Set-notifications-as-override-redirect-windows-bug-1.patch25
-rw-r--r--source/xfce/xfce4-notifyd/0002-Use-accessor-function-to-get-the-GdkWindow.patch25
-rw-r--r--source/xfce/xfce4-notifyd/slack-desc10
-rwxr-xr-xsource/xfce/xfce4-notifyd/xfce4-notifyd.SlackBuild23
-rw-r--r--source/xfce/xfce4-notifyd/xfce4-notifyd.url1
5 files changed, 20 insertions, 64 deletions
diff --git a/source/xfce/xfce4-notifyd/0001-Set-notifications-as-override-redirect-windows-bug-1.patch b/source/xfce/xfce4-notifyd/0001-Set-notifications-as-override-redirect-windows-bug-1.patch
deleted file mode 100644
index 140e1d126..000000000
--- a/source/xfce/xfce4-notifyd/0001-Set-notifications-as-override-redirect-windows-bug-1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 24d77f5b06c704506b4ae9d2eabdb96e56e12dae Mon Sep 17 00:00:00 2001
-From: Liquider <liquiderz@gmail.com>
-Date: Sun, 16 Feb 2014 14:04:20 +0100
-Subject: [PATCH 1/3] Set notifications as override redirect windows (bug
- #10686).
-
----
- xfce4-notifyd/xfce-notify-window.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
-index f8ffdf6..29287fa 100644
---- a/xfce4-notifyd/xfce-notify-window.c
-+++ b/xfce4-notifyd/xfce-notify-window.c
-@@ -318,6 +318,7 @@ xfce_notify_window_realize(GtkWidget *widget)
-
- gdk_window_set_type_hint(widget->window,
- GDK_WINDOW_TYPE_HINT_NOTIFICATION);
-+ gdk_window_set_override_redirect(gtk_widget_get_window(widget), TRUE);
- xfce_notify_window_start_expiration(window);
- }
-
---
-2.3.0
-
diff --git a/source/xfce/xfce4-notifyd/0002-Use-accessor-function-to-get-the-GdkWindow.patch b/source/xfce/xfce4-notifyd/0002-Use-accessor-function-to-get-the-GdkWindow.patch
deleted file mode 100644
index a50d31856..000000000
--- a/source/xfce/xfce4-notifyd/0002-Use-accessor-function-to-get-the-GdkWindow.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 93123ab4b7b73e8295102e709d5eeea398774650 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Guelfucci?= <jeromeg@xfce.org>
-Date: Sun, 16 Feb 2014 14:09:36 +0100
-Subject: [PATCH 2/3] Use accessor function to get the GdkWindow.
-
----
- xfce4-notifyd/xfce-notify-window.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
-index 29287fa..e2fc40a 100644
---- a/xfce4-notifyd/xfce-notify-window.c
-+++ b/xfce4-notifyd/xfce-notify-window.c
-@@ -316,7 +316,7 @@ xfce_notify_window_realize(GtkWidget *widget)
-
- GTK_WIDGET_CLASS(xfce_notify_window_parent_class)->realize(widget);
-
-- gdk_window_set_type_hint(widget->window,
-+ gdk_window_set_type_hint(gtk_widget_get_window(widget),
- GDK_WINDOW_TYPE_HINT_NOTIFICATION);
- gdk_window_set_override_redirect(gtk_widget_get_window(widget), TRUE);
- xfce_notify_window_start_expiration(window);
---
-2.3.0
-
diff --git a/source/xfce/xfce4-notifyd/slack-desc b/source/xfce/xfce4-notifyd/slack-desc
index 1463db0bd..b826a4661 100644
--- a/source/xfce/xfce4-notifyd/slack-desc
+++ b/source/xfce/xfce4-notifyd/slack-desc
@@ -1,18 +1,18 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
+# 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
+# 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------------------------------------------------------|
xfce4-notifyd: xfce4-notifyd (Xfce Notify Daemon)
xfce4-notifyd:
xfce4-notifyd: Xfce4-notifyd is a simple, visually-appealing notification daemon
-xfce4-notifyd: for Xfce. Applications can use xfce4-notifyd to pop up a notification
+xfce4-notifyd: for Xfce. Applications can use xfce4-notifyd to pop up a notification
xfce4-notifyd: bubble by sending messages through D-Bus.
xfce4-notifyd:
-xfce4-notifyd: Homepage: http://spuriousinterrupt.org/projects/xfce4-notifyd
+xfce4-notifyd:
xfce4-notifyd:
xfce4-notifyd:
xfce4-notifyd:
diff --git a/source/xfce/xfce4-notifyd/xfce4-notifyd.SlackBuild b/source/xfce/xfce4-notifyd/xfce4-notifyd.SlackBuild
index aa5ead86c..8b7909b5d 100755
--- a/source/xfce/xfce4-notifyd/xfce4-notifyd.SlackBuild
+++ b/source/xfce/xfce4-notifyd/xfce4-notifyd.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Xfce4-notifyd
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
-# Copyright 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2010, 2018 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,11 @@
# 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=xfce4-notifyd
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -38,9 +39,16 @@ if [ -z "$ARCH" ]; then
esac
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:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
@@ -62,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
@@ -71,9 +79,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/0001-Set-notifications-as-override-redirect-windows-bug-1.patch
-patch -p1 < $CWD/0002-Use-accessor-function-to-get-the-GdkWindow.patch
-
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/source/xfce/xfce4-notifyd/xfce4-notifyd.url b/source/xfce/xfce4-notifyd/xfce4-notifyd.url
new file mode 100644
index 000000000..e21c5ad31
--- /dev/null
+++ b/source/xfce/xfce4-notifyd/xfce4-notifyd.url
@@ -0,0 +1 @@
+http://archive.xfce.org/src/apps/xfce4-notifyd/0.4/xfce4-notifyd-0.4.2.tar.bz2