From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 17CE61382C5 for ; Sat, 13 Mar 2021 22:09:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53C90E083B; Sat, 13 Mar 2021 22:09:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30636E083B for ; Sat, 13 Mar 2021 22:09:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18CDE340BC9 for ; Sat, 13 Mar 2021 22:09:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D195583 for ; Sat, 13 Mar 2021 22:09:47 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1615673209.dec42b81444f2545b1ed549035651c6e2bd1b2c4.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/teams/, net-im/teams/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/teams/files/fix-url-opening-1.4.00.4855.patch net-im/teams/teams-1.4.00.4855-r1.ebuild X-VCS-Directories: net-im/teams/ net-im/teams/files/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: dec42b81444f2545b1ed549035651c6e2bd1b2c4 X-VCS-Branch: master Date: Sat, 13 Mar 2021 22:09:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b291c150-fac8-47e8-bdf8-1c61008f9918 X-Archives-Hash: 9b8ab36c0ec1a2c742688e890b2bd9e0 commit: dec42b81444f2545b1ed549035651c6e2bd1b2c4 Author: Stefan Huber sthu org> AuthorDate: Fri Mar 12 09:30:11 2021 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Mar 13 22:06:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec42b81 net-im/teams: Add fix for URL opening Teams-1.4.00.4855 has a bug that meeting URLs cannot be opened anymore. A fix is given at [1] by a user. Apply this fix to the ebuild. [1] https://docs.microsoft.com/en-us/answers/questions/298724/open-teams-meeting-link-on-linux-doens39t-work.html# Closes: https://bugs.gentoo.org/775575 Signed-off-by: Stefan Huber sthu.org> Closes: https://github.com/gentoo/gentoo/pull/19888 Signed-off-by: Andreas K. Hüttel gentoo.org> .../teams/files/fix-url-opening-1.4.00.4855.patch | 9 ++ net-im/teams/teams-1.4.00.4855-r1.ebuild | 114 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/net-im/teams/files/fix-url-opening-1.4.00.4855.patch b/net-im/teams/files/fix-url-opening-1.4.00.4855.patch new file mode 100644 index 00000000000..9ff55530511 --- /dev/null +++ b/net-im/teams/files/fix-url-opening-1.4.00.4855.patch @@ -0,0 +1,9 @@ +--- a/usr/bin/teams 2021-03-12 09:58:20.095552303 +0100 ++++ b/usr/bin/teams 2021-03-12 09:58:41.938137585 +0100 +@@ -8,5 +8,5 @@ TEAMS_LOGS="$HOME/.config/Microsoft/Micr + + mkdir -p "$TEAMS_LOGS" + +-nohup "$TEAMS_PATH" --disable-namespace-sandbox --disable-setuid-sandbox "$@" > "$TEAMS_LOGS/teams-startup.log" 2>&1 & ++nohup "$TEAMS_PATH" "$@" --disable-namespace-sandbox --disable-setuid-sandbox > "$TEAMS_LOGS/teams-startup.log" 2>&1 & + diff --git a/net-im/teams/teams-1.4.00.4855-r1.ebuild b/net-im/teams/teams-1.4.00.4855-r1.ebuild new file mode 100644 index 00000000000..574fa6e8d2b --- /dev/null +++ b/net-im/teams/teams-1.4.00.4855-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop unpacker xdg-utils chromium-2 + +DESCRIPTION="Microsoft Teams, an Office 365 multimedia collaboration client, pre-release" +HOMEPAGE="https://products.office.com/en-us/microsoft-teams/group-chat-software/" +SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${PN}/${PN}_${PV}_amd64.deb" + +LICENSE="ms-teams-pre" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist mirror splitdebug test" +IUSE="system-ffmpeg system-mesa" + +QA_PREBUILT="*" + +# libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.17), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), +# libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.35.8), libgtk-3-0 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libnss3 +# (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.7), libuuid1 (>= 2.16), libx11-6 (>= 2:1.4.99.1), libx11-xcb1, +# libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxkbfile1, +# libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), libstdc++6 (>= 4.8.1) +RDEPEND=" + app-accessibility/at-spi2-atk + app-crypt/libsecret + dev-libs/atk + dev-libs/expat + dev-libs/glib + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + net-print/cups + sys-apps/dbus + sys-apps/util-linux + x11-libs/cairo + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + x11-libs/libxkbfile + x11-libs/pango + system-mesa? ( media-libs/mesa ) + system-ffmpeg? ( 99teams <<-EOF + LDPATH=${EROOT}/usr/$(get_libdir)/chromium + EOF + doenvd 99teams + elog "Using system ffmpeg. This is experimental and may lead to crashes." + fi + + if use system-mesa ; then + rm -f "${D}"/usr/share/teams/libEGL.so || die + rm -f "${D}"/usr/share/teams/libGLESv2.so || die + rm -f "${D}"/usr/share/teams/swiftshader/libEGL.so || die + rm -f "${D}"/usr/share/teams/swiftshader/libGLESv2.so || die + elog "Using system mesa. This is experimental and may lead to crashes." + fi + + rm -rf "${D}"/usr/share/teams/resources/app.asar.unpacked/node_modules/keytar3 || die + + sed -i '/OnlyShowIn=/d' "${S}"/usr/share/applications/teams.desktop || die + domenu usr/share/applications/teams.desktop +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}