Bo Anderson
01d1f1ecb6
Fix Keg.bottle_dependencies
including unneeded build dependencies
2022-06-30 04:11:15 +01:00
Bo Anderson
2ddce84225
Remove Keg.relocation_formulae
...
We no longer use any formulae for relocation.
2022-06-30 03:39:29 +01:00
Rylan Polster
b538ce7361
Add OnSystem
module to generate on_*
methods for formulae and casks
2022-06-24 14:37:50 -04:00
Rylan Polster
cff0122fc4
Remove unnecessary HOMEBREW_INSTALL_FROM_API checks
2022-06-15 16:35: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
Michael Cho
b6905fe0f9
superenv: prioritize dependencies' opt_lib
in Linux rpath
2022-05-03 23:14:30 -07:00
Bo Anderson
e6cb1f18e7
Merge pull request #13151 from Bo98/libcrypt-1-deprecation
...
linkage_checker: deprecate linkage to libcrypt.so.1
2022-04-27 16:00:22 +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
Bo Anderson
6db3ee6b0a
extend/os/linux/keg_relocate: restore checking only GCC major versions
2022-04-22 01:41:23 +01:00
Bo Anderson
b2a896eec6
Merge pull request #13065 from xxyzz/skip_build_deps
...
Skip build deps to avoid downloading bottles
2022-04-22 01:33:44 +01:00
Bo Anderson
5d28c5166b
linkage_checker: deprecate linkage to libcrypt.so.1
2022-04-18 16:42:08 +01: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
xxyzz
990b61250a
Get gcc version from API to avoid downloading gcc bottles on Linux
2022-03-30 20:37:19 +08:00
Caleb Xu
d9780bd260
diagnostic: skip linuxbrew-core tap check when installing from API
2022-03-28 14:59:32 -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
Mike McQuaid
3a709d36b2
Start process to remove Enumerable
from Formula
and Cask::Cask
.
...
This is the first step to address
https://github.com/Homebrew/brew/issues/11292 .
2022-01-03 14:59:10 +00:00
Mike McQuaid
cf0468c88f
Merge pull request #12661 from sjackman/sj/relocate_dynamic_linkage
...
Patch neither glibc nor glibc@* using patchelf
2022-01-03 13:08:42 +00:00
Shaun Jackman
06bf91fe0b
Use formula_optionally_versioned_regex
...
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2022-01-02 17:30:34 -08:00
Shaun Jackman
2ad3f0a089
Patch neither glibc nor glibc@* using patchelf
...
Patching the dynamic linker of glibc breaks it.
2022-01-02 13:44:13 -08:00
Shaun Jackman
4e68a7b5bc
Allow linkage to libnss_files.so.2 on Linux
...
libnss_nis.so.2 in glibc@2.13 has linkage to libnss_files.so.2.
2021-12-31 16:17:36 -08:00
FX Coudert
56bc22c68a
Blizzard and Avalanche appear to be ARMv8.5-A
2021-12-22 16:31:30 +01:00
FX Coudert
405aeac2d8
Add latest CPUs
2021-12-18 22:39:57 +01:00
Douglas Eichelberger
65f1766497
Remove unknown YARD tags
2021-11-30 08:01:20 -08:00
Bo Anderson
6337dbfac9
ENV/super: enable deterministic archive generation
2021-11-26 13:04:33 +00:00
Evan Phoenix
b5ccf8aac2
Do not pass -Wl,-headerpad_max_install_names to b-linux-path
...
One of the more curious bugs, if you use
-Wl,-headerpad_max_install_names on linux, it tries to link a library
named "eaderpath_max_install_names" in, which causes all kinds of weird
havoc.
Most notably, gtester inside glib fails to run for bizarre reasons.
-Wl,-headerpad_max_install_names is not an option anywhere outside macos
anyway, so move it to macos only and avoid the heartache of extremely
weild bugs.
2021-11-09 20:38:26 -08:00
EricFromCanada
d0de6ac249
svn: always install brewed version on macOS if required
...
Stock SVN on macOS 10.14 and earlier now throws errors with some certificate providers.
2021-11-09 13:56:40 -05:00
Bo Anderson
d0f6f7d52b
Require Ruby 2.6.8
2021-11-08 18:39:21 +00:00
Bo Anderson
4836ea0ba2
Remove XQuartz handling
2021-11-05 12:40:22 +00:00
fn ⌃ ⌥
4c484ec6cb
search: optimize cask search
2021-11-03 17:06:37 -07:00
Sean Molenaar
73bc934c85
Caveats: suggest brew services for linux
2021-10-30 18:18:25 +02:00
Carlo Cabrera
457de40117
Apply suggestions from code review
...
These are just a few style improvements.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-27 20:11:47 +08:00
Carlo Cabrera
91e425f7dd
keg_relocate: handle JAVA_HOME
...
Java-dependent formulae produce different bottles on macOS and Linux
because they have different values for `JAVA_HOME` (`opt_libexec` vs
`opt_libexec/"openjdk.jdk/Contents/Home"`).
Let's handle this difference by using the placeholder
`@@HOMEBREW_JAVA@@` in a bottle, like so:
#!/bin/bash
JAVA_HOME="${JAVA_HOME:-@@HOMEBREW_JAVA@@}" exec "@@HOMEBREW_CELLAR@@/clojure/1.10.3.998/libexec/bin/clojure" "$@"
2021-10-27 20:11:46 +08:00
Rylan Polster
0b8032d421
Document HOMEBREW_INSTALL_FROM_API
2021-10-22 12:37:57 -04:00