@Alireza
i think i could move and rename the binary, but I dont think It is really worth to do that right now. Ill have a watch and let you know
Git Clone URL: | https://aur.archlinux.org/forkgram.git (read-only, click to copy) |
---|---|
Package Base: | forkgram |
Description: | Fork of Telegram Desktop messaging app. |
Upstream URL: | https://github.com/Forkgram/tdesktop |
Keywords: | forkgram telegram-fork |
Licenses: | GPL3 |
Conflicts: | telegram-desktop |
Provides: | telegram-desktop |
Submitter: | ptr1337 |
Maintainer: | ptr1337 |
Last Packager: | ptr1337 |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2022-02-05 16:05 (UTC) |
Last Updated: | 2023-01-22 13:13 (UTC) |
@Alireza
i think i could move and rename the binary, but I dont think It is really worth to do that right now. Ill have a watch and let you know
Hi, Is it possible to install forkgram alongside telegram??
this package has conflict with telegram-desktop
and the other package breaks telegram-desktop
after installation (forkgram
opens telegram-desktop
)
does it need a maintenance by programmer?
4.0.0 seems to compile without problems again. Finally.
@KspLite
Same for me, seems to be a upstream bug.
Can't build. [147/147] Linking CXX static library lib/libKF5WaylandClient.a ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... Please help.
Thanks, did fixed it
# Maintainer: Peter Jung ptr1337 <admin@ptr1337.dev>
# Contributor: MedzikUser <nivua1fn@duck.com>
pkgname=forkgram
_pkgname=frk
pkgver=3.6.1
pkgrel=1
pkgdesc='Fork of Telegram Desktop messaging app.'
arch=('x86_64' 'x86_64_v3')
url="https://github.com/Forkgram/tdesktop"
license=('GPL3')
depends=('hunspell' 'ffmpeg4.4' 'hicolor-icon-theme' 'lz4' 'minizip' 'openal' 'ttf-opensans'
'qt6-imageformats' 'qt6-svg' 'qt6-wayland' 'qt6-5compat' 'xxhash' 'glibmm'
'rnnoise' 'pipewire' 'libxtst' 'libxrandr' 'jemalloc' 'abseil-cpp' 'libdispatch')
makedepends=('cmake' 'git' 'ninja' 'python' 'range-v3' 'tl-expected' 'microsoft-gsl' 'meson'
'extra-cmake-modules' 'wayland-protocols' 'plasma-wayland-protocols' 'libtg_owt')
optdepends=('gtk3: GTK environment integration'
'webkit2gtk: embedded browser features'
'xdg-desktop-portal: desktop integration')
provides=("telegram-desktop")
conflicts=("telegram-desktop" "tdesktop-x64")
replaces=("tdesktop-x64")
source=("https://github.com/Forkgram/tdesktop/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-full.tar.gz")
sha512sums=('edd299332e941384ff82c58a7c978f5b6e43dc24f8272a03a0efc0650868d26c3309d388abc7f4b8a06157ab5f81fc79a4d76c7d6e18394277900839392a98b8')
build() {
cd $_pkgname-v$pkgver-full
# Fix https://bugs.archlinux.org/task/73220
export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
# Official API ID&Hash by default
cmake . \
-B build \
-G Ninja \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=Release \
-DTDESKTOP_API_ID=611335 \
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c \
-DDESKTOP_APP_DISABLE_AUTOUPDATE=ON
# Hack to compile for ffmpeg4.4
sed -i "s|/usr/lib/libav|/usr/lib/ffmpeg4.4/libav|g" build/build.ninja
sed -i "s|/usr/lib/libsw|/usr/lib/ffmpeg4.4/libsw|g" build/build.ninja
sed -i "s|-lavcodec|/usr/lib/ffmpeg4.4/libavcodec.so|g" build/build.ninja
sed -i "s|-lavformat|/usr/lib/ffmpeg4.4/libavformat.so|g" build/build.ninja
sed -i "s|-lavutil|/usr/lib/ffmpeg4.4/libavutil.so|g" build/build.ninja
sed -i "s|-lswscale|/usr/lib/ffmpeg4.4/libswscale.so|g" build/build.ninja
sed -i "s|-lswresample|/usr/lib/ffmpeg4.4/libswresample.so|g" build/build.ninja
ninja -C build
}
package() {
cd $_pkgname-v$pkgver-full
DESTDIR=$pkgdir ninja -C build install
}
@ptr1337 now the error does not occur
the same error with latest version
[121/1099] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AVIOContextImpl.cpp.o
[122/1099] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/desktop_capturer/DesktopCaptureSourceHelper.cpp.o
[123/1099] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o
FAILED: Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o
/usr/sbin/c++ -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_USE_PACKAGED -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DQT_IMPLICIT_QCHAR_CONSTRUCTION -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_VP9 -DTGCALLS_USE_STD_OPTIONAL -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_APP_TDESKTOP -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_USRSCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_LINUX -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_POSIX -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_X11 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/__w/packages/packages/build_dir/forkgram/src/frk-v3.5.3-full/Telegram/ThirdParty/tgcalls -I/__w/packages/packages/build_dir/forkgram/src/frk-v3.5.3-full/Telegram/ThirdParty/tgcalls/tgcalls -isystem /usr/include/tg_owt -isystem /usr/include/tg_owt/third_party/libyuv/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -fstack-protector-all -fstack-clash-protection -fPIC -fno-strict-aliasing -pipe -Wall -W -Wno-unused-parameter -Wno-switch -Wno-missing-field-initializers -Wno-sign-compare -Wno-deprecated -Wno-maybe-uninitialized -Wno-deprecated-declarations -std=gnu++20 -MD -MT Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o -MF Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o.d -o Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o -c /__w/packages/packages/build_dir/forkgram/src/frk-v3.5.3-full/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp
/__w/packages/packages/build_dir/forkgram/src/frk-v3.5.3-full/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp: In constructor ‘tgcalls::AudioStreamingPartInternal::AudioStreamingPartInternal(std::vector<unsigned char>&&, const string&)’:
/__w/packages/packages/build_dir/forkgram/src/frk-v3.5.3-full/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:107:54: error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ [-fpermissive]
107 | AVInputFormat *inputFormat = av_find_input_format(container.c_str());
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
| |
| const AVInputFormat*
/__w/packages/packages/build_dir/forkgram/src/frk-v3.5.3-full/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:147:73: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘first_dts’
147 | _durationInMilliseconds = (int)((inStream->duration + inStream->first_dts) * 1000 / 48000);
| ^~~~~~~~~
[124/1099] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPart.cpp.o
[125/1099] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/v2/InstanceV2Impl.cpp.o
ninja: build stopped: subcommand failed.
Thanks @FabioLolix did updated it, and also to the new version!
Pinned Comments