Commit Graph

1091 Commits

Author SHA1 Message Date
toonn
b7ed52e26f
Merge pull request #235487 from reckenrode/system_cmds-clang-fix
darwin.system_cmds: fix build with clang 16
2023-06-11 20:14:59 +02:00
toonn
b7d4899ad5
Merge pull request #234861 from reckenrode/corefoundation-rpath
swift-corelibs: set NIX_COREFOUNDATION_RPATH in a hook
2023-06-11 17:13:54 +02:00
Randy Eckenrode
cd4ab1d9fd
darwin.system_cmds: fix build with clang 16
Clang 16 makes implicit declarations an error by default. The headers
are available, so include them.

`getline` was renamed to `get_line` to avoid a name clash. `util.h`
includes `stdio.h`, which defines `getline`.
2023-06-10 17:15:08 -04:00
github-actions[bot]
52cf9e3e3b
Merge staging-next into staging 2023-06-08 18:02:03 +00:00
toonn
782dbaf30f
Merge pull request #234859 from reckenrode/cctools-llvm
cctools-llvm: init at 11.1.0-973.0.1
2023-06-08 19:23:56 +02:00
github-actions[bot]
f8aa1a896e
Merge staging-next into staging 2023-06-08 06:01:46 +00:00
StepBroBD
a3ce564a94
raycast: 1.52.1 -> 1.53.0 2023-06-07 18:48:19 -06:00
Randy Eckenrode
df7487ff17
cctools-llvm: init at 11.1.0-973.0.1
cctools-llvm is a replacement for cctools that replaces as much of cctools with equivalents from LLVM that it can reasonably do. This was motivated by wanting to reduce dependencies on cctools, which are updated infrequently by upstream.

To provide a motivating example, the version of `strip` included in cctools cannot properly strip the archives in compiler-rt in LLVM 15. Paths are left to bootstrap tools, resulting in failed requisites checks in the final stdenv build. Since `strip` needs replaced, the opportunity was taken to replace other provided they are functional replacements.

Note: This has to be done in cctools (or some equivalent) because some derivations (noteably LLVM) use the bintools of the stdenv directly instead of going through the wrapper.

The following tools from LLVM are not used in this derivation:

* LLD - not fully compatible with ld64 yet and potentially too big of a change;
* libtool - not a drop-in replacement yet because it does not support linker passthrough, which is needed by xcbuild;
* lipo - crashes when running the LLVM test suite;
* install_name_tool - fails when trying to build swift-corefoundation; and.
* randlib - not completely a drop-in replacement, so leaving it out for now.

If other incompatabilities are found, the tools can be reverted or made conditional. For example, cctools `strip` is preferred on older versions of LLVM (which lack the compiler-rt issue) or when cctools itself is a new enough version because `llvm-strip` on LLVM 11 produces files that older verions of `codesign_allocate` cannot process correctly.

One final caveat/note: Some tools are not duplicated or linked from cctools-port. The names of the tools and which ones were linked was determined based on what is provided upstream in Xcode and is installed on macOS system.
2023-06-06 19:05:22 -04:00
toonn
501dcc2d3e
Merge pull request #234857 from reckenrode/configd-fix
configd: fix build with newer LLVM and bootstrap
2023-06-05 19:26:06 +02:00
github-actions[bot]
de4f02a6c8
Merge master into staging-next 2023-06-05 12:01:12 +00:00
Weijia Wang
ad7fbd276f
Merge pull request #233657 from wegank/darwin-system-redo
darwin.apple_sdk_10_12.frameworks.System: init
2023-06-05 11:43:39 +03:00
github-actions[bot]
8f9be47422
Merge master into staging-next 2023-06-05 06:01:33 +00:00
Randy Eckenrode
241f525928
cctools-apple: fix download source
This probably hasn’t built for a while. Apple is redirecting to GitHub,
which results in different hashes for cctools and ld64. While I’m fixing
the hashes, I also updated the sources to use `fetchFromGitHub`.
2023-06-04 17:45:14 -04:00
Randy Eckenrode
09799e8b80
apple_sdk: fix infinite recursion
The 10.12 SDK uses `xar`, which depends on Python indirectly, which
depends on configd by default. This causes an infinite recuresion when
building configd because it needs SDK headers to build with clang 16.

Fix the infinite recursion by disabling Python support in libxml2 when
building the SDK, and use a minimal Python in the SDK build itself.
2023-06-04 09:31:39 -04:00
Weijia Wang
7849b5f9bb
Merge pull request #234855 from reckenrode/rewrite-tbd-fix
rewrite-tbd: avoid infinite recursion when cmake is not cmakeMinimal
2023-05-31 13:12:27 +02:00
Randy Eckenrode
259b15f25d
rewrite-tbd: avoid infinite recursion when cmake is not cmakeMinimal
This was found while working on the Darwin stdenv rework. This change
allows rewrite-tbd to use the provided Makefile instead of depending on
cmake and pkg-config.

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-05-31 00:31:18 -04:00
Bernardo Meurer
1c31f7e109
Merge pull request #235052 from reckenrode/xnu-fix-mk2 2023-05-30 20:05:32 -04:00
Randy Eckenrode
1aa68d1d21
xnu: fix build with newer clang
Newer clangs require also including `-lc++abi` to build kextsymboltool.
2023-05-30 16:13:11 -04:00
Randy Eckenrode
56480a72c9
darwin.adv_cmds: fix implicit int, which is an error in clang 16 2023-05-29 16:27:13 -04:00
Randy Eckenrode
0d3355a439
swift-corelibs: set NIX_COREFOUNDATION_RPATH in a hook
Closes #230870. Thanks to @eliasnaur for the test case and for rasining
awareness and to @veprbl for the work done on #111385.

This takes a slightly different approach from those two PRs. The hook is
set unconditionally. The stdenv bootstrap doesn’t really need CF at all,
so setting the hook is harmless. This simplifies things.
2023-05-29 15:43:58 -04:00
Randy Eckenrode
15da7dce6a
configd: fix build with newer LLVM and bootstrap
Clang 15 does not like the fake xpc headers. Use the real ones instead.
Doing this no longer causes an infinite recursion because xnu now
depends on python3Minimal, which does not include configd support.
2023-05-29 15:30:39 -04:00
Bernardo Meurer
574100ab78
Merge pull request #234758 from JesusMtnezForks/raycast 2023-05-29 12:19:27 -04:00
JesusMtnez
8dcbea47ed
raycast: 1.52.0 -> 1.52.1 2023-05-29 11:10:41 +02:00
Weijia Wang
a268f6ff1c
Merge pull request #234691 from wegank/darwin-clangstdenv
darwin.apple_sdk_11_0: deprecate clang*Stdenv
2023-05-29 10:23:43 +03:00
zowoq
9eeb6bbfec darwin.openwith: mark broken on x86_64 2023-05-29 13:41:25 +10:00
Weijia Wang
588f16c917 darwin.apple_sdk_11_0: deprecate clang*Stdenv 2023-05-29 01:50:46 +03:00
figsoda
16b0cc0067 asitop: use top-level fetchPypi 2023-05-25 12:06:14 -04:00
JesusMtnez
8632d5d80e
raycast: 1.51.1 -> 1.52.0 2023-05-25 08:04:08 +02:00
Weijia Wang
3d29de1f5b darwin.apple_sdk_11_0: add mkCc 2023-05-24 16:49:40 +03:00
Randy Eckenrode
2c070763c7
rustPlatform.bindgenHook: use the correct Libsystem on the 11.0 SDK 2023-05-24 08:08:30 -04:00
Weijia Wang
ff4881996e darwin.apple_sdk_10_12.frameworks.System: init 2023-05-23 21:01:23 +03:00
Weijia Wang
49a5cd8be6 darwin.sigtool: add meta 2023-05-22 12:54:56 +03:00
Weijia Wang
6a603868e4
Merge pull request #233224 from juliusrickert/add-asitop
asitop: init at 0.0.23
2023-05-21 19:07:54 +03:00
Julius Rickert
53c7e7e028
asitop: init at 0.0.23 2023-05-21 15:32:14 +02:00
Sandro
026fcce43c
Merge pull request #229949 from v3s1e/yabai504
yabai: 5.0.2 -> 5.0.4
2023-05-18 22:05:53 +02:00
Bernardo Meurer
a028bd00e8
Merge pull request #231348 from StepBroBD/raycast 2023-05-11 16:02:14 -05:00
StepBroBD
2e26d5bedf
raycast: 1.50.0 -> 1.51.1 2023-05-11 14:18:46 -06:00
Weijia Wang
bd7c4e7b36 clang16Stdenv: init 2023-05-11 14:17:40 +03:00
Weijia Wang
6177f779a4 utm: 4.1.6 -> 4.2.5 2023-05-05 19:47:58 +03:00
Veselin Ivanov
91071ad0ff
yabai: 5.0.2 -> 5.0.4 2023-05-04 21:23:50 +02:00
StepBroBD
0fc5fdce84
raycast: 1.49.3 -> 1.50.0 2023-04-28 12:04:19 -06:00
Weijia Wang
12b91012e5 darwin.darling: drop 2023-04-25 22:45:59 +03:00
Weijia Wang
a02917d9da darwin.dtrace: get rid of darling 2023-04-25 22:30:55 +03:00
natsukium
aac51377f0
sketchybar: 2.14.4 -> 2.15.1
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.15.1
2023-04-24 22:41:53 +09:00
Weijia Wang
7f055c0c2d
Merge pull request #227062 from wegank/utm-bump
utm: 4.1.5 -> 4.1.6
2023-04-20 11:26:30 +03:00
Weijia Wang
d5553d8198 rectangle: 0.67 -> 0.68 2023-04-19 16:51:00 +03:00
Weijia Wang
b344f6cee0 rectangle: refactor 2023-04-19 16:50:16 +03:00
Weijia Wang
6fa82f8ec0 utm: 4.1.5 -> 4.1.6 2023-04-19 16:48:38 +03:00
Weijia Wang
5608f9dbad
Merge pull request #220144 from Intuinewin/rectangle-0.66
rectangle: 0.59 -> 0.67
2023-04-19 16:28:03 +03:00
natsukium
4a831cda4a
sketchybar: 2.14.1 -> 2.14.4
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.14.2
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.14.3
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.14.4
2023-04-17 12:40:22 +09:00