Skip to content
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

Installation: improve FreeBSD instructions for Manual Build #200

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Sep 21, 2024

  1. Installation: unbreak Meson steps

    - ninja doesn't support `--tags` unlike meson
    - `--skip-subprojects` is more clear than `--tags runtime,man`
    jbeich committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    7838792 View commit details
    Browse the repository at this point in the history
  2. Installation: invoke Git when using Meson like with CMake

    Trying to build in a random directory like HOME may fail or build
    something else. So, provide the context for a user who skipped
    reading CMake section.
    jbeich committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    2687184 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    55b2498 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13395a2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b257f5 View commit details
    Browse the repository at this point in the history
  6. Installation: drop GCC dependency on FreeBSD

    System tomlplusplus is built against libc++ which conflicts with
    libstdc++ used by GCC. While tomlplusplus can be bundled it's only
    easy to do via Meson (--force-fallback-for).
    
    /usr/local/bin/ld: hyprpm/CMakeFiles/hyprpm.dir/src/core/DataState.cpp.o: in function `DataState::addNewPluginRepo(SPluginRepository const&)':
    DataState.cpp:(.text+0x16b4): undefined reference to `toml::v3::table::get_lower_bound(std::basic_string_view<char, std::char_traits<char> >)'
    /usr/local/bin/ld: DataState.cpp:(.text+0x1793): undefined reference to `toml::v3::table::insert_with_hint(toml::v3::impl::table_iterator<true>, toml::v3::key&&, std::unique_ptr<toml::v3::node, std::default_delete<toml::v3::node> >&&)'
    /usr/local/bin/ld: DataState.cpp:(.text+0x2c59): undefined reference to `toml::v3::impl::print_to_stream(std::ostream&, toml::v3::table const&)'
    /usr/local/bin/ld: hyprpm/CMakeFiles/hyprpm.dir/src/core/DataState.cpp.o: in function `DataState::pluginRepoExists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    DataState.cpp:(.text+0x3739): undefined reference to `toml::v3::ex::parse_file(std::basic_string_view<char, std::char_traits<char> >)'
    /usr/local/bin/ld: DataState.cpp:(.text+0x3783): undefined reference to `toml::v3::table::get(std::basic_string_view<char, std::char_traits<char> >)'
    /usr/local/bin/ld: DataState.cpp:(.text+0x37ab): undefined reference to `toml::v3::table::get(std::basic_string_view<char, std::char_traits<char> >)'
    [...]
    jbeich committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    6084a2b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ad5329a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f7cac02 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2bfd293 View commit details
    Browse the repository at this point in the history
  10. Installation: add libuuid on FreeBSD

    FreeBSD uuid(3) has slightly different API than Linux and doesn't support
    random UUIDs unlike NetBSD. Instead use external implementation.
    
    hyprwm/Hyprland@7778f01194d8
    jbeich committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    f6b0878 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b914a77 View commit details
    Browse the repository at this point in the history