Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
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
OPNA2608
a9633d818d mir: 2.20.2 -> 2.21.0 2025-07-18 01:48:54 +02: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
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
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