Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713232 - net-im/teams impovemements
Summary: net-im/teams impovemements
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-18 16:12 UTC by Joakim Tjernlund
Modified: 2020-03-28 13:14 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete ebuild (teams-1.3.00.5153.ebuild,3.26 KB, text/plain)
2020-03-18 16:13 UTC, Joakim Tjernlund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2020-03-18 16:12:38 UTC
We have been using MS teams for a while now and have made some changes:
SRC_URI="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams-insiders/teams-insiders_${PV}_amd64.deb"
This is have a newer 1.3.00.5153 version

inherit eutils desktop unpacker xdg-utils
S="${WORKDIR}"
Rather than custom unpacker

Main diff though, we use system mesa/ffmpeg:
src_install() {
	dest=/usr

	insinto /
	doins -r usr
	fperms +x $dest/bin/teams-insiders
	fperms +x $dest/share/teams-insiders/teams-insiders
	fperms +x $dest/share/teams-insiders/libffmpeg.so
	fperms +x $dest/share/teams-insiders/libEGL.so
	fperms +x $dest/share/teams-insiders/libGLESv2.so
	fperms +x $dest/share/teams-insiders/swiftshader/libEGL.so
	fperms +x $dest/share/teams-insiders/swiftshader/libGLESv2.so
	#use system ffmpeg, needs USE=chromium and a symlink: /usr/lib64/libffmpeg.so -> chromium/libffmpeg.so
	rm -f "${D}"/$dest/share/teams-insiders/libffmpeg.so
	#Use system mesa
	rm -f "${D}"/$dest/share/teams-insiders/libEGL.so
	rm -f "${D}"/$dest/share/teams-insiders/libGLESv2.so
	#Maybe keep swiftshader? Use in GPU/Head less systems
	rm -f "${D}"/$dest/share/teams-insiders/swiftshader/libEGL.so
	rm -f "${D}"/$dest/share/teams-insiders/swiftshader/libGLESv2.so

	sed -i '/OnlyShowIn=/d' "${S}"/usr/share/applications/teams-insiders.desktop
	domenu usr/share/applications/teams-insiders.desktop
}
Comment 1 Joakim Tjernlund 2020-03-18 16:13:53 UTC
Created attachment 621750 [details]
Complete ebuild
Comment 2 Brian Evans (RETIRED) gentoo-dev 2020-03-18 16:24:27 UTC
(In reply to Joakim Tjernlund from comment #0)
> inherit eutils desktop unpacker xdg-utils

And my tip to you is don't inherit eutils when you don't use it
Comment 3 Joakim Tjernlund 2020-03-18 16:34:45 UTC
(In reply to Brian Evans from comment #2)
> (In reply to Joakim Tjernlund from comment #0)
> > inherit eutils desktop unpacker xdg-utils
> 
> And my tip to you is don't inherit eutils when you don't use it

Yes, thanks
Comment 4 Florian Manschwetus 2020-03-23 17:14:27 UTC
At least I can confirm the bump, as I bumped the in tree build today on my own, to get the current version.
Comment 5 Jari_42 2020-03-26 13:08:24 UTC
(In reply to Florian Manschwetus from comment #4)
> At least I can confirm the bump, as I bumped the in tree build today on my
> own, to get the current version.
Yes would be good to bump the version in tree, 1.3.00.958 dates back to 10th Jan.
Comment 6 Florian Manschwetus 2020-03-27 12:36:12 UTC
The in tree version/ebuild did not gave me a working tool, the current version was working after manual bumb.
The ebuild provided here I#m using now also works for me.

Maybe this might become even more important for some, due to Corona.
Comment 7 Joakim Tjernlund 2020-03-27 13:02:16 UTC
(In reply to Florian Manschwetus from comment #6)
> The in tree version/ebuild did not gave me a working tool, the current
> version was working after manual bumb.
> The ebuild provided here I#m using now also works for me.
> 
> Maybe this might become even more important for some, due to Corona.

Right, most people in Europe works from home now and Teams is
the only way to stay connected.
So far Teams (the latest inside version) works really well but there is one thing:

I have to plug in my USB headset before starting MS teams, otherwise Teams
won't find the HS. Most in my team have the same problem but
there is one that does not.
I cant work out what the problem is though.
What is your experience?
Comment 8 Joonas Niilola gentoo-dev 2020-03-28 07:59:20 UTC
(In reply to Joakim Tjernlund from comment #7)
> 
> I have to plug in my USB headset before starting MS teams, otherwise Teams
> won't find the HS. Most in my team have the same problem but
> there is one that does not.
> I cant work out what the problem is though.
> What is your experience?

Sorry no answers and not using Teams on Linux here, but a similar story:

When I was using Steam with alsa, I always had to restart any game if I switched between speakers - headset output. With pulseaudio it works as it should. Steam is built to support pulseaudio natively, not sure if Teams has a similar case?
Comment 9 Larry the Git Cow gentoo-dev 2020-03-28 13:14:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46986707fbbab08a465c4e15ee5a8ad0d9ac4845

commit 46986707fbbab08a465c4e15ee5a8ad0d9ac4845
Author:     Jeffrey Lin <jeffrey@icurse.nl>
AuthorDate: 2020-03-24 15:22:10 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2020-03-28 13:14:16 +0000

    net-im/teams: version bump to 1.3.00.5153
    
    Closes: https://bugs.gentoo.org/713232
    Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
    Closes: https://github.com/gentoo/gentoo/pull/15087
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 net-im/teams/Manifest                 |  1 +
 net-im/teams/teams-1.3.00.5153.ebuild | 96 +++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)