Package Details: telegram-desktop-git 2.5.4.r1.gadc8d6a6d-1

Git Clone URL: https://aur.archlinux.org/telegram-desktop-git.git (read-only, click to copy)
Package Base: telegram-desktop-git
Description: Official Telegram Desktop client
Upstream URL: https://desktop.telegram.org/
Licenses: GPL3
Conflicts: telegram-desktop
Provides: telegram-desktop
Submitter: tredaelli
Maintainer: farseerfc (lilac)
Last Packager: lilac
Votes: 10
Popularity: 0.017573
First Submitted: 2015-05-21 08:28
Last Updated: 2021-01-08 22:46

Required by (1)

Sources (32)

Latest Comments

1 2 3 4 5 Next › Last »

farseerfc commented on 2020-12-18 07:21

Updated to keep up changes in the community package. This should build (at least for now)

slondr commented on 2020-12-09 20:01

==> Starting build()...
Version: 2.4.13.beta
-- Checking for module 'rlottie'
--   Package 'rlottie', required by 'virtual:world', not found
CMake Error at cmake/external/webrtc/CMakeLists.txt:11 (find_package):
  By not providing "Findtg_owt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "tg_owt", but
  CMake did not find one.

  Could not find a package configuration file provided by "tg_owt" with any
  of the following names:

    tg_owtConfig.cmake
    tg_owt-config.cmake

  Add the installation prefix of "tg_owt" to CMAKE_PREFIX_PATH or set
  "tg_owt_DIR" to a directory containing one of the above files.  If "tg_owt"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

==> ERROR: A failure occurred in build().
    Aborting...

melkor217 commented on 2020-08-16 13:25

webrtc related issue during da build:

-- Configuring done
CMake Error in Telegram/CMakeLists.txt:
  Imported target "external_webrtc" includes non-existent path

    "/home/dan/.cache/yay/telegram-desktop-git/src/Libraries/webrtc/src"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

melkor217 commented on 2020-08-16 13:25

webrtc related issue during da build:

-- Configuring done
CMake Error in Telegram/CMakeLists.txt:
  Imported target "external_webrtc" includes non-existent path

    "/home/dan/.cache/yay/telegram-desktop-git/src/Libraries/webrtc/src"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

mattf commented on 2020-07-20 22:18

Having this problem duringthe build:

In file included from /usr/include/qt/QtGui/QtEvents:1,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:64,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/qt/QtGui/qevent.h:222:28: note: declared here
  222 |     inline Qt::Orientation orientation() const { return qt4O; }
      |                            ^~~~~~~~~~~
[897/1016] Building CXX object Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o
FAILED: Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o 
/usr/lib/ccache/bin/c++  -DAL_ALEXT_PROTOTYPES -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_USE_PACKAGED -DDESKTOP_APP_USE_PACKAGED_FONTS -DLOTTIE_USE_CACHE -DLOT_BUILD -DNDEBUG -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WAYLANDCLIENT_LIB -DQT_WIDGETS_LIB -DTDESKTOP_API_HASH=344583e45741c457fe1862106095a5eb -DTDESKTOP_API_ID=17349 -DTDESKTOP_DISABLE_AUTOUPDATE -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME -DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_LINUX -DWEBRTC_NS_FLOAT -DWEBRTC_POSIX -ITelegram/Telegram_autogen/include -ITelegram/gen -I../Telegram/SourceFiles -I../Telegram/lib_spellcheck -ITelegram/lib_ui/gen -I../Telegram/lib_ui -I../Telegram/lib_ui/emoji_suggestions -I../Telegram/lib_base -I../Telegram/lib_rpl -I../Telegram/lib_crl -I../Telegram/ThirdParty/statusnotifieritem -Icmake/external/statusnotifieritem -I../Telegram/lib_tl -I../Telegram/lib_storage -I../Telegram/lib_lottie -I../Telegram/lib_qr -I../Telegram/ThirdParty/QR/cpp -I../Telegram/ThirdParty/rlottie/inc -I../Telegram/ThirdParty/libtgvoip -isystem /usr/include/hunspell -isystem /usr/include/qt/QtCore/5.15.0 -isystem /usr/include/qt/QtCore/5.15.0/QtCore -isystem /usr/include/qt/QtGui/5.15.0 -isystem /usr/include/qt/QtGui/5.15.0/QtGui -isystem /usr/include/qt/QtWaylandClient/5.15.0 -isystem /usr/include/qt/QtWaylandClient/5.15.0/QtWaylandClient -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWaylandClient -isystem ../Telegram/ThirdParty/variant/include -isystem /usr/include/dbusmenu-qt5 -isystem /usr/include/minizip -isystem /usr/include/AL -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/at-spi-2.0 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fcommon -ffile-prefix-map=/home/matheus/projects/telegram-desktop-git/src/tdesktop= -O3 -DNDEBUG   -Wno-register -fno-strict-aliasing -pipe -Wall -W -fPIC -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 -pthread -std=gnu++17 -Winvalid-pch -include /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx -MD -MT Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o -MF Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o.d -o Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o -c ../Telegram/SourceFiles/platform/linux/specific_linux.cpp
In file included from ../Telegram/SourceFiles/platform/linux/specific_linux.cpp:30:
/usr/include/qt/QtWaylandClient/5.15.0/QtWaylandClient/private/qwaylanddisplay_p.h:69:10: fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file or directory
   69 | #include <QtXkbCommonSupport/private/qxkbcommon_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[902/1016] Building CXX object Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/file_utilities_linux.cpp.o
In file included from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:8:
../Telegram/SourceFiles/platform/linux/file_utilities_linux.h:147:38: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QFileDialog::Option; QFlags<T>::Zero = int QFlags<QFileDialog::Option>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
  147 |  QFileDialog::Options _options = { 0 };
      |                                      ^
In file included from /usr/include/qt/QtCore/qglobal.h:1302,
                 from /usr/include/qt/QtCore/qiterator.h:43,
                 from /usr/include/qt/QtCore/qmap.h:43,
                 from /usr/include/qt/QtCore/QMap:1,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp: In function ‘QStringList Platform::FileDialog::internal::{anonymous}::cleanFilterList(const QString&)’:
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:392:44: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
  392 |  return f.split(QLatin1Char(' '), QString::SkipEmptyParts);
      |                                            ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qmap.h:44,
                 from /usr/include/qt/QtCore/QMap:1,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/qt/QtCore/qstring.h:600:9: note: declared here
  600 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:392:44: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
  392 |  return f.split(QLatin1Char(' '), QString::SkipEmptyParts);
      |                                            ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qmap.h:44,
                 from /usr/include/qt/QtCore/QMap:1,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/qt/QtCore/qstring.h:600:9: note: declared here
  600 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:392:58: warning: ‘QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
  392 |  return f.split(QLatin1Char(' '), QString::SkipEmptyParts);
      |                                                          ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qmap.h:44,
                 from /usr/include/qt/QtCore/QMap:1,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
                 from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/qt/QtCore/qstring.h:610:17: note: declared here
  610 |     QStringList split(QChar sep, SplitBehavior behavior,
      |                 ^~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp: In function ‘GtkFileChooserAction Platform::FileDialog::internal::gtkFileChooserAction(QFileDialog::FileMode, QFileDialog::AcceptMode)’:
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:596:20: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations]
  596 |  case QFileDialog::DirectoryOnly:
      |                    ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtWidgets/QFileDialog:1,
                 from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.h:13,
                 from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:8:
/usr/include/qt/QtWidgets/qfiledialog.h:84:21: note: declared here
   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
      |                     ^~~~~~~~~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:596:20: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations]
  596 |  case QFileDialog::DirectoryOnly:
      |                    ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtWidgets/QFileDialog:1,
                 from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.h:13,
                 from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:8:
/usr/include/qt/QtWidgets/qfiledialog.h:84:21: note: declared here
   84 |                     DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
      |                     ^~~~~~~~~~~~~
[906/1016] Building CXX object Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/main_window_linux.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

beaux_monde commented on 2020-06-13 20:47

Update source URI for the telegram-desktop.sh file. It was removed from the upstream. Specify a commit which contains it.

DarkMind commented on 2020-03-10 01:01

/5.14.1/QtCore -isystem /usr/include/qt/QtGui/5.14.1 -isystem /usr/include/qt/QtGui/5.14.1/QtGui -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem ../Telegram/ThirdParty/variant/include -isystem ../Telegram/ThirdParty/expected/include -isystem /usr/include/dbusmenu-qt5 -isystem /usr/include/minizip -isystem /usr/include/AL -march=native -O2 -pipe -fno-plt -ffile-prefix-map=/makepkg/telegram-desktop-git/src/tdesktop= -O3 -DNDEBUG -fno-strict-aliasing -pipe -Wall -W -fPIC -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 -std=gnu++17 -Winvalid-pch -include /makepkg/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx -MD -MT Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o -MF Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o.d -o Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o -c Telegram/gen/lang_auto.cpp {entrada estándar}: Mensajes del ensamblador: {entrada estándar}:2476: Aviso: final de fichero no está al final de una línea: se insertó línea nueva c++: error fatal: la señal Terminado (killed) terminó el programa cc1plus compilación terminada. [586/972] Building CXX object Telegram/CMakeFile...urceFiles/boxes/peers/edit_participant_box.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: Se produjo un fallo en build().

Hi-Angel commented on 2019-11-03 14:55

Please, remove from PKGBUILD line make -j17 the option -j17. First of, it gonna eat up user's RAM because that takes a lot of memory. I just had a lock up because of this. Second, users usually set the -jX number they prefer inside MAKEFLAGS in their /etc/makepkg.conf.

(ideally one wouldn't use make at all in preference of modern ninja since cmake does support such generator. But tdesktop seems to have something broken in their cmake configuration, and -GNinja option to cmake makes cmake configuration fail)

pizzaman commented on 2019-07-11 03:16

Check https://github.com/telegramdesktop/tdesktop/issues/6219

wallace11 commented on 2019-07-10 21:25

It appears that tdesktop-ffmpeg-fix-convertFromARGB32PM.patch and tdesktop-rlottie-static-qt.patch are no longer available