Commit Graph

88 Commits

Author SHA1 Message Date
quantenzitrone
866aa37ba3 xcbutilwm: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:58:46 +01:00
Sigmanificient
fd86090eab wayfire-with-plugins: set pname 2026-02-03 23:34:02 +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
tea
0cf2c6da4d wayfire: 0.10.0 -> 0.10.1 2025-12-03 22:57:15 +01:00
Bobby Rong
6493795ce3 wayfire-with-plugins: Fix nixosTests.mate-wayland eval
error: attribute 'man' missing

ref: c241c7eb26
2025-11-22 14:26:00 +08:00
Sandro Jäckel
74da087fa8 wayfire.wf-shell: add man output 2025-11-17 21:46:09 +01:00
Sandro Jäckel
c241c7eb26 wayfire: add man output 2025-11-17 21:46:08 +01:00
rewine
991dd4ae8c wayfirePlugins: add comments for some aliases 2025-11-13 19:24:56 +08:00
tea
d595d3b51e wayfire: add maintainer teatwig 2025-11-09 14:20:11 +01:00
tea
64bfbd5017 wayfirePlugins.windecor: remove
It will also FTBFS with Wayfire 0.10.
2025-11-09 14:11:10 +01:00
tea
bfa23cd37e wayfirePlugins.wwp-switcher: remove
It will also FTBFS with Wayfire 0.10.
2025-11-09 14:11:10 +01:00
tea
a6318ced8e wayfirePlugins.wayfire-plugins-extra: 0.9.0 -> 0.10.0
Build all plugins in the subprojects by default.
These can be excluded by passing the respective `with*Plugin` attribute.

Remove `wayfirePlugins.focus-request` and
`wayfirePlugins.wayfire-shadows` as they are now included with
`wayfirePlugins.wayfire-plugins-extra`.
2025-11-09 14:09:36 +01:00
tea
a3d3443757 wayfirePlugins.wcm: 0.9.0 -> 0.10.0 2025-11-09 13:06:41 +01:00
tea
d664740429 wayfire: 0.9.0 -> 0.10.0 2025-11-09 13:01:38 +01:00
tea
049ae4afc3 wf-config: 0.9.0 -> 0.10.0 2025-11-09 12:53:23 +01:00
rewine
fc2e2eeb82 maintainers: rename 'rewine' to 'wineee'
Because my displayed name and username on GitHub are not the same, some users may mistakenly think that [rewine](https://github.com/rewine) is my account.
2025-09-08 14:00:29 +08:00
Bobby Rong
d864446d8a wayfirePlugins.firedecor: Remove
It will also FTBFS with wayfire 0.10.
2025-09-03 21:59:37 +08:00
R. Ryantm
c1f0bcf30a wayfirePlugins.wf-shell: 0.9.0 -> 0.10.0 2025-08-27 18:28:41 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
R. Ryantm
9731031c17 wayfirePlugins.wayfire-shadows: 0-unstable-2024-08-30 -> 0-unstable-2025-03-04 2025-03-05 14:48:19 +00:00
FliegendeWurst
d4c0bd6dc5 wf-config: fix and enable strictDeps 2025-01-20 09:14:05 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
rewine
487972dea2 wayfirePlugins.wayfire-shadows: unstable-2024-03-28 -> 0-unstable-2024-08-30 (#338602) 2024-08-31 23:46:47 +08:00
R. Ryantm
718661602a wayfirePlugins.wayfire-shadows: unstable-2024-03-28 -> 0-unstable-2024-08-30 2024-08-31 11:04:47 +00:00
Vladimír Čunát
5ff7fdc39e wayfirePlugins.wayfire-plugins-extra: fix build, missing wayland-scanner 2024-08-31 11:40:55 +02:00
Philip Taron
ae92f312bf treewide: use a consistent meta.priority default 2024-08-29 09:04:57 -07:00
rewine
9d9da2f273 wayfirePlugins.wcm: 0.8.0 -> 0.9.0 2024-08-27 15:38:09 +08:00
rewine
fe90683429 wayfirePlugins.wayfire-shadows: fix build 2024-08-25 16:29:08 +08:00
rewine
1e1cd72e58 wayfirePlugins.wayfire-plugins-extra: 0.8.1 -> 0.9.0 2024-08-25 16:21:37 +08:00
rewine
123b725bf8 wayfirePlugins.wf-shell: 0.8.1 -> 0.9.0 2024-08-25 16:21:37 +08:00
rewine
6ca32a10a3 wayfire: 0.8.1 -> 0.9.0 2024-08-25 16:21:37 +08:00
rewine
ddec3d4514 wf-config: 0.8.0 -> 0.9.0 2024-08-25 16:21:37 +08:00
R. Ryantm
5fc0daaf3c wayfirePlugins.wwp-switcher: unstable-2023-09-09 -> 0-unstable-2024-07-23 2024-08-03 07:01:33 +00:00
Alyssa Ross
2819418fc0 wayfire: drop maintainership 2024-06-25 08:35:50 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +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
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
rewine
c47d5736af wayfireplugins.focus-request: fix hash 2024-04-04 05:31:14 +08:00
R. Ryantm
d526d76fe7 wayfirePlugins.wayfire-shadows: unstable-2023-09-09 -> unstable-2024-03-28 2024-03-29 00:39:03 +00:00
rewine
efae95be3d wayfire: set nessasary propagatedBuildInputs required by wayfire.pc 2024-03-27 22:51:30 +08:00
rewine
c167f6efdb wayfire: trigger mate-wayland tests 2024-03-27 22:51:30 +08:00
rewine
ab2c5d034e wayfirePlugins.wwp-switcher: init at unstable-2023-09-09 2024-03-27 22:51:29 +08:00
rewine
d3753949d8 wayfirePlugins.focus-request: init at 0.8.0.2 2024-03-27 22:51:29 +08:00
rewine
cec9c1f930 wayfirePlugins.wayfire-shadows: init at unstable-2023-09-09 2024-03-27 22:51:29 +08:00
rewine
54b435377c wayfirePlugins.wayfire-plugins-extra: 0.8.0 -> 0.8.1 2024-03-26 18:51:19 +08:00
rewine
e15c4cb465 wayfire: 0.8.0 -> 0.8.1 2024-03-23 21:07:27 +08:00
Bobby Rong
3b48b3aaa9 Merge pull request #289062 from bobby285271/upd/mate
MATE 1.28
2024-03-16 21:38:24 +08:00