Commit Graph

253 Commits

Author SHA1 Message Date
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
TredwellGit
b1db7c902b libreoffice-fresh: 7.1.3.2 -> 7.1.4.2 2021-06-10 23:52:37 +00:00
Thomas Gerbet
f7b33e0334 libreoffice-still: 7.0.4.2 -> 7.0.6.2
This will avoid false positives with CVE-2021-25631 [0] (only impact
Windows).
It also includes bugfixes:
https://wiki.documentfoundation.org/Releases/7.0.5/RC1
https://wiki.documentfoundation.org/Releases/7.0.5/RC2
https://wiki.documentfoundation.org/Releases/7.0.6/RC1
https://wiki.documentfoundation.org/Releases/7.0.6/RC2

[0] https://www.libreoffice.org/about-us/security/advisories/cve-2021-25631/
2021-05-23 11:47:11 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
TredwellGit
a9f8aec7d0 libreoffice-fresh: 7.1.2.2 -> 7.1.3.2 2021-05-06 12:38:56 +00:00
pennae
df6c714d82 libreoffice: kill private dbus instance on exit
if the libreoffice wrapper doesn't find a dbus instance in the
environment it starts one, but then neglects to clean it up. over time
this can litter the system with orphaned dbus instances. kill the daemon
as well instead of just removing the socket directory.
2021-04-22 23:03:02 +02:00
TredwellGit
29a2856563 libreoffice-fresh: 7.1.1.2 -> 7.1.2.2 2021-04-02 13:15:41 +00:00
TredwellGit
7ec939d517 libreoffice-fresh: 7.1.0.3 -> 7.1.1.2 2021-03-04 19:23:50 +00:00
Sandro Jäckel
a0ce2b58af
libreoffice: remove unused input 2021-02-22 01:16:29 +01:00
TredwellGit
14b1e4c71f libreoffice-still: 6.3.5.2 -> 7.0.4.2 2021-02-04 17:14:27 +00:00
TredwellGit
f79e624ce6 libreoffice-fresh: 7.0.4.2 -> 7.1.0.3
https://wiki.documentfoundation.org/ReleaseNotes/7.1
2021-02-04 11:40:30 +00:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Gabriel Ebner
e8a8d380ec
Merge pull request #107490 from gebner/gstreamer-wrapper
treewide: use GST_PLUGIN_SYSTEM_PATH_1_0 instead of GST_PLUGIN_SYSTEM_PATH
2020-12-24 12:29:43 +01:00
Gabriel Ebner
c9161fb11a treewide: use GST_PLUGIN_SYSTEM_PATH_1_0 instead of GST_PLUGIN_SYSTEM_PATH
When GST_PLUGIN_SYSTEM_PATH_1_0 is set, gstreamer ignores
GST_PLUGIN_SYSTEM_PATH.
2020-12-24 10:34:30 +01:00
TredwellGit
37abd75b93 libreoffice-fresh: 7.0.3.1 -> 7.0.4.2 2020-12-21 01:45:25 +00:00
Michael Raskin
83cbad92d7
Merge pull request #103185 from ilmari-lauhakangas/patch-2
libreoffice: Use --without-system-libnumbertext instead of --disable-libnumbertext
2020-12-07 07:45:13 +00:00
Jörg Thalheim
d5ce08c1f9
libreoffice: improve codec support
Right now libreoffice cannot play mp4/h264 videos,
which is needed if your $genius professor publishes lectures
as powerpoint with embedded videos.
2020-11-29 10:48:52 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Jonas Meurer
ea12d880e0
libreoffice-qt: wrap application
Libreoffice-qt is not wrapped, thus does not launch. Notice that
wrapQtQAppsHook is used manually since all executables are shell
scripts which are not wrapped automatically.
2020-11-13 19:55:28 +01:00
ilmari-lauhakangas
0564f6ab63
Use --without-system-libnumbertext instead of --disable-libnumbertext
Option to disable libnumbertext was removed with
https://git.libreoffice.org/core/commit/c392ecfa734731194c366e869a3c2475c53dc867
It will affect 7.1.
2020-11-09 09:31:11 +02:00
TredwellGit
d07dc0aba1 libreoffice-fresh: 7.0.0.3 -> 7.0.3.1
Also, replace HTTP with HTTPS.
2020-11-08 01:13:08 +00:00
ilmari-lauhakangas
c8b7c9bf69
Remove vigra and glew as obsolete LibreOffice dependencies 2020-11-07 10:53:46 +02:00
Fabian Möller
d43db8abbc
libreoffice-still: fix build 2020-09-03 14:42:11 +02:00
David Guibert
aa91966430 libreoffice-fresh: 6.4.3.2 -> 7.0.0.3 2020-08-27 16:09:53 +02:00
Daniel Șerbănescu
8cf4393152 libreoffice: add danish support 2020-07-05 07:52:45 +02:00