Re: [webkit-dev] MAC :: building gstreamer by WebKit but without CAIRO

2013-11-24 Thread gstreamer MACOSX
I managed to restore  ImageGStreamerCG.cpp however LINK fails :

  __ZN3WTF13freeOwnedGPtrI7_GErrorEEvPT_, referenced from:

__ZN7WebCore27MediaPlayerPrivateGStreamer13handleMessageEP11_GstMessage in
MediaPlayerPrivateGStreamer.o
  __ZN7WebCore19initializeGStreamerEv in GStreamerUtilities.o

  -- gstreamermacosx

PS: special thanks to hmachefe for precious *restoration* tips and to
Philippe of course


On Sat, Nov 23, 2013 at 9:59 AM, Philippe Normand ph...@igalia.com wrote:

 The ImageGStreamerCG implementation was removed in
 http://trac.webkit.org/changeset/118610

 Philippe

 On Sat, 2013-11-23 at 00:44 +0100, Urbain EGIS wrote:
  I compiled most of Source/WebCore/platform/graphics/gstreamer apart
  from ImageGstreamerCairo.cpp which has a strong dependency on CAIRO.
 
 
  It seems to be overkill to build WebKit by enabling CAIRO... Because
  (only ;-) one file ImageGstreamerCairo requires a specific CAIRO
  surface.
 
 
  So What would be the best strategy in case of MAC ?
  1° activate CAIRO by WebKit and generate it again (+gstreamer) ... ?
  Really ?
  2° get rid of CAIRO and find an alternative by CF/CG rather in terms
  of surface
 
 
  -- Egis
 
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
  https://lists.webkit.org/mailman/listinfo/webkit-dev


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

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


[webkit-dev] [AppleMac] : HTML5 Video tag is enabled by MacOsX. But how does it work = and with which player by default ?

2013-10-15 Thread gstreamer MACOSX
Happy to see that HTML5 video tag runs fine by MacOs. But allow me 2
questions :
- where is it enabled ? Browsing sources show that FeatureDefines.h
doesn't enable it... How is it activated ?
- which player has been set by default ? Probably not GSTREAMER ;-) But
which one and where is it selected ?
Thanks

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


Re: [webkit-dev] [AppleMac] : HTML5 Video tag is enabled by MacOsX. But how does it work = and with which player by default ?

2013-10-15 Thread gstreamer MACOSX
First, thanks a lot for your useful tips, Konstantin, Hugo.

Second, let's assume I expect to change player:
- from natural default solution =
Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.*
- to another one that is GSTREAMER

What would be the trick to evolve properly from Quicktime to Gst ?
Hugo told us about Source/WebCore/platform/graphics/gstreamer/M
ediaPlayerPrivateGStreamer.cpp
but invited us to read
http://hackerslab.eu/blog/2013/01/migration-to-gstreamer-1-x-for-webkit/ as
a pre-requisite

However, I dare here to request safe and clear procedure to migrate
properly, efficiently.

-- gstreamerForEver


On Tue, Oct 15, 2013 at 2:22 PM, Konstantin Tokarev annu...@yandex.ruwrote:


 15.10.2013, 16:06, Hugo Machefer hugo.mache...@gmail.com:
  Precision: ENABLE_VIDEO seems to be set (by default) on MacOsX according
 to rules defined within Tools/Scripts/webkitperl/FeatureList.pm
  Correct ?

 Actually, it is controlled by --[no-]video option of build-webkit (default
 dependens on WebKit port chosen).

 --
 Regards,
 Konstantin

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


[webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread gstreamer MACOSX
Unless we missed something, sources tied to GSTREAMER (like
wtf\gobject\GlibUtilities.cpp) appear, sort of, unobtainable. Anyone under
position to shed lights on these missing .CPP files required by Webkit  ?

-- gstreamerForEver

 On Sun, 2013-10-13 at 14:22 +0200, Urbain EGIS wrote:
 Probably a painful and hackful job in sight, as we have been told. And
 as a prototype, to start with. Your forewords are appreciate of
 course.
 Would you mind providing some guidance to where/how to source files
 may be located. Example : \wtf\gobject\GlibUtilities.cpp
 Thanks in advance, Philippe.

 Regards,


 EGIS


 On Sat, Oct 12, 2013 at 3:59 PM, Philippe Normand ph...@igalia.com
 wrote:
 On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote:
  Of course, I'm part of the challenge, Hugo. I started to
 analyse .diff
  files gently provided by Alex. Let's focus on one example :
 
 
  --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision
 156730)
  +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working
 copy)
  @@ -73,6 +73,9 @@
  ...
  +ClCompile Include=..\wtf\gobject
 \GlibUtilities.cpp /
  ...
 
 
  Then my question is :
  where can I find this CPP file wtf\gobject
 \GlibUtilities.cpp ?
  I have done: git clone
 http://git.igalia.com/webkit.git
  but is it the right way to get GSTREAMER-centric
 source files
  for/by WebKit ? It seems it's not enough/accurate
 


 Please don't forget that branch is more than 3 years old. A
 lot of code
 changed in WebKit since then. And most of the commits in that
 branch
 were not really ready to be upstreamed as it was mostly a
 proof-of-concept.

 Philippe

 
  On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer
  hugo.mache...@gmail.com wrote:
  Utterly, I'd be glad to take a serious and deep step
 forwards
  into this direction. Therefore, on both Brendan 
 Alex's
  instructions I'm gona opt for GSTREAMER as a default
 player,
  oviously. Urbain, are you with me/us ? The more, the
 merrier,
  you know ;-) First, as mentionned earlier, check
  with ENABLE(VIDEO) = shall be disclosing as a
  consequence many CPP files impacted.
 
 
  On my side, I am gona set WTF_USE_GSTREAMER, and
 look closely
  at previous clues
  by

http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst.
Of course, Alex, any piece of your updated code (off of the webkit-dev
list) will be more than welcome.
 
 
  On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen
  alex.christen...@flexsim.com wrote:
  I would like WinCairo to have video enabled,
 also, but
  it would take some work.  This was done
 successfully a
  few years ago by Phillippe Normand, but his
 code needs
  to be updated.  I got it compiling a few
 days ago, but
  something was wrong with my GStreamer
 installation.
 
 
  Here's Phillippe's
  branch:

http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst
 
 
  If anyone wants to look at my updated code,
 let me
  know and I'll email a diff off of the
 webkit-dev list.
 
 
  Alex Christensen
 
 
  On Fri, Oct 11, 2013 at 2:25 PM, Brendan
 Long
  s...@brendanlong.com wrote:
 
  On 10/11/2013 02:13 PM, Urbain EGIS
 wrote:
 
   Playing a bit with WebKit
 sources for
   Windows (using WinCairo port) I
 expected to
   activate HTML5 video tag. I just
 simply
   put : #define ENABLE_VIDEO 1 and
 rebuilt
   everything. But I realized that
 only few
   files are concerned by
 USE(ENABLE_VIDEO) and
   are not even .CPP files.
  It would be ENABLE(VIDEO), not
  USE(ENABLE_VIDEO).
 
 
   So 

Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-14 Thread gstreamer MACOSX
Exactly, Philippe: I searched everywhere by
D:\Users\gstreamermacosx\webkit\Source but without any success.
I applyed this command like my counterparts ... :
 *git clone http://git.igalia.com/webkit.git*
Is it correct ? In fact, there is not even any Source/*WTF *sub-folder.

-- gstreamerForEver


On Mon, Oct 14, 2013 at 11:59 AM, Philippe Normand ph...@igalia.com wrote:

 On Mon, 2013-10-14 at 11:51 +0200, gstreamer MACOSX wrote:
  Unless we missed something, sources tied to GSTREAMER (like wtf
  \gobject\GlibUtilities.cpp) appear, sort of, unobtainable. Anyone
  under position to shed lights on these missing .CPP files required by
  Webkit  ?

 Have you actually searched in source tree?
 See Source/WTF/wtf/gobject/GlibUtilities.cpp ...

 Philippe

 
 
  -- gstreamerForEver
 
 
   On Sun, 2013-10-13 at 14:22 +0200, Urbain EGIS wrote:
   Probably a painful and hackful job in sight, as we have been told.
  And
   as a prototype, to start with. Your forewords are appreciate of
   course.
   Would you mind providing some guidance to where/how to source files
   may be located. Example : \wtf\gobject\GlibUtilities.cpp
   Thanks in advance, Philippe.
  
   Regards,
  
  
   EGIS
  
  
   On Sat, Oct 12, 2013 at 3:59 PM, Philippe Normand ph...@igalia.com
   wrote:
   On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote:
Of course, I'm part of the challenge, Hugo. I started to
   analyse .diff
files gently provided by Alex. Let's focus on one
  example :
   
   
--- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision
   156730)
+++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working
   copy)
@@ -73,6 +73,9 @@
...
+ClCompile Include=..\wtf\gobject
   \GlibUtilities.cpp /
...
   
   
Then my question is :
where can I find this CPP file wtf\gobject
   \GlibUtilities.cpp ?
I have done: git clone
   http://git.igalia.com/webkit.git
but is it the right way to get GSTREAMER-centric
   source files
for/by WebKit ? It seems it's not enough/accurate
   
  
  
   Please don't forget that branch is more than 3 years old. A
   lot of code
   changed in WebKit since then. And most of the commits in
  that
   branch
   were not really ready to be upstreamed as it was mostly a
   proof-of-concept.
  
   Philippe
  
   
On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer
hugo.mache...@gmail.com wrote:
Utterly, I'd be glad to take a serious and deep
  step
   forwards
into this direction. Therefore, on both Brendan 
   Alex's
instructions I'm gona opt for GSTREAMER as a
  default
   player,
oviously. Urbain, are you with me/us ? The more,
  the
   merrier,
you know ;-) First, as mentionned earlier, check
with ENABLE(VIDEO) = shall be disclosing as a
consequence many CPP files impacted.
   
   
On my side, I am gona set WTF_USE_GSTREAMER, and
   look closely
at previous clues
by
  
 
 http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst.
 Of course, Alex, any piece of your updated code (off of the webkit-dev
 list) will be more than welcome.
   
   
On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen
alex.christen...@flexsim.com wrote:
I would like WinCairo to have video
  enabled,
   also, but
it would take some work.  This was done
   successfully a
few years ago by Phillippe Normand, but
  his
   code needs
to be updated.  I got it compiling a few
   days ago, but
something was wrong with my GStreamer
   installation.
   
   
Here's Phillippe's
branch:
  
 
 http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst
   
   
If anyone wants to look at my updated
  code,
   let me
know and I'll email a diff off of the
   webkit-dev list.
   
   
Alex Christensen
   
   
On Fri, Oct 11, 2013 at 2:25 PM, Brendan
   Long
s...@brendanlong.com wrote:
   
On 10/11/2013