Re: X.Org modules which could use some help to release

2019-07-21 Thread Jon Turney
On 16/07/2019 20:07, Adam Jackson wrote: On Mon, 2019-07-15 at 14:31 -0700, Alan Coopersmith wrote: On 7/15/19 4:02 AM, Thomas Klausner wrote: libWindowsWM This is supposed to only be useful on Cygwin, but a Cygwin package search says they don't ship it, and it hasn't had a release since

Re: rfc: WIN32 vs _WIN32 and more

2019-05-20 Thread Jon Turney
On 17/05/2019 21:00, Thomas Dickey wrote: On Fri, May 17, 2019 at 10:08:47AM +0200, walter harms wrote: Hi list, is there a common ground for using OS related defines ? I was look at some libs and found some defines that look pretty ancient. And some like WIN32 vs _WIN32 however, they're

Re: [PATCH 9/9] gen_gl_wrappers: remove unused imports

2019-04-01 Thread Jon Turney
, OUT OF OR IN CONNECTION WITH THE # MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -import sys, time, pdb, string, cProfile +import sys from reg import * # Default input / log files Thanks! Reviewed-by: Jon Turney ___ xorg-devel

Re: [PATCH libXaw] Define PAGE_SIZE as USN_PAGE_SIZE on Windows

2019-03-12 Thread Jon Turney
On 09/03/2019 14:45, James R Larrowe wrote: Thanks for the updated patch. Take no action on Cygwin. I'd like to see some commentary here about why this is needed, e.g. "Work-around AC_CHECK_FUNCS([getpagesize]) reporting a false positive when using MinGW gcc, due to it being present in

Re: [PATCH libXaw] Add definition of getpagesize(), missing on Windows.

2019-03-08 Thread Jon Turney
On 05/03/2019 17:43, Alan Coopersmith wrote: What's wrong with it is mainly that the set of people who know about X libraries on Windows is small, and the set of people who deal with libXaw is small, and the intersection of those two sets is tiny.   (It also doesn't help that we've sucked for

[PATCH xserver] hw/xwin: Fix 'make distcheck'

2018-08-27 Thread Jon Turney
Add internal.h to SOURCES, omitted from 126c1cfa Signed-off-by: Jon Turney --- hw/xwin/winclipboard/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xwin/winclipboard/Makefile.am b/hw/xwin/winclipboard/Makefile.am index a1079aec6..bfd302413 100644 --- a/hw/xwin/winclipboard

[PATCH xserver] meson: use absolute paths in manpage substitutions

2018-06-30 Thread Jon Turney
paths returned by get_option('foodir') are potentially relative to prefix Noticed when comparing manpages generated by a meson build with those generated by an autotools build Signed-off-by: Jon Turney --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH xorgproto 2/2] Assorted typo fixes in headers

2018-06-18 Thread Jon Turney
On 17/06/2018 17:55, Alan Coopersmith wrote: - ** o Convience Marcos + ** o Convenience Marcos "Convenience Macros" ? ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel

[PATCH xserver 1/3] meson: install xwinclip and Xwinrc man pages

2018-05-13 Thread Jon Turney
Omitted from a1e8dc05 Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xwin/meson.build | 7 +++ hw/xwin/winclipboard/meson.build | 7 +++ 2 files changed, 14 insertions(+) diff --git a/hw/xwin/meson.build b/hw/xwin/meson.build index 1bf9891ed..7e1

[PATCH xserver 3/3] meson: don't put literal 'PACKAGE_STRING' and 'XORG_MAN_PAGE' in man pages

2018-05-13 Thread Jon Turney
Instead, substitute the same values as autotools does Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index c8df31b3b..f2c71fe27 100644 --- a/meson.build +++ b/meson

[PATCH xserver 0/3] meson fixes

2018-05-13 Thread Jon Turney
Small fixes to meson build for problems I noticed when trying to package 1.20.0 Jon Turney (3): meson: install xwinclip and Xwinrc man pages meson: don't install xorg wrapper manpages if suid-wrapper isn't being used meson: don't put literal 'PACKAGE_STRING' and 'XORG_MAN_PAGE' in man

[PATCH xserver 2/3] meson: don't install xorg wrapper manpages if suid-wrapper isn't being used

2018-05-13 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xfree86/meson.build | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build index 133c96d89..cacf56d4c 100644 --- a/hw/xfree86/meson.build ++

[PATCH xserver] hw/xwin/glx: Allocate fbconfigs correctly

2018-04-03 Thread Jon Turney
4b0a3cba fixed leaking of GLX fbconfigs, so now xwin needs to allocate them correctly (individually, rather than all at once), so they can be freed successfully. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harri...@virgin.net> ---

[PATCH xserver] meson: Require libdrm for dri1/2/3 when configured 'auto' as well as 'true'

2018-03-08 Thread Jon Turney
If dri1/2/3 are configured for auto-detection, libdrm is required, as well as the corresponding proto. (Practically we will always have the corresponding protos now, as they are part of xorgproto). Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build | 15 ++--

[PATCH proto/xorgproto] Remove and .gitignore more autotools artefacts

2018-03-01 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- .gitignore | 2 + install-sh | 316 - missing| 360 - 3 files changed, 2 insertions(+), 676 deletions(-) delet

Re: [PATCH util/modular] xorg.modules: Replace individual proto modules with xorgproto

2018-03-01 Thread Jon Turney
On 28/02/2018 15:17, Emil Velikov wrote: On 28 February 2018 at 13:04, Jon Turney <jon.tur...@dronecode.org.uk> wrote: Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- xorg.modules | 845 ++- 1 file changed, 14

[PATCH util/modular] xorg.modules: Replace individual proto modules with xorgproto

2018-02-28 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- xorg.modules | 845 ++- 1 file changed, 143 insertions(+), 702 deletions(-) diff --git a/xorg.modules b/xorg.modules index b34d14d..93bc8cf 100644 --- a/xorg.modules

[PATCH xserver] hw/xwin: Update for glxvnd

2018-02-16 Thread Jon Turney
- Link with libglxvnd in meson.build - Call xorgGlxCreateVendor() like all other DDX Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xwin/InitOutput.c | 2 ++ hw/xwin/meson.build | 1 + 2 files changed, 3 insertions(+) diff --git a/hw/xwin/InitOutput.c b/hw/xwin/InitOu

Re: [PATCH app/xkbcomp] pkgconfig: Add our bindir to xkbcomp.pc

2018-02-10 Thread Jon Turney
r=@bindir@ datarootdir=@datarootdir@ datadir=@datadir@ Yes, I found this necessary also, and I think it's correct, as bindir may be expressed in terms of exec_prefix. Reviewed-by: Jon Turney <jon.tur...@dronecode.org.uk> ___ xorg-devel@lists.x.org: X.

Re: [PATCH xserver 1/2] meson: Enable SUN-DES-1 auth code

2018-01-22 Thread Jon Turney
On 19/01/2018 11:37, Jon Turney wrote: On 18/01/2018 21:27, Adam Jackson wrote: On Wed, 2018-01-17 at 19:02 +, Jon Turney wrote: On 08/01/2018 20:50, Adam Jackson wrote: ---    include/meson.build | 1 +    meson_options.txt   | 1 +    os/meson.build  | 4    3 files changed, 6

Re: [PATCH xserver 1/2] meson: Enable SUN-DES-1 auth code

2018-01-19 Thread Jon Turney
On 18/01/2018 21:00, Eric Anholt wrote: Jon Turney writes: On 08/01/2018 20:50, Adam Jackson wrote: --- include/meson.build | 1 + meson_options.txt | 1 + os/meson.build | 4 3 files changed, 6 insertions(+) After this, I needed something like the attached. I'm

Re: [PATCH xserver 1/2] meson: Enable SUN-DES-1 auth code

2018-01-19 Thread Jon Turney
On 18/01/2018 21:27, Adam Jackson wrote: On Wed, 2018-01-17 at 19:02 +, Jon Turney wrote: On 08/01/2018 20:50, Adam Jackson wrote: --- include/meson.build | 1 + meson_options.txt | 1 + os/meson.build | 4 3 files changed, 6 insertions(+) After this, I needed

[PATCH xserver] meson.build: Fix hw/xwin build when dependencies are installed in a non-default location

2018-01-18 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xwin/glx/meson.build | 2 +- hw/xwin/winclipboard/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xwin/glx/meson.build b/hw/xwin/glx/meson.build index e9969536d..57cce039d 100644 --

Re: [PATCH xserver 1/2] meson: Enable SUN-DES-1 auth code

2018-01-18 Thread Jon Turney
From: Jon Turney <jon.tur...@dronecode.org.uk> Date: Wed, 17 Jan 2018 13:43:47 + Subject: [PATCH xserver] meson: look for Secure RPC authentication function in tirpc If Secure RPC authentication isn't found in libc, look for it in tirpc. Signed-off-by: Jon Turney <jon.tur...@droneco

Re: [PATCH xserver] meson: Correct the disabled int10 option choice

2018-01-08 Thread Jon Turney
On 08/01/2018 19:31, Adam Jackson wrote: On Fri, 2017-12-22 at 18:49 +, Jon Turney wrote: hw/xfree/meson.build tests the int10 option against 'disabled', not 'false' to see if it shouldn't be built at all. I'd really prefer we be consistent that 'false' always turns things off; could we

Re: [PATCH xserver 4/4] os: Use 64-bit tick count on Windows when available

2017-12-28 Thread Jon Turney
On 27/12/2017 04:10, Jeff Smith wrote: On Windows, GetTickCount() returns a value that wraps after 49.7 days. Windows Vista and later offer GetTickCount64(), which does not have that issue. In places that can make use of more than 32 bits from the tick counter, use a 64-bit counter if

[PATCH xserver] meson: Correct the disabled int10 option choice

2017-12-22 Thread Jon Turney
hw/xfree/meson.build tests the int10 option against 'disabled', not 'false' to see if it shouldn't be built at all. Not noticed before as options weren't validated against choices until meson 0.43 Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson_options.txt | 2 +-

Re: [PATCH xserver] meson: Don't use '' in link_with, ever

2017-10-24 Thread Jon Turney
glx/meson.build| 2 +- hw/dmx/meson.build | 2 +- meson.build| 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Jon Turney <jon.tur...@dronecode.org.uk> ___ xorg-devel@lists.x.org: X.Org development Archives: http:/

[PATCH xserver] travis: Fix OSX build

2017-10-24 Thread Jon Turney
Turn off homebrew autoupdating before installing ccache, to avoid: /usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `': Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError) Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- .travis.yml | 2 +- 1 file chan

Re: [PATCH xserver] meson: Don't forget to define DEBUG!

2017-10-12 Thread Jon Turney
On 12/10/2017 00:15, Lyude Paul wrote: Signed-off-by: Lyude Paul --- include/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/meson.build b/include/meson.build index 90f8de3cb..8894885c6 100644 --- a/include/meson.build +++

[PATCH xserver 2/2] meson: Fix linkage of loadable modules for PE/COFF

2017-10-10 Thread Jon Turney
build target object from an executable() with an implib: kwarg to link_with:, introduced in meson 0.42 and a syntax error with older meson, also update the minimum meson version which we require in project() to that. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xfree86/d

[PATCH xserver 1/2] meson: Fix underlinkage of shadow loadable module

2017-10-10 Thread Jon Turney
Future work: probably some other modules are underlinked? Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xfree86/dixmods/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/dixmods/meson.build b/hw/xfree86/dixmods/meson.build

Re: [PATCH xserver 0/4] meson building Xorg server on Cygwin

2017-10-10 Thread Jon Turney
On 27/06/2017 17:45, Adam Jackson wrote: On Mon, 2017-06-26 at 14:54 +0100, Jon Turney wrote: Additions to meson build for building the Xorg server on Cygwin (cf. changes to autotools build in commit c7b16255) Note that 4/4 relies on a meson PR which is not yet accepted. Jon Turney (4

[PATCH xserver] meson: Add dependency on generated code fragments in hw/xwin/glx/

2017-10-10 Thread Jon Turney
meson to want to compile them (and it seems to be hard to say "make the directory containing this generated file available to include"). So, change the extension of included generated C fragments to .ic Update the autotools build to align. Signed-off-by: Jon Turney <jon.tur...@dro

Re: [PATCH xserver 0/2] AppVeyor CI

2017-09-22 Thread Jon Turney
On 18/09/2017 18:09, Adam Jackson wrote: On Fri, 2017-09-15 at 14:36 +0100, Jon Turney wrote: Jon Turney (2): Revert "dmx: fix linking" Add an .appveyor.yml for AppVeyor CI .appveyor.yml | 29 + hw/dmx/Makefile.am | 3 +-- 2 files c

[PATCH xserver] travis: Also build on OSX

2017-09-22 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- .travis.yml | 14 -- test/scripts/build-travis-osx.sh | 31 +++ 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100755 test/scripts/build-travis-osx.sh

[PATCH xserver] meson: Make it possible to build for 32-bit targets

2017-09-22 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- include/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/meson.build b/include/meson.build index 05ef76930..a772d565f 100644 --- a/include/meson.build +++ b/include/meson.build @@ -31

[PATCH xserver 1/2] Revert "dmx: fix linking"

2017-09-15 Thread Jon Turney
egion_init' The change this was fixing appears to be effectively reverted by 542d9f6807ac06b70f564ccab10af69fa21a1221, so just revert commit 3ef16dfb9830bd6b41ae428f4f213ae0c35c1056. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/dmx/Makefile.am | 3 +-- 1 file changed, 1 insertion

[PATCH xserver 0/2] AppVeyor CI

2017-09-15 Thread Jon Turney
Jon Turney (2): Revert "dmx: fix linking" Add an .appveyor.yml for AppVeyor CI .appveyor.yml | 29 + hw/dmx/Makefile.am | 3 +-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .appveyor.yml

[PATCH xserver 2/2] Add an .appveyor.yml for AppVeyor CI

2017-09-15 Thread Jon Turney
This currently does an autotools build using Cygwin. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- .appveyor.yml | 29 + 1 file changed, 29 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode

Re: [PATCH xserver 0/7] xwin: misc small fixes

2017-08-14 Thread Jon Turney
time... With the small corrections noted for 4/7 and 5/7, Reviewed-by: Jon Turney <jon.tur...@dronecode.org.uk> ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinf

Re: [PATCH xserver 4/7] xwin: remove always true/set XWIN_CLIPBOARD conditional/define

2017-08-14 Thread Jon Turney
On 03/08/2017 20:15, Emil Velikov wrote: --- a/hw/xwin/winscrinit.c +++ b/hw/xwin/winscrinit.c @@ -264,9 +264,7 @@ winFinishScreenInitFB(int i, ScreenPtr pScreen, int argc, char **argv) winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo; VisualPtr pVisual = NULL; -#if

Re: [PATCH xserver 0/4] meson building Xorg server on Cygwin

2017-06-28 Thread Jon Turney
On 27/06/2017 17:45, Adam Jackson wrote: On Mon, 2017-06-26 at 14:54 +0100, Jon Turney wrote: Additions to meson build for building the Xorg server on Cygwin (cf. changes to autotools build in commit c7b16255) Note that 4/4 relies on a meson PR which is not yet accepted. Jon Turney (4

[PATCH xserver 1/4] Move statically linked xorgxkb files from dixmods to a separate directory

2017-06-26 Thread Jon Turney
--- configure.ac | 1 + hw/xfree86/Makefile.am | 10 +- hw/xfree86/dixmods/Makefile.am | 4 +--- hw/xfree86/dixmods/meson.build | 14 +- hw/xfree86/meson.build | 3 ++-

[PATCH xserver 0/4] meson building Xorg server on Cygwin

2017-06-26 Thread Jon Turney
Additions to meson build for building the Xorg server on Cygwin (cf. changes to autotools build in commit c7b16255) Note that 4/4 relies on a meson PR which is not yet accepted. Jon Turney (4): Move statically linked xorgxkb files from dixmods to a separate directory meson: Shuffle

[PATCH xserver 4/4] meson: Fix linkage of loadable modules for PE/COFF

2017-06-26 Thread Jon Turney
For the loadable modules it makes sense to build for PE/COFF targets, link those loadable modules with the import library for the Xorg executable, so that symbols provided by the executable can be satisfied at link time (as required by PE/COFF). This requires a meson with PR #1955. Since this

[PATCH xserver 3/4] meson: Use --export-all-symbols when building PE/COFF objects

2017-06-26 Thread Jon Turney
--- hw/xfree86/meson.build | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build index 0975104c2..3c5f46f0b 100644 --- a/hw/xfree86/meson.build +++ b/hw/xfree86/meson.build @@ -71,6 +71,12 @@ if build_dri2 xorg_link +=

[PATCH xserver 2/4] meson: Shuffle around subdirs so we build Xorg loadable modules after Xorg

2017-06-26 Thread Jon Turney
--- hw/xfree86/meson.build | 50 ++ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build index ee872de9b..0975104c2 100644 --- a/hw/xfree86/meson.build +++ b/hw/xfree86/meson.build @@ -23,44

Re: [PATCH xserver] xfree86: Move DRICreatePCIBusID to xf86Pci.h

2017-06-22 Thread Jon Turney
e *dev); #endif /* _XF86PCI_H */ Thanks! That fixes things for me. Reviewed-by: Jon Turney <jon.tur...@dronecode.org.uk> ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel

Re: [PATCH xserver 04/12] xfree86: Move DRICreatePCIBusID to the PCI code

2017-06-21 Thread Jon Turney
On 16/06/2017 20:44, Adam Jackson wrote: This symbol is used by some DRI2+ drivers and there's nothing DRI1-specific about it. Signed-off-by: Adam Jackson --- hw/xfree86/common/xf86pciBus.c | 12 hw/xfree86/common/xf86str.h| 2 ++ hw/xfree86/dri/dri.c

[PULL] meson patches

2017-06-20 Thread Jon Turney
to fb212f2c1bcfb015112aa665dd1f25d9b80f86fc: meson: Make VBE and VGAHW modules optional (2017-06-20 13:07:20 +0100) Jon Turney (2): meson: Restore stub ossupport meson: Make VBE and VGAHW modules optional hw/xfree86/os-support

[PATCH xserver 1/2] meson: Restore stub ossupport

2017-06-18 Thread Jon Turney
Don't build BSD ossupport when there is no specific support, build stubs Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xfree86/os-support/meson.build | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/os-support/meson.build

[PATCH xserver 2/2] meson: Make VBE and VGAHW modules optional

2017-06-18 Thread Jon Turney
Don't build them on platforms where they aren't meaningful. Note that autoconf defines WITH_VGAHW when building the VGAHW module, but that doesn't seem to be used anywhere, so we just drop that. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build

[PATCH xserver 0/2] Meson patches

2017-06-18 Thread Jon Turney
Jon Turney (2): meson: Restore stub ossupport meson: Make VBE and VGAHW modules optional hw/xfree86/os-support/meson.build | 17 - meson.build | 24 ++-- meson_options.txt | 4 3 files changed, 42 insertions

[PATCH driver/xf86-video-nested] Update for removal of virtualFrom from ScrnInfoRec

2017-06-12 Thread Jon Turney
Removed in xserver commit 76ef102b. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- src/driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/driver.c b/src/driver.c index 0e3cb29..67eab71 100644 --- a/src/driver.c +++ b/src/driver.c @@ -443,7

[PULL] meson.build for hw/xwin

2017-06-02 Thread Jon Turney
to e678a51ab1e3c6fbdf0ff377010ff2cc2f94b7f0: Add meson.build for XWin server (v2) (2017-06-02 15:10:48 +0100) Jon Turney (3): hw/xwin: Don't unconditionally include rootless.h hw/xwin: Remove pretense of Xv support Add meson.build

Re: [PATCH xserver 3/3] Add meson.build for XWin server

2017-05-26 Thread Jon Turney
On 23/05/2017 00:17, Eric Anholt wrote: Jon Turney <jon.tur...@dronecode.org.uk> writes: This needs a meson with PRs #1784, #1792 and #1794 Future work: remove conditionals which are always on, and simplify redundant CYGDEBUG conditionals This looks pretty good! Just a few little cl

[PATCH xserver 3/3] Add meson.build for XWin server

2017-05-19 Thread Jon Turney
This needs a meson with PRs #1784, #1792 and #1794 Future work: remove conditionals which are always on, and simplify redundant CYGDEBUG conditionals --- hw/meson.build | 4 + hw/xwin/dri/meson.build | 14 hw/xwin/glx/meson.build | 101

[PATCH xserver 2/3] hw/xwin: Remove pretense of Xv support

2017-05-19 Thread Jon Turney
--- configure.ac| 2 - hw/xwin/Makefile.am | 12 +--- hw/xwin/winvideo.c | 191 3 files changed, 2 insertions(+), 203 deletions(-) delete mode 100644 hw/xwin/winvideo.c diff --git a/configure.ac b/configure.ac index

[PATCH xserver 1/3] hw/xwin: Don't unconditionally include rootless.h

2017-05-19 Thread Jon Turney
Don't unconditionally include rootless.h, and so we don't need to add rootless to the include path unless building MWEXTWM. --- hw/xwin/Makefile.am | 4 ++-- hw/xwin/win.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am index

[PATCH xserver 0/3] meson.build for hw/xwin

2017-05-19 Thread Jon Turney
Jon Turney (3): hw/xwin: Don't unconditionally include rootless.h hw/xwin: Remove pretense of Xv support Add meson.build for XWin server configure.ac | 2 - hw/meson.build | 4 + hw/xwin/Makefile.am | 16 +--- hw/xwin/dri/meson.build

[PULL] Mainly hw/xwin warning fixes

2017-05-12 Thread Jon Turney
to 1520c6ad6783178a4d4538b7c549c7948e419af0: hw/xwin: Fix -Wunused-function warning for MessageName() in non-debug builds (2017-05-12 19:17:22 +0100) Jon Turney (4): Don't declare variables which will be unused if XSERVER_LIBPICACCESS isn't defined hw

Re: [PATCH xserver 5/7] meson: Make XV optional

2017-05-09 Thread Jon Turney
On 08/05/2017 18:13, Eric Anholt wrote: Jon Turney <jon.turney-grjqepx9rppajuda+fb...@public.gmane.org> writes: Signed-off-by: Jon Turney <jon.turney-grjqepx9rppajuda+fb...@public.gmane.org> --- meson.build | 11 ++- meson_options.txt | 3 +++ 2 files changed, 1

Re: [PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-09 Thread Jon Turney
On 08/05/2017 21:28, Jon Turney wrote: On 08/05/2017 18:12, Eric Anholt wrote: Jon Turney writes: +libxserver_dri3 = '' Pretty sure this should be = [] Yeah, me too. But when I try it: Meson encountered an error in file hw/kdrive/ephyr/meson.build, line 40, column 0: Link target

Re: [PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-08 Thread Jon Turney
On 08/05/2017 18:12, Eric Anholt wrote: Jon Turney writes: +libxserver_dri3 = '' Pretty sure this should be = [] Yeah, me too. But when I try it: Meson encountered an error in file hw/kdrive/ephyr/meson.build, line 40, column 0: Link target [] is not library. Hmmm.. if I add

[PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-08 Thread Jon Turney
?) Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- dri3/meson.build | 15 + hw/xfree86/dri/meson.build | 2 +- hw/xfree86/dri2/meson.build| 2 +- hw/xfree86/drivers/modesetting/meson.build | 2 +- hw/xfree86/meson

[PATCH xserver 7/7] meson: An empty array is not a dependency object

2017-05-08 Thread Jon Turney
d_glamor, but that was never checked. That test seems to have gone missing in meson.build, the required:false when checking for gbm should possibly be dropped? Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH xserver 6/7] meson: Refine build_dbus

2017-05-08 Thread Jon Turney
As in autotools build, only turn on build_dbus (build dbus-core.c) if it's needed by build_hal or build_systemd_logind, not just because dbus is available. Building dbus-core.c without NEED_DBUS defined fails, as the contents of dbus-core.h are turned off. Signed-off-by: Jon Turney <jon.

[PATCH xserver 5/7] meson: Make XV optional

2017-05-08 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build | 11 ++- meson_options.txt | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c7c9c79c3..5f30b996c 100644 --- a/meson.build +++ b/meson.build @@

[PATCH xserver 1/7] meson: Remove stray whitespace

2017-05-08 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- include/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/meson.build b/include/meson.build index 761f158d7..b7414bd67 100644 --- a/include/meson.build +++ b/include/meson.build @@ -163,7

[PATCH xserver 2/7] meson: Nettle is required if it's the only SHA1 choice

2017-05-08 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0a57ad24b..401b4064d 100644 --- a/meson.build +++ b/meson.build @@ -47,7 +47,7 @@ pixman_dep = dependency('pi

[PATCH xserver 3/7] meson: Don't require xf86dgaproto

2017-05-08 Thread Jon Turney
This dependency is never used, and build_dga is hardwired to false later on, anyhow. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 401b4064d..df0d3aefa

[PATCH xserver 0/7] More meson fixes

2017-05-08 Thread Jon Turney
Jon Turney (7): meson: Remove stray whitespace meson: Nettle is required if it's the only SHA1 choice meson: Don't require xf86dgaproto meson: Make driprotos and libdrm optional meson: Make XV optional meson: Refine build_dbus meson: An empty array is not a dependency object dri3

[PATCH xserver 0/4] meson fixes

2017-05-04 Thread Jon Turney
Jon Turney (4): meson: Test to build xserver_poll.c was inverted meson: Make xf86vidmode optional meson: Fix typoed filename meson: Fix typo in xephyr option description hw/xfree86/fbdevhw/meson.build | 2 +- include/meson.build| 2 +- meson.build| 3

[PATCH xserver 2/4] meson: Make xf86vidmode optional

2017-05-04 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- include/meson.build | 2 +- meson.build | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/meson.build b/include/meson.build index a2f74ada9..761f158d7 100644 --- a/include/meson.build +++ b/i

[PATCH xserver 1/4] meson: Test to build xserver_poll.c was inverted

2017-05-04 Thread Jon Turney
Test to build xserver_poll.c was inverted compared to autoconf. Build xserver_poll.c if poll is missing. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- os/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/meson.build b/os/meson.build

[PATCH xserver 4/4] meson: Fix typo in xephyr option description

2017-05-04 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- meson_options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index b89fdaa2c..a5d7de6f4 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,7 +1,7 @@ option

[PATCH xserver 3/4] meson: Fix typoed filename

2017-05-04 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xfree86/fbdevhw/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/fbdevhw/meson.build b/hw/xfree86/fbdevhw/meson.build index 3cb841179..2f82e2d9f 100644 --- a/hw/xfree86/fbdevhw/meson

Re: [PATCH xserver 4/9] meson: Build libglx.so

2017-04-28 Thread Jon Turney
On 27/04/2017 18:55, Adam Jackson wrote: Signed-off-by: Adam Jackson --- glx/meson.build| 5 + hw/xfree86/dixmods/meson.build | 15 +++ meson.build| 2 ++ 3 files changed, 22 insertions(+) diff --git a/glx/meson.build

Re: [PATCH xserver 3/3] Add a Meson build system alongside autotools.

2017-04-26 Thread Jon Turney
;Link target '' is not library." when it appears in link_with:. Attached is a patch with a few small fixes I made. Adding project(..., meson_version: '>0.40') seems like a good idea as well. From f7e55ca8051242de2d1782cbf85cda87b0a8f123 Mon Sep 17 00:00:00 2001 From: Jon Tu

Re: [PATCH xserver 2/4] hw/xwin: Fix -Wmaybe-uninitialized warning in winWindowProc

2017-04-19 Thread Jon Turney
On 18/04/2017 22:08, Adam Jackson wrote: On Tue, 2017-04-18 at 11:53 +0100, Jon Turney wrote: This is possibly an actual bug in failing to check we successfully retrieved the monitor size before using it to set the X screen size. It is indeed. @@ -261,6 +261,9 @@ winWindowProc(HWND hwnd

[PATCH xserver 0/4] Warning fixes

2017-04-18 Thread Jon Turney
Experimenting with building with meson, it likes to use a different set of warning flags by default, which make the following a bit more obvious. Jon Turney (4): Don't declare variables which will be unused if XSERVER_LIBPICACCESS isn't defined hw/xwin: Fix -Wmaybe-uninitialized warning

[PATCH xserver 2/4] hw/xwin: Fix -Wmaybe-uninitialized warning in winWindowProc

2017-04-18 Thread Jon Turney
-uninitialized] ../hw/xwin/winwndproc.c:240:32: note: ‘dwHeight’ was declared here ../hw/xwin/winwndproc.c:281:54: warning: ‘dwWidth’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../hw/xwin/winwndproc.c:240:23: note: ‘dwWidth’ was declared here Signed-off-by: Jon Turney <jon.

[PATCH xserver 3/4] hw/xwin: Fix -Wmaybe-uninitialized warnings in engine CloseScreen wrappers

2017-04-18 Thread Jon Turney
‘winCloseScreenShadowDDNL’: ../hw/xwin/winshadddnl.c:711:12: warning: ‘fReturn’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../hw/xwin/winshadddnl.c:661:10: note: ‘fReturn’ was declared here Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xwin/winshadddnl.c | 2

[PATCH xserver 4/4] hw/xwin: Fix -Wunused-function warning for MessageName() in non-debug builds

2017-04-18 Thread Jon Turney
../hw/xwin/winmultiwindowwm.c:188:1: warning: ‘MessageName’ defined but not used [-Wunused-function] Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- hw/xwin/winmultiwindowwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/xwin/winmultiwindowwm.c b/h

[PATCH xserver 1/4] Don't declare variables which will be unused if XSERVER_LIBPICACCESS isn't defined

2017-04-18 Thread Jon Turney
../hw/xfree86/common/xf86Config.c: In function ‘xf86HandleConfigFile’: ../hw/xfree86/common/xf86Config.c:2278:10: warning: unused variable ‘singlecard’ [-Wunused-variable] ../hw/xfree86/common/xf86Config.c:2277:17: warning: unused variable ‘scanptr’ [-Wunused-variable] Signed-off-by: Jon Turney

[PATCH util/modular] xorg.modules: Update for mesonic rendercheck

2017-04-01 Thread Jon Turney
Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- xorg.modules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xorg.modules b/xorg.modules index 961ff17..65d3621 100644 --- a/xorg.modules +++ b/xorg.modules @@ -1202,7 +

[PATCH xserver] test: Use correct signature for XISetEventMask wrapper

2017-03-08 Thread Jon Turney
the protocol_xigetselectedevents_test for me. I'm a bit surprised that passes for anyone at the moment. Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> --- test/xi2/protocol-common.h | 4 ++-- test/xi2/protocol-xiselectevents.c | 10 +- 2 files changed, 7 insertions

Re: [PATCH xserver] sdksyms: Tighten up the symbols we add to the magic table

2017-03-08 Thread Jon Turney
On 06/03/2017 22:20, Adam Jackson wrote: On Mon, 2017-03-06 at 18:23 +, Jon Turney wrote: Unfortunately, one of the possible definitions of _X_EXPORT in Xfuncproto.h is empty, in which case, this leaves us with nothing in sdksyms.c Though this be true, I'm not sure how it can matter. We

Re: [PATCH xserver] sdksyms: Tighten up the symbols we add to the magic table

2017-03-06 Thread Jon Turney
On 16/02/2017 19:00, Adam Jackson wrote: The code as written would match anything declared extern. _X_EXPORT is what we really mean here. That's a macro, so check for what it expands to and skip if not found. --- hw/xfree86/sdksyms.sh | 4 1 file changed, 4 insertions(+) diff --git

[PATCH xserver] Workaround a sdksyms problem with gcc5 on Cygwin

2017-03-06 Thread Jon Turney
The linemarkers in the preprocessor output from gcc5 on Cygwin have canonicalized paths to included files (e.g. xserver/build/../include/misc.h is canonicalized to xserver/build/include/misc.h). (see gcc svn rev 210264, which causes the transformation performed by -fcanonical-system-headers to be

Re: [PATCH v6 libX11] Compose sequences for rouble sign

2017-02-14 Thread Jon Turney
On 14/02/2017 16:39, Adam Jackson wrote: On Fri, 2017-02-10 at 18:48 +0500, Mihail Konev wrote: Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. Also add Cyrillic sequences for hryvnia sign. Submitted-by: Victor V. Kustov Reviewed-by: Victor V. Kustov

Re: [PATCH v5 xserver 7/6] tests: fix --disable-xorg build

2017-01-16 Thread Jon Turney
On 14/01/2017 10:19, Mihail Konev wrote: Commit ead5064581665ff40c177dd1b447949f1420e209 missed that xi1/ and xi2/ were conditioned on XORG, and made xfree86-only tests to be built unconditionally. Ifdef the tests and split tests_SOURCES. Commit 704a867f8fb7652a8b7d5569bbe44e188457db4e missed

Re: [PATCH v3 xserver] tests: Fix typo

2017-01-16 Thread Jon Turney
\ Reviewed-by: Jon Turney <jon.tur...@dronecode.org.uk> ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PULL] Small fix for 1.19

2016-10-27 Thread Jon Turney
to 03d99ef729178dd99268f185fb45320a29382091: glx/dri2: Don't build DRI loader if DRI2 isn't enabled (2016-10-27 14:25:42 +0100) Jon Turney (1): glx/dri2: Don't build DRI loader if DRI2 isn't enabled glx/Makefile.am| 11

Re: [PATCH v3 xserver] modesetting: fix glamor ifdef

2016-10-18 Thread Jon Turney
On 15/10/2016 05:13, Mihail Konev wrote: Add a missing ifdef needed for --disable-glamor. Signed-off-by: Mihail Konev <k@ya.ru> Reviewed-by: Jon Turney <jon.tur...@dronecode.org.uk> ___ xorg-devel@lists.x.org: X.Org development Ar

Re: [PATCH xserver] xwin: make glx optional again

2016-10-14 Thread Jon Turney
ITIONAL(XWIN_GLX_WINDOWS, [test "x$XWIN" = xyes]) +AM_CONDITIONAL(XWIN_GLX_WINDOWS, [test "x$XWIN" = xyes && test "x$GLX" = xyes]) Regardless of the nitpick Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Jon Turney <jon.t

Re: [PATCH 3/3] configure.ac: remove --enable-aiglx option

2016-10-11 Thread Jon Turney
On 10/10/2016 19:31, Mihail Konev wrote: Hello. On Mon Oct 10 14:59:52 UTC 2016, Jon Turney wrote: @@ -16,11 +20,10 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/hw/xfree86/os-support/bus \ -I$(top_srcdir)/hw/xfree86/common \ -I$(top_srcdir)/hw/xfree86/dri \ + -I$(top_srcdir

Re: [PATCH 3/3] configure.ac: remove --enable-aiglx option

2016-10-10 Thread Jon Turney
On 09/10/2016 15:42, Emil Velikov wrote: On Friday, 7 October 2016, Jon Turney wrote: That's not quite enough, as building glxdri2.c also requires dri2proto headers. At the moment, configure.ac only requires dri2proto when --enable-dri2 turns on. So either that needs to be made unconditional

Re: [PATCH 3/3] configure.ac: remove --enable-aiglx option

2016-10-07 Thread Jon Turney
On 06/10/2016 19:15, Emil Velikov wrote: On 6 October 2016 at 19:02, Jon Turney <jon.tur...@dronecode.org.uk> wrote: On 29/09/2016 18:41, Emil Velikov wrote: Presently the option guards both direct and accelerated indirect GLX. As such when one toggles it off they end up witho

  1   2   3   4   5   6   7   >