Commit Graph

46 Commits

Author SHA1 Message Date
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
Bobby Rong
1f92079057 timeshift: 25.12.3 -> 25.12.4
https://github.com/linuxmint/timeshift/compare/25.12.3...25.12.4
2026-01-09 21:59:32 +08:00
Bobby Rong
646d60caba timeshift: 25.12.1 -> 25.12.3
https://github.com/linuxmint/timeshift/compare/25.12.1...25.12.3
2026-01-07 23:07:56 +08:00
Bobby Rong
96ca26e50a timeshift: 25.12.0 -> 25.12.1
https://github.com/linuxmint/timeshift/compare/25.12.0...25.12.1
2025-12-14 16:38:21 +08:00
Bobby Rong
fcb8a88a13 timeshift: 25.07.7 -> 25.12.0
https://github.com/linuxmint/timeshift/compare/25.07.7...25.12.0
2025-12-12 23:17:26 +08:00
Sandro Jäckel
20384a7f4e timeshift: add man output 2025-11-11 22:09:50 +01:00
Pol Dellaiera
ea9c6a4144 timeshift: use util-linuxMinimal 2025-09-05 13:44:01 +02:00
Pol Dellaiera
e8523e5c30 timeshift: remove with lib; from meta 2025-09-05 13:44:01 +02:00
Pol Dellaiera
5ba30f6bdd timeshift: use tag 2025-09-05 13:44:01 +02:00
Pol Dellaiera
fd52eaec4f timeshift: use finalAttrs pattern 2025-09-05 13:43:28 +02:00
Bobby Rong
3ede2409d3 timeshift: 25.07.6 -> 25.07.7
https://github.com/linuxmint/timeshift/compare/25.07.6...25.07.7
2025-09-04 22:32:32 +08:00
Bobby Rong
17e7f404a5 timeshift: 25.07.5 -> 25.07.6
https://github.com/linuxmint/timeshift/compare/25.07.5...25.07.6
2025-08-28 09:17:55 +08:00
Bobby Rong
7fb6a85195 timeshift: 25.07.4 -> 25.07.5
https://github.com/linuxmint/timeshift/compare/25.07.4...25.07.5
2025-08-07 21:14:58 +08:00
Bobby Rong
287c975116 timeshift: 24.06.6 -> 25.07.4
https://github.com/linuxmint/timeshift/compare/24.06.6...25.07.4

The timeshift-launcher substitution upstreamed:
98af104999

run-parts introduced in:
b20c307d45
2025-08-02 20:54:12 +08:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02: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
misuzu
5ebb27a7f2 timeshift: fix string substitution during the patchPhase (#362799) 2025-02-05 22:01:01 +02:00
Bobby Rong
58383419d9 timeshift: 24.06.5 -> 24.06.6
https://github.com/linuxmint/timeshift/compare/24.06.5...24.06.6
2025-01-11 11:00:27 +08:00
Bobby Rong
f08e95b16f timeshift: Fix GCC 14 build
TeeJee.Process.c:1134:9: error: implicit declaration of function 'kill'
2024-12-23 23:19:02 +08:00
Yueh-Shun Li
c00b800033 timeshift: timeshift-launcher: hard-code the timeshift-gtk path 2024-12-07 22:02:15 +08:00
Yueh-Shun Li
8c5116e6a5 timeshift: explain the timeshift-launcher string substitution 2024-12-07 20:50:32 +08:00
Yueh-Shun Li
b201cc703f timeshift: patch timeshift-launcher with escapeShellArg instead of a patch file 2024-12-07 20:50:27 +08:00
Yueh-Shun Li
cb41be5586 timeshift: use substituteInPlace --replace-fail 2024-12-07 20:49:30 +08:00
Yueh-Shun Li
f25c116707 timeshift: sort dependencies alphabetically 2024-12-07 17:16:34 +08:00
Yueh-Shun Li
c6a09301bd timeshift: format expressions 2024-12-07 17:07:41 +08:00
Yueh-Shun Li
7d4576b814 timeshift: fix meta.longDescription (the wrapper part) 2024-12-06 22:10:48 +08:00
Yueh-Shun Li
74fc7ef8c2 timeshift: 24.06.3 -> 24.06.5 2024-12-06 22:02:40 +08:00
Sigmanificient
6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
Bobby Rong
54cfad47c4 timeshift: 24.06.2 -> 24.06.3
https://github.com/linuxmint/timeshift/compare/24.06.2...24.06.3
2024-07-22 20:50:43 +08:00
Bobby Rong
3c523060d9 timeshift: 24.06.1 -> 24.06.2
https://github.com/linuxmint/timeshift/compare/24.06.1...24.06.2
2024-06-24 22:03:15 +08: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
Bobby Rong
6bdc9ea86d timeshift: 24.01.1 -> 24.06.1
https://github.com/linuxmint/timeshift/compare/24.01.1...24.06.1
2024-06-06 22:26:20 +08: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
Bobby Rong
36b1ba6a6f timeshift: 23.12.2 -> 24.01.1
https://github.com/linuxmint/timeshift/compare/23.12.2...24.01.1
2024-01-05 21:20:48 +08:00
Bobby Rong
2a4e36d02b timeshift: 23.12.1 -> 23.12.2
https://github.com/linuxmint/timeshift/compare/23.12.1...23.12.2
2023-12-28 22:13:08 +08:00
Bobby Rong
f4574d7924 timeshift: 23.07.1 -> 23.12.1
https://github.com/linuxmint/timeshift/compare/23.07.1...23.12.1
2023-12-07 22:29:22 +08:00
Bobby Rong
e01711b319 timeshift: 23.06.2 -> 23.07.1
https://github.com/linuxmint/timeshift/compare/23.06.2...23.07.1
2023-07-09 11:17:53 +08:00
Bobby Rong
f5c313f2fc timeshift: 22.11.2 -> 23.06.2
https://github.com/linuxmint/timeshift/compare/22.11.2...23.06.2
2023-06-13 20:47:39 +08:00
Bobby Rong
70292fc740 timeshift: 22.11.1 -> 22.11.2
https://github.com/linuxmint/timeshift/compare/22.11.1...22.11.2
2023-01-08 11:26:33 +08:00
Bobby Rong
131c145e61 timeshift: 22.06.5 -> 22.11.1
https://github.com/linuxmint/timeshift/compare/22.06.5...22.11.1
2022-11-29 10:11:56 +08:00
Bobby Rong
ab8f86d73f various: add bobby285271 as maintainer (#198911)
Basically Linux Mint related packages.
Cinnamon 5.6 is likely to happen soon, I want to make sure no duplicate work is done.
2022-11-01 17:24:40 +08:00
Bobby Rong
be91726358 treewide: rename cinnamon.xapps to cinnamon.xapp
https://github.com/linuxmint/xapps redirects to https://github.com/linuxmint/xapp, and the meson project name is xapp.
2022-08-03 20:47:04 +08:00
Bobby Rong
8df09e8ff4 timeshift: 22.06.1 -> 22.06.5 2022-07-30 19:51:15 +08:00
Robert Schütz
40990c3586 treewide: don't use utillinux alias 2022-06-27 04:55:23 +00:00
Shamrock Lee
c7cb6f9539 timeshift: init at 22.06.1 2022-06-07 22:28:24 +08:00