[Xquartz-dev] 2.3.2_beta3

Jeremy Huddleston jeremyhu at berkeley.edu
Sat Nov 15 19:19:45 PST 2008


Whoops... I just noticed this in the patch... you should undo that  
change.
-                    last_key_layout = key_layout;
                      CFRelease(clear);
+                    last_key_layout = key_layout;

--Jeremy

On Nov 15, 2008, at 18:44, Jeremy Huddleston wrote:

> Yeah... that TIS stuff is Leopard and later... the old KL code was  
> deprecated in Leopard and is 32bit only.
>
> Try out this patch as a starting point (I haven't even tested it  
> beyond compilation on Leopard...):
>
> <tiger-kl.patch>
>
>
>
> jhbuild / build.sh in modular doesn't work fully for OSX (it should  
> get you most of the way there)... If you'd be interesting in fixing  
> (or atleast complaining about) what's broken, I can probably poke at  
> it...
>
> --Jeremy
>
> On Nov 15, 2008, at 15:01, Peter Dyballa wrote:
>
>>
>> Am 11.11.2008 um 20:22 schrieb Jeremy Huddleston:
>>
>>> http://static.macosforge.org/xquartz/downloads/X11-2.3.2_beta3.pkg
>>
>> Jeremy,
>>
>> I managed to compile XDarwin on Tiger (10.4.11)! It even runs –  
>> although the build shows errors for xserver:
>>
>> mv -f miinitext.o .libs/miinitext.o
>> mv -f .deps/miinitext.Tpo .deps/miinitext.Plo
>> source='X11Application.m' object='X11Application.lo' libtool=yes \
>> 	DEPDIR=.deps depmode=none /bin/sh ../../depcomp \
>> 	/bin/sh ../../libtool   --mode=compile gcc -DHAVE_CONFIG_H -I. - 
>> I../../include  -DBUILD_DATE=\"20081110\" -DXSERVER_VERSION= 
>> \"1.5.99.1\" -DINXQUARTZ -DUSE_NEW_CLUT -DXFree86Server -I../../ 
>> miext/rootless -v -no-cpp-precomp -I/usr/include/openssl -I/sw/ 
>> include/pango-1.0 -I/sw/lib/freetype219/include -I/sw/lib/ 
>> freetype219/include/freetype2 -I/sw/include/libpng12 -I/sw/include - 
>> I/usr/local/include  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith - 
>> Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations - 
>> Wnested-externs -fno-strict-aliasing -I/sw/lib/freetype219/include/ 
>> freetype2 -I/sw/lib/freetype219/include -I/sw/lib/system-openssl/ 
>> include -I/usr/X11R7.2/include -I/usr/X11R7.2/include/pixman-1 - 
>> D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT  -I../../include - 
>> I../../include -I../../Xext  -I../../damageext -I../../xfixes - 
>> I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage - 
>> I../../render -I../../randr -I../../fb -v -pipe -fPIC -O0 - 
>> mcpu=7450 -mtune=7450 -fno-common -DROOTLESS_WORKAROUND -DNO_ALLOCA  
>> -c -o X11Application.lo X11Application.m
>> gcc -DHAVE_CONFIG_H -I. -I../../include -DBUILD_DATE=\"20081110\" - 
>> DXSERVER_VERSION=\"1.5.99.1\" -DINXQUARTZ -DUSE_NEW_CLUT - 
>> DXFree86Server -I../../miext/rootless -v -no-cpp-precomp -I/usr/ 
>> include/openssl -I/sw/include/pango-1.0 -I/sw/lib/freetype219/ 
>> include -I/sw/lib/freetype219/include/freetype2 -I/sw/include/ 
>> libpng12 -I/sw/include -I/usr/local/include -DHAVE_DIX_CONFIG_H - 
>> Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes - 
>> Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/sw/ 
>> lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/ 
>> sw/lib/system-openssl/include -I/usr/X11R7.2/include -I/usr/X11R7.2/ 
>> include/pixman-1 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT - 
>> I../../include -I../../include -I../../Xext -I../../damageext - 
>> I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../ 
>> miext/damage -I../../render -I../../randr -I../../fb -v -pipe -fPIC  
>> -O0 -mcpu=7450 -mtune=7450 -fno-common -DROOTLESS_WORKAROUND - 
>> DNO_ALLOCA -c X11Application.m  -DPIC
>> Using built-in specs.
>> Target: powerpc-apple-darwin8
>> Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable- 
>> checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
>> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/ 
>> s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/ 
>> usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8  
>> --target=powerpc-apple-darwin8
>> Thread model: posix
>> gcc version 4.0.1 (Apple Computer, Inc. build 5370)
>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1obj -quiet -v -v - 
>> I. -I../../include -I../../miext/rootless -I/usr/include/openssl -I/ 
>> sw/include/pango-1.0 -I/sw/lib/freetype219/include -I/sw/lib/ 
>> freetype219/include/freetype2 -I/sw/include/libpng12 -I/sw/include - 
>> I/usr/local/include -I/sw/lib/freetype219/include/freetype2 -I/sw/ 
>> lib/freetype219/include -I/sw/lib/system-openssl/include -I/usr/ 
>> X11R7.2/include -I/usr/X11R7.2/include/pixman-1 -I../../include - 
>> I../../include -I../../Xext -I../../damageext -I../../xfixes - 
>> I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage - 
>> I../../render -I../../randr -I../../fb -D__DYNAMIC__ - 
>> DHAVE_CONFIG_H -DBUILD_DATE="20081110" -DXSERVER_VERSION="1.5.99.1"  
>> -DINXQUARTZ -DUSE_NEW_CLUT -DXFree86Server -DHAVE_DIX_CONFIG_H - 
>> D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT - 
>> DROOTLESS_WORKAROUND -DNO_ALLOCA -DPIC X11Application.m -fPIC - 
>> quiet -dumpbase X11Application.m -mmacosx-version-min=10.3 - 
>> mcpu=7450 -mtune=7450 -auxbase X11Application -O0 -Wall -Wpointer- 
>> arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing- 
>> declarations -Wnested-externs -version -fno-strict-aliasing -fPIC - 
>> fno-common -o - |
>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/as -arch ppc -o  
>> X11Application.o
>> ignoring nonexistent directory "/usr/lib/gcc/powerpc-apple- 
>> darwin8/4.0.1/../../../../powerpc-apple-darwin8/include"
>> ignoring duplicate directory "/usr/local/include"
>> as it is a non-system directory that duplicates a system directory
>> ignoring duplicate directory "/sw/lib/freetype219/include/freetype2"
>> ignoring duplicate directory "/sw/lib/freetype219/include"
>> ignoring duplicate directory "../../include"
>> ignoring duplicate directory "../../include"
>> #include "..." search starts here:
>> #include <...> search starts here:
>> .
>> ../../include
>> ../../miext/rootless
>> /usr/include/openssl
>> /sw/include/pango-1.0
>> /sw/lib/freetype219/include
>> /sw/lib/freetype219/include/freetype2
>> /sw/include/libpng12
>> /sw/include
>> /sw/lib/system-openssl/include
>> /usr/X11R7.2/include
>> /usr/X11R7.2/include/pixman-1
>> ../../Xext
>> ../../damageext
>> ../../xfixes
>> ../../Xi
>> ../../mi
>> ../../miext/shadow
>> ../../miext/damage
>> ../../render
>> ../../randr
>> ../../fb
>> /usr/local/include
>> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include
>> /usr/include
>> /System/Library/Frameworks
>> /Library/Frameworks
>> End of search list.
>> GNU Objective-C version 4.0.1 (Apple Computer, Inc. build 5370)  
>> (powerpc-apple-darwin8)
>> 	compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5370).
>> GGC heuristics: --param ggc-min-expand=100 --param ggc-min- 
>> heapsize=131072
>> Compiler executable checksum: 85eae8b3994a6726b58c638178e53f17
>> X11Application.m:65: error: parse error before ‘last_key_layout’
>> X11Application.m:65: warning: type defaults to ‘int’ in declaration  
>> of ‘last_key_layout’
>> X11Application.m:65: warning: data definition has no type or  
>> storage class
>> X11Application.m: In function ‘X11ApplicationMain’:
>> X11Application.m:842: warning: implicit declaration of function  
>> ‘TISCopyCurrentKeyboardLayoutInputSource’
>> X11Application.m:842: warning: nested extern declaration of  
>> ‘TISCopyCurrentKeyboardLayoutInputSource’
>> X11Application.m: In function ‘send_nsevent’:
>> X11Application.m:1021: error: ‘TISInputSourceRef’ undeclared (first  
>> use in this function)
>> X11Application.m:1021: error: (Each undeclared identifier is  
>> reported only once
>> X11Application.m:1021: error: for each function it appears in.)
>> X11Application.m:1021: error: parse error before ‘key_layout’
>> X11Application.m:1023: error: ‘key_layout’ undeclared (first use in  
>> this function)
>> X11Application.m:1023: warning: passing argument 2 of ‘CFEqual’  
>> makes pointer from integer without a cast
>> X11Application.m:1027: error: ‘clear’ undeclared (first use in this  
>> function)
>> make[3]: *** [X11Application.lo] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>>
>> I looged off yesterday (too mann GB of swap) and was surprised with  
>> a new symbol in Dock!
>>
>> (The items build_driver_input and build_driver_video in build.sh  
>> seem to be useless in Mac OS X.)
>>
>>
>> Congratulations!
>>
>> --
>> Greetings
>>
>> Pete
>>
>> Got Mole problems?
>> Call Avogadro 6.02 x 10^23
>>
>>
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20081115/947191b9/attachment.bin>


More information about the Xquartz-dev mailing list