-
-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyprpm: install headers locally #4585
Conversation
I like how i just realized I hardcoded the path with my user name lol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jbeich would this change allow us to |
Ok, finally got to test this after wasting a bunch of time discovering makepkg clobbers branch names :/ All seems good to me. Normal and forced update both worked without header conflicts. When plugins don't load due to mismatch sometimes the notification gets hidden by the big red config syntax error banner, but that's not an issue with this PR; I'll (eventually) create another issue for that one. |
top. Merging then. Thanks bros |
* hyprpm: install headers locally * oopsie
* hyprpm: only clone the required history * hyprpm: don't include tracy when building headers in release mode * chore: remove old, commented-out code See #4585 (comment) * chore: format code properly
* hyprpm: install headers locally * oopsie
* hyprpm: only clone the required history * hyprpm: don't include tracy when building headers in release mode * chore: remove old, commented-out code See hyprwm#4585 (comment) * chore: format code properly
cc @zakk4223 @DreamMaoMao @fufexan
hyprpm will now install headers locally to
$XDG_DATA_HOME/hyprpm/headersRoot
Should completely eliminate duplicate headers / system headers issues.
hyprpm
will now refuse to use system headers altogether:Hyprland/hyprpm/src/core/PluginManager.cpp
Lines 285 to 290 in d0bfa56
They are unreliable all things considered and to be frank who cares.
Bonus: no more asking for password to install headers.
Needs some testing, seems to pass my short tests.