63 Commits

Author SHA1 Message Date
OPNA2608 fa6f5e4171 mir: 2.26.0 -> 2.28.0 2026-06-17 08:42:37 +02:00
OPNA2608 859ea72d65 mir: 2.25.2 -> 2.26.0 2026-04-22 20:44:09 +02:00
Philip Taron 4799c4d297 mir: hardcode update script file path
Replace `__curPos.file` computation with a hardcoded path. The update
script already runs from the nixpkgs root, so the path is stable.
2026-03-19 11:45:37 -07:00
OPNA2608 490cad4329 mir: Fix remaining reference to boost_system 2026-03-03 17:45:54 +01:00
OPNA2608 e81c7debf2 mir_2_15: Fix build with Boost 1.89 2026-02-23 22:25:42 +01: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
OPNA2608 4888f53632 mir_2_15: Fix build on GCC15 2025-12-28 13:07:35 +01:00
OPNA2608 1181c47139 mir: 2.25.1 -> 2.25.2
cargoHash stays the same, mir.cargoDeps builds fine.
2025-12-25 08:56:54 +01:00
OPNA2608 8a13ab5e01 mir: Drop custom updateScript
We can *kinda* hack together gitUpdater to do what we need... Not that pretty though.
2025-12-25 08:56:54 +01:00
OPNA2608 2cbe3a443f mir: 2.23.0 -> 2.25.1 2025-12-25 08:56:50 +01:00
OPNA2608 c9deaa11f4 {mir,mir_2_15}: Drop onny from meta.maintainers 2025-11-12 18:18:49 +01:00
OPNA2608 790d95b4ee mir: Restrict supported platforms to LE-only
Implementation of supported buffer formats for non-LE is marked as a TODO. Builds, but tests fail and compositors fail to start.
2025-10-30 10:45:48 +01:00
OPNA2608 af0f607f1c mir: 2.22.2 -> 2.23.0 2025-10-17 21:42:38 +02:00
Ashish SHUKLA 1b51260d35 mir: 2.22.1 -> 2.22.2
Changes: https://github.com/canonical/mir/releases/tag/v2.22.2
2025-09-27 12:15:11 +02:00
Ashish SHUKLA 50a8e2a474 mir: 2.22.0 -> 2.22.1
Changes: https://github.com/canonical/mir/releases/tag/v2.22.1
2025-09-16 16:46:24 +02:00
OPNA2608 2e6741461d mir_2_15: Apply patch to skip known-flaky tests
Not sure why this is getting hit consistently on my end now. Maybe due to wlcs bump?
2025-08-27 17:26:43 +02:00
OPNA2608 cc5a26b0ec mir: 2.21.1 -> 2.22.0 2025-08-27 17:05:33 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Cosima Neidahl a2400cdbf8 mir: 2.20.2 -> 2.21.1 (#423439) 2025-07-19 12:30:49 +02:00
OPNA2608 17016c0ca0 mir_2_15: Apply patch to fix compat with newer GTest 2025-07-18 09:48:11 +02:00
OPNA2608 29f0d84b4b mir: Apply patch to fix compat with newer GTest 2025-07-18 01:48:54 +02:00
OPNA2608 4c7eb56a58 mir: 2.21.0 -> 2.21.1 2025-07-18 01:48:54 +02:00
OPNA2608 a9633d818d mir: 2.20.2 -> 2.21.0 2025-07-18 01:48:54 +02:00
R. Ryantm 66aaee5d7d mir: 2.20.1 -> 2.20.2 2025-04-18 12:42:45 +00:00
OPNA2608 f50f14d185 mir: 2.20.0 -> 2.20.1 2025-03-22 16:34:21 +01:00
OPNA2608 aa6d72c89a mir: 2.19.3 -> 2.20.0 2025-03-10 21:44:38 +01:00
OPNA2608 3c0a99ed60 mir,mir_2_15: Drop glog dependency
glog pkg-config file disappeared after https://github.com/NixOS/nixpkgs/pull/364543.

- mir doesn't depend on it anymore
- mir_2_15 did, and re-enabling the pkg-config file for the new glog version errored out

Upstream decided to just drop glog as a dependency, so follow suit.
2025-01-20 21:39:55 +01:00
OPNA2608 b7771dfb42 mir,mir_2_15: Disable UdevWrapperTest.UdevMonitorDoesNotTriggerBeforeEnabling
Failure seems to have been noticed by upstream, I assume they'll look into it:
https://github.com/canonical/mir/issues/3716#issuecomment-2580698552
2025-01-19 19:13:15 +01:00
OPNA2608 9a282e16f6 mir: 2.19.2 -> 2.19.3 2025-01-18 19:13:19 +01:00
OPNA2608 0e5a17a693 mir_2_15: Fix GCC 14 compat 2024-12-27 13:35:13 +01:00
github-actions[bot] f1a4557b32 Merge master into staging-next 2024-12-07 06:04:46 +00:00
OPNA2608 d8840638d2 mir: 2.18.3 -> 2.19.2 2024-12-05 23:14:38 +01:00
K900 d209d800b7 treewide: mesa -> libgbm (where appropriate)
This will likely break things, but anything broken should be easily noticeable.
2024-12-05 12:37:39 +03:00
OPNA2608 aa4e7ee3ba mir: 2.18.2 -> 2.18.3 2024-10-31 22:36:26 +01:00
OPNA2608 20851477dc mir.passthru.updateScript: Look at tags instead of releases
Latest hotfix wasn't pushed as a release.
2024-10-31 22:36:21 +01:00
OPNA2608 27f1f466cb mir: 2.18.0 -> 2.18.2 2024-09-28 22:49:26 +02:00
OPNA2608 ea12c5d0ae mir: Add miriway & miracle-wm as tests 2024-09-27 22:06:53 +02:00
OPNA2608 c1295e6164 mir: 2.17.2 -> 2.18.0 2024-09-27 22:06:53 +02:00
OPNA2608 443e1337c4 mir*: nixfmt 2024-09-27 22:06:52 +02:00
OPNA2608 641065ae19 mir: 2.17.0 -> 2.17.2 2024-09-11 15:49:00 +02:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
OPNA2608 245aee34d9 mir_2_15: init at 2.15.0 2024-06-09 14:47:21 +02:00
OPNA2608 5a6c959fa8 mir: Format with nixfmt-rfc-style, modernise
substituteInPlace --replace is deprecated
2024-06-08 20:40:09 +02:00
OPNA2608 15175aae76 mir: 2.15.0 -> 2.17.0
- Repo owner has changed to canonical
- mircookie has been dropped, mirserver-internal and mircommon-internal added
2024-06-08 20:33:20 +02:00
OPNA2608 9fec44898c mir: Fix tests 2024-05-08 13:39:21 +02:00
OPNA2608 68f4ce778f mir: Disable pre-compiled headers 2024-01-17 02:07:52 +01:00
Peder Bergebakken Sundt ad5e744714 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
This will respect `doCheck = false;` overrides, common for cross.
2023-11-30 18:56:12 +01:00
OPNA2608 89aefe0bfa mir: Fetch patch to fix build 2023-10-25 18:32:43 +02:00
OPNA2608 9e2743f883 mir: 2.14.1 -> 2.15.0 2023-10-25 18:25:02 +02:00
OPNA2608 ae7fb1102f mir: 2.13.0 -> 2.14.1 2023-07-28 12:11:54 +02:00