KASM-3806 fix builds and deps for oracle and opensuse

release/1.1.0
ryan.kuba 2 years ago
parent 60cfd52bcf
commit 099211c281

@ -89,18 +89,30 @@ ensure_crashpad_can_fetch_line_number_by_address
if [ "${KASMVNC_BUILD_OS}" == "opensuse" ]; then if [ "${KASMVNC_BUILD_OS}" == "opensuse" ]; then
sed -i 's/LIBGL="gl >= 7.1.0"/LIBGL="gl >= 1.1"/g' configure sed -i 's/LIBGL="gl >= 7.1.0"/LIBGL="gl >= 1.1"/g' configure
fi fi
./configure --prefix=/opt/kasmweb \ ./configure \
--with-xkb-path=/usr/share/X11/xkb \ --disable-config-hal \
--with-xkb-output=/var/lib/xkb \ --disable-config-udev \
--with-xkb-bin-directory=/usr/bin \ --disable-dmx \
--with-default-font-path="/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins" \ --disable-dri \
--with-sha1=libcrypto \ --disable-dri2 \
--without-dtrace --disable-dri \ --disable-kdrive \
--disable-static \ --disable-static \
--disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-xephyr \
--disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-xinerama \
--disable-config-hal --disable-config-udev \ --disable-xnest \
--disable-dri2 --enable-glx --disable-xwayland --disable-xorg \
--disable-xvfb \
--disable-xwayland \
--disable-xwin \
--enable-dri3 \
--enable-glx \
--prefix=/opt/kasmweb \
--with-default-font-path="/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins" \
--without-dtrace \
--with-sha1=libcrypto \
--with-xkb-bin-directory=/usr/bin \
--with-xkb-output=/var/lib/xkb \
--with-xkb-path=/usr/share/X11/xkb
make -j5 make -j5
# modifications for the servertarball # modifications for the servertarball

@ -19,6 +19,7 @@ RUN zypper install -ny \
gzip \ gzip \
lbzip2 \ lbzip2 \
libbz2-devel \ libbz2-devel \
libgbm-devel \
libGLw-devel \ libGLw-devel \
libgnutls-devel \ libgnutls-devel \
libjpeg8-devel \ libjpeg8-devel \
@ -27,6 +28,7 @@ RUN zypper install -ny \
libtiff-devel \ libtiff-devel \
libXfont2-devel \ libXfont2-devel \
libxkbcommon-x11-devel \ libxkbcommon-x11-devel \
libxshmfence-devel \
make \ make \
Mesa-dri \ Mesa-dri \
Mesa-libglapi-devel \ Mesa-libglapi-devel \

@ -5,27 +5,31 @@ ENV KASMVNC_BUILD_OS_CODENAME 8
ENV XORG_VER 1.20.10 ENV XORG_VER 1.20.10
# Install from stock repos # Install from stock repos
RUN dnf install -y \ RUN \
bzip2-devel \ dnf install -y 'dnf-command(config-manager)' && \
ca-certificates \ dnf config-manager --set-enabled ol8_codeready_builder && \
cmake \ dnf install -y \
dnf-plugins-core \ bzip2-devel \
gcc \ ca-certificates \
gcc-c++ \ cmake \
git \ dnf-plugins-core \
gnutls-devel \ gcc \
libjpeg-turbo-devel \ gcc-c++ \
libpng-devel \ git \
libtiff-devel \ gnutls-devel \
make \ libjpeg-turbo-devel \
mesa-dri-drivers \ libpng-devel \
openssl-devel \ libtiff-devel \
openssl-devel \ libxshmfence-devel \
patch \ make \
tigervnc-server \ mesa-dri-drivers \
wget \ mesa-libgbm-devel \
xorg-x11-font-utils \ openssl-devel \
zlib-devel patch \
tigervnc-server \
wget \
xorg-x11-font-utils \
zlib-devel
# Enable additional repos (epel, powertools, and fusion) # Enable additional repos (epel, powertools, and fusion)
RUN dnf config-manager --set-enabled ol8_codeready_builder RUN dnf config-manager --set-enabled ol8_codeready_builder

@ -7,7 +7,7 @@ License: GPLv2+
URL: https://github.com/kasmtech/KasmVNC URL: https://github.com/kasmtech/KasmVNC
BuildRequires: rsync BuildRequires: rsync
Requires: xauth, hostname, libxkbcommon-x11-0, xkeyboard-config, x11-tools, openssl, perl, libpixman-1-0, libjpeg8, libgomp1, libXfont2-2, libXdmcp6, libglvnd, xkbcomp, perl-Switch, perl-YAML-Tiny, perl-Hash-Merge-Simple, perl-Scalar-List-Utils, perl-List-MoreUtils, perl-Try-Tiny Requires: xauth, hostname, libxkbcommon-x11-0, xkeyboard-config, x11-tools, openssl, perl, libpixman-1-0, libjpeg8, libgomp1, libXfont2-2, libXdmcp6, libglvnd, xkbcomp, perl-Switch, perl-YAML-Tiny, perl-Hash-Merge-Simple, perl-Scalar-List-Utils, perl-List-MoreUtils, perl-Try-Tiny, libgbm1, libxshmfence1
Conflicts: tigervnc, tigervnc-x11vnc Conflicts: tigervnc, tigervnc-x11vnc
%description %description

@ -7,7 +7,7 @@ License: GPLv2+
URL: https://github.com/kasmtech/KasmVNC URL: https://github.com/kasmtech/KasmVNC
BuildRequires: rsync BuildRequires: rsync
Requires: xorg-x11-xauth, xorg-x11-xkb-utils, xkeyboard-config, xorg-x11-server-utils, openssl, perl, perl-Switch, perl-YAML-Tiny, perl-Hash-Merge-Simple, perl-Scalar-List-Utils, perl-List-MoreUtils, perl-Try-Tiny, hostname Requires: xorg-x11-xauth, xorg-x11-xkb-utils, xkeyboard-config, xorg-x11-server-utils, openssl, perl, perl-Switch, perl-YAML-Tiny, perl-Hash-Merge-Simple, perl-Scalar-List-Utils, perl-List-MoreUtils, perl-Try-Tiny, hostname, mesa-libgbm, libxshmfence
Conflicts: tigervnc-server, tigervnc-server-minimal Conflicts: tigervnc-server, tigervnc-server-minimal
%description %description

Loading…
Cancel
Save