From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] telegram-desktop: update to 4.3.1.
Date: Thu, 10 Nov 2022 10:58:47 +0100 [thread overview]
Message-ID: <20221110095847.uT1wp9VvHCTK4ygRx7VbnUuTsJ9R9QVGC_ODnaDvgok@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40406@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages telegram-desktop
https://github.com/void-linux/void-packages/pull/40406
[WIP] telegram-desktop: update to 4.3.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
I got the error `Could NOT find Qt6Qml (missing: Qt6Qml_DIR)` maybe `qt6-qml` needs to be packaged...
A patch file from https://github.com/void-linux/void-packages/pull/40406.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-telegram-desktop-40406.patch --]
[-- Type: text/x-diff, Size: 3528 bytes --]
From 01854c3dab41e38197e4fa27d9d7c21e0fd178f4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 9 Nov 2022 07:36:46 +0100
Subject: [PATCH] telegram-desktop: update to 4.3.1.
---
.../telegram-desktop/patches/0001-musl.patch | 36 -------------------
...-gsl.patch => 0001-use-vendored-gsl.patch} | 0
srcpkgs/telegram-desktop/template | 6 ++--
3 files changed, 3 insertions(+), 39 deletions(-)
delete mode 100644 srcpkgs/telegram-desktop/patches/0001-musl.patch
rename srcpkgs/telegram-desktop/patches/{0002-use-vendored-gsl.patch => 0001-use-vendored-gsl.patch} (100%)
diff --git a/srcpkgs/telegram-desktop/patches/0001-musl.patch b/srcpkgs/telegram-desktop/patches/0001-musl.patch
deleted file mode 100644
index d83dd3a513cf..000000000000
--- a/srcpkgs/telegram-desktop/patches/0001-musl.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp 2021-09-04 16:25:46.055482788 +0430
-+++ b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp 2021-09-04 16:31:21.268887787 +0430
-@@ -16,10 +16,6 @@
- #include <QtCore/QDate>
- #include <QtGui/QGuiApplication>
-
--#ifdef Q_OS_LINUX
--#include <gnu/libc-version.h>
--#endif // Q_OS_LINUX
--
- namespace Platform {
- namespace {
-
-@@ -109,22 +105,10 @@
- }
-
- QString GetLibcName() {
--#ifdef Q_OS_LINUX
-- return "glibc";
--#endif // Q_OS_LINUX
--
- return QString();
- }
-
- QString GetLibcVersion() {
--#ifdef Q_OS_LINUX
-- static const auto result = [&] {
-- const auto version = QString::fromLatin1(gnu_get_libc_version());
-- return QVersionNumber::fromString(version).isNull() ? QString() : version;
-- }();
-- return result;
--#endif // Q_OS_LINUX
--
- return QString();
- }
-
diff --git a/srcpkgs/telegram-desktop/patches/0002-use-vendored-gsl.patch b/srcpkgs/telegram-desktop/patches/0001-use-vendored-gsl.patch
similarity index 100%
rename from srcpkgs/telegram-desktop/patches/0002-use-vendored-gsl.patch
rename to srcpkgs/telegram-desktop/patches/0001-use-vendored-gsl.patch
diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 61c86e3678e9..42a0ac05a1c9 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,6 +1,6 @@
# Template file for 'telegram-desktop'
pkgname=telegram-desktop
-version=4.2.4
+version=4.3.1
revision=1
build_style=cmake
build_helper="qemu"
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
qt6-svg-devel libva-devel rapidjson liblz4-devel liblzma-devel gtk+3-devel
MesaLib-devel qt6-wayland-devel qt6-qt5compat-devel libatomic-devel
xcb-util-keysyms-devel $(vopt_if spellcheck hunspell-devel)
- glibmm-devel tg_owt webkit2gtk-devel rnnoise-devel jemalloc-devel"
+ glibmm2.68-devel tg_owt webkit2gtk-devel rnnoise-devel jemalloc-devel qt6-declarative-devel"
depends="qt6-imageformats ttf-opensans"
short_desc="Telegram Desktop messaging app"
maintainer="John <me@johnnynator.dev>"
@@ -26,7 +26,7 @@ license="GPL-3.0-or-later, OpenSSL"
homepage="https://desktop.telegram.org/"
changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt"
distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz"
-checksum=a8109fce9d55553efcbc7c3d9349869e1e267113f5badaf48cf4e0c25cd559d1
+checksum=3c1d8c09b72db5c9f5e2d3b467b451a6ba94c3ba8295b9880842a4e3496153dd
build_options="spellcheck"
build_options_default="spellcheck"
next prev parent reply other threads:[~2022-11-10 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-09 6:40 [PR PATCH] " Eloitor
2022-11-10 0:50 ` AlexKurisu
2022-11-10 0:51 ` AlexKurisu
2022-11-10 9:58 ` Eloitor [this message]
2022-11-10 10:18 ` Eloitor
2022-11-12 12:34 ` [PR PATCH] [Merged]: " Johnnynator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221110095847.uT1wp9VvHCTK4ygRx7VbnUuTsJ9R9QVGC_ODnaDvgok@z \
--to=eloitor@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).