Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367651 - Compiling www-client/chromium-13.0.761.0 on Gentoo Prefix
Summary: Compiling www-client/chromium-13.0.761.0 on Gentoo Prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 09:20 UTC by Asfand Yar Qazi
Modified: 2011-07-20 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (patch,870 bytes, patch)
2011-05-17 09:21 UTC, Asfand Yar Qazi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Asfand Yar Qazi 2011-05-17 09:20:18 UTC
I can confirm that I got www-client/chromium-13.0.761.0 to build.

I build v8 after fixing the SCONS path issue using my patch from: http://bugs.gentoo.org/show_bug.cgi?id=361061

Then I had to ecopy across libwebp.

Then I had to apply the given patch to the ebuild:

--- chromium-13.0.761.0.ebuild.old  2011-05-13 11:20:21.000000000 +0100
+++ chromium-13.0.761.0.ebuild    2011-05-16 17:57:59.000000000 +0100
@@ -34,7 +34,6 @@
        >=media-libs/libwebp-0.1.2
        media-libs/speex
        cups? ( >=net-print/cups-1.3.11 )
-       sys-libs/pam
        sys-libs/zlib
        >=virtual/ffmpeg-0.6.90[threads]
        x11-libs/gtk+:2
@@ -316,7 +315,7 @@
        mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
        make_desktop_entry chromium-browser "Chromium" chromium-browser \
                "Network;WebBrowser" "MimeType=${mime_types}"
-       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


Then I edited the package.keywords file (please let me know if there is a better way to do this):
www-client/chromium **


I may have missed something, but I think that is all that was required to make it work.
Comment 1 Asfand Yar Qazi 2011-05-17 09:21:55 UTC
Created attachment 273593 [details, diff]
ebuild patch
Comment 2 Asfand Yar Qazi 2011-05-17 09:22:23 UTC
Pasting patch into comments screwed up, attached instead
Comment 3 Asfand Yar Qazi 2011-05-26 14:08:22 UTC
chromium-13.0.772.0 does not work either.

The pam requirement is gone, but the change to the sed statement still uses ${D} instead of ${ED} which still breaks on installation.
Comment 4 Fabian Groffen gentoo-dev 2011-07-20 12:02:39 UTC
yes, thanks, I just committed the fix