push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
# Build settings based on the upstream Xcode project.
# See: https://github.com/apple-oss-distributions/developer_cmds/blob/main/developer_cmds.xcodeproj/project.pbxproj
# Project settings
project('developer_cmds', 'c', version : '@version@')
# Dependencies
cc = meson.get_compiler('c')
# Binaries
executable(
'asa',
install : true,
sources : [ 'asa/asa.c' ],
)
install_man('asa/asa.1')
executable(
'ctags',
install : true,
sources : [
'ctags/C.c',
'ctags/ctags.c',
'ctags/fortran.c',
'ctags/lisp.c',
'ctags/print.c',
'ctags/tree.c',
'ctags/yacc.c',
],
)
install_man('ctags/ctags.1')
executable(
'indent',
install : true,
sources : [
'indent/args.c',
'indent/indent.c',
'indent/io.c',
'indent/lexi.c',
'indent/parse.c',
'indent/pr_comment.c',
],
)
install_man('indent/indent.1')
install_data(
'lorder/lorder.sh',
install_dir : get_option('bindir'),
install_mode : 'r-xr-xr-x',
rename : 'lorder'
)
install_man('lorder/lorder.1')
executable(
'rpcgen',
install : true,
sources : [
'rpcgen/rpc_clntout.c',
'rpcgen/rpc_cout.c',
'rpcgen/rpc_hout.c',
'rpcgen/rpc_main.c',
'rpcgen/rpc_parse.c',
'rpcgen/rpc_sample.c',
'rpcgen/rpc_scan.c',
'rpcgen/rpc_svcout.c',
'rpcgen/rpc_tblout.c',
'rpcgen/rpc_util.c',
],
)
install_man('rpcgen/rpcgen.1')
executable(
'unifdef',
install : true,
sources : [ 'unifdef/unifdef.c' ],
)
install_man('unifdef/unifdef.1')
install_data(
'unifdef/unifdefall.sh',
install_dir : get_option('bindir'),
install_mode : 'r-xr-xr-x',
rename : 'unifdefall',
)
install_symlink(
'unifdefall.1',
install_dir : get_option('mandir') / 'man1',
pointing_to : 'unifdef.1',
)

View File

@@ -0,0 +1,35 @@
{
lib,
clang,
mkAppleDerivation,
buildPackages,
shell_cmds,
}:
mkAppleDerivation {
releaseName = "developer_cmds";
outputs = [
"out"
"man"
];
xcodeHash = "sha256-NurkF9AnPuaQ7Ev36PCknuTNV6z622yFi2bXZsow+xA=";
postPatch = ''
substituteInPlace rpcgen/rpc_main.c \
--replace-fail '/usr/bin/cpp' '${lib.getBin buildPackages.clang}/bin/${buildPackages.clang.targetPrefix}cpp'
'';
postInstall = ''
HOST_PATH='${lib.getBin shell_cmds}/bin' patchShebangs --host "$out/bin"
'';
meta = {
description = "Developer commands for Darwin";
license = [
lib.licenses.bsd3
lib.licenses.bsdOriginal
];
};
}