Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491770 - net-misc/teamviewer-9.0.x version bump
Summary: net-misc/teamviewer-9.0.x version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 13:43 UTC by tman
Modified: 2014-07-03 13:24 UTC (History)
21 users (show)

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


Attachments
Teamviewer Ebuild (teamviewer-9.0.24147.ebuild,3.67 KB, patch)
2014-01-03 19:32 UTC, Jayson Reis
Details | Diff
Teamviewer 9 patch (teamviewer-9.0.24147-gentoo.patch,3.06 KB, patch)
2014-01-03 19:34 UTC, Jayson Reis
Details | Diff
Teamviewer 9 Ebuild (teamviewer-9.0.24147.ebuild,3.67 KB, text/plain)
2014-01-03 19:34 UTC, Jayson Reis
Details
New ebuild (teamviewer-9.0.24147.ebuild,3.67 KB, text/plain)
2014-01-21 11:31 UTC, Jayson Reis
Details
Teamviewer 9 Ebuild (teamviewer-9.0.24147.ebuild,3.70 KB, text/plain)
2014-01-22 18:22 UTC, Jayson Reis
Details
Teamviewer 9 Ebuild (teamviewer-9.0.27891.ebuild,3.72 KB, text/plain)
2014-05-13 14:28 UTC, Jayson Reis
Details
Teamviewer 9 patch (teamviewer9.patch,3.80 KB, patch)
2014-05-13 14:29 UTC, Jayson Reis
Details | Diff
Teamviewer 9 Ebuild (teamviewer-9.0.27891.ebuild,3.58 KB, text/plain)
2014-05-13 15:54 UTC, Jayson Reis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-11-20 13:43:59 UTC
a newer version is released. please update it.

http://www.teamviewer.com/en/download/linux.aspx

thanks

Reproducible: Always
Comment 1 Julian Ospald 2013-11-21 07:42:22 UTC
that is a beta version
Comment 2 tman 2013-12-02 13:56:17 UTC
ok its a invalid bug
Comment 3 Vasilis Lourdas 2013-12-03 22:31:58 UTC
The Linux download offers a newer version: v9.0.24147, I don't see anywhere any beta indication, can we please bump it?
Comment 4 tman 2013-12-03 23:02:09 UTC
well its just released on today :) so i let it open again
Comment 5 tman 2013-12-09 20:24:02 UTC
want to push this and hope maintainer update is soon in portage. thanks
Comment 6 Julian Ospald 2013-12-14 15:34:50 UTC
doesn't work here, it's unable to start the desktop process
Comment 7 Jan Buecken 2013-12-14 23:05:40 UTC
Works here flawlessly (I run the teamviewer script from the tar file and established a connection to a remote pc)

My environement:
Intel x86_64, wine from the tar file.
I tested this while teamviewer8 is installed via ebuild, I hope this do not mix things up.
Comment 8 Julian Ospald 2013-12-14 23:14:49 UTC
establishing a connection to a remote pc will not start the TeamViewer_Desktop process.
Comment 9 Konstantin (elxa) 2013-12-22 02:29:59 UTC
I needed teamviewer 9 today and used it like this:

wget http://download.teamviewer.com/download/teamviewer_linux.tar.gz
tar -xjpf teamviewer_linux.tar.gz
cd teamviewer9
./teamviewer

I liked that this does not require running teamviewerd with root :)
Comment 10 Julian Ospald 2013-12-22 16:50:07 UTC
(In reply to Konstantin from comment #9)
> 
> I liked that this does not require running teamviewerd with root :)

We could easily create a teamviewer user and run the daemon through it.
Comment 11 Jayson Reis 2014-01-03 19:32:46 UTC
Created attachment 366880 [details, diff]
Teamviewer Ebuild
Comment 12 Jayson Reis 2014-01-03 19:34:06 UTC
Created attachment 366882 [details, diff]
Teamviewer 9 patch
Comment 13 Jayson Reis 2014-01-03 19:34:49 UTC
Created attachment 366884 [details]
Teamviewer 9 Ebuild
Comment 14 three sixes 2014-01-04 00:31:04 UTC
windows 2k8 server comes with teamviewer9 and 8 is incompatible.  ill second the version bumping for cloud server management.
Comment 15 Wendy 2014-01-20 10:30:36 UTC
The patch and ebuild created bij Jayson Reis works perfect on my computers, except a minor thing: It complains about overwriting the systemd service file for Teamviewer8 if it's installed in another slot.
Comment 16 Jayson Reis 2014-01-20 13:43:20 UTC
Hi Wendy, that is installed at /etc/init.d/teamviewerd9, what is it complaining about?
Comment 17 Wendy 2014-01-20 23:39:35 UTC
Hi Jayson,

I mean:
/usr/lib/systemd/system/teamviewerd.service 

Which is the same name as the one for version 8
Comment 18 Jayson Reis 2014-01-21 11:31:11 UTC
Created attachment 368322 [details]
New ebuild

Wendy, check new ebuild please. It won't conflict anymore but it will be named teamviewerd9.init.
Comment 19 Jayson Reis 2014-01-21 11:32:10 UTC
I mean teamviewerd9.service
Comment 20 Wendy 2014-01-22 18:00:09 UTC
Hi Jayson,

Now it says it can't find the file.

If I change line 123 into:
systemd_newunit script/${PN}d.service ${PN}d${MV}.service
it seems to work.

I don't use systemd myself, so I can't test if the file works
Comment 21 Jayson Reis 2014-01-22 18:22:15 UTC
Created attachment 368452 [details]
Teamviewer 9 Ebuild

THis ebuild fixes systemd install
Comment 22 Julian Ospald 2014-01-22 19:58:42 UTC
Those ebuilds still don't fix the TeamViewer_Desktop start for me. No inbound connections possible.
Comment 23 Jayson Reis 2014-01-22 22:54:40 UTC
It appears to be hardcoded on teamviewerd and it tries to run /opt/tv_bin/TeamViewer_Desktop on tvw_config it uses dirname too much times and it points to /opt, but changed that didn't work too.
The only other reference I can find about TeamViewer_Desktop is using strings o teamviewerd.
Comment 24 Julian Ospald 2014-01-23 00:20:40 UTC
this is really horrible software, I actually feel like treecleaning it, but if any1 can get this to work...
Comment 25 Egor Y. Egorov 2014-02-03 02:39:48 UTC
Works for me. Thanks
Comment 26 tman 2014-03-01 07:43:59 UTC
if its work please put in portage. thanks
Comment 27 Julian Ospald 2014-03-01 14:01:40 UTC
I haven't seen any ebuild here that makes inbound connections work. I am not going to add a crippled version to the tree.
Comment 28 liva 2014-03-21 08:19:31 UTC
(In reply to Julian Ospald (hasufell) from comment #22)
> Those ebuilds still don't fix the TeamViewer_Desktop start for me. No
> inbound connections possible.
confirm.

And teamviewer8 does not start at all
/.config/teamviewer8/logfiles/winelog
wine: Unhandled page fault on read access to 0xffffffff at address 0xf74cedad (thread 0011), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 16 48") (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
wine: Unhandled page fault on read access to 0xffffffff at address 0xf755edad (thread 0009), starting debugger...
err:seh:start_debugger Couldn't start debugger ("winedbg --auto 8 132") (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger

finished yesterday "emerge -eav world"
Comment 29 Alex Efros 2014-04-13 20:32:33 UTC
Works for me, but I'm using hardened and thus require few changes in ebuild which should do this:
  paxctl-ng -m /opt/teamviewer9/wine/bin/wine-preloader
  paxctl-ng -m /opt/teamviewer9/teamviewerd
For this you need to add "pax-utils" to "inherit" command and use in ebuild "paxmark m /path/to/file" for these two files.

I also wanna be able to run teamviewer client without running daemon as root - is this possible?
Comment 30 Jayson Reis 2014-05-13 14:28:28 UTC
Created attachment 376832 [details]
Teamviewer 9 Ebuild
Comment 31 Jayson Reis 2014-05-13 14:29:14 UTC
Created attachment 376834 [details, diff]
Teamviewer 9 patch
Comment 32 Jayson Reis 2014-05-13 14:31:01 UTC
Can you check the latest ebuild and patch I sent?
I've tested it connecting to a windows machine with version 9.0.27891 and it works fine.
Comment 33 Julian Ospald 2014-05-13 14:41:10 UTC
(In reply to Jayson Reis from comment #32)
> Can you check the latest ebuild and patch I sent?
> I've tested it connecting to a windows machine with version 9.0.27891 and it
> works fine.

Did you test inbound connections?
Comment 34 Jayson Reis 2014-05-13 15:44:36 UTC
I'm rewriting that ebuild and with it, it works however it will to maintain teamviewer9 direcotry structure or it wont work
Comment 35 Jayson Reis 2014-05-13 15:54:45 UTC
Created attachment 376840 [details]
Teamviewer 9 Ebuild
Comment 36 Jayson Reis 2014-05-13 15:55:16 UTC
This new ebuild I uploaded works with outbound/inbound connections.
Comment 37 tman 2014-05-13 20:41:45 UTC
finally we have now a working ebuild. i hope it get now improve and added to portage tree
Comment 38 Julian Ospald 2014-05-13 20:49:53 UTC
I am currently drunk. I'll try to get to it when I am done writing unit tests.
Comment 39 tman 2014-05-19 17:24:27 UTC
@julian

i hope u have tested all well and would make this ebuild as soon as possible avaible in currently portage tree.

thanks
Comment 40 lordcris 2014-05-24 12:33:08 UTC
Any news on this one? Is the maintainer still drunk?
Comment 41 Julian Ospald 2014-05-24 13:40:21 UTC
(In reply to lordcris from comment #40)
> Any news on this one? Is the maintainer still drunk?

not still, but again

anyway, I'll try to check it out this weekend
Comment 42 Julian Ospald 2014-05-24 16:01:28 UTC
nicely figured out, the last ebuilds work with inbound connections

committed slightly differently
Comment 43 Vasilis Lourdas 2014-05-25 13:39:37 UTC
I have version 8.0.20931 installed and when trying to install v.9, I got this file collision error:

 * Detected file collision(s):
 * 
 * 	/usr/lib/systemd/system/teamviewerd.service
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-misc/teamviewer-8.0.20931:8::gentoo
 * 	/usr/lib/systemd/system/teamviewerd.service
 * 
 * Package 'net-misc/teamviewer-9.0.27891' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

I could delete teamviewerd.service (which I did anyway) in order to install v.9, but I think you should know of the error.
Comment 44 Julian Ospald 2014-05-25 14:44:28 UTC
(In reply to Vasilis Lourdas from comment #43)
> I have version 8.0.20931 installed and when trying to install v.9, I got
> this file collision error:
> 
>  * Detected file collision(s):
>  * 
>  * 	/usr/lib/systemd/system/teamviewerd.service
>  * 
>  * Searching all installed packages for file collisions...
>  * 
>  * Press Ctrl-C to Stop
>  * 
>  * net-misc/teamviewer-8.0.20931:8::gentoo
>  * 	/usr/lib/systemd/system/teamviewerd.service
>  * 
>  * Package 'net-misc/teamviewer-9.0.27891' NOT merged due to file
>  * collisions. If necessary, refer to your elog messages for the whole
>  * content of the above message.
> 
> I could delete teamviewerd.service (which I did anyway) in order to install
> v.9, but I think you should know of the error.

INSTALL_MASK="/usr/lib/systemd/*"

that's why I didn't catch it :P
Comment 45 Julian Ospald 2014-05-25 14:51:31 UTC
+  25 May 2014; Julian Ospald <hasufell@gentoo.org> teamviewer-9.0.27891.ebuild:
+  fix file collision with systemd