* Re: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
@ 2021-09-04 7:13 ` alihardan
2021-09-04 7:33 ` [PR PATCH] [Updated] " alihardan
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 7:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
New comment by alihardan on void-packages repository
https://github.com/void-linux/void-packages/pull/32828#issuecomment-912924894
Comment:
Hello. It's my first commit here. I don't know will it build success or not, I'm waiting for workflow approval to see and fix possible errors.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
2021-09-04 7:13 ` alihardan
@ 2021-09-04 7:33 ` alihardan
2021-09-04 9:18 ` paper42
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 7:33 UTC (permalink / raw)
To: ml
[-- 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: 1687 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/2] 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/2] 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"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 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
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: paper42 @ 2021-09-04 9:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32828#issuecomment-912940652
Comment:
> Hello. It's my first commit here. I don't know will it build success or not, I'm waiting for workflow approval to see and fix possible errors.
Please test this (compile, install and use at least for a minute) on your computer first before submitting a PR. Then check appropriate checkboxes in the PR description.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (2 preceding siblings ...)
2021-09-04 9:18 ` paper42
@ 2021-09-04 12:04 ` alihardan
2021-09-04 12:16 ` alihardan
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 12:04 UTC (permalink / raw)
To: ml
[-- 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: 3378 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/3] 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/3] 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/3] 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() {
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (3 preceding siblings ...)
2021-09-04 12:04 ` [PR PATCH] [Updated] " alihardan
@ 2021-09-04 12:16 ` alihardan
2021-09-04 15:54 ` alihardan
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 12:16 UTC (permalink / raw)
To: ml
[-- 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"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (4 preceding siblings ...)
2021-09-04 12:16 ` alihardan
@ 2021-09-04 15:54 ` alihardan
2021-09-04 16:03 ` paper42
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 15:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 731 bytes --]
New comment by alihardan on void-packages repository
https://github.com/void-linux/void-packages/pull/32828#issuecomment-912995651
Comment:
> > Hello. It's my first commit here. I don't know will it build success or not, I'm waiting for workflow approval to see and fix possible errors.
>
> Please test this (compile, install and use at least for a minute) on your computer first before submitting a PR. Then check appropriate checkboxes in the PR description.
Done. Complied it through Github actions (by forking this repo), then downloaded compiled `telegram-desktop-3.0.1_1.i686.xbps` into my local machine, installed and used it.
Sorry for bad commit messages, they're automated by Github and I forgot to edit them.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (5 preceding siblings ...)
2021-09-04 15:54 ` alihardan
@ 2021-09-04 16:03 ` paper42
2021-09-04 16:05 ` paper42
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: paper42 @ 2021-09-04 16:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 990 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32828#issuecomment-912997184
Comment:
> > > Hello. It's my first commit here. I don't know will it build success or not, I'm waiting for workflow approval to see and fix possible errors.
> >
> > Please test this (compile, install and use at least for a minute) on your computer first before submitting a PR. Then check appropriate checkboxes in the PR description.
>
> Done. Complied it through Github actions (by forking this repo), then downloaded compiled `telegram-desktop-3.0.1_1.i686.xbps` into my local machine, installed and used it.
it's easy to do it on your own: clone this repository, do your changes and run
```
./xbps-src pkg telegram-desktop
```
> Sorry for bad commit messages, they're automated by Github and I forgot to edit them.
We need one commit, so you need to squash the commits. I would recommend not using Github UI, it might not even be possible to do it.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (6 preceding siblings ...)
2021-09-04 16:03 ` paper42
@ 2021-09-04 16:05 ` paper42
2021-09-04 16:20 ` alihardan
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: paper42 @ 2021-09-04 16:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 864 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32828#issuecomment-912997184
Comment:
> > Please test this (compile, install and use at least for a minute) on your computer first before submitting a PR. Then check appropriate checkboxes in the PR description.
>
> Done. Complied it through Github actions (by forking this repo), then downloaded compiled `telegram-desktop-3.0.1_1.i686.xbps` into my local machine, installed and used it.
it's easy to do it on your own: clone this repository, do your changes and run
```
./xbps-src binary-bootstrap
./xbps-src pkg telegram-desktop
```
> Sorry for bad commit messages, they're automated by Github and I forgot to edit them.
We need one commit, so you need to squash the commits. I would recommend not using Github UI, it might not even be possible to do it.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (7 preceding siblings ...)
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
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 16:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
New comment by alihardan on void-packages repository
https://github.com/void-linux/void-packages/pull/32828#issuecomment-912999758
Comment:
it's easy to compile on person own machine, but since my Void Linux machine is low-end and old, it takes really long time. And this repo was so big for cloning (my bandwhich is limited).
I will squash commits soon.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Updated] telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (8 preceding siblings ...)
2021-09-04 16:20 ` alihardan
@ 2021-09-04 17:58 ` alihardan
2021-09-05 12:39 ` [PR PATCH] [Merged]: " Johnnynator
10 siblings, 0 replies; 12+ messages in thread
From: alihardan @ 2021-09-04 17:58 UTC (permalink / raw)
To: ml
[-- 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
- [x] 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: 3514 bytes --]
From 22b2560244a045ff1c89e294d6233adb562191f4 Mon Sep 17 00:00:00 2001
From: alihardan <ali.hardan76@gmail.com>
Date: Sat, 4 Sep 2021 17:51:10 +0000
Subject: [PATCH] telegram-desktop: update to 3.0.1.
---
.../telegram-desktop/patches/0001-musl.patch | 22 ++++---------------
srcpkgs/telegram-desktop/template | 8 +++----
2 files changed, 8 insertions(+), 22 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() {
diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 57bee005ddd2..c6a62f2d1320 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
@@ -16,18 +16,18 @@ 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"
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"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PR PATCH] [Merged]: telegram-desktop: update to 3.0.1.
2021-09-04 7:08 [PR PATCH] telegram-desktop: update to 3.0.1 alihardan
` (9 preceding siblings ...)
2021-09-04 17:58 ` [PR PATCH] [Updated] " alihardan
@ 2021-09-05 12:39 ` Johnnynator
10 siblings, 0 replies; 12+ messages in thread
From: Johnnynator @ 2021-09-05 12:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
There's a merged pull request on the void-packages repository
telegram-desktop: update to 3.0.1.
https://github.com/void-linux/void-packages/pull/32828
Description:
<!-- 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
- [x] 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
-->
^ permalink raw reply [flat|nested] 12+ messages in thread