Re: [PATCH xserver 2/2] xfree86: add support for Cygwin

2012-03-29 Thread Mark Kettenis
Date: Wed, 28 Mar 2012 23:05:51 -0500 From: Yaakov (Cygwin/X) yselkow...@users.sourceforge.net On 2012-03-28 22:19, Alan Coopersmith wrote: On 03/27/12 10:16 PM, Yaakov (Cygwin/X) wrote: + +i2c/libi2c.la: + $(MAKE) -C $(@D) $(@F) + +dixmods/libdixmods.la: + $(MAKE) -C $(@D)

Re: [PATCH xserver 2/2] xfree86: add support for Cygwin

2012-03-29 Thread Yaakov (Cygwin/X)
On 2012-03-29 01:33, Mark Kettenis wrote: The server builds fine with (Open)BSD make, and we'd like to keep it that way. And it doesn't support -C. Sigh. I guess I'll have to spell it out then. Or perhaps explain the problem you're trying to solve? Those directories include both

[PATCH 0/8] Port hw/xfree86 to Cygwin (take two)

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net This is just the xserver patches, broken out and modified to address received comments. See the first thread for the driver patches, which are unchanged. Yaakov Selkowitz (8): xf86Crtc: include xf86xv.h only if XV Cygwin/X: disable all

[PATCH 1/8] xf86Crtc: include xf86xv.h only if XV

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com --- hw/xfree86/modes/xf86Crtc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH 2/8] Cygwin/X: disable all unused or unapplicable extensions in configure

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net --- configure.ac | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 65d29f2..44fe8e2 100644 ---

[PATCH 3/8] xfree86: allow modules to be built without undefined symbols

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net This will be necessary to port Xorg to Cygwin, but other platforms may find this useful as well. Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net --- configure.ac |4

[PATCH 4/8] os-support: add Cygwin support

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net --- hw/xfree86/os-support/xf86_OSlib.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/xfree86/os-support/xf86_OSlib.h

[PATCH 5/8] loader: add Cygwin support

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net Cygwin libraries use the .dll extension and cyg prefix in place of lib. Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net --- hw/xfree86/loader/loadmod.c | 18 ++ hw/xfree86/man/xorg.conf.man |2 +- 2

[PATCH 6/8] xf86Init: provide ddxBeforeReset ifdef DDXBEFORERESET

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net This is necessary when building Xorg and XWin simultaneously, otherwise undefined symbol errors result in sdksyms.c. Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net --- hw/xfree86/common/xf86Init.c |7 +++ 1 files

[PATCH 7/8] xf86Config: load DIX libraries before drivers on Cygwin

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net Cygwin doesn't have ELF rpath capabilities, so these libraries need to be loaded before the drivers (namely dummy and nested) which depend on their symbols. Signed-off-by: Yaakov Selkowitz yselkow...@users.sourceforge.net ---

[PATCH 8/8] xfree86: link modules against Xorg symbols on Cygwin

2012-03-29 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net As a PE platform, all symbols in both EXEs and DLLs must be resolved at link time. As Xorg modules depend on symbols in the Xorg executable, we must build Xorg before its modules, creating an implib from the former which is used to link the

[PATCH] dix: don't BUG_WARN for button events from button-only device

2012-03-29 Thread Daniel Kurtz
Events from button-only devices still need coordinates, and they get them from scale_to_desktop(). This isn't a bug, so don't BUG_WARN(), which just fills up the log with Backtraces... This was noticed when unplugging a Creative Technology SB Arena Headset, which emits [BTN_3] = 0 on unplug.

Re: [PATCH evdev 2/3] Move axis labels up in the source file.

2012-03-29 Thread walter harms
Am 29.03.2012 02:09, schrieb Peter Hutterer: Simple move, no functional changes. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 320 +- 1 files changed, 160 insertions(+), 160 deletions(-) diff --git

Re: [PULL to discuss] Remove kdrive, Xnest, and Xvfb

2012-03-29 Thread Yaakov (Cygwin/X)
On 2012-03-26 23:09, Jamey Sharp wrote: On Mon, Mar 26, 2012 at 6:31 PM, Yaakov (Cygwin/X) wrote: 1. Will Xorg even work on Cygwin/MinGW? (I would ask the same of OS X, but as the Xquartz maintainer I suppose you know what you are doing.) Even if it does, I see already it would take some

[PATCH synaptics] Fix st-mt scaling

2012-03-29 Thread Leon Shaw
From: Leon Shaw shaw.l...@gmail.com Signed-off-by: Leon Shaw shaw.l...@gmail.com --- src/eventcomm.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/eventcomm.c b/src/eventcomm.c index 28d034f..2d03743 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c

XDC2012 - Announcement

2012-03-29 Thread Egbert Eich
Now that we have everything in place we can finally make it official and announce it: XDC2012 will take place from September 19th to September 21th in Nuernberg, Germany at the SUSE headquarter buidling. Matthias Hopf, Luc Verhaegen and I will be orgainzing this event. The initial wiki page for

Re: [PATCH 7/8] xf86Config: load DIX libraries before drivers on Cygwin

2012-03-29 Thread Keith Packard
#part sign=pgpmime On Thu, 29 Mar 2012 03:22:40 -0500, Yaakov (Cygwin/X) yselkow...@users.sourceforge.net wrote: From: Yaakov Selkowitz yselkow...@users.sourceforge.net Cygwin doesn't have ELF rpath capabilities, so these libraries need to be loaded before the drivers (namely dummy and

[BUG] xkbcommon: segfault in xkb_compile_keymap_from_rules()

2012-03-29 Thread David Herrmann
Hi xkb_compile_keymap_from_rules() fails on my machine if the variant is not found. I used: struct xkb_rules_names rmlvo = { .rules = evdev, .model = evdev, .layout = us, .variant = de, .options = , }; Then a call to xkb_compile_keymap_from_rules(rmlvo) produces a segfault. I have no

[RFC PATCH] damageproto: Explicitly document Damage lifetimes

2012-03-29 Thread Adam Jackson
After an inquiry on IRC about Damage lifetimes, I remembered that I hadn't followed up on this thread: http://lists.x.org/archives/xorg-devel/2011-March/020920.html All extant implementations of the DAMAGE extension have always deleted Damage objects when their bound Drawable disappears. This

Re: [BUG] xkbcommon: segfault in xkb_compile_keymap_from_rules()

2012-03-29 Thread Daniel Stone
Hi, On 29 March 2012 17:02, David Herrmann dh.herrm...@googlemail.com wrote: xkb_compile_keymap_from_rules() fails on my machine if the variant is not found. I used: [...] Then a call to xkb_compile_keymap_from_rules(rmlvo) produces a segfault. I have no debug symbols (so the backtrace is

Re: [RFC PATCH] damageproto: Explicitly document Damage lifetimes

2012-03-29 Thread Keith Packard
#part sign=pgpmime On Thu, 29 Mar 2012 12:02:28 -0400, Adam Jackson a...@redhat.com wrote: One possibility would be to have a 1.2 version of the protocol that simply doesn't generate BadDamage in any event; or, that tracks client timestamps and suppresses BadDamage if the drawable has been

Re: [PATCH synaptics] Fix st-mt scaling

2012-03-29 Thread Chase Douglas
On 03/29/2012 05:12 AM, Leon Shaw wrote: From: Leon Shaw shaw.l...@gmail.com Hi Leon, Please include a description of the problem and how this fix addresses it in the commit message. If there is a bug in the bug tracker, please include the url too. What device are you seeing this issue on?

Re: [PATCH xserver 2/2] xfree86: add support for Cygwin

2012-03-29 Thread Alan Coopersmith
On 03/28/12 11:33 PM, Mark Kettenis wrote: Date: Wed, 28 Mar 2012 23:05:51 -0500 From: Yaakov (Cygwin/X) yselkow...@users.sourceforge.net On 2012-03-28 22:19, Alan Coopersmith wrote: On 03/27/12 10:16 PM, Yaakov (Cygwin/X) wrote: + +i2c/libi2c.la: + $(MAKE) -C $(@D) $(@F) +

Re: [PATCH 7/8] xf86Config: load DIX libraries before drivers on Cygwin

2012-03-29 Thread Yaakov (Cygwin/X)
On 2012-03-29 10:15, Keith Packard wrote: On Thu, 29 Mar 2012 03:22:40 -0500, Yaakov (Cygwin/X) wrote: Cygwin doesn't have ELF rpath capabilities, so these libraries need to be loaded before the drivers (namely dummy and nested) which depend on their symbols. Is the problem here that the

Re: xserver-wrapper licensing (was: Re: [PULL to discuss] Remove kdrive, Xnest, and Xvfb)

2012-03-29 Thread Julien Cristau
On Tue, Mar 27, 2012 at 22:46:51 +0100, Daniel Stone wrote: Stephen, Mark, Branden - would you be amenable to relicensing this under the standard X.Org MIT/X11 copyright, as quoted below, for possible inclusion in X.Org upstream? FWIW, I'm happy with that license for any contributions I made

Re: [RFC PATCH] damageproto: Explicitly document Damage lifetimes

2012-03-29 Thread Adam Jackson
On Thu, 2012-03-29 at 09:54 -0700, Keith Packard wrote: On Thu, 29 Mar 2012 12:02:28 -0400, Adam Jackson a...@redhat.com wrote: One possibility would be to have a 1.2 version of the protocol that simply doesn't generate BadDamage in any event; or, that tracks client timestamps and

Re: [PATCH synaptics] Fix st-mt scaling

2012-03-29 Thread Peter Hutterer
On Thu, Mar 29, 2012 at 10:21:09AM -0700, Chase Douglas wrote: On 03/29/2012 05:12 AM, Leon Shaw wrote: From: Leon Shaw shaw.l...@gmail.com Hi Leon, Please include a description of the problem and how this fix addresses it in the commit message. If there is a bug in the bug tracker,

[PATCH][master][1.12] Implement passive touch ungrabbing

2012-03-29 Thread Chase Douglas
Whoops. Forgot to implement this. The code currently generates an error due to the unhandled grab type. X.Org Bug 48069 https://bugs.freedesktop.org/show_bug.cgi?id=48069 Signed-off-by: Chase Douglas chase.doug...@canonical.com --- Xi/xipassivegrab.c |9 +++-- 1 files changed, 7

[PATCH v2] dix: don't BUG_WARN for button events from button-only device

2012-03-29 Thread Daniel Kurtz
Events from button-only devices still need coordinates, and they get them from scale_to_desktop(). Therefore, a dev without valuators is not a bug. However, a dev with valuators, but less than two of them still is a bug. This was noticed when unplugging a Creative Technology SB Arena Headset,

Re: [PATCH evdev 2/3] Move axis labels up in the source file.

2012-03-29 Thread Peter Hutterer
On Thu, Mar 29, 2012 at 10:51:52AM +0200, walter harms wrote: Am 29.03.2012 02:09, schrieb Peter Hutterer: Simple move, no functional changes. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 320

Re: [PATCH v2] dix: don't BUG_WARN for button events from button-only device

2012-03-29 Thread Chase Douglas
On 03/29/2012 06:12 PM, Daniel Kurtz wrote: Events from button-only devices still need coordinates, and they get them from scale_to_desktop(). Therefore, a dev without valuators is not a bug. However, a dev with valuators, but less than two of them still is a bug. This was noticed when

Re: [PATCH evdev 3/3] Allow relative scroll valuators on absolute devices

2012-03-29 Thread Chase Douglas
On 03/28/2012 10:30 PM, Peter Hutterer wrote: On Wed, Mar 28, 2012 at 08:19:00PM -0700, Chase Douglas wrote: On 03/28/2012 05:09 PM, Peter Hutterer wrote: * Are we going to pay later for having variables like want_scroll_axes that configure axes like REL_DIAL? The variable is essentially

Re: [RFC PATCH] damageproto: Explicitly document Damage lifetimes

2012-03-29 Thread Keith Packard
#part sign=pgpmime On Thu, 29 Mar 2012 16:39:13 -0400, Adam Jackson a...@redhat.com wrote: Changing the lifetime would mean needing to change the extension major number, since otherwise currently legal 1.x clients would leak themselves to death, and that's not nice. My thought was that we'd

Re: [PATCH libXaw3d] Fix ... ?

2012-03-29 Thread Markus Steinborn
Matt Turner schrieb: Found at http://gitorious.org/xaw3d/xaw3d/commit/bef54db66ae333f2e741186ca423325d17c58eb9 Same fix appeared in libXaw as part of XFree86 4.3.0.1. XFree86's CVS says 'fix-trackers 3637-3977' for this change, but I have no idea what those numbers correspond to.