Commit Graph

723 Commits

Author SHA1 Message Date
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
Vladimír Čunát
8810e738c8
GNOME: 46 → 47 (#333911) 2024-10-15 18:07:04 +02:00
Bobby Rong
394142ea50
gst_all_1.gst-editing-services: Hack for foreign identifier fatal
See the linked issue for build log and bisect result.
2024-10-14 20:54:15 +08:00
github-actions[bot]
bf97df9c1c
Merge staging-next into staging 2024-10-13 00:15:51 +00:00
K900
001fb496bf Merge remote-tracking branch 'origin/master' into staging-next 2024-10-12 21:08:11 +03:00
Matej Cotman
f53387e15a ipu6: update packages
This updates the ipu6 driver and firmware to a more recent version,
which seems to at least work in Chrom{e,ium}.

ipu6-drivers now relies on the in-kernel ipu6 kernel driver, so we
update our logic and metadata for it.
2024-10-12 00:45:04 +03:00
Emily
43701e2bfc
gst_all_1.gstreamer: only try to link libdw if it is available (#347173) 2024-10-08 01:46:01 +01:00
Randy Eckenrode
646d4d5a2d
gst_all_1.gstreamer: only try to link libdw if it is available 2024-10-07 08:13:29 -04:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03: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
Emily
b45e06c521 gst_all_1.*: build with the macOS 12.3 SDK
Thanks to <https://github.com/NixOS/nixpkgs/pull/340131>, this now
works, and we no longer need to vendor the patch.
2024-09-16 17:54:50 +02:00
Emily
a1dbc04bb9
gst_all_1.gstreamer: disable Rust if unavailable (#338999) 2024-09-04 16:12:25 +01:00
github-actions[bot]
51a5301f19
Merge staging-next into staging 2024-09-03 18:04:59 +00:00
Alyssa Ross
28adcaa9b9
gst_all_1.gstreamer: disable Rust if unavailable 2024-09-03 17:47:31 +02:00
Emily
69b18ff3ea gst_all_1.gst-plugins-bad: add patch for macOS < 12 SDK
This now references `kVTVideoDecoderReferenceMissingErr`, which was
added in the macOS 12 SDK. Unfortunately, our 12.3 SDK doesn’t work
to build this package currently. This should hopefully be fixed after
the SDK rework.
2024-09-02 21:15:13 +01:00
Emily
afacb0789d gst_all_1.gst-editing-services: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
aa1c0501b9 gst_all_1.gst-devtools: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
3f2e9f2ee8 gst_all_1.gst-rtsp-server: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
e21f9ba00e gst_all_1.gst-vaapi: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
d8e8d2560e gst_all_1.gst-libav: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
12eaa68d40 gst_all_1.gst-plugins-ugly: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
376d22b787 gst_all_1.gst-plugins-bad: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
4f18a0a9fe gst_all_1.gst-plugins-good: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
830fd9c48b gst_all_1.gst-plugins-base: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Emily
2f7222d34d gst_all_1.gstreamer: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01:00
Alyssa Ross
52b0b4ef3d
gst_all_1.gstreamer: use a better libunwind check
Checking for Darwin didn't take into account that we also use a
libunwind implementation without pkg-config on riscv32-linux.  Fix by
checking for the presence of the pkg-config file required directly,
rather than by using platform as a proxy.
2024-09-02 15:43:46 +02:00
Alyssa Ross
b64a75b72f gst_all_1.gst-plugins-base: disable introspection if unavailable 2024-09-02 15:15:11 +02:00
Alyssa Ross
b5c88efba7
gst_all_1.gstreamer: disable introspection if unavailable 2024-08-31 09:22:31 +02:00
Alyssa Ross
af10a338fe gst_all_1.gstreamer: disable libunwind if unavailable 2024-08-31 09:11:42 +02:00
K900
407d44efd9 gst_all_1.gst-vaapi: add wayland-scanner 2024-08-29 14:13:18 +03:00
github-actions[bot]
d6ec3d9fd7
Merge master into staging-next 2024-08-26 00:13:15 +00:00
Emily
b2d74c3088 gst_all_1.gst-libav: remove libav references 2024-08-25 18:39:02 +01:00
Alyssa Ross
b97d2b7eb1 gst_all_1.gst-plugins-base: depend on wayland-scanner
Currently wayland-scanner is defined to be wayland.bin, but we want to
split wayland-scanner into a separate package.
2024-08-11 16:04:13 +03:00
Alyssa Ross
4fb55bca32 gst_all_1.gst-plugins-bad: depend on wayland-scanner
Currently wayland-scanner is defined to be wayland.bin, but we want to
split wayland-scanner into a separate package.
2024-08-11 16:04:13 +03:00
Alyssa Ross
8a4b60f702 gst_all_1.gst-plugins-rs: 0.12.4 -> 0.12.8
Required to build with Rust 1.80.

Link: https://github.com/rust-lang/rust/issues/127343
2024-08-06 08:24:09 +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
Randy Eckenrode
1b23eff3db
gst_all_1.gst-plugins-rs: use lld on Darwin
ld64 is failing to link these plugins with the following error. lld does not have this problem and can link this plugin successfully.

    section __TEXT,__text reloc 18: symbol index out of range
2024-07-27 09:55:11 -04:00
Alyssa Ross
d9d95fb11b gst_all_1.gst-plugins-bad: make openh264 optional
This fixes building gst-plugins-bad for RISC-V, where openh264 is
unavailable.
2024-07-20 10:07:51 +02:00
Alyssa Ross
ed6effab25 gst_all_1.gstreamer: enable debug info 2024-07-20 10:04:56 +02:00
Alyssa Ross
9526ee7627 gst_all_1.gst-plugins-base: enable debug info 2024-07-20 10:04:39 +02:00
github-actions[bot]
d5bca87877
Merge staging-next into staging 2024-07-02 06:01:38 +00:00
K900
665f1d6183 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 08:32:46 +03:00
Lily Foster
c678743f80 treewide: remove lilyinstarlight 2024-07-02 03:17:01 +02:00
Sefa Eyeoglu
416ba8804b
treewide: use addDriverRunpath
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-30 15:01:01 -04:00
Randy Eckenrode
f806d30ae2
gst_all_1.gst-plugins-good: restore support for dlopen libsoup on Darwin
Upstream removed support for using dlopen on platforms other than Linux to fix https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1171, but Darwin in nixpkgs still needs to find the libsoup dynamically because nixpkgs packages both. Instead of using `dlopen`, Darwin probes for libsoup symbols.
2024-06-21 07:49:23 -04:00
github-actions[bot]
12993f1c4a
Merge staging-next into staging 2024-05-27 18:01:17 +00:00
Sandro Jäckel
7e492aff4b
gst_all_1.gst-plugins-bad: remove wayland packages if gst-plugins-base has wayland disabled 2024-05-26 20:51:01 +02:00
Sandro Jäckel
70ec3a3c0f
gst_all_1.gst-plugins-rs: add withGtkPlugins option 2024-05-26 20:51:00 +02:00
Lily Foster
2545f0d27d
gst_all_1.gst-editing-services: 1.24.2 -> 1.24.3 2024-05-22 10:48:58 -04:00
Lily Foster
246b27f60d
gst_all_1.gst-devtools: 1.24.2 -> 1.24.3 2024-05-22 10:48:44 -04:00