[webkit-dev] How did Apple build libicucore.dylib?
(I tried webkit-help but didn't get any responses, so I thought maybe this list might be more appropriate for this question. Sorry for the duplicate if otherwise.) I am attempting to build JavaScriptCore for my own embedded application use. I noticed that Mac and iOS JavaScriptCore have a dependency on a library called libicucore. When I build ICU myself from the , I get a handful of different icu libraries, but nothing named core. While I can get a working JavaScriptCore built against my ICU libraries (I need icuuc, icui18n, and icudata), my final binary size is huge due to the ICU libraries I link in. I tried statically linking my icu libraries, but the smallest my binary gets is about 30MB per architecture. When I dynamically link ICU, I can tell that the major contribution of the bloat is due to the ICU libraries. Looking at Apple's icucore binary, it is about 6.5MB for 3 architectures which is tiny compared to my 3 icu libraries. I'm speculating that Apple ripped out all the stuff they don't need and merged in all the parts they do need into the single libicucore. Can somebody confirm this is what Apple did, and can somebody tell me how I can reproduce that? (I did try downloading Apple's 10.9 source for ICU from MacOSForge, but it built the normal ICU stuff and not libicucore, nor did I notice any special build options.) Thanks, Eric -- Beginning iPhone Games Development http://playcontrol.net/iphonegamebook/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] Status of the Blackberry port
My apologies for the late response. We haven't been able to commit the effort needed to actively maintain our port upstream, so in the interest of unburdening the project we'll support the removal. If anyone wants our downstream code, it's available at the BlackBerry GitHub page: BBOS: https://github.com/blackberry/WebKit-Smartphone PlayBook: https://github.com/blackberry/WebKit-PlayBook BlackBerry 10: https://github.com/blackberry/WebKit-BB10 Eli Fidler -Original Message- From: Sam Weinig [mailto:wei...@apple.com] Sent: January-04-14 2:21 PM To: Eli Fidler; webkit-dev@lists.webkit.org Development Cc: Anders Carlsson Subject: Re: [webkit-dev] Status of the Blackberry port There hasn't been a response to this question in many months and as far as I can tell, no additional activity in the BlackBerry port. Is anyone from BlackBerry still interested in maintaining the port? If not, I think we should remove it from the tree. - Sam On Oct 13, 2013, at 12:01 PM, Anders Carlsson ander...@apple.com wrote: Hi Eli, I'm not sure what still being maintained means. Looking in WebKit/blackberry, I see 9 changes from BlackBerry people since July and 24 changes from non-BlackBerry people. I'm also not sure that what's in the WebKit repository even builds (which makes it really frustrating to make changes that touch BlackBerry code). Looking forward to an update, - Anders On Oct 7, 2013, at 7:04 AM, Eli Fidler efid...@blackberry.com wrote: Yes, it's still being maintained by the folks here at BlackBerry. Eli On 13-10-05 7:12 PM, Sam Weinig wei...@apple.com wrote: Hello, Can anyone comment on the status of the Blackberry port? Is it still being maintained? -Sam ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev - This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev - This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] How did Apple build libicucore.dylib?
On Jan 10, 2014, at 1:45 PM, Eric Wing ewmail...@gmail.com wrote: (I tried webkit-help but didn't get any responses, so I thought maybe this list might be more appropriate for this question. Sorry for the duplicate if otherwise.) I am attempting to build JavaScriptCore for my own embedded application use. I noticed that Mac and iOS JavaScriptCore have a dependency on a library called libicucore. When I build ICU myself from the , I get a handful of different icu libraries, but nothing named core”. Hi Eric, the version of the source code shipped on OS X is available from http://www.opensource.apple.com/source/ICU/ICU-511.25/ so you can see how it’s done there. Hope this helps, - Anders ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] How did Apple build libicucore.dylib?
While I don’t know the answer to the question you asked, http://userguide.icu-project.org/icufaq#TOC-How-can-I-reduce-the-size-of-the-ICU-data-library- answers what might be the real question. Not sure it’s important to replicate exactly what Apple did. — Darin ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] How did Apple build libicucore.dylib?
On 1/10/14, Anders Carlsson ander...@apple.com wrote: On Jan 10, 2014, at 1:45 PM, Eric Wing ewmail...@gmail.com wrote: (I tried webkit-help but didn't get any responses, so I thought maybe this list might be more appropriate for this question. Sorry for the duplicate if otherwise.) I am attempting to build JavaScriptCore for my own embedded application use. I noticed that Mac and iOS JavaScriptCore have a dependency on a library called libicucore. When I build ICU myself from the , I get a handful of different icu libraries, but nothing named core”. Hi Eric, the version of the source code shipped on OS X is available from http://www.opensource.apple.com/source/ICU/ICU-511.25/ so you can see how it’s done there. Hope this helps, - Anders Thank you for the response. I missed the (lower-case) makefile in the root the first time around. (I went directly to the icuSources and was running grep from there.) I see that this makefile contains icucore customizations. So I'm currently trying to figure out how to actually build it. There is an additional dependency on http://www.iana.org/time-zones for stuff. At every build step, I seem to be fighting something not found, so I think I'm missing some setup detail. First, it couldn't find the the /usr/local/share/tz directory. I created it and put tzdata-latest.tar.gz and tzcode-latest.tar.gz in there. Then it complained it couldn't find latest_tzdata.tar.gz (notice the file name is flipped around) and I figured out it actually has to be a symlink to tzdata-latest.tar.gz. Then it couldn't find yearistype.sh, so I manually copied it to the place it was looking. Now I'm currently at ../../bin/zic: Can't open africa: No such file or directory So I think I'm missing some setup step. Perhaps something related to $(SDKROOTMOD)? Anyway, if anybody has some additional info on how to build it, I would greatly appreciate it. Thanks, Eric -- Beginning iPhone Games Development http://playcontrol.net/iphonegamebook/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] How did Apple build libicucore.dylib?
On 1/10/14, Darin Adler da...@apple.com wrote: While I don’t know the answer to the question you asked, http://userguide.icu-project.org/icufaq#TOC-How-can-I-reduce-the-size-of-the-ICU-data-library- answers what might be the real question. Not sure it’s important to replicate exactly what Apple did. — Darin Thanks for the valuable info. I'll start researching that too. I would like to see if I can reproduce Apple's just so I have a baseline reference (I've written a test262 conformance standalone app for Mac+JSCore and am using it as my baseline comparison as I do my work to make sure I'm not subtly breaking things). But not needing to actually port and maintain all these customizations would be useful to me in the end. Thanks, Eric -- Beginning iPhone Games Development http://playcontrol.net/iphonegamebook/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev