LO: Linux distro specific packages vs. universal build

classic Classic list List threaded Threaded
8 messages Options
Petr Mladek Petr Mladek
Reply | Threaded
Open this post in threaded view
|

LO: Linux distro specific packages vs. universal build

Hi,

I think about what package names and paths use for the openSUSE
LibreOffice packages. I wonder how they should conflict with the
universal Linux Libre Office build and what they should share with it.

I think that there are three main things:

1. installation root path:

        + /opt/libreoffice3 - used by the universal linux build by
                              default
        + /usr/lib(64)/libreoffice - proposed path for distro-specific
                              build


2. user configuration:

        + ~/.libreoffice/3 - used by the universal linux build
        + ~/.libreoffice/3-<distro> - proposed alternative
                   distro-specific path, e.g. ~/.libreoffice/3-suse

        I tried to use the same directory but the other build did not
        start because incompatible berkley DB, see the attached
        screenshot
       
3. package names:

        + libreoffice-ure, libreoffice3*, libobasis3.3* - used by the
          universal Linux build
        + libreoffice* - preferred distro-specific package name

        The universal and distro-specific packages can be installed in
        parallel because they use different paths. The only problem is
        the same name for the libreoffice-ure package. I suggest to
        rename it to libreoffice3-ure in the universal linux build.

What do you think?


Best Regards,
Petr

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

db-error.png (30K) Download Attachment
Rene Engelhard Rene Engelhard
Reply | Threaded
Open this post in threaded view
|

Re: LO: Linux distro specific packages vs. universal build

Hi,

On Thu, Oct 14, 2010 at 04:45:57PM +0200, Petr Mladek wrote:

> I think about what package names and paths use for the openSUSE
> LibreOffice packages. I wonder how they should conflict with the
> universal Linux Libre Office build and what they should share with it.
>
> I think that there are three main things:
>
> 1. installation root path:
>
> + /opt/libreoffice3 - used by the universal linux build by
>                               default

Well, I don't see why we should keep that version here too but I can
live with it being there.

> + /usr/lib(64)/libreoffice - proposed path for distro-specific
>                               build

OK.

>
>
> 2. user configuration:
>
> + ~/.libreoffice/3 - used by the universal linux build
> + ~/.libreoffice/3-<distro> - proposed alternative
>                    distro-specific path, e.g. ~/.libreoffice/3-suse
>
> I tried to use the same directory but the other build did not
>         start because incompatible berkley DB, see the attached
>         screenshot

I'd use the same user directory, personally. We use the same bdb as
universal/vanilla anyways.

> 3. package names:
>
> + libreoffice-ure, libreoffice3*, libobasis3.3* - used by the
>           universal Linux build
> + libreoffice* - preferred distro-specific package name

Jup.

>         The universal and distro-specific packages can be installed in
>         parallel because they use different paths. The only problem is
>         the same name for the libreoffice-ure package. I suggest to
>         rename it to libreoffice3-ure in the universal linux build.

We use simply "ure" in Debian.

Grüße/Regards,

René
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Fridrich Strba Fridrich Strba
Reply | Threaded
Open this post in threaded view
|

Re: LO: Linux distro specific packages vs. universal build

In reply to this post by Petr Mladek
On Thu, 2010-10-14 at 16:45 +0200, Petr Mladek wrote:
> 2. user configuration:
>
> + ~/.libreoffice/3 - used by the universal linux build
> + ~/.libreoffice/3-<distro> - proposed alternative
>                    distro-specific path, e.g. ~/.libreoffice/3-suse
> I tried to use the same directory but the other build did not
>         start because incompatible berkley DB, see the attached
>         screenshot

Ok, when we were distributing GoOo as OpenOffice_org, we were using
~/.ooo3, why not to use something like ~/.libo3 ? Other, long-run task
could be to use sqlite3 instead of Oracle-owned berkeley db :)


> 3. package names:
> + libreoffice-ure, libreoffice3*, libobasis3.3* - used by the
>           universal Linux build
> + libreoffice* - preferred distro-specific package name
>
>         The universal and distro-specific packages can be installed in
>         parallel because they use different paths. The only problem is
>         the same name for the libreoffice-ure package. I suggest to
>         rename it to libreoffice3-ure in the universal linux build.

I don't see any problem with this as long as we catch all the
occurencies for 3.3.0-beta3 and advise the community again to uninstall
before installing :)

Cheers

F.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Rene Engelhard Rene Engelhard
Reply | Threaded
Open this post in threaded view
|

Re: LO: Linux distro specific packages vs. universal build

Hi,

On Thu, Oct 14, 2010 at 08:55:40AM -0600, Fridrich Strba wrote:

> On Thu, 2010-10-14 at 16:45 +0200, Petr Mladek wrote:
> > 2. user configuration:
> >
> >     + ~/.libreoffice/3 - used by the universal linux build
> >     + ~/.libreoffice/3-<distro> - proposed alternative
> >                    distro-specific path, e.g. ~/.libreoffice/3-suse
> >     I tried to use the same directory but the other build did not
> >         start because incompatible berkley DB, see the attached
> >         screenshot
>
> Ok, when we were distributing GoOo as OpenOffice_org, we were using
> ~/.ooo3, why not to use something like ~/.libo3 ? Other, long-run task
> could be to use sqlite3 instead of Oracle-owned berkeley db :)

I never liked .ooo3 (and never used it either, but just took
OOos default - .openoffice.org/3)

Grüße/Regards,

René
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Caolán McNamara Caolán McNamara
Reply | Threaded
Open this post in threaded view
|

Re: LO: Linux distro specific packages vs. universal build

In reply to this post by Petr Mladek
On Thu, 2010-10-14 at 16:45 +0200, Petr Mladek wrote:
> Hi,
>
> I think about what package names and paths use for the openSUSE
> LibreOffice packages. I wonder how they should conflict with the
> universal Linux Libre Office build and what they should share with it.
>

> + /usr/lib(64)/libreoffice - proposed path for distro-specific
>                               build

Yup, works for me.

> 2. user configuration:
>
> + ~/.libreoffice/3 - used by the universal linux build
> + ~/.libreoffice/3-<distro> - proposed alternative
>                    distro-specific path, e.g. ~/.libreoffice/3-suse
>
> I tried to use the same directory but the other build did not
>         start because incompatible berkley DB, see the attached
>         screenshot

I thought that problem has been sort of fixed at some stage to
ignore/overwrite those databases when they couldn't be opened
(#i107440), *shrug*, if not, then sure, the above works for me. We got
something similar with dual boot guys with different versions of the
same distro, so maybe best to somehow version that name using the
version of db that OOo is built against :-)

> 3. package names:
>
> The only problem is the same name for the libreoffice-ure package. I suggest to
>         rename it to libreoffice3-ure in the universal linux build.

Yeah, this has been something a problem in the past. That works for me.

C.

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Petr Mladek Petr Mladek
Reply | Threaded
Open this post in threaded view
|

Re: LO: Linux distro specific packages vs. universal build

In reply to this post by Fridrich Strba
Fridrich Strba píše v Čt 14. 10. 2010 v 08:55 -0600:

> On Thu, 2010-10-14 at 16:45 +0200, Petr Mladek wrote:
> > 2. user configuration:
> >
> > + ~/.libreoffice/3 - used by the universal linux build
> > + ~/.libreoffice/3-<distro> - proposed alternative
> >                    distro-specific path, e.g. ~/.libreoffice/3-suse
> > I tried to use the same directory but the other build did not
> >         start because incompatible berkley DB, see the attached
> >         screenshot
>
> Ok, when we were distributing GoOo as OpenOffice_org, we were using
> ~/.ooo3, why not to use something like ~/.libo3 ?

Debian and RedHat installed OOo into /usr/lib/openoffice.org and used
~/.openoffice.org. I decided to go their way and switched
to /usr/lib/libreoffice => we should use "libreoffice" in the home dir
as well => ~/.libreoffice/*

>  Other, long-run task
> could be to use sqlite3 instead of Oracle-owned berkeley db :)

:-)

Best Regards,
Petr

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Petr Mladek Petr Mladek
Reply | Threaded
Open this post in threaded view
|

Re: LO: Linux distro specific packages vs. universal build

In reply to this post by Rene Engelhard
Rene Engelhard píše v Čt 14. 10. 2010 v 16:48 +0200:

> Hi,
>
> On Thu, Oct 14, 2010 at 04:45:57PM +0200, Petr Mladek wrote:
> > 1. installation root path:
> >
> > + /opt/libreoffice3 - used by the universal linux build by
> >                               default
>
> Well, I don't see why we should keep that version here too but I can
> live with it being there.

You are right. We have already removed the 3-layer structure, so the
version is not longer needed. I am going to remove the it.

(I hope that nobody would shoot me ;-)

> > 2. user configuration:
> >
> > + ~/.libreoffice/3 - used by the universal linux build
> > + ~/.libreoffice/3-<distro> - proposed alternative
> >                    distro-specific path, e.g. ~/.libreoffice/3-suse
> >
> > I tried to use the same directory but the other build did not
> >         start because incompatible berkley DB, see the attached
> >         screenshot
>
> I'd use the same user directory, personally. We use the same bdb as
> universal/vanilla anyways.

I would like to use the same dir as well. Unfortunately, we have
different system bdb on different SUSE distros...

I will try something from the Caolan's suggestions (double check fix for
#i107440, look if the db can be versioned, ...)

Best Regards,
Petr


_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Cor Nouws-2 Cor Nouws-2
Reply | Threaded
Open this post in threaded view
|

install structure (was Re: LO: Linux distro specific packages vs. universal build)

Hi Petr, all,

Petr Mladek wrote (15-10-10 20:20)

> You are right. We have already removed the 3-layer structure, so the
> version is not longer needed. I am going to remove the it.

Now that I see this: is there any info on this (which I might have
missed) or is it just: look at the installation itself?

(I sometimes give people some basic info about the installation
structure, that is why I ask.)

And also, if future sponsors of TDF have wishes we re-branding, won't
that be more difficult with the two layer installn?

Thanks,
Cor
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice