You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Arrigo Marchiori <ar...@yahoo.it.INVALID> on 2021/07/13 20:24:43 UTC

[Mini] Setup of development environment

Dear All,

this is to inform you that I am trying to make our shared Mac Mini
able to build AOO41X.

The sources of information on this topic are:

 - the Building guide on our Wiki [1] and [2],

 - the build script for AOO 4.1.10 [3].

I am a bit struggling behind the differences between the two
documents, in terms of what should come from macports and what should
be compiled and installed into /usr/local. If someone (Jim?) could
help me merging them, I would be grateful.

As AOO 4.1.X should target MacOS 10.7, I installed Xcode 12.0.1 and
used XcodeLegacy.sh to install the SDK for Xcode 10.11. This seems the
only way to achieve the goal under macOS Catalina. Some environment
variables have to be set -- I can share them with anyone interested.

I started with a macports-only approach, but the compilation got stuck
at the jvmfwk module with a very obscure error about the iconv's
dynamic libraries' RPATH.  I will send more information if my current
attempt fails again.

The AOO41X branch did not compile as-is. In particular, all configure
scripts fail when compiling test programs using exit(3) and sometimes
even printf(3). The fix consists of including the proper headers,
stdlib.h and stdio.h respectively. I will fork a branch when I will
have reached a meaningful state.

I will keep you up to date. I am open to questions, comments,
complaints etc.

References:

 1: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

 2: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_MacOsX

 3: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
-- 
Arrigo

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


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Jim,

Am 20.07.21 um 17:21 schrieb Jim Jagielski:
>
>> On Jul 19, 2021, at 10:26 AM, Matthias Seidel <ma...@hamburg.de> wrote:
>>
>> Hi Jim,
>>
>> People need macOS builds more frequently to test.
>>
> Agreed. But every time I seem to encourage a test macOS build, it seems that people want to hold off...

I do my Windows builds frequently.

Nobody holds me off... ;-)

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


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Jim Jagielski <ji...@jaguNET.com>.

> On Jul 19, 2021, at 10:26 AM, Matthias Seidel <ma...@hamburg.de> wrote:
> 
> Hi Jim,
> 
> People need macOS builds more frequently to test.
> 

Agreed. But every time I seem to encourage a test macOS build, it seems that people want to hold off...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Jim,

Nothing is wrong, but we have this machine from MacStadium and we can
set it up as a build bot.
People need macOS builds more frequently to test.

It is also good when Arrigo is able to build for macOS (as he can now
build for Windows).

Regards,

   Matthias

Am 19.07.21 um 16:14 schrieb Jim Jagielski:
> What is wrong w/ using the build stuff that we have used for years?
>
>> On Jul 18, 2021, at 9:00 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
>>
>> Dear All,
>>
>> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
>>
>>> Dear All,
>>>
>>> I just committed the "catalina" branch:
>>> https://github.com/apache/openoffice/tree/catalina
>>>
>>> The required environment variables on our Mac Mini are the following:
>>>
>>> export LC_CTYPE=en_US.UTF-8
>>> export LANG=en_US.UTF-8
>>> export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
>>> export LIBRARY_PATH=/usr/local/lib
>>> export C_INCLUDE_PATH=/usr/local/include
>>> export CPLUS_INCLUDE_PATH=/usr/local/include
>>> export MACOSX_DEPLOYMENT_TARGET=10.7 
>>> export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
>>> export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
>>> export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>>> export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>>>
>>> I am testing the branch under Linux, and next Windows if I will find
>>> time, to make sure I did not break anything.
>> I could build the branch successfully under Linux and Windows.
>>
>>> Reviews are very welcome.
>> Anyone with a Mac is invited to kindly test this build:
>> http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
>>
>> I opened a PR on GitHub:
>> https://github.com/apache/openoffice/pull/135
>> that gives a clear overview of all the edits.
>>
>> The following note remains valid:
>>
>>>> I met a problem with the writerfilter module. It was given by the
>>>> proposed libxml and libxslt pair by the build script [1].
>>>> The problem was reported here: [2].
>>>>
>>>> Solution: use libxslt 1.34 instead of 1.33.
>>>> Let's not forget to update the build script [1].
>>>>
>>>> References:
>>>>
>>>>  1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
>>>>
>>>>  2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
>> Best regards,
>> -- 
>> Arrigo
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>


Re: catalina branch waiting for reviews

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Hello Jim,

On Tue, Jul 20, 2021 at 11:19:16AM -0400, Jim Jagielski wrote:

> I thought that more recent systems were what the 4.2.x... branch was for.

Yes, but an attempt to build today's stable AOO (i.e. 4.1.10) on
today's hardware is probably the first thing a new developer would
try.

Or, at least, that's what I did in the first place when I wanted to
fix some bugs some time ago. And what I am trying to do now, being new
to macOS. I see a bug in the software I am using today and I want to
fix _that_, if I can.

As soon as we declare AOO41X old and deprecated I will be happy to
forget about it. :-)

Are you suggesting that _all_ our efforts shall rather be driven
towards stabilizing 4.2.0 instead?

> > On Jul 19, 2021, at 10:46 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
> > 
> > Hello Jim,
> > 
> > On Mon, Jul 19, 2021 at 10:14:03AM -0400, Jim Jagielski wrote:
> > 
> >> What is wrong w/ using the build stuff that we have used for years?
> > 
> > The oldest system I have on my hands now is our shared Mini with
> > Catalina. I tried to install Xcode 7 there, but it did not seem to
> > work.
> > 
> > I thought that allowing more recent systems to build AOO41X could help
> > the overall development of AOO. Given the fact that no edits to the
> > code were necessary, I am proposing this set of changes.
> > 
> > The fact that Calc charts disappear from this build is IMHO
> > encouraging, because it gives more people (including myself) the
> > possibility to look into this problem.
> > 
> > The goal of these changes must be to allow newer systems to build
> > AOO41X, but without breaking things in any way for the _current_
> > accepted configuration. Unfortunately, I cannot test that, so I must
> > rely on someone else's tests.
> > 
> > _If_ we are interested, of course! If not... I just learned something
> > about macOS. :-) Same as my previous attempt at updating the Visual
> > Studio version, that ended up with just me learning some Windows
> > development.
> > 
> > I hope I could explain myself clearly. Any comments/criticism
> > are welcome!
> > 
> >>> On Jul 18, 2021, at 9:00 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
> >>> 
> >>> Dear All,
> >>> 
> >>> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
> >>> 
> >>>> Dear All,
> >>>> 
> >>>> I just committed the "catalina" branch:
> >>>> https://github.com/apache/openoffice/tree/catalina
> > 
> > [...]
> > 
> > -- 
> > Arrigo
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 

-- 
Arrigo

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


Re: catalina branch waiting for reviews

Posted by Jim Jagielski <ji...@jaguNET.com>.
I thought that more recent systems were what the 4.2.x... branch was for.

> On Jul 19, 2021, at 10:46 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
> 
> Hello Jim,
> 
> On Mon, Jul 19, 2021 at 10:14:03AM -0400, Jim Jagielski wrote:
> 
>> What is wrong w/ using the build stuff that we have used for years?
> 
> The oldest system I have on my hands now is our shared Mini with
> Catalina. I tried to install Xcode 7 there, but it did not seem to
> work.
> 
> I thought that allowing more recent systems to build AOO41X could help
> the overall development of AOO. Given the fact that no edits to the
> code were necessary, I am proposing this set of changes.
> 
> The fact that Calc charts disappear from this build is IMHO
> encouraging, because it gives more people (including myself) the
> possibility to look into this problem.
> 
> The goal of these changes must be to allow newer systems to build
> AOO41X, but without breaking things in any way for the _current_
> accepted configuration. Unfortunately, I cannot test that, so I must
> rely on someone else's tests.
> 
> _If_ we are interested, of course! If not... I just learned something
> about macOS. :-) Same as my previous attempt at updating the Visual
> Studio version, that ended up with just me learning some Windows
> development.
> 
> I hope I could explain myself clearly. Any comments/criticism
> are welcome!
> 
>>> On Jul 18, 2021, at 9:00 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
>>> 
>>> Dear All,
>>> 
>>> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
>>> 
>>>> Dear All,
>>>> 
>>>> I just committed the "catalina" branch:
>>>> https://github.com/apache/openoffice/tree/catalina
> 
> [...]
> 
> -- 
> Arrigo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 


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


Re: catalina branch waiting for reviews

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Hello Jim,

On Mon, Jul 19, 2021 at 10:14:03AM -0400, Jim Jagielski wrote:

> What is wrong w/ using the build stuff that we have used for years?

The oldest system I have on my hands now is our shared Mini with
Catalina. I tried to install Xcode 7 there, but it did not seem to
work.

I thought that allowing more recent systems to build AOO41X could help
the overall development of AOO. Given the fact that no edits to the
code were necessary, I am proposing this set of changes.

The fact that Calc charts disappear from this build is IMHO
encouraging, because it gives more people (including myself) the
possibility to look into this problem.

The goal of these changes must be to allow newer systems to build
AOO41X, but without breaking things in any way for the _current_
accepted configuration. Unfortunately, I cannot test that, so I must
rely on someone else's tests.

_If_ we are interested, of course! If not... I just learned something
about macOS. :-) Same as my previous attempt at updating the Visual
Studio version, that ended up with just me learning some Windows
development.

I hope I could explain myself clearly. Any comments/criticism
are welcome!

> > On Jul 18, 2021, at 9:00 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
> > 
> > Dear All,
> > 
> > On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
> > 
> >> Dear All,
> >> 
> >> I just committed the "catalina" branch:
> >> https://github.com/apache/openoffice/tree/catalina

[...]

-- 
Arrigo

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


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Jim Jagielski <ji...@jaguNET.com>.
What is wrong w/ using the build stuff that we have used for years?

> On Jul 18, 2021, at 9:00 AM, Arrigo Marchiori <ar...@yahoo.it.INVALID> wrote:
> 
> Dear All,
> 
> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
> 
>> Dear All,
>> 
>> I just committed the "catalina" branch:
>> https://github.com/apache/openoffice/tree/catalina
>> 
>> The required environment variables on our Mac Mini are the following:
>> 
>> export LC_CTYPE=en_US.UTF-8
>> export LANG=en_US.UTF-8
>> export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
>> export LIBRARY_PATH=/usr/local/lib
>> export C_INCLUDE_PATH=/usr/local/include
>> export CPLUS_INCLUDE_PATH=/usr/local/include
>> export MACOSX_DEPLOYMENT_TARGET=10.7 
>> export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
>> export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
>> export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>> export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>> 
>> I am testing the branch under Linux, and next Windows if I will find
>> time, to make sure I did not break anything.
> 
> I could build the branch successfully under Linux and Windows.
> 
>> Reviews are very welcome.
> 
> Anyone with a Mac is invited to kindly test this build:
> http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
> 
> I opened a PR on GitHub:
> https://github.com/apache/openoffice/pull/135
> that gives a clear overview of all the edits.
> 
> The following note remains valid:
> 
>>> I met a problem with the writerfilter module. It was given by the
>>> proposed libxml and libxslt pair by the build script [1].
>>> The problem was reported here: [2].
>>> 
>>> Solution: use libxslt 1.34 instead of 1.33.
>>> Let's not forget to update the build script [1].
>>> 
>>> References:
>>> 
>>>  1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
>>> 
>>>  2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
> 
> Best regards,
> -- 
> Arrigo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 


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


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
On Sun, Jul 18, 2021 at 04:41:09PM +0200, Matthias Seidel wrote:

> Hi Arrigo,
> 
> I did a short test and it seems that
> 
> https://bz.apache.org/ooo/show_bug.cgi?id=127154
> 
> is fixed in that build?

Thank you for the pointer... I tried to reproduce it and unfortunately
AOO hung on the dialog asking to confirm the installation.
So my findings are: the bug seems to still be there.

> However, "Checking for Updates" did crash AOO (once).

This is new to me... as well as the whole macOS ecosystem :-P
Did this also happen with the official build?

Best regards,
-- 
Arrigo

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


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Arrigo,

I did a short test and it seems that

https://bz.apache.org/ooo/show_bug.cgi?id=127154

is fixed in that build?

However, "Checking for Updates" did crash AOO (once).

Regards,

   Matthias

Am 18.07.21 um 15:00 schrieb Arrigo Marchiori:
> Dear All,
>
> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
>
>> Dear All,
>>
>> I just committed the "catalina" branch:
>> https://github.com/apache/openoffice/tree/catalina
>>
>> The required environment variables on our Mac Mini are the following:
>>
>> export LC_CTYPE=en_US.UTF-8
>> export LANG=en_US.UTF-8
>> export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
>> export LIBRARY_PATH=/usr/local/lib
>> export C_INCLUDE_PATH=/usr/local/include
>> export CPLUS_INCLUDE_PATH=/usr/local/include
>> export MACOSX_DEPLOYMENT_TARGET=10.7 
>> export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
>> export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
>> export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>> export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>>
>> I am testing the branch under Linux, and next Windows if I will find
>> time, to make sure I did not break anything.
> I could build the branch successfully under Linux and Windows.
>
>> Reviews are very welcome.
> Anyone with a Mac is invited to kindly test this build:
> http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
>
> I opened a PR on GitHub:
> https://github.com/apache/openoffice/pull/135
> that gives a clear overview of all the edits.
>
> The following note remains valid:
>
>>> I met a problem with the writerfilter module. It was given by the
>>> proposed libxml and libxslt pair by the build script [1].
>>> The problem was reported here: [2].
>>>
>>> Solution: use libxslt 1.34 instead of 1.33.
>>> Let's not forget to update the build script [1].
>>>
>>> References:
>>>
>>>   1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
>>>
>>>   2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
> Best regards,


Re: catalina branch waiting for reviews

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Arrigo,

Am 18.07.21 um 16:54 schrieb Arrigo Marchiori:
> Hello Pedro,
>
> On Sun, Jul 18, 2021 at 02:27:34PM +0100, Pedro Lino wrote:
>
>> Hi Arrigo
>>
>> I do not have any Apple devices :)
>>
>> Did you build any Linux binaries (DEBs)? Can you share a link?
> Yes, I did, but just because I wanted to be sure that I did not break
> the build process.
>
> I did not change any code, therefore I do not think I changed anything
> for Linux and Windows.
>
> However, I just uploaded the en-US builds in RPM and DEB format to the
> same directory, in case you or anyone else wants to test them anyway.
> ;-)
> http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
>
> I forgot to mention that for some reason they advertise themselves as
> 4.1.11. Please just consider them as development builds.

AOO41X *is* AOO4111 at the moment. That's why I brand my builds with
"Test" wherever I can... ;-)

Unfortunately the issue with disappearing charts is back in your macOS
builds. That's something we need to fix.

Regards,

   Matthias

>
>> Thanks!
> Thank you and best regards.
>
>>> On 07/18/2021 2:00 PM Arrigo Marchiori <ar...@yahoo.it.invalid> wrote:
>>>
>>>  
>>> Dear All,
>>>
>>> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
>>>
>>>> Dear All,
>>>>
>>>> I just committed the "catalina" branch:
>>>> https://github.com/apache/openoffice/tree/catalina
>>>>
>>>> The required environment variables on our Mac Mini are the following:
>>>>
>>>> export LC_CTYPE=en_US.UTF-8
>>>> export LANG=en_US.UTF-8
>>>> export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
>>>> export LIBRARY_PATH=/usr/local/lib
>>>> export C_INCLUDE_PATH=/usr/local/include
>>>> export CPLUS_INCLUDE_PATH=/usr/local/include
>>>> export MACOSX_DEPLOYMENT_TARGET=10.7 
>>>> export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
>>>> export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
>>>> export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>>>> export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
>>>> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>>>>
>>>> I am testing the branch under Linux, and next Windows if I will find
>>>> time, to make sure I did not break anything.
>>> I could build the branch successfully under Linux and Windows.
>>>
>>>> Reviews are very welcome.
>>> Anyone with a Mac is invited to kindly test this build:
>>> http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
>>>
>>> I opened a PR on GitHub:
>>> https://github.com/apache/openoffice/pull/135
>>> that gives a clear overview of all the edits.
>>>
>>> The following note remains valid:
>>>
>>>>> I met a problem with the writerfilter module. It was given by the
>>>>> proposed libxml and libxslt pair by the build script [1].
>>>>> The problem was reported here: [2].
>>>>>
>>>>> Solution: use libxslt 1.34 instead of 1.33.
>>>>> Let's not forget to update the build script [1].
>>>>>
>>>>> References:
>>>>>
>>>>>   1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
>>>>>
>>>>>   2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
>>> Best regards,
>>> -- 
>>> Arrigo
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>


Re: catalina branch waiting for reviews

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Hello Pedro,

On Sun, Jul 18, 2021 at 04:10:54PM +0100, Pedro Lino wrote:

> Hi Arrigo
> 
> > On 07/18/2021 3:54 PM Arrigo Marchiori <ar...@yahoo.it.invalid> wrote:
> 
> > I did not change any code, therefore I do not think I changed anything
> > for Linux and Windows.
> > 
> > However, I just uploaded the en-US builds in RPM and DEB format to the
> > same directory, in case you or anyone else wants to test them anyway.
> 
> I got an error message while using your build to update 4.1.10 on Ubuntu 18.04.5 x64
> 
> N: Download is performed unsandboxed as root as file '/home/pedro/Desktop/DEBS_4111_Arrigo/DEBS/openoffice-ure_4.1.11-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

It could be due to the paranoid umask (0077) on my PC.  I am not
supposed to distribute images built on that... but thank you for
reporting it.

The problem _may_ be fixed by giving ``everyone'' read permission to
the extracted files:
  $ chmod -R a+rX en-US
where en-US is the directory extracted from the tar archive.

Thank you for testing!

Best regards,
-- 
Arrigo

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


Re: catalina branch waiting for reviews

Posted by Pedro Lino <pe...@mailbox.org.INVALID>.
Hi Arrigo

> On 07/18/2021 3:54 PM Arrigo Marchiori <ar...@yahoo.it.invalid> wrote:

> I did not change any code, therefore I do not think I changed anything
> for Linux and Windows.
> 
> However, I just uploaded the en-US builds in RPM and DEB format to the
> same directory, in case you or anyone else wants to test them anyway.

I got an error message while using your build to update 4.1.10 on Ubuntu 18.04.5 x64

N: Download is performed unsandboxed as root as file '/home/pedro/Desktop/DEBS_4111_Arrigo/DEBS/openoffice-ure_4.1.11-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

AOO does work correctly and there are no problems when checking for updates

Hope the error message is useful/understandable :)

Best regards,
Pedro

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


Re: catalina branch waiting for reviews

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Hello Pedro,

On Sun, Jul 18, 2021 at 02:27:34PM +0100, Pedro Lino wrote:

> Hi Arrigo
> 
> I do not have any Apple devices :)
> 
> Did you build any Linux binaries (DEBs)? Can you share a link?

Yes, I did, but just because I wanted to be sure that I did not break
the build process.

I did not change any code, therefore I do not think I changed anything
for Linux and Windows.

However, I just uploaded the en-US builds in RPM and DEB format to the
same directory, in case you or anyone else wants to test them anyway.
;-)
http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/

I forgot to mention that for some reason they advertise themselves as
4.1.11. Please just consider them as development builds.

> Thanks!

Thank you and best regards.

> > On 07/18/2021 2:00 PM Arrigo Marchiori <ar...@yahoo.it.invalid> wrote:
> > 
> >  
> > Dear All,
> > 
> > On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
> > 
> > > Dear All,
> > > 
> > > I just committed the "catalina" branch:
> > > https://github.com/apache/openoffice/tree/catalina
> > > 
> > > The required environment variables on our Mac Mini are the following:
> > > 
> > > export LC_CTYPE=en_US.UTF-8
> > > export LANG=en_US.UTF-8
> > > export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
> > > export LIBRARY_PATH=/usr/local/lib
> > > export C_INCLUDE_PATH=/usr/local/include
> > > export CPLUS_INCLUDE_PATH=/usr/local/include
> > > export MACOSX_DEPLOYMENT_TARGET=10.7 
> > > export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> > > export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
> > > export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
> > > export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
> > > export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> > > 
> > > I am testing the branch under Linux, and next Windows if I will find
> > > time, to make sure I did not break anything.
> > 
> > I could build the branch successfully under Linux and Windows.
> > 
> > > Reviews are very welcome.
> > 
> > Anyone with a Mac is invited to kindly test this build:
> > http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
> > 
> > I opened a PR on GitHub:
> > https://github.com/apache/openoffice/pull/135
> > that gives a clear overview of all the edits.
> > 
> > The following note remains valid:
> > 
> > > > I met a problem with the writerfilter module. It was given by the
> > > > proposed libxml and libxslt pair by the build script [1].
> > > > The problem was reported here: [2].
> > > > 
> > > > Solution: use libxslt 1.34 instead of 1.33.
> > > > Let's not forget to update the build script [1].
> > > > 
> > > > References:
> > > > 
> > > >   1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
> > > > 
> > > >   2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
> > 
> > Best regards,
> > -- 
> > Arrigo
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 

-- 
Arrigo

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


Re: catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Pedro Lino <pe...@mailbox.org.INVALID>.
Hi Arrigo

I do not have any Apple devices :)

Did you build any Linux binaries (DEBs)? Can you share a link?

Thanks!
Pedro

> On 07/18/2021 2:00 PM Arrigo Marchiori <ar...@yahoo.it.invalid> wrote:
> 
>  
> Dear All,
> 
> On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:
> 
> > Dear All,
> > 
> > I just committed the "catalina" branch:
> > https://github.com/apache/openoffice/tree/catalina
> > 
> > The required environment variables on our Mac Mini are the following:
> > 
> > export LC_CTYPE=en_US.UTF-8
> > export LANG=en_US.UTF-8
> > export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
> > export LIBRARY_PATH=/usr/local/lib
> > export C_INCLUDE_PATH=/usr/local/include
> > export CPLUS_INCLUDE_PATH=/usr/local/include
> > export MACOSX_DEPLOYMENT_TARGET=10.7 
> > export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> > export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
> > export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
> > export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
> > export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> > 
> > I am testing the branch under Linux, and next Windows if I will find
> > time, to make sure I did not break anything.
> 
> I could build the branch successfully under Linux and Windows.
> 
> > Reviews are very welcome.
> 
> Anyone with a Mac is invited to kindly test this build:
> http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/
> 
> I opened a PR on GitHub:
> https://github.com/apache/openoffice/pull/135
> that gives a clear overview of all the edits.
> 
> The following note remains valid:
> 
> > > I met a problem with the writerfilter module. It was given by the
> > > proposed libxml and libxslt pair by the build script [1].
> > > The problem was reported here: [2].
> > > 
> > > Solution: use libxslt 1.34 instead of 1.33.
> > > Let's not forget to update the build script [1].
> > > 
> > > References:
> > > 
> > >   1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
> > > 
> > >   2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
> 
> Best regards,
> -- 
> Arrigo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org

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


catalina branch waiting for reviews [Was: [Mini] Setup of development environment]

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Dear All,

On Sat, Jul 17, 2021 at 03:27:54PM +0200, Arrigo Marchiori wrote:

> Dear All,
> 
> I just committed the "catalina" branch:
> https://github.com/apache/openoffice/tree/catalina
> 
> The required environment variables on our Mac Mini are the following:
> 
> export LC_CTYPE=en_US.UTF-8
> export LANG=en_US.UTF-8
> export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
> export LIBRARY_PATH=/usr/local/lib
> export C_INCLUDE_PATH=/usr/local/include
> export CPLUS_INCLUDE_PATH=/usr/local/include
> export MACOSX_DEPLOYMENT_TARGET=10.7 
> export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
> export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
> export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> 
> I am testing the branch under Linux, and next Windows if I will find
> time, to make sure I did not break anything.

I could build the branch successfully under Linux and Windows.

> Reviews are very welcome.

Anyone with a Mac is invited to kindly test this build:
http://home.apache.org/~ardovm/openoffice/catalina/2021-07-18/

I opened a PR on GitHub:
https://github.com/apache/openoffice/pull/135
that gives a clear overview of all the edits.

The following note remains valid:

> > I met a problem with the writerfilter module. It was given by the
> > proposed libxml and libxslt pair by the build script [1].
> > The problem was reported here: [2].
> > 
> > Solution: use libxslt 1.34 instead of 1.33.
> > Let's not forget to update the build script [1].
> > 
> > References:
> > 
> >   1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
> > 
> >   2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66

Best regards,
-- 
Arrigo

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


Re: [Mini] Setup of development environment

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Dear All,

I just committed the "catalina" branch:
https://github.com/apache/openoffice/tree/catalina

The required environment variables on our Mac Mini are the following:

export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8
export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH
export LIBRARY_PATH=/usr/local/lib
export C_INCLUDE_PATH=/usr/local/include
export CPLUS_INCLUDE_PATH=/usr/local/include
export MACOSX_DEPLOYMENT_TARGET=10.7 
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
export CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT" 
export CXXFLAGS="$CXXFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
export LDFLAGS="$LDFLAGS -mmacosx-version-min=10.7 -isysroot $SDKROOT"
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

I am testing the branch under Linux, and next Windows if I will find
time, to make sure I did not break anything.

Reviews are very welcome.

Best regards.

On Fri, Jul 16, 2021 at 09:43:50PM +0200, Arrigo Marchiori wrote:

> Hello,
> 
> On Thu, Jul 15, 2021 at 04:52:13PM +0200, Matthias Seidel wrote:
> 
> > Hi Arrigo,
> > 
> > Thank you for the work!
> > 
> > Indeed, we need macOS builds more often to let people test...
> 
> I hope I am close to the end.
> 
> I met a problem with the writerfilter module. It was given by the
> proposed libxml and libxslt pair by the build script [1].
> The problem was reported here: [2].
> 
> Solution: use libxslt 1.34 instead of 1.33.
> Let's not forget to update the build script [1].
> 
> References:
> 
>   1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup
> 
>   2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66
> 
> -- 
> Arrigo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 

-- 
Arrigo

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


Re: [Mini] Setup of development environment

Posted by Arrigo Marchiori <ar...@yahoo.it.INVALID>.
Hello,

On Thu, Jul 15, 2021 at 04:52:13PM +0200, Matthias Seidel wrote:

> Hi Arrigo,
> 
> Thank you for the work!
> 
> Indeed, we need macOS builds more often to let people test...

I hope I am close to the end.

I met a problem with the writerfilter module. It was given by the
proposed libxml and libxslt pair by the build script [1].
The problem was reported here: [2].

Solution: use libxslt 1.34 instead of 1.33.
Let's not forget to update the build script [1].

References:

  1: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup

  2: https://gitlab.gnome.org/GNOME/libxml2/-/issues/66

-- 
Arrigo

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


Re: [Mini] Setup of development environment

Posted by Matthias Seidel <ma...@hamburg.de>.
Hi Arrigo,

Thank you for the work!

Indeed, we need macOS builds more often to let people test...

Regards,

   Matthias

Am 13.07.21 um 22:24 schrieb Arrigo Marchiori:
> Dear All,
>
> this is to inform you that I am trying to make our shared Mac Mini
> able to build AOO41X.
>
> The sources of information on this topic are:
>
>  - the Building guide on our Wiki [1] and [2],
>
>  - the build script for AOO 4.1.10 [3].
>
> I am a bit struggling behind the differences between the two
> documents, in terms of what should come from macports and what should
> be compiled and installed into /usr/local. If someone (Jim?) could
> help me merging them, I would be grateful.
>
> As AOO 4.1.X should target MacOS 10.7, I installed Xcode 12.0.1 and
> used XcodeLegacy.sh to install the SDK for Xcode 10.11. This seems the
> only way to achieve the goal under macOS Catalina. Some environment
> variables have to be set -- I can share them with anyone interested.
>
> I started with a macports-only approach, but the compilation got stuck
> at the jvmfwk module with a very obscure error about the iconv's
> dynamic libraries' RPATH.  I will send more information if my current
> attempt fails again.
>
> The AOO41X branch did not compile as-is. In particular, all configure
> scripts fail when compiling test programs using exit(3) and sometimes
> even printf(3). The fix consists of including the proper headers,
> stdlib.h and stdio.h respectively. I will fork a branch when I will
> have reached a meaningful state.
>
> I will keep you up to date. I am open to questions, comments,
> complaints etc.
>
> References:
>
>  1: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>
>  2: https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_MacOsX
>
>  3: https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.10/unxmacos/build_aoo64bit_on_macos.sh?view=markup