Bug 97753 - [EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
Summary: [EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryuan Choi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 19:34 PDT by Ryuan Choi
Modified: 2012-10-03 22:46 PDT (History)
4 users (show)

See Also:


Attachments
Patch (14.14 KB, patch)
2012-09-26 21:32 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
Patch (12.87 KB, patch)
2012-09-26 22:38 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
Patch (17.04 KB, patch)
2012-09-27 06:26 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
Patch (17.02 KB, patch)
2012-10-03 22:25 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryuan Choi 2012-09-26 19:34:28 PDT
default.edj is used for only webkit/efl but also webkit2/efl.

However, related files and codes are in WebKit/efl so that we can not use it when disabled webkit1.

First suggestion is to extract scripts and add dependency (simple way)

Patch will be added
Comment 1 Ryuan Choi 2012-09-26 21:32:58 PDT
Created attachment 165924 [details]
Patch
Comment 2 Ryuan Choi 2012-09-26 22:38:24 PDT
Created attachment 165929 [details]
Patch
Comment 3 Gyuyoung Kim 2012-09-26 22:43:36 PDT
Comment on attachment 165929 [details]
Patch

Looks make sense. Kubo, how do you think ?
Comment 4 Raphael Kubo da Costa (:rakuco) 2012-09-27 01:43:11 PDT
Comment on attachment 165929 [details]
Patch

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

The bug itself seems valid, however I have a few remarks:

 o Please mention somewhere in the ChangeLog the reason this change is needed, just like you did in the bug description.

 o Keeping DefaultTheme in WebKit/ sounds weird since it is used by WebKit2, but I guess there currently isn't a place for common stuff like this in the tree?

> Source/CMakeLists.txt:5
> +WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
> +

Would it be possible to move this after the common subdirectories so that it is clear that this can be processed after WTF, JSC and friends are built?
Comment 5 Ryuan Choi 2012-09-27 05:37:27 PDT
(In reply to comment #4)
> (From update of attachment 165929 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=165929&action=review
> 
> The bug itself seems valid, however I have a few remarks:
> 
Thank you for review.

>  o Please mention somewhere in the ChangeLog the reason this change is needed, just like you did in the bug description.

OK, I will

> 
>  o Keeping DefaultTheme in WebKit/ sounds weird since it is used by WebKit2, but I guess there currently isn't a place for common stuff like this in the tree?
> 

Yes, so I could not move. 
I think that keeping current is not worst soltion to me until we have good location to move.


> > Source/CMakeLists.txt:5
> > +WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
> > +
> 
> Would it be possible to move this after the common subdirectories so that it is clear that this can be processed after WTF, JSC and friends are built?

Do you mean that we'd better to move below ADD_SUBDIRECTORY(WEBKIT2) ?

It's not important to me.
I will move where you want.
Comment 6 Ryuan Choi 2012-09-27 06:26:23 PDT
Created attachment 165989 [details]
Patch
Comment 7 Raphael Kubo da Costa (:rakuco) 2012-09-27 07:04:29 PDT
Comment on attachment 165989 [details]
Patch

Looks fine, thanks! Note this may conflict with the upcoming commit that updates the theme dependencies, so you might need to rebase before landing.
Comment 8 Ryuan Choi 2012-09-27 09:21:34 PDT
(In reply to comment #7)
> (From update of attachment 165989 [details])
> Looks fine, thanks! Note this may conflict with the upcoming commit that updates the theme dependencies, so you might need to rebase before landing.

Sure, I already rebased the patch not to conflict with r129752.
Comment 9 Laszlo Gombos 2012-10-03 21:54:46 PDT
Comment on attachment 165989 [details]
Patch

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

> Source/WebKit/ChangeLog:9
> +        however, it has been generated only when enable_webkit is enabled.

Nit: However

Capitalization in the ChangeLog does not seem to be consistent. Is it ENABLE_WEBKIT or enable_webkit ? Can you correct it before landing ? 

Otherwise looks good to me.
Comment 10 Ryuan Choi 2012-10-03 22:25:11 PDT
Created attachment 167030 [details]
Patch
Comment 11 Ryuan Choi 2012-10-03 22:26:16 PDT
Comment on attachment 167030 [details]
Patch

Thank you.

Fixed Capitalization.
Comment 12 WebKit Review Bot 2012-10-03 22:46:17 PDT
Comment on attachment 167030 [details]
Patch

Clearing flags on attachment: 167030

Committed r130364: <http://trac.webkit.org/changeset/130364>
Comment 13 WebKit Review Bot 2012-10-03 22:46:22 PDT
All reviewed patches have been landed.  Closing bug.