nixpkgs-suyu/pkgs/applications/office
Maximilian Bosch 2f9426ad83
libreoffice: replace openjdk runtime-input with minimal JRE
Previously, `pkgs.libreoffice` had a total closure-size of 2.4GB where
`pkgs.openjdk` was a significant part:

    $ nix path-info ./result -Sh
    /nix/store/7xyfklmiz2azcnrfa8n9cz12dyyqc85r-libreoffice-7.1.7.2	   2.4G
    $ nix path-info ./result -shr | grep openjdk
    /nix/store/qcn7ihaak9g8ayyj4995ila2z0pkm37i-openjdk-17.0.1+12             	 643.6M

However we need exactly two components:

* a `javac` from `pkgs.openjdk`
* a minimal runtime (i.e. a JRE) for `libofficebean.so` where
  `libjawt.so` is also available.

I moved `jdk` to the `nativeBuildInputs` to ensure that `javac` is still
available in the build-environment and created a minimal JRE that seems
sufficient.

Now, the total closure-size is reduced by ~29.1% (basically the 600M
from `pkgs.openjdk`):

    $ nix path-info ./result -Sh
    /nix/store/zv34xijv64k7sz7rv50g3v6y59qg7p8k-libreoffice-7.1.7.2	   1.7G
2021-11-23 19:23:30 +01:00
..
abiword
agenda treewide: set meta.mainProgram for packages teams.pantheon.members maintain 2021-11-03 19:07:21 +08:00
antiword pkgs/applications: rename name to pname&version part 1 (#144949) 2021-11-07 21:29:51 +01:00
atlassian-cli
autokey
banking
beamerpresenter treewide: remove darwin-only manual wrapQtApp invocations 2021-09-28 10:29:46 -04:00
beancount pkgs/applications: rename name to pname&version part 1 (#144949) 2021-11-07 21:29:51 +01:00
bookworm
calligra calligra: fix fontconfig underlinking 2021-09-26 20:46:24 +01:00
cb2bib
csv2odf
docear
elementary-planner treewide: set meta.mainProgram for packages teams.pantheon.members maintain 2021-11-03 19:07:21 +08:00
espanso
fava
flexibee
foliate
gnucash Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
gnumeric
grisbi grisbi: 2.0.2 -> 2.0.4 2021-08-14 13:22:23 +03:00
gtg
hledger-check-fancyassertions hledger-check-fancyassertions: init at 1.23 2021-09-30 12:23:30 +02:00
homebank homebank: switch to pname + version 2021-08-15 01:50:47 +02:00
ib Merge pull request #144241 from Stunkymonkey/applications-github-1 2021-11-19 17:09:37 +01:00
impressive
jabref treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH, round 2 2021-11-04 16:15:05 -07:00
jameica jameica: 2.8.6 -> 2.10.0 2021-10-22 01:00:02 +02:00
kbibtex
keepnote pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
kexi
khronos khronos: 3.6.0 -> 3.6.1 2021-10-29 19:15:01 +08:00
kitsas kitsas: 3.0 → 3.1.1, enable on darwin 2021-11-19 13:47:44 +03:00
kmymoney
ktimetracker
ledger
ledger-autosync
ledger-web
libreoffice libreoffice: replace openjdk runtime-input with minimal JRE 2021-11-23 19:23:30 +01:00
marp
mendeley
mmex
moneyplex
mytetra mytetra: switch to fetchFromGitHub 2021-11-02 19:49:29 +01:00
notes-up treewide: set meta.mainProgram for packages teams.pantheon.members maintain 2021-11-03 19:07:21 +08:00
onlyoffice-bin onlyoffice: wrap correctly and force xcb since onlyoffice doesn't 2021-09-28 20:22:41 +03:00
osmo
p3x-onenote
paperless-ng Merge pull request #138438 from Flakebi/paperless 2021-09-24 16:13:09 -07:00
paperwork
pdfmixtool
pinpoint
portfolio portfolio: 0.54.2 -> 0.55.0 2021-10-08 12:59:23 +01:00
pympress
pyspread
qnotero qnotero: 2.1.1 -> 2.3.0 2021-09-24 03:24:18 +00:00
qownnotes qownnotes: 21.10.9 -> 21.11.4 2021-11-15 17:17:42 +01:00
scribus
semantik semantik: 1.2.5 -> 1.2.7 2021-08-27 23:27:44 +00:00
skanlite
skrooge skrooge: 2.24.6 ->2.26.1 (#134048) 2021-08-15 12:06:28 +02:00
softmaker
spice-up treewide: set meta.mainProgram for packages teams.pantheon.members maintain 2021-11-03 19:07:21 +08:00
super-productivity super-productivity: 7.5.1 -> 7.6.0 2021-10-21 21:39:59 +02:00
tagainijisho pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
timedoctor {timedoctor,hyperspace-cli}: mark as broken 2021-11-01 21:27:51 +08:00
timekeeper
timeline
timetrap
timeular
todo.txt-cli
todofi.sh
todoman todoman: enable on darwin 2021-11-15 14:45:00 +00:00
treesheets
trilium trilium: 0.47.8 -> 0.48.6 2021-11-14 17:55:49 +01:00
tryton
tudu
tusk
vnote vnote: 3.8.1 -> 3.10.1 2021-11-18 17:37:03 -03:00
watson watson: Install fish completions. 2021-09-24 19:24:54 +02:00
wordgrinder
wpsoffice Merge pull request #126302 from Ninlives/master 2021-10-09 15:08:35 +08:00
zanshin
zim zim: 0.73.5 -> 0.74.2 2021-10-24 21:50:50 +02:00
zk zk: 0.7.0 -> 0.8.0 2021-11-22 07:45:07 +01:00
zotero zotero: 5.0.96.2 -> 5.0.96.3 2021-08-21 21:44:22 +00:00