Github messages for voidlinux
 help / color / mirror / Atom feed
From: alihardan <alihardan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] telegram-desktop: update to 3.0.1.
Date: Sat, 04 Sep 2021 14:16:48 +0200	[thread overview]
Message-ID: <20210904121648.CRbUz1ZmOP7sf40fjyLcvRzlbWqqcQvm-nf3SxXZNDU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32828@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

There is an updated pull request by alihardan against master on the void-packages repository

https://github.com/alihardan/void-packages patch-1
https://github.com/void-linux/void-packages/pull/32828

telegram-desktop: update to 3.0.1.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/32828.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-32828.patch --]
[-- Type: text/x-diff, Size: 4778 bytes --]

From a6531e0e56cc8e54c83d66e357d00cbbcd83efa7 Mon Sep 17 00:00:00 2001
From: Ali Hardan <ali.hardan76@gmail.com>
Date: Sat, 4 Sep 2021 11:38:16 +0430
Subject: [PATCH 1/4] telegram-desktop: update to 3.0.1.

---
 srcpkgs/telegram-desktop/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 57bee005ddd2..d4718c5c6339 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,6 +1,6 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
-version=2.9.3
+version=3.0.1
 revision=1
 wrksrc="tdesktop-${version}-full"
 build_style=cmake

From f3293167ad778ec3a5a29870705a31f986f88716 Mon Sep 17 00:00:00 2001
From: Ali Hardan <ali.hardan76@gmail.com>
Date: Sat, 4 Sep 2021 12:03:57 +0430
Subject: [PATCH 2/4] Update checksum

---
 srcpkgs/telegram-desktop/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index d4718c5c6339..5f6079fb67ad 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -27,7 +27,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=8f661157030e776f42f8a2a3a5e1434f22ded78cc6a5d4bce67004d6d79c1a14
+checksum=536b832ef395884e88e30cf7d8275f67de34581be84b6425a616ebfd3371c91c
 
 build_options="spellcheck"
 build_options_default="spellcheck"

From 8dce133e9863bc4b950e59355054fb4cbff35c65 Mon Sep 17 00:00:00 2001
From: Ali Hardan <ali.hardan76@gmail.com>
Date: Sat, 4 Sep 2021 16:34:36 +0430
Subject: [PATCH 3/4] Update 0001-musl.patch

---
 .../telegram-desktop/patches/0001-musl.patch  | 22 ++++---------------
 1 file changed, 4 insertions(+), 18 deletions(-)

diff --git a/srcpkgs/telegram-desktop/patches/0001-musl.patch b/srcpkgs/telegram-desktop/patches/0001-musl.patch
index 53fa970f05c6..d83dd3a513cf 100644
--- a/srcpkgs/telegram-desktop/patches/0001-musl.patch
+++ b/srcpkgs/telegram-desktop/patches/0001-musl.patch
@@ -1,10 +1,9 @@
---- a/Telegram/lib_base/base/platform/linux/base_info_linux.cpp	2020-11-21 11:09:51.647955733 +0100
-+++ b/Telegram/lib_base/base/platform/linux/base_info_linux.cpp	2020-11-21 11:09:51.647955733 +0100
-@@ -12,11 +12,6 @@
+--- 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>
  
--// this file is used on both Linux & BSD
 -#ifdef Q_OS_LINUX
 -#include <gnu/libc-version.h>
 -#endif // Q_OS_LINUX
@@ -12,20 +11,7 @@
  namespace Platform {
  namespace {
  
-@@ -95,11 +90,7 @@
- 
- 	if (IsLinux32Bit()) {
- 		return QDate(2020, 9, 1);
--	} else if (libcName == qstr("glibc") && !libcVersion.isEmpty()) {
--		if (QVersionNumber::fromString(libcVersion) < QVersionNumber(2, 23)) {
--			return QDate(2020, 9, 1); // Older than Ubuntu 16.04.
--		}
--	}
-+	} 
- 
- 	return QDate();
- }
-@@ -123,22 +114,10 @@
+@@ -109,22 +105,10 @@
  }
  
  QString GetLibcName() {

From 186d5a97de657937506b1dd7f483cc286bfb3edf Mon Sep 17 00:00:00 2001
From: Ali Hardan <ali.hardan76@gmail.com>
Date: Sat, 4 Sep 2021 16:46:46 +0430
Subject: [PATCH 4/4] Update template

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 5f6079fb67ad..c6a62f2d1320 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -16,11 +16,11 @@ hostmakedepends="pkg-config qt5-qmake qt5-host-tools python extra-cmake-modules
  wayland-devel qt5-wayland-devel"
 makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
  minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3
- libva-devel rapidjson liblz4-devel liblzma-devel gtk+3-devel
+ qt5-svg-devel libva-devel rapidjson liblz4-devel liblzma-devel gtk+3-devel
  MesaLib-devel libdbusmenu-qt5-devel qt5-wayland-devel libatomic-devel
  xcb-util-keysyms-devel $(vopt_if spellcheck hunspell-devel)
  kwayland-devel glibmm-devel tg_owt webkit2gtk-devel rnnoise-devel jemalloc-devel"
-depends="qt5-imageformats qt5-core>=5.15.2<5.16.0 ttf-opensans"
+depends="qt5-imageformats qt5-svg qt5-core>=5.15.2<5.16.0 ttf-opensans"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later, OpenSSL"

  parent reply	other threads:[~2021-09-04 12:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04  7:08 [PR PATCH] " alihardan
2021-09-04  7:13 ` alihardan
2021-09-04  7:33 ` [PR PATCH] [Updated] " alihardan
2021-09-04  9:18 ` paper42
2021-09-04 12:04 ` [PR PATCH] [Updated] " alihardan
2021-09-04 12:16 ` alihardan [this message]
2021-09-04 15:54 ` alihardan
2021-09-04 16:03 ` paper42
2021-09-04 16:05 ` paper42
2021-09-04 16:20 ` alihardan
2021-09-04 17:58 ` [PR PATCH] [Updated] " alihardan
2021-09-05 12:39 ` [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=20210904121648.CRbUz1ZmOP7sf40fjyLcvRzlbWqqcQvm-nf3SxXZNDU@z \
    --to=alihardan@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).