nixpkgs/pkgs/applications/office
Maximilian Bosch 408ece7d3d
libreoffice-fresh: strip away BUILDCONFIG, reduce runtime closure size by ~20%
In v7.5.x a change was introduced that writes the BUILDCONFIG into
`$out/lib/libreoffice/program/libsofficeapp.so` including the
`PKG_CONFIG_PATH` containing references to all `dev` outputs of library
dependencies:

    $ strings $(nix-build -A libreoffice-fresh)/lib/libreoffice/program/libsofficeapp.so|grep PKG_CONFIG_PATH
    [...], "BuildConfig": "[...] 'PKG_CONFIG_PATH=[...]'"

This isn't really needed because this information can also be obtained
by `nix derivation show`. Also, this causes a 20% larger runtime-closure
because of all the dev dependencies being referenced by the output and
thus downloaded whenever libreoffice is substituted somewhere. The
actual numbers look like this:

    $ nix path-info -Sh ./result-old
    /nix/store/3mzrqh4gg7v27vdrrap9dj3x8myysmyf-libreoffice-7.5.4.1-wrapped	  2.0G
    $ nix path-info -Sh ./result
    /nix/store/g5y60s0a2q2v6r58xcayv62z7fjfi816-libreoffice-7.5.4.1-wrapped	  1.6G

Only `libreoffice-fresh` is affected, `pkgs.libreoffice` isn't because
it still points to 7.4 whereas the problematic change was introduced in
7.5.

To make sure this doesn't get reintroduced by accident, the derivation
also prohibits now to reference any dev output from a build input.

[1] https://gerrit.libreoffice.org/c/core/+/141197
2023-07-25 18:05:49 +02:00
..
abiword abiword: set strictDeps=true 2023-04-17 19:59:40 -07:00
activitywatch activitywatch: simple symlinkJoin wrapper 2023-05-07 22:14:23 -07:00
agenda
antiword antiword: fix cross compilation 2023-04-05 18:53:48 -07:00
appflowy appflowy: 0.2.5 -> 0.2.6 2023-07-11 17:56:49 +02:00
atlassian-cli
autokey autokey: remove obsolete gobject-introspection build input 2023-02-04 18:44:59 +00:00
banana-accounting fix(banana-accounting): multiple issues (#221820) 2023-04-24 20:33:50 +08:00
banking
beamerpresenter beamerpresenter: unbreak on darwin 2023-03-16 21:29:14 +02:00
beancount
beebeep beebeep: init at 5.8.6 2023-04-01 09:14:05 +02:00
bookletimposer bookletimposer: fix "ValueError: Namespace Gtk not available" 2023-06-05 00:32:50 +03:00
bookworm
calligra treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
cb2bib
clockify
csv2odf
cutemarked-ng
docear
endeavour
espanso Fix: make Espanso.app on darwin 2023-06-19 03:49:09 +00:00
fava Merge pull request #243549 from tjni/jaraco-renames 2023-07-23 11:39:19 -07:00
flexibee
foliate
gnote gnote: 44.0 → 44.1 2023-07-23 17:20:48 +08:00
gnucash gnucash: 5.2 -> 5.3 2023-06-27 17:58:32 +09:00
gnumeric gnumeric: 1.12.54 → 1.12.55 2023-02-19 17:27:46 +08:00
grisbi
gtg treewide: remove issue #56943 workarounds 2023-02-17 20:26:13 +02:00
hledger-check-fancyassertions
homebank homebank: 5,5,6 -> 5.6.5 2023-07-01 17:19:25 +02:00
ib
iotas iotas: 0.1.11 -> 0.1.14 2023-04-30 11:46:35 +08:00
jabref jabref: fix gapps wrapper 2023-07-24 14:10:59 +08:00
jameica
karlender karlender: 0.9.1 -> 0.9.2 2023-05-19 04:30:14 +00:00
kbibtex kbibtex: specify meta.platforms 2023-04-30 15:40:20 -07:00
kexi
khronos
kitsas kitsas: 4.0.3 -> 4.0.5 2023-04-30 23:30:03 +00:00
kmymoney treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
ktimetracker
ledger ledger: 3.3.1 -> 3.3.2 2023-03-30 04:20:00 +00:00
ledger-autosync
ledger-web
libreoffice libreoffice-fresh: strip away BUILDCONFIG, reduce runtime closure size by ~20% 2023-07-25 18:05:49 +02:00
mendeley
micropad micropad: 4.2.0 -> 4.2.1 2023-03-19 13:33:07 +13:00
mmex mmex: 1.6.1 -> 1.6.3 2023-02-28 12:52:35 +02:00
moneyplex
morgen morgen: 2.7.3 -> 2.7.4 2023-07-01 17:45:25 +00:00
mytetra
notes-up
notion-app-enhanced
onlyoffice-bin onlyoffice-bin: fix icon location 2023-03-26 19:18:17 -07:00
osmo
p3x-onenote p3x-onenote: 2022.10.117 -> 2023.4.117 2023-03-02 09:08:38 +00:00
PageEdit PageEdit: fix build on aarch64-darwin 2023-04-18 14:40:23 +03:00
paperless-ngx Merge pull request #240225 from leona-ya/paperless-1-16-5 2023-06-29 14:43:36 +02:00
paperwork paperwork: also install paperwork-json 2023-06-05 12:00:00 +00:00
pdfmixtool pdfmixtool: 1.1 -> 1.1.1 2023-03-09 11:04:43 -05:00
pdfmm pdfmm: init at unstable-2019-01-24 2023-01-26 12:40:21 +00:00
pinpoint
planify planify: unstable-2023-04-20 -> 4.1 2023-06-24 11:42:03 +08:00
portfolio portfolio: 0.64.4 -> 0.64.5 2023-07-23 22:27:21 +02:00
pympress treewide/applications: use top-level fetchPypi 2023-05-25 10:51:30 -04:00
pyspread treewide/applications: use top-level fetchPypi 2023-05-25 10:51:30 -04:00
qnotero qnotero: fix desktop file 2023-04-13 19:42:46 +02:00
qownnotes qownnotes: 23.7.1 -> 23.7.2 2023-07-14 14:53:24 +02:00
qpdfview qpdfview: Bump C++ standard version 2023-07-12 11:33:10 +02:00
rime-cli rime-cli: init at 0.0.3 2023-02-06 09:23:06 +00:00
roam-research roam-research: init at 0.0.18 2023-07-04 23:22:56 +02:00
scribus
semantik
skrooge
softmaker
spice-up
super-productivity super-productivity: 7.13.1 -> 7.13.2 2023-04-20 07:44:37 +00:00
tagainijisho
teapot treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
timeline timeline: fix crash on file dialog 2023-04-08 22:50:24 +03:00
timetrap
timeular timeular: 5.8.7 -> 5.9.0 2023-06-12 10:24:21 +00:00
todo.txt-cli
todofi.sh
todoman todoman: skip flaky test 2023-02-19 20:51:02 -05:00
treesheets treesheets: unstable-2023-07-15 -> unstable-2023-07-16 2023-07-17 07:24:29 +00:00
trilium Merge pull request #234375 from eliandoran/feature/trilium_wmclass 2023-07-22 15:43:39 +04:00
tryton treewide/applications: use top-level fetchPypi 2023-05-25 10:51:30 -04:00
tudu
tusk tree-wide: use new multiArch buildFHSEnv argument 2023-07-01 13:42:17 +02:00
vnote vnote: 3.13.0 -> 3.15.1 2023-07-10 00:43:33 -03:00
watson
wordgrinder treewide: move NIX_CFLAGS_COMPILE to the env attrset 2023-02-22 21:23:04 +02:00
wpsoffice wpsoffice: remove unnecessary build inputs 2023-05-20 16:05:14 +08:00
zim zim: install desktop application icon 2023-06-11 16:40:39 +12:00
zk zk: 0.13.0 -> 0.14.0 2023-05-24 07:28:30 +00:00
zotero zotero: remove version from name in desktopItem 2023-04-30 17:56:18 +02:00