diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-14 00:48:27 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-14 09:18:01 -0300 |
commit | 184355fdc44bc2e12976d65518fe029d8a6e459d (patch) | |
tree | 3d6d67b9d315d9434eea4296f25446fa892ec372 /community/telegram-desktop/small-sizes.patch | |
parent | 7f54020eb59f8766522607544a4b66e89dd920e8 (diff) | |
download | aports-184355fdc44bc2e12976d65518fe029d8a6e459d.tar.bz2 aports-184355fdc44bc2e12976d65518fe029d8a6e459d.tar.xz |
community/telegram-desktop: move from testing
The telegram developers made great progress in making packaging Telegram
Desktop a pleasant experience for Alpine Linux.
- There is now a full tarball available that includes all gitmodules
that before were all checked out via tarballs in the source= variable.
- There is now support deciding whether to use system packages and
linking it to the Telegram binary instead of statically linked checked
out versions in the source tree.
- The build system is now cmake, which is much better than the previous
GYP meta build-system mess.
Overall the change from the old to the new system reduced Alpine Linux's
load by 834 lines.
Diffstat (limited to 'community/telegram-desktop/small-sizes.patch')
-rw-r--r-- | community/telegram-desktop/small-sizes.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/community/telegram-desktop/small-sizes.patch b/community/telegram-desktop/small-sizes.patch new file mode 100644 index 0000000000..48473996c1 --- /dev/null +++ b/community/telegram-desktop/small-sizes.patch @@ -0,0 +1,48 @@ +From 675b5d645221bae9d9ad2cc7dd62d30a3b0f95c3 Mon Sep 17 00:00:00 2001 +From: Julian Sparber <julian@sparber.net> +Date: Thu, 14 Nov 2019 17:36:33 +0100 +Subject: [PATCH] Make it work on small sizes + +--- + Telegram/SourceFiles/settings/settings_main.cpp | 2 +- + Telegram/SourceFiles/window/window.style | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Telegram/SourceFiles/settings/settings_main.cpp b/Telegram/SourceFiles/settings/settings_main.cpp +index 18552902b..c2d8e7a4d 100644 +--- a/Telegram/SourceFiles/settings/settings_main.cpp ++++ b/Telegram/SourceFiles/settings/settings_main.cpp +@@ -100,7 +100,7 @@ void SetupSections( + } + + bool HasInterfaceScale() { +- return true; ++ return false; + } + + void SetupInterfaceScale( +diff --git a/Telegram/SourceFiles/window/window.style b/Telegram/SourceFiles/window/window.style +index b3cd3ae83..29bf8bc3c 100644 +--- a/Telegram/SourceFiles/window/window.style ++++ b/Telegram/SourceFiles/window/window.style +@@ -10,7 +10,7 @@ using "basic.style"; + using "ui/widgets/widgets.style"; + using "history/history.style"; + +-windowMinWidth: 380px; ++windowMinWidth: 360px; + windowMinHeight: 480px; + windowDefaultWidth: 800px; + windowDefaultHeight: 600px; +@@ -19,7 +19,7 @@ windowShadowShift: 1px; + + columnMinimalWidthLeft: 260px; + columnMaximalWidthLeft: 540px; +-columnMinimalWidthMain: 380px; ++columnMinimalWidthMain: 360px; + columnDesiredWidthMain: 512px; + columnMinimalWidthThird: 292px; + columnMaximalWidthThird: 392px; +-- +2.24.1 + |