From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 2 22:10:07 2007 Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG> X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93EB616A46B for <freebsd-ports-bugs@hub.freebsd.org>; Sat, 2 Jun 2007 22:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 294C813C45D for <freebsd-ports-bugs@hub.freebsd.org>; Sat, 2 Jun 2007 22:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l52MA5C3068242 for <freebsd-ports-bugs@freefall.freebsd.org>; Sat, 2 Jun 2007 22:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l52MA5Nh068241; Sat, 2 Jun 2007 22:10:05 GMT (envelope-from gnats) Resent-Date: Sat, 2 Jun 2007 22:10:05 GMT Resent-Message-Id: <200706022210.l52MA5Nh068241@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, Emanuel Haupt <ehaupt@FreeBSD.org> Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FC0216A41F for <FreeBSD-gnats-submit@freebsd.org>; Sat, 2 Jun 2007 22:07:08 +0000 (UTC) (envelope-from ehaupt@milkyway.critical.ch) Received: from mx.critical.ch (milkyway.critical.ch [62.2.45.169]) by mx1.freebsd.org (Postfix) with ESMTP id 3B24C13C46E for <FreeBSD-gnats-submit@freebsd.org>; Sat, 2 Jun 2007 22:07:08 +0000 (UTC) (envelope-from ehaupt@milkyway.critical.ch) Received: from milkyway.critical.ch (localhost.critical.ch [127.0.0.1]) by mx.critical.ch (8.13.8/8.13.8/critical-1.0) with ESMTP id l52Lf9v9059871 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 2 Jun 2007 23:41:10 +0200 (CEST) (envelope-from ehaupt@milkyway.critical.ch) Received: (from ehaupt@localhost) by milkyway.critical.ch (8.13.8/8.13.8/Submit) id l52Lf9QZ059870; Sat, 2 Jun 2007 23:41:09 +0200 (CEST) (envelope-from ehaupt) Message-Id: <200706022141.l52Lf9QZ059870@milkyway.critical.ch> Date: Sat, 2 Jun 2007 23:41:09 +0200 (CEST) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/113269: [patch] x11-wm/xfce4-wm - Add an optional patch to reverse the mouse workspace changing direction X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt <ehaupt@FreeBSD.org> List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs> List-Post: <mailto:freebsd-ports-bugs@freebsd.org> List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 02 Jun 2007 22:10:07 -0000 >Number: 113269 >Category: ports >Synopsis: [patch] x11-wm/xfce4-wm - Add an optional patch to reverse the mouse workspace changing direction >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jun 02 22:10:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD milkyway.critical.ch 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This implements an optional patch to reverse the mouse workspace changing direction. This option is not activated by default. The request for such a config option has been sent to the authors. Also remove blank line at the end of pkg-plist and replace spaces with a tab in the Makefile. >How-To-Repeat: >Fix: --- xfce4-wm.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-wm/xfce4-wm/Makefile,v retrieving revision 1.40 diff -u -r1.40 Makefile --- Makefile 19 May 2007 20:32:56 -0000 1.40 +++ Makefile 2 Jun 2007 21:32:46 -0000 @@ -18,7 +18,7 @@ CONFIGURE_ARGS= --enable-xinerama GNU_CONFIGURE= yes -INSTALLS_ICONS= yes +INSTALLS_ICONS= yes USE_BZIP2= yes USE_GETTEXT= yes USE_GMAKE= yes @@ -29,7 +29,8 @@ USE_XLIB= yes OPTIONS= COMPOSITE "Support the experimental X11 Composite extension" on \ - STARTUP "Enable startup notification support" on + STARTUP "Enable startup notification support" on \ + REVMOUSE "Reverse mouse workspace changing direction" off .include <bsd.port.pre.mk> @@ -46,6 +47,10 @@ CONFIGURE_ARGS+=--disable-startup-notification .endif +.if defined(WITH_REVMOUSE) +EXTRA_PATCHES= ${FILESDIR}/extrapatch-src__events.c +.endif + post-patch: @${REINPLACE_CMD} -e 's|\(#define ShapeInput 2\);|\1|' \ ${WRKSRC}/src/frame.c Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/x11-wm/xfce4-wm/pkg-plist,v retrieving revision 1.17 diff -u -r1.17 pkg-plist --- pkg-plist 22 Jan 2007 16:45:04 -0000 1.17 +++ pkg-plist 2 Jun 2007 21:32:46 -0000 @@ -1320,4 +1320,3 @@ @dirrmtry share/icons/hicolor/scalable/apps @dirrmtry share/icons/hicolor/scalable @dirrmtry share/themes - Index: files/extrapatch-src__events.c =================================================================== RCS file: files/extrapatch-src__events.c diff -N files/extrapatch-src__events.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/extrapatch-src__events.c 2 Jun 2007 21:32:46 -0000 @@ -0,0 +1,16 @@ +--- ./src/events.c.orig Mon Apr 2 21:48:20 2007 ++++ ./src/events.c Sat Jun 2 23:02:58 2007 +@@ -860,11 +860,11 @@ + + if (ev->button == Button4) + { +- workspaceSwitch (screen_info, screen_info->current_ws - 1, NULL, TRUE, ev->time); ++ workspaceSwitch (screen_info, screen_info->current_ws + 1, NULL, TRUE, ev->time); + } + else if (ev->button == Button5) + { +- workspaceSwitch (screen_info, screen_info->current_ws + 1, NULL, TRUE, ev->time); ++ workspaceSwitch (screen_info, screen_info->current_ws - 1, NULL, TRUE, ev->time); + } + } + --- xfce4-wm.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: