Have to make a change to the ebuild every time I build Chromium - am I doing something wrong?
Hi,
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
/var/tmp/gentoo/var/tmp/portage/www-client/chromium-14.0.825.0/image/var/tmp/gentoo/
category www-client
/var/tmp/gentoo/var/tmp/portage/www-client/chromium-14.0.825.0/temp/environment:
line 6581:
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=chromium-browser:
No such file or directory
sed: can't read
/var/tmp/gentoo/var/tmp/portage/www-client/chromium-14.0.825.0/image//usr/share/applications/*.desktop:
No such file or directory
I have to apply the following patch every time to it to make it work:
@@ -377,7 +377,7 @@
make_desktop_entry chromium-browser "Chromium" chromium-browser
"Network;WebBrowser"
"MimeType=${mime_types}
StartupWMClass=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 (
https://bugs.gentoo.org/show_bug.cgi?id=367651 ), can anyone tell me if
I'm doing something wrong to have to keep doing this?
Thanks
--
Regards,
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.
07-20-2011, 12:04 PM
Fabian Groffen
Have to make a change to the ebuild every time I build Chromium - am I doing something wrong?
On 20-07-2011 12:48:28 +0100, Asfand Qazi wrote:
> I've already opened a ticket about this (
> https://bugs.gentoo.org/show_bug.cgi?id=367651 ), can anyone tell me if
> I'm doing something wrong to have to keep doing this?