Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732460 - net-p2p/syncthing-1.3.4-r1: doesn't install .desktop files
Summary: net-p2p/syncthing-1.3.4-r1: doesn't install .desktop files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-13 10:40 UTC by Austin English
Modified: 2020-07-13 12:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English 2020-07-13 10:40:28 UTC
The documentation upstream suggests autostarting by copying the .desktop file to ~/.config/autostart [1], but it isn't installed.

Running 'ebuild syncthing-1.3.4-r1.ebuild install shows that there are two desktop files in the workdir available:
austin@laptop /var/portage/repos/gentoo/net-p2p/syncthing $ find /var/tmp/portage/net-p2p/syncthing-1.3.4-r1/ -iname \*.desktop
/var/tmp/portage/net-p2p/syncthing-1.3.4-r1/work/syncthing-1.3.4/etc/linux-desktop/syncthing-start.desktop
/var/tmp/portage/net-p2p/syncthing-1.3.4-r1/work/syncthing-1.3.4/etc/linux-desktop/syncthing-ui.desktop

The situation is the same in 1.5.0.

[1] https://docs.syncthing.net/users/autostart.html#linux

Reproducible: Always

Steps to Reproduce:
emerge net-p2p/syncthing
qlist net-p2p/syncthing | grep desktop
Actual Results:  
No files found

Expected Results:  
Desktop files installed/found.
Comment 1 Marek Szuba archtester gentoo-dev 2020-07-13 10:58:12 UTC
I wouldn't say they actually suggest using autostart, they just mention it as an option - but good call nevertheless, many Gentoo users do not run systemd. I'll address that in 1.7.1.
Comment 2 Larry the Git Cow gentoo-dev 2020-07-13 12:15:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be30855c74349568c1c1fa6308f4df1f7a07189

commit 0be30855c74349568c1c1fa6308f4df1f7a07189
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-07-13 11:37:57 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-07-13 12:14:44 +0000

    net-p2p/syncthing: bump to 1.7.1
    
    Also, install .desktop files provided by upstream.
    
    Closes: https://bugs.gentoo.org/732460
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-p2p/syncthing/Manifest                                    |  2 +-
 .../{syncthing-1.7.0.ebuild => syncthing-1.7.1.ebuild}        | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)