Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530726 - app-office/lyx-2.1.2 installs redundant desktop files
Summary: app-office/lyx-2.1.2 installs redundant 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: pavel sanda
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 07:10 UTC by Khumba
Modified: 2015-02-28 15:00 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 Khumba 2014-11-26 07:10:23 UTC
Hello!  I noticed today that app-office/lyx-2.1.2 redundantly installs two .desktop files:

/usr/share/applications $ cat lyx.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=LyX
GenericName=Document Processor
Comment=High level LaTeX frontend
Exec=lyx %F
TryExec=lyx
Icon=lyx
StartupNotify=false
StartupWMClass=Lyx
Terminal=false
Categories=Office;WordProcessor;Qt;
MimeType=text/x-lyx;application/x-lyx;

/usr/share/applications $ cat lyx-lyx.desktop
[Desktop Entry]
Name=LyX
Type=Application
Comment=WYSIWYM frontend for LaTeX, DocBook, etc.
Exec=lyx
TryExec=lyx
Icon=lyx
Categories=Office;
MimeType=application/x-lyx;

The former is provided by upstream and the latter is created by the ebuild:

  make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"

Since upstream is providing a more complete one now, can we remove the custom one?  There was a similar Debian report here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762986
Comment 1 Yixun Lan archtester gentoo-dev 2014-11-26 07:32:01 UTC
I see no reason why we shouldn't remove this (line of 'make_desktop_entry'), -_-

@pavel, do you agree? or I can proceed for you

and thanks for reporting.
Comment 2 pavel sanda 2014-11-26 07:42:59 UTC
yes please remove the line in ebuild, it slipped through the cracks.
also while you are in the right directory feel free to kill those ebuilds:
2.1.1
2.0.7.1-r2
2.0.6
Comment 3 Yixun Lan archtester gentoo-dev 2015-02-28 15:00:07 UTC
fixed in 2.1.3, thanks