Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106664 - openoffice-bin 1.9.130 missing icons in gnome-menu
Summary: openoffice-bin 1.9.130 missing icons in gnome-menu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 06:08 UTC by Martin Schwier
Modified: 2005-10-10 23:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
a patch to fix that problem... (openoffice.patch,4.01 KB, patch)
2005-10-01 17:03 UTC, Anielkis Herrera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schwier 2005-09-20 06:08:37 UTC
When i emerge openoffice-bin 1.9.130 it add's itself to the gnome menu, but
icons are missing.

Reproducible: Always
Steps to Reproduce:
1. emerge =app-office/openoffice-bin-1.9.130
2. (re)start gnome.
3. look in the office folder in gnome menu

Actual Results:  
icons are missing

Expected Results:  
icons should be there
Comment 1 Eric Ding 2005-09-22 19:19:50 UTC
The problem is with permissions; the ebuild gets it halfway right in adding +r
to directories under /usr/share/icons, but it needs to do more: it also needs to
add +x to the permissions.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2005-09-23 23:06:42 UTC
@Eric: Your suggestion does not work for me, icons are still not shown.
Interestingly in the smeg menu editor they are displayed correctly (while in the
built-in-editor for 2.12 they are missing, too), the desktop files themselves
look correct too
Comment 3 Surakshan Mendis 2005-09-30 06:14:20 UTC
Same for version 2 RC1
Comment 4 Surakshan Mendis 2005-09-30 06:18:28 UTC
might I add that I'm on gnome 2.12
Comment 5 Anielkis Herrera 2005-10-01 17:03:58 UTC
Created attachment 69675 [details, diff]
a patch to fix that problem...

applying this patch you can fix that problem... icons are in another place and
.desktop files are wrong
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2005-10-08 01:35:16 UTC
(In reply to comment #5)
> Created an attachment (id=69675) [edit]
> a patch to fix that problem...
> 
> applying this patch you can fix that problem... icons are in another place and
> .desktop files are wrong

# Icon symlinks for gnome
	dodir /usr/share/pixmaps
	for app in base calc draw impress math printeradmin writer; do
		dosym /usr/share/icons/gnome/32x32/apps/openofficeorg-19-${app}.png
/usr/share/pixmaps/openofficeorg-19-${app}.png
	done

You can add this to src_install instead (creating symlinks for the icons
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-08 12:16:55 UTC
This is fixed now in rc2, thanks everyone-
Comment 8 Martin Schwier 2005-10-10 08:58:53 UTC
Hi! Thank you for the fix, i tried it today.

Unfortunately there is still a little problem. I my case, the directory "apps"
in "/usr/share/icons/gnome/32x32/" wasn't there before emerging
openoffice-2.0.0_rc2, so the ebuild (or portage - I don't know) created it. But
with wrong permissons: 744 instead of 755. So as non-root user i could not
access this directory and the icons didn't appear in the gnome-menu.

chmod 755 /usr/share/icons/gnome/32x32/apps helped.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-10 23:17:40 UTC
@Martin: Fixed this now, thanks for reporting