Commit Graph

203 Commits

Author SHA1 Message Date
Ilya Fedin 1f4ea8414b Update tg_owt commit in snap 2022-03-27 12:38:45 +04:00
Ilya Fedin 680dee14a1 Update snap to Qt 6.2.4 2022-03-27 12:38:45 +04:00
Ilya Fedin 437fe4ba82 Set path to mozjpeg in snap for tdesktop 2022-03-10 17:11:41 +04:00
Ilya Fedin 3a9f34e47b Disable some syscalls in snap Qt build 2022-02-15 19:32:45 +03:00
Ilya Fedin 145a610321 Update Qt to 6.2.3 in snap 2022-02-10 09:52:30 +03:00
Ilya Fedin c7b6db00ca Build WebRTC without PipeWire support in snap
WebRTC no more supports PipeWire 0.2, so it's impossible to build PipeWire support until core22 runtime is released
2022-02-02 09:32:44 +03:00
Ilya Fedin d4b686ff65 Update tg_owt 2022-02-01 15:30:02 +03:00
Ilya Fedin ca5d2c115d Update tg_owt 2022-01-23 18:25:37 +04:00
Ilya Fedin c0a81f2428 Use the suggested workaround for qtwayland build arguments instead of patching 2022-01-22 18:42:59 +04:00
Ilya Fedin eccb01e5b5 Use ninja generator in snap 2022-01-12 20:34:51 +03:00
Ilya Fedin 799155279f Update kwayland and move its dependencies to ThirdParty to keep them in sync 2022-01-11 16:51:01 +03:00
Ilya Fedin 641583b434 Update libraries in Dockerfile & snapcraft.yml 2021-12-29 17:27:23 +03:00
John Preston 999e4264c5 Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:29 +00:00
Ilya Fedin a8f05a01ed Build kwayland as external project
This will simplify packaged Qt 6 build
2021-12-22 14:09:32 +04:00
Ilya Fedin 6db537d1ec Rename telegramdesktop.appdata.xml -> telegramdesktop.metainfo.xml
.appinfo.xml is legacy according to https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2021-12-06 11:53:28 +04:00
Ilya Fedin 5c91506723 Update tg_owt in snap 2021-12-01 07:39:03 +04:00
Ilya Fedin 2ad20d6c4a Instantiate a local dbus server for webview IPC 2021-11-29 16:23:51 +04:00
Ilya Fedin c7433477bc Use ninja as much as possible in docker 2021-11-21 09:51:01 +04:00
Ilya Fedin dc8aefd7ad Use GCC 10 in snap 2021-11-18 20:32:52 +04:00
Ilya Fedin 80fe3d732a Try to fix snap store upload 2021-11-16 18:06:25 +04:00
Ilya Fedin 1e60eb1894 Adjust snap permissions
Due to the removal of beariers, network-manager-observe shouldn't be needed anymore.
hardware-observe is needed for DeviceModelPretty, though.
Added systemd to stage-packages for calling systemd-detect-virt.
pulseaudio is a legacy interface, audio-playback and audio-record replace it.
2021-11-06 10:28:28 +04:00
Ilya Fedin 0e6e263a7b Use epoxy in snap 2021-11-05 19:41:03 +04:00
Ilya Fedin 81327ede7b Build Qt without high DPI scaling support 2021-11-04 10:20:48 +04:00
Ilya Fedin b36fce31d5 Add missing libSM and libICE to snap 2021-10-30 21:46:48 +04:00
Ilya Fedin 4b33d7cb2f Fix Qt dependencies in snap
Qt uses libOpenGL and libGLX instead of libGL now
2021-10-30 14:02:37 +04:00
Ilya Fedin 97881e7754 Default to Qt 6 on Linux and macOS 2021-10-29 22:06:46 +04:00
Ilya Fedin e42f08f08d Switch snap to Qt 6 2021-10-29 22:06:46 +04:00
John Preston 3d8899b9dc Update tg_owt revision. 2021-10-21 22:53:12 +04:00
Ilya Fedin 7222bc63f7 Update MozJPEG 2021-10-21 19:31:22 +04:00
Ilya Fedin b2df781b76 Fix icon for Quit Telegram taskbar item in snap 2021-09-20 15:09:42 +03:00
Ilya Fedin 38815c1ca8 Backport fonts hook from snapcraft extensions 2021-09-20 11:40:03 +03:00
Gleb Smirnoff 8cf9dc3319 Pull up to recent cmake_helpers and tg_owt that bring FreeBSD fixes. 2021-09-15 23:24:39 +03:00
Ilya Fedin ee8c6f68d7 Use clang to build jemalloc since it crashes with gcc 2021-09-12 00:11:47 +03:00
Ilya Fedin 45360adbc2 Remove unneeded libraries from snapcraft.yaml 2021-09-07 23:40:08 +03:00
John Preston caddb44a2c Update tg_owt revision. 2021-07-07 16:39:26 +03:00
Ilya Fedin 1b4216803d Add snap permission to own name for gtk integration IPC 2021-07-07 14:26:33 +03:00
Ilya Fedin 85f013ebdb Revert "Avoid removing portal platformtheme plugin in snap"
This reverts commit 12db51fe75.
2021-07-01 22:13:50 +03:00
Ilya Fedin 832cc6ac69 Build Qt with gtk integration 2021-07-01 22:13:50 +03:00
Ilya Fedin 02db4e01fa Get rid of qt5ct 2021-06-29 17:35:39 +03:00
John Preston 18a86e500b Update tgcalls and tg_owt. 2021-06-17 11:55:10 +04:00
Ilya Fedin f90f1c02c3 Add extra-cmake-modules as telegram dependency in snapcraft.yaml 2021-06-11 00:00:16 +04:00
Ilya Fedin ce413f2946 Update tg_owt in snap 2021-06-04 11:47:01 +03:00
Ilya Fedin 0d84ba406f Exclude some development files from snap 2021-06-04 11:47:01 +03:00
Ilya Fedin 9047b3c121 Prime tg_owt dependencies 2021-06-04 11:47:01 +03:00
Ilya Fedin 3ff9543106 Fix rnnoise installation path 2021-06-04 11:47:01 +03:00
Ilya Fedin 46b4a5fc5a Fix snap build 2021-06-02 14:00:43 +03:00
Ilya Fedin bd456568ed Set -DTG_OWT_BUILD_AUDIO_BACKENDS=OFF in snapcraft.yaml 2021-06-01 19:33:43 +03:00
Ilya Fedin 93fa0e1df5 Add rnnoise to snapcraft.yaml 2021-06-01 19:33:43 +03:00
John Preston a0506f009a Update tg_owt revision. 2021-05-26 18:35:25 +04:00
John Preston e299aa032d Update tg_owt to webrtc m91. 2021-05-25 12:07:49 +04:00
John Preston e0e878cbb1 Update tg_owt to webrtc m90. 2021-05-24 22:45:15 +04:00
Ilya Fedin 3cb9312805 NEON support for ARMv7 is fixed in tg_owt 2021-05-16 11:28:11 +03:00
Ilya Fedin 3722486b19 Add new tg_owt dependencies to snap 2021-05-16 11:28:11 +03:00
John Preston 57b3982346 Update tg_owt in Snap build. 2021-05-14 15:22:39 +04:00
John Preston 175f3d7a38 Use our fork of 'snapcraft-desktop-helpers'. 2021-04-28 10:46:03 +04:00
Ilya Fedin 05d2fc819c Bind path to WebkitWebProcess 2021-04-27 17:44:41 +03:00
Ilya Fedin 2eda5bb2d8 Add webkit dependency to snap 2021-04-15 16:20:59 +03:00
Ilya Fedin 12db51fe75 Avoid removing portal platformtheme plugin in snap 2021-03-22 07:57:18 +03:00
Ilya Fedin d2f57b72c3 Add mpris permission for snap 2021-03-18 21:55:06 +03:00
John Preston 9a73c99935 Beta version 2.6.2: Fix build. 2021-03-13 21:05:53 +04:00
Ilya Fedin 67cbe61879 Check if portal backend is present by absence of errors when getting portal version 2021-03-10 09:46:13 +04:00
Ilya Fedin 8042a83fd2 Move glib usage to glibmm 2021-03-04 12:07:54 +04:00
Ilya Fedin 60a1e548ac Use LZO compression in snap 2021-02-23 12:54:40 +04:00
Ilya Fedin 0b5213a9cb Use SNAPCRAFT_PARALLEL_BUILD_COUNT instead of nproc in snap 2021-01-30 10:01:39 +04:00
Ilya Fedin 9be65f8812 Fix missing libraries warning in snap 2021-01-29 13:50:29 +04:00
Ilya Fedin 30468746ad Build Qt in snap to get newer version than in Ubuntu 2021-01-29 13:03:29 +04:00
John Preston efde011f1c Update tg_owt commit in snap build. 2021-01-25 00:51:54 +04:00
Ilya Fedin ae74f7b3da Build WebRTC without NEON for armhf
ARM support is community maintained in tg_owt and no one seem to fix build with NEON, thus disabling it to get new armhf builds on snapcraft.
2021-01-24 08:49:25 +04:00
John Preston 3793f7c3c9 Update tg_owt commit in snap build. 2021-01-23 20:31:24 +04:00
John Preston 606f5377d5 Cherry-pick fix for Pulseaudio OpenAL backend. 2021-01-22 18:08:49 +04:00
John Preston c698327b24 Update tg_owt commit in Snap. 2021-01-22 17:42:06 +04:00
John Preston 1704cb345a Beta version 2.5.4: Fix build on Linux. 2021-01-07 23:17:54 +04:00
Ilya Fedin 99af2a7058 Check for xdg-decoration protocol support on Wayland 2021-01-04 17:08:49 +04:00
Ilya Fedin 375820d5cf glib was missed in stage-packages in snap 2020-12-24 07:48:00 +04:00
Ilya Fedin 3955543699 Remove QtSvg from snap in telegram part
Since it was needed only for lxqt-qtplugin
2020-12-24 07:48:00 +04:00
Ilya Fedin edcd462fb9 Use ibus portal in snap
It's supported since snapd 2.46 that was released in August
2020-12-24 07:48:00 +04:00
Ilya Fedin feff514a07 Update openal in snap to 1.21.0
And remove unneeded dependencies
2020-12-23 20:31:01 +04:00
Ilya Fedin 3297bdadb5 Add new dependencies to snap build 2020-12-09 22:36:06 +03:00
John Preston 569570ddc4 Update tg_owt commit in snap build. 2020-12-09 10:46:59 +04:00
Ilya Fedin 2df7e4181f Add a comment about GTK_USE_PORTAL in snap 2020-11-16 12:37:42 +03:00
Ilya Fedin 9329ce9059 Pin tg_owt commit in snap and add -DBUILD_SHARED_LIBS=OFF 2020-11-05 17:53:09 +03:00
Ilya Fedin 55167ea95b Handle snap icon problem in snapcraft.yaml rather than in code 2020-11-05 14:38:03 +03:00
Ilya Fedin ad54fc6459 Try to use portals for file dialog in snap, again 2020-11-01 18:27:31 +03:00
Ilya Fedin 02818a8251 Use new tg_owt installation support in snap 2020-10-30 17:10:08 +03:00
Ilya Fedin 94d37509c1 Add $SNAPCRAFT_ARCH_TRIPLET to paths 2020-10-30 12:12:39 +03:00
Ilya Fedin 822d1718a9 Use MozJPEG 2020-10-30 12:12:39 +03:00
Ilya Fedin 3742db2b91 Use portals via glib to open urls & files in snap 2020-10-28 09:57:46 +03:00
John Preston 26c7a95a9f Use network-manager-observe in snap version. 2020-10-06 10:15:22 +03:00
Ilya Fedin 10012d6b31 Handle launcher basename compile-time for snap
Just like for flatpak
2020-10-01 10:54:42 +03:00
Ilya Fedin dfad68a0b8 Fix tg_owt url 2020-08-31 12:01:43 +04:00
Ilya Fedin 077f0c393e No need to rebuild ffmpeg without NEON optimizations anymore 2020-08-31 12:01:43 +04:00
Ilya Fedin a474074705 Adapt snap build for tg_owt 2020-08-30 16:28:50 +04:00
Ilya Fedin 2574389129 Fix snap build on Launchpad 2020-08-19 09:58:24 +04:00
Ilya Fedin c529974da5 Add webrtc support for snap 2020-08-18 08:05:37 +04:00
John Preston f801cb822e Revert "Update ffmpeg to 4.3 in snap"
This reverts commit 6c52b4630c.
2020-08-17 10:29:18 +04:00
Ilya Fedin 786bedf271 Disable Qt's integration mechanism on GTK-based DE to avoid early GTK loading
This also removes TDESKTOP_USE_GTK_FILE_DIALOG since it doesn't forces GTK dialog for anyone and there is no reason to leave it

TDESKTOP_DISABLE_GTK_INTEGRATION can be also tested via action now
2020-08-15 17:43:28 +04:00
Ilya Fedin 4e5e30a8dd Update fcitx5-qt 2020-08-11 10:55:50 +04:00
Ilya Fedin 26bedd95d7 DESKTOP_APP_USE_PACKAGED_FONTS respects DESKTOP_APP_USE_PACKAGED_LAZY now 2020-08-11 10:55:50 +04:00
Ilya Fedin 59b521d666 Implement xcb-based LastUserInputTime method 2020-07-12 22:19:44 +04:00
Ilya Fedin a416debc2f core20 doesn't support i386 2020-06-18 06:46:11 +04:00