← Back to team overview

desktop-packages team mailing list archive

[Bug 888525] Re: LibreOffice Missing Files For JavaScript Macros to work in 11.10

 

adam jvok, I agree with you in that this looks like a downstream
packaging bug.

** Changed in: df-libreoffice
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/888525

Title:
  LibreOffice Missing Files For JavaScript Macros to work in 11.10

Status in LibreOffice Productivity Suite:
  New
Status in “libreoffice” package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description: Ubuntu 11.10
  Release: 11.10

  2) apt-cache policy libreoffice-calc
  libreoffice-calc:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://hk.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  apt-cache policy libreoffice-java-common
  libreoffice-java-common:
    Installed: 1:3.4.3-3ubuntu2
    Candidate: 1:3.4.3-3ubuntu2
    Version table:
   *** 1:3.4.3-3ubuntu2 0
          500 http://hk.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  3) What is expected in LibreOffice Calc is when one clicks Tools ->
  Macros-> Organize Macros

  An option for Javascript is available as noted in:
  http://help.libreoffice.org/Common/Scripting

  4) What happens instead is it is missing.

  I installed 'rhino', with no effect.

  WORKAROUND: For javascript to work in LibreOffice it appears I need
  the file ScriptProviderForJavaScript.jar

  Maverick had this file:

  /usr/lib/openoffice/basis3.2/program/classes/ScriptProviderForJavaScript.jar

  in openoffice.org-java-common
  (http://packages.ubuntu.com/maverick/all/openoffice.org-java-
  common/filelist)

  But the file is missing from 11.10:
  http://packages.ubuntu.com/oneiric/all/libreoffice-java-
  common/filelist

  By taking the files found in Arch Linux:

  http://www.archlinux.org/packages/extra/x86_64/libreoffice-extension-
  scripting-javascript/

  and putting them under /usr/lib/libreoffice/share/extensions/script-
  provider-for-javascript on 11.10, I can solve the problem.

  But clearly this should not be necessary.

  The files should be (but do not appear to be) provided by some package
  in 11.10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/888525/+subscriptions