Commit Graph

149 Commits

Author SHA1 Message Date
Emily
cdc9d7628c Revert "qt5.qtbase: fix build on darwin"
The ld64 issue has been fixed.

This reverts commit 17cafcb365.
2026-07-15 03:26:25 +01:00
sempiternal-aurora
17cafcb365 qt5.qtbase: fix build on darwin 2026-07-02 17:43:33 +10:00
Marcin Serwin
85ac6ca088 maintainers: drop ttuegel
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-05-31 20:27:39 +02:00
Sigmanificient
0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
eryngion
3d07c38e2f qt5.qtbase: fix mysql support for cross builds
And fix build with strictDeps enabled

Co-Authored-By: eryngion <eryngion@protonmail.com>
2026-03-19 17:43:26 +02:00
Stefan Frijters
a200cf1dac qt5.qtbase: avoid relying on env variables, enable __structuredAttrs 2026-03-04 16:37:39 +01:00
Stefan Frijters
100be6d94d qt5.qtbase: use --replace-fail instead deprecated --replace 2026-03-03 11:46:22 +01:00
Stefan Frijters
4cf52e6410 qt5.qtbase: avoid using spaces in flags 2026-03-03 11:45:13 +01:00
Stefan Frijters
cb6c8386bb qt5.qtbase: move PSQL_LIBS env variable into env 2026-03-03 11:44:02 +01:00
Stefan Frijters
eb58c6ec15 qt5.qtbase: fix incorrect use of lib.optional 2026-03-03 11:44:01 +01:00
Stefan Frijters
582ca75ae0 qt5.qtbase: replace lib.optional with lib.optionals
These are all no-ops, but done for consistency.
2026-03-03 11:44:01 +01:00
eryngion
81983341fa qt5.qtbase: remove the unused withQttranslation parameter 2026-02-19 13:48:30 +02: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
8382a53a4c various: rename references from libXcursor to libxcursor
this shouldn't create any rebuilds
2026-02-06 00:24:45 +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
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Michael Daniels
fa9a1e0bd4 maintainers: remove periklis
No nixpkgs activity in the past year.

Has not responded in issues they were pinged in for two years, per Aleksanaa
(I have not verified this myself):
https://github.com/NixOS/nixpkgs/issues?q=sort%3Acreated-desc%20is%3Aissue%20involves%3Aperiklis.

I also removed "with lib;" from meta where I saw it.
2025-12-11 17:34:01 -05: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
Randy Eckenrode
f6b75da2d5 qt5.*: use default SDK on Darwin (14.4) 2025-10-09 18:23:30 -04:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Emily
cb004b0125 qt5: remove obsolete Darwin SDK comment
This partially reverts commit 6b77ed4b18.
2025-04-23 16:19:00 +01:00
K900
6b77ed4b18 qt5: switch to Apple SDK 14 on -darwin platforms
Fixes weird linking errors seen with SDK 13.
2025-04-10 16:30:53 +03:00
Wolfgang Walther
546ece569b libpq: init at 17.2
Resolves #61580
2025-01-19 12:49:21 +01:00
Silvan Mosberger
667d42c00d 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 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
FliegendeWurst
7819d5e37a libsForQt5.qtbase: fix build with strictDeps = true 2024-11-23 10:47:27 +01:00
Randy Eckenrode
8d819b5b0f qt5.qtbase: use system freetype and libpng
These work on Darwin, and using the system libpng avoids an issue trying to build the vendored version of libpng with clang 18.
2024-11-20 02:33:34 +00:00
Emily
0757844d03 libsForQt5.qtbase: remove code for macOS < 11 2024-11-18 00:05:22 +00:00
github-actions[bot]
357e63084b Merge staging-next into staging 2024-11-17 12:05:34 +00:00
Masum Reza
e13831335f treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
K900
b5ef6f670a qt{5,6}.qtbase: build without libinput by default
libinput in Qt itself is only really relevant to embedded-brained
use cases (linuxfb/eglfb backends), and this will allow us to update
libinput trivially on master.
2024-11-12 23:58:18 +03:00
Emily
8aaea3781c libsForQt5.*: don’t propagate Darwin version inputs 2024-11-03 01:30:28 +00:00
Emily
3831685684 libsForQt5.qtbase: override the Darwin deployment target correctly
There might be a nicer way to do this, but I don’t understand qmake.
2024-10-28 22:39:26 +00:00
Emily
3be309eff1 libsForQt5.qtbase: use the macOS 13 SDK 2024-10-28 22:39:26 +00:00
Emily
d85a1e50fe libsForQt5.qtbase: fix Darwin build by removing obsolete patches
Another existing bug exposed by
514b00cf08: the build system was
interpolating an empty SDK directory and passing `-isysroot  -g0`,
eating a compiler flag and breaking the build now that we don’t
pass a redundant `-isysroot` of our own.

Thankfully, with the new SDK pattern, we don’t need to do any of
this elaborate patching; just pointing it at the right tools from
`xcbuild` lets it figure everything out itself.
2024-10-28 22:39:26 +00:00
Randy Eckenrode
578b04cd1d qt5.qtbase: build with the 14.4 SDK
Per upstream’s supported Darwin versions, built with the 14.4 SDK
(corresponding to Xcode 15) and a 10.14 deployment target. To ensure
that users of Qt have a compatible SDK and deployment target, propagate
the 10.14 SDK and a 10.14 minimum version. Users that need a newer
version can opt into using it by adding the SDK package to their build
inputs. aarch64-darwin uses 11.0 and 11.3 because those are the oldest
supported SDK and deployment target on that platform.

Note: upstream actually supports 10.13, but 10.14 was chosen as the
minimum and SDK because it ensures that automatic dark mode switching
works for x86_64-darwin users.
2024-10-10 01:06:44 -04: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
8696744ce9 treewide: clean up uses of lib{GL,GLU,glut}.dev
These were now broken on Darwin; most of them were unnecessary,
but best practice for the remaining ones is to use `lib.getDev`.
2024-06-22 18:06:51 +01: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
Izorkin
2e14d8ba72 nixos/no-x-libs: build qtbase without qt translation 2023-12-25 23:31:25 +03:00
Adam Joseph
80c4676224 qt5.qtbase: fix cross 2023-11-05 00:55:16 +00:00
Theodore Ni
c173b99c6c Merge branch 'master' into staging-next
Resolve correctly the three-way merge between https://github.com/NixOS/nixpkgs/pull/251681,
https://github.com/NixOS/nixpkgs/pull/227900, and https://github.com/NixOS/nixpkgs/pull/246022
2023-08-26 19:00:58 -07:00