2012/11/14 Andre Fischer <awf....@gmail.com>

> On 14.11.2012 14:37, Chao Huang wrote:
>
>> 2012/11/14 Andre Fischer <awf....@gmail.com>
>>
>>  Hi,
>>>
>>> I am currently trying to get an overview of the implementation and API
>>> that could be reused for the new task pane/sidebar feature.
>>>
>>>  It will be an interesting work!
>>
>>
>>
>>  For this I am looking also at the symphony branch in our repository.  But
>>> just looking at the source code is not so easy, because the Writer
>>> already
>>> has a feature that is internally called sidebar (probably for displaying
>>> notes/annotations/comments). Therefore I would like to compile Symphony
>>> and
>>> use the debugger to find the relevant code parts.
>>>
>>>  Yes, debugging the source code is a quick way to study code.
>>
>>
>>  But our symphony branch does not compile out of the box, at least not for
>>> me.
>>> Has anybody ever successfully build Symphony from our repository?
>>>
>>> Of cause, I did full build for Symphony's source code on
>>>
>> Windows/Linux/Mac. There is a build guide for it on openoffice wiki [1]. I
>> hope you can make a full build on your local dev env.
>>
>>
>> [1]http://wiki.openoffice.org/**wiki/How_to_build_Symphony%**
>> 27s_source_code<http://wiki.openoffice.org/wiki/How_to_build_Symphony%27s_source_code>
>>
>
> Tried that but with no luck so far.  There are still several build
> breakers:
>
> -  The configure.in from the symphony branch does not know two of the
> options mentioned on the Wiki page:
>
>     --with-use-shell=bash
>     --enable-bundled-dictionaries
>
>
> - configure.in adds the line
>
>

>   ADDITIONAL_REPOSITORIES="../**ext_libraries"
>
>   to winenv.set.sh but ext_libraries/ does not exist in the symphony
> branch.


>
> - The external libraries icu and hunspell can not be loaded by bootstrap


The directory/file list under $SRC_ROOT should be

   - ext_libraries
   - ext_sources
   - extras
   - help
   - l10n
   - main
   - README


There was two links for "ext_libraries" and "ext_sources". But I do not
know that why there are not existed now.

Please get ext_libraries from "
https://svn.apache.org/repos/asf/incubator/ooo/branches/AOO34/ext_libraries/
"
Please get ext_sources from "
https://svn.apache.org/repos/asf/incubator/ooo/branches/AOO34/ext_sources/";
 (You can find that hunspell is there)

As mentioned in Symphony's build guide. Please get icu package from "
http://download.icu-project.org/files/icu4c/4.8.1/icu4c-4_8_1-src.tgz";,
then change the name to "
af36f635271a239d76d038d6cf8da8df-icu4c-4_8_1-src.tgz" and put it under "
$SRC_ROOT/ext_sources"


>
> - Some .cxx files in VCL do not include the precompiled headers and thus
> break the build.
>
>
> - You have to pass the --disable-coinmp switch to configure. Otherwise the
> build breaks because the coinmp module can not be found (because it does
> not exist in the symphony branch)
>

Please use the switches listed in Symphony's build guide. I will check the
issue for "coinmp".


>
>
> I was able to fix all of the above.  At the moment I try to figure a
> linker problem in VCL.


Please feel free to post the detail about build break.
Which platform are you building on? Windows or Linux? I will try to make a
full build on Windows XP.


> Best regards,
> Andre
>
>
>
>>
>>
>>  I have managed to get to VCL, mostly by deactivating features.  But I
>>> guess that I can not disable VCL :-)
>>>
>>> Regards,
>>> Andre
>>>
>>>
>>>
>>>
>


-- 
Best regards,
Chao Huang

Reply via email to