From nobody Sat Feb 04 02:14:03 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 4P7x0X1Vm9z3kXLM; Sat, 4 Feb 2023 02:14:04 +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 4P7x0X10nLz43Zb; Sat, 4 Feb 2023 02:14:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675476844; 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=IwZ7pGghaZTJy5lkdfdKfGoOR358IGGvWX9+a9OOKM0=; b=Gu7ZHqcvCDNL3lJYmCR5GXpwhTq3T57CjQNJTZgvNI6yGTdMkCZ3nd+Ykp3N6NNEOvyR4k +yyUkVC5T1jOp7iqFsNpDD0z2Y1VTbX985iIletk4LTEYqlQY0p58H7WDL1bA6v1JzeGxO KCOpBWPNY/JKIcXa9pO1d3iQx2iCxFwR/TgGis4fxnQxtvmdvpClbUsJbQfnkLwVciW8OT whQQO67o6IaJpeIlLNoK2BUGS84J/85vu1uiw5ha+fDdmXneVRyEsMMi9srZqJ3saIEl6j 5L+ZjS9peN3T2djQry5y/+tkXpup+ybqx/VnZjT9/tq92Q86XBm1VSIdnJU8Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675476844; 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=IwZ7pGghaZTJy5lkdfdKfGoOR358IGGvWX9+a9OOKM0=; b=C8vkMLOfVMUtxbhVsQZij9HKg2AK9akO90vQ8hxoaMwy3n3wVANymhRnYnaPAXH7N5XYJQ r8Sk2B8l47mcjqvzHoN2uO25sS3WBW52a9N0PILA45QTsiLihKXbgSIuvx7CKYSWOujylp IE9fkSjGnwg36IDwG0kPIxLiwiqFLOR+uoMrO+lqYfWHwBLVex6lZuz9/CTMfeSrvUxSDG Teat6+0bQ4dhKQLG4KjVfEmGyl1lGOHctAxgf9du6rcV2STOZF9aZZZhLiR77PtdnUrk6D /DtSSfwzHnpEd5DIlGPBh4gXJkH2Xghr/xvl+EdD6uvVjSWW2aaHk7Sm89pIeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675476844; a=rsa-sha256; cv=none; b=KE4B8LzMjTuJ9e+kLzEMj9q5tZvHLHkS253XgIVa6tHxW2jI47bJzJMjajSxbECkp7/UPl oCX8HfqVJVX20+dBi5RXJpHzXSCcBa4FeIn2KpMaA+DhIpD6kN3S5CgRaobxAi/6SGaqfn xBoHscUlCdrAKMOxPO7pKMyng3HynSxYNQIufxkIz7ZGXD4b4ecb+z9yWQ9a9ESUfzTzUc RbHVsXToiF1a8hlygGcxMKnmHEQiGSm/POBebshELgaOcZnH/xFFuiGO9NFXu/Xs3h2Kk0 NB3tVsrforA/C4fVSkW2dOaeA5SQEeyAw15/kkBNFDtZ9vJ0jogdQ4nAzlZ1Qw== 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 4P7x0X03nQzy80; Sat, 4 Feb 2023 02:14:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3142E3gm010340; Sat, 4 Feb 2023 02:14:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3142E3r5010339; Sat, 4 Feb 2023 02:14:03 GMT (envelope-from git) Date: Sat, 4 Feb 2023 02:14:03 GMT Message-Id: <202302040214.3142E3r5010339@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: 70d1f3fc4b3d - main - net-im/telegram-desktop: update 4.5.3 -> 4.6.0 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: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 70d1f3fc4b3df639b8f7520636b836222d242399 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=70d1f3fc4b3df639b8f7520636b836222d242399 commit 70d1f3fc4b3df639b8f7520636b836222d242399 Author: Sergey A. Osokin AuthorDate: 2023-02-04 02:11:05 +0000 Commit: Sergey A. Osokin CommitDate: 2023-02-04 02:13:57 +0000 net-im/telegram-desktop: update 4.5.3 -> 4.6.0 These changes based on fluffy's patch https://people.freebsd.org/~fluffy/-patches/net-im_telegram-desktop458.diff Discussed by: fluffy --- net-im/telegram-desktop/Makefile | 34 +++++++++++++++++++++------------- net-im/telegram-desktop/distinfo | 6 +++--- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index a320a0714af7..fa542fb0ef43 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,5 +1,5 @@ PORTNAME= telegram-desktop -DISTVERSION= 4.5.3 +DISTVERSION= 4.6.0 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -29,10 +29,7 @@ LIB_DEPENDS= libabsl_base.so:devel/abseil \ libdbus-1.so:devel/dbus \ libdispatch.so:devel/libdispatch \ libhunspell-1.7.so:textproc/hunspell \ - libjpeg.so:graphics/jpeg-turbo \ liblz4.so:archivers/liblz4 \ - libminizip.so:archivers/minizip \ - libopenal.so:audio/openal-soft \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire \ @@ -51,9 +48,10 @@ qt6_PKGNAMESUFFIX= -qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} -USES= cmake compiler:c++17-lang desktop-file-utils gl \ - gnome localbase pkgconfig python:3.7+,build ssl xorg +USES= cmake desktop-file-utils gl gnome jpeg localbase \ + minizip openal pkgconfig python:3.7+,build ssl xorg +USE_CXXSTD= c++17 USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop GH_PROJECT= tdesktop @@ -99,13 +97,23 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d TELEGRAM_API_ID= 601761 -.include +.include -.if ${COMPILER_VERSION} < 130 -LLVM_VER= 13 -BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} -CC= ${LOCALBASE}/bin/clang${LLVM_VER} -CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} +.if ${OSVERSION} > 1400000 +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 .endif -.include +post-patch: + # XXX fix the following on every source file + # warning: unknown warning option '-Wno-maybe-uninitialized' + # warning: argument unused during compilation: '-fstack-clash-protection' + ${REINPLACE_CMD} -e /-Wno-maybe-uninitialized/d -e /-fstack-clash-protection/d \ + ${WRKSRC}/cmake/options_linux.cmake + +.include diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo index f9bd08b6cfa7..54e2a8d7dd6f 100644 --- a/net-im/telegram-desktop/distinfo +++ b/net-im/telegram-desktop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1673200650 -SHA256 (tdesktop-4.5.3-full.tar.gz) = 3e338607708751813df36b677904e2e652f8adfac669da418c8dab4588a4f70f -SIZE (tdesktop-4.5.3-full.tar.gz) = 63718129 +TIMESTAMP = 1675460117 +SHA256 (tdesktop-4.6.0-full.tar.gz) = 7a3f9697dad1d8f857eac4e44641bdd0aac152ac599d87cc49f7cd8a7a8a9c47 +SIZE (tdesktop-4.6.0-full.tar.gz) = 63798012