Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110487 - apps-office/openoffice-2.0 does not create menuitems in KDE/Gnome
Summary: apps-office/openoffice-2.0 does not create menuitems in KDE/Gnome
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 16:08 UTC by Rafael Kolless
Modified: 2005-10-27 01:45 UTC (History)
0 users

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


Attachments
ouput of kbuildsycoca (kbuildsycoca.txt,24.73 KB, text/plain)
2005-10-26 11:45 UTC, Rafael Kolless
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Kolless 2005-10-25 16:08:48 UTC
After a successful build of openoffice-2.0 there are no icons in KDE or GNOME.
All Icons for openoffice are missing in /usr/share/applications but in the
ebuild they should be copied to it:

    #Correcting location of menu entries, this should really be handled in ooo-b
uild / setup.in
    mkdir ${D}/usr/share/applications
    mv ${D}/opt/gnome/share/applications/* ${D}/usr/share/applications/
    rmdir ${D}/opt/gnome/share/applications/ -p

I remerged once and the icons are missing always


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
No icons in /usr/share/applications

Expected Results:  
icons in the folder

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/daten/store/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/daten/portage/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X a52 aac acpi alsa apache2 apm arts audiofile
avi berkdb bitmap-fonts bonobo browserplugin capi cdparanoia cdr cjk crypt css
cups curl dbus dlloader dts dv dvb dvd dvdr dvdread eds emboss encode esd fam
fame ffmpeg firefox flac font-server foomaticdb fortran fping gd gdbm gif gimp
gimpprint glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icq
ieee1394 imagemagick imlib java javascript joystick jpeg jpeg2k junit kde kipi
koffice-plugin libg++ libwww mad maildir matroska mbox mikmod mime mjpeg mmx
mmxext moneyplex monkey motif moznocompose moznoirc moznomail mozsvg mp3 mpeg
mplayer mpm-threadpool mpm-worker msn musicbrainz mysql nagios-ping nagios-ssh
ncurses nls nptl nvidia objc ogg oggvorbis openal opengl oscar oss pam pdflib
perl png python qt quicktime rar rdesktop readline real ruby sblive scanner sdl
slang sox speex spell sse sse2 ssl stats subtitles svga sysfs tcltk tcpd theora
tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l vcd videos
vidix vorbis win32codecs wmf xine xinerama xml xml2 xmms xpm xv xvid yahoo zlib
fritzcapi_cards_fcpci linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-25 23:43:36 UTC
The icons are NOT saved to /usr/share/applications, that's where the desktop
files go, the icons are in /usr/share/pixmaps.

Still I don't get what your problem is here. Are the menu entries missing, or
are they there and the icons are not displayed?

You could do:

ls -la /usr/share/pixmaps/ooo-*

and

ls -la /usr/share/applications/*2.desktop

to see if everything is installed correctly (and post it here)
Comment 2 Rafael Kolless 2005-10-26 11:31:04 UTC
I am sorry, did not see the icons and .desktop files in /usr/share, this is my
fault.
But neverless the menues in KDE and Gnome do not show the menue entries like
with OpenOffice 1.1.4

I changed the summary.

Comment 3 Rafael Kolless 2005-10-26 11:45:15 UTC
Created attachment 71518 [details]
ouput of kbuildsycoca

I forgot the output:

ls -la /usr/share/applications/*2.desktop
-rw-r--r--  1 root root 1575 25. Okt 05:24
/usr/share/applications/database2.desktop
-rw-r--r--  1 root root 3520 25. Okt 05:24
/usr/share/applications/drawing2.desktop
-rw-r--r--  1 root root 3548  5. Okt 03:13
/usr/share/applications/evolution-2.2.desktop
-rw-r--r--  1 root root 1437 25. Okt 05:24
/usr/share/applications/formula2.desktop
lrwxrwxrwx  1 root root   37 31. Aug 02:28
/usr/share/applications/gimp-2.2.desktop ->
/usr/share/gimp/2.0/misc/gimp.desktop
-rw-r--r--  1 root root 2673  2. Jul 09:37
/usr/share/applications/glade-2.desktop
-rw-r--r--  1 root root 5182  5. Okt 07:26
/usr/share/applications/gnobots2.desktop
-rw-r--r--  1 root root  215 23. Feb 2005 
/usr/share/applications/lbreakout2.desktop
-rw-r--r--  1 root root 4258 25. Okt 05:24
/usr/share/applications/presentation2.desktop
-rw-r--r--  1 root root 4061 25. Okt 05:24
/usr/share/applications/spreadsheet2.desktop
-rw-r--r--  1 root root 4292 25. Okt 05:24
/usr/share/applications/textdoc2.desktop

I attached an ouput of kbuildsycoca with --menutest. It does not join the
desktopfiles to the menu of Office (B
Comment 4 Rafael Kolless 2005-10-26 11:45:15 UTC
Created attachment 71518 [details]
ouput of kbuildsycoca

I forgot the output:

ls -la /usr/share/applications/*2.desktop
-rw-r--r--  1 root root 1575 25. Okt 05:24
/usr/share/applications/database2.desktop
-rw-r--r--  1 root root 3520 25. Okt 05:24
/usr/share/applications/drawing2.desktop
-rw-r--r--  1 root root 3548  5. Okt 03:13
/usr/share/applications/evolution-2.2.desktop
-rw-r--r--  1 root root 1437 25. Okt 05:24
/usr/share/applications/formula2.desktop
lrwxrwxrwx  1 root root   37 31. Aug 02:28
/usr/share/applications/gimp-2.2.desktop ->
/usr/share/gimp/2.0/misc/gimp.desktop
-rw-r--r--  1 root root 2673  2. Jul 09:37
/usr/share/applications/glade-2.desktop
-rw-r--r--  1 root root 5182  5. Okt 07:26
/usr/share/applications/gnobots2.desktop
-rw-r--r--  1 root root  215 23. Feb 2005 
/usr/share/applications/lbreakout2.desktop
-rw-r--r--  1 root root 4258 25. Okt 05:24
/usr/share/applications/presentation2.desktop
-rw-r--r--  1 root root 4061 25. Okt 05:24
/usr/share/applications/spreadsheet2.desktop
-rw-r--r--  1 root root 4292 25. Okt 05:24
/usr/share/applications/textdoc2.desktop

I attached an ouput of kbuildsycoca with --menutest. It does not join the
desktopfiles to the menu of Office (Büroprogramm) but a normal kbuildsycoca
shows a mime-warning for database2.desktop so it can see the files:

kbuildsycoca: WARNING: '/usr/share/applications/database2.desktop' specifies
undefined mimetype/servicetype 'application/vnd.oasis.opendocument.database'
Comment 5 Rafael Kolless 2005-10-26 11:53:27 UTC
I just started kbuildsycoca as root and the icons appeared. Is this normaly
invoked by portage?
Comment 6 Rafael Kolless 2005-10-26 11:57:03 UTC
(In reply to comment #4)
> I just started kbuildsycoca as root and the icons appeared. Is this normaly
> invoked by portage?

The menu items in KDE and Gnome with icons :)

Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-26 12:13:48 UTC
Might just have been a problem with regards to mimetypes (maybe not recreated
correctly). Anyway, good that it works now for you, closing this
Comment 8 Rafael Kolless 2005-10-26 13:00:15 UTC
But it only worked for me after I started kbuildsycoca manualy as root. This is
normaly not needed.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-26 13:15:28 UTC
I know, but it works for others, so it has to be something on your system and is
not an OOo bug
Comment 10 Paul de Vrieze (RETIRED) gentoo-dev 2005-10-26 13:17:13 UTC
That probably is a kde bug. Do you have fam.d running or use gamin instead? You
or others might also have been taken of by the fact that the icons and
descriptions are quite different from what the 1.1 series provided. They also
are in a different category.
Comment 11 Rafael Kolless 2005-10-26 13:30:25 UTC
I do not use fam.d or gamin.

And OO-2.0 is the first package of all that did not create menue entries (or
triggered kbuildsycoca) with the USE flag kde.

I don
Comment 12 Rafael Kolless 2005-10-26 13:30:25 UTC
I do not use fam.d or gamin.

And OO-2.0 is the first package of all that did not create menue entries (or
triggered kbuildsycoca) with the USE flag kde.

I don´t know why but with several other packages a kbuilsycoca is triggerd
during the last phase of the emerge-install.
Comment 13 Paul de Vrieze (RETIRED) gentoo-dev 2005-10-27 01:45:06 UTC
gamin (and fam.d, but that works less well) allows kde (and others) to monitor
for changes in directories. To be able to automatically pick up menu changes, it
needs it. With a reload of the desktop it should work though.