diff options
Diffstat (limited to 'source/xfce/xfce4-notifyd')
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 |