Commit Graph

25 Commits

Author SHA1 Message Date
quantenzitrone
93a668bc54 squashfs-tools: rename from squashfsTools, enable structuredAttrs
upstream package is called squashfs-tools and other distros also call the package this way https://repology.org/project/squashfs-tools
2026-08-17 14:32:21 +02:00
Sandro
c1a23c9383 plex-desktop: 1.109.0 -> 1.112.0, add libgbm to satisfy auto-patchelf (#471465) 2026-02-02 22:12:09 +00: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
samhatter
75446c7cc8 plex-desktop: making icon desktop entry generic reference 2025-12-28 11:43:06 -08:00
detroyejr
c36097712f plex-desktop: add libgbm to satisfy auto-patchelf 2025-12-16 14:20:22 -05:00
detroyejr
88bbd3fa54 plex-desktop: 1.109.0 -> 1.112.0 2025-12-16 14:18:21 -05:00
samhatter
cf0b15a4b6 plex-desktop: adding StartupWMClass to .desktop file 2025-09-09 19:02:19 -07:00
Gutyina Gergő
db6926cd48 plex-desktop: move libedit to buildInputs 2025-08-17 14:04:20 +02:00
Gutyina Gergő
114abf2c40 plex-desktop: switch to libxml2_13 that has patches for 5 CVEs 2025-08-17 14:01:11 +02:00
Gutyina Gergő
04eb60b51b plex-desktop: fix build 2025-06-20 23:12:19 +02:00
Sandro
f1fa97800e plex-desktop: unset QT env variables that may cause crashing (#404177) 2025-06-09 20:14:15 +02:00
R. Ryantm
3498fc21c8 plex-desktop: 1.108.1 -> 1.109.0 2025-05-23 13:49:18 +00:00
detroyejr
1e1a3ccd2c plex-desktop: unset QT env variables that may cause crashing 2025-05-04 14:24:56 -04:00
detroyejr
78a0698b6b plex-desktop: 1.101.0 -> 1.108.1 2025-02-20 10:25:55 -05:00
detroyejr
8bb480e0e3 plex-desktop: cleanup flatpak dependencies 2025-02-16 19:10:33 -05:00
emaryn
76e87ff219 plex-desktop: fix noBrokenSymlinks 2025-02-09 07:53:48 +08:00
FliegendeWurst
28d1c1799c plex-desktop: fix and enable strictDeps 2025-01-20 16:40:29 +01:00
detroyejr
e1a323aaf8 plex-desktop: update sqlite write permissions 2024-12-17 23:02:27 -05:00
detroyejr
f75933378e plex-desktop: add libdrm to FHS environment 2024-11-18 13:06:15 -05:00
detroyejr
545276d8e6 plex-desktop: remove version from desktop exec 2024-10-14 15:40:17 +02:00
detroyejr
4e3b69e110 plex-desktop: inherit pname, meta, and enable update.sh
Replaces #328708 and closes https://github.com/NixOS/nixpkgs/issues/345618
2024-10-02 12:45:32 -04:00
detroyejr
dab7fc979d plex-desktop: format with nixfmt 2024-10-01 15:57:16 -04:00
Andrea Coradi
13d19ef4d5 plex-desktop: 1.96.0 -> 1.101.0 2024-09-21 23:52:33 +02:00
Sandro
1ee322950d plex-desktop: use --replace-fail everywhere 2024-07-17 18:40:50 +02:00
detroyejr
101f71dce0 plex-desktop: init at 1.96.0
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-07-16 12:35:48 -04:00