Browse Source

Merge pull request #9366 from Calinou/compiling-for-linuxbsd-update-deps-4.2

[4.2] Update dependencies in Compiling for Linux/*BSD
Max Hilbrunner 1 year ago
parent
commit
222a545b57
1 changed files with 27 additions and 26 deletions
  1. 27 26
      contributing/development/compiling/compiling_for_linuxbsd.rst

+ 27 - 26
contributing/development/compiling/compiling_for_linuxbsd.rst

@@ -33,7 +33,7 @@ required:
 - Development libraries:
 
   - X11, Xcursor, Xinerama, Xi and XRandR.
-  - MesaGL.
+  - Mesa.
   - ALSA.
   - PulseAudio.
 
@@ -67,7 +67,6 @@ Distro-specific one-liners
               libxi-dev \
               libxrandr-dev \
               mesa-dev \
-              libexecinfo-dev \
               eudev-dev \
               alsa-lib-dev \
               pulseaudio-dev
@@ -76,7 +75,7 @@ Distro-specific one-liners
 
         ::
 
-            pacman -S --needed \
+            pacman -Sy --noconfirm --needed \
               scons \
               pkgconf \
               gcc \
@@ -94,7 +93,8 @@ Distro-specific one-liners
 
         ::
 
-            apt-get install \
+            sudo apt-get update
+            sudo apt-get install -y \
               build-essential \
               scons \
               pkg-config \
@@ -102,7 +102,7 @@ Distro-specific one-liners
               libxcursor-dev \
               libxinerama-dev \
               libgl1-mesa-dev \
-              libglu-dev \
+              libglu1-mesa-dev \
               libasound2-dev \
               libpulse-dev \
               libudev-dev \
@@ -113,7 +113,7 @@ Distro-specific one-liners
 
         ::
 
-            dnf install \
+            sudo dnf install -y \
               scons \
               pkgconfig \
               libX11-devel \
@@ -141,7 +141,8 @@ Distro-specific one-liners
               libXcursor \
               libXrandr \
               libXi \
-              xorgproto libGLU \
+              xorgproto \
+              libGLU \
               alsa-lib \
               pulseaudio
 
@@ -149,8 +150,9 @@ Distro-specific one-liners
 
         ::
 
+            emerge --sync
             emerge -an \
-              dev-util/scons \
+              dev-build/scons \
               x11-libs/libX11 \
               x11-libs/libXcursor \
               x11-libs/libXinerama \
@@ -164,10 +166,9 @@ Distro-specific one-liners
 
         ::
 
-            urpmi \
+            sudo urpmi --auto \
               scons \
               task-c++-devel \
-              pkgconfig \
               "pkgconfig(alsa)" \
               "pkgconfig(glu)" \
               "pkgconfig(libpulse)" \
@@ -176,7 +177,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
 
@@ -191,7 +204,7 @@ Distro-specific one-liners
 
         ::
 
-            zypper install \
+            sudo zypper install -y \
               scons \
               pkgconfig \
               libX11-devel \
@@ -206,24 +219,12 @@ Distro-specific one-liners
               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 \