From nobody Mon Sep 25 15:09:07 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RvR9H6Mfyz4rSL3; Mon, 25 Sep 2023 15:09:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RvR9H5rlNz4c2x; Mon, 25 Sep 2023 15:09:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695654547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g7iiZ0WntYDHYQhWyrv7iiQUCsTnTfYOx59rbea9H2g=; b=j5bz2dkt9KLgDiHJ64sONNgTcMPh3Zb2A+o6eo7qERwzlBE46dJJcgY3b5dVqlkJFNsRmg lgtVnkxp5BHRGHGWl9v5K8fB9+D/dtFjnQ8QNo0fJ9O9rEaDA2JF3aELiME0WhWQAEhp+k i4Bu86a/TIkgojwI9xIaApLAvooPZT1/QMxlh41BeVU7cXNrvBlAyYySADj9SdF5+JBFj2 MmhcKspoHWddViUZOted9Dlm5KQVwSEJnFVXf0QbJhtyUoJUOb4mKQ0ADmm/j7WOMD6yJy F08AXtw5IkiOpJG/i1KEMIz5MATlRrQEBMbzQX1FpM4RydaJ96G7zRn69Ea6gw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695654547; a=rsa-sha256; cv=none; b=Su+f8/FKVS9GP2yjMRNRE60fq15dQmUstWaGj7FyHrCxMq8NcZUX5Lt5PnvCnGAWwfFRcS 0L3Gs3TqbAd0cnTZjaJDTNiNai3DCxyo5gjf/YhjOFjVhUOJ93fsJ9N3HOm5SlwomjmI5v pjkbdK0HF45CaHjxEc4gj+PjIoYho/PJcWg5RVXjFZwzpsJ/4EzgNX8414YFJX5haUSPzo Jf0edUv7CiZu+EJ90f+DqCbioa1aLZ01V7ekkbZfrEzQB7jqHNYaWFiSEFpG9RGDbGJvx9 kNBRMpkG+zDlQVUy3mPPJgTKRp8q6G0dIJsm4ow6eZuLdFODL+Kaf2czGNg9VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695654547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g7iiZ0WntYDHYQhWyrv7iiQUCsTnTfYOx59rbea9H2g=; b=awvgpb5HxcohRyCvT5/UVPO0YKWsIniDM6rfpJfrN8Pp1RlghhyzzAgaVqWg0PpEEwdXGs dOOEj69lo0K7oLmqcgoRcs5vgvM/eeeDmgxJ7gDJnn8Vasu7xq1Aw9m3JsvSk5037vMrva ieAX55nzuHx0HPQCApmfXQ4lMS3Wp8xZyJyt9OWJ3mUZDchOpoi7NrkNejuPcSiRnOcDLJ KD8w0T3nuaEKefn7JYCFOFzf2yhXTMVJnWH5md1I1WytoWtYhtahvfIFhQ5LoyJgqmgd1J 3eBNF9NmE8c7eU6KUEarZjjpR+8hLTMQ/C73mKBEjwmfdWVtrsarh3RdlrYfPQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RvR9H4VTjz3hv; Mon, 25 Sep 2023 15:09:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38PF97m8062550; Mon, 25 Sep 2023 15:09:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38PF97cf062547; Mon, 25 Sep 2023 15:09:07 GMT (envelope-from git) Date: Mon, 25 Sep 2023 15:09:07 GMT Message-Id: <202309251509.38PF97cf062547@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: 6a6a9ad85d35 - main - net-im/telegram-desktop: update to 4.9.3 release (+) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6a6a9ad85d351525e0a974e5e9ae36a30b30155a Auto-Submitted: auto-generated The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a6a9ad85d351525e0a974e5e9ae36a30b30155a commit 6a6a9ad85d351525e0a974e5e9ae36a30b30155a Author: Dima Panov AuthorDate: 2023-09-25 15:08:32 +0000 Commit: Dima Panov CommitDate: 2023-09-25 15:08:32 +0000 net-im/telegram-desktop: update to 4.9.3 release (+) Telegram Desktop 4.9.3 is latest release which supports Qt 5.15.8 before migrating to Qt 5.15.10 API PR: 274043, 274064 --- net-im/telegram-desktop/Makefile | 12 +++--------- net-im/telegram-desktop/distinfo | 6 +++--- ...tform_linux_base__system__media__controls__linux.cpp | 17 ----------------- .../patch-cmake_external_glib_cppgir_CMakeLists.txt | 13 ------------- .../patch-cmake_external_glib_cppgir_tools_cppgir.cpp | 13 ------------- .../patch-cmake_external_glib_cppgir_tools_function.hpp | 8 -------- .../patch-cmake_external_glib_cppgir_tools_genbase.cpp | 8 -------- .../patch-cmake_external_glib_cppgir_tools_genns.cpp | 13 ------------- net-im/telegram-desktop/pkg-plist | 1 + 9 files changed, 7 insertions(+), 84 deletions(-) diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index 03b0860b213a..2ca507a22e7b 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,6 +1,5 @@ PORTNAME= telegram-desktop -DISTVERSION= 4.8.4 -PORTREVISION= 4 +DISTVERSION= 4.9.3 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -54,7 +53,6 @@ qt6_CONFLICTS_INSTALL= ${PORTNAME} USES= cmake desktop-file-utils gl gnome jpeg localbase \ minizip openal pkgconfig python:build ssl xorg -USE_CXXSTD= c++17 USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop GH_PROJECT= tdesktop @@ -106,14 +104,10 @@ TELEGRAM_API_ID= 601761 .include -.if ${OSVERSION} > 1400000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079 USES+= llvm:build -CC= ${_LLVM_MK_PREFIX}/bin/clang -CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp -CXX= ${_LLVM_MK_PREFIX}/bin/clang++ -#LD?= ${_LLVM_MK_PREFIX}/bin/ld .else -USES+= compiler:c++17-lang +USES+= compiler:c++20-lang .endif post-patch: diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo index f343cf8ca583..ee9cbae15235 100644 --- a/net-im/telegram-desktop/distinfo +++ b/net-im/telegram-desktop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687099818 -SHA256 (tdesktop-4.8.4-full.tar.gz) = 4328296df07557786e1b9cf22f6675200dbdf29c75d2efeb635c6b7f3f951e8d -SIZE (tdesktop-4.8.4-full.tar.gz) = 69090626 +TIMESTAMP = 1695648456 +SHA256 (tdesktop-4.9.3-full.tar.gz) = 2ef462651d397d807576f5df3a5d3de2764accf8d155a0b4d576a354a614d107 +SIZE (tdesktop-4.9.3-full.tar.gz) = 69517868 diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__system__media__controls__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__system__media__controls__linux.cpp deleted file mode 100644 index 0f126e486ec7..000000000000 --- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__system__media__controls__linux.cpp +++ /dev/null @@ -1,17 +0,0 @@ ---- Telegram/lib_base/base/platform/linux/base_system_media_controls_linux.cpp.orig 2023-06-03 03:29:41 UTC -+++ Telegram/lib_base/base/platform/linux/base_system_media_controls_linux.cpp -@@ -16,11 +16,12 @@ - #include - #include - --using namespace gi::repository; -- - namespace base::Platform { - - namespace { -+ -+using namespace gi::repository; -+namespace GObject = gi::repository::GObject; - - // QString to GLib::Variant. - inline auto Q2V(const QString &s) { diff --git a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_CMakeLists.txt b/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_CMakeLists.txt deleted file mode 100644 index 41ca852809b2..000000000000 --- a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- cmake/external/glib/cppgir/CMakeLists.txt.orig 2023-05-17 06:10:31 UTC -+++ cmake/external/glib/cppgir/CMakeLists.txt -@@ -65,8 +65,8 @@ target_compile_definitions(cppgir PRIVATE - -DDEFAULT_GIRPATH=${GI_DEFAULT_GIRPATH}) - target_compile_definitions(cppgir PRIVATE - -DDEFAULT_IGNORE_FILE=${GI_IGNORE_FILE_INSTALL_DIR}/${GI_IGNORE_FILE}:${GI_IGNORE_FILE_INSTALL_DIR}/${GI_IGNORE_FILE_PLATFORM}) --target_link_libraries(cppgir Boost::program_options stdc++fs ${FORMAT_LIBRARIES}) --set_property(TARGET cppgir PROPERTY CXX_STANDARD 14) -+target_link_libraries(cppgir Boost::program_options ${FORMAT_LIBRARIES}) -+set_property(TARGET cppgir PROPERTY CXX_STANDARD 17) - - add_library(gi INTERFACE) - target_include_directories(gi INTERFACE diff --git a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_cppgir.cpp b/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_cppgir.cpp deleted file mode 100644 index 41e57cfe1ef5..000000000000 --- a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_cppgir.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- cmake/external/glib/cppgir/tools/cppgir.cpp.orig 2023-06-15 00:49:41 UTC -+++ cmake/external/glib/cppgir/tools/cppgir.cpp -@@ -3,8 +3,8 @@ - #include "genns.hpp" - #include "repository.hpp" - --#include --namespace fs = std::experimental::filesystem; -+#include -+namespace fs = std::filesystem; - - #include - #include diff --git a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_function.hpp b/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_function.hpp deleted file mode 100644 index 6875de52fc6a..000000000000 --- a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_function.hpp +++ /dev/null @@ -1,8 +0,0 @@ ---- cmake/external/glib/cppgir/tools/function.hpp.orig 2023-06-15 00:41:50 UTC -+++ cmake/external/glib/cppgir/tools/function.hpp -@@ -1,3 +1,5 @@ -+#include -+ - #ifndef FUNCTION_HPP - #define FUNCTION_HPP - diff --git a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_genbase.cpp b/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_genbase.cpp deleted file mode 100644 index ef2e474ce9ff..000000000000 --- a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_genbase.cpp +++ /dev/null @@ -1,8 +0,0 @@ ---- cmake/external/glib/cppgir/tools/genbase.cpp.orig 2023-06-15 00:42:39 UTC -+++ cmake/external/glib/cppgir/tools/genbase.cpp -@@ -1,3 +1,5 @@ -+#include -+ - #include "genbase.hpp" - - static std::string diff --git a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_genns.cpp b/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_genns.cpp deleted file mode 100644 index 8262affc33f2..000000000000 --- a/net-im/telegram-desktop/files/patch-cmake_external_glib_cppgir_tools_genns.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- cmake/external/glib/cppgir/tools/genns.cpp.orig 2023-06-15 00:40:47 UTC -+++ cmake/external/glib/cppgir/tools/genns.cpp -@@ -5,8 +5,8 @@ - #include - #include - --#include --namespace fs = std::experimental::filesystem; -+#include -+namespace fs = std::filesystem; - - #include - diff --git a/net-im/telegram-desktop/pkg-plist b/net-im/telegram-desktop/pkg-plist index 106d6671dbba..e3e83819267c 100644 --- a/net-im/telegram-desktop/pkg-plist +++ b/net-im/telegram-desktop/pkg-plist @@ -1,5 +1,6 @@ bin/telegram-desktop share/applications/org.telegram.desktop.desktop +share/dbus-1/services/org.telegram.desktop.service share/icons/hicolor/128x128/apps/telegram.png share/icons/hicolor/16x16/apps/telegram.png share/icons/hicolor/256x256/apps/telegram.png