Thanks, did fixed it
Search Criteria
Package Details: forkgram 6.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/forkgram.git (read-only, click to copy) |
---|---|
Package Base: | forkgram |
Description: | Fork of the Telegram Desktop messaging app |
Upstream URL: | https://github.com/Forkgram/tdesktop |
Licenses: | GPL-3.0-or-later |
Conflicts: | forkgram-bin |
Submitter: | ptr1337 |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 6 |
Popularity: | 0.47 |
First Submitted: | 2022-02-05 16:05 (UTC) |
Last Updated: | 2025-08-01 05:36 (UTC) |
Dependencies (41)
- ada
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR)
- hunspell (hunspell-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- libavif (libavif-gitAUR)
- libdispatch (libdispatch-gitAUR)
- libheif (libheif-gitAUR, libheif-highmemAUR)
- libjxl (libjxl-metrics-gitAUR, libjxl-metricsAUR, libjxl-gitAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- libxtst
- minizip (minizip-gitAUR)
- openal (openal-gitAUR)
- openh264 (openh264-gitAUR)
- opus (opus-gitAUR)
- protobuf (protobuf-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-svg
- qt6-wayland
- rnnoise (rnnoise-gitAUR)
- xcb-util-keysyms
- xxhash (xxhash-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- fmt (fmt-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2-devel (make)
- gobject-introspection (make)
- gperf (gperf-gitAUR) (make)
- jemalloc (jemalloc-gitAUR) (make)
- libtg_owt (libtg_owt-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR, ninja-memAUR, ninja-noemacs-gitAUR) (make)
- range-v3 (make)
- tl-expected (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (optional) – embedded browser features
- xdg-desktop-portal (xdg-desktop-portal-gitAUR) (optional) – desktop integration
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4
ptr1337 commented on 2022-04-18 15:30 (UTC)
medzik commented on 2022-03-19 14:13 (UTC) (edited on 2022-03-19 14:13 (UTC) by medzik)
# 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
medzik commented on 2022-03-19 13:57 (UTC)
the same error with latest version
medzik commented on 2022-03-01 22:23 (UTC) (edited on 2022-03-01 22:23 (UTC) by medzik)
[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.
ptr1337 commented on 2022-02-11 14:22 (UTC)
Thanks @FabioLolix did updated it, and also to the new version!
FabioLolix commented on 2022-02-05 20:06 (UTC)
Hello,
- pkgname don't have to be in pkgdesc
- git is not needed as makedepends
- provides=(forkgram) is not needed
- provides=(telegram-desktop) is missing
Pinned Comments
xiota commented on 2024-10-02 21:40 (UTC)
I don't use this package either, but will maintain it for a little while.
forkgram
extra/telegram-desktop
If you have problems with this package: