Matt Keenan wrote:
> On 01/04/2009 18:13, Bart Smaalders wrote:
>> Matt Keenan wrote:
>>> Bart,
>>>
>>> What specific menu related files does the acroread package install ?
>>> e.g. .desktop/.menu/.directory files ?
>>>
>>> And to what path are they installed ? if you could add this info to
>>> the bug report, that would be great.
>>>
>>> cheers
>>>
>>> Matt
>>>
>>> On 30/03/2009 21:47, Bart Smaalders wrote:
>>>>
>>>> I'm building the IPS package for acroread, and I'm seeing a
>>>> problem in that Acroread doesn't appear in the gnome menu
>>>> after installation until I kill gnome-panel, despite restarting
>>>> the following services as a side effect of live installation:
>>>>
>>>> svc:/application/desktop-cache/gconf-cache:default
>>>> svc:/application/desktop-cache/icon-cache:default
>>>> svc:/application/desktop-cache/mime-types-cache:default
>>>>
>>>> Is this a bug in gnome-panel, the services above, or did I
>>>> miss restarting something else?
>>>>
>>>> Thanks -
>>>>
>>>> - Bart
>>>>
>>>>
>>>
>>
>> This package is installed w/:
>>
>> usr/share/gnome/apps/AdobeReader.desktop
> 
> This is the wrong location for installing .desktop files.
> Desktop file should be installed to :
>   /usr/share/applications
> 
> Once you do this the menu item should definitely appear, and there would be
> no need to restart any of the cache services, as gnome-panel menu 
> monitoring
> does not use caches, all of the menu config is contained in process.
> 
> I've never seen "usr/share/gnome/apps" dir referenced before where did
> was this path derived from ?
> 

The postinstall script in the svr4 package called
/usr/bin/xdg-desktop-menu, which installed the menu file there.
I copied that behavior in the package; as that is apparently wrong
I'll change that to /usr/share/applications.

- Bart

-- 
Bart Smaalders                  Solaris Kernel Performance
barts at cyber.eng.sun.com              http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."

Reply via email to