Changeset 64005 in webkit
- Timestamp:
- Jul 23, 2010 6:48:39 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r63988 r64005 1 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 3 Reviewed by Antonio Gomes. 4 5 [EFL] Cleanup glib support (make it optional) 6 https://bugs.webkit.org/show_bug.cgi?id=42480 7 8 Fixing support for compiling EFL port without glib. 9 10 * cmake/FindGthread.cmake: Added. 11 * cmake/OptionsEfl.cmake: 12 1 13 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 14 -
trunk/JavaScriptCore/ChangeLog
r63981 r64005 1 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 3 Reviewed by Antonio Gomes. 4 5 [EFL] Cleanup glib support (make it optional) 6 https://bugs.webkit.org/show_bug.cgi?id=42480 7 8 Remove gobject/GRefPtr.cpp if not using soup/glib. 9 10 * wtf/CMakeListsEfl.txt: 11 1 12 2010-07-23 Patrick Gansterer <paroga@paroga.com> 2 13 -
trunk/JavaScriptCore/wtf/CMakeListsEfl.txt
r59537 r64005 3 3 LIST(APPEND WTF_SOURCES 4 4 efl/MainThreadEfl.cpp 5 6 gobject/GOwnPtr.cpp7 gobject/GRefPtr.cpp8 5 9 6 ThreadIdentifierDataPthreads.cpp … … 12 9 unicode/icu/CollatorICU.cpp 13 10 ) 11 12 IF (ENABLE_GLIB_SUPPORT) 13 LIST(APPEND WTF_SOURCES 14 gobject/GOwnPtr.cpp 15 gobject/GRefPtr.cpp 16 ) 17 ENDIF () 14 18 15 19 LIST(APPEND WTF_LIBRARIES -
trunk/WebCore/CMakeListsEfl.txt
r63988 r64005 126 126 ${EVAS_LIBRARIES} 127 127 ${Freetype_LIBRARIES} 128 ${GDK_LIBRARIES}129 ${Glib_LIBRARIES}130 ${GTK_LIBRARIES}131 128 ${ICU_LIBRARIES} 132 129 ${LIBXML2_LIBRARIES} … … 154 151 ${EVAS_INCLUDE_DIRS} 155 152 ${Freetype_INCLUDE_DIRS} 156 ${GDK_INCLUDE_DIRS}157 ${Glib_INCLUDE_DIRS}158 ${GTK_INCLUDE_DIRS}159 153 ${ICU_INCLUDE_DIRS} 160 154 ${LIBXML2_INCLUDE_DIR} … … 163 157 ${SQLITE_INCLUDE_DIRS} 164 158 ) 159 160 IF (ENABLE_GLIB_SUPPORT) 161 LIST(APPEND WebCore_LIBRARIES 162 ${GDK_LIBRARIES} 163 ${Glib_LIBRARIES} 164 ) 165 LIST(APPEND WebCore_INCLUDE_DIRECTORIES 166 ${GDK_INCLUDE_DIRS} 167 ${Glib_INCLUDE_DIRS} 168 ) 169 ENDIF () 165 170 166 171 IF (WTF_USE_SOUP) -
trunk/WebCore/ChangeLog
r64004 r64005 1 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 3 Reviewed by Antonio Gomes. 4 5 [EFL] Cleanup glib support (make it optional) 6 https://bugs.webkit.org/show_bug.cgi?id=42480 7 8 No new tests, no new features added. 9 Just add flags and directories for glib if necessary. 10 Put some ifdefs on glib calls. 11 12 * CMakeListsEfl.txt: 13 * platform/graphics/cairo/FontPlatformDataCairo.cpp: 14 (WebCore::FontPlatformData::FontPlatformData): 15 1 16 2010-07-23 James Robinson <jamesr@chromium.org> 2 17 -
trunk/WebCore/platform/efl/FileSystemEfl.cpp
r63988 r64005 43 43 #include <errno.h> 44 44 #include <fnmatch.h> 45 #if ENABLE(GLIB_SUPPORT) 45 46 #include <glib.h> // TODO: remove me after following TODO is solved. 47 #endif 46 48 #include <limits.h> 47 49 #include <stdio.h> -
trunk/WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp
r57984 r64005 33 33 #include <cairo.h> 34 34 #include <fontconfig/fcfreetype.h> 35 #if !PLATFORM(EFL) || ENABLE(GLIB_SUPPORT) 35 36 #include <gdk/gdk.h> 37 #endif 36 38 37 39 namespace WebCore { … … 110 112 cairo_matrix_init_identity(&ctm); 111 113 114 #if !PLATFORM(EFL) || ENABLE(GLIB_SUPPORT) 112 115 if (GdkScreen* screen = gdk_screen_get_default()) 113 116 options = gdk_screen_get_font_options(screen); 117 #endif 114 118 115 119 // gdk_screen_get_font_options() returns NULL if no default options are … … 150 154 const cairo_font_options_t* options = NULL; 151 155 156 #if !PLATFORM(EFL) || ENABLE(GLIB_SUPPORT) 152 157 if (GdkScreen* screen = gdk_screen_get_default()) 153 158 options = gdk_screen_get_font_options(screen); 159 #endif 154 160 155 161 // gdk_screen_get_font_options() returns NULL if no default options are -
trunk/WebKit/CMakeListsEfl.txt
r63988 r64005 16 16 ${EFLDEPS_INCLUDE_DIRS} 17 17 ${EVAS_INCLUDE_DIRS} 18 ${Gdk_INCLUDE_DIRS}19 ${Glib_INCLUDE_DIRS}20 18 ${LIBXML2_INCLUDE_DIRS} 21 19 ${LIBXSLT_INCLUDE_DIRS} … … 48 46 ${EFLDEPS_LIBRARIES} 49 47 ${Freetype_LIBRARIES} 50 ${Gdk_LIBRARIES}51 ${Glib_LIBRARIES}52 ${Gtk_LIBRARIES}53 48 ${LIBXML2_LIBRARIES} 54 49 ${Pango_LIBRARIES} 55 50 ${SQLITE_LIBRARIES} 56 51 ) 52 53 IF (ENABLE_GLIB_SUPPORT) 54 LIST(APPEND WebKit_INCLUDE_DIRECTORIES 55 ${Gdk_INCLUDE_DIRS} 56 ${Glib_INCLUDE_DIRS} 57 ) 58 LIST(APPEND WebKit_LIBRARIES 59 ${Glib_LIBRARIES} 60 ${Gdk_LIBRARIES} 61 ) 62 ENDIF () 57 63 58 64 IF (WTF_USE_SOUP) … … 87 93 ${EFLDEPS_LIBRARIES} 88 94 ${EVAS_LIBRARIES} 89 ${Gdk_LIBRARIES}90 ${Glib_LIBRARIES}91 95 ${LIBXML2_LIBRARIES} 92 96 ${LIBXSLT_LIBRARIES} … … 100 104 ${EVAS_LDFLAGS} 101 105 ) 106 107 IF (ENABLE_GLIB_SUPPORT) 108 LIST(APPEND EWebLauncher_LIBRARIES 109 ${Gdk_LIBRARIES} 110 ${Glib_LIBRARIES} 111 ${GTHREAD_LIBRARIES} 112 ) 113 ENDIF () 102 114 103 115 IF (WTF_USE_SOUP) -
trunk/WebKit/ChangeLog
r63988 r64005 1 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 3 Reviewed by Antonio Gomes. 4 5 [EFL] Cleanup glib support (make it optional) 6 https://bugs.webkit.org/show_bug.cgi?id=42480 7 8 Just add glib flags and directories if necessary. 9 10 * CMakeListsEfl.txt: 11 1 12 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 13 -
trunk/WebKit/efl/ChangeLog
r63988 r64005 1 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 3 Reviewed by Antonio Gomes. 4 5 [EFL] Cleanup glib support (make it optional) 6 https://bugs.webkit.org/show_bug.cgi?id=42480 7 8 Put some ifdefs on glib calls. 9 10 * ewk/ewk_main.cpp: 11 (ewk_init): 12 1 13 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> 2 14 -
trunk/WebKit/efl/ewk/ewk_cookies.cpp
r63988 r64005 30 30 #include <Eina.h> 31 31 #include <eina_safety_checks.h> 32 #ifdef WTF_USE_SOUP 32 33 #include <glib.h> 33 #ifdef WTF_USE_SOUP34 34 #include <libsoup/soup.h> 35 35 #endif -
trunk/WebKit/efl/ewk/ewk_main.cpp
r63988 r64005 38 38 #include <stdlib.h> 39 39 40 #if def ENABLE_GLIB_SUPPORT40 #if ENABLE(GLIB_SUPPORT) 41 41 #include <glib-object.h> 42 42 #include <glib.h> … … 91 91 } 92 92 93 #if def ENABLE_GLIB_SUPPORT93 #if ENABLE(GLIB_SUPPORT) 94 94 g_type_init(); 95 95 -
trunk/cmake/OptionsEfl.cmake
r63988 r64005 18 18 FIND_PACKAGE(EFL REQUIRED) 19 19 FIND_PACKAGE(Freetype 9.0 REQUIRED) 20 FIND_PACKAGE(GDK 2.10 REQUIRED)21 FIND_PACKAGE(Glib REQUIRED)22 20 FIND_PACKAGE(Sqlite REQUIRED) 23 21 FIND_PACKAGE(LibXml2 2.6 REQUIRED) … … 112 110 ENDIF () 113 111 112 IF (ENABLE_GLIB_SUPPORT) 113 FIND_PACKAGE(GDK 2.10 REQUIRED) 114 FIND_PACKAGE(Glib REQUIRED) 115 FIND_PACKAGE(Gthread REQUIRED) 116 ENDIF () 117 114 118 SET(CPACK_SOURCE_GENERATOR TBZ2)
Note: See TracChangeset
for help on using the changeset viewer.