#465 OpenOffice.org Extensions guidelines out-of-date
Closed: Fixed None Opened 9 years ago by rathann.

https://fedoraproject.org/wiki/Packaging:OpenOffice.orgExtensions are horribly out of date and plain wrong and I'm overlooking the fact that we have LibreOffice instead of OpenOffice.org already.

  • The scriptlet for %post doesn't work (there's no --link) option.
  • /usr/share/libreoffice/extensions doesn't exist (not owned by any package)
  • The link in 3. is broken

Adding Caolán so he can hopefully comment.

We talked about this in today's meeting (​​http://meetbot.fedoraproject.org/fedora-meeting-1/2014-10-23/fpc.2014-10-23-16.01.txt):

...basically we need a policy change we can vote on, and it'd probably help a lot if you could help with that :).

I wrote the OOo guidelines at a time when we had user or shared extensions and it was quite complex to get shared extensions right.

Now we have bundled extensions which are very easy to get right and all our extensions are bundled now I believe. I've updated those draft guidelines now to refer to bundled extensions and it almost becomes a one-liner now. "unzip to %{_libdir}/libreoffice/extensions"

Caolan - thanks a lot for the update. At least one question still - there is no /usr/share/libreoffice directory provided by libreoffice-core. Is /usr/share/libreoffice/extensions an acceptable install location for noarch extensions? It would be nice if we could support that.

No, all bundled extensions have to go under {_libdir}/libreoffice/share/extensions to be detected.

Replying to [comment:6 caolanm]:

No, all bundled extensions have to go under {_libdir}/libreoffice/share/extensions to be detected.

This is against FPG(FHS) in case an extension is noarch. What's the reason for not detecting extensions located in {{{ %{_datadir}/libreoffice/(share/)?extensions }}} ?

Simply because its not implemented to look for extensions in %{_datadir}/libreoffice/share/extensions, nor do we look for a whole pile of other potentially noarch pieces in %{_datadir}/libreoffice like help or galleries or autotext and so on.

Upstream bug report for /usr/share/libreoffice support: https://bugs.freedesktop.org/show_bug.cgi?id=78341

This was discussed in this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2014-10-30/fpc.2014-10-30-16.01.txt), and was approved with a few tweaks in real time:

LibreOffice Extensions

The old OpenOffice.org extension guidelines have been replaced by new guidelines for LibreOffice extensions. There are significant changes so please review them:
https://fedoraproject.org/wiki/Packaging:LibreOfficeExtensions

Hm, with the problem of misusing %{_libdir} and being unable to make noarch packages for templates and extensions still unsolved? :(

Yes, the request has been filed upstream. But I'm fairly confident no one will implement it in the short to medium term. The cost of implementation vs benefit is very limited.

Metadata Update from @james:
- Issue assigned to orion

7 years ago

Login to comment on this ticket.

Metadata