fixing missing launch icons
Boris Samorodov
bsam at passap.ru
Sun Nov 11 10:13:43 UTC 2012
11.11.2012 12:58, Beeblebrox пишет:
> This whole thing makes just absolutely no sense!
> None of my hand-added items appear in the launch menu (and I have tried
> several). Of the menu items that already exist, I am able to remove multiple
> entries and bring them down to single entry, but I am not able to change the
> category to something else.
>
> Is there some higher-level config file for each Desktop where other
> adjustments must be made??
>
> Strange!
Hm, seems that you miss desktop database update. You may use
textproc/goldendict as a reference. Shot version:
1. Makefile should have "USE_GNOME=desktopfileutils".
2a. At post-install: stage do run -update-desktop-database (this
is for ports).
2b. Insert to pkg-plist (this is for packages):
-----
@exec %%LOCALBASE%%/bin/update-desktop-database
@unexec %%LOCALBASE%%/bin/update-desktop-database
-----
That will make update-desktop-database run after port/package
install/deinstall and keep the desktop database in concurrent
state.
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-ports
mailing list