Closed pheiduck closed 3 years ago
telegram-desktop-manjaro 2.7.9.r0.g55e494f55-1 > same behaviour
@john-preston @ilya-fedin Why is rnnoise missing from the .gitmodules?
It is not a submodule to be in .gitmodules
clone source from manjaro gitlab
update PKGBUILD with latest Commit from here (dev branch)
makepkg -src
see Build error
Pleas don't open upstream issues for errors in third-party build scripts
It is not a submodule to be in .gitmodules
@ilya-fedin Why??? This is another tiny library that is NOT found in the linux distributions packages. https://github.com/desktop-app/rnnoise
Why??? This is another tiny library that is NOT found in the linux distributions packages.
I don't know why preston bundles some libraries and doesn't bundle others, but I guess his reasons don't include whether the library is present in linux distributions or not. Btw, I see Arch has that library: https://archlinux.org/packages/community/x86_64/rnnoise/
After all, linux distributions will be forced to add that dependency anyway in order to be able to build tdesktop.
And this https://archlinux.org/packages/extra/any/extra-cmake-modules/ was missing in makedepends
hm, doesn't work, build failed anyway
FAILED: Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp.o
/usr/bin/c++ -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_USE_PACKAGED -DDESKTOP_APP_USE_PACKAGED_FONTS -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS -DRTC_ENABLE_VP9 -DTGCALLS_USE_STD_OPTIONAL -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_APP_TDESKTOP -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_LINUX -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_POSIX -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -I../Telegram/ThirdParty/tgcalls -I../Telegram/ThirdParty/tgcalls/tgcalls -isystem /usr/include/tg_owt -isystem /usr/include/tg_owt/third_party/libyuv/include -isystem /usr/include/tg_owt/third_party/abseil-cpp -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -O3 -DNDEBUG -fPIC -fno-strict-aliasing -pipe -Wall -W -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-attributes -Wno-parentheses -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=class-memaccess -Wno-register -MD -MT Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp.o -MF Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp.o.d -o Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp.o -c ../Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp
../Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp: In statischer Elementfunktion »static rtc::CopyOnWriteBuffer tgcalls::EncryptedConnection::SerializeEmptyMessageWithSeq(uint32_t)«:
../Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp:570:25: Fehler: »class rtc::CopyOnWriteBuffer« hat kein Element namens »MutableData«
570 | auto bytes = result.MutableData();
| ^~~~~~~~~~~
[110/976] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/MediaManager.cpp.o
ninja: build stopped: subcommand failed.
You need newer tg_owt
After all, linux distributions will be forced to add that dependency anyway in order to be able to build tdesktop.
Where is possibility to build it statically? https://github.com/desktop-app/cmake_helpers/blob/97b9c3f6d899b8a24137b9e6c076f5752d13a037/external/rnnoise/CMakeLists.txt#L41
Where is possibility to build it statically?
There's no possibility. You should wait until your distro maintainer will add rnnoise to the repo. It's a common process when an app depends on something new.
There's no possibility. You should wait until your distro maintainer will add rnnoise to the repo. It's a common process when an app depends on something new.
Why tg_owt has this possibility, but rnnoise - not?
Why tg_owt has this possibility, but rnnoise - not?
tg_owt is not bundled as a submodule as well.
tg_owt is not bundled as submodule as well
But it can be built statically from ../Libraries/tg_owt
But it can be built statically from ../Libraries/tg_owt
Ah, you mean build a static library with upstream build system. I don't know whether it's possible or not with rnnoise, you should ask rnnoise authors.
@reagentoo Hmm, maybe it should be added as a submodule and built together with other bundled libs. I just didn't think about that.
- clone source from manjaro gitlab
- update PKGBUILD with latest Commit from here (dev branch)
- makepkg -src
- see Build error
Pleas don't open upstream issues for errors in third-party build scripts
have updated the PKGBUILD, after I found out which makedepends are missing... and there is also an Issue @ Manjaro GitLab ;)
and there is also an Issue @ Manjaro GitLab ;)
If you need help with build, you can create issue of question type and ask the question directly. You can't report as a bug that some PKGBUILD of some Manjaro doesn't work.
Is rnnoise
a runtime dep as well as build time?
yeah, of course
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Steps to reproduce
Expected behaviour
Succeeded Build
Actual behaviour
Configuration
Operating system: docker image: manjarolinux/base Version of Telegram Desktop: 2.7.8.r80.g55e494f55-1
Installation source (Linux Only) - GitHub Commits: latest on dev branch
Used theme: matcha-gtk-theme