Commit Graph

56 Commits

Author SHA1 Message Date
Emily
1d1caa92dd Revert "qt6.qtbase: work around ld64 hardening issue"
The ld64 issue has been fixed.

This reverts commit fc952632d9.
2026-07-15 03:26:25 +01:00
Emily
fc952632d9 qt6.qtbase: work around ld64 hardening issue 2026-07-03 16:53:14 +01:00
Weijia Wang
75e94d8a89 qt6.qtbase: fix darwin permissions for statically linked plugins (#530890) 2026-06-17 21:53:18 +00:00
Nathan Henrie
6e58884bf2 qt6.qtbase: fix darwin permissions for statically linked plugins
Assisted-by: Claude (Fable)

Fixes https://github.com/NixOS/nixpkgs/issues/530884
2026-06-11 18:10:53 -06:00
nixpkgs-ci[bot]
13e9f64a65 Merge staging-next into staging 2026-05-25 18:35:07 +00:00
Sigmanificient
0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
K900
1b3320b2d9 qt6: 6.11.0 -> 6.11.1 2026-05-23 14:56:13 +03:00
K900
84c72525e9 qt6.qtbase: backport fix for another freetype related crash 2026-05-05 19:46:53 +03:00
K900
1ca5ef251d qt6.qtbase: backport crash fix for when freetype rendering fails
Recommended by KDE upstream.
2026-05-04 19:39:49 +03:00
quantenzitrone
d3354d8306 unixodbcDrivers: rename package set from unixODBCDrivers
fit package set name to new package name (see previous commit)
2026-02-27 10:52:16 +01:00
quantenzitrone
2226596501 unixodbc: refactor and rename from unixODBC
rename to lowercase to fit package naming conventions
2026-02-27 10:52:14 +01:00
Stefan Frijters
896e11b507 qt6.qtbase: fix incorrect substitution in setupHook 2026-02-25 11:56:09 +01:00
K900
3c4102eef4 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-06 15:58:23 +03:00
Martin Weinelt
743484c326 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-06 01:21:57 +01:00
quantenzitrone
f690155396 various: rename references from libXrender to libxrender
this shouldn't create any rebuilds
2026-02-06 00:29:19 +01:00
quantenzitrone
77837f424c various: rename references from libXi to libxi
this shouldn't create any rebuilds
2026-02-06 00:25:56 +01:00
quantenzitrone
f67b5966bb various: rename references from libXext to libxext
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
a8971fc387 various: rename references from libXcomposite to libxcomposite
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
quantenzitrone
a024c30a8a xcbutil: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:58:58 +01:00
quantenzitrone
1fff2e7504 xcbutilimage: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:58:56 +01:00
quantenzitrone
584757f348 xcbutilkeysyms: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:58:56 +01:00
quantenzitrone
f7a087d8f2 xcbutilrenderutil: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:58:51 +01:00
quantenzitrone
866aa37ba3 xcbutilwm: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:58:46 +01:00
K900
71adc1a57a qt6: 6.10.1 -> 6.10.2 2026-02-03 11:47:05 +03:00
Philip Taron
38945fdda9 qt6.qtbase: prepare for structuredAttrs (#472656) 2026-01-31 15:52:40 +00: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
Stefan Frijters
ceec85b3f7 qt6.qtbase: prepare for structuredAttrs 2025-12-25 00:33:09 +01:00
Wolfgang Walther
46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +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
K900
29f7e17b01 qt6.qtbase: use cmake lookup paths by default for finding other Qt bits 2025-12-09 13:43:11 +03:00
Sam
3eed620a17 Revert "qt6.qtbase: override bad cmakeFlag in setup hook; fix finding frameworks"
This reverts commit dd9fbf60a7.
2025-10-27 01:22:03 -07:00
Sam
dd9fbf60a7 qt6.qtbase: override bad cmakeFlag in setup hook; fix finding frameworks
This essentially applies https://github.com/NixOS/nixpkgs/pull/455592 to
qtbase (and thus all packages depending on Qt on Darwin) without
rebuilding the world.

We're doing this so that Qt-based applications will be fixed faster than
the time it takes to wait for a staging cycle.
2025-10-27 00:25:03 -07:00
K900
13fda0b4b2 qt6: 6.9.3 -> 6.10.0 2025-10-07 21:23:08 +03:00
K900
60e9798ba5 qt6.qtbase: add libgbm dependency
Used for EGLFS GBM backend.
2025-10-07 21:23:08 +03:00
K900
33c5fd0a77 qt6.qtbase: be more verbose when configuring 2025-10-07 21:23:08 +03:00
K900
5c99d67b86 qt6: 6.9.1 -> 6.9.2 2025-08-27 18:32:46 +03:00
K900
36d94b3e63 qt6.qtbase: backport fix for HTTP/2 stream corruption
Recommended by KDE.
2025-07-24 21:38:55 +03:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Niklas Korz
e34775b6a1 qt6: prevent Xcode version sniffing
Qt tries to detect the running Xcode version through `xcrun xcodebuild
-version`.
This fails when xcbuild is not included in the dependencies, and is also
unnecessary as the value is only used for the Xcode min version check
that we explicitly disable already.
2025-07-01 09:32:57 +02:00
Grimmauld
169a143f31 qt6.qtbase: remove xmlstarlet dependency
`xmlstarlet` is only necessary to minify the mime ypes resources [1].
It is virtually unnecessary: the closure size reduction from minification
here is mostly useless compared to the cost of including xmlstarlet in the closure.

[1] 475c951d69/src/corelib/QtCompressMimeDatabase.cmake (L8-L15)

Co-authored-by: K900 <me@0upti.me>
2025-05-31 12:32:04 +02:00
K900
52b5402626 kdePackages.qtbase: remove unused pcre dependency (#402306) 2025-04-27 17:42:41 +03:00
patka
b4e17037fa kdePackages.qtbase: remove unused pcre dependency 2025-04-27 16:29:37 +02:00
Arnout Engelen
fb14fab977 qt: fixate the linux version
When building on Linux, the Qt build process includes
`CMAKE_SYSTEM_VERSION` in the resulting module description, which
defaults to the kernel version of the build host, breaking
reproducibility.

This change clears the `CMAKE_SYSTEM_VERSION` which is supported
by the build process and leaves out the version, giving us
reproducibility and avoiding increased rebuilds when the Linux
kernel is updated.

This is tracked upstream as QTBUG-136060
2025-04-23 15:38:39 +02:00
K900
e313574366 qt6: 6.8.2 -> 6.8.3 2025-03-27 13:38:56 +03:00
K900
6e03606720 qt6.qtbase: add Vulkan loader to rpath for QtGui
Otherwise it can't be found.
2025-03-04 10:21:04 +03:00
Nadia Holmquist Pedersen
2339b13d54 qt6.qtbase: unconditionally enable Vulkan and libGL support 2025-02-11 07:21:43 +01:00
K900
6c2df6415e qt6: backport patches recommended by KDE folks 2025-02-05 23:12:17 +03:00
K900
c51a4944d1 qt6: disable xcode version check on Darwin
We use xcbuild, not official xcode.
2025-02-05 11:07:55 +03:00
K900
fd28cb8c93 qt6: 6.8.1 -> 6.8.2 2025-01-31 17:30:17 +03:00