Bug 117968

Summary: [EFL] Add a script to install dependencies.
Product: WebKit Reporter: Byungwoo Lee <bw80.lee>
Component: Tools / TestsAssignee: Byungwoo Lee <bw80.lee>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, gyuyoung.kim, laszlo.gombos, ryuan.choi, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Byungwoo Lee 2013-06-24 18:47:21 PDT
EFL doesn't have a script to install basic dependencies.
(GTK has Tool/gtk/install-dependencies)
Comment 1 Byungwoo Lee 2013-06-24 19:23:17 PDT
Created attachment 205355 [details]
Patch
Comment 2 Byungwoo Lee 2013-06-24 19:32:47 PDT
Created attachment 205357 [details]
Patch
Comment 3 Sergio Correia (qrwteyrutiyoup) 2013-06-24 20:59:20 PDT
Looks cool, but why not add support for Fedora (yum) as well, since you seem to be basing this work on the existing script for the Gtk port which supports them both?
Comment 4 Byungwoo Lee 2013-06-24 21:09:01 PDT
(In reply to comment #3)
> Looks cool, but why not add support for Fedora (yum) as well, since you seem to be basing this work on the existing script for the Gtk port which supports them both?

Yes, I copied the script from GTK, but I don't have an environment for yum, so I remained it for the other one who needs it.
(And there is no guide for the yum packaging in current wiki page)

How do you think about it?
Comment 5 Sergio Correia (qrwteyrutiyoup) 2013-06-24 21:12:54 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > Looks cool, but why not add support for Fedora (yum) as well, since you seem to be basing this work on the existing script for the Gtk port which supports them both?
> 
> Yes, I copied the script from GTK, but I don't have an environment for yum, so I remained it for the other one who needs it.
> (And there is no guide for the yum packaging in current wiki page)
> 
> How do you think about it?

Ah, okay. I didn't know about the wiki not mentioning yum - gotta get more familiar with it. In this case, I agree that someone can add it later, if needed :)
Comment 6 Chris Dumez 2013-06-25 03:16:24 PDT
Comment on attachment 205357 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=205357&action=review

Good addition, r=me with nit.

> Tools/efl/install-dependencies:72
> +        gstreamer-dbus-media-service

Please remove this one. I doubt this is needed now that gstreamer 1.0 is part of jhbuild.
Comment 7 Byungwoo Lee 2013-06-25 03:19:06 PDT
(In reply to comment #6)
> (From update of attachment 205357 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=205357&action=review
> 
> Good addition, r=me with nit.
> 
> > Tools/efl/install-dependencies:72
> > +        gstreamer-dbus-media-service
> 
> Please remove this one. I doubt this is needed now that gstreamer 1.0 is part of jhbuild.

Ok. Will remove it.
Comment 8 Byungwoo Lee 2013-06-25 03:22:21 PDT
Created attachment 205375 [details]
Patch
Comment 9 Byungwoo Lee 2013-06-25 03:23:44 PDT
(In reply to comment #8)
> Created an attachment (id=205375) [details]
> Patch

Oops sorry, will upload again with reviewed comment.
Comment 10 Byungwoo Lee 2013-06-25 03:25:21 PDT
Created attachment 205376 [details]
Patch
Comment 11 WebKit Commit Bot 2013-06-25 04:36:26 PDT
Comment on attachment 205376 [details]
Patch

Clearing flags on attachment: 205376

Committed r151961: <http://trac.webkit.org/changeset/151961>
Comment 12 WebKit Commit Bot 2013-06-25 04:36:30 PDT
All reviewed patches have been landed.  Closing bug.
Comment 13 Ryuan Choi 2013-06-25 04:50:36 PDT
(In reply to comment #12)
> All reviewed patches have been landed.  Closing bug.

Will you update https://trac.webkit.org/wiki/EFLWebKit ?
Comment 14 Byungwoo Lee 2013-06-25 04:57:30 PDT
(In reply to comment #13)
> (In reply to comment #12)
> > All reviewed patches have been landed.  Closing bug.
> 
> Will you update https://trac.webkit.org/wiki/EFLWebKit ?

Sure, I'll update it.
Comment 15 Laszlo Gombos 2013-06-25 05:02:22 PDT
Nice. Can the build bot run this, so that it gets tested and we can just add a dependency to the build bot as well by changing this script ?
Comment 16 Chris Dumez 2013-06-25 05:06:10 PDT
(In reply to comment #15)
> Nice. Can the build bot run this, so that it gets tested and we can just add a dependency to the build bot as well by changing this script ?

The script would probably have to be updated to be non-interactive then. Also, I'm not sure it is feasible because the script requires root privileges.