[webkit-dev] Installing Webkit dependencies

2008-02-12 Thread sval

Hi all,

Am installing webkit on fedora core 5 and  i needed to know from where to
get the
dependencies specific to Fedora Core 5 platform..

Search results only give me debian packages...

the following are the dependencies
libicu-dev 
libxslt-dev 
libcurl-dev 
libsqlite3-dev 
libjpeg62-dev 
libpng12-dev 
gperf 
bison 
flex version 2.5.33 or 

Regards,
sval
-- 
View this message in context: 
http://www.nabble.com/Installing-Webkit-dependencies-tp15430053p15430053.html
Sent from the Webkit mailing list archive at Nabble.com.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Re: Installing Webkit dependencies

2008-02-12 Thread Alp Toker

sval wrote:

Hi all,

Am installing webkit on fedora core 5 and  i needed to know from where to
get the
dependencies specific to Fedora Core 5 platform..

Search results only give me debian packages...

the following are the dependencies
libicu-dev 
libxslt-dev 
libcurl-dev 
libsqlite3-dev 
libjpeg62-dev 
libpng12-dev 
gperf 
bison 
flex version 2.5.33 or 


These are fairly standard build dependencies (not specific to WebKit) 
and should be shipped with the distribution. The package names in Fedora 
are usually similar to those in Debian.


If still in doubt, better to ask on a Fedora support mailing list.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Re: Qt's default webkit user agent

2008-02-12 Thread Alp Toker

Benjamin Meyer wrote:

As it is today Qt's default user agent (in qwebpage.cpp) is hard coded to:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/523.15 (KHTML, 
like Gecko) Safari/419.3 Qt


Seeing as this library will be used inside of many other applications it makes 
sense to include by default at least the application name/version when they 
are set.  QCoreApplication gives us several strings which can be used.


applicationName, applicationVersion, organizationDomain, organizationName

But at a bigger question, what should be included (or not included) with the 
default user agent?  Is there docs anywhere that suggest what webkit library 
users should use as their user agent string?


We did some research for the GTK+ port and tried to integrate the most 
important UA string compatibility hacks without making the string too 
ugly. The code in WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp 
documents each UA string element with comments. It's fairly general and 
is intended to be moved down into WebCore.


If you decide to use this code, please submit any fixes through the bug 
tracker. Hope it helps.


(It's disappointing to see the growing number of WebCore changes in Qt's 
git tree that could benefit the whole project. Are you planning to 
submit these changes for review?)

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Re: Qt's default webkit user agent

2008-02-12 Thread Lars Knoll
On Tuesday 12 February 2008, Alp Toker wrote:
 (It's disappointing to see the growing number of WebCore changes in Qt's
 git tree that could benefit the whole project. Are you planning to
 submit these changes for review?)

All of our changes are supposed to go into trunk. This is not always happening 
immediately unfortunately, but we currently have merged all changes until two 
weeks ago into trunk. So saying the number of changes in our tree is growing 
is IMO not really correcy. We're currently trying to get our Qt 4.4 beta out, 
and are therefore a bit slow with merging and submitting our changes.

But one large change we did (fixing a crash with navigator.plugins and 
autogenerating the bindings) is now hanging in the review queue for almost 4 
weeks. We currently can't afford to wait that long for some fixes to go in. 
Most of us can't hang our on IRC late every evening neither which seems to be 
often a requirement to push things forward.

As I said earlier, we don't like working outside svn, but with having a 
deadline to release a product and with WebKit trunk currently moving ahead 
and implementing new features we didn't really have a choice. 

Lars
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Qt's default webkit user agent

2008-02-12 Thread Oliver Hunt
You have to be careful when changing the UA as there are sites that do  
the most absurd checks.


For example including applicationVersion could easily trigger WebKit  
to be detected as another
(probably much older) browser -- i believe it is necessary to avoid  
ever having the string 4. in the
UA for example as there are used to be) sites that assume that  
indexOf(4.) != -1 means the your
browser is netscape 4 and supports the layers extension, eg. as done  
at http://www.sloppycode.net/code-snippets/javascript/web-safe-palette.aspx

(This page works unless there's a 4 in the UA version)

So at the very least i would be careful about including version info,  
you also can't remove
Mozilla/5.0, WebKit, KHTML, Gecko, or Safari because people look for  
those substrings
(Mozilla/5.0 means you're not IE -- although there's also a more  
modern version
where Firefox means not IE and that breaks at least one site i know  
of and use *grumble*)


All in all i'll just reiterate that changes to the UA flags are  
*dangerous* and can easily cause sites to

break

--Oliver

On Feb 12, 2008, at 1:38 AM, Benjamin Meyer wrote:

As it is today Qt's default user agent (in qwebpage.cpp) is hard  
coded to:


Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/523.15  
(KHTML,

like Gecko) Safari/419.3 Qt

Seeing as this library will be used inside of many other  
applications it makes
sense to include by default at least the application name/version  
when they

are set.  QCoreApplication gives us several strings which can be used.

applicationName, applicationVersion, organizationDomain,  
organizationName


But at a bigger question, what should be included (or not included)  
with the
default user agent?  Is there docs anywhere that suggest what webkit  
library

users should use as their user agent string?

-Benjamin Meyer
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Issues with font rendering on DirectFB build

2008-02-12 Thread Sriram Neelakandan
Hi Mike,

Even I found the same problem. tiny fonts on the FB screen !

I added some prints and noticed that the fontDescription.computedSize() was
1.0 for some reason. !!

so i added the following lines in the constructor of
WebCore/platfrom/graphics/gtk/FontPlatformDataGtk.cpp

*** FontPlatformDataGtk.cpp.org 2008-02-05 13:59:50.0 +0530
--- FontPlatformDataGtk.cpp 2008-02-12 16:29:20.0 +0530
*** FontPlatformData::FontPlatformData(const
*** 47,56 
--- 47,64 
  int fcslant = FC_SLANT_ROMAN;
  int fcweight = FC_WEIGHT_NORMAL;
  float fcsize = fontDescription.computedSize();
+ if(fontDescription.computedSize() == 1.0)
+ {
+ /*fontDescription.setComputedSize(16.0);*/
+ m_fontDescription.setComputedSize(16.0);
+ fcsize = 16.0;
+ }
+
  if (fontDescription.italic())
  fcslant = FC_SLANT_ITALIC;
  if (fontDescription.bold())
  fcweight = FC_WEIGHT_BOLD;

This has temporarily fixed the problem.

I donot know the cause why the fontsize is computed as 1.0 !!

-- 
Sriram Neelakandan
Author - Embedded Linux System Design And Development (
http://tinyurl.com/2doosu)

On Feb 13, 2008 9:32 AM, Mike Emmel [EMAIL PROTECTED] wrote:

 Hi Rachel just got my directfb build working on the latest head.

 What I'm seeing is that fonts are scaled down to thin lines. And other
 scaling issues.

 I'm assuming this is what you may be seeing.

 This is only under the directfb/gtk build not the webkit one.
 Also I looked over my changes and they are related mainly to not having
 X11
 installed at all you probably can build without them but you would
 crash eventually
 in a few places.

 On Feb 11, 2008 3:43 AM, Rachel Bassett [EMAIL PROTECTED]
 wrote:
  Thanks for the responses, however I don't think it is
  the same. Looking at the google homepage image (on the
  link you sent), the text Web Images News etc
  appears, as well as the blue highlighted links to the
  right and below the search box. I don't get any of
  that - just images, the search box and the buttons.
 
  I naively thought that if I could run gtk-demo
  successfully and see all the fonts it displays, then I
  assumed I had correctly built everything needed. I
  have also checked my config.log files for both pango
  and cairo and they indeed show I have built cairo for
  directfb and pango for cairo. I had initial problems
  with gtk-demo not displaying fonts, but that was a
  pango problem and now solved.
 
  So I assuming WebKit does something slightly different
  but as yet I don't understand what.
 
  My current thoughts are that its possibly path related
  - I'm working through the output from strace to check
  the differences between running WebKit native on a
  Linux PC and WebKit cross compiled on my mips
  hardware.
 
  Do I need a gtkrc to point at where fonts / styles
  are?
 
  Many thanks
  Rachel
 
 
  --- Srinivas Rao M Hamse [EMAIL PROTECTED] wrote:
 
   I am posting the same question to everybody on the
   list. Any updates on this
   ?
   regards,
   Srinivas Rao. M
  
  
  
  
  
   On Feb 11, 2008 10:08 AM, Sriram Neelakandan
   [EMAIL PROTECTED]
   wrote:
  
Hi
   
Are u seeing problems similar to this :
   
http://msrinirao.blogspot.com/search/label/webkit
   
If u notice closely the pictures attached have
   tiny fonts.
   
Have u found a solution to your problem ?
Just wondering if both of you could be seeing the
   same problem.
   
regards
Sriram
   
   
   
On Feb 8, 2008 8:07 PM, Rachel Bassett
   [EMAIL PROTECTED] wrote:
   
 Hi,

 I'm working on a cross compiled build using
   DirectFB,
 gtk+, WebKit build too, however I get no fonts
   at all!
 I get images, buttons, etc but no text. I've
   tested
 gtk+ with gtk-demo and fonts appear correctly
   there,
 I've rebuilt my fontconfig cache and checked
   (using
 strace) all the font files get found and opened
   as
 expected, however I see no text.

 Any hints welcome.

 Thanks
 Rachel




  
  ___
 Yahoo! Answers - Got a question? Someone out
   there knows the answer. Try
 it
 now.
 http://uk.answers.yahoo.com/
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org

   http://lists.webkit.org/mailman/listinfo/webkit-dev

   
   
   
--
Sriram Neelakandan
Author - Embedded Linux System Design And
   Development (
http://tinyurl.com/2doosu)
  
  
  
  
   --
   Srinivas Rao M  Hamse
  
 
 
 
__
  Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
 

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Issues with font rendering on DirectFB build

2008-02-12 Thread Mike Emmel
Hmm this is a fontconfig issue looks like.

I'll trace it for a bit weird that its only in the directfb build same
fontconfig for X11.
Thanks for the work around.

On Feb 12, 2008 8:32 PM, Sriram Neelakandan
[EMAIL PROTECTED] wrote:
 Hi Mike,

 Even I found the same problem. tiny fonts on the FB screen !

 I added some prints and noticed that the fontDescription.computedSize() was
 1.0 for some reason. !!

 so i added the following lines in the constructor of
  WebCore/platfrom/graphics/gtk/FontPlatformDataGtk.cpp

 *** FontPlatformDataGtk.cpp.org 2008-02-05 13:59:50.0 +0530
  --- FontPlatformDataGtk.cpp 2008-02-12 16:29:20.0 +0530
  *** FontPlatformData::FontPlatformData(const
  *** 47,56 
  --- 47,64 
int fcslant = FC_SLANT_ROMAN;
int fcweight = FC_WEIGHT_NORMAL;
float fcsize = fontDescription.computedSize();
  + if(fontDescription.computedSize() == 1.0)
  + {
  + /*fontDescription.setComputedSize(16.0);*/
  + m_fontDescription.setComputedSize(16.0);
  + fcsize = 16.0;
  + }
  +
if (fontDescription.italic())
fcslant = FC_SLANT_ITALIC;
if (fontDescription.bold())
fcweight = FC_WEIGHT_BOLD;

 This has temporarily fixed the problem.

  I donot know the cause why the fontsize is computed as 1.0 !!

  --

 Sriram Neelakandan
 Author - Embedded Linux System Design And Development
 (http://tinyurl.com/2doosu)



 On Feb 13, 2008 9:32 AM, Mike Emmel [EMAIL PROTECTED] wrote:
  Hi Rachel just got my directfb build working on the latest head.
 
  What I'm seeing is that fonts are scaled down to thin lines. And other
  scaling issues.
 
  I'm assuming this is what you may be seeing.
 
  This is only under the directfb/gtk build not the webkit one.
  Also I looked over my changes and they are related mainly to not having
 X11
  installed at all you probably can build without them but you would
  crash eventually
  in a few places.
 
 
 
 
  On Feb 11, 2008 3:43 AM, Rachel Bassett [EMAIL PROTECTED]
 wrote:
   Thanks for the responses, however I don't think it is
   the same. Looking at the google homepage image (on the
   link you sent), the text Web Images News etc
   appears, as well as the blue highlighted links to the
   right and below the search box. I don't get any of
   that - just images, the search box and the buttons.
  
   I naively thought that if I could run gtk-demo
   successfully and see all the fonts it displays, then I
   assumed I had correctly built everything needed. I
   have also checked my config.log files for both pango
   and cairo and they indeed show I have built cairo for
   directfb and pango for cairo. I had initial problems
   with gtk-demo not displaying fonts, but that was a
   pango problem and now solved.
  
   So I assuming WebKit does something slightly different
   but as yet I don't understand what.
  
   My current thoughts are that its possibly path related
   - I'm working through the output from strace to check
   the differences between running WebKit native on a
   Linux PC and WebKit cross compiled on my mips
   hardware.
  
   Do I need a gtkrc to point at where fonts / styles
   are?
  
   Many thanks
   Rachel
  
  
   --- Srinivas Rao M Hamse [EMAIL PROTECTED] wrote:
  
I am posting the same question to everybody on the
list. Any updates on this
?
regards,
Srinivas Rao. M
   
   
   
   
   
On Feb 11, 2008 10:08 AM, Sriram Neelakandan
[EMAIL PROTECTED]
wrote:
   
 Hi

 Are u seeing problems similar to this :

 http://msrinirao.blogspot.com/search/label/webkit

 If u notice closely the pictures attached have
tiny fonts.

 Have u found a solution to your problem ?
 Just wondering if both of you could be seeing the
same problem.

 regards
 Sriram



 On Feb 8, 2008 8:07 PM, Rachel Bassett
[EMAIL PROTECTED] wrote:

  Hi,
 
  I'm working on a cross compiled build using
DirectFB,
  gtk+, WebKit build too, however I get no fonts
at all!
  I get images, buttons, etc but no text. I've
tested
  gtk+ with gtk-demo and fonts appear correctly
there,
  I've rebuilt my fontconfig cache and checked
(using
  strace) all the font files get found and opened
as
  expected, however I see no text.
 
  Any hints welcome.
 
  Thanks
  Rachel
 
 
 
 
   
   ___
  Yahoo! Answers - Got a question? Someone out
there knows the answer. Try
  it
  now.
  http://uk.answers.yahoo.com/
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
 
http://lists.webkit.org/mailman/listinfo/webkit-dev
 



 --
 Sriram Neelakandan
 Author - Embedded Linux System Design And
Development (
 

Re: [webkit-dev] Issues with font rendering on DirectFB build

2008-02-12 Thread Mike Emmel
Hi Rachel just got my directfb build working on the latest head.

What I'm seeing is that fonts are scaled down to thin lines. And other
scaling issues.

I'm assuming this is what you may be seeing.

This is only under the directfb/gtk build not the webkit one.
Also I looked over my changes and they are related mainly to not having X11
installed at all you probably can build without them but you would
crash eventually
in a few places.

On Feb 11, 2008 3:43 AM, Rachel Bassett [EMAIL PROTECTED] wrote:
 Thanks for the responses, however I don't think it is
 the same. Looking at the google homepage image (on the
 link you sent), the text Web Images News etc
 appears, as well as the blue highlighted links to the
 right and below the search box. I don't get any of
 that - just images, the search box and the buttons.

 I naively thought that if I could run gtk-demo
 successfully and see all the fonts it displays, then I
 assumed I had correctly built everything needed. I
 have also checked my config.log files for both pango
 and cairo and they indeed show I have built cairo for
 directfb and pango for cairo. I had initial problems
 with gtk-demo not displaying fonts, but that was a
 pango problem and now solved.

 So I assuming WebKit does something slightly different
 but as yet I don't understand what.

 My current thoughts are that its possibly path related
 - I'm working through the output from strace to check
 the differences between running WebKit native on a
 Linux PC and WebKit cross compiled on my mips
 hardware.

 Do I need a gtkrc to point at where fonts / styles
 are?

 Many thanks
 Rachel


 --- Srinivas Rao M Hamse [EMAIL PROTECTED] wrote:

  I am posting the same question to everybody on the
  list. Any updates on this
  ?
  regards,
  Srinivas Rao. M
 
 
 
 
 
  On Feb 11, 2008 10:08 AM, Sriram Neelakandan
  [EMAIL PROTECTED]
  wrote:
 
   Hi
  
   Are u seeing problems similar to this :
  
   http://msrinirao.blogspot.com/search/label/webkit
  
   If u notice closely the pictures attached have
  tiny fonts.
  
   Have u found a solution to your problem ?
   Just wondering if both of you could be seeing the
  same problem.
  
   regards
   Sriram
  
  
  
   On Feb 8, 2008 8:07 PM, Rachel Bassett
  [EMAIL PROTECTED] wrote:
  
Hi,
   
I'm working on a cross compiled build using
  DirectFB,
gtk+, WebKit build too, however I get no fonts
  at all!
I get images, buttons, etc but no text. I've
  tested
gtk+ with gtk-demo and fonts appear correctly
  there,
I've rebuilt my fontconfig cache and checked
  (using
strace) all the font files get found and opened
  as
expected, however I see no text.
   
Any hints welcome.
   
Thanks
Rachel
   
   
   
   
 
 ___
Yahoo! Answers - Got a question? Someone out
  there knows the answer. Try
it
now.
http://uk.answers.yahoo.com/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
   
  http://lists.webkit.org/mailman/listinfo/webkit-dev
   
  
  
  
   --
   Sriram Neelakandan
   Author - Embedded Linux System Design And
  Development (
   http://tinyurl.com/2doosu)
 
 
 
 
  --
  Srinivas Rao M  Hamse
 



   __
 Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev