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
Message-Id: 4E26C08C.9030200@sanger.ac.uk
1 Hi,
2
3 I have to always edit the Chromium ebuild to make them work on my
4 system, or else I get the following error:
5
6
7 >>> Install chromium-14.0.825.0 into
8 /var/tmp/gentoo/var/tmp/portage/www-client/chromium-14.0.825.0/image/var/tmp/gentoo/
9 category www-client
10 /var/tmp/gentoo/var/tmp/portage/www-client/chromium-14.0.825.0/temp/environment:
11 line 6581:
12 MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;\nStartupWMClass=chromium-browser:
13 No such file or directory
14 sed: can't read
15 /var/tmp/gentoo/var/tmp/portage/www-client/chromium-14.0.825.0/image//usr/share/applications/*.desktop:
16 No such file or directory
17
18
19 I have to apply the following patch every time to it to make it work:
20
21 ---
22 /var/tmp/gentoo/usr/portage/www-client/chromium/chromium-14.0.825.0.ebuild
23 2011-07-20 10:32:48.000000000 +0100
24 +++
25 /var/tmp/gentoo/usr/local/portage/www-client/chromium/chromium-14.0.825.0.ebuild
26 2011-07-20 11:08:10.000000000 +0100
27 @@ -377,7 +377,7 @@
28 make_desktop_entry chromium-browser "Chromium" chromium-browser \
29 "Network;WebBrowser"
30 "MimeType=${mime_types}\nStartupWMClass=chromium-browser"
31 - sed -e "/^Exec/s/$/ %U/" -i
32 "${D}"/usr/share/applications/*.desktop || die
33 + sed -e "/^Exec/s/$/ %U/" -i
34 "${ED}"/usr/share/applications/*.desktop || die
35
36 # Install GNOME default application entry (bug #303100).
37 if use gnome; then
38
39
40 Excuse me for the line-wrapping.
41
42 I've already opened a ticket about this (
43 https://bugs.gentoo.org/show_bug.cgi?id=367651 ), can anyone tell me if
44 I'm doing something wrong to have to keep doing this?
45
46 Thanks
47
48 --
49 Regards,
50 Asfand Qazi
51 Team 87 HTGT
52 Wellcome Trust Sanger Institute
53
54
55 --
56 The Wellcome Trust Sanger Institute is operated by Genome Research
57 Limited, a charity registered in England with number 1021457 and a
58 company registered in England with number 2742969, whose registered
59 office is 215 Euston Road, London, NW1 2BE.

Replies