| Summary: | app-office/kmymoney2-0.8.4: "add" missing icon for the kmymoney symlink | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Malte S. Stretz <gentoo-bugger> |
| Component: | New packages | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | Lowest | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Choose to remove the binary symlink instead. Would be nice, if you would inform upstream about this minor issue. Thanks for your report, Malte. |
KMyMoney's executable is called kmymoney2 but per default a symlink kmymoney is installed, too. This is nice, but has a small glitch: If you start KMyMoney via the Run Command dialog in KDE, you won't get the KMyMoney icon for the kmymoney symlink. There are worse things but for some reason it annoyed me for quite some time :) The following patch creates symlinks for the icons, too, so we've got nice icons everywhere: --- kmymoney2-0.8.4.ebuild.orig 2006-07-03 21:58:25.000000000 +0200 +++ kmymoney2-0.8.4.ebuild 2006-07-03 21:57:51.000000000 +0200 @@ -43,3 +43,15 @@ kde_src_compile } + +src_install() { + kde_src_install + + # link icons for the kmymoney-symlink + for d in ${D}/usr/share/icons/*/*x*/apps; do + if [ -e ${d}/kmymoney2.png ]; then + ln -s kmymoney2.png ${d}/kmymoney.png + fi + done +} +