Re: [extensions-dev] Specify Platforms for an Extension

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [extensions-dev] Specify Platforms for an Extension

Martin Hollmichel - Sun Germany - ham02 - Hamburg
How does

http://www.openoffice.org/issues/show_bug.cgi?id=88700
to-be-BEA300_m1: extensions and arch in Identifier
fit into this context ?

Martin

Joachim Lingner wrote:

>
>
> Bernard Marcelly wrote:
>> Message de Joachim Lingner  date 2008-04-24 09:48 :
>>> Hi,
>>>
>>> Thanks for your suggestions.
>>>
>>> A while ago I posted my musings regarding platforms and locales at
>>> gullfoss:
>>> http://blogs.sun.com/GullFOSS/entry/platform_and_locale_information_in
>>>
>>> It turned out that this can become rather complex and impractical,
>>> especially when comparing platforms (finding an order), which is
>>> needed for the update scenario (not yet implemented).
>>>
>>
>> I read this post, several times, started to write remarks, and give
>> up. Too complex for me : -(
> Indeed, it is complex and one can get lost very quickly (so did I :)
> Therfore, let's see how the current "simple solutions"performs in the
> real world.
>
> Joachim
>
>>
>> ______
>> Bernard
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Re: [extensions-dev] Specify Platforms for an Extension

Caolán McNamara
On Fri, 2008-04-25 at 10:47 +0200, Martin Hollmichel wrote:
> How does
>
> http://www.openoffice.org/issues/show_bug.cgi?id=88700
> to-be-BEA300_m1: extensions and arch in Identifier
> fit into this context ?

To cut to the chase of what's causing a problem for us, we simply want
to be able to continue to do (for new extensions) what we can do now,
i.e. simply package an extension and in the package removal trigger have
e.g.

unopkg remove org.openoffice.legacy.writer2latex.uno.pkg

and that works regardless of the arch that the extension has been built
for. The linked-to blog says "Because the extension identifier
represents the 'logical extension' they must be the same for both
extensions." So that would seem to indicate that the basic extension
identifier as used by e.g. unopkg should be the same regardless of the
architecture, yes ?

i.e. we have an arch-independent identifier for the extension without
having to do something of the nature of...

uname -m
switch `uname -m`
   case sparc:
      unoarchname = "somethingA";
   case i386:
      unoarchname = "somethingB";
   case x86_64:
      unoarchname = "somethingC";
   case ia64:
      unoarchname = "somethingD";
   case s390:
      unoarchname = "somethingE";
   case s390x:
      unoarchname = "somethingF";
   case arm-gnueabi:
      unoarchname = "somethingG";
   case arm:
      unoarchname = "somethingH";
   case ppc64:
      unoarchname = "somethingI";
   case ppc:
      unoarchname = "somethingJ";
esac

unopkg remove org.openoffice.legacy.writer2latex-$unoarchname.uno.pkg

And that all the rest of the support for a "combined" identifier to
identify the platforms that the built extension supports is carried
around in additional fields in the description.xml so the extension
manager can find suitable extensions in the online repo to upgrade to.

C.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [extensions-dev] Specify Platforms for an Extension

Joachim Lingner - Sun Germany Software Engineer - ham02 - Hamburg
In reply to this post by Martin Hollmichel - Sun Germany - ham02 - Hamburg
Martin Hollmichel schrieb:
> How does
>
> http://www.openoffice.org/issues/show_bug.cgi?id=88700
> to-be-BEA300_m1: extensions and arch in Identifier
> fit into this context ?

I does not (or I misinterpret your question). Currently the extensions
with the same source but compiled for different platforms need different
identifiers. That's it.

Joachim

>
> Martin
>
> Joachim Lingner wrote:
>>
>>
>> Bernard Marcelly wrote:
>>> Message de Joachim Lingner  date 2008-04-24 09:48 :
>>>> Hi,
>>>>
>>>> Thanks for your suggestions.
>>>>
>>>> A while ago I posted my musings regarding platforms and locales at
>>>> gullfoss:
>>>> http://blogs.sun.com/GullFOSS/entry/platform_and_locale_information_in
>>>>
>>>> It turned out that this can become rather complex and impractical,
>>>> especially when comparing platforms (finding an order), which is
>>>> needed for the update scenario (not yet implemented).
>>>>
>>>
>>> I read this post, several times, started to write remarks, and give
>>> up. Too complex for me : -(
>> Indeed, it is complex and one can get lost very quickly (so did I :)
>> Therfore, let's see how the current "simple solutions"performs in the
>> real world.
>>
>> Joachim
>>
>>>
>>> ______
>>> Bernard
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]