Commit Graph

767 Commits

Author SHA1 Message Date
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
Orivej Desh
1fd89a5e8f keysmith: fix empty gui
Withouth kirigami-addons it displays an empty window and prints:

org/kde/kirigami.2/PageRow.qml:914: Error:
Error while loading page: qrc:/UnlockAccounts.qml:12
module "org.kde.kirigamiaddons.labs.mobileform" is not installed
2024-09-08 21:54:34 +00:00
Vladimír Čunát
cdc00446f8
spectacle: fix build, missing wayland-scanner 2024-08-31 10:12:23 +02:00
Vladimír Čunát
a6728cf836
gwenview: fix build, missing wayland-scanner 2024-08-31 10:07:48 +02:00
github-actions[bot]
d62aaef66a
Merge master into staging-next 2024-08-28 00:13:03 +00:00
Sandro
58bd90220b
ffmpeg_4: almost drop (#336401) 2024-08-27 22:08:20 +02:00
github-actions[bot]
0629545b27
Merge master into staging-next 2024-08-27 00:13:08 +00:00
Emily
d62b72d4ee libsForQt5.ffmpegthumbs: unpin FFmpeg 4
Builds fine with FFmpeg 7, and Arch ships it like that.
2024-08-22 15:22:20 +01:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Alyssa Ross
b96f111a71 plasma5Packages.krfb: 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 16:04:16 +03:00
Sigmanificient
aab1113d4a treewide: normalize maintainers list formatting
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
K900
a8c851bd92 kdePackages.kdenlive, plasma5Packages.kdenlive: drop glaxnimate from inputs
It's not actually needed as a library, only as a binary, and adding it
leaks duplicate OpenCVs into the closure, which breaks rendering.

Fixes #329747
Fixes #209941
2024-07-27 10:06:50 +03:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Tobias Bora
6e5b099e16 kdenlive: minor refactoring 2024-07-04 17:35:42 +03:00
Tobias Bora
cc9be80fec kdenlive: make glaxnimate non-optional 2024-07-04 10:39:22 +02:00
Tobias Bora
4fd86e2bf7 mlt: add glaxnimate support 2024-07-04 10:39:22 +02:00
Linus Heckemann
e5adf0b547 maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00
Samuel Dionne-Riel
0833ea2c18 applications/kde: Remove samueldr as maintainer of mobile gear 2024-06-20 20:42:26 -04: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
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Sandro
d2768ea8ba
Merge pull request #308448 from r-ryantm/auto-update/corrosion
corrosion: 0.4.8 -> 0.5
2024-06-09 16:01:14 +02:00
Robert Schütz
270cf648af libsForQt5.angelfish: fix build with corrosion 0.5 2024-06-08 22:33:40 -07:00
Sigmanificient
0058552891 pkgs/applications: remove uneeded fetchpatch arguments 2024-05-21 03:12:20 +02:00
Jan Tojnar
1b2ebb8fbb Merge branch 'master' into staging-next 2024-04-28 17:33:27 +02:00
Frederik Rietdijk
5772ac5a75 Removing FRidh as active maintainer of packages
In the past I was very active with Python packaging.
For several years now I was hardly around as maintainer,
so it does not make sense I am listed as a maintainer for
these makes. Looking back, I should have removed myself
as maintainer already much longer ago. Anyway, better late
than never.

It's been a fun ride, and  I do intend to occasionally contribute
to Nixpkgs, but not in the same way it once was.
2024-04-28 12:20:07 +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
Sandro Jäckel
94805a3d21
nixos/partition-manager: use qt6 when plasma6 is activated
This also fixes System Settings > Windows Shares complaining about the
wrong QT version under Plasma6.
2024-03-30 14:31:45 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Doron Behar
aab285e925 cantor: fix build on Hydra by avoiding parallel building 2024-03-12 17:01:18 +02:00
K900
416c9181cd gwenview: fix build with versioned kImageAnnotator 2024-02-28 18:49:12 +03:00
Guillaume Girol
905c33738b
Merge pull request #289121 from Thra11/arianna-kitemmodels
arianna: add missing runtime dependency
2024-02-27 21:40:55 +01:00
Thomas Gerbet
3bf7b3d10e
Merge pull request #286546 from Sigmanificient/kcachegrind-fix
kcachegrind: fix graphviz missing at runtime
2024-02-25 12:06:03 +01:00
John Garcia
65f6e5e665 libsForQt5.konsole: add missing meta.mainProgram 2024-02-20 12:13:21 +00:00
Robert Schütz
cbff16ce42
Merge pull request #288094 from dotlambda/itinerary-dependencies
plasma5Packages.itinerary: add missing dependency
2024-02-17 16:47:25 +00:00
Tom Hall
fb19dea01f arianna: add missing runtime dependency 2024-02-15 19:06:58 +00:00
K900
60a6ca4db2 kde/gear: 23.08.4 -> 23.08.5 2024-02-15 17:28:41 +03:00
Robert Schütz
4c863e62e9 plasma5Packages.itinerary: add missing dependency 2024-02-11 09:36:08 -08:00
Sigmanificient
67d1d801b0 kcachegrind: fix graphviz missing at runtime 2024-02-05 19:29:39 +01:00
Sandro
121b537238
Merge pull request #273263 from syvb/fix-audiotube-kpurpose 2024-02-05 16:27:42 +01:00
arthsmn
3a8951ea93 gwenview: add mainProgram 2024-01-15 13:05:30 +01:00
Weijia Wang
e10c14a05b libsForQt5.kpmcore, partition-manager: move to applications/kde 2024-01-07 18:49:21 +01:00
Rick van Schijndel
ab09ab75a9
Merge pull request #272656 from turion/dev_kdenlive_mlt
kdenlive: Use ffmpeg-full for mlt
2023-12-10 19:34:31 +01:00
syvb
7fbc26ac84 libsForQt515.audiotube: depend on kpurpose
Audiotube depends on Purpose, and fails to launch if it is unavailable.
Fixes that by adding `kpurpose` as a build dependency.

Closes #228179.
2023-12-09 20:44:59 -05:00
K900
4dd98e83c8 kde/gear: 23.08.3 -> 23.08.4 2023-12-08 13:30:20 +03:00
Manuel Bärenz
034ea1399f kdenlive: Use ffmpeg-full for mlt 2023-12-07 12:33:28 +01:00
Pol Dellaiera
4fa7d5f33d
Merge pull request #271424 from NinjaFB/add-kalgebra
kalgebra: init at 23.08.3
2023-12-05 09:10:52 +01:00
NinjaFB
44d6d9ff6a kalgebra: init at 23.08.3 2023-12-05 09:02:43 +11:00
Jörg Thalheim
4f403bc3aa grantletheme: fix loading in kmail/kontact
This fixes a 5 year old bug (old enough to go to school) where kmail was
not able show emails (also appeared in kontact).

fixes https://github.com/NixOS/nixpkgs/issues/160599

The solution is not pretty but effective and involves
working around the broken search path of kde related libraries.
2023-12-01 15:59:25 +01:00