Commit 81656f6e authored by Hussein Abdallah's avatar Hussein Abdallah Committed by Sébastien Blin

packaging: rhel8 needs json-cpp and up-to-date gnutls

add BuildRequires jsoncpp-devel to the spec files, otherwise
buliding RPM packages for RHEL 8 fails with this message

contrib/x86_64-redhat-linux checking for Jsoncpp... yes
checking for ZLIB... yes checking for PJPROJECT... no
configure: error: Missing pjproject files error: Bad exit status ...

Add '.gnutls' after 'make -j4 V=1 .ffmpeg' in the spec file
if we don't compile GnuTLS Jami is unable to establish p2p communication

Error message in dring when using RHEL8's GnuTLS version 3.6.8
[TLS] handshake failed: An error has been detected in the library and cannot
continue operations.

Change-Id: Ic8c500eaa286d66f251588f8052267d0bfc3240f
parent da29895a
......@@ -40,8 +40,7 @@ BuildRequires: libuuid-devel
BuildRequires: libXfixes-devel
BuildRequires: gnutls-devel
BuildRequires: nettle-devel
#BuildRequires: jsoncpp-devel
#BuildRequires: json-devel
BuildRequires: jsoncpp-devel
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: gtk3-devel
......@@ -94,7 +93,7 @@ cd %{_builddir}/ring-project/daemon/contrib/native && \
make list && \
make fetch && \
make -j4 V=1 && \
make -j4 V=1 .ffmpeg
make -j4 V=1 .ffmpeg .gnutls
cd %{_builddir}/ring-project/daemon && \
./autogen.sh && \
......
......@@ -41,8 +41,7 @@ BuildRequires: libuuid-devel
BuildRequires: libXfixes-devel
BuildRequires: gnutls-devel
BuildRequires: nettle-devel
#BuildRequires: jsoncpp-devel
#BuildRequires: json-devel
BuildRequires: jsoncpp-devel
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: gtk3-devel
......@@ -113,7 +112,7 @@ cd %{_builddir}/ring-project/daemon/contrib/native && \
make list && \
make fetch && \
make -j4 V=1 && \
make -j4 V=1 .ffmpeg
make -j4 V=1 .ffmpeg .gnutls
cd %{_builddir}/ring-project/daemon && \
./autogen.sh && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment