Writer add-on with system dependencies

2020-11-08 Thread John D'Orazio
I now have a dilemma, and I figure this is the best place to ask. I have
succeeded in getting the *Chrome Embedded Framework* to work correctly in
my Writer add-on, both in Windows and on Linux.

In Linux however, if the Chrome browser hasn't already been installed, a
number of system dependencies are required in order for the Chrome Embedded
Framework to function properly inside of Java Swing.
This means that in order to install the add-on in OpenOffice writer, these
system dependencies must be met first. I've been working over how to go
about doing this, probably the best path to take would be a shell script
that takes care of setting up the environment correctly. However, in order
to launch a shell script from Java at runtime, that attempts to install
system dependencies, either I would have to create a prompt asking the user
to type in their system password in order to allow the Java runtime to
launch a process with  *sudo apt-get install* , or I would have to ask the
end user to go to the command line and launch the shell script themselves
before using the Writer add-on.

When creating a similar add-on for Microsoft Word, I was able to create an
executable package installer which takes care of all system dependencies,
and which requires elevated privileges in order to install.
I'm not sure what the best approach here would be, because this can also
define the philosophy behind the software that the add-on is being
installed in. There's room to doubt whether asking a user for their
password from within a Writer add-on is good practice, even if explaining
why it is needed. Asking a user to go to the terminal and launch a shell
script before installing or being able to fully use the add-on could be
considered a bit daunting for some end users.

Specifically the system dependencies that need to be met, at least as far
as I could gather in my tests so far, are:

sudo apt-get install gconf-service libasound2 libatk1.0-0
libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1
libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0
libgbm-dev libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0
libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1
libxcursor-dev libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2
libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation
libappindicator1 libnss3 lsb-release xdg-utils


Any suggestions on how to go about ensuring system dependencies are met,
without introducing any dubious practices for add-ons, or daunting tasks
for end users? And might I hint here again at the possibility, if the
Chrome Embedded Framework were to be integrated into OpenOffice itself,
then system dependencies would be taken care of upon installation of
OpenOffice, and Java add-ons would be able to simply add the necessary jar
files without worrying about system dependencies or environment variables
or linking native libraries. Thoughts?
-- 
John


Re: Bugzilla Account

2020-11-08 Thread Eric Tian
Thank you!

Eric

From: Matthias Seidel 
Sent: Sunday, November 8, 2020 11:57
To: dev@openoffice.apache.org
Subject: Re: Bugzilla Account

Hi Marcus,

Am 08.11.20 um 20:31 schrieb Marcus:
> Am 07.11.20 um 13:51 schrieb Matthias Seidel:
>> Am 06.11.20 um 00:41 schrieb Eric Tian:
>>>
>>> I’m very new to this project. I’m trying to get a OpenOffice
>>> Bugzilla account but it seems that I can’t create one. Can anyone
>>> help me with this? Thank you!
>>
>> @Marcus: Could you create a Bugzilla account for Eric, please? ;-)
>
> I've created a new account for Eric with his mail address. Bugzilla
> should have sent him the details. I've sent the password via separate
> mail.

Thanks a lot!

Matthias

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



Re: Bugzilla Account

2020-11-08 Thread Matthias Seidel
Hi Marcus,

Am 08.11.20 um 20:31 schrieb Marcus:
> Am 07.11.20 um 13:51 schrieb Matthias Seidel:
>> Am 06.11.20 um 00:41 schrieb Eric Tian:
>>>
>>> I’m very new to this project. I’m trying to get a OpenOffice
>>> Bugzilla account but it seems that I can’t create one. Can anyone
>>> help me with this? Thank you!
>>
>> @Marcus: Could you create a Bugzilla account for Eric, please? ;-)
>
> I've created a new account for Eric with his mail address. Bugzilla
> should have sent him the details. I've sent the password via separate
> mail.

Thanks a lot!

Matthias

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



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Bugzilla Account

2020-11-08 Thread Marcus

Am 07.11.20 um 13:51 schrieb Matthias Seidel:

Am 06.11.20 um 00:41 schrieb Eric Tian:


I’m very new to this project. I’m trying to get a OpenOffice Bugzilla account 
but it seems that I can’t create one. Can anyone help me with this? Thank you!


@Marcus: Could you create a Bugzilla account for Eric, please? ;-)


I've created a new account for Eric with his mail address. Bugzilla 
should have sent him the details. I've sent the password via separate mail.


Marcus


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



Boring issue: Opening ODF document from LibreOffice 7 displays error

2020-11-08 Thread Bidouille
Hello dev team,


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

LibreOffice 7 use ODF 1.3 (experimental) for its documents.
Unable to open it without an error.
This is a painful for end-users.


:-/

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



Re: Pre-release commit messages

2020-11-08 Thread Matthias Seidel
Hi Jim,

Am 08.11.20 um 14:54 schrieb Jim Jagielski:
>
>> On Nov 7, 2020, at 9:35 AM, Matthias Seidel  
>> wrote:
>>
>> But let me say one thing: This was (will be) a GREAT release!
>>
>> We have touched more files than ever, we had great support from Don
>> (FreeBSD), we had a PR from Akikazu (Android), we had a lot of new
>> people willing to test. I was also able to test binaries on OS/2 (thanks
>> Yuri).
>>
>> And last but not least, you did a tremendous job on hunting down on the
>> Linux issue!
>>
>> Thanks to everyone that put their precious spare time into this project!
>>
> Thank you for that... the complaints and ingratitude were starting to get to 
> me... being an RM is a thankless job.
Let's wait for the download numbers. I am sure we get several ten
thousand "Thank you" a day! ;-)
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Pre-release commit messages

2020-11-08 Thread Carl Marcum

Hi jim,

On 11/8/20 8:54 AM, Jim Jagielski wrote:



On Nov 7, 2020, at 9:35 AM, Matthias Seidel  wrote:

But let me say one thing: This was (will be) a GREAT release!

We have touched more files than ever, we had great support from Don
(FreeBSD), we had a PR from Akikazu (Android), we had a lot of new
people willing to test. I was also able to test binaries on OS/2 (thanks
Yuri).

And last but not least, you did a tremendous job on hunting down on the
Linux issue!

Thanks to everyone that put their precious spare time into this project!


Thank you for that... the complaints and ingratitude were starting to get to 
me... being an RM is a thankless job.


Thank You Jim for your hard work on this release !!

Best regards,
Carl


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



Re: Pre-release commit messages

2020-11-08 Thread Jim Jagielski



> On Nov 7, 2020, at 9:35 AM, Matthias Seidel  
> wrote:
> 
> But let me say one thing: This was (will be) a GREAT release!
> 
> We have touched more files than ever, we had great support from Don
> (FreeBSD), we had a PR from Akikazu (Android), we had a lot of new
> people willing to test. I was also able to test binaries on OS/2 (thanks
> Yuri).
> 
> And last but not least, you did a tremendous job on hunting down on the
> Linux issue!
> 
> Thanks to everyone that put their precious spare time into this project!
> 

Thank you for that... the complaints and ingratitude were starting to get to 
me... being an RM is a thankless job.


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



Re: Pre-release commit messages

2020-11-08 Thread Matthias Seidel
Hi Jim,

Am 08.11.20 um 14:46 schrieb Jim Jagielski:
>
>> On Nov 7, 2020, at 9:35 AM, Matthias Seidel  
>> wrote:
>>
>> Hi Jim,
>>
>> Am 07.11.20 um 14:51 schrieb Jim Jagielski:
>>> If svn supports it someone just needs to let me know how to do it. I tried 
>>> 'svn mv' both from WD to repo and between repos and svn error out and did 
>>> not support it.
>> If I remember it right it was just:
>>
>> svn mv http1 http2
>>
>> Worked for me with 4.1.6...
> Just a quick question: Did the directory that you were moving TO already 
> exist? Maybe the issue is that we were trying to move one repo to another 
> when the 'to' repo already existed...? I'm not sure, but I am confident that 
> I tried exactly what you said and svn refused to do so with the error message.

The destination directory is created with the mv command. So this may
have been the problem...

I am pretty sure we also did it that way with 4.1.7.

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



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Pre-release commit messages

2020-11-08 Thread Jim Jagielski



> On Nov 7, 2020, at 9:35 AM, Matthias Seidel  
> wrote:
> 
> Hi Jim,
> 
> Am 07.11.20 um 14:51 schrieb Jim Jagielski:
>> If svn supports it someone just needs to let me know how to do it. I tried 
>> 'svn mv' both from WD to repo and between repos and svn error out and did 
>> not support it.
> 
> If I remember it right it was just:
> 
> svn mv http1 http2
> 
> Worked for me with 4.1.6...

Just a quick question: Did the directory that you were moving TO already exist? 
Maybe the issue is that we were trying to move one repo to another when the 
'to' repo already existed...? I'm not sure, but I am confident that I tried 
exactly what you said and svn refused to do so with the error message.


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



Re: pi 4 port update

2020-11-08 Thread Peter Kovacs

Hi Marcia,

I am curious.

what kind of dependency error do you have?


All the best

Peter

Am 08.11.20 um 08:53 schrieb marcia wilbur:

Hi - so many dependency errors on pi4 buster.
Did i see a post where someone got debian 4.1.8 working?
Maybe I should try this...?

- Original Message -
From: "Matthias Seidel" 
To: dev@openoffice.apache.org
Sent: Tuesday, November 3, 2020 9:21:2i9 AM
Subject: Re: pi 4 port update

Hi,

Am 03.11.20 um 17:08 schrieb Bidouille:

Hello,


Any news on the ARM port?

Eric Bachard has submitted a patch here:
https://bz.apache.org/ooo/show_bug.cgi?id=127040

I don't know if this will help :-/

Maybe Marcia is able to merge it?

It seems to be for ARM32, but that would be a start!

Regards,

    Matthias


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


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



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