Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384773 - www-client/chromium: Finish unbundling expat
Summary: www-client/chromium: Finish unbundling expat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 12:05 UTC by Julien Sanchez
Modified: 2012-06-03 18:01 UTC (History)
0 users

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


Attachments
[PATCH] Include expat.h using relative path (chromium-expat-header.patch,1.07 KB, text/plain)
2011-09-28 12:05 UTC, Julien Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Sanchez archtester 2011-09-28 12:05:27 UTC
Created attachment 288075 [details]
[PATCH] Include expat.h using relative path

chromium-9999-r1 needs to patch chrome/browser/autofill/autofill_xml_parser.h to compile (expat.h relative path error).

I attached the patch that was previously used.

I know epatch_user is used in the ebuild but it is dev oriented. Explicitely using epatch with this patch will allow any Gentoo user to compile chromium-9999 out of the box.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-28 16:44:49 UTC
Please send this upstream. This is 9999, there is no point to patch this locally.
Comment 2 Mike Gilbert gentoo-dev 2011-09-29 02:20:21 UTC
The patch was just something I was testing in my overlay. The chromium-9999-r1 ebuild in gentoo-x86 should not require the patch since we do not remove the contents of third_party/expat.

Pawel indicated that it would be better to implement a shim header, and I just haven't gotten around to doing that.
Comment 3 Julien Sanchez archtester 2011-09-29 06:39:50 UTC
I understand, I close the issue. I thought the process was to patch first from ebuild 9999 then to send patch upstream if working and applicable. To me, using epatch instead of epatch_user was a mean to share patches and test them widely before removing them from ebuild when applied upstream.

Sometimes, I try to re-use the system libs and to remove bundled one, that was the reason of the failure here without the patch from Mike's overlay.

Paweł, I'm not sure if I'm able to send good patch upstream for now (but I will try). I'm just applying and trying trivial fixes (often already fixed in Mike's overlay)
Comment 4 Julien Sanchez archtester 2011-09-29 06:40:36 UTC
Reopen, I didn't see the issue title was changed.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-06-03 18:01:41 UTC
Fixed in tree. It turns out this expat #include is not even needed.