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

Update dependencies in Compiling for Linux/*BSD #9357

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 36 additions & 27 deletions contributing/development/compiling/compiling_for_linuxbsd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ required:
- Development libraries:

- X11, Xcursor, Xinerama, Xi and XRandR.
- MesaGL.
- Wayland and wayland-scanner.
- Mesa.
- ALSA.
- PulseAudio.

Expand Down Expand Up @@ -67,7 +68,6 @@ Distro-specific one-liners
libxi-dev \
libxrandr-dev \
mesa-dev \
libexecinfo-dev \
eudev-dev \
alsa-lib-dev \
pulseaudio-dev
Expand All @@ -76,14 +76,15 @@ Distro-specific one-liners

::

pacman -S --needed \
pacman -Sy --noconfirm --needed \
scons \
pkgconf \
gcc \
libxcursor \
libxinerama \
libxi \
libxrandr \
wayland-utils \
mesa \
glu \
libglvnd \
Expand All @@ -94,33 +95,36 @@ Distro-specific one-liners

::

apt-get install \
sudo apt-get update
sudo apt-get install -y \
build-essential \
scons \
pkg-config \
libx11-dev \
libxcursor-dev \
libxinerama-dev \
libgl1-mesa-dev \
libglu-dev \
libglu1-mesa-dev \
libasound2-dev \
libpulse-dev \
libudev-dev \
libxi-dev \
libxrandr-dev
libxrandr-dev \
libwayland-dev

.. tab:: Fedora

::

dnf install \
sudo dnf install -y \
scons \
pkgconfig \
libX11-devel \
libXcursor-devel \
libXrandr-devel \
libXinerama-devel \
libXi-devel \
wayland-devel \
mesa-libGL-devel \
mesa-libGLU-devel \
alsa-lib-devel \
Expand All @@ -141,20 +145,23 @@ Distro-specific one-liners
libXcursor \
libXrandr \
libXi \
xorgproto libGLU \
xorgproto \
libGLU \
alsa-lib \
pulseaudio

.. tab:: Gentoo

::

emerge --sync
emerge -an \
dev-util/scons \
dev-build/scons \
x11-libs/libX11 \
x11-libs/libXcursor \
x11-libs/libXinerama \
x11-libs/libXi \
dev-util/wayland-scanner \
media-libs/mesa \
media-libs/glu \
media-libs/alsa-lib \
Expand All @@ -164,10 +171,10 @@ Distro-specific one-liners

::

urpmi \
sudo urpmi --auto \
scons \
task-c++-devel \
pkgconfig \
wayland-devel \
"pkgconfig(alsa)" \
"pkgconfig(glu)" \
"pkgconfig(libpulse)" \
Expand All @@ -176,7 +183,19 @@ Distro-specific one-liners
"pkgconfig(xcursor)" \
"pkgconfig(xinerama)" \
"pkgconfig(xi)" \
"pkgconfig(xrandr)"
"pkgconfig(xrandr)"

.. tab:: NetBSD

::

pkg_add \
pkg-config \
py37-scons

.. hint::

For audio support, you can optionally install ``pulseaudio``.

.. tab:: OpenBSD

Expand All @@ -191,44 +210,34 @@ Distro-specific one-liners

::

zypper install \
sudo zypper install -y \
scons \
pkgconfig \
libX11-devel \
libXcursor-devel \
libXrandr-devel \
libXinerama-devel \
libXi-devel \
wayland-devel \
Mesa-libGL-devel \
alsa-devel \
libpulse-devel \
libudev-devel \
gcc-c++ \
libGLU1

.. tab:: NetBSD

::

pkg_add \
pkg-config \
py37-scons

.. hint::

For audio support, you can optionally install ``pulseaudio``.

.. tab:: Solus

::

eopkg install -c \
system.devel \
eopkg install -y \
-c system.devel \
scons \
libxcursor-devel \
libxinerama-devel \
libxi-devel \
libxrandr-devel \
wayland-devel \
mesalib-devel \
libglu \
alsa-lib-devel \
Expand Down