Closed maxim-belkin closed 5 years ago
Probably this here: https://github.com/Linuxbrew/brew/blob/1699a7ec1347679daf102f9a8b4cc43e902aa002/Library/Homebrew/extend/os/linux/extend/ENV/super.rb#L86-L96
I agree it'd be great to back out these patches if we're no longer using depends_on :x11
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
@maxim-belkin Would you like to test and open a PR to remove all the magic xorg
hackery from extend/ENV/super.rb
?
I've done it locally already - just didn't have a chance to submit a PR
quick question: I was replacing contents of functions with []
so they return no "extra" paths. I guess we can also simply delete them right?
Yes, those empty functions can be deleted.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I believe this issue was resolved by https://github.com/Linuxbrew/brew/commit/9769fb22fe2cef2dc00420111fd4ecf5b19e5c0d
I think you're right (no time to test it at the moment though)
Currently,
xorg
formulae are picked up even if they're not dependencies of the formula being built. This is not a problem for users but is for "developers": one has to uninstall all currently installed formulae to make sure that nothing is picked up and all required dependencies are brought in by declarations within the formula.I suspect the problem is coming from
homebrew_extra_pkg_config_paths
inLibrary/Homebrew/extend/os/linux/extend/ENV/super.rb
. Thoughts?