[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

Status|RESOLVED  |VERIFIED





--- Additional comments from [EMAIL PROTECTED] Fri Feb  3 14:37:24 -0800 
2006 ---
Installed debian 31r1 on a second machine and verified that myself.

The version of gnome-panel shipped with that version ignores the cache (and
there is no cache by default), so the user is unlikely to hit the problem.

The patched version correctly touches the directories and thus invalidates the
cache and runs gtk-update-icon-cache.

So all packages were verified by myself on fresh-installs of Fedora Core 4
(stentz), Mandriva 2006 (Free), Debian 31 and SuSE 10.0 - the
freedesktop-package was verified on my working machine (that once was a Mandrake
9.0 - but only few components left from that)

Additionally the packages were verified on RedHat/Fedora 3 by pescetti and
asrail who checked debian as well.

Thus setting this one to verified.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2006-01-27 Thread asrail
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] Fri Jan 27 17:15:30 -0800 
2006 ---
I hadn't time to test in Fedora and delayed the comment, only now I've seen the
comment about it.

It's also verified in Debian (in Debian it doens't require to login again or to
kill the pannel).



-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2006-01-18 Thread pescetti
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] Wed Jan 18 08:56:36 -0800 
2006 ---
Fix verified in RedHat/Fedora (FC3). I used the packages sent to [EMAIL 
PROTECTED]

The original problem is actually not so bad in FC3: icons are missing, but they
do appear at the following login. The current packages fix the problem anyway:
the icons now appear immediately after installation of the desktop integration
package.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

Status|REOPENED  |RESOLVED

Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Fri Jan 13 17:39:57 -0800 
2006 ---
fixed.

The previous approach was "wrong" in another regard: It assumed that the script
can find the binary to update the cache. This would fail if there was a cache,
but the binary was (re)moved/not in the install_script_path.
In addition, it seems that some versions of gtk-update-cache are "clever" in the
regard that they only update the cache when it thinks it is worth updating the
cache.. Touching the directory before that solves this problem..

The scripts now check for existence of the cache first, not for the existence of
gtk-update-cache.
I now use:

for theme in gnome hicolor locolor; do
  if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
# touch it, just in case we cannot find the binary...
touch /usr/share/icons/$theme
if (which gtk-update-icon-cache); then
  gtk-update-icon-cache /usr/share/icons/$theme
fi
# ignore errors (e.g. when there is a cache, but no index.theme)
true
  fi
done

setting to fixed again. Checked on mandrake 9.0 based system, SuSE 10.0, Fedora
Core 4.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

Status|RESOLVED  |REOPENED

Resolution|FIXED |





--- Additional comments from [EMAIL PROTECTED] Sat Jan  7 14:50:26 -0800 
2006 ---
reopen since SuSE package doesn't work as expected since the path to
gtk-update-icon-cache is not part of rpm's install_script_path.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2006-01-02 Thread asrail
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] Mon Jan  2 18:06:38 -0800 
2006 ---
Verified in the CWS cloph02 for Debian.
The other distros will be tested soon.

The icons are there just after installing the package.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-12-18 Thread obr
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] Sun Dec 18 13:35:21 -0800 
2005 ---
> @obr: Since I guess you're busy with other things, shall I try to find someone
> else for QA-rep.?

yes, please do so. If you don't find anyone, I'll do be very best - but can't
promise any timeframe at the moment.
 

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-12-17 Thread cloph
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] Sat Dec 17 07:32:32 -0800 
2005 ---
@obr: Since I guess you're busy with other things, shall I try to find someone
else for QA-rep.?

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

Status|STARTED   |RESOLVED

Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Sat Dec 17 04:20:41 -0800 
2005 ---
I should have had a look at the top of the spec or in an already-built one... 
The update-menu-macro doesn't handle the icon-cache stuff, so I added the bits
to the mandriva one as well.

→ fixed with future task: Update solaris-package to recent versions of gnome.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-12-13 Thread obr
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] Tue Dec 13 23:09:32 -0800 
2005 ---
The solaris stuff is still on GNOME 2.0 level. Updating this one for OpenSolaris
is on my (personal) ToDo-List, but currently has low priority. I would be happy
if someone would volunteer for that.

cc'ing rvojta for the mandriva.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-12-12 Thread cloph
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] Mon Dec 12 11:41:44 -0800 
2005 ---
committed the changes to the
 * debian
 * freedesktop
 * redhat
 * suse

packages, did not apply changes to 
 * mandriva (not sure, but I guess this is handled by the update-menus macro)
 * solaris  (nor sure, but I guess it doesn't use the icon-theme dirs but the
pixmap dir?)

I used the following:
  # update icon-cache if already present
  if (which gtk-update-icon-cache); then
for theme in gnome hicolor locolor; do
  if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
gtk-update-icon-cache /usr/share/icons/$theme
  fi
done
# ignore errors (e.g. when there is a cache, but no index.theme)
true
  fi


-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

Status|NEW   |STARTED





--- Additional comments from [EMAIL PROTECTED] Sun Dec 11 15:25:44 -0800 
2005 ---
I created cws cloph02 for that.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-20 Thread obr
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] Sun Nov 20 22:51:31 -0800 
2005 ---
> I cannot see why there should be a special effect on multi-user machines,

Oh, I just meant: the user that installs the software might know that any
strange effect in gnome-panel may be due to this installation, while other users
experiencing the same effect probably don't.

=> for the sake of performance, let's re-generate the cache if there is one 
already.


-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-20 Thread cloph
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] Sun Nov 20 14:33:38 -0800 
2005 ---
> Hmm, does gnome-panel pick up the updated icon cache immediately ?

Don't know. But it doesn't get the menu entries without restart anyway. (Maybe
that is different when fam is installed, don't know)

> [..]

> If gnome-panel (or nautilus) does not pick up the new icon cache in a certain
> amount of time ( 5s ? ), I would prefer the "touch toplevel directory" 
> approach, because otherwise there might be strange side effects on multi-user
> machines.

I cannot see why there should be a special effect on multi-user machines, but
when touching the directory works, then I'm pretty sure that an updated cache
will work as well (since it has to compare the mtime of both the cachefile and
the directory)
But my setup doesn't allow to check this.

But generating the cache would touch the toplevel directory anyway.

And if there is no cache, then touching is not needed anyway (I don't know
whether there are other icon-cache impementations by other desktop-environments,
but I don't think there are others)

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-18 Thread obr
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] Fri Nov 18 02:49:02 -0800 
2005 ---
Hmm, does gnome-panel pick up the updated icon cache immediately ? If so, I
would go for the "check for index.theme" approach and regenerate the cache where
one exists.

If gnome-panel (or nautilus) does not pick up the new icon cache in a certain
amount of time ( 5s ? ), I would prefer the "touch toplevel directory" approach,
because otherwise there might be strange side effects on multi-user machines.



-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

  Target milestone|---   |OOo 2.0.2





--- Additional comments from [EMAIL PROTECTED] Thu Nov 17 15:11:00 -0800 
2005 ---
> # touch /usr/share/icons/hicolor/
> # killall gnome-panel
>
> The icons are back. Isn't weird?...

No, not weired. That means that gnome-panel works according to the specs,
gnome-panel doesn't have a bug. (it ignores the cache when it is older than the
theme-directory's mtime)

> if the installer doesn't change the date of the folder?

The package doesn't install anything in the top-level directory itself, only
into subdirectories (and thus only the mtime of the subdirectories is changed).

###
the desktop-integration packages (the other ones probably are affected as well)
need to either update the icon-cache or touch the top-level icon-dirs.

@obr: Shall we generate a cache even when there isn't one already?
  Shall we touch the theme dirs instead?

if (which gtk-update-icon-cache); then
  gtk-update-icon-cache /usr/share/icons/gnome   ||true
  gtk-update-icon-cache /usr/share/icons/hicolor ||true
  gtk-update-icon-cache /usr/share/icons/locolor ||true
fi

should do the trick. (||true is needed because it returns with 1 when there is
no index.theme in the directory) Alternatively one could check for existence of
index.theme first (if [ -e /usr/share/icons/gnome/index.theme ])

That block would have to be added at the same places/conditions where
update-mime-database is run, that is
%postun
(always, both when upgrading and when erasing the package, although changes of
the icons are not very likely :-) )
and
%post
(only on first install)

I set target to 2.0.2 since it is easy to fix and cannot do any harm to OOo 
itself.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread jorgeu
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 13:24:51 -0800 
2005 ---
>Did you get the message that gtk-update-icon-cache could successfully create 
>the icon-cache? (do you now have /usr/shar/icons/hicolor/icon-theme.cache)?

Yes

>And refering to
>http://dropline-gnome.sourceforge.net/forums/viewtopic.php?p=30186#30186
>Did you remove other icon-caches as well?

ummm

# rpm -e openoffice.org-freedesktop-menus
# rm /usr/share/icons/hicolor/icon-theme.cache
# rm /usr/share/icons/gnome/icon-theme.cache
# gtk-update-icon-cache /usr/share/icons/hicolor/ (successfully)
# gtk-update-icon-cache /usr/share/icons/gnome/   (successfully)
# killall gnome-panel

now let's install again...

# rpm --nodeps -Uvh openoffice.org-freedesktop-menus-2.0.0-3.noarch.rpm
# killall gnome-panel

Yes!, we got it. The icons aren't shown in the menu entries.

And with:

# touch /usr/share/icons/hicolor/
# killall gnome-panel

The icons are back. Isn't weird?... if the installer doesn't change the date of
the folder?

>And your gnome-prefix is /usr, right?

yes

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread cloph
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 11:00:18 -0800 
2005 ---
Just to avoid any misunderstandings.

Did you get the message that gtk-update-icon-cache could successfully create the
icon-cache? (do you now have /usr/shar/icons/hicolor/icon-theme.cache)?

And refering to
http://dropline-gnome.sourceforge.net/forums/viewtopic.php?p=30186#30186
Did you remove other icon-caches as well?

And your gnome-prefix is /usr, right?

If you cannot recreate the problem, then maybe there is an additional problem.
Will need to think about it..

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread jorgeu
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 09:04:46 -0800 
2005 ---
>rpm -e openoffice.org-freedesktop-menus
>gtk-update-icon-cache /usr/share/icons/hicolor
>killall -HUP gnome-panel

Well, now Openoffce.org Base seems inmortal :D it is still there. But, don't
worry maybe i maked a copy for testing.

It was on: ~/.local/share/applications/openoffice.org-2.0-base.desktop
i just deleted it, but i really don't remember why i did that copy, maybe
because i added to the upside panel some time ago.

>install the desktop-integration rpm again
>killall -HUP gnome-panel

# rpm --nodeps -Uhv openoffice.org-freedesktop-menus-2.0.0-3.noarch.rpm
Preparing...### [100%]
   1:openoffice.org-freedesk### [100%]
/usr/bin/update-mime-database
***
* Updating MIME database in /usr/share/mime...
***
/usr/bin/update-desktop-database  **triggered**
/usr/bin/update-desktop-database  **triggered**

# killall gnome-panel

I can see all the desktop entries with their icons. Well, looks like we need a
fresh system in order to reproduce the problem.

>touch /usr/share/icons/hicolor

Not needed

We need help from someone else that haven't installed ooo rpm's before.



-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread cloph
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 07:57:15 -0800 
2005 ---
> So we have a conclusion, right?

yes.

> As you (cloph) saw this issue could be a gnome-panel bug and can be handled 
> simply by forcing the update by hand in the script.

The issue is not because of a bug in gnome-panel, there may be a bug in
gnome-panel though.

> You are the packagers, and you should force the udpate and/or try to reproduce
> the bug in gnome-panel in order to report it. I can help with that.

Great. In order to verify whether there is a bug in gnome-panel and whether my
conclusion is right, please do the following:

* uninstall the desktop-integration rpm
  rpm -e openoffice.org-freedesktop-menus
* regenerate the icon-cache for the hicolor-theme:
  gtk-update-icon-cache /usr/share/icons/hicolor
* force reload of the gnome-panel
  killall -HUP gnome-panel

Now you shouldn't have any menu-entries anymore in the panel.

* install the desktop-integration rpm again
* killall -HUP gnome-panel

Now you should see the menu-entries, but no icons.

* touch /usr/share/icons/hicolor
* killall -HUP gnome-panel (check without killing gnome-panel first)

Now gnome-panel should ignore the cache since it is outdated (the mtime of the
directory is newer than the cache).
If you now don't see the icons (or get a message that the cache is outdated or
similar), it is a bug in gnome-panel.

If you don't see the icons, then proceed, otherwise please do the steps from the
beginning again but instead of "touch /usr/share/icons/hicolor" now:

* update the icon-cache
  gtk-update-icon-cache /usr/share/icons/hicolor
* killall -HUP gnome-panel

Now you should see the icons.

#
If everything behaves as I predict, then the only question left is whether to
generate a new cache when there isn't one already or only update an existing 
one.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread jorgeu
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 07:20:15 -0800 
2005 ---
>Tell that maintainer that he doesn't know how triggers work in RPM. And ask him
>how he figured out that the OOo rpms "suppose something to exist" that lead him
>make that claim.

He told me something about some sysv issue. Nothing about RPM. The "claim" is my
claim, my conclusion. Maybe i didn't understand wheatever he told me.

So we have a conclusion, right?. As you (cloph) saw this issue could be a
gnome-panel bug and can be handled simply by forcing the update by hand in the
script.

You are the packagers, and you should force the udpate and/or try to reproduce
the bug in gnome-panel in order to report it. I can help with that.

Thanks a lot for the attention, other developers here in qa doesn't pay so much
attention as you do.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread cloph
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 06:26:11 -0800 
2005 ---
Besides what has been said already, I think this is a bug in gnome-panel as 
well.

The spec reads:
"[caching] This caching can make it impossible for users to add icons without
having to restart applications. In order to handle this, any implementation that
does caching is required to look at the mtime of the toplevel icon directories
when doing a cache lookup, unless it already did so less than 5 seconds ago.
This means that any icon editor or theme installation program need only to
change the mtime of the the toplevel directory where it changed the theme to
make sure that the new icons will eventually get used."

So all OOo needs to do was to use "touch /usr/share/icons/" and
gnome-panel should either ignore the (now marked outdated cache) or popup a
message requesting the user to regenerate the cache. Didn't check though whether
gnome-panel does that...

(that doesn't mean that the freedesktop-package should not try to update the
cache though)

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User cloph changed the following:

  What|Old value |New value

  Keywords|  |oooqa





--- Additional comments from [EMAIL PROTECTED] Thu Nov 17 06:06:07 -0800 
2005 ---
Again: update-desktop-database is *not* the problem. If you see the menu-entries
this means that it /has/ been run and that run was successful.

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

What should it tell us? That shows only the regular install-scripts, not the
triggers.

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

Tell that maintainer that he doesn't know how triggers work in RPM. And ask him
how he figured out that the OOo rpms "suppose something to exist" that lead him
make that claim.

The thing that triggers the trigger-scripts are the other openoffice.org
packages. Nothing else.

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

Again totally unrealated.

> So, a freedesktop integration installer should not suppose the existence of 
> anything outside

OK, then this issue is a wontfix since fixing would rely on something ouside the
specs from freedesktop.org, namely running gtk-update-icon-cache.

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

No. Use the query option "--triggers" instead/in addition to "--scripts" and you
will see.


When having the theme in /opt/gnome2/share/icons and the OOo icons in
/usr/share/icons, then the icon-cache doesn't matter, it will find the icons
anyway. Probably the icon-cache is only used when there is an index.theme

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-17 Thread jorgeu
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-16 Thread obr
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] Wed Nov 16 15:54:24 -0800 
2005 ---
> I installed using $ rpm --nodeps

Hmm, then I don't understand why the trigger doesn't run. Which version of rpm
are you using ?

> But, as i see the package only install on /opt/openoffice.org2.0, so what's 
> the
> problem?

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

> So, the people at freedesktop.org is wasting their time?

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.

However, what always should work is to install OOo using rpm. But I doubt the
fix for your problem is to move the 'update-desktop-database' run from the
trigger scriptlet to the postinstall scriptlet. 

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

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-16 Thread cloph
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] Wed Nov 16 15:49:06 -0800 
2005 ---
1st you shouldn't need (or use) --nodeps to install
2nd the extension for the filetype doesn't need (should not) be present in the
.desktop files
3rd when you see the menu-entries this means that update-desktop-database was
run successfully.

As mentioned in the forum, it is the icon-cache that needs an update.

I don't have an icon cache and don't know by what program this is created yet
and to what package this belongs. I doubt this is freedesktop-related, but
either GTK or $distro-specific or a bug in gnome-panel. (I once had a bug where
it showed icons for entries inside a drawer, but still claimed that it could not
find the icon (that it displayed properly though)).

##
looked around a bit and the cache can be created by GTK (doesn't necessarily
need to be present, that's why I didn't experience any problems)

I'm not sure whether this will work cross-distro though.
gtk-update-icon-cache expects a path with an index.theme as argument (although
the check for index.theme can be disabled)

I'm not sure whether this works when gnome (and the gnome-theme) is installed to
/opt/gnome2/ (like I have it) and the OOo icons are in /usr/ (like I have it)

Without icon-cache, this works without any problem. I will need to check whether
it works with cache as well.

If it works: Should the package create an icon-cache even when the host-system
doesn't have one?

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

2005-11-16 Thread jorgeu
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] Wed Nov 16 14:47:39 -0800 
2005 ---
"jorgeu: are you installing the RPMs or do you convert the to tgz somehow - I am
not getting this clearly from the discussion above."

I installed using $ rpm --nodeps

"However, the call needs to be in the trigger because otherwise desktop
integration won't work when OOo is relocated to some other place then
/opt/openoffice.org2.0."

But, as i see the package only install on /opt/openoffice.org2.0, so what's the
problem?

"The usual approach to this kind of problems is a to add a distro specific
desktop integration package to the install set."

So, the people at freedesktop.org is wasting their time?

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User obr changed the following:

  What|Old value |New value

CC|''|'obr'

   Assigned to|obr   |cloph





--- Additional comments from [EMAIL PROTECTED] Wed Nov 16 00:25:21 -0800 
2005 ---
jorgeu: are you installing the RPMs or do you convert the to tgz somehow - I am
not getting this clearly from the discussion above.

However, the call needs to be in the trigger because otherwise desktop
integration won't work when OOo is relocated to some other place then
/opt/openoffice.org2.0.

The usual approach to this kind of problems is a to add a distro specific
desktop integration package to the install set.

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User of changed the following:

  What|Old value |New value

   Assigned to|of|obr

  Priority|P2|P3





--- Additional comments from [EMAIL PROTECTED] Tue Nov 15 13:23:00 -0800 
2005 ---
of @ obr: Are you still looking at the desktop integration stuff?

-
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]



[installation-issues] [Issue 57871] freedesktop integration i nstaller doesn't force the update of the icon cache

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


User st changed the following:

  What|Old value |New value

   Assigned to|[EMAIL PROTECTED]   |of

 Component|distribution  |Installation

QA contact|[EMAIL PROTECTED]   |[EMAIL PROTECTED]





--- Additional comments from [EMAIL PROTECTED] Tue Nov 15 10:17:53 -0800 
2005 ---
moving to installation project...

-
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]