Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439726 - app-misc/anki-2.0.0 installs both anki-anki.desktop and anki.desktop
Summary: app-misc/anki-2.0.0 installs both anki-anki.desktop and anki.desktop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-10-26 08:33 UTC by Karl-Robert Ernst
Modified: 2012-10-26 16:38 UTC (History)
1 user (show)

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


Attachments
Fixed ebuild to only install the .desktop file that is included in the archive (anki-2.0.0-r1.ebuild,1.63 KB, text/plain)
2012-10-26 08:35 UTC, Karl-Robert Ernst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Robert Ernst 2012-10-26 08:33:44 UTC
The ebuild for Anki-2.0.0 creates 2 seperate desktop files (anki.desktop and anki-anki.desktop) resulting in it shown twice in various menus.

Reproducible: Always

Steps to Reproduce:
1. emerge anki-2.0.0
Actual Results:  
2 desktop entries

Expected Results:  
1 desktop entry
Comment 1 Karl-Robert Ernst 2012-10-26 08:35:51 UTC
Created attachment 327452 [details]
Fixed ebuild to only install the .desktop file that is included in the archive
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-26 16:29:39 UTC
Comment on attachment 327452 [details]
Fixed ebuild to only install the .desktop file that is included in the archive

--- anki-2.0.0.ebuild   2012-10-23 19:02:25.000000000 +0200
+++ -   2012-10-26 18:29:33.874653481 +0200
@@ -60,8 +60,6 @@
        dodoc README README.development README.translating
        insinto "$(python_get_sitedir)"
        doins -r aqt libanki/anki
-
-       make_desktop_entry ${PN} ${PN} ${PN} "Education"
 }
 
 pkg_preinst() {
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2012-10-26 16:38:40 UTC
Fixed in -r1, thanks a lot!
 
+*anki-2.0.0-r1 (26 Oct 2012)
+
+  26 Oct 2012; Thomas Kahle <tomka@gentoo.org> +anki-2.0.0-r1.ebuild:
+  Remove duplicate desktop entry.  Thanks Karl-Robert Ernst in bug 439726
+