[PATCH libXt 2/2] Use AM_CPPFLAGS instead of INCLUDES

2013-01-03 Thread Thierry Reding
Recent versions of automake deprecate the INCLUDES variable. The same effect can be achieved by using AM_CPPFLAGS instead, which is also automake's recommendation. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- src/Makefile.am | 4 ++-- test/Makefile.am | 2 +- 2 files

[PATCH libXt 1/2] Fix cross-compilation

2013-01-03 Thread Thierry Reding
When cross-compiling against a sysroot for instance, a --sysroot option is typically passed via the CPPFLAGS variable. This can cause the build to break in the util subdirectory which requires the CPPFLAGS to be set for the build system. Solve this by using the value of CPPFLAGS_FOR_BUILD for

Re: [PATCH libXt 1/2] Fix cross-compilation

2013-01-03 Thread Thierry Reding
On Thu, Jan 03, 2013 at 04:32:45PM +0100, Thomas Petazzoni wrote: Dear Thierry Reding, On Thu, 3 Jan 2013 10:16:55 +0100, Thierry Reding wrote: When cross-compiling against a sysroot for instance, a --sysroot option is typically passed via the CPPFLAGS variable. This can cause the build

Re: [PATCH libXt 1/2] Fix cross-compilation

2013-01-03 Thread Thomas Petazzoni
Dear Thierry Reding, On Thu, 3 Jan 2013 10:16:55 +0100, Thierry Reding wrote: When cross-compiling against a sysroot for instance, a --sysroot option is typically passed via the CPPFLAGS variable. This can cause the build to break in the util subdirectory which requires the CPPFLAGS to be

[PATCH xserver] Add definitions for the AArch64 architecture

2013-01-03 Thread Thomas Petazzoni
AArch64 is the new 64 bits architecture from ARM, for which a few definitions are needed in the X.org server to make it build properly. Like for the ARM 32 bits architecture, we for now assume that AArch64 will be used in Little Endian mode for Linux. Signed-off-by: Thomas Petazzoni

Re: [PATCH libXt 1/2] Fix cross-compilation

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 07:32 AM, Thomas Petazzoni wrote: Dear Thierry Reding, On Thu, 3 Jan 2013 10:16:55 +0100, Thierry Reding wrote: When cross-compiling against a sysroot for instance, a --sysroot option is typically passed via the CPPFLAGS variable. This can cause the build to break in the util

Re: [PATCH libX11 0/2] Mend some XIM design issues.

2013-01-03 Thread Egbert Eich
Happy New Year! On Fri, Dec 07, 2012 at 05:57:50AM -0500, Egbert Eich wrote: These two patches attempt to fix some issues with the design of XIM - the X Input Method. [...] Noneteless the patches have been 'field-tested' on SUSE enterprise products for quite some time now - while those fixes

Re: xserver-1.13.2 nomination window is open

2013-01-03 Thread Daniel Martin
On Wed, Dec 19, 2012 at 11:41:53PM +0100, Matthieu Herrb wrote: On Tue, Dec 18, 2012 at 09:43:09PM -0700, Matt Dew wrote: It's actually been open since last Thursday but this is notice for anyone wondering. The nomination window is 3 weeks; until Jan 3. I've updated the X.Org

[PATCH mkfontscale] Drop 'const' from lists to muffle compiler warnings.

2013-01-03 Thread Egbert Eich
Gcc seems to be more picky about 'const' than it was in the past. So don't make it expect that certain things are const when this cannot be carried through all the way. Signed-off-by: Egbert Eich e...@freedesktop.org --- mkfontscale.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[PATCH mkfontscale] Prefer original file over symlink.

2013-01-03 Thread Egbert Eich
If a symlink to a fontfile in the same directory exists the file that got picked depends on the order in which readdir() picked entries. This patch gives the file a higher preference than the symlink to it so it will be preferred if the xlfd entries match. Signed-off-by: Egbert Eich

[PATCH luit] Set up terminal before fork.

2013-01-03 Thread Egbert Eich
From: Mike Fabian mfab...@redhat.com After the fork it is undefined wether parent or child runs first. So there can be a race: if the child runs before the terminal of the parent is set up correctly luit may hang. This patch sets up the terminal before forking and undoes the settings in the

[PATCH proxymngr] man: Set correct config file location in man page

2013-01-03 Thread Egbert Eich
Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich e...@freedesktop.org --- Makefile.am |3 +++ proxymngr.man |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index

[PATCH proxymngr] install: Use sysconfdir instead of libdir for config files.

2013-01-03 Thread Egbert Eich
Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Signed-off-by: Egbert Eich e...@freedesktop.org --- Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am

[PATCH rstart] install: Use sysconfdir instead of libdir for config files.

2013-01-03 Thread Egbert Eich
Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Fix and consolidate setting of the config dir in one place. Signed-off-by: Egbert Eich e...@freedesktop.org --- Makefile.am |2 +- configure.ac |5 -

[PATCH rstart] man: Set correct config file location in man page

2013-01-03 Thread Egbert Eich
Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich e...@freedesktop.org --- man/Makefile.am |1 + man/rstartd.man |2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index

[PATCH twm] Fix SEGV if CreateColormapWindow() returns NULL.

2013-01-03 Thread Egbert Eich
twm can segfault when it cannot collect attribute information on a window that has been destroyed before it got a chance to collect it's attributes. twm seems to assume that it is always able to collect this information and disregards the error if the function that attempts to collect it fails and

[PATCH xfd] Fix SEGV when XftFontOpenName() returns NULL.

2013-01-03 Thread Egbert Eich
From: Andreas Schwab sch...@redhat.com The semantics of a callback set with XtSetTypeConverter() is to return False only if there is no conversion at all. In this case the converstion string is copied verbatim to the target. Since the from and to types differ this doesn't make sense here at all.

[PATCH xinit] man: Set correct config file location in man page

2013-01-03 Thread Egbert Eich
Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich e...@freedesktop.org --- man/Makefile.am |4 +++- man/xinit.man |6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am

[PATCH xinit] install: Use sysconfdir instead of libdir for config files.

2013-01-03 Thread Egbert Eich
Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Signed-off-by: Egbert Eich e...@freedesktop.org --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac

[PATCH xrdb] Usage: In usage message print preprocessor that's actually chosen.

2013-01-03 Thread Egbert Eich
The CPP macro may contain a list of preprocessors to chose from. In the usage message describing the -cpp command line option print the preprocessor that would actually be chosen. Signed-off-by: Egbert Eich e...@freedesktop.org --- xrdb.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH xrdb] Allow the CPP macro to contain preprocessors with command line options.

2013-01-03 Thread Egbert Eich
The preprocessor used for xrdb may require a command line option to produce the desired output. For the GNU cpp this could be 'traditional-cpp' which may not be valid for other preprocessors. Therefore support the specification of preprocessors along with required command line arguments when using

[PATCH xsm] install: Use sysconfdir instead of libdir for config files.

2013-01-03 Thread Egbert Eich
Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Signed-off-by: Egbert Eich e...@freedesktop.org --- Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am

Re: [PATCH mkfontscale] Prefer original file over symlink.

2013-01-03 Thread Julien Cristau
On Thu, Jan 3, 2013 at 13:14:58 -0500, Egbert Eich wrote: @@ -836,6 +841,16 @@ doDirectory(const char *dirname_given, int numEncodings, ListPtr encodingsToDo) filename = dsprintf(%s%s, dirname, entry-d_name); +#define PRIO(x) ((x 1) + tprio) +#ifdef _BSD_SOURCE this should

Re: xserver-1.13.2 nomination window is open

2013-01-03 Thread Matt Dew
Acked On Wed, Jan 2, 2013 at 10:58 AM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 12/18/12 09:44 PM, Alan Coopersmith wrote: Once Keith pulls it into master, this is a 1.13.2 candidate: EnableDisableExtensionError: Use ARRAY_SIZE rather than sentinel

Re: [PATCH xrdb] Allow the CPP macro to contain preprocessors with command line options.

2013-01-03 Thread Julien Cristau
On Thu, Jan 3, 2013 at 13:56:46 -0500, Egbert Eich wrote: The preprocessor used for xrdb may require a command line option to produce the desired output. For the GNU cpp this could be 'traditional-cpp' which may not be valid for other preprocessors. Therefore support the specification of

[PATCH mkfontscale] Prefer original file over symlink (v2)

2013-01-03 Thread Egbert Eich
If a symlink to a fontfile in the same directory exists the file that got picked depends on the order in which readdir() picked entries. This patch gives the file a higher preference than the symlink to it so it will be preferred if the xlfd entries match. v2: Followed a suggestion by Julien

Re: [PATCH proxymngr] man: Set correct config file location in man page

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 10:40 AM, Egbert Eich wrote: Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich e...@freedesktop.org --- Makefile.am |3 +++ proxymngr.man |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff

Re: [PATCH proxymngr] install: Use sysconfdir instead of libdir for config files.

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 10:41 AM, Egbert Eich wrote: Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Signed-off-by: Egbert Eich e...@freedesktop.org --- Makefile.am |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH rstart] install: Use sysconfdir instead of libdir for config files.

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 10:44 AM, Egbert Eich wrote: Most X packages today install their config files in sysconfigdir, only a few are left which still put their configuration in libdir. Fix and consolidate setting of the config dir in one place. Signed-off-by: Egbert Eich e...@freedesktop.org ---

Re: [PATCH rstart] man: Set correct config file location in man page

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 10:44 AM, Egbert Eich wrote: Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich e...@freedesktop.org --- man/Makefile.am |1 + man/rstartd.man |2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff

[PATCH xrdb] Allow the CPP macro to contain preprocessors with command line options (v2)

2013-01-03 Thread Egbert Eich
The preprocessor used for xrdb may require a command line option to produce the desired output. For the GNU cpp this could be 'traditional-cpp' which may not be valid for other preprocessors. Therefore support the specification of preprocessors along with required command line arguments when using

Re: [PATCH xserver] Add definitions for the AArch64 architecture

2013-01-03 Thread Thierry Reding
On Thu, Jan 03, 2013 at 04:33:03PM +0100, Thomas Petazzoni wrote: AArch64 is the new 64 bits architecture from ARM, for which a few definitions are needed in the X.org server to make it build properly. Like for the ARM 32 bits architecture, we for now assume that AArch64 will be used in

Re: [PATCH xserver] Add definitions for the AArch64 architecture

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 07:33 AM, Thomas Petazzoni wrote: AArch64 is the new 64 bits architecture from ARM, for which a few definitions are needed in the X.org server to make it build properly. Like for the ARM 32 bits architecture, we for now assume that AArch64 will be used in Little Endian mode for

Re: [PATCH xinit] man: Set correct config file location in man page

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 10:54 AM, Egbert Eich wrote: Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich e...@freedesktop.org --- man/Makefile.am |4 +++- man/xinit.man |6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-)

Re: [PATCH xrdb] Usage: In usage message print preprocessor that's actually chosen.

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 10:56 AM, Egbert Eich wrote: The CPP macro may contain a list of preprocessors to chose from. In the usage message describing the -cpp command line option print the preprocessor that would actually be chosen. Signed-off-by: Egbert Eich e...@freedesktop.org --- xrdb.c |2 +-

Re: [PATCH xserver] Add definitions for the AArch64 architecture

2013-01-03 Thread Thomas Petazzoni
Dear Thierry Reding, On Thu, 3 Jan 2013 21:48:22 +0100, Thierry Reding wrote: On Thu, Jan 03, 2013 at 04:33:03PM +0100, Thomas Petazzoni wrote: AArch64 is the new 64 bits architecture from ARM, for which a few definitions are needed in the X.org server to make it build properly. Like

Re: [ANNOUNCE] libXTrap 1.0.1

2013-01-03 Thread Alan Coopersmith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If anyone is considering packaging this, they may want to consider the note in the README and check first if they have any software that truly needs it: libXTrap is the Xlib-based client API for the DEC-XTRAP extension. XTrap was a proposed

Re: xorg-server 1.13.1, - checksum post-mortem

2013-01-03 Thread Alan Coopersmith
On 01/ 3/13 03:38 PM, Peter Hutterer wrote: is there any particular reason we're still generating gz and bzip2? Because we're not hip enough to have replaced gz with xz like all the cool kids? Or because updating the automake flags in 200+ configure.ac scripts is not fun. -- -Alan

Unified automake init (was Re: xorg-server 1.13.1, - checksum post-mortem)

2013-01-03 Thread Peter Hutterer
On Thu, Jan 03, 2013 at 03:55:49PM -0800, Alan Coopersmith wrote: On 01/ 3/13 03:38 PM, Peter Hutterer wrote: is there any particular reason we're still generating gz and bzip2? Because we're not hip enough to have replaced gz with xz like all the cool kids? Or because updating the

Re: xserver-1.13.2 nomination window is open

2013-01-03 Thread Matt Dew
Hi Daniel, I'll wait on this one until they're in master. Any chance this'll be ready for rc2 or rc3? Matt On 01/03/2013 10:07 AM, Daniel Martin wrote: On Wed, Dec 19, 2012 at 11:41:53PM +0100, Matthieu Herrb wrote: On Tue, Dec 18, 2012 at 09:43:09PM -0700, Matt Dew wrote: It's actually

[PATCH synaptics] conf: add example for AreaBottomEdge on clickpad buttons

2013-01-03 Thread Peter Hutterer
Those that use clickpad buttons as buttons can see cursor jumps as the press on the touchpad - largely caused by the finger changing shape as the pressure changes and thus moving the hotspot. Simple fix is to define the clickpad soft button areas as dead areas, but this cannot be set as general

[PATCH 0/5] pointer emulation and grab behaviour fixes

2013-01-03 Thread Peter Hutterer
First two patches are Keith's patches with 2/2 having a minor fix to keep event history replaying correct. With those 5 applied, the current passive grab/pointer emulation/button state tests all pass, finally. Cheers, Peter ___

[PATCH 1/5] input: Pull TouchListener declaration to top-level

2013-01-03 Thread Peter Hutterer
From: Keith Packard kei...@keithp.com No reason to have a struct declared inside another struct Signed-off-by: Keith Packard kei...@keithp.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- include/inputstr.h | 18

[PATCH v2 2/5] input: Record grab pointer in TouchListener

2013-01-03 Thread Peter Hutterer
From: Keith Packard kei...@keithp.com This places a pointer to the grab related to a TouchListener directly in the TouchListener structure rather than hoping to find the grab later on using the resource ID. Passive grabs have resource ID in the resource DB so they can be removed when a client

[PATCH 3/5] dix: add resource type to touch listeners

2013-01-03 Thread Peter Hutterer
Instead of guessing what resource type the listener is and what property to retrieve, store the resource type in the listener directly. Breaks XIT test cases: TouchGrabTestMultipleTaps.PassiveGrabPointerEmulationMultipleTouchesFastSuccession Fixes

[PATCH 4/5] dix: check for the right device's xi2 mask

2013-01-03 Thread Peter Hutterer
events.c: In function 'DeactivatePointerGrab': events.c:1524:51: warning: 'dev' may be used uninitialized in this function [-Wuninitialized dev is unset when we get here, the device to check is mouse. Introduced in ece8157a59751b3ed492fb2e1eb8d5f20221e195. Signed-off-by: Peter Hutterer

[PATCH 5/5] dix: remove already-moved hunk

2013-01-03 Thread Peter Hutterer
Should've been removed in bc1f90a615018c05994fae3e678dd2341256cd82a, but got left here due to a botched rebase. Fixes stray button events sent to clients after deactivating an async pointer grab on a pointer-emulating-touch. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net ---