Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431884 - Cross-compile fixes for www-client/netsurf (and dependencies)
Summary: Cross-compile fixes for www-client/netsurf (and dependencies)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL: http://www.netsurf-browser.org
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-08-18 17:37 UTC by James Le Cuirot
Modified: 2013-02-28 08:15 UTC (History)
0 users

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


Attachments
netsurf-cross-compile.patch (netsurf-cross-compile.patch,3.66 KB, patch)
2012-08-18 17:37 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2012-08-18 17:37:23 UTC
Created attachment 321648 [details, diff]
netsurf-cross-compile.patch

I have found that NetSurf and some of its dependencies fail to cross-compile despite earlier measures to address this. I am attaching a patch that fixes all of these issues. I thought it would be easiest to tackle them all in one go, especially since most of them simply involve writing to Makefile.config instead of Makefile.config.override. The latter doesn't seem to be used any more.

For dev-libs/libcss, the build-time-only binary gen_parser was being built by HOST_CC. I have replaced this with tc-getBUILD_CC.

For NetSurf itself, it was calling xml2-config instead of using pkg-config. I'm not sure why because they used pkg-config for everything else.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-11-11 21:23:39 UTC
+  11 Nov 2012; Michael Weber <xmw@gentoo.org> libcss-0.1.2.ebuild:
+  Cross compile fix (bug 431884, James Le Cuirot)
Comment 2 Michael Weber (RETIRED) gentoo-dev 2013-02-27 08:01:08 UTC
+  27 Feb 2013; Michael Weber <xmw@gentoo.org> libnsfb-0.0.2.ebuild,
+  +files/libnsfb-0.0.2-autodetect.patch, libnsfb-9999.ebuild:
+  Add use flags sdl, vnx, xcb (thanks a.m@freemail.hu, bug 458978). Restore
+  cross-compile functionality (thanks James Le Cuirot, bug 431884)
+
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-02-27 08:18:12 UTC
+  27 Feb 2013; Michael Weber <xmw@gentoo.org> libwapcaplet-0.1.1.ebuild:
+  Restore cross-compile functionality (thanks James Le Cuirot, bug 431884)
Comment 4 Michael Weber (RETIRED) gentoo-dev 2013-02-27 08:54:09 UTC
+  27 Feb 2013; Michael Weber <xmw@gentoo.org> libparserutils-0.1.1.ebuild:
+  netsurf eclass preparation. Restore cross-compile functionality (thanks James
+  Le Cuirot, bug 431884)
+
Comment 5 Michael Weber (RETIRED) gentoo-dev 2013-02-28 07:45:35 UTC
+  28 Feb 2013; Michael Weber <xmw@gentoo.org> libnsgif-0.0.3.ebuild:
+  netsurf eclass preparation. Restore cross-compile functionality (thanks James
+  Le Cuirot, bug 431884)
Comment 6 Michael Weber (RETIRED) gentoo-dev 2013-02-28 08:15:00 UTC
+  28 Feb 2013; Michael Weber <xmw@gentoo.org> netsurf-2.9.ebuild:
+  Restore cross-compile functionality (thanks James Le Cuirot, bug 431884)
+