RESOLVED FIXED45247
[EFL] Need to add custom dependencies.
https://bugs.webkit.org/show_bug.cgi?id=45247
Summary [EFL] Need to add custom dependencies.
Ryuan Choi
Reported 2010-09-05 21:28:52 PDT
EFL require default.edj, but It looks not compiled because there are no dependency. so, I can't install ewebkit because of missing default.edj. below is error message. CMake Error at WebKit/cmake_install.cmake:57 (FILE): file INSTALL cannot find "/workspace/webkit/build/WebKit/efl/DefaultTheme/default.edj". Call Stack (most recent call first): cmake_install.cmake:39 (INCLUDE)
Attachments
Patch (2.47 KB, patch)
2010-09-05 21:50 PDT, Ryuan Choi
no flags
Patch (2.53 KB, patch)
2010-09-05 23:02 PDT, Ryuan Choi
no flags
Patch (2.48 KB, patch)
2010-09-07 01:06 PDT, Ryuan Choi
no flags
Patch (1.00 KB, patch)
2010-09-08 07:36 PDT, Ryuan Choi
no flags
Patch (1023 bytes, patch)
2010-09-08 07:58 PDT, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2010-09-05 21:50:27 PDT
Ryuan Choi
Comment 2 2010-09-05 23:02:31 PDT
Lucas De Marchi
Comment 3 2010-09-06 23:09:22 PDT
Comment on attachment 66612 [details] Patch > Index: WebKit/ChangeLog > =================================================================== > --- WebKit/ChangeLog (revision 66809) > +++ WebKit/ChangeLog (working copy) > @@ -1,3 +1,14 @@ > +2010-09-05 Ryuan Choi <ryuan.choi@samsung.com> > + > + Reviewed by NOBODY (OOPS!). > + > + [EFL] PORT_DEPENDENCY to add custom target in CMake system What did you mean? [EFL] Add theme as dependency to > + https://bugs.webkit.org/show_bug.cgi?id=45247 > + > + Add WEBKIT_PORT_DEPENDENCIES to include custom target for each port. I'd reword to something like: Add WEBKIT_PORT_DEPENDENCIES to include custom dependencies for each port. Otherwise, it looks good.
Ryuan Choi
Comment 4 2010-09-07 01:06:38 PDT
Ryuan Choi
Comment 5 2010-09-07 01:07:26 PDT
(In reply to comment #3) > (From update of attachment 66612 [details]) > > Index: WebKit/ChangeLog > > =================================================================== > > --- WebKit/ChangeLog (revision 66809) > > +++ WebKit/ChangeLog (working copy) > > @@ -1,3 +1,14 @@ > > +2010-09-05 Ryuan Choi <ryuan.choi@samsung.com> > > + > > + Reviewed by NOBODY (OOPS!). > > + > > + [EFL] PORT_DEPENDENCY to add custom target in CMake system > What did you mean? > > [EFL] Add theme as dependency to > > + https://bugs.webkit.org/show_bug.cgi?id=45247 > > + > > + Add WEBKIT_PORT_DEPENDENCIES to include custom target for each port. > I'd reword to something like: > > Add WEBKIT_PORT_DEPENDENCIES to include custom dependencies for each port. > > > Otherwise, it looks good. thank you. I created patch like you mentioned.
Lucas De Marchi
Comment 6 2010-09-08 05:10:45 PDT
(In reply to comment #5) > > thank you. > I created patch like you mentioned. Humn, sorry. Looking again at this issue, I think a much cleaner approach would be to apply the following patch. It just adds the theme to WebKit's source list. Leandro, Ryuan, what do you think? diff --git a/WebKit/efl/CMakeListsEfl.txt b/WebKit/efl/CMakeListsEfl.txt index cff1822..57cacae 100644 --- a/WebKit/efl/CMakeListsEfl.txt +++ b/WebKit/efl/CMakeListsEfl.txt @@ -159,6 +159,10 @@ ADD_CUSTOM_COMMAND( VERBATIM ) +LIST(APPEND WebKit_SOURCES + ${WebKit_THEME} +) + IF (SHARED_CORE) SET(LIBS_PRIVATE "-l${WTF_LIBRARY_NAME} -l${JavaScriptCore_LIBRARY_NAME} -l${WebCore_LIBRARY_NAME}") ELSE ()
Ryuan Choi
Comment 7 2010-09-08 07:36:16 PDT
Ryuan Choi
Comment 8 2010-09-08 07:40:24 PDT
(In reply to comment #7) > Created an attachment (id=66897) [details] > Patch (In reply to comment #6) > (In reply to comment #5) > > > > thank you. > > I created patch like you mentioned. > > > Humn, sorry. Looking again at this issue, I think a much cleaner approach would be to apply the following patch. It just adds the theme to WebKit's source list. > > Leandro, Ryuan, what do you think? > > > diff --git a/WebKit/efl/CMakeListsEfl.txt b/WebKit/efl/CMakeListsEfl.txt > index cff1822..57cacae 100644 > --- a/WebKit/efl/CMakeListsEfl.txt > +++ b/WebKit/efl/CMakeListsEfl.txt > @@ -159,6 +159,10 @@ ADD_CUSTOM_COMMAND( > VERBATIM > ) > > +LIST(APPEND WebKit_SOURCES > + ${WebKit_THEME} > +) > + > IF (SHARED_CORE) > SET(LIBS_PRIVATE "-l${WTF_LIBRARY_NAME} -l${JavaScriptCore_LIBRARY_NAME} -l${WebCore_LIBRARY_NAME}") > ELSE () LGTM, Conceptually, it's not a source. but it's simple than before. I tested and upload patch you mentioned.
Ryuan Choi
Comment 9 2010-09-08 07:58:15 PDT
Lucas De Marchi
Comment 10 2010-09-08 13:53:02 PDT
Lucas De Marchi
Comment 11 2010-09-08 13:54:27 PDT
Comment on attachment 66899 [details] Patch Clearing flags
Note You need to log in before you can comment on or make changes to this bug.