apainintheneck
b6f9b7d3e0
Remove bitdefender diagnostic check
...
This shows up in `brew doctor` but hasn't been
reported as a problem by users in 3+ years.
2022-12-28 10:45:29 -08:00
apainintheneck
0ae416d0ee
Refactor Search#search_descriptions
...
- Move cask logic back into method from extend/os and check
whether to display it based on args since formula?
is passed by default on Linux now
- Use #search_descriptions in `brew desc` instead of
duplicating logic
- Remove need for extend/os/search
2022-12-17 10:03:41 -08:00
apainintheneck
3aac0fef7e
Simplify cask search
...
The cask_tokens and cask_names arrays here
were almost identical so we'll just use
cask_tokens for both.
2022-12-14 19:27:59 -08:00
apainintheneck
363df2a648
Speed up cask search
...
Add new method to get all cask names
without using Cask.all which is slow
in this case.
2022-12-14 00:00:34 -08:00
Mike McQuaid
4a0e16fbd9
dev-cmd/bottle: use gnu-tar
's --mtime
.
...
This allows us to remove all the manual timestamp fiddling and lets
`gnu-tar` handle it for us instead (as-per the most recent
recommendations on https://reproducible-builds.org/docs/archives/ ).
2022-12-12 16:47:56 +00:00
Mike McQuaid
639cb25c60
description*: fix argument handling of eval_all.
...
Fixes #14231 .
2022-12-08 09:57:12 +00:00
apainintheneck
d48859a9ce
Move FormulaInstaller check to extend/os
2022-11-29 23:13:50 -08:00
apainintheneck
2eee1e7c2a
Move SimulateSystem check to extend/os
2022-11-29 23:13:50 -08:00
apainintheneck
9c2293a08e
Move Sandbox check to extend/os
2022-11-23 20:39:59 -08:00
apainintheneck
d69326c8d0
Move ::Cleanup check to extend/os
2022-11-23 20:38:40 -08:00
Alexander Bayandin
f9b4bf9316
CPU: cleanup sysctl_int method
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-11-16 10:51:59 +00:00
Alexander Bayandin
449b872916
CPU: fix M2 detection
2022-11-15 11:02:56 +00:00
Bo Anderson
476b5e7424
os/mac/diagnostic: allow Ruby 2.6.10 on < Ventura
2022-10-25 10:55:05 +01:00
Bo Anderson
c092708448
Ventura RC version bumps
2022-10-20 20:04:42 +01:00
Caleb Xu
5a4840dbc8
extend/os/mac: ensure writable file for codesign
2022-10-13 17:56:53 -04:00
Bo Anderson
cbc895ce2b
Add Pathname shim extension RBI definitions
2022-09-08 03:26:50 +01:00
Lukas Oberhuber
3d60d610dd
Merge branch 'master' into debug-symbols
2022-08-10 18:44:09 -10:00
Lukas Oberhuber
0b554a4138
Style
2022-08-04 08:53:07 -07:00
Lukas Oberhuber
bee3531090
Improve style
2022-08-01 15:25:34 -07:00
Lukas Oberhuber
4eea117e84
ofail
if debug-symbols cannot be extracted.
2022-07-30 11:41:05 +01:00
Lukas Oberhuber
cd9fe97c55
Improve style
2022-07-30 11:10:26 +01:00
Lukas Oberhuber
e46a61e181
rename & inline dsymutil to prepare_debug_symbols
2022-07-30 11:08:52 +01:00
Lukas Oberhuber
215e545660
brew style
2022-07-26 19:28:30 +01:00
Lukas Oberhuber
c2a95f077f
Compiler -g
flag set based on --debug-symbols
2022-07-26 17:18:01 +01:00
Lukas Oberhuber
d195f22522
Connecting up --debug-symbols
flag
...
This connects the calling of dsymutil and the retention of temporary
files. Still need to connect compilation to flag.
2022-07-26 12:15:53 +01:00
Lukas Oberhuber
2d4c792b0b
Make one function
2022-07-26 10:00:05 +01:00
Lukas Oberhuber
e1ea9da507
Conceptual draft of dsym support for macos
2022-07-26 00:00:45 +01:00
Rylan Polster
91cf9f2ad8
Use SimulateSystem
for uses_from_macos
deps
2022-07-23 03:09:29 +02:00
Rylan Polster
b538ce7361
Add OnSystem
module to generate on_*
methods for formulae and casks
2022-06-24 14:37:50 -04:00
Bo Anderson
75e76361ac
Preliminary macOS 13 support
2022-06-07 02:39:36 +01:00
Bo Anderson
d857c8416d
os/mac: allow fake El Capitan setup for Portable Ruby builds
2022-05-31 17:56:25 +01:00
EricFromCanada
a4590f394e
search: drop Homebrew cask tap names from list
...
Results in searching a list of tokens from official Homebrew cask taps and fully-qualified tokens from other taps, matching the list when searching formulae.
2022-04-25 22:22:03 -04:00
Daniel Nachun
23cf66df6a
Merge pull request #13114 from danielnachun/move_codesign_patched_binary
...
Move codesign_patched_binary to extend/os/mac/keg.rb
2022-04-11 17:05:58 -07:00
Bo Anderson
4de9dd0cfa
ENV/super: always set HOMEBREW_DEVELOPER_DIR regardless of macOS version
2022-04-11 15:13:33 +01:00
danielnachun
4c19d67176
extend/os/mac/keg.rb: move codesign_patched_binary here
2022-04-08 18:09:25 -07:00
Mike McQuaid
b4a9182e3f
Merge pull request #13048 from hyuraku/repair_search_casks
...
repair cask's fuzzy_search in `search_casks`
2022-04-04 13:40:18 +01:00
EricFromCanada
2fdc70c3bf
desc, search: also search cask descriptions
2022-03-30 11:23:55 -04:00
hyuraku
e486c8710b
change the operator
2022-03-28 23:57:21 +09:00
hyuraku
0758631d3d
remove if condition
2022-03-28 21:41:40 +09:00
hyuraku
94625d51d6
repair search_casks
2022-03-24 23:02:55 +09:00
danielnachun
a9dd3a76eb
extend/os/mac/keg_relocate: change egrep_args
2022-03-09 13:33:50 -08:00
Daniel Nachun
76e4f6bc79
Merge pull request #12890 from danielnachun/add_binary_grep
...
Add binary grep method to keg_relocate
2022-02-28 11:27:09 -08:00
danielnachun
94e22d49fa
os/mac/keg_relocate.rb: override grep args
2022-02-28 08:59:33 -08:00
Michka Popoff
bc83c39337
debian7: force usage of brewed ca-certificates
2022-02-22 13:26:59 +01:00
Mike McQuaid
a37f24f439
Revert "Binary patching of build prefixes"
2022-02-14 10:55:08 +00:00
danielnachun
ebea3175f1
extend/os/mac/keg_relocate.rb: override egrep_args
2022-02-10 22:48:45 -08:00
Carlo Cabrera
568bc94f3e
os/mac/keg: use MachOFile#delete_rpath
instead of MachO::Tools
...
This will allow us to avoid keeping track of the number of `RPATH`s
while trying to delete duplicates.
See discussion at #12745 .
2022-01-19 00:34:39 +08:00
Carlo Cabrera
ffb3c9cff9
Fuse the rpath
loops.
...
We previously looped twice over the `rpath`s, but we actually only need
to do that once.
2022-01-18 19:29:58 +08:00
Carlo Cabrera
57fae524de
extend/os/mac/keg_relocate: fix duplicate RPATH handling
...
ruby-macho chokes on changing duplicate RPATHs, so we need to strip the
duplicates before trying to relocate them.
This continues #11405 . We need this to unblock
Homebrew/homebrew-core#91224 .
While we're here, let's get rid of `HOMEBREW_RELOCATE_RPATHS`. We've
been using it for nearly a year with essentially no problems (barring
`pdnsrec`), so I think it is safe to do unconditionally.
2022-01-18 15:21:05 +08:00
Carlo Cabrera
e4e3b8ad2d
Revert "extend/os/mac/keg_relocate: fix relocation of duplicate RPATH
s"
...
Upon reflection, I realised that this is probably a bug in `ruby-macho`,
and should be fixed there instead.
Needs https://github.com/Homebrew/ruby-macho/pull/362 .
This reverts commit e8b5eb7e42c925b7cc10c78a029b8c70e4d7965b.
2022-01-18 13:07:44 +08:00