Gentoo Archives: gentoo-alt

From: Asfand Qazi <aq2@×××××××××.uk>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Have to make a change to the ebuild every time I build Chromium - am I doing something wrong?
Date: Wed, 20 Jul 2011 11:48:44

I have to always edit the Chromium ebuild to make them work on my 
system, or else I get the following error:

 >>> Install chromium-14.0.825.0 into 
category www-client
line 6581: 
No such file or directory
sed: can't read 
No such file or directory

I have to apply the following patch every time to it to make it work:

  2011-07-20 10:32:48.000000000 +0100
    2011-07-20 11:08:10.000000000 +0100
@@ -377,7 +377,7 @@
         make_desktop_entry chromium-browser "Chromium" chromium-browser \
-       sed -e "/^Exec/s/$/ %U/" -i 
"${D}"/usr/share/applications/*.desktop || die
+       sed -e "/^Exec/s/$/ %U/" -i 
"${ED}"/usr/share/applications/*.desktop || die

         # Install GNOME default application entry (bug #303100).
         if use gnome; then

Excuse me for the line-wrapping.

I've already opened a ticket about this (  ), can anyone tell me if 
I'm doing something wrong to have to keep doing this?


       Asfand Qazi
       Team 87 HTGT
       Wellcome Trust Sanger Institute

 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE.