Re: scons-build branch

2023-04-18 Thread Arrigo Marchiori
Hello Peter, Yury, All,

replying to both messages inline.

On Tue, Apr 18, 2023 at 05:24:58AM +, Peter kovacs wrote:

> Hello Yury
> 
> You can build more or less every module on its own. If there is a dependency 
> module then you need the inc header files and the module binary to link 
> against.
> At least this is my understanding on the build architecture.

Yes, that is how it works.

[...]

> Am 18. April 2023 06:49:03 MESZ schrieb Yury Tarasievich:
> >On 16/04/2023 16:21, Arrigo Marchiori wrote:
> >> I just pushed some commits to the scons-build branch, in which I am
> >> attempting to write _from scratch_ the SConscripts to build some
> >> modules.
> >...
> >> The only module that _seems_ to build is xml2cmp, but only under Linux
> >> so far.
> >
> >Is it because of modules dependencies, would you say, or because toolchain 
> >and codebase are out of sync w/r to language features used and similar 
> >issues?

The xml2cmp does not need other modules.

In practice, I took the list of modules, in the order they are built,
and started with the first ones.

I am working on a system (Linux openSUSE Leap 15.4) that is able to
build trunk and AOO41X (with minor edits), so I can exclude
toolchain-related problems.

> > Last time I looked at that branch, the transition of build descriptions to 
> > scons hadn't been completed. 

This thread is about bringing the transition forward ;-)

> > Can you even build AOO modules one by one, aren't they all inter-dependent?

I must add to my reply above, that the current scripts isolate SCons'
build artifacts, installing them all into a subdirectory named
"scons". This avoids mixing Scons and GBuild output, and IMHO it is a
good idea.

The current structure of the ``solver'' is... complex, and I hope this
migration could become and occasion to make it simpler and/or more
efficient.

Best regards,
-- 
Arrigo

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: scons-build branch

2023-04-17 Thread Peter kovacs
Hello Yury

You can build more or less every module on its own. If there is a dependency 
module then you need the inc header files and the module binary to link against.
At least this is my understanding on the build architecture.

I hope I have time soon to look into build utility again. Since the topic has 
more challenges.

All the best
Peter

Am 18. April 2023 06:49:03 MESZ schrieb Yury Tarasievich 
:
>On 16/04/2023 16:21, Arrigo Marchiori wrote:
>> I just pushed some commits to the scons-build branch, in which I am
>> attempting to write _from scratch_ the SConscripts to build some
>> modules.
>...
>> The only module that _seems_ to build is xml2cmp, but only under Linux
>> so far.
>
>Is it because of modules dependencies, would you say, or because toolchain and 
>codebase are out of sync w/r to language features used and similar issues?
>
>Last time I looked at that branch, the transition of build descriptions to 
>scons hadn't been completed. Can you even build AOO modules one by one, aren't 
>they all inter-dependent?
>
>-Yury
>
>-
>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>For additional commands, e-mail: dev-h...@openoffice.apache.org
>


Re: scons-build branch

2023-04-17 Thread Yury Tarasievich

On 16/04/2023 16:21, Arrigo Marchiori wrote:

I just pushed some commits to the scons-build branch, in which I am
attempting to write _from scratch_ the SConscripts to build some
modules.

...

The only module that _seems_ to build is xml2cmp, but only under Linux
so far.


Is it because of modules dependencies, would you 
say, or because toolchain and codebase are out 
of sync w/r to language features used and 
similar issues?


Last time I looked at that branch, the 
transition of build descriptions to scons hadn't 
been completed. Can you even build AOO modules 
one by one, aren't they all inter-dependent?


-Yury

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: scons-build branch

2023-04-17 Thread Matthias Seidel
Hi Arrigo,

Am 16.04.23 um 15:21 schrieb Arrigo Marchiori:
> Dear All,
>
> I just pushed some commits to the scons-build branch, in which I am
> attempting to write _from scratch_ the SConscripts to build some
> modules.
Thanks for this!
>
> >From a ``didactical'' point of view, I thought that this way could be
> better for newbies like me, to get a grasp on SCons' internals, rather
> than working on Gotoscons or other automatic converters.
>
> Moreover, I thought that some steps _have_ to be done, if we want to
> get anywhere... ;-)

Definitely...

Regards,

   Matthias

>
> The only module that _seems_ to build is xml2cmp, but only under Linux
> so far.
>
> Any comments (or also just corrections) to the commits are
> appreciated.
>
> Best regards,



smime.p7s
Description: S/MIME Cryptographic Signature


scons-build branch

2023-04-16 Thread Arrigo Marchiori
Dear All,

I just pushed some commits to the scons-build branch, in which I am
attempting to write _from scratch_ the SConscripts to build some
modules.

>From a ``didactical'' point of view, I thought that this way could be
better for newbies like me, to get a grasp on SCons' internals, rather
than working on Gotoscons or other automatic converters.

Moreover, I thought that some steps _have_ to be done, if we want to
get anywhere... ;-)

The only module that _seems_ to build is xml2cmp, but only under Linux
so far.

Any comments (or also just corrections) to the commits are
appreciated.

Best regards,
-- 
Arrigo

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org