https://bugs.documentfoundation.org/show_bug.cgi?id=50278

--- Comment #15 from Chris Cunningham <[email protected]> ---

The only things that are needed for component-specific bundles are:

1. A one-liner shell script which invokes `soffice --<component>` for each
component;
2. A basic Info.plist which points to the shell script (handled by
sysui/Package_infoplist.mk);
3. The application icon (handled by sysui/Package_osxicons.mk).

The directory structure is:

Component.app
|-Contents
  |-MacOS
    |-shellscript
  |-Resources
    |-icon.icns
  |-Info.plist

The shell script is literally just:

#!/bin/bash
/Applications/LibreOffice.app/Contents/MacOS/soffice --writer

The actual bundling lives in solenv/bin/modules/installer/simplepackage.pm from
around line 263-436.

The easiest thing to do would probably be to add an extra step in there which
iterates over each component, generates the directory structure, generates the
shell script and Info.plist, and copies script, icon and plist into the
directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to