Summary: | net-im/telegram-desktop-bin was updated outside portage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Henning Schild <henning> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jstein, np-hardass, peter.volkov, proxy-maint, viklevin2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/10005 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | screenshot |
The app is totally unsafe and do this nasty stuff. It also constantly creates .dekstop file (at least on Xfce) at ~/.local/share/applications/ even when .desktop file is already present in the system. Currenlty as a workaround your are suggested to disable automatic update manyally in settings. It seems that currently the only way to disable automatic updates is either to disable them at compile time (TDESKTOP_DISABLE_AUTOUPDATE) or disable them via the settings GUI. I see no way to do this automatically in this ebuild. Though it would be possible if we eventually merge a ebuild that builds telegram from sources. The major reason why it wasn't accepted earlier[1] was that it required a patched Qt. However, it seems that there is some progress in this direction[2], so we could give it another try. [1] https://github.com/gentoo/gentoo/pull/1551 [2] https://github.com/telegramdesktop/tdesktop/issues/1815 Any news? Well the -bin version has a builtin updater that can not be disabled when packaging. The source version is hard to build, so there is no ebuild for that at the moment. The only advise i can give is to disable the updates in the GUI. But that has to be done by every user on each machine. Uncheck "Settings" -> "General" -> "Update automatically". We could think about publishing an enews item on that, but people would still get hit by the automatic update. The real solution would be to build from source or switch to i.e. cutegram. I have got some cutegram ebuilds, but that is not easy to compile either ... Feel free to comment further, but i think that one is ready to get closed with "wontfix". (In reply to Henning Schild from comment #5) > The only advise i can give is to disable the updates in the GUI. But that > has to be done by every user on each machine. Uncheck "Settings" -> > "General" -> "Update automatically". We could think about publishing an > enews item on that, but people would still get hit by the automatic update. > What about some ewarn or elog messages in pkg_postinst? I know many people don't read them either, but at least it would gain some visibility. @Joonas that is what i meant when i said enews, but i used the wrong term Seems like upstream tdesktop is willing to provide a better solution, so let us wait for that Talking to upstream helped, the latest release allows one to disable the updater with an argument. https://github.com/gentoo/gentoo/pull/9218 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea989a3b275aa2e2b473450178b881626f2d7ac5 commit ea989a3b275aa2e2b473450178b881626f2d7ac5 Author: Henning Schild <henning@hennsch.de> AuthorDate: 2018-07-13 17:04:28 +0000 Commit: NP-Hardass <NP-Hardass@gentoo.org> CommitDate: 2018-07-16 05:01:15 +0000 net-im/telegram-desktop-bin: bump to 1.3.10 and disable auto-updates This version bump uses a new upstream feature to tell the binary that it should not check for updates itself. The ebuild installs the binary to /usr/lib/ and deploys a wrapper to /usr/bin/. Closes: https://bugs.gentoo.org/618662 Closes: https://github.com/gentoo/gentoo/pull/9218 Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: NP-Hardass <NP-Hardass@gentoo.org> net-im/telegram-desktop-bin/Manifest | 3 ++ .../files/telegram-desktop-bin | 5 ++ .../telegram-desktop-bin-1.3.10.ebuild | 60 ++++++++++++++++++++++ 3 files changed, 68 insertions(+) I have to reopen that one since an update with portage will still trigger one part of the internal updater again. The part that creates the .desktop file, which will start the application with the internal updater enabled again. https://github.com/telegramdesktop/tdesktop/issues/5118 Once we have a release with this fixed, it might also be time for an "einfo" in the ebuild. To tell users to get rid of the desktop file in .local. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02a2ea013889486148f7abaf6cc7146277cb279 commit a02a2ea013889486148f7abaf6cc7146277cb279 Author: Henning Schild <henning@hennsch.de> AuthorDate: 2018-09-28 16:07:30 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2018-09-28 18:25:13 +0000 net-im/telegram-desktop-bin: Version bump to 1.4.0 Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://bugs.gentoo.org/618662 Closes: https://github.com/gentoo/gentoo/pull/10005 net-im/telegram-desktop-bin/Manifest | 3 + .../telegram-desktop-bin-1.4.0.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) |
Created attachment 472796 [details] screenshot $summary, see the mismatch in the screenshot