Commit Graph

35 Commits

Author SHA1 Message Date
Hythera
dbfed0fa8c maintainers: remove ftrvxmtrx 2026-07-08 12:48:27 +02:00
Stefan Frijters
e1dfe0bfcf enlightenment.efl: enable structuredAttrs and strictDeps, modernize 2026-05-31 10:54:44 +02:00
Lisanna Dettwyler
32debf4663 enlightenment.efl: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:30:10 -04:00
José Romildo
1346f8e400 enlightenment.efl: fix build with gcc 15 2026-01-26 18:42:57 -03: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
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
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
José Romildo
57470e8198 enlightenment.efl: 1.28.0 -> 1.28.1 2025-03-20 15:24:58 -03:00
K900
e3d253138d enlightenment.efl: use mesa-gl-headers 2025-03-06 09:09:51 +03:00
José Romildo
e22dd4d316 enlightenment.efl: 1.27.0 -> 1.28.0 2025-01-23 16:58:51 -03:00
K900
9cca2e80d6 efl: annotate why we use mesa 2025-01-22 09:44:52 +03:00
Sergei Trofimovich
566063bf6d enlightenment.efl: revert from libgbm to mesa to fix the build
Without the change the build fails as
https://hydra.nixos.org/build/282796393:

    In file included from ../src/modules/evas/engines/gl_drm/evas_engine.c:2:
    ../src/modules/evas/engines/gl_drm/evas_engine.h:24:11: fatal error: EGL/eglmesaext.h: No such file or directory
       24 | # include <EGL/eglmesaext.h>
          |           ^~~~~~~~~~~~~~~~~~
2025-01-12 22:47:11 +00:00
Silvan Mosberger
84d4f874c2 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 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +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
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Alyssa Ross
a937795445 enlightenment.efl: depend on wayland-scanner
Otherwise, wayland-scanner would be picked up from the wayland in
buildInputs, which isn't cross-friendly and will stop working when we
split wayland-scanner into a separate package.
2024-08-11 12:50:54 +03:00
José Romildo
da490f0a16 enlightenment.efl: 1.26.3 -> 1.27.0 2023-12-25 17:00:13 -03:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
José Romildo
c0fd40d912 enlightenment.efl: add update script 2022-10-27 10:03:04 -03:00
R. Ryantm
9e9a243aa9 enlightenment.efl: 1.26.2 -> 1.26.3 2022-09-17 06:29:20 +00:00
ajs124
45ec5898cb maintainers: remove tstrobel
was ts468 on github afaict and was actually a committer, but that account hasn't been active since early 2018
2022-06-29 00:54:53 +02:00
José Romildo
8773488cc8 enlightenment: add maintainers team 2022-04-14 11:28:21 -03:00
José Romildo
8a65a94a87 enlightenment.efl: 1.26.1 -> 1.26.2 2022-02-10 10:59:59 -03:00
José Romildo
c740c8ff9f enlightenment.efl: 1.26.0 -> 1.26.1 2022-01-03 23:11:49 -03:00
José Romildo
7981024aaf enlightenment.efl: 1.25.1 -> 1.26.0 2021-12-27 18:45:08 -03:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Graham Christensen
bc49a0815a utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
José Romildo Malaquias
95c5c35346 enlightenment.efl: 1.25.0 -> 1.25.1 2020-10-12 12:53:33 -03:00
José Romildo Malaquias
c98d83b15c enlightenment.efl: enable wayland client support 2020-10-04 23:13:42 -03:00
José Romildo Malaquias
38a1e2f7ee enlightenment.efl: use pkg-config instead of the alias pkgconfig 2020-10-04 23:13:41 -03:00
José Romildo Malaquias
bf0370c045 enlightenment.efl: fix license 2020-10-04 23:13:41 -03:00
José Romildo Malaquias
3df1ed1289 enlightenment.efl: 1.24.3 -> 1.25.0
- Update version
- Explicitly enable Lua launcher binary support and language bindings,
  as they are now disabled by default
- Remove a patch that has been integrated upstream
- luaL_reg is no longer required (according to Fedora package: https://src.fedoraproject.org/rpms/efl/blob/master/f/efl.spec)
2020-09-26 20:07:52 -03:00
José Romildo Malaquias
b629c01704 enlightenment.efl: add needed libraries 2020-08-28 16:58:26 -03:00
José Romildo Malaquias
81dd022471 enlightenment.efl: move to pkgs/desktops/enlightenment/efl/ 2020-08-01 20:05:22 -03:00