From 9598eb24ae86297ff81718a5ef00951b8ca4ba02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yfgj=C3=B8r=C3=A6n?= <58826034+Vertecedoc4545@users.noreply.github.com> Date: Mon, 1 May 2023 08:47:32 -0600 Subject: [PATCH] Create Ubuntu 23.04 Install deps tab in the wiki (#210) * Adding first ubuntu support * why libraries * pull needs * pull final-prefinal * wording and style * remove redundant note --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com> --- pages/Getting Started/Installation.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pages/Getting Started/Installation.md b/pages/Getting Started/Installation.md index d9190c4..bec6ca0 100644 --- a/pages/Getting Started/Installation.md +++ b/pages/Getting Started/Installation.md @@ -71,6 +71,25 @@ Hyprland and related are in the default repository: - [hyprpicker](https://www.freshports.org/x11/hyprpicker) - [xdg-desktop-portal-hyprland](https://www.freshports.org/x11/xdg-desktop-portal-hyprland) - [Other Wayland stuff](https://www.freshports.org/wayland/) +{{}} +{{< tab "Ubuntu 23.04" >}} +Build Dependencies: +```bash +sudo apt-get install -y meson wget build-essential ninja-build cmake-extras cmake gettext gettext-base fontconfig libfontconfig-dev libffi-dev libxml2-dev libdrm-dev libxkbcommon-x11-dev libxkbregistry-dev libxkbcommon-dev libpixman-1-dev libudev-dev libseat-dev seatd libxcb-dri3-dev libvulkan-dev libvulkan-volk-dev vulkan-validationlayers-dev libvkfft-dev libgulkan-dev libegl-dev libgles2 libegl1-mesa-dev glslang-tools libinput-bin libinput-dev libxcb-composite0-dev libavutil-dev libavcodec-dev libavformat-dev libxcb-ewmh2 libxcb-ewmh-dev libxcb-present-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-res0-dev libxcb-xinput-dev xdg-desktop-portal-wlr +``` +you will also need to build the latest wayland, wayland-protocols, and libdisplay-info tagged releases from source + +for more info refer to the [Ubuntu Guide For Installing And Building Hyprland Gist](https://gist.github.com/Vertecedoc4545/3b077301299c20c5b9b4db00f4ca6000) + +{{< hint type=warning >}} + +Please note that since Ubuntu is generally behind with dependencies, it's not guaranteed +that the build process will work at all. Even if it is, it's likely that it will break at some point in the future. + +Refer to the gist if anything fails. + +{{< /hint >}} + {{}} {{< /tabs >}} @@ -119,6 +138,9 @@ pkg install meson jq `pkg rquery %dn wlroots` hwdata libdisplay-info libliftoff export CC=gcc CXX=g++ LDFLAGS="-static-libstdc++ -static-libgcc" ``` +_Ubuntu 23.04 dependencies_: +refer to the Ubuntu tab above + Please note Hyprland builds `wlroots`. Make sure you have the dependencies of wlroots installed, you can make sure you have them by installing wlroots separately (Hyprland doesn't mind)