Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2012 14:13:38 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: fixing missing launch icons
Message-ID:  <509F7A52.70702@passap.ru>
In-Reply-To: <1352624310305-5759954.post@n5.nabble.com>
References:  <1352456262220-5759494.post@n5.nabble.com> <CAHcdu2rEth-c7TwRFSMEGJj8wFK4gS0Q2CSVP9t3cFEGQ3yRgQ@mail.gmail.com> <20121109161858.GX31744@e-new.0x20.net> <1352531666153-5759756.post@n5.nabble.com> <1352570888906-5759860.post@n5.nabble.com> <509EC2F8.1040609@herveybayaustralia.com.au> <1352624310305-5759954.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509F7A52.70702>