Commit Graph

15 Commits

Author SHA1 Message Date
K900
e12830446f treewide: drop now-unused KF5 and Qt5 libraries 2026-05-08 09:34:21 +03:00
K900
9e73874a49 libsForQt5.knotifications: remove phonon, add libcanberra
Drive-by fix.
2026-05-08 09:30:33 +03:00
DDoSolitary
27aa75bf80 libsForQt5.knotifications: fix tray icon context menu
libdbusmenu-qt is required for tray icon context menu support.

KDE 6 has a standalone kstatusnotifieritem library which vendors
libdbusmenu-qt with Qt 6 patches. However, this KDE 5 version (which is
used by plasma-integration.qt5) needs libdbusmenu-qt as an external
dependency.
2026-03-20 15:44:21 +08:00
Emily
2892e0cfe3 libsForQt5.knotifications: drop optional libdbusmenu dependency
K900 tells me this is not used for anything very relevant and I am
innocently trusting that. LXQt have their own fork.
2025-09-17 14:38:37 +01:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02: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
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Weijia Wang
c155ee2b7f plasma5Packages.kactivities: refactor 2023-04-24 23:28:48 +03:00
Felix Buehler
f24f73b562 kde-frameworks: rename name to pname 2022-02-23 18:28:27 +01:00
Thomas Tuegel
e1aa8a713b kdeFrameworks: remove redundant maintainer lists
I am automatically a maintainer of all packages in the set, so there is not
reason to mention me explicitly as the maintainer of every individual package.
2021-04-07 14:12:19 -05:00
Thomas Tuegel
faf0d3e91d kdeFrameworks: fixup inputs and outputs
- Reduce environment pollution with a separate $bin output containing programs,
  plugins, and shared data. Libraries remain in $out and are not installed into
  the environment.
- Only propagate build inputs as required.
2017-06-18 08:44:45 -05:00
Thomas Tuegel
945758f960 kdeFrameworks: rename kdeFramework to mkDerivation 2017-06-18 08:42:20 -05:00
Thomas Tuegel
127bf18a35 extra-cmake-modules: Lift Qt dependency 2017-02-27 11:49:46 -06:00
Thomas Tuegel
b390eb39ae kde5: fix extra-cmake-modules hooks 2016-07-30 09:36:52 -05:00
Thomas Tuegel
4856a2a1ea build KDE Frameworks with each Qt version 2016-07-28 18:27:13 -05:00