Open akontsevich opened 1 day ago
how did you build it? what OS? what commands used to build? use these docker scripts to build: https://github.com/Zoxcore/qTox_enhanced/tree/zoxcore/push_notification/.localrun
how did you build it?
According to these instructions: https://github.com/qTox/qTox/blob/master/INSTALL.md#compile-extensions
what OS?
openSUSE Tumbleweed
what commands used to build?
They are all mentioned in the attached rpm spec and build log in my first above comment. In particular:
%build
tar -xvzf %{SOURCE1}
tar -xvzf %{SOURCE2}
# qTox uses the toxext library and some of the extensions that go with it.
# https://github.com/qTox/qTox/blob/master/INSTALL.md#compile-extensions
CFLAGS="%{optflags} -Wno-error=parentheses"
pushd toxext-0.0.3
mkdir build
pushd build
# Note: See buildscirpts/download/download_toxext.sh for which version should be checked out
cmake -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
make -j$(nproc) PREFIX=%{_prefix}
make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
popd
popd
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:%{buildroot}%{_prefix}/lib/cmake/ToxExt"
pushd tox_extension_messages-0.0.3
# Note: See buildscirpts/download/download_toxext_messages.sh for which version should be checked out
mkdir build
pushd build
cmake -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DToxExt_DIR="%{buildroot}%{_prefix}/lib/cmake/ToxExt" ..
make -j$(nproc) PREFIX=%{_prefix}
make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
popd
popd
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:%{buildroot}%{_prefix}/lib/cmake/ToxExtensionMessages"
mkdir build
pushd build
cmake -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DUPDATE_CHECK=False -DDESKTOP_NOTIFICATIONS=True \
-DToxExt_DIR="%{buildroot}%{_prefix}/lib/cmake/ToxExt" \
-DToxExtensionMessages_DIR="%{buildroot}%{_prefix}/lib/cmake/ToxExtensionMessages" \
..
make %{?_smp_mflags} PREFIX=%{_prefix}
popd
use these docker scripts to build: https://github.com/Zoxcore/qTox_enhanced/tree/zoxcore/push_notification/.localrun
Could You specify exact chain please: it runs Dockerfile where it builds toxext and toxext_messages then goes to /qtox
workdir. What are the next steps?
Have some errors during latest
qTox_enhanced-1.17.6.028.tar.gz
version building:Any ideas? Any dependency missed? Thanks!
Full build log attached:
_log.txt
Spec attached as well:
qtox_enhanced.spec.txt