Hi Robert, *, On Thu, Apr 07, 2005 at 11:46:27AM +0200, Robert Vojta wrote: > Oliver Braun <[EMAIL PROTECTED]> writes: > > > The shared-mime info stuff is always located in /usr/share/mime, also > > the location of the icons is the same for all packages but the suse one > > and all packages expect the .desktop launchers to reside in > > /use/share/applications - so it's not that bad :). > > yes, but look at the suse-menus example: > > [EMAIL PROTECTED]:~> rpm -ql openofficeorg-suse-menus | grep \/usr\/share > /usr/share/applications/openoffice.org-1.9-base.desktop > [...] > No files in /usr/share/mime directory from this package. But lot of > OpenOffice.org mime type files in this directory from the package > shared-mime-info. So, there will be a conflict with the > openofficeorg-shared-mime-info package. -> Confused users - should > we use --force, --nodeps, ...
? when the split is made (seperate icon and mime package), then the suse package will no longer include the files in /usr/share/applications The ".desktop"-files you listed are no mime-files. And the only thing that the mime-package would install is the /usr/share/mime/packages/openoffice.org.xml file (all other files in /usr/share/mime/ are created and updated by update-mime-database) and it would update /etc/mailcap and /etc/mime.types > Now, you're closer to the 'dependency hell' ... The problem is that > RPM spec file don't know how to handle OR :( ? You are not supposed to install more menu-packages. The distro-menu-packages would just state something like "Requires: icons-package, mime-package" and no dependency hell... But maybe I got you completely wrong. > [...] > > One advantage would be slightly reduced testing effort, since you only > > have on package containing shared mime info data. > > Yes, I understand this point of view, but thisthe ooo-shared-mime > info package will clash with common shared-mime-info package from > the system. No, it wont, since update-mime-databse will take care of merging diffenrent entries for the same mimetype. The system (distro) is unlikely to install the "openoffice.org.xml" file that contains all the information. The distro will most likely install "suse.xml" or something... If they really use "openoffice.org.xml", then we can use a different name, but I doubt that any distro installs such a file. ciao Christian -- NP: Rage Against The Machine - Fistful Of Steel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
