From 33b2839bd38e4605be984b7b8def76d107d59cd8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 27 Feb 2017 01:37:35 -0500 Subject: desktop/wmcliphist: Updated for version 2.1. Signed-off-by: B. Watson --- desktop/wmcliphist/wmcliphist.SlackBuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'desktop/wmcliphist/wmcliphist.SlackBuild') diff --git a/desktop/wmcliphist/wmcliphist.SlackBuild b/desktop/wmcliphist/wmcliphist.SlackBuild index 81b275cbbc..c146b5861d 100644 --- a/desktop/wmcliphist/wmcliphist.SlackBuild +++ b/desktop/wmcliphist/wmcliphist.SlackBuild @@ -17,9 +17,14 @@ # - Install sample config file in doc dir (as per the man page). # - Fix path to docdir in man page. +# 20170225 bkw: +# - BUILD=2 +# - Get rid of annoying assertion "'GTK_IS_WIDGET (widget)' failed" warnings +# - Document annoying bug I don't know how to fix, in BUG.txt + PRGNAM=wmcliphist VERSION=${VERSION:-2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -73,6 +78,15 @@ for i in $CWD/*.patch; do patch -p1 < $i done +# This patch is my own. It removes these annoying warnings: +# gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed +# Reason for the warnings: gtk_container_remove() already destroys +# a widget, if there's no other reference to it. So we don't need +# to then call gtk_widget_destroy() on the same widget. See +# https://developer.gnome.org/gtk3/unstable/GtkContainer.html#gtk-container-remove +# This explanation is longer than the patch, sorry about that. +patch -p1 < $CWD/gtk_assert.diff + sed -i "/^CFLAGS/s,-pedantic,$SLKCFLAGS," Makefile sed -i "s,/usr/share/doc/$PRGNAM,/usr/doc/$PRGNAM-$VERSION," $PRGNAM.1 -- cgit v1.2.3-65-gdbad