Changes between Version 5 and Version 6 of xpcom_uno_tests
- Timestamp:
- Nov 1, 2008, 3:47:06 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
xpcom_uno_tests
v5 v6 23 23 To compile the xpcom_uno component I started using the following tools : OpenOffice SDK 3.0 and distribution of xulrunner-sdk (xulrunner-1.9.0.3.en-US.mac-pkg.dmg) for MacOSX. 24 24 25 Environment variables used in the following setences(I give in parenthesis where thoses sqks are installed on my system - useless) : 26 27 * OpenOffice SDK 3.0 : {{{$OO_SDK_HOME}}} (/Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK) 28 * xulrunner-sdk : {{{$XULRUN_SDK_HOME}}} (/Volumes/Geolabs\ Rugged/BackUp/Desktop/xulrunner-sdk) 29 30 31 OpenOffice SDK description (extracted from results of a {{{$OO_SDK_HOME/setsdkenv_unix}}} call on my local system - useless) : 32 {{{ 33 ************************************************************************ 34 * 35 * SDK environment is prepared for MacOSX 36 * 37 * SDK = /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK 38 * Office = /Applications/OpenOffice.org.app 39 * Office Base = /Applications/OpenOffice.org.app/Contents/basis-link 40 * URE = /Applications/OpenOffice.org.app/Contents/basis-link/ure-link 41 * Make = /usr/bin 42 * Zip = /usr/bin 43 * C++ Compiler = /usr/bin 44 * Java = /System/Library/Frameworks/JavaVM.Framework/Versions/1.5.0 45 * SDK Output directory = /Users/djay/OpenOffice.org3.0_SDK 46 * Auto deployment = YES 47 * 48 ************************************************************************ 49 }}} 50 25 51 First test : 26 52 … … 30 56 gcc -malign-natural -c -O -fPIC -fno-common \ 31 57 -I /Users/djay/Gentoo/usr/include/\ 32 -I /Volumes/Geolabs\ Rugged/BackUp/Desktop/xulrunner-sdk/include/string/\58 -I$XULRUN_SDK_HOME/include/string/\ 33 59 -I../unotypes/\ 34 -I /Volumes/Geolabs\ Rugged/BackUp/Desktop/xulrunner-sdk/sdk/include\35 -I /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/include/\36 -I /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK//include/rtl/\37 -I /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK//include/cppuhelper/\38 -I /Volumes/Geolabs\ Rugged/BackUp/Desktop/xulrunner-sdk/include/xpcom/\60 -I$XULRUN_SDK_HOME/sdk/include\ 61 -I$OO_SDK_HOME/include/\ 62 -I$OO_SDK_HOME/include/rtl/\ 63 -I$OO_SDK_HOME/include/cppuhelper/\ 64 -I$XULRUN_SDK_HOME/include/xpcom/\ 39 65 -I../inc\ 40 66 -I. -I/Users/djay/OpenOffice.org3.0_SDK/MACOSXexample.out/inc\ … … 53 79 1) Produce URD files : 54 80 81 From xpcom_uno sources directory {{{udk/xpcom_uno/source/xpcom_uno}}} : 82 55 83 {{{ 56 for i in /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/idl/com/sun/star/mozilla/xpcom/*idl; do 84 cp ../unotypes/com/sun/star/mozilla/xpcom/*idl $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/ 85 for i in $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/*idl; do 57 86 idlc -w -I$OO_SDK_HOME/idl/ -I$OO_SDK_OUT $i; 58 87 done … … 62 91 63 92 {{{ 64 for i in /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/idl/com/sun/star/mozilla/xpcom/*urd; do93 for i in $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/*urd; do 65 94 regmerge -v $(echo $i|sed "s:urd:rdb:g") /UCR $i 66 95 regview $(echo $i|sed "s:urd:rdb:g") … … 73 102 {{{ 74 103 cppumaker -Gc -BUCR -O$OO_SDK_OUT/inc -Tcom.sun.star.mozilla.xpcom.XUnoRuntimeEnvironment \ 75 /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/idl/com/sun/star/mozilla/xpcom/XUnoRuntimeEnvironment.rdb\104 $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/XUnoRuntimeEnvironment.rdb\ 76 105 /Applications/OpenOffice.org.app/Contents//basis-link/ure-link/share/misc/types.rdb\ 77 106 /Applications/OpenOffice.org.app/Contents//basis-link/ure-link/share/misc/services.rdb\ 78 /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/idl/com/sun/star/mozilla/xpcom/XUnoType.rdb\79 /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/idl/com/sun/star/mozilla/xpcom/XUnoEnum.rdb \80 /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/idl/com/sun/star/mozilla/xpcom/XUnoStruct.rdb107 $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/XUnoType.rdb\ 108 $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/XUnoEnum.rdb \ 109 $OO_SDK_HOME/idl/com/sun/star/mozilla/xpcom/XUnoStruct.rdb 81 110 }}} 82 111 … … 96 125 -I../unotypes/ \ 97 126 -I/Volumes/Geolabs\ Rugged/BackUp/Desktop/xulrunner-sdk/sdk/include \ 98 -I /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK/include/ \99 -I /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK//include/rtl/ \100 -I /Users/djay/geolabs/Devel/OpenOffice.org3.0_SDK//include/cppuhelper/ \127 -I$OO_SDK_HOME/include/ \ 128 -I$OO_SDK_HOME/include/rtl/ \ 129 -I$OO_SDK_HOME/include/cppuhelper/ \ 101 130 -I/Volumes/Geolabs\ Rugged/BackUp/Desktop/xulrunner-sdk/include/xpcom/ \ 102 131 -I../inc \