santhosh dhamodharan | 17 Jun 2013 08:13
Picon

need help to sole this error

hi

    iam following this script https://github.com/rkudiyarov/ClutterWebkit.git got errors at make  help me to solve this

on clutter webkit

  CXX    WebCore/svg/libwebkit_clutter_1_0_la-SVGZoomAndPan.lo
  CXX    WebCore/svg/libwebkit_clutter_1_0_la-SVGZoomEvent.lo
  CXX    WebCore/platform/libwebkit_clutter_1_0_la-ScrollAnimatorWin.lo
  CXX    WebCore/bindings/js/libwebkit_clutter_1_0_la-ScriptControllerClutter.lo
  CXX    WebCore/platform/text/libwebkit_clutter_1_0_la-TextCodecICU.lo
  CXX    WebCore/platform/text/libwebkit_clutter_1_0_la-TextBreakIteratorICU.lo
  CXX    WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontCacheFreeType.lo
  CXX    WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontCustomPlatformData.lo
  CXX    WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontPlatformDataFreeType.lo
  CXX    WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-GlyphPageTreeNodeCairo.lo
  CXX    WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-SimpleFontDataCairo.lo
  CXX    WebKit/clutter/webkit/libwebkit_clutter_1_0_la-webkitenumtypes.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-HashTable.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-MainThread.lo
In file included from ../../WebKit/clutter/webkit/webkitwebview.h:35,
                 from ././WebKit/clutter/webkit/webkitenumtypes.h:70,
                 from WebKit/clutter/webkit/webkitenumtypes.cpp:6:
../../WebKit/clutter/webkit/webkitactor.h:67:7: warning: no newline at end of file
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-MD5.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-PageAllocation.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-RandomNumber.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-RefCountedLeakCounter.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-TCSystemAlloc.lo
In file included from ../../JavaScriptCore/wtf/TCSystemAlloc.cpp:38:
../../JavaScriptCore/wtf/TCSpinLock.h:41:48: error: sched.h: No such file or directory
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-ThreadIdentifierDataPthreads.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-Threading.lo
  CXX    JavaScriptCore/wtf/libJavaScriptCore_la-ThreadingPthreads.lo
In file included from ../../JavaScriptCore/wtf/TCSystemAlloc.cpp:38:
../../JavaScriptCore/wtf/TCSpinLock.h: In function ‘void TCMalloc_SlowLock(volatile unsigned int*)’:
../../JavaScriptCore/wtf/TCSpinLock.h:138: error: ‘sched_yield’ was not declared in this scope
make[1]: *** [JavaScriptCore/wtf/libJavaScriptCore_la-TCSystemAlloc.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug'
make: *** [all] Error 2

Failed to build WebKit using 'make'!

then from here copied binaries and headers ftp://sourceware.org/pub/pthreads-win32/


gives error as

*** Warning: linker path does not have real file for library -lpthread.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpthread but no candidates were found. (…for file magic test)

*** Warning: linker path does not have real file for library -licuin.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libicuin and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a

*** Warning: linker path does not have real file for library -licuuc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libicuuc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug’
make: *** [all] Error 2

Failed to build WebKit using ‘make’!

<div><div dir="ltr"><div dir="ltr"><div dir="ltr">
<div>
<div>hi <br><br>&nbsp;&nbsp;&nbsp; iam following this script <a href="https://github.com/rkudiyarov/ClutterWebkit.git" target="_blank">https://github.com/rkudiyarov/ClutterWebkit.git</a> got errors at make&nbsp; help me to solve this<br><br>
</div>on clutter webkit <br><br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/svg/libwebkit_clutter_1_0_la-SVGZoomAndPan.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/svg/libwebkit_clutter_1_0_la-SVGZoomEvent.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/libwebkit_clutter_1_0_la-ScrollAnimatorWin.lo<br>

&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/bindings/js/libwebkit_clutter_1_0_la-ScriptControllerClutter.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/text/libwebkit_clutter_1_0_la-TextCodecICU.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/text/libwebkit_clutter_1_0_la-TextBreakIteratorICU.lo<br>

&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontCacheFreeType.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontCustomPlatformData.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontPlatformDataFreeType.lo<br>

&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-GlyphPageTreeNodeCairo.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-SimpleFontDataCairo.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; WebKit/clutter/webkit/libwebkit_clutter_1_0_la-webkitenumtypes.lo<br>

&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-HashTable.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-MainThread.lo<br>In file included from ../../WebKit/clutter/webkit/webkitwebview.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ././WebKit/clutter/webkit/webkitenumtypes.h:70,<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from WebKit/clutter/webkit/webkitenumtypes.cpp:6:<br>../../WebKit/clutter/webkit/webkitactor.h:67:7: warning: no newline at end of file<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-MD5.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-PageAllocation.lo<br>

&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-RandomNumber.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-RefCountedLeakCounter.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-TCSystemAlloc.lo<br>In file included from ../../JavaScriptCore/wtf/TCSystemAlloc.cpp:38:<br>

../../JavaScriptCore/wtf/TCSpinLock.h:41:48: error: sched.h: No such file or directory<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-ThreadIdentifierDataPthreads.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-Threading.lo<br>

&nbsp; CXX&nbsp;&nbsp;&nbsp; JavaScriptCore/wtf/libJavaScriptCore_la-ThreadingPthreads.lo<br>In file included from ../../JavaScriptCore/wtf/TCSystemAlloc.cpp:38:<br>../../JavaScriptCore/wtf/TCSpinLock.h: In function &lsquo;void TCMalloc_SlowLock(volatile unsigned int*)&rsquo;:<br>

../../JavaScriptCore/wtf/TCSpinLock.h:138: error: &lsquo;sched_yield&rsquo; was not declared in this scope<br>make[1]: *** [JavaScriptCore/wtf/libJavaScriptCore_la-TCSystemAlloc.lo] Error 1<br>make[1]: *** Waiting for unfinished jobs....<br>

make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug'<br>make: *** [all] Error 2<br><br>Failed to build WebKit using 'make'!<br><br>
</div>then from here copied binaries and headers <a href="ftp://sourceware.org/pub/pthreads-win32/" target="_blank">ftp://sourceware.org/pub/pthreads-win32/</a><br><br><br><p>gives error as 
</p>
<p>*** Warning: linker path does not have real file for library
-lpthread.<br>*** I have the capability to make that library
automatically link in when<br>*** you link to this library. But I can
only do this if you have a<br>*** shared version of the library,
which you do not appear to have<br>*** because I did check the linker
path looking for a file starting<br>*** with libpthread but no
candidates were found. (&hellip;for file magic test)</p>
<p>*** Warning: linker path does not have real file for library
-licuin.<br>*** I have the capability to make that library
automatically link in when<br>*** you link to this library. But I can
only do this if you have a<br>*** shared version of the library,
which you do not appear to have<br>*** because I did check the linker
path looking for a file starting<br>*** with libicuin and none of the
candidates passed a file format test<br>*** using a file magic. Last
file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a</p>
<p>*** Warning: linker path does not have real file for library
-licuuc.<br>*** I have the capability to make that library
automatically link in when<br>*** you link to this library. But I can
only do this if you have a<br>*** shared version of the library,
which you do not appear to have<br>*** because I did check the linker
path looking for a file starting<br>*** with libicuuc and none of the
candidates passed a file format test<br>*** using a file magic. Last
file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a<br>***
The inter-library dependencies that have been dropped here will
be<br>*** automatically added whenever a program is linked with this
library<br>*** or is declared to -dlopen it.</p>
<p>*** Since this library must not contain undefined symbols,<br>***
because either the platform does not support them or<br>*** it was
explicitly requested with -no-undefined,<br>*** libtool will only
create a static version of it.<br>make[1]: Leaving directory
`/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug&rsquo;<br>make:
*** [all] Error 2</p>
<p>Failed to build WebKit using &lsquo;make&rsquo;!</p>
</div></div></div></div>
Tim Gummer | 16 Jun 2013 06:52
Favicon
Gravatar

How to Separate Release and Nightly Safari Library Data Storage


I'm new to the list -  a joeblow drupal front end designer using nightlies for the great new dev tools.  

Apparently the release and nightly versions share the same library file settings: history, cookies, passwords etc
 
But i have a bunch of non work activity on my normal safari use, and I really don't want them crossing over - how can I maintain separate library data for the different versions?

--
one planet, one chance

<div><div dir="ltr">
<br>I'm new to the list - &nbsp;a joeblow drupal front end designer using nightlies for the great new dev tools. &nbsp;<br><br>Apparently the release and nightly versions share the same library file settings: history, cookies, passwords etc<br>

&nbsp;<br>But i have a bunch of non work activity on my normal safari use, and I really don't want them crossing over - how can I maintain separate library data for the different versions?<br><br>-- <br>one planet, one chance<br><br>
</div></div>
santhosh dhamodharan | 12 Jun 2013 10:50
Picon

help me to solve this error while make webkit clutter

make  all-am
make[1]: Entering directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug'
/bin/mkdir -p ./.deps/DerivedSources
  CXXLD  Programs/jsc.exe
  CCLD   Programs/minidom.exe
  CC     WebKitTools/ClutterLauncher/Programs_ClutterLauncher-main.o
  CXXLD  libwebkit-clutter-1.0.la
libtool: link: warning: `-no-install' is ignored for i586-pc-mingw32msvc
libtool: link: warning: assuming `-no-fast-install' instead
In file included from ../../WebKit/clutter/webkit/webkitwebview.h:35,
                 from ../../WebKit/clutter/webkit/webkit.h:38,
                 from ../../WebKitTools/ClutterLauncher/main.c:2:
../../WebKit/clutter/webkit/webkitactor.h:67:7: warning: no newline at end of file
../../WebKitTools/ClutterLauncher/main.c: In function ‘main’:
../../WebKitTools/ClutterLauncher/main.c:161: warning: unused variable ‘web_view_height_binding’
../../WebKitTools/ClutterLauncher/main.c:341:2: warning: no newline at end of file
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -licuin
collect2: ld returned 1 exit status
make[1]: *** [Programs/jsc.exe] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -licuin
collect2: ld returned 1 exit status
make[1]: *** [Programs/minidom.exe] Error 1

*** Warning: linker path does not have real file for library -lpthread.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpthread but no candidates were found. (...for file magic test)

*** Warning: linker path does not have real file for library -licuin.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libicuin and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a

*** Warning: linker path does not have real file for library -licuuc.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libicuuc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug'
make: *** [all] Error 2

Failed to build WebKit using 'make'!

<div><div dir="ltr">make&nbsp; all-am<br>make[1]: Entering directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug'<br>/bin/mkdir -p ./.deps/DerivedSources<br>&nbsp; CXXLD&nbsp; Programs/jsc.exe<br>&nbsp; CCLD&nbsp;&nbsp; Programs/minidom.exe<br>
&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp; WebKitTools/ClutterLauncher/Programs_ClutterLauncher-main.o<br>&nbsp; CXXLD&nbsp; <a href="http://libwebkit-clutter-1.0.la">libwebkit-clutter-1.0.la</a><br>libtool: link: warning: `-no-install' is ignored for i586-pc-mingw32msvc<br>
libtool: link: warning: assuming `-no-fast-install' instead<br>In file included from ../../WebKit/clutter/webkit/webkitwebview.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../WebKit/clutter/webkit/webkit.h:38,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../WebKitTools/ClutterLauncher/main.c:2:<br>
../../WebKit/clutter/webkit/webkitactor.h:67:7: warning: no newline at end of file<br>../../WebKitTools/ClutterLauncher/main.c: In function &lsquo;main&rsquo;:<br>../../WebKitTools/ClutterLauncher/main.c:161: warning: unused variable &lsquo;web_view_height_binding&rsquo;<br>
../../WebKitTools/ClutterLauncher/main.c:341:2: warning: no newline at end of file<br>/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -licuin<br>collect2: ld returned 1 exit status<br>
make[1]: *** [Programs/jsc.exe] Error 1<br>make[1]: *** Waiting for unfinished jobs....<br>/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: cannot find -licuin<br>collect2: ld returned 1 exit status<br>
make[1]: *** [Programs/minidom.exe] Error 1<br><br>*** Warning: linker path does not have real file for library -lpthread.<br>*** I have the capability to make that library automatically link in when<br>*** you link to this library.&nbsp; But I can only do this if you have a<br>
*** shared version of the library, which you do not appear to have<br>*** because I did check the linker path looking for a file starting<br>*** with libpthread but no candidates were found. (...for file magic test)<br><br>
*** Warning: linker path does not have real file for library -licuin.<br>*** I have the capability to make that library automatically link in when<br>*** you link to this library.&nbsp; But I can only do this if you have a<br>
*** shared version of the library, which you do not appear to have<br>*** because I did check the linker path looking for a file starting<br>*** with libicuin and none of the candidates passed a file format test<br>*** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a<br><br>*** Warning: linker path does not have real file for library -licuuc.<br>*** I have the capability to make that library automatically link in when<br>*** you link to this library.&nbsp; But I can only do this if you have a<br>
*** shared version of the library, which you do not appear to have<br>*** because I did check the linker path looking for a file starting<br>*** with libicuuc and none of the candidates passed a file format test<br>*** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a<br>
*** The inter-library dependencies that have been dropped here will be<br>*** automatically added whenever a program is linked with this library<br>*** or is declared to -dlopen it.<br><br>*** Since this library must not contain undefined symbols,<br>
*** because either the platform does not support them or<br>*** it was explicitly requested with -no-undefined,<br>*** libtool will only create a static version of it.<br>make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug'<br>
make: *** [all] Error 2<br><br>Failed to build WebKit using 'make'!<br><br>
</div></div>
anandlinux | 11 Jun 2013 18:34

getting current uri from webkitgtk

Hi Everyone,

I'm building a facebook app for which i need to authenticate a user. i'm making a linux based application using c. I needed a browser for authentication so using webkitgtk. Now here's my question. How to get current uri from webkitgtk?

for generating oauth access token i need to access a parameter "code" from url. later on i will require content of page shown by webkitgtk. Please let me know about them. So far i have tried following code but getting null

gchar* url_with_code; url_with_code=webkit_web_view_get_uri(WEBKIT_WEB_VIEW (web_view)); printf("\n-----------------------------------\n%s\n-----------------------------------\n",url_with_code);

o/p is

(null)

I know that webkit_web_view_get_uri will return null when webkitgtk is in progress. but how would i monitor its progress. i don't know how to use webkit_web_view_get_progress() to monitor progress. if i put it in while loop the application hangs.

Please post a solution or reference.

Regards,
Gaurav

<div>
    <div class="post-text" itemprop="description">
      <p>Hi Everyone,<br></p>
      <p>I'm building a facebook app for which i need to authenticate a
        user. i'm making a linux based application using c. I needed a
        browser for authentication so using webkitgtk. Now here's my
        question.
        How to get current uri from webkitgtk?</p>
      <p>for generating oauth access token i need to access a parameter
        "code" from url. later on i will require content of page shown
        by webkitgtk.
        Please let me know about them. So far i have tried following
        code but getting null</p>
      gchar* url_with_code;
    url_with_code=webkit_web_view_get_uri(WEBKIT_WEB_VIEW (web_view));
    printf("\n-----------------------------------\n%s\n-----------------------------------\n",url_with_code);

      <h2>o/p is</h2>
      <h2>(null)</h2>
      <p>I know that webkit_web_view_get_uri will return null when
        webkitgtk is in progress. but how would i monitor its progress.
        i don't know how to use webkit_web_view_get_progress() to
        monitor progress. if i put it in while loop the application
        hangs.</p>
      <p>Please post a solution or reference.<br></p>
      <p>Regards,<br>
        Gaurav<br></p>
    </div>
  </div>
Brian Barnes | 11 Jun 2013 17:16
Favicon

Re: JSC: Minimal MSVC build

First, let me apologize if I by mistake I sent a blank message to this 
list, got caught by a hot key.

Second: I've created a minimal build that doesn't use any of the ICU 
libraries.  It does assume some things about the scripts (especially 
that the code itself is ascii), but for those of us embedding, it's very 
helpful.  I'll list the changes below (this was a much older version of 
the engine r105480, BTW, I have not tried this on later code.)

====================
Compile changes:
====================

Set active configuration to Release_Cario_CFLite
For JavaScriptCore & WTF: Add to ignore warnings: 4396;4005;4396
For JavaScriptCore & WTF: turn off "treat warnings as errors"
For WTF: add UCONFIG_NO_COLLATION as preprocessor define

===================
Code changes:
===================

in WTF/Platform.h, change:

#if PLATFORM(WIN) && !OS(WINCE)
#define WTF_USE_CF 0
#define WTF_USE_PTHREADS 0
#endif

In JavaScriptCore/API: remove JSStringRefCF.cpp

in source\javascriptcore\parserKeywords.table
has two extra returns at the end, delete these or parser won't compile 
[might no longer be required]

In JavaScriptCore/JavaScriptCore.def
remove:
??0Collator <at> WTF <at>  <at> QAE <at> PBD <at> Z
??1Collator <at> WTF <at>  <at> QAE <at> XZ
?collate <at> Collator <at> WTF <at>  <at> QBE?AW4Result <at> 12 <at> PB_WI0I <at> Z
?setOrderLowerFirst <at> Collator <at> WTF <at>  <at> QAEX_N <at> Z

In WTF/Unicode/icu/UnicodeICU.h, add:

inline int win32_u_charType(UChar32 c)
{	
if (c==0x20) return(U_SPACE_SEPARATOR);
if ((c>='A') && (c<='Z')) return(U_UPPERCASE_LETTER);
if ((c>='a') && (c<='z')) return(U_LOWERCASE_LETTER);

if ((c>='0') && (c<='9')) return(U_DECIMAL_DIGIT_NUMBER);
return(U_UNASSIGNED);
}

In WTF/Unicode/icu/UnicodeICU.h, change these functions:

inline int toLower(UChar* result, int resultLength, const UChar* src, 
int srcLength, bool* error)
{
	int			idx;
	UChar		c;

	idx=0;

	while (true) {
		if (idx>=resultLength) break;
		if (idx>=srcLength) break;

		c=*src++;
		if (c==0x0) {
			*result=0x0;
			break;
		}
		
		if ((c>='A') && (c<='Z')) c+=(UChar)('a'-'A');
		*result++=c;

		idx++;
	}

	*error=FALSE;
	return(idx);
}

inline UChar32 toLower(UChar32 c)
{
	if ((c>='A') && (c<='Z')) return(c+(UChar)('a'-'A'));
	return(c);
}

inline UChar32 toUpper(UChar32 c)
{
	if ((c>='a') && (c<='z')) return(c+(UChar)('A'-'a'));
	return(c);
}

inline int toUpper(UChar* result, int resultLength, const UChar* src, 
int srcLength, bool* error)
{
	int			idx;
	UChar		c;

	idx=0;

	while (true) {
		if (idx>=resultLength) break;
		if (idx>=srcLength) break;

		c=*src++;
		if (c==0x0) {
			*result=0x0;
			break;
		}
		
		if ((c>='a') && (c<='z')) c+=(UChar)('A'-'a');
		*result++=c;

		idx++;
	}

	*error=FALSE;
	return(idx);
}

In JavaScriptCore/runtime, change this function:

static inline int localeCompare(const UString& a, const UString& b)
{
char		*s1,*s2;

s1=(char*)a.characters8();
s2=(char*)b.characters8();
for ( ; *s1 == *s2; s1++, s2++)
if (*s1 == '\0') return 0;
return ((*(unsigned char *)s1 < *(unsigned char *)s2) ? -1 : +1);
}

----------------------------------------------

That should create a minimal build without the ICU.  The latest build 
without the pthread library is something I can look into in the future. 
  That would create a build without any additional DLLs at all.  Note 
that this is all quick and dirty, and could be buggy.

Obviously, if this kind of stuff got into the code base, it'd be great 
for me, but I fully understand and expect that's an obvious no way, no 
how situation.  So let this be a FYI for anybody attempting a more 
minimal build for embedding.

[>] Brian
Brian Barnes | 11 Jun 2013 17:08
Favicon

Re: webkit-help Digest, Vol 48, Issue 3


On 6/10/2013 3:00 PM, webkit-help-request@... wrote:
> Send webkit-help mailing list submissions to
> 	webkit-help@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.webkit.org/mailman/listinfo/webkit-help
> or, via email, send a message with subject or body 'help' to
> 	webkit-help-request@...
>
> You can reach the person managing the list at
> 	webkit-help-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of webkit-help digest..."
>
>
> Today's Topics:
>
>     1. JSC: Minimal MSVC build (Brian Barnes)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 10 Jun 2013 11:37:18 -0400
> From: Brian Barnes <ggadwa@...>
> To: webkit-help@...
> Subject: [webkit-help] JSC: Minimal MSVC build
> Message-ID: <51B5F2AE.6080705@...>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
>
> I've been using JSC inside of my free opensource 3D engine dim3 for a
> while, but I've been having problems on the windows side.  The reason is
> the unicode DLLs.  There are missing dependencies and other MS C related
> DLLs that make it fail on many machines.
>
> Using the CFLite version, I have created a version that doesn't require
> the CF DLL (basically by just removing the JSStringRefCF.cpp and setting
> WTF_USE_CF to 0.)
>
> I've had a lot more trouble getting rid of the IBM unicode DLLs.  On my
> iOS build, setting UCONFIG_NO_COLLATION eliminates the need to link to
> these DLLs, so I know it doable, but I haven't had much luck on the
> win32 build.
>
> Neither with removing the need for the pthread library (which I suspect
> might become more difficult on later version as I'm not sure where the
> new worker threads spawning is done -- webkit or jsc.)
>
> I am getting back into working on this.  I am sticking to my much older
> vresion, r105480 and reworking my changes (I should have written this down!)
>
> My question is this.  In the later versions, has work been done anywhere
> to create a more minimal version?  I understand this would not be high
> priority for the webkit team, but a easy to compile MSVC version that
> did away with a lot of the extraneous DLLs would help a lot of us that
> are embedding the engine elsewhere.  A DLL that depended on nothing but
> itself would be great.
>
> [>] Brian
>
>
> ------------------------------
>
> _______________________________________________
> webkit-help mailing list
> webkit-help@...
> https://lists.webkit.org/mailman/listinfo/webkit-help
>
>
> End of webkit-help Digest, Vol 48, Issue 3
> ******************************************
>
Brian Barnes | 10 Jun 2013 17:37
Favicon

JSC: Minimal MSVC build

I've been using JSC inside of my free opensource 3D engine dim3 for a 
while, but I've been having problems on the windows side.  The reason is 
the unicode DLLs.  There are missing dependencies and other MS C related 
DLLs that make it fail on many machines.

Using the CFLite version, I have created a version that doesn't require 
the CF DLL (basically by just removing the JSStringRefCF.cpp and setting 
WTF_USE_CF to 0.)

I've had a lot more trouble getting rid of the IBM unicode DLLs.  On my 
iOS build, setting UCONFIG_NO_COLLATION eliminates the need to link to 
these DLLs, so I know it doable, but I haven't had much luck on the 
win32 build.

Neither with removing the need for the pthread library (which I suspect 
might become more difficult on later version as I'm not sure where the 
new worker threads spawning is done -- webkit or jsc.)

I am getting back into working on this.  I am sticking to my much older 
vresion, r105480 and reworking my changes (I should have written this down!)

My question is this.  In the later versions, has work been done anywhere 
to create a more minimal version?  I understand this would not be high 
priority for the webkit team, but a easy to compile MSVC version that 
did away with a lot of the extraneous DLLs would help a lot of us that 
are embedding the engine elsewhere.  A DLL that depended on nothing but 
itself would be great.

[>] Brian
Eric | 8 Jun 2013 18:58

Simple question from a newbie

Hello Wenkit folks!
 
I have a very simple yes or no question. I remember being able to get the browser pre-compiled fro Win7. Now I see that the download page only has the source. Am I missing something or do you not post ready to use versions any longer?
 
Thanks,
Eric
 
p.s. Please reply directly to me if possible.
<div>

 
  <div>
   Hello Wenkit folks!
  </div> 
  <div>
   &nbsp;
  </div> 
  <div>
   I have a very simple yes or no question. I remember being able to get the browser pre-compiled fro Win7. Now I see that the download page only has the source. Am I missing something or do you not post ready to use versions any longer?
  </div> 
  <div>
   &nbsp;
  </div> 
  <div>
   Thanks,
  </div> 
  <div>
   Eric
  </div> 
  <div>
   &nbsp;
  </div> 
  <div>
   p.s. Please reply directly to me if possible.
  </div>

</div>
聂琨琳 | 29 May 2013 08:15
Favicon

How to use webkit without GUI

Hi all:
      I am a student form China.I am trying to use webkit to parse the HTML with JavaScript.How could I start?
In short,I want develop a software.When I input a URL to the software it can output a  parsed HTML document(like use F12 in chrome).
Now I use Webkit--QT to implement the function.And could I just use Webkit?If so How could I start?
Thanks.


<div>
<div>Hi all:<div>&nbsp; &nbsp; &nbsp; I am a student form China.I am trying to use webkit to parse the HTML with JavaScript.How could I start?</div>
<div>
<span>In short,I want develop a software.When I input a URL to the software it can output a&nbsp;</span><span>&nbsp;</span><span>parsed HTML document(like use F12 in chrome).</span>
</div>
<div>
<span>Now I use Webkit--QT to implement the function.And could I just use Webkit?If so&nbsp;</span><span>How could I start?</span>
</div>
<div><span>Thanks.</span></div>
<div><span><br></span></div>
</div>
<br><span title="neteasefooter"><span></span></span>
</div>
Srinivasan A | 14 May 2013 14:01
Picon

Webkit-clutter error

hi,
I am building webkit for clfs(cross linux from scratch) x86 architecture.While configuring i faced no problem.But when i run make command i am getting the error


.In file included from /usr/include/cogl/cogl-gles2.h:49:0,
                 from ../Source/WebCore/platform/graphics/clutter/GraphicsContext3DPrivate.h:29,
                 from ../Source/WebCore/platform/graphics/OpenGLShims.h:35,
                 from ../Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:33:
/usr/include/cogl/cogl-gles2-types.h:38:26: error: conflicting declaration 'typedef intptr_t GLintptr'
../Source/ThirdParty/ANGLE/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr'
make[1]: *** [Source/WebCore/platform/graphics/opengl/libWebCore_la-Extensions3DOpenGLES.lo] Error 1
make[1]: Leaving directory `/sources/webkit-clutter/build'
make: *** [all] Error 2

Please guide me to sort out the error.






<div><div dir="ltr">
<div>
<div>hi,<br>
</div>I am building webkit for clfs(cross linux from scratch) x86 architecture.While configuring i faced no problem.But when i run make command i am getting the error<br><br><br>.In file included from /usr/include/cogl/cogl-gles2.h:49:0,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../Source/WebCore/platform/graphics/clutter/GraphicsContext3DPrivate.h:29,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../Source/WebCore/platform/graphics/OpenGLShims.h:35,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.cpp:33:<br>
/usr/include/cogl/cogl-gles2-types.h:38:26: error: conflicting declaration 'typedef intptr_t GLintptr'<br>../Source/ThirdParty/ANGLE/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr'<br>
make[1]: *** [Source/WebCore/platform/graphics/opengl/libWebCore_la-Extensions3DOpenGLES.lo] Error 1<br>make[1]: Leaving directory `/sources/webkit-clutter/build'<br>make: *** [all] Error 2<br><br>
</div>
<div>Please guide me to sort out the error.<br><br><br>
</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><div><br></div></div>
</div></div>
Aga, Azhar Ahmed | 14 May 2013 09:48
Picon

Help on loading a youTube - Tv (on ARM v6)

Hi All,

  I am unable to load the http://www.youtube.com/tv on a target device.

(error Log suggests ‘undefined’ invocation). JIT is enabled.

 

Now when in JSC (Squirrel Fish Extreme), I disable JIT and rely only on the LLINT (C Loop) I am able to render the above page.

On x86 version of the browser also I am able to load the above mentioned page.

 

The details of the target device are as below

 

Processor       : ARMv6-compatible processor rev 7 (v6l)

Features        : swp half thumb fastmult vfp edsp java

CPU implementer : 0x41

CPU architecture: 7

CPU variant     : 0x0

CPU part        : 0xb76

CPU revision    : 7

Webkit Nightly Version: r-149577

 

It appears there is a timing or sequencing issue. Is there anything extra config settings to be done for my target device.

 

Thanks and With Regards

Azhar


The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
<div>
<div class="WordSection1">
<p class="MsoNormal"><span>Hi All,</span></p>
<p class="MsoNormal"><span>&nbsp; I am unable to load the
<a href="http://www.youtube.com/tv">http://www.youtube.com/tv</a> on a target device.
</span></p>
<p class="MsoNormal"><span>(error Log suggests &lsquo;undefined&rsquo; invocation). JIT is enabled.</span></p>
<p class="MsoNormal"><span>&nbsp;</span></p>
<p class="MsoNormal"><span>Now when in JSC (Squirrel Fish Extreme), I disable JIT and rely only on the LLINT (C Loop) I am able to render the above page.
</span></p>
<p class="MsoNormal"><span>On x86 version of the browser also I am able to load the above mentioned page.
</span></p>
<p class="MsoNormal"><span>&nbsp;</span></p>
<p class="MsoNormal"><span>The details of the target device are as below</span></p>
<p class="MsoNormal"><span>&nbsp;</span></p>
<p class="MsoNormal"><span>Processor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : ARMv6-compatible processor rev 7 (v6l)</span></p>
<p class="MsoNormal"><span>Features&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : swp half thumb fastmult vfp edsp java</span></p>
<p class="MsoNormal"><span>CPU implementer : 0x41</span></p>
<p class="MsoNormal"><span>CPU architecture: 7</span></p>
<p class="MsoNormal"><span>CPU variant&nbsp;&nbsp;&nbsp;&nbsp; : 0x0</span></p>
<p class="MsoNormal"><span>CPU part&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0xb76</span></p>
<p class="MsoNormal"><span>CPU revision&nbsp;&nbsp;&nbsp; : 7</span></p>
<p class="MsoNormal"><span>Webkit Nightly Version: r-149577</span></p>
<p class="MsoNormal"><span>&nbsp;</span></p>
<p class="MsoNormal"><span>It appears there is a timing or sequencing issue. Is there anything extra config settings to be done for my target device.
</span></p>
<p class="MsoNormal"><span>&nbsp;</span></p>
<p class="MsoNormal"><span>Thanks and With Regards</span></p>
<p class="MsoNormal"><span>Azhar</span></p>
<p class="MsoNormal"><span></span></p>
</div>
<br>The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified
 that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.<br>
</div>

Gmane