To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57871





------- Additional comments from [EMAIL PROTECTED] Thu Nov 17 05:33:56 -0800 
2005 -------
>Hmm, then I don't understand why the trigger doesn't run. Which version of rpm
>are you using ?

RPM version 4.2.1

>You can use "rpm --prefix" or "rpm --relocate" to install it anywhere you like.

ups!

>No. I am refering to a packaging issue: one obviously can't support the rpm
>relocation feature and make the rpm easily convertable (by e.g. alien) at the
>same time. freedesktop.org is more about the content of those packages, which
>would be close to identical.



>Where is "update-desktop-database" located on your machine ? 

$ which update-desktop-database
/usr/bin/update-desktop-database

$ ls -l /usr/bin/update-desktop-database
-rwxr-xr-x  1 root bin 32416 2005-09-18 21:53 /usr/bin/update-desktop-database*


By the way, did you saw this post?
http://dropline-gnome.sourceforge.net/forums/viewtopic.php?p=30211#30211

A Dropline Gnome mantainer told me that the triggers that the installer suppose
that exist, doesn't exists in that Gnome distro.

If you read that:

http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s07.html#mime-caching

You can't find any trigger specification. So, a freedesktop integration
installer should not suppose the existence of anything outside
http://standards.freedesktop.org

My conlusion (and i accept that could be wrong): supposing the existence of an
update trigger is distro-specific.

As i see, to make that installer distro-neutral, you only have to change:

### quote for the lines 137-142 of the install script ###
if [ "$1" = 0 ] ; then # only run when erasing the package - other cases handled
by the triggers
  if (which update-desktop-database); then
    update-desktop-database -q /usr/share/applications
  fi
fi
### end quote ###

For this:

if (which update-desktop-database); then
  update-desktop-database -q /usr/share/applications
fi

Just like you do with update-mime-database.

I hope it will help to get better the desktop integration for all distros :D

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to