Re: compiling xwin 1.15.1-2

2014-06-21 Thread J. Offerman
) I've uploaded an updated khronos-opengl-registry-20140619_svn27116-1
package, which includes this fix.
) Due to other changes it includes, an additional change is needed to
compile xorg-server with it, which is included in 1.15.1-3.

I'm seeing the following error now. Is this what you are talking about?

=
Making all in glx
make[4]: Entering directory '/usr/src/xorg-server-1.15.1-3/xorg-server-1.15.1-3/
build/hw/xwin/glx'
  GEN  generated_gl_shim.c
  GEN  generated_gl_thunks.c
  GEN  generated_gl_thunks.def
Traceback (most recent call last):
  File /usr/src/xorg-server-1.15.1-3/xorg-server-1.15.1-3/src/xserver-cygwin-1.
15.1-3/hw/xwin/glx/gen_gl_wrappers.py, line 28, in module
from reg import *
EOFError: EOF read where not expected
Makefile:921: recipe for target 'generated_gl_shim.c' failed
make[4]: *** [generated_gl_shim.c] Error 1

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: compiling xwin 1.15.1-2

2014-06-21 Thread J. Offerman
) ) Due to other changes it includes, an additional change is needed to
) compile xorg-server with it, which is included in 1.15.1-3.
)
) I'm seeing the following error now. Is this what you are talking about?

No, it was just a python thing. After installing additional python3
libraries, it did compile. So 1.15.1-3 does build and works beautifully.
Even with my 10-year-old patch.:-)
Thanks!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: compiling xwin 1.15.1-2

2014-06-19 Thread Jon TURNEY

On 12/06/2014 23:54, Jon TURNEY wrote:

On 12/06/2014 22:49, J. Offerman wrote:

Can you help me resolve this compile error that I'm seeing now? Thanks.


Please use the mailing list for these kinds of questions.


===
In file included from
/usr/src/xorg-server-1.15.1-2/src/xserver-cygwin-1.15.1-2/hw/xwin/glx/glthunk.c:87:0:

./generated_gl_thunks.c: In function 'glTexturePageCommitmentEXTWrapper':
./generated_gl_thunks.c:10560:3: error: too many arguments to function
'proc'
RESOLVED_PROC(PFNGLTEXTUREPAGECOMMITMENTEXTPROC)( texture_, target_,
level_, xoffset_, yoffset_, zoffset_, width_, height_, depth_,
resident_ );


Thanks for drawing this to my attention.

This fails because the description of glTexturePageCommitmentEXT() in
/usr/share/opengl/api/gl.xml from (khronos-opengl-registry) needs to
match it's prototype in /usr/include/w32api/GL/glext.h (from
w32api-headers)

There was an upstream bug where an extra 'target' parameter was
erroneously added.  The latest w32api-headers have updated GL headers
that have that fixed, but it seems I haven't updated
khronos-opengl-registry

Until I make an updated package, you'll have to fix gl.xml yourself,
like this:

--- gl.xml~ 2013-08-08 18:07:23.0 +0100
+++ gl.xml  2014-05-02 17:35:52.000120700 +0100
@@ -22968,7 +22968,6 @@
  command
  protovoid nameglTexturePageCommitmentEXT/name/proto
  paramptypeGLuint/ptype nametexture/name/param
-paramptypeGLenum/ptype nametarget/name/param
  paramptypeGLint/ptype namelevel/name/param
  paramptypeGLint/ptype namexoffset/name/param
  paramptypeGLint/ptype nameyoffset/name/param



I've uploaded an updated khronos-opengl-registry-20140619_svn27116-1 
package, which includes this fix.


Due to other changes it includes, an additional change is needed to 
compile xorg-server with it, which is included in 1.15.1-3.


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: compiling xwin 1.15.1-2

2014-06-12 Thread Jon TURNEY

On 12/06/2014 22:49, J. Offerman wrote:

Can you help me resolve this compile error that I'm seeing now? Thanks.


Please use the mailing list for these kinds of questions.


===
In file included from
/usr/src/xorg-server-1.15.1-2/src/xserver-cygwin-1.15.1-2/hw/xwin/glx/glthunk.c:87:0:
./generated_gl_thunks.c: In function 'glTexturePageCommitmentEXTWrapper':
./generated_gl_thunks.c:10560:3: error: too many arguments to function
'proc'
RESOLVED_PROC(PFNGLTEXTUREPAGECOMMITMENTEXTPROC)( texture_, target_,
level_, xoffset_, yoffset_, zoffset_, width_, height_, depth_, resident_ );


Thanks for drawing this to my attention.

This fails because the description of glTexturePageCommitmentEXT() in 
/usr/share/opengl/api/gl.xml from (khronos-opengl-registry) needs to 
match it's prototype in /usr/include/w32api/GL/glext.h (from w32api-headers)


There was an upstream bug where an extra 'target' parameter was 
erroneously added.  The latest w32api-headers have updated GL headers 
that have that fixed, but it seems I haven't updated khronos-opengl-registry


Until I make an updated package, you'll have to fix gl.xml yourself, 
like this:


--- gl.xml~ 2013-08-08 18:07:23.0 +0100
+++ gl.xml  2014-05-02 17:35:52.000120700 +0100
@@ -22968,7 +22968,6 @@
 command
 protovoid nameglTexturePageCommitmentEXT/name/proto
 paramptypeGLuint/ptype nametexture/name/param
-paramptypeGLenum/ptype nametarget/name/param
 paramptypeGLint/ptype namelevel/name/param
 paramptypeGLint/ptype namexoffset/name/param
 paramptypeGLint/ptype nameyoffset/name/param


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/