Commit graph

279 commits

Author SHA1 Message Date
Robert Scott 3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Thibault Gagnaux d7ccd36aa0
libreoffice: run the update-script's side-effect at runtime instead of eval
time
2022-05-31 21:54:41 +02:00
Thibault Gagnaux 4c23cbcc15
libreoffice: add impure functions comment 2022-05-30 17:20:00 +02:00
Thibault Gagnaux fe949d64ef
libreoffice: rename libreoffice -> libreoffice-bin 2022-05-28 17:40:04 +02:00
Thibault Gagnaux 56ce01eca3
libreoffice: pass explicit file to update-source-version function and
fix import typo
2022-05-27 17:44:53 +02:00
Thibault Gagnaux 8315cf274b
libreoffice: add darwin to meta platforms and extract to common.nix
As a result, the darwin derivations will show up on
https://search.nixos.org/packages.
2022-05-27 17:28:31 +02:00
Thibault Gagnaux b9a5485aa5
Revert "libreoffice: move darwin to separate libreoffice-darwin package"
Introducing a new name for each complex darwin derivation does not
scale.

This reverts commit b207ef980751b2dfe2f222fbd7dbc854f9bd90bf.
2022-05-27 17:28:31 +02:00
Thibault Gagnaux d4dd3f5f7e
libreoffice: move darwin to separate libreoffice-darwin package
The linux and darwin derivations are completely different. Therefore, it
makes more sense to treat them as two separate, independent derivations.
2022-05-27 17:28:31 +02:00
Thibault Gagnaux 2fb0615a66
libreoffice: add integration test and use lib.fakeSha256 2022-05-27 17:28:30 +02:00
tricktron d679ccc970
libreoffice: apply suggestions from code review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-05-27 17:28:30 +02:00
Thibault Gagnaux ccfd4255bb
libreoffice: 7.2.5 -> 7.3.3 2022-05-27 17:28:30 +02:00
Thibault Gagnaux ed52a44934
libreoffice: general darwin improvements
- throw error if platform is not supported
- fix wrong pre/postInstallPhase hook -> pre/postInstall
- switch to stdenvNoCC because we don't build anything
- run all phases by default
- wrap binary using `open -na $out/Applications/${appName} --args "$@"`
2022-05-27 17:28:30 +02:00
Thibault Gagnaux 9f80b6d8fe
libreoffice: refactor and document version reset workaround 2022-05-27 17:28:30 +02:00
Thibault Gagnaux 8395d7a4d3
libreoffice: add update-script for darwin 2022-05-27 17:28:29 +02:00
Peter Hoeg d75e54f70c libreoffice: fix -qt build 2022-05-12 22:56:10 +08:00
7c6f434c 2a3aac479c
Merge pull request #172088 from gador/libreoffice-fresh-7.3.3.2
libreoffice-fresh: 7.2.5.2 -> 7.3.3.2
2022-05-09 07:45:23 +00:00
Florian Brandes 28942721a1
libreoffice-fresh: 7.2.5.2 -> 7.3.3.2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-05-08 21:44:27 +02:00
Florian Brandes 62e689da12
libreoffice-still: apply review comments
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-05-08 21:38:56 +02:00
Florian Brandes dfd3754f61
libreoffice-still: 7.1.8.1 -> 7.2.6.2
fixes #171907

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-05-08 10:47:47 +02:00
Jan Tojnar 1cc16e71e1
Merge pull request #167372 from r-ryantm/auto-update/poppler-glib
poppler: 22.03.0 -> 22.04.0
2022-05-06 00:47:20 +02:00
Jan Tojnar ced814af20 libreoffice-fresh: Fix build with poppler 22.04 2022-05-04 14:42:39 +02:00
hqurve 010e2e5b12 libreoffice: add templates to dolphin "create new" menu
The libreoffice derivation does not copy the necessary
files to the output. Hence, we need to unpack the source again
2022-05-03 08:11:26 -04:00
Jan Tojnar 9102478153 libreoffice: fix build with Poppler 22.03 2022-03-25 19:27:18 +01:00
Peter Hoeg 6340db6249 libreoffice-qt: kf5 header files have moved into a subdir 2022-03-22 19:18:43 +08:00
7c6f434c 872af9cc98
Merge pull request #163067 from yurkobb/libreoffice-i18n-uk
libreoffice: add Ukrainian language pack
2022-03-07 05:35:14 +00:00
Yury Bulka 55690318d1 libreoffice: add Ukrainian language pack 2022-03-06 23:21:23 +02:00
Maximilian Bosch b308b06c22
libreoffice: add java.logging to minimal JRE
This is e.g. required to properly use the Langtool-plugin[1] which
otherwise fails like this:

    java.lang.NoClassDefFoundError: java/util/logging/Logger

Fixes #160315

[1] https://extensions.libreoffice.org/en/extensions/show/languagetool
2022-02-19 18:58:04 +01:00
Thibault Gagnaux f7e43bf1fc
libreoffice: separates darwin into its own file darwin.nix 2022-01-30 17:48:11 +01:00
Thibault Gagnaux a2adccbadf
libreoffice: match output paths on darwin and linux 2022-01-29 19:45:36 +01:00
Thibault Gagnaux 7dc65484d4
libreoffice: clean up with nixpkgs-fmt 2022-01-27 15:30:28 +01:00
Thibault Gagnaux c5b2d53a5d
libreoffice: adds darwin 2022-01-27 15:21:54 +01:00
TredwellGit 14927bdce6 libreoffice-fresh: 7.2.4.1 -> 7.2.5.2
Fixes https://github.com/NixOS/nixpkgs/issues/153436
2022-01-06 18:15:57 +00:00
7c6f434c 2173817b90
Merge pull request #150292 from TredwellGit/libreoffice-still
libreoffice-still: 7.1.7.2 -> 7.1.8.1
2021-12-12 05:54:44 +00:00
TredwellGit 9c36e9cb9a libreoffice-fresh: 7.2.3.2 -> 7.2.4.1 2021-12-11 19:14:35 +00:00
TredwellGit 9cd228f3e3 libreoffice-still: 7.1.7.2 -> 7.1.8.1 2021-12-11 19:13:27 +00:00
TredwellGit 722bfae487 libreoffice-fresh: 7.2.2.2 -> 7.2.3.2 2021-11-28 15:26:40 +00:00
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
Alyssa Ross 4e1852096f
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts:
	pkgs/development/tools/parsing/flex/2.6.1.nix
2021-11-14 14:17:46 +00:00
oxalica b3fd89bb20
libreoffice*: skip test to fix build with icu70 2021-11-13 23:20:26 +08:00
oxalica 084da134e9
libreoffice-still: 7.1.6.2 -> 7.1.7.2
This contains the fix for build error with bision 3.8.
See https://gerrit.libreoffice.org/c/core/+/122082
2021-11-13 21:33:09 +08:00
Kerstin Humm bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
TredwellGit d86e178f91 libreoffice-fresh: 7.1.5.2 -> 7.2.2.2 & libreoffice-still: 7.0.6.2 -> 7.1.6.2 2021-10-28 05:55:42 +00:00
ilmari-lauhakangas 7d70d52346
Keep the patch for 7.1.x fresh 2021-08-19 19:34:45 +03:00
ilmari-lauhakangas f3c17463a1
Let's keep kde-open5 2021-08-19 19:06:29 +03:00
ilmari-lauhakangas cc00012c97
Let's keep kde-open5 in default.nix 2021-08-19 19:06:19 +03:00
ilmari-lauhakangas a1e6c9b848
Correct relative path to xdg-open-brief.patch 2021-08-19 12:23:26 +03:00
ilmari-lauhakangas 68e256c0ce
Define patches, don't add to it 2021-08-19 12:08:09 +03:00
ilmari-lauhakangas 7efb6066ac
Drop xdg-open stuff from default.nix as it is overriden from src-still 2021-08-19 11:59:00 +03:00
ilmari-lauhakangas 4b5182477c
libreoffice: xdg-open-brief.patch not needed for 7.2 2021-08-19 11:51:44 +03:00
TredwellGit bc11ce2abd libreoffice-fresh: 7.1.4.2 -> 7.1.5.2 2021-07-23 07:03:18 +00:00