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

Bug#655076: libreoffice-gtk: quickstart desktop link refers to non-existent file



On Sun, Jan 08, 2012 at 04:55:34PM +0100, Rene Engelhard wrote:
> tag 655076 - patch
> tag 655076 + pending
> thanks
> 
> On Sun, Jan 08, 2012 at 12:05:37PM +0000, Julian Gilbey wrote:
> > The file /usr/lib/libreoffice/share/xdg/qstart.desktop has the line:
> > Exec=libreoffice3.4 --quickstart --nologo --nodefault
> > but the binary libreoffice3.4 does not exist; this should be changed
> > to plain libreoffice.
> 
> Ah, yeah. they moved the info, we had
> 
>        PRODUCTVERSION=`grep PRODUCTVERSION $(SOURCE_TREE)/sysui/desktop/productversion.mk | head -n 1 | cut -d"=" -f2 | sed -e s/\ //g`; \
>        sed -i -e "s,Exec=libreoffice$$PRODUCTVERSION,Exec=ooffice$(VER)," 
> [...]
>                 $(PKGDIR)-gtk/$(OOBRANDDIR)/share/xdg/qstart.desktop
> 
> in debian/rules - which didn't work anymore..
> 
> Fixed to
> 
>        PRODUCTVERSION=`grep PRODUCTVERSION $(SOURCE_TREE)/solenv/inc/productversion.mk | head -n 1 | cut -d"=" -f2 | sed -e s/\ //g`; \
>        sed -i -e "s,Exec=libreoffice$$PRODUCTVERSION,Exec=libreoffice$(VER)," \

Ah, but there is no binary called libreoffice4.3 or whatever; surely
it should just be:

>        sed -i -e "s,Exec=libreoffice$$PRODUCTVERSION,Exec=libreoffice," \

or am I completely wrong?

   Julian



Reply to: