From owner-freebsd-ports@FreeBSD.ORG Sun Nov 11 10:13:42 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7A08EA7 for ; Sun, 11 Nov 2012 10:13:42 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [IPv6:2a02:6b8:0:f05::4]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2648FC0A for ; Sun, 11 Nov 2012 10:13:41 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward4h.mail.yandex.net (Yandex) with ESMTP id 1C3501B21887; Sun, 11 Nov 2012 14:13:38 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id BD0C7134036B; Sun, 11 Nov 2012 14:13:38 +0400 (MSK) Received: from 46.38.36.171.tel.ru (46.38.36.171.tel.ru [46.38.36.171]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Dc14f7wP-Dc1qYhok; Sun, 11 Nov 2012 14:13:38 +0400 Message-ID: <509F7A52.70702@passap.ru> Date: Sun, 11 Nov 2012 14:13:38 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121106 Thunderbird/16.0.2 MIME-Version: 1.0 To: Beeblebrox Subject: Re: fixing missing launch icons References: <1352456262220-5759494.post@n5.nabble.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> In-Reply-To: <1352624310305-5759954.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2012 10:13:43 -0000 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