@ -0,0 +1,81 @@
|
||||
# [Telegram Desktop][telegram_desktop] – Official Messenger |
||||
|
||||
This is the complete source code and the build instructions for the official [Telegram][telegram] messenger desktop client, based on the [Telegram API][telegram_api] and the [MTProto][telegram_proto] secure protocol. |
||||
|
||||
[![Version](https://badge.fury.io/gh/telegramdesktop%2Ftdesktop.svg)](https://github.com/telegramdesktop/tdesktop/releases) |
||||
[![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/Windows./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions) |
||||
[![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/MacOS./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions) |
||||
[![Build Status](https://github.com/telegramdesktop/tdesktop/workflows/Linux./badge.svg)](https://github.com/telegramdesktop/tdesktop/actions) |
||||
|
||||
[![Preview of Telegram Desktop][preview_image]][preview_image_url] |
||||
|
||||
The source code is published under GPLv3 with OpenSSL exception, the license is available [here][license]. |
||||
|
||||
## Supported systems |
||||
|
||||
The latest version is available for |
||||
|
||||
* [Windows 7 and above (64 bit)](https://telegram.org/dl/desktop/win64) ([portable](https://telegram.org/dl/desktop/win64_portable)) |
||||
* [Windows 7 and above (32 bit)](https://telegram.org/dl/desktop/win) ([portable](https://telegram.org/dl/desktop/win_portable)) |
||||
* [macOS 10.12 and above](https://telegram.org/dl/desktop/mac) |
||||
* [Linux static build for 64 bit](https://telegram.org/dl/desktop/linux) |
||||
* [Snap](https://snapcraft.io/telegram-desktop) |
||||
* [Flatpak](https://flathub.org/apps/details/org.telegram.desktop) |
||||
|
||||
## Old system versions |
||||
|
||||
Version **2.4.4** was the last that supports older systems |
||||
|
||||
* [OS X 10.10 and 10.11](https://updates.tdesktop.com/tosx/tsetup-osx.2.4.4.dmg) |
||||
* [Linux static build for 32 bit](https://updates.tdesktop.com/tlinux32/tsetup32.2.4.4.tar.xz) |
||||
|
||||
Version **1.8.15** was the last that supports older systems |
||||
|
||||
* [Windows XP and Vista](https://updates.tdesktop.com/tsetup/tsetup.1.8.15.exe) ([portable](https://updates.tdesktop.com/tsetup/tportable.1.8.15.zip)) |
||||
* [OS X 10.8 and 10.9](https://updates.tdesktop.com/tmac/tsetup.1.8.15.dmg) |
||||
* [OS X 10.6 and 10.7](https://updates.tdesktop.com/tmac32/tsetup32.1.8.15.dmg) |
||||
|
||||
## Third-party |
||||
|
||||
* Qt 6 ([LGPL](http://doc.qt.io/qt-6/lgpl.html)) and Qt 5.15 ([LGPL](http://doc.qt.io/qt-5/lgpl.html)) slightly patched |
||||
* OpenSSL 1.1.1 and 1.0.1 ([OpenSSL License](https://www.openssl.org/source/license.html)) |
||||
* WebRTC ([New BSD License](https://github.com/desktop-app/tg_owt/blob/master/LICENSE)) |
||||
* zlib 1.2.11 ([zlib License](http://www.zlib.net/zlib_license.html)) |
||||
* LZMA SDK 9.20 ([public domain](http://www.7-zip.org/sdk.html)) |
||||
* liblzma ([public domain](http://tukaani.org/xz/)) |
||||
* Google Breakpad ([License](https://chromium.googlesource.com/breakpad/breakpad/+/master/LICENSE)) |
||||
* Google Crashpad ([Apache License 2.0](https://chromium.googlesource.com/crashpad/crashpad/+/master/LICENSE)) |
||||
* GYP ([BSD License](https://github.com/bnoordhuis/gyp/blob/master/LICENSE)) |
||||
* Ninja ([Apache License 2.0](https://github.com/ninja-build/ninja/blob/master/COPYING)) |
||||
* OpenAL Soft ([LGPL](https://github.com/kcat/openal-soft/blob/master/COPYING)) |
||||
* Opus codec ([BSD License](http://www.opus-codec.org/license/)) |
||||
* FFmpeg ([LGPL](https://www.ffmpeg.org/legal.html)) |
||||
* Guideline Support Library ([MIT License](https://github.com/Microsoft/GSL/blob/master/LICENSE)) |
||||
* Range-v3 ([Boost License](https://github.com/ericniebler/range-v3/blob/master/LICENSE.txt)) |
||||
* Open Sans font ([Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)) |
||||
* Vazir font ([SIL Open Font License 1.1](https://github.com/rastikerdar/vazir-font/blob/master/OFL.txt)) |
||||
* Emoji alpha codes ([MIT License](https://github.com/emojione/emojione/blob/master/extras/alpha-codes/LICENSE.md)) |
||||
* Catch test framework ([Boost License](https://github.com/philsquared/Catch/blob/master/LICENSE.txt)) |
||||
* xxHash ([BSD License](https://github.com/Cyan4973/xxHash/blob/dev/LICENSE)) |
||||
* QR Code generator ([MIT License](https://github.com/nayuki/QR-Code-generator#license)) |
||||
* CMake ([New BSD License](https://github.com/Kitware/CMake/blob/master/Copyright.txt)) |
||||
* Hunspell ([LGPL](https://github.com/hunspell/hunspell/blob/master/COPYING.LESSER)) |
||||
|
||||
## Build instructions |
||||
|
||||
* Windows [(32-bit)][win32] [(64-bit)][win64] |
||||
* [macOS][mac] |
||||
* [GNU/Linux using Docker][linux] |
||||
|
||||
[//]: # (LINKS) |
||||
[telegram]: https://telegram.org |
||||
[telegram_desktop]: https://desktop.telegram.org |
||||
[telegram_api]: https://core.telegram.org |
||||
[telegram_proto]: https://core.telegram.org/mtproto |
||||
[license]: LICENSE |
||||
[win32]: docs/building-win.md |
||||
[win64]: docs/building-win-x64.md |
||||
[mac]: docs/building-mac.md |
||||
[linux]: docs/building-linux.md |
||||
[preview_image]: https://github.com/telegramdesktop/tdesktop/blob/dev/docs/assets/preview.png "Preview of Telegram Desktop" |
||||
[preview_image_url]: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/docs/assets/preview.png |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 5.5 KiB |
@ -0,0 +1,87 @@
|
||||
Name: telegram-desktop |
||||
Version: 4.2.4 |
||||
Release: alt1 |
||||
|
||||
Summary: Telegram Desktop messaging app |
||||
|
||||
License: GPLv3 with OpenSSL exception |
||||
Group: Networking/Instant messaging |
||||
Url: https://telegram.org/ |
||||
|
||||
# Source-url: https://github.com/telegramdesktop/tdesktop/releases/download/v%version/tsetup.%version.tar.xz |
||||
Source: %name-%version.tar |
||||
|
||||
BuildRequires: rsync |
||||
|
||||
# needs for smiles and emojicons |
||||
Requires: qt5-imageformats |
||||
|
||||
# run around https://bugzilla.altlinux.org/show_bug.cgi?id=34665 |
||||
Requires: libqt5-core |
||||
|
||||
Provides: tdesktop = %version-%release |
||||
Obsoletes: tdesktop |
||||
|
||||
Requires: dbus |
||||
%set_verify_elf_method skip |
||||
|
||||
%description |
||||
Telegram is a messaging app with a focus on speed and security, it's super-fast, simple and free. |
||||
You can use Telegram on all your devices at the same time - your messages |
||||
sync seamlessly across any number of your phones, tablets or computers. |
||||
|
||||
With Telegram, you can send messages, photos, videos and files of any type (doc, zip, mp3, etc), |
||||
as well as create groups for up to 1000 people or channels for broadcasting to unlimited audiences. |
||||
You can write to your phone contacts and find people by their usernames. |
||||
As a result, Telegram is like SMS and email combined - and can take care of all your personal |
||||
or business messaging needs. |
||||
|
||||
|
||||
%prep |
||||
%setup |
||||
|
||||
%build |
||||
|
||||
%install |
||||
|
||||
mv Telegram %name |
||||
mkdir -p %buildroot%_bindir |
||||
cp %name %buildroot%_bindir/ |
||||
ln -s %name %buildroot%_bindir/Telegram |
||||
ln -s %name %buildroot%_bindir/telegram |
||||
ln -s %name %buildroot%_bindir/telegramdesktop |
||||
|
||||
mkdir -p %buildroot%_desktopdir |
||||
cp telegramdesktop.desktop %buildroot%_desktopdir/ |
||||
mkdir -p %buildroot%_datadir/metainfo |
||||
cp telegramdesktop.appdata.xml %buildroot%_datadir/metainfo/ |
||||
|
||||
mkdir -p %buildroot%_iconsdir/hicolor/16x16/apps %buildroot%_iconsdir/hicolor/32x32/apps %buildroot%_iconsdir/hicolor/48x48/apps %buildroot%_iconsdir/hicolor/64x64/apps |
||||
mkdir -p %buildroot%_iconsdir/hicolor/128x128/apps %buildroot%_iconsdir/hicolor/256x256/apps %buildroot%_iconsdir/hicolor/512x512/apps |
||||
cp hicolor/telegram16.png %buildroot%_iconsdir/hicolor/16x16/apps/telegram.png |
||||
cp hicolor/telegram32.png %buildroot%_iconsdir/hicolor/32x32/apps/telegram.png |
||||
cp hicolor/telegram48.png %buildroot%_iconsdir/hicolor/48x48/apps/telegram.png |
||||
cp hicolor/telegram64.png %buildroot%_iconsdir/hicolor/64x64/apps/telegram.png |
||||
cp hicolor/telegram128.png %buildroot%_iconsdir/hicolor/128x128/apps/telegram.png |
||||
cp hicolor/telegram256.png %buildroot%_iconsdir/hicolor/256x256/apps/telegram.png |
||||
cp hicolor/telegram512.png %buildroot%_iconsdir/hicolor/512x512/apps/telegram.png |
||||
|
||||
%files |
||||
%_bindir/%name |
||||
%_bindir/telegramdesktop |
||||
%_bindir/Telegram |
||||
%_bindir/telegram |
||||
%_desktopdir/telegramdesktop.desktop |
||||
%_datadir/metainfo/telegramdesktop.appdata.xml |
||||
%_iconsdir/hicolor/16x16/apps/telegram.png |
||||
%_iconsdir/hicolor/32x32/apps/telegram.png |
||||
%_iconsdir/hicolor/48x48/apps/telegram.png |
||||
%_iconsdir/hicolor/64x64/apps/telegram.png |
||||
%_iconsdir/hicolor/128x128/apps/telegram.png |
||||
%_iconsdir/hicolor/256x256/apps/telegram.png |
||||
%_iconsdir/hicolor/512x512/apps/telegram.png |
||||
|
||||
%changelog |
||||
* Wed Dec 26 2022 Sergey-V Markov <sergey@markow.su> 4.2.4-alt1 |
||||
- new version 4.2.4 (from pre build files) |
||||
|
@ -0,0 +1,20 @@
|
||||
[Desktop Entry] |
||||
Version=1.0 |
||||
Name=Telegram Desktop |
||||
Comment=Official desktop version of Telegram messaging app |
||||
TryExec=telegram-desktop |
||||
Exec=telegram-desktop -- %u |
||||
Icon=telegram |
||||
Terminal=false |
||||
StartupWMClass=TelegramDesktop |
||||
Type=Application |
||||
Categories=Chat;Network;InstantMessaging;Qt; |
||||
MimeType=x-scheme-handler/tg; |
||||
Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; |
||||
Actions=Quit; |
||||
X-GNOME-UsesNotifications=true |
||||
|
||||
[Desktop Action Quit] |
||||
Exec=telegram-desktop -quit |
||||
Name=Quit Telegram |
||||
Icon=application-exit |