Re: Openoffice.org stub desktop files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2010-04-12 at 16:38 +0200, drago01 wrote:
> On Mon, Apr 12, 2010 at 4:37 PM, drago01 <drago01@xxxxxxxxx> wrote:
> > On Mon, Apr 12, 2010 at 5:05 AM, Rahul Sundaram <metherid@xxxxxxxxx> wrote:
> >> Hi,
> >>
> >> Among the suggestions from Colin Walters earlier was the idea of install
> >> on demand when the user clicks on the menu entry.  How much work is
> >> this?
> >
> > Just need a package with a desktop file that calls
> > gpk-install-package-name and have oo.org obsolete it so that you don't
> > end up with two desktop files.
> 
> On a second though this would also results into the first yum update
> pull in oo.org ... not sure if this is a bad thing though.

Instead of Obsoletes, you could make it run a script that does

gpk-install-package-name OOo
uninstall self

or you can play tricks with menu files to make these stub entries only
show up if the real ooo is not there yet. E.g, make ooo install a menu
file that kicks out the stubs. Look
at /etc/xdg/menu/preferences-post-merged/gnome-screensaver-hide-xscreensaver.menu
for how to pull that off...

-- 
desktop mailing list
desktop@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/desktop

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux