Commit Graph

484 Commits

Author SHA1 Message Date
MJ Moriarity
f8a0cdebb1 libreoffice-collabora: fix build with gcc16
pull in patches for the commits that add missing includes that enable
building with gcc16 without error.
2026-09-28 23:59:09 -06:00
Matt Votava
9e75c5bdce libreoffice: disable broken test
In the last libreoffice update, several tests in
sw/qa/extras/uiwriter/uiwriter4.cxx were disabled, but one test still
consistently fails on aarch64-linux. When running the disabled tests
individually they pass, but they fail when running the whole uiwriter4
test suite in one go. It appears the root cause is actually the earlier
test "testTdf98446_switch_to_single_page_on_hide_whitespace" mutating
some state in the shared document engine which pollutes the following
unit tests' environment.
2026-09-20 03:15:25 -07:00
7c6f434c
e3b7b8bfc0 libreoffice: import upstream patch in the hope to fix unpacking flakyness 2026-09-18 07:30:14 +02:00
7c6f434c
3fe53bc180 libreoffice.updateScript: drop obsolete comment 2026-09-11 12:11:07 +02:00
7c6f434c
cadfaa6fc2 libreoffice-stable: 26.2.5.2 -> 26.8.0.3 2026-09-11 11:51:46 +02:00
7c6f434c
38552f4113 libreoffice: 26.2.1.2, 25.8.5.2 -> 26.2.5.2
Replace libfreoffice-fresh and libreoffice-still with libreoffice-stable, following upstream
2026-08-20 16:53:18 +02:00
EKHH
9eeb54d214 libreoffice: set JAVA_HOME 2026-08-09 12:34:18 +00:00
Emily
d8a8f66ef7 libreoffice-bin: drop x86_64-darwin from update script 2026-07-15 03:59:21 +01:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
nixpkgs-ci[bot]
45908f8f52 Merge master into staging-next 2026-06-29 00:46:48 +00:00
Thomas Gerbet
d5dbcebb8c libreoffice-bin: 25.8.6 -> 26.2.4 (#531035) 2026-06-28 20:24:01 +00:00
dotlambda
288399cabd poppler: 25.10.0 -> 26.06.0 (#521663) 2026-06-21 16:18:37 +00:00
Hythera
a2e1ce5122 libreoffice: fix build with poppler 26.06.0 2026-06-21 18:06:17 +02:00
7c6f434c
63eaba0b00 libreoffice: unvendor libfreehand (#527474) 2026-06-12 15:51:36 +00:00
éclairevoyant
341137ac3c libreoffice-bin: 25.8.6 -> 26.2.4 2026-06-12 09:30:56 -04:00
Colin
48e16dceed libreoffice-bin: 25.2.1 -> 25.8.6 (#508754) 2026-06-07 23:41:33 +00:00
teutat3s
aff25da20b libreoffice: unvendor libfreehand 2026-06-03 10:12:19 +02:00
phanirithvij
7a51481f57 libreoffice: init collaboara-coda variant at 25.04.9.2-2
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2026-05-01 18:23:07 +05:30
James Cook
0c3dde83e2 libreoffice-bin: 25.2.1 -> 25.8.6 2026-04-10 21:50:51 +01:00
7c6f434c
911a2e08d4 libreoffice-fresh: 25.8.2.2 -> 26.2.1.2, libreoffice-still: 25.2.6.2 -> 25.8.5.2, libreoffice-collabora: 25.04.1-1 -> 25.04.9-4 (#502046) 2026-04-05 06:43:55 +00:00
deng232
b1b9bb9946 libreoffice: add unixodbc to LD_LIBRARY_PATH 2026-04-03 17:08:37 -04:00
teutat3s
fb080599db libreoffice-collabora: use tag in update script 2026-04-02 21:16:21 +02:00
teutat3s
5733caf502 libreoffice-collabora: 25.04.1-1 -> 25.04.9-4 2026-04-02 21:16:16 +02:00
teutat3s
0bddfc3a08 libreoffice-still: 25.2.6.2 -> 25.8.5.2
https://wiki.documentfoundation.org/ReleaseNotes/25.8
2026-04-02 21:16:08 +02:00
teutat3s
884b15235f libreoffice-fresh: 25.8.2.2 -> 26.2.1.2
https://wiki.documentfoundation.org/ReleaseNotes/26.2
2026-04-02 21:16:08 +02:00
nixpkgs-ci[bot]
dee0edb980 Merge master into staging-next 2026-03-08 06:13:52 +00:00
Vincent Vanlaer
87dddf65f6 libreoffice: fix gstreamer paths
Libreoffice uses gstreamer for for audio and video within impress. If
the correct gstreamer plugins are not available (e.g. because the plugin
path is not set correctly), then adding such media will not play and can
even temporarily hang the interface.

This commit fixes incorrect and missing paths in the current libreoffice
wrapper:

- the gstreamer plugins are located in gstreamer-1.0 directories rather
  than girepository-1.0
- the default output of the gstreamer package only contains executables
  and not the plugins
2026-03-08 00:29:44 +01:00
Jo
2c2a562260 unixodbc{,Drivers}: rename from unixODBC{,Drivers} (#489676) 2026-03-06 11:52:28 +00:00
Mitchell Skaggs
b097075bf2 libreoffice: remove noto-sans font workaround
Co-authored-by: Marcin Serwin <marcin@serwin.dev>
2026-02-27 10:16:53 -06:00
quantenzitrone
2226596501 unixodbc: refactor and rename from unixODBC
rename to lowercase to fit package naming conventions
2026-02-27 10:52:14 +01:00
Aliaksandr
f2d16bccd7 linux-libertine-g: rename from libertine-g, use correct version 2026-02-20 06:33:40 +02:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
jopejoe1
2e0d70dda4 libreoffice: set pname and version 2026-01-21 23:20:37 +01:00
Gaël James
97dee9102c libreoffice-src-collabora: use tag = instead of rev = refs/tags/... 2026-01-15 18:27:43 +01:00
quantenzitrone
ff4964de35 clucene-core: move to pkgs/by-name and rename from clucene_core
this shouldn't create any rebuilds
2026-01-13 13:49:59 +01:00
n0099
7ee2eab483 libreoffice: skip test ArrayFunctionsTest::testArrayFormulasFODS
https://github.com/NixOS/nixpkgs/issues/398633
https://lists.freedesktop.org/archives/libreoffice/2023-September/090877.html
2026-01-08 07:20:54 +00:00
Marcin Serwin
2c97992b74 libreoffice: fix build with gpgme 2
Since version 2.0.0 the C++ bindings to gpgme live in a separate
package, i.e., gpgmepp.

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-12-20 19:19:01 +01:00
Sandro
24b1db6425 libreoffice: avoid qt&kde dev dependencies when build with kdeIntegration (#338498) 2025-12-11 01:46:37 +00:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Sandro Jäckel
3e0d89a13b libreoffice: avoid qt&kde dev dependencies when build with kdeIntegration 2025-11-23 04:06:19 +01:00
7c6f434c
6f9a4840df libreoffice: remove deprecated dll (#458653) 2025-11-05 23:00:19 +00:00
7c6f434c
e62c3f9317 libreoffice: disable tests that break after global Noto fonts bump 2025-11-05 11:44:13 +01:00
Stefan Frijters
f5b41cf146 libreoffice: remove deprecated dll
Use of this dll was removed in 2020:
https://git.libreoffice.org/core/+/01241113947fc7bd7f7b765dd897bb023c8ca99c
2025-11-04 17:55:28 +01:00
Stefan Frijters
71b0bb479f libreoffice: hide rhino behind withJava option
This should not meaningfully change the build without Java,
but it prevents eval from complaining about nonSource packages
related to rhino.
2025-11-03 00:36:08 +01:00
7c6f434c
02567d56a5 frozen-containers: init at 1.2.0-unstable-2025-07-29; libreoffice: use system frozen (#452992) 2025-10-29 13:52:28 +00:00
Marcin Serwin
66360a4c7e libreoffice: use system frozen
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-10-29 11:10:39 +01:00
7c6f434c
b7eef3bb56 libreoffice-collabora: comment out the duplicate patch
Fix duplication introduced in #455940 while fixing the build of other branches
2025-10-27 09:28:29 +01:00
Jan Tojnar
c9b78f12c8 libreoffice-still: actually fix build with poppler 25.10.0 2025-10-26 18:43:22 +01:00
Jan Tojnar
81e609e813 libreoffice-fresh: Fix build
The patch is part of libreoffice 25.8.2.1.
2025-10-26 18:43:22 +01:00
Jan Tojnar
c0cc2616e8 libreoffice-still: fix build with poppler 25.10.0 2025-10-25 15:05:29 +02:00