Commit Graph

259 Commits

Author SHA1 Message Date
Ilya Fedin c8aa97b6b2 Fix fonts in snap
Regression was introduced in 09bd953c18
2023-01-21 09:44:14 +04:00
Ilya Fedin d67c48fda1 Generate various caches in snap to speedup launch after updates 2023-01-21 09:44:14 +04:00
Ilya Fedin 8820b9046d Map PipeWire's modules in snap 2023-01-20 16:53:30 +04:00
Ilya Fedin 09bd953c18 Add pipewire configs to snap 2023-01-20 14:44:09 +04:00
Ilya Fedin 24ecd2ac88 Map PipeWire's SPA plugins in snap 2023-01-20 12:12:49 +04:00
Ilya Fedin 241be89e5c Enable the new experimental setting for Linux 2023-01-12 21:17:08 +04:00
Ilya Fedin 3cbbe3d3c2 Update Qt to 6.4.2 on Linux 2023-01-05 23:00:13 +04:00
John Preston 0af26dd353 Capture mouse in PipeWire screen capture. 2023-01-05 10:09:44 +04:00
Ilya Fedin b246328dcf Use latest mesa in snap 2023-01-02 11:19:15 +04:00
Ilya Fedin dc5abf8ddd Support ICCv4 with Little CMS on Linux 2022-12-28 16:02:35 +04:00
Ilya Fedin ecd217a79f Implement autostart in snap 2022-12-20 18:55:29 +04:00
John Preston cad87f6818 Update to WebRTC M108. 2022-12-08 14:22:04 +04:00
Ilya Fedin 70b039a6e4 Don't build unneeded libprotoc in snap 2022-11-26 17:26:52 +01:00
Ilya Fedin d63e483615 Use command-chain for desktop-launch in snap 2022-11-25 12:20:12 +01:00
Ilya Fedin bea3e5d48f Add mm-common to glibmm build-packages 2022-11-25 12:20:12 +01:00
Ilya Fedin 8b20c27ba7 Add protobuf to snap 2022-11-25 12:20:12 +01:00
Ilya Fedin 82629dd3e5 Update Qt to 6.4.1 on Linux 2022-11-18 20:40:57 +04:00
Ilya Fedin b9b6a9e747 Follow desktop file naming specification
This is required for GApplication to enable all the features

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming
2022-11-18 20:40:33 +04:00
Ilya Fedin e675dc1ef1 Fix appdata filename in snapcraft.yaml 2022-11-08 01:13:08 +04:00
Ilya Fedin fc4682d77e Get rid of TDESKTOP_LAUNCHER_BASENAME
This key was mainly used to let flatpak and snap provide right desktop file name.
Now, we can compute it from the environment in runtime for both flatpak and snap.
There's no more need in this option. Desktop filename override by downstreams is highly discouraged.
2022-11-07 13:47:58 +04:00
Ilya Fedin a73ff8f5d7 Get rid of legacy themes in snap
gtk-common-themes contains all the themes now
2022-11-06 08:08:42 +04:00
Ilya Fedin 0c8400212e Add curl to fix snap build on Launchpad 2022-11-06 00:08:25 +04:00
Ilya Fedin dcfc3431f5 Disable unneeded validation for libsigc++ 2022-11-06 00:08:25 +04:00
Ilya Fedin fe987e3f22 Don't prime Qt's pkg-config files in snap 2022-11-04 23:06:25 +04:00
Ilya Fedin d3071acad2 Build newer glibmm in snap 2022-11-04 23:06:25 +04:00
Ilya Fedin 68ad56db79 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 19:33:46 +04:00
Ilya Fedin 16649a9661 Fix snap build 2022-09-30 07:44:18 +04:00
Ilya Fedin 8eb6d2e36b Update Qt and libjxl to release versions on Linux 2022-09-30 00:24:32 +04:00
Ilya Fedin 2a6e2fa353 Bundle kcoreaddons 2022-09-28 23:59:59 +04:00
Ilya Fedin 140dcb033b Fix snap building on snapcraft 2022-09-20 10:20:07 +04:00
Ilya Fedin 06d9d04787 Remove explicit setting of paths for cmake in snapcraft.yaml
This is reported as fixed in snapcraft, thus these paths should be set automatically
2022-09-19 19:12:16 +04:00
Ilya Fedin 278ab5ebaf Add support for AVIF, HEIF and JPEG XL (only on Linux yet) 2022-09-19 11:20:50 +04:00
Ilya Fedin 4975254cc1 Avoid building qttools
Removing po folder from kcoreaddons allows that
2022-09-18 15:55:56 +04:00
Ilya Fedin b36063e086 Update kcoreaddons to 5.98.0
And patch to cache portal result
2022-09-17 06:23:05 +04:00
Ilya Fedin 552d96df71 Update Qt to 6.4.0 rc1 2022-09-16 09:46:36 +04:00
Ilya Fedin 86059f2b5e Update Qt to 6.4.0 beta4 on Linux 2022-09-02 21:27:41 +04:00
Ilya Fedin 2065616592 Let Qt use Vulkan headers for Vulkan support 2022-09-02 21:27:41 +04:00
Ilya Fedin e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
Ilya Fedin 2259f747f1 Add missing network-status permission
This should make webview working as well as auto-reconnection when system network changed
2022-08-22 17:23:02 +04:00
Ilya Fedin 0e97ef992e Build OpenSSL 1.1.1 in snap 2022-06-28 09:49:45 +04:00
Ilya Fedin d09a591d1b Use *.so everywhere to exclude devlopment symlinks in snap 2022-06-28 09:49:45 +04:00
Ilya Fedin aeddaf3dbd Update openal to 1.22.2 2022-06-28 09:49:45 +04:00
Ilya Fedin 14416a68db Fix openal pipewire version check in snap 2022-06-24 21:11:12 +04:00
Ilya Fedin 28f75525b2 Update openal to 1.22.1
Downgrade pipewire headers as openal won't work with pipewire version less than headers it builds with now
2022-06-23 09:48:27 +04:00
Ilya Fedin 1467b1c720 Fix webkit2gtk directory mapping in snap 2022-06-16 09:02:52 +04:00
Ilya Fedin d2faacb0fb Update snap to core22 2022-06-16 08:39:29 +04:00
Ilya Fedin 64a5e03321 Synchronize new Qt build argument between Dockerfile & snapcraft.yml 2022-06-15 10:47:34 +04:00
John Preston 326304ca48 Update Qt to 5.15.4 and 6.3.1. 2022-06-14 18:34:09 +04:00
Ilya Fedin 391a3a77f6 Use Qt's xdg-desktop-portal file dialog implementation 2022-06-14 16:36:44 +04:00
John Preston 69e41e911d Update tg_owt revision in snap build. 2022-05-13 20:32:05 +04:00
John Preston e206f42e4e Beta version 3.7.4: Update tg_owt in snap. 2022-05-04 12:34:22 +04:00
Ilya Fedin 48589b721d Update openal to 1.22.0 2022-05-02 15:33:56 +04:00
Ilya Fedin b6c9a1d655 Add glib-networking to snap
It's required by webkit2gtk for correct operation
2022-04-17 13:50:25 +04:00
Ilya Fedin d25bd2f481 Update tg_owt in Dockerfile & snapcraft.yaml 2022-04-14 14:14:15 +04:00
Ilya Fedin 072974216b Disable egl-extension-platform-wayland again
Looks like it causes problems along with -Wl,-z,now
2022-04-14 13:54:51 +04:00
Ilya Fedin 2e1f504c11 Update to Qt 6.3 2022-04-13 15:06:06 +04:00
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