From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 21 18:00:23 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CB0C1065672 for ; Tue, 21 Dec 2010 18:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3458C8FC18 for ; Tue, 21 Dec 2010 18:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBLI0N7o048717 for ; Tue, 21 Dec 2010 18:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBLI0NQu048716; Tue, 21 Dec 2010 18:00:23 GMT (envelope-from gnats) Resent-Date: Tue, 21 Dec 2010 18:00:23 GMT Resent-Message-Id: <201012211800.oBLI0NQu048716@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Renato Botelho Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7E7D1065672 for ; Tue, 21 Dec 2010 17:51:46 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8A85A8FC0A for ; Tue, 21 Dec 2010 17:51:46 +0000 (UTC) Received: by vws9 with SMTP id 9so1800978vws.13 for ; Tue, 21 Dec 2010 09:51:45 -0800 (PST) Received: by 10.220.181.132 with SMTP id by4mr1677394vcb.151.1292952257358; Tue, 21 Dec 2010 09:24:17 -0800 (PST) Received: from botelhor.bplab.local (189-19-84-134.dsl.telesp.net.br [189.19.84.134]) by mx.google.com with ESMTPS id u14sm1084862vcr.25.2010.12.21.09.24.13 (version=SSLv3 cipher=RC4-MD5); Tue, 21 Dec 2010 09:24:15 -0800 (PST) Received: (qmail 5987 invoked by uid 1001); 21 Dec 2010 15:24:11 -0200 Message-Id: <20101221172411.5983.qmail@botelhor.bplab.local> Date: Tue, 21 Dec 2010 09:24:15 -0800 (PST) From: Renato Botelho Sender: Renato Botelho To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: wen@FreeBSD.org Subject: ports/153348: [PATCH] sysutils/tmux: Fix urgent signal for window manager X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2010 18:00:23 -0000 >Number: 153348 >Category: ports >Synopsis: [PATCH] sysutils/tmux: Fix urgent signal for window manager >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 21 18:00:22 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Renato Botelho >Release: FreeBSD 9.0-CURRENT amd64 >Organization: FreeBSD.org >Environment: System: FreeBSD botelhor.bplab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #4 r216464M: Wed Dec 15 22:11:43 BRST >Description: I use awesome window manager and urxvt, and when mutt or irrsi send an urgent signal, awesome deal with it painting tag with different color to notify me about it. When i tried to use it with tmux, it simply didn't work, after a little look at google i found a patch [1] from arch linux, it's working perfect here. [1] https://bbs.archlinux.org/viewtopic.php?id=104924 Added file(s): - files/patch-server-window.c Port maintainer (wen@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- tmux-1.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/tmux/Makefile,v retrieving revision 1.18 diff -u -u -r1.18 Makefile --- Makefile 5 Aug 2010 12:27:04 -0000 1.18 +++ Makefile 21 Dec 2010 17:22:06 -0000 @@ -7,6 +7,7 @@ PORTNAME= tmux PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} Index: distinfo =================================================================== RCS file: /home/pcvs/ports/sysutils/tmux/distinfo,v retrieving revision 1.13 diff -u -u -r1.13 distinfo --- distinfo 5 Aug 2010 12:27:04 -0000 1.13 +++ distinfo 21 Dec 2010 17:22:06 -0000 @@ -1,3 +1,2 @@ -MD5 (tmux-1.3.tar.gz) = 96e60cb206de2db0610b9fb6a64c2251 SHA256 (tmux-1.3.tar.gz) = 72c2d6f1c30fb4ccbd29b530a7d8a08e67c9c2d87ac8d67e3806561670fc0362 SIZE (tmux-1.3.tar.gz) = 251999 Index: files/patch-server-window.c =================================================================== RCS file: files/patch-server-window.c diff -N files/patch-server-window.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-server-window.c 21 Dec 2010 17:22:06 -0000 @@ -0,0 +1,15 @@ +--- server-window.c.orig 2010-12-21 10:01:51.000000000 -0200 ++++ server-window.c 2010-12-21 10:05:11.000000000 -0200 +@@ -109,10 +109,8 @@ + + if (!(w->flags & WINDOW_BELL) || wl->flags & WINLINK_BELL) + return (0); +- if (s->curw == wl) +- return (0); +- +- wl->flags |= WINLINK_BELL; ++ if (s->curw != wl) ++ wl->flags |= WINLINK_BELL; + + action = options_get_number(&s->options, "bell-action"); + switch (action) { --- tmux-1.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: