Commit Graph

145 Commits

Author SHA1 Message Date
whoomee
3c13877d44 gst_all_1.gst-plugins-good: refactor mesonFlags 2026-08-12 12:33:55 +02:00
whoomee
137c05240f gstreamer: 1.28.5 -> 1.28.6 2026-08-12 12:33:54 +02:00
Vladimír Čunát
f9ba74678e gstreamer: 1.28.4 -> 1.28.5 (#541369) 2026-07-27 09:12:51 +00:00
whoomee
311df0ada3 gstreamer: 1.28.4 -> 1.28.5 2026-07-22 15:02:13 +02:00
Emily
47052acf7c Revert "gstreamer: fix build on darwin"
The ld64 issue has been fixed.

This reverts commit fb7e042104.
2026-07-15 03:26:25 +01:00
sempiternal-aurora
fb7e042104 gstreamer: fix build on darwin 2026-07-02 17:43:33 +10:00
whoomee
59c13e1be6 gstreamer: enable strictDeps/structuredAttrs 2026-06-23 21:22:18 +02:00
whoomee
d6af1a2833 gstreamer: 1.26.11 -> 1.28.4 2026-06-22 13:07:29 +02:00
whoomee
e653534503 gstreamer: use odd-unstable versioning 2026-06-22 13:07:28 +02:00
whoomee
f9e91528eb gstreamer: 1.26.5 -> 1.26.11, adopt 2026-03-16 15:59:52 +01:00
K900
3ac81a5564 Merge remote-tracking branch 'origin/staging-next' into staging 2026-01-26 21:15:56 +03: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
Alyssa Ross
dc8565bb3a gst_all_1.gstreamer: move plugin pc files to $dev (#413193) 2026-01-21 18:42:45 +00:00
Alyssa Ross
cbc5c8ff44 gst_all_1: move plugin pc files to $dev
The multiple-outputs hook doesn't know to handle pkg-config files in
subdirectories like these.  Fixing this resolves a reference cycle
that caused building under pkgsStatic to fail.
2026-01-21 19:18:17 +01:00
OPNA2608
2de5406ecd gst_all_1.gst-plugins-good: Request assembly optimisations, exclude nasm on non-x86_64 2026-01-12 15:04:13 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Marcin Serwin
42c6232eec maintainers: drop matthewbauer
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-16 13:42:02 +01:00
Olivier LDff
cd7c44ecf0 gstreamer: 1.26.3 -> 1.26.5 2025-08-21 07:29:23 +02:00
K900
4ee8f4d27c gstreamer: 1.26.0 -> 1.26.3 (#420649) 2025-08-14 17:29:20 +03:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Olivier LDff
d1964e1780 gstreamer: 1.26.0 -> 1.26.3 2025-06-28 11:33:14 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Ihar Hrachyshka
e8a40a55b0 gst_all_1.*: use the same apple-sdk_13 for all subpackages
It was already bumped to _13 for -bad in:
https://github.com/NixOS/nixpkgs/pull/398009

It's preferable to have the same SDK version across all subpackages, to
avoid potential problems or missing features.

Enabled enableCocoa for -base for x86_64; the new darwin SDK pattern
seems to have fixed the build issue we had before.

Also, cleaned up old darwin sdk stubs for frameworks. These are of no
effect since 24.11 and can be safely removed.
2025-04-12 16:09:29 -04:00
Jan Tojnar
ee3806f54c gst_all_1.gst-plugins-good: Add passthru.tests
Check that supported overrides build.

Also fix build with Qt6.
2025-04-04 11:59:55 +02:00
Silvan Mosberger
e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Alyssa Ross
339008865b gst_all_1.gst-plugins-good: fix build for musl 2025-03-28 10:40:26 +01:00
Jan Tojnar
ed0ddc3502 gst_all_1: Disable GLIB_DEBUG
`glib_debug` option (`gobject-cast-checks` prior to 1.26) defaults to `auto`, which would result in the cast checks being disabled on stable versions, if we did not use `-Dauto_features=enabled`. Let’s disable the option as it is meant to be on stable releases: https://gitlab.gnome.org/GNOME/glib/-/blob/main/docs/macros.md#g_enable_debug

Also remove option disabling `glib_asserts`. It was introduced in 800ceaf1bd to remove references to `dev` output caused by `__FILE__` used in assertions but they no longer seem to appear. While the option supported the `auto` means disabled on stable versions feature, the option was actually enabled by default, so the comment was incorrect.
2025-03-27 11:02:49 +01:00
Jan Tojnar
04ae28a522 gst_all_1.gst-plugins-good: 1.24.10 → 1.26.0
- Update https://gstreamer.freedesktop.org/releases/1.26/
  - darwin dynamic loading fixed https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7635
  - debug options renamed
- Format expression
- Use `finalAttrs` pattern
- Move environment variable to `env`
- Move `outputs` above `src` for consistency with other GStreamer packages
- Add `updateScript`
2025-03-27 06:59:10 +01:00
Wolfgang Walther
b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Reno Dakota
5af5812fd4 gst_all_1.*: 1.24.7 -> 1.24.10
https://discourse.gstreamer.org/t/gstreamer-1-24-10-stable-bug-fix-release/3683
2024-12-14 08:54:55 +00: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
4f18a0a9fe gst_all_1.gst-plugins-good: 1.24.3 -> 1.24.7 2024-09-02 16:59:51 +01: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
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
Lily Foster
d31b758605 gst_all_1.gst-plugins-good: 1.24.2 -> 1.24.3 2024-05-22 10:47:10 -04:00
Vladimír Čunát
725f48a252 Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
Sandro Jäckel
1e2968158f gst_all_1.gst-plugins-good: add enableWayland option 2024-04-28 19:01:48 +02:00
Lily Foster
6023993a2b gst_all_1.gst-plugins-good: make libdrm linux-only 2024-04-22 17:21:08 -04:00
Maxine Aubrey
a368636ff0 gst_all_1.gst-plugins-good: 1.24.1 → 1.24.2 2024-04-22 21:11:29 +02:00
Maxine Aubrey
04001a455d gst_all_1.gst-plugins-good: 1.22.9 → 1.24.1 2024-04-22 21:11:15 +02:00
Vladimír Čunát
bf641bb943 Merge #276408: gst_all_1.gst-plugins-good: dlopen libsoup_3 with an absolute path
...into staging
2024-02-29 19:37:34 +01:00
Alyssa Ross
b0d9fc36ac gst_all_1.gst-plugins-good: 1.22.8 -> 1.22.9 2024-02-10 16:23:22 +01:00
annalee
f465c29e04 gst_all_1.gst-plugins-good: dlopen libsoup_3 with an absolute path 2023-12-29 12:32:50 +00:00
Lily Foster
563bfbdd45 gst_all_1.gst-plugins-good: 1.22.7 -> 1.22.8 2023-12-22 10:51:47 -05:00
Vladimír Čunát
dc40324f59 Merge #269902: gst_all_1.*: 1.22.6 -> 1.22.7
...into staging
2023-11-26 06:15:59 +01:00
Lily Foster
4ae96968a2 gst_all_1.gst-plugins-good: 1.22.6 -> 1.22.7 2023-11-25 09:11:53 -05:00
Max
b103e1e3d7 gst-plugins-good: add openssl dependency 2023-11-15 21:02:42 +01:00