Re: ANNOUNCE: XFree86 4.7.0 is now available

2007-08-20 Thread Yves de Champlain

Le 07-08-19 à 22:13, Marc Aurele La France a écrit :



Anyway, the attached seems to fix this.


Indeed, thanks

yves


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: ANNOUNCE: XFree86 4.7.0 is now available

2007-08-20 Thread Yves de Champlain

Hi

I'm trying to install hardcopy docs

I set

#define InstallHardcopyDocs  YES

in host.def

but it won't do it.  What am I missing ?

yves

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: ANNOUNCE: XFree86 4.7.0 is now available

2007-08-20 Thread Marc Aurele La France

On Mon, 20 Aug 2007, Yves de Champlain wrote:


I'm trying to install hardcopy docs



I set



#define InstallHardcopyDocs  YES



in host.def



but it won't do it.  What am I missing ?


You also need to #define HardcopyDocDirs.  There is no default.

Marc.

+--+--+
|  Marc Aurele La France   |  work:   1-780-492-9310  |
|  Academic Information and|  fax:1-780-492-1729  |
|Communications Technologies   |  email:  [EMAIL PROTECTED] |
|  352 General Services Building   +--+
|  University of Alberta   |  |
|  Edmonton, Alberta   |Standard disclaimers apply|
|  T6G 2H1 |  |
|  CANADA  |  |
+--+--+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: ANNOUNCE: XFree86 4.7.0 is now available

2007-08-19 Thread Yves de Champlain

Hi

Congrats for the new release !

I am geting this problem

MacOS X 10.4.10 PPC with gcc 4.0.1

/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common  -I.  
-I../../../extras/Mesa/include-I../../../lib/GL/ 
glx   -I../../../extras/Mesa/src/mesa/main- 
I../../../extras/Mesa/src/mesa/glapi   -I../../../extras/Mesa/ 
src/mesa/drivers/x11 -I../../../extras/Mesa/src/ 
mesa/   -I../../../programs/Xserver/hw/xfree86/os-support/ 
shared/drm/kernel -I../../../programs/Xserver/GL/dri -I../../../ 
programs/Xserver/hw/xfree86/os-support  -I../../../exports/include
-I/Users/Shared/MacPorts/build/ 
_Users_Shared_MacPorts_dports_x11_XFree86/work/include -D__powerpc__  
-D__DARWIN__ -DNO_ALLOCA - 
DCSRG_BASED-DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API - 
DXNO_MTSAFE_UNISTDAPI-DGLXEXT -DGLX_DIRECT_RENDERING - 
DGLX_USE_APPLEGL -fno-common -DDEFAULT_DRIVER_DIR=\/ 
usr/X11R6/lib/modules/dri\   -DGLX_ALIAS_UNSUPPORTED   - 
DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API - 
DXNO_MTSAFE_UNISTDAPI   -Os -fno-strict-aliasing   glxcmds.c -o  
unshared/glxcmds.o
glxcmds.c:50:38: error: X11/extensions/xf86vmode.h: No such file or  
directory


This comes from this part of xc/lib/GL/glx/glxcmds.c

#ifdef GLX_DIRECT_RENDERING
#include indirect_init.h
#include X11/extensions/xf86vmode.h
#endif

The GLX_DIRECT_RENDERING is defined in darwin.cf :

#  if OSMajorVersion = 7
#   define HasXplugin   YES

...

#  if HasXplugin
#   define BuildAppleDRIYES

...

# if BuildAppleDRI
#  define GlxExtraDefines -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL  
GlxArchDefines



Any advice about this ?

thanks

yves

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: ANNOUNCE: XFree86 4.7.0 is now available

2007-08-19 Thread Yves de Champlain

Le 07-08-19 à 19:41, Yves de Champlain a écrit :


Hi

Congrats for the new release !

I am geting this problem

MacOS X 10.4.10 PPC with gcc 4.0.1

/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common  - 
I. -I../../../extras/Mesa/include-I../../../lib/GL/ 
glx   -I../../../extras/Mesa/src/mesa/main- 
I../../../extras/Mesa/src/mesa/glapi   -I../../../extras/ 
Mesa/src/mesa/drivers/x11 -I../../../extras/Mesa/src/ 
mesa/   -I../../../programs/Xserver/hw/xfree86/os-support/ 
shared/drm/kernel -I../../../programs/Xserver/GL/dri -I../../../ 
programs/Xserver/hw/xfree86/os-support  -I../../../exports/ 
include   -I/Users/Shared/MacPorts/build/ 
_Users_Shared_MacPorts_dports_x11_XFree86/work/include - 
D__powerpc__ -D__DARWIN__ - 
DNO_ALLOCA -DCSRG_BASED-DXTHREADS  -D_REENTRANT - 
DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI-DGLXEXT - 
DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common  
-DDEFAULT_DRIVER_DIR=\/usr/X11R6/lib/modules/dri\   - 
DGLX_ALIAS_UNSUPPORTED   -DXTHREADS  -D_REENTRANT - 
DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI   -Os -fno-strict- 
aliasing   glxcmds.c -o unshared/glxcmds.o
glxcmds.c:50:38: error: X11/extensions/xf86vmode.h: No such file or  
directory


This comes from this part of xc/lib/GL/glx/glxcmds.c

#ifdef GLX_DIRECT_RENDERING
#include indirect_init.h
#include X11/extensions/xf86vmode.h
#endif

The GLX_DIRECT_RENDERING is defined in darwin.cf :

#  if OSMajorVersion = 7
#   define HasXplugin   YES

...

#  if HasXplugin
#   define BuildAppleDRIYES

...

# if BuildAppleDRI
#  define GlxExtraDefines -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL  
GlxArchDefines



Any advice about this ?


I've dug a little deeper and xf86vmode.h is not exported.
This should happen here in xc/include/extensions/Imakefile :

#if BuildXF86VidModeExt || BuildXF86VidModeLibrary
XF86VIDMODEHEADERS = xf86vmode.h xf86vmstr.h
#endif

The first is disabled in darwin.cf :

/* no XFree86-VidMode extension */
#define BuildXF86VidModeExt NO

The second should be defined in xfree86.cf :

#ifndef BuildXF86VidModeLibrary
#define BuildXF86VidModeLibrary YES
#endif

This looks contradictory to me, so I don't know what is the best  
solution


yves




___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: ANNOUNCE: XFree86 4.7.0 is now available

2007-08-19 Thread Marc Aurele La France

On Sun, 19 Aug 2007, Yves de Champlain wrote:

Le 07-08-19 à 19:41, Yves de Champlain a écrit :

Congrats for the new release !


Thanks.


I am geting this problem



MacOS X 10.4.10 PPC with gcc 4.0.1


/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common  -I. 
-I../../../extras/Mesa/include-I../../../lib/GL/glx 
-I../../../extras/Mesa/src/mesa/main 
-I../../../extras/Mesa/src/mesa/glapi 
-I../../../extras/Mesa/src/mesa/drivers/x11 
-I../../../extras/Mesa/src/mesa/ 
-I../../../programs/Xserver/hw/xfree86/os-support/shared/drm/kernel 
-I../../../programs/Xserver/GL/dri 
-I../../../programs/Xserver/hw/xfree86/os-support 
-I../../../exports/include 
-I/Users/Shared/MacPorts/build/_Users_Shared_MacPorts_dports_x11_XFree86/work/include 
-D__powerpc__ -D__DARWIN__ -DNO_ALLOCA 
-DCSRG_BASED-DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API 
-DXNO_MTSAFE_UNISTDAPI-DGLXEXT -DGLX_DIRECT_RENDERING 
-DGLX_USE_APPLEGL -fno-common 
-DDEFAULT_DRIVER_DIR=\/usr/X11R6/lib/modules/dri\ 
-DGLX_ALIAS_UNSUPPORTED   -DXTHREADS  -D_REENTRANT 
-DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI   -Os -fno-strict-aliasing 
glxcmds.c -o unshared/glxcmds.o
glxcmds.c:50:38: error: X11/extensions/xf86vmode.h: No such file or 
directory



This comes from this part of xc/lib/GL/glx/glxcmds.c



#ifdef GLX_DIRECT_RENDERING
#include indirect_init.h
#include X11/extensions/xf86vmode.h
#endif


Cute.  In my test builds, the header was found in /usr/include/X11  :-(


I've dug a little deeper and xf86vmode.h is not exported.
This should happen here in xc/include/extensions/Imakefile :



#if BuildXF86VidModeExt || BuildXF86VidModeLibrary
XF86VIDMODEHEADERS = xf86vmode.h xf86vmstr.h
#endif



The first is disabled in darwin.cf :



/* no XFree86-VidMode extension */
#define BuildXF86VidModeExt NO



The second should be defined in xfree86.cf :



#ifndef BuildXF86VidModeLibrary
#define BuildXF86VidModeLibrary YES
#endif



This looks contradictory to me, so I don't know what is the best solution


No.  That xfree86.cf snippet is protected by ...

#if BuildXFree86ConfigTools  BuildLibrariesForConfigTools

... which is false on Darwin.

Anyway, the attached seems to fix this.

Marc.

+--+--+
|  Marc Aurele La France   |  work:   1-780-492-9310  |
|  Academic Information and|  fax:1-780-492-1729  |
|Communications Technologies   |  email:  [EMAIL PROTECTED] |
|  352 General Services Building   +--+
|  University of Alberta   |  |
|  Edmonton, Alberta   |Standard disclaimers apply|
|  T6G 2H1 |  |
|  CANADA  |  |
+--+--+
XFree86 developer and VP.  ATI driver and X server internals.

GLX_VIDMODE.diff.gz
Description: Binary data