Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946708 - >=net-misc/unison-2.53.5-r2[gui] installs broken .desktop file
Summary: >=net-misc/unison-2.53.5-r2[gui] installs broken .desktop file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-20 14:32 UTC by Robin Bankhead
Modified: 2024-12-22 20:56 UTC (History)
1 user (show)

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 Robin Bankhead 2024-12-20 14:32:32 UTC
Version above is where I first encountered it (Nov 2), and 2.53.7 is still affected.

The file /usr/share/applications/unison-gui-2.53-unison-2.53.desktop (this file naming seems a bit odd also?) contains

[Desktop Entry]
Name=Unison GUI (2.53)
Type=Application
Comment=Two-way cross-platform file synchronizer
Exec=unison-gui-2.53
TryExec=unison-gui-2.53
Icon=unison-2.53
Categories=Network;

I think the problem is on line 120 in both current ebuilds which should read

make_desktop_entry "${PN}-${SLOT}" "${PN^} GUI (${SLOT})" "${PN}-${SLOT}"
Comment 1 Robin Bankhead 2024-12-20 14:44:02 UTC
AIUI this appears to have been a collision between bugs #935398 and #941780.

There is only one unison binary, which runs with GUI if graphical environment is detected ($DISPLAY is set) unless invoked with "-ui text" switch.
Comment 2 Larry the Git Cow gentoo-dev 2024-12-22 20:56:56 UTC
The bug has been closed via the following commit(s):

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

commit bddd1d20b9d1e4a4e5917517dac1def707991d98
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-12-22 20:53:20 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-12-22 20:53:56 +0000

    net-misc/unison: fix desktop entry
    
    Closes: https://bugs.gentoo.org/946708
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 net-misc/unison/{unison-2.53.7.ebuild => unison-2.53.7-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)