[Libreoffice-bugs] [Bug 50278] Provide separate dock icons for each component on macOS instead of or in addition to the global launcher aka make components single apps
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 24 18:26:36 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=50278
--- Comment #15 from Chris Cunningham <thumperward at hotmail.com> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190924/f534145d/attachment.html>
More information about the Libreoffice-bugs
mailing list