WinCE on WebKit.org vs github?

254 views
Skip to first unread message

Thomas Fletcher

unread,
Feb 14, 2012, 11:24:10 AM2/14/12
to wince...@googlegroups.com
I'm in the midst of re-working an older WinCE port that we had generated that was partially based on the Torch content but was highly customized.

I was under the impression that WinCE had more or less caught up to mainline and that the git repository was just a historical work area, but the WebKit WinCE page still refers to checking out from github.

Just wondering where things are at these days and where I should be focusing my initial re-port efforts.

Thanks,
 Thomas

Crank Software Inc.

Office: 613-595-1999

Mobile: 613-878-4659

Onlinewww.cranksoftware.com

Check outCrank Software’s Blog

 

There is a better way to build user interfaces for embedded devices.

Download a 30 day evaluation of Crank Storyboard Suite today

Patrick Gansterer

unread,
Feb 14, 2012, 12:25:49 PM2/14/12
to wince...@googlegroups.com
Hi,

On Tue, 14 Feb 2012 11:24:10 -0500, Thomas Fletcher wrote:
> I'm in the midst of re-working an older WinCE port that we had
> generated that was partially based on the Torch content but was
> highly
> customized.
>
> I was under the impression that WinCE had more or less caught up to
> mainline and that the git repository was just a historical work area,
> but the WebKit WinCE page still refers to checking out from github.
>
> Just wondering where things are at these days and where I should be
> focusing my initial re-port efforts.

I've done some work on gradient support in the gitorous repository,
which I never tried to upstream, since it's not cool enough. That's the
only difference between the two repositories.
The current trunk version depends on pthreads. I don't know the exact
state of the pthread support for WinCE, but it's not the best AFAIK.
But there is a path at [1], which removes the dependency.

So if you going to do any work I'd recommend using the current trunk.
Are you going to make your changes public?

- Patrick

[1] https://bugs.webkit.org/show_bug.cgi?id=68429

Thomas Fletcher

unread,
Feb 14, 2012, 12:37:33 PM2/14/12
to wince...@googlegroups.com

With any luck we'll push patches same as what we've done in the past.

We are working with a customer now who is quite interested in having the
content upstreamed where possible. The main challenge is that they are
also looking to unify as much as possible the Win32 and WinCE ports
without too many external dependencies.

Thanks,
Thomas

>--
>You received this message because you are subscribed to the Google Groups
>"Windows CE WebKit" group.
>To post to this group, send email to wince...@googlegroups.com.
>To unsubscribe from this group, send email to
>wincewebkit...@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/wincewebkit?hl=en.
>


Thomas Fletcher

unread,
Feb 23, 2012, 2:22:30 PM2/23/12
to wince...@googlegroups.com
Just a quick note that I started running from HEAD and the first thing I

encountered was a problem with an explicit pthread.h inclusion in
MachineStackMarker.h
that is the result of:
https://bugs.webkit.org/show_bug.cgi?id=68422


Note the first comment about this breaking WinCE here:
https://bugs.webkit.org/attachment.cgi?id=107960&action=review

So .. is a patch already in flight for this?

Thanks,
Thomas

Phil

unread,
Mar 9, 2012, 12:57:36 PM3/9/12
to Windows CE WebKit
On Feb 23, 7:22 pm, Thomas Fletcher <tho...@cranksoftware.com> wrote:
> Just a quick note that I started running from HEAD and the first thing I
>
> encountered was a problem with an explicit pthread.h inclusion in
> MachineStackMarker.h

Hi Thomas,

From this I presume you've managed to get the VS solutions created
correctly? I'm also trying to get WebKit build for WinCE but whenever
I try to build the trunk of the SVN I get the following error from
CMake:

CMake Error at JavaScriptCore/CMakeLists.txt:253 (GENERATE_HASH_LUT):
Unknown CMake command "GENERATE_HASH_LUT".

I've recompiled CMake and copied the necessary files as detailed in
http://trac.webkit.org/wiki/WinCE but only the git repository seems to
get past this phase.

Did you get this issue or did you do something different to the
instructions in the Wiki?

Thanks,

Phil

Thomas Fletcher

unread,
Mar 9, 2012, 2:04:31 PM3/9/12
to wince...@googlegroups.com
I didn't encounter this error, and I followed the directions on the site
very
specifically.

I am however pulling from git rather than SVN, but that should make no
difference.

Thomas

paroga

unread,
Mar 9, 2012, 2:09:18 PM3/9/12
to Windows CE WebKit
Hi Phil,

On Mar 9, 6:57 pm, Phil <p...@ikanosconsulting.com> wrote:
> On Feb 23, 7:22 pm, Thomas Fletcher <tho...@cranksoftware.com> wrote:
>
> > Just a quick note that I started running from HEAD and the first thing I
>
> > encountered was a problem with an explicit pthread.h inclusion in
> > MachineStackMarker.h
>
> Hi Thomas,
>
> From this I presume you've managed to get the VS solutions created
> correctly?  I'm also trying to get WebKit build for WinCE but whenever
> I try to build the trunk of the SVN I get the following error from
> CMake:
>
> CMake Error at JavaScriptCore/CMakeLists.txt:253 (GENERATE_HASH_LUT):
>   Unknown CMake command "GENERATE_HASH_LUT".

Seams your CMake build does not use the WebKitMacros.cmake file.
Did you do a clean new build from the _root_ WebKit (not Source) dir?
IIRC I get this kind of message when we moved the main CMakeLists.txt
file from Source to root. Removing the whole build directory and
running CMake again helped, since CMake remembers the source directory
of the first run.

> I've recompiled CMake and copied the necessary files as detailed inhttp://trac.webkit.org/wiki/WinCEbut only the git repository seems to
> get past this phase.
>
> Did you get this issue or did you do something different to the
> instructions in the Wiki?

Beside the pthread problem, the my buildbot at
http://build.webkit.org/builders/WinCE%20Release%20%28Build%29 shows
if a specific SVN revision builds. The buildbot uses Tools/Scripts/
build-webkit, but this is only a wrapper around the cmake command.

If if you have further problems: Please post the _full_ commands you
run (including the working directory) with the corresponding output.
Otherwise it's hard to give you a specific answer to your problem. ;-)

- Patrick

Phil

unread,
Mar 12, 2012, 6:45:28 AM3/12/12
to Windows CE WebKit


On Mar 9, 7:09 pm, paroga <par...@paroga.com> wrote:
> Hi Phil,
>
> On Mar 9, 6:57 pm, Phil <p...@ikanosconsulting.com> wrote:
>
>
>
>
>
> > On Feb 23, 7:22 pm, Thomas Fletcher <tho...@cranksoftware.com> wrote:
>
> > > Just a quick note that I started running from HEAD and the first thing I
>
> > > encountered was a problem with an explicit pthread.h inclusion in
> > > MachineStackMarker.h
>
> > Hi Thomas,
>
> > From this I presume you've managed to get the VS solutions created
> > correctly?  I'm also trying to get WebKit build for WinCE but whenever
> > I try to build the trunk of the SVN I get the following error from
> > CMake:
>
> > CMake Error at JavaScriptCore/CMakeLists.txt:253 (GENERATE_HASH_LUT):
> >   Unknown CMake command "GENERATE_HASH_LUT".
>
> Seams your CMake build does not use the WebKitMacros.cmake file.
> Did you do a clean new build from the _root_ WebKit (not Source) dir?
> IIRC I get this kind of message when we moved the main CMakeLists.txt
> file from Source to root. Removing the whole build directory and
> running CMake again helped, since CMake remembers the source directory
> of the first run.
>
> > I've recompiled CMake and copied the necessary files as detailed inhttp://trac.webkit.org/wiki/WinCEbutonly the git repository seems to
> > get past this phase.
>
> > Did you get this issue or did you do something different to the
> > instructions in the Wiki?
>
> Beside the pthread problem, the my buildbot athttp://build.webkit.org/builders/WinCE%20Release%20%28Build%29shows
> if a specific SVN revision builds. The buildbot uses Tools/Scripts/
> build-webkit, but this is only a wrapper around the cmake command.
>
> If if you have further problems: Please post the _full_ commands you
> run (including the working directory) with the corresponding output.
> Otherwise it's hard to give you a specific answer to your problem. ;-)
>
> - Patrick

Hi Patrick,

I've managed to get this to build now, I realised my mistake was in
the CMake command I was using to build the makefiles:

C:\CEWebKit\WebKitBuild\build>cmake -G "Visual Studio 8 2005" -
DCMAKE_WINCE_SDK="STANDARDSDK_500 (ARMV4I)" -DPORT=WinCE -
D3RDPARTY_DIR=/CEWebKit/WebKitBuild/webkit-thirdparty \CEWebKit
\WebKitBuild\WebKit\Source

Notice I added the \Source to the WebKit location - for whatever
reason this 'works' on the Git repository code but not on the SVN.
The correct command is:

C:\CEWebKit\WebKitBuild\build>cmake -G "Visual Studio 8 2005" -
DCMAKE_WINCE_SDK="STANDARDSDK_500 (ARMV4I)" -DPORT=WinCE -
D3RDPARTY_DIR=/CEWebKit/WebKitBuild/webkit-thirdparty \CEWebKit
\WebKitBuild\WebKit

I've found a few other issues along the way while I'll explain once
I've had a chance to test my instructions a few times to make sure
I've not missed anything.

Just out interest do you ignore the pthreads issue and just comment
out the code (as I have done to get it to build), are you using some
3rd party library to implement pthreads or do you have new code to
implement the class using the native API?

Thanks for the help so far.

Phil
Reply all
Reply to author
Forward
0 new messages