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

Re: Backport Woody: GNOME menus wrong



Le mer 08/10/2003 à 11:38, Jérôme Warnier a écrit :
> Le mar 07/10/2003 à 18:00, Jérôme Warnier a écrit :
> > The files /usr/share/applications/ooo645*.desktop all contain two lines
> > like:
> > Icon=/home/jwarnier/debian/openoffice.org-1.1.0/debian/tmp//usr/lib/openoffice/share/icons/ooo_web.png
> > Exec=/home/jwarnier/debian/openoffice.org-1.1.0/debian/tmp//usr/lib/openoffice/program/sweb %U
> > 
> > /home/jwarnier/debian/openoffice.org-1.1.0/debian/tmp/ is obviously not
> > meant to be there, and it breaks the GNOME menu entries.
> The problems seems to be here in debian/rules:
> 
>         # convert program/icon paths in desktop shortcuts
>         for I in $(MAINPKGDIR)/usr/share/applnk/*/*.desktop \
>                  $(MAINPKGDIR)-gnome/usr/share/applications/*.desktop;
> do \
>             sed -e
> 's,Exec="\?/.*\(/usr/lib/openoffice$(VER)/program/setup\)"\?,Exec=\1,' \
>                 -e
> 's,Exec="\?/.*/usr/lib/openoffice$(VER)/program/s\?\([^"]*\)"\?,Exec=/usr/bin/oo\1$(VER),' \
>                 -e 's,/oooffice ,/ooffice ,' \
>                 -e
> 's,Icon=.*/\([^/]*\.png\),Icon=/usr/lib/openoffice$(VER)/share/icons/\1,' \
>                 < "$$I" > "$$I.new" ;\
>             rm "$$I"; mv "$$I.new" "$$I" ;\
>         done
> 
> 
> I think "sed" is responsible here, overall if it does the same on Sid on
> PowerPC. Trying to use Perl could solve it.
It is Bug#214673, so forget it, I'll try to add the same patch.
> On the otherside, the problem does not seem to appear in KDE.
-- 
Jérôme Warnier <jwarnier@beeznest.net>

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


Reply to: