aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-04-22 09:19:23 +1000
committerDavid Walter Seikel2012-04-22 09:19:23 +1000
commitc963d75dfdeec11f82e79e727062fbf89afa2c04 (patch)
tree895633dbf641110be46f117c29890c49b3ffc0bd /libraries
parentAdding the new extantz viewer and grid manager. (diff)
downloadSledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.zip
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.gz
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.bz2
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.xz
Update EFL to latest beta.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ecore/AUTHORS3
-rw-r--r--libraries/ecore/ChangeLog123
-rw-r--r--libraries/ecore/Makefile.in24
-rw-r--r--libraries/ecore/NEWS42
-rw-r--r--libraries/ecore/README3
-rw-r--r--libraries/ecore/aclocal.m463
-rwxr-xr-xlibraries/ecore/config.guess149
-rw-r--r--libraries/ecore/config.h.in9
-rwxr-xr-xlibraries/ecore/config.sub47
-rwxr-xr-xlibraries/ecore/configure3345
-rw-r--r--libraries/ecore/configure.ac295
-rw-r--r--libraries/ecore/doc/Makefile.in20
-rw-r--r--libraries/ecore/ecore-win32.pc.in2
-rw-r--r--libraries/ecore/ecore.pc.in4
-rw-r--r--libraries/ecore/ecore.spec2
-rw-r--r--libraries/ecore/ecore.supp2
-rwxr-xr-xlibraries/ecore/ltmain.sh4
-rw-r--r--libraries/ecore/m4/ecore_check_module.m46
-rw-r--r--libraries/ecore/m4/ecore_check_options.m42
-rw-r--r--libraries/ecore/po/cs.gmobin3004 -> 3004 bytes
-rw-r--r--libraries/ecore/po/cs.po80
-rw-r--r--libraries/ecore/po/de.gmobin3001 -> 3001 bytes
-rw-r--r--libraries/ecore/po/de.po80
-rw-r--r--libraries/ecore/po/ecore.pot81
-rw-r--r--libraries/ecore/po/el.gmobin3487 -> 3487 bytes
-rw-r--r--libraries/ecore/po/el.po80
-rw-r--r--libraries/ecore/po/fr.gmobin3199 -> 3199 bytes
-rw-r--r--libraries/ecore/po/fr.po80
-rw-r--r--libraries/ecore/po/it.gmobin2931 -> 2931 bytes
-rw-r--r--libraries/ecore/po/it.po80
-rw-r--r--libraries/ecore/po/nl.gmobin2978 -> 2978 bytes
-rw-r--r--libraries/ecore/po/nl.po80
-rw-r--r--libraries/ecore/po/pt.gmobin3020 -> 3020 bytes
-rw-r--r--libraries/ecore/po/pt.po80
-rw-r--r--libraries/ecore/po/sl.gmobin3015 -> 3015 bytes
-rw-r--r--libraries/ecore/po/sl.po80
-rw-r--r--libraries/ecore/src/Makefile.in20
-rw-r--r--libraries/ecore/src/bin/Makefile.in20
-rw-r--r--libraries/ecore/src/examples/Makefile.in20
-rw-r--r--libraries/ecore/src/examples/ecore_evas_basics_example.c5
-rw-r--r--libraries/ecore/src/lib/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore/Ecore.h896
-rw-r--r--libraries/ecore/src/lib/ecore/Makefile.am8
-rw-r--r--libraries/ecore/src/lib/ecore/Makefile.in33
-rw-r--r--libraries/ecore/src/lib/ecore/ecore.c6
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_anim.c4
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_events.c158
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_exe.c10
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_getopt.c4
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_main.c185
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_pipe.c17
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_poll.c94
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_private.h6
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_thread.c756
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_time.c6
-rw-r--r--libraries/ecore/src/lib/ecore/ecore_timer.c19
-rw-r--r--libraries/ecore/src/lib/ecore_cocoa/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_con/Ecore_Con.h81
-rw-r--r--libraries/ecore/src/lib/ecore_con/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_con/ecore_con.c23
-rw-r--r--libraries/ecore/src/lib/ecore_con/ecore_con_private.h47
-rw-r--r--libraries/ecore/src/lib/ecore_con/ecore_con_socks.c762
-rw-r--r--libraries/ecore/src/lib/ecore_con/ecore_con_ssl.c3
-rw-r--r--libraries/ecore/src/lib/ecore_con/ecore_con_url.c671
-rw-r--r--libraries/ecore/src/lib/ecore_config/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_directfb/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_evas/Ecore_Evas.h256
-rw-r--r--libraries/ecore/src/lib/ecore_evas/Makefile.am1
-rw-r--r--libraries/ecore/src/lib/ecore_evas/Makefile.in21
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas.c252
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_buffer.c7
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c10
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_directfb.c7
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_ews.c8
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_extn.c69
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_fb.c7
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_private.h57
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_psl1ght.c9
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_sdl.c189
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c694
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c769
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_win32.c19
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_wince.c21
-rw-r--r--libraries/ecore/src/lib/ecore_evas/ecore_evas_x.c455
-rw-r--r--libraries/ecore/src/lib/ecore_fb/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_fb/ecore_fb.c23
-rw-r--r--libraries/ecore/src/lib/ecore_file/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_file/ecore_file.c2
-rw-r--r--libraries/ecore/src/lib/ecore_file/ecore_file_download.c40
-rw-r--r--libraries/ecore/src/lib/ecore_imf/Ecore_IMF.h143
-rw-r--r--libraries/ecore/src/lib/ecore_imf/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_imf/ecore_imf_context.c402
-rw-r--r--libraries/ecore/src/lib/ecore_imf/ecore_imf_private.h3
-rw-r--r--libraries/ecore/src/lib/ecore_imf_evas/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c44
-rw-r--r--libraries/ecore/src/lib/ecore_input/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_input_evas/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_ipc/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_ipc/ecore_ipc.c5
-rw-r--r--libraries/ecore/src/lib/ecore_psl1ght/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_sdl/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_wayland/Ecore_Wayland.h271
-rw-r--r--libraries/ecore/src/lib/ecore_wayland/Makefile.am8
-rw-r--r--libraries/ecore/src/lib/ecore_wayland/Makefile.in33
-rw-r--r--libraries/ecore/src/lib/ecore_wayland/ecore_wl.c1322
-rw-r--r--libraries/ecore/src/lib/ecore_wayland/ecore_wl_private.h56
-rw-r--r--libraries/ecore/src/lib/ecore_win32/Ecore_Win32.h9
-rw-r--r--libraries/ecore/src/lib/ecore_win32/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h4
-rw-r--r--libraries/ecore/src/lib/ecore_win32/ecore_win32_window.c173
-rw-r--r--libraries/ecore/src/lib/ecore_wince/Ecore_WinCE.h4
-rw-r--r--libraries/ecore/src/lib/ecore_wince/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_wince/ecore_wince_window.c52
-rw-r--r--libraries/ecore/src/lib/ecore_x/Ecore_X.h91
-rw-r--r--libraries/ecore/src/lib/ecore_x/Ecore_X_Atoms.h14
-rw-r--r--libraries/ecore/src/lib/ecore_x/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h14
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c15
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c236
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_keymap.c8
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c50
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c294
-rw-r--r--libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c4
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/Makefile.in20
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c15
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c233
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c51
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c246
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/ecore_x_test.c12
-rw-r--r--libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c4
-rw-r--r--libraries/ecore/src/modules/Makefile.in20
-rw-r--r--libraries/ecore/src/modules/immodules/Makefile.in20
-rw-r--r--libraries/ecore/src/modules/immodules/scim/Makefile.in20
-rw-r--r--libraries/ecore/src/modules/immodules/scim/scim_imcontext.cpp1348
-rw-r--r--libraries/ecore/src/modules/immodules/scim/scim_imcontext.h2
-rw-r--r--libraries/ecore/src/modules/immodules/scim/scim_module.cpp11
-rw-r--r--libraries/ecore/src/modules/immodules/xim/Makefile.in20
-rw-r--r--libraries/ecore/src/modules/immodules/xim/ecore_imf_xim.c48
-rw-r--r--libraries/ecore/src/tests/Makefile.in20
-rw-r--r--libraries/ecore/src/tests/ecore_test_ecore_x.c4
-rw-r--r--libraries/ecore/src/util/Makefile.in20
-rw-r--r--libraries/edje/AUTHORS1
-rw-r--r--libraries/edje/ChangeLog111
-rw-r--r--libraries/edje/Makefile.in2
-rw-r--r--libraries/edje/NEWS15
-rw-r--r--libraries/edje/README3
-rw-r--r--libraries/edje/aclocal.m464
-rwxr-xr-xlibraries/edje/config.guess149
-rwxr-xr-xlibraries/edje/config.sub47
-rwxr-xr-xlibraries/edje/configure2028
-rw-r--r--libraries/edje/configure.ac51
-rw-r--r--libraries/edje/data/Makefile.in2
-rw-r--r--libraries/edje/data/include/Makefile.in2
-rw-r--r--libraries/edje/doc/Makefile.in2
-rw-r--r--libraries/edje/edje.spec2
-rwxr-xr-xlibraries/edje/ltmain.sh4
-rw-r--r--libraries/edje/m4/efl_binary.m427
-rw-r--r--libraries/edje/src/Makefile.in2
-rw-r--r--libraries/edje/src/bin/Makefile.in2
-rw-r--r--libraries/edje/src/bin/edje_cc.h2
-rw-r--r--libraries/edje/src/bin/edje_cc_handlers.c251
-rw-r--r--libraries/edje/src/bin/edje_cc_mem.c10
-rw-r--r--libraries/edje/src/bin/edje_cc_out.c168
-rw-r--r--libraries/edje/src/bin/edje_inspector.c10
-rw-r--r--libraries/edje/src/bin/edje_player.c8
-rw-r--r--libraries/edje/src/bin/epp/Makefile.in2
-rw-r--r--libraries/edje/src/examples/Makefile.am38
-rw-r--r--libraries/edje/src/examples/Makefile.in45
-rw-r--r--libraries/edje/src/examples/edje-animations.c125
-rw-r--r--libraries/edje/src/examples/edje-basic.c107
-rw-r--r--libraries/edje/src/examples/edje-box.c185
-rw-r--r--libraries/edje/src/examples/edje-box2.c187
-rw-r--r--libraries/edje/src/examples/edje-color-class.c140
-rw-r--r--libraries/edje/src/examples/edje-drag.c175
-rw-r--r--libraries/edje/src/examples/edje-perspective.c132
-rw-r--r--libraries/edje/src/examples/edje-signals-messages.c112
-rw-r--r--libraries/edje/src/examples/edje-swallow.c73
-rw-r--r--libraries/edje/src/examples/edje-table.c101
-rw-r--r--libraries/edje/src/examples/edje-text.c65
-rw-r--r--libraries/edje/src/examples/sigtest.c110
-rw-r--r--libraries/edje/src/lib/Edje.h585
-rw-r--r--libraries/edje/src/lib/Makefile.in2
-rw-r--r--libraries/edje/src/lib/edje_cache.c6
-rw-r--r--libraries/edje/src/lib/edje_calc.c74
-rw-r--r--libraries/edje/src/lib/edje_data.c3
-rw-r--r--libraries/edje/src/lib/edje_entry.c462
-rw-r--r--libraries/edje/src/lib/edje_load.c29
-rw-r--r--libraries/edje/src/lib/edje_lua2.c38
-rw-r--r--libraries/edje/src/lib/edje_main.c5
-rw-r--r--libraries/edje/src/lib/edje_multisense.c5
-rw-r--r--libraries/edje/src/lib/edje_private.h76
-rw-r--r--libraries/edje/src/lib/edje_program.c86
-rw-r--r--libraries/edje/src/lib/edje_util.c546
-rw-r--r--libraries/edje/src/modules/Makefile.in2
-rw-r--r--libraries/edje/src/modules/alsa_snd_player/Makefile.in2
-rw-r--r--libraries/edje/src/modules/eet_snd_reader/Makefile.in2
-rw-r--r--libraries/edje/src/modules/multisense_factory/Makefile.in2
-rw-r--r--libraries/edje/src/tests/Makefile.in2
-rw-r--r--libraries/edje/utils/Makefile.in2
-rw-r--r--libraries/eet/AUTHORS1
-rw-r--r--libraries/eet/ChangeLog18
-rw-r--r--libraries/eet/Makefile.am18
-rw-r--r--libraries/eet/Makefile.in22
-rw-r--r--libraries/eet/NEWS2
-rw-r--r--libraries/eet/README3
-rw-r--r--libraries/eet/aclocal.m462
-rwxr-xr-xlibraries/eet/config.guess149
-rw-r--r--libraries/eet/config.h.in9
-rwxr-xr-xlibraries/eet/config.sub47
-rwxr-xr-xlibraries/eet/configure1112
-rw-r--r--libraries/eet/configure.ac139
-rw-r--r--libraries/eet/doc/Doxyfile4
-rw-r--r--libraries/eet/doc/Doxyfile.in2
-rw-r--r--libraries/eet/doc/Makefile.am7
-rw-r--r--libraries/eet/doc/Makefile.in11
-rw-r--r--libraries/eet/eet.spec2
-rwxr-xr-xlibraries/eet/ltmain.sh4
-rw-r--r--libraries/eet/m4/efl_fnmatch.m412
-rw-r--r--libraries/eet/src/Makefile.in4
-rw-r--r--libraries/eet/src/bin/Makefile.am2
-rw-r--r--libraries/eet/src/bin/Makefile.in6
-rw-r--r--libraries/eet/src/bin/eet_main.c60
-rw-r--r--libraries/eet/src/examples/Makefile.in4
-rw-r--r--libraries/eet/src/lib/Eet.h17
-rw-r--r--libraries/eet/src/lib/Makefile.in4
-rw-r--r--libraries/eet/src/lib/eet_alloc.c2
-rw-r--r--libraries/eet/src/lib/eet_cipher.c71
-rw-r--r--libraries/eet/src/lib/eet_data.c21
-rw-r--r--libraries/eet/src/lib/eet_dictionary.c6
-rw-r--r--libraries/eet/src/lib/eet_image.c19
-rw-r--r--libraries/eet/src/tests/Makefile.in4
-rw-r--r--libraries/eet/src/tests/eet_suite.c2
-rw-r--r--libraries/eina/AUTHORS2
-rw-r--r--libraries/eina/ChangeLog43
-rw-r--r--libraries/eina/Makefile.am44
-rw-r--r--libraries/eina/Makefile.in82
-rw-r--r--libraries/eina/NEWS14
-rw-r--r--libraries/eina/README3
-rw-r--r--libraries/eina/aclocal.m490
-rwxr-xr-xlibraries/eina/autogen.sh2
-rwxr-xr-xlibraries/eina/config.guess149
-rw-r--r--libraries/eina/config.h.in14
-rwxr-xr-xlibraries/eina/config.sub47
-rwxr-xr-xlibraries/eina/configure960
-rw-r--r--libraries/eina/configure.ac55
-rw-r--r--libraries/eina/doc/Makefile.am3
-rw-r--r--libraries/eina/doc/Makefile.in41
-rw-r--r--libraries/eina/eina.pc6
-rw-r--r--libraries/eina/eina.spec2
-rwxr-xr-xlibraries/eina/ltmain.sh4
-rw-r--r--libraries/eina/src/Makefile.in38
-rw-r--r--libraries/eina/src/examples/Makefile.am28
-rw-r--r--libraries/eina/src/examples/Makefile.in180
-rw-r--r--libraries/eina/src/examples/eina_accessor_01.c2
-rw-r--r--libraries/eina/src/examples/eina_array_01.c2
-rw-r--r--libraries/eina/src/examples/eina_array_02.c2
-rw-r--r--libraries/eina/src/examples/eina_error_01.c4
-rw-r--r--libraries/eina/src/examples/eina_file_01.c2
-rw-r--r--libraries/eina/src/examples/eina_hash_01.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_02.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_03.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_04.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_05.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_06.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_07.c3
-rw-r--r--libraries/eina/src/examples/eina_hash_08.c3
-rw-r--r--libraries/eina/src/examples/eina_inlist_01.c3
-rw-r--r--libraries/eina/src/examples/eina_inlist_02.c3
-rw-r--r--libraries/eina/src/examples/eina_inlist_03.c3
-rw-r--r--libraries/eina/src/examples/eina_iterator_01.c2
-rw-r--r--libraries/eina/src/examples/eina_list_01.c2
-rw-r--r--libraries/eina/src/examples/eina_list_02.c2
-rw-r--r--libraries/eina/src/examples/eina_list_03.c2
-rw-r--r--libraries/eina/src/examples/eina_list_04.c2
-rw-r--r--libraries/eina/src/examples/eina_tiler_01.c2
-rw-r--r--libraries/eina/src/include/Eina.h44
-rw-r--r--libraries/eina/src/include/Makefile.am3
-rw-r--r--libraries/eina/src/include/Makefile.in48
-rw-r--r--libraries/eina/src/include/eina_array.h2
-rw-r--r--libraries/eina/src/include/eina_config.h9
-rw-r--r--libraries/eina/src/include/eina_config.h.in9
-rw-r--r--libraries/eina/src/include/eina_error.h2
-rw-r--r--libraries/eina/src/include/eina_file.h51
-rw-r--r--libraries/eina/src/include/eina_inarray.h148
-rw-r--r--libraries/eina/src/include/eina_inline_lock_win32.x70
-rw-r--r--libraries/eina/src/include/eina_inline_stringshare.x4
-rw-r--r--libraries/eina/src/include/eina_inline_value.x281
-rw-r--r--libraries/eina/src/include/eina_list.h6
-rw-r--r--libraries/eina/src/include/eina_stringshare.h43
-rw-r--r--libraries/eina/src/include/eina_types.h32
-rw-r--r--libraries/eina/src/include/eina_value.h511
-rw-r--r--libraries/eina/src/lib/Makefile.am5
-rw-r--r--libraries/eina/src/lib/Makefile.in94
-rw-r--r--libraries/eina/src/lib/eina_binshare.c69
-rw-r--r--libraries/eina/src/lib/eina_file.c232
-rw-r--r--libraries/eina/src/lib/eina_file_win32.c2235
-rw-r--r--libraries/eina/src/lib/eina_inlist.c5
-rw-r--r--libraries/eina/src/lib/eina_list.c15
-rw-r--r--libraries/eina/src/lib/eina_magic.c5
-rw-r--r--libraries/eina/src/lib/eina_main.c5
-rw-r--r--libraries/eina/src/lib/eina_matrixsparse.c2
-rw-r--r--libraries/eina/src/lib/eina_module.c4
-rw-r--r--libraries/eina/src/lib/eina_prefix.c22
-rw-r--r--libraries/eina/src/lib/eina_private.h2
-rw-r--r--libraries/eina/src/lib/eina_rbtree.c365
-rw-r--r--libraries/eina/src/lib/eina_sched.c19
-rw-r--r--libraries/eina/src/lib/eina_share_common.c42
-rw-r--r--libraries/eina/src/lib/eina_share_common.h21
-rw-r--r--libraries/eina/src/lib/eina_stringshare.c77
-rw-r--r--libraries/eina/src/lib/eina_unicode.c55
-rw-r--r--libraries/eina/src/lib/eina_ustringshare.c69
-rw-r--r--libraries/eina/src/lib/eina_value.c453
-rw-r--r--libraries/eina/src/modules/Makefile.in38
-rw-r--r--libraries/eina/src/modules/mp/Makefile.in38
-rw-r--r--libraries/eina/src/modules/mp/buddy/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/buddy/Makefile.in39
-rw-r--r--libraries/eina/src/modules/mp/chained_pool/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/chained_pool/Makefile.in39
-rw-r--r--libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c2
-rw-r--r--libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in39
-rw-r--r--libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in39
-rw-r--r--libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in39
-rw-r--r--libraries/eina/src/modules/mp/one_big/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/one_big/Makefile.in39
-rw-r--r--libraries/eina/src/modules/mp/one_big/eina_one_big.c2
-rw-r--r--libraries/eina/src/modules/mp/pass_through/Makefile.am1
-rw-r--r--libraries/eina/src/modules/mp/pass_through/Makefile.in39
-rw-r--r--libraries/eina/src/tests/Makefile.am3
-rw-r--r--libraries/eina/src/tests/Makefile.in48
-rw-r--r--libraries/eina/src/tests/eina_suite.c3
-rw-r--r--libraries/eina/src/tests/eina_suite.h1
-rw-r--r--libraries/eina/src/tests/eina_test_clist.c2
-rw-r--r--libraries/eina/src/tests/eina_test_counter.c92
-rw-r--r--libraries/eina/src/tests/eina_test_error.c184
-rw-r--r--libraries/eina/src/tests/eina_test_file.c54
-rw-r--r--libraries/eina/src/tests/eina_test_inlist.c171
-rw-r--r--libraries/eina/src/tests/eina_test_list.c40
-rw-r--r--libraries/eina/src/tests/eina_test_log.c217
-rw-r--r--libraries/eina/src/tests/eina_test_magic.c110
-rw-r--r--libraries/eina/src/tests/eina_test_simple_xml_parser.c6
-rw-r--r--libraries/eina/src/tests/eina_test_ustr.c130
-rw-r--r--libraries/eina/src/tests/eina_test_value.c109
-rw-r--r--libraries/embryo/ChangeLog9
-rw-r--r--libraries/embryo/Makefile.in5
-rw-r--r--libraries/embryo/README3
-rw-r--r--libraries/embryo/aclocal.m463
-rwxr-xr-xlibraries/embryo/config.guess149
-rw-r--r--libraries/embryo/config.h.in7
-rwxr-xr-xlibraries/embryo/config.sub47
-rwxr-xr-xlibraries/embryo/configure700
-rw-r--r--libraries/embryo/configure.ac33
-rw-r--r--libraries/embryo/doc/Makefile.in5
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/e.pngbin3825 -> 3825 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/e_big.pngbin30052 -> 30052 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/edoxy.css0
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/foot_bg.pngbin173 -> 173 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/head_bg.pngbin214 -> 214 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/menu_bg.pngbin192 -> 192 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/menu_bg_current.pngbin1200 -> 1200 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/menu_bg_hover.pngbin3278 -> 3278 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/menu_bg_last.pngbin637 -> 637 bytes
-rw-r--r--[-rwxr-xr-x]libraries/embryo/doc/img/menu_bg_unsel.pngbin1596 -> 1596 bytes
-rw-r--r--libraries/embryo/embryo.spec2
-rw-r--r--libraries/embryo/include/Makefile.in5
-rwxr-xr-xlibraries/embryo/ltmain.sh4
-rw-r--r--libraries/embryo/m4/efl_fnmatch.m42
-rw-r--r--libraries/embryo/src/Makefile.in5
-rw-r--r--libraries/embryo/src/bin/Makefile.in5
-rw-r--r--libraries/embryo/src/bin/embryo_cc_sc5.scp2
-rw-r--r--libraries/embryo/src/bin/embryo_cc_sc7.scp2
-rw-r--r--libraries/embryo/src/lib/Embryo.h2
-rw-r--r--libraries/embryo/src/lib/Makefile.am3
-rw-r--r--libraries/embryo/src/lib/Makefile.in8
-rw-r--r--libraries/embryo/src/lib/embryo_amx.c4
-rw-r--r--libraries/embryo/src/lib/embryo_str.c45
-rw-r--r--libraries/embryo/src/lib/embryo_time.c6
-rw-r--r--libraries/evas/AUTHORS1
-rw-r--r--libraries/evas/ChangeLog41
-rw-r--r--libraries/evas/Makefile.am28
-rw-r--r--libraries/evas/Makefile.in39
-rw-r--r--libraries/evas/NEWS8
-rw-r--r--libraries/evas/README5
-rw-r--r--libraries/evas/aclocal.m462
-rwxr-xr-xlibraries/evas/config.guess149
-rw-r--r--libraries/evas/config.h.in9
-rwxr-xr-xlibraries/evas/config.sub47
-rwxr-xr-xlibraries/evas/configure2692
-rw-r--r--libraries/evas/configure.ac53
-rw-r--r--libraries/evas/doc/Makefile.am2
-rw-r--r--libraries/evas/doc/Makefile.in10
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/e_big.pngbin30052 -> 30052 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/foot_bg.pngbin173 -> 173 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/head_bg.pngbin214 -> 214 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/menu_bg.pngbin192 -> 192 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/menu_bg_current.pngbin1200 -> 1200 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/menu_bg_hover.pngbin3278 -> 3278 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/menu_bg_last.pngbin637 -> 637 bytes
-rw-r--r--[-rwxr-xr-x]libraries/evas/doc/img/menu_bg_unsel.pngbin1596 -> 1596 bytes
-rw-r--r--libraries/evas/evas.pc.in4
-rw-r--r--libraries/evas/evas.spec2
-rwxr-xr-xlibraries/evas/ltmain.sh4
-rw-r--r--libraries/evas/m4/efl_attribute.m44
-rw-r--r--libraries/evas/m4/efl_fnmatch.m42
-rw-r--r--libraries/evas/m4/evas_check_engine.m466
-rw-r--r--libraries/evas/m4/evas_check_loader.m46
-rw-r--r--libraries/evas/src/Makefile.in8
-rw-r--r--libraries/evas/src/bin/Makefile.am2
-rw-r--r--libraries/evas/src/bin/Makefile.in9
-rw-r--r--libraries/evas/src/bin/evas_cserve_main.c3
-rw-r--r--libraries/evas/src/examples/Makefile.am2
-rw-r--r--libraries/evas/src/examples/Makefile.in9
-rw-r--r--libraries/evas/src/examples/evas-box.c2
-rw-r--r--libraries/evas/src/examples/evas-hints.c3
-rw-r--r--libraries/evas/src/lib/Evas.h310
-rw-r--r--libraries/evas/src/lib/Evas_GL.h2
-rw-r--r--libraries/evas/src/lib/Makefile.am10
-rw-r--r--libraries/evas/src/lib/Makefile.in21
-rw-r--r--libraries/evas/src/lib/cache/Makefile.am1
-rw-r--r--libraries/evas/src/lib/cache/Makefile.in9
-rw-r--r--libraries/evas/src/lib/cache/evas_cache_image.c338
-rw-r--r--libraries/evas/src/lib/canvas/Makefile.am1
-rw-r--r--libraries/evas/src/lib/canvas/Makefile.in15
-rw-r--r--libraries/evas/src/lib/canvas/evas_callbacks.c9
-rw-r--r--libraries/evas/src/lib/canvas/evas_events.c17
-rw-r--r--libraries/evas/src/lib/canvas/evas_map.c34
-rw-r--r--libraries/evas/src/lib/canvas/evas_object_image.c40
-rw-r--r--libraries/evas/src/lib/canvas/evas_object_main.c19
-rw-r--r--libraries/evas/src/lib/canvas/evas_object_textblock.c180
-rw-r--r--libraries/evas/src/lib/canvas/evas_render.c63
-rw-r--r--libraries/evas/src/lib/cserve/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/Makefile.am2
-rw-r--r--libraries/evas/src/lib/engines/common/Makefile.in10
-rw-r--r--libraries/evas/src/lib/engines/common/evas_draw_main.c65
-rw-r--r--libraries/evas/src/lib/engines/common/evas_font_load.c8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_image_main.c77
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in13
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_polygon_main.c8
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_sample.c3
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c6
-rw-r--r--libraries/evas/src/lib/engines/common/evas_tiler.c96
-rw-r--r--libraries/evas/src/lib/engines/common_16/Makefile.in8
-rw-r--r--libraries/evas/src/lib/engines/common_8/Makefile.in8
-rw-r--r--libraries/evas/src/lib/file/Makefile.am3
-rw-r--r--libraries/evas/src/lib/file/Makefile.in10
-rw-r--r--libraries/evas/src/lib/file/evas_module.c4
-rw-r--r--libraries/evas/src/lib/file/evas_path.c4
-rw-r--r--libraries/evas/src/lib/include/Makefile.in8
-rw-r--r--libraries/evas/src/lib/include/evas_blend_ops.h12
-rw-r--r--libraries/evas/src/lib/include/evas_common.h92
-rw-r--r--libraries/evas/src/lib/include/evas_private.h3
-rw-r--r--libraries/evas/src/modules/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/Makefile.am3
-rw-r--r--libraries/evas/src/modules/engines/Makefile.in27
-rw-r--r--libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h3
-rw-r--r--libraries/evas/src/modules/engines/buffer/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/buffer/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_engine.c69
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_engine.h8
-rw-r--r--libraries/evas/src/modules/engines/buffer/evas_outbuf.c31
-rw-r--r--libraries/evas/src/modules/engines/direct3d/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/directfb/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/directfb/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/directfb/evas_engine.c3
-rw-r--r--libraries/evas/src/modules/engines/fb/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/fb/evas_engine.c13
-rw-r--r--libraries/evas/src/modules/engines/fb/evas_outbuf.c7
-rw-r--r--libraries/evas/src/modules/engines/gl_cocoa/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_common/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_common/evas_gl_line.c5
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h18
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd18
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h18
-rw-r--r--libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd18
-rw-r--r--libraries/evas/src/modules/engines/gl_sdl/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/gl_x11/evas_engine.c565
-rw-r--r--libraries/evas/src/modules/engines/psl1ght/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_16/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/software_16/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_16_sdl/Makefile.am4
-rw-r--r--libraries/evas/src/modules/engines/software_16_sdl/Makefile.in50
-rw-r--r--libraries/evas/src/modules/engines/software_16_wince/Makefile.am1
-rw-r--r--libraries/evas/src/modules/engines/software_16_wince/Makefile.in25
-rw-r--r--libraries/evas/src/modules/engines/software_16_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_8/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/software_8/Makefile.in9
-rw-r--r--libraries/evas/src/modules/engines/software_8_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_ddraw/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_gdi/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/software_generic/Makefile.am4
-rw-r--r--libraries/evas/src/modules/engines/software_generic/Makefile.in11
-rw-r--r--libraries/evas/src/modules/engines/software_generic/evas_engine.c24
-rw-r--r--libraries/evas/src/modules/engines/software_x11/Makefile.in8
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/Makefile.am2
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/Makefile.in10
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/evas_engine.c184
-rw-r--r--libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c4
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h3
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/Makefile.am3
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/Makefile.in11
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/evas_engine.c12
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/evas_engine.h3
-rw-r--r--libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c5
-rw-r--r--libraries/evas/src/modules/loaders/Makefile.in10
-rw-r--r--libraries/evas/src/modules/loaders/bmp/Makefile.am7
-rw-r--r--libraries/evas/src/modules/loaders/bmp/Makefile.in13
-rw-r--r--libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c108
-rw-r--r--libraries/evas/src/modules/loaders/edb/Makefile.in8
-rw-r--r--libraries/evas/src/modules/loaders/eet/Makefile.am2
-rw-r--r--libraries/evas/src/modules/loaders/eet/Makefile.in9
-rw-r--r--libraries/evas/src/modules/loaders/generic/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/generic/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/gif/Makefile.am2
-rw-r--r--libraries/evas/src/modules/loaders/gif/Makefile.in9
-rw-r--r--libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c15
-rw-r--r--libraries/evas/src/modules/loaders/ico/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/ico/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c28
-rw-r--r--libraries/evas/src/modules/loaders/jpeg/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/jpeg/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c85
-rw-r--r--libraries/evas/src/modules/loaders/pmaps/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/pmaps/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/png/Makefile.am3
-rw-r--r--libraries/evas/src/modules/loaders/png/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/psd/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/psd/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c16
-rw-r--r--libraries/evas/src/modules/loaders/svg/Makefile.am2
-rw-r--r--libraries/evas/src/modules/loaders/svg/Makefile.in9
-rw-r--r--libraries/evas/src/modules/loaders/tga/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/tga/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c10
-rw-r--r--libraries/evas/src/modules/loaders/tiff/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/tiff/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/wbmp/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/wbmp/Makefile.in11
-rw-r--r--libraries/evas/src/modules/loaders/xpm/Makefile.am5
-rw-r--r--libraries/evas/src/modules/loaders/xpm/Makefile.in12
-rw-r--r--libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c3
-rw-r--r--libraries/evas/src/modules/savers/Makefile.in8
-rw-r--r--libraries/evas/src/modules/savers/edb/Makefile.in8
-rw-r--r--libraries/evas/src/modules/savers/eet/Makefile.am2
-rw-r--r--libraries/evas/src/modules/savers/eet/Makefile.in9
-rw-r--r--libraries/evas/src/modules/savers/jpeg/Makefile.am2
-rw-r--r--libraries/evas/src/modules/savers/jpeg/Makefile.in9
-rw-r--r--libraries/evas/src/modules/savers/png/Makefile.am5
-rw-r--r--libraries/evas/src/modules/savers/png/Makefile.in12
-rw-r--r--libraries/evas/src/modules/savers/tiff/Makefile.am2
-rw-r--r--libraries/evas/src/modules/savers/tiff/Makefile.in9
-rw-r--r--libraries/evas/src/static_deps/Makefile.in8
-rw-r--r--libraries/evas/src/static_deps/liblinebreak/Makefile.in8
-rw-r--r--libraries/evas/src/tests/Makefile.in8
-rw-r--r--libraries/evas/src/tests/evas_test_textblock.c32
568 files changed, 25478 insertions, 16585 deletions
diff --git a/libraries/ecore/AUTHORS b/libraries/ecore/AUTHORS
index 8fc1f10..3db7a4b 100644
--- a/libraries/ecore/AUTHORS
+++ b/libraries/ecore/AUTHORS
@@ -1,3 +1,4 @@
1Myoungwoon Roy Kim(roy_kim) <myoungwoon.kim@samsung.com> <myoungwoon@gmail.com>
1The Rasterman <raster@rasterman.com> 2The Rasterman <raster@rasterman.com>
2Tom Gilbert <tom@linuxbrit.co.uk> 3Tom Gilbert <tom@linuxbrit.co.uk>
3Burra <burra@colorado.edu> 4Burra <burra@colorado.edu>
@@ -49,3 +50,5 @@ Youness Alaoui <kakaroto@kakaroto.homelinux.net>
49Bluezery <ohpowel@gmail.com> 50Bluezery <ohpowel@gmail.com>
50Doyoun Kang <wayofmine@gmail.com> <doyoun.kang@samsung.com> 51Doyoun Kang <wayofmine@gmail.com> <doyoun.kang@samsung.com>
51Haifeng Deng <haifeng.deng@samsung.com> 52Haifeng Deng <haifeng.deng@samsung.com>
53Jérémy Zurcher <jeremy@asynk.ch>
54Vikram Narayanan <vikram186@gmail.com>
diff --git a/libraries/ecore/ChangeLog b/libraries/ecore/ChangeLog
index 5c32d20..dc855e0 100644
--- a/libraries/ecore/ChangeLog
+++ b/libraries/ecore/ChangeLog
@@ -364,7 +364,7 @@
3642011-12-02 Carsten Haitzler (The Rasterman) 3642011-12-02 Carsten Haitzler (The Rasterman)
365 365
366 1.1.0 release 366 1.1.0 release
367 367
3682011-12-02 Mike Blumenkrantz 3682011-12-02 Mike Blumenkrantz
369 369
370 * Use mempools for allocations 370 * Use mempools for allocations
@@ -465,3 +465,124 @@
465 using "Plug" image object. Before only one to one communication 465 using "Plug" image object. Before only one to one communication
466 is possible, but now many "plug"s can show socket's canvas. 466 is possible, but now many "plug"s can show socket's canvas.
467 467
4682011-12-26 Christopher Michael (devilhorns)
469
470 * Add Ecore_X function to return the keycode from a given keyname.
471
4722012-02-06 Jihoon Kim (jihoon)
473
474 * Set ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL as default layout in ecore_imf_context_add.
475 * Add Ecore_IMF function to set or get the input panel-specific data.
476
4772012-02-07 Jihoon Kim (jihoon)
478
479 * Support ecore_imf_context_input_panel_show/hide in XIM and SCIM module.
480
4812012-02-08 Carsten Haitzler (The Rasterman)
482
483 * Add ecore_con_url_http_version_set() to set url request version
484
4852012-02-09 Jihoon Kim (jihoon)
486
487 * Provide compose, string in key down/up event in case of scim-input-pad.
488
4892012-02-10 Christopher Michael (devilhorns)
490
491 * Add Ecore_Evas function to allow setting a mouse pointer from efl/elm wayland clients.
492
4932012-02-15 Jihoon Kim (jihoon)
494
495 * Add ecore_imf APIs to set return key type, disable return key.
496
4972012-02-16 Leif Middelschulte (T_UNIX)
498
499 * Add ecore_x_randr_mode_add to add a mode to a display
500 * Add ecore_x_randr_mode_del to remove a mode from the display
501 * Add ecore_x_randr_output_mode_add to add a mode to an output
502 * Add ecore_x_randr_output_mode_del to remove a mode from an output
503
5042012-02-10 Jérémy Zurcher
505
506 * Improve callbacks in ecore_evas to use typedefs for readability.
507
5082012-02-20 Cedric Bail
509
510 * Rewrite internal of Ecore_Thread to use Eina_Lock and ecore_main_loop_thread_safe_call_async.
511
5122012-02-23 Cedric Bail
513
514 * Move to Evas buffer engine for Ecore_Evas SDL software backend.
515
5162012-02-23 Leif Middelschulte (T_UNIX)
517
518 * Add ecore_x_randr_window_crtcs_get to get the crtcs that display a
519 window.
520 * Deprecate ecore_x_randr_current_output_get. Use
521 ecore_x_randr_window_crtcs_get instead.
522
5232012-02-24 Doyun Kang
524
525 * Add indicator controls to ecore_x
526
5272012-02-26 Carsten Haitzler (The Rasterman)
528
529 * Fix ecore_file_download to not limit downloads to 30sec.
530
5312012-02-28 Carsten Haitzler (The Rasterman)
532
533 * Add ecore_x_netwm_icons_set()
534 * Add ecore_evas_window_group_set() ecore_evas_window_group_get()
535 ecore_evas_aspect_set() ecore_evas_aspect_get()
536 ecore_evas_urgent_set() ecore_evas_urgent_get()
537 ecore_evas_modal_set() ecore_evas_modal_get()
538 ecore_evas_demand_attention_set()
539 ecore_evas_demand_attention_get()
540 ecore_evas_focus_skip_set() ecore_evas_focus_skip_get()
541 ecore_evas_callback_state_change_set()
542
5432012-02-28 Christopher Michael (devilhorns)
544
545 * Refactor Ecore_Wayland code to improve running EFL
546 applications as Wayland Clients.
547 * Refactor Ecore_Evas Wayland code to match changes in
548 Ecore_Wayland
549
5502012-02-29 Jihoon Kim (jihoon)
551
552 * Add ecore_imf_context_input_panel_caps_lock_mode_set/get to set the caps lock mode on the input panel
553
5542012-03-07 ChunEon Park (Hermet)
555
556 * Add ecore_x_illume_clipboard_state_set()
557 ecore_x_illume_clipboard_state_get()
558 ecore_x_illume_clipboard_geometry_set()
559 ecore_x_illume_clipboard_geometry_get()
560
5612012-03-07 Carsten Haitzler (The Rasterman)
562
563 * Add atoms and api for rotation and indicator transparency in
564 ecore_x/ecore_evas
565
5662012-03-07 Mike Blumenkrantz (discomfitor/zmike)
567
568 * Add ecore_con_url_status_code_get() to check return code at any time
569
5702012-03-09 Carsten Haitzler (The Rasterman)
571
572 * Fix ecore_thread_feedback_run to work as the documentation and logic tell us.
573
5742012-03-10 Cedric Bail
575
576 * Fix double free at end of execution of Ecore_Thread with feedback.
577
5782012-03-13 Leif Middelschulte (T_UNIX)
579
580 * Fix ecore_x_randr_modes_info_get to not cut off the trailing '\0'
581 anymore
582
5832012-03-20 Vincent Torri
584
585 * Rename ecore_win32_window_focus_set() to ecore_win32_window_focus()
586 to match ecore_x API.
587 * Add ecore_wince_window_focus(), ecore_wince_window_focus_get()
588 and ecore_win32_window_focus_get().
diff --git a/libraries/ecore/Makefile.in b/libraries/ecore/Makefile.in
index 7ae3118..39507a9 100644
--- a/libraries/ecore/Makefile.in
+++ b/libraries/ecore/Makefile.in
@@ -79,8 +79,8 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
79 $(srcdir)/ecore-wince.pc.in $(srcdir)/ecore-x.pc.in \ 79 $(srcdir)/ecore-wince.pc.in $(srcdir)/ecore-x.pc.in \
80 $(srcdir)/ecore.pc.in $(srcdir)/ecore.spec.in \ 80 $(srcdir)/ecore.pc.in $(srcdir)/ecore.spec.in \
81 $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \ 81 $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \
82 INSTALL NEWS config.guess config.rpath config.sub depcomp \ 82 INSTALL NEWS TODO config.guess config.rpath config.sub depcomp \
83 install-sh ltmain.sh missing mkinstalldirs 83 install-sh ltmain.sh missing
84ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 84ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 85am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
86 $(top_srcdir)/m4/ac_path_generic.m4 \ 86 $(top_srcdir)/m4/ac_path_generic.m4 \
@@ -93,18 +93,17 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
93 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 93 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
94 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 94 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
95 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 95 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
96 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 96 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
97 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 97 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
98 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 98 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
99 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 99 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
100 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 100 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
101 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 101 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
102 $(top_srcdir)/configure.ac
103am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 102am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
104 $(ACLOCAL_M4) 103 $(ACLOCAL_M4)
105am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 104am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
106 configure.lineno config.status.lineno 105 configure.lineno config.status.lineno
107mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 106mkinstalldirs = $(install_sh) -d
108CONFIG_HEADER = config.h 107CONFIG_HEADER = config.h
109CONFIG_CLEAN_FILES = ecore-con.pc ecore-config.pc ecore-directfb.pc \ 108CONFIG_CLEAN_FILES = ecore-con.pc ecore-config.pc ecore-directfb.pc \
110 ecore-evas.pc ecore-fb.pc ecore-file.pc ecore-imf.pc \ 109 ecore-evas.pc ecore-fb.pc ecore-file.pc ecore-imf.pc \
@@ -259,6 +258,8 @@ EVAS_LIBS = @EVAS_LIBS@
259EVIL_CFLAGS = @EVIL_CFLAGS@ 258EVIL_CFLAGS = @EVIL_CFLAGS@
260EVIL_LIBS = @EVIL_LIBS@ 259EVIL_LIBS = @EVIL_LIBS@
261EXEEXT = @EXEEXT@ 260EXEEXT = @EXEEXT@
261EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
262EXOTIC_LIBS = @EXOTIC_LIBS@
262FGREP = @FGREP@ 263FGREP = @FGREP@
263GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 264GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
264GLIB_CFLAGS = @GLIB_CFLAGS@ 265GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -314,6 +315,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
314PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 315PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
315PIXMAN_LIBS = @PIXMAN_LIBS@ 316PIXMAN_LIBS = @PIXMAN_LIBS@
316PKG_CONFIG = @PKG_CONFIG@ 317PKG_CONFIG = @PKG_CONFIG@
318PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
319PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
317POSUB = @POSUB@ 320POSUB = @POSUB@
318RANLIB = @RANLIB@ 321RANLIB = @RANLIB@
319SCIM_CFLAGS = @SCIM_CFLAGS@ 322SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -324,6 +327,7 @@ SDL_LIBS = @SDL_LIBS@
324SED = @SED@ 327SED = @SED@
325SET_MAKE = @SET_MAKE@ 328SET_MAKE = @SET_MAKE@
326SHELL = @SHELL@ 329SHELL = @SHELL@
330SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
327SSL_CFLAGS = @SSL_CFLAGS@ 331SSL_CFLAGS = @SSL_CFLAGS@
328SSL_LIBS = @SSL_LIBS@ 332SSL_LIBS = @SSL_LIBS@
329STRIP = @STRIP@ 333STRIP = @STRIP@
diff --git a/libraries/ecore/NEWS b/libraries/ecore/NEWS
index f558bb4..22fd7a7 100644
--- a/libraries/ecore/NEWS
+++ b/libraries/ecore/NEWS
@@ -13,15 +13,43 @@ Additions:
13 - ECORE_CON_REMOTE_CORK 13 - ECORE_CON_REMOTE_CORK
14 - ecore_con_url_proxy_set() 14 - ecore_con_url_proxy_set()
15 - ecore_con_url_timeout_set() 15 - ecore_con_url_timeout_set()
16 - ecore_con_url_proxy_username_set 16 - ecore_con_url_proxy_username_set()
17 - ecore_con_url_proxy_password_set() 17 - ecore_con_url_proxy_password_set()
18 - ecore_con_url_http_version_set()
19 - ecore_con_url_status_code_get()
18 * ecore_x: 20 * ecore_x:
19 - ecore_x_randr_output_backlight_available() 21 - ecore_x_randr_output_backlight_available()
22 - ecore_x_randr_window_crtcs_get()
20 * ecore_evas: 23 * ecore_evas:
21 - Add Shm and Egl engines for ecore_evas to draw in Wayland. 24 - Add Shm and Egl engines for ecore_evas to draw in Wayland.
22 - Add Socket and Plug to draw other process area. 25 - Add Socket and Plug to draw other process area.
23 * ecore_wayland 26 * ecore_wayland
24 - Add Ecore_Wayland (backend to support Wayland). 27 - Add Ecore_Wayland (backend to support Wayland).
28 * ecore_imf
29 - ecore_imf_context_event_callback_add()
30 - ecore_imf_context_event_callback_del()
31 - ecore_imf_context_event_callback_call()
32 - ecore_imf_context_input_panel_imdata_set()
33 - ecore_imf_context_input_panel_imdata_get()
34 - ecore_imf_context_input_panel_return_key_type_set()
35 - ecore_imf_context_input_panel_return_key_type_get()
36 - ecore_imf_context_input_panel_return_key_disabled_set()
37 - ecore_imf_context_input_panel_return_key_disabled_get()
38 - ecore_imf_context_input_panel_caps_lock_mode_set()
39 - ecore_imf_context_input_panel_caps_lock_mode_get()
40 * ecore_win32:
41 - ecore_win32_focus()
42 - ecore_win32_focus_get()
43 * ecore_wince:
44 - ecore_wince_focus()
45 - ecore_wince_focus_get()
46
47Fixes:
48 * ecore_thread:
49 - ecore_thread_feedback_run now handle try_no_queue the way it logically should.
50 - prevent double free that could cause crash when an Ecore_Thread stop.
51 * ecore_x:
52 - ecore_x_randr_modes_info_get does not cut off the trailing '\0' anymore.
25 53
26Improvements: 54Improvements:
27 * ecore: 55 * ecore:
@@ -30,7 +58,19 @@ Improvements:
30 - certificates can now be added for STARTTTLS 58 - certificates can now be added for STARTTTLS
31 * ecore_win32: 59 * ecore_win32:
32 - fix modifiers value on Windows XP 60 - fix modifiers value on Windows XP
61 * ecore_thread:
62 - use eina_lock
63 - use Ecore thread safe async call
64 * ecore_evas:
65 - use Evas buffer backend for SDL software engine
66
67Deprecations:
68 * ecore_x:
69 - ecore_x_randr_crtc_current_get()
33 70
71Removal:
72 * ecore_win32:
73 - ecore_win32_focus_set()
34 74
35Ecore 1.1.0 75Ecore 1.1.0
36 76
diff --git a/libraries/ecore/README b/libraries/ecore/README
index 7b11f68..c902528 100644
--- a/libraries/ecore/README
+++ b/libraries/ecore/README
@@ -1,4 +1,4 @@
1Ecore 1.1.0 1Ecore 1.2.0
2 2
3****************************************************************************** 3******************************************************************************
4 4
@@ -12,7 +12,6 @@ Requirements:
12 12
13Must: 13Must:
14 libc 14 libc
15 libm
16 eina (1.1.0 or better) 15 eina (1.1.0 or better)
17 (For windows you also need: evil) 16 (For windows you also need: evil)
18 17
diff --git a/libraries/ecore/aclocal.m4 b/libraries/ecore/aclocal.m4
index 859816b..8ae8efb 100644
--- a/libraries/ecore/aclocal.m4
+++ b/libraries/ecore/aclocal.m4
@@ -13,13 +13,14 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23# serial 1 (pkg-config-0.24)
23# 24#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 25# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25# 26#
@@ -47,7 +48,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
47AC_DEFUN([PKG_PROG_PKG_CONFIG], 48AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 49[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 50m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 51AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
54
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 55if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 56 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi 57fi
@@ -60,7 +64,6 @@ if test -n "$PKG_CONFIG"; then
60 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
61 PKG_CONFIG="" 65 PKG_CONFIG=""
62 fi 66 fi
63
64fi[]dnl 67fi[]dnl
65])# PKG_PROG_PKG_CONFIG 68])# PKG_PROG_PKG_CONFIG
66 69
@@ -69,34 +72,31 @@ fi[]dnl
69# Check to see whether a particular set of modules exists. Similar 72# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors. 73# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71# 74#
72# 75# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of 76# only at the first occurence in configure.ac, so if the first place
74# this or PKG_CHECK_MODULES is called, or make sure to call 77# it's called might be skipped (such as if it is within an "if", you
75# PKG_CHECK_EXISTS manually 78# have to call PKG_CHECK_EXISTS manually
76# -------------------------------------------------------------- 79# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS], 80AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 81[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \ 82if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 83 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:]) 84 m4_default([$2], [:])
82m4_ifvaln([$3], [else 85m4_ifvaln([$3], [else
83 $3])dnl 86 $3])dnl
84fi]) 87fi])
85 88
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 89# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# --------------------------------------------- 90# ---------------------------------------------
89m4_define([_PKG_CONFIG], 91m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then 92[if test -n "$$1"; then
91 if test -n "$$1"; then 93 pkg_cv_[]$1="$$1"
92 pkg_cv_[]$1="$$1" 94 elif test -n "$PKG_CONFIG"; then
93 else 95 PKG_CHECK_EXISTS([$3],
94 PKG_CHECK_EXISTS([$3], 96 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 97 [pkg_failed=yes])
96 [pkg_failed=yes]) 98 else
97 fi 99 pkg_failed=untried
98else
99 pkg_failed=untried
100fi[]dnl 100fi[]dnl
101])# _PKG_CONFIG 101])# _PKG_CONFIG
102 102
@@ -138,16 +138,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.]) 138See the pkg-config man page for more details.])
139 139
140if test $pkg_failed = yes; then 140if test $pkg_failed = yes; then
141 AC_MSG_RESULT([no])
141 _PKG_SHORT_ERRORS_SUPPORTED 142 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then 143 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 144 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
144 else 145 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 146 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
146 fi 147 fi
147 # Put the nasty error message in config.log where it belongs 148 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 149 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149 150
150 ifelse([$4], , [AC_MSG_ERROR(dnl 151 m4_default([$4], [AC_MSG_ERROR(
151[Package requirements ($2) were not met: 152[Package requirements ($2) were not met:
152 153
153$$1_PKG_ERRORS 154$$1_PKG_ERRORS
@@ -155,25 +156,24 @@ $$1_PKG_ERRORS
155Consider adjusting the PKG_CONFIG_PATH environment variable if you 156Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix. 157installed software in a non-standard prefix.
157 158
158_PKG_TEXT 159_PKG_TEXT])[]dnl
159])], 160 ])
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then 161elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl 162 AC_MSG_RESULT([no])
163 m4_default([$4], [AC_MSG_FAILURE(
164[The pkg-config script could not be found or is too old. Make sure it 164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full 165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config. 166path to pkg-config.
167 167
168_PKG_TEXT 168_PKG_TEXT
169 169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
171 [$4]) 171 ])
172else 172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes]) 175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3]) 176 $3
177fi[]dnl 177fi[]dnl
178])# PKG_CHECK_MODULES 178])# PKG_CHECK_MODULES
179 179
@@ -1148,7 +1148,6 @@ m4_include([m4/efl_threads.m4])
1148m4_include([m4/gettext.m4]) 1148m4_include([m4/gettext.m4])
1149m4_include([m4/iconv.m4]) 1149m4_include([m4/iconv.m4])
1150m4_include([m4/intlmacosx.m4]) 1150m4_include([m4/intlmacosx.m4])
1151m4_include([m4/isc-posix.m4])
1152m4_include([m4/lib-ld.m4]) 1151m4_include([m4/lib-ld.m4])
1153m4_include([m4/lib-link.m4]) 1152m4_include([m4/lib-link.m4])
1154m4_include([m4/lib-prefix.m4]) 1153m4_include([m4/lib-prefix.m4])
diff --git a/libraries/ecore/config.guess b/libraries/ecore/config.guess
index e3a2116..c2246a4 100755
--- a/libraries/ecore/config.guess
+++ b/libraries/ecore/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-10' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
27# the same distribution terms that you use for the rest of that program. 27# the same distribution terms that you use for the rest of that program.
28 28
29 29
30# Originally written by Per Bothner <per@bothner.com>. 30# Originally written by Per Bothner. Please send patches (context
31# Please send patches to <config-patches@gnu.org>. Submit a context 31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# diff and a properly formatted ChangeLog entry. 32# entry.
33# 33#
34# This script attempts to guess a canonical system name similar to 34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and 35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1. 36# exits with 0. Otherwise, it exits with 1.
37# 37#
38# The plan is that this can be called by configure scripts if you 38# You can get the latest version of this script from:
39# don't specify an explicit build system type. 39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40 40
41me=`echo "$0" | sed -e 's,.*/,,'` 41me=`echo "$0" | sed -e 's,.*/,,'`
42 42
@@ -56,8 +56,9 @@ version="\
56GNU config.guess ($timestamp) 56GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
61 62
62This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
333 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
336 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 eval $set_cc_for_build 341 eval $set_cc_for_build
338 SUN_ARCH="i386" 342 SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
807 i*:PW*:*) 811 i*:PW*:*)
808 echo ${UNAME_MACHINE}-pc-pw32 812 echo ${UNAME_MACHINE}-pc-pw32
809 exit ;; 813 exit ;;
810 *:Interix*:[3456]*) 814 *:Interix*:*)
811 case ${UNAME_MACHINE} in 815 case ${UNAME_MACHINE} in
812 x86) 816 x86)
813 echo i586-pc-interix${UNAME_RELEASE} 817 echo i586-pc-interix${UNAME_RELEASE}
814 exit ;; 818 exit ;;
815 EM64T | authenticamd | genuineintel) 819 authenticamd | genuineintel | EM64T)
816 echo x86_64-unknown-interix${UNAME_RELEASE} 820 echo x86_64-unknown-interix${UNAME_RELEASE}
817 exit ;; 821 exit ;;
818 IA64) 822 IA64)
@@ -854,6 +858,20 @@ EOF
854 i*86:Minix:*:*) 858 i*86:Minix:*:*)
855 echo ${UNAME_MACHINE}-pc-minix 859 echo ${UNAME_MACHINE}-pc-minix
856 exit ;; 860 exit ;;
861 alpha:Linux:*:*)
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
863 EV5) UNAME_MACHINE=alphaev5 ;;
864 EV56) UNAME_MACHINE=alphaev56 ;;
865 PCA56) UNAME_MACHINE=alphapca56 ;;
866 PCA57) UNAME_MACHINE=alphapca56 ;;
867 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
874 exit ;;
857 arm*:Linux:*:*) 875 arm*:Linux:*:*)
858 eval $set_cc_for_build 876 eval $set_cc_for_build
859 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 877 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
876 frv:Linux:*:*) 894 frv:Linux:*:*)
877 echo frv-unknown-linux-gnu 895 echo frv-unknown-linux-gnu
878 exit ;; 896 exit ;;
897 i*86:Linux:*:*)
898 LIBC=gnu
899 eval $set_cc_for_build
900 sed 's/^ //' << EOF >$dummy.c
901 #ifdef __dietlibc__
902 LIBC=dietlibc
903 #endif
904EOF
905 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
906 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
907 exit ;;
879 ia64:Linux:*:*) 908 ia64:Linux:*:*)
880 echo ${UNAME_MACHINE}-unknown-linux-gnu 909 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 exit ;; 910 exit ;;
@@ -901,39 +930,18 @@ EOF
901 #endif 930 #endif
902 #endif 931 #endif
903EOF 932EOF
904 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 933 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
905 /^CPU/{
906 s: ::g
907 p
908 }'`"
909 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 934 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910 ;; 935 ;;
911 or32:Linux:*:*) 936 or32:Linux:*:*)
912 echo or32-unknown-linux-gnu 937 echo or32-unknown-linux-gnu
913 exit ;; 938 exit ;;
914 ppc:Linux:*:*)
915 echo powerpc-unknown-linux-gnu
916 exit ;;
917 ppc64:Linux:*:*)
918 echo powerpc64-unknown-linux-gnu
919 exit ;;
920 alpha:Linux:*:*)
921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922 EV5) UNAME_MACHINE=alphaev5 ;;
923 EV56) UNAME_MACHINE=alphaev56 ;;
924 PCA56) UNAME_MACHINE=alphapca56 ;;
925 PCA57) UNAME_MACHINE=alphapca56 ;;
926 EV6) UNAME_MACHINE=alphaev6 ;;
927 EV67) UNAME_MACHINE=alphaev67 ;;
928 EV68*) UNAME_MACHINE=alphaev68 ;;
929 esac
930 objdump --private-headers /bin/sh | grep -q ld.so.1
931 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 exit ;;
934 padre:Linux:*:*) 939 padre:Linux:*:*)
935 echo sparc-unknown-linux-gnu 940 echo sparc-unknown-linux-gnu
936 exit ;; 941 exit ;;
942 parisc64:Linux:*:* | hppa64:Linux:*:*)
943 echo hppa64-unknown-linux-gnu
944 exit ;;
937 parisc:Linux:*:* | hppa:Linux:*:*) 945 parisc:Linux:*:* | hppa:Linux:*:*)
938 # Look for CPU level 946 # Look for CPU level
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
942 *) echo hppa-unknown-linux-gnu ;; 950 *) echo hppa-unknown-linux-gnu ;;
943 esac 951 esac
944 exit ;; 952 exit ;;
945 parisc64:Linux:*:* | hppa64:Linux:*:*) 953 ppc64:Linux:*:*)
946 echo hppa64-unknown-linux-gnu 954 echo powerpc64-unknown-linux-gnu
955 exit ;;
956 ppc:Linux:*:*)
957 echo powerpc-unknown-linux-gnu
947 exit ;; 958 exit ;;
948 s390:Linux:*:* | s390x:Linux:*:*) 959 s390:Linux:*:* | s390x:Linux:*:*)
949 echo ${UNAME_MACHINE}-ibm-linux 960 echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
966 xtensa*:Linux:*:*) 977 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 echo ${UNAME_MACHINE}-unknown-linux-gnu
968 exit ;; 979 exit ;;
969 i*86:Linux:*:*)
970 # The BFD linker knows what the default object file format is, so
971 # first see if it will tell us. cd to the root directory to prevent
972 # problems with other programs or directories called `ld' in the path.
973 # Set LC_ALL=C to ensure ld outputs messages in English.
974 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
975 | sed -ne '/supported targets:/!d
976 s/[ ][ ]*/ /g
977 s/.*supported targets: *//
978 s/ .*//
979 p'`
980 case "$ld_supported_targets" in
981 elf32-i386)
982 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 ;;
984 esac
985 # Determine whether the default compiler is a.out or elf
986 eval $set_cc_for_build
987 sed 's/^ //' << EOF >$dummy.c
988 #include <features.h>
989 #ifdef __ELF__
990 # ifdef __GLIBC__
991 # if __GLIBC__ >= 2
992 LIBC=gnu
993 # else
994 LIBC=gnulibc1
995 # endif
996 # else
997 LIBC=gnulibc1
998 # endif
999 #else
1000 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1001 LIBC=gnu
1002 #else
1003 LIBC=gnuaout
1004 #endif
1005 #endif
1006 #ifdef __dietlibc__
1007 LIBC=dietlibc
1008 #endif
1009EOF
1010 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1011 /^LIBC/{
1012 s: ::g
1013 p
1014 }'`"
1015 test x"${LIBC}" != x && {
1016 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1017 exit
1018 }
1019 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1020 ;;
1021 i*86:DYNIX/ptx:4*:*) 980 i*86:DYNIX/ptx:4*:*)
1022 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023 # earlier versions are messed up and put the nodename in both 982 # earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
1247 *:Darwin:*:*) 1206 *:Darwin:*:*)
1248 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1207 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249 case $UNAME_PROCESSOR in 1208 case $UNAME_PROCESSOR in
1209 i386)
1210 eval $set_cc_for_build
1211 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1212 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1213 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1214 grep IS_64BIT_ARCH >/dev/null
1215 then
1216 UNAME_PROCESSOR="x86_64"
1217 fi
1218 fi ;;
1250 unknown) UNAME_PROCESSOR=powerpc ;; 1219 unknown) UNAME_PROCESSOR=powerpc ;;
1251 esac 1220 esac
1252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/libraries/ecore/config.h.in b/libraries/ecore/config.h.in
index 06c1d8e..abc5822 100644
--- a/libraries/ecore/config.h.in
+++ b/libraries/ecore/config.h.in
@@ -30,6 +30,9 @@
30 */ 30 */
31#undef BUILD_ECORE_EVAS_EWS 31#undef BUILD_ECORE_EVAS_EWS
32 32
33/* Support for Extn Engine in Ecore_Evas */
34#undef BUILD_ECORE_EVAS_EXTN
35
33/* Support for Linux Framebuffer Engine in Ecore_Evas */ 36/* Support for Linux Framebuffer Engine in Ecore_Evas */
34#undef BUILD_ECORE_EVAS_FB 37#undef BUILD_ECORE_EVAS_FB
35 38
@@ -331,6 +334,9 @@
331/* Define to 1 if you have the `execvp' function. */ 334/* Define to 1 if you have the `execvp' function. */
332#undef HAVE_EXECVP 335#undef HAVE_EXECVP
333 336
337/* Define to 1 if you have Exotic. */
338#undef HAVE_EXOTIC
339
334/* Define to 1 if you have the <features.h> header file. */ 340/* Define to 1 if you have the <features.h> header file. */
335#undef HAVE_FEATURES_H 341#undef HAVE_FEATURES_H
336 342
@@ -403,6 +409,9 @@
403/* File monitoring with polling */ 409/* File monitoring with polling */
404#undef HAVE_POLL 410#undef HAVE_POLL
405 411
412/* Have shm_open() call */
413#undef HAVE_SHM_OPEN
414
406/* Define to 1 if you have the <signal.h> header file. */ 415/* Define to 1 if you have the <signal.h> header file. */
407#undef HAVE_SIGNAL_H 416#undef HAVE_SIGNAL_H
408 417
diff --git a/libraries/ecore/config.sub b/libraries/ecore/config.sub
index eb0389a..c2d1257 100755
--- a/libraries/ecore/config.sub
+++ b/libraries/ecore/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-11' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 39# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 40# Otherwise, we print the canonical config type on stdout and succeed.
41 41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
153 os= 157 os=
154 basic_machine=$1 158 basic_machine=$1
155 ;; 159 ;;
@@ -284,6 +288,7 @@ case $basic_machine in
284 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
285 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286 | pyramid \ 290 | pyramid \
291 | rx \
287 | score \ 292 | score \
288 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289 | sh64 | sh64le \ 294 | sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
291 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292 | spu | strongarm \ 297 | spu | strongarm \
293 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
294 | v850 | v850e \ 300 | v850 | v850e \
295 | we32k \ 301 | we32k \
296 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297 | z8k | z80) 303 | z8k | z80)
298 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
299 ;; 305 ;;
300 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
302 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
303 os=-none 309 os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
340 | lm32-* \ 346 | lm32-* \
341 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
342 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345 | mips16-* \ 351 | mips16-* \
346 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
368 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370 | pyramid-* \ 376 | pyramid-* \
371 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
372 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375 | sparclite-* \ 381 | sparclite-* \
376 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
378 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
379 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
380 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
381 | we32k-* \ 389 | we32k-* \
382 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
726 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
727 os=-sysv 735 os=-sysv
728 ;; 736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
739 ;;
729 mingw32) 740 mingw32)
730 basic_machine=i386-pc 741 basic_machine=i386-pc
731 os=-mingw32 742 os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
1076 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1077 os=-coff 1088 os=-coff
1078 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1079 tile*) 1095 tile*)
1080 basic_machine=tile-unknown 1096 basic_machine=tile-unknown
1081 os=-linux-gnu 1097 os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
1247 # First match some system type aliases 1263 # First match some system type aliases
1248 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1249 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1250 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1251 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252 ;; 1271 ;;
@@ -1268,8 +1287,8 @@ case $os in
1268 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1269 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1272 | -kopensolaris* \ 1291 | -sym* | -kopensolaris* \
1273 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274 | -aos* | -aros* \ 1293 | -aos* | -aros* \
1275 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
1290 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1295 ;; 1314 ;;
1296 -qnx*) 1315 -qnx*)
@@ -1423,6 +1442,8 @@ case $os in
1423 -dicos*) 1442 -dicos*)
1424 os=-dicos 1443 os=-dicos
1425 ;; 1444 ;;
1445 -nacl*)
1446 ;;
1426 -none) 1447 -none)
1427 ;; 1448 ;;
1428 *) 1449 *)
diff --git a/libraries/ecore/configure b/libraries/ecore/configure
index 2ea7dd2..1b2ed41 100755
--- a/libraries/ecore/configure
+++ b/libraries/ecore/configure
@@ -1,13 +1,13 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for ecore 1.1.99.67344. 3# Generated by GNU Autoconf 2.67 for ecore 1.2.0-alpha.
4# 4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>. 5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@ $as_echo X"$as_dir" |
319 test -d "$as_dir" && break 319 test -d "$as_dir" && break
320 done 320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 323
324 324
325} # as_fn_mkdir_p 325} # as_fn_mkdir_p
@@ -359,19 +359,19 @@ else
359fi # as_fn_arith 359fi # as_fn_arith
360 360
361 361
362# as_fn_error ERROR [LINENO LOG_FD] 362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 366# script with STATUS, using 1 if that was 0.
367as_fn_error () 367as_fn_error ()
368{ 368{
369 as_status=$?; test $as_status -eq 0 && as_status=1 369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 370 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 373 fi
374 $as_echo "$as_me: error: $1" >&2 374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 375 as_fn_exit $as_status
376} # as_fn_error 376} # as_fn_error
377 377
@@ -682,7 +682,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1 682exec 6>&1
683 683
684# Name of the host. 684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too. 686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688 688
@@ -701,8 +701,8 @@ MAKEFLAGS=
701# Identity of this package. 701# Identity of this package.
702PACKAGE_NAME='ecore' 702PACKAGE_NAME='ecore'
703PACKAGE_TARNAME='ecore' 703PACKAGE_TARNAME='ecore'
704PACKAGE_VERSION='1.1.99.67344' 704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='ecore 1.1.99.67344' 705PACKAGE_STRING='ecore 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' 706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL='' 707PACKAGE_URL=''
708 708
@@ -772,6 +772,10 @@ EFL_INSTALL_EXAMPLES_FALSE
772EFL_INSTALL_EXAMPLES_TRUE 772EFL_INSTALL_EXAMPLES_TRUE
773EFL_BUILD_EXAMPLES_FALSE 773EFL_BUILD_EXAMPLES_FALSE
774EFL_BUILD_EXAMPLES_TRUE 774EFL_BUILD_EXAMPLES_TRUE
775EFL_ENABLE_TESTS_FALSE
776EFL_ENABLE_TESTS_TRUE
777CHECK_LIBS
778CHECK_CFLAGS
775WAYLAND_EGL_LIBS 779WAYLAND_EGL_LIBS
776WAYLAND_EGL_CFLAGS 780WAYLAND_EGL_CFLAGS
777ecore_wayland_libs 781ecore_wayland_libs
@@ -875,6 +879,7 @@ ecore_con_libs
875ecore_con_cflags 879ecore_con_cflags
876BUILD_ECORE_CON_FALSE 880BUILD_ECORE_CON_FALSE
877BUILD_ECORE_CON_TRUE 881BUILD_ECORE_CON_TRUE
882SHM_OPEN_LIBS
878ALLOCA 883ALLOCA
879lt_enable_auto_import 884lt_enable_auto_import
880WIN32_CFLAGS 885WIN32_CFLAGS
@@ -992,11 +997,18 @@ EFL_ECORE_FILE_BUILD
992EFL_ECORE_EVAS_BUILD 997EFL_ECORE_EVAS_BUILD
993EFL_ECORE_CON_BUILD 998EFL_ECORE_CON_BUILD
994EFL_ECORE_BUILD 999EFL_ECORE_BUILD
1000ECORE_HAVE_EXOTIC_FALSE
1001ECORE_HAVE_EXOTIC_TRUE
1002EXOTIC_LIBS
1003EXOTIC_CFLAGS
995ESCAPE_LIBS 1004ESCAPE_LIBS
996ESCAPE_CFLAGS 1005ESCAPE_CFLAGS
997EVIL_LIBS 1006EVIL_LIBS
998EVIL_CFLAGS 1007EVIL_CFLAGS
999pkgconfig_requires_private 1008pkgconfig_requires_private
1009PKG_CONFIG_LIBDIR
1010PKG_CONFIG_PATH
1011PKG_CONFIG
1000EFL_BUILD_DOC_FALSE 1012EFL_BUILD_DOC_FALSE
1001EFL_BUILD_DOC_TRUE 1013EFL_BUILD_DOC_TRUE
1002efl_doxygen 1014efl_doxygen
@@ -1014,11 +1026,6 @@ OBJCDEPMODE
1014ac_ct_OBJC 1026ac_ct_OBJC
1015OBJCFLAGS 1027OBJCFLAGS
1016OBJC 1028OBJC
1017EFL_ENABLE_TESTS_FALSE
1018EFL_ENABLE_TESTS_TRUE
1019CHECK_LIBS
1020CHECK_CFLAGS
1021PKG_CONFIG
1022HAVE_PO_FALSE 1029HAVE_PO_FALSE
1023HAVE_PO_TRUE 1030HAVE_PO_TRUE
1024POSUB 1031POSUB
@@ -1172,7 +1179,6 @@ enable_local_sockets
1172enable_abstract_sockets 1179enable_abstract_sockets
1173enable_simple_x11 1180enable_simple_x11
1174enable_xim 1181enable_xim
1175enable_tests
1176enable_doc 1182enable_doc
1177with_doxygen 1183with_doxygen
1178enable_ecore_timer_dump 1184enable_ecore_timer_dump
@@ -1243,7 +1249,6 @@ enable_ecore_evas_software_ddraw
1243enable_ecore_evas_direct3d 1249enable_ecore_evas_direct3d
1244enable_ecore_evas_opengl_glew 1250enable_ecore_evas_opengl_glew
1245enable_ecore_evas_software_16_ddraw 1251enable_ecore_evas_software_16_ddraw
1246enable_ecore_evas_software_sdl
1247enable_ecore_evas_opengl_sdl 1252enable_ecore_evas_opengl_sdl
1248enable_ecore_evas_opengl_cocoa 1253enable_ecore_evas_opengl_cocoa
1249enable_ecore_evas_directfb 1254enable_ecore_evas_directfb
@@ -1254,6 +1259,7 @@ enable_ecore_evas_psl1ght
1254enable_ecore_wayland 1259enable_ecore_wayland
1255enable_ecore_evas_wayland_shm 1260enable_ecore_evas_wayland_shm
1256enable_ecore_evas_wayland_egl 1261enable_ecore_evas_wayland_egl
1262enable_tests
1257enable_build_examples 1263enable_build_examples
1258enable_install_examples 1264enable_install_examples
1259' 1265'
@@ -1266,19 +1272,21 @@ LDFLAGS
1266LIBS 1272LIBS
1267CPPFLAGS 1273CPPFLAGS
1268CPP 1274CPP
1269PKG_CONFIG
1270CHECK_CFLAGS
1271CHECK_LIBS
1272OBJC 1275OBJC
1273OBJCFLAGS 1276OBJCFLAGS
1274CXX 1277CXX
1275CXXFLAGS 1278CXXFLAGS
1276CCC 1279CCC
1277CXXCPP 1280CXXCPP
1281PKG_CONFIG
1282PKG_CONFIG_PATH
1283PKG_CONFIG_LIBDIR
1278EVIL_CFLAGS 1284EVIL_CFLAGS
1279EVIL_LIBS 1285EVIL_LIBS
1280ESCAPE_CFLAGS 1286ESCAPE_CFLAGS
1281ESCAPE_LIBS 1287ESCAPE_LIBS
1288EXOTIC_CFLAGS
1289EXOTIC_LIBS
1282EINA_CFLAGS 1290EINA_CFLAGS
1283EINA_LIBS 1291EINA_LIBS
1284GLIB_CFLAGS 1292GLIB_CFLAGS
@@ -1343,7 +1351,9 @@ XCB_X11_LIBS
1343WAYLAND_CFLAGS 1351WAYLAND_CFLAGS
1344WAYLAND_LIBS 1352WAYLAND_LIBS
1345WAYLAND_EGL_CFLAGS 1353WAYLAND_EGL_CFLAGS
1346WAYLAND_EGL_LIBS' 1354WAYLAND_EGL_LIBS
1355CHECK_CFLAGS
1356CHECK_LIBS'
1347 1357
1348 1358
1349# Initialize some variables set by options. 1359# Initialize some variables set by options.
@@ -1406,8 +1416,9 @@ do
1406 fi 1416 fi
1407 1417
1408 case $ac_option in 1418 case $ac_option in
1409 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1419 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1410 *) ac_optarg=yes ;; 1420 *=) ac_optarg= ;;
1421 *) ac_optarg=yes ;;
1411 esac 1422 esac
1412 1423
1413 # Accept the important Cygnus configure options, so we can diagnose typos. 1424 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1452,7 +1463,7 @@ do
1452 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1463 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1453 # Reject names that are not valid shell variable names. 1464 # Reject names that are not valid shell variable names.
1454 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1465 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1455 as_fn_error "invalid feature name: $ac_useropt" 1466 as_fn_error $? "invalid feature name: $ac_useropt"
1456 ac_useropt_orig=$ac_useropt 1467 ac_useropt_orig=$ac_useropt
1457 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1468 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1458 case $ac_user_opts in 1469 case $ac_user_opts in
@@ -1478,7 +1489,7 @@ do
1478 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1489 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1479 # Reject names that are not valid shell variable names. 1490 # Reject names that are not valid shell variable names.
1480 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1491 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1481 as_fn_error "invalid feature name: $ac_useropt" 1492 as_fn_error $? "invalid feature name: $ac_useropt"
1482 ac_useropt_orig=$ac_useropt 1493 ac_useropt_orig=$ac_useropt
1483 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1494 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1484 case $ac_user_opts in 1495 case $ac_user_opts in
@@ -1682,7 +1693,7 @@ do
1682 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1693 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1683 # Reject names that are not valid shell variable names. 1694 # Reject names that are not valid shell variable names.
1684 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1695 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1685 as_fn_error "invalid package name: $ac_useropt" 1696 as_fn_error $? "invalid package name: $ac_useropt"
1686 ac_useropt_orig=$ac_useropt 1697 ac_useropt_orig=$ac_useropt
1687 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1698 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1688 case $ac_user_opts in 1699 case $ac_user_opts in
@@ -1698,7 +1709,7 @@ do
1698 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1709 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1699 # Reject names that are not valid shell variable names. 1710 # Reject names that are not valid shell variable names.
1700 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1711 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1701 as_fn_error "invalid package name: $ac_useropt" 1712 as_fn_error $? "invalid package name: $ac_useropt"
1702 ac_useropt_orig=$ac_useropt 1713 ac_useropt_orig=$ac_useropt
1703 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1714 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1704 case $ac_user_opts in 1715 case $ac_user_opts in
@@ -1728,8 +1739,8 @@ do
1728 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1739 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1729 x_libraries=$ac_optarg ;; 1740 x_libraries=$ac_optarg ;;
1730 1741
1731 -*) as_fn_error "unrecognized option: \`$ac_option' 1742 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1732Try \`$0 --help' for more information." 1743Try \`$0 --help' for more information"
1733 ;; 1744 ;;
1734 1745
1735 *=*) 1746 *=*)
@@ -1737,7 +1748,7 @@ Try \`$0 --help' for more information."
1737 # Reject names that are not valid shell variable names. 1748 # Reject names that are not valid shell variable names.
1738 case $ac_envvar in #( 1749 case $ac_envvar in #(
1739 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1750 '' | [0-9]* | *[!_$as_cr_alnum]* )
1740 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1751 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1741 esac 1752 esac
1742 eval $ac_envvar=\$ac_optarg 1753 eval $ac_envvar=\$ac_optarg
1743 export $ac_envvar ;; 1754 export $ac_envvar ;;
@@ -1755,13 +1766,13 @@ done
1755 1766
1756if test -n "$ac_prev"; then 1767if test -n "$ac_prev"; then
1757 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1768 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1758 as_fn_error "missing argument to $ac_option" 1769 as_fn_error $? "missing argument to $ac_option"
1759fi 1770fi
1760 1771
1761if test -n "$ac_unrecognized_opts"; then 1772if test -n "$ac_unrecognized_opts"; then
1762 case $enable_option_checking in 1773 case $enable_option_checking in
1763 no) ;; 1774 no) ;;
1764 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1775 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1765 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1776 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1766 esac 1777 esac
1767fi 1778fi
@@ -1784,7 +1795,7 @@ do
1784 [\\/$]* | ?:[\\/]* ) continue;; 1795 [\\/$]* | ?:[\\/]* ) continue;;
1785 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1796 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1786 esac 1797 esac
1787 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1798 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1788done 1799done
1789 1800
1790# There might be people who depend on the old broken behavior: `$host' 1801# There might be people who depend on the old broken behavior: `$host'
@@ -1798,8 +1809,8 @@ target=$target_alias
1798if test "x$host_alias" != x; then 1809if test "x$host_alias" != x; then
1799 if test "x$build_alias" = x; then 1810 if test "x$build_alias" = x; then
1800 cross_compiling=maybe 1811 cross_compiling=maybe
1801 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1812 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1802 If a cross compiler is detected then cross compile mode will be used." >&2 1813 If a cross compiler is detected then cross compile mode will be used" >&2
1803 elif test "x$build_alias" != "x$host_alias"; then 1814 elif test "x$build_alias" != "x$host_alias"; then
1804 cross_compiling=yes 1815 cross_compiling=yes
1805 fi 1816 fi
@@ -1814,9 +1825,9 @@ test "$silent" = yes && exec 6>/dev/null
1814ac_pwd=`pwd` && test -n "$ac_pwd" && 1825ac_pwd=`pwd` && test -n "$ac_pwd" &&
1815ac_ls_di=`ls -di .` && 1826ac_ls_di=`ls -di .` &&
1816ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1827ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1817 as_fn_error "working directory cannot be determined" 1828 as_fn_error $? "working directory cannot be determined"
1818test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1829test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1819 as_fn_error "pwd does not report name of working directory" 1830 as_fn_error $? "pwd does not report name of working directory"
1820 1831
1821 1832
1822# Find the source files, if location was not specified. 1833# Find the source files, if location was not specified.
@@ -1855,11 +1866,11 @@ else
1855fi 1866fi
1856if test ! -r "$srcdir/$ac_unique_file"; then 1867if test ! -r "$srcdir/$ac_unique_file"; then
1857 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1868 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1858 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1869 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1859fi 1870fi
1860ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1871ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1861ac_abs_confdir=`( 1872ac_abs_confdir=`(
1862 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1873 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1863 pwd)` 1874 pwd)`
1864# When building in place, set srcdir=. 1875# When building in place, set srcdir=.
1865if test "$ac_abs_confdir" = "$ac_pwd"; then 1876if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1885,7 +1896,7 @@ if test "$ac_init_help" = "long"; then
1885 # Omit some internal or obsolete options to make the list less imposing. 1896 # Omit some internal or obsolete options to make the list less imposing.
1886 # This message is too long to be a string in the A/UX 3.1 sh. 1897 # This message is too long to be a string in the A/UX 3.1 sh.
1887 cat <<_ACEOF 1898 cat <<_ACEOF
1888\`configure' configures ecore 1.1.99.67344 to adapt to many kinds of systems. 1899\`configure' configures ecore 1.2.0-alpha to adapt to many kinds of systems.
1889 1900
1890Usage: $0 [OPTION]... [VAR=VALUE]... 1901Usage: $0 [OPTION]... [VAR=VALUE]...
1891 1902
@@ -1899,7 +1910,7 @@ Configuration:
1899 --help=short display options specific to this package 1910 --help=short display options specific to this package
1900 --help=recursive display the short help of all the included packages 1911 --help=recursive display the short help of all the included packages
1901 -V, --version display version information and exit 1912 -V, --version display version information and exit
1902 -q, --quiet, --silent do not print \`checking...' messages 1913 -q, --quiet, --silent do not print \`checking ...' messages
1903 --cache-file=FILE cache test results in FILE [disabled] 1914 --cache-file=FILE cache test results in FILE [disabled]
1904 -C, --config-cache alias for \`--cache-file=config.cache' 1915 -C, --config-cache alias for \`--cache-file=config.cache'
1905 -n, --no-create do not create output files 1916 -n, --no-create do not create output files
@@ -1959,7 +1970,7 @@ fi
1959 1970
1960if test -n "$ac_init_help"; then 1971if test -n "$ac_init_help"; then
1961 case $ac_init_help in 1972 case $ac_init_help in
1962 short | recursive ) echo "Configuration of ecore 1.1.99.67344:";; 1973 short | recursive ) echo "Configuration of ecore 1.2.0-alpha:";;
1963 esac 1974 esac
1964 cat <<\_ACEOF 1975 cat <<\_ACEOF
1965 1976
@@ -1987,7 +1998,6 @@ Optional Features:
1987 disable abstract sockets. 1998 disable abstract sockets.
1988 --enable-simple-x11 enable simple x11 linking 1999 --enable-simple-x11 enable simple x11 linking
1989 --disable-xim disable X Input Method. 2000 --disable-xim disable X Input Method.
1990 --enable-tests enable tests [default=disabled]
1991 --disable-doc Disable documentation build [default=enabled] 2001 --disable-doc Disable documentation build [default=enabled]
1992 --disable-ecore-timer-dump 2002 --disable-ecore-timer-dump
1993 disable tracking of timer allocation. 2003 disable tracking of timer allocation.
@@ -2102,9 +2112,6 @@ Optional Features:
2102 --enable-ecore-evas-software-16-ddraw 2112 --enable-ecore-evas-software-16-ddraw
2103 enable 16 bpp Software DirectDraw support in the 2113 enable 16 bpp Software DirectDraw support in the
2104 ecore_evas module. 2114 ecore_evas module.
2105 --enable-ecore-evas-software-sdl
2106 enable Software SDL support in the ecore_evas
2107 module.
2108 --enable-ecore-evas-opengl-sdl 2115 --enable-ecore-evas-opengl-sdl
2109 enable OpenGL SDL support in the ecore_evas module. 2116 enable OpenGL SDL support in the ecore_evas module.
2110 --enable-ecore-evas-opengl-cocoa 2117 --enable-ecore-evas-opengl-cocoa
@@ -2126,6 +2133,7 @@ Optional Features:
2126 enable Wayland Shm support in the ecore_evas module. 2133 enable Wayland Shm support in the ecore_evas module.
2127 --enable-ecore-evas-wayland-egl 2134 --enable-ecore-evas-wayland-egl
2128 enable Wayland Egl support in the ecore_evas module. 2135 enable Wayland Egl support in the ecore_evas module.
2136 --enable-tests enable tests [default=disabled]
2129 --enable-build-examples enable building examples [default=disabled] 2137 --enable-build-examples enable building examples [default=disabled]
2130 --enable-install-examples 2138 --enable-install-examples
2131 enable installing example source files 2139 enable installing example source files
@@ -2164,20 +2172,24 @@ Some influential environment variables:
2164 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 2172 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2165 you have headers in a nonstandard directory <include dir> 2173 you have headers in a nonstandard directory <include dir>
2166 CPP C preprocessor 2174 CPP C preprocessor
2167 PKG_CONFIG path to pkg-config utility
2168 CHECK_CFLAGS
2169 C compiler flags for CHECK, overriding pkg-config
2170 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2171 OBJC Objective C compiler command 2175 OBJC Objective C compiler command
2172 OBJCFLAGS Objective C compiler flags 2176 OBJCFLAGS Objective C compiler flags
2173 CXX C++ compiler command 2177 CXX C++ compiler command
2174 CXXFLAGS C++ compiler flags 2178 CXXFLAGS C++ compiler flags
2175 CXXCPP C++ preprocessor 2179 CXXCPP C++ preprocessor
2180 PKG_CONFIG path to pkg-config utility
2181 PKG_CONFIG_PATH
2182 directories to add to pkg-config's search path
2183 PKG_CONFIG_LIBDIR
2184 path overriding pkg-config's built-in search path
2176 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config 2185 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2177 EVIL_LIBS linker flags for EVIL, overriding pkg-config 2186 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2178 ESCAPE_CFLAGS 2187 ESCAPE_CFLAGS
2179 C compiler flags for ESCAPE, overriding pkg-config 2188 C compiler flags for ESCAPE, overriding pkg-config
2180 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config 2189 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
2190 EXOTIC_CFLAGS
2191 C compiler flags for EXOTIC, overriding pkg-config
2192 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2181 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config 2193 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2182 EINA_LIBS linker flags for EINA, overriding pkg-config 2194 EINA_LIBS linker flags for EINA, overriding pkg-config
2183 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 2195 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
@@ -2286,6 +2298,9 @@ Some influential environment variables:
2286 C compiler flags for WAYLAND_EGL, overriding pkg-config 2298 C compiler flags for WAYLAND_EGL, overriding pkg-config
2287 WAYLAND_EGL_LIBS 2299 WAYLAND_EGL_LIBS
2288 linker flags for WAYLAND_EGL, overriding pkg-config 2300 linker flags for WAYLAND_EGL, overriding pkg-config
2301 CHECK_CFLAGS
2302 C compiler flags for CHECK, overriding pkg-config
2303 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2289 2304
2290Use these variables to override the choices made by `configure' or to help 2305Use these variables to override the choices made by `configure' or to help
2291it to find libraries and programs with nonstandard names/locations. 2306it to find libraries and programs with nonstandard names/locations.
@@ -2353,10 +2368,10 @@ fi
2353test -n "$ac_init_help" && exit $ac_status 2368test -n "$ac_init_help" && exit $ac_status
2354if $ac_init_version; then 2369if $ac_init_version; then
2355 cat <<\_ACEOF 2370 cat <<\_ACEOF
2356ecore configure 1.1.99.67344 2371ecore configure 1.2.0-alpha
2357generated by GNU Autoconf 2.65 2372generated by GNU Autoconf 2.67
2358 2373
2359Copyright (C) 2009 Free Software Foundation, Inc. 2374Copyright (C) 2010 Free Software Foundation, Inc.
2360This configure script is free software; the Free Software Foundation 2375This configure script is free software; the Free Software Foundation
2361gives unlimited permission to copy, distribute and modify it. 2376gives unlimited permission to copy, distribute and modify it.
2362_ACEOF 2377_ACEOF
@@ -2426,7 +2441,7 @@ $as_echo "$ac_try_echo"; } >&5
2426 mv -f conftest.er1 conftest.err 2441 mv -f conftest.er1 conftest.err
2427 fi 2442 fi
2428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2429 test $ac_status = 0; } >/dev/null && { 2444 test $ac_status = 0; } > conftest.i && {
2430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2431 test ! -s conftest.err 2446 test ! -s conftest.err
2432 }; then : 2447 }; then :
@@ -2450,10 +2465,10 @@ fi
2450ac_fn_c_check_header_mongrel () 2465ac_fn_c_check_header_mongrel ()
2451{ 2466{
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2468 if eval "test \"\${$3+set}\"" = set; then :
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2455$as_echo_n "checking for $2... " >&6; } 2470$as_echo_n "checking for $2... " >&6; }
2456if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2471if eval "test \"\${$3+set}\"" = set; then :
2457 $as_echo_n "(cached) " >&6 2472 $as_echo_n "(cached) " >&6
2458fi 2473fi
2459eval ac_res=\$$3 2474eval ac_res=\$$3
@@ -2489,7 +2504,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
2489else 2504else
2490 ac_header_preproc=no 2505 ac_header_preproc=no
2491fi 2506fi
2492rm -f conftest.err conftest.$ac_ext 2507rm -f conftest.err conftest.i conftest.$ac_ext
2493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2494$as_echo "$ac_header_preproc" >&6; } 2509$as_echo "$ac_header_preproc" >&6; }
2495 2510
@@ -2512,17 +2527,15 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2512$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2527$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2514$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2529$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2515( cat <<\_ASBOX 2530( $as_echo "## -------------------------------------------------------- ##
2516## -------------------------------------------------------- ##
2517## Report this to enlightenment-devel@lists.sourceforge.net ## 2531## Report this to enlightenment-devel@lists.sourceforge.net ##
2518## -------------------------------------------------------- ## 2532## -------------------------------------------------------- ##"
2519_ASBOX
2520 ) | sed "s/^/$as_me: WARNING: /" >&2 2533 ) | sed "s/^/$as_me: WARNING: /" >&2
2521 ;; 2534 ;;
2522esac 2535esac
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524$as_echo_n "checking for $2... " >&6; } 2537$as_echo_n "checking for $2... " >&6; }
2525if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2538if eval "test \"\${$3+set}\"" = set; then :
2526 $as_echo_n "(cached) " >&6 2539 $as_echo_n "(cached) " >&6
2527else 2540else
2528 eval "$3=\$ac_header_compiler" 2541 eval "$3=\$ac_header_compiler"
@@ -2586,7 +2599,7 @@ ac_fn_c_check_header_compile ()
2586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2588$as_echo_n "checking for $2... " >&6; } 2601$as_echo_n "checking for $2... " >&6; }
2589if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2602if eval "test \"\${$3+set}\"" = set; then :
2590 $as_echo_n "(cached) " >&6 2603 $as_echo_n "(cached) " >&6
2591else 2604else
2592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2662,7 +2675,7 @@ ac_fn_c_check_func ()
2662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2664$as_echo_n "checking for $2... " >&6; } 2677$as_echo_n "checking for $2... " >&6; }
2665if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2678if eval "test \"\${$3+set}\"" = set; then :
2666 $as_echo_n "(cached) " >&6 2679 $as_echo_n "(cached) " >&6
2667else 2680else
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2721,45 +2734,6 @@ $as_echo "$ac_res" >&6; }
2721 2734
2722} # ac_fn_c_check_func 2735} # ac_fn_c_check_func
2723 2736
2724# ac_fn_c_check_decl LINENO SYMBOL VAR
2725# ------------------------------------
2726# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2727ac_fn_c_check_decl ()
2728{
2729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2731$as_echo_n "checking whether $2 is declared... " >&6; }
2732if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2733 $as_echo_n "(cached) " >&6
2734else
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736/* end confdefs.h. */
2737$4
2738int
2739main ()
2740{
2741#ifndef $2
2742 (void) $2;
2743#endif
2744
2745 ;
2746 return 0;
2747}
2748_ACEOF
2749if ac_fn_c_try_compile "$LINENO"; then :
2750 eval "$3=yes"
2751else
2752 eval "$3=no"
2753fi
2754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755fi
2756eval ac_res=\$$3
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758$as_echo "$ac_res" >&6; }
2759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2760
2761} # ac_fn_c_check_decl
2762
2763# ac_fn_objc_try_compile LINENO 2737# ac_fn_objc_try_compile LINENO
2764# ----------------------------- 2738# -----------------------------
2765# Try to compile conftest.$ac_ext, and return whether this succeeded. 2739# Try to compile conftest.$ac_ext, and return whether this succeeded.
@@ -2857,7 +2831,7 @@ $as_echo "$ac_try_echo"; } >&5
2857 mv -f conftest.er1 conftest.err 2831 mv -f conftest.er1 conftest.err
2858 fi 2832 fi
2859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; } >/dev/null && { 2834 test $ac_status = 0; } > conftest.i && {
2861 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2835 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2862 test ! -s conftest.err 2836 test ! -s conftest.err
2863 }; then : 2837 }; then :
@@ -2919,6 +2893,52 @@ fi
2919 2893
2920} # ac_fn_cxx_try_link 2894} # ac_fn_cxx_try_link
2921 2895
2896# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2897# ---------------------------------------------
2898# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2899# accordingly.
2900ac_fn_c_check_decl ()
2901{
2902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2903 as_decl_name=`echo $2|sed 's/ *(.*//'`
2904 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2906$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2907if eval "test \"\${$3+set}\"" = set; then :
2908 $as_echo_n "(cached) " >&6
2909else
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911/* end confdefs.h. */
2912$4
2913int
2914main ()
2915{
2916#ifndef $as_decl_name
2917#ifdef __cplusplus
2918 (void) $as_decl_use;
2919#else
2920 (void) $as_decl_name;
2921#endif
2922#endif
2923
2924 ;
2925 return 0;
2926}
2927_ACEOF
2928if ac_fn_c_try_compile "$LINENO"; then :
2929 eval "$3=yes"
2930else
2931 eval "$3=no"
2932fi
2933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934fi
2935eval ac_res=\$$3
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937$as_echo "$ac_res" >&6; }
2938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2939
2940} # ac_fn_c_check_decl
2941
2922# ac_fn_objc_try_link LINENO 2942# ac_fn_objc_try_link LINENO
2923# -------------------------- 2943# --------------------------
2924# Try to link conftest.$ac_ext, and return whether this succeeded. 2944# Try to link conftest.$ac_ext, and return whether this succeeded.
@@ -3152,7 +3172,7 @@ ac_fn_c_check_type ()
3152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3154$as_echo_n "checking for $2... " >&6; } 3174$as_echo_n "checking for $2... " >&6; }
3155if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 3175if eval "test \"\${$3+set}\"" = set; then :
3156 $as_echo_n "(cached) " >&6 3176 $as_echo_n "(cached) " >&6
3157else 3177else
3158 eval "$3=no" 3178 eval "$3=no"
@@ -3200,8 +3220,8 @@ cat >config.log <<_ACEOF
3200This file contains any messages produced by compilers while 3220This file contains any messages produced by compilers while
3201running configure, to aid debugging if configure makes a mistake. 3221running configure, to aid debugging if configure makes a mistake.
3202 3222
3203It was created by ecore $as_me 1.1.99.67344, which was 3223It was created by ecore $as_me 1.2.0-alpha, which was
3204generated by GNU Autoconf 2.65. Invocation command line was 3224generated by GNU Autoconf 2.67. Invocation command line was
3205 3225
3206 $ $0 $@ 3226 $ $0 $@
3207 3227
@@ -3311,11 +3331,9 @@ trap 'exit_status=$?
3311 { 3331 {
3312 echo 3332 echo
3313 3333
3314 cat <<\_ASBOX 3334 $as_echo "## ---------------- ##
3315## ---------------- ##
3316## Cache variables. ## 3335## Cache variables. ##
3317## ---------------- ## 3336## ---------------- ##"
3318_ASBOX
3319 echo 3337 echo
3320 # The following way of writing the cache mishandles newlines in values, 3338 # The following way of writing the cache mishandles newlines in values,
3321( 3339(
@@ -3349,11 +3367,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3349) 3367)
3350 echo 3368 echo
3351 3369
3352 cat <<\_ASBOX 3370 $as_echo "## ----------------- ##
3353## ----------------- ##
3354## Output variables. ## 3371## Output variables. ##
3355## ----------------- ## 3372## ----------------- ##"
3356_ASBOX
3357 echo 3373 echo
3358 for ac_var in $ac_subst_vars 3374 for ac_var in $ac_subst_vars
3359 do 3375 do
@@ -3366,11 +3382,9 @@ _ASBOX
3366 echo 3382 echo
3367 3383
3368 if test -n "$ac_subst_files"; then 3384 if test -n "$ac_subst_files"; then
3369 cat <<\_ASBOX 3385 $as_echo "## ------------------- ##
3370## ------------------- ##
3371## File substitutions. ## 3386## File substitutions. ##
3372## ------------------- ## 3387## ------------------- ##"
3373_ASBOX
3374 echo 3388 echo
3375 for ac_var in $ac_subst_files 3389 for ac_var in $ac_subst_files
3376 do 3390 do
@@ -3384,11 +3398,9 @@ _ASBOX
3384 fi 3398 fi
3385 3399
3386 if test -s confdefs.h; then 3400 if test -s confdefs.h; then
3387 cat <<\_ASBOX 3401 $as_echo "## ----------- ##
3388## ----------- ##
3389## confdefs.h. ## 3402## confdefs.h. ##
3390## ----------- ## 3403## ----------- ##"
3391_ASBOX
3392 echo 3404 echo
3393 cat confdefs.h 3405 cat confdefs.h
3394 echo 3406 echo
@@ -3443,7 +3455,12 @@ _ACEOF
3443ac_site_file1=NONE 3455ac_site_file1=NONE
3444ac_site_file2=NONE 3456ac_site_file2=NONE
3445if test -n "$CONFIG_SITE"; then 3457if test -n "$CONFIG_SITE"; then
3446 ac_site_file1=$CONFIG_SITE 3458 # We do not want a PATH search for config.site.
3459 case $CONFIG_SITE in #((
3460 -*) ac_site_file1=./$CONFIG_SITE;;
3461 */*) ac_site_file1=$CONFIG_SITE;;
3462 *) ac_site_file1=./$CONFIG_SITE;;
3463 esac
3447elif test "x$prefix" != xNONE; then 3464elif test "x$prefix" != xNONE; then
3448 ac_site_file1=$prefix/share/config.site 3465 ac_site_file1=$prefix/share/config.site
3449 ac_site_file2=$prefix/etc/config.site 3466 ac_site_file2=$prefix/etc/config.site
@@ -3458,7 +3475,11 @@ do
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3475 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3459$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3476$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3460 sed 's/^/| /' "$ac_site_file" >&5 3477 sed 's/^/| /' "$ac_site_file" >&5
3461 . "$ac_site_file" 3478 . "$ac_site_file" \
3479 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481as_fn_error $? "failed to load site script $ac_site_file
3482See \`config.log' for more details" "$LINENO" 5 ; }
3462 fi 3483 fi
3463done 3484done
3464 3485
@@ -3535,7 +3556,7 @@ if $ac_cache_corrupted; then
3535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3556$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3537$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3558$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3538 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3559 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3539fi 3560fi
3540## -------------------- ## 3561## -------------------- ##
3541## Main body of script. ## 3562## Main body of script. ##
@@ -3561,16 +3582,22 @@ am__api_version='1.11'
3561 3582
3562ac_aux_dir= 3583ac_aux_dir=
3563for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3584for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3564 for ac_t in install-sh install.sh shtool; do 3585 if test -f "$ac_dir/install-sh"; then
3565 if test -f "$ac_dir/$ac_t"; then 3586 ac_aux_dir=$ac_dir
3566 ac_aux_dir=$ac_dir 3587 ac_install_sh="$ac_aux_dir/install-sh -c"
3567 ac_install_sh="$ac_aux_dir/$ac_t -c" 3588 break
3568 break 2 3589 elif test -f "$ac_dir/install.sh"; then
3569 fi 3590 ac_aux_dir=$ac_dir
3570 done 3591 ac_install_sh="$ac_aux_dir/install.sh -c"
3592 break
3593 elif test -f "$ac_dir/shtool"; then
3594 ac_aux_dir=$ac_dir
3595 ac_install_sh="$ac_aux_dir/shtool install -c"
3596 break
3597 fi
3571done 3598done
3572if test -z "$ac_aux_dir"; then 3599if test -z "$ac_aux_dir"; then
3573 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3600 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3574fi 3601fi
3575 3602
3576# These three variables are undocumented and unsupported, 3603# These three variables are undocumented and unsupported,
@@ -3686,11 +3713,11 @@ am_lf='
3686' 3713'
3687case `pwd` in 3714case `pwd` in
3688 *[\\\"\#\$\&\'\`$am_lf]*) 3715 *[\\\"\#\$\&\'\`$am_lf]*)
3689 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 3716 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3690esac 3717esac
3691case $srcdir in 3718case $srcdir in
3692 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3719 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3693 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3720 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3694esac 3721esac
3695 3722
3696# Do `set' in a subshell so we don't clobber the current shell's 3723# Do `set' in a subshell so we don't clobber the current shell's
@@ -3712,7 +3739,7 @@ if (
3712 # if, for instance, CONFIG_SHELL is bash and it inherits a 3739 # if, for instance, CONFIG_SHELL is bash and it inherits a
3713 # broken ls alias from the environment. This has actually 3740 # broken ls alias from the environment. This has actually
3714 # happened. Such a system could not be considered "sane". 3741 # happened. Such a system could not be considered "sane".
3715 as_fn_error "ls -t appears to fail. Make sure there is not a broken 3742 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3716alias in your environment" "$LINENO" 5 3743alias in your environment" "$LINENO" 5
3717 fi 3744 fi
3718 3745
@@ -3722,7 +3749,7 @@ then
3722 # Ok. 3749 # Ok.
3723 : 3750 :
3724else 3751else
3725 as_fn_error "newly created file is older than distributed files! 3752 as_fn_error $? "newly created file is older than distributed files!
3726Check your system clock" "$LINENO" 5 3753Check your system clock" "$LINENO" 5
3727fi 3754fi
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -3960,7 +3987,7 @@ done
3960$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3987$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3961set x ${MAKE-make} 3988set x ${MAKE-make}
3962ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3989ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3963if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3990if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3964 $as_echo_n "(cached) " >&6 3991 $as_echo_n "(cached) " >&6
3965else 3992else
3966 cat >conftest.make <<\_ACEOF 3993 cat >conftest.make <<\_ACEOF
@@ -3968,7 +3995,7 @@ SHELL = /bin/sh
3968all: 3995all:
3969 @echo '@@@%%%=$(MAKE)=@@@%%%' 3996 @echo '@@@%%%=$(MAKE)=@@@%%%'
3970_ACEOF 3997_ACEOF
3971# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3998# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3972case `${MAKE-make} -f conftest.make 2>/dev/null` in 3999case `${MAKE-make} -f conftest.make 2>/dev/null` in
3973 *@@@%%%=?*=@@@%%%*) 4000 *@@@%%%=?*=@@@%%%*)
3974 eval ac_cv_prog_make_${ac_make}_set=yes;; 4001 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -4002,7 +4029,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
4002 am__isrc=' -I$(srcdir)' 4029 am__isrc=' -I$(srcdir)'
4003 # test to see if srcdir already configured 4030 # test to see if srcdir already configured
4004 if test -f $srcdir/config.status; then 4031 if test -f $srcdir/config.status; then
4005 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4032 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4006 fi 4033 fi
4007fi 4034fi
4008 4035
@@ -4018,7 +4045,7 @@ fi
4018 4045
4019# Define the identity of the package. 4046# Define the identity of the package.
4020 PACKAGE='ecore' 4047 PACKAGE='ecore'
4021 VERSION='1.1.99.67344' 4048 VERSION='1.2.0-alpha'
4022 4049
4023 4050
4024cat >>confdefs.h <<_ACEOF 4051cat >>confdefs.h <<_ACEOF
@@ -4433,8 +4460,8 @@ fi
4433 4460
4434test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4461test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4436as_fn_error "no acceptable C compiler found in \$PATH 4463as_fn_error $? "no acceptable C compiler found in \$PATH
4437See \`config.log' for more details." "$LINENO" 5; } 4464See \`config.log' for more details" "$LINENO" 5 ; }
4438 4465
4439# Provide some information about the compiler. 4466# Provide some information about the compiler.
4440$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4467$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4548,9 +4575,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4548 4575
4549{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4576{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4551{ as_fn_set_status 77 4578as_fn_error 77 "C compiler cannot create executables
4552as_fn_error "C compiler cannot create executables 4579See \`config.log' for more details" "$LINENO" 5 ; }
4553See \`config.log' for more details." "$LINENO" 5; }; }
4554else 4580else
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4556$as_echo "yes" >&6; } 4582$as_echo "yes" >&6; }
@@ -4592,8 +4618,8 @@ done
4592else 4618else
4593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4620$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4595as_fn_error "cannot compute suffix of executables: cannot compile and link 4621as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4596See \`config.log' for more details." "$LINENO" 5; } 4622See \`config.log' for more details" "$LINENO" 5 ; }
4597fi 4623fi
4598rm -f conftest conftest$ac_cv_exeext 4624rm -f conftest conftest$ac_cv_exeext
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4650,9 +4676,9 @@ $as_echo "$ac_try_echo"; } >&5
4650 else 4676 else
4651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4652$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4653as_fn_error "cannot run C compiled programs. 4679as_fn_error $? "cannot run C compiled programs.
4654If you meant to cross compile, use \`--host'. 4680If you meant to cross compile, use \`--host'.
4655See \`config.log' for more details." "$LINENO" 5; } 4681See \`config.log' for more details" "$LINENO" 5 ; }
4656 fi 4682 fi
4657 fi 4683 fi
4658fi 4684fi
@@ -4703,8 +4729,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4703 4729
4704{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4730{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4705$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4706as_fn_error "cannot compute suffix of object files: cannot compile 4732as_fn_error $? "cannot compute suffix of object files: cannot compile
4707See \`config.log' for more details." "$LINENO" 5; } 4733See \`config.log' for more details" "$LINENO" 5 ; }
4708fi 4734fi
4709rm -f conftest.$ac_cv_objext conftest.$ac_ext 4735rm -f conftest.$ac_cv_objext conftest.$ac_ext
4710fi 4736fi
@@ -5094,7 +5120,7 @@ else
5094 # Broken: fails on valid input. 5120 # Broken: fails on valid input.
5095continue 5121continue
5096fi 5122fi
5097rm -f conftest.err conftest.$ac_ext 5123rm -f conftest.err conftest.i conftest.$ac_ext
5098 5124
5099 # OK, works on sane cases. Now check whether nonexistent headers 5125 # OK, works on sane cases. Now check whether nonexistent headers
5100 # can be detected and how. 5126 # can be detected and how.
@@ -5110,11 +5136,11 @@ else
5110ac_preproc_ok=: 5136ac_preproc_ok=:
5111break 5137break
5112fi 5138fi
5113rm -f conftest.err conftest.$ac_ext 5139rm -f conftest.err conftest.i conftest.$ac_ext
5114 5140
5115done 5141done
5116# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5142# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5117rm -f conftest.err conftest.$ac_ext 5143rm -f conftest.i conftest.err conftest.$ac_ext
5118if $ac_preproc_ok; then : 5144if $ac_preproc_ok; then :
5119 break 5145 break
5120fi 5146fi
@@ -5153,7 +5179,7 @@ else
5153 # Broken: fails on valid input. 5179 # Broken: fails on valid input.
5154continue 5180continue
5155fi 5181fi
5156rm -f conftest.err conftest.$ac_ext 5182rm -f conftest.err conftest.i conftest.$ac_ext
5157 5183
5158 # OK, works on sane cases. Now check whether nonexistent headers 5184 # OK, works on sane cases. Now check whether nonexistent headers
5159 # can be detected and how. 5185 # can be detected and how.
@@ -5169,18 +5195,18 @@ else
5169ac_preproc_ok=: 5195ac_preproc_ok=:
5170break 5196break
5171fi 5197fi
5172rm -f conftest.err conftest.$ac_ext 5198rm -f conftest.err conftest.i conftest.$ac_ext
5173 5199
5174done 5200done
5175# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5201# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5176rm -f conftest.err conftest.$ac_ext 5202rm -f conftest.i conftest.err conftest.$ac_ext
5177if $ac_preproc_ok; then : 5203if $ac_preproc_ok; then :
5178 5204
5179else 5205else
5180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5181$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5182as_fn_error "C preprocessor \"$CPP\" fails sanity check 5208as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5183See \`config.log' for more details." "$LINENO" 5; } 5209See \`config.log' for more details" "$LINENO" 5 ; }
5184fi 5210fi
5185 5211
5186ac_ext=c 5212ac_ext=c
@@ -5241,7 +5267,7 @@ esac
5241 done 5267 done
5242IFS=$as_save_IFS 5268IFS=$as_save_IFS
5243 if test -z "$ac_cv_path_GREP"; then 5269 if test -z "$ac_cv_path_GREP"; then
5244 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5270 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5245 fi 5271 fi
5246else 5272else
5247 ac_cv_path_GREP=$GREP 5273 ac_cv_path_GREP=$GREP
@@ -5307,7 +5333,7 @@ esac
5307 done 5333 done
5308IFS=$as_save_IFS 5334IFS=$as_save_IFS
5309 if test -z "$ac_cv_path_EGREP"; then 5335 if test -z "$ac_cv_path_EGREP"; then
5310 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5336 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5311 fi 5337 fi
5312else 5338else
5313 ac_cv_path_EGREP=$EGREP 5339 ac_cv_path_EGREP=$EGREP
@@ -5439,8 +5465,7 @@ do :
5439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5440ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5466ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5441" 5467"
5442eval as_val=\$$as_ac_Header 5468if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5443 if test "x$as_val" = x""yes; then :
5444 cat >>confdefs.h <<_ACEOF 5469 cat >>confdefs.h <<_ACEOF
5445#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5470#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5446_ACEOF 5471_ACEOF
@@ -5515,7 +5540,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5515 5540
5516# Make sure we can run config.sub. 5541# Make sure we can run config.sub.
5517$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5542$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5518 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5543 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5519 5544
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5521$as_echo_n "checking build system type... " >&6; } 5546$as_echo_n "checking build system type... " >&6; }
@@ -5526,16 +5551,16 @@ else
5526test "x$ac_build_alias" = x && 5551test "x$ac_build_alias" = x &&
5527 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5552 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5528test "x$ac_build_alias" = x && 5553test "x$ac_build_alias" = x &&
5529 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 5554 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5530ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5555ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5531 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5556 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5532 5557
5533fi 5558fi
5534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5535$as_echo "$ac_cv_build" >&6; } 5560$as_echo "$ac_cv_build" >&6; }
5536case $ac_cv_build in 5561case $ac_cv_build in
5537*-*-*) ;; 5562*-*-*) ;;
5538*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 5563*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5539esac 5564esac
5540build=$ac_cv_build 5565build=$ac_cv_build
5541ac_save_IFS=$IFS; IFS='-' 5566ac_save_IFS=$IFS; IFS='-'
@@ -5560,7 +5585,7 @@ else
5560 ac_cv_host=$ac_cv_build 5585 ac_cv_host=$ac_cv_build
5561else 5586else
5562 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5587 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5563 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5588 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5564fi 5589fi
5565 5590
5566fi 5591fi
@@ -5568,7 +5593,7 @@ fi
5568$as_echo "$ac_cv_host" >&6; } 5593$as_echo "$ac_cv_host" >&6; }
5569case $ac_cv_host in 5594case $ac_cv_host in
5570*-*-*) ;; 5595*-*-*) ;;
5571*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 5596*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5572esac 5597esac
5573host=$ac_cv_host 5598host=$ac_cv_host
5574ac_save_IFS=$IFS; IFS='-' 5599ac_save_IFS=$IFS; IFS='-'
@@ -5969,7 +5994,7 @@ esac
5969 done 5994 done
5970IFS=$as_save_IFS 5995IFS=$as_save_IFS
5971 if test -z "$ac_cv_path_SED"; then 5996 if test -z "$ac_cv_path_SED"; then
5972 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 5997 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5973 fi 5998 fi
5974else 5999else
5975 ac_cv_path_SED=$SED 6000 ac_cv_path_SED=$SED
@@ -6048,7 +6073,7 @@ esac
6048 done 6073 done
6049IFS=$as_save_IFS 6074IFS=$as_save_IFS
6050 if test -z "$ac_cv_path_FGREP"; then 6075 if test -z "$ac_cv_path_FGREP"; then
6051 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6076 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6052 fi 6077 fi
6053else 6078else
6054 ac_cv_path_FGREP=$FGREP 6079 ac_cv_path_FGREP=$FGREP
@@ -6164,7 +6189,7 @@ else
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165$as_echo "no" >&6; } 6190$as_echo "no" >&6; }
6166fi 6191fi
6167test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 6192test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6169$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6194$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6170if test "${lt_cv_prog_gnu_ld+set}" = set; then : 6195if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -6366,13 +6391,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
6366else 6391else
6367 lt_cv_nm_interface="BSD nm" 6392 lt_cv_nm_interface="BSD nm"
6368 echo "int some_variable = 0;" > conftest.$ac_ext 6393 echo "int some_variable = 0;" > conftest.$ac_ext
6369 (eval echo "\"\$as_me:6369: $ac_compile\"" >&5) 6394 (eval echo "\"\$as_me:6394: $ac_compile\"" >&5)
6370 (eval "$ac_compile" 2>conftest.err) 6395 (eval "$ac_compile" 2>conftest.err)
6371 cat conftest.err >&5 6396 cat conftest.err >&5
6372 (eval echo "\"\$as_me:6372: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6397 (eval echo "\"\$as_me:6397: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6373 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6398 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6374 cat conftest.err >&5 6399 cat conftest.err >&5
6375 (eval echo "\"\$as_me:6375: output\"" >&5) 6400 (eval echo "\"\$as_me:6400: output\"" >&5)
6376 cat conftest.out >&5 6401 cat conftest.out >&5
6377 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6402 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6378 lt_cv_nm_interface="MS dumpbin" 6403 lt_cv_nm_interface="MS dumpbin"
@@ -7574,7 +7599,7 @@ ia64-*-hpux*)
7574 ;; 7599 ;;
7575*-*-irix6*) 7600*-*-irix6*)
7576 # Find out which ABI we are using. 7601 # Find out which ABI we are using.
7577 echo '#line 7577 "configure"' > conftest.$ac_ext 7602 echo '#line 7602 "configure"' > conftest.$ac_ext
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7579 (eval $ac_compile) 2>&5 7604 (eval $ac_compile) 2>&5
7580 ac_status=$? 7605 ac_status=$?
@@ -8834,11 +8859,11 @@ else
8834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8836 -e 's:$: $lt_compiler_flag:'` 8861 -e 's:$: $lt_compiler_flag:'`
8837 (eval echo "\"\$as_me:8837: $lt_compile\"" >&5) 8862 (eval echo "\"\$as_me:8862: $lt_compile\"" >&5)
8838 (eval "$lt_compile" 2>conftest.err) 8863 (eval "$lt_compile" 2>conftest.err)
8839 ac_status=$? 8864 ac_status=$?
8840 cat conftest.err >&5 8865 cat conftest.err >&5
8841 echo "$as_me:8841: \$? = $ac_status" >&5 8866 echo "$as_me:8866: \$? = $ac_status" >&5
8842 if (exit $ac_status) && test -s "$ac_outfile"; then 8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8843 # The compiler can only warn and ignore the option if not recognized 8868 # The compiler can only warn and ignore the option if not recognized
8844 # So say no if there are warnings other than the usual output. 8869 # So say no if there are warnings other than the usual output.
@@ -9173,11 +9198,11 @@ else
9173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9175 -e 's:$: $lt_compiler_flag:'` 9200 -e 's:$: $lt_compiler_flag:'`
9176 (eval echo "\"\$as_me:9176: $lt_compile\"" >&5) 9201 (eval echo "\"\$as_me:9201: $lt_compile\"" >&5)
9177 (eval "$lt_compile" 2>conftest.err) 9202 (eval "$lt_compile" 2>conftest.err)
9178 ac_status=$? 9203 ac_status=$?
9179 cat conftest.err >&5 9204 cat conftest.err >&5
9180 echo "$as_me:9180: \$? = $ac_status" >&5 9205 echo "$as_me:9205: \$? = $ac_status" >&5
9181 if (exit $ac_status) && test -s "$ac_outfile"; then 9206 if (exit $ac_status) && test -s "$ac_outfile"; then
9182 # The compiler can only warn and ignore the option if not recognized 9207 # The compiler can only warn and ignore the option if not recognized
9183 # So say no if there are warnings other than the usual output. 9208 # So say no if there are warnings other than the usual output.
@@ -9278,11 +9303,11 @@ else
9278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280 -e 's:$: $lt_compiler_flag:'` 9305 -e 's:$: $lt_compiler_flag:'`
9281 (eval echo "\"\$as_me:9281: $lt_compile\"" >&5) 9306 (eval echo "\"\$as_me:9306: $lt_compile\"" >&5)
9282 (eval "$lt_compile" 2>out/conftest.err) 9307 (eval "$lt_compile" 2>out/conftest.err)
9283 ac_status=$? 9308 ac_status=$?
9284 cat out/conftest.err >&5 9309 cat out/conftest.err >&5
9285 echo "$as_me:9285: \$? = $ac_status" >&5 9310 echo "$as_me:9310: \$? = $ac_status" >&5
9286 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9311 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9287 then 9312 then
9288 # The compiler can only warn and ignore the option if not recognized 9313 # The compiler can only warn and ignore the option if not recognized
@@ -9333,11 +9358,11 @@ else
9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9335 -e 's:$: $lt_compiler_flag:'` 9360 -e 's:$: $lt_compiler_flag:'`
9336 (eval echo "\"\$as_me:9336: $lt_compile\"" >&5) 9361 (eval echo "\"\$as_me:9361: $lt_compile\"" >&5)
9337 (eval "$lt_compile" 2>out/conftest.err) 9362 (eval "$lt_compile" 2>out/conftest.err)
9338 ac_status=$? 9363 ac_status=$?
9339 cat out/conftest.err >&5 9364 cat out/conftest.err >&5
9340 echo "$as_me:9340: \$? = $ac_status" >&5 9365 echo "$as_me:9365: \$? = $ac_status" >&5
9341 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9366 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9342 then 9367 then
9343 # The compiler can only warn and ignore the option if not recognized 9368 # The compiler can only warn and ignore the option if not recognized
@@ -11717,7 +11742,7 @@ else
11717 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11742 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11718 lt_status=$lt_dlunknown 11743 lt_status=$lt_dlunknown
11719 cat > conftest.$ac_ext <<_LT_EOF 11744 cat > conftest.$ac_ext <<_LT_EOF
11720#line 11720 "configure" 11745#line 11745 "configure"
11721#include "confdefs.h" 11746#include "confdefs.h"
11722 11747
11723#if HAVE_DLFCN_H 11748#if HAVE_DLFCN_H
@@ -11813,7 +11838,7 @@ else
11813 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11838 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11814 lt_status=$lt_dlunknown 11839 lt_status=$lt_dlunknown
11815 cat > conftest.$ac_ext <<_LT_EOF 11840 cat > conftest.$ac_ext <<_LT_EOF
11816#line 11816 "configure" 11841#line 11841 "configure"
11817#include "confdefs.h" 11842#include "confdefs.h"
11818 11843
11819#if HAVE_DLFCN_H 11844#if HAVE_DLFCN_H
@@ -12052,20 +12077,20 @@ _ACEOF
12052 12077
12053 12078
12054cat >>confdefs.h <<_ACEOF 12079cat >>confdefs.h <<_ACEOF
12055#define VERS_MIN 1 12080#define VERS_MIN 2
12056_ACEOF 12081_ACEOF
12057 12082
12058 12083
12059cat >>confdefs.h <<_ACEOF 12084cat >>confdefs.h <<_ACEOF
12060#define VERS_MIC 99 12085#define VERS_MIC 0
12061_ACEOF 12086_ACEOF
12062 12087
12063 12088
12064cat >>confdefs.h <<_ACEOF 12089cat >>confdefs.h <<_ACEOF
12065#define VERS_REV 67344 12090#define VERS_REV 0
12066_ACEOF 12091_ACEOF
12067 12092
12068version_info="2:99:1" 12093version_info="3:0:2"
12069release_info="" 12094release_info=""
12070 12095
12071 12096
@@ -12489,7 +12514,7 @@ else
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12490$as_echo "no" >&6; } 12515$as_echo "no" >&6; }
12491fi 12516fi
12492test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 12517test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12494$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12519$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12495if test "${acl_cv_prog_gnu_ld+set}" = set; then : 12520if test "${acl_cv_prog_gnu_ld+set}" = set; then :
@@ -13136,7 +13161,7 @@ typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13136 13161
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13138$as_echo_n "checking for GNU gettext in libc... " >&6; } 13163$as_echo_n "checking for GNU gettext in libc... " >&6; }
13139if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then : 13164if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13140 $as_echo_n "(cached) " >&6 13165 $as_echo_n "(cached) " >&6
13141else 13166else
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13807,7 +13832,7 @@ fi
13807 13832
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13809$as_echo_n "checking for GNU gettext in libintl... " >&6; } 13834$as_echo_n "checking for GNU gettext in libintl... " >&6; }
13810if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then : 13835if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13811 $as_echo_n "(cached) " >&6 13836 $as_echo_n "(cached) " >&6
13812else 13837else
13813 gt_save_CPPFLAGS="$CPPFLAGS" 13838 gt_save_CPPFLAGS="$CPPFLAGS"
@@ -14016,7 +14041,7 @@ _ACEOF
14016 14041
14017 with_max_log_level="${withval}" 14042 with_max_log_level="${withval}"
14018 else 14043 else
14019 as_fn_error "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5 14044 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
14020 fi 14045 fi
14021 fi 14046 fi
14022 14047
@@ -14106,6 +14131,7 @@ want_ecore_evas_directfb="no"
14106want_ecore_evas_fb="no" 14131want_ecore_evas_fb="no"
14107want_ecore_evas_software_16_wince="no" 14132want_ecore_evas_software_16_wince="no"
14108want_ecore_evas_ews="yes" 14133want_ecore_evas_ews="yes"
14134want_ecore_evas_extn="yes"
14109want_ecore_evas_wayland_shm="no" 14135want_ecore_evas_wayland_shm="no"
14110want_ecore_evas_wayland_egl="no" 14136want_ecore_evas_wayland_egl="no"
14111 14137
@@ -14114,11 +14140,12 @@ want_ecore_imf_xim="no"
14114want_ecore_imf_scim="no" 14140want_ecore_imf_scim="no"
14115 14141
14116case "$host_os" in 14142case "$host_os" in
14117 mingw32ce* | cegcc*) 14143 mingw32ce*)
14118 want_ecore_con="no" 14144 want_ecore_con="no"
14119 want_ecore_ipc="no" 14145 want_ecore_ipc="no"
14120 want_ecore_wince="yes" 14146 want_ecore_wince="yes"
14121 want_ecore_evas_software_16_wince="yes" 14147 want_ecore_evas_software_16_wince="yes"
14148 want_ecore_evas_extn="no"
14122 ;; 14149 ;;
14123 mingw*) 14150 mingw*)
14124 want_notify_win32="yes" 14151 want_notify_win32="yes"
@@ -14205,60 +14232,6 @@ requirements_ecore_imf_xim=""
14205requirements_ecore_imf_scim="" 14232requirements_ecore_imf_scim=""
14206requirements_ecore_wayland="" 14233requirements_ecore_wayland=""
14207 14234
14208ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
14209if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = x""yes; then :
14210 FOUND_MAXHOSTNAMELEN=yes
14211fi
14212
14213
14214if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
14216$as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
14217
14218 FOUND_MAXHOSTNAMELEN='not found'
14219
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221/* end confdefs.h. */
14222#include <sys/param.h>
14223int
14224main ()
14225{
14226int h = MAXHOSTNAMELEN;
14227 ;
14228 return 0;
14229}
14230_ACEOF
14231if ac_fn_c_try_compile "$LINENO"; then :
14232 FOUND_MAXHOSTNAMELEN='sys/param.h'
14233
14234$as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
14235
14236fi
14237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14238
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240/* end confdefs.h. */
14241#include <netdb.h>
14242int
14243main ()
14244{
14245int h = MAXHOSTNAMELEN;
14246 ;
14247 return 0;
14248}
14249_ACEOF
14250if ac_fn_c_try_compile "$LINENO"; then :
14251 FOUND_MAXHOSTNAMELEN='netdb.h'
14252
14253$as_echo "#define NEED_NETDB_H 1" >>confdefs.h
14254
14255fi
14256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14257
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
14259$as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
14260fi
14261
14262### Additional options to configure 14235### Additional options to configure
14263 14236
14264want_glib_integration_always=no 14237want_glib_integration_always=no
@@ -14290,7 +14263,7 @@ $as_echo "#define USE_G_MAIN_LOOP 1" >>confdefs.h
14290fi 14263fi
14291 14264
14292if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then 14265if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
14293 as_fn_error "--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive" "$LINENO" 5 14266 as_fn_error $? "--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive" "$LINENO" 5
14294fi 14267fi
14295 14268
14296# local sockets (ecore_con.c) 14269# local sockets (ecore_con.c)
@@ -14364,238 +14337,6 @@ $as_echo "#define ENABLE_XIM 1" >>confdefs.h
14364 14337
14365fi 14338fi
14366 14339
14367# Unit tests
14368
14369
14370
14371if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14372 if test -n "$ac_tool_prefix"; then
14373 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14374set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14376$as_echo_n "checking for $ac_word... " >&6; }
14377if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14378 $as_echo_n "(cached) " >&6
14379else
14380 case $PKG_CONFIG in
14381 [\\/]* | ?:[\\/]*)
14382 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14383 ;;
14384 *)
14385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14386for as_dir in $PATH
14387do
14388 IFS=$as_save_IFS
14389 test -z "$as_dir" && as_dir=.
14390 for ac_exec_ext in '' $ac_executable_extensions; do
14391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14392 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14394 break 2
14395 fi
14396done
14397 done
14398IFS=$as_save_IFS
14399
14400 ;;
14401esac
14402fi
14403PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14404if test -n "$PKG_CONFIG"; then
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14406$as_echo "$PKG_CONFIG" >&6; }
14407else
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14409$as_echo "no" >&6; }
14410fi
14411
14412
14413fi
14414if test -z "$ac_cv_path_PKG_CONFIG"; then
14415 ac_pt_PKG_CONFIG=$PKG_CONFIG
14416 # Extract the first word of "pkg-config", so it can be a program name with args.
14417set dummy pkg-config; ac_word=$2
14418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14419$as_echo_n "checking for $ac_word... " >&6; }
14420if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14421 $as_echo_n "(cached) " >&6
14422else
14423 case $ac_pt_PKG_CONFIG in
14424 [\\/]* | ?:[\\/]*)
14425 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14426 ;;
14427 *)
14428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14429for as_dir in $PATH
14430do
14431 IFS=$as_save_IFS
14432 test -z "$as_dir" && as_dir=.
14433 for ac_exec_ext in '' $ac_executable_extensions; do
14434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14435 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14437 break 2
14438 fi
14439done
14440 done
14441IFS=$as_save_IFS
14442
14443 ;;
14444esac
14445fi
14446ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14447if test -n "$ac_pt_PKG_CONFIG"; then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14449$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14450else
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14452$as_echo "no" >&6; }
14453fi
14454
14455 if test "x$ac_pt_PKG_CONFIG" = x; then
14456 PKG_CONFIG=""
14457 else
14458 case $cross_compiling:$ac_tool_warned in
14459yes:)
14460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14462ac_tool_warned=yes ;;
14463esac
14464 PKG_CONFIG=$ac_pt_PKG_CONFIG
14465 fi
14466else
14467 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14468fi
14469
14470fi
14471if test -n "$PKG_CONFIG"; then
14472 _pkg_min_version=0.9.0
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14474$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14475 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14477$as_echo "yes" >&6; }
14478 else
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14480$as_echo "no" >&6; }
14481 PKG_CONFIG=""
14482 fi
14483
14484fi
14485
14486
14487
14488# Check whether --enable-tests was given.
14489if test "${enable_tests+set}" = set; then :
14490 enableval=$enable_tests;
14491 if test "x${enableval}" = "xyes" ; then
14492 _efl_enable_tests="yes"
14493 else
14494 _efl_enable_tests="no"
14495 fi
14496
14497else
14498 _efl_enable_tests="no"
14499fi
14500
14501
14502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
14503$as_echo_n "checking whether tests are built... " >&6; }
14504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
14505$as_echo "${_efl_enable_tests}" >&6; }
14506
14507
14508
14509if test "x${_efl_enable_tests}" = "xyes" ; then
14510
14511pkg_failed=no
14512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
14513$as_echo_n "checking for CHECK... " >&6; }
14514
14515if test -n "$PKG_CONFIG"; then
14516 if test -n "$CHECK_CFLAGS"; then
14517 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
14518 else
14519 if test -n "$PKG_CONFIG" && \
14520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
14521 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
14522 ac_status=$?
14523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14524 test $ac_status = 0; }; then
14525 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
14526else
14527 pkg_failed=yes
14528fi
14529 fi
14530else
14531 pkg_failed=untried
14532fi
14533if test -n "$PKG_CONFIG"; then
14534 if test -n "$CHECK_LIBS"; then
14535 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
14536 else
14537 if test -n "$PKG_CONFIG" && \
14538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
14539 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
14540 ac_status=$?
14541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542 test $ac_status = 0; }; then
14543 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
14544else
14545 pkg_failed=yes
14546fi
14547 fi
14548else
14549 pkg_failed=untried
14550fi
14551
14552
14553
14554if test $pkg_failed = yes; then
14555
14556if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14557 _pkg_short_errors_supported=yes
14558else
14559 _pkg_short_errors_supported=no
14560fi
14561 if test $_pkg_short_errors_supported = yes; then
14562 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "check >= 0.9.5"`
14563 else
14564 CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "check >= 0.9.5"`
14565 fi
14566 # Put the nasty error message in config.log where it belongs
14567 echo "$CHECK_PKG_ERRORS" >&5
14568
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14570$as_echo "no" >&6; }
14571 _efl_enable_tests="no"
14572elif test $pkg_failed = untried; then
14573 _efl_enable_tests="no"
14574else
14575 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
14576 CHECK_LIBS=$pkg_cv_CHECK_LIBS
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14578$as_echo "yes" >&6; }
14579 dummy="yes"
14580fi
14581fi
14582
14583 if test "x${_efl_enable_tests}" = "xyes"; then
14584 EFL_ENABLE_TESTS_TRUE=
14585 EFL_ENABLE_TESTS_FALSE='#'
14586else
14587 EFL_ENABLE_TESTS_TRUE='#'
14588 EFL_ENABLE_TESTS_FALSE=
14589fi
14590
14591
14592if test "x$_efl_enable_tests" = "xyes"; then :
14593 enable_tests="yes"
14594else
14595 enable_tests="no"
14596fi
14597
14598
14599### Checks for programs 14340### Checks for programs
14600 14341
14601 14342
@@ -15923,7 +15664,7 @@ else
15923 # Broken: fails on valid input. 15664 # Broken: fails on valid input.
15924continue 15665continue
15925fi 15666fi
15926rm -f conftest.err conftest.$ac_ext 15667rm -f conftest.err conftest.i conftest.$ac_ext
15927 15668
15928 # OK, works on sane cases. Now check whether nonexistent headers 15669 # OK, works on sane cases. Now check whether nonexistent headers
15929 # can be detected and how. 15670 # can be detected and how.
@@ -15939,11 +15680,11 @@ else
15939ac_preproc_ok=: 15680ac_preproc_ok=:
15940break 15681break
15941fi 15682fi
15942rm -f conftest.err conftest.$ac_ext 15683rm -f conftest.err conftest.i conftest.$ac_ext
15943 15684
15944done 15685done
15945# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15686# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15946rm -f conftest.err conftest.$ac_ext 15687rm -f conftest.i conftest.err conftest.$ac_ext
15947if $ac_preproc_ok; then : 15688if $ac_preproc_ok; then :
15948 break 15689 break
15949fi 15690fi
@@ -15982,7 +15723,7 @@ else
15982 # Broken: fails on valid input. 15723 # Broken: fails on valid input.
15983continue 15724continue
15984fi 15725fi
15985rm -f conftest.err conftest.$ac_ext 15726rm -f conftest.err conftest.i conftest.$ac_ext
15986 15727
15987 # OK, works on sane cases. Now check whether nonexistent headers 15728 # OK, works on sane cases. Now check whether nonexistent headers
15988 # can be detected and how. 15729 # can be detected and how.
@@ -15998,11 +15739,11 @@ else
15998ac_preproc_ok=: 15739ac_preproc_ok=:
15999break 15740break
16000fi 15741fi
16001rm -f conftest.err conftest.$ac_ext 15742rm -f conftest.err conftest.i conftest.$ac_ext
16002 15743
16003done 15744done
16004# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 15745# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16005rm -f conftest.err conftest.$ac_ext 15746rm -f conftest.i conftest.err conftest.$ac_ext
16006if $ac_preproc_ok; then : 15747if $ac_preproc_ok; then :
16007 15748
16008else 15749else
@@ -16231,7 +15972,7 @@ else
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16232$as_echo "no" >&6; } 15973$as_echo "no" >&6; }
16233fi 15974fi
16234test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 15975test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 15976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16236$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 15977$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16237if test "${lt_cv_prog_gnu_ld+set}" = set; then : 15978if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -17772,11 +17513,11 @@ else
17772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17774 -e 's:$: $lt_compiler_flag:'` 17515 -e 's:$: $lt_compiler_flag:'`
17775 (eval echo "\"\$as_me:17775: $lt_compile\"" >&5) 17516 (eval echo "\"\$as_me:17516: $lt_compile\"" >&5)
17776 (eval "$lt_compile" 2>conftest.err) 17517 (eval "$lt_compile" 2>conftest.err)
17777 ac_status=$? 17518 ac_status=$?
17778 cat conftest.err >&5 17519 cat conftest.err >&5
17779 echo "$as_me:17779: \$? = $ac_status" >&5 17520 echo "$as_me:17520: \$? = $ac_status" >&5
17780 if (exit $ac_status) && test -s "$ac_outfile"; then 17521 if (exit $ac_status) && test -s "$ac_outfile"; then
17781 # The compiler can only warn and ignore the option if not recognized 17522 # The compiler can only warn and ignore the option if not recognized
17782 # So say no if there are warnings other than the usual output. 17523 # So say no if there are warnings other than the usual output.
@@ -17871,11 +17612,11 @@ else
17871 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17872 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17873 -e 's:$: $lt_compiler_flag:'` 17614 -e 's:$: $lt_compiler_flag:'`
17874 (eval echo "\"\$as_me:17874: $lt_compile\"" >&5) 17615 (eval echo "\"\$as_me:17615: $lt_compile\"" >&5)
17875 (eval "$lt_compile" 2>out/conftest.err) 17616 (eval "$lt_compile" 2>out/conftest.err)
17876 ac_status=$? 17617 ac_status=$?
17877 cat out/conftest.err >&5 17618 cat out/conftest.err >&5
17878 echo "$as_me:17878: \$? = $ac_status" >&5 17619 echo "$as_me:17619: \$? = $ac_status" >&5
17879 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17620 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17880 then 17621 then
17881 # The compiler can only warn and ignore the option if not recognized 17622 # The compiler can only warn and ignore the option if not recognized
@@ -17923,11 +17664,11 @@ else
17923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 17664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17925 -e 's:$: $lt_compiler_flag:'` 17666 -e 's:$: $lt_compiler_flag:'`
17926 (eval echo "\"\$as_me:17926: $lt_compile\"" >&5) 17667 (eval echo "\"\$as_me:17667: $lt_compile\"" >&5)
17927 (eval "$lt_compile" 2>out/conftest.err) 17668 (eval "$lt_compile" 2>out/conftest.err)
17928 ac_status=$? 17669 ac_status=$?
17929 cat out/conftest.err >&5 17670 cat out/conftest.err >&5
17930 echo "$as_me:17930: \$? = $ac_status" >&5 17671 echo "$as_me:17671: \$? = $ac_status" >&5
17931 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17672 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17932 then 17673 then
17933 # The compiler can only warn and ignore the option if not recognized 17674 # The compiler can only warn and ignore the option if not recognized
@@ -19171,8 +18912,8 @@ fi
19171 18912
19172test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18913test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18914$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19174as_fn_error "no acceptable C compiler found in \$PATH 18915as_fn_error $? "no acceptable C compiler found in \$PATH
19175See \`config.log' for more details." "$LINENO" 5; } 18916See \`config.log' for more details" "$LINENO" 5 ; }
19176 18917
19177# Provide some information about the compiler. 18918# Provide some information about the compiler.
19178$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 18919$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -19798,6 +19539,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
19798# so we should include this here: 19539# so we should include this here:
19799 19540
19800 19541
19542
19543
19544
19545
19801if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 19546if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19802 if test -n "$ac_tool_prefix"; then 19547 if test -n "$ac_tool_prefix"; then
19803 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 19548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -19910,7 +19655,6 @@ $as_echo "yes" >&6; }
19910$as_echo "no" >&6; } 19655$as_echo "no" >&6; }
19911 PKG_CONFIG="" 19656 PKG_CONFIG=""
19912 fi 19657 fi
19913
19914fi 19658fi
19915 19659
19916# Check whether pkg-config supports Requires.private 19660# Check whether pkg-config supports Requires.private
@@ -19960,11 +19704,10 @@ pkg_failed=no
19960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5 19704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
19961$as_echo_n "checking for EVIL... " >&6; } 19705$as_echo_n "checking for EVIL... " >&6; }
19962 19706
19963if test -n "$PKG_CONFIG"; then 19707if test -n "$EVIL_CFLAGS"; then
19964 if test -n "$EVIL_CFLAGS"; then 19708 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
19965 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS" 19709 elif test -n "$PKG_CONFIG"; then
19966 else 19710 if test -n "$PKG_CONFIG" && \
19967 if test -n "$PKG_CONFIG" && \
19968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 19711 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
19969 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 19712 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
19970 ac_status=$? 19713 ac_status=$?
@@ -19974,15 +19717,13 @@ if test -n "$PKG_CONFIG"; then
19974else 19717else
19975 pkg_failed=yes 19718 pkg_failed=yes
19976fi 19719fi
19977 fi 19720 else
19978else 19721 pkg_failed=untried
19979 pkg_failed=untried
19980fi 19722fi
19981if test -n "$PKG_CONFIG"; then 19723if test -n "$EVIL_LIBS"; then
19982 if test -n "$EVIL_LIBS"; then 19724 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
19983 pkg_cv_EVIL_LIBS="$EVIL_LIBS" 19725 elif test -n "$PKG_CONFIG"; then
19984 else 19726 if test -n "$PKG_CONFIG" && \
19985 if test -n "$PKG_CONFIG" && \
19986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 19727 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
19987 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 19728 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
19988 ac_status=$? 19729 ac_status=$?
@@ -19992,14 +19733,15 @@ if test -n "$PKG_CONFIG"; then
19992else 19733else
19993 pkg_failed=yes 19734 pkg_failed=yes
19994fi 19735fi
19995 fi 19736 else
19996else 19737 pkg_failed=untried
19997 pkg_failed=untried
19998fi 19738fi
19999 19739
20000 19740
20001 19741
20002if test $pkg_failed = yes; then 19742if test $pkg_failed = yes; then
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19744$as_echo "no" >&6; }
20003 19745
20004if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19746if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20005 _pkg_short_errors_supported=yes 19747 _pkg_short_errors_supported=yes
@@ -20007,14 +19749,14 @@ else
20007 _pkg_short_errors_supported=no 19749 _pkg_short_errors_supported=no
20008fi 19750fi
20009 if test $_pkg_short_errors_supported = yes; then 19751 if test $_pkg_short_errors_supported = yes; then
20010 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil >= 1.0.0"` 19752 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
20011 else 19753 else
20012 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil >= 1.0.0"` 19754 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
20013 fi 19755 fi
20014 # Put the nasty error message in config.log where it belongs 19756 # Put the nasty error message in config.log where it belongs
20015 echo "$EVIL_PKG_ERRORS" >&5 19757 echo "$EVIL_PKG_ERRORS" >&5
20016 19758
20017 as_fn_error "Package requirements (evil >= 1.0.0) were not met: 19759 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
20018 19760
20019$EVIL_PKG_ERRORS 19761$EVIL_PKG_ERRORS
20020 19762
@@ -20023,12 +19765,13 @@ installed software in a non-standard prefix.
20023 19765
20024Alternatively, you may set the environment variables EVIL_CFLAGS 19766Alternatively, you may set the environment variables EVIL_CFLAGS
20025and EVIL_LIBS to avoid the need to call pkg-config. 19767and EVIL_LIBS to avoid the need to call pkg-config.
20026See the pkg-config man page for more details. 19768See the pkg-config man page for more details." "$LINENO" 5
20027" "$LINENO" 5
20028elif test $pkg_failed = untried; then 19769elif test $pkg_failed = untried; then
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19771$as_echo "no" >&6; }
20029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20031as_fn_error "The pkg-config script could not be found or is too old. Make sure it 19774as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20032is in your PATH or set the PKG_CONFIG environment variable to the full 19775is in your PATH or set the PKG_CONFIG environment variable to the full
20033path to pkg-config. 19776path to pkg-config.
20034 19777
@@ -20037,13 +19780,13 @@ and EVIL_LIBS to avoid the need to call pkg-config.
20037See the pkg-config man page for more details. 19780See the pkg-config man page for more details.
20038 19781
20039To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19782To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20040See \`config.log' for more details." "$LINENO" 5; } 19783See \`config.log' for more details" "$LINENO" 5 ; }
20041else 19784else
20042 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS 19785 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
20043 EVIL_LIBS=$pkg_cv_EVIL_LIBS 19786 EVIL_LIBS=$pkg_cv_EVIL_LIBS
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20045$as_echo "yes" >&6; } 19788$as_echo "yes" >&6; }
20046 : 19789
20047fi 19790fi
20048 19791
20049$as_echo "#define HAVE_EVIL 1" >>confdefs.h 19792$as_echo "#define HAVE_EVIL 1" >>confdefs.h
@@ -20091,11 +19834,10 @@ pkg_failed=no
20091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5 19834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
20092$as_echo_n "checking for ESCAPE... " >&6; } 19835$as_echo_n "checking for ESCAPE... " >&6; }
20093 19836
20094if test -n "$PKG_CONFIG"; then 19837if test -n "$ESCAPE_CFLAGS"; then
20095 if test -n "$ESCAPE_CFLAGS"; then 19838 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
20096 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS" 19839 elif test -n "$PKG_CONFIG"; then
20097 else 19840 if test -n "$PKG_CONFIG" && \
20098 if test -n "$PKG_CONFIG" && \
20099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5 19841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20100 ($PKG_CONFIG --exists --print-errors "escape") 2>&5 19842 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20101 ac_status=$? 19843 ac_status=$?
@@ -20105,15 +19847,13 @@ if test -n "$PKG_CONFIG"; then
20105else 19847else
20106 pkg_failed=yes 19848 pkg_failed=yes
20107fi 19849fi
20108 fi 19850 else
20109else 19851 pkg_failed=untried
20110 pkg_failed=untried
20111fi 19852fi
20112if test -n "$PKG_CONFIG"; then 19853if test -n "$ESCAPE_LIBS"; then
20113 if test -n "$ESCAPE_LIBS"; then 19854 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
20114 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS" 19855 elif test -n "$PKG_CONFIG"; then
20115 else 19856 if test -n "$PKG_CONFIG" && \
20116 if test -n "$PKG_CONFIG" && \
20117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5 19857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
20118 ($PKG_CONFIG --exists --print-errors "escape") 2>&5 19858 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
20119 ac_status=$? 19859 ac_status=$?
@@ -20123,14 +19863,15 @@ if test -n "$PKG_CONFIG"; then
20123else 19863else
20124 pkg_failed=yes 19864 pkg_failed=yes
20125fi 19865fi
20126 fi 19866 else
20127else 19867 pkg_failed=untried
20128 pkg_failed=untried
20129fi 19868fi
20130 19869
20131 19870
20132 19871
20133if test $pkg_failed = yes; then 19872if test $pkg_failed = yes; then
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19874$as_echo "no" >&6; }
20134 19875
20135if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 19876if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20136 _pkg_short_errors_supported=yes 19877 _pkg_short_errors_supported=yes
@@ -20138,14 +19879,14 @@ else
20138 _pkg_short_errors_supported=no 19879 _pkg_short_errors_supported=no
20139fi 19880fi
20140 if test $_pkg_short_errors_supported = yes; then 19881 if test $_pkg_short_errors_supported = yes; then
20141 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "escape"` 19882 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "escape" 2>&1`
20142 else 19883 else
20143 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "escape"` 19884 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "escape" 2>&1`
20144 fi 19885 fi
20145 # Put the nasty error message in config.log where it belongs 19886 # Put the nasty error message in config.log where it belongs
20146 echo "$ESCAPE_PKG_ERRORS" >&5 19887 echo "$ESCAPE_PKG_ERRORS" >&5
20147 19888
20148 as_fn_error "Package requirements (escape) were not met: 19889 as_fn_error $? "Package requirements (escape) were not met:
20149 19890
20150$ESCAPE_PKG_ERRORS 19891$ESCAPE_PKG_ERRORS
20151 19892
@@ -20154,12 +19895,13 @@ installed software in a non-standard prefix.
20154 19895
20155Alternatively, you may set the environment variables ESCAPE_CFLAGS 19896Alternatively, you may set the environment variables ESCAPE_CFLAGS
20156and ESCAPE_LIBS to avoid the need to call pkg-config. 19897and ESCAPE_LIBS to avoid the need to call pkg-config.
20157See the pkg-config man page for more details. 19898See the pkg-config man page for more details." "$LINENO" 5
20158" "$LINENO" 5
20159elif test $pkg_failed = untried; then 19899elif test $pkg_failed = untried; then
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19901$as_echo "no" >&6; }
20160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19903$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20162as_fn_error "The pkg-config script could not be found or is too old. Make sure it 19904as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20163is in your PATH or set the PKG_CONFIG environment variable to the full 19905is in your PATH or set the PKG_CONFIG environment variable to the full
20164path to pkg-config. 19906path to pkg-config.
20165 19907
@@ -20168,13 +19910,13 @@ and ESCAPE_LIBS to avoid the need to call pkg-config.
20168See the pkg-config man page for more details. 19910See the pkg-config man page for more details.
20169 19911
20170To get pkg-config, see <http://pkg-config.freedesktop.org/>. 19912To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20171See \`config.log' for more details." "$LINENO" 5; } 19913See \`config.log' for more details" "$LINENO" 5 ; }
20172else 19914else
20173 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS 19915 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
20174 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS 19916 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20176$as_echo "yes" >&6; } 19918$as_echo "yes" >&6; }
20177 : 19919
20178fi 19920fi
20179 CFLAGS="$CFLAGS $ESCAPE_CFLAGS" 19921 CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
20180 19922
@@ -20193,6 +19935,95 @@ $as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
20193esac 19935esac
20194 19936
20195 19937
19938### Checks for portability layer
19939
19940
19941pkg_failed=no
19942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
19943$as_echo_n "checking for EXOTIC... " >&6; }
19944
19945if test -n "$EXOTIC_CFLAGS"; then
19946 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
19947 elif test -n "$PKG_CONFIG"; then
19948 if test -n "$PKG_CONFIG" && \
19949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
19950 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
19951 ac_status=$?
19952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19953 test $ac_status = 0; }; then
19954 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
19955else
19956 pkg_failed=yes
19957fi
19958 else
19959 pkg_failed=untried
19960fi
19961if test -n "$EXOTIC_LIBS"; then
19962 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
19963 elif test -n "$PKG_CONFIG"; then
19964 if test -n "$PKG_CONFIG" && \
19965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
19966 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
19967 ac_status=$?
19968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19969 test $ac_status = 0; }; then
19970 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
19971else
19972 pkg_failed=yes
19973fi
19974 else
19975 pkg_failed=untried
19976fi
19977
19978
19979
19980if test $pkg_failed = yes; then
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19982$as_echo "no" >&6; }
19983
19984if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19985 _pkg_short_errors_supported=yes
19986else
19987 _pkg_short_errors_supported=no
19988fi
19989 if test $_pkg_short_errors_supported = yes; then
19990 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
19991 else
19992 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
19993 fi
19994 # Put the nasty error message in config.log where it belongs
19995 echo "$EXOTIC_PKG_ERRORS" >&5
19996
19997 enable_exotic="no"
19998elif test $pkg_failed = untried; then
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20000$as_echo "no" >&6; }
20001 enable_exotic="no"
20002else
20003 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
20004 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20006$as_echo "yes" >&6; }
20007 enable_exotic="yes"
20008fi
20009
20010if test "x${enable_exotic}" = "xyes"; then
20011 requirements_ecore="exotic ${requirements_ecore}"
20012
20013
20014$as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
20015
20016fi
20017 if test "x${enable_exotic}" = "xyes"; then
20018 ECORE_HAVE_EXOTIC_TRUE=
20019 ECORE_HAVE_EXOTIC_FALSE='#'
20020else
20021 ECORE_HAVE_EXOTIC_TRUE='#'
20022 ECORE_HAVE_EXOTIC_FALSE=
20023fi
20024
20025
20026
20196 20027
20197 20028
20198 20029
@@ -20431,46 +20262,44 @@ pkg_failed=no
20431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5 20262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
20432$as_echo_n "checking for EINA... " >&6; } 20263$as_echo_n "checking for EINA... " >&6; }
20433 20264
20434if test -n "$PKG_CONFIG"; then 20265if test -n "$EINA_CFLAGS"; then
20435 if test -n "$EINA_CFLAGS"; then 20266 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
20436 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS" 20267 elif test -n "$PKG_CONFIG"; then
20437 else 20268 if test -n "$PKG_CONFIG" && \
20438 if test -n "$PKG_CONFIG" && \ 20269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
20439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 20270 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
20440 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
20441 ac_status=$? 20271 ac_status=$?
20442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20443 test $ac_status = 0; }; then 20273 test $ac_status = 0; }; then
20444 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.1.0" 2>/dev/null` 20274 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
20445else 20275else
20446 pkg_failed=yes 20276 pkg_failed=yes
20447fi 20277fi
20448 fi 20278 else
20449else 20279 pkg_failed=untried
20450 pkg_failed=untried
20451fi 20280fi
20452if test -n "$PKG_CONFIG"; then 20281if test -n "$EINA_LIBS"; then
20453 if test -n "$EINA_LIBS"; then 20282 pkg_cv_EINA_LIBS="$EINA_LIBS"
20454 pkg_cv_EINA_LIBS="$EINA_LIBS" 20283 elif test -n "$PKG_CONFIG"; then
20455 else 20284 if test -n "$PKG_CONFIG" && \
20456 if test -n "$PKG_CONFIG" && \ 20285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
20457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 20286 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
20458 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
20459 ac_status=$? 20287 ac_status=$?
20460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20461 test $ac_status = 0; }; then 20289 test $ac_status = 0; }; then
20462 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.1.0" 2>/dev/null` 20290 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
20463else 20291else
20464 pkg_failed=yes 20292 pkg_failed=yes
20465fi 20293fi
20466 fi 20294 else
20467else 20295 pkg_failed=untried
20468 pkg_failed=untried
20469fi 20296fi
20470 20297
20471 20298
20472 20299
20473if test $pkg_failed = yes; then 20300if test $pkg_failed = yes; then
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20302$as_echo "no" >&6; }
20474 20303
20475if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20304if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20476 _pkg_short_errors_supported=yes 20305 _pkg_short_errors_supported=yes
@@ -20478,14 +20307,14 @@ else
20478 _pkg_short_errors_supported=no 20307 _pkg_short_errors_supported=no
20479fi 20308fi
20480 if test $_pkg_short_errors_supported = yes; then 20309 if test $_pkg_short_errors_supported = yes; then
20481 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eina >= 1.1.0"` 20310 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
20482 else 20311 else
20483 EINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eina >= 1.1.0"` 20312 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
20484 fi 20313 fi
20485 # Put the nasty error message in config.log where it belongs 20314 # Put the nasty error message in config.log where it belongs
20486 echo "$EINA_PKG_ERRORS" >&5 20315 echo "$EINA_PKG_ERRORS" >&5
20487 20316
20488 as_fn_error "Package requirements (eina >= 1.1.0) were not met: 20317 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
20489 20318
20490$EINA_PKG_ERRORS 20319$EINA_PKG_ERRORS
20491 20320
@@ -20494,12 +20323,13 @@ installed software in a non-standard prefix.
20494 20323
20495Alternatively, you may set the environment variables EINA_CFLAGS 20324Alternatively, you may set the environment variables EINA_CFLAGS
20496and EINA_LIBS to avoid the need to call pkg-config. 20325and EINA_LIBS to avoid the need to call pkg-config.
20497See the pkg-config man page for more details. 20326See the pkg-config man page for more details." "$LINENO" 5
20498" "$LINENO" 5
20499elif test $pkg_failed = untried; then 20327elif test $pkg_failed = untried; then
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20329$as_echo "no" >&6; }
20500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20501$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20502as_fn_error "The pkg-config script could not be found or is too old. Make sure it 20332as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20503is in your PATH or set the PKG_CONFIG environment variable to the full 20333is in your PATH or set the PKG_CONFIG environment variable to the full
20504path to pkg-config. 20334path to pkg-config.
20505 20335
@@ -20508,33 +20338,33 @@ and EINA_LIBS to avoid the need to call pkg-config.
20508See the pkg-config man page for more details. 20338See the pkg-config man page for more details.
20509 20339
20510To get pkg-config, see <http://pkg-config.freedesktop.org/>. 20340To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20511See \`config.log' for more details." "$LINENO" 5; } 20341See \`config.log' for more details" "$LINENO" 5 ; }
20512else 20342else
20513 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS 20343 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
20514 EINA_LIBS=$pkg_cv_EINA_LIBS 20344 EINA_LIBS=$pkg_cv_EINA_LIBS
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20516$as_echo "yes" >&6; } 20346$as_echo "yes" >&6; }
20517 : 20347
20518fi 20348fi
20519#FIXME check all the requirements when the eina move will be finished 20349#FIXME check all the requirements when the eina move will be finished
20520requirements_ecore="eina >= 1.1.0 ${requirements_ecore}" 20350requirements_ecore="eina >= 1.2.0 ${requirements_ecore}"
20521requirements_ecore_con="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_con}" 20351requirements_ecore_con="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_con}"
20522#requirements_ecore_config="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_config}" 20352#requirements_ecore_config="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_config}"
20523requirements_ecore_directfb="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_directfb}" 20353requirements_ecore_directfb="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_directfb}"
20524requirements_ecore_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_evas}" 20354requirements_ecore_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_evas}"
20525requirements_ecore_fb="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_fb}" 20355requirements_ecore_fb="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_fb}"
20526requirements_ecore_file="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_file}" 20356requirements_ecore_file="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_file}"
20527requirements_ecore_imf="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_imf}" 20357requirements_ecore_imf="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_imf}"
20528requirements_ecore_imf_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_imf_evas}" 20358requirements_ecore_imf_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_imf_evas}"
20529requirements_ecore_input="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_input}" 20359requirements_ecore_input="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_input}"
20530requirements_ecore_input_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_input_evas}" 20360requirements_ecore_input_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_input_evas}"
20531requirements_ecore_ipc="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_ipc}" 20361requirements_ecore_ipc="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_ipc}"
20532requirements_ecore_cocoa="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_cocoa}" 20362requirements_ecore_cocoa="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_cocoa}"
20533requirements_ecore_sdl="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_sdl}" 20363requirements_ecore_sdl="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_sdl}"
20534requirements_ecore_psl1ght="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_sdl}" 20364requirements_ecore_psl1ght="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_sdl}"
20535requirements_ecore_win32="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_win32}" 20365requirements_ecore_win32="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_win32}"
20536requirements_ecore_wince="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_wince}" 20366requirements_ecore_wince="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_wince}"
20537requirements_ecore_x="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_x}" 20367requirements_ecore_x="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_x}"
20538 20368
20539 20369
20540# glib support (main loop integration) 20370# glib support (main loop integration)
@@ -20550,11 +20380,10 @@ pkg_failed=no
20550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 20380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20551$as_echo_n "checking for GLIB... " >&6; } 20381$as_echo_n "checking for GLIB... " >&6; }
20552 20382
20553if test -n "$PKG_CONFIG"; then 20383if test -n "$GLIB_CFLAGS"; then
20554 if test -n "$GLIB_CFLAGS"; then 20384 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20555 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 20385 elif test -n "$PKG_CONFIG"; then
20556 else 20386 if test -n "$PKG_CONFIG" && \
20557 if test -n "$PKG_CONFIG" && \
20558 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 20387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20559 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 20388 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20560 ac_status=$? 20389 ac_status=$?
@@ -20564,15 +20393,13 @@ if test -n "$PKG_CONFIG"; then
20564else 20393else
20565 pkg_failed=yes 20394 pkg_failed=yes
20566fi 20395fi
20567 fi 20396 else
20568else 20397 pkg_failed=untried
20569 pkg_failed=untried
20570fi 20398fi
20571if test -n "$PKG_CONFIG"; then 20399if test -n "$GLIB_LIBS"; then
20572 if test -n "$GLIB_LIBS"; then 20400 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20573 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 20401 elif test -n "$PKG_CONFIG"; then
20574 else 20402 if test -n "$PKG_CONFIG" && \
20575 if test -n "$PKG_CONFIG" && \
20576 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 20403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20577 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 20404 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20578 ac_status=$? 20405 ac_status=$?
@@ -20582,14 +20409,15 @@ if test -n "$PKG_CONFIG"; then
20582else 20409else
20583 pkg_failed=yes 20410 pkg_failed=yes
20584fi 20411fi
20585 fi 20412 else
20586else 20413 pkg_failed=untried
20587 pkg_failed=untried
20588fi 20414fi
20589 20415
20590 20416
20591 20417
20592if test $pkg_failed = yes; then 20418if test $pkg_failed = yes; then
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20420$as_echo "no" >&6; }
20593 20421
20594if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20422if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20595 _pkg_short_errors_supported=yes 20423 _pkg_short_errors_supported=yes
@@ -20597,17 +20425,17 @@ else
20597 _pkg_short_errors_supported=no 20425 _pkg_short_errors_supported=no
20598fi 20426fi
20599 if test $_pkg_short_errors_supported = yes; then 20427 if test $_pkg_short_errors_supported = yes; then
20600 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` 20428 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
20601 else 20429 else
20602 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` 20430 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
20603 fi 20431 fi
20604 # Put the nasty error message in config.log where it belongs 20432 # Put the nasty error message in config.log where it belongs
20605 echo "$GLIB_PKG_ERRORS" >&5 20433 echo "$GLIB_PKG_ERRORS" >&5
20606 20434
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20435 have_glib="no"
20608$as_echo "no" >&6; }
20609 have_glib="no"
20610elif test $pkg_failed = untried; then 20436elif test $pkg_failed = untried; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20438$as_echo "no" >&6; }
20611 have_glib="no" 20439 have_glib="no"
20612else 20440else
20613 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 20441 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
@@ -20620,7 +20448,7 @@ else
20620 have_glib="no" 20448 have_glib="no"
20621fi 20449fi
20622if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then 20450if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
20623 as_fn_error "GLib support requested, but no GLib found by pkg-config." "$LINENO" 5 20451 as_fn_error $? "GLib support requested, but no GLib found by pkg-config." "$LINENO" 5
20624elif test "x$have_glib" = "xyes"; then 20452elif test "x$have_glib" = "xyes"; then
20625 20453
20626$as_echo "#define HAVE_GLIB 1" >>confdefs.h 20454$as_echo "#define HAVE_GLIB 1" >>confdefs.h
@@ -20637,11 +20465,10 @@ pkg_failed=no
20637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 20465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20638$as_echo_n "checking for SDL... " >&6; } 20466$as_echo_n "checking for SDL... " >&6; }
20639 20467
20640if test -n "$PKG_CONFIG"; then 20468if test -n "$SDL_CFLAGS"; then
20641 if test -n "$SDL_CFLAGS"; then 20469 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20642 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" 20470 elif test -n "$PKG_CONFIG"; then
20643 else 20471 if test -n "$PKG_CONFIG" && \
20644 if test -n "$PKG_CONFIG" && \
20645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5 20472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20646 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5 20473 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20647 ac_status=$? 20474 ac_status=$?
@@ -20651,15 +20478,13 @@ if test -n "$PKG_CONFIG"; then
20651else 20478else
20652 pkg_failed=yes 20479 pkg_failed=yes
20653fi 20480fi
20654 fi 20481 else
20655else 20482 pkg_failed=untried
20656 pkg_failed=untried
20657fi 20483fi
20658if test -n "$PKG_CONFIG"; then 20484if test -n "$SDL_LIBS"; then
20659 if test -n "$SDL_LIBS"; then 20485 pkg_cv_SDL_LIBS="$SDL_LIBS"
20660 pkg_cv_SDL_LIBS="$SDL_LIBS" 20486 elif test -n "$PKG_CONFIG"; then
20661 else 20487 if test -n "$PKG_CONFIG" && \
20662 if test -n "$PKG_CONFIG" && \
20663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5 20488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20664 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5 20489 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20665 ac_status=$? 20490 ac_status=$?
@@ -20669,14 +20494,15 @@ if test -n "$PKG_CONFIG"; then
20669else 20494else
20670 pkg_failed=yes 20495 pkg_failed=yes
20671fi 20496fi
20672 fi 20497 else
20673else 20498 pkg_failed=untried
20674 pkg_failed=untried
20675fi 20499fi
20676 20500
20677 20501
20678 20502
20679if test $pkg_failed = yes; then 20503if test $pkg_failed = yes; then
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20505$as_echo "no" >&6; }
20680 20506
20681if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20507if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20682 _pkg_short_errors_supported=yes 20508 _pkg_short_errors_supported=yes
@@ -20684,17 +20510,17 @@ else
20684 _pkg_short_errors_supported=no 20510 _pkg_short_errors_supported=no
20685fi 20511fi
20686 if test $_pkg_short_errors_supported = yes; then 20512 if test $_pkg_short_errors_supported = yes; then
20687 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"` 20513 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
20688 else 20514 else
20689 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"` 20515 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
20690 fi 20516 fi
20691 # Put the nasty error message in config.log where it belongs 20517 # Put the nasty error message in config.log where it belongs
20692 echo "$SDL_PKG_ERRORS" >&5 20518 echo "$SDL_PKG_ERRORS" >&5
20693 20519
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20520 have_sdl="no"
20695$as_echo "no" >&6; }
20696 have_sdl="no"
20697elif test $pkg_failed = untried; then 20521elif test $pkg_failed = untried; then
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20523$as_echo "no" >&6; }
20698 have_sdl="no" 20524 have_sdl="no"
20699else 20525else
20700 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS 20526 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
@@ -20788,11 +20614,10 @@ pkg_failed=no
20788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 20614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
20789$as_echo_n "checking for DIRECTFB... " >&6; } 20615$as_echo_n "checking for DIRECTFB... " >&6; }
20790 20616
20791if test -n "$PKG_CONFIG"; then 20617if test -n "$DIRECTFB_CFLAGS"; then
20792 if test -n "$DIRECTFB_CFLAGS"; then 20618 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
20793 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS" 20619 elif test -n "$PKG_CONFIG"; then
20794 else 20620 if test -n "$PKG_CONFIG" && \
20795 if test -n "$PKG_CONFIG" && \
20796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5 20621 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20797 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5 20622 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20798 ac_status=$? 20623 ac_status=$?
@@ -20802,15 +20627,13 @@ if test -n "$PKG_CONFIG"; then
20802else 20627else
20803 pkg_failed=yes 20628 pkg_failed=yes
20804fi 20629fi
20805 fi 20630 else
20806else 20631 pkg_failed=untried
20807 pkg_failed=untried
20808fi 20632fi
20809if test -n "$PKG_CONFIG"; then 20633if test -n "$DIRECTFB_LIBS"; then
20810 if test -n "$DIRECTFB_LIBS"; then 20634 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
20811 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS" 20635 elif test -n "$PKG_CONFIG"; then
20812 else 20636 if test -n "$PKG_CONFIG" && \
20813 if test -n "$PKG_CONFIG" && \
20814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5 20637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20815 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5 20638 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20816 ac_status=$? 20639 ac_status=$?
@@ -20820,14 +20643,15 @@ if test -n "$PKG_CONFIG"; then
20820else 20643else
20821 pkg_failed=yes 20644 pkg_failed=yes
20822fi 20645fi
20823 fi 20646 else
20824else 20647 pkg_failed=untried
20825 pkg_failed=untried
20826fi 20648fi
20827 20649
20828 20650
20829 20651
20830if test $pkg_failed = yes; then 20652if test $pkg_failed = yes; then
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20654$as_echo "no" >&6; }
20831 20655
20832if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20656if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20833 _pkg_short_errors_supported=yes 20657 _pkg_short_errors_supported=yes
@@ -20835,17 +20659,17 @@ else
20835 _pkg_short_errors_supported=no 20659 _pkg_short_errors_supported=no
20836fi 20660fi
20837 if test $_pkg_short_errors_supported = yes; then 20661 if test $_pkg_short_errors_supported = yes; then
20838 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.16"` 20662 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
20839 else 20663 else
20840 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.16"` 20664 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
20841 fi 20665 fi
20842 # Put the nasty error message in config.log where it belongs 20666 # Put the nasty error message in config.log where it belongs
20843 echo "$DIRECTFB_PKG_ERRORS" >&5 20667 echo "$DIRECTFB_PKG_ERRORS" >&5
20844 20668
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20669 have_directfb="no"
20846$as_echo "no" >&6; }
20847 have_directfb="no"
20848elif test $pkg_failed = untried; then 20670elif test $pkg_failed = untried; then
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20672$as_echo "no" >&6; }
20849 have_directfb="no" 20673 have_directfb="no"
20850else 20674else
20851 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS 20675 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
@@ -20866,6 +20690,75 @@ fi
20866 20690
20867# Xlib and XCB (ecore_x) 20691# Xlib and XCB (ecore_x)
20868 20692
20693ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
20694if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = x""yes; then :
20695 FOUND_MAXHOSTNAMELEN=yes
20696fi
20697
20698
20699if test "x${FOUND_MAXHOSTNAMELEN}" != "xyes" ; then
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
20701$as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
20702 FOUND_MAXHOSTNAMELEN="not found"
20703
20704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705/* end confdefs.h. */
20706
20707
20708#include <sys/param.h>
20709
20710int
20711main ()
20712{
20713
20714int h = MAXHOSTNAMELEN;
20715
20716 ;
20717 return 0;
20718}
20719
20720_ACEOF
20721if ac_fn_c_try_compile "$LINENO"; then :
20722
20723 FOUND_MAXHOSTNAMELEN="sys/param.h"
20724
20725$as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
20726
20727
20728fi
20729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732/* end confdefs.h. */
20733
20734
20735#include <netdb.h>
20736
20737int
20738main ()
20739{
20740
20741int h = MAXHOSTNAMELEN;
20742
20743 ;
20744 return 0;
20745}
20746
20747_ACEOF
20748if ac_fn_c_try_compile "$LINENO"; then :
20749
20750 FOUND_MAXHOSTNAMELEN="netdb.h"
20751
20752$as_echo "#define NEED_NETDB_H 1" >>confdefs.h
20753
20754
20755fi
20756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
20759$as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
20760fi
20761
20869have_x="no" 20762have_x="no"
20870have_ecore_x="no" 20763have_ecore_x="no"
20871have_ecore_x_xlib="no" 20764have_ecore_x_xlib="no"
@@ -20995,7 +20888,7 @@ $as_echo_n "checking keysym definitions... " >&6; }
20995 if test -f "$KEYSYMDEFDIR/$i"; then 20888 if test -f "$KEYSYMDEFDIR/$i"; then
20996 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i" 20889 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
20997 elif test "x$i" = "xkeysymdef.h"; then 20890 elif test "x$i" = "xkeysymdef.h"; then
20998 as_fn_error "Cannot find keysymdef.h" "$LINENO" 5 20891 as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
20999 fi 20892 fi
21000 done 20893 done
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5 20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
@@ -21159,11 +21052,10 @@ pkg_failed=no
21159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5 21052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21160$as_echo_n "checking for ECORE_XCB... " >&6; } 21053$as_echo_n "checking for ECORE_XCB... " >&6; }
21161 21054
21162if test -n "$PKG_CONFIG"; then 21055if test -n "$ECORE_XCB_CFLAGS"; then
21163 if test -n "$ECORE_XCB_CFLAGS"; then 21056 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21164 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS" 21057 elif test -n "$PKG_CONFIG"; then
21165 else 21058 if test -n "$PKG_CONFIG" && \
21166 if test -n "$PKG_CONFIG" && \
21167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5 21059 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21168 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5 21060 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21169 ac_status=$? 21061 ac_status=$?
@@ -21173,15 +21065,13 @@ if test -n "$PKG_CONFIG"; then
21173else 21065else
21174 pkg_failed=yes 21066 pkg_failed=yes
21175fi 21067fi
21176 fi 21068 else
21177else 21069 pkg_failed=untried
21178 pkg_failed=untried
21179fi 21070fi
21180if test -n "$PKG_CONFIG"; then 21071if test -n "$ECORE_XCB_LIBS"; then
21181 if test -n "$ECORE_XCB_LIBS"; then 21072 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21182 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS" 21073 elif test -n "$PKG_CONFIG"; then
21183 else 21074 if test -n "$PKG_CONFIG" && \
21184 if test -n "$PKG_CONFIG" && \
21185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5 21075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21186 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5 21076 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21187 ac_status=$? 21077 ac_status=$?
@@ -21191,14 +21081,15 @@ if test -n "$PKG_CONFIG"; then
21191else 21081else
21192 pkg_failed=yes 21082 pkg_failed=yes
21193fi 21083fi
21194 fi 21084 else
21195else 21085 pkg_failed=untried
21196 pkg_failed=untried
21197fi 21086fi
21198 21087
21199 21088
21200 21089
21201if test $pkg_failed = yes; then 21090if test $pkg_failed = yes; then
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21092$as_echo "no" >&6; }
21202 21093
21203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21094if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21204 _pkg_short_errors_supported=yes 21095 _pkg_short_errors_supported=yes
@@ -21206,26 +21097,23 @@ else
21206 _pkg_short_errors_supported=no 21097 _pkg_short_errors_supported=no
21207fi 21098fi
21208 if test $_pkg_short_errors_supported = yes; then 21099 if test $_pkg_short_errors_supported = yes; then
21209 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8"` 21100 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21210 else 21101 else
21211 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8"` 21102 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21212 fi 21103 fi
21213 # Put the nasty error message in config.log where it belongs 21104 # Put the nasty error message in config.log where it belongs
21214 echo "$ECORE_XCB_PKG_ERRORS" >&5 21105 echo "$ECORE_XCB_PKG_ERRORS" >&5
21215 21106
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21217$as_echo "no" >&6; }
21218 21107
21219 21108
21220pkg_failed=no 21109pkg_failed=no
21221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5 21110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21222$as_echo_n "checking for ECORE_XCB... " >&6; } 21111$as_echo_n "checking for ECORE_XCB... " >&6; }
21223 21112
21224if test -n "$PKG_CONFIG"; then 21113if test -n "$ECORE_XCB_CFLAGS"; then
21225 if test -n "$ECORE_XCB_CFLAGS"; then 21114 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21226 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS" 21115 elif test -n "$PKG_CONFIG"; then
21227 else 21116 if test -n "$PKG_CONFIG" && \
21228 if test -n "$PKG_CONFIG" && \
21229 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5 21117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21230 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5 21118 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21231 ac_status=$? 21119 ac_status=$?
@@ -21235,15 +21123,13 @@ if test -n "$PKG_CONFIG"; then
21235else 21123else
21236 pkg_failed=yes 21124 pkg_failed=yes
21237fi 21125fi
21238 fi 21126 else
21239else 21127 pkg_failed=untried
21240 pkg_failed=untried
21241fi 21128fi
21242if test -n "$PKG_CONFIG"; then 21129if test -n "$ECORE_XCB_LIBS"; then
21243 if test -n "$ECORE_XCB_LIBS"; then 21130 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21244 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS" 21131 elif test -n "$PKG_CONFIG"; then
21245 else 21132 if test -n "$PKG_CONFIG" && \
21246 if test -n "$PKG_CONFIG" && \
21247 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5 21133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21248 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5 21134 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21249 ac_status=$? 21135 ac_status=$?
@@ -21253,14 +21139,15 @@ if test -n "$PKG_CONFIG"; then
21253else 21139else
21254 pkg_failed=yes 21140 pkg_failed=yes
21255fi 21141fi
21256 fi 21142 else
21257else 21143 pkg_failed=untried
21258 pkg_failed=untried
21259fi 21144fi
21260 21145
21261 21146
21262 21147
21263if test $pkg_failed = yes; then 21148if test $pkg_failed = yes; then
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21150$as_echo "no" >&6; }
21264 21151
21265if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21152if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21266 _pkg_short_errors_supported=yes 21153 _pkg_short_errors_supported=yes
@@ -21268,17 +21155,17 @@ else
21268 _pkg_short_errors_supported=no 21155 _pkg_short_errors_supported=no
21269fi 21156fi
21270 if test $_pkg_short_errors_supported = yes; then 21157 if test $_pkg_short_errors_supported = yes; then
21271 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms"` 21158 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21272 else 21159 else
21273 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms"` 21160 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21274 fi 21161 fi
21275 # Put the nasty error message in config.log where it belongs 21162 # Put the nasty error message in config.log where it belongs
21276 echo "$ECORE_XCB_PKG_ERRORS" >&5 21163 echo "$ECORE_XCB_PKG_ERRORS" >&5
21277 21164
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21165 have_ecore_x_xcb="no"
21279$as_echo "no" >&6; }
21280 have_ecore_x_xcb="no"
21281elif test $pkg_failed = untried; then 21166elif test $pkg_failed = untried; then
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21168$as_echo "no" >&6; }
21282 have_ecore_x_xcb="no" 21169 have_ecore_x_xcb="no"
21283else 21170else
21284 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS 21171 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
@@ -21293,17 +21180,18 @@ $as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21293fi 21180fi
21294 21181
21295elif test $pkg_failed = untried; then 21182elif test $pkg_failed = untried; then
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21184$as_echo "no" >&6; }
21296 21185
21297 21186
21298pkg_failed=no 21187pkg_failed=no
21299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5 21188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21300$as_echo_n "checking for ECORE_XCB... " >&6; } 21189$as_echo_n "checking for ECORE_XCB... " >&6; }
21301 21190
21302if test -n "$PKG_CONFIG"; then 21191if test -n "$ECORE_XCB_CFLAGS"; then
21303 if test -n "$ECORE_XCB_CFLAGS"; then 21192 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21304 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS" 21193 elif test -n "$PKG_CONFIG"; then
21305 else 21194 if test -n "$PKG_CONFIG" && \
21306 if test -n "$PKG_CONFIG" && \
21307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5 21195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21308 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5 21196 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21309 ac_status=$? 21197 ac_status=$?
@@ -21313,15 +21201,13 @@ if test -n "$PKG_CONFIG"; then
21313else 21201else
21314 pkg_failed=yes 21202 pkg_failed=yes
21315fi 21203fi
21316 fi 21204 else
21317else 21205 pkg_failed=untried
21318 pkg_failed=untried
21319fi 21206fi
21320if test -n "$PKG_CONFIG"; then 21207if test -n "$ECORE_XCB_LIBS"; then
21321 if test -n "$ECORE_XCB_LIBS"; then 21208 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21322 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS" 21209 elif test -n "$PKG_CONFIG"; then
21323 else 21210 if test -n "$PKG_CONFIG" && \
21324 if test -n "$PKG_CONFIG" && \
21325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5 21211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21326 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5 21212 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21327 ac_status=$? 21213 ac_status=$?
@@ -21331,14 +21217,15 @@ if test -n "$PKG_CONFIG"; then
21331else 21217else
21332 pkg_failed=yes 21218 pkg_failed=yes
21333fi 21219fi
21334 fi 21220 else
21335else 21221 pkg_failed=untried
21336 pkg_failed=untried
21337fi 21222fi
21338 21223
21339 21224
21340 21225
21341if test $pkg_failed = yes; then 21226if test $pkg_failed = yes; then
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21228$as_echo "no" >&6; }
21342 21229
21343if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21230if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21344 _pkg_short_errors_supported=yes 21231 _pkg_short_errors_supported=yes
@@ -21346,17 +21233,17 @@ else
21346 _pkg_short_errors_supported=no 21233 _pkg_short_errors_supported=no
21347fi 21234fi
21348 if test $_pkg_short_errors_supported = yes; then 21235 if test $_pkg_short_errors_supported = yes; then
21349 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms"` 21236 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21350 else 21237 else
21351 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms"` 21238 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21352 fi 21239 fi
21353 # Put the nasty error message in config.log where it belongs 21240 # Put the nasty error message in config.log where it belongs
21354 echo "$ECORE_XCB_PKG_ERRORS" >&5 21241 echo "$ECORE_XCB_PKG_ERRORS" >&5
21355 21242
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21243 have_ecore_x_xcb="no"
21357$as_echo "no" >&6; }
21358 have_ecore_x_xcb="no"
21359elif test $pkg_failed = untried; then 21244elif test $pkg_failed = untried; then
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21246$as_echo "no" >&6; }
21360 have_ecore_x_xcb="no" 21247 have_ecore_x_xcb="no"
21361else 21248else
21362 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS 21249 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
@@ -21387,11 +21274,10 @@ pkg_failed=no
21387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5 21274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
21388$as_echo_n "checking for PIXMAN... " >&6; } 21275$as_echo_n "checking for PIXMAN... " >&6; }
21389 21276
21390if test -n "$PKG_CONFIG"; then 21277if test -n "$PIXMAN_CFLAGS"; then
21391 if test -n "$PIXMAN_CFLAGS"; then 21278 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
21392 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS" 21279 elif test -n "$PKG_CONFIG"; then
21393 else 21280 if test -n "$PKG_CONFIG" && \
21394 if test -n "$PKG_CONFIG" && \
21395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 21281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21396 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 21282 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21397 ac_status=$? 21283 ac_status=$?
@@ -21401,15 +21287,13 @@ if test -n "$PKG_CONFIG"; then
21401else 21287else
21402 pkg_failed=yes 21288 pkg_failed=yes
21403fi 21289fi
21404 fi 21290 else
21405else 21291 pkg_failed=untried
21406 pkg_failed=untried
21407fi 21292fi
21408if test -n "$PKG_CONFIG"; then 21293if test -n "$PIXMAN_LIBS"; then
21409 if test -n "$PIXMAN_LIBS"; then 21294 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
21410 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS" 21295 elif test -n "$PKG_CONFIG"; then
21411 else 21296 if test -n "$PKG_CONFIG" && \
21412 if test -n "$PKG_CONFIG" && \
21413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 21297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21414 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 21298 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21415 ac_status=$? 21299 ac_status=$?
@@ -21419,14 +21303,15 @@ if test -n "$PKG_CONFIG"; then
21419else 21303else
21420 pkg_failed=yes 21304 pkg_failed=yes
21421fi 21305fi
21422 fi 21306 else
21423else 21307 pkg_failed=untried
21424 pkg_failed=untried
21425fi 21308fi
21426 21309
21427 21310
21428 21311
21429if test $pkg_failed = yes; then 21312if test $pkg_failed = yes; then
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21314$as_echo "no" >&6; }
21430 21315
21431if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21316if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21432 _pkg_short_errors_supported=yes 21317 _pkg_short_errors_supported=yes
@@ -21434,24 +21319,24 @@ else
21434 _pkg_short_errors_supported=no 21319 _pkg_short_errors_supported=no
21435fi 21320fi
21436 if test $_pkg_short_errors_supported = yes; then 21321 if test $_pkg_short_errors_supported = yes; then
21437 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pixman-1"` 21322 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
21438 else 21323 else
21439 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pixman-1"` 21324 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
21440 fi 21325 fi
21441 # Put the nasty error message in config.log where it belongs 21326 # Put the nasty error message in config.log where it belongs
21442 echo "$PIXMAN_PKG_ERRORS" >&5 21327 echo "$PIXMAN_PKG_ERRORS" >&5
21443 21328
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21445$as_echo "no" >&6; }
21446 21329
21447 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21330 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21448 as_fn_error "Pixman not found (strict dependencies checking)" "$LINENO" 5 21331 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21449 fi 21332 fi
21450 21333
21451elif test $pkg_failed = untried; then 21334elif test $pkg_failed = untried; then
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21336$as_echo "no" >&6; }
21452 21337
21453 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21338 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21454 as_fn_error "Pixman not found (strict dependencies checking)" "$LINENO" 5 21339 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21455 fi 21340 fi
21456 21341
21457else 21342else
@@ -21474,11 +21359,10 @@ pkg_failed=no
21474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5 21359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5
21475$as_echo_n "checking for XCB_COMPOSITE... " >&6; } 21360$as_echo_n "checking for XCB_COMPOSITE... " >&6; }
21476 21361
21477if test -n "$PKG_CONFIG"; then 21362if test -n "$XCB_COMPOSITE_CFLAGS"; then
21478 if test -n "$XCB_COMPOSITE_CFLAGS"; then 21363 pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS"
21479 pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS" 21364 elif test -n "$PKG_CONFIG"; then
21480 else 21365 if test -n "$PKG_CONFIG" && \
21481 if test -n "$PKG_CONFIG" && \
21482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5 21366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21483 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5 21367 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21484 ac_status=$? 21368 ac_status=$?
@@ -21488,15 +21372,13 @@ if test -n "$PKG_CONFIG"; then
21488else 21372else
21489 pkg_failed=yes 21373 pkg_failed=yes
21490fi 21374fi
21491 fi 21375 else
21492else 21376 pkg_failed=untried
21493 pkg_failed=untried
21494fi 21377fi
21495if test -n "$PKG_CONFIG"; then 21378if test -n "$XCB_COMPOSITE_LIBS"; then
21496 if test -n "$XCB_COMPOSITE_LIBS"; then 21379 pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS"
21497 pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS" 21380 elif test -n "$PKG_CONFIG"; then
21498 else 21381 if test -n "$PKG_CONFIG" && \
21499 if test -n "$PKG_CONFIG" && \
21500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5 21382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21501 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5 21383 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21502 ac_status=$? 21384 ac_status=$?
@@ -21506,14 +21388,15 @@ if test -n "$PKG_CONFIG"; then
21506else 21388else
21507 pkg_failed=yes 21389 pkg_failed=yes
21508fi 21390fi
21509 fi 21391 else
21510else 21392 pkg_failed=untried
21511 pkg_failed=untried
21512fi 21393fi
21513 21394
21514 21395
21515 21396
21516if test $pkg_failed = yes; then 21397if test $pkg_failed = yes; then
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21399$as_echo "no" >&6; }
21517 21400
21518if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21401if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21519 _pkg_short_errors_supported=yes 21402 _pkg_short_errors_supported=yes
@@ -21521,17 +21404,17 @@ else
21521 _pkg_short_errors_supported=no 21404 _pkg_short_errors_supported=no
21522fi 21405fi
21523 if test $_pkg_short_errors_supported = yes; then 21406 if test $_pkg_short_errors_supported = yes; then
21524 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-composite"` 21407 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-composite" 2>&1`
21525 else 21408 else
21526 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-composite"` 21409 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-composite" 2>&1`
21527 fi 21410 fi
21528 # Put the nasty error message in config.log where it belongs 21411 # Put the nasty error message in config.log where it belongs
21529 echo "$XCB_COMPOSITE_PKG_ERRORS" >&5 21412 echo "$XCB_COMPOSITE_PKG_ERRORS" >&5
21530 21413
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21414 have_ecore_x_xcb_composite="no"
21532$as_echo "no" >&6; }
21533 have_ecore_x_xcb_composite="no"
21534elif test $pkg_failed = untried; then 21415elif test $pkg_failed = untried; then
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21417$as_echo "no" >&6; }
21535 have_ecore_x_xcb_composite="no" 21418 have_ecore_x_xcb_composite="no"
21536else 21419else
21537 XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS 21420 XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS
@@ -21556,11 +21439,10 @@ pkg_failed=no
21556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DAMAGE" >&5 21439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DAMAGE" >&5
21557$as_echo_n "checking for XCB_DAMAGE... " >&6; } 21440$as_echo_n "checking for XCB_DAMAGE... " >&6; }
21558 21441
21559if test -n "$PKG_CONFIG"; then 21442if test -n "$XCB_DAMAGE_CFLAGS"; then
21560 if test -n "$XCB_DAMAGE_CFLAGS"; then 21443 pkg_cv_XCB_DAMAGE_CFLAGS="$XCB_DAMAGE_CFLAGS"
21561 pkg_cv_XCB_DAMAGE_CFLAGS="$XCB_DAMAGE_CFLAGS" 21444 elif test -n "$PKG_CONFIG"; then
21562 else 21445 if test -n "$PKG_CONFIG" && \
21563 if test -n "$PKG_CONFIG" && \
21564 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5 21446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21565 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5 21447 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21566 ac_status=$? 21448 ac_status=$?
@@ -21570,15 +21452,13 @@ if test -n "$PKG_CONFIG"; then
21570else 21452else
21571 pkg_failed=yes 21453 pkg_failed=yes
21572fi 21454fi
21573 fi 21455 else
21574else 21456 pkg_failed=untried
21575 pkg_failed=untried
21576fi 21457fi
21577if test -n "$PKG_CONFIG"; then 21458if test -n "$XCB_DAMAGE_LIBS"; then
21578 if test -n "$XCB_DAMAGE_LIBS"; then 21459 pkg_cv_XCB_DAMAGE_LIBS="$XCB_DAMAGE_LIBS"
21579 pkg_cv_XCB_DAMAGE_LIBS="$XCB_DAMAGE_LIBS" 21460 elif test -n "$PKG_CONFIG"; then
21580 else 21461 if test -n "$PKG_CONFIG" && \
21581 if test -n "$PKG_CONFIG" && \
21582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5 21462 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21583 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5 21463 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21584 ac_status=$? 21464 ac_status=$?
@@ -21588,14 +21468,15 @@ if test -n "$PKG_CONFIG"; then
21588else 21468else
21589 pkg_failed=yes 21469 pkg_failed=yes
21590fi 21470fi
21591 fi 21471 else
21592else 21472 pkg_failed=untried
21593 pkg_failed=untried
21594fi 21473fi
21595 21474
21596 21475
21597 21476
21598if test $pkg_failed = yes; then 21477if test $pkg_failed = yes; then
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21479$as_echo "no" >&6; }
21599 21480
21600if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21481if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21601 _pkg_short_errors_supported=yes 21482 _pkg_short_errors_supported=yes
@@ -21603,17 +21484,17 @@ else
21603 _pkg_short_errors_supported=no 21484 _pkg_short_errors_supported=no
21604fi 21485fi
21605 if test $_pkg_short_errors_supported = yes; then 21486 if test $_pkg_short_errors_supported = yes; then
21606 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-damage"` 21487 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-damage" 2>&1`
21607 else 21488 else
21608 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-damage"` 21489 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-damage" 2>&1`
21609 fi 21490 fi
21610 # Put the nasty error message in config.log where it belongs 21491 # Put the nasty error message in config.log where it belongs
21611 echo "$XCB_DAMAGE_PKG_ERRORS" >&5 21492 echo "$XCB_DAMAGE_PKG_ERRORS" >&5
21612 21493
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21494 have_ecore_x_xcb_damage="no"
21614$as_echo "no" >&6; }
21615 have_ecore_x_xcb_damage="no"
21616elif test $pkg_failed = untried; then 21495elif test $pkg_failed = untried; then
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21497$as_echo "no" >&6; }
21617 have_ecore_x_xcb_damage="no" 21498 have_ecore_x_xcb_damage="no"
21618else 21499else
21619 XCB_DAMAGE_CFLAGS=$pkg_cv_XCB_DAMAGE_CFLAGS 21500 XCB_DAMAGE_CFLAGS=$pkg_cv_XCB_DAMAGE_CFLAGS
@@ -21638,11 +21519,10 @@ pkg_failed=no
21638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DPMS" >&5 21519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DPMS" >&5
21639$as_echo_n "checking for XCB_DPMS... " >&6; } 21520$as_echo_n "checking for XCB_DPMS... " >&6; }
21640 21521
21641if test -n "$PKG_CONFIG"; then 21522if test -n "$XCB_DPMS_CFLAGS"; then
21642 if test -n "$XCB_DPMS_CFLAGS"; then 21523 pkg_cv_XCB_DPMS_CFLAGS="$XCB_DPMS_CFLAGS"
21643 pkg_cv_XCB_DPMS_CFLAGS="$XCB_DPMS_CFLAGS" 21524 elif test -n "$PKG_CONFIG"; then
21644 else 21525 if test -n "$PKG_CONFIG" && \
21645 if test -n "$PKG_CONFIG" && \
21646 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5 21526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21647 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5 21527 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21648 ac_status=$? 21528 ac_status=$?
@@ -21652,15 +21532,13 @@ if test -n "$PKG_CONFIG"; then
21652else 21532else
21653 pkg_failed=yes 21533 pkg_failed=yes
21654fi 21534fi
21655 fi 21535 else
21656else 21536 pkg_failed=untried
21657 pkg_failed=untried
21658fi 21537fi
21659if test -n "$PKG_CONFIG"; then 21538if test -n "$XCB_DPMS_LIBS"; then
21660 if test -n "$XCB_DPMS_LIBS"; then 21539 pkg_cv_XCB_DPMS_LIBS="$XCB_DPMS_LIBS"
21661 pkg_cv_XCB_DPMS_LIBS="$XCB_DPMS_LIBS" 21540 elif test -n "$PKG_CONFIG"; then
21662 else 21541 if test -n "$PKG_CONFIG" && \
21663 if test -n "$PKG_CONFIG" && \
21664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5 21542 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21665 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5 21543 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21666 ac_status=$? 21544 ac_status=$?
@@ -21670,14 +21548,15 @@ if test -n "$PKG_CONFIG"; then
21670else 21548else
21671 pkg_failed=yes 21549 pkg_failed=yes
21672fi 21550fi
21673 fi 21551 else
21674else 21552 pkg_failed=untried
21675 pkg_failed=untried
21676fi 21553fi
21677 21554
21678 21555
21679 21556
21680if test $pkg_failed = yes; then 21557if test $pkg_failed = yes; then
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21559$as_echo "no" >&6; }
21681 21560
21682if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21561if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21683 _pkg_short_errors_supported=yes 21562 _pkg_short_errors_supported=yes
@@ -21685,17 +21564,17 @@ else
21685 _pkg_short_errors_supported=no 21564 _pkg_short_errors_supported=no
21686fi 21565fi
21687 if test $_pkg_short_errors_supported = yes; then 21566 if test $_pkg_short_errors_supported = yes; then
21688 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-dpms"` 21567 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-dpms" 2>&1`
21689 else 21568 else
21690 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-dpms"` 21569 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-dpms" 2>&1`
21691 fi 21570 fi
21692 # Put the nasty error message in config.log where it belongs 21571 # Put the nasty error message in config.log where it belongs
21693 echo "$XCB_DPMS_PKG_ERRORS" >&5 21572 echo "$XCB_DPMS_PKG_ERRORS" >&5
21694 21573
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21574 have_ecore_x_xcb_dpms="no"
21696$as_echo "no" >&6; }
21697 have_ecore_x_xcb_dpms="no"
21698elif test $pkg_failed = untried; then 21575elif test $pkg_failed = untried; then
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21577$as_echo "no" >&6; }
21699 have_ecore_x_xcb_dpms="no" 21578 have_ecore_x_xcb_dpms="no"
21700else 21579else
21701 XCB_DPMS_CFLAGS=$pkg_cv_XCB_DPMS_CFLAGS 21580 XCB_DPMS_CFLAGS=$pkg_cv_XCB_DPMS_CFLAGS
@@ -21720,11 +21599,10 @@ pkg_failed=no
21720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5 21599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5
21721$as_echo_n "checking for XCB_RANDR... " >&6; } 21600$as_echo_n "checking for XCB_RANDR... " >&6; }
21722 21601
21723if test -n "$PKG_CONFIG"; then 21602if test -n "$XCB_RANDR_CFLAGS"; then
21724 if test -n "$XCB_RANDR_CFLAGS"; then 21603 pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS"
21725 pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS" 21604 elif test -n "$PKG_CONFIG"; then
21726 else 21605 if test -n "$PKG_CONFIG" && \
21727 if test -n "$PKG_CONFIG" && \
21728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5 21606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21729 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5 21607 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21730 ac_status=$? 21608 ac_status=$?
@@ -21734,15 +21612,13 @@ if test -n "$PKG_CONFIG"; then
21734else 21612else
21735 pkg_failed=yes 21613 pkg_failed=yes
21736fi 21614fi
21737 fi 21615 else
21738else 21616 pkg_failed=untried
21739 pkg_failed=untried
21740fi 21617fi
21741if test -n "$PKG_CONFIG"; then 21618if test -n "$XCB_RANDR_LIBS"; then
21742 if test -n "$XCB_RANDR_LIBS"; then 21619 pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS"
21743 pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS" 21620 elif test -n "$PKG_CONFIG"; then
21744 else 21621 if test -n "$PKG_CONFIG" && \
21745 if test -n "$PKG_CONFIG" && \
21746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5 21622 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21747 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5 21623 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21748 ac_status=$? 21624 ac_status=$?
@@ -21752,14 +21628,15 @@ if test -n "$PKG_CONFIG"; then
21752else 21628else
21753 pkg_failed=yes 21629 pkg_failed=yes
21754fi 21630fi
21755 fi 21631 else
21756else 21632 pkg_failed=untried
21757 pkg_failed=untried
21758fi 21633fi
21759 21634
21760 21635
21761 21636
21762if test $pkg_failed = yes; then 21637if test $pkg_failed = yes; then
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21639$as_echo "no" >&6; }
21763 21640
21764if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21641if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21765 _pkg_short_errors_supported=yes 21642 _pkg_short_errors_supported=yes
@@ -21767,17 +21644,17 @@ else
21767 _pkg_short_errors_supported=no 21644 _pkg_short_errors_supported=no
21768fi 21645fi
21769 if test $_pkg_short_errors_supported = yes; then 21646 if test $_pkg_short_errors_supported = yes; then
21770 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-randr"` 21647 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-randr" 2>&1`
21771 else 21648 else
21772 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-randr"` 21649 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-randr" 2>&1`
21773 fi 21650 fi
21774 # Put the nasty error message in config.log where it belongs 21651 # Put the nasty error message in config.log where it belongs
21775 echo "$XCB_RANDR_PKG_ERRORS" >&5 21652 echo "$XCB_RANDR_PKG_ERRORS" >&5
21776 21653
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21654 have_ecore_x_xcb_randr="no"
21778$as_echo "no" >&6; }
21779 have_ecore_x_xcb_randr="no"
21780elif test $pkg_failed = untried; then 21655elif test $pkg_failed = untried; then
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21657$as_echo "no" >&6; }
21781 have_ecore_x_xcb_randr="no" 21658 have_ecore_x_xcb_randr="no"
21782else 21659else
21783 XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS 21660 XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
@@ -21802,11 +21679,10 @@ pkg_failed=no
21802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5 21679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5
21803$as_echo_n "checking for XCB_RENDER... " >&6; } 21680$as_echo_n "checking for XCB_RENDER... " >&6; }
21804 21681
21805if test -n "$PKG_CONFIG"; then 21682if test -n "$XCB_RENDER_CFLAGS"; then
21806 if test -n "$XCB_RENDER_CFLAGS"; then 21683 pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS"
21807 pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS" 21684 elif test -n "$PKG_CONFIG"; then
21808 else 21685 if test -n "$PKG_CONFIG" && \
21809 if test -n "$PKG_CONFIG" && \
21810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5 21686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
21811 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5 21687 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
21812 ac_status=$? 21688 ac_status=$?
@@ -21816,15 +21692,13 @@ if test -n "$PKG_CONFIG"; then
21816else 21692else
21817 pkg_failed=yes 21693 pkg_failed=yes
21818fi 21694fi
21819 fi 21695 else
21820else 21696 pkg_failed=untried
21821 pkg_failed=untried
21822fi 21697fi
21823if test -n "$PKG_CONFIG"; then 21698if test -n "$XCB_RENDER_LIBS"; then
21824 if test -n "$XCB_RENDER_LIBS"; then 21699 pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS"
21825 pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS" 21700 elif test -n "$PKG_CONFIG"; then
21826 else 21701 if test -n "$PKG_CONFIG" && \
21827 if test -n "$PKG_CONFIG" && \
21828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5 21702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
21829 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5 21703 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
21830 ac_status=$? 21704 ac_status=$?
@@ -21834,14 +21708,15 @@ if test -n "$PKG_CONFIG"; then
21834else 21708else
21835 pkg_failed=yes 21709 pkg_failed=yes
21836fi 21710fi
21837 fi 21711 else
21838else 21712 pkg_failed=untried
21839 pkg_failed=untried
21840fi 21713fi
21841 21714
21842 21715
21843 21716
21844if test $pkg_failed = yes; then 21717if test $pkg_failed = yes; then
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21719$as_echo "no" >&6; }
21845 21720
21846if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21721if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21847 _pkg_short_errors_supported=yes 21722 _pkg_short_errors_supported=yes
@@ -21849,17 +21724,17 @@ else
21849 _pkg_short_errors_supported=no 21724 _pkg_short_errors_supported=no
21850fi 21725fi
21851 if test $_pkg_short_errors_supported = yes; then 21726 if test $_pkg_short_errors_supported = yes; then
21852 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-render xcb-renderutil"` 21727 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-render xcb-renderutil" 2>&1`
21853 else 21728 else
21854 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-render xcb-renderutil"` 21729 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-render xcb-renderutil" 2>&1`
21855 fi 21730 fi
21856 # Put the nasty error message in config.log where it belongs 21731 # Put the nasty error message in config.log where it belongs
21857 echo "$XCB_RENDER_PKG_ERRORS" >&5 21732 echo "$XCB_RENDER_PKG_ERRORS" >&5
21858 21733
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21734 have_ecore_x_xcb_render="no"
21860$as_echo "no" >&6; }
21861 have_ecore_x_xcb_render="no"
21862elif test $pkg_failed = untried; then 21735elif test $pkg_failed = untried; then
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21737$as_echo "no" >&6; }
21863 have_ecore_x_xcb_render="no" 21738 have_ecore_x_xcb_render="no"
21864else 21739else
21865 XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS 21740 XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS
@@ -21884,11 +21759,10 @@ pkg_failed=no
21884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SCREENSAVER" >&5 21759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SCREENSAVER" >&5
21885$as_echo_n "checking for XCB_SCREENSAVER... " >&6; } 21760$as_echo_n "checking for XCB_SCREENSAVER... " >&6; }
21886 21761
21887if test -n "$PKG_CONFIG"; then 21762if test -n "$XCB_SCREENSAVER_CFLAGS"; then
21888 if test -n "$XCB_SCREENSAVER_CFLAGS"; then 21763 pkg_cv_XCB_SCREENSAVER_CFLAGS="$XCB_SCREENSAVER_CFLAGS"
21889 pkg_cv_XCB_SCREENSAVER_CFLAGS="$XCB_SCREENSAVER_CFLAGS" 21764 elif test -n "$PKG_CONFIG"; then
21890 else 21765 if test -n "$PKG_CONFIG" && \
21891 if test -n "$PKG_CONFIG" && \
21892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5 21766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
21893 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5 21767 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
21894 ac_status=$? 21768 ac_status=$?
@@ -21898,15 +21772,13 @@ if test -n "$PKG_CONFIG"; then
21898else 21772else
21899 pkg_failed=yes 21773 pkg_failed=yes
21900fi 21774fi
21901 fi 21775 else
21902else 21776 pkg_failed=untried
21903 pkg_failed=untried
21904fi 21777fi
21905if test -n "$PKG_CONFIG"; then 21778if test -n "$XCB_SCREENSAVER_LIBS"; then
21906 if test -n "$XCB_SCREENSAVER_LIBS"; then 21779 pkg_cv_XCB_SCREENSAVER_LIBS="$XCB_SCREENSAVER_LIBS"
21907 pkg_cv_XCB_SCREENSAVER_LIBS="$XCB_SCREENSAVER_LIBS" 21780 elif test -n "$PKG_CONFIG"; then
21908 else 21781 if test -n "$PKG_CONFIG" && \
21909 if test -n "$PKG_CONFIG" && \
21910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5 21782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
21911 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5 21783 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
21912 ac_status=$? 21784 ac_status=$?
@@ -21916,14 +21788,15 @@ if test -n "$PKG_CONFIG"; then
21916else 21788else
21917 pkg_failed=yes 21789 pkg_failed=yes
21918fi 21790fi
21919 fi 21791 else
21920else 21792 pkg_failed=untried
21921 pkg_failed=untried
21922fi 21793fi
21923 21794
21924 21795
21925 21796
21926if test $pkg_failed = yes; then 21797if test $pkg_failed = yes; then
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21799$as_echo "no" >&6; }
21927 21800
21928if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21801if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21929 _pkg_short_errors_supported=yes 21802 _pkg_short_errors_supported=yes
@@ -21931,17 +21804,17 @@ else
21931 _pkg_short_errors_supported=no 21804 _pkg_short_errors_supported=no
21932fi 21805fi
21933 if test $_pkg_short_errors_supported = yes; then 21806 if test $_pkg_short_errors_supported = yes; then
21934 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-screensaver"` 21807 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-screensaver" 2>&1`
21935 else 21808 else
21936 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-screensaver"` 21809 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-screensaver" 2>&1`
21937 fi 21810 fi
21938 # Put the nasty error message in config.log where it belongs 21811 # Put the nasty error message in config.log where it belongs
21939 echo "$XCB_SCREENSAVER_PKG_ERRORS" >&5 21812 echo "$XCB_SCREENSAVER_PKG_ERRORS" >&5
21940 21813
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21814 have_ecore_x_xcb_screensaver="no"
21942$as_echo "no" >&6; }
21943 have_ecore_x_xcb_screensaver="no"
21944elif test $pkg_failed = untried; then 21815elif test $pkg_failed = untried; then
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21817$as_echo "no" >&6; }
21945 have_ecore_x_xcb_screensaver="no" 21818 have_ecore_x_xcb_screensaver="no"
21946else 21819else
21947 XCB_SCREENSAVER_CFLAGS=$pkg_cv_XCB_SCREENSAVER_CFLAGS 21820 XCB_SCREENSAVER_CFLAGS=$pkg_cv_XCB_SCREENSAVER_CFLAGS
@@ -21966,11 +21839,10 @@ pkg_failed=no
21966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHAPE" >&5 21839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHAPE" >&5
21967$as_echo_n "checking for XCB_SHAPE... " >&6; } 21840$as_echo_n "checking for XCB_SHAPE... " >&6; }
21968 21841
21969if test -n "$PKG_CONFIG"; then 21842if test -n "$XCB_SHAPE_CFLAGS"; then
21970 if test -n "$XCB_SHAPE_CFLAGS"; then 21843 pkg_cv_XCB_SHAPE_CFLAGS="$XCB_SHAPE_CFLAGS"
21971 pkg_cv_XCB_SHAPE_CFLAGS="$XCB_SHAPE_CFLAGS" 21844 elif test -n "$PKG_CONFIG"; then
21972 else 21845 if test -n "$PKG_CONFIG" && \
21973 if test -n "$PKG_CONFIG" && \
21974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5 21846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
21975 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5 21847 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
21976 ac_status=$? 21848 ac_status=$?
@@ -21980,15 +21852,13 @@ if test -n "$PKG_CONFIG"; then
21980else 21852else
21981 pkg_failed=yes 21853 pkg_failed=yes
21982fi 21854fi
21983 fi 21855 else
21984else 21856 pkg_failed=untried
21985 pkg_failed=untried
21986fi 21857fi
21987if test -n "$PKG_CONFIG"; then 21858if test -n "$XCB_SHAPE_LIBS"; then
21988 if test -n "$XCB_SHAPE_LIBS"; then 21859 pkg_cv_XCB_SHAPE_LIBS="$XCB_SHAPE_LIBS"
21989 pkg_cv_XCB_SHAPE_LIBS="$XCB_SHAPE_LIBS" 21860 elif test -n "$PKG_CONFIG"; then
21990 else 21861 if test -n "$PKG_CONFIG" && \
21991 if test -n "$PKG_CONFIG" && \
21992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5 21862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
21993 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5 21863 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
21994 ac_status=$? 21864 ac_status=$?
@@ -21998,14 +21868,15 @@ if test -n "$PKG_CONFIG"; then
21998else 21868else
21999 pkg_failed=yes 21869 pkg_failed=yes
22000fi 21870fi
22001 fi 21871 else
22002else 21872 pkg_failed=untried
22003 pkg_failed=untried
22004fi 21873fi
22005 21874
22006 21875
22007 21876
22008if test $pkg_failed = yes; then 21877if test $pkg_failed = yes; then
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21879$as_echo "no" >&6; }
22009 21880
22010if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21881if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22011 _pkg_short_errors_supported=yes 21882 _pkg_short_errors_supported=yes
@@ -22013,17 +21884,17 @@ else
22013 _pkg_short_errors_supported=no 21884 _pkg_short_errors_supported=no
22014fi 21885fi
22015 if test $_pkg_short_errors_supported = yes; then 21886 if test $_pkg_short_errors_supported = yes; then
22016 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-shape"` 21887 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-shape" 2>&1`
22017 else 21888 else
22018 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-shape"` 21889 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-shape" 2>&1`
22019 fi 21890 fi
22020 # Put the nasty error message in config.log where it belongs 21891 # Put the nasty error message in config.log where it belongs
22021 echo "$XCB_SHAPE_PKG_ERRORS" >&5 21892 echo "$XCB_SHAPE_PKG_ERRORS" >&5
22022 21893
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21894 have_ecore_x_xcb_shape="no"
22024$as_echo "no" >&6; }
22025 have_ecore_x_xcb_shape="no"
22026elif test $pkg_failed = untried; then 21895elif test $pkg_failed = untried; then
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21897$as_echo "no" >&6; }
22027 have_ecore_x_xcb_shape="no" 21898 have_ecore_x_xcb_shape="no"
22028else 21899else
22029 XCB_SHAPE_CFLAGS=$pkg_cv_XCB_SHAPE_CFLAGS 21900 XCB_SHAPE_CFLAGS=$pkg_cv_XCB_SHAPE_CFLAGS
@@ -22048,11 +21919,10 @@ pkg_failed=no
22048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XGESTURE" >&5 21919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XGESTURE" >&5
22049$as_echo_n "checking for XCB_XGESTURE... " >&6; } 21920$as_echo_n "checking for XCB_XGESTURE... " >&6; }
22050 21921
22051if test -n "$PKG_CONFIG"; then 21922if test -n "$XCB_XGESTURE_CFLAGS"; then
22052 if test -n "$XCB_XGESTURE_CFLAGS"; then 21923 pkg_cv_XCB_XGESTURE_CFLAGS="$XCB_XGESTURE_CFLAGS"
22053 pkg_cv_XCB_XGESTURE_CFLAGS="$XCB_XGESTURE_CFLAGS" 21924 elif test -n "$PKG_CONFIG"; then
22054 else 21925 if test -n "$PKG_CONFIG" && \
22055 if test -n "$PKG_CONFIG" && \
22056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5 21926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22057 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5 21927 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22058 ac_status=$? 21928 ac_status=$?
@@ -22062,15 +21932,13 @@ if test -n "$PKG_CONFIG"; then
22062else 21932else
22063 pkg_failed=yes 21933 pkg_failed=yes
22064fi 21934fi
22065 fi 21935 else
22066else 21936 pkg_failed=untried
22067 pkg_failed=untried
22068fi 21937fi
22069if test -n "$PKG_CONFIG"; then 21938if test -n "$XCB_XGESTURE_LIBS"; then
22070 if test -n "$XCB_XGESTURE_LIBS"; then 21939 pkg_cv_XCB_XGESTURE_LIBS="$XCB_XGESTURE_LIBS"
22071 pkg_cv_XCB_XGESTURE_LIBS="$XCB_XGESTURE_LIBS" 21940 elif test -n "$PKG_CONFIG"; then
22072 else 21941 if test -n "$PKG_CONFIG" && \
22073 if test -n "$PKG_CONFIG" && \
22074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5 21942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
22075 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5 21943 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
22076 ac_status=$? 21944 ac_status=$?
@@ -22080,14 +21948,15 @@ if test -n "$PKG_CONFIG"; then
22080else 21948else
22081 pkg_failed=yes 21949 pkg_failed=yes
22082fi 21950fi
22083 fi 21951 else
22084else 21952 pkg_failed=untried
22085 pkg_failed=untried
22086fi 21953fi
22087 21954
22088 21955
22089 21956
22090if test $pkg_failed = yes; then 21957if test $pkg_failed = yes; then
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21959$as_echo "no" >&6; }
22091 21960
22092if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21961if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22093 _pkg_short_errors_supported=yes 21962 _pkg_short_errors_supported=yes
@@ -22095,17 +21964,17 @@ else
22095 _pkg_short_errors_supported=no 21964 _pkg_short_errors_supported=no
22096fi 21965fi
22097 if test $_pkg_short_errors_supported = yes; then 21966 if test $_pkg_short_errors_supported = yes; then
22098 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-gesture"` 21967 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-gesture" 2>&1`
22099 else 21968 else
22100 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-gesture"` 21969 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-gesture" 2>&1`
22101 fi 21970 fi
22102 # Put the nasty error message in config.log where it belongs 21971 # Put the nasty error message in config.log where it belongs
22103 echo "$XCB_XGESTURE_PKG_ERRORS" >&5 21972 echo "$XCB_XGESTURE_PKG_ERRORS" >&5
22104 21973
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21974 have_ecore_x_xcb_gesture="no"
22106$as_echo "no" >&6; }
22107 have_ecore_x_xcb_gesture="no"
22108elif test $pkg_failed = untried; then 21975elif test $pkg_failed = untried; then
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21977$as_echo "no" >&6; }
22109 have_ecore_x_xcb_gesture="no" 21978 have_ecore_x_xcb_gesture="no"
22110else 21979else
22111 XCB_XGESTURE_CFLAGS=$pkg_cv_XCB_XGESTURE_CFLAGS 21980 XCB_XGESTURE_CFLAGS=$pkg_cv_XCB_XGESTURE_CFLAGS
@@ -22130,11 +21999,10 @@ pkg_failed=no
22130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SYNC" >&5 21999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SYNC" >&5
22131$as_echo_n "checking for XCB_SYNC... " >&6; } 22000$as_echo_n "checking for XCB_SYNC... " >&6; }
22132 22001
22133if test -n "$PKG_CONFIG"; then 22002if test -n "$XCB_SYNC_CFLAGS"; then
22134 if test -n "$XCB_SYNC_CFLAGS"; then 22003 pkg_cv_XCB_SYNC_CFLAGS="$XCB_SYNC_CFLAGS"
22135 pkg_cv_XCB_SYNC_CFLAGS="$XCB_SYNC_CFLAGS" 22004 elif test -n "$PKG_CONFIG"; then
22136 else 22005 if test -n "$PKG_CONFIG" && \
22137 if test -n "$PKG_CONFIG" && \
22138 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5 22006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22139 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5 22007 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22140 ac_status=$? 22008 ac_status=$?
@@ -22144,15 +22012,13 @@ if test -n "$PKG_CONFIG"; then
22144else 22012else
22145 pkg_failed=yes 22013 pkg_failed=yes
22146fi 22014fi
22147 fi 22015 else
22148else 22016 pkg_failed=untried
22149 pkg_failed=untried
22150fi 22017fi
22151if test -n "$PKG_CONFIG"; then 22018if test -n "$XCB_SYNC_LIBS"; then
22152 if test -n "$XCB_SYNC_LIBS"; then 22019 pkg_cv_XCB_SYNC_LIBS="$XCB_SYNC_LIBS"
22153 pkg_cv_XCB_SYNC_LIBS="$XCB_SYNC_LIBS" 22020 elif test -n "$PKG_CONFIG"; then
22154 else 22021 if test -n "$PKG_CONFIG" && \
22155 if test -n "$PKG_CONFIG" && \
22156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5 22022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22157 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5 22023 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22158 ac_status=$? 22024 ac_status=$?
@@ -22162,14 +22028,15 @@ if test -n "$PKG_CONFIG"; then
22162else 22028else
22163 pkg_failed=yes 22029 pkg_failed=yes
22164fi 22030fi
22165 fi 22031 else
22166else 22032 pkg_failed=untried
22167 pkg_failed=untried
22168fi 22033fi
22169 22034
22170 22035
22171 22036
22172if test $pkg_failed = yes; then 22037if test $pkg_failed = yes; then
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22039$as_echo "no" >&6; }
22173 22040
22174if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22041if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22175 _pkg_short_errors_supported=yes 22042 _pkg_short_errors_supported=yes
@@ -22177,17 +22044,17 @@ else
22177 _pkg_short_errors_supported=no 22044 _pkg_short_errors_supported=no
22178fi 22045fi
22179 if test $_pkg_short_errors_supported = yes; then 22046 if test $_pkg_short_errors_supported = yes; then
22180 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-sync"` 22047 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-sync" 2>&1`
22181 else 22048 else
22182 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-sync"` 22049 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-sync" 2>&1`
22183 fi 22050 fi
22184 # Put the nasty error message in config.log where it belongs 22051 # Put the nasty error message in config.log where it belongs
22185 echo "$XCB_SYNC_PKG_ERRORS" >&5 22052 echo "$XCB_SYNC_PKG_ERRORS" >&5
22186 22053
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22054 have_ecore_x_xcb_sync="no"
22188$as_echo "no" >&6; }
22189 have_ecore_x_xcb_sync="no"
22190elif test $pkg_failed = untried; then 22055elif test $pkg_failed = untried; then
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22057$as_echo "no" >&6; }
22191 have_ecore_x_xcb_sync="no" 22058 have_ecore_x_xcb_sync="no"
22192else 22059else
22193 XCB_SYNC_CFLAGS=$pkg_cv_XCB_SYNC_CFLAGS 22060 XCB_SYNC_CFLAGS=$pkg_cv_XCB_SYNC_CFLAGS
@@ -22212,11 +22079,10 @@ pkg_failed=no
22212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XFIXES" >&5 22079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XFIXES" >&5
22213$as_echo_n "checking for XCB_XFIXES... " >&6; } 22080$as_echo_n "checking for XCB_XFIXES... " >&6; }
22214 22081
22215if test -n "$PKG_CONFIG"; then 22082if test -n "$XCB_XFIXES_CFLAGS"; then
22216 if test -n "$XCB_XFIXES_CFLAGS"; then 22083 pkg_cv_XCB_XFIXES_CFLAGS="$XCB_XFIXES_CFLAGS"
22217 pkg_cv_XCB_XFIXES_CFLAGS="$XCB_XFIXES_CFLAGS" 22084 elif test -n "$PKG_CONFIG"; then
22218 else 22085 if test -n "$PKG_CONFIG" && \
22219 if test -n "$PKG_CONFIG" && \
22220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5 22086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22221 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5 22087 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22222 ac_status=$? 22088 ac_status=$?
@@ -22226,15 +22092,13 @@ if test -n "$PKG_CONFIG"; then
22226else 22092else
22227 pkg_failed=yes 22093 pkg_failed=yes
22228fi 22094fi
22229 fi 22095 else
22230else 22096 pkg_failed=untried
22231 pkg_failed=untried
22232fi 22097fi
22233if test -n "$PKG_CONFIG"; then 22098if test -n "$XCB_XFIXES_LIBS"; then
22234 if test -n "$XCB_XFIXES_LIBS"; then 22099 pkg_cv_XCB_XFIXES_LIBS="$XCB_XFIXES_LIBS"
22235 pkg_cv_XCB_XFIXES_LIBS="$XCB_XFIXES_LIBS" 22100 elif test -n "$PKG_CONFIG"; then
22236 else 22101 if test -n "$PKG_CONFIG" && \
22237 if test -n "$PKG_CONFIG" && \
22238 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5 22102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22239 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5 22103 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22240 ac_status=$? 22104 ac_status=$?
@@ -22244,14 +22108,15 @@ if test -n "$PKG_CONFIG"; then
22244else 22108else
22245 pkg_failed=yes 22109 pkg_failed=yes
22246fi 22110fi
22247 fi 22111 else
22248else 22112 pkg_failed=untried
22249 pkg_failed=untried
22250fi 22113fi
22251 22114
22252 22115
22253 22116
22254if test $pkg_failed = yes; then 22117if test $pkg_failed = yes; then
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22119$as_echo "no" >&6; }
22255 22120
22256if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22121if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22257 _pkg_short_errors_supported=yes 22122 _pkg_short_errors_supported=yes
@@ -22259,17 +22124,17 @@ else
22259 _pkg_short_errors_supported=no 22124 _pkg_short_errors_supported=no
22260fi 22125fi
22261 if test $_pkg_short_errors_supported = yes; then 22126 if test $_pkg_short_errors_supported = yes; then
22262 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-xfixes"` 22127 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xfixes" 2>&1`
22263 else 22128 else
22264 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-xfixes"` 22129 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xfixes" 2>&1`
22265 fi 22130 fi
22266 # Put the nasty error message in config.log where it belongs 22131 # Put the nasty error message in config.log where it belongs
22267 echo "$XCB_XFIXES_PKG_ERRORS" >&5 22132 echo "$XCB_XFIXES_PKG_ERRORS" >&5
22268 22133
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22134 have_ecore_x_xcb_xfixes="no"
22270$as_echo "no" >&6; }
22271 have_ecore_x_xcb_xfixes="no"
22272elif test $pkg_failed = untried; then 22135elif test $pkg_failed = untried; then
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22137$as_echo "no" >&6; }
22273 have_ecore_x_xcb_xfixes="no" 22138 have_ecore_x_xcb_xfixes="no"
22274else 22139else
22275 XCB_XFIXES_CFLAGS=$pkg_cv_XCB_XFIXES_CFLAGS 22140 XCB_XFIXES_CFLAGS=$pkg_cv_XCB_XFIXES_CFLAGS
@@ -22294,11 +22159,10 @@ pkg_failed=no
22294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINERAMA" >&5 22159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINERAMA" >&5
22295$as_echo_n "checking for XCB_XINERAMA... " >&6; } 22160$as_echo_n "checking for XCB_XINERAMA... " >&6; }
22296 22161
22297if test -n "$PKG_CONFIG"; then 22162if test -n "$XCB_XINERAMA_CFLAGS"; then
22298 if test -n "$XCB_XINERAMA_CFLAGS"; then 22163 pkg_cv_XCB_XINERAMA_CFLAGS="$XCB_XINERAMA_CFLAGS"
22299 pkg_cv_XCB_XINERAMA_CFLAGS="$XCB_XINERAMA_CFLAGS" 22164 elif test -n "$PKG_CONFIG"; then
22300 else 22165 if test -n "$PKG_CONFIG" && \
22301 if test -n "$PKG_CONFIG" && \
22302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5 22166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22303 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5 22167 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22304 ac_status=$? 22168 ac_status=$?
@@ -22308,15 +22172,13 @@ if test -n "$PKG_CONFIG"; then
22308else 22172else
22309 pkg_failed=yes 22173 pkg_failed=yes
22310fi 22174fi
22311 fi 22175 else
22312else 22176 pkg_failed=untried
22313 pkg_failed=untried
22314fi 22177fi
22315if test -n "$PKG_CONFIG"; then 22178if test -n "$XCB_XINERAMA_LIBS"; then
22316 if test -n "$XCB_XINERAMA_LIBS"; then 22179 pkg_cv_XCB_XINERAMA_LIBS="$XCB_XINERAMA_LIBS"
22317 pkg_cv_XCB_XINERAMA_LIBS="$XCB_XINERAMA_LIBS" 22180 elif test -n "$PKG_CONFIG"; then
22318 else 22181 if test -n "$PKG_CONFIG" && \
22319 if test -n "$PKG_CONFIG" && \
22320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5 22182 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22321 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5 22183 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22322 ac_status=$? 22184 ac_status=$?
@@ -22326,14 +22188,15 @@ if test -n "$PKG_CONFIG"; then
22326else 22188else
22327 pkg_failed=yes 22189 pkg_failed=yes
22328fi 22190fi
22329 fi 22191 else
22330else 22192 pkg_failed=untried
22331 pkg_failed=untried
22332fi 22193fi
22333 22194
22334 22195
22335 22196
22336if test $pkg_failed = yes; then 22197if test $pkg_failed = yes; then
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199$as_echo "no" >&6; }
22337 22200
22338if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22201if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22339 _pkg_short_errors_supported=yes 22202 _pkg_short_errors_supported=yes
@@ -22341,17 +22204,17 @@ else
22341 _pkg_short_errors_supported=no 22204 _pkg_short_errors_supported=no
22342fi 22205fi
22343 if test $_pkg_short_errors_supported = yes; then 22206 if test $_pkg_short_errors_supported = yes; then
22344 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-xinerama"` 22207 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xinerama" 2>&1`
22345 else 22208 else
22346 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-xinerama"` 22209 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xinerama" 2>&1`
22347 fi 22210 fi
22348 # Put the nasty error message in config.log where it belongs 22211 # Put the nasty error message in config.log where it belongs
22349 echo "$XCB_XINERAMA_PKG_ERRORS" >&5 22212 echo "$XCB_XINERAMA_PKG_ERRORS" >&5
22350 22213
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22214 have_ecore_x_xcb_xinerama="no"
22352$as_echo "no" >&6; }
22353 have_ecore_x_xcb_xinerama="no"
22354elif test $pkg_failed = untried; then 22215elif test $pkg_failed = untried; then
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217$as_echo "no" >&6; }
22355 have_ecore_x_xcb_xinerama="no" 22218 have_ecore_x_xcb_xinerama="no"
22356else 22219else
22357 XCB_XINERAMA_CFLAGS=$pkg_cv_XCB_XINERAMA_CFLAGS 22220 XCB_XINERAMA_CFLAGS=$pkg_cv_XCB_XINERAMA_CFLAGS
@@ -22376,11 +22239,10 @@ pkg_failed=no
22376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XPRINT" >&5 22239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XPRINT" >&5
22377$as_echo_n "checking for XCB_XPRINT... " >&6; } 22240$as_echo_n "checking for XCB_XPRINT... " >&6; }
22378 22241
22379if test -n "$PKG_CONFIG"; then 22242if test -n "$XCB_XPRINT_CFLAGS"; then
22380 if test -n "$XCB_XPRINT_CFLAGS"; then 22243 pkg_cv_XCB_XPRINT_CFLAGS="$XCB_XPRINT_CFLAGS"
22381 pkg_cv_XCB_XPRINT_CFLAGS="$XCB_XPRINT_CFLAGS" 22244 elif test -n "$PKG_CONFIG"; then
22382 else 22245 if test -n "$PKG_CONFIG" && \
22383 if test -n "$PKG_CONFIG" && \
22384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5 22246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22385 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5 22247 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22386 ac_status=$? 22248 ac_status=$?
@@ -22390,15 +22252,13 @@ if test -n "$PKG_CONFIG"; then
22390else 22252else
22391 pkg_failed=yes 22253 pkg_failed=yes
22392fi 22254fi
22393 fi 22255 else
22394else 22256 pkg_failed=untried
22395 pkg_failed=untried
22396fi 22257fi
22397if test -n "$PKG_CONFIG"; then 22258if test -n "$XCB_XPRINT_LIBS"; then
22398 if test -n "$XCB_XPRINT_LIBS"; then 22259 pkg_cv_XCB_XPRINT_LIBS="$XCB_XPRINT_LIBS"
22399 pkg_cv_XCB_XPRINT_LIBS="$XCB_XPRINT_LIBS" 22260 elif test -n "$PKG_CONFIG"; then
22400 else 22261 if test -n "$PKG_CONFIG" && \
22401 if test -n "$PKG_CONFIG" && \
22402 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5 22262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22403 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5 22263 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22404 ac_status=$? 22264 ac_status=$?
@@ -22408,14 +22268,15 @@ if test -n "$PKG_CONFIG"; then
22408else 22268else
22409 pkg_failed=yes 22269 pkg_failed=yes
22410fi 22270fi
22411 fi 22271 else
22412else 22272 pkg_failed=untried
22413 pkg_failed=untried
22414fi 22273fi
22415 22274
22416 22275
22417 22276
22418if test $pkg_failed = yes; then 22277if test $pkg_failed = yes; then
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22279$as_echo "no" >&6; }
22419 22280
22420if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22281if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22421 _pkg_short_errors_supported=yes 22282 _pkg_short_errors_supported=yes
@@ -22423,17 +22284,17 @@ else
22423 _pkg_short_errors_supported=no 22284 _pkg_short_errors_supported=no
22424fi 22285fi
22425 if test $_pkg_short_errors_supported = yes; then 22286 if test $_pkg_short_errors_supported = yes; then
22426 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-xprint"` 22287 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xprint" 2>&1`
22427 else 22288 else
22428 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-xprint"` 22289 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xprint" 2>&1`
22429 fi 22290 fi
22430 # Put the nasty error message in config.log where it belongs 22291 # Put the nasty error message in config.log where it belongs
22431 echo "$XCB_XPRINT_PKG_ERRORS" >&5 22292 echo "$XCB_XPRINT_PKG_ERRORS" >&5
22432 22293
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22294 have_ecore_x_xcb_xprint="no"
22434$as_echo "no" >&6; }
22435 have_ecore_x_xcb_xprint="no"
22436elif test $pkg_failed = untried; then 22295elif test $pkg_failed = untried; then
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22297$as_echo "no" >&6; }
22437 have_ecore_x_xcb_xprint="no" 22298 have_ecore_x_xcb_xprint="no"
22438else 22299else
22439 XCB_XPRINT_CFLAGS=$pkg_cv_XCB_XPRINT_CFLAGS 22300 XCB_XPRINT_CFLAGS=$pkg_cv_XCB_XPRINT_CFLAGS
@@ -22458,11 +22319,10 @@ pkg_failed=no
22458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XTEST" >&5 22319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XTEST" >&5
22459$as_echo_n "checking for XCB_XTEST... " >&6; } 22320$as_echo_n "checking for XCB_XTEST... " >&6; }
22460 22321
22461if test -n "$PKG_CONFIG"; then 22322if test -n "$XCB_XTEST_CFLAGS"; then
22462 if test -n "$XCB_XTEST_CFLAGS"; then 22323 pkg_cv_XCB_XTEST_CFLAGS="$XCB_XTEST_CFLAGS"
22463 pkg_cv_XCB_XTEST_CFLAGS="$XCB_XTEST_CFLAGS" 22324 elif test -n "$PKG_CONFIG"; then
22464 else 22325 if test -n "$PKG_CONFIG" && \
22465 if test -n "$PKG_CONFIG" && \
22466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5 22326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22467 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5 22327 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22468 ac_status=$? 22328 ac_status=$?
@@ -22472,15 +22332,13 @@ if test -n "$PKG_CONFIG"; then
22472else 22332else
22473 pkg_failed=yes 22333 pkg_failed=yes
22474fi 22334fi
22475 fi 22335 else
22476else 22336 pkg_failed=untried
22477 pkg_failed=untried
22478fi 22337fi
22479if test -n "$PKG_CONFIG"; then 22338if test -n "$XCB_XTEST_LIBS"; then
22480 if test -n "$XCB_XTEST_LIBS"; then 22339 pkg_cv_XCB_XTEST_LIBS="$XCB_XTEST_LIBS"
22481 pkg_cv_XCB_XTEST_LIBS="$XCB_XTEST_LIBS" 22340 elif test -n "$PKG_CONFIG"; then
22482 else 22341 if test -n "$PKG_CONFIG" && \
22483 if test -n "$PKG_CONFIG" && \
22484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5 22342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22485 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5 22343 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22486 ac_status=$? 22344 ac_status=$?
@@ -22490,14 +22348,15 @@ if test -n "$PKG_CONFIG"; then
22490else 22348else
22491 pkg_failed=yes 22349 pkg_failed=yes
22492fi 22350fi
22493 fi 22351 else
22494else 22352 pkg_failed=untried
22495 pkg_failed=untried
22496fi 22353fi
22497 22354
22498 22355
22499 22356
22500if test $pkg_failed = yes; then 22357if test $pkg_failed = yes; then
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22359$as_echo "no" >&6; }
22501 22360
22502if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22361if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22503 _pkg_short_errors_supported=yes 22362 _pkg_short_errors_supported=yes
@@ -22505,17 +22364,17 @@ else
22505 _pkg_short_errors_supported=no 22364 _pkg_short_errors_supported=no
22506fi 22365fi
22507 if test $_pkg_short_errors_supported = yes; then 22366 if test $_pkg_short_errors_supported = yes; then
22508 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-xtest"` 22367 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xtest" 2>&1`
22509 else 22368 else
22510 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-xtest"` 22369 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xtest" 2>&1`
22511 fi 22370 fi
22512 # Put the nasty error message in config.log where it belongs 22371 # Put the nasty error message in config.log where it belongs
22513 echo "$XCB_XTEST_PKG_ERRORS" >&5 22372 echo "$XCB_XTEST_PKG_ERRORS" >&5
22514 22373
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22374 have_ecore_x_xcb_xtest="no"
22516$as_echo "no" >&6; }
22517 have_ecore_x_xcb_xtest="no"
22518elif test $pkg_failed = untried; then 22375elif test $pkg_failed = untried; then
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22377$as_echo "no" >&6; }
22519 have_ecore_x_xcb_xtest="no" 22378 have_ecore_x_xcb_xtest="no"
22520else 22379else
22521 XCB_XTEST_CFLAGS=$pkg_cv_XCB_XTEST_CFLAGS 22380 XCB_XTEST_CFLAGS=$pkg_cv_XCB_XTEST_CFLAGS
@@ -22542,11 +22401,10 @@ pkg_failed=no
22542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINPUT" >&5 22401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINPUT" >&5
22543$as_echo_n "checking for XCB_XINPUT... " >&6; } 22402$as_echo_n "checking for XCB_XINPUT... " >&6; }
22544 22403
22545if test -n "$PKG_CONFIG"; then 22404if test -n "$XCB_XINPUT_CFLAGS"; then
22546 if test -n "$XCB_XINPUT_CFLAGS"; then 22405 pkg_cv_XCB_XINPUT_CFLAGS="$XCB_XINPUT_CFLAGS"
22547 pkg_cv_XCB_XINPUT_CFLAGS="$XCB_XINPUT_CFLAGS" 22406 elif test -n "$PKG_CONFIG"; then
22548 else 22407 if test -n "$PKG_CONFIG" && \
22549 if test -n "$PKG_CONFIG" && \
22550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5 22408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22551 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5 22409 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22552 ac_status=$? 22410 ac_status=$?
@@ -22556,15 +22414,13 @@ if test -n "$PKG_CONFIG"; then
22556else 22414else
22557 pkg_failed=yes 22415 pkg_failed=yes
22558fi 22416fi
22559 fi 22417 else
22560else 22418 pkg_failed=untried
22561 pkg_failed=untried
22562fi 22419fi
22563if test -n "$PKG_CONFIG"; then 22420if test -n "$XCB_XINPUT_LIBS"; then
22564 if test -n "$XCB_XINPUT_LIBS"; then 22421 pkg_cv_XCB_XINPUT_LIBS="$XCB_XINPUT_LIBS"
22565 pkg_cv_XCB_XINPUT_LIBS="$XCB_XINPUT_LIBS" 22422 elif test -n "$PKG_CONFIG"; then
22566 else 22423 if test -n "$PKG_CONFIG" && \
22567 if test -n "$PKG_CONFIG" && \
22568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5 22424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22569 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5 22425 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22570 ac_status=$? 22426 ac_status=$?
@@ -22574,14 +22430,15 @@ if test -n "$PKG_CONFIG"; then
22574else 22430else
22575 pkg_failed=yes 22431 pkg_failed=yes
22576fi 22432fi
22577 fi 22433 else
22578else 22434 pkg_failed=untried
22579 pkg_failed=untried
22580fi 22435fi
22581 22436
22582 22437
22583 22438
22584if test $pkg_failed = yes; then 22439if test $pkg_failed = yes; then
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22441$as_echo "no" >&6; }
22585 22442
22586if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22443if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22587 _pkg_short_errors_supported=yes 22444 _pkg_short_errors_supported=yes
@@ -22589,17 +22446,17 @@ else
22589 _pkg_short_errors_supported=no 22446 _pkg_short_errors_supported=no
22590fi 22447fi
22591 if test $_pkg_short_errors_supported = yes; then 22448 if test $_pkg_short_errors_supported = yes; then
22592 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-xinput"` 22449 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xinput" 2>&1`
22593 else 22450 else
22594 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-xinput"` 22451 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xinput" 2>&1`
22595 fi 22452 fi
22596 # Put the nasty error message in config.log where it belongs 22453 # Put the nasty error message in config.log where it belongs
22597 echo "$XCB_XINPUT_PKG_ERRORS" >&5 22454 echo "$XCB_XINPUT_PKG_ERRORS" >&5
22598 22455
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22456 have_ecore_x_xcb_xinput="no"
22600$as_echo "no" >&6; }
22601 have_ecore_x_xcb_xinput="no"
22602elif test $pkg_failed = untried; then 22457elif test $pkg_failed = untried; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22459$as_echo "no" >&6; }
22603 have_ecore_x_xcb_xinput="no" 22460 have_ecore_x_xcb_xinput="no"
22604else 22461else
22605 XCB_XINPUT_CFLAGS=$pkg_cv_XCB_XINPUT_CFLAGS 22462 XCB_XINPUT_CFLAGS=$pkg_cv_XCB_XINPUT_CFLAGS
@@ -22624,11 +22481,10 @@ pkg_failed=no
22624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_CURSOR" >&5 22481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_CURSOR" >&5
22625$as_echo_n "checking for XCB_CURSOR... " >&6; } 22482$as_echo_n "checking for XCB_CURSOR... " >&6; }
22626 22483
22627if test -n "$PKG_CONFIG"; then 22484if test -n "$XCB_CURSOR_CFLAGS"; then
22628 if test -n "$XCB_CURSOR_CFLAGS"; then 22485 pkg_cv_XCB_CURSOR_CFLAGS="$XCB_CURSOR_CFLAGS"
22629 pkg_cv_XCB_CURSOR_CFLAGS="$XCB_CURSOR_CFLAGS" 22486 elif test -n "$PKG_CONFIG"; then
22630 else 22487 if test -n "$PKG_CONFIG" && \
22631 if test -n "$PKG_CONFIG" && \
22632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5 22488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22633 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5 22489 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22634 ac_status=$? 22490 ac_status=$?
@@ -22638,15 +22494,13 @@ if test -n "$PKG_CONFIG"; then
22638else 22494else
22639 pkg_failed=yes 22495 pkg_failed=yes
22640fi 22496fi
22641 fi 22497 else
22642else 22498 pkg_failed=untried
22643 pkg_failed=untried
22644fi 22499fi
22645if test -n "$PKG_CONFIG"; then 22500if test -n "$XCB_CURSOR_LIBS"; then
22646 if test -n "$XCB_CURSOR_LIBS"; then 22501 pkg_cv_XCB_CURSOR_LIBS="$XCB_CURSOR_LIBS"
22647 pkg_cv_XCB_CURSOR_LIBS="$XCB_CURSOR_LIBS" 22502 elif test -n "$PKG_CONFIG"; then
22648 else 22503 if test -n "$PKG_CONFIG" && \
22649 if test -n "$PKG_CONFIG" && \
22650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5 22504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22651 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5 22505 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22652 ac_status=$? 22506 ac_status=$?
@@ -22656,14 +22510,15 @@ if test -n "$PKG_CONFIG"; then
22656else 22510else
22657 pkg_failed=yes 22511 pkg_failed=yes
22658fi 22512fi
22659 fi 22513 else
22660else 22514 pkg_failed=untried
22661 pkg_failed=untried
22662fi 22515fi
22663 22516
22664 22517
22665 22518
22666if test $pkg_failed = yes; then 22519if test $pkg_failed = yes; then
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22521$as_echo "no" >&6; }
22667 22522
22668if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22523if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22669 _pkg_short_errors_supported=yes 22524 _pkg_short_errors_supported=yes
@@ -22671,17 +22526,17 @@ else
22671 _pkg_short_errors_supported=no 22526 _pkg_short_errors_supported=no
22672fi 22527fi
22673 if test $_pkg_short_errors_supported = yes; then 22528 if test $_pkg_short_errors_supported = yes; then
22674 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-render xcb-renderutil"` 22529 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-render xcb-renderutil" 2>&1`
22675 else 22530 else
22676 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-render xcb-renderutil"` 22531 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-render xcb-renderutil" 2>&1`
22677 fi 22532 fi
22678 # Put the nasty error message in config.log where it belongs 22533 # Put the nasty error message in config.log where it belongs
22679 echo "$XCB_CURSOR_PKG_ERRORS" >&5 22534 echo "$XCB_CURSOR_PKG_ERRORS" >&5
22680 22535
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 22536 have_ecore_x_xcb_cursor="no"
22682$as_echo "no" >&6; }
22683 have_ecore_x_xcb_cursor="no"
22684elif test $pkg_failed = untried; then 22537elif test $pkg_failed = untried; then
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22539$as_echo "no" >&6; }
22685 have_ecore_x_xcb_cursor="no" 22540 have_ecore_x_xcb_cursor="no"
22686else 22541else
22687 XCB_CURSOR_CFLAGS=$pkg_cv_XCB_CURSOR_CFLAGS 22542 XCB_CURSOR_CFLAGS=$pkg_cv_XCB_CURSOR_CFLAGS
@@ -22740,7 +22595,7 @@ if test "x$with_x" = xno; then
22740 have_x=disabled 22595 have_x=disabled
22741else 22596else
22742 case $x_includes,$x_libraries in #( 22597 case $x_includes,$x_libraries in #(
22743 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 22598 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
22744 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 22599 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
22745 $as_echo_n "(cached) " >&6 22600 $as_echo_n "(cached) " >&6
22746else 22601else
@@ -22758,7 +22613,7 @@ libdir:
22758 @echo libdir='${LIBDIR}' 22613 @echo libdir='${LIBDIR}'
22759_ACEOF 22614_ACEOF
22760 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 22615 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 22616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22762 for ac_var in incroot usrlibdir libdir; do 22617 for ac_var in incroot usrlibdir libdir; do
22763 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 22618 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22764 done 22619 done
@@ -22844,7 +22699,7 @@ else
22844 fi 22699 fi
22845done 22700done
22846fi 22701fi
22847rm -f conftest.err conftest.$ac_ext 22702rm -f conftest.err conftest.i conftest.$ac_ext
22848fi # $ac_x_includes = no 22703fi # $ac_x_includes = no
22849 22704
22850if test "$ac_x_libraries" = no; then 22705if test "$ac_x_libraries" = no; then
@@ -24710,46 +24565,44 @@ pkg_failed=no
24710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5 24565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
24711$as_echo_n "checking for EVAS... " >&6; } 24566$as_echo_n "checking for EVAS... " >&6; }
24712 24567
24713if test -n "$PKG_CONFIG"; then 24568if test -n "$EVAS_CFLAGS"; then
24714 if test -n "$EVAS_CFLAGS"; then 24569 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
24715 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS" 24570 elif test -n "$PKG_CONFIG"; then
24716 else 24571 if test -n "$PKG_CONFIG" && \
24717 if test -n "$PKG_CONFIG" && \ 24572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.2.0\""; } >&5
24718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.1.99\""; } >&5 24573 ($PKG_CONFIG --exists --print-errors "evas >= 1.2.0") 2>&5
24719 ($PKG_CONFIG --exists --print-errors "evas >= 1.1.99") 2>&5
24720 ac_status=$? 24574 ac_status=$?
24721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24722 test $ac_status = 0; }; then 24576 test $ac_status = 0; }; then
24723 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.1.99" 2>/dev/null` 24577 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.2.0" 2>/dev/null`
24724else 24578else
24725 pkg_failed=yes 24579 pkg_failed=yes
24726fi 24580fi
24727 fi 24581 else
24728else 24582 pkg_failed=untried
24729 pkg_failed=untried
24730fi 24583fi
24731if test -n "$PKG_CONFIG"; then 24584if test -n "$EVAS_LIBS"; then
24732 if test -n "$EVAS_LIBS"; then 24585 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
24733 pkg_cv_EVAS_LIBS="$EVAS_LIBS" 24586 elif test -n "$PKG_CONFIG"; then
24734 else 24587 if test -n "$PKG_CONFIG" && \
24735 if test -n "$PKG_CONFIG" && \ 24588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.2.0\""; } >&5
24736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.1.99\""; } >&5 24589 ($PKG_CONFIG --exists --print-errors "evas >= 1.2.0") 2>&5
24737 ($PKG_CONFIG --exists --print-errors "evas >= 1.1.99") 2>&5
24738 ac_status=$? 24590 ac_status=$?
24739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24740 test $ac_status = 0; }; then 24592 test $ac_status = 0; }; then
24741 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.1.99" 2>/dev/null` 24593 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.2.0" 2>/dev/null`
24742else 24594else
24743 pkg_failed=yes 24595 pkg_failed=yes
24744fi 24596fi
24745 fi 24597 else
24746else 24598 pkg_failed=untried
24747 pkg_failed=untried
24748fi 24599fi
24749 24600
24750 24601
24751 24602
24752if test $pkg_failed = yes; then 24603if test $pkg_failed = yes; then
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24605$as_echo "no" >&6; }
24753 24606
24754if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24607if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24755 _pkg_short_errors_supported=yes 24608 _pkg_short_errors_supported=yes
@@ -24757,17 +24610,17 @@ else
24757 _pkg_short_errors_supported=no 24610 _pkg_short_errors_supported=no
24758fi 24611fi
24759 if test $_pkg_short_errors_supported = yes; then 24612 if test $_pkg_short_errors_supported = yes; then
24760 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evas >= 1.1.99"` 24613 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.2.0" 2>&1`
24761 else 24614 else
24762 EVAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evas >= 1.1.99"` 24615 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.2.0" 2>&1`
24763 fi 24616 fi
24764 # Put the nasty error message in config.log where it belongs 24617 # Put the nasty error message in config.log where it belongs
24765 echo "$EVAS_PKG_ERRORS" >&5 24618 echo "$EVAS_PKG_ERRORS" >&5
24766 24619
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24620 have_evas="no"
24768$as_echo "no" >&6; }
24769 have_evas="no"
24770elif test $pkg_failed = untried; then 24621elif test $pkg_failed = untried; then
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24623$as_echo "no" >&6; }
24771 have_evas="no" 24624 have_evas="no"
24772else 24625else
24773 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS 24626 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
@@ -24784,8 +24637,7 @@ for ac_header in sys/select.h sys/prctl.h
24784do : 24637do :
24785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 24638 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24786ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 24639ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24787eval as_val=\$$as_ac_Header 24640if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24788 if test "x$as_val" = x""yes; then :
24789 cat >>confdefs.h <<_ACEOF 24641 cat >>confdefs.h <<_ACEOF
24790#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 24642#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24791_ACEOF 24643_ACEOF
@@ -25106,8 +24958,7 @@ $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
25106do : 24958do :
25107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 24959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25108ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 24960ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25109eval as_val=\$$as_ac_Header 24961if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25110 if test "x$as_val" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF 24962 cat >>confdefs.h <<_ACEOF
25112#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 24963#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25113_ACEOF 24964_ACEOF
@@ -25121,12 +24972,49 @@ esac
25121 24972
25122# ecore_con 24973# ecore_con
25123 24974
25124for ac_header in arpa/inet.h arpa/nameser.h netinet/tcp.h net/if.h netinet/in.h sys/socket.h sys/un.h ws2tcpip.h netdb.h 24975for ac_header in sys/socket.h
24976do :
24977 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
24978if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
24979 cat >>confdefs.h <<_ACEOF
24980#define HAVE_SYS_SOCKET_H 1
24981_ACEOF
24982
24983fi
24984
24985done
24986
24987for ac_header in net/if.h
24988do :
24989 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
24990#include <stdio.h>
24991#ifdef STDC_HEADERS
24992# include <stdlib.h>
24993# include <stddef.h>
24994#else
24995# ifdef HAVE_STDLIB_H
24996# include <stdlib.h>
24997# endif
24998#endif
24999#ifdef HAVE_SYS_SOCKET_H
25000# include <sys/socket.h>
25001#endif
25002
25003"
25004if test "x$ac_cv_header_net_if_h" = x""yes; then :
25005 cat >>confdefs.h <<_ACEOF
25006#define HAVE_NET_IF_H 1
25007_ACEOF
25008
25009fi
25010
25011done
25012
25013for ac_header in sys/un.h arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h
25125do : 25014do :
25126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 25015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25127ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 25016ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25128eval as_val=\$$as_ac_Header 25017if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25129 if test "x$as_val" = x""yes; then :
25130 cat >>confdefs.h <<_ACEOF 25018 cat >>confdefs.h <<_ACEOF
25131#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 25019#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25132_ACEOF 25020_ACEOF
@@ -25326,7 +25214,7 @@ if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25326 mingw*) 25214 mingw*)
25327 ;; 25215 ;;
25328 *) 25216 *)
25329 as_fn_error "Win32 threads support requested but non Windows system found." "$LINENO" 5 25217 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
25330 ;; 25218 ;;
25331 esac 25219 esac
25332fi 25220fi
@@ -25334,7 +25222,7 @@ fi
25334if test "x${_efl_enable_posix_threads}" = "xyes" ; then 25222if test "x${_efl_enable_posix_threads}" = "xyes" ; then
25335 case "$host_os" in 25223 case "$host_os" in
25336 mingw*) 25224 mingw*)
25337 as_fn_error "POSIX threads support requested but Windows system found." "$LINENO" 5 25225 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
25338 ;; 25226 ;;
25339 *) 25227 *)
25340 ;; 25228 ;;
@@ -25397,7 +25285,7 @@ $as_echo_n "checking whether system support POSIX threads... " >&6; }
25397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5 25285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
25398$as_echo "${_efl_have_posix_threads}" >&6; } 25286$as_echo "${_efl_have_posix_threads}" >&6; }
25399if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then 25287if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
25400 as_fn_error "POSIX threads support requested but not found." "$LINENO" 5 25288 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
25401fi 25289fi
25402 25290
25403EFL_PTHREAD_CFLAGS="" 25291EFL_PTHREAD_CFLAGS=""
@@ -25497,9 +25385,8 @@ else
25497 if test "$ac_cv_type_int" = yes; then 25385 if test "$ac_cv_type_int" = yes; then
25498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 25386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25500{ as_fn_set_status 77 25388as_fn_error 77 "cannot compute sizeof (int)
25501as_fn_error "cannot compute sizeof (int) 25389See \`config.log' for more details" "$LINENO" 5 ; }
25502See \`config.log' for more details." "$LINENO" 5; }; }
25503 else 25390 else
25504 ac_cv_sizeof_int=0 25391 ac_cv_sizeof_int=0
25505 fi 25392 fi
@@ -25531,9 +25418,8 @@ else
25531 if test "$ac_cv_type_long" = yes; then 25418 if test "$ac_cv_type_long" = yes; then
25532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 25419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25533$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25534{ as_fn_set_status 77 25421as_fn_error 77 "cannot compute sizeof (long)
25535as_fn_error "cannot compute sizeof (long) 25422See \`config.log' for more details" "$LINENO" 5 ; }
25536See \`config.log' for more details." "$LINENO" 5; }; }
25537 else 25423 else
25538 ac_cv_sizeof_long=0 25424 ac_cv_sizeof_long=0
25539 fi 25425 fi
@@ -26149,8 +26035,8 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
26149 26035
26150 ;; #( 26036 ;; #(
26151 *) 26037 *)
26152 as_fn_error "unknown endianness 26038 as_fn_error $? "unknown endianness
26153 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 26039 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
26154 esac 26040 esac
26155 26041
26156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 26042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
@@ -26351,14 +26237,12 @@ esac
26351 26237
26352 26238
26353### Checks for library functions 26239### Checks for library functions
26354 26240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
26355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5 26241$as_echo_n "checking for library containing strerror... " >&6; }
26356$as_echo_n "checking for strerror in -lcposix... " >&6; } 26242if test "${ac_cv_search_strerror+set}" = set; then :
26357if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
26358 $as_echo_n "(cached) " >&6 26243 $as_echo_n "(cached) " >&6
26359else 26244else
26360 ac_check_lib_save_LIBS=$LIBS 26245 ac_func_search_save_LIBS=$LIBS
26361LIBS="-lcposix $LIBS"
26362cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26363/* end confdefs.h. */ 26247/* end confdefs.h. */
26364 26248
@@ -26377,22 +26261,37 @@ return strerror ();
26377 return 0; 26261 return 0;
26378} 26262}
26379_ACEOF 26263_ACEOF
26380if ac_fn_c_try_link "$LINENO"; then : 26264for ac_lib in '' cposix; do
26381 ac_cv_lib_cposix_strerror=yes 26265 if test -z "$ac_lib"; then
26382else 26266 ac_res="none required"
26383 ac_cv_lib_cposix_strerror=no 26267 else
26268 ac_res=-l$ac_lib
26269 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26270 fi
26271 if ac_fn_c_try_link "$LINENO"; then :
26272 ac_cv_search_strerror=$ac_res
26384fi 26273fi
26385rm -f core conftest.err conftest.$ac_objext \ 26274rm -f core conftest.err conftest.$ac_objext \
26386 conftest$ac_exeext conftest.$ac_ext 26275 conftest$ac_exeext
26387LIBS=$ac_check_lib_save_LIBS 26276 if test "${ac_cv_search_strerror+set}" = set; then :
26388fi 26277 break
26389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
26390$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
26391if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
26392 LIBS="$LIBS -lcposix"
26393fi 26278fi
26279done
26280if test "${ac_cv_search_strerror+set}" = set; then :
26394 26281
26282else
26283 ac_cv_search_strerror=no
26284fi
26285rm conftest.$ac_ext
26286LIBS=$ac_func_search_save_LIBS
26287fi
26288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
26289$as_echo "$ac_cv_search_strerror" >&6; }
26290ac_res=$ac_cv_search_strerror
26291if test "$ac_res" != no; then :
26292 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26395 26293
26294fi
26396 26295
26397# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 26296# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
26398# for constant arguments. Useless! 26297# for constant arguments. Useless!
@@ -26521,8 +26420,7 @@ if test $ac_cv_os_cray = yes; then
26521 for ac_func in _getb67 GETB67 getb67; do 26420 for ac_func in _getb67 GETB67 getb67; do
26522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 26421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26523ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 26422ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26524eval as_val=\$$as_ac_var 26423if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26525 if test "x$as_val" = x""yes; then :
26526 26424
26527cat >>confdefs.h <<_ACEOF 26425cat >>confdefs.h <<_ACEOF
26528#define CRAY_STACKSEG_END $ac_func 26426#define CRAY_STACKSEG_END $ac_func
@@ -26588,8 +26486,7 @@ for ac_func in gettimeofday strlcpy execvp
26588do : 26486do :
26589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 26487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26590ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 26488ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26591eval as_val=\$$as_ac_var 26489if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26592 if test "x$as_val" = x""yes; then :
26593 cat >>confdefs.h <<_ACEOF 26490 cat >>confdefs.h <<_ACEOF
26594#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 26491#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26595_ACEOF 26492_ACEOF
@@ -26661,7 +26558,7 @@ $as_echo "#define HAVE_ATFILE_SOURCE 1" >>confdefs.h
26661else 26558else
26662 26559
26663 if test "x${have_atfile_source}" = "xyes" ; then 26560 if test "x${have_atfile_source}" = "xyes" ; then
26664 as_fn_error "required atfile-source but no mkdirat()" "$LINENO" 5 26561 as_fn_error $? "required atfile-source but no mkdirat()" "$LINENO" 5
26665 fi 26562 fi
26666 have_atfile_source="no" 26563 have_atfile_source="no"
26667 26564
@@ -26670,6 +26567,94 @@ done
26670 26567
26671fi 26568fi
26672 26569
26570SHM_OPEN_LIBS=""
26571
26572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open is in libc" >&5
26573$as_echo_n "checking whether shm_open is in libc... " >&6; }
26574cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26575/* end confdefs.h. */
26576
26577#include <sys/mman.h>
26578#include <sys/stat.h>
26579#include <fcntl.h>
26580
26581int
26582main ()
26583{
26584
26585int fd;
26586fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
26587shm_unlink("/");
26588
26589 ;
26590 return 0;
26591}
26592_ACEOF
26593if ac_fn_c_try_link "$LINENO"; then :
26594
26595 have_shm_open="yes"
26596
26597$as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
26598
26599
26600else
26601 have_shm_open="no"
26602fi
26603rm -f core conftest.err conftest.$ac_objext \
26604 conftest$ac_exeext conftest.$ac_ext
26605LIBS="${LIBS_save}"
26606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
26607$as_echo "${have_shm_open}" >&6; }
26608
26609if ! test "x${have_shm_open}" = "xyes" ; then
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open is in librt" >&5
26611$as_echo_n "checking whether shm_open is in librt... " >&6; }
26612 LIBS_save="${LIBS}"
26613 LIBS="${LIBS} -lrt"
26614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26615/* end confdefs.h. */
26616
26617#include <sys/mman.h>
26618#include <sys/stat.h>
26619#include <fcntl.h>
26620
26621int
26622main ()
26623{
26624
26625int fd;
26626fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
26627shm_unlink("/");
26628
26629 ;
26630 return 0;
26631}
26632_ACEOF
26633if ac_fn_c_try_link "$LINENO"; then :
26634
26635 have_shm_open="yes"
26636
26637$as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
26638
26639 SHM_OPEN_LIBS="-lrt"
26640
26641else
26642 have_shm_open="no"
26643fi
26644rm -f core conftest.err conftest.$ac_objext \
26645 conftest$ac_exeext conftest.$ac_ext
26646 LIBS="${LIBS_save}"
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
26648$as_echo "${have_shm_open}" >&6; }
26649fi
26650
26651
26652
26653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open is available" >&5
26654$as_echo_n "checking whether shm_open is available... " >&6; }
26655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
26656$as_echo "${have_shm_open}" >&6; }
26657
26673### Checks for optionnal feature 26658### Checks for optionnal feature
26674ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo" 26659ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
26675if test "x$ac_cv_func_mallinfo" = x""yes; then : 26660if test "x$ac_cv_func_mallinfo" = x""yes; then :
@@ -26823,11 +26808,10 @@ pkg_failed=no
26823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5 26808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
26824$as_echo_n "checking for CURL... " >&6; } 26809$as_echo_n "checking for CURL... " >&6; }
26825 26810
26826if test -n "$PKG_CONFIG"; then 26811if test -n "$CURL_CFLAGS"; then
26827 if test -n "$CURL_CFLAGS"; then 26812 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
26828 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" 26813 elif test -n "$PKG_CONFIG"; then
26829 else 26814 if test -n "$PKG_CONFIG" && \
26830 if test -n "$PKG_CONFIG" && \
26831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 26815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
26832 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 26816 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
26833 ac_status=$? 26817 ac_status=$?
@@ -26837,15 +26821,13 @@ if test -n "$PKG_CONFIG"; then
26837else 26821else
26838 pkg_failed=yes 26822 pkg_failed=yes
26839fi 26823fi
26840 fi 26824 else
26841else 26825 pkg_failed=untried
26842 pkg_failed=untried
26843fi 26826fi
26844if test -n "$PKG_CONFIG"; then 26827if test -n "$CURL_LIBS"; then
26845 if test -n "$CURL_LIBS"; then 26828 pkg_cv_CURL_LIBS="$CURL_LIBS"
26846 pkg_cv_CURL_LIBS="$CURL_LIBS" 26829 elif test -n "$PKG_CONFIG"; then
26847 else 26830 if test -n "$PKG_CONFIG" && \
26848 if test -n "$PKG_CONFIG" && \
26849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 26831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
26850 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 26832 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
26851 ac_status=$? 26833 ac_status=$?
@@ -26855,14 +26837,15 @@ if test -n "$PKG_CONFIG"; then
26855else 26837else
26856 pkg_failed=yes 26838 pkg_failed=yes
26857fi 26839fi
26858 fi 26840 else
26859else 26841 pkg_failed=untried
26860 pkg_failed=untried
26861fi 26842fi
26862 26843
26863 26844
26864 26845
26865if test $pkg_failed = yes; then 26846if test $pkg_failed = yes; then
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26848$as_echo "no" >&6; }
26866 26849
26867if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26850if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26868 _pkg_short_errors_supported=yes 26851 _pkg_short_errors_supported=yes
@@ -26870,17 +26853,17 @@ else
26870 _pkg_short_errors_supported=no 26853 _pkg_short_errors_supported=no
26871fi 26854fi
26872 if test $_pkg_short_errors_supported = yes; then 26855 if test $_pkg_short_errors_supported = yes; then
26873 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"` 26856 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
26874 else 26857 else
26875 CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"` 26858 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
26876 fi 26859 fi
26877 # Put the nasty error message in config.log where it belongs 26860 # Put the nasty error message in config.log where it belongs
26878 echo "$CURL_PKG_ERRORS" >&5 26861 echo "$CURL_PKG_ERRORS" >&5
26879 26862
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26863 _ecore_have_curl="no"
26881$as_echo "no" >&6; }
26882 _ecore_have_curl="no"
26883elif test $pkg_failed = untried; then 26864elif test $pkg_failed = untried; then
26865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26866$as_echo "no" >&6; }
26884 _ecore_have_curl="no" 26867 _ecore_have_curl="no"
26885else 26868else
26886 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS 26869 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
@@ -26928,11 +26911,10 @@ pkg_failed=no
26928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5 26911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
26929$as_echo_n "checking for TLS... " >&6; } 26912$as_echo_n "checking for TLS... " >&6; }
26930 26913
26931if test -n "$PKG_CONFIG"; then 26914if test -n "$TLS_CFLAGS"; then
26932 if test -n "$TLS_CFLAGS"; then 26915 pkg_cv_TLS_CFLAGS="$TLS_CFLAGS"
26933 pkg_cv_TLS_CFLAGS="$TLS_CFLAGS" 26916 elif test -n "$PKG_CONFIG"; then
26934 else 26917 if test -n "$PKG_CONFIG" && \
26935 if test -n "$PKG_CONFIG" && \
26936 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5 26918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26937 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5 26919 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26938 ac_status=$? 26920 ac_status=$?
@@ -26942,15 +26924,13 @@ if test -n "$PKG_CONFIG"; then
26942else 26924else
26943 pkg_failed=yes 26925 pkg_failed=yes
26944fi 26926fi
26945 fi 26927 else
26946else 26928 pkg_failed=untried
26947 pkg_failed=untried
26948fi 26929fi
26949if test -n "$PKG_CONFIG"; then 26930if test -n "$TLS_LIBS"; then
26950 if test -n "$TLS_LIBS"; then 26931 pkg_cv_TLS_LIBS="$TLS_LIBS"
26951 pkg_cv_TLS_LIBS="$TLS_LIBS" 26932 elif test -n "$PKG_CONFIG"; then
26952 else 26933 if test -n "$PKG_CONFIG" && \
26953 if test -n "$PKG_CONFIG" && \
26954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5 26934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26955 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5 26935 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26956 ac_status=$? 26936 ac_status=$?
@@ -26960,14 +26940,15 @@ if test -n "$PKG_CONFIG"; then
26960else 26940else
26961 pkg_failed=yes 26941 pkg_failed=yes
26962fi 26942fi
26963 fi 26943 else
26964else 26944 pkg_failed=untried
26965 pkg_failed=untried
26966fi 26945fi
26967 26946
26968 26947
26969 26948
26970if test $pkg_failed = yes; then 26949if test $pkg_failed = yes; then
26950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26951$as_echo "no" >&6; }
26971 26952
26972if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26953if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26973 _pkg_short_errors_supported=yes 26954 _pkg_short_errors_supported=yes
@@ -26975,17 +26956,17 @@ else
26975 _pkg_short_errors_supported=no 26956 _pkg_short_errors_supported=no
26976fi 26957fi
26977 if test $_pkg_short_errors_supported = yes; then 26958 if test $_pkg_short_errors_supported = yes; then
26978 TLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= 2.10.2"` 26959 TLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.10.2" 2>&1`
26979 else 26960 else
26980 TLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= 2.10.2"` 26961 TLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.10.2" 2>&1`
26981 fi 26962 fi
26982 # Put the nasty error message in config.log where it belongs 26963 # Put the nasty error message in config.log where it belongs
26983 echo "$TLS_PKG_ERRORS" >&5 26964 echo "$TLS_PKG_ERRORS" >&5
26984 26965
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26966 _ecore_have_gnutls="no"
26986$as_echo "no" >&6; }
26987 _ecore_have_gnutls="no"
26988elif test $pkg_failed = untried; then 26967elif test $pkg_failed = untried; then
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26969$as_echo "no" >&6; }
26989 _ecore_have_gnutls="no" 26970 _ecore_have_gnutls="no"
26990else 26971else
26991 TLS_CFLAGS=$pkg_cv_TLS_CFLAGS 26972 TLS_CFLAGS=$pkg_cv_TLS_CFLAGS
@@ -27005,11 +26986,10 @@ pkg_failed=no
27005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS2" >&5 26986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS2" >&5
27006$as_echo_n "checking for TLS2... " >&6; } 26987$as_echo_n "checking for TLS2... " >&6; }
27007 26988
27008if test -n "$PKG_CONFIG"; then 26989if test -n "$TLS2_CFLAGS"; then
27009 if test -n "$TLS2_CFLAGS"; then 26990 pkg_cv_TLS2_CFLAGS="$TLS2_CFLAGS"
27010 pkg_cv_TLS2_CFLAGS="$TLS2_CFLAGS" 26991 elif test -n "$PKG_CONFIG"; then
27011 else 26992 if test -n "$PKG_CONFIG" && \
27012 if test -n "$PKG_CONFIG" && \
27013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5 26993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
27014 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5 26994 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
27015 ac_status=$? 26995 ac_status=$?
@@ -27019,15 +26999,13 @@ if test -n "$PKG_CONFIG"; then
27019else 26999else
27020 pkg_failed=yes 27000 pkg_failed=yes
27021fi 27001fi
27022 fi 27002 else
27023else 27003 pkg_failed=untried
27024 pkg_failed=untried
27025fi 27004fi
27026if test -n "$PKG_CONFIG"; then 27005if test -n "$TLS2_LIBS"; then
27027 if test -n "$TLS2_LIBS"; then 27006 pkg_cv_TLS2_LIBS="$TLS2_LIBS"
27028 pkg_cv_TLS2_LIBS="$TLS2_LIBS" 27007 elif test -n "$PKG_CONFIG"; then
27029 else 27008 if test -n "$PKG_CONFIG" && \
27030 if test -n "$PKG_CONFIG" && \
27031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5 27009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
27032 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5 27010 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
27033 ac_status=$? 27011 ac_status=$?
@@ -27037,14 +27015,15 @@ if test -n "$PKG_CONFIG"; then
27037else 27015else
27038 pkg_failed=yes 27016 pkg_failed=yes
27039fi 27017fi
27040 fi 27018 else
27041else 27019 pkg_failed=untried
27042 pkg_failed=untried
27043fi 27020fi
27044 27021
27045 27022
27046 27023
27047if test $pkg_failed = yes; then 27024if test $pkg_failed = yes; then
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27026$as_echo "no" >&6; }
27048 27027
27049if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27028if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27050 _pkg_short_errors_supported=yes 27029 _pkg_short_errors_supported=yes
@@ -27052,17 +27031,17 @@ else
27052 _pkg_short_errors_supported=no 27031 _pkg_short_errors_supported=no
27053fi 27032fi
27054 if test $_pkg_short_errors_supported = yes; then 27033 if test $_pkg_short_errors_supported = yes; then
27055 TLS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= 2.10.2"` 27034 TLS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.10.2" 2>&1`
27056 else 27035 else
27057 TLS2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= 2.10.2"` 27036 TLS2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.10.2" 2>&1`
27058 fi 27037 fi
27059 # Put the nasty error message in config.log where it belongs 27038 # Put the nasty error message in config.log where it belongs
27060 echo "$TLS2_PKG_ERRORS" >&5 27039 echo "$TLS2_PKG_ERRORS" >&5
27061 27040
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27041 dummy="no"
27063$as_echo "no" >&6; }
27064 dummy="no"
27065elif test $pkg_failed = untried; then 27042elif test $pkg_failed = untried; then
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27044$as_echo "no" >&6; }
27066 dummy="no" 27045 dummy="no"
27067else 27046else
27068 TLS2_CFLAGS=$pkg_cv_TLS2_CFLAGS 27047 TLS2_CFLAGS=$pkg_cv_TLS2_CFLAGS
@@ -27220,11 +27199,10 @@ pkg_failed=no
27220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5 27199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
27221$as_echo_n "checking for SSL... " >&6; } 27200$as_echo_n "checking for SSL... " >&6; }
27222 27201
27223if test -n "$PKG_CONFIG"; then 27202if test -n "$SSL_CFLAGS"; then
27224 if test -n "$SSL_CFLAGS"; then 27203 pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
27225 pkg_cv_SSL_CFLAGS="$SSL_CFLAGS" 27204 elif test -n "$PKG_CONFIG"; then
27226 else 27205 if test -n "$PKG_CONFIG" && \
27227 if test -n "$PKG_CONFIG" && \
27228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 27206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27229 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 27207 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27230 ac_status=$? 27208 ac_status=$?
@@ -27234,15 +27212,13 @@ if test -n "$PKG_CONFIG"; then
27234else 27212else
27235 pkg_failed=yes 27213 pkg_failed=yes
27236fi 27214fi
27237 fi 27215 else
27238else 27216 pkg_failed=untried
27239 pkg_failed=untried
27240fi 27217fi
27241if test -n "$PKG_CONFIG"; then 27218if test -n "$SSL_LIBS"; then
27242 if test -n "$SSL_LIBS"; then 27219 pkg_cv_SSL_LIBS="$SSL_LIBS"
27243 pkg_cv_SSL_LIBS="$SSL_LIBS" 27220 elif test -n "$PKG_CONFIG"; then
27244 else 27221 if test -n "$PKG_CONFIG" && \
27245 if test -n "$PKG_CONFIG" && \
27246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 27222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27247 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 27223 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27248 ac_status=$? 27224 ac_status=$?
@@ -27252,14 +27228,15 @@ if test -n "$PKG_CONFIG"; then
27252else 27228else
27253 pkg_failed=yes 27229 pkg_failed=yes
27254fi 27230fi
27255 fi 27231 else
27256else 27232 pkg_failed=untried
27257 pkg_failed=untried
27258fi 27233fi
27259 27234
27260 27235
27261 27236
27262if test $pkg_failed = yes; then 27237if test $pkg_failed = yes; then
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27239$as_echo "no" >&6; }
27263 27240
27264if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27241if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27265 _pkg_short_errors_supported=yes 27242 _pkg_short_errors_supported=yes
@@ -27267,17 +27244,17 @@ else
27267 _pkg_short_errors_supported=no 27244 _pkg_short_errors_supported=no
27268fi 27245fi
27269 if test $_pkg_short_errors_supported = yes; then 27246 if test $_pkg_short_errors_supported = yes; then
27270 SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl"` 27247 SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
27271 else 27248 else
27272 SSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl"` 27249 SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl" 2>&1`
27273 fi 27250 fi
27274 # Put the nasty error message in config.log where it belongs 27251 # Put the nasty error message in config.log where it belongs
27275 echo "$SSL_PKG_ERRORS" >&5 27252 echo "$SSL_PKG_ERRORS" >&5
27276 27253
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27254 _ecore_have_openssl="no"
27278$as_echo "no" >&6; }
27279 _ecore_have_openssl="no"
27280elif test $pkg_failed = untried; then 27255elif test $pkg_failed = untried; then
27256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27257$as_echo "no" >&6; }
27281 _ecore_have_openssl="no" 27258 _ecore_have_openssl="no"
27282else 27259else
27283 SSL_CFLAGS=$pkg_cv_SSL_CFLAGS 27260 SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
@@ -27334,46 +27311,44 @@ pkg_failed=no
27334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CARES" >&5 27311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CARES" >&5
27335$as_echo_n "checking for CARES... " >&6; } 27312$as_echo_n "checking for CARES... " >&6; }
27336 27313
27337if test -n "$PKG_CONFIG"; then 27314if test -n "$CARES_CFLAGS"; then
27338 if test -n "$CARES_CFLAGS"; then 27315 pkg_cv_CARES_CFLAGS="$CARES_CFLAGS"
27339 pkg_cv_CARES_CFLAGS="$CARES_CFLAGS" 27316 elif test -n "$PKG_CONFIG"; then
27340 else 27317 if test -n "$PKG_CONFIG" && \
27341 if test -n "$PKG_CONFIG" && \ 27318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1 libcares != 1.7.5\""; } >&5 27319 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27343 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1 libcares != 1.7.5") 2>&5
27344 ac_status=$? 27320 ac_status=$?
27345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27346 test $ac_status = 0; }; then 27322 test $ac_status = 0; }; then
27347 pkg_cv_CARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.6.1 libcares != 1.7.5" 2>/dev/null` 27323 pkg_cv_CARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.6.1" 2>/dev/null`
27348else 27324else
27349 pkg_failed=yes 27325 pkg_failed=yes
27350fi 27326fi
27351 fi 27327 else
27352else 27328 pkg_failed=untried
27353 pkg_failed=untried
27354fi 27329fi
27355if test -n "$PKG_CONFIG"; then 27330if test -n "$CARES_LIBS"; then
27356 if test -n "$CARES_LIBS"; then 27331 pkg_cv_CARES_LIBS="$CARES_LIBS"
27357 pkg_cv_CARES_LIBS="$CARES_LIBS" 27332 elif test -n "$PKG_CONFIG"; then
27358 else 27333 if test -n "$PKG_CONFIG" && \
27359 if test -n "$PKG_CONFIG" && \ 27334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1 libcares != 1.7.5\""; } >&5 27335 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27361 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1 libcares != 1.7.5") 2>&5
27362 ac_status=$? 27336 ac_status=$?
27363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27364 test $ac_status = 0; }; then 27338 test $ac_status = 0; }; then
27365 pkg_cv_CARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.6.1 libcares != 1.7.5" 2>/dev/null` 27339 pkg_cv_CARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.6.1" 2>/dev/null`
27366else 27340else
27367 pkg_failed=yes 27341 pkg_failed=yes
27368fi 27342fi
27369 fi 27343 else
27370else 27344 pkg_failed=untried
27371 pkg_failed=untried
27372fi 27345fi
27373 27346
27374 27347
27375 27348
27376if test $pkg_failed = yes; then 27349if test $pkg_failed = yes; then
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27351$as_echo "no" >&6; }
27377 27352
27378if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27353if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27379 _pkg_short_errors_supported=yes 27354 _pkg_short_errors_supported=yes
@@ -27381,17 +27356,17 @@ else
27381 _pkg_short_errors_supported=no 27356 _pkg_short_errors_supported=no
27382fi 27357fi
27383 if test $_pkg_short_errors_supported = yes; then 27358 if test $_pkg_short_errors_supported = yes; then
27384 CARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcares >= 1.6.1 libcares != 1.7.5"` 27359 CARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcares >= 1.6.1" 2>&1`
27385 else 27360 else
27386 CARES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcares >= 1.6.1 libcares != 1.7.5"` 27361 CARES_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcares >= 1.6.1" 2>&1`
27387 fi 27362 fi
27388 # Put the nasty error message in config.log where it belongs 27363 # Put the nasty error message in config.log where it belongs
27389 echo "$CARES_PKG_ERRORS" >&5 27364 echo "$CARES_PKG_ERRORS" >&5
27390 27365
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27366 _ecore_have_cares="no"
27392$as_echo "no" >&6; }
27393 _ecore_have_cares="no"
27394elif test $pkg_failed = untried; then 27367elif test $pkg_failed = untried; then
27368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27369$as_echo "no" >&6; }
27395 _ecore_have_cares="no" 27370 _ecore_have_cares="no"
27396else 27371else
27397 CARES_CFLAGS=$pkg_cv_CARES_CFLAGS 27372 CARES_CFLAGS=$pkg_cv_CARES_CFLAGS
@@ -27481,8 +27456,8 @@ fi
27481 27456
27482if test "x$have_ecore_ipc" = "xyes"; then : 27457if test "x$have_ecore_ipc" = "xyes"; then :
27483 27458
27484 requirements_ecore_ipc="ecore-con >= 1.1.99 ${requirements_ecore_ipc}" 27459 requirements_ecore_ipc="ecore-con >= 1.2.0 ${requirements_ecore_ipc}"
27485 requirements_ecore_evas="ecore-ipc >= 1.1.99 ${requirements_ecore_evas}" 27460 requirements_ecore_evas="ecore-ipc >= 1.2.0 ${requirements_ecore_evas}"
27486 27461
27487fi 27462fi
27488 27463
@@ -27736,7 +27711,7 @@ fi
27736 27711
27737 27712
27738 if test "x${have_ecore_con}" = "xyes" ; then 27713 if test "x${have_ecore_con}" = "xyes" ; then
27739 requirements_ecore_file="ecore-con >= 1.1.99 ${requirements_ecore_file}" 27714 requirements_ecore_file="ecore-con >= 1.2.0 ${requirements_ecore_file}"
27740 else 27715 else
27741 27716
27742_ecore_want_curl=${want_curl} 27717_ecore_want_curl=${want_curl}
@@ -27760,11 +27735,10 @@ pkg_failed=no
27760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5 27735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
27761$as_echo_n "checking for CURL... " >&6; } 27736$as_echo_n "checking for CURL... " >&6; }
27762 27737
27763if test -n "$PKG_CONFIG"; then 27738if test -n "$CURL_CFLAGS"; then
27764 if test -n "$CURL_CFLAGS"; then 27739 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
27765 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" 27740 elif test -n "$PKG_CONFIG"; then
27766 else 27741 if test -n "$PKG_CONFIG" && \
27767 if test -n "$PKG_CONFIG" && \
27768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 27742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27769 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 27743 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27770 ac_status=$? 27744 ac_status=$?
@@ -27774,15 +27748,13 @@ if test -n "$PKG_CONFIG"; then
27774else 27748else
27775 pkg_failed=yes 27749 pkg_failed=yes
27776fi 27750fi
27777 fi 27751 else
27778else 27752 pkg_failed=untried
27779 pkg_failed=untried
27780fi 27753fi
27781if test -n "$PKG_CONFIG"; then 27754if test -n "$CURL_LIBS"; then
27782 if test -n "$CURL_LIBS"; then 27755 pkg_cv_CURL_LIBS="$CURL_LIBS"
27783 pkg_cv_CURL_LIBS="$CURL_LIBS" 27756 elif test -n "$PKG_CONFIG"; then
27784 else 27757 if test -n "$PKG_CONFIG" && \
27785 if test -n "$PKG_CONFIG" && \
27786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 27758 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27787 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 27759 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27788 ac_status=$? 27760 ac_status=$?
@@ -27792,14 +27764,15 @@ if test -n "$PKG_CONFIG"; then
27792else 27764else
27793 pkg_failed=yes 27765 pkg_failed=yes
27794fi 27766fi
27795 fi 27767 else
27796else 27768 pkg_failed=untried
27797 pkg_failed=untried
27798fi 27769fi
27799 27770
27800 27771
27801 27772
27802if test $pkg_failed = yes; then 27773if test $pkg_failed = yes; then
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27775$as_echo "no" >&6; }
27803 27776
27804if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27777if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27805 _pkg_short_errors_supported=yes 27778 _pkg_short_errors_supported=yes
@@ -27807,17 +27780,17 @@ else
27807 _pkg_short_errors_supported=no 27780 _pkg_short_errors_supported=no
27808fi 27781fi
27809 if test $_pkg_short_errors_supported = yes; then 27782 if test $_pkg_short_errors_supported = yes; then
27810 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"` 27783 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
27811 else 27784 else
27812 CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"` 27785 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
27813 fi 27786 fi
27814 # Put the nasty error message in config.log where it belongs 27787 # Put the nasty error message in config.log where it belongs
27815 echo "$CURL_PKG_ERRORS" >&5 27788 echo "$CURL_PKG_ERRORS" >&5
27816 27789
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27790 _ecore_have_curl="no"
27818$as_echo "no" >&6; }
27819 _ecore_have_curl="no"
27820elif test $pkg_failed = untried; then 27791elif test $pkg_failed = untried; then
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27793$as_echo "no" >&6; }
27821 _ecore_have_curl="no" 27794 _ecore_have_curl="no"
27822else 27795else
27823 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS 27796 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
@@ -27853,7 +27826,7 @@ fi
27853#fi 27826#fi
27854 27827
27855#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}], 27828#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
27856# [requirements_ecore_config="ecore-ipc >= 1.1.99 evas >= 1.1.99 eet >= 1.5.0 ${requirements_ecore_config}"]) 27829# [requirements_ecore_config="ecore-ipc >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 ${requirements_ecore_config}"])
27857 27830
27858 if false; then 27831 if false; then
27859 BUILD_ECORE_CONFIG_TRUE= 27832 BUILD_ECORE_CONFIG_TRUE=
@@ -27983,7 +27956,7 @@ fi
27983 27956
27984 27957
27985if test "x$have_ecore_imf_evas" = "xyes"; then : 27958if test "x$have_ecore_imf_evas" = "xyes"; then :
27986 requirements_ecore_imf_evas="ecore-imf >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_imf_evas}" 27959 requirements_ecore_imf_evas="ecore-imf >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_imf_evas}"
27987fi 27960fi
27988 27961
27989 27962
@@ -28103,7 +28076,7 @@ fi
28103 28076
28104 28077
28105if test "x$have_ecore_input_evas" = "xyes"; then : 28078if test "x$have_ecore_input_evas" = "xyes"; then :
28106 requirements_ecore_input_evas="ecore-input >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_input}" 28079 requirements_ecore_input_evas="ecore-input >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_input}"
28107fi 28080fi
28108 28081
28109 28082
@@ -28183,7 +28156,7 @@ fi
28183 28156
28184 28157
28185if test "x$have_ecore_imf_xim" = "xyes"; then : 28158if test "x$have_ecore_imf_xim" = "xyes"; then :
28186 requirements_ecore_imf_xim="ecore-imf >= 1.1.99 ecore-x >= 1.1.99 ecore-input >= 1.1.99 ${requirements_ecore_imf_xim}" 28159 requirements_ecore_imf_xim="ecore-imf >= 1.2.0 ecore-x >= 1.2.0 ecore-input >= 1.2.0 ${requirements_ecore_imf_xim}"
28187fi 28160fi
28188 28161
28189 28162
@@ -28199,11 +28172,10 @@ pkg_failed=no
28199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCIM" >&5 28172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCIM" >&5
28200$as_echo_n "checking for SCIM... " >&6; } 28173$as_echo_n "checking for SCIM... " >&6; }
28201 28174
28202if test -n "$PKG_CONFIG"; then 28175if test -n "$SCIM_CFLAGS"; then
28203 if test -n "$SCIM_CFLAGS"; then 28176 pkg_cv_SCIM_CFLAGS="$SCIM_CFLAGS"
28204 pkg_cv_SCIM_CFLAGS="$SCIM_CFLAGS" 28177 elif test -n "$PKG_CONFIG"; then
28205 else 28178 if test -n "$PKG_CONFIG" && \
28206 if test -n "$PKG_CONFIG" && \
28207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5 28179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28208 ($PKG_CONFIG --exists --print-errors "scim") 2>&5 28180 ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28209 ac_status=$? 28181 ac_status=$?
@@ -28213,15 +28185,13 @@ if test -n "$PKG_CONFIG"; then
28213else 28185else
28214 pkg_failed=yes 28186 pkg_failed=yes
28215fi 28187fi
28216 fi 28188 else
28217else 28189 pkg_failed=untried
28218 pkg_failed=untried
28219fi 28190fi
28220if test -n "$PKG_CONFIG"; then 28191if test -n "$SCIM_LIBS"; then
28221 if test -n "$SCIM_LIBS"; then 28192 pkg_cv_SCIM_LIBS="$SCIM_LIBS"
28222 pkg_cv_SCIM_LIBS="$SCIM_LIBS" 28193 elif test -n "$PKG_CONFIG"; then
28223 else 28194 if test -n "$PKG_CONFIG" && \
28224 if test -n "$PKG_CONFIG" && \
28225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5 28195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28226 ($PKG_CONFIG --exists --print-errors "scim") 2>&5 28196 ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28227 ac_status=$? 28197 ac_status=$?
@@ -28231,14 +28201,15 @@ if test -n "$PKG_CONFIG"; then
28231else 28201else
28232 pkg_failed=yes 28202 pkg_failed=yes
28233fi 28203fi
28234 fi 28204 else
28235else 28205 pkg_failed=untried
28236 pkg_failed=untried
28237fi 28206fi
28238 28207
28239 28208
28240 28209
28241if test $pkg_failed = yes; then 28210if test $pkg_failed = yes; then
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28212$as_echo "no" >&6; }
28242 28213
28243if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28214if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28244 _pkg_short_errors_supported=yes 28215 _pkg_short_errors_supported=yes
@@ -28246,17 +28217,17 @@ else
28246 _pkg_short_errors_supported=no 28217 _pkg_short_errors_supported=no
28247fi 28218fi
28248 if test $_pkg_short_errors_supported = yes; then 28219 if test $_pkg_short_errors_supported = yes; then
28249 SCIM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "scim"` 28220 SCIM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "scim" 2>&1`
28250 else 28221 else
28251 SCIM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "scim"` 28222 SCIM_PKG_ERRORS=`$PKG_CONFIG --print-errors "scim" 2>&1`
28252 fi 28223 fi
28253 # Put the nasty error message in config.log where it belongs 28224 # Put the nasty error message in config.log where it belongs
28254 echo "$SCIM_PKG_ERRORS" >&5 28225 echo "$SCIM_PKG_ERRORS" >&5
28255 28226
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28227 have_scim="no"
28257$as_echo "no" >&6; }
28258 have_scim="no"
28259elif test $pkg_failed = untried; then 28228elif test $pkg_failed = untried; then
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28230$as_echo "no" >&6; }
28260 have_scim="no" 28231 have_scim="no"
28261else 28232else
28262 SCIM_CFLAGS=$pkg_cv_SCIM_CFLAGS 28233 SCIM_CFLAGS=$pkg_cv_SCIM_CFLAGS
@@ -28335,7 +28306,7 @@ fi
28335 28306
28336 28307
28337if test "x$have_ecore_imf_scim" = "xyes"; then : 28308if test "x$have_ecore_imf_scim" = "xyes"; then :
28338 requirements_ecore_imf_scim="ecore-imf >= 1.1.0 ecore-x >= 1.1.0 ecore-input >= 1.1.0 ${requirements_ecore_imf_scim}" 28309 requirements_ecore_imf_scim="ecore-imf >= 1.2.0 ecore-x >= 1.2.0 ecore-input >= 1.2.0 ${requirements_ecore_imf_scim}"
28339fi 28310fi
28340 28311
28341 28312
@@ -28407,7 +28378,7 @@ fi
28407if test "x$have_ecore_x" = "xyes"; then : 28378if test "x$have_ecore_x" = "xyes"; then :
28408 28379
28409 ecore_x_libs="$ecore_x_libs $x_libs" 28380 ecore_x_libs="$ecore_x_libs $x_libs"
28410 requirements_ecore_x="ecore-input >= 1.1.99 ${requirements_ecore_x}" 28381 requirements_ecore_x="ecore-input >= 1.2.0 ${requirements_ecore_x}"
28411 28382
28412fi 28383fi
28413 28384
@@ -28472,7 +28443,7 @@ fi
28472if test "x$have_ecore_win32" = "xyes"; then : 28443if test "x$have_ecore_win32" = "xyes"; then :
28473 28444
28474 ecore_win32_libs="-lole32 -lgdi32" 28445 ecore_win32_libs="-lole32 -lgdi32"
28475 requirements_ecore_win32="ecore-input >= 1.1.99 ${requirements_ecore_win32}" 28446 requirements_ecore_win32="ecore-input >= 1.2.0 ${requirements_ecore_win32}"
28476 28447
28477fi 28448fi
28478 28449
@@ -28541,7 +28512,7 @@ fi
28541 28512
28542 28513
28543if test "x$have_ecore_cocoa" = "xyes"; then : 28514if test "x$have_ecore_cocoa" = "xyes"; then :
28544 requirements_ecore_cocoa="ecore-input >= 1.1.99 ${requirements_ecore_cocoa}" 28515 requirements_ecore_cocoa="ecore-input >= 1.2.0 ${requirements_ecore_cocoa}"
28545fi 28516fi
28546 28517
28547 28518
@@ -28608,7 +28579,7 @@ fi
28608 28579
28609 28580
28610if test "x$have_ecore_sdl" = "xyes"; then : 28581if test "x$have_ecore_sdl" = "xyes"; then :
28611 requirements_ecore_sdl="ecore-input >= 1.1.99 ${requirements_ecore_sdl}" 28582 requirements_ecore_sdl="ecore-input >= 1.2.0 ${requirements_ecore_sdl}"
28612fi 28583fi
28613 28584
28614 28585
@@ -28668,7 +28639,7 @@ fi
28668 28639
28669 28640
28670if test "x$have_ecore_psl1ght" = "xyes"; then : 28641if test "x$have_ecore_psl1ght" = "xyes"; then :
28671 requirements_ecore_psl1ght="ecore-input >= 1.1.99 ${requirements_ecore_psl1ght}" 28642 requirements_ecore_psl1ght="ecore-input >= 1.2.0 ${requirements_ecore_psl1ght}"
28672fi 28643fi
28673 28644
28674 28645
@@ -28765,11 +28736,10 @@ pkg_failed=no
28765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5 28736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28766$as_echo_n "checking for TSLIB... " >&6; } 28737$as_echo_n "checking for TSLIB... " >&6; }
28767 28738
28768if test -n "$PKG_CONFIG"; then 28739if test -n "$TSLIB_CFLAGS"; then
28769 if test -n "$TSLIB_CFLAGS"; then 28740 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28770 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS" 28741 elif test -n "$PKG_CONFIG"; then
28771 else 28742 if test -n "$PKG_CONFIG" && \
28772 if test -n "$PKG_CONFIG" && \
28773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5 28743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
28774 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5 28744 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
28775 ac_status=$? 28745 ac_status=$?
@@ -28779,15 +28749,13 @@ if test -n "$PKG_CONFIG"; then
28779else 28749else
28780 pkg_failed=yes 28750 pkg_failed=yes
28781fi 28751fi
28782 fi 28752 else
28783else 28753 pkg_failed=untried
28784 pkg_failed=untried
28785fi 28754fi
28786if test -n "$PKG_CONFIG"; then 28755if test -n "$TSLIB_LIBS"; then
28787 if test -n "$TSLIB_LIBS"; then 28756 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28788 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS" 28757 elif test -n "$PKG_CONFIG"; then
28789 else 28758 if test -n "$PKG_CONFIG" && \
28790 if test -n "$PKG_CONFIG" && \
28791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5 28759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
28792 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5 28760 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
28793 ac_status=$? 28761 ac_status=$?
@@ -28797,14 +28765,15 @@ if test -n "$PKG_CONFIG"; then
28797else 28765else
28798 pkg_failed=yes 28766 pkg_failed=yes
28799fi 28767fi
28800 fi 28768 else
28801else 28769 pkg_failed=untried
28802 pkg_failed=untried
28803fi 28770fi
28804 28771
28805 28772
28806 28773
28807if test $pkg_failed = yes; then 28774if test $pkg_failed = yes; then
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28776$as_echo "no" >&6; }
28808 28777
28809if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28778if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28810 _pkg_short_errors_supported=yes 28779 _pkg_short_errors_supported=yes
@@ -28812,26 +28781,23 @@ else
28812 _pkg_short_errors_supported=no 28781 _pkg_short_errors_supported=no
28813fi 28782fi
28814 if test $_pkg_short_errors_supported = yes; then 28783 if test $_pkg_short_errors_supported = yes; then
28815 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tslib-1.0"` 28784 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
28816 else 28785 else
28817 TSLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tslib-1.0"` 28786 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
28818 fi 28787 fi
28819 # Put the nasty error message in config.log where it belongs 28788 # Put the nasty error message in config.log where it belongs
28820 echo "$TSLIB_PKG_ERRORS" >&5 28789 echo "$TSLIB_PKG_ERRORS" >&5
28821 28790
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28823$as_echo "no" >&6; }
28824 28791
28825 28792
28826pkg_failed=no 28793pkg_failed=no
28827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5 28794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28828$as_echo_n "checking for TSLIB... " >&6; } 28795$as_echo_n "checking for TSLIB... " >&6; }
28829 28796
28830if test -n "$PKG_CONFIG"; then 28797if test -n "$TSLIB_CFLAGS"; then
28831 if test -n "$TSLIB_CFLAGS"; then 28798 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28832 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS" 28799 elif test -n "$PKG_CONFIG"; then
28833 else 28800 if test -n "$PKG_CONFIG" && \
28834 if test -n "$PKG_CONFIG" && \
28835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5 28801 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28836 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5 28802 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28837 ac_status=$? 28803 ac_status=$?
@@ -28841,15 +28807,13 @@ if test -n "$PKG_CONFIG"; then
28841else 28807else
28842 pkg_failed=yes 28808 pkg_failed=yes
28843fi 28809fi
28844 fi 28810 else
28845else 28811 pkg_failed=untried
28846 pkg_failed=untried
28847fi 28812fi
28848if test -n "$PKG_CONFIG"; then 28813if test -n "$TSLIB_LIBS"; then
28849 if test -n "$TSLIB_LIBS"; then 28814 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28850 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS" 28815 elif test -n "$PKG_CONFIG"; then
28851 else 28816 if test -n "$PKG_CONFIG" && \
28852 if test -n "$PKG_CONFIG" && \
28853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5 28817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28854 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5 28818 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28855 ac_status=$? 28819 ac_status=$?
@@ -28859,14 +28823,15 @@ if test -n "$PKG_CONFIG"; then
28859else 28823else
28860 pkg_failed=yes 28824 pkg_failed=yes
28861fi 28825fi
28862 fi 28826 else
28863else 28827 pkg_failed=untried
28864 pkg_failed=untried
28865fi 28828fi
28866 28829
28867 28830
28868 28831
28869if test $pkg_failed = yes; then 28832if test $pkg_failed = yes; then
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28834$as_echo "no" >&6; }
28870 28835
28871if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28836if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28872 _pkg_short_errors_supported=yes 28837 _pkg_short_errors_supported=yes
@@ -28874,15 +28839,13 @@ else
28874 _pkg_short_errors_supported=no 28839 _pkg_short_errors_supported=no
28875fi 28840fi
28876 if test $_pkg_short_errors_supported = yes; then 28841 if test $_pkg_short_errors_supported = yes; then
28877 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tslib"` 28842 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib" 2>&1`
28878 else 28843 else
28879 TSLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tslib"` 28844 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib" 2>&1`
28880 fi 28845 fi
28881 # Put the nasty error message in config.log where it belongs 28846 # Put the nasty error message in config.log where it belongs
28882 echo "$TSLIB_PKG_ERRORS" >&5 28847 echo "$TSLIB_PKG_ERRORS" >&5
28883 28848
28884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28885$as_echo "no" >&6; }
28886 28849
28887 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default" 28850 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28888if test "x$ac_cv_header_tslib_h" = x""yes; then : 28851if test "x$ac_cv_header_tslib_h" = x""yes; then :
@@ -28994,6 +28957,8 @@ fi
28994 28957
28995 28958
28996elif test $pkg_failed = untried; then 28959elif test $pkg_failed = untried; then
28960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28961$as_echo "no" >&6; }
28997 28962
28998 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default" 28963 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28999if test "x$ac_cv_header_tslib_h" = x""yes; then : 28964if test "x$ac_cv_header_tslib_h" = x""yes; then :
@@ -29119,17 +29084,18 @@ $as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29119fi 29084fi
29120 29085
29121elif test $pkg_failed = untried; then 29086elif test $pkg_failed = untried; then
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29088$as_echo "no" >&6; }
29122 29089
29123 29090
29124pkg_failed=no 29091pkg_failed=no
29125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5 29092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29126$as_echo_n "checking for TSLIB... " >&6; } 29093$as_echo_n "checking for TSLIB... " >&6; }
29127 29094
29128if test -n "$PKG_CONFIG"; then 29095if test -n "$TSLIB_CFLAGS"; then
29129 if test -n "$TSLIB_CFLAGS"; then 29096 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29130 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS" 29097 elif test -n "$PKG_CONFIG"; then
29131 else 29098 if test -n "$PKG_CONFIG" && \
29132 if test -n "$PKG_CONFIG" && \
29133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5 29099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29134 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5 29100 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29135 ac_status=$? 29101 ac_status=$?
@@ -29139,15 +29105,13 @@ if test -n "$PKG_CONFIG"; then
29139else 29105else
29140 pkg_failed=yes 29106 pkg_failed=yes
29141fi 29107fi
29142 fi 29108 else
29143else 29109 pkg_failed=untried
29144 pkg_failed=untried
29145fi 29110fi
29146if test -n "$PKG_CONFIG"; then 29111if test -n "$TSLIB_LIBS"; then
29147 if test -n "$TSLIB_LIBS"; then 29112 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29148 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS" 29113 elif test -n "$PKG_CONFIG"; then
29149 else 29114 if test -n "$PKG_CONFIG" && \
29150 if test -n "$PKG_CONFIG" && \
29151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5 29115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29152 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5 29116 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29153 ac_status=$? 29117 ac_status=$?
@@ -29157,14 +29121,15 @@ if test -n "$PKG_CONFIG"; then
29157else 29121else
29158 pkg_failed=yes 29122 pkg_failed=yes
29159fi 29123fi
29160 fi 29124 else
29161else 29125 pkg_failed=untried
29162 pkg_failed=untried
29163fi 29126fi
29164 29127
29165 29128
29166 29129
29167if test $pkg_failed = yes; then 29130if test $pkg_failed = yes; then
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29132$as_echo "no" >&6; }
29168 29133
29169if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29134if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29170 _pkg_short_errors_supported=yes 29135 _pkg_short_errors_supported=yes
@@ -29172,15 +29137,13 @@ else
29172 _pkg_short_errors_supported=no 29137 _pkg_short_errors_supported=no
29173fi 29138fi
29174 if test $_pkg_short_errors_supported = yes; then 29139 if test $_pkg_short_errors_supported = yes; then
29175 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tslib"` 29140 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib" 2>&1`
29176 else 29141 else
29177 TSLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tslib"` 29142 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib" 2>&1`
29178 fi 29143 fi
29179 # Put the nasty error message in config.log where it belongs 29144 # Put the nasty error message in config.log where it belongs
29180 echo "$TSLIB_PKG_ERRORS" >&5 29145 echo "$TSLIB_PKG_ERRORS" >&5
29181 29146
29182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29183$as_echo "no" >&6; }
29184 29147
29185 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default" 29148 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29186if test "x$ac_cv_header_tslib_h" = x""yes; then : 29149if test "x$ac_cv_header_tslib_h" = x""yes; then :
@@ -29292,6 +29255,8 @@ fi
29292 29255
29293 29256
29294elif test $pkg_failed = untried; then 29257elif test $pkg_failed = untried; then
29258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29259$as_echo "no" >&6; }
29295 29260
29296 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default" 29261 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29297if test "x$ac_cv_header_tslib_h" = x""yes; then : 29262if test "x$ac_cv_header_tslib_h" = x""yes; then :
@@ -29559,7 +29524,7 @@ fi
29559 29524
29560 29525
29561if test "x$have_ecore_wince" = "xyes"; then : 29526if test "x$have_ecore_wince" = "xyes"; then :
29562 requirements_ecore_win32="ecore-input >= 1.1.99 ${requirements_ecore_win32}" 29527 requirements_ecore_win32="ecore-input >= 1.2.0 ${requirements_ecore_win32}"
29563fi 29528fi
29564 29529
29565 29530
@@ -29574,7 +29539,7 @@ fi
29574# ecore_evas 29539# ecore_evas
29575 29540
29576ecore_evas_deps="no" 29541ecore_evas_deps="no"
29577if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then 29542if test "x${have_evas}" = "xyes" && test "x${have_ecore_input}" = "xyes" && test "x${have_ecore_input_evas}" = "xyes" ; then
29578 ecore_evas_deps="yes" 29543 ecore_evas_deps="yes"
29579fi 29544fi
29580 29545
@@ -29628,7 +29593,7 @@ fi
29628 29593
29629 29594
29630if test "x$have_ecore_evas" = "xyes"; then : 29595if test "x$have_ecore_evas" = "xyes"; then :
29631 requirements_ecore_evas="ecore-input >= 1.1.99 ecore-input-evas >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_evas}" 29596 requirements_ecore_evas="ecore-input >= 1.2.0 ecore-input-evas >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_evas}"
29632fi 29597fi
29633 29598
29634 29599
@@ -29662,9 +29627,9 @@ $as_echo_n "checking whether ecore_evas Software Buffer support is to be built..
29662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 29627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29663$as_echo "${want_module}" >&6; } 29628$as_echo "${want_module}" >&6; }
29664 29629
29665if test "xyes" = "xyes" -a \ 29630if test "xyes" = "xyes" && \
29666 "x$have_ecore_evas" = "xyes" -a \ 29631 test "x$have_ecore_evas" = "xyes" && \
29667 "x$want_module" = "xyes" ; then 29632 test "x$want_module" = "xyes" ; then
29668 if test -n "$PKG_CONFIG" && \ 29633 if test -n "$PKG_CONFIG" && \
29669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5 29634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
29670 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5 29635 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
@@ -29719,9 +29684,9 @@ $as_echo_n "checking whether ecore_evas Software X11 support is to be built... "
29719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 29684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29720$as_echo "${want_module}" >&6; } 29685$as_echo "${want_module}" >&6; }
29721 29686
29722if test "x${have_ecore_x}" = "xyes" -a \ 29687if test "x${have_ecore_x}" = "xyes" && \
29723 "x$have_ecore_evas" = "xyes" -a \ 29688 test "x$have_ecore_evas" = "xyes" && \
29724 "x$want_module" = "xyes" ; then 29689 test "x$want_module" = "xyes" ; then
29725 if test -n "$PKG_CONFIG" && \ 29690 if test -n "$PKG_CONFIG" && \
29726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\""; } >&5 29691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\""; } >&5
29727 ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5 29692 ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
@@ -29797,9 +29762,9 @@ $as_echo_n "checking whether ecore_evas OpenGL Xlib support is to be built... "
29797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 29762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29798$as_echo "${want_module}" >&6; } 29763$as_echo "${want_module}" >&6; }
29799 29764
29800if test "x${have_ecore_x}" = "xyes" -a \ 29765if test "x${have_ecore_x}" = "xyes" && \
29801 "x$have_ecore_evas" = "xyes" -a \ 29766 test "x$have_ecore_evas" = "xyes" && \
29802 "x$want_module" = "xyes" ; then 29767 test "x$want_module" = "xyes" ; then
29803 if test -n "$PKG_CONFIG" && \ 29768 if test -n "$PKG_CONFIG" && \
29804 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\""; } >&5 29769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\""; } >&5
29805 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5 29770 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
@@ -29849,11 +29814,10 @@ pkg_failed=no
29849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_X11" >&5 29814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_X11" >&5
29850$as_echo_n "checking for XCB_X11... " >&6; } 29815$as_echo_n "checking for XCB_X11... " >&6; }
29851 29816
29852if test -n "$PKG_CONFIG"; then 29817if test -n "$XCB_X11_CFLAGS"; then
29853 if test -n "$XCB_X11_CFLAGS"; then 29818 pkg_cv_XCB_X11_CFLAGS="$XCB_X11_CFLAGS"
29854 pkg_cv_XCB_X11_CFLAGS="$XCB_X11_CFLAGS" 29819 elif test -n "$PKG_CONFIG"; then
29855 else 29820 if test -n "$PKG_CONFIG" && \
29856 if test -n "$PKG_CONFIG" && \
29857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5 29821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
29858 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5 29822 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
29859 ac_status=$? 29823 ac_status=$?
@@ -29863,15 +29827,13 @@ if test -n "$PKG_CONFIG"; then
29863else 29827else
29864 pkg_failed=yes 29828 pkg_failed=yes
29865fi 29829fi
29866 fi 29830 else
29867else 29831 pkg_failed=untried
29868 pkg_failed=untried
29869fi 29832fi
29870if test -n "$PKG_CONFIG"; then 29833if test -n "$XCB_X11_LIBS"; then
29871 if test -n "$XCB_X11_LIBS"; then 29834 pkg_cv_XCB_X11_LIBS="$XCB_X11_LIBS"
29872 pkg_cv_XCB_X11_LIBS="$XCB_X11_LIBS" 29835 elif test -n "$PKG_CONFIG"; then
29873 else 29836 if test -n "$PKG_CONFIG" && \
29874 if test -n "$PKG_CONFIG" && \
29875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5 29837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
29876 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5 29838 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
29877 ac_status=$? 29839 ac_status=$?
@@ -29881,14 +29843,15 @@ if test -n "$PKG_CONFIG"; then
29881else 29843else
29882 pkg_failed=yes 29844 pkg_failed=yes
29883fi 29845fi
29884 fi 29846 else
29885else 29847 pkg_failed=untried
29886 pkg_failed=untried
29887fi 29848fi
29888 29849
29889 29850
29890 29851
29891if test $pkg_failed = yes; then 29852if test $pkg_failed = yes; then
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29854$as_echo "no" >&6; }
29892 29855
29893if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29856if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29894 _pkg_short_errors_supported=yes 29857 _pkg_short_errors_supported=yes
@@ -29896,17 +29859,17 @@ else
29896 _pkg_short_errors_supported=no 29859 _pkg_short_errors_supported=no
29897fi 29860fi
29898 if test $_pkg_short_errors_supported = yes; then 29861 if test $_pkg_short_errors_supported = yes; then
29899 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11-xcb"` 29862 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb" 2>&1`
29900 else 29863 else
29901 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11-xcb"` 29864 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb" 2>&1`
29902 fi 29865 fi
29903 # Put the nasty error message in config.log where it belongs 29866 # Put the nasty error message in config.log where it belongs
29904 echo "$XCB_X11_PKG_ERRORS" >&5 29867 echo "$XCB_X11_PKG_ERRORS" >&5
29905 29868
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29869 have_ecore_x_opengl_xcb="no"
29907$as_echo "no" >&6; }
29908 have_ecore_x_opengl_xcb="no"
29909elif test $pkg_failed = untried; then 29870elif test $pkg_failed = untried; then
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29872$as_echo "no" >&6; }
29910 have_ecore_x_opengl_xcb="no" 29873 have_ecore_x_opengl_xcb="no"
29911else 29874else
29912 XCB_X11_CFLAGS=$pkg_cv_XCB_X11_CFLAGS 29875 XCB_X11_CFLAGS=$pkg_cv_XCB_X11_CFLAGS
@@ -29954,9 +29917,9 @@ $as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is to be b
29954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 29917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29955$as_echo "${want_module}" >&6; } 29918$as_echo "${want_module}" >&6; }
29956 29919
29957if test "x${have_ecore_x_xlib}" = "xyes" -a \ 29920if test "x${have_ecore_x_xlib}" = "xyes" && \
29958 "x$have_ecore_evas" = "xyes" -a \ 29921 test "x$have_ecore_evas" = "xyes" && \
29959 "x$want_module" = "xyes" ; then 29922 test "x$want_module" = "xyes" ; then
29960 if test -n "$PKG_CONFIG" && \ 29923 if test -n "$PKG_CONFIG" && \
29961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\""; } >&5 29924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\""; } >&5
29962 ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5 29925 ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
@@ -30007,9 +29970,9 @@ $as_echo_n "checking whether ecore_evas Software 8bit X11 support is to be built
30007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 29970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30008$as_echo "${want_module}" >&6; } 29971$as_echo "${want_module}" >&6; }
30009 29972
30010if test "x$have_ecore_x_xcb" = "xyes" -a \ 29973if test "x$have_ecore_x_xcb" = "xyes" && \
30011 "x$have_ecore_evas" = "xyes" -a \ 29974 test "x$have_ecore_evas" = "xyes" && \
30012 "x$want_module" = "xyes" ; then 29975 test "x$want_module" = "xyes" ; then
30013 if test -n "$PKG_CONFIG" && \ 29976 if test -n "$PKG_CONFIG" && \
30014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-8-x11\""; } >&5 29977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-8-x11\""; } >&5
30015 ($PKG_CONFIG --exists --print-errors "evas-software-8-x11") 2>&5 29978 ($PKG_CONFIG --exists --print-errors "evas-software-8-x11") 2>&5
@@ -30047,7 +30010,7 @@ if test "x$have_ecore_evas_software_x11" = "xyes" -o \
30047 30010
30048$as_echo "#define BUILD_ECORE_EVAS_X11 1" >>confdefs.h 30011$as_echo "#define BUILD_ECORE_EVAS_X11 1" >>confdefs.h
30049 30012
30050 requirements_ecore_evas="ecore-x >= 1.1.99 ${requirements_ecore_evas}" 30013 requirements_ecore_evas="ecore-x >= 1.2.0 ${requirements_ecore_evas}"
30051fi 30014fi
30052 30015
30053# ecore_evas_win32 30016# ecore_evas_win32
@@ -30074,9 +30037,9 @@ $as_echo_n "checking whether ecore_evas Software GDI support is to be built... "
30074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30075$as_echo "${want_module}" >&6; } 30038$as_echo "${want_module}" >&6; }
30076 30039
30077if test "x${have_ecore_win32}" = "xyes" -a \ 30040if test "x${have_ecore_win32}" = "xyes" && \
30078 "x$have_ecore_evas" = "xyes" -a \ 30041 test "x$have_ecore_evas" = "xyes" && \
30079 "x$want_module" = "xyes" ; then 30042 test "x$want_module" = "xyes" ; then
30080 if test -n "$PKG_CONFIG" && \ 30043 if test -n "$PKG_CONFIG" && \
30081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\""; } >&5 30044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\""; } >&5
30082 ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5 30045 ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
@@ -30127,9 +30090,9 @@ $as_echo_n "checking whether ecore_evas Software DirectDraw support is to be bui
30127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30128$as_echo "${want_module}" >&6; } 30091$as_echo "${want_module}" >&6; }
30129 30092
30130if test "x${have_ecore_win32}" = "xyes" -a \ 30093if test "x${have_ecore_win32}" = "xyes" && \
30131 "x$have_ecore_evas" = "xyes" -a \ 30094 test "x$have_ecore_evas" = "xyes" && \
30132 "x$want_module" = "xyes" ; then 30095 test "x$want_module" = "xyes" ; then
30133 if test -n "$PKG_CONFIG" && \ 30096 if test -n "$PKG_CONFIG" && \
30134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\""; } >&5 30097 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\""; } >&5
30135 ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5 30098 ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
@@ -30180,9 +30143,9 @@ $as_echo_n "checking whether ecore_evas Direct3d support is to be built... " >&6
30180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30181$as_echo "${want_module}" >&6; } 30144$as_echo "${want_module}" >&6; }
30182 30145
30183if test "x${have_ecore_win32}" = "xyes" -a \ 30146if test "x${have_ecore_win32}" = "xyes" && \
30184 "x$have_ecore_evas" = "xyes" -a \ 30147 test "x$have_ecore_evas" = "xyes" && \
30185 "x$want_module" = "xyes" ; then 30148 test "x$want_module" = "xyes" ; then
30186 if test -n "$PKG_CONFIG" && \ 30149 if test -n "$PKG_CONFIG" && \
30187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\""; } >&5 30150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\""; } >&5
30188 ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5 30151 ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
@@ -30233,9 +30196,9 @@ $as_echo_n "checking whether ecore_evas Glew OpenGL support is to be built... "
30233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30234$as_echo "${want_module}" >&6; } 30197$as_echo "${want_module}" >&6; }
30235 30198
30236if test "x${have_ecore_win32}" = "xyes" -a \ 30199if test "x${have_ecore_win32}" = "xyes" && \
30237 "x$have_ecore_evas" = "xyes" -a \ 30200 test "x$have_ecore_evas" = "xyes" && \
30238 "x$want_module" = "xyes" ; then 30201 test "x$want_module" = "xyes" ; then
30239 if test -n "$PKG_CONFIG" && \ 30202 if test -n "$PKG_CONFIG" && \
30240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\""; } >&5 30203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\""; } >&5
30241 ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5 30204 ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
@@ -30286,9 +30249,9 @@ $as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is to
30286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30287$as_echo "${want_module}" >&6; } 30250$as_echo "${want_module}" >&6; }
30288 30251
30289if test "x${have_ecore_win32}" = "xyes" -a \ 30252if test "x${have_ecore_win32}" = "xyes" && \
30290 "x$have_ecore_evas" = "xyes" -a \ 30253 test "x$have_ecore_evas" = "xyes" && \
30291 "x$want_module" = "xyes" ; then 30254 test "x$want_module" = "xyes" ; then
30292 if test -n "$PKG_CONFIG" && \ 30255 if test -n "$PKG_CONFIG" && \
30293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\""; } >&5 30256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\""; } >&5
30294 ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5 30257 ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
@@ -30325,64 +30288,21 @@ if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
30325 30288
30326$as_echo "#define BUILD_ECORE_EVAS_WIN32 1" >>confdefs.h 30289$as_echo "#define BUILD_ECORE_EVAS_WIN32 1" >>confdefs.h
30327 30290
30328 requirements_ecore_evas="ecore-win32 >= 1.1.99 ${requirements_ecore_evas}" 30291 requirements_ecore_evas="ecore-win32 >= 1.2.0 ${requirements_ecore_evas}"
30329fi 30292fi
30330 30293
30331# ecore_evas_software_sdl 30294# ecore_evas_software_sdl
30332 30295
30333
30334
30335have_ecore_evas_software_sdl="no" 30296have_ecore_evas_software_sdl="no"
30336want_module="${want_ecore_evas_software_sdl}" 30297if test "x${have_ecore_sdl}" = "xyes"; then
30337 30298 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
30338# Check whether --enable-ecore-evas-software-sdl was given. 30299 have_ecore_evas_software_sdl="yes"
30339if test "${enable_ecore_evas_software_sdl+set}" = set; then :
30340 enableval=$enable_ecore_evas_software_sdl;
30341 if test "x${enableval}" = "xyes" ; then
30342 want_module="yes"
30343 else
30344 want_module="no"
30345 fi
30346
30347fi
30348
30349
30350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software SDL support is to be built" >&5
30351$as_echo_n "checking whether ecore_evas Software SDL support is to be built... " >&6; }
30352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30353$as_echo "${want_module}" >&6; }
30354
30355if test "x${have_ecore_sdl}" = "xyes" -a \
30356 "x$have_ecore_evas" = "xyes" -a \
30357 "x$want_module" = "xyes" ; then
30358 if test -n "$PKG_CONFIG" && \
30359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-sdl\""; } >&5
30360 ($PKG_CONFIG --exists --print-errors "evas-software-sdl") 2>&5
30361 ac_status=$?
30362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30363 test $ac_status = 0; }; then
30364
30365 30300
30366$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_SDL 1" >>confdefs.h 30301$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_SDL 1" >>confdefs.h
30367 30302
30368 have_ecore_evas_software_sdl="yes" 30303 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
30369
30370fi
30371fi
30372
30373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software SDL support is built" >&5
30374$as_echo_n "checking whether ecore_evas Software SDL support is built... " >&6; }
30375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_sdl" >&5
30376$as_echo "$have_ecore_evas_software_sdl" >&6; }
30377
30378if test "x$have_ecore_evas_software_sdl" = "xyes"; then :
30379 requirements_ecore_evas="ecore-sdl >= 1.1.99 ${requirements_ecore_evas}"
30380fi 30304fi
30381 30305
30382
30383
30384
30385
30386# ecore_evas_gl_sdl 30306# ecore_evas_gl_sdl
30387 30307
30388 30308
@@ -30407,9 +30327,9 @@ $as_echo_n "checking whether ecore_evas OpenGL SDL support is to be built... " >
30407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30408$as_echo "${want_module}" >&6; } 30328$as_echo "${want_module}" >&6; }
30409 30329
30410if test "x${have_ecore_sdl}" = "xyes" -a \ 30330if test "x${have_ecore_sdl}" = "xyes" && \
30411 "x$have_ecore_evas" = "xyes" -a \ 30331 test "x$have_ecore_evas" = "xyes" && \
30412 "x$want_module" = "xyes" ; then 30332 test "x$want_module" = "xyes" ; then
30413 if test -n "$PKG_CONFIG" && \ 30333 if test -n "$PKG_CONFIG" && \
30414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\""; } >&5 30334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\""; } >&5
30415 ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5 30335 ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
@@ -30431,7 +30351,7 @@ $as_echo_n "checking whether ecore_evas OpenGL SDL support is built... " >&6; }
30431$as_echo "$have_ecore_evas_opengl_sdl" >&6; } 30351$as_echo "$have_ecore_evas_opengl_sdl" >&6; }
30432 30352
30433if test "x$have_ecore_evas_opengl_sdl" = "xyes"; then : 30353if test "x$have_ecore_evas_opengl_sdl" = "xyes"; then :
30434 requirements_ecore_evas="ecore-sdl >= 1.1.99 ${requirements_ecore_evas}" 30354 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
30435fi 30355fi
30436 30356
30437 30357
@@ -30462,9 +30382,9 @@ $as_echo_n "checking whether ecore_evas OpenGL Cocoa support is to be built... "
30462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30463$as_echo "${want_module}" >&6; } 30383$as_echo "${want_module}" >&6; }
30464 30384
30465if test "x${have_ecore_cocoa}" = "xyes" -a \ 30385if test "x${have_ecore_cocoa}" = "xyes" && \
30466 "x$have_ecore_evas" = "xyes" -a \ 30386 test "x$have_ecore_evas" = "xyes" && \
30467 "x$want_module" = "xyes" ; then 30387 test "x$want_module" = "xyes" ; then
30468 if test -n "$PKG_CONFIG" && \ 30388 if test -n "$PKG_CONFIG" && \
30469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-cocoa\""; } >&5 30389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-cocoa\""; } >&5
30470 ($PKG_CONFIG --exists --print-errors "evas-opengl-cocoa") 2>&5 30390 ($PKG_CONFIG --exists --print-errors "evas-opengl-cocoa") 2>&5
@@ -30486,7 +30406,7 @@ $as_echo_n "checking whether ecore_evas OpenGL Cocoa support is built... " >&6;
30486$as_echo "$have_ecore_evas_opengl_cocoa" >&6; } 30406$as_echo "$have_ecore_evas_opengl_cocoa" >&6; }
30487 30407
30488if test "x$have_ecore_evas_opengl_cocoa" = "xyes"; then : 30408if test "x$have_ecore_evas_opengl_cocoa" = "xyes"; then :
30489 requirements_ecore_evas="ecore-cocoa >= 1.1.99 ${requirements_ecore_evas}" 30409 requirements_ecore_evas="ecore-cocoa >= 1.2.0 ${requirements_ecore_evas}"
30490fi 30410fi
30491 30411
30492 30412
@@ -30517,9 +30437,9 @@ $as_echo_n "checking whether ecore_evas DirectFB support is to be built... " >&6
30517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30518$as_echo "${want_module}" >&6; } 30438$as_echo "${want_module}" >&6; }
30519 30439
30520if test "x${have_ecore_directfb}" = "xyes" -a \ 30440if test "x${have_ecore_directfb}" = "xyes" && \
30521 "x$have_ecore_evas" = "xyes" -a \ 30441 test "x$have_ecore_evas" = "xyes" && \
30522 "x$want_module" = "xyes" ; then 30442 test "x$want_module" = "xyes" ; then
30523 if test -n "$PKG_CONFIG" && \ 30443 if test -n "$PKG_CONFIG" && \
30524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-directfb\""; } >&5 30444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-directfb\""; } >&5
30525 ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5 30445 ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
@@ -30541,7 +30461,7 @@ $as_echo_n "checking whether ecore_evas DirectFB support is built... " >&6; }
30541$as_echo "$have_ecore_evas_directfb" >&6; } 30461$as_echo "$have_ecore_evas_directfb" >&6; }
30542 30462
30543if test "x$have_ecore_evas_directfb" = "xyes"; then : 30463if test "x$have_ecore_evas_directfb" = "xyes"; then :
30544 requirements_ecore_evas="ecore-directfb >= 1.1.99 ${requirements_ecore_evas}" 30464 requirements_ecore_evas="ecore-directfb >= 1.2.0 ${requirements_ecore_evas}"
30545fi 30465fi
30546 30466
30547 30467
@@ -30572,9 +30492,9 @@ $as_echo_n "checking whether ecore_evas Linux Framebuffer support is to be built
30572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30573$as_echo "${want_module}" >&6; } 30493$as_echo "${want_module}" >&6; }
30574 30494
30575if test "x${have_ecore_fb}" = "xyes" -a \ 30495if test "x${have_ecore_fb}" = "xyes" && \
30576 "x$have_ecore_evas" = "xyes" -a \ 30496 test "x$have_ecore_evas" = "xyes" && \
30577 "x$want_module" = "xyes" ; then 30497 test "x$want_module" = "xyes" ; then
30578 if test -n "$PKG_CONFIG" && \ 30498 if test -n "$PKG_CONFIG" && \
30579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb\""; } >&5 30499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb\""; } >&5
30580 ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5 30500 ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
@@ -30596,7 +30516,7 @@ $as_echo_n "checking whether ecore_evas Linux Framebuffer support is built... "
30596$as_echo "$have_ecore_evas_fb" >&6; } 30516$as_echo "$have_ecore_evas_fb" >&6; }
30597 30517
30598if test "x$have_ecore_evas_fb" = "xyes"; then : 30518if test "x$have_ecore_evas_fb" = "xyes"; then :
30599 requirements_ecore_evas="ecore-fb >= 1.1.99 ${requirements_ecore_evas}" 30519 requirements_ecore_evas="ecore-fb >= 1.2.0 ${requirements_ecore_evas}"
30600fi 30520fi
30601 30521
30602 30522
@@ -30627,9 +30547,9 @@ $as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is to
30627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30628$as_echo "${want_module}" >&6; } 30548$as_echo "${want_module}" >&6; }
30629 30549
30630if test "x${have_ecore_wince}" = "xyes" -a \ 30550if test "x${have_ecore_wince}" = "xyes" && \
30631 "x$have_ecore_evas" = "xyes" -a \ 30551 test "x$have_ecore_evas" = "xyes" && \
30632 "x$want_module" = "xyes" ; then 30552 test "x$want_module" = "xyes" ; then
30633 if test -n "$PKG_CONFIG" && \ 30553 if test -n "$PKG_CONFIG" && \
30634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\""; } >&5 30554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\""; } >&5
30635 ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5 30555 ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
@@ -30651,7 +30571,7 @@ $as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is bu
30651$as_echo "$have_ecore_evas_software_16_wince" >&6; } 30571$as_echo "$have_ecore_evas_software_16_wince" >&6; }
30652 30572
30653if test "x$have_ecore_evas_software_16_wince" = "xyes"; then : 30573if test "x$have_ecore_evas_software_16_wince" = "xyes"; then :
30654 requirements_ecore_evas="ecore-wince >= 1.1.99 ${requirements_ecore_evas}" 30574 requirements_ecore_evas="ecore-wince >= 1.2.0 ${requirements_ecore_evas}"
30655fi 30575fi
30656 30576
30657 30577
@@ -30682,9 +30602,9 @@ $as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing Syst
30682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30683$as_echo "${want_module}" >&6; } 30603$as_echo "${want_module}" >&6; }
30684 30604
30685if test "xyes" = "xyes" -a \ 30605if test "xyes" = "xyes" && \
30686 "x$have_ecore_evas" = "xyes" -a \ 30606 test "x$have_ecore_evas" = "xyes" && \
30687 "x$want_module" = "xyes" ; then 30607 test "x$want_module" = "xyes" ; then
30688 if test -n "$PKG_CONFIG" && \ 30608 if test -n "$PKG_CONFIG" && \
30689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5 30609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
30690 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5 30610 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
@@ -30713,6 +30633,25 @@ fi
30713 30633
30714 30634
30715 30635
30636# ecore_evas_extn
30637
30638have_extn="yes"
30639if test "x${have_ecore_ipc}" = "xno" || \
30640 test "x${have_ecore_evas_software_buffer}" = "xno" || \
30641 test "x${have_shm_open}" = "xno" ; then
30642 have_extn="no"
30643fi
30644
30645have_ecore_evas_extn="no"
30646if test "x${want_ecore_evas_extn}" = "xyes" && \
30647 test "x${have_extn}" = "xyes" && \
30648 test "x${have_ecore_evas}" = "xyes"; then
30649
30650$as_echo "#define BUILD_ECORE_EVAS_EXTN 1" >>confdefs.h
30651
30652 have_ecore_evas_extn="yes"
30653fi
30654
30716# ecore_evas_psl1ght 30655# ecore_evas_psl1ght
30717 30656
30718 30657
@@ -30737,9 +30676,9 @@ $as_echo_n "checking whether ecore_evas PSL1GHT support is to be built... " >&6;
30737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30738$as_echo "${want_module}" >&6; } 30677$as_echo "${want_module}" >&6; }
30739 30678
30740if test "x${have_ecore_psl1ght}" = "xyes" -a \ 30679if test "x${have_ecore_psl1ght}" = "xyes" && \
30741 "x$have_ecore_evas" = "xyes" -a \ 30680 test "x$have_ecore_evas" = "xyes" && \
30742 "x$want_module" = "xyes" ; then 30681 test "x$want_module" = "xyes" ; then
30743 if test -n "$PKG_CONFIG" && \ 30682 if test -n "$PKG_CONFIG" && \
30744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-psl1ght\""; } >&5 30683 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-psl1ght\""; } >&5
30745 ($PKG_CONFIG --exists --print-errors "evas-psl1ght") 2>&5 30684 ($PKG_CONFIG --exists --print-errors "evas-psl1ght") 2>&5
@@ -30761,7 +30700,7 @@ $as_echo_n "checking whether ecore_evas PSL1GHT support is built... " >&6; }
30761$as_echo "$have_ecore_evas_psl1ght" >&6; } 30700$as_echo "$have_ecore_evas_psl1ght" >&6; }
30762 30701
30763if test "x$have_ecore_evas_psl1ght" = "xyes"; then : 30702if test "x$have_ecore_evas_psl1ght" = "xyes"; then :
30764 requirements_ecore_evas="ecore-psl1ght >= 1.1.99 ${requirements_ecore_evas}" 30703 requirements_ecore_evas="ecore-psl1ght >= 1.2.0 ${requirements_ecore_evas}"
30765fi 30704fi
30766 30705
30767 30706
@@ -30778,46 +30717,44 @@ pkg_failed=no
30778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5 30717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
30779$as_echo_n "checking for WAYLAND... " >&6; } 30718$as_echo_n "checking for WAYLAND... " >&6; }
30780 30719
30781if test -n "$PKG_CONFIG"; then 30720if test -n "$WAYLAND_CFLAGS"; then
30782 if test -n "$WAYLAND_CFLAGS"; then 30721 pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
30783 pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS" 30722 elif test -n "$PKG_CONFIG"; then
30784 else 30723 if test -n "$PKG_CONFIG" && \
30785 if test -n "$PKG_CONFIG" && \ 30724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl wayland-egl wayland-client xkbcommon\""; } >&5
30786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client xkbcommon\""; } >&5 30725 ($PKG_CONFIG --exists --print-errors "egl wayland-egl wayland-client xkbcommon") 2>&5
30787 ($PKG_CONFIG --exists --print-errors "wayland-client xkbcommon") 2>&5
30788 ac_status=$? 30726 ac_status=$?
30789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30790 test $ac_status = 0; }; then 30728 test $ac_status = 0; }; then
30791 pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "wayland-client xkbcommon" 2>/dev/null` 30729 pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "egl wayland-egl wayland-client xkbcommon" 2>/dev/null`
30792else 30730else
30793 pkg_failed=yes 30731 pkg_failed=yes
30794fi 30732fi
30795 fi 30733 else
30796else 30734 pkg_failed=untried
30797 pkg_failed=untried
30798fi 30735fi
30799if test -n "$PKG_CONFIG"; then 30736if test -n "$WAYLAND_LIBS"; then
30800 if test -n "$WAYLAND_LIBS"; then 30737 pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
30801 pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS" 30738 elif test -n "$PKG_CONFIG"; then
30802 else 30739 if test -n "$PKG_CONFIG" && \
30803 if test -n "$PKG_CONFIG" && \ 30740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl wayland-egl wayland-client xkbcommon\""; } >&5
30804 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client xkbcommon\""; } >&5 30741 ($PKG_CONFIG --exists --print-errors "egl wayland-egl wayland-client xkbcommon") 2>&5
30805 ($PKG_CONFIG --exists --print-errors "wayland-client xkbcommon") 2>&5
30806 ac_status=$? 30742 ac_status=$?
30807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30808 test $ac_status = 0; }; then 30744 test $ac_status = 0; }; then
30809 pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "wayland-client xkbcommon" 2>/dev/null` 30745 pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "egl wayland-egl wayland-client xkbcommon" 2>/dev/null`
30810else 30746else
30811 pkg_failed=yes 30747 pkg_failed=yes
30812fi 30748fi
30813 fi 30749 else
30814else 30750 pkg_failed=untried
30815 pkg_failed=untried
30816fi 30751fi
30817 30752
30818 30753
30819 30754
30820if test $pkg_failed = yes; then 30755if test $pkg_failed = yes; then
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30757$as_echo "no" >&6; }
30821 30758
30822if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30759if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30823 _pkg_short_errors_supported=yes 30760 _pkg_short_errors_supported=yes
@@ -30825,17 +30762,17 @@ else
30825 _pkg_short_errors_supported=no 30762 _pkg_short_errors_supported=no
30826fi 30763fi
30827 if test $_pkg_short_errors_supported = yes; then 30764 if test $_pkg_short_errors_supported = yes; then
30828 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wayland-client xkbcommon"` 30765 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl wayland-egl wayland-client xkbcommon" 2>&1`
30829 else 30766 else
30830 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wayland-client xkbcommon"` 30767 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl wayland-egl wayland-client xkbcommon" 2>&1`
30831 fi 30768 fi
30832 # Put the nasty error message in config.log where it belongs 30769 # Put the nasty error message in config.log where it belongs
30833 echo "$WAYLAND_PKG_ERRORS" >&5 30770 echo "$WAYLAND_PKG_ERRORS" >&5
30834 30771
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30772 have_wayland="no"
30836$as_echo "no" >&6; }
30837 have_wayland="no"
30838elif test $pkg_failed = untried; then 30773elif test $pkg_failed = untried; then
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30775$as_echo "no" >&6; }
30839 have_wayland="no" 30776 have_wayland="no"
30840else 30777else
30841 WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS 30778 WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
@@ -30909,7 +30846,7 @@ fi
30909 30846
30910 30847
30911if test "x${have_ecore_wayland}" = "xyes" ; then 30848if test "x${have_ecore_wayland}" = "xyes" ; then
30912 requirements_ecore_wayland="ecore-input >= 1.1.0 wayland-client xkbcommon ${requirements_ecore_wayland}" 30849 requirements_ecore_wayland="ecore-input >= 1.2.0 egl wayland-egl wayland-client xkbcommon ${requirements_ecore_wayland}"
30913fi 30850fi
30914 30851
30915 30852
@@ -30934,9 +30871,9 @@ $as_echo_n "checking whether ecore_evas Wayland Shm support is to be built... "
30934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30935$as_echo "${want_module}" >&6; } 30872$as_echo "${want_module}" >&6; }
30936 30873
30937if test "x${have_ecore_wayland}" = "xyes" -a \ 30874if test "x${have_ecore_wayland}" = "xyes" && \
30938 "x$have_ecore_evas" = "xyes" -a \ 30875 test "x$have_ecore_evas" = "xyes" && \
30939 "x$want_module" = "xyes" ; then 30876 test "x$want_module" = "xyes" ; then
30940 if test -n "$PKG_CONFIG" && \ 30877 if test -n "$PKG_CONFIG" && \
30941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-shm\""; } >&5 30878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-shm\""; } >&5
30942 ($PKG_CONFIG --exists --print-errors "evas-wayland-shm") 2>&5 30879 ($PKG_CONFIG --exists --print-errors "evas-wayland-shm") 2>&5
@@ -30987,12 +30924,12 @@ $as_echo_n "checking whether ecore_evas Wayland Egl support is to be built... "
30987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5 30924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30988$as_echo "${want_module}" >&6; } 30925$as_echo "${want_module}" >&6; }
30989 30926
30990if test "x${have_ecore_wayland}" = "xyes" -a \ 30927if test "x${have_ecore_wayland}" = "xyes" && \
30991 "x$have_ecore_evas" = "xyes" -a \ 30928 test "x$have_ecore_evas" = "xyes" && \
30992 "x$want_module" = "xyes" ; then 30929 test "x$want_module" = "xyes" ; then
30993 if test -n "$PKG_CONFIG" && \ 30930 if test -n "$PKG_CONFIG" && \
30994 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-egl\""; } >&5 30931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-egl egl\""; } >&5
30995 ($PKG_CONFIG --exists --print-errors "evas-wayland-egl") 2>&5 30932 ($PKG_CONFIG --exists --print-errors "evas-wayland-egl egl") 2>&5
30996 ac_status=$? 30933 ac_status=$?
30997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30998 test $ac_status = 0; }; then 30935 test $ac_status = 0; }; then
@@ -31017,11 +30954,10 @@ pkg_failed=no
31017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 30954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
31018$as_echo_n "checking for WAYLAND_EGL... " >&6; } 30955$as_echo_n "checking for WAYLAND_EGL... " >&6; }
31019 30956
31020if test -n "$PKG_CONFIG"; then 30957if test -n "$WAYLAND_EGL_CFLAGS"; then
31021 if test -n "$WAYLAND_EGL_CFLAGS"; then 30958 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
31022 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS" 30959 elif test -n "$PKG_CONFIG"; then
31023 else 30960 if test -n "$PKG_CONFIG" && \
31024 if test -n "$PKG_CONFIG" && \
31025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 30961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
31026 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 30962 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
31027 ac_status=$? 30963 ac_status=$?
@@ -31031,15 +30967,13 @@ if test -n "$PKG_CONFIG"; then
31031else 30967else
31032 pkg_failed=yes 30968 pkg_failed=yes
31033fi 30969fi
31034 fi 30970 else
31035else 30971 pkg_failed=untried
31036 pkg_failed=untried
31037fi 30972fi
31038if test -n "$PKG_CONFIG"; then 30973if test -n "$WAYLAND_EGL_LIBS"; then
31039 if test -n "$WAYLAND_EGL_LIBS"; then 30974 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
31040 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS" 30975 elif test -n "$PKG_CONFIG"; then
31041 else 30976 if test -n "$PKG_CONFIG" && \
31042 if test -n "$PKG_CONFIG" && \
31043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 30977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
31044 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 30978 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
31045 ac_status=$? 30979 ac_status=$?
@@ -31049,14 +30983,15 @@ if test -n "$PKG_CONFIG"; then
31049else 30983else
31050 pkg_failed=yes 30984 pkg_failed=yes
31051fi 30985fi
31052 fi 30986 else
31053else 30987 pkg_failed=untried
31054 pkg_failed=untried
31055fi 30988fi
31056 30989
31057 30990
31058 30991
31059if test $pkg_failed = yes; then 30992if test $pkg_failed = yes; then
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30994$as_echo "no" >&6; }
31060 30995
31061if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30996if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31062 _pkg_short_errors_supported=yes 30997 _pkg_short_errors_supported=yes
@@ -31064,17 +30999,17 @@ else
31064 _pkg_short_errors_supported=no 30999 _pkg_short_errors_supported=no
31065fi 31000fi
31066 if test $_pkg_short_errors_supported = yes; then 31001 if test $_pkg_short_errors_supported = yes; then
31067 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wayland-egl"` 31002 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "wayland-egl" 2>&1`
31068 else 31003 else
31069 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wayland-egl"` 31004 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "wayland-egl" 2>&1`
31070 fi 31005 fi
31071 # Put the nasty error message in config.log where it belongs 31006 # Put the nasty error message in config.log where it belongs
31072 echo "$WAYLAND_EGL_PKG_ERRORS" >&5 31007 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
31073 31008
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 31009 have_wayland_egl="no"
31075$as_echo "no" >&6; }
31076 have_wayland_egl="no"
31077elif test $pkg_failed = untried; then 31010elif test $pkg_failed = untried; then
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31012$as_echo "no" >&6; }
31078 have_wayland_egl="no" 31013 have_wayland_egl="no"
31079else 31014else
31080 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS 31015 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
@@ -31093,6 +31028,120 @@ fi
31093 31028
31094 31029
31095 31030
31031### Unit tests
31032
31033
31034
31035
31036# Check whether --enable-tests was given.
31037if test "${enable_tests+set}" = set; then :
31038 enableval=$enable_tests;
31039 if test "x${enableval}" = "xyes" ; then
31040 _efl_enable_tests="yes"
31041 else
31042 _efl_enable_tests="no"
31043 fi
31044
31045else
31046 _efl_enable_tests="no"
31047fi
31048
31049
31050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
31051$as_echo_n "checking whether tests are built... " >&6; }
31052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
31053$as_echo "${_efl_enable_tests}" >&6; }
31054
31055
31056
31057if test "x${_efl_enable_tests}" = "xyes" ; then
31058
31059pkg_failed=no
31060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
31061$as_echo_n "checking for CHECK... " >&6; }
31062
31063if test -n "$CHECK_CFLAGS"; then
31064 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
31065 elif test -n "$PKG_CONFIG"; then
31066 if test -n "$PKG_CONFIG" && \
31067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31068 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31069 ac_status=$?
31070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31071 test $ac_status = 0; }; then
31072 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
31073else
31074 pkg_failed=yes
31075fi
31076 else
31077 pkg_failed=untried
31078fi
31079if test -n "$CHECK_LIBS"; then
31080 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
31081 elif test -n "$PKG_CONFIG"; then
31082 if test -n "$PKG_CONFIG" && \
31083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31084 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31085 ac_status=$?
31086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31087 test $ac_status = 0; }; then
31088 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
31089else
31090 pkg_failed=yes
31091fi
31092 else
31093 pkg_failed=untried
31094fi
31095
31096
31097
31098if test $pkg_failed = yes; then
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31100$as_echo "no" >&6; }
31101
31102if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31103 _pkg_short_errors_supported=yes
31104else
31105 _pkg_short_errors_supported=no
31106fi
31107 if test $_pkg_short_errors_supported = yes; then
31108 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
31109 else
31110 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
31111 fi
31112 # Put the nasty error message in config.log where it belongs
31113 echo "$CHECK_PKG_ERRORS" >&5
31114
31115 _efl_enable_tests="no"
31116elif test $pkg_failed = untried; then
31117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31118$as_echo "no" >&6; }
31119 _efl_enable_tests="no"
31120else
31121 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
31122 CHECK_LIBS=$pkg_cv_CHECK_LIBS
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31124$as_echo "yes" >&6; }
31125 dummy="yes"
31126fi
31127fi
31128
31129 if test "x${_efl_enable_tests}" = "xyes"; then
31130 EFL_ENABLE_TESTS_TRUE=
31131 EFL_ENABLE_TESTS_FALSE='#'
31132else
31133 EFL_ENABLE_TESTS_TRUE='#'
31134 EFL_ENABLE_TESTS_FALSE=
31135fi
31136
31137
31138if test "x$_efl_enable_tests" = "xyes"; then :
31139 enable_tests="yes"
31140else
31141 enable_tests="no"
31142fi
31143
31144
31096### install and build examples 31145### install and build examples
31097 31146
31098 31147
@@ -31280,6 +31329,7 @@ DEFS=-DHAVE_CONFIG_H
31280 31329
31281ac_libobjs= 31330ac_libobjs=
31282ac_ltlibobjs= 31331ac_ltlibobjs=
31332U=
31283for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 31333for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31284 # 1. Remove the extension, and $U if already installed. 31334 # 1. Remove the extension, and $U if already installed.
31285 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 31335 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -31303,168 +31353,172 @@ else
31303fi 31353fi
31304 31354
31305if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 31355if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31306 as_fn_error "conditional \"AMDEP\" was never defined. 31356 as_fn_error $? "conditional \"AMDEP\" was never defined.
31307Usually this means the macro was only invoked conditionally." "$LINENO" 5 31357Usually this means the macro was only invoked conditionally." "$LINENO" 5
31308fi 31358fi
31309if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 31359if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31310 as_fn_error "conditional \"am__fastdepCC\" was never defined. 31360 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31311Usually this means the macro was only invoked conditionally." "$LINENO" 5 31361Usually this means the macro was only invoked conditionally." "$LINENO" 5
31312fi 31362fi
31313if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then 31363if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
31314 as_fn_error "conditional \"HAVE_PO\" was never defined. 31364 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
31315Usually this means the macro was only invoked conditionally." "$LINENO" 5
31316fi
31317if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
31318 as_fn_error "conditional \"EFL_ENABLE_TESTS\" was never defined.
31319Usually this means the macro was only invoked conditionally." "$LINENO" 5 31365Usually this means the macro was only invoked conditionally." "$LINENO" 5
31320fi 31366fi
31321if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 31367if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31322 as_fn_error "conditional \"am__fastdepOBJC\" was never defined. 31368 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
31323Usually this means the macro was only invoked conditionally." "$LINENO" 5 31369Usually this means the macro was only invoked conditionally." "$LINENO" 5
31324fi 31370fi
31325if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 31371if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31326 as_fn_error "conditional \"am__fastdepOBJC\" was never defined. 31372 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
31327Usually this means the macro was only invoked conditionally." "$LINENO" 5 31373Usually this means the macro was only invoked conditionally." "$LINENO" 5
31328fi 31374fi
31329if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 31375if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31330 as_fn_error "conditional \"am__fastdepOBJC\" was never defined. 31376 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
31331Usually this means the macro was only invoked conditionally." "$LINENO" 5 31377Usually this means the macro was only invoked conditionally." "$LINENO" 5
31332fi 31378fi
31333if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 31379if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31334 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 31380 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31335Usually this means the macro was only invoked conditionally." "$LINENO" 5 31381Usually this means the macro was only invoked conditionally." "$LINENO" 5
31336fi 31382fi
31337if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 31383if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31338 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 31384 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31339Usually this means the macro was only invoked conditionally." "$LINENO" 5 31385Usually this means the macro was only invoked conditionally." "$LINENO" 5
31340fi 31386fi
31341if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 31387if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31342 as_fn_error "conditional \"am__fastdepCC\" was never defined. 31388 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31343Usually this means the macro was only invoked conditionally." "$LINENO" 5 31389Usually this means the macro was only invoked conditionally." "$LINENO" 5
31344fi 31390fi
31345if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then 31391if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
31346 as_fn_error "conditional \"EFL_BUILD_DOC\" was never defined. 31392 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
31393Usually this means the macro was only invoked conditionally." "$LINENO" 5
31394fi
31395if test -z "${ECORE_HAVE_EXOTIC_TRUE}" && test -z "${ECORE_HAVE_EXOTIC_FALSE}"; then
31396 as_fn_error $? "conditional \"ECORE_HAVE_EXOTIC\" was never defined.
31347Usually this means the macro was only invoked conditionally." "$LINENO" 5 31397Usually this means the macro was only invoked conditionally." "$LINENO" 5
31348fi 31398fi
31349if test -z "${ECORE_HAVE_WINCE_TRUE}" && test -z "${ECORE_HAVE_WINCE_FALSE}"; then 31399if test -z "${ECORE_HAVE_WINCE_TRUE}" && test -z "${ECORE_HAVE_WINCE_FALSE}"; then
31350 as_fn_error "conditional \"ECORE_HAVE_WINCE\" was never defined. 31400 as_fn_error $? "conditional \"ECORE_HAVE_WINCE\" was never defined.
31351Usually this means the macro was only invoked conditionally." "$LINENO" 5 31401Usually this means the macro was only invoked conditionally." "$LINENO" 5
31352fi 31402fi
31353if test -z "${ECORE_HAVE_WIN32_TRUE}" && test -z "${ECORE_HAVE_WIN32_FALSE}"; then 31403if test -z "${ECORE_HAVE_WIN32_TRUE}" && test -z "${ECORE_HAVE_WIN32_FALSE}"; then
31354 as_fn_error "conditional \"ECORE_HAVE_WIN32\" was never defined. 31404 as_fn_error $? "conditional \"ECORE_HAVE_WIN32\" was never defined.
31355Usually this means the macro was only invoked conditionally." "$LINENO" 5 31405Usually this means the macro was only invoked conditionally." "$LINENO" 5
31356fi 31406fi
31357if test -z "${ECORE_HAVE_PS3_TRUE}" && test -z "${ECORE_HAVE_PS3_FALSE}"; then 31407if test -z "${ECORE_HAVE_PS3_TRUE}" && test -z "${ECORE_HAVE_PS3_FALSE}"; then
31358 as_fn_error "conditional \"ECORE_HAVE_PS3\" was never defined. 31408 as_fn_error $? "conditional \"ECORE_HAVE_PS3\" was never defined.
31359Usually this means the macro was only invoked conditionally." "$LINENO" 5 31409Usually this means the macro was only invoked conditionally." "$LINENO" 5
31360fi 31410fi
31361if test -z "${BUILD_ECORE_X_XLIB_TRUE}" && test -z "${BUILD_ECORE_X_XLIB_FALSE}"; then 31411if test -z "${BUILD_ECORE_X_XLIB_TRUE}" && test -z "${BUILD_ECORE_X_XLIB_FALSE}"; then
31362 as_fn_error "conditional \"BUILD_ECORE_X_XLIB\" was never defined. 31412 as_fn_error $? "conditional \"BUILD_ECORE_X_XLIB\" was never defined.
31363Usually this means the macro was only invoked conditionally." "$LINENO" 5 31413Usually this means the macro was only invoked conditionally." "$LINENO" 5
31364fi 31414fi
31365if test -z "${BUILD_ECORE_X_XCB_TRUE}" && test -z "${BUILD_ECORE_X_XCB_FALSE}"; then 31415if test -z "${BUILD_ECORE_X_XCB_TRUE}" && test -z "${BUILD_ECORE_X_XCB_FALSE}"; then
31366 as_fn_error "conditional \"BUILD_ECORE_X_XCB\" was never defined. 31416 as_fn_error $? "conditional \"BUILD_ECORE_X_XCB\" was never defined.
31367Usually this means the macro was only invoked conditionally." "$LINENO" 5 31417Usually this means the macro was only invoked conditionally." "$LINENO" 5
31368fi 31418fi
31369 31419
31370if test -z "${BUILD_ECORE_CON_TRUE}" && test -z "${BUILD_ECORE_CON_FALSE}"; then 31420if test -z "${BUILD_ECORE_CON_TRUE}" && test -z "${BUILD_ECORE_CON_FALSE}"; then
31371 as_fn_error "conditional \"BUILD_ECORE_CON\" was never defined. 31421 as_fn_error $? "conditional \"BUILD_ECORE_CON\" was never defined.
31372Usually this means the macro was only invoked conditionally." "$LINENO" 5 31422Usually this means the macro was only invoked conditionally." "$LINENO" 5
31373fi 31423fi
31374if test -z "${HAVE_CARES_TRUE}" && test -z "${HAVE_CARES_FALSE}"; then 31424if test -z "${HAVE_CARES_TRUE}" && test -z "${HAVE_CARES_FALSE}"; then
31375 as_fn_error "conditional \"HAVE_CARES\" was never defined. 31425 as_fn_error $? "conditional \"HAVE_CARES\" was never defined.
31376Usually this means the macro was only invoked conditionally." "$LINENO" 5 31426Usually this means the macro was only invoked conditionally." "$LINENO" 5
31377fi 31427fi
31378if test -z "${BUILD_ECORE_IPC_TRUE}" && test -z "${BUILD_ECORE_IPC_FALSE}"; then 31428if test -z "${BUILD_ECORE_IPC_TRUE}" && test -z "${BUILD_ECORE_IPC_FALSE}"; then
31379 as_fn_error "conditional \"BUILD_ECORE_IPC\" was never defined. 31429 as_fn_error $? "conditional \"BUILD_ECORE_IPC\" was never defined.
31380Usually this means the macro was only invoked conditionally." "$LINENO" 5 31430Usually this means the macro was only invoked conditionally." "$LINENO" 5
31381fi 31431fi
31382if test -z "${BUILD_ECORE_FILE_TRUE}" && test -z "${BUILD_ECORE_FILE_FALSE}"; then 31432if test -z "${BUILD_ECORE_FILE_TRUE}" && test -z "${BUILD_ECORE_FILE_FALSE}"; then
31383 as_fn_error "conditional \"BUILD_ECORE_FILE\" was never defined. 31433 as_fn_error $? "conditional \"BUILD_ECORE_FILE\" was never defined.
31384Usually this means the macro was only invoked conditionally." "$LINENO" 5 31434Usually this means the macro was only invoked conditionally." "$LINENO" 5
31385fi 31435fi
31386if test -z "${BUILD_ECORE_CONFIG_TRUE}" && test -z "${BUILD_ECORE_CONFIG_FALSE}"; then 31436if test -z "${BUILD_ECORE_CONFIG_TRUE}" && test -z "${BUILD_ECORE_CONFIG_FALSE}"; then
31387 as_fn_error "conditional \"BUILD_ECORE_CONFIG\" was never defined. 31437 as_fn_error $? "conditional \"BUILD_ECORE_CONFIG\" was never defined.
31388Usually this means the macro was only invoked conditionally." "$LINENO" 5 31438Usually this means the macro was only invoked conditionally." "$LINENO" 5
31389fi 31439fi
31390if test -z "${BUILD_ECORE_IMF_TRUE}" && test -z "${BUILD_ECORE_IMF_FALSE}"; then 31440if test -z "${BUILD_ECORE_IMF_TRUE}" && test -z "${BUILD_ECORE_IMF_FALSE}"; then
31391 as_fn_error "conditional \"BUILD_ECORE_IMF\" was never defined. 31441 as_fn_error $? "conditional \"BUILD_ECORE_IMF\" was never defined.
31392Usually this means the macro was only invoked conditionally." "$LINENO" 5 31442Usually this means the macro was only invoked conditionally." "$LINENO" 5
31393fi 31443fi
31394if test -z "${BUILD_ECORE_IMF_EVAS_TRUE}" && test -z "${BUILD_ECORE_IMF_EVAS_FALSE}"; then 31444if test -z "${BUILD_ECORE_IMF_EVAS_TRUE}" && test -z "${BUILD_ECORE_IMF_EVAS_FALSE}"; then
31395 as_fn_error "conditional \"BUILD_ECORE_IMF_EVAS\" was never defined. 31445 as_fn_error $? "conditional \"BUILD_ECORE_IMF_EVAS\" was never defined.
31396Usually this means the macro was only invoked conditionally." "$LINENO" 5 31446Usually this means the macro was only invoked conditionally." "$LINENO" 5
31397fi 31447fi
31398if test -z "${BUILD_ECORE_INPUT_TRUE}" && test -z "${BUILD_ECORE_INPUT_FALSE}"; then 31448if test -z "${BUILD_ECORE_INPUT_TRUE}" && test -z "${BUILD_ECORE_INPUT_FALSE}"; then
31399 as_fn_error "conditional \"BUILD_ECORE_INPUT\" was never defined. 31449 as_fn_error $? "conditional \"BUILD_ECORE_INPUT\" was never defined.
31400Usually this means the macro was only invoked conditionally." "$LINENO" 5 31450Usually this means the macro was only invoked conditionally." "$LINENO" 5
31401fi 31451fi
31402if test -z "${BUILD_ECORE_INPUT_EVAS_TRUE}" && test -z "${BUILD_ECORE_INPUT_EVAS_FALSE}"; then 31452if test -z "${BUILD_ECORE_INPUT_EVAS_TRUE}" && test -z "${BUILD_ECORE_INPUT_EVAS_FALSE}"; then
31403 as_fn_error "conditional \"BUILD_ECORE_INPUT_EVAS\" was never defined. 31453 as_fn_error $? "conditional \"BUILD_ECORE_INPUT_EVAS\" was never defined.
31404Usually this means the macro was only invoked conditionally." "$LINENO" 5 31454Usually this means the macro was only invoked conditionally." "$LINENO" 5
31405fi 31455fi
31406if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then 31456if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
31407 as_fn_error "conditional \"BUILD_ECORE_IMF_XIM\" was never defined. 31457 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
31408Usually this means the macro was only invoked conditionally." "$LINENO" 5 31458Usually this means the macro was only invoked conditionally." "$LINENO" 5
31409fi 31459fi
31410if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then 31460if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
31411 as_fn_error "conditional \"BUILD_ECORE_IMF_XIM\" was never defined. 31461 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
31412Usually this means the macro was only invoked conditionally." "$LINENO" 5 31462Usually this means the macro was only invoked conditionally." "$LINENO" 5
31413fi 31463fi
31414if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then 31464if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
31415 as_fn_error "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined. 31465 as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
31416Usually this means the macro was only invoked conditionally." "$LINENO" 5 31466Usually this means the macro was only invoked conditionally." "$LINENO" 5
31417fi 31467fi
31418if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then 31468if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
31419 as_fn_error "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined. 31469 as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
31420Usually this means the macro was only invoked conditionally." "$LINENO" 5 31470Usually this means the macro was only invoked conditionally." "$LINENO" 5
31421fi 31471fi
31422if test -z "${BUILD_ECORE_X_TRUE}" && test -z "${BUILD_ECORE_X_FALSE}"; then 31472if test -z "${BUILD_ECORE_X_TRUE}" && test -z "${BUILD_ECORE_X_FALSE}"; then
31423 as_fn_error "conditional \"BUILD_ECORE_X\" was never defined. 31473 as_fn_error $? "conditional \"BUILD_ECORE_X\" was never defined.
31424Usually this means the macro was only invoked conditionally." "$LINENO" 5 31474Usually this means the macro was only invoked conditionally." "$LINENO" 5
31425fi 31475fi
31426if test -z "${BUILD_ECORE_WIN32_TRUE}" && test -z "${BUILD_ECORE_WIN32_FALSE}"; then 31476if test -z "${BUILD_ECORE_WIN32_TRUE}" && test -z "${BUILD_ECORE_WIN32_FALSE}"; then
31427 as_fn_error "conditional \"BUILD_ECORE_WIN32\" was never defined. 31477 as_fn_error $? "conditional \"BUILD_ECORE_WIN32\" was never defined.
31428Usually this means the macro was only invoked conditionally." "$LINENO" 5 31478Usually this means the macro was only invoked conditionally." "$LINENO" 5
31429fi 31479fi
31430if test -z "${BUILD_ECORE_COCOA_TRUE}" && test -z "${BUILD_ECORE_COCOA_FALSE}"; then 31480if test -z "${BUILD_ECORE_COCOA_TRUE}" && test -z "${BUILD_ECORE_COCOA_FALSE}"; then
31431 as_fn_error "conditional \"BUILD_ECORE_COCOA\" was never defined. 31481 as_fn_error $? "conditional \"BUILD_ECORE_COCOA\" was never defined.
31432Usually this means the macro was only invoked conditionally." "$LINENO" 5 31482Usually this means the macro was only invoked conditionally." "$LINENO" 5
31433fi 31483fi
31434if test -z "${BUILD_ECORE_SDL_TRUE}" && test -z "${BUILD_ECORE_SDL_FALSE}"; then 31484if test -z "${BUILD_ECORE_SDL_TRUE}" && test -z "${BUILD_ECORE_SDL_FALSE}"; then
31435 as_fn_error "conditional \"BUILD_ECORE_SDL\" was never defined. 31485 as_fn_error $? "conditional \"BUILD_ECORE_SDL\" was never defined.
31436Usually this means the macro was only invoked conditionally." "$LINENO" 5 31486Usually this means the macro was only invoked conditionally." "$LINENO" 5
31437fi 31487fi
31438if test -z "${BUILD_ECORE_PSL1GHT_TRUE}" && test -z "${BUILD_ECORE_PSL1GHT_FALSE}"; then 31488if test -z "${BUILD_ECORE_PSL1GHT_TRUE}" && test -z "${BUILD_ECORE_PSL1GHT_FALSE}"; then
31439 as_fn_error "conditional \"BUILD_ECORE_PSL1GHT\" was never defined. 31489 as_fn_error $? "conditional \"BUILD_ECORE_PSL1GHT\" was never defined.
31440Usually this means the macro was only invoked conditionally." "$LINENO" 5 31490Usually this means the macro was only invoked conditionally." "$LINENO" 5
31441fi 31491fi
31442if test -z "${BUILD_ECORE_FB_TRUE}" && test -z "${BUILD_ECORE_FB_FALSE}"; then 31492if test -z "${BUILD_ECORE_FB_TRUE}" && test -z "${BUILD_ECORE_FB_FALSE}"; then
31443 as_fn_error "conditional \"BUILD_ECORE_FB\" was never defined. 31493 as_fn_error $? "conditional \"BUILD_ECORE_FB\" was never defined.
31444Usually this means the macro was only invoked conditionally." "$LINENO" 5 31494Usually this means the macro was only invoked conditionally." "$LINENO" 5
31445fi 31495fi
31446if test -z "${BUILD_ECORE_DIRECTFB_TRUE}" && test -z "${BUILD_ECORE_DIRECTFB_FALSE}"; then 31496if test -z "${BUILD_ECORE_DIRECTFB_TRUE}" && test -z "${BUILD_ECORE_DIRECTFB_FALSE}"; then
31447 as_fn_error "conditional \"BUILD_ECORE_DIRECTFB\" was never defined. 31497 as_fn_error $? "conditional \"BUILD_ECORE_DIRECTFB\" was never defined.
31448Usually this means the macro was only invoked conditionally." "$LINENO" 5 31498Usually this means the macro was only invoked conditionally." "$LINENO" 5
31449fi 31499fi
31450if test -z "${BUILD_ECORE_WINCE_TRUE}" && test -z "${BUILD_ECORE_WINCE_FALSE}"; then 31500if test -z "${BUILD_ECORE_WINCE_TRUE}" && test -z "${BUILD_ECORE_WINCE_FALSE}"; then
31451 as_fn_error "conditional \"BUILD_ECORE_WINCE\" was never defined. 31501 as_fn_error $? "conditional \"BUILD_ECORE_WINCE\" was never defined.
31452Usually this means the macro was only invoked conditionally." "$LINENO" 5 31502Usually this means the macro was only invoked conditionally." "$LINENO" 5
31453fi 31503fi
31454if test -z "${BUILD_ECORE_EVAS_TRUE}" && test -z "${BUILD_ECORE_EVAS_FALSE}"; then 31504if test -z "${BUILD_ECORE_EVAS_TRUE}" && test -z "${BUILD_ECORE_EVAS_FALSE}"; then
31455 as_fn_error "conditional \"BUILD_ECORE_EVAS\" was never defined. 31505 as_fn_error $? "conditional \"BUILD_ECORE_EVAS\" was never defined.
31456Usually this means the macro was only invoked conditionally." "$LINENO" 5 31506Usually this means the macro was only invoked conditionally." "$LINENO" 5
31457fi 31507fi
31458if test -z "${BUILD_ECORE_WAYLAND_TRUE}" && test -z "${BUILD_ECORE_WAYLAND_FALSE}"; then 31508if test -z "${BUILD_ECORE_WAYLAND_TRUE}" && test -z "${BUILD_ECORE_WAYLAND_FALSE}"; then
31459 as_fn_error "conditional \"BUILD_ECORE_WAYLAND\" was never defined. 31509 as_fn_error $? "conditional \"BUILD_ECORE_WAYLAND\" was never defined.
31510Usually this means the macro was only invoked conditionally." "$LINENO" 5
31511fi
31512if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
31513 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
31460Usually this means the macro was only invoked conditionally." "$LINENO" 5 31514Usually this means the macro was only invoked conditionally." "$LINENO" 5
31461fi 31515fi
31462if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then 31516if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
31463 as_fn_error "conditional \"EFL_BUILD_EXAMPLES\" was never defined. 31517 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
31464Usually this means the macro was only invoked conditionally." "$LINENO" 5 31518Usually this means the macro was only invoked conditionally." "$LINENO" 5
31465fi 31519fi
31466if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then 31520if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
31467 as_fn_error "conditional \"EFL_INSTALL_EXAMPLES\" was never defined. 31521 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
31468Usually this means the macro was only invoked conditionally." "$LINENO" 5 31522Usually this means the macro was only invoked conditionally." "$LINENO" 5
31469fi 31523fi
31470 31524
@@ -31614,19 +31668,19 @@ export LANGUAGE
31614(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 31668(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31615 31669
31616 31670
31617# as_fn_error ERROR [LINENO LOG_FD] 31671# as_fn_error STATUS ERROR [LINENO LOG_FD]
31618# --------------------------------- 31672# ----------------------------------------
31619# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 31673# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31620# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 31674# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31621# script with status $?, using 1 if that was 0. 31675# script with STATUS, using 1 if that was 0.
31622as_fn_error () 31676as_fn_error ()
31623{ 31677{
31624 as_status=$?; test $as_status -eq 0 && as_status=1 31678 as_status=$1; test $as_status -eq 0 && as_status=1
31625 if test "$3"; then 31679 if test "$4"; then
31626 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 31680 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31627 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 31681 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31628 fi 31682 fi
31629 $as_echo "$as_me: error: $1" >&2 31683 $as_echo "$as_me: error: $2" >&2
31630 as_fn_exit $as_status 31684 as_fn_exit $as_status
31631} # as_fn_error 31685} # as_fn_error
31632 31686
@@ -31822,7 +31876,7 @@ $as_echo X"$as_dir" |
31822 test -d "$as_dir" && break 31876 test -d "$as_dir" && break
31823 done 31877 done
31824 test -z "$as_dirs" || eval "mkdir $as_dirs" 31878 test -z "$as_dirs" || eval "mkdir $as_dirs"
31825 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 31879 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31826 31880
31827 31881
31828} # as_fn_mkdir_p 31882} # as_fn_mkdir_p
@@ -31875,8 +31929,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31875# report actual input values of CONFIG_FILES etc. instead of their 31929# report actual input values of CONFIG_FILES etc. instead of their
31876# values after options handling. 31930# values after options handling.
31877ac_log=" 31931ac_log="
31878This file was extended by ecore $as_me 1.1.99.67344, which was 31932This file was extended by ecore $as_me 1.2.0-alpha, which was
31879generated by GNU Autoconf 2.65. Invocation command line was 31933generated by GNU Autoconf 2.67. Invocation command line was
31880 31934
31881 CONFIG_FILES = $CONFIG_FILES 31935 CONFIG_FILES = $CONFIG_FILES
31882 CONFIG_HEADERS = $CONFIG_HEADERS 31936 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -31941,11 +31995,11 @@ _ACEOF
31941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31942ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 31996ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31943ac_cs_version="\\ 31997ac_cs_version="\\
31944ecore config.status 1.1.99.67344 31998ecore config.status 1.2.0-alpha
31945configured by $0, generated by GNU Autoconf 2.65, 31999configured by $0, generated by GNU Autoconf 2.67,
31946 with options \\"\$ac_cs_config\\" 32000 with options \\"\$ac_cs_config\\"
31947 32001
31948Copyright (C) 2009 Free Software Foundation, Inc. 32002Copyright (C) 2010 Free Software Foundation, Inc.
31949This config.status script is free software; the Free Software Foundation 32003This config.status script is free software; the Free Software Foundation
31950gives unlimited permission to copy, distribute and modify it." 32004gives unlimited permission to copy, distribute and modify it."
31951 32005
@@ -31963,11 +32017,16 @@ ac_need_defaults=:
31963while test $# != 0 32017while test $# != 0
31964do 32018do
31965 case $1 in 32019 case $1 in
31966 --*=*) 32020 --*=?*)
31967 ac_option=`expr "X$1" : 'X\([^=]*\)='` 32021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31968 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 32022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
31969 ac_shift=: 32023 ac_shift=:
31970 ;; 32024 ;;
32025 --*=)
32026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32027 ac_optarg=
32028 ac_shift=:
32029 ;;
31971 *) 32030 *)
31972 ac_option=$1 32031 ac_option=$1
31973 ac_optarg=$2 32032 ac_optarg=$2
@@ -31989,6 +32048,7 @@ do
31989 $ac_shift 32048 $ac_shift
31990 case $ac_optarg in 32049 case $ac_optarg in
31991 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 32050 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32051 '') as_fn_error $? "missing file argument" ;;
31992 esac 32052 esac
31993 as_fn_append CONFIG_FILES " '$ac_optarg'" 32053 as_fn_append CONFIG_FILES " '$ac_optarg'"
31994 ac_need_defaults=false;; 32054 ac_need_defaults=false;;
@@ -32001,7 +32061,7 @@ do
32001 ac_need_defaults=false;; 32061 ac_need_defaults=false;;
32002 --he | --h) 32062 --he | --h)
32003 # Conflict between --help and --header 32063 # Conflict between --help and --header
32004 as_fn_error "ambiguous option: \`$1' 32064 as_fn_error $? "ambiguous option: \`$1'
32005Try \`$0 --help' for more information.";; 32065Try \`$0 --help' for more information.";;
32006 --help | --hel | -h ) 32066 --help | --hel | -h )
32007 $as_echo "$ac_cs_usage"; exit ;; 32067 $as_echo "$ac_cs_usage"; exit ;;
@@ -32010,7 +32070,7 @@ Try \`$0 --help' for more information.";;
32010 ac_cs_silent=: ;; 32070 ac_cs_silent=: ;;
32011 32071
32012 # This is an error. 32072 # This is an error.
32013 -*) as_fn_error "unrecognized option: \`$1' 32073 -*) as_fn_error $? "unrecognized option: \`$1'
32014Try \`$0 --help' for more information." ;; 32074Try \`$0 --help' for more information." ;;
32015 32075
32016 *) as_fn_append ac_config_targets " $1" 32076 *) as_fn_append ac_config_targets " $1"
@@ -32484,7 +32544,7 @@ do
32484 "ecore.spec") CONFIG_FILES="$CONFIG_FILES ecore.spec" ;; 32544 "ecore.spec") CONFIG_FILES="$CONFIG_FILES ecore.spec" ;;
32485 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;; 32545 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
32486 32546
32487 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 32547 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
32488 esac 32548 esac
32489done 32549done
32490 32550
@@ -32522,7 +32582,7 @@ $debug ||
32522{ 32582{
32523 tmp=./conf$$-$RANDOM 32583 tmp=./conf$$-$RANDOM
32524 (umask 077 && mkdir "$tmp") 32584 (umask 077 && mkdir "$tmp")
32525} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 32585} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32526 32586
32527# Set up the scripts for CONFIG_FILES section. 32587# Set up the scripts for CONFIG_FILES section.
32528# No need to generate them if there are no CONFIG_FILES. 32588# No need to generate them if there are no CONFIG_FILES.
@@ -32539,7 +32599,7 @@ if test "x$ac_cr" = x; then
32539fi 32599fi
32540ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 32600ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32541if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 32601if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32542 ac_cs_awk_cr='\r' 32602 ac_cs_awk_cr='\\r'
32543else 32603else
32544 ac_cs_awk_cr=$ac_cr 32604 ac_cs_awk_cr=$ac_cr
32545fi 32605fi
@@ -32553,18 +32613,18 @@ _ACEOF
32553 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 32613 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32554 echo "_ACEOF" 32614 echo "_ACEOF"
32555} >conf$$subs.sh || 32615} >conf$$subs.sh ||
32556 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 32616 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32557ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 32617ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32558ac_delim='%!_!# ' 32618ac_delim='%!_!# '
32559for ac_last_try in false false false false false :; do 32619for ac_last_try in false false false false false :; do
32560 . ./conf$$subs.sh || 32620 . ./conf$$subs.sh ||
32561 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 32621 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32562 32622
32563 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 32623 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32564 if test $ac_delim_n = $ac_delim_num; then 32624 if test $ac_delim_n = $ac_delim_num; then
32565 break 32625 break
32566 elif $ac_last_try; then 32626 elif $ac_last_try; then
32567 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 32627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32568 else 32628 else
32569 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 32629 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32570 fi 32630 fi
@@ -32653,20 +32713,28 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32653else 32713else
32654 cat 32714 cat
32655fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 32715fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
32656 || as_fn_error "could not setup config files machinery" "$LINENO" 5 32716 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32657_ACEOF 32717_ACEOF
32658 32718
32659# VPATH may cause trouble with some makes, so we remove $(srcdir), 32719# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32660# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 32720# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32661# trailing colons and then remove the whole line if VPATH becomes empty 32721# trailing colons and then remove the whole line if VPATH becomes empty
32662# (actually we leave an empty line to preserve line numbers). 32722# (actually we leave an empty line to preserve line numbers).
32663if test "x$srcdir" = x.; then 32723if test "x$srcdir" = x.; then
32664 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 32724 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32665s/:*\$(srcdir):*/:/ 32725h
32666s/:*\${srcdir}:*/:/ 32726s///
32667s/:*@srcdir@:*/:/ 32727s/^/:/
32668s/^\([^=]*=[ ]*\):*/\1/ 32728s/[ ]*$/:/
32729s/:\$(srcdir):/:/g
32730s/:\${srcdir}:/:/g
32731s/:@srcdir@:/:/g
32732s/^:*//
32669s/:*$// 32733s/:*$//
32734x
32735s/\(=[ ]*\).*/\1/
32736G
32737s/\n//
32670s/^[^=]*=[ ]*$// 32738s/^[^=]*=[ ]*$//
32671}' 32739}'
32672fi 32740fi
@@ -32694,7 +32762,7 @@ for ac_last_try in false false :; do
32694 if test -z "$ac_t"; then 32762 if test -z "$ac_t"; then
32695 break 32763 break
32696 elif $ac_last_try; then 32764 elif $ac_last_try; then
32697 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 32765 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32698 else 32766 else
32699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 32767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32700 fi 32768 fi
@@ -32779,7 +32847,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32779_ACAWK 32847_ACAWK
32780_ACEOF 32848_ACEOF
32781cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 32849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32782 as_fn_error "could not setup config headers machinery" "$LINENO" 5 32850 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32783fi # test -n "$CONFIG_HEADERS" 32851fi # test -n "$CONFIG_HEADERS"
32784 32852
32785 32853
@@ -32792,7 +32860,7 @@ do
32792 esac 32860 esac
32793 case $ac_mode$ac_tag in 32861 case $ac_mode$ac_tag in
32794 :[FHL]*:*);; 32862 :[FHL]*:*);;
32795 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 32863 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
32796 :[FH]-) ac_tag=-:-;; 32864 :[FH]-) ac_tag=-:-;;
32797 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 32865 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32798 esac 32866 esac
@@ -32820,7 +32888,7 @@ do
32820 [\\/$]*) false;; 32888 [\\/$]*) false;;
32821 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 32889 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32822 esac || 32890 esac ||
32823 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 32891 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
32824 esac 32892 esac
32825 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 32893 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32826 as_fn_append ac_file_inputs " '$ac_f'" 32894 as_fn_append ac_file_inputs " '$ac_f'"
@@ -32847,7 +32915,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
32847 32915
32848 case $ac_tag in 32916 case $ac_tag in
32849 *:-:* | *:-) cat >"$tmp/stdin" \ 32917 *:-:* | *:-) cat >"$tmp/stdin" \
32850 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 32918 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32851 esac 32919 esac
32852 ;; 32920 ;;
32853 esac 32921 esac
@@ -32984,22 +33052,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
32984$ac_datarootdir_hack 33052$ac_datarootdir_hack
32985" 33053"
32986eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 33054eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32987 || as_fn_error "could not create $ac_file" "$LINENO" 5 33055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32988 33056
32989test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 33057test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32990 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 33058 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 33059 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 33060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32993which seems to be undefined. Please make sure it is defined." >&5 33061which seems to be undefined. Please make sure it is defined" >&5
32994$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 33062$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32995which seems to be undefined. Please make sure it is defined." >&2;} 33063which seems to be undefined. Please make sure it is defined" >&2;}
32996 33064
32997 rm -f "$tmp/stdin" 33065 rm -f "$tmp/stdin"
32998 case $ac_file in 33066 case $ac_file in
32999 -) cat "$tmp/out" && rm -f "$tmp/out";; 33067 -) cat "$tmp/out" && rm -f "$tmp/out";;
33000 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 33068 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
33001 esac \ 33069 esac \
33002 || as_fn_error "could not create $ac_file" "$LINENO" 5 33070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33003 ;; 33071 ;;
33004 :H) 33072 :H)
33005 # 33073 #
@@ -33010,19 +33078,19 @@ which seems to be undefined. Please make sure it is defined." >&2;}
33010 $as_echo "/* $configure_input */" \ 33078 $as_echo "/* $configure_input */" \
33011 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 33079 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
33012 } >"$tmp/config.h" \ 33080 } >"$tmp/config.h" \
33013 || as_fn_error "could not create $ac_file" "$LINENO" 5 33081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33014 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 33082 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
33015 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 33083 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33016$as_echo "$as_me: $ac_file is unchanged" >&6;} 33084$as_echo "$as_me: $ac_file is unchanged" >&6;}
33017 else 33085 else
33018 rm -f "$ac_file" 33086 rm -f "$ac_file"
33019 mv "$tmp/config.h" "$ac_file" \ 33087 mv "$tmp/config.h" "$ac_file" \
33020 || as_fn_error "could not create $ac_file" "$LINENO" 5 33088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33021 fi 33089 fi
33022 else 33090 else
33023 $as_echo "/* $configure_input */" \ 33091 $as_echo "/* $configure_input */" \
33024 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 33092 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
33025 || as_fn_error "could not create -" "$LINENO" 5 33093 || as_fn_error $? "could not create -" "$LINENO" 5
33026 fi 33094 fi
33027# Compute "$ac_file"'s index in $config_headers. 33095# Compute "$ac_file"'s index in $config_headers.
33028_am_arg="$ac_file" 33096_am_arg="$ac_file"
@@ -34093,7 +34161,7 @@ _ACEOF
34093ac_clean_files=$ac_clean_files_save 34161ac_clean_files=$ac_clean_files_save
34094 34162
34095test $ac_write_fail = 0 || 34163test $ac_write_fail = 0 ||
34096 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 34164 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34097 34165
34098 34166
34099# configure is writing to config.log, and then calls config.status. 34167# configure is writing to config.log, and then calls config.status.
@@ -34114,7 +34182,7 @@ if test "$no_create" != yes; then
34114 exec 5>>config.log 34182 exec 5>>config.log
34115 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 34183 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34116 # would make configure fail if this is the last instruction. 34184 # would make configure fail if this is the last instruction.
34117 $ac_cs_success || as_fn_exit $? 34185 $ac_cs_success || as_fn_exit 1
34118fi 34186fi
34119if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 34187if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 34188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
@@ -34266,6 +34334,7 @@ if test "x${have_ecore_evas}" = "xyes" ; then
34266 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews" 34334 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
34267 echo " Wayland Shm................: $have_ecore_evas_wayland_shm" 34335 echo " Wayland Shm................: $have_ecore_evas_wayland_shm"
34268 echo " Wayland Egl................: $have_ecore_evas_wayland_egl" 34336 echo " Wayland Egl................: $have_ecore_evas_wayland_egl"
34337 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
34269fi 34338fi
34270echo 34339echo
34271echo " Tests................: ${enable_tests}" 34340echo " Tests................: ${enable_tests}"
diff --git a/libraries/ecore/configure.ac b/libraries/ecore/configure.ac
index 21393dd..3d93c9b 100644
--- a/libraries/ecore/configure.ac
+++ b/libraries/ecore/configure.ac
@@ -1,12 +1,12 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [1]) 4m4_define([v_min], [2])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n' | sed 's/Unversioneddirectory/0/' | tr -d '\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n' | sed 's/Unversioneddirectory/0/' | tr -d '\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-07]) 11dnl m4_define([relname], [ver-pre-svn-07])
12dnl m4_define([v_rel], [-release relname]) 12dnl m4_define([v_rel], [-release relname])
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 20
21AC_INIT([ecore], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([ecore], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52]) 22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -174,6 +174,7 @@ want_ecore_evas_directfb="no"
174want_ecore_evas_fb="no" 174want_ecore_evas_fb="no"
175want_ecore_evas_software_16_wince="no" 175want_ecore_evas_software_16_wince="no"
176want_ecore_evas_ews="yes" 176want_ecore_evas_ews="yes"
177want_ecore_evas_extn="yes"
177want_ecore_evas_wayland_shm="no" 178want_ecore_evas_wayland_shm="no"
178want_ecore_evas_wayland_egl="no" 179want_ecore_evas_wayland_egl="no"
179 180
@@ -182,11 +183,12 @@ want_ecore_imf_xim="no"
182want_ecore_imf_scim="no" 183want_ecore_imf_scim="no"
183 184
184case "$host_os" in 185case "$host_os" in
185 mingw32ce* | cegcc*) 186 mingw32ce*)
186 want_ecore_con="no" 187 want_ecore_con="no"
187 want_ecore_ipc="no" 188 want_ecore_ipc="no"
188 want_ecore_wince="yes" 189 want_ecore_wince="yes"
189 want_ecore_evas_software_16_wince="yes" 190 want_ecore_evas_software_16_wince="yes"
191 want_ecore_evas_extn="no"
190 ;; 192 ;;
191 mingw*) 193 mingw*)
192 want_notify_win32="yes" 194 want_notify_win32="yes"
@@ -273,30 +275,6 @@ requirements_ecore_imf_xim=""
273requirements_ecore_imf_scim="" 275requirements_ecore_imf_scim=""
274requirements_ecore_wayland="" 276requirements_ecore_wayland=""
275 277
276AC_CHECK_DECL([MAXHOSTNAMELEN],[FOUND_MAXHOSTNAMELEN=yes])
277
278if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
279 AC_MSG_CHECKING([for header that defines MAXHOSTNAMELEN])
280
281 FOUND_MAXHOSTNAMELEN='not found'
282
283 AC_COMPILE_IFELSE(
284 AC_LANG_PROGRAM([#include <sys/param.h>],
285 [int h = MAXHOSTNAMELEN;]),
286 [FOUND_MAXHOSTNAMELEN='sys/param.h'
287 AC_DEFINE(NEED_SYS_PARAM_H,1,
288 [Define to 1 if you need <sys/param.h> to define MAXHOSTNAMELEN])])
289
290 AC_COMPILE_IFELSE(
291 AC_LANG_PROGRAM([#include <netdb.h>],
292 [int h = MAXHOSTNAMELEN;]),
293 [FOUND_MAXHOSTNAMELEN='netdb.h'
294 AC_DEFINE(NEED_NETDB_H,1,
295 [Define to 1 if you need <netdb.h> to define MAXHOSTNAMELEN])])
296
297 AC_MSG_RESULT([$FOUND_MAXHOSTNAMELEN])
298fi
299
300### Additional options to configure 278### Additional options to configure
301 279
302want_glib_integration_always=no 280want_glib_integration_always=no
@@ -377,10 +355,6 @@ if test "x${want_xim}" = "xyes" ; then
377 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method]) 355 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
378fi 356fi
379 357
380# Unit tests
381
382EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
383
384### Checks for programs 358### Checks for programs
385 359
386m4_ifdef([AC_PROG_OBJC], 360m4_ifdef([AC_PROG_OBJC],
@@ -499,6 +473,21 @@ case "$host_vendor" in
499 ;; 473 ;;
500esac 474esac
501 475
476
477### Checks for portability layer
478
479PKG_CHECK_MODULES([EXOTIC],
480 [exotic],
481 [enable_exotic="yes"],
482 [enable_exotic="no"])
483
484if test "x${enable_exotic}" = "xyes"; then
485 requirements_ecore="exotic ${requirements_ecore}"
486
487 AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.])
488fi
489AM_CONDITIONAL([ECORE_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
490
502AC_SUBST(EFL_ECORE_BUILD) 491AC_SUBST(EFL_ECORE_BUILD)
503AC_SUBST(EFL_ECORE_CON_BUILD) 492AC_SUBST(EFL_ECORE_CON_BUILD)
504AC_SUBST(EFL_ECORE_EVAS_BUILD) 493AC_SUBST(EFL_ECORE_EVAS_BUILD)
@@ -549,26 +538,26 @@ AC_SUBST(rt_libs)
549 538
550# Eina library 539# Eina library
551 540
552PKG_CHECK_MODULES(EINA, [eina >= 1.1.0]) 541PKG_CHECK_MODULES(EINA, [eina >= 1.2.0])
553#FIXME check all the requirements when the eina move will be finished 542#FIXME check all the requirements when the eina move will be finished
554requirements_ecore="eina >= 1.1.0 ${requirements_ecore}" 543requirements_ecore="eina >= 1.2.0 ${requirements_ecore}"
555requirements_ecore_con="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_con}" 544requirements_ecore_con="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_con}"
556#requirements_ecore_config="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_config}" 545#requirements_ecore_config="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_config}"
557requirements_ecore_directfb="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_directfb}" 546requirements_ecore_directfb="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_directfb}"
558requirements_ecore_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_evas}" 547requirements_ecore_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_evas}"
559requirements_ecore_fb="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_fb}" 548requirements_ecore_fb="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_fb}"
560requirements_ecore_file="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_file}" 549requirements_ecore_file="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_file}"
561requirements_ecore_imf="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_imf}" 550requirements_ecore_imf="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_imf}"
562requirements_ecore_imf_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_imf_evas}" 551requirements_ecore_imf_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_imf_evas}"
563requirements_ecore_input="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_input}" 552requirements_ecore_input="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_input}"
564requirements_ecore_input_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_input_evas}" 553requirements_ecore_input_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_input_evas}"
565requirements_ecore_ipc="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_ipc}" 554requirements_ecore_ipc="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_ipc}"
566requirements_ecore_cocoa="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_cocoa}" 555requirements_ecore_cocoa="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_cocoa}"
567requirements_ecore_sdl="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_sdl}" 556requirements_ecore_sdl="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_sdl}"
568requirements_ecore_psl1ght="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_sdl}" 557requirements_ecore_psl1ght="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_sdl}"
569requirements_ecore_win32="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_win32}" 558requirements_ecore_win32="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_win32}"
570requirements_ecore_wince="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_wince}" 559requirements_ecore_wince="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_wince}"
571requirements_ecore_x="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_x}" 560requirements_ecore_x="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_x}"
572 561
573 562
574# glib support (main loop integration) 563# glib support (main loop integration)
@@ -637,6 +626,45 @@ PKG_CHECK_MODULES([DIRECTFB],
637 626
638# Xlib and XCB (ecore_x) 627# Xlib and XCB (ecore_x)
639 628
629AC_CHECK_DECL([MAXHOSTNAMELEN], [FOUND_MAXHOSTNAMELEN=yes])
630
631if test "x${FOUND_MAXHOSTNAMELEN}" != "xyes" ; then
632 AC_MSG_CHECKING([for header that defines MAXHOSTNAMELEN])
633 FOUND_MAXHOSTNAMELEN="not found"
634
635 AC_COMPILE_IFELSE(
636 [
637 AC_LANG_PROGRAM(
638 [[
639#include <sys/param.h>
640 ]],
641 [[
642int h = MAXHOSTNAMELEN;
643 ]])
644 ],
645 [
646 FOUND_MAXHOSTNAMELEN="sys/param.h"
647 AC_DEFINE([NEED_SYS_PARAM_H], [1], [Define to 1 if you need <sys/param.h> to define MAXHOSTNAMELEN])
648 ])
649
650 AC_COMPILE_IFELSE(
651 [
652 AC_LANG_PROGRAM(
653 [[
654#include <netdb.h>
655 ]],
656 [[
657int h = MAXHOSTNAMELEN;
658 ]])
659 ],
660 [
661 FOUND_MAXHOSTNAMELEN="netdb.h"
662 AC_DEFINE([NEED_NETDB_H], [1], [Define to 1 if you need <netdb.h> to define MAXHOSTNAMELEN])
663 ])
664
665 AC_MSG_RESULT([$FOUND_MAXHOSTNAMELEN])
666fi
667
640have_x="no" 668have_x="no"
641have_ecore_x="no" 669have_ecore_x="no"
642have_ecore_x_xlib="no" 670have_ecore_x_xlib="no"
@@ -1171,7 +1199,7 @@ AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
1171 1199
1172# Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas) 1200# Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
1173 1201
1174PKG_CHECK_MODULES([EVAS], [evas >= 1.1.99], 1202PKG_CHECK_MODULES([EVAS], [evas >= 1.2.0],
1175 [have_evas="yes"], 1203 [have_evas="yes"],
1176 [have_evas="no"]) 1204 [have_evas="no"])
1177 1205
@@ -1200,7 +1228,23 @@ esac
1200 1228
1201# ecore_con 1229# ecore_con
1202 1230
1203AC_CHECK_HEADERS([arpa/inet.h arpa/nameser.h netinet/tcp.h net/if.h netinet/in.h sys/socket.h sys/un.h ws2tcpip.h netdb.h]) 1231AC_CHECK_HEADERS([sys/socket.h])
1232AC_CHECK_HEADERS([net/if.h], [], [],
1233[
1234#include <stdio.h>
1235#ifdef STDC_HEADERS
1236# include <stdlib.h>
1237# include <stddef.h>
1238#else
1239# ifdef HAVE_STDLIB_H
1240# include <stdlib.h>
1241# endif
1242#endif
1243#ifdef HAVE_SYS_SOCKET_H
1244# include <sys/socket.h>
1245#endif
1246])
1247AC_CHECK_HEADERS([sys/un.h arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h])
1204 1248
1205if test "x${ac_cv_header_netdb_h}" = "xyes" ; then 1249if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
1206 have_addrinfo="yes" 1250 have_addrinfo="yes"
@@ -1390,6 +1434,60 @@ if ! test "x${have_atfile_source}" = "xno" ; then
1390 ]) 1434 ])
1391fi 1435fi
1392 1436
1437SHM_OPEN_LIBS=""
1438
1439AC_MSG_CHECKING([whether shm_open is in libc])
1440AC_LINK_IFELSE(
1441 [AC_LANG_PROGRAM(
1442 [[
1443#include <sys/mman.h>
1444#include <sys/stat.h>
1445#include <fcntl.h>
1446 ]],
1447 [[
1448int fd;
1449fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
1450shm_unlink("/");
1451 ]])],
1452 [
1453 have_shm_open="yes"
1454 AC_DEFINE(HAVE_SHM_OPEN, 1, [Have shm_open() call])
1455 ],
1456 [have_shm_open="no"])
1457LIBS="${LIBS_save}"
1458AC_MSG_RESULT([${have_shm_open}])
1459
1460if ! test "x${have_shm_open}" = "xyes" ; then
1461 AC_MSG_CHECKING([whether shm_open is in librt])
1462 LIBS_save="${LIBS}"
1463 LIBS="${LIBS} -lrt"
1464 AC_LINK_IFELSE(
1465 [AC_LANG_PROGRAM(
1466 [[
1467#include <sys/mman.h>
1468#include <sys/stat.h>
1469#include <fcntl.h>
1470 ]],
1471 [[
1472int fd;
1473fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
1474shm_unlink("/");
1475 ]])],
1476 [
1477 have_shm_open="yes"
1478 AC_DEFINE(HAVE_SHM_OPEN, 1, [Have shm_open() call])
1479 SHM_OPEN_LIBS="-lrt"
1480 ],
1481 [have_shm_open="no"])
1482 LIBS="${LIBS_save}"
1483 AC_MSG_RESULT([${have_shm_open}])
1484fi
1485
1486AC_SUBST([SHM_OPEN_LIBS])
1487
1488AC_MSG_CHECKING([whether shm_open is available])
1489AC_MSG_RESULT([${have_shm_open}])
1490
1393### Checks for optionnal feature 1491### Checks for optionnal feature
1394AC_CHECK_FUNC([mallinfo], 1492AC_CHECK_FUNC([mallinfo],
1395 [ 1493 [
@@ -1485,8 +1583,8 @@ AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
1485# ecore_ipc 1583# ecore_ipc
1486ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}], 1584ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}],
1487 [ 1585 [
1488 requirements_ecore_ipc="ecore-con >= 1.1.99 ${requirements_ecore_ipc}" 1586 requirements_ecore_ipc="ecore-con >= 1.2.0 ${requirements_ecore_ipc}"
1489 requirements_ecore_evas="ecore-ipc >= 1.1.99 ${requirements_ecore_evas}" 1587 requirements_ecore_evas="ecore-ipc >= 1.2.0 ${requirements_ecore_evas}"
1490 ]) 1588 ])
1491 1589
1492# ecore_file 1590# ecore_file
@@ -1501,7 +1599,7 @@ if test "x${have_ecore_file}" = "xyes" ; then
1501 ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"]) 1599 ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"])
1502 1600
1503 if test "x${have_ecore_con}" = "xyes" ; then 1601 if test "x${have_ecore_con}" = "xyes" ; then
1504 requirements_ecore_file="ecore-con >= 1.1.99 ${requirements_ecore_file}" 1602 requirements_ecore_file="ecore-con >= 1.2.0 ${requirements_ecore_file}"
1505 else 1603 else
1506 ECORE_CHECK_CURL([${want_curl}], 1604 ECORE_CHECK_CURL([${want_curl}],
1507 [ 1605 [
@@ -1520,7 +1618,7 @@ fi
1520#fi 1618#fi
1521 1619
1522#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}], 1620#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
1523# [requirements_ecore_config="ecore-ipc >= 1.1.99 evas >= 1.1.99 eet >= 1.5.0 ${requirements_ecore_config}"]) 1621# [requirements_ecore_config="ecore-ipc >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 ${requirements_ecore_config}"])
1524 1622
1525AM_CONDITIONAL(BUILD_ECORE_CONFIG, false) 1623AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
1526 1624
@@ -1536,12 +1634,12 @@ if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
1536fi 1634fi
1537 1635
1538ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}], 1636ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}],
1539 [requirements_ecore_imf_evas="ecore-imf >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_imf_evas}"]) 1637 [requirements_ecore_imf_evas="ecore-imf >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_imf_evas}"])
1540 1638
1541# ecore_input{_evas} 1639# ecore_input{_evas}
1542ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input]) 1640ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input])
1543ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}], 1641ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}],
1544 [requirements_ecore_input_evas="ecore-input >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_input}"]) 1642 [requirements_ecore_input_evas="ecore-input >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_input}"])
1545 1643
1546# ecore_imf_xim 1644# ecore_imf_xim
1547AM_CONDITIONAL(BUILD_ECORE_IMF_XIM, false) 1645AM_CONDITIONAL(BUILD_ECORE_IMF_XIM, false)
@@ -1555,7 +1653,7 @@ if test "x${have_ecore_imf}" = "xyes" \
1555fi 1653fi
1556 1654
1557ECORE_CHECK_MODULE([imf-xim], [${want_ecore_imf}], [Imf_XIM], [${ecore_imf_xim_deps}], 1655ECORE_CHECK_MODULE([imf-xim], [${want_ecore_imf}], [Imf_XIM], [${ecore_imf_xim_deps}],
1558 [requirements_ecore_imf_xim="ecore-imf >= 1.1.99 ecore-x >= 1.1.99 ecore-input >= 1.1.99 ${requirements_ecore_imf_xim}"]) 1656 [requirements_ecore_imf_xim="ecore-imf >= 1.2.0 ecore-x >= 1.2.0 ecore-input >= 1.2.0 ${requirements_ecore_imf_xim}"])
1559 1657
1560# ecore_imf_scim 1658# ecore_imf_scim
1561PKG_CHECK_MODULES([SCIM], [scim], [have_scim="yes"], [have_scim="no"]) 1659PKG_CHECK_MODULES([SCIM], [scim], [have_scim="yes"], [have_scim="no"])
@@ -1571,7 +1669,7 @@ if test "x${have_ecore_imf}" = "xyes" \
1571fi 1669fi
1572 1670
1573ECORE_CHECK_MODULE([imf-scim], [${want_ecore_imf}], [Imf_SCIM], [${ecore_imf_scim_deps}], 1671ECORE_CHECK_MODULE([imf-scim], [${want_ecore_imf}], [Imf_SCIM], [${ecore_imf_scim_deps}],
1574 [requirements_ecore_imf_scim="ecore-imf >= 1.1.0 ecore-x >= 1.1.0 ecore-input >= 1.1.0 ${requirements_ecore_imf_scim}"]) 1672 [requirements_ecore_imf_scim="ecore-imf >= 1.2.0 ecore-x >= 1.2.0 ecore-input >= 1.2.0 ${requirements_ecore_imf_scim}"])
1575 1673
1576## Graphic systems 1674## Graphic systems
1577 1675
@@ -1586,7 +1684,7 @@ fi
1586ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}], 1684ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
1587 [ 1685 [
1588 ecore_x_libs="$ecore_x_libs $x_libs" 1686 ecore_x_libs="$ecore_x_libs $x_libs"
1589 requirements_ecore_x="ecore-input >= 1.1.99 ${requirements_ecore_x}" 1687 requirements_ecore_x="ecore-input >= 1.2.0 ${requirements_ecore_x}"
1590 ]) 1688 ])
1591 1689
1592# ecore_win32 1690# ecore_win32
@@ -1594,7 +1692,7 @@ ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
1594ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}], 1692ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}],
1595 [ 1693 [
1596 ecore_win32_libs="-lole32 -lgdi32" 1694 ecore_win32_libs="-lole32 -lgdi32"
1597 requirements_ecore_win32="ecore-input >= 1.1.99 ${requirements_ecore_win32}" 1695 requirements_ecore_win32="ecore-input >= 1.2.0 ${requirements_ecore_win32}"
1598 ]) 1696 ])
1599AC_SUBST(ecore_win32_libs) 1697AC_SUBST(ecore_win32_libs)
1600 1698
@@ -1606,7 +1704,7 @@ if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
1606fi 1704fi
1607 1705
1608ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}], 1706ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}],
1609 [requirements_ecore_cocoa="ecore-input >= 1.1.99 ${requirements_ecore_cocoa}"]) 1707 [requirements_ecore_cocoa="ecore-input >= 1.2.0 ${requirements_ecore_cocoa}"])
1610 1708
1611# ecore_sdl 1709# ecore_sdl
1612 1710
@@ -1616,10 +1714,10 @@ if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
1616fi 1714fi
1617 1715
1618ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}], 1716ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}],
1619 [requirements_ecore_sdl="ecore-input >= 1.1.99 ${requirements_ecore_sdl}"]) 1717 [requirements_ecore_sdl="ecore-input >= 1.2.0 ${requirements_ecore_sdl}"])
1620 1718
1621ECORE_CHECK_MODULE([psl1ght], [${want_ecore_psl1ght}], [psl1ght], [${ecore_psl1ght_deps}], 1719ECORE_CHECK_MODULE([psl1ght], [${want_ecore_psl1ght}], [psl1ght], [${ecore_psl1ght_deps}],
1622 [requirements_ecore_psl1ght="ecore-input >= 1.1.99 ${requirements_ecore_psl1ght}"]) 1720 [requirements_ecore_psl1ght="ecore-input >= 1.2.0 ${requirements_ecore_psl1ght}"])
1623 1721
1624# ecore_fb 1722# ecore_fb
1625ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb]) 1723ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb])
@@ -1641,19 +1739,19 @@ ECORE_CHECK_MODULE([directfb], [${want_ecore_directfb}], [DirectFB], [${have_dir
1641# ecore_wince 1739# ecore_wince
1642 1740
1643ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}], 1741ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}],
1644 [requirements_ecore_win32="ecore-input >= 1.1.99 ${requirements_ecore_win32}"]) 1742 [requirements_ecore_win32="ecore-input >= 1.2.0 ${requirements_ecore_win32}"])
1645 1743
1646## Ecore Evas 1744## Ecore Evas
1647 1745
1648# ecore_evas 1746# ecore_evas
1649 1747
1650ecore_evas_deps="no" 1748ecore_evas_deps="no"
1651if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then 1749if test "x${have_evas}" = "xyes" && test "x${have_ecore_input}" = "xyes" && test "x${have_ecore_input_evas}" = "xyes" ; then
1652 ecore_evas_deps="yes" 1750 ecore_evas_deps="yes"
1653fi 1751fi
1654 1752
1655ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}], 1753ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}],
1656 [requirements_ecore_evas="ecore-input >= 1.1.99 ecore-input-evas >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_evas}"]) 1754 [requirements_ecore_evas="ecore-input >= 1.2.0 ecore-input-evas >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_evas}"])
1657 1755
1658# ecore_evas_buffer 1756# ecore_evas_buffer
1659 1757
@@ -1743,7 +1841,7 @@ if test "x$have_ecore_evas_software_x11" = "xyes" -o \
1743 "x$have_ecore_evas_software_16_x11" = "xyes" -o \ 1841 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
1744 "x$have_ecore_evas_software_xcb" = "xyes"; then 1842 "x$have_ecore_evas_software_xcb" = "xyes"; then
1745 AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas]) 1843 AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas])
1746 requirements_ecore_evas="ecore-x >= 1.1.99 ${requirements_ecore_evas}" 1844 requirements_ecore_evas="ecore-x >= 1.2.0 ${requirements_ecore_evas}"
1747fi 1845fi
1748 1846
1749# ecore_evas_win32 1847# ecore_evas_win32
@@ -1779,16 +1877,18 @@ if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
1779 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \ 1877 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
1780 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then 1878 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
1781 AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas]) 1879 AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
1782 requirements_ecore_evas="ecore-win32 >= 1.1.99 ${requirements_ecore_evas}" 1880 requirements_ecore_evas="ecore-win32 >= 1.2.0 ${requirements_ecore_evas}"
1783fi 1881fi
1784 1882
1785# ecore_evas_software_sdl 1883# ecore_evas_software_sdl
1786 1884
1787ECORE_EVAS_CHECK_MODULE([software-sdl], 1885have_ecore_evas_software_sdl="no"
1788 [${want_ecore_evas_software_sdl}], 1886if test "x${have_ecore_sdl}" = "xyes"; then
1789 [Software SDL], 1887 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
1790 [${have_ecore_sdl}], 1888 have_ecore_evas_software_sdl="yes"
1791 [requirements_ecore_evas="ecore-sdl >= 1.1.99 ${requirements_ecore_evas}"]) 1889 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_SDL, 1, [Support for Software SDL Engine in Ecore_Evas])
1890 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
1891fi
1792 1892
1793# ecore_evas_gl_sdl 1893# ecore_evas_gl_sdl
1794 1894
@@ -1796,7 +1896,7 @@ ECORE_EVAS_CHECK_MODULE([opengl-sdl],
1796 [${want_ecore_evas_gl_sdl}], 1896 [${want_ecore_evas_gl_sdl}],
1797 [OpenGL SDL], 1897 [OpenGL SDL],
1798 [${have_ecore_sdl}], 1898 [${have_ecore_sdl}],
1799 [requirements_ecore_evas="ecore-sdl >= 1.1.99 ${requirements_ecore_evas}"]) 1899 [requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"])
1800 1900
1801# ecore_evas_cocoa 1901# ecore_evas_cocoa
1802 1902
@@ -1804,7 +1904,7 @@ ECORE_EVAS_CHECK_MODULE([opengl-cocoa],
1804 [${want_ecore_evas_gl_cocoa}], 1904 [${want_ecore_evas_gl_cocoa}],
1805 [OpenGL Cocoa], 1905 [OpenGL Cocoa],
1806 [${have_ecore_cocoa}], 1906 [${have_ecore_cocoa}],
1807 [requirements_ecore_evas="ecore-cocoa >= 1.1.99 ${requirements_ecore_evas}"]) 1907 [requirements_ecore_evas="ecore-cocoa >= 1.2.0 ${requirements_ecore_evas}"])
1808 1908
1809# ecore_evas_directfb 1909# ecore_evas_directfb
1810 1910
@@ -1812,7 +1912,7 @@ ECORE_EVAS_CHECK_MODULE([directfb],
1812 [${want_ecore_evas_directfb}], 1912 [${want_ecore_evas_directfb}],
1813 [DirectFB], 1913 [DirectFB],
1814 [${have_ecore_directfb}], 1914 [${have_ecore_directfb}],
1815 [requirements_ecore_evas="ecore-directfb >= 1.1.99 ${requirements_ecore_evas}"]) 1915 [requirements_ecore_evas="ecore-directfb >= 1.2.0 ${requirements_ecore_evas}"])
1816 1916
1817# ecore_evas_fb 1917# ecore_evas_fb
1818 1918
@@ -1820,7 +1920,7 @@ ECORE_EVAS_CHECK_MODULE([fb],
1820 [${want_ecore_evas_fb}], 1920 [${want_ecore_evas_fb}],
1821 [Linux Framebuffer], 1921 [Linux Framebuffer],
1822 [${have_ecore_fb}], 1922 [${have_ecore_fb}],
1823 [requirements_ecore_evas="ecore-fb >= 1.1.99 ${requirements_ecore_evas}"]) 1923 [requirements_ecore_evas="ecore-fb >= 1.2.0 ${requirements_ecore_evas}"])
1824 1924
1825# ecore_evas_wince 1925# ecore_evas_wince
1826 1926
@@ -1828,7 +1928,7 @@ ECORE_EVAS_CHECK_MODULE([software-16-wince],
1828 [${want_ecore_evas_software_16_wince}], 1928 [${want_ecore_evas_software_16_wince}],
1829 [16 bpp Software Windows CE], 1929 [16 bpp Software Windows CE],
1830 [${have_ecore_wince}], 1930 [${have_ecore_wince}],
1831 [requirements_ecore_evas="ecore-wince >= 1.1.99 ${requirements_ecore_evas}"]) 1931 [requirements_ecore_evas="ecore-wince >= 1.2.0 ${requirements_ecore_evas}"])
1832 1932
1833# ecore_evas_ews 1933# ecore_evas_ews
1834 1934
@@ -1837,20 +1937,38 @@ ECORE_EVAS_CHECK_MODULE_FULL([ews], [software-buffer],
1837 [Ecore Evas Single Process Windowing System], 1937 [Ecore Evas Single Process Windowing System],
1838 [yes], []) 1938 [yes], [])
1839 1939
1940# ecore_evas_extn
1941
1942have_extn="yes"
1943if test "x${have_ecore_ipc}" = "xno" || \
1944 test "x${have_ecore_evas_software_buffer}" = "xno" || \
1945 test "x${have_shm_open}" = "xno" ; then
1946 have_extn="no"
1947fi
1948
1949dnl THIS IS SPECIAL - dont use normal ECORE_EVAS_CHECK_MODULE
1950have_ecore_evas_extn="no"
1951if test "x${want_ecore_evas_extn}" = "xyes" && \
1952 test "x${have_extn}" = "xyes" && \
1953 test "x${have_ecore_evas}" = "xyes"; then
1954 AC_DEFINE([BUILD_ECORE_EVAS_EXTN], [1], [Support for Extn Engine in Ecore_Evas])
1955 have_ecore_evas_extn="yes"
1956fi
1957
1840# ecore_evas_psl1ght 1958# ecore_evas_psl1ght
1841 1959
1842ECORE_EVAS_CHECK_MODULE([psl1ght], 1960ECORE_EVAS_CHECK_MODULE([psl1ght],
1843 [${want_ecore_evas_psl1ght}], 1961 [${want_ecore_evas_psl1ght}],
1844 [PSL1GHT], 1962 [PSL1GHT],
1845 [${have_ecore_psl1ght}], 1963 [${have_ecore_psl1ght}],
1846 [requirements_ecore_evas="ecore-psl1ght >= 1.1.99 ${requirements_ecore_evas}"]) 1964 [requirements_ecore_evas="ecore-psl1ght >= 1.2.0 ${requirements_ecore_evas}"])
1847 1965
1848### WAYLAND 1966### WAYLAND
1849 1967
1850ecore_wayland_deps="no" 1968ecore_wayland_deps="no"
1851have_wayland="no" 1969have_wayland="no"
1852if test "x${want_ecore_wayland}" = "xyes" ; then 1970if test "x${want_ecore_wayland}" = "xyes" ; then
1853 PKG_CHECK_MODULES([WAYLAND], [wayland-client xkbcommon], [have_wayland="yes"], [have_wayland="no"]) 1971 PKG_CHECK_MODULES([WAYLAND], [egl wayland-egl wayland-client xkbcommon], [have_wayland="yes"], [have_wayland="no"])
1854fi 1972fi
1855if test "x${have_ecore_input}" = "xyes" -a "x${have_wayland}" = "xyes" ; then 1973if test "x${have_ecore_input}" = "xyes" -a "x${have_wayland}" = "xyes" ; then
1856 ecore_wayland_deps="yes" 1974 ecore_wayland_deps="yes"
@@ -1858,7 +1976,7 @@ fi
1858 1976
1859ECORE_CHECK_MODULE([wayland], [${want_ecore_wayland}], [Wayland], [${ecore_wayland_deps}]) 1977ECORE_CHECK_MODULE([wayland], [${want_ecore_wayland}], [Wayland], [${ecore_wayland_deps}])
1860if test "x${have_ecore_wayland}" = "xyes" ; then 1978if test "x${have_ecore_wayland}" = "xyes" ; then
1861 requirements_ecore_wayland="ecore-input >= 1.1.0 wayland-client xkbcommon ${requirements_ecore_wayland}" 1979 requirements_ecore_wayland="ecore-input >= 1.2.0 egl wayland-egl wayland-client xkbcommon ${requirements_ecore_wayland}"
1862fi 1980fi
1863 1981
1864ECORE_EVAS_CHECK_MODULE_FULL([wayland-shm], [wayland-shm], 1982ECORE_EVAS_CHECK_MODULE_FULL([wayland-shm], [wayland-shm],
@@ -1867,7 +1985,7 @@ ECORE_EVAS_CHECK_MODULE_FULL([wayland-shm], [wayland-shm],
1867 [${have_ecore_wayland}], 1985 [${have_ecore_wayland}],
1868 [requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"]) 1986 [requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"])
1869 1987
1870ECORE_EVAS_CHECK_MODULE_FULL([wayland-egl], [wayland-egl], 1988ECORE_EVAS_CHECK_MODULE_FULL([wayland-egl], [wayland-egl egl],
1871 [${want_ecore_evas_wayland_egl}], 1989 [${want_ecore_evas_wayland_egl}],
1872 [Wayland Egl], 1990 [Wayland Egl],
1873 [${have_ecore_wayland}], 1991 [${have_ecore_wayland}],
@@ -1878,6 +1996,10 @@ ECORE_EVAS_CHECK_MODULE_FULL([wayland-egl], [wayland-egl],
1878 fi 1996 fi
1879 ]) 1997 ])
1880 1998
1999### Unit tests
2000
2001EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
2002
1881### install and build examples 2003### install and build examples
1882 2004
1883EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"]) 2005EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
@@ -2112,6 +2234,7 @@ if test "x${have_ecore_evas}" = "xyes" ; then
2112 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews" 2234 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
2113 echo " Wayland Shm................: $have_ecore_evas_wayland_shm" 2235 echo " Wayland Shm................: $have_ecore_evas_wayland_shm"
2114 echo " Wayland Egl................: $have_ecore_evas_wayland_egl" 2236 echo " Wayland Egl................: $have_ecore_evas_wayland_egl"
2237 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
2115fi 2238fi
2116echo 2239echo
2117echo " Tests................: ${enable_tests}" 2240echo " Tests................: ${enable_tests}"
diff --git a/libraries/ecore/doc/Makefile.in b/libraries/ecore/doc/Makefile.in
index e71c120..b7593f5 100644
--- a/libraries/ecore/doc/Makefile.in
+++ b/libraries/ecore/doc/Makefile.in
@@ -48,16 +48,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
51 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 51 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
52 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 52 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 53 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 54 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 55 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
56 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 56 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
57 $(top_srcdir)/configure.ac
58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
60mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 59mkinstalldirs = $(install_sh) -d
61CONFIG_HEADER = $(top_builddir)/config.h 60CONFIG_HEADER = $(top_builddir)/config.h
62CONFIG_CLEAN_FILES = ecore.dox Doxyfile 61CONFIG_CLEAN_FILES = ecore.dox Doxyfile
63CONFIG_CLEAN_VPATH_FILES = 62CONFIG_CLEAN_VPATH_FILES =
@@ -133,6 +132,8 @@ EVAS_LIBS = @EVAS_LIBS@
133EVIL_CFLAGS = @EVIL_CFLAGS@ 132EVIL_CFLAGS = @EVIL_CFLAGS@
134EVIL_LIBS = @EVIL_LIBS@ 133EVIL_LIBS = @EVIL_LIBS@
135EXEEXT = @EXEEXT@ 134EXEEXT = @EXEEXT@
135EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
136EXOTIC_LIBS = @EXOTIC_LIBS@
136FGREP = @FGREP@ 137FGREP = @FGREP@
137GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 138GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
138GLIB_CFLAGS = @GLIB_CFLAGS@ 139GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -188,6 +189,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
188PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 189PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
189PIXMAN_LIBS = @PIXMAN_LIBS@ 190PIXMAN_LIBS = @PIXMAN_LIBS@
190PKG_CONFIG = @PKG_CONFIG@ 191PKG_CONFIG = @PKG_CONFIG@
192PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
193PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
191POSUB = @POSUB@ 194POSUB = @POSUB@
192RANLIB = @RANLIB@ 195RANLIB = @RANLIB@
193SCIM_CFLAGS = @SCIM_CFLAGS@ 196SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -198,6 +201,7 @@ SDL_LIBS = @SDL_LIBS@
198SED = @SED@ 201SED = @SED@
199SET_MAKE = @SET_MAKE@ 202SET_MAKE = @SET_MAKE@
200SHELL = @SHELL@ 203SHELL = @SHELL@
204SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
201SSL_CFLAGS = @SSL_CFLAGS@ 205SSL_CFLAGS = @SSL_CFLAGS@
202SSL_LIBS = @SSL_LIBS@ 206SSL_LIBS = @SSL_LIBS@
203STRIP = @STRIP@ 207STRIP = @STRIP@
diff --git a/libraries/ecore/ecore-win32.pc.in b/libraries/ecore/ecore-win32.pc.in
index 17dba6e..ac5ab32 100644
--- a/libraries/ecore/ecore-win32.pc.in
+++ b/libraries/ecore/ecore-win32.pc.in
@@ -8,5 +8,5 @@ Description: E core library, Win32 module
8@pkgconfig_requires_private@: @requirements_ecore_win32@ 8@pkgconfig_requires_private@: @requirements_ecore_win32@
9Version: @VERSION@ 9Version: @VERSION@
10Libs: -L${libdir} -lecore_win32 10Libs: -L${libdir} -lecore_win32
11Libs.private: 11Libs.private: @WIN32_LIBS@
12Cflags: -I${includedir}/ecore-@VMAJ@ 12Cflags: -I${includedir}/ecore-@VMAJ@
diff --git a/libraries/ecore/ecore.pc.in b/libraries/ecore/ecore.pc.in
index 950a96b..65c5a11 100644
--- a/libraries/ecore/ecore.pc.in
+++ b/libraries/ecore/ecore.pc.in
@@ -7,6 +7,6 @@ Name: ecore
7Description: Ecore event abstraction library 7Description: Ecore event abstraction library
8@pkgconfig_requires_private@: @requirements_ecore@ 8@pkgconfig_requires_private@: @requirements_ecore@
9Version: @VERSION@ 9Version: @VERSION@
10Libs: -L${libdir} -lecore 10Libs: -L${libdir} -lecore @EINA_LIBS@
11Libs.private: -lm 11Libs.private: -lm
12Cflags: -I${includedir}/ecore-@VMAJ@ 12Cflags: -I${includedir}/ecore-@VMAJ@ @EINA_CFLAGS@
diff --git a/libraries/ecore/ecore.spec b/libraries/ecore/ecore.spec
index 475a2d7..c88bf35 100644
--- a/libraries/ecore/ecore.spec
+++ b/libraries/ecore/ecore.spec
@@ -39,7 +39,7 @@
39 39
40Summary: Enlightened Core X interface library 40Summary: Enlightened Core X interface library
41Name: ecore 41Name: ecore
42Version: 1.1.99.67344 42Version: 1.2.0-alpha
43Release: %{_rel} 43Release: %{_rel}
44License: BSD 44License: BSD
45Group: User Interface/X 45Group: User Interface/X
diff --git a/libraries/ecore/ecore.supp b/libraries/ecore/ecore.supp
index 0b10a6c..31dd0e0 100644
--- a/libraries/ecore/ecore.supp
+++ b/libraries/ecore/ecore.supp
@@ -1,4 +1,4 @@
1# $Id: ecore.supp 11909 2004-10-19 16:40:25Z tsauerbeck $ 1# $Id: ecore.supp 35497 2008-08-17 07:44:18Z raster $
2# valgrind suppression file for Ecore 2# valgrind suppression file for Ecore
3# 3#
4{ 4{
diff --git a/libraries/ecore/ltmain.sh b/libraries/ecore/ltmain.sh
index 7ed280b..fa4b1e1 100755
--- a/libraries/ecore/ltmain.sh
+++ b/libraries/ecore/ltmain.sh
@@ -65,7 +65,7 @@
65# compiler: $LTCC 65# compiler: $LTCC
66# compiler flags: $LTCFLAGS 66# compiler flags: $LTCFLAGS
67# linker: $LD (gnu? $with_gnu_ld) 67# linker: $LD (gnu? $with_gnu_ld)
68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
69# automake: $automake_version 69# automake: $automake_version
70# autoconf: $autoconf_version 70# autoconf: $autoconf_version
71# 71#
@@ -73,7 +73,7 @@
73 73
74PROGRAM=ltmain.sh 74PROGRAM=ltmain.sh
75PACKAGE=libtool 75PACKAGE=libtool
76VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" 76VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
77TIMESTAMP="" 77TIMESTAMP=""
78package_revision=1.3017 78package_revision=1.3017
79 79
diff --git a/libraries/ecore/m4/ecore_check_module.m4 b/libraries/ecore/m4/ecore_check_module.m4
index 658b42e..01c4e0e 100644
--- a/libraries/ecore/m4/ecore_check_module.m4
+++ b/libraries/ecore/m4/ecore_check_module.m4
@@ -73,9 +73,9 @@ AC_ARG_ENABLE(ecore-evas-$1,
73AC_MSG_CHECKING([whether ecore_evas $4 support is to be built]) 73AC_MSG_CHECKING([whether ecore_evas $4 support is to be built])
74AC_MSG_RESULT([${want_module}]) 74AC_MSG_RESULT([${want_module}])
75 75
76if test "x$5" = "xyes" -a \ 76if test "x$5" = "xyes" && \
77 "x$have_ecore_evas" = "xyes" -a \ 77 test "x$have_ecore_evas" = "xyes" && \
78 "x$want_module" = "xyes" ; then 78 test "x$want_module" = "xyes" ; then
79 PKG_CHECK_EXISTS([evas-$2], 79 PKG_CHECK_EXISTS([evas-$2],
80 [ 80 [
81 AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $4 Engine in Ecore_Evas]) 81 AC_DEFINE([BUILD_ECORE_EVAS_]m4_defn([UP]), [1], [Support for $4 Engine in Ecore_Evas])
diff --git a/libraries/ecore/m4/ecore_check_options.m4 b/libraries/ecore/m4/ecore_check_options.m4
index 36792a1..fb7031a 100644
--- a/libraries/ecore/m4/ecore_check_options.m4
+++ b/libraries/ecore/m4/ecore_check_options.m4
@@ -314,7 +314,7 @@ AC_ARG_ENABLE(cares,
314 ]) 314 ])
315 315
316if test "x${_ecore_want_cares}" = "xyes" -o "x${_ecore_want_cares}" = "xauto" ; then 316if test "x${_ecore_want_cares}" = "xyes" -o "x${_ecore_want_cares}" = "xauto" ; then
317 PKG_CHECK_MODULES([CARES], [libcares >= 1.6.1 libcares != 1.7.5], 317 PKG_CHECK_MODULES([CARES], [libcares >= 1.6.1],
318 [_ecore_have_cares="yes"], 318 [_ecore_have_cares="yes"],
319 [_ecore_have_cares="no"]) 319 [_ecore_have_cares="no"])
320fi 320fi
diff --git a/libraries/ecore/po/cs.gmo b/libraries/ecore/po/cs.gmo
index 44b8f00..4ba668c 100644
--- a/libraries/ecore/po/cs.gmo
+++ b/libraries/ecore/po/cs.gmo
Binary files differ
diff --git a/libraries/ecore/po/cs.po b/libraries/ecore/po/cs.po
index 436b1a7..4492269 100644
--- a/libraries/ecore/po/cs.po
+++ b/libraries/ecore/po/cs.po
@@ -5,170 +5,170 @@ msgid ""
5msgstr "" 5msgstr ""
6"Project-Id-Version: ecore\n" 6"Project-Id-Version: ecore\n"
7"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 7"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
8"POT-Creation-Date: 2012-01-23 23:19+1000\n" 8"POT-Creation-Date: 2012-03-17 11:44+0900\n"
9"PO-Revision-Date: 2011-10-23 01:28+0100\n" 9"PO-Revision-Date: 2011-10-23 01:28+0100\n"
10"Last-Translator: Daniel Kolesa <quaker66@gmail.com>\n" 10"Last-Translator: Daniel Kolesa <quaker66@gmail.com>\n"
11"Language-Team: Czech <kde-i18n-doc@kde.org>\n" 11"Language-Team: Czech <kde-i18n-doc@kde.org>\n"
12"Language: \n"
12"MIME-Version: 1.0\n" 13"MIME-Version: 1.0\n"
13"Content-Type: text/plain; charset=UTF-8\n" 14"Content-Type: text/plain; charset=UTF-8\n"
14"Content-Transfer-Encoding: 8bit\n" 15"Content-Transfer-Encoding: 8bit\n"
15"Language: \n"
16"X-Generator: Lokalize 1.2\n" 16"X-Generator: Lokalize 1.2\n"
17"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" 17"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
18 18
19#: src/lib/ecore/ecore_getopt.c:91 19#: src/lib/ecore/ecore_getopt.c:95
20msgid "Version:" 20msgid "Version:"
21msgstr "Verze:" 21msgstr "Verze:"
22 22
23#: src/lib/ecore/ecore_getopt.c:100 23#: src/lib/ecore/ecore_getopt.c:104
24msgid "Usage:" 24msgid "Usage:"
25msgstr "Použití:" 25msgstr "Použití:"
26 26
27#: src/lib/ecore/ecore_getopt.c:105 27#: src/lib/ecore/ecore_getopt.c:109
28#, c-format 28#, c-format
29msgid "%s [options]\n" 29msgid "%s [options]\n"
30msgstr "%s [volby]\n" 30msgstr "%s [volby]\n"
31 31
32#: src/lib/ecore/ecore_getopt.c:260 32#: src/lib/ecore/ecore_getopt.c:264
33msgid "Copyright:" 33msgid "Copyright:"
34msgstr "Copyright:" 34msgstr "Copyright:"
35 35
36#: src/lib/ecore/ecore_getopt.c:272 36#: src/lib/ecore/ecore_getopt.c:276
37msgid "License:" 37msgid "License:"
38msgstr "Licence:" 38msgstr "Licence:"
39 39
40#: src/lib/ecore/ecore_getopt.c:453 40#: src/lib/ecore/ecore_getopt.c:457
41msgid "Type: " 41msgid "Type: "
42msgstr "Typ: " 42msgstr "Typ: "
43 43
44#: src/lib/ecore/ecore_getopt.c:529 44#: src/lib/ecore/ecore_getopt.c:533
45msgid "Default: " 45msgid "Default: "
46msgstr "Výchozí: " 46msgstr "Výchozí: "
47 47
48#: src/lib/ecore/ecore_getopt.c:556 48#: src/lib/ecore/ecore_getopt.c:560
49msgid "Choices: " 49msgid "Choices: "
50msgstr "Možnosti: " 50msgstr "Možnosti: "
51 51
52#: src/lib/ecore/ecore_getopt.c:657 52#: src/lib/ecore/ecore_getopt.c:661
53msgid "Options:\n" 53msgid "Options:\n"
54msgstr "Volby:\n" 54msgstr "Volby:\n"
55 55
56#: src/lib/ecore/ecore_getopt.c:782 56#: src/lib/ecore/ecore_getopt.c:786
57#, c-format 57#, c-format
58msgid "ERROR: unknown option --%s.\n" 58msgid "ERROR: unknown option --%s.\n"
59msgstr "CHYBA: neznámá volba --%s.\n" 59msgstr "CHYBA: neznámá volba --%s.\n"
60 60
61#: src/lib/ecore/ecore_getopt.c:784 61#: src/lib/ecore/ecore_getopt.c:788
62#, c-format 62#, c-format
63msgid "ERROR: unknown option -%c.\n" 63msgid "ERROR: unknown option -%c.\n"
64msgstr "CHYBA: neznámá volba -%c.\n" 64msgstr "CHYBA: neznámá volba -%c.\n"
65 65
66#: src/lib/ecore/ecore_getopt.c:842 66#: src/lib/ecore/ecore_getopt.c:846
67msgid "ERROR: " 67msgid "ERROR: "
68msgstr "CHYBA: " 68msgstr "CHYBA: "
69 69
70#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 70#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
71#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 71#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
72#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 72#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
73#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 73#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
74msgid "value has no pointer set.\n" 74msgid "value has no pointer set.\n"
75msgstr "hodnota nemá nastaven pointer.\n" 75msgstr "hodnota nemá nastaven pointer.\n"
76 76
77#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 77#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
78#, c-format 78#, c-format
79msgid "unknown boolean value %s.\n" 79msgid "unknown boolean value %s.\n"
80msgstr "neznámá boolean hodnota %s.\n" 80msgstr "neznámá boolean hodnota %s.\n"
81 81
82#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 82#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
83#, c-format 83#, c-format
84msgid "invalid number format %s\n" 84msgid "invalid number format %s\n"
85msgstr "neznámý číselný formát %s\n" 85msgstr "neznámý číselný formát %s\n"
86 86
87#: src/lib/ecore/ecore_getopt.c:1123 87#: src/lib/ecore/ecore_getopt.c:1127
88#, c-format 88#, c-format
89msgid "invalid choice \"%s\". Valid values are: " 89msgid "invalid choice \"%s\". Valid values are: "
90msgstr "neznámá volba \"%s\". Možné hodnoty jsou: " 90msgstr "neznámá volba \"%s\". Možné hodnoty jsou: "
91 91
92#: src/lib/ecore/ecore_getopt.c:1151 92#: src/lib/ecore/ecore_getopt.c:1155
93msgid "missing parameter to append.\n" 93msgid "missing parameter to append.\n"
94msgstr "chybějící parametr k připojení.\n" 94msgstr "chybějící parametr k připojení.\n"
95 95
96#: src/lib/ecore/ecore_getopt.c:1255 96#: src/lib/ecore/ecore_getopt.c:1259
97msgid "could not parse value.\n" 97msgid "could not parse value.\n"
98msgstr "nemůžu parsovat hodnotu.\n" 98msgstr "nemůžu parsovat hodnotu.\n"
99 99
100#: src/lib/ecore/ecore_getopt.c:1312 100#: src/lib/ecore/ecore_getopt.c:1316
101msgid "missing parameter.\n" 101msgid "missing parameter.\n"
102msgstr "chybějící parametr.\n" 102msgstr "chybějící parametr.\n"
103 103
104#: src/lib/ecore/ecore_getopt.c:1325 104#: src/lib/ecore/ecore_getopt.c:1329
105msgid "missing callback function!\n" 105msgid "missing callback function!\n"
106msgstr "chybějící callback funkce!\n" 106msgstr "chybějící callback funkce!\n"
107 107
108#: src/lib/ecore/ecore_getopt.c:1354 108#: src/lib/ecore/ecore_getopt.c:1358
109msgid "no version was defined.\n" 109msgid "no version was defined.\n"
110msgstr "nebyla definována verze.\n" 110msgstr "nebyla definována verze.\n"
111 111
112#: src/lib/ecore/ecore_getopt.c:1371 112#: src/lib/ecore/ecore_getopt.c:1375
113msgid "no copyright was defined.\n" 113msgid "no copyright was defined.\n"
114msgstr "nebyl definován copyright.\n" 114msgstr "nebyl definován copyright.\n"
115 115
116#: src/lib/ecore/ecore_getopt.c:1388 116#: src/lib/ecore/ecore_getopt.c:1392
117msgid "no license was defined.\n" 117msgid "no license was defined.\n"
118msgstr "nebyla definována licence.\n" 118msgstr "nebyla definována licence.\n"
119 119
120#: src/lib/ecore/ecore_getopt.c:1463 120#: src/lib/ecore/ecore_getopt.c:1467
121#, c-format 121#, c-format
122msgid "ERROR: unknown option --%s, ignored.\n" 122msgid "ERROR: unknown option --%s, ignored.\n"
123msgstr "CHYBA: neznámá volba --%s, ignoruji.\n" 123msgstr "CHYBA: neznámá volba --%s, ignoruji.\n"
124 124
125#: src/lib/ecore/ecore_getopt.c:1496 125#: src/lib/ecore/ecore_getopt.c:1500
126#, c-format 126#, c-format
127msgid "ERROR: option --%s requires an argument!\n" 127msgid "ERROR: option --%s requires an argument!\n"
128msgstr "CHYBA: volba --%s vyžaduje argument!\n" 128msgstr "CHYBA: volba --%s vyžaduje argument!\n"
129 129
130#: src/lib/ecore/ecore_getopt.c:1538 130#: src/lib/ecore/ecore_getopt.c:1542
131#, c-format 131#, c-format
132msgid "ERROR: unknown option -%c, ignored.\n" 132msgid "ERROR: unknown option -%c, ignored.\n"
133msgstr "CHYBA: neznámá volba -%c, ignoruji.\n" 133msgstr "CHYBA: neznámá volba -%c, ignoruji.\n"
134 134
135#: src/lib/ecore/ecore_getopt.c:1576 135#: src/lib/ecore/ecore_getopt.c:1580
136#, c-format 136#, c-format
137msgid "ERROR: option -%c requires an argument!\n" 137msgid "ERROR: option -%c requires an argument!\n"
138msgstr "CHYBA: volba -%c vyžaduje argument!\n" 138msgstr "CHYBA: volba -%c vyžaduje argument!\n"
139 139
140#: src/lib/ecore/ecore_getopt.c:1785 140#: src/lib/ecore/ecore_getopt.c:1789
141msgid "ERROR: no parser provided.\n" 141msgid "ERROR: no parser provided.\n"
142msgstr "CHYBA: nebyl poskytnut parser.\n" 142msgstr "CHYBA: nebyl poskytnut parser.\n"
143 143
144#: src/lib/ecore/ecore_getopt.c:1790 144#: src/lib/ecore/ecore_getopt.c:1794
145msgid "ERROR: no values provided.\n" 145msgid "ERROR: no values provided.\n"
146msgstr "CHYBA: nebyly poskytnuty hodnoty.\n" 146msgstr "CHYBA: nebyly poskytnuty hodnoty.\n"
147 147
148#: src/lib/ecore/ecore_getopt.c:1799 148#: src/lib/ecore/ecore_getopt.c:1803
149msgid "ERROR: no arguments provided.\n" 149msgid "ERROR: no arguments provided.\n"
150msgstr "CHYBA: nebyly poskytnuty argumenty.\n" 150msgstr "CHYBA: nebyly poskytnuty argumenty.\n"
151 151
152#: src/lib/ecore/ecore_getopt.c:1825 152#: src/lib/ecore/ecore_getopt.c:1829
153msgid "ERROR: invalid options found." 153msgid "ERROR: invalid options found."
154msgstr "CHYBA: nalezeny neplatné volby." 154msgstr "CHYBA: nalezeny neplatné volby."
155 155
156#: src/lib/ecore/ecore_getopt.c:1831 156#: src/lib/ecore/ecore_getopt.c:1835
157#, c-format 157#, c-format
158msgid " See --%s.\n" 158msgid " See --%s.\n"
159msgstr " Viz --%s.\n" 159msgstr " Viz --%s.\n"
160 160
161#: src/lib/ecore/ecore_getopt.c:1833 161#: src/lib/ecore/ecore_getopt.c:1837
162#, c-format 162#, c-format
163msgid " See -%c.\n" 163msgid " See -%c.\n"
164msgstr " Viz -%c.\n" 164msgstr " Viz -%c.\n"
165 165
166#: src/lib/ecore/ecore_getopt.c:1875 166#: src/lib/ecore/ecore_getopt.c:1879
167#, c-format 167#, c-format
168msgid "ERROR: incorrect geometry value '%s'\n" 168msgid "ERROR: incorrect geometry value '%s'\n"
169msgstr "CHYBA: neplatná hodnota geometrie '%s'\n" 169msgstr "CHYBA: neplatná hodnota geometrie '%s'\n"
170 170
171#: src/lib/ecore/ecore_getopt.c:1903 171#: src/lib/ecore/ecore_getopt.c:1907
172#, c-format 172#, c-format
173msgid "ERROR: incorrect size value '%s'\n" 173msgid "ERROR: incorrect size value '%s'\n"
174msgstr "CHYBA: neplatná hodnota velikosti '%s'\n" 174msgstr "CHYBA: neplatná hodnota velikosti '%s'\n"
diff --git a/libraries/ecore/po/de.gmo b/libraries/ecore/po/de.gmo
index b26411f..0507965 100644
--- a/libraries/ecore/po/de.gmo
+++ b/libraries/ecore/po/de.gmo
Binary files differ
diff --git a/libraries/ecore/po/de.po b/libraries/ecore/po/de.po
index c6072bc..9dacdbf 100644
--- a/libraries/ecore/po/de.po
+++ b/libraries/ecore/po/de.po
@@ -8,168 +8,168 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: ecore 0.9.9.063-2\n" 9"Project-Id-Version: ecore 0.9.9.063-2\n"
10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
11"POT-Creation-Date: 2012-01-23 23:19+1000\n" 11"POT-Creation-Date: 2012-03-17 11:44+0900\n"
12"PO-Revision-Date: 2010-01-03 21:52+GMT\n" 12"PO-Revision-Date: 2010-01-03 21:52+GMT\n"
13"Last-Translator: Fabian Nowak <timystery@arcor.de>\n" 13"Last-Translator: Fabian Nowak <timystery@arcor.de>\n"
14"Language-Team: German <debian-l10n-german@lists.debian.org>\n" 14"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
15"Language: de\n"
15"MIME-Version: 1.0\n" 16"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=UTF-8\n" 17"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n" 18"Content-Transfer-Encoding: 8bit\n"
18"Language: de\n"
19 19
20#: src/lib/ecore/ecore_getopt.c:91 20#: src/lib/ecore/ecore_getopt.c:95
21msgid "Version:" 21msgid "Version:"
22msgstr "Version:" 22msgstr "Version:"
23 23
24#: src/lib/ecore/ecore_getopt.c:100 24#: src/lib/ecore/ecore_getopt.c:104
25msgid "Usage:" 25msgid "Usage:"
26msgstr "Aufruf:" 26msgstr "Aufruf:"
27 27
28#: src/lib/ecore/ecore_getopt.c:105 28#: src/lib/ecore/ecore_getopt.c:109
29#, c-format 29#, c-format
30msgid "%s [options]\n" 30msgid "%s [options]\n"
31msgstr "%s [Optionen]\n" 31msgstr "%s [Optionen]\n"
32 32
33#: src/lib/ecore/ecore_getopt.c:260 33#: src/lib/ecore/ecore_getopt.c:264
34msgid "Copyright:" 34msgid "Copyright:"
35msgstr "Copyright:" 35msgstr "Copyright:"
36 36
37#: src/lib/ecore/ecore_getopt.c:272 37#: src/lib/ecore/ecore_getopt.c:276
38msgid "License:" 38msgid "License:"
39msgstr "Lizenz:" 39msgstr "Lizenz:"
40 40
41#: src/lib/ecore/ecore_getopt.c:453 41#: src/lib/ecore/ecore_getopt.c:457
42msgid "Type: " 42msgid "Type: "
43msgstr "Typ: " 43msgstr "Typ: "
44 44
45#: src/lib/ecore/ecore_getopt.c:529 45#: src/lib/ecore/ecore_getopt.c:533
46msgid "Default: " 46msgid "Default: "
47msgstr "Standard: " 47msgstr "Standard: "
48 48
49#: src/lib/ecore/ecore_getopt.c:556 49#: src/lib/ecore/ecore_getopt.c:560
50msgid "Choices: " 50msgid "Choices: "
51msgstr "Auswahlmöglichkeiten: " 51msgstr "Auswahlmöglichkeiten: "
52 52
53#: src/lib/ecore/ecore_getopt.c:657 53#: src/lib/ecore/ecore_getopt.c:661
54msgid "Options:\n" 54msgid "Options:\n"
55msgstr "Optionen:\n" 55msgstr "Optionen:\n"
56 56
57#: src/lib/ecore/ecore_getopt.c:782 57#: src/lib/ecore/ecore_getopt.c:786
58#, c-format 58#, c-format
59msgid "ERROR: unknown option --%s.\n" 59msgid "ERROR: unknown option --%s.\n"
60msgstr "FEHLER: Unbekannte Option --%s\n" 60msgstr "FEHLER: Unbekannte Option --%s\n"
61 61
62#: src/lib/ecore/ecore_getopt.c:784 62#: src/lib/ecore/ecore_getopt.c:788
63#, c-format 63#, c-format
64msgid "ERROR: unknown option -%c.\n" 64msgid "ERROR: unknown option -%c.\n"
65msgstr "FEHLER: Unbekannte Option -%c\n" 65msgstr "FEHLER: Unbekannte Option -%c\n"
66 66
67#: src/lib/ecore/ecore_getopt.c:842 67#: src/lib/ecore/ecore_getopt.c:846
68msgid "ERROR: " 68msgid "ERROR: "
69msgstr "FEHLER: " 69msgstr "FEHLER: "
70 70
71#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 71#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
72#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 72#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
73#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 73#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
74#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 74#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
75msgid "value has no pointer set.\n" 75msgid "value has no pointer set.\n"
76msgstr "kein Zeiger auf Wert gesetzt\n" 76msgstr "kein Zeiger auf Wert gesetzt\n"
77 77
78#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 78#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
79#, c-format 79#, c-format
80msgid "unknown boolean value %s.\n" 80msgid "unknown boolean value %s.\n"
81msgstr "unbekannter boolescher Wert %s\n" 81msgstr "unbekannter boolescher Wert %s\n"
82 82
83#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 83#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
84#, c-format 84#, c-format
85msgid "invalid number format %s\n" 85msgid "invalid number format %s\n"
86msgstr "ungültiges Zahlenformat %s\n" 86msgstr "ungültiges Zahlenformat %s\n"
87 87
88#: src/lib/ecore/ecore_getopt.c:1123 88#: src/lib/ecore/ecore_getopt.c:1127
89#, c-format 89#, c-format
90msgid "invalid choice \"%s\". Valid values are: " 90msgid "invalid choice \"%s\". Valid values are: "
91msgstr "ungültige Auswahl \"%s\". Gültige Werte sind: " 91msgstr "ungültige Auswahl \"%s\". Gültige Werte sind: "
92 92
93#: src/lib/ecore/ecore_getopt.c:1151 93#: src/lib/ecore/ecore_getopt.c:1155
94msgid "missing parameter to append.\n" 94msgid "missing parameter to append.\n"
95msgstr "fehlender Parameter zum Anhängen.\n" 95msgstr "fehlender Parameter zum Anhängen.\n"
96 96
97#: src/lib/ecore/ecore_getopt.c:1255 97#: src/lib/ecore/ecore_getopt.c:1259
98msgid "could not parse value.\n" 98msgid "could not parse value.\n"
99msgstr "Wert kann nicht ausgewertet werden.\n" 99msgstr "Wert kann nicht ausgewertet werden.\n"
100 100
101#: src/lib/ecore/ecore_getopt.c:1312 101#: src/lib/ecore/ecore_getopt.c:1316
102msgid "missing parameter.\n" 102msgid "missing parameter.\n"
103msgstr "fehlender Parameter.\n" 103msgstr "fehlender Parameter.\n"
104 104
105#: src/lib/ecore/ecore_getopt.c:1325 105#: src/lib/ecore/ecore_getopt.c:1329
106msgid "missing callback function!\n" 106msgid "missing callback function!\n"
107msgstr "fehlende Rückruffunktion!\n" 107msgstr "fehlende Rückruffunktion!\n"
108 108
109#: src/lib/ecore/ecore_getopt.c:1354 109#: src/lib/ecore/ecore_getopt.c:1358
110msgid "no version was defined.\n" 110msgid "no version was defined.\n"
111msgstr "es wurde keine Version angegeben.\n" 111msgstr "es wurde keine Version angegeben.\n"
112 112
113#: src/lib/ecore/ecore_getopt.c:1371 113#: src/lib/ecore/ecore_getopt.c:1375
114msgid "no copyright was defined.\n" 114msgid "no copyright was defined.\n"
115msgstr "es wurde kein Copyright angegeben.\n" 115msgstr "es wurde kein Copyright angegeben.\n"
116 116
117#: src/lib/ecore/ecore_getopt.c:1388 117#: src/lib/ecore/ecore_getopt.c:1392
118msgid "no license was defined.\n" 118msgid "no license was defined.\n"
119msgstr "es wurde keine Lizenz angegeben.\n" 119msgstr "es wurde keine Lizenz angegeben.\n"
120 120
121#: src/lib/ecore/ecore_getopt.c:1463 121#: src/lib/ecore/ecore_getopt.c:1467
122#, c-format 122#, c-format
123msgid "ERROR: unknown option --%s, ignored.\n" 123msgid "ERROR: unknown option --%s, ignored.\n"
124msgstr "FEHLER: Unbekannte Option --%s, ignoriert\n" 124msgstr "FEHLER: Unbekannte Option --%s, ignoriert\n"
125 125
126#: src/lib/ecore/ecore_getopt.c:1496 126#: src/lib/ecore/ecore_getopt.c:1500
127#, c-format 127#, c-format
128msgid "ERROR: option --%s requires an argument!\n" 128msgid "ERROR: option --%s requires an argument!\n"
129msgstr "FEHLER: Option --%s benötigt ein Argument!\n" 129msgstr "FEHLER: Option --%s benötigt ein Argument!\n"
130 130
131#: src/lib/ecore/ecore_getopt.c:1538 131#: src/lib/ecore/ecore_getopt.c:1542
132#, c-format 132#, c-format
133msgid "ERROR: unknown option -%c, ignored.\n" 133msgid "ERROR: unknown option -%c, ignored.\n"
134msgstr "FEHLER: Unbekannte Option -%c, ignoriert\n" 134msgstr "FEHLER: Unbekannte Option -%c, ignoriert\n"
135 135
136#: src/lib/ecore/ecore_getopt.c:1576 136#: src/lib/ecore/ecore_getopt.c:1580
137#, c-format 137#, c-format
138msgid "ERROR: option -%c requires an argument!\n" 138msgid "ERROR: option -%c requires an argument!\n"
139msgstr "FEHLER: Option -%c benötigt ein Argument!\n" 139msgstr "FEHLER: Option -%c benötigt ein Argument!\n"
140 140
141#: src/lib/ecore/ecore_getopt.c:1785 141#: src/lib/ecore/ecore_getopt.c:1789
142msgid "ERROR: no parser provided.\n" 142msgid "ERROR: no parser provided.\n"
143msgstr "FEHLER: Kein Parser bereitgestellt.\n" 143msgstr "FEHLER: Kein Parser bereitgestellt.\n"
144 144
145#: src/lib/ecore/ecore_getopt.c:1790 145#: src/lib/ecore/ecore_getopt.c:1794
146msgid "ERROR: no values provided.\n" 146msgid "ERROR: no values provided.\n"
147msgstr "FEHLER: Keine Werte bereitgestellt.\n" 147msgstr "FEHLER: Keine Werte bereitgestellt.\n"
148 148
149#: src/lib/ecore/ecore_getopt.c:1799 149#: src/lib/ecore/ecore_getopt.c:1803
150msgid "ERROR: no arguments provided.\n" 150msgid "ERROR: no arguments provided.\n"
151msgstr "FEHLER: Keine Argumente bereitgestellt.\n" 151msgstr "FEHLER: Keine Argumente bereitgestellt.\n"
152 152
153#: src/lib/ecore/ecore_getopt.c:1825 153#: src/lib/ecore/ecore_getopt.c:1829
154msgid "ERROR: invalid options found." 154msgid "ERROR: invalid options found."
155msgstr "FEHLER: Ungültige Optionen gefunden." 155msgstr "FEHLER: Ungültige Optionen gefunden."
156 156
157#: src/lib/ecore/ecore_getopt.c:1831 157#: src/lib/ecore/ecore_getopt.c:1835
158#, c-format 158#, c-format
159msgid " See --%s.\n" 159msgid " See --%s.\n"
160msgstr " Siehe --%s\n" 160msgstr " Siehe --%s\n"
161 161
162#: src/lib/ecore/ecore_getopt.c:1833 162#: src/lib/ecore/ecore_getopt.c:1837
163#, c-format 163#, c-format
164msgid " See -%c.\n" 164msgid " See -%c.\n"
165msgstr " Siehe -%c\n" 165msgstr " Siehe -%c\n"
166 166
167#: src/lib/ecore/ecore_getopt.c:1875 167#: src/lib/ecore/ecore_getopt.c:1879
168#, c-format 168#, c-format
169msgid "ERROR: incorrect geometry value '%s'\n" 169msgid "ERROR: incorrect geometry value '%s'\n"
170msgstr "FEHLER: Falscher Geometriewert \"%s\"\n" 170msgstr "FEHLER: Falscher Geometriewert \"%s\"\n"
171 171
172#: src/lib/ecore/ecore_getopt.c:1903 172#: src/lib/ecore/ecore_getopt.c:1907
173#, c-format 173#, c-format
174msgid "ERROR: incorrect size value '%s'\n" 174msgid "ERROR: incorrect size value '%s'\n"
175msgstr "FEHLER: Falscher Größenwert \"%s\"\n" 175msgstr "FEHLER: Falscher Größenwert \"%s\"\n"
diff --git a/libraries/ecore/po/ecore.pot b/libraries/ecore/po/ecore.pot
index 69cbec8..b7e3500 100644
--- a/libraries/ecore/po/ecore.pot
+++ b/libraries/ecore/po/ecore.pot
@@ -6,169 +6,170 @@
6#, fuzzy 6#, fuzzy
7msgid "" 7msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: ecore 1.1.99.67344\n" 9"Project-Id-Version: ecore 1.2.0-alpha\n"
10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
11"POT-Creation-Date: 2012-01-23 23:19+1000\n" 11"POT-Creation-Date: 2012-03-17 11:44+0900\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n" 14"Language-Team: LANGUAGE <LL@li.org>\n"
15"Language: \n"
15"MIME-Version: 1.0\n" 16"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=CHARSET\n" 17"Content-Type: text/plain; charset=CHARSET\n"
17"Content-Transfer-Encoding: 8bit\n" 18"Content-Transfer-Encoding: 8bit\n"
18 19
19#: src/lib/ecore/ecore_getopt.c:91 20#: src/lib/ecore/ecore_getopt.c:95
20msgid "Version:" 21msgid "Version:"
21msgstr "" 22msgstr ""
22 23
23#: src/lib/ecore/ecore_getopt.c:100 24#: src/lib/ecore/ecore_getopt.c:104
24msgid "Usage:" 25msgid "Usage:"
25msgstr "" 26msgstr ""
26 27
27#: src/lib/ecore/ecore_getopt.c:105 28#: src/lib/ecore/ecore_getopt.c:109
28#, c-format 29#, c-format
29msgid "%s [options]\n" 30msgid "%s [options]\n"
30msgstr "" 31msgstr ""
31 32
32#: src/lib/ecore/ecore_getopt.c:260 33#: src/lib/ecore/ecore_getopt.c:264
33msgid "Copyright:" 34msgid "Copyright:"
34msgstr "" 35msgstr ""
35 36
36#: src/lib/ecore/ecore_getopt.c:272 37#: src/lib/ecore/ecore_getopt.c:276
37msgid "License:" 38msgid "License:"
38msgstr "" 39msgstr ""
39 40
40#: src/lib/ecore/ecore_getopt.c:453 41#: src/lib/ecore/ecore_getopt.c:457
41msgid "Type: " 42msgid "Type: "
42msgstr "" 43msgstr ""
43 44
44#: src/lib/ecore/ecore_getopt.c:529 45#: src/lib/ecore/ecore_getopt.c:533
45msgid "Default: " 46msgid "Default: "
46msgstr "" 47msgstr ""
47 48
48#: src/lib/ecore/ecore_getopt.c:556 49#: src/lib/ecore/ecore_getopt.c:560
49msgid "Choices: " 50msgid "Choices: "
50msgstr "" 51msgstr ""
51 52
52#: src/lib/ecore/ecore_getopt.c:657 53#: src/lib/ecore/ecore_getopt.c:661
53msgid "Options:\n" 54msgid "Options:\n"
54msgstr "" 55msgstr ""
55 56
56#: src/lib/ecore/ecore_getopt.c:782 57#: src/lib/ecore/ecore_getopt.c:786
57#, c-format 58#, c-format
58msgid "ERROR: unknown option --%s.\n" 59msgid "ERROR: unknown option --%s.\n"
59msgstr "" 60msgstr ""
60 61
61#: src/lib/ecore/ecore_getopt.c:784 62#: src/lib/ecore/ecore_getopt.c:788
62#, c-format 63#, c-format
63msgid "ERROR: unknown option -%c.\n" 64msgid "ERROR: unknown option -%c.\n"
64msgstr "" 65msgstr ""
65 66
66#: src/lib/ecore/ecore_getopt.c:842 67#: src/lib/ecore/ecore_getopt.c:846
67msgid "ERROR: " 68msgid "ERROR: "
68msgstr "" 69msgstr ""
69 70
70#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 71#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
71#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 72#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
72#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 73#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
73#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 74#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
74msgid "value has no pointer set.\n" 75msgid "value has no pointer set.\n"
75msgstr "" 76msgstr ""
76 77
77#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 78#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
78#, c-format 79#, c-format
79msgid "unknown boolean value %s.\n" 80msgid "unknown boolean value %s.\n"
80msgstr "" 81msgstr ""
81 82
82#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 83#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
83#, c-format 84#, c-format
84msgid "invalid number format %s\n" 85msgid "invalid number format %s\n"
85msgstr "" 86msgstr ""
86 87
87#: src/lib/ecore/ecore_getopt.c:1123 88#: src/lib/ecore/ecore_getopt.c:1127
88#, c-format 89#, c-format
89msgid "invalid choice \"%s\". Valid values are: " 90msgid "invalid choice \"%s\". Valid values are: "
90msgstr "" 91msgstr ""
91 92
92#: src/lib/ecore/ecore_getopt.c:1151 93#: src/lib/ecore/ecore_getopt.c:1155
93msgid "missing parameter to append.\n" 94msgid "missing parameter to append.\n"
94msgstr "" 95msgstr ""
95 96
96#: src/lib/ecore/ecore_getopt.c:1255 97#: src/lib/ecore/ecore_getopt.c:1259
97msgid "could not parse value.\n" 98msgid "could not parse value.\n"
98msgstr "" 99msgstr ""
99 100
100#: src/lib/ecore/ecore_getopt.c:1312 101#: src/lib/ecore/ecore_getopt.c:1316
101msgid "missing parameter.\n" 102msgid "missing parameter.\n"
102msgstr "" 103msgstr ""
103 104
104#: src/lib/ecore/ecore_getopt.c:1325 105#: src/lib/ecore/ecore_getopt.c:1329
105msgid "missing callback function!\n" 106msgid "missing callback function!\n"
106msgstr "" 107msgstr ""
107 108
108#: src/lib/ecore/ecore_getopt.c:1354 109#: src/lib/ecore/ecore_getopt.c:1358
109msgid "no version was defined.\n" 110msgid "no version was defined.\n"
110msgstr "" 111msgstr ""
111 112
112#: src/lib/ecore/ecore_getopt.c:1371 113#: src/lib/ecore/ecore_getopt.c:1375
113msgid "no copyright was defined.\n" 114msgid "no copyright was defined.\n"
114msgstr "" 115msgstr ""
115 116
116#: src/lib/ecore/ecore_getopt.c:1388 117#: src/lib/ecore/ecore_getopt.c:1392
117msgid "no license was defined.\n" 118msgid "no license was defined.\n"
118msgstr "" 119msgstr ""
119 120
120#: src/lib/ecore/ecore_getopt.c:1463 121#: src/lib/ecore/ecore_getopt.c:1467
121#, c-format 122#, c-format
122msgid "ERROR: unknown option --%s, ignored.\n" 123msgid "ERROR: unknown option --%s, ignored.\n"
123msgstr "" 124msgstr ""
124 125
125#: src/lib/ecore/ecore_getopt.c:1496 126#: src/lib/ecore/ecore_getopt.c:1500
126#, c-format 127#, c-format
127msgid "ERROR: option --%s requires an argument!\n" 128msgid "ERROR: option --%s requires an argument!\n"
128msgstr "" 129msgstr ""
129 130
130#: src/lib/ecore/ecore_getopt.c:1538 131#: src/lib/ecore/ecore_getopt.c:1542
131#, c-format 132#, c-format
132msgid "ERROR: unknown option -%c, ignored.\n" 133msgid "ERROR: unknown option -%c, ignored.\n"
133msgstr "" 134msgstr ""
134 135
135#: src/lib/ecore/ecore_getopt.c:1576 136#: src/lib/ecore/ecore_getopt.c:1580
136#, c-format 137#, c-format
137msgid "ERROR: option -%c requires an argument!\n" 138msgid "ERROR: option -%c requires an argument!\n"
138msgstr "" 139msgstr ""
139 140
140#: src/lib/ecore/ecore_getopt.c:1785 141#: src/lib/ecore/ecore_getopt.c:1789
141msgid "ERROR: no parser provided.\n" 142msgid "ERROR: no parser provided.\n"
142msgstr "" 143msgstr ""
143 144
144#: src/lib/ecore/ecore_getopt.c:1790 145#: src/lib/ecore/ecore_getopt.c:1794
145msgid "ERROR: no values provided.\n" 146msgid "ERROR: no values provided.\n"
146msgstr "" 147msgstr ""
147 148
148#: src/lib/ecore/ecore_getopt.c:1799 149#: src/lib/ecore/ecore_getopt.c:1803
149msgid "ERROR: no arguments provided.\n" 150msgid "ERROR: no arguments provided.\n"
150msgstr "" 151msgstr ""
151 152
152#: src/lib/ecore/ecore_getopt.c:1825 153#: src/lib/ecore/ecore_getopt.c:1829
153msgid "ERROR: invalid options found." 154msgid "ERROR: invalid options found."
154msgstr "" 155msgstr ""
155 156
156#: src/lib/ecore/ecore_getopt.c:1831 157#: src/lib/ecore/ecore_getopt.c:1835
157#, c-format 158#, c-format
158msgid " See --%s.\n" 159msgid " See --%s.\n"
159msgstr "" 160msgstr ""
160 161
161#: src/lib/ecore/ecore_getopt.c:1833 162#: src/lib/ecore/ecore_getopt.c:1837
162#, c-format 163#, c-format
163msgid " See -%c.\n" 164msgid " See -%c.\n"
164msgstr "" 165msgstr ""
165 166
166#: src/lib/ecore/ecore_getopt.c:1875 167#: src/lib/ecore/ecore_getopt.c:1879
167#, c-format 168#, c-format
168msgid "ERROR: incorrect geometry value '%s'\n" 169msgid "ERROR: incorrect geometry value '%s'\n"
169msgstr "" 170msgstr ""
170 171
171#: src/lib/ecore/ecore_getopt.c:1903 172#: src/lib/ecore/ecore_getopt.c:1907
172#, c-format 173#, c-format
173msgid "ERROR: incorrect size value '%s'\n" 174msgid "ERROR: incorrect size value '%s'\n"
174msgstr "" 175msgstr ""
diff --git a/libraries/ecore/po/el.gmo b/libraries/ecore/po/el.gmo
index 0f2bac2..2c9ce48 100644
--- a/libraries/ecore/po/el.gmo
+++ b/libraries/ecore/po/el.gmo
Binary files differ
diff --git a/libraries/ecore/po/el.po b/libraries/ecore/po/el.po
index cdf9cf3..0dd56bd 100644
--- a/libraries/ecore/po/el.po
+++ b/libraries/ecore/po/el.po
@@ -6,169 +6,169 @@ msgid ""
6msgstr "" 6msgstr ""
7"Project-Id-Version: Ecore\n" 7"Project-Id-Version: Ecore\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2012-01-23 23:19+1000\n" 9"POT-Creation-Date: 2012-03-17 11:44+0900\n"
10"PO-Revision-Date: 2011-11-20 22:42+0200\n" 10"PO-Revision-Date: 2011-11-20 22:42+0200\n"
11"Last-Translator: George Rizopoulos <george.rizopoulos.1@gmail.com>\n" 11"Last-Translator: George Rizopoulos <george.rizopoulos.1@gmail.com>\n"
12"Language-Team: Greek\n" 12"Language-Team: Greek\n"
13"Language: \n"
13"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
16"Language: \n"
17 17
18#: src/lib/ecore/ecore_getopt.c:91 18#: src/lib/ecore/ecore_getopt.c:95
19msgid "Version:" 19msgid "Version:"
20msgstr "Έκδοση:" 20msgstr "Έκδοση:"
21 21
22#: src/lib/ecore/ecore_getopt.c:100 22#: src/lib/ecore/ecore_getopt.c:104
23msgid "Usage:" 23msgid "Usage:"
24msgstr "Χρήση:" 24msgstr "Χρήση:"
25 25
26#: src/lib/ecore/ecore_getopt.c:105 26#: src/lib/ecore/ecore_getopt.c:109
27#, c-format 27#, c-format
28msgid "%s [options]\n" 28msgid "%s [options]\n"
29msgstr "%s [επιλογές]\n" 29msgstr "%s [επιλογές]\n"
30 30
31#: src/lib/ecore/ecore_getopt.c:260 31#: src/lib/ecore/ecore_getopt.c:264
32msgid "Copyright:" 32msgid "Copyright:"
33msgstr "Πνευματικά δικαιώματα:" 33msgstr "Πνευματικά δικαιώματα:"
34 34
35#: src/lib/ecore/ecore_getopt.c:272 35#: src/lib/ecore/ecore_getopt.c:276
36msgid "License:" 36msgid "License:"
37msgstr "Άδεια:" 37msgstr "Άδεια:"
38 38
39#: src/lib/ecore/ecore_getopt.c:453 39#: src/lib/ecore/ecore_getopt.c:457
40msgid "Type: " 40msgid "Type: "
41msgstr "Τύπος:" 41msgstr "Τύπος:"
42 42
43#: src/lib/ecore/ecore_getopt.c:529 43#: src/lib/ecore/ecore_getopt.c:533
44msgid "Default: " 44msgid "Default: "
45msgstr "Προκαθορισμένο:" 45msgstr "Προκαθορισμένο:"
46 46
47#: src/lib/ecore/ecore_getopt.c:556 47#: src/lib/ecore/ecore_getopt.c:560
48msgid "Choices: " 48msgid "Choices: "
49msgstr "Επιλογές:" 49msgstr "Επιλογές:"
50 50
51#: src/lib/ecore/ecore_getopt.c:657 51#: src/lib/ecore/ecore_getopt.c:661
52msgid "Options:\n" 52msgid "Options:\n"
53msgstr "Επιλογές:\n" 53msgstr "Επιλογές:\n"
54 54
55#: src/lib/ecore/ecore_getopt.c:782 55#: src/lib/ecore/ecore_getopt.c:786
56#, c-format 56#, c-format
57msgid "ERROR: unknown option --%s.\n" 57msgid "ERROR: unknown option --%s.\n"
58msgstr "ΣΦΑΛΜΑ: άγνωστη επιλογή --%s.\n" 58msgstr "ΣΦΑΛΜΑ: άγνωστη επιλογή --%s.\n"
59 59
60#: src/lib/ecore/ecore_getopt.c:784 60#: src/lib/ecore/ecore_getopt.c:788
61#, c-format 61#, c-format
62msgid "ERROR: unknown option -%c.\n" 62msgid "ERROR: unknown option -%c.\n"
63msgstr "ΣΦΑΛΜΑ: άγνωστη επιλογή -%c.\n" 63msgstr "ΣΦΑΛΜΑ: άγνωστη επιλογή -%c.\n"
64 64
65#: src/lib/ecore/ecore_getopt.c:842 65#: src/lib/ecore/ecore_getopt.c:846
66msgid "ERROR: " 66msgid "ERROR: "
67msgstr "ΣΦΑΛΜΑ:" 67msgstr "ΣΦΑΛΜΑ:"
68 68
69#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 69#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
70#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 70#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
71#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 71#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
72#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 72#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
73msgid "value has no pointer set.\n" 73msgid "value has no pointer set.\n"
74msgstr "η τιμή δεν έχει δείκτη ορισμένο.\n" 74msgstr "η τιμή δεν έχει δείκτη ορισμένο.\n"
75 75
76#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 76#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
77#, c-format 77#, c-format
78msgid "unknown boolean value %s.\n" 78msgid "unknown boolean value %s.\n"
79msgstr "άγνωστη τιμή boolean %s.\n" 79msgstr "άγνωστη τιμή boolean %s.\n"
80 80
81#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 81#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
82#, c-format 82#, c-format
83msgid "invalid number format %s\n" 83msgid "invalid number format %s\n"
84msgstr "άγνωστη μορφή αριθμού %s\n" 84msgstr "άγνωστη μορφή αριθμού %s\n"
85 85
86#: src/lib/ecore/ecore_getopt.c:1123 86#: src/lib/ecore/ecore_getopt.c:1127
87#, c-format 87#, c-format
88msgid "invalid choice \"%s\". Valid values are: " 88msgid "invalid choice \"%s\". Valid values are: "
89msgstr "μη έγκυρη επιλογή \"%s\". Οι έγκυρες τιμές είναι: " 89msgstr "μη έγκυρη επιλογή \"%s\". Οι έγκυρες τιμές είναι: "
90 90
91#: src/lib/ecore/ecore_getopt.c:1151 91#: src/lib/ecore/ecore_getopt.c:1155
92msgid "missing parameter to append.\n" 92msgid "missing parameter to append.\n"
93msgstr "ελλιπής παράμετρος προς επισύναψη.\n" 93msgstr "ελλιπής παράμετρος προς επισύναψη.\n"
94 94
95#: src/lib/ecore/ecore_getopt.c:1255 95#: src/lib/ecore/ecore_getopt.c:1259
96msgid "could not parse value.\n" 96msgid "could not parse value.\n"
97msgstr "αδυναμία ανάλυσης τιμών.\n" 97msgstr "αδυναμία ανάλυσης τιμών.\n"
98 98
99#: src/lib/ecore/ecore_getopt.c:1312 99#: src/lib/ecore/ecore_getopt.c:1316
100msgid "missing parameter.\n" 100msgid "missing parameter.\n"
101msgstr "ελλιπής παράμετρος.\n" 101msgstr "ελλιπής παράμετρος.\n"
102 102
103#: src/lib/ecore/ecore_getopt.c:1325 103#: src/lib/ecore/ecore_getopt.c:1329
104msgid "missing callback function!\n" 104msgid "missing callback function!\n"
105msgstr "λείπει η λειτουργία επανάκλησης!\n" 105msgstr "λείπει η λειτουργία επανάκλησης!\n"
106 106
107#: src/lib/ecore/ecore_getopt.c:1354 107#: src/lib/ecore/ecore_getopt.c:1358
108msgid "no version was defined.\n" 108msgid "no version was defined.\n"
109msgstr "δεν έχει οριστεί έκδοση.\n" 109msgstr "δεν έχει οριστεί έκδοση.\n"
110 110
111#: src/lib/ecore/ecore_getopt.c:1371 111#: src/lib/ecore/ecore_getopt.c:1375
112msgid "no copyright was defined.\n" 112msgid "no copyright was defined.\n"
113msgstr "δεν έχουν οριστεί πνευματικά δικαιώματα.\n" 113msgstr "δεν έχουν οριστεί πνευματικά δικαιώματα.\n"
114 114
115#: src/lib/ecore/ecore_getopt.c:1388 115#: src/lib/ecore/ecore_getopt.c:1392
116msgid "no license was defined.\n" 116msgid "no license was defined.\n"
117msgstr "δεν έχει οριστεί άδεια.\n" 117msgstr "δεν έχει οριστεί άδεια.\n"
118 118
119#: src/lib/ecore/ecore_getopt.c:1463 119#: src/lib/ecore/ecore_getopt.c:1467
120#, c-format 120#, c-format
121msgid "ERROR: unknown option --%s, ignored.\n" 121msgid "ERROR: unknown option --%s, ignored.\n"
122msgstr "ΣΦΑΛΜΑ:άγνωστη επιλογή --%s, αγνοήθηκε.\n" 122msgstr "ΣΦΑΛΜΑ:άγνωστη επιλογή --%s, αγνοήθηκε.\n"
123 123
124#: src/lib/ecore/ecore_getopt.c:1496 124#: src/lib/ecore/ecore_getopt.c:1500
125#, c-format 125#, c-format
126msgid "ERROR: option --%s requires an argument!\n" 126msgid "ERROR: option --%s requires an argument!\n"
127msgstr "ΣΦΑΛΜΑ: η επιλογή --%s απαιτεί παραμέτρους!\n" 127msgstr "ΣΦΑΛΜΑ: η επιλογή --%s απαιτεί παραμέτρους!\n"
128 128
129#: src/lib/ecore/ecore_getopt.c:1538 129#: src/lib/ecore/ecore_getopt.c:1542
130#, c-format 130#, c-format
131msgid "ERROR: unknown option -%c, ignored.\n" 131msgid "ERROR: unknown option -%c, ignored.\n"
132msgstr "ΣΦΑΛΜΑ: άγνωστη επιλογή -%c, αγνοήθηκε.\n" 132msgstr "ΣΦΑΛΜΑ: άγνωστη επιλογή -%c, αγνοήθηκε.\n"
133 133
134#: src/lib/ecore/ecore_getopt.c:1576 134#: src/lib/ecore/ecore_getopt.c:1580
135#, c-format 135#, c-format
136msgid "ERROR: option -%c requires an argument!\n" 136msgid "ERROR: option -%c requires an argument!\n"
137msgstr "ΣΦAΛΜΑ: η επιλογή -%c απαιτεί μία παράμετρο!\n" 137msgstr "ΣΦAΛΜΑ: η επιλογή -%c απαιτεί μία παράμετρο!\n"
138 138
139#: src/lib/ecore/ecore_getopt.c:1785 139#: src/lib/ecore/ecore_getopt.c:1789
140#, fuzzy 140#, fuzzy
141msgid "ERROR: no parser provided.\n" 141msgid "ERROR: no parser provided.\n"
142msgstr "ΣΦΑΛΜΑ:δεν παρέχεται αναλυτής.\n" 142msgstr "ΣΦΑΛΜΑ:δεν παρέχεται αναλυτής.\n"
143 143
144#: src/lib/ecore/ecore_getopt.c:1790 144#: src/lib/ecore/ecore_getopt.c:1794
145msgid "ERROR: no values provided.\n" 145msgid "ERROR: no values provided.\n"
146msgstr "ΣΦΑΛΜΑ:δεν έχουν δοθεί τιμές.\n" 146msgstr "ΣΦΑΛΜΑ:δεν έχουν δοθεί τιμές.\n"
147 147
148#: src/lib/ecore/ecore_getopt.c:1799 148#: src/lib/ecore/ecore_getopt.c:1803
149msgid "ERROR: no arguments provided.\n" 149msgid "ERROR: no arguments provided.\n"
150msgstr "ΣΦΑΛΜΑ:δεν έχουν δοθεί παράμετροι.\n" 150msgstr "ΣΦΑΛΜΑ:δεν έχουν δοθεί παράμετροι.\n"
151 151
152#: src/lib/ecore/ecore_getopt.c:1825 152#: src/lib/ecore/ecore_getopt.c:1829
153msgid "ERROR: invalid options found." 153msgid "ERROR: invalid options found."
154msgstr "ΣΦΑΛΜΑ: βρέθηκαν μη έγκυρες επιλογές." 154msgstr "ΣΦΑΛΜΑ: βρέθηκαν μη έγκυρες επιλογές."
155 155
156#: src/lib/ecore/ecore_getopt.c:1831 156#: src/lib/ecore/ecore_getopt.c:1835
157#, c-format 157#, c-format
158msgid " See --%s.\n" 158msgid " See --%s.\n"
159msgstr " Δείτε --%s.\n" 159msgstr " Δείτε --%s.\n"
160 160
161#: src/lib/ecore/ecore_getopt.c:1833 161#: src/lib/ecore/ecore_getopt.c:1837
162#, c-format 162#, c-format
163msgid " See -%c.\n" 163msgid " See -%c.\n"
164msgstr " Δείτε -%c.\n" 164msgstr " Δείτε -%c.\n"
165 165
166#: src/lib/ecore/ecore_getopt.c:1875 166#: src/lib/ecore/ecore_getopt.c:1879
167#, c-format 167#, c-format
168msgid "ERROR: incorrect geometry value '%s'\n" 168msgid "ERROR: incorrect geometry value '%s'\n"
169msgstr "ΣΦΑΛΜΑ: μη έγκυρη γεωμετρική τιμή '%s'\n" 169msgstr "ΣΦΑΛΜΑ: μη έγκυρη γεωμετρική τιμή '%s'\n"
170 170
171#: src/lib/ecore/ecore_getopt.c:1903 171#: src/lib/ecore/ecore_getopt.c:1907
172#, c-format 172#, c-format
173msgid "ERROR: incorrect size value '%s'\n" 173msgid "ERROR: incorrect size value '%s'\n"
174msgstr "ΣΦΑΛΜΑ: μη έγκυρη τιμή μεγέθους '%s'\n" 174msgstr "ΣΦΑΛΜΑ: μη έγκυρη τιμή μεγέθους '%s'\n"
diff --git a/libraries/ecore/po/fr.gmo b/libraries/ecore/po/fr.gmo
index 2669256..766db87 100644
--- a/libraries/ecore/po/fr.gmo
+++ b/libraries/ecore/po/fr.gmo
Binary files differ
diff --git a/libraries/ecore/po/fr.po b/libraries/ecore/po/fr.po
index 6c752c1..3435366 100644
--- a/libraries/ecore/po/fr.po
+++ b/libraries/ecore/po/fr.po
@@ -6,172 +6,172 @@ msgid ""
6msgstr "" 6msgstr ""
7"Project-Id-Version: Ecore\n" 7"Project-Id-Version: Ecore\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2012-01-23 23:19+1000\n" 9"POT-Creation-Date: 2012-03-17 11:44+0900\n"
10"PO-Revision-Date: 2010-07-11 11:01+0400\n" 10"PO-Revision-Date: 2010-07-11 11:01+0400\n"
11"Last-Translator: batden <batden@orange.fr>\n" 11"Last-Translator: batden <batden@orange.fr>\n"
12"Language-Team: Enlightenment French Team <pourunmondesansgourou@gmail.com>\n" 12"Language-Team: Enlightenment French Team <pourunmondesansgourou@gmail.com>\n"
13"Language: \n"
13"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=utf-8\n" 15"Content-Type: text/plain; charset=utf-8\n"
15"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
16"Language: \n"
17"Plural-Forms: nplurals=2; plural=n>1;\n" 17"Plural-Forms: nplurals=2; plural=n>1;\n"
18"X-Poedit-Language: French\n" 18"X-Poedit-Language: French\n"
19"X-Poedit-Country: FRANCE\n" 19"X-Poedit-Country: FRANCE\n"
20"X-Poedit-SourceCharset: utf-8\n" 20"X-Poedit-SourceCharset: utf-8\n"
21 21
22#: src/lib/ecore/ecore_getopt.c:91 22#: src/lib/ecore/ecore_getopt.c:95
23msgid "Version:" 23msgid "Version:"
24msgstr "Version :" 24msgstr "Version :"
25 25
26#: src/lib/ecore/ecore_getopt.c:100 26#: src/lib/ecore/ecore_getopt.c:104
27msgid "Usage:" 27msgid "Usage:"
28msgstr "Usage :" 28msgstr "Usage :"
29 29
30#: src/lib/ecore/ecore_getopt.c:105 30#: src/lib/ecore/ecore_getopt.c:109
31#, c-format 31#, c-format
32msgid "%s [options]\n" 32msgid "%s [options]\n"
33msgstr "%s [options]\n" 33msgstr "%s [options]\n"
34 34
35#: src/lib/ecore/ecore_getopt.c:260 35#: src/lib/ecore/ecore_getopt.c:264
36msgid "Copyright:" 36msgid "Copyright:"
37msgstr "Copyright :" 37msgstr "Copyright :"
38 38
39#: src/lib/ecore/ecore_getopt.c:272 39#: src/lib/ecore/ecore_getopt.c:276
40msgid "License:" 40msgid "License:"
41msgstr "Licence :" 41msgstr "Licence :"
42 42
43#: src/lib/ecore/ecore_getopt.c:453 43#: src/lib/ecore/ecore_getopt.c:457
44msgid "Type: " 44msgid "Type: "
45msgstr "Type : " 45msgstr "Type : "
46 46
47#: src/lib/ecore/ecore_getopt.c:529 47#: src/lib/ecore/ecore_getopt.c:533
48msgid "Default: " 48msgid "Default: "
49msgstr "Par défaut :" 49msgstr "Par défaut :"
50 50
51#: src/lib/ecore/ecore_getopt.c:556 51#: src/lib/ecore/ecore_getopt.c:560
52msgid "Choices: " 52msgid "Choices: "
53msgstr "Choix :" 53msgstr "Choix :"
54 54
55#: src/lib/ecore/ecore_getopt.c:657 55#: src/lib/ecore/ecore_getopt.c:661
56msgid "Options:\n" 56msgid "Options:\n"
57msgstr "Options :\n" 57msgstr "Options :\n"
58 58
59#: src/lib/ecore/ecore_getopt.c:782 59#: src/lib/ecore/ecore_getopt.c:786
60#, c-format 60#, c-format
61msgid "ERROR: unknown option --%s.\n" 61msgid "ERROR: unknown option --%s.\n"
62msgstr "ERREUR : option inconnue --%s.\n" 62msgstr "ERREUR : option inconnue --%s.\n"
63 63
64#: src/lib/ecore/ecore_getopt.c:784 64#: src/lib/ecore/ecore_getopt.c:788
65#, c-format 65#, c-format
66msgid "ERROR: unknown option -%c.\n" 66msgid "ERROR: unknown option -%c.\n"
67msgstr "ERREUR : option inconnue -%c.\n" 67msgstr "ERREUR : option inconnue -%c.\n"
68 68
69#: src/lib/ecore/ecore_getopt.c:842 69#: src/lib/ecore/ecore_getopt.c:846
70msgid "ERROR: " 70msgid "ERROR: "
71msgstr "ERREUR :" 71msgstr "ERREUR :"
72 72
73#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 73#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
74#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 74#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
75#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 75#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
76#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 76#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
77msgid "value has no pointer set.\n" 77msgid "value has no pointer set.\n"
78msgstr "la valeur n'a aucun pointeur défini.\n" 78msgstr "la valeur n'a aucun pointeur défini.\n"
79 79
80#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 80#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
81#, c-format 81#, c-format
82msgid "unknown boolean value %s.\n" 82msgid "unknown boolean value %s.\n"
83msgstr "valeur booléenne inconnue %s.\n" 83msgstr "valeur booléenne inconnue %s.\n"
84 84
85#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 85#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
86#, c-format 86#, c-format
87msgid "invalid number format %s\n" 87msgid "invalid number format %s\n"
88msgstr "format du nombre non valide %s\n" 88msgstr "format du nombre non valide %s\n"
89 89
90#: src/lib/ecore/ecore_getopt.c:1123 90#: src/lib/ecore/ecore_getopt.c:1127
91#, c-format 91#, c-format
92msgid "invalid choice \"%s\". Valid values are: " 92msgid "invalid choice \"%s\". Valid values are: "
93msgstr "choix non valide « %s ». Les valeurs valides sont : " 93msgstr "choix non valide « %s ». Les valeurs valides sont : "
94 94
95#: src/lib/ecore/ecore_getopt.c:1151 95#: src/lib/ecore/ecore_getopt.c:1155
96msgid "missing parameter to append.\n" 96msgid "missing parameter to append.\n"
97msgstr "paramètre manquant à ajouter.\n" 97msgstr "paramètre manquant à ajouter.\n"
98 98
99#: src/lib/ecore/ecore_getopt.c:1255 99#: src/lib/ecore/ecore_getopt.c:1259
100msgid "could not parse value.\n" 100msgid "could not parse value.\n"
101msgstr "analyse de la valeur impossible.\n" 101msgstr "analyse de la valeur impossible.\n"
102 102
103#: src/lib/ecore/ecore_getopt.c:1312 103#: src/lib/ecore/ecore_getopt.c:1316
104msgid "missing parameter.\n" 104msgid "missing parameter.\n"
105msgstr "paramètre manquant.\n" 105msgstr "paramètre manquant.\n"
106 106
107#: src/lib/ecore/ecore_getopt.c:1325 107#: src/lib/ecore/ecore_getopt.c:1329
108msgid "missing callback function!\n" 108msgid "missing callback function!\n"
109msgstr "fonction de rappel manquante !\n" 109msgstr "fonction de rappel manquante !\n"
110 110
111#: src/lib/ecore/ecore_getopt.c:1354 111#: src/lib/ecore/ecore_getopt.c:1358
112msgid "no version was defined.\n" 112msgid "no version was defined.\n"
113msgstr "aucune version n'est définie.\n" 113msgstr "aucune version n'est définie.\n"
114 114
115#: src/lib/ecore/ecore_getopt.c:1371 115#: src/lib/ecore/ecore_getopt.c:1375
116msgid "no copyright was defined.\n" 116msgid "no copyright was defined.\n"
117msgstr "aucun copyright n'est défini.\n" 117msgstr "aucun copyright n'est défini.\n"
118 118
119#: src/lib/ecore/ecore_getopt.c:1388 119#: src/lib/ecore/ecore_getopt.c:1392
120msgid "no license was defined.\n" 120msgid "no license was defined.\n"
121msgstr "aucune licence n'est définie.\n" 121msgstr "aucune licence n'est définie.\n"
122 122
123#: src/lib/ecore/ecore_getopt.c:1463 123#: src/lib/ecore/ecore_getopt.c:1467
124#, c-format 124#, c-format
125msgid "ERROR: unknown option --%s, ignored.\n" 125msgid "ERROR: unknown option --%s, ignored.\n"
126msgstr "ERREUR : option inconnue --%s, non prise en compte.\n" 126msgstr "ERREUR : option inconnue --%s, non prise en compte.\n"
127 127
128#: src/lib/ecore/ecore_getopt.c:1496 128#: src/lib/ecore/ecore_getopt.c:1500
129#, c-format 129#, c-format
130msgid "ERROR: option --%s requires an argument!\n" 130msgid "ERROR: option --%s requires an argument!\n"
131msgstr "ERREUR : l'option --%s requiert un argument !\n" 131msgstr "ERREUR : l'option --%s requiert un argument !\n"
132 132
133#: src/lib/ecore/ecore_getopt.c:1538 133#: src/lib/ecore/ecore_getopt.c:1542
134#, c-format 134#, c-format
135msgid "ERROR: unknown option -%c, ignored.\n" 135msgid "ERROR: unknown option -%c, ignored.\n"
136msgstr "ERREUR : option inconnue -%c, non prise en compte.\n" 136msgstr "ERREUR : option inconnue -%c, non prise en compte.\n"
137 137
138#: src/lib/ecore/ecore_getopt.c:1576 138#: src/lib/ecore/ecore_getopt.c:1580
139#, c-format 139#, c-format
140msgid "ERROR: option -%c requires an argument!\n" 140msgid "ERROR: option -%c requires an argument!\n"
141msgstr "ERREUR : l'option -%c requiert un argument !\n" 141msgstr "ERREUR : l'option -%c requiert un argument !\n"
142 142
143#: src/lib/ecore/ecore_getopt.c:1785 143#: src/lib/ecore/ecore_getopt.c:1789
144msgid "ERROR: no parser provided.\n" 144msgid "ERROR: no parser provided.\n"
145msgstr "ERREUR : aucun analyseur n'est fourni.\n" 145msgstr "ERREUR : aucun analyseur n'est fourni.\n"
146 146
147#: src/lib/ecore/ecore_getopt.c:1790 147#: src/lib/ecore/ecore_getopt.c:1794
148msgid "ERROR: no values provided.\n" 148msgid "ERROR: no values provided.\n"
149msgstr "ERREUR : aucune valeur n'est fournie.\n" 149msgstr "ERREUR : aucune valeur n'est fournie.\n"
150 150
151#: src/lib/ecore/ecore_getopt.c:1799 151#: src/lib/ecore/ecore_getopt.c:1803
152msgid "ERROR: no arguments provided.\n" 152msgid "ERROR: no arguments provided.\n"
153msgstr "ERREUR : aucun argument n'est fourni.\n" 153msgstr "ERREUR : aucun argument n'est fourni.\n"
154 154
155#: src/lib/ecore/ecore_getopt.c:1825 155#: src/lib/ecore/ecore_getopt.c:1829
156msgid "ERROR: invalid options found." 156msgid "ERROR: invalid options found."
157msgstr "ERREUR : options non valides détectées." 157msgstr "ERREUR : options non valides détectées."
158 158
159#: src/lib/ecore/ecore_getopt.c:1831 159#: src/lib/ecore/ecore_getopt.c:1835
160#, c-format 160#, c-format
161msgid " See --%s.\n" 161msgid " See --%s.\n"
162msgstr " Voir --%s.\n" 162msgstr " Voir --%s.\n"
163 163
164#: src/lib/ecore/ecore_getopt.c:1833 164#: src/lib/ecore/ecore_getopt.c:1837
165#, c-format 165#, c-format
166msgid " See -%c.\n" 166msgid " See -%c.\n"
167msgstr " Voir -%c.\n" 167msgstr " Voir -%c.\n"
168 168
169#: src/lib/ecore/ecore_getopt.c:1875 169#: src/lib/ecore/ecore_getopt.c:1879
170#, c-format 170#, c-format
171msgid "ERROR: incorrect geometry value '%s'\n" 171msgid "ERROR: incorrect geometry value '%s'\n"
172msgstr "ERREUR : valeur géométrique incorrecte « %s »\n" 172msgstr "ERREUR : valeur géométrique incorrecte « %s »\n"
173 173
174#: src/lib/ecore/ecore_getopt.c:1903 174#: src/lib/ecore/ecore_getopt.c:1907
175#, c-format 175#, c-format
176msgid "ERROR: incorrect size value '%s'\n" 176msgid "ERROR: incorrect size value '%s'\n"
177msgstr "ERREUR : valeur de taille incorrecte « %s »\n" 177msgstr "ERREUR : valeur de taille incorrecte « %s »\n"
diff --git a/libraries/ecore/po/it.gmo b/libraries/ecore/po/it.gmo
index 3361b47..3a83e76 100644
--- a/libraries/ecore/po/it.gmo
+++ b/libraries/ecore/po/it.gmo
Binary files differ
diff --git a/libraries/ecore/po/it.po b/libraries/ecore/po/it.po
index b4ff61d..45ceb9f 100644
--- a/libraries/ecore/po/it.po
+++ b/libraries/ecore/po/it.po
@@ -6,168 +6,168 @@ msgid ""
6msgstr "" 6msgstr ""
7"Project-Id-Version: Ecore\n" 7"Project-Id-Version: Ecore\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2012-01-23 23:19+1000\n" 9"POT-Creation-Date: 2012-03-17 11:44+0900\n"
10"PO-Revision-Date: 2009-10-27 19:36+0100\n" 10"PO-Revision-Date: 2009-10-27 19:36+0100\n"
11"Last-Translator: quaker66 <quaker66@gmail.com>\n" 11"Last-Translator: quaker66 <quaker66@gmail.com>\n"
12"Language-Team: none\n" 12"Language-Team: none\n"
13"Language: \n"
13"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
16"Language: \n"
17 17
18#: src/lib/ecore/ecore_getopt.c:91 18#: src/lib/ecore/ecore_getopt.c:95
19msgid "Version:" 19msgid "Version:"
20msgstr "Versione:" 20msgstr "Versione:"
21 21
22#: src/lib/ecore/ecore_getopt.c:100 22#: src/lib/ecore/ecore_getopt.c:104
23msgid "Usage:" 23msgid "Usage:"
24msgstr "Uso:" 24msgstr "Uso:"
25 25
26#: src/lib/ecore/ecore_getopt.c:105 26#: src/lib/ecore/ecore_getopt.c:109
27#, c-format 27#, c-format
28msgid "%s [options]\n" 28msgid "%s [options]\n"
29msgstr "%s [opzioni]\n" 29msgstr "%s [opzioni]\n"
30 30
31#: src/lib/ecore/ecore_getopt.c:260 31#: src/lib/ecore/ecore_getopt.c:264
32msgid "Copyright:" 32msgid "Copyright:"
33msgstr "Copyright:" 33msgstr "Copyright:"
34 34
35#: src/lib/ecore/ecore_getopt.c:272 35#: src/lib/ecore/ecore_getopt.c:276
36msgid "License:" 36msgid "License:"
37msgstr "Licenza:" 37msgstr "Licenza:"
38 38
39#: src/lib/ecore/ecore_getopt.c:453 39#: src/lib/ecore/ecore_getopt.c:457
40msgid "Type: " 40msgid "Type: "
41msgstr "Tipo: " 41msgstr "Tipo: "
42 42
43#: src/lib/ecore/ecore_getopt.c:529 43#: src/lib/ecore/ecore_getopt.c:533
44msgid "Default: " 44msgid "Default: "
45msgstr "Predefinito:" 45msgstr "Predefinito:"
46 46
47#: src/lib/ecore/ecore_getopt.c:556 47#: src/lib/ecore/ecore_getopt.c:560
48msgid "Choices: " 48msgid "Choices: "
49msgstr "Scelte:" 49msgstr "Scelte:"
50 50
51#: src/lib/ecore/ecore_getopt.c:657 51#: src/lib/ecore/ecore_getopt.c:661
52msgid "Options:\n" 52msgid "Options:\n"
53msgstr "Opzioni:\n" 53msgstr "Opzioni:\n"
54 54
55#: src/lib/ecore/ecore_getopt.c:782 55#: src/lib/ecore/ecore_getopt.c:786
56#, c-format 56#, c-format
57msgid "ERROR: unknown option --%s.\n" 57msgid "ERROR: unknown option --%s.\n"
58msgstr "ERRORE: opzione sconosciuta --%s.\n" 58msgstr "ERRORE: opzione sconosciuta --%s.\n"
59 59
60#: src/lib/ecore/ecore_getopt.c:784 60#: src/lib/ecore/ecore_getopt.c:788
61#, c-format 61#, c-format
62msgid "ERROR: unknown option -%c.\n" 62msgid "ERROR: unknown option -%c.\n"
63msgstr "ERRORE: opzione sconosciuta -%c.\n" 63msgstr "ERRORE: opzione sconosciuta -%c.\n"
64 64
65#: src/lib/ecore/ecore_getopt.c:842 65#: src/lib/ecore/ecore_getopt.c:846
66msgid "ERROR: " 66msgid "ERROR: "
67msgstr "ERRORE:" 67msgstr "ERRORE:"
68 68
69#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 69#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
70#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 70#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
71#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 71#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
72#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 72#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
73msgid "value has no pointer set.\n" 73msgid "value has no pointer set.\n"
74msgstr "il valore non ha puntatori impostati.\n" 74msgstr "il valore non ha puntatori impostati.\n"
75 75
76#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 76#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
77#, c-format 77#, c-format
78msgid "unknown boolean value %s.\n" 78msgid "unknown boolean value %s.\n"
79msgstr "valore booleano sconosciuto %s.\n" 79msgstr "valore booleano sconosciuto %s.\n"
80 80
81#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 81#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
82#, c-format 82#, c-format
83msgid "invalid number format %s\n" 83msgid "invalid number format %s\n"
84msgstr "formato numero non valido %s\n" 84msgstr "formato numero non valido %s\n"
85 85
86#: src/lib/ecore/ecore_getopt.c:1123 86#: src/lib/ecore/ecore_getopt.c:1127
87#, c-format 87#, c-format
88msgid "invalid choice \"%s\". Valid values are: " 88msgid "invalid choice \"%s\". Valid values are: "
89msgstr "scelta non valida \"%s\". I valori ammessi sono: " 89msgstr "scelta non valida \"%s\". I valori ammessi sono: "
90 90
91#: src/lib/ecore/ecore_getopt.c:1151 91#: src/lib/ecore/ecore_getopt.c:1155
92msgid "missing parameter to append.\n" 92msgid "missing parameter to append.\n"
93msgstr "parametro da appendere mancante.\n" 93msgstr "parametro da appendere mancante.\n"
94 94
95#: src/lib/ecore/ecore_getopt.c:1255 95#: src/lib/ecore/ecore_getopt.c:1259
96msgid "could not parse value.\n" 96msgid "could not parse value.\n"
97msgstr "impossibile il parsing del valore.\n" 97msgstr "impossibile il parsing del valore.\n"
98 98
99#: src/lib/ecore/ecore_getopt.c:1312 99#: src/lib/ecore/ecore_getopt.c:1316
100msgid "missing parameter.\n" 100msgid "missing parameter.\n"
101msgstr "parametro mancante.\n" 101msgstr "parametro mancante.\n"
102 102
103#: src/lib/ecore/ecore_getopt.c:1325 103#: src/lib/ecore/ecore_getopt.c:1329
104msgid "missing callback function!\n" 104msgid "missing callback function!\n"
105msgstr "funzione callback mancante!\n" 105msgstr "funzione callback mancante!\n"
106 106
107#: src/lib/ecore/ecore_getopt.c:1354 107#: src/lib/ecore/ecore_getopt.c:1358
108msgid "no version was defined.\n" 108msgid "no version was defined.\n"
109msgstr "nessuna versione definita.\n" 109msgstr "nessuna versione definita.\n"
110 110
111#: src/lib/ecore/ecore_getopt.c:1371 111#: src/lib/ecore/ecore_getopt.c:1375
112msgid "no copyright was defined.\n" 112msgid "no copyright was defined.\n"
113msgstr "nessun copyright definito.\n" 113msgstr "nessun copyright definito.\n"
114 114
115#: src/lib/ecore/ecore_getopt.c:1388 115#: src/lib/ecore/ecore_getopt.c:1392
116msgid "no license was defined.\n" 116msgid "no license was defined.\n"
117msgstr "nessuna licenza definita.\n" 117msgstr "nessuna licenza definita.\n"
118 118
119#: src/lib/ecore/ecore_getopt.c:1463 119#: src/lib/ecore/ecore_getopt.c:1467
120#, c-format 120#, c-format
121msgid "ERROR: unknown option --%s, ignored.\n" 121msgid "ERROR: unknown option --%s, ignored.\n"
122msgstr "ERRORE: opzione sconosciuta --%s, ignorata.\n" 122msgstr "ERRORE: opzione sconosciuta --%s, ignorata.\n"
123 123
124#: src/lib/ecore/ecore_getopt.c:1496 124#: src/lib/ecore/ecore_getopt.c:1500
125#, c-format 125#, c-format
126msgid "ERROR: option --%s requires an argument!\n" 126msgid "ERROR: option --%s requires an argument!\n"
127msgstr "ERRORE: l'opzione --%s richiede un argomento!\n" 127msgstr "ERRORE: l'opzione --%s richiede un argomento!\n"
128 128
129#: src/lib/ecore/ecore_getopt.c:1538 129#: src/lib/ecore/ecore_getopt.c:1542
130#, c-format 130#, c-format
131msgid "ERROR: unknown option -%c, ignored.\n" 131msgid "ERROR: unknown option -%c, ignored.\n"
132msgstr "ERRORE: opzione sconosciuta -%c, ignorata.\n" 132msgstr "ERRORE: opzione sconosciuta -%c, ignorata.\n"
133 133
134#: src/lib/ecore/ecore_getopt.c:1576 134#: src/lib/ecore/ecore_getopt.c:1580
135#, c-format 135#, c-format
136msgid "ERROR: option -%c requires an argument!\n" 136msgid "ERROR: option -%c requires an argument!\n"
137msgstr "ERRORE: l'opzione -%c richiede un argomento!\n" 137msgstr "ERRORE: l'opzione -%c richiede un argomento!\n"
138 138
139#: src/lib/ecore/ecore_getopt.c:1785 139#: src/lib/ecore/ecore_getopt.c:1789
140msgid "ERROR: no parser provided.\n" 140msgid "ERROR: no parser provided.\n"
141msgstr "ERRORE: nessun parser fornito.\n" 141msgstr "ERRORE: nessun parser fornito.\n"
142 142
143#: src/lib/ecore/ecore_getopt.c:1790 143#: src/lib/ecore/ecore_getopt.c:1794
144msgid "ERROR: no values provided.\n" 144msgid "ERROR: no values provided.\n"
145msgstr "ERRORE: nessun valore fornito.\n" 145msgstr "ERRORE: nessun valore fornito.\n"
146 146
147#: src/lib/ecore/ecore_getopt.c:1799 147#: src/lib/ecore/ecore_getopt.c:1803
148msgid "ERROR: no arguments provided.\n" 148msgid "ERROR: no arguments provided.\n"
149msgstr "ERRORE: nessun argomento fornito.\n" 149msgstr "ERRORE: nessun argomento fornito.\n"
150 150
151#: src/lib/ecore/ecore_getopt.c:1825 151#: src/lib/ecore/ecore_getopt.c:1829
152msgid "ERROR: invalid options found." 152msgid "ERROR: invalid options found."
153msgstr "ERRORE: trovate opzioni non valide." 153msgstr "ERRORE: trovate opzioni non valide."
154 154
155#: src/lib/ecore/ecore_getopt.c:1831 155#: src/lib/ecore/ecore_getopt.c:1835
156#, c-format 156#, c-format
157msgid " See --%s.\n" 157msgid " See --%s.\n"
158msgstr " Vedere --%s.\n" 158msgstr " Vedere --%s.\n"
159 159
160#: src/lib/ecore/ecore_getopt.c:1833 160#: src/lib/ecore/ecore_getopt.c:1837
161#, c-format 161#, c-format
162msgid " See -%c.\n" 162msgid " See -%c.\n"
163msgstr " Vedere -%c.\n" 163msgstr " Vedere -%c.\n"
164 164
165#: src/lib/ecore/ecore_getopt.c:1875 165#: src/lib/ecore/ecore_getopt.c:1879
166#, c-format 166#, c-format
167msgid "ERROR: incorrect geometry value '%s'\n" 167msgid "ERROR: incorrect geometry value '%s'\n"
168msgstr "ERRORE: valore geometrico non corretto '%s'\n" 168msgstr "ERRORE: valore geometrico non corretto '%s'\n"
169 169
170#: src/lib/ecore/ecore_getopt.c:1903 170#: src/lib/ecore/ecore_getopt.c:1907
171#, c-format 171#, c-format
172msgid "ERROR: incorrect size value '%s'\n" 172msgid "ERROR: incorrect size value '%s'\n"
173msgstr "ERRORE: valore dimensione non corretto '%s'\n" 173msgstr "ERRORE: valore dimensione non corretto '%s'\n"
diff --git a/libraries/ecore/po/nl.gmo b/libraries/ecore/po/nl.gmo
index 746f7df..babde95 100644
--- a/libraries/ecore/po/nl.gmo
+++ b/libraries/ecore/po/nl.gmo
Binary files differ
diff --git a/libraries/ecore/po/nl.po b/libraries/ecore/po/nl.po
index 04e3256..54785e2 100644
--- a/libraries/ecore/po/nl.po
+++ b/libraries/ecore/po/nl.po
@@ -6,170 +6,170 @@ msgid ""
6msgstr "" 6msgstr ""
7"Project-Id-Version: Ecore\n" 7"Project-Id-Version: Ecore\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2012-01-23 23:19+1000\n" 9"POT-Creation-Date: 2012-03-17 11:44+0900\n"
10"PO-Revision-Date: 2011-09-03 15:48+0100\n" 10"PO-Revision-Date: 2011-09-03 15:48+0100\n"
11"Last-Translator: Heimen Stoffels <vistausss@gmail.com>\n" 11"Last-Translator: Heimen Stoffels <vistausss@gmail.com>\n"
12"Language-Team: <vistausss@gmail.com>\n" 12"Language-Team: <vistausss@gmail.com>\n"
13"Language: \n"
13"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
16"Language: \n"
17"X-Poedit-Language: NL\n" 17"X-Poedit-Language: NL\n"
18"X-Poedit-Country: Nederland\n" 18"X-Poedit-Country: Nederland\n"
19 19
20#: src/lib/ecore/ecore_getopt.c:91 20#: src/lib/ecore/ecore_getopt.c:95
21msgid "Version:" 21msgid "Version:"
22msgstr "Versie:" 22msgstr "Versie:"
23 23
24#: src/lib/ecore/ecore_getopt.c:100 24#: src/lib/ecore/ecore_getopt.c:104
25msgid "Usage:" 25msgid "Usage:"
26msgstr "Gebruik:" 26msgstr "Gebruik:"
27 27
28#: src/lib/ecore/ecore_getopt.c:105 28#: src/lib/ecore/ecore_getopt.c:109
29#, c-format 29#, c-format
30msgid "%s [options]\n" 30msgid "%s [options]\n"
31msgstr "%s [opties]\n" 31msgstr "%s [opties]\n"
32 32
33#: src/lib/ecore/ecore_getopt.c:260 33#: src/lib/ecore/ecore_getopt.c:264
34msgid "Copyright:" 34msgid "Copyright:"
35msgstr "Copyright:" 35msgstr "Copyright:"
36 36
37#: src/lib/ecore/ecore_getopt.c:272 37#: src/lib/ecore/ecore_getopt.c:276
38msgid "License:" 38msgid "License:"
39msgstr "Licentie:" 39msgstr "Licentie:"
40 40
41#: src/lib/ecore/ecore_getopt.c:453 41#: src/lib/ecore/ecore_getopt.c:457
42msgid "Type: " 42msgid "Type: "
43msgstr "Type:" 43msgstr "Type:"
44 44
45#: src/lib/ecore/ecore_getopt.c:529 45#: src/lib/ecore/ecore_getopt.c:533
46msgid "Default: " 46msgid "Default: "
47msgstr "Standaard:" 47msgstr "Standaard:"
48 48
49#: src/lib/ecore/ecore_getopt.c:556 49#: src/lib/ecore/ecore_getopt.c:560
50msgid "Choices: " 50msgid "Choices: "
51msgstr "Keuzes:" 51msgstr "Keuzes:"
52 52
53#: src/lib/ecore/ecore_getopt.c:657 53#: src/lib/ecore/ecore_getopt.c:661
54msgid "Options:\n" 54msgid "Options:\n"
55msgstr "Opties:\n" 55msgstr "Opties:\n"
56 56
57#: src/lib/ecore/ecore_getopt.c:782 57#: src/lib/ecore/ecore_getopt.c:786
58#, c-format 58#, c-format
59msgid "ERROR: unknown option --%s.\n" 59msgid "ERROR: unknown option --%s.\n"
60msgstr "FOUT: onbekende optie --%s.\n" 60msgstr "FOUT: onbekende optie --%s.\n"
61 61
62#: src/lib/ecore/ecore_getopt.c:784 62#: src/lib/ecore/ecore_getopt.c:788
63#, c-format 63#, c-format
64msgid "ERROR: unknown option -%c.\n" 64msgid "ERROR: unknown option -%c.\n"
65msgstr "FOUT: onbekende optie -%c.\n" 65msgstr "FOUT: onbekende optie -%c.\n"
66 66
67#: src/lib/ecore/ecore_getopt.c:842 67#: src/lib/ecore/ecore_getopt.c:846
68msgid "ERROR: " 68msgid "ERROR: "
69msgstr "FOUT:" 69msgstr "FOUT:"
70 70
71#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 71#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
72#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 72#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
73#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 73#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
74#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 74#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
75msgid "value has no pointer set.\n" 75msgid "value has no pointer set.\n"
76msgstr "waarde heeft geen pointer ingsteld.\n" 76msgstr "waarde heeft geen pointer ingsteld.\n"
77 77
78#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 78#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
79#, c-format 79#, c-format
80msgid "unknown boolean value %s.\n" 80msgid "unknown boolean value %s.\n"
81msgstr "onbekende boolean-waarde %s.\n" 81msgstr "onbekende boolean-waarde %s.\n"
82 82
83#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 83#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
84#, c-format 84#, c-format
85msgid "invalid number format %s\n" 85msgid "invalid number format %s\n"
86msgstr "ongeldig nummerformaat %s\n" 86msgstr "ongeldig nummerformaat %s\n"
87 87
88#: src/lib/ecore/ecore_getopt.c:1123 88#: src/lib/ecore/ecore_getopt.c:1127
89#, c-format 89#, c-format
90msgid "invalid choice \"%s\". Valid values are: " 90msgid "invalid choice \"%s\". Valid values are: "
91msgstr "ongeldige keuze \"%s\". Geldige waardes zijn:" 91msgstr "ongeldige keuze \"%s\". Geldige waardes zijn:"
92 92
93#: src/lib/ecore/ecore_getopt.c:1151 93#: src/lib/ecore/ecore_getopt.c:1155
94msgid "missing parameter to append.\n" 94msgid "missing parameter to append.\n"
95msgstr "parameter om toe te wijzen ontbreekt.\n" 95msgstr "parameter om toe te wijzen ontbreekt.\n"
96 96
97#: src/lib/ecore/ecore_getopt.c:1255 97#: src/lib/ecore/ecore_getopt.c:1259
98msgid "could not parse value.\n" 98msgid "could not parse value.\n"
99msgstr "kon waarde niet doorvoeren.\n" 99msgstr "kon waarde niet doorvoeren.\n"
100 100
101#: src/lib/ecore/ecore_getopt.c:1312 101#: src/lib/ecore/ecore_getopt.c:1316
102msgid "missing parameter.\n" 102msgid "missing parameter.\n"
103msgstr "paramater ontbreekt.\n" 103msgstr "paramater ontbreekt.\n"
104 104
105#: src/lib/ecore/ecore_getopt.c:1325 105#: src/lib/ecore/ecore_getopt.c:1329
106msgid "missing callback function!\n" 106msgid "missing callback function!\n"
107msgstr "ontbrekende terugroep-functie!\n" 107msgstr "ontbrekende terugroep-functie!\n"
108 108
109#: src/lib/ecore/ecore_getopt.c:1354 109#: src/lib/ecore/ecore_getopt.c:1358
110msgid "no version was defined.\n" 110msgid "no version was defined.\n"
111msgstr "geen versie was gedefinieerd.\n" 111msgstr "geen versie was gedefinieerd.\n"
112 112
113#: src/lib/ecore/ecore_getopt.c:1371 113#: src/lib/ecore/ecore_getopt.c:1375
114msgid "no copyright was defined.\n" 114msgid "no copyright was defined.\n"
115msgstr "geen copyright was gedefinieerd.\n" 115msgstr "geen copyright was gedefinieerd.\n"
116 116
117#: src/lib/ecore/ecore_getopt.c:1388 117#: src/lib/ecore/ecore_getopt.c:1392
118msgid "no license was defined.\n" 118msgid "no license was defined.\n"
119msgstr "geen licentie was gedefinieerd.\n" 119msgstr "geen licentie was gedefinieerd.\n"
120 120
121#: src/lib/ecore/ecore_getopt.c:1463 121#: src/lib/ecore/ecore_getopt.c:1467
122#, c-format 122#, c-format
123msgid "ERROR: unknown option --%s, ignored.\n" 123msgid "ERROR: unknown option --%s, ignored.\n"
124msgstr "FOUT: onbekende optie --%s, genegeerd.\n" 124msgstr "FOUT: onbekende optie --%s, genegeerd.\n"
125 125
126#: src/lib/ecore/ecore_getopt.c:1496 126#: src/lib/ecore/ecore_getopt.c:1500
127#, c-format 127#, c-format
128msgid "ERROR: option --%s requires an argument!\n" 128msgid "ERROR: option --%s requires an argument!\n"
129msgstr "FOUT: optie --%s vereist een argument!\n" 129msgstr "FOUT: optie --%s vereist een argument!\n"
130 130
131#: src/lib/ecore/ecore_getopt.c:1538 131#: src/lib/ecore/ecore_getopt.c:1542
132#, c-format 132#, c-format
133msgid "ERROR: unknown option -%c, ignored.\n" 133msgid "ERROR: unknown option -%c, ignored.\n"
134msgstr "FOUT: onbekende opties -%c, genegeerd.\n" 134msgstr "FOUT: onbekende opties -%c, genegeerd.\n"
135 135
136#: src/lib/ecore/ecore_getopt.c:1576 136#: src/lib/ecore/ecore_getopt.c:1580
137#, c-format 137#, c-format
138msgid "ERROR: option -%c requires an argument!\n" 138msgid "ERROR: option -%c requires an argument!\n"
139msgstr "FOUT: optie -%c vereist een argument!\n" 139msgstr "FOUT: optie -%c vereist een argument!\n"
140 140
141#: src/lib/ecore/ecore_getopt.c:1785 141#: src/lib/ecore/ecore_getopt.c:1789
142msgid "ERROR: no parser provided.\n" 142msgid "ERROR: no parser provided.\n"
143msgstr "FOUT: geen doorvoerder beschikbaar gesteld.\n" 143msgstr "FOUT: geen doorvoerder beschikbaar gesteld.\n"
144 144
145#: src/lib/ecore/ecore_getopt.c:1790 145#: src/lib/ecore/ecore_getopt.c:1794
146msgid "ERROR: no values provided.\n" 146msgid "ERROR: no values provided.\n"
147msgstr "FOUT: geen waarden beschikbaar gesteld.\n" 147msgstr "FOUT: geen waarden beschikbaar gesteld.\n"
148 148
149#: src/lib/ecore/ecore_getopt.c:1799 149#: src/lib/ecore/ecore_getopt.c:1803
150msgid "ERROR: no arguments provided.\n" 150msgid "ERROR: no arguments provided.\n"
151msgstr "FOUT: geen argumenten beschibaar gesteld.\n" 151msgstr "FOUT: geen argumenten beschibaar gesteld.\n"
152 152
153#: src/lib/ecore/ecore_getopt.c:1825 153#: src/lib/ecore/ecore_getopt.c:1829
154msgid "ERROR: invalid options found." 154msgid "ERROR: invalid options found."
155msgstr "FOUT: ongeldige opties gevonden." 155msgstr "FOUT: ongeldige opties gevonden."
156 156
157#: src/lib/ecore/ecore_getopt.c:1831 157#: src/lib/ecore/ecore_getopt.c:1835
158#, c-format 158#, c-format
159msgid " See --%s.\n" 159msgid " See --%s.\n"
160msgstr "Zie --%s.\n" 160msgstr "Zie --%s.\n"
161 161
162#: src/lib/ecore/ecore_getopt.c:1833 162#: src/lib/ecore/ecore_getopt.c:1837
163#, c-format 163#, c-format
164msgid " See -%c.\n" 164msgid " See -%c.\n"
165msgstr "Zie -%c.\n" 165msgstr "Zie -%c.\n"
166 166
167#: src/lib/ecore/ecore_getopt.c:1875 167#: src/lib/ecore/ecore_getopt.c:1879
168#, c-format 168#, c-format
169msgid "ERROR: incorrect geometry value '%s'\n" 169msgid "ERROR: incorrect geometry value '%s'\n"
170msgstr "Fout: foutieve wiskundige waarde '%s'\n" 170msgstr "Fout: foutieve wiskundige waarde '%s'\n"
171 171
172#: src/lib/ecore/ecore_getopt.c:1903 172#: src/lib/ecore/ecore_getopt.c:1907
173#, c-format 173#, c-format
174msgid "ERROR: incorrect size value '%s'\n" 174msgid "ERROR: incorrect size value '%s'\n"
175msgstr "FOUT: foutieve grootte-waarden '%s'\n" 175msgstr "FOUT: foutieve grootte-waarden '%s'\n"
diff --git a/libraries/ecore/po/pt.gmo b/libraries/ecore/po/pt.gmo
index 617b5cb..ff7ef91 100644
--- a/libraries/ecore/po/pt.gmo
+++ b/libraries/ecore/po/pt.gmo
Binary files differ
diff --git a/libraries/ecore/po/pt.po b/libraries/ecore/po/pt.po
index b192be9..3892c6b 100644
--- a/libraries/ecore/po/pt.po
+++ b/libraries/ecore/po/pt.po
@@ -6,171 +6,171 @@ msgid ""
6msgstr "" 6msgstr ""
7"Project-Id-Version: ecore\n" 7"Project-Id-Version: ecore\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2012-01-23 23:19+1000\n" 9"POT-Creation-Date: 2012-03-17 11:44+0900\n"
10"PO-Revision-Date: 2010-10-06 12:37-0000\n" 10"PO-Revision-Date: 2010-10-06 12:37-0000\n"
11"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n" 11"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
12"Language-Team: \n" 12"Language-Team: \n"
13"Language: \n"
13"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=utf-8\n" 15"Content-Type: text/plain; charset=utf-8\n"
15"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
16"Language: \n"
17"Plural-Forms: nplurals=2; plural=(n > 1);\n" 17"Plural-Forms: nplurals=2; plural=(n > 1);\n"
18"X-Poedit-Language: Portuguese\n" 18"X-Poedit-Language: Portuguese\n"
19"X-Poedit-Country: Portugal\n" 19"X-Poedit-Country: Portugal\n"
20 20
21#: src/lib/ecore/ecore_getopt.c:91 21#: src/lib/ecore/ecore_getopt.c:95
22msgid "Version:" 22msgid "Version:"
23msgstr "Versão:" 23msgstr "Versão:"
24 24
25#: src/lib/ecore/ecore_getopt.c:100 25#: src/lib/ecore/ecore_getopt.c:104
26msgid "Usage:" 26msgid "Usage:"
27msgstr "Utilização:" 27msgstr "Utilização:"
28 28
29#: src/lib/ecore/ecore_getopt.c:105 29#: src/lib/ecore/ecore_getopt.c:109
30#, c-format 30#, c-format
31msgid "%s [options]\n" 31msgid "%s [options]\n"
32msgstr "%s [opções]\n" 32msgstr "%s [opções]\n"
33 33
34#: src/lib/ecore/ecore_getopt.c:260 34#: src/lib/ecore/ecore_getopt.c:264
35msgid "Copyright:" 35msgid "Copyright:"
36msgstr "Direitos de autor:" 36msgstr "Direitos de autor:"
37 37
38#: src/lib/ecore/ecore_getopt.c:272 38#: src/lib/ecore/ecore_getopt.c:276
39msgid "License:" 39msgid "License:"
40msgstr "Licença:" 40msgstr "Licença:"
41 41
42#: src/lib/ecore/ecore_getopt.c:453 42#: src/lib/ecore/ecore_getopt.c:457
43msgid "Type: " 43msgid "Type: "
44msgstr "Tipo:" 44msgstr "Tipo:"
45 45
46#: src/lib/ecore/ecore_getopt.c:529 46#: src/lib/ecore/ecore_getopt.c:533
47msgid "Default: " 47msgid "Default: "
48msgstr "Omissão:" 48msgstr "Omissão:"
49 49
50#: src/lib/ecore/ecore_getopt.c:556 50#: src/lib/ecore/ecore_getopt.c:560
51msgid "Choices: " 51msgid "Choices: "
52msgstr "Escolhas:" 52msgstr "Escolhas:"
53 53
54#: src/lib/ecore/ecore_getopt.c:657 54#: src/lib/ecore/ecore_getopt.c:661
55msgid "Options:\n" 55msgid "Options:\n"
56msgstr "Opções:\n" 56msgstr "Opções:\n"
57 57
58#: src/lib/ecore/ecore_getopt.c:782 58#: src/lib/ecore/ecore_getopt.c:786
59#, c-format 59#, c-format
60msgid "ERROR: unknown option --%s.\n" 60msgid "ERROR: unknown option --%s.\n"
61msgstr "ERRO: opção desconhecida --%s.\n" 61msgstr "ERRO: opção desconhecida --%s.\n"
62 62
63#: src/lib/ecore/ecore_getopt.c:784 63#: src/lib/ecore/ecore_getopt.c:788
64#, c-format 64#, c-format
65msgid "ERROR: unknown option -%c.\n" 65msgid "ERROR: unknown option -%c.\n"
66msgstr "ERRO: opção desconhecida -%c.\n" 66msgstr "ERRO: opção desconhecida -%c.\n"
67 67
68#: src/lib/ecore/ecore_getopt.c:842 68#: src/lib/ecore/ecore_getopt.c:846
69msgid "ERROR: " 69msgid "ERROR: "
70msgstr "ERRO: " 70msgstr "ERRO: "
71 71
72#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 72#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
73#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 73#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
74#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 74#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
75#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 75#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
76msgid "value has no pointer set.\n" 76msgid "value has no pointer set.\n"
77msgstr "o valor não está definido.\n" 77msgstr "o valor não está definido.\n"
78 78
79#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 79#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
80#, c-format 80#, c-format
81msgid "unknown boolean value %s.\n" 81msgid "unknown boolean value %s.\n"
82msgstr "valor booleano desconhecido %s.\n" 82msgstr "valor booleano desconhecido %s.\n"
83 83
84#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 84#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
85#, c-format 85#, c-format
86msgid "invalid number format %s\n" 86msgid "invalid number format %s\n"
87msgstr "formato do número inválido %s\n" 87msgstr "formato do número inválido %s\n"
88 88
89#: src/lib/ecore/ecore_getopt.c:1123 89#: src/lib/ecore/ecore_getopt.c:1127
90#, c-format 90#, c-format
91msgid "invalid choice \"%s\". Valid values are: " 91msgid "invalid choice \"%s\". Valid values are: "
92msgstr "escolha inválida \"%s\". O valores possíveis são:" 92msgstr "escolha inválida \"%s\". O valores possíveis são:"
93 93
94#: src/lib/ecore/ecore_getopt.c:1151 94#: src/lib/ecore/ecore_getopt.c:1155
95msgid "missing parameter to append.\n" 95msgid "missing parameter to append.\n"
96msgstr "faltam os parâmetros a anexar.\n" 96msgstr "faltam os parâmetros a anexar.\n"
97 97
98#: src/lib/ecore/ecore_getopt.c:1255 98#: src/lib/ecore/ecore_getopt.c:1259
99msgid "could not parse value.\n" 99msgid "could not parse value.\n"
100msgstr "incapaz de analisar o valor.\n" 100msgstr "incapaz de analisar o valor.\n"
101 101
102#: src/lib/ecore/ecore_getopt.c:1312 102#: src/lib/ecore/ecore_getopt.c:1316
103msgid "missing parameter.\n" 103msgid "missing parameter.\n"
104msgstr "parâmetro em falta.\n" 104msgstr "parâmetro em falta.\n"
105 105
106#: src/lib/ecore/ecore_getopt.c:1325 106#: src/lib/ecore/ecore_getopt.c:1329
107msgid "missing callback function!\n" 107msgid "missing callback function!\n"
108msgstr "função de chamada em falta!\n" 108msgstr "função de chamada em falta!\n"
109 109
110#: src/lib/ecore/ecore_getopt.c:1354 110#: src/lib/ecore/ecore_getopt.c:1358
111msgid "no version was defined.\n" 111msgid "no version was defined.\n"
112msgstr "nenhuma versão definida.\n" 112msgstr "nenhuma versão definida.\n"
113 113
114#: src/lib/ecore/ecore_getopt.c:1371 114#: src/lib/ecore/ecore_getopt.c:1375
115msgid "no copyright was defined.\n" 115msgid "no copyright was defined.\n"
116msgstr "direitos de autor não definidos.\n" 116msgstr "direitos de autor não definidos.\n"
117 117
118#: src/lib/ecore/ecore_getopt.c:1388 118#: src/lib/ecore/ecore_getopt.c:1392
119msgid "no license was defined.\n" 119msgid "no license was defined.\n"
120msgstr "licença não definida.\n" 120msgstr "licença não definida.\n"
121 121
122#: src/lib/ecore/ecore_getopt.c:1463 122#: src/lib/ecore/ecore_getopt.c:1467
123#, c-format 123#, c-format
124msgid "ERROR: unknown option --%s, ignored.\n" 124msgid "ERROR: unknown option --%s, ignored.\n"
125msgstr "ERRO: opção desconhecida --%s, ignorada.\n" 125msgstr "ERRO: opção desconhecida --%s, ignorada.\n"
126 126
127#: src/lib/ecore/ecore_getopt.c:1496 127#: src/lib/ecore/ecore_getopt.c:1500
128#, c-format 128#, c-format
129msgid "ERROR: option --%s requires an argument!\n" 129msgid "ERROR: option --%s requires an argument!\n"
130msgstr "ERRO: a opção --%s requer um argumento!\n" 130msgstr "ERRO: a opção --%s requer um argumento!\n"
131 131
132#: src/lib/ecore/ecore_getopt.c:1538 132#: src/lib/ecore/ecore_getopt.c:1542
133#, c-format 133#, c-format
134msgid "ERROR: unknown option -%c, ignored.\n" 134msgid "ERROR: unknown option -%c, ignored.\n"
135msgstr "ERRO: opção desconhecida --%c, ignorada.\n" 135msgstr "ERRO: opção desconhecida --%c, ignorada.\n"
136 136
137#: src/lib/ecore/ecore_getopt.c:1576 137#: src/lib/ecore/ecore_getopt.c:1580
138#, c-format 138#, c-format
139msgid "ERROR: option -%c requires an argument!\n" 139msgid "ERROR: option -%c requires an argument!\n"
140msgstr "ERRO: a opção --%c requer um argumento!\n" 140msgstr "ERRO: a opção --%c requer um argumento!\n"
141 141
142#: src/lib/ecore/ecore_getopt.c:1785 142#: src/lib/ecore/ecore_getopt.c:1789
143msgid "ERROR: no parser provided.\n" 143msgid "ERROR: no parser provided.\n"
144msgstr "ERRO: nenhum analisador fornecido.\n" 144msgstr "ERRO: nenhum analisador fornecido.\n"
145 145
146#: src/lib/ecore/ecore_getopt.c:1790 146#: src/lib/ecore/ecore_getopt.c:1794
147msgid "ERROR: no values provided.\n" 147msgid "ERROR: no values provided.\n"
148msgstr "ERRO: nenhum valor fornecido.\n" 148msgstr "ERRO: nenhum valor fornecido.\n"
149 149
150#: src/lib/ecore/ecore_getopt.c:1799 150#: src/lib/ecore/ecore_getopt.c:1803
151msgid "ERROR: no arguments provided.\n" 151msgid "ERROR: no arguments provided.\n"
152msgstr "ERRO: nenhum argumento fornecido.\n" 152msgstr "ERRO: nenhum argumento fornecido.\n"
153 153
154#: src/lib/ecore/ecore_getopt.c:1825 154#: src/lib/ecore/ecore_getopt.c:1829
155msgid "ERROR: invalid options found." 155msgid "ERROR: invalid options found."
156msgstr "ERRO: encontradas opções inválidas." 156msgstr "ERRO: encontradas opções inválidas."
157 157
158#: src/lib/ecore/ecore_getopt.c:1831 158#: src/lib/ecore/ecore_getopt.c:1835
159#, c-format 159#, c-format
160msgid " See --%s.\n" 160msgid " See --%s.\n"
161msgstr " Veja --%s.\n" 161msgstr " Veja --%s.\n"
162 162
163#: src/lib/ecore/ecore_getopt.c:1833 163#: src/lib/ecore/ecore_getopt.c:1837
164#, c-format 164#, c-format
165msgid " See -%c.\n" 165msgid " See -%c.\n"
166msgstr " Veja -%c.\n" 166msgstr " Veja -%c.\n"
167 167
168#: src/lib/ecore/ecore_getopt.c:1875 168#: src/lib/ecore/ecore_getopt.c:1879
169#, c-format 169#, c-format
170msgid "ERROR: incorrect geometry value '%s'\n" 170msgid "ERROR: incorrect geometry value '%s'\n"
171msgstr "ERRO: valor geométrico incorreto \"%s\"\n" 171msgstr "ERRO: valor geométrico incorreto \"%s\"\n"
172 172
173#: src/lib/ecore/ecore_getopt.c:1903 173#: src/lib/ecore/ecore_getopt.c:1907
174#, c-format 174#, c-format
175msgid "ERROR: incorrect size value '%s'\n" 175msgid "ERROR: incorrect size value '%s'\n"
176msgstr "ERRO: tamanho incorreto \"%s\"\n" 176msgstr "ERRO: tamanho incorreto \"%s\"\n"
diff --git a/libraries/ecore/po/sl.gmo b/libraries/ecore/po/sl.gmo
index b826ffc..4c4ca71 100644
--- a/libraries/ecore/po/sl.gmo
+++ b/libraries/ecore/po/sl.gmo
Binary files differ
diff --git a/libraries/ecore/po/sl.po b/libraries/ecore/po/sl.po
index fef52ac..f16b172 100644
--- a/libraries/ecore/po/sl.po
+++ b/libraries/ecore/po/sl.po
@@ -8,168 +8,168 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: ecore 1.0\n" 9"Project-Id-Version: ecore 1.0\n"
10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n" 10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
11"POT-Creation-Date: 2012-01-23 23:19+1000\n" 11"POT-Creation-Date: 2012-03-17 11:44+0900\n"
12"PO-Revision-Date: 2011-02-24 16:54+0100\n" 12"PO-Revision-Date: 2011-02-24 16:54+0100\n"
13"Last-Translator: r1to <renato.rener@gmail.com>\n" 13"Last-Translator: r1to <renato.rener@gmail.com>\n"
14"Language-Team: Slovenian <sl@li.org>\n" 14"Language-Team: Slovenian <sl@li.org>\n"
15"Language: sl\n"
15"MIME-Version: 1.0\n" 16"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=UTF-8\n" 17"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n" 18"Content-Transfer-Encoding: 8bit\n"
18"Language: sl\n"
19 19
20#: src/lib/ecore/ecore_getopt.c:91 20#: src/lib/ecore/ecore_getopt.c:95
21msgid "Version:" 21msgid "Version:"
22msgstr "Različica" 22msgstr "Različica"
23 23
24#: src/lib/ecore/ecore_getopt.c:100 24#: src/lib/ecore/ecore_getopt.c:104
25msgid "Usage:" 25msgid "Usage:"
26msgstr "Uporaba:" 26msgstr "Uporaba:"
27 27
28#: src/lib/ecore/ecore_getopt.c:105 28#: src/lib/ecore/ecore_getopt.c:109
29#, c-format 29#, c-format
30msgid "%s [options]\n" 30msgid "%s [options]\n"
31msgstr "%s·[možnosti]\n" 31msgstr "%s·[možnosti]\n"
32 32
33#: src/lib/ecore/ecore_getopt.c:260 33#: src/lib/ecore/ecore_getopt.c:264
34msgid "Copyright:" 34msgid "Copyright:"
35msgstr "Avtorstvo:" 35msgstr "Avtorstvo:"
36 36
37#: src/lib/ecore/ecore_getopt.c:272 37#: src/lib/ecore/ecore_getopt.c:276
38msgid "License:" 38msgid "License:"
39msgstr "Licenca:" 39msgstr "Licenca:"
40 40
41#: src/lib/ecore/ecore_getopt.c:453 41#: src/lib/ecore/ecore_getopt.c:457
42msgid "Type: " 42msgid "Type: "
43msgstr "Vrsta:·" 43msgstr "Vrsta:·"
44 44
45#: src/lib/ecore/ecore_getopt.c:529 45#: src/lib/ecore/ecore_getopt.c:533
46msgid "Default: " 46msgid "Default: "
47msgstr "Privzeto:·" 47msgstr "Privzeto:·"
48 48
49#: src/lib/ecore/ecore_getopt.c:556 49#: src/lib/ecore/ecore_getopt.c:560
50msgid "Choices: " 50msgid "Choices: "
51msgstr "Izbire:·" 51msgstr "Izbire:·"
52 52
53#: src/lib/ecore/ecore_getopt.c:657 53#: src/lib/ecore/ecore_getopt.c:661
54msgid "Options:\n" 54msgid "Options:\n"
55msgstr "Možnosti:\n" 55msgstr "Možnosti:\n"
56 56
57#: src/lib/ecore/ecore_getopt.c:782 57#: src/lib/ecore/ecore_getopt.c:786
58#, c-format 58#, c-format
59msgid "ERROR: unknown option --%s.\n" 59msgid "ERROR: unknown option --%s.\n"
60msgstr "NAPAKA:·Neznana možnost·--%s.\n" 60msgstr "NAPAKA:·Neznana možnost·--%s.\n"
61 61
62#: src/lib/ecore/ecore_getopt.c:784 62#: src/lib/ecore/ecore_getopt.c:788
63#, c-format 63#, c-format
64msgid "ERROR: unknown option -%c.\n" 64msgid "ERROR: unknown option -%c.\n"
65msgstr "NAPAKA:·neznana možnost·-%c.\n" 65msgstr "NAPAKA:·neznana možnost·-%c.\n"
66 66
67#: src/lib/ecore/ecore_getopt.c:842 67#: src/lib/ecore/ecore_getopt.c:846
68msgid "ERROR: " 68msgid "ERROR: "
69msgstr "NAPAKA:" 69msgstr "NAPAKA:"
70 70
71#: src/lib/ecore/ecore_getopt.c:925 src/lib/ecore/ecore_getopt.c:1062 71#: src/lib/ecore/ecore_getopt.c:929 src/lib/ecore/ecore_getopt.c:1066
72#: src/lib/ecore/ecore_getopt.c:1078 src/lib/ecore/ecore_getopt.c:1093 72#: src/lib/ecore/ecore_getopt.c:1082 src/lib/ecore/ecore_getopt.c:1097
73#: src/lib/ecore/ecore_getopt.c:1110 src/lib/ecore/ecore_getopt.c:1157 73#: src/lib/ecore/ecore_getopt.c:1114 src/lib/ecore/ecore_getopt.c:1161
74#: src/lib/ecore/ecore_getopt.c:1277 src/lib/ecore/ecore_getopt.c:1318 74#: src/lib/ecore/ecore_getopt.c:1281 src/lib/ecore/ecore_getopt.c:1322
75msgid "value has no pointer set.\n" 75msgid "value has no pointer set.\n"
76msgstr "vrednost nima nastavljenega kazalnika.\n" 76msgstr "vrednost nima nastavljenega kazalnika.\n"
77 77
78#: src/lib/ecore/ecore_getopt.c:957 src/lib/ecore/ecore_getopt.c:1177 78#: src/lib/ecore/ecore_getopt.c:961 src/lib/ecore/ecore_getopt.c:1181
79#, c-format 79#, c-format
80msgid "unknown boolean value %s.\n" 80msgid "unknown boolean value %s.\n"
81msgstr "neznana Boolova vrednost·%s.\n" 81msgstr "neznana Boolova vrednost·%s.\n"
82 82
83#: src/lib/ecore/ecore_getopt.c:1008 src/lib/ecore/ecore_getopt.c:1265 83#: src/lib/ecore/ecore_getopt.c:1012 src/lib/ecore/ecore_getopt.c:1269
84#, c-format 84#, c-format
85msgid "invalid number format %s\n" 85msgid "invalid number format %s\n"
86msgstr "napačen·format števila·%s\n" 86msgstr "napačen·format števila·%s\n"
87 87
88#: src/lib/ecore/ecore_getopt.c:1123 88#: src/lib/ecore/ecore_getopt.c:1127
89#, c-format 89#, c-format
90msgid "invalid choice \"%s\". Valid values are: " 90msgid "invalid choice \"%s\". Valid values are: "
91msgstr "napačna izbira·\"%s\".·Pravilne izbire so:·" 91msgstr "napačna izbira·\"%s\".·Pravilne izbire so:·"
92 92
93#: src/lib/ecore/ecore_getopt.c:1151 93#: src/lib/ecore/ecore_getopt.c:1155
94msgid "missing parameter to append.\n" 94msgid "missing parameter to append.\n"
95msgstr "manjka·parameter·za dodajo.\n" 95msgstr "manjka·parameter·za dodajo.\n"
96 96
97#: src/lib/ecore/ecore_getopt.c:1255 97#: src/lib/ecore/ecore_getopt.c:1259
98msgid "could not parse value.\n" 98msgid "could not parse value.\n"
99msgstr "vrednosti ni bilo možno razčleniti.\n" 99msgstr "vrednosti ni bilo možno razčleniti.\n"
100 100
101#: src/lib/ecore/ecore_getopt.c:1312 101#: src/lib/ecore/ecore_getopt.c:1316
102msgid "missing parameter.\n" 102msgid "missing parameter.\n"
103msgstr "manjkajoči·parameter.\n" 103msgstr "manjkajoči·parameter.\n"
104 104
105#: src/lib/ecore/ecore_getopt.c:1325 105#: src/lib/ecore/ecore_getopt.c:1329
106msgid "missing callback function!\n" 106msgid "missing callback function!\n"
107msgstr "manjkajoča povratno-zasilna funkcija !\n" 107msgstr "manjkajoča povratno-zasilna funkcija !\n"
108 108
109#: src/lib/ecore/ecore_getopt.c:1354 109#: src/lib/ecore/ecore_getopt.c:1358
110msgid "no version was defined.\n" 110msgid "no version was defined.\n"
111msgstr "definirana ni bila nobena različica.\n" 111msgstr "definirana ni bila nobena različica.\n"
112 112
113#: src/lib/ecore/ecore_getopt.c:1371 113#: src/lib/ecore/ecore_getopt.c:1375
114msgid "no copyright was defined.\n" 114msgid "no copyright was defined.\n"
115msgstr "definirano ni bilo nobeno avtorstvo.\n" 115msgstr "definirano ni bilo nobeno avtorstvo.\n"
116 116
117#: src/lib/ecore/ecore_getopt.c:1388 117#: src/lib/ecore/ecore_getopt.c:1392
118msgid "no license was defined.\n" 118msgid "no license was defined.\n"
119msgstr "definirana ni bila nobena licenca.\n" 119msgstr "definirana ni bila nobena licenca.\n"
120 120
121#: src/lib/ecore/ecore_getopt.c:1463 121#: src/lib/ecore/ecore_getopt.c:1467
122#, c-format 122#, c-format
123msgid "ERROR: unknown option --%s, ignored.\n" 123msgid "ERROR: unknown option --%s, ignored.\n"
124msgstr "NAPAKA:·neznana možnost·--%s,·prezrto.\n" 124msgstr "NAPAKA:·neznana možnost·--%s,·prezrto.\n"
125 125
126#: src/lib/ecore/ecore_getopt.c:1496 126#: src/lib/ecore/ecore_getopt.c:1500
127#, c-format 127#, c-format
128msgid "ERROR: option --%s requires an argument!\n" 128msgid "ERROR: option --%s requires an argument!\n"
129msgstr "NAPAKA:·možnost·--%s·zahteva argument!\n" 129msgstr "NAPAKA:·možnost·--%s·zahteva argument!\n"
130 130
131#: src/lib/ecore/ecore_getopt.c:1538 131#: src/lib/ecore/ecore_getopt.c:1542
132#, c-format 132#, c-format
133msgid "ERROR: unknown option -%c, ignored.\n" 133msgid "ERROR: unknown option -%c, ignored.\n"
134msgstr "NAPAKA:·neznana možnost·-%c,·prezrto.\n" 134msgstr "NAPAKA:·neznana možnost·-%c,·prezrto.\n"
135 135
136#: src/lib/ecore/ecore_getopt.c:1576 136#: src/lib/ecore/ecore_getopt.c:1580
137#, c-format 137#, c-format
138msgid "ERROR: option -%c requires an argument!\n" 138msgid "ERROR: option -%c requires an argument!\n"
139msgstr "NAPAKA:·možnost·-%c zahteva argument!\n" 139msgstr "NAPAKA:·možnost·-%c zahteva argument!\n"
140 140
141#: src/lib/ecore/ecore_getopt.c:1785 141#: src/lib/ecore/ecore_getopt.c:1789
142msgid "ERROR: no parser provided.\n" 142msgid "ERROR: no parser provided.\n"
143msgstr "NAPAKA:·ni podan razčlenjevalnik.\n" 143msgstr "NAPAKA:·ni podan razčlenjevalnik.\n"
144 144
145#: src/lib/ecore/ecore_getopt.c:1790 145#: src/lib/ecore/ecore_getopt.c:1794
146msgid "ERROR: no values provided.\n" 146msgid "ERROR: no values provided.\n"
147msgstr "NAPAKA::·ni podanih vrednosti.\n" 147msgstr "NAPAKA::·ni podanih vrednosti.\n"
148 148
149#: src/lib/ecore/ecore_getopt.c:1799 149#: src/lib/ecore/ecore_getopt.c:1803
150msgid "ERROR: no arguments provided.\n" 150msgid "ERROR: no arguments provided.\n"
151msgstr "NAPAKA::·ni podanih argumentov.\n" 151msgstr "NAPAKA::·ni podanih argumentov.\n"
152 152
153#: src/lib/ecore/ecore_getopt.c:1825 153#: src/lib/ecore/ecore_getopt.c:1829
154msgid "ERROR: invalid options found." 154msgid "ERROR: invalid options found."
155msgstr "NAPAKA::·najdene nepravilne možnosti" 155msgstr "NAPAKA::·najdene nepravilne možnosti"
156 156
157#: src/lib/ecore/ecore_getopt.c:1831 157#: src/lib/ecore/ecore_getopt.c:1835
158#, c-format 158#, c-format
159msgid " See --%s.\n" 159msgid " See --%s.\n"
160msgstr "·Glej·--%s.\n" 160msgstr "·Glej·--%s.\n"
161 161
162#: src/lib/ecore/ecore_getopt.c:1833 162#: src/lib/ecore/ecore_getopt.c:1837
163#, c-format 163#, c-format
164msgid " See -%c.\n" 164msgid " See -%c.\n"
165msgstr "·Glej·-%c.\n" 165msgstr "·Glej·-%c.\n"
166 166
167#: src/lib/ecore/ecore_getopt.c:1875 167#: src/lib/ecore/ecore_getopt.c:1879
168#, c-format 168#, c-format
169msgid "ERROR: incorrect geometry value '%s'\n" 169msgid "ERROR: incorrect geometry value '%s'\n"
170msgstr "NAPAKA::·nepravilna geometrijska vrednost·'%s'\n" 170msgstr "NAPAKA::·nepravilna geometrijska vrednost·'%s'\n"
171 171
172#: src/lib/ecore/ecore_getopt.c:1903 172#: src/lib/ecore/ecore_getopt.c:1907
173#, c-format 173#, c-format
174msgid "ERROR: incorrect size value '%s'\n" 174msgid "ERROR: incorrect size value '%s'\n"
175msgstr "NAPAKA::·nepravilna vrednost velikosti·'%s'\n" 175msgstr "NAPAKA::·nepravilna vrednost velikosti·'%s'\n"
diff --git a/libraries/ecore/src/Makefile.in b/libraries/ecore/src/Makefile.in
index bf6f05c..51ad5e0 100644
--- a/libraries/ecore/src/Makefile.in
+++ b/libraries/ecore/src/Makefile.in
@@ -49,16 +49,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
52 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 52 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
53 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 53 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 54 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 55 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 56 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
57 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 57 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
58 $(top_srcdir)/configure.ac
59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
61mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 60mkinstalldirs = $(install_sh) -d
62CONFIG_HEADER = $(top_builddir)/config.h 61CONFIG_HEADER = $(top_builddir)/config.h
63CONFIG_CLEAN_FILES = 62CONFIG_CLEAN_FILES =
64CONFIG_CLEAN_VPATH_FILES = 63CONFIG_CLEAN_VPATH_FILES =
@@ -174,6 +173,8 @@ EVAS_LIBS = @EVAS_LIBS@
174EVIL_CFLAGS = @EVIL_CFLAGS@ 173EVIL_CFLAGS = @EVIL_CFLAGS@
175EVIL_LIBS = @EVIL_LIBS@ 174EVIL_LIBS = @EVIL_LIBS@
176EXEEXT = @EXEEXT@ 175EXEEXT = @EXEEXT@
176EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
177EXOTIC_LIBS = @EXOTIC_LIBS@
177FGREP = @FGREP@ 178FGREP = @FGREP@
178GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 179GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
179GLIB_CFLAGS = @GLIB_CFLAGS@ 180GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -229,6 +230,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
229PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 230PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
230PIXMAN_LIBS = @PIXMAN_LIBS@ 231PIXMAN_LIBS = @PIXMAN_LIBS@
231PKG_CONFIG = @PKG_CONFIG@ 232PKG_CONFIG = @PKG_CONFIG@
233PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
234PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
232POSUB = @POSUB@ 235POSUB = @POSUB@
233RANLIB = @RANLIB@ 236RANLIB = @RANLIB@
234SCIM_CFLAGS = @SCIM_CFLAGS@ 237SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -239,6 +242,7 @@ SDL_LIBS = @SDL_LIBS@
239SED = @SED@ 242SED = @SED@
240SET_MAKE = @SET_MAKE@ 243SET_MAKE = @SET_MAKE@
241SHELL = @SHELL@ 244SHELL = @SHELL@
245SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
242SSL_CFLAGS = @SSL_CFLAGS@ 246SSL_CFLAGS = @SSL_CFLAGS@
243SSL_LIBS = @SSL_LIBS@ 247SSL_LIBS = @SSL_LIBS@
244STRIP = @STRIP@ 248STRIP = @STRIP@
diff --git a/libraries/ecore/src/bin/Makefile.in b/libraries/ecore/src/bin/Makefile.in
index 72d2bfd..aabc6ab 100644
--- a/libraries/ecore/src/bin/Makefile.in
+++ b/libraries/ecore/src/bin/Makefile.in
@@ -49,16 +49,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
52 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 52 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
53 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 53 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 54 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 55 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 56 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
57 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 57 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
58 $(top_srcdir)/configure.ac
59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
61mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 60mkinstalldirs = $(install_sh) -d
62CONFIG_HEADER = $(top_builddir)/config.h 61CONFIG_HEADER = $(top_builddir)/config.h
63CONFIG_CLEAN_FILES = 62CONFIG_CLEAN_FILES =
64CONFIG_CLEAN_VPATH_FILES = 63CONFIG_CLEAN_VPATH_FILES =
@@ -168,6 +167,8 @@ EVAS_LIBS = @EVAS_LIBS@
168EVIL_CFLAGS = @EVIL_CFLAGS@ 167EVIL_CFLAGS = @EVIL_CFLAGS@
169EVIL_LIBS = @EVIL_LIBS@ 168EVIL_LIBS = @EVIL_LIBS@
170EXEEXT = @EXEEXT@ 169EXEEXT = @EXEEXT@
170EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
171EXOTIC_LIBS = @EXOTIC_LIBS@
171FGREP = @FGREP@ 172FGREP = @FGREP@
172GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 173GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
173GLIB_CFLAGS = @GLIB_CFLAGS@ 174GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -223,6 +224,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
223PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 224PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
224PIXMAN_LIBS = @PIXMAN_LIBS@ 225PIXMAN_LIBS = @PIXMAN_LIBS@
225PKG_CONFIG = @PKG_CONFIG@ 226PKG_CONFIG = @PKG_CONFIG@
227PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
228PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
226POSUB = @POSUB@ 229POSUB = @POSUB@
227RANLIB = @RANLIB@ 230RANLIB = @RANLIB@
228SCIM_CFLAGS = @SCIM_CFLAGS@ 231SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -233,6 +236,7 @@ SDL_LIBS = @SDL_LIBS@
233SED = @SED@ 236SED = @SED@
234SET_MAKE = @SET_MAKE@ 237SET_MAKE = @SET_MAKE@
235SHELL = @SHELL@ 238SHELL = @SHELL@
239SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
236SSL_CFLAGS = @SSL_CFLAGS@ 240SSL_CFLAGS = @SSL_CFLAGS@
237SSL_LIBS = @SSL_LIBS@ 241SSL_LIBS = @SSL_LIBS@
238STRIP = @STRIP@ 242STRIP = @STRIP@
diff --git a/libraries/ecore/src/examples/Makefile.in b/libraries/ecore/src/examples/Makefile.in
index 7fac88c..5b984ed 100644
--- a/libraries/ecore/src/examples/Makefile.in
+++ b/libraries/ecore/src/examples/Makefile.in
@@ -81,16 +81,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
81 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 81 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
82 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 82 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
83 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 83 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
84 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 84 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
85 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 85 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
86 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 86 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
87 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 87 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
88 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 88 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
89 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 89 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
90 $(top_srcdir)/configure.ac
91am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 90am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
92 $(ACLOCAL_M4) 91 $(ACLOCAL_M4)
93mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 92mkinstalldirs = $(install_sh) -d
94CONFIG_HEADER = $(top_builddir)/config.h 93CONFIG_HEADER = $(top_builddir)/config.h
95CONFIG_CLEAN_FILES = 94CONFIG_CLEAN_FILES =
96CONFIG_CLEAN_VPATH_FILES = 95CONFIG_CLEAN_VPATH_FILES =
@@ -408,6 +407,8 @@ EVAS_LIBS = @EVAS_LIBS@
408EVIL_CFLAGS = @EVIL_CFLAGS@ 407EVIL_CFLAGS = @EVIL_CFLAGS@
409EVIL_LIBS = @EVIL_LIBS@ 408EVIL_LIBS = @EVIL_LIBS@
410EXEEXT = @EXEEXT@ 409EXEEXT = @EXEEXT@
410EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
411EXOTIC_LIBS = @EXOTIC_LIBS@
411FGREP = @FGREP@ 412FGREP = @FGREP@
412GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 413GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
413GLIB_CFLAGS = @GLIB_CFLAGS@ 414GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -463,6 +464,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
463PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 464PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
464PIXMAN_LIBS = @PIXMAN_LIBS@ 465PIXMAN_LIBS = @PIXMAN_LIBS@
465PKG_CONFIG = @PKG_CONFIG@ 466PKG_CONFIG = @PKG_CONFIG@
467PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
468PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
466POSUB = @POSUB@ 469POSUB = @POSUB@
467RANLIB = @RANLIB@ 470RANLIB = @RANLIB@
468SCIM_CFLAGS = @SCIM_CFLAGS@ 471SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -473,6 +476,7 @@ SDL_LIBS = @SDL_LIBS@
473SED = @SED@ 476SED = @SED@
474SET_MAKE = @SET_MAKE@ 477SET_MAKE = @SET_MAKE@
475SHELL = @SHELL@ 478SHELL = @SHELL@
479SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
476SSL_CFLAGS = @SSL_CFLAGS@ 480SSL_CFLAGS = @SSL_CFLAGS@
477SSL_LIBS = @SSL_LIBS@ 481SSL_LIBS = @SSL_LIBS@
478STRIP = @STRIP@ 482STRIP = @STRIP@
diff --git a/libraries/ecore/src/examples/ecore_evas_basics_example.c b/libraries/ecore/src/examples/ecore_evas_basics_example.c
index 5f0231f..942f9c6 100644
--- a/libraries/ecore/src/examples/ecore_evas_basics_example.c
+++ b/libraries/ecore/src/examples/ecore_evas_basics_example.c
@@ -77,10 +77,7 @@ main(void)
77 evas_object_show(bg); 77 evas_object_show(bg);
78 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE); 78 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
79 79
80 ecore_main_fd_handler_add(STDIN_FILENO, 80 ecore_main_fd_handler_add(STDIN_FILENO, ECORE_FD_READ, _stdin_cb, NULL, NULL, NULL);
81 ECORE_FD_READ | ECORE_FD_ERROR,
82 _stdin_cb,
83 NULL, NULL, NULL);
84 81
85 ecore_main_loop_begin(); 82 ecore_main_loop_begin();
86 83
diff --git a/libraries/ecore/src/lib/Makefile.in b/libraries/ecore/src/lib/Makefile.in
index 09271c2..a5fd01f 100644
--- a/libraries/ecore/src/lib/Makefile.in
+++ b/libraries/ecore/src/lib/Makefile.in
@@ -65,16 +65,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
65 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 65 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
66 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 66 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
67 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 67 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
68 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 68 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
69 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 69 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
70 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 70 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
71 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 71 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
72 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 72 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
73 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 73 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
74 $(top_srcdir)/configure.ac
75am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 74am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
76 $(ACLOCAL_M4) 75 $(ACLOCAL_M4)
77mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 76mkinstalldirs = $(install_sh) -d
78CONFIG_HEADER = $(top_builddir)/config.h 77CONFIG_HEADER = $(top_builddir)/config.h
79CONFIG_CLEAN_FILES = 78CONFIG_CLEAN_FILES =
80CONFIG_CLEAN_VPATH_FILES = 79CONFIG_CLEAN_VPATH_FILES =
@@ -193,6 +192,8 @@ EVAS_LIBS = @EVAS_LIBS@
193EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
194EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
195EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
196FGREP = @FGREP@ 197FGREP = @FGREP@
197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
198GLIB_CFLAGS = @GLIB_CFLAGS@ 199GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -248,6 +249,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
249PIXMAN_LIBS = @PIXMAN_LIBS@ 250PIXMAN_LIBS = @PIXMAN_LIBS@
250PKG_CONFIG = @PKG_CONFIG@ 251PKG_CONFIG = @PKG_CONFIG@
252PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
253PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
251POSUB = @POSUB@ 254POSUB = @POSUB@
252RANLIB = @RANLIB@ 255RANLIB = @RANLIB@
253SCIM_CFLAGS = @SCIM_CFLAGS@ 256SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -258,6 +261,7 @@ SDL_LIBS = @SDL_LIBS@
258SED = @SED@ 261SED = @SED@
259SET_MAKE = @SET_MAKE@ 262SET_MAKE = @SET_MAKE@
260SHELL = @SHELL@ 263SHELL = @SHELL@
264SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
261SSL_CFLAGS = @SSL_CFLAGS@ 265SSL_CFLAGS = @SSL_CFLAGS@
262SSL_LIBS = @SSL_LIBS@ 266SSL_LIBS = @SSL_LIBS@
263STRIP = @STRIP@ 267STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore/Ecore.h b/libraries/ecore/src/lib/ecore/Ecore.h
index fbe4dda..eace560 100644
--- a/libraries/ecore/src/lib/ecore/Ecore.h
+++ b/libraries/ecore/src/lib/ecore/Ecore.h
@@ -9,7 +9,7 @@
9 @mainpage Ecore 9 @mainpage Ecore
10 10
11 @version 1.1 11 @version 1.1
12 @date 2000-2011 12 @date 2000-2012
13 13
14 Please see the @ref authors page for contact details. 14 Please see the @ref authors page for contact details.
15 15
@@ -22,7 +22,7 @@
22 @li @ref Ecore_Main_Loop_Group 22 @li @ref Ecore_Main_Loop_Group
23 @li @ref Ecore_File_Group 23 @li @ref Ecore_File_Group
24 @li @ref Ecore_Con_Group 24 @li @ref Ecore_Con_Group
25 @li @link Ecore_Evas.h Ecore_Evas - Evas convenience functions. @endlink 25 @li @ref Ecore_Evas_Group
26 @li @ref Ecore_FB_Group 26 @li @ref Ecore_FB_Group
27 @li @link Ecore_Ipc.h Ecore_IPC - Inter Process Communication functions. @endlink 27 @li @link Ecore_Ipc.h Ecore_IPC - Inter Process Communication functions. @endlink
28 @li @link Ecore_X.h Ecore_X - X Windows System wrapper. @endlink 28 @li @link Ecore_X.h Ecore_X - X Windows System wrapper. @endlink
@@ -35,21 +35,31 @@
35 pkgconfig (.pc) files are installed for every ecore module. 35 pkgconfig (.pc) files are installed for every ecore module.
36 Thus, to compile using any of them, you can use something like the following: 36 Thus, to compile using any of them, you can use something like the following:
37 37
38 @verbatim 38@verbatim
39 gcc *.c $(pkg-config ecore ecore-$x ecore-$y [...] --cflags --libs) 39gcc *.c $(pkg-config ecore ecore-$x ecore-$y [...] --cflags --libs)
40 @endverbatim 40@endverbatim
41 41
42 @section install How is it installed? 42 @section install How is it installed?
43 43
44 Suggested configure options for evas for a Linux desktop X display: 44 Suggested configure options for ecore for a Linux desktop X display
45 with OpenGL and Software support, communication (networking) and
46 IPC (inter process communication):
45 47
46 @verbatim 48@verbatim
47 ./configure \ 49./configure \
48 make 50 --enable-ecore-con \
49 su - 51 --enable-ecore-ipc \
50 ... 52 --enable-ecore-file \
51 make install 53 --enable-ecore-input \
52 @endverbatim 54 --enable-ecore-input-evas \
55 --enable-ecore-x \
56 --enable-ecore-evas \
57 --enable-ecore-evas-software-buffer \
58 --enable-ecore-evas-software-x11 \
59 --enable-ecore-evas-opengl-x11
60make
61sudo make install
62@endverbatim
53 63
54 */ 64 */
55 65
@@ -112,140 +122,175 @@
112 */ 122 */
113 123
114/** 124/**
115 @page Ecore_Main_Loop_Page The Ecore Main Loop 125 * @page Ecore_Main_Loop_Page The Ecore Main Loop
116 126 *
117 @section intro What is Ecore? 127 * @section intro What is Ecore?
118 128 *
119 Ecore is a clean and tiny event loop library with many modules to do lots of 129 * Ecore is a clean and tiny event loop library with many modules to do lots of
120 convenient things for a programmer, to save time and effort. 130 * convenient things for a programmer, to save time and effort. It's small and
121 131 * lean, designed to work from embedded systems all the way up to large and
122 It's small and lean, designed to work on embedded systems all the way to 132 * powerful multi-cpu workstations. The main loop has a number of primitives to
123 large and powerful multi-cpu workstations. It serialises all system signals, 133 * be used with its main loop. It serializes all the primitives and allows for
124 events etc. into a single event queue, that is easily processed without 134 * great responsiveness without the need for threads(or any other concurrency).
125 needing to worry about concurrency. A properly written, event-driven program 135 *
126 using this kind of programming doesn't need threads, nor has to worry about 136 * @subsection timers Timers
127 concurrency. It turns a program into a state machine, and makes it very 137 *
128 robust and easy to follow. 138 * Timers serve two main purposes: doing something at a specified time and
129 139 * repeatedly doing something with a set interval.
130 Ecore gives you other handy primitives, such as timers to tick over for you 140 * @see Ecore_Timer_Group
131 and call specified functions at particular times so the programmer can use 141 *
132 this to do things, like animate, or time out on connections or tasks that take 142 * @subsection poolers Poolers
133 too long etc. 143 *
134 144 * Poolers allow for pooling to be centralized into a single place therefore
135 Idle handlers are provided too, as well as calls on entering an idle state 145 * alleviating the need for different parts of the program to wake up at
136 (often a very good time to update the state of the program). All events that 146 * different times to do pooling, thereby making the code simpler and more
137 enter the system are passed to specific callback functions that the program 147 * efficient.
138 sets up to handle those events. Handling them is simple and other Ecore 148 * @see Ecore_Poller_Group
139 modules produce more events on the queue, coming from other sources such as 149 *
140 file descriptors etc. 150 * @subsection idler Idlers
141 151 *
142 Ecore also lets you have functions called when file descriptors become active 152 * There are three types of idlers, enterers, idlers(proper) and exiters, they
143 for reading or writing, allowing for streamlined, non-blocking IO. 153 * are called, respectively, when the program is about to enter an idle state,
144 154 * when the program is idle and when the program is leaving an idle state. Idler
145 Here is an example of a simple program and its basic event loop flow: 155 * enterers are usually a good place to update the program state. Proper idlers
146 156 * are the appropriate place to do heavy computational tasks thereby using what
147 @image html prog_flow.png 157 * would otherwise be wasted CPU cycles. Exiters are the perfect place to do
148 @image latex prog_flow.eps width=\textwidth 158 * anything your program should do just before processing events(also timers,
149 159 * poolers, file descriptor handlers and animators)
150 160 * @see Ecore_Idle_Group
151 161 *
152 @section work How does Ecore work? 162 * @subsection fd_handler File descriptor handlers
153 163 *
154 Ecore is very easy to learn and use. All the function calls are designed to 164 * File descriptor handlers allow you to monitor when there is data available to
155 be easy to remember, explicit in describing what they do, and heavily 165 * read on file descriptors, when writing will not block or if there was an
156 name-spaced. Ecore programs can start and be very simple. 166 * error. Any valid file descriptor can be used with this API, regardless of if
157 167 * was gotten with an OS specific API or from ecore.
158 For example: 168 * @see Ecore_FD_Handler_Group
159 169 *
160 @code 170 * @subsection animators Animators
161 #include <Ecore.h> 171 *
162 172 * Ecore provides a facility called animators, so named since the intended use
163 int 173 * was in animations, that facilitates knowing what percentage of a given
164 main(int argc, const char **argv) 174 * interval has elapsed. This is perfect for performing animations, but is not
165 { 175 * limited to that use, it can, for example, also be used to create a progress
166 ecore_init(); 176 * bar.
167 ecore_app_args_set(argc, argv); 177 * @see Ecore_Animator_Group
168 ecore_main_loop_begin(); 178 *
169 ecore_shutdown(); 179 * @subsection ev_handlers Event handlers
170 return 0; 180 *
171 } 181 * Event handlers are, arguably, the most important feature of the ecore main
172 @endcode 182 * loop, they are what allows the programmer to easily handle user interaction.
173 183 * Events however are not only things the user does, events can represent
174 This program is very simple and doesn't check for errors, but it does start up 184 * anything for which a type is created.
175 and begin a main loop waiting for events or timers to tick off. This program 185 * @see Ecore_Event_Group
176 doesn't set up any, but now we can expand on this simple program a little 186 *
177 more by adding some event handlers and timers. 187 * All of these primitives are discussed in more detail in their respective
178 188 * pages linked above.
179 @code 189 *
180 #include <Ecore.h> 190 * Here is a diagram of the main loop flow of a simple program:
181 191 *
182 Ecore_Timer *timer1 = NULL; 192 * @image html prog_flow.png
183 Ecore_Event_Handler *handler1 = NULL; 193 * @image latex prog_flow.eps width=\textwidth
184 double start_time = 0.0; 194 *
185 195 *
186 int 196 *
187 timer_func(void *data) 197 * @section work How does Ecore work?
188 { 198 *
189 printf("Tick timer. Sec: %3.2f\n", ecore_time_get() - start_time); 199 * Ecore is very easy to learn and use. All the function calls are designed to
190 return 1; 200 * be easy to remember, explicit in describing what they do, and heavily
191 } 201 * name-spaced. Ecore programs can start and be very simple.
192 202 *
193 int 203 * For example:
194 exit_func(void *data, int ev_type, void *ev) 204 *
195 { 205 * @code
196 Ecore_Event_Signal_Exit *e; 206 * #include <Ecore.h>
197 207 *
198 e = (Ecore_Event_Signal_Exit *)ev; 208 * int
199 if (e->interrupt) printf("Exit: interrupt\n"); 209 * main(int argc, const char **argv)
200 else if (e->quit) printf("Exit: quit\n"); 210 * {
201 else if (e->terminate) printf("Exit: terminate\n"); 211 * ecore_init();
202 ecore_main_loop_quit(); 212 * ecore_app_args_set(argc, argv);
203 return 1; 213 * ecore_main_loop_begin();
204 } 214 * ecore_shutdown();
205 215 * return 0;
206 int 216 * }
207 main(int argc, const char **argv) 217 * @endcode
208 { 218 *
209 ecore_init(); 219 * This program is very simple and doesn't check for errors, but it does start up
210 ecore_app_args_set(argc, argv); 220 * and begin a main loop waiting for events or timers to tick off. This program
211 start_time = ecore_time_get(); 221 * doesn't set up any, but now we can expand on this simple program a little
212 handler1 = ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, exit_func, NULL); 222 * more by adding some event handlers and timers.
213 timer1 = ecore_timer_add(0.5, timer_func, NULL); 223 *
214 ecore_main_loop_begin(); 224 * @code
215 ecore_shutdown(); 225 * #include <Ecore.h>
216 return 0; 226 *
217 } 227 * Ecore_Timer *timer1 = NULL;
218 @endcode 228 * Ecore_Event_Handler *handler1 = NULL;
219 229 * double start_time = 0.0;
220 In the previous example, we initialize our application and get the time at 230 *
221 which our program has started so we can calculate an offset. We set 231 * int
222 up a timer to tick off in 0.5 seconds, and since it returns 1, will 232 * timer_func(void *data)
223 keep ticking off every 0.5 seconds until it returns 0, or is deleted 233 * {
224 by hand. An event handler is set up to call a function - 234 * printf("Tick timer. Sec: %3.2f\n", ecore_time_get() - start_time);
225 exit_func(), 235 * return 1;
226 whenever an event of type ECORE_EVENT_SIGNAL_EXIT is received (CTRL-C 236 * }
227 on the command line will cause such an event to happen). If this event 237 *
228 occurs it tells you what kind of exit signal was received, and asks 238 * int
229 the main loop to quit when it is finished by calling 239 * exit_func(void *data, int ev_type, void *ev)
230 ecore_main_loop_quit(). 240 * {
231 241 * Ecore_Event_Signal_Exit *e;
232 The handles returned by ecore_timer_add() and 242 *
233 ecore_event_handler_add() are 243 * e = (Ecore_Event_Signal_Exit *)ev;
234 only stored here as an example. If you don't need to address the timer or 244 * if (e->interrupt) printf("Exit: interrupt\n");
235 event handler again you don't need to store the result, so just call the 245 * else if (e->quit) printf("Exit: quit\n");
236 function, and don't assign the result to any variable. 246 * else if (e->terminate) printf("Exit: terminate\n");
237 247 * ecore_main_loop_quit();
238 This program looks slightly more complex than needed to do these simple 248 * return 1;
239 things, but in principle, programs don't get any more complex. You add more 249 * }
240 event handlers, for more events, will have more timers and such, BUT it all 250 *
241 follows the same principles as shown in this example. 251 * int
242 252 * main(int argc, const char **argv)
253 * {
254 * ecore_init();
255 * ecore_app_args_set(argc, argv);
256 * start_time = ecore_time_get();
257 * handler1 = ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, exit_func, NULL);
258 * timer1 = ecore_timer_add(0.5, timer_func, NULL);
259 * ecore_main_loop_begin();
260 * ecore_shutdown();
261 * return 0;
262 * }
263 * @endcode
264 *
265 * In the previous example, we initialize our application and get the time at
266 * which our program has started so we can calculate an offset. We set
267 * up a timer to tick off in 0.5 seconds, and since it returns 1, will
268 * keep ticking off every 0.5 seconds until it returns 0, or is deleted
269 * by hand. An event handler is set up to call a function -
270 * exit_func(),
271 * whenever an event of type ECORE_EVENT_SIGNAL_EXIT is received (CTRL-C
272 * on the command line will cause such an event to happen). If this event
273 * occurs it tells you what kind of exit signal was received, and asks
274 * the main loop to quit when it is finished by calling
275 * ecore_main_loop_quit().
276 *
277 * The handles returned by ecore_timer_add() and
278 * ecore_event_handler_add() are
279 * only stored here as an example. If you don't need to address the timer or
280 * event handler again you don't need to store the result, so just call the
281 * function, and don't assign the result to any variable.
282 *
283 * This program looks slightly more complex than needed to do these simple
284 * things, but in principle, programs don't get any more complex. You add more
285 * event handlers, for more events, will have more timers and such, BUT it all
286 * follows the same principles as shown in this example.
287 *
243 */ 288 */
244 289
245/* 290/*
246 @page Ecore_Config_Page The Enlightened Property Library 291 @page Ecore_Config_Page The Enlightened Property Library
247 292
248 The Enlightened Property Library (Ecore_Config) is an adbstraction 293 The Enlightened Property Library (Ecore_Config) is an abstraction
249 from the complexities of writing your own configuration. It provides 294 from the complexities of writing your own configuration. It provides
250 many features using the Enlightenment 17 development libraries. 295 many features using the Enlightenment 17 development libraries.
251 296
@@ -310,7 +355,9 @@
310# include <signal.h> 355# include <signal.h>
311#else 356#else
312# include <sys/time.h> 357# include <sys/time.h>
313# include <signal.h> 358# if !defined (EXOTIC_NO_SIGNAL)
359# include <signal.h>
360# endif
314#endif 361#endif
315 362
316#include <sys/types.h> 363#include <sys/types.h>
@@ -333,47 +380,21 @@ EAPI int ecore_shutdown(void);
333 */ 380 */
334 381
335/** 382/**
383 * @defgroup Ecore_Main_Loop_Group Ecore main loop
336 * 384 *
337 * @defgroup Ecore_Main_Loop_Group Ecore main loop functions 385 * This group discusses functions that are acting on Ecore's main loop itself or
338 * 386 * on events and infrastructure directly linked to it. Most programs only need
339 * These are functions acting on Ecore's main loop itself or on 387 * to start and end the main loop, the rest of the function discussed here are
340 * events and infrastructure directly linked to it. This loop is 388 * meant to be used in special situations, and with great care.
341 * designed to work on embedded systems all the way to large and
342 * powerful multi-cpu workstations.
343 * 389 *
344 * It serialises all system signals and events into a single event 390 * For details on the usage of ecore's main loop and how it interacts with other
345 * queue, that can be easily processed without needing to worry 391 * ecore facilities see: @ref Ecore_Main_Loop_Page.
346 * about concurrency. A properly written, event-driven program
347 * using this kind of programming does not need threads. It makes
348 * the program very robust and easy to follow.
349 *
350 * For example, for the main loop to be of any use, you need to be
351 * able to add @b events and event handlers on it. Events for file
352 * descriptor events are covered in @ref Ecore_FD_Handler_Group.
353 *
354 * Timer functions are covered in @ref Ecore_Time_Group.
355 *
356 * There is also provision for callbacks for when the loop enters or
357 * exits an @b idle state. See @ref Ecore_Idle_Group for more
358 * information on it.
359 *
360 * Functions are also provided for spawning child processes using
361 * @c fork(). See @ref Ecore_Exe_Group for more details on it.
362 *
363 * Here is an example of simple program and its basic event loop
364 * flow:
365 *
366 * @image html prog_flow.png
367 * @image latex prog_flow.eps width=\textwidth
368 *
369 * For examples of setting up and using a main loop, see
370 * @ref Ecore_Main_Loop_Page.
371 * 392 *
372 * @{ 393 * @{
373 */ 394 */
374 395
375#define ECORE_VERSION_MAJOR 1 396#define ECORE_VERSION_MAJOR 1
376#define ECORE_VERSION_MINOR 0 397#define ECORE_VERSION_MINOR 2
377 398
378typedef struct _Ecore_Version 399typedef struct _Ecore_Version
379{ 400{
@@ -469,7 +490,7 @@ EAPI void *ecore_main_loop_thread_safe_call_sync(Ecore_Data_Cb callback, void *d
469 * in this thread, if the main loop was suspended correctly. If not, it return @c -1. 490 * in this thread, if the main loop was suspended correctly. If not, it return @c -1.
470 * 491 *
471 * This function suspend the main loop in a know state, this let you 492 * This function suspend the main loop in a know state, this let you
472 * use any EFL call you want after it return. Be carefull, the main loop 493 * use any EFL call you want after it return. Be carefully, the main loop
473 * is blocked until you call ecore_thread_main_loop_end(). This is 494 * is blocked until you call ecore_thread_main_loop_end(). This is
474 * the only sane way to achieve pseudo thread safety. 495 * the only sane way to achieve pseudo thread safety.
475 * 496 *
@@ -489,7 +510,7 @@ EAPI int ecore_thread_main_loop_begin(void);
489 * the main loop is unlocked again. @c -1 will be returned if you are trying to unlock 510 * the main loop is unlocked again. @c -1 will be returned if you are trying to unlock
490 * when there wasn't enough call to ecore_thread_main_loop_begin(). 511 * when there wasn't enough call to ecore_thread_main_loop_begin().
491 * 512 *
492 * After a call to ecore_thread_main_loop_begin(), you need to absolutly 513 * After a call to ecore_thread_main_loop_begin(), you need to absolutely
493 * call ecore_thread_main_loop_end(), or you application will stay frozen. 514 * call ecore_thread_main_loop_end(), or you application will stay frozen.
494 */ 515 */
495EAPI int ecore_thread_main_loop_end(void); 516EAPI int ecore_thread_main_loop_end(void);
@@ -501,34 +522,51 @@ EAPI int ecore_thread_main_loop_end(void);
501/** 522/**
502 * @defgroup Ecore_Event_Group Ecore Event functions 523 * @defgroup Ecore_Event_Group Ecore Event functions
503 * 524 *
504 * Ecore events are used to wake up the Ecore main loop to warn 525 * Ecore events provide two main features that are of use to those using ecore:
505 * about state changes, tasks completed, data available for reading 526 * creating events and being notified of events. Those two will usually be used
506 * or writing, etc. They are the base of the event oriented 527 * in different contexts, creating events is mainly done by libraries wrapping
507 * programming. 528 * some system functionality while being notified of events is mainly a
508 * 529 * necessity of applications.
509 * The idea is to write many functions (callbacks) that will be 530 *
510 * registered to specific events, and called when these events 531 * For a program to be notified of events it's interested in it needs to have a
511 * happen. This way, when the system state changes (a mouse click is 532 * function to process the event and to register that function as the callback
512 * detected, a key is pressed, or the content of a file changes, for 533 * to the event, that's all:
513 * example), the respective callbacks will be called with some 534 * @code
514 * information about that event. Usually the function/callback will 535 * ecore_event_handler_add(EVENT_TYPE, _my_event_handler, some_data);
515 * have a data pointer to the event info (the position in the screen 536 * ...
516 * where the mouse was clicked, the name of the key that was 537 * static Eina_Bool
517 * pressed, or the name of the file that has changed). 538 * _my_event_handler(void *data, int type, void *event)
518 * 539 * {
519 * The basic usage, when one needs to watch for an existing event, 540 * //data is some_data
520 * is to register a callback to it using ecore_event_add(). Of 541 * //event is provided by whoever created the event
521 * course it's necessary to know beforehand what are the types of 542 * //Do really cool stuff with event
522 * events that the system/library will emmit. This should be 543 * }
523 * available with the documentation from that system/library. 544 * @endcode
524 * 545 *
525 * When writing a library or group of functions that need to inform 546 * One very important thing to note here is the @c EVENT_TYPE, to register a
526 * about something, and you already are running on top of a main 547 * handler for an event you must know it's type before hand. This information
527 * loop, it is usually a good approach to use events. This way you 548 * can be found on the documentation of the library emitting the signal, so,
528 * allow others to register as many callbacks as necessary to this 549 * for example, for events related to windowing one would look in @ref
529 * event, and don't have to care about who is registering to it. The 550 * Ecore_Evas_Group.
530 * functions ecore_event_type_new() and ecore_event_add() are 551 *
531 * available for this purpose. 552 * Examples of libraries that integrate into ecore's main loop by providing
553 * events are @ref Ecore_Con_Group, @ref Ecore_Evas_Group and @ref
554 * Ecore_Exe_Group amongst others. This usage can be divided into two parts,
555 * setup and adding events. The setup is very simple, all that needs doing is
556 * getting a type id for the event:
557 * @code
558 * int MY_EV_TYPE = ecore_event_type_new();
559 * @endcode
560 * @note This variable should be declared in the header since it'll be needed by
561 * anyone wishing to register a handler to your event.
562 *
563 * The complexity of adding of an event to the queue depends on whether that
564 * event sends uses @c event, if it doesn't it a one-liner:
565 * @code
566 * ecore_event_add(MY_EV_TYPE, NULL, NULL, NULL);
567 * @endcode
568 * The usage when an @c event is needed is not that much more complex and can be
569 * seen in @ref ecore_event_add.
532 * 570 *
533 * Example that deals with events: 571 * Example that deals with events:
534 * 572 *
@@ -582,7 +620,7 @@ struct _Ecore_Event_Signal_User /** User signal event */
582 int number; /**< The signal number. Either 1 or 2 */ 620 int number; /**< The signal number. Either 1 or 2 */
583 void *ext_data; /**< Extension data - not used */ 621 void *ext_data; /**< Extension data - not used */
584 622
585#if !defined (_WIN32) && !defined (__lv2ppu__) 623#if !defined (_WIN32) && !defined (__lv2ppu__) && !defined (EXOTIC_NO_SIGNAL)
586 siginfo_t data; /**< Signal info */ 624 siginfo_t data; /**< Signal info */
587#endif 625#endif
588}; 626};
@@ -591,7 +629,7 @@ struct _Ecore_Event_Signal_Hup /** Hup signal event */
591{ 629{
592 void *ext_data; /**< Extension data - not used */ 630 void *ext_data; /**< Extension data - not used */
593 631
594#if !defined (_WIN32) && !defined (__lv2ppu__) 632#if !defined (_WIN32) && !defined (__lv2ppu__) && !defined (EXOTIC_NO_SIGNAL)
595 siginfo_t data; /**< Signal info */ 633 siginfo_t data; /**< Signal info */
596#endif 634#endif
597}; 635};
@@ -600,10 +638,10 @@ struct _Ecore_Event_Signal_Exit /** Exit request event */
600{ 638{
601 Eina_Bool interrupt : 1; /**< Set if the exit request was an interrupt signal*/ 639 Eina_Bool interrupt : 1; /**< Set if the exit request was an interrupt signal*/
602 Eina_Bool quit : 1; /**< set if the exit request was a quit signal */ 640 Eina_Bool quit : 1; /**< set if the exit request was a quit signal */
603 Eina_Bool terminate : 1; /**< Set if the exit request was a terminate singal */ 641 Eina_Bool terminate : 1; /**< Set if the exit request was a terminate signal */
604 void *ext_data; /**< Extension data - not used */ 642 void *ext_data; /**< Extension data - not used */
605 643
606#if !defined (_WIN32) && !defined (__lv2ppu__) 644#if !defined (_WIN32) && !defined (__lv2ppu__) && !defined (EXOTIC_NO_SIGNAL)
607 siginfo_t data; /**< Signal info */ 645 siginfo_t data; /**< Signal info */
608#endif 646#endif
609}; 647};
@@ -612,7 +650,7 @@ struct _Ecore_Event_Signal_Power /** Power event */
612{ 650{
613 void *ext_data; /**< Extension data - not used */ 651 void *ext_data; /**< Extension data - not used */
614 652
615#if !defined (_WIN32) && !defined (__lv2ppu__) 653#if !defined (_WIN32) && !defined (__lv2ppu__) && !defined (EXOTIC_NO_SIGNAL)
616 siginfo_t data; /**< Signal info */ 654 siginfo_t data; /**< Signal info */
617#endif 655#endif
618}; 656};
@@ -621,21 +659,161 @@ struct _Ecore_Event_Signal_Realtime /** Realtime event */
621{ 659{
622 int num; /**< The realtime signal's number */ 660 int num; /**< The realtime signal's number */
623 661
624#if !defined (_WIN32) && !defined (__lv2ppu__) 662#if !defined (_WIN32) && !defined (__lv2ppu__) && !defined (EXOTIC_NO_SIGNAL)
625 siginfo_t data; /**< Signal info */ 663 siginfo_t data; /**< Signal info */
626#endif 664#endif
627}; 665};
628 666
667/**
668 * @brief Add an event handler.
669 * @param type The type of the event this handler will get called for
670 * @param func The function to call when the event is found in the queue
671 * @param data A data pointer to pass to the called function @p func
672 * @return A new Event handler, or NULL on failure
673 *
674 * Add an event handler to the list of handlers. This will, on success, return
675 * a handle to the event handler object that was created, that can be used
676 * later to remove the handler using ecore_event_handler_del(). The @p type
677 * parameter is the integer of the event type that will trigger this callback
678 * to be called. The callback @p func is called when this event is processed
679 * and will be passed the event type, a pointer to the private event
680 * structure that is specific to that event type, and a data pointer that is
681 * provided in this call as the @p data parameter.
682 *
683 * When the callback @p func is called, it must return 1 or 0. If it returns
684 * 1 (or ECORE_CALLBACK_PASS_ON), It will keep being called as per normal, for
685 * each handler set up for that event type. If it returns 0 (or
686 * ECORE_CALLBACK_DONE), it will cease processing handlers for that particular
687 * event, so all handler set to handle that event type that have not already
688 * been called, will not be.
689 */
629EAPI Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_Cb func, const void *data); 690EAPI Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_Cb func, const void *data);
691/**
692 * @brief Delete an event handler.
693 * @param event_handler Event handler handle to delete
694 * @return Data passed to handler
695 *
696 * Delete a specified event handler from the handler list. On success this will
697 * delete the event handler and return the pointer passed as @p data when the
698 * handler was added by ecore_event_handler_add(). On failure NULL will be
699 * returned. Once a handler is deleted it will no longer be called.
700 */
630EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler); 701EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler);
702/**
703 * @brief Add an event to the event queue.
704 * @param type The event type to add to the end of the event queue
705 * @param ev The data structure passed as @c event to event handlers
706 * @param func_free The function to be called to free @a ev
707 * @param data The data pointer to be passed to the free function
708 * @return A Handle for that event on success, otherwise NULL
709 *
710 * If it succeeds, an event of type @a type will be added to the queue for
711 * processing by event handlers added by ecore_event_handler_add(). The @a ev
712 * parameter will be passed as the @c event parameter of the handler. When the
713 * event is no longer needed, @a func_free will be called and passed @a ev for
714 * cleaning up. If @p func_free is NULL, free() will be called with the private
715 * structure pointer.
716 */
631EAPI Ecore_Event *ecore_event_add(int type, void *ev, Ecore_End_Cb func_free, void *data); 717EAPI Ecore_Event *ecore_event_add(int type, void *ev, Ecore_End_Cb func_free, void *data);
718/**
719 * @brief Delete an event from the queue.
720 * @param event The event handle to delete
721 * @return The data pointer originally set for the event free function
722 *
723 * This deletes the event @p event from the event queue, and returns the
724 * @p data parameter originally set when adding it with ecore_event_add(). This
725 * does not immediately call the free function, and it may be called later on
726 * cleanup, and so if the free function depends on the data pointer to work,
727 * you should defer cleaning of this till the free function is called later.
728 */
632EAPI void *ecore_event_del(Ecore_Event *event); 729EAPI void *ecore_event_del(Ecore_Event *event);
730/**
731 * @brief Get the data associated with an #Ecore_Event_Handler
732 * @param eh The event handler
733 * @return The data
734 *
735 * This function returns the data previously associated with @p eh by
736 * ecore_event_handler_add().
737 */
633EAPI void *ecore_event_handler_data_get(Ecore_Event_Handler *eh); 738EAPI void *ecore_event_handler_data_get(Ecore_Event_Handler *eh);
739/**
740 * @brief Set the data associated with an #Ecore_Event_Handler
741 * @param eh The event handler
742 * @param data The data to associate
743 * @return The previous data
744 *
745 * This function sets @p data to @p eh and returns the old data pointer
746 * which was previously associated with @p eh by ecore_event_handler_add().
747 */
634EAPI void *ecore_event_handler_data_set(Ecore_Event_Handler *eh, const void *data); 748EAPI void *ecore_event_handler_data_set(Ecore_Event_Handler *eh, const void *data);
749/**
750 * @brief Allocate a new event type id sensibly and return the new id.
751 * @return A new event type id.
752 *
753 * This function allocates a new event type id and returns it. Once an event
754 * type has been allocated it can never be de-allocated during the life of
755 * the program. There is no guarantee of the contents of this event ID, or how
756 * it is calculated, except that the ID will be unique to the current instance
757 * of the process.
758 */
635EAPI int ecore_event_type_new(void); 759EAPI int ecore_event_type_new(void);
760/**
761 * @brief Add a filter the current event queue.
762 *
763 * @param func_start Function to call just before filtering and return data
764 * @param func_filter Function to call on each event
765 * @param func_end Function to call after the queue has been filtered
766 * @param data Data to pass to the filter functions
767 * @return A filter handle on success, NULL otherwise
768 *
769 * Adds a callback to filter events from the event queue. Filters are called on
770 * the queue just before Event handler processing to try and remove redundant
771 * events. Just as processing is about to start @a func_start is called and
772 * passed the @a data pointer, the return value of this functions is passed to
773 * @a func_filter as loop_data. @a func_filter is also passed @a data and the
774 * event type and event structure. If this @a func_filter returns #EINA_FALSE,
775 * the event is removed from the queue, if it returns #EINA_TRUE, the event is
776 * kept. When processing is finished @p func_end is called and is passed the
777 * loop_data(returned by @c func_start) and @p data pointer to clean up.
778 */
636EAPI Ecore_Event_Filter *ecore_event_filter_add(Ecore_Data_Cb func_start, Ecore_Filter_Cb func_filter, Ecore_End_Cb func_end, const void *data); 779EAPI Ecore_Event_Filter *ecore_event_filter_add(Ecore_Data_Cb func_start, Ecore_Filter_Cb func_filter, Ecore_End_Cb func_end, const void *data);
780/**
781 * @brief Delete an event filter.
782 * @param ef The event filter handle
783 * @return The data set for the filter on success, NULL otherwise
784 *
785 * Delete a filter that has been added by its @p ef handle.
786 */
637EAPI void *ecore_event_filter_del(Ecore_Event_Filter *ef); 787EAPI void *ecore_event_filter_del(Ecore_Event_Filter *ef);
788/**
789 * @brief Return the current event type being handled.
790 * @return The current event type being handled if inside a handler callback,
791 * ECORE_EVENT_NONE otherwise
792 *
793 * If the program is currently inside an Ecore event handler callback this
794 * will return the type of the current event being processed.
795 *
796 * This is useful when certain Ecore modules such as Ecore_Evas "swallow"
797 * events and not all the original information is passed on. In special cases
798 * this extra information may be useful or needed and using this call can let
799 * the program know if the event type being handled is one it wants to get more
800 * information about.
801 */
638EAPI int ecore_event_current_type_get(void); 802EAPI int ecore_event_current_type_get(void);
803/**
804 * @brief Return the current event type pointer handled.
805 * @return The current event pointer being handled if inside a handler callback,
806 * NULL otherwise
807 *
808 * If the program is currently inside an Ecore event handler callback this
809 * will return the pointer of the current event being processed.
810 *
811 * This is useful when certain Ecore modules such as Ecore_Evas "swallow"
812 * events and not all the original information is passed on. In special cases
813 * this extra information may be useful or needed and using this call can let
814 * the program access the event data if the type of the event is handled by
815 * the program.
816 */
639EAPI void *ecore_event_current_event_get(void); 817EAPI void *ecore_event_current_event_get(void);
640 818
641/** 819/**
@@ -652,7 +830,8 @@ EAPI void *ecore_event_current_event_get(void);
652 * @{ 830 * @{
653 */ 831 */
654 832
655 #define ECORE_EXE_PRIORITY_INHERIT 9999 833/** Inherit priority from parent process */
834#define ECORE_EXE_PRIORITY_INHERIT 9999
656 835
657EAPI extern int ECORE_EXE_EVENT_ADD; /**< A child process has been added */ 836EAPI extern int ECORE_EXE_EVENT_ADD; /**< A child process has been added */
658EAPI extern int ECORE_EXE_EVENT_DEL; /**< A child process has been deleted (it exited, naming consistent with the rest of ecore). */ 837EAPI extern int ECORE_EXE_EVENT_DEL; /**< A child process has been deleted (it exited, naming consistent with the rest of ecore). */
@@ -715,7 +894,7 @@ struct _Ecore_Exe_Event_Del /** Process exit event */
715 Eina_Bool exited : 1; /** < set to 1 if the process exited of its own accord */ 894 Eina_Bool exited : 1; /** < set to 1 if the process exited of its own accord */
716 Eina_Bool signalled : 1; /** < set to 1 id the process exited due to uncaught signal */ 895 Eina_Bool signalled : 1; /** < set to 1 id the process exited due to uncaught signal */
717 void *ext_data; /**< Extension data - not used */ 896 void *ext_data; /**< Extension data - not used */
718#if !defined (_WIN32) && !defined (__lv2ppu__) 897#if !defined (_WIN32) && !defined (__lv2ppu__) && !defined (EXOTIC_NO_SIGNAL)
719 siginfo_t data; /**< Signal info */ 898 siginfo_t data; /**< Signal info */
720#endif 899#endif
721}; 900};
@@ -768,24 +947,30 @@ EAPI void ecore_exe_hup(Ecore_Exe *exe);
768/** 947/**
769 * @defgroup Ecore_FD_Handler_Group File Event Handling Functions 948 * @defgroup Ecore_FD_Handler_Group File Event Handling Functions
770 * 949 *
771 * Functions that deal with file descriptor handlers. 950 * @brief Functions that deal with file descriptor handlers.
951 *
952 * File descriptor handlers facilitate reading, writing and checking for errors
953 * without blocking the program or doing expensive pooling. This can be used to
954 * monitor a socket, pipe, or other stream for which an FD can be had.
772 * 955 *
773 * The @ref Ecore_Fd_Handler can be used to watch a file descriptor 956 * @warning This function @b can't be used for monitoring to regular files!
774 * for data available for reading, for the availability to write
775 * without blocking, and for errors on the file descriptor.
776 * 957 *
777 *ecore_main_fd_handler_add() is used to setup a handler for a 958 * One common FD to be monitored is the standard input(stdin), monitoring it for
778 * given file descriptor. This file descriptor can be the standard 959 * reading requires a single call:
779 * input, a network socket, a stream received through some driver 960 * @code
780 * of a hardware decoder, etc. Thus it can contain errors, like a 961 * static Eina_Bool
781 * disconnection, a broken pipe, and so, and that's why it's 962 * _my_cb_func(void *data, Ecore_Fd_Handler *handler)
782 * possible to check for these errors with the @ref ECORE_FD_ERROR 963 * {
783 * flag. 964 * char c;
965 * scanf("%c", &c); //Guaranteed not to block
966 * ... do stuff with c ...
967 * }
968 * ecore_main_fd_handler_add(STDIN_FILENO, ECORE_FD_READ, _my_cb_func, NULL, NULL, NULL);
969 * @endcode
784 * 970 *
785 * An @ref Ecore_Fd_Handler can be used to watch on a file 971 * When using a socket, pipe or other stream it's important to remember that
786 * descriptor without blocking, still being able to receive events, 972 * errors may occur and as such to monitor not only for reading/writing but also
787 * expire timers, and other watch for other things that happen in 973 * for errors using the @ref ECORE_FD_ERROR flag.
788 * the Ecore main loop.
789 * 974 *
790 * Example of use of a file descriptor handler: 975 * Example of use of a file descriptor handler:
791 * @li @ref ecore_fd_handler_example_c 976 * @li @ref ecore_fd_handler_example_c
@@ -823,11 +1008,93 @@ typedef void (*Ecore_Fd_Prep_Cb)(void *data, Ecore_Fd_Handler *fd_handler);
823 */ 1008 */
824typedef Eina_Bool (*Ecore_Win32_Handle_Cb)(void *data, Ecore_Win32_Handler *wh); 1009typedef Eina_Bool (*Ecore_Win32_Handle_Cb)(void *data, Ecore_Win32_Handler *wh);
825 1010
1011/**
1012 * @brief Adds a callback for activity on the given file descriptor.
1013 *
1014 * @param fd The file descriptor to watch.
1015 * @param flags To monitor it for reading use @c ECORE_FD_READ, for writing @c
1016 * ECORE_FD_WRITE, and for error @c ECORE_FD_ERROR. Values bay |(ored).
1017 * @param func The callback function.
1018 * @param data The data to pass to the callback.
1019 * @param buf_func The function to call to check if any data has been buffered
1020 * and already read from the fd. May be @c NULL.
1021 * @param buf_data The data to pass to the @p buf_func function.
1022 * @return A fd handler handle on success, @c NULL otherwise.
1023 *
1024 * @a func will be called during the execution of @ref Ecore_Main_Loop_Page
1025 * when the file descriptor is available for reading, writing, or there has been
1026 * an error(depending on the given @a flags).
1027 *
1028 * When @a func returns ECORE_CALLBACK_CANCEL, it indicates that the
1029 * handler should be marked for deletion (identical to calling @ref
1030 * ecore_main_fd_handler_del).
1031 *
1032 * @warning @a buf_func is meant for @b internal use only and should be @b
1033 * avoided.
1034 *
1035 * The return value of @a buf_func has a different meaning, when it returns
1036 * ECORE_CALLBACK_CANCEL, it indicates that @a func @b shouldn't be called, and
1037 * when it returns ECORE_CALLBACK_RENEW it indicates @a func should be called.
1038 * The return value of @a buf_func will not cause the FD handler to be deleted.
1039 *
1040 * @a buf_func is called during event loop handling to check if data that has
1041 * been read from the file descriptor is in a buffer and is available to read.
1042 * Some systems, notably xlib, handle their own buffering, and would otherwise
1043 * not work with select(). These systems should use a @a buf_func. This is a
1044 * most annoying hack, only ecore_x uses it, so refer to that for an example.
1045 */
826EAPI Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, Ecore_Fd_Cb func, const void *data, Ecore_Fd_Cb buf_func, const void *buf_data); 1046EAPI Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, Ecore_Fd_Cb func, const void *data, Ecore_Fd_Cb buf_func, const void *buf_data);
1047/**
1048 * @brief Set the prepare callback with data for a given #Ecore_Fd_Handler
1049 *
1050 * @param fd_handler The fd handler
1051 * @param func The prep function
1052 * @param data The data to pass to the prep function
1053 *
1054 * This function will be called prior to any fd handler's callback function
1055 * (even the other fd handlers), before entering the main loop select function.
1056 *
1057 * @note Once a prepare callback is set for a fd handler, it cannot be changed.
1058 * You need to delete the fd handler and create a new one, to set another
1059 * callback.
1060 * @note You probably don't need this function. It is only necessary for very
1061 * uncommon cases that need special behavior.
1062 */
827EAPI void ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Prep_Cb func, const void *data); 1063EAPI void ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Prep_Cb func, const void *data);
1064/**
1065 * @brief Marks an FD handler for deletion.
1066 * @param fd_handler The FD handler.
1067 * @return The data pointer set using @ref ecore_main_fd_handler_add, for @a
1068 * fd_handler on success, @c NULL otherwise.
1069 * This function marks an fd handler to be deleted during an iteration of the
1070 * main loop. It does NOT close the associated fd!
1071 *
1072 * @warning If the underlying fd is already closed ecore may complain if the
1073 * main loop is using epoll internally, and also in some rare cases this may
1074 * cause crashes and instability. Remember to delete your fd handlers before the
1075 * fds they listen to are closed.
1076 */
828EAPI void *ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler); 1077EAPI void *ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler);
1078/**
1079 * @brief Retrieves the file descriptor that the given handler is handling.
1080 * @param fd_handler The given FD handler.
1081 * @return The file descriptor the handler is watching.
1082 */
829EAPI int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler); 1083EAPI int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler);
1084/**
1085 * @brief Gets which flags are active on an FD handler.
1086 * @param fd_handler The given FD handler.
1087 * @param flags The flags, @c ECORE_FD_READ, @c ECORE_FD_WRITE or @c
1088 * ECORE_FD_ERROR to query.
1089 * @return #EINA_TRUE if any of the given flags are active, #EINA_FALSE
1090 * otherwise.
1091 */
830EAPI Eina_Bool ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags); 1092EAPI Eina_Bool ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags);
1093/**
1094 * @brief Set what active streams the given FD handler should be monitoring.
1095 * @param fd_handler The given FD handler.
1096 * @param flags The flags to be watching.
1097 */
831EAPI void ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags); 1098EAPI void ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags);
832 1099
833EAPI Ecore_Win32_Handler *ecore_main_win32_handler_add(void *h, Ecore_Win32_Handle_Cb func, const void *data); 1100EAPI Ecore_Win32_Handler *ecore_main_win32_handler_add(void *h, Ecore_Win32_Handle_Cb func, const void *data);
@@ -840,13 +1107,30 @@ EAPI void *ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler);
840/** 1107/**
841 * @defgroup Ecore_Poller_Group Ecore Poll functions 1108 * @defgroup Ecore_Poller_Group Ecore Poll functions
842 * 1109 *
843 * These functions are for the need to poll information, but provide 1110 * Ecore poller provides infrastructure for the creation of pollers. Pollers
844 * a shared abstracted API to pool such polling to minimise wakeup 1111 * are, in essence, callbacks that share a single timer per type. Because not
845 * and ensure all the polling happens in as few spots as possible 1112 * all pollers need to be called at the same frequency the user may specify the
846 * areound a core poll interval. For now only 1 core poller type is 1113 * frequency in ticks(each expiration of the shared timer is called a tick, in
847 * supprted: ECORE_POLLER_CORE 1114 * ecore poller parlance) for each added poller. Ecore pollers should only be
1115 * used when the poller doesn't have specific requirements on the exact times
1116 * to poll.
848 * 1117 *
849 * Example of @ref Ecore_Poller : 1118 * This architecture means that the main loop is only woken up once to handle
1119 * all pollers of that type, this will save power as the CPU has more of a
1120 * chance to go into a low power state the longer it is asleep for, so this
1121 * should be used in situations where power usage is a concern.
1122 *
1123 * For now only 1 core poller type is supported: ECORE_POLLER_CORE, the default
1124 * interval for ECORE_POLLER_CORE is 0.125(or 1/8th) second.
1125 *
1126 * The creation of a poller is extremely simple and only required one line:
1127 * @code
1128 * ecore_poller_add(ECORE_POLLER_CORE, 1, my_poller_function, NULL);
1129 * @endcode
1130 * This sample creates a poller to call @c my_poller_function at every tick with
1131 * @c NULL as data.
1132 *
1133 * Example:
850 * @li @ref ecore_poller_example_c 1134 * @li @ref ecore_poller_example_c
851 * 1135 *
852 * @ingroup Ecore_Main_Loop_Group 1136 * @ingroup Ecore_Main_Loop_Group
@@ -862,11 +1146,76 @@ typedef enum _Ecore_Poller_Type Ecore_Poller_Type;
862 1146
863typedef struct _Ecore_Poller Ecore_Poller; /**< A handle for pollers */ 1147typedef struct _Ecore_Poller Ecore_Poller; /**< A handle for pollers */
864 1148
1149/**
1150 * @brief Sets the time(in seconds) between ticks for the given poller type.
1151 * @param type The poller type to adjust.
1152 * @param poll_time The time(in seconds) between ticks of the timer.
1153 *
1154 * This will adjust the time between ticks of the given timer type defined by
1155 * @p type to the time period defined by @p poll_time.
1156 */
865EAPI void ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time); 1157EAPI void ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time);
1158/**
1159 * @brief Gets the time(in seconds) between ticks for the given poller type.
1160 * @param type The poller type to query.
1161 * @return The time in seconds between ticks of the poller timer.
1162 *
1163 * This will get the time between ticks of the specified poller timer.
1164 */
866EAPI double ecore_poller_poll_interval_get(Ecore_Poller_Type type); 1165EAPI double ecore_poller_poll_interval_get(Ecore_Poller_Type type);
1166/**
1167 * @brief Changes the polling interval rate of @p poller.
1168 * @param poller The Ecore_Poller to change the interval of.
1169 * @param interval The tick interval to set; must be a power of 2 and <= 32768.
1170 * @return Returns true on success, false on failure.
1171 *
1172 * This allows the changing of a poller's polling interval. It is useful when
1173 * you want to alter a poll rate without deleting and re-creating a poller.
1174 */
867EAPI Eina_Bool ecore_poller_poller_interval_set(Ecore_Poller *poller, int interval); 1175EAPI Eina_Bool ecore_poller_poller_interval_set(Ecore_Poller *poller, int interval);
1176/**
1177 * @brief Gets the polling interval rate of @p poller.
1178 * @param poller The Ecore_Poller to change the interval of.
1179 * @return Returns the interval, in ticks, that @p poller polls at.
1180 *
1181 * This returns a poller's polling interval, or 0 on error.
1182 */
868EAPI int ecore_poller_poller_interval_get(Ecore_Poller *poller); 1183EAPI int ecore_poller_poller_interval_get(Ecore_Poller *poller);
1184/**
1185 * @brief Creates a poller to call the given function at a particular tick interval.
1186 * @param type The ticker type to attach the poller to. Must be ECORE_POLLER_CORE.
1187 * @param interval The poll interval.
1188 * @param func The poller function.
1189 * @param data Data to pass to @a func when it is called.
1190 * @return A poller object on success, @c NULL otherwise.
1191 *
1192 * This function adds @a func as a poller callback that will be called every @a
1193 * interval ticks together with other pollers of type @a type. @a func will be
1194 * passed the @p data pointer as a parameter.
1195 *
1196 * The @p interval must be between 1 and 32768 inclusive, and must be a power of
1197 * 2 (i.e. 1, 2, 4, 8, 16, ... 16384, 32768). The exact tick in which @a func
1198 * will be called is undefined, as only the interval between calls can be
1199 * defined. Ecore will endeavor to keep pollers synchronized and to call as
1200 * many in 1 wakeup event as possible. If @a interval is not a power of two, the
1201 * closest power of 2 greater than @a interval will be used.
1202 *
1203 * When the poller @p func is called, it must return a value of either
1204 * ECORE_CALLBACK_RENEW(or 1) or ECORE_CALLBACK_CANCEL(or 0). If it
1205 * returns 1, it will be called again at the next tick, or if it returns
1206 * 0 it will be deleted automatically making any references/handles for it
1207 * invalid.
1208 */
869EAPI Ecore_Poller *ecore_poller_add(Ecore_Poller_Type type, int interval, Ecore_Task_Cb func, const void *data); 1209EAPI Ecore_Poller *ecore_poller_add(Ecore_Poller_Type type, int interval, Ecore_Task_Cb func, const void *data);
1210/**
1211 * @brief Delete the specified poller from the timer list.
1212 * @param poller The poller to delete.
1213 * @return The data pointer set for the timer when @ref ecore_poller_add was
1214 * called on success, @c NULL otherwise.
1215 *
1216 * @note @a poller must be a valid handle. If the poller function has already
1217 * returned 0, the handle is no longer valid (and does not need to be deleted).
1218 */
870EAPI void *ecore_poller_del(Ecore_Poller *poller); 1219EAPI void *ecore_poller_del(Ecore_Poller *poller);
871 1220
872/** 1221/**
@@ -941,7 +1290,7 @@ typedef enum _Ecore_Animator_Source Ecore_Animator_Source;
941typedef Eina_Bool (*Ecore_Timeline_Cb)(void *data, double pos); 1290typedef Eina_Bool (*Ecore_Timeline_Cb)(void *data, double pos);
942 1291
943/** 1292/**
944 * @brief Add an animator to call @p func at every animaton tick during main 1293 * @brief Add an animator to call @p func at every animation tick during main
945 * loop execution. 1294 * loop execution.
946 * 1295 *
947 * @param func The function to call when it ticks off 1296 * @param func The function to call when it ticks off
@@ -1011,7 +1360,7 @@ EAPI void *ecore_animator_del(Ecore_Animator *animator);
1011 * 1360 *
1012 * @param animator The animator to delete 1361 * @param animator The animator to delete
1013 * 1362 *
1014 * The specified @p animator will be temporarly removed from the set of 1363 * The specified @p animator will be temporarily removed from the set of
1015 * animators that are executed during main loop. 1364 * animators that are executed during main loop.
1016 * 1365 *
1017 * @warning Freezing an animator doesn't freeze accounting of how long that 1366 * @warning Freezing an animator doesn't freeze accounting of how long that
@@ -1069,7 +1418,7 @@ EAPI double ecore_animator_frametime_get(void);
1069 * has "overshot" the mark) using some interpolation (mapping) algorithm. 1418 * has "overshot" the mark) using some interpolation (mapping) algorithm.
1070 * 1419 *
1071 * This function useful to create non-linear animations. It offers a variety 1420 * This function useful to create non-linear animations. It offers a variety
1072 * of possible animaton curves to be used: 1421 * of possible animation curves to be used:
1073 * @li ECORE_POS_MAP_LINEAR - Linear, returns @p pos 1422 * @li ECORE_POS_MAP_LINEAR - Linear, returns @p pos
1074 * @li ECORE_POS_MAP_ACCELERATE - Start slow then speed up 1423 * @li ECORE_POS_MAP_ACCELERATE - Start slow then speed up
1075 * @li ECORE_POS_MAP_DECELERATE - Start fast then slow down 1424 * @li ECORE_POS_MAP_DECELERATE - Start fast then slow down
@@ -1107,7 +1456,7 @@ EAPI double ecore_animator_frametime_get(void);
1107 * y = (y1 * out) + (y2 * (1.0 - out)); 1456 * y = (y1 * out) + (y2 * (1.0 - out));
1108 * move_my_object_to(myobject, x, y); 1457 * move_my_object_to(myobject, x, y);
1109 * @endcode 1458 * @endcode
1110 * This will make an animaton that bounces 7 each times diminishing by a 1459 * This will make an animation that bounces 7 each times diminishing by a
1111 * factor of 1.8. 1460 * factor of 1.8.
1112 * 1461 *
1113 * @see _Ecore_Pos_Map 1462 * @see _Ecore_Pos_Map
@@ -1205,16 +1554,39 @@ EAPI void ecore_animator_custom_tick(void);
1205 */ 1554 */
1206 1555
1207/** 1556/**
1208 * @defgroup Ecore_Time_Group Ecore Time functions 1557 * @defgroup Ecore_Time_Group Ecore time functions
1209 *
1210 * Functions that deal with time. These functions include those
1211 * that simply retrieve it in a given format, and those that create
1212 * events based on it.
1213 * 1558 *
1214 * The timer allows callbacks to be called at specific intervals. 1559 * These are function to retrieve time in a given format.
1215 * 1560 *
1216 * Examples with functions that deal with time: 1561 * Examples:
1217 * @li @ref ecore_time_functions_example_c 1562 * @li @ref ecore_time_functions_example_c
1563 * @{
1564 */
1565EAPI double ecore_time_get(void);
1566EAPI double ecore_time_unix_get(void);
1567EAPI double ecore_loop_time_get(void);
1568
1569/**
1570 * @}
1571 */
1572
1573/**
1574 * @defgroup Ecore_Timer_Group Ecore Timer functions
1575 *
1576 * Ecore provides very flexible timer functionality. The basic usage of timers,
1577 * to call a certain function at a certain interval can be achieved with a
1578 * single line:
1579 * @code
1580 * Eina_Bool my_func(void *data) {
1581 * do_funky_stuff_with_data(data);
1582 * return EINA_TRUE;
1583 * }
1584 * ecore_timer_add(interval_in_seconds, my_func, data_given_to_function);
1585 * @endcode
1586 * @note If the function was to be executed only once simply return EINA_FALSE
1587 * instead.
1588 *
1589 * An example that shows the usage of a lot of these:
1218 * @li @ref ecore_timer_example_c 1590 * @li @ref ecore_timer_example_c
1219 * 1591 *
1220 * @ingroup Ecore_Main_Loop_Group 1592 * @ingroup Ecore_Main_Loop_Group
@@ -1224,10 +1596,6 @@ EAPI void ecore_animator_custom_tick(void);
1224 1596
1225typedef struct _Ecore_Timer Ecore_Timer; /**< A handle for timers */ 1597typedef struct _Ecore_Timer Ecore_Timer; /**< A handle for timers */
1226 1598
1227EAPI double ecore_time_get(void);
1228EAPI double ecore_time_unix_get(void);
1229EAPI double ecore_loop_time_get(void);
1230
1231EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data); 1599EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data);
1232EAPI Ecore_Timer *ecore_timer_loop_add(double in, Ecore_Task_Cb func, const void *data); 1600EAPI Ecore_Timer *ecore_timer_loop_add(double in, Ecore_Task_Cb func, const void *data);
1233EAPI void *ecore_timer_del(Ecore_Timer *timer); 1601EAPI void *ecore_timer_del(Ecore_Timer *timer);
@@ -1249,14 +1617,15 @@ EAPI char *ecore_timer_dump(void);
1249/** 1617/**
1250 * @defgroup Ecore_Idle_Group Ecore Idle functions 1618 * @defgroup Ecore_Idle_Group Ecore Idle functions
1251 * 1619 *
1252 * Callbacks that are called when the program enters or exits an 1620 * The idler functionality in Ecore allows for callbacks to be called when the
1253 * idle state. 1621 * program isn't handling @ref Ecore_Event_Group "events", @ref Ecore_Timer_Group
1622 * "timers" or @ref Ecore_FD_Handler_Group "fd handlers".
1254 * 1623 *
1255 * The ecore main loop enters an idle state when it is waiting for 1624 * There are three types of idlers: Enterers, Idlers(proper) and Exiters. They
1256 * timers to time out, data to come in on a file descriptor or any 1625 * are called, respectively, when the program is about to enter an idle state,
1257 * other event to occur. You can set callbacks to be called when 1626 * when the program is in an idle state and when the program has just left an
1258 * the main loop enters an idle state, during an idle state or just 1627 * idle state and will begin processing @ref Ecore_Event_Group "events", @ref
1259 * after the program wakes up. 1628 * Ecore_Timer_Group "timers" or @ref Ecore_FD_Handler_Group "fd handlers".
1260 * 1629 *
1261 * Enterer callbacks are good for updating your program's state, if 1630 * Enterer callbacks are good for updating your program's state, if
1262 * it has a state engine. Once all of the enterer handlers are 1631 * it has a state engine. Once all of the enterer handlers are
@@ -1266,14 +1635,13 @@ EAPI char *ecore_timer_dump(void);
1266 * enterer handlers. They are useful for interfaces that require 1635 * enterer handlers. They are useful for interfaces that require
1267 * polling and timers would be too slow to use. 1636 * polling and timers would be too slow to use.
1268 * 1637 *
1638 * Exiter callbacks are called when the main loop wakes up from an idle state.
1639 *
1269 * If no idler callbacks are specified, then the process literally 1640 * If no idler callbacks are specified, then the process literally
1270 * goes to sleep. Otherwise, the idler callbacks are called 1641 * goes to sleep. Otherwise, the idler callbacks are called
1271 * continuously while the loop is "idle", using as much CPU as is 1642 * continuously while the loop is "idle", using as much CPU as is
1272 * available to the process. 1643 * available to the process.
1273 * 1644 *
1274 * Exiter callbacks are called when the main loop wakes up from an
1275 * idle state.
1276 *
1277 * @note Idle state doesn't mean that the @b program is idle, but 1645 * @note Idle state doesn't mean that the @b program is idle, but
1278 * that the <b>main loop</b> is idle. It doesn't have any timers, 1646 * that the <b>main loop</b> is idle. It doesn't have any timers,
1279 * events, fd handlers or anything else to process (which in most 1647 * events, fd handlers or anything else to process (which in most
@@ -1343,7 +1711,7 @@ EAPI void *ecore_idle_exiter_del(Ecore_Idle_Exiter *idle_exiter);
1343 * thread, the one running the main loop. This problem can be solved 1711 * thread, the one running the main loop. This problem can be solved
1344 * by running a thread that sends messages to the main one using an 1712 * by running a thread that sends messages to the main one using an
1345 * @ref Ecore_Pipe_Group "Ecore_Pipe", but when you need to handle other 1713 * @ref Ecore_Pipe_Group "Ecore_Pipe", but when you need to handle other
1346 * things like cancelling the thread, your code grows in coplexity and gets 1714 * things like cancelling the thread, your code grows in complexity and gets
1347 * much harder to maintain. 1715 * much harder to maintain.
1348 * 1716 *
1349 * Ecore Thread is here to solve that problem. It is @b not a simple wrapper 1717 * Ecore Thread is here to solve that problem. It is @b not a simple wrapper
@@ -1514,7 +1882,7 @@ EAPI Ecore_Thread *ecore_thread_run(Ecore_Thread_Cb func_blocking, Ecore_Thread_
1514 * with ecore_thread_feedback(). 1882 * with ecore_thread_feedback().
1515 * 1883 *
1516 * Like with ecore_thread_run(), a new thread will be launched to run 1884 * Like with ecore_thread_run(), a new thread will be launched to run
1517 * @p func_heavy unless the maximum number of simultaneous threadas has been 1885 * @p func_heavy unless the maximum number of simultaneous threads has been
1518 * reached, in which case the function will be scheduled to run whenever a 1886 * reached, in which case the function will be scheduled to run whenever a
1519 * running task ends and a thread becomes free. But if @p try_no_queue is 1887 * running task ends and a thread becomes free. But if @p try_no_queue is
1520 * set, Ecore will first try to launch a thread outside of the pool to run 1888 * set, Ecore will first try to launch a thread outside of the pool to run
@@ -2076,7 +2444,7 @@ EAPI int ecore_pipe_wait(Ecore_Pipe *p, int message_count, double wait);
2076 * also will be executed in the order in which they were added. 2444 * also will be executed in the order in which they were added.
2077 * 2445 *
2078 * A good use for them is when you don't want to execute an action 2446 * A good use for them is when you don't want to execute an action
2079 * immeditately, but want to give the control back to the main loop 2447 * immediately, but want to give the control back to the main loop
2080 * so that it will call your job callback when jobs start being 2448 * so that it will call your job callback when jobs start being
2081 * processed (and if there are other jobs added before yours, they 2449 * processed (and if there are other jobs added before yours, they
2082 * will be processed first). This also gives the chance to other 2450 * will be processed first). This also gives the chance to other
diff --git a/libraries/ecore/src/lib/ecore/Makefile.am b/libraries/ecore/src/lib/ecore/Makefile.am
index ec3d99f..6f14387 100644
--- a/libraries/ecore/src/lib/ecore/Makefile.am
+++ b/libraries/ecore/src/lib/ecore/Makefile.am
@@ -47,6 +47,12 @@ libecore_la_SOURCES += ecore_exe_ps3.c
47 47
48else 48else
49 49
50if ECORE_HAVE_EXOTIC
51
52libecore_la_SOURCES +=
53
54else
55
50libecore_la_SOURCES += ecore_signal.c ecore_exe.c 56libecore_la_SOURCES += ecore_signal.c ecore_exe.c
51 57
52endif 58endif
@@ -55,6 +61,8 @@ endif
55 61
56endif 62endif
57 63
64endif
65
58libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @GLIB_LIBS@ @WIN32_LIBS@ @LTLIBINTL@ @EFL_PTHREAD_LIBS@ @rt_libs@ -lm 66libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @GLIB_LIBS@ @WIN32_LIBS@ @LTLIBINTL@ @EFL_PTHREAD_LIBS@ @rt_libs@ -lm
59libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@ 67libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
60 68
diff --git a/libraries/ecore/src/lib/ecore/Makefile.in b/libraries/ecore/src/lib/ecore/Makefile.in
index 66a25cd..71e2ac4 100644
--- a/libraries/ecore/src/lib/ecore/Makefile.in
+++ b/libraries/ecore/src/lib/ecore/Makefile.in
@@ -38,7 +38,8 @@ host_triplet = @host@
38@ECORE_HAVE_WIN32_TRUE@am__append_1 = ecore_exe_win32.c 38@ECORE_HAVE_WIN32_TRUE@am__append_1 = ecore_exe_win32.c
39@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_TRUE@am__append_2 = ecore_exe_wince.c 39@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_TRUE@am__append_2 = ecore_exe_wince.c
40@ECORE_HAVE_PS3_TRUE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__append_3 = ecore_exe_ps3.c 40@ECORE_HAVE_PS3_TRUE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__append_3 = ecore_exe_ps3.c
41@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__append_4 = ecore_signal.c ecore_exe.c 41@ECORE_HAVE_EXOTIC_TRUE@@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__append_4 =
42@ECORE_HAVE_EXOTIC_FALSE@@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__append_5 = ecore_signal.c ecore_exe.c
42subdir = src/lib/ecore 43subdir = src/lib/ecore
43DIST_COMMON = $(includes_HEADERS) $(srcdir)/Makefile.am \ 44DIST_COMMON = $(includes_HEADERS) $(srcdir)/Makefile.am \
44 $(srcdir)/Makefile.in 45 $(srcdir)/Makefile.in
@@ -54,16 +55,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
54 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 55 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
55 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 56 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
56 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 57 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
57 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 58 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
58 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 59 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
59 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 60 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
60 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 61 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
61 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 62 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
62 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 63 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
63 $(top_srcdir)/configure.ac
64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65 $(ACLOCAL_M4) 65 $(ACLOCAL_M4)
66mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 66mkinstalldirs = $(install_sh) -d
67CONFIG_HEADER = $(top_builddir)/config.h 67CONFIG_HEADER = $(top_builddir)/config.h
68CONFIG_CLEAN_FILES = 68CONFIG_CLEAN_FILES =
69CONFIG_CLEAN_VPATH_FILES = 69CONFIG_CLEAN_VPATH_FILES =
@@ -100,15 +100,16 @@ am__libecore_la_SOURCES_DIST = ecore.c ecore_alloc.c ecore_anim.c \
100@ECORE_HAVE_WIN32_TRUE@am__objects_1 = ecore_exe_win32.lo 100@ECORE_HAVE_WIN32_TRUE@am__objects_1 = ecore_exe_win32.lo
101@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_TRUE@am__objects_2 = ecore_exe_wince.lo 101@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_TRUE@am__objects_2 = ecore_exe_wince.lo
102@ECORE_HAVE_PS3_TRUE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__objects_3 = ecore_exe_ps3.lo 102@ECORE_HAVE_PS3_TRUE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__objects_3 = ecore_exe_ps3.lo
103@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__objects_4 = ecore_signal.lo \ 103am__objects_4 =
104@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@ ecore_exe.lo 104@ECORE_HAVE_EXOTIC_FALSE@@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@am__objects_5 = ecore_signal.lo \
105@ECORE_HAVE_EXOTIC_FALSE@@ECORE_HAVE_PS3_FALSE@@ECORE_HAVE_WIN32_FALSE@@ECORE_HAVE_WINCE_FALSE@ ecore_exe.lo
105am_libecore_la_OBJECTS = ecore.lo ecore_alloc.lo ecore_anim.lo \ 106am_libecore_la_OBJECTS = ecore.lo ecore_alloc.lo ecore_anim.lo \
106 ecore_app.lo ecore_events.lo ecore_getopt.lo \ 107 ecore_app.lo ecore_events.lo ecore_getopt.lo \
107 ecore_idle_enterer.lo ecore_idle_exiter.lo ecore_idler.lo \ 108 ecore_idle_enterer.lo ecore_idle_exiter.lo ecore_idler.lo \
108 ecore_job.lo ecore_main.lo ecore_pipe.lo ecore_poll.lo \ 109 ecore_job.lo ecore_main.lo ecore_pipe.lo ecore_poll.lo \
109 ecore_time.lo ecore_timer.lo ecore_thread.lo ecore_glib.lo \ 110 ecore_time.lo ecore_timer.lo ecore_thread.lo ecore_glib.lo \
110 ecore_throttle.lo $(am__objects_1) $(am__objects_2) \ 111 ecore_throttle.lo $(am__objects_1) $(am__objects_2) \
111 $(am__objects_3) $(am__objects_4) 112 $(am__objects_3) $(am__objects_4) $(am__objects_5)
112libecore_la_OBJECTS = $(am_libecore_la_OBJECTS) 113libecore_la_OBJECTS = $(am_libecore_la_OBJECTS)
113AM_V_lt = $(am__v_lt_$(V)) 114AM_V_lt = $(am__v_lt_$(V))
114am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) 115am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
@@ -211,6 +212,8 @@ EVAS_LIBS = @EVAS_LIBS@
211EVIL_CFLAGS = @EVIL_CFLAGS@ 212EVIL_CFLAGS = @EVIL_CFLAGS@
212EVIL_LIBS = @EVIL_LIBS@ 213EVIL_LIBS = @EVIL_LIBS@
213EXEEXT = @EXEEXT@ 214EXEEXT = @EXEEXT@
215EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
216EXOTIC_LIBS = @EXOTIC_LIBS@
214FGREP = @FGREP@ 217FGREP = @FGREP@
215GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 218GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
216GLIB_CFLAGS = @GLIB_CFLAGS@ 219GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -266,6 +269,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
266PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 269PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
267PIXMAN_LIBS = @PIXMAN_LIBS@ 270PIXMAN_LIBS = @PIXMAN_LIBS@
268PKG_CONFIG = @PKG_CONFIG@ 271PKG_CONFIG = @PKG_CONFIG@
272PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
273PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
269POSUB = @POSUB@ 274POSUB = @POSUB@
270RANLIB = @RANLIB@ 275RANLIB = @RANLIB@
271SCIM_CFLAGS = @SCIM_CFLAGS@ 276SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -276,6 +281,7 @@ SDL_LIBS = @SDL_LIBS@
276SED = @SED@ 281SED = @SED@
277SET_MAKE = @SET_MAKE@ 282SET_MAKE = @SET_MAKE@
278SHELL = @SHELL@ 283SHELL = @SHELL@
284SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
279SSL_CFLAGS = @SSL_CFLAGS@ 285SSL_CFLAGS = @SSL_CFLAGS@
280SSL_LIBS = @SSL_LIBS@ 286SSL_LIBS = @SSL_LIBS@
281STRIP = @STRIP@ 287STRIP = @STRIP@
@@ -503,7 +509,8 @@ libecore_la_SOURCES = ecore.c ecore_alloc.c ecore_anim.c ecore_app.c \
503 ecore_idle_exiter.c ecore_idler.c ecore_job.c ecore_main.c \ 509 ecore_idle_exiter.c ecore_idler.c ecore_job.c ecore_main.c \
504 ecore_pipe.c ecore_poll.c ecore_time.c ecore_timer.c \ 510 ecore_pipe.c ecore_poll.c ecore_time.c ecore_timer.c \
505 ecore_thread.c ecore_glib.c ecore_throttle.c $(am__append_1) \ 511 ecore_thread.c ecore_glib.c ecore_throttle.c $(am__append_1) \
506 $(am__append_2) $(am__append_3) $(am__append_4) 512 $(am__append_2) $(am__append_3) $(am__append_4) \
513 $(am__append_5)
507libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @GLIB_LIBS@ @WIN32_LIBS@ @LTLIBINTL@ @EFL_PTHREAD_LIBS@ @rt_libs@ -lm 514libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @GLIB_LIBS@ @WIN32_LIBS@ @LTLIBINTL@ @EFL_PTHREAD_LIBS@ @rt_libs@ -lm
508libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@ 515libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
509EXTRA_DIST = ecore_private.h 516EXTRA_DIST = ecore_private.h
diff --git a/libraries/ecore/src/lib/ecore/ecore.c b/libraries/ecore/src/lib/ecore/ecore.c
index 7e0f973..d8b8723 100644
--- a/libraries/ecore/src/lib/ecore/ecore.c
+++ b/libraries/ecore/src/lib/ecore/ecore.c
@@ -163,8 +163,10 @@ ecore_init(void)
163 if (!ecore_mempool_init()) goto shutdown_mempool; 163 if (!ecore_mempool_init()) goto shutdown_mempool;
164 _ecore_main_loop_init(); 164 _ecore_main_loop_init();
165 _ecore_signal_init(); 165 _ecore_signal_init();
166 _ecore_thread_init(); 166#ifndef HAVE_EXOTIC
167 _ecore_exe_init(); 167 _ecore_exe_init();
168#endif
169 _ecore_thread_init();
168 _ecore_glib_init(); 170 _ecore_glib_init();
169 _ecore_job_init(); 171 _ecore_job_init();
170 _ecore_time_init(); 172 _ecore_time_init();
@@ -252,7 +254,9 @@ ecore_shutdown(void)
252 _ecore_glib_shutdown(); 254 _ecore_glib_shutdown();
253 _ecore_job_shutdown(); 255 _ecore_job_shutdown();
254 _ecore_thread_shutdown(); 256 _ecore_thread_shutdown();
257#ifndef HAVE_EXOTIC
255 _ecore_exe_shutdown(); 258 _ecore_exe_shutdown();
259#endif
256 _ecore_idle_enterer_shutdown(); 260 _ecore_idle_enterer_shutdown();
257 _ecore_idle_exiter_shutdown(); 261 _ecore_idle_exiter_shutdown();
258 _ecore_idler_shutdown(); 262 _ecore_idler_shutdown();
diff --git a/libraries/ecore/src/lib/ecore/ecore_anim.c b/libraries/ecore/src/lib/ecore/ecore_anim.c
index 78abad7..22c1f8c 100644
--- a/libraries/ecore/src/lib/ecore/ecore_anim.c
+++ b/libraries/ecore/src/lib/ecore/ecore_anim.c
@@ -272,11 +272,11 @@ ecore_animator_pos_map(double pos,
272 return pos; 272 return pos;
273 273
274 case ECORE_POS_MAP_ACCELERATE: 274 case ECORE_POS_MAP_ACCELERATE:
275 pos = 1.0 - _pos_map_sin((M_PI / 2.0) + ((pos * M_PI) / 2.0)); 275 pos = 1.0 - _pos_map_sin(M_PI_2 + pos * M_PI_2);
276 return pos; 276 return pos;
277 277
278 case ECORE_POS_MAP_DECELERATE: 278 case ECORE_POS_MAP_DECELERATE:
279 pos = _pos_map_sin((pos * M_PI) / 2.0); 279 pos = _pos_map_sin(pos * M_PI_2);
280 return pos; 280 return pos;
281 281
282 case ECORE_POS_MAP_SINUSOIDAL: 282 case ECORE_POS_MAP_SINUSOIDAL:
diff --git a/libraries/ecore/src/lib/ecore/ecore_events.c b/libraries/ecore/src/lib/ecore/ecore_events.c
index 0550224..500cf74 100644
--- a/libraries/ecore/src/lib/ecore/ecore_events.c
+++ b/libraries/ecore/src/lib/ecore/ecore_events.c
@@ -72,35 +72,6 @@ static void *ecore_raw_event_event = NULL;
72static void _ecore_event_purge_deleted(void); 72static void _ecore_event_purge_deleted(void);
73static void *_ecore_event_del(Ecore_Event *event); 73static void *_ecore_event_del(Ecore_Event *event);
74 74
75/**
76 * @addtogroup Ecore_Event_Group
77 *
78 * @{
79 */
80
81/**
82 * Add an event handler.
83 * @param type The type of the event this handler will get called for
84 * @param func The function to call when the event is found in the queue
85 * @param data A data pointer to pass to the called function @p func
86 * @return A new Event handler, or NULL on failure
87 *
88 * Add an event handler to the list of handlers. This will, on success, return
89 * a handle to the event handler object that was created, that can be used
90 * later to remove the handler using ecore_event_handler_del(). The @p type
91 * parameter is the integer of the event type that will trigger this callback
92 * to be called. The callback @p func is called when this event is processed
93 * and will be passed the event type, a pointer to the private event
94 * structure that is specific to that event type, and a data pointer that is
95 * provided in this call as the @p data parameter.
96 *
97 * When the callback @p func is called, it must return 1 or 0. If it returns
98 * 1 (or ECORE_CALLBACK_PASS_ON), It will keep being called as per normal, for
99 * each handler set up for that event type. If it returns 0 (or
100 * ECORE_CALLBACK_DONE), it will cease processing handlers for that particular
101 * event, so all handler set to handle that event type that have not already
102 * been called, will not be.
103 */
104EAPI Ecore_Event_Handler * 75EAPI Ecore_Event_Handler *
105ecore_event_handler_add(int type, 76ecore_event_handler_add(int type,
106 Ecore_Event_Handler_Cb func, 77 Ecore_Event_Handler_Cb func,
@@ -151,16 +122,6 @@ unlock:
151 return eh; 122 return eh;
152} 123}
153 124
154/**
155 * Delete an event handler.
156 * @param event_handler Event handler handle to delete
157 * @return Data passed to handler
158 *
159 * Delete a specified event handler from the handler list. On success this will
160 * delete the event handler and return the pointer passed as @p data when the
161 * handler was added by ecore_event_handler_add(). On failure NULL will be
162 * returned. Once a handler is deleted it will no longer be called.
163 */
164EAPI void * 125EAPI void *
165ecore_event_handler_del(Ecore_Event_Handler *event_handler) 126ecore_event_handler_del(Ecore_Event_Handler *event_handler)
166{ 127{
@@ -180,14 +141,6 @@ unlock:
180 return data; 141 return data;
181} 142}
182 143
183/**
184 * @brief Get the data associated with an #Ecore_Event_Handler
185 * @param eh The event handler
186 * @return The data
187 *
188 * This function returns the data previously associated with @p eh by
189 * ecore_event_handler_add().
190 */
191EAPI void * 144EAPI void *
192ecore_event_handler_data_get(Ecore_Event_Handler *eh) 145ecore_event_handler_data_get(Ecore_Event_Handler *eh)
193{ 146{
@@ -205,15 +158,6 @@ unlock:
205 return data; 158 return data;
206} 159}
207 160
208/**
209 * @brief Set the data associated with an #Ecore_Event_Handler
210 * @param eh The event handler
211 * @param data The data to associate
212 * @return The previous data
213 *
214 * This function sets @p data to @p eh and returns the old data pointer
215 * which was previously associated with @p eh by ecore_event_handler_add().
216 */
217EAPI void * 161EAPI void *
218ecore_event_handler_data_set(Ecore_Event_Handler *eh, 162ecore_event_handler_data_set(Ecore_Event_Handler *eh,
219 const void *data) 163 const void *data)
@@ -238,27 +182,9 @@ static void
238_ecore_event_generic_free(void *data __UNUSED__, 182_ecore_event_generic_free(void *data __UNUSED__,
239 void *event) 183 void *event)
240{ /* DO NOT MEMPOOL FREE THIS */ 184{ /* DO NOT MEMPOOL FREE THIS */
241 free (event); 185 free(event);
242} 186}
243 187
244/**
245 * Add an event to the event queue.
246 * @param type The event type to add to the end of the event queue
247 * @param ev The private data structure for this event type
248 * @param func_free The function to be called to free this private structure
249 * @param data The data pointer to be passed to the free function
250 * @return A Handle for that event
251 *
252 * On success this function returns a handle to an event on the event queue, or
253 * NULL if it fails. If it succeeds, an event of type @p type will be added
254 * to the queue for processing by event handlers added by
255 * ecore_event_handler_add(). The @p ev parameter will be a pointer to the event
256 * private data that is specific to that event type. When the event is no
257 * longer needed, @p func_free will be called and passed the private structure
258 * pointer for cleaning up. If @p func_free is NULL, free() will be called
259 * with the private structure pointer.
260 * func_free is passed @p data as its data parameter.
261 */
262EAPI Ecore_Event * 188EAPI Ecore_Event *
263ecore_event_add(int type, 189ecore_event_add(int type,
264 void *ev, 190 void *ev,
@@ -279,17 +205,6 @@ unlock:
279 return event; 205 return event;
280} 206}
281 207
282/**
283 * Delete an event from the queue.
284 * @param event The event handle to delete
285 * @return The data pointer originally set for the event free function
286 *
287 * This deletes the event @p event from the event queue, and returns the
288 * @p data parameer originally set when adding it with ecore_event_add(). This
289 * does not immediately call the free function, and it may be called later on
290 * cleanup, and so if the free function depends on the data pointer to work,
291 * you should defer cleaning of this till the free function is called later.
292 */
293EAPI void * 208EAPI void *
294ecore_event_del(Ecore_Event *event) 209ecore_event_del(Ecore_Event *event)
295{ 210{
@@ -309,16 +224,6 @@ unlock:
309 return data; 224 return data;
310} 225}
311 226
312/**
313 * Allocate a new event type id sensibly and return the new id.
314 * @return A new event type id.
315 *
316 * This function allocates a new event type id and returns it. Once an event
317 * type has been allocated it can never be de-allocated during the life of
318 * the program. There is no guarantee of the contents of this event ID, or how
319 * it is calculated, except that the ID will be unique to the current instance
320 * of the process.
321 */
322EAPI int 227EAPI int
323ecore_event_type_new(void) 228ecore_event_type_new(void)
324{ 229{
@@ -331,26 +236,6 @@ ecore_event_type_new(void)
331 return id; 236 return id;
332} 237}
333 238
334/**
335 * Add a filter the current event queue.
336 * @param func_start Function to call just before filtering and return data
337 * @param func_filter Function to call on each event
338 * @param func_end Function to call after the queu has been filtered
339 * @param data Data to pass to the filter functions
340 * @return A filter handle
341 *
342 * This adds a filter to call callbacks to loop through the event queue and
343 * filter events out of the queue. On failure NULL is returned. On success a
344 * Filter handle is returned. Filters are called on the queue just before
345 * Event handler processing to try and remove redundant events. Just as
346 * processing starts @p func_start is called and passed the @p data pointer.
347 * This function returns a pointer that is used as loop_data that is now passed to
348 * @p func_filter as loop_data. @p func_filter is also passed @p data and the
349 * event type and private event structure. If this callback returns 0, the
350 * event is removed from the queue. If it returns 1, the event is kept. When
351 * processing is finished @p func_end is called and is passed the loop_data
352 * and @p data pointer to clean up.
353 */
354EAPI Ecore_Event_Filter * 239EAPI Ecore_Event_Filter *
355ecore_event_filter_add(Ecore_Data_Cb func_start, 240ecore_event_filter_add(Ecore_Data_Cb func_start,
356 Ecore_Filter_Cb func_filter, 241 Ecore_Filter_Cb func_filter,
@@ -374,15 +259,6 @@ unlock:
374 return ef; 259 return ef;
375} 260}
376 261
377/**
378 * Delete an event filter.
379 * @param ef The event filter handle
380 * @return The data set for the filter
381 *
382 * Delete a filter that has been added by its @p ef handle. On success this
383 * will return the data pointer set when this filter was added. On failure
384 * NULL is returned.
385 */
386EAPI void * 262EAPI void *
387ecore_event_filter_del(Ecore_Event_Filter *ef) 263ecore_event_filter_del(Ecore_Event_Filter *ef)
388{ 264{
@@ -404,50 +280,18 @@ unlock:
404 return data; 280 return data;
405} 281}
406 282
407/**
408 * Return the current event type being handled.
409 * @return The current event type being handled if inside a handler callback
410 *
411 * If the program is currently inside an Ecore event handler callback this
412 * will return the type of the current event being processed. If Ecore is
413 * not inside an event handler, ECORE_EVENT_NONE is returned.
414 *
415 * This is useful when certain Ecore modules such as Ecore_Evas "swallow"
416 * events and not all the original information is passed on. In special cases
417 * this extra information may be useful or needed and using this call can let
418 * the program know if the event type being handled is one it wants to get more
419 * information about.
420 */
421EAPI int 283EAPI int
422ecore_event_current_type_get(void) 284ecore_event_current_type_get(void)
423{ 285{
424 return ecore_raw_event_type; 286 return ecore_raw_event_type;
425} 287}
426 288
427/**
428 * Return the current event type pointer handled.
429 * @return The current event pointer being handled if inside a handler callback
430 *
431 * If the program is currently inside an Ecore event handler callback this
432 * will return the pointer of the current event being processed. If Ecore is
433 * not inside an event handler, NULL will be returned.
434 *
435 * This is useful when certain Ecore modules such as Ecore_Evas "swallow"
436 * events and not all the original information is passed on. In special cases
437 * this extra information may be useful or needed and using this call can let
438 * the program access the event data if the type of the event is handled by
439 * the program.
440 */
441EAPI void * 289EAPI void *
442ecore_event_current_event_get(void) 290ecore_event_current_event_get(void)
443{ 291{
444 return ecore_raw_event_event; 292 return ecore_raw_event_event;
445} 293}
446 294
447/**
448 * @}
449 */
450
451EAPI void * 295EAPI void *
452_ecore_event_handler_del(Ecore_Event_Handler *event_handler) 296_ecore_event_handler_del(Ecore_Event_Handler *event_handler)
453{ 297{
diff --git a/libraries/ecore/src/lib/ecore/ecore_exe.c b/libraries/ecore/src/lib/ecore/ecore_exe.c
index d5465fc..47f8dc9 100644
--- a/libraries/ecore/src/lib/ecore/ecore_exe.c
+++ b/libraries/ecore/src/lib/ecore/ecore_exe.c
@@ -331,15 +331,15 @@ static int run_pri = ECORE_EXE_PRIORITY_INHERIT;
331 * This sets the priority of processes run by ecore_exe_run() and 331 * This sets the priority of processes run by ecore_exe_run() and
332 * ecore_exe_pipe_run(). 332 * ecore_exe_pipe_run().
333 * @li On Windows, the child process is created by default with the 333 * @li On Windows, the child process is created by default with the
334 * #ECORE_EXE_WIN32_PRIORITY_NORMAL priority, unless the calling 334 * @ref ECORE_EXE_WIN32_PRIORITY_NORMAL priority, unless the calling
335 * process is in #ECORE_EXE_WIN32_PRIORITY_IDLE or 335 * process is in @ref ECORE_EXE_WIN32_PRIORITY_IDLE or
336 * #ECORE_EXE_WIN32_PRIORITY_BELOW_NORMAL priority. In that case, the 336 * @ref ECORE_EXE_WIN32_PRIORITY_BELOW_NORMAL priority. In that case, the
337 * child process inherits this priority. 337 * child process inherits this priority.
338 * @li On other platforms, if set to #ECORE_EXE_PRIORITY_INHERIT child 338 * @li On other platforms, if set to @ref ECORE_EXE_PRIORITY_INHERIT child
339 * processes inherits the priority of their parent. This is the default. 339 * processes inherits the priority of their parent. This is the default.
340 * 340 *
341 * @param pri value a Ecore_Exe_Win32_Priority value on Windows, -20 341 * @param pri value a Ecore_Exe_Win32_Priority value on Windows, -20
342 * to 19 or ECORE_EXE_PRIORITY_INHERIT on other OS. 342 * to 19 or @ref ECORE_EXE_PRIORITY_INHERIT on other OS.
343 */ 343 */
344EAPI void 344EAPI void
345ecore_exe_run_priority_set(int pri) 345ecore_exe_run_priority_set(int pri)
diff --git a/libraries/ecore/src/lib/ecore/ecore_getopt.c b/libraries/ecore/src/lib/ecore/ecore_getopt.c
index 76272d3..cd68189 100644
--- a/libraries/ecore/src/lib/ecore/ecore_getopt.c
+++ b/libraries/ecore/src/lib/ecore/ecore_getopt.c
@@ -38,6 +38,10 @@ void *alloca(size_t);
38# include <Evil.h> 38# include <Evil.h>
39#endif 39#endif
40 40
41#ifdef HAVE_EXOTIC
42# include <Exotic.h>
43#endif
44
41#include "Ecore.h" 45#include "Ecore.h"
42#include "Ecore_Getopt.h" 46#include "Ecore_Getopt.h"
43 47
diff --git a/libraries/ecore/src/lib/ecore/ecore_main.c b/libraries/ecore/src/lib/ecore/ecore_main.c
index 76aced6..587c83b 100644
--- a/libraries/ecore/src/lib/ecore/ecore_main.c
+++ b/libraries/ecore/src/lib/ecore/ecore_main.c
@@ -229,10 +229,14 @@ static Eina_Bool win32_handlers_delete_me = EINA_FALSE;
229#ifdef _WIN32 229#ifdef _WIN32
230Ecore_Select_Function main_loop_select = _ecore_main_win32_select; 230Ecore_Select_Function main_loop_select = _ecore_main_win32_select;
231#else 231#else
232# ifdef HAVE_SYS_SELECT_H 232# if !defined EXOTIC_NO_SELECT
233# include <sys/select.h> 233# ifdef HAVE_SYS_SELECT_H
234# endif 234# include <sys/select.h>
235# endif
235Ecore_Select_Function main_loop_select = select; 236Ecore_Select_Function main_loop_select = select;
237# else
238Ecore_Select_Function main_loop_select = NULL;
239# endif
236#endif 240#endif
237 241
238#ifndef USE_G_MAIN_LOOP 242#ifndef USE_G_MAIN_LOOP
@@ -848,6 +852,21 @@ _ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
848 * DO NOT use this function unless you are the person God comes to ask for 852 * DO NOT use this function unless you are the person God comes to ask for
849 * advice when He has trouble managing the Universe. 853 * advice when He has trouble managing the Universe.
850 */ 854 */
855
856EAPI int
857ecore_main_loop_iterate_may_block(int may_block)
858{
859#ifndef USE_G_MAIN_LOOP
860 _ecore_lock();
861in_main_loop++;
862 _ecore_main_loop_iterate_internal(!may_block);
863in_main_loop--;
864 _ecore_unlock();
865 return _ecore_event_exist();
866#else
867 return g_main_context_iteration(NULL, may_block);
868#endif
869}
851EAPI void 870EAPI void
852ecore_main_loop_iterate(void) 871ecore_main_loop_iterate(void)
853{ 872{
@@ -945,39 +964,6 @@ ecore_main_loop_select_func_get(void)
945 return main_loop_select; 964 return main_loop_select;
946} 965}
947 966
948/**
949 * Adds a callback for activity on the given file descriptor.
950 *
951 * @p func will be called during the execution of @ref ecore_main_loop_begin
952 * when the file descriptor is available for reading, or writing, or both.
953 *
954 * Normally when @p func returns ECORE_CALLBACK_CANCEL, it indicates that the
955 * handler should be marked for deletion (identical to calling @ref ecore_main_fd_handler_del).
956 * However, if the @p buf_func is supplied, then the return value from the @p func indicates that
957 * @p func should be called repeatedly until it returns ECORE_CALLBACK_CANCEL.
958 *
959 * @p buf_func is called during event loop handling to check if data that has
960 * been read from the file descriptor is in a buffer and is available to
961 * read. Some systems (notably xlib) handle their own buffering, and would
962 * otherwise not work with select(). These systems should use a @p buf_func.
963 * This is a most annoying hack, only ecore_x uses it, so refer to that for
964 * an example. NOTE - @p func should probably return ECORE_CALLBACK_RENEW always if
965 * @p buf_func is used, to avoid confusion with the other return value
966 * semantics.
967 *
968 * @param fd The file descriptor to watch.
969 * @param flags To watch it for read (@c ECORE_FD_READ) and/or
970 * (@c ECORE_FD_WRITE) write ability. @c ECORE_FD_ERROR
971 *
972 * @param func The callback function.
973 * @param data The data to pass to the callback.
974 * @param buf_func The function to call to check if any data has been
975 * buffered and already read from the fd. Can be @c NULL.
976 * @param buf_data The data to pass to the @p buf_func function.
977 * @return A fd handler handle if successful. @c NULL otherwise.
978 * @note This function CANNOT be used for reading/writing to regular files!
979 * @ingroup Ecore_FD_Handler_Group
980 */
981EAPI Ecore_Fd_Handler * 967EAPI Ecore_Fd_Handler *
982ecore_main_fd_handler_add(int fd, 968ecore_main_fd_handler_add(int fd,
983 Ecore_Fd_Handler_Flags flags, 969 Ecore_Fd_Handler_Flags flags,
@@ -1059,20 +1045,6 @@ ecore_main_win32_handler_add(void *h __UNUSED__,
1059 1045
1060#endif 1046#endif
1061 1047
1062/**
1063 * Marks an FD handler for deletion.
1064 * @param fd_handler The FD handler.
1065 * @return The data pointer set using @ref ecore_main_fd_handler_add,
1066 * for @p fd_handler on success. @c NULL otherwise.
1067 * @ingroup Ecore_FD_Handler_Group
1068 * This function marks an fd handler to be deleted during an iteration of the main loop.
1069 * It does NOT close the associated fd!
1070 *
1071 * @note If the underlying fd is already closed ecore may complain if the main loop
1072 * is using epoll internally, and also in some rare cases this may cause
1073 * crashes and instability. Remember to delete your fd handlers before the
1074 * fds they listen to are closed.
1075 */
1076EAPI void * 1048EAPI void *
1077ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler) 1049ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
1078{ 1050{
@@ -1116,24 +1088,6 @@ ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler __UNUSED__)
1116 1088
1117#endif 1089#endif
1118 1090
1119/**
1120 * @brief Set the prepare callback with data for a given #Ecore_Fd_Handler
1121 *
1122 * @param fd_handler The fd handler
1123 * @param func The prep function
1124 * @param data The data to pass to the prep function
1125 *
1126 * This function will be called prior to any fd handler's callback function
1127 * (even the other fd handlers), before entering the main loop select function.
1128 *
1129 * @note Once a prepare callback is set for a fd handler, it cannot be changed.
1130 * You need to delete the fd handler and create a new one, to set another
1131 * callback.
1132 * @note You probably don't need this function. It is only necessary for very
1133 * uncommon cases that need special behavior.
1134 *
1135 * @ingroup Ecore_FD_Handler_Group
1136 */
1137EAPI void 1091EAPI void
1138ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler, 1092ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler,
1139 Ecore_Fd_Prep_Cb func, 1093 Ecore_Fd_Prep_Cb func,
@@ -1157,12 +1111,6 @@ unlock:
1157 _ecore_unlock(); 1111 _ecore_unlock();
1158} 1112}
1159 1113
1160/**
1161 * Retrieves the file descriptor that the given handler is handling.
1162 * @param fd_handler The given FD handler.
1163 * @return The file descriptor the handler is watching.
1164 * @ingroup Ecore_FD_Handler_Group
1165 */
1166EAPI int 1114EAPI int
1167ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler) 1115ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler)
1168{ 1116{
@@ -1182,15 +1130,6 @@ unlock:
1182 return fd; 1130 return fd;
1183} 1131}
1184 1132
1185/**
1186 * Return if read, write or error, or a combination thereof, is active on the
1187 * file descriptor of the given FD handler.
1188 * @param fd_handler The given FD handler.
1189 * @param flags The flags, @c ECORE_FD_READ, @c ECORE_FD_WRITE or
1190 * @c ECORE_FD_ERROR to query.
1191 * @return #EINA_TRUE if any of the given flags are active. #EINA_FALSE otherwise.
1192 * @ingroup Ecore_FD_Handler_Group
1193 */
1194EAPI Eina_Bool 1133EAPI Eina_Bool
1195ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, 1134ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler,
1196 Ecore_Fd_Handler_Flags flags) 1135 Ecore_Fd_Handler_Flags flags)
@@ -1213,12 +1152,6 @@ unlock:
1213 return ret; 1152 return ret;
1214} 1153}
1215 1154
1216/**
1217 * Set what active streams the given FD handler should be monitoring.
1218 * @param fd_handler The given FD handler.
1219 * @param flags The flags to be watching.
1220 * @ingroup Ecore_FD_Handler_Group
1221 */
1222EAPI void 1155EAPI void
1223ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, 1156ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler,
1224 Ecore_Fd_Handler_Flags flags) 1157 Ecore_Fd_Handler_Flags flags)
@@ -1742,14 +1675,14 @@ _ecore_main_loop_iterate_internal(int once_only)
1742 if (_ecore_event_exist()) 1675 if (_ecore_event_exist())
1743 { 1676 {
1744 /* but first conceptually enter an idle state */ 1677 /* but first conceptually enter an idle state */
1745 _ecore_idle_enterer_call(); 1678 _ecore_idle_enterer_call();
1746 _ecore_throttle(); 1679 _ecore_throttle();
1747 /* now quickly poll to see which input fd's are active */ 1680 /* now quickly poll to see which input fd's are active */
1748 _ecore_main_select(0.0); 1681 _ecore_main_select(0.0);
1749 /* allow newly queued timers to expire from now on */ 1682 /* allow newly queued timers to expire from now on */
1750 _ecore_timer_enable_new(); 1683 _ecore_timer_enable_new();
1751 /* go straight to processing the events we had queued */ 1684 /* go straight to processing the events we had queued */
1752 goto process_all; 1685 goto process_all;
1753 } 1686 }
1754 1687
1755 if (once_only) 1688 if (once_only)
@@ -1758,17 +1691,17 @@ _ecore_main_loop_iterate_internal(int once_only)
1758 * if we got any events or signals, allow new timers to process. 1691 * if we got any events or signals, allow new timers to process.
1759 * use bitwise or to force both conditions to be tested and 1692 * use bitwise or to force both conditions to be tested and
1760 * merged together */ 1693 * merged together */
1761 if (_ecore_main_select(0.0) | _ecore_signal_count_get()) 1694 if (_ecore_main_select(0.0) | _ecore_signal_count_get())
1762 { 1695 {
1763 _ecore_timer_enable_new(); 1696 _ecore_timer_enable_new();
1764 goto process_all; 1697 goto process_all;
1765 } 1698 }
1766 } 1699 }
1767 else 1700 else
1768 { 1701 {
1769 /* call idle enterers ... */ 1702 /* call idle enterers ... */
1770 _ecore_idle_enterer_call(); 1703 _ecore_idle_enterer_call();
1771 _ecore_throttle(); 1704 _ecore_throttle();
1772 } 1705 }
1773 1706
1774 /* if these calls caused any buffered events to appear - deal with them */ 1707 /* if these calls caused any buffered events to appear - deal with them */
@@ -1787,10 +1720,10 @@ _ecore_main_loop_iterate_internal(int once_only)
1787 if (once_only) 1720 if (once_only)
1788 { 1721 {
1789 /* in once_only mode enter idle here instead and then return */ 1722 /* in once_only mode enter idle here instead and then return */
1790 _ecore_idle_enterer_call(); 1723 _ecore_idle_enterer_call();
1791 _ecore_throttle(); 1724 _ecore_throttle();
1792 _ecore_timer_enable_new(); 1725 _ecore_timer_enable_new();
1793 goto done; 1726 goto done;
1794 } 1727 }
1795 1728
1796 _ecore_fps_marker_1(); 1729 _ecore_fps_marker_1();
@@ -1808,23 +1741,23 @@ start_loop: /***************************************************************/
1808 if (!_ecore_event_exist()) 1741 if (!_ecore_event_exist())
1809 { 1742 {
1810 /* init flags */ 1743 /* init flags */
1811 next_time = _ecore_timer_next_get(); 1744 next_time = _ecore_timer_next_get();
1812 /* no idlers */ 1745 /* no idlers */
1813 if (!_ecore_idler_exist()) 1746 if (!_ecore_idler_exist())
1814 { 1747 {
1815 /* sleep until timeout or forever (-1.0) waiting for on fds */ 1748 /* sleep until timeout or forever (-1.0) waiting for on fds */
1816 _ecore_main_select(next_time); 1749 _ecore_main_select(next_time);
1817 } 1750 }
1818 else 1751 else
1819 { 1752 {
1820 int action = LOOP_CONTINUE; 1753 int action = LOOP_CONTINUE;
1821 1754
1822 /* no timers - spin */ 1755 /* no timers - spin */
1823 if (next_time < 0) action = _ecore_main_loop_spin_no_timers(); 1756 if (next_time < 0) action = _ecore_main_loop_spin_no_timers();
1824 /* timers - spin */ 1757 /* timers - spin */
1825 else action = _ecore_main_loop_spin_timers(); 1758 else action = _ecore_main_loop_spin_timers();
1826 if (action == SPIN_RESTART) goto start_loop; 1759 if (action == SPIN_RESTART) goto start_loop;
1827 } 1760 }
1828 } 1761 }
1829 _ecore_fps_marker_2(); 1762 _ecore_fps_marker_2();
1830 1763
@@ -1847,8 +1780,8 @@ process_all: /***********************************************************/
1847 if (once_only) 1780 if (once_only)
1848 { 1781 {
1849 /* if in once_only mode handle idle exiting */ 1782 /* if in once_only mode handle idle exiting */
1850 _ecore_idle_enterer_call(); 1783 _ecore_idle_enterer_call();
1851 _ecore_throttle(); 1784 _ecore_throttle();
1852 } 1785 }
1853 1786
1854done: /*******************************************************************/ 1787done: /*******************************************************************/
diff --git a/libraries/ecore/src/lib/ecore/ecore_pipe.c b/libraries/ecore/src/lib/ecore/ecore_pipe.c
index aa640cd..ea7453e 100644
--- a/libraries/ecore/src/lib/ecore/ecore_pipe.c
+++ b/libraries/ecore/src/lib/ecore/ecore_pipe.c
@@ -36,15 +36,13 @@
36# include <Escape.h> 36# include <Escape.h>
37#endif 37#endif
38 38
39#ifdef HAVE_EXOTIC
40# include <Exotic.h>
41#endif
42
39#include "Ecore.h" 43#include "Ecore.h"
40#include "ecore_private.h" 44#include "ecore_private.h"
41 45
42#ifdef _WIN32
43# define FMT_SSIZE_T "%Id"
44#else
45# define FMT_SSIZE_T "%zd"
46#endif
47
48/* How of then we should retry to write to the pipe */ 46/* How of then we should retry to write to the pipe */
49#define ECORE_PIPE_WRITE_RETRY 6 47#define ECORE_PIPE_WRITE_RETRY 6
50 48
@@ -80,6 +78,9 @@
80 78
81#endif /* ! _WIN32 */ 79#endif /* ! _WIN32 */
82 80
81#include <Ecore.h>
82#include "ecore_private.h"
83
83struct _Ecore_Pipe 84struct _Ecore_Pipe
84{ 85{
85 ECORE_MAGIC; 86 ECORE_MAGIC;
@@ -414,7 +415,7 @@ ecore_pipe_write(Ecore_Pipe *p,
414 ; 415 ;
415 else 416 else
416 { 417 {
417 ERR("An unhandled error (ret: " FMT_SSIZE_T " errno: %d)" 418 ERR("An unhandled error (ret: %zd errno: %d)"
418 "occurred while writing to the pipe the length", 419 "occurred while writing to the pipe the length",
419 ret, errno); 420 ret, errno);
420 } 421 }
@@ -448,7 +449,7 @@ ecore_pipe_write(Ecore_Pipe *p,
448 ; 449 ;
449 else 450 else
450 { 451 {
451 ERR("An unhandled error (ret: " FMT_SSIZE_T " errno: %d)" 452 ERR("An unhandled error (ret: %zd errno: %d)"
452 "occurred while writing to the pipe the length", 453 "occurred while writing to the pipe the length",
453 ret, errno); 454 ret, errno);
454 } 455 }
diff --git a/libraries/ecore/src/lib/ecore/ecore_poll.c b/libraries/ecore/src/lib/ecore/ecore_poll.c
index 732850b..bf4da6a 100644
--- a/libraries/ecore/src/lib/ecore/ecore_poll.c
+++ b/libraries/ecore/src/lib/ecore/ecore_poll.c
@@ -189,20 +189,6 @@ _ecore_poller_cb_timer(void *data __UNUSED__)
189 return ECORE_CALLBACK_RENEW; 189 return ECORE_CALLBACK_RENEW;
190} 190}
191 191
192/**
193 * @addtogroup Ecore_Poller_Group
194 *
195 * @{
196 */
197
198/**
199 * Sets the time between ticks (in seconds) for the given ticker clock.
200 * @param type The ticker type to adjust
201 * @param poll_time The time (in seconds) between ticks of the clock
202 *
203 * This will adjust the time between ticks of the given ticker type defined
204 * by @p type to the time period defined by @p poll_time.
205 */
206EAPI void 192EAPI void
207ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__, 193ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__,
208 double poll_time) 194 double poll_time)
@@ -211,65 +197,12 @@ ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__,
211 _ecore_poller_next_tick_eval(); 197 _ecore_poller_next_tick_eval();
212} 198}
213 199
214/**
215 * Gets the time between ticks (in seconds) for the given ticker clock.
216 * @param type The ticker type to query
217 * @return The time in seconds between ticks of the ticker clock
218 *
219 * This will get the time between ticks of the specified ticker clock.
220 */
221EAPI double 200EAPI double
222ecore_poller_poll_interval_get(Ecore_Poller_Type type __UNUSED__) 201ecore_poller_poll_interval_get(Ecore_Poller_Type type __UNUSED__)
223{ 202{
224 return poll_interval; 203 return poll_interval;
225} 204}
226 205
227/**
228 * Creates a poller to call the given function at a particular tick interval.
229 * @param type The ticker type to attach the poller to
230 * @param interval The poll interval
231 * @param func The given function. If @p func returns 1, the poller is
232 * rescheduled for the next tick interval.
233 * @param data Data to pass to @p func when it is called.
234 * @return A poller object on success. @c NULL on failure.
235 *
236 * This function adds a poller callback that is to be called regularly
237 * along with all other poller callbacks so the pollers are synchronized with
238 * all other pollers running off the same poller type and at the same tick
239 * interval. This should be used for polling things when polling is desired
240 * or required, and you do not have specific requirements on the exact times
241 * to poll and want to avoid extra process wakeups for polling. This will
242 * save power as the CPU has more of a chance to go into a low power state
243 * the longer it is asleep for, so this should be used if you are at all
244 * power conscious.
245 *
246 * The @p type parameter defines the poller tick type (there is a virtual
247 * clock ticking all the time - though ecore avoids making it tick when
248 * there will not be any work to do at that tick point). There is only one
249 * ticker at the moment - that is ECORE_POLLER_CORE. This is here for future
250 * expansion if multiple clocks with different frequencies are really required.
251 * The default time between ticks for the ECORE_POLLER_CORE ticker is 0.125
252 * seconds.
253 *
254 * The @p interval is the number of ticker ticks that will pass by in between
255 * invocations of the @p func callback. This must be between 1 and 32768
256 * inclusive, and must be a power of 2 (i.e. 1, 2, 4, 8, 16, ... 16384, 32768).
257 * If it is 1, then the function will be called every tick. if it is 2, then it
258 * will be called every 2nd tick, if it is 8, then every 8th tick etc. Exactly
259 * which tick is undefined, as only the interval between calls can be defined.
260 * Ecore will endeavour to keep pollers synchronised and to call as many in
261 * 1 wakeup event as possible.
262 *
263 * This function adds a poller and returns its handle on success and NULL on
264 * failure. The function @p func will be called at tick intervals described
265 * above. The function will be passed the @p data pointer as its parameter.
266 *
267 * When the poller @p func is called, it must return a value of either
268 * 1 (or ECORE_CALLBACK_RENEW) or 0 (or ECORE_CALLBACK_CANCEL). If it
269 * returns 1, it will be called again at the next tick, or if it returns
270 * 0 it will be deleted automatically making any references/handles for it
271 * invalid.
272 */
273EAPI Ecore_Poller * 206EAPI Ecore_Poller *
274ecore_poller_add(Ecore_Poller_Type type __UNUSED__, 207ecore_poller_add(Ecore_Poller_Type type __UNUSED__,
275 int interval, 208 int interval,
@@ -307,16 +240,6 @@ ecore_poller_add(Ecore_Poller_Type type __UNUSED__,
307 return poller; 240 return poller;
308} 241}
309 242
310/**
311 * Changes the polling interval rate of @p poller.
312 *
313 * @param poller The Ecore_Poller to change the interval of
314 * @param interval The tick interval to set; must be a power of 2 but <= 32768
315 * @return Returns true on success, false on failure
316 *
317 * This allows the changing of a poller's polling interval. It is useful when you want to alter
318 * a poll rate without deleting and re-creating a poller.
319 */
320EAPI Eina_Bool 243EAPI Eina_Bool
321ecore_poller_poller_interval_set(Ecore_Poller *poller, 244ecore_poller_poller_interval_set(Ecore_Poller *poller,
322 int interval) 245 int interval)
@@ -353,14 +276,6 @@ ecore_poller_poller_interval_set(Ecore_Poller *poller,
353 return EINA_TRUE; 276 return EINA_TRUE;
354} 277}
355 278
356/**
357 * Gets the polling interval rate of @p poller.
358 *
359 * @param poller The Ecore_Poller to change the interval of
360 * @return Returns the interval, in ticks, that @p poller polls at
361 *
362 * This returns a poller's polling interval, or 0 on error.
363 */
364EAPI int 279EAPI int
365ecore_poller_poller_interval_get(Ecore_Poller *poller) 280ecore_poller_poller_interval_get(Ecore_Poller *poller)
366{ 281{
@@ -382,15 +297,6 @@ ecore_poller_poller_interval_get(Ecore_Poller *poller)
382 return interval; 297 return interval;
383} 298}
384 299
385/**
386 * Delete the specified poller from the timer list.
387 * @param poller The poller to delete.
388 * @return The data pointer set for the timer when @ref ecore_poller_add was
389 * called. @c NULL is returned if the function is unsuccessful.
390 *
391 * Note: @p poller must be a valid handle. If the poller function has already
392 * returned 0, the handle is no longer valid (and does not need to be delete).
393 */
394EAPI void * 300EAPI void *
395ecore_poller_del(Ecore_Poller *poller) 301ecore_poller_del(Ecore_Poller *poller)
396{ 302{
diff --git a/libraries/ecore/src/lib/ecore/ecore_private.h b/libraries/ecore/src/lib/ecore/ecore_private.h
index 50d502c..f0c5d6b 100644
--- a/libraries/ecore/src/lib/ecore/ecore_private.h
+++ b/libraries/ecore/src/lib/ecore/ecore_private.h
@@ -174,7 +174,7 @@ void *_ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler);
174 174
175void _ecore_main_shutdown(void); 175void _ecore_main_shutdown(void);
176 176
177#if defined (_WIN32) || defined (__lv2ppu__) 177#if defined (_WIN32) || defined (__lv2ppu__) || defined (HAVE_EXOTIC)
178static inline void _ecore_signal_shutdown(void) { } 178static inline void _ecore_signal_shutdown(void) { }
179 179
180static inline void _ecore_signal_init(void) { } 180static inline void _ecore_signal_init(void) { }
@@ -237,14 +237,14 @@ _ecore_lock(void)
237 EINA_MAIN_LOOP_CHECK_RETURN; 237 EINA_MAIN_LOOP_CHECK_RETURN;
238#endif 238#endif
239 _ecore_main_lock_count++; 239 _ecore_main_lock_count++;
240 assert(_ecore_main_lock_count == 1); 240 /* assert(_ecore_main_lock_count == 1); */
241} 241}
242 242
243static inline void 243static inline void
244_ecore_unlock(void) 244_ecore_unlock(void)
245{ 245{
246 _ecore_main_lock_count--; 246 _ecore_main_lock_count--;
247 assert(_ecore_main_lock_count == 0); 247 /* assert(_ecore_main_lock_count == 0); */
248#ifdef HAVE_THREAD_SAFETY 248#ifdef HAVE_THREAD_SAFETY
249 eina_lock_release(&_ecore_main_loop_lock); 249 eina_lock_release(&_ecore_main_loop_lock);
250#endif 250#endif
diff --git a/libraries/ecore/src/lib/ecore/ecore_thread.c b/libraries/ecore/src/lib/ecore/ecore_thread.c
index 4444ad4..85fbe64 100644
--- a/libraries/ecore/src/lib/ecore/ecore_thread.c
+++ b/libraries/ecore/src/lib/ecore/ecore_thread.c
@@ -17,6 +17,25 @@
17 17
18#ifdef EFL_HAVE_THREADS 18#ifdef EFL_HAVE_THREADS
19 19
20# define LK(x) Eina_Lock x
21# define LKI(x) eina_lock_new(&(x))
22# define LKD(x) eina_lock_free(&(x))
23# define LKL(x) eina_lock_take(&(x))
24# define LKU(x) eina_lock_release(&(x))
25
26# define CD(x) Eina_Condition x
27# define CDI(x, m) eina_condition_new(&(x), &(m))
28# define CDD(x) eina_condition_free(&(x))
29# define CDB(x) eina_condition_broadcast(&(x))
30# define CDW(x, t) eina_condition_timedwait(&(x), t)
31
32# define LRWK(x) Eina_RWLock x
33# define LRWKI(x) eina_rwlock_new(&(x));
34# define LRWKD(x) eina_rwlock_free(&(x));
35# define LRWKWL(x) eina_rwlock_take_write(&(x));
36# define LRWKRL(x) eina_rwlock_take_read(&(x));
37# define LRWKU(x) eina_rwlock_release(&(x));
38
20# ifdef EFL_HAVE_POSIX_THREADS 39# ifdef EFL_HAVE_POSIX_THREADS
21# include <pthread.h> 40# include <pthread.h>
22# ifdef __linux__ 41# ifdef __linux__
@@ -31,28 +50,9 @@
31# define PHE(x, y) pthread_equal(x, y) 50# define PHE(x, y) pthread_equal(x, y)
32# define PHS() pthread_self() 51# define PHS() pthread_self()
33# define PHC(x, f, d) pthread_create(&(x), NULL, (void *)f, d) 52# define PHC(x, f, d) pthread_create(&(x), NULL, (void *)f, d)
34# define PHJ(x, p) pthread_join(x, (void **)(&(p))) 53# define PHJ(x) pthread_join(x, NULL)
35# define PHA(x) pthread_cancel(x) 54# define PHA(x) pthread_cancel(x)
36 55
37# define CD(x) pthread_cond_t x
38# define CDI(x) pthread_cond_init(&(x), NULL);
39# define CDD(x) pthread_cond_destroy(&(x));
40# define CDB(x) pthread_cond_broadcast(&(x));
41# define CDW(x, y, t) pthread_cond_timedwait(&(x), &(y), t);
42
43# define LK(x) pthread_mutex_t x
44# define LKI(x) pthread_mutex_init(&(x), NULL);
45# define LKD(x) pthread_mutex_destroy(&(x));
46# define LKL(x) pthread_mutex_lock(&(x));
47# define LKU(x) pthread_mutex_unlock(&(x));
48
49# define LRWK(x) pthread_rwlock_t x
50# define LRWKI(x) pthread_rwlock_init(&(x), NULL);
51# define LRWKD(x) pthread_rwlock_destroy(&(x));
52# define LRWKWL(x) pthread_rwlock_wrlock(&(x));
53# define LRWKRL(x) pthread_rwlock_rdlock(&(x));
54# define LRWKU(x) pthread_rwlock_unlock(&(x));
55
56# else /* EFL_HAVE_WIN32_THREADS */ 56# else /* EFL_HAVE_WIN32_THREADS */
57 57
58# define WIN32_LEAN_AND_MEAN 58# define WIN32_LEAN_AND_MEAN
@@ -108,209 +108,9 @@ _ecore_thread_win32_join(win32_thread *x,
108 return 0; 108 return 0;
109} 109}
110 110
111# define PHJ(x, p) _ecore_thread_win32_join(x, (void **)(&(p))) 111# define PHJ(x) _ecore_thread_win32_join(x, NULL)
112# define PHA(x) TerminateThread(x->thread, 0) 112# define PHA(x) TerminateThread(x->thread, 0)
113 113
114# define LK(x) HANDLE x
115# define LKI(x) x = CreateMutex(NULL, FALSE, NULL)
116# define LKD(x) CloseHandle(x)
117# define LKL(x) WaitForSingleObject(x, INFINITE)
118# define LKU(x) ReleaseMutex(x)
119
120typedef struct
121{
122 HANDLE semaphore;
123 LONG threads_count;
124 CRITICAL_SECTION threads_count_lock;
125} win32_cond;
126
127# define CD(x) win32_cond * x
128
129# define CDI(x) \
130 do { \
131 x = (win32_cond *)calloc(1, sizeof(win32_cond)); \
132 if (x) \
133 { \
134 x->semaphore = CreateSemaphore(NULL, 0, 0x7fffffff, NULL); \
135 if (x->semaphore) \
136 InitializeCriticalSection(&x->threads_count_lock); \
137 else \
138 { \
139 free(x); \
140 x = NULL; \
141 } \
142 } \
143 } while (0)
144
145# define CDD(x) \
146 do { \
147 CloseHandle(x->semaphore); \
148 free(x); \
149 x = NULL; \
150 } while (0)
151
152# define CDB(x) \
153 do { \
154 EnterCriticalSection(&x->threads_count_lock); \
155 if (x->threads_count > 0) \
156 ReleaseSemaphore(x->semaphore, x->threads_count, NULL); \
157 LeaveCriticalSection (&x->threads_count_lock); \
158 } while (0)
159
160int
161_ecore_thread_win32_cond_timedwait(win32_cond *c,
162 HANDLE *external_mutex,
163 struct timeval *t)
164{
165 DWORD res;
166 DWORD val = t->tv_sec * 1000 + (t->tv_usec / 1000);
167 LKL(external_mutex);
168 EnterCriticalSection (&c->threads_count_lock);
169 c->threads_count++;
170 LeaveCriticalSection (&c->threads_count_lock);
171 LKU(external_mutex);
172 res = WaitForSingleObject(c->semaphore, val);
173 if (res == WAIT_OBJECT_0)
174 return 0;
175 else
176 return -1;
177}
178
179# define CDW(x, y, t) _ecore_thread_win32_cond_timedwait(x, y, t)
180
181typedef struct
182{
183 LONG readers_count;
184 LONG writers_count;
185 int readers;
186 int writers;
187 LK(mutex);
188 CD(cond_read);
189 CD(cond_write);
190} win32_rwl;
191
192# define LRWK(x) win32_rwl * x
193# define LRWKI(x) \
194 do { \
195 x = (win32_rwl *)calloc(1, sizeof(win32_rwl)); \
196 if (x) \
197 { \
198 LKI(x->mutex); \
199 if (x->mutex) \
200 { \
201 CDI(x->cond_read); \
202 if (x->cond_read) \
203 { \
204 CDI(x->cond_write); \
205 if (!x->cond_write) \
206 { \
207 CDD(x->cond_read); \
208 LKD(x->mutex); \
209 free(x); \
210 x = NULL; \
211 } \
212 } \
213 else \
214 { \
215 LKD(x->mutex); \
216 free(x); \
217 x = NULL; \
218 } \
219 } \
220 else \
221 { \
222 free(x); \
223 x = NULL; \
224 } \
225 } \
226 } while (0)
227
228# define LRWKD(x) \
229 do { \
230 LKU(x->mutex); \
231 LKD(x->mutex); \
232 CDD(x->cond_write); \
233 CDD(x->cond_read); \
234 free(x); \
235 } while (0)
236# define LRWKWL(x) \
237 do { \
238 DWORD res; \
239 LKU(x->mutex); \
240 if (x->writers || x->readers > 0) \
241 { \
242 x->writers_count++; \
243 while (x->writers || x->readers > 0) \
244 { \
245 EnterCriticalSection(&x->cond_write->threads_count_lock); \
246 x->cond_read->threads_count++; \
247 LeaveCriticalSection(&x->cond_write->threads_count_lock); \
248 res = WaitForSingleObject(x->cond_write->semaphore, INFINITE); \
249 if (res != WAIT_OBJECT_0) break; \
250 } \
251 x->writers_count--; \
252 } \
253 if (res == 0) x->writers_count = 1; \
254 LKU(x->mutex); \
255 } while (0)
256# define LRWKRL(x) \
257 do { \
258 DWORD res; \
259 LKL(x->mutex); \
260 if (x->writers) \
261 { \
262 x->readers_count++; \
263 while (x->writers) \
264 { \
265 EnterCriticalSection(&x->cond_write->threads_count_lock); \
266 x->cond_read->threads_count++; \
267 LeaveCriticalSection(&x->cond_write->threads_count_lock); \
268 res = WaitForSingleObject(x->cond_write->semaphore, INFINITE); \
269 if (res != WAIT_OBJECT_0) break; \
270 } \
271 x->readers_count--; \
272 } \
273 if (res == 0) \
274 x->readers++; \
275 LKU(x->mutex); \
276 } while (0)
277# define LRWKU(x) \
278 do { \
279 LKL(x->mutex); \
280 if (x->writers) \
281 { \
282 x->writers = 0; \
283 if (x->readers_count == 1) \
284 { \
285 EnterCriticalSection(&x->cond_read->threads_count_lock); \
286 if (x->cond_read->threads_count > 0) \
287 ReleaseSemaphore(x->cond_read->semaphore, 1, 0); \
288 LeaveCriticalSection(&x->cond_read->threads_count_lock); \
289 } \
290 else if (x->readers_count > 0) \
291 CDB(x->cond_read); \
292 else if (x->writers_count > 0) \
293 { \
294 EnterCriticalSection (&x->cond_write->threads_count_lock); \
295 if (x->cond_write->threads_count > 0) \
296 ReleaseSemaphore(x->cond_write->semaphore, 1, 0); \
297 LeaveCriticalSection (&x->cond_write->threads_count_lock); \
298 } \
299 } \
300 else if (x->readers > 0) \
301 { \
302 x->readers--; \
303 if (x->readers == 0 && x->writers_count > 0) \
304 { \
305 EnterCriticalSection (&x->cond_write->threads_count_lock); \
306 if (x->cond_write->threads_count > 0) \
307 ReleaseSemaphore(x->cond_write->semaphore, 1, 0); \
308 LeaveCriticalSection (&x->cond_write->threads_count_lock); \
309 } \
310 } \
311 LKU(x->mutex); \
312 } while (0)
313
314# endif 114# endif
315 115
316#endif 116#endif
@@ -336,14 +136,24 @@ struct _Ecore_Pthread_Worker
336 { 136 {
337 Ecore_Thread_Cb func_heavy; 137 Ecore_Thread_Cb func_heavy;
338 Ecore_Thread_Notify_Cb func_notify; 138 Ecore_Thread_Notify_Cb func_notify;
339 Ecore_Pipe *notify;
340 139
341 Ecore_Pipe *direct_pipe;
342 Ecore_Pthread_Worker *direct_worker; 140 Ecore_Pthread_Worker *direct_worker;
343 141
344 int send; 142 int send;
345 int received; 143 int received;
346 } feedback_run; 144 } feedback_run;
145 struct {
146 Ecore_Thread_Cb func_main;
147 Ecore_Thread_Notify_Cb func_notify;
148
149 Ecore_Pipe *send;
150 Ecore_Pthread_Worker *direct_worker;
151
152 struct {
153 int send;
154 int received;
155 } from, to;
156 } message_run;
347 } u; 157 } u;
348 158
349 Ecore_Thread_Cb func_cancel; 159 Ecore_Thread_Cb func_cancel;
@@ -357,47 +167,63 @@ struct _Ecore_Pthread_Worker
357 167
358 const void *data; 168 const void *data;
359 169
360 Eina_Bool cancel : 1; 170 volatile int cancel;
361 Eina_Bool feedback_run : 1; 171
362 Eina_Bool kill : 1; 172#ifdef EFL_HAVE_THREADS
363 Eina_Bool reschedule : 1; 173 LK(cancel_mutex);
364 Eina_Bool no_queue : 1; 174#endif
175
176 Eina_Bool message_run : 1;
177 Eina_Bool feedback_run : 1;
178 Eina_Bool kill : 1;
179 Eina_Bool reschedule : 1;
180 Eina_Bool no_queue : 1;
365}; 181};
366 182
367#ifdef EFL_HAVE_THREADS 183#ifdef EFL_HAVE_THREADS
368typedef struct _Ecore_Pthread_Data Ecore_Pthread_Data; 184typedef struct _Ecore_Pthread_Data Ecore_Pthread_Data;
369
370struct _Ecore_Pthread_Data 185struct _Ecore_Pthread_Data
371{ 186{
372 Ecore_Pthread_Worker *death_job; 187 Ecore_Pthread_Worker *death_job;
373 Ecore_Pipe *p;
374 void *data; 188 void *data;
375 PH(thread); 189 PH(thread);
376}; 190};
191
192typedef struct _Ecore_Pthread_Notify Ecore_Pthread_Notify;
193struct _Ecore_Pthread_Notify
194{
195 Ecore_Pthread_Worker *work;
196 const void *user_data;
197};
198
199typedef void *(*Ecore_Thread_Sync_Cb)(void* data, Ecore_Thread *thread);
200
201typedef struct _Ecore_Pthread_Message Ecore_Pthread_Message;
202struct _Ecore_Pthread_Message
203{
204 union {
205 Ecore_Thread_Cb async;
206 Ecore_Thread_Sync_Cb sync;
207 } u;
208
209 const void *data;
210
211 int code;
212
213 Eina_Bool callback : 1;
214 Eina_Bool sync : 1;
215};
216
377#endif 217#endif
378 218
379static int _ecore_thread_count_max = 0; 219static int _ecore_thread_count_max = 0;
380static int ECORE_THREAD_PIPE_DEL = 0;
381static Eina_Array *_ecore_thread_pipe = NULL;
382 220
383#ifdef EFL_HAVE_THREADS 221#ifdef EFL_HAVE_THREADS
384 222
385static void _ecore_thread_handler(void *data __UNUSED__, 223static void _ecore_thread_handler(void *data);
386 void *buffer,
387 unsigned int nbyte);
388
389static Ecore_Pipe *
390_ecore_thread_pipe_get(void)
391{
392 if (eina_array_count(_ecore_thread_pipe) > 0)
393 return eina_array_pop(_ecore_thread_pipe);
394
395 return ecore_pipe_add(_ecore_thread_handler, NULL);
396}
397 224
398static int _ecore_thread_count = 0; 225static int _ecore_thread_count = 0;
399 226
400static Ecore_Event_Handler *del_handler = NULL;
401static Eina_List *_ecore_active_job_threads = NULL; 227static Eina_List *_ecore_active_job_threads = NULL;
402static Eina_List *_ecore_pending_job_threads = NULL; 228static Eina_List *_ecore_pending_job_threads = NULL;
403static Eina_List *_ecore_pending_job_threads_feedback = NULL; 229static Eina_List *_ecore_pending_job_threads_feedback = NULL;
@@ -435,6 +261,10 @@ static PH(get_main_loop_thread) (void)
435static void 261static void
436_ecore_thread_worker_free(Ecore_Pthread_Worker *worker) 262_ecore_thread_worker_free(Ecore_Pthread_Worker *worker)
437{ 263{
264 LKD(worker->cancel_mutex);
265 CDD(worker->cond);
266 LKD(worker->mutex);
267
438 if (_ecore_thread_worker_count > (_ecore_thread_count_max + 1) * 16) 268 if (_ecore_thread_worker_count > (_ecore_thread_count_max + 1) * 16)
439 { 269 {
440 free(worker); 270 free(worker);
@@ -454,38 +284,15 @@ _ecore_thread_data_free(void *data)
454} 284}
455 285
456static void 286static void
457_ecore_thread_pipe_free(void *data __UNUSED__,
458 void *event)
459{
460 Ecore_Pipe *p = event;
461
462 if (eina_array_count(_ecore_thread_pipe) < 50)
463 eina_array_push(_ecore_thread_pipe, p);
464 else
465 ecore_pipe_del(p);
466 eina_threads_shutdown();
467}
468
469static Eina_Bool
470_ecore_thread_pipe_del(void *data __UNUSED__,
471 int type __UNUSED__,
472 void *event __UNUSED__)
473{
474 /* This is a hack to delay pipe destruction until we are out of its internal loop. */
475 return ECORE_CALLBACK_CANCEL;
476}
477
478static void
479_ecore_thread_end(Ecore_Pthread_Data *pth, 287_ecore_thread_end(Ecore_Pthread_Data *pth,
480 Ecore_Thread *work) 288 Ecore_Thread *work)
481{ 289{
482 Ecore_Pthread_Worker *worker = (Ecore_Pthread_Worker *)work; 290 Ecore_Pthread_Worker *worker = (Ecore_Pthread_Worker *)work;
483 Ecore_Pipe *p;
484 291
485 if (!worker->feedback_run || (worker->feedback_run && !worker->no_queue)) 292 if (!worker->message_run || !worker->feedback_run || (worker->feedback_run && !worker->no_queue))
486 _ecore_thread_count--; 293 _ecore_thread_count--;
487 294
488 if (PHJ(pth->thread, p) != 0) 295 if (PHJ(pth->thread) != 0)
489 return; 296 return;
490 297
491 if (eina_list_count(_ecore_pending_job_threads) > 0 298 if (eina_list_count(_ecore_pending_job_threads) > 0
@@ -496,7 +303,7 @@ _ecore_thread_end(Ecore_Pthread_Data *pth,
496 INF("spawning threads because of still pending jobs."); 303 INF("spawning threads because of still pending jobs.");
497 304
498 pth->death_job = _ecore_thread_worker_new(); 305 pth->death_job = _ecore_thread_worker_new();
499 if (!pth->p || !pth->death_job) goto end; 306 if (!pth->death_job) goto end;
500 307
501 eina_threads_init(); 308 eina_threads_init();
502 309
@@ -514,7 +321,6 @@ end:
514 321
515 _ecore_active_job_threads = eina_list_remove(_ecore_active_job_threads, pth); 322 _ecore_active_job_threads = eina_list_remove(_ecore_active_job_threads, pth);
516 323
517 ecore_event_add(ECORE_THREAD_PIPE_DEL, pth->p, _ecore_thread_pipe_free, NULL);
518 free(pth); 324 free(pth);
519} 325}
520 326
@@ -534,30 +340,18 @@ _ecore_thread_kill(Ecore_Pthread_Worker *work)
534 340
535 if (work->feedback_run) 341 if (work->feedback_run)
536 { 342 {
537 ecore_pipe_del(work->u.feedback_run.notify);
538
539 if (work->u.feedback_run.direct_pipe)
540 eina_array_push(_ecore_thread_pipe, work->u.feedback_run.direct_pipe);
541 if (work->u.feedback_run.direct_worker) 343 if (work->u.feedback_run.direct_worker)
542 _ecore_thread_worker_free(work->u.feedback_run.direct_worker); 344 _ecore_thread_worker_free(work->u.feedback_run.direct_worker);
543 } 345 }
544 CDD(work->cond);
545 LKD(work->mutex);
546 if (work->hash) 346 if (work->hash)
547 eina_hash_free(work->hash); 347 eina_hash_free(work->hash);
548 _ecore_thread_worker_free(work); 348 _ecore_thread_worker_free(work);
549} 349}
550 350
551static void 351static void
552_ecore_thread_handler(void *data __UNUSED__, 352_ecore_thread_handler(void *data)
553 void *buffer,
554 unsigned int nbyte)
555{ 353{
556 Ecore_Pthread_Worker *work; 354 Ecore_Pthread_Worker *work = data;
557
558 if (nbyte != sizeof (Ecore_Pthread_Worker *)) return;
559
560 work = *(Ecore_Pthread_Worker **)buffer;
561 355
562 if (work->feedback_run) 356 if (work->feedback_run)
563 { 357 {
@@ -571,17 +365,20 @@ _ecore_thread_handler(void *data __UNUSED__,
571 _ecore_thread_kill(work); 365 _ecore_thread_kill(work);
572} 366}
573 367
368#if 0
574static void 369static void
575_ecore_notify_handler(void *data, 370_ecore_nothing_handler(void *data __UNUSED__, void *buffer __UNUSED__, unsigned int nbyte __UNUSED__)
576 void *buffer,
577 unsigned int nbyte)
578{ 371{
579 Ecore_Pthread_Worker *work = data; 372}
580 void *user_data; 373#endif
581 374
582 if (nbyte != sizeof (Ecore_Pthread_Worker *)) return; 375static void
376_ecore_notify_handler(void *data)
377{
378 Ecore_Pthread_Notify *notify = data;
379 Ecore_Pthread_Worker *work = notify->work;
380 void *user_data = (void*) notify->user_data;
583 381
584 user_data = *(void **)buffer;
585 work->u.feedback_run.received++; 382 work->u.feedback_run.received++;
586 383
587 if (work->u.feedback_run.func_notify) 384 if (work->u.feedback_run.func_notify)
@@ -592,16 +389,64 @@ _ecore_notify_handler(void *data,
592 { 389 {
593 _ecore_thread_kill(work); 390 _ecore_thread_kill(work);
594 } 391 }
392
393 free(notify);
394}
395
396static void
397_ecore_message_notify_handler(void *data)
398{
399 Ecore_Pthread_Notify *notify = data;
400 Ecore_Pthread_Worker *work = notify->work;
401 Ecore_Pthread_Message *user_data = (void *) notify->user_data;
402 Eina_Bool delete = EINA_TRUE;
403
404 work->u.message_run.from.received++;
405
406 if (!user_data->callback)
407 {
408 if (work->u.message_run.func_notify)
409 work->u.message_run.func_notify((void *) work->data, (Ecore_Thread *) work, (void *) user_data->data);
410 }
411 else
412 {
413 if (user_data->sync)
414 {
415 user_data->data = user_data->u.sync((void*) user_data->data, (Ecore_Thread *) work);
416 user_data->callback = EINA_FALSE;
417 user_data->code = INT_MAX;
418 ecore_pipe_write(work->u.message_run.send, &user_data, sizeof (Ecore_Pthread_Message *));
419
420 delete = EINA_FALSE;
421 }
422 else
423 {
424 user_data->u.async((void*) user_data->data, (Ecore_Thread *) work);
425 }
426 }
427
428 if (delete)
429 {
430 free(user_data);
431 }
432
433 /* Force reading all notify event before killing the thread */
434 if (work->kill && work->u.message_run.from.send == work->u.message_run.from.received)
435 {
436 _ecore_thread_kill(work);
437 }
438 free(notify);
595} 439}
596 440
597static void 441static void
598_ecore_short_job(Ecore_Pipe *end_pipe, 442_ecore_short_job(PH(thread))
599 PH(thread))
600{ 443{
601 Ecore_Pthread_Worker *work; 444 Ecore_Pthread_Worker *work;
602 445
603 while (_ecore_pending_job_threads) 446 while (_ecore_pending_job_threads)
604 { 447 {
448 int cancel;
449
605 LKL(_ecore_pending_job_threads_mutex); 450 LKL(_ecore_pending_job_threads_mutex);
606 451
607 if (!_ecore_pending_job_threads) 452 if (!_ecore_pending_job_threads)
@@ -616,9 +461,12 @@ _ecore_short_job(Ecore_Pipe *end_pipe,
616 461
617 LKU(_ecore_pending_job_threads_mutex); 462 LKU(_ecore_pending_job_threads_mutex);
618 463
464 LKL(work->cancel_mutex);
465 cancel = work->cancel;
466 LKU(work->cancel_mutex);
619 work->self = thread; 467 work->self = thread;
620 if (!work->cancel) 468 if (!cancel)
621 work->u.short_run.func_blocking((void *)work->data, (Ecore_Thread *)work); 469 work->u.short_run.func_blocking((void *) work->data, (Ecore_Thread*) work);
622 470
623 if (work->reschedule) 471 if (work->reschedule)
624 { 472 {
@@ -630,19 +478,20 @@ _ecore_short_job(Ecore_Pipe *end_pipe,
630 } 478 }
631 else 479 else
632 { 480 {
633 ecore_pipe_write(end_pipe, &work, sizeof (Ecore_Pthread_Worker *)); 481 ecore_main_loop_thread_safe_call_async(_ecore_thread_handler, work);
634 } 482 }
635 } 483 }
636} 484}
637 485
638static void 486static void
639_ecore_feedback_job(Ecore_Pipe *end_pipe, 487_ecore_feedback_job(PH(thread))
640 PH(thread))
641{ 488{
642 Ecore_Pthread_Worker *work; 489 Ecore_Pthread_Worker *work;
643 490
644 while (_ecore_pending_job_threads_feedback) 491 while (_ecore_pending_job_threads_feedback)
645 { 492 {
493 int cancel;
494
646 LKL(_ecore_pending_job_threads_mutex); 495 LKL(_ecore_pending_job_threads_mutex);
647 496
648 if (!_ecore_pending_job_threads_feedback) 497 if (!_ecore_pending_job_threads_feedback)
@@ -657,9 +506,12 @@ _ecore_feedback_job(Ecore_Pipe *end_pipe,
657 506
658 LKU(_ecore_pending_job_threads_mutex); 507 LKU(_ecore_pending_job_threads_mutex);
659 508
509 LKL(work->cancel_mutex);
510 cancel = work->cancel;
511 LKU(work->cancel_mutex);
660 work->self = thread; 512 work->self = thread;
661 if (!work->cancel) 513 if (!cancel)
662 work->u.feedback_run.func_heavy((void *)work->data, (Ecore_Thread *)work); 514 work->u.feedback_run.func_heavy((void *) work->data, (Ecore_Thread *) work);
663 515
664 if (work->reschedule) 516 if (work->reschedule)
665 { 517 {
@@ -671,7 +523,7 @@ _ecore_feedback_job(Ecore_Pipe *end_pipe,
671 } 523 }
672 else 524 else
673 { 525 {
674 ecore_pipe_write(end_pipe, &work, sizeof (Ecore_Pthread_Worker *)); 526 ecore_main_loop_thread_safe_call_async(_ecore_thread_handler, work);
675 } 527 }
676 } 528 }
677} 529}
@@ -679,6 +531,7 @@ _ecore_feedback_job(Ecore_Pipe *end_pipe,
679static void * 531static void *
680_ecore_direct_worker(Ecore_Pthread_Worker *work) 532_ecore_direct_worker(Ecore_Pthread_Worker *work)
681{ 533{
534 Ecore_Pthread_Worker *end;
682 Ecore_Pthread_Data *pth; 535 Ecore_Pthread_Data *pth;
683 536
684#ifdef EFL_POSIX_THREADS 537#ifdef EFL_POSIX_THREADS
@@ -691,40 +544,49 @@ _ecore_direct_worker(Ecore_Pthread_Worker *work)
691 pth = malloc(sizeof (Ecore_Pthread_Data)); 544 pth = malloc(sizeof (Ecore_Pthread_Data));
692 if (!pth) return NULL; 545 if (!pth) return NULL;
693 546
694 pth->p = work->u.feedback_run.direct_pipe;
695 if (!pth->p)
696 {
697 free(pth);
698 return NULL;
699 }
700 pth->thread = PHS(); 547 pth->thread = PHS();
701 548
702 work->self = pth->thread; 549 work->self = pth->thread;
703 work->u.feedback_run.func_heavy((void *)work->data, (Ecore_Thread *)work); 550 if (work->message_run)
551 work->u.message_run.func_main((void *) work->data, (Ecore_Thread *) work);
552 else
553 work->u.feedback_run.func_heavy((void *) work->data, (Ecore_Thread *) work);
704 554
705 ecore_pipe_write(pth->p, &work, sizeof (Ecore_Pthread_Worker *)); 555 if (work->message_run)
556 {
557 end = work->u.message_run.direct_worker;
558 work->u.message_run.direct_worker = NULL;
559 }
560 else
561 {
562 end = work->u.feedback_run.direct_worker;
563 work->u.feedback_run.direct_worker = NULL;
564 }
706 565
707 work = work->u.feedback_run.direct_worker; 566 ecore_main_loop_thread_safe_call_async(_ecore_thread_handler, work);
708 if (!work) 567
568 if (!end)
709 { 569 {
710 free(pth); 570 free(pth);
711 return NULL; 571 return NULL;
712 } 572 }
713 573
714 work->data = pth; 574 end->data = pth;
715 work->u.short_run.func_blocking = NULL; 575 end->u.short_run.func_blocking = NULL;
716 work->func_end = (void *)_ecore_thread_end; 576 end->func_end = (void *)_ecore_thread_end;
717 work->func_cancel = NULL; 577 end->func_cancel = NULL;
718 work->cancel = EINA_FALSE; 578 end->cancel = EINA_FALSE;
719 work->feedback_run = EINA_FALSE; 579 end->feedback_run = EINA_FALSE;
720 work->kill = EINA_FALSE; 580 end->message_run = EINA_FALSE;
721 work->hash = NULL; 581 end->no_queue = EINA_FALSE;
722 CDI(work->cond); 582 end->kill = EINA_FALSE;
723 LKI(work->mutex); 583 end->hash = NULL;
724 584 LKI(end->mutex);
725 ecore_pipe_write(pth->p, &work, sizeof (Ecore_Pthread_Worker *)); 585 CDI(end->cond, end->mutex);
586
587 ecore_main_loop_thread_safe_call_async(_ecore_thread_handler, end);
726 588
727 return pth->p; 589 return NULL;
728} 590}
729 591
730static void * 592static void *
@@ -740,8 +602,8 @@ _ecore_thread_worker(Ecore_Pthread_Data *pth)
740 eina_sched_prio_drop(); 602 eina_sched_prio_drop();
741 603
742restart: 604restart:
743 if (_ecore_pending_job_threads) _ecore_short_job(pth->p, pth->thread); 605 if (_ecore_pending_job_threads) _ecore_short_job(pth->thread);
744 if (_ecore_pending_job_threads_feedback) _ecore_feedback_job(pth->p, pth->thread); 606 if (_ecore_pending_job_threads_feedback) _ecore_feedback_job(pth->thread);
745 607
746 /* FIXME: Check if there is feedback running task todo, and switch to feedback run handler. */ 608 /* FIXME: Check if there is feedback running task todo, and switch to feedback run handler. */
747 609
@@ -777,14 +639,14 @@ restart:
777 work->func_cancel = NULL; 639 work->func_cancel = NULL;
778 work->cancel = EINA_FALSE; 640 work->cancel = EINA_FALSE;
779 work->feedback_run = EINA_FALSE; 641 work->feedback_run = EINA_FALSE;
642 work->message_run = EINA_FALSE;
780 work->kill = EINA_FALSE; 643 work->kill = EINA_FALSE;
644 work->no_queue = EINA_FALSE;
781 work->hash = NULL; 645 work->hash = NULL;
782 CDI(work->cond);
783 LKI(work->mutex);
784 646
785 ecore_pipe_write(pth->p, &work, sizeof (Ecore_Pthread_Worker *)); 647 ecore_main_loop_thread_safe_call_async(_ecore_thread_handler, work);
786 648
787 return pth->p; 649 return NULL;
788} 650}
789 651
790#endif 652#endif
@@ -800,6 +662,10 @@ _ecore_thread_worker_new(void)
800 if (!result) result = malloc(sizeof (Ecore_Pthread_Worker)); 662 if (!result) result = malloc(sizeof (Ecore_Pthread_Worker));
801 else _ecore_thread_worker_count--; 663 else _ecore_thread_worker_count--;
802 664
665 LKI(result->cancel_mutex);
666 LKI(result->mutex);
667 CDI(result->cond, result->mutex);
668
803 return result; 669 return result;
804#else 670#else
805 return malloc(sizeof (Ecore_Pthread_Worker)); 671 return malloc(sizeof (Ecore_Pthread_Worker));
@@ -813,16 +679,11 @@ _ecore_thread_init(void)
813 if (_ecore_thread_count_max <= 0) 679 if (_ecore_thread_count_max <= 0)
814 _ecore_thread_count_max = 1; 680 _ecore_thread_count_max = 1;
815 681
816 ECORE_THREAD_PIPE_DEL = ecore_event_type_new();
817 _ecore_thread_pipe = eina_array_new(8);
818
819#ifdef EFL_HAVE_THREADS 682#ifdef EFL_HAVE_THREADS
820 del_handler = ecore_event_handler_add(ECORE_THREAD_PIPE_DEL, _ecore_thread_pipe_del, NULL);
821
822 LKI(_ecore_pending_job_threads_mutex); 683 LKI(_ecore_pending_job_threads_mutex);
823 LRWKI(_ecore_thread_global_hash_lock); 684 LRWKI(_ecore_thread_global_hash_lock);
824 LKI(_ecore_thread_global_hash_mutex); 685 LKI(_ecore_thread_global_hash_mutex);
825 CDI(_ecore_thread_global_hash_cond); 686 CDI(_ecore_thread_global_hash_cond, _ecore_thread_global_hash_mutex);
826#endif 687#endif
827} 688}
828 689
@@ -830,10 +691,6 @@ void
830_ecore_thread_shutdown(void) 691_ecore_thread_shutdown(void)
831{ 692{
832 /* FIXME: If function are still running in the background, should we kill them ? */ 693 /* FIXME: If function are still running in the background, should we kill them ? */
833 Ecore_Pipe *p;
834 Eina_Array_Iterator it;
835 unsigned int i;
836
837#ifdef EFL_HAVE_THREADS 694#ifdef EFL_HAVE_THREADS
838 Ecore_Pthread_Worker *work; 695 Ecore_Pthread_Worker *work;
839 Ecore_Pthread_Data *pth; 696 Ecore_Pthread_Data *pth;
@@ -843,46 +700,39 @@ _ecore_thread_shutdown(void)
843 EINA_LIST_FREE(_ecore_pending_job_threads, work) 700 EINA_LIST_FREE(_ecore_pending_job_threads, work)
844 { 701 {
845 if (work->func_cancel) 702 if (work->func_cancel)
846 work->func_cancel((void *)work->data, (Ecore_Thread *)work); 703 work->func_cancel((void *)work->data, (Ecore_Thread *) work);
847 free(work); 704 free(work);
848 } 705 }
849 706
850 EINA_LIST_FREE(_ecore_pending_job_threads_feedback, work) 707 EINA_LIST_FREE(_ecore_pending_job_threads_feedback, work)
851 { 708 {
852 if (work->func_cancel) 709 if (work->func_cancel)
853 work->func_cancel((void *)work->data, (Ecore_Thread *)work); 710 work->func_cancel((void *)work->data, (Ecore_Thread *) work);
854 free(work); 711 free(work);
855 } 712 }
856 713
857 LKU(_ecore_pending_job_threads_mutex); 714 LKU(_ecore_pending_job_threads_mutex);
858 715
859 /* Improve emergency shutdown */ 716 /* FIXME: Improve emergency shutdown, now that we use async call, we can do something */
860 EINA_LIST_FREE(_ecore_active_job_threads, pth) 717 EINA_LIST_FREE(_ecore_active_job_threads, pth)
861 { 718 {
862 Ecore_Pipe *ep;
863
864 PHA(pth->thread); 719 PHA(pth->thread);
865 PHJ(pth->thread, ep); 720 PHJ(pth->thread);
866
867 ecore_pipe_del(pth->p);
868 } 721 }
869 if (_ecore_thread_global_hash) 722 if (_ecore_thread_global_hash)
870 eina_hash_free(_ecore_thread_global_hash); 723 eina_hash_free(_ecore_thread_global_hash);
871 _ecore_event_handler_del(del_handler);
872 have_main_loop_thread = 0; 724 have_main_loop_thread = 0;
873 del_handler = NULL; 725
726 while ((work = eina_trash_pop(&_ecore_thread_worker_trash)))
727 {
728 free(work);
729 }
874 730
875 LKD(_ecore_pending_job_threads_mutex); 731 LKD(_ecore_pending_job_threads_mutex);
876 LRWKD(_ecore_thread_global_hash_lock); 732 LRWKD(_ecore_thread_global_hash_lock);
877 LKD(_ecore_thread_global_hash_mutex); 733 LKD(_ecore_thread_global_hash_mutex);
878 CDD(_ecore_thread_global_hash_cond); 734 CDD(_ecore_thread_global_hash_cond);
879#endif 735#endif
880
881 EINA_ARRAY_ITER_NEXT(_ecore_thread_pipe, i, p, it)
882 ecore_pipe_del(p);
883
884 eina_array_free(_ecore_thread_pipe);
885 _ecore_thread_pipe = NULL;
886} 736}
887 737
888void 738void
@@ -927,15 +777,15 @@ ecore_thread_run(Ecore_Thread_Cb func_blocking,
927 work->func_cancel = func_cancel; 777 work->func_cancel = func_cancel;
928 work->cancel = EINA_FALSE; 778 work->cancel = EINA_FALSE;
929 work->feedback_run = EINA_FALSE; 779 work->feedback_run = EINA_FALSE;
780 work->message_run = EINA_FALSE;
930 work->kill = EINA_FALSE; 781 work->kill = EINA_FALSE;
931 work->reschedule = EINA_FALSE; 782 work->reschedule = EINA_FALSE;
783 work->no_queue = EINA_FALSE;
932 work->data = data; 784 work->data = data;
933 785
934#ifdef EFL_HAVE_THREADS 786#ifdef EFL_HAVE_THREADS
935 work->self = 0; 787 work->self = 0;
936 work->hash = NULL; 788 work->hash = NULL;
937 CDI(work->cond);
938 LKI(work->mutex);
939 789
940 LKL(_ecore_pending_job_threads_mutex); 790 LKL(_ecore_pending_job_threads_mutex);
941 _ecore_pending_job_threads = eina_list_append(_ecore_pending_job_threads, work); 791 _ecore_pending_job_threads = eina_list_append(_ecore_pending_job_threads, work);
@@ -952,9 +802,8 @@ ecore_thread_run(Ecore_Thread_Cb func_blocking,
952 pth = malloc(sizeof (Ecore_Pthread_Data)); 802 pth = malloc(sizeof (Ecore_Pthread_Data));
953 if (!pth) goto on_error; 803 if (!pth) goto on_error;
954 804
955 pth->p = _ecore_thread_pipe_get();
956 pth->death_job = _ecore_thread_worker_new(); 805 pth->death_job = _ecore_thread_worker_new();
957 if (!pth->p || !pth->death_job) goto on_error; 806 if (!pth->death_job) goto on_error;
958 807
959 eina_threads_init(); 808 eina_threads_init();
960 809
@@ -969,7 +818,6 @@ ecore_thread_run(Ecore_Thread_Cb func_blocking,
969on_error: 818on_error:
970 if (pth) 819 if (pth)
971 { 820 {
972 if (pth->p) eina_array_push(_ecore_thread_pipe, pth->p);
973 if (pth->death_job) _ecore_thread_worker_free(pth->death_job); 821 if (pth->death_job) _ecore_thread_worker_free(pth->death_job);
974 free(pth); 822 free(pth);
975 } 823 }
@@ -981,7 +829,11 @@ on_error:
981 LKU(_ecore_pending_job_threads_mutex); 829 LKU(_ecore_pending_job_threads_mutex);
982 830
983 if (work->func_cancel) 831 if (work->func_cancel)
984 work->func_cancel((void *)work->data, (Ecore_Thread *)work); 832 work->func_cancel((void *) work->data, (Ecore_Thread *) work);
833
834 CDD(work->cond);
835 LKD(work->mutex);
836 LKD(work->cancel_mutex);
985 free(work); 837 free(work);
986 work = NULL; 838 work = NULL;
987 } 839 }
@@ -1013,12 +865,16 @@ EAPI Eina_Bool
1013ecore_thread_cancel(Ecore_Thread *thread) 865ecore_thread_cancel(Ecore_Thread *thread)
1014{ 866{
1015#ifdef EFL_HAVE_THREADS 867#ifdef EFL_HAVE_THREADS
1016 Ecore_Pthread_Worker *work = (Ecore_Pthread_Worker *)thread; 868 Ecore_Pthread_Worker *volatile work = (Ecore_Pthread_Worker *)thread;
1017 Eina_List *l; 869 Eina_List *l;
870 int cancel;
1018 871
1019 if (!work) 872 if (!work)
1020 return EINA_TRUE; 873 return EINA_TRUE;
1021 if (work->cancel) 874 LKL(work->cancel_mutex);
875 cancel = work->cancel;
876 LKU(work->cancel_mutex);
877 if (cancel)
1022 return EINA_FALSE; 878 return EINA_FALSE;
1023 879
1024 if (work->feedback_run) 880 if (work->feedback_run)
@@ -1070,9 +926,14 @@ ecore_thread_cancel(Ecore_Thread *thread)
1070 926
1071 LKU(_ecore_pending_job_threads_mutex); 927 LKU(_ecore_pending_job_threads_mutex);
1072 928
929 work = (Ecore_Pthread_Worker *)thread;
930
1073 /* Delay the destruction */ 931 /* Delay the destruction */
1074on_exit: 932 on_exit:
1075 ((Ecore_Pthread_Worker *)thread)->cancel = EINA_TRUE; 933 LKL(work->cancel_mutex);
934 work->cancel = EINA_TRUE;
935 LKU(work->cancel_mutex);
936
1076 return EINA_FALSE; 937 return EINA_FALSE;
1077#else 938#else
1078 (void) thread; 939 (void) thread;
@@ -1083,10 +944,23 @@ on_exit:
1083EAPI Eina_Bool 944EAPI Eina_Bool
1084ecore_thread_check(Ecore_Thread *thread) 945ecore_thread_check(Ecore_Thread *thread)
1085{ 946{
1086 Ecore_Pthread_Worker *worker = (Ecore_Pthread_Worker *)thread; 947 Ecore_Pthread_Worker *volatile worker = (Ecore_Pthread_Worker *) thread;
948 int cancel;
1087 949
1088 if (!worker) return EINA_TRUE; 950 if (!worker) return EINA_TRUE;
1089 return worker->cancel; 951#ifdef EFL_HAVE_THREADS
952 LKL(worker->cancel_mutex);
953#endif
954 cancel = worker->cancel;
955 /* FIXME: there is an insane bug driving me nuts here. I don't know if
956 it's a race condition, some cache issue or some alien attack on our software.
957 But ecore_thread_check will only work correctly with a printf, all the volatile,
958 lock and even usleep don't help here... */
959 /* fprintf(stderr, "wc: %i\n", cancel); */
960#ifdef EFL_HAVE_THREADS
961 LKU(worker->cancel_mutex);
962#endif
963 return cancel;
1090} 964}
1091 965
1092EAPI Ecore_Thread * 966EAPI Ecore_Thread *
@@ -1109,12 +983,11 @@ ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy,
1109 worker->u.feedback_run.func_heavy = func_heavy; 983 worker->u.feedback_run.func_heavy = func_heavy;
1110 worker->u.feedback_run.func_notify = func_notify; 984 worker->u.feedback_run.func_notify = func_notify;
1111 worker->hash = NULL; 985 worker->hash = NULL;
1112 CDI(worker->cond);
1113 LKI(worker->mutex);
1114 worker->func_cancel = func_cancel; 986 worker->func_cancel = func_cancel;
1115 worker->func_end = func_end; 987 worker->func_end = func_end;
1116 worker->data = data; 988 worker->data = data;
1117 worker->cancel = EINA_FALSE; 989 worker->cancel = EINA_FALSE;
990 worker->message_run = EINA_FALSE;
1118 worker->feedback_run = EINA_TRUE; 991 worker->feedback_run = EINA_TRUE;
1119 worker->kill = EINA_FALSE; 992 worker->kill = EINA_FALSE;
1120 worker->reschedule = EINA_FALSE; 993 worker->reschedule = EINA_FALSE;
@@ -1123,15 +996,12 @@ ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy,
1123 worker->u.feedback_run.send = 0; 996 worker->u.feedback_run.send = 0;
1124 worker->u.feedback_run.received = 0; 997 worker->u.feedback_run.received = 0;
1125 998
1126 worker->u.feedback_run.notify = ecore_pipe_add(_ecore_notify_handler, worker);
1127 worker->u.feedback_run.direct_pipe = NULL;
1128 worker->u.feedback_run.direct_worker = NULL; 999 worker->u.feedback_run.direct_worker = NULL;
1129 1000
1130 if (!try_no_queue) 1001 if (try_no_queue)
1131 { 1002 {
1132 PH(t); 1003 PH(t);
1133 1004
1134 worker->u.feedback_run.direct_pipe = _ecore_thread_pipe_get();
1135 worker->u.feedback_run.direct_worker = _ecore_thread_worker_new(); 1005 worker->u.feedback_run.direct_worker = _ecore_thread_worker_new();
1136 worker->no_queue = EINA_TRUE; 1006 worker->no_queue = EINA_TRUE;
1137 1007
@@ -1140,6 +1010,12 @@ ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy,
1140 if (PHC(t, _ecore_direct_worker, worker) == 0) 1010 if (PHC(t, _ecore_direct_worker, worker) == 0)
1141 return (Ecore_Thread *)worker; 1011 return (Ecore_Thread *)worker;
1142 1012
1013 if (worker->u.feedback_run.direct_worker)
1014 {
1015 _ecore_thread_worker_free(worker->u.feedback_run.direct_worker);
1016 worker->u.feedback_run.direct_worker = NULL;
1017 }
1018
1143 eina_threads_shutdown(); 1019 eina_threads_shutdown();
1144 } 1020 }
1145 1021
@@ -1160,9 +1036,8 @@ ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy,
1160 pth = malloc(sizeof (Ecore_Pthread_Data)); 1036 pth = malloc(sizeof (Ecore_Pthread_Data));
1161 if (!pth) goto on_error; 1037 if (!pth) goto on_error;
1162 1038
1163 pth->p = _ecore_thread_pipe_get();
1164 pth->death_job = _ecore_thread_worker_new(); 1039 pth->death_job = _ecore_thread_worker_new();
1165 if (!pth->p || !pth->death_job) goto on_error; 1040 if (!pth->death_job) goto on_error;
1166 1041
1167 eina_threads_init(); 1042 eina_threads_init();
1168 1043
@@ -1177,7 +1052,6 @@ ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy,
1177on_error: 1052on_error:
1178 if (pth) 1053 if (pth)
1179 { 1054 {
1180 if (pth->p) eina_array_push(_ecore_thread_pipe, pth->p);
1181 if (pth->death_job) _ecore_thread_worker_free(pth->death_job); 1055 if (pth->death_job) _ecore_thread_worker_free(pth->death_job);
1182 free(pth); 1056 free(pth);
1183 } 1057 }
@@ -1193,7 +1067,8 @@ on_error:
1193 1067
1194 if (worker) 1068 if (worker)
1195 { 1069 {
1196 ecore_pipe_del(worker->u.feedback_run.notify); 1070 CDD(worker->cond);
1071 LKD(worker->mutex);
1197 free(worker); 1072 free(worker);
1198 worker = NULL; 1073 worker = NULL;
1199 } 1074 }
@@ -1211,7 +1086,6 @@ on_error:
1211 */ 1086 */
1212 worker.u.feedback_run.func_heavy = func_heavy; 1087 worker.u.feedback_run.func_heavy = func_heavy;
1213 worker.u.feedback_run.func_notify = func_notify; 1088 worker.u.feedback_run.func_notify = func_notify;
1214 worker.u.feedback_run.notify = NULL;
1215 worker.u.feedback_run.send = 0; 1089 worker.u.feedback_run.send = 0;
1216 worker.u.feedback_run.received = 0; 1090 worker.u.feedback_run.received = 0;
1217 worker.func_cancel = func_cancel; 1091 worker.func_cancel = func_cancel;
@@ -1219,6 +1093,7 @@ on_error:
1219 worker.data = data; 1093 worker.data = data;
1220 worker.cancel = EINA_FALSE; 1094 worker.cancel = EINA_FALSE;
1221 worker.feedback_run = EINA_TRUE; 1095 worker.feedback_run = EINA_TRUE;
1096 worker.message_run = EINA_FALSE;
1222 worker.kill = EINA_FALSE; 1097 worker.kill = EINA_FALSE;
1223 1098
1224 do { 1099 do {
@@ -1241,13 +1116,48 @@ ecore_thread_feedback(Ecore_Thread *thread,
1241 Ecore_Pthread_Worker *worker = (Ecore_Pthread_Worker *)thread; 1116 Ecore_Pthread_Worker *worker = (Ecore_Pthread_Worker *)thread;
1242 1117
1243 if (!worker) return EINA_FALSE; 1118 if (!worker) return EINA_FALSE;
1244 if (!worker->feedback_run) return EINA_FALSE;
1245 1119
1246#ifdef EFL_HAVE_THREADS 1120#ifdef EFL_HAVE_THREADS
1247 if (!PHE(worker->self, PHS())) return EINA_FALSE; 1121 if (!PHE(worker->self, PHS())) return EINA_FALSE;
1248 1122
1249 worker->u.feedback_run.send++; 1123 if (worker->feedback_run)
1250 ecore_pipe_write(worker->u.feedback_run.notify, &data, sizeof (void *)); 1124 {
1125 Ecore_Pthread_Notify *notify;
1126
1127 notify = malloc(sizeof (Ecore_Pthread_Notify));
1128 if (!notify) return EINA_FALSE;
1129
1130 notify->user_data = data;
1131 notify->work = worker;
1132 worker->u.feedback_run.send++;
1133
1134 ecore_main_loop_thread_safe_call_async(_ecore_notify_handler, notify);
1135 }
1136 else if (worker->message_run)
1137 {
1138 Ecore_Pthread_Message *msg;
1139 Ecore_Pthread_Notify *notify;
1140
1141 msg = malloc(sizeof (Ecore_Pthread_Message*));
1142 if (!msg) return EINA_FALSE;
1143 msg->data = data;
1144 msg->callback = EINA_FALSE;
1145 msg->sync = EINA_FALSE;
1146
1147 notify = malloc(sizeof (Ecore_Pthread_Notify));
1148 if (!notify)
1149 {
1150 free(msg);
1151 return EINA_FALSE;
1152 }
1153 notify->work = worker;
1154 notify->user_data = msg;
1155
1156 worker->u.message_run.from.send++;
1157 ecore_main_loop_thread_safe_call_async(_ecore_message_notify_handler, notify);
1158 }
1159 else
1160 return EINA_FALSE;
1251 1161
1252 return EINA_TRUE; 1162 return EINA_TRUE;
1253#else 1163#else
@@ -1257,6 +1167,71 @@ ecore_thread_feedback(Ecore_Thread *thread,
1257#endif 1167#endif
1258} 1168}
1259 1169
1170#if 0
1171EAPI Ecore_Thread *
1172ecore_thread_message_run(Ecore_Thread_Cb func_main,
1173 Ecore_Thread_Notify_Cb func_notify,
1174 Ecore_Thread_Cb func_end,
1175 Ecore_Thread_Cb func_cancel,
1176 const void *data)
1177{
1178#ifdef EFL_HAVE_THREADS
1179 Ecore_Pthread_Worker *worker;
1180 PH(t);
1181
1182 if (!func_main) return NULL;
1183
1184 worker = _ecore_thread_worker_new();
1185 if (!worker) return NULL;
1186
1187 worker->u.message_run.func_main = func_main;
1188 worker->u.message_run.func_notify = func_notify;
1189 worker->u.message_run.direct_worker = _ecore_thread_worker_new();
1190 worker->u.message_run.send = ecore_pipe_add(_ecore_nothing_handler, worker);
1191 worker->u.message_run.from.send = 0;
1192 worker->u.message_run.from.received = 0;
1193 worker->u.message_run.to.send = 0;
1194 worker->u.message_run.to.received = 0;
1195
1196 ecore_pipe_freeze(worker->u.message_run.send);
1197
1198 worker->func_cancel = func_cancel;
1199 worker->func_end = func_end;
1200 worker->hash = NULL;
1201 worker->data = data;
1202
1203 worker->cancel = EINA_FALSE;
1204 worker->message_run = EINA_TRUE;
1205 worker->feedback_run = EINA_FALSE;
1206 worker->kill = EINA_FALSE;
1207 worker->reschedule = EINA_FALSE;
1208 worker->no_queue = EINA_FALSE;
1209 worker->self = 0;
1210
1211 eina_threads_init();
1212
1213 if (PHC(t, _ecore_direct_worker, worker) == 0)
1214 return (Ecore_Thread*) worker;
1215
1216 eina_threads_shutdown();
1217
1218 if (worker->u.message_run.direct_worker) _ecore_thread_worker_free(worker->u.message_run.direct_worker);
1219 if (worker->u.message_run.send) ecore_pipe_del(worker->u.message_run.send);
1220
1221 CDD(worker->cond);
1222 LKD(worker->mutex);
1223#else
1224 /* Note: This type of thread can't and never will work without thread support */
1225 WRN("ecore_thread_message_run called, but threads disable in Ecore, things will go wrong. Starting now !");
1226# warning "You disabled threads support in ecore, I hope you know what you are doing !"
1227#endif
1228
1229 func_cancel((void *) data, NULL);
1230
1231 return NULL;
1232}
1233#endif
1234
1260EAPI Eina_Bool 1235EAPI Eina_Bool
1261ecore_thread_reschedule(Ecore_Thread *thread) 1236ecore_thread_reschedule(Ecore_Thread *thread)
1262{ 1237{
@@ -1641,24 +1616,13 @@ ecore_thread_global_data_wait(const char *key,
1641 1616
1642 while (1) 1617 while (1)
1643 { 1618 {
1644#ifndef _WIN32
1645 struct timespec t = { 0, 0 };
1646
1647 t.tv_sec = (long int)tm;
1648 t.tv_nsec = (long int)((tm - (double)t.tv_sec) * 1000000000);
1649#else
1650 struct timeval t = { 0, 0 };
1651
1652 t.tv_sec = (long int)tm;
1653 t.tv_usec = (long int)((tm - (double)t.tv_sec) * 1000000);
1654#endif
1655 LRWKRL(_ecore_thread_global_hash_lock); 1619 LRWKRL(_ecore_thread_global_hash_lock);
1656 ret = eina_hash_find(_ecore_thread_global_hash, key); 1620 ret = eina_hash_find(_ecore_thread_global_hash, key);
1657 LRWKU(_ecore_thread_global_hash_lock); 1621 LRWKU(_ecore_thread_global_hash_lock);
1658 if ((ret) || (!seconds) || ((seconds > 0) && (tm <= ecore_time_get()))) 1622 if ((ret) || (!seconds) || ((seconds > 0) && (tm <= ecore_time_get())))
1659 break; 1623 break;
1660 LKL(_ecore_thread_global_hash_mutex); 1624 LKL(_ecore_thread_global_hash_mutex);
1661 CDW(_ecore_thread_global_hash_cond, _ecore_thread_global_hash_mutex, &t); 1625 CDW(_ecore_thread_global_hash_cond, tm);
1662 LKU(_ecore_thread_global_hash_mutex); 1626 LKU(_ecore_thread_global_hash_mutex);
1663 } 1627 }
1664 if (ret) return ret->data; 1628 if (ret) return ret->data;
diff --git a/libraries/ecore/src/lib/ecore/ecore_time.c b/libraries/ecore/src/lib/ecore/ecore_time.c
index 8e7611b..0eeb1d6 100644
--- a/libraries/ecore/src/lib/ecore/ecore_time.c
+++ b/libraries/ecore/src/lib/ecore/ecore_time.c
@@ -21,7 +21,7 @@
21 21
22#include <time.h> 22#include <time.h>
23 23
24#ifdef HAVE_CLOCK_GETTIME 24#if defined (HAVE_CLOCK_GETTIME) || defined (EXOTIC_PROVIDE_CLOCK_GETTIME)
25static clockid_t _ecore_time_clock_id = -1; 25static clockid_t _ecore_time_clock_id = -1;
26#elif defined(__APPLE__) && defined(__MACH__) 26#elif defined(__APPLE__) && defined(__MACH__)
27static double _ecore_time_clock_conversion = 1e-9; 27static double _ecore_time_clock_conversion = 1e-9;
@@ -52,7 +52,7 @@ double _ecore_time_loop_time = -1.0;
52EAPI double 52EAPI double
53ecore_time_get(void) 53ecore_time_get(void)
54{ 54{
55#ifdef HAVE_CLOCK_GETTIME 55#if defined (HAVE_CLOCK_GETTIME) || defined (EXOTIC_PROVIDE_CLOCK_GETTIME)
56 struct timespec t; 56 struct timespec t;
57 57
58 if (EINA_UNLIKELY(_ecore_time_clock_id < 0)) 58 if (EINA_UNLIKELY(_ecore_time_clock_id < 0))
@@ -136,7 +136,7 @@ ecore_loop_time_get(void)
136void 136void
137_ecore_time_init(void) 137_ecore_time_init(void)
138{ 138{
139#ifdef HAVE_CLOCK_GETTIME 139#if defined (HAVE_CLOCK_GETTIME) || defined (EXOTIC_PROVIDE_CLOCK_GETTIME)
140 struct timespec t; 140 struct timespec t;
141 141
142 if (_ecore_time_clock_id != -1) return; 142 if (_ecore_time_clock_id != -1) return;
diff --git a/libraries/ecore/src/lib/ecore/ecore_timer.c b/libraries/ecore/src/lib/ecore/ecore_timer.c
index cc19e3f..d76733b 100644
--- a/libraries/ecore/src/lib/ecore/ecore_timer.c
+++ b/libraries/ecore/src/lib/ecore/ecore_timer.c
@@ -56,7 +56,7 @@ static double last_check = 0.0;
56static double precision = 10.0 / 1000000.0; 56static double precision = 10.0 / 1000000.0;
57 57
58/** 58/**
59 * @addtogroup Ecore_Time_Group 59 * @addtogroup Ecore_Timer_Group
60 * 60 *
61 * @{ 61 * @{
62 */ 62 */
@@ -73,12 +73,15 @@ ecore_timer_precision_get(void)
73} 73}
74 74
75/** 75/**
76 * Sets the precision to be used by timer infrastructure. 76 * @brief Sets the precision to be used by timer infrastructure.
77 * 77 *
78 * When system calculates time to expire the next timer we'll be able 78 * @param value allowed introduced timeout delay, in seconds.
79 * to delay the timer by the given amount so more timers will fit in 79 *
80 * the same dispatch, waking up the system less often and thus being 80 * This sets the precision for @b all timers. The precision determines how much
81 * able to save power. 81 * of an difference from the requested interval is acceptable. One common reason
82 * to use this function is to @b increase the allowed timeout and thus @b
83 * decrease precision of the timers, this is because less precise the timers
84 * result in the system waking up less often and thus consuming less resources.
82 * 85 *
83 * Be aware that kernel may delay delivery even further, these delays 86 * Be aware that kernel may delay delivery even further, these delays
84 * are always possible due other tasks having higher priorities or 87 * are always possible due other tasks having higher priorities or
@@ -93,8 +96,6 @@ ecore_timer_precision_get(void)
93 * @note Ecore is smart enough to see if there are timers in the 96 * @note Ecore is smart enough to see if there are timers in the
94 * precision range, if it does not, in our example if no second timer 97 * precision range, if it does not, in our example if no second timer
95 * in (T + precision) existed, then it would use the minimum timeout. 98 * in (T + precision) existed, then it would use the minimum timeout.
96 *
97 * @param value allowed introduced timeout delay, in seconds.
98 */ 99 */
99EAPI void 100EAPI void
100ecore_timer_precision_set(double value) 101ecore_timer_precision_set(double value)
@@ -322,7 +323,7 @@ ecore_timer_reset(Ecore_Timer *timer)
322 * Get the pending time regarding a timer. 323 * Get the pending time regarding a timer.
323 * 324 *
324 * @param timer The timer to learn from. 325 * @param timer The timer to learn from.
325 * @ingroup Ecore_Time_Group 326 * @ingroup Ecore_Timer_Group
326 */ 327 */
327EAPI double 328EAPI double
328ecore_timer_pending_get(Ecore_Timer *timer) 329ecore_timer_pending_get(Ecore_Timer *timer)
diff --git a/libraries/ecore/src/lib/ecore_cocoa/Makefile.in b/libraries/ecore/src/lib/ecore_cocoa/Makefile.in
index 15ce879..447c3ef 100644
--- a/libraries/ecore/src/lib/ecore_cocoa/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_cocoa/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -192,6 +191,8 @@ EVAS_LIBS = @EVAS_LIBS@
192EVIL_CFLAGS = @EVIL_CFLAGS@ 191EVIL_CFLAGS = @EVIL_CFLAGS@
193EVIL_LIBS = @EVIL_LIBS@ 192EVIL_LIBS = @EVIL_LIBS@
194EXEEXT = @EXEEXT@ 193EXEEXT = @EXEEXT@
194EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
195EXOTIC_LIBS = @EXOTIC_LIBS@
195FGREP = @FGREP@ 196FGREP = @FGREP@
196GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
197GLIB_CFLAGS = @GLIB_CFLAGS@ 198GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -247,6 +248,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
247PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
248PIXMAN_LIBS = @PIXMAN_LIBS@ 249PIXMAN_LIBS = @PIXMAN_LIBS@
249PKG_CONFIG = @PKG_CONFIG@ 250PKG_CONFIG = @PKG_CONFIG@
251PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
252PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
250POSUB = @POSUB@ 253POSUB = @POSUB@
251RANLIB = @RANLIB@ 254RANLIB = @RANLIB@
252SCIM_CFLAGS = @SCIM_CFLAGS@ 255SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -257,6 +260,7 @@ SDL_LIBS = @SDL_LIBS@
257SED = @SED@ 260SED = @SED@
258SET_MAKE = @SET_MAKE@ 261SET_MAKE = @SET_MAKE@
259SHELL = @SHELL@ 262SHELL = @SHELL@
263SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
260SSL_CFLAGS = @SSL_CFLAGS@ 264SSL_CFLAGS = @SSL_CFLAGS@
261SSL_LIBS = @SSL_LIBS@ 265SSL_LIBS = @SSL_LIBS@
262STRIP = @STRIP@ 266STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_con/Ecore_Con.h b/libraries/ecore/src/lib/ecore_con/Ecore_Con.h
index c3af46a..d0ca6f6 100644
--- a/libraries/ecore/src/lib/ecore_con/Ecore_Con.h
+++ b/libraries/ecore/src/lib/ecore_con/Ecore_Con.h
@@ -723,10 +723,13 @@ EAPI Eina_Bool ecore_con_ssl_client_upgrade(Ecore_Con_Client *cl, Ecore_
723 */ 723 */
724 724
725EAPI Ecore_Con_Socks *ecore_con_socks4_remote_add(const char *ip, int port, const char *username); 725EAPI Ecore_Con_Socks *ecore_con_socks4_remote_add(const char *ip, int port, const char *username);
726EAPI void ecore_con_socks4_lookup_set(Ecore_Con_Socks *ecs, Eina_Bool enable);
727EAPI Eina_Bool ecore_con_socks4_lookup_get(Ecore_Con_Socks *ecs);
728EAPI Eina_Bool ecore_con_socks4_remote_exists(const char *ip, int port, const char *username); 726EAPI Eina_Bool ecore_con_socks4_remote_exists(const char *ip, int port, const char *username);
729EAPI void ecore_con_socks4_remote_del(const char *ip, int port, const char *username); 727EAPI void ecore_con_socks4_remote_del(const char *ip, int port, const char *username);
728EAPI Ecore_Con_Socks *ecore_con_socks5_remote_add(const char *ip, int port, const char *username, const char *password);
729EAPI Eina_Bool ecore_con_socks5_remote_exists(const char *ip, int port, const char *username, const char *password);
730EAPI void ecore_con_socks5_remote_del(const char *ip, int port, const char *username, const char *password);
731EAPI void ecore_con_socks_lookup_set(Ecore_Con_Socks *ecs, Eina_Bool enable);
732EAPI Eina_Bool ecore_con_socks_lookup_get(Ecore_Con_Socks *ecs);
730EAPI void ecore_con_socks_bind_set(Ecore_Con_Socks *ecs, Eina_Bool is_bind); 733EAPI void ecore_con_socks_bind_set(Ecore_Con_Socks *ecs, Eina_Bool is_bind);
731EAPI Eina_Bool ecore_con_socks_bind_get(Ecore_Con_Socks *ecs); 734EAPI Eina_Bool ecore_con_socks_bind_get(Ecore_Con_Socks *ecs);
732EAPI unsigned int ecore_con_socks_version_get(Ecore_Con_Socks *ecs); 735EAPI unsigned int ecore_con_socks_version_get(Ecore_Con_Socks *ecs);
@@ -744,8 +747,8 @@ EAPI void ecore_con_socks_apply_always(Ecore_Con_Socks *ecs);
744 * 747 *
745 * Setting up a server is very simple: you just need to start it with 748 * Setting up a server is very simple: you just need to start it with
746 * ecore_con_server_add() and setup some callbacks to the events 749 * ecore_con_server_add() and setup some callbacks to the events
747 * #ECORE_CON_EVENT_CLIENT_ADD, #ECORE_CON_EVENT_CLIENT_DEL and 750 * @ref ECORE_CON_EVENT_CLIENT_ADD, @ref ECORE_CON_EVENT_CLIENT_DEL and
748 * #ECORE_CON_EVENT_CLIENT_DATA, that will be called when a client is 751 * @ref ECORE_CON_EVENT_CLIENT_DATA, that will be called when a client is
749 * communicating with the server: 752 * communicating with the server:
750 * 753 *
751 * @code 754 * @code
@@ -867,8 +870,8 @@ EAPI Ecore_Con_Server *ecore_con_server_add(Ecore_Con_Type type,
867 * 870 *
868 * However, even if this call returns a valid @ref Ecore_Con_Server, the 871 * However, even if this call returns a valid @ref Ecore_Con_Server, the
869 * connection will only be successfully completed if an event of type 872 * connection will only be successfully completed if an event of type
870 * #ECORE_CON_EVENT_SERVER_ADD is received. If it fails to complete, an 873 * @ref ECORE_CON_EVENT_SERVER_ADD is received. If it fails to complete, an
871 * #ECORE_CON_EVENT_SERVER_DEL will be received. 874 * @ref ECORE_CON_EVENT_SERVER_DEL will be received.
872 * 875 *
873 * The @p data parameter can be fetched later using ecore_con_server_data_get() 876 * The @p data parameter can be fetched later using ecore_con_server_data_get()
874 * or changed with ecore_con_server_data_set(). 877 * or changed with ecore_con_server_data_set().
@@ -1335,6 +1338,35 @@ typedef enum _Ecore_Con_Url_Time
1335} Ecore_Con_Url_Time; 1338} Ecore_Con_Url_Time;
1336 1339
1337/** 1340/**
1341 * @typedef Ecore_Con_Url_Http_Version
1342 * @enum _Ecore_Con_Url_Http_Version
1343 * The http version to use
1344 * @since 1.2
1345 */
1346typedef enum _Ecore_Con_Url_Http_Version
1347{
1348 /**
1349 * HTTP version 1.0
1350 * @since 1.2
1351 */
1352 ECORE_CON_URL_HTTP_VERSION_1_0,
1353 /**
1354 * HTTP version 1.1 (default)
1355 * @since 1.2
1356 */
1357 ECORE_CON_URL_HTTP_VERSION_1_1
1358} Ecore_Con_Url_Http_Version;
1359
1360/**
1361 * Change the HTTP version used for the request
1362 * @param version The version to be used
1363 * @return EINA_TRUE on success, EINA_FALSE on failure to change version
1364 * @since 1.2
1365 * @see ecore_con_url_pipeline_get()
1366 */
1367EAPI Eina_Bool ecore_con_url_http_version_set(Ecore_Con_Url *url_con, Ecore_Con_Url_Http_Version version);
1368
1369/**
1338 * Initialises the Ecore_Con_Url library. 1370 * Initialises the Ecore_Con_Url library.
1339 * @return Number of times the library has been initialised without being 1371 * @return Number of times the library has been initialised without being
1340 * shut down. 1372 * shut down.
@@ -1554,33 +1586,6 @@ EAPI Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
1554 const char *password, 1586 const char *password,
1555 Eina_Bool safe); 1587 Eina_Bool safe);
1556/** 1588/**
1557 * Sends a request.
1558 *
1559 * @param url_con Connection object to perform a request on, previously created
1560 * with ecore_con_url_new() or ecore_con_url_custom_new().
1561 * @param data Payload (data sent on the request)
1562 * @param length Payload length. If @c -1, rely on automatic length
1563 * calculation via @c strlen() on @p data.
1564 * @param content_type Content type of the payload (e.g. text/xml)
1565 *
1566 * @return #EINA_TRUE on success, #EINA_FALSE on error.
1567 *
1568 * @see ecore_con_url_custom_new()
1569 * @see ecore_con_url_additional_headers_clear()
1570 * @see ecore_con_url_additional_header_add()
1571 * @see ecore_con_url_data_set()
1572 * @see ecore_con_url_data_get()
1573 * @see ecore_con_url_response_headers_get()
1574 * @see ecore_con_url_time()
1575 * @see ecore_con_url_get()
1576 * @see ecore_con_url_post()
1577 *
1578 * @deprecated Use ecore_con_url_post() instead of this.
1579 */
1580EINA_DEPRECATED EAPI Eina_Bool ecore_con_url_send(Ecore_Con_Url *url_con,
1581 const void *data, long length,
1582 const char *content_type);
1583/**
1584 * Sends a get request. 1589 * Sends a get request.
1585 * 1590 *
1586 * @param url_con Connection object to perform a request on, previously created 1591 * @param url_con Connection object to perform a request on, previously created
@@ -1913,6 +1918,16 @@ EAPI Eina_Bool ecore_con_url_proxy_password_set(Ecore_Con_Url *url_con, const ch
1913EAPI void ecore_con_url_timeout_set(Ecore_Con_Url *url_con, double timeout); 1918EAPI void ecore_con_url_timeout_set(Ecore_Con_Url *url_con, double timeout);
1914 1919
1915/** 1920/**
1921 * Get the returned HTTP STATUS code
1922 *
1923 * This is used to, at any time, try to return the status code for a transmission.
1924 * @param url_con Connection object
1925 * @return A valid HTTP STATUS code, or 0 on failure
1926 *
1927 * @since 1.2
1928 */
1929EAPI int ecore_con_url_status_code_get(Ecore_Con_Url *url_con);
1930/**
1916 * @} 1931 * @}
1917 */ 1932 */
1918 1933
diff --git a/libraries/ecore/src/lib/ecore_con/Makefile.in b/libraries/ecore/src/lib/ecore_con/Makefile.in
index 58811da..c35b08e 100644
--- a/libraries/ecore/src/lib/ecore_con/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_con/Makefile.in
@@ -54,16 +54,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
54 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 54 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
55 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 55 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
56 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 56 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
57 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 57 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
58 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 58 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
59 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 59 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
60 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 60 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
61 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 61 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
62 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 62 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
63 $(top_srcdir)/configure.ac
64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 63am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65 $(ACLOCAL_M4) 64 $(ACLOCAL_M4)
66mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 65mkinstalldirs = $(install_sh) -d
67CONFIG_HEADER = $(top_builddir)/config.h 66CONFIG_HEADER = $(top_builddir)/config.h
68CONFIG_CLEAN_FILES = 67CONFIG_CLEAN_FILES =
69CONFIG_CLEAN_VPATH_FILES = 68CONFIG_CLEAN_VPATH_FILES =
@@ -210,6 +209,8 @@ EVAS_LIBS = @EVAS_LIBS@
210EVIL_CFLAGS = @EVIL_CFLAGS@ 209EVIL_CFLAGS = @EVIL_CFLAGS@
211EVIL_LIBS = @EVIL_LIBS@ 210EVIL_LIBS = @EVIL_LIBS@
212EXEEXT = @EXEEXT@ 211EXEEXT = @EXEEXT@
212EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
213EXOTIC_LIBS = @EXOTIC_LIBS@
213FGREP = @FGREP@ 214FGREP = @FGREP@
214GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 215GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
215GLIB_CFLAGS = @GLIB_CFLAGS@ 216GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -265,6 +266,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
265PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 266PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
266PIXMAN_LIBS = @PIXMAN_LIBS@ 267PIXMAN_LIBS = @PIXMAN_LIBS@
267PKG_CONFIG = @PKG_CONFIG@ 268PKG_CONFIG = @PKG_CONFIG@
269PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
270PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
268POSUB = @POSUB@ 271POSUB = @POSUB@
269RANLIB = @RANLIB@ 272RANLIB = @RANLIB@
270SCIM_CFLAGS = @SCIM_CFLAGS@ 273SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -275,6 +278,7 @@ SDL_LIBS = @SDL_LIBS@
275SED = @SED@ 278SED = @SED@
276SET_MAKE = @SET_MAKE@ 279SET_MAKE = @SET_MAKE@
277SHELL = @SHELL@ 280SHELL = @SHELL@
281SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
278SSL_CFLAGS = @SSL_CFLAGS@ 282SSL_CFLAGS = @SSL_CFLAGS@
279SSL_LIBS = @SSL_LIBS@ 283SSL_LIBS = @SSL_LIBS@
280STRIP = @STRIP@ 284STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_con/ecore_con.c b/libraries/ecore/src/lib/ecore_con/ecore_con.c
index de291b3..fe83478 100644
--- a/libraries/ecore/src/lib/ecore_con/ecore_con.c
+++ b/libraries/ecore/src/lib/ecore_con/ecore_con.c
@@ -110,7 +110,10 @@ _ecore_con_client_kill(Ecore_Con_Client *cl)
110 if (cl->delete_me) 110 if (cl->delete_me)
111 DBG("Multi kill request for client %p", cl); 111 DBG("Multi kill request for client %p", cl);
112 else 112 else
113 ecore_con_event_client_del(cl); 113 {
114 ecore_con_event_client_del(cl);
115 if (cl->buf) return;
116 }
114 INF("Lost client %s", (cl->ip) ? cl->ip : ""); 117 INF("Lost client %s", (cl->ip) ? cl->ip : "");
115 if (cl->fd_handler) 118 if (cl->fd_handler)
116 ecore_main_fd_handler_del(cl->fd_handler); 119 ecore_main_fd_handler_del(cl->fd_handler);
@@ -461,7 +464,7 @@ ecore_con_server_connect(Ecore_Con_Type compl_type,
461 (!ecore_con_lookup(svr->name, (Ecore_Con_Dns_Cb)ecore_con_socks_dns_cb, svr))) 464 (!ecore_con_lookup(svr->name, (Ecore_Con_Dns_Cb)ecore_con_socks_dns_cb, svr)))
462 goto error; 465 goto error;
463 if (svr->ecs->lookup) 466 if (svr->ecs->lookup)
464 svr->ecs_state = ECORE_CON_SOCKS_STATE_RESOLVED; 467 svr->ecs_state = ECORE_CON_PROXY_STATE_RESOLVED;
465 } 468 }
466 } 469 }
467 if (ecore_con_ssl_server_prepare(svr, compl_type & ECORE_CON_SSL)) 470 if (ecore_con_ssl_server_prepare(svr, compl_type & ECORE_CON_SSL))
@@ -1031,7 +1034,7 @@ ecore_con_event_server_del(Ecore_Con_Server *svr)
1031 e->server = svr; 1034 e->server = svr;
1032 if (svr->ecs) 1035 if (svr->ecs)
1033 { 1036 {
1034 svr->ecs_state = svr->ecs->lookup ? ECORE_CON_SOCKS_STATE_RESOLVED : ECORE_CON_SOCKS_STATE_DONE; 1037 svr->ecs_state = svr->ecs->lookup ? ECORE_CON_PROXY_STATE_RESOLVED : ECORE_CON_PROXY_STATE_DONE;
1035 eina_stringshare_replace(&svr->proxyip, NULL); 1038 eina_stringshare_replace(&svr->proxyip, NULL);
1036 svr->proxyport = 0; 1039 svr->proxyport = 0;
1037 } 1040 }
@@ -1320,7 +1323,7 @@ _ecore_con_client_free(Ecore_Con_Client *cl)
1320 if (cl->event_count) return; 1323 if (cl->event_count) return;
1321 ECORE_MAGIC_SET(cl, ECORE_MAGIC_NONE); 1324 ECORE_MAGIC_SET(cl, ECORE_MAGIC_NONE);
1322 1325
1323 free(cl->buf); 1326 if (cl->buf) eina_binbuf_free(cl->buf);
1324 1327
1325 if (cl->host_server->type & ECORE_CON_SSL) 1328 if (cl->host_server->type & ECORE_CON_SSL)
1326 ecore_con_ssl_client_shutdown(cl); 1329 ecore_con_ssl_client_shutdown(cl);
@@ -1736,7 +1739,7 @@ svr_try_connect_plain(Ecore_Con_Server *svr)
1736 if (so_err) 1739 if (so_err)
1737 { 1740 {
1738 /* we lost our server! */ 1741 /* we lost our server! */
1739 ecore_con_event_server_error(svr, strerror(errno)); 1742 ecore_con_event_server_error(svr, strerror(so_err));
1740 ERR("Connection lost: %s", strerror(so_err)); 1743 ERR("Connection lost: %s", strerror(so_err));
1741 _ecore_con_server_kill(svr); 1744 _ecore_con_server_kill(svr);
1742 return ECORE_CON_DISCONNECTED; 1745 return ECORE_CON_DISCONNECTED;
@@ -1971,9 +1974,9 @@ _ecore_con_cl_handler(void *data,
1971 ecore_con_event_server_add(svr); 1974 ecore_con_event_server_add(svr);
1972 return ECORE_CALLBACK_RENEW; 1975 return ECORE_CALLBACK_RENEW;
1973 } 1976 }
1974 if (svr->ecs && svr->ecs_state && (svr->ecs_state < ECORE_CON_SOCKS_STATE_READ) && (!svr->ecs_buf)) 1977 if (svr->ecs && svr->ecs_state && (svr->ecs_state < ECORE_CON_PROXY_STATE_READ) && (!svr->ecs_buf))
1975 { 1978 {
1976 if (svr->ecs_state < ECORE_CON_SOCKS_STATE_INIT) 1979 if (svr->ecs_state < ECORE_CON_PROXY_STATE_INIT)
1977 { 1980 {
1978 INF("PROXY STATE++"); 1981 INF("PROXY STATE++");
1979 svr->ecs_state++; 1982 svr->ecs_state++;
@@ -2271,7 +2274,7 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
2271static void 2274static void
2272_ecore_con_client_flush(Ecore_Con_Client *cl) 2275_ecore_con_client_flush(Ecore_Con_Client *cl)
2273{ 2276{
2274 int num, count = 0; 2277 int num = 0, count = 0;
2275 2278
2276#ifdef _WIN32 2279#ifdef _WIN32
2277 if (ecore_con_local_win32_client_flush(cl)) 2280 if (ecore_con_local_win32_client_flush(cl))
@@ -2314,7 +2317,7 @@ _ecore_con_client_flush(Ecore_Con_Client *cl)
2314 } 2317 }
2315 2318
2316 if (count) ecore_con_event_client_write(cl, count); 2319 if (count) ecore_con_event_client_write(cl, count);
2317 cl->buf_offset += count; 2320 cl->buf_offset += count, num -= count;
2318 if (cl->buf_offset >= eina_binbuf_length_get(cl->buf)) 2321 if (cl->buf_offset >= eina_binbuf_length_get(cl->buf))
2319 { 2322 {
2320 cl->buf_offset = 0; 2323 cl->buf_offset = 0;
@@ -2332,7 +2335,7 @@ _ecore_con_client_flush(Ecore_Con_Client *cl)
2332 if (cl->fd_handler) 2335 if (cl->fd_handler)
2333 ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_READ); 2336 ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_READ);
2334 } 2337 }
2335 else if ((count < num) && cl->fd_handler) 2338 else if (cl->fd_handler && (num >= 0))
2336 ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_WRITE); 2339 ecore_main_fd_handler_active_set(cl->fd_handler, ECORE_FD_WRITE);
2337} 2340}
2338 2341
diff --git a/libraries/ecore/src/lib/ecore_con/ecore_con_private.h b/libraries/ecore/src/lib/ecore_con/ecore_con_private.h
index 35f2310..91f5d39 100644
--- a/libraries/ecore/src/lib/ecore_con/ecore_con_private.h
+++ b/libraries/ecore/src/lib/ecore_con/ecore_con_private.h
@@ -56,7 +56,7 @@ extern int _ecore_con_log_dom;
56 56
57typedef struct _Ecore_Con_Lookup Ecore_Con_Lookup; 57typedef struct _Ecore_Con_Lookup Ecore_Con_Lookup;
58typedef struct _Ecore_Con_Info Ecore_Con_Info; 58typedef struct _Ecore_Con_Info Ecore_Con_Info;
59typedef struct Ecore_Con_Socks_v4 Ecore_Con_Socks_v4; 59typedef struct Ecore_Con_Socks Ecore_Con_Socks_v4;
60typedef struct Ecore_Con_Socks_v5 Ecore_Con_Socks_v5; 60typedef struct Ecore_Con_Socks_v5 Ecore_Con_Socks_v5;
61typedef void (*Ecore_Con_Info_Cb)(void *data, Ecore_Con_Info *infos); 61typedef void (*Ecore_Con_Info_Cb)(void *data, Ecore_Con_Info *infos);
62 62
@@ -83,13 +83,18 @@ typedef enum _Ecore_Con_Ssl_Handshake
83 ECORE_CON_SSL_STATE_INIT 83 ECORE_CON_SSL_STATE_INIT
84} Ecore_Con_Ssl_State; 84} Ecore_Con_Ssl_State;
85 85
86typedef enum Ecore_Con_Socks_State 86typedef enum Ecore_Con_Proxy_State
87{ 87{ /* named PROXY instead of SOCKS in case some handsome and enterprising
88 ECORE_CON_SOCKS_STATE_DONE = 0, 88 * developer decides to add HTTP CONNECT support
89 ECORE_CON_SOCKS_STATE_RESOLVED, 89 */
90 ECORE_CON_SOCKS_STATE_INIT, 90 ECORE_CON_PROXY_STATE_DONE = 0,
91 ECORE_CON_SOCKS_STATE_READ 91 ECORE_CON_PROXY_STATE_RESOLVED,
92} Ecore_Con_Socks_State; 92 ECORE_CON_PROXY_STATE_INIT,
93 ECORE_CON_PROXY_STATE_READ,
94 ECORE_CON_PROXY_STATE_AUTH,
95 ECORE_CON_PROXY_STATE_REQUEST,
96 ECORE_CON_PROXY_STATE_CONFIRM,
97} Ecore_Con_Proxy_State;
93 98
94struct _Ecore_Con_Client 99struct _Ecore_Con_Client
95{ 100{
@@ -140,7 +145,7 @@ struct _Ecore_Con_Server
140 pid_t ppid; 145 pid_t ppid;
141 /* socks */ 146 /* socks */
142 Ecore_Con_Socks *ecs; 147 Ecore_Con_Socks *ecs;
143 Ecore_Con_Socks_State ecs_state; 148 Ecore_Con_Proxy_State ecs_state;
144 int ecs_addrlen; 149 int ecs_addrlen;
145 unsigned char ecs_addr[16]; 150 unsigned char ecs_addr[16];
146 unsigned int ecs_buf_offset; 151 unsigned int ecs_buf_offset;
@@ -202,6 +207,7 @@ struct _Ecore_Con_Url
202 Eina_List *response_headers; 207 Eina_List *response_headers;
203 const char *url; 208 const char *url;
204 long proxy_type; 209 long proxy_type;
210 int status;
205 211
206 Ecore_Timer *timer; 212 Ecore_Timer *timer;
207 213
@@ -213,6 +219,10 @@ struct _Ecore_Con_Url
213 219
214 int received; 220 int received;
215 int write_fd; 221 int write_fd;
222
223 unsigned int event_count;
224 Eina_Bool dead : 1;
225 Eina_Bool multi : 1;
216}; 226};
217#endif 227#endif
218 228
@@ -239,24 +249,14 @@ struct _Ecore_Con_Lookup
239 v5 = (Ecore_Con_Socks_v5*)(X); \ 249 v5 = (Ecore_Con_Socks_v5*)(X); \
240 else 250 else
241 251
242struct Ecore_Con_Socks 252struct Ecore_Con_Socks /* v4 */
243{
244 unsigned char version;
245
246 const char *ip;
247 int port;
248 const char *username;
249 Eina_Bool lookup : 1;
250 Eina_Bool bind : 1;
251};
252
253struct Ecore_Con_Socks_v4
254{ 253{
255 unsigned char version; 254 unsigned char version;
256 255
257 const char *ip; 256 const char *ip;
258 int port; 257 int port;
259 const char *username; 258 const char *username;
259 unsigned int ulen;
260 Eina_Bool lookup : 1; 260 Eina_Bool lookup : 1;
261 Eina_Bool bind : 1; 261 Eina_Bool bind : 1;
262}; 262};
@@ -268,8 +268,13 @@ struct Ecore_Con_Socks_v5
268 const char *ip; 268 const char *ip;
269 int port; 269 int port;
270 const char *username; 270 const char *username;
271 unsigned int ulen;
271 Eina_Bool lookup : 1; 272 Eina_Bool lookup : 1;
272 Eina_Bool bind : 1; 273 Eina_Bool bind : 1;
274 /* v5 only */
275 unsigned char method;
276 const char *password;
277 unsigned int plen;
273}; 278};
274 279
275extern Ecore_Con_Socks *_ecore_con_proxy_once; 280extern Ecore_Con_Socks *_ecore_con_proxy_once;
diff --git a/libraries/ecore/src/lib/ecore_con/ecore_con_socks.c b/libraries/ecore/src/lib/ecore_con/ecore_con_socks.c
index aecaff0..686f73b 100644
--- a/libraries/ecore/src/lib/ecore_con/ecore_con_socks.c
+++ b/libraries/ecore/src/lib/ecore_con/ecore_con_socks.c
@@ -10,6 +10,10 @@
10#include <unistd.h> 10#include <unistd.h>
11#include <fcntl.h> 11#include <fcntl.h>
12 12
13#ifdef HAVE_SYS_SOCKET_H
14# include <sys/socket.h>
15#endif
16
13#ifdef HAVE_NETINET_TCP_H 17#ifdef HAVE_NETINET_TCP_H
14# include <netinet/tcp.h> 18# include <netinet/tcp.h>
15#endif 19#endif
@@ -36,10 +40,6 @@
36# include <arpa/inet.h> 40# include <arpa/inet.h>
37#endif 41#endif
38 42
39#ifdef HAVE_SYS_SOCKET_H
40# include <sys/socket.h>
41#endif
42
43#ifdef HAVE_SYS_UN_H 43#ifdef HAVE_SYS_UN_H
44# include <sys/un.h> 44# include <sys/un.h>
45#endif 45#endif
@@ -57,6 +57,27 @@
57#include "Ecore_Con.h" 57#include "Ecore_Con.h"
58#include "ecore_con_private.h" 58#include "ecore_con_private.h"
59 59
60/* http://tools.ietf.org/html/rfc1928
61 o X'00' NO AUTHENTICATION REQUIRED
62 o X'01' GSSAPI
63 o X'02' USERNAME/PASSWORD
64 o X'03' to X'7F' IANA ASSIGNED
65 o X'80' to X'FE' RESERVED FOR PRIVATE METHODS
66 o X'FF' NO ACCEPTABLE METHODS
67*/
68#define ECORE_CON_SOCKS_V5_METHOD_NONE 0
69#define ECORE_CON_SOCKS_V5_METHOD_GSSAPI 1
70#define ECORE_CON_SOCKS_V5_METHOD_USERPASS 2
71
72static int ECORE_CON_SOCKS_V5_METHODS[] =
73{
74 ECORE_CON_SOCKS_V5_METHOD_NONE,
75// ECORE_CON_SOCKS_V5_METHOD_GSSAPI, TODO
76 ECORE_CON_SOCKS_V5_METHOD_USERPASS
77};
78
79#define ECORE_CON_SOCKS_V5_TOTAL_METHODS sizeof(ECORE_CON_SOCKS_V5_METHODS)
80
60#define _ecore_con_server_kill(svr) do { \ 81#define _ecore_con_server_kill(svr) do { \
61 DBG("KILL %p", (svr)); \ 82 DBG("KILL %p", (svr)); \
62 _ecore_con_server_kill((svr)); \ 83 _ecore_con_server_kill((svr)); \
@@ -65,10 +86,10 @@
65Eina_List *ecore_con_socks_proxies = NULL; 86Eina_List *ecore_con_socks_proxies = NULL;
66 87
67static Ecore_Con_Socks * 88static Ecore_Con_Socks *
68_ecore_con_socks_find(unsigned char version, const char *ip, int port, const char *username) 89_ecore_con_socks_find(unsigned char version, const char *ip, int port, const char *username, size_t ulen, const char *password, size_t plen)
69{ 90{
70 Eina_List *l; 91 Eina_List *l;
71 Ecore_Con_Socks *ecs; 92 Ecore_Con_Socks_v5 *ecs;
72 93
73 if (!ecore_con_socks_proxies) return NULL; 94 if (!ecore_con_socks_proxies) return NULL;
74 95
@@ -77,8 +98,14 @@ _ecore_con_socks_find(unsigned char version, const char *ip, int port, const cha
77 if (ecs->version != version) continue; 98 if (ecs->version != version) continue;
78 if (strcmp(ecs->ip, ip)) continue; 99 if (strcmp(ecs->ip, ip)) continue;
79 if ((port != -1) && (port != ecs->port)) continue; 100 if ((port != -1) && (port != ecs->port)) continue;
101 if (ulen != ecs->ulen) continue;
80 if (username && strcmp(ecs->username, username)) continue; 102 if (username && strcmp(ecs->username, username)) continue;
81 return ecs; 103 if (version == 5)
104 {
105 if (plen != ecs->plen) continue;
106 if (password && strcmp(ecs->password, password)) continue;
107 }
108 return (Ecore_Con_Socks*)ecs;
82 } 109 }
83 return NULL; 110 return NULL;
84} 111}
@@ -94,146 +121,424 @@ _ecore_con_socks_free(Ecore_Con_Socks *ecs)
94 eina_stringshare_del(ecs->username); 121 eina_stringshare_del(ecs->username);
95 free(ecs); 122 free(ecs);
96} 123}
97///////////////////////////////////////////////////////////////////////////////////// 124
98void 125static Eina_Bool
99ecore_con_socks_shutdown(void) 126_ecore_con_socks_svr_init_v4(Ecore_Con_Server *svr, Ecore_Con_Socks_v4 *v4)
100{ 127{
101 Ecore_Con_Socks *ecs; 128 size_t addrlen, buflen, ulen = 1;
102 EINA_LIST_FREE(ecore_con_socks_proxies, ecs) 129 unsigned char *sbuf;
103 _ecore_con_socks_free(ecs); 130
104 _ecore_con_proxy_once = NULL; 131 addrlen = v4->lookup ? strlen(svr->name) + 1 : 0;
105 _ecore_con_proxy_global = NULL; 132 if (v4->username) ulen += v4->ulen;
133 buflen = sizeof(char) * (8 + ulen + addrlen);
134 sbuf = malloc(buflen);
135 if (!sbuf)
136 {
137 ecore_con_event_server_error(svr, "Memory allocation failure!");
138 _ecore_con_server_kill(svr);
139 return EINA_FALSE;
140 }
141 /* http://en.wikipedia.org/wiki/SOCKS */
142 sbuf[0] = 4;
143 sbuf[1] = v4->bind ? 2 : 1;
144 sbuf[2] = svr->port >> 8;
145 sbuf[3] = svr->port & 0xff;
146 if (addrlen)
147 {
148 sbuf[4] = sbuf[5] = sbuf[6] = 0;
149 sbuf[7] = 1;
150 }
151 else
152 /* SOCKSv4 only handles IPV4, so addrlen is always 4 */
153 memcpy(sbuf + 4, svr->ecs_addr, 4);
154 if (v4->username)
155 memcpy(sbuf + 8, v4->username, ulen);
156 else
157 sbuf[8] = 0;
158 if (addrlen) memcpy(sbuf + 8 + ulen, svr->name, addrlen);
159
160 svr->ecs_buf = eina_binbuf_manage_new_length(sbuf, buflen);
161 return EINA_TRUE;
106} 162}
107 163
108void 164static Eina_Bool
109ecore_con_socks_read(Ecore_Con_Server *svr, unsigned char *buf, int num) 165_ecore_con_socks_svr_init_v5(Ecore_Con_Server *svr, Ecore_Con_Socks_v5 *v5)
166{
167 size_t buflen;
168 unsigned int x;
169 unsigned char *sbuf;
170
171 if (v5->username)
172 buflen = sizeof(char) * (2 + ECORE_CON_SOCKS_V5_TOTAL_METHODS);
173 else
174 buflen = 3;
175 sbuf = malloc(buflen);
176 if (!sbuf)
177 {
178 ecore_con_event_server_error(svr, "Memory allocation failure!");
179 _ecore_con_server_kill(svr);
180 return EINA_FALSE;
181 }
182 /* http://en.wikipedia.org/wiki/SOCKS
183 * http://tools.ietf.org/html/rfc1928
184 */
185 sbuf[0] = 5;
186 if (v5->username)
187 {
188 sbuf[1] = ECORE_CON_SOCKS_V5_TOTAL_METHODS;
189 for (x = 2; x < 2 + ECORE_CON_SOCKS_V5_TOTAL_METHODS; x++)
190 sbuf[x] = ECORE_CON_SOCKS_V5_METHODS[x - 2];
191 }
192 else
193 {
194 sbuf[1] = 1;
195 sbuf[2] = ECORE_CON_SOCKS_V5_METHOD_NONE;
196 }
197
198 svr->ecs_buf = eina_binbuf_manage_new_length(sbuf, buflen);
199 return EINA_TRUE;
200}
201
202#define ECORE_CON_SOCKS_READ(EXACT) \
203 if (num < EXACT) \
204 { \
205 if (!svr->ecs_recvbuf) svr->ecs_recvbuf = eina_binbuf_new(); \
206 if (!svr->ecs_recvbuf) goto error; \
207 eina_binbuf_append_length(svr->ecs_recvbuf, buf, num); \
208 /* the slowest connection on earth */ \
209 if (eina_binbuf_length_get(svr->ecs_recvbuf) != EXACT) return; \
210 data = eina_binbuf_string_get(svr->ecs_recvbuf); \
211 } \
212 else if (num > EXACT) goto error; \
213 else \
214 data = buf
215
216static void
217_ecore_con_socks_read_v4(Ecore_Con_Server *svr, Ecore_Con_Socks_v4 *v4 __UNUSED__, const unsigned char *buf, unsigned int num)
110{ 218{
111 const unsigned char *data; 219 const unsigned char *data;
112 ECORE_CON_SOCKS_CAST_ELSE(svr->ecs) return; 220 DBG("SOCKS: %d bytes", num);
221 ECORE_CON_SOCKS_READ(8);
113 222
114 if (svr->ecs_state != ECORE_CON_SOCKS_STATE_READ) return; 223/* http://ufasoft.com/doc/socks4_protocol.htm */
224 if (data[0]) goto error;
225 switch (data[1])
226 {
227 case 90:
228 /* success! */
229 break;
230 case 91:
231 ecore_con_event_server_error(svr, "proxy request rejected or failed");
232 goto error;
233 case 92:
234 ecore_con_event_server_error(svr, "proxying SOCKS server could not perform authentication");
235 goto error;
236 case 93:
237 ecore_con_event_server_error(svr, "proxy request authentication rejected");
238 goto error;
239 default:
240 ecore_con_event_server_error(svr, "garbage data from proxy");
241 goto error;
242 }
243 if (svr->ecs->bind)
244 {
245 unsigned int nport;
246 char naddr[IF_NAMESIZE];
115 247
116 if (v4) 248 memcpy(&nport, &data[2], 2);
249 svr->proxyport = ntohl(nport);
250
251 if (!inet_ntop(AF_INET, &data[4], naddr, sizeof(naddr))) goto error;
252 svr->proxyip = eina_stringshare_add(naddr);
253 ecore_con_event_proxy_bind(svr);
254 }
255 svr->ecs_state = ECORE_CON_PROXY_STATE_DONE;
256 INF("PROXY CONNECTED");
257 if (svr->ecs_recvbuf) eina_binbuf_free(svr->ecs_recvbuf);
258 svr->ecs_recvbuf = NULL;
259 svr->ecs_buf_offset = svr->ecs_addrlen = 0;
260 memset(svr->ecs_addr, 0, sizeof(svr->ecs_addr));
261 if (!svr->ssl_state)
262 ecore_con_event_server_add(svr);
263 if (svr->ssl_state || (svr->buf && eina_binbuf_length_get(svr->buf)))
264 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ | ECORE_FD_WRITE);
265 return;
266error:
267 _ecore_con_server_kill(svr);
268}
269
270static Eina_Bool
271_ecore_con_socks_auth_v5(Ecore_Con_Server *svr, Ecore_Con_Socks_v5 *v5)
272{
273 size_t size;
274 unsigned char *data;
275 switch (v5->method)
276 {
277 case ECORE_CON_SOCKS_V5_METHOD_NONE:
278 svr->ecs_state = ECORE_CON_PROXY_STATE_REQUEST;
279 return EINA_TRUE;
280 case ECORE_CON_SOCKS_V5_METHOD_GSSAPI:
281 return EINA_TRUE;
282 case ECORE_CON_SOCKS_V5_METHOD_USERPASS:
283 if (!v5->username) return EINA_FALSE;
284 if (!v5->password) v5->plen = 1;
285 /* http://tools.ietf.org/html/rfc1929 */
286 size = sizeof(char) * (3 + v5->ulen + v5->plen);
287 data = malloc(size);
288 if (!data) break;
289 data[0] = 1;
290 data[1] = v5->ulen;
291 memcpy(&data[2], v5->username, v5->ulen);
292 data[1 + v5->ulen] = v5->plen;
293 if (v5->password)
294 memcpy(&data[2 + v5->ulen], v5->password, v5->plen);
295 else
296 data[2 + v5->ulen] = 0;
297 svr->ecs_buf = eina_binbuf_manage_new_length(data, size);
298 return EINA_TRUE;
299 default:
300 break;
301 }
302 return EINA_FALSE;
303}
304
305static void
306_ecore_con_socks_read_v5(Ecore_Con_Server *svr, Ecore_Con_Socks_v5 *v5, const unsigned char *buf, unsigned int num)
307{
308 const unsigned char *data;
309
310 DBG("SOCKS: %d bytes", num);
311 switch (svr->ecs_state)
117 { 312 {
118 DBG("SOCKS: %d bytes", num);
119 if (num < 8)
120 {
121 if (!svr->ecs_recvbuf) svr->ecs_recvbuf = eina_binbuf_new();
122 if (!svr->ecs_recvbuf) goto error;
123 eina_binbuf_append_length(svr->ecs_recvbuf, buf, num);
124 /* the slowest connection on earth */
125 if (eina_binbuf_length_get(svr->ecs_recvbuf) != 8) return;
126 data = eina_binbuf_string_get(svr->ecs_recvbuf);
127 }
128 else if (num > 8) goto error;
129 else
130 data = buf;
131 313
132 /* http://ufasoft.com/doc/socks4_protocol.htm */ 314 case ECORE_CON_PROXY_STATE_READ:
133 if (data[0]) goto error; 315 ECORE_CON_SOCKS_READ(2);
134 switch (data[1]) 316 /* http://en.wikipedia.org/wiki/SOCKS */
317 if (data[0] != 5) goto error;
318 if (data[1] == 0xFF)
319 {
320 ecore_con_event_server_error(svr, "proxy authentication methods rejected");
321 goto error;
322 }
323 v5->method = data[1];
324 if (!_ecore_con_socks_auth_v5(svr, v5)) goto error;
325 if (svr->ecs_state == ECORE_CON_PROXY_STATE_REQUEST)
326 {
327 /* run again to skip auth reading */
328 _ecore_con_socks_read_v5(svr, v5, NULL, 0);
329 return;
330 }
331 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_WRITE);
332 svr->ecs_state = ECORE_CON_PROXY_STATE_AUTH;
333 break;
334 case ECORE_CON_PROXY_STATE_AUTH:
335 ECORE_CON_SOCKS_READ(2);
336 switch (v5->method)
337 {
338 case ECORE_CON_SOCKS_V5_METHOD_NONE:
339 CRIT("HOW DID THIS HAPPEN?????????");
340 goto error;
341 case ECORE_CON_SOCKS_V5_METHOD_GSSAPI:
342 /* TODO: this */
343 break;
344 case ECORE_CON_SOCKS_V5_METHOD_USERPASS:
345 if (data[0] != 1)
346 {
347 ecore_con_event_server_error(svr, "protocol error");
348 goto error; /* wrong version */
349 }
350 if (data[1])
351 {
352 ecore_con_event_server_error(svr, "proxy request authentication rejected");
353 goto error;
354 }
355 default:
356 break;
357 }
358 case ECORE_CON_PROXY_STATE_REQUEST:
135 { 359 {
136 case 90: 360 size_t addrlen, buflen;
137 /* success! */ 361 unsigned char *sbuf;
138 break; 362 addrlen = v5->lookup ? strlen(svr->name) + 1 : (unsigned int)svr->ecs_addrlen;
139 case 91: 363 buflen = sizeof(char) * (6 + addrlen);
140 ecore_con_event_server_error(svr, "proxy request rejected or failed"); 364 sbuf = malloc(buflen);
141 goto error; 365 if (!sbuf)
142 case 92: 366 {
143 ecore_con_event_server_error(svr, "proxying SOCKS server could not perform authentication"); 367 ecore_con_event_server_error(svr, "Memory allocation failure!");
144 goto error; 368 goto error;
145 case 93: 369 }
146 ecore_con_event_server_error(svr, "proxy request authentication rejected"); 370 sbuf[0] = 5;
147 goto error; 371 sbuf[1] = v5->bind ? 2 : 1; /* TODO: 0x03 for UDP port association */
148 default: 372 sbuf[2] = 0;
149 ecore_con_event_server_error(svr, "garbage data from proxy"); 373 if (v5->lookup) /* domain name */
150 goto error; 374 {
375 sbuf[3] = 3;
376 sbuf[4] = addrlen - 1;
377 memcpy(sbuf + 5, svr->name, addrlen - 1);
378 }
379 else
380 {
381 sbuf[3] = (svr->ecs_addrlen == 4) ? 1 : 4;
382 memcpy(sbuf + 4, svr->ecs_addr, addrlen);
383 }
384 sbuf[addrlen + 4] = svr->port >> 8;
385 sbuf[addrlen + 5] = svr->port & 0xff;
386
387 svr->ecs_buf = eina_binbuf_manage_new_length(sbuf, buflen);
388 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_WRITE);
389 break;
151 } 390 }
152 if (svr->ecs->bind) 391 case ECORE_CON_PROXY_STATE_CONFIRM:
153 { 392 {
154 unsigned int nport; 393 /* this is ugly because we have to read an exact number of bytes,
155 char naddr[IF_NAMESIZE]; 394 * but we don't know what that number is until we've already read
156 395 * at least 5 bytes to determine the length of the unknown stream.
157 memcpy(&nport, &data[2], 2); 396 * yep.
158 svr->proxyport = ntohl(nport); 397 */
159 398 size_t to_read, len = svr->ecs_recvbuf ? eina_binbuf_length_get(svr->ecs_recvbuf) : 0;
160 if (!inet_ntop(AF_INET, &data[4], naddr, sizeof(naddr))) goto error; 399 if (num + len < 5)
161 svr->proxyip = eina_stringshare_add(naddr); 400 {
162 ecore_con_event_proxy_bind(svr); 401 /* guarantees we get called again */
402 ECORE_CON_SOCKS_READ(5);
403 }
404 if (len >= 5)
405 {
406 data = eina_binbuf_string_get(svr->ecs_recvbuf);
407 data += 3;
408 }
409 else
410 data = buf + 3 - len;
411 switch (data[0])
412 {
413 case 1:
414 to_read = 4;
415 break;
416 case 3:
417 to_read = data[1] + 1;
418 break;
419 case 4:
420 to_read = 16;
421 /* lazy debugging stub comment */
422 break;
423 default:
424 ecore_con_event_server_error(svr, "protocol error");
425 goto error;
426 }
427 /* at this point, we finally know exactly how much we need to read */
428 ECORE_CON_SOCKS_READ(6 + to_read);
429
430 if (data[0] != 5)
431 {
432 ecore_con_event_server_error(svr, "protocol error");
433 goto error; /* wrong version */
434 }
435 switch (data[1])
436 {
437 case 0:
438 break;
439 case 1:
440 ecore_con_event_server_error(svr, "general proxy failure");
441 goto error;
442 case 2:
443 ecore_con_event_server_error(svr, "connection not allowed by ruleset");
444 goto error;
445 case 3:
446 ecore_con_event_server_error(svr, "network unreachable");
447 goto error;
448 case 4:
449 ecore_con_event_server_error(svr, "host unreachable");
450 goto error;
451 case 5:
452 ecore_con_event_server_error(svr, "connection refused by destination host");
453 goto error;
454 case 6:
455 ecore_con_event_server_error(svr, "TTL expired");
456 goto error;
457 case 7:
458 ecore_con_event_server_error(svr, "command not supported / protocol error");
459 goto error;
460 case 8:
461 ecore_con_event_server_error(svr, "address type not supported");
462 default:
463 goto error;
464 }
465 if (data[2])
466 {
467 ecore_con_event_server_error(svr, "protocol error");
468 goto error;
469 }
470 memset(svr->ecs_addr, 0, sizeof(svr->ecs_addr));
471 if (!svr->ssl_state)
472 ecore_con_event_server_add(svr);
473 if (svr->ssl_state || (svr->buf && eina_binbuf_length_get(svr->buf)))
474 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ | ECORE_FD_WRITE);
475 svr->ecs_buf_offset = svr->ecs_addrlen = 0;
476 svr->ecs_state = ECORE_CON_PROXY_STATE_DONE;
477 INF("PROXY CONNECTED");
478 break;
163 } 479 }
164 svr->ecs_state = ECORE_CON_SOCKS_STATE_DONE; 480 default:
165 INF("PROXY CONNECTED"); 481 break;
166 if (svr->ecs_recvbuf) eina_binbuf_free(svr->ecs_recvbuf);
167 svr->ecs_recvbuf = NULL;
168 svr->ecs_buf_offset = svr->ecs_addrlen = 0;
169 memset(svr->ecs_addr, 0, sizeof(svr->ecs_addr));
170 if (!svr->ssl_state)
171 ecore_con_event_server_add(svr);
172 if (svr->ssl_state || (svr->buf && eina_binbuf_length_get(svr->buf)))
173 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ | ECORE_FD_WRITE);
174 } 482 }
483 if (svr->ecs_recvbuf) eina_binbuf_free(svr->ecs_recvbuf);
484 svr->ecs_recvbuf = NULL;
485
175 return; 486 return;
176error: 487error:
177 _ecore_con_server_kill(svr); 488 _ecore_con_server_kill(svr);
178} 489}
179 490
491/////////////////////////////////////////////////////////////////////////////////////
492void
493ecore_con_socks_shutdown(void)
494{
495 Ecore_Con_Socks *ecs;
496 EINA_LIST_FREE(ecore_con_socks_proxies, ecs)
497 _ecore_con_socks_free(ecs);
498 _ecore_con_proxy_once = NULL;
499 _ecore_con_proxy_global = NULL;
500}
501
502void
503ecore_con_socks_read(Ecore_Con_Server *svr, unsigned char *buf, int num)
504{
505 ECORE_CON_SOCKS_CAST_ELSE(svr->ecs) return;
506
507 if (svr->ecs_state < ECORE_CON_PROXY_STATE_READ) return;
508
509 if (v4) _ecore_con_socks_read_v4(svr, v4, buf, (unsigned int)num);
510 else _ecore_con_socks_read_v5(svr, v5, buf, (unsigned int)num);
511}
512
180Eina_Bool 513Eina_Bool
181ecore_con_socks_svr_init(Ecore_Con_Server *svr) 514ecore_con_socks_svr_init(Ecore_Con_Server *svr)
182{ 515{
183 unsigned char *sbuf;
184 ECORE_CON_SOCKS_CAST_ELSE(svr->ecs) return EINA_FALSE; 516 ECORE_CON_SOCKS_CAST_ELSE(svr->ecs) return EINA_FALSE;
185 517
186 if (!svr->ip) return EINA_FALSE; 518 if (!svr->ip) return EINA_FALSE;
187 if (svr->ecs_buf) return EINA_FALSE; 519 if (svr->ecs_buf) return EINA_FALSE;
188 if (svr->ecs_state != ECORE_CON_SOCKS_STATE_INIT) return EINA_FALSE; 520 if (svr->ecs_state != ECORE_CON_PROXY_STATE_INIT) return EINA_FALSE;
189 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_WRITE); 521 ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_WRITE);
190 if (v4) 522 if (v4) return _ecore_con_socks_svr_init_v4(svr, v4);
191 { 523 return _ecore_con_socks_svr_init_v5(svr, v5);
192 size_t addrlen, buflen, ulen = 1;
193 addrlen = svr->ecs->lookup ? strlen(svr->name) + 1: 0;
194 if (svr->ecs->username) ulen += strlen(svr->ecs->username);
195 buflen = sizeof(char) * (8 + ulen + addrlen);
196 sbuf = malloc(buflen);
197 if (!sbuf)
198 {
199 ecore_con_event_server_error(svr, "Memory allocation failure!");
200 _ecore_con_server_kill(svr);
201 return EINA_FALSE;
202 }
203 /* http://en.wikipedia.org/wiki/SOCKS */
204 sbuf[0] = 4;
205 sbuf[1] = v4->bind ? 2 : 1;
206 sbuf[2] = svr->port >> 8;
207 sbuf[3] = svr->port & 0xff;
208 if (addrlen)
209 {
210 sbuf[4] = sbuf[5] = sbuf[6] = 0;
211 sbuf[7] = 1;
212 }
213 else
214 memcpy(sbuf + 4, svr->ecs_addr, 4);
215 if (svr->ecs->username)
216 memcpy(sbuf + 8, svr->ecs->username, ulen);
217 else
218 sbuf[8] = 0;
219 if (addrlen) memcpy(sbuf + 8 + ulen, svr->name, addrlen);
220
221 svr->ecs_buf = eina_binbuf_manage_new_length(sbuf, buflen);
222 }
223 return EINA_TRUE;
224} 524}
225 525
226void 526void
227ecore_con_socks_dns_cb(const char *canonname __UNUSED__, const char *ip, struct sockaddr *addr, int addrlen, Ecore_Con_Server *svr) 527ecore_con_socks_dns_cb(const char *canonname __UNUSED__, const char *ip, struct sockaddr *addr, int addrlen __UNUSED__, Ecore_Con_Server *svr)
228{ 528{
229 svr->ip = eina_stringshare_add(ip); 529 svr->ip = eina_stringshare_add(ip);
230 svr->ecs_addrlen = addrlen;
231 svr->ecs_state++; 530 svr->ecs_state++;
232 if (addr->sa_family == AF_INET) 531 if (addr->sa_family == AF_INET)
233 memcpy(svr->ecs_addr, &((struct sockaddr_in *)addr)->sin_addr.s_addr, 4); 532 {
533 memcpy(svr->ecs_addr, &((struct sockaddr_in *)addr)->sin_addr.s_addr, 4);
534 svr->ecs_addrlen = 4;
535 }
234#ifdef HAVE_IPV6 536#ifdef HAVE_IPV6
235 else 537 else
236 memcpy(svr->ecs_addr, &((struct sockaddr_in6 *)addr)->sin6_addr.s6_addr, addrlen); 538 {
539 memcpy(svr->ecs_addr, &((struct sockaddr_in6 *)addr)->sin6_addr.s6_addr, 16);
540 svr->ecs_addrlen = 16;
541 }
237#endif 542#endif
238 ecore_con_socks_svr_init(svr); 543 ecore_con_socks_svr_init(svr);
239} 544}
@@ -242,36 +547,57 @@ void
242ecore_con_socks_init(void) 547ecore_con_socks_init(void)
243{ 548{
244 const char *socks; 549 const char *socks;
245 char *u, *h, *p, *l; 550 char *h, *p, *l, *u = NULL;
246 char buf[64]; 551 char buf[512];
247 int port, lookup = 0; 552 int port, lookup = 0;
553 Eina_Bool v5 = EINA_FALSE;
248 Ecore_Con_Socks *ecs; 554 Ecore_Con_Socks *ecs;
249 unsigned char addr[sizeof(struct in_addr)]; 555 unsigned char addr[sizeof(struct in_addr)];
556#ifdef HAVE_IPV6
557 unsigned char addr6[sizeof(struct in6_addr)];
558#endif
250 559
251 /* ECORE_CON_SOCKS_V4=user@host:port:[1|0] */ 560 /* ECORE_CON_SOCKS_V4=[user@]host:port-[1|0] */
252 socks = getenv("ECORE_CON_SOCKS_V4"); 561 socks = getenv("ECORE_CON_SOCKS_V4");
253 if ((!socks) || (!socks[0]) || (strlen(socks) > 64)) return; 562 if (!socks)
563 {
564 /* ECORE_CON_SOCKS_V5=[user@]host-port:[1|0] */
565 socks = getenv("ECORE_CON_SOCKS_V5");
566 v5 = EINA_TRUE;
567 }
568 if ((!socks) || (!socks[0]) || (strlen(socks) > 512)) return;
254 strncpy(buf, socks, sizeof(buf)); 569 strncpy(buf, socks, sizeof(buf));
255 h = strchr(buf, '@'); 570 h = strchr(buf, '@');
256 u = NULL;
257 /* username */ 571 /* username */
258 if (h && (h - buf > 0)) *h++ = 0, u = buf; 572 if (h && (h - buf > 0)) *h++ = 0, u = buf;
259 else h = buf; 573 else h = buf;
260 574
261 /* host ip; I ain't resolvin shit here */ 575 /* host ip; I ain't resolvin shit here */
262 p = strchr(h, ':'); 576 p = strchr(h, '-');
263 if (!p) return; 577 if (!p) return;
264 *p++ = 0; 578 *p++ = 0;
265 if (!inet_pton(AF_INET, h, addr)) return; 579 if (!inet_pton(AF_INET, h, addr))
580#ifdef HAVE_IPV6
581 {
582 if (!v5) return;
583 if (!inet_pton(AF_INET6, h, addr6))
584 return;
585 }
586#else
587 return;
588#endif
266 589
267 errno = 0; 590 errno = 0;
268 port = strtol(p, &l, 10); 591 port = strtol(p, &l, 10);
269 if (errno || (port < 0) || (port > 65535)) return; 592 if (errno || (port < 0) || (port > 65535)) return;
270 if (l && (l[0] == ':')) 593 if (l && (l[0] == ':'))
271 lookup = (l[1] == '1'); 594 lookup = (l[1] == '1');
272 ecs = ecore_con_socks4_remote_add(h, port, u); 595 if (v5)
596 ecs = ecore_con_socks5_remote_add(h, port, u, NULL);
597 else
598 ecs = ecore_con_socks4_remote_add(h, port, u);
273 if (!ecs) return; 599 if (!ecs) return;
274 ecore_con_socks4_lookup_set(ecs, lookup); 600 ecore_con_socks_lookup_set(ecs, lookup);
275 ecore_con_socks_apply_always(ecs); 601 ecore_con_socks_apply_always(ecs);
276 INF("Added global proxy server %s%s%s:%d - DNS lookup %s", 602 INF("Added global proxy server %s%s%s:%d - DNS lookup %s",
277 u ?: "", u ? "@" : "", h, port, lookup ? "ENABLED" : "DISABLED"); 603 u ?: "", u ? "@" : "", h, port, lookup ? "ENABLED" : "DISABLED");
@@ -300,10 +626,17 @@ EAPI Ecore_Con_Socks *
300ecore_con_socks4_remote_add(const char *ip, int port, const char *username) 626ecore_con_socks4_remote_add(const char *ip, int port, const char *username)
301{ 627{
302 Ecore_Con_Socks *ecs; 628 Ecore_Con_Socks *ecs;
629 size_t ulen = 0;
303 630
304 if ((!ip) || (!ip[0]) || (port < 0) || (port > 65535)) return NULL; 631 if ((!ip) || (!ip[0]) || (port < 0) || (port > 65535)) return NULL;
305 632
306 ecs = _ecore_con_socks_find(4, ip, port, username); 633 if (username)
634 {
635 ulen = strlen(username);
636 /* max length for protocol */
637 if ((!ulen) || (ulen > 255)) return NULL;
638 }
639 ecs = _ecore_con_socks_find(4, ip, port, username, ulen, NULL, 0);
307 if (ecs) return ecs; 640 if (ecs) return ecs;
308 641
309 ecs = calloc(1, sizeof(Ecore_Con_Socks_v4)); 642 ecs = calloc(1, sizeof(Ecore_Con_Socks_v4));
@@ -313,92 +646,194 @@ ecore_con_socks4_remote_add(const char *ip, int port, const char *username)
313 ecs->ip = eina_stringshare_add(ip); 646 ecs->ip = eina_stringshare_add(ip);
314 ecs->port = port; 647 ecs->port = port;
315 ecs->username = eina_stringshare_add(username); 648 ecs->username = eina_stringshare_add(username);
649 ecs->ulen = ulen;
316 ecore_con_socks_proxies = eina_list_append(ecore_con_socks_proxies, ecs); 650 ecore_con_socks_proxies = eina_list_append(ecore_con_socks_proxies, ecs);
317 return ecs; 651 return ecs;
318} 652}
319 653
320/** 654/**
321 * Set DNS lookup mode on an existing SOCKS v4 proxy 655 * Find a SOCKS v4 proxy in the proxy list
322 * 656 *
323 * According to RFC, SOCKS v4 does not require that a proxy perform 657 * Use this to determine if a SOCKS proxy was previously added by checking
324 * its own DNS lookups for addresses. SOCKS v4a specifies the protocol 658 * the proxy list against the parameters given.
325 * for this. If you want to enable remote DNS lookup and are sure that your 659 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.)
326 * proxy supports it, use this function. 660 * @param port The port to connect to on the proxy, or -1 to match the first proxy with @p ip
327 * @param ecs The proxy object 661 * @param username The username used for the proxy (OPTIONAL)
328 * @param enable If true, the proxy will perform the dns lookup 662 * @return true only if a proxy exists matching the given params
329 * @note By default, this setting is DISABLED. 663 * @note This function matches slightly more loosely than ecore_con_socks4_remote_add(), and
664 * ecore_con_socks4_remote_add() should be used to return the actual object.
330 * @since 1.2 665 * @since 1.2
331 */ 666 */
332EAPI void 667EAPI Eina_Bool
333ecore_con_socks4_lookup_set(Ecore_Con_Socks *ecs, Eina_Bool enable) 668ecore_con_socks4_remote_exists(const char *ip, int port, const char *username)
334{ 669{
335 ECORE_CON_SOCKS_CAST_ELSE(ecs) return; 670 if ((!ip) || (!ip[0]) || (port < -1) || (port > 65535) || (username && (!username[0])))
336 if (v4) v4->lookup = !!enable; 671 return EINA_FALSE;
672 return !!_ecore_con_socks_find(4, ip, port, username, username ? strlen(username) : 0, NULL, 0);
337} 673}
338 674
339/** 675/**
340 * Get DNS lookup mode on an existing SOCKS v4 proxy 676 * Remove a SOCKS v4 proxy from the proxy list and delete it
341 * 677 *
342 * According to RFC, SOCKS v4 does not require that a proxy perform 678 * Use this to remove a SOCKS proxy from the proxy list by checking
343 * its own DNS lookups for addresses. SOCKS v4a specifies the protocol 679 * the list against the parameters given. The proxy will then be deleted.
344 * for this. This function returns whether lookups are enabled on a proxy object. 680 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.)
345 * @param ecs The proxy object 681 * @param port The port to connect to on the proxy, or -1 to match the first proxy with @p ip
346 * @return If true, the proxy will perform the dns lookup 682 * @param username The username used for the proxy (OPTIONAL)
347 * @note By default, this setting is DISABLED. 683 * @note This function matches in the same way as ecore_con_socks4_remote_exists().
684 * @warning Be aware that deleting a proxy which is being used WILL ruin your life.
348 * @since 1.2 685 * @since 1.2
349 */ 686 */
350EAPI Eina_Bool 687EAPI void
351ecore_con_socks4_lookup_get(Ecore_Con_Socks *ecs) 688ecore_con_socks4_remote_del(const char *ip, int port, const char *username)
352{ 689{
353 ECORE_CON_SOCKS_CAST_ELSE(ecs) return EINA_FALSE; 690 Ecore_Con_Socks_v4 *v4;
354 return v4 ? v4->lookup : EINA_FALSE; 691
692 if ((!ip) || (!ip[0]) || (port < -1) || (port > 65535) || (username && (!username[0]))) return;
693 if (!ecore_con_socks_proxies) return;
694
695 v4 = (Ecore_Con_Socks_v4*)_ecore_con_socks_find(4, ip, port, username, username ? strlen(username) : 0, NULL, 0);
696 if (!v4) return;
697 ecore_con_socks_proxies = eina_list_remove(ecore_con_socks_proxies, v4);
698 _ecore_con_socks_free((Ecore_Con_Socks*)v4);
699}
700/**
701 * Add a SOCKS v5 proxy to the proxy list
702 *
703 * Use this to create (or return, if previously added) a SOCKS proxy
704 * object which can be used by any ecore_con servers.
705 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.)
706 * @param port The port to connect to on the proxy
707 * @param username The username to use for the proxy (OPTIONAL)
708 * @param password The password to use for the proxy (OPTIONAL)
709 * @return An allocated proxy object, or NULL on failure
710 * @note This object NEVER needs to be explicitly freed.
711 * @since 1.2
712 */
713EAPI Ecore_Con_Socks *
714ecore_con_socks5_remote_add(const char *ip, int port, const char *username, const char *password)
715{
716 Ecore_Con_Socks_v5 *ecs5;
717 size_t ulen = 0, plen = 0;
718
719 if ((!ip) || (!ip[0]) || (port < 0) || (port > 65535)) return NULL;
720
721 if (username)
722 {
723 ulen = strlen(username);
724 /* max length for protocol */
725 if ((!ulen) || (ulen > 255)) return NULL;
726 }
727 if (password)
728 {
729 plen = strlen(password);
730 /* max length for protocol */
731 if ((!plen) || (plen > 255)) return NULL;
732 }
733 ecs5 = (Ecore_Con_Socks_v5*)_ecore_con_socks_find(5, ip, port, username, ulen, password, plen);
734 if (ecs5) return (Ecore_Con_Socks*)ecs5;
735
736 ecs5 = calloc(1, sizeof(Ecore_Con_Socks_v5));
737 if (!ecs5) return NULL;
738
739 ecs5->version = 5;
740 ecs5->ip = eina_stringshare_add(ip);
741 ecs5->port = port;
742 ecs5->username = eina_stringshare_add(username);
743 ecs5->ulen = ulen;
744 ecs5->password = eina_stringshare_add(password);
745 ecs5->plen = plen;
746 ecore_con_socks_proxies = eina_list_append(ecore_con_socks_proxies, ecs5);
747 return (Ecore_Con_Socks*)ecs5;
355} 748}
356 749
357/** 750/**
358 * Find a SOCKS v4 proxy in the proxy list 751 * Find a SOCKS v5 proxy in the proxy list
359 * 752 *
360 * Use this to determine if a SOCKS proxy was previously added by checking 753 * Use this to determine if a SOCKS proxy was previously added by checking
361 * the proxy list against the parameters given. 754 * the proxy list against the parameters given.
362 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.) 755 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.)
363 * @param port The port to connect to on the proxy, or -1 to match the first proxy with @p ip 756 * @param port The port to connect to on the proxy, or -1 to match the first proxy with @p ip
364 * @param username The username used for the proxy (OPTIONAL) 757 * @param username The username used for the proxy (OPTIONAL)
758 * @param password The password used for the proxy (OPTIONAL)
365 * @return true only if a proxy exists matching the given params 759 * @return true only if a proxy exists matching the given params
366 * @note This function matches slightly more loosely than ecore_con_socks4_remote_add(), and 760 * @note This function matches slightly more loosely than ecore_con_socks5_remote_add(), and
367 * ecore_con_socks4_remote_add() should be used to return the actual object. 761 * ecore_con_socks5_remote_add() should be used to return the actual object.
368 * @since 1.2 762 * @since 1.2
369 */ 763 */
370EAPI Eina_Bool 764EAPI Eina_Bool
371ecore_con_socks4_remote_exists(const char *ip, int port, const char *username) 765ecore_con_socks5_remote_exists(const char *ip, int port, const char *username, const char *password)
372{ 766{
373 if ((!ip) || (!ip[0]) || (port < -1) || (port > 65535) || (username && (!username[0]))) 767 if ((!ip) || (!ip[0]) || (port < -1) || (port > 65535) || (username && (!username[0])) || (password && (!password[0])))
374 return EINA_FALSE; 768 return EINA_FALSE;
375 return !!_ecore_con_socks_find(4, ip, port, username); 769 return !!_ecore_con_socks_find(5, ip, port, username, username ? strlen(username) : 0, password, password ? strlen(password) : 0);
376} 770}
377 771
378/** 772/**
379 * Remove a SOCKS v4 proxy from the proxy list and delete it 773 * Remove a SOCKS v5 proxy from the proxy list and delete it
380 * 774 *
381 * Use this to remove a SOCKS proxy from the proxy list by checking 775 * Use this to remove a SOCKS proxy from the proxy list by checking
382 * the list against the parameters given. The proxy will then be deleted. 776 * the list against the parameters given. The proxy will then be deleted.
383 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.) 777 * @param ip The ip address of the proxy (NOT DOMAIN NAME. IP ADDRESS.)
384 * @param port The port to connect to on the proxy, or -1 to match the first proxy with @p ip 778 * @param port The port to connect to on the proxy, or -1 to match the first proxy with @p ip
385 * @param username The username used for the proxy (OPTIONAL) 779 * @param username The username used for the proxy (OPTIONAL)
780 * @param password The password used for the proxy (OPTIONAL)
386 * @note This function matches in the same way as ecore_con_socks4_remote_exists(). 781 * @note This function matches in the same way as ecore_con_socks4_remote_exists().
387 * @warning Be aware that deleting a proxy which is being used WILL ruin your life. 782 * @warning Be aware that deleting a proxy which is being used WILL ruin your life.
388 * @since 1.2 783 * @since 1.2
389 */ 784 */
390EAPI void 785EAPI void
391ecore_con_socks4_remote_del(const char *ip, int port, const char *username) 786ecore_con_socks5_remote_del(const char *ip, int port, const char *username, const char *password)
392{ 787{
393 Ecore_Con_Socks_v4 *v4; 788 Ecore_Con_Socks_v5 *v5;
394 789
395 if ((!ip) || (!ip[0]) || (port < -1) || (port > 65535) || (username && (!username[0]))) return; 790 if ((!ip) || (!ip[0]) || (port < -1) || (port > 65535) || (username && (!username[0])) || (password && (!password[0])))
791 return;
396 if (!ecore_con_socks_proxies) return; 792 if (!ecore_con_socks_proxies) return;
397 793
398 v4 = (Ecore_Con_Socks_v4*)_ecore_con_socks_find(4, ip, port, username); 794 v5 = (Ecore_Con_Socks_v5*)_ecore_con_socks_find(5, ip, port, username, username ? strlen(username) : 0, password, password ? strlen(password) : 0);
399 if (!v4) return; 795 if (!v5) return;
400 ecore_con_socks_proxies = eina_list_remove(ecore_con_socks_proxies, v4); 796 ecore_con_socks_proxies = eina_list_remove(ecore_con_socks_proxies, v5);
401 _ecore_con_socks_free((Ecore_Con_Socks*)v4); 797 _ecore_con_socks_free((Ecore_Con_Socks*)v5);
798}
799
800/**
801 * Set DNS lookup mode on an existing SOCKS proxy
802 *
803 * According to RFC, SOCKS v4 does not require that a proxy perform
804 * its own DNS lookups for addresses. SOCKS v4a specifies the protocol
805 * for this. SOCKS v5 allows DNS lookups.
806 * If you want to enable remote DNS lookup and are sure that your
807 * proxy supports it, use this function.
808 * @param ecs The proxy object
809 * @param enable If true, the proxy will perform the dns lookup
810 * @note By default, this setting is DISABLED.
811 * @since 1.2
812 */
813EAPI void
814ecore_con_socks_lookup_set(Ecore_Con_Socks *ecs, Eina_Bool enable)
815{
816 ECORE_CON_SOCKS_CAST_ELSE(ecs) return;
817 ecs->lookup = !!enable;
818}
819
820/**
821 * Get DNS lookup mode on an existing SOCKS proxy
822 *
823 * According to RFC, SOCKS v4 does not require that a proxy perform
824 * its own DNS lookups for addresses. SOCKS v4a specifies the protocol
825 * for this. SOCKS v5 allows DNS lookups.
826 * This function returns whether lookups are enabled on a proxy object.
827 * @param ecs The proxy object
828 * @return If true, the proxy will perform the dns lookup
829 * @note By default, this setting is DISABLED.
830 * @since 1.2
831 */
832EAPI Eina_Bool
833ecore_con_socks_lookup_get(Ecore_Con_Socks *ecs)
834{
835 ECORE_CON_SOCKS_CAST_ELSE(ecs) return EINA_FALSE;
836 return ecs->lookup;
402} 837}
403 838
404/** 839/**
@@ -434,6 +869,14 @@ ecore_con_socks_bind_get(Ecore_Con_Socks *ecs)
434 return ecs->bind; 869 return ecs->bind;
435} 870}
436 871
872/**
873 * Return SOCKS version of a SOCKS proxy
874 *
875 * Use this function to return the SOCKS protocol version of a proxy
876 * @param ecs The proxy object
877 * @return 0 on error, else 4/5
878 * @since 1.2
879 */
437EAPI unsigned int 880EAPI unsigned int
438ecore_con_socks_version_get(Ecore_Con_Socks *ecs) 881ecore_con_socks_version_get(Ecore_Con_Socks *ecs)
439{ 882{
@@ -482,7 +925,8 @@ ecore_con_socks_apply_once(Ecore_Con_Socks *ecs)
482 * @see ecore_con_socks_apply_once() 925 * @see ecore_con_socks_apply_once()
483 * @since 1.2 926 * @since 1.2
484 * @note ecore-con supports setting this through environment variables like so: 927 * @note ecore-con supports setting this through environment variables like so:
485 * ECORE_CON_SOCKS_V4=[user@]server:port:lookup 928 * ECORE_CON_SOCKS_V4=[user@]server-port:lookup
929 * ECORE_CON_SOCKS_V5=[user@]server-port:lookup
486 * user is the OPTIONAL string that would be passed to the proxy as the username 930 * user is the OPTIONAL string that would be passed to the proxy as the username
487 * server is the IP_ADDRESS of the proxy server 931 * server is the IP_ADDRESS of the proxy server
488 * port is the port to connect to on the proxy server 932 * port is the port to connect to on the proxy server
diff --git a/libraries/ecore/src/lib/ecore_con/ecore_con_ssl.c b/libraries/ecore/src/lib/ecore_con/ecore_con_ssl.c
index 6104632..cd8b9c6 100644
--- a/libraries/ecore/src/lib/ecore_con/ecore_con_ssl.c
+++ b/libraries/ecore/src/lib/ecore_con/ecore_con_ssl.c
@@ -652,6 +652,7 @@ ecore_con_ssl_server_verify_name_get(Ecore_Con_Server *svr)
652 * Use this function to add a SSL PEM certificate. 652 * Use this function to add a SSL PEM certificate.
653 * Simply specify the cert here to use it in the server object for connecting or listening. 653 * Simply specify the cert here to use it in the server object for connecting or listening.
654 * If there is an error loading the certificate, an error will automatically be logged. 654 * If there is an error loading the certificate, an error will automatically be logged.
655 * @param svr The server object
655 * @param cert The path to the certificate. 656 * @param cert The path to the certificate.
656 * @return EINA_FALSE if the file cannot be loaded, otherwise EINA_TRUE. 657 * @return EINA_FALSE if the file cannot be loaded, otherwise EINA_TRUE.
657 */ 658 */
@@ -683,6 +684,7 @@ ecore_con_ssl_server_cert_add(Ecore_Con_Server *svr,
683 * Use this function to add a SSL PEM CA file. 684 * Use this function to add a SSL PEM CA file.
684 * Simply specify the file here to use it in the server object for connecting or listening. 685 * Simply specify the file here to use it in the server object for connecting or listening.
685 * If there is an error loading the CAs, an error will automatically be logged. 686 * If there is an error loading the CAs, an error will automatically be logged.
687 * @param svr The server object
686 * @param ca_file The path to the CA file. 688 * @param ca_file The path to the CA file.
687 * @return EINA_FALSE if the file cannot be loaded, otherwise EINA_TRUE. 689 * @return EINA_FALSE if the file cannot be loaded, otherwise EINA_TRUE.
688 * @note since 1.2, this function can load directores 690 * @note since 1.2, this function can load directores
@@ -747,6 +749,7 @@ ecore_con_ssl_server_privkey_add(Ecore_Con_Server *svr,
747 * Use this function to add a SSL PEM CRL file 749 * Use this function to add a SSL PEM CRL file
748 * Simply specify the CRL file here to use it in the server object for connecting or listening. 750 * Simply specify the CRL file here to use it in the server object for connecting or listening.
749 * If there is an error loading the CRL, an error will automatically be logged. 751 * If there is an error loading the CRL, an error will automatically be logged.
752 * @param svr The server object
750 * @param crl_file The path to the CRL file. 753 * @param crl_file The path to the CRL file.
751 * @return EINA_FALSE if the file cannot be loaded, 754 * @return EINA_FALSE if the file cannot be loaded,
752 * otherwise EINA_TRUE. 755 * otherwise EINA_TRUE.
diff --git a/libraries/ecore/src/lib/ecore_con/ecore_con_url.c b/libraries/ecore/src/lib/ecore_con/ecore_con_url.c
index 709b554..05f0678 100644
--- a/libraries/ecore/src/lib/ecore_con/ecore_con_url.c
+++ b/libraries/ecore/src/lib/ecore_con/ecore_con_url.c
@@ -30,41 +30,31 @@
30#include "Ecore_Con.h" 30#include "Ecore_Con.h"
31#include "ecore_con_private.h" 31#include "ecore_con_private.h"
32 32
33#define CURL_MIN_TIMEOUT 100
34
33int ECORE_CON_EVENT_URL_DATA = 0; 35int ECORE_CON_EVENT_URL_DATA = 0;
34int ECORE_CON_EVENT_URL_COMPLETE = 0; 36int ECORE_CON_EVENT_URL_COMPLETE = 0;
35int ECORE_CON_EVENT_URL_PROGRESS = 0; 37int ECORE_CON_EVENT_URL_PROGRESS = 0;
36 38
37#ifdef HAVE_CURL 39#ifdef HAVE_CURL
40static void _ecore_con_url_event_url_complete(Ecore_Con_Url *url_con, CURLMsg *curlmsg);
41static void _ecore_con_url_multi_remove(Ecore_Con_Url *url_con);
38static Eina_Bool _ecore_con_url_perform(Ecore_Con_Url *url_con); 42static Eina_Bool _ecore_con_url_perform(Ecore_Con_Url *url_con);
39static size_t _ecore_con_url_header_cb(void *ptr, 43static size_t _ecore_con_url_header_cb(void *ptr, size_t size, size_t nitems, void *stream);
40 size_t size, 44static size_t _ecore_con_url_data_cb(void *buffer, size_t size, size_t nitems, void *userp);
41 size_t nitems, 45static int _ecore_con_url_progress_cb(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow);
42 void *stream); 46static size_t _ecore_con_url_read_cb(void *ptr, size_t size, size_t nitems, void *stream);
43static size_t _ecore_con_url_data_cb(void *buffer, 47static void _ecore_con_event_url_free(Ecore_Con_Url *url_con, void *ev);
44 size_t size, 48static Eina_Bool _ecore_con_url_timer(void *data);
45 size_t nitems, 49static Eina_Bool _ecore_con_url_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
46 void *userp);
47static int _ecore_con_url_progress_cb(void *clientp,
48 double dltotal,
49 double dlnow,
50 double ultotal,
51 double ulnow);
52static size_t _ecore_con_url_read_cb(void *ptr,
53 size_t size,
54 size_t nitems,
55 void *stream);
56static void _ecore_con_event_url_free(void *data __UNUSED__,
57 void *ev);
58static Eina_Bool _ecore_con_url_idler_handler(void *data);
59static Eina_Bool _ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__);
60static Eina_Bool _ecore_con_url_timeout_cb(void *data); 50static Eina_Bool _ecore_con_url_timeout_cb(void *data);
51static void _ecore_con_url_status_get(Ecore_Con_Url *url_con);
61 52
62static Eina_List *_url_con_list = NULL; 53static Eina_List *_url_con_list = NULL;
63static Eina_List *_fd_hd_list = NULL; 54static Eina_List *_fd_hd_list = NULL;
64static CURLM *_curlm = NULL; 55static CURLM *_curlm = NULL;
65static fd_set _current_fd_set;
66static int _init_count = 0; 56static int _init_count = 0;
67static Ecore_Timer *_curl_timeout = NULL; 57static Ecore_Timer *_curl_timer = NULL;
68static Eina_Bool pipelining = EINA_FALSE; 58static Eina_Bool pipelining = EINA_FALSE;
69 59
70#endif 60#endif
@@ -79,28 +69,28 @@ EAPI int
79ecore_con_url_init(void) 69ecore_con_url_init(void)
80{ 70{
81#ifdef HAVE_CURL 71#ifdef HAVE_CURL
72 long ms;
82 if (++_init_count > 1) return _init_count; 73 if (++_init_count > 1) return _init_count;
83 74
84 if (!ECORE_CON_EVENT_URL_DATA) ECORE_CON_EVENT_URL_DATA = ecore_event_type_new(); 75 ECORE_CON_EVENT_URL_DATA = ecore_event_type_new();
85 if (!ECORE_CON_EVENT_URL_COMPLETE) ECORE_CON_EVENT_URL_COMPLETE = ecore_event_type_new(); 76 ECORE_CON_EVENT_URL_COMPLETE = ecore_event_type_new();
86 if (!ECORE_CON_EVENT_URL_PROGRESS) ECORE_CON_EVENT_URL_PROGRESS = ecore_event_type_new(); 77 ECORE_CON_EVENT_URL_PROGRESS = ecore_event_type_new();
78
79 // curl_global_init() is not thread safe!
80 if (curl_global_init(CURL_GLOBAL_ALL)) return --_init_count;
87 81
82 _curlm = curl_multi_init();
88 if (!_curlm) 83 if (!_curlm)
89 { 84 {
90 long ms; 85 curl_global_cleanup();
91 86 return --_init_count;
92 // curl_global_init() is not thread safe! 87 }
93 if (curl_global_init(CURL_GLOBAL_ALL)) return --_init_count;
94
95 _curlm = curl_multi_init();
96 if (!_curlm) return --_init_count;
97 88
98 curl_multi_timeout(_curlm, &ms); 89 curl_multi_timeout(_curlm, &ms);
99 if (ms <= 0) ms = 100; 90 if (ms >= CURL_MIN_TIMEOUT || ms <= 0) ms = CURL_MIN_TIMEOUT;
100 91
101 _curl_timeout = ecore_timer_add((double)ms / 1000, _ecore_con_url_idler_handler, (void *)0xACE); 92 _curl_timer = ecore_timer_add((double)ms / 1000, _ecore_con_url_timer, NULL);
102 ecore_timer_freeze(_curl_timeout); 93 ecore_timer_freeze(_curl_timer);
103 }
104 94
105 return _init_count; 95 return _init_count;
106#else 96#else
@@ -112,31 +102,30 @@ EAPI int
112ecore_con_url_shutdown(void) 102ecore_con_url_shutdown(void)
113{ 103{
114#ifdef HAVE_CURL 104#ifdef HAVE_CURL
105 Ecore_Con_Url *url_con;
106 Ecore_Fd_Handler *fd_handler;
115 if (_init_count == 0) return 0; 107 if (_init_count == 0) return 0;
108 --_init_count;
109 if (_init_count) return _init_count;
116 110
117 if (--_init_count == 0) 111 if (_curl_timer)
118 { 112 {
119 Ecore_Con_Url *con_url; 113 ecore_timer_del(_curl_timer);
120 Ecore_Fd_Handler *fd_handler; 114 _curl_timer = NULL;
121 115 }
122 if (_curl_timeout)
123 {
124 ecore_timer_del(_curl_timeout);
125 _curl_timeout = NULL;
126 }
127 116
128 FD_ZERO(&_current_fd_set); 117 EINA_LIST_FREE(_url_con_list, url_con)
129 EINA_LIST_FREE(_url_con_list, con_url) ecore_con_url_free(con_url); 118 ecore_con_url_free(url_con);
130 EINA_LIST_FREE(_fd_hd_list, fd_handler) ecore_main_fd_handler_del(fd_handler); 119 EINA_LIST_FREE(_fd_hd_list, fd_handler)
120 ecore_main_fd_handler_del(fd_handler);
131 121
132 if (_curlm) 122 if (_curlm)
133 { 123 {
134 curl_multi_cleanup(_curlm); 124 curl_multi_cleanup(_curlm);
135 _curlm = NULL; 125 _curlm = NULL;
136 } 126 }
137 curl_global_cleanup(); 127 curl_global_cleanup();
138 } 128 return 0;
139 return _init_count;
140#endif 129#endif
141 return 1; 130 return 1;
142} 131}
@@ -145,14 +134,12 @@ EAPI void
145ecore_con_url_pipeline_set(Eina_Bool enable) 134ecore_con_url_pipeline_set(Eina_Bool enable)
146{ 135{
147#ifdef HAVE_CURL 136#ifdef HAVE_CURL
148 if (enable) 137 if (enable == pipelining) return;
149 curl_multi_setopt(_curlm, CURLMOPT_PIPELINING, 1); 138 curl_multi_setopt(_curlm, CURLMOPT_PIPELINING, !!enable);
150 else 139 pipelining = enable;
151 curl_multi_setopt(_curlm, CURLMOPT_PIPELINING, 0);
152 pipelining = enable;
153#else 140#else
154 return; 141 return;
155 (void)enable; 142 (void)enable;
156#endif 143#endif
157} 144}
158 145
@@ -160,11 +147,13 @@ EAPI Eina_Bool
160ecore_con_url_pipeline_get(void) 147ecore_con_url_pipeline_get(void)
161{ 148{
162#ifdef HAVE_CURL 149#ifdef HAVE_CURL
163 return pipelining; 150 return pipelining;
164#endif 151#endif
165 return EINA_FALSE; 152 return EINA_FALSE;
166} 153}
167 154
155extern Ecore_Con_Socks *_ecore_con_proxy_global;
156
168EAPI Ecore_Con_Url * 157EAPI Ecore_Con_Url *
169ecore_con_url_new(const char *url) 158ecore_con_url_new(const char *url)
170{ 159{
@@ -196,22 +185,41 @@ ecore_con_url_new(const char *url)
196 return NULL; 185 return NULL;
197 } 186 }
198 187
188 // Read socks proxy
199 url_con->proxy_type = -1; 189 url_con->proxy_type = -1;
200 if (_ecore_con_proxy_global) 190 if (_ecore_con_proxy_global && _ecore_con_proxy_global->ip &&
191 (_ecore_con_proxy_global->version == 4 ||
192 _ecore_con_proxy_global->version == 5))
201 { 193 {
202 if (_ecore_con_proxy_global->ip) 194 char proxy[256];
195 char host[256];
196
197 if (_ecore_con_proxy_global->version == 5)
203 { 198 {
204 char host[128]; 199 if (_ecore_con_proxy_global->lookup)
205 if (_ecore_con_proxy_global->port > 0 && 200 snprintf(host, sizeof(host), "socks5h://%s",
206 _ecore_con_proxy_global->port <= 65535) 201 _ecore_con_proxy_global->ip);
207 snprintf(host, sizeof(host), "socks4://%s:%d", 202 else snprintf(host, sizeof(host), "socks5://%s",
208 _ecore_con_proxy_global->ip, 203 _ecore_con_proxy_global->ip);
209 _ecore_con_proxy_global->port); 204 }
210 else 205 else if (_ecore_con_proxy_global->version == 4)
211 snprintf(host, sizeof(host), "socks4://%s", 206 {
207 if (_ecore_con_proxy_global->lookup)
208 snprintf(host, sizeof(host), "socks4a://%s",
212 _ecore_con_proxy_global->ip); 209 _ecore_con_proxy_global->ip);
213 ecore_con_url_proxy_set(url_con, host); 210 else snprintf(host, sizeof(host), "socks4://%s",
211 _ecore_con_proxy_global->ip);
214 } 212 }
213
214 if (_ecore_con_proxy_global->port > 0 &&
215 _ecore_con_proxy_global->port <= 65535)
216 snprintf(proxy, sizeof(proxy), "%s:%d", host,
217 _ecore_con_proxy_global->port);
218 else snprintf(proxy, sizeof(proxy), "%s", host);
219
220 ecore_con_url_proxy_set(url_con, proxy);
221 ecore_con_url_proxy_username_set(url_con,
222 _ecore_con_proxy_global->username);
215 } 223 }
216 224
217 ret = curl_easy_setopt(url_con->curl_easy, CURLOPT_ENCODING, "gzip,deflate"); 225 ret = curl_easy_setopt(url_con->curl_easy, CURLOPT_ENCODING, "gzip,deflate");
@@ -291,10 +299,8 @@ ecore_con_url_free(Ecore_Con_Url *url_con)
291{ 299{
292#ifdef HAVE_CURL 300#ifdef HAVE_CURL
293 char *s; 301 char *s;
294 CURLMcode ret;
295 302
296 if (!url_con) 303 if (!url_con) return;
297 return;
298 304
299 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 305 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
300 { 306 {
@@ -302,17 +308,16 @@ ecore_con_url_free(Ecore_Con_Url *url_con)
302 return; 308 return;
303 } 309 }
304 310
305 ECORE_MAGIC_SET(url_con, ECORE_MAGIC_NONE);
306
307 if (url_con->curl_easy) 311 if (url_con->curl_easy)
308 { 312 {
313 // FIXME : How can we delete curl_easy's fds ?? (Curl do not give this info.)
314 // This cause "Failed to delete epoll fd xx!" error messages
309 curl_easy_setopt(url_con->curl_easy, CURLOPT_PROGRESSFUNCTION, NULL); 315 curl_easy_setopt(url_con->curl_easy, CURLOPT_PROGRESSFUNCTION, NULL);
310 curl_easy_setopt(url_con->curl_easy, CURLOPT_NOPROGRESS, EINA_TRUE); 316 curl_easy_setopt(url_con->curl_easy, CURLOPT_NOPROGRESS, EINA_TRUE);
311 317
312 if (eina_list_data_find(_url_con_list, url_con)) 318 if (url_con->multi)
313 { 319 {
314 ret = curl_multi_remove_handle(_curlm, url_con->curl_easy); 320 _ecore_con_url_multi_remove(url_con);
315 if (ret != CURLM_OK) ERR("curl_multi_remove_handle failed: %s", curl_multi_strerror(ret));
316 _url_con_list = eina_list_remove(_url_con_list, url_con); 321 _url_con_list = eina_list_remove(_url_con_list, url_con);
317 } 322 }
318 323
@@ -320,6 +325,12 @@ ecore_con_url_free(Ecore_Con_Url *url_con)
320 } 325 }
321 if (url_con->timer) ecore_timer_del(url_con->timer); 326 if (url_con->timer) ecore_timer_del(url_con->timer);
322 327
328 url_con->curl_easy = NULL;
329 url_con->timer = NULL;
330 url_con->dead = EINA_TRUE;
331 if (url_con->event_count) return;
332 ECORE_MAGIC_SET(url_con, ECORE_MAGIC_NONE);
333
323 curl_slist_free_all(url_con->headers); 334 curl_slist_free_all(url_con->headers);
324 EINA_LIST_FREE(url_con->additional_headers, s) 335 EINA_LIST_FREE(url_con->additional_headers, s)
325 free(s); 336 free(s);
@@ -350,9 +361,27 @@ ecore_con_url_url_get(Ecore_Con_Url *url_con)
350#endif 361#endif
351} 362}
352 363
364EAPI int
365ecore_con_url_status_code_get(Ecore_Con_Url *url_con)
366{
367#ifdef HAVE_CURL
368 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
369 {
370 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, __func__);
371 return 0;
372 }
373
374 if (url_con->status) return url_con->status;
375 _ecore_con_url_status_get(url_con);
376 return url_con->status;
377#else
378 return -1;
379 (void)url_con;
380#endif
381}
382
353EAPI Eina_Bool 383EAPI Eina_Bool
354ecore_con_url_url_set(Ecore_Con_Url *url_con, 384ecore_con_url_url_set(Ecore_Con_Url *url_con, const char *url)
355 const char *url)
356{ 385{
357#ifdef HAVE_CURL 386#ifdef HAVE_CURL
358 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 387 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -361,8 +390,7 @@ ecore_con_url_url_set(Ecore_Con_Url *url_con,
361 return EINA_FALSE; 390 return EINA_FALSE;
362 } 391 }
363 392
364 if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE; 393 if (url_con->dead) return EINA_FALSE;
365
366 eina_stringshare_replace(&url_con->url, url); 394 eina_stringshare_replace(&url_con->url, url);
367 395
368 if (url_con->url) 396 if (url_con->url)
@@ -380,8 +408,7 @@ ecore_con_url_url_set(Ecore_Con_Url *url_con,
380} 408}
381 409
382EAPI void 410EAPI void
383ecore_con_url_data_set(Ecore_Con_Url *url_con, 411ecore_con_url_data_set(Ecore_Con_Url *url_con, void *data)
384 void *data)
385{ 412{
386#ifdef HAVE_CURL 413#ifdef HAVE_CURL
387 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 414 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -399,13 +426,12 @@ ecore_con_url_data_set(Ecore_Con_Url *url_con,
399} 426}
400 427
401EAPI void 428EAPI void
402ecore_con_url_additional_header_add(Ecore_Con_Url *url_con, 429ecore_con_url_additional_header_add(Ecore_Con_Url *url_con, const char *key, const char *value)
403 const char *key,
404 const char *value)
405{ 430{
406#ifdef HAVE_CURL 431#ifdef HAVE_CURL
407 char *tmp; 432 char *tmp;
408 433
434 if (url_con->dead) return;
409 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 435 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
410 { 436 {
411 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, 437 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL,
@@ -413,6 +439,7 @@ ecore_con_url_additional_header_add(Ecore_Con_Url *url_con,
413 return; 439 return;
414 } 440 }
415 441
442 if (url_con->dead) return;
416 tmp = malloc(strlen(key) + strlen(value) + 3); 443 tmp = malloc(strlen(key) + strlen(value) + 3);
417 if (!tmp) 444 if (!tmp)
418 return; 445 return;
@@ -467,9 +494,7 @@ ecore_con_url_data_get(Ecore_Con_Url *url_con)
467} 494}
468 495
469EAPI void 496EAPI void
470ecore_con_url_time(Ecore_Con_Url *url_con, 497ecore_con_url_time(Ecore_Con_Url *url_con, Ecore_Con_Url_Time condition, double timestamp)
471 Ecore_Con_Url_Time condition,
472 double timestamp)
473{ 498{
474#ifdef HAVE_CURL 499#ifdef HAVE_CURL
475 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 500 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -478,6 +503,7 @@ ecore_con_url_time(Ecore_Con_Url *url_con,
478 return; 503 return;
479 } 504 }
480 505
506 if (url_con->dead) return;
481 url_con->time_condition = condition; 507 url_con->time_condition = condition;
482 url_con->timestamp = timestamp; 508 url_con->timestamp = timestamp;
483#else 509#else
@@ -489,8 +515,7 @@ ecore_con_url_time(Ecore_Con_Url *url_con,
489} 515}
490 516
491EAPI void 517EAPI void
492ecore_con_url_fd_set(Ecore_Con_Url *url_con, 518ecore_con_url_fd_set(Ecore_Con_Url *url_con, int fd)
493 int fd)
494{ 519{
495#ifdef HAVE_CURL 520#ifdef HAVE_CURL
496 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 521 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -499,6 +524,7 @@ ecore_con_url_fd_set(Ecore_Con_Url *url_con,
499 return; 524 return;
500 } 525 }
501 526
527 if (url_con->dead) return;
502 url_con->write_fd = fd; 528 url_con->write_fd = fd;
503#else 529#else
504 return; 530 return;
@@ -537,10 +563,7 @@ ecore_con_url_response_headers_get(Ecore_Con_Url *url_con)
537} 563}
538 564
539EAPI Eina_Bool 565EAPI Eina_Bool
540ecore_con_url_httpauth_set(Ecore_Con_Url *url_con, 566ecore_con_url_httpauth_set(Ecore_Con_Url *url_con, const char *username, const char *password, Eina_Bool safe)
541 const char *username,
542 const char *password,
543 Eina_Bool safe)
544{ 567{
545#ifdef HAVE_CURL 568#ifdef HAVE_CURL
546 CURLcode ret; 569 CURLcode ret;
@@ -552,6 +575,7 @@ ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
552 return EINA_FALSE; 575 return EINA_FALSE;
553 } 576 }
554 577
578 if (url_con->dead) return EINA_FALSE;
555# if LIBCURL_VERSION_NUM >= 0x071301 579# if LIBCURL_VERSION_NUM >= 0x071301
556 if ((username) && (password)) 580 if ((username) && (password))
557 { 581 {
@@ -596,11 +620,7 @@ ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
596#define MODE_POST 2 620#define MODE_POST 2
597 621
598static Eina_Bool 622static Eina_Bool
599_ecore_con_url_send(Ecore_Con_Url *url_con, 623_ecore_con_url_send(Ecore_Con_Url *url_con, int mode, const void *data, long length, const char *content_type)
600 int mode,
601 const void *data,
602 long length,
603 const char *content_type)
604{ 624{
605#ifdef HAVE_CURL 625#ifdef HAVE_CURL
606 Eina_List *l; 626 Eina_List *l;
@@ -613,15 +633,14 @@ _ecore_con_url_send(Ecore_Con_Url *url_con,
613 return EINA_FALSE; 633 return EINA_FALSE;
614 } 634 }
615 635
616 if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE; 636 if (!url_con->url) return EINA_FALSE;
617 637 if (url_con->dead) return EINA_FALSE;
618 if (!url_con->url)
619 return EINA_FALSE;
620 638
621 /* Free response headers from previous send() calls */ 639 /* Free response headers from previous send() calls */
622 EINA_LIST_FREE(url_con->response_headers, s) 640 EINA_LIST_FREE(url_con->response_headers, s)
623 free((char *)s); 641 free((char *)s);
624 url_con->response_headers = NULL; 642 url_con->response_headers = NULL;
643 url_con->status = 0;
625 644
626 curl_slist_free_all(url_con->headers); 645 curl_slist_free_all(url_con->headers);
627 url_con->headers = NULL; 646 url_con->headers = NULL;
@@ -693,15 +712,6 @@ _ecore_con_url_send(Ecore_Con_Url *url_con,
693#endif 712#endif
694} 713}
695 714
696EINA_DEPRECATED EAPI Eina_Bool
697ecore_con_url_send(Ecore_Con_Url *url_con,
698 const void *data,
699 long length,
700 const char *content_type)
701{
702 return _ecore_con_url_send(url_con, MODE_AUTO, data, length, content_type);
703}
704
705EAPI Eina_Bool 715EAPI Eina_Bool
706ecore_con_url_get(Ecore_Con_Url *url_con) 716ecore_con_url_get(Ecore_Con_Url *url_con)
707{ 717{
@@ -709,20 +719,13 @@ ecore_con_url_get(Ecore_Con_Url *url_con)
709} 719}
710 720
711EAPI Eina_Bool 721EAPI Eina_Bool
712ecore_con_url_post(Ecore_Con_Url *url_con, 722ecore_con_url_post(Ecore_Con_Url *url_con, const void *data, long length, const char *content_type)
713 const void *data,
714 long length,
715 const char *content_type)
716{ 723{
717 return _ecore_con_url_send(url_con, MODE_POST, data, length, content_type); 724 return _ecore_con_url_send(url_con, MODE_POST, data, length, content_type);
718} 725}
719 726
720EAPI Eina_Bool 727EAPI Eina_Bool
721ecore_con_url_ftp_upload(Ecore_Con_Url *url_con, 728ecore_con_url_ftp_upload(Ecore_Con_Url *url_con, const char *filename, const char *user, const char *pass, const char *upload_dir)
722 const char *filename,
723 const char *user,
724 const char *pass,
725 const char *upload_dir)
726{ 729{
727#ifdef HAVE_CURL 730#ifdef HAVE_CURL
728 char url[4096]; 731 char url[4096];
@@ -739,54 +742,50 @@ ecore_con_url_ftp_upload(Ecore_Con_Url *url_con,
739 return EINA_FALSE; 742 return EINA_FALSE;
740 } 743 }
741 744
742 if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE; 745 if (url_con->dead) return EINA_FALSE;
746 if (!url_con->url) return EINA_FALSE;
747 if ((!filename) || (!filename[0])) return EINA_FALSE;
743 748
744 if (!url_con->url) 749 if (stat(filename, &file_info))
745 return EINA_FALSE; 750 return EINA_FALSE;
746 751
747 if (filename) 752 snprintf(userpwd, sizeof(userpwd), "%s:%s", user, pass);
753 ret = curl_easy_setopt(url_con->curl_easy, CURLOPT_USERPWD, userpwd);
754 if (ret != CURLE_OK)
748 { 755 {
749 if (stat(filename, &file_info)) 756 ERR("Could not set username and password for FTP upload: %s",
750 return EINA_FALSE; 757 curl_easy_strerror(ret));
751 758 return EINA_FALSE;
752 snprintf(userpwd, sizeof(userpwd), "%s:%s", user, pass); 759 }
753 ret = curl_easy_setopt(url_con->curl_easy, CURLOPT_USERPWD, userpwd);
754 if (ret != CURLE_OK)
755 {
756 ERR("Could not set username and password for FTP upload: %s",
757 curl_easy_strerror(ret));
758 return EINA_FALSE;
759 }
760 760
761 char tmp[PATH_MAX]; 761 char tmp[PATH_MAX];
762 snprintf(tmp, PATH_MAX, "%s", filename); 762 snprintf(tmp, PATH_MAX, "%s", filename);
763 763
764 if (upload_dir) 764 if (upload_dir)
765 snprintf(url, sizeof(url), "ftp://%s/%s/%s", url_con->url, 765 snprintf(url, sizeof(url), "ftp://%s/%s/%s", url_con->url,
766 upload_dir, basename(tmp)); 766 upload_dir, basename(tmp));
767 else 767 else
768 snprintf(url, sizeof(url), "ftp://%s/%s", url_con->url, 768 snprintf(url, sizeof(url), "ftp://%s/%s", url_con->url,
769 basename(tmp)); 769 basename(tmp));
770 770
771 if (!ecore_con_url_url_set(url_con, url)) 771 if (!ecore_con_url_url_set(url_con, url))
772 return EINA_FALSE; 772 return EINA_FALSE;
773 773
774 curl_easy_setopt(url_con->curl_easy, CURLOPT_INFILESIZE_LARGE, 774 curl_easy_setopt(url_con->curl_easy, CURLOPT_INFILESIZE_LARGE,
775 (curl_off_t)file_info.st_size); 775 (curl_off_t)file_info.st_size);
776 curl_easy_setopt(url_con->curl_easy, CURLOPT_UPLOAD, 1); 776 curl_easy_setopt(url_con->curl_easy, CURLOPT_UPLOAD, 1);
777 curl_easy_setopt(url_con->curl_easy, CURLOPT_READFUNCTION, 777 curl_easy_setopt(url_con->curl_easy, CURLOPT_READFUNCTION,
778 _ecore_con_url_read_cb); 778 _ecore_con_url_read_cb);
779 779
780 fd = fopen(filename, "rb"); 780 fd = fopen(filename, "rb");
781 if (!fd) 781 if (!fd)
782 { 782 {
783 ERR("Could not open \"%s\" for FTP upload", filename); 783 ERR("Could not open \"%s\" for FTP upload", filename);
784 return EINA_FALSE; 784 return EINA_FALSE;
785 }
786 curl_easy_setopt(url_con->curl_easy, CURLOPT_READDATA, fd);
787
788 return _ecore_con_url_perform(url_con);
789 } 785 }
786 curl_easy_setopt(url_con->curl_easy, CURLOPT_READDATA, fd);
787
788 return _ecore_con_url_perform(url_con);
790#else 789#else
791 return EINA_FALSE; 790 return EINA_FALSE;
792 (void)url_con; 791 (void)url_con;
@@ -795,8 +794,6 @@ ecore_con_url_ftp_upload(Ecore_Con_Url *url_con,
795 (void)pass; 794 (void)pass;
796 (void)upload_dir; 795 (void)upload_dir;
797#endif 796#endif
798
799 return EINA_FALSE;
800} 797}
801 798
802EAPI void 799EAPI void
@@ -813,6 +810,7 @@ ecore_con_url_cookies_init(Ecore_Con_Url *url_con)
813 return; 810 return;
814 } 811 }
815 812
813 if (url_con->dead) return;
816 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIEFILE, ""); 814 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIEFILE, "");
817#else 815#else
818 return; 816 return;
@@ -834,6 +832,7 @@ ecore_con_url_cookies_ignore_old_session_set(Ecore_Con_Url *url_con, Eina_Bool i
834 return; 832 return;
835 } 833 }
836 834
835 if (url_con->dead) return;
837 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIESESSION, ignore); 836 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIESESSION, ignore);
838#else 837#else
839 return; 838 return;
@@ -856,6 +855,7 @@ ecore_con_url_cookies_clear(Ecore_Con_Url *url_con)
856 return; 855 return;
857 } 856 }
858 857
858 if (url_con->dead) return;
859 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIELIST, "ALL"); 859 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIELIST, "ALL");
860#else 860#else
861 return; 861 return;
@@ -877,6 +877,7 @@ ecore_con_url_cookies_session_clear(Ecore_Con_Url *url_con)
877 return; 877 return;
878 } 878 }
879 879
880 if (url_con->dead) return;
880 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIELIST, "SESS"); 881 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIELIST, "SESS");
881#else 882#else
882 return; 883 return;
@@ -885,7 +886,7 @@ ecore_con_url_cookies_session_clear(Ecore_Con_Url *url_con)
885} 886}
886 887
887EAPI void 888EAPI void
888ecore_con_url_cookies_file_add(Ecore_Con_Url *url_con, const char * const file_name) 889ecore_con_url_cookies_file_add(Ecore_Con_Url *url_con, const char *const file_name)
889{ 890{
890#ifdef HAVE_CURL 891#ifdef HAVE_CURL
891 if (!url_con) 892 if (!url_con)
@@ -898,6 +899,7 @@ ecore_con_url_cookies_file_add(Ecore_Con_Url *url_con, const char * const file_n
898 return; 899 return;
899 } 900 }
900 901
902 if (url_con->dead) return;
901 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIEFILE, file_name); 903 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIEFILE, file_name);
902#else 904#else
903 return; 905 return;
@@ -907,7 +909,7 @@ ecore_con_url_cookies_file_add(Ecore_Con_Url *url_con, const char * const file_n
907} 909}
908 910
909EAPI Eina_Bool 911EAPI Eina_Bool
910ecore_con_url_cookies_jar_file_set(Ecore_Con_Url *url_con, const char * const cookiejar_file) 912ecore_con_url_cookies_jar_file_set(Ecore_Con_Url *url_con, const char *const cookiejar_file)
911{ 913{
912#ifdef HAVE_CURL 914#ifdef HAVE_CURL
913 CURLcode ret; 915 CURLcode ret;
@@ -922,6 +924,7 @@ ecore_con_url_cookies_jar_file_set(Ecore_Con_Url *url_con, const char * const co
922 return EINA_FALSE; 924 return EINA_FALSE;
923 } 925 }
924 926
927 if (url_con->dead) return EINA_FALSE;
925 ret = curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIEJAR, 928 ret = curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIEJAR,
926 cookiejar_file); 929 cookiejar_file);
927 if (ret != CURLE_OK) 930 if (ret != CURLE_OK)
@@ -953,6 +956,7 @@ ecore_con_url_cookies_jar_write(Ecore_Con_Url *url_con)
953 return; 956 return;
954 } 957 }
955 958
959 if (url_con->dead) return;
956 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIELIST, "FLUSH"); 960 curl_easy_setopt(url_con->curl_easy, CURLOPT_COOKIELIST, "FLUSH");
957#else 961#else
958 return; 962 return;
@@ -961,8 +965,7 @@ ecore_con_url_cookies_jar_write(Ecore_Con_Url *url_con)
961} 965}
962 966
963EAPI void 967EAPI void
964ecore_con_url_verbose_set(Ecore_Con_Url *url_con, 968ecore_con_url_verbose_set(Ecore_Con_Url *url_con, Eina_Bool verbose)
965 Eina_Bool verbose)
966{ 969{
967#ifdef HAVE_CURL 970#ifdef HAVE_CURL
968 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 971 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -972,11 +975,10 @@ ecore_con_url_verbose_set(Ecore_Con_Url *url_con,
972 return; 975 return;
973 } 976 }
974 977
975 if (eina_list_data_find(_url_con_list, url_con)) return;
976
977 if (!url_con->url) 978 if (!url_con->url)
978 return; 979 return;
979 980
981 if (url_con->dead) return;
980 curl_easy_setopt(url_con->curl_easy, CURLOPT_VERBOSE, (int)verbose); 982 curl_easy_setopt(url_con->curl_easy, CURLOPT_VERBOSE, (int)verbose);
981#else 983#else
982 return; 984 return;
@@ -986,8 +988,7 @@ ecore_con_url_verbose_set(Ecore_Con_Url *url_con,
986} 988}
987 989
988EAPI void 990EAPI void
989ecore_con_url_ftp_use_epsv_set(Ecore_Con_Url *url_con, 991ecore_con_url_ftp_use_epsv_set(Ecore_Con_Url *url_con, Eina_Bool use_epsv)
990 Eina_Bool use_epsv)
991{ 992{
992#ifdef HAVE_CURL 993#ifdef HAVE_CURL
993 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 994 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -997,11 +998,10 @@ ecore_con_url_ftp_use_epsv_set(Ecore_Con_Url *url_con,
997 return; 998 return;
998 } 999 }
999 1000
1000 if (eina_list_data_find(_url_con_list, url_con)) return;
1001
1002 if (!url_con->url) 1001 if (!url_con->url)
1003 return; 1002 return;
1004 1003
1004 if (url_con->dead) return;
1005 curl_easy_setopt(url_con->curl_easy, CURLOPT_FTP_USE_EPSV, (int)use_epsv); 1005 curl_easy_setopt(url_con->curl_easy, CURLOPT_FTP_USE_EPSV, (int)use_epsv);
1006#else 1006#else
1007 return; 1007 return;
@@ -1023,8 +1023,7 @@ ecore_con_url_ftp_use_epsv_set(Ecore_Con_Url *url_con,
1023 * @since 1.1.0 1023 * @since 1.1.0
1024 */ 1024 */
1025EAPI void 1025EAPI void
1026ecore_con_url_ssl_verify_peer_set(Ecore_Con_Url *url_con, 1026ecore_con_url_ssl_verify_peer_set(Ecore_Con_Url *url_con, Eina_Bool verify)
1027 Eina_Bool verify)
1028{ 1027{
1029#ifdef HAVE_CURL 1028#ifdef HAVE_CURL
1030 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 1029 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
@@ -1034,11 +1033,10 @@ ecore_con_url_ssl_verify_peer_set(Ecore_Con_Url *url_con,
1034 return; 1033 return;
1035 } 1034 }
1036 1035
1037 if (eina_list_data_find(_url_con_list, url_con)) return;
1038
1039 if (!url_con->url) 1036 if (!url_con->url)
1040 return; 1037 return;
1041 1038
1039 if (url_con->dead) return;
1042 curl_easy_setopt(url_con->curl_easy, CURLOPT_SSL_VERIFYPEER, (int)verify); 1040 curl_easy_setopt(url_con->curl_easy, CURLOPT_SSL_VERIFYPEER, (int)verify);
1043#else 1041#else
1044 return; 1042 return;
@@ -1073,19 +1071,19 @@ ecore_con_url_ssl_ca_set(Ecore_Con_Url *url_con, const char *ca_path)
1073#ifdef HAVE_CURL 1071#ifdef HAVE_CURL
1074 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL)) 1072 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
1075 { 1073 {
1076 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, "ecore_con_url_ssl_ca_set"); 1074 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, "ecore_con_url_ssl_ca_set");
1077 return -1; 1075 return -1;
1078 } 1076 }
1079 1077
1080 if (eina_list_data_find(_url_con_list, url_con)) return -1;
1081 if (!url_con->url) return -1; 1078 if (!url_con->url) return -1;
1079 if (url_con->dead) return -1;
1082 if (ca_path == NULL) 1080 if (ca_path == NULL)
1083 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_SSL_VERIFYPEER, 0); 1081 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_SSL_VERIFYPEER, 0);
1084 else 1082 else
1085 { 1083 {
1086 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_SSL_VERIFYPEER, 1); 1084 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_SSL_VERIFYPEER, 1);
1087 if (!res) 1085 if (!res)
1088 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_CAINFO, ca_path); 1086 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_CAINFO, ca_path);
1089 } 1087 }
1090#else 1088#else
1091 return -1; 1089 return -1;
@@ -1097,6 +1095,47 @@ ecore_con_url_ssl_ca_set(Ecore_Con_Url *url_con, const char *ca_path)
1097} 1095}
1098 1096
1099EAPI Eina_Bool 1097EAPI Eina_Bool
1098ecore_con_url_http_version_set(Ecore_Con_Url *url_con, Ecore_Con_Url_Http_Version version)
1099{
1100#ifdef HAVE_CURL
1101 int res = -1;
1102 if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
1103 {
1104 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, "ecore_con_url_http_version_set");
1105 return EINA_FALSE;
1106 }
1107 if (url_con->dead) return EINA_FALSE;
1108 switch (version)
1109 {
1110 case ECORE_CON_URL_HTTP_VERSION_1_0:
1111 res = curl_easy_setopt(url_con->curl_easy,
1112 CURLOPT_HTTP_VERSION,
1113 CURL_HTTP_VERSION_1_0);
1114 break;
1115
1116 case ECORE_CON_URL_HTTP_VERSION_1_1:
1117 res = curl_easy_setopt(url_con->curl_easy,
1118 CURLOPT_HTTP_VERSION,
1119 CURL_HTTP_VERSION_1_1);
1120 break;
1121
1122 default:
1123 break;
1124 }
1125 if (res != CURLE_OK)
1126 {
1127 ERR("curl http version setting failed: %s", curl_easy_strerror(res));
1128 return EINA_FALSE;
1129 }
1130 return EINA_TRUE;
1131#else
1132 (void)url_con;
1133 (void)version;
1134 return EINA_FALSE;
1135#endif
1136}
1137
1138EAPI Eina_Bool
1100ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy) 1139ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy)
1101{ 1140{
1102#ifdef HAVE_CURL 1141#ifdef HAVE_CURL
@@ -1109,8 +1148,8 @@ ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy)
1109 return EINA_FALSE; 1148 return EINA_FALSE;
1110 } 1149 }
1111 1150
1112 if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE;
1113 if (!url_con->url) return EINA_FALSE; 1151 if (!url_con->url) return EINA_FALSE;
1152 if (url_con->dead) return EINA_FALSE;
1114 1153
1115 if (!proxy) res = curl_easy_setopt(url_con->curl_easy, CURLOPT_PROXY, ""); 1154 if (!proxy) res = curl_easy_setopt(url_con->curl_easy, CURLOPT_PROXY, "");
1116 else 1155 else
@@ -1121,14 +1160,20 @@ ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy)
1121 if (vers->version_num < 0x71507) 1160 if (vers->version_num < 0x71507)
1122 { 1161 {
1123 url_con->proxy_type = CURLPROXY_HTTP; 1162 url_con->proxy_type = CURLPROXY_HTTP;
1124 if (strstr(proxy, "socks4")) url_con->proxy_type = CURLPROXY_SOCKS4; 1163 if (strstr(proxy, "socks4a"))
1125 else if (strstr(proxy, "socks4a")) url_con->proxy_type = CURLPROXY_SOCKS4A; 1164 url_con->proxy_type = CURLPROXY_SOCKS4A;
1126 else if (strstr(proxy, "socks5")) url_con->proxy_type = CURLPROXY_SOCKS5; 1165 else if (strstr(proxy, "socks4"))
1127 else if (strstr(proxy, "socks5h")) url_con->proxy_type = CURLPROXY_SOCKS5_HOSTNAME; 1166 url_con->proxy_type = CURLPROXY_SOCKS4;
1128 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_PROXYTYPE, url_con->proxy_type); 1167 else if (strstr(proxy, "socks5h"))
1168 url_con->proxy_type = CURLPROXY_SOCKS5_HOSTNAME;
1169 else if (strstr(proxy, "socks5"))
1170 url_con->proxy_type = CURLPROXY_SOCKS5;
1171 res = curl_easy_setopt(url_con->curl_easy, CURLOPT_PROXYTYPE,
1172 url_con->proxy_type);
1129 if (res != CURLE_OK) 1173 if (res != CURLE_OK)
1130 { 1174 {
1131 ERR("curl proxy type setting failed: %s", curl_easy_strerror(res)); 1175 ERR("curl proxy type setting failed: %s",
1176 curl_easy_strerror(res));
1132 url_con->proxy_type = -1; 1177 url_con->proxy_type = -1;
1133 return EINA_FALSE; 1178 return EINA_FALSE;
1134 } 1179 }
@@ -1159,7 +1204,7 @@ ecore_con_url_timeout_set(Ecore_Con_Url *url_con, double timeout)
1159 return; 1204 return;
1160 } 1205 }
1161 1206
1162 if (eina_list_data_find(_url_con_list, url_con)) return; 1207 if (url_con->dead) return;
1163 if (!url_con->url || timeout < 0) return; 1208 if (!url_con->url || timeout < 0) return;
1164 if (url_con->timer) ecore_timer_del(url_con->timer); 1209 if (url_con->timer) ecore_timer_del(url_con->timer);
1165 url_con->timer = ecore_timer_add(timeout, _ecore_con_url_timeout_cb, url_con); 1210 url_con->timer = ecore_timer_add(timeout, _ecore_con_url_timeout_cb, url_con);
@@ -1181,9 +1226,9 @@ ecore_con_url_proxy_username_set(Ecore_Con_Url *url_con, const char *username)
1181 return EINA_FALSE; 1226 return EINA_FALSE;
1182 } 1227 }
1183 1228
1184 if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE; 1229 if (url_con->dead) return EINA_FALSE;
1185 if (!url_con->url) return EINA_FALSE; 1230 if (!url_con->url) return EINA_FALSE;
1186 if (!username) return EINA_FALSE; 1231 if ((!username) || (!username[0])) return EINA_FALSE;
1187 if (url_con->proxy_type == CURLPROXY_SOCKS4 || url_con->proxy_type == CURLPROXY_SOCKS4A) 1232 if (url_con->proxy_type == CURLPROXY_SOCKS4 || url_con->proxy_type == CURLPROXY_SOCKS4A)
1188 { 1233 {
1189 ERR("Proxy type should be socks5 and above"); 1234 ERR("Proxy type should be socks5 and above");
@@ -1214,8 +1259,8 @@ ecore_con_url_proxy_password_set(Ecore_Con_Url *url_con, const char *password)
1214 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, "ecore_con_url_proxy_password_set"); 1259 ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, "ecore_con_url_proxy_password_set");
1215 return EINA_FALSE; 1260 return EINA_FALSE;
1216 } 1261 }
1217 if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE;
1218 if (!url_con->url) return EINA_FALSE; 1262 if (!url_con->url) return EINA_FALSE;
1263 if (url_con->dead) return EINA_FALSE;
1219 if (!password) return EINA_FALSE; 1264 if (!password) return EINA_FALSE;
1220 if (url_con->proxy_type == CURLPROXY_SOCKS4 || url_con->proxy_type == CURLPROXY_SOCKS4A) 1265 if (url_con->proxy_type == CURLPROXY_SOCKS4 || url_con->proxy_type == CURLPROXY_SOCKS4A)
1221 { 1266 {
@@ -1242,19 +1287,61 @@ ecore_con_url_proxy_password_set(Ecore_Con_Url *url_con, const char *password)
1242 */ 1287 */
1243 1288
1244#ifdef HAVE_CURL 1289#ifdef HAVE_CURL
1290static void
1291_ecore_con_url_status_get(Ecore_Con_Url *url_con)
1292{
1293 long status = 0;
1294
1295 if (!url_con->curl_easy) return;
1296 if (!curl_easy_getinfo(url_con->curl_easy, CURLINFO_RESPONSE_CODE, &status))
1297 url_con->status = status;
1298 else
1299 url_con->status = 0;
1300}
1301
1302static void
1303_ecore_con_url_event_url_complete(Ecore_Con_Url *url_con, CURLMsg *curlmsg)
1304{
1305 Ecore_Con_Event_Url_Complete *e;
1306
1307 e = calloc(1, sizeof(Ecore_Con_Event_Url_Complete));
1308 if (!e) return;
1309
1310 if (curlmsg && (curlmsg->data.result == CURLE_OK))
1311 {
1312 if (!url_con->status)
1313 _ecore_con_url_status_get(url_con);
1314 }
1315 else if (curlmsg)
1316 ERR("Curl message have errors: %d", curlmsg->data.result);
1317 else
1318 CRIT("THIS IS BAD.");
1319
1320 e->status = url_con->status;
1321 e->url_con = url_con;
1322 url_con->event_count++;
1323 ecore_event_add(ECORE_CON_EVENT_URL_COMPLETE, e, (Ecore_End_Cb)_ecore_con_event_url_free, url_con);
1324}
1325
1326static void
1327_ecore_con_url_multi_remove(Ecore_Con_Url *url_con)
1328{
1329 CURLMcode ret;
1330
1331 ret = curl_multi_remove_handle(_curlm, url_con->curl_easy);
1332 url_con->multi = EINA_FALSE;
1333 if (ret != CURLM_OK) ERR("curl_multi_remove_handle failed: %s", curl_multi_strerror(ret));
1334}
1335
1245static Eina_Bool 1336static Eina_Bool
1246_ecore_con_url_timeout_cb(void *data) 1337_ecore_con_url_timeout_cb(void *data)
1247{ 1338{
1248 Ecore_Con_Url *url_con = data; 1339 Ecore_Con_Url *url_con = data;
1249 CURLMcode ret;
1250 Ecore_Con_Event_Url_Complete *e;
1251 1340
1252 if (!url_con) return ECORE_CALLBACK_CANCEL; 1341 if (!url_con) return ECORE_CALLBACK_CANCEL;
1253 if (!url_con->curl_easy) return ECORE_CALLBACK_CANCEL; 1342 if (!url_con->curl_easy) return ECORE_CALLBACK_CANCEL;
1254 if (!eina_list_data_find(_url_con_list, url_con)) return ECORE_CALLBACK_CANCEL;
1255 1343
1256 ret = curl_multi_remove_handle(_curlm, url_con->curl_easy); 1344 _ecore_con_url_multi_remove(url_con);
1257 if (ret != CURLM_OK) ERR("curl_multi_remove_handle failed: %s", curl_multi_strerror(ret));
1258 _url_con_list = eina_list_remove(_url_con_list, url_con); 1345 _url_con_list = eina_list_remove(_url_con_list, url_con);
1259 1346
1260 curl_slist_free_all(url_con->headers); 1347 curl_slist_free_all(url_con->headers);
@@ -1262,21 +1349,12 @@ _ecore_con_url_timeout_cb(void *data)
1262 1349
1263 url_con->timer = NULL; 1350 url_con->timer = NULL;
1264 1351
1265 e = calloc(1, sizeof(Ecore_Con_Event_Url_Complete)); 1352 _ecore_con_url_event_url_complete(url_con, NULL);
1266 if (e)
1267 {
1268 e->url_con = url_con;
1269 e->status = 0;
1270 ecore_event_add(ECORE_CON_EVENT_URL_COMPLETE, e, _ecore_con_event_url_free, NULL);
1271 }
1272 return ECORE_CALLBACK_CANCEL; 1353 return ECORE_CALLBACK_CANCEL;
1273} 1354}
1274 1355
1275static size_t 1356static size_t
1276_ecore_con_url_data_cb(void *buffer, 1357_ecore_con_url_data_cb(void *buffer, size_t size, size_t nitems, void *userp)
1277 size_t size,
1278 size_t nitems,
1279 void *userp)
1280{ 1358{
1281 Ecore_Con_Url *url_con; 1359 Ecore_Con_Url *url_con;
1282 Ecore_Con_Event_Url_Data *e; 1360 Ecore_Con_Event_Url_Data *e;
@@ -1295,6 +1373,7 @@ _ecore_con_url_data_cb(void *buffer,
1295 1373
1296 url_con->received += real_size; 1374 url_con->received += real_size;
1297 1375
1376 INF("reading from %s", url_con->url);
1298 if (url_con->write_fd < 0) 1377 if (url_con->write_fd < 0)
1299 { 1378 {
1300 e = 1379 e =
@@ -1305,7 +1384,8 @@ _ecore_con_url_data_cb(void *buffer,
1305 e->url_con = url_con; 1384 e->url_con = url_con;
1306 e->size = real_size; 1385 e->size = real_size;
1307 memcpy(e->data, buffer, real_size); 1386 memcpy(e->data, buffer, real_size);
1308 ecore_event_add(ECORE_CON_EVENT_URL_DATA, e, _ecore_con_event_url_free, NULL); 1387 url_con->event_count++;
1388 ecore_event_add(ECORE_CON_EVENT_URL_DATA, e, (Ecore_End_Cb)_ecore_con_event_url_free, url_con);
1309 } 1389 }
1310 } 1390 }
1311 else 1391 else
@@ -1336,10 +1416,7 @@ _ecore_con_url_data_cb(void *buffer,
1336} 1416}
1337 1417
1338static size_t 1418static size_t
1339_ecore_con_url_header_cb(void *ptr, 1419_ecore_con_url_header_cb(void *ptr, size_t size, size_t nitems, void *stream)
1340 size_t size,
1341 size_t nitems,
1342 void *stream)
1343{ 1420{
1344 size_t real_size = size * nitems; 1421 size_t real_size = size * nitems;
1345 Ecore_Con_Url *url_con = stream; 1422 Ecore_Con_Url *url_con = stream;
@@ -1358,11 +1435,7 @@ _ecore_con_url_header_cb(void *ptr,
1358} 1435}
1359 1436
1360static int 1437static int
1361_ecore_con_url_progress_cb(void *clientp, 1438_ecore_con_url_progress_cb(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
1362 double dltotal,
1363 double dlnow,
1364 double ultotal,
1365 double ulnow)
1366{ 1439{
1367 Ecore_Con_Event_Url_Progress *e; 1440 Ecore_Con_Event_Url_Progress *e;
1368 Ecore_Con_Url *url_con; 1441 Ecore_Con_Url *url_con;
@@ -1377,17 +1450,15 @@ _ecore_con_url_progress_cb(void *clientp,
1377 e->down.now = dlnow; 1450 e->down.now = dlnow;
1378 e->up.total = ultotal; 1451 e->up.total = ultotal;
1379 e->up.now = ulnow; 1452 e->up.now = ulnow;
1380 ecore_event_add(ECORE_CON_EVENT_URL_PROGRESS, e, _ecore_con_event_url_free, NULL); 1453 url_con->event_count++;
1454 ecore_event_add(ECORE_CON_EVENT_URL_PROGRESS, e, (Ecore_End_Cb)_ecore_con_event_url_free, url_con);
1381 } 1455 }
1382 1456
1383 return 0; 1457 return 0;
1384} 1458}
1385 1459
1386static size_t 1460static size_t
1387_ecore_con_url_read_cb(void *ptr, 1461_ecore_con_url_read_cb(void *ptr, size_t size, size_t nitems, void *stream)
1388 size_t size,
1389 size_t nitems,
1390 void *stream)
1391{ 1462{
1392 size_t retcode = fread(ptr, size, nitems, stream); 1463 size_t retcode = fread(ptr, size, nitems, stream);
1393 1464
@@ -1418,96 +1489,38 @@ _ecore_con_url_info_read(void)
1418 1489
1419 while ((curlmsg = curl_multi_info_read(_curlm, &n_remaining))) 1490 while ((curlmsg = curl_multi_info_read(_curlm, &n_remaining)))
1420 { 1491 {
1492 Eina_List *l, *ll;
1493 Ecore_Con_Url *url_con = NULL;
1494 DBG("Curl message: %d", curlmsg->msg);
1495
1421 if (curlmsg->msg == CURLMSG_DONE) 1496 if (curlmsg->msg == CURLMSG_DONE)
1422 { 1497 {
1423 Eina_List *l, *ll;
1424 Ecore_Con_Url *url_con;
1425
1426 EINA_LIST_FOREACH_SAFE(_url_con_list, l, ll, url_con) 1498 EINA_LIST_FOREACH_SAFE(_url_con_list, l, ll, url_con)
1427 { 1499 {
1428 if (curlmsg->easy_handle == url_con->curl_easy) 1500 if (curlmsg->easy_handle == url_con->curl_easy)
1429 { 1501 _ecore_con_url_event_url_complete(url_con, curlmsg);
1430 CURLMcode ret;
1431 Ecore_Con_Event_Url_Complete *e;
1432
1433 e = calloc(1, sizeof(Ecore_Con_Event_Url_Complete));
1434 if (e)
1435 {
1436 e->url_con = url_con;
1437 e->status = 0;
1438 if (curlmsg->data.result == CURLE_OK)
1439 {
1440 long status; /* curl API uses long, not int */
1441 status = 0;
1442 curl_easy_getinfo(curlmsg->easy_handle, CURLINFO_RESPONSE_CODE, &status);
1443 e->status = status;
1444 }
1445 ecore_event_add(ECORE_CON_EVENT_URL_COMPLETE, e, _ecore_con_event_url_free, NULL);
1446 }
1447
1448 ret = curl_multi_remove_handle(_curlm, url_con->curl_easy);
1449 if (ret != CURLM_OK) ERR("curl_multi_remove_handle failed: %s", curl_multi_strerror(ret));
1450 _url_con_list = eina_list_remove(_url_con_list, url_con);
1451 break;
1452 }
1453 } 1502 }
1454 } 1503 }
1455 } 1504 }
1456} 1505}
1457 1506
1458static void 1507static void
1459_ecore_con_url_curl_clear(void) 1508_ecore_con_url_curl_clear(void)
1460{ 1509{
1510 Ecore_Fd_Handler *fdh;
1461 Ecore_Con_Url *url_con; 1511 Ecore_Con_Url *url_con;
1462 1512
1463 FD_ZERO(&_current_fd_set); 1513 EINA_LIST_FREE(_fd_hd_list, fdh) ecore_main_fd_handler_del(fdh);
1464 if (_fd_hd_list) 1514 EINA_LIST_FREE(_url_con_list, url_con) _ecore_con_url_multi_remove(url_con);
1465 {
1466 Ecore_Fd_Handler *fd_handler;
1467 EINA_LIST_FREE(_fd_hd_list, fd_handler)
1468 {
1469 int fd = ecore_main_fd_handler_fd_get(fd_handler);
1470 FD_CLR(fd, &_current_fd_set);
1471 // FIXME: ecore_main_fd_handler_del() sometimes give errors
1472 // because curl do not make fd itself controlled by users, but it can be ignored.
1473 ecore_main_fd_handler_del(fd_handler);
1474 }
1475 }
1476
1477 EINA_LIST_FREE(_url_con_list, url_con)
1478 {
1479 CURLMcode ret;
1480 Ecore_Con_Event_Url_Complete *e;
1481
1482 e = calloc(1, sizeof(Ecore_Con_Event_Url_Complete));
1483 if (e)
1484 {
1485 e->url_con = url_con;
1486 e->status = 0;
1487 ecore_event_add(ECORE_CON_EVENT_URL_COMPLETE, e, _ecore_con_event_url_free, NULL);
1488 }
1489 ret = curl_multi_remove_handle(_curlm, url_con->curl_easy);
1490 if (ret != CURLM_OK) ERR("curl_multi_remove_handle failed: %s", curl_multi_strerror(ret));
1491 }
1492} 1515}
1493 1516
1494static Eina_Bool 1517static Eina_Bool
1495_ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__) 1518_ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
1496{ 1519{
1497 if (_fd_hd_list) 1520 Ecore_Fd_Handler *fdh;
1498 { 1521 EINA_LIST_FREE(_fd_hd_list, fdh) ecore_main_fd_handler_del(fdh);
1499 Ecore_Fd_Handler *fd_handler; 1522 ecore_timer_interval_set(_curl_timer, 0.1);
1500 EINA_LIST_FREE(_fd_hd_list, fd_handler) 1523 return ECORE_CALLBACK_CANCEL;
1501 {
1502 int fd = ecore_main_fd_handler_fd_get(fd_handler);
1503 FD_CLR(fd, &_current_fd_set);
1504 // FIXME: ecore_main_fd_handler_del() sometimes give errors
1505 // because curl do not make fd itself controlled by users, but it can be ignored.
1506 ecore_main_fd_handler_del(fd_handler);
1507 }
1508 }
1509 ecore_timer_thaw(_curl_timeout);
1510 return ECORE_CALLBACK_RENEW;
1511} 1524}
1512 1525
1513static void 1526static void
@@ -1516,7 +1529,6 @@ _ecore_con_url_fdset(void)
1516 CURLMcode ret; 1529 CURLMcode ret;
1517 fd_set read_set, write_set, exc_set; 1530 fd_set read_set, write_set, exc_set;
1518 int fd, fd_max; 1531 int fd, fd_max;
1519 Ecore_Fd_Handler *fd_handler;
1520 1532
1521 FD_ZERO(&read_set); 1533 FD_ZERO(&read_set);
1522 FD_ZERO(&write_set); 1534 FD_ZERO(&write_set);
@@ -1532,53 +1544,61 @@ _ecore_con_url_fdset(void)
1532 for (fd = 0; fd <= fd_max; fd++) 1544 for (fd = 0; fd <= fd_max; fd++)
1533 { 1545 {
1534 int flags = 0; 1546 int flags = 0;
1535 if (FD_ISSET(fd, &read_set)) flags |= ECORE_FD_READ; 1547 if (FD_ISSET(fd, &read_set)) flags |= ECORE_FD_READ;
1536 if (FD_ISSET(fd, &write_set)) flags |= ECORE_FD_WRITE; 1548 if (FD_ISSET(fd, &write_set)) flags |= ECORE_FD_WRITE;
1537 if (FD_ISSET(fd, &exc_set)) flags |= ECORE_FD_ERROR; 1549 if (FD_ISSET(fd, &exc_set)) flags |= ECORE_FD_ERROR;
1538 if (flags) 1550 if (flags)
1539 { 1551 {
1540 if (!FD_ISSET(fd, &_current_fd_set)) 1552 // FIXME: Who is owner (easy_handle) of this fd?? (Curl do not give this info.)
1541 { 1553 // This cause "Failed to delete epoll fd xx!" error messages
1542 FD_SET(fd, &_current_fd_set); 1554 Ecore_Fd_Handler *fd_handler;
1543 fd_handler = ecore_main_fd_handler_add(fd, flags, _ecore_con_url_fd_handler, NULL, NULL, NULL); 1555 fd_handler = ecore_main_fd_handler_add(fd, flags,
1544 if (fd_handler) _fd_hd_list = eina_list_append(_fd_hd_list, fd_handler); 1556 _ecore_con_url_fd_handler,
1545 ecore_timer_freeze(_curl_timeout); 1557 NULL, NULL, NULL);
1546 } 1558 if (fd_handler)
1559 _fd_hd_list = eina_list_append(_fd_hd_list, fd_handler);
1547 } 1560 }
1548 } 1561 }
1549} 1562}
1550 1563
1551static Eina_Bool 1564static Eina_Bool
1552_ecore_con_url_idler_handler(void *data __UNUSED__) 1565_ecore_con_url_timer(void *data __UNUSED__)
1553{ 1566{
1567 Ecore_Fd_Handler *fdh;
1554 int still_running; 1568 int still_running;
1555 CURLMcode ret; 1569 CURLMcode ret;
1556 1570
1571 EINA_LIST_FREE(_fd_hd_list, fdh) ecore_main_fd_handler_del(fdh);
1572 _ecore_con_url_info_read();
1573
1557 ret = curl_multi_perform(_curlm, &still_running); 1574 ret = curl_multi_perform(_curlm, &still_running);
1558 if (ret == CURLM_CALL_MULTI_PERFORM) 1575 if (ret == CURLM_CALL_MULTI_PERFORM)
1559 { 1576 {
1560 DBG("Call multiperform again"); 1577 DBG("curl_multi_perform() again immediately");
1561 return ECORE_CALLBACK_RENEW; 1578 return ECORE_CALLBACK_RENEW;
1562 } 1579 }
1563 else if (ret != CURLM_OK) 1580 else if (ret != CURLM_OK)
1564 { 1581 {
1565 ERR("curl_multi_perform() failed: %s", curl_multi_strerror(ret)); 1582 ERR("curl_multi_perform() failed: %s", curl_multi_strerror(ret));
1566 _ecore_con_url_curl_clear(); 1583 _ecore_con_url_curl_clear();
1567 ecore_timer_freeze(_curl_timeout); 1584 ecore_timer_freeze(_curl_timer);
1568 return ECORE_CALLBACK_RENEW;
1569 } 1585 }
1570 1586
1571 _ecore_con_url_info_read();
1572 if (still_running) 1587 if (still_running)
1573 { 1588 {
1574 DBG("multiperform is still_running"); 1589 long ms;
1575 _ecore_con_url_fdset(); 1590 _ecore_con_url_fdset();
1591 curl_multi_timeout(_curlm, &ms);
1592 DBG("multiperform is still running: %d, timeout: %ld", still_running, ms);
1593 if (ms >= CURL_MIN_TIMEOUT || ms <= 0) ms = CURL_MIN_TIMEOUT;
1594 ecore_timer_interval_set(_curl_timer, (double)ms / 1000);
1576 } 1595 }
1577 else 1596 else
1578 { 1597 {
1579 DBG("multiperform ended"); 1598 DBG("multiperform ended");
1599 _ecore_con_url_info_read();
1580 _ecore_con_url_curl_clear(); 1600 _ecore_con_url_curl_clear();
1581 ecore_timer_freeze(_curl_timeout); 1601 ecore_timer_freeze(_curl_timer);
1582 } 1602 }
1583 1603
1584 return ECORE_CALLBACK_RENEW; 1604 return ECORE_CALLBACK_RENEW;
@@ -1596,17 +1616,20 @@ _ecore_con_url_perform(Ecore_Con_Url *url_con)
1596 return EINA_FALSE; 1616 return EINA_FALSE;
1597 } 1617 }
1598 1618
1619 url_con->multi = EINA_TRUE;
1599 _url_con_list = eina_list_append(_url_con_list, url_con); 1620 _url_con_list = eina_list_append(_url_con_list, url_con);
1600 ecore_timer_thaw(_curl_timeout); 1621 ecore_timer_thaw(_curl_timer);
1601 1622
1602 return EINA_TRUE; 1623 return EINA_TRUE;
1603} 1624}
1604 1625
1605static void 1626static void
1606_ecore_con_event_url_free(void *data __UNUSED__, 1627_ecore_con_event_url_free(Ecore_Con_Url *url_con, void *ev)
1607 void *ev)
1608{ 1628{
1609 free(ev); 1629 free(ev);
1630 url_con->event_count--;
1631 if (url_con->dead && (!url_con->event_count))
1632 ecore_con_url_free(url_con);
1610} 1633}
1611 1634
1612#endif 1635#endif
diff --git a/libraries/ecore/src/lib/ecore_config/Makefile.in b/libraries/ecore/src/lib/ecore_config/Makefile.in
index 6870d44..4b908cd 100644
--- a/libraries/ecore/src/lib/ecore_config/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_config/Makefile.in
@@ -55,16 +55,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
55 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 55 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
56 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 56 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
57 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 57 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
58 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 58 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
59 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 59 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
60 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 60 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
61 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 61 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
62 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 62 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
63 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 63 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
64 $(top_srcdir)/configure.ac
65am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
66 $(ACLOCAL_M4) 65 $(ACLOCAL_M4)
67mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 66mkinstalldirs = $(install_sh) -d
68CONFIG_HEADER = $(top_builddir)/config.h 67CONFIG_HEADER = $(top_builddir)/config.h
69CONFIG_CLEAN_FILES = 68CONFIG_CLEAN_FILES =
70CONFIG_CLEAN_VPATH_FILES = 69CONFIG_CLEAN_VPATH_FILES =
@@ -205,6 +204,8 @@ EVAS_LIBS = @EVAS_LIBS@
205EVIL_CFLAGS = @EVIL_CFLAGS@ 204EVIL_CFLAGS = @EVIL_CFLAGS@
206EVIL_LIBS = @EVIL_LIBS@ 205EVIL_LIBS = @EVIL_LIBS@
207EXEEXT = @EXEEXT@ 206EXEEXT = @EXEEXT@
207EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
208EXOTIC_LIBS = @EXOTIC_LIBS@
208FGREP = @FGREP@ 209FGREP = @FGREP@
209GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 210GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
210GLIB_CFLAGS = @GLIB_CFLAGS@ 211GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -260,6 +261,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
260PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 261PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
261PIXMAN_LIBS = @PIXMAN_LIBS@ 262PIXMAN_LIBS = @PIXMAN_LIBS@
262PKG_CONFIG = @PKG_CONFIG@ 263PKG_CONFIG = @PKG_CONFIG@
264PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
265PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
263POSUB = @POSUB@ 266POSUB = @POSUB@
264RANLIB = @RANLIB@ 267RANLIB = @RANLIB@
265SCIM_CFLAGS = @SCIM_CFLAGS@ 268SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -270,6 +273,7 @@ SDL_LIBS = @SDL_LIBS@
270SED = @SED@ 273SED = @SED@
271SET_MAKE = @SET_MAKE@ 274SET_MAKE = @SET_MAKE@
272SHELL = @SHELL@ 275SHELL = @SHELL@
276SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
273SSL_CFLAGS = @SSL_CFLAGS@ 277SSL_CFLAGS = @SSL_CFLAGS@
274SSL_LIBS = @SSL_LIBS@ 278SSL_LIBS = @SSL_LIBS@
275STRIP = @STRIP@ 279STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_directfb/Makefile.in b/libraries/ecore/src/lib/ecore_directfb/Makefile.in
index b7e1d29..f1b270a 100644
--- a/libraries/ecore/src/lib/ecore_directfb/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_directfb/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -190,6 +189,8 @@ EVAS_LIBS = @EVAS_LIBS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 189EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 190EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 191EXEEXT = @EXEEXT@
192EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
193EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 194FGREP = @FGREP@
194GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 195GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
195GLIB_CFLAGS = @GLIB_CFLAGS@ 196GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -245,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
245PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
246PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
247PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
248POSUB = @POSUB@ 251POSUB = @POSUB@
249RANLIB = @RANLIB@ 252RANLIB = @RANLIB@
250SCIM_CFLAGS = @SCIM_CFLAGS@ 253SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -255,6 +258,7 @@ SDL_LIBS = @SDL_LIBS@
255SED = @SED@ 258SED = @SED@
256SET_MAKE = @SET_MAKE@ 259SET_MAKE = @SET_MAKE@
257SHELL = @SHELL@ 260SHELL = @SHELL@
261SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
258SSL_CFLAGS = @SSL_CFLAGS@ 262SSL_CFLAGS = @SSL_CFLAGS@
259SSL_LIBS = @SSL_LIBS@ 263SSL_LIBS = @SSL_LIBS@
260STRIP = @STRIP@ 264STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_evas/Ecore_Evas.h b/libraries/ecore/src/lib/ecore_evas/Ecore_Evas.h
index 8d9abc4..a78824e 100644
--- a/libraries/ecore/src/lib/ecore_evas/Ecore_Evas.h
+++ b/libraries/ecore/src/lib/ecore_evas/Ecore_Evas.h
@@ -39,6 +39,9 @@
39 * @li @ref ecore_evas_callbacks_example_c 39 * @li @ref ecore_evas_callbacks_example_c
40 * @li @ref ecore_evas_object_example_c 40 * @li @ref ecore_evas_object_example_c
41 * @li @ref ecore_evas_basics_example_c 41 * @li @ref ecore_evas_basics_example_c
42 * @li @ref Ecore_Evas_Window_Sizes_Example_c
43 * @li @ref Ecore_Evas_Buffer_Example_01_c
44 * @li @ref Ecore_Evas_Buffer_Example_02_c
42 */ 45 */
43 46
44/* FIXME: 47/* FIXME:
@@ -60,10 +63,26 @@ extern "C" {
60/** 63/**
61 * @defgroup Ecore_Evas_Group Ecore_Evas wrapper/helper set of functions 64 * @defgroup Ecore_Evas_Group Ecore_Evas wrapper/helper set of functions
62 * 65 *
66 * Ecore evas is a set of functions that makes it easy to tie together ecore's
67 * main loop and input handling to evas. As such it's a natural base for EFL
68 * applications. While this combination makes it easy to create the basic
69 * aspects all applications need, for normal applications(ones with buttons,
70 * checkboxes and layouts) one should consider using Elementary.
71 *
72 * Ecore evas is extremely well suited for applications that are not based on
73 * widgets. It has a main loop that delivers events, does basic window handling
74 * and leaves all of the drawing up to the user. This works very well if used
75 * in conjunction with Edje or if doing custom drawing as, for example, is done
76 * in games.
77 *
63 * This is a list of examples of these functions: 78 * This is a list of examples of these functions:
64 * - @ref Ecore_Evas_Window_Sizes_Example_c 79 * @li @ref ecore_evas_basics_example_c
65 * - @ref Ecore_Evas_Buffer_Example_01_c 80 * @li @ref ecore_evas_object_example_c
66 * - @ref Ecore_Evas_Buffer_Example_02_c 81 * @li @ref ecore_evas_callbacks_example_c
82 * @li @ref Ecore_Evas_Window_Sizes_Example_c
83 * @li @ref Ecore_Evas_Buffer_Example_01_c
84 * @li @ref Ecore_Evas_Buffer_Example_02_c
85 *
67 * @{ 86 * @{
68 */ 87 */
69 88
@@ -151,6 +170,12 @@ typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window;
151#ifndef _ECORE_EVAS_PRIVATE_H 170#ifndef _ECORE_EVAS_PRIVATE_H
152/* basic data types */ 171/* basic data types */
153typedef struct _Ecore_Evas Ecore_Evas; 172typedef struct _Ecore_Evas Ecore_Evas;
173typedef void (*Ecore_Evas_Event_Cb) (Ecore_Evas *ee); /**< Callback used for several ecore evas events @since 1.2 */
174#endif
175
176#ifndef _ECORE_WAYLAND_H_
177#define _ECORE_WAYLAND_WINDOW_PREDEF
178typedef struct _Ecore_Wl_Window Ecore_Wl_Window;
154#endif 179#endif
155 180
156/* module setup/shutdown calls */ 181/* module setup/shutdown calls */
@@ -222,7 +247,7 @@ EAPI Ecore_Evas *ecore_evas_new(const char *engine_name, int x, int y, int w, in
222 * This function allows you to make an Ecore_Evas translucent using an 247 * This function allows you to make an Ecore_Evas translucent using an
223 * alpha channel. See ecore_evas_shaped_set() for details. The difference 248 * alpha channel. See ecore_evas_shaped_set() for details. The difference
224 * between a shaped window and a window with an alpha channel is that an 249 * between a shaped window and a window with an alpha channel is that an
225 * alpha channel supports multiple levels of transpararency, as opposed to 250 * alpha channel supports multiple levels of transparency, as opposed to
226 * the 1 bit transparency of a shaped window (a pixel is either opaque, or 251 * the 1 bit transparency of a shaped window (a pixel is either opaque, or
227 * it's transparent). 252 * it's transparent).
228 * 253 *
@@ -300,7 +325,7 @@ EAPI void ecore_evas_geometry_get(const Ecore_Evas *ee, int *x, int *y, i
300 * This function takes four pointers to (already allocated) ints, and places 325 * This function takes four pointers to (already allocated) ints, and places
301 * the geometry which @p ee was latest recently requested . If any of the parameters is not desired you 326 * the geometry which @p ee was latest recently requested . If any of the parameters is not desired you
302 * may pass NULL on them. 327 * may pass NULL on them.
303 * This function can represent recently requested geomety. 328 * This function can represent recently requested geometry.
304 * ecore_evas_geometry_get function returns the value is updated after engine finished request. 329 * ecore_evas_geometry_get function returns the value is updated after engine finished request.
305 * By comparison, ecore_evas_request_geometry_get returns recently requested value. 330 * By comparison, ecore_evas_request_geometry_get returns recently requested value.
306 * 331 *
@@ -342,7 +367,7 @@ EAPI Eina_Bool ecore_evas_focus_get(const Ecore_Evas *ee);
342 * This function iconifies @p ee if @p on is EINA_TRUE, or uniconifies @p ee if 367 * This function iconifies @p ee if @p on is EINA_TRUE, or uniconifies @p ee if
343 * @p on is EINA_FALSE. 368 * @p on is EINA_FALSE.
344 * 369 *
345 * @note Iconify and minize are synonims. 370 * @note Iconify and minimize are synonyms.
346 * 371 *
347 * @warning Support for this depends on the underlying windowing system. 372 * @warning Support for this depends on the underlying windowing system.
348 */ 373 */
@@ -353,7 +378,7 @@ EAPI void ecore_evas_iconified_set(Ecore_Evas *ee, Eina_Bool on);
353 * @param ee The Ecore_Evas to set 378 * @param ee The Ecore_Evas to set
354 * @return EINA_TRUE if @p ee is iconified, EINA_FALSE if not. 379 * @return EINA_TRUE if @p ee is iconified, EINA_FALSE if not.
355 * 380 *
356 * @note Iconify and minize are synonims. 381 * @note Iconify and minimize are synonyms.
357 * 382 *
358 * @see ecore_evas_iconified_set() 383 * @see ecore_evas_iconified_set()
359 */ 384 */
@@ -401,6 +426,161 @@ EAPI void ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on);
401 */ 426 */
402EAPI Eina_Bool ecore_evas_fullscreen_get(const Ecore_Evas *ee); 427EAPI Eina_Bool ecore_evas_fullscreen_get(const Ecore_Evas *ee);
403/** 428/**
429 * @brief Set another window that this window is a group member of
430 *
431 * @param ee The Ecore_Evas
432 * @param ee_group The other group member
433 *
434 * If @p ee_group is NULL, @p ee is removed from the group, otherwise it is
435 * added. Note that if you free the @p ee_group canvas before @p ee, then
436 * getting the group canvas with ecore_evas_window_group_get() will return
437 * an invalid handle.
438 *
439 * @warning Support for this depends on the underlying windowing system.
440 * @since 1.2
441 */
442EAPI void ecore_evas_window_group_set(Ecore_Evas *ee, const Ecore_Evas *ee_group);
443/**
444 * @brief Get the canvas group set.
445 *
446 * This returns the handle set by ecore_evas_window_group_set().
447 *
448 * @param ee The Ecore_Evas to set
449 * @return The Canvas group handle
450 *
451 * @see ecore_evas_window_group_set()
452 * @since 1.2
453 */
454EAPI const Ecore_Evas *ecore_evas_window_group_get(const Ecore_Evas *ee);
455/**
456 * @brief Set the aspect ratio of a canvas window
457 *
458 * @param ee The Ecore_Evas
459 * @param aspect The aspect ratio (width divided by height), or 0 to disable
460 *
461 * This sets the desired aspect ratio of a canvas window
462 *
463 * @warning Support for this depends on the underlying windowing system.
464 * @since 1.2
465 */
466EAPI void ecore_evas_aspect_set(Ecore_Evas *ee, double aspect);
467/**
468 * @brief Get the aspect ratio of a canvas window
469 *
470 * This returns the value set by ecore_evas_aspect_set().
471 *
472 * @param ee The Ecore_Evas to set
473 * @return The aspect ratio
474 *
475 * @see ecore_evas_aspect_set()
476 * @since 1.2
477 */
478EAPI double ecore_evas_aspect_get(const Ecore_Evas *ee);
479/**
480 * @brief Set The urgent hint flag
481 *
482 * @param ee The Ecore_Evas
483 * @param urgent The urgent state flag
484 *
485 * This sets the "urgent" state hint on a window so the desktop environment
486 * can highlight it somehow.
487 *
488 * @warning Support for this depends on the underlying windowing system.
489 * @since 1.2
490 */
491EAPI void ecore_evas_urgent_set(Ecore_Evas *ee, Eina_Bool urgent);
492/**
493 * @brief Get the urgent state on the cavas window
494 *
495 * This returns the value set by ecore_evas_urgent_set()
496 *
497 * @param ee The Ecore_Evas to set
498 * @return The urgent state set
499 *
500 * @see ecore_evas_urgent_set()
501 * @since 1.2
502 */
503EAPI Eina_Bool ecore_evas_urgent_get(const Ecore_Evas *ee);
504/**
505 * @brief Set the modal state flag on the canvas window
506 *
507 * @param ee The Ecore_Evas
508 * @param modal The modal hint flag
509 *
510 * This hints if the window should be modal (eg if it is also transient
511 * for another window, the other window will maybe be denied focus by
512 * the desktop window manager).
513 *
514 * @warning Support for this depends on the underlying windowing system.
515 * @since 1.2
516 */
517EAPI void ecore_evas_modal_set(Ecore_Evas *ee, Eina_Bool modal);
518/**
519 * @brief Get The modal flag
520 *
521 * This returns the value set by ecore_evas_modal_set().
522 *
523 * @param ee The Ecore_Evas to set
524 * @return The modal flag
525 *
526 * @see ecore_evas_modal_set()
527 * @since 1.2
528 */
529EAPI Eina_Bool ecore_evas_modal_get(const Ecore_Evas *ee);
530/**
531 * @brief Set the "i demand attention" flag on a canvas window
532 *
533 * @param ee The Ecore_Evas
534 * @param demand_attention The flag state to set
535 *
536 * A window may demand attention now (eg you must enter a password before
537 * continuing), and so it may flag a window with this.
538 *
539 * @warning Support for this depends on the underlying windowing system.
540 * @since 1.2
541 */
542EAPI void ecore_evas_demand_attention_set(Ecore_Evas *ee, Eina_Bool demand);
543/**
544 * @brief Get the "i demand attention" flag
545 *
546 * This returns the value set by ecore_evas_demand_attention_set().
547 *
548 * @param ee The Ecore_Evas to set
549 * @return The "i demand attention" flag.
550 *
551 * @see ecore_evas_demand_attention_set()
552 * @since 1.2
553 */
554EAPI Eina_Bool ecore_evas_demand_attention_get(const Ecore_Evas *ee);
555/**
556 * @brief Set the "focus skip" flag
557 *
558 * @param ee The Ecore_Evas
559 * @param skip The "focus skip" state to set.
560 *
561 * A window may not want to accept focus, be in the taskbar, pager etc.
562 * sometimes (example for a small notification window that hovers around
563 * a taskbar or panel, or hovers around a window until some activity
564 * dismisses it).
565 *
566 * @warning Support for this depends on the underlying windowing system.
567 * @since 1.2
568 */
569EAPI void ecore_evas_focus_skip_set(Ecore_Evas *ee, Eina_Bool skip);
570/**
571 * @brief Get the "focus skip" flag
572 *
573 * This returns the value set by ecore_evas_focus_skip_set().
574 *
575 * @param ee The Ecore_Evas to set
576 * @return The "focus skip" flag.
577 *
578 * @see ecore_evas_focus_skip_set()
579 * @since 1.2
580 */
581EAPI Eina_Bool ecore_evas_focus_skip_get(const Ecore_Evas *ee);
582
583/**
404 * @brief Set if this evas should ignore @b all events. 584 * @brief Set if this evas should ignore @b all events.
405 * 585 *
406 * @param ee The Ecore_Evas whose window's to ignore events. 586 * @param ee The Ecore_Evas whose window's to ignore events.
@@ -693,10 +873,13 @@ EAPI Ecore_Evas *ecore_evas_fb_new(const char *disp_name, int rotation, int
693EAPI Ecore_Evas *ecore_evas_directfb_new(const char *disp_name, int windowed, int x, int y, int w, int h); 873EAPI Ecore_Evas *ecore_evas_directfb_new(const char *disp_name, int windowed, int x, int y, int w, int h);
694EAPI Ecore_DirectFB_Window *ecore_evas_directfb_window_get(const Ecore_Evas *ee); 874EAPI Ecore_DirectFB_Window *ecore_evas_directfb_window_get(const Ecore_Evas *ee);
695 875
696EAPI Ecore_Evas *ecore_evas_wayland_shm_new(const char *disp_name, int x, int y, int w, int h, int frame); 876
697EAPI Ecore_Evas *ecore_evas_wayland_egl_new(const char *disp_name, int x, int y, int w, int h, int frame); 877EAPI Ecore_Evas *ecore_evas_wayland_shm_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame);
878EAPI Ecore_Evas *ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame);
698EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location); 879EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location);
699EAPI void ecore_evas_wayland_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); 880/* EAPI void ecore_evas_wayland_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); */
881/* EAPI void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y); */
882/* EAPI void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type); */
700 883
701/** 884/**
702 * @brief Create a new @c Ecore_Evas canvas bound to the Evas 885 * @brief Create a new @c Ecore_Evas canvas bound to the Evas
@@ -1038,7 +1221,7 @@ EAPI void ecore_evas_data_set(Ecore_Evas *ee, const char *key, const void
1038 * @warning If and when this function is called depends on the underlying 1221 * @warning If and when this function is called depends on the underlying
1039 * windowing system. 1222 * windowing system.
1040 */ 1223 */
1041EAPI void ecore_evas_callback_resize_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1224EAPI void ecore_evas_callback_resize_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1042/** 1225/**
1043 * Set a callback for Ecore_Evas move events. 1226 * Set a callback for Ecore_Evas move events.
1044 * @param ee The Ecore_Evas to set callbacks on 1227 * @param ee The Ecore_Evas to set callbacks on
@@ -1050,7 +1233,7 @@ EAPI void ecore_evas_callback_resize_set(Ecore_Evas *ee, void (*func) (Ec
1050 * @warning If and when this function is called depends on the underlying 1233 * @warning If and when this function is called depends on the underlying
1051 * windowing system. 1234 * windowing system.
1052 */ 1235 */
1053EAPI void ecore_evas_callback_move_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1236EAPI void ecore_evas_callback_move_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1054/** 1237/**
1055 * Set a callback for Ecore_Evas show events. 1238 * Set a callback for Ecore_Evas show events.
1056 * @param ee The Ecore_Evas to set callbacks on 1239 * @param ee The Ecore_Evas to set callbacks on
@@ -1062,7 +1245,7 @@ EAPI void ecore_evas_callback_move_set(Ecore_Evas *ee, void (*func) (Ecor
1062 * @warning If and when this function is called depends on the underlying 1245 * @warning If and when this function is called depends on the underlying
1063 * windowing system. 1246 * windowing system.
1064 */ 1247 */
1065EAPI void ecore_evas_callback_show_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1248EAPI void ecore_evas_callback_show_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1066/** 1249/**
1067 * Set a callback for Ecore_Evas hide events. 1250 * Set a callback for Ecore_Evas hide events.
1068 * @param ee The Ecore_Evas to set callbacks on 1251 * @param ee The Ecore_Evas to set callbacks on
@@ -1074,7 +1257,7 @@ EAPI void ecore_evas_callback_show_set(Ecore_Evas *ee, void (*func) (Ecor
1074 * @warning If and when this function is called depends on the underlying 1257 * @warning If and when this function is called depends on the underlying
1075 * windowing system. 1258 * windowing system.
1076 */ 1259 */
1077EAPI void ecore_evas_callback_hide_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1260EAPI void ecore_evas_callback_hide_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1078/** 1261/**
1079 * Set a callback for Ecore_Evas delete request events. 1262 * Set a callback for Ecore_Evas delete request events.
1080 * @param ee The Ecore_Evas to set callbacks on 1263 * @param ee The Ecore_Evas to set callbacks on
@@ -1086,7 +1269,7 @@ EAPI void ecore_evas_callback_hide_set(Ecore_Evas *ee, void (*func) (Ecor
1086 * @warning If and when this function is called depends on the underlying 1269 * @warning If and when this function is called depends on the underlying
1087 * windowing system. 1270 * windowing system.
1088 */ 1271 */
1089EAPI void ecore_evas_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1272EAPI void ecore_evas_callback_delete_request_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1090/** 1273/**
1091 * Set a callback for Ecore_Evas destroy events. 1274 * Set a callback for Ecore_Evas destroy events.
1092 * @param ee The Ecore_Evas to set callbacks on 1275 * @param ee The Ecore_Evas to set callbacks on
@@ -1098,7 +1281,7 @@ EAPI void ecore_evas_callback_delete_request_set(Ecore_Evas *ee, void (*f
1098 * @warning If and when this function is called depends on the underlying 1281 * @warning If and when this function is called depends on the underlying
1099 * windowing system. 1282 * windowing system.
1100 */ 1283 */
1101EAPI void ecore_evas_callback_destroy_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1284EAPI void ecore_evas_callback_destroy_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1102/** 1285/**
1103 * Set a callback for Ecore_Evas focus in events. 1286 * Set a callback for Ecore_Evas focus in events.
1104 * @param ee The Ecore_Evas to set callbacks on 1287 * @param ee The Ecore_Evas to set callbacks on
@@ -1110,7 +1293,7 @@ EAPI void ecore_evas_callback_destroy_set(Ecore_Evas *ee, void (*func) (E
1110 * @warning If and when this function is called depends on the underlying 1293 * @warning If and when this function is called depends on the underlying
1111 * windowing system. 1294 * windowing system.
1112 */ 1295 */
1113EAPI void ecore_evas_callback_focus_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1296EAPI void ecore_evas_callback_focus_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1114/** 1297/**
1115 * Set a callback for Ecore_Evas focus out events. 1298 * Set a callback for Ecore_Evas focus out events.
1116 * @param ee The Ecore_Evas to set callbacks on 1299 * @param ee The Ecore_Evas to set callbacks on
@@ -1122,7 +1305,7 @@ EAPI void ecore_evas_callback_focus_in_set(Ecore_Evas *ee, void (*func) (
1122 * @warning If and when this function is called depends on the underlying 1305 * @warning If and when this function is called depends on the underlying
1123 * windowing system. 1306 * windowing system.
1124 */ 1307 */
1125EAPI void ecore_evas_callback_focus_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1308EAPI void ecore_evas_callback_focus_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1126/** 1309/**
1127 * Set a callback for Ecore_Evas sticky events. 1310 * Set a callback for Ecore_Evas sticky events.
1128 * @param ee The Ecore_Evas to set callbacks on 1311 * @param ee The Ecore_Evas to set callbacks on
@@ -1134,7 +1317,7 @@ EAPI void ecore_evas_callback_focus_out_set(Ecore_Evas *ee, void (*func)
1134 * @warning If and when this function is called depends on the underlying 1317 * @warning If and when this function is called depends on the underlying
1135 * windowing system. 1318 * windowing system.
1136 */ 1319 */
1137EAPI void ecore_evas_callback_sticky_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1320EAPI void ecore_evas_callback_sticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1138/** 1321/**
1139 * Set a callback for Ecore_Evas un-sticky events. 1322 * Set a callback for Ecore_Evas un-sticky events.
1140 * @param ee The Ecore_Evas to set callbacks on 1323 * @param ee The Ecore_Evas to set callbacks on
@@ -1146,7 +1329,7 @@ EAPI void ecore_evas_callback_sticky_set(Ecore_Evas *ee, void (*func) (Ec
1146 * @warning If and when this function is called depends on the underlying 1329 * @warning If and when this function is called depends on the underlying
1147 * windowing system. 1330 * windowing system.
1148 */ 1331 */
1149EAPI void ecore_evas_callback_unsticky_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1332EAPI void ecore_evas_callback_unsticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1150/** 1333/**
1151 * Set a callback for Ecore_Evas mouse in events. 1334 * Set a callback for Ecore_Evas mouse in events.
1152 * @param ee The Ecore_Evas to set callbacks on 1335 * @param ee The Ecore_Evas to set callbacks on
@@ -1158,7 +1341,7 @@ EAPI void ecore_evas_callback_unsticky_set(Ecore_Evas *ee, void (*func) (
1158 * @warning If and when this function is called depends on the underlying 1341 * @warning If and when this function is called depends on the underlying
1159 * windowing system. 1342 * windowing system.
1160 */ 1343 */
1161EAPI void ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1344EAPI void ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1162/** 1345/**
1163 * Set a callback for Ecore_Evas mouse out events. 1346 * Set a callback for Ecore_Evas mouse out events.
1164 * @param ee The Ecore_Evas to set callbacks on 1347 * @param ee The Ecore_Evas to set callbacks on
@@ -1170,7 +1353,7 @@ EAPI void ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void (*func) (
1170 * @warning If and when this function is called depends on the underlying 1353 * @warning If and when this function is called depends on the underlying
1171 * windowing system. 1354 * windowing system.
1172 */ 1355 */
1173EAPI void ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1356EAPI void ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1174/** 1357/**
1175 * Set a callback for Ecore_Evas pre render events. 1358 * Set a callback for Ecore_Evas pre render events.
1176 * @param ee The Ecore_Evas to set callbacks on 1359 * @param ee The Ecore_Evas to set callbacks on
@@ -1182,7 +1365,7 @@ EAPI void ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void (*func)
1182 * @warning If and when this function is called depends on the underlying 1365 * @warning If and when this function is called depends on the underlying
1183 * windowing system. 1366 * windowing system.
1184 */ 1367 */
1185EAPI void ecore_evas_callback_pre_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1368EAPI void ecore_evas_callback_pre_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1186/** 1369/**
1187 * Set a callback for Ecore_Evas mouse post render events. 1370 * Set a callback for Ecore_Evas mouse post render events.
1188 * @param ee The Ecore_Evas to set callbacks on 1371 * @param ee The Ecore_Evas to set callbacks on
@@ -1194,7 +1377,7 @@ EAPI void ecore_evas_callback_pre_render_set(Ecore_Evas *ee, void (*func)
1194 * @warning If and when this function is called depends on the underlying 1377 * @warning If and when this function is called depends on the underlying
1195 * windowing system. 1378 * windowing system.
1196 */ 1379 */
1197EAPI void ecore_evas_callback_post_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1380EAPI void ecore_evas_callback_post_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1198/** 1381/**
1199 * Set a callback for Ecore_Evas pre-free event. 1382 * Set a callback for Ecore_Evas pre-free event.
1200 * @param ee The Ecore_Evas to set callbacks on 1383 * @param ee The Ecore_Evas to set callbacks on
@@ -1206,7 +1389,21 @@ EAPI void ecore_evas_callback_post_render_set(Ecore_Evas *ee, void (*func
1206 * @warning If and when this function is called depends on the underlying 1389 * @warning If and when this function is called depends on the underlying
1207 * windowing system. 1390 * windowing system.
1208 */ 1391 */
1209EAPI void ecore_evas_callback_pre_free_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 1392EAPI void ecore_evas_callback_pre_free_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1393/**
1394 * Set a callback for Ecore_Evas state changes.
1395 * @param ee The Ecore_Evas to set callbacks on
1396 * @param func The function to call
1397
1398 * A call to this function will set a callback on an Ecore_Evas, causing
1399 * @p func to be called whenever @p ee changes state.
1400 *
1401 * @since 1.2
1402 * @warning If and when this function is called depends on the underlying
1403 * windowing system.
1404 */
1405EAPI void ecore_evas_callback_state_change_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
1406
1210EAPI Evas *ecore_evas_get(const Ecore_Evas *ee); 1407EAPI Evas *ecore_evas_get(const Ecore_Evas *ee);
1211EAPI void ecore_evas_managed_move(Ecore_Evas *ee, int x, int y); 1408EAPI void ecore_evas_managed_move(Ecore_Evas *ee, int x, int y);
1212EAPI void ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped); 1409EAPI void ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped);
@@ -1572,7 +1769,7 @@ EAPI Eina_Bool ecore_evas_ews_setup(int x, int y, int w, int h);
1572/** 1769/**
1573 * Return the internal backing store in use. 1770 * Return the internal backing store in use.
1574 * 1771 *
1575 * @note this will foced it to be created, making future calls to 1772 * @note this will forced it to be created, making future calls to
1576 * ecore_evas_ews_engine_set() void. 1773 * ecore_evas_ews_engine_set() void.
1577 * 1774 *
1578 * @see ecore_evas_ews_evas_get() 1775 * @see ecore_evas_ews_evas_get()
@@ -1583,7 +1780,7 @@ EAPI Ecore_Evas *ecore_evas_ews_ecore_evas_get(void);
1583/** 1780/**
1584 * Return the internal backing store in use. 1781 * Return the internal backing store in use.
1585 * 1782 *
1586 * @note this will foced it to be created, making future calls to 1783 * @note this will forced it to be created, making future calls to
1587 * ecore_evas_ews_engine_set() void. 1784 * ecore_evas_ews_engine_set() void.
1588 * 1785 *
1589 * @see ecore_evas_ews_ecore_evas_get() 1786 * @see ecore_evas_ews_ecore_evas_get()
@@ -1762,6 +1959,7 @@ EAPI Ecore_Evas *ecore_evas_extn_socket_new(int w, int h);
1762/** 1959/**
1763 * @brief Create a socket to provide the service for external ecore evas socket. 1960 * @brief Create a socket to provide the service for external ecore evas socket.
1764 * 1961 *
1962 * @param ee The Ecore_Evas
1765 * @param svcname The name of the service to be advertised. ensure that it is unique (when combined with @p svcnum) otherwise creation may fail. 1963 * @param svcname The name of the service to be advertised. ensure that it is unique (when combined with @p svcnum) otherwise creation may fail.
1766 * @param svcnum A number (any value, 0 beig the common default) to differentiate multiple instances of services with the same name. 1964 * @param svcnum A number (any value, 0 beig the common default) to differentiate multiple instances of services with the same name.
1767 * @param svcsys A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user ide that created the service. 1965 * @param svcsys A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user ide that created the service.
@@ -1791,7 +1989,7 @@ EAPI Eina_Bool ecore_evas_extn_socket_listen(Ecore_Evas *ee, const char *svcname
1791 * image data so the external plug process will not render to it or alter it. 1989 * image data so the external plug process will not render to it or alter it.
1792 * 1990 *
1793 * You should only hold the lock for just as long as you need to read out the 1991 * You should only hold the lock for just as long as you need to read out the
1794 * image data or otherwise deal with it, and then unlokc it with 1992 * image data or otherwise deal with it, and then unlock it with
1795 * ecore_evas_extn_plug_object_data_unlock(). Keeping a lock over more than 1993 * ecore_evas_extn_plug_object_data_unlock(). Keeping a lock over more than
1796 * 1 iteration of the main ecore loop will be problematic, so avoid it. Also 1994 * 1 iteration of the main ecore loop will be problematic, so avoid it. Also
1797 * forgetting to unlock may cause the socket process to freeze and thus create 1995 * forgetting to unlock may cause the socket process to freeze and thus create
@@ -1831,7 +2029,7 @@ EAPI void ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj);
1831 * in the canvas of the plug process in place of the image object. The image 2029 * in the canvas of the plug process in place of the image object. The image
1832 * object by default is created to be filled (equivalent of 2030 * object by default is created to be filled (equivalent of
1833 * evas_object_image_filled_add() on creation) so image content will scale 2031 * evas_object_image_filled_add() on creation) so image content will scale
1834 * toi fill the image unless otherwise reconfigured. The Ecore_Evas size 2032 * to fill the image unless otherwise reconfigured. The Ecore_Evas size
1835 * of the plug is the master size and determines size in pixels of the 2033 * of the plug is the master size and determines size in pixels of the
1836 * plug canvas. You can change the size with something like: 2034 * plug canvas. You can change the size with something like:
1837 * 2035 *
diff --git a/libraries/ecore/src/lib/ecore_evas/Makefile.am b/libraries/ecore/src/lib/ecore_evas/Makefile.am
index a1d9215..c85af09 100644
--- a/libraries/ecore/src/lib/ecore_evas/Makefile.am
+++ b/libraries/ecore/src/lib/ecore_evas/Makefile.am
@@ -151,6 +151,7 @@ $(top_builddir)/src/lib/ecore/libecore.la \
151@EVAS_LIBS@ \ 151@EVAS_LIBS@ \
152@EINA_LIBS@ \ 152@EINA_LIBS@ \
153@EVIL_LIBS@ \ 153@EVIL_LIBS@ \
154@SHM_OPEN_LIBS@ \
154@WAYLAND_EGL_LIBS@ 155@WAYLAND_EGL_LIBS@
155 156
156libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ 157libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
diff --git a/libraries/ecore/src/lib/ecore_evas/Makefile.in b/libraries/ecore/src/lib/ecore_evas/Makefile.in
index a269b75..b48f26f 100644
--- a/libraries/ecore/src/lib/ecore_evas/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_evas/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -216,6 +215,8 @@ EVAS_LIBS = @EVAS_LIBS@
216EVIL_CFLAGS = @EVIL_CFLAGS@ 215EVIL_CFLAGS = @EVIL_CFLAGS@
217EVIL_LIBS = @EVIL_LIBS@ 216EVIL_LIBS = @EVIL_LIBS@
218EXEEXT = @EXEEXT@ 217EXEEXT = @EXEEXT@
218EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
219EXOTIC_LIBS = @EXOTIC_LIBS@
219FGREP = @FGREP@ 220FGREP = @FGREP@
220GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 221GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
221GLIB_CFLAGS = @GLIB_CFLAGS@ 222GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -271,6 +272,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
271PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 272PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
272PIXMAN_LIBS = @PIXMAN_LIBS@ 273PIXMAN_LIBS = @PIXMAN_LIBS@
273PKG_CONFIG = @PKG_CONFIG@ 274PKG_CONFIG = @PKG_CONFIG@
275PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
276PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
274POSUB = @POSUB@ 277POSUB = @POSUB@
275RANLIB = @RANLIB@ 278RANLIB = @RANLIB@
276SCIM_CFLAGS = @SCIM_CFLAGS@ 279SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -281,6 +284,7 @@ SDL_LIBS = @SDL_LIBS@
281SED = @SED@ 284SED = @SED@
282SET_MAKE = @SET_MAKE@ 285SET_MAKE = @SET_MAKE@
283SHELL = @SHELL@ 286SHELL = @SHELL@
287SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
284SSL_CFLAGS = @SSL_CFLAGS@ 288SSL_CFLAGS = @SSL_CFLAGS@
285SSL_LIBS = @SSL_LIBS@ 289SSL_LIBS = @SSL_LIBS@
286STRIP = @STRIP@ 290STRIP = @STRIP@
@@ -605,6 +609,7 @@ $(top_builddir)/src/lib/ecore/libecore.la \
605@EVAS_LIBS@ \ 609@EVAS_LIBS@ \
606@EINA_LIBS@ \ 610@EINA_LIBS@ \
607@EVIL_LIBS@ \ 611@EVIL_LIBS@ \
612@SHM_OPEN_LIBS@ \
608@WAYLAND_EGL_LIBS@ 613@WAYLAND_EGL_LIBS@
609 614
610libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ 615libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas.c
index 2b04488..6ecd609 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas.c
@@ -509,24 +509,6 @@ _ecore_evas_constructor_sdl(int x __UNUSED__, int y __UNUSED__, int w, int h, co
509 509
510 return ee; 510 return ee;
511} 511}
512
513static Ecore_Evas *
514_ecore_evas_constructor_sdl16(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
515{
516 Ecore_Evas *ee;
517 unsigned int fullscreen = 0, hwsurface = 0, noframe = 0, alpha = 0;
518 char *name = NULL;
519
520 _ecore_evas_parse_extra_options_str(extra_options, "name=", &name);
521 _ecore_evas_parse_extra_options_uint(extra_options, "fullscreen=", &fullscreen);
522 _ecore_evas_parse_extra_options_uint(extra_options, "hwsurface=", &hwsurface);
523 _ecore_evas_parse_extra_options_uint(extra_options, "alpha=", &alpha);
524
525 ee = ecore_evas_sdl16_new(name, w, h, fullscreen, hwsurface, noframe, alpha);
526 free(name);
527
528 return ee;
529}
530#endif 512#endif
531 513
532#ifdef BUILD_ECORE_EVAS_OPENGL_SDL 514#ifdef BUILD_ECORE_EVAS_OPENGL_SDL
@@ -606,12 +588,13 @@ static Ecore_Evas *
606_ecore_evas_constructor_wayland_shm(int x, int y, int w, int h, const char *extra_options) 588_ecore_evas_constructor_wayland_shm(int x, int y, int w, int h, const char *extra_options)
607{ 589{
608 char *disp_name = NULL; 590 char *disp_name = NULL;
609 unsigned int frame = 0; 591 unsigned int frame = 0, parent = 0;
610 Ecore_Evas *ee; 592 Ecore_Evas *ee;
611 593
612 _ecore_evas_parse_extra_options_str(extra_options, "display=", &disp_name); 594 _ecore_evas_parse_extra_options_str(extra_options, "display=", &disp_name);
613 _ecore_evas_parse_extra_options_uint(extra_options, "frame=", &frame); 595 _ecore_evas_parse_extra_options_uint(extra_options, "frame=", &frame);
614 ee = ecore_evas_wayland_shm_new(disp_name, x, y, w, h, frame); 596 _ecore_evas_parse_extra_options_uint(extra_options, "parent=", &parent);
597 ee = ecore_evas_wayland_shm_new(disp_name, parent, x, y, w, h, frame);
615 free(disp_name); 598 free(disp_name);
616 599
617 return ee; 600 return ee;
@@ -623,12 +606,13 @@ static Ecore_Evas *
623_ecore_evas_constructor_wayland_egl(int x, int y, int w, int h, const char *extra_options) 606_ecore_evas_constructor_wayland_egl(int x, int y, int w, int h, const char *extra_options)
624{ 607{
625 char *disp_name = NULL; 608 char *disp_name = NULL;
626 unsigned int frame = 0; 609 unsigned int frame = 0, parent = 0;
627 Ecore_Evas *ee; 610 Ecore_Evas *ee;
628 611
629 _ecore_evas_parse_extra_options_str(extra_options, "display=", &disp_name); 612 _ecore_evas_parse_extra_options_str(extra_options, "display=", &disp_name);
630 _ecore_evas_parse_extra_options_uint(extra_options, "frame=", &frame); 613 _ecore_evas_parse_extra_options_uint(extra_options, "frame=", &frame);
631 ee = ecore_evas_wayland_egl_new(disp_name, x, y, w, h, frame); 614 _ecore_evas_parse_extra_options_uint(extra_options, "parent=", &parent);
615 ee = ecore_evas_wayland_egl_new(disp_name, parent, x, y, w, h, frame);
632 free(disp_name); 616 free(disp_name);
633 617
634 return ee; 618 return ee;
@@ -788,7 +772,6 @@ static const struct ecore_evas_engine _engines[] = {
788 772
789#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL 773#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
790 {"sdl", _ecore_evas_constructor_sdl}, 774 {"sdl", _ecore_evas_constructor_sdl},
791 {"software_16_sdl", _ecore_evas_constructor_sdl16},
792#endif 775#endif
793 776
794 /* independent */ 777 /* independent */
@@ -944,7 +927,7 @@ ecore_evas_data_set(Ecore_Evas *ee, const char *key, const void *data)
944#define IFE return;} 927#define IFE return;}
945 928
946EAPI void 929EAPI void
947ecore_evas_callback_resize_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 930ecore_evas_callback_resize_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
948{ 931{
949 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 932 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
950 { 933 {
@@ -958,7 +941,7 @@ ecore_evas_callback_resize_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
958} 941}
959 942
960EAPI void 943EAPI void
961ecore_evas_callback_move_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 944ecore_evas_callback_move_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
962{ 945{
963 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 946 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
964 { 947 {
@@ -972,7 +955,7 @@ ecore_evas_callback_move_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
972} 955}
973 956
974EAPI void 957EAPI void
975ecore_evas_callback_show_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 958ecore_evas_callback_show_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
976{ 959{
977 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 960 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
978 { 961 {
@@ -986,7 +969,7 @@ ecore_evas_callback_show_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
986} 969}
987 970
988EAPI void 971EAPI void
989ecore_evas_callback_hide_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 972ecore_evas_callback_hide_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
990{ 973{
991 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 974 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
992 { 975 {
@@ -1000,7 +983,7 @@ ecore_evas_callback_hide_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1000} 983}
1001 984
1002EAPI void 985EAPI void
1003ecore_evas_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 986ecore_evas_callback_delete_request_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1004{ 987{
1005 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 988 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1006 { 989 {
@@ -1014,7 +997,7 @@ ecore_evas_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas
1014} 997}
1015 998
1016EAPI void 999EAPI void
1017ecore_evas_callback_destroy_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1000ecore_evas_callback_destroy_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1018{ 1001{
1019 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1002 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1020 { 1003 {
@@ -1028,7 +1011,7 @@ ecore_evas_callback_destroy_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1028} 1011}
1029 1012
1030EAPI void 1013EAPI void
1031ecore_evas_callback_focus_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1014ecore_evas_callback_focus_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1032{ 1015{
1033 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1016 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1034 { 1017 {
@@ -1042,7 +1025,7 @@ ecore_evas_callback_focus_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1042} 1025}
1043 1026
1044EAPI void 1027EAPI void
1045ecore_evas_callback_focus_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1028ecore_evas_callback_focus_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1046{ 1029{
1047 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1030 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1048 { 1031 {
@@ -1056,7 +1039,7 @@ ecore_evas_callback_focus_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1056} 1039}
1057 1040
1058EAPI void 1041EAPI void
1059ecore_evas_callback_sticky_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1042ecore_evas_callback_sticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1060{ 1043{
1061 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1044 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1062 { 1045 {
@@ -1070,7 +1053,7 @@ ecore_evas_callback_sticky_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1070} 1053}
1071 1054
1072EAPI void 1055EAPI void
1073ecore_evas_callback_unsticky_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1056ecore_evas_callback_unsticky_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1074{ 1057{
1075 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1058 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1076 { 1059 {
@@ -1084,7 +1067,7 @@ ecore_evas_callback_unsticky_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1084} 1067}
1085 1068
1086EAPI void 1069EAPI void
1087ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1070ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1088{ 1071{
1089 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1072 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1090 { 1073 {
@@ -1098,7 +1081,7 @@ ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1098} 1081}
1099 1082
1100EAPI void 1083EAPI void
1101ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1084ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1102{ 1085{
1103 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1086 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1104 { 1087 {
@@ -1112,7 +1095,7 @@ ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1112} 1095}
1113 1096
1114EAPI void 1097EAPI void
1115ecore_evas_callback_pre_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1098ecore_evas_callback_pre_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1116{ 1099{
1117 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1100 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1118 { 1101 {
@@ -1126,7 +1109,7 @@ ecore_evas_callback_pre_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)
1126} 1109}
1127 1110
1128EAPI void 1111EAPI void
1129ecore_evas_callback_post_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1112ecore_evas_callback_post_render_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1130{ 1113{
1131 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1114 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1132 { 1115 {
@@ -1140,7 +1123,7 @@ ecore_evas_callback_post_render_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee
1140} 1123}
1141 1124
1142EAPI void 1125EAPI void
1143ecore_evas_callback_pre_free_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1126ecore_evas_callback_pre_free_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1144{ 1127{
1145 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 1128 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1146 { 1129 {
@@ -1151,6 +1134,18 @@ ecore_evas_callback_pre_free_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee))
1151 ee->func.fn_pre_free = func; 1134 ee->func.fn_pre_free = func;
1152} 1135}
1153 1136
1137EAPI void
1138ecore_evas_callback_state_change_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1139{
1140 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
1141 {
1142 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
1143 "ecore_evas_callback_state_change_set");
1144 return;
1145 }
1146 ee->func.fn_state_change = func;
1147}
1148
1154/** 1149/**
1155 * Get an Ecore_Evas's Evas 1150 * Get an Ecore_Evas's Evas
1156 * @param ee The Ecore_Evas whose Evas you wish to get 1151 * @param ee The Ecore_Evas whose Evas you wish to get
@@ -2120,6 +2115,162 @@ ecore_evas_sticky_get(const Ecore_Evas *ee)
2120} 2115}
2121 2116
2122EAPI void 2117EAPI void
2118ecore_evas_window_group_set(Ecore_Evas *ee, const Ecore_Evas *ee_group)
2119{
2120 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2121 {
2122 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2123 "XXX");
2124 return;
2125 }
2126
2127 IFC(ee, fn_window_group_set) (ee, ee_group);
2128 IFE;
2129}
2130
2131EAPI const Ecore_Evas *
2132ecore_evas_window_group_get(const Ecore_Evas *ee)
2133{
2134 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2135 {
2136 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2137 "XXX");
2138 return EINA_FALSE;
2139 }
2140 return ee->prop.group_ee;
2141}
2142
2143EAPI void
2144ecore_evas_aspect_set(Ecore_Evas *ee, double aspect)
2145{
2146 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2147 {
2148 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2149 "XXX");
2150 return;
2151 }
2152
2153 IFC(ee, fn_aspect_set) (ee, aspect);
2154 IFE;
2155}
2156
2157EAPI double
2158ecore_evas_aspect_get(const Ecore_Evas *ee)
2159{
2160 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2161 {
2162 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2163 "XXX");
2164 return EINA_FALSE;
2165 }
2166 return ee->prop.aspect;
2167}
2168
2169EAPI void
2170ecore_evas_urgent_set(Ecore_Evas *ee, Eina_Bool urgent)
2171{
2172 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2173 {
2174 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2175 "XXX");
2176 return;
2177 }
2178
2179 IFC(ee, fn_urgent_set) (ee, urgent);
2180 IFE;
2181}
2182
2183EAPI Eina_Bool
2184ecore_evas_urgent_get(const Ecore_Evas *ee)
2185{
2186 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2187 {
2188 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2189 "XXX");
2190 return EINA_FALSE;
2191 }
2192 return ee->prop.urgent ? EINA_TRUE : EINA_FALSE;
2193}
2194
2195EAPI void
2196ecore_evas_modal_set(Ecore_Evas *ee, Eina_Bool modal)
2197{
2198 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2199 {
2200 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2201 "XXX");
2202 return;
2203 }
2204
2205 IFC(ee, fn_modal_set) (ee, modal);
2206 IFE;
2207}
2208
2209EAPI Eina_Bool
2210ecore_evas_modal_get(const Ecore_Evas *ee)
2211{
2212 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2213 {
2214 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2215 "XXX");
2216 return EINA_FALSE;
2217 }
2218 return ee->prop.modal ? EINA_TRUE : EINA_FALSE;
2219}
2220
2221EAPI void
2222ecore_evas_demand_attention_set(Ecore_Evas *ee, Eina_Bool demand)
2223{
2224 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2225 {
2226 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2227 "XXX");
2228 return;
2229 }
2230
2231 IFC(ee, fn_demands_attention_set) (ee, demand);
2232 IFE;
2233}
2234
2235EAPI Eina_Bool
2236ecore_evas_demand_attention_get(const Ecore_Evas *ee)
2237{
2238 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2239 {
2240 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2241 "XXX");
2242 return EINA_FALSE;
2243 }
2244 return ee->prop.demand_attention ? EINA_TRUE : EINA_FALSE;
2245}
2246
2247EAPI void
2248ecore_evas_focus_skip_set(Ecore_Evas *ee, Eina_Bool skip)
2249{
2250 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2251 {
2252 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2253 "XXX");
2254 return;
2255 }
2256
2257 IFC(ee, fn_focus_skip_set) (ee, skip);
2258 IFE;
2259}
2260
2261EAPI Eina_Bool
2262ecore_evas_focus_skip_get(const Ecore_Evas *ee)
2263{
2264 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
2265 {
2266 ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
2267 "XXX");
2268 return EINA_FALSE;
2269 }
2270 return ee->prop.focus_skip ? EINA_TRUE : EINA_FALSE;
2271}
2272
2273EAPI void
2123ecore_evas_ignore_events_set(Ecore_Evas *ee, Eina_Bool ignore) 2274ecore_evas_ignore_events_set(Ecore_Evas *ee, Eina_Bool ignore)
2124{ 2275{
2125 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS)) 2276 if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
@@ -2695,35 +2846,10 @@ ecore_evas_wayland_resize(Ecore_Evas *ee, int location)
2695 } 2846 }
2696} 2847}
2697 2848
2698EAPI void
2699ecore_evas_wayland_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source)
2700{
2701 if ((!ee) || (!source)) return;
2702 if (!ee->engine.wl.surface) return;
2703
2704 if (!strcmp(ee->driver, "wayland_shm"))
2705 {
2706#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
2707 _ecore_evas_wayland_shm_drag_start(ee, drag_ee, source);
2708#endif
2709 }
2710 else if (!strcmp(ee->driver, "wayland_egl"))
2711 {
2712#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL
2713 _ecore_evas_wayland_egl_drag_start(ee, drag_ee, source);
2714#endif
2715 }
2716}
2717#else 2849#else
2718EAPI void 2850EAPI void
2719ecore_evas_wayland_resize(Ecore_Evas *ee __UNUSED__, int location __UNUSED__) 2851ecore_evas_wayland_resize(Ecore_Evas *ee __UNUSED__, int location __UNUSED__)
2720{ 2852{
2721 2853
2722} 2854}
2723
2724EAPI void
2725ecore_evas_wayland_drag_start(Ecore_Evas *ee __UNUSED__, Ecore_Evas *drag_ee __UNUSED__, void *source __UNUSED__)
2726{
2727
2728}
2729#endif 2855#endif
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_buffer.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_buffer.c
index 3f82efb..4c81db7 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -513,6 +513,13 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
513 _ecore_evas_buffer_alpha_set, 513 _ecore_evas_buffer_alpha_set,
514 NULL, //transparent 514 NULL, //transparent
515 515
516 NULL,
517 NULL,
518 NULL,
519 NULL,
520 NULL,
521 NULL,
522
516 _ecore_evas_buffer_render, 523 _ecore_evas_buffer_render,
517 NULL // screen_geometry_get 524 NULL // screen_geometry_get
518}; 525};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c
index 36d41f8..0947b11 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c
@@ -9,7 +9,7 @@
9 9
10#ifdef BUILD_ECORE_EVAS_OPENGL_COCOA 10#ifdef BUILD_ECORE_EVAS_OPENGL_COCOA
11#include <Ecore_Cocoa.h> 11#include <Ecore_Cocoa.h>
12#include <Evas_Engine_Gl_Cocoa.h> 12#include <Evas_Engine_GL_Cocoa.h>
13#endif 13#endif
14 14
15#include "ecore_evas_private.h" 15#include "ecore_evas_private.h"
@@ -463,6 +463,14 @@ static Ecore_Evas_Engine_Func _ecore_cocoa_engine_func =
463 NULL, 463 NULL,
464 NULL, 464 NULL,
465 NULL, //transparent 465 NULL, //transparent
466
467 NULL,
468 NULL,
469 NULL,
470 NULL,
471 NULL,
472 NULL,
473
466 NULL, // render 474 NULL, // render
467 NULL 475 NULL
468 }; 476 };
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_directfb.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
index 457f9e9..ed24355 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
@@ -490,6 +490,13 @@ static Ecore_Evas_Engine_Func _ecore_directfb_engine_func =
490 NULL, /* alpha */ 490 NULL, /* alpha */
491 NULL, //transparent 491 NULL, //transparent
492 492
493 NULL,
494 NULL,
495 NULL,
496 NULL,
497 NULL,
498 NULL,
499
493 NULL, // render 500 NULL, // render
494 NULL // screen_geometry_get 501 NULL // screen_geometry_get
495}; 502};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_ews.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_ews.c
index eccf98b..ec02472 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_ews.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_ews.c
@@ -683,6 +683,14 @@ static const Ecore_Evas_Engine_Func _ecore_ews_engine_func =
683 _ecore_evas_ews_ignore_events_set, 683 _ecore_evas_ews_ignore_events_set,
684 _ecore_evas_ews_alpha_set, 684 _ecore_evas_ews_alpha_set,
685 _ecore_evas_ews_transparent_set, 685 _ecore_evas_ews_transparent_set,
686
687 NULL,
688 NULL,
689 NULL,
690 NULL,
691 NULL,
692 NULL,
693
686 _ecore_evas_ews_render, 694 _ecore_evas_ews_render,
687 _ecore_evas_ews_screen_geometry_get 695 _ecore_evas_ews_screen_geometry_get
688}; 696};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_extn.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_extn.c
index e46ab4a..a7ea4c3 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_extn.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_extn.c
@@ -2,35 +2,37 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#include <stdio.h>
5#include <stdlib.h> 6#include <stdlib.h>
7#include <sys/types.h>
8#include <unistd.h>
9#include <math.h>
10#include <time.h>
11#ifdef HAVE_SYS_MMAN_H
12# include <sys/mman.h>
13#endif
14#include <sys/stat.h>
15#include <fcntl.h>
16#include <string.h>
17#include <sys/file.h>
6#include <unistd.h> 18#include <unistd.h>
7 19
8#include <Ecore.h> 20#include <Ecore.h>
9#include "ecore_private.h" 21#include "ecore_private.h"
10#include <Ecore_Input.h> 22#include <Ecore_Input.h>
11 23
12#ifdef BUILD_ECORE_IPC 24#ifdef BUILD_ECORE_EVAS_EXTN
13# ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER 25
14# define EXTN_ENABLED 1 26#include <Ecore_Ipc.h>
15# endif 27
16#endif 28#endif
17 29
18#include "ecore_evas_private.h" 30#include "ecore_evas_private.h"
19#include "Ecore_Evas.h" 31#include "Ecore_Evas.h"
20#ifdef EXTN_ENABLED
21#include "Ecore_Ipc.h"
22 32
23#include <stdio.h> 33
24#include <stdlib.h> 34#ifdef BUILD_ECORE_EVAS_EXTN
25#include <sys/types.h> 35
26#include <unistd.h>
27#include <math.h>
28#include <time.h>
29#include <sys/mman.h>
30#include <sys/stat.h>
31#include <fcntl.h>
32#include <string.h>
33#include <sys/file.h>
34 36
35typedef struct _Shmfile Shmfile; 37typedef struct _Shmfile Shmfile;
36 38
@@ -1102,6 +1104,13 @@ static const Ecore_Evas_Engine_Func _ecore_extn_plug_engine_func =
1102 NULL, 1104 NULL,
1103 NULL, //transparent 1105 NULL, //transparent
1104 1106
1107 NULL,
1108 NULL,
1109 NULL,
1110 NULL,
1111 NULL,
1112 NULL,
1113
1105 NULL, // render 1114 NULL, // render
1106 NULL // screen_geometry_get 1115 NULL // screen_geometry_get
1107}; 1116};
@@ -1286,12 +1295,13 @@ void
1286_ecore_evas_extn_shutdown(void) 1295_ecore_evas_extn_shutdown(void)
1287{ 1296{
1288} 1297}
1289#endif 1298
1299#endif /* BUILD_ECORE_EVAS_EXTN */
1290 1300
1291EAPI Evas_Object * 1301EAPI Evas_Object *
1292ecore_evas_extn_plug_new(Ecore_Evas *ee_target) 1302ecore_evas_extn_plug_new(Ecore_Evas *ee_target)
1293{ 1303{
1294#ifdef EXTN_ENABLED 1304#ifdef BUILD_ECORE_EVAS_EXTN
1295 Evas_Object *o; 1305 Evas_Object *o;
1296 Ecore_Evas *ee; 1306 Ecore_Evas *ee;
1297 int w = 1, h = 1; 1307 int w = 1, h = 1;
@@ -1408,7 +1418,7 @@ ecore_evas_extn_plug_new(Ecore_Evas *ee_target)
1408EAPI Eina_Bool 1418EAPI Eina_Bool
1409ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys) 1419ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys)
1410{ 1420{
1411#ifdef EXTN_ENABLED 1421#ifdef BUILD_ECORE_EVAS_EXTN
1412 Extn *extn; 1422 Extn *extn;
1413 Ecore_Evas *ee = NULL; 1423 Ecore_Evas *ee = NULL;
1414 1424
@@ -1459,7 +1469,7 @@ ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum,
1459EAPI void 1469EAPI void
1460ecore_evas_extn_plug_object_data_lock(Evas_Object *obj) 1470ecore_evas_extn_plug_object_data_lock(Evas_Object *obj)
1461{ 1471{
1462#ifdef EXTN_ENABLED 1472#ifdef BUILD_ECORE_EVAS_EXTN
1463 Ecore_Evas *ee; 1473 Ecore_Evas *ee;
1464 1474
1465 ee = ecore_evas_object_ecore_evas_get(obj); 1475 ee = ecore_evas_object_ecore_evas_get(obj);
@@ -1471,7 +1481,7 @@ ecore_evas_extn_plug_object_data_lock(Evas_Object *obj)
1471EAPI void 1481EAPI void
1472ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj) 1482ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj)
1473{ 1483{
1474#ifdef EXTN_ENABLED 1484#ifdef BUILD_ECORE_EVAS_EXTN
1475 Ecore_Evas *ee; 1485 Ecore_Evas *ee;
1476 1486
1477 ee = ecore_evas_object_ecore_evas_get(obj); 1487 ee = ecore_evas_object_ecore_evas_get(obj);
@@ -1480,7 +1490,7 @@ ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj)
1480#endif 1490#endif
1481} 1491}
1482 1492
1483#ifdef EXTN_ENABLED 1493#ifdef BUILD_ECORE_EVAS_EXTN
1484static void 1494static void
1485_ecore_evas_socket_resize(Ecore_Evas *ee, int w, int h) 1495_ecore_evas_socket_resize(Ecore_Evas *ee, int w, int h)
1486{ 1496{
@@ -1830,7 +1840,7 @@ _ipc_client_data(void *data, int type __UNUSED__, void *event)
1830 1840
1831#define STRGET(val) \ 1841#define STRGET(val) \
1832 do { \ 1842 do { \
1833 if ((ipc->val) && (ipc->val < (char *)(e->size - 1))) \ 1843 if ((ipc->val) && (ipc->val < (char *)(long)(e->size - 1))) \
1834 ipc->val = ((char *)ipc) + (long)ipc->val; \ 1844 ipc->val = ((char *)ipc) + (long)ipc->val; \
1835 else \ 1845 else \
1836 ipc->val = NULL; \ 1846 ipc->val = NULL; \
@@ -1978,6 +1988,13 @@ static const Ecore_Evas_Engine_Func _ecore_extn_socket_engine_func =
1978 _ecore_evas_extn_socket_alpha_set, 1988 _ecore_evas_extn_socket_alpha_set,
1979 NULL, //transparent 1989 NULL, //transparent
1980 1990
1991 NULL,
1992 NULL,
1993 NULL,
1994 NULL,
1995 NULL,
1996 NULL,
1997
1981 _ecore_evas_extn_socket_render, // render 1998 _ecore_evas_extn_socket_render, // render
1982 NULL // screen_geometry_get 1999 NULL // screen_geometry_get
1983}; 2000};
@@ -1987,7 +2004,7 @@ static const Ecore_Evas_Engine_Func _ecore_extn_socket_engine_func =
1987EAPI Ecore_Evas * 2004EAPI Ecore_Evas *
1988ecore_evas_extn_socket_new(int w, int h) 2005ecore_evas_extn_socket_new(int w, int h)
1989{ 2006{
1990#ifdef EXTN_ENABLED 2007#ifdef BUILD_ECORE_EVAS_EXTN
1991 Evas_Engine_Info_Buffer *einfo; 2008 Evas_Engine_Info_Buffer *einfo;
1992 Ecore_Evas *ee; 2009 Ecore_Evas *ee;
1993 int rmethod; 2010 int rmethod;
@@ -2077,7 +2094,7 @@ ecore_evas_extn_socket_new(int w, int h)
2077EAPI Eina_Bool 2094EAPI Eina_Bool
2078ecore_evas_extn_socket_listen(Ecore_Evas *ee, const char *svcname, int svcnum, Eina_Bool svcsys) 2095ecore_evas_extn_socket_listen(Ecore_Evas *ee, const char *svcname, int svcnum, Eina_Bool svcsys)
2079{ 2096{
2080#ifdef EXTN_ENABLED 2097#ifdef BUILD_ECORE_EVAS_EXTN
2081 Extn *extn; 2098 Extn *extn;
2082 2099
2083 extn = calloc(1, sizeof(Extn)); 2100 extn = calloc(1, sizeof(Extn));
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_fb.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_fb.c
index 74caada..11e2ffd 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_fb.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_fb.c
@@ -541,6 +541,13 @@ static Ecore_Evas_Engine_Func _ecore_fb_engine_func =
541 NULL, 541 NULL,
542 NULL, //transparent 542 NULL, //transparent
543 543
544 NULL,
545 NULL,
546 NULL,
547 NULL,
548 NULL,
549 NULL,
550
544 NULL, // render 551 NULL, // render
545 NULL // screen_geometry_get 552 NULL // screen_geometry_get
546}; 553};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_private.h b/libraries/ecore/src/lib/ecore_evas/ecore_evas_private.h
index 9a88a7a..e31653a 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_private.h
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_private.h
@@ -123,6 +123,7 @@ extern int _ecore_evas_log_dom;
123#define IDLE_FLUSH_TIME 0.5 123#define IDLE_FLUSH_TIME 0.5
124#ifndef _ECORE_EVAS_H 124#ifndef _ECORE_EVAS_H
125typedef struct _Ecore_Evas Ecore_Evas; 125typedef struct _Ecore_Evas Ecore_Evas;
126typedef void (*Ecore_Evas_Event_Cb) (Ecore_Evas *ee);
126#endif 127#endif
127 128
128typedef struct _Ecore_Evas_Engine Ecore_Evas_Engine; 129typedef struct _Ecore_Evas_Engine Ecore_Evas_Engine;
@@ -131,20 +132,20 @@ typedef struct _Ecore_Evas_Engine_Func Ecore_Evas_Engine_Func;
131struct _Ecore_Evas_Engine_Func 132struct _Ecore_Evas_Engine_Func
132{ 133{
133 void (*fn_free) (Ecore_Evas *ee); 134 void (*fn_free) (Ecore_Evas *ee);
134 void (*fn_callback_resize_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 135 void (*fn_callback_resize_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
135 void (*fn_callback_move_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 136 void (*fn_callback_move_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
136 void (*fn_callback_show_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 137 void (*fn_callback_show_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
137 void (*fn_callback_hide_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 138 void (*fn_callback_hide_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
138 void (*fn_callback_delete_request_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 139 void (*fn_callback_delete_request_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
139 void (*fn_callback_destroy_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 140 void (*fn_callback_destroy_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
140 void (*fn_callback_focus_in_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 141 void (*fn_callback_focus_in_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
141 void (*fn_callback_focus_out_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 142 void (*fn_callback_focus_out_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
142 void (*fn_callback_mouse_in_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 143 void (*fn_callback_mouse_in_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
143 void (*fn_callback_mouse_out_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 144 void (*fn_callback_mouse_out_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
144 void (*fn_callback_sticky_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 145 void (*fn_callback_sticky_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
145 void (*fn_callback_unsticky_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 146 void (*fn_callback_unsticky_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
146 void (*fn_callback_pre_render_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 147 void (*fn_callback_pre_render_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
147 void (*fn_callback_post_render_set) (Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)); 148 void (*fn_callback_post_render_set) (Ecore_Evas *ee, Ecore_Evas_Event_Cb func);
148 void (*fn_move) (Ecore_Evas *ee, int x, int y); 149 void (*fn_move) (Ecore_Evas *ee, int x, int y);
149 void (*fn_managed_move) (Ecore_Evas *ee, int x, int y); 150 void (*fn_managed_move) (Ecore_Evas *ee, int x, int y);
150 void (*fn_resize) (Ecore_Evas *ee, int w, int h); 151 void (*fn_resize) (Ecore_Evas *ee, int w, int h);
@@ -177,6 +178,13 @@ struct _Ecore_Evas_Engine_Func
177 void (*fn_alpha_set) (Ecore_Evas *ee, int alpha); 178 void (*fn_alpha_set) (Ecore_Evas *ee, int alpha);
178 void (*fn_transparent_set) (Ecore_Evas *ee, int transparent); 179 void (*fn_transparent_set) (Ecore_Evas *ee, int transparent);
179 180
181 void (*fn_window_group_set) (Ecore_Evas *ee, const Ecore_Evas *ee_group);
182 void (*fn_aspect_set) (Ecore_Evas *ee, double aspect);
183 void (*fn_urgent_set) (Ecore_Evas *ee, int urgent);
184 void (*fn_modal_set) (Ecore_Evas *ee, int modal);
185 void (*fn_demands_attention_set) (Ecore_Evas *ee, int demand);
186 void (*fn_focus_skip_set) (Ecore_Evas *ee, int skip);
187
180 int (*fn_render) (Ecore_Evas *ee); 188 int (*fn_render) (Ecore_Evas *ee);
181 void (*fn_screen_geometry_get) (const Ecore_Evas *ee, int *x, int *y, int *w, int *h); 189 void (*fn_screen_geometry_get) (const Ecore_Evas *ee, int *x, int *y, int *w, int *h);
182}; 190};
@@ -271,11 +279,13 @@ struct _Ecore_Evas_Engine
271#if defined(BUILD_ECORE_EVAS_WAYLAND_SHM) || defined(BUILD_ECORE_EVAS_WAYLAND_EGL) 279#if defined(BUILD_ECORE_EVAS_WAYLAND_SHM) || defined(BUILD_ECORE_EVAS_WAYLAND_EGL)
272 struct 280 struct
273 { 281 {
282 Ecore_Wl_Window *parent, *win;
274 Evas_Object *frame; 283 Evas_Object *frame;
275 284
276 struct wl_shell_surface *shell_surface; 285# if defined(BUILD_ECORE_EVAS_WAYLAND_SHM)
277 struct wl_surface *surface;
278 struct wl_buffer *buffer; 286 struct wl_buffer *buffer;
287# endif
288
279 } wl; 289 } wl;
280#endif 290#endif
281 291
@@ -333,6 +343,9 @@ struct _Ecore_Evas
333 int layer; 343 int layer;
334 Ecore_Window window; 344 Ecore_Window window;
335 unsigned char avoid_damage; 345 unsigned char avoid_damage;
346 Ecore_Evas *group_ee;
347 Ecore_Window group_ee_win;
348 double aspect;
336 char focused : 1; 349 char focused : 1;
337 char iconified : 1; 350 char iconified : 1;
338 char borderless : 1; 351 char borderless : 1;
@@ -343,7 +356,12 @@ struct _Ecore_Evas
343 char sticky : 1; 356 char sticky : 1;
344 char request_pos : 1; 357 char request_pos : 1;
345 char draw_frame : 1; 358 char draw_frame : 1;
346 } prop; 359 char hwsurface : 1;
360 char urgent : 1;
361 char modal : 1;
362 char demand_attention : 1;
363 char focus_skip : 1;
364 } prop;
347 365
348 struct { 366 struct {
349 void (*fn_resize) (Ecore_Evas *ee); 367 void (*fn_resize) (Ecore_Evas *ee);
@@ -361,6 +379,7 @@ struct _Ecore_Evas
361 void (*fn_pre_render) (Ecore_Evas *ee); 379 void (*fn_pre_render) (Ecore_Evas *ee);
362 void (*fn_post_render) (Ecore_Evas *ee); 380 void (*fn_post_render) (Ecore_Evas *ee);
363 void (*fn_pre_free) (Ecore_Evas *ee); 381 void (*fn_pre_free) (Ecore_Evas *ee);
382 void (*fn_state_change) (Ecore_Evas *ee);
364 } func; 383 } func;
365 384
366 Ecore_Evas_Engine engine; 385 Ecore_Evas_Engine engine;
@@ -406,11 +425,15 @@ int _ecore_evas_ews_shutdown(void);
406#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM 425#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
407void _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location); 426void _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location);
408void _ecore_evas_wayland_shm_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); 427void _ecore_evas_wayland_shm_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source);
428void _ecore_evas_wayland_shm_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y);
429void _ecore_evas_wayland_shm_type_set(Ecore_Evas *ee, int type);
409#endif 430#endif
410 431
411#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL 432#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL
412void _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location); 433void _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location);
413void _ecore_evas_wayland_egl_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); 434void _ecore_evas_wayland_egl_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source);
435void _ecore_evas_wayland_egl_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y);
436void _ecore_evas_wayland_egl_type_set(Ecore_Evas *ee, int type);
414#endif 437#endif
415 438
416void _ecore_evas_fps_debug_init(void); 439void _ecore_evas_fps_debug_init(void);
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_psl1ght.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_psl1ght.c
index be130ad..038654a 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_psl1ght.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_psl1ght.c
@@ -233,7 +233,7 @@ _ecore_evas_psl1ght_free(Ecore_Evas *ee)
233} 233}
234 234
235static void 235static void
236_ecore_evas_psl1ght_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 236_ecore_evas_psl1ght_callback_delete_request_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
237{ 237{
238 ee->func.fn_delete_request = func; 238 ee->func.fn_delete_request = func;
239} 239}
@@ -396,6 +396,13 @@ static Ecore_Evas_Engine_Func _ecore_psl1ght_engine_func =
396 NULL, 396 NULL,
397 NULL, //transparent 397 NULL, //transparent
398 398
399 NULL,
400 NULL,
401 NULL,
402 NULL,
403 NULL,
404 NULL,
405
399 NULL, // render 406 NULL, // render
400 _ecore_evas_screen_geometry_get // screen_geometry_get 407 _ecore_evas_screen_geometry_get // screen_geometry_get
401}; 408};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_sdl.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_sdl.c
index a3be2c7..b246a26 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_sdl.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_sdl.c
@@ -7,9 +7,6 @@
7#include <Ecore_Input_Evas.h> 7#include <Ecore_Input_Evas.h>
8#if defined(BUILD_ECORE_EVAS_SOFTWARE_SDL) || defined(BUILD_ECORE_EVAS_OPENGL_SDL) 8#if defined(BUILD_ECORE_EVAS_SOFTWARE_SDL) || defined(BUILD_ECORE_EVAS_OPENGL_SDL)
9# include <Ecore_Sdl.h> 9# include <Ecore_Sdl.h>
10# ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
11# include <Evas_Engine_SDL.h>
12# endif
13# ifdef BUILD_ECORE_EVAS_OPENGL_SDL 10# ifdef BUILD_ECORE_EVAS_OPENGL_SDL
14# include <Evas_Engine_GL_SDL.h> 11# include <Evas_Engine_GL_SDL.h>
15# endif 12# endif
@@ -18,10 +15,17 @@
18#include <stdlib.h> 15#include <stdlib.h>
19#include <string.h> 16#include <string.h>
20 17
18#if defined(BUILD_ECORE_EVAS_SOFTWARE_SDL) || defined(BUILD_ECORE_EVAS_OPENGL_SDL)
19#include <SDL/SDL.h>
20#endif
21
21#include "ecore_evas_private.h" 22#include "ecore_evas_private.h"
22#include "Ecore_Evas.h" 23#include "Ecore_Evas.h"
23 24
24// fixme: 1 sdl window only at a time? seems wrong 25/**
26 ** SDL only handle one window at a time. That's by definition, there is nothing wrong here.
27 **
28 **/
25 29
26#if defined(BUILD_ECORE_EVAS_SOFTWARE_SDL) || defined(BUILD_ECORE_EVAS_OPENGL_SDL) 30#if defined(BUILD_ECORE_EVAS_SOFTWARE_SDL) || defined(BUILD_ECORE_EVAS_OPENGL_SDL)
27 31
@@ -45,6 +49,13 @@ _ecore_evas_sdl_match(void)
45 return sdl_ee; 49 return sdl_ee;
46} 50}
47 51
52static void *
53_ecore_evas_sdl_switch_buffer(void *data, void *dest __UNUSED__)
54{
55 SDL_Flip(data);
56 return ((SDL_Surface*)data)->pixels;
57}
58
48static Eina_Bool 59static Eina_Bool
49_ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__) 60_ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
50{ 61{
@@ -80,12 +91,54 @@ _ecore_evas_sdl_event_video_resize(void *data __UNUSED__, int type __UNUSED__, v
80{ 91{
81 Ecore_Sdl_Event_Video_Resize *e; 92 Ecore_Sdl_Event_Video_Resize *e;
82 Ecore_Evas *ee; 93 Ecore_Evas *ee;
94 int rmethod;
83 95
84 e = event; 96 e = event;
85 ee = _ecore_evas_sdl_match(); 97 ee = _ecore_evas_sdl_match();
86 98
87 if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */ 99 if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
100
101 rmethod = evas_output_method_get(ee->evas);
102 if (rmethod == evas_render_method_lookup("buffer"))
103 {
104 Evas_Engine_Info_Buffer *einfo;
105
106 einfo = (Evas_Engine_Info_Buffer *) evas_engine_info_get(ee->evas);
107 if (einfo)
108 {
109 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32;
110 einfo->info.switch_data = SDL_SetVideoMode(e->w, e->h, 32,
111 (ee->prop.hwsurface ? SDL_HWSURFACE : SDL_SWSURFACE)
112 | (ee->prop.fullscreen ? SDL_FULLSCREEN : 0)
113 | (ee->alpha ? SDL_SRCALPHA : 0)
114 | SDL_DOUBLEBUF);
115 if (!einfo->info.switch_data)
116 {
117 return EINA_FALSE;
118 }
119
120 SDL_SetAlpha(einfo->info.switch_data, SDL_SRCALPHA, 0);
121 SDL_FillRect(einfo->info.switch_data, NULL, 0);
122
123 einfo->info.dest_buffer = ((SDL_Surface*)einfo->info.switch_data)->pixels;
124 einfo->info.dest_buffer_row_bytes = e->w * sizeof (int);
125 einfo->info.use_color_key = 0;
126 einfo->info.alpha_threshold = 0;
127 einfo->info.func.new_update_region = NULL;
128 einfo->info.func.free_update_region = NULL;
129 einfo->info.func.switch_buffer = _ecore_evas_sdl_switch_buffer;
130 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *) einfo))
131 {
132 return EINA_FALSE;
133 }
134 }
135 }
136
137 ee->w = e->w;
138 ee->h = e->h;
139
88 evas_output_size_set(ee->evas, e->w, e->h); 140 evas_output_size_set(ee->evas, e->w, e->h);
141 evas_output_viewport_set(ee->evas, 0, 0, e->w, e->h);
89 142
90 return ECORE_CALLBACK_PASS_ON; 143 return ECORE_CALLBACK_PASS_ON;
91} 144}
@@ -191,7 +244,7 @@ _ecore_evas_sdl_shutdown(void)
191 _ecore_evas_init_count--; 244 _ecore_evas_init_count--;
192 if (_ecore_evas_init_count == 0) 245 if (_ecore_evas_init_count == 0)
193 { 246 {
194 int i; 247 unsigned int i;
195 248
196 for (i = 0; i < sizeof (ecore_evas_event_handlers) / sizeof (Ecore_Event_Handler*); i++) 249 for (i = 0; i < sizeof (ecore_evas_event_handlers) / sizeof (Ecore_Event_Handler*); i++)
197 ecore_event_handler_del(ecore_evas_event_handlers[i]); 250 ecore_event_handler_del(ecore_evas_event_handlers[i]);
@@ -219,10 +272,48 @@ _ecore_evas_sdl_free(Ecore_Evas *ee)
219static void 272static void
220_ecore_evas_resize(Ecore_Evas *ee, int w, int h) 273_ecore_evas_resize(Ecore_Evas *ee, int w, int h)
221{ 274{
275 int rmethod;
276
222 if ((w == ee->w) && (h == ee->h)) return; 277 if ((w == ee->w) && (h == ee->h)) return;
223 ee->w = w; 278 ee->w = w;
224 ee->h = h; 279 ee->h = h;
225 280
281 rmethod = evas_output_method_get(ee->evas);
282 if (rmethod == evas_render_method_lookup("buffer"))
283 {
284 Evas_Engine_Info_Buffer *einfo;
285
286 einfo = (Evas_Engine_Info_Buffer *) evas_engine_info_get(ee->evas);
287 if (einfo)
288 {
289 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32;
290 einfo->info.switch_data = SDL_SetVideoMode(w, h, 32,
291 (ee->prop.hwsurface ? SDL_HWSURFACE : SDL_SWSURFACE)
292 | (ee->prop.fullscreen ? SDL_FULLSCREEN : 0)
293 | (ee->alpha ? SDL_SRCALPHA : 0)
294 | SDL_DOUBLEBUF);
295 if (!einfo->info.switch_data)
296 {
297 return ;
298 }
299
300 SDL_SetAlpha(einfo->info.switch_data, SDL_SRCALPHA, 0);
301 SDL_FillRect(einfo->info.switch_data, NULL, 0);
302
303 einfo->info.dest_buffer = ((SDL_Surface*)einfo->info.switch_data)->pixels;
304 einfo->info.dest_buffer_row_bytes = w * sizeof (int);
305 einfo->info.use_color_key = 0;
306 einfo->info.alpha_threshold = 0;
307 einfo->info.func.new_update_region = NULL;
308 einfo->info.func.free_update_region = NULL;
309 einfo->info.func.switch_buffer = _ecore_evas_sdl_switch_buffer;
310 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *) einfo))
311 {
312 return ;
313 }
314 }
315 }
316
226 evas_output_size_set(ee->evas, ee->w, ee->h); 317 evas_output_size_set(ee->evas, ee->w, ee->h);
227 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h); 318 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h);
228 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); 319 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
@@ -342,6 +433,13 @@ static Ecore_Evas_Engine_Func _ecore_sdl_engine_func =
342 NULL, 433 NULL,
343 NULL, //transparent 434 NULL, //transparent
344 435
436 NULL,
437 NULL,
438 NULL,
439 NULL,
440 NULL,
441 NULL,
442
345 NULL, // render 443 NULL, // render
346 NULL // screen_geometry_get 444 NULL // screen_geometry_get
347}; 445};
@@ -349,7 +447,6 @@ static Ecore_Evas_Engine_Func _ecore_sdl_engine_func =
349static Ecore_Evas* 447static Ecore_Evas*
350_ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha) 448_ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha)
351{ 449{
352 void *einfo;
353 Ecore_Evas *ee; 450 Ecore_Evas *ee;
354 451
355 if (!name) 452 if (!name)
@@ -382,6 +479,8 @@ _ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fu
382 ee->prop.withdrawn = 0; 479 ee->prop.withdrawn = 0;
383 ee->prop.sticky = 0; 480 ee->prop.sticky = 0;
384 ee->prop.window = 0; 481 ee->prop.window = 0;
482 ee->alpha = alpha;
483 ee->prop.hwsurface = hwsurface;
385 484
386 /* init evas here */ 485 /* init evas here */
387 ee->evas = evas_new(); 486 ee->evas = evas_new();
@@ -391,19 +490,47 @@ _ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fu
391 evas_output_size_set(ee->evas, w, h); 490 evas_output_size_set(ee->evas, w, h);
392 evas_output_viewport_set(ee->evas, 0, 0, w, h); 491 evas_output_viewport_set(ee->evas, 0, 0, w, h);
393 492
394 if (rmethod == evas_render_method_lookup("software_sdl") || 493 if (rmethod == evas_render_method_lookup("buffer"))
395 rmethod == evas_render_method_lookup("software_16_sdl") )
396 { 494 {
397#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL 495 Evas_Engine_Info_Buffer *einfo;
398 einfo = evas_engine_info_get(ee->evas); 496
497 einfo = (Evas_Engine_Info_Buffer *) evas_engine_info_get(ee->evas);
399 if (einfo) 498 if (einfo)
400 { 499 {
401 ((Evas_Engine_Info_SDL *)einfo)->info.rotation = 0; 500 SDL_Init(SDL_INIT_NOPARACHUTE);
402 ((Evas_Engine_Info_SDL *)einfo)->info.fullscreen = fullscreen; 501
403 ((Evas_Engine_Info_SDL *)einfo)->info.hwsurface = hwsurface; 502 if (SDL_InitSubSystem(SDL_INIT_VIDEO) < 0)
404 ((Evas_Engine_Info_SDL *)einfo)->info.noframe = noframe; 503 {
405 ((Evas_Engine_Info_SDL *)einfo)->info.alpha = alpha; 504 ERR("SDL_Init failed with %s", SDL_GetError());
406 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo)) 505 SDL_Quit();
506 return NULL;
507 }
508
509 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32;
510 einfo->info.switch_data = SDL_SetVideoMode(w, h, 32,
511 (hwsurface ? SDL_HWSURFACE : SDL_SWSURFACE)
512 | (fullscreen ? SDL_FULLSCREEN : 0)
513 | (noframe ? SDL_NOFRAME : 0)
514 | (alpha ? SDL_SRCALPHA : 0)
515 | SDL_DOUBLEBUF);
516 if (!einfo->info.switch_data)
517 {
518 ERR("SDL_SetVideoMode failed !");
519 ecore_evas_free(ee);
520 return NULL;
521 }
522
523 SDL_SetAlpha(einfo->info.switch_data, SDL_SRCALPHA, 0);
524 SDL_FillRect(einfo->info.switch_data, NULL, 0);
525
526 einfo->info.dest_buffer = ((SDL_Surface*)einfo->info.switch_data)->pixels;
527 einfo->info.dest_buffer_row_bytes = w * sizeof (int);
528 einfo->info.use_color_key = 0;
529 einfo->info.alpha_threshold = 0;
530 einfo->info.func.new_update_region = NULL;
531 einfo->info.func.free_update_region = NULL;
532 einfo->info.func.switch_buffer = _ecore_evas_sdl_switch_buffer;
533 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *) einfo))
407 { 534 {
408 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver); 535 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
409 ecore_evas_free(ee); 536 ecore_evas_free(ee);
@@ -416,16 +543,17 @@ _ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fu
416 ecore_evas_free(ee); 543 ecore_evas_free(ee);
417 return NULL; 544 return NULL;
418 } 545 }
419#endif
420 } 546 }
421 else if (rmethod == evas_render_method_lookup("gl_sdl")) 547 else if (rmethod == evas_render_method_lookup("gl_sdl"))
422 { 548 {
423#ifdef BUILD_ECORE_EVAS_OPENGL_SDL 549#ifdef BUILD_ECORE_EVAS_OPENGL_SDL
424 einfo = evas_engine_info_get(ee->evas); 550 Evas_Engine_Info_GL_SDL *einfo;
551
552 einfo = (Evas_Engine_Info_GL_SDL *) evas_engine_info_get(ee->evas);
425 if (einfo) 553 if (einfo)
426 { 554 {
427 ((Evas_Engine_Info_GL_SDL *)einfo)->flags.fullscreen = fullscreen; 555 einfo->flags.fullscreen = fullscreen;
428 ((Evas_Engine_Info_GL_SDL *)einfo)->flags.noframe = noframe; 556 einfo->flags.noframe = noframe;
429 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo)) 557 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
430 { 558 {
431 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver); 559 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
@@ -464,7 +592,7 @@ _ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fu
464 (Ecore_Event_Multi_Down_Cb)_ecore_evas_mouse_multi_down_process, 592 (Ecore_Event_Multi_Down_Cb)_ecore_evas_mouse_multi_down_process,
465 (Ecore_Event_Multi_Up_Cb)_ecore_evas_mouse_multi_up_process); 593 (Ecore_Event_Multi_Up_Cb)_ecore_evas_mouse_multi_up_process);
466 594
467 SDL_ShowCursor(SDL_DISABLE); 595 SDL_ShowCursor(SDL_ENABLE);
468 596
469 ee->engine.func->fn_render = _ecore_evas_sdl_render; 597 ee->engine.func->fn_render = _ecore_evas_sdl_render;
470 _ecore_evas_register(ee); 598 _ecore_evas_register(ee);
@@ -481,11 +609,10 @@ ecore_evas_sdl_new(const char* name, int w, int h, int fullscreen, int hwsurface
481 Ecore_Evas *ee; 609 Ecore_Evas *ee;
482 int rmethod; 610 int rmethod;
483 611
484 rmethod = evas_render_method_lookup("software_sdl"); 612 rmethod = evas_render_method_lookup("buffer");
485 if (!rmethod) return NULL; 613 if (!rmethod) return NULL;
486 614
487 ee = _ecore_evas_internal_sdl_new(rmethod, name, w, h, fullscreen, hwsurface, noframe, alpha); 615 ee = _ecore_evas_internal_sdl_new(rmethod, name, w, h, fullscreen, hwsurface, noframe, alpha);
488 ee->driver = "sdl";
489 return ee; 616 return ee;
490} 617}
491#else 618#else
@@ -497,28 +624,12 @@ ecore_evas_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED
497} 624}
498#endif 625#endif
499 626
500#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
501EAPI Ecore_Evas*
502ecore_evas_sdl16_new(const char* name, int w, int h, int fullscreen, int hwsurface, int noframe, int alpha)
503{
504 Ecore_Evas *ee;
505 int rmethod;
506
507 rmethod = evas_render_method_lookup("software_16_sdl");
508 if (!rmethod) return NULL;
509
510 ee = _ecore_evas_internal_sdl_new(rmethod, name, w, h, fullscreen, hwsurface, noframe, alpha);
511 ee->driver = "software_16_sdl";
512 return ee;
513}
514#else
515EAPI Ecore_Evas* 627EAPI Ecore_Evas*
516ecore_evas_sdl16_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__) 628ecore_evas_sdl16_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
517{ 629{
518 ERR("OUTCH !"); 630 ERR("OUTCH !");
519 return NULL; 631 return NULL;
520} 632}
521#endif
522 633
523#ifdef BUILD_ECORE_EVAS_OPENGL_SDL 634#ifdef BUILD_ECORE_EVAS_OPENGL_SDL
524EAPI Ecore_Evas* 635EAPI Ecore_Evas*
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
index 72e8555..e88fc35 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
@@ -1,8 +1,8 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include <config.h> 2# include "config.h"
3#endif 3#endif
4 4
5#define LOGFNS 1 5//#define LOGFNS 1
6 6
7#ifdef LOGFNS 7#ifdef LOGFNS
8# include <stdio.h> 8# include <stdio.h>
@@ -28,15 +28,15 @@
28#include "Ecore_Evas.h" 28#include "Ecore_Evas.h"
29 29
30#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL 30#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL
31# include <wayland-egl.h>
32# include <Evas_Engine_Wayland_Egl.h> 31# include <Evas_Engine_Wayland_Egl.h>
33# include <Ecore_Wayland.h> 32# include <Ecore_Wayland.h>
34 33
35/* local structures */ 34/* local structures */
36typedef struct _EE_Wl_Smart_Data EE_Wl_Smart_Data; 35typedef struct _EE_Wl_Smart_Data EE_Wl_Smart_Data;
37struct _EE_Wl_Smart_Data 36struct _EE_Wl_Smart_Data
38{ 37{
39 Evas_Object *frame, *text; 38 Evas_Object *frame;
39 Evas_Object *text;
40 Evas_Coord x, y, w, h; 40 Evas_Coord x, y, w, h;
41}; 41};
42 42
@@ -51,40 +51,33 @@ static void _ecore_evas_wl_callback_delete_request_set(Ecore_Evas *ee, void (*fu
51static void _ecore_evas_wl_callback_focus_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee)); 51static void _ecore_evas_wl_callback_focus_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
52static void _ecore_evas_wl_callback_focus_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee)); 52static void _ecore_evas_wl_callback_focus_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
53static void _ecore_evas_wl_callback_mouse_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee)); 53static void _ecore_evas_wl_callback_mouse_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
54static void _ecore_evas_wl_callback_mouse_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
54static void _ecore_evas_wl_move(Ecore_Evas *ee, int x, int y); 55static void _ecore_evas_wl_move(Ecore_Evas *ee, int x, int y);
55static void _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h); 56static void _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h);
56static void _ecore_evas_wl_show(Ecore_Evas *ee); 57static void _ecore_evas_wl_show(Ecore_Evas *ee);
57static void _ecore_evas_wl_hide(Ecore_Evas *ee); 58static void _ecore_evas_wl_hide(Ecore_Evas *ee);
58static void _ecore_evas_wl_raise(Ecore_Evas *ee); 59static void _ecore_evas_wl_raise(Ecore_Evas *ee);
59static void _ecore_evas_wl_lower(Ecore_Evas *ee); 60static void _ecore_evas_wl_title_set(Ecore_Evas *ee, const char *title);
60static void _ecore_evas_wl_activate(Ecore_Evas *ee);
61static void _ecore_evas_wl_title_set(Ecore_Evas *ee, const char *t);
62static void _ecore_evas_wl_name_class_set(Ecore_Evas *ee, const char *n, const char *c); 61static void _ecore_evas_wl_name_class_set(Ecore_Evas *ee, const char *n, const char *c);
63static void _ecore_evas_wl_size_min_set(Ecore_Evas *ee, int w, int h); 62static void _ecore_evas_wl_size_min_set(Ecore_Evas *ee, int w, int h);
64static void _ecore_evas_wl_size_max_set(Ecore_Evas *ee, int w, int h); 63static void _ecore_evas_wl_size_max_set(Ecore_Evas *ee, int w, int h);
65static void _ecore_evas_wl_size_base_set(Ecore_Evas *ee, int w, int h); 64static void _ecore_evas_wl_size_base_set(Ecore_Evas *ee, int w, int h);
66static void _ecore_evas_wl_size_step_set(Ecore_Evas *ee, int w, int h); 65static void _ecore_evas_wl_size_step_set(Ecore_Evas *ee, int w, int h);
67static void _ecore_evas_wl_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y);
68static void _ecore_evas_wl_object_cursor_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__);
69static void _ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer); 66static void _ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer);
70static void _ecore_evas_wl_focus_set(Ecore_Evas *ee, int focus __UNUSED__);
71static void _ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify); 67static void _ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify);
72static void _ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max); 68static void _ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max);
73static void _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full __UNUSED__); 69static void _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full);
70static void _ecore_evas_wl_ignore_events_set(Ecore_Evas *ee, int ignore);
71static void _ecore_evas_wl_alpha_set(Ecore_Evas *ee, int alpha);
72static void _ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent);
74static int _ecore_evas_wl_render(Ecore_Evas *ee); 73static int _ecore_evas_wl_render(Ecore_Evas *ee);
75static void _ecore_evas_wl_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h); 74static void _ecore_evas_wl_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h);
76 75
77static Eina_Bool _ecore_evas_wl_event_mouse_down(void *data __UNUSED__, int type __UNUSED__, void *event); 76static Eina_Bool _ecore_evas_wl_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event);
78static Eina_Bool _ecore_evas_wl_event_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event); 77static Eina_Bool _ecore_evas_wl_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event);
79static Eina_Bool _ecore_evas_wl_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event); 78static Eina_Bool _ecore_evas_wl_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event);
80static Eina_Bool _ecore_evas_wl_event_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event); 79static Eina_Bool _ecore_evas_wl_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event);
81static Eina_Bool _ecore_evas_wl_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event); 80static Eina_Bool _ecore_evas_wl_cb_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event);
82static Eina_Bool _ecore_evas_wl_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event);
83static Eina_Bool _ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event);
84static Eina_Bool _ecore_evas_wl_event_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event);
85
86static void _ecore_evas_wl_handle_configure(void *data, struct wl_shell_surface *shell_surface __UNUSED__, uint32_t timestamp __UNUSED__, uint32_t edges __UNUSED__, int32_t width, int32_t height);
87static void _ecore_evas_wl_handle_popup_done(void *data __UNUSED__, struct wl_shell_surface *shell_surface __UNUSED__);
88 81
89/* SMART stuff for frame */ 82/* SMART stuff for frame */
90static Evas_Smart *_ecore_evas_wl_smart = NULL; 83static Evas_Smart *_ecore_evas_wl_smart = NULL;
@@ -100,94 +93,94 @@ static Evas_Object *_ecore_evas_wl_frame_add(Evas *evas);
100 93
101/* local variables */ 94/* local variables */
102static int _ecore_evas_wl_init_count = 0; 95static int _ecore_evas_wl_init_count = 0;
103static Ecore_Event_Handler *_ecore_evas_wl_event_handlers[8]; 96static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[5];
104static uint32_t _ecore_evas_wl_btn_timestamp;
105static const struct wl_shell_surface_listener _ecore_evas_wl_shell_surface_listener =
106{
107 _ecore_evas_wl_handle_configure,
108 _ecore_evas_wl_handle_popup_done
109};
110 97
111static Ecore_Evas_Engine_Func _ecore_wl_engine_func = 98static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
112{ 99{
113 _ecore_evas_wl_free, 100 _ecore_evas_wl_free,
114 _ecore_evas_wl_callback_resize_set, 101 _ecore_evas_wl_callback_resize_set,
115 _ecore_evas_wl_callback_move_set, 102 _ecore_evas_wl_callback_move_set,
116 NULL, // callback show set 103 NULL,
117 NULL, // callback hide set 104 NULL,
118 _ecore_evas_wl_callback_delete_request_set, 105 _ecore_evas_wl_callback_delete_request_set,
119 NULL, // callback destroy set 106 NULL,
120 _ecore_evas_wl_callback_focus_in_set, 107 _ecore_evas_wl_callback_focus_in_set,
121 _ecore_evas_wl_callback_focus_out_set, 108 _ecore_evas_wl_callback_focus_out_set,
122 _ecore_evas_wl_callback_mouse_in_set, 109 _ecore_evas_wl_callback_mouse_in_set,
123 NULL, // callback mouse out set 110 _ecore_evas_wl_callback_mouse_out_set,
124 NULL, // callback sticky set 111 NULL, // sticky_set
125 NULL, // callback unsticky set 112 NULL, // unsticky_set
126 NULL, // callback pre render set 113 NULL, // pre_render_set
127 NULL, // callback post render set 114 NULL, // post_render_set
128 _ecore_evas_wl_move, 115 _ecore_evas_wl_move,
129 NULL, // func managed move 116 NULL, // managed_move
130 _ecore_evas_wl_resize, 117 _ecore_evas_wl_resize,
131 NULL, // _ecore_evas_wl_move_resize, 118 NULL, // move_resize
132 NULL, // func rotation set 119 NULL, // rotation_set
133 NULL, // func shaped set 120 NULL, // shaped_set
134 _ecore_evas_wl_show, 121 _ecore_evas_wl_show,
135 _ecore_evas_wl_hide, 122 _ecore_evas_wl_hide,
136 _ecore_evas_wl_raise, 123 _ecore_evas_wl_raise,
137 _ecore_evas_wl_lower, 124 NULL, // lower
138 _ecore_evas_wl_activate, 125 NULL, // activate
139 _ecore_evas_wl_title_set, 126 _ecore_evas_wl_title_set,
140 _ecore_evas_wl_name_class_set, 127 _ecore_evas_wl_name_class_set,
141 _ecore_evas_wl_size_min_set, 128 _ecore_evas_wl_size_min_set,
142 _ecore_evas_wl_size_max_set, 129 _ecore_evas_wl_size_max_set,
143 _ecore_evas_wl_size_base_set, 130 _ecore_evas_wl_size_base_set,
144 _ecore_evas_wl_size_step_set, 131 _ecore_evas_wl_size_step_set,
145 _ecore_evas_wl_object_cursor_set, 132 NULL, // object_cursor_set
146 _ecore_evas_wl_layer_set, 133 _ecore_evas_wl_layer_set,
147 _ecore_evas_wl_focus_set, 134 NULL, // focus set
148 _ecore_evas_wl_iconified_set, 135 _ecore_evas_wl_iconified_set,
149 NULL, // func borderless set 136 NULL, // borderless set
150 NULL, // func override set 137 NULL, // override set
151 _ecore_evas_wl_maximized_set, 138 _ecore_evas_wl_maximized_set,
152 _ecore_evas_wl_fullscreen_set, 139 _ecore_evas_wl_fullscreen_set,
153 NULL, // _ecore_evas_wl_avoid_damage_set, 140 NULL, // func avoid_damage set
154 NULL, // func withdrawn set 141 NULL, // func withdrawn set
155 NULL, // func sticky set 142 NULL, // func sticky set
156 NULL, // func ignore events set 143 _ecore_evas_wl_ignore_events_set,
157 NULL, // func alpha set 144 _ecore_evas_wl_alpha_set,
158 NULL, // func transparent set 145 _ecore_evas_wl_transparent_set,
146 NULL,
147 NULL,
148 NULL,
149 NULL,
150 NULL,
151 NULL,
159 _ecore_evas_wl_render, 152 _ecore_evas_wl_render,
160 _ecore_evas_wl_screen_geometry_get 153 _ecore_evas_wl_screen_geometry_get
161}; 154};
162 155
163#endif 156/* external variables */
164 157
165#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL 158/* external functions */
166EAPI Ecore_Evas * 159EAPI Ecore_Evas *
167ecore_evas_wayland_egl_new(const char *disp_name, int x, int y, int w, int h, int frame) 160ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame)
168{ 161{
162 Ecore_Wl_Window *p = NULL;
169 Evas_Engine_Info_Wayland_Egl *einfo; 163 Evas_Engine_Info_Wayland_Egl *einfo;
170 Ecore_Evas *ee; 164 Ecore_Evas *ee;
171 int method = 0; 165 int method = 0;
172 static int _win_id = 1;
173 166
174 LOGFN(__FILE__, __LINE__, __FUNCTION__); 167 LOGFN(__FILE__, __LINE__, __FUNCTION__);
175 168
176 if (!(method = evas_render_method_lookup("wayland_egl"))) 169 if (!(method = evas_render_method_lookup("wayland_egl")))
177 { 170 {
178 printf("Render method lookup failed for Wayland Egl"); 171 ERR("Render method lookup failed for Wayland_Egl");
179 return NULL; 172 return NULL;
180 } 173 }
181 174
182 if (!ecore_wl_init(disp_name)) 175 if (!ecore_wl_init(disp_name))
183 { 176 {
184 printf("Failed to initialize Ecore Wayland"); 177 ERR("Failed to initialize Ecore_Wayland");
185 return NULL; 178 return NULL;
186 } 179 }
187 180
188 if (!(ee = calloc(1, sizeof(Ecore_Evas)))) 181 if (!(ee = calloc(1, sizeof(Ecore_Evas))))
189 { 182 {
190 printf("Failed to allocate Ecore_Evas."); 183 ERR("Failed to allocate Ecore_Evas");
191 ecore_wl_shutdown(); 184 ecore_wl_shutdown();
192 return NULL; 185 return NULL;
193 } 186 }
@@ -204,17 +197,22 @@ ecore_evas_wayland_egl_new(const char *disp_name, int x, int y, int w, int h, in
204 if (w < 1) w = 1; 197 if (w < 1) w = 1;
205 if (h < 1) h = 1; 198 if (h < 1) h = 1;
206 199
207 ee->req.x = ee->x = x; 200 ee->x = x;
208 ee->req.y = ee->y = y; 201 ee->y = y;
209 ee->req.w = ee->w = w; 202 ee->w = w;
210 ee->req.h = ee->h = h; 203 ee->h = h;
204 ee->req.x = ee->x;
205 ee->req.y = ee->y;
206 ee->req.w = ee->w;
207 ee->req.h = ee->h;
211 ee->rotation = 0; 208 ee->rotation = 0;
212 ee->prop.max.w = ee->prop.max.h = 32767; 209 ee->prop.max.w = 32767;
210 ee->prop.max.h = 32767;
213 ee->prop.layer = 4; 211 ee->prop.layer = 4;
214 ee->prop.request_pos = 0; 212 ee->prop.request_pos = 0;
215 ee->prop.sticky = 0; 213 ee->prop.sticky = 0;
216 ee->prop.draw_frame = frame; 214 ee->prop.draw_frame = frame;
217 ee->prop.window = _win_id++; 215 ee->alpha = EINA_FALSE;
218 216
219 ee->evas = evas_new(); 217 ee->evas = evas_new();
220 evas_data_attach_set(ee->evas, ee); 218 evas_data_attach_set(ee->evas, ee);
@@ -222,29 +220,43 @@ ecore_evas_wayland_egl_new(const char *disp_name, int x, int y, int w, int h, in
222 evas_output_size_set(ee->evas, ee->w, ee->h); 220 evas_output_size_set(ee->evas, ee->w, ee->h);
223 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h); 221 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h);
224 222
225 if (ee->prop.draw_frame) 223 /* FIXME: This needs to be set based on theme & scale */
224 if (ee->prop.draw_frame)
226 evas_output_framespace_set(ee->evas, 4, 18, 8, 22); 225 evas_output_framespace_set(ee->evas, 4, 18, 8, 22);
227 226
228 if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas))) 227 if (parent)
228 p = ecore_wl_window_find(parent);
229
230 /* FIXME: Get if parent is alpha, and set */
231
232 ee->engine.wl.parent = p;
233 ee->engine.wl.win =
234 ecore_wl_window_new(p, x, y, w, h, ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW);
235 ee->prop.window = ee->engine.wl.win->id;
236
237 if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
229 { 238 {
230 einfo->info.display = ecore_wl_display_get(); 239 einfo->info.display = ecore_wl_display_get();
240 einfo->info.destination_alpha = EINA_FALSE;
231 einfo->info.rotation = ee->rotation; 241 einfo->info.rotation = ee->rotation;
232 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo)) 242 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
233 { 243 {
234 printf("Failed to set Evas Engine Info for '%s'.", ee->driver); 244 ERR("Failed to set Evas Engine Info for '%s'", ee->driver);
235 ecore_evas_free(ee); 245 ecore_evas_free(ee);
246 _ecore_evas_wl_shutdown();
247 ecore_wl_shutdown();
236 return NULL; 248 return NULL;
237 } 249 }
238 } 250 }
239 else 251 else
240 { 252 {
241 printf("Failed to get Evas Engine Info for '%s'.", ee->driver); 253 ERR("Failed to get Evas Engine Info for '%s'", ee->driver);
242 ecore_evas_free(ee); 254 ecore_evas_free(ee);
255 _ecore_evas_wl_shutdown();
256 ecore_wl_shutdown();
243 return NULL; 257 return NULL;
244 } 258 }
245 259
246 /* NB: we need to be notified before 'free' so we can munmap the evas
247 * engine destination */
248 ecore_evas_callback_pre_free_set(ee, _ecore_evas_wl_pre_free); 260 ecore_evas_callback_pre_free_set(ee, _ecore_evas_wl_pre_free);
249 261
250 if (ee->prop.draw_frame) 262 if (ee->prop.draw_frame)
@@ -270,37 +282,28 @@ ecore_evas_wayland_egl_new(const char *disp_name, int x, int y, int w, int h, in
270 282
271/* local functions */ 283/* local functions */
272static int 284static int
273_ecore_evas_wl_init(void) 285_ecore_evas_wl_init(void)
274{ 286{
275 LOGFN(__FILE__, __LINE__, __FUNCTION__); 287 LOGFN(__FILE__, __LINE__, __FUNCTION__);
276 288
277 if (++_ecore_evas_wl_init_count != 1) 289 if (++_ecore_evas_wl_init_count != 1)
278 return _ecore_evas_wl_init_count; 290 return _ecore_evas_wl_init_count;
279 291
280 _ecore_evas_wl_event_handlers[0] = 292 _ecore_evas_wl_event_hdls[0] =
281 ecore_event_handler_add(ECORE_EVENT_MOUSE_BUTTON_DOWN,
282 _ecore_evas_wl_event_mouse_down, NULL);
283 _ecore_evas_wl_event_handlers[1] =
284 ecore_event_handler_add(ECORE_EVENT_MOUSE_BUTTON_UP,
285 _ecore_evas_wl_event_mouse_up, NULL);
286 _ecore_evas_wl_event_handlers[2] =
287 ecore_event_handler_add(ECORE_EVENT_MOUSE_MOVE,
288 _ecore_evas_wl_event_mouse_move, NULL);
289 _ecore_evas_wl_event_handlers[3] =
290 ecore_event_handler_add(ECORE_EVENT_MOUSE_WHEEL,
291 _ecore_evas_wl_event_mouse_wheel, NULL);
292 _ecore_evas_wl_event_handlers[4] =
293 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_IN, 293 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_IN,
294 _ecore_evas_wl_event_mouse_in, NULL); 294 _ecore_evas_wl_cb_mouse_in, NULL);
295 _ecore_evas_wl_event_handlers[5] = 295 _ecore_evas_wl_event_hdls[1] =
296 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_OUT, 296 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_OUT,
297 _ecore_evas_wl_event_mouse_out, NULL); 297 _ecore_evas_wl_cb_mouse_out, NULL);
298 _ecore_evas_wl_event_handlers[6] = 298 _ecore_evas_wl_event_hdls[2] =
299 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_IN, 299 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_IN,
300 _ecore_evas_wl_event_focus_in, NULL); 300 _ecore_evas_wl_cb_focus_in, NULL);
301 _ecore_evas_wl_event_handlers[7] = 301 _ecore_evas_wl_event_hdls[3] =
302 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_OUT, 302 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_OUT,
303 _ecore_evas_wl_event_focus_out, NULL); 303 _ecore_evas_wl_cb_focus_out, NULL);
304 _ecore_evas_wl_event_hdls[4] =
305 ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_CONFIGURE,
306 _ecore_evas_wl_cb_window_configure, NULL);
304 307
305 ecore_event_evas_init(); 308 ecore_event_evas_init();
306 309
@@ -308,7 +311,7 @@ _ecore_evas_wl_init(void)
308} 311}
309 312
310static int 313static int
311_ecore_evas_wl_shutdown(void) 314_ecore_evas_wl_shutdown(void)
312{ 315{
313 unsigned int i = 0; 316 unsigned int i = 0;
314 317
@@ -317,10 +320,10 @@ _ecore_evas_wl_shutdown(void)
317 if (--_ecore_evas_wl_init_count != 0) 320 if (--_ecore_evas_wl_init_count != 0)
318 return _ecore_evas_wl_init_count; 321 return _ecore_evas_wl_init_count;
319 322
320 for (i = 0; i < sizeof(_ecore_evas_wl_event_handlers) / sizeof(Ecore_Event_Handler *); i++) 323 for (i = 0; i < sizeof(_ecore_evas_wl_event_hdls) / sizeof(Ecore_Event_Handler *); i++)
321 { 324 {
322 if (_ecore_evas_wl_event_handlers[i]) 325 if (_ecore_evas_wl_event_hdls[i])
323 ecore_event_handler_del(_ecore_evas_wl_event_handlers[i]); 326 ecore_event_handler_del(_ecore_evas_wl_event_hdls[i]);
324 } 327 }
325 328
326 ecore_event_evas_shutdown(); 329 ecore_event_evas_shutdown();
@@ -338,24 +341,16 @@ _ecore_evas_wl_pre_free(Ecore_Evas *ee)
338} 341}
339 342
340static void 343static void
341_ecore_evas_wl_free(Ecore_Evas *ee) 344_ecore_evas_wl_free(Ecore_Evas *ee)
342{ 345{
343 LOGFN(__FILE__, __LINE__, __FUNCTION__); 346 LOGFN(__FILE__, __LINE__, __FUNCTION__);
344 347
345 if (ee) 348 if (ee->engine.wl.win) ecore_wl_window_free(ee->engine.wl.win);
346 { 349 ee->engine.wl.win = NULL;
347 /* destroy shell surface */
348 if (ee->engine.wl.shell_surface)
349 wl_shell_surface_destroy(ee->engine.wl.shell_surface);
350 ee->engine.wl.shell_surface = NULL;
351 350
352 /* destroy surface */ 351 ecore_event_window_unregister(ee->prop.window);
353 if (ee->engine.wl.surface) wl_surface_destroy(ee->engine.wl.surface); 352 ecore_evas_input_event_unregister(ee);
354 ee->engine.wl.surface = NULL;
355 353
356 ecore_event_window_unregister(ee->prop.window);
357 ecore_evas_input_event_unregister(ee);
358 }
359 _ecore_evas_wl_shutdown(); 354 _ecore_evas_wl_shutdown();
360 ecore_wl_shutdown(); 355 ecore_wl_shutdown();
361} 356}
@@ -415,138 +410,131 @@ _ecore_evas_wl_callback_mouse_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee
415} 410}
416 411
417static void 412static void
418_ecore_evas_wl_move(Ecore_Evas *ee, int x, int y) 413_ecore_evas_wl_callback_mouse_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee))
414{
415 LOGFN(__FILE__, __LINE__, __FUNCTION__);
416
417 if (!ee) return;
418 ee->func.fn_mouse_out = func;
419}
420
421static void
422_ecore_evas_wl_move(Ecore_Evas *ee, int x, int y)
419{ 423{
420 LOGFN(__FILE__, __LINE__, __FUNCTION__); 424 LOGFN(__FILE__, __LINE__, __FUNCTION__);
421 425
422 if (!ee) return; 426 if (!ee) return;
423// if ((ee->x == x) && (ee->y == y)) return;
424 ee->req.x = x; 427 ee->req.x = x;
425 ee->req.y = y; 428 ee->req.y = y;
426
427 ee->x = x; 429 ee->x = x;
428 ee->y = y; 430 ee->y = y;
429 if (ee->engine.wl.shell_surface) 431 if (ee->engine.wl.win) ecore_wl_window_move(ee->engine.wl.win, x, y);
430 {
431 wl_shell_surface_move(ee->engine.wl.shell_surface,
432 ecore_wl_input_device_get(),
433 _ecore_evas_wl_btn_timestamp);
434 }
435 if (ee->func.fn_move) ee->func.fn_move(ee); 432 if (ee->func.fn_move) ee->func.fn_move(ee);
436} 433}
437 434
438static void 435static void
439_ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h) 436_ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
440{ 437{
441 LOGFN(__FILE__, __LINE__, __FUNCTION__); 438 LOGFN(__FILE__, __LINE__, __FUNCTION__);
442 439
443 if (!ee) return; 440 if (!ee) return;
444 if (w < 1) w = 1; 441 if (w < 1) w = 1;
445 if (h < 1) h = 1; 442 if (h < 1) h = 1;
446 if ((ee->w == w) && (ee->h == h)) return; 443// if ((ee->w == w) && (ee->h == h)) return;
444
445 if (ee->prop.min.w > w) w = ee->prop.min.w;
446 else if (w > ee->prop.max.w) w = ee->prop.max.w;
447 if (ee->prop.min.h > h) h = ee->prop.min.h;
448 else if (h > ee->prop.max.h) h = ee->prop.max.h;
447 449
448 ee->req.w = w; 450 ee->req.w = w;
449 ee->req.h = h; 451 ee->req.h = h;
450 452
451 /* if (ee->visible) */ 453// ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h);
452 /* { */
453 /* damage old surface, if it exists */
454
455 /* NB: This removes any lingering screen artifacts in the compositor.
456 * This may be a 'HACK' if the issue is actually in the wayland
457 * compositor, but for now lets implement this so we don't have screen
458 * artifacts laying around during a resize */
459 /* if (ee->engine.wl.surface) */
460 /* wl_surface_damage(ee->engine.wl.surface, 0, 0, ee->w, ee->h); */
461 /* } */
462 454
463 ee->w = w; 455 ee->w = w;
464 ee->h = h; 456 ee->h = h;
465 457
466// ecore_wl_flush(); 458 /* change evas output & viewport sizes */
467
468 evas_output_size_set(ee->evas, ee->w, ee->h); 459 evas_output_size_set(ee->evas, ee->w, ee->h);
469 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h); 460 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h);
470 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); 461 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
471 if (ee->engine.wl.frame) 462 if (ee->engine.wl.frame)
472 evas_object_resize(ee->engine.wl.frame, ee->w, ee->h); 463 evas_object_resize(ee->engine.wl.frame, ee->w, ee->h);
473 464
474 /* if ((ee->visible) && (ee->engine.wl.surface)) */ 465 /* set new engine destination */
475 /* wl_surface_damage(ee->engine.wl.surface, 0, 0, ee->w, ee->h); */ 466 /* evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); */
467
468 /* ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h); */
469 ecore_wl_flush();
470
471 ecore_wl_window_update_size(ee->engine.wl.win, ee->w, ee->h);
476 472
477 if (ee->func.fn_resize) ee->func.fn_resize(ee); 473 if (ee->func.fn_resize) ee->func.fn_resize(ee);
478} 474}
479 475
480static void 476static void
481_ecore_evas_wl_show(Ecore_Evas *ee) 477_ecore_evas_wl_show(Ecore_Evas *ee)
482{ 478{
483 Evas_Engine_Info_Wayland_Egl *einfo; 479 Evas_Engine_Info_Wayland_Egl *einfo;
484 480
485 LOGFN(__FILE__, __LINE__, __FUNCTION__); 481 LOGFN(__FILE__, __LINE__, __FUNCTION__);
486 482
487 if (!ee) return; 483 if ((!ee) || (ee->visible)) return;
488 if (ee->visible) return;
489
490 einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas);
491 484
492 /* create new surface */ 485 if (ee->engine.wl.win)
493 ee->engine.wl.surface = 486 {
494 wl_compositor_create_surface(ecore_wl_compositor_get()); 487 ecore_wl_window_show(ee->engine.wl.win);
495 wl_surface_set_user_data(ee->engine.wl.surface, (void *)ee->prop.window); 488 ecore_wl_flush();
489 }
496 490
497 /* create new shell surface */ 491 einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas);
498 ee->engine.wl.shell_surface = 492 if (!einfo)
499 wl_shell_get_shell_surface(ecore_wl_shell_get(), ee->engine.wl.surface); 493 {
494 ERR("Failed to get Evas Engine Info for '%s'", ee->driver);
495 return;
496 }
500 497
501 /* set the engine surface here. This should trigger an egl window create */ 498 einfo->info.surface = ecore_wl_window_surface_get(ee->engine.wl.win);
502 einfo->info.surface = ee->engine.wl.surface;
503 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); 499 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
504 500
505 /* add listener for configure events (happen on shell surface resize) */
506 wl_shell_surface_add_listener(ee->engine.wl.shell_surface,
507 &_ecore_evas_wl_shell_surface_listener, ee);
508
509 /* Raise this surface to the top */
510 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface);
511
512 if (ee->engine.wl.frame) 501 if (ee->engine.wl.frame)
513 { 502 {
514 evas_object_show(ee->engine.wl.frame); 503 evas_object_show(ee->engine.wl.frame);
515 evas_object_resize(ee->engine.wl.frame, ee->w, ee->h); 504 evas_object_resize(ee->engine.wl.frame, ee->w, ee->h);
516 } 505 }
517 506
518 ecore_wl_flush(); 507 /* ecore_wl_window_buffer_attach(ee->engine.wl.win, ee->engine.wl.buffer, 0, 0); */
519 508
520 ee->visible = 1; 509 ee->visible = 1;
521 if (ee->func.fn_show) ee->func.fn_show(ee); 510 if (ee->func.fn_show) ee->func.fn_show(ee);
522} 511}
523 512
524static void 513static void
525_ecore_evas_wl_hide(Ecore_Evas *ee) 514_ecore_evas_wl_hide(Ecore_Evas *ee)
526{ 515{
527 Evas_Engine_Info_Wayland_Egl *einfo; 516 Evas_Engine_Info_Wayland_Egl *einfo;
528 517
529 LOGFN(__FILE__, __LINE__, __FUNCTION__); 518 LOGFN(__FILE__, __LINE__, __FUNCTION__);
530 519
531 if (!ee) return; 520 if ((!ee) || (!ee->visible)) return;
532 if (!ee->visible) return;
533
534 /* get engine info */
535 einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas);
536 einfo->info.surface = NULL;
537 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
538 521
539 /* destroy shell surface */ 522 if (ee->engine.wl.win)
540 if (ee->engine.wl.shell_surface) 523 {
541 wl_shell_surface_destroy(ee->engine.wl.shell_surface); 524 ecore_wl_window_hide(ee->engine.wl.win);
542 ee->engine.wl.shell_surface = NULL; 525 ecore_wl_flush();
526 }
543 527
544 /* destroy surface */ 528 einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas);
545 if (ee->engine.wl.surface) wl_surface_destroy(ee->engine.wl.surface); 529 if (einfo)
546 ee->engine.wl.surface = NULL; 530 {
531 einfo->info.surface = NULL;
532 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
533 }
547 534
548 ee->visible = 0; 535 ee->visible = 0;
549 ee->should_be_visible = 0; 536 ee->should_be_visible = 0;
537
550 if (ee->func.fn_hide) ee->func.fn_hide(ee); 538 if (ee->func.fn_hide) ee->func.fn_hide(ee);
551} 539}
552 540
@@ -556,39 +544,18 @@ _ecore_evas_wl_raise(Ecore_Evas *ee)
556 LOGFN(__FILE__, __LINE__, __FUNCTION__); 544 LOGFN(__FILE__, __LINE__, __FUNCTION__);
557 545
558 if ((!ee) || (!ee->visible)) return; 546 if ((!ee) || (!ee->visible)) return;
559 if (!ee->engine.wl.shell_surface) return; 547 ecore_wl_window_raise(ee->engine.wl.win);
560 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface);
561}
562
563static void
564_ecore_evas_wl_lower(Ecore_Evas *ee)
565{
566 LOGFN(__FILE__, __LINE__, __FUNCTION__);
567
568 if ((!ee) || (!ee->visible)) return;
569 /* FIXME: Need a way to tell Wayland to lower */
570}
571
572static void
573_ecore_evas_wl_activate(Ecore_Evas *ee)
574{
575 LOGFN(__FILE__, __LINE__, __FUNCTION__);
576
577 if ((!ee) || (!ee->visible)) return;
578 if (!ee->engine.wl.shell_surface) return;
579 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface);
580} 548}
581 549
582static void 550static void
583_ecore_evas_wl_title_set(Ecore_Evas *ee, const char *t) 551_ecore_evas_wl_title_set(Ecore_Evas *ee, const char *title)
584{ 552{
585 LOGFN(__FILE__, __LINE__, __FUNCTION__); 553 LOGFN(__FILE__, __LINE__, __FUNCTION__);
586 554
587 if (!ee) return; 555 if (!ee) return;
588 if (ee->prop.title) free(ee->prop.title); 556 if (ee->prop.title) free(ee->prop.title);
589 ee->prop.title = NULL; 557 ee->prop.title = NULL;
590 if (t) ee->prop.title = strdup(t); 558 if (title) ee->prop.title = strdup(title);
591
592 if ((ee->prop.draw_frame) && (ee->engine.wl.frame)) 559 if ((ee->prop.draw_frame) && (ee->engine.wl.frame))
593 { 560 {
594 EE_Wl_Smart_Data *sd; 561 EE_Wl_Smart_Data *sd;
@@ -666,106 +633,101 @@ _ecore_evas_wl_size_step_set(Ecore_Evas *ee, int w, int h)
666} 633}
667 634
668static void 635static void
669_ecore_evas_wl_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y) 636_ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer)
670{ 637{
671 int x = 0, y = 0;
672
673 LOGFN(__FILE__, __LINE__, __FUNCTION__); 638 LOGFN(__FILE__, __LINE__, __FUNCTION__);
674 639
675 if (!ee) return; 640 if (!ee) return;
676 if (ee->prop.cursor.object) evas_object_del(ee->prop.cursor.object); 641 if (ee->prop.layer == layer) return;
677 ee->prop.cursor.object = NULL; 642 if (layer < 1) layer = 1;
678 643 else if (layer > 255) layer = 255;
679 if (!obj) 644 ee->prop.layer = layer;
680 {
681 ee->prop.cursor.layer = 0;
682 ee->prop.cursor.hot.x = 0;
683 ee->prop.cursor.hot.y = 0;
684 return;
685 }
686
687 ee->prop.cursor.object = obj;
688 ee->prop.cursor.layer = layer;
689 ee->prop.cursor.hot.x = hot_x;
690 ee->prop.cursor.hot.y = hot_y;
691
692 evas_pointer_output_xy_get(ee->evas, &x, &y);
693 evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
694 evas_object_move(ee->prop.cursor.object,
695 x - ee->prop.cursor.hot.x, y - ee->prop.cursor.hot.y);
696 evas_object_pass_events_set(ee->prop.cursor.object, 1);
697 if (evas_pointer_inside_get(ee->evas))
698 evas_object_show(ee->prop.cursor.object);
699
700 evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL,
701 _ecore_evas_wl_object_cursor_del, ee);
702} 645}
703 646
704static void 647static void
705_ecore_evas_wl_object_cursor_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 648_ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify)
706{ 649{
707 Ecore_Evas *ee; 650 LOGFN(__FILE__, __LINE__, __FUNCTION__);
708 651
709 if (!(ee = data)) return; 652 if (!ee) return;
710 ee->prop.cursor.object = NULL; 653 if (ee->prop.iconified == iconify) return;
654 ee->prop.iconified = iconify;
655 /* FIXME: Implement this in Wayland someshow */
711} 656}
712 657
713static void 658static void
714_ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer) 659_ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max)
715{ 660{
716 LOGFN(__FILE__, __LINE__, __FUNCTION__); 661 LOGFN(__FILE__, __LINE__, __FUNCTION__);
717 662
718 if (!ee) return; 663 if (!ee) return;
719 if (ee->prop.layer == layer) return; 664 if (ee->prop.maximized == max) return;
720 if (layer < 1) layer = 1; 665 ee->prop.maximized = max;
721 else if (layer > 255) layer = 255; 666 ecore_wl_window_maximized_set(ee->engine.wl.win, max);
722 ee->prop.layer = layer;
723} 667}
724 668
725static void 669static void
726_ecore_evas_wl_focus_set(Ecore_Evas *ee, int focus __UNUSED__) 670_ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full)
727{ 671{
728 LOGFN(__FILE__, __LINE__, __FUNCTION__); 672 LOGFN(__FILE__, __LINE__, __FUNCTION__);
729 673
730 if ((!ee) || (!ee->visible)) return; 674 if ((!ee) || (!ee->visible)) return;
731 if (!ee->engine.wl.shell_surface) return; 675 if (ee->prop.fullscreen == full) return;
732 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface); 676 ee->prop.fullscreen = full;
677 ecore_wl_window_fullscreen_set(ee->engine.wl.win, full);
733} 678}
734 679
735static void 680static void
736_ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify) 681_ecore_evas_wl_ignore_events_set(Ecore_Evas *ee, int ignore)
737{ 682{
738 LOGFN(__FILE__, __LINE__, __FUNCTION__); 683 LOGFN(__FILE__, __LINE__, __FUNCTION__);
739 684
740 if (!ee) return; 685 if (!ee) return;
741 if (ee->prop.iconified == iconify) return; 686 ee->ignore_events = ignore;
742 ee->prop.iconified = iconify; 687 /* NB: Hmmm, may need to pass this to ecore_wl_window in the future */
743 /* FIXME: Implement this in Wayland someshow */
744} 688}
745 689
746static void 690static void
747_ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max) 691_ecore_evas_wl_alpha_set(Ecore_Evas *ee, int alpha)
748{ 692{
693 Evas_Engine_Info_Wayland_Egl *einfo;
694
749 LOGFN(__FILE__, __LINE__, __FUNCTION__); 695 LOGFN(__FILE__, __LINE__, __FUNCTION__);
750 696
751 if (!ee) return; 697 if (!ee) return;
752 if (ee->prop.maximized == max) return; 698 if ((ee->alpha == alpha)) return;
753 ee->prop.maximized = max; 699 ee->alpha = alpha;
754 /* FIXME: Implement this in Wayland someshow */ 700 if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
701 {
702 einfo->info.destination_alpha = alpha;
703 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
704 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
705 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
706 }
755} 707}
756 708
757static void 709static void
758_ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full __UNUSED__) 710_ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent)
759{ 711{
712 Evas_Engine_Info_Wayland_Egl *einfo;
713
760 LOGFN(__FILE__, __LINE__, __FUNCTION__); 714 LOGFN(__FILE__, __LINE__, __FUNCTION__);
761 715
762 if ((!ee) || (!ee->visible)) return; 716 if (!ee) return;
763 if (!ee->engine.wl.shell_surface) return; 717 if ((ee->transparent == transparent)) return;
764 wl_shell_surface_set_fullscreen(ee->engine.wl.shell_surface); 718 ee->transparent = transparent;
719 if (!ee->visible) return;
720 if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
721 {
722 einfo->info.destination_alpha = transparent;
723 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
724 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
725 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
726 }
765} 727}
766 728
767static int 729static int
768_ecore_evas_wl_render(Ecore_Evas *ee) 730_ecore_evas_wl_render(Ecore_Evas *ee)
769{ 731{
770 int rend = 0; 732 int rend = 0;
771 733
@@ -789,26 +751,24 @@ _ecore_evas_wl_render(Ecore_Evas *ee)
789 751
790 if ((updates = evas_render_updates(ee->evas))) 752 if ((updates = evas_render_updates(ee->evas)))
791 { 753 {
792 /* if (ee->engine.wl.surface) */ 754 Eina_List *l = NULL;
793 /* { */ 755 Eina_Rectangle *r;
794 /* Eina_List *l = NULL; */ 756
795 /* Eina_Rectangle *r; */ 757 LOGFN(__FILE__, __LINE__, __FUNCTION__);
796 758
797 /* EINA_LIST_FOREACH(updates, l, r) */ 759 EINA_LIST_FOREACH(updates, l, r)
798 /* wl_surface_damage(ee->engine.wl.surface, */ 760 ecore_wl_window_damage(ee->engine.wl.win,
799 /* r->x, r->y, r->w, r->h); */ 761 r->x, r->y, r->w, r->h);
800 /* } */ 762
763 ecore_wl_flush();
801 764
802 evas_render_updates_free(updates); 765 evas_render_updates_free(updates);
803 _ecore_evas_idle_timeout_update(ee); 766 _ecore_evas_idle_timeout_update(ee);
804 rend = 1; 767 rend = 1;
805
806 ecore_wl_flush();
807 } 768 }
808 769
809 if (ee->func.fn_post_render) ee->func.fn_post_render(ee); 770 if (ee->func.fn_post_render) ee->func.fn_post_render(ee);
810 } 771 }
811
812 return rend; 772 return rend;
813} 773}
814 774
@@ -822,77 +782,18 @@ _ecore_evas_wl_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int
822 ecore_wl_screen_size_get(w, h); 782 ecore_wl_screen_size_get(w, h);
823} 783}
824 784
825static Eina_Bool 785void
826_ecore_evas_wl_event_mouse_down(void *data __UNUSED__, int type __UNUSED__, void *event) 786_ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location)
827{
828 Ecore_Evas *ee;
829 Ecore_Event_Mouse_Button *ev;
830
831 LOGFN(__FILE__, __LINE__, __FUNCTION__);
832
833 ev = event;
834 _ecore_evas_wl_btn_timestamp = ev->timestamp;
835 ee = ecore_event_window_match(ev->window);
836 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
837 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
838 evas_event_feed_mouse_down(ee->evas, ev->buttons, ev->modifiers,
839 ev->timestamp, NULL);
840 return ECORE_CALLBACK_PASS_ON;
841}
842
843static Eina_Bool
844_ecore_evas_wl_event_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event)
845{
846 Ecore_Evas *ee;
847 Ecore_Event_Mouse_Button *ev;
848
849 LOGFN(__FILE__, __LINE__, __FUNCTION__);
850
851 ev = event;
852 ee = ecore_event_window_match(ev->window);
853 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
854 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
855 evas_event_feed_mouse_up(ee->evas, ev->buttons, ev->modifiers,
856 ev->timestamp, NULL);
857 return ECORE_CALLBACK_PASS_ON;
858}
859
860static Eina_Bool
861_ecore_evas_wl_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
862{
863 Ecore_Evas *ee;
864 Ecore_Event_Mouse_Move *ev;
865
866 ev = event;
867 ee = ecore_event_window_match(ev->window);
868 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
869 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
870 ee->mouse.x = ev->x;
871 ee->mouse.y = ev->y;
872 evas_event_feed_mouse_move(ee->evas, ev->x, ev->y, ev->timestamp, NULL);
873 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
874 return ECORE_CALLBACK_PASS_ON;
875}
876
877static Eina_Bool
878_ecore_evas_wl_event_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
879{ 787{
880 Ecore_Evas *ee;
881 Ecore_Event_Mouse_Wheel *ev;
882
883 LOGFN(__FILE__, __LINE__, __FUNCTION__); 788 LOGFN(__FILE__, __LINE__, __FUNCTION__);
884 789
885 ev = event; 790 if (!ee) return;
886 ee = ecore_event_window_match(ev->window); 791 if (ee->engine.wl.win)
887 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 792 ecore_wl_window_resize(ee->engine.wl.win, ee->w, ee->h, location);
888 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
889 evas_event_feed_mouse_wheel(ee->evas, ev->direction, ev->z,
890 ev->timestamp, NULL);
891 return ECORE_CALLBACK_PASS_ON;
892} 793}
893 794
894static Eina_Bool 795static Eina_Bool
895_ecore_evas_wl_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event) 796_ecore_evas_wl_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
896{ 797{
897 Ecore_Evas *ee; 798 Ecore_Evas *ee;
898 Ecore_Wl_Event_Mouse_In *ev; 799 Ecore_Wl_Event_Mouse_In *ev;
@@ -900,18 +801,18 @@ _ecore_evas_wl_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *
900 LOGFN(__FILE__, __LINE__, __FUNCTION__); 801 LOGFN(__FILE__, __LINE__, __FUNCTION__);
901 802
902 ev = event; 803 ev = event;
903 ee = ecore_event_window_match(ev->window); 804 ee = ecore_event_window_match(ev->win);
904 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 805 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
905 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 806 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
906 if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee); 807 if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee);
907 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers); 808 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers);
908 evas_event_feed_mouse_in(ee->evas, ev->time, NULL); 809 evas_event_feed_mouse_in(ee->evas, ev->timestamp, NULL);
909 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->time); 810 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
910 return ECORE_CALLBACK_PASS_ON; 811 return ECORE_CALLBACK_PASS_ON;
911} 812}
912 813
913static Eina_Bool 814static Eina_Bool
914_ecore_evas_wl_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event) 815_ecore_evas_wl_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
915{ 816{
916 Ecore_Evas *ee; 817 Ecore_Evas *ee;
917 Ecore_Wl_Event_Mouse_Out *ev; 818 Ecore_Wl_Event_Mouse_Out *ev;
@@ -919,19 +820,19 @@ _ecore_evas_wl_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void
919 LOGFN(__FILE__, __LINE__, __FUNCTION__); 820 LOGFN(__FILE__, __LINE__, __FUNCTION__);
920 821
921 ev = event; 822 ev = event;
922 ee = ecore_event_window_match(ev->window); 823 ee = ecore_event_window_match(ev->win);
923 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 824 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
924 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 825 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
925 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers); 826 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers);
926 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->time); 827 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
927 evas_event_feed_mouse_out(ee->evas, ev->time, NULL); 828 evas_event_feed_mouse_out(ee->evas, ev->timestamp, NULL);
928 if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee); 829 if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee);
929 if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object); 830 if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object);
930 return ECORE_CALLBACK_PASS_ON; 831 return ECORE_CALLBACK_PASS_ON;
931} 832}
932 833
933static Eina_Bool 834static Eina_Bool
934_ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event) 835_ecore_evas_wl_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
935{ 836{
936 Ecore_Evas *ee; 837 Ecore_Evas *ee;
937 Ecore_Wl_Event_Focus_In *ev; 838 Ecore_Wl_Event_Focus_In *ev;
@@ -939,9 +840,9 @@ _ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *
939 LOGFN(__FILE__, __LINE__, __FUNCTION__); 840 LOGFN(__FILE__, __LINE__, __FUNCTION__);
940 841
941 ev = event; 842 ev = event;
942 ee = ecore_event_window_match(ev->window); 843 ee = ecore_event_window_match(ev->win);
943 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 844 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
944 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 845 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
945 ee->prop.focused = 1; 846 ee->prop.focused = 1;
946 evas_focus_in(ee->evas); 847 evas_focus_in(ee->evas);
947 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); 848 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee);
@@ -949,45 +850,51 @@ _ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *
949} 850}
950 851
951static Eina_Bool 852static Eina_Bool
952_ecore_evas_wl_event_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event) 853_ecore_evas_wl_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
953{ 854{
954 Ecore_Evas *ee; 855 Ecore_Evas *ee;
955 Ecore_Wl_Event_Focus_Out *ev; 856 Ecore_Wl_Event_Focus_In *ev;
956 857
957 LOGFN(__FILE__, __LINE__, __FUNCTION__); 858 LOGFN(__FILE__, __LINE__, __FUNCTION__);
958 859
959 ev = event; 860 ev = event;
960 ee = ecore_event_window_match(ev->window); 861 ee = ecore_event_window_match(ev->win);
961 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 862 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
962 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 863 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
963 evas_focus_out(ee->evas); 864 evas_focus_out(ee->evas);
964 ee->prop.focused = 0; 865 ee->prop.focused = 0;
965 if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee); 866 if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee);
966 return ECORE_CALLBACK_PASS_ON; 867 return ECORE_CALLBACK_PASS_ON;
967} 868}
968 869
969static void 870static Eina_Bool
970_ecore_evas_wl_handle_configure(void *data, struct wl_shell_surface *shell_surface, uint32_t timestamp __UNUSED__, uint32_t edges __UNUSED__, int32_t width, int32_t height) 871_ecore_evas_wl_cb_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
971{ 872{
972 Ecore_Evas *ee; 873 Ecore_Evas *ee;
874 Ecore_Wl_Event_Window_Configure *ev;
973 875
974 /* NB: Trap to prevent compositor from crashing */ 876 LOGFN(__FILE__, __LINE__, __FUNCTION__);
975 if ((width <= 0) || (height <= 0)) return;
976
977 if (!(ee = data)) return;
978 877
979 printf("EGL Handle Configure Message\n"); 878 ev = event;
980 if ((shell_surface) && (ee->engine.wl.shell_surface)) 879 ee = ecore_event_window_match(ev->win);
880 if (!ee) return ECORE_CALLBACK_PASS_ON;
881 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
882 if ((ee->x != ev->x) || (ee->y != ev->y))
981 { 883 {
982 if (ee->engine.wl.shell_surface != shell_surface) return; 884 ee->x = ev->x;
983 ecore_evas_resize(ee, width, height); 885 ee->y = ev->y;
886 ee->req.x = ee->x;
887 ee->req.y = ee->y;
888 if (ee->func.fn_move) ee->func.fn_move(ee);
889 }
890 if ((ee->req.w != ev->w) || (ee->req.h != ev->h))
891 {
892 ee->req.w = ev->w;
893 ee->req.h = ev->h;
894 if (ee->func.fn_resize) ee->func.fn_resize(ee);
984 } 895 }
985}
986
987static void
988_ecore_evas_wl_handle_popup_done(void *data __UNUSED__, struct wl_shell_surface *shell_surface __UNUSED__)
989{
990 896
897 return ECORE_CALLBACK_PASS_ON;
991} 898}
992 899
993static void 900static void
@@ -1101,30 +1008,9 @@ _ecore_evas_wl_frame_add(Evas *evas)
1101 return evas_object_smart_add(evas, _ecore_evas_wl_smart); 1008 return evas_object_smart_add(evas, _ecore_evas_wl_smart);
1102} 1009}
1103 1010
1104void
1105_ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location)
1106{
1107 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1108
1109 if ((!ee) || (!ee->engine.wl.shell_surface)) return;
1110 wl_shell_surface_resize(ee->engine.wl.shell_surface,
1111 ecore_wl_input_device_get(),
1112 _ecore_evas_wl_btn_timestamp, location);
1113}
1114
1115void
1116_ecore_evas_wayland_egl_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source)
1117{
1118 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1119
1120 if ((!ee) || (!ee->engine.wl.surface)) return;
1121 if ((!source) || (!drag_ee)) return;
1122 ecore_wl_drag_start(source, ee->engine.wl.surface, drag_ee->engine.wl.buffer);
1123}
1124
1125#else 1011#else
1126EAPI Ecore_Evas * 1012EAPI Ecore_Evas *
1127ecore_evas_wayland_egl_new(const char *disp_name __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, int frame __UNUSED__) 1013ecore_evas_wayland_egl_new(const char *disp_name __UNUSED__, unsigned int parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, Eina_Bool frame __UNUSED__)
1128{ 1014{
1129 return NULL; 1015 return NULL;
1130} 1016}
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
index e3b15c8..4c7ee2d 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
@@ -2,7 +2,7 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5//#define LOGFNS 1 5#define LOGFNS 1
6 6
7#ifdef LOGFNS 7#ifdef LOGFNS
8# include <stdio.h> 8# include <stdio.h>
@@ -20,12 +20,12 @@
20# include <sys/mman.h> 20# include <sys/mman.h>
21#endif 21#endif
22 22
23# include <Eina.h> 23#include <Eina.h>
24# include <Evas.h> 24#include <Evas.h>
25# include <Ecore.h> 25#include <Ecore.h>
26 26
27# include "ecore_evas_private.h" 27#include "ecore_evas_private.h"
28# include "Ecore_Evas.h" 28#include "Ecore_Evas.h"
29 29
30#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM 30#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
31# include <Evas_Engine_Wayland_Shm.h> 31# include <Evas_Engine_Wayland_Shm.h>
@@ -51,41 +51,34 @@ static void _ecore_evas_wl_callback_delete_request_set(Ecore_Evas *ee, void (*fu
51static void _ecore_evas_wl_callback_focus_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee)); 51static void _ecore_evas_wl_callback_focus_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
52static void _ecore_evas_wl_callback_focus_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee)); 52static void _ecore_evas_wl_callback_focus_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
53static void _ecore_evas_wl_callback_mouse_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee)); 53static void _ecore_evas_wl_callback_mouse_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
54static void _ecore_evas_wl_callback_mouse_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee));
54static void _ecore_evas_wl_move(Ecore_Evas *ee, int x, int y); 55static void _ecore_evas_wl_move(Ecore_Evas *ee, int x, int y);
55static void _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h); 56static void _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h);
56static void _ecore_evas_wl_show(Ecore_Evas *ee); 57static void _ecore_evas_wl_show(Ecore_Evas *ee);
57static void _ecore_evas_wl_hide(Ecore_Evas *ee); 58static void _ecore_evas_wl_hide(Ecore_Evas *ee);
58static void _ecore_evas_wl_raise(Ecore_Evas *ee); 59static void _ecore_evas_wl_raise(Ecore_Evas *ee);
59static void _ecore_evas_wl_lower(Ecore_Evas *ee); 60static void _ecore_evas_wl_title_set(Ecore_Evas *ee, const char *title);
60static void _ecore_evas_wl_activate(Ecore_Evas *ee);
61static void _ecore_evas_wl_title_set(Ecore_Evas *ee, const char *t);
62static void _ecore_evas_wl_name_class_set(Ecore_Evas *ee, const char *n, const char *c); 61static void _ecore_evas_wl_name_class_set(Ecore_Evas *ee, const char *n, const char *c);
63static void _ecore_evas_wl_size_min_set(Ecore_Evas *ee, int w, int h); 62static void _ecore_evas_wl_size_min_set(Ecore_Evas *ee, int w, int h);
64static void _ecore_evas_wl_size_max_set(Ecore_Evas *ee, int w, int h); 63static void _ecore_evas_wl_size_max_set(Ecore_Evas *ee, int w, int h);
65static void _ecore_evas_wl_size_base_set(Ecore_Evas *ee, int w, int h); 64static void _ecore_evas_wl_size_base_set(Ecore_Evas *ee, int w, int h);
66static void _ecore_evas_wl_size_step_set(Ecore_Evas *ee, int w, int h); 65static void _ecore_evas_wl_size_step_set(Ecore_Evas *ee, int w, int h);
67static void _ecore_evas_wl_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y);
68static void _ecore_evas_wl_object_cursor_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__);
69static void _ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer); 66static void _ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer);
70static void _ecore_evas_wl_focus_set(Ecore_Evas *ee, int focus __UNUSED__);
71static void _ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify); 67static void _ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify);
72static void _ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max); 68static void _ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max);
73static void _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full __UNUSED__); 69static void _ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full);
70static void _ecore_evas_wl_ignore_events_set(Ecore_Evas *ee, int ignore);
71static void _ecore_evas_wl_alpha_set(Ecore_Evas *ee, int alpha);
72static void _ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent);
74static int _ecore_evas_wl_render(Ecore_Evas *ee); 73static int _ecore_evas_wl_render(Ecore_Evas *ee);
75static void _ecore_evas_wl_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h); 74static void _ecore_evas_wl_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h);
76static void _ecore_evas_wl_buffer_new(Ecore_Evas *ee, void **dest); 75static void _ecore_evas_wl_buffer_new(Ecore_Evas *ee, void **dest);
77 76
78static Eina_Bool _ecore_evas_wl_event_mouse_down(void *data __UNUSED__, int type __UNUSED__, void *event); 77static Eina_Bool _ecore_evas_wl_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event);
79static Eina_Bool _ecore_evas_wl_event_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event); 78static Eina_Bool _ecore_evas_wl_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event);
80static Eina_Bool _ecore_evas_wl_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event); 79static Eina_Bool _ecore_evas_wl_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event);
81static Eina_Bool _ecore_evas_wl_event_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event); 80static Eina_Bool _ecore_evas_wl_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event);
82static Eina_Bool _ecore_evas_wl_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event); 81static Eina_Bool _ecore_evas_wl_cb_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event);
83static Eina_Bool _ecore_evas_wl_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event);
84static Eina_Bool _ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event);
85static Eina_Bool _ecore_evas_wl_event_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event);
86
87static void _ecore_evas_wl_handle_configure(void *data, struct wl_shell_surface *shell_surface __UNUSED__, uint32_t timestamp __UNUSED__, uint32_t edges __UNUSED__, int32_t width, int32_t height);
88static void _ecore_evas_wl_handle_popup_done(void *data __UNUSED__, struct wl_shell_surface *shell_surface __UNUSED__);
89 82
90/* SMART stuff for frame */ 83/* SMART stuff for frame */
91static Evas_Smart *_ecore_evas_wl_smart = NULL; 84static Evas_Smart *_ecore_evas_wl_smart = NULL;
@@ -101,95 +94,94 @@ static Evas_Object *_ecore_evas_wl_frame_add(Evas *evas);
101 94
102/* local variables */ 95/* local variables */
103static int _ecore_evas_wl_init_count = 0; 96static int _ecore_evas_wl_init_count = 0;
104static Ecore_Event_Handler *_ecore_evas_wl_event_handlers[8]; 97static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[5];
105static uint32_t _ecore_evas_wl_btn_timestamp;
106static const struct wl_shell_surface_listener _ecore_evas_wl_shell_surface_listener =
107{
108 _ecore_evas_wl_handle_configure,
109 _ecore_evas_wl_handle_popup_done
110};
111 98
112static Ecore_Evas_Engine_Func _ecore_wl_engine_func = 99static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
113{ 100{
114 _ecore_evas_wl_free, 101 _ecore_evas_wl_free,
115 _ecore_evas_wl_callback_resize_set, 102 _ecore_evas_wl_callback_resize_set,
116 _ecore_evas_wl_callback_move_set, 103 _ecore_evas_wl_callback_move_set,
117 NULL, // callback show set 104 NULL,
118 NULL, // callback hide set 105 NULL,
119 _ecore_evas_wl_callback_delete_request_set, 106 _ecore_evas_wl_callback_delete_request_set,
120 NULL, // callback destroy set 107 NULL,
121 _ecore_evas_wl_callback_focus_in_set, 108 _ecore_evas_wl_callback_focus_in_set,
122 _ecore_evas_wl_callback_focus_out_set, 109 _ecore_evas_wl_callback_focus_out_set,
123 _ecore_evas_wl_callback_mouse_in_set, 110 _ecore_evas_wl_callback_mouse_in_set,
124 NULL, // callback mouse out set 111 _ecore_evas_wl_callback_mouse_out_set,
125 NULL, // callback sticky set 112 NULL, // sticky_set
126 NULL, // callback unsticky set 113 NULL, // unsticky_set
127 NULL, // callback pre render set 114 NULL, // pre_render_set
128 NULL, // callback post render set 115 NULL, // post_render_set
129 _ecore_evas_wl_move, 116 _ecore_evas_wl_move,
130 NULL, // func managed move 117 NULL, // managed_move
131 _ecore_evas_wl_resize, 118 _ecore_evas_wl_resize,
132 NULL, // func move_resize 119 NULL, // move_resize
133 NULL, // func rotation set 120 NULL, // rotation_set
134 NULL, // func shaped set 121 NULL, // shaped_set
135 _ecore_evas_wl_show, 122 _ecore_evas_wl_show,
136 _ecore_evas_wl_hide, 123 _ecore_evas_wl_hide,
137 _ecore_evas_wl_raise, 124 _ecore_evas_wl_raise,
138 _ecore_evas_wl_lower, 125 NULL, // lower
139 _ecore_evas_wl_activate, 126 NULL, // activate
140 _ecore_evas_wl_title_set, 127 _ecore_evas_wl_title_set,
141 _ecore_evas_wl_name_class_set, 128 _ecore_evas_wl_name_class_set,
142 _ecore_evas_wl_size_min_set, 129 _ecore_evas_wl_size_min_set,
143 _ecore_evas_wl_size_max_set, 130 _ecore_evas_wl_size_max_set,
144 _ecore_evas_wl_size_base_set, 131 _ecore_evas_wl_size_base_set,
145 _ecore_evas_wl_size_step_set, 132 _ecore_evas_wl_size_step_set,
146 _ecore_evas_wl_object_cursor_set, 133 NULL, // object_cursor_set
147 _ecore_evas_wl_layer_set, 134 _ecore_evas_wl_layer_set,
148 _ecore_evas_wl_focus_set, 135 NULL, // focus set
149 _ecore_evas_wl_iconified_set, 136 _ecore_evas_wl_iconified_set,
150 NULL, // func borderless set 137 NULL, // borderless set
151 NULL, // func override set 138 NULL, // override set
152 _ecore_evas_wl_maximized_set, 139 _ecore_evas_wl_maximized_set,
153 _ecore_evas_wl_fullscreen_set, 140 _ecore_evas_wl_fullscreen_set,
154 NULL, // func avoid_damage set 141 NULL, // func avoid_damage set
155 NULL, // func withdrawn set 142 NULL, // func withdrawn set
156 NULL, // func sticky set 143 NULL, // func sticky set
157 NULL, // func ignore_events set 144 _ecore_evas_wl_ignore_events_set,
158 NULL, // func alpha set 145 _ecore_evas_wl_alpha_set,
159 NULL, // func transparent set 146 _ecore_evas_wl_transparent_set,
147 NULL,
148 NULL,
149 NULL,
150 NULL,
151 NULL,
152 NULL,
160 _ecore_evas_wl_render, 153 _ecore_evas_wl_render,
161 _ecore_evas_wl_screen_geometry_get 154 _ecore_evas_wl_screen_geometry_get
162}; 155};
163 156
164/* external variables */ 157/* external variables */
165#endif
166 158
167#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM 159/* external functions */
168EAPI Ecore_Evas * 160EAPI Ecore_Evas *
169ecore_evas_wayland_shm_new(const char *disp_name, int x, int y, int w, int h, int frame) 161ecore_evas_wayland_shm_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame)
170{ 162{
163 Ecore_Wl_Window *p = NULL;
171 Evas_Engine_Info_Wayland_Shm *einfo; 164 Evas_Engine_Info_Wayland_Shm *einfo;
172 Ecore_Evas *ee; 165 Ecore_Evas *ee;
173 int method = 0; 166 int method = 0;
174 static int _win_id = 1;
175 167
176 LOGFN(__FILE__, __LINE__, __FUNCTION__); 168 LOGFN(__FILE__, __LINE__, __FUNCTION__);
177 169
178 if (!(method = evas_render_method_lookup("wayland_shm"))) 170 if (!(method = evas_render_method_lookup("wayland_shm")))
179 { 171 {
180 ERR("Render method lookup failed."); 172 ERR("Render method lookup failed for Wayland_Shm");
181 return NULL; 173 return NULL;
182 } 174 }
183 175
184 if (!(ecore_wl_init(disp_name))) 176 if (!ecore_wl_init(disp_name))
185 { 177 {
186 ERR("Failed to initialize Ecore Wayland."); 178 ERR("Failed to initialize Ecore_Wayland");
187 return NULL; 179 return NULL;
188 } 180 }
189 181
190 if (!(ee = calloc(1, sizeof(Ecore_Evas)))) 182 if (!(ee = calloc(1, sizeof(Ecore_Evas))))
191 { 183 {
192 ERR("Failed to allocate Ecore_Evas."); 184 ERR("Failed to allocate Ecore_Evas");
193 ecore_wl_shutdown(); 185 ecore_wl_shutdown();
194 return NULL; 186 return NULL;
195 } 187 }
@@ -206,17 +198,21 @@ ecore_evas_wayland_shm_new(const char *disp_name, int x, int y, int w, int h, in
206 if (w < 1) w = 1; 198 if (w < 1) w = 1;
207 if (h < 1) h = 1; 199 if (h < 1) h = 1;
208 200
209 ee->req.x = ee->x = x; 201 ee->x = x;
210 ee->req.y = ee->y = y; 202 ee->y = y;
211 ee->req.w = ee->w = w; 203 ee->w = w;
212 ee->req.h = ee->h = h; 204 ee->h = h;
205 ee->req.x = ee->x;
206 ee->req.y = ee->y;
207 ee->req.w = ee->w;
208 ee->req.h = ee->h;
213 ee->rotation = 0; 209 ee->rotation = 0;
214 ee->prop.max.w = ee->prop.max.h = 32767; 210 ee->prop.max.w = 32767;
211 ee->prop.max.h = 32767;
215 ee->prop.layer = 4; 212 ee->prop.layer = 4;
216 ee->prop.request_pos = 0; 213 ee->prop.request_pos = 0;
217 ee->prop.sticky = 0; 214 ee->prop.sticky = 0;
218 ee->prop.draw_frame = frame; 215 ee->prop.draw_frame = frame;
219 ee->prop.window = _win_id++;
220 216
221 ee->evas = evas_new(); 217 ee->evas = evas_new();
222 evas_data_attach_set(ee->evas, ee); 218 evas_data_attach_set(ee->evas, ee);
@@ -224,29 +220,42 @@ ecore_evas_wayland_shm_new(const char *disp_name, int x, int y, int w, int h, in
224 evas_output_size_set(ee->evas, ee->w, ee->h); 220 evas_output_size_set(ee->evas, ee->w, ee->h);
225 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h); 221 evas_output_viewport_set(ee->evas, 0, 0, ee->w, ee->h);
226 222
227 if (ee->prop.draw_frame) 223 /* FIXME: This needs to be set based on theme & scale */
224 if (ee->prop.draw_frame)
228 evas_output_framespace_set(ee->evas, 4, 18, 8, 22); 225 evas_output_framespace_set(ee->evas, 4, 18, 8, 22);
229 226
230 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas))) 227 if (parent)
228 p = ecore_wl_window_find(parent);
229
230 /* FIXME: Get if parent is alpha, and set */
231
232 ee->engine.wl.parent = p;
233 ee->engine.wl.win =
234 ecore_wl_window_new(p, x, y, w, h, ECORE_WL_WINDOW_BUFFER_TYPE_SHM);
235 ee->prop.window = ee->engine.wl.win->id;
236
237 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
231 { 238 {
232 einfo->info.rotation = ee->rotation; 239 einfo->info.rotation = ee->rotation;
233 einfo->info.debug = EINA_FALSE; 240 einfo->info.debug = EINA_FALSE;
234 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo)) 241 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
235 { 242 {
236 ERR("Failed to set Evas Engine Info for '%s'.", ee->driver); 243 ERR("Failed to set Evas Engine Info for '%s'", ee->driver);
237 ecore_evas_free(ee); 244 ecore_evas_free(ee);
245 _ecore_evas_wl_shutdown();
246 ecore_wl_shutdown();
238 return NULL; 247 return NULL;
239 } 248 }
240 } 249 }
241 else 250 else
242 { 251 {
243 ERR("Failed to get Evas Engine Info for '%s'.", ee->driver); 252 ERR("Failed to get Evas Engine Info for '%s'", ee->driver);
244 ecore_evas_free(ee); 253 ecore_evas_free(ee);
254 _ecore_evas_wl_shutdown();
255 ecore_wl_shutdown();
245 return NULL; 256 return NULL;
246 } 257 }
247 258
248 /* NB: we need to be notified before 'free' so we can munmap the evas
249 * engine destination */
250 ecore_evas_callback_pre_free_set(ee, _ecore_evas_wl_pre_free); 259 ecore_evas_callback_pre_free_set(ee, _ecore_evas_wl_pre_free);
251 260
252 if (ee->prop.draw_frame) 261 if (ee->prop.draw_frame)
@@ -279,30 +288,21 @@ _ecore_evas_wl_init(void)
279 if (++_ecore_evas_wl_init_count != 1) 288 if (++_ecore_evas_wl_init_count != 1)
280 return _ecore_evas_wl_init_count; 289 return _ecore_evas_wl_init_count;
281 290
282 _ecore_evas_wl_event_handlers[0] = 291 _ecore_evas_wl_event_hdls[0] =
283 ecore_event_handler_add(ECORE_EVENT_MOUSE_BUTTON_DOWN,
284 _ecore_evas_wl_event_mouse_down, NULL);
285 _ecore_evas_wl_event_handlers[1] =
286 ecore_event_handler_add(ECORE_EVENT_MOUSE_BUTTON_UP,
287 _ecore_evas_wl_event_mouse_up, NULL);
288 _ecore_evas_wl_event_handlers[2] =
289 ecore_event_handler_add(ECORE_EVENT_MOUSE_MOVE,
290 _ecore_evas_wl_event_mouse_move, NULL);
291 _ecore_evas_wl_event_handlers[3] =
292 ecore_event_handler_add(ECORE_EVENT_MOUSE_WHEEL,
293 _ecore_evas_wl_event_mouse_wheel, NULL);
294 _ecore_evas_wl_event_handlers[4] =
295 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_IN, 292 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_IN,
296 _ecore_evas_wl_event_mouse_in, NULL); 293 _ecore_evas_wl_cb_mouse_in, NULL);
297 _ecore_evas_wl_event_handlers[5] = 294 _ecore_evas_wl_event_hdls[1] =
298 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_OUT, 295 ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_OUT,
299 _ecore_evas_wl_event_mouse_out, NULL); 296 _ecore_evas_wl_cb_mouse_out, NULL);
300 _ecore_evas_wl_event_handlers[6] = 297 _ecore_evas_wl_event_hdls[2] =
301 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_IN, 298 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_IN,
302 _ecore_evas_wl_event_focus_in, NULL); 299 _ecore_evas_wl_cb_focus_in, NULL);
303 _ecore_evas_wl_event_handlers[7] = 300 _ecore_evas_wl_event_hdls[3] =
304 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_OUT, 301 ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_OUT,
305 _ecore_evas_wl_event_focus_out, NULL); 302 _ecore_evas_wl_cb_focus_out, NULL);
303 _ecore_evas_wl_event_hdls[4] =
304 ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_CONFIGURE,
305 _ecore_evas_wl_cb_window_configure, NULL);
306 306
307 ecore_event_evas_init(); 307 ecore_event_evas_init();
308 308
@@ -319,10 +319,10 @@ _ecore_evas_wl_shutdown(void)
319 if (--_ecore_evas_wl_init_count != 0) 319 if (--_ecore_evas_wl_init_count != 0)
320 return _ecore_evas_wl_init_count; 320 return _ecore_evas_wl_init_count;
321 321
322 for (i = 0; i < sizeof(_ecore_evas_wl_event_handlers) / sizeof(Ecore_Event_Handler *); i++) 322 for (i = 0; i < sizeof(_ecore_evas_wl_event_hdls) / sizeof(Ecore_Event_Handler *); i++)
323 { 323 {
324 if (_ecore_evas_wl_event_handlers[i]) 324 if (_ecore_evas_wl_event_hdls[i])
325 ecore_event_handler_del(_ecore_evas_wl_event_handlers[i]); 325 ecore_event_handler_del(_ecore_evas_wl_event_hdls[i]);
326 } 326 }
327 327
328 ecore_event_evas_shutdown(); 328 ecore_event_evas_shutdown();
@@ -337,17 +337,15 @@ _ecore_evas_wl_pre_free(Ecore_Evas *ee)
337 337
338 LOGFN(__FILE__, __LINE__, __FUNCTION__); 338 LOGFN(__FILE__, __LINE__, __FUNCTION__);
339 339
340 /* destroy frame */
341 if (ee->engine.wl.frame) evas_object_del(ee->engine.wl.frame); 340 if (ee->engine.wl.frame) evas_object_del(ee->engine.wl.frame);
342 341
343 /* get engine info */
344 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas); 342 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas);
345 if ((einfo) && (einfo->info.dest)) 343 if ((einfo) && (einfo->info.dest))
346 { 344 {
347 int ret = 0; 345 int ret = 0;
348 346
349 /* munmap previous engine destination */
350 ret = munmap(einfo->info.dest, ((ee->w * sizeof(int)) * ee->h)); 347 ret = munmap(einfo->info.dest, ((ee->w * sizeof(int)) * ee->h));
348 if (!ret) ERR("Failed to unmap engine destination: %m");
351 } 349 }
352} 350}
353 351
@@ -356,18 +354,11 @@ _ecore_evas_wl_free(Ecore_Evas *ee)
356{ 354{
357 LOGFN(__FILE__, __LINE__, __FUNCTION__); 355 LOGFN(__FILE__, __LINE__, __FUNCTION__);
358 356
359 /* destroy buffer */
360 if (ee->engine.wl.buffer) wl_buffer_destroy(ee->engine.wl.buffer); 357 if (ee->engine.wl.buffer) wl_buffer_destroy(ee->engine.wl.buffer);
361 ee->engine.wl.buffer = NULL; 358 ee->engine.wl.buffer = NULL;
362 359
363 /* destroy shell surface */ 360 if (ee->engine.wl.win) ecore_wl_window_free(ee->engine.wl.win);
364 if (ee->engine.wl.shell_surface) 361 ee->engine.wl.win = NULL;
365 wl_shell_surface_destroy(ee->engine.wl.shell_surface);
366 ee->engine.wl.shell_surface = NULL;
367
368 /* destroy surface */
369 if (ee->engine.wl.surface) wl_surface_destroy(ee->engine.wl.surface);
370 ee->engine.wl.surface = NULL;
371 362
372 ecore_event_window_unregister(ee->prop.window); 363 ecore_event_window_unregister(ee->prop.window);
373 ecore_evas_input_event_unregister(ee); 364 ecore_evas_input_event_unregister(ee);
@@ -431,25 +422,25 @@ _ecore_evas_wl_callback_mouse_in_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee
431} 422}
432 423
433static void 424static void
434_ecore_evas_wl_move(Ecore_Evas *ee, int x, int y) 425_ecore_evas_wl_callback_mouse_out_set(Ecore_Evas *ee, void (*func)(Ecore_Evas *ee))
426{
427 LOGFN(__FILE__, __LINE__, __FUNCTION__);
428
429 if (!ee) return;
430 ee->func.fn_mouse_out = func;
431}
432
433static void
434_ecore_evas_wl_move(Ecore_Evas *ee, int x, int y)
435{ 435{
436 LOGFN(__FILE__, __LINE__, __FUNCTION__); 436 LOGFN(__FILE__, __LINE__, __FUNCTION__);
437 437
438 if (!ee) return; 438 if (!ee) return;
439// if ((ee->x == x) && (ee->y == y)) return;
440 ee->req.x = x; 439 ee->req.x = x;
441 ee->req.y = y; 440 ee->req.y = y;
442
443 ee->x = x; 441 ee->x = x;
444 ee->y = y; 442 ee->y = y;
445 443 if (ee->engine.wl.win) ecore_wl_window_move(ee->engine.wl.win, x, y);
446 if (ee->engine.wl.shell_surface)
447 {
448 wl_shell_surface_move(ee->engine.wl.shell_surface,
449 ecore_wl_input_device_get(),
450 _ecore_evas_wl_btn_timestamp);
451 }
452
453 if (ee->func.fn_move) ee->func.fn_move(ee); 444 if (ee->func.fn_move) ee->func.fn_move(ee);
454} 445}
455 446
@@ -458,49 +449,44 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
458{ 449{
459 Evas_Engine_Info_Wayland_Shm *einfo; 450 Evas_Engine_Info_Wayland_Shm *einfo;
460 451
461 LOGFN(__FILE__, __LINE__, __FUNCTION__);
462
463 if (!ee) return; 452 if (!ee) return;
464 if (w < 1) w = 1; 453 if (w < 1) w = 1;
465 if (h < 1) h = 1; 454 if (h < 1) h = 1;
466 if ((ee->w == w) && (ee->h == h)) return; 455// if ((ee->w == w) && (ee->h == h)) return;
456
457 LOGFN(__FILE__, __LINE__, __FUNCTION__);
458
459 if (ee->prop.min.w > w) w = ee->prop.min.w;
460 else if (w > ee->prop.max.w) w = ee->prop.max.w;
461 if (ee->prop.min.h > h) h = ee->prop.min.h;
462 else if (h > ee->prop.max.h) h = ee->prop.max.h;
467 463
468 ee->req.w = w; 464 ee->req.w = w;
469 ee->req.h = h; 465 ee->req.h = h;
470 466
471 if (ee->visible) 467// ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h);
472 {
473 /* damage old surface, if it exists */
474
475 /* NB: This removes any lingering screen artifacts in the compositor.
476 * This may be a 'HACK' if the issue is actually in the wayland
477 * compositor, but for now lets implement this so we don't have screen
478 * artifacts laying around during a resize */
479 if (ee->engine.wl.surface)
480 wl_surface_damage(ee->engine.wl.surface, 0, 0, ee->w, ee->h);
481 }
482 468
483 /* get engine info */
484 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas); 469 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas);
485 if (einfo->info.dest) 470 if ((einfo) && (einfo->info.dest))
486 { 471 {
487 int ret = 0; 472 int ret = 0;
488 473
489 /* munmap previous engine destination */
490 ret = munmap(einfo->info.dest, ((ee->w * sizeof(int)) * ee->h)); 474 ret = munmap(einfo->info.dest, ((ee->w * sizeof(int)) * ee->h));
475 if (!ret) ERR("Failed to unmap engine destination: %m");
476 }
477 else if (!einfo)
478 {
479 ERR("Failed to get Evas Engine Info for '%s'", ee->driver);
480 return;
491 } 481 }
492 482
493 /* free old buffer */
494 if (ee->engine.wl.buffer) wl_buffer_destroy(ee->engine.wl.buffer); 483 if (ee->engine.wl.buffer) wl_buffer_destroy(ee->engine.wl.buffer);
495 ee->engine.wl.buffer = NULL; 484 ee->engine.wl.buffer = NULL;
496 485
497 ee->w = w; 486 ee->w = w;
498 ee->h = h; 487 ee->h = h;
499 488
500 /* create buffer @ new size (also mmaps the new destination) */
501 _ecore_evas_wl_buffer_new(ee, &einfo->info.dest); 489 _ecore_evas_wl_buffer_new(ee, &einfo->info.dest);
502
503 /* flush new buffer fd */
504 ecore_wl_flush(); 490 ecore_wl_flush();
505 491
506 /* change evas output & viewport sizes */ 492 /* change evas output & viewport sizes */
@@ -514,16 +500,13 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
514 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); 500 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
515 501
516 /* damage buffer */ 502 /* damage buffer */
517 wl_buffer_damage(ee->engine.wl.buffer, 0, 0, ee->w, ee->h); 503// wl_buffer_damage(ee->engine.wl.buffer, 0, 0, ee->w, ee->h);
518 504
519 if (ee->visible) 505 ecore_wl_window_buffer_attach(ee->engine.wl.win, ee->engine.wl.buffer, 0, 0);
520 { 506 /* ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h); */
521 /* damage surface */ 507 /* ecore_wl_flush(); */
522 wl_surface_damage(ee->engine.wl.surface, 0, 0, ee->w, ee->h);
523 508
524 /* if visible, attach to surface */ 509 ecore_wl_window_update_size(ee->engine.wl.win, ee->w, ee->h);
525 wl_surface_attach(ee->engine.wl.surface, ee->engine.wl.buffer, 0, 0);
526 }
527 510
528 if (ee->func.fn_resize) ee->func.fn_resize(ee); 511 if (ee->func.fn_resize) ee->func.fn_resize(ee);
529} 512}
@@ -535,93 +518,64 @@ _ecore_evas_wl_show(Ecore_Evas *ee)
535 518
536 LOGFN(__FILE__, __LINE__, __FUNCTION__); 519 LOGFN(__FILE__, __LINE__, __FUNCTION__);
537 520
538 if (!ee) return; 521 if ((!ee) || (ee->visible)) return;
539 if (ee->visible) return;
540 522
541 /* get engine info */ 523 if (ee->engine.wl.win)
542 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas); 524 ecore_wl_window_show(ee->engine.wl.win);
543
544 /* create new surface */
545 ee->engine.wl.surface =
546 wl_compositor_create_surface(ecore_wl_compositor_get());
547 wl_surface_set_user_data(ee->engine.wl.surface, (void *)ee->prop.window);
548 525
549 /* get new shell surface */ 526 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas);
550 ee->engine.wl.shell_surface = 527 if (!einfo)
551 wl_shell_get_shell_surface(ecore_wl_shell_get(), ee->engine.wl.surface); 528 {
552 529 ERR("Failed to get Evas Engine Info for '%s'", ee->driver);
553 /* set toplevel */ 530 return;
554 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface); 531 }
555 532
556 /* create buffer @ new size (also mmaps the new destination) */
557 _ecore_evas_wl_buffer_new(ee, &einfo->info.dest); 533 _ecore_evas_wl_buffer_new(ee, &einfo->info.dest);
534 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
558 535
559 if (ee->engine.wl.frame) 536 if (ee->engine.wl.frame)
560 { 537 {
561 evas_object_show(ee->engine.wl.frame); 538 evas_object_show(ee->engine.wl.frame);
562 evas_object_resize(ee->engine.wl.frame, ee->w, ee->h); 539 evas_object_resize(ee->engine.wl.frame, ee->w, ee->h);
563 } 540 }
564 541
565 /* set new engine destination */
566 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
567
568 /* add configure listener for wayland resize events */
569 wl_shell_surface_add_listener(ee->engine.wl.shell_surface,
570 &_ecore_evas_wl_shell_surface_listener, ee);
571
572 /* flush new buffer fd */
573 ecore_wl_flush(); 542 ecore_wl_flush();
574 543
575 /* attach buffer to surface */ 544 if (ee->engine.wl.win)
576 wl_surface_attach(ee->engine.wl.surface, ee->engine.wl.buffer, 0, 0); 545 ecore_wl_window_buffer_attach(ee->engine.wl.win, ee->engine.wl.buffer, 0, 0);
577
578 /* NB: No need to do a damage here. If we do, we end up w/ screen
579 * artifacts in the compositor */
580 /* wl_surface_damage(ee->engine.wl.surface, 0, 0, ee->w, ee->h); */
581 546
582 ee->visible = 1; 547 ee->visible = 1;
583 if (ee->func.fn_show) ee->func.fn_show(ee); 548 if (ee->func.fn_show) ee->func.fn_show(ee);
584} 549}
585 550
586static void 551static void
587_ecore_evas_wl_hide(Ecore_Evas *ee) 552_ecore_evas_wl_hide(Ecore_Evas *ee)
588{ 553{
589 Evas_Engine_Info_Wayland_Shm *einfo; 554 Evas_Engine_Info_Wayland_Shm *einfo;
590 555
591 LOGFN(__FILE__, __LINE__, __FUNCTION__); 556 LOGFN(__FILE__, __LINE__, __FUNCTION__);
592 557
593 if (!ee) return; 558 if ((!ee) || (!ee->visible)) return;
594 if (!ee->visible) return;
595 559
596 /* get engine info */
597 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas); 560 einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas);
598 if (einfo->info.dest) 561 if ((einfo) && (einfo->info.dest))
599 { 562 {
600 int ret = 0; 563 int ret = 0;
601 564
602 /* munmap previous engine destination */
603 ret = munmap(einfo->info.dest, ((ee->w * sizeof(int)) * ee->h)); 565 ret = munmap(einfo->info.dest, ((ee->w * sizeof(int)) * ee->h));
604 einfo->info.dest = NULL; 566 if (!ret) ERR("Failed to unmap engine destination: %m");
605 } 567 }
606 568
607 /* free old buffer */
608 if (ee->engine.wl.buffer) wl_buffer_destroy(ee->engine.wl.buffer); 569 if (ee->engine.wl.buffer) wl_buffer_destroy(ee->engine.wl.buffer);
609 ee->engine.wl.buffer = NULL; 570 ee->engine.wl.buffer = NULL;
610 571
611 /* set new engine destination */
612 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); 572 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
613 573
614 /* destroy shell surface */ 574 ecore_wl_window_hide(ee->engine.wl.win);
615 if (ee->engine.wl.shell_surface)
616 wl_shell_surface_destroy(ee->engine.wl.shell_surface);
617 ee->engine.wl.shell_surface = NULL;
618
619 /* destroy surface */
620 if (ee->engine.wl.surface) wl_surface_destroy(ee->engine.wl.surface);
621 ee->engine.wl.surface = NULL;
622 575
623 ee->visible = 0; 576 ee->visible = 0;
624 ee->should_be_visible = 0; 577 ee->should_be_visible = 0;
578
625 if (ee->func.fn_hide) ee->func.fn_hide(ee); 579 if (ee->func.fn_hide) ee->func.fn_hide(ee);
626} 580}
627 581
@@ -631,39 +585,18 @@ _ecore_evas_wl_raise(Ecore_Evas *ee)
631 LOGFN(__FILE__, __LINE__, __FUNCTION__); 585 LOGFN(__FILE__, __LINE__, __FUNCTION__);
632 586
633 if ((!ee) || (!ee->visible)) return; 587 if ((!ee) || (!ee->visible)) return;
634 if (!ee->engine.wl.shell_surface) return; 588 ecore_wl_window_raise(ee->engine.wl.win);
635 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface);
636} 589}
637 590
638static void 591static void
639_ecore_evas_wl_lower(Ecore_Evas *ee) 592_ecore_evas_wl_title_set(Ecore_Evas *ee, const char *title)
640{
641 LOGFN(__FILE__, __LINE__, __FUNCTION__);
642
643 if ((!ee) || (!ee->visible)) return;
644 /* FIXME: Need a way to tell Wayland to lower */
645}
646
647static void
648_ecore_evas_wl_activate(Ecore_Evas *ee)
649{
650 LOGFN(__FILE__, __LINE__, __FUNCTION__);
651
652 if ((!ee) || (!ee->visible)) return;
653 if (!ee->engine.wl.shell_surface) return;
654 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface);
655}
656
657static void
658_ecore_evas_wl_title_set(Ecore_Evas *ee, const char *t)
659{ 593{
660 LOGFN(__FILE__, __LINE__, __FUNCTION__); 594 LOGFN(__FILE__, __LINE__, __FUNCTION__);
661 595
662 if (!ee) return; 596 if (!ee) return;
663 if (ee->prop.title) free(ee->prop.title); 597 if (ee->prop.title) free(ee->prop.title);
664 ee->prop.title = NULL; 598 ee->prop.title = NULL;
665 if (t) ee->prop.title = strdup(t); 599 if (title) ee->prop.title = strdup(title);
666
667 if ((ee->prop.draw_frame) && (ee->engine.wl.frame)) 600 if ((ee->prop.draw_frame) && (ee->engine.wl.frame))
668 { 601 {
669 EE_Wl_Smart_Data *sd; 602 EE_Wl_Smart_Data *sd;
@@ -741,102 +674,96 @@ _ecore_evas_wl_size_step_set(Ecore_Evas *ee, int w, int h)
741} 674}
742 675
743static void 676static void
744_ecore_evas_wl_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int hot_x, int hot_y) 677_ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer)
745{ 678{
746 int x = 0, y = 0;
747
748 LOGFN(__FILE__, __LINE__, __FUNCTION__); 679 LOGFN(__FILE__, __LINE__, __FUNCTION__);
749 680
750 if (!ee) return; 681 if (!ee) return;
751 if (ee->prop.cursor.object) evas_object_del(ee->prop.cursor.object); 682 if (ee->prop.layer == layer) return;
752 ee->prop.cursor.object = NULL; 683 if (layer < 1) layer = 1;
753 684 else if (layer > 255) layer = 255;
754 if (!obj) 685 ee->prop.layer = layer;
755 {
756 ee->prop.cursor.layer = 0;
757 ee->prop.cursor.hot.x = 0;
758 ee->prop.cursor.hot.y = 0;
759 return;
760 }
761
762 ee->prop.cursor.object = obj;
763 ee->prop.cursor.layer = layer;
764 ee->prop.cursor.hot.x = hot_x;
765 ee->prop.cursor.hot.y = hot_y;
766
767 evas_pointer_output_xy_get(ee->evas, &x, &y);
768 evas_object_layer_set(ee->prop.cursor.object, ee->prop.cursor.layer);
769 evas_object_move(ee->prop.cursor.object,
770 x - ee->prop.cursor.hot.x, y - ee->prop.cursor.hot.y);
771 evas_object_pass_events_set(ee->prop.cursor.object, 1);
772 if (evas_pointer_inside_get(ee->evas))
773 evas_object_show(ee->prop.cursor.object);
774
775 evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL,
776 _ecore_evas_wl_object_cursor_del, ee);
777} 686}
778 687
779static void 688static void
780_ecore_evas_wl_object_cursor_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 689_ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify)
781{ 690{
782 Ecore_Evas *ee; 691 LOGFN(__FILE__, __LINE__, __FUNCTION__);
783 692
784 if (!(ee = data)) return; 693 if (!ee) return;
785 ee->prop.cursor.object = NULL; 694 if (ee->prop.iconified == iconify) return;
695 ee->prop.iconified = iconify;
696 /* FIXME: Implement this in Wayland someshow */
786} 697}
787 698
788static void 699static void
789_ecore_evas_wl_layer_set(Ecore_Evas *ee, int layer) 700_ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max)
790{ 701{
791 LOGFN(__FILE__, __LINE__, __FUNCTION__); 702 LOGFN(__FILE__, __LINE__, __FUNCTION__);
792 703
793 if (!ee) return; 704 if (!ee) return;
794 if (ee->prop.layer == layer) return; 705 if (ee->prop.maximized == max) return;
795 if (layer < 1) layer = 1; 706 ee->prop.maximized = max;
796 else if (layer > 255) layer = 255; 707 ecore_wl_window_maximized_set(ee->engine.wl.win, max);
797 ee->prop.layer = layer;
798} 708}
799 709
800static void 710static void
801_ecore_evas_wl_focus_set(Ecore_Evas *ee, int focus __UNUSED__) 711_ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full)
802{ 712{
803 LOGFN(__FILE__, __LINE__, __FUNCTION__); 713 LOGFN(__FILE__, __LINE__, __FUNCTION__);
804 714
805 if ((!ee) || (!ee->visible)) return; 715 if ((!ee) || (!ee->visible)) return;
806 if (!ee->engine.wl.shell_surface) return; 716 if (ee->prop.fullscreen == full) return;
807 wl_shell_surface_set_toplevel(ee->engine.wl.shell_surface); 717 ee->prop.fullscreen = full;
718 ecore_wl_window_fullscreen_set(ee->engine.wl.win, full);
808} 719}
809 720
810static void 721static void
811_ecore_evas_wl_iconified_set(Ecore_Evas *ee, int iconify) 722_ecore_evas_wl_ignore_events_set(Ecore_Evas *ee, int ignore)
812{ 723{
813 LOGFN(__FILE__, __LINE__, __FUNCTION__); 724 LOGFN(__FILE__, __LINE__, __FUNCTION__);
814 725
815 if (!ee) return; 726 if (!ee) return;
816 if (ee->prop.iconified == iconify) return; 727 ee->ignore_events = ignore;
817 ee->prop.iconified = iconify; 728 /* NB: Hmmm, may need to pass this to ecore_wl_window in the future */
818 /* FIXME: Implement this in Wayland someshow */
819} 729}
820 730
821static void 731static void
822_ecore_evas_wl_maximized_set(Ecore_Evas *ee, int max) 732_ecore_evas_wl_alpha_set(Ecore_Evas *ee, int alpha)
823{ 733{
734 Evas_Engine_Info_Wayland_Shm *einfo;
735
824 LOGFN(__FILE__, __LINE__, __FUNCTION__); 736 LOGFN(__FILE__, __LINE__, __FUNCTION__);
825 737
826 if (!ee) return; 738 if (!ee) return;
827 if (ee->prop.maximized == max) return; 739 if ((ee->alpha == alpha)) return;
828 ee->prop.maximized = max; 740 ee->alpha = alpha;
829 /* FIXME: Implement this in Wayland someshow */ 741 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
742 {
743 einfo->info.destination_alpha = alpha;
744 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
745 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
746 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
747 }
830} 748}
831 749
832static void 750static void
833_ecore_evas_wl_fullscreen_set(Ecore_Evas *ee, int full __UNUSED__) 751_ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent)
834{ 752{
753 Evas_Engine_Info_Wayland_Shm *einfo;
754
835 LOGFN(__FILE__, __LINE__, __FUNCTION__); 755 LOGFN(__FILE__, __LINE__, __FUNCTION__);
836 756
837 if ((!ee) || (!ee->visible)) return; 757 if (!ee) return;
838 if (!ee->engine.wl.shell_surface) return; 758 if ((ee->transparent == transparent)) return;
839 wl_shell_surface_set_fullscreen(ee->engine.wl.shell_surface); 759 ee->transparent = transparent;
760 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
761 {
762 einfo->info.destination_alpha = transparent;
763 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
764 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
765 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
766 }
840} 767}
841 768
842static int 769static int
@@ -845,9 +772,9 @@ _ecore_evas_wl_render(Ecore_Evas *ee)
845 int rend = 0; 772 int rend = 0;
846 773
847 if (!ee) return 0; 774 if (!ee) return 0;
848 if (!ee->visible) 775 if (!ee->visible)
849 evas_norender(ee->evas); 776 evas_norender(ee->evas);
850 else 777 else
851 { 778 {
852 Eina_List *ll = NULL, *updates = NULL; 779 Eina_List *ll = NULL, *updates = NULL;
853 Ecore_Evas *ee2 = NULL; 780 Ecore_Evas *ee2 = NULL;
@@ -867,27 +794,27 @@ _ecore_evas_wl_render(Ecore_Evas *ee)
867 Eina_List *l = NULL; 794 Eina_List *l = NULL;
868 Eina_Rectangle *r; 795 Eina_Rectangle *r;
869 796
797 LOGFN(__FILE__, __LINE__, __FUNCTION__);
798
870 EINA_LIST_FOREACH(updates, l, r) 799 EINA_LIST_FOREACH(updates, l, r)
871 { 800 {
872 if (ee->engine.wl.buffer) 801 if (ee->engine.wl.buffer)
873 wl_buffer_damage(ee->engine.wl.buffer, 802 wl_buffer_damage(ee->engine.wl.buffer,
874 r->x, r->y, r->w, r->h); 803 r->x, r->y, r->w, r->h);
875 804
876 if (ee->engine.wl.surface) 805 ecore_wl_window_damage(ee->engine.wl.win,
877 wl_surface_damage(ee->engine.wl.surface, 806 r->x, r->y, r->w, r->h);
878 r->x, r->y, r->w, r->h);
879 } 807 }
880 808
809 ecore_wl_flush();
810
881 evas_render_updates_free(updates); 811 evas_render_updates_free(updates);
882 _ecore_evas_idle_timeout_update(ee); 812 _ecore_evas_idle_timeout_update(ee);
883 rend = 1; 813 rend = 1;
884
885 ecore_wl_flush();
886 } 814 }
887 815
888 if (ee->func.fn_post_render) ee->func.fn_post_render(ee); 816 if (ee->func.fn_post_render) ee->func.fn_post_render(ee);
889 } 817 }
890
891 return rend; 818 return rend;
892} 819}
893 820
@@ -901,77 +828,67 @@ _ecore_evas_wl_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int
901 ecore_wl_screen_size_get(w, h); 828 ecore_wl_screen_size_get(w, h);
902} 829}
903 830
904static Eina_Bool 831static void
905_ecore_evas_wl_event_mouse_down(void *data __UNUSED__, int type __UNUSED__, void *event) 832_ecore_evas_wl_buffer_new(Ecore_Evas *ee, void **dest)
906{ 833{
907 Ecore_Evas *ee; 834 struct wl_shm *shm;
908 Ecore_Event_Mouse_Button *ev; 835 static unsigned int format;
836 char tmp[PATH_MAX];
837 int fd = -1, stride = 0, size = 0;
838 void *ret;
909 839
910 LOGFN(__FILE__, __LINE__, __FUNCTION__); 840 LOGFN(__FILE__, __LINE__, __FUNCTION__);
911 841
912 ev = event; 842 if (dest) *dest = NULL;
913 _ecore_evas_wl_btn_timestamp = ev->timestamp; 843 if (!(shm = ecore_wl_shm_get())) return;
914 ee = ecore_event_window_match(ev->window); 844 if (!format) format = WL_SHM_FORMAT_ARGB8888; //ecore_wl_format_get();
915 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
916 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
917 evas_event_feed_mouse_down(ee->evas, ev->buttons, ev->modifiers,
918 ev->timestamp, NULL);
919 return ECORE_CALLBACK_PASS_ON;
920}
921 845
922static Eina_Bool 846 strcpy(tmp, "/tmp/ecore-wayland_shm-XXXXXX");
923_ecore_evas_wl_event_mouse_up(void *data __UNUSED__, int type __UNUSED__, void *event) 847 if ((fd = mkstemp(tmp)) < 0)
924{ 848 {
925 Ecore_Evas *ee; 849 ERR("Could not create temporary file.");
926 Ecore_Event_Mouse_Button *ev; 850 return;
851 }
927 852
928 LOGFN(__FILE__, __LINE__, __FUNCTION__); 853 stride = (ee->w * sizeof(int));
854 size = (stride * ee->h);
855 if (ftruncate(fd, size) < 0)
856 {
857 ERR("Could not truncate temporary file.");
858 close(fd);
859 return;
860 }
929 861
930 ev = event; 862 ret = mmap(NULL, size, (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0);
931 ee = ecore_event_window_match(ev->window); 863 unlink(tmp);
932 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
933 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
934 evas_event_feed_mouse_up(ee->evas, ev->buttons, ev->modifiers,
935 ev->timestamp, NULL);
936 return ECORE_CALLBACK_PASS_ON;
937}
938 864
939static Eina_Bool 865 if (ret == MAP_FAILED)
940_ecore_evas_wl_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event) 866 {
941{ 867 ERR("mmap of temporary file failed.");
942 Ecore_Evas *ee; 868 close(fd);
943 Ecore_Event_Mouse_Move *ev; 869 return;
870 }
944 871
945 ev = event; 872 if (dest) *dest = ret;
946 ee = ecore_event_window_match(ev->window); 873
947 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 874 ee->engine.wl.buffer =
948 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 875 wl_shm_create_buffer(ecore_wl_shm_get(), fd, ee->w, ee->h, stride, format);
949 ee->mouse.x = ev->x; 876
950 ee->mouse.y = ev->y; 877 close(fd);
951 evas_event_feed_mouse_move(ee->evas, ev->x, ev->y, ev->timestamp, NULL);
952 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
953 return ECORE_CALLBACK_PASS_ON;
954} 878}
955 879
956static Eina_Bool 880void
957_ecore_evas_wl_event_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event) 881_ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
958{ 882{
959 Ecore_Evas *ee;
960 Ecore_Event_Mouse_Wheel *ev;
961
962 LOGFN(__FILE__, __LINE__, __FUNCTION__); 883 LOGFN(__FILE__, __LINE__, __FUNCTION__);
963 884
964 ev = event; 885 if (!ee) return;
965 ee = ecore_event_window_match(ev->window); 886 if (ee->engine.wl.win)
966 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 887 ecore_wl_window_resize(ee->engine.wl.win, ee->w, ee->h, location);
967 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
968 evas_event_feed_mouse_wheel(ee->evas, ev->direction, ev->z,
969 ev->timestamp, NULL);
970 return ECORE_CALLBACK_PASS_ON;
971} 888}
972 889
973static Eina_Bool 890static Eina_Bool
974_ecore_evas_wl_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event) 891_ecore_evas_wl_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
975{ 892{
976 Ecore_Evas *ee; 893 Ecore_Evas *ee;
977 Ecore_Wl_Event_Mouse_In *ev; 894 Ecore_Wl_Event_Mouse_In *ev;
@@ -979,18 +896,18 @@ _ecore_evas_wl_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *
979 LOGFN(__FILE__, __LINE__, __FUNCTION__); 896 LOGFN(__FILE__, __LINE__, __FUNCTION__);
980 897
981 ev = event; 898 ev = event;
982 ee = ecore_event_window_match(ev->window); 899 ee = ecore_event_window_match(ev->win);
983 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 900 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
984 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 901 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
985 if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee); 902 if (ee->func.fn_mouse_in) ee->func.fn_mouse_in(ee);
986 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers); 903 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers);
987 evas_event_feed_mouse_in(ee->evas, ev->time, NULL); 904 evas_event_feed_mouse_in(ee->evas, ev->timestamp, NULL);
988 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->time); 905 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
989 return ECORE_CALLBACK_PASS_ON; 906 return ECORE_CALLBACK_PASS_ON;
990} 907}
991 908
992static Eina_Bool 909static Eina_Bool
993_ecore_evas_wl_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event) 910_ecore_evas_wl_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
994{ 911{
995 Ecore_Evas *ee; 912 Ecore_Evas *ee;
996 Ecore_Wl_Event_Mouse_Out *ev; 913 Ecore_Wl_Event_Mouse_Out *ev;
@@ -998,19 +915,19 @@ _ecore_evas_wl_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void
998 LOGFN(__FILE__, __LINE__, __FUNCTION__); 915 LOGFN(__FILE__, __LINE__, __FUNCTION__);
999 916
1000 ev = event; 917 ev = event;
1001 ee = ecore_event_window_match(ev->window); 918 ee = ecore_event_window_match(ev->win);
1002 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 919 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
1003 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 920 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
1004 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers); 921 ecore_event_evas_modifier_lock_update(ee->evas, ev->modifiers);
1005 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->time); 922 _ecore_evas_mouse_move_process(ee, ev->x, ev->y, ev->timestamp);
1006 evas_event_feed_mouse_out(ee->evas, ev->time, NULL); 923 evas_event_feed_mouse_out(ee->evas, ev->timestamp, NULL);
1007 if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee); 924 if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee);
1008 if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object); 925 if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object);
1009 return ECORE_CALLBACK_PASS_ON; 926 return ECORE_CALLBACK_PASS_ON;
1010} 927}
1011 928
1012static Eina_Bool 929static Eina_Bool
1013_ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event) 930_ecore_evas_wl_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
1014{ 931{
1015 Ecore_Evas *ee; 932 Ecore_Evas *ee;
1016 Ecore_Wl_Event_Focus_In *ev; 933 Ecore_Wl_Event_Focus_In *ev;
@@ -1018,9 +935,9 @@ _ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *
1018 LOGFN(__FILE__, __LINE__, __FUNCTION__); 935 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1019 936
1020 ev = event; 937 ev = event;
1021 ee = ecore_event_window_match(ev->window); 938 ee = ecore_event_window_match(ev->win);
1022 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 939 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
1023 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 940 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
1024 ee->prop.focused = 1; 941 ee->prop.focused = 1;
1025 evas_focus_in(ee->evas); 942 evas_focus_in(ee->evas);
1026 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); 943 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee);
@@ -1028,92 +945,53 @@ _ecore_evas_wl_event_focus_in(void *data __UNUSED__, int type __UNUSED__, void *
1028} 945}
1029 946
1030static Eina_Bool 947static Eina_Bool
1031_ecore_evas_wl_event_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event) 948_ecore_evas_wl_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
1032{ 949{
1033 Ecore_Evas *ee; 950 Ecore_Evas *ee;
1034 Ecore_Wl_Event_Focus_Out *ev; 951 Ecore_Wl_Event_Focus_In *ev;
1035 952
1036 LOGFN(__FILE__, __LINE__, __FUNCTION__); 953 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1037 954
1038 ev = event; 955 ev = event;
1039 ee = ecore_event_window_match(ev->window); 956 ee = ecore_event_window_match(ev->win);
1040 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; 957 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
1041 if (ev->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 958 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
1042 evas_focus_out(ee->evas); 959 evas_focus_out(ee->evas);
1043 ee->prop.focused = 0; 960 ee->prop.focused = 0;
1044 if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee); 961 if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee);
1045 return ECORE_CALLBACK_PASS_ON; 962 return ECORE_CALLBACK_PASS_ON;
1046} 963}
1047 964
1048static void 965static Eina_Bool
1049_ecore_evas_wl_handle_configure(void *data, struct wl_shell_surface *shell_surface, uint32_t timestamp __UNUSED__, uint32_t edges __UNUSED__, int32_t width, int32_t height) 966_ecore_evas_wl_cb_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
1050{ 967{
1051 Ecore_Evas *ee; 968 Ecore_Evas *ee;
1052 969 Ecore_Wl_Event_Window_Configure *ev;
1053 /* NB: Trap to prevent compositor from crashing */
1054 if ((width <= 0) || (height <= 0)) return;
1055
1056 if (!(ee = data)) return;
1057
1058 if ((shell_surface) && (ee->engine.wl.shell_surface))
1059 {
1060 if (ee->engine.wl.shell_surface != shell_surface) return;
1061 ecore_evas_resize(ee, width, height);
1062 }
1063}
1064
1065static void
1066_ecore_evas_wl_handle_popup_done(void *data __UNUSED__, struct wl_shell_surface *shell_surface __UNUSED__)
1067{
1068
1069}
1070
1071static void
1072_ecore_evas_wl_buffer_new(Ecore_Evas *ee, void **dest)
1073{
1074 static unsigned int format;
1075 char tmp[PATH_MAX];
1076 int fd = -1, stride = 0, size = 0;
1077 void *ret;
1078 970
1079 LOGFN(__FILE__, __LINE__, __FUNCTION__); 971 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1080 972
1081 if (dest) *dest = NULL; 973 ev = event;
1082 974 ee = ecore_event_window_match(ev->win);
1083 if (!format) format = ecore_wl_format_get(); 975 if (!ee) return ECORE_CALLBACK_PASS_ON;
1084 976 if (ev->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
1085 strcpy(tmp, "/tmp/ecore-wayland_shm-XXXXXX"); 977 if ((ee->x != ev->x) || (ee->y != ev->y))
1086 if ((fd = mkstemp(tmp)) < 0)
1087 {
1088 ERR("Could not create temporary file.");
1089 return;
1090 }
1091
1092 stride = (ee->w * sizeof(int));
1093 size = (stride * ee->h);
1094 if (ftruncate(fd, size) < 0)
1095 { 978 {
1096 ERR("Could not truncate temporary file."); 979 ee->x = ev->x;
1097 close(fd); 980 ee->y = ev->y;
1098 return; 981 ee->req.x = ee->x;
982 ee->req.y = ee->y;
983 if (ee->func.fn_move) ee->func.fn_move(ee);
1099 } 984 }
1100 985 if ((ee->req.w != ev->w) || (ee->req.h != ev->h))
1101 ret = mmap(NULL, size, (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0);
1102 unlink(tmp);
1103
1104 if (ret == MAP_FAILED)
1105 { 986 {
1106 ERR("mmap of temporary file failed."); 987 /* ee->w = ev->w; */
1107 close(fd); 988 /* ee->h = ev->h; */
1108 return; 989 ee->req.w = ev->w;
990 ee->req.h = ev->h;
991 if (ee->func.fn_resize) ee->func.fn_resize(ee);
1109 } 992 }
1110 993
1111 if (dest) *dest = ret; 994 return ECORE_CALLBACK_PASS_ON;
1112
1113 ee->engine.wl.buffer =
1114 wl_shm_create_buffer(ecore_wl_shm_get(), fd, ee->w, ee->h, stride, format);
1115
1116 close(fd);
1117} 995}
1118 996
1119static void 997static void
@@ -1227,30 +1105,9 @@ _ecore_evas_wl_frame_add(Evas *evas)
1227 return evas_object_smart_add(evas, _ecore_evas_wl_smart); 1105 return evas_object_smart_add(evas, _ecore_evas_wl_smart);
1228} 1106}
1229 1107
1230void
1231_ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
1232{
1233 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1234
1235 if ((!ee) || (!ee->engine.wl.shell_surface)) return;
1236 wl_shell_surface_resize(ee->engine.wl.shell_surface,
1237 ecore_wl_input_device_get(),
1238 _ecore_evas_wl_btn_timestamp, location);
1239}
1240
1241void
1242_ecore_evas_wayland_shm_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source)
1243{
1244 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1245
1246 if ((!ee) || (!ee->engine.wl.surface)) return;
1247 if ((!source) || (!drag_ee)) return;
1248 ecore_wl_drag_start(source, ee->engine.wl.surface, drag_ee->engine.wl.buffer);
1249}
1250
1251#else 1108#else
1252EAPI Ecore_Evas * 1109EAPI Ecore_Evas *
1253ecore_evas_wayland_shm_new(const char *disp_name __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, int frame __UNUSED__) 1110ecore_evas_wayland_shm_new(const char *disp_name __UNUSED__, unsigned int parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, Eina_Bool frame __UNUSED__)
1254{ 1111{
1255 return NULL; 1112 return NULL;
1256} 1113}
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_win32.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_win32.c
index cfec528..32132b3 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_win32.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_win32.c
@@ -420,7 +420,7 @@ _ecore_evas_win32_free(Ecore_Evas *ee)
420 420
421static void 421static void
422_ecore_evas_win32_callback_delete_request_set(Ecore_Evas *ee, 422_ecore_evas_win32_callback_delete_request_set(Ecore_Evas *ee,
423 void (*func) (Ecore_Evas *ee)) 423 Ecore_Evas_Event_Cb func)
424{ 424{
425 ee->func.fn_delete_request = func; 425 ee->func.fn_delete_request = func;
426} 426}
@@ -717,7 +717,7 @@ _ecore_evas_win32_activate(Ecore_Evas *ee)
717{ 717{
718 INF("ecore evas activate"); 718 INF("ecore evas activate");
719 719
720 ecore_win32_window_focus_set((struct _Ecore_Win32_Window *)ee->prop.window); 720 ecore_win32_window_focus((struct _Ecore_Win32_Window *)ee->prop.window);
721} 721}
722 722
723static void 723static void
@@ -819,7 +819,7 @@ _ecore_evas_win32_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int ho
819static void 819static void
820_ecore_evas_win32_focus_set(Ecore_Evas *ee, int on __UNUSED__) 820_ecore_evas_win32_focus_set(Ecore_Evas *ee, int on __UNUSED__)
821{ 821{
822 ecore_win32_window_focus_set((struct _Ecore_Win32_Window *)ee->prop.window); 822 ecore_win32_window_focus((struct _Ecore_Win32_Window *)ee->prop.window);
823} 823}
824 824
825static void 825static void
@@ -879,18 +879,12 @@ _ecore_evas_win32_fullscreen_set(Ecore_Evas *ee, int on)
879 879
880 if (on != 0) 880 if (on != 0)
881 { 881 {
882 ecore_win32_window_shape_set((struct _Ecore_Win32_Window *)ee->prop.window,
883 0, 0, NULL);
884 ecore_win32_window_fullscreen_set((struct _Ecore_Win32_Window *)ee->prop.window, 882 ecore_win32_window_fullscreen_set((struct _Ecore_Win32_Window *)ee->prop.window,
885 on); 883 on);
886 } 884 }
887 else 885 else
888 { 886 {
889 ecore_win32_window_fullscreen_set(window, on); 887 ecore_win32_window_fullscreen_set(window, on);
890 ecore_win32_window_shape_set(window,
891 window->shape.width,
892 window->shape.height,
893 window->shape.mask);
894 } 888 }
895 889
896 /* Nothing to be done for the GDI backend at the evas level */ 890 /* Nothing to be done for the GDI backend at the evas level */
@@ -982,6 +976,13 @@ static Ecore_Evas_Engine_Func _ecore_win32_engine_func =
982 NULL, /* _ecore_evas_x_alpha_set */ 976 NULL, /* _ecore_evas_x_alpha_set */
983 NULL, //transparent 977 NULL, //transparent
984 978
979 NULL,
980 NULL,
981 NULL,
982 NULL,
983 NULL,
984 NULL,
985
985 NULL, // render 986 NULL, // render
986 NULL //screen_geometry_get 987 NULL //screen_geometry_get
987}; 988};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_wince.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_wince.c
index e102cb7..fecf26b 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_wince.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_wince.c
@@ -345,7 +345,7 @@ _ecore_evas_wince_free(Ecore_Evas *ee)
345 345
346static void 346static void
347_ecore_evas_wince_callback_delete_request_set(Ecore_Evas *ee, 347_ecore_evas_wince_callback_delete_request_set(Ecore_Evas *ee,
348 void (*func) (Ecore_Evas *ee)) 348 Ecore_Evas_Event_Cb func)
349{ 349{
350 ee->func.fn_delete_request = func; 350 ee->func.fn_delete_request = func;
351} 351}
@@ -641,11 +641,11 @@ _ecore_evas_wince_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int ho
641#endif 641#endif
642} 642}
643 643
644/* static void */ 644static void
645/* _ecore_evas_wince_focus_set(Ecore_Evas *ee, int on __UNUSED__) */ 645_ecore_evas_wince_focus_set(Ecore_Evas *ee, int on __UNUSED__)
646/* { */ 646{
647/* ecore_wince_window_focus_set(ee->prop.window); */ 647 ecore_wince_window_focus(ee->prop.window);
648/* } */ 648}
649 649
650/* static void */ 650/* static void */
651/* _ecore_evas_wince_iconified_set(Ecore_Evas *ee, int on) */ 651/* _ecore_evas_wince_iconified_set(Ecore_Evas *ee, int on) */
@@ -760,7 +760,7 @@ static Ecore_Evas_Engine_Func _ecore_wince_engine_func =
760 NULL, //_ecore_evas_wince_size_step_set, 760 NULL, //_ecore_evas_wince_size_step_set,
761 _ecore_evas_wince_cursor_set, 761 _ecore_evas_wince_cursor_set,
762 NULL, /* _ecore_evas_x_layer_set */ 762 NULL, /* _ecore_evas_x_layer_set */
763 NULL, //_ecore_evas_wince_focus_set, 763 _ecore_evas_wince_focus_set,
764 NULL, //_ecore_evas_wince_iconified_set, 764 NULL, //_ecore_evas_wince_iconified_set,
765 NULL, //_ecore_evas_wince_borderless_set, 765 NULL, //_ecore_evas_wince_borderless_set,
766 NULL, /* _ecore_evas_x_override_set */ 766 NULL, /* _ecore_evas_x_override_set */
@@ -773,6 +773,13 @@ static Ecore_Evas_Engine_Func _ecore_wince_engine_func =
773 NULL, /* _ecore_evas_x_alpha_set */ 773 NULL, /* _ecore_evas_x_alpha_set */
774 NULL, //transparent 774 NULL, //transparent
775 775
776 NULL,
777 NULL,
778 NULL,
779 NULL,
780 NULL,
781 NULL,
782
776 NULL, // render 783 NULL, // render
777 NULL // screen_geometry_get 784 NULL // screen_geometry_get
778}; 785};
diff --git a/libraries/ecore/src/lib/ecore_evas/ecore_evas_x.c b/libraries/ecore/src/lib/ecore_evas/ecore_evas_x.c
index 7d3af12..6dd13de 100644
--- a/libraries/ecore/src/lib/ecore_evas/ecore_evas_x.c
+++ b/libraries/ecore/src/lib/ecore_evas/ecore_evas_x.c
@@ -20,6 +20,22 @@ static int leader_ref = 0;
20static Ecore_X_Window leader_win = 0; 20static Ecore_X_Window leader_win = 0;
21 21
22static void 22static void
23_ecore_evas_x_hints_update(Ecore_Evas *ee)
24{
25 ecore_x_icccm_hints_set
26 (ee->prop.window,
27 !ee->prop.focus_skip /* accepts_focus */,
28 ee->prop.iconified ? ECORE_X_WINDOW_STATE_HINT_ICONIC :
29 ee->prop.withdrawn ? ECORE_X_WINDOW_STATE_HINT_WITHDRAWN :
30 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
31 0 /* icon_pixmap */,
32 0 /* icon_mask */,
33 0 /* icon_window */,
34 ee->prop.group_ee_win /* window_group */,
35 ee->prop.urgent /* is_urgent */);
36}
37
38static void
23_ecore_evas_x_group_leader_set(Ecore_Evas *ee) 39_ecore_evas_x_group_leader_set(Ecore_Evas *ee)
24{ 40{
25 leader_ref++; 41 leader_ref++;
@@ -537,6 +553,7 @@ _ecore_evas_x_event_property_change(void *data __UNUSED__, int type __UNUSED__,
537{ 553{
538 Ecore_Evas *ee; 554 Ecore_Evas *ee;
539 Ecore_X_Event_Window_Property *e; 555 Ecore_X_Event_Window_Property *e;
556 int state_change = 0;
540 557
541 e = event; 558 e = event;
542 ee = ecore_event_window_match(e->win); 559 ee = ecore_event_window_match(e->win);
@@ -546,20 +563,62 @@ _ecore_evas_x_event_property_change(void *data __UNUSED__, int type __UNUSED__,
546 { 563 {
547 unsigned int i, num; 564 unsigned int i, num;
548 Ecore_X_Window_State *state; 565 Ecore_X_Window_State *state;
549 int sticky = 0; 566 struct {
550 567 struct {
551 /* TODO: we need to move those to the end, with if statements */ 568 unsigned char modal : 1;
552 ee->engine.x.state.modal = 0; 569 unsigned char sticky : 1;
553 ee->engine.x.state.maximized_v = 0; 570 unsigned char maximized_v : 1;
554 ee->engine.x.state.maximized_h = 0; 571 unsigned char maximized_h : 1;
555 ee->engine.x.state.shaded = 0; 572 unsigned char shaded : 1;
573 unsigned char skip_taskbar : 1;
574 unsigned char skip_pager : 1;
575 unsigned char fullscreen : 1;
576 unsigned char above : 1;
577 unsigned char below : 1;
578 } x;
579 struct {
580 char modal : 1;
581 char maximized : 1;
582 char sticky : 1;
583 char fullscreen : 1;
584 char focus_skip : 1;
585 } prop;
586 } prev;
587
588 prev.x.modal = ee->engine.x.state.modal;
589 prev.x.sticky = ee->engine.x.state.sticky;
590 prev.x.maximized_v = ee->engine.x.state.maximized_v;
591 prev.x.maximized_h = ee->engine.x.state.maximized_h;
592 prev.x.shaded = ee->engine.x.state.shaded;
593 prev.x.skip_taskbar = ee->engine.x.state.skip_taskbar;
594 prev.x.skip_pager = ee->engine.x.state.skip_pager;
595 prev.x.fullscreen = ee->engine.x.state.fullscreen;
596 prev.x.above = ee->engine.x.state.above;
597 prev.x.below = ee->engine.x.state.below;
598
599 prev.prop.modal = ee->prop.modal;
600 prev.prop.maximized = ee->prop.maximized;
601 prev.prop.sticky = ee->prop.sticky;
602 prev.prop.fullscreen = ee->prop.fullscreen;
603 prev.prop.focus_skip = ee->prop.focus_skip;
604
605 ee->engine.x.state.modal = 0;
606 ee->engine.x.state.sticky = 0;
607 ee->engine.x.state.maximized_v = 0;
608 ee->engine.x.state.maximized_h = 0;
609 ee->engine.x.state.shaded = 0;
556 ee->engine.x.state.skip_taskbar = 0; 610 ee->engine.x.state.skip_taskbar = 0;
557 ee->engine.x.state.skip_pager = 0; 611 ee->engine.x.state.skip_pager = 0;
612 ee->engine.x.state.fullscreen = 0;
613 ee->engine.x.state.above = 0;
614 ee->engine.x.state.below = 0;
615
616 ee->prop.modal = 0;
617 ee->prop.maximized = 0;
618 ee->prop.sticky = 0;
558 ee->prop.fullscreen = 0; 619 ee->prop.fullscreen = 0;
559 ee->engine.x.state.fullscreen = 0; 620 ee->prop.focus_skip = 0;
560 ee->engine.x.state.above = 0; 621
561 ee->engine.x.state.below = 0;
562
563 ecore_x_netwm_window_state_get(e->win, &state, &num); 622 ecore_x_netwm_window_state_get(e->win, &state, &num);
564 if (state) 623 if (state)
565 { 624 {
@@ -568,56 +627,106 @@ _ecore_evas_x_event_property_change(void *data __UNUSED__, int type __UNUSED__,
568 switch (state[i]) 627 switch (state[i])
569 { 628 {
570 case ECORE_X_WINDOW_STATE_MODAL: 629 case ECORE_X_WINDOW_STATE_MODAL:
571 ee->engine.x.state.modal = 1; 630 ee->engine.x.state.modal = 1;
572 break; 631 ee->prop.modal = 1;
632 break;
573 case ECORE_X_WINDOW_STATE_STICKY: 633 case ECORE_X_WINDOW_STATE_STICKY:
574 if (ee->prop.sticky && ee->engine.x.state.sticky) 634 ee->prop.sticky = 1;
575 break; 635 ee->engine.x.state.sticky = 1;
576 636 break;
577 sticky = 1;
578 ee->prop.sticky = 1;
579 ee->engine.x.state.sticky = 1;
580 if (ee->func.fn_sticky) ee->func.fn_sticky(ee);
581 break;
582 case ECORE_X_WINDOW_STATE_MAXIMIZED_VERT: 637 case ECORE_X_WINDOW_STATE_MAXIMIZED_VERT:
583 ee->engine.x.state.maximized_v = 1; 638 ee->engine.x.state.maximized_v = 1;
584 break; 639 ee->prop.maximized = 1;
640 break;
585 case ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ: 641 case ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ:
586 ee->engine.x.state.maximized_h = 1; 642 ee->engine.x.state.maximized_h = 1;
587 break; 643 ee->prop.maximized = 1;
644 break;
588 case ECORE_X_WINDOW_STATE_SHADED: 645 case ECORE_X_WINDOW_STATE_SHADED:
589 ee->engine.x.state.shaded = 1; 646 ee->engine.x.state.shaded = 1;
590 break; 647 break;
591 case ECORE_X_WINDOW_STATE_SKIP_TASKBAR: 648 case ECORE_X_WINDOW_STATE_SKIP_TASKBAR:
592 ee->engine.x.state.skip_taskbar = 1; 649 ee->engine.x.state.skip_taskbar = 1;
593 break; 650 ee->prop.focus_skip = 1;
651 break;
594 case ECORE_X_WINDOW_STATE_SKIP_PAGER: 652 case ECORE_X_WINDOW_STATE_SKIP_PAGER:
595 ee->engine.x.state.skip_pager = 1; 653 ee->engine.x.state.skip_pager = 1;
596 break; 654 ee->prop.focus_skip = 1;
655 break;
597 case ECORE_X_WINDOW_STATE_FULLSCREEN: 656 case ECORE_X_WINDOW_STATE_FULLSCREEN:
598 ee->prop.fullscreen = 1; 657 ee->prop.fullscreen = 1;
599 ee->engine.x.state.fullscreen = 1; 658 ee->engine.x.state.fullscreen = 1;
600 break; 659 break;
601 case ECORE_X_WINDOW_STATE_ABOVE: 660 case ECORE_X_WINDOW_STATE_ABOVE:
602 ee->engine.x.state.above = 1; 661 ee->engine.x.state.above = 1;
603 break; 662 break;
604 case ECORE_X_WINDOW_STATE_BELOW: 663 case ECORE_X_WINDOW_STATE_BELOW:
605 ee->engine.x.state.below = 1; 664 ee->engine.x.state.below = 1;
606 break; 665 break;
607 default: 666 default:
608 break; 667 break;
609 } 668 }
610 } 669 }
611 free(state); 670 free(state);
612 } 671 }
613 672 if (
614 if ((ee->prop.sticky) && (!sticky)) 673// (prev.x.modal != ee->engine.x.state.modal) ||
674 (prev.x.sticky != ee->engine.x.state.sticky) ||
675 (prev.x.maximized_v != ee->engine.x.state.maximized_v) ||
676 (prev.x.maximized_h != ee->engine.x.state.maximized_h) ||
677// (prev.x.shaded != ee->engine.x.state.shaded) ||
678// (prev.x.skip_taskbar != ee->engine.x.state.skip_taskbar) ||
679// (prev.x.skip_pager != ee->engine.x.state.skip_pager) ||
680 (prev.x.fullscreen != ee->engine.x.state.fullscreen) ||
681// (prev.x.above != ee->engine.x.state.above) ||
682// (prev.x.below != ee->engine.x.state.below) ||
683// (prev.prop.modal != ee->prop.modal) ||
684 (prev.prop.maximized != ee->prop.maximized) ||
685 (prev.prop.sticky != ee->prop.sticky) ||
686 (prev.prop.fullscreen != ee->prop.fullscreen) ||
687 (prev.prop.focus_skip != ee->prop.focus_skip))
688 state_change = 1;
689 }
690 else if (e->atom == ECORE_X_ATOM_WM_STATE)
691 {
692 Ecore_X_Window_State_Hint state;
693
694 // handle WM_STATE changes
695 state = ecore_x_icccm_state_get(e->win);
696 switch (state)
615 { 697 {
616 ee->prop.sticky = 0; 698 case ECORE_X_WINDOW_STATE_HINT_WITHDRAWN:
617 ee->engine.x.state.sticky = 0; 699 if ((!ee->prop.withdrawn) || (ee->prop.iconified))
618 if (ee->func.fn_unsticky) ee->func.fn_unsticky(ee); 700 {
701 state_change = 1;
702 ee->prop.withdrawn = 1;
703 ee->prop.iconified = 0;
704 }
705 break;
706 case ECORE_X_WINDOW_STATE_HINT_ICONIC:
707 if ((!ee->prop.iconified) || (ee->prop.withdrawn))
708 {
709 state_change = 1;
710 ee->prop.iconified = 1;
711 ee->prop.withdrawn = 0;
712 }
713 break;
714 case ECORE_X_WINDOW_STATE_HINT_NORMAL:
715 if ((ee->prop.iconified) || (ee->prop.withdrawn))
716 {
717 state_change = 1;
718 ee->prop.iconified = 0;
719 ee->prop.withdrawn = 0;
720 }
721 break;
722 default:
723 break;
619 } 724 }
620 } 725 }
726 if (state_change)
727 {
728 if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
729 }
621 730
622 return ECORE_CALLBACK_PASS_ON; 731 return ECORE_CALLBACK_PASS_ON;
623} 732}
@@ -826,7 +935,8 @@ _ecore_evas_x_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__,
826 ee = ecore_event_window_match(e->win); 935 ee = ecore_event_window_match(e->win);
827 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; /* pass on event */ 936 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; /* pass on event */
828 if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 937 if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
829 if (e->mode == ECORE_X_EVENT_MODE_UNGRAB) return ECORE_CALLBACK_PASS_ON; 938//xx// filtering with these doesnt help
939//xx// if (e->mode == ECORE_X_EVENT_MODE_UNGRAB) return ECORE_CALLBACK_PASS_ON;
830 ee->prop.focused = 1; 940 ee->prop.focused = 1;
831 evas_focus_in(ee->evas); 941 evas_focus_in(ee->evas);
832 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); 942 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee);
@@ -843,7 +953,9 @@ _ecore_evas_x_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__,
843 ee = ecore_event_window_match(e->win); 953 ee = ecore_event_window_match(e->win);
844 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; /* pass on event */ 954 if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; /* pass on event */
845 if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON; 955 if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
846 if (e->mode == ECORE_X_EVENT_MODE_GRAB) return ECORE_CALLBACK_PASS_ON; 956//xx// filtering with these doesnt help
957//xx// if (e->mode == ECORE_X_EVENT_MODE_GRAB) return ECORE_CALLBACK_PASS_ON;
958
847// if (ee->prop.fullscreen) 959// if (ee->prop.fullscreen)
848// ecore_x_window_focus(ee->prop.window); 960// ecore_x_window_focus(ee->prop.window);
849 evas_focus_out(ee->evas); 961 evas_focus_out(ee->evas);
@@ -1078,8 +1190,8 @@ _ecore_evas_x_size_pos_hints_update(Ecore_Evas *ee)
1078 ee->prop.base.h /* base_h */, 1190 ee->prop.base.h /* base_h */,
1079 ee->prop.step.w /* step_x */, 1191 ee->prop.step.w /* step_x */,
1080 ee->prop.step.h /* step_y */, 1192 ee->prop.step.h /* step_y */,
1081 0 /* min_aspect */, 1193 ee->prop.aspect /* min_aspect */,
1082 0 /* max_aspect */); 1194 ee->prop.aspect /* max_aspect */);
1083} 1195}
1084 1196
1085/* FIXME, should be in idler */ 1197/* FIXME, should be in idler */
@@ -1089,32 +1201,30 @@ _ecore_evas_x_state_update(Ecore_Evas *ee)
1089 Ecore_X_Window_State state[10]; 1201 Ecore_X_Window_State state[10];
1090 int num = 0; 1202 int num = 0;
1091 1203
1092 /* 1204 if (ee->prop.modal)
1093 if (bd->client.netwm.state.modal)
1094 state[num++] = ECORE_X_WINDOW_STATE_MODAL; 1205 state[num++] = ECORE_X_WINDOW_STATE_MODAL;
1095 */ 1206 if (ee->prop.sticky)
1096 if (ee->engine.x.state.sticky)
1097 state[num++] = ECORE_X_WINDOW_STATE_STICKY; 1207 state[num++] = ECORE_X_WINDOW_STATE_STICKY;
1098 /* 1208 if (ee->prop.maximized)
1099 if (bd->client.netwm.state.maximized_v)
1100 state[num++] = ECORE_X_WINDOW_STATE_MAXIMIZED_VERT; 1209 state[num++] = ECORE_X_WINDOW_STATE_MAXIMIZED_VERT;
1101 if (bd->client.netwm.state.maximized_h) 1210 if (ee->prop.maximized)
1102 state[num++] = ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ; 1211 state[num++] = ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ;
1103 if (bd->client.netwm.state.shaded) 1212// if (bd->client.netwm.state.shaded)
1104 state[num++] = ECORE_X_WINDOW_STATE_SHADED; 1213// state[num++] = ECORE_X_WINDOW_STATE_SHADED;
1105 if (bd->client.netwm.state.skip_taskbar) 1214 if (ee->prop.focus_skip)
1106 state[num++] = ECORE_X_WINDOW_STATE_SKIP_TASKBAR; 1215 state[num++] = ECORE_X_WINDOW_STATE_SKIP_TASKBAR;
1107 if (bd->client.netwm.state.skip_pager) 1216 if (ee->prop.focus_skip)
1108 state[num++] = ECORE_X_WINDOW_STATE_SKIP_PAGER; 1217 state[num++] = ECORE_X_WINDOW_STATE_SKIP_PAGER;
1109 if (bd->client.netwm.state.hidden) 1218// if (bd->client.netwm.state.hidden)
1110 state[num++] = ECORE_X_WINDOW_STATE_HIDDEN; 1219// state[num++] = ECORE_X_WINDOW_STATE_HIDDEN;
1111 */
1112 if (ee->engine.x.state.fullscreen) 1220 if (ee->engine.x.state.fullscreen)
1113 state[num++] = ECORE_X_WINDOW_STATE_FULLSCREEN; 1221 state[num++] = ECORE_X_WINDOW_STATE_FULLSCREEN;
1114 if (ee->engine.x.state.above) 1222 if (ee->engine.x.state.above)
1115 state[num++] = ECORE_X_WINDOW_STATE_ABOVE; 1223 state[num++] = ECORE_X_WINDOW_STATE_ABOVE;
1116 if (ee->engine.x.state.below) 1224 if (ee->engine.x.state.below)
1117 state[num++] = ECORE_X_WINDOW_STATE_BELOW; 1225 state[num++] = ECORE_X_WINDOW_STATE_BELOW;
1226 if (ee->prop.demand_attention)
1227 state[num++] = ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION;
1118 1228
1119 ecore_x_netwm_window_state_set(ee->prop.window, state, num); 1229 ecore_x_netwm_window_state_set(ee->prop.window, state, num);
1120} 1230}
@@ -1292,7 +1402,7 @@ _ecore_evas_x_free(Ecore_Evas *ee)
1292} 1402}
1293 1403
1294static void 1404static void
1295_ecore_evas_x_callback_delete_request_set(Ecore_Evas *ee, void (*func) (Ecore_Evas *ee)) 1405_ecore_evas_x_callback_delete_request_set(Ecore_Evas *ee, Ecore_Evas_Event_Cb func)
1296{ 1406{
1297 ee->func.fn_delete_request = func; 1407 ee->func.fn_delete_request = func;
1298 _ecore_evas_x_protocols_set(ee); 1408 _ecore_evas_x_protocols_set(ee);
@@ -1578,6 +1688,10 @@ _ecore_evas_x_rotation_set_internal(Ecore_Evas *ee, int rotation, int resize,
1578static void 1688static void
1579_ecore_evas_x_rotation_set(Ecore_Evas *ee, int rotation, int resize) 1689_ecore_evas_x_rotation_set(Ecore_Evas *ee, int rotation, int resize)
1580{ 1690{
1691 int angles[2];
1692 angles[0] = rotation;
1693 angles[1] = ee->rotation;
1694
1581 if (ee->rotation == rotation) return; 1695 if (ee->rotation == rotation) return;
1582 if (!strcmp(ee->driver, "opengl_x11")) 1696 if (!strcmp(ee->driver, "opengl_x11"))
1583 { 1697 {
@@ -1589,6 +1703,9 @@ _ecore_evas_x_rotation_set(Ecore_Evas *ee, int rotation, int resize)
1589 einfo->info.rotation = rotation; 1703 einfo->info.rotation = rotation;
1590 _ecore_evas_x_rotation_set_internal(ee, rotation, resize, 1704 _ecore_evas_x_rotation_set_internal(ee, rotation, resize,
1591 (Evas_Engine_Info *)einfo); 1705 (Evas_Engine_Info *)einfo);
1706 ecore_x_window_prop_property_set(ee->prop.window,
1707 ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE,
1708 ECORE_X_ATOM_CARDINAL, 32, &angles, 2);
1592#endif /* BUILD_ECORE_EVAS_OPENGL_X11 */ 1709#endif /* BUILD_ECORE_EVAS_OPENGL_X11 */
1593 } 1710 }
1594 else if (!strcmp(ee->driver, "software_x11")) 1711 else if (!strcmp(ee->driver, "software_x11"))
@@ -1601,6 +1718,9 @@ _ecore_evas_x_rotation_set(Ecore_Evas *ee, int rotation, int resize)
1601 einfo->info.rotation = rotation; 1718 einfo->info.rotation = rotation;
1602 _ecore_evas_x_rotation_set_internal(ee, rotation, resize, 1719 _ecore_evas_x_rotation_set_internal(ee, rotation, resize,
1603 (Evas_Engine_Info *)einfo); 1720 (Evas_Engine_Info *)einfo);
1721 ecore_x_window_prop_property_set(ee->prop.window,
1722 ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE,
1723 ECORE_X_ATOM_CARDINAL, 32, &angles, 2);
1604#endif /* BUILD_ECORE_EVAS_SOFTWARE_X11 */ 1724#endif /* BUILD_ECORE_EVAS_SOFTWARE_X11 */
1605 } 1725 }
1606 else if (!strcmp(ee->driver, "software_16_x11")) 1726 else if (!strcmp(ee->driver, "software_16_x11"))
@@ -1613,6 +1733,9 @@ _ecore_evas_x_rotation_set(Ecore_Evas *ee, int rotation, int resize)
1613 einfo->info.rotation = rotation; 1733 einfo->info.rotation = rotation;
1614 _ecore_evas_x_rotation_set_internal(ee, rotation, resize, 1734 _ecore_evas_x_rotation_set_internal(ee, rotation, resize,
1615 (Evas_Engine_Info *)einfo); 1735 (Evas_Engine_Info *)einfo);
1736 ecore_x_window_prop_property_set(ee->prop.window,
1737 ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE,
1738 ECORE_X_ATOM_CARDINAL, 32, &angles, 2);
1616#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_X11 */ 1739#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_X11 */
1617 } 1740 }
1618 else if (!strcmp(ee->driver, "software_8_x11")) 1741 else if (!strcmp(ee->driver, "software_8_x11"))
@@ -1625,6 +1748,9 @@ _ecore_evas_x_rotation_set(Ecore_Evas *ee, int rotation, int resize)
1625 einfo->info.rotation = rotation; 1748 einfo->info.rotation = rotation;
1626 _ecore_evas_x_rotation_set_internal(ee, rotation, resize, 1749 _ecore_evas_x_rotation_set_internal(ee, rotation, resize,
1627 (Evas_Engine_Info *)einfo); 1750 (Evas_Engine_Info *)einfo);
1751 ecore_x_window_prop_property_set(ee->prop.window,
1752 ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE,
1753 ECORE_X_ATOM_CARDINAL, 32, &angles, 2);
1628#endif /* BUILD_ECORE_EVAS_SOFTWARE_8_X11 */ 1754#endif /* BUILD_ECORE_EVAS_SOFTWARE_8_X11 */
1629 } 1755 }
1630} 1756}
@@ -1839,14 +1965,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
1839 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title); 1965 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title);
1840 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title); 1966 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title);
1841 } 1967 }
1842 ecore_x_icccm_hints_set(ee->prop.window, 1968 _ecore_evas_x_hints_update(ee);
1843 1 /* accepts_focus */,
1844 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
1845 0 /* icon_pixmap */,
1846 0 /* icon_mask */,
1847 0 /* icon_window */,
1848 0 /* window_group */,
1849 0 /* is_urgent */);
1850 _ecore_evas_x_group_leader_update(ee); 1969 _ecore_evas_x_group_leader_update(ee);
1851 ecore_x_window_defaults_set(ee->prop.window); 1970 ecore_x_window_defaults_set(ee->prop.window);
1852 _ecore_evas_x_protocols_set(ee); 1971 _ecore_evas_x_protocols_set(ee);
@@ -1962,14 +2081,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
1962 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title); 2081 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title);
1963 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title); 2082 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title);
1964 } 2083 }
1965 ecore_x_icccm_hints_set(ee->prop.window, 2084 _ecore_evas_x_hints_update(ee);
1966 1 /* accepts_focus */,
1967 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
1968 0 /* icon_pixmap */,
1969 0 /* icon_mask */,
1970 0 /* icon_window */,
1971 0 /* window_group */,
1972 0 /* is_urgent */);
1973 _ecore_evas_x_group_leader_update(ee); 2085 _ecore_evas_x_group_leader_update(ee);
1974 ecore_x_window_defaults_set(ee->prop.window); 2086 ecore_x_window_defaults_set(ee->prop.window);
1975 _ecore_evas_x_protocols_set(ee); 2087 _ecore_evas_x_protocols_set(ee);
@@ -2048,14 +2160,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
2048 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title); 2160 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title);
2049 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title); 2161 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title);
2050 } 2162 }
2051 ecore_x_icccm_hints_set(ee->prop.window, 2163 _ecore_evas_x_hints_update(ee);
2052 1 /* accepts_focus */,
2053 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
2054 0 /* icon_pixmap */,
2055 0 /* icon_mask */,
2056 0 /* icon_window */,
2057 0 /* window_group */,
2058 0 /* is_urgent */);
2059 _ecore_evas_x_group_leader_update(ee); 2164 _ecore_evas_x_group_leader_update(ee);
2060 ecore_x_window_defaults_set(ee->prop.window); 2165 ecore_x_window_defaults_set(ee->prop.window);
2061 _ecore_evas_x_protocols_set(ee); 2166 _ecore_evas_x_protocols_set(ee);
@@ -2134,14 +2239,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
2134 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title); 2239 ecore_x_icccm_title_set(ee->prop.window, ee->prop.title);
2135 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title); 2240 ecore_x_netwm_name_set(ee->prop.window, ee->prop.title);
2136 } 2241 }
2137 ecore_x_icccm_hints_set(ee->prop.window, 2242 _ecore_evas_x_hints_update(ee);
2138 1 /* accepts_focus */,
2139 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
2140 0 /* icon_pixmap */,
2141 0 /* icon_mask */,
2142 0 /* icon_window */,
2143 0 /* window_group */,
2144 0 /* is_urgent */);
2145 _ecore_evas_x_group_leader_update(ee); 2243 _ecore_evas_x_group_leader_update(ee);
2146 ecore_x_window_defaults_set(ee->prop.window); 2244 ecore_x_window_defaults_set(ee->prop.window);
2147 _ecore_evas_x_protocols_set(ee); 2245 _ecore_evas_x_protocols_set(ee);
@@ -2182,6 +2280,88 @@ _ecore_evas_x_transparent_set(Ecore_Evas *ee, int transparent)
2182#endif 2280#endif
2183 } 2281 }
2184} 2282}
2283
2284static void
2285_ecore_evas_x_window_group_set(Ecore_Evas *ee, const Ecore_Evas *group_ee)
2286{
2287 if (ee->prop.group_ee == group_ee) return;
2288
2289 ee->prop.group_ee = (Ecore_Evas *)group_ee;
2290 if (ee->prop.group_ee)
2291 ee->prop.group_ee_win = group_ee->prop.window;
2292 else
2293 ee->prop.group_ee_win = 0;
2294 _ecore_evas_x_hints_update(ee);
2295}
2296
2297static void
2298_ecore_evas_x_aspect_set(Ecore_Evas *ee, double aspect)
2299{
2300 if (ee->prop.aspect == aspect) return;
2301
2302 ee->prop.aspect = aspect;
2303 _ecore_evas_x_size_pos_hints_update(ee);
2304// netwm state
2305// if (ee->should_be_visible)
2306// ecore_x_netwm_state_request_send(ee->prop.window, ee->engine.x.win_root,
2307// ECORE_X_WINDOW_STATE_STICKY, -1, sticky);
2308// else
2309// _ecore_evas_x_state_update(ee);
2310}
2311
2312static void
2313_ecore_evas_x_urgent_set(Ecore_Evas *ee, int urgent)
2314{
2315 if (ee->prop.urgent == urgent) return;
2316
2317 ee->prop.urgent = urgent;
2318 _ecore_evas_x_hints_update(ee);
2319}
2320
2321static void
2322_ecore_evas_x_modal_set(Ecore_Evas *ee, int modal)
2323{
2324 if (ee->prop.modal == modal) return;
2325
2326 ee->prop.modal = modal;
2327 if (ee->should_be_visible)
2328 ecore_x_netwm_state_request_send(ee->prop.window, ee->engine.x.win_root,
2329 ECORE_X_WINDOW_STATE_MODAL, -1, modal);
2330 else
2331 _ecore_evas_x_state_update(ee);
2332}
2333
2334static void
2335_ecore_evas_x_demand_attention_set(Ecore_Evas *ee, int demand)
2336{
2337 if (ee->prop.demand_attention == demand) return;
2338
2339 ee->prop.demand_attention = demand;
2340 if (ee->should_be_visible)
2341 ecore_x_netwm_state_request_send(ee->prop.window, ee->engine.x.win_root,
2342 ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION, -1, demand);
2343 else
2344 _ecore_evas_x_state_update(ee);
2345}
2346
2347static void
2348_ecore_evas_x_focus_skip_set(Ecore_Evas *ee, int skip)
2349{
2350 if (ee->prop.focus_skip == skip) return;
2351
2352 ee->prop.focus_skip = skip;
2353 if (ee->should_be_visible)
2354 {
2355 ecore_x_netwm_state_request_send(ee->prop.window, ee->engine.x.win_root,
2356 ECORE_X_WINDOW_STATE_SKIP_TASKBAR, -1, skip);
2357 ecore_x_netwm_state_request_send(ee->prop.window, ee->engine.x.win_root,
2358 ECORE_X_WINDOW_STATE_SKIP_PAGER, -1, skip);
2359 }
2360 else
2361 _ecore_evas_x_state_update(ee);
2362 _ecore_evas_x_hints_update(ee);
2363}
2364
2185#endif /* BUILD_ECORE_EVAS_X11 */ 2365#endif /* BUILD_ECORE_EVAS_X11 */
2186 2366
2187#ifdef BUILD_ECORE_EVAS_X11 2367#ifdef BUILD_ECORE_EVAS_X11
@@ -2369,30 +2549,11 @@ _ecore_evas_x_iconified_set(Ecore_Evas *ee, int on)
2369{ 2549{
2370 if (ee->prop.iconified == on) return; 2550 if (ee->prop.iconified == on) return;
2371 ee->prop.iconified = on; 2551 ee->prop.iconified = on;
2552 _ecore_evas_x_hints_update(ee);
2372 if (on) 2553 if (on)
2373 { 2554 ecore_x_icccm_iconic_request_send(ee->prop.window, ee->engine.x.win_root);
2374 ecore_x_icccm_hints_set(ee->prop.window,
2375 1 /* accepts_focus */,
2376 ECORE_X_WINDOW_STATE_HINT_ICONIC /* initial_state */,
2377 0 /* icon_pixmap */,
2378 0 /* icon_mask */,
2379 0 /* icon_window */,
2380 0 /* window_group */,
2381 0 /* is_urgent */);
2382 ecore_x_icccm_iconic_request_send(ee->prop.window, ee->engine.x.win_root);
2383 }
2384 else 2555 else
2385 { 2556 ecore_evas_show(ee);
2386 ecore_x_icccm_hints_set(ee->prop.window,
2387 1 /* accepts_focus */,
2388 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
2389 0 /* icon_pixmap */,
2390 0 /* icon_mask */,
2391 0 /* icon_window */,
2392 0 /* window_group */,
2393 0 /* is_urgent */);
2394 ecore_evas_show(ee);
2395 }
2396} 2557}
2397 2558
2398static void 2559static void
@@ -2408,24 +2569,9 @@ _ecore_evas_x_borderless_set(Ecore_Evas *ee, int on)
2408static void 2569static void
2409_ecore_evas_x_withdrawn_set(Ecore_Evas *ee, int withdrawn) 2570_ecore_evas_x_withdrawn_set(Ecore_Evas *ee, int withdrawn)
2410{ 2571{
2411 Ecore_X_Window_State_Hint hint;
2412
2413 if (ee->prop.withdrawn == withdrawn) return; 2572 if (ee->prop.withdrawn == withdrawn) return;
2414
2415 ee->prop.withdrawn = withdrawn; 2573 ee->prop.withdrawn = withdrawn;
2416 if (withdrawn) 2574 _ecore_evas_x_hints_update(ee);
2417 hint = ECORE_X_WINDOW_STATE_HINT_WITHDRAWN;
2418 else
2419 hint = ECORE_X_WINDOW_STATE_HINT_NORMAL;
2420
2421 ecore_x_icccm_hints_set(ee->prop.window,
2422 1 /* accepts_focus */,
2423 hint /* initial_state */,
2424 0 /* icon_pixmap */,
2425 0 /* icon_mask */,
2426 0 /* icon_window */,
2427 0 /* window_group */,
2428 0 /* is_urgent */);
2429} 2575}
2430 2576
2431static void 2577static void
@@ -2762,6 +2908,13 @@ static Ecore_Evas_Engine_Func _ecore_x_engine_func =
2762 _ecore_evas_x_ignore_events_set, 2908 _ecore_evas_x_ignore_events_set,
2763 _ecore_evas_x_alpha_set, 2909 _ecore_evas_x_alpha_set,
2764 _ecore_evas_x_transparent_set, 2910 _ecore_evas_x_transparent_set,
2911
2912 _ecore_evas_x_window_group_set,
2913 _ecore_evas_x_aspect_set,
2914 _ecore_evas_x_urgent_set,
2915 _ecore_evas_x_modal_set,
2916 _ecore_evas_x_demand_attention_set,
2917 _ecore_evas_x_focus_skip_set,
2765 2918
2766 NULL, // render 2919 NULL, // render
2767 _ecore_evas_x_screen_geometry_get 2920 _ecore_evas_x_screen_geometry_get
@@ -3003,14 +3156,7 @@ ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent,
3003 } 3156 }
3004 } 3157 }
3005 3158
3006 ecore_x_icccm_hints_set(ee->prop.window, 3159 _ecore_evas_x_hints_update(ee);
3007 1 /* accepts_focus */,
3008 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
3009 0 /* icon_pixmap */,
3010 0 /* icon_mask */,
3011 0 /* icon_window */,
3012 0 /* window_group */,
3013 0 /* is_urgent */);
3014 _ecore_evas_x_group_leader_set(ee); 3160 _ecore_evas_x_group_leader_set(ee);
3015 ecore_x_window_defaults_set(ee->prop.window); 3161 ecore_x_window_defaults_set(ee->prop.window);
3016 _ecore_evas_x_protocols_set(ee); 3162 _ecore_evas_x_protocols_set(ee);
@@ -3240,14 +3386,7 @@ ecore_evas_gl_x11_options_new(const char *disp_name, Ecore_X_Window parent,
3240// putenv((char*)"DESKTOP_STARTUP_ID="); 3386// putenv((char*)"DESKTOP_STARTUP_ID=");
3241 } 3387 }
3242 3388
3243 ecore_x_icccm_hints_set(ee->prop.window, 3389 _ecore_evas_x_hints_update(ee);
3244 1 /* accepts_focus */,
3245 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
3246 0 /* icon_pixmap */,
3247 0 /* icon_mask */,
3248 0 /* icon_window */,
3249 0 /* window_group */,
3250 0 /* is_urgent */);
3251 _ecore_evas_x_group_leader_set(ee); 3390 _ecore_evas_x_group_leader_set(ee);
3252 ecore_x_window_defaults_set(ee->prop.window); 3391 ecore_x_window_defaults_set(ee->prop.window);
3253 _ecore_evas_x_protocols_set(ee); 3392 _ecore_evas_x_protocols_set(ee);
@@ -3571,14 +3710,7 @@ ecore_evas_software_x11_16_new(const char *disp_name, Ecore_X_Window parent,
3571 return NULL; 3710 return NULL;
3572 } 3711 }
3573 3712
3574 ecore_x_icccm_hints_set(ee->prop.window, 3713 _ecore_evas_x_hints_update(ee);
3575 1 /* accepts_focus */,
3576 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
3577 0 /* icon_pixmap */,
3578 0 /* icon_mask */,
3579 0 /* icon_window */,
3580 0 /* window_group */,
3581 0 /* is_urgent */);
3582 _ecore_evas_x_group_leader_set(ee); 3714 _ecore_evas_x_group_leader_set(ee);
3583 ecore_x_window_defaults_set(ee->prop.window); 3715 ecore_x_window_defaults_set(ee->prop.window);
3584 _ecore_evas_x_protocols_set(ee); 3716 _ecore_evas_x_protocols_set(ee);
@@ -3895,14 +4027,7 @@ ecore_evas_software_x11_8_new(const char *disp_name, Ecore_X_Window parent,
3895 return NULL; 4027 return NULL;
3896 } 4028 }
3897 4029
3898 ecore_x_icccm_hints_set(ee->prop.window, 4030 _ecore_evas_x_hints_update(ee);
3899 1 /* accepts_focus */,
3900 ECORE_X_WINDOW_STATE_HINT_NORMAL /* initial_state */,
3901 0 /* icon_pixmap */,
3902 0 /* icon_mask */,
3903 0 /* icon_window */,
3904 0 /* window_group */,
3905 0 /* is_urgent */);
3906 _ecore_evas_x_group_leader_set(ee); 4031 _ecore_evas_x_group_leader_set(ee);
3907 ecore_x_window_defaults_set(ee->prop.window); 4032 ecore_x_window_defaults_set(ee->prop.window);
3908 _ecore_evas_x_protocols_set(ee); 4033 _ecore_evas_x_protocols_set(ee);
diff --git a/libraries/ecore/src/lib/ecore_fb/Makefile.in b/libraries/ecore/src/lib/ecore_fb/Makefile.in
index c0c30a5..e8030b1 100644
--- a/libraries/ecore/src/lib/ecore_fb/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_fb/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -194,6 +193,8 @@ EVAS_LIBS = @EVAS_LIBS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 193EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 194EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 195EXEEXT = @EXEEXT@
196EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
197EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 198FGREP = @FGREP@
198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 199GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
199GLIB_CFLAGS = @GLIB_CFLAGS@ 200GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -249,6 +250,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 250PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
250PIXMAN_LIBS = @PIXMAN_LIBS@ 251PIXMAN_LIBS = @PIXMAN_LIBS@
251PKG_CONFIG = @PKG_CONFIG@ 252PKG_CONFIG = @PKG_CONFIG@
253PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
254PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
252POSUB = @POSUB@ 255POSUB = @POSUB@
253RANLIB = @RANLIB@ 256RANLIB = @RANLIB@
254SCIM_CFLAGS = @SCIM_CFLAGS@ 257SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -259,6 +262,7 @@ SDL_LIBS = @SDL_LIBS@
259SED = @SED@ 262SED = @SED@
260SET_MAKE = @SET_MAKE@ 263SET_MAKE = @SET_MAKE@
261SHELL = @SHELL@ 264SHELL = @SHELL@
265SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
262SSL_CFLAGS = @SSL_CFLAGS@ 266SSL_CFLAGS = @SSL_CFLAGS@
263SSL_LIBS = @SSL_LIBS@ 267SSL_LIBS = @SSL_LIBS@
264STRIP = @STRIP@ 268STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_fb/ecore_fb.c b/libraries/ecore/src/lib/ecore_fb/ecore_fb.c
index ca7d73d..daeea0f 100644
--- a/libraries/ecore/src/lib/ecore_fb/ecore_fb.c
+++ b/libraries/ecore/src/lib/ecore_fb/ecore_fb.c
@@ -92,21 +92,18 @@ _ecore_fb_size_get(int *w, int *h)
92 92
93 fb = open("/dev/fb0", O_RDWR); 93 fb = open("/dev/fb0", O_RDWR);
94 if (fb < 0) 94 if (fb < 0)
95 { 95 goto exit;
96 if (w) *w = 0; 96
97 if (h) *h = 0;
98 return;
99 }
100 if (ioctl(fb, FBIOGET_VSCREENINFO, &fb_var) == -1) 97 if (ioctl(fb, FBIOGET_VSCREENINFO, &fb_var) == -1)
101 { 98 goto err_ioctl;
102 if (w) *w = 0; 99
103 if (h) *h = 0; 100 *w = fb_var.xres;
104 close(fb); 101 *h = fb_var.yres;
105 return; 102
106 } 103err_ioctl:
107 close(fb); 104 close(fb);
108 if (w) *w = fb_var.xres; 105exit:
109 if (h) *h = fb_var.yres; 106 return;
110} 107}
111 108
112/** 109/**
diff --git a/libraries/ecore/src/lib/ecore_file/Makefile.in b/libraries/ecore/src/lib/ecore_file/Makefile.in
index 04e0bf1..a80ece3 100644
--- a/libraries/ecore/src/lib/ecore_file/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_file/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -195,6 +194,8 @@ EVAS_LIBS = @EVAS_LIBS@
195EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
196EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
197EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
198FGREP = @FGREP@ 199FGREP = @FGREP@
199GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 200GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
200GLIB_CFLAGS = @GLIB_CFLAGS@ 201GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -250,6 +251,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
250PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 251PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
251PIXMAN_LIBS = @PIXMAN_LIBS@ 252PIXMAN_LIBS = @PIXMAN_LIBS@
252PKG_CONFIG = @PKG_CONFIG@ 253PKG_CONFIG = @PKG_CONFIG@
254PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
255PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
253POSUB = @POSUB@ 256POSUB = @POSUB@
254RANLIB = @RANLIB@ 257RANLIB = @RANLIB@
255SCIM_CFLAGS = @SCIM_CFLAGS@ 258SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -260,6 +263,7 @@ SDL_LIBS = @SDL_LIBS@
260SED = @SED@ 263SED = @SED@
261SET_MAKE = @SET_MAKE@ 264SET_MAKE = @SET_MAKE@
262SHELL = @SHELL@ 265SHELL = @SHELL@
266SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
263SSL_CFLAGS = @SSL_CFLAGS@ 267SSL_CFLAGS = @SSL_CFLAGS@
264SSL_LIBS = @SSL_LIBS@ 268SSL_LIBS = @SSL_LIBS@
265STRIP = @STRIP@ 269STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_file/ecore_file.c b/libraries/ecore/src/lib/ecore_file/ecore_file.c
index cfbf2b5..cb03717 100644
--- a/libraries/ecore/src/lib/ecore_file/ecore_file.c
+++ b/libraries/ecore/src/lib/ecore_file/ecore_file.c
@@ -821,6 +821,8 @@ ecore_file_ls(const char *dir)
821 Eina_List *list = NULL; 821 Eina_List *list = NULL;
822 822
823 ls = eina_file_direct_ls(dir); 823 ls = eina_file_direct_ls(dir);
824 if (!ls) return NULL;
825
824 EINA_ITERATOR_FOREACH(ls, info) 826 EINA_ITERATOR_FOREACH(ls, info)
825 { 827 {
826 char *f; 828 char *f;
diff --git a/libraries/ecore/src/lib/ecore_file/ecore_file_download.c b/libraries/ecore/src/lib/ecore_file/ecore_file_download.c
index c5e56bd..971493e 100644
--- a/libraries/ecore/src/lib/ecore_file/ecore_file_download.c
+++ b/libraries/ecore/src/lib/ecore_file/ecore_file_download.c
@@ -45,22 +45,27 @@ static Ecore_Event_Handler *_url_complete_handler = NULL;
45static Ecore_Event_Handler *_url_progress_download = NULL; 45static Ecore_Event_Handler *_url_progress_download = NULL;
46static Eina_List *_job_list; 46static Eina_List *_job_list;
47 47
48static int download_init = 0;
49
48#endif /* BUILD_ECORE_CON */ 50#endif /* BUILD_ECORE_CON */
49 51
50int 52int
51ecore_file_download_init(void) 53ecore_file_download_init(void)
52{ 54{
53#ifdef BUILD_ECORE_CON 55#ifdef BUILD_ECORE_CON
54 if (!ecore_con_url_init()) 56 download_init++;
55 return 0; 57 if (download_init > 1) return 1;
56 58 if (!ecore_con_init()) return 0;
59 if (!ecore_con_url_init())
60 {
61 ecore_con_shutdown();
62 return 0;
63 }
57# ifdef HAVE_CURL 64# ifdef HAVE_CURL
58 _url_complete_handler = ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE, _ecore_file_download_url_complete_cb, NULL); 65 _url_complete_handler = ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE, _ecore_file_download_url_complete_cb, NULL);
59 _url_progress_download = ecore_event_handler_add(ECORE_CON_EVENT_URL_PROGRESS, _ecore_file_download_url_progress_cb, NULL); 66 _url_progress_download = ecore_event_handler_add(ECORE_CON_EVENT_URL_PROGRESS, _ecore_file_download_url_progress_cb, NULL);
60# endif 67# endif
61
62#endif /* BUILD_ECORE_CON */ 68#endif /* BUILD_ECORE_CON */
63
64 return 1; 69 return 1;
65} 70}
66 71
@@ -68,15 +73,17 @@ void
68ecore_file_download_shutdown(void) 73ecore_file_download_shutdown(void)
69{ 74{
70#ifdef BUILD_ECORE_CON 75#ifdef BUILD_ECORE_CON
71 if (_url_complete_handler) 76 download_init--;
72 ecore_event_handler_del(_url_complete_handler); 77 if (download_init > 0) return;
73 if (_url_progress_download) 78 if (_url_complete_handler)
74 ecore_event_handler_del(_url_progress_download); 79 ecore_event_handler_del(_url_complete_handler);
75 _url_complete_handler = NULL; 80 if (_url_progress_download)
76 _url_progress_download = NULL; 81 ecore_event_handler_del(_url_progress_download);
77 ecore_file_download_abort_all(); 82 _url_complete_handler = NULL;
78 83 _url_progress_download = NULL;
79 ecore_con_url_shutdown(); 84 ecore_file_download_abort_all();
85 ecore_con_url_shutdown();
86 ecore_con_shutdown();
80#endif /* BUILD_ECORE_CON */ 87#endif /* BUILD_ECORE_CON */
81} 88}
82 89
@@ -362,7 +369,6 @@ _ecore_file_download_curl(const char *url, const char *dst,
362 } 369 }
363 370
364 if (headers) eina_hash_foreach(headers, _ecore_file_download_headers_foreach_cb, job); 371 if (headers) eina_hash_foreach(headers, _ecore_file_download_headers_foreach_cb, job);
365 ecore_con_url_timeout_set(job->url_con, ECORE_FILE_DOWNLOAD_TIMEOUT);
366 ecore_con_url_fd_set(job->url_con, fileno(job->file)); 372 ecore_con_url_fd_set(job->url_con, fileno(job->file));
367 ecore_con_url_data_set(job->url_con, data); 373 ecore_con_url_data_set(job->url_con, data);
368 374
diff --git a/libraries/ecore/src/lib/ecore_imf/Ecore_IMF.h b/libraries/ecore/src/lib/ecore_imf/Ecore_IMF.h
index adea35d..1757d79 100644
--- a/libraries/ecore/src/lib/ecore_imf/Ecore_IMF.h
+++ b/libraries/ecore/src/lib/ecore_imf/Ecore_IMF.h
@@ -33,6 +33,12 @@
33extern "C" { 33extern "C" {
34#endif 34#endif
35 35
36/**
37 * @addtogroup Ecore_IMF_Context_Group
38 *
39 * @{
40 */
41
36/* Events sent by the Input Method */ 42/* Events sent by the Input Method */
37typedef struct _Ecore_IMF_Event_Preedit_Start Ecore_IMF_Event_Preedit_Start; 43typedef struct _Ecore_IMF_Event_Preedit_Start Ecore_IMF_Event_Preedit_Start;
38typedef struct _Ecore_IMF_Event_Preedit_End Ecore_IMF_Event_Preedit_End; 44typedef struct _Ecore_IMF_Event_Preedit_End Ecore_IMF_Event_Preedit_End;
@@ -66,25 +72,41 @@ EAPI extern int ECORE_IMF_EVENT_DELETE_SURROUNDING;
66 72
67typedef void (*Ecore_IMF_Event_Cb) (void *data, Ecore_IMF_Context *ctx, void *event_info); 73typedef void (*Ecore_IMF_Event_Cb) (void *data, Ecore_IMF_Context *ctx, void *event_info);
68 74
75/**
76 * @enum _Ecore_IMF_Callback_Type
77 * @typedef Ecore_IMF_Callback_Type
78 *
79 * Ecore IMF Event callback types.
80 *
81 * @see ecore_imf_context_event_callback_add()
82 */
69typedef enum 83typedef enum
70{ 84{
71 ECORE_IMF_CALLBACK_PREEDIT_START, 85 ECORE_IMF_CALLBACK_PREEDIT_START, /**< "PREEDIT_START" is called when a new preediting sequence starts. */
72 ECORE_IMF_CALLBACK_PREEDIT_END, 86 ECORE_IMF_CALLBACK_PREEDIT_END, /**< "PREEDIT_END" is called when a preediting sequence has been completed or canceled. */
73 ECORE_IMF_CALLBACK_PREEDIT_CHANGED, 87 ECORE_IMF_CALLBACK_PREEDIT_CHANGED, /**< "PREEDIT_CHANGED" is called whenever the preedit sequence currently being entered has changed. */
74 ECORE_IMF_CALLBACK_COMMIT, 88 ECORE_IMF_CALLBACK_COMMIT, /**< "COMMIT" is called when a complete input sequence has been entered by the user */
75 ECORE_IMF_CALLBACK_DELETE_SURROUNDING 89 ECORE_IMF_CALLBACK_DELETE_SURROUNDING /**< "DELETE_SURROUNDING" is called when the input method needs to delete all or part of the context surrounding the cursor */
76} Ecore_IMF_Callback_Type; 90} Ecore_IMF_Callback_Type;
77 91
92/**
93 * @enum _Ecore_IMF_Event_Type
94 * @typedef Ecore_IMF_Event_Type
95 *
96 * Ecore IMF event types.
97 *
98 * @see ecore_imf_context_filter_event()
99 */
78typedef enum 100typedef enum
79{ 101{
80 ECORE_IMF_EVENT_MOUSE_DOWN, 102 ECORE_IMF_EVENT_MOUSE_DOWN, /**< Mouse Down event */
81 ECORE_IMF_EVENT_MOUSE_UP, 103 ECORE_IMF_EVENT_MOUSE_UP, /**< Mouse Up event */
82 ECORE_IMF_EVENT_MOUSE_IN, 104 ECORE_IMF_EVENT_MOUSE_IN, /**< Mouse In event */
83 ECORE_IMF_EVENT_MOUSE_OUT, 105 ECORE_IMF_EVENT_MOUSE_OUT, /**< Mouse Out event */
84 ECORE_IMF_EVENT_MOUSE_MOVE, 106 ECORE_IMF_EVENT_MOUSE_MOVE, /**< Mouse Move event */
85 ECORE_IMF_EVENT_MOUSE_WHEEL, 107 ECORE_IMF_EVENT_MOUSE_WHEEL, /**< Mouse Wheel event */
86 ECORE_IMF_EVENT_KEY_DOWN, 108 ECORE_IMF_EVENT_KEY_DOWN, /**< Key Down event */
87 ECORE_IMF_EVENT_KEY_UP 109 ECORE_IMF_EVENT_KEY_UP /**< Key Up event */
88} Ecore_IMF_Event_Type; 110} Ecore_IMF_Event_Type;
89 111
90typedef enum 112typedef enum
@@ -123,22 +145,46 @@ typedef enum
123 ECORE_IMF_INPUT_MODE_AUTOCAP = 1 << 30 145 ECORE_IMF_INPUT_MODE_AUTOCAP = 1 << 30
124} Ecore_IMF_Input_Mode; 146} Ecore_IMF_Input_Mode;
125 147
148/**
149 * @enum _Ecore_IMF_Preedit_Type
150 * @typedef Ecore_IMF_Preedit_Type
151 *
152 * Ecore IMF Preedit style types
153 *
154 * @see ecore_imf_context_preedit_string_with_attributes_get()
155 */
126typedef enum 156typedef enum
127{ 157{
128 ECORE_IMF_PREEDIT_TYPE_NONE, 158 ECORE_IMF_PREEDIT_TYPE_NONE, /**< None style */
129 ECORE_IMF_PREEDIT_TYPE_SUB1, 159 ECORE_IMF_PREEDIT_TYPE_SUB1, /**< Substring style 1 */
130 ECORE_IMF_PREEDIT_TYPE_SUB2, 160 ECORE_IMF_PREEDIT_TYPE_SUB2, /**< Substring style 2 */
131 ECORE_IMF_PREEDIT_TYPE_SUB3 161 ECORE_IMF_PREEDIT_TYPE_SUB3 /**< Substring style 3 */
132} Ecore_IMF_Preedit_Type; 162} Ecore_IMF_Preedit_Type;
133 163
164/**
165 * @enum _Ecore_IMF_Autocapital_Type
166 * @typedef Ecore_IMF_Autocapital_Type
167 *
168 * Autocapitalization Types.
169 *
170 * @see ecore_imf_context_autocapital_type_set()
171 */
134typedef enum 172typedef enum
135{ 173{
136 ECORE_IMF_AUTOCAPITAL_TYPE_NONE, 174 ECORE_IMF_AUTOCAPITAL_TYPE_NONE, /**< No auto-capitalization when typing */
137 ECORE_IMF_AUTOCAPITAL_TYPE_WORD, 175 ECORE_IMF_AUTOCAPITAL_TYPE_WORD, /**< Autocapitalize each word typed */
138 ECORE_IMF_AUTOCAPITAL_TYPE_SENTENCE, 176 ECORE_IMF_AUTOCAPITAL_TYPE_SENTENCE, /**< Autocapitalize the start of each sentence */
139 ECORE_IMF_AUTOCAPITAL_TYPE_ALLCHARACTER 177 ECORE_IMF_AUTOCAPITAL_TYPE_ALLCHARACTER, /**< Autocapitalize all letters */
140} Ecore_IMF_Autocapital_Type; 178} Ecore_IMF_Autocapital_Type;
141 179
180/**
181 * @enum _Ecore_IMF_Input_Panel_Layout
182 * @typedef Ecore_IMF_Input_Panel_Layout
183 *
184 * Input panel (virtual keyboard) layout types.
185 *
186 * @see ecore_imf_context_input_panel_layout_set()
187 */
142typedef enum 188typedef enum
143{ 189{
144 ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL, /**< Default layout */ 190 ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL, /**< Default layout */
@@ -155,12 +201,40 @@ typedef enum
155 ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, no auto-capitalization etc. @since 1.2 */ 201 ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, no auto-capitalization etc. @since 1.2 */
156} Ecore_IMF_Input_Panel_Layout; 202} Ecore_IMF_Input_Panel_Layout;
157 203
204/**
205 * @enum _Ecore_IMF_Input_Panel_Lang
206 * @typedef Ecore_IMF_Input_Panel_Lang
207 *
208 * Input panel (virtual keyboard) language modes.
209 *
210 * @see ecore_imf_context_input_panel_language_set()
211 */
158typedef enum 212typedef enum
159{ 213{
160 ECORE_IMF_INPUT_PANEL_LANG_AUTOMATIC, /**< Automatic */ 214 ECORE_IMF_INPUT_PANEL_LANG_AUTOMATIC, /**< Automatic @since 1.2 */
161 ECORE_IMF_INPUT_PANEL_LANG_ALPHABET /**< Alphabet */ 215 ECORE_IMF_INPUT_PANEL_LANG_ALPHABET /**< Alphabet @since 1.2 */
162} Ecore_IMF_Input_Panel_Lang; 216} Ecore_IMF_Input_Panel_Lang;
163 217
218/**
219 * @enum _Ecore_IMF_Input_Panel_Return_Key_Type
220 * @typedef Ecore_IMF_Input_Panel_Return_Key_Type
221 *
222 * "Return" Key types on the input panel (virtual keyboard).
223 *
224 * @see ecore_imf_context_input_panel_return_key_type_set()
225 */
226typedef enum
227{
228 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT, /**< Default @since 1.2 */
229 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_DONE, /**< Done @since 1.2 */
230 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_GO, /**< Go @since 1.2 */
231 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_JOIN, /**< Join @since 1.2 */
232 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN, /**< Login @since 1.2 */
233 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_NEXT, /**< Next @since 1.2 */
234 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH, /**< Search or magnifier icon @since 1.2 */
235 ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_SEND /**< Send @since 1.2 */
236} Ecore_IMF_Input_Panel_Return_Key_Type;
237
164struct _Ecore_IMF_Event_Preedit_Start 238struct _Ecore_IMF_Event_Preedit_Start
165{ 239{
166 Ecore_IMF_Context *ctx; 240 Ecore_IMF_Context *ctx;
@@ -314,9 +388,9 @@ union _Ecore_IMF_Event
314 388
315struct _Ecore_IMF_Preedit_Attr 389struct _Ecore_IMF_Preedit_Attr
316{ 390{
317 Ecore_IMF_Preedit_Type preedit_type; 391 Ecore_IMF_Preedit_Type preedit_type; /**< preedit style type */
318 unsigned int start_index; 392 unsigned int start_index; /**< start index of the range (in bytes) */
319 unsigned int end_index; 393 unsigned int end_index; /**< end index of the range (in bytes) */
320}; 394};
321 395
322struct _Ecore_IMF_Context_Class 396struct _Ecore_IMF_Context_Class
@@ -345,6 +419,11 @@ struct _Ecore_IMF_Context_Class
345 void (*input_panel_language_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Lang lang); 419 void (*input_panel_language_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Lang lang);
346 Ecore_IMF_Input_Panel_Lang (*input_panel_language_get) (Ecore_IMF_Context *ctx); 420 Ecore_IMF_Input_Panel_Lang (*input_panel_language_get) (Ecore_IMF_Context *ctx);
347 void (*cursor_location_set) (Ecore_IMF_Context *ctx, int x, int y, int w, int h); 421 void (*cursor_location_set) (Ecore_IMF_Context *ctx, int x, int y, int w, int h);
422 void (*input_panel_imdata_set)(Ecore_IMF_Context *ctx, const void* data, int len);
423 void (*input_panel_imdata_get)(Ecore_IMF_Context *ctx, void* data, int *len);
424 void (*input_panel_return_key_type_set) (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Return_Key_Type return_key_type);
425 void (*input_panel_return_key_disabled_set) (Ecore_IMF_Context *ctx, Eina_Bool disabled);
426 void (*input_panel_caps_lock_mode_set) (Ecore_IMF_Context *ctx, Eina_Bool mode);
348}; 427};
349 428
350struct _Ecore_IMF_Context_Info 429struct _Ecore_IMF_Context_Info
@@ -418,6 +497,14 @@ EAPI void ecore_imf_context_input_panel_language_set(Ec
418EAPI Ecore_IMF_Input_Panel_Lang ecore_imf_context_input_panel_language_get(Ecore_IMF_Context *ctx); 497EAPI Ecore_IMF_Input_Panel_Lang ecore_imf_context_input_panel_language_get(Ecore_IMF_Context *ctx);
419EAPI void ecore_imf_context_input_panel_enabled_set(Ecore_IMF_Context *ctx, Eina_Bool enable); 498EAPI void ecore_imf_context_input_panel_enabled_set(Ecore_IMF_Context *ctx, Eina_Bool enable);
420EAPI Eina_Bool ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx); 499EAPI Eina_Bool ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx);
500EAPI void ecore_imf_context_input_panel_imdata_set(Ecore_IMF_Context *ctx, const void *data, int len);
501EAPI void ecore_imf_context_input_panel_imdata_get(Ecore_IMF_Context *ctx, void *data, int *len);
502EAPI void ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Return_Key_Type return_key_type);
503EAPI Ecore_IMF_Input_Panel_Return_Key_Type ecore_imf_context_input_panel_return_key_type_get(Ecore_IMF_Context *ctx);
504EAPI void ecore_imf_context_input_panel_return_key_disabled_set(Ecore_IMF_Context *ctx, Eina_Bool disabled);
505EAPI Eina_Bool ecore_imf_context_input_panel_return_key_disabled_get(Ecore_IMF_Context *ctx);
506EAPI void ecore_imf_context_input_panel_caps_lock_mode_set(Ecore_IMF_Context *ctx, Eina_Bool mode);
507EAPI Eina_Bool ecore_imf_context_input_panel_caps_lock_mode_get(Ecore_IMF_Context *ctx);
421 508
422/* The following entry points must be exported by each input method module 509/* The following entry points must be exported by each input method module
423 */ 510 */
@@ -433,3 +520,7 @@ EAPI Eina_Bool ecore_imf_context_input_panel_enabled_get(Eco
433#endif 520#endif
434 521
435#endif 522#endif
523
524/**
525 * @}
526 */
diff --git a/libraries/ecore/src/lib/ecore_imf/Makefile.in b/libraries/ecore/src/lib/ecore_imf/Makefile.in
index 9f91360..4d71b5d 100644
--- a/libraries/ecore/src/lib/ecore_imf/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_imf/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -193,6 +192,8 @@ EVAS_LIBS = @EVAS_LIBS@
193EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
194EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
195EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
196FGREP = @FGREP@ 197FGREP = @FGREP@
197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
198GLIB_CFLAGS = @GLIB_CFLAGS@ 199GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -248,6 +249,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
249PIXMAN_LIBS = @PIXMAN_LIBS@ 250PIXMAN_LIBS = @PIXMAN_LIBS@
250PKG_CONFIG = @PKG_CONFIG@ 251PKG_CONFIG = @PKG_CONFIG@
252PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
253PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
251POSUB = @POSUB@ 254POSUB = @POSUB@
252RANLIB = @RANLIB@ 255RANLIB = @RANLIB@
253SCIM_CFLAGS = @SCIM_CFLAGS@ 256SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -258,6 +261,7 @@ SDL_LIBS = @SDL_LIBS@
258SED = @SED@ 261SED = @SED@
259SET_MAKE = @SET_MAKE@ 262SET_MAKE = @SET_MAKE@
260SHELL = @SHELL@ 263SHELL = @SHELL@
264SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
261SSL_CFLAGS = @SSL_CFLAGS@ 265SSL_CFLAGS = @SSL_CFLAGS@
262SSL_LIBS = @SSL_LIBS@ 266SSL_LIBS = @SSL_LIBS@
263STRIP = @STRIP@ 267STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_imf/ecore_imf_context.c b/libraries/ecore/src/lib/ecore_imf/ecore_imf_context.c
index b65ee26..423c461 100644
--- a/libraries/ecore/src/lib/ecore_imf/ecore_imf_context.c
+++ b/libraries/ecore/src/lib/ecore_imf/ecore_imf_context.c
@@ -143,6 +143,32 @@ ecore_imf_context_default_id_by_canvas_type_get(const char *canvas_type)
143 * @return Return a #Ecore_IMF_Context_Info for the Input Method Context with @p id; 143 * @return Return a #Ecore_IMF_Context_Info for the Input Method Context with @p id;
144 * on failure it returns NULL. 144 * on failure it returns NULL.
145 * @ingroup Ecore_IMF_Context_Group 145 * @ingroup Ecore_IMF_Context_Group
146 *
147 * Example
148 * @code
149 *
150 * const char *ctx_id;
151 * const Ecore_IMF_Context_Info *ctx_info;
152 * Ecore_IMF_Context *imf_context;
153 * ctx_id = ecore_imf_context_default_id_get();
154 * if (ctx_id)
155 * {
156 * ctx_info = ecore_imf_context_info_by_id_get(ctx_id);
157 * if (!ctx_info->canvas_type ||
158 * strcmp(ctx_info->canvas_type, "evas") == 0)
159 * {
160 * imf_context = ecore_imf_context_add(ctx_id);
161 * }
162 * else
163 * {
164 * ctx_id = ecore_imf_context_default_id_by_canvas_type_get("evas");
165 * if (ctx_id)
166 * {
167 * imf_context = ecore_imf_context_add(ctx_id);
168 * }
169 * }
170 * }
171 * @endcode
146 */ 172 */
147EAPI const Ecore_IMF_Context_Info * 173EAPI const Ecore_IMF_Context_Info *
148ecore_imf_context_info_by_id_get(const char *id) 174ecore_imf_context_info_by_id_get(const char *id)
@@ -188,6 +214,10 @@ ecore_imf_context_add(const char *id)
188 * set on the immodule */ 214 * set on the immodule */
189 ecore_imf_context_input_panel_enabled_set(ctx, EINA_TRUE); 215 ecore_imf_context_input_panel_enabled_set(ctx, EINA_TRUE);
190 216
217 /* default input panel layout type is NORMAL type, so let's make sure it's
218 * set on the immodule */
219 ecore_imf_context_input_panel_layout_set(ctx, ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL);
220
191 /* default input_mode is ECORE_IMF_INPUT_MODE_FULL, so let's make sure it's 221 /* default input_mode is ECORE_IMF_INPUT_MODE_FULL, so let's make sure it's
192 * set on the immodule */ 222 * set on the immodule */
193 ecore_imf_context_input_mode_set(ctx, ECORE_IMF_INPUT_MODE_FULL); 223 ecore_imf_context_input_mode_set(ctx, ECORE_IMF_INPUT_MODE_FULL);
@@ -403,7 +433,7 @@ ecore_imf_context_preedit_string_get(Ecore_IMF_Context *ctx, char **str, int *cu
403} 433}
404 434
405/** 435/**
406 * Retrieve the current preedit string, atrributes and 436 * Retrieve the current preedit string, attributes and
407 * cursor position for the Input Method Context. 437 * cursor position for the Input Method Context.
408 * 438 *
409 * @param ctx An #Ecore_IMF_Context. 439 * @param ctx An #Ecore_IMF_Context.
@@ -413,6 +443,49 @@ ecore_imf_context_preedit_string_get(Ecore_IMF_Context *ctx, char **str, int *cu
413 * @param cursor_pos Location to store position of cursor (in characters) 443 * @param cursor_pos Location to store position of cursor (in characters)
414 * within the preedit string. 444 * within the preedit string.
415 * @ingroup Ecore_IMF_Context_Group 445 * @ingroup Ecore_IMF_Context_Group
446 *
447 * Example
448 * @code
449 * char *preedit_string;
450 * int cursor_pos;
451 * Eina_List *attrs = NULL, *l = NULL;
452 * Ecore_IMF_Preedit_Attr *attr;
453 *
454 * ecore_imf_context_preedit_string_with_attributes_get(imf_context,
455 * &preedit_string,
456 * &attrs, &cursor_pos);
457 * if (!preedit_string) return;
458 *
459 * if (strlen(preedit_string) > 0)
460 * {
461 * if (attrs)
462 * {
463 * EINA_LIST_FOREACH(attrs, l, attr)
464 * {
465 * if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB1)
466 * {
467 * // Something to do
468 * }
469 * else if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB2)
470 * {
471 * // Something to do
472 * }
473 * else if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB3)
474 * {
475 * // Something to do
476 * }
477 * }
478 * }
479 * }
480 *
481 * // delete attribute list
482 * if (attrs)
483 * {
484 * EINA_LIST_FREE(attrs, attr) free(attr);
485 * }
486 *
487 * free(preedit_string);
488 * @endcode
416 * @since 1.1.0 489 * @since 1.1.0
417 */ 490 */
418EAPI void 491EAPI void
@@ -440,6 +513,18 @@ ecore_imf_context_preedit_string_with_attributes_get(Ecore_IMF_Context *ctx, cha
440 * 513 *
441 * @param ctx An #Ecore_IMF_Context. 514 * @param ctx An #Ecore_IMF_Context.
442 * @ingroup Ecore_IMF_Context_Group 515 * @ingroup Ecore_IMF_Context_Group
516 *
517 * Example
518 * @code
519 * static void
520 * _focus_in_cb(void *data, Evas_Object *o, const char *emission, const char *source)
521 * {
522 * ecore_imf_context_reset(imf_context);
523 * ecore_imf_context_focus_in(imf_context);
524 * }
525 *
526 * evas_object_event_callback_add(obj, EVAS_CALLBACK_FOCUS_IN, _focus_in_cb, ed);
527 * @endcode
443 */ 528 */
444EAPI void 529EAPI void
445ecore_imf_context_focus_in(Ecore_IMF_Context *ctx) 530ecore_imf_context_focus_in(Ecore_IMF_Context *ctx)
@@ -459,6 +544,18 @@ ecore_imf_context_focus_in(Ecore_IMF_Context *ctx)
459 * 544 *
460 * @param ctx An #Ecore_IMF_Context. 545 * @param ctx An #Ecore_IMF_Context.
461 * @ingroup Ecore_IMF_Context_Group 546 * @ingroup Ecore_IMF_Context_Group
547 *
548 * Example
549 * @code
550 * static void
551 * _focus_out_cb(void *data, Evas_Object *o, const char *emission, const char *source)
552 * {
553 * ecore_imf_context_reset(imf_context);
554 * ecore_imf_context_focus_out(imf_context);
555 * }
556 *
557 * evas_object_event_callback_add(obj, EVAS_CALLBACK_FOCUS_OUT, _focus_out_cb, ed);
558 * @endcode
462 */ 559 */
463EAPI void 560EAPI void
464ecore_imf_context_focus_out(Ecore_IMF_Context *ctx) 561ecore_imf_context_focus_out(Ecore_IMF_Context *ctx)
@@ -479,6 +576,18 @@ ecore_imf_context_focus_out(Ecore_IMF_Context *ctx)
479 * 576 *
480 * @param ctx An #Ecore_IMF_Context. 577 * @param ctx An #Ecore_IMF_Context.
481 * @ingroup Ecore_IMF_Context_Group 578 * @ingroup Ecore_IMF_Context_Group
579 *
580 * Example
581 * @code
582 * static void
583 * _focus_out_cb(void *data, Evas_Object *o, const char *emission, const char *source)
584 * {
585 * ecore_imf_context_reset(imf_context);
586 * ecore_imf_context_focus_out(imf_context);
587 * }
588 *
589 * evas_object_event_callback_add(obj, EVAS_CALLBACK_FOCUS_OUT, _focus_out_cb, ed);
590 * @endcode
482 */ 591 */
483EAPI void 592EAPI void
484ecore_imf_context_reset(Ecore_IMF_Context *ctx) 593ecore_imf_context_reset(Ecore_IMF_Context *ctx)
@@ -515,10 +624,12 @@ ecore_imf_context_cursor_position_set(Ecore_IMF_Context *ctx, int cursor_pos)
515/** 624/**
516 * Notify the Input Method Context that a change in the cursor 625 * Notify the Input Method Context that a change in the cursor
517 * location has been made. The location is relative to the canvas. 626 * location has been made. The location is relative to the canvas.
627 * The cursor location can be used to determine the position of
628 * candidate word window in the immodule.
518 * 629 *
519 * @param ctx An #Ecore_IMF_Context. 630 * @param ctx An #Ecore_IMF_Context.
520 * @param x cursor x position. 631 * @param x cursor x position.
521 * @param x cursor y position. 632 * @param y cursor y position.
522 * @param w cursor width. 633 * @param w cursor width.
523 * @param h cursor height. 634 * @param h cursor height.
524 * @ingroup Ecore_IMF_Context_Group 635 * @ingroup Ecore_IMF_Context_Group
@@ -605,7 +716,7 @@ ecore_imf_context_prediction_allow_get(Ecore_IMF_Context *ctx)
605} 716}
606 717
607/** 718/**
608 * Set the autocapitalization type on the immodule. 719 * Set the autocapitalization type on the immodule.
609 * 720 *
610 * @param ctx An #Ecore_IMF_Context. 721 * @param ctx An #Ecore_IMF_Context.
611 * @param autocapital_type the autocapitalization type. 722 * @param autocapital_type the autocapitalization type.
@@ -732,6 +843,28 @@ ecore_imf_context_input_mode_get(Ecore_IMF_Context *ctx)
732 * @param event The event itself. 843 * @param event The event itself.
733 * @return EINA_TRUE if the event was handled; otherwise EINA_FALSE. 844 * @return EINA_TRUE if the event was handled; otherwise EINA_FALSE.
734 * @ingroup Ecore_IMF_Context_Group 845 * @ingroup Ecore_IMF_Context_Group
846 *
847 * Example
848 * @code
849 * static void
850 * _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
851 * {
852 * Evas_Event_Key_Down *ev = event_info;
853 * if (!ev->keyname) return;
854 *
855 * if (imf_context)
856 * {
857 * Ecore_IMF_Event_Key_Down ecore_ev;
858 * ecore_imf_evas_event_key_down_wrap(ev, &ecore_ev);
859 * if (ecore_imf_context_filter_event(imf_context,
860 * ECORE_IMF_EVENT_KEY_DOWN,
861 * (Ecore_IMF_Event *)&ecore_ev))
862 * return;
863 * }
864 * }
865 *
866 * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_DOWN, _key_down_cb, data);
867 * @endcode
735 */ 868 */
736EAPI Eina_Bool 869EAPI Eina_Bool
737ecore_imf_context_filter_event(Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event) 870ecore_imf_context_filter_event(Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event)
@@ -839,7 +972,7 @@ EAPI void *ecore_imf_context_data_get(Ecore_IMF_Context *ctx)
839 * If the function returns EINA_TRUE, then you must free 972 * If the function returns EINA_TRUE, then you must free
840 * the result stored in this location with free(). 973 * the result stored in this location with free().
841 * @param cursor_pos Location to store the position in characters of 974 * @param cursor_pos Location to store the position in characters of
842 * the insertion cursor within @text. 975 * the insertion cursor within @p text.
843 * @return EINA_TRUE if surrounding text was provided; otherwise EINA_FALSE. 976 * @return EINA_TRUE if surrounding text was provided; otherwise EINA_FALSE.
844 * @ingroup Ecore_IMF_Context_Module_Group 977 * @ingroup Ecore_IMF_Context_Module_Group
845 */ 978 */
@@ -877,6 +1010,8 @@ _ecore_imf_event_free_preedit(void *data __UNUSED__, void *event)
877 * Adds ECORE_IMF_EVENT_PREEDIT_START to the event queue. 1010 * Adds ECORE_IMF_EVENT_PREEDIT_START to the event queue.
878 * 1011 *
879 * ECORE_IMF_EVENT_PREEDIT_START should be added when a new preedit sequence starts. 1012 * ECORE_IMF_EVENT_PREEDIT_START should be added when a new preedit sequence starts.
1013 * It's asynchronous method to put event to the event queue.
1014 * ecore_imf_context_event_callback_call() can be used as synchronous method.
880 * 1015 *
881 * @param ctx An #Ecore_IMF_Context. 1016 * @param ctx An #Ecore_IMF_Context.
882 * @ingroup Ecore_IMF_Context_Module_Group 1017 * @ingroup Ecore_IMF_Context_Module_Group
@@ -903,6 +1038,8 @@ ecore_imf_context_preedit_start_event_add(Ecore_IMF_Context *ctx)
903 * Adds ECORE_IMF_EVENT_PREEDIT_END to the event queue. 1038 * Adds ECORE_IMF_EVENT_PREEDIT_END to the event queue.
904 * 1039 *
905 * ECORE_IMF_EVENT_PREEDIT_END should be added when a new preedit sequence has been completed or canceled. 1040 * ECORE_IMF_EVENT_PREEDIT_END should be added when a new preedit sequence has been completed or canceled.
1041 * It's asynchronous method to put event to the event queue.
1042 * ecore_imf_context_event_callback_call() can be used as synchronous method.
906 * 1043 *
907 * @param ctx An #Ecore_IMF_Context. 1044 * @param ctx An #Ecore_IMF_Context.
908 * @ingroup Ecore_IMF_Context_Module_Group 1045 * @ingroup Ecore_IMF_Context_Module_Group
@@ -928,6 +1065,9 @@ ecore_imf_context_preedit_end_event_add(Ecore_IMF_Context *ctx)
928/** 1065/**
929 * Adds ECORE_IMF_EVENT_PREEDIT_CHANGED to the event queue. 1066 * Adds ECORE_IMF_EVENT_PREEDIT_CHANGED to the event queue.
930 * 1067 *
1068 * It's asynchronous method to put event to the event queue.
1069 * ecore_imf_context_event_callback_call() can be used as synchronous method.
1070 *
931 * @param ctx An #Ecore_IMF_Context. 1071 * @param ctx An #Ecore_IMF_Context.
932 * @ingroup Ecore_IMF_Context_Module_Group 1072 * @ingroup Ecore_IMF_Context_Module_Group
933 */ 1073 */
@@ -962,6 +1102,9 @@ _ecore_imf_event_free_commit(void *data __UNUSED__, void *event)
962/** 1102/**
963 * Adds ECORE_IMF_EVENT_COMMIT to the event queue. 1103 * Adds ECORE_IMF_EVENT_COMMIT to the event queue.
964 * 1104 *
1105 * It's asynchronous method to put event to the event queue.
1106 * ecore_imf_context_event_callback_call() can be used as synchronous method.
1107 *
965 * @param ctx An #Ecore_IMF_Context. 1108 * @param ctx An #Ecore_IMF_Context.
966 * @param str The committed string. 1109 * @param str The committed string.
967 * @ingroup Ecore_IMF_Context_Module_Group 1110 * @ingroup Ecore_IMF_Context_Module_Group
@@ -999,6 +1142,9 @@ _ecore_imf_event_free_delete_surrounding(void *data __UNUSED__, void *event)
999 * by adding the ECORE_IMF_EVENT_DELETE_SURROUNDING to the event queue. 1142 * by adding the ECORE_IMF_EVENT_DELETE_SURROUNDING to the event queue.
1000 * Note that offset and n_chars are in characters not in bytes. 1143 * Note that offset and n_chars are in characters not in bytes.
1001 * 1144 *
1145 * It's asynchronous method to put ECORE_IMF_EVENT_DELETE_SURROUNDING event to the event queue.
1146 * ecore_imf_context_event_callback_call() can be used as synchronous method.
1147 *
1002 * @param ctx An #Ecore_IMF_Context. 1148 * @param ctx An #Ecore_IMF_Context.
1003 * @param offset The start offset of surrounding to be deleted. 1149 * @param offset The start offset of surrounding to be deleted.
1004 * @param n_chars The number of characters to be deleted. 1150 * @param n_chars The number of characters to be deleted.
@@ -1041,8 +1187,20 @@ ecore_imf_context_delete_surrounding_event_add(Ecore_IMF_Context *ctx, int offse
1041 * @param func The (callback) function to be called when the event is 1187 * @param func The (callback) function to be called when the event is
1042 * triggered 1188 * triggered
1043 * @param data The data pointer to be passed to @p func 1189 * @param data The data pointer to be passed to @p func
1044 * @ingroup Ecore_IMF_Context_Module_Group 1190 * @ingroup Ecore_IMF_Context_Group
1045 * @since 1.2.0 1191 * @since 1.2.0
1192 *
1193 * Example
1194 * @code
1195 * static void
1196 * _imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx, void *event_info)
1197 * {
1198 * char *commit_str = event_info;
1199 * // something to do
1200 * }
1201 *
1202 * ecore_imf_context_event_callback_add(en->imf_context, ECORE_IMF_CALLBACK_COMMIT, _imf_event_commit_cb, data);
1203 * @endcode
1046 */ 1204 */
1047EAPI void 1205EAPI void
1048ecore_imf_context_event_callback_add(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_Type type, Ecore_IMF_Event_Cb func, const void *data) 1206ecore_imf_context_event_callback_add(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_Type type, Ecore_IMF_Event_Cb func, const void *data)
@@ -1079,10 +1237,10 @@ ecore_imf_context_event_callback_add(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_
1079 * @see ecore_imf_context_event_callback_add() for more details 1237 * @see ecore_imf_context_event_callback_add() for more details
1080 * 1238 *
1081 * @param ctx Ecore_IMF_Context to remove a callback from. 1239 * @param ctx Ecore_IMF_Context to remove a callback from.
1082 * @param type The type of event that was trigerring the callback 1240 * @param type The type of event that was triggering the callback
1083 * @param func The (callback) function that was to be called when the event was triggered 1241 * @param func The (callback) function that was to be called when the event was triggered
1084 * @return the data pointer 1242 * @return the data pointer
1085 * @ingroup Ecore_IMF_Context_Module_Group 1243 * @ingroup Ecore_IMF_Context_Group
1086 * @since 1.2.0 1244 * @since 1.2.0
1087 */ 1245 */
1088EAPI void * 1246EAPI void *
@@ -1096,7 +1254,7 @@ ecore_imf_context_event_callback_del(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_
1096 { 1254 {
1097 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT, 1255 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1098 "ecore_imf_context_event_callback_del"); 1256 "ecore_imf_context_event_callback_del");
1099 return; 1257 return NULL;
1100 } 1258 }
1101 1259
1102 if (!func) return NULL; 1260 if (!func) return NULL;
@@ -1106,7 +1264,7 @@ ecore_imf_context_event_callback_del(Ecore_IMF_Context *ctx, Ecore_IMF_Callback_
1106 { 1264 {
1107 if ((fn) && (fn->func == func) && (fn->type == type)) 1265 if ((fn) && (fn->func == func) && (fn->type == type))
1108 { 1266 {
1109 void *tmp = fn->data; 1267 void *tmp = (void *)fn->data;
1110 free(fn); 1268 free(fn);
1111 ctx->callbacks = eina_list_remove_list(ctx->callbacks, l); 1269 ctx->callbacks = eina_list_remove_list(ctx->callbacks, l);
1112 return tmp; 1270 return tmp;
@@ -1156,11 +1314,11 @@ ecore_imf_context_event_callback_call(Ecore_IMF_Context *ctx, Ecore_IMF_Callback
1156 * Ask the Input Method Context to show the control panel of using Input Method. 1314 * Ask the Input Method Context to show the control panel of using Input Method.
1157 * 1315 *
1158 * @param ctx An #Ecore_IMF_Context. 1316 * @param ctx An #Ecore_IMF_Context.
1159 * @ingroup Ecore_IMF_Context_IMControl_Group 1317 * @ingroup Ecore_IMF_Context_Group
1160 * @since 1.1.0 1318 * @since 1.1.0
1161 */ 1319 */
1162EAPI void 1320EAPI void
1163ecore_imf_context_control_panel_show (Ecore_IMF_Context *ctx) 1321ecore_imf_context_control_panel_show(Ecore_IMF_Context *ctx)
1164{ 1322{
1165 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1323 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1166 { 1324 {
@@ -1176,11 +1334,11 @@ ecore_imf_context_control_panel_show (Ecore_IMF_Context *ctx)
1176 * Ask the Input Method Context to hide the control panel of using Input Method. 1334 * Ask the Input Method Context to hide the control panel of using Input Method.
1177 * 1335 *
1178 * @param ctx An #Ecore_IMF_Context. 1336 * @param ctx An #Ecore_IMF_Context.
1179 * @ingroup Ecore_IMF_Context_IMControl_Group 1337 * @ingroup Ecore_IMF_Context_Group
1180 * @since 1.1.0 1338 * @since 1.1.0
1181 */ 1339 */
1182EAPI void 1340EAPI void
1183ecore_imf_context_control_panel_hide (Ecore_IMF_Context *ctx) 1341ecore_imf_context_control_panel_hide(Ecore_IMF_Context *ctx)
1184{ 1342{
1185 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1343 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1186 { 1344 {
@@ -1196,7 +1354,7 @@ ecore_imf_context_control_panel_hide (Ecore_IMF_Context *ctx)
1196 * Ask the Input Method Context to show the input panel (virtual keyboard). 1354 * Ask the Input Method Context to show the input panel (virtual keyboard).
1197 * 1355 *
1198 * @param ctx An #Ecore_IMF_Context. 1356 * @param ctx An #Ecore_IMF_Context.
1199 * @ingroup Ecore_IMF_Context_IMControl_Group 1357 * @ingroup Ecore_IMF_Context_Group
1200 * @since 1.1.0 1358 * @since 1.1.0
1201 */ 1359 */
1202EAPI void 1360EAPI void
@@ -1216,7 +1374,7 @@ ecore_imf_context_input_panel_show(Ecore_IMF_Context *ctx)
1216 * Ask the Input Method Context to hide the input panel. 1374 * Ask the Input Method Context to hide the input panel.
1217 * 1375 *
1218 * @param ctx An #Ecore_IMF_Context. 1376 * @param ctx An #Ecore_IMF_Context.
1219 * @ingroup Ecore_IMF_Context_IMControl_Group 1377 * @ingroup Ecore_IMF_Context_Group
1220 * @since 1.1.0 1378 * @since 1.1.0
1221 */ 1379 */
1222EAPI void 1380EAPI void
@@ -1236,12 +1394,12 @@ ecore_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
1236 * Set the layout of the input panel. 1394 * Set the layout of the input panel.
1237 * 1395 *
1238 * @param ctx An #Ecore_IMF_Context. 1396 * @param ctx An #Ecore_IMF_Context.
1239 * @param layout see #ECORE_IMF_INPUT_PANEL_LAYOUT 1397 * @param layout see #Ecore_IMF_Input_Panel_Layout
1240 * @ingroup Ecore_IMF_Context_IMControl_Group 1398 * @ingroup Ecore_IMF_Context_Group
1241 * @since 1.1.0 1399 * @since 1.1.0
1242 */ 1400 */
1243EAPI void 1401EAPI void
1244ecore_imf_context_input_panel_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout) 1402ecore_imf_context_input_panel_layout_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Layout layout)
1245{ 1403{
1246 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1404 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1247 { 1405 {
@@ -1261,11 +1419,11 @@ ecore_imf_context_input_panel_layout_set (Ecore_IMF_Context *ctx, Ecore_IMF_Inpu
1261 * 1419 *
1262 * @param ctx An #Ecore_IMF_Context. 1420 * @param ctx An #Ecore_IMF_Context.
1263 * @return layout see #Ecore_IMF_Input_Panel_Layout 1421 * @return layout see #Ecore_IMF_Input_Panel_Layout
1264 * @ingroup Ecore_IMF_Context_IMControl_Group 1422 * @ingroup Ecore_IMF_Context_Group
1265 * @since 1.1.0 1423 * @since 1.1.0
1266 */ 1424 */
1267EAPI Ecore_IMF_Input_Panel_Layout 1425EAPI Ecore_IMF_Input_Panel_Layout
1268ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx) 1426ecore_imf_context_input_panel_layout_get(Ecore_IMF_Context *ctx)
1269{ 1427{
1270 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1428 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1271 { 1429 {
@@ -1275,9 +1433,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx)
1275 } 1433 }
1276 1434
1277 if (ctx->klass->input_panel_layout_get) 1435 if (ctx->klass->input_panel_layout_get)
1278 { 1436 return ctx->input_panel_layout;
1279 return ctx->input_panel_layout;
1280 }
1281 else 1437 else
1282 return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID; 1438 return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID;
1283} 1439}
@@ -1288,11 +1444,11 @@ ecore_imf_context_input_panel_layout_get (Ecore_IMF_Context *ctx)
1288 * 1444 *
1289 * @param ctx An #Ecore_IMF_Context. 1445 * @param ctx An #Ecore_IMF_Context.
1290 * @param lang the language to be set to the input panel. 1446 * @param lang the language to be set to the input panel.
1291 * @ingroup Ecore_IMF_Context_IMControl_Group 1447 * @ingroup Ecore_IMF_Context_Group
1292 * @since 1.1.0 1448 * @since 1.1.0
1293 */ 1449 */
1294EAPI void 1450EAPI void
1295ecore_imf_context_input_panel_language_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Lang lang) 1451ecore_imf_context_input_panel_language_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Lang lang)
1296{ 1452{
1297 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1453 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1298 { 1454 {
@@ -1312,11 +1468,11 @@ ecore_imf_context_input_panel_language_set (Ecore_IMF_Context *ctx, Ecore_IMF_In
1312 * 1468 *
1313 * @param ctx An #Ecore_IMF_Context. 1469 * @param ctx An #Ecore_IMF_Context.
1314 * @return Ecore_IMF_Input_Panel_Lang 1470 * @return Ecore_IMF_Input_Panel_Lang
1315 * @ingroup Ecore_IMF_Context_IMControl_Group 1471 * @ingroup Ecore_IMF_Context_Group
1316 * @since 1.1.0 1472 * @since 1.1.0
1317 */ 1473 */
1318EAPI Ecore_IMF_Input_Panel_Lang 1474EAPI Ecore_IMF_Input_Panel_Lang
1319ecore_imf_context_input_panel_language_get (Ecore_IMF_Context *ctx) 1475ecore_imf_context_input_panel_language_get(Ecore_IMF_Context *ctx)
1320{ 1476{
1321 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1477 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1322 { 1478 {
@@ -1338,7 +1494,7 @@ ecore_imf_context_input_panel_language_get (Ecore_IMF_Context *ctx)
1338 * @since 1.1.0 1494 * @since 1.1.0
1339 */ 1495 */
1340EAPI void 1496EAPI void
1341ecore_imf_context_input_panel_enabled_set (Ecore_IMF_Context *ctx, 1497ecore_imf_context_input_panel_enabled_set(Ecore_IMF_Context *ctx,
1342 Eina_Bool enabled) 1498 Eina_Bool enabled)
1343{ 1499{
1344 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1500 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
@@ -1360,7 +1516,7 @@ ecore_imf_context_input_panel_enabled_set (Ecore_IMF_Context *ctx,
1360 * @since 1.1.0 1516 * @since 1.1.0
1361 */ 1517 */
1362EAPI Eina_Bool 1518EAPI Eina_Bool
1363ecore_imf_context_input_panel_enabled_get (Ecore_IMF_Context *ctx) 1519ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx)
1364{ 1520{
1365 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT)) 1521 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1366 { 1522 {
@@ -1372,3 +1528,191 @@ ecore_imf_context_input_panel_enabled_get (Ecore_IMF_Context *ctx)
1372 return ctx->input_panel_enabled; 1528 return ctx->input_panel_enabled;
1373} 1529}
1374 1530
1531/**
1532 * Set the input panel-specific data to deliver to the input panel.
1533 * This API is used by applications to deliver specific data to the input panel.
1534 * The data format MUST be negotiated by both application and the input panel.
1535 * The size and format of data are defined by the input panel.
1536 *
1537 * @param ctx An #Ecore_IMF_Context.
1538 * @param data The specific data to be set to the input panel.
1539 * @param len the length of data, in bytes, to send to the input panel
1540 * @ingroup Ecore_IMF_Context_Group
1541 * @since 1.2.0
1542 */
1543EAPI void
1544ecore_imf_context_input_panel_imdata_set(Ecore_IMF_Context *ctx, const void *data, int len)
1545{
1546 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1547 {
1548 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1549 "ecore_imf_context_input_panel_imdata_set");
1550 return;
1551 }
1552
1553 if (!data) return;
1554
1555 if (ctx->klass->input_panel_imdata_set)
1556 ctx->klass->input_panel_imdata_set(ctx, data, len);
1557}
1558
1559/**
1560 * Get the specific data of the current active input panel.
1561 *
1562 * @param ctx An #Ecore_IMF_Context.
1563 * @param data The specific data to be got from the input panel
1564 * @param len The length of data
1565 * @ingroup Ecore_IMF_Context_Group
1566 * @since 1.2.0
1567 */
1568EAPI void
1569ecore_imf_context_input_panel_imdata_get(Ecore_IMF_Context *ctx, void *data, int *len)
1570{
1571 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1572 {
1573 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1574 "ecore_imf_context_input_panel_imdata_get");
1575 return;
1576 }
1577
1578 if (!data) return;
1579
1580 if (ctx->klass->input_panel_imdata_get)
1581 ctx->klass->input_panel_imdata_get(ctx, data, len);
1582}
1583
1584/**
1585 * Set the "return" key type. This type is used to set string or icon on the "return" key of the input panel.
1586 *
1587 * An input panel displays the string or icon associated with this type
1588 *
1589 * @param ctx An #Ecore_IMF_Context.
1590 * @param return_key_type The type of "return" key on the input panel
1591 * @ingroup Ecore_IMF_Context_Group
1592 * @since 1.2.0
1593 */
1594EAPI void
1595ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Panel_Return_Key_Type return_key_type)
1596{
1597 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1598 {
1599 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1600 "ecore_imf_context_input_panel_return_key_type_set");
1601 return;
1602 }
1603
1604 ctx->input_panel_return_key_type = return_key_type;
1605 if (ctx->klass->input_panel_return_key_type_set) ctx->klass->input_panel_return_key_type_set(ctx, return_key_type);
1606}
1607
1608/**
1609 * Get the "return" key type.
1610 *
1611 * @see ecore_imf_context_input_panel_return_key_type_set() for more details
1612 *
1613 * @param ctx An #Ecore_IMF_Context.
1614 * @return The type of "return" key on the input panel
1615 * @ingroup Ecore_IMF_Context_Group
1616 * @since 1.2.0
1617 */
1618EAPI Ecore_IMF_Input_Panel_Return_Key_Type
1619ecore_imf_context_input_panel_return_key_type_get(Ecore_IMF_Context *ctx)
1620{
1621 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1622 {
1623 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1624 "ecore_imf_context_input_panel_return_key_type_get");
1625 return EINA_FALSE;
1626 }
1627
1628 return ctx->input_panel_return_key_type;
1629}
1630
1631/**
1632 * Set the return key on the input panel to be disabled.
1633 *
1634 * @param ctx An #Ecore_IMF_Context.
1635 * @param disabled The state
1636 * @ingroup Ecore_IMF_Context_Group
1637 * @since 1.2.0
1638 */
1639EAPI void
1640ecore_imf_context_input_panel_return_key_disabled_set(Ecore_IMF_Context *ctx, Eina_Bool disabled)
1641{
1642 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1643 {
1644 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1645 "ecore_imf_context_input_panel_return_key_disabled_set");
1646 return;
1647 }
1648
1649 ctx->input_panel_return_key_disabled = disabled;
1650 if (ctx->klass->input_panel_return_key_disabled_set) ctx->klass->input_panel_return_key_disabled_set(ctx, disabled);
1651}
1652
1653/**
1654 * Get whether the return key on the input panel should be disabled or not.
1655 *
1656 * @param ctx An #Ecore_IMF_Context.
1657 * @return EINA_TRUE if it should be disabled
1658 * @ingroup Ecore_IMF_Context_Group
1659 * @since 1.2.0
1660 */
1661EAPI Eina_Bool
1662ecore_imf_context_input_panel_return_key_disabled_get(Ecore_IMF_Context *ctx)
1663{
1664 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1665 {
1666 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1667 "ecore_imf_context_input_panel_return_key_disabled_get");
1668 return EINA_FALSE;
1669 }
1670
1671 return ctx->input_panel_return_key_disabled;
1672}
1673
1674/**
1675 * Set the caps lock mode on the input panel.
1676 *
1677 * @param ctx An #Ecore_IMF_Context.
1678 * @param mode Turn on caps lock on the input panel if EINA_TRUE
1679 * @ingroup Ecore_IMF_Context_Group
1680 * @since 1.2.0
1681 */
1682EAPI void
1683ecore_imf_context_input_panel_caps_lock_mode_set(Ecore_IMF_Context *ctx, Eina_Bool mode)
1684{
1685 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1686 {
1687 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1688 "ecore_imf_context_input_panel_caps_lock_mode_set");
1689 return;
1690 }
1691
1692 if (ctx->klass->input_panel_caps_lock_mode_set)
1693 ctx->klass->input_panel_caps_lock_mode_set(ctx, mode);
1694
1695 ctx->input_panel_caps_lock_mode = mode;
1696}
1697
1698/**
1699 * Get the caps lock mode on the input panel.
1700 *
1701 * @param ctx An #Ecore_IMF_Context.
1702 * @return EINA_TRUE if the caps lock is turned on.
1703 * @ingroup Ecore_IMF_Context_Group
1704 * @since 1.2.0
1705 */
1706EAPI Eina_Bool
1707ecore_imf_context_input_panel_caps_lock_mode_get(Ecore_IMF_Context *ctx)
1708{
1709 if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
1710 {
1711 ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
1712 "ecore_imf_context_input_panel_caps_lock_mode_get");
1713 return EINA_FALSE;
1714 }
1715
1716 return ctx->input_panel_caps_lock_mode;
1717}
1718
diff --git a/libraries/ecore/src/lib/ecore_imf/ecore_imf_private.h b/libraries/ecore/src/lib/ecore_imf/ecore_imf_private.h
index d9dae80..b4ff0f2 100644
--- a/libraries/ecore/src/lib/ecore_imf/ecore_imf_private.h
+++ b/libraries/ecore/src/lib/ecore_imf/ecore_imf_private.h
@@ -52,8 +52,11 @@ struct _Ecore_IMF_Context
52 Ecore_IMF_Autocapital_Type autocapital_type; 52 Ecore_IMF_Autocapital_Type autocapital_type;
53 Ecore_IMF_Input_Panel_Layout input_panel_layout; 53 Ecore_IMF_Input_Panel_Layout input_panel_layout;
54 Ecore_IMF_Input_Panel_Lang input_panel_lang; 54 Ecore_IMF_Input_Panel_Lang input_panel_lang;
55 Ecore_IMF_Input_Panel_Return_Key_Type input_panel_return_key_type;
55 Eina_Bool allow_prediction : 1; 56 Eina_Bool allow_prediction : 1;
56 Eina_Bool input_panel_enabled : 1; 57 Eina_Bool input_panel_enabled : 1;
58 Eina_Bool input_panel_return_key_disabled : 1;
59 Eina_Bool input_panel_caps_lock_mode : 1;
57}; 60};
58 61
59struct _Ecore_IMF_Module 62struct _Ecore_IMF_Module
diff --git a/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in b/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in
index ab6503b..1542919 100644
--- a/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_imf_evas/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -192,6 +191,8 @@ EVAS_LIBS = @EVAS_LIBS@
192EVIL_CFLAGS = @EVIL_CFLAGS@ 191EVIL_CFLAGS = @EVIL_CFLAGS@
193EVIL_LIBS = @EVIL_LIBS@ 192EVIL_LIBS = @EVIL_LIBS@
194EXEEXT = @EXEEXT@ 193EXEEXT = @EXEEXT@
194EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
195EXOTIC_LIBS = @EXOTIC_LIBS@
195FGREP = @FGREP@ 196FGREP = @FGREP@
196GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
197GLIB_CFLAGS = @GLIB_CFLAGS@ 198GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -247,6 +248,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
247PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
248PIXMAN_LIBS = @PIXMAN_LIBS@ 249PIXMAN_LIBS = @PIXMAN_LIBS@
249PKG_CONFIG = @PKG_CONFIG@ 250PKG_CONFIG = @PKG_CONFIG@
251PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
252PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
250POSUB = @POSUB@ 253POSUB = @POSUB@
251RANLIB = @RANLIB@ 254RANLIB = @RANLIB@
252SCIM_CFLAGS = @SCIM_CFLAGS@ 255SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -257,6 +260,7 @@ SDL_LIBS = @SDL_LIBS@
257SED = @SED@ 260SED = @SED@
258SET_MAKE = @SET_MAKE@ 261SET_MAKE = @SET_MAKE@
259SHELL = @SHELL@ 262SHELL = @SHELL@
263SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
260SSL_CFLAGS = @SSL_CFLAGS@ 264SSL_CFLAGS = @SSL_CFLAGS@
261SSL_LIBS = @SSL_LIBS@ 265SSL_LIBS = @SSL_LIBS@
262STRIP = @STRIP@ 266STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c b/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
index 86badf5..62ba4c8 100644
--- a/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
+++ b/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
@@ -221,6 +221,28 @@ ecore_imf_evas_event_mouse_wheel_wrap(Evas_Event_Mouse_Wheel *evas_event,
221 * @param evas_event The received Evas event. 221 * @param evas_event The received Evas event.
222 * @param imf_event The location to store the converted Ecore_IMF event. 222 * @param imf_event The location to store the converted Ecore_IMF event.
223 * @ingroup Ecore_IMF_Evas_Group 223 * @ingroup Ecore_IMF_Evas_Group
224 *
225 * Example
226 * @code
227 * static void
228 * _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
229 * {
230 * Evas_Event_Key_Down *ev = event_info;
231 * if (!ev->keyname) return;
232 *
233 * if (imf_context)
234 * {
235 * Ecore_IMF_Event_Key_Down ecore_ev;
236 * ecore_imf_evas_event_key_down_wrap(ev, &ecore_ev);
237 * if (ecore_imf_context_filter_event(imf_context,
238 * ECORE_IMF_EVENT_KEY_DOWN,
239 * (Ecore_IMF_Event *)&ecore_ev))
240 * return;
241 * }
242 * }
243 *
244 * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_DOWN, _key_down_cb, data);
245 * @endcode
224 */ 246 */
225EAPI void 247EAPI void
226ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event, 248ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event,
@@ -244,6 +266,28 @@ ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event,
244 * @param evas_event The received Evas event. 266 * @param evas_event The received Evas event.
245 * @param imf_event The location to store the converted Ecore_IMF event. 267 * @param imf_event The location to store the converted Ecore_IMF event.
246 * @ingroup Ecore_IMF_Evas_Group 268 * @ingroup Ecore_IMF_Evas_Group
269 *
270 * Example
271 * @code
272 * static void
273 * _key_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
274 * {
275 * Evas_Event_Key_Up *ev = event_info;
276 * if (!ev->keyname) return;
277 *
278 * if (imf_context)
279 * {
280 * Ecore_IMF_Event_Key_Up ecore_ev;
281 * ecore_imf_evas_event_key_up_wrap(ev, &ecore_ev);
282 * if (ecore_imf_context_filter_event(imf_context,
283 * ECORE_IMF_EVENT_KEY_UP,
284 * (Ecore_IMF_Event *)&ecore_ev))
285 * return;
286 * }
287 * }
288 *
289 * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_UP, _key_up_cb, data);
290 * @endcode
247 */ 291 */
248EAPI void 292EAPI void
249ecore_imf_evas_event_key_up_wrap(Evas_Event_Key_Up *evas_event, 293ecore_imf_evas_event_key_up_wrap(Evas_Event_Key_Up *evas_event,
diff --git a/libraries/ecore/src/lib/ecore_input/Makefile.in b/libraries/ecore/src/lib/ecore_input/Makefile.in
index f9fc99a..a3eeb2e 100644
--- a/libraries/ecore/src/lib/ecore_input/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_input/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -192,6 +191,8 @@ EVAS_LIBS = @EVAS_LIBS@
192EVIL_CFLAGS = @EVIL_CFLAGS@ 191EVIL_CFLAGS = @EVIL_CFLAGS@
193EVIL_LIBS = @EVIL_LIBS@ 192EVIL_LIBS = @EVIL_LIBS@
194EXEEXT = @EXEEXT@ 193EXEEXT = @EXEEXT@
194EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
195EXOTIC_LIBS = @EXOTIC_LIBS@
195FGREP = @FGREP@ 196FGREP = @FGREP@
196GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
197GLIB_CFLAGS = @GLIB_CFLAGS@ 198GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -247,6 +248,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
247PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
248PIXMAN_LIBS = @PIXMAN_LIBS@ 249PIXMAN_LIBS = @PIXMAN_LIBS@
249PKG_CONFIG = @PKG_CONFIG@ 250PKG_CONFIG = @PKG_CONFIG@
251PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
252PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
250POSUB = @POSUB@ 253POSUB = @POSUB@
251RANLIB = @RANLIB@ 254RANLIB = @RANLIB@
252SCIM_CFLAGS = @SCIM_CFLAGS@ 255SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -257,6 +260,7 @@ SDL_LIBS = @SDL_LIBS@
257SED = @SED@ 260SED = @SED@
258SET_MAKE = @SET_MAKE@ 261SET_MAKE = @SET_MAKE@
259SHELL = @SHELL@ 262SHELL = @SHELL@
263SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
260SSL_CFLAGS = @SSL_CFLAGS@ 264SSL_CFLAGS = @SSL_CFLAGS@
261SSL_LIBS = @SSL_LIBS@ 265SSL_LIBS = @SSL_LIBS@
262STRIP = @STRIP@ 266STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_input_evas/Makefile.in b/libraries/ecore/src/lib/ecore_input_evas/Makefile.in
index d0ac95e..d3937d9 100644
--- a/libraries/ecore/src/lib/ecore_input_evas/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_input_evas/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -193,6 +192,8 @@ EVAS_LIBS = @EVAS_LIBS@
193EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
194EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
195EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
196FGREP = @FGREP@ 197FGREP = @FGREP@
197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
198GLIB_CFLAGS = @GLIB_CFLAGS@ 199GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -248,6 +249,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
249PIXMAN_LIBS = @PIXMAN_LIBS@ 250PIXMAN_LIBS = @PIXMAN_LIBS@
250PKG_CONFIG = @PKG_CONFIG@ 251PKG_CONFIG = @PKG_CONFIG@
252PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
253PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
251POSUB = @POSUB@ 254POSUB = @POSUB@
252RANLIB = @RANLIB@ 255RANLIB = @RANLIB@
253SCIM_CFLAGS = @SCIM_CFLAGS@ 256SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -258,6 +261,7 @@ SDL_LIBS = @SDL_LIBS@
258SED = @SED@ 261SED = @SED@
259SET_MAKE = @SET_MAKE@ 262SET_MAKE = @SET_MAKE@
260SHELL = @SHELL@ 263SHELL = @SHELL@
264SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
261SSL_CFLAGS = @SSL_CFLAGS@ 265SSL_CFLAGS = @SSL_CFLAGS@
262SSL_LIBS = @SSL_LIBS@ 266SSL_LIBS = @SSL_LIBS@
263STRIP = @STRIP@ 267STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_ipc/Makefile.in b/libraries/ecore/src/lib/ecore_ipc/Makefile.in
index ac2cf6f..e339ffc 100644
--- a/libraries/ecore/src/lib/ecore_ipc/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_ipc/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -193,6 +192,8 @@ EVAS_LIBS = @EVAS_LIBS@
193EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
194EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
195EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
196FGREP = @FGREP@ 197FGREP = @FGREP@
197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
198GLIB_CFLAGS = @GLIB_CFLAGS@ 199GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -248,6 +249,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
249PIXMAN_LIBS = @PIXMAN_LIBS@ 250PIXMAN_LIBS = @PIXMAN_LIBS@
250PKG_CONFIG = @PKG_CONFIG@ 251PKG_CONFIG = @PKG_CONFIG@
252PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
253PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
251POSUB = @POSUB@ 254POSUB = @POSUB@
252RANLIB = @RANLIB@ 255RANLIB = @RANLIB@
253SCIM_CFLAGS = @SCIM_CFLAGS@ 256SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -258,6 +261,7 @@ SDL_LIBS = @SDL_LIBS@
258SED = @SED@ 261SED = @SED@
259SET_MAKE = @SET_MAKE@ 262SET_MAKE = @SET_MAKE@
260SHELL = @SHELL@ 263SHELL = @SHELL@
264SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
261SSL_CFLAGS = @SSL_CFLAGS@ 265SSL_CFLAGS = @SSL_CFLAGS@
262SSL_LIBS = @SSL_LIBS@ 266SSL_LIBS = @SSL_LIBS@
263STRIP = @STRIP@ 267STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_ipc/ecore_ipc.c b/libraries/ecore/src/lib/ecore_ipc/ecore_ipc.c
index e27134d..0210f1d 100644
--- a/libraries/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/libraries/ecore/src/lib/ecore_ipc/ecore_ipc.c
@@ -316,7 +316,10 @@ ecore_ipc_shutdown(void)
316 if (--_ecore_ipc_init_count != 0) 316 if (--_ecore_ipc_init_count != 0)
317 return _ecore_ipc_init_count; 317 return _ecore_ipc_init_count;
318 318
319 while (servers) ecore_ipc_server_del(eina_list_data_get(servers)); 319 Eina_List *l, *l2;
320 Ecore_Ipc_Server *svr;
321 EINA_LIST_FOREACH_SAFE(servers, l, l2, svr)
322 ecore_ipc_server_del(svr);
320 323
321 for (i = 0; i < 6; i++) 324 for (i = 0; i < 6; i++)
322 ecore_event_handler_del(handler[i]); 325 ecore_event_handler_del(handler[i]);
diff --git a/libraries/ecore/src/lib/ecore_psl1ght/Makefile.in b/libraries/ecore/src/lib/ecore_psl1ght/Makefile.in
index 487231b..54a0435 100644
--- a/libraries/ecore/src/lib/ecore_psl1ght/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_psl1ght/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -194,6 +193,8 @@ EVAS_LIBS = @EVAS_LIBS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 193EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 194EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 195EXEEXT = @EXEEXT@
196EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
197EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 198FGREP = @FGREP@
198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 199GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
199GLIB_CFLAGS = @GLIB_CFLAGS@ 200GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -249,6 +250,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 250PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
250PIXMAN_LIBS = @PIXMAN_LIBS@ 251PIXMAN_LIBS = @PIXMAN_LIBS@
251PKG_CONFIG = @PKG_CONFIG@ 252PKG_CONFIG = @PKG_CONFIG@
253PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
254PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
252POSUB = @POSUB@ 255POSUB = @POSUB@
253RANLIB = @RANLIB@ 256RANLIB = @RANLIB@
254SCIM_CFLAGS = @SCIM_CFLAGS@ 257SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -259,6 +262,7 @@ SDL_LIBS = @SDL_LIBS@
259SED = @SED@ 262SED = @SED@
260SET_MAKE = @SET_MAKE@ 263SET_MAKE = @SET_MAKE@
261SHELL = @SHELL@ 264SHELL = @SHELL@
265SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
262SSL_CFLAGS = @SSL_CFLAGS@ 266SSL_CFLAGS = @SSL_CFLAGS@
263SSL_LIBS = @SSL_LIBS@ 267SSL_LIBS = @SSL_LIBS@
264STRIP = @STRIP@ 268STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_sdl/Makefile.in b/libraries/ecore/src/lib/ecore_sdl/Makefile.in
index c0312b0..50003ab 100644
--- a/libraries/ecore/src/lib/ecore_sdl/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_sdl/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -193,6 +192,8 @@ EVAS_LIBS = @EVAS_LIBS@
193EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
194EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
195EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
196FGREP = @FGREP@ 197FGREP = @FGREP@
197GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
198GLIB_CFLAGS = @GLIB_CFLAGS@ 199GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -248,6 +249,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
248PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
249PIXMAN_LIBS = @PIXMAN_LIBS@ 250PIXMAN_LIBS = @PIXMAN_LIBS@
250PKG_CONFIG = @PKG_CONFIG@ 251PKG_CONFIG = @PKG_CONFIG@
252PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
253PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
251POSUB = @POSUB@ 254POSUB = @POSUB@
252RANLIB = @RANLIB@ 255RANLIB = @RANLIB@
253SCIM_CFLAGS = @SCIM_CFLAGS@ 256SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -258,6 +261,7 @@ SDL_LIBS = @SDL_LIBS@
258SED = @SED@ 261SED = @SED@
259SET_MAKE = @SET_MAKE@ 262SET_MAKE = @SET_MAKE@
260SHELL = @SHELL@ 263SHELL = @SHELL@
264SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
261SSL_CFLAGS = @SSL_CFLAGS@ 265SSL_CFLAGS = @SSL_CFLAGS@
262SSL_LIBS = @SSL_LIBS@ 266SSL_LIBS = @SSL_LIBS@
263STRIP = @STRIP@ 267STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_wayland/Ecore_Wayland.h b/libraries/ecore/src/lib/ecore_wayland/Ecore_Wayland.h
index fdf6314..7dab37c 100644
--- a/libraries/ecore/src/lib/ecore_wayland/Ecore_Wayland.h
+++ b/libraries/ecore/src/lib/ecore_wayland/Ecore_Wayland.h
@@ -1,8 +1,13 @@
1#ifndef _ECORE_WAYLAND_H_ 1#ifndef _ECORE_WAYLAND_H_
2# define _ECORE_WAYLAND_H_ 2# define _ECORE_WAYLAND_H_
3 3
4# define GL_GLEXT_PROTOTYPES
5
4# include <Eina.h> 6# include <Eina.h>
5# include <wayland-client.h> 7# include <wayland-client.h>
8# include <wayland-egl.h> // NB: already includes wayland-client.h
9# include <EGL/egl.h>
10# include <EGL/eglext.h>
6 11
7# ifdef EAPI 12# ifdef EAPI
8# undef EAPI 13# undef EAPI
@@ -18,71 +23,233 @@
18# define EAPI 23# define EAPI
19# endif 24# endif
20 25
26typedef enum _Ecore_Wl_Window_Type Ecore_Wl_Window_Type;
27typedef enum _Ecore_Wl_Window_Buffer_Type Ecore_Wl_Window_Buffer_Type;
28
29typedef struct _Ecore_Wl_Display Ecore_Wl_Display;
30typedef struct _Ecore_Wl_Output Ecore_Wl_Output;
31typedef struct _Ecore_Wl_Input Ecore_Wl_Input;
32# ifndef _ECORE_WAYLAND_WINDOW_PREDEF
33typedef struct _Ecore_Wl_Window Ecore_Wl_Window;
34# endif
35typedef struct _Ecore_Wl_Dnd_Source Ecore_Wl_Dnd_Source;
36typedef struct _Ecore_Wl_Dnd_Target Ecore_Wl_Dnd_Target;
37
21typedef struct _Ecore_Wl_Event_Mouse_In Ecore_Wl_Event_Mouse_In; 38typedef struct _Ecore_Wl_Event_Mouse_In Ecore_Wl_Event_Mouse_In;
22typedef struct _Ecore_Wl_Event_Mouse_Out Ecore_Wl_Event_Mouse_Out; 39typedef struct _Ecore_Wl_Event_Mouse_Out Ecore_Wl_Event_Mouse_Out;
23typedef struct _Ecore_Wl_Event_Focus_In Ecore_Wl_Event_Focus_In; 40typedef struct _Ecore_Wl_Event_Focus_In Ecore_Wl_Event_Focus_In;
24typedef struct _Ecore_Wl_Event_Focus_Out Ecore_Wl_Event_Focus_Out; 41typedef struct _Ecore_Wl_Event_Focus_Out Ecore_Wl_Event_Focus_Out;
42typedef struct _Ecore_Wl_Event_Window_Configure Ecore_Wl_Event_Window_Configure;
43typedef struct _Ecore_Wl_Event_Dnd_Enter Ecore_Wl_Event_Dnd_Enter;
44typedef struct _Ecore_Wl_Event_Dnd_Position Ecore_Wl_Event_Dnd_Position;
45typedef struct _Ecore_Wl_Event_Dnd_Leave Ecore_Wl_Event_Dnd_Leave;
46typedef struct _Ecore_Wl_Event_Dnd_Drop Ecore_Wl_Event_Dnd_Drop;
47typedef struct _Ecore_Wl_Event_Interfaces_Bound Ecore_Wl_Event_Interfaces_Bound;
25 48
26typedef struct _Ecore_Wl_Drag_Source Ecore_Wl_Drag_Source; 49enum _Ecore_Wl_Window_Type
50{
51 ECORE_WL_WINDOW_TYPE_TOPLEVEL,
52 ECORE_WL_WINDOW_TYPE_FULLSCREEN,
53 ECORE_WL_WINDOW_TYPE_MAXIMIZED,
54 ECORE_WL_WINDOW_TYPE_TRANSIENT,
55 ECORE_WL_WINDOW_TYPE_MENU,
56 ECORE_WL_WINDOW_TYPE_CUSTOM
57};
27 58
28typedef struct _Ecore_Wl_Event_Drag_Start Ecore_Wl_Event_Drag_Start; 59enum _Ecore_Wl_Window_Buffer_Type
29typedef struct _Ecore_Wl_Event_Drag_Stop Ecore_Wl_Event_Drag_Stop; 60{
61 ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW,
62 ECORE_WL_WINDOW_BUFFER_TYPE_EGL_IMAGE,
63 ECORE_WL_WINDOW_BUFFER_TYPE_SHM
64};
30 65
31struct _Ecore_Wl_Event_Mouse_In 66struct _Ecore_Wl_Display
32{ 67{
33 int modifiers; 68 struct
34 int x, y; 69 {
70 struct wl_display *display;
71 struct wl_compositor *compositor;
72 struct wl_shell *shell;
73 struct wl_shm *shm;
74 struct wl_data_device_manager *data_device_manager;
75 } wl;
35 76
36 struct 77 struct
37 { 78 {
38 int x, y; 79 EGLDisplay display;
39 } root; 80 EGLConfig rgb_config;
81 EGLConfig argb_config;
82 EGLContext rgb_context;
83 EGLContext argb_context;
84 } egl;
85
86 int fd;
87 unsigned int mask;
88 Ecore_Fd_Handler *fd_hdl;
89
90 struct wl_list inputs;
91 struct wl_list outputs;
92
93 struct xkb_desc *xkb;
94
95 Ecore_Wl_Output *output;
96
97 PFNEGLCREATEIMAGEKHRPROC create_image;
98 PFNEGLDESTROYIMAGEKHRPROC destroy_image;
99
100 void (*output_configure)(Ecore_Wl_Output *output, void *data);
101 void *data;
102};
103
104struct _Ecore_Wl_Output
105{
106 Ecore_Wl_Display *display;
107 struct wl_output *output;
108 Eina_Rectangle allocation;
109 struct wl_list link;
110
111 void (*destroy) (Ecore_Wl_Output *output, void *data);
112 void *data;
113};
114
115struct _Ecore_Wl_Input
116{
117 Ecore_Wl_Display *display;
118 struct wl_input_device *input_device;
119 struct wl_data_device *data_device;
120
121 Ecore_Wl_Window *pointer_focus;
122 Ecore_Wl_Window *keyboard_focus;
123
124 unsigned int button;
125 unsigned int timestamp;
126 unsigned int modifiers;
127 int sx, sy;
128
129 struct wl_list link;
130
131 /* TODO: grab */
132 unsigned int grab_button;
133
134 Ecore_Wl_Dnd_Source *drag_source;
135 Ecore_Wl_Dnd_Source *selection_source;
136};
40 137
41 unsigned int window; 138struct _Ecore_Wl_Window
139{
140 Ecore_Wl_Display *display;
141 Ecore_Wl_Window *parent;
142
143 struct wl_surface *surface;
144 struct wl_shell_surface *shell_surface;
145
146 int id;
147 int x, y;
148 int edges;
149
150 Eina_Rectangle allocation, pending_allocation;
151 Eina_Rectangle saved_allocation, server_allocation;
42 152
43 unsigned int time; 153 /* Eina_Bool redraw_scheduled : 1; */
154 /* Eina_Bool resize_scheduled : 1; */
155 Eina_Bool transparent : 1;
156
157 Ecore_Wl_Window_Type type;
158 Ecore_Wl_Window_Buffer_Type buffer_type;
159
160 Ecore_Wl_Input *pointer_device;
161 Ecore_Wl_Input *keyboard_device;
162
163 void *data;
44}; 164};
45 165
46struct _Ecore_Wl_Event_Mouse_Out 166struct _Ecore_Wl_Event_Mouse_In
47{ 167{
48 int modifiers; 168 int modifiers;
49 int x, y; 169 int x, y;
170 struct
171 {
172 int x, y;
173 } root;
174 unsigned int win;
175 unsigned int event_win;
176 unsigned int root_win;
177 unsigned int timestamp;
178};
50 179
180struct _Ecore_Wl_Event_Mouse_Out
181{
182 int modifiers;
183 int x, y;
51 struct 184 struct
52 { 185 {
53 int x, y; 186 int x, y;
54 } root; 187 } root;
188 unsigned int win;
189 unsigned int event_win;
190 unsigned int root_win;
191 unsigned int timestamp;
192};
55 193
56 unsigned int window; 194struct _Ecore_Wl_Event_Focus_In
195{
196 unsigned int win;
197 unsigned int timestamp;
198};
57 199
58 unsigned int time; 200struct _Ecore_Wl_Event_Focus_Out
201{
202 unsigned int win;
203 unsigned int timestamp;
59}; 204};
60 205
61struct _Ecore_Wl_Event_Focus_In 206struct _Ecore_Wl_Event_Window_Configure
62{ 207{
63 unsigned int window; 208 unsigned int win;
64 /* TODO: mode & detail */ 209 unsigned int event_win;
65 unsigned int time; 210 int x, y, w, h;
211 unsigned int timestamp;
66}; 212};
67 213
68struct _Ecore_Wl_Event_Focus_Out 214struct _Ecore_Wl_Event_Dnd_Enter
69{ 215{
70 unsigned int window; 216 unsigned int win, source;
71 /* TODO: mode & detail */ 217 char **types;
72 unsigned int time; 218 int num_types;
219 struct
220 {
221 int x, y;
222 } position;
73}; 223};
74 224
75struct _Ecore_Wl_Event_Drag_Start 225struct _Ecore_Wl_Event_Dnd_Position
76{ 226{
77 struct wl_data_device *device; 227 unsigned int win, source;
78 struct wl_surface *surface; 228 struct
79 const char *mime_type; 229 {
80 uint32_t timestamp; 230 int x, y;
231 } position;
81}; 232};
82 233
83struct _Ecore_Wl_Event_Drag_Stop 234struct _Ecore_Wl_Event_Dnd_Leave
84{ 235{
236 unsigned int win, source;
237};
85 238
239struct _Ecore_Wl_Event_Dnd_Drop
240{
241 unsigned int win, source;
242 struct
243 {
244 int x, y;
245 } position;
246};
247
248struct _Ecore_Wl_Event_Interfaces_Bound
249{
250 Eina_Bool compositor : 1;
251 Eina_Bool shm : 1;
252 Eina_Bool shell : 1;
86}; 253};
87 254
88/** 255/**
@@ -92,32 +259,46 @@ struct _Ecore_Wl_Event_Drag_Stop
92 * Ecore_Wl provides a wrapper and convenience functions for using the 259 * Ecore_Wl provides a wrapper and convenience functions for using the
93 * Wayland window system. Function groups for this part of the library 260 * Wayland window system. Function groups for this part of the library
94 * include the following: 261 * include the following:
262 *
95 * @li @ref Ecore_Wl_Init_Group 263 * @li @ref Ecore_Wl_Init_Group
264 * @li @ref Ecore_Wl_Display_Group
265 * @li @ref Ecore_Wl_Flush_Group
266 * @li @ref Ecore_Wl_Window_Group
96 */ 267 */
97 268
269EAPI extern int ECORE_WL_EVENT_MOUSE_IN;
270EAPI extern int ECORE_WL_EVENT_MOUSE_OUT;
271EAPI extern int ECORE_WL_EVENT_FOCUS_IN;
272EAPI extern int ECORE_WL_EVENT_FOCUS_OUT;
273EAPI extern int ECORE_WL_EVENT_WINDOW_CONFIGURE;
274EAPI extern int ECORE_WL_EVENT_DND_ENTER;
275EAPI extern int ECORE_WL_EVENT_DND_POSITION;
276EAPI extern int ECORE_WL_EVENT_DND_LEAVE;
277EAPI extern int ECORE_WL_EVENT_DND_DROP;
278EAPI extern int ECORE_WL_EVENT_INTERFACES_BOUND;
279
98EAPI int ecore_wl_init(const char *name); 280EAPI int ecore_wl_init(const char *name);
99EAPI int ecore_wl_shutdown(void); 281EAPI int ecore_wl_shutdown(void);
100
101EAPI struct wl_display *ecore_wl_display_get(void);
102EAPI struct wl_shm *ecore_wl_shm_get(void);
103EAPI struct wl_compositor *ecore_wl_compositor_get(void);
104EAPI struct wl_shell *ecore_wl_shell_get(void);
105EAPI struct wl_input_device *ecore_wl_input_device_get(void);
106EAPI void ecore_wl_screen_size_get(int *w, int *h);
107EAPI unsigned int ecore_wl_format_get(void);
108EAPI void ecore_wl_flush(void); 282EAPI void ecore_wl_flush(void);
109EAPI void ecore_wl_sync(void); 283EAPI void ecore_wl_sync(void);
284EAPI struct wl_shm *ecore_wl_shm_get(void);
285EAPI struct wl_display *ecore_wl_display_get(void);
286EAPI void ecore_wl_screen_size_get(int *w, int *h);
110EAPI void ecore_wl_pointer_xy_get(int *x, int *y); 287EAPI void ecore_wl_pointer_xy_get(int *x, int *y);
111 288
112EAPI Ecore_Wl_Drag_Source *ecore_wl_drag_source_create(int hotspot_x, int hotspot_y, int offset_x, int offset_y, const char *mimetype, unsigned int timestamp, void *data); 289EAPI Ecore_Wl_Window *ecore_wl_window_new(Ecore_Wl_Window *parent, int x, int y, int w, int h, int buffer_type);
113EAPI void ecore_wl_drag_start(Ecore_Wl_Drag_Source *source, struct wl_surface *surface, struct wl_buffer *buffer); 290EAPI void ecore_wl_window_free(Ecore_Wl_Window *win);
114EAPI void ecore_wl_drag_stop(void); 291EAPI void ecore_wl_window_move(Ecore_Wl_Window *win, int x, int y);
115 292EAPI void ecore_wl_window_resize(Ecore_Wl_Window *win, int w, int h, int location);
116EAPI extern int ECORE_WL_EVENT_MOUSE_IN; 293EAPI void ecore_wl_window_damage(Ecore_Wl_Window *win, int x, int y, int w, int h);
117EAPI extern int ECORE_WL_EVENT_MOUSE_OUT; 294EAPI void ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, int x, int y);
118EAPI extern int ECORE_WL_EVENT_FOCUS_IN; 295EAPI void ecore_wl_window_show(Ecore_Wl_Window *win);
119EAPI extern int ECORE_WL_EVENT_FOCUS_OUT; 296EAPI void ecore_wl_window_hide(Ecore_Wl_Window *win);
120EAPI extern int ECORE_WL_EVENT_DRAG_START; 297EAPI void ecore_wl_window_raise(Ecore_Wl_Window *win);
121EAPI extern int ECORE_WL_EVENT_DRAG_STOP; 298EAPI void ecore_wl_window_maximized_set(Ecore_Wl_Window *win, Eina_Bool maximized);
299EAPI void ecore_wl_window_fullscreen_set(Ecore_Wl_Window *win, Eina_Bool fullscreen);
300EAPI void ecore_wl_window_update_size(Ecore_Wl_Window *win, int w, int h);
301EAPI struct wl_surface *ecore_wl_window_surface_get(Ecore_Wl_Window *win);
302EAPI Ecore_Wl_Window *ecore_wl_window_find(unsigned int id);
122 303
123#endif 304#endif
diff --git a/libraries/ecore/src/lib/ecore_wayland/Makefile.am b/libraries/ecore/src/lib/ecore_wayland/Makefile.am
index ea005b2..f6b801d 100644
--- a/libraries/ecore/src/lib/ecore_wayland/Makefile.am
+++ b/libraries/ecore/src/lib/ecore_wayland/Makefile.am
@@ -14,9 +14,11 @@ includes_HEADERS = Ecore_Wayland.h
14includesdir = $(includedir)/ecore-@VMAJ@ 14includesdir = $(includedir)/ecore-@VMAJ@
15 15
16libecore_wayland_la_SOURCES = \ 16libecore_wayland_la_SOURCES = \
17ecore_wl.c 17ecore_wl.c \
18 18ecore_wl_output.c \
19## ecore_wl_window.c 19ecore_wl_input.c \
20ecore_wl_window.c \
21ecore_wl_dnd.c
20 22
21libecore_wayland_la_LIBADD = \ 23libecore_wayland_la_LIBADD = \
22$(top_builddir)/src/lib/ecore/libecore.la \ 24$(top_builddir)/src/lib/ecore/libecore.la \
diff --git a/libraries/ecore/src/lib/ecore_wayland/Makefile.in b/libraries/ecore/src/lib/ecore_wayland/Makefile.in
index 411da19..39c633d 100644
--- a/libraries/ecore/src/lib/ecore_wayland/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_wayland/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -86,7 +85,8 @@ am__base_list = \
86 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 85 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
87am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includesdir)" 86am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includesdir)"
88LTLIBRARIES = $(lib_LTLIBRARIES) 87LTLIBRARIES = $(lib_LTLIBRARIES)
89am_libecore_wayland_la_OBJECTS = ecore_wl.lo 88am_libecore_wayland_la_OBJECTS = ecore_wl.lo ecore_wl_output.lo \
89 ecore_wl_input.lo ecore_wl_window.lo ecore_wl_dnd.lo
90libecore_wayland_la_OBJECTS = $(am_libecore_wayland_la_OBJECTS) 90libecore_wayland_la_OBJECTS = $(am_libecore_wayland_la_OBJECTS)
91AM_V_lt = $(am__v_lt_$(V)) 91AM_V_lt = $(am__v_lt_$(V))
92am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) 92am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
@@ -190,6 +190,8 @@ EVAS_LIBS = @EVAS_LIBS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 196GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
195GLIB_CFLAGS = @GLIB_CFLAGS@ 197GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -245,6 +247,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
245PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 247PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
246PIXMAN_LIBS = @PIXMAN_LIBS@ 248PIXMAN_LIBS = @PIXMAN_LIBS@
247PKG_CONFIG = @PKG_CONFIG@ 249PKG_CONFIG = @PKG_CONFIG@
250PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
251PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
248POSUB = @POSUB@ 252POSUB = @POSUB@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
250SCIM_CFLAGS = @SCIM_CFLAGS@ 254SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -255,6 +259,7 @@ SDL_LIBS = @SDL_LIBS@
255SED = @SED@ 259SED = @SED@
256SET_MAKE = @SET_MAKE@ 260SET_MAKE = @SET_MAKE@
257SHELL = @SHELL@ 261SHELL = @SHELL@
262SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
258SSL_CFLAGS = @SSL_CFLAGS@ 263SSL_CFLAGS = @SSL_CFLAGS@
259SSL_LIBS = @SSL_LIBS@ 264SSL_LIBS = @SSL_LIBS@
260STRIP = @STRIP@ 265STRIP = @STRIP@
@@ -482,7 +487,11 @@ lib_LTLIBRARIES = libecore_wayland.la
482includes_HEADERS = Ecore_Wayland.h 487includes_HEADERS = Ecore_Wayland.h
483includesdir = $(includedir)/ecore-@VMAJ@ 488includesdir = $(includedir)/ecore-@VMAJ@
484libecore_wayland_la_SOURCES = \ 489libecore_wayland_la_SOURCES = \
485ecore_wl.c 490ecore_wl.c \
491ecore_wl_output.c \
492ecore_wl_input.c \
493ecore_wl_window.c \
494ecore_wl_dnd.c
486 495
487libecore_wayland_la_LIBADD = \ 496libecore_wayland_la_LIBADD = \
488$(top_builddir)/src/lib/ecore/libecore.la \ 497$(top_builddir)/src/lib/ecore/libecore.la \
@@ -569,6 +578,10 @@ distclean-compile:
569 -rm -f *.tab.c 578 -rm -f *.tab.c
570 579
571@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_wl.Plo@am__quote@ 580@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_wl.Plo@am__quote@
581@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_wl_dnd.Plo@am__quote@
582@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_wl_input.Plo@am__quote@
583@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_wl_output.Plo@am__quote@
584@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecore_wl_window.Plo@am__quote@
572 585
573.c.o: 586.c.o:
574@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 587@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff --git a/libraries/ecore/src/lib/ecore_wayland/ecore_wl.c b/libraries/ecore/src/lib/ecore_wayland/ecore_wl.c
index f62503b..5f1b20d 100644
--- a/libraries/ecore/src/lib/ecore_wayland/ecore_wl.c
+++ b/libraries/ecore/src/lib/ecore_wayland/ecore_wl.c
@@ -1,16 +1,11 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "config.h" 2# include <config.h>
3#endif 3#endif
4 4
5#include "Ecore.h" 5#include <fcntl.h>
6#include "ecore_private.h"
7#include "Ecore_Input.h"
8#include "ecore_wl_private.h"
9#include "Ecore_Wayland.h"
10 6
11/* FIXME: This gives BTN_LEFT/RIGHT/MIDDLE for linux systems ... 7/* FIXME: This gives BTN_LEFT/RIGHT/MIDDLE for linux systems ...
12 * What about other OSs ?? */ 8 * What about other OSs ?? */
13#include <fcntl.h>
14#ifdef __linux__ 9#ifdef __linux__
15# include <linux/input.h> 10# include <linux/input.h>
16#else 11#else
@@ -23,150 +18,86 @@
23# define BTN_BACK 0x116 18# define BTN_BACK 0x116
24#endif 19#endif
25 20
26#include <X11/extensions/XKBcommon.h> 21#include "Ecore.h"
22#include "ecore_private.h"
23#include "Ecore_Input.h"
24#include "ecore_wl_private.h"
25#include "Ecore_Wayland.h"
27 26
28/* local function prototypes */ 27/* local function prototypes */
29static Eina_Bool _ecore_wl_shutdown(Eina_Bool close_display); 28static Eina_Bool _ecore_wl_shutdown(Eina_Bool close);
30static void _ecore_wl_cb_disp_handle_global(struct wl_display *disp, uint32_t id, const char *interface, uint32_t version __UNUSED__, void *data __UNUSED__); 29static int _ecore_wl_cb_event_mask_update(unsigned int mask, void *data);
31static int _ecore_wl_cb_disp_event_mask_update(uint32_t mask, void *data __UNUSED__); 30static Eina_Bool _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl __UNUSED__);
32static void _ecore_wl_cb_disp_handle_geometry(void *data __UNUSED__, struct wl_output *output __UNUSED__, int x, int y, int pw __UNUSED__, int ph __UNUSED__, int subpixel __UNUSED__, const char *make __UNUSED__, const char *model __UNUSED__); 31static void _ecore_wl_cb_handle_global(struct wl_display *disp, unsigned int id, const char *interface, unsigned int version __UNUSED__, void *data);
33static void _ecore_wl_cb_disp_handle_mode(void *data __UNUSED__, struct wl_output *output __UNUSED__, uint32_t flags, int w, int h, int refresh __UNUSED__); 32static Eina_Bool _ecore_wl_egl_init(Ecore_Wl_Display *ewd);
34static Eina_Bool _ecore_wl_cb_fd_handle(void *data, Ecore_Fd_Handler *hdl __UNUSED__); 33static Eina_Bool _ecore_wl_egl_shutdown(Ecore_Wl_Display *ewd);
35static void _ecore_wl_cb_handle_motion(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, int32_t x, int32_t y, int32_t sx, int32_t sy); 34static Eina_Bool _ecore_wl_xkb_init(Ecore_Wl_Display *ewd);
36static void _ecore_wl_cb_handle_button(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, uint32_t btn, uint32_t state); 35static Eina_Bool _ecore_wl_xkb_shutdown(Ecore_Wl_Display *ewd);
37static void _ecore_wl_cb_handle_key(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t __UNUSED__, uint32_t key, uint32_t state);
38static void _ecore_wl_cb_handle_pointer_focus(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, struct wl_surface *surface, int32_t x, int32_t y, int32_t sx, int32_t sy);
39static void _ecore_wl_cb_handle_keyboard_focus(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t __UNUSED__, struct wl_surface *surface, struct wl_array *keys);
40static void _ecore_wl_cb_handle_touch_down(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__, uint32_t timestamp, struct wl_surface *surface, int32_t id, int32_t x, int32_t y);
41static void _ecore_wl_cb_handle_touch_up(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__, uint32_t timestamp, int32_t id);
42static void _ecore_wl_cb_handle_touch_motion(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__, uint32_t timestamp, int32_t id, int32_t x, int32_t y);
43static void _ecore_wl_cb_handle_touch_frame(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__);
44static void _ecore_wl_cb_handle_touch_cancel(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__);
45static void _ecore_wl_cb_source_target(void *data, struct wl_data_source *source __UNUSED__, const char *mime_type __UNUSED__);
46static void _ecore_wl_cb_source_send(void *data, struct wl_data_source *source, const char *mime_type, int32_t fd);
47static void _ecore_wl_cb_source_cancelled(void *data, struct wl_data_source *source __UNUSED__);
48static void _ecore_wl_cb_source_offer(void *data, struct wl_data_offer *offer __UNUSED__, const char *type);
49static void _ecore_wl_cb_data_offer(void *data, struct wl_data_device *data_dev, uint32_t id);
50static void _ecore_wl_cb_data_enter(void *data __UNUSED__, struct wl_data_device *data_dev, uint32_t timestamp, struct wl_surface *surface, int32_t x, int32_t y, struct wl_data_offer *offer);
51static void _ecore_wl_cb_data_leave(void *data __UNUSED__, struct wl_data_device *data_dev);
52static void _ecore_wl_cb_data_motion(void *data __UNUSED__, struct wl_data_device *data_dev, uint32_t timestamp, int32_t x, int32_t y);
53static void _ecore_wl_cb_data_drop(void *data __UNUSED__, struct wl_data_device *data_dev);
54static void _ecore_wl_cb_data_selection(void *data, struct wl_data_device *data_dev, struct wl_data_offer *offer);
55
56static void _ecore_wl_mouse_move_send(uint32_t timestamp);
57static void _ecore_wl_mouse_out_send(struct wl_surface *surface, uint32_t timestamp);
58static void _ecore_wl_mouse_in_send(struct wl_surface *surface, uint32_t timestamp);
59static void _ecore_wl_mouse_up_send(struct wl_surface *surface, uint32_t button, uint32_t timestamp);
60static void _ecore_wl_mouse_down_send(struct wl_surface *surface, uint32_t button, uint32_t timestamp);
61static void _ecore_wl_focus_out_send(struct wl_surface *surface, uint32_t timestamp);
62static void _ecore_wl_focus_in_send(struct wl_surface *surface, uint32_t timestamp);
63 36
64/* local variables */ 37/* local variables */
65static int _ecore_wl_init_count = 0; 38static int _ecore_wl_init_count = 0;
66static struct wl_display *_ecore_wl_disp = NULL;
67static uint32_t _ecore_wl_disp_mask = 0;
68static uint32_t _ecore_wl_disp_format = WL_SHM_FORMAT_ARGB8888;
69static Eina_Rectangle _ecore_wl_screen;
70static Ecore_Fd_Handler *_ecore_wl_fd_hdl = NULL;
71static int _ecore_wl_screen_x = 0;
72static int _ecore_wl_screen_y = 0;
73static int _ecore_wl_surface_x = 0;
74static int _ecore_wl_surface_y = 0;
75static int _ecore_wl_touch_x = 0;
76static int _ecore_wl_touch_y = 0;
77static int _ecore_wl_input_modifiers = 0;
78static struct xkb_desc *_ecore_wl_xkb;
79static uint32_t _ecore_wl_input_button = 0;
80
81static struct wl_compositor *_ecore_wl_comp;
82static struct wl_shm *_ecore_wl_shm;
83static struct wl_shell *_ecore_wl_shell;
84static struct wl_output *_ecore_wl_output;
85static struct wl_input_device *_ecore_wl_input_dev;
86static struct wl_surface *_ecore_wl_input_surface;
87static struct wl_surface *_ecore_wl_touch_surface;
88static struct wl_data_device_manager *_ecore_wl_data_manager;
89static struct wl_data_device *_ecore_wl_data_dev;
90
91static const struct wl_output_listener _ecore_wl_output_listener =
92{
93 _ecore_wl_cb_disp_handle_geometry,
94 _ecore_wl_cb_disp_handle_mode
95};
96static const struct wl_input_device_listener _ecore_wl_input_listener =
97{
98 _ecore_wl_cb_handle_motion,
99 _ecore_wl_cb_handle_button,
100 _ecore_wl_cb_handle_key,
101 _ecore_wl_cb_handle_pointer_focus,
102 _ecore_wl_cb_handle_keyboard_focus,
103 _ecore_wl_cb_handle_touch_down,
104 _ecore_wl_cb_handle_touch_up,
105 _ecore_wl_cb_handle_touch_motion,
106 _ecore_wl_cb_handle_touch_frame,
107 _ecore_wl_cb_handle_touch_cancel,
108};
109static const struct wl_data_source_listener _ecore_wl_source_listener =
110{
111 _ecore_wl_cb_source_target,
112 _ecore_wl_cb_source_send,
113 _ecore_wl_cb_source_cancelled
114};
115static const struct wl_data_device_listener _ecore_wl_data_listener =
116{
117 _ecore_wl_cb_data_offer,
118 _ecore_wl_cb_data_enter,
119 _ecore_wl_cb_data_leave,
120 _ecore_wl_cb_data_motion,
121 _ecore_wl_cb_data_drop,
122 _ecore_wl_cb_data_selection
123};
124static const struct wl_data_offer_listener _ecore_wl_offer_listener =
125{
126 _ecore_wl_cb_source_offer,
127};
128 39
129/* external variables */ 40/* external variables */
130int _ecore_wl_log_dom = -1; 41int _ecore_wl_log_dom = -1;
42Ecore_Wl_Display *_ecore_wl_disp = NULL;
43
131EAPI int ECORE_WL_EVENT_MOUSE_IN = 0; 44EAPI int ECORE_WL_EVENT_MOUSE_IN = 0;
132EAPI int ECORE_WL_EVENT_MOUSE_OUT = 0; 45EAPI int ECORE_WL_EVENT_MOUSE_OUT = 0;
133EAPI int ECORE_WL_EVENT_FOCUS_IN = 0; 46EAPI int ECORE_WL_EVENT_FOCUS_IN = 0;
134EAPI int ECORE_WL_EVENT_FOCUS_OUT = 0; 47EAPI int ECORE_WL_EVENT_FOCUS_OUT = 0;
135EAPI int ECORE_WL_EVENT_DRAG_START = 0; 48EAPI int ECORE_WL_EVENT_WINDOW_CONFIGURE = 0;
136EAPI int ECORE_WL_EVENT_DRAG_STOP = 0; 49EAPI int ECORE_WL_EVENT_DND_ENTER = 0;
137 50EAPI int ECORE_WL_EVENT_DND_POSITION = 0;
51EAPI int ECORE_WL_EVENT_DND_LEAVE = 0;
52EAPI int ECORE_WL_EVENT_DND_DROP = 0;
53EAPI int ECORE_WL_EVENT_INTERFACES_BOUND = 0;
54
55/**
56 * @defgroup Ecore_Wl_Init_Group Wayland Library Init and Shutdown Functions
57 *
58 * Functions that start and shutdown the Ecore Wayland Library.
59 */
60
61/**
62 * Initialize the Wayland display connection to the given display.
63 *
64 * @param name Display target name. if @c NULL, the default display is
65 * assumed.
66 * @return The number of times the library has been initialized without being
67 * shut down. 0 is returned if an error occurs.
68 *
69 * @ingroup Ecore_Wl_Init_Group
70 */
138EAPI int 71EAPI int
139ecore_wl_init(const char *name) 72ecore_wl_init(const char *name)
140{ 73{
141 struct xkb_rule_names xkb_names;
142 int fd = 0;
143
144 if (++_ecore_wl_init_count != 1)
145 return _ecore_wl_init_count;
146
147 LOGFN(__FILE__, __LINE__, __FUNCTION__); 74 LOGFN(__FILE__, __LINE__, __FUNCTION__);
148 75
76 if (++_ecore_wl_init_count != 1) return _ecore_wl_init_count;
77
149 if (!eina_init()) return --_ecore_wl_init_count; 78 if (!eina_init()) return --_ecore_wl_init_count;
150 79
151 _ecore_wl_log_dom = 80 _ecore_wl_log_dom =
152 eina_log_domain_register("ecore_wl", ECORE_WL_DEFAULT_LOG_COLOR); 81 eina_log_domain_register("ecore_wl", ECORE_WL_DEFAULT_LOG_COLOR);
153 if (_ecore_wl_log_dom < 0) 82 if (_ecore_wl_log_dom < 0)
154 { 83 {
155 EINA_LOG_ERR("Cannot create a log domain for Ecore Wayland."); 84 EINA_LOG_ERR("Cannot create a log domain for Ecore Wayland");
156 eina_shutdown(); 85 eina_shutdown();
157 return --_ecore_wl_init_count; 86 return --_ecore_wl_init_count;
158 } 87 }
159 88
160 if (!ecore_init()) 89 if (!ecore_init())
161 { 90 {
91 ERR("Could not initialize ecore");
162 eina_log_domain_unregister(_ecore_wl_log_dom); 92 eina_log_domain_unregister(_ecore_wl_log_dom);
163 _ecore_wl_log_dom = -1; 93 _ecore_wl_log_dom = -1;
164 eina_shutdown(); 94 eina_shutdown();
165 return --_ecore_wl_init_count; 95 return --_ecore_wl_init_count;
166 } 96 }
167 97
168 if (!ecore_event_init()) 98 if (!ecore_event_init())
169 { 99 {
100 ERR("Could not initialize ecore_event");
170 eina_log_domain_unregister(_ecore_wl_log_dom); 101 eina_log_domain_unregister(_ecore_wl_log_dom);
171 _ecore_wl_log_dom = -1; 102 _ecore_wl_log_dom = -1;
172 ecore_shutdown(); 103 ecore_shutdown();
@@ -174,26 +105,23 @@ ecore_wl_init(const char *name)
174 return --_ecore_wl_init_count; 105 return --_ecore_wl_init_count;
175 } 106 }
176 107
177 if (!ECORE_WL_EVENT_MOUSE_IN) 108 if (!ECORE_WL_EVENT_MOUSE_IN)
178 { 109 {
179 ECORE_WL_EVENT_MOUSE_IN = ecore_event_type_new(); 110 ECORE_WL_EVENT_MOUSE_IN = ecore_event_type_new();
180 ECORE_WL_EVENT_MOUSE_OUT = ecore_event_type_new(); 111 ECORE_WL_EVENT_MOUSE_OUT = ecore_event_type_new();
181 ECORE_WL_EVENT_FOCUS_IN = ecore_event_type_new(); 112 ECORE_WL_EVENT_FOCUS_IN = ecore_event_type_new();
182 ECORE_WL_EVENT_FOCUS_OUT = ecore_event_type_new(); 113 ECORE_WL_EVENT_FOCUS_OUT = ecore_event_type_new();
183 ECORE_WL_EVENT_DRAG_START = ecore_event_type_new(); 114 ECORE_WL_EVENT_WINDOW_CONFIGURE = ecore_event_type_new();
184 ECORE_WL_EVENT_DRAG_STOP = ecore_event_type_new(); 115 ECORE_WL_EVENT_DND_ENTER = ecore_event_type_new();
116 ECORE_WL_EVENT_DND_POSITION = ecore_event_type_new();
117 ECORE_WL_EVENT_DND_LEAVE = ecore_event_type_new();
118 ECORE_WL_EVENT_DND_DROP = ecore_event_type_new();
119 ECORE_WL_EVENT_INTERFACES_BOUND = ecore_event_type_new();
185 } 120 }
186 121
187 /* init xkb */ 122 if (!(_ecore_wl_disp = malloc(sizeof(Ecore_Wl_Display))))
188 /* FIXME: Somehow make this portable to other languages/countries */
189 xkb_names.rules = "evdev";
190 xkb_names.model = "evdev";
191 xkb_names.layout = "us";
192 xkb_names.variant = "";
193 xkb_names.options = "";
194 if (!(_ecore_wl_xkb = xkb_compile_keymap_from_rules(&xkb_names)))
195 { 123 {
196 ERR("Could not compile keymap"); 124 ERR("Could not allocate memory for Ecore_Wl_Display structure");
197 eina_log_domain_unregister(_ecore_wl_log_dom); 125 eina_log_domain_unregister(_ecore_wl_log_dom);
198 _ecore_wl_log_dom = -1; 126 _ecore_wl_log_dom = -1;
199 ecore_event_shutdown(); 127 ecore_event_shutdown();
@@ -202,9 +130,11 @@ ecore_wl_init(const char *name)
202 return --_ecore_wl_init_count; 130 return --_ecore_wl_init_count;
203 } 131 }
204 132
205 /* connect to the wayland display */ 133 memset(_ecore_wl_disp, 0, sizeof(Ecore_Wl_Display));
206 if (!(_ecore_wl_disp = wl_display_connect(name))) 134
135 if (!(_ecore_wl_disp->wl.display = wl_display_connect(name)))
207 { 136 {
137 ERR("Could not connect to Wayland display");
208 eina_log_domain_unregister(_ecore_wl_log_dom); 138 eina_log_domain_unregister(_ecore_wl_log_dom);
209 _ecore_wl_log_dom = -1; 139 _ecore_wl_log_dom = -1;
210 ecore_event_shutdown(); 140 ecore_event_shutdown();
@@ -213,23 +143,48 @@ ecore_wl_init(const char *name)
213 return --_ecore_wl_init_count; 143 return --_ecore_wl_init_count;
214 } 144 }
215 145
216 /* setup handler for wayland interfaces */ 146 _ecore_wl_disp->fd =
217 wl_display_add_global_listener(_ecore_wl_disp, 147 wl_display_get_fd(_ecore_wl_disp->wl.display,
218 _ecore_wl_cb_disp_handle_global, NULL); 148 _ecore_wl_cb_event_mask_update, _ecore_wl_disp);
149
150 _ecore_wl_disp->fd_hdl =
151 ecore_main_fd_handler_add(_ecore_wl_disp->fd, ECORE_FD_READ,
152 _ecore_wl_cb_handle_data, _ecore_wl_disp,
153 NULL, NULL);
154
155 wl_list_init(&_ecore_wl_disp->inputs);
156 wl_list_init(&_ecore_wl_disp->outputs);
157
158 wl_display_add_global_listener(_ecore_wl_disp->wl.display,
159 _ecore_wl_cb_handle_global, _ecore_wl_disp);
160
161 /* FIXME: Process connection events ?? */
162 wl_display_iterate(_ecore_wl_disp->wl.display, WL_DISPLAY_READABLE);
163
164 /* if (!_ecore_wl_egl_init(_ecore_wl_disp)) */
165 /* { */
166 /* ERR("Could not initialize EGL"); */
167 /* free(_ecore_wl_disp); */
168 /* eina_log_domain_unregister(_ecore_wl_log_dom); */
169 /* _ecore_wl_log_dom = -1; */
170 /* ecore_event_shutdown(); */
171 /* ecore_shutdown(); */
172 /* eina_shutdown(); */
173 /* return --_ecore_wl_init_count; */
174 /* } */
219 175
220 /* process connection events */ 176 /* _ecore_wl_disp->create_image = */
221 wl_display_iterate(_ecore_wl_disp, WL_DISPLAY_READABLE); 177 /* (void *)eglGetProcAddress("eglCreateImageKHR"); */
178 /* _ecore_wl_disp->destroy_image = */
179 /* (void *)eglGetProcAddress("eglDestroyImageKHR"); */
222 180
223 fd = wl_display_get_fd(_ecore_wl_disp, 181 /* TODO: create pointer surfaces */
224 _ecore_wl_cb_disp_event_mask_update, NULL);
225 182
226 _ecore_wl_fd_hdl = 183 if (!_ecore_wl_xkb_init(_ecore_wl_disp))
227 ecore_main_fd_handler_add(fd, ECORE_FD_READ, _ecore_wl_cb_fd_handle,
228 _ecore_wl_disp, NULL, NULL);
229 if (!_ecore_wl_fd_hdl)
230 { 184 {
231 wl_display_destroy(_ecore_wl_disp); 185 ERR("Could not initialize XKB");
232 _ecore_wl_disp = NULL; 186 _ecore_wl_egl_shutdown(_ecore_wl_disp);
187 free(_ecore_wl_disp);
233 eina_log_domain_unregister(_ecore_wl_log_dom); 188 eina_log_domain_unregister(_ecore_wl_log_dom);
234 _ecore_wl_log_dom = -1; 189 _ecore_wl_log_dom = -1;
235 ecore_event_shutdown(); 190 ecore_event_shutdown();
@@ -238,976 +193,359 @@ ecore_wl_init(const char *name)
238 return --_ecore_wl_init_count; 193 return --_ecore_wl_init_count;
239 } 194 }
240 195
196 _ecore_wl_window_init();
197
241 return _ecore_wl_init_count; 198 return _ecore_wl_init_count;
242} 199}
243 200
201/**
202 * Shuts down the Ecore Wayland Library
203 *
204 * In shutting down the library, the Wayland display connection is terminated
205 * and any event handlers for it are removed.
206 *
207 * @return The number of times the library has been initialized without
208 * being shut down.
209 *
210 * @ingroup Ecore_Wl_Init_Group
211 */
244EAPI int 212EAPI int
245ecore_wl_shutdown(void) 213ecore_wl_shutdown(void)
246{ 214{
247 return _ecore_wl_shutdown(EINA_TRUE); 215 LOGFN(__FILE__, __LINE__, __FUNCTION__);
248}
249
250EAPI struct wl_display *
251ecore_wl_display_get(void)
252{
253 return _ecore_wl_disp;
254}
255
256EAPI struct wl_shm *
257ecore_wl_shm_get(void)
258{
259 return _ecore_wl_shm;
260}
261
262EAPI struct wl_compositor *
263ecore_wl_compositor_get(void)
264{
265 return _ecore_wl_comp;
266}
267 216
268EAPI struct wl_shell * 217 return _ecore_wl_shutdown(EINA_TRUE);
269ecore_wl_shell_get(void)
270{
271 return _ecore_wl_shell;
272} 218}
273 219
274EAPI struct wl_input_device * 220/**
275ecore_wl_input_device_get(void) 221 * @defgroup Ecore_Wl_Flush_Group Wayland Synchronization Functions
276{ 222 *
277 return _ecore_wl_input_dev; 223 * Functions that ensure that all commands which have been issued by the
278} 224 * Ecore Wayland library have been sent to the server.
225 */
279 226
227/**
228 * Sends all Wayland commands to the Wayland Display.
229 *
230 * @ingroup Ecore_Wl_Flush_Group
231 * @since 1.2
232 */
280EAPI void 233EAPI void
281ecore_wl_screen_size_get(int *w, int *h) 234ecore_wl_flush(void)
282{ 235{
283 if (w) *w = _ecore_wl_screen.w; 236 LOGFN(__FILE__, __LINE__, __FUNCTION__);
284 if (h) *h = _ecore_wl_screen.h;
285}
286
287EAPI unsigned int
288ecore_wl_format_get(void)
289{
290 return _ecore_wl_disp_format;
291}
292 237
293EAPI void 238 while (_ecore_wl_disp->mask & WL_DISPLAY_WRITABLE)
294ecore_wl_flush(void) 239 wl_display_iterate(_ecore_wl_disp->wl.display, WL_DISPLAY_WRITABLE);
295{ 240// wl_display_flush(_ecore_wl_disp->wl.display); // old flush code
296 wl_display_flush(_ecore_wl_disp);
297} 241}
298 242
243/**
244 * Flushes the command buffer and waits until all requests have been
245 * processed by the server.
246 *
247 * @ingroup Ecore_Wl_Flush_Group
248 * @since 1.2
249 */
299EAPI void 250EAPI void
300ecore_wl_sync(void) 251ecore_wl_sync(void)
301{ 252{
302 wl_display_iterate(_ecore_wl_disp, WL_DISPLAY_READABLE); 253 LOGFN(__FILE__, __LINE__, __FUNCTION__);
303}
304 254
305EAPI void 255 wl_display_roundtrip(_ecore_wl_disp->wl.display);
306ecore_wl_pointer_xy_get(int *x, int *y) 256 // old sync code
257// wl_display_iterate(_ecore_wl_disp->wl.display, WL_DISPLAY_READABLE);
258}
259
260/**
261 * @defgroup Ecore_Wl_Display_Group Wayland Display Functions
262 *
263 * Functions that set and retrieve various information about the Wayland Display.
264 */
265
266/**
267 * Retrieves the Wayland Shm Interface used for the current Wayland connection.
268 *
269 * @return The current wayland shm interface
270 *
271 * @ingroup Ecore_Wl_Display_Group
272 * @since 1.2
273 */
274EAPI struct wl_shm *
275ecore_wl_shm_get(void)
307{ 276{
308 if (x) *x = _ecore_wl_screen_x; 277 return _ecore_wl_disp->wl.shm;
309 if (y) *y = _ecore_wl_screen_y;
310} 278}
311 279
312EAPI Ecore_Wl_Drag_Source * 280/**
313ecore_wl_drag_source_create(int hotspot_x, int hotspot_y, int offset_x, int offset_y, const char *mimetype, unsigned int timestamp, void *data) 281 * Retrieves the Wayland Display Interface used for the current Wayland connection.
282 *
283 * @return The current wayland display interface
284 *
285 * @ingroup Ecore_Wl_Display_Group
286 * @since 1.2
287 */
288EAPI struct wl_display *
289ecore_wl_display_get(void)
314{ 290{
315 Ecore_Wl_Drag_Source *source; 291 return _ecore_wl_disp->wl.display;
316
317 if (!(source = calloc(1, sizeof(Ecore_Wl_Drag_Source)))) return NULL;
318
319 source->data_dev = _ecore_wl_data_dev;
320 source->hotspot_x = hotspot_x;
321 source->hotspot_y = hotspot_y;
322 source->offset_x = offset_x;
323 source->offset_y = offset_y;
324 source->mimetype = mimetype;
325 source->timestamp = timestamp;
326 source->data = data;
327
328 source->data_source =
329 wl_data_device_manager_create_data_source(_ecore_wl_data_manager);
330
331 wl_data_source_add_listener(source->data_source,
332 &_ecore_wl_source_listener, source);
333
334 wl_data_source_offer(source->data_source, source->mimetype);
335
336 /* NB: Do we add some default mimetypes here ?? */
337 /* text/plain, etc */
338
339 return source;
340} 292}
341 293
294/**
295 * Retrieves the size of the current screen.
296 *
297 * @param w where to return the width. May be NULL. Returns 0 on error.
298 * @param h where to return the height. May be NULL. Returns 0 on error.
299 *
300 * @ingroup Ecore_Wl_Display_Group
301 * @since 1.2
302 */
342EAPI void 303EAPI void
343ecore_wl_drag_start(Ecore_Wl_Drag_Source *source, struct wl_surface *surface, struct wl_buffer *buffer) 304ecore_wl_screen_size_get(int *w, int *h)
344{ 305{
345 source->buffer = buffer; 306 LOGFN(__FILE__, __LINE__, __FUNCTION__);
346 307
347 wl_data_device_start_drag(source->data_dev, source->data_source, 308 if (w) *w = _ecore_wl_disp->output->allocation.w;
348 surface, source->timestamp); 309 if (h) *h = _ecore_wl_disp->output->allocation.h;
349} 310}
350 311
312/* @since 1.2 */
351EAPI void 313EAPI void
352ecore_wl_drag_stop(void) 314ecore_wl_pointer_xy_get(int *x, int *y)
353{ 315{
316 LOGFN(__FILE__, __LINE__, __FUNCTION__);
354 317
318 _ecore_wl_input_pointer_xy_get(x, y);
355} 319}
356 320
357/* local functions */ 321/* local functions */
358static Eina_Bool 322static Eina_Bool
359_ecore_wl_shutdown(Eina_Bool close_display) 323_ecore_wl_shutdown(Eina_Bool close)
360{ 324{
361 LOGFN(__FILE__, __LINE__, __FUNCTION__); 325 LOGFN(__FILE__, __LINE__, __FUNCTION__);
362 326
363 if (--_ecore_wl_init_count != 0) 327 if (--_ecore_wl_init_count != 0) return _ecore_wl_init_count;
364 return _ecore_wl_init_count;
365
366 if (!_ecore_wl_disp) return _ecore_wl_init_count; 328 if (!_ecore_wl_disp) return _ecore_wl_init_count;
367 329
368 if (_ecore_wl_xkb) free(_ecore_wl_xkb); 330 _ecore_wl_window_shutdown();
369 331
370 if (_ecore_wl_fd_hdl) ecore_main_fd_handler_del(_ecore_wl_fd_hdl); 332 if (_ecore_wl_disp->fd_hdl)
371 _ecore_wl_fd_hdl = NULL; 333 ecore_main_fd_handler_del(_ecore_wl_disp->fd_hdl);
372 334
373 if (close_display) 335 if (close)
374 { 336 {
375 if (_ecore_wl_data_dev) wl_data_device_destroy(_ecore_wl_data_dev); 337 Ecore_Wl_Output *out, *tout;
376 if (_ecore_wl_input_dev) wl_input_device_destroy(_ecore_wl_input_dev); 338 Ecore_Wl_Input *in, *tin;
377 if (_ecore_wl_data_manager) 339
378 wl_data_device_manager_destroy(_ecore_wl_data_manager); 340 wl_list_for_each_safe(out, tout, &_ecore_wl_disp->outputs, link)
379 if (_ecore_wl_shell) wl_shell_destroy(_ecore_wl_shell); 341 _ecore_wl_output_del(out);
380 if (_ecore_wl_shm) wl_shm_destroy(_ecore_wl_shm); 342
381 if (_ecore_wl_comp) wl_compositor_destroy(_ecore_wl_comp); 343 wl_list_for_each_safe(in, tin, &_ecore_wl_disp->inputs, link)
382 if (_ecore_wl_disp) 344 _ecore_wl_input_del(in);
345
346 _ecore_wl_xkb_shutdown(_ecore_wl_disp);
347 /* _ecore_wl_egl_shutdown(_ecore_wl_disp); */
348
349 if (_ecore_wl_disp->wl.shell)
350 wl_shell_destroy(_ecore_wl_disp->wl.shell);
351 if (_ecore_wl_disp->wl.shm) wl_shm_destroy(_ecore_wl_disp->wl.shm);
352 if (_ecore_wl_disp->wl.data_device_manager)
353 wl_data_device_manager_destroy(_ecore_wl_disp->wl.data_device_manager);
354 if (_ecore_wl_disp->wl.compositor)
355 wl_compositor_destroy(_ecore_wl_disp->wl.compositor);
356 if (_ecore_wl_disp->wl.display)
383 { 357 {
384 wl_display_flush(_ecore_wl_disp); 358 wl_display_flush(_ecore_wl_disp->wl.display);
385 wl_display_destroy(_ecore_wl_disp); 359 wl_display_disconnect(_ecore_wl_disp->wl.display);
386 } 360 }
387 _ecore_wl_disp = NULL; 361 free(_ecore_wl_disp);
388 } 362 }
389 363
390 eina_log_domain_unregister(_ecore_wl_log_dom);
391 _ecore_wl_log_dom = -1;
392
393 ecore_event_shutdown(); 364 ecore_event_shutdown();
394 ecore_shutdown(); 365 ecore_shutdown();
366
367 eina_log_domain_unregister(_ecore_wl_log_dom);
368 _ecore_wl_log_dom = -1;
395 eina_shutdown(); 369 eina_shutdown();
396 370
397 return _ecore_wl_init_count; 371 return _ecore_wl_init_count;
398} 372}
399 373
400static void
401_ecore_wl_cb_disp_handle_global(struct wl_display *disp, uint32_t id, const char *interface, uint32_t version __UNUSED__, void *data __UNUSED__)
402{
403// LOGFN(__FILE__, __LINE__, __FUNCTION__);
404
405 if (disp != _ecore_wl_disp) return;
406 if (!strcmp(interface, "wl_compositor"))
407 {
408 _ecore_wl_comp =
409 wl_display_bind(_ecore_wl_disp, id, &wl_compositor_interface);
410 }
411 else if (!strcmp(interface, "wl_shm"))
412 {
413 _ecore_wl_shm =
414 wl_display_bind(_ecore_wl_disp, id, &wl_shm_interface);
415 }
416 else if (!strcmp(interface, "wl_output"))
417 {
418 _ecore_wl_output =
419 wl_display_bind(_ecore_wl_disp, id, &wl_output_interface);
420 wl_output_add_listener(_ecore_wl_output,
421 &_ecore_wl_output_listener, NULL);
422 }
423 else if (!strcmp(interface, "wl_shell"))
424 {
425 _ecore_wl_shell =
426 wl_display_bind(_ecore_wl_disp, id, &wl_shell_interface);
427 }
428 else if (!strcmp(interface, "wl_input_device"))
429 {
430 _ecore_wl_input_dev =
431 wl_display_bind(_ecore_wl_disp, id, &wl_input_device_interface);
432 wl_input_device_add_listener(_ecore_wl_input_dev,
433 &_ecore_wl_input_listener, NULL);
434 }
435 else if (!strcmp(interface, "wl_data_device_manager"))
436 {
437 _ecore_wl_data_manager =
438 wl_display_bind(_ecore_wl_disp, id,
439 &wl_data_device_manager_interface);
440 }
441
442 if ((_ecore_wl_input_dev) && (_ecore_wl_data_manager) && (!_ecore_wl_data_dev))
443 {
444 _ecore_wl_data_dev =
445 wl_data_device_manager_get_data_device(_ecore_wl_data_manager,
446 _ecore_wl_input_dev);
447 wl_data_device_add_listener(_ecore_wl_data_dev,
448 &_ecore_wl_data_listener, NULL);
449 }
450}
451
452static int 374static int
453_ecore_wl_cb_disp_event_mask_update(uint32_t mask, void *data __UNUSED__) 375_ecore_wl_cb_event_mask_update(unsigned int mask, void *data)
454{ 376{
455// LOGFN(__FILE__, __LINE__, __FUNCTION__); 377 Ecore_Wl_Display *ewd;
456 378
457 _ecore_wl_disp_mask = mask; 379 LOGFN(__FILE__, __LINE__, __FUNCTION__);
458 380
381 ewd = data;
382 ewd->mask = mask;
459 return 0; 383 return 0;
460} 384}
461 385
462static void
463_ecore_wl_cb_disp_handle_geometry(void *data __UNUSED__, struct wl_output *output __UNUSED__, int x, int y, int pw __UNUSED__, int ph __UNUSED__, int subpixel __UNUSED__, const char *make __UNUSED__, const char *model __UNUSED__)
464{
465 _ecore_wl_screen.x = x;
466 _ecore_wl_screen.y = y;
467}
468
469static void
470_ecore_wl_cb_disp_handle_mode(void *data __UNUSED__, struct wl_output *output __UNUSED__, uint32_t flags, int w, int h, int refresh __UNUSED__)
471{
472 if (flags & WL_OUTPUT_MODE_CURRENT)
473 {
474 _ecore_wl_screen.w = w;
475 _ecore_wl_screen.h = h;
476 }
477}
478
479static Eina_Bool 386static Eina_Bool
480_ecore_wl_cb_fd_handle(void *data, Ecore_Fd_Handler *hdl __UNUSED__) 387_ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl __UNUSED__)
481{ 388{
482 struct wl_display *disp; 389 Ecore_Wl_Display *ewd;
483
484// LOGFN(__FILE__, __LINE__, __FUNCTION__);
485
486 if (!(disp = data)) return ECORE_CALLBACK_RENEW;
487 if (disp != _ecore_wl_disp) return ECORE_CALLBACK_RENEW;
488 390
489 if (_ecore_wl_disp_mask & WL_DISPLAY_WRITABLE) 391 LOGFN(__FILE__, __LINE__, __FUNCTION__);
490 wl_display_iterate(_ecore_wl_disp, WL_DISPLAY_WRITABLE);
491
492 if (_ecore_wl_disp_mask & WL_DISPLAY_READABLE)
493 wl_display_iterate(_ecore_wl_disp, WL_DISPLAY_READABLE);
494 392
393 if (!(ewd = data)) return ECORE_CALLBACK_RENEW;
394 wl_display_iterate(ewd->wl.display, ewd->mask);
495 return ECORE_CALLBACK_RENEW; 395 return ECORE_CALLBACK_RENEW;
496} 396}
497 397
498static void 398static void
499_ecore_wl_cb_handle_motion(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, int32_t x, int32_t y, int32_t sx, int32_t sy) 399_ecore_wl_cb_handle_global(struct wl_display *disp, unsigned int id, const char *interface, unsigned int version __UNUSED__, void *data)
500{
501 if (dev != _ecore_wl_input_dev) return;
502
503 _ecore_wl_screen_x = x;
504 _ecore_wl_screen_y = y;
505 _ecore_wl_surface_x = sx;
506 _ecore_wl_surface_y = sy;
507
508 _ecore_wl_mouse_move_send(t);
509}
510
511static void
512_ecore_wl_cb_handle_button(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, uint32_t btn, uint32_t state)
513{
514 if (dev != _ecore_wl_input_dev) return;
515
516 if ((btn >= BTN_SIDE) && (btn <= BTN_BACK))
517 {
518 Ecore_Event_Mouse_Wheel *ev;
519
520 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Wheel)))) return;
521
522 ev->timestamp = t;
523 ev->x = _ecore_wl_surface_x;
524 ev->y = _ecore_wl_surface_y;
525 ev->root.x = _ecore_wl_screen_x;
526 ev->root.y = _ecore_wl_screen_y;
527 ev->modifiers = _ecore_wl_input_modifiers;
528 ev->direction = 0;
529
530 if (_ecore_wl_input_surface)
531 {
532 unsigned int id = 0;
533
534 if ((id = (unsigned int)wl_surface_get_user_data(_ecore_wl_input_surface)))
535 {
536 ev->window = id;
537 ev->event_window = id;
538 }
539 }
540
541 /* NB: (FIXME) Currently Wayland provides no measure of how much the
542 * wheel has scrolled (read: delta of movement). So for now, we will
543 * just assume that the amount scrolled is 1 */
544 if ((btn == BTN_EXTRA) || (btn == BTN_FORWARD)) // down
545 ev->z = 1;
546 else if ((btn == BTN_SIDE) || (btn == BTN_BACK)) // up
547 ev->z = -1;
548
549 ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL);
550 }
551 else
552 {
553 if (state)
554 {
555 _ecore_wl_input_button = btn;
556 _ecore_wl_mouse_down_send(_ecore_wl_input_surface, btn, t);
557 /* NB: Ideally, this is not the place to check for drags.
558 * IMO, drags should be handled by the client. EG: we raise the
559 * mouse_down to the client, and the client can 'request' a
560 * drag_start from ecore_wl */
561 if ((_ecore_wl_input_surface) || (_ecore_wl_touch_surface))
562 {
563 /* record item which was grabbed.
564 * create drag source. start drag */
565 }
566 }
567 else
568 {
569 if ((_ecore_wl_input_surface) || (_ecore_wl_touch_surface))
570 {
571 /* release grabbed button and finish drag */
572 if ((_ecore_wl_input_button) &&
573 (_ecore_wl_input_button == btn))
574 {
575
576 }
577 }
578 _ecore_wl_input_button = 0;
579 _ecore_wl_mouse_up_send(_ecore_wl_input_surface, btn, t);
580 }
581 }
582}
583
584static void
585_ecore_wl_cb_handle_key(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t __UNUSED__, uint32_t key, uint32_t state)
586{ 400{
587 unsigned int keycode = 0; 401 Ecore_Wl_Display *ewd;
588 402
589 if (dev != _ecore_wl_input_dev) return; 403 LOGFN(__FILE__, __LINE__, __FUNCTION__);
590 404
591 keycode = key + _ecore_wl_xkb->min_key_code; 405 if ((!strcmp(interface, "wl_display")) ||
406 (!strcmp(interface, "wl_drm")) ||
407 (!strcmp(interface, "desktop_shell")))
408 return;
592 409
593 if (state) 410 ewd = data;
594 _ecore_wl_input_modifiers |= _ecore_wl_xkb->map->modmap[keycode];
595 else
596 _ecore_wl_input_modifiers &= ~_ecore_wl_xkb->map->modmap[keycode];
597}
598 411
599static void 412 if (!strcmp(interface, "wl_compositor"))
600_ecore_wl_cb_handle_pointer_focus(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, struct wl_surface *surface, int32_t x, int32_t y, int32_t sx, int32_t sy) 413 ewd->wl.compositor = wl_display_bind(disp, id, &wl_compositor_interface);
601{ 414 else if (!strcmp(interface, "wl_output"))
602 if (dev != _ecore_wl_input_dev) return; 415 _ecore_wl_output_add(ewd, id);
603 416 else if (!strcmp(interface, "wl_input_device"))
604 /* NB: Wayland pointer focus is weird. It's not pointer focus in the normal 417 _ecore_wl_input_add(ewd, id);
605 * sense...Wayland 'moving/resizing' (and maybe other stuff) has a habit 418 else if (!strcmp(interface, "wl_shell"))
606 * of stealing the pointer focus and thus this cannot be used to control 419 ewd->wl.shell = wl_display_bind(disp, id, &wl_shell_interface);
607 * normal pointer focus. On mouse down, the 'active' surface is stolen 420 else if (!strcmp(interface, "wl_shm"))
608 * by Wayland for the grab, so 'surface' here ends up being NULL. When a 421 ewd->wl.shm = wl_display_bind(disp, id, &wl_shm_interface);
609 * move or resize is finished, we get this event again, but this time 422 else if (!strcmp(interface, "wl_data_device_manager"))
610 * with an active surface */
611 _ecore_wl_screen_x = x;
612 _ecore_wl_screen_y = y;
613 _ecore_wl_surface_x = sx;
614 _ecore_wl_surface_y = sy;
615
616 if ((_ecore_wl_input_surface) && (_ecore_wl_input_surface != surface))
617 { 423 {
618 if (!_ecore_wl_input_button) 424 ewd->wl.data_device_manager =
619 _ecore_wl_mouse_out_send(_ecore_wl_input_surface, t); 425 wl_display_bind(disp, id, &wl_data_device_manager_interface);
620 } 426 }
621 427
622 if (surface) 428 if ((ewd->wl.compositor) && (ewd->wl.shm) && (ewd->wl.shell))
623 { 429 {
624 if (_ecore_wl_input_button) 430 Ecore_Wl_Event_Interfaces_Bound *ev;
625 {
626 _ecore_wl_mouse_up_send(surface, _ecore_wl_input_button, t);
627 _ecore_wl_input_button = 0;
628 }
629 else
630 _ecore_wl_mouse_in_send(surface, t);
631 }
632}
633
634static void
635_ecore_wl_cb_handle_keyboard_focus(void *data __UNUSED__, struct wl_input_device *dev, uint32_t t, struct wl_surface *surface, struct wl_array *keys)
636{
637 unsigned int *keyend = 0, *i = 0;
638
639 if (dev != _ecore_wl_input_dev) return;
640
641 /* NB: Remove old keyboard focus */
642 if ((_ecore_wl_input_surface) && (_ecore_wl_input_surface != surface))
643 _ecore_wl_focus_out_send(_ecore_wl_input_surface, t);
644 431
645 _ecore_wl_input_surface = NULL; 432 if (!(ev = calloc(1, sizeof(Ecore_Wl_Event_Interfaces_Bound))))
433 return;
646 434
647 keyend = keys->data + keys->size; 435 ev->compositor = (ewd->wl.compositor != NULL);
648 _ecore_wl_input_modifiers = 0; 436 ev->shm = (ewd->wl.shm != NULL);
649 for (i = keys->data; i < keyend; i++) 437 ev->shell = (ewd->wl.shell != NULL);
650 _ecore_wl_input_modifiers |= _ecore_wl_xkb->map->modmap[*i];
651 438
652 if (surface) 439 ecore_event_add(ECORE_WL_EVENT_INTERFACES_BOUND, ev, NULL, NULL);
653 {
654 /* set new input surface */
655 _ecore_wl_input_surface = surface;
656
657 /* send mouse in to new surface */
658 /* _ecore_wl_mouse_in_send(surface, t); */
659
660 /* send focus to new surface */
661 _ecore_wl_focus_in_send(surface, t);
662 } 440 }
663} 441}
664 442
665static void 443static Eina_Bool
666_ecore_wl_cb_handle_touch_down(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__, uint32_t timestamp, struct wl_surface *surface, int32_t id, int32_t x, int32_t y) 444_ecore_wl_egl_init(Ecore_Wl_Display *ewd)
667{ 445{
668 Ecore_Event_Mouse_Button *ev; 446 EGLint major, minor, n;
669 447 static const EGLint context_attribs[] =
670 LOGFN(__FILE__, __LINE__, __FUNCTION__);
671
672 _ecore_wl_touch_surface = surface;
673 _ecore_wl_touch_x = x;
674 _ecore_wl_touch_y = y;
675
676 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Button)))) return;
677
678 ev->timestamp = timestamp;
679
680 /* NB: Need to verify using x,y for these */
681 ev->x = x;
682 ev->y = y;
683 ev->root.x = x;
684 ev->root.y = y;
685 ev->modifiers = 0;
686 ev->buttons = 0;
687 ev->same_screen = 1;
688
689 /* FIXME: Need to get these from Wayland somehow */
690 ev->double_click = 0;
691 ev->triple_click = 0;
692
693 ev->multi.device = id;
694 ev->multi.radius = 1;
695 ev->multi.radius_x = 1;
696 ev->multi.radius_y = 1;
697 ev->multi.pressure = 1.0;
698 ev->multi.angle = 0.0;
699 /* NB: Need to verify using x,y for these */
700 ev->multi.x = x;
701 ev->multi.y = y;
702 ev->multi.root.x = x;
703 ev->multi.root.y = y;
704
705 { 448 {
706 unsigned int id = 0; 449 EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE
707 450 };
708 if ((id = (unsigned int)wl_surface_get_user_data(surface))) 451 static const EGLint argb_attribs[] =
709 { 452 {
710 ev->window = id; 453 EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8, EGL_BLUE_SIZE, 8,
711 ev->event_window = id; 454 EGL_ALPHA_SIZE, 1, EGL_DEPTH_SIZE, 0, EGL_STENCIL_SIZE, 0,
712 } 455 EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, EGL_SURFACE_TYPE,
713 } 456 EGL_WINDOW_BIT, EGL_NONE
714 457 };
715 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, ev, NULL, NULL);
716}
717
718static void
719_ecore_wl_cb_handle_touch_up(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__, uint32_t timestamp, int32_t id)
720{
721 Ecore_Event_Mouse_Button *ev;
722 458
723 LOGFN(__FILE__, __LINE__, __FUNCTION__); 459 LOGFN(__FILE__, __LINE__, __FUNCTION__);
724 460
725 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Button)))) return; 461 ewd->egl.display = eglGetDisplay(ewd->wl.display);
726 462 if (!eglInitialize(ewd->egl.display, &major, &minor))
727 ev->timestamp = timestamp;
728
729 /* TODO: Need to verify using x,y for these */
730 ev->x = _ecore_wl_touch_x;
731 ev->y = _ecore_wl_touch_y;
732 ev->root.x = _ecore_wl_touch_x;
733 ev->root.y = _ecore_wl_touch_y;
734 ev->modifiers = 0;
735 ev->buttons = 0;
736 ev->same_screen = 1;
737
738 /* FIXME: Need to get these from Wayland somehow */
739 ev->double_click = 0;
740 ev->triple_click = 0;
741
742 ev->multi.device = id;
743 ev->multi.radius = 1;
744 ev->multi.radius_x = 1;
745 ev->multi.radius_y = 1;
746 ev->multi.pressure = 1.0;
747 ev->multi.angle = 0.0;
748
749 /* TODO: Need to verify using x,y for these */
750 ev->multi.x = _ecore_wl_touch_x;
751 ev->multi.y = _ecore_wl_touch_y;
752 ev->multi.root.x = _ecore_wl_touch_x;
753 ev->multi.root.y = _ecore_wl_touch_y;
754
755 { 463 {
756 unsigned int id = 0; 464 ERR("Failed to initialize EGL display");
757 465 return EINA_FALSE;
758 if ((id = (unsigned int)wl_surface_get_user_data(_ecore_wl_touch_surface)))
759 {
760 ev->window = id;
761 ev->event_window = id;
762 }
763 } 466 }
764 467
765 _ecore_wl_touch_surface = NULL; 468 if (!eglBindAPI(EGL_OPENGL_ES_API))
766
767 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, ev, NULL, NULL);
768}
769
770static void
771_ecore_wl_cb_handle_touch_motion(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__, uint32_t timestamp, int32_t id, int32_t x, int32_t y)
772{
773 Ecore_Event_Mouse_Move *ev;
774
775 LOGFN(__FILE__, __LINE__, __FUNCTION__);
776
777 if (!_ecore_wl_touch_surface) return;
778
779 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Move)))) return;
780
781 ev->timestamp = timestamp;
782 /* TODO: Need to verify using x,y for these */
783 ev->x = x;
784 ev->y = y;
785 ev->root.x = x;
786 ev->root.y = y;
787 ev->modifiers = 0; //_ecore_wl_input_modifiers;
788 ev->same_screen = 1;
789
790 ev->multi.device = id;
791 ev->multi.radius = 1;
792 ev->multi.radius_x = 1;
793 ev->multi.radius_y = 1;
794 ev->multi.pressure = 1.0;
795 ev->multi.angle = 0.0;
796
797 /* TODO: Need to verify using x,y for these */
798 ev->multi.x = x;
799 ev->multi.y = y;
800 ev->multi.root.x = x;
801 ev->multi.root.y = y;
802
803 { 469 {
804 unsigned int id = 0; 470 ERR("Failed to bind EGL Api");
805 471 return EINA_FALSE;
806 if ((id = (unsigned int)wl_surface_get_user_data(_ecore_wl_touch_surface)))
807 {
808 ev->window = id;
809 ev->event_window = id;
810 }
811 } 472 }
812 473
813 ecore_event_add(ECORE_EVENT_MOUSE_MOVE, ev, NULL, NULL); 474 if ((!eglChooseConfig(ewd->egl.display, argb_attribs, &ewd->egl.argb_config,
814} 475 1, &n)) || (n == 0))
815
816static void
817_ecore_wl_cb_handle_touch_frame(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__)
818{
819 LOGFN(__FILE__, __LINE__, __FUNCTION__);
820
821 /* FIXME: Need to get a device and actually test what happens here */
822}
823
824static void
825_ecore_wl_cb_handle_touch_cancel(void *data __UNUSED__, struct wl_input_device *dev __UNUSED__)
826{
827 LOGFN(__FILE__, __LINE__, __FUNCTION__);
828
829 /* FIXME: Need to get a device and actually test what happens here */
830 _ecore_wl_touch_surface = NULL;
831}
832
833static void
834_ecore_wl_cb_source_target(void *data, struct wl_data_source *source __UNUSED__, const char *mime_type __UNUSED__)
835{
836 Ecore_Wl_Drag_Source *s;
837
838 LOGFN(__FILE__, __LINE__, __FUNCTION__);
839
840 printf("Ecore_Wl Source Target\n");
841 if (!(s = data)) return;
842 printf("\tHave Drag Source\n");
843
844 /* FIXME: buffer here should really be the mouse cursor buffer */
845 wl_data_device_attach(s->data_dev, s->timestamp, s->buffer,
846 s->hotspot_x, s->hotspot_y);
847}
848
849static void
850_ecore_wl_cb_source_send(void *data, struct wl_data_source *source, const char *mime_type, int32_t fd)
851{
852 Ecore_Wl_Drag_Source *s;
853
854 LOGFN(__FILE__, __LINE__, __FUNCTION__);
855
856 printf("Ecore_Wl Source Send\n");
857 if (!(s = data)) return;
858 printf("\tHave Drag Source\n");
859
860 /* FIXME: write message to fd */
861
862 /* NB: Wayland really sucks in this regard. Why should selection stuff
863 * require an 'fd' ?? */
864}
865
866static void
867_ecore_wl_cb_source_cancelled(void *data, struct wl_data_source *source __UNUSED__)
868{
869 Ecore_Wl_Drag_Source *s;
870
871 LOGFN(__FILE__, __LINE__, __FUNCTION__);
872
873 /* The cancelled event usually means source is no longer in use by
874 * the drag (or selection). */
875
876 printf("Ecore_Wl Source Cancel\n");
877 if (!(s = data)) return;
878 printf("\tHave Drag Source\n");
879
880 /* FIXME: raise this to ecore_evas so the surface/buffer
881 * of the drag can be destroyed */
882
883 if (s->data_source) wl_data_source_destroy(s->data_source);
884 s->data_source = NULL;
885
886 free(s);
887}
888
889static void
890_ecore_wl_cb_source_offer(void *data, struct wl_data_offer *offer __UNUSED__, const char *type)
891{
892 Ecore_Wl_Dnd_Source *s;
893
894 if (!(s = data)) return;
895 eina_array_push(s->types, strdup(type));
896}
897
898static void
899_ecore_wl_cb_data_offer(void *data, struct wl_data_device *data_dev, uint32_t id)
900{
901 Ecore_Wl_Dnd_Source *source;
902
903 /* create a new 'data offer' structure and setup a listener for it */
904 if (!(source = calloc(1, sizeof(Ecore_Wl_Dnd_Source)))) return;
905
906 source->types = eina_array_new(1);
907 source->data = data;
908 source->refs = 1;
909
910 /* FIXME: This will need to change when Wayland has typesafe wrappers for this */
911 source->offer = (struct wl_data_offer *)
912 wl_proxy_create_for_id((struct wl_proxy *)data_dev,
913 id, &wl_data_offer_interface);
914
915 wl_data_device_set_user_data(data_dev, source);
916 wl_data_offer_add_listener(source->offer, &_ecore_wl_offer_listener, source);
917}
918
919static void
920_ecore_wl_cb_data_enter(void *data __UNUSED__, struct wl_data_device *data_dev, uint32_t timestamp, struct wl_surface *surface, int32_t x, int32_t y, struct wl_data_offer *offer)
921{
922 Ecore_Wl_Dnd_Source *source;
923
924 if (!(source = wl_data_device_get_user_data(data_dev))) return;
925
926 /* TODO: maybe set pointer focus here ?? */
927
928 source->timestamp = timestamp;
929}
930
931static void
932_ecore_wl_cb_data_leave(void *data __UNUSED__, struct wl_data_device *data_dev)
933{
934 Ecore_Wl_Dnd_Source *source;
935
936 if (!(source = wl_data_device_get_user_data(data_dev))) return;
937
938 /* destroy drag offer */
939 wl_data_offer_destroy(source->offer);
940
941 while (eina_array_count(source->types))
942 free(eina_array_pop(source->types));
943
944 eina_array_free(source->types);
945 free(source);
946
947 wl_data_device_set_user_data(data_dev, NULL);
948}
949
950static void
951_ecore_wl_cb_data_motion(void *data __UNUSED__, struct wl_data_device *data_dev, uint32_t timestamp, int32_t x, int32_t y)
952{
953 Ecore_Wl_Dnd_Source *source;
954
955 if (!(source = wl_data_device_get_user_data(data_dev))) return;
956 /* TODO: Here we should raise motion events for dragging */
957}
958
959static void
960_ecore_wl_cb_data_drop(void *data __UNUSED__, struct wl_data_device *data_dev)
961{
962 Ecore_Wl_Dnd_Source *source;
963
964 if (!(source = wl_data_device_get_user_data(data_dev))) return;
965
966 /* TODO: Raise event for drop */
967
968 wl_data_offer_accept(source->offer, source->timestamp, NULL);
969// eina_array_data_get(source->types, 0));
970}
971
972static void
973_ecore_wl_cb_data_selection(void *data, struct wl_data_device *data_dev, struct wl_data_offer *offer)
974{
975 Ecore_Wl_Dnd_Source *source;
976
977 printf("Ecore_Wl Data Selection\n");
978 if ((source = wl_data_device_get_user_data(data_dev)))
979 { 476 {
980 /* destroy old source */ 477 ERR("Failed to choose ARGB config");
981 wl_data_offer_destroy(source->offer); 478 return EINA_FALSE;
982
983 while (eina_array_count(source->types))
984 free(eina_array_pop(source->types));
985
986 eina_array_free(source->types);
987 free(source);
988
989 wl_data_device_set_user_data(data_dev, NULL);
990 } 479 }
991}
992
993static void
994_ecore_wl_mouse_move_send(uint32_t timestamp)
995{
996 Ecore_Event_Mouse_Move *ev;
997
998// if (!_ecore_wl_input_surface) return;
999
1000 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Move)))) return;
1001
1002 ev->timestamp = timestamp;
1003 ev->x = _ecore_wl_surface_x;
1004 ev->y = _ecore_wl_surface_y;
1005 ev->root.x = _ecore_wl_screen_x;
1006 ev->root.y = _ecore_wl_screen_y;
1007 ev->modifiers = _ecore_wl_input_modifiers;
1008
1009 ev->multi.device = 0;
1010 ev->multi.radius = 1;
1011 ev->multi.radius_x = 1;
1012 ev->multi.radius_y = 1;
1013 ev->multi.pressure = 1.0;
1014 ev->multi.angle = 0.0;
1015 ev->multi.x = _ecore_wl_surface_x;
1016 ev->multi.y = _ecore_wl_surface_y;
1017 ev->multi.root.x = _ecore_wl_screen_x;
1018 ev->multi.root.y = _ecore_wl_screen_y;
1019 480
481 ewd->egl.argb_context =
482 eglCreateContext(ewd->egl.display, ewd->egl.argb_config,
483 EGL_NO_CONTEXT, context_attribs);
484 if (!ewd->egl.argb_context)
1020 { 485 {
1021 unsigned int id = 0; 486 ERR("Failed to create ARGB context");
1022 487 return EINA_FALSE;
1023 if ((id = (unsigned int)wl_surface_get_user_data(_ecore_wl_input_surface)))
1024 {
1025 ev->window = id;
1026 ev->event_window = id;
1027 }
1028 } 488 }
1029 489
1030 ecore_event_add(ECORE_EVENT_MOUSE_MOVE, ev, NULL, NULL); 490 if (!eglMakeCurrent(ewd->egl.display, EGL_NO_SURFACE,
1031} 491 EGL_NO_SURFACE, ewd->egl.argb_context))
1032
1033static void
1034_ecore_wl_mouse_out_send(struct wl_surface *surface, uint32_t timestamp)
1035{
1036 Ecore_Wl_Event_Mouse_Out *ev;
1037
1038 if (!(ev = calloc(1, sizeof(Ecore_Wl_Event_Mouse_Out)))) return;
1039
1040 ev->x = _ecore_wl_surface_x;
1041 ev->y = _ecore_wl_surface_y;
1042 ev->root.x = _ecore_wl_screen_x;
1043 ev->root.y = _ecore_wl_screen_y;
1044 ev->modifiers = _ecore_wl_input_modifiers;
1045 ev->time = timestamp;
1046
1047 if (surface)
1048 { 492 {
1049 unsigned int id = 0; 493 ERR("Failed to make ARGB context current");
1050 494 return EINA_FALSE;
1051 if ((id = (unsigned int)wl_surface_get_user_data(surface)))
1052 ev->window = id;
1053 } 495 }
1054 496
1055 ecore_event_add(ECORE_WL_EVENT_MOUSE_OUT, ev, NULL, NULL); 497 return EINA_TRUE;
1056} 498}
1057 499
1058static void 500static Eina_Bool
1059_ecore_wl_mouse_in_send(struct wl_surface *surface, uint32_t timestamp) 501_ecore_wl_egl_shutdown(Ecore_Wl_Display *ewd)
1060{ 502{
1061 Ecore_Wl_Event_Mouse_In *ev; 503 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1062
1063 if (!(ev = calloc(1, sizeof(Ecore_Wl_Event_Mouse_In)))) return;
1064
1065 ev->x = _ecore_wl_surface_x;
1066 ev->y = _ecore_wl_surface_y;
1067 ev->root.x = _ecore_wl_screen_x;
1068 ev->root.y = _ecore_wl_screen_y;
1069 ev->modifiers = _ecore_wl_input_modifiers;
1070 ev->time = timestamp;
1071 504
1072 if (surface) 505 eglMakeCurrent(ewd->egl.display,
1073 { 506 EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
1074 unsigned int id = 0;
1075 507
1076 if ((id = (unsigned int)wl_surface_get_user_data(surface))) 508 eglDestroyContext(ewd->egl.display, ewd->egl.argb_context);
1077 ev->window = id;
1078 }
1079
1080 ecore_event_add(ECORE_WL_EVENT_MOUSE_IN, ev, NULL, NULL);
1081}
1082 509
1083static void 510 /* NB: This is hanging when we run elm apps as wayland clients
1084_ecore_wl_mouse_up_send(struct wl_surface *surface, uint32_t button, uint32_t timestamp) 511 * inside the weston compositor */
1085{
1086 Ecore_Event_Mouse_Button *ev;
1087
1088 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Button)))) return;
1089
1090 if (button == BTN_LEFT)
1091 ev->buttons = 1;
1092 else if (button == BTN_MIDDLE)
1093 ev->buttons = 2;
1094 else if (button == BTN_RIGHT)
1095 ev->buttons = 3;
1096
1097 ev->timestamp = timestamp;
1098 ev->x = _ecore_wl_surface_x;
1099 ev->y = _ecore_wl_surface_y;
1100 ev->root.x = _ecore_wl_screen_x;
1101 ev->root.y = _ecore_wl_screen_y;
1102 ev->modifiers = _ecore_wl_input_modifiers;
1103
1104 /* FIXME: Need to get these from Wayland somehow */
1105 ev->double_click = 0;
1106 ev->triple_click = 0;
1107
1108 ev->multi.device = 0;
1109 ev->multi.radius = 1;
1110 ev->multi.radius_x = 1;
1111 ev->multi.radius_y = 1;
1112 ev->multi.pressure = 1.0;
1113 ev->multi.angle = 0.0;
1114 ev->multi.x = _ecore_wl_surface_x;
1115 ev->multi.y = _ecore_wl_surface_y;
1116 ev->multi.root.x = _ecore_wl_screen_x;
1117 ev->multi.root.y = _ecore_wl_screen_y;
1118 512
1119 { 513 /* printf("Egl Terminate\n"); */
1120 unsigned int id = 0; 514 /* eglTerminate(ewd->egl.display); */
515 /* printf("Egl Terminate Done\n"); */
1121 516
1122 if ((id = (unsigned int)wl_surface_get_user_data(surface))) 517 eglReleaseThread();
1123 {
1124 ev->window = id;
1125 ev->event_window = id;
1126 }
1127 }
1128 518
1129 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, ev, NULL, NULL); 519 return EINA_TRUE;
1130} 520}
1131 521
1132static void 522static Eina_Bool
1133_ecore_wl_mouse_down_send(struct wl_surface *surface, uint32_t button, uint32_t timestamp) 523_ecore_wl_xkb_init(Ecore_Wl_Display *ewd)
1134{ 524{
1135 Ecore_Event_Mouse_Button *ev; 525 struct xkb_rule_names names;
1136
1137 if (!(ev = malloc(sizeof(Ecore_Event_Mouse_Button)))) return;
1138
1139 if (button == BTN_LEFT)
1140 ev->buttons = 1;
1141 else if (button == BTN_MIDDLE)
1142 ev->buttons = 2;
1143 else if (button == BTN_RIGHT)
1144 ev->buttons = 3;
1145
1146 ev->timestamp = timestamp;
1147 ev->x = _ecore_wl_surface_x;
1148 ev->y = _ecore_wl_surface_y;
1149 ev->root.x = _ecore_wl_screen_x;
1150 ev->root.y = _ecore_wl_screen_y;
1151 ev->modifiers = _ecore_wl_input_modifiers;
1152
1153 /* FIXME: Need to get these from Wayland somehow */
1154 ev->double_click = 0;
1155 ev->triple_click = 0;
1156
1157 ev->multi.device = 0;
1158 ev->multi.radius = 1;
1159 ev->multi.radius_x = 1;
1160 ev->multi.radius_y = 1;
1161 ev->multi.pressure = 1.0;
1162 ev->multi.angle = 0.0;
1163 ev->multi.x = _ecore_wl_surface_x;
1164 ev->multi.y = _ecore_wl_surface_y;
1165 ev->multi.root.x = _ecore_wl_screen_x;
1166 ev->multi.root.y = _ecore_wl_screen_y;
1167 526
1168 { 527 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1169 unsigned int id = 0;
1170
1171 if ((id = (unsigned int)wl_surface_get_user_data(surface)))
1172 {
1173 ev->window = id;
1174 ev->event_window = id;
1175 }
1176 }
1177 528
1178 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, ev, NULL, NULL); 529 names.rules = "evdev";
1179} 530 names.model = "evdev";
531 names.layout = "us";
532 names.variant = "";
533 names.options = "";
1180 534
1181static void 535 if (!(ewd->xkb = xkb_compile_keymap_from_rules(&names)))
1182_ecore_wl_focus_out_send(struct wl_surface *surface, uint32_t timestamp)
1183{
1184 Ecore_Wl_Event_Focus_Out *ev;
1185
1186 if (!(ev = calloc(1, sizeof(Ecore_Wl_Event_Focus_Out)))) return;
1187 ev->time = timestamp;
1188 if (surface)
1189 { 536 {
1190 unsigned int id = 0; 537 ERR("Failed to compile keymap");
1191 538 return EINA_FALSE;
1192 if ((id = (unsigned int)wl_surface_get_user_data(surface)))
1193 ev->window = id;
1194 } 539 }
1195 ecore_event_add(ECORE_WL_EVENT_FOCUS_OUT, ev, NULL, NULL); 540
541 return EINA_TRUE;
1196} 542}
1197 543
1198static void 544static Eina_Bool
1199_ecore_wl_focus_in_send(struct wl_surface *surface, uint32_t timestamp) 545_ecore_wl_xkb_shutdown(Ecore_Wl_Display *ewd)
1200{ 546{
1201 Ecore_Wl_Event_Focus_In *ev; 547 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1202
1203 if (!(ev = calloc(1, sizeof(Ecore_Wl_Event_Focus_In)))) return;
1204 ev->time = timestamp;
1205 if (surface)
1206 {
1207 unsigned int id = 0;
1208 548
1209 if ((id = (unsigned int)wl_surface_get_user_data(surface))) 549 if (ewd->xkb) xkb_free_keymap(ewd->xkb);
1210 ev->window = id; 550 return EINA_TRUE;
1211 }
1212 ecore_event_add(ECORE_WL_EVENT_FOCUS_IN, ev, NULL, NULL);
1213} 551}
diff --git a/libraries/ecore/src/lib/ecore_wayland/ecore_wl_private.h b/libraries/ecore/src/lib/ecore_wayland/ecore_wl_private.h
index eec5ffe..31956a1 100644
--- a/libraries/ecore/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/libraries/ecore/src/lib/ecore_wayland/ecore_wl_private.h
@@ -2,6 +2,9 @@
2# define _ECORE_WAYLAND_PRIVATE_H 2# define _ECORE_WAYLAND_PRIVATE_H
3 3
4# include <limits.h> 4# include <limits.h>
5# include <xkbcommon/xkbcommon.h>
6
7# include "Ecore_Wayland.h"
5 8
6//# define LOGFNS 1 9//# define LOGFNS 1
7 10
@@ -13,6 +16,7 @@
13# endif 16# endif
14 17
15extern int _ecore_wl_log_dom; 18extern int _ecore_wl_log_dom;
19extern Ecore_Wl_Display *_ecore_wl_disp;
16 20
17# ifdef ECORE_WL_DEFAULT_LOG_COLOR 21# ifdef ECORE_WL_DEFAULT_LOG_COLOR
18# undef ECORE_WL_DEFAULT_LOG_COLOR 22# undef ECORE_WL_DEFAULT_LOG_COLOR
@@ -44,42 +48,40 @@ extern int _ecore_wl_log_dom;
44# endif 48# endif
45# define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_wl_log_dom, __VA_ARGS__) 49# define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_wl_log_dom, __VA_ARGS__)
46 50
47typedef struct _Ecore_Wl_Dnd_Source 51struct _Ecore_Wl_Dnd_Source
48{ 52{
49 struct wl_data_offer *offer; 53 struct wl_data_offer *offer;
50 int refs; 54 Ecore_Wl_Input *input;
51 55 struct wl_array types;
52 Eina_Array *types; 56 int refcount;
57 int fd;
58 int x, y;
53 59
54 uint32_t timestamp; 60 /* TODO: task & data_func */
55 void *data; 61 void *data;
56} Ecore_Wl_Dnd_Source; 62};
57 63
58typedef struct _Ecore_Wl_Dnd_Target 64struct _Ecore_Wl_Dnd_Target
59{ 65{
60 /* NB: These are not the real fields for this structure, 66 Ecore_Wl_Dnd_Source *source;
61 * and it is Bound to change....soon */ 67};
62 struct wl_data_offer *offer;
63 int refs;
64
65 Eina_Array *types;
66 68
67 uint32_t timestamp; 69void _ecore_wl_window_init(void);
68 void *data; 70void _ecore_wl_window_shutdown(void);
69} Ecore_Wl_Dnd_Target;
70 71
71struct _Ecore_Wl_Drag_Source 72void _ecore_wl_output_add(Ecore_Wl_Display *ewd, unsigned int id);
72{ 73void _ecore_wl_output_del(Ecore_Wl_Output *output);
73 struct wl_data_device *data_dev;
74 struct wl_buffer *buffer;
75 74
76 int32_t hotspot_x, hotspot_y; 75void _ecore_wl_input_add(Ecore_Wl_Display *ewd, unsigned int id);
77 int32_t offset_x, offset_y; 76void _ecore_wl_input_del(Ecore_Wl_Input *input);
78 const char *mimetype; 77void _ecore_wl_input_pointer_xy_get(int *x, int *y);
79 uint32_t timestamp;
80 void *data;
81 78
82 struct wl_data_source *data_source; 79void _ecore_wl_dnd_add(Ecore_Wl_Input *input, struct wl_data_device *data_device, unsigned int id);
83}; 80void _ecore_wl_dnd_enter(void *data, struct wl_data_device *data_device __UNUSED__, unsigned int timestamp __UNUSED__, struct wl_surface *surface, int x, int y, struct wl_data_offer *offer);
81void _ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device __UNUSED__);
82void _ecore_wl_dnd_motion(void *data, struct wl_data_device *data_device __UNUSED__, unsigned int timestamp __UNUSED__, int x, int y);
83void _ecore_wl_dnd_drop(void *data, struct wl_data_device *data_device __UNUSED__);
84void _ecore_wl_dnd_selection(void *data, struct wl_data_device *data_device __UNUSED__, struct wl_data_offer *offer);
85void _ecore_wl_dnd_del(Ecore_Wl_Dnd_Source *source);
84 86
85#endif 87#endif
diff --git a/libraries/ecore/src/lib/ecore_win32/Ecore_Win32.h b/libraries/ecore/src/lib/ecore_win32/Ecore_Win32.h
index 95e3749..5df3346 100644
--- a/libraries/ecore/src/lib/ecore_win32/Ecore_Win32.h
+++ b/libraries/ecore/src/lib/ecore_win32/Ecore_Win32.h
@@ -460,7 +460,9 @@ EAPI void ecore_win32_window_lower(Ecore_Win32_Window *window);
460EAPI void ecore_win32_window_title_set(Ecore_Win32_Window *window, 460EAPI void ecore_win32_window_title_set(Ecore_Win32_Window *window,
461 const char *title); 461 const char *title);
462 462
463EAPI void ecore_win32_window_focus_set(Ecore_Win32_Window *window); 463EAPI void ecore_win32_window_focus(Ecore_Win32_Window *window);
464
465EAPI void *ecore_win32_window_focus_get(void);
464 466
465EAPI void ecore_win32_window_iconified_set(Ecore_Win32_Window *window, 467EAPI void ecore_win32_window_iconified_set(Ecore_Win32_Window *window,
466 Eina_Bool on); 468 Eina_Bool on);
@@ -471,11 +473,6 @@ EAPI void ecore_win32_window_borderless_set(Ecore_Win32_Window *window,
471EAPI void ecore_win32_window_fullscreen_set(Ecore_Win32_Window *window, 473EAPI void ecore_win32_window_fullscreen_set(Ecore_Win32_Window *window,
472 Eina_Bool on); 474 Eina_Bool on);
473 475
474EINA_DEPRECATED EAPI void ecore_win32_window_shape_set(Ecore_Win32_Window *window,
475 unsigned short width,
476 unsigned short height,
477 unsigned char *mask);
478
479EAPI void ecore_win32_window_cursor_set(Ecore_Win32_Window *window, 476EAPI void ecore_win32_window_cursor_set(Ecore_Win32_Window *window,
480 Ecore_Win32_Cursor *cursor); 477 Ecore_Win32_Cursor *cursor);
481 478
diff --git a/libraries/ecore/src/lib/ecore_win32/Makefile.in b/libraries/ecore/src/lib/ecore_win32/Makefile.in
index 9994ee7..b512021 100644
--- a/libraries/ecore/src/lib/ecore_win32/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_win32/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -213,6 +212,8 @@ EVAS_LIBS = @EVAS_LIBS@
213EVIL_CFLAGS = @EVIL_CFLAGS@ 212EVIL_CFLAGS = @EVIL_CFLAGS@
214EVIL_LIBS = @EVIL_LIBS@ 213EVIL_LIBS = @EVIL_LIBS@
215EXEEXT = @EXEEXT@ 214EXEEXT = @EXEEXT@
215EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
216EXOTIC_LIBS = @EXOTIC_LIBS@
216FGREP = @FGREP@ 217FGREP = @FGREP@
217GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 218GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
218GLIB_CFLAGS = @GLIB_CFLAGS@ 219GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -268,6 +269,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
268PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 269PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
269PIXMAN_LIBS = @PIXMAN_LIBS@ 270PIXMAN_LIBS = @PIXMAN_LIBS@
270PKG_CONFIG = @PKG_CONFIG@ 271PKG_CONFIG = @PKG_CONFIG@
272PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
273PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
271POSUB = @POSUB@ 274POSUB = @POSUB@
272RANLIB = @RANLIB@ 275RANLIB = @RANLIB@
273SCIM_CFLAGS = @SCIM_CFLAGS@ 276SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -278,6 +281,7 @@ SDL_LIBS = @SDL_LIBS@
278SED = @SED@ 281SED = @SED@
279SET_MAKE = @SET_MAKE@ 282SET_MAKE = @SET_MAKE@
280SHELL = @SHELL@ 283SHELL = @SHELL@
284SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
281SSL_CFLAGS = @SSL_CFLAGS@ 285SSL_CFLAGS = @SSL_CFLAGS@
282SSL_LIBS = @SSL_LIBS@ 286SSL_LIBS = @SSL_LIBS@
283STRIP = @STRIP@ 287STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h b/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h
index ab54763..e3e4426 100644
--- a/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h
+++ b/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h
@@ -71,8 +71,8 @@ struct _Ecore_Win32_Window
71 unsigned int min_height; 71 unsigned int min_height;
72 unsigned int max_width; 72 unsigned int max_width;
73 unsigned int max_height; 73 unsigned int max_height;
74 unsigned int base_width; 74 int base_width;
75 unsigned int base_height; 75 int base_height;
76 unsigned int step_width; 76 unsigned int step_width;
77 unsigned int step_height; 77 unsigned int step_height;
78 78
diff --git a/libraries/ecore/src/lib/ecore_win32/ecore_win32_window.c b/libraries/ecore/src/lib/ecore_win32/ecore_win32_window.c
index 459f051..058aef0 100644
--- a/libraries/ecore/src/lib/ecore_win32/ecore_win32_window.c
+++ b/libraries/ecore/src/lib/ecore_win32/ecore_win32_window.c
@@ -107,8 +107,8 @@ ecore_win32_window_internal_new(Ecore_Win32_Window *parent,
107 w->min_height = 0; 107 w->min_height = 0;
108 w->max_width = 32767; 108 w->max_width = 32767;
109 w->max_height = 32767; 109 w->max_height = 32767;
110 w->base_width = 0; 110 w->base_width = -1;
111 w->base_height = 0; 111 w->base_height = -1;
112 w->step_width = 1; 112 w->step_width = 1;
113 w->step_height = 1; 113 w->step_height = 1;
114 114
@@ -249,6 +249,8 @@ ecore_win32_window_free(Ecore_Win32_Window *window)
249 * 249 *
250 * This function returns the window HANDLE associated to @p window. If 250 * This function returns the window HANDLE associated to @p window. If
251 * @p window is @c NULL, this function returns @c NULL. 251 * @p window is @c NULL, this function returns @c NULL.
252 *
253 * @note The returned value is of type HWND.
252 */ 254 */
253EAPI void * 255EAPI void *
254ecore_win32_window_hwnd_get(Ecore_Win32_Window *window) 256ecore_win32_window_hwnd_get(Ecore_Win32_Window *window)
@@ -755,140 +757,6 @@ ecore_win32_window_size_step_get(Ecore_Win32_Window *window,
755 if (step_height) *step_height = window->step_height; 757 if (step_height) *step_height = window->step_height;
756} 758}
757 759
758EAPI void
759ecore_win32_window_shape_set(Ecore_Win32_Window *window,
760 unsigned short width,
761 unsigned short height,
762 unsigned char *mask)
763{
764 HRGN rgn;
765 int x;
766 int y;
767 OSVERSIONINFO version_info;
768
769 if (!window)
770 return;
771
772 if (!mask)
773 {
774 window->shape.enabled = 0;
775 if (window->shape.layered != 0)
776 {
777 window->shape.layered = 0;
778#if defined(WS_EX_LAYERED)
779 SetLastError(0);
780 if (!SetWindowLongPtr(window->window, GWL_EXSTYLE,
781 GetWindowLong(window->window, GWL_EXSTYLE) & (~WS_EX_LAYERED)) &&
782 (GetLastError() != 0))
783 {
784 ERR("SetWindowLongPtr() failed");
785 return;
786 }
787 if (!RedrawWindow(window->window, NULL, NULL,
788 RDW_ERASE | RDW_INVALIDATE | RDW_FRAME | RDW_ALLCHILDREN))
789 {
790 ERR("RedrawWindow() failed");
791 return;
792 }
793#endif
794 }
795 else
796 if (!SetWindowRgn(window->window, NULL, TRUE))
797 {
798 ERR("SetWindowRgn() failed");
799 }
800 return;
801 }
802
803 if (width == 0 || height == 0)
804 return;
805
806 window->shape.enabled = 1;
807
808 if (width != window->shape.width || height != window->shape.height)
809 {
810 window->shape.width = width;
811 window->shape.height = height;
812 if (window->shape.mask)
813 {
814 free(window->shape.mask);
815 window->shape.mask = NULL;
816 }
817 window->shape.mask = malloc(width * height);
818 }
819 memcpy(window->shape.mask, mask, width * height);
820
821 window->shape.layered = 0;
822
823#if defined(WS_EX_LAYERED)
824 version_info.dwOSVersionInfoSize = sizeof(version_info);
825 if (GetVersionEx(&version_info) == TRUE && version_info.dwMajorVersion == 5)
826 {
827 SetLastError(0);
828 if (!SetWindowLongPtr(window->window, GWL_EXSTYLE,
829 GetWindowLong(window->window, GWL_EXSTYLE) | WS_EX_LAYERED) &&
830 (GetLastError() != 0))
831 {
832 ERR("SetWindowLongPtr() failed");
833 return;
834 }
835 window->shape.layered = 1;
836 return;
837 }
838#endif
839
840 if (!(rgn = CreateRectRgn(0, 0, 0, 0)))
841 {
842 ERR("CreateRectRgn() failed");
843 return;
844 }
845 for (y = 0; y < height; y++)
846 {
847 HRGN rgnLine;
848
849 if (!(rgnLine = CreateRectRgn(0, 0, 0, 0)))
850 {
851 ERR("CreateRectRgn() failed");
852 return;
853 }
854 for (x = 0; x < width; x++)
855 {
856 if (mask[y * width + x] > 0)
857 {
858 HRGN rgnDot;
859
860 if (!(rgnDot = CreateRectRgn(x, y, x + 1, y + 1)))
861 {
862 ERR("CreateRectRgn() failed");
863 return;
864 }
865 if (CombineRgn(rgnLine, rgnLine, rgnDot, RGN_OR) == ERROR)
866 {
867 ERR("CombineRgn() has not created a new region");
868 }
869 if (!DeleteObject(rgnDot))
870 {
871 ERR("DeleteObject() failed");
872 return;
873 }
874 }
875 }
876 if (CombineRgn(rgn, rgn, rgnLine, RGN_OR) == ERROR)
877 {
878 ERR("CombineRgn() has not created a new region");
879 }
880 if (!DeleteObject(rgnLine))
881 {
882 ERR("DeleteObject() failed");
883 return;
884 }
885 }
886 if (!SetWindowRgn(window->window, rgn, TRUE))
887 {
888 ERR("SetWindowRgn() failed");
889 }
890}
891
892/** 760/**
893 * @brief Show the given window. 761 * @brief Show the given window.
894 * 762 *
@@ -1011,7 +879,7 @@ ecore_win32_window_title_set(Ecore_Win32_Window *window,
1011 * @c NULL, this function does nothing. 879 * @c NULL, this function does nothing.
1012 */ 880 */
1013EAPI void 881EAPI void
1014ecore_win32_window_focus_set(Ecore_Win32_Window *window) 882ecore_win32_window_focus(Ecore_Win32_Window *window)
1015{ 883{
1016 if (!window) return; 884 if (!window) return;
1017 885
@@ -1024,6 +892,37 @@ ecore_win32_window_focus_set(Ecore_Win32_Window *window)
1024} 892}
1025 893
1026/** 894/**
895 * @brief Get the current focused window.
896 *
897 * @return The window that has focus.
898 *
899 * This function returns the window that has focus. If the calling
900 * thread's message queue does not have an associated window with the
901 * keyboard focus, the return value is @c NULL.
902 *
903 * @note Even if the returned value is @c NULL, another thread's queue
904 * may be associated with a window that has the keyboard focus.
905 *
906 * @note The returned value is of type HWND.
907 */
908EAPI void *
909ecore_win32_window_focus_get(void)
910{
911 HWND focused;
912
913 INF("getting focused window");
914
915 focused = GetFocus();
916 if (!focused)
917 {
918 ERR("GetFocus() failed");
919 return NULL;
920 }
921
922 return focused;
923}
924
925/**
1027 * @brief Iconify or restore the given window. 926 * @brief Iconify or restore the given window.
1028 * 927 *
1029 * @param window The window. 928 * @param window The window.
diff --git a/libraries/ecore/src/lib/ecore_wince/Ecore_WinCE.h b/libraries/ecore/src/lib/ecore_wince/Ecore_WinCE.h
index 681b334..63e20d5 100644
--- a/libraries/ecore/src/lib/ecore_wince/Ecore_WinCE.h
+++ b/libraries/ecore/src/lib/ecore_wince/Ecore_WinCE.h
@@ -280,6 +280,10 @@ EAPI void ecore_wince_window_hide(Ecore_WinCE_Window *window);
280EAPI void ecore_wince_window_title_set(Ecore_WinCE_Window *window, 280EAPI void ecore_wince_window_title_set(Ecore_WinCE_Window *window,
281 const char *title); 281 const char *title);
282 282
283EAPI void ecore_wince_window_focus(Ecore_WinCE_Window *window);
284
285EAPI void *ecore_wince_window_focus_get(void);
286
283EAPI void ecore_wince_window_backend_set(Ecore_WinCE_Window *window, int backend); 287EAPI void ecore_wince_window_backend_set(Ecore_WinCE_Window *window, int backend);
284 288
285EAPI void ecore_wince_window_suspend_cb_set(Ecore_WinCE_Window *window, int (*suspend_cb)(int)); 289EAPI void ecore_wince_window_suspend_cb_set(Ecore_WinCE_Window *window, int (*suspend_cb)(int));
diff --git a/libraries/ecore/src/lib/ecore_wince/Makefile.in b/libraries/ecore/src/lib/ecore_wince/Makefile.in
index d23bf51..340416b 100644
--- a/libraries/ecore/src/lib/ecore_wince/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_wince/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -194,6 +193,8 @@ EVAS_LIBS = @EVAS_LIBS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 193EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 194EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 195EXEEXT = @EXEEXT@
196EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
197EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 198FGREP = @FGREP@
198GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 199GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
199GLIB_CFLAGS = @GLIB_CFLAGS@ 200GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -249,6 +250,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 250PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
250PIXMAN_LIBS = @PIXMAN_LIBS@ 251PIXMAN_LIBS = @PIXMAN_LIBS@
251PKG_CONFIG = @PKG_CONFIG@ 252PKG_CONFIG = @PKG_CONFIG@
253PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
254PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
252POSUB = @POSUB@ 255POSUB = @POSUB@
253RANLIB = @RANLIB@ 256RANLIB = @RANLIB@
254SCIM_CFLAGS = @SCIM_CFLAGS@ 257SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -259,6 +262,7 @@ SDL_LIBS = @SDL_LIBS@
259SED = @SED@ 262SED = @SED@
260SET_MAKE = @SET_MAKE@ 263SET_MAKE = @SET_MAKE@
261SHELL = @SHELL@ 264SHELL = @SHELL@
265SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
262SSL_CFLAGS = @SSL_CFLAGS@ 266SSL_CFLAGS = @SSL_CFLAGS@
263SSL_LIBS = @SSL_LIBS@ 267SSL_LIBS = @SSL_LIBS@
264STRIP = @STRIP@ 268STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_wince/ecore_wince_window.c b/libraries/ecore/src/lib/ecore_wince/ecore_wince_window.c
index 4e8b7b1..72353ce 100644
--- a/libraries/ecore/src/lib/ecore_wince/ecore_wince_window.c
+++ b/libraries/ecore/src/lib/ecore_wince/ecore_wince_window.c
@@ -447,6 +447,58 @@ ecore_wince_window_title_set(Ecore_WinCE_Window *window,
447} 447}
448 448
449/** 449/**
450 * @brief Set the focus to the given window.
451 *
452 * @param window The window to give focus to.
453 *
454 * This function gives the focus to @p window. If @p window is
455 * @c NULL, this function does nothing.
456 */
457EAPI void
458ecore_wince_window_focus(Ecore_WinCE_Window *window)
459{
460 if (!window) return;
461
462 INF("focusing window");
463
464 if (!SetFocus(window->window))
465 {
466 ERR("SetFocus() failed");
467 }
468}
469
470/**
471 * @brief Get the current focused window.
472 *
473 * @return The window that has focus.
474 *
475 * This function returns the window that has focus. If the calling
476 * thread's message queue does not have an associated window with the
477 * keyboard focus, the return value is @c NULL.
478 *
479 * @note Even if the returned value is @c NULL, another thread's queue
480 * may be associated with a window that has the keyboard focus.
481 *
482 * @note The returned value is of type HWND.
483 */
484EAPI void *
485ecore_wince_window_focus_get(void)
486{
487 HWND focused;
488
489 INF("getting focused window");
490
491 focused = GetFocus();
492 if (!focused)
493 {
494 ERR("GetFocus() failed");
495 return NULL;
496 }
497
498 return focused;
499}
500
501/**
450 * @brief Set the graphic backend used for the given window. 502 * @brief Set the graphic backend used for the given window.
451 * 503 *
452 * @param window The window. 504 * @param window The window.
diff --git a/libraries/ecore/src/lib/ecore_x/Ecore_X.h b/libraries/ecore/src/lib/ecore_x/Ecore_X.h
index b5d2c3f..336b656 100644
--- a/libraries/ecore/src/lib/ecore_x/Ecore_X.h
+++ b/libraries/ecore/src/lib/ecore_x/Ecore_X.h
@@ -1104,6 +1104,28 @@ typedef enum _Ecore_X_Illume_Quickpanel_State
1104 ECORE_X_ILLUME_QUICKPANEL_STATE_ON 1104 ECORE_X_ILLUME_QUICKPANEL_STATE_ON
1105} Ecore_X_Illume_Quickpanel_State; 1105} Ecore_X_Illume_Quickpanel_State;
1106 1106
1107typedef enum _Ecore_X_Illume_Indicator_State
1108{
1109 ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
1110 ECORE_X_ILLUME_INDICATOR_STATE_OFF,
1111 ECORE_X_ILLUME_INDICATOR_STATE_ON
1112} Ecore_X_Illume_Indicator_State;
1113
1114typedef enum _Ecore_X_Illume_Clipboard_State
1115{
1116 ECORE_X_ILLUME_CLIPBOARD_STATE_UNKNOWN = 0,
1117 ECORE_X_ILLUME_CLIPBOARD_STATE_OFF,
1118 ECORE_X_ILLUME_CLIPBOARD_STATE_ON
1119} Ecore_X_Illume_Clipboard_State;
1120
1121typedef enum _Ecore_X_Illume_Indicator_Opacity_Mode
1122{
1123 ECORE_X_ILLUME_INDICATOR_OPACITY_UNKNOWN = 0,
1124 ECORE_X_ILLUME_INDICATOR_OPAQUE,
1125 ECORE_X_ILLUME_INDICATOR_TRANSLUCENT,
1126 ECORE_X_ILLUME_INDICATOR_TRANSPARENT
1127} Ecore_X_Illume_Indicator_Opacity_Mode;
1128
1107/* Window layer constants */ 1129/* Window layer constants */
1108#define ECORE_X_WINDOW_LAYER_BELOW 2 1130#define ECORE_X_WINDOW_LAYER_BELOW 2
1109#define ECORE_X_WINDOW_LAYER_NORMAL 4 1131#define ECORE_X_WINDOW_LAYER_NORMAL 4
@@ -2159,6 +2181,11 @@ ecore_x_netwm_strut_partial_get(Ecore_X_Window win,
2159 int *bottom_start_x, 2181 int *bottom_start_x,
2160 int *bottom_end_x); 2182 int *bottom_end_x);
2161 2183
2184EAPI void
2185ecore_x_netwm_icons_set(Ecore_X_Window win,
2186 Ecore_X_Icon *icon,
2187 int num);
2188
2162EAPI Eina_Bool 2189EAPI Eina_Bool
2163ecore_x_netwm_icons_get(Ecore_X_Window win, 2190ecore_x_netwm_icons_get(Ecore_X_Window win,
2164 Ecore_X_Icon **icon, 2191 Ecore_X_Icon **icon,
@@ -2399,6 +2426,25 @@ EAPI void
2399 ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win); 2426 ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win);
2400 2427
2401EAPI void 2428EAPI void
2429ecore_x_e_illume_clipboard_state_set(Ecore_X_Window win,
2430 Ecore_X_Illume_Clipboard_State state);
2431
2432EAPI Ecore_X_Illume_Clipboard_State
2433ecore_x_e_illume_clipboard_state_get(Ecore_X_Window win);
2434
2435EAPI void
2436ecore_x_e_illume_clipboard_geometry_set(Ecore_X_Window win,
2437 int x,
2438 int y,
2439 int w,
2440 int h);
2441EAPI Eina_Bool
2442ecore_x_e_illume_clipboard_geometry_get(Ecore_X_Window win,
2443 int *x,
2444 int *y,
2445 int *w,
2446 int *h);
2447EAPI void
2402ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, 2448ecore_x_e_comp_sync_counter_set(Ecore_X_Window win,
2403 Ecore_X_Sync_Counter counter); 2449 Ecore_X_Sync_Counter counter);
2404EAPI Ecore_X_Sync_Counter 2450EAPI Ecore_X_Sync_Counter
@@ -2657,7 +2703,7 @@ ecore_x_xregion_rect_contain(Ecore_X_XRegion *region,
2657/* The usage of 'Ecore_X_Randr_None' or 'Ecore_X_Randr_Unset' 2703/* The usage of 'Ecore_X_Randr_None' or 'Ecore_X_Randr_Unset'
2658 * depends on the context. In most cases 'Ecore_X_Randr_Unset' 2704 * depends on the context. In most cases 'Ecore_X_Randr_Unset'
2659 * can be used, but in some cases -1 is a special value to 2705 * can be used, but in some cases -1 is a special value to
2660 * functions, thus 'Ecore_X_Randr_None' (=0) musst be used. 2706 * functions, thus 'Ecore_X_Randr_None' (=0) must be used.
2661 */ 2707 */
2662 2708
2663typedef short Ecore_X_Randr_Refresh_Rate; 2709typedef short Ecore_X_Randr_Refresh_Rate;
@@ -2749,6 +2795,11 @@ EAPI Eina_Bool
2749EAPI Ecore_X_Randr_Mode_Info ** 2795EAPI Ecore_X_Randr_Mode_Info **
2750ecore_x_randr_modes_info_get(Ecore_X_Window root, 2796ecore_x_randr_modes_info_get(Ecore_X_Window root,
2751 int *num); 2797 int *num);
2798EAPI Ecore_X_Randr_Mode
2799ecore_x_randr_mode_info_add(Ecore_X_Window root,
2800 Ecore_X_Randr_Mode_Info *mode_info);
2801EAPI void
2802ecore_x_randr_mode_del(Ecore_X_Randr_Mode mode);
2752EAPI Ecore_X_Randr_Mode_Info * 2803EAPI Ecore_X_Randr_Mode_Info *
2753ecore_x_randr_mode_info_get(Ecore_X_Window root, 2804ecore_x_randr_mode_info_get(Ecore_X_Window root,
2754 Ecore_X_Randr_Mode mode); 2805 Ecore_X_Randr_Mode mode);
@@ -2762,10 +2813,13 @@ EAPI Ecore_X_Randr_Output *ecore_x_randr_outputs_get(Ecore_X_Window root,
2762EAPI Ecore_X_Randr_Output * 2813EAPI Ecore_X_Randr_Output *
2763ecore_x_randr_window_outputs_get(Ecore_X_Window window, 2814ecore_x_randr_window_outputs_get(Ecore_X_Window window,
2764 int *num); 2815 int *num);
2765EINA_DEPRECATED EAPI Ecore_X_Randr_Output * 2816EAPI Ecore_X_Randr_Output *
2766ecore_x_randr_current_output_get(Ecore_X_Window window, 2817ecore_x_randr_current_output_get(Ecore_X_Window window,
2767 int *num); 2818 int *num);
2768EAPI Ecore_X_Randr_Crtc * 2819EAPI Ecore_X_Randr_Crtc *
2820ecore_x_randr_window_crtcs_get(Ecore_X_Window window,
2821 int *num);
2822EAPI Ecore_X_Randr_Crtc *
2769ecore_x_randr_current_crtc_get(Ecore_X_Window window, 2823ecore_x_randr_current_crtc_get(Ecore_X_Window window,
2770 int *num); 2824 int *num);
2771EAPI Ecore_X_Randr_Output * 2825EAPI Ecore_X_Randr_Output *
@@ -2840,6 +2894,12 @@ ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root,
2840 Ecore_X_Randr_Crtc crtc_r2, 2894 Ecore_X_Randr_Crtc crtc_r2,
2841 Ecore_X_Randr_Output_Policy policy, 2895 Ecore_X_Randr_Output_Policy policy,
2842 Ecore_X_Randr_Relative_Alignment alignment); 2896 Ecore_X_Randr_Relative_Alignment alignment);
2897EAPI Eina_Bool
2898ecore_x_randr_output_mode_add(Ecore_X_Randr_Output output,
2899 Ecore_X_Randr_Mode mode);
2900EAPI void
2901ecore_x_randr_output_mode_del(Ecore_X_Randr_Output output,
2902 Ecore_X_Randr_Mode mode);
2843EAPI Ecore_X_Randr_Mode * 2903EAPI Ecore_X_Randr_Mode *
2844ecore_x_randr_output_modes_get(Ecore_X_Window root, 2904ecore_x_randr_output_modes_get(Ecore_X_Window root,
2845 Ecore_X_Randr_Output output, 2905 Ecore_X_Randr_Output output,
@@ -3408,6 +3468,13 @@ EAPI Eina_Bool
3408EAPI const char * 3468EAPI const char *
3409 ecore_x_keysym_string_get(int keysym); 3469 ecore_x_keysym_string_get(int keysym);
3410 3470
3471/**
3472 * Given a keyname, return the keycode representing that key
3473 *
3474 * @since 1.2.0
3475 */
3476EAPI int ecore_x_keysym_keycode_get(const char *keyname);
3477
3411typedef struct _Ecore_X_Image Ecore_X_Image; 3478typedef struct _Ecore_X_Image Ecore_X_Image;
3412 3479
3413EAPI Ecore_X_Image * 3480EAPI Ecore_X_Image *
@@ -3617,6 +3684,26 @@ ecore_x_gesture_event_ungrab(Ecore_X_Window win,
3617 Ecore_X_Gesture_Event_Type type, 3684 Ecore_X_Gesture_Event_Type type,
3618 int num_fingers); 3685 int num_fingers);
3619 3686
3687EAPI void
3688ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
3689 Ecore_X_Illume_Indicator_State state);
3690EAPI Ecore_X_Illume_Indicator_State
3691ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
3692EAPI void
3693ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
3694 Ecore_X_Illume_Indicator_State state);
3695
3696EAPI void
3697ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win,
3698 Ecore_X_Illume_Indicator_Opacity_Mode mode);
3699
3700EAPI Ecore_X_Illume_Indicator_Opacity_Mode
3701ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win);
3702
3703EAPI void
3704ecore_x_e_illume_indicator_opacity_send(Ecore_X_Window win,
3705 Ecore_X_Illume_Indicator_Opacity_Mode mode);
3706
3620#ifdef __cplusplus 3707#ifdef __cplusplus
3621} 3708}
3622#endif // ifdef __cplusplus 3709#endif // ifdef __cplusplus
diff --git a/libraries/ecore/src/lib/ecore_x/Ecore_X_Atoms.h b/libraries/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
index 6788a5e..1341716 100644
--- a/libraries/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
+++ b/libraries/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
@@ -238,6 +238,20 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MAJOR;
238EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MINOR; 238EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MINOR;
239EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE; 239EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE;
240EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE; 240EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE;
241EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
242EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
243EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;
244EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE;
245EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE;
246EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT;
247EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT;
248EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE;
249EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE;
250EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE;
251EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE;
252EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON;
253EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF;
254EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY;
241 255
242EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER; 256EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER;
243EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE; 257EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE;
diff --git a/libraries/ecore/src/lib/ecore_x/Makefile.in b/libraries/ecore/src/lib/ecore_x/Makefile.in
index 3b53cfe..fb446ef 100644
--- a/libraries/ecore/src/lib/ecore_x/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_x/Makefile.in
@@ -50,16 +50,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 50 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 51 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
53 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 53 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
54 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 54 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
55 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 55 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
56 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 56 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
57 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 57 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
58 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 58 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
59 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 60 $(ACLOCAL_M4)
62mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 61mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h 62CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES = 63CONFIG_CLEAN_FILES =
65CONFIG_CLEAN_VPATH_FILES = 64CONFIG_CLEAN_VPATH_FILES =
@@ -224,6 +223,8 @@ EVAS_LIBS = @EVAS_LIBS@
224EVIL_CFLAGS = @EVIL_CFLAGS@ 223EVIL_CFLAGS = @EVIL_CFLAGS@
225EVIL_LIBS = @EVIL_LIBS@ 224EVIL_LIBS = @EVIL_LIBS@
226EXEEXT = @EXEEXT@ 225EXEEXT = @EXEEXT@
226EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
227EXOTIC_LIBS = @EXOTIC_LIBS@
227FGREP = @FGREP@ 228FGREP = @FGREP@
228GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 229GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
229GLIB_CFLAGS = @GLIB_CFLAGS@ 230GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -279,6 +280,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
279PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 280PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
280PIXMAN_LIBS = @PIXMAN_LIBS@ 281PIXMAN_LIBS = @PIXMAN_LIBS@
281PKG_CONFIG = @PKG_CONFIG@ 282PKG_CONFIG = @PKG_CONFIG@
283PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
284PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
282POSUB = @POSUB@ 285POSUB = @POSUB@
283RANLIB = @RANLIB@ 286RANLIB = @RANLIB@
284SCIM_CFLAGS = @SCIM_CFLAGS@ 287SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -289,6 +292,7 @@ SDL_LIBS = @SDL_LIBS@
289SED = @SED@ 292SED = @SED@
290SET_MAKE = @SET_MAKE@ 293SET_MAKE = @SET_MAKE@
291SHELL = @SHELL@ 294SHELL = @SHELL@
295SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
292SSL_CFLAGS = @SSL_CFLAGS@ 296SSL_CFLAGS = @SSL_CFLAGS@
293SSL_LIBS = @SSL_LIBS@ 297SSL_LIBS = @SSL_LIBS@
294STRIP = @STRIP@ 298STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h b/libraries/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
index 3f22356..8952df3 100644
--- a/libraries/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
+++ b/libraries/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
@@ -264,6 +264,20 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MAJOR = 0;
264EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MINOR = 0; 264EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MINOR = 0;
265EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE = 0; 265EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE = 0;
266EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE = 0; 266EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE = 0;
267EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE = 0;
268EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON = 0;
269EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF = 0;
270EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE = 0;
271EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE= 0;
272EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT = 0;
273EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT = 0;
274EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE = 0;
275EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE = 0;
276EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE = 0;
277EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE = 0;
278EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY = 0;
279EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON = 0;
280EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF = 0;
267 281
268EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER = 0; 282EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_COUNTER = 0;
269EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE = 0; 283EAPI Ecore_X_Atom ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE = 0;
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/Makefile.in b/libraries/ecore/src/lib/ecore_x/xcb/Makefile.in
index 9108f23..ff2227c 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_x/xcb/Makefile.in
@@ -48,16 +48,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
51 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 51 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
52 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 52 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 53 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 54 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 55 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
56 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 56 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
57 $(top_srcdir)/configure.ac
58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
60mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 59mkinstalldirs = $(install_sh) -d
61CONFIG_HEADER = $(top_builddir)/config.h 60CONFIG_HEADER = $(top_builddir)/config.h
62CONFIG_CLEAN_FILES = 61CONFIG_CLEAN_FILES =
63CONFIG_CLEAN_VPATH_FILES = 62CONFIG_CLEAN_VPATH_FILES =
@@ -206,6 +205,8 @@ EVAS_LIBS = @EVAS_LIBS@
206EVIL_CFLAGS = @EVIL_CFLAGS@ 205EVIL_CFLAGS = @EVIL_CFLAGS@
207EVIL_LIBS = @EVIL_LIBS@ 206EVIL_LIBS = @EVIL_LIBS@
208EXEEXT = @EXEEXT@ 207EXEEXT = @EXEEXT@
208EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
209EXOTIC_LIBS = @EXOTIC_LIBS@
209FGREP = @FGREP@ 210FGREP = @FGREP@
210GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 211GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
211GLIB_CFLAGS = @GLIB_CFLAGS@ 212GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -261,6 +262,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
261PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 262PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
262PIXMAN_LIBS = @PIXMAN_LIBS@ 263PIXMAN_LIBS = @PIXMAN_LIBS@
263PKG_CONFIG = @PKG_CONFIG@ 264PKG_CONFIG = @PKG_CONFIG@
265PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
266PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
264POSUB = @POSUB@ 267POSUB = @POSUB@
265RANLIB = @RANLIB@ 268RANLIB = @RANLIB@
266SCIM_CFLAGS = @SCIM_CFLAGS@ 269SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -271,6 +274,7 @@ SDL_LIBS = @SDL_LIBS@
271SED = @SED@ 274SED = @SED@
272SET_MAKE = @SET_MAKE@ 275SET_MAKE = @SET_MAKE@
273SHELL = @SHELL@ 276SHELL = @SHELL@
277SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
274SSL_CFLAGS = @SSL_CFLAGS@ 278SSL_CFLAGS = @SSL_CFLAGS@
275SSL_LIBS = @SSL_LIBS@ 279SSL_LIBS = @SSL_LIBS@
276STRIP = @STRIP@ 280STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c
index 769ffac..ec2daaf 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c
+++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_atoms.c
@@ -249,7 +249,20 @@ static Xcb_Atom atoms[] =
249 { "_E_ILLUME_QUICKPANEL_ZONE", &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE }, 249 { "_E_ILLUME_QUICKPANEL_ZONE", &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE },
250 { "_E_ILLUME_QUICKPANEL_POSITION_UPDATE", 250 { "_E_ILLUME_QUICKPANEL_POSITION_UPDATE",
251 &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE }, 251 &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE },
252 252 { "_E_ILLUME_INDICATOR_STATE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE },
253 { "_E_ILLUME_INDICATOR_ON", &ECORE_X_ATOM_E_ILLUME_INDICATOR_ON },
254 { "_E_ILLUME_INDICATOR_OFF", &ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF },
255 { "_E_ILLUME_INDICATOR_OPACITY_MODE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE },
256 { "_E_ILLUME_INDICATOR_OPAQUE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE },
257 { "_E_ILLUME_INDICATOR_TRANSLUCENT", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT },
258 { "_E_ILLUME_INDICATOR_TRANSPARENT", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT },
259 { "_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLES", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE },
260 { "_E_ILLUME_ROTATE_WINDOW_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE },
261 { "_E_ILLUME_ROTATE_ROOT_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE },
262 { "_E_ILLUME_CLIPBOARD_STATE", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE },
263 { "_E_ILLUME_CLIPBOARD_ON", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON },
264 { "_E_ILLUME_CLIPBOARD_OFF", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF },
265 { "_E_ILLUME_CLIPBOARD_GEOMETRY", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY },
253 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER }, 266 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER },
254 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE }, 267 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE },
255 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED }, 268 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED },
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
index c868f5e..60bfc9c 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
+++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
@@ -7,6 +7,8 @@ static Ecore_X_Atom _ecore_xcb_e_quickpanel_atom_get(Ecore_X_
7static Ecore_X_Illume_Quickpanel_State _ecore_xcb_e_quickpanel_state_get(Ecore_X_Atom atom); 7static Ecore_X_Illume_Quickpanel_State _ecore_xcb_e_quickpanel_state_get(Ecore_X_Atom atom);
8static Ecore_X_Atom _ecore_xcb_e_illume_atom_get(Ecore_X_Illume_Mode mode); 8static Ecore_X_Atom _ecore_xcb_e_illume_atom_get(Ecore_X_Illume_Mode mode);
9static Ecore_X_Illume_Mode _ecore_xcb_e_illume_mode_get(Ecore_X_Atom atom); 9static Ecore_X_Illume_Mode _ecore_xcb_e_illume_mode_get(Ecore_X_Atom atom);
10static Ecore_X_Atom _ecore_xcb_e_indicator_atom_get(Ecore_X_Illume_Indicator_State state);
11static Ecore_X_Illume_Indicator_State _ecore_xcb_e_indicator_state_get(Ecore_X_Atom atom);
10 12
11EAPI void 13EAPI void
12ecore_x_e_init(void) 14ecore_x_e_init(void)
@@ -719,6 +721,99 @@ ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win)
719 0, 0, 0, 0, 0); 721 0, 0, 0, 0, 0);
720} 722}
721 723
724static Ecore_X_Atom
725_ecore_xcb_e_clipboard_atom_get(Ecore_X_Illume_Clipboard_State state)
726{
727 switch (state)
728 {
729 case ECORE_X_ILLUME_CLIPBOARD_STATE_ON:
730 return ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON;
731 case ECORE_X_ILLUME_CLIPBOARD_STATE_OFF:
732 return ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF;
733 default:
734 break;
735 }
736 return 0;
737}
738
739static Ecore_X_Illume_Clipboard_State
740_ecore_xcb_e_clipboard_state_get(Ecore_X_Atom atom)
741{
742 if (atom == ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON)
743 return ECORE_X_ILLUME_CLIPBOARD_STATE_ON;
744
745 if (atom == ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF)
746 return ECORE_X_ILLUME_CLIPBOARD_STATE_OFF;
747
748 return ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN;
749}
750
751EAPI void
752ecore_x_e_illume_clipboard_state_set(Ecore_X_Window win,
753 Ecore_X_Illume_Clipboard_State state)
754{
755 Ecore_X_Atom atom = 0;
756
757 LOGFN(__FILE__, __LINE__, __FUNCTION__);
758 atom = _ecore_xcb_e_clipboard_atom_get(state);
759
760 ecore_x_window_prop_atom_set(win,
761 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE,
762 &atom, 1);
763}
764
765EAPI Ecore_X_Illume_Clipboard_State
766ecore_x_e_illume_clipboard_state_get(Ecore_X_Window win)
767{
768 Ecore_X_Atom atom = 0;
769
770 LOGFN(__FILE__, __LINE__, __FUNCTION__);
771
772 if (!ecore_x_window_prop_atom_get(win,
773 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE,
774 &atom, 1))
775 return ECORE_X_ILLUME_CLIPBOARD_STATE_UNKNOWN;
776 return _ecore_xcb_e_clipboard_state_get(atom);
777}
778
779EAPI void
780ecore_x_e_illume_clipboard_geometry_set(Ecore_X_Window win,
781 int x, int y, int w, int h)
782{
783 unsigned int geom[4];
784
785 LOGFN(__FILE__, __LINE__, __FUNCTION__);
786 geom[0] = x;
787 geom[1] = y;
788 geom[2] = w;
789 geom[3] = h;
790 ecore_x_window_prop_card32_set(win,
791 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY,
792 geom, 4);
793}
794
795EAPI Eina_Bool
796ecore_x_e_illume_clipboard_geometry_get(Ecore_X_Window win,
797 int *x, int *y, int *w, int *h)
798{
799 int ret = 0;
800 unsigned int geom[4];
801
802 LOGFN(__FILE__, __LINE__, __FUNCTION__);
803 ret =
804 ecore_x_window_prop_card32_get(win,
805 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY,
806 geom, 4);
807 if (ret != 4) return EINA_FALSE;
808
809 if (x) *x = geom[0];
810 if (y) *y = geom[1];
811 if (w) *w = geom[2];
812 if (h) *h = geom[3];
813
814 return EINA_TRUE;
815}
816
722EAPI void 817EAPI void
723ecore_x_e_illume_mode_set(Ecore_X_Window win, 818ecore_x_e_illume_mode_set(Ecore_X_Window win,
724 Ecore_X_Illume_Mode mode) 819 Ecore_X_Illume_Mode mode)
@@ -1069,3 +1164,144 @@ _ecore_xcb_e_illume_mode_get(Ecore_X_Atom atom)
1069 return ECORE_X_ILLUME_MODE_UNKNOWN; 1164 return ECORE_X_ILLUME_MODE_UNKNOWN;
1070} 1165}
1071 1166
1167static Ecore_X_Atom
1168_ecore_xcb_e_indicator_atom_get(Ecore_X_Illume_Indicator_State state)
1169{
1170 switch (state)
1171 {
1172 case ECORE_X_ILLUME_INDICATOR_STATE_ON:
1173 return ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
1174
1175 case ECORE_X_ILLUME_INDICATOR_STATE_OFF:
1176 return ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;
1177
1178 default:
1179 break;
1180 }
1181 return 0;
1182}
1183
1184static Ecore_X_Illume_Indicator_State
1185_ecore_xcb_e_indicator_state_get(Ecore_X_Atom atom)
1186{
1187 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_ON)
1188 return ECORE_X_ILLUME_INDICATOR_STATE_ON;
1189 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF)
1190 return ECORE_X_ILLUME_INDICATOR_STATE_OFF;
1191
1192 return ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN;
1193}
1194
1195EAPI void
1196ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
1197 Ecore_X_Illume_Indicator_State state)
1198{
1199 Ecore_X_Atom atom = 0;
1200
1201 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1202
1203 atom = _ecore_xcb_e_indicator_atom_get(state);
1204 ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE,
1205 &atom, 1);
1206}
1207
1208EAPI Ecore_X_Illume_Indicator_State
1209ecore_x_e_illume_indicator_state_get(Ecore_X_Window win)
1210{
1211 Ecore_X_Atom atom = 0;
1212
1213 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1214
1215 if (!ecore_x_window_prop_atom_get(win,
1216 ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE,
1217 &atom, 1))
1218 return ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN;
1219
1220 return _ecore_xcb_e_indicator_state_get(atom);
1221}
1222
1223EAPI void
1224ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
1225 Ecore_X_Illume_Indicator_State state)
1226{
1227 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1228 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE,
1229 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
1230 _ecore_xcb_e_indicator_atom_get(state),
1231 0, 0, 0, 0);
1232}
1233
1234static Ecore_X_Atom
1235_ecore_x_e_indicator_opacity_atom_get(Ecore_X_Illume_Indicator_Opacity_Mode mode)
1236{
1237 switch (mode)
1238 {
1239 case ECORE_X_ILLUME_INDICATOR_OPAQUE:
1240 return ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE;
1241
1242 case ECORE_X_ILLUME_INDICATOR_TRANSLUCENT:
1243 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT;
1244
1245 case ECORE_X_ILLUME_INDICATOR_TRANSPARENT:
1246 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT;
1247
1248 default:
1249 break;
1250 }
1251 return 0;
1252}
1253
1254static Ecore_X_Illume_Indicator_Opacity_Mode
1255_ecore_x_e_indicator_opacity_get(Ecore_X_Atom atom)
1256{
1257 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE)
1258 return ECORE_X_ILLUME_INDICATOR_OPAQUE;
1259
1260 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT)
1261 return ECORE_X_ILLUME_INDICATOR_TRANSLUCENT;
1262
1263 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT)
1264 return ECORE_X_ILLUME_INDICATOR_TRANSPARENT;
1265
1266 return ECORE_X_ILLUME_INDICATOR_OPACITY_UNKNOWN;
1267}
1268
1269EAPI void
1270ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win,
1271 Ecore_X_Illume_Indicator_Opacity_Mode mode)
1272{
1273 Ecore_X_Atom atom = 0;
1274
1275 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1276 atom = _ecore_x_e_indicator_opacity_atom_get(mode);
1277 ecore_x_window_prop_atom_set(win,
1278 ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE,
1279 &atom, 1);
1280}
1281
1282EAPI Ecore_X_Illume_Indicator_Opacity_Mode
1283ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win)
1284{
1285 Ecore_X_Atom atom;
1286
1287 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1288 if (!ecore_x_window_prop_atom_get(win,
1289 ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE,
1290 &atom, 1))
1291 return ECORE_X_ILLUME_INDICATOR_OPACITY_UNKNOWN;
1292
1293 return _ecore_x_e_indicator_opacity_get(atom);
1294}
1295
1296EAPI void
1297ecore_x_e_illume_indicator_opacity_send(Ecore_X_Window win,
1298 Ecore_X_Illume_Indicator_Opacity_Mode mode)
1299{
1300 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1301 ecore_x_client_message32_send(win,
1302 ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE,
1303 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
1304 _ecore_x_e_indicator_opacity_atom_get(mode),
1305 0, 0, 0, 0);
1306}
1307
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_keymap.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_keymap.c
index 40304df..b1c7528 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_keymap.c
+++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_keymap.c
@@ -279,6 +279,14 @@ ecore_x_keysym_string_get(int keysym)
279 return _ecore_xcb_keymap_keysym_to_string(keysym); 279 return _ecore_xcb_keymap_keysym_to_string(keysym);
280} 280}
281 281
282EAPI int
283ecore_x_keysym_keycode_get(const char *keyname)
284{
285 LOGFN(__FILE__, __LINE__, __FUNCTION__);
286
287 return _ecore_xcb_keymap_string_to_keycode(keyname);
288}
289
282/* local functions */ 290/* local functions */
283static int 291static int
284_ecore_xcb_keymap_mask_get(void *reply, 292_ecore_xcb_keymap_mask_get(void *reply,
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c
index 0a523b9..b1e0622 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c
+++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c
@@ -838,6 +838,56 @@ ecore_x_netwm_icon_name_set(Ecore_X_Window win,
838 ecore_x_window_prop_string_set(win, ECORE_X_ATOM_NET_WM_ICON_NAME, name); 838 ecore_x_window_prop_string_set(win, ECORE_X_ATOM_NET_WM_ICON_NAME, name);
839} 839}
840 840
841EAPI void
842ecore_x_netwm_icons_set(Ecore_X_Window win,
843 Ecore_X_Icon *icon,
844 int num)
845{
846 unsigned int *data, *p, *p2;
847 unsigned int i, size, x, y;
848
849 LOGFN(__FILE__, __LINE__, __FUNCTION__);
850 size = 0;
851 for (i = 0; i < (unsigned int)num; i++)
852 {
853 size += 2 + (icon[i].width * icon[i].height);
854 }
855 data = malloc(size * sizeof(unsigned int));
856 if (!data) return;
857 p = data;
858 for (i = 0; i < (unsigned int)num; i++)
859 {
860 p[0] = icon[i].width;
861 p[1] = icon[i].height;
862 p += 2;
863 p2 = icon[i].data;
864 for (y = 0; y < icon[i].height; y++)
865 {
866 for (x = 0; x < icon[i].width; x++)
867 {
868 unsigned int r, g, b, a;
869
870 a = (*p2 >> 24) & 0xff;
871 r = (*p2 >> 16) & 0xff;
872 g = (*p2 >> 8 ) & 0xff;
873 b = (*p2 ) & 0xff;
874 if ((a > 0) && (a < 255))
875 {
876 r = (r * 255) / a;
877 g = (g * 255) / a;
878 b = (b * 255) / a;
879 }
880 *p = (a << 24) | (r << 16) | (g << 8) | b;
881 p++;
882 p2++;
883 }
884 }
885 }
886 ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_NET_WM_ICON,
887 data, size);
888 free(data);
889}
890
841EAPI Eina_Bool 891EAPI Eina_Bool
842ecore_x_netwm_icons_get(Ecore_X_Window win, 892ecore_x_netwm_icons_get(Ecore_X_Window win,
843 Ecore_X_Icon **icon, 893 Ecore_X_Icon **icon,
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c
index 62f7618..81a7c3f 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c
+++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c
@@ -1,7 +1,6 @@
1/* TODO: List of missing functions 1/* TODO: List of missing functions
2 * 2 *
3 * ecore_x_randr_crtc_clone_set 3 * ecore_x_randr_crtc_clone_set
4 * ecore_x_randr_output_size_mm_get
5 * ecore_x_randr_output_crtc_set 4 * ecore_x_randr_output_crtc_set
6 * ecore_x_randr_edid_version_get 5 * ecore_x_randr_edid_version_get
7 * ecore_x_randr_edid_info_has_valid_checksum 6 * ecore_x_randr_edid_info_has_valid_checksum
@@ -776,6 +775,24 @@ ecore_x_randr_output_modes_get(Ecore_X_Window root,
776 return modes; 775 return modes;
777} 776}
778 777
778EAPI Eina_Bool
779ecore_x_randr_output_mode_add(Ecore_X_Randr_Output output, Ecore_X_Randr_Mode mode)
780{
781 LOGFN(__FILE__, __LINE__, __FUNCTION__);
782 CHECK_XCB_CONN;
783
784#ifdef ECORE_XCB_RANDR
785 RANDR_CHECK_1_2_RET(EINA_FALSE);
786
787 if ((output == Ecore_X_Randr_None) || (mode == Ecore_X_Randr_None))
788 return EINA_FALSE;
789
790 xcb_randr_add_output_mode(_ecore_xcb_conn, output, mode);
791 return EINA_TRUE;
792#endif
793 return EINA_FALSE;
794}
795
779/* 796/*
780 * @brief get detailed information for a given mode id 797 * @brief get detailed information for a given mode id
781 * @param root window which's screen's ressources are queried 798 * @param root window which's screen's ressources are queried
@@ -805,6 +822,63 @@ ecore_x_randr_mode_info_get(Ecore_X_Window root,
805} 822}
806 823
807/* 824/*
825 * @brief add a mode to a display
826 * @param root window to which's screen's ressources are added
827 * @param mode_info
828 * @return Ecore_X_Randr_Mode of the added mode. Ecore_X_Randr_None if mode
829 * adding failed.
830 * @since 1.2.0
831 */
832EAPI Ecore_X_Randr_Mode
833ecore_x_randr_mode_info_add(Ecore_X_Window root, Ecore_X_Randr_Mode_Info *mode_info)
834{
835#ifdef ECORE_XCB_RANDR
836 Ecore_X_Randr_Mode mode = Ecore_X_Randr_None;
837 xcb_randr_create_mode_cookie_t cookie;
838 xcb_randr_create_mode_reply_t *reply;
839 xcb_randr_mode_info_t info;
840 int namelen = 0;
841#endif
842
843 LOGFN(__FILE__, __LINE__, __FUNCTION__);
844 CHECK_XCB_CONN;
845
846#ifdef ECORE_XCB_RANDR
847 RANDR_CHECK_1_2_RET(EINA_FALSE);
848
849 if (!mode_info) return Ecore_X_Randr_None;
850 if (!_ecore_xcb_randr_root_validate(root)) return Ecore_X_Randr_None;
851
852 namelen = strlen(mode_info->name);
853
854 memset(&info, 0, sizeof(info));
855 info.width = mode_info->width;
856 info.height = mode_info->height;
857 info.dot_clock = mode_info->dotClock;
858 info.hsync_start = mode_info->hSyncStart;
859 info.hsync_end = mode_info->hSyncEnd;
860 info.htotal = mode_info->hTotal;
861 info.hskew = mode_info->hSkew;
862 info.vsync_start = mode_info->vSyncStart;
863 info.vsync_end = mode_info->vSyncEnd;
864 info.vtotal = mode_info->vTotal;
865 info.mode_flags = mode_info->modeFlags;
866 info.name_len = namelen;
867
868 cookie =
869 xcb_randr_create_mode_unchecked(_ecore_xcb_conn, root, info,
870 namelen, mode_info->name);
871 reply = xcb_randr_create_mode_reply(_ecore_xcb_conn, cookie, NULL);
872 if (reply)
873 {
874 mode = mode_info->xid;
875 free(reply);
876 }
877#endif
878 return mode;
879}
880
881/*
808 * @brief get detailed information for all modes related to a root window's screen 882 * @brief get detailed information for all modes related to a root window's screen
809 * @param root window which's screen's ressources are queried 883 * @param root window which's screen's ressources are queried
810 * @param num number of modes returned 884 * @param num number of modes returned
@@ -1057,6 +1131,53 @@ ecore_x_randr_output_crtc_get(Ecore_X_Window root,
1057 return Ecore_X_Randr_None; 1131 return Ecore_X_Randr_None;
1058} 1132}
1059 1133
1134EAPI void
1135ecore_x_randr_output_size_mm_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *w_mm, int *h_mm)
1136{
1137#ifdef ECORE_XCB_RANDR
1138 xcb_randr_get_output_info_cookie_t ocookie;
1139 xcb_randr_get_output_info_reply_t *oreply;
1140 xcb_timestamp_t timestamp = 0;
1141#endif
1142
1143 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1144 CHECK_XCB_CONN;
1145
1146 if (w_mm) *w_mm = 0;
1147 if (h_mm) *h_mm = 0;
1148
1149#ifdef ECORE_XCB_RANDR
1150 RANDR_CHECK_1_2_RET();
1151
1152 if ((output != Ecore_X_Randr_None) && (_randr_version >= RANDR_1_3))
1153 {
1154 xcb_randr_get_screen_resources_current_reply_t *reply;
1155
1156 reply = _ecore_xcb_randr_13_get_resources(root);
1157 timestamp = reply->config_timestamp;
1158 free(reply);
1159 }
1160 else if ((output != Ecore_X_Randr_None) && (_randr_version == RANDR_1_2))
1161 {
1162 xcb_randr_get_screen_resources_reply_t *reply;
1163
1164 reply = _ecore_xcb_randr_12_get_resources(root);
1165 timestamp = reply->config_timestamp;
1166 free(reply);
1167 }
1168
1169 ocookie =
1170 xcb_randr_get_output_info_unchecked(_ecore_xcb_conn, output, timestamp);
1171 oreply = xcb_randr_get_output_info_reply(_ecore_xcb_conn, ocookie, NULL);
1172 if (oreply)
1173 {
1174 if (w_mm) *w_mm = oreply->mm_width;
1175 if (h_mm) *h_mm = oreply->mm_height;
1176 free(oreply);
1177 }
1178#endif
1179}
1180
1060/** 1181/**
1061 * @brief sets the demanded parameters for a given CRTC. Note that the CRTC is 1182 * @brief sets the demanded parameters for a given CRTC. Note that the CRTC is
1062 * auto enabled in it's preferred mode, when it was disabled before. 1183 * auto enabled in it's preferred mode, when it was disabled before.
@@ -1439,6 +1560,87 @@ ecore_x_randr_crtcs_get(Ecore_X_Window root,
1439} 1560}
1440 1561
1441/* 1562/*
1563 * @deprecated bad naming. Use ecore_x_randr_window_crtcs_get instead.
1564 * @brief get the CRTCs, which display a certain window
1565 * @param window window the displaying CRTCs shall be found for
1566 * @param num the number of CRTCs displaying the window
1567 * @return array of CRTCs that display a certain window. NULL if no CRTCs
1568 * was found that displays the specified window.
1569 */
1570EAPI Ecore_X_Randr_Crtc *
1571ecore_x_randr_current_crtc_get(Ecore_X_Window window,
1572 int *num)
1573{
1574 return ecore_x_randr_window_crtcs_get(window, num);
1575}
1576
1577/*
1578 * @brief get the CRTCs, which display a certain window
1579 * @param window window the displaying crtcs shall be found for
1580 * @param num the number of crtcs displaying the window
1581 * @return array of crtcs that display a certain window. NULL if no crtcs
1582 * was found that displays the specified window.
1583 * @since 1.2.0
1584 */
1585EAPI Ecore_X_Randr_Crtc *
1586ecore_x_randr_window_crtcs_get(Ecore_X_Window window,
1587 int *num)
1588{
1589#ifdef ECORE_XCB_RANDR
1590 Ecore_X_Window root;
1591 Eina_Rectangle w_geo, c_geo;
1592 Ecore_X_Randr_Crtc *crtcs, *ret = NULL;
1593 Ecore_X_Randr_Mode mode;
1594 int ncrtcs, i, nret = 0;
1595 xcb_translate_coordinates_cookie_t cookie;
1596 xcb_translate_coordinates_reply_t *trans;
1597#endif
1598
1599 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1600 CHECK_XCB_CONN;
1601
1602#ifdef ECORE_XCB_RANDR
1603 RANDR_CHECK_1_2_RET(NULL);
1604
1605 ecore_x_window_geometry_get(window, &w_geo.x, &w_geo.y, &w_geo.w, &w_geo.h);
1606
1607 root = ecore_x_window_root_get(window);
1608 crtcs = ecore_x_randr_crtcs_get(root, &ncrtcs);
1609 if (!crtcs) return NULL;
1610
1611 /* now get window RELATIVE to root window - thats what matters. */
1612 cookie = xcb_translate_coordinates(_ecore_xcb_conn, window, root, 0, 0);
1613 trans = xcb_translate_coordinates_reply(_ecore_xcb_conn, cookie, NULL);
1614 w_geo.x = trans->dst_x;
1615 w_geo.y = trans->dst_y;
1616 free(trans);
1617
1618 for (i = 0, nret = 0; i < ncrtcs; i++)
1619 {
1620 /* if crtc is not enabled, don't bother about it any further */
1621 mode = ecore_x_randr_crtc_mode_get(root, crtcs[i]);
1622 if (mode == Ecore_X_Randr_None) continue;
1623
1624 ecore_x_randr_crtc_geometry_get(root, crtcs[i], &c_geo.x, &c_geo.y,
1625 &c_geo.w, &c_geo.h);
1626 if (eina_rectangles_intersect(&w_geo, &c_geo))
1627 {
1628 ret = realloc(ret, (++nret *
1629 sizeof(Ecore_X_Randr_Output)));
1630 ret[nret] = crtcs[i];
1631 }
1632 }
1633 free(crtcs);
1634
1635 if (num) *num = nret;
1636 return ret;
1637
1638#endif
1639 if (num) *num = 0;
1640 return NULL;
1641}
1642
1643/*
1442 * @brief get a CRTC's outputs. 1644 * @brief get a CRTC's outputs.
1443 * @param root the root window which's screen will be queried 1645 * @param root the root window which's screen will be queried
1444 * @param num number of outputs referenced by given CRTC 1646 * @param num number of outputs referenced by given CRTC
@@ -2172,6 +2374,22 @@ ecore_x_randr_screen_current_size_set(Ecore_X_Window root,
2172} 2374}
2173 2375
2174/* 2376/*
2377 * @deprecated bad naming. Use ecore_x_randr_window_outputs_get instead.
2378 * @brief get the outputs, which display a certain window
2379 * @param window window the displaying outputs shall be found for
2380 * @param num the number of outputs displaying the window
2381 * @return array of outputs that display a certain window. NULL if no outputs
2382 * was found that displays the specified window.
2383 */
2384
2385Ecore_X_Randr_Output *
2386ecore_x_randr_current_output_get(Ecore_X_Window window,
2387 int *num)
2388{
2389 return ecore_x_randr_window_outputs_get(window, num);
2390}
2391
2392/*
2175 * @brief get the outputs, which display a certain window 2393 * @brief get the outputs, which display a certain window
2176 * @param window window the displaying outputs shall be found for 2394 * @param window window the displaying outputs shall be found for
2177 * @param num the number of outputs displaying the window 2395 * @param num the number of outputs displaying the window
@@ -2184,13 +2402,9 @@ ecore_x_randr_window_outputs_get(Ecore_X_Window window,
2184{ 2402{
2185#ifdef ECORE_XCB_RANDR 2403#ifdef ECORE_XCB_RANDR
2186 Ecore_X_Window root; 2404 Ecore_X_Window root;
2187 Eina_Rectangle w_geo, c_geo;
2188 Ecore_X_Randr_Crtc *crtcs; 2405 Ecore_X_Randr_Crtc *crtcs;
2189 Ecore_X_Randr_Mode mode; 2406 Ecore_X_Randr_Output *outputs, *ret = NULL;
2190 Ecore_X_Randr_Output *outputs, *ret = NULL, *tret;
2191 int ncrtcs, noutputs, i, nret = 0; 2407 int ncrtcs, noutputs, i, nret = 0;
2192 xcb_translate_coordinates_cookie_t cookie;
2193 xcb_translate_coordinates_reply_t *trans;
2194#endif 2408#endif
2195 2409
2196 LOGFN(__FILE__, __LINE__, __FUNCTION__); 2410 LOGFN(__FILE__, __LINE__, __FUNCTION__);
@@ -2199,64 +2413,36 @@ ecore_x_randr_window_outputs_get(Ecore_X_Window window,
2199 if (num) *num = 0; 2413 if (num) *num = 0;
2200 2414
2201#ifdef ECORE_XCB_RANDR 2415#ifdef ECORE_XCB_RANDR
2202 RANDR_CHECK_1_2_RET(NULL); 2416 if (_randr_version < RANDR_1_2) goto _ecore_x_randr_current_output_get_fail;
2203
2204 ecore_x_window_geometry_get(window, &w_geo.x, &w_geo.y, &w_geo.w, &w_geo.h);
2205 2417
2206 root = ecore_x_window_root_get(window); 2418 root = ecore_x_window_root_get(window);
2207 crtcs = ecore_x_randr_crtcs_get(root, &ncrtcs); 2419 if (!(crtcs = ecore_x_randr_window_crtcs_get(window, &ncrtcs)))
2208 if (!crtcs) return NULL; 2420 goto _ecore_x_randr_current_output_get_fail;
2209 2421
2210 /* now get window RELATIVE to root window - thats what matters. */ 2422 for (i = 0, nret = 0; i < ncrtcs; i++)
2211 cookie = xcb_translate_coordinates(_ecore_xcb_conn, window, root, 0, 0);
2212 trans = xcb_translate_coordinates_reply(_ecore_xcb_conn, cookie, NULL);
2213 w_geo.x = trans->dst_x;
2214 w_geo.y = trans->dst_y;
2215 free(trans);
2216
2217 for (i = 0; i < ncrtcs; i++)
2218 { 2423 {
2219 /* if crtc is not enabled, don't bother about it any further */
2220 mode = ecore_x_randr_crtc_mode_get(root, crtcs[i]);
2221 if (mode == Ecore_X_Randr_None) continue;
2222 2424
2223 ecore_x_randr_crtc_geometry_get(root, crtcs[i], &c_geo.x, &c_geo.y, 2425 outputs = ecore_x_randr_crtc_outputs_get(root, crtcs[i],
2224 &c_geo.w, &c_geo.h); 2426 &noutputs);
2225 if (eina_rectangles_intersect(&w_geo, &c_geo)) 2427 if (!outputs)
2226 { 2428 goto _ecore_x_randr_current_output_get_fail_free;
2227 outputs = 2429 nret += noutputs;
2228 ecore_x_randr_crtc_outputs_get(root, crtcs[i], &noutputs); 2430 ret = realloc(ret, (nret * sizeof(Ecore_X_Randr_Output)));
2229 /* The case below should be impossible, but for safety reasons 2431 memcpy(&ret[nret], outputs, (noutputs * sizeof(Ecore_X_Randr_Output)));
2230 * remains */ 2432 free(outputs);
2231 if (!outputs)
2232 {
2233 if (num) *num = 0;
2234 free(ret);
2235 free(crtcs);
2236 return NULL;
2237 }
2238 tret = realloc(ret, ((nret + noutputs) *
2239 sizeof(Ecore_X_Randr_Output)));
2240 if (!tret)
2241 {
2242 if (num) *num = 0;
2243 free(outputs);
2244 free(ret);
2245 free(crtcs);
2246 return NULL;
2247 }
2248 ret = tret;
2249 memcpy(&ret[nret], outputs,
2250 (noutputs * sizeof(Ecore_X_Randr_Output)));
2251 nret += noutputs;
2252 free(outputs);
2253 }
2254 } 2433 }
2255 free(crtcs); 2434 free(crtcs);
2256 2435
2257 if (num) *num = nret; 2436 if (num)
2437 *num = nret;
2438
2258 return ret; 2439 return ret;
2259 2440
2441_ecore_x_randr_current_output_get_fail_free:
2442 free(outputs);
2443 free(crtcs);
2444 free(ret);
2445_ecore_x_randr_current_output_get_fail:
2260#endif 2446#endif
2261 if (num) *num = 0; 2447 if (num) *num = 0;
2262 return NULL; 2448 return NULL;
diff --git a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
index 27bceaf..3458729 100644
--- a/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
+++ b/libraries/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
@@ -651,7 +651,7 @@ ecore_x_window_depth_get(Ecore_X_Window win)
651 * @c _NET_WM_PID. 651 * @c _NET_WM_PID.
652 * 652 *
653 * @param win The given window. 653 * @param win The given window.
654 * @ingroup Ecore_X_Window_Properties_Groups 654 * @ingroup Ecore_X_Window_Properties_Group
655 */ 655 */
656EAPI void 656EAPI void
657ecore_x_window_defaults_set(Ecore_X_Window win) 657ecore_x_window_defaults_set(Ecore_X_Window win)
@@ -1119,7 +1119,7 @@ ecore_x_window_save_set_del(Ecore_X_Window win)
1119} 1119}
1120 1120
1121/** 1121/**
1122 * gets the focus to the window @p win. 1122 * gets the window that has focus.
1123 * @return The window that has focus. 1123 * @return The window that has focus.
1124 * @ingroup Ecore_X_Window_Focus_Functions 1124 * @ingroup Ecore_X_Window_Focus_Functions
1125 */ 1125 */
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/Makefile.in b/libraries/ecore/src/lib/ecore_x/xlib/Makefile.in
index 27a2841..cada69a 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/Makefile.in
+++ b/libraries/ecore/src/lib/ecore_x/xlib/Makefile.in
@@ -48,16 +48,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
51 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 51 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
52 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 52 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 53 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 54 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 55 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
56 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 56 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
57 $(top_srcdir)/configure.ac
58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
60mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 59mkinstalldirs = $(install_sh) -d
61CONFIG_HEADER = $(top_builddir)/config.h 60CONFIG_HEADER = $(top_builddir)/config.h
62CONFIG_CLEAN_FILES = 61CONFIG_CLEAN_FILES =
63CONFIG_CLEAN_VPATH_FILES = 62CONFIG_CLEAN_VPATH_FILES =
@@ -197,6 +196,8 @@ EVAS_LIBS = @EVAS_LIBS@
197EVIL_CFLAGS = @EVIL_CFLAGS@ 196EVIL_CFLAGS = @EVIL_CFLAGS@
198EVIL_LIBS = @EVIL_LIBS@ 197EVIL_LIBS = @EVIL_LIBS@
199EXEEXT = @EXEEXT@ 198EXEEXT = @EXEEXT@
199EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
200EXOTIC_LIBS = @EXOTIC_LIBS@
200FGREP = @FGREP@ 201FGREP = @FGREP@
201GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 202GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
202GLIB_CFLAGS = @GLIB_CFLAGS@ 203GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -252,6 +253,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
252PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 253PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
253PIXMAN_LIBS = @PIXMAN_LIBS@ 254PIXMAN_LIBS = @PIXMAN_LIBS@
254PKG_CONFIG = @PKG_CONFIG@ 255PKG_CONFIG = @PKG_CONFIG@
256PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
257PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
255POSUB = @POSUB@ 258POSUB = @POSUB@
256RANLIB = @RANLIB@ 259RANLIB = @RANLIB@
257SCIM_CFLAGS = @SCIM_CFLAGS@ 260SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -262,6 +265,7 @@ SDL_LIBS = @SDL_LIBS@
262SED = @SED@ 265SED = @SED@
263SET_MAKE = @SET_MAKE@ 266SET_MAKE = @SET_MAKE@
264SHELL = @SHELL@ 267SHELL = @SHELL@
268SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
265SSL_CFLAGS = @SSL_CFLAGS@ 269SSL_CFLAGS = @SSL_CFLAGS@
266SSL_LIBS = @SSL_LIBS@ 270SSL_LIBS = @SSL_LIBS@
267STRIP = @STRIP@ 271STRIP = @STRIP@
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
index ee981fe..7a8bffa 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
+++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
@@ -270,7 +270,20 @@ _ecore_x_atoms_init(void)
270 { "_E_ILLUME_QUICKPANEL_ZONE", &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE }, 270 { "_E_ILLUME_QUICKPANEL_ZONE", &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE },
271 { "_E_ILLUME_QUICKPANEL_POSITION_UPDATE", 271 { "_E_ILLUME_QUICKPANEL_POSITION_UPDATE",
272 &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE }, 272 &ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE },
273 273 { "_E_ILLUME_INDICATOR_STATE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE },
274 { "_E_ILLUME_INDICATOR_ON", &ECORE_X_ATOM_E_ILLUME_INDICATOR_ON },
275 { "_E_ILLUME_INDICATOR_OFF", &ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF },
276 { "_E_ILLUME_INDICATOR_OPACITY_MODE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE },
277 { "_E_ILLUME_INDICATOR_OPAQUE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE },
278 { "_E_ILLUME_INDICATOR_TRANSLUCENT", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT },
279 { "_E_ILLUME_INDICATOR_TRANSPARENT", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT },
280 { "_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLES", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE },
281 { "_E_ILLUME_ROTATE_WINDOW_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE },
282 { "_E_ILLUME_ROTATE_ROOT_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE },
283 { "_E_ILLUME_CLIPBOARD_STATE", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE },
284 { "_E_ILLUME_CLIPBOARD_ON", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON },
285 { "_E_ILLUME_CLIPBOARD_OFF", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF },
286 { "_E_ILLUME_CLIPBOARD_GEOMETRY", &ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY },
274 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER }, 287 { "_E_COMP_SYNC_COUNTER", &ECORE_X_ATOM_E_COMP_SYNC_COUNTER },
275 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE }, 288 { "_E_COMP_SYNC_DRAW_DONE", &ECORE_X_ATOM_E_COMP_SYNC_DRAW_DONE },
276 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED }, 289 { "_E_COMP_SYNC_SUPPORTED", &ECORE_X_ATOM_E_COMP_SYNC_SUPPORTED },
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
index 5966bbd..4bd5218 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
+++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
@@ -768,6 +768,99 @@ ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win)
768 1, 0, 0, 0, 0); 768 1, 0, 0, 0, 0);
769} 769}
770 770
771static Ecore_X_Atom
772_ecore_x_e_clipboard_atom_get(Ecore_X_Illume_Clipboard_State state)
773{
774 switch (state)
775 {
776 case ECORE_X_ILLUME_CLIPBOARD_STATE_ON:
777 return ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON;
778 case ECORE_X_ILLUME_CLIPBOARD_STATE_OFF:
779 return ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF;
780 default:
781 break;
782 }
783 return 0;
784}
785
786static Ecore_X_Illume_Clipboard_State
787_ecore_x_e_clipboard_state_get(Ecore_X_Atom atom)
788{
789 if (atom == ECORE_X_ATOM_E_ILLUME_CLIPBOARD_ON)
790 return ECORE_X_ILLUME_CLIPBOARD_STATE_ON;
791
792 if (atom == ECORE_X_ATOM_E_ILLUME_CLIPBOARD_OFF)
793 return ECORE_X_ILLUME_CLIPBOARD_STATE_OFF;
794
795 return ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN;
796}
797
798EAPI void
799ecore_x_e_illume_clipboard_state_set(Ecore_X_Window win,
800 Ecore_X_Illume_Clipboard_State state)
801{
802 Ecore_X_Atom atom = 0;
803
804 LOGFN(__FILE__, __LINE__, __FUNCTION__);
805 atom = _ecore_x_e_clipboard_atom_get(state);
806
807 ecore_x_window_prop_atom_set(win,
808 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE,
809 &atom, 1);
810}
811
812EAPI Ecore_X_Illume_Clipboard_State
813ecore_x_e_illume_clipboard_state_get(Ecore_X_Window win)
814{
815 Ecore_X_Atom atom = 0;
816
817 LOGFN(__FILE__, __LINE__, __FUNCTION__);
818
819 if (!ecore_x_window_prop_atom_get(win,
820 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_STATE,
821 &atom, 1))
822 return ECORE_X_ILLUME_CLIPBOARD_STATE_UNKNOWN;
823 return _ecore_x_e_clipboard_state_get(atom);
824}
825
826EAPI void
827ecore_x_e_illume_clipboard_geometry_set(Ecore_X_Window win,
828 int x, int y, int w, int h)
829{
830 unsigned int geom[4];
831
832 LOGFN(__FILE__, __LINE__, __FUNCTION__);
833 geom[0] = x;
834 geom[1] = y;
835 geom[2] = w;
836 geom[3] = h;
837 ecore_x_window_prop_card32_set(win,
838 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY,
839 geom, 4);
840}
841
842EAPI Eina_Bool
843ecore_x_e_illume_clipboard_geometry_get(Ecore_X_Window win,
844 int *x, int *y, int *w, int *h)
845{
846 int ret = 0;
847 unsigned int geom[4];
848
849 LOGFN(__FILE__, __LINE__, __FUNCTION__);
850 ret =
851 ecore_x_window_prop_card32_get(win,
852 ECORE_X_ATOM_E_ILLUME_CLIPBOARD_GEOMETRY,
853 geom, 4);
854 if (ret != 4) return EINA_FALSE;
855
856 if (x) *x = geom[0];
857 if (y) *y = geom[1];
858 if (w) *w = geom[2];
859 if (h) *h = geom[3];
860
861 return EINA_TRUE;
862}
863
771EAPI void 864EAPI void
772ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, 865ecore_x_e_comp_sync_counter_set(Ecore_X_Window win,
773 Ecore_X_Sync_Counter counter) 866 Ecore_X_Sync_Counter counter)
@@ -1058,3 +1151,143 @@ ecore_x_e_comp_pixmap_get(Ecore_X_Window win)
1058 return pixmap; 1151 return pixmap;
1059} 1152}
1060 1153
1154static Ecore_X_Atom
1155_ecore_x_e_indicator_atom_get(Ecore_X_Illume_Indicator_State state)
1156{
1157 switch (state)
1158 {
1159 case ECORE_X_ILLUME_INDICATOR_STATE_ON:
1160 return ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
1161
1162 case ECORE_X_ILLUME_INDICATOR_STATE_OFF:
1163 return ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;
1164
1165 default:
1166 break;
1167 }
1168 return 0;
1169}
1170
1171static Ecore_X_Illume_Indicator_State
1172_ecore_x_e_indicator_state_get(Ecore_X_Atom atom)
1173{
1174 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_ON)
1175 return ECORE_X_ILLUME_INDICATOR_STATE_ON;
1176
1177 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF)
1178 return ECORE_X_ILLUME_INDICATOR_STATE_OFF;
1179
1180 return ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN;
1181}
1182
1183EAPI void
1184ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
1185 Ecore_X_Illume_Indicator_State state)
1186{
1187 Ecore_X_Atom atom = 0;
1188
1189 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1190 atom = _ecore_x_e_indicator_atom_get(state);
1191 ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE,
1192 &atom, 1);
1193}
1194
1195EAPI Ecore_X_Illume_Indicator_State
1196ecore_x_e_illume_indicator_state_get(Ecore_X_Window win)
1197{
1198 Ecore_X_Atom atom;
1199
1200 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1201 if (!ecore_x_window_prop_atom_get(win,
1202 ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE,
1203 &atom, 1))
1204 return ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN;
1205
1206 return _ecore_x_e_indicator_state_get(atom);
1207}
1208
1209EAPI void
1210ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
1211 Ecore_X_Illume_Indicator_State state)
1212{
1213 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1214 ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE,
1215 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
1216 _ecore_x_e_indicator_atom_get(state),
1217 0, 0, 0, 0);
1218}
1219
1220static Ecore_X_Atom
1221_ecore_x_e_indicator_opacity_atom_get(Ecore_X_Illume_Indicator_Opacity_Mode mode)
1222{
1223 switch (mode)
1224 {
1225 case ECORE_X_ILLUME_INDICATOR_OPAQUE:
1226 return ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE;
1227
1228 case ECORE_X_ILLUME_INDICATOR_TRANSLUCENT:
1229 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT;
1230
1231 case ECORE_X_ILLUME_INDICATOR_TRANSPARENT:
1232 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT;
1233
1234 default:
1235 break;
1236 }
1237 return 0;
1238}
1239
1240static Ecore_X_Illume_Indicator_Opacity_Mode
1241_ecore_x_e_indicator_opacity_get(Ecore_X_Atom atom)
1242{
1243 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_OPAQUE)
1244 return ECORE_X_ILLUME_INDICATOR_OPAQUE;
1245
1246 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSLUCENT)
1247 return ECORE_X_ILLUME_INDICATOR_TRANSLUCENT;
1248
1249 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT)
1250 return ECORE_X_ILLUME_INDICATOR_TRANSPARENT;
1251
1252 return ECORE_X_ILLUME_INDICATOR_OPACITY_UNKNOWN;
1253}
1254
1255EAPI void
1256ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win,
1257 Ecore_X_Illume_Indicator_Opacity_Mode mode)
1258{
1259 Ecore_X_Atom atom = 0;
1260
1261 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1262 atom = _ecore_x_e_indicator_opacity_atom_get(mode);
1263 ecore_x_window_prop_atom_set(win,
1264 ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE,
1265 &atom, 1);
1266}
1267
1268EAPI Ecore_X_Illume_Indicator_Opacity_Mode
1269ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win)
1270{
1271 Ecore_X_Atom atom;
1272
1273 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1274 if (!ecore_x_window_prop_atom_get(win,
1275 ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE,
1276 &atom, 1))
1277 return ECORE_X_ILLUME_INDICATOR_OPACITY_UNKNOWN;
1278
1279 return _ecore_x_e_indicator_opacity_get(atom);
1280}
1281
1282EAPI void
1283ecore_x_e_illume_indicator_opacity_send(Ecore_X_Window win,
1284 Ecore_X_Illume_Indicator_Opacity_Mode mode)
1285{
1286 LOGFN(__FILE__, __LINE__, __FUNCTION__);
1287 ecore_x_client_message32_send(win,
1288 ECORE_X_ATOM_E_ILLUME_INDICATOR_OPACITY_MODE,
1289 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE,
1290 _ecore_x_e_indicator_opacity_atom_get(mode),
1291 0, 0, 0, 0);
1292}
1293
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
index 9fc428a..3076c3c 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
+++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
@@ -661,6 +661,57 @@ ecore_x_netwm_strut_partial_get(Ecore_X_Window win,
661 return EINA_TRUE; 661 return EINA_TRUE;
662} 662}
663 663
664EAPI void
665ecore_x_netwm_icons_set(Ecore_X_Window win,
666 Ecore_X_Icon *icon,
667 int num)
668{
669 unsigned int *data, *p, *p2;
670 unsigned int i, size, x, y;
671
672 LOGFN(__FILE__, __LINE__, __FUNCTION__);
673 size = 0;
674 for (i = 0; i < (unsigned int)num; i++)
675 {
676 size += 2 + (icon[i].width * icon[i].height);
677 }
678 data = malloc(size * sizeof(unsigned int));
679 if (!data) return;
680 p = data;
681 for (i = 0; i < (unsigned int)num; i++)
682 {
683 p[0] = icon[i].width;
684 p[1] = icon[i].height;
685 p += 2;
686 p2 = icon[i].data;
687 for (y = 0; y < icon[i].height; y++)
688 {
689 for (x = 0; x < icon[i].width; x++)
690 {
691 unsigned int r, g, b, a;
692
693 a = (*p2 >> 24) & 0xff;
694 r = (*p2 >> 16) & 0xff;
695 g = (*p2 >> 8 ) & 0xff;
696 b = (*p2 ) & 0xff;
697 if ((a > 0) && (a < 255))
698 {
699 // unpremul
700 r = (r * 255) / a;
701 g = (g * 255) / a;
702 b = (b * 255) / a;
703 }
704 *p = (a << 24) | (r << 16) | (g << 8) | b;
705 p++;
706 p2++;
707 }
708 }
709 }
710 ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_NET_WM_ICON,
711 data, size);
712 free(data);
713}
714
664EAPI Eina_Bool 715EAPI Eina_Bool
665ecore_x_netwm_icons_get(Ecore_X_Window win, 716ecore_x_netwm_icons_get(Ecore_X_Window win,
666 Ecore_X_Icon **icon, 717 Ecore_X_Icon **icon,
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
index 38218a5..ec23b3c 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
+++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
@@ -347,9 +347,9 @@ ecore_x_randr_modes_info_get(Ecore_X_Window root,
347 ret[i]->vSyncStart = res->modes[i].vSyncStart; 347 ret[i]->vSyncStart = res->modes[i].vSyncStart;
348 ret[i]->vSyncEnd = res->modes[i].vSyncEnd; 348 ret[i]->vSyncEnd = res->modes[i].vSyncEnd;
349 ret[i]->vTotal = res->modes[i].vTotal; 349 ret[i]->vTotal = res->modes[i].vTotal;
350 if ((ret[i]->name = (malloc(res->modes[i].nameLength)))) 350 if ((ret[i]->name = (malloc(res->modes[i].nameLength + 1))))
351 strncpy(ret[i]->name, res->modes[i].name, 351 strncpy(ret[i]->name, res->modes[i].name,
352 res->modes[i].nameLength); 352 (res->modes[i].nameLength + 1));
353 else 353 else
354 ret[i]->name = NULL; 354 ret[i]->name = NULL;
355 355
@@ -380,6 +380,48 @@ ecore_x_randr_modes_info_get(Ecore_X_Window root,
380} 380}
381 381
382/* 382/*
383 * @brief add a mode to a display
384 * @param root window to which's screen's ressources are added
385 * @param mode_info
386 * @return Ecore_X_Randr_Mode of the added mode. Ecore_X_Randr_None if mode
387 * adding failed.
388 * @since 1.2.0
389 */
390EAPI Ecore_X_Randr_Mode
391ecore_x_randr_mode_info_add(Ecore_X_Window root,
392 Ecore_X_Randr_Mode_Info *mode_info)
393{
394#ifdef ECORE_XRANDR
395 RANDR_CHECK_1_2_RET(EINA_FALSE);
396 Ecore_X_Randr_Mode mode = Ecore_X_Randr_None;
397
398 if (_ecore_x_randr_root_validate(root) && mode_info)
399 mode = XRRCreateMode(_ecore_x_disp, root, (XRRModeInfo*)mode_info);
400
401 return mode;
402#else
403 return Ecore_X_Randr_None;
404#endif
405}
406
407/*
408 * @brief delete a mode from the display
409 * @param mode_info
410 * @since 1.2.0
411 */
412EAPI void
413ecore_x_randr_mode_del(Ecore_X_Randr_Mode mode)
414{
415#ifdef ECORE_XRANDR
416 RANDR_CHECK_1_2_RET();
417
418 XRRDestroyMode(_ecore_x_disp, mode);
419#else
420 return;
421#endif
422}
423
424/*
383 * @brief get detailed information for a given mode id 425 * @brief get detailed information for a given mode id
384 * @param root window which's screen's ressources are queried 426 * @param root window which's screen's ressources are queried
385 * @param mode the XID which identifies the mode of interest 427 * @param mode the XID which identifies the mode of interest
@@ -491,6 +533,83 @@ ecore_x_randr_crtcs_get(Ecore_X_Window root,
491#endif 533#endif
492} 534}
493 535
536/*
537 * @deprecated bad naming. Use ecore_x_randr_window_crtcs_get instead.
538 * @brief get the CRTCs, which display a certain window
539 * @param window window the displaying crtcs shall be found for
540 * @param num the number of crtcs displaying the window
541 * @return array of crtcs that display a certain window. NULL if no crtcs
542 * was found that displays the specified window.
543 */
544EAPI Ecore_X_Randr_Crtc *
545ecore_x_randr_current_crtc_get(Ecore_X_Window window,
546 int *num)
547{
548 return ecore_x_randr_window_crtcs_get(window, num);
549}
550
551/*
552 * @brief get the CRTCs, which display a certain window
553 * @param window window the displaying crtcs shall be found for
554 * @param num the number of crtcs displaying the window
555 * @return array of crtcs that display a certain window. NULL if no crtcs
556 * was found that displays the specified window.
557 * @since 1.2.0
558 */
559EAPI Ecore_X_Randr_Crtc *
560ecore_x_randr_window_crtcs_get(Ecore_X_Window window,
561 int *num)
562{
563#ifdef ECORE_XRANDR
564 Ecore_X_Window root;
565 Eina_Rectangle w_geo, c_geo;
566 Ecore_X_Randr_Crtc *crtcs;
567 Ecore_X_Randr_Mode mode;
568 Ecore_X_Randr_Output *ret = NULL;
569 Window tw;
570 int ncrtcs, i, nret = 0, rx = 0, ry = 0;
571
572 if (_randr_version < RANDR_1_2) goto _ecore_x_randr_window_crtcs_get_fail;
573
574 ecore_x_window_geometry_get(window,
575 &w_geo.x, &w_geo.y,
576 &w_geo.w, &w_geo.h);
577
578 root = ecore_x_window_root_get(window);
579 crtcs = ecore_x_randr_crtcs_get(root, &ncrtcs);
580 if (!crtcs) goto _ecore_x_randr_window_crtcs_get_fail;
581
582 /* now get window RELATIVE to root window - thats what matters. */
583 XTranslateCoordinates(_ecore_x_disp, window, root, 0, 0, &rx, &ry, &tw);
584 w_geo.x = rx;
585 w_geo.y = ry;
586
587 for (i = 0, nret = 0; i < ncrtcs; i++)
588 {
589 /* if crtc is not enabled, don't bother about it any further */
590 mode = ecore_x_randr_crtc_mode_get(root, crtcs[i]);
591 if (mode == Ecore_X_Randr_None) continue;
592
593 ecore_x_randr_crtc_geometry_get(root, crtcs[i],
594 &c_geo.x, &c_geo.y,
595 &c_geo.w, &c_geo.h);
596 if (eina_rectangles_intersect(&w_geo, &c_geo))
597 {
598 ret = realloc(ret, (sizeof(Ecore_X_Randr_Crtc) * ++nret));
599 ret[nret] = crtcs[i];
600 }
601 }
602 free(crtcs);
603
604 if (num) *num = nret;
605 return ret;
606
607_ecore_x_randr_window_crtcs_get_fail:
608#endif
609 if (num) *num = 0;
610 return NULL;
611}
612
494EAPI Ecore_X_Randr_Output * 613EAPI Ecore_X_Randr_Output *
495ecore_x_randr_outputs_get(Ecore_X_Window root, 614ecore_x_randr_outputs_get(Ecore_X_Window root,
496 int *num) 615 int *num)
@@ -1364,6 +1483,54 @@ ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root,
1364#endif 1483#endif
1365} 1484}
1366 1485
1486/*
1487 * @brief add given mode to given output
1488 * @param output the output the mode is added to
1489 * @param mode the mode added to the output
1490 * @return EINA_FALSE if output or mode equal Ecore_X_Randr_None, else EINA_TRUE
1491 * Additionally, if xcb backend is used, the success of the addition is reported
1492 * back directly.
1493 * @since 1.2.0
1494 */
1495EAPI Eina_Bool
1496ecore_x_randr_output_mode_add(Ecore_X_Randr_Output output,
1497 Ecore_X_Randr_Mode mode)
1498{
1499#ifdef ECORE_XRANDR
1500 RANDR_CHECK_1_2_RET(EINA_FALSE);
1501
1502 if ((output == Ecore_X_Randr_None) || (mode == Ecore_X_Randr_None))
1503 return EINA_FALSE;
1504
1505 XRRAddOutputMode(_ecore_x_disp, output, mode);
1506 return EINA_TRUE;
1507#else
1508 return EINA_FALSE;
1509#endif
1510}
1511
1512/*
1513 * @brief delete given mode from given output
1514 * @param output the output the mode is removed from
1515 * @param mode the mode removed from the output
1516 * @since 1.2.0
1517 */
1518EAPI void
1519ecore_x_randr_output_mode_del(Ecore_X_Randr_Output output,
1520 Ecore_X_Randr_Mode mode)
1521{
1522#ifdef ECORE_XRANDR
1523 RANDR_CHECK_1_2_RET();
1524
1525 if ((output == Ecore_X_Randr_None) || (mode == Ecore_X_Randr_None))
1526 return;
1527
1528 XRRDeleteOutputMode(_ecore_x_disp, output, mode);
1529#else
1530 return;
1531#endif
1532}
1533
1367EAPI Ecore_X_Randr_Mode * 1534EAPI Ecore_X_Randr_Mode *
1368ecore_x_randr_output_modes_get(Ecore_X_Window root, 1535ecore_x_randr_output_modes_get(Ecore_X_Window root,
1369 Ecore_X_Randr_Output output, 1536 Ecore_X_Randr_Output output,
@@ -2136,70 +2303,39 @@ ecore_x_randr_window_outputs_get(Ecore_X_Window window,
2136{ 2303{
2137#ifdef ECORE_XRANDR 2304#ifdef ECORE_XRANDR
2138 Ecore_X_Window root; 2305 Ecore_X_Window root;
2139 Eina_Rectangle w_geo, c_geo;
2140 Ecore_X_Randr_Crtc *crtcs; 2306 Ecore_X_Randr_Crtc *crtcs;
2141 Ecore_X_Randr_Mode mode; 2307 Ecore_X_Randr_Output *outputs, *ret = NULL;
2142 Ecore_X_Randr_Output *outputs, *ret = NULL, *tret; 2308 int ncrtcs, noutputs, i, nret = 0;
2143 Window tw;
2144 int ncrtcs, noutputs, i, nret = 0, rx = 0, ry = 0;
2145 2309
2146 if (_randr_version < RANDR_1_2) goto _ecore_x_randr_current_output_get_fail; 2310 if (_randr_version < RANDR_1_2) goto _ecore_x_randr_current_output_get_fail;
2147 2311
2148 ecore_x_window_geometry_get(window,
2149 &w_geo.x, &w_geo.y,
2150 &w_geo.w, &w_geo.h);
2151
2152 root = ecore_x_window_root_get(window); 2312 root = ecore_x_window_root_get(window);
2153 crtcs = ecore_x_randr_crtcs_get(root, &ncrtcs); 2313 if (!(crtcs = ecore_x_randr_window_crtcs_get(window, &ncrtcs)))
2154 if (!crtcs) goto _ecore_x_randr_current_output_get_fail; 2314 goto _ecore_x_randr_current_output_get_fail;
2155
2156 /* now get window RELATIVE to root window - thats what matters. */
2157 XTranslateCoordinates(_ecore_x_disp, window, root, 0, 0, &rx, &ry, &tw);
2158 w_geo.x = rx;
2159 w_geo.y = ry;
2160 2315
2161 for (i = 0; i < ncrtcs; i++) 2316 for (i = 0, nret = 0; i < ncrtcs; i++)
2162 { 2317 {
2163 /* if crtc is not enabled, don't bother about it any further */
2164 mode = ecore_x_randr_crtc_mode_get(root, crtcs[i]);
2165 if (mode == Ecore_X_Randr_None) continue;
2166 2318
2167 ecore_x_randr_crtc_geometry_get(root, crtcs[i], 2319 outputs = ecore_x_randr_crtc_outputs_get(root, crtcs[i],
2168 &c_geo.x, &c_geo.y, 2320 &noutputs);
2169 &c_geo.w, &c_geo.h); 2321 if (!outputs)
2170 if (eina_rectangles_intersect(&w_geo, &c_geo)) 2322 goto _ecore_x_randr_current_output_get_fail_free;
2171 { 2323 nret += noutputs;
2172 outputs = ecore_x_randr_crtc_outputs_get(root, crtcs[i], 2324 ret = realloc(ret, (nret * sizeof(Ecore_X_Randr_Output)));
2173 &noutputs); 2325 memcpy(&ret[nret], outputs, (noutputs * sizeof(Ecore_X_Randr_Output)));
2174 /* The case below should be impossible, but for safety reasons 2326 free(outputs);
2175 * remains */
2176 if (!outputs)
2177 {
2178 if (num) *num = 0;
2179 free(ret);
2180 free(crtcs);
2181 return NULL;
2182 }
2183 tret = realloc(ret, ((nret + noutputs) * sizeof(Ecore_X_Randr_Output)));
2184 if (!tret)
2185 {
2186 if (num) *num = 0;
2187 free(outputs);
2188 free(ret);
2189 free(crtcs);
2190 return NULL;
2191 }
2192 ret = tret;
2193 memcpy(&ret[nret], outputs, (noutputs * sizeof(Ecore_X_Randr_Output)));
2194 nret += noutputs;
2195 free(outputs);
2196 }
2197 } 2327 }
2198 free(crtcs); 2328 free(crtcs);
2199 2329
2200 if (num) *num = nret; 2330 if (num)
2331 *num = nret;
2332
2201 return ret; 2333 return ret;
2202 2334
2335_ecore_x_randr_current_output_get_fail_free:
2336 free(outputs);
2337 free(crtcs);
2338 free(ret);
2203_ecore_x_randr_current_output_get_fail: 2339_ecore_x_randr_current_output_get_fail:
2204#endif 2340#endif
2205 if (num) *num = 0; 2341 if (num) *num = 0;
@@ -2207,7 +2343,7 @@ _ecore_x_randr_current_output_get_fail:
2207} 2343}
2208 2344
2209/* 2345/*
2210 * @depricated bad naming. Use ecore_x_randr_window_outputs_get instead. 2346 * @deprecated bad naming. Use ecore_x_randr_window_outputs_get instead.
2211 * @brief get the outputs, which display a certain window 2347 * @brief get the outputs, which display a certain window
2212 * @param window window the displaying outputs shall be found for 2348 * @param window window the displaying outputs shall be found for
2213 * @param num the number of outputs displaying the window 2349 * @param num the number of outputs displaying the window
@@ -2215,7 +2351,7 @@ _ecore_x_randr_current_output_get_fail:
2215 * was found that displays the specified window. 2351 * was found that displays the specified window.
2216 */ 2352 */
2217 2353
2218EINA_DEPRECATED EAPI Ecore_X_Randr_Output * 2354EAPI Ecore_X_Randr_Output *
2219ecore_x_randr_current_output_get(Ecore_X_Window window, 2355ecore_x_randr_current_output_get(Ecore_X_Window window,
2220 int *num) 2356 int *num)
2221{ 2357{
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_test.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
index c8c04e4..23eea10 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
+++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
@@ -153,3 +153,15 @@ ecore_x_keysym_string_get(int keysym)
153 return XKeysymToString(keysym); 153 return XKeysymToString(keysym);
154} 154}
155 155
156EAPI int
157ecore_x_keysym_keycode_get(const char *keyname)
158{
159 int keycode = 0;
160
161 if (!strncmp(keyname, "Keycode-", 8))
162 keycode = atoi(keyname + 8);
163 else
164 keycode = XKeysymToKeycode(_ecore_x_disp, XStringToKeysym(keyname));
165
166 return keycode;
167}
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
index 1adb36b..90392bf 100644
--- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
+++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
@@ -224,7 +224,7 @@ ecore_x_window_input_new(Ecore_X_Window parent,
224 * @c _NET_WM_PID. 224 * @c _NET_WM_PID.
225 * 225 *
226 * @param win The given window. 226 * @param win The given window.
227 * @ingroup Ecore_X_Window_Properties_Groups 227 * @ingroup Ecore_X_Window_Properties_Group
228 */ 228 */
229EAPI void 229EAPI void
230ecore_x_window_defaults_set(Ecore_X_Window win) 230ecore_x_window_defaults_set(Ecore_X_Window win)
@@ -597,7 +597,7 @@ ecore_x_window_focus_at_time(Ecore_X_Window win,
597} 597}
598 598
599/** 599/**
600 * gets the focus to the window @p win. 600 * gets the window that has focus.
601 * @return The window that has focus. 601 * @return The window that has focus.
602 * @ingroup Ecore_X_Window_Focus_Functions 602 * @ingroup Ecore_X_Window_Focus_Functions
603 */ 603 */
diff --git a/libraries/ecore/src/modules/Makefile.in b/libraries/ecore/src/modules/Makefile.in
index 4bb9420..e2cf44a 100644
--- a/libraries/ecore/src/modules/Makefile.in
+++ b/libraries/ecore/src/modules/Makefile.in
@@ -47,16 +47,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 48 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
49 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 49 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
50 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 50 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
51 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 51 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
52 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 52 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
53 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 53 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
54 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 54 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
55 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 55 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
56 $(top_srcdir)/configure.ac
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 56am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 $(ACLOCAL_M4) 57 $(ACLOCAL_M4)
59mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 58mkinstalldirs = $(install_sh) -d
60CONFIG_HEADER = $(top_builddir)/config.h 59CONFIG_HEADER = $(top_builddir)/config.h
61CONFIG_CLEAN_FILES = 60CONFIG_CLEAN_FILES =
62CONFIG_CLEAN_VPATH_FILES = 61CONFIG_CLEAN_VPATH_FILES =
@@ -172,6 +171,8 @@ EVAS_LIBS = @EVAS_LIBS@
172EVIL_CFLAGS = @EVIL_CFLAGS@ 171EVIL_CFLAGS = @EVIL_CFLAGS@
173EVIL_LIBS = @EVIL_LIBS@ 172EVIL_LIBS = @EVIL_LIBS@
174EXEEXT = @EXEEXT@ 173EXEEXT = @EXEEXT@
174EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
175EXOTIC_LIBS = @EXOTIC_LIBS@
175FGREP = @FGREP@ 176FGREP = @FGREP@
176GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 177GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
177GLIB_CFLAGS = @GLIB_CFLAGS@ 178GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -227,6 +228,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
227PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 228PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
228PIXMAN_LIBS = @PIXMAN_LIBS@ 229PIXMAN_LIBS = @PIXMAN_LIBS@
229PKG_CONFIG = @PKG_CONFIG@ 230PKG_CONFIG = @PKG_CONFIG@
231PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
232PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
230POSUB = @POSUB@ 233POSUB = @POSUB@
231RANLIB = @RANLIB@ 234RANLIB = @RANLIB@
232SCIM_CFLAGS = @SCIM_CFLAGS@ 235SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -237,6 +240,7 @@ SDL_LIBS = @SDL_LIBS@
237SED = @SED@ 240SED = @SED@
238SET_MAKE = @SET_MAKE@ 241SET_MAKE = @SET_MAKE@
239SHELL = @SHELL@ 242SHELL = @SHELL@
243SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
240SSL_CFLAGS = @SSL_CFLAGS@ 244SSL_CFLAGS = @SSL_CFLAGS@
241SSL_LIBS = @SSL_LIBS@ 245SSL_LIBS = @SSL_LIBS@
242STRIP = @STRIP@ 246STRIP = @STRIP@
diff --git a/libraries/ecore/src/modules/immodules/Makefile.in b/libraries/ecore/src/modules/immodules/Makefile.in
index e65881c..5dacbed 100644
--- a/libraries/ecore/src/modules/immodules/Makefile.in
+++ b/libraries/ecore/src/modules/immodules/Makefile.in
@@ -49,16 +49,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
52 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 52 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
53 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 53 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 54 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 55 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 56 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
57 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 57 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
58 $(top_srcdir)/configure.ac
59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
61mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 60mkinstalldirs = $(install_sh) -d
62CONFIG_HEADER = $(top_builddir)/config.h 61CONFIG_HEADER = $(top_builddir)/config.h
63CONFIG_CLEAN_FILES = 62CONFIG_CLEAN_FILES =
64CONFIG_CLEAN_VPATH_FILES = 63CONFIG_CLEAN_VPATH_FILES =
@@ -174,6 +173,8 @@ EVAS_LIBS = @EVAS_LIBS@
174EVIL_CFLAGS = @EVIL_CFLAGS@ 173EVIL_CFLAGS = @EVIL_CFLAGS@
175EVIL_LIBS = @EVIL_LIBS@ 174EVIL_LIBS = @EVIL_LIBS@
176EXEEXT = @EXEEXT@ 175EXEEXT = @EXEEXT@
176EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
177EXOTIC_LIBS = @EXOTIC_LIBS@
177FGREP = @FGREP@ 178FGREP = @FGREP@
178GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 179GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
179GLIB_CFLAGS = @GLIB_CFLAGS@ 180GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -229,6 +230,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
229PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 230PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
230PIXMAN_LIBS = @PIXMAN_LIBS@ 231PIXMAN_LIBS = @PIXMAN_LIBS@
231PKG_CONFIG = @PKG_CONFIG@ 232PKG_CONFIG = @PKG_CONFIG@
233PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
234PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
232POSUB = @POSUB@ 235POSUB = @POSUB@
233RANLIB = @RANLIB@ 236RANLIB = @RANLIB@
234SCIM_CFLAGS = @SCIM_CFLAGS@ 237SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -239,6 +242,7 @@ SDL_LIBS = @SDL_LIBS@
239SED = @SED@ 242SED = @SED@
240SET_MAKE = @SET_MAKE@ 243SET_MAKE = @SET_MAKE@
241SHELL = @SHELL@ 244SHELL = @SHELL@
245SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
242SSL_CFLAGS = @SSL_CFLAGS@ 246SSL_CFLAGS = @SSL_CFLAGS@
243SSL_LIBS = @SSL_LIBS@ 247SSL_LIBS = @SSL_LIBS@
244STRIP = @STRIP@ 248STRIP = @STRIP@
diff --git a/libraries/ecore/src/modules/immodules/scim/Makefile.in b/libraries/ecore/src/modules/immodules/scim/Makefile.in
index 9fc3283..ae6fc7d 100644
--- a/libraries/ecore/src/modules/immodules/scim/Makefile.in
+++ b/libraries/ecore/src/modules/immodules/scim/Makefile.in
@@ -48,16 +48,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
51 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 51 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
52 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 52 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 53 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 54 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 55 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
56 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 56 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
57 $(top_srcdir)/configure.ac
58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
60mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 59mkinstalldirs = $(install_sh) -d
61CONFIG_HEADER = $(top_builddir)/config.h 60CONFIG_HEADER = $(top_builddir)/config.h
62CONFIG_CLEAN_FILES = 61CONFIG_CLEAN_FILES =
63CONFIG_CLEAN_VPATH_FILES = 62CONFIG_CLEAN_VPATH_FILES =
@@ -205,6 +204,8 @@ EVAS_LIBS = @EVAS_LIBS@
205EVIL_CFLAGS = @EVIL_CFLAGS@ 204EVIL_CFLAGS = @EVIL_CFLAGS@
206EVIL_LIBS = @EVIL_LIBS@ 205EVIL_LIBS = @EVIL_LIBS@
207EXEEXT = @EXEEXT@ 206EXEEXT = @EXEEXT@
207EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
208EXOTIC_LIBS = @EXOTIC_LIBS@
208FGREP = @FGREP@ 209FGREP = @FGREP@
209GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 210GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
210GLIB_CFLAGS = @GLIB_CFLAGS@ 211GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -260,6 +261,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
260PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 261PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
261PIXMAN_LIBS = @PIXMAN_LIBS@ 262PIXMAN_LIBS = @PIXMAN_LIBS@
262PKG_CONFIG = @PKG_CONFIG@ 263PKG_CONFIG = @PKG_CONFIG@
264PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
265PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
263POSUB = @POSUB@ 266POSUB = @POSUB@
264RANLIB = @RANLIB@ 267RANLIB = @RANLIB@
265SCIM_CFLAGS = @SCIM_CFLAGS@ 268SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -270,6 +273,7 @@ SDL_LIBS = @SDL_LIBS@
270SED = @SED@ 273SED = @SED@
271SET_MAKE = @SET_MAKE@ 274SET_MAKE = @SET_MAKE@
272SHELL = @SHELL@ 275SHELL = @SHELL@
276SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
273SSL_CFLAGS = @SSL_CFLAGS@ 277SSL_CFLAGS = @SSL_CFLAGS@
274SSL_LIBS = @SSL_LIBS@ 278SSL_LIBS = @SSL_LIBS@
275STRIP = @STRIP@ 279STRIP = @STRIP@
diff --git a/libraries/ecore/src/modules/immodules/scim/scim_imcontext.cpp b/libraries/ecore/src/modules/immodules/scim/scim_imcontext.cpp
index 6cb72c2..eb9b5c9 100644
--- a/libraries/ecore/src/modules/immodules/scim/scim_imcontext.cpp
+++ b/libraries/ecore/src/modules/immodules/scim/scim_imcontext.cpp
@@ -223,18 +223,18 @@ static int __current_super_mask = 0;
223static int __current_hyper_mask = 0; 223static int __current_hyper_mask = 0;
224static int __current_numlock_mask = Mod2Mask; 224static int __current_numlock_mask = Mod2Mask;
225 225
226// A hack to shutdown the immodule cleanly even if im_module_exit () is not called when exiting. 226// A hack to shutdown the immodule cleanly even if im_module_exit() is not called when exiting.
227class FinalizeHandler 227class FinalizeHandler
228{ 228{
229public: 229public:
230 FinalizeHandler () 230 FinalizeHandler()
231 { 231 {
232 SCIM_DEBUG_FRONTEND(1) << "FinalizeHandler::FinalizeHandler ()\n"; 232 SCIM_DEBUG_FRONTEND(1) << "FinalizeHandler::FinalizeHandler()\n";
233 } 233 }
234 ~FinalizeHandler () 234 ~FinalizeHandler()
235 { 235 {
236 SCIM_DEBUG_FRONTEND(1) << "FinalizeHandler::~FinalizeHandler ()\n"; 236 SCIM_DEBUG_FRONTEND(1) << "FinalizeHandler::~FinalizeHandler()\n";
237 isf_imf_context_shutdown (); 237 isf_imf_context_shutdown();
238 } 238 }
239}; 239};
240 240
@@ -254,12 +254,12 @@ utf8_offset_to_index(const char *str, int offset)
254} 254}
255 255
256static unsigned int 256static unsigned int
257get_time (void) 257get_time(void)
258{ 258{
259 unsigned int tint; 259 unsigned int tint;
260 struct timeval tv; 260 struct timeval tv;
261 struct timezone tz; /* is not used since ages */ 261 struct timezone tz; /* is not used since ages */
262 gettimeofday (&tv, &tz); 262 gettimeofday(&tv, &tz);
263 tint = tv.tv_sec * 1000; 263 tint = tv.tv_sec * 1000;
264 tint = tint / 1000 * 1000; 264 tint = tint / 1000 * 1000;
265 tint = tint + tv.tv_usec / 1000; 265 tint = tint + tv.tv_usec / 1000;
@@ -268,7 +268,7 @@ get_time (void)
268 268
269/* Function Implementations */ 269/* Function Implementations */
270static EcoreIMFContextISFImpl * 270static EcoreIMFContextISFImpl *
271new_ic_impl (EcoreIMFContextISF *parent) 271new_ic_impl(EcoreIMFContextISF *parent)
272{ 272{
273 EcoreIMFContextISFImpl *impl = NULL; 273 EcoreIMFContextISFImpl *impl = NULL;
274 274
@@ -295,7 +295,7 @@ new_ic_impl (EcoreIMFContextISF *parent)
295} 295}
296 296
297static void 297static void
298delete_ic_impl (EcoreIMFContextISFImpl *impl) 298delete_ic_impl(EcoreIMFContextISFImpl *impl)
299{ 299{
300 EcoreIMFContextISFImpl *rec = _used_ic_impl_list, *last = 0; 300 EcoreIMFContextISFImpl *rec = _used_ic_impl_list, *last = 0;
301 301
@@ -312,10 +312,10 @@ delete_ic_impl (EcoreIMFContextISFImpl *impl)
312 _free_ic_impl_list = rec; 312 _free_ic_impl_list = rec;
313 313
314 rec->parent = 0; 314 rec->parent = 0;
315 rec->si.reset (); 315 rec->si.reset();
316 rec->client_window = 0; 316 rec->client_window = 0;
317 rec->preedit_string = WideString (); 317 rec->preedit_string = WideString();
318 rec->preedit_attrlist.clear (); 318 rec->preedit_attrlist.clear();
319 319
320 return; 320 return;
321 } 321 }
@@ -323,7 +323,7 @@ delete_ic_impl (EcoreIMFContextISFImpl *impl)
323} 323}
324 324
325static void 325static void
326delete_all_ic_impl (void) 326delete_all_ic_impl(void)
327{ 327{
328 EcoreIMFContextISFImpl *it = _used_ic_impl_list; 328 EcoreIMFContextISFImpl *it = _used_ic_impl_list;
329 329
@@ -344,7 +344,7 @@ delete_all_ic_impl (void)
344} 344}
345 345
346static EcoreIMFContextISF * 346static EcoreIMFContextISF *
347find_ic (int id) 347find_ic(int id)
348{ 348{
349 EcoreIMFContextISFImpl *rec = _used_ic_impl_list; 349 EcoreIMFContextISFImpl *rec = _used_ic_impl_list;
350 350
@@ -363,17 +363,18 @@ analyze_surrounding_text(Ecore_IMF_Context *ctx)
363{ 363{
364 char *plain_str = NULL; 364 char *plain_str = NULL;
365 char *markup_str = NULL; 365 char *markup_str = NULL;
366 const char *puncs[3] = {". ", "! ", "? "}; 366 const char *puncs[] = {". ", "! ", "? "};
367 Eina_Bool ret = EINA_FALSE; 367 Eina_Bool ret = EINA_FALSE;
368 int cursor_pos = 0; 368 int cursor_pos = 0;
369 int i = 0; 369 int i = 0;
370 Eina_Unicode *tail = NULL; 370 Eina_Unicode *tail = NULL;
371 Eina_Unicode *ustr = NULL; 371 Eina_Unicode *ustr = NULL;
372 Eina_Unicode *uni_puncs[3]; 372 const int punc_num = sizeof(puncs) / sizeof(puncs[0]);
373 Eina_Unicode *uni_puncs[punc_num];
373 EcoreIMFContextISF *context_scim; 374 EcoreIMFContextISF *context_scim;
374 375
375 if (!ctx) return EINA_FALSE; 376 if (!ctx) return EINA_FALSE;
376 context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 377 context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
377 if (!context_scim || !context_scim->impl) return EINA_FALSE; 378 if (!context_scim || !context_scim->impl) return EINA_FALSE;
378 379
379 switch (context_scim->impl->autocapital_type) 380 switch (context_scim->impl->autocapital_type)
@@ -386,7 +387,7 @@ analyze_surrounding_text(Ecore_IMF_Context *ctx)
386 break; 387 break;
387 } 388 }
388 389
389 for (i=0; i<3; i++) 390 for (i = 0; i < punc_num; i++)
390 uni_puncs[i] = eina_unicode_utf8_to_unicode(puncs[i], NULL); 391 uni_puncs[i] = eina_unicode_utf8_to_unicode(puncs[i], NULL);
391 392
392 ecore_imf_context_surrounding_get(ctx, &markup_str, &cursor_pos); 393 ecore_imf_context_surrounding_get(ctx, &markup_str, &cursor_pos);
@@ -432,7 +433,7 @@ analyze_surrounding_text(Ecore_IMF_Context *ctx)
432 433
433 if (tail) 434 if (tail)
434 { 435 {
435 for (i=0; i<3; i++) 436 for (i = 0; i < punc_num; i++)
436 { 437 {
437 if (!eina_unicode_strcmp(tail, uni_puncs[i])) 438 if (!eina_unicode_strcmp(tail, uni_puncs[i]))
438 { 439 {
@@ -450,7 +451,7 @@ done:
450 if (markup_str) free(markup_str); 451 if (markup_str) free(markup_str);
451 if (plain_str) free(plain_str); 452 if (plain_str) free(plain_str);
452 453
453 for (i=0; i<3; i++) 454 for (i = 0; i < punc_num; i++)
454 if (uni_puncs[i]) free(uni_puncs[i]); 455 if (uni_puncs[i]) free(uni_puncs[i]);
455 456
456 return ret; 457 return ret;
@@ -463,7 +464,7 @@ caps_mode_check(Ecore_IMF_Context *ctx, Eina_Bool force)
463 EcoreIMFContextISF *context_scim; 464 EcoreIMFContextISF *context_scim;
464 465
465 if (!ctx) return; 466 if (!ctx) return;
466 context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 467 context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
467 468
468 if (autocap_allow == EINA_FALSE) 469 if (autocap_allow == EINA_FALSE)
469 return; 470 return;
@@ -485,28 +486,52 @@ caps_mode_check(Ecore_IMF_Context *ctx, Eina_Bool force)
485} 486}
486 487
487static void 488static void
488feed_key_event (Evas *evas, const char *str, Eina_Bool fake) 489feed_key_event(Evas *evas, const char *str, Eina_Bool fake)
489{ 490{
490 char key_string[128] = {0}; 491 char key_string[128] = {0};
491 unsigned int timestamp = 0; 492 unsigned int timestamp = 0;
492 493
493 if (!fake) 494 if (!fake)
494 timestamp = get_time (); 495 timestamp = get_time();
495 496
496 if (strncmp (str, "KeyRelease+", 11) == 0) 497 if (strncmp(str, "KeyRelease+", 11) == 0)
497 { 498 {
498 strncpy(key_string, str + 11, strlen(str)-11); 499 strncpy(key_string, str + 11, strlen(str)-11);
499 evas_event_feed_key_up (evas, key_string, key_string, NULL, NULL, timestamp, NULL); 500 evas_event_feed_key_up(evas, key_string, key_string, NULL, NULL, timestamp, NULL);
500 SCIM_DEBUG_FRONTEND(1) << " evas_event_feed_key_up ()...\n"; 501 SCIM_DEBUG_FRONTEND(1) << " evas_event_feed_key_up()...\n";
501 } 502 }
502 else 503 else
503 { 504 {
504 strncpy(key_string, str, strlen(str)); 505 strncpy(key_string, str, strlen(str));
505 evas_event_feed_key_down (evas, key_string, key_string, NULL, NULL, timestamp, NULL); 506 evas_event_feed_key_down(evas, key_string, key_string, NULL, NULL, timestamp, NULL);
506 SCIM_DEBUG_FRONTEND(1) << " evas_event_feed_key_down ()...\n"; 507 SCIM_DEBUG_FRONTEND(1) << " evas_event_feed_key_down()...\n";
507 } 508 }
508} 509}
509 510
511static void
512window_to_screen_geometry_get(Ecore_X_Window client_win, int *x, int *y)
513{
514 Ecore_X_Window root_window, win;
515 int win_x, win_y;
516 int sum_x = 0, sum_y = 0;
517
518 root_window = ecore_x_window_root_get(client_win);
519 win = client_win;
520
521 while (root_window != win)
522 {
523 ecore_x_window_geometry_get(win, &win_x, &win_y, NULL, NULL);
524 sum_x += win_x;
525 sum_y += win_y;
526 win = ecore_x_window_parent_get(win);
527 }
528
529 if (x)
530 *x = sum_x;
531 if (y)
532 *y = sum_y;
533}
534
510/* Public functions */ 535/* Public functions */
511/** 536/**
512 * isf_imf_context_new 537 * isf_imf_context_new
@@ -517,18 +542,11 @@ feed_key_event (Evas *evas, const char *str, Eina_Bool fake)
517 * Return value: A pointer to the newly created EcoreIMFContextISF instance 542 * Return value: A pointer to the newly created EcoreIMFContextISF instance
518 */ 543 */
519EAPI EcoreIMFContextISF * 544EAPI EcoreIMFContextISF *
520isf_imf_context_new (void) 545isf_imf_context_new(void)
521{ 546{
522 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 547 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
523 char *env; 548 char *env;
524 549
525 Ecore_X_Display *display = ecore_x_display_get ();
526 if (!display)
527 {
528 std::cerr << "ecore_x_display_get () failed !!!";
529 return NULL;
530 }
531
532 EcoreIMFContextISF *context_scim = new EcoreIMFContextISF; 550 EcoreIMFContextISF *context_scim = new EcoreIMFContextISF;
533 if (context_scim == NULL) 551 if (context_scim == NULL)
534 { 552 {
@@ -540,7 +558,7 @@ isf_imf_context_new (void)
540 558
541 if (!_scim_initialized) 559 if (!_scim_initialized)
542 { 560 {
543 initialize (); 561 initialize();
544 _scim_initialized = true; 562 _scim_initialized = true;
545 } 563 }
546 564
@@ -558,61 +576,61 @@ isf_imf_context_new (void)
558 * cleanup job. 576 * cleanup job.
559 */ 577 */
560EAPI void 578EAPI void
561isf_imf_context_shutdown (void) 579isf_imf_context_shutdown(void)
562{ 580{
563 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 581 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
564 582
565 if (_scim_initialized) 583 if (_scim_initialized)
566 { 584 {
567 _scim_initialized = false; 585 _scim_initialized = false;
568 finalize (); 586 finalize();
569 } 587 }
570} 588}
571 589
572EAPI void 590EAPI void
573isf_imf_context_add (Ecore_IMF_Context *ctx) 591isf_imf_context_add(Ecore_IMF_Context *ctx)
574{ 592{
575 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 593 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
576 594
577 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 595 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
578 596
579 if (!context_scim) return; 597 if (!context_scim) return;
580 598
581 context_scim->impl = NULL; 599 context_scim->impl = NULL;
582 600
583 if (_backend.null ()) 601 if (_backend.null())
584 return; 602 return;
585 603
586 IMEngineInstancePointer si; 604 IMEngineInstancePointer si;
587 605
588 // Use the default instance if "shared input method" mode is enabled. 606 // Use the default instance if "shared input method" mode is enabled.
589 if (_shared_input_method && !_default_instance.null ()) 607 if (_shared_input_method && !_default_instance.null())
590 { 608 {
591 si = _default_instance; 609 si = _default_instance;
592 SCIM_DEBUG_FRONTEND(2) << "use default instance: " << si->get_id () << " " << si->get_factory_uuid () << "\n"; 610 SCIM_DEBUG_FRONTEND(2) << "use default instance: " << si->get_id() << " " << si->get_factory_uuid() << "\n";
593 } 611 }
594 612
595 // Not in "shared input method" mode, or no default instance, create an instance. 613 // Not in "shared input method" mode, or no default instance, create an instance.
596 if (si.null ()) 614 if (si.null())
597 { 615 {
598 IMEngineFactoryPointer factory = _backend->get_default_factory (_language, "UTF-8"); 616 IMEngineFactoryPointer factory = _backend->get_default_factory(_language, "UTF-8");
599 if (factory.null ()) return; 617 if (factory.null()) return;
600 si = factory->create_instance ("UTF-8", _instance_count++); 618 si = factory->create_instance("UTF-8", _instance_count++);
601 if (si.null ()) return; 619 if (si.null()) return;
602 attach_instance (si); 620 attach_instance(si);
603 SCIM_DEBUG_FRONTEND(2) << "create new instance: " << si->get_id () << " " << si->get_factory_uuid () << "\n"; 621 SCIM_DEBUG_FRONTEND(2) << "create new instance: " << si->get_id() << " " << si->get_factory_uuid() << "\n";
604 } 622 }
605 623
606 // If "shared input method" mode is enabled, and there is no default instance, 624 // If "shared input method" mode is enabled, and there is no default instance,
607 // then store this instance as default one. 625 // then store this instance as default one.
608 if (_shared_input_method && _default_instance.null ()) 626 if (_shared_input_method && _default_instance.null())
609 { 627 {
610 SCIM_DEBUG_FRONTEND(2) << "update default instance.\n"; 628 SCIM_DEBUG_FRONTEND(2) << "update default instance.\n";
611 _default_instance = si; 629 _default_instance = si;
612 } 630 }
613 631
614 context_scim->ctx = ctx; 632 context_scim->ctx = ctx;
615 context_scim->impl = new_ic_impl (context_scim); 633 context_scim->impl = new_ic_impl(context_scim);
616 if (context_scim->impl == NULL) 634 if (context_scim->impl == NULL)
617 { 635 {
618 std::cerr << "memory allocation failed in " << __FUNCTION__ << "\n"; 636 std::cerr << "memory allocation failed in " << __FUNCTION__ << "\n";
@@ -640,24 +658,24 @@ isf_imf_context_add (Ecore_IMF_Context *ctx)
640 _ic_list = context_scim; 658 _ic_list = context_scim;
641 659
642 if (_shared_input_method) 660 if (_shared_input_method)
643 context_scim->impl->is_on = _config->read (String (SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), context_scim->impl->is_on); 661 context_scim->impl->is_on = _config->read(String(SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), context_scim->impl->is_on);
644 662
645 _panel_client.prepare (context_scim->id); 663 _panel_client.prepare(context_scim->id);
646 _panel_client.register_input_context (context_scim->id, si->get_factory_uuid ()); 664 _panel_client.register_input_context(context_scim->id, si->get_factory_uuid());
647 set_ic_capabilities (context_scim); 665 set_ic_capabilities(context_scim);
648 _panel_client.send (); 666 _panel_client.send();
649 667
650 SCIM_DEBUG_FRONTEND(2) << "input context created: id = " << context_scim->id << "\n"; 668 SCIM_DEBUG_FRONTEND(2) << "input context created: id = " << context_scim->id << "\n";
651} 669}
652 670
653EAPI void 671EAPI void
654isf_imf_context_del (Ecore_IMF_Context *ctx) 672isf_imf_context_del(Ecore_IMF_Context *ctx)
655{ 673{
656 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 674 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
657 675
658 if (!_ic_list) return; 676 if (!_ic_list) return;
659 677
660 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 678 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
661 679
662 if (context_scim) 680 if (context_scim)
663 { 681 {
@@ -682,32 +700,32 @@ isf_imf_context_del (Ecore_IMF_Context *ctx)
682 700
683 if (context_scim && context_scim->impl) 701 if (context_scim && context_scim->impl)
684 { 702 {
685 _panel_client.prepare (context_scim->id); 703 _panel_client.prepare(context_scim->id);
686 704
687 if (context_scim == _focused_ic) 705 if (context_scim == _focused_ic)
688 context_scim->impl->si->focus_out (); 706 context_scim->impl->si->focus_out();
689 707
690 // Delete the instance. 708 // Delete the instance.
691 EcoreIMFContextISF *old_focused = _focused_ic; 709 EcoreIMFContextISF *old_focused = _focused_ic;
692 _focused_ic = context_scim; 710 _focused_ic = context_scim;
693 context_scim->impl->si.reset (); 711 context_scim->impl->si.reset();
694 _focused_ic = old_focused; 712 _focused_ic = old_focused;
695 713
696 if (context_scim == _focused_ic) 714 if (context_scim == _focused_ic)
697 { 715 {
698 _panel_client.turn_off (context_scim->id); 716 _panel_client.turn_off(context_scim->id);
699 _panel_client.focus_out (context_scim->id); 717 _panel_client.focus_out(context_scim->id);
700 } 718 }
701 719
702 _panel_client.remove_input_context (context_scim->id); 720 _panel_client.remove_input_context(context_scim->id);
703 _panel_client.send (); 721 _panel_client.send();
704 722
705 if (context_scim->impl->client_window) 723 if (context_scim->impl->client_window)
706 isf_imf_context_client_window_set (ctx, NULL); 724 isf_imf_context_client_window_set(ctx, NULL);
707 725
708 if (context_scim->impl) 726 if (context_scim->impl)
709 { 727 {
710 delete_ic_impl (context_scim->impl); 728 delete_ic_impl(context_scim->impl);
711 context_scim->impl = 0; 729 context_scim->impl = 0;
712 } 730 }
713 } 731 }
@@ -738,11 +756,11 @@ isf_imf_context_del (Ecore_IMF_Context *ctx)
738 * be used for purposes internal to the Input Method Context. 756 * be used for purposes internal to the Input Method Context.
739 */ 757 */
740EAPI void 758EAPI void
741isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *canvas) 759isf_imf_context_client_canvas_set(Ecore_IMF_Context *ctx, void *canvas)
742{ 760{
743 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 761 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
744 762
745 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 763 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
746 764
747 if (context_scim && context_scim->impl && context_scim->impl->client_canvas != (Evas*) canvas) 765 if (context_scim && context_scim->impl && context_scim->impl->client_canvas != (Evas*) canvas)
748 context_scim->impl->client_canvas = (Evas*)canvas; 766 context_scim->impl->client_canvas = (Evas*)canvas;
@@ -762,11 +780,11 @@ isf_imf_context_client_canvas_set (Ecore_IMF_Context *ctx, void *canvas)
762 * and may also be used for purposes internal to the Input Method Context. 780 * and may also be used for purposes internal to the Input Method Context.
763 */ 781 */
764EAPI void 782EAPI void
765isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window) 783isf_imf_context_client_window_set(Ecore_IMF_Context *ctx, void *window)
766{ 784{
767 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 785 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
768 786
769 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 787 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
770 788
771 if (context_scim && context_scim->impl && context_scim->impl->client_window != (Ecore_X_Window)((Ecore_Window)window)) 789 if (context_scim && context_scim->impl && context_scim->impl->client_window != (Ecore_X_Window)((Ecore_Window)window))
772 { 790 {
@@ -789,29 +807,29 @@ isf_imf_context_client_window_set (Ecore_IMF_Context *ctx, void *window)
789 * to clear the preedit state. 807 * to clear the preedit state.
790 */ 808 */
791EAPI void 809EAPI void
792isf_imf_context_reset (Ecore_IMF_Context *ctx) 810isf_imf_context_reset(Ecore_IMF_Context *ctx)
793{ 811{
794 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 812 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
795 813
796 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 814 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
797 815
798 if (context_scim && context_scim->impl && context_scim == _focused_ic) 816 if (context_scim && context_scim->impl && context_scim == _focused_ic)
799 { 817 {
800 WideString wstr = context_scim->impl->preedit_string; 818 WideString wstr = context_scim->impl->preedit_string;
801 819
802 _panel_client.prepare (context_scim->id); 820 _panel_client.prepare(context_scim->id);
803 context_scim->impl->si->reset (); 821 context_scim->impl->si->reset();
804 _panel_client.send (); 822 _panel_client.send();
805 823
806 if (context_scim->impl->need_commit_preedit) 824 if (context_scim->impl->need_commit_preedit)
807 { 825 {
808 if (wstr.length ()) 826 if (wstr.length())
809 { 827 {
810 ecore_imf_context_commit_event_add (context_scim->ctx, utf8_wcstombs (wstr).c_str ()); 828 ecore_imf_context_commit_event_add(context_scim->ctx, utf8_wcstombs(wstr).c_str());
811 ecore_imf_context_event_callback_call(context_scim->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(wstr).c_str()); 829 ecore_imf_context_event_callback_call(context_scim->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(wstr).c_str());
812 } 830 }
813 _panel_client.prepare (context_scim->id); 831 _panel_client.prepare(context_scim->id);
814 _panel_client.send (); 832 _panel_client.send();
815 } 833 }
816 } 834 }
817} 835}
@@ -825,9 +843,9 @@ isf_imf_context_reset (Ecore_IMF_Context *ctx)
825 * Notify the Input Method Context that the widget to which its correspond has gained focus. 843 * Notify the Input Method Context that the widget to which its correspond has gained focus.
826 */ 844 */
827EAPI void 845EAPI void
828isf_imf_context_focus_in (Ecore_IMF_Context *ctx) 846isf_imf_context_focus_in(Ecore_IMF_Context *ctx)
829{ 847{
830 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 848 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
831 849
832 if (!context_scim) 850 if (!context_scim)
833 return; 851 return;
@@ -839,12 +857,11 @@ isf_imf_context_focus_in (Ecore_IMF_Context *ctx)
839 if (_focused_ic == context_scim) 857 if (_focused_ic == context_scim)
840 { 858 {
841 SCIM_DEBUG_FRONTEND(1) << "It's already focused.\n"; 859 SCIM_DEBUG_FRONTEND(1) << "It's already focused.\n";
842 //isf_imf_context_cursor_position_set (ctx, 0);
843 return; 860 return;
844 } 861 }
845 SCIM_DEBUG_FRONTEND(1) << "Focus out previous IC first: " << _focused_ic->id << "\n"; 862 SCIM_DEBUG_FRONTEND(1) << "Focus out previous IC first: " << _focused_ic->id << "\n";
846 if (_focused_ic->ctx) 863 if (_focused_ic->ctx)
847 isf_imf_context_focus_out (_focused_ic->ctx); 864 isf_imf_context_focus_out(_focused_ic->ctx);
848 } 865 }
849 866
850 bool need_cap = false; 867 bool need_cap = false;
@@ -854,28 +871,28 @@ isf_imf_context_focus_in (Ecore_IMF_Context *ctx)
854 if (context_scim && context_scim->impl) 871 if (context_scim && context_scim->impl)
855 { 872 {
856 _focused_ic = context_scim; 873 _focused_ic = context_scim;
857 _panel_client.prepare (context_scim->id); 874 _panel_client.prepare(context_scim->id);
858 875
859 // Handle the "Shared Input Method" mode. 876 // Handle the "Shared Input Method" mode.
860 if (_shared_input_method) 877 if (_shared_input_method)
861 { 878 {
862 SCIM_DEBUG_FRONTEND(2) << "shared input method.\n"; 879 SCIM_DEBUG_FRONTEND(2) << "shared input method.\n";
863 IMEngineFactoryPointer factory = _backend->get_default_factory (_language, "UTF-8"); 880 IMEngineFactoryPointer factory = _backend->get_default_factory(_language, "UTF-8");
864 if (!factory.null ()) 881 if (!factory.null())
865 { 882 {
866 if (_default_instance.null () || _default_instance->get_factory_uuid () != factory->get_uuid ()) 883 if (_default_instance.null() || _default_instance->get_factory_uuid() != factory->get_uuid())
867 { 884 {
868 _default_instance = factory->create_instance ("UTF-8", _default_instance.null () ? _instance_count++ : _default_instance->get_id ()); 885 _default_instance = factory->create_instance("UTF-8", _default_instance.null() ? _instance_count++ : _default_instance->get_id());
869 attach_instance (_default_instance); 886 attach_instance(_default_instance);
870 SCIM_DEBUG_FRONTEND(2) << "create new default instance: " << _default_instance->get_id () << " " << _default_instance->get_factory_uuid () << "\n"; 887 SCIM_DEBUG_FRONTEND(2) << "create new default instance: " << _default_instance->get_id() << " " << _default_instance->get_factory_uuid() << "\n";
871 } 888 }
872 889
873 context_scim->impl->shared_si = true; 890 context_scim->impl->shared_si = true;
874 context_scim->impl->si = _default_instance; 891 context_scim->impl->si = _default_instance;
875 892
876 context_scim->impl->is_on = _config->read (String (SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), context_scim->impl->is_on); 893 context_scim->impl->is_on = _config->read(String(SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), context_scim->impl->is_on);
877 context_scim->impl->preedit_string.clear (); 894 context_scim->impl->preedit_string.clear();
878 context_scim->impl->preedit_attrlist.clear (); 895 context_scim->impl->preedit_attrlist.clear();
879 context_scim->impl->preedit_caret = 0; 896 context_scim->impl->preedit_caret = 0;
880 context_scim->impl->preedit_started = false; 897 context_scim->impl->preedit_started = false;
881 need_cap = true; 898 need_cap = true;
@@ -886,47 +903,50 @@ isf_imf_context_focus_in (Ecore_IMF_Context *ctx)
886 else if (context_scim->impl->shared_si) 903 else if (context_scim->impl->shared_si)
887 { 904 {
888 SCIM_DEBUG_FRONTEND(2) << "exit shared input method.\n"; 905 SCIM_DEBUG_FRONTEND(2) << "exit shared input method.\n";
889 IMEngineFactoryPointer factory = _backend->get_default_factory (_language, "UTF-8"); 906 IMEngineFactoryPointer factory = _backend->get_default_factory(_language, "UTF-8");
890 if (!factory.null ()) 907 if (!factory.null())
891 { 908 {
892 context_scim->impl->si = factory->create_instance ("UTF-8", _instance_count++); 909 context_scim->impl->si = factory->create_instance("UTF-8", _instance_count++);
893 context_scim->impl->preedit_string.clear (); 910 context_scim->impl->preedit_string.clear();
894 context_scim->impl->preedit_attrlist.clear (); 911 context_scim->impl->preedit_attrlist.clear();
895 context_scim->impl->preedit_caret = 0; 912 context_scim->impl->preedit_caret = 0;
896 context_scim->impl->preedit_started = false; 913 context_scim->impl->preedit_started = false;
897 attach_instance (context_scim->impl->si); 914 attach_instance(context_scim->impl->si);
898 need_cap = true; 915 need_cap = true;
899 need_reg = true; 916 need_reg = true;
900 context_scim->impl->shared_si = false; 917 context_scim->impl->shared_si = false;
901 SCIM_DEBUG_FRONTEND(2) << "create new instance: " << context_scim->impl->si->get_id () << " " << context_scim->impl->si->get_factory_uuid () << "\n"; 918 SCIM_DEBUG_FRONTEND(2) << "create new instance: " << context_scim->impl->si->get_id() << " " << context_scim->impl->si->get_factory_uuid() << "\n";
902 } 919 }
903 } 920 }
904 921
905 context_scim->impl->si->set_frontend_data (static_cast <void*> (context_scim)); 922 context_scim->impl->si->set_frontend_data(static_cast <void*>(context_scim));
906 923
907 if (need_reg) _panel_client.register_input_context (context_scim->id, context_scim->impl->si->get_factory_uuid ()); 924 if (need_reg) _panel_client.register_input_context(context_scim->id, context_scim->impl->si->get_factory_uuid());
908 if (need_cap) set_ic_capabilities (context_scim); 925 if (need_cap) set_ic_capabilities(context_scim);
909 if (need_reset) context_scim->impl->si->reset (); 926 if (need_reset) context_scim->impl->si->reset();
910 927
911 panel_req_focus_in (context_scim); 928 panel_req_focus_in(context_scim);
912 panel_req_update_spot_location (context_scim); 929 panel_req_update_spot_location(context_scim);
913 panel_req_update_factory_info (context_scim); 930 panel_req_update_factory_info(context_scim);
914 931
915 if (context_scim->impl->is_on) 932 if (context_scim->impl->is_on)
916 { 933 {
917 _panel_client.turn_on (context_scim->id); 934 _panel_client.turn_on(context_scim->id);
918 _panel_client.hide_preedit_string (context_scim->id); 935 _panel_client.hide_preedit_string(context_scim->id);
919 _panel_client.hide_aux_string (context_scim->id); 936 _panel_client.hide_aux_string(context_scim->id);
920 _panel_client.hide_lookup_table (context_scim->id); 937 _panel_client.hide_lookup_table(context_scim->id);
921 context_scim->impl->si->focus_in (); 938 context_scim->impl->si->focus_in();
922 } 939 }
923 else 940 else
924 { 941 {
925 _panel_client.turn_off (context_scim->id); 942 _panel_client.turn_off(context_scim->id);
926 } 943 }
927 944
928 _panel_client.send (); 945 _panel_client.send();
929 } 946 }
947
948 if (ecore_imf_context_input_panel_enabled_get(ctx))
949 ecore_imf_context_input_panel_show(ctx);
930} 950}
931 951
932/** 952/**
@@ -938,9 +958,9 @@ isf_imf_context_focus_in (Ecore_IMF_Context *ctx)
938 * Notify the Input Method Context that the widget to which its correspond has lost focus. 958 * Notify the Input Method Context that the widget to which its correspond has lost focus.
939 */ 959 */
940EAPI void 960EAPI void
941isf_imf_context_focus_out (Ecore_IMF_Context *ctx) 961isf_imf_context_focus_out(Ecore_IMF_Context *ctx)
942{ 962{
943 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 963 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
944 964
945 if (!context_scim) return; 965 if (!context_scim) return;
946 966
@@ -952,23 +972,26 @@ isf_imf_context_focus_out (Ecore_IMF_Context *ctx)
952 972
953 if (context_scim->impl->need_commit_preedit) 973 if (context_scim->impl->need_commit_preedit)
954 { 974 {
955 if (wstr.length ()) 975 if (wstr.length())
956 { 976 {
957 ecore_imf_context_commit_event_add (context_scim->ctx, utf8_wcstombs (wstr).c_str ()); 977 ecore_imf_context_commit_event_add(context_scim->ctx, utf8_wcstombs(wstr).c_str());
958 ecore_imf_context_event_callback_call(context_scim->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(wstr).c_str()); 978 ecore_imf_context_event_callback_call(context_scim->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(wstr).c_str());
959 } 979 }
960 _panel_client.prepare (context_scim->id); 980 _panel_client.prepare(context_scim->id);
961 _panel_client.send (); 981 _panel_client.send();
962 } 982 }
963 983
964 _panel_client.prepare (context_scim->id); 984 _panel_client.prepare(context_scim->id);
965 context_scim->impl->si->focus_out (); 985 context_scim->impl->si->focus_out();
966 context_scim->impl->si->reset (); 986 context_scim->impl->si->reset();
967 _panel_client.turn_off (context_scim->id); 987 _panel_client.turn_off(context_scim->id);
968 _panel_client.focus_out (context_scim->id); 988 _panel_client.focus_out(context_scim->id);
969 _panel_client.send (); 989 _panel_client.send();
970 _focused_ic = 0; 990 _focused_ic = 0;
971 } 991 }
992
993 if (ecore_imf_context_input_panel_enabled_get(ctx))
994 ecore_imf_context_input_panel_hide(ctx);
972} 995}
973 996
974/** 997/**
@@ -984,11 +1007,11 @@ isf_imf_context_focus_out (Ecore_IMF_Context *ctx)
984 * Notify the Input Method Context that a change in the cursor location has been made. 1007 * Notify the Input Method Context that a change in the cursor location has been made.
985 */ 1008 */
986EAPI void 1009EAPI void
987isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int cx, int cy, int cw, int ch) 1010isf_imf_context_cursor_location_set(Ecore_IMF_Context *ctx, int cx, int cy, int cw, int ch)
988{ 1011{
989 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1012 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
990 1013
991 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 1014 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
992 Ecore_Evas *ee; 1015 Ecore_Evas *ee;
993 int canvas_x, canvas_y; 1016 int canvas_x, canvas_y;
994 1017
@@ -1001,21 +1024,28 @@ isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int cx, int cy, int
1001 if (context_scim->impl->preedit_updating) 1024 if (context_scim->impl->preedit_updating)
1002 return; 1025 return;
1003 1026
1004 if (!context_scim->impl->client_canvas) 1027 if (context_scim->impl->client_canvas)
1005 return; 1028 {
1006 1029 ee = ecore_evas_ecore_evas_get(context_scim->impl->client_canvas);
1007 ee = ecore_evas_ecore_evas_get(context_scim->impl->client_canvas); 1030 if (!ee) return;
1008 if (!ee) return;
1009 1031
1010 ecore_evas_geometry_get (ee, &canvas_x, &canvas_y, NULL, NULL); 1032 ecore_evas_geometry_get(ee, &canvas_x, &canvas_y, NULL, NULL);
1033 }
1034 else
1035 {
1036 if (context_scim->impl->client_window)
1037 window_to_screen_geometry_get(context_scim->impl->client_window, &canvas_x, &canvas_y);
1038 else
1039 return;
1040 }
1011 1041
1012 if (context_scim->impl->cursor_x != canvas_x + cx || context_scim->impl->cursor_y != canvas_y + cy + ch) 1042 if (context_scim->impl->cursor_x != canvas_x + cx || context_scim->impl->cursor_y != canvas_y + cy + ch)
1013 { 1043 {
1014 context_scim->impl->cursor_x = canvas_x + cx; 1044 context_scim->impl->cursor_x = canvas_x + cx;
1015 context_scim->impl->cursor_y = canvas_y + cy + ch; 1045 context_scim->impl->cursor_y = canvas_y + cy + ch;
1016 _panel_client.prepare (context_scim->id); 1046 _panel_client.prepare(context_scim->id);
1017 panel_req_update_spot_location (context_scim); 1047 panel_req_update_spot_location(context_scim);
1018 _panel_client.send (); 1048 _panel_client.send();
1019 SCIM_DEBUG_FRONTEND(2) << "new cursor location = " << context_scim->impl->cursor_x << "," << context_scim->impl->cursor_y << "\n"; 1049 SCIM_DEBUG_FRONTEND(2) << "new cursor location = " << context_scim->impl->cursor_x << "," << context_scim->impl->cursor_y << "\n";
1020 } 1050 }
1021 } 1051 }
@@ -1033,11 +1063,11 @@ isf_imf_context_cursor_location_set (Ecore_IMF_Context *ctx, int cx, int cy, int
1033 * display feedback, such as displaying it in a child of the root window. 1063 * display feedback, such as displaying it in a child of the root window.
1034 */ 1064 */
1035EAPI void 1065EAPI void
1036isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit) 1066isf_imf_context_use_preedit_set(Ecore_IMF_Context* ctx, Eina_Bool use_preedit)
1037{ 1067{
1038 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << (use_preedit ? "true" : "false") << "...\n"; 1068 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << (use_preedit ? "true" : "false") << "...\n";
1039 1069
1040 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 1070 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1041 1071
1042 if (!_on_the_spot) return; 1072 if (!_on_the_spot) return;
1043 1073
@@ -1047,36 +1077,36 @@ isf_imf_context_use_preedit_set (Ecore_IMF_Context* ctx, Eina_Bool use_preedit)
1047 context_scim->impl->use_preedit = use_preedit; 1077 context_scim->impl->use_preedit = use_preedit;
1048 if (context_scim == _focused_ic) 1078 if (context_scim == _focused_ic)
1049 { 1079 {
1050 _panel_client.prepare (context_scim->id); 1080 _panel_client.prepare(context_scim->id);
1051 1081
1052 if (old != use_preedit) 1082 if (old != use_preedit)
1053 set_ic_capabilities (context_scim); 1083 set_ic_capabilities(context_scim);
1054 1084
1055 if (context_scim->impl->preedit_string.length ()) 1085 if (context_scim->impl->preedit_string.length())
1056 slot_show_preedit_string (context_scim->impl->si); 1086 slot_show_preedit_string(context_scim->impl->si);
1057 1087
1058 _panel_client.send (); 1088 _panel_client.send();
1059 } 1089 }
1060 } 1090 }
1061} 1091}
1062 1092
1063EAPI void 1093EAPI void
1064isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos) 1094isf_imf_context_preedit_string_with_attributes_get(Ecore_IMF_Context *ctx, char** str, Eina_List **attrs, int *cursor_pos)
1065{ 1095{
1066 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1096 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1067 1097
1068 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 1098 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1069 1099
1070 if (context_scim && context_scim->impl && context_scim->impl->is_on) 1100 if (context_scim && context_scim->impl && context_scim->impl->is_on)
1071 { 1101 {
1072 String mbs = utf8_wcstombs (context_scim->impl->preedit_string); 1102 String mbs = utf8_wcstombs(context_scim->impl->preedit_string);
1073 1103
1074 if (str) 1104 if (str)
1075 { 1105 {
1076 if (mbs.length ()) 1106 if (mbs.length())
1077 *str = strdup (mbs.c_str ()); 1107 *str = strdup(mbs.c_str());
1078 else 1108 else
1079 *str = strdup (""); 1109 *str = strdup("");
1080 } 1110 }
1081 1111
1082 if (cursor_pos) 1112 if (cursor_pos)
@@ -1086,28 +1116,28 @@ isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char
1086 1116
1087 if (attrs) 1117 if (attrs)
1088 { 1118 {
1089 if (mbs.length ()) 1119 if (mbs.length())
1090 { 1120 {
1091 int start_index, end_index; 1121 int start_index, end_index;
1092 int wlen = context_scim->impl->preedit_string.length (); 1122 int wlen = context_scim->impl->preedit_string.length();
1093 1123
1094 Ecore_IMF_Preedit_Attr *attr = NULL; 1124 Ecore_IMF_Preedit_Attr *attr = NULL;
1095 AttributeList::const_iterator i; 1125 AttributeList::const_iterator i;
1096 bool *attrs_flag = new bool [mbs.length ()]; 1126 bool *attrs_flag = new bool [mbs.length()];
1097 memset (attrs_flag, 0, mbs.length () *sizeof (bool)); 1127 memset(attrs_flag, 0, mbs.length() *sizeof(bool));
1098 1128
1099 for (i = context_scim->impl->preedit_attrlist.begin (); 1129 for (i = context_scim->impl->preedit_attrlist.begin();
1100 i != context_scim->impl->preedit_attrlist.end (); ++i) 1130 i != context_scim->impl->preedit_attrlist.end(); ++i)
1101 { 1131 {
1102 start_index = i->get_start (); 1132 start_index = i->get_start();
1103 end_index = i->get_end (); 1133 end_index = i->get_end();
1104 1134
1105 if (end_index <= wlen && start_index < end_index && i->get_type () != SCIM_ATTR_DECORATE_NONE) 1135 if (end_index <= wlen && start_index < end_index && i->get_type() != SCIM_ATTR_DECORATE_NONE)
1106 { 1136 {
1107 start_index = utf8_offset_to_index (mbs.c_str (), i->get_start ()); 1137 start_index = utf8_offset_to_index(mbs.c_str(), i->get_start());
1108 end_index = utf8_offset_to_index (mbs.c_str (), i->get_end ()); 1138 end_index = utf8_offset_to_index(mbs.c_str(), i->get_end());
1109 1139
1110 if (i->get_type () == SCIM_ATTR_DECORATE) 1140 if (i->get_type() == SCIM_ATTR_DECORATE)
1111 { 1141 {
1112 attr = (Ecore_IMF_Preedit_Attr *)calloc(1, sizeof(Ecore_IMF_Preedit_Attr)); 1142 attr = (Ecore_IMF_Preedit_Attr *)calloc(1, sizeof(Ecore_IMF_Preedit_Attr));
1113 if (attr == NULL) 1143 if (attr == NULL)
@@ -1115,24 +1145,24 @@ isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char
1115 attr->start_index = start_index; 1145 attr->start_index = start_index;
1116 attr->end_index = end_index; 1146 attr->end_index = end_index;
1117 1147
1118 if (i->get_value () == SCIM_ATTR_DECORATE_UNDERLINE) 1148 if (i->get_value() == SCIM_ATTR_DECORATE_UNDERLINE)
1119 { 1149 {
1120 attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB1; 1150 attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB1;
1121 *attrs = eina_list_append(*attrs, (void *)attr); 1151 *attrs = eina_list_append(*attrs, (void *)attr);
1122 } 1152 }
1123 else if (i->get_value () == SCIM_ATTR_DECORATE_REVERSE) 1153 else if (i->get_value() == SCIM_ATTR_DECORATE_REVERSE)
1124 { 1154 {
1125 attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB2; 1155 attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB2;
1126 *attrs = eina_list_append(*attrs, (void *)attr); 1156 *attrs = eina_list_append(*attrs, (void *)attr);
1127 } 1157 }
1128 else if (i->get_value () == SCIM_ATTR_DECORATE_HIGHLIGHT) 1158 else if (i->get_value() == SCIM_ATTR_DECORATE_HIGHLIGHT)
1129 { 1159 {
1130 attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB3; 1160 attr->preedit_type = ECORE_IMF_PREEDIT_TYPE_SUB3;
1131 *attrs = eina_list_append(*attrs, (void *)attr); 1161 *attrs = eina_list_append(*attrs, (void *)attr);
1132 } 1162 }
1133 else 1163 else
1134 { 1164 {
1135 free (attr); 1165 free(attr);
1136 } 1166 }
1137 1167
1138 switch(i->get_value()) 1168 switch(i->get_value())
@@ -1148,11 +1178,11 @@ isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char
1148 break; 1178 break;
1149 } 1179 }
1150 } 1180 }
1151 else if (i->get_type () == SCIM_ATTR_FOREGROUND) 1181 else if (i->get_type() == SCIM_ATTR_FOREGROUND)
1152 { 1182 {
1153 SCIM_DEBUG_FRONTEND(4) << "SCIM_ATTR_FOREGROUND\n"; 1183 SCIM_DEBUG_FRONTEND(4) << "SCIM_ATTR_FOREGROUND\n";
1154 } 1184 }
1155 else if (i->get_type () == SCIM_ATTR_BACKGROUND) 1185 else if (i->get_type() == SCIM_ATTR_BACKGROUND)
1156 { 1186 {
1157 SCIM_DEBUG_FRONTEND(4) << "SCIM_ATTR_BACKGROUND\n"; 1187 SCIM_DEBUG_FRONTEND(4) << "SCIM_ATTR_BACKGROUND\n";
1158 } 1188 }
@@ -1160,13 +1190,13 @@ isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char
1160 } 1190 }
1161 1191
1162 // Add underline for all characters which don't have attribute. 1192 // Add underline for all characters which don't have attribute.
1163 for (unsigned int pos = 0; pos < mbs.length (); ++pos) 1193 for (unsigned int pos = 0; pos < mbs.length(); ++pos)
1164 { 1194 {
1165 if (!attrs_flag [pos]) 1195 if (!attrs_flag [pos])
1166 { 1196 {
1167 int begin_pos = pos; 1197 int begin_pos = pos;
1168 1198
1169 while (pos < mbs.length () && !attrs_flag [pos]) 1199 while (pos < mbs.length() && !attrs_flag[pos])
1170 ++pos; 1200 ++pos;
1171 1201
1172 // use REVERSE style as default 1202 // use REVERSE style as default
@@ -1187,7 +1217,7 @@ isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char
1187 else 1217 else
1188 { 1218 {
1189 if (str) 1219 if (str)
1190 *str = strdup (""); 1220 *str = strdup("");
1191 1221
1192 if (cursor_pos) 1222 if (cursor_pos)
1193 *cursor_pos = 0; 1223 *cursor_pos = 0;
@@ -1208,22 +1238,22 @@ isf_imf_context_preedit_string_with_attributes_get (Ecore_IMF_Context *ctx, char
1208 * To get the preedit string of the input method. 1238 * To get the preedit string of the input method.
1209 */ 1239 */
1210EAPI void 1240EAPI void
1211isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cursor_pos) 1241isf_imf_context_preedit_string_get(Ecore_IMF_Context *ctx, char** str, int *cursor_pos)
1212{ 1242{
1213 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1243 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1214 1244
1215 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 1245 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1216 1246
1217 if (context_scim && context_scim->impl && context_scim->impl->is_on) 1247 if (context_scim && context_scim->impl && context_scim->impl->is_on)
1218 { 1248 {
1219 String mbs = utf8_wcstombs (context_scim->impl->preedit_string); 1249 String mbs = utf8_wcstombs(context_scim->impl->preedit_string);
1220 1250
1221 if (str) 1251 if (str)
1222 { 1252 {
1223 if (mbs.length ()) 1253 if (mbs.length())
1224 *str = strdup (mbs.c_str ()); 1254 *str = strdup(mbs.c_str());
1225 else 1255 else
1226 *str = strdup (""); 1256 *str = strdup("");
1227 } 1257 }
1228 1258
1229 if (cursor_pos) 1259 if (cursor_pos)
@@ -1232,7 +1262,7 @@ isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cur
1232 else 1262 else
1233 { 1263 {
1234 if (str) 1264 if (str)
1235 *str = strdup (""); 1265 *str = strdup("");
1236 1266
1237 if (cursor_pos) 1267 if (cursor_pos)
1238 *cursor_pos = 0; 1268 *cursor_pos = 0;
@@ -1249,11 +1279,11 @@ isf_imf_context_preedit_string_get (Ecore_IMF_Context *ctx, char** str, int *cur
1249 * Notify the Input Method Context that a change in the cursor position has been made. 1279 * Notify the Input Method Context that a change in the cursor position has been made.
1250 */ 1280 */
1251EAPI void 1281EAPI void
1252isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos) 1282isf_imf_context_cursor_position_set(Ecore_IMF_Context *ctx, int cursor_pos)
1253{ 1283{
1254 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1284 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1255 1285
1256 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 1286 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
1257 1287
1258 if (context_scim && context_scim->impl && context_scim == _focused_ic) 1288 if (context_scim && context_scim->impl && context_scim == _focused_ic)
1259 { 1289 {
@@ -1280,11 +1310,11 @@ isf_imf_context_cursor_position_set (Ecore_IMF_Context *ctx, int cursor_pos)
1280 * is in Ecore_IMF.h. 1310 * is in Ecore_IMF.h.
1281 */ 1311 */
1282EAPI void 1312EAPI void
1283isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode) 1313isf_imf_context_input_mode_set(Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode input_mode)
1284{ 1314{
1285 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1315 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1286 1316
1287 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 1317 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1288 if (context_scim && context_scim->impl) 1318 if (context_scim && context_scim->impl)
1289 context_scim->impl->input_mode = input_mode; 1319 context_scim->impl->input_mode = input_mode;
1290} 1320}
@@ -1299,22 +1329,22 @@ isf_imf_context_input_mode_set (Ecore_IMF_Context *ctx, Ecore_IMF_Input_Mode inp
1299 * Set whether the IM context should use the prediction. 1329 * Set whether the IM context should use the prediction.
1300 */ 1330 */
1301EAPI void 1331EAPI void
1302isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction) 1332isf_imf_context_prediction_allow_set(Ecore_IMF_Context* ctx, Eina_Bool prediction)
1303{ 1333{
1304 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << (prediction ? "true" : "false") << "...\n"; 1334 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << (prediction ? "true" : "false") << "...\n";
1305 1335
1306 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 1336 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
1307 1337
1308 if (context_scim && context_scim->impl && context_scim->impl->prediction_allow != prediction) 1338 if (context_scim && context_scim->impl && context_scim->impl->prediction_allow != prediction)
1309 context_scim->impl->prediction_allow = prediction; 1339 context_scim->impl->prediction_allow = prediction;
1310} 1340}
1311 1341
1312EAPI void 1342EAPI void
1313isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type) 1343isf_imf_context_autocapital_type_set(Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type)
1314{ 1344{
1315 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << autocapital_type << "...\n"; 1345 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " = " << autocapital_type << "...\n";
1316 1346
1317 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get (ctx); 1347 EcoreIMFContextISF *context_scim = (EcoreIMFContextISF *)ecore_imf_context_data_get(ctx);
1318 1348
1319 if (context_scim && context_scim->impl && context_scim->impl->autocapital_type != autocapital_type) 1349 if (context_scim && context_scim->impl && context_scim->impl->autocapital_type != autocapital_type)
1320 context_scim->impl->autocapital_type = autocapital_type; 1350 context_scim->impl->autocapital_type = autocapital_type;
@@ -1337,11 +1367,11 @@ isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapi
1337 */ 1367 */
1338 1368
1339EAPI Eina_Bool 1369EAPI Eina_Bool
1340isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event) 1370isf_imf_context_filter_event(Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type, Ecore_IMF_Event *event)
1341{ 1371{
1342 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1372 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1343 1373
1344 EcoreIMFContextISF *ic = (EcoreIMFContextISF*)ecore_imf_context_data_get (ctx); 1374 EcoreIMFContextISF *ic = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1345 Eina_Bool ret = EINA_FALSE; 1375 Eina_Bool ret = EINA_FALSE;
1346 1376
1347 if (ic == NULL || ic->impl == NULL) 1377 if (ic == NULL || ic->impl == NULL)
@@ -1352,7 +1382,7 @@ isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type,
1352 if (type == ECORE_IMF_EVENT_KEY_DOWN) 1382 if (type == ECORE_IMF_EVENT_KEY_DOWN)
1353 { 1383 {
1354 Ecore_IMF_Event_Key_Down *ev = (Ecore_IMF_Event_Key_Down *)event; 1384 Ecore_IMF_Event_Key_Down *ev = (Ecore_IMF_Event_Key_Down *)event;
1355 scim_string_to_key (key, ev->key); 1385 scim_string_to_key(key, ev->key);
1356 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT) key.mask |=SCIM_KEY_ShiftMask; 1386 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT) key.mask |=SCIM_KEY_ShiftMask;
1357 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_CTRL) key.mask |=SCIM_KEY_ControlMask; 1387 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_CTRL) key.mask |=SCIM_KEY_ControlMask;
1358 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_ALT) key.mask |=SCIM_KEY_AltMask; 1388 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_ALT) key.mask |=SCIM_KEY_AltMask;
@@ -1362,7 +1392,7 @@ isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type,
1362 else if (type == ECORE_IMF_EVENT_KEY_UP) 1392 else if (type == ECORE_IMF_EVENT_KEY_UP)
1363 { 1393 {
1364 Ecore_IMF_Event_Key_Up *ev = (Ecore_IMF_Event_Key_Up *)event; 1394 Ecore_IMF_Event_Key_Up *ev = (Ecore_IMF_Event_Key_Up *)event;
1365 scim_string_to_key (key, ev->key); 1395 scim_string_to_key(key, ev->key);
1366 key.mask = SCIM_KEY_ReleaseMask; 1396 key.mask = SCIM_KEY_ReleaseMask;
1367 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT) key.mask |=SCIM_KEY_ShiftMask; 1397 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_SHIFT) key.mask |=SCIM_KEY_ShiftMask;
1368 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_CTRL) key.mask |=SCIM_KEY_ControlMask; 1398 if (ev->modifiers & ECORE_IMF_KEYBOARD_MODIFIER_CTRL) key.mask |=SCIM_KEY_ControlMask;
@@ -1377,264 +1407,290 @@ isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event_Type type,
1377 1407
1378 key.mask &= _valid_key_mask; 1408 key.mask &= _valid_key_mask;
1379 1409
1380 _panel_client.prepare (ic->id); 1410 _panel_client.prepare(ic->id);
1381 1411
1382 ret = EINA_TRUE; 1412 ret = EINA_TRUE;
1383 if (!filter_hotkeys (ic, key)) 1413 if (!filter_hotkeys(ic, key))
1384 { 1414 {
1385 if (!_focused_ic || !_focused_ic->impl->is_on || 1415 if (!_focused_ic || !_focused_ic->impl->is_on ||
1386 !_focused_ic->impl->si->process_key_event (key)) 1416 !_focused_ic->impl->si->process_key_event(key))
1387 ret = EINA_FALSE; 1417 ret = EINA_FALSE;
1388 } 1418 }
1389 1419
1390 _panel_client.send (); 1420 _panel_client.send();
1391 1421
1392 return ret; 1422 return ret;
1393} 1423}
1394 1424
1425EAPI void
1426isf_imf_context_input_panel_show(Ecore_IMF_Context *ctx)
1427{
1428 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1429
1430 EcoreIMFContextISF *ic = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1431 if (ic == NULL || ic->impl == NULL)
1432 return;
1433
1434 ecore_x_e_virtual_keyboard_state_set
1435 (ic->impl->client_window, ECORE_X_VIRTUAL_KEYBOARD_STATE_ON);
1436}
1437
1438EAPI void
1439isf_imf_context_input_panel_hide(Ecore_IMF_Context *ctx)
1440{
1441 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1442
1443 EcoreIMFContextISF *ic = (EcoreIMFContextISF*)ecore_imf_context_data_get(ctx);
1444 if (ic == NULL || ic->impl == NULL)
1445 return;
1446
1447 ecore_x_e_virtual_keyboard_state_set
1448 (ic->impl->client_window, ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF);
1449}
1450
1395/* Panel Slot functions */ 1451/* Panel Slot functions */
1396static void 1452static void
1397panel_slot_reload_config (int context __UNUSED__) 1453panel_slot_reload_config(int context __UNUSED__)
1398{ 1454{
1399 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1455 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1400 _config->reload (); 1456 _config->reload();
1401} 1457}
1402 1458
1403static void 1459static void
1404panel_slot_exit (int /* context */) 1460panel_slot_exit(int /* context */)
1405{ 1461{
1406 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1462 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1407 1463
1408 finalize (); 1464 finalize();
1409} 1465}
1410 1466
1411static void 1467static void
1412panel_slot_update_lookup_table_page_size (int context, int page_size) 1468panel_slot_update_lookup_table_page_size(int context, int page_size)
1413{ 1469{
1414 EcoreIMFContextISF *ic = find_ic (context); 1470 EcoreIMFContextISF *ic = find_ic(context);
1415 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " page_size=" << page_size << " ic=" << ic << "\n"; 1471 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " page_size=" << page_size << " ic=" << ic << "\n";
1416 if (ic && ic->impl) 1472 if (ic && ic->impl)
1417 { 1473 {
1418 _panel_client.prepare (ic->id); 1474 _panel_client.prepare(ic->id);
1419 ic->impl->si->update_lookup_table_page_size (page_size); 1475 ic->impl->si->update_lookup_table_page_size(page_size);
1420 _panel_client.send (); 1476 _panel_client.send();
1421 } 1477 }
1422} 1478}
1423 1479
1424static void 1480static void
1425panel_slot_lookup_table_page_up (int context) 1481panel_slot_lookup_table_page_up(int context)
1426{ 1482{
1427 EcoreIMFContextISF *ic = find_ic (context); 1483 EcoreIMFContextISF *ic = find_ic(context);
1428 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n"; 1484 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n";
1429 if (ic && ic->impl) 1485 if (ic && ic->impl)
1430 { 1486 {
1431 _panel_client.prepare (ic->id); 1487 _panel_client.prepare(ic->id);
1432 ic->impl->si->lookup_table_page_up (); 1488 ic->impl->si->lookup_table_page_up();
1433 _panel_client.send (); 1489 _panel_client.send();
1434 } 1490 }
1435} 1491}
1436 1492
1437static void 1493static void
1438panel_slot_lookup_table_page_down (int context) 1494panel_slot_lookup_table_page_down(int context)
1439{ 1495{
1440 EcoreIMFContextISF *ic = find_ic (context); 1496 EcoreIMFContextISF *ic = find_ic(context);
1441 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n"; 1497 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n";
1442 if (ic && ic->impl) 1498 if (ic && ic->impl)
1443 { 1499 {
1444 _panel_client.prepare (ic->id); 1500 _panel_client.prepare(ic->id);
1445 ic->impl->si->lookup_table_page_down (); 1501 ic->impl->si->lookup_table_page_down();
1446 _panel_client.send (); 1502 _panel_client.send();
1447 } 1503 }
1448} 1504}
1449 1505
1450static void 1506static void
1451panel_slot_trigger_property (int context, const String &property) 1507panel_slot_trigger_property(int context, const String &property)
1452{ 1508{
1453 EcoreIMFContextISF *ic = find_ic (context); 1509 EcoreIMFContextISF *ic = find_ic(context);
1454 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " property=" << property << " ic=" << ic << "\n"; 1510 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " property=" << property << " ic=" << ic << "\n";
1455 if (ic && ic->impl) 1511 if (ic && ic->impl)
1456 { 1512 {
1457 _panel_client.prepare (ic->id); 1513 _panel_client.prepare(ic->id);
1458 ic->impl->si->trigger_property (property); 1514 ic->impl->si->trigger_property(property);
1459 _panel_client.send (); 1515 _panel_client.send();
1460 } 1516 }
1461} 1517}
1462 1518
1463static void 1519static void
1464panel_slot_process_helper_event (int context, const String &target_uuid, const String &helper_uuid, const Transaction &trans) 1520panel_slot_process_helper_event(int context, const String &target_uuid, const String &helper_uuid, const Transaction &trans)
1465{ 1521{
1466 EcoreIMFContextISF *ic = find_ic (context); 1522 EcoreIMFContextISF *ic = find_ic(context);
1467 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " target=" << target_uuid 1523 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " target=" << target_uuid
1468 << " helper=" << helper_uuid << " ic=" << ic << " ic->impl=" << (ic ? ic->impl : 0) << " ic-uuid=" 1524 << " helper=" << helper_uuid << " ic=" << ic << " ic->impl=" << (ic ? ic->impl : 0) << " ic-uuid="
1469 << ((ic && ic->impl) ? ic->impl->si->get_factory_uuid () : "" ) << "\n"; 1525 << ((ic && ic->impl) ? ic->impl->si->get_factory_uuid() : "" ) << "\n";
1470 if (ic && ic->impl && ic->impl->si->get_factory_uuid () == target_uuid) 1526 if (ic && ic->impl && ic->impl->si->get_factory_uuid() == target_uuid)
1471 { 1527 {
1472 _panel_client.prepare (ic->id); 1528 _panel_client.prepare(ic->id);
1473 SCIM_DEBUG_FRONTEND(2) << "call process_helper_event\n"; 1529 SCIM_DEBUG_FRONTEND(2) << "call process_helper_event\n";
1474 ic->impl->si->process_helper_event (helper_uuid, trans); 1530 ic->impl->si->process_helper_event(helper_uuid, trans);
1475 _panel_client.send (); 1531 _panel_client.send();
1476 } 1532 }
1477} 1533}
1478 1534
1479static void 1535static void
1480panel_slot_move_preedit_caret (int context, int caret_pos) 1536panel_slot_move_preedit_caret(int context, int caret_pos)
1481{ 1537{
1482 EcoreIMFContextISF *ic = find_ic (context); 1538 EcoreIMFContextISF *ic = find_ic(context);
1483 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " caret=" << caret_pos << " ic=" << ic << "\n"; 1539 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " caret=" << caret_pos << " ic=" << ic << "\n";
1484 if (ic && ic->impl) 1540 if (ic && ic->impl)
1485 { 1541 {
1486 _panel_client.prepare (ic->id); 1542 _panel_client.prepare(ic->id);
1487 ic->impl->si->move_preedit_caret (caret_pos); 1543 ic->impl->si->move_preedit_caret(caret_pos);
1488 _panel_client.send (); 1544 _panel_client.send();
1489 } 1545 }
1490} 1546}
1491 1547
1492static void 1548static void
1493panel_slot_select_candidate (int context, int cand_index) 1549panel_slot_select_candidate(int context, int cand_index)
1494{ 1550{
1495 EcoreIMFContextISF *ic = find_ic (context); 1551 EcoreIMFContextISF *ic = find_ic(context);
1496 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " candidate=" << cand_index << " ic=" << ic << "\n"; 1552 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " candidate=" << cand_index << " ic=" << ic << "\n";
1497 if (ic && ic->impl) 1553 if (ic && ic->impl)
1498 { 1554 {
1499 _panel_client.prepare (ic->id); 1555 _panel_client.prepare(ic->id);
1500 ic->impl->si->select_candidate (cand_index); 1556 ic->impl->si->select_candidate(cand_index);
1501 _panel_client.send (); 1557 _panel_client.send();
1502 } 1558 }
1503} 1559}
1504 1560
1505static void 1561static void
1506panel_slot_process_key_event (int context, const KeyEvent &key) 1562panel_slot_process_key_event(int context, const KeyEvent &key)
1507{ 1563{
1508 EcoreIMFContextISF *ic = find_ic (context); 1564 EcoreIMFContextISF *ic = find_ic(context);
1509 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " key=" << key.get_key_string () << " ic=" << ic << "\n"; 1565 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " key=" << key.get_key_string() << " ic=" << ic << "\n";
1510 1566
1511 if (ic && ic->impl && ic->impl->client_canvas) 1567 if (key.is_key_press())
1512 feed_key_event(ic->impl->client_canvas, key.get_key_string().c_str(), EINA_FALSE); 1568 ecore_x_test_fake_key_press(key.get_key_string().c_str());
1513} 1569}
1514 1570
1515static void 1571static void
1516panel_slot_commit_string (int context, const WideString &wstr) 1572panel_slot_commit_string(int context, const WideString &wstr)
1517{ 1573{
1518 EcoreIMFContextISF *ic = find_ic (context); 1574 EcoreIMFContextISF *ic = find_ic(context);
1519 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " str=" << utf8_wcstombs (wstr) << " ic=" << ic << "\n"; 1575 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " str=" << utf8_wcstombs(wstr) << " ic=" << ic << "\n";
1520 1576
1521 if (ic && ic->impl) 1577 if (ic && ic->impl)
1522 { 1578 {
1523 if (_focused_ic != ic) 1579 if (_focused_ic != ic)
1524 return; 1580 return;
1525 1581
1526 ecore_imf_context_commit_event_add (ic->ctx, utf8_wcstombs (wstr).c_str ()); 1582 ecore_imf_context_commit_event_add(ic->ctx, utf8_wcstombs(wstr).c_str());
1527 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(wstr).c_str()); 1583 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(wstr).c_str());
1528 } 1584 }
1529} 1585}
1530 1586
1531static void 1587static void
1532panel_slot_forward_key_event (int context, const KeyEvent &key) 1588panel_slot_forward_key_event(int context, const KeyEvent &key)
1533{ 1589{
1534 EcoreIMFContextISF *ic = find_ic (context); 1590 EcoreIMFContextISF *ic = find_ic(context);
1535 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " key=" << key.get_key_string () << " ic=" << ic << "\n"; 1591 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " key=" << key.get_key_string() << " ic=" << ic << "\n";
1536 1592
1537 if (ic && ic->impl && ic->impl->client_canvas) 1593 if (ic && ic->impl && ic->impl->client_canvas)
1538 feed_key_event (ic->impl->client_canvas, key.get_key_string ().c_str (), EINA_TRUE); 1594 feed_key_event(ic->impl->client_canvas, key.get_key_string().c_str(), EINA_TRUE);
1539} 1595}
1540 1596
1541static void 1597static void
1542panel_slot_request_help (int context) 1598panel_slot_request_help(int context)
1543{ 1599{
1544 EcoreIMFContextISF *ic = find_ic (context); 1600 EcoreIMFContextISF *ic = find_ic(context);
1545 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n"; 1601 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n";
1546 1602
1547 if (ic && ic->impl) 1603 if (ic && ic->impl)
1548 { 1604 {
1549 _panel_client.prepare (ic->id); 1605 _panel_client.prepare(ic->id);
1550 panel_req_show_help (ic); 1606 panel_req_show_help(ic);
1551 _panel_client.send (); 1607 _panel_client.send();
1552 } 1608 }
1553} 1609}
1554 1610
1555static void 1611static void
1556panel_slot_request_factory_menu (int context) 1612panel_slot_request_factory_menu(int context)
1557{ 1613{
1558 EcoreIMFContextISF *ic = find_ic (context); 1614 EcoreIMFContextISF *ic = find_ic(context);
1559 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n"; 1615 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " ic=" << ic << "\n";
1560 1616
1561 if (ic && ic->impl) 1617 if (ic && ic->impl)
1562 { 1618 {
1563 _panel_client.prepare (ic->id); 1619 _panel_client.prepare(ic->id);
1564 panel_req_show_factory_menu (ic); 1620 panel_req_show_factory_menu(ic);
1565 _panel_client.send (); 1621 _panel_client.send();
1566 } 1622 }
1567} 1623}
1568 1624
1569static void 1625static void
1570panel_slot_change_factory (int context, const String &uuid) 1626panel_slot_change_factory(int context, const String &uuid)
1571{ 1627{
1572 EcoreIMFContextISF *ic = find_ic (context); 1628 EcoreIMFContextISF *ic = find_ic(context);
1573 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " factory=" << uuid << " ic=" << ic << "\n"; 1629 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " context=" << context << " factory=" << uuid << " ic=" << ic << "\n";
1574 1630
1575 if (ic && ic->impl) 1631 if (ic && ic->impl)
1576 { 1632 {
1577 ic->impl->si->reset (); 1633 ic->impl->si->reset();
1578 _panel_client.prepare (ic->id); 1634 _panel_client.prepare(ic->id);
1579 open_specific_factory (ic, uuid); 1635 open_specific_factory(ic, uuid);
1580 _panel_client.send (); 1636 _panel_client.send();
1581 } 1637 }
1582} 1638}
1583 1639
1584/* Panel Requestion functions. */ 1640/* Panel Requestion functions. */
1585static void 1641static void
1586panel_req_show_help (EcoreIMFContextISF *ic) 1642panel_req_show_help(EcoreIMFContextISF *ic)
1587{ 1643{
1588 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1644 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1589 1645
1590 String help; 1646 String help;
1591 1647
1592 help = String ("Smart Common Input Method platform ") + 1648 help = String("Smart Common Input Method platform ") +
1593 //String (SCIM_VERSION) + 1649 //String(SCIM_VERSION) +
1594 String ("\n(C) 2002-2005 James Su <suzhe@tsinghua.org.cn>\n\n"); 1650 String("\n(C) 2002-2005 James Su <suzhe@tsinghua.org.cn>\n\n");
1595 1651
1596 if (ic && ic->impl) 1652 if (ic && ic->impl)
1597 { 1653 {
1598 IMEngineFactoryPointer sf = _backend->get_factory (ic->impl->si->get_factory_uuid ()); 1654 IMEngineFactoryPointer sf = _backend->get_factory(ic->impl->si->get_factory_uuid());
1599 if (sf) 1655 if (sf)
1600 { 1656 {
1601 help += utf8_wcstombs (sf->get_name ()); 1657 help += utf8_wcstombs(sf->get_name());
1602 help += String (":\n\n"); 1658 help += String(":\n\n");
1603 1659
1604 help += utf8_wcstombs (sf->get_help ()); 1660 help += utf8_wcstombs(sf->get_help());
1605 help += String ("\n\n"); 1661 help += String("\n\n");
1606 1662
1607 help += utf8_wcstombs (sf->get_credits ()); 1663 help += utf8_wcstombs(sf->get_credits());
1608 } 1664 }
1609 _panel_client.show_help (ic->id, help); 1665 _panel_client.show_help(ic->id, help);
1610 } 1666 }
1611} 1667}
1612 1668
1613static void 1669static void
1614panel_req_show_factory_menu (EcoreIMFContextISF *ic) 1670panel_req_show_factory_menu(EcoreIMFContextISF *ic)
1615{ 1671{
1616 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1672 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1617 1673
1618 std::vector<IMEngineFactoryPointer> factories; 1674 std::vector<IMEngineFactoryPointer> factories;
1619 std::vector <PanelFactoryInfo> menu; 1675 std::vector <PanelFactoryInfo> menu;
1620 1676
1621 _backend->get_factories_for_encoding (factories, "UTF-8"); 1677 _backend->get_factories_for_encoding(factories, "UTF-8");
1622 1678
1623 for (size_t i = 0; i < factories.size (); ++ i) 1679 for (size_t i = 0; i < factories.size(); ++ i)
1624 { 1680 {
1625 menu.push_back (PanelFactoryInfo ( 1681 menu.push_back(PanelFactoryInfo(
1626 factories [i]->get_uuid (), 1682 factories [i]->get_uuid(),
1627 utf8_wcstombs (factories [i]->get_name ()), 1683 utf8_wcstombs(factories [i]->get_name()),
1628 factories [i]->get_language (), 1684 factories [i]->get_language(),
1629 factories [i]->get_icon_file ())); 1685 factories [i]->get_icon_file()));
1630 } 1686 }
1631 1687
1632 if (menu.size ()) 1688 if (menu.size())
1633 _panel_client.show_factory_menu (ic->id, menu); 1689 _panel_client.show_factory_menu(ic->id, menu);
1634} 1690}
1635 1691
1636static void 1692static void
1637panel_req_update_factory_info (EcoreIMFContextISF *ic) 1693panel_req_update_factory_info(EcoreIMFContextISF *ic)
1638{ 1694{
1639 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1695 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1640 1696
@@ -1643,160 +1699,160 @@ panel_req_update_factory_info (EcoreIMFContextISF *ic)
1643 PanelFactoryInfo info; 1699 PanelFactoryInfo info;
1644 if (ic->impl->is_on) 1700 if (ic->impl->is_on)
1645 { 1701 {
1646 IMEngineFactoryPointer sf = _backend->get_factory (ic->impl->si->get_factory_uuid ()); 1702 IMEngineFactoryPointer sf = _backend->get_factory(ic->impl->si->get_factory_uuid());
1647 if (sf) 1703 if (sf)
1648 info = PanelFactoryInfo (sf->get_uuid (), utf8_wcstombs (sf->get_name ()), sf->get_language (), sf->get_icon_file ()); 1704 info = PanelFactoryInfo(sf->get_uuid(), utf8_wcstombs(sf->get_name()), sf->get_language(), sf->get_icon_file());
1649 } 1705 }
1650 else 1706 else
1651 { 1707 {
1652 info = PanelFactoryInfo (String (""), String ("English/Keyboard"), String ("C"), ""); 1708 info = PanelFactoryInfo(String(""), String("English/Keyboard"), String("C"), "");
1653 } 1709 }
1654 _panel_client.update_factory_info (ic->id, info); 1710 _panel_client.update_factory_info(ic->id, info);
1655 } 1711 }
1656} 1712}
1657 1713
1658static void 1714static void
1659panel_req_focus_in (EcoreIMFContextISF *ic) 1715panel_req_focus_in(EcoreIMFContextISF *ic)
1660{ 1716{
1661 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1717 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1662 1718
1663 _panel_client.focus_in (ic->id, ic->impl->si->get_factory_uuid ()); 1719 _panel_client.focus_in(ic->id, ic->impl->si->get_factory_uuid());
1664} 1720}
1665 1721
1666static void 1722static void
1667panel_req_update_spot_location (EcoreIMFContextISF *ic) 1723panel_req_update_spot_location(EcoreIMFContextISF *ic)
1668{ 1724{
1669 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1725 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1670 1726
1671 _panel_client.update_spot_location (ic->id, ic->impl->cursor_x, ic->impl->cursor_y); 1727 _panel_client.update_spot_location(ic->id, ic->impl->cursor_x, ic->impl->cursor_y);
1672} 1728}
1673 1729
1674static bool 1730static bool
1675filter_hotkeys (EcoreIMFContextISF *ic, const KeyEvent &key) 1731filter_hotkeys(EcoreIMFContextISF *ic, const KeyEvent &key)
1676{ 1732{
1677 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1733 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1678 1734
1679 bool ret = false; 1735 bool ret = false;
1680 1736
1681 _frontend_hotkey_matcher.push_key_event (key); 1737 _frontend_hotkey_matcher.push_key_event(key);
1682 _imengine_hotkey_matcher.push_key_event (key); 1738 _imengine_hotkey_matcher.push_key_event(key);
1683 1739
1684 FrontEndHotkeyAction hotkey_action = _frontend_hotkey_matcher.get_match_result (); 1740 FrontEndHotkeyAction hotkey_action = _frontend_hotkey_matcher.get_match_result();
1685 1741
1686 if (hotkey_action == SCIM_FRONTEND_HOTKEY_TRIGGER) 1742 if (hotkey_action == SCIM_FRONTEND_HOTKEY_TRIGGER)
1687 { 1743 {
1688 if (!ic->impl->is_on) 1744 if (!ic->impl->is_on)
1689 turn_on_ic (ic); 1745 turn_on_ic(ic);
1690 else 1746 else
1691 turn_off_ic (ic); 1747 turn_off_ic(ic);
1692 ret = true; 1748 ret = true;
1693 } 1749 }
1694 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_ON) 1750 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_ON)
1695 { 1751 {
1696 if (!ic->impl->is_on) 1752 if (!ic->impl->is_on)
1697 turn_on_ic (ic); 1753 turn_on_ic(ic);
1698 ret = true; 1754 ret = true;
1699 } 1755 }
1700 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_OFF) 1756 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_OFF)
1701 { 1757 {
1702 if (ic->impl->is_on) 1758 if (ic->impl->is_on)
1703 turn_off_ic (ic); 1759 turn_off_ic(ic);
1704 ret = true; 1760 ret = true;
1705 } 1761 }
1706 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_NEXT_FACTORY) 1762 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_NEXT_FACTORY)
1707 { 1763 {
1708 open_next_factory (ic); 1764 open_next_factory(ic);
1709 ret = true; 1765 ret = true;
1710 } 1766 }
1711 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_PREVIOUS_FACTORY) 1767 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_PREVIOUS_FACTORY)
1712 { 1768 {
1713 open_previous_factory (ic); 1769 open_previous_factory(ic);
1714 ret = true; 1770 ret = true;
1715 } 1771 }
1716 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_SHOW_FACTORY_MENU) 1772 else if (hotkey_action == SCIM_FRONTEND_HOTKEY_SHOW_FACTORY_MENU)
1717 { 1773 {
1718 panel_req_show_factory_menu (ic); 1774 panel_req_show_factory_menu(ic);
1719 ret = true; 1775 ret = true;
1720 } 1776 }
1721 else if (_imengine_hotkey_matcher.is_matched ()) 1777 else if (_imengine_hotkey_matcher.is_matched())
1722 { 1778 {
1723 String sfid = _imengine_hotkey_matcher.get_match_result (); 1779 String sfid = _imengine_hotkey_matcher.get_match_result();
1724 open_specific_factory (ic, sfid); 1780 open_specific_factory(ic, sfid);
1725 ret = true; 1781 ret = true;
1726 } 1782 }
1727 return ret; 1783 return ret;
1728} 1784}
1729 1785
1730static bool 1786static bool
1731panel_initialize (void) 1787panel_initialize(void)
1732{ 1788{
1733 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1789 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1734 1790
1735 String display_name; 1791 String display_name;
1736 { 1792 {
1737 const char *p = getenv ("DISPLAY"); 1793 const char *p = getenv("DISPLAY");
1738 if (p) display_name = String (p); 1794 if (p) display_name = String(p);
1739 } 1795 }
1740 1796
1741 if (_panel_client.open_connection (_config->get_name (), display_name) >= 0) 1797 if (_panel_client.open_connection(_config->get_name(), display_name) >= 0)
1742 { 1798 {
1743 int fd = _panel_client.get_connection_number (); 1799 int fd = _panel_client.get_connection_number();
1744 1800
1745 _panel_iochannel_read_handler = ecore_main_fd_handler_add (fd, ECORE_FD_READ, panel_iochannel_handler, NULL, NULL, NULL); 1801 _panel_iochannel_read_handler = ecore_main_fd_handler_add(fd, ECORE_FD_READ, panel_iochannel_handler, NULL, NULL, NULL);
1746 1802
1747 SCIM_DEBUG_FRONTEND(2) << " Panel FD= " << fd << "\n"; 1803 SCIM_DEBUG_FRONTEND(2) << " Panel FD= " << fd << "\n";
1748 1804
1749 return true; 1805 return true;
1750 } 1806 }
1751 std::cerr << "panel_initialize () failed!!!\n"; 1807 std::cerr << "panel_initialize() failed!!!\n";
1752 return false; 1808 return false;
1753} 1809}
1754 1810
1755static void 1811static void
1756panel_finalize (void) 1812panel_finalize(void)
1757{ 1813{
1758 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1814 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1759 1815
1760 _panel_client.close_connection (); 1816 _panel_client.close_connection();
1761 1817
1762 if (_panel_iochannel_read_handler) 1818 if (_panel_iochannel_read_handler)
1763 { 1819 {
1764 ecore_main_fd_handler_del (_panel_iochannel_read_handler); 1820 ecore_main_fd_handler_del(_panel_iochannel_read_handler);
1765 _panel_iochannel_read_handler = 0; 1821 _panel_iochannel_read_handler = 0;
1766 } 1822 }
1767 1823
1768 if (_panel_iochannel_err_handler) 1824 if (_panel_iochannel_err_handler)
1769 { 1825 {
1770 ecore_main_fd_handler_del (_panel_iochannel_err_handler); 1826 ecore_main_fd_handler_del(_panel_iochannel_err_handler);
1771 _panel_iochannel_err_handler = 0; 1827 _panel_iochannel_err_handler = 0;
1772 } 1828 }
1773} 1829}
1774 1830
1775static Eina_Bool 1831static Eina_Bool
1776panel_iochannel_handler (void *data __UNUSED__, Ecore_Fd_Handler *fd_handler) 1832panel_iochannel_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler)
1777{ 1833{
1778 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1834 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1779 1835
1780 if (fd_handler == _panel_iochannel_read_handler) 1836 if (fd_handler == _panel_iochannel_read_handler)
1781 { 1837 {
1782 if (!_panel_client.filter_event ()) 1838 if (!_panel_client.filter_event())
1783 { 1839 {
1784 panel_finalize (); 1840 panel_finalize();
1785 panel_initialize (); 1841 panel_initialize();
1786 return ECORE_CALLBACK_CANCEL; 1842 return ECORE_CALLBACK_CANCEL;
1787 } 1843 }
1788 } 1844 }
1789 else if (fd_handler == _panel_iochannel_err_handler) 1845 else if (fd_handler == _panel_iochannel_err_handler)
1790 { 1846 {
1791 panel_finalize (); 1847 panel_finalize();
1792 panel_initialize (); 1848 panel_initialize();
1793 return ECORE_CALLBACK_CANCEL; 1849 return ECORE_CALLBACK_CANCEL;
1794 } 1850 }
1795 return ECORE_CALLBACK_RENEW; 1851 return ECORE_CALLBACK_RENEW;
1796} 1852}
1797 1853
1798static void 1854static void
1799turn_on_ic (EcoreIMFContextISF *ic) 1855turn_on_ic(EcoreIMFContextISF *ic)
1800{ 1856{
1801 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1857 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1802 1858
@@ -1806,25 +1862,25 @@ turn_on_ic (EcoreIMFContextISF *ic)
1806 1862
1807 if (ic == _focused_ic) 1863 if (ic == _focused_ic)
1808 { 1864 {
1809 panel_req_focus_in (ic); 1865 panel_req_focus_in(ic);
1810 panel_req_update_spot_location (ic); 1866 panel_req_update_spot_location(ic);
1811 panel_req_update_factory_info (ic); 1867 panel_req_update_factory_info(ic);
1812 _panel_client.turn_on (ic->id); 1868 _panel_client.turn_on(ic->id);
1813 _panel_client.hide_preedit_string (ic->id); 1869 _panel_client.hide_preedit_string(ic->id);
1814 _panel_client.hide_aux_string (ic->id); 1870 _panel_client.hide_aux_string(ic->id);
1815 _panel_client.hide_lookup_table (ic->id); 1871 _panel_client.hide_lookup_table(ic->id);
1816 ic->impl->si->focus_in (); 1872 ic->impl->si->focus_in();
1817 } 1873 }
1818 1874
1819 //Record the IC on/off status 1875 //Record the IC on/off status
1820 if (_shared_input_method) 1876 if (_shared_input_method)
1821 _config->write (String (SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), true); 1877 _config->write(String(SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), true);
1822 1878
1823 if (ic->impl->use_preedit && ic->impl->preedit_string.length ()) 1879 if (ic->impl->use_preedit && ic->impl->preedit_string.length())
1824 { 1880 {
1825 ecore_imf_context_preedit_start_event_add (ic->ctx); 1881 ecore_imf_context_preedit_start_event_add(ic->ctx);
1826 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL); 1882 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL);
1827 ecore_imf_context_preedit_changed_event_add (ic->ctx); 1883 ecore_imf_context_preedit_changed_event_add(ic->ctx);
1828 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL); 1884 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL);
1829 ic->impl->preedit_started = true; 1885 ic->impl->preedit_started = true;
1830 } 1886 }
@@ -1832,7 +1888,7 @@ turn_on_ic (EcoreIMFContextISF *ic)
1832} 1888}
1833 1889
1834static void 1890static void
1835turn_off_ic (EcoreIMFContextISF *ic) 1891turn_off_ic(EcoreIMFContextISF *ic)
1836{ 1892{
1837 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1893 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1838 1894
@@ -1842,21 +1898,21 @@ turn_off_ic (EcoreIMFContextISF *ic)
1842 1898
1843 if (ic == _focused_ic) 1899 if (ic == _focused_ic)
1844 { 1900 {
1845 ic->impl->si->focus_out (); 1901 ic->impl->si->focus_out();
1846 1902
1847 panel_req_update_factory_info (ic); 1903 panel_req_update_factory_info(ic);
1848 _panel_client.turn_off (ic->id); 1904 _panel_client.turn_off(ic->id);
1849 } 1905 }
1850 1906
1851 //Record the IC on/off status 1907 //Record the IC on/off status
1852 if (_shared_input_method) 1908 if (_shared_input_method)
1853 _config->write (String (SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), false); 1909 _config->write(String(SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), false);
1854 1910
1855 if (ic->impl->use_preedit && ic->impl->preedit_string.length ()) 1911 if (ic->impl->use_preedit && ic->impl->preedit_string.length())
1856 { 1912 {
1857 ecore_imf_context_preedit_changed_event_add (ic->ctx); 1913 ecore_imf_context_preedit_changed_event_add(ic->ctx);
1858 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL); 1914 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL);
1859 ecore_imf_context_preedit_end_event_add (ic->ctx); 1915 ecore_imf_context_preedit_end_event_add(ic->ctx);
1860 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_END, NULL); 1916 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_END, NULL);
1861 ic->impl->preedit_started = false; 1917 ic->impl->preedit_started = false;
1862 } 1918 }
@@ -1864,7 +1920,7 @@ turn_off_ic (EcoreIMFContextISF *ic)
1864} 1920}
1865 1921
1866static void 1922static void
1867set_ic_capabilities (EcoreIMFContextISF *ic) 1923set_ic_capabilities(EcoreIMFContextISF *ic)
1868{ 1924{
1869 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1925 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1870 1926
@@ -1875,12 +1931,12 @@ set_ic_capabilities (EcoreIMFContextISF *ic)
1875 if (!_on_the_spot || !ic->impl->use_preedit) 1931 if (!_on_the_spot || !ic->impl->use_preedit)
1876 cap -= SCIM_CLIENT_CAP_ONTHESPOT_PREEDIT; 1932 cap -= SCIM_CLIENT_CAP_ONTHESPOT_PREEDIT;
1877 1933
1878 ic->impl->si->update_client_capabilities (cap); 1934 ic->impl->si->update_client_capabilities(cap);
1879 } 1935 }
1880} 1936}
1881 1937
1882static bool 1938static bool
1883check_socket_frontend (void) 1939check_socket_frontend(void)
1884{ 1940{
1885 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 1941 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
1886 1942
@@ -1889,23 +1945,23 @@ check_socket_frontend (void)
1889 1945
1890 uint32 magic; 1946 uint32 magic;
1891 1947
1892 address.set_address (scim_get_default_socket_frontend_address ()); 1948 address.set_address(scim_get_default_socket_frontend_address());
1893 1949
1894 if (!client.connect (address)) 1950 if (!client.connect(address))
1895 return false; 1951 return false;
1896 1952
1897 if (!scim_socket_open_connection (magic, 1953 if (!scim_socket_open_connection(magic,
1898 String ("ConnectionTester"), 1954 String("ConnectionTester"),
1899 String ("SocketFrontEnd"), 1955 String("SocketFrontEnd"),
1900 client, 1956 client,
1901 1000)) 1957 1000))
1902 return false; 1958 return false;
1903 1959
1904 return true; 1960 return true;
1905} 1961}
1906 1962
1907void 1963void
1908initialize (void) 1964initialize(void)
1909{ 1965{
1910 std::vector<String> config_list; 1966 std::vector<String> config_list;
1911 std::vector<String> engine_list; 1967 std::vector<String> engine_list;
@@ -1924,31 +1980,31 @@ initialize (void)
1924 SCIM_DEBUG_FRONTEND(1) << "Initializing Ecore SCIM IMModule...\n"; 1980 SCIM_DEBUG_FRONTEND(1) << "Initializing Ecore SCIM IMModule...\n";
1925 1981
1926 // Get system language. 1982 // Get system language.
1927 _language = scim_get_locale_language (scim_get_current_locale ()); 1983 _language = scim_get_locale_language(scim_get_current_locale());
1928 1984
1929 if (socket) 1985 if (socket)
1930 { 1986 {
1931 // If no Socket FrontEnd is running, then launch one. 1987 // If no Socket FrontEnd is running, then launch one.
1932 // And set manual to false. 1988 // And set manual to false.
1933 bool check_result = check_socket_frontend (); 1989 bool check_result = check_socket_frontend();
1934 if (!check_result) 1990 if (!check_result)
1935 { 1991 {
1936 std::cerr << "Launching a SCIM daemon with Socket FrontEnd...\n"; 1992 std::cerr << "Launching a SCIM daemon with Socket FrontEnd...\n";
1937 //get modules list 1993 //get modules list
1938 scim_get_imengine_module_list (engine_list); 1994 scim_get_imengine_module_list(engine_list);
1939 1995
1940 for (it = engine_list.begin (); it != engine_list.end (); it++) 1996 for (it = engine_list.begin(); it != engine_list.end(); it++)
1941 { 1997 {
1942 if (*it != "socket") 1998 if (*it != "socket")
1943 load_engine_list.push_back (*it); 1999 load_engine_list.push_back(*it);
1944 } 2000 }
1945 2001
1946 const char *new_argv [] = { "--no-stay", 0 }; 2002 const char *new_argv [] = { "--no-stay", 0 };
1947 scim_launch (true, 2003 scim_launch(true,
1948 config_module_name, 2004 config_module_name,
1949 (load_engine_list.size () ? scim_combine_string_list (load_engine_list, ',') : "none"), 2005 (load_engine_list.size() ? scim_combine_string_list(load_engine_list, ',') : "none"),
1950 "socket", 2006 "socket",
1951 (char **)new_argv); 2007 (char **)new_argv);
1952 manual = false; 2008 manual = false;
1953 } 2009 }
1954 2010
@@ -1961,12 +2017,12 @@ initialize (void)
1961 if (check_result) 2017 if (check_result)
1962 { 2018 {
1963 config_module_name = "socket"; 2019 config_module_name = "socket";
1964 load_engine_list.clear (); 2020 load_engine_list.clear();
1965 load_engine_list.push_back ("socket"); 2021 load_engine_list.push_back("socket");
1966 break; 2022 break;
1967 } 2023 }
1968 scim_usleep (50000); 2024 scim_usleep(50000);
1969 check_result = check_socket_frontend (); 2025 check_result = check_socket_frontend();
1970 } 2026 }
1971 } 2027 }
1972 } 2028 }
@@ -1975,69 +2031,69 @@ initialize (void)
1975 { 2031 {
1976 //load config module 2032 //load config module
1977 SCIM_DEBUG_FRONTEND(1) << "Loading Config module: " << config_module_name << "...\n"; 2033 SCIM_DEBUG_FRONTEND(1) << "Loading Config module: " << config_module_name << "...\n";
1978 _config_module = new ConfigModule (config_module_name); 2034 _config_module = new ConfigModule(config_module_name);
1979 2035
1980 //create config instance 2036 //create config instance
1981 if (_config_module != NULL && _config_module->valid ()) 2037 if (_config_module != NULL && _config_module->valid())
1982 _config = _config_module->create_config (); 2038 _config = _config_module->create_config();
1983 } 2039 }
1984 2040
1985 if (_config.null ()) 2041 if (_config.null())
1986 { 2042 {
1987 SCIM_DEBUG_FRONTEND(1) << "Config module cannot be loaded, using dummy Config.\n"; 2043 SCIM_DEBUG_FRONTEND(1) << "Config module cannot be loaded, using dummy Config.\n";
1988 2044
1989 if (_config_module) delete _config_module; 2045 if (_config_module) delete _config_module;
1990 _config_module = NULL; 2046 _config_module = NULL;
1991 2047
1992 _config = new DummyConfig (); 2048 _config = new DummyConfig();
1993 config_module_name = "dummy"; 2049 config_module_name = "dummy";
1994 } 2050 }
1995 2051
1996 reload_config_callback (_config); 2052 reload_config_callback(_config);
1997 _config->signal_connect_reload (slot (reload_config_callback)); 2053 _config->signal_connect_reload(slot(reload_config_callback));
1998 2054
1999 // create backend 2055 // create backend
2000 _backend = new CommonBackEnd (_config, load_engine_list.size () ? load_engine_list : engine_list); 2056 _backend = new CommonBackEnd(_config, load_engine_list.size() ? load_engine_list : engine_list);
2001 2057
2002 if (_backend.null ()) 2058 if (_backend.null())
2003 std::cerr << "Cannot create BackEnd Object!\n"; 2059 std::cerr << "Cannot create BackEnd Object!\n";
2004 else 2060 else
2005 _fallback_factory = _backend->get_factory (SCIM_COMPOSE_KEY_FACTORY_UUID); 2061 _fallback_factory = _backend->get_factory(SCIM_COMPOSE_KEY_FACTORY_UUID);
2006 2062
2007 if (_fallback_factory.null ()) 2063 if (_fallback_factory.null())
2008 _fallback_factory = new DummyIMEngineFactory (); 2064 _fallback_factory = new DummyIMEngineFactory();
2009 2065
2010 _fallback_instance = _fallback_factory->create_instance (String ("UTF-8"), 0); 2066 _fallback_instance = _fallback_factory->create_instance(String("UTF-8"), 0);
2011 _fallback_instance->signal_connect_commit_string (slot (fallback_commit_string_cb)); 2067 _fallback_instance->signal_connect_commit_string(slot(fallback_commit_string_cb));
2012 2068
2013 // Attach Panel Client signal. 2069 // Attach Panel Client signal.
2014 _panel_client.signal_connect_reload_config (slot (panel_slot_reload_config)); 2070 _panel_client.signal_connect_reload_config (slot(panel_slot_reload_config));
2015 _panel_client.signal_connect_exit (slot (panel_slot_exit)); 2071 _panel_client.signal_connect_exit (slot(panel_slot_exit));
2016 _panel_client.signal_connect_update_lookup_table_page_size (slot (panel_slot_update_lookup_table_page_size)); 2072 _panel_client.signal_connect_update_lookup_table_page_size(slot(panel_slot_update_lookup_table_page_size));
2017 _panel_client.signal_connect_lookup_table_page_up (slot (panel_slot_lookup_table_page_up)); 2073 _panel_client.signal_connect_lookup_table_page_up (slot(panel_slot_lookup_table_page_up));
2018 _panel_client.signal_connect_lookup_table_page_down (slot (panel_slot_lookup_table_page_down)); 2074 _panel_client.signal_connect_lookup_table_page_down (slot(panel_slot_lookup_table_page_down));
2019 _panel_client.signal_connect_trigger_property (slot (panel_slot_trigger_property)); 2075 _panel_client.signal_connect_trigger_property (slot(panel_slot_trigger_property));
2020 _panel_client.signal_connect_process_helper_event (slot (panel_slot_process_helper_event)); 2076 _panel_client.signal_connect_process_helper_event (slot(panel_slot_process_helper_event));
2021 _panel_client.signal_connect_move_preedit_caret (slot (panel_slot_move_preedit_caret)); 2077 _panel_client.signal_connect_move_preedit_caret (slot(panel_slot_move_preedit_caret));
2022 _panel_client.signal_connect_select_candidate (slot (panel_slot_select_candidate)); 2078 _panel_client.signal_connect_select_candidate (slot(panel_slot_select_candidate));
2023 _panel_client.signal_connect_process_key_event (slot (panel_slot_process_key_event)); 2079 _panel_client.signal_connect_process_key_event (slot(panel_slot_process_key_event));
2024 _panel_client.signal_connect_commit_string (slot (panel_slot_commit_string)); 2080 _panel_client.signal_connect_commit_string (slot(panel_slot_commit_string));
2025 _panel_client.signal_connect_forward_key_event (slot (panel_slot_forward_key_event)); 2081 _panel_client.signal_connect_forward_key_event (slot(panel_slot_forward_key_event));
2026 _panel_client.signal_connect_request_help (slot (panel_slot_request_help)); 2082 _panel_client.signal_connect_request_help (slot(panel_slot_request_help));
2027 _panel_client.signal_connect_request_factory_menu (slot (panel_slot_request_factory_menu)); 2083 _panel_client.signal_connect_request_factory_menu (slot(panel_slot_request_factory_menu));
2028 _panel_client.signal_connect_change_factory (slot (panel_slot_change_factory)); 2084 _panel_client.signal_connect_change_factory (slot(panel_slot_change_factory));
2029 2085
2030 if (!panel_initialize ()) 2086 if (!panel_initialize())
2031 std::cerr << "Ecore IM Module: Cannot connect to Panel!\n"; 2087 std::cerr << "Ecore IM Module: Cannot connect to Panel!\n";
2032} 2088}
2033 2089
2034static void 2090static void
2035finalize (void) 2091finalize(void)
2036{ 2092{
2037 SCIM_DEBUG_FRONTEND(1) << "Finalizing Ecore ISF IMModule...\n"; 2093 SCIM_DEBUG_FRONTEND(1) << "Finalizing Ecore ISF IMModule...\n";
2038 2094
2039 // Reset this first so that the shared instance could be released correctly afterwards. 2095 // Reset this first so that the shared instance could be released correctly afterwards.
2040 _default_instance.reset (); 2096 _default_instance.reset();
2041 2097
2042 SCIM_DEBUG_FRONTEND(2) << "Finalize all IC partially.\n"; 2098 SCIM_DEBUG_FRONTEND(2) << "Finalize all IC partially.\n";
2043 while (_used_ic_impl_list) 2099 while (_used_ic_impl_list)
@@ -2045,20 +2101,20 @@ finalize (void)
2045 // In case in "shared input method" mode, 2101 // In case in "shared input method" mode,
2046 // all contexts share only one instance, 2102 // all contexts share only one instance,
2047 // so we need point the reference pointer correctly before finalizing. 2103 // so we need point the reference pointer correctly before finalizing.
2048 _used_ic_impl_list->si->set_frontend_data (static_cast <void*> (_used_ic_impl_list->parent)); 2104 _used_ic_impl_list->si->set_frontend_data(static_cast <void*>(_used_ic_impl_list->parent));
2049 isf_imf_context_del (_used_ic_impl_list->parent->ctx); 2105 isf_imf_context_del(_used_ic_impl_list->parent->ctx);
2050 } 2106 }
2051 2107
2052 delete_all_ic_impl (); 2108 delete_all_ic_impl();
2053 2109
2054 _fallback_instance.reset (); 2110 _fallback_instance.reset();
2055 _fallback_factory.reset (); 2111 _fallback_factory.reset();
2056 2112
2057 SCIM_DEBUG_FRONTEND(2) << " Releasing BackEnd...\n"; 2113 SCIM_DEBUG_FRONTEND(2) << " Releasing BackEnd...\n";
2058 _backend.reset (); 2114 _backend.reset();
2059 2115
2060 SCIM_DEBUG_FRONTEND(2) << " Releasing Config...\n"; 2116 SCIM_DEBUG_FRONTEND(2) << " Releasing Config...\n";
2061 _config.reset (); 2117 _config.reset();
2062 2118
2063 if (_config_module) 2119 if (_config_module)
2064 { 2120 {
@@ -2072,27 +2128,27 @@ finalize (void)
2072 2128
2073 _scim_initialized = false; 2129 _scim_initialized = false;
2074 2130
2075 panel_finalize (); 2131 panel_finalize();
2076} 2132}
2077 2133
2078static void 2134static void
2079open_next_factory (EcoreIMFContextISF *ic) 2135open_next_factory(EcoreIMFContextISF *ic)
2080{ 2136{
2081 SCIM_DEBUG_FRONTEND(2) << __FUNCTION__ << " context=" << ic->id << "\n"; 2137 SCIM_DEBUG_FRONTEND(2) << __FUNCTION__ << " context=" << ic->id << "\n";
2082 IMEngineFactoryPointer sf = _backend->get_next_factory ("", "UTF-8", ic->impl->si->get_factory_uuid ()); 2138 IMEngineFactoryPointer sf = _backend->get_next_factory("", "UTF-8", ic->impl->si->get_factory_uuid());
2083 2139
2084 if (!sf.null ()) 2140 if (!sf.null())
2085 { 2141 {
2086 turn_off_ic (ic); 2142 turn_off_ic(ic);
2087 ic->impl->si = sf->create_instance ("UTF-8", ic->impl->si->get_id ()); 2143 ic->impl->si = sf->create_instance("UTF-8", ic->impl->si->get_id());
2088 ic->impl->si->set_frontend_data (static_cast <void*> (ic)); 2144 ic->impl->si->set_frontend_data(static_cast <void*>(ic));
2089 ic->impl->preedit_string = WideString (); 2145 ic->impl->preedit_string = WideString();
2090 ic->impl->preedit_caret = 0; 2146 ic->impl->preedit_caret = 0;
2091 attach_instance (ic->impl->si); 2147 attach_instance(ic->impl->si);
2092 _backend->set_default_factory (_language, sf->get_uuid ()); 2148 _backend->set_default_factory(_language, sf->get_uuid());
2093 _panel_client.register_input_context (ic->id, sf->get_uuid ()); 2149 _panel_client.register_input_context(ic->id, sf->get_uuid());
2094 set_ic_capabilities (ic); 2150 set_ic_capabilities(ic);
2095 turn_on_ic (ic); 2151 turn_on_ic(ic);
2096 2152
2097 if (_shared_input_method) 2153 if (_shared_input_method)
2098 { 2154 {
@@ -2103,26 +2159,26 @@ open_next_factory (EcoreIMFContextISF *ic)
2103} 2159}
2104 2160
2105static void 2161static void
2106open_previous_factory (EcoreIMFContextISF *ic) 2162open_previous_factory(EcoreIMFContextISF *ic)
2107{ 2163{
2108 if (ic == NULL) 2164 if (ic == NULL)
2109 return; 2165 return;
2110 2166
2111 SCIM_DEBUG_FRONTEND(2) << __FUNCTION__ << " context=" << ic->id << "\n"; 2167 SCIM_DEBUG_FRONTEND(2) << __FUNCTION__ << " context=" << ic->id << "\n";
2112 IMEngineFactoryPointer sf = _backend->get_previous_factory ("", "UTF-8", ic->impl->si->get_factory_uuid ()); 2168 IMEngineFactoryPointer sf = _backend->get_previous_factory("", "UTF-8", ic->impl->si->get_factory_uuid());
2113 2169
2114 if (!sf.null ()) 2170 if (!sf.null())
2115 { 2171 {
2116 turn_off_ic (ic); 2172 turn_off_ic(ic);
2117 ic->impl->si = sf->create_instance ("UTF-8", ic->impl->si->get_id ()); 2173 ic->impl->si = sf->create_instance("UTF-8", ic->impl->si->get_id());
2118 ic->impl->si->set_frontend_data (static_cast <void*> (ic)); 2174 ic->impl->si->set_frontend_data(static_cast <void*>(ic));
2119 ic->impl->preedit_string = WideString (); 2175 ic->impl->preedit_string = WideString();
2120 ic->impl->preedit_caret = 0; 2176 ic->impl->preedit_caret = 0;
2121 attach_instance (ic->impl->si); 2177 attach_instance(ic->impl->si);
2122 _backend->set_default_factory (_language, sf->get_uuid ()); 2178 _backend->set_default_factory(_language, sf->get_uuid());
2123 _panel_client.register_input_context (ic->id, sf->get_uuid ()); 2179 _panel_client.register_input_context(ic->id, sf->get_uuid());
2124 set_ic_capabilities (ic); 2180 set_ic_capabilities(ic);
2125 turn_on_ic (ic); 2181 turn_on_ic(ic);
2126 2182
2127 if (_shared_input_method) 2183 if (_shared_input_method)
2128 { 2184 {
@@ -2133,7 +2189,7 @@ open_previous_factory (EcoreIMFContextISF *ic)
2133} 2189}
2134 2190
2135static void 2191static void
2136open_specific_factory (EcoreIMFContextISF *ic, 2192open_specific_factory(EcoreIMFContextISF *ic,
2137 const String &uuid) 2193 const String &uuid)
2138{ 2194{
2139 if (ic == NULL) 2195 if (ic == NULL)
@@ -2142,26 +2198,26 @@ open_specific_factory (EcoreIMFContextISF *ic,
2142 SCIM_DEBUG_FRONTEND(2) << __FUNCTION__ << " context=" << ic->id << "\n"; 2198 SCIM_DEBUG_FRONTEND(2) << __FUNCTION__ << " context=" << ic->id << "\n";
2143 2199
2144 // The same input method is selected, just turn on the IC. 2200 // The same input method is selected, just turn on the IC.
2145 if (ic->impl->si->get_factory_uuid () == uuid) 2201 if (ic->impl->si->get_factory_uuid() == uuid)
2146 { 2202 {
2147 turn_on_ic (ic); 2203 turn_on_ic(ic);
2148 return; 2204 return;
2149 } 2205 }
2150 2206
2151 IMEngineFactoryPointer sf = _backend->get_factory (uuid); 2207 IMEngineFactoryPointer sf = _backend->get_factory(uuid);
2152 2208
2153 if (uuid.length () && !sf.null ()) 2209 if (uuid.length() && !sf.null())
2154 { 2210 {
2155 turn_off_ic (ic); 2211 turn_off_ic(ic);
2156 ic->impl->si = sf->create_instance ("UTF-8", ic->impl->si->get_id ()); 2212 ic->impl->si = sf->create_instance("UTF-8", ic->impl->si->get_id());
2157 ic->impl->si->set_frontend_data (static_cast <void*> (ic)); 2213 ic->impl->si->set_frontend_data(static_cast <void*>(ic));
2158 ic->impl->preedit_string = WideString (); 2214 ic->impl->preedit_string = WideString();
2159 ic->impl->preedit_caret = 0; 2215 ic->impl->preedit_caret = 0;
2160 attach_instance (ic->impl->si); 2216 attach_instance(ic->impl->si);
2161 _backend->set_default_factory (_language, sf->get_uuid ()); 2217 _backend->set_default_factory(_language, sf->get_uuid());
2162 _panel_client.register_input_context (ic->id, sf->get_uuid ()); 2218 _panel_client.register_input_context(ic->id, sf->get_uuid());
2163 set_ic_capabilities (ic); 2219 set_ic_capabilities(ic);
2164 turn_on_ic (ic); 2220 turn_on_ic(ic);
2165 2221
2166 if (_shared_input_method) 2222 if (_shared_input_method)
2167 { 2223 {
@@ -2171,29 +2227,29 @@ open_specific_factory (EcoreIMFContextISF *ic,
2171 } 2227 }
2172 else 2228 else
2173 { 2229 {
2174 // turn_off_ic comment out panel_req_update_factory_info () 2230 // turn_off_ic comment out panel_req_update_factory_info()
2175 turn_off_ic (ic); 2231 turn_off_ic(ic);
2176 if (ic && ic->impl->is_on) 2232 if (ic && ic->impl->is_on)
2177 { 2233 {
2178 ic->impl->is_on = false; 2234 ic->impl->is_on = false;
2179 2235
2180 if (ic == _focused_ic) 2236 if (ic == _focused_ic)
2181 { 2237 {
2182 ic->impl->si->focus_out (); 2238 ic->impl->si->focus_out();
2183 2239
2184 panel_req_update_factory_info (ic); 2240 panel_req_update_factory_info(ic);
2185 _panel_client.turn_off (ic->id); 2241 _panel_client.turn_off(ic->id);
2186 } 2242 }
2187 2243
2188 //Record the IC on/off status 2244 //Record the IC on/off status
2189 if (_shared_input_method) 2245 if (_shared_input_method)
2190 _config->write (String (SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), false); 2246 _config->write(String(SCIM_CONFIG_FRONTEND_IM_OPENED_BY_DEFAULT), false);
2191 2247
2192 if (ic->impl->use_preedit && ic->impl->preedit_string.length ()) 2248 if (ic->impl->use_preedit && ic->impl->preedit_string.length())
2193 { 2249 {
2194 ecore_imf_context_preedit_changed_event_add (ic->ctx); 2250 ecore_imf_context_preedit_changed_event_add(ic->ctx);
2195 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL); 2251 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL);
2196 ecore_imf_context_preedit_end_event_add (ic->ctx); 2252 ecore_imf_context_preedit_end_event_add(ic->ctx);
2197 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_END, NULL); 2253 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_END, NULL);
2198 ic->impl->preedit_started = false; 2254 ic->impl->preedit_started = false;
2199 } 2255 }
@@ -2201,7 +2257,7 @@ open_specific_factory (EcoreIMFContextISF *ic,
2201 } 2257 }
2202} 2258}
2203 2259
2204static void initialize_modifier_bits (Display *display) 2260static void initialize_modifier_bits(Display *display)
2205{ 2261{
2206 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2262 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2207 2263
@@ -2222,21 +2278,21 @@ static void initialize_modifier_bits (Display *display)
2222 2278
2223 XModifierKeymap *mods = NULL; 2279 XModifierKeymap *mods = NULL;
2224 2280
2225 ::KeyCode ctrl_l = XKeysymToKeycode (display, XK_Control_L); 2281 ::KeyCode ctrl_l = XKeysymToKeycode(display, XK_Control_L);
2226 ::KeyCode ctrl_r = XKeysymToKeycode (display, XK_Control_R); 2282 ::KeyCode ctrl_r = XKeysymToKeycode(display, XK_Control_R);
2227 ::KeyCode meta_l = XKeysymToKeycode (display, XK_Meta_L); 2283 ::KeyCode meta_l = XKeysymToKeycode(display, XK_Meta_L);
2228 ::KeyCode meta_r = XKeysymToKeycode (display, XK_Meta_R); 2284 ::KeyCode meta_r = XKeysymToKeycode(display, XK_Meta_R);
2229 ::KeyCode alt_l = XKeysymToKeycode (display, XK_Alt_L); 2285 ::KeyCode alt_l = XKeysymToKeycode(display, XK_Alt_L);
2230 ::KeyCode alt_r = XKeysymToKeycode (display, XK_Alt_R); 2286 ::KeyCode alt_r = XKeysymToKeycode(display, XK_Alt_R);
2231 ::KeyCode super_l = XKeysymToKeycode (display, XK_Super_L); 2287 ::KeyCode super_l = XKeysymToKeycode(display, XK_Super_L);
2232 ::KeyCode super_r = XKeysymToKeycode (display, XK_Super_R); 2288 ::KeyCode super_r = XKeysymToKeycode(display, XK_Super_R);
2233 ::KeyCode hyper_l = XKeysymToKeycode (display, XK_Hyper_L); 2289 ::KeyCode hyper_l = XKeysymToKeycode(display, XK_Hyper_L);
2234 ::KeyCode hyper_r = XKeysymToKeycode (display, XK_Hyper_R); 2290 ::KeyCode hyper_r = XKeysymToKeycode(display, XK_Hyper_R);
2235 ::KeyCode numlock = XKeysymToKeycode (display, XK_Num_Lock); 2291 ::KeyCode numlock = XKeysymToKeycode(display, XK_Num_Lock);
2236 2292
2237 int i, j; 2293 int i, j;
2238 2294
2239 mods = XGetModifierMapping (display); 2295 mods = XGetModifierMapping(display);
2240 if (mods == NULL) 2296 if (mods == NULL)
2241 return; 2297 return;
2242 2298
@@ -2283,13 +2339,13 @@ static void initialize_modifier_bits (Display *display)
2283 xkey.same_screen = False; 2339 xkey.same_screen = False;
2284 xkey.subwindow = None; 2340 xkey.subwindow = None;
2285 xkey.window = None; 2341 xkey.window = None;
2286 xkey.root = DefaultRootWindow (display); 2342 xkey.root = DefaultRootWindow(display);
2287 xkey.state = ShiftMask; 2343 xkey.state = ShiftMask;
2288 2344
2289 xkey.keycode = meta_l; 2345 xkey.keycode = meta_l;
2290 XLookupString (&xkey, buf, 32, &keysym_l, 0); 2346 XLookupString(&xkey, buf, 32, &keysym_l, 0);
2291 xkey.keycode = meta_r; 2347 xkey.keycode = meta_r;
2292 XLookupString (&xkey, buf, 32, &keysym_r, 0); 2348 XLookupString(&xkey, buf, 32, &keysym_r, 0);
2293 2349
2294 if ((meta_l == alt_l && keysym_l == XK_Meta_L) || (meta_r == alt_r && keysym_r == XK_Meta_R)) 2350 if ((meta_l == alt_l && keysym_l == XK_Meta_L) || (meta_r == alt_r && keysym_r == XK_Meta_R))
2295 __current_meta_mask = ShiftMask + __current_alt_mask; 2351 __current_meta_mask = ShiftMask + __current_alt_mask;
@@ -2297,16 +2353,16 @@ static void initialize_modifier_bits (Display *display)
2297 __current_meta_mask = ShiftMask + ControlMask; 2353 __current_meta_mask = ShiftMask + ControlMask;
2298 } 2354 }
2299 2355
2300 XFreeModifiermap (mods); 2356 XFreeModifiermap(mods);
2301} 2357}
2302 2358
2303static unsigned int scim_x11_keymask_scim_to_x11 (Display *display, uint16 scimkeymask) 2359static unsigned int scim_x11_keymask_scim_to_x11(Display *display, uint16 scimkeymask)
2304{ 2360{
2305 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2361 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2306 2362
2307 unsigned int state = 0; 2363 unsigned int state = 0;
2308 2364
2309 initialize_modifier_bits (display); 2365 initialize_modifier_bits(display);
2310 2366
2311 if (scimkeymask & SCIM_KEY_ShiftMask) state |= ShiftMask; 2367 if (scimkeymask & SCIM_KEY_ShiftMask) state |= ShiftMask;
2312 if (scimkeymask & SCIM_KEY_CapsLockMask) state |= LockMask; 2368 if (scimkeymask & SCIM_KEY_CapsLockMask) state |= LockMask;
@@ -2320,9 +2376,9 @@ static unsigned int scim_x11_keymask_scim_to_x11 (Display *display, uint16 scimk
2320 return state; 2376 return state;
2321} 2377}
2322 2378
2323static XKeyEvent createKeyEvent (Display *display, Window &win, 2379static XKeyEvent createKeyEvent(Display *display, Window &win,
2324 Window &winRoot, bool press, 2380 Window &winRoot, bool press,
2325 int keycode, int modifiers) 2381 int keycode, int modifiers)
2326{ 2382{
2327 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2383 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2328 2384
@@ -2339,7 +2395,7 @@ static XKeyEvent createKeyEvent (Display *display, Window &win,
2339 event.y_root = 1; 2395 event.y_root = 1;
2340 event.same_screen = EINA_TRUE; 2396 event.same_screen = EINA_TRUE;
2341 event.state = modifiers; 2397 event.state = modifiers;
2342 event.keycode = XKeysymToKeycode (display, keycode); 2398 event.keycode = XKeysymToKeycode(display, keycode);
2343 if (press) 2399 if (press)
2344 event.type = KeyPress; 2400 event.type = KeyPress;
2345 else 2401 else
@@ -2350,12 +2406,12 @@ static XKeyEvent createKeyEvent (Display *display, Window &win,
2350 return event; 2406 return event;
2351} 2407}
2352 2408
2353static void _x_send_key_event (const KeyEvent &key) 2409static void _x_send_key_event(const KeyEvent &key)
2354{ 2410{
2355 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2411 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2356 2412
2357 // Obtain the X11 display. 2413 // Obtain the X11 display.
2358 Display *display = XOpenDisplay (NULL); 2414 Display *display = XOpenDisplay(NULL);
2359 if (display == NULL) 2415 if (display == NULL)
2360 { 2416 {
2361 std::cerr << "XOpenDisplay failed\n"; 2417 std::cerr << "XOpenDisplay failed\n";
@@ -2363,98 +2419,98 @@ static void _x_send_key_event (const KeyEvent &key)
2363 } 2419 }
2364 2420
2365 // Get the root window for the current display. 2421 // Get the root window for the current display.
2366 Window winRoot = 0;// = XRootWindow (display, 1); 2422 Window winRoot = 0;
2367 2423
2368 // Find the window which has the current keyboard focus. 2424 // Find the window which has the current keyboard focus.
2369 Window winFocus = 0; 2425 Window winFocus = 0;
2370 int revert = RevertToParent; 2426 int revert = RevertToParent;
2371 2427
2372 XGetInputFocus (display, &winFocus, &revert); 2428 XGetInputFocus(display, &winFocus, &revert);
2373 2429
2374 // Send a fake key press event to the window. 2430 // Send a fake key press event to the window.
2375 XSelectInput (display, winFocus, FocusChangeMask|KeyPressMask|KeyReleaseMask); 2431 XSelectInput(display, winFocus, FocusChangeMask|KeyPressMask|KeyReleaseMask);
2376 XMapWindow (display, winFocus); 2432 XMapWindow(display, winFocus);
2377 2433
2378 unsigned int modifier = scim_x11_keymask_scim_to_x11 (display, key.mask); 2434 unsigned int modifier = scim_x11_keymask_scim_to_x11(display, key.mask);
2379 XKeyEvent event; 2435 XKeyEvent event;
2380 if (key.is_key_press ()) 2436 if (key.is_key_press())
2381 { 2437 {
2382 event = createKeyEvent (display, winFocus, winRoot, true, key.code, modifier); 2438 event = createKeyEvent(display, winFocus, winRoot, true, key.code, modifier);
2383 XSendEvent (event.display, event.window, True, KeyPressMask, (XEvent *)&event); 2439 XSendEvent(event.display, event.window, True, KeyPressMask, (XEvent *)&event);
2384 } 2440 }
2385 else 2441 else
2386 { 2442 {
2387 event = createKeyEvent (display, winFocus, winRoot, false, key.code, modifier); 2443 event = createKeyEvent(display, winFocus, winRoot, false, key.code, modifier);
2388 XSendEvent (event.display, event.window, True, KeyReleaseMask, (XEvent *)&event); 2444 XSendEvent(event.display, event.window, True, KeyReleaseMask, (XEvent *)&event);
2389 } 2445 }
2390 2446
2391 XCloseDisplay (display); 2447 XCloseDisplay(display);
2392} 2448}
2393 2449
2394static void 2450static void
2395attach_instance (const IMEngineInstancePointer &si) 2451attach_instance(const IMEngineInstancePointer &si)
2396{ 2452{
2397 si->signal_connect_show_preedit_string ( 2453 si->signal_connect_show_preedit_string(
2398 slot (slot_show_preedit_string)); 2454 slot(slot_show_preedit_string));
2399 si->signal_connect_show_aux_string ( 2455 si->signal_connect_show_aux_string(
2400 slot (slot_show_aux_string)); 2456 slot(slot_show_aux_string));
2401 si->signal_connect_show_lookup_table ( 2457 si->signal_connect_show_lookup_table(
2402 slot (slot_show_lookup_table)); 2458 slot(slot_show_lookup_table));
2403 2459
2404 si->signal_connect_hide_preedit_string ( 2460 si->signal_connect_hide_preedit_string(
2405 slot (slot_hide_preedit_string)); 2461 slot(slot_hide_preedit_string));
2406 si->signal_connect_hide_aux_string ( 2462 si->signal_connect_hide_aux_string(
2407 slot (slot_hide_aux_string)); 2463 slot(slot_hide_aux_string));
2408 si->signal_connect_hide_lookup_table ( 2464 si->signal_connect_hide_lookup_table(
2409 slot (slot_hide_lookup_table)); 2465 slot(slot_hide_lookup_table));
2410 2466
2411 si->signal_connect_update_preedit_caret ( 2467 si->signal_connect_update_preedit_caret(
2412 slot (slot_update_preedit_caret)); 2468 slot(slot_update_preedit_caret));
2413 si->signal_connect_update_preedit_string ( 2469 si->signal_connect_update_preedit_string(
2414 slot (slot_update_preedit_string)); 2470 slot(slot_update_preedit_string));
2415 si->signal_connect_update_aux_string ( 2471 si->signal_connect_update_aux_string(
2416 slot (slot_update_aux_string)); 2472 slot(slot_update_aux_string));
2417 si->signal_connect_update_lookup_table ( 2473 si->signal_connect_update_lookup_table(
2418 slot (slot_update_lookup_table)); 2474 slot(slot_update_lookup_table));
2419 2475
2420 si->signal_connect_commit_string ( 2476 si->signal_connect_commit_string(
2421 slot (slot_commit_string)); 2477 slot(slot_commit_string));
2422 2478
2423 si->signal_connect_forward_key_event ( 2479 si->signal_connect_forward_key_event(
2424 slot (slot_forward_key_event)); 2480 slot(slot_forward_key_event));
2425 2481
2426 si->signal_connect_register_properties ( 2482 si->signal_connect_register_properties(
2427 slot (slot_register_properties)); 2483 slot(slot_register_properties));
2428 2484
2429 si->signal_connect_update_property ( 2485 si->signal_connect_update_property(
2430 slot (slot_update_property)); 2486 slot(slot_update_property));
2431 2487
2432 si->signal_connect_beep ( 2488 si->signal_connect_beep(
2433 slot (slot_beep)); 2489 slot(slot_beep));
2434 2490
2435 si->signal_connect_start_helper ( 2491 si->signal_connect_start_helper(
2436 slot (slot_start_helper)); 2492 slot(slot_start_helper));
2437 2493
2438 si->signal_connect_stop_helper ( 2494 si->signal_connect_stop_helper(
2439 slot (slot_stop_helper)); 2495 slot(slot_stop_helper));
2440 2496
2441 si->signal_connect_send_helper_event ( 2497 si->signal_connect_send_helper_event(
2442 slot (slot_send_helper_event)); 2498 slot(slot_send_helper_event));
2443 2499
2444 si->signal_connect_get_surrounding_text ( 2500 si->signal_connect_get_surrounding_text(
2445 slot (slot_get_surrounding_text)); 2501 slot(slot_get_surrounding_text));
2446 2502
2447 si->signal_connect_delete_surrounding_text ( 2503 si->signal_connect_delete_surrounding_text(
2448 slot (slot_delete_surrounding_text)); 2504 slot(slot_delete_surrounding_text));
2449} 2505}
2450 2506
2451// Implementation of slot functions 2507// Implementation of slot functions
2452static void 2508static void
2453slot_show_preedit_string (IMEngineInstanceBase *si) 2509slot_show_preedit_string(IMEngineInstanceBase *si)
2454{ 2510{
2455 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2511 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2456 2512
2457 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2513 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2458 2514
2459 if (ic && ic->impl && _focused_ic == ic) 2515 if (ic && ic->impl && _focused_ic == ic)
2460 { 2516 {
@@ -2462,102 +2518,102 @@ slot_show_preedit_string (IMEngineInstanceBase *si)
2462 { 2518 {
2463 if (!ic->impl->preedit_started) 2519 if (!ic->impl->preedit_started)
2464 { 2520 {
2465 ecore_imf_context_preedit_start_event_add (_focused_ic->ctx); 2521 ecore_imf_context_preedit_start_event_add(_focused_ic->ctx);
2466 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL); 2522 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL);
2467 ic->impl->preedit_started = true; 2523 ic->impl->preedit_started = true;
2468 } 2524 }
2469 } 2525 }
2470 else 2526 else
2471 _panel_client.show_preedit_string (ic->id); 2527 _panel_client.show_preedit_string(ic->id);
2472 } 2528 }
2473} 2529}
2474 2530
2475static void 2531static void
2476slot_show_aux_string (IMEngineInstanceBase *si) 2532slot_show_aux_string(IMEngineInstanceBase *si)
2477{ 2533{
2478 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2534 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2479 2535
2480 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2536 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2481 2537
2482 if (ic && ic->impl && _focused_ic == ic) 2538 if (ic && ic->impl && _focused_ic == ic)
2483 _panel_client.show_aux_string (ic->id); 2539 _panel_client.show_aux_string(ic->id);
2484} 2540}
2485 2541
2486static void 2542static void
2487slot_show_lookup_table (IMEngineInstanceBase *si) 2543slot_show_lookup_table(IMEngineInstanceBase *si)
2488{ 2544{
2489 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2545 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2490 2546
2491 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2547 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2492 2548
2493 if (ic && ic->impl && _focused_ic == ic) 2549 if (ic && ic->impl && _focused_ic == ic)
2494 _panel_client.show_lookup_table (ic->id); 2550 _panel_client.show_lookup_table(ic->id);
2495} 2551}
2496 2552
2497static void 2553static void
2498slot_hide_preedit_string (IMEngineInstanceBase *si) 2554slot_hide_preedit_string(IMEngineInstanceBase *si)
2499{ 2555{
2500 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2556 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2501 2557
2502 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2558 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2503 2559
2504 if (ic && ic->impl && _focused_ic == ic) 2560 if (ic && ic->impl && _focused_ic == ic)
2505 { 2561 {
2506 bool emit = false; 2562 bool emit = false;
2507 if (ic->impl->preedit_string.length ()) 2563 if (ic->impl->preedit_string.length())
2508 { 2564 {
2509 ic->impl->preedit_string = WideString (); 2565 ic->impl->preedit_string = WideString();
2510 ic->impl->preedit_caret = 0; 2566 ic->impl->preedit_caret = 0;
2511 ic->impl->preedit_attrlist.clear (); 2567 ic->impl->preedit_attrlist.clear();
2512 emit = true; 2568 emit = true;
2513 } 2569 }
2514 if (ic->impl->use_preedit) 2570 if (ic->impl->use_preedit)
2515 { 2571 {
2516 if (emit) 2572 if (emit)
2517 { 2573 {
2518 ecore_imf_context_preedit_changed_event_add (ic->ctx); 2574 ecore_imf_context_preedit_changed_event_add(ic->ctx);
2519 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL); 2575 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL);
2520 } 2576 }
2521 if (ic->impl->preedit_started) 2577 if (ic->impl->preedit_started)
2522 { 2578 {
2523 ecore_imf_context_preedit_end_event_add (ic->ctx); 2579 ecore_imf_context_preedit_end_event_add(ic->ctx);
2524 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_END, NULL); 2580 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_END, NULL);
2525 ic->impl->preedit_started = false; 2581 ic->impl->preedit_started = false;
2526 } 2582 }
2527 } 2583 }
2528 else 2584 else
2529 _panel_client.hide_preedit_string (ic->id); 2585 _panel_client.hide_preedit_string(ic->id);
2530 } 2586 }
2531} 2587}
2532 2588
2533static void 2589static void
2534slot_hide_aux_string (IMEngineInstanceBase *si) 2590slot_hide_aux_string(IMEngineInstanceBase *si)
2535{ 2591{
2536 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2592 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2537 2593
2538 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2594 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2539 2595
2540 if (ic && ic->impl && _focused_ic == ic) 2596 if (ic && ic->impl && _focused_ic == ic)
2541 _panel_client.hide_aux_string (ic->id); 2597 _panel_client.hide_aux_string(ic->id);
2542} 2598}
2543 2599
2544static void 2600static void
2545slot_hide_lookup_table (IMEngineInstanceBase *si) 2601slot_hide_lookup_table(IMEngineInstanceBase *si)
2546{ 2602{
2547 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2603 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2548 2604
2549 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2605 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2550 2606
2551 if (ic && ic->impl && _focused_ic == ic) 2607 if (ic && ic->impl && _focused_ic == ic)
2552 _panel_client.hide_lookup_table (ic->id); 2608 _panel_client.hide_lookup_table(ic->id);
2553} 2609}
2554 2610
2555static void 2611static void
2556slot_update_preedit_caret (IMEngineInstanceBase *si, int caret) 2612slot_update_preedit_caret(IMEngineInstanceBase *si, int caret)
2557{ 2613{
2558 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2614 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2559 2615
2560 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2616 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2561 2617
2562 if (ic && ic->impl && _focused_ic == ic && ic->impl->preedit_caret != caret) 2618 if (ic && ic->impl && _focused_ic == ic && ic->impl->preedit_caret != caret)
2563 { 2619 {
@@ -2566,28 +2622,28 @@ slot_update_preedit_caret (IMEngineInstanceBase *si, int caret)
2566 { 2622 {
2567 if (!ic->impl->preedit_started) 2623 if (!ic->impl->preedit_started)
2568 { 2624 {
2569 ecore_imf_context_preedit_start_event_add (ic->ctx); 2625 ecore_imf_context_preedit_start_event_add(ic->ctx);
2570 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL); 2626 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL);
2571 ic->impl->preedit_started = true; 2627 ic->impl->preedit_started = true;
2572 } 2628 }
2573 ecore_imf_context_preedit_changed_event_add (ic->ctx); 2629 ecore_imf_context_preedit_changed_event_add(ic->ctx);
2574 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL); 2630 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL);
2575 } 2631 }
2576 else 2632 else
2577 _panel_client.update_preedit_caret (ic->id, caret); 2633 _panel_client.update_preedit_caret(ic->id, caret);
2578 } 2634 }
2579} 2635}
2580 2636
2581static void 2637static void
2582slot_update_preedit_string (IMEngineInstanceBase *si, 2638slot_update_preedit_string(IMEngineInstanceBase *si,
2583 const WideString & str, 2639 const WideString & str,
2584 const AttributeList & attrs) 2640 const AttributeList & attrs)
2585{ 2641{
2586 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2642 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2587 2643
2588 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2644 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2589 2645
2590 if (ic && ic->impl && _focused_ic == ic && (ic->impl->preedit_string != str || str.length ())) 2646 if (ic && ic->impl && _focused_ic == ic && (ic->impl->preedit_string != str || str.length()))
2591 { 2647 {
2592 ic->impl->preedit_string = str; 2648 ic->impl->preedit_string = str;
2593 ic->impl->preedit_attrlist = attrs; 2649 ic->impl->preedit_attrlist = attrs;
@@ -2595,178 +2651,178 @@ slot_update_preedit_string (IMEngineInstanceBase *si,
2595 { 2651 {
2596 if (!ic->impl->preedit_started) 2652 if (!ic->impl->preedit_started)
2597 { 2653 {
2598 ecore_imf_context_preedit_start_event_add (_focused_ic->ctx); 2654 ecore_imf_context_preedit_start_event_add(_focused_ic->ctx);
2599 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL); 2655 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL);
2600 ic->impl->preedit_started = true; 2656 ic->impl->preedit_started = true;
2601 } 2657 }
2602 ic->impl->preedit_caret = str.length (); 2658 ic->impl->preedit_caret = str.length();
2603 ic->impl->preedit_updating = true; 2659 ic->impl->preedit_updating = true;
2604 ecore_imf_context_preedit_changed_event_add (ic->ctx); 2660 ecore_imf_context_preedit_changed_event_add(ic->ctx);
2605 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL); 2661 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, NULL);
2606 ic->impl->preedit_updating = false; 2662 ic->impl->preedit_updating = false;
2607 } 2663 }
2608 else 2664 else
2609 { 2665 {
2610 _panel_client.update_preedit_string (ic->id, str, attrs); 2666 _panel_client.update_preedit_string(ic->id, str, attrs);
2611 } 2667 }
2612 } 2668 }
2613} 2669}
2614 2670
2615static void 2671static void
2616slot_update_aux_string (IMEngineInstanceBase *si, 2672slot_update_aux_string(IMEngineInstanceBase *si,
2617 const WideString & str, 2673 const WideString & str,
2618 const AttributeList & attrs) 2674 const AttributeList & attrs)
2619{ 2675{
2620 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2676 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2621 2677
2622 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2678 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2623 2679
2624 if (ic && ic->impl && _focused_ic == ic) 2680 if (ic && ic->impl && _focused_ic == ic)
2625 _panel_client.update_aux_string (ic->id, str, attrs); 2681 _panel_client.update_aux_string(ic->id, str, attrs);
2626} 2682}
2627 2683
2628static void 2684static void
2629slot_commit_string (IMEngineInstanceBase *si, 2685slot_commit_string(IMEngineInstanceBase *si,
2630 const WideString & str) 2686 const WideString & str)
2631{ 2687{
2632 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2688 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2633 2689
2634 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2690 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2635 2691
2636 if (ic && ic->ctx) 2692 if (ic && ic->ctx)
2637 { 2693 {
2638 ecore_imf_context_commit_event_add (ic->ctx, utf8_wcstombs (str).c_str ()); 2694 ecore_imf_context_commit_event_add(ic->ctx, utf8_wcstombs(str).c_str());
2639 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(str).c_str()); 2695 ecore_imf_context_event_callback_call(ic->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(str).c_str());
2640 } 2696 }
2641} 2697}
2642 2698
2643static void 2699static void
2644slot_forward_key_event (IMEngineInstanceBase *si, 2700slot_forward_key_event(IMEngineInstanceBase *si,
2645 const KeyEvent & key) 2701 const KeyEvent & key)
2646{ 2702{
2647 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2703 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2648 2704
2649 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2705 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2650 2706
2651 if (ic && _focused_ic == ic) 2707 if (ic && _focused_ic == ic)
2652 { 2708 {
2653 if (!_fallback_instance->process_key_event (key)) 2709 if (!_fallback_instance->process_key_event(key))
2654 _x_send_key_event(key); 2710 _x_send_key_event(key);
2655 } 2711 }
2656} 2712}
2657 2713
2658static void 2714static void
2659slot_update_lookup_table (IMEngineInstanceBase *si, 2715slot_update_lookup_table(IMEngineInstanceBase *si,
2660 const LookupTable & table) 2716 const LookupTable & table)
2661{ 2717{
2662 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2718 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2663 2719
2664 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2720 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2665 2721
2666 if (ic && ic->impl && _focused_ic == ic) 2722 if (ic && ic->impl && _focused_ic == ic)
2667 _panel_client.update_lookup_table (ic->id, table); 2723 _panel_client.update_lookup_table(ic->id, table);
2668} 2724}
2669 2725
2670static void 2726static void
2671slot_register_properties (IMEngineInstanceBase *si, 2727slot_register_properties(IMEngineInstanceBase *si,
2672 const PropertyList & properties) 2728 const PropertyList & properties)
2673{ 2729{
2674 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2730 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2675 2731
2676 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2732 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2677 2733
2678 if (ic && ic->impl && _focused_ic == ic) 2734 if (ic && ic->impl && _focused_ic == ic)
2679 _panel_client.register_properties (ic->id, properties); 2735 _panel_client.register_properties(ic->id, properties);
2680} 2736}
2681 2737
2682static void 2738static void
2683slot_update_property (IMEngineInstanceBase *si, 2739slot_update_property(IMEngineInstanceBase *si,
2684 const Property & property) 2740 const Property & property)
2685{ 2741{
2686 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2742 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2687 2743
2688 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2744 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2689 2745
2690 if (ic && ic->impl && _focused_ic == ic) 2746 if (ic && ic->impl && _focused_ic == ic)
2691 _panel_client.update_property (ic->id, property); 2747 _panel_client.update_property(ic->id, property);
2692} 2748}
2693 2749
2694static void 2750static void
2695slot_beep (IMEngineInstanceBase *si __UNUSED__) 2751slot_beep(IMEngineInstanceBase *si __UNUSED__)
2696{ 2752{
2697 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2753 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2698} 2754}
2699 2755
2700static void 2756static void
2701slot_start_helper (IMEngineInstanceBase *si, 2757slot_start_helper(IMEngineInstanceBase *si,
2702 const String &helper_uuid) 2758 const String &helper_uuid)
2703{ 2759{
2704 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2760 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2705 2761
2706 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " context=" 2762 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " context="
2707 << (ic ? ic->id : -1) << " ic=" << ic 2763 << (ic ? ic->id : -1) << " ic=" << ic
2708 << " ic-uuid=" << ((ic ) ? ic->impl->si->get_factory_uuid () : "") << "...\n"; 2764 << " ic-uuid=" << ((ic ) ? ic->impl->si->get_factory_uuid() : "") << "...\n";
2709 2765
2710 if (ic && ic->impl) 2766 if (ic && ic->impl)
2711 _panel_client.start_helper (ic->id, helper_uuid); 2767 _panel_client.start_helper(ic->id, helper_uuid);
2712} 2768}
2713 2769
2714static void 2770static void
2715slot_stop_helper (IMEngineInstanceBase *si, 2771slot_stop_helper(IMEngineInstanceBase *si,
2716 const String &helper_uuid) 2772 const String &helper_uuid)
2717{ 2773{
2718 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2774 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2719 2775
2720 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " context=" << (ic ? ic->id : -1) << " ic=" << ic << "...\n"; 2776 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " context=" << (ic ? ic->id : -1) << " ic=" << ic << "...\n";
2721 2777
2722 if (ic && ic->impl) 2778 if (ic && ic->impl)
2723 _panel_client.stop_helper (ic->id, helper_uuid); 2779 _panel_client.stop_helper(ic->id, helper_uuid);
2724} 2780}
2725 2781
2726static void 2782static void
2727slot_send_helper_event (IMEngineInstanceBase *si, 2783slot_send_helper_event(IMEngineInstanceBase *si,
2728 const String &helper_uuid, 2784 const String &helper_uuid,
2729 const Transaction &trans) 2785 const Transaction &trans)
2730{ 2786{
2731 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2787 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2732 2788
2733 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " context=" 2789 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " context="
2734 << (ic ? ic->id : -1) << " ic=" << ic 2790 << (ic ? ic->id : -1) << " ic=" << ic
2735 << " ic-uuid=" << ((ic) ? ic->impl->si->get_factory_uuid () : "") << "...\n"; 2791 << " ic-uuid=" << ((ic) ? ic->impl->si->get_factory_uuid() : "") << "...\n";
2736 2792
2737 if (ic && ic->impl) 2793 if (ic && ic->impl)
2738 _panel_client.send_helper_event (ic->id, helper_uuid, trans); 2794 _panel_client.send_helper_event(ic->id, helper_uuid, trans);
2739} 2795}
2740 2796
2741static bool 2797static bool
2742slot_get_surrounding_text (IMEngineInstanceBase *si, 2798slot_get_surrounding_text(IMEngineInstanceBase *si,
2743 WideString &text, 2799 WideString &text,
2744 int &cursor, 2800 int &cursor,
2745 int maxlen_before, 2801 int maxlen_before,
2746 int maxlen_after) 2802 int maxlen_after)
2747{ 2803{
2748 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2804 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2749 2805
2750 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2806 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2751 2807
2752 if (ic && ic->impl && _focused_ic == ic) 2808 if (ic && ic->impl && _focused_ic == ic)
2753 { 2809 {
2754 char *surrounding = NULL; 2810 char *surrounding = NULL;
2755 int cursor_index; 2811 int cursor_index;
2756 if (ecore_imf_context_surrounding_get (_focused_ic->ctx, &surrounding, &cursor_index)) 2812 if (ecore_imf_context_surrounding_get(_focused_ic->ctx, &surrounding, &cursor_index))
2757 { 2813 {
2758 SCIM_DEBUG_FRONTEND(2) << "Surrounding text: " << surrounding <<"\n"; 2814 SCIM_DEBUG_FRONTEND(2) << "Surrounding text: " << surrounding <<"\n";
2759 SCIM_DEBUG_FRONTEND(2) << "Cursor Index : " << cursor_index <<"\n"; 2815 SCIM_DEBUG_FRONTEND(2) << "Cursor Index : " << cursor_index <<"\n";
2760 WideString before (utf8_mbstowcs (String (surrounding, surrounding + cursor_index))); 2816 WideString before(utf8_mbstowcs(String(surrounding, surrounding + cursor_index)));
2761 WideString after (utf8_mbstowcs (String (surrounding + cursor_index))); 2817 WideString after(utf8_mbstowcs(String(surrounding + cursor_index)));
2762 if (maxlen_before > 0 && ((unsigned int)maxlen_before) < before.length ()) 2818 if (maxlen_before > 0 && ((unsigned int)maxlen_before) < before.length())
2763 before = WideString (before.begin () + (before.length () - maxlen_before), before.end ()); 2819 before = WideString(before.begin() + (before.length() - maxlen_before), before.end());
2764 else if (maxlen_before == 0) before = WideString (); 2820 else if (maxlen_before == 0) before = WideString();
2765 if (maxlen_after > 0 && ((unsigned int)maxlen_after) < after.length ()) 2821 if (maxlen_after > 0 && ((unsigned int)maxlen_after) < after.length())
2766 after = WideString (after.begin (), after.begin () + maxlen_after); 2822 after = WideString(after.begin(), after.begin() + maxlen_after);
2767 else if (maxlen_after == 0) after = WideString (); 2823 else if (maxlen_after == 0) after = WideString();
2768 text = before + after; 2824 text = before + after;
2769 cursor = before.length (); 2825 cursor = before.length();
2770 return true; 2826 return true;
2771 } 2827 }
2772 } 2828 }
@@ -2774,13 +2830,13 @@ slot_get_surrounding_text (IMEngineInstanceBase *si,
2774} 2830}
2775 2831
2776static bool 2832static bool
2777slot_delete_surrounding_text (IMEngineInstanceBase *si, 2833slot_delete_surrounding_text(IMEngineInstanceBase *si,
2778 int offset, 2834 int offset,
2779 int len) 2835 int len)
2780{ 2836{
2781 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2837 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2782 2838
2783 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *> (si->get_frontend_data ()); 2839 EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF *>(si->get_frontend_data());
2784 2840
2785 if (ic && ic->impl && _focused_ic == ic) 2841 if (ic && ic->impl && _focused_ic == ic)
2786 { 2842 {
@@ -2788,7 +2844,7 @@ slot_delete_surrounding_text (IMEngineInstanceBase *si,
2788 ev.ctx = _focused_ic->ctx; 2844 ev.ctx = _focused_ic->ctx;
2789 ev.n_chars = len; 2845 ev.n_chars = len;
2790 ev.offset = offset; 2846 ev.offset = offset;
2791 ecore_imf_context_delete_surrounding_event_add (_focused_ic->ctx, offset, len); 2847 ecore_imf_context_delete_surrounding_event_add(_focused_ic->ctx, offset, len);
2792 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, &ev); 2848 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, &ev);
2793 return true; 2849 return true;
2794 } 2850 }
@@ -2796,43 +2852,43 @@ slot_delete_surrounding_text (IMEngineInstanceBase *si,
2796} 2852}
2797 2853
2798static void 2854static void
2799reload_config_callback (const ConfigPointer &config) 2855reload_config_callback(const ConfigPointer &config)
2800{ 2856{
2801 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2857 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2802 2858
2803 _frontend_hotkey_matcher.load_hotkeys (config); 2859 _frontend_hotkey_matcher.load_hotkeys(config);
2804 _imengine_hotkey_matcher.load_hotkeys (config); 2860 _imengine_hotkey_matcher.load_hotkeys(config);
2805 2861
2806 KeyEvent key; 2862 KeyEvent key;
2807 2863
2808 scim_string_to_key (key, 2864 scim_string_to_key(key,
2809 config->read (String (SCIM_CONFIG_HOTKEYS_FRONTEND_VALID_KEY_MASK), 2865 config->read(String(SCIM_CONFIG_HOTKEYS_FRONTEND_VALID_KEY_MASK),
2810 String ("Shift+Control+Alt+Lock"))); 2866 String("Shift+Control+Alt+Lock")));
2811 2867
2812 _valid_key_mask = (key.mask > 0)?(key.mask):0xFFFF; 2868 _valid_key_mask = (key.mask > 0)?(key.mask):0xFFFF;
2813 _valid_key_mask |= SCIM_KEY_ReleaseMask; 2869 _valid_key_mask |= SCIM_KEY_ReleaseMask;
2814 // Special treatment for two backslash keys on jp106 keyboard. 2870 // Special treatment for two backslash keys on jp106 keyboard.
2815 _valid_key_mask |= SCIM_KEY_QuirkKanaRoMask; 2871 _valid_key_mask |= SCIM_KEY_QuirkKanaRoMask;
2816 2872
2817 _on_the_spot = config->read (String (SCIM_CONFIG_FRONTEND_ON_THE_SPOT), _on_the_spot); 2873 _on_the_spot = config->read(String(SCIM_CONFIG_FRONTEND_ON_THE_SPOT), _on_the_spot);
2818 _shared_input_method = config->read (String (SCIM_CONFIG_FRONTEND_SHARED_INPUT_METHOD), _shared_input_method); 2874 _shared_input_method = config->read(String(SCIM_CONFIG_FRONTEND_SHARED_INPUT_METHOD), _shared_input_method);
2819 2875
2820 // Get keyboard layout setting 2876 // Get keyboard layout setting
2821 // Flush the global config first, in order to load the new configs from disk. 2877 // Flush the global config first, in order to load the new configs from disk.
2822 scim_global_config_flush (); 2878 scim_global_config_flush();
2823 2879
2824 _keyboard_layout = scim_get_default_keyboard_layout (); 2880 _keyboard_layout = scim_get_default_keyboard_layout();
2825} 2881}
2826 2882
2827static void 2883static void
2828fallback_commit_string_cb (IMEngineInstanceBase *si __UNUSED__, 2884fallback_commit_string_cb(IMEngineInstanceBase *si __UNUSED__,
2829 const WideString &str) 2885 const WideString &str)
2830{ 2886{
2831 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2887 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2832 2888
2833 if (_focused_ic && _focused_ic->impl) 2889 if (_focused_ic && _focused_ic->impl)
2834 { 2890 {
2835 ecore_imf_context_commit_event_add (_focused_ic->ctx, utf8_wcstombs (str).c_str ()); 2891 ecore_imf_context_commit_event_add(_focused_ic->ctx, utf8_wcstombs(str).c_str());
2836 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(str).c_str()); 2892 ecore_imf_context_event_callback_call(_focused_ic->ctx, ECORE_IMF_CALLBACK_COMMIT, (void *)utf8_wcstombs(str).c_str());
2837 } 2893 }
2838} 2894}
diff --git a/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h b/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h
index 84f1a2f..72533e2 100644
--- a/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h
+++ b/libraries/ecore/src/modules/immodules/scim/scim_imcontext.h
@@ -32,6 +32,8 @@ Eina_Bool isf_imf_context_filter_event (Ecore_IMF_Context *ctx, Ecore_IMF_Event
32void isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction); 32void isf_imf_context_prediction_allow_set (Ecore_IMF_Context* ctx, Eina_Bool prediction);
33void isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type); 33void isf_imf_context_autocapital_type_set (Ecore_IMF_Context* ctx, Ecore_IMF_Autocapital_Type autocapital_type);
34void isf_imf_context_input_panel_layout_set (Ecore_IMF_Context* ctx, Ecore_IMF_Input_Panel_Layout layout); 34void isf_imf_context_input_panel_layout_set (Ecore_IMF_Context* ctx, Ecore_IMF_Input_Panel_Layout layout);
35void isf_imf_context_input_panel_show(Ecore_IMF_Context *ctx);
36void isf_imf_context_input_panel_hide(Ecore_IMF_Context *ctx);
35 37
36EcoreIMFContextISF* isf_imf_context_new (void); 38EcoreIMFContextISF* isf_imf_context_new (void);
37void isf_imf_context_shutdown (void); 39void isf_imf_context_shutdown (void);
diff --git a/libraries/ecore/src/modules/immodules/scim/scim_module.cpp b/libraries/ecore/src/modules/immodules/scim/scim_module.cpp
index eff6381..d17e37a 100644
--- a/libraries/ecore/src/modules/immodules/scim/scim_module.cpp
+++ b/libraries/ecore/src/modules/immodules/scim/scim_module.cpp
@@ -19,8 +19,8 @@ extern "C"
19 isf_imf_context_del, /* del */ 19 isf_imf_context_del, /* del */
20 isf_imf_context_client_window_set, /* client_window_set */ 20 isf_imf_context_client_window_set, /* client_window_set */
21 isf_imf_context_client_canvas_set, /* client_canvas_set */ 21 isf_imf_context_client_canvas_set, /* client_canvas_set */
22 NULL, /* isf_imf_context_input_panel_show, - show */ 22 isf_imf_context_input_panel_show, /* input_panel_show, - show */
23 NULL, /* isf_imf_context_input_panel_hide, - hide */ 23 isf_imf_context_input_panel_hide, /* input_panel_hide, - hide */
24 isf_imf_context_preedit_string_get, /* get_preedit_string */ 24 isf_imf_context_preedit_string_get, /* get_preedit_string */
25 isf_imf_context_focus_in, /* focus_in */ 25 isf_imf_context_focus_in, /* focus_in */
26 isf_imf_context_focus_out, /* focus_out */ 26 isf_imf_context_focus_out, /* focus_out */
@@ -38,7 +38,12 @@ extern "C"
38 NULL, /* isf_imf_context_input_panel_layout_get, */ 38 NULL, /* isf_imf_context_input_panel_layout_get, */
39 NULL, /* isf_imf_context_input_panel_language_set, */ 39 NULL, /* isf_imf_context_input_panel_language_set, */
40 NULL, /* isf_imf_context_input_panel_language_get, */ 40 NULL, /* isf_imf_context_input_panel_language_get, */
41 isf_imf_context_cursor_location_set /* cursor_location_set */ 41 isf_imf_context_cursor_location_set, /* cursor_location_set */
42 NULL, /* input_panel_imdata_set */
43 NULL, /* input_panel_imdata_get */
44 NULL, /* input_panel_return_key_type_set */
45 NULL, /* input_panel_return_key_disabled_set */
46 NULL /* input_panel_caps_lock_mode_set */
42 }; 47 };
43 48
44 static Ecore_IMF_Context *imf_module_create (void); 49 static Ecore_IMF_Context *imf_module_create (void);
diff --git a/libraries/ecore/src/modules/immodules/xim/Makefile.in b/libraries/ecore/src/modules/immodules/xim/Makefile.in
index 5b78946..775b574 100644
--- a/libraries/ecore/src/modules/immodules/xim/Makefile.in
+++ b/libraries/ecore/src/modules/immodules/xim/Makefile.in
@@ -48,16 +48,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 49 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 50 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
51 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 51 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
52 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 52 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 53 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 54 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 55 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
56 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 56 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
57 $(top_srcdir)/configure.ac
58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
59 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
60mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 59mkinstalldirs = $(install_sh) -d
61CONFIG_HEADER = $(top_builddir)/config.h 60CONFIG_HEADER = $(top_builddir)/config.h
62CONFIG_CLEAN_FILES = 61CONFIG_CLEAN_FILES =
63CONFIG_CLEAN_VPATH_FILES = 62CONFIG_CLEAN_VPATH_FILES =
@@ -189,6 +188,8 @@ EVAS_LIBS = @EVAS_LIBS@
189EVIL_CFLAGS = @EVIL_CFLAGS@ 188EVIL_CFLAGS = @EVIL_CFLAGS@
190EVIL_LIBS = @EVIL_LIBS@ 189EVIL_LIBS = @EVIL_LIBS@
191EXEEXT = @EXEEXT@ 190EXEEXT = @EXEEXT@
191EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
192EXOTIC_LIBS = @EXOTIC_LIBS@
192FGREP = @FGREP@ 193FGREP = @FGREP@
193GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 194GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
194GLIB_CFLAGS = @GLIB_CFLAGS@ 195GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -244,6 +245,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 245PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 246PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 247PKG_CONFIG = @PKG_CONFIG@
248PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
249PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247POSUB = @POSUB@ 250POSUB = @POSUB@
248RANLIB = @RANLIB@ 251RANLIB = @RANLIB@
249SCIM_CFLAGS = @SCIM_CFLAGS@ 252SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -254,6 +257,7 @@ SDL_LIBS = @SDL_LIBS@
254SED = @SED@ 257SED = @SED@
255SET_MAKE = @SET_MAKE@ 258SET_MAKE = @SET_MAKE@
256SHELL = @SHELL@ 259SHELL = @SHELL@
260SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
257SSL_CFLAGS = @SSL_CFLAGS@ 261SSL_CFLAGS = @SSL_CFLAGS@
258SSL_LIBS = @SSL_LIBS@ 262SSL_LIBS = @SSL_LIBS@
259STRIP = @STRIP@ 263STRIP = @STRIP@
diff --git a/libraries/ecore/src/modules/immodules/xim/ecore_imf_xim.c b/libraries/ecore/src/modules/immodules/xim/ecore_imf_xim.c
index ea7ee7f..01a3576 100644
--- a/libraries/ecore/src/modules/immodules/xim/ecore_imf_xim.c
+++ b/libraries/ecore/src/modules/immodules/xim/ecore_imf_xim.c
@@ -294,6 +294,10 @@ _ecore_imf_context_xim_focus_in(Ecore_IMF_Context *ctx)
294 imf_context_data = ecore_imf_context_data_get(ctx); 294 imf_context_data = ecore_imf_context_data_get(ctx);
295 ic = imf_context_data->ic; 295 ic = imf_context_data->ic;
296 imf_context_data->has_focus = EINA_TRUE; 296 imf_context_data->has_focus = EINA_TRUE;
297
298 if (ecore_imf_context_input_panel_enabled_get(ctx))
299 ecore_imf_context_input_panel_show(ctx);
300
297 if (ic) 301 if (ic)
298 { 302 {
299 char *str; 303 char *str;
@@ -326,6 +330,9 @@ _ecore_imf_context_xim_focus_out(Ecore_IMF_Context *ctx)
326 ic = imf_context_data->ic; 330 ic = imf_context_data->ic;
327 if (ic) 331 if (ic)
328 XUnsetICFocus(ic); 332 XUnsetICFocus(ic);
333
334 if (ecore_imf_context_input_panel_enabled_get(ctx))
335 ecore_imf_context_input_panel_hide(ctx);
329 } 336 }
330#else 337#else
331 (void)ctx; 338 (void)ctx;
@@ -501,6 +508,38 @@ _ecore_imf_context_xim_cursor_location_set(Ecore_IMF_Context *ctx,
501 (void)(w); // yes w is unused, but only a bi-product of the algorithm 508 (void)(w); // yes w is unused, but only a bi-product of the algorithm
502} 509}
503 510
511static void
512_ecore_imf_context_xim_input_panel_show(Ecore_IMF_Context *ctx)
513{
514 EINA_LOG_DBG("%s in", __FUNCTION__);
515
516#ifdef ENABLE_XIM
517 Ecore_IMF_Context_Data *imf_context_data;
518 imf_context_data = ecore_imf_context_data_get(ctx);
519
520 ecore_x_e_virtual_keyboard_state_set
521 (imf_context_data->win, ECORE_X_VIRTUAL_KEYBOARD_STATE_ON);
522#else
523 (void)ctx;
524#endif
525}
526
527static void
528_ecore_imf_context_xim_input_panel_hide(Ecore_IMF_Context *ctx)
529{
530 EINA_LOG_DBG("%s in", __FUNCTION__);
531
532#ifdef ENABLE_XIM
533 Ecore_IMF_Context_Data *imf_context_data;
534 imf_context_data = ecore_imf_context_data_get(ctx);
535
536 ecore_x_e_virtual_keyboard_state_set
537 (imf_context_data->win, ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF);
538#else
539 (void)ctx;
540#endif
541}
542
504#ifdef ENABLE_XIM 543#ifdef ENABLE_XIM
505static unsigned int 544static unsigned int
506_ecore_x_event_reverse_modifiers(unsigned int state) 545_ecore_x_event_reverse_modifiers(unsigned int state)
@@ -739,8 +778,8 @@ static Ecore_IMF_Context_Class xim_class = {
739 .del = _ecore_imf_context_xim_del, 778 .del = _ecore_imf_context_xim_del,
740 .client_window_set = _ecore_imf_context_xim_client_window_set, 779 .client_window_set = _ecore_imf_context_xim_client_window_set,
741 .client_canvas_set = NULL, 780 .client_canvas_set = NULL,
742 .show = NULL, 781 .show = _ecore_imf_context_xim_input_panel_show,
743 .hide = NULL, 782 .hide = _ecore_imf_context_xim_input_panel_hide,
744 .preedit_string_get = _ecore_imf_context_xim_preedit_string_get, 783 .preedit_string_get = _ecore_imf_context_xim_preedit_string_get,
745 .focus_in = _ecore_imf_context_xim_focus_in, 784 .focus_in = _ecore_imf_context_xim_focus_in,
746 .focus_out = _ecore_imf_context_xim_focus_out, 785 .focus_out = _ecore_imf_context_xim_focus_out,
@@ -759,6 +798,11 @@ static Ecore_IMF_Context_Class xim_class = {
759 .input_panel_language_set = NULL, 798 .input_panel_language_set = NULL,
760 .input_panel_language_get = NULL, 799 .input_panel_language_get = NULL,
761 .cursor_location_set = _ecore_imf_context_xim_cursor_location_set, 800 .cursor_location_set = _ecore_imf_context_xim_cursor_location_set,
801 .input_panel_imdata_set = NULL,
802 .input_panel_imdata_get = NULL,
803 .input_panel_return_key_type_set = NULL,
804 .input_panel_return_key_disabled_set = NULL,
805 .input_panel_caps_lock_mode_set = NULL
762}; 806};
763 807
764static Ecore_IMF_Context * 808static Ecore_IMF_Context *
diff --git a/libraries/ecore/src/tests/Makefile.in b/libraries/ecore/src/tests/Makefile.in
index bd7726a..aa799d9 100644
--- a/libraries/ecore/src/tests/Makefile.in
+++ b/libraries/ecore/src/tests/Makefile.in
@@ -53,16 +53,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
53 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 53 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
54 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 54 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
55 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 55 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
56 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 56 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
57 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 57 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
58 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 58 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
59 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 59 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
60 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 60 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
61 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 61 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
62 $(top_srcdir)/configure.ac
63am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 62am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64 $(ACLOCAL_M4) 63 $(ACLOCAL_M4)
65mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 64mkinstalldirs = $(install_sh) -d
66CONFIG_HEADER = $(top_builddir)/config.h 65CONFIG_HEADER = $(top_builddir)/config.h
67CONFIG_CLEAN_FILES = 66CONFIG_CLEAN_FILES =
68CONFIG_CLEAN_VPATH_FILES = 67CONFIG_CLEAN_VPATH_FILES =
@@ -174,6 +173,8 @@ EVAS_LIBS = @EVAS_LIBS@
174EVIL_CFLAGS = @EVIL_CFLAGS@ 173EVIL_CFLAGS = @EVIL_CFLAGS@
175EVIL_LIBS = @EVIL_LIBS@ 174EVIL_LIBS = @EVIL_LIBS@
176EXEEXT = @EXEEXT@ 175EXEEXT = @EXEEXT@
176EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
177EXOTIC_LIBS = @EXOTIC_LIBS@
177FGREP = @FGREP@ 178FGREP = @FGREP@
178GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 179GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
179GLIB_CFLAGS = @GLIB_CFLAGS@ 180GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -229,6 +230,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
229PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 230PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
230PIXMAN_LIBS = @PIXMAN_LIBS@ 231PIXMAN_LIBS = @PIXMAN_LIBS@
231PKG_CONFIG = @PKG_CONFIG@ 232PKG_CONFIG = @PKG_CONFIG@
233PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
234PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
232POSUB = @POSUB@ 235POSUB = @POSUB@
233RANLIB = @RANLIB@ 236RANLIB = @RANLIB@
234SCIM_CFLAGS = @SCIM_CFLAGS@ 237SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -239,6 +242,7 @@ SDL_LIBS = @SDL_LIBS@
239SED = @SED@ 242SED = @SED@
240SET_MAKE = @SET_MAKE@ 243SET_MAKE = @SET_MAKE@
241SHELL = @SHELL@ 244SHELL = @SHELL@
245SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
242SSL_CFLAGS = @SSL_CFLAGS@ 246SSL_CFLAGS = @SSL_CFLAGS@
243SSL_LIBS = @SSL_LIBS@ 247SSL_LIBS = @SSL_LIBS@
244STRIP = @STRIP@ 248STRIP = @STRIP@
diff --git a/libraries/ecore/src/tests/ecore_test_ecore_x.c b/libraries/ecore/src/tests/ecore_test_ecore_x.c
index 4b9e126..2d14ff1 100644
--- a/libraries/ecore/src/tests/ecore_test_ecore_x.c
+++ b/libraries/ecore/src/tests/ecore_test_ecore_x.c
@@ -6,6 +6,10 @@
6 6
7#include "ecore_suite.h" 7#include "ecore_suite.h"
8 8
9/* FIXME: Currently disable these tests. They are useless ATM and they just
10 * make buildbot complain. Once we add useful tests here we'll also bother
11 * with getting X on the server. */
12#undef HAVE_ECORE_X_XLIB
9 13
10/* TODO: change to HAVE_ECORE_X when xcb implementation is done */ 14/* TODO: change to HAVE_ECORE_X when xcb implementation is done */
11#ifdef HAVE_ECORE_X_XLIB 15#ifdef HAVE_ECORE_X_XLIB
diff --git a/libraries/ecore/src/util/Makefile.in b/libraries/ecore/src/util/Makefile.in
index 96cb48a..423c6e0 100644
--- a/libraries/ecore/src/util/Makefile.in
+++ b/libraries/ecore/src/util/Makefile.in
@@ -49,16 +49,15 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \
50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \ 50 $(top_srcdir)/m4/efl_threads.m4 $(top_srcdir)/m4/gettext.m4 \
51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ 51 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
52 $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lib-ld.m4 \ 52 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
53 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 53 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ 54 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ 55 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ 56 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
57 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ 57 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
58 $(top_srcdir)/configure.ac
59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
61mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 60mkinstalldirs = $(install_sh) -d
62CONFIG_HEADER = $(top_builddir)/config.h 61CONFIG_HEADER = $(top_builddir)/config.h
63CONFIG_CLEAN_FILES = 62CONFIG_CLEAN_FILES =
64CONFIG_CLEAN_VPATH_FILES = 63CONFIG_CLEAN_VPATH_FILES =
@@ -163,6 +162,8 @@ EVAS_LIBS = @EVAS_LIBS@
163EVIL_CFLAGS = @EVIL_CFLAGS@ 162EVIL_CFLAGS = @EVIL_CFLAGS@
164EVIL_LIBS = @EVIL_LIBS@ 163EVIL_LIBS = @EVIL_LIBS@
165EXEEXT = @EXEEXT@ 164EXEEXT = @EXEEXT@
165EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
166EXOTIC_LIBS = @EXOTIC_LIBS@
166FGREP = @FGREP@ 167FGREP = @FGREP@
167GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 168GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
168GLIB_CFLAGS = @GLIB_CFLAGS@ 169GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -218,6 +219,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
218PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 219PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
219PIXMAN_LIBS = @PIXMAN_LIBS@ 220PIXMAN_LIBS = @PIXMAN_LIBS@
220PKG_CONFIG = @PKG_CONFIG@ 221PKG_CONFIG = @PKG_CONFIG@
222PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
223PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221POSUB = @POSUB@ 224POSUB = @POSUB@
222RANLIB = @RANLIB@ 225RANLIB = @RANLIB@
223SCIM_CFLAGS = @SCIM_CFLAGS@ 226SCIM_CFLAGS = @SCIM_CFLAGS@
@@ -228,6 +231,7 @@ SDL_LIBS = @SDL_LIBS@
228SED = @SED@ 231SED = @SED@
229SET_MAKE = @SET_MAKE@ 232SET_MAKE = @SET_MAKE@
230SHELL = @SHELL@ 233SHELL = @SHELL@
234SHM_OPEN_LIBS = @SHM_OPEN_LIBS@
231SSL_CFLAGS = @SSL_CFLAGS@ 235SSL_CFLAGS = @SSL_CFLAGS@
232SSL_LIBS = @SSL_LIBS@ 236SSL_LIBS = @SSL_LIBS@
233STRIP = @STRIP@ 237STRIP = @STRIP@
diff --git a/libraries/edje/AUTHORS b/libraries/edje/AUTHORS
index e60e979..893fb07 100644
--- a/libraries/edje/AUTHORS
+++ b/libraries/edje/AUTHORS
@@ -21,3 +21,4 @@ billiob (Boris Faure) <billiob@gmail.com>
21Govindaraju SM <govi.sm@samsung.com> <govism@gmail.com> 21Govindaraju SM <govi.sm@samsung.com> <govism@gmail.com>
22Prince Kumar Dubey <prince.dubey@samsung.com> <prince.dubey@gmail.com> 22Prince Kumar Dubey <prince.dubey@samsung.com> <prince.dubey@gmail.com>
23David Seikel <onefang at gmail.com> 23David Seikel <onefang at gmail.com>
24Mikael Sans <sans.mikael@gmail.com> \ No newline at end of file
diff --git a/libraries/edje/ChangeLog b/libraries/edje/ChangeLog
index ae65d85..87de11e 100644
--- a/libraries/edje/ChangeLog
+++ b/libraries/edje/ChangeLog
@@ -285,3 +285,114 @@
2852012-01-14 Carsten Haitzler (The Rasterman) 2852012-01-14 Carsten Haitzler (The Rasterman)
286 286
287 * Added minmul propery for edje to multiply minimum size during min size calc 287 * Added minmul propery for edje to multiply minimum size during min size calc
288
2892012-01-20 Carsten Haitzler (The Rasterman)
290
291 * Fix the ability to change the edje file source of an edje object
292 inside a callback - it worked but you couldn't swallow/set text etc.
293
2942012-01-03 Tom Hacohen (TAsn)
295
296 * Entry: Added edje_object_part_text_style_user_set/get that'll use
297 the new corresponding textblock functions.
298
2992012-01-23 Cedric Bail
300
301 * Fix overridding group in edje_cc by fixing with the right index.
302
3032012-01-24 Cedric Bail
304
305 * Filter should only be valid once all program affecting there part are done.
306
3072012-01-25 Cedric Bail
308
309 * Only store the image used by active group.
310
3112012-01-26 Cedric Bail
312
313 * Add min: SOURCE, max: SOURCE.
314
3152012-02-03 Jihoon Kim
316
317 * Entry: Fix to work edje_object_part_text_input_panel_enabled_set/get well
318 even though ecore_imf doesn't exist or immodule isn't used.
319
3202012-02-07 WooHyun Jung
321
322 * Added edje_object_markup_filter_callback_{add,del,del_full}.
323 These let you append(delete) markup filter functions for filtering
324 inserted text.
325
3262012-02-08 Cedric Bail
327
328 * Fix bug when using EDJE_CALC_CACHE and using relative to x and y
329 on separate part.
330 * Fix bug with filter preventing any action to be triggered.
331
3322012-02-10 Cedric Bail
333
334 * Prevent propagation of signal, when there is a matching target with edje GROUP.
335
3362012-02-13 Jihoon Kim
337
338 * add edje_object_part_text_input_panel_show/hide.
339 These APIs can be used in input panel manual control mode.
340 * add edje_object_part_text_imf_context_reset that will use
341 for reseting the input method context.
342
3432012-02-14 Jihoon Kim
344
345 * add edje_object_part_text_prediction_allow_set/get.
346 These APIs can be used to set whether prediction feature is allowed or not.
347
3482012-02-14 Cedric Bail
349
350 * add a way to disable signal broadcasting introduced in edje 1.1.
351
3522012-02-15 Jihoon Kim
353
354 * add edje_object_part_text_input_panel_language_set/get
355 edje_object_part_text_input_panel_imdata_set/get
356 edje_object_part_text_input_panel_return_key_type_set/get
357 edje_object_part_text_input_panel_return_key_disabled_set/get
358
3592012-02-20 WooHyun Jung
360
361 * Change API names from edje_object_markup_filter_callback_{add,del,del_full}.
362 to edje_object_text_markup_filter_callback_{add,del,del_full}.
363
3642012-02-24 Jihoon Kim
365
366 * add edje_object_part_text_imf_context_get for getting Ecore_IMF_Context handle in edje text object
367
3682012-02-29 Tom Hacohen (TAsn)
369
370 * Entry: Added edje_object_part_text_user_insert.
371 This function inserts text as if the user has inserted it.
372 This means it actually registers as a change and etc.
373
3742012-03-06 Mikael Sans (XHeLL)
375
376 * Entry: Added double click and triple click.
377 Double click selects a word.
378 Triple click selects a line.
379
3802012-03-07 Tom Hacohen (TAsn)
381
382 * Entry: Replaced edje_object_part_text_style_user_set/get
383 with edje_object_part_text_style_user_set/get to correspond to
384 textblock's recent changes.
385
3862012-03-07 Cedric Bail
387
388 * Correctly count and propagate preload signal with GROUP.
389 * Fix rotation with fixed point.
390
3912012-03-11 Cedric Bail
392
393 * Propagate scale factor to GROUP's part.
394
3952012-03-12 Cedric Bail
396
397 * Make it possible for edje to update size hint automatically.
398 * Add min: SOURCE to GROUP's part.
diff --git a/libraries/edje/Makefile.in b/libraries/edje/Makefile.in
index b63286c..2666156 100644
--- a/libraries/edje/Makefile.in
+++ b/libraries/edje/Makefile.in
@@ -236,6 +236,8 @@ PACKAGE_URL = @PACKAGE_URL@
236PACKAGE_VERSION = @PACKAGE_VERSION@ 236PACKAGE_VERSION = @PACKAGE_VERSION@
237PATH_SEPARATOR = @PATH_SEPARATOR@ 237PATH_SEPARATOR = @PATH_SEPARATOR@
238PKG_CONFIG = @PKG_CONFIG@ 238PKG_CONFIG = @PKG_CONFIG@
239PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
240PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
239PYTHON = @PYTHON@ 241PYTHON = @PYTHON@
240PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 242PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
241PYTHON_PLATFORM = @PYTHON_PLATFORM@ 243PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/NEWS b/libraries/edje/NEWS
index bf529dc..3f6dbe9 100644
--- a/libraries/edje/NEWS
+++ b/libraries/edje/NEWS
@@ -5,10 +5,15 @@ Changes since Edje 1.1.0:
5 5
6Additions: 6Additions:
7 7
8 * "recalc" smart callback for object size changes 8 * "recalc" smart callback for object size changes.
9 * EDJE_ASPECT_PREFER_SOURCE. 9 * EDJE_ASPECT_PREFER_SOURCE.
10 * edje.version() Lua function. 10 * edje.version() Lua function.
11 * minmul edc property 11 * minmul edc property.
12 * add min: SOURCE and max: SOURCE to IMAGE and GROUP parts.
13 * add edje_object_markup_filter_callback_add/del/delfull().
14 * add broadcast_signal: bool.
15 * add edje_object_part_text_imf_context_get()
16 * add edje_object_update_hints_set() and edje_object_update_hints_get()
12 17
13Improvements: 18Improvements:
14 * speedup load time of Edje file. 19 * speedup load time of Edje file.
@@ -16,6 +21,12 @@ Improvements:
16 * reduce number of call to stat during edje_object_file_set. 21 * reduce number of call to stat during edje_object_file_set.
17 * unswallow object about to be swallowed if necessary. 22 * unswallow object about to be swallowed if necessary.
18 * Lua scripts now more resilient against API changes. 23 * Lua scripts now more resilient against API changes.
24 * edje_cc only store the image activelly used in an edje file.
25
26Fixes:
27 * Correctly count and propagate preload signal with GROUP.
28 * Fix rotation with fixed point.
29 * Correctly propagate scale factor to GROUP.
19 30
20Changes since Edje 1.0.0: 31Changes since Edje 1.0.0:
21------------------------- 32-------------------------
diff --git a/libraries/edje/README b/libraries/edje/README
index 3cf9a65..9af4e36 100644
--- a/libraries/edje/README
+++ b/libraries/edje/README
@@ -1,4 +1,4 @@
1Edje 1.1.0 1Edje 1.2.0
2 2
3****************************************************************************** 3******************************************************************************
4 4
@@ -12,7 +12,6 @@ Requirements:
12 12
13Must: 13Must:
14 libc 14 libc
15 libm
16 eet (at least 1.5.0) 15 eet (at least 1.5.0)
17 ecore (at least 1.1.0) 16 ecore (at least 1.1.0)
18 ecore-evas (at least 1.1.0) 17 ecore-evas (at least 1.1.0)
diff --git a/libraries/edje/aclocal.m4 b/libraries/edje/aclocal.m4
index a809f4b..23ca0ef 100644
--- a/libraries/edje/aclocal.m4
+++ b/libraries/edje/aclocal.m4
@@ -13,13 +13,14 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23# serial 1 (pkg-config-0.24)
23# 24#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 25# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25# 26#
@@ -47,7 +48,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
47AC_DEFUN([PKG_PROG_PKG_CONFIG], 48AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 49[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 50m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 51AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
54
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 55if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 56 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi 57fi
@@ -60,7 +64,6 @@ if test -n "$PKG_CONFIG"; then
60 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
61 PKG_CONFIG="" 65 PKG_CONFIG=""
62 fi 66 fi
63
64fi[]dnl 67fi[]dnl
65])# PKG_PROG_PKG_CONFIG 68])# PKG_PROG_PKG_CONFIG
66 69
@@ -69,34 +72,31 @@ fi[]dnl
69# Check to see whether a particular set of modules exists. Similar 72# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors. 73# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71# 74#
72# 75# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of 76# only at the first occurence in configure.ac, so if the first place
74# this or PKG_CHECK_MODULES is called, or make sure to call 77# it's called might be skipped (such as if it is within an "if", you
75# PKG_CHECK_EXISTS manually 78# have to call PKG_CHECK_EXISTS manually
76# -------------------------------------------------------------- 79# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS], 80AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 81[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \ 82if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 83 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:]) 84 m4_default([$2], [:])
82m4_ifvaln([$3], [else 85m4_ifvaln([$3], [else
83 $3])dnl 86 $3])dnl
84fi]) 87fi])
85 88
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 89# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# --------------------------------------------- 90# ---------------------------------------------
89m4_define([_PKG_CONFIG], 91m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then 92[if test -n "$$1"; then
91 if test -n "$$1"; then 93 pkg_cv_[]$1="$$1"
92 pkg_cv_[]$1="$$1" 94 elif test -n "$PKG_CONFIG"; then
93 else 95 PKG_CHECK_EXISTS([$3],
94 PKG_CHECK_EXISTS([$3], 96 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 97 [pkg_failed=yes])
96 [pkg_failed=yes]) 98 else
97 fi 99 pkg_failed=untried
98else
99 pkg_failed=untried
100fi[]dnl 100fi[]dnl
101])# _PKG_CONFIG 101])# _PKG_CONFIG
102 102
@@ -138,16 +138,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.]) 138See the pkg-config man page for more details.])
139 139
140if test $pkg_failed = yes; then 140if test $pkg_failed = yes; then
141 AC_MSG_RESULT([no])
141 _PKG_SHORT_ERRORS_SUPPORTED 142 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then 143 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 144 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
144 else 145 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 146 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
146 fi 147 fi
147 # Put the nasty error message in config.log where it belongs 148 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 149 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149 150
150 ifelse([$4], , [AC_MSG_ERROR(dnl 151 m4_default([$4], [AC_MSG_ERROR(
151[Package requirements ($2) were not met: 152[Package requirements ($2) were not met:
152 153
153$$1_PKG_ERRORS 154$$1_PKG_ERRORS
@@ -155,25 +156,24 @@ $$1_PKG_ERRORS
155Consider adjusting the PKG_CONFIG_PATH environment variable if you 156Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix. 157installed software in a non-standard prefix.
157 158
158_PKG_TEXT 159_PKG_TEXT])[]dnl
159])], 160 ])
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then 161elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl 162 AC_MSG_RESULT([no])
163 m4_default([$4], [AC_MSG_FAILURE(
164[The pkg-config script could not be found or is too old. Make sure it 164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full 165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config. 166path to pkg-config.
167 167
168_PKG_TEXT 168_PKG_TEXT
169 169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
171 [$4]) 171 ])
172else 172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes]) 175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3]) 176 $3
177fi[]dnl 177fi[]dnl
178])# PKG_CHECK_MODULES 178])# PKG_CHECK_MODULES
179 179
@@ -968,7 +968,7 @@ AC_DEFUN([AM_PATH_PYTHON],
968 dnl Find a Python interpreter. Python versions prior to 2.0 are not 968 dnl Find a Python interpreter. Python versions prior to 2.0 are not
969 dnl supported. (2.0 was released on October 16, 2000). 969 dnl supported. (2.0 was released on October 16, 2000).
970 m4_define_default([_AM_PYTHON_INTERPRETER_LIST], 970 m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
971 [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl 971 [python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
972python2.1 python2.0]) 972python2.1 python2.0])
973 973
974 m4_if([$1],[],[ 974 m4_if([$1],[],[
diff --git a/libraries/edje/config.guess b/libraries/edje/config.guess
index e3a2116..c2246a4 100755
--- a/libraries/edje/config.guess
+++ b/libraries/edje/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-10' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
27# the same distribution terms that you use for the rest of that program. 27# the same distribution terms that you use for the rest of that program.
28 28
29 29
30# Originally written by Per Bothner <per@bothner.com>. 30# Originally written by Per Bothner. Please send patches (context
31# Please send patches to <config-patches@gnu.org>. Submit a context 31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# diff and a properly formatted ChangeLog entry. 32# entry.
33# 33#
34# This script attempts to guess a canonical system name similar to 34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and 35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1. 36# exits with 0. Otherwise, it exits with 1.
37# 37#
38# The plan is that this can be called by configure scripts if you 38# You can get the latest version of this script from:
39# don't specify an explicit build system type. 39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40 40
41me=`echo "$0" | sed -e 's,.*/,,'` 41me=`echo "$0" | sed -e 's,.*/,,'`
42 42
@@ -56,8 +56,9 @@ version="\
56GNU config.guess ($timestamp) 56GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
61 62
62This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
333 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
336 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 eval $set_cc_for_build 341 eval $set_cc_for_build
338 SUN_ARCH="i386" 342 SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
807 i*:PW*:*) 811 i*:PW*:*)
808 echo ${UNAME_MACHINE}-pc-pw32 812 echo ${UNAME_MACHINE}-pc-pw32
809 exit ;; 813 exit ;;
810 *:Interix*:[3456]*) 814 *:Interix*:*)
811 case ${UNAME_MACHINE} in 815 case ${UNAME_MACHINE} in
812 x86) 816 x86)
813 echo i586-pc-interix${UNAME_RELEASE} 817 echo i586-pc-interix${UNAME_RELEASE}
814 exit ;; 818 exit ;;
815 EM64T | authenticamd | genuineintel) 819 authenticamd | genuineintel | EM64T)
816 echo x86_64-unknown-interix${UNAME_RELEASE} 820 echo x86_64-unknown-interix${UNAME_RELEASE}
817 exit ;; 821 exit ;;
818 IA64) 822 IA64)
@@ -854,6 +858,20 @@ EOF
854 i*86:Minix:*:*) 858 i*86:Minix:*:*)
855 echo ${UNAME_MACHINE}-pc-minix 859 echo ${UNAME_MACHINE}-pc-minix
856 exit ;; 860 exit ;;
861 alpha:Linux:*:*)
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
863 EV5) UNAME_MACHINE=alphaev5 ;;
864 EV56) UNAME_MACHINE=alphaev56 ;;
865 PCA56) UNAME_MACHINE=alphapca56 ;;
866 PCA57) UNAME_MACHINE=alphapca56 ;;
867 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
874 exit ;;
857 arm*:Linux:*:*) 875 arm*:Linux:*:*)
858 eval $set_cc_for_build 876 eval $set_cc_for_build
859 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 877 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
876 frv:Linux:*:*) 894 frv:Linux:*:*)
877 echo frv-unknown-linux-gnu 895 echo frv-unknown-linux-gnu
878 exit ;; 896 exit ;;
897 i*86:Linux:*:*)
898 LIBC=gnu
899 eval $set_cc_for_build
900 sed 's/^ //' << EOF >$dummy.c
901 #ifdef __dietlibc__
902 LIBC=dietlibc
903 #endif
904EOF
905 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
906 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
907 exit ;;
879 ia64:Linux:*:*) 908 ia64:Linux:*:*)
880 echo ${UNAME_MACHINE}-unknown-linux-gnu 909 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 exit ;; 910 exit ;;
@@ -901,39 +930,18 @@ EOF
901 #endif 930 #endif
902 #endif 931 #endif
903EOF 932EOF
904 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 933 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
905 /^CPU/{
906 s: ::g
907 p
908 }'`"
909 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 934 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910 ;; 935 ;;
911 or32:Linux:*:*) 936 or32:Linux:*:*)
912 echo or32-unknown-linux-gnu 937 echo or32-unknown-linux-gnu
913 exit ;; 938 exit ;;
914 ppc:Linux:*:*)
915 echo powerpc-unknown-linux-gnu
916 exit ;;
917 ppc64:Linux:*:*)
918 echo powerpc64-unknown-linux-gnu
919 exit ;;
920 alpha:Linux:*:*)
921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922 EV5) UNAME_MACHINE=alphaev5 ;;
923 EV56) UNAME_MACHINE=alphaev56 ;;
924 PCA56) UNAME_MACHINE=alphapca56 ;;
925 PCA57) UNAME_MACHINE=alphapca56 ;;
926 EV6) UNAME_MACHINE=alphaev6 ;;
927 EV67) UNAME_MACHINE=alphaev67 ;;
928 EV68*) UNAME_MACHINE=alphaev68 ;;
929 esac
930 objdump --private-headers /bin/sh | grep -q ld.so.1
931 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 exit ;;
934 padre:Linux:*:*) 939 padre:Linux:*:*)
935 echo sparc-unknown-linux-gnu 940 echo sparc-unknown-linux-gnu
936 exit ;; 941 exit ;;
942 parisc64:Linux:*:* | hppa64:Linux:*:*)
943 echo hppa64-unknown-linux-gnu
944 exit ;;
937 parisc:Linux:*:* | hppa:Linux:*:*) 945 parisc:Linux:*:* | hppa:Linux:*:*)
938 # Look for CPU level 946 # Look for CPU level
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
942 *) echo hppa-unknown-linux-gnu ;; 950 *) echo hppa-unknown-linux-gnu ;;
943 esac 951 esac
944 exit ;; 952 exit ;;
945 parisc64:Linux:*:* | hppa64:Linux:*:*) 953 ppc64:Linux:*:*)
946 echo hppa64-unknown-linux-gnu 954 echo powerpc64-unknown-linux-gnu
955 exit ;;
956 ppc:Linux:*:*)
957 echo powerpc-unknown-linux-gnu
947 exit ;; 958 exit ;;
948 s390:Linux:*:* | s390x:Linux:*:*) 959 s390:Linux:*:* | s390x:Linux:*:*)
949 echo ${UNAME_MACHINE}-ibm-linux 960 echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
966 xtensa*:Linux:*:*) 977 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 echo ${UNAME_MACHINE}-unknown-linux-gnu
968 exit ;; 979 exit ;;
969 i*86:Linux:*:*)
970 # The BFD linker knows what the default object file format is, so
971 # first see if it will tell us. cd to the root directory to prevent
972 # problems with other programs or directories called `ld' in the path.
973 # Set LC_ALL=C to ensure ld outputs messages in English.
974 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
975 | sed -ne '/supported targets:/!d
976 s/[ ][ ]*/ /g
977 s/.*supported targets: *//
978 s/ .*//
979 p'`
980 case "$ld_supported_targets" in
981 elf32-i386)
982 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 ;;
984 esac
985 # Determine whether the default compiler is a.out or elf
986 eval $set_cc_for_build
987 sed 's/^ //' << EOF >$dummy.c
988 #include <features.h>
989 #ifdef __ELF__
990 # ifdef __GLIBC__
991 # if __GLIBC__ >= 2
992 LIBC=gnu
993 # else
994 LIBC=gnulibc1
995 # endif
996 # else
997 LIBC=gnulibc1
998 # endif
999 #else
1000 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1001 LIBC=gnu
1002 #else
1003 LIBC=gnuaout
1004 #endif
1005 #endif
1006 #ifdef __dietlibc__
1007 LIBC=dietlibc
1008 #endif
1009EOF
1010 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1011 /^LIBC/{
1012 s: ::g
1013 p
1014 }'`"
1015 test x"${LIBC}" != x && {
1016 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1017 exit
1018 }
1019 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1020 ;;
1021 i*86:DYNIX/ptx:4*:*) 980 i*86:DYNIX/ptx:4*:*)
1022 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023 # earlier versions are messed up and put the nodename in both 982 # earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
1247 *:Darwin:*:*) 1206 *:Darwin:*:*)
1248 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1207 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249 case $UNAME_PROCESSOR in 1208 case $UNAME_PROCESSOR in
1209 i386)
1210 eval $set_cc_for_build
1211 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1212 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1213 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1214 grep IS_64BIT_ARCH >/dev/null
1215 then
1216 UNAME_PROCESSOR="x86_64"
1217 fi
1218 fi ;;
1250 unknown) UNAME_PROCESSOR=powerpc ;; 1219 unknown) UNAME_PROCESSOR=powerpc ;;
1251 esac 1220 esac
1252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/libraries/edje/config.sub b/libraries/edje/config.sub
index eb0389a..c2d1257 100755
--- a/libraries/edje/config.sub
+++ b/libraries/edje/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-11' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 39# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 40# Otherwise, we print the canonical config type on stdout and succeed.
41 41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
153 os= 157 os=
154 basic_machine=$1 158 basic_machine=$1
155 ;; 159 ;;
@@ -284,6 +288,7 @@ case $basic_machine in
284 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
285 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286 | pyramid \ 290 | pyramid \
291 | rx \
287 | score \ 292 | score \
288 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289 | sh64 | sh64le \ 294 | sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
291 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292 | spu | strongarm \ 297 | spu | strongarm \
293 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
294 | v850 | v850e \ 300 | v850 | v850e \
295 | we32k \ 301 | we32k \
296 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297 | z8k | z80) 303 | z8k | z80)
298 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
299 ;; 305 ;;
300 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
302 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
303 os=-none 309 os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
340 | lm32-* \ 346 | lm32-* \
341 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
342 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345 | mips16-* \ 351 | mips16-* \
346 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
368 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370 | pyramid-* \ 376 | pyramid-* \
371 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
372 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375 | sparclite-* \ 381 | sparclite-* \
376 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
378 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
379 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
380 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
381 | we32k-* \ 389 | we32k-* \
382 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
726 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
727 os=-sysv 735 os=-sysv
728 ;; 736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
739 ;;
729 mingw32) 740 mingw32)
730 basic_machine=i386-pc 741 basic_machine=i386-pc
731 os=-mingw32 742 os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
1076 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1077 os=-coff 1088 os=-coff
1078 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1079 tile*) 1095 tile*)
1080 basic_machine=tile-unknown 1096 basic_machine=tile-unknown
1081 os=-linux-gnu 1097 os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
1247 # First match some system type aliases 1263 # First match some system type aliases
1248 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1249 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1250 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1251 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252 ;; 1271 ;;
@@ -1268,8 +1287,8 @@ case $os in
1268 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1269 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1272 | -kopensolaris* \ 1291 | -sym* | -kopensolaris* \
1273 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274 | -aos* | -aros* \ 1293 | -aos* | -aros* \
1275 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
1290 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1295 ;; 1314 ;;
1296 -qnx*) 1315 -qnx*)
@@ -1423,6 +1442,8 @@ case $os in
1423 -dicos*) 1442 -dicos*)
1424 os=-dicos 1443 os=-dicos
1425 ;; 1444 ;;
1445 -nacl*)
1446 ;;
1426 -none) 1447 -none)
1427 ;; 1448 ;;
1428 *) 1449 *)
diff --git a/libraries/edje/configure b/libraries/edje/configure
index c763308..aafa1b0 100755
--- a/libraries/edje/configure
+++ b/libraries/edje/configure
@@ -1,13 +1,13 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for edje 1.1.99.67344. 3# Generated by GNU Autoconf 2.67 for edje 1.2.0-alpha.
4# 4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>. 5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@ $as_echo X"$as_dir" |
319 test -d "$as_dir" && break 319 test -d "$as_dir" && break
320 done 320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 323
324 324
325} # as_fn_mkdir_p 325} # as_fn_mkdir_p
@@ -359,19 +359,19 @@ else
359fi # as_fn_arith 359fi # as_fn_arith
360 360
361 361
362# as_fn_error ERROR [LINENO LOG_FD] 362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 366# script with STATUS, using 1 if that was 0.
367as_fn_error () 367as_fn_error ()
368{ 368{
369 as_status=$?; test $as_status -eq 0 && as_status=1 369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 370 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 373 fi
374 $as_echo "$as_me: error: $1" >&2 374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 375 as_fn_exit $as_status
376} # as_fn_error 376} # as_fn_error
377 377
@@ -682,7 +682,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1 682exec 6>&1
683 683
684# Name of the host. 684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too. 686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688 688
@@ -701,8 +701,8 @@ MAKEFLAGS=
701# Identity of this package. 701# Identity of this package.
702PACKAGE_NAME='edje' 702PACKAGE_NAME='edje'
703PACKAGE_TARNAME='edje' 703PACKAGE_TARNAME='edje'
704PACKAGE_VERSION='1.1.99.67344' 704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='edje 1.1.99.67344' 705PACKAGE_STRING='edje 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' 706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL='' 707PACKAGE_URL=''
708 708
@@ -750,7 +750,6 @@ LIBOBJS
750requirement_edje 750requirement_edje
751BUILD_EXAMPLES_FALSE 751BUILD_EXAMPLES_FALSE
752BUILD_EXAMPLES_TRUE 752BUILD_EXAMPLES_TRUE
753edje_cc
754EFL_ENABLE_COVERAGE_FALSE 753EFL_ENABLE_COVERAGE_FALSE
755EFL_ENABLE_COVERAGE_TRUE 754EFL_ENABLE_COVERAGE_TRUE
756EFL_COVERAGE_LIBS 755EFL_COVERAGE_LIBS
@@ -806,6 +805,8 @@ EFL_EDJE_BUILD
806EVIL_LIBS 805EVIL_LIBS
807EVIL_CFLAGS 806EVIL_CFLAGS
808pkgconfig_requires_private 807pkgconfig_requires_private
808PKG_CONFIG_LIBDIR
809PKG_CONFIG_PATH
809PKG_CONFIG 810PKG_CONFIG
810HAVE_PYTHON_FALSE 811HAVE_PYTHON_FALSE
811HAVE_PYTHON_TRUE 812HAVE_PYTHON_TRUE
@@ -847,6 +848,7 @@ EDJE_DECC_PRG
847BUILD_EDJE_CC_FALSE 848BUILD_EDJE_CC_FALSE
848BUILD_EDJE_CC_TRUE 849BUILD_EDJE_CC_TRUE
849EDJE_CC_PRG 850EDJE_CC_PRG
851edje_cc
850EDJE_AMALGAMATION_FALSE 852EDJE_AMALGAMATION_FALSE
851EDJE_AMALGAMATION_TRUE 853EDJE_AMALGAMATION_TRUE
852MODULE_ARCH 854MODULE_ARCH
@@ -974,6 +976,7 @@ enable_dependency_tracking
974with_gnu_ld 976with_gnu_ld
975enable_libtool_lock 977enable_libtool_lock
976enable_amalgamation 978enable_amalgamation
979with_edje_cc
977enable_edje_cc 980enable_edje_cc
978enable_edje_decc 981enable_edje_decc
979enable_edje_recc 982enable_edje_recc
@@ -1005,6 +1008,8 @@ LIBS
1005CPPFLAGS 1008CPPFLAGS
1006CPP 1009CPP
1007PKG_CONFIG 1010PKG_CONFIG
1011PKG_CONFIG_PATH
1012PKG_CONFIG_LIBDIR
1008EVIL_CFLAGS 1013EVIL_CFLAGS
1009EVIL_LIBS 1014EVIL_LIBS
1010LUA_CFLAGS 1015LUA_CFLAGS
@@ -1099,8 +1104,9 @@ do
1099 fi 1104 fi
1100 1105
1101 case $ac_option in 1106 case $ac_option in
1102 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1107 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1103 *) ac_optarg=yes ;; 1108 *=) ac_optarg= ;;
1109 *) ac_optarg=yes ;;
1104 esac 1110 esac
1105 1111
1106 # Accept the important Cygnus configure options, so we can diagnose typos. 1112 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1145,7 +1151,7 @@ do
1145 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1151 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1146 # Reject names that are not valid shell variable names. 1152 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1148 as_fn_error "invalid feature name: $ac_useropt" 1154 as_fn_error $? "invalid feature name: $ac_useropt"
1149 ac_useropt_orig=$ac_useropt 1155 ac_useropt_orig=$ac_useropt
1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in 1157 case $ac_user_opts in
@@ -1171,7 +1177,7 @@ do
1171 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1177 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names. 1178 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error "invalid feature name: $ac_useropt" 1180 as_fn_error $? "invalid feature name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt 1181 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in 1183 case $ac_user_opts in
@@ -1375,7 +1381,7 @@ do
1375 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1381 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1376 # Reject names that are not valid shell variable names. 1382 # Reject names that are not valid shell variable names.
1377 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1383 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1378 as_fn_error "invalid package name: $ac_useropt" 1384 as_fn_error $? "invalid package name: $ac_useropt"
1379 ac_useropt_orig=$ac_useropt 1385 ac_useropt_orig=$ac_useropt
1380 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1386 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1381 case $ac_user_opts in 1387 case $ac_user_opts in
@@ -1391,7 +1397,7 @@ do
1391 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1397 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1392 # Reject names that are not valid shell variable names. 1398 # Reject names that are not valid shell variable names.
1393 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1399 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1394 as_fn_error "invalid package name: $ac_useropt" 1400 as_fn_error $? "invalid package name: $ac_useropt"
1395 ac_useropt_orig=$ac_useropt 1401 ac_useropt_orig=$ac_useropt
1396 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1402 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1397 case $ac_user_opts in 1403 case $ac_user_opts in
@@ -1421,8 +1427,8 @@ do
1421 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1427 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1422 x_libraries=$ac_optarg ;; 1428 x_libraries=$ac_optarg ;;
1423 1429
1424 -*) as_fn_error "unrecognized option: \`$ac_option' 1430 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1425Try \`$0 --help' for more information." 1431Try \`$0 --help' for more information"
1426 ;; 1432 ;;
1427 1433
1428 *=*) 1434 *=*)
@@ -1430,7 +1436,7 @@ Try \`$0 --help' for more information."
1430 # Reject names that are not valid shell variable names. 1436 # Reject names that are not valid shell variable names.
1431 case $ac_envvar in #( 1437 case $ac_envvar in #(
1432 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1438 '' | [0-9]* | *[!_$as_cr_alnum]* )
1433 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1439 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1434 esac 1440 esac
1435 eval $ac_envvar=\$ac_optarg 1441 eval $ac_envvar=\$ac_optarg
1436 export $ac_envvar ;; 1442 export $ac_envvar ;;
@@ -1448,13 +1454,13 @@ done
1448 1454
1449if test -n "$ac_prev"; then 1455if test -n "$ac_prev"; then
1450 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1456 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1451 as_fn_error "missing argument to $ac_option" 1457 as_fn_error $? "missing argument to $ac_option"
1452fi 1458fi
1453 1459
1454if test -n "$ac_unrecognized_opts"; then 1460if test -n "$ac_unrecognized_opts"; then
1455 case $enable_option_checking in 1461 case $enable_option_checking in
1456 no) ;; 1462 no) ;;
1457 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1463 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1458 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1464 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1459 esac 1465 esac
1460fi 1466fi
@@ -1477,7 +1483,7 @@ do
1477 [\\/$]* | ?:[\\/]* ) continue;; 1483 [\\/$]* | ?:[\\/]* ) continue;;
1478 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1484 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1479 esac 1485 esac
1480 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1486 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1481done 1487done
1482 1488
1483# There might be people who depend on the old broken behavior: `$host' 1489# There might be people who depend on the old broken behavior: `$host'
@@ -1491,8 +1497,8 @@ target=$target_alias
1491if test "x$host_alias" != x; then 1497if test "x$host_alias" != x; then
1492 if test "x$build_alias" = x; then 1498 if test "x$build_alias" = x; then
1493 cross_compiling=maybe 1499 cross_compiling=maybe
1494 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1500 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1495 If a cross compiler is detected then cross compile mode will be used." >&2 1501 If a cross compiler is detected then cross compile mode will be used" >&2
1496 elif test "x$build_alias" != "x$host_alias"; then 1502 elif test "x$build_alias" != "x$host_alias"; then
1497 cross_compiling=yes 1503 cross_compiling=yes
1498 fi 1504 fi
@@ -1507,9 +1513,9 @@ test "$silent" = yes && exec 6>/dev/null
1507ac_pwd=`pwd` && test -n "$ac_pwd" && 1513ac_pwd=`pwd` && test -n "$ac_pwd" &&
1508ac_ls_di=`ls -di .` && 1514ac_ls_di=`ls -di .` &&
1509ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1515ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1510 as_fn_error "working directory cannot be determined" 1516 as_fn_error $? "working directory cannot be determined"
1511test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1517test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1512 as_fn_error "pwd does not report name of working directory" 1518 as_fn_error $? "pwd does not report name of working directory"
1513 1519
1514 1520
1515# Find the source files, if location was not specified. 1521# Find the source files, if location was not specified.
@@ -1548,11 +1554,11 @@ else
1548fi 1554fi
1549if test ! -r "$srcdir/$ac_unique_file"; then 1555if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1556 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1557 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1552fi 1558fi
1553ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1559ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1554ac_abs_confdir=`( 1560ac_abs_confdir=`(
1555 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1561 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1556 pwd)` 1562 pwd)`
1557# When building in place, set srcdir=. 1563# When building in place, set srcdir=.
1558if test "$ac_abs_confdir" = "$ac_pwd"; then 1564if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1578,7 +1584,7 @@ if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing. 1584 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh. 1585 # This message is too long to be a string in the A/UX 3.1 sh.
1580 cat <<_ACEOF 1586 cat <<_ACEOF
1581\`configure' configures edje 1.1.99.67344 to adapt to many kinds of systems. 1587\`configure' configures edje 1.2.0-alpha to adapt to many kinds of systems.
1582 1588
1583Usage: $0 [OPTION]... [VAR=VALUE]... 1589Usage: $0 [OPTION]... [VAR=VALUE]...
1584 1590
@@ -1592,7 +1598,7 @@ Configuration:
1592 --help=short display options specific to this package 1598 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages 1599 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit 1600 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages 1601 -q, --quiet, --silent do not print \`checking ...' messages
1596 --cache-file=FILE cache test results in FILE [disabled] 1602 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache' 1603 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files 1604 -n, --no-create do not create output files
@@ -1648,7 +1654,7 @@ fi
1648 1654
1649if test -n "$ac_init_help"; then 1655if test -n "$ac_init_help"; then
1650 case $ac_init_help in 1656 case $ac_init_help in
1651 short | recursive ) echo "Configuration of edje 1.1.99.67344:";; 1657 short | recursive ) echo "Configuration of edje 1.2.0-alpha:";;
1652 esac 1658 esac
1653 cat <<\_ACEOF 1659 cat <<\_ACEOF
1654 1660
@@ -1705,6 +1711,7 @@ Optional Packages:
1705 --with-pic try to use only PIC/non-PIC objects [default=use 1711 --with-pic try to use only PIC/non-PIC objects [default=use
1706 both] 1712 both]
1707 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1713 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1714 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1708 --with-vim=DIR Location of Vim data files [[autodetect]] 1715 --with-vim=DIR Location of Vim data files [[autodetect]]
1709 --with-doxygen=FILE doxygen program to use [default=doxygen] 1716 --with-doxygen=FILE doxygen program to use [default=doxygen]
1710 1717
@@ -1718,6 +1725,10 @@ Some influential environment variables:
1718 you have headers in a nonstandard directory <include dir> 1725 you have headers in a nonstandard directory <include dir>
1719 CPP C preprocessor 1726 CPP C preprocessor
1720 PKG_CONFIG path to pkg-config utility 1727 PKG_CONFIG path to pkg-config utility
1728 PKG_CONFIG_PATH
1729 directories to add to pkg-config's search path
1730 PKG_CONFIG_LIBDIR
1731 path overriding pkg-config's built-in search path
1721 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config 1732 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1722 EVIL_LIBS linker flags for EVIL, overriding pkg-config 1733 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1723 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config 1734 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
@@ -1838,10 +1849,10 @@ fi
1838test -n "$ac_init_help" && exit $ac_status 1849test -n "$ac_init_help" && exit $ac_status
1839if $ac_init_version; then 1850if $ac_init_version; then
1840 cat <<\_ACEOF 1851 cat <<\_ACEOF
1841edje configure 1.1.99.67344 1852edje configure 1.2.0-alpha
1842generated by GNU Autoconf 2.65 1853generated by GNU Autoconf 2.67
1843 1854
1844Copyright (C) 2009 Free Software Foundation, Inc. 1855Copyright (C) 2010 Free Software Foundation, Inc.
1845This configure script is free software; the Free Software Foundation 1856This configure script is free software; the Free Software Foundation
1846gives unlimited permission to copy, distribute and modify it. 1857gives unlimited permission to copy, distribute and modify it.
1847_ACEOF 1858_ACEOF
@@ -1945,7 +1956,7 @@ ac_fn_c_check_header_compile ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947$as_echo_n "checking for $2... " >&6; } 1958$as_echo_n "checking for $2... " >&6; }
1948if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1959if eval "test \"\${$3+set}\"" = set; then :
1949 $as_echo_n "(cached) " >&6 1960 $as_echo_n "(cached) " >&6
1950else 1961else
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1988,7 +1999,7 @@ $as_echo "$ac_try_echo"; } >&5
1988 mv -f conftest.er1 conftest.err 1999 mv -f conftest.er1 conftest.err
1989 fi 2000 fi
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } >/dev/null && { 2002 test $ac_status = 0; } > conftest.i && {
1992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1993 test ! -s conftest.err 2004 test ! -s conftest.err
1994 }; then : 2005 }; then :
@@ -2054,7 +2065,7 @@ ac_fn_c_check_func ()
2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056$as_echo_n "checking for $2... " >&6; } 2067$as_echo_n "checking for $2... " >&6; }
2057if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2068if eval "test \"\${$3+set}\"" = set; then :
2058 $as_echo_n "(cached) " >&6 2069 $as_echo_n "(cached) " >&6
2059else 2070else
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2121,10 +2132,10 @@ $as_echo "$ac_res" >&6; }
2121ac_fn_c_check_header_mongrel () 2132ac_fn_c_check_header_mongrel ()
2122{ 2133{
2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2135 if eval "test \"\${$3+set}\"" = set; then :
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126$as_echo_n "checking for $2... " >&6; } 2137$as_echo_n "checking for $2... " >&6; }
2127if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2138if eval "test \"\${$3+set}\"" = set; then :
2128 $as_echo_n "(cached) " >&6 2139 $as_echo_n "(cached) " >&6
2129fi 2140fi
2130eval ac_res=\$$3 2141eval ac_res=\$$3
@@ -2160,7 +2171,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
2160else 2171else
2161 ac_header_preproc=no 2172 ac_header_preproc=no
2162fi 2173fi
2163rm -f conftest.err conftest.$ac_ext 2174rm -f conftest.err conftest.i conftest.$ac_ext
2164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2165$as_echo "$ac_header_preproc" >&6; } 2176$as_echo "$ac_header_preproc" >&6; }
2166 2177
@@ -2183,17 +2194,15 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2183$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2194$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2185$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2196$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2186( cat <<\_ASBOX 2197( $as_echo "## -------------------------------------------------------- ##
2187## -------------------------------------------------------- ##
2188## Report this to enlightenment-devel@lists.sourceforge.net ## 2198## Report this to enlightenment-devel@lists.sourceforge.net ##
2189## -------------------------------------------------------- ## 2199## -------------------------------------------------------- ##"
2190_ASBOX
2191 ) | sed "s/^/$as_me: WARNING: /" >&2 2200 ) | sed "s/^/$as_me: WARNING: /" >&2
2192 ;; 2201 ;;
2193esac 2202esac
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2195$as_echo_n "checking for $2... " >&6; } 2204$as_echo_n "checking for $2... " >&6; }
2196if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2205if eval "test \"\${$3+set}\"" = set; then :
2197 $as_echo_n "(cached) " >&6 2206 $as_echo_n "(cached) " >&6
2198else 2207else
2199 eval "$3=\$ac_header_compiler" 2208 eval "$3=\$ac_header_compiler"
@@ -2209,8 +2218,8 @@ cat >config.log <<_ACEOF
2209This file contains any messages produced by compilers while 2218This file contains any messages produced by compilers while
2210running configure, to aid debugging if configure makes a mistake. 2219running configure, to aid debugging if configure makes a mistake.
2211 2220
2212It was created by edje $as_me 1.1.99.67344, which was 2221It was created by edje $as_me 1.2.0-alpha, which was
2213generated by GNU Autoconf 2.65. Invocation command line was 2222generated by GNU Autoconf 2.67. Invocation command line was
2214 2223
2215 $ $0 $@ 2224 $ $0 $@
2216 2225
@@ -2320,11 +2329,9 @@ trap 'exit_status=$?
2320 { 2329 {
2321 echo 2330 echo
2322 2331
2323 cat <<\_ASBOX 2332 $as_echo "## ---------------- ##
2324## ---------------- ##
2325## Cache variables. ## 2333## Cache variables. ##
2326## ---------------- ## 2334## ---------------- ##"
2327_ASBOX
2328 echo 2335 echo
2329 # The following way of writing the cache mishandles newlines in values, 2336 # The following way of writing the cache mishandles newlines in values,
2330( 2337(
@@ -2358,11 +2365,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2358) 2365)
2359 echo 2366 echo
2360 2367
2361 cat <<\_ASBOX 2368 $as_echo "## ----------------- ##
2362## ----------------- ##
2363## Output variables. ## 2369## Output variables. ##
2364## ----------------- ## 2370## ----------------- ##"
2365_ASBOX
2366 echo 2371 echo
2367 for ac_var in $ac_subst_vars 2372 for ac_var in $ac_subst_vars
2368 do 2373 do
@@ -2375,11 +2380,9 @@ _ASBOX
2375 echo 2380 echo
2376 2381
2377 if test -n "$ac_subst_files"; then 2382 if test -n "$ac_subst_files"; then
2378 cat <<\_ASBOX 2383 $as_echo "## ------------------- ##
2379## ------------------- ##
2380## File substitutions. ## 2384## File substitutions. ##
2381## ------------------- ## 2385## ------------------- ##"
2382_ASBOX
2383 echo 2386 echo
2384 for ac_var in $ac_subst_files 2387 for ac_var in $ac_subst_files
2385 do 2388 do
@@ -2393,11 +2396,9 @@ _ASBOX
2393 fi 2396 fi
2394 2397
2395 if test -s confdefs.h; then 2398 if test -s confdefs.h; then
2396 cat <<\_ASBOX 2399 $as_echo "## ----------- ##
2397## ----------- ##
2398## confdefs.h. ## 2400## confdefs.h. ##
2399## ----------- ## 2401## ----------- ##"
2400_ASBOX
2401 echo 2402 echo
2402 cat confdefs.h 2403 cat confdefs.h
2403 echo 2404 echo
@@ -2452,7 +2453,12 @@ _ACEOF
2452ac_site_file1=NONE 2453ac_site_file1=NONE
2453ac_site_file2=NONE 2454ac_site_file2=NONE
2454if test -n "$CONFIG_SITE"; then 2455if test -n "$CONFIG_SITE"; then
2455 ac_site_file1=$CONFIG_SITE 2456 # We do not want a PATH search for config.site.
2457 case $CONFIG_SITE in #((
2458 -*) ac_site_file1=./$CONFIG_SITE;;
2459 */*) ac_site_file1=$CONFIG_SITE;;
2460 *) ac_site_file1=./$CONFIG_SITE;;
2461 esac
2456elif test "x$prefix" != xNONE; then 2462elif test "x$prefix" != xNONE; then
2457 ac_site_file1=$prefix/share/config.site 2463 ac_site_file1=$prefix/share/config.site
2458 ac_site_file2=$prefix/etc/config.site 2464 ac_site_file2=$prefix/etc/config.site
@@ -2467,7 +2473,11 @@ do
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2468$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2474$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2469 sed 's/^/| /' "$ac_site_file" >&5 2475 sed 's/^/| /' "$ac_site_file" >&5
2470 . "$ac_site_file" 2476 . "$ac_site_file" \
2477 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2479as_fn_error $? "failed to load site script $ac_site_file
2480See \`config.log' for more details" "$LINENO" 5 ; }
2471 fi 2481 fi
2472done 2482done
2473 2483
@@ -2543,7 +2553,7 @@ if $ac_cache_corrupted; then
2543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2545$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2555$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2546 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2556 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2547fi 2557fi
2548## -------------------- ## 2558## -------------------- ##
2549## Main body of script. ## 2559## Main body of script. ##
@@ -2569,16 +2579,22 @@ am__api_version='1.11'
2569 2579
2570ac_aux_dir= 2580ac_aux_dir=
2571for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2581for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2572 for ac_t in install-sh install.sh shtool; do 2582 if test -f "$ac_dir/install-sh"; then
2573 if test -f "$ac_dir/$ac_t"; then 2583 ac_aux_dir=$ac_dir
2574 ac_aux_dir=$ac_dir 2584 ac_install_sh="$ac_aux_dir/install-sh -c"
2575 ac_install_sh="$ac_aux_dir/$ac_t -c" 2585 break
2576 break 2 2586 elif test -f "$ac_dir/install.sh"; then
2577 fi 2587 ac_aux_dir=$ac_dir
2578 done 2588 ac_install_sh="$ac_aux_dir/install.sh -c"
2589 break
2590 elif test -f "$ac_dir/shtool"; then
2591 ac_aux_dir=$ac_dir
2592 ac_install_sh="$ac_aux_dir/shtool install -c"
2593 break
2594 fi
2579done 2595done
2580if test -z "$ac_aux_dir"; then 2596if test -z "$ac_aux_dir"; then
2581 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2597 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2582fi 2598fi
2583 2599
2584# These three variables are undocumented and unsupported, 2600# These three variables are undocumented and unsupported,
@@ -2694,11 +2710,11 @@ am_lf='
2694' 2710'
2695case `pwd` in 2711case `pwd` in
2696 *[\\\"\#\$\&\'\`$am_lf]*) 2712 *[\\\"\#\$\&\'\`$am_lf]*)
2697 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2713 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2698esac 2714esac
2699case $srcdir in 2715case $srcdir in
2700 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2716 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2701 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2717 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2702esac 2718esac
2703 2719
2704# Do `set' in a subshell so we don't clobber the current shell's 2720# Do `set' in a subshell so we don't clobber the current shell's
@@ -2720,7 +2736,7 @@ if (
2720 # if, for instance, CONFIG_SHELL is bash and it inherits a 2736 # if, for instance, CONFIG_SHELL is bash and it inherits a
2721 # broken ls alias from the environment. This has actually 2737 # broken ls alias from the environment. This has actually
2722 # happened. Such a system could not be considered "sane". 2738 # happened. Such a system could not be considered "sane".
2723 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2739 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2724alias in your environment" "$LINENO" 5 2740alias in your environment" "$LINENO" 5
2725 fi 2741 fi
2726 2742
@@ -2730,7 +2746,7 @@ then
2730 # Ok. 2746 # Ok.
2731 : 2747 :
2732else 2748else
2733 as_fn_error "newly created file is older than distributed files! 2749 as_fn_error $? "newly created file is older than distributed files!
2734Check your system clock" "$LINENO" 5 2750Check your system clock" "$LINENO" 5
2735fi 2751fi
2736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -2968,7 +2984,7 @@ done
2968$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2984$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2969set x ${MAKE-make} 2985set x ${MAKE-make}
2970ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2986ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2971if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2987if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2972 $as_echo_n "(cached) " >&6 2988 $as_echo_n "(cached) " >&6
2973else 2989else
2974 cat >conftest.make <<\_ACEOF 2990 cat >conftest.make <<\_ACEOF
@@ -2976,7 +2992,7 @@ SHELL = /bin/sh
2976all: 2992all:
2977 @echo '@@@%%%=$(MAKE)=@@@%%%' 2993 @echo '@@@%%%=$(MAKE)=@@@%%%'
2978_ACEOF 2994_ACEOF
2979# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2995# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2980case `${MAKE-make} -f conftest.make 2>/dev/null` in 2996case `${MAKE-make} -f conftest.make 2>/dev/null` in
2981 *@@@%%%=?*=@@@%%%*) 2997 *@@@%%%=?*=@@@%%%*)
2982 eval ac_cv_prog_make_${ac_make}_set=yes;; 2998 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -3010,7 +3026,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
3010 am__isrc=' -I$(srcdir)' 3026 am__isrc=' -I$(srcdir)'
3011 # test to see if srcdir already configured 3027 # test to see if srcdir already configured
3012 if test -f $srcdir/config.status; then 3028 if test -f $srcdir/config.status; then
3013 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3029 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3014 fi 3030 fi
3015fi 3031fi
3016 3032
@@ -3026,7 +3042,7 @@ fi
3026 3042
3027# Define the identity of the package. 3043# Define the identity of the package.
3028 PACKAGE='edje' 3044 PACKAGE='edje'
3029 VERSION='1.1.99.67344' 3045 VERSION='1.2.0-alpha'
3030 3046
3031 3047
3032cat >>confdefs.h <<_ACEOF 3048cat >>confdefs.h <<_ACEOF
@@ -3081,7 +3097,7 @@ AM_BACKSLASH='\'
3081 3097
3082# Make sure we can run config.sub. 3098# Make sure we can run config.sub.
3083$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3099$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3084 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3100 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3085 3101
3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3087$as_echo_n "checking build system type... " >&6; } 3103$as_echo_n "checking build system type... " >&6; }
@@ -3092,16 +3108,16 @@ else
3092test "x$ac_build_alias" = x && 3108test "x$ac_build_alias" = x &&
3093 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3109 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3094test "x$ac_build_alias" = x && 3110test "x$ac_build_alias" = x &&
3095 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3111 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3096ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3112ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3097 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3113 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3098 3114
3099fi 3115fi
3100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3101$as_echo "$ac_cv_build" >&6; } 3117$as_echo "$ac_cv_build" >&6; }
3102case $ac_cv_build in 3118case $ac_cv_build in
3103*-*-*) ;; 3119*-*-*) ;;
3104*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3120*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3105esac 3121esac
3106build=$ac_cv_build 3122build=$ac_cv_build
3107ac_save_IFS=$IFS; IFS='-' 3123ac_save_IFS=$IFS; IFS='-'
@@ -3126,7 +3142,7 @@ else
3126 ac_cv_host=$ac_cv_build 3142 ac_cv_host=$ac_cv_build
3127else 3143else
3128 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3144 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3129 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3145 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3130fi 3146fi
3131 3147
3132fi 3148fi
@@ -3134,7 +3150,7 @@ fi
3134$as_echo "$ac_cv_host" >&6; } 3150$as_echo "$ac_cv_host" >&6; }
3135case $ac_cv_host in 3151case $ac_cv_host in
3136*-*-*) ;; 3152*-*-*) ;;
3137*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3153*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3138esac 3154esac
3139host=$ac_cv_host 3155host=$ac_cv_host
3140ac_save_IFS=$IFS; IFS='-' 3156ac_save_IFS=$IFS; IFS='-'
@@ -3840,8 +3856,8 @@ fi
3840 3856
3841test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3857test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3842$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3843as_fn_error "no acceptable C compiler found in \$PATH 3859as_fn_error $? "no acceptable C compiler found in \$PATH
3844See \`config.log' for more details." "$LINENO" 5; } 3860See \`config.log' for more details" "$LINENO" 5 ; }
3845 3861
3846# Provide some information about the compiler. 3862# Provide some information about the compiler.
3847$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3863$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3955,9 +3971,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3955 3971
3956{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3972{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3957$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3958{ as_fn_set_status 77 3974as_fn_error 77 "C compiler cannot create executables
3959as_fn_error "C compiler cannot create executables 3975See \`config.log' for more details" "$LINENO" 5 ; }
3960See \`config.log' for more details." "$LINENO" 5; }; }
3961else 3976else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3963$as_echo "yes" >&6; } 3978$as_echo "yes" >&6; }
@@ -3999,8 +4014,8 @@ done
3999else 4014else
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002as_fn_error "cannot compute suffix of executables: cannot compile and link 4017as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4003See \`config.log' for more details." "$LINENO" 5; } 4018See \`config.log' for more details" "$LINENO" 5 ; }
4004fi 4019fi
4005rm -f conftest conftest$ac_cv_exeext 4020rm -f conftest conftest$ac_cv_exeext
4006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4057,9 +4072,9 @@ $as_echo "$ac_try_echo"; } >&5
4057 else 4072 else
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4074$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060as_fn_error "cannot run C compiled programs. 4075as_fn_error $? "cannot run C compiled programs.
4061If you meant to cross compile, use \`--host'. 4076If you meant to cross compile, use \`--host'.
4062See \`config.log' for more details." "$LINENO" 5; } 4077See \`config.log' for more details" "$LINENO" 5 ; }
4063 fi 4078 fi
4064 fi 4079 fi
4065fi 4080fi
@@ -4110,8 +4125,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4110 4125
4111{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4126{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113as_fn_error "cannot compute suffix of object files: cannot compile 4128as_fn_error $? "cannot compute suffix of object files: cannot compile
4114See \`config.log' for more details." "$LINENO" 5; } 4129See \`config.log' for more details" "$LINENO" 5 ; }
4115fi 4130fi
4116rm -f conftest.$ac_cv_objext conftest.$ac_ext 4131rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117fi 4132fi
@@ -4515,7 +4530,7 @@ esac
4515 done 4530 done
4516IFS=$as_save_IFS 4531IFS=$as_save_IFS
4517 if test -z "$ac_cv_path_SED"; then 4532 if test -z "$ac_cv_path_SED"; then
4518 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4533 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4519 fi 4534 fi
4520else 4535else
4521 ac_cv_path_SED=$SED 4536 ac_cv_path_SED=$SED
@@ -4591,7 +4606,7 @@ esac
4591 done 4606 done
4592IFS=$as_save_IFS 4607IFS=$as_save_IFS
4593 if test -z "$ac_cv_path_GREP"; then 4608 if test -z "$ac_cv_path_GREP"; then
4594 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4609 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4595 fi 4610 fi
4596else 4611else
4597 ac_cv_path_GREP=$GREP 4612 ac_cv_path_GREP=$GREP
@@ -4657,7 +4672,7 @@ esac
4657 done 4672 done
4658IFS=$as_save_IFS 4673IFS=$as_save_IFS
4659 if test -z "$ac_cv_path_EGREP"; then 4674 if test -z "$ac_cv_path_EGREP"; then
4660 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4675 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4661 fi 4676 fi
4662else 4677else
4663 ac_cv_path_EGREP=$EGREP 4678 ac_cv_path_EGREP=$EGREP
@@ -4724,7 +4739,7 @@ esac
4724 done 4739 done
4725IFS=$as_save_IFS 4740IFS=$as_save_IFS
4726 if test -z "$ac_cv_path_FGREP"; then 4741 if test -z "$ac_cv_path_FGREP"; then
4727 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4742 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4728 fi 4743 fi
4729else 4744else
4730 ac_cv_path_FGREP=$FGREP 4745 ac_cv_path_FGREP=$FGREP
@@ -4840,7 +4855,7 @@ else
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841$as_echo "no" >&6; } 4856$as_echo "no" >&6; }
4842fi 4857fi
4843test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 4858test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4845$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4860$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4846if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4861if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -5042,13 +5057,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
5042else 5057else
5043 lt_cv_nm_interface="BSD nm" 5058 lt_cv_nm_interface="BSD nm"
5044 echo "int some_variable = 0;" > conftest.$ac_ext 5059 echo "int some_variable = 0;" > conftest.$ac_ext
5045 (eval echo "\"\$as_me:5045: $ac_compile\"" >&5) 5060 (eval echo "\"\$as_me:5060: $ac_compile\"" >&5)
5046 (eval "$ac_compile" 2>conftest.err) 5061 (eval "$ac_compile" 2>conftest.err)
5047 cat conftest.err >&5 5062 cat conftest.err >&5
5048 (eval echo "\"\$as_me:5048: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5063 (eval echo "\"\$as_me:5063: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5049 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5064 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5050 cat conftest.err >&5 5065 cat conftest.err >&5
5051 (eval echo "\"\$as_me:5051: output\"" >&5) 5066 (eval echo "\"\$as_me:5066: output\"" >&5)
5052 cat conftest.out >&5 5067 cat conftest.out >&5
5053 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5068 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5054 lt_cv_nm_interface="MS dumpbin" 5069 lt_cv_nm_interface="MS dumpbin"
@@ -6251,7 +6266,7 @@ ia64-*-hpux*)
6251 ;; 6266 ;;
6252*-*-irix6*) 6267*-*-irix6*)
6253 # Find out which ABI we are using. 6268 # Find out which ABI we are using.
6254 echo '#line 6254 "configure"' > conftest.$ac_ext 6269 echo '#line 6269 "configure"' > conftest.$ac_ext
6255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256 (eval $ac_compile) 2>&5 6271 (eval $ac_compile) 2>&5
6257 ac_status=$? 6272 ac_status=$?
@@ -7040,7 +7055,7 @@ else
7040 # Broken: fails on valid input. 7055 # Broken: fails on valid input.
7041continue 7056continue
7042fi 7057fi
7043rm -f conftest.err conftest.$ac_ext 7058rm -f conftest.err conftest.i conftest.$ac_ext
7044 7059
7045 # OK, works on sane cases. Now check whether nonexistent headers 7060 # OK, works on sane cases. Now check whether nonexistent headers
7046 # can be detected and how. 7061 # can be detected and how.
@@ -7056,11 +7071,11 @@ else
7056ac_preproc_ok=: 7071ac_preproc_ok=:
7057break 7072break
7058fi 7073fi
7059rm -f conftest.err conftest.$ac_ext 7074rm -f conftest.err conftest.i conftest.$ac_ext
7060 7075
7061done 7076done
7062# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7077# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7063rm -f conftest.err conftest.$ac_ext 7078rm -f conftest.i conftest.err conftest.$ac_ext
7064if $ac_preproc_ok; then : 7079if $ac_preproc_ok; then :
7065 break 7080 break
7066fi 7081fi
@@ -7099,7 +7114,7 @@ else
7099 # Broken: fails on valid input. 7114 # Broken: fails on valid input.
7100continue 7115continue
7101fi 7116fi
7102rm -f conftest.err conftest.$ac_ext 7117rm -f conftest.err conftest.i conftest.$ac_ext
7103 7118
7104 # OK, works on sane cases. Now check whether nonexistent headers 7119 # OK, works on sane cases. Now check whether nonexistent headers
7105 # can be detected and how. 7120 # can be detected and how.
@@ -7115,18 +7130,18 @@ else
7115ac_preproc_ok=: 7130ac_preproc_ok=:
7116break 7131break
7117fi 7132fi
7118rm -f conftest.err conftest.$ac_ext 7133rm -f conftest.err conftest.i conftest.$ac_ext
7119 7134
7120done 7135done
7121# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7136# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7122rm -f conftest.err conftest.$ac_ext 7137rm -f conftest.i conftest.err conftest.$ac_ext
7123if $ac_preproc_ok; then : 7138if $ac_preproc_ok; then :
7124 7139
7125else 7140else
7126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7128as_fn_error "C preprocessor \"$CPP\" fails sanity check 7143as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7129See \`config.log' for more details." "$LINENO" 5; } 7144See \`config.log' for more details" "$LINENO" 5 ; }
7130fi 7145fi
7131 7146
7132ac_ext=c 7147ac_ext=c
@@ -7255,8 +7270,7 @@ do :
7255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7271ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7257" 7272"
7258eval as_val=\$$as_ac_Header 7273if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7259 if test "x$as_val" = x""yes; then :
7260 cat >>confdefs.h <<_ACEOF 7274 cat >>confdefs.h <<_ACEOF
7261#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7275#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7262_ACEOF 7276_ACEOF
@@ -7779,11 +7793,11 @@ else
7779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7781 -e 's:$: $lt_compiler_flag:'` 7795 -e 's:$: $lt_compiler_flag:'`
7782 (eval echo "\"\$as_me:7782: $lt_compile\"" >&5) 7796 (eval echo "\"\$as_me:7796: $lt_compile\"" >&5)
7783 (eval "$lt_compile" 2>conftest.err) 7797 (eval "$lt_compile" 2>conftest.err)
7784 ac_status=$? 7798 ac_status=$?
7785 cat conftest.err >&5 7799 cat conftest.err >&5
7786 echo "$as_me:7786: \$? = $ac_status" >&5 7800 echo "$as_me:7800: \$? = $ac_status" >&5
7787 if (exit $ac_status) && test -s "$ac_outfile"; then 7801 if (exit $ac_status) && test -s "$ac_outfile"; then
7788 # The compiler can only warn and ignore the option if not recognized 7802 # The compiler can only warn and ignore the option if not recognized
7789 # So say no if there are warnings other than the usual output. 7803 # So say no if there are warnings other than the usual output.
@@ -8118,11 +8132,11 @@ else
8118 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8119 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8120 -e 's:$: $lt_compiler_flag:'` 8134 -e 's:$: $lt_compiler_flag:'`
8121 (eval echo "\"\$as_me:8121: $lt_compile\"" >&5) 8135 (eval echo "\"\$as_me:8135: $lt_compile\"" >&5)
8122 (eval "$lt_compile" 2>conftest.err) 8136 (eval "$lt_compile" 2>conftest.err)
8123 ac_status=$? 8137 ac_status=$?
8124 cat conftest.err >&5 8138 cat conftest.err >&5
8125 echo "$as_me:8125: \$? = $ac_status" >&5 8139 echo "$as_me:8139: \$? = $ac_status" >&5
8126 if (exit $ac_status) && test -s "$ac_outfile"; then 8140 if (exit $ac_status) && test -s "$ac_outfile"; then
8127 # The compiler can only warn and ignore the option if not recognized 8141 # The compiler can only warn and ignore the option if not recognized
8128 # So say no if there are warnings other than the usual output. 8142 # So say no if there are warnings other than the usual output.
@@ -8223,11 +8237,11 @@ else
8223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8225 -e 's:$: $lt_compiler_flag:'` 8239 -e 's:$: $lt_compiler_flag:'`
8226 (eval echo "\"\$as_me:8226: $lt_compile\"" >&5) 8240 (eval echo "\"\$as_me:8240: $lt_compile\"" >&5)
8227 (eval "$lt_compile" 2>out/conftest.err) 8241 (eval "$lt_compile" 2>out/conftest.err)
8228 ac_status=$? 8242 ac_status=$?
8229 cat out/conftest.err >&5 8243 cat out/conftest.err >&5
8230 echo "$as_me:8230: \$? = $ac_status" >&5 8244 echo "$as_me:8244: \$? = $ac_status" >&5
8231 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8245 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8232 then 8246 then
8233 # The compiler can only warn and ignore the option if not recognized 8247 # The compiler can only warn and ignore the option if not recognized
@@ -8278,11 +8292,11 @@ else
8278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8292 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8293 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8280 -e 's:$: $lt_compiler_flag:'` 8294 -e 's:$: $lt_compiler_flag:'`
8281 (eval echo "\"\$as_me:8281: $lt_compile\"" >&5) 8295 (eval echo "\"\$as_me:8295: $lt_compile\"" >&5)
8282 (eval "$lt_compile" 2>out/conftest.err) 8296 (eval "$lt_compile" 2>out/conftest.err)
8283 ac_status=$? 8297 ac_status=$?
8284 cat out/conftest.err >&5 8298 cat out/conftest.err >&5
8285 echo "$as_me:8285: \$? = $ac_status" >&5 8299 echo "$as_me:8299: \$? = $ac_status" >&5
8286 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8300 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8287 then 8301 then
8288 # The compiler can only warn and ignore the option if not recognized 8302 # The compiler can only warn and ignore the option if not recognized
@@ -10662,7 +10676,7 @@ else
10662 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10676 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10663 lt_status=$lt_dlunknown 10677 lt_status=$lt_dlunknown
10664 cat > conftest.$ac_ext <<_LT_EOF 10678 cat > conftest.$ac_ext <<_LT_EOF
10665#line 10665 "configure" 10679#line 10679 "configure"
10666#include "confdefs.h" 10680#include "confdefs.h"
10667 10681
10668#if HAVE_DLFCN_H 10682#if HAVE_DLFCN_H
@@ -10758,7 +10772,7 @@ else
10758 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10772 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10759 lt_status=$lt_dlunknown 10773 lt_status=$lt_dlunknown
10760 cat > conftest.$ac_ext <<_LT_EOF 10774 cat > conftest.$ac_ext <<_LT_EOF
10761#line 10761 "configure" 10775#line 10775 "configure"
10762#include "confdefs.h" 10776#include "confdefs.h"
10763 10777
10764#if HAVE_DLFCN_H 10778#if HAVE_DLFCN_H
@@ -10997,20 +11011,20 @@ _ACEOF
10997 11011
10998 11012
10999cat >>confdefs.h <<_ACEOF 11013cat >>confdefs.h <<_ACEOF
11000#define VMIN 1 11014#define VMIN 2
11001_ACEOF 11015_ACEOF
11002 11016
11003 11017
11004cat >>confdefs.h <<_ACEOF 11018cat >>confdefs.h <<_ACEOF
11005#define VMIC 99 11019#define VMIC 0
11006_ACEOF 11020_ACEOF
11007 11021
11008 11022
11009cat >>confdefs.h <<_ACEOF 11023cat >>confdefs.h <<_ACEOF
11010#define VREV 67344 11024#define VREV 0
11011_ACEOF 11025_ACEOF
11012 11026
11013version_info="2:99:1" 11027version_info="3:0:2"
11014release_info="" 11028release_info=""
11015 11029
11016 11030
@@ -11079,6 +11093,29 @@ fi
11079 11093
11080 11094
11081 11095
11096
11097
11098# Check whether --with-edje-cc was given.
11099if test "${with_edje_cc+set}" = set; then :
11100 withval=$with_edje_cc; _efl_with_binary=${withval}
11101else
11102 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
11103fi
11104
11105
11106edje_cc=${_efl_with_binary}
11107{ $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
11108$as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
11109
11110with_binary_edje_cc=${_efl_with_binary}
11111
11112
11113
11114
11115
11116
11117
11118
11082have_edje_cc="yes" 11119have_edje_cc="yes"
11083 11120
11084 11121
@@ -11748,8 +11785,8 @@ fi
11748 11785
11749test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11786test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11787$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11751as_fn_error "no acceptable C compiler found in \$PATH 11788as_fn_error $? "no acceptable C compiler found in \$PATH
11752See \`config.log' for more details." "$LINENO" 5; } 11789See \`config.log' for more details" "$LINENO" 5 ; }
11753 11790
11754# Provide some information about the compiler. 11791# Provide some information about the compiler.
11755$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 11792$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -12303,7 +12340,7 @@ sys.exit(sys.hexversion < minverhex)"
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12304$as_echo "yes" >&6; } 12341$as_echo "yes" >&6; }
12305else 12342else
12306 as_fn_error "too old" "$LINENO" 5 12343 as_fn_error $? "too old" "$LINENO" 5
12307fi 12344fi
12308 am_display_PYTHON=$PYTHON 12345 am_display_PYTHON=$PYTHON
12309 else 12346 else
@@ -12315,7 +12352,7 @@ if test "${am_cv_pathless_PYTHON+set}" = set; then :
12315 $as_echo_n "(cached) " >&6 12352 $as_echo_n "(cached) " >&6
12316else 12353else
12317 12354
12318 for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do 12355 for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
12319 test "$am_cv_pathless_PYTHON" = none && break 12356 test "$am_cv_pathless_PYTHON" = none && break
12320 prog="import sys 12357 prog="import sys
12321# split strings by '.' and convert to numeric. Append some zeros 12358# split strings by '.' and convert to numeric. Append some zeros
@@ -12517,6 +12554,10 @@ fi
12517 12554
12518 12555
12519 12556
12557
12558
12559
12560
12520if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12561if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12521 if test -n "$ac_tool_prefix"; then 12562 if test -n "$ac_tool_prefix"; then
12522 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12563 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -12629,7 +12670,6 @@ $as_echo "yes" >&6; }
12629$as_echo "no" >&6; } 12670$as_echo "no" >&6; }
12630 PKG_CONFIG="" 12671 PKG_CONFIG=""
12631 fi 12672 fi
12632
12633fi 12673fi
12634 12674
12635# Check whether pkg-config supports Requires.private 12675# Check whether pkg-config supports Requires.private
@@ -12654,11 +12694,10 @@ pkg_failed=no
12654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5 12694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12655$as_echo_n "checking for EVIL... " >&6; } 12695$as_echo_n "checking for EVIL... " >&6; }
12656 12696
12657if test -n "$PKG_CONFIG"; then 12697if test -n "$EVIL_CFLAGS"; then
12658 if test -n "$EVIL_CFLAGS"; then 12698 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12659 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS" 12699 elif test -n "$PKG_CONFIG"; then
12660 else 12700 if test -n "$PKG_CONFIG" && \
12661 if test -n "$PKG_CONFIG" && \
12662 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 12701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
12663 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 12702 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
12664 ac_status=$? 12703 ac_status=$?
@@ -12668,15 +12707,13 @@ if test -n "$PKG_CONFIG"; then
12668else 12707else
12669 pkg_failed=yes 12708 pkg_failed=yes
12670fi 12709fi
12671 fi 12710 else
12672else 12711 pkg_failed=untried
12673 pkg_failed=untried
12674fi 12712fi
12675if test -n "$PKG_CONFIG"; then 12713if test -n "$EVIL_LIBS"; then
12676 if test -n "$EVIL_LIBS"; then 12714 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12677 pkg_cv_EVIL_LIBS="$EVIL_LIBS" 12715 elif test -n "$PKG_CONFIG"; then
12678 else 12716 if test -n "$PKG_CONFIG" && \
12679 if test -n "$PKG_CONFIG" && \
12680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 12717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
12681 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 12718 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
12682 ac_status=$? 12719 ac_status=$?
@@ -12686,14 +12723,15 @@ if test -n "$PKG_CONFIG"; then
12686else 12723else
12687 pkg_failed=yes 12724 pkg_failed=yes
12688fi 12725fi
12689 fi 12726 else
12690else 12727 pkg_failed=untried
12691 pkg_failed=untried
12692fi 12728fi
12693 12729
12694 12730
12695 12731
12696if test $pkg_failed = yes; then 12732if test $pkg_failed = yes; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734$as_echo "no" >&6; }
12697 12735
12698if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12736if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12699 _pkg_short_errors_supported=yes 12737 _pkg_short_errors_supported=yes
@@ -12701,14 +12739,14 @@ else
12701 _pkg_short_errors_supported=no 12739 _pkg_short_errors_supported=no
12702fi 12740fi
12703 if test $_pkg_short_errors_supported = yes; then 12741 if test $_pkg_short_errors_supported = yes; then
12704 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil >= 1.0.0"` 12742 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
12705 else 12743 else
12706 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil >= 1.0.0"` 12744 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
12707 fi 12745 fi
12708 # Put the nasty error message in config.log where it belongs 12746 # Put the nasty error message in config.log where it belongs
12709 echo "$EVIL_PKG_ERRORS" >&5 12747 echo "$EVIL_PKG_ERRORS" >&5
12710 12748
12711 as_fn_error "Package requirements (evil >= 1.0.0) were not met: 12749 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
12712 12750
12713$EVIL_PKG_ERRORS 12751$EVIL_PKG_ERRORS
12714 12752
@@ -12717,12 +12755,13 @@ installed software in a non-standard prefix.
12717 12755
12718Alternatively, you may set the environment variables EVIL_CFLAGS 12756Alternatively, you may set the environment variables EVIL_CFLAGS
12719and EVIL_LIBS to avoid the need to call pkg-config. 12757and EVIL_LIBS to avoid the need to call pkg-config.
12720See the pkg-config man page for more details. 12758See the pkg-config man page for more details." "$LINENO" 5
12721" "$LINENO" 5
12722elif test $pkg_failed = untried; then 12759elif test $pkg_failed = untried; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761$as_echo "no" >&6; }
12723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12725as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12764as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12726is in your PATH or set the PKG_CONFIG environment variable to the full 12765is in your PATH or set the PKG_CONFIG environment variable to the full
12727path to pkg-config. 12766path to pkg-config.
12728 12767
@@ -12731,13 +12770,13 @@ and EVIL_LIBS to avoid the need to call pkg-config.
12731See the pkg-config man page for more details. 12770See the pkg-config man page for more details.
12732 12771
12733To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12772To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12734See \`config.log' for more details." "$LINENO" 5; } 12773See \`config.log' for more details" "$LINENO" 5 ; }
12735else 12774else
12736 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS 12775 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12737 EVIL_LIBS=$pkg_cv_EVIL_LIBS 12776 EVIL_LIBS=$pkg_cv_EVIL_LIBS
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12739$as_echo "yes" >&6; } 12778$as_echo "yes" >&6; }
12740 : 12779
12741fi 12780fi
12742 12781
12743$as_echo "#define HAVE_EVIL 1" >>confdefs.h 12782$as_echo "#define HAVE_EVIL 1" >>confdefs.h
@@ -12759,11 +12798,10 @@ pkg_failed=no
12759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 12798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12760$as_echo_n "checking for LUA... " >&6; } 12799$as_echo_n "checking for LUA... " >&6; }
12761 12800
12762if test -n "$PKG_CONFIG"; then 12801if test -n "$LUA_CFLAGS"; then
12763 if test -n "$LUA_CFLAGS"; then 12802 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12764 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 12803 elif test -n "$PKG_CONFIG"; then
12765 else 12804 if test -n "$PKG_CONFIG" && \
12766 if test -n "$PKG_CONFIG" && \
12767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5 12805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12768 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5 12806 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12769 ac_status=$? 12807 ac_status=$?
@@ -12773,15 +12811,13 @@ if test -n "$PKG_CONFIG"; then
12773else 12811else
12774 pkg_failed=yes 12812 pkg_failed=yes
12775fi 12813fi
12776 fi 12814 else
12777else 12815 pkg_failed=untried
12778 pkg_failed=untried
12779fi 12816fi
12780if test -n "$PKG_CONFIG"; then 12817if test -n "$LUA_LIBS"; then
12781 if test -n "$LUA_LIBS"; then 12818 pkg_cv_LUA_LIBS="$LUA_LIBS"
12782 pkg_cv_LUA_LIBS="$LUA_LIBS" 12819 elif test -n "$PKG_CONFIG"; then
12783 else 12820 if test -n "$PKG_CONFIG" && \
12784 if test -n "$PKG_CONFIG" && \
12785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5 12821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12786 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5 12822 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12787 ac_status=$? 12823 ac_status=$?
@@ -12791,14 +12827,15 @@ if test -n "$PKG_CONFIG"; then
12791else 12827else
12792 pkg_failed=yes 12828 pkg_failed=yes
12793fi 12829fi
12794 fi 12830 else
12795else 12831 pkg_failed=untried
12796 pkg_failed=untried
12797fi 12832fi
12798 12833
12799 12834
12800 12835
12801if test $pkg_failed = yes; then 12836if test $pkg_failed = yes; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838$as_echo "no" >&6; }
12802 12839
12803if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12840if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12804 _pkg_short_errors_supported=yes 12841 _pkg_short_errors_supported=yes
@@ -12806,25 +12843,22 @@ else
12806 _pkg_short_errors_supported=no 12843 _pkg_short_errors_supported=no
12807fi 12844fi
12808 if test $_pkg_short_errors_supported = yes; then 12845 if test $_pkg_short_errors_supported = yes; then
12809 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua >= 5.1.0"` 12846 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1.0" 2>&1`
12810 else 12847 else
12811 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua >= 5.1.0"` 12848 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0" 2>&1`
12812 fi 12849 fi
12813 # Put the nasty error message in config.log where it belongs 12850 # Put the nasty error message in config.log where it belongs
12814 echo "$LUA_PKG_ERRORS" >&5 12851 echo "$LUA_PKG_ERRORS" >&5
12815 12852
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12817$as_echo "no" >&6; }
12818 12853
12819pkg_failed=no 12854pkg_failed=no
12820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 12855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12821$as_echo_n "checking for LUA... " >&6; } 12856$as_echo_n "checking for LUA... " >&6; }
12822 12857
12823if test -n "$PKG_CONFIG"; then 12858if test -n "$LUA_CFLAGS"; then
12824 if test -n "$LUA_CFLAGS"; then 12859 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12825 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 12860 elif test -n "$PKG_CONFIG"; then
12826 else 12861 if test -n "$PKG_CONFIG" && \
12827 if test -n "$PKG_CONFIG" && \
12828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5 12862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12829 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5 12863 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12830 ac_status=$? 12864 ac_status=$?
@@ -12834,15 +12868,13 @@ if test -n "$PKG_CONFIG"; then
12834else 12868else
12835 pkg_failed=yes 12869 pkg_failed=yes
12836fi 12870fi
12837 fi 12871 else
12838else 12872 pkg_failed=untried
12839 pkg_failed=untried
12840fi 12873fi
12841if test -n "$PKG_CONFIG"; then 12874if test -n "$LUA_LIBS"; then
12842 if test -n "$LUA_LIBS"; then 12875 pkg_cv_LUA_LIBS="$LUA_LIBS"
12843 pkg_cv_LUA_LIBS="$LUA_LIBS" 12876 elif test -n "$PKG_CONFIG"; then
12844 else 12877 if test -n "$PKG_CONFIG" && \
12845 if test -n "$PKG_CONFIG" && \
12846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5 12878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12847 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5 12879 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12848 ac_status=$? 12880 ac_status=$?
@@ -12852,14 +12884,15 @@ if test -n "$PKG_CONFIG"; then
12852else 12884else
12853 pkg_failed=yes 12885 pkg_failed=yes
12854fi 12886fi
12855 fi 12887 else
12856else 12888 pkg_failed=untried
12857 pkg_failed=untried
12858fi 12889fi
12859 12890
12860 12891
12861 12892
12862if test $pkg_failed = yes; then 12893if test $pkg_failed = yes; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895$as_echo "no" >&6; }
12863 12896
12864if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12897if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12865 _pkg_short_errors_supported=yes 12898 _pkg_short_errors_supported=yes
@@ -12867,25 +12900,22 @@ else
12867 _pkg_short_errors_supported=no 12900 _pkg_short_errors_supported=no
12868fi 12901fi
12869 if test $_pkg_short_errors_supported = yes; then 12902 if test $_pkg_short_errors_supported = yes; then
12870 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.1 >= 5.1.0"` 12903 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
12871 else 12904 else
12872 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.1 >= 5.1.0"` 12905 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
12873 fi 12906 fi
12874 # Put the nasty error message in config.log where it belongs 12907 # Put the nasty error message in config.log where it belongs
12875 echo "$LUA_PKG_ERRORS" >&5 12908 echo "$LUA_PKG_ERRORS" >&5
12876 12909
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878$as_echo "no" >&6; }
12879 12910
12880pkg_failed=no 12911pkg_failed=no
12881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 12912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12882$as_echo_n "checking for LUA... " >&6; } 12913$as_echo_n "checking for LUA... " >&6; }
12883 12914
12884if test -n "$PKG_CONFIG"; then 12915if test -n "$LUA_CFLAGS"; then
12885 if test -n "$LUA_CFLAGS"; then 12916 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12886 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 12917 elif test -n "$PKG_CONFIG"; then
12887 else 12918 if test -n "$PKG_CONFIG" && \
12888 if test -n "$PKG_CONFIG" && \
12889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 12919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
12890 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 12920 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12891 ac_status=$? 12921 ac_status=$?
@@ -12895,15 +12925,13 @@ if test -n "$PKG_CONFIG"; then
12895else 12925else
12896 pkg_failed=yes 12926 pkg_failed=yes
12897fi 12927fi
12898 fi 12928 else
12899else 12929 pkg_failed=untried
12900 pkg_failed=untried
12901fi 12930fi
12902if test -n "$PKG_CONFIG"; then 12931if test -n "$LUA_LIBS"; then
12903 if test -n "$LUA_LIBS"; then 12932 pkg_cv_LUA_LIBS="$LUA_LIBS"
12904 pkg_cv_LUA_LIBS="$LUA_LIBS" 12933 elif test -n "$PKG_CONFIG"; then
12905 else 12934 if test -n "$PKG_CONFIG" && \
12906 if test -n "$PKG_CONFIG" && \
12907 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 12935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
12908 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 12936 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12909 ac_status=$? 12937 ac_status=$?
@@ -12913,14 +12941,15 @@ if test -n "$PKG_CONFIG"; then
12913else 12941else
12914 pkg_failed=yes 12942 pkg_failed=yes
12915fi 12943fi
12916 fi 12944 else
12917else 12945 pkg_failed=untried
12918 pkg_failed=untried
12919fi 12946fi
12920 12947
12921 12948
12922 12949
12923if test $pkg_failed = yes; then 12950if test $pkg_failed = yes; then
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952$as_echo "no" >&6; }
12924 12953
12925if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12954if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12926 _pkg_short_errors_supported=yes 12955 _pkg_short_errors_supported=yes
@@ -12928,25 +12957,22 @@ else
12928 _pkg_short_errors_supported=no 12957 _pkg_short_errors_supported=no
12929fi 12958fi
12930 if test $_pkg_short_errors_supported = yes; then 12959 if test $_pkg_short_errors_supported = yes; then
12931 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 12960 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
12932 else 12961 else
12933 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 12962 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
12934 fi 12963 fi
12935 # Put the nasty error message in config.log where it belongs 12964 # Put the nasty error message in config.log where it belongs
12936 echo "$LUA_PKG_ERRORS" >&5 12965 echo "$LUA_PKG_ERRORS" >&5
12937 12966
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12939$as_echo "no" >&6; }
12940 12967
12941pkg_failed=no 12968pkg_failed=no
12942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 12969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12943$as_echo_n "checking for LUA... " >&6; } 12970$as_echo_n "checking for LUA... " >&6; }
12944 12971
12945if test -n "$PKG_CONFIG"; then 12972if test -n "$LUA_CFLAGS"; then
12946 if test -n "$LUA_CFLAGS"; then 12973 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12947 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 12974 elif test -n "$PKG_CONFIG"; then
12948 else 12975 if test -n "$PKG_CONFIG" && \
12949 if test -n "$PKG_CONFIG" && \
12950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 12976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
12951 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 12977 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
12952 ac_status=$? 12978 ac_status=$?
@@ -12956,15 +12982,13 @@ if test -n "$PKG_CONFIG"; then
12956else 12982else
12957 pkg_failed=yes 12983 pkg_failed=yes
12958fi 12984fi
12959 fi 12985 else
12960else 12986 pkg_failed=untried
12961 pkg_failed=untried
12962fi 12987fi
12963if test -n "$PKG_CONFIG"; then 12988if test -n "$LUA_LIBS"; then
12964 if test -n "$LUA_LIBS"; then 12989 pkg_cv_LUA_LIBS="$LUA_LIBS"
12965 pkg_cv_LUA_LIBS="$LUA_LIBS" 12990 elif test -n "$PKG_CONFIG"; then
12966 else 12991 if test -n "$PKG_CONFIG" && \
12967 if test -n "$PKG_CONFIG" && \
12968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 12992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
12969 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 12993 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
12970 ac_status=$? 12994 ac_status=$?
@@ -12974,14 +12998,15 @@ if test -n "$PKG_CONFIG"; then
12974else 12998else
12975 pkg_failed=yes 12999 pkg_failed=yes
12976fi 13000fi
12977 fi 13001 else
12978else 13002 pkg_failed=untried
12979 pkg_failed=untried
12980fi 13003fi
12981 13004
12982 13005
12983 13006
12984if test $pkg_failed = yes; then 13007if test $pkg_failed = yes; then
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13009$as_echo "no" >&6; }
12985 13010
12986if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13011if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12987 _pkg_short_errors_supported=yes 13012 _pkg_short_errors_supported=yes
@@ -12989,17 +13014,17 @@ else
12989 _pkg_short_errors_supported=no 13014 _pkg_short_errors_supported=no
12990fi 13015fi
12991 if test $_pkg_short_errors_supported = yes; then 13016 if test $_pkg_short_errors_supported = yes; then
12992 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13017 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
12993 else 13018 else
12994 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13019 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
12995 fi 13020 fi
12996 # Put the nasty error message in config.log where it belongs 13021 # Put the nasty error message in config.log where it belongs
12997 echo "$LUA_PKG_ERRORS" >&5 13022 echo "$LUA_PKG_ERRORS" >&5
12998 13023
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13024 have_lua="no"
13000$as_echo "no" >&6; }
13001 have_lua="no"
13002elif test $pkg_failed = untried; then 13025elif test $pkg_failed = untried; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027$as_echo "no" >&6; }
13003 have_lua="no" 13028 have_lua="no"
13004else 13029else
13005 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13030 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13009,16 +13034,17 @@ $as_echo "yes" >&6; }
13009 requirement_lua="lua51" 13034 requirement_lua="lua51"
13010fi 13035fi
13011elif test $pkg_failed = untried; then 13036elif test $pkg_failed = untried; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13038$as_echo "no" >&6; }
13012 13039
13013pkg_failed=no 13040pkg_failed=no
13014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13015$as_echo_n "checking for LUA... " >&6; } 13042$as_echo_n "checking for LUA... " >&6; }
13016 13043
13017if test -n "$PKG_CONFIG"; then 13044if test -n "$LUA_CFLAGS"; then
13018 if test -n "$LUA_CFLAGS"; then 13045 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13019 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13046 elif test -n "$PKG_CONFIG"; then
13020 else 13047 if test -n "$PKG_CONFIG" && \
13021 if test -n "$PKG_CONFIG" && \
13022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13023 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13049 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13024 ac_status=$? 13050 ac_status=$?
@@ -13028,15 +13054,13 @@ if test -n "$PKG_CONFIG"; then
13028else 13054else
13029 pkg_failed=yes 13055 pkg_failed=yes
13030fi 13056fi
13031 fi 13057 else
13032else 13058 pkg_failed=untried
13033 pkg_failed=untried
13034fi 13059fi
13035if test -n "$PKG_CONFIG"; then 13060if test -n "$LUA_LIBS"; then
13036 if test -n "$LUA_LIBS"; then 13061 pkg_cv_LUA_LIBS="$LUA_LIBS"
13037 pkg_cv_LUA_LIBS="$LUA_LIBS" 13062 elif test -n "$PKG_CONFIG"; then
13038 else 13063 if test -n "$PKG_CONFIG" && \
13039 if test -n "$PKG_CONFIG" && \
13040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13041 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13065 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13042 ac_status=$? 13066 ac_status=$?
@@ -13046,14 +13070,15 @@ if test -n "$PKG_CONFIG"; then
13046else 13070else
13047 pkg_failed=yes 13071 pkg_failed=yes
13048fi 13072fi
13049 fi 13073 else
13050else 13074 pkg_failed=untried
13051 pkg_failed=untried
13052fi 13075fi
13053 13076
13054 13077
13055 13078
13056if test $pkg_failed = yes; then 13079if test $pkg_failed = yes; then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081$as_echo "no" >&6; }
13057 13082
13058if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13083if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13059 _pkg_short_errors_supported=yes 13084 _pkg_short_errors_supported=yes
@@ -13061,17 +13086,17 @@ else
13061 _pkg_short_errors_supported=no 13086 _pkg_short_errors_supported=no
13062fi 13087fi
13063 if test $_pkg_short_errors_supported = yes; then 13088 if test $_pkg_short_errors_supported = yes; then
13064 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13089 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13065 else 13090 else
13066 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13091 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13067 fi 13092 fi
13068 # Put the nasty error message in config.log where it belongs 13093 # Put the nasty error message in config.log where it belongs
13069 echo "$LUA_PKG_ERRORS" >&5 13094 echo "$LUA_PKG_ERRORS" >&5
13070 13095
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13096 have_lua="no"
13072$as_echo "no" >&6; }
13073 have_lua="no"
13074elif test $pkg_failed = untried; then 13097elif test $pkg_failed = untried; then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13099$as_echo "no" >&6; }
13075 have_lua="no" 13100 have_lua="no"
13076else 13101else
13077 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13102 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13088,16 +13113,17 @@ $as_echo "yes" >&6; }
13088 requirement_lua="lua-5.1" 13113 requirement_lua="lua-5.1"
13089fi 13114fi
13090elif test $pkg_failed = untried; then 13115elif test $pkg_failed = untried; then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117$as_echo "no" >&6; }
13091 13118
13092pkg_failed=no 13119pkg_failed=no
13093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13094$as_echo_n "checking for LUA... " >&6; } 13121$as_echo_n "checking for LUA... " >&6; }
13095 13122
13096if test -n "$PKG_CONFIG"; then 13123if test -n "$LUA_CFLAGS"; then
13097 if test -n "$LUA_CFLAGS"; then 13124 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13098 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13125 elif test -n "$PKG_CONFIG"; then
13099 else 13126 if test -n "$PKG_CONFIG" && \
13100 if test -n "$PKG_CONFIG" && \
13101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13102 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 13128 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13103 ac_status=$? 13129 ac_status=$?
@@ -13107,15 +13133,13 @@ if test -n "$PKG_CONFIG"; then
13107else 13133else
13108 pkg_failed=yes 13134 pkg_failed=yes
13109fi 13135fi
13110 fi 13136 else
13111else 13137 pkg_failed=untried
13112 pkg_failed=untried
13113fi 13138fi
13114if test -n "$PKG_CONFIG"; then 13139if test -n "$LUA_LIBS"; then
13115 if test -n "$LUA_LIBS"; then 13140 pkg_cv_LUA_LIBS="$LUA_LIBS"
13116 pkg_cv_LUA_LIBS="$LUA_LIBS" 13141 elif test -n "$PKG_CONFIG"; then
13117 else 13142 if test -n "$PKG_CONFIG" && \
13118 if test -n "$PKG_CONFIG" && \
13119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 13143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13120 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 13144 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13121 ac_status=$? 13145 ac_status=$?
@@ -13125,14 +13149,15 @@ if test -n "$PKG_CONFIG"; then
13125else 13149else
13126 pkg_failed=yes 13150 pkg_failed=yes
13127fi 13151fi
13128 fi 13152 else
13129else 13153 pkg_failed=untried
13130 pkg_failed=untried
13131fi 13154fi
13132 13155
13133 13156
13134 13157
13135if test $pkg_failed = yes; then 13158if test $pkg_failed = yes; then
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13160$as_echo "no" >&6; }
13136 13161
13137if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13162if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13138 _pkg_short_errors_supported=yes 13163 _pkg_short_errors_supported=yes
@@ -13140,25 +13165,22 @@ else
13140 _pkg_short_errors_supported=no 13165 _pkg_short_errors_supported=no
13141fi 13166fi
13142 if test $_pkg_short_errors_supported = yes; then 13167 if test $_pkg_short_errors_supported = yes; then
13143 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 13168 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13144 else 13169 else
13145 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 13170 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13146 fi 13171 fi
13147 # Put the nasty error message in config.log where it belongs 13172 # Put the nasty error message in config.log where it belongs
13148 echo "$LUA_PKG_ERRORS" >&5 13173 echo "$LUA_PKG_ERRORS" >&5
13149 13174
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13151$as_echo "no" >&6; }
13152 13175
13153pkg_failed=no 13176pkg_failed=no
13154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13155$as_echo_n "checking for LUA... " >&6; } 13178$as_echo_n "checking for LUA... " >&6; }
13156 13179
13157if test -n "$PKG_CONFIG"; then 13180if test -n "$LUA_CFLAGS"; then
13158 if test -n "$LUA_CFLAGS"; then 13181 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13159 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13182 elif test -n "$PKG_CONFIG"; then
13160 else 13183 if test -n "$PKG_CONFIG" && \
13161 if test -n "$PKG_CONFIG" && \
13162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13163 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13185 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13164 ac_status=$? 13186 ac_status=$?
@@ -13168,15 +13190,13 @@ if test -n "$PKG_CONFIG"; then
13168else 13190else
13169 pkg_failed=yes 13191 pkg_failed=yes
13170fi 13192fi
13171 fi 13193 else
13172else 13194 pkg_failed=untried
13173 pkg_failed=untried
13174fi 13195fi
13175if test -n "$PKG_CONFIG"; then 13196if test -n "$LUA_LIBS"; then
13176 if test -n "$LUA_LIBS"; then 13197 pkg_cv_LUA_LIBS="$LUA_LIBS"
13177 pkg_cv_LUA_LIBS="$LUA_LIBS" 13198 elif test -n "$PKG_CONFIG"; then
13178 else 13199 if test -n "$PKG_CONFIG" && \
13179 if test -n "$PKG_CONFIG" && \
13180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13181 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13201 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13182 ac_status=$? 13202 ac_status=$?
@@ -13186,14 +13206,15 @@ if test -n "$PKG_CONFIG"; then
13186else 13206else
13187 pkg_failed=yes 13207 pkg_failed=yes
13188fi 13208fi
13189 fi 13209 else
13190else 13210 pkg_failed=untried
13191 pkg_failed=untried
13192fi 13211fi
13193 13212
13194 13213
13195 13214
13196if test $pkg_failed = yes; then 13215if test $pkg_failed = yes; then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13217$as_echo "no" >&6; }
13197 13218
13198if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13219if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13199 _pkg_short_errors_supported=yes 13220 _pkg_short_errors_supported=yes
@@ -13201,17 +13222,17 @@ else
13201 _pkg_short_errors_supported=no 13222 _pkg_short_errors_supported=no
13202fi 13223fi
13203 if test $_pkg_short_errors_supported = yes; then 13224 if test $_pkg_short_errors_supported = yes; then
13204 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13225 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13205 else 13226 else
13206 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13227 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13207 fi 13228 fi
13208 # Put the nasty error message in config.log where it belongs 13229 # Put the nasty error message in config.log where it belongs
13209 echo "$LUA_PKG_ERRORS" >&5 13230 echo "$LUA_PKG_ERRORS" >&5
13210 13231
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13232 have_lua="no"
13212$as_echo "no" >&6; }
13213 have_lua="no"
13214elif test $pkg_failed = untried; then 13233elif test $pkg_failed = untried; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13235$as_echo "no" >&6; }
13215 have_lua="no" 13236 have_lua="no"
13216else 13237else
13217 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13238 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13221,16 +13242,17 @@ $as_echo "yes" >&6; }
13221 requirement_lua="lua51" 13242 requirement_lua="lua51"
13222fi 13243fi
13223elif test $pkg_failed = untried; then 13244elif test $pkg_failed = untried; then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13246$as_echo "no" >&6; }
13224 13247
13225pkg_failed=no 13248pkg_failed=no
13226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13227$as_echo_n "checking for LUA... " >&6; } 13250$as_echo_n "checking for LUA... " >&6; }
13228 13251
13229if test -n "$PKG_CONFIG"; then 13252if test -n "$LUA_CFLAGS"; then
13230 if test -n "$LUA_CFLAGS"; then 13253 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13231 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13254 elif test -n "$PKG_CONFIG"; then
13232 else 13255 if test -n "$PKG_CONFIG" && \
13233 if test -n "$PKG_CONFIG" && \
13234 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13235 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13257 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13236 ac_status=$? 13258 ac_status=$?
@@ -13240,15 +13262,13 @@ if test -n "$PKG_CONFIG"; then
13240else 13262else
13241 pkg_failed=yes 13263 pkg_failed=yes
13242fi 13264fi
13243 fi 13265 else
13244else 13266 pkg_failed=untried
13245 pkg_failed=untried
13246fi 13267fi
13247if test -n "$PKG_CONFIG"; then 13268if test -n "$LUA_LIBS"; then
13248 if test -n "$LUA_LIBS"; then 13269 pkg_cv_LUA_LIBS="$LUA_LIBS"
13249 pkg_cv_LUA_LIBS="$LUA_LIBS" 13270 elif test -n "$PKG_CONFIG"; then
13250 else 13271 if test -n "$PKG_CONFIG" && \
13251 if test -n "$PKG_CONFIG" && \
13252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13253 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13273 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13254 ac_status=$? 13274 ac_status=$?
@@ -13258,14 +13278,15 @@ if test -n "$PKG_CONFIG"; then
13258else 13278else
13259 pkg_failed=yes 13279 pkg_failed=yes
13260fi 13280fi
13261 fi 13281 else
13262else 13282 pkg_failed=untried
13263 pkg_failed=untried
13264fi 13283fi
13265 13284
13266 13285
13267 13286
13268if test $pkg_failed = yes; then 13287if test $pkg_failed = yes; then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13289$as_echo "no" >&6; }
13269 13290
13270if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13291if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13271 _pkg_short_errors_supported=yes 13292 _pkg_short_errors_supported=yes
@@ -13273,17 +13294,17 @@ else
13273 _pkg_short_errors_supported=no 13294 _pkg_short_errors_supported=no
13274fi 13295fi
13275 if test $_pkg_short_errors_supported = yes; then 13296 if test $_pkg_short_errors_supported = yes; then
13276 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13297 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13277 else 13298 else
13278 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13299 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13279 fi 13300 fi
13280 # Put the nasty error message in config.log where it belongs 13301 # Put the nasty error message in config.log where it belongs
13281 echo "$LUA_PKG_ERRORS" >&5 13302 echo "$LUA_PKG_ERRORS" >&5
13282 13303
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13304 have_lua="no"
13284$as_echo "no" >&6; }
13285 have_lua="no"
13286elif test $pkg_failed = untried; then 13305elif test $pkg_failed = untried; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307$as_echo "no" >&6; }
13287 have_lua="no" 13308 have_lua="no"
13288else 13309else
13289 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13310 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13307,16 +13328,17 @@ $as_echo "yes" >&6; }
13307 requirement_lua="lua5.1" 13328 requirement_lua="lua5.1"
13308fi 13329fi
13309elif test $pkg_failed = untried; then 13330elif test $pkg_failed = untried; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13332$as_echo "no" >&6; }
13310 13333
13311pkg_failed=no 13334pkg_failed=no
13312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13313$as_echo_n "checking for LUA... " >&6; } 13336$as_echo_n "checking for LUA... " >&6; }
13314 13337
13315if test -n "$PKG_CONFIG"; then 13338if test -n "$LUA_CFLAGS"; then
13316 if test -n "$LUA_CFLAGS"; then 13339 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13317 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13340 elif test -n "$PKG_CONFIG"; then
13318 else 13341 if test -n "$PKG_CONFIG" && \
13319 if test -n "$PKG_CONFIG" && \
13320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5 13342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13321 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5 13343 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13322 ac_status=$? 13344 ac_status=$?
@@ -13326,15 +13348,13 @@ if test -n "$PKG_CONFIG"; then
13326else 13348else
13327 pkg_failed=yes 13349 pkg_failed=yes
13328fi 13350fi
13329 fi 13351 else
13330else 13352 pkg_failed=untried
13331 pkg_failed=untried
13332fi 13353fi
13333if test -n "$PKG_CONFIG"; then 13354if test -n "$LUA_LIBS"; then
13334 if test -n "$LUA_LIBS"; then 13355 pkg_cv_LUA_LIBS="$LUA_LIBS"
13335 pkg_cv_LUA_LIBS="$LUA_LIBS" 13356 elif test -n "$PKG_CONFIG"; then
13336 else 13357 if test -n "$PKG_CONFIG" && \
13337 if test -n "$PKG_CONFIG" && \
13338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5 13358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13339 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5 13359 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13340 ac_status=$? 13360 ac_status=$?
@@ -13344,14 +13364,15 @@ if test -n "$PKG_CONFIG"; then
13344else 13364else
13345 pkg_failed=yes 13365 pkg_failed=yes
13346fi 13366fi
13347 fi 13367 else
13348else 13368 pkg_failed=untried
13349 pkg_failed=untried
13350fi 13369fi
13351 13370
13352 13371
13353 13372
13354if test $pkg_failed = yes; then 13373if test $pkg_failed = yes; then
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375$as_echo "no" >&6; }
13355 13376
13356if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13377if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13357 _pkg_short_errors_supported=yes 13378 _pkg_short_errors_supported=yes
@@ -13359,25 +13380,22 @@ else
13359 _pkg_short_errors_supported=no 13380 _pkg_short_errors_supported=no
13360fi 13381fi
13361 if test $_pkg_short_errors_supported = yes; then 13382 if test $_pkg_short_errors_supported = yes; then
13362 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.1 >= 5.1.0"` 13383 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
13363 else 13384 else
13364 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.1 >= 5.1.0"` 13385 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
13365 fi 13386 fi
13366 # Put the nasty error message in config.log where it belongs 13387 # Put the nasty error message in config.log where it belongs
13367 echo "$LUA_PKG_ERRORS" >&5 13388 echo "$LUA_PKG_ERRORS" >&5
13368 13389
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370$as_echo "no" >&6; }
13371 13390
13372pkg_failed=no 13391pkg_failed=no
13373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13374$as_echo_n "checking for LUA... " >&6; } 13393$as_echo_n "checking for LUA... " >&6; }
13375 13394
13376if test -n "$PKG_CONFIG"; then 13395if test -n "$LUA_CFLAGS"; then
13377 if test -n "$LUA_CFLAGS"; then 13396 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13378 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13397 elif test -n "$PKG_CONFIG"; then
13379 else 13398 if test -n "$PKG_CONFIG" && \
13380 if test -n "$PKG_CONFIG" && \
13381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 13399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13382 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 13400 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13383 ac_status=$? 13401 ac_status=$?
@@ -13387,15 +13405,13 @@ if test -n "$PKG_CONFIG"; then
13387else 13405else
13388 pkg_failed=yes 13406 pkg_failed=yes
13389fi 13407fi
13390 fi 13408 else
13391else 13409 pkg_failed=untried
13392 pkg_failed=untried
13393fi 13410fi
13394if test -n "$PKG_CONFIG"; then 13411if test -n "$LUA_LIBS"; then
13395 if test -n "$LUA_LIBS"; then 13412 pkg_cv_LUA_LIBS="$LUA_LIBS"
13396 pkg_cv_LUA_LIBS="$LUA_LIBS" 13413 elif test -n "$PKG_CONFIG"; then
13397 else 13414 if test -n "$PKG_CONFIG" && \
13398 if test -n "$PKG_CONFIG" && \
13399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 13415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13400 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 13416 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13401 ac_status=$? 13417 ac_status=$?
@@ -13405,14 +13421,15 @@ if test -n "$PKG_CONFIG"; then
13405else 13421else
13406 pkg_failed=yes 13422 pkg_failed=yes
13407fi 13423fi
13408 fi 13424 else
13409else 13425 pkg_failed=untried
13410 pkg_failed=untried
13411fi 13426fi
13412 13427
13413 13428
13414 13429
13415if test $pkg_failed = yes; then 13430if test $pkg_failed = yes; then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432$as_echo "no" >&6; }
13416 13433
13417if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13434if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13418 _pkg_short_errors_supported=yes 13435 _pkg_short_errors_supported=yes
@@ -13420,25 +13437,22 @@ else
13420 _pkg_short_errors_supported=no 13437 _pkg_short_errors_supported=no
13421fi 13438fi
13422 if test $_pkg_short_errors_supported = yes; then 13439 if test $_pkg_short_errors_supported = yes; then
13423 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 13440 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13424 else 13441 else
13425 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 13442 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13426 fi 13443 fi
13427 # Put the nasty error message in config.log where it belongs 13444 # Put the nasty error message in config.log where it belongs
13428 echo "$LUA_PKG_ERRORS" >&5 13445 echo "$LUA_PKG_ERRORS" >&5
13429 13446
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13431$as_echo "no" >&6; }
13432 13447
13433pkg_failed=no 13448pkg_failed=no
13434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13435$as_echo_n "checking for LUA... " >&6; } 13450$as_echo_n "checking for LUA... " >&6; }
13436 13451
13437if test -n "$PKG_CONFIG"; then 13452if test -n "$LUA_CFLAGS"; then
13438 if test -n "$LUA_CFLAGS"; then 13453 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13439 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13454 elif test -n "$PKG_CONFIG"; then
13440 else 13455 if test -n "$PKG_CONFIG" && \
13441 if test -n "$PKG_CONFIG" && \
13442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13443 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13457 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13444 ac_status=$? 13458 ac_status=$?
@@ -13448,15 +13462,13 @@ if test -n "$PKG_CONFIG"; then
13448else 13462else
13449 pkg_failed=yes 13463 pkg_failed=yes
13450fi 13464fi
13451 fi 13465 else
13452else 13466 pkg_failed=untried
13453 pkg_failed=untried
13454fi 13467fi
13455if test -n "$PKG_CONFIG"; then 13468if test -n "$LUA_LIBS"; then
13456 if test -n "$LUA_LIBS"; then 13469 pkg_cv_LUA_LIBS="$LUA_LIBS"
13457 pkg_cv_LUA_LIBS="$LUA_LIBS" 13470 elif test -n "$PKG_CONFIG"; then
13458 else 13471 if test -n "$PKG_CONFIG" && \
13459 if test -n "$PKG_CONFIG" && \
13460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13461 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13473 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13462 ac_status=$? 13474 ac_status=$?
@@ -13466,14 +13478,15 @@ if test -n "$PKG_CONFIG"; then
13466else 13478else
13467 pkg_failed=yes 13479 pkg_failed=yes
13468fi 13480fi
13469 fi 13481 else
13470else 13482 pkg_failed=untried
13471 pkg_failed=untried
13472fi 13483fi
13473 13484
13474 13485
13475 13486
13476if test $pkg_failed = yes; then 13487if test $pkg_failed = yes; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13489$as_echo "no" >&6; }
13477 13490
13478if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13491if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13479 _pkg_short_errors_supported=yes 13492 _pkg_short_errors_supported=yes
@@ -13481,17 +13494,17 @@ else
13481 _pkg_short_errors_supported=no 13494 _pkg_short_errors_supported=no
13482fi 13495fi
13483 if test $_pkg_short_errors_supported = yes; then 13496 if test $_pkg_short_errors_supported = yes; then
13484 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13497 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13485 else 13498 else
13486 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13499 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13487 fi 13500 fi
13488 # Put the nasty error message in config.log where it belongs 13501 # Put the nasty error message in config.log where it belongs
13489 echo "$LUA_PKG_ERRORS" >&5 13502 echo "$LUA_PKG_ERRORS" >&5
13490 13503
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13504 have_lua="no"
13492$as_echo "no" >&6; }
13493 have_lua="no"
13494elif test $pkg_failed = untried; then 13505elif test $pkg_failed = untried; then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13507$as_echo "no" >&6; }
13495 have_lua="no" 13508 have_lua="no"
13496else 13509else
13497 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13510 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13501,16 +13514,17 @@ $as_echo "yes" >&6; }
13501 requirement_lua="lua51" 13514 requirement_lua="lua51"
13502fi 13515fi
13503elif test $pkg_failed = untried; then 13516elif test $pkg_failed = untried; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13518$as_echo "no" >&6; }
13504 13519
13505pkg_failed=no 13520pkg_failed=no
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13507$as_echo_n "checking for LUA... " >&6; } 13522$as_echo_n "checking for LUA... " >&6; }
13508 13523
13509if test -n "$PKG_CONFIG"; then 13524if test -n "$LUA_CFLAGS"; then
13510 if test -n "$LUA_CFLAGS"; then 13525 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13511 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13526 elif test -n "$PKG_CONFIG"; then
13512 else 13527 if test -n "$PKG_CONFIG" && \
13513 if test -n "$PKG_CONFIG" && \
13514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13515 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13529 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13516 ac_status=$? 13530 ac_status=$?
@@ -13520,15 +13534,13 @@ if test -n "$PKG_CONFIG"; then
13520else 13534else
13521 pkg_failed=yes 13535 pkg_failed=yes
13522fi 13536fi
13523 fi 13537 else
13524else 13538 pkg_failed=untried
13525 pkg_failed=untried
13526fi 13539fi
13527if test -n "$PKG_CONFIG"; then 13540if test -n "$LUA_LIBS"; then
13528 if test -n "$LUA_LIBS"; then 13541 pkg_cv_LUA_LIBS="$LUA_LIBS"
13529 pkg_cv_LUA_LIBS="$LUA_LIBS" 13542 elif test -n "$PKG_CONFIG"; then
13530 else 13543 if test -n "$PKG_CONFIG" && \
13531 if test -n "$PKG_CONFIG" && \
13532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13533 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13545 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13534 ac_status=$? 13546 ac_status=$?
@@ -13538,14 +13550,15 @@ if test -n "$PKG_CONFIG"; then
13538else 13550else
13539 pkg_failed=yes 13551 pkg_failed=yes
13540fi 13552fi
13541 fi 13553 else
13542else 13554 pkg_failed=untried
13543 pkg_failed=untried
13544fi 13555fi
13545 13556
13546 13557
13547 13558
13548if test $pkg_failed = yes; then 13559if test $pkg_failed = yes; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561$as_echo "no" >&6; }
13549 13562
13550if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13563if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13551 _pkg_short_errors_supported=yes 13564 _pkg_short_errors_supported=yes
@@ -13553,17 +13566,17 @@ else
13553 _pkg_short_errors_supported=no 13566 _pkg_short_errors_supported=no
13554fi 13567fi
13555 if test $_pkg_short_errors_supported = yes; then 13568 if test $_pkg_short_errors_supported = yes; then
13556 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13569 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13557 else 13570 else
13558 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13571 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13559 fi 13572 fi
13560 # Put the nasty error message in config.log where it belongs 13573 # Put the nasty error message in config.log where it belongs
13561 echo "$LUA_PKG_ERRORS" >&5 13574 echo "$LUA_PKG_ERRORS" >&5
13562 13575
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13576 have_lua="no"
13564$as_echo "no" >&6; }
13565 have_lua="no"
13566elif test $pkg_failed = untried; then 13577elif test $pkg_failed = untried; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579$as_echo "no" >&6; }
13567 have_lua="no" 13580 have_lua="no"
13568else 13581else
13569 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13582 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13580,16 +13593,17 @@ $as_echo "yes" >&6; }
13580 requirement_lua="lua-5.1" 13593 requirement_lua="lua-5.1"
13581fi 13594fi
13582elif test $pkg_failed = untried; then 13595elif test $pkg_failed = untried; then
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597$as_echo "no" >&6; }
13583 13598
13584pkg_failed=no 13599pkg_failed=no
13585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13586$as_echo_n "checking for LUA... " >&6; } 13601$as_echo_n "checking for LUA... " >&6; }
13587 13602
13588if test -n "$PKG_CONFIG"; then 13603if test -n "$LUA_CFLAGS"; then
13589 if test -n "$LUA_CFLAGS"; then 13604 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13590 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13605 elif test -n "$PKG_CONFIG"; then
13591 else 13606 if test -n "$PKG_CONFIG" && \
13592 if test -n "$PKG_CONFIG" && \
13593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 13607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13594 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 13608 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13595 ac_status=$? 13609 ac_status=$?
@@ -13599,15 +13613,13 @@ if test -n "$PKG_CONFIG"; then
13599else 13613else
13600 pkg_failed=yes 13614 pkg_failed=yes
13601fi 13615fi
13602 fi 13616 else
13603else 13617 pkg_failed=untried
13604 pkg_failed=untried
13605fi 13618fi
13606if test -n "$PKG_CONFIG"; then 13619if test -n "$LUA_LIBS"; then
13607 if test -n "$LUA_LIBS"; then 13620 pkg_cv_LUA_LIBS="$LUA_LIBS"
13608 pkg_cv_LUA_LIBS="$LUA_LIBS" 13621 elif test -n "$PKG_CONFIG"; then
13609 else 13622 if test -n "$PKG_CONFIG" && \
13610 if test -n "$PKG_CONFIG" && \
13611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5 13623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13612 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5 13624 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13613 ac_status=$? 13625 ac_status=$?
@@ -13617,14 +13629,15 @@ if test -n "$PKG_CONFIG"; then
13617else 13629else
13618 pkg_failed=yes 13630 pkg_failed=yes
13619fi 13631fi
13620 fi 13632 else
13621else 13633 pkg_failed=untried
13622 pkg_failed=untried
13623fi 13634fi
13624 13635
13625 13636
13626 13637
13627if test $pkg_failed = yes; then 13638if test $pkg_failed = yes; then
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640$as_echo "no" >&6; }
13628 13641
13629if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13642if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13630 _pkg_short_errors_supported=yes 13643 _pkg_short_errors_supported=yes
@@ -13632,25 +13645,22 @@ else
13632 _pkg_short_errors_supported=no 13645 _pkg_short_errors_supported=no
13633fi 13646fi
13634 if test $_pkg_short_errors_supported = yes; then 13647 if test $_pkg_short_errors_supported = yes; then
13635 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 13648 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13636 else 13649 else
13637 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.1 >= 5.1.0"` 13650 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13638 fi 13651 fi
13639 # Put the nasty error message in config.log where it belongs 13652 # Put the nasty error message in config.log where it belongs
13640 echo "$LUA_PKG_ERRORS" >&5 13653 echo "$LUA_PKG_ERRORS" >&5
13641 13654
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13643$as_echo "no" >&6; }
13644 13655
13645pkg_failed=no 13656pkg_failed=no
13646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13647$as_echo_n "checking for LUA... " >&6; } 13658$as_echo_n "checking for LUA... " >&6; }
13648 13659
13649if test -n "$PKG_CONFIG"; then 13660if test -n "$LUA_CFLAGS"; then
13650 if test -n "$LUA_CFLAGS"; then 13661 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13651 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13662 elif test -n "$PKG_CONFIG"; then
13652 else 13663 if test -n "$PKG_CONFIG" && \
13653 if test -n "$PKG_CONFIG" && \
13654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13655 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13665 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13656 ac_status=$? 13666 ac_status=$?
@@ -13660,15 +13670,13 @@ if test -n "$PKG_CONFIG"; then
13660else 13670else
13661 pkg_failed=yes 13671 pkg_failed=yes
13662fi 13672fi
13663 fi 13673 else
13664else 13674 pkg_failed=untried
13665 pkg_failed=untried
13666fi 13675fi
13667if test -n "$PKG_CONFIG"; then 13676if test -n "$LUA_LIBS"; then
13668 if test -n "$LUA_LIBS"; then 13677 pkg_cv_LUA_LIBS="$LUA_LIBS"
13669 pkg_cv_LUA_LIBS="$LUA_LIBS" 13678 elif test -n "$PKG_CONFIG"; then
13670 else 13679 if test -n "$PKG_CONFIG" && \
13671 if test -n "$PKG_CONFIG" && \
13672 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13673 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13681 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13674 ac_status=$? 13682 ac_status=$?
@@ -13678,14 +13686,15 @@ if test -n "$PKG_CONFIG"; then
13678else 13686else
13679 pkg_failed=yes 13687 pkg_failed=yes
13680fi 13688fi
13681 fi 13689 else
13682else 13690 pkg_failed=untried
13683 pkg_failed=untried
13684fi 13691fi
13685 13692
13686 13693
13687 13694
13688if test $pkg_failed = yes; then 13695if test $pkg_failed = yes; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697$as_echo "no" >&6; }
13689 13698
13690if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13699if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13691 _pkg_short_errors_supported=yes 13700 _pkg_short_errors_supported=yes
@@ -13693,17 +13702,17 @@ else
13693 _pkg_short_errors_supported=no 13702 _pkg_short_errors_supported=no
13694fi 13703fi
13695 if test $_pkg_short_errors_supported = yes; then 13704 if test $_pkg_short_errors_supported = yes; then
13696 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13705 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13697 else 13706 else
13698 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13707 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13699 fi 13708 fi
13700 # Put the nasty error message in config.log where it belongs 13709 # Put the nasty error message in config.log where it belongs
13701 echo "$LUA_PKG_ERRORS" >&5 13710 echo "$LUA_PKG_ERRORS" >&5
13702 13711
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13712 have_lua="no"
13704$as_echo "no" >&6; }
13705 have_lua="no"
13706elif test $pkg_failed = untried; then 13713elif test $pkg_failed = untried; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13715$as_echo "no" >&6; }
13707 have_lua="no" 13716 have_lua="no"
13708else 13717else
13709 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13718 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13713,16 +13722,17 @@ $as_echo "yes" >&6; }
13713 requirement_lua="lua51" 13722 requirement_lua="lua51"
13714fi 13723fi
13715elif test $pkg_failed = untried; then 13724elif test $pkg_failed = untried; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726$as_echo "no" >&6; }
13716 13727
13717pkg_failed=no 13728pkg_failed=no
13718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5 13729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13719$as_echo_n "checking for LUA... " >&6; } 13730$as_echo_n "checking for LUA... " >&6; }
13720 13731
13721if test -n "$PKG_CONFIG"; then 13732if test -n "$LUA_CFLAGS"; then
13722 if test -n "$LUA_CFLAGS"; then 13733 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13723 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" 13734 elif test -n "$PKG_CONFIG"; then
13724 else 13735 if test -n "$PKG_CONFIG" && \
13725 if test -n "$PKG_CONFIG" && \
13726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13727 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13737 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13728 ac_status=$? 13738 ac_status=$?
@@ -13732,15 +13742,13 @@ if test -n "$PKG_CONFIG"; then
13732else 13742else
13733 pkg_failed=yes 13743 pkg_failed=yes
13734fi 13744fi
13735 fi 13745 else
13736else 13746 pkg_failed=untried
13737 pkg_failed=untried
13738fi 13747fi
13739if test -n "$PKG_CONFIG"; then 13748if test -n "$LUA_LIBS"; then
13740 if test -n "$LUA_LIBS"; then 13749 pkg_cv_LUA_LIBS="$LUA_LIBS"
13741 pkg_cv_LUA_LIBS="$LUA_LIBS" 13750 elif test -n "$PKG_CONFIG"; then
13742 else 13751 if test -n "$PKG_CONFIG" && \
13743 if test -n "$PKG_CONFIG" && \
13744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5 13752 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13745 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5 13753 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13746 ac_status=$? 13754 ac_status=$?
@@ -13750,14 +13758,15 @@ if test -n "$PKG_CONFIG"; then
13750else 13758else
13751 pkg_failed=yes 13759 pkg_failed=yes
13752fi 13760fi
13753 fi 13761 else
13754else 13762 pkg_failed=untried
13755 pkg_failed=untried
13756fi 13763fi
13757 13764
13758 13765
13759 13766
13760if test $pkg_failed = yes; then 13767if test $pkg_failed = yes; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769$as_echo "no" >&6; }
13761 13770
13762if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13771if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13763 _pkg_short_errors_supported=yes 13772 _pkg_short_errors_supported=yes
@@ -13765,17 +13774,17 @@ else
13765 _pkg_short_errors_supported=no 13774 _pkg_short_errors_supported=no
13766fi 13775fi
13767 if test $_pkg_short_errors_supported = yes; then 13776 if test $_pkg_short_errors_supported = yes; then
13768 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13777 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13769 else 13778 else
13770 LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua51 >= 5.1.0"` 13779 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13771 fi 13780 fi
13772 # Put the nasty error message in config.log where it belongs 13781 # Put the nasty error message in config.log where it belongs
13773 echo "$LUA_PKG_ERRORS" >&5 13782 echo "$LUA_PKG_ERRORS" >&5
13774 13783
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13784 have_lua="no"
13776$as_echo "no" >&6; }
13777 have_lua="no"
13778elif test $pkg_failed = untried; then 13785elif test $pkg_failed = untried; then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13787$as_echo "no" >&6; }
13779 have_lua="no" 13788 have_lua="no"
13780else 13789else
13781 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS 13790 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
@@ -13860,7 +13869,7 @@ fi
13860 13869
13861 13870
13862if test "x${have_lua}" = "xno" ; then 13871if test "x${have_lua}" = "xno" ; then
13863 as_fn_error "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5 13872 as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
13864fi 13873fi
13865 13874
13866 13875
@@ -13868,64 +13877,62 @@ pkg_failed=no
13868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5 13877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
13869$as_echo_n "checking for MINIMAL... " >&6; } 13878$as_echo_n "checking for MINIMAL... " >&6; }
13870 13879
13871if test -n "$PKG_CONFIG"; then 13880if test -n "$MINIMAL_CFLAGS"; then
13872 if test -n "$MINIMAL_CFLAGS"; then 13881 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
13873 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS" 13882 elif test -n "$PKG_CONFIG"; then
13874 else 13883 if test -n "$PKG_CONFIG" && \
13875 if test -n "$PKG_CONFIG" && \
13876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 13884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13877 eina >= 1.1.0 13885 eina >= 1.2.0
13878 eet >= 1.5.0 13886 eet >= 1.6.0
13879 \""; } >&5 13887 \""; } >&5
13880 ($PKG_CONFIG --exists --print-errors " 13888 ($PKG_CONFIG --exists --print-errors "
13881 eina >= 1.1.0 13889 eina >= 1.2.0
13882 eet >= 1.5.0 13890 eet >= 1.6.0
13883 ") 2>&5 13891 ") 2>&5
13884 ac_status=$? 13892 ac_status=$?
13885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13886 test $ac_status = 0; }; then 13894 test $ac_status = 0; }; then
13887 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags " 13895 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
13888 eina >= 1.1.0 13896 eina >= 1.2.0
13889 eet >= 1.5.0 13897 eet >= 1.6.0
13890 " 2>/dev/null` 13898 " 2>/dev/null`
13891else 13899else
13892 pkg_failed=yes 13900 pkg_failed=yes
13893fi 13901fi
13894 fi 13902 else
13895else 13903 pkg_failed=untried
13896 pkg_failed=untried
13897fi 13904fi
13898if test -n "$PKG_CONFIG"; then 13905if test -n "$MINIMAL_LIBS"; then
13899 if test -n "$MINIMAL_LIBS"; then 13906 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
13900 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS" 13907 elif test -n "$PKG_CONFIG"; then
13901 else 13908 if test -n "$PKG_CONFIG" && \
13902 if test -n "$PKG_CONFIG" && \
13903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 13909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13904 eina >= 1.1.0 13910 eina >= 1.2.0
13905 eet >= 1.5.0 13911 eet >= 1.6.0
13906 \""; } >&5 13912 \""; } >&5
13907 ($PKG_CONFIG --exists --print-errors " 13913 ($PKG_CONFIG --exists --print-errors "
13908 eina >= 1.1.0 13914 eina >= 1.2.0
13909 eet >= 1.5.0 13915 eet >= 1.6.0
13910 ") 2>&5 13916 ") 2>&5
13911 ac_status=$? 13917 ac_status=$?
13912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13913 test $ac_status = 0; }; then 13919 test $ac_status = 0; }; then
13914 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs " 13920 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
13915 eina >= 1.1.0 13921 eina >= 1.2.0
13916 eet >= 1.5.0 13922 eet >= 1.6.0
13917 " 2>/dev/null` 13923 " 2>/dev/null`
13918else 13924else
13919 pkg_failed=yes 13925 pkg_failed=yes
13920fi 13926fi
13921 fi 13927 else
13922else 13928 pkg_failed=untried
13923 pkg_failed=untried
13924fi 13929fi
13925 13930
13926 13931
13927 13932
13928if test $pkg_failed = yes; then 13933if test $pkg_failed = yes; then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13935$as_echo "no" >&6; }
13929 13936
13930if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13937if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13931 _pkg_short_errors_supported=yes 13938 _pkg_short_errors_supported=yes
@@ -13933,22 +13940,22 @@ else
13933 _pkg_short_errors_supported=no 13940 _pkg_short_errors_supported=no
13934fi 13941fi
13935 if test $_pkg_short_errors_supported = yes; then 13942 if test $_pkg_short_errors_supported = yes; then
13936 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 13943 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
13937 eina >= 1.1.0 13944 eina >= 1.2.0
13938 eet >= 1.5.0 13945 eet >= 1.6.0
13939 "` 13946 " 2>&1`
13940 else 13947 else
13941 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 13948 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
13942 eina >= 1.1.0 13949 eina >= 1.2.0
13943 eet >= 1.5.0 13950 eet >= 1.6.0
13944 "` 13951 " 2>&1`
13945 fi 13952 fi
13946 # Put the nasty error message in config.log where it belongs 13953 # Put the nasty error message in config.log where it belongs
13947 echo "$MINIMAL_PKG_ERRORS" >&5 13954 echo "$MINIMAL_PKG_ERRORS" >&5
13948 13955
13949 as_fn_error "Package requirements ( 13956 as_fn_error $? "Package requirements (
13950 eina >= 1.1.0 13957 eina >= 1.2.0
13951 eet >= 1.5.0 13958 eet >= 1.6.0
13952 ) were not met: 13959 ) were not met:
13953 13960
13954$MINIMAL_PKG_ERRORS 13961$MINIMAL_PKG_ERRORS
@@ -13958,12 +13965,13 @@ installed software in a non-standard prefix.
13958 13965
13959Alternatively, you may set the environment variables MINIMAL_CFLAGS 13966Alternatively, you may set the environment variables MINIMAL_CFLAGS
13960and MINIMAL_LIBS to avoid the need to call pkg-config. 13967and MINIMAL_LIBS to avoid the need to call pkg-config.
13961See the pkg-config man page for more details. 13968See the pkg-config man page for more details." "$LINENO" 5
13962" "$LINENO" 5
13963elif test $pkg_failed = untried; then 13969elif test $pkg_failed = untried; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971$as_echo "no" >&6; }
13964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13966as_fn_error "The pkg-config script could not be found or is too old. Make sure it 13974as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13967is in your PATH or set the PKG_CONFIG environment variable to the full 13975is in your PATH or set the PKG_CONFIG environment variable to the full
13968path to pkg-config. 13976path to pkg-config.
13969 13977
@@ -13972,13 +13980,13 @@ and MINIMAL_LIBS to avoid the need to call pkg-config.
13972See the pkg-config man page for more details. 13980See the pkg-config man page for more details.
13973 13981
13974To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13982To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13975See \`config.log' for more details." "$LINENO" 5; } 13983See \`config.log' for more details" "$LINENO" 5 ; }
13976else 13984else
13977 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS 13985 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
13978 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS 13986 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13980$as_echo "yes" >&6; } 13988$as_echo "yes" >&6; }
13981 : 13989
13982fi 13990fi
13983 13991
13984 13992
@@ -13986,94 +13994,92 @@ pkg_failed=no
13986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5 13994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
13987$as_echo_n "checking for EDJE... " >&6; } 13995$as_echo_n "checking for EDJE... " >&6; }
13988 13996
13989if test -n "$PKG_CONFIG"; then 13997if test -n "$EDJE_CFLAGS"; then
13990 if test -n "$EDJE_CFLAGS"; then 13998 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
13991 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS" 13999 elif test -n "$PKG_CONFIG"; then
13992 else 14000 if test -n "$PKG_CONFIG" && \
13993 if test -n "$PKG_CONFIG" && \
13994 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13995 eina >= 1.1.0 14002 eina >= 1.2.0
13996 eet >= 1.5.0 14003 eet >= 1.6.0
13997 evas >= 1.1.0 14004 evas >= 1.2.0
13998 ecore >= 1.1.0 14005 ecore >= 1.2.0
13999 ecore-evas >= 1.1.0 14006 ecore-evas >= 1.2.0
14000 ecore-file >= 1.1.0 14007 ecore-file >= 1.2.0
14001 embryo >= 1.1.0 14008 embryo >= 1.2.0
14002 \""; } >&5 14009 \""; } >&5
14003 ($PKG_CONFIG --exists --print-errors " 14010 ($PKG_CONFIG --exists --print-errors "
14004 eina >= 1.1.0 14011 eina >= 1.2.0
14005 eet >= 1.5.0 14012 eet >= 1.6.0
14006 evas >= 1.1.0 14013 evas >= 1.2.0
14007 ecore >= 1.1.0 14014 ecore >= 1.2.0
14008 ecore-evas >= 1.1.0 14015 ecore-evas >= 1.2.0
14009 ecore-file >= 1.1.0 14016 ecore-file >= 1.2.0
14010 embryo >= 1.1.0 14017 embryo >= 1.2.0
14011 ") 2>&5 14018 ") 2>&5
14012 ac_status=$? 14019 ac_status=$?
14013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14014 test $ac_status = 0; }; then 14021 test $ac_status = 0; }; then
14015 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags " 14022 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
14016 eina >= 1.1.0 14023 eina >= 1.2.0
14017 eet >= 1.5.0 14024 eet >= 1.6.0
14018 evas >= 1.1.0 14025 evas >= 1.2.0
14019 ecore >= 1.1.0 14026 ecore >= 1.2.0
14020 ecore-evas >= 1.1.0 14027 ecore-evas >= 1.2.0
14021 ecore-file >= 1.1.0 14028 ecore-file >= 1.2.0
14022 embryo >= 1.1.0 14029 embryo >= 1.2.0
14023 " 2>/dev/null` 14030 " 2>/dev/null`
14024else 14031else
14025 pkg_failed=yes 14032 pkg_failed=yes
14026fi 14033fi
14027 fi 14034 else
14028else 14035 pkg_failed=untried
14029 pkg_failed=untried
14030fi 14036fi
14031if test -n "$PKG_CONFIG"; then 14037if test -n "$EDJE_LIBS"; then
14032 if test -n "$EDJE_LIBS"; then 14038 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
14033 pkg_cv_EDJE_LIBS="$EDJE_LIBS" 14039 elif test -n "$PKG_CONFIG"; then
14034 else 14040 if test -n "$PKG_CONFIG" && \
14035 if test -n "$PKG_CONFIG" && \
14036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14037 eina >= 1.1.0 14042 eina >= 1.2.0
14038 eet >= 1.5.0 14043 eet >= 1.6.0
14039 evas >= 1.1.0 14044 evas >= 1.2.0
14040 ecore >= 1.1.0 14045 ecore >= 1.2.0
14041 ecore-evas >= 1.1.0 14046 ecore-evas >= 1.2.0
14042 ecore-file >= 1.1.0 14047 ecore-file >= 1.2.0
14043 embryo >= 1.1.0 14048 embryo >= 1.2.0
14044 \""; } >&5 14049 \""; } >&5
14045 ($PKG_CONFIG --exists --print-errors " 14050 ($PKG_CONFIG --exists --print-errors "
14046 eina >= 1.1.0 14051 eina >= 1.2.0
14047 eet >= 1.5.0 14052 eet >= 1.6.0
14048 evas >= 1.1.0 14053 evas >= 1.2.0
14049 ecore >= 1.1.0 14054 ecore >= 1.2.0
14050 ecore-evas >= 1.1.0 14055 ecore-evas >= 1.2.0
14051 ecore-file >= 1.1.0 14056 ecore-file >= 1.2.0
14052 embryo >= 1.1.0 14057 embryo >= 1.2.0
14053 ") 2>&5 14058 ") 2>&5
14054 ac_status=$? 14059 ac_status=$?
14055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14056 test $ac_status = 0; }; then 14061 test $ac_status = 0; }; then
14057 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs " 14062 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
14058 eina >= 1.1.0 14063 eina >= 1.2.0
14059 eet >= 1.5.0 14064 eet >= 1.6.0
14060 evas >= 1.1.0 14065 evas >= 1.2.0
14061 ecore >= 1.1.0 14066 ecore >= 1.2.0
14062 ecore-evas >= 1.1.0 14067 ecore-evas >= 1.2.0
14063 ecore-file >= 1.1.0 14068 ecore-file >= 1.2.0
14064 embryo >= 1.1.0 14069 embryo >= 1.2.0
14065 " 2>/dev/null` 14070 " 2>/dev/null`
14066else 14071else
14067 pkg_failed=yes 14072 pkg_failed=yes
14068fi 14073fi
14069 fi 14074 else
14070else 14075 pkg_failed=untried
14071 pkg_failed=untried
14072fi 14076fi
14073 14077
14074 14078
14075 14079
14076if test $pkg_failed = yes; then 14080if test $pkg_failed = yes; then
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14082$as_echo "no" >&6; }
14077 14083
14078if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14079 _pkg_short_errors_supported=yes 14085 _pkg_short_errors_supported=yes
@@ -14081,37 +14087,37 @@ else
14081 _pkg_short_errors_supported=no 14087 _pkg_short_errors_supported=no
14082fi 14088fi
14083 if test $_pkg_short_errors_supported = yes; then 14089 if test $_pkg_short_errors_supported = yes; then
14084 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 14090 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14085 eina >= 1.1.0 14091 eina >= 1.2.0
14086 eet >= 1.5.0 14092 eet >= 1.6.0
14087 evas >= 1.1.0 14093 evas >= 1.2.0
14088 ecore >= 1.1.0 14094 ecore >= 1.2.0
14089 ecore-evas >= 1.1.0 14095 ecore-evas >= 1.2.0
14090 ecore-file >= 1.1.0 14096 ecore-file >= 1.2.0
14091 embryo >= 1.1.0 14097 embryo >= 1.2.0
14092 "` 14098 " 2>&1`
14093 else 14099 else
14094 EDJE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 14100 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14095 eina >= 1.1.0 14101 eina >= 1.2.0
14096 eet >= 1.5.0 14102 eet >= 1.6.0
14097 evas >= 1.1.0 14103 evas >= 1.2.0
14098 ecore >= 1.1.0 14104 ecore >= 1.2.0
14099 ecore-evas >= 1.1.0 14105 ecore-evas >= 1.2.0
14100 ecore-file >= 1.1.0 14106 ecore-file >= 1.2.0
14101 embryo >= 1.1.0 14107 embryo >= 1.2.0
14102 "` 14108 " 2>&1`
14103 fi 14109 fi
14104 # Put the nasty error message in config.log where it belongs 14110 # Put the nasty error message in config.log where it belongs
14105 echo "$EDJE_PKG_ERRORS" >&5 14111 echo "$EDJE_PKG_ERRORS" >&5
14106 14112
14107 as_fn_error "Package requirements ( 14113 as_fn_error $? "Package requirements (
14108 eina >= 1.1.0 14114 eina >= 1.2.0
14109 eet >= 1.5.0 14115 eet >= 1.6.0
14110 evas >= 1.1.0 14116 evas >= 1.2.0
14111 ecore >= 1.1.0 14117 ecore >= 1.2.0
14112 ecore-evas >= 1.1.0 14118 ecore-evas >= 1.2.0
14113 ecore-file >= 1.1.0 14119 ecore-file >= 1.2.0
14114 embryo >= 1.1.0 14120 embryo >= 1.2.0
14115 ) were not met: 14121 ) were not met:
14116 14122
14117$EDJE_PKG_ERRORS 14123$EDJE_PKG_ERRORS
@@ -14121,12 +14127,13 @@ installed software in a non-standard prefix.
14121 14127
14122Alternatively, you may set the environment variables EDJE_CFLAGS 14128Alternatively, you may set the environment variables EDJE_CFLAGS
14123and EDJE_LIBS to avoid the need to call pkg-config. 14129and EDJE_LIBS to avoid the need to call pkg-config.
14124See the pkg-config man page for more details. 14130See the pkg-config man page for more details." "$LINENO" 5
14125" "$LINENO" 5
14126elif test $pkg_failed = untried; then 14131elif test $pkg_failed = untried; then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14133$as_echo "no" >&6; }
14127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14128$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14129as_fn_error "The pkg-config script could not be found or is too old. Make sure it 14136as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14130is in your PATH or set the PKG_CONFIG environment variable to the full 14137is in your PATH or set the PKG_CONFIG environment variable to the full
14131path to pkg-config. 14138path to pkg-config.
14132 14139
@@ -14135,19 +14142,19 @@ and EDJE_LIBS to avoid the need to call pkg-config.
14135See the pkg-config man page for more details. 14142See the pkg-config man page for more details.
14136 14143
14137To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14144To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14138See \`config.log' for more details." "$LINENO" 5; } 14145See \`config.log' for more details" "$LINENO" 5 ; }
14139else 14146else
14140 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS 14147 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
14141 EDJE_LIBS=$pkg_cv_EDJE_LIBS 14148 EDJE_LIBS=$pkg_cv_EDJE_LIBS
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14143$as_echo "yes" >&6; } 14150$as_echo "yes" >&6; }
14144 : 14151
14145fi 14152fi
14146 14153
14147EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}" 14154EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
14148EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}" 14155EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
14149 14156
14150requirement_edje="embryo >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0 ${requirement_edje}" 14157requirement_edje="embryo >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0 ${requirement_edje}"
14151requirement_edje="${requirement_lua} ${requirement_edje}" 14158requirement_edje="${requirement_lua} ${requirement_edje}"
14152 14159
14153have_ecore_imf="no" 14160have_ecore_imf="no"
@@ -14156,64 +14163,62 @@ pkg_failed=no
14156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5 14163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
14157$as_echo_n "checking for ECORE_IMF... " >&6; } 14164$as_echo_n "checking for ECORE_IMF... " >&6; }
14158 14165
14159if test -n "$PKG_CONFIG"; then 14166if test -n "$ECORE_IMF_CFLAGS"; then
14160 if test -n "$ECORE_IMF_CFLAGS"; then 14167 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
14161 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS" 14168 elif test -n "$PKG_CONFIG"; then
14162 else 14169 if test -n "$PKG_CONFIG" && \
14163 if test -n "$PKG_CONFIG" && \
14164 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14165 ecore-imf >= 1.1.0 14171 ecore-imf >= 1.2.0
14166 ecore-imf-evas >= 1.1.0 14172 ecore-imf-evas >= 1.2.0
14167 \""; } >&5 14173 \""; } >&5
14168 ($PKG_CONFIG --exists --print-errors " 14174 ($PKG_CONFIG --exists --print-errors "
14169 ecore-imf >= 1.1.0 14175 ecore-imf >= 1.2.0
14170 ecore-imf-evas >= 1.1.0 14176 ecore-imf-evas >= 1.2.0
14171 ") 2>&5 14177 ") 2>&5
14172 ac_status=$? 14178 ac_status=$?
14173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14174 test $ac_status = 0; }; then 14180 test $ac_status = 0; }; then
14175 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags " 14181 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
14176 ecore-imf >= 1.1.0 14182 ecore-imf >= 1.2.0
14177 ecore-imf-evas >= 1.1.0 14183 ecore-imf-evas >= 1.2.0
14178 " 2>/dev/null` 14184 " 2>/dev/null`
14179else 14185else
14180 pkg_failed=yes 14186 pkg_failed=yes
14181fi 14187fi
14182 fi 14188 else
14183else 14189 pkg_failed=untried
14184 pkg_failed=untried
14185fi 14190fi
14186if test -n "$PKG_CONFIG"; then 14191if test -n "$ECORE_IMF_LIBS"; then
14187 if test -n "$ECORE_IMF_LIBS"; then 14192 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
14188 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS" 14193 elif test -n "$PKG_CONFIG"; then
14189 else 14194 if test -n "$PKG_CONFIG" && \
14190 if test -n "$PKG_CONFIG" && \
14191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14192 ecore-imf >= 1.1.0 14196 ecore-imf >= 1.2.0
14193 ecore-imf-evas >= 1.1.0 14197 ecore-imf-evas >= 1.2.0
14194 \""; } >&5 14198 \""; } >&5
14195 ($PKG_CONFIG --exists --print-errors " 14199 ($PKG_CONFIG --exists --print-errors "
14196 ecore-imf >= 1.1.0 14200 ecore-imf >= 1.2.0
14197 ecore-imf-evas >= 1.1.0 14201 ecore-imf-evas >= 1.2.0
14198 ") 2>&5 14202 ") 2>&5
14199 ac_status=$? 14203 ac_status=$?
14200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14201 test $ac_status = 0; }; then 14205 test $ac_status = 0; }; then
14202 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs " 14206 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
14203 ecore-imf >= 1.1.0 14207 ecore-imf >= 1.2.0
14204 ecore-imf-evas >= 1.1.0 14208 ecore-imf-evas >= 1.2.0
14205 " 2>/dev/null` 14209 " 2>/dev/null`
14206else 14210else
14207 pkg_failed=yes 14211 pkg_failed=yes
14208fi 14212fi
14209 fi 14213 else
14210else 14214 pkg_failed=untried
14211 pkg_failed=untried
14212fi 14215fi
14213 14216
14214 14217
14215 14218
14216if test $pkg_failed = yes; then 14219if test $pkg_failed = yes; then
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14221$as_echo "no" >&6; }
14217 14222
14218if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14223if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14219 _pkg_short_errors_supported=yes 14224 _pkg_short_errors_supported=yes
@@ -14221,23 +14226,23 @@ else
14221 _pkg_short_errors_supported=no 14226 _pkg_short_errors_supported=no
14222fi 14227fi
14223 if test $_pkg_short_errors_supported = yes; then 14228 if test $_pkg_short_errors_supported = yes; then
14224 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 14229 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14225 ecore-imf >= 1.1.0 14230 ecore-imf >= 1.2.0
14226 ecore-imf-evas >= 1.1.0 14231 ecore-imf-evas >= 1.2.0
14227 "` 14232 " 2>&1`
14228 else 14233 else
14229 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 14234 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14230 ecore-imf >= 1.1.0 14235 ecore-imf >= 1.2.0
14231 ecore-imf-evas >= 1.1.0 14236 ecore-imf-evas >= 1.2.0
14232 "` 14237 " 2>&1`
14233 fi 14238 fi
14234 # Put the nasty error message in config.log where it belongs 14239 # Put the nasty error message in config.log where it belongs
14235 echo "$ECORE_IMF_PKG_ERRORS" >&5 14240 echo "$ECORE_IMF_PKG_ERRORS" >&5
14236 14241
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14242 have_ecore_imf="no"
14238$as_echo "no" >&6; }
14239 have_ecore_imf="no"
14240elif test $pkg_failed = untried; then 14243elif test $pkg_failed = untried; then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245$as_echo "no" >&6; }
14241 have_ecore_imf="no" 14246 have_ecore_imf="no"
14242else 14247else
14243 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS 14248 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
@@ -14249,7 +14254,7 @@ $as_echo "yes" >&6; }
14249$as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h 14254$as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
14250 14255
14251 have_ecore_imf="yes" 14256 have_ecore_imf="yes"
14252 requirement_edje="ecore-imf-evas >= 1.1.0 ecore-imf >= 1.1.0 ${requirement_edje}" 14257 requirement_edje="ecore-imf-evas >= 1.2.0 ecore-imf >= 1.2.0 ${requirement_edje}"
14253 14258
14254fi 14259fi
14255 14260
@@ -14286,11 +14291,10 @@ pkg_failed=no
14286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5 14291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
14287$as_echo_n "checking for SNDFILE... " >&6; } 14292$as_echo_n "checking for SNDFILE... " >&6; }
14288 14293
14289if test -n "$PKG_CONFIG"; then 14294if test -n "$SNDFILE_CFLAGS"; then
14290 if test -n "$SNDFILE_CFLAGS"; then 14295 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
14291 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS" 14296 elif test -n "$PKG_CONFIG"; then
14292 else 14297 if test -n "$PKG_CONFIG" && \
14293 if test -n "$PKG_CONFIG" && \
14294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5 14298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14295 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5 14299 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14296 ac_status=$? 14300 ac_status=$?
@@ -14300,15 +14304,13 @@ if test -n "$PKG_CONFIG"; then
14300else 14304else
14301 pkg_failed=yes 14305 pkg_failed=yes
14302fi 14306fi
14303 fi 14307 else
14304else 14308 pkg_failed=untried
14305 pkg_failed=untried
14306fi 14309fi
14307if test -n "$PKG_CONFIG"; then 14310if test -n "$SNDFILE_LIBS"; then
14308 if test -n "$SNDFILE_LIBS"; then 14311 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
14309 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS" 14312 elif test -n "$PKG_CONFIG"; then
14310 else 14313 if test -n "$PKG_CONFIG" && \
14311 if test -n "$PKG_CONFIG" && \
14312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5 14314 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14313 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5 14315 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14314 ac_status=$? 14316 ac_status=$?
@@ -14318,14 +14320,15 @@ if test -n "$PKG_CONFIG"; then
14318else 14320else
14319 pkg_failed=yes 14321 pkg_failed=yes
14320fi 14322fi
14321 fi 14323 else
14322else 14324 pkg_failed=untried
14323 pkg_failed=untried
14324fi 14325fi
14325 14326
14326 14327
14327 14328
14328if test $pkg_failed = yes; then 14329if test $pkg_failed = yes; then
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14331$as_echo "no" >&6; }
14329 14332
14330if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14333if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14331 _pkg_short_errors_supported=yes 14334 _pkg_short_errors_supported=yes
@@ -14333,18 +14336,18 @@ else
14333 _pkg_short_errors_supported=no 14336 _pkg_short_errors_supported=no
14334fi 14337fi
14335 if test $_pkg_short_errors_supported = yes; then 14338 if test $_pkg_short_errors_supported = yes; then
14336 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sndfile >= 1.0.21"` 14339 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.21" 2>&1`
14337 else 14340 else
14338 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile >= 1.0.21"` 14341 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile >= 1.0.21" 2>&1`
14339 fi 14342 fi
14340 # Put the nasty error message in config.log where it belongs 14343 # Put the nasty error message in config.log where it belongs
14341 echo "$SNDFILE_PKG_ERRORS" >&5 14344 echo "$SNDFILE_PKG_ERRORS" >&5
14342 14345
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14346 have_sndfile="no"; want_multisense="no"
14344$as_echo "no" >&6; }
14345 have_sndfile="no"; want_multisense="no"
14346 14347
14347elif test $pkg_failed = untried; then 14348elif test $pkg_failed = untried; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14350$as_echo "no" >&6; }
14348 have_sndfile="no"; want_multisense="no" 14351 have_sndfile="no"; want_multisense="no"
14349 14352
14350else 14353else
@@ -14362,7 +14365,7 @@ $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
14362fi 14365fi
14363 14366
14364 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then 14367 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
14365 as_fn_error "sndfile support requested, but not found by pkg-config." "$LINENO" 5 14368 as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
14366 fi 14369 fi
14367fi 14370fi
14368 if test "x${have_sndfile}" = "xyes"; then 14371 if test "x${have_sndfile}" = "xyes"; then
@@ -14389,11 +14392,10 @@ pkg_failed=no
14389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5 14392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
14390$as_echo_n "checking for REMIX... " >&6; } 14393$as_echo_n "checking for REMIX... " >&6; }
14391 14394
14392if test -n "$PKG_CONFIG"; then 14395if test -n "$REMIX_CFLAGS"; then
14393 if test -n "$REMIX_CFLAGS"; then 14396 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
14394 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS" 14397 elif test -n "$PKG_CONFIG"; then
14395 else 14398 if test -n "$PKG_CONFIG" && \
14396 if test -n "$PKG_CONFIG" && \
14397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5 14399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14398 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5 14400 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14399 ac_status=$? 14401 ac_status=$?
@@ -14403,15 +14405,13 @@ if test -n "$PKG_CONFIG"; then
14403else 14405else
14404 pkg_failed=yes 14406 pkg_failed=yes
14405fi 14407fi
14406 fi 14408 else
14407else 14409 pkg_failed=untried
14408 pkg_failed=untried
14409fi 14410fi
14410if test -n "$PKG_CONFIG"; then 14411if test -n "$REMIX_LIBS"; then
14411 if test -n "$REMIX_LIBS"; then 14412 pkg_cv_REMIX_LIBS="$REMIX_LIBS"
14412 pkg_cv_REMIX_LIBS="$REMIX_LIBS" 14413 elif test -n "$PKG_CONFIG"; then
14413 else 14414 if test -n "$PKG_CONFIG" && \
14414 if test -n "$PKG_CONFIG" && \
14415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5 14415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14416 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5 14416 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14417 ac_status=$? 14417 ac_status=$?
@@ -14421,14 +14421,15 @@ if test -n "$PKG_CONFIG"; then
14421else 14421else
14422 pkg_failed=yes 14422 pkg_failed=yes
14423fi 14423fi
14424 fi 14424 else
14425else 14425 pkg_failed=untried
14426 pkg_failed=untried
14427fi 14426fi
14428 14427
14429 14428
14430 14429
14431if test $pkg_failed = yes; then 14430if test $pkg_failed = yes; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14432$as_echo "no" >&6; }
14432 14433
14433if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14434if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14434 _pkg_short_errors_supported=yes 14435 _pkg_short_errors_supported=yes
@@ -14436,18 +14437,18 @@ else
14436 _pkg_short_errors_supported=no 14437 _pkg_short_errors_supported=no
14437fi 14438fi
14438 if test $_pkg_short_errors_supported = yes; then 14439 if test $_pkg_short_errors_supported = yes; then
14439 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "remix >= 0.2.4"` 14440 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "remix >= 0.2.4" 2>&1`
14440 else 14441 else
14441 REMIX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "remix >= 0.2.4"` 14442 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "remix >= 0.2.4" 2>&1`
14442 fi 14443 fi
14443 # Put the nasty error message in config.log where it belongs 14444 # Put the nasty error message in config.log where it belongs
14444 echo "$REMIX_PKG_ERRORS" >&5 14445 echo "$REMIX_PKG_ERRORS" >&5
14445 14446
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14447 have_libremix="no"; want_multisense="no"
14447$as_echo "no" >&6; }
14448 have_libremix="no"; want_multisense="no"
14449 14448
14450elif test $pkg_failed = untried; then 14449elif test $pkg_failed = untried; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451$as_echo "no" >&6; }
14451 have_libremix="no"; want_multisense="no" 14452 have_libremix="no"; want_multisense="no"
14452 14453
14453else 14454else
@@ -14475,7 +14476,7 @@ _ACEOF
14475fi 14476fi
14476 14477
14477 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then 14478 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
14478 as_fn_error "remix support requested, but not found by pkg-config." "$LINENO" 5 14479 as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
14479 fi 14480 fi
14480fi 14481fi
14481 if test "x${have_libremix}" = "xyes"; then 14482 if test "x${have_libremix}" = "xyes"; then
@@ -14502,11 +14503,10 @@ pkg_failed=no
14502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5 14503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
14503$as_echo_n "checking for VORBISENC... " >&6; } 14504$as_echo_n "checking for VORBISENC... " >&6; }
14504 14505
14505if test -n "$PKG_CONFIG"; then 14506if test -n "$VORBISENC_CFLAGS"; then
14506 if test -n "$VORBISENC_CFLAGS"; then 14507 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
14507 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS" 14508 elif test -n "$PKG_CONFIG"; then
14508 else 14509 if test -n "$PKG_CONFIG" && \
14509 if test -n "$PKG_CONFIG" && \
14510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14511 ogg >= 1.1.4 14511 ogg >= 1.1.4
14512 vorbis >= 1.2.3 14512 vorbis >= 1.2.3
@@ -14528,15 +14528,13 @@ if test -n "$PKG_CONFIG"; then
14528else 14528else
14529 pkg_failed=yes 14529 pkg_failed=yes
14530fi 14530fi
14531 fi 14531 else
14532else 14532 pkg_failed=untried
14533 pkg_failed=untried
14534fi 14533fi
14535if test -n "$PKG_CONFIG"; then 14534if test -n "$VORBISENC_LIBS"; then
14536 if test -n "$VORBISENC_LIBS"; then 14535 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
14537 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS" 14536 elif test -n "$PKG_CONFIG"; then
14538 else 14537 if test -n "$PKG_CONFIG" && \
14539 if test -n "$PKG_CONFIG" && \
14540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14541 ogg >= 1.1.4 14539 ogg >= 1.1.4
14542 vorbis >= 1.2.3 14540 vorbis >= 1.2.3
@@ -14558,14 +14556,15 @@ if test -n "$PKG_CONFIG"; then
14558else 14556else
14559 pkg_failed=yes 14557 pkg_failed=yes
14560fi 14558fi
14561 fi 14559 else
14562else 14560 pkg_failed=untried
14563 pkg_failed=untried
14564fi 14561fi
14565 14562
14566 14563
14567 14564
14568if test $pkg_failed = yes; then 14565if test $pkg_failed = yes; then
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14567$as_echo "no" >&6; }
14569 14568
14570if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14569if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14571 _pkg_short_errors_supported=yes 14570 _pkg_short_errors_supported=yes
@@ -14573,26 +14572,26 @@ else
14573 _pkg_short_errors_supported=no 14572 _pkg_short_errors_supported=no
14574fi 14573fi
14575 if test $_pkg_short_errors_supported = yes; then 14574 if test $_pkg_short_errors_supported = yes; then
14576 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 14575 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14577 ogg >= 1.1.4 14576 ogg >= 1.1.4
14578 vorbis >= 1.2.3 14577 vorbis >= 1.2.3
14579 vorbisenc >= 1.2.3 14578 vorbisenc >= 1.2.3
14580 "` 14579 " 2>&1`
14581 else 14580 else
14582 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 14581 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14583 ogg >= 1.1.4 14582 ogg >= 1.1.4
14584 vorbis >= 1.2.3 14583 vorbis >= 1.2.3
14585 vorbisenc >= 1.2.3 14584 vorbisenc >= 1.2.3
14586 "` 14585 " 2>&1`
14587 fi 14586 fi
14588 # Put the nasty error message in config.log where it belongs 14587 # Put the nasty error message in config.log where it belongs
14589 echo "$VORBISENC_PKG_ERRORS" >&5 14588 echo "$VORBISENC_PKG_ERRORS" >&5
14590 14589
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14590 have_vorbis="no"; want_multisense="no"
14592$as_echo "no" >&6; }
14593 have_vorbis="no"; want_multisense="no"
14594 14591
14595elif test $pkg_failed = untried; then 14592elif test $pkg_failed = untried; then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14594$as_echo "no" >&6; }
14596 have_vorbis="no"; want_multisense="no" 14595 have_vorbis="no"; want_multisense="no"
14597 14596
14598else 14597else
@@ -14610,7 +14609,7 @@ $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
14610fi 14609fi
14611 14610
14612 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then 14611 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
14613 as_fn_error "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5 14612 as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
14614 fi 14613 fi
14615fi 14614fi
14616 14615
@@ -14629,11 +14628,10 @@ pkg_failed=no
14629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 14628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
14630$as_echo_n "checking for ALSA... " >&6; } 14629$as_echo_n "checking for ALSA... " >&6; }
14631 14630
14632if test -n "$PKG_CONFIG"; then 14631if test -n "$ALSA_CFLAGS"; then
14633 if test -n "$ALSA_CFLAGS"; then 14632 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
14634 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" 14633 elif test -n "$PKG_CONFIG"; then
14635 else 14634 if test -n "$PKG_CONFIG" && \
14636 if test -n "$PKG_CONFIG" && \
14637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14638 alsa >= 1.0.21 14636 alsa >= 1.0.21
14639 \""; } >&5 14637 \""; } >&5
@@ -14649,15 +14647,13 @@ if test -n "$PKG_CONFIG"; then
14649else 14647else
14650 pkg_failed=yes 14648 pkg_failed=yes
14651fi 14649fi
14652 fi 14650 else
14653else 14651 pkg_failed=untried
14654 pkg_failed=untried
14655fi 14652fi
14656if test -n "$PKG_CONFIG"; then 14653if test -n "$ALSA_LIBS"; then
14657 if test -n "$ALSA_LIBS"; then 14654 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
14658 pkg_cv_ALSA_LIBS="$ALSA_LIBS" 14655 elif test -n "$PKG_CONFIG"; then
14659 else 14656 if test -n "$PKG_CONFIG" && \
14660 if test -n "$PKG_CONFIG" && \
14661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14662 alsa >= 1.0.21 14658 alsa >= 1.0.21
14663 \""; } >&5 14659 \""; } >&5
@@ -14673,14 +14669,15 @@ if test -n "$PKG_CONFIG"; then
14673else 14669else
14674 pkg_failed=yes 14670 pkg_failed=yes
14675fi 14671fi
14676 fi 14672 else
14677else 14673 pkg_failed=untried
14678 pkg_failed=untried
14679fi 14674fi
14680 14675
14681 14676
14682 14677
14683if test $pkg_failed = yes; then 14678if test $pkg_failed = yes; then
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14680$as_echo "no" >&6; }
14684 14681
14685if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14682if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14686 _pkg_short_errors_supported=yes 14683 _pkg_short_errors_supported=yes
@@ -14688,22 +14685,22 @@ else
14688 _pkg_short_errors_supported=no 14685 _pkg_short_errors_supported=no
14689fi 14686fi
14690 if test $_pkg_short_errors_supported = yes; then 14687 if test $_pkg_short_errors_supported = yes; then
14691 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 14688 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14692 alsa >= 1.0.21 14689 alsa >= 1.0.21
14693 "` 14690 " 2>&1`
14694 else 14691 else
14695 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 14692 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14696 alsa >= 1.0.21 14693 alsa >= 1.0.21
14697 "` 14694 " 2>&1`
14698 fi 14695 fi
14699 # Put the nasty error message in config.log where it belongs 14696 # Put the nasty error message in config.log where it belongs
14700 echo "$ALSA_PKG_ERRORS" >&5 14697 echo "$ALSA_PKG_ERRORS" >&5
14701 14698
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14699 have_alsa_lib="no"; want_multisense="no"
14703$as_echo "no" >&6; }
14704 have_alsa_lib="no"; want_multisense="no"
14705 14700
14706elif test $pkg_failed = untried; then 14701elif test $pkg_failed = untried; then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14703$as_echo "no" >&6; }
14707 have_alsa_lib="no"; want_multisense="no" 14704 have_alsa_lib="no"; want_multisense="no"
14708 14705
14709else 14706else
@@ -14721,7 +14718,7 @@ $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
14721fi 14718fi
14722 14719
14723 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then 14720 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
14724 as_fn_error "alsa support requested, but not found by pkg-config." "$LINENO" 5 14721 as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
14725 fi 14722 fi
14726fi 14723fi
14727 if test "x${have_alsa_lib}" = "xyes"; then 14724 if test "x${have_alsa_lib}" = "xyes"; then
@@ -14749,11 +14746,10 @@ pkg_failed=no
14749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 14746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
14750$as_echo_n "checking for FLAC... " >&6; } 14747$as_echo_n "checking for FLAC... " >&6; }
14751 14748
14752if test -n "$PKG_CONFIG"; then 14749if test -n "$FLAC_CFLAGS"; then
14753 if test -n "$FLAC_CFLAGS"; then 14750 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
14754 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS" 14751 elif test -n "$PKG_CONFIG"; then
14755 else 14752 if test -n "$PKG_CONFIG" && \
14756 if test -n "$PKG_CONFIG" && \
14757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14758 flac >= 1.2.1 14754 flac >= 1.2.1
14759 \""; } >&5 14755 \""; } >&5
@@ -14769,15 +14765,13 @@ if test -n "$PKG_CONFIG"; then
14769else 14765else
14770 pkg_failed=yes 14766 pkg_failed=yes
14771fi 14767fi
14772 fi 14768 else
14773else 14769 pkg_failed=untried
14774 pkg_failed=untried
14775fi 14770fi
14776if test -n "$PKG_CONFIG"; then 14771if test -n "$FLAC_LIBS"; then
14777 if test -n "$FLAC_LIBS"; then 14772 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
14778 pkg_cv_FLAC_LIBS="$FLAC_LIBS" 14773 elif test -n "$PKG_CONFIG"; then
14779 else 14774 if test -n "$PKG_CONFIG" && \
14780 if test -n "$PKG_CONFIG" && \
14781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" 14775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14782 flac >= 1.2.1 14776 flac >= 1.2.1
14783 \""; } >&5 14777 \""; } >&5
@@ -14793,14 +14787,15 @@ if test -n "$PKG_CONFIG"; then
14793else 14787else
14794 pkg_failed=yes 14788 pkg_failed=yes
14795fi 14789fi
14796 fi 14790 else
14797else 14791 pkg_failed=untried
14798 pkg_failed=untried
14799fi 14792fi
14800 14793
14801 14794
14802 14795
14803if test $pkg_failed = yes; then 14796if test $pkg_failed = yes; then
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798$as_echo "no" >&6; }
14804 14799
14805if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14800if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14806 _pkg_short_errors_supported=yes 14801 _pkg_short_errors_supported=yes
@@ -14808,22 +14803,22 @@ else
14808 _pkg_short_errors_supported=no 14803 _pkg_short_errors_supported=no
14809fi 14804fi
14810 if test $_pkg_short_errors_supported = yes; then 14805 if test $_pkg_short_errors_supported = yes; then
14811 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 14806 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14812 flac >= 1.2.1 14807 flac >= 1.2.1
14813 "` 14808 " 2>&1`
14814 else 14809 else
14815 FLAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 14810 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14816 flac >= 1.2.1 14811 flac >= 1.2.1
14817 "` 14812 " 2>&1`
14818 fi 14813 fi
14819 # Put the nasty error message in config.log where it belongs 14814 # Put the nasty error message in config.log where it belongs
14820 echo "$FLAC_PKG_ERRORS" >&5 14815 echo "$FLAC_PKG_ERRORS" >&5
14821 14816
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14817 have_flac_lib="no"; want_multisense="no"
14823$as_echo "no" >&6; }
14824 have_flac_lib="no"; want_multisense="no"
14825 14818
14826elif test $pkg_failed = untried; then 14819elif test $pkg_failed = untried; then
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14821$as_echo "no" >&6; }
14827 have_flac_lib="no"; want_multisense="no" 14822 have_flac_lib="no"; want_multisense="no"
14828 14823
14829else 14824else
@@ -14844,7 +14839,7 @@ $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
14844 14839
14845fi 14840fi
14846 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then 14841 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
14847 as_fn_error "flac support requested, but not found by pkg-config." "$LINENO" 5 14842 as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
14848 fi 14843 fi
14849fi 14844fi
14850 14845
@@ -14862,46 +14857,44 @@ pkg_failed=no
14862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5 14857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
14863$as_echo_n "checking for EDJE_CC... " >&6; } 14858$as_echo_n "checking for EDJE_CC... " >&6; }
14864 14859
14865if test -n "$PKG_CONFIG"; then 14860if test -n "$EDJE_CC_CFLAGS"; then
14866 if test -n "$EDJE_CC_CFLAGS"; then 14861 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
14867 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS" 14862 elif test -n "$PKG_CONFIG"; then
14868 else 14863 if test -n "$PKG_CONFIG" && \
14869 if test -n "$PKG_CONFIG" && \ 14864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0\""; } >&5 14865 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14871 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0") 2>&5
14872 ac_status=$? 14866 ac_status=$?
14873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 test $ac_status = 0; }; then 14868 test $ac_status = 0; }; then
14875 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0" 2>/dev/null` 14869 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14876else 14870else
14877 pkg_failed=yes 14871 pkg_failed=yes
14878fi 14872fi
14879 fi 14873 else
14880else 14874 pkg_failed=untried
14881 pkg_failed=untried
14882fi 14875fi
14883if test -n "$PKG_CONFIG"; then 14876if test -n "$EDJE_CC_LIBS"; then
14884 if test -n "$EDJE_CC_LIBS"; then 14877 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
14885 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS" 14878 elif test -n "$PKG_CONFIG"; then
14886 else 14879 if test -n "$PKG_CONFIG" && \
14887 if test -n "$PKG_CONFIG" && \ 14880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0\""; } >&5 14881 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14889 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0") 2>&5
14890 ac_status=$? 14882 ac_status=$?
14891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14892 test $ac_status = 0; }; then 14884 test $ac_status = 0; }; then
14893 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0" 2>/dev/null` 14885 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14894else 14886else
14895 pkg_failed=yes 14887 pkg_failed=yes
14896fi 14888fi
14897 fi 14889 else
14898else 14890 pkg_failed=untried
14899 pkg_failed=untried
14900fi 14891fi
14901 14892
14902 14893
14903 14894
14904if test $pkg_failed = yes; then 14895if test $pkg_failed = yes; then
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14897$as_echo "no" >&6; }
14905 14898
14906if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14899if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14907 _pkg_short_errors_supported=yes 14900 _pkg_short_errors_supported=yes
@@ -14909,14 +14902,14 @@ else
14909 _pkg_short_errors_supported=no 14902 _pkg_short_errors_supported=no
14910fi 14903fi
14911 if test $_pkg_short_errors_supported = yes; then 14904 if test $_pkg_short_errors_supported = yes; then
14912 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0"` 14905 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
14913 else 14906 else
14914 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0"` 14907 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
14915 fi 14908 fi
14916 # Put the nasty error message in config.log where it belongs 14909 # Put the nasty error message in config.log where it belongs
14917 echo "$EDJE_CC_PKG_ERRORS" >&5 14910 echo "$EDJE_CC_PKG_ERRORS" >&5
14918 14911
14919 as_fn_error "Package requirements (ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0) were not met: 14912 as_fn_error $? "Package requirements (ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0) were not met:
14920 14913
14921$EDJE_CC_PKG_ERRORS 14914$EDJE_CC_PKG_ERRORS
14922 14915
@@ -14925,12 +14918,13 @@ installed software in a non-standard prefix.
14925 14918
14926Alternatively, you may set the environment variables EDJE_CC_CFLAGS 14919Alternatively, you may set the environment variables EDJE_CC_CFLAGS
14927and EDJE_CC_LIBS to avoid the need to call pkg-config. 14920and EDJE_CC_LIBS to avoid the need to call pkg-config.
14928See the pkg-config man page for more details. 14921See the pkg-config man page for more details." "$LINENO" 5
14929" "$LINENO" 5
14930elif test $pkg_failed = untried; then 14922elif test $pkg_failed = untried; then
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924$as_echo "no" >&6; }
14931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14932$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14933as_fn_error "The pkg-config script could not be found or is too old. Make sure it 14927as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14934is in your PATH or set the PKG_CONFIG environment variable to the full 14928is in your PATH or set the PKG_CONFIG environment variable to the full
14935path to pkg-config. 14929path to pkg-config.
14936 14930
@@ -14939,13 +14933,13 @@ and EDJE_CC_LIBS to avoid the need to call pkg-config.
14939See the pkg-config man page for more details. 14933See the pkg-config man page for more details.
14940 14934
14941To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14935To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14942See \`config.log' for more details." "$LINENO" 5; } 14936See \`config.log' for more details" "$LINENO" 5 ; }
14943else 14937else
14944 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS 14938 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
14945 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS 14939 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14947$as_echo "yes" >&6; } 14941$as_echo "yes" >&6; }
14948 : 14942
14949fi 14943fi
14950 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}" 14944 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
14951fi 14945fi
@@ -14965,46 +14959,44 @@ pkg_failed=no
14965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5 14959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
14966$as_echo_n "checking for EDJE_DECC... " >&6; } 14960$as_echo_n "checking for EDJE_DECC... " >&6; }
14967 14961
14968if test -n "$PKG_CONFIG"; then 14962if test -n "$EDJE_DECC_CFLAGS"; then
14969 if test -n "$EDJE_DECC_CFLAGS"; then 14963 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
14970 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS" 14964 elif test -n "$PKG_CONFIG"; then
14971 else 14965 if test -n "$PKG_CONFIG" && \
14972 if test -n "$PKG_CONFIG" && \ 14966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0\""; } >&5 14967 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14974 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0") 2>&5
14975 ac_status=$? 14968 ac_status=$?
14976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14977 test $ac_status = 0; }; then 14970 test $ac_status = 0; }; then
14978 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0" 2>/dev/null` 14971 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14979else 14972else
14980 pkg_failed=yes 14973 pkg_failed=yes
14981fi 14974fi
14982 fi 14975 else
14983else 14976 pkg_failed=untried
14984 pkg_failed=untried
14985fi 14977fi
14986if test -n "$PKG_CONFIG"; then 14978if test -n "$EDJE_DECC_LIBS"; then
14987 if test -n "$EDJE_DECC_LIBS"; then 14979 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
14988 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS" 14980 elif test -n "$PKG_CONFIG"; then
14989 else 14981 if test -n "$PKG_CONFIG" && \
14990 if test -n "$PKG_CONFIG" && \ 14982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0\""; } >&5
14991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0\""; } >&5 14983 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0") 2>&5
14992 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0") 2>&5
14993 ac_status=$? 14984 ac_status=$?
14994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14995 test $ac_status = 0; }; then 14986 test $ac_status = 0; }; then
14996 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0" 2>/dev/null` 14987 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>/dev/null`
14997else 14988else
14998 pkg_failed=yes 14989 pkg_failed=yes
14999fi 14990fi
15000 fi 14991 else
15001else 14992 pkg_failed=untried
15002 pkg_failed=untried
15003fi 14993fi
15004 14994
15005 14995
15006 14996
15007if test $pkg_failed = yes; then 14997if test $pkg_failed = yes; then
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14999$as_echo "no" >&6; }
15008 15000
15009if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15001if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15010 _pkg_short_errors_supported=yes 15002 _pkg_short_errors_supported=yes
@@ -15012,14 +15004,14 @@ else
15012 _pkg_short_errors_supported=no 15004 _pkg_short_errors_supported=no
15013fi 15005fi
15014 if test $_pkg_short_errors_supported = yes; then 15006 if test $_pkg_short_errors_supported = yes; then
15015 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0"` 15007 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
15016 else 15008 else
15017 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0"` 15009 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0" 2>&1`
15018 fi 15010 fi
15019 # Put the nasty error message in config.log where it belongs 15011 # Put the nasty error message in config.log where it belongs
15020 echo "$EDJE_DECC_PKG_ERRORS" >&5 15012 echo "$EDJE_DECC_PKG_ERRORS" >&5
15021 15013
15022 as_fn_error "Package requirements (ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0) were not met: 15014 as_fn_error $? "Package requirements (ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0) were not met:
15023 15015
15024$EDJE_DECC_PKG_ERRORS 15016$EDJE_DECC_PKG_ERRORS
15025 15017
@@ -15028,12 +15020,13 @@ installed software in a non-standard prefix.
15028 15020
15029Alternatively, you may set the environment variables EDJE_DECC_CFLAGS 15021Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15030and EDJE_DECC_LIBS to avoid the need to call pkg-config. 15022and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15031See the pkg-config man page for more details. 15023See the pkg-config man page for more details." "$LINENO" 5
15032" "$LINENO" 5
15033elif test $pkg_failed = untried; then 15024elif test $pkg_failed = untried; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15026$as_echo "no" >&6; }
15034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15035$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15036as_fn_error "The pkg-config script could not be found or is too old. Make sure it 15029as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15037is in your PATH or set the PKG_CONFIG environment variable to the full 15030is in your PATH or set the PKG_CONFIG environment variable to the full
15038path to pkg-config. 15031path to pkg-config.
15039 15032
@@ -15042,13 +15035,13 @@ and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15042See the pkg-config man page for more details. 15035See the pkg-config man page for more details.
15043 15036
15044To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15037To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15045See \`config.log' for more details." "$LINENO" 5; } 15038See \`config.log' for more details" "$LINENO" 5 ; }
15046else 15039else
15047 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS 15040 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
15048 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS 15041 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15050$as_echo "yes" >&6; } 15043$as_echo "yes" >&6; }
15051 : 15044
15052fi 15045fi
15053fi 15046fi
15054 15047
@@ -15058,46 +15051,44 @@ pkg_failed=no
15058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5 15051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
15059$as_echo_n "checking for EDJE_PLAYER... " >&6; } 15052$as_echo_n "checking for EDJE_PLAYER... " >&6; }
15060 15053
15061if test -n "$PKG_CONFIG"; then 15054if test -n "$EDJE_PLAYER_CFLAGS"; then
15062 if test -n "$EDJE_PLAYER_CFLAGS"; then 15055 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
15063 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS" 15056 elif test -n "$PKG_CONFIG"; then
15064 else 15057 if test -n "$PKG_CONFIG" && \
15065 if test -n "$PKG_CONFIG" && \ 15058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0\""; } >&5 15059 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15067 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0") 2>&5
15068 ac_status=$? 15060 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then 15062 test $ac_status = 0; }; then
15071 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0" 2>/dev/null` 15063 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15072else 15064else
15073 pkg_failed=yes 15065 pkg_failed=yes
15074fi 15066fi
15075 fi 15067 else
15076else 15068 pkg_failed=untried
15077 pkg_failed=untried
15078fi 15069fi
15079if test -n "$PKG_CONFIG"; then 15070if test -n "$EDJE_PLAYER_LIBS"; then
15080 if test -n "$EDJE_PLAYER_LIBS"; then 15071 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
15081 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS" 15072 elif test -n "$PKG_CONFIG"; then
15082 else 15073 if test -n "$PKG_CONFIG" && \
15083 if test -n "$PKG_CONFIG" && \ 15074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0\""; } >&5 15075 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15085 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0") 2>&5
15086 ac_status=$? 15076 ac_status=$?
15087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15088 test $ac_status = 0; }; then 15078 test $ac_status = 0; }; then
15089 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0" 2>/dev/null` 15079 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15090else 15080else
15091 pkg_failed=yes 15081 pkg_failed=yes
15092fi 15082fi
15093 fi 15083 else
15094else 15084 pkg_failed=untried
15095 pkg_failed=untried
15096fi 15085fi
15097 15086
15098 15087
15099 15088
15100if test $pkg_failed = yes; then 15089if test $pkg_failed = yes; then
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15091$as_echo "no" >&6; }
15101 15092
15102if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15093if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15103 _pkg_short_errors_supported=yes 15094 _pkg_short_errors_supported=yes
@@ -15105,14 +15096,14 @@ else
15105 _pkg_short_errors_supported=no 15096 _pkg_short_errors_supported=no
15106fi 15097fi
15107 if test $_pkg_short_errors_supported = yes; then 15098 if test $_pkg_short_errors_supported = yes; then
15108 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0"` 15099 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15109 else 15100 else
15110 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0"` 15101 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15111 fi 15102 fi
15112 # Put the nasty error message in config.log where it belongs 15103 # Put the nasty error message in config.log where it belongs
15113 echo "$EDJE_PLAYER_PKG_ERRORS" >&5 15104 echo "$EDJE_PLAYER_PKG_ERRORS" >&5
15114 15105
15115 as_fn_error "Package requirements (ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0) were not met: 15106 as_fn_error $? "Package requirements (ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0) were not met:
15116 15107
15117$EDJE_PLAYER_PKG_ERRORS 15108$EDJE_PLAYER_PKG_ERRORS
15118 15109
@@ -15121,12 +15112,13 @@ installed software in a non-standard prefix.
15121 15112
15122Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS 15113Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15123and EDJE_PLAYER_LIBS to avoid the need to call pkg-config. 15114and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15124See the pkg-config man page for more details. 15115See the pkg-config man page for more details." "$LINENO" 5
15125" "$LINENO" 5
15126elif test $pkg_failed = untried; then 15116elif test $pkg_failed = untried; then
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15118$as_echo "no" >&6; }
15127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15128$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15129as_fn_error "The pkg-config script could not be found or is too old. Make sure it 15121as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15130is in your PATH or set the PKG_CONFIG environment variable to the full 15122is in your PATH or set the PKG_CONFIG environment variable to the full
15131path to pkg-config. 15123path to pkg-config.
15132 15124
@@ -15135,13 +15127,13 @@ and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15135See the pkg-config man page for more details. 15127See the pkg-config man page for more details.
15136 15128
15137To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15129To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15138See \`config.log' for more details." "$LINENO" 5; } 15130See \`config.log' for more details" "$LINENO" 5 ; }
15139else 15131else
15140 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS 15132 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
15141 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS 15133 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15143$as_echo "yes" >&6; } 15135$as_echo "yes" >&6; }
15144 : 15136
15145fi 15137fi
15146fi 15138fi
15147 15139
@@ -15151,46 +15143,44 @@ pkg_failed=no
15151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5 15143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
15152$as_echo_n "checking for EDJE_INSPECTOR... " >&6; } 15144$as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
15153 15145
15154if test -n "$PKG_CONFIG"; then 15146if test -n "$EDJE_INSPECTOR_CFLAGS"; then
15155 if test -n "$EDJE_INSPECTOR_CFLAGS"; then 15147 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
15156 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS" 15148 elif test -n "$PKG_CONFIG"; then
15157 else 15149 if test -n "$PKG_CONFIG" && \
15158 if test -n "$PKG_CONFIG" && \ 15150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0\""; } >&5 15151 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15160 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0") 2>&5
15161 ac_status=$? 15152 ac_status=$?
15162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15163 test $ac_status = 0; }; then 15154 test $ac_status = 0; }; then
15164 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0" 2>/dev/null` 15155 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15165else 15156else
15166 pkg_failed=yes 15157 pkg_failed=yes
15167fi 15158fi
15168 fi 15159 else
15169else 15160 pkg_failed=untried
15170 pkg_failed=untried
15171fi 15161fi
15172if test -n "$PKG_CONFIG"; then 15162if test -n "$EDJE_INSPECTOR_LIBS"; then
15173 if test -n "$EDJE_INSPECTOR_LIBS"; then 15163 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
15174 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS" 15164 elif test -n "$PKG_CONFIG"; then
15175 else 15165 if test -n "$PKG_CONFIG" && \
15176 if test -n "$PKG_CONFIG" && \ 15166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0\""; } >&5 15167 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15178 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0") 2>&5
15179 ac_status=$? 15168 ac_status=$?
15180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15181 test $ac_status = 0; }; then 15170 test $ac_status = 0; }; then
15182 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0" 2>/dev/null` 15171 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15183else 15172else
15184 pkg_failed=yes 15173 pkg_failed=yes
15185fi 15174fi
15186 fi 15175 else
15187else 15176 pkg_failed=untried
15188 pkg_failed=untried
15189fi 15177fi
15190 15178
15191 15179
15192 15180
15193if test $pkg_failed = yes; then 15181if test $pkg_failed = yes; then
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183$as_echo "no" >&6; }
15194 15184
15195if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15185if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15196 _pkg_short_errors_supported=yes 15186 _pkg_short_errors_supported=yes
@@ -15198,14 +15188,14 @@ else
15198 _pkg_short_errors_supported=no 15188 _pkg_short_errors_supported=no
15199fi 15189fi
15200 if test $_pkg_short_errors_supported = yes; then 15190 if test $_pkg_short_errors_supported = yes; then
15201 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0"` 15191 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15202 else 15192 else
15203 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0"` 15193 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15204 fi 15194 fi
15205 # Put the nasty error message in config.log where it belongs 15195 # Put the nasty error message in config.log where it belongs
15206 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5 15196 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
15207 15197
15208 as_fn_error "Package requirements (ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0) were not met: 15198 as_fn_error $? "Package requirements (ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0) were not met:
15209 15199
15210$EDJE_INSPECTOR_PKG_ERRORS 15200$EDJE_INSPECTOR_PKG_ERRORS
15211 15201
@@ -15214,12 +15204,13 @@ installed software in a non-standard prefix.
15214 15204
15215Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS 15205Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15216and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config. 15206and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15217See the pkg-config man page for more details. 15207See the pkg-config man page for more details." "$LINENO" 5
15218" "$LINENO" 5
15219elif test $pkg_failed = untried; then 15208elif test $pkg_failed = untried; then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15210$as_echo "no" >&6; }
15220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15221$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15222as_fn_error "The pkg-config script could not be found or is too old. Make sure it 15213as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15223is in your PATH or set the PKG_CONFIG environment variable to the full 15214is in your PATH or set the PKG_CONFIG environment variable to the full
15224path to pkg-config. 15215path to pkg-config.
15225 15216
@@ -15228,13 +15219,13 @@ and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15228See the pkg-config man page for more details. 15219See the pkg-config man page for more details.
15229 15220
15230To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15221To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15231See \`config.log' for more details." "$LINENO" 5; } 15222See \`config.log' for more details" "$LINENO" 5 ; }
15232else 15223else
15233 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS 15224 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
15234 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS 15225 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15236$as_echo "yes" >&6; } 15227$as_echo "yes" >&6; }
15237 : 15228
15238fi 15229fi
15239fi 15230fi
15240 15231
@@ -15244,46 +15235,44 @@ pkg_failed=no
15244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5 15235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
15245$as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; } 15236$as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
15246 15237
15247if test -n "$PKG_CONFIG"; then 15238if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
15248 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then 15239 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
15249 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS" 15240 elif test -n "$PKG_CONFIG"; then
15250 else 15241 if test -n "$PKG_CONFIG" && \
15251 if test -n "$PKG_CONFIG" && \ 15242 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0\""; } >&5 15243 ($PKG_CONFIG --exists --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15253 ($PKG_CONFIG --exists --print-errors "ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0") 2>&5
15254 ac_status=$? 15244 ac_status=$?
15255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15256 test $ac_status = 0; }; then 15246 test $ac_status = 0; }; then
15257 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0" 2>/dev/null` 15247 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15258else 15248else
15259 pkg_failed=yes 15249 pkg_failed=yes
15260fi 15250fi
15261 fi 15251 else
15262else 15252 pkg_failed=untried
15263 pkg_failed=untried
15264fi 15253fi
15265if test -n "$PKG_CONFIG"; then 15254if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
15266 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then 15255 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
15267 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS" 15256 elif test -n "$PKG_CONFIG"; then
15268 else 15257 if test -n "$PKG_CONFIG" && \
15269 if test -n "$PKG_CONFIG" && \ 15258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0\""; } >&5
15270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0\""; } >&5 15259 ($PKG_CONFIG --exists --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0") 2>&5
15271 ($PKG_CONFIG --exists --print-errors "ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0") 2>&5
15272 ac_status=$? 15260 ac_status=$?
15273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15274 test $ac_status = 0; }; then 15262 test $ac_status = 0; }; then
15275 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0" 2>/dev/null` 15263 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>/dev/null`
15276else 15264else
15277 pkg_failed=yes 15265 pkg_failed=yes
15278fi 15266fi
15279 fi 15267 else
15280else 15268 pkg_failed=untried
15281 pkg_failed=untried
15282fi 15269fi
15283 15270
15284 15271
15285 15272
15286if test $pkg_failed = yes; then 15273if test $pkg_failed = yes; then
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15275$as_echo "no" >&6; }
15287 15276
15288if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15277if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15289 _pkg_short_errors_supported=yes 15278 _pkg_short_errors_supported=yes
@@ -15291,14 +15280,14 @@ else
15291 _pkg_short_errors_supported=no 15280 _pkg_short_errors_supported=no
15292fi 15281fi
15293 if test $_pkg_short_errors_supported = yes; then 15282 if test $_pkg_short_errors_supported = yes; then
15294 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0"` 15283 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15295 else 15284 else
15296 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0"` 15285 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0" 2>&1`
15297 fi 15286 fi
15298 # Put the nasty error message in config.log where it belongs 15287 # Put the nasty error message in config.log where it belongs
15299 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5 15288 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
15300 15289
15301 as_fn_error "Package requirements (ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0) were not met: 15290 as_fn_error $? "Package requirements (ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0) were not met:
15302 15291
15303$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS 15292$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
15304 15293
@@ -15307,12 +15296,13 @@ installed software in a non-standard prefix.
15307 15296
15308Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS 15297Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15309and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config. 15298and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15310See the pkg-config man page for more details. 15299See the pkg-config man page for more details." "$LINENO" 5
15311" "$LINENO" 5
15312elif test $pkg_failed = untried; then 15300elif test $pkg_failed = untried; then
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15302$as_echo "no" >&6; }
15313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15314$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15315as_fn_error "The pkg-config script could not be found or is too old. Make sure it 15305as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15316is in your PATH or set the PKG_CONFIG environment variable to the full 15306is in your PATH or set the PKG_CONFIG environment variable to the full
15317path to pkg-config. 15307path to pkg-config.
15318 15308
@@ -15321,13 +15311,13 @@ and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15321See the pkg-config man page for more details. 15311See the pkg-config man page for more details.
15322 15312
15323To get pkg-config, see <http://pkg-config.freedesktop.org/>. 15313To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15324See \`config.log' for more details." "$LINENO" 5; } 15314See \`config.log' for more details" "$LINENO" 5 ; }
15325else 15315else
15326 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS 15316 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
15327 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS 15317 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15329$as_echo "yes" >&6; } 15319$as_echo "yes" >&6; }
15330 : 15320
15331fi 15321fi
15332fi 15322fi
15333 15323
@@ -15337,8 +15327,7 @@ for ac_header in locale.h sys/resource.h
15337do : 15327do :
15338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15339ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 15329ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15340eval as_val=\$$as_ac_Header 15330if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15341 if test "x$as_val" = x""yes; then :
15342 cat >>confdefs.h <<_ACEOF 15331 cat >>confdefs.h <<_ACEOF
15343#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15332#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15344_ACEOF 15333_ACEOF
@@ -15417,7 +15406,7 @@ $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
15417fi 15406fi
15418set dummy $CC; ac_cc=`$as_echo "$2" | 15407set dummy $CC; ac_cc=`$as_echo "$2" |
15419 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 15408 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15420if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : 15409if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
15421 $as_echo_n "(cached) " >&6 15410 $as_echo_n "(cached) " >&6
15422else 15411else
15423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -16281,8 +16270,7 @@ if test $ac_cv_os_cray = yes; then
16281 for ac_func in _getb67 GETB67 getb67; do 16270 for ac_func in _getb67 GETB67 getb67; do
16282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16283ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16272ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16284eval as_val=\$$as_ac_var 16273if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16285 if test "x$as_val" = x""yes; then :
16286 16274
16287cat >>confdefs.h <<_ACEOF 16275cat >>confdefs.h <<_ACEOF
16288#define CRAY_STACKSEG_END $ac_func 16276#define CRAY_STACKSEG_END $ac_func
@@ -16398,11 +16386,10 @@ pkg_failed=no
16398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 16386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16399$as_echo_n "checking for CHECK... " >&6; } 16387$as_echo_n "checking for CHECK... " >&6; }
16400 16388
16401if test -n "$PKG_CONFIG"; then 16389if test -n "$CHECK_CFLAGS"; then
16402 if test -n "$CHECK_CFLAGS"; then 16390 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16403 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" 16391 elif test -n "$PKG_CONFIG"; then
16404 else 16392 if test -n "$PKG_CONFIG" && \
16405 if test -n "$PKG_CONFIG" && \
16406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 16393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16407 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 16394 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16408 ac_status=$? 16395 ac_status=$?
@@ -16412,15 +16399,13 @@ if test -n "$PKG_CONFIG"; then
16412else 16399else
16413 pkg_failed=yes 16400 pkg_failed=yes
16414fi 16401fi
16415 fi 16402 else
16416else 16403 pkg_failed=untried
16417 pkg_failed=untried
16418fi 16404fi
16419if test -n "$PKG_CONFIG"; then 16405if test -n "$CHECK_LIBS"; then
16420 if test -n "$CHECK_LIBS"; then 16406 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16421 pkg_cv_CHECK_LIBS="$CHECK_LIBS" 16407 elif test -n "$PKG_CONFIG"; then
16422 else 16408 if test -n "$PKG_CONFIG" && \
16423 if test -n "$PKG_CONFIG" && \
16424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 16409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16425 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 16410 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16426 ac_status=$? 16411 ac_status=$?
@@ -16430,14 +16415,15 @@ if test -n "$PKG_CONFIG"; then
16430else 16415else
16431 pkg_failed=yes 16416 pkg_failed=yes
16432fi 16417fi
16433 fi 16418 else
16434else 16419 pkg_failed=untried
16435 pkg_failed=untried
16436fi 16420fi
16437 16421
16438 16422
16439 16423
16440if test $pkg_failed = yes; then 16424if test $pkg_failed = yes; then
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426$as_echo "no" >&6; }
16441 16427
16442if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16428if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16443 _pkg_short_errors_supported=yes 16429 _pkg_short_errors_supported=yes
@@ -16445,17 +16431,17 @@ else
16445 _pkg_short_errors_supported=no 16431 _pkg_short_errors_supported=no
16446fi 16432fi
16447 if test $_pkg_short_errors_supported = yes; then 16433 if test $_pkg_short_errors_supported = yes; then
16448 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "check >= 0.9.5"` 16434 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
16449 else 16435 else
16450 CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "check >= 0.9.5"` 16436 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
16451 fi 16437 fi
16452 # Put the nasty error message in config.log where it belongs 16438 # Put the nasty error message in config.log where it belongs
16453 echo "$CHECK_PKG_ERRORS" >&5 16439 echo "$CHECK_PKG_ERRORS" >&5
16454 16440
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16441 _efl_enable_tests="no"
16456$as_echo "no" >&6; }
16457 _efl_enable_tests="no"
16458elif test $pkg_failed = untried; then 16442elif test $pkg_failed = untried; then
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16444$as_echo "no" >&6; }
16459 _efl_enable_tests="no" 16445 _efl_enable_tests="no"
16460else 16446else
16461 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS 16447 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
@@ -16596,11 +16582,6 @@ if test "${enable_build_examples+set}" = set; then :
16596 enableval=$enable_build_examples; 16582 enableval=$enable_build_examples;
16597 if test "x${enableval}" = "xyes" ; then 16583 if test "x${enableval}" = "xyes" ; then
16598 build_examples="yes" 16584 build_examples="yes"
16599 edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
16600 # put in here the dependencies for Edje' examples. They are
16601 # meant to be 'real world' usage examples, thus one will be
16602 # using higher level libraries on these programs
16603
16604 else 16585 else
16605 build_examples="no" 16586 build_examples="no"
16606 fi 16587 fi
@@ -16705,6 +16686,7 @@ DEFS=-DHAVE_CONFIG_H
16705 16686
16706ac_libobjs= 16687ac_libobjs=
16707ac_ltlibobjs= 16688ac_ltlibobjs=
16689U=
16708for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16690for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16709 # 1. Remove the extension, and $U if already installed. 16691 # 1. Remove the extension, and $U if already installed.
16710 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16692 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -16728,95 +16710,95 @@ else
16728fi 16710fi
16729 16711
16730if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16712if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16731 as_fn_error "conditional \"AMDEP\" was never defined. 16713 as_fn_error $? "conditional \"AMDEP\" was never defined.
16732Usually this means the macro was only invoked conditionally." "$LINENO" 5 16714Usually this means the macro was only invoked conditionally." "$LINENO" 5
16733fi 16715fi
16734if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16716if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16735 as_fn_error "conditional \"am__fastdepCC\" was never defined. 16717 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16736Usually this means the macro was only invoked conditionally." "$LINENO" 5 16718Usually this means the macro was only invoked conditionally." "$LINENO" 5
16737fi 16719fi
16738if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then 16720if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
16739 as_fn_error "conditional \"EDJE_AMALGAMATION\" was never defined. 16721 as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
16740Usually this means the macro was only invoked conditionally." "$LINENO" 5 16722Usually this means the macro was only invoked conditionally." "$LINENO" 5
16741fi 16723fi
16742if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then 16724if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
16743 as_fn_error "conditional \"BUILD_EDJE_CC\" was never defined. 16725 as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
16744Usually this means the macro was only invoked conditionally." "$LINENO" 5 16726Usually this means the macro was only invoked conditionally." "$LINENO" 5
16745fi 16727fi
16746if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then 16728if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
16747 as_fn_error "conditional \"BUILD_EDJE_DECC\" was never defined. 16729 as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
16748Usually this means the macro was only invoked conditionally." "$LINENO" 5 16730Usually this means the macro was only invoked conditionally." "$LINENO" 5
16749fi 16731fi
16750if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then 16732if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
16751 as_fn_error "conditional \"BUILD_EDJE_RECC\" was never defined. 16733 as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
16752Usually this means the macro was only invoked conditionally." "$LINENO" 5 16734Usually this means the macro was only invoked conditionally." "$LINENO" 5
16753fi 16735fi
16754if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then 16736if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
16755 as_fn_error "conditional \"BUILD_EDJE_PLAYER\" was never defined. 16737 as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
16756Usually this means the macro was only invoked conditionally." "$LINENO" 5 16738Usually this means the macro was only invoked conditionally." "$LINENO" 5
16757fi 16739fi
16758if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then 16740if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
16759 as_fn_error "conditional \"BUILD_EDJE_INSPECTOR\" was never defined. 16741 as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
16760Usually this means the macro was only invoked conditionally." "$LINENO" 5 16742Usually this means the macro was only invoked conditionally." "$LINENO" 5
16761fi 16743fi
16762if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then 16744if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
16763 as_fn_error "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined. 16745 as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
16764Usually this means the macro was only invoked conditionally." "$LINENO" 5 16746Usually this means the macro was only invoked conditionally." "$LINENO" 5
16765fi 16747fi
16766if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then 16748if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
16767 as_fn_error "conditional \"EDJE_PROGRAM_CACHE\" was never defined. 16749 as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
16768Usually this means the macro was only invoked conditionally." "$LINENO" 5 16750Usually this means the macro was only invoked conditionally." "$LINENO" 5
16769fi 16751fi
16770if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then 16752if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
16771 as_fn_error "conditional \"EDJE_CALC_CACHE\" was never defined. 16753 as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
16772Usually this means the macro was only invoked conditionally." "$LINENO" 5 16754Usually this means the macro was only invoked conditionally." "$LINENO" 5
16773fi 16755fi
16774if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then 16756if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
16775 as_fn_error "conditional \"BUILD_EDJE_FP\" was never defined. 16757 as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
16776Usually this means the macro was only invoked conditionally." "$LINENO" 5 16758Usually this means the macro was only invoked conditionally." "$LINENO" 5
16777fi 16759fi
16778if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16760if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16779 as_fn_error "conditional \"am__fastdepCC\" was never defined. 16761 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16780Usually this means the macro was only invoked conditionally." "$LINENO" 5 16762Usually this means the macro was only invoked conditionally." "$LINENO" 5
16781fi 16763fi
16782if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then 16764if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
16783 as_fn_error "conditional \"EFL_BUILD_DOC\" was never defined. 16765 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
16784Usually this means the macro was only invoked conditionally." "$LINENO" 5 16766Usually this means the macro was only invoked conditionally." "$LINENO" 5
16785fi 16767fi
16786if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 16768if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16787 as_fn_error "conditional \"HAVE_PYTHON\" was never defined. 16769 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
16788Usually this means the macro was only invoked conditionally." "$LINENO" 5 16770Usually this means the macro was only invoked conditionally." "$LINENO" 5
16789fi 16771fi
16790if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then 16772if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
16791 as_fn_error "conditional \"ENABLE_MULTISENSE\" was never defined. 16773 as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
16792Usually this means the macro was only invoked conditionally." "$LINENO" 5 16774Usually this means the macro was only invoked conditionally." "$LINENO" 5
16793fi 16775fi
16794if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then 16776if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
16795 as_fn_error "conditional \"HAVE_LIBSNDFILE\" was never defined. 16777 as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
16796Usually this means the macro was only invoked conditionally." "$LINENO" 5 16778Usually this means the macro was only invoked conditionally." "$LINENO" 5
16797fi 16779fi
16798if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then 16780if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
16799 as_fn_error "conditional \"HAVE_LIBREMIX\" was never defined. 16781 as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
16800Usually this means the macro was only invoked conditionally." "$LINENO" 5 16782Usually this means the macro was only invoked conditionally." "$LINENO" 5
16801fi 16783fi
16802if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then 16784if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
16803 as_fn_error "conditional \"HAVE_LIBALSA\" was never defined. 16785 as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
16804Usually this means the macro was only invoked conditionally." "$LINENO" 5 16786Usually this means the macro was only invoked conditionally." "$LINENO" 5
16805fi 16787fi
16806if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then 16788if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
16807 as_fn_error "conditional \"BUILD_EPP\" was never defined. 16789 as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
16808Usually this means the macro was only invoked conditionally." "$LINENO" 5 16790Usually this means the macro was only invoked conditionally." "$LINENO" 5
16809fi 16791fi
16810if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then 16792if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
16811 as_fn_error "conditional \"EFL_ENABLE_TESTS\" was never defined. 16793 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
16812Usually this means the macro was only invoked conditionally." "$LINENO" 5 16794Usually this means the macro was only invoked conditionally." "$LINENO" 5
16813fi 16795fi
16814if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then 16796if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
16815 as_fn_error "conditional \"EFL_ENABLE_COVERAGE\" was never defined. 16797 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
16816Usually this means the macro was only invoked conditionally." "$LINENO" 5 16798Usually this means the macro was only invoked conditionally." "$LINENO" 5
16817fi 16799fi
16818if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 16800if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
16819 as_fn_error "conditional \"BUILD_EXAMPLES\" was never defined. 16801 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
16820Usually this means the macro was only invoked conditionally." "$LINENO" 5 16802Usually this means the macro was only invoked conditionally." "$LINENO" 5
16821fi 16803fi
16822 16804
@@ -16966,19 +16948,19 @@ export LANGUAGE
16966(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16948(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16967 16949
16968 16950
16969# as_fn_error ERROR [LINENO LOG_FD] 16951# as_fn_error STATUS ERROR [LINENO LOG_FD]
16970# --------------------------------- 16952# ----------------------------------------
16971# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16953# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16972# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16954# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16973# script with status $?, using 1 if that was 0. 16955# script with STATUS, using 1 if that was 0.
16974as_fn_error () 16956as_fn_error ()
16975{ 16957{
16976 as_status=$?; test $as_status -eq 0 && as_status=1 16958 as_status=$1; test $as_status -eq 0 && as_status=1
16977 if test "$3"; then 16959 if test "$4"; then
16978 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16960 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16979 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 16961 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16980 fi 16962 fi
16981 $as_echo "$as_me: error: $1" >&2 16963 $as_echo "$as_me: error: $2" >&2
16982 as_fn_exit $as_status 16964 as_fn_exit $as_status
16983} # as_fn_error 16965} # as_fn_error
16984 16966
@@ -17174,7 +17156,7 @@ $as_echo X"$as_dir" |
17174 test -d "$as_dir" && break 17156 test -d "$as_dir" && break
17175 done 17157 done
17176 test -z "$as_dirs" || eval "mkdir $as_dirs" 17158 test -z "$as_dirs" || eval "mkdir $as_dirs"
17177 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 17159 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17178 17160
17179 17161
17180} # as_fn_mkdir_p 17162} # as_fn_mkdir_p
@@ -17227,8 +17209,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17227# report actual input values of CONFIG_FILES etc. instead of their 17209# report actual input values of CONFIG_FILES etc. instead of their
17228# values after options handling. 17210# values after options handling.
17229ac_log=" 17211ac_log="
17230This file was extended by edje $as_me 1.1.99.67344, which was 17212This file was extended by edje $as_me 1.2.0-alpha, which was
17231generated by GNU Autoconf 2.65. Invocation command line was 17213generated by GNU Autoconf 2.67. Invocation command line was
17232 17214
17233 CONFIG_FILES = $CONFIG_FILES 17215 CONFIG_FILES = $CONFIG_FILES
17234 CONFIG_HEADERS = $CONFIG_HEADERS 17216 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -17293,11 +17275,11 @@ _ACEOF
17293cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17294ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17276ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17295ac_cs_version="\\ 17277ac_cs_version="\\
17296edje config.status 1.1.99.67344 17278edje config.status 1.2.0-alpha
17297configured by $0, generated by GNU Autoconf 2.65, 17279configured by $0, generated by GNU Autoconf 2.67,
17298 with options \\"\$ac_cs_config\\" 17280 with options \\"\$ac_cs_config\\"
17299 17281
17300Copyright (C) 2009 Free Software Foundation, Inc. 17282Copyright (C) 2010 Free Software Foundation, Inc.
17301This config.status script is free software; the Free Software Foundation 17283This config.status script is free software; the Free Software Foundation
17302gives unlimited permission to copy, distribute and modify it." 17284gives unlimited permission to copy, distribute and modify it."
17303 17285
@@ -17315,11 +17297,16 @@ ac_need_defaults=:
17315while test $# != 0 17297while test $# != 0
17316do 17298do
17317 case $1 in 17299 case $1 in
17318 --*=*) 17300 --*=?*)
17319 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17301 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17320 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17321 ac_shift=: 17303 ac_shift=:
17322 ;; 17304 ;;
17305 --*=)
17306 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17307 ac_optarg=
17308 ac_shift=:
17309 ;;
17323 *) 17310 *)
17324 ac_option=$1 17311 ac_option=$1
17325 ac_optarg=$2 17312 ac_optarg=$2
@@ -17341,6 +17328,7 @@ do
17341 $ac_shift 17328 $ac_shift
17342 case $ac_optarg in 17329 case $ac_optarg in
17343 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17330 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17331 '') as_fn_error $? "missing file argument" ;;
17344 esac 17332 esac
17345 as_fn_append CONFIG_FILES " '$ac_optarg'" 17333 as_fn_append CONFIG_FILES " '$ac_optarg'"
17346 ac_need_defaults=false;; 17334 ac_need_defaults=false;;
@@ -17353,7 +17341,7 @@ do
17353 ac_need_defaults=false;; 17341 ac_need_defaults=false;;
17354 --he | --h) 17342 --he | --h)
17355 # Conflict between --help and --header 17343 # Conflict between --help and --header
17356 as_fn_error "ambiguous option: \`$1' 17344 as_fn_error $? "ambiguous option: \`$1'
17357Try \`$0 --help' for more information.";; 17345Try \`$0 --help' for more information.";;
17358 --help | --hel | -h ) 17346 --help | --hel | -h )
17359 $as_echo "$ac_cs_usage"; exit ;; 17347 $as_echo "$ac_cs_usage"; exit ;;
@@ -17362,7 +17350,7 @@ Try \`$0 --help' for more information.";;
17362 ac_cs_silent=: ;; 17350 ac_cs_silent=: ;;
17363 17351
17364 # This is an error. 17352 # This is an error.
17365 -*) as_fn_error "unrecognized option: \`$1' 17353 -*) as_fn_error $? "unrecognized option: \`$1'
17366Try \`$0 --help' for more information." ;; 17354Try \`$0 --help' for more information." ;;
17367 17355
17368 *) as_fn_append ac_config_targets " $1" 17356 *) as_fn_append ac_config_targets " $1"
@@ -17694,7 +17682,7 @@ do
17694 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 17682 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
17695 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;; 17683 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
17696 17684
17697 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17685 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17698 esac 17686 esac
17699done 17687done
17700 17688
@@ -17732,7 +17720,7 @@ $debug ||
17732{ 17720{
17733 tmp=./conf$$-$RANDOM 17721 tmp=./conf$$-$RANDOM
17734 (umask 077 && mkdir "$tmp") 17722 (umask 077 && mkdir "$tmp")
17735} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 17723} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17736 17724
17737# Set up the scripts for CONFIG_FILES section. 17725# Set up the scripts for CONFIG_FILES section.
17738# No need to generate them if there are no CONFIG_FILES. 17726# No need to generate them if there are no CONFIG_FILES.
@@ -17749,7 +17737,7 @@ if test "x$ac_cr" = x; then
17749fi 17737fi
17750ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17738ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17751if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17739if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17752 ac_cs_awk_cr='\r' 17740 ac_cs_awk_cr='\\r'
17753else 17741else
17754 ac_cs_awk_cr=$ac_cr 17742 ac_cs_awk_cr=$ac_cr
17755fi 17743fi
@@ -17763,18 +17751,18 @@ _ACEOF
17763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17751 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17764 echo "_ACEOF" 17752 echo "_ACEOF"
17765} >conf$$subs.sh || 17753} >conf$$subs.sh ||
17766 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 17754 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17767ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 17755ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17768ac_delim='%!_!# ' 17756ac_delim='%!_!# '
17769for ac_last_try in false false false false false :; do 17757for ac_last_try in false false false false false :; do
17770 . ./conf$$subs.sh || 17758 . ./conf$$subs.sh ||
17771 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 17759 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17772 17760
17773 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17761 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17774 if test $ac_delim_n = $ac_delim_num; then 17762 if test $ac_delim_n = $ac_delim_num; then
17775 break 17763 break
17776 elif $ac_last_try; then 17764 elif $ac_last_try; then
17777 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 17765 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17778 else 17766 else
17779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17780 fi 17768 fi
@@ -17863,20 +17851,28 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17863else 17851else
17864 cat 17852 cat
17865fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 17853fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17866 || as_fn_error "could not setup config files machinery" "$LINENO" 5 17854 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17867_ACEOF 17855_ACEOF
17868 17856
17869# VPATH may cause trouble with some makes, so we remove $(srcdir), 17857# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17870# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 17858# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17871# trailing colons and then remove the whole line if VPATH becomes empty 17859# trailing colons and then remove the whole line if VPATH becomes empty
17872# (actually we leave an empty line to preserve line numbers). 17860# (actually we leave an empty line to preserve line numbers).
17873if test "x$srcdir" = x.; then 17861if test "x$srcdir" = x.; then
17874 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 17862 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17875s/:*\$(srcdir):*/:/ 17863h
17876s/:*\${srcdir}:*/:/ 17864s///
17877s/:*@srcdir@:*/:/ 17865s/^/:/
17878s/^\([^=]*=[ ]*\):*/\1/ 17866s/[ ]*$/:/
17867s/:\$(srcdir):/:/g
17868s/:\${srcdir}:/:/g
17869s/:@srcdir@:/:/g
17870s/^:*//
17879s/:*$// 17871s/:*$//
17872x
17873s/\(=[ ]*\).*/\1/
17874G
17875s/\n//
17880s/^[^=]*=[ ]*$// 17876s/^[^=]*=[ ]*$//
17881}' 17877}'
17882fi 17878fi
@@ -17904,7 +17900,7 @@ for ac_last_try in false false :; do
17904 if test -z "$ac_t"; then 17900 if test -z "$ac_t"; then
17905 break 17901 break
17906 elif $ac_last_try; then 17902 elif $ac_last_try; then
17907 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 17903 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17908 else 17904 else
17909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17905 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17910 fi 17906 fi
@@ -17989,7 +17985,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17989_ACAWK 17985_ACAWK
17990_ACEOF 17986_ACEOF
17991cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17987cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17992 as_fn_error "could not setup config headers machinery" "$LINENO" 5 17988 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17993fi # test -n "$CONFIG_HEADERS" 17989fi # test -n "$CONFIG_HEADERS"
17994 17990
17995 17991
@@ -18002,7 +17998,7 @@ do
18002 esac 17998 esac
18003 case $ac_mode$ac_tag in 17999 case $ac_mode$ac_tag in
18004 :[FHL]*:*);; 18000 :[FHL]*:*);;
18005 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 18001 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
18006 :[FH]-) ac_tag=-:-;; 18002 :[FH]-) ac_tag=-:-;;
18007 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18003 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18008 esac 18004 esac
@@ -18030,7 +18026,7 @@ do
18030 [\\/$]*) false;; 18026 [\\/$]*) false;;
18031 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18032 esac || 18028 esac ||
18033 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18029 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
18034 esac 18030 esac
18035 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18031 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18036 as_fn_append ac_file_inputs " '$ac_f'" 18032 as_fn_append ac_file_inputs " '$ac_f'"
@@ -18057,7 +18053,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
18057 18053
18058 case $ac_tag in 18054 case $ac_tag in
18059 *:-:* | *:-) cat >"$tmp/stdin" \ 18055 *:-:* | *:-) cat >"$tmp/stdin" \
18060 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 18056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18061 esac 18057 esac
18062 ;; 18058 ;;
18063 esac 18059 esac
@@ -18194,22 +18190,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
18194$ac_datarootdir_hack 18190$ac_datarootdir_hack
18195" 18191"
18196eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 18192eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18197 || as_fn_error "could not create $ac_file" "$LINENO" 5 18193 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18198 18194
18199test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18195test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18200 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 18196 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18201 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 18197 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18203which seems to be undefined. Please make sure it is defined." >&5 18199which seems to be undefined. Please make sure it is defined" >&5
18204$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18200$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18205which seems to be undefined. Please make sure it is defined." >&2;} 18201which seems to be undefined. Please make sure it is defined" >&2;}
18206 18202
18207 rm -f "$tmp/stdin" 18203 rm -f "$tmp/stdin"
18208 case $ac_file in 18204 case $ac_file in
18209 -) cat "$tmp/out" && rm -f "$tmp/out";; 18205 -) cat "$tmp/out" && rm -f "$tmp/out";;
18210 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 18206 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18211 esac \ 18207 esac \
18212 || as_fn_error "could not create $ac_file" "$LINENO" 5 18208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18213 ;; 18209 ;;
18214 :H) 18210 :H)
18215 # 18211 #
@@ -18220,19 +18216,19 @@ which seems to be undefined. Please make sure it is defined." >&2;}
18220 $as_echo "/* $configure_input */" \ 18216 $as_echo "/* $configure_input */" \
18221 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 18217 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18222 } >"$tmp/config.h" \ 18218 } >"$tmp/config.h" \
18223 || as_fn_error "could not create $ac_file" "$LINENO" 5 18219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18224 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 18220 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18226$as_echo "$as_me: $ac_file is unchanged" >&6;} 18222$as_echo "$as_me: $ac_file is unchanged" >&6;}
18227 else 18223 else
18228 rm -f "$ac_file" 18224 rm -f "$ac_file"
18229 mv "$tmp/config.h" "$ac_file" \ 18225 mv "$tmp/config.h" "$ac_file" \
18230 || as_fn_error "could not create $ac_file" "$LINENO" 5 18226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18231 fi 18227 fi
18232 else 18228 else
18233 $as_echo "/* $configure_input */" \ 18229 $as_echo "/* $configure_input */" \
18234 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 18230 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18235 || as_fn_error "could not create -" "$LINENO" 5 18231 || as_fn_error $? "could not create -" "$LINENO" 5
18236 fi 18232 fi
18237# Compute "$ac_file"'s index in $config_headers. 18233# Compute "$ac_file"'s index in $config_headers.
18238_am_arg="$ac_file" 18234_am_arg="$ac_file"
@@ -19023,7 +19019,7 @@ _ACEOF
19023ac_clean_files=$ac_clean_files_save 19019ac_clean_files=$ac_clean_files_save
19024 19020
19025test $ac_write_fail = 0 || 19021test $ac_write_fail = 0 ||
19026 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 19022 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19027 19023
19028 19024
19029# configure is writing to config.log, and then calls config.status. 19025# configure is writing to config.log, and then calls config.status.
@@ -19044,7 +19040,7 @@ if test "$no_create" != yes; then
19044 exec 5>>config.log 19040 exec 5>>config.log
19045 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19041 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19046 # would make configure fail if this is the last instruction. 19042 # would make configure fail if this is the last instruction.
19047 $ac_cs_success || as_fn_exit $? 19043 $ac_cs_success || as_fn_exit 1
19048fi 19044fi
19049if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19045if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/libraries/edje/configure.ac b/libraries/edje/configure.ac
index eceed6c..8ac6b7c 100644
--- a/libraries/edje/configure.ac
+++ b/libraries/edje/configure.ac
@@ -1,12 +1,12 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [1]) 4m4_define([v_min], [2])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-07]) 11dnl m4_define([relname], [ver-pre-svn-07])
12dnl m4_define([v_rel], [-release relname]) 12dnl m4_define([v_rel], [-release relname])
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 20
21AC_INIT([edje], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([edje], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52]) 22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -96,6 +96,8 @@ AC_ARG_ENABLE([amalgamation],
96) 96)
97AM_CONDITIONAL([EDJE_AMALGAMATION], [test "x${do_amalgamation}" = "xyes"]) 97AM_CONDITIONAL([EDJE_AMALGAMATION], [test "x${do_amalgamation}" = "xyes"])
98 98
99EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
100
99EFL_ENABLE_BIN([edje-cc]) 101EFL_ENABLE_BIN([edje-cc])
100EFL_ENABLE_BIN([edje-decc]) 102EFL_ENABLE_BIN([edje-decc])
101EFL_ENABLE_BIN([edje-recc]) 103EFL_ENABLE_BIN([edje-recc])
@@ -256,37 +258,37 @@ fi
256 258
257PKG_CHECK_MODULES([MINIMAL], 259PKG_CHECK_MODULES([MINIMAL],
258 [ 260 [
259 eina >= 1.1.0 261 eina >= 1.2.0
260 eet >= 1.5.0 262 eet >= 1.6.0
261 ]) 263 ])
262 264
263PKG_CHECK_MODULES([EDJE], 265PKG_CHECK_MODULES([EDJE],
264 [ 266 [
265 eina >= 1.1.0 267 eina >= 1.2.0
266 eet >= 1.5.0 268 eet >= 1.6.0
267 evas >= 1.1.0 269 evas >= 1.2.0
268 ecore >= 1.1.0 270 ecore >= 1.2.0
269 ecore-evas >= 1.1.0 271 ecore-evas >= 1.2.0
270 ecore-file >= 1.1.0 272 ecore-file >= 1.2.0
271 embryo >= 1.1.0 273 embryo >= 1.2.0
272 ]) 274 ])
273 275
274EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}" 276EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
275EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}" 277EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
276 278
277requirement_edje="embryo >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0 ${requirement_edje}" 279requirement_edje="embryo >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0 ${requirement_edje}"
278requirement_edje="${requirement_lua} ${requirement_edje}" 280requirement_edje="${requirement_lua} ${requirement_edje}"
279 281
280have_ecore_imf="no" 282have_ecore_imf="no"
281PKG_CHECK_MODULES([ECORE_IMF], 283PKG_CHECK_MODULES([ECORE_IMF],
282 [ 284 [
283 ecore-imf >= 1.1.0 285 ecore-imf >= 1.2.0
284 ecore-imf-evas >= 1.1.0 286 ecore-imf-evas >= 1.2.0
285 ], 287 ],
286 [ 288 [
287 AC_DEFINE([HAVE_ECORE_IMF], [1], [Input Method Support for Edje Entry]) 289 AC_DEFINE([HAVE_ECORE_IMF], [1], [Input Method Support for Edje Entry])
288 have_ecore_imf="yes" 290 have_ecore_imf="yes"
289 requirement_edje="ecore-imf-evas >= 1.1.0 ecore-imf >= 1.1.0 ${requirement_edje}" 291 requirement_edje="ecore-imf-evas >= 1.2.0 ecore-imf >= 1.2.0 ${requirement_edje}"
290 ], 292 ],
291 [have_ecore_imf="no"]) 293 [have_ecore_imf="no"])
292 294
@@ -443,26 +445,26 @@ fi
443# Dependencies for the binaries 445# Dependencies for the binaries
444 446
445if test "x$have_edje_cc" = "xyes"; then 447if test "x$have_edje_cc" = "xyes"; then
446 PKG_CHECK_MODULES([EDJE_CC], [ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0]) 448 PKG_CHECK_MODULES([EDJE_CC], [ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0])
447 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}" 449 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
448fi 450fi
449 451
450AM_CONDITIONAL([BUILD_EPP], [test "x$have_edje_cc" = "xyes"]) 452AM_CONDITIONAL([BUILD_EPP], [test "x$have_edje_cc" = "xyes"])
451 453
452if test "x$have_edje_decc" = "xyes"; then 454if test "x$have_edje_decc" = "xyes"; then
453 PKG_CHECK_MODULES([EDJE_DECC], [ecore-file >= 1.1.0 ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eet >= 1.5.0 eina >= 1.1.0]) 455 PKG_CHECK_MODULES([EDJE_DECC], [ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0])
454fi 456fi
455 457
456if test "x$have_edje_player" = "xyes"; then 458if test "x$have_edje_player" = "xyes"; then
457 PKG_CHECK_MODULES([EDJE_PLAYER], [ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0]) 459 PKG_CHECK_MODULES([EDJE_PLAYER], [ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
458fi 460fi
459 461
460if test "x$have_edje_inspector" = "xyes"; then 462if test "x$have_edje_inspector" = "xyes"; then
461 PKG_CHECK_MODULES([EDJE_INSPECTOR], [ecore-evas >= 1.1.0 ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0]) 463 PKG_CHECK_MODULES([EDJE_INSPECTOR], [ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
462fi 464fi
463 465
464if test "x$have_edje_external_inspector" = "xyes"; then 466if test "x$have_edje_external_inspector" = "xyes"; then
465 PKG_CHECK_MODULES([EDJE_EXTERNAL_INSPECTOR], [ecore >= 1.1.0 evas >= 1.1.0 eina >= 1.1.0]) 467 PKG_CHECK_MODULES([EDJE_EXTERNAL_INSPECTOR], [ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0])
466fi 468fi
467 469
468 470
@@ -541,11 +543,6 @@ AC_ARG_ENABLE([build-examples],
541 [ 543 [
542 if test "x${enableval}" = "xyes" ; then 544 if test "x${enableval}" = "xyes" ; then
543 build_examples="yes" 545 build_examples="yes"
544 edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
545 # put in here the dependencies for Edje' examples. They are
546 # meant to be 'real world' usage examples, thus one will be
547 # using higher level libraries on these programs
548 AC_SUBST(edje_cc)
549 else 546 else
550 build_examples="no" 547 build_examples="no"
551 fi 548 fi
diff --git a/libraries/edje/data/Makefile.in b/libraries/edje/data/Makefile.in
index 83c9e7c..8555a6e 100644
--- a/libraries/edje/data/Makefile.in
+++ b/libraries/edje/data/Makefile.in
@@ -217,6 +217,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 217PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 218PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 219PKG_CONFIG = @PKG_CONFIG@
220PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
221PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220PYTHON = @PYTHON@ 222PYTHON = @PYTHON@
221PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 223PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
222PYTHON_PLATFORM = @PYTHON_PLATFORM@ 224PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/data/include/Makefile.in b/libraries/edje/data/include/Makefile.in
index b639450..ce14f03 100644
--- a/libraries/edje/data/include/Makefile.in
+++ b/libraries/edje/data/include/Makefile.in
@@ -177,6 +177,8 @@ PACKAGE_URL = @PACKAGE_URL@
177PACKAGE_VERSION = @PACKAGE_VERSION@ 177PACKAGE_VERSION = @PACKAGE_VERSION@
178PATH_SEPARATOR = @PATH_SEPARATOR@ 178PATH_SEPARATOR = @PATH_SEPARATOR@
179PKG_CONFIG = @PKG_CONFIG@ 179PKG_CONFIG = @PKG_CONFIG@
180PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
181PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
180PYTHON = @PYTHON@ 182PYTHON = @PYTHON@
181PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 183PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
182PYTHON_PLATFORM = @PYTHON_PLATFORM@ 184PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/doc/Makefile.in b/libraries/edje/doc/Makefile.in
index d88c39e..b821675 100644
--- a/libraries/edje/doc/Makefile.in
+++ b/libraries/edje/doc/Makefile.in
@@ -154,6 +154,8 @@ PACKAGE_URL = @PACKAGE_URL@
154PACKAGE_VERSION = @PACKAGE_VERSION@ 154PACKAGE_VERSION = @PACKAGE_VERSION@
155PATH_SEPARATOR = @PATH_SEPARATOR@ 155PATH_SEPARATOR = @PATH_SEPARATOR@
156PKG_CONFIG = @PKG_CONFIG@ 156PKG_CONFIG = @PKG_CONFIG@
157PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
158PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
157PYTHON = @PYTHON@ 159PYTHON = @PYTHON@
158PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 160PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
159PYTHON_PLATFORM = @PYTHON_PLATFORM@ 161PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/edje.spec b/libraries/edje/edje.spec
index cede72d..edc3837 100644
--- a/libraries/edje/edje.spec
+++ b/libraries/edje/edje.spec
@@ -4,7 +4,7 @@
4 4
5Summary: Complex Graphical Design/Layout Engine 5Summary: Complex Graphical Design/Layout Engine
6Name: edje 6Name: edje
7Version: 1.1.99.67344 7Version: 1.2.0-alpha
8Release: %{_rel} 8Release: %{_rel}
9License: BSD 9License: BSD
10Group: System Environment/Libraries 10Group: System Environment/Libraries
diff --git a/libraries/edje/ltmain.sh b/libraries/edje/ltmain.sh
index 7ed280b..fa4b1e1 100755
--- a/libraries/edje/ltmain.sh
+++ b/libraries/edje/ltmain.sh
@@ -65,7 +65,7 @@
65# compiler: $LTCC 65# compiler: $LTCC
66# compiler flags: $LTCFLAGS 66# compiler flags: $LTCFLAGS
67# linker: $LD (gnu? $with_gnu_ld) 67# linker: $LD (gnu? $with_gnu_ld)
68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
69# automake: $automake_version 69# automake: $automake_version
70# autoconf: $autoconf_version 70# autoconf: $autoconf_version
71# 71#
@@ -73,7 +73,7 @@
73 73
74PROGRAM=ltmain.sh 74PROGRAM=ltmain.sh
75PACKAGE=libtool 75PACKAGE=libtool
76VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" 76VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
77TIMESTAMP="" 77TIMESTAMP=""
78package_revision=1.3017 78package_revision=1.3017
79 79
diff --git a/libraries/edje/m4/efl_binary.m4 b/libraries/edje/m4/efl_binary.m4
index 93d6934..c774688 100644
--- a/libraries/edje/m4/efl_binary.m4
+++ b/libraries/edje/m4/efl_binary.m4
@@ -42,3 +42,30 @@ AM_CONDITIONAL(BUILD_[]UP, test "x$have_[]m4_defn([DOWN])" = "xyes")
42AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3]) 42AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3])
43 43
44]) 44])
45
46
47dnl Macro that check if a binary is built or not
48
49dnl Usage: EFL_WITH_BIN(package, binary, default_value)
50dnl Call AC_SUBST(_binary) (_binary is the lowercase of binary, - being transformed into _ by default, or the value set by the user)
51
52AC_DEFUN([EFL_WITH_BIN],
53[
54
55m4_pushdef([DOWN], m4_translit([[$2]], [-A-Z], [_a-z]))dnl
56
57dnl configure option
58
59AC_ARG_WITH([$2],
60 [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])],
61 [_efl_with_binary=${withval}],
62 [_efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3])
63
64DOWN=${_efl_with_binary}
65AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}])
66
67with_binary_[]m4_defn([DOWN])=${_efl_with_binary}
68
69AC_SUBST(DOWN)
70
71])
diff --git a/libraries/edje/src/Makefile.in b/libraries/edje/src/Makefile.in
index fc05386..532d75b 100644
--- a/libraries/edje/src/Makefile.in
+++ b/libraries/edje/src/Makefile.in
@@ -193,6 +193,8 @@ PACKAGE_URL = @PACKAGE_URL@
193PACKAGE_VERSION = @PACKAGE_VERSION@ 193PACKAGE_VERSION = @PACKAGE_VERSION@
194PATH_SEPARATOR = @PATH_SEPARATOR@ 194PATH_SEPARATOR = @PATH_SEPARATOR@
195PKG_CONFIG = @PKG_CONFIG@ 195PKG_CONFIG = @PKG_CONFIG@
196PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
197PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
196PYTHON = @PYTHON@ 198PYTHON = @PYTHON@
197PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 199PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
198PYTHON_PLATFORM = @PYTHON_PLATFORM@ 200PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/bin/Makefile.in b/libraries/edje/src/bin/Makefile.in
index 07bf025..877bcb2 100644
--- a/libraries/edje/src/bin/Makefile.in
+++ b/libraries/edje/src/bin/Makefile.in
@@ -291,6 +291,8 @@ PACKAGE_URL = @PACKAGE_URL@
291PACKAGE_VERSION = @PACKAGE_VERSION@ 291PACKAGE_VERSION = @PACKAGE_VERSION@
292PATH_SEPARATOR = @PATH_SEPARATOR@ 292PATH_SEPARATOR = @PATH_SEPARATOR@
293PKG_CONFIG = @PKG_CONFIG@ 293PKG_CONFIG = @PKG_CONFIG@
294PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
295PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
294PYTHON = @PYTHON@ 296PYTHON = @PYTHON@
295PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 297PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
296PYTHON_PLATFORM = @PYTHON_PLATFORM@ 298PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/bin/edje_cc.h b/libraries/edje/src/bin/edje_cc.h
index d0c6d22..0291f29 100644
--- a/libraries/edje/src/bin/edje_cc.h
+++ b/libraries/edje/src/bin/edje_cc.h
@@ -147,6 +147,7 @@ void data_queue_anonymous_lookup(Edje_Part_Collection *pc, Edje_Program *ep,
147void data_queue_copied_anonymous_lookup(Edje_Part_Collection *pc, int *src, int *dest); 147void data_queue_copied_anonymous_lookup(Edje_Part_Collection *pc, int *src, int *dest);
148void data_queue_image_lookup(char *name, int *dest, Eina_Bool *set); 148void data_queue_image_lookup(char *name, int *dest, Eina_Bool *set);
149void data_queue_copied_image_lookup(int *src, int *dest, Eina_Bool *set); 149void data_queue_copied_image_lookup(int *src, int *dest, Eina_Bool *set);
150void data_queue_image_remove(int *dest, Eina_Bool *set);
150void data_queue_part_slave_lookup(int *master, int *slave); 151void data_queue_part_slave_lookup(int *master, int *slave);
151void data_queue_image_slave_lookup(int *master, int *slave); 152void data_queue_image_slave_lookup(int *master, int *slave);
152void data_queue_spectrum_lookup(char *name, int *dest); 153void data_queue_spectrum_lookup(char *name, int *dest);
@@ -155,6 +156,7 @@ void data_process_lookups(void);
155void data_process_scripts(void); 156void data_process_scripts(void);
156void data_process_script_lookups(void); 157void data_process_script_lookups(void);
157 158
159void part_description_image_cleanup(Edje_Part *ep);
158 160
159int is_verbatim(void); 161int is_verbatim(void);
160void track_verbatim(int on); 162void track_verbatim(int on);
diff --git a/libraries/edje/src/bin/edje_cc_handlers.c b/libraries/edje/src/bin/edje_cc_handlers.c
index f74fa12..14ac0b7 100644
--- a/libraries/edje/src/bin/edje_cc_handlers.c
+++ b/libraries/edje/src/bin/edje_cc_handlers.c
@@ -106,6 +106,7 @@ static void st_collections_group_script_only(void);
106static void st_collections_group_alias(void); 106static void st_collections_group_alias(void);
107static void st_collections_group_min(void); 107static void st_collections_group_min(void);
108static void st_collections_group_max(void); 108static void st_collections_group_max(void);
109static void st_collections_group_broadcast_signal(void);
109static void st_collections_group_data_item(void); 110static void st_collections_group_data_item(void);
110static void st_collections_group_orientation(void); 111static void st_collections_group_orientation(void);
111 112
@@ -317,6 +318,7 @@ New_Statement_Handler statement_handlers[] =
317 {"collections.group.alias", st_collections_group_alias}, 318 {"collections.group.alias", st_collections_group_alias},
318 {"collections.group.min", st_collections_group_min}, 319 {"collections.group.min", st_collections_group_min},
319 {"collections.group.max", st_collections_group_max}, 320 {"collections.group.max", st_collections_group_max},
321 {"collections.group.broadcast_signal", st_collections_group_broadcast_signal},
320 {"collections.group.orientation", st_collections_group_orientation}, 322 {"collections.group.orientation", st_collections_group_orientation},
321 {"collections.group.data.item", st_collections_group_data_item}, 323 {"collections.group.data.item", st_collections_group_data_item},
322 {"collections.group.limits.horizontal", st_collections_group_limits_horizontal}, 324 {"collections.group.limits.horizontal", st_collections_group_limits_horizontal},
@@ -833,6 +835,39 @@ _edje_part_description_fill(Edje_Part_Description_Spec_Fill *fill)
833 fill->type = EDJE_FILL_TYPE_SCALE; 835 fill->type = EDJE_FILL_TYPE_SCALE;
834} 836}
835 837
838static void
839_edje_part_description_image_remove(Edje_Part_Description_Image *ed)
840{
841 unsigned int j;
842
843 if (!ed) return;
844
845 data_queue_image_remove(&(ed->image.id), &(ed->image.set));
846
847 for (j = 0; j < ed->image.tweens_count; ++j)
848 data_queue_image_remove(&(ed->image.tweens[j]->id),
849 &(ed->image.tweens[j]->set));
850}
851
852void
853part_description_image_cleanup(Edje_Part *ep)
854{
855 Edje_Part_Description_Image *ed;
856 unsigned int j;
857
858 if (ep->type != EDJE_PART_TYPE_IMAGE)
859 return ;
860
861 ed = (Edje_Part_Description_Image*) ep->default_desc;
862 _edje_part_description_image_remove(ed);
863
864 for (j = 0; j < ep->other.desc_count; j++)
865 {
866 ed = (Edje_Part_Description_Image*) ep->other.desc[j];
867 _edje_part_description_image_remove(ed);
868 }
869}
870
836static Edje_Part_Description_Common * 871static Edje_Part_Description_Common *
837_edje_part_description_alloc(unsigned char type, const char *collection, const char *part) 872_edje_part_description_alloc(unsigned char type, const char *collection, const char *part)
838{ 873{
@@ -2118,6 +2153,7 @@ ob_collections_group(void)
2118 pc = mem_alloc(SZ(Edje_Part_Collection)); 2153 pc = mem_alloc(SZ(Edje_Part_Collection));
2119 edje_collections = eina_list_append(edje_collections, pc); 2154 edje_collections = eina_list_append(edje_collections, pc);
2120 pc->id = current_de->id; 2155 pc->id = current_de->id;
2156 pc->broadcast_signal = EINA_TRUE; /* This was the behaviour by default in Edje 1.1 */
2121 2157
2122 cd = mem_alloc(SZ(Code)); 2158 cd = mem_alloc(SZ(Code));
2123 codes = eina_list_append(codes, cd); 2159 codes = eina_list_append(codes, cd);
@@ -2139,8 +2175,10 @@ ob_collections_group(void)
2139static void 2175static void
2140st_collections_group_name(void) 2176st_collections_group_name(void)
2141{ 2177{
2178 Edje_Part_Collection_Directory_Entry *alias;
2142 Edje_Part_Collection_Directory_Entry *older; 2179 Edje_Part_Collection_Directory_Entry *older;
2143 Edje_Part_Collection *current_pc; 2180 Edje_Part_Collection *current_pc;
2181 Eina_List *l = NULL;
2144 2182
2145 check_arg_count(1); 2183 check_arg_count(1);
2146 2184
@@ -2150,31 +2188,24 @@ st_collections_group_name(void)
2150 current_pc->part = current_de->entry; 2188 current_pc->part = current_de->entry;
2151 2189
2152 older = eina_hash_find(edje_file->collection, current_de->entry); 2190 older = eina_hash_find(edje_file->collection, current_de->entry);
2191 if (older) eina_hash_del(edje_file->collection, current_de->entry, older);
2192 eina_hash_direct_add(edje_file->collection, current_de->entry, current_de);
2193 if (!older) return;
2153 2194
2154 if (older) 2195 EINA_LIST_FOREACH(aliases, l, alias)
2155 { 2196 if (strcmp(alias->entry, current_de->entry) == 0)
2156 Edje_Part_Collection *pc; 2197 {
2157 Eina_List *l; 2198 Edje_Part_Collection *pc;
2158 Code *cd; 2199
2159 int i = 0; 2200 pc = eina_list_nth(edje_collections, older->id);
2160 2201 INF("overriding alias ('%s' => '%s') by group '%s'",
2161 pc = eina_list_nth(edje_collections, older->id); 2202 alias->entry, pc->part,
2162 cd = eina_list_nth(codes, older->id); 2203 current_de->entry);
2163 2204 aliases = eina_list_remove_list(aliases, l);
2164 eina_hash_del(edje_file->collection, current_de->entry, older); 2205 free(alias);
2165 edje_collections = eina_list_remove(edje_collections, pc); 2206 break;
2166 codes = eina_list_remove(codes, cd); 2207 }
2167
2168 EINA_LIST_FOREACH(edje_collections, l, pc)
2169 {
2170 older = eina_hash_find(edje_file->collection, pc->part);
2171
2172 pc->id = i++;
2173 if (older) older->id = pc->id;
2174 }
2175 }
2176 2208
2177 eina_hash_direct_add(edje_file->collection, current_de->entry, current_de);
2178} 2209}
2179 2210
2180typedef struct _Edje_List_Foreach_Data Edje_List_Foreach_Data; 2211typedef struct _Edje_List_Foreach_Data Edje_List_Foreach_Data;
@@ -2242,6 +2273,14 @@ st_collections_group_inherit(void)
2242 progname, file_in, line - 1, parent_name); 2273 progname, file_in, line - 1, parent_name);
2243 exit(-1); 2274 exit(-1);
2244 } 2275 }
2276 if (pc2 == pc)
2277 {
2278 ERR("%s: Error. parse error %s:%i. You are trying to inherit '%s' from itself. That's not possible."
2279 "If there is another group of the same name, you want to inherit from that group and have the"
2280 "same name as that group, there is a trick ! Just put the inherit before the directive that set"
2281 "the name !", progname, file_in, line - 1, parent_name);
2282 exit(-1);
2283 }
2245 2284
2246 if (pc2->data) 2285 if (pc2->data)
2247 { 2286 {
@@ -2463,6 +2502,8 @@ static void
2463st_collections_group_alias(void) 2502st_collections_group_alias(void)
2464{ 2503{
2465 Edje_Part_Collection_Directory_Entry *alias; 2504 Edje_Part_Collection_Directory_Entry *alias;
2505 Edje_Part_Collection_Directory_Entry *tmp;
2506 Eina_List *l;
2466 2507
2467 check_arg_count(1); 2508 check_arg_count(1);
2468 2509
@@ -2470,6 +2511,20 @@ st_collections_group_alias(void)
2470 alias->id = current_de->id; 2511 alias->id = current_de->id;
2471 alias->entry = parse_str(0); 2512 alias->entry = parse_str(0);
2472 2513
2514 EINA_LIST_FOREACH(aliases, l, tmp)
2515 if (strcmp(alias->entry, tmp->entry) == 0)
2516 {
2517 Edje_Part_Collection *pc;
2518
2519 pc = eina_list_nth(edje_collections, tmp->id);
2520 INF("overriding alias ('%s' => '%s') to ('%s' => '%s')",
2521 tmp->entry, pc->part,
2522 alias->entry, current_de->entry);
2523 aliases = eina_list_remove_list(aliases, l);
2524 free(tmp);
2525 break;
2526 }
2527
2473 aliases = eina_list_append(aliases, alias); 2528 aliases = eina_list_append(aliases, alias);
2474} 2529}
2475 2530
@@ -2520,6 +2575,28 @@ st_collections_group_max(void)
2520} 2575}
2521 2576
2522/** 2577/**
2578 @page edcref
2579 @property
2580 broadcast_signal
2581 @parameters
2582 [broadcast]
2583 @effect
2584 Signal got automatically broadcasted to all sub group part. Default to
2585 true since 1.1.
2586 @endproperty
2587*/
2588static void
2589st_collections_group_broadcast_signal(void)
2590{
2591 Edje_Part_Collection *pc;
2592
2593 check_arg_count(1);
2594
2595 pc = eina_list_data_get(eina_list_last(edje_collections));
2596 pc->broadcast_signal = parse_bool(0);
2597}
2598
2599/**
2523 @page edcref 2600 @page edcref
2524 @block 2601 @block
2525 script 2602 script
@@ -2947,21 +3024,57 @@ st_collections_group_parts_part_name(void)
2947static void 3024static void
2948st_collections_group_parts_part_type(void) 3025st_collections_group_parts_part_type(void)
2949{ 3026{
3027 unsigned int type;
3028
2950 check_arg_count(1); 3029 check_arg_count(1);
2951 3030
2952 current_part->type = parse_enum(0, 3031 type = parse_enum(0,
2953 "NONE", EDJE_PART_TYPE_NONE, 3032 "NONE", EDJE_PART_TYPE_NONE,
2954 "RECT", EDJE_PART_TYPE_RECTANGLE, 3033 "RECT", EDJE_PART_TYPE_RECTANGLE,
2955 "TEXT", EDJE_PART_TYPE_TEXT, 3034 "TEXT", EDJE_PART_TYPE_TEXT,
2956 "IMAGE", EDJE_PART_TYPE_IMAGE, 3035 "IMAGE", EDJE_PART_TYPE_IMAGE,
2957 "SWALLOW", EDJE_PART_TYPE_SWALLOW, 3036 "SWALLOW", EDJE_PART_TYPE_SWALLOW,
2958 "TEXTBLOCK", EDJE_PART_TYPE_TEXTBLOCK, 3037 "TEXTBLOCK", EDJE_PART_TYPE_TEXTBLOCK,
2959 "GROUP", EDJE_PART_TYPE_GROUP, 3038 "GROUP", EDJE_PART_TYPE_GROUP,
2960 "BOX", EDJE_PART_TYPE_BOX, 3039 "BOX", EDJE_PART_TYPE_BOX,
2961 "TABLE", EDJE_PART_TYPE_TABLE, 3040 "TABLE", EDJE_PART_TYPE_TABLE,
2962 "EXTERNAL", EDJE_PART_TYPE_EXTERNAL, 3041 "EXTERNAL", EDJE_PART_TYPE_EXTERNAL,
2963 "PROXY", EDJE_PART_TYPE_PROXY, 3042 "PROXY", EDJE_PART_TYPE_PROXY,
2964 NULL); 3043 NULL);
3044
3045 /* handle type change of inherited part */
3046 if (type != current_part->type)
3047 {
3048 Edje_Part_Description_Common *new, *previous;
3049 Edje_Part_Collection *pc;
3050 Edje_Part *ep;
3051 unsigned int i;
3052
3053 /* we don't free old part as we don't remove all reference to them */
3054 part_description_image_cleanup(current_part);
3055
3056 pc = eina_list_data_get(eina_list_last(edje_collections));
3057 ep = current_part;
3058
3059 previous = ep->default_desc;
3060 if (previous)
3061 {
3062 new = _edje_part_description_alloc(type, pc->part, ep->name);
3063 memcpy(new, previous, sizeof (Edje_Part_Description_Common));
3064
3065 ep->default_desc = new;
3066 }
3067
3068 for (i = 0; i < ep->other.desc_count; i++)
3069 {
3070 previous = ep->other.desc[i];
3071 new = _edje_part_description_alloc(type, pc->part, ep->name);
3072 memcpy(new, previous, sizeof (Edje_Part_Description_Common));
3073 ep->other.desc[i] = new;
3074 }
3075 }
3076
3077 current_part->type = type;
2965} 3078}
2966 3079
2967/** 3080/**
@@ -4292,6 +4405,7 @@ st_collections_group_parts_part_description_inherit(void)
4292 4405
4293 ied->image = iparent->image; 4406 ied->image = iparent->image;
4294 4407
4408 data_queue_image_remove(&ied->image.id, &ied->image.set);
4295 data_queue_copied_image_lookup(&iparent->image.id, &ied->image.id, &ied->image.set); 4409 data_queue_copied_image_lookup(&iparent->image.id, &ied->image.id, &ied->image.set);
4296 4410
4297 ied->image.tweens = calloc(iparent->image.tweens_count, 4411 ied->image.tweens = calloc(iparent->image.tweens_count,
@@ -4303,6 +4417,7 @@ st_collections_group_parts_part_description_inherit(void)
4303 iid = iparent->image.tweens[i]; 4417 iid = iparent->image.tweens[i];
4304 4418
4305 iid_new = mem_alloc(SZ(Edje_Part_Image_Id)); 4419 iid_new = mem_alloc(SZ(Edje_Part_Image_Id));
4420 data_queue_image_remove(&ied->image.id, &ied->image.set);
4306 data_queue_copied_image_lookup(&(iid->id), &(iid_new->id), &(iid_new->set)); 4421 data_queue_copied_image_lookup(&(iid->id), &(iid_new->id), &(iid_new->set));
4307 ied->image.tweens[i] = iid_new; 4422 ied->image.tweens[i] = iid_new;
4308 } 4423 }
@@ -4445,6 +4560,9 @@ st_collections_group_parts_part_description_state(void)
4445 if ((ep->default_desc->state.name && !strcmp(s, ep->default_desc->state.name) && ed->state.value == ep->default_desc->state.value) || 4560 if ((ep->default_desc->state.name && !strcmp(s, ep->default_desc->state.name) && ed->state.value == ep->default_desc->state.value) ||
4446 (!ep->default_desc->state.name && !strcmp(s, "default") && ed->state.value == ep->default_desc->state.value)) 4561 (!ep->default_desc->state.name && !strcmp(s, "default") && ed->state.value == ep->default_desc->state.value))
4447 { 4562 {
4563 if (ep->type == EDJE_PART_TYPE_IMAGE)
4564 _edje_part_description_image_remove((Edje_Part_Description_Image*) ed);
4565
4448 free(ed); 4566 free(ed);
4449 ep->other.desc_count--; 4567 ep->other.desc_count--;
4450 ep->other.desc = realloc(ep->other.desc, 4568 ep->other.desc = realloc(ep->other.desc,
@@ -4458,6 +4576,9 @@ st_collections_group_parts_part_description_state(void)
4458 { 4576 {
4459 if (!strcmp(s, ep->other.desc[i]->state.name) && ed->state.value == ep->other.desc[i]->state.value) 4577 if (!strcmp(s, ep->other.desc[i]->state.name) && ed->state.value == ep->other.desc[i]->state.value)
4460 { 4578 {
4579 if (ep->type == EDJE_PART_TYPE_IMAGE)
4580 _edje_part_description_image_remove((Edje_Part_Description_Image*) ed);
4581
4461 free(ed); 4582 free(ed);
4462 ep->other.desc_count--; 4583 ep->other.desc_count--;
4463 ep->other.desc = realloc(ep->other.desc, 4584 ep->other.desc = realloc(ep->other.desc,
@@ -4538,18 +4659,38 @@ st_collections_group_parts_part_description_fixed(void)
4538 @property 4659 @property
4539 min 4660 min
4540 @parameters 4661 @parameters
4541 [width] [height] 4662 [width] [height] or SOURCE
4542 @effect 4663 @effect
4543 The minimum size of the state. 4664 The minimum size of the state.
4665
4666 When min is defined to SOURCE, it will look at the original
4667 image size and enforce it minimal size to match at least the
4668 original one. The part must be an IMAGE or a GROUP part.
4544 @endproperty 4669 @endproperty
4545*/ 4670*/
4546static void 4671static void
4547st_collections_group_parts_part_description_min(void) 4672st_collections_group_parts_part_description_min(void)
4548{ 4673{
4549 check_arg_count(2); 4674 check_min_arg_count(1);
4675
4676 if (is_param(1)) {
4677 current_desc->min.w = parse_float_range(0, 0, 0x7fffffff);
4678 current_desc->min.h = parse_float_range(1, 0, 0x7fffffff);
4679 } else {
4680 char *tmp;
4681
4682 tmp = parse_str(0);
4683 if ((current_part->type != EDJE_PART_TYPE_IMAGE && current_part->type != EDJE_PART_TYPE_GROUP) ||
4684 !tmp || strcmp(tmp, "SOURCE") != 0)
4685 {
4686 ERR("%s: Error. parse error %s:%i. "
4687 "Only IMAGE and GROUP part can have a min: SOURCE; defined",
4688 progname, file_in, line - 1);
4689 exit(-1);
4690 }
4550 4691
4551 current_desc->min.w = parse_float_range(0, 0, 0x7fffffff); 4692 current_desc->min.limit = EINA_TRUE;
4552 current_desc->min.h = parse_float_range(1, 0, 0x7fffffff); 4693 }
4553} 4694}
4554 4695
4555/** 4696/**
@@ -4578,18 +4719,38 @@ st_collections_group_parts_part_description_minmul(void)
4578 @property 4719 @property
4579 max 4720 max
4580 @parameters 4721 @parameters
4581 [width] [height] 4722 [width] [height] or SOURCE
4582 @effect 4723 @effect
4583 The maximum size of the state. A size of -1.0 means that it will be ignored in one direction. 4724 The maximum size of the state. A size of -1.0 means that it will be ignored in one direction.
4725
4726 When max is set to SOURCE, edje will enforce the part to be
4727 not more than the original image size. The part must be an
4728 IMAGE part.
4584 @endproperty 4729 @endproperty
4585*/ 4730*/
4586static void 4731static void
4587st_collections_group_parts_part_description_max(void) 4732st_collections_group_parts_part_description_max(void)
4588{ 4733{
4589 check_arg_count(2); 4734 check_min_arg_count(1);
4735
4736 if (is_param(1)) {
4737 current_desc->max.w = parse_float_range(0, -1.0, 0x7fffffff);
4738 current_desc->max.h = parse_float_range(1, -1.0, 0x7fffffff);
4739 } else {
4740 char *tmp;
4590 4741
4591 current_desc->max.w = parse_float_range(0, -1.0, 0x7fffffff); 4742 tmp = parse_str(0);
4592 current_desc->max.h = parse_float_range(1, -1.0, 0x7fffffff); 4743 if (current_part->type != EDJE_PART_TYPE_IMAGE ||
4744 !tmp || strcmp(tmp, "SOURCE") != 0)
4745 {
4746 ERR("%s: Error. parse error %s:%i. "
4747 "Only IMAGE part can have a max: SOURCE; defined",
4748 progname, file_in, line - 1);
4749 exit(-1);
4750 }
4751
4752 current_desc->max.limit = EINA_TRUE;
4753 }
4593} 4754}
4594 4755
4595/** 4756/**
@@ -5039,6 +5200,7 @@ st_collections_group_parts_part_description_image_normal(void)
5039 char *name; 5200 char *name;
5040 5201
5041 name = parse_str(0); 5202 name = parse_str(0);
5203 data_queue_image_remove(&(ed->image.id), &(ed->image.set));
5042 data_queue_image_lookup(name, &(ed->image.id), &(ed->image.set)); 5204 data_queue_image_lookup(name, &(ed->image.id), &(ed->image.set));
5043 free(name); 5205 free(name);
5044 } 5206 }
@@ -5083,6 +5245,7 @@ st_collections_group_parts_part_description_image_tween(void)
5083 sizeof (Edje_Part_Image_Id*) * ed->image.tweens_count); 5245 sizeof (Edje_Part_Image_Id*) * ed->image.tweens_count);
5084 ed->image.tweens[ed->image.tweens_count - 1] = iid; 5246 ed->image.tweens[ed->image.tweens_count - 1] = iid;
5085 name = parse_str(0); 5247 name = parse_str(0);
5248 data_queue_image_remove(&(iid->id), &(iid->set));
5086 data_queue_image_lookup(name, &(iid->id), &(iid->set)); 5249 data_queue_image_lookup(name, &(iid->id), &(iid->set));
5087 free(name); 5250 free(name);
5088 } 5251 }
diff --git a/libraries/edje/src/bin/edje_cc_mem.c b/libraries/edje/src/bin/edje_cc_mem.c
index 7c1a5c9..d2d4ae0 100644
--- a/libraries/edje/src/bin/edje_cc_mem.c
+++ b/libraries/edje/src/bin/edje_cc_mem.c
@@ -7,12 +7,6 @@
7 7
8#include "edje_cc.h" 8#include "edje_cc.h"
9 9
10#ifdef _WIN32
11# define FMT_SIZE_T "%Iu"
12#else
13# define FMT_SIZE_T "%zu"
14#endif
15
16void * 10void *
17mem_alloc(size_t size) 11mem_alloc(size_t size)
18{ 12{
@@ -20,7 +14,7 @@ mem_alloc(size_t size)
20 14
21 mem = calloc(1, size); 15 mem = calloc(1, size);
22 if (mem) return mem; 16 if (mem) return mem;
23 ERR("%s: Error. %s:%i memory allocation of " FMT_SIZE_T " bytes failed. %s", 17 ERR("%s: Error. %s:%i memory allocation of %zu bytes failed. %s",
24 progname, file_in, line, size, strerror(errno)); 18 progname, file_in, line, size, strerror(errno));
25 exit(-1); 19 exit(-1);
26 return NULL; 20 return NULL;
@@ -33,7 +27,7 @@ mem_strdup(const char *s)
33 27
34 str = strdup(s); 28 str = strdup(s);
35 if (str) return str; 29 if (str) return str;
36 ERR("%s: Error. %s:%i memory allocation of " FMT_SIZE_T " bytes failed. %s. string being duplicated: \"%s\"", 30 ERR("%s: Error. %s:%i memory allocation of %zu bytes failed. %s. string being duplicated: \"%s\"",
37 progname, file_in, line, strlen(s) + 1, strerror(errno), s); 31 progname, file_in, line, strlen(s) + 1, strerror(errno), s);
38 exit(-1); 32 exit(-1);
39 return NULL; 33 return NULL;
diff --git a/libraries/edje/src/bin/edje_cc_out.c b/libraries/edje/src/bin/edje_cc_out.c
index 5050ad4..b4c541c 100644
--- a/libraries/edje/src/bin/edje_cc_out.c
+++ b/libraries/edje/src/bin/edje_cc_out.c
@@ -2,21 +2,30 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#ifdef STDC_HEADERS
6# include <stdlib.h>
7# include <stddef.h>
8#else
9# ifdef HAVE_STDLIB_H
10# include <stdlib.h>
11# endif
12#endif
5#ifdef HAVE_ALLOCA_H 13#ifdef HAVE_ALLOCA_H
6# include <alloca.h> 14# include <alloca.h>
7#elif defined __GNUC__ 15#elif !defined alloca
8# define alloca __builtin_alloca 16# ifdef __GNUC__
9#elif defined _AIX 17# define alloca __builtin_alloca
10# define alloca __alloca 18# elif defined _AIX
11#elif defined _MSC_VER 19# define alloca __alloca
12# include <malloc.h> 20# elif defined _MSC_VER
13# define alloca _alloca 21# include <malloc.h>
14#else 22# define alloca _alloca
15# include <stddef.h> 23# elif !defined HAVE_ALLOCA
16# ifdef __cplusplus 24# ifdef __cplusplus
17extern "C" 25extern "C"
18# endif 26# endif
19void *alloca (size_t); 27void *alloca (size_t);
28# endif
20#endif 29#endif
21 30
22#include <string.h> 31#include <string.h>
@@ -102,7 +111,7 @@ struct _Code_Lookup
102 Eina_Bool set; 111 Eina_Bool set;
103}; 112};
104 113
105static void data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, char *ptr, int len)); 114static void data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, char* ptr, int len));
106 115
107Edje_File *edje_file = NULL; 116Edje_File *edje_file = NULL;
108Eina_List *edje_collections = NULL; 117Eina_List *edje_collections = NULL;
@@ -500,7 +509,8 @@ data_write_images(Eet_File *ef, int *image_num, int *input_bytes, int *input_raw
500 { 509 {
501 img = &edje_file->image_dir->entries[i]; 510 img = &edje_file->image_dir->entries[i];
502 511
503 if (img->source_type == EDJE_IMAGE_SOURCE_TYPE_EXTERNAL) 512 if (img->source_type == EDJE_IMAGE_SOURCE_TYPE_EXTERNAL
513 || img->entry == NULL)
504 { 514 {
505 } 515 }
506 else 516 else
@@ -1550,6 +1560,23 @@ data_queue_image_lookup(char *name, int *dest, Eina_Bool *set)
1550} 1560}
1551 1561
1552void 1562void
1563data_queue_image_remove(int *dest, Eina_Bool *set)
1564{
1565 Eina_List *l;
1566 Image_Lookup *il;
1567
1568 EINA_LIST_FOREACH(image_lookups, l, il)
1569 {
1570 if (il->dest == dest && il->set == set)
1571 {
1572 image_lookups = eina_list_remove_list(image_lookups, l);
1573 free(il);
1574 return ;
1575 }
1576 }
1577 }
1578
1579void
1553data_queue_copied_image_lookup(int *src, int *dest, Eina_Bool *set) 1580data_queue_copied_image_lookup(int *src, int *dest, Eina_Bool *set)
1554{ 1581{
1555 Eina_List *l; 1582 Eina_List *l;
@@ -1602,14 +1629,64 @@ data_process_lookups(void)
1602 Program_Lookup *program; 1629 Program_Lookup *program;
1603 Group_Lookup *group; 1630 Group_Lookup *group;
1604 Image_Lookup *image; 1631 Image_Lookup *image;
1632 Eina_List *l2;
1605 Eina_List *l; 1633 Eina_List *l;
1634 Eina_Hash *images_in_use;
1606 void *data; 1635 void *data;
1636 Eina_Bool is_lua = EINA_FALSE;
1637
1638 /* remove all unreferenced Edje_Part_Collection */
1639 EINA_LIST_FOREACH_SAFE(edje_collections, l, l2, pc)
1640 {
1641 Edje_Part_Collection_Directory_Entry *alias;
1642 Edje_Part_Collection_Directory_Entry *find;
1643 Eina_List *l3;
1644 unsigned int id = 0;
1645 unsigned int i;
1646
1647 find = eina_hash_find(edje_file->collection, pc->part);
1648 if (find && find->id == pc->id)
1649 continue ;
1650
1651 EINA_LIST_FOREACH(aliases, l3, alias)
1652 if (alias->id == pc->id)
1653 continue ;
1654
1655 /* This Edje_Part_Collection is not used at all */
1656 edje_collections = eina_list_remove_list(edje_collections, l);
1657 l3 = eina_list_nth_list(codes, pc->id);
1658 codes = eina_list_remove_list(codes, l3);
1659
1660 /* Unref all image used by that group */
1661 for (i = 0; i < pc->parts_count; ++i)
1662 part_description_image_cleanup(pc->parts[i]);
1663
1664 /* Correct all id */
1665 EINA_LIST_FOREACH(edje_collections, l3, pc)
1666 {
1667 Eina_List *l4;
1668
1669 /* Some group could be removed from the collection, but still be referenced by alias */
1670 find = eina_hash_find(edje_file->collection, pc->part);
1671 if (pc->id != find->id) find = NULL;
1672
1673 /* Update all matching alias */
1674 EINA_LIST_FOREACH(aliases, l4, alias)
1675 if (pc->id == alias->id)
1676 alias->id = id;
1677
1678 pc->id = id++;
1679 if (find) find->id = pc->id;
1680 }
1681 }
1607 1682
1608 EINA_LIST_FOREACH(edje_collections, l, pc) 1683 EINA_LIST_FOREACH(edje_collections, l, pc)
1609 { 1684 {
1610 unsigned int count = 0; 1685 unsigned int count = 0;
1611 unsigned int i; 1686 unsigned int i;
1612 1687
1688 if (pc->lua_script_only)
1689 is_lua = EINA_TRUE;
1613#define PROGRAM_ID_SET(Type, Pc, It, Count) \ 1690#define PROGRAM_ID_SET(Type, Pc, It, Count) \
1614 for (It = 0; It < Pc->programs.Type ## _count; ++It) \ 1691 for (It = 0; It < Pc->programs.Type ## _count; ++It) \
1615 { \ 1692 { \
@@ -1738,13 +1815,15 @@ data_process_lookups(void)
1738 free(group); 1815 free(group);
1739 } 1816 }
1740 1817
1818 images_in_use = eina_hash_string_superfast_new(NULL);
1819
1741 EINA_LIST_FREE(image_lookups, image) 1820 EINA_LIST_FREE(image_lookups, image)
1742 { 1821 {
1743 Edje_Image_Directory_Entry *de;
1744 Eina_Bool find = EINA_FALSE; 1822 Eina_Bool find = EINA_FALSE;
1745 1823
1746 if (edje_file->image_dir) 1824 if (edje_file->image_dir)
1747 { 1825 {
1826 Edje_Image_Directory_Entry *de;
1748 unsigned int i; 1827 unsigned int i;
1749 1828
1750 for (i = 0; i < edje_file->image_dir->entries_count; ++i) 1829 for (i = 0; i < edje_file->image_dir->entries_count; ++i)
@@ -1760,6 +1839,9 @@ data_process_lookups(void)
1760 *(image->dest) = de->id; 1839 *(image->dest) = de->id;
1761 *(image->set) = EINA_FALSE; 1840 *(image->set) = EINA_FALSE;
1762 find = EINA_TRUE; 1841 find = EINA_TRUE;
1842
1843 if (!eina_hash_find(images_in_use, image->name))
1844 eina_hash_direct_add(images_in_use, de->entry, de);
1763 break; 1845 break;
1764 } 1846 }
1765 } 1847 }
@@ -1774,10 +1856,20 @@ data_process_lookups(void)
1774 1856
1775 if ((set->name) && (!strcmp(set->name, image->name))) 1857 if ((set->name) && (!strcmp(set->name, image->name)))
1776 { 1858 {
1859 Edje_Image_Directory_Set_Entry *child;
1860 Eina_List *lc;
1861
1777 handle_slave_lookup(image_slave_lookups, image->dest, set->id); 1862 handle_slave_lookup(image_slave_lookups, image->dest, set->id);
1778 *(image->dest) = set->id; 1863 *(image->dest) = set->id;
1779 *(image->set) = EINA_TRUE; 1864 *(image->set) = EINA_TRUE;
1780 find = EINA_TRUE; 1865 find = EINA_TRUE;
1866
1867 EINA_LIST_FOREACH(set->entries, lc, child)
1868 if (!eina_hash_find(images_in_use, child->name))
1869 eina_hash_direct_add(images_in_use, child->name, child);
1870
1871 if (!eina_hash_find(images_in_use, image->name))
1872 eina_hash_direct_add(images_in_use, set->name, set);
1781 break; 1873 break;
1782 } 1874 }
1783 } 1875 }
@@ -1795,6 +1887,54 @@ data_process_lookups(void)
1795 free(image); 1887 free(image);
1796 } 1888 }
1797 1889
1890 if (edje_file->image_dir && !is_lua)
1891 {
1892 Edje_Image_Directory_Entry *de;
1893 Edje_Image_Directory_Set *set;
1894 unsigned int i;
1895
1896 for (i = 0; i < edje_file->image_dir->entries_count; ++i)
1897 {
1898 de = edje_file->image_dir->entries + i;
1899
1900 if (de->entry && eina_hash_find(images_in_use, de->entry))
1901 continue ;
1902
1903 if (verbose)
1904 {
1905 printf("%s: Image '%s' in ressource 'edje/image/%i' will not be included as it is unused.\n", progname, de->entry, de->id);
1906 }
1907 else
1908 {
1909 INF("Image '%s' in ressource 'edje/image/%i' will not be included as it is unused.", de->entry, de->id);
1910 }
1911
1912 de->entry = NULL;
1913 }
1914
1915 for (i = 0; i < edje_file->image_dir->sets_count; ++i)
1916 {
1917 set = edje_file->image_dir->sets + i;
1918
1919 if (set->name && eina_hash_find(images_in_use, set->name))
1920 continue ;
1921
1922 if (verbose)
1923 {
1924 printf("%s: Set '%s' will not be included as it is unused.\n", progname, set->name);
1925 }
1926 else
1927 {
1928 INF("Set '%s' will not be included as it is unused.", set->name);
1929 }
1930
1931 set->name = NULL;
1932 set->entries = NULL;
1933 }
1934 }
1935
1936 eina_hash_free(images_in_use);
1937
1798 EINA_LIST_FREE(part_slave_lookups, data) 1938 EINA_LIST_FREE(part_slave_lookups, data)
1799 free(data); 1939 free(data);
1800 1940
diff --git a/libraries/edje/src/bin/edje_inspector.c b/libraries/edje/src/bin/edje_inspector.c
index 093de86..676c829 100644
--- a/libraries/edje/src/bin/edje_inspector.c
+++ b/libraries/edje/src/bin/edje_inspector.c
@@ -31,12 +31,6 @@ static int _log_dom;
31#define FLOAT_PRECISION 0.0001 31#define FLOAT_PRECISION 0.0001
32#define FDIFF(a, b) (fabs((a) - (b)) > FLOAT_PRECISION) 32#define FDIFF(a, b) (fabs((a) - (b)) > FLOAT_PRECISION)
33 33
34#ifdef _WIN32
35# define FMT_UCHAR "%c"
36#else
37# define FMT_UCHAR "%hhu"
38#endif
39
40/* context */ 34/* context */
41static Eina_List *groups; 35static Eina_List *groups;
42static Ecore_Evas *ee; 36static Ecore_Evas *ee;
@@ -1588,8 +1582,8 @@ main(int argc, char **argv)
1588 goto error_getopt; 1582 goto error_getopt;
1589 } 1583 }
1590 1584
1591 DBG("mode=%s, detail=%d(%s), group=%s, part=%s, program=%s, api-only=" FMT_UCHAR 1585 DBG("mode=%s, detail=%d(%s), group=%s, part=%s, program=%s, api-only=%hhu"
1592 ", api-fix=" FMT_UCHAR ", machine=" FMT_UCHAR ", file=%s", 1586 ", api-fix=%hhu, machine=%hhu, file=%s",
1593 mode, detail, detail_name, 1587 mode, detail, detail_name,
1594 group ? group : "", 1588 group ? group : "",
1595 part ? part : "", 1589 part ? part : "",
diff --git a/libraries/edje/src/bin/edje_player.c b/libraries/edje/src/bin/edje_player.c
index 4d0c0a3..208fbb4 100644
--- a/libraries/edje/src/bin/edje_player.c
+++ b/libraries/edje/src/bin/edje_player.c
@@ -20,12 +20,6 @@
20#include <Ecore_Evas.h> 20#include <Ecore_Evas.h>
21#include <Edje.h> 21#include <Edje.h>
22 22
23#ifdef _WIN32
24# define FMT_UCHAR "%c"
25#else
26# define FMT_UCHAR "%hhu"
27#endif
28
29struct opts { 23struct opts {
30 char *file; 24 char *file;
31 char *group; 25 char *group;
@@ -554,7 +548,7 @@ static unsigned char _parse_color(__UNUSED__ const Ecore_Getopt *parser, __UNUSE
554{ 548{
555 unsigned char *color = (unsigned char *)storage->ptrp; 549 unsigned char *color = (unsigned char *)storage->ptrp;
556 550
557 if (sscanf(str, FMT_UCHAR "," FMT_UCHAR "," FMT_UCHAR, color, color + 1, color + 2) != 3) 551 if (sscanf(str, "%hhu,%hhu,%hhu", color, color + 1, color + 2) != 3)
558 { 552 {
559 fprintf(stderr, "ERROR: incorrect color value '%s'\n", str); 553 fprintf(stderr, "ERROR: incorrect color value '%s'\n", str);
560 return 0; 554 return 0;
diff --git a/libraries/edje/src/bin/epp/Makefile.in b/libraries/edje/src/bin/epp/Makefile.in
index c1a8ee5..2ef2e56 100644
--- a/libraries/edje/src/bin/epp/Makefile.in
+++ b/libraries/edje/src/bin/epp/Makefile.in
@@ -225,6 +225,8 @@ PACKAGE_URL = @PACKAGE_URL@
225PACKAGE_VERSION = @PACKAGE_VERSION@ 225PACKAGE_VERSION = @PACKAGE_VERSION@
226PATH_SEPARATOR = @PATH_SEPARATOR@ 226PATH_SEPARATOR = @PATH_SEPARATOR@
227PKG_CONFIG = @PKG_CONFIG@ 227PKG_CONFIG = @PKG_CONFIG@
228PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
229PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
228PYTHON = @PYTHON@ 230PYTHON = @PYTHON@
229PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 231PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
230PYTHON_PLATFORM = @PYTHON_PLATFORM@ 232PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/examples/Makefile.am b/libraries/edje/src/examples/Makefile.am
index 579f148..e3893cd 100644
--- a/libraries/edje/src/examples/Makefile.am
+++ b/libraries/edje/src/examples/Makefile.am
@@ -1,5 +1,10 @@
1MAINTAINERCLEANFILES = Makefile.in 1MAINTAINERCLEANFILES = Makefile.in
2 2
3EDJE_CC = @edje_cc@
4EDJE_CC_FLAGS_VERBOSE_0 =
5EDJE_CC_FLAGS_VERBOSE_1 = -v
6EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_$(V)) -id $(srcdir) -fd $(srcdir)
7
3examplesdir = $(datadir)/$(PACKAGE)/examples 8examplesdir = $(datadir)/$(PACKAGE)/examples
4 9
5if ENABLE_MULTISENSE 10if ENABLE_MULTISENSE
@@ -24,7 +29,8 @@ EDCS = \
24 $(MULTISENSE_EDC_FILE) 29 $(MULTISENSE_EDC_FILE)
25 30
26.edc.edj: 31.edc.edj:
27 $(edje_cc) -v -fd $(srcdir) -id $(srcdir) $(SND_DIR) $< $(builddir)/$(@F) 32 $(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $< $(builddir)/$(@F)
33
28 34
29EDJS = $(EDCS:%.edc=%.edj) 35EDJS = $(EDCS:%.edc=%.edj)
30 36
@@ -53,31 +59,33 @@ EXTRA_DIST = $(files_DATA)
53if BUILD_EXAMPLES 59if BUILD_EXAMPLES
54 60
55AM_CPPFLAGS = \ 61AM_CPPFLAGS = \
56 -I. \ 62-I. \
57 -I$(top_srcdir)/src/lib \ 63-I$(top_srcdir)/src/lib \
58 -I$(top_srcdir)/src/lib/include \ 64-I$(top_srcdir)/src/lib/include \
59 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 65-DPACKAGE_BIN_DIR=\"$(bindir)\" \
60 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 66-DPACKAGE_LIB_DIR=\"$(libdir)\" \
61 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 67-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
62 -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" \ 68@EDJE_CFLAGS@
63 @EDJE_CFLAGS@
64 69
65files_DATA += $(EDJS) 70files_DATA += $(EDJS)
66 71
67examples_PROGRAMS = \ 72examples_PROGRAMS = \
73 edje-animations \
68 edje-basic \ 74 edje-basic \
69 edje-swallow \
70 edje-text \
71 edje-table \
72 edje-box \ 75 edje-box \
73 edje-box2 \ 76 edje-box2 \
74 edje-drag\
75 edje-signals-messages \
76 edje-color-class \ 77 edje-color-class \
78 edje-drag\
77 edje-perspective \ 79 edje-perspective \
78 edje-animations \ 80 edje-signals-messages \
81 edje-swallow \
82 edje-table \
83 edje-text \
79 sigtest 84 sigtest
80 85
81LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ 86LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@
82 87
83endif 88endif
89
90clean-local:
91 rm -f *.edj
diff --git a/libraries/edje/src/examples/Makefile.in b/libraries/edje/src/examples/Makefile.in
index 7f867e0..de47940 100644
--- a/libraries/edje/src/examples/Makefile.in
+++ b/libraries/edje/src/examples/Makefile.in
@@ -36,14 +36,15 @@ POST_UNINSTALL = :
36build_triplet = @build@ 36build_triplet = @build@
37host_triplet = @host@ 37host_triplet = @host@
38@BUILD_EXAMPLES_TRUE@am__append_1 = $(EDJS) 38@BUILD_EXAMPLES_TRUE@am__append_1 = $(EDJS)
39@BUILD_EXAMPLES_TRUE@examples_PROGRAMS = edje-basic$(EXEEXT) \ 39@BUILD_EXAMPLES_TRUE@examples_PROGRAMS = edje-animations$(EXEEXT) \
40@BUILD_EXAMPLES_TRUE@ edje-swallow$(EXEEXT) edje-text$(EXEEXT) \ 40@BUILD_EXAMPLES_TRUE@ edje-basic$(EXEEXT) edje-box$(EXEEXT) \
41@BUILD_EXAMPLES_TRUE@ edje-table$(EXEEXT) edje-box$(EXEEXT) \ 41@BUILD_EXAMPLES_TRUE@ edje-box2$(EXEEXT) \
42@BUILD_EXAMPLES_TRUE@ edje-box2$(EXEEXT) edje-drag$(EXEEXT) \
43@BUILD_EXAMPLES_TRUE@ edje-signals-messages$(EXEEXT) \
44@BUILD_EXAMPLES_TRUE@ edje-color-class$(EXEEXT) \ 42@BUILD_EXAMPLES_TRUE@ edje-color-class$(EXEEXT) \
43@BUILD_EXAMPLES_TRUE@ edje-drag$(EXEEXT) \
45@BUILD_EXAMPLES_TRUE@ edje-perspective$(EXEEXT) \ 44@BUILD_EXAMPLES_TRUE@ edje-perspective$(EXEEXT) \
46@BUILD_EXAMPLES_TRUE@ edje-animations$(EXEEXT) sigtest$(EXEEXT) 45@BUILD_EXAMPLES_TRUE@ edje-signals-messages$(EXEEXT) \
46@BUILD_EXAMPLES_TRUE@ edje-swallow$(EXEEXT) edje-table$(EXEEXT) \
47@BUILD_EXAMPLES_TRUE@ edje-text$(EXEEXT) sigtest$(EXEEXT)
47subdir = src/examples 48subdir = src/examples
48DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 49DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
49ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -279,6 +280,8 @@ PACKAGE_URL = @PACKAGE_URL@
279PACKAGE_VERSION = @PACKAGE_VERSION@ 280PACKAGE_VERSION = @PACKAGE_VERSION@
280PATH_SEPARATOR = @PATH_SEPARATOR@ 281PATH_SEPARATOR = @PATH_SEPARATOR@
281PKG_CONFIG = @PKG_CONFIG@ 282PKG_CONFIG = @PKG_CONFIG@
283PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
284PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
282PYTHON = @PYTHON@ 285PYTHON = @PYTHON@
283PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 286PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
284PYTHON_PLATFORM = @PYTHON_PLATFORM@ 287PYTHON_PLATFORM = @PYTHON_PLATFORM@
@@ -366,6 +369,10 @@ top_srcdir = @top_srcdir@
366version_info = @version_info@ 369version_info = @version_info@
367vimdir = @vimdir@ 370vimdir = @vimdir@
368MAINTAINERCLEANFILES = Makefile.in 371MAINTAINERCLEANFILES = Makefile.in
372EDJE_CC = @edje_cc@
373EDJE_CC_FLAGS_VERBOSE_0 =
374EDJE_CC_FLAGS_VERBOSE_1 = -v
375EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_$(V)) -id $(srcdir) -fd $(srcdir)
369examplesdir = $(datadir)/$(PACKAGE)/examples 376examplesdir = $(datadir)/$(PACKAGE)/examples
370@ENABLE_MULTISENSE_TRUE@MULTISENSE_EDC_FILE = multisense.edc 377@ENABLE_MULTISENSE_TRUE@MULTISENSE_EDC_FILE = multisense.edc
371@ENABLE_MULTISENSE_TRUE@SND_DIR = -sd $(srcdir) 378@ENABLE_MULTISENSE_TRUE@SND_DIR = -sd $(srcdir)
@@ -394,14 +401,13 @@ files_DATA = $(EDCS) bubble.png red.png test.png Vera.ttf edje-basic.c \
394 edje-perspective.c edje-animations.c sigtest.c $(am__append_1) 401 edje-perspective.c edje-animations.c sigtest.c $(am__append_1)
395EXTRA_DIST = $(files_DATA) 402EXTRA_DIST = $(files_DATA)
396@BUILD_EXAMPLES_TRUE@AM_CPPFLAGS = \ 403@BUILD_EXAMPLES_TRUE@AM_CPPFLAGS = \
397@BUILD_EXAMPLES_TRUE@ -I. \ 404@BUILD_EXAMPLES_TRUE@-I. \
398@BUILD_EXAMPLES_TRUE@ -I$(top_srcdir)/src/lib \ 405@BUILD_EXAMPLES_TRUE@-I$(top_srcdir)/src/lib \
399@BUILD_EXAMPLES_TRUE@ -I$(top_srcdir)/src/lib/include \ 406@BUILD_EXAMPLES_TRUE@-I$(top_srcdir)/src/lib/include \
400@BUILD_EXAMPLES_TRUE@ -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 407@BUILD_EXAMPLES_TRUE@-DPACKAGE_BIN_DIR=\"$(bindir)\" \
401@BUILD_EXAMPLES_TRUE@ -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 408@BUILD_EXAMPLES_TRUE@-DPACKAGE_LIB_DIR=\"$(libdir)\" \
402@BUILD_EXAMPLES_TRUE@ -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 409@BUILD_EXAMPLES_TRUE@-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
403@BUILD_EXAMPLES_TRUE@ -DPACKAGE_EXAMPLES_DIR=\"$(datadir)/$(PACKAGE)/examples\" \ 410@BUILD_EXAMPLES_TRUE@@EDJE_CFLAGS@
404@BUILD_EXAMPLES_TRUE@ @EDJE_CFLAGS@
405 411
406@BUILD_EXAMPLES_TRUE@LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@ 412@BUILD_EXAMPLES_TRUE@LDADD = $(top_builddir)/src/lib/libedje.la @EDJE_LIBS@
407all: all-am 413all: all-am
@@ -705,7 +711,7 @@ maintainer-clean-generic:
705clean: clean-am 711clean: clean-am
706 712
707clean-am: clean-examplesPROGRAMS clean-generic clean-libtool \ 713clean-am: clean-examplesPROGRAMS clean-generic clean-libtool \
708 mostlyclean-am 714 clean-local mostlyclean-am
709 715
710distclean: distclean-am 716distclean: distclean-am
711 -rm -rf ./$(DEPDIR) 717 -rm -rf ./$(DEPDIR)
@@ -776,8 +782,8 @@ uninstall-am: uninstall-examplesPROGRAMS uninstall-filesDATA
776.MAKE: install-am install-strip 782.MAKE: install-am install-strip
777 783
778.PHONY: CTAGS GTAGS all all-am check check-am clean \ 784.PHONY: CTAGS GTAGS all all-am check check-am clean \
779 clean-examplesPROGRAMS clean-generic clean-libtool ctags \ 785 clean-examplesPROGRAMS clean-generic clean-libtool clean-local \
780 distclean distclean-compile distclean-generic \ 786 ctags distclean distclean-compile distclean-generic \
781 distclean-libtool distclean-tags distdir dvi dvi-am html \ 787 distclean-libtool distclean-tags distdir dvi dvi-am html \
782 html-am info info-am install install-am install-data \ 788 html-am info info-am install install-am install-data \
783 install-data-am install-dvi install-dvi-am \ 789 install-data-am install-dvi install-dvi-am \
@@ -793,7 +799,10 @@ uninstall-am: uninstall-examplesPROGRAMS uninstall-filesDATA
793 799
794 800
795.edc.edj: 801.edc.edj:
796 $(edje_cc) -v -fd $(srcdir) -id $(srcdir) $(SND_DIR) $< $(builddir)/$(@F) 802 $(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $< $(builddir)/$(@F)
803
804clean-local:
805 rm -f *.edj
797 806
798# Tell versions [3.59,3.63) of GNU make to not export all variables. 807# Tell versions [3.59,3.63) of GNU make to not export all variables.
799# Otherwise a system limit (for SysV at least) may be exceeded. 808# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/libraries/edje/src/examples/edje-animations.c b/libraries/edje/src/examples/edje-animations.c
index 9363471..15f2ee0 100644
--- a/libraries/edje/src/examples/edje-animations.c
+++ b/libraries/edje/src/examples/edje-animations.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -23,34 +22,59 @@
23#define WIDTH (400) 22#define WIDTH (400)
24#define HEIGHT (300) 23#define HEIGHT (300)
25 24
26static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/animations.edj"; 25static const char commands[] = \
27static Ecore_Evas *ee; 26 "commands are:\n"
28static Evas_Object *bg, *edje_obj; 27 "\t+ - increase frametime\n"
29static double frametime = 1.0/30.0; /* default value */ 28 "\t- - decrease frametime\n"
29 "\t= - status of the animation\n"
30 "\ts - pause\n"
31 "\tp - play\n"
32 "\tf - freeze one object\n"
33 "\tF - freeze all objects\n"
34 "\tt - thaw one object\n"
35 "\tT - thaw all objects\n"
36 "\ta - start animation of one object\n"
37 "\tA - stop animation of one object\n"
38 "\tEsc - exit\n"
39 "\th - print help\n";
40
41static double frametime = 1.0 / 30.0; /* default value */
30 42
31static void 43static void
32_on_delete_cb(Ecore_Evas *ee) 44_on_delete_cb(Ecore_Evas *ee __UNUSED__)
33{ 45{
34 ecore_main_loop_quit(); 46 ecore_main_loop_quit();
35} 47}
36 48
37static void 49static void
38_canvas_resize_cb(Ecore_Evas *ee) 50_on_canvas_resize(Ecore_Evas *ee)
39{ 51{
40 int w, h; 52 Evas_Object *bg;
41 53 Evas_Object *edje_obj;
42 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 54 int w;
43 evas_object_resize(bg, w, h); 55 int h;
44 evas_object_resize(edje_obj, w, h); 56
57 bg = ecore_evas_data_get(ee, "background");
58 edje_obj = ecore_evas_data_get(ee, "edje_obj");
59 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
60 evas_object_resize(bg, w, h);
61 evas_object_resize(edje_obj, w, h);
45} 62}
46 63
47static void 64static void
48_on_key_down_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info) 65_on_key_down(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
49{ 66{
50 Evas_Event_Key_Down *ev = event_info; 67 Evas_Event_Key_Down *ev;
51 double ft; 68 double ft;
69
70 ev = (Evas_Event_Key_Down *)event_info;
52 71
53 if (!strcmp(ev->key, "plus")) 72 if (!strcmp(ev->keyname, "h"))
73 {
74 fprintf(stdout, commands);
75 return;
76 }
77 else if (!strcmp(ev->key, "plus"))
54 { 78 {
55 frametime *= 2.0; 79 frametime *= 2.0;
56 fprintf(stdout, "Increasing frametime to: %f\n", frametime); 80 fprintf(stdout, "Increasing frametime to: %f\n", frametime);
@@ -109,24 +133,52 @@ _on_key_down_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
109 edje_object_animation_set(obj, EINA_FALSE); 133 edje_object_animation_set(obj, EINA_FALSE);
110 fprintf(stdout, "Stopping the animation in the Edje object\n"); 134 fprintf(stdout, "Stopping the animation in the Edje object\n");
111 } 135 }
136 else if (!strcmp(ev->keyname, "Escape"))
137 ecore_main_loop_quit();
138 else
139 {
140 printf("unhandled key: %s\n", ev->keyname);
141 fprintf(stdout, commands);
142 }
112} 143}
113 144
114int 145int
115main(int argc, char *argv[]) 146main(int argc __UNUSED__, char *argv[])
116{ 147{
117 Evas *evas; 148 char edje_file_path[PATH_MAX];
118 149 const char *edje_file = "animations.edj";
119 ecore_evas_init(); 150 Ecore_Evas *ee;
120 edje_init(); 151 Evas *evas;
152 Evas_Object *bg;
153 Evas_Object *edje_obj;
154 Eina_Prefix *pfx;
155
156 if (!ecore_evas_init())
157 return EXIT_FAILURE;
158
159 if (!edje_init())
160 goto shutdown_ecore_evas;
161
162 pfx = eina_prefix_new(argv[0], main,
163 "EDJE_EXAMPLES",
164 "edje/examples",
165 edje_file,
166 PACKAGE_BIN_DIR,
167 PACKAGE_LIB_DIR,
168 PACKAGE_DATA_DIR,
169 PACKAGE_DATA_DIR);
170 if (!pfx)
171 goto shutdown_edje;
121 172
122 /* this will give you a window with an Evas canvas under the first 173 /* this will give you a window with an Evas canvas under the first
123 * engine available */ 174 * engine available */
124 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 175 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
176 if (!ee)
177 goto free_prefix;
125 178
126 ecore_evas_callback_delete_request_set(ee, _on_delete_cb); 179 ecore_evas_callback_delete_request_set(ee, _on_delete_cb);
127 ecore_evas_callback_resize_set(ee, _canvas_resize_cb); 180 ecore_evas_callback_resize_set(ee, _on_canvas_resize);
128 ecore_evas_title_set(ee, "Edje Animations Example"); 181 ecore_evas_title_set(ee, "Edje Animations Example");
129 ecore_evas_show(ee);
130 182
131 evas = ecore_evas_get(ee); 183 evas = ecore_evas_get(ee);
132 184
@@ -135,22 +187,41 @@ main(int argc, char *argv[])
135 evas_object_move(bg, 0, 0); /* at canvas' origin */ 187 evas_object_move(bg, 0, 0); /* at canvas' origin */
136 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */ 188 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */
137 evas_object_show(bg); 189 evas_object_show(bg);
190 ecore_evas_data_set(ee, "background", bg);
138 191
139 edje_obj = edje_object_add(evas); 192 edje_obj = edje_object_add(evas);
140 193
194 snprintf(edje_file_path, sizeof(edje_file_path),
195 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
141 edje_object_file_set(edje_obj, edje_file_path, "animations_group"); 196 edje_object_file_set(edje_obj, edje_file_path, "animations_group");
142 evas_object_move(edje_obj, 0, 0); 197 evas_object_move(edje_obj, 0, 0);
143 evas_object_resize(edje_obj, WIDTH, HEIGHT); 198 evas_object_resize(edje_obj, WIDTH, HEIGHT);
144 evas_object_show(edje_obj); 199 evas_object_show(edje_obj);
200 ecore_evas_data_set(ee, "edje_obj", edje_obj);
145 201
146 evas_object_event_callback_add(edje_obj, EVAS_CALLBACK_KEY_DOWN, 202 evas_object_event_callback_add(edje_obj, EVAS_CALLBACK_KEY_DOWN,
147 _on_key_down_cb, NULL); 203 _on_key_down, NULL);
148 evas_object_focus_set(edje_obj, EINA_TRUE); 204 evas_object_focus_set(edje_obj, EINA_TRUE);
149 205
206 fprintf(stdout, commands);
207
208 ecore_evas_show(ee);
209
150 ecore_main_loop_begin(); 210 ecore_main_loop_begin();
151 211
212 eina_prefix_free(pfx);
152 ecore_evas_free(ee); 213 ecore_evas_free(ee);
153 ecore_evas_shutdown(); 214 ecore_evas_shutdown();
154 edje_shutdown(); 215 edje_shutdown();
155 return 0; 216
217 return EXIT_SUCCESS;
218
219 free_prefix:
220 eina_prefix_free(pfx);
221 shutdown_edje:
222 edje_shutdown();
223 shutdown_ecore_evas:
224 ecore_evas_shutdown();
225
226 return EXIT_FAILURE;
156} 227}
diff --git a/libraries/edje/src/examples/edje-basic.c b/libraries/edje/src/examples/edje-basic.c
index 2a7a862..8a85312 100644
--- a/libraries/edje/src/examples/edje-basic.c
+++ b/libraries/edje/src/examples/edje-basic.c
@@ -11,47 +11,46 @@
11 */ 11 */
12 12
13#ifdef HAVE_CONFIG_H 13#ifdef HAVE_CONFIG_H
14#include "config.h" 14# include "config.h"
15#else 15#else
16#define PACKAGE_EXAMPLES_DIR "." 16# define __UNUSED__
17#define __UNUSED__
18#endif 17#endif
19 18
19#include <stdio.h>
20
21#include <Eina.h>
20#include <Ecore.h> 22#include <Ecore.h>
21#include <Ecore_Evas.h> 23#include <Ecore_Evas.h>
22#include <Edje.h> 24#include <Edje.h>
23#include <stdio.h>
24 25
25#define WIDTH (300) 26#define WIDTH (300)
26#define HEIGHT (300) 27#define HEIGHT (300)
27 28
28static const char *border_img_path = PACKAGE_EXAMPLES_DIR "/red.png";
29static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/basic.edj";
30
31static Ecore_Evas *ee;
32static Evas_Object *edje_obj;
33
34static const char commands[] = \ 29static const char commands[] = \
35 "commands are:\n" 30 "commands are:\n"
36 "\ts - change Edje's global scaling factor\n" 31 "\ts - change Edje's global scaling factor\n"
37 "\tr - change center rectangle's scaling factor\n" 32 "\tr - change center rectangle's scaling factor\n"
33 "\tEsc - exit\n"
38 "\th - print help\n"; 34 "\th - print help\n";
39 35
40static void 36static void
41_on_keydown(void *data __UNUSED__, 37_on_keydown(void *data,
42 Evas *evas __UNUSED__, 38 Evas *evas __UNUSED__,
43 Evas_Object *o __UNUSED__, 39 Evas_Object *o __UNUSED__,
44 void *einfo) 40 void *einfo)
45{ 41{
46 Evas_Event_Key_Down *ev = einfo; 42 Evas_Event_Key_Down *ev;
43 Evas_Object *edje_obj;
44
45 ev = (Evas_Event_Key_Down *)einfo;
46 edje_obj = (Evas_Object *)data;
47 47
48 if (strcmp(ev->keyname, "h") == 0) /* print help */ 48 if (strcmp(ev->keyname, "h") == 0) /* print help */
49 { 49 {
50 fprintf(stdout, commands); 50 fprintf(stdout, commands);
51 return; 51 return;
52 } 52 }
53 53 else if (strcmp(ev->keyname, "s") == 0) /* global scaling factor */
54 if (strcmp(ev->keyname, "s") == 0) /* global scaling factor */
55 { 54 {
56 double scale = edje_scale_get(); 55 double scale = edje_scale_get();
57 56
@@ -66,8 +65,7 @@ _on_keydown(void *data __UNUSED__,
66 65
67 return; 66 return;
68 } 67 }
69 68 else if (strcmp(ev->keyname, "r") == 0) /* individual scaling factor */
70 if (strcmp(ev->keyname, "r") == 0) /* individual scaling factor */
71 { 69 {
72 double scale = edje_object_scale_get(edje_obj); 70 double scale = edje_object_scale_get(edje_obj);
73 71
@@ -84,6 +82,13 @@ _on_keydown(void *data __UNUSED__,
84 82
85 return; 83 return;
86 } 84 }
85 else if (!strcmp(ev->keyname, "Escape"))
86 ecore_main_loop_quit();
87 else
88 {
89 printf("unhandled key: %s\n", ev->keyname);
90 fprintf(stdout, commands);
91 }
87} 92}
88 93
89static void 94static void
@@ -93,27 +98,47 @@ _on_delete(Ecore_Evas *ee __UNUSED__)
93} 98}
94 99
95int 100int
96main(void) 101main(int argc __UNUSED__, char *argv[])
97{ 102{
98 Evas_Object *border, *bg; 103 char border_img_path[PATH_MAX];
99 int x, y, w, h; 104 char edje_file_path[PATH_MAX];
100 Evas *evas; 105 const char *edje_file = "basic.edj";
106 Ecore_Evas *ee;
107 Evas *evas;
108 Evas_Object *bg;
109 Evas_Object *border;
110 Evas_Object *edje_obj;
111 Eina_Prefix *pfx;
112 int x;
113 int y;
114 int w;
115 int h;
101 116
102 if (!ecore_evas_init()) 117 if (!ecore_evas_init())
103 return EXIT_FAILURE; 118 return EXIT_FAILURE;
104 119
105 if (!edje_init()) 120 if (!edje_init())
106 return EXIT_FAILURE; 121 goto shutdown_ecore_evas;
122
123 pfx = eina_prefix_new(argv[0], main,
124 "EDJE_EXAMPLES",
125 "edje/examples",
126 edje_file,
127 PACKAGE_BIN_DIR,
128 PACKAGE_LIB_DIR,
129 PACKAGE_DATA_DIR,
130 PACKAGE_DATA_DIR);
131 if (!pfx)
132 goto shutdown_edje;
107 133
108 /* this will give you a window with an Evas canvas under the first 134 /* this will give you a window with an Evas canvas under the first
109 * engine available */ 135 * engine available */
110 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 136 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
111 if (!ee) 137 if (!ee)
112 goto error; 138 goto free_prefix;
113 139
114 ecore_evas_callback_delete_request_set(ee, _on_delete); 140 ecore_evas_callback_delete_request_set(ee, _on_delete);
115 ecore_evas_title_set(ee, "Edje Basics Example"); 141 ecore_evas_title_set(ee, "Edje Basics Example");
116 ecore_evas_show(ee);
117 142
118 evas = ecore_evas_get(ee); 143 evas = ecore_evas_get(ee);
119 144
@@ -125,11 +150,12 @@ main(void)
125 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE); 150 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
126 151
127 evas_object_focus_set(bg, EINA_TRUE); 152 evas_object_focus_set(bg, EINA_TRUE);
128 evas_object_event_callback_add(
129 bg, EVAS_CALLBACK_KEY_DOWN, _on_keydown, NULL);
130 153
131 edje_obj = edje_object_add(evas); 154 edje_obj = edje_object_add(evas);
132 155
156 snprintf(edje_file_path, sizeof(edje_file_path),
157 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
158 printf("%s\n", edje_file_path);
133 /* exercising Edje loading error, on purpose */ 159 /* exercising Edje loading error, on purpose */
134 if (!edje_object_file_set(edje_obj, edje_file_path, "unexistant_group")) 160 if (!edje_object_file_set(edje_obj, edje_file_path, "unexistant_group"))
135 { 161 {
@@ -147,7 +173,7 @@ main(void)
147 errmsg); 173 errmsg);
148 174
149 evas_object_del(edje_obj); 175 evas_object_del(edje_obj);
150 goto error_edj; 176 goto free_prefix;
151 } 177 }
152 178
153 fprintf(stdout, "Loaded Edje object bound to group 'example_group' from" 179 fprintf(stdout, "Loaded Edje object bound to group 'example_group' from"
@@ -157,6 +183,11 @@ main(void)
157 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40); 183 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40);
158 evas_object_show(edje_obj); 184 evas_object_show(edje_obj);
159 185
186 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_keydown, edje_obj);
187
188 snprintf(border_img_path, sizeof(border_img_path),
189 "%s/edje/examples/red.png", eina_prefix_data_get(pfx));
190
160 /* this is a border around the Edje object above, here just to 191 /* this is a border around the Edje object above, here just to
161 * emphasize its geometry */ 192 * emphasize its geometry */
162 border = evas_object_image_filled_add(evas); 193 border = evas_object_image_filled_add(evas);
@@ -203,24 +234,24 @@ main(void)
203 "y = %d, w = %d, h = %d\n", x, y, w, h); 234 "y = %d, w = %d, h = %d\n", x, y, w, h);
204 235
205 fprintf(stdout, commands); 236 fprintf(stdout, commands);
237
238 ecore_evas_show(ee);
239
206 ecore_main_loop_begin(); 240 ecore_main_loop_begin();
207 241
242 eina_prefix_free(pfx);
208 ecore_evas_free(ee); 243 ecore_evas_free(ee);
209 ecore_evas_shutdown(); 244 ecore_evas_shutdown();
210 edje_shutdown(); 245 edje_shutdown();
211 return 0;
212 246
213error: 247 return EXIT_SUCCESS;
214 fprintf(stderr, "You got to have at least one evas engine built"
215 " and linked up to ecore-evas for this example to run"
216 " properly.\n");
217 ecore_evas_shutdown();
218 return -1;
219
220error_edj:
221 fprintf(stderr, "Failed to load basic.edj!\n");
222 248
249 free_prefix:
250 eina_prefix_free(pfx);
251 shutdown_edje:
252 edje_shutdown();
253 shutdown_ecore_evas:
223 ecore_evas_shutdown(); 254 ecore_evas_shutdown();
224 return -2;
225}
226 255
256 return EXIT_FAILURE;
257}
diff --git a/libraries/edje/src/examples/edje-box.c b/libraries/edje/src/examples/edje-box.c
index 7fffba3..2b0cbda 100644
--- a/libraries/edje/src/examples/edje-box.c
+++ b/libraries/edje/src/examples/edje-box.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -28,13 +27,13 @@
28 27
29#define NRECTS 20 28#define NRECTS 20
30 29
31static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/box.edj"; 30static const char commands[] = \
32 31 "commands are:\n"
33struct _App { 32 "\ti - prepend rectangle\n"
34 Ecore_Evas *ee; 33 "\ta - append rectangle\n"
35 Evas_Object *edje; 34 "\tc - remove\n"
36 Evas_Object *bg; 35 "\tEsc - exit\n"
37}; 36 "\th - print help\n";
38 37
39static void 38static void
40_on_destroy(Ecore_Evas *ee __UNUSED__) 39_on_destroy(Ecore_Evas *ee __UNUSED__)
@@ -45,32 +44,41 @@ _on_destroy(Ecore_Evas *ee __UNUSED__)
45/* here just to keep our example's window size and background image's 44/* here just to keep our example's window size and background image's
46 * size in synchrony */ 45 * size in synchrony */
47static void 46static void
48_canvas_resize_cb(Ecore_Evas *ee) 47_on_canvas_resize(Ecore_Evas *ee)
49{ 48{
50 int w, h; 49 Evas_Object *bg;
51 struct _App *app = ecore_evas_data_get(ee, "app"); 50 Evas_Object *edje_obj;
51 int w;
52 int h;
52 53
54 bg = ecore_evas_data_get(ee, "background");
55 edje_obj = ecore_evas_data_get(ee, "edje_obj");
53 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 56 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
54 evas_object_resize(app->bg, w, h); 57 evas_object_resize(bg, w, h);
55 evas_object_resize(app->edje, w, h); 58 evas_object_resize(edje_obj, w, h);
56} 59}
57 60
58static void 61static void
59_rect_mouse_down(void *data, Evas *e, Evas_Object *o, void *event_info) 62_on_rect_mouse_down(void *data, Evas *e, Evas_Object *o, void *event_info)
60{ 63{
61 struct _App *app = data; 64 Ecore_Evas *ee;
62 Evas_Event_Mouse_Down *ev = event_info; 65 Evas_Event_Mouse_Down *ev;
66 Evas_Object *edje_obj;
67
68 ee = (Ecore_Evas *)data;
69 ev = (Evas_Event_Mouse_Down *)event_info;
70 edje_obj = ecore_evas_data_get(ee, "edje_obj");
63 71
64 if (ev->button == 1) 72 if (ev->button == 1)
65 { 73 {
66 printf("Removing rect %p under the mouse pointer.\n", o); 74 printf("Removing rect %p under the mouse pointer.\n", o);
67 edje_object_part_box_remove(app->edje, "example/box", o); 75 edje_object_part_box_remove(edje_obj, "example/box", o);
68 evas_object_del(o); 76 evas_object_del(o);
69 } 77 }
70 else if (ev->button == 3) 78 else if (ev->button == 3)
71 { 79 {
72 Evas_Object *rect; 80 Evas_Object *rect;
73 Eina_Bool r; 81 Eina_Bool r;
74 82
75 rect = evas_object_rectangle_add(e); 83 rect = evas_object_rectangle_add(e);
76 evas_object_color_set(rect, 0, 0, 255, 255); 84 evas_object_color_set(rect, 0, 0, 255, 255);
@@ -78,23 +86,32 @@ _rect_mouse_down(void *data, Evas *e, Evas_Object *o, void *event_info)
78 evas_object_show(rect); 86 evas_object_show(rect);
79 87
80 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect); 88 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect);
81 r = edje_object_part_box_insert_before(app->edje, "example/box", rect, o); 89 r = edje_object_part_box_insert_before(edje_obj, "example/box", rect, o);
82 if (!r) 90 if (!r)
83 printf("An error ocurred when appending rect %p to the box.\n", rect); 91 printf("An error ocurred when appending rect %p to the box.\n", rect);
84 92
85 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _rect_mouse_down, app); 93 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL);
86 } 94 }
87} 95}
88 96
89static void 97static void
90_bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info) 98_on_bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info)
91{ 99{
92 struct _App *app = data; 100 Ecore_Evas *ee;
93 Evas_Event_Key_Down *ev = event_info; 101 Evas_Event_Key_Down *ev;
94 Evas_Object *rect; 102 Evas_Object *edje_obj;
95 Eina_Bool r; 103 Evas_Object *rect;
104 Eina_Bool r;
96 105
106 ee = (Ecore_Evas *)data;
107 ev = (Evas_Event_Key_Down *)event_info;
108 edje_obj = ecore_evas_data_get(ee, "edje_obj");
97 109
110 if (!strcmp(ev->keyname, "h"))
111 {
112 fprintf(stdout, commands);
113 return;
114 }
98 if (!strcmp(ev->keyname, "i")) 115 if (!strcmp(ev->keyname, "i"))
99 { 116 {
100 rect = evas_object_rectangle_add(e); 117 rect = evas_object_rectangle_add(e);
@@ -103,11 +120,11 @@ _bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info)
103 evas_object_show(rect); 120 evas_object_show(rect);
104 121
105 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect); 122 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect);
106 r = edje_object_part_box_insert_at(app->edje, "example/box", rect, 0); 123 r = edje_object_part_box_insert_at(edje_obj, "example/box", rect, 0);
107 if (!r) 124 if (!r)
108 printf("An error ocurred when appending rect %p to the box.\n", rect); 125 printf("An error ocurred when appending rect %p to the box.\n", rect);
109 126
110 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _rect_mouse_down, app); 127 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL);
111 } 128 }
112 else if (!strcmp(ev->keyname, "a")) 129 else if (!strcmp(ev->keyname, "a"))
113 { 130 {
@@ -117,53 +134,82 @@ _bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info)
117 evas_object_show(rect); 134 evas_object_show(rect);
118 135
119 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect); 136 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect);
120 r = edje_object_part_box_append(app->edje, "example/box", rect); 137 r = edje_object_part_box_append(edje_obj, "example/box", rect);
121 if (!r) 138 if (!r)
122 printf("An error ocurred when appending rect %p to the box.\n", rect); 139 printf("An error ocurred when appending rect %p to the box.\n", rect);
123 140
124 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _rect_mouse_down, app); 141 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL);
125 } 142 }
126 else if (!strcmp(ev->keyname, "c")) 143 else if (!strcmp(ev->keyname, "c"))
127 edje_object_part_box_remove_all(app->edje, "example/box", EINA_TRUE); 144 edje_object_part_box_remove_all(edje_obj, "example/box", EINA_TRUE);
145 else if (!strcmp(ev->keyname, "Escape"))
146 ecore_main_loop_quit();
147 else
148 {
149 printf("unhandled key: %s\n", ev->keyname);
150 fprintf(stdout, commands);
151 }
128} 152}
129 153
130int 154int
131main(void) 155main(int argc __UNUSED__, char *argv[])
132{ 156{
133 Evas *evas; 157 char edje_file_path[PATH_MAX];
134 struct _App app; 158 const char *edje_file = "box.edj";
135 int i; 159 Ecore_Evas *ee;
136 160 Evas *evas;
137 ecore_evas_init(); 161 Evas_Object *bg;
138 edje_init(); 162 Evas_Object *edje_obj;
163 Eina_Prefix *pfx;
164 int i;
165
166 if (!ecore_evas_init())
167 return EXIT_FAILURE;
168
169 if (!edje_init())
170 goto shutdown_ecore_evas;
171
172 pfx = eina_prefix_new(argv[0], main,
173 "EDJE_EXAMPLES",
174 "edje/examples",
175 edje_file,
176 PACKAGE_BIN_DIR,
177 PACKAGE_LIB_DIR,
178 PACKAGE_DATA_DIR,
179 PACKAGE_DATA_DIR);
180 if (!pfx)
181 goto shutdown_edje;
139 182
140 /* this will give you a window with an Evas canvas under the first 183 /* this will give you a window with an Evas canvas under the first
141 * engine available */ 184 * engine available */
142 app.ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 185 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
143 186 if (!ee)
144 ecore_evas_callback_destroy_set(app.ee, _on_destroy); 187 goto free_prefix;
145 ecore_evas_callback_resize_set(app.ee, _canvas_resize_cb);
146 ecore_evas_title_set(app.ee, "Edje Box Example");
147 ecore_evas_show(app.ee);
148 188
149 ecore_evas_data_set(app.ee, "app", &app); 189 ecore_evas_callback_destroy_set(ee, _on_destroy);
190 ecore_evas_callback_resize_set(ee, _on_canvas_resize);
191 ecore_evas_title_set(ee, "Edje Box Example");
150 192
151 evas = ecore_evas_get(app.ee); 193 evas = ecore_evas_get(ee);
152 194
153 app.bg = evas_object_rectangle_add(evas); 195 bg = evas_object_rectangle_add(evas);
154 evas_object_color_set(app.bg, 255, 255, 255, 255); 196 evas_object_color_set(bg, 255, 255, 255, 255);
155 evas_object_resize(app.bg, WIDTH, HEIGHT); 197 evas_object_resize(bg, WIDTH, HEIGHT);
156 evas_object_focus_set(app.bg, EINA_TRUE); 198 evas_object_focus_set(bg, EINA_TRUE);
157 evas_object_show(app.bg); 199 evas_object_show(bg);
200 ecore_evas_data_set(ee, "background", bg);
158 201
159 evas_object_event_callback_add(app.bg, EVAS_CALLBACK_KEY_DOWN, _bg_key_down, &app); 202 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_bg_key_down, ee);
160 203
161 app.edje = edje_object_add(evas); 204 edje_obj = edje_object_add(evas);
162 205
163 edje_object_file_set(app.edje, edje_file_path, "example/group"); 206 snprintf(edje_file_path, sizeof(edje_file_path),
164 evas_object_move(app.edje, 0, 0); 207 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
165 evas_object_resize(app.edje, WIDTH, HEIGHT); 208 edje_object_file_set(edje_obj, edje_file_path, "example/group");
166 evas_object_show(app.edje); 209 evas_object_move(edje_obj, 0, 0);
210 evas_object_resize(edje_obj, WIDTH, HEIGHT);
211 evas_object_show(edje_obj);
212 ecore_evas_data_set(ee, "edje_obj", edje_obj);
167 213
168 for (i = 0; i < NRECTS; i++) 214 for (i = 0; i < NRECTS; i++)
169 { 215 {
@@ -173,19 +219,34 @@ main(void)
173 rect = evas_object_rectangle_add(evas); 219 rect = evas_object_rectangle_add(evas);
174 evas_object_color_set(rect, red, 0, 0, 255); 220 evas_object_color_set(rect, red, 0, 0, 255);
175 evas_object_resize(rect, RECTW, RECTH); 221 evas_object_resize(rect, RECTW, RECTH);
176 r = edje_object_part_box_append(app.edje, "example/box", rect); 222 r = edje_object_part_box_append(edje_obj, "example/box", rect);
177 if (!r) 223 if (!r)
178 printf("An error ocurred when appending rect #%d to the box.\n", i); 224 printf("An error ocurred when appending rect #%d to the box.\n", i);
179 evas_object_show(rect); 225 evas_object_show(rect);
180 226
181 evas_object_event_callback_add( 227 evas_object_event_callback_add(
182 rect, EVAS_CALLBACK_MOUSE_DOWN, _rect_mouse_down, &app); 228 rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, ee);
183 } 229 }
184 230
231 fprintf(stdout, commands);
232
233 ecore_evas_show(ee);
234
185 ecore_main_loop_begin(); 235 ecore_main_loop_begin();
186 236
187 ecore_evas_free(app.ee); 237 eina_prefix_free(pfx);
238 ecore_evas_free(ee);
188 ecore_evas_shutdown(); 239 ecore_evas_shutdown();
189 edje_shutdown(); 240 edje_shutdown();
190 return 0; 241
242 return EXIT_SUCCESS;
243
244 free_prefix:
245 eina_prefix_free(pfx);
246 shutdown_edje:
247 edje_shutdown();
248 shutdown_ecore_evas:
249 ecore_evas_shutdown();
250
251 return EXIT_FAILURE;
191} 252}
diff --git a/libraries/edje/src/examples/edje-box2.c b/libraries/edje/src/examples/edje-box2.c
index b3f4e40..81f1a90 100644
--- a/libraries/edje/src/examples/edje-box2.c
+++ b/libraries/edje/src/examples/edje-box2.c
@@ -10,40 +10,35 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h>
20#include <Evas.h>
21#include <Ecore_Evas.h>
22#include <Edje.h>
23
24#include <stdlib.h> 18#include <stdlib.h>
25#include <stdio.h> 19#include <stdio.h>
26#include <string.h> 20#include <string.h>
27 21
28static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/box.edj"; 22#include <Ecore.h>
29 23#include <Evas.h>
30struct _App { 24#include <Ecore_Evas.h>
31 Ecore_Evas *ee; 25#include <Edje.h>
32 Evas *evas;
33 Evas_Object *bg;
34 Evas_Object *box;
35};
36 26
37static struct _App app; 27static const char commands[] = \
28 "commands are:\n"
29 "\tShift - remove box\n"
30 "\tCtrl - insert box\n"
31 "\tEsc - exit\n"
32 "\th - print help\n";
38 33
39static void 34static void
40custom_layout(Evas_Object *o, Evas_Object_Box_Data *p, void *data) 35custom_layout(Evas_Object *o, Evas_Object_Box_Data *p, void *data __UNUSED__)
41{ 36{
37 Evas_Object_Box_Option *opt;
38 Eina_List *l;
42 int x, y, w, h; 39 int x, y, w, h;
43 int xx, yy, ww, hh; 40 int xx, yy, ww, hh;
44 int count; 41 int count;
45 Eina_List *l;
46 Evas_Object_Box_Option *opt;
47 42
48 evas_object_geometry_get(o, &x, &y, &w, &h); 43 evas_object_geometry_get(o, &x, &y, &w, &h);
49 count = eina_list_count(p->children); 44 count = eina_list_count(p->children);
@@ -76,129 +71,177 @@ new_greenie_block(Evas *e)
76} 71}
77 72
78static void 73static void
79on_keydown(void *data, Evas *evas, Evas_Object *o, void *einfo) 74on_keydown(void *data, Evas *evas, Evas_Object *o __UNUSED__, void *einfo)
80{ 75{
81 struct _App *app = data; 76 Evas_Event_Key_Down *ev;
82 Evas_Event_Key_Down *ev = einfo; 77 Evas_Object *edje_obj;
83 const Evas_Modifier *mods; 78 const Evas_Modifier *mods;
84 79
80 ev = (Evas_Event_Key_Down *)einfo;
81 edje_obj = (Evas_Object *)data;
82
85 mods = evas_key_modifier_get(evas); 83 mods = evas_key_modifier_get(evas);
84 if (!strcmp(ev->keyname, "h"))
85 {
86 fprintf(stdout, commands);
87 return;
88 }
86 if (evas_key_modifier_is_set(mods, "Shift")) 89 if (evas_key_modifier_is_set(mods, "Shift"))
87 { 90 {
88 int pos; 91 int pos;
89 Evas_Object *obj = NULL; 92 Evas_Object *obj = NULL;
90 pos = atoi(ev->keyname); 93 pos = atoi(ev->keyname);
91 obj = edje_object_part_box_remove_at(app->box, "example/box", pos); 94 obj = edje_object_part_box_remove_at(edje_obj, "example/box", pos);
92 if (obj) 95 if (obj)
93 evas_object_del(obj); 96 evas_object_del(obj);
94 return; 97 return;
95 } 98 }
96 if (evas_key_modifier_is_set(mods, "Control")) 99 if (evas_key_modifier_is_set(mods, "Control"))
97 { 100 {
98 Evas_Object *o; 101 Evas_Object *obj;
99 int pos; 102 int pos;
100 pos = atoi(ev->keyname); 103 pos = atoi(ev->keyname);
101 o = new_greenie_block(app->evas); 104 obj = new_greenie_block(evas);
102 if (!edje_object_part_box_insert_at(app->box, "example/box", o, pos)) 105 if (!edje_object_part_box_insert_at(edje_obj, "example/box", obj, pos))
103 edje_object_part_box_append(app->box, "example/box", o); 106 edje_object_part_box_append(edje_obj, "example/box", obj);
104 return; 107 return;
105 } 108 }
106 if (strcmp(ev->keyname, "Escape") == 0) 109 if (!strcmp(ev->keyname, "Escape"))
107 ecore_main_loop_quit(); 110 ecore_main_loop_quit();
108} 111}
109 112
110static Evas_Object * 113static Evas_Object *
111box_new(Evas *evas, const char *name, int x, int y, int w, int h) 114box_new(Ecore_Evas *ee, const char *edje_file_path, const char *name, int x, int y, int w, int h)
112{ 115{
113 Evas_Object *o; 116 Evas_Object *edje_obj;
114 117
115 o = edje_object_add(evas); 118 edje_obj = edje_object_add(ecore_evas_get(ee));
116 evas_object_move(o, x, y); 119 evas_object_move(edje_obj, x, y);
117 evas_object_resize(o, w, h); 120 evas_object_resize(edje_obj, w, h);
118 if (!edje_object_file_set(o, edje_file_path, "example/group2")) 121 if (!edje_object_file_set(edje_obj, edje_file_path, "example/group2"))
119 { 122 {
120 printf("error: could not load file object.\n"); 123 printf("error: could not load file object.\n");
121 } 124 }
122 evas_object_show(o); 125 evas_object_show(edje_obj);
123 126 evas_object_name_set(edje_obj, name);
124 evas_object_name_set(o, name); 127 ecore_evas_data_set(ee, "edje_obj", edje_obj);
125 128
126 return o; 129 return edje_obj;
127} 130}
128 131
129static void 132static void
130on_resize(Ecore_Evas *ee) 133on_resize(Ecore_Evas *ee)
131{ 134{
132 int w, h; 135 Evas_Object *bg;
133 136 Evas_Object *edje_obj;
134 evas_output_viewport_get(app.evas, NULL, NULL, &w, &h); 137 int w;
135 evas_object_resize(app.bg, w, h); 138 int h;
136 evas_object_resize(app.box, w, h); 139
140 bg = ecore_evas_data_get(ee, "background");
141 edje_obj = ecore_evas_data_get(ee, "edje_obj");
142 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
143 evas_object_resize(bg, w, h);
144 evas_object_resize(edje_obj, w, h);
137} 145}
138 146
139static void 147static void
140on_destroy(Ecore_Evas *ee) 148on_destroy(Ecore_Evas *ee __UNUSED__)
141{ 149{
142 ecore_main_loop_quit(); 150 ecore_main_loop_quit();
143} 151}
144 152
145int 153int
146main(int argc, char *argv[]) 154main(int argc __UNUSED__, char *argv[])
147{ 155{
148 Ecore_Evas *ee; 156 char edje_file_path[PATH_MAX];
149 int w, h, i; 157 const char *edje_file = "box.edj";
158 Ecore_Evas *ee;
159 Evas *evas;
160 Evas_Object *bg;
161 Evas_Object *edje_obj;
150 Evas_Object *last; 162 Evas_Object *last;
151 Evas_Object *o; 163 Evas_Object *o;
152 164 Eina_Prefix *pfx;
153 evas_init(); 165 int w;
154 ecore_init(); 166 int h;
155 ecore_evas_init(); 167 int i;
156 edje_init(); 168
157 169 if (!ecore_evas_init())
170 return EXIT_FAILURE;
171
172 if (!edje_init())
173 goto shutdown_ecore_evas;
174
175 pfx = eina_prefix_new(argv[0], main,
176 "EDJE_EXAMPLES",
177 "edje/examples",
178 edje_file,
179 PACKAGE_BIN_DIR,
180 PACKAGE_LIB_DIR,
181 PACKAGE_DATA_DIR,
182 PACKAGE_DATA_DIR);
183 if (!pfx)
184 goto shutdown_edje;
185
186 /* this will give you a window with an Evas canvas under the first
187 * engine available */
158 ee = ecore_evas_new(NULL, 0, 0, 640, 480, NULL); 188 ee = ecore_evas_new(NULL, 0, 0, 640, 480, NULL);
159 ecore_evas_show(ee); 189 if (!ee)
160 190 goto free_prefix;
161 app.ee = ee;
162 app.evas = ecore_evas_get(ee);
163 191
164 ecore_evas_callback_resize_set(ee, on_resize); 192 ecore_evas_callback_resize_set(ee, on_resize);
165 ecore_evas_callback_destroy_set(ee, on_destroy); 193 ecore_evas_callback_destroy_set(ee, on_destroy);
194 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
166 195
167 evas_output_viewport_get(app.evas, NULL, NULL, &w, &h); 196 evas = ecore_evas_get(ee);
168 197
169 app.bg = evas_object_rectangle_add(app.evas); 198 bg = evas_object_rectangle_add(evas);
170 evas_object_resize(app.bg, w, h); 199 evas_object_resize(bg, w, h);
171 evas_object_show(app.bg); 200 evas_object_show(bg);
172 evas_object_focus_set(app.bg, 1); 201 evas_object_focus_set(bg, 1);
173 evas_object_event_callback_add( 202 ecore_evas_data_set(ee, "background", bg);
174 app.bg, EVAS_CALLBACK_KEY_DOWN, on_keydown, &app);
175 203
176 edje_box_layout_register("custom_layout", custom_layout, NULL, NULL, NULL, NULL); 204 edje_box_layout_register("custom_layout", custom_layout, NULL, NULL, NULL, NULL);
177 205
178 app.box = box_new(app.evas, "box", 0, 0, w, h); 206 snprintf(edje_file_path, sizeof(edje_file_path),
207 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
208 edje_obj = box_new(ee, edje_file_path, "box", 0, 0, w, h);
209 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, on_keydown, edje_obj);
179 210
180 for (i = 1; i <= 5; i++) 211 for (i = 1; i <= 5; i++)
181 { 212 {
182 o = last = evas_object_rectangle_add(app.evas); 213 o = last = evas_object_rectangle_add(evas);
183 evas_object_size_hint_min_set(o, 50, 50); 214 evas_object_size_hint_min_set(o, 50, 50);
184 evas_object_resize(o, 50, 50); 215 evas_object_resize(o, 50, 50);
185 evas_object_color_set(o, 255, 0, 0, 128); 216 evas_object_color_set(o, 255, 0, 0, 128);
186 evas_object_show(o); 217 evas_object_show(o);
187 218
188 if (!edje_object_part_box_append(app.box, "example/box", o)) 219 if (!edje_object_part_box_append(edje_obj, "example/box", o))
189 { 220 {
190 fprintf(stderr, "error appending child object!\n"); 221 fprintf(stderr, "error appending child object!\n");
191 return 1; 222 return 1;
192 } 223 }
193 } 224 }
194 225
226 fprintf(stdout, commands);
227
228 ecore_evas_show(ee);
229
195 ecore_main_loop_begin(); 230 ecore_main_loop_begin();
196 231
197 edje_shutdown(); 232 eina_prefix_free(pfx);
233 ecore_evas_free(ee);
198 ecore_evas_shutdown(); 234 ecore_evas_shutdown();
199 ecore_shutdown(); 235 edje_shutdown();
200 evas_shutdown(); 236
237 return EXIT_SUCCESS;
201 238
239 free_prefix:
240 eina_prefix_free(pfx);
241 shutdown_edje:
242 edje_shutdown();
243 shutdown_ecore_evas:
244 ecore_evas_shutdown();
202 245
203 return 0; 246 return EXIT_FAILURE;
204} 247}
diff --git a/libraries/edje/src/examples/edje-color-class.c b/libraries/edje/src/examples/edje-color-class.c
index 9ac8653..8d073d0 100644
--- a/libraries/edje/src/examples/edje-color-class.c
+++ b/libraries/edje/src/examples/edje-color-class.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -23,13 +22,11 @@
23#define WIDTH (400) 22#define WIDTH (400)
24#define HEIGHT (400) 23#define HEIGHT (400)
25 24
26static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/color-class.edj";
27
28typedef int color[4]; /* rgba */ 25typedef int color[4]; /* rgba */
29 26
30static Ecore_Evas *ee, *ee2; 27static Ecore_Evas *ee1, *ee2;
31static Evas *evas, *evas2; 28static Evas *evas1, *evas2;
32static Evas_Object *bg, *edje_obj, *bg2, *edje_obj2; 29static Evas_Object *bg1, *edje_obj1, *bg2, *edje_obj2;
33static const char *selected_class; 30static const char *selected_class;
34 31
35static color colors_init_data[] = 32static color colors_init_data[] =
@@ -96,21 +93,23 @@ _color_classes_print(void)
96} 93}
97 94
98static void 95static void
99_on_destroy(Ecore_Evas *ee) 96_on_destroy(Ecore_Evas *ee __UNUSED__)
100{ 97{
101 ecore_main_loop_quit(); 98 ecore_main_loop_quit();
102} 99}
103 100
104static void 101static void
105_on_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event_info) 102_on_mouse_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info)
106{ 103{
107 Evas_Event_Mouse_Down *ev = event_info; 104 Evas_Event_Mouse_Down *ev = event_info;
108 105
109 if (ev->button == 1) 106 if (ev->button == 1)
110 if (obj == edje_obj) 107 {
111 edje_color_class_del(selected_class); 108 if (obj == edje_obj1)
112 else 109 edje_color_class_del(selected_class);
113 edje_object_color_class_del(edje_obj2, selected_class); 110 else
111 edje_object_color_class_del(edje_obj2, selected_class);
112 }
114} 113}
115 114
116/* here just to keep our example's window size 115/* here just to keep our example's window size
@@ -122,10 +121,10 @@ _canvas_resize_cb(Ecore_Evas *_ee)
122 121
123 ecore_evas_geometry_get(_ee, NULL, NULL, &w, &h); 122 ecore_evas_geometry_get(_ee, NULL, NULL, &w, &h);
124 123
125 if (_ee == ee) 124 if (_ee == ee1)
126 { 125 {
127 evas_object_resize(bg, w, h); 126 evas_object_resize(bg1, w, h);
128 evas_object_resize(edje_obj, w, h); 127 evas_object_resize(edje_obj1, w, h);
129 } 128 }
130 else 129 else
131 { 130 {
@@ -135,8 +134,8 @@ _canvas_resize_cb(Ecore_Evas *_ee)
135} 134}
136 135
137static void 136static void
138_color_class_callback_delete(void *data, Evas *evas, Evas_Object *obj, 137_color_class_callback_delete(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
139 const char *emission, void *source) 138 const char *emission, void *source __UNUSED__)
140{ 139{
141 if (!strcmp(data, "process")) 140 if (!strcmp(data, "process"))
142 fprintf(stdout, "Color class: %s deleted on process level\n", emission); 141 fprintf(stdout, "Color class: %s deleted on process level\n", emission);
@@ -144,32 +143,34 @@ _color_class_callback_delete(void *data, Evas *evas, Evas_Object *obj,
144 fprintf(stdout, "Color class: %s deleted on object level\n", emission); 143 fprintf(stdout, "Color class: %s deleted on object level\n", emission);
145} 144}
146 145
147static void 146static int
148_create_windows(void) 147_create_windows(const char *edje_file_path)
149{ 148{
150 /* this will give you a window with an Evas canvas under the first 149 /* this will give you a window with an Evas canvas under the first
151 * engine available */ 150 * engine available */
152 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 151 ee1 = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
152 if (!ee1)
153 return 0;
153 ee2 = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 154 ee2 = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
155 if (!ee2)
156 return 0;
154 157
155 ecore_evas_callback_destroy_set(ee, _on_destroy); 158 ecore_evas_callback_destroy_set(ee1, _on_destroy);
156 ecore_evas_callback_resize_set(ee, _canvas_resize_cb); 159 ecore_evas_callback_resize_set(ee1, _canvas_resize_cb);
157 ecore_evas_title_set(ee, "Edje Color Class Example"); 160 ecore_evas_title_set(ee1, "Edje Color Class Example");
158 ecore_evas_show(ee);
159 161
160 ecore_evas_callback_destroy_set(ee2, _on_destroy); 162 ecore_evas_callback_destroy_set(ee2, _on_destroy);
161 ecore_evas_callback_resize_set(ee2, _canvas_resize_cb); 163 ecore_evas_callback_resize_set(ee2, _canvas_resize_cb);
162 ecore_evas_title_set(ee2, "Edje Object Color Class Example"); 164 ecore_evas_title_set(ee2, "Edje Object Color Class Example");
163 ecore_evas_show(ee2);
164 165
165 evas = ecore_evas_get(ee); 166 evas1 = ecore_evas_get(ee1);
166 evas2 = ecore_evas_get(ee2); 167 evas2 = ecore_evas_get(ee2);
167 168
168 bg = evas_object_rectangle_add(evas); 169 bg1 = evas_object_rectangle_add(evas1);
169 evas_object_color_set(bg, 255, 255, 255, 255); /* white bg */ 170 evas_object_color_set(bg1, 255, 255, 255, 255); /* white bg */
170 evas_object_move(bg, 0, 0); /* at canvas' origin */ 171 evas_object_move(bg1, 0, 0); /* at canvas' origin */
171 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */ 172 evas_object_resize(bg1, WIDTH, HEIGHT); /* covers full canvas */
172 evas_object_show(bg); 173 evas_object_show(bg1);
173 174
174 bg2 = evas_object_rectangle_add(evas2); 175 bg2 = evas_object_rectangle_add(evas2);
175 evas_object_color_set(bg2, 255, 255, 255, 255); /* white bg */ 176 evas_object_color_set(bg2, 255, 255, 255, 255); /* white bg */
@@ -177,18 +178,18 @@ _create_windows(void)
177 evas_object_resize(bg2, WIDTH, HEIGHT); /* covers full canvas */ 178 evas_object_resize(bg2, WIDTH, HEIGHT); /* covers full canvas */
178 evas_object_show(bg2); 179 evas_object_show(bg2);
179 180
180 edje_obj = edje_object_add(evas); 181 edje_obj1 = edje_object_add(evas1);
181 evas_object_event_callback_add(edje_obj, EVAS_CALLBACK_MOUSE_DOWN, 182 evas_object_event_callback_add(edje_obj1, EVAS_CALLBACK_MOUSE_DOWN,
182 _on_mouse_down, NULL); 183 _on_mouse_down, NULL);
183 184
184 edje_object_file_set(edje_obj, edje_file_path, "example_color_class"); 185 edje_object_file_set(edje_obj1, edje_file_path, "example_color_class");
185 evas_object_move(edje_obj, 0, 0); /* at canvas' origin */ 186 evas_object_move(edje_obj1, 0, 0); /* at canvas' origin */
186 evas_object_resize(edje_obj, WIDTH, HEIGHT); 187 evas_object_resize(edje_obj1, WIDTH, HEIGHT);
187 edje_object_part_text_set(edje_obj, "part_four", "EDJE EXAMPLE"); 188 edje_object_part_text_set(edje_obj1, "part_four", "EDJE EXAMPLE");
188 edje_object_signal_callback_add(edje_obj, "color_class,del", "*", 189 edje_object_signal_callback_add(edje_obj1, "color_class,del", "*",
189 (Edje_Signal_Cb) _color_class_callback_delete, 190 (Edje_Signal_Cb) _color_class_callback_delete,
190 "process"); 191 "process");
191 evas_object_show(edje_obj); 192 evas_object_show(edje_obj1);
192 193
193 edje_obj2 = edje_object_add(evas2); 194 edje_obj2 = edje_object_add(evas2);
194 evas_object_event_callback_add(edje_obj2, EVAS_CALLBACK_MOUSE_DOWN, 195 evas_object_event_callback_add(edje_obj2, EVAS_CALLBACK_MOUSE_DOWN,
@@ -202,13 +203,18 @@ _create_windows(void)
202 (Edje_Signal_Cb) _color_class_callback_delete, 203 (Edje_Signal_Cb) _color_class_callback_delete,
203 "object"); 204 "object");
204 evas_object_show(edje_obj2); 205 evas_object_show(edje_obj2);
206
207 return 1;
205} 208}
206 209
207int 210int
208main(int argc, char *argv[]) 211main(int argc, char *argv[])
209{ 212{
210 color c1, c2, c3; 213 char edje_file_path[PATH_MAX];
211 int i; 214 const char *edje_file = "color-class.edj";
215 Eina_Prefix *pfx;
216 color c1, c2, c3;
217 int i;
212 218
213 if (argc != 5) 219 if (argc != 5)
214 { 220 {
@@ -218,7 +224,7 @@ main(int argc, char *argv[])
218 for (i = 0; i < 8; i++) 224 for (i = 0; i < 8; i++)
219 fprintf(stderr, "%s\n", color_names[i]); 225 fprintf(stderr, "%s\n", color_names[i]);
220 226
221 return 1; 227 return EXIT_FAILURE;
222 } 228 }
223 229
224 selected_class = argv[1]; 230 selected_class = argv[1];
@@ -227,13 +233,30 @@ main(int argc, char *argv[])
227 _get_color_from_name(argv[4], &c3))) 233 _get_color_from_name(argv[4], &c3)))
228 { 234 {
229 fprintf(stderr, "Color not available!\n"); 235 fprintf(stderr, "Color not available!\n");
230 return 2; 236 return EXIT_FAILURE;
231 } 237 }
232 238
233 ecore_evas_init(); 239 if (!ecore_evas_init())
234 edje_init(); 240 return EXIT_FAILURE;
241
242 if (!edje_init())
243 goto shutdown_ecore_evas;
244
245 pfx = eina_prefix_new(argv[0], main,
246 "EDJE_EXAMPLES",
247 "edje/examples",
248 edje_file,
249 PACKAGE_BIN_DIR,
250 PACKAGE_LIB_DIR,
251 PACKAGE_DATA_DIR,
252 PACKAGE_DATA_DIR);
253 if (!pfx)
254 goto shutdown_edje;
235 255
236 _create_windows(); 256 snprintf(edje_file_path, sizeof(edje_file_path),
257 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
258 if (!_create_windows(edje_file_path))
259 goto free_prefix;
237 260
238 edje_color_class_set(argv[1], /* class name */ 261 edje_color_class_set(argv[1], /* class name */
239 c1[0], c1[1], c1[2], c1[3], /* Object color */ 262 c1[0], c1[1], c1[2], c1[3], /* Object color */
@@ -248,10 +271,25 @@ main(int argc, char *argv[])
248 39, 90, 187, 255); /* Text shadow */ 271 39, 90, 187, 255); /* Text shadow */
249 272
250 _color_classes_print(); 273 _color_classes_print();
274
275 ecore_evas_show(ee1);
276 ecore_evas_show(ee2);
277
251 ecore_main_loop_begin(); 278 ecore_main_loop_begin();
252 ecore_evas_free(ee); 279
253 ecore_evas_free(ee2); 280 eina_prefix_free(pfx);
281 ecore_evas_free(ee1);
254 ecore_evas_shutdown(); 282 ecore_evas_shutdown();
255 edje_shutdown(); 283 edje_shutdown();
256 return 0; 284
285 return EXIT_SUCCESS;
286
287 free_prefix:
288 eina_prefix_free(pfx);
289 shutdown_edje:
290 edje_shutdown();
291 shutdown_ecore_evas:
292 ecore_evas_shutdown();
293
294 return EXIT_FAILURE;
257} 295}
diff --git a/libraries/edje/src/examples/edje-drag.c b/libraries/edje/src/examples/edje-drag.c
index 78e2e72..bb61b68 100644
--- a/libraries/edje/src/examples/edje-drag.c
+++ b/libraries/edje/src/examples/edje-drag.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -28,15 +27,17 @@
28 27
29#define NRECTS 20 28#define NRECTS 20
30 29
31static const char *PARTNAME = "example/knob"; 30static const char commands[] = \
32 31 "commands are:\n"
33static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/drag.edj"; 32 "\tDdown - set drag step to 1\n"
33 "\tUp - set drag step to -1\n"
34 "\tm - set drag value to 0.5\n"
35 "\tPrior - set drag page to -1\n"
36 "\tNext - set drag page to -1\n"
37 "\tEsc - exit\n"
38 "\th - print help\n";
34 39
35struct _App { 40static const char *PARTNAME = "example/knob";
36 Ecore_Evas *ee;
37 Evas_Object *edje;
38 Evas_Object *bg;
39};
40 41
41static void 42static void
42_on_destroy(Ecore_Evas *ee __UNUSED__) 43_on_destroy(Ecore_Evas *ee __UNUSED__)
@@ -47,111 +48,163 @@ _on_destroy(Ecore_Evas *ee __UNUSED__)
47/* here just to keep our example's window size and background image's 48/* here just to keep our example's window size and background image's
48 * size in synchrony */ 49 * size in synchrony */
49static void 50static void
50_canvas_resize_cb(Ecore_Evas *ee) 51_on_canvas_resize(Ecore_Evas *ee)
51{ 52{
52 int w, h; 53 Evas_Object *bg;
53 struct _App *app = ecore_evas_data_get(ee, "app"); 54 Evas_Object *edje_obj;
55 int w;
56 int h;
57
58 bg = ecore_evas_data_get(ee, "background");
59 edje_obj = ecore_evas_data_get(ee, "edje_obj");
54 60
55 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 61 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
56 evas_object_resize(app->bg, w, h); 62 evas_object_resize(bg, w, h);
57 evas_object_resize(app->edje, w, h); 63 evas_object_resize(edje_obj, w, h);
58} 64}
59 65
60static void 66static void
61_bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info) 67_on_bg_key_down(void *data, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
62{ 68{
63 struct _App *app = data; 69 Ecore_Evas *ee;
64 Evas_Event_Key_Down *ev = event_info; 70 Evas_Event_Key_Down *ev;
65 Evas_Object *rect; 71 Evas_Object *edje_obj;
66 Eina_Bool r;
67 72
73 ee = (Ecore_Evas *)data;
74 ev = (Evas_Event_Key_Down *)event_info;
75 edje_obj = ecore_evas_data_get(ee, "edje_obj");
68 76
69 if (!strcmp(ev->keyname, "Down")) 77 if (!strcmp(ev->keyname, "h"))
70 { 78 {
71 edje_object_part_drag_step(app->edje, PARTNAME, 0, 1.0); 79 fprintf(stdout, commands);
80 return;
81 }
82 else if (!strcmp(ev->keyname, "Down"))
83 {
84 edje_object_part_drag_step(edje_obj, PARTNAME, 0, 1.0);
72 } 85 }
73 else if (!strcmp(ev->keyname, "Up")) 86 else if (!strcmp(ev->keyname, "Up"))
74 { 87 {
75 edje_object_part_drag_step(app->edje, PARTNAME, 0, -1.0); 88 edje_object_part_drag_step(edje_obj, PARTNAME, 0, -1.0);
76 } 89 }
77 else if (!strcmp(ev->keyname, "m")) 90 else if (!strcmp(ev->keyname, "m"))
78 { 91 {
79 edje_object_part_drag_value_set(app->edje, PARTNAME, 0.0, 0.5); 92 edje_object_part_drag_value_set(edje_obj, PARTNAME, 0.0, 0.5);
80 } 93 }
81 else if (!strcmp(ev->keyname, "Prior")) 94 else if (!strcmp(ev->keyname, "Prior"))
82 { 95 {
83 edje_object_part_drag_page(app->edje, PARTNAME, 0.0, -1.0); 96 edje_object_part_drag_page(edje_obj, PARTNAME, 0.0, -1.0);
84 } 97 }
85 else if (!strcmp(ev->keyname, "Next")) 98 else if (!strcmp(ev->keyname, "Next"))
86 { 99 {
87 edje_object_part_drag_page(app->edje, PARTNAME, 0.0, 1.0); 100 edje_object_part_drag_page(edje_obj, PARTNAME, 0.0, 1.0);
88 } 101 }
89 else if (!strcmp(ev->keyname, "Escape")) 102 else if (!strcmp(ev->keyname, "Escape"))
90 ecore_main_loop_quit(); 103 ecore_main_loop_quit();
91 else 104 else
92 printf("unhandled key: %s\n", ev->keyname); 105 {
106 printf("unhandled key: %s\n", ev->keyname);
107 fprintf(stdout, commands);
108 }
93} 109}
94 110
95static void 111static void
96_knob_moved_cb(void *data, Evas_Object *o, const char *emission, const char *source) 112_on_knob_moved(void *data __UNUSED__, Evas_Object *o, const char *emission __UNUSED__, const char *source __UNUSED__)
97{ 113{
98 double val; 114 double val;
115
99 edje_object_part_drag_value_get(o, PARTNAME, NULL, &val); 116 edje_object_part_drag_value_get(o, PARTNAME, NULL, &val);
100 printf("value changed to: %0.3f\n", val); 117 printf("value changed to: %0.3f\n", val);
101} 118}
102 119
103int 120int
104main(void) 121main(int argc __UNUSED__, char *argv[])
105{ 122{
106 Evas *evas; 123 char edje_file_path[PATH_MAX];
107 struct _App app; 124 const char *edje_file = "drag.edj";
108 int i; 125 Ecore_Evas *ee;
109 126 Evas *evas;
110 ecore_evas_init(); 127 Evas_Object *bg;
111 edje_init(); 128 Evas_Object *edje_obj;
129 Eina_Prefix *pfx;
130
131 if (!ecore_evas_init())
132 return EXIT_FAILURE;
133
134 if (!edje_init())
135 goto shutdown_ecore_evas;
136
137 pfx = eina_prefix_new(argv[0], main,
138 "EDJE_EXAMPLES",
139 "edje/examples",
140 edje_file,
141 PACKAGE_BIN_DIR,
142 PACKAGE_LIB_DIR,
143 PACKAGE_DATA_DIR,
144 PACKAGE_DATA_DIR);
145 if (!pfx)
146 goto shutdown_edje;
112 147
113 /* this will give you a window with an Evas canvas under the first 148 /* this will give you a window with an Evas canvas under the first
114 * engine available */ 149 * engine available */
115 app.ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 150 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
116 151 if (!ee)
117 ecore_evas_callback_destroy_set(app.ee, _on_destroy); 152 goto free_prefix;
118 ecore_evas_callback_resize_set(app.ee, _canvas_resize_cb);
119 ecore_evas_title_set(app.ee, "Edje Box Example");
120 ecore_evas_show(app.ee);
121 153
122 ecore_evas_data_set(app.ee, "app", &app); 154 ecore_evas_callback_destroy_set(ee, _on_destroy);
155 ecore_evas_callback_resize_set(ee, _on_canvas_resize);
156 ecore_evas_title_set(ee, "Edje Box Example");
123 157
124 evas = ecore_evas_get(app.ee); 158 evas = ecore_evas_get(ee);
125 159
126 app.bg = evas_object_rectangle_add(evas); 160 bg = evas_object_rectangle_add(evas);
127 evas_object_color_set(app.bg, 255, 255, 255, 255); 161 evas_object_color_set(bg, 255, 255, 255, 255);
128 evas_object_resize(app.bg, WIDTH, HEIGHT); 162 evas_object_resize(bg, WIDTH, HEIGHT);
129 evas_object_focus_set(app.bg, EINA_TRUE); 163 evas_object_focus_set(bg, EINA_TRUE);
130 evas_object_show(app.bg); 164 evas_object_show(bg);
165 ecore_evas_data_set(ee, "background", bg);
131 166
132 evas_object_event_callback_add(app.bg, EVAS_CALLBACK_KEY_DOWN, _bg_key_down, &app); 167 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_bg_key_down, ee);
133 168
134 app.edje = edje_object_add(evas); 169 edje_obj = edje_object_add(evas);
135 170
136 edje_object_file_set(app.edje, edje_file_path, "example/group"); 171 snprintf(edje_file_path, sizeof(edje_file_path),
137 evas_object_move(app.edje, 0, 0); 172 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
138 evas_object_resize(app.edje, WIDTH, HEIGHT); 173 edje_object_file_set(edje_obj, edje_file_path, "example/group");
139 evas_object_show(app.edje); 174 evas_object_move(edje_obj, 0, 0);
175 evas_object_resize(edje_obj, WIDTH, HEIGHT);
176 evas_object_show(edje_obj);
177 ecore_evas_data_set(ee, "edje_obj", edje_obj);
140 178
141 edje_object_part_drag_size_set(app.edje, PARTNAME, 1.0, 0.4); 179 edje_object_part_drag_size_set(edje_obj, PARTNAME, 1.0, 0.4);
142 180
143 if (!edje_object_part_drag_step_set(app.edje, PARTNAME, 0.0, 0.1)) 181 if (!edje_object_part_drag_step_set(edje_obj, PARTNAME, 0.0, 0.1))
144 printf("error when setting drag step size.\n"); 182 printf("error when setting drag step size.\n");
145 183
146 if (!edje_object_part_drag_page_set(app.edje, PARTNAME, 0.0, 0.3)) 184 if (!edje_object_part_drag_page_set(edje_obj, PARTNAME, 0.0, 0.3))
147 printf("error when setting drag page step size.\n"); 185 printf("error when setting drag page step size.\n");
148 186
149 edje_object_signal_callback_add(app.edje, "drag", PARTNAME, _knob_moved_cb, &app); 187 edje_object_signal_callback_add(edje_obj, "drag", PARTNAME, _on_knob_moved, NULL);
188
189 fprintf(stdout, commands);
190
191 ecore_evas_show(ee);
150 192
151 ecore_main_loop_begin(); 193 ecore_main_loop_begin();
152 194
153 ecore_evas_free(app.ee); 195 eina_prefix_free(pfx);
196 ecore_evas_free(ee);
154 ecore_evas_shutdown(); 197 ecore_evas_shutdown();
155 edje_shutdown(); 198 edje_shutdown();
156 return 0; 199
200 return EXIT_SUCCESS;
201
202 free_prefix:
203 eina_prefix_free(pfx);
204 shutdown_edje:
205 edje_shutdown();
206 shutdown_ecore_evas:
207 ecore_evas_shutdown();
208
209 return EXIT_FAILURE;
157} 210}
diff --git a/libraries/edje/src/examples/edje-perspective.c b/libraries/edje/src/examples/edje-perspective.c
index 5220b74..1037043 100644
--- a/libraries/edje/src/examples/edje-perspective.c
+++ b/libraries/edje/src/examples/edje-perspective.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -23,11 +22,21 @@
23#define WIDTH 480 22#define WIDTH 480
24#define HEIGHT 320 23#define HEIGHT 320
25 24
26static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/perspective.edj"; 25static const char commands[] = \
26 "commands are:\n"
27 "\tDown - move part down\n"
28 "\tUp - move part up\n"
29 "\tLeft - move part left\n"
30 "\tRight - move part right\n"
31 "\tPrior - move part up-left\n"
32 "\tNext - move part down-right\n"
33 "\tInsert - increase focal\n"
34 "\tSuppr - decrease focal\n"
35 "\tEsc - exit\n"
36 "\th - print help\n";
27 37
28struct _App { 38struct _App {
29 Ecore_Evas *ee; 39 Evas_Object *edje_obj;
30 Evas_Object *edje;
31 Evas_Object *bg; 40 Evas_Object *bg;
32 Edje_Perspective *ps; 41 Edje_Perspective *ps;
33 Eina_Bool animating; 42 Eina_Bool animating;
@@ -44,14 +53,14 @@ _on_destroy(Ecore_Evas *ee __UNUSED__)
44/* here just to keep our example's window size and background image's 53/* here just to keep our example's window size and background image's
45 * size in synchrony */ 54 * size in synchrony */
46static void 55static void
47_canvas_resize_cb(Ecore_Evas *ee) 56_on_canvas_resize(Ecore_Evas *ee)
48{ 57{
49 int w, h; 58 int w, h;
50 struct _App *app = ecore_evas_data_get(ee, "app"); 59 struct _App *app = ecore_evas_data_get(ee, "app");
51 60
52 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 61 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
53 evas_object_resize(app->bg, w, h); 62 evas_object_resize(app->bg, w, h);
54 evas_object_resize(app->edje, w, h); 63 evas_object_resize(app->edje_obj, w, h);
55} 64}
56 65
57static void 66static void
@@ -74,20 +83,24 @@ _part_move(struct _App *app, int dx, int dy)
74 app->y = 0; 83 app->y = 0;
75 84
76 snprintf(emission, sizeof(emission), "move,%d,%d", app->x, app->y); 85 snprintf(emission, sizeof(emission), "move,%d,%d", app->x, app->y);
77 edje_object_signal_emit(app->edje, emission, ""); 86 edje_object_signal_emit(app->edje_obj, emission, "");
78 app->animating = EINA_TRUE; 87 app->animating = EINA_TRUE;
79} 88}
80 89
81 90
82static void 91static void
83_bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info) 92_on_bg_key_down(void *data, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info)
84{ 93{
85 struct _App *app = data; 94 struct _App *app = data;
86 Evas_Event_Key_Down *ev = event_info; 95 Evas_Event_Key_Down *ev = event_info;
87 96
88 97 if (!strcmp(ev->keyname, "h"))
98 {
99 fprintf(stdout, commands);
100 return;
101 }
89 // just moving the part and text 102 // just moving the part and text
90 if (!strcmp(ev->keyname, "Down")) 103 else if (!strcmp(ev->keyname, "Down"))
91 { 104 {
92 _part_move(app, 0, 1); 105 _part_move(app, 0, 1);
93 } 106 }
@@ -116,7 +129,7 @@ _bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info)
116 { 129 {
117 app->focal += 5; 130 app->focal += 5;
118 edje_perspective_set(app->ps, 240, 160, 0, app->focal); 131 edje_perspective_set(app->ps, 240, 160, 0, app->focal);
119 edje_object_calc_force(app->edje); 132 edje_object_calc_force(app->edje_obj);
120 } 133 }
121 else if (!strcmp(ev->keyname, "KP_Subtract")) 134 else if (!strcmp(ev->keyname, "KP_Subtract"))
122 { 135 {
@@ -125,13 +138,16 @@ _bg_key_down(void *data, Evas *e, Evas_Object *o __UNUSED__, void *event_info)
125 app->focal = 5; 138 app->focal = 5;
126 139
127 edje_perspective_set(app->ps, 240, 160, 0, app->focal); 140 edje_perspective_set(app->ps, 240, 160, 0, app->focal);
128 edje_object_calc_force(app->edje); 141 edje_object_calc_force(app->edje_obj);
129 } 142 }
130 // exiting 143 // exiting
131 else if (!strcmp(ev->keyname, "Escape")) 144 else if (!strcmp(ev->keyname, "Escape"))
132 ecore_main_loop_quit(); 145 ecore_main_loop_quit();
133 else 146 else
134 printf("unhandled key: %s\n", ev->keyname); 147 {
148 printf("unhandled key: %s\n", ev->keyname);
149 fprintf(stdout, commands);
150 }
135} 151}
136 152
137static void 153static void
@@ -143,16 +159,33 @@ _animation_end_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __
143} 159}
144 160
145int 161int
146main(void) 162main(int argc __UNUSED__, char *argv[])
147{ 163{
148 Evas *evas; 164 char edje_file_path[PATH_MAX];
149 struct _App app; 165 const char *edje_file = "perspective.edj";
150 int i; 166 struct _App app;
151 167 Ecore_Evas *ee;
152 ecore_evas_init(); 168 Evas *evas;
153 edje_init(); 169 Eina_Prefix *pfx;
154 170
155 edje_frametime_set(((double)1) / 60); 171 if (!ecore_evas_init())
172 return EXIT_FAILURE;
173
174 if (!edje_init())
175 goto shutdown_ecore_evas;
176
177 pfx = eina_prefix_new(argv[0], main,
178 "EDJE_EXAMPLES",
179 "edje/examples",
180 edje_file,
181 PACKAGE_BIN_DIR,
182 PACKAGE_LIB_DIR,
183 PACKAGE_DATA_DIR,
184 PACKAGE_DATA_DIR);
185 if (!pfx)
186 goto shutdown_edje;
187
188 edje_frametime_set(1.0 / 60.0);
156 189
157 /* this will give you a window with an Evas canvas under the first 190 /* this will give you a window with an Evas canvas under the first
158 * engine available */ 191 * engine available */
@@ -160,16 +193,18 @@ main(void)
160 app.x = 0; 193 app.x = 0;
161 app.y = 0; 194 app.y = 0;
162 app.focal = 50; 195 app.focal = 50;
163 app.ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
164 196
165 ecore_evas_callback_destroy_set(app.ee, _on_destroy); 197 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
166 ecore_evas_callback_resize_set(app.ee, _canvas_resize_cb); 198 if (!ee)
167 ecore_evas_title_set(app.ee, "Edje Box Example"); 199 goto free_prefix;
168 ecore_evas_show(app.ee); 200
201 ecore_evas_callback_destroy_set(ee, _on_destroy);
202 ecore_evas_callback_resize_set(ee, _on_canvas_resize);
203 ecore_evas_title_set(ee, "Edje Box Example");
169 204
170 ecore_evas_data_set(app.ee, "app", &app); 205 ecore_evas_data_set(ee, "app", &app);
171 206
172 evas = ecore_evas_get(app.ee); 207 evas = ecore_evas_get(ee);
173 208
174 app.bg = evas_object_rectangle_add(evas); 209 app.bg = evas_object_rectangle_add(evas);
175 evas_object_color_set(app.bg, 255, 255, 255, 255); 210 evas_object_color_set(app.bg, 255, 255, 255, 255);
@@ -177,25 +212,42 @@ main(void)
177 evas_object_focus_set(app.bg, EINA_TRUE); 212 evas_object_focus_set(app.bg, EINA_TRUE);
178 evas_object_show(app.bg); 213 evas_object_show(app.bg);
179 214
180 evas_object_event_callback_add(app.bg, EVAS_CALLBACK_KEY_DOWN, _bg_key_down, &app); 215 evas_object_event_callback_add(app.bg, EVAS_CALLBACK_KEY_DOWN, _on_bg_key_down, &app);
181 216
182 app.edje = edje_object_add(evas); 217 app.edje_obj = edje_object_add(evas);
183 218
184 edje_object_file_set(app.edje, edje_file_path, "example/group"); 219 snprintf(edje_file_path, sizeof(edje_file_path),
185 evas_object_move(app.edje, 0, 0); 220 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
186 evas_object_resize(app.edje, WIDTH, HEIGHT); 221 edje_object_file_set(app.edje_obj, edje_file_path, "example/group");
187 evas_object_show(app.edje); 222 evas_object_move(app.edje_obj, 0, 0);
223 evas_object_resize(app.edje_obj, WIDTH, HEIGHT);
224 evas_object_show(app.edje_obj);
188 225
189 edje_object_signal_callback_add(app.edje, "animation,end", "", _animation_end_cb, &app); 226 edje_object_signal_callback_add(app.edje_obj, "animation,end", "", _animation_end_cb, &app);
190 227
191 app.ps = edje_perspective_new(evas); 228 app.ps = edje_perspective_new(evas);
192 edje_perspective_set(app.ps, 240, 160, 0, app.focal); 229 edje_perspective_set(app.ps, 240, 160, 0, app.focal);
193 edje_perspective_global_set(app.ps, EINA_TRUE); 230 edje_perspective_global_set(app.ps, EINA_TRUE);
194 231
232 fprintf(stdout, commands);
233
234 ecore_evas_show(ee);
235
195 ecore_main_loop_begin(); 236 ecore_main_loop_begin();
196 237
197 ecore_evas_free(app.ee); 238 eina_prefix_free(pfx);
239 ecore_evas_free(ee);
198 ecore_evas_shutdown(); 240 ecore_evas_shutdown();
199 edje_shutdown(); 241 edje_shutdown();
200 return 0; 242
243 return EXIT_SUCCESS;
244
245 free_prefix:
246 eina_prefix_free(pfx);
247 shutdown_edje:
248 edje_shutdown();
249 shutdown_ecore_evas:
250 ecore_evas_shutdown();
251
252 return EXIT_FAILURE;
201} 253}
diff --git a/libraries/edje/src/examples/edje-signals-messages.c b/libraries/edje/src/examples/edje-signals-messages.c
index 2345738..4949415 100644
--- a/libraries/edje/src/examples/edje-signals-messages.c
+++ b/libraries/edje/src/examples/edje-signals-messages.c
@@ -27,34 +27,32 @@
27#define MSG_COLOR 1 27#define MSG_COLOR 1
28#define MSG_TEXT 2 28#define MSG_TEXT 2
29 29
30static const char *border_img_path = PACKAGE_EXAMPLES_DIR "/red.png"; 30static const char commands[] = \
31static const char *edje_file_path = \
32 PACKAGE_EXAMPLES_DIR "/signals-messages.edj";
33
34static Ecore_Evas *ee;
35static Evas_Object *edje_obj;
36static Eina_Bool right_rect_show = EINA_TRUE;
37
38static const char *commands = \
39 "commands are:\n" 31 "commands are:\n"
40 "\tt - toggle right rectangle's visibility\n" 32 "\tt - toggle right rectangle's visibility\n"
33 "\tEsc - exit\n"
41 "\th - print help\n"; 34 "\th - print help\n";
42 35
36static Eina_Bool right_rect_show = EINA_TRUE;
37
43static void 38static void
44_on_keydown(void *data __UNUSED__, 39_on_keydown(void *data,
45 Evas *evas __UNUSED__, 40 Evas *evas __UNUSED__,
46 Evas_Object *o __UNUSED__, 41 Evas_Object *o __UNUSED__,
47 void *einfo) 42 void *einfo)
48{ 43{
49 Evas_Event_Key_Down *ev = einfo; 44 Evas_Event_Key_Down *ev;
45 Evas_Object *edje_obj;
46
47 ev = (Evas_Event_Key_Down *)einfo;
48 edje_obj = (Evas_Object *)data;
50 49
51 if (strcmp(ev->keyname, "h") == 0) /* print help */ 50 if (!strcmp(ev->keyname, "h")) /* print help */
52 { 51 {
53 fprintf(stdout, commands); 52 fprintf(stdout, commands);
54 return; 53 return;
55 } 54 }
56 55 else if (!strcmp(ev->keyname, "t")) /* toggle right rectangle's visibility */
57 if (strcmp(ev->keyname, "t") == 0) /* toggle right rectangle's visibility */
58 { 56 {
59 char buf[1024]; 57 char buf[1024];
60 58
@@ -68,6 +66,13 @@ _on_keydown(void *data __UNUSED__,
68 66
69 return; 67 return;
70 } 68 }
69 else if (!strcmp(ev->keyname, "Escape"))
70 ecore_main_loop_quit();
71 else
72 {
73 printf("unhandled key: %s\n", ev->keyname);
74 fprintf(stdout, commands);
75 }
71} 76}
72 77
73static void 78static void
@@ -85,7 +90,7 @@ _sig_print(const char *emission,
85} 90}
86 91
87static void 92static void
88_mouse_wheel_cb(void *data __UNUSED__, 93_on_mouse_wheel(void *data __UNUSED__,
89 Evas_Object *obj __UNUSED__, 94 Evas_Object *obj __UNUSED__,
90 const char *emission, 95 const char *emission,
91 const char *source) 96 const char *source)
@@ -95,8 +100,8 @@ _mouse_wheel_cb(void *data __UNUSED__,
95 100
96/* mouse over signals */ 101/* mouse over signals */
97static void 102static void
98_mouse_over_cb(void *data __UNUSED__, 103_on_mouse_over(void *data __UNUSED__,
99 Evas_Object *obj __UNUSED__, 104 Evas_Object *edje_obj,
100 const char *emission, 105 const char *emission,
101 const char *source) 106 const char *source)
102{ 107{
@@ -133,28 +138,43 @@ _message_handle(void *data __UNUSED__,
133} 138}
134 139
135int 140int
136main(void) 141main(int argc __UNUSED__, char *argv[])
137{ 142{
138 Evas_Object *border, *bg; 143 char border_img_path[PATH_MAX];
139 Evas *evas; 144 char edje_file_path[PATH_MAX];
140 145 const char *edje_file = "signals-messages.edj";
141 srand(time(NULL)); 146 Ecore_Evas *ee;
147 Evas *evas;
148 Evas_Object *bg;
149 Evas_Object *edje_obj;
150 Evas_Object *border;
151 Eina_Prefix *pfx;
142 152
143 if (!ecore_evas_init()) 153 if (!ecore_evas_init())
144 return EXIT_FAILURE; 154 return EXIT_FAILURE;
145 155
146 if (!edje_init()) 156 if (!edje_init())
147 return EXIT_FAILURE; 157 goto shutdown_ecore_evas;
158
159 pfx = eina_prefix_new(argv[0], main,
160 "EDJE_EXAMPLES",
161 "edje/examples",
162 edje_file,
163 PACKAGE_BIN_DIR,
164 PACKAGE_LIB_DIR,
165 PACKAGE_DATA_DIR,
166 PACKAGE_DATA_DIR);
167 if (!pfx)
168 goto shutdown_edje;
148 169
149 /* this will give you a window with an Evas canvas under the first 170 /* this will give you a window with an Evas canvas under the first
150 * engine available */ 171 * engine available */
151 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 172 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
152 if (!ee) 173 if (!ee)
153 goto error; 174 goto free_prefix;
154 175
155 ecore_evas_callback_delete_request_set(ee, _on_delete); 176 ecore_evas_callback_delete_request_set(ee, _on_delete);
156 ecore_evas_title_set(ee, "Edje Basics Example"); 177 ecore_evas_title_set(ee, "Edje Basics Example");
157 ecore_evas_show(ee);
158 178
159 evas = ecore_evas_get(ee); 179 evas = ecore_evas_get(ee);
160 180
@@ -163,14 +183,13 @@ main(void)
163 evas_object_move(bg, 0, 0); /* at canvas' origin */ 183 evas_object_move(bg, 0, 0); /* at canvas' origin */
164 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */ 184 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */
165 evas_object_show(bg); 185 evas_object_show(bg);
166 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
167
168 evas_object_focus_set(bg, EINA_TRUE); 186 evas_object_focus_set(bg, EINA_TRUE);
169 evas_object_event_callback_add( 187 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
170 bg, EVAS_CALLBACK_KEY_DOWN, _on_keydown, NULL);
171 188
172 edje_obj = edje_object_add(evas); 189 edje_obj = edje_object_add(evas);
173 190
191 snprintf(edje_file_path, sizeof(edje_file_path),
192 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
174 if (!edje_object_file_set(edje_obj, edje_file_path, "example_group")) 193 if (!edje_object_file_set(edje_obj, edje_file_path, "example_group"))
175 { 194 {
176 int err = edje_object_load_error_get(edje_obj); 195 int err = edje_object_load_error_get(edje_obj);
@@ -179,14 +198,14 @@ main(void)
179 "signals-messages.edj: %s\n", errmsg); 198 "signals-messages.edj: %s\n", errmsg);
180 199
181 evas_object_del(edje_obj); 200 evas_object_del(edje_obj);
182 goto error_edj; 201 goto free_prefix;
183 } 202 }
184 203
185 edje_object_signal_callback_add(edje_obj, "mouse,wheel,*", "part_left", 204 edje_object_signal_callback_add(edje_obj, "mouse,wheel,*", "part_left",
186 _mouse_wheel_cb, NULL); 205 _on_mouse_wheel, NULL);
187 206
188 edje_object_signal_callback_add(edje_obj, "mouse,over", "part_right", 207 edje_object_signal_callback_add(edje_obj, "mouse,over", "part_right",
189 _mouse_over_cb, NULL); 208 _on_mouse_over, NULL);
190 209
191 edje_object_message_handler_set(edje_obj, _message_handle, NULL); 210 edje_object_message_handler_set(edje_obj, _message_handle, NULL);
192 211
@@ -194,6 +213,11 @@ main(void)
194 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40); 213 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40);
195 evas_object_show(edje_obj); 214 evas_object_show(edje_obj);
196 215
216 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_keydown, edje_obj);
217
218 snprintf(border_img_path, sizeof(border_img_path),
219 "%s/edje/examples/red.png", eina_prefix_data_get(pfx));
220
197 /* this is a border around the Edje object above, here just to 221 /* this is a border around the Edje object above, here just to
198 * emphasize its geometry */ 222 * emphasize its geometry */
199 border = evas_object_image_filled_add(evas); 223 border = evas_object_image_filled_add(evas);
@@ -207,24 +231,24 @@ main(void)
207 evas_object_show(border); 231 evas_object_show(border);
208 232
209 fprintf(stdout, commands); 233 fprintf(stdout, commands);
234
235 ecore_evas_show(ee);
236
210 ecore_main_loop_begin(); 237 ecore_main_loop_begin();
211 238
239 eina_prefix_free(pfx);
212 ecore_evas_free(ee); 240 ecore_evas_free(ee);
213 ecore_evas_shutdown(); 241 ecore_evas_shutdown();
214 edje_shutdown(); 242 edje_shutdown();
215 return 0;
216
217error:
218 fprintf(stderr, "You got to have at least one Evas engine built"
219 " and linked up to ecore-evas for this example to run"
220 " properly.\n");
221 ecore_evas_shutdown();
222 return -1;
223 243
224error_edj: 244 return EXIT_SUCCESS;
225 fprintf(stderr, "Failed to load signals-messages.edj!\n");
226 245
246 free_prefix:
247 eina_prefix_free(pfx);
248 shutdown_edje:
249 edje_shutdown();
250 shutdown_ecore_evas:
227 ecore_evas_shutdown(); 251 ecore_evas_shutdown();
228 return -2;
229}
230 252
253 return EXIT_FAILURE;
254}
diff --git a/libraries/edje/src/examples/edje-swallow.c b/libraries/edje/src/examples/edje-swallow.c
index a1d30e2..ad79ca2 100644
--- a/libraries/edje/src/examples/edje-swallow.c
+++ b/libraries/edje/src/examples/edje-swallow.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -23,11 +22,6 @@
23#define WIDTH (300) 22#define WIDTH (300)
24#define HEIGHT (300) 23#define HEIGHT (300)
25 24
26static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/swallow.edj";
27
28static Ecore_Evas *ee;
29static Evas_Object *bg;
30
31static void 25static void
32_on_delete(Ecore_Evas *ee __UNUSED__) 26_on_delete(Ecore_Evas *ee __UNUSED__)
33{ 27{
@@ -37,31 +31,56 @@ _on_delete(Ecore_Evas *ee __UNUSED__)
37/* here just to keep our example's window size and background image's 31/* here just to keep our example's window size and background image's
38 * size in synchrony */ 32 * size in synchrony */
39static void 33static void
40_canvas_resize_cb(Ecore_Evas *ee) 34_on_canvas_resize(Ecore_Evas *ee)
41{ 35{
42 int w, h; 36 Evas_Object *bg;
37 int w;
38 int h;
43 39
40 bg = ecore_evas_data_get(ee, "background");
44 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 41 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
45 evas_object_resize(bg, w, h); 42 evas_object_resize(bg, w, h);
46} 43}
47 44
48int 45int
49main(void) 46main(int argc __UNUSED__, char *argv[])
50{ 47{
51 Evas_Object *edje_obj, *rect, *obj; 48 char edje_file_path[PATH_MAX];
52 Evas *evas; 49 const char *edje_file = "swallow.edj";
53 50 Ecore_Evas *ee;
54 ecore_evas_init(); 51 Evas *evas;
55 edje_init(); 52 Evas_Object *bg;
53 Evas_Object *rect;
54 Evas_Object *obj;
55 Evas_Object *edje_obj;
56 Eina_Prefix *pfx;
57
58 if (!ecore_evas_init())
59 return EXIT_FAILURE;
60
61 if (!edje_init())
62 goto shutdown_ecore_evas;
63
64 pfx = eina_prefix_new(argv[0], main,
65 "EDJE_EXAMPLES",
66 "edje/examples",
67 edje_file,
68 PACKAGE_BIN_DIR,
69 PACKAGE_LIB_DIR,
70 PACKAGE_DATA_DIR,
71 PACKAGE_DATA_DIR);
72 if (!pfx)
73 goto shutdown_edje;
56 74
57 /* this will give you a window with an Evas canvas under the first 75 /* this will give you a window with an Evas canvas under the first
58 * engine available */ 76 * engine available */
59 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 77 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
78 if (!ee)
79 goto free_prefix;
60 80
61 ecore_evas_callback_delete_request_set(ee, _on_delete); 81 ecore_evas_callback_delete_request_set(ee, _on_delete);
62 ecore_evas_callback_resize_set(ee, _canvas_resize_cb); 82 ecore_evas_callback_resize_set(ee, _on_canvas_resize);
63 ecore_evas_title_set(ee, "Edje Swallow Example"); 83 ecore_evas_title_set(ee, "Edje Swallow Example");
64 ecore_evas_show(ee);
65 84
66 evas = ecore_evas_get(ee); 85 evas = ecore_evas_get(ee);
67 86
@@ -70,9 +89,12 @@ main(void)
70 evas_object_move(bg, 0, 0); /* at canvas' origin */ 89 evas_object_move(bg, 0, 0); /* at canvas' origin */
71 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */ 90 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */
72 evas_object_show(bg); 91 evas_object_show(bg);
92 ecore_evas_data_set(ee, "background", bg);
73 93
74 edje_obj = edje_object_add(evas); 94 edje_obj = edje_object_add(evas);
75 95
96 snprintf(edje_file_path, sizeof(edje_file_path),
97 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
76 edje_object_file_set(edje_obj, edje_file_path, "example_group"); 98 edje_object_file_set(edje_obj, edje_file_path, "example_group");
77 evas_object_move(edje_obj, 20, 20); 99 evas_object_move(edje_obj, 20, 20);
78 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40); 100 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40);
@@ -86,10 +108,23 @@ main(void)
86 if(obj == rect) 108 if(obj == rect)
87 printf("Swallowing worked!\n"); 109 printf("Swallowing worked!\n");
88 110
111 ecore_evas_show(ee);
112
89 ecore_main_loop_begin(); 113 ecore_main_loop_begin();
90 114
115 eina_prefix_free(pfx);
91 ecore_evas_free(ee); 116 ecore_evas_free(ee);
92 ecore_evas_shutdown(); 117 ecore_evas_shutdown();
93 edje_shutdown(); 118 edje_shutdown();
94 return 0; 119
120 return EXIT_SUCCESS;
121
122 free_prefix:
123 eina_prefix_free(pfx);
124 shutdown_edje:
125 edje_shutdown();
126 shutdown_ecore_evas:
127 ecore_evas_shutdown();
128
129 return EXIT_FAILURE;
95} 130}
diff --git a/libraries/edje/src/examples/edje-table.c b/libraries/edje/src/examples/edje-table.c
index 3866d22..7780221 100644
--- a/libraries/edje/src/examples/edje-table.c
+++ b/libraries/edje/src/examples/edje-table.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -23,12 +22,6 @@
23#define WIDTH (400) 22#define WIDTH (400)
24#define HEIGHT (400) 23#define HEIGHT (400)
25 24
26static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/table.edj";
27
28static Ecore_Evas *ee;
29static Evas *evas;
30static Evas_Object *bg, *edje_obj, *rects[4];
31
32static void 25static void
33_on_delete(Ecore_Evas *ee __UNUSED__) 26_on_delete(Ecore_Evas *ee __UNUSED__)
34{ 27{
@@ -38,7 +31,7 @@ _on_delete(Ecore_Evas *ee __UNUSED__)
38/* Try to get the number of columns and rows of the table 31/* Try to get the number of columns and rows of the table
39 * and print them. */ 32 * and print them. */
40static void 33static void
41_columns_rows_print(void) 34_columns_rows_print(Evas_Object *edje_obj)
42{ 35{
43 int cols, rows; 36 int cols, rows;
44 37
@@ -52,10 +45,18 @@ _columns_rows_print(void)
52/* here just to keep our example's window size and table items 45/* here just to keep our example's window size and table items
53 * size in synchrony. */ 46 * size in synchrony. */
54static void 47static void
55_canvas_resize_cb(Ecore_Evas *ee) 48_on_canvas_resize(Ecore_Evas *ee)
56{ 49{
57 int i, w, h; 50 Evas_Object *bg;
58 51 Evas_Object *edje_obj;
52 Evas_Object **rects;
53 int i;
54 int w;
55 int h;
56
57 bg = ecore_evas_data_get(ee, "background");
58 edje_obj = ecore_evas_data_get(ee, "edje_obj");
59 rects = ecore_evas_data_get(ee, "rects");
59 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 60 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
60 61
61 evas_object_resize(bg, w, h); 62 evas_object_resize(bg, w, h);
@@ -68,9 +69,13 @@ _canvas_resize_cb(Ecore_Evas *ee)
68/* Mouse button 1 = remove the clicked item 69/* Mouse button 1 = remove the clicked item
69 * any other button = remove all items. */ 70 * any other button = remove all items. */
70static void 71static void
71_on_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event_info) 72_on_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info)
72{ 73{
73 Evas_Event_Mouse_Down *ev = event_info; 74 Evas_Event_Mouse_Down *ev;
75 Evas_Object *edje_obj;
76
77 ev = (Evas_Event_Mouse_Down *)event_info;
78 edje_obj = (Evas_Object *)data;
74 79
75 if (ev->button != 1) 80 if (ev->button != 1)
76 edje_object_part_table_clear(edje_obj, "table_part", EINA_TRUE); 81 edje_object_part_table_clear(edje_obj, "table_part", EINA_TRUE);
@@ -78,11 +83,11 @@ _on_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event_info)
78 fprintf(stderr, "Cannot remove the selected rectangle\n"); 83 fprintf(stderr, "Cannot remove the selected rectangle\n");
79 84
80 evas_object_del(obj); 85 evas_object_del(obj);
81 _columns_rows_print(); 86 _columns_rows_print(edje_obj);
82} 87}
83 88
84static void 89static void
85_rects_create(void) 90_rects_create(Evas *evas, Evas_Object **rects, Evas_Object *edje_obj)
86{ 91{
87 int i; 92 int i;
88 93
@@ -93,26 +98,48 @@ _rects_create(void)
93 evas_object_size_hint_weight_set(rects[i], 1.0, 1.0); 98 evas_object_size_hint_weight_set(rects[i], 1.0, 1.0);
94 evas_object_show(rects[i]); 99 evas_object_show(rects[i]);
95 evas_object_event_callback_add(rects[i], EVAS_CALLBACK_MOUSE_DOWN, 100 evas_object_event_callback_add(rects[i], EVAS_CALLBACK_MOUSE_DOWN,
96 _on_mouse_down, NULL); 101 _on_mouse_down, edje_obj);
97 } 102 }
98} 103}
99 104
100int 105int
101main(void) 106main(int argc __UNUSED__, char *argv[])
102{ 107{
103 int i; 108 char edje_file_path[PATH_MAX];
104 109 const char *edje_file = "table.edj";
105 ecore_evas_init(); 110 Ecore_Evas *ee;
106 edje_init(); 111 Evas *evas;
112 Evas_Object *bg;
113 Evas_Object *edje_obj;
114 Evas_Object *rects[4];
115 Eina_Prefix *pfx;
116
117 if (!ecore_evas_init())
118 return EXIT_FAILURE;
119
120 if (!edje_init())
121 goto shutdown_ecore_evas;
122
123 pfx = eina_prefix_new(argv[0], main,
124 "EDJE_EXAMPLES",
125 "edje/examples",
126 edje_file,
127 PACKAGE_BIN_DIR,
128 PACKAGE_LIB_DIR,
129 PACKAGE_DATA_DIR,
130 PACKAGE_DATA_DIR);
131 if (!pfx)
132 goto shutdown_edje;
107 133
108 /* this will give you a window with an Evas canvas under the first 134 /* this will give you a window with an Evas canvas under the first
109 * engine available */ 135 * engine available */
110 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 136 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
137 if (!ee)
138 goto free_prefix;
111 139
112 ecore_evas_callback_delete_request_set(ee, _on_delete); 140 ecore_evas_callback_delete_request_set(ee, _on_delete);
113 ecore_evas_callback_resize_set(ee, _canvas_resize_cb); 141 ecore_evas_callback_resize_set(ee, _on_canvas_resize);
114 ecore_evas_title_set(ee, "Edje Table Example"); 142 ecore_evas_title_set(ee, "Edje Table Example");
115 ecore_evas_show(ee);
116 143
117 evas = ecore_evas_get(ee); 144 evas = ecore_evas_get(ee);
118 145
@@ -121,15 +148,20 @@ main(void)
121 evas_object_move(bg, 0, 0); /* at canvas' origin */ 148 evas_object_move(bg, 0, 0); /* at canvas' origin */
122 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */ 149 evas_object_resize(bg, WIDTH, HEIGHT); /* covers full canvas */
123 evas_object_show(bg); 150 evas_object_show(bg);
151 ecore_evas_data_set(ee, "background", bg);
124 152
125 edje_obj = edje_object_add(evas); 153 edje_obj = edje_object_add(evas);
126 154
155 snprintf(edje_file_path, sizeof(edje_file_path),
156 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
127 edje_object_file_set(edje_obj, edje_file_path, "example_table"); 157 edje_object_file_set(edje_obj, edje_file_path, "example_table");
128 evas_object_move(edje_obj, 0, 0); /* at canvas' origin */ 158 evas_object_move(edje_obj, 0, 0); /* at canvas' origin */
129 evas_object_resize(edje_obj, WIDTH, HEIGHT); 159 evas_object_resize(edje_obj, WIDTH, HEIGHT);
130 evas_object_show(edje_obj); 160 evas_object_show(edje_obj);
161 ecore_evas_data_set(ee, "edje_obj", edje_obj);
131 162
132 _rects_create(); 163 _rects_create(evas, rects, edje_obj);
164 ecore_evas_data_set(ee, "rects", rects);
133 165
134 /* Colouring the rectangles */ 166 /* Colouring the rectangles */
135 evas_object_color_set(rects[0], 255, 0, 0, 255); 167 evas_object_color_set(rects[0], 255, 0, 0, 255);
@@ -154,12 +186,25 @@ main(void)
154 1, 1, 1, 1)) 186 1, 1, 1, 1))
155 fprintf(stderr, "Cannot add the rectangle 4 to table\n"); 187 fprintf(stderr, "Cannot add the rectangle 4 to table\n");
156 188
157 _columns_rows_print(); 189 _columns_rows_print(edje_obj);
190
191 ecore_evas_show(ee);
158 192
159 ecore_main_loop_begin(); 193 ecore_main_loop_begin();
160 194
195 eina_prefix_free(pfx);
161 ecore_evas_free(ee); 196 ecore_evas_free(ee);
162 ecore_evas_shutdown(); 197 ecore_evas_shutdown();
163 edje_shutdown(); 198 edje_shutdown();
164 return 0; 199
200 return EXIT_SUCCESS;
201
202 free_prefix:
203 eina_prefix_free(pfx);
204 shutdown_edje:
205 edje_shutdown();
206 shutdown_ecore_evas:
207 ecore_evas_shutdown();
208
209 return EXIT_FAILURE;
165} 210}
diff --git a/libraries/edje/src/examples/edje-text.c b/libraries/edje/src/examples/edje-text.c
index 0916509..5f801a2 100644
--- a/libraries/edje/src/examples/edje-text.c
+++ b/libraries/edje/src/examples/edje-text.c
@@ -10,10 +10,9 @@
10 */ 10 */
11 11
12#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
13#include "config.h" 13# include "config.h"
14#else 14#else
15#define PACKAGE_EXAMPLES_DIR "." 15# define __UNUSED__
16#define __UNUSED__
17#endif 16#endif
18 17
19#include <Ecore.h> 18#include <Ecore.h>
@@ -23,11 +22,6 @@
23#define WIDTH (300) 22#define WIDTH (300)
24#define HEIGHT (300) 23#define HEIGHT (300)
25 24
26static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/text.edj";
27
28static Ecore_Evas *ee;
29static Evas_Object *bg;
30
31static void 25static void
32_on_delete(Ecore_Evas *ee __UNUSED__) 26_on_delete(Ecore_Evas *ee __UNUSED__)
33{ 27{
@@ -35,27 +29,47 @@ _on_delete(Ecore_Evas *ee __UNUSED__)
35} 29}
36 30
37static void 31static void
38_cb(void *data, Evas_Object *obj, const char *part) 32_on_text_change(void *data __UNUSED__, Evas_Object *obj, const char *part)
39{ 33{
40 printf("text: %s\n", edje_object_part_text_unescaped_get(obj, part)); 34 printf("text: %s\n", edje_object_part_text_unescaped_get(obj, part));
41} 35}
42 36
43int 37int
44main(void) 38main(int argc __UNUSED__, char *argv[])
45{ 39{
46 Evas_Object *edje_obj, *rect, *obj; 40 char edje_file_path[PATH_MAX];
47 Evas *evas; 41 const char *edje_file = "text.edj";
48 42 Ecore_Evas *ee;
49 ecore_evas_init(); 43 Evas *evas;
50 edje_init(); 44 Evas_Object *bg;
45 Evas_Object *edje_obj;
46 Eina_Prefix *pfx;
47
48 if (!ecore_evas_init())
49 return EXIT_FAILURE;
50
51 if (!edje_init())
52 goto shutdown_ecore_evas;
53
54 pfx = eina_prefix_new(argv[0], main,
55 "EDJE_EXAMPLES",
56 "edje/examples",
57 edje_file,
58 PACKAGE_BIN_DIR,
59 PACKAGE_LIB_DIR,
60 PACKAGE_DATA_DIR,
61 PACKAGE_DATA_DIR);
62 if (!pfx)
63 goto shutdown_edje;
51 64
52 /* this will give you a window with an Evas canvas under the first 65 /* this will give you a window with an Evas canvas under the first
53 * engine available */ 66 * engine available */
54 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 67 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
68 if (!ee)
69 goto free_prefix;
55 70
56 ecore_evas_callback_delete_request_set(ee, _on_delete); 71 ecore_evas_callback_delete_request_set(ee, _on_delete);
57 ecore_evas_title_set(ee, "Edje text Example"); 72 ecore_evas_title_set(ee, "Edje text Example");
58 ecore_evas_show(ee);
59 73
60 evas = ecore_evas_get(ee); 74 evas = ecore_evas_get(ee);
61 75
@@ -68,12 +82,14 @@ main(void)
68 82
69 edje_obj = edje_object_add(evas); 83 edje_obj = edje_object_add(evas);
70 84
85 snprintf(edje_file_path, sizeof(edje_file_path),
86 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
71 edje_object_file_set(edje_obj, edje_file_path, "example_group"); 87 edje_object_file_set(edje_obj, edje_file_path, "example_group");
72 evas_object_move(edje_obj, 20, 20); 88 evas_object_move(edje_obj, 20, 20);
73 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40); 89 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40);
74 evas_object_show(edje_obj); 90 evas_object_show(edje_obj);
75 91
76 edje_object_text_change_cb_set(edje_obj, _cb, NULL); 92 edje_object_text_change_cb_set(edje_obj, _on_text_change, NULL);
77 edje_object_part_text_set(edje_obj, "part_one", "one"); 93 edje_object_part_text_set(edje_obj, "part_one", "one");
78 edje_object_part_text_set(edje_obj, "part_two", "<b>two"); 94 edje_object_part_text_set(edje_obj, "part_two", "<b>two");
79 95
@@ -83,10 +99,23 @@ main(void)
83 edje_object_part_text_select_none(edje_obj, "part_two"); 99 edje_object_part_text_select_none(edje_obj, "part_two");
84 printf("selection: %s\n", edje_object_part_text_selection_get(edje_obj, "part_two")); 100 printf("selection: %s\n", edje_object_part_text_selection_get(edje_obj, "part_two"));
85 101
102 ecore_evas_show(ee);
103
86 ecore_main_loop_begin(); 104 ecore_main_loop_begin();
87 105
106 eina_prefix_free(pfx);
88 ecore_evas_free(ee); 107 ecore_evas_free(ee);
89 ecore_evas_shutdown(); 108 ecore_evas_shutdown();
90 edje_shutdown(); 109 edje_shutdown();
91 return 0; 110
111 return EXIT_SUCCESS;
112
113 free_prefix:
114 eina_prefix_free(pfx);
115 shutdown_edje:
116 edje_shutdown();
117 shutdown_ecore_evas:
118 ecore_evas_shutdown();
119
120 return EXIT_FAILURE;
92} 121}
diff --git a/libraries/edje/src/examples/sigtest.c b/libraries/edje/src/examples/sigtest.c
index 6e4d85f..9538e13 100644
--- a/libraries/edje/src/examples/sigtest.c
+++ b/libraries/edje/src/examples/sigtest.c
@@ -13,35 +13,37 @@
13#define WIDTH (300) 13#define WIDTH (300)
14#define HEIGHT (300) 14#define HEIGHT (300)
15 15
16static const char *border_img_path = PACKAGE_EXAMPLES_DIR "/red.png";
17static const char *edje_file_path = PACKAGE_EXAMPLES_DIR "/sigtest.edj";
18
19static Ecore_Evas *ee;
20static Evas_Object *edje_obj;
21
22static const char commands[] = \ 16static const char commands[] = \
23 "commands are:\n" 17 "commands are:\n"
24 "\te - change te edje base\n" 18 "\te - change te edje base\n"
25 "\tl - change to lua base\n" 19 "\tl - change to lua base\n"
26 "\tm - send message\n" 20 "\tm - send message\n"
27 "\ts - send signal\n" 21 "\ts - send signal\n"
22 "\tEsc - exit\n"
28 "\th - print help\n"; 23 "\th - print help\n";
29 24
30static void 25static void
31_on_keydown(void *data __UNUSED__, 26_on_keydown(void *data,
32 Evas *evas __UNUSED__, 27 Evas *evas __UNUSED__,
33 Evas_Object *o __UNUSED__, 28 Evas_Object *o __UNUSED__,
34 void *einfo) 29 void *einfo)
35{ 30{
36 Evas_Event_Key_Down *ev = einfo; 31 Ecore_Evas *ee;
32 Evas_Event_Key_Down *ev;
33 Evas_Object *edje_obj;
34 char *edje_file_path;
35
36 ee = (Ecore_Evas *)data;
37 ev = (Evas_Event_Key_Down *)einfo;
38 edje_obj = ecore_evas_data_get(ee, "edje_obj");
39 edje_file_path = ecore_evas_data_get(ee, "file_path");
37 40
38 if (strcmp(ev->keyname, "h") == 0) 41 if (!strcmp(ev->keyname, "h"))
39 { 42 {
40 fprintf(stdout, commands); 43 fprintf(stdout, commands);
41 return; 44 return;
42 } 45 }
43 46 else if (!strcmp(ev->keyname, "e"))
44 if (strcmp(ev->keyname, "e") == 0)
45 { 47 {
46 if (!edje_object_file_set(edje_obj, edje_file_path, "plain/edje/group")) 48 if (!edje_object_file_set(edje_obj, edje_file_path, "plain/edje/group"))
47 { 49 {
@@ -55,8 +57,7 @@ _on_keydown(void *data __UNUSED__,
55 " file sigtest.edj with success!\n"); 57 " file sigtest.edj with success!\n");
56 return; 58 return;
57 } 59 }
58 60 else if (!strcmp(ev->keyname, "l"))
59 if (strcmp(ev->keyname, "l") == 0)
60 { 61 {
61 if (!edje_object_file_set(edje_obj, edje_file_path, "lua_base")) 62 if (!edje_object_file_set(edje_obj, edje_file_path, "lua_base"))
62 { 63 {
@@ -70,8 +71,7 @@ _on_keydown(void *data __UNUSED__,
70 " file sigtest.edj with success!\n"); 71 " file sigtest.edj with success!\n");
71 return; 72 return;
72 } 73 }
73 74 else if (!strcmp(ev->keyname, "m"))
74 if (strcmp(ev->keyname, "m") == 0)
75 { 75 {
76 Edje_Message_String *msg = malloc(sizeof(*msg)); 76 Edje_Message_String *msg = malloc(sizeof(*msg));
77 77
@@ -82,8 +82,7 @@ _on_keydown(void *data __UNUSED__,
82 fprintf(stdout, "C message sent\n"); 82 fprintf(stdout, "C message sent\n");
83 return; 83 return;
84 } 84 }
85 85 else if (!strcmp(ev->keyname, "s"))
86 if (strcmp(ev->keyname, "s") == 0)
87 { 86 {
88 fprintf(stdout, "\n"); 87 fprintf(stdout, "\n");
89 edje_object_signal_emit(edje_obj, "C signal 1", "Csource"); 88 edje_object_signal_emit(edje_obj, "C signal 1", "Csource");
@@ -91,10 +90,17 @@ _on_keydown(void *data __UNUSED__,
91 fprintf(stdout, "C signal sent\n"); 90 fprintf(stdout, "C signal sent\n");
92 return; 91 return;
93 } 92 }
93 else if (!strcmp(ev->keyname, "Escape"))
94 ecore_main_loop_quit();
95 else
96 {
97 printf("unhandled key: %s\n", ev->keyname);
98 fprintf(stdout, commands);
99 }
94} 100}
95 101
96static void 102static void
97_on_message(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg) 103_on_message(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Edje_Message_Type type, int id, void *msg)
98{ 104{
99 int i; 105 int i;
100 106
@@ -207,7 +213,7 @@ _on_message(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *
207} 213}
208 214
209static void 215static void
210_on_signal(void *data, Evas_Object *obj __UNUSED__, const char *emission, const char *source) 216_on_signal(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const char *emission, const char *source)
211{ 217{
212 fprintf(stdout, "C::signal sig=|%s| src=|%s|\n", emission, source); 218 fprintf(stdout, "C::signal sig=|%s| src=|%s|\n", emission, source);
213} 219}
@@ -219,26 +225,43 @@ _on_delete(Ecore_Evas *ee __UNUSED__)
219} 225}
220 226
221int 227int
222main(void) 228main(int argc __UNUSED__, char *argv[])
223{ 229{
224 Evas_Object *border, *bg; 230 char border_img_path[PATH_MAX];
225 Evas *evas; 231 char edje_file_path[PATH_MAX];
232 const char *edje_file = "sigtest.edj";
233 Ecore_Evas *ee;
234 Evas *evas;
235 Evas_Object *bg;
236 Evas_Object *border;
237 Evas_Object *edje_obj;
238 Eina_Prefix *pfx;
226 239
227 if (!ecore_evas_init()) 240 if (!ecore_evas_init())
228 return EXIT_FAILURE; 241 return EXIT_FAILURE;
229 242
230 if (!edje_init()) 243 if (!edje_init())
231 return EXIT_FAILURE; 244 goto shutdown_ecore_evas;
245
246 pfx = eina_prefix_new(argv[0], main,
247 "EDJE_EXAMPLES",
248 "edje/examples",
249 edje_file,
250 PACKAGE_BIN_DIR,
251 PACKAGE_LIB_DIR,
252 PACKAGE_DATA_DIR,
253 PACKAGE_DATA_DIR);
254 if (!pfx)
255 goto shutdown_edje;
232 256
233 /* this will give you a window with an Evas canvas under the first 257 /* this will give you a window with an Evas canvas under the first
234 * engine available */ 258 * engine available */
235 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 259 ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
236 if (!ee) 260 if (!ee)
237 goto error; 261 goto free_prefix;
238 262
239 ecore_evas_callback_delete_request_set(ee, _on_delete); 263 ecore_evas_callback_delete_request_set(ee, _on_delete);
240 ecore_evas_title_set(ee, "Signals and wessages tester"); 264 ecore_evas_title_set(ee, "Signals and wessages tester");
241 ecore_evas_show(ee);
242 265
243 evas = ecore_evas_get(ee); 266 evas = ecore_evas_get(ee);
244 267
@@ -250,14 +273,14 @@ main(void)
250 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE); 273 ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
251 274
252 evas_object_focus_set(bg, EINA_TRUE); 275 evas_object_focus_set(bg, EINA_TRUE);
253 evas_object_event_callback_add(
254 bg, EVAS_CALLBACK_KEY_DOWN, _on_keydown, NULL);
255 276
256 edje_obj = edje_object_add(evas); 277 edje_obj = edje_object_add(evas);
257 278
258 edje_object_message_handler_set(edje_obj, _on_message, NULL); 279 edje_object_message_handler_set(edje_obj, _on_message, NULL);
259 edje_object_signal_callback_add(edje_obj, "*", "*", _on_signal, NULL); 280 edje_object_signal_callback_add(edje_obj, "*", "*", _on_signal, NULL);
260 281
282 snprintf(edje_file_path, sizeof(edje_file_path),
283 "%s/examples/%s", eina_prefix_data_get(pfx), edje_file);
261 if (!edje_object_file_set(edje_obj, edje_file_path, "lua_base")) 284 if (!edje_object_file_set(edje_obj, edje_file_path, "lua_base"))
262 { 285 {
263 int err = edje_object_load_error_get(edje_obj); 286 int err = edje_object_load_error_get(edje_obj);
@@ -266,7 +289,7 @@ main(void)
266 errmsg); 289 errmsg);
267 290
268 evas_object_del(edje_obj); 291 evas_object_del(edje_obj);
269 goto error_edj; 292 goto free_prefix;
270 } 293 }
271 294
272 fprintf(stdout, "Loaded Edje object bound to group 'lua_base' from" 295 fprintf(stdout, "Loaded Edje object bound to group 'lua_base' from"
@@ -275,6 +298,13 @@ main(void)
275 evas_object_move(edje_obj, 20, 20); 298 evas_object_move(edje_obj, 20, 20);
276 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40); 299 evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40);
277 evas_object_show(edje_obj); 300 evas_object_show(edje_obj);
301 ecore_evas_data_set(ee, "edje_obj", edje_obj);
302 ecore_evas_data_set(ee, "file_path", edje_file_path);
303
304 evas_object_event_callback_add(bg, EVAS_CALLBACK_KEY_DOWN, _on_keydown, ee);
305
306 snprintf(border_img_path, sizeof(border_img_path),
307 "%s/edje/examples/red.png", eina_prefix_data_get(pfx));
278 308
279 /* this is a border around the Edje object above, here just to 309 /* this is a border around the Edje object above, here just to
280 * emphasize its geometry */ 310 * emphasize its geometry */
@@ -287,23 +317,25 @@ main(void)
287 evas_object_move(border, 20 - 2, 20 - 2); 317 evas_object_move(border, 20 - 2, 20 - 2);
288 evas_object_show(border); 318 evas_object_show(border);
289 319
320 fprintf(stdout, commands);
321
322 ecore_evas_show(ee);
323
290 ecore_main_loop_begin(); 324 ecore_main_loop_begin();
291 325
326 eina_prefix_free(pfx);
292 ecore_evas_free(ee); 327 ecore_evas_free(ee);
293 ecore_evas_shutdown(); 328 ecore_evas_shutdown();
294 edje_shutdown(); 329 edje_shutdown();
295 return 0;
296
297error:
298 fprintf(stderr, "You got to have at least one evas engine built"
299 " and linked up to ecore-evas for this example to run"
300 " properly.\n");
301 ecore_evas_shutdown();
302 return -1;
303 330
304error_edj: 331 return EXIT_SUCCESS;
305 fprintf(stderr, "Failed to load sigtest.edj!\n");
306 332
333 free_prefix:
334 eina_prefix_free(pfx);
335 shutdown_edje:
336 edje_shutdown();
337 shutdown_ecore_evas:
307 ecore_evas_shutdown(); 338 ecore_evas_shutdown();
308 return -2; 339
340 return EXIT_FAILURE;
309} 341}
diff --git a/libraries/edje/src/lib/Edje.h b/libraries/edje/src/lib/Edje.h
index 6413014..1449d70 100644
--- a/libraries/edje/src/lib/Edje.h
+++ b/libraries/edje/src/lib/Edje.h
@@ -5,7 +5,7 @@ These routines are used for Edje.
5 5
6@mainpage Edje Library Documentation 6@mainpage Edje Library Documentation
7@version 1.1 7@version 1.1
8@date 2003-2011 8@date 2003-2012
9 9
10Please see the @ref authors page for contact details. 10Please see the @ref authors page for contact details.
11 11
@@ -19,7 +19,7 @@ Please see the @ref authors page for contact details.
19 19
20Edje is a complex graphical design & layout library. 20Edje is a complex graphical design & layout library.
21 21
22It doesn't pretend to do containing and regular layout like a widget 22It doesn't intend to do containing and regular layout like a widget
23set, but it is the base for such components. Based on the requirements 23set, but it is the base for such components. Based on the requirements
24of Enlightenment 0.17, Edje should serve all the purposes of creating 24of Enlightenment 0.17, Edje should serve all the purposes of creating
25visual elements (borders of windows, buttons, scrollbars, etc.) and 25visual elements (borders of windows, buttons, scrollbars, etc.) and
@@ -110,197 +110,11 @@ The application using Edje will then create an object in its Evas
110canvas and set the bundle file to use, specifying the @b group name to 110canvas and set the bundle file to use, specifying the @b group name to
111use. Edje will load such information and create all the required 111use. Edje will load such information and create all the required
112children objects with the specified properties as defined in each @b 112children objects with the specified properties as defined in each @b
113part of the given group. See the following annotated example: 113part of the given group. See the following example:
114@include edje_example.c
114 115
115@code 116The above example requires the following annotated source Edje file:
116 117@include edje_example.edc
117#include <Eina.h>
118#include <Evas.h>
119#include <Ecore.h>
120#include <Ecore_Evas.h>
121#include <Edje.h>
122
123#define WIDTH 320
124#define HEIGHT 240
125
126static Evas_Object *create_my_group(Evas *canvas, const char *text)
127{
128 Evas_Object *edje;
129
130 edje = edje_object_add(canvas);
131 if (!edje)
132 {
133 EINA_LOG_CRIT("could not create edje object!");
134 return NULL;
135 }
136
137 if (!edje_object_file_set(edje, "edje_example.edj", "my_group"))
138 {
139 int err = edje_object_load_error_get(edje);
140 const char *errmsg = edje_load_error_str(err);
141 EINA_LOG_ERR("could not load 'my_group' from edje_example.edj: %s",
142 errmsg);
143
144 evas_object_del(edje);
145 return NULL;
146 }
147
148 if (text)
149 {
150 if (!edje_object_part_text_set(edje, "text", text))
151 {
152 EINA_LOG_WARN("could not set the text. "
153 "Maybe part 'text' does not exist?");
154 }
155 }
156
157 evas_object_move(edje, 0, 0);
158 evas_object_resize(edje, WIDTH, HEIGHT);
159 evas_object_show(edje);
160 return edje;
161}
162
163int main(int argc, char *argv[])
164{
165 Ecore_Evas *window;
166 Evas *canvas;
167 Evas_Object *edje;
168 const char *text;
169
170 eina_init();
171 evas_init();
172 ecore_init();
173 ecore_evas_init();
174 edje_init();
175
176 window = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
177 if (!window)
178 {
179 EINA_LOG_CRIT("could not create window.");
180 return -1;
181 }
182 canvas = ecore_evas_get(window);
183
184 text = (argc > 1) ? argv[1] : NULL;
185
186 edje = create_my_group(canvas, text);
187 if (!edje)
188 return -2;
189
190 ecore_evas_show(window);
191 ecore_main_loop_begin();
192
193 evas_object_del(edje);
194 ecore_evas_free(window);
195
196 return 0;
197}
198@endcode
199
200It requires the following source Edje file:
201@code
202// compile: edje_cc edje_example.edc
203collections {
204 group {
205 name: "my_group"; // must be the same as in edje_example.c
206
207 parts {
208 part {
209 name: "background";
210 type: RECT; // plain boring rectangle
211 mouse_events: 0; // we don't need any mouse event on the background
212
213 // just one state "default"
214 description {
215 state: "default" 0.0; // must always exist
216 color: 255 255 255 255; // white
217
218 // define part coordinates:
219
220 rel1 { // top-left point at (0, 0) [WIDTH * 0 + 0, HEIGHT * 0 + 0]
221 relative: 0.0 0.0;
222 offset: 0 0;
223 }
224 rel2 { // bottom-right point at (WIDTH * 1.0 - 1, HEIGHT * 1.0 - 1)
225 relative: 1.0 1.0;
226 offset: -1 -1;
227 }
228 }
229 }
230
231 part {
232 name: "text";
233 type: TEXT;
234 mouse_events: 1; // we want to change the color on mouse-over
235
236 // 2 states, one "default" and another "over" to be used
237 // on mouse over effect
238
239 description {
240 state: "default" 0.0;
241 color: 255 0 0 255; // red
242
243 // define part coordinates:
244
245 rel1 { // top-left at (WIDTH * 0.1 + 5, HEIGHT * 0.2 + 10)
246 relative: 0.1 0.2;
247 offset: 5 10;
248 }
249 rel2 { // bottom-right at (WIDTH * 0.9 - 6, HEIGHT * 0.8 - 11)
250 relative: 0.9 0.8;
251 offset: -6 -11;
252 }
253
254 // define text specific state details
255 text {
256 font: "Sans"; // using fontconfig name!
257 size: 10;
258 text: "hello world";
259 }
260 }
261
262 description {
263 state: "over" 0.0;
264 inherit: "default" 0.0; // copy everything from "default" at this point
265
266 color: 0 255 0 255; // override color, now it is green
267 }
268 }
269
270 // do programs to change color on text mouse in/out (over)
271 programs {
272 program {
273 // what triggers this program:
274 signal: "mouse,in";
275 source: "text";
276
277 // what this program does:
278 action: STATE_SET "over" 0.0;
279 target: "text";
280
281 // do the state-set in a nice interpolation animation
282 // using linear time in 0.1 second
283 transition: LINEAR 0.1;
284 }
285
286 program {
287 // what triggers this program:
288 signal: "mouse,out";
289 source: "text";
290
291 // what this program does:
292 action: STATE_SET "default" 0.0;
293 target: "text";
294
295 // do the state-set in a nice interpolation animation
296 // using linear time in 0.1 second
297 transition: LINEAR 0.1;
298 }
299 }
300 }
301 }
302}
303@endcode
304 118
305 119
306One should save these files as edje_example.c and edje_example.edc then: 120One should save these files as edje_example.c and edje_example.edc then:
@@ -452,6 +266,10 @@ param in edje programs
452# undef EAPI 266# undef EAPI
453#endif 267#endif
454 268
269#ifdef HAVE_ECORE_IMF
270#include <Ecore_IMF.h>
271#endif
272
455#ifdef _WIN32 273#ifdef _WIN32
456# ifdef EFL_EDJE_BUILD 274# ifdef EFL_EDJE_BUILD
457# ifdef DLL_EXPORT 275# ifdef DLL_EXPORT
@@ -778,7 +596,7 @@ typedef enum _Edje_External_Param_Type
778{ 596{
779 EDJE_EXTERNAL_PARAM_TYPE_INT, /**< Parameter value is an integer. */ 597 EDJE_EXTERNAL_PARAM_TYPE_INT, /**< Parameter value is an integer. */
780 EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, /**< Parameter value is a double. */ 598 EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, /**< Parameter value is a double. */
781 EDJE_EXTERNAL_PARAM_TYPE_STRING, /**< Paramater value is a string. */ 599 EDJE_EXTERNAL_PARAM_TYPE_STRING, /**< Parameter value is a string. */
782 EDJE_EXTERNAL_PARAM_TYPE_BOOL, /**< Parameter value is boolean. */ 600 EDJE_EXTERNAL_PARAM_TYPE_BOOL, /**< Parameter value is boolean. */
783 EDJE_EXTERNAL_PARAM_TYPE_CHOICE, /**< Parameter value is one of a set of 601 EDJE_EXTERNAL_PARAM_TYPE_CHOICE, /**< Parameter value is one of a set of
784 predefined string choices. */ 602 predefined string choices. */
@@ -791,10 +609,10 @@ typedef enum _Edje_External_Param_Type
791 */ 609 */
792typedef enum _Edje_External_Param_Flags 610typedef enum _Edje_External_Param_Flags
793{ 611{
794 EDJE_EXTERNAL_PARAM_FLAGS_NONE = 0, /**< Propery is incapable of operations, this is used to catch bogus flags. */ 612 EDJE_EXTERNAL_PARAM_FLAGS_NONE = 0, /**< Property is incapable of operations, this is used to catch bogus flags. */
795 EDJE_EXTERNAL_PARAM_FLAGS_GET = (1 << 0), /**< Property can be read/get. */ 613 EDJE_EXTERNAL_PARAM_FLAGS_GET = (1 << 0), /**< Property can be read/get. */
796 EDJE_EXTERNAL_PARAM_FLAGS_SET = (1 << 1), /**< Property can be written/set. This only enables edje_object_part_external_param_set() and Embryo scripts. To enable the parameter being set from state description whenever it changes state, use #EDJE_EXTERNAL_PARAM_FLAGS_STATE. */ 614 EDJE_EXTERNAL_PARAM_FLAGS_SET = (1 << 1), /**< Property can be written/set. This only enables edje_object_part_external_param_set() and Embryo scripts. To enable the parameter being set from state description whenever it changes state, use #EDJE_EXTERNAL_PARAM_FLAGS_STATE. */
797 EDJE_EXTERNAL_PARAM_FLAGS_STATE = (1 << 2), /**< Property can be set from state dsecription. */ 615 EDJE_EXTERNAL_PARAM_FLAGS_STATE = (1 << 2), /**< Property can be set from state description. */
798 EDJE_EXTERNAL_PARAM_FLAGS_CONSTRUCTOR = (1 << 3), /**< This property is only set once when the object is constructed using its value from "default" 0.0 state description. Setting this overrides #EDJE_EXTERNAL_PARAM_FLAGS_STATE. */ 616 EDJE_EXTERNAL_PARAM_FLAGS_CONSTRUCTOR = (1 << 3), /**< This property is only set once when the object is constructed using its value from "default" 0.0 state description. Setting this overrides #EDJE_EXTERNAL_PARAM_FLAGS_STATE. */
799 EDJE_EXTERNAL_PARAM_FLAGS_REGULAR = (EDJE_EXTERNAL_PARAM_FLAGS_GET | 617 EDJE_EXTERNAL_PARAM_FLAGS_REGULAR = (EDJE_EXTERNAL_PARAM_FLAGS_GET |
800 EDJE_EXTERNAL_PARAM_FLAGS_SET | 618 EDJE_EXTERNAL_PARAM_FLAGS_SET |
@@ -817,6 +635,24 @@ typedef enum _Edje_Input_Panel_Layout
817 EDJE_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, no auto-capitalization etc. @since 1.2 */ 635 EDJE_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, no auto-capitalization etc. @since 1.2 */
818} Edje_Input_Panel_Layout; 636} Edje_Input_Panel_Layout;
819 637
638typedef enum _Edje_Input_Panel_Lang
639{
640 EDJE_INPUT_PANEL_LANG_AUTOMATIC, /**< Automatic @since 1.2 */
641 EDJE_INPUT_PANEL_LANG_ALPHABET /**< Alphabet @since 1.2 */
642} Edje_Input_Panel_Lang;
643
644typedef enum _Edje_Input_Panel_Return_Key_Type
645{
646 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT, /**< Default @since 1.2 */
647 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DONE, /**< Done @since 1.2 */
648 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_GO, /**< Go @since 1.2 */
649 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_JOIN, /**< Join @since 1.2 */
650 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_LOGIN, /**< Login @since 1.2 */
651 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_NEXT, /**< Next @since 1.2 */
652 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH, /**< Search or magnifier icon @since 1.2 */
653 EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SEND /**< Send @since 1.2 */
654} Edje_Input_Panel_Return_Key_Type;
655
820/** 656/**
821 * @brief Converts type identifier to string nicer representation. 657 * @brief Converts type identifier to string nicer representation.
822 * 658 *
@@ -886,18 +722,18 @@ struct _Edje_External_Param_Info
886 used. */ 722 used. */
887 union { 723 union {
888 struct { 724 struct {
889 int def, /**< Default value for the paramter. */ 725 int def, /**< Default value for the parameter. */
890 min, /**< Minimum value it can have. */ 726 min, /**< Minimum value it can have. */
891 max, /**< Maximum value it can have. */ 727 max, /**< Maximum value it can have. */
892 step; /**< Values will be a multiple of this. */ 728 step; /**< Values will be a multiple of this. */
893 } i; /**< Info about integer type parametrs. Use #EDJE_EXTERNAL_INT_UNSET 729 } i; /**< Info about integer type parameters. Use #EDJE_EXTERNAL_INT_UNSET
894 on any of them to indicate they are not defined.*/ 730 on any of them to indicate they are not defined.*/
895 struct { 731 struct {
896 double def, /**< Default value for the paramter. */ 732 double def, /**< Default value for the parameter. */
897 min, /**< Minimum value it can have. */ 733 min, /**< Minimum value it can have. */
898 max, /**< Maximum value it can have. */ 734 max, /**< Maximum value it can have. */
899 step; /**< Values will be a multiple of this. */ 735 step; /**< Values will be a multiple of this. */
900 } d; /**< Info about double type parametrs. Use 736 } d; /**< Info about double type parameters. Use
901#EDJE_EXTERNAL_DOUBLE_UNSET on any of them to indicate they are not defined.*/ 737#EDJE_EXTERNAL_DOUBLE_UNSET on any of them to indicate they are not defined.*/
902 struct { 738 struct {
903 const char *def; /**< Default value. */ 739 const char *def; /**< Default value. */
@@ -1054,6 +890,7 @@ typedef void (*Edje_Signal_Cb) (void *data, Evas_Object *obj, c
1054typedef void (*Edje_Text_Change_Cb) (void *data, Evas_Object *obj, const char *part); 890typedef void (*Edje_Text_Change_Cb) (void *data, Evas_Object *obj, const char *part);
1055typedef void (*Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg); /**< Edje message handler callback functions's prototype definition. @c data will have the auxiliary data pointer set at the time the callback registration. @c obj will be a pointer the Edje object where the message comes from. @c type will identify the type of the given message and @c msg will be a pointer the message's contents, de facto, which depend on @c type. */ 891typedef void (*Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg); /**< Edje message handler callback functions's prototype definition. @c data will have the auxiliary data pointer set at the time the callback registration. @c obj will be a pointer the Edje object where the message comes from. @c type will identify the type of the given message and @c msg will be a pointer the message's contents, de facto, which depend on @c type. */
1056typedef void (*Edje_Text_Filter_Cb) (void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text); 892typedef void (*Edje_Text_Filter_Cb) (void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text);
893typedef void (*Edje_Markup_Filter_Cb) (void *data, Evas_Object *obj, const char *part, char **text);
1057typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, const char *part, const char *item); 894typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, const char *part, const char *item);
1058 895
1059/** 896/**
@@ -1187,7 +1024,7 @@ EAPI const char *edje_fontset_append_get (void);
1187 * edje_object_scale_set(), that factor will @b override the global 1024 * edje_object_scale_set(), that factor will @b override the global
1188 * one. 1025 * one.
1189 * 1026 *
1190 * Scaling affects the values of mininum/maximum @b part sizes, which 1027 * Scaling affects the values of minimum/maximum @b part sizes, which
1191 * are @b multiplied by it. Font sizes are scaled, too. 1028 * are @b multiplied by it. Font sizes are scaled, too.
1192 * 1029 *
1193 * @warning Only parts which, at EDC level, had the @c "scale" 1030 * @warning Only parts which, at EDC level, had the @c "scale"
@@ -1244,7 +1081,7 @@ EAPI void edje_password_show_last_timeout_set(double password_show_last_timeout)
1244 * 1081 *
1245 * @param obj A handle to an Edje object 1082 * @param obj A handle to an Edje object
1246 * @param scale The scaling factor (the default value is @c 0.0, 1083 * @param scale The scaling factor (the default value is @c 0.0,
1247 * meaning indivinual scaling @b not set) 1084 * meaning individual scaling @b not set)
1248 * 1085 *
1249 * This function sets an @b individual scaling factor on the @a obj 1086 * This function sets an @b individual scaling factor on the @a obj
1250 * Edje object. This property (or Edje's global scaling factor, when 1087 * Edje object. This property (or Edje's global scaling factor, when
@@ -1663,9 +1500,9 @@ EAPI void edje_box_layout_register (const char *name, Evas_Object
1663 * 1500 *
1664 * @note You can get a callback every time edje re-calculates the object 1501 * @note You can get a callback every time edje re-calculates the object
1665 * (either due to animation or some kind of signal or input). This is called 1502 * (either due to animation or some kind of signal or input). This is called
1666 * in-line just after the recalculation has occured. It is a good idea not 1503 * in-line just after the recalculation has occurred. It is a good idea not
1667 * to go and delete or alter the object inside this callbacks, simply make 1504 * to go and delete or alter the object inside this callbacks, simply make
1668 * a note that the recalculation has taken place and then do somethnig about 1505 * a note that the recalculation has taken place and then do something about
1669 * it outside the callback. to register a callback use code like: 1506 * it outside the callback. to register a callback use code like:
1670 * 1507 *
1671 * @code 1508 * @code
@@ -1883,7 +1720,7 @@ EAPI Eina_Bool edje_object_preload (Evas_Object *obj, Eina_Bool c
1883 * buttons on an interface, you'd be registering for notifications on 1720 * buttons on an interface, you'd be registering for notifications on
1884 * events of mouse buttons being pressed down on either of those parts 1721 * events of mouse buttons being pressed down on either of those parts
1885 * (those events all have the @c "mouse,down," common prefix on their 1722 * (those events all have the @c "mouse,down," common prefix on their
1886 * names, with a suffix giving the button number). The actual emisson 1723 * names, with a suffix giving the button number). The actual emission
1887 * and source strings of an event will be passed in as the @a emission 1724 * and source strings of an event will be passed in as the @a emission
1888 * and @a source parameters of the callback function (e.g. @c 1725 * and @a source parameters of the callback function (e.g. @c
1889 * "mouse,down,2" and @c "button.close"), for each of those events. 1726 * "mouse,down,2" and @c "button.close"), for each of those events.
@@ -2214,6 +2051,27 @@ EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const c
2214EAPI void edje_object_size_min_get (const Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh); 2051EAPI void edje_object_size_min_get (const Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
2215 2052
2216/** 2053/**
2054 * @brief Edje will automatically update the size hints on itself.
2055 *
2056 * @param obj A handle to an Edje object.
2057 * @param update Wether or not update the size hints.
2058 *
2059 * By default edje doesn't set size hints on itself. With this function
2060 * call, it will do so if update is true. Be carefully, it cost a lot to
2061 * trigger this feature as it will recalc the object every time it make
2062 * sense to be sure that's its minimal size hint is always accurate.
2063 */
2064EAPI void edje_object_update_hints_set(Evas_Object *obj, Eina_Bool update);
2065
2066/**
2067 * @brief Wether or not Edje will update size hints on itself.
2068 *
2069 * @param obj A handle to an Edje object.
2070 * @return @c true if does, @c false if it doesn't.
2071 */
2072EAPI Eina_Bool edje_object_update_hints_get(Evas_Object *obj);
2073
2074/**
2217 * @brief Get the maximum size specified -- as an EDC property -- for a 2075 * @brief Get the maximum size specified -- as an EDC property -- for a
2218 * given Edje object 2076 * given Edje object
2219 * 2077 *
@@ -2362,12 +2220,12 @@ EAPI Eina_Bool edje_object_part_exists (const Evas_Object *obj, c
2362 * @return A pointer to the Evas object implementing the given part, 2220 * @return A pointer to the Evas object implementing the given part,
2363 * or @c NULL on failure (e.g. the given part doesn't exist) 2221 * or @c NULL on failure (e.g. the given part doesn't exist)
2364 * 2222 *
2365 * This function gets a pointer the Evas object corresponding to a 2223 * This function gets a pointer of the Evas object corresponding to a
2366 * given part in the @p obj object's group. 2224 * given part in the @p obj object's group.
2367 * 2225 *
2368 * You should @b never modify the state of the returned object (with 2226 * You should @b never modify the state of the returned object (with
2369 * @c evas_object_move() or @c evas_object_hide() for example), 2227 * @c evas_object_move() or @c evas_object_hide() for example),
2370 * because it's meant to be managed be Edje, solely. You are safe to 2228 * because it's meant to be managed by Edje, solely. You are safe to
2371 * query information about its current state (with @c 2229 * query information about its current state (with @c
2372 * evas_object_visible_get() or @c evas_object_color_get() for 2230 * evas_object_visible_get() or @c evas_object_color_get() for
2373 * example), though. 2231 * example), though.
@@ -2448,6 +2306,43 @@ EAPI Eina_Bool edje_object_part_text_set (Evas_Object *obj, const c
2448EAPI const char *edje_object_part_text_get (const Evas_Object *obj, const char *part); 2306EAPI const char *edje_object_part_text_get (const Evas_Object *obj, const char *part);
2449 2307
2450/** 2308/**
2309 * @brief Set the style of the
2310 *
2311 * @param obj A valid Evas_Object handle
2312 * @param part The part name
2313 * @param style The style to set (textblock conventions).
2314 *
2315 * This function sets the style associated with the textblock part.
2316 *
2317 * @since 1.2.0
2318 */
2319EAPI void edje_object_part_text_style_user_push(Evas_Object *obj, const char *part, const char *style);
2320
2321/**
2322 * @brief Return the text of the object part.
2323 *
2324 * @param obj A valid Evas_Object handle
2325 * @param part The part name
2326 *
2327 * @return The text string
2328 *
2329 * This function returns the style associated with the textblock part.
2330 *
2331 * @since 1.2.0
2332 */
2333EAPI const char *edje_object_part_text_style_user_peek(const Evas_Object *obj, const char *part);
2334
2335/**
2336 * @brief Delete the top style form the user style stack.
2337 *
2338 * @param obj A valid Evas_Object handle
2339 * @param part The part name
2340 *
2341 * @since 1.2.0
2342 */
2343EAPI void edje_object_part_text_style_user_pop(Evas_Object *obj, const char *part);
2344
2345/**
2451 * @brief Sets the raw (non escaped) text for an object part. 2346 * @brief Sets the raw (non escaped) text for an object part.
2452 * 2347 *
2453 * @param obj A valid Evas Object handle 2348 * @param obj A valid Evas Object handle
@@ -2615,6 +2510,15 @@ EAPI Eina_Bool edje_object_part_text_item_geometry_get (const Evas_
2615EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); 2510EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
2616 2511
2617/** 2512/**
2513 * @brief Deletes the selection and emits a change event.
2514 *
2515 * @param obj A valid Evas_Object handle
2516 * @param part The part name
2517 * @since 1.2.0
2518 */
2519EAPI void edje_object_part_text_user_insert (const Evas_Object *obj, const char *part, const char *text);
2520
2521/**
2618 * @brief Enables selection if the entry is an EXPLICIT selection mode 2522 * @brief Enables selection if the entry is an EXPLICIT selection mode
2619 * type. 2523 * type.
2620 * 2524 *
@@ -2813,8 +2717,33 @@ EAPI void edje_object_part_text_cursor_pos_set (Evas_Ob
2813EAPI int edje_object_part_text_cursor_pos_get (const Evas_Object *obj, const char *part, Edje_Cursor cur); 2717EAPI int edje_object_part_text_cursor_pos_get (const Evas_Object *obj, const char *part, Edje_Cursor cur);
2814 2718
2815/** 2719/**
2720 * @brief Reset the input method context if needed.
2721 *
2722 * This can be necessary in the case where modifying the buffer would confuse on-going input method behavior
2723 *
2724 * @param obj A valid Evas_Object handle
2725 * @param part The part name
2726 * @since 1.2.0
2727 */
2728EAPI void edje_object_part_text_imf_context_reset (const Evas_Object *obj, const char *part);
2729
2730/**
2731 * @brief Get the input method context in entry.
2732 *
2733 * If ecore_imf was not available when edje was compiled, this function returns NULL
2734 * otherwise, the returned pointer is an Ecore_IMF *
2735 *
2736 * @param obj A valid Evas_Object handle
2737 * @param part The part name
2738 *
2739 * @return The input method context (Ecore_IMF_Context *) in entry
2740 * @since 1.2.0
2741 */
2742EAPI void *edje_object_part_text_imf_context_get (const Evas_Object *obj, const char *part);
2743
2744/**
2816 * @brief Set the layout of the input panel. 2745 * @brief Set the layout of the input panel.
2817 * 2746 *
2818 * The layout of the input panel or virtual keyboard can make it easier or 2747 * The layout of the input panel or virtual keyboard can make it easier or
2819 * harder to enter content. This allows you to hint what kind of input you 2748 * harder to enter content. This allows you to hint what kind of input you
2820 * are expecting to enter and thus have the input panel automatically 2749 * are expecting to enter and thus have the input panel automatically
@@ -2825,7 +2754,7 @@ EAPI int edje_object_part_text_cursor_pos_get (const E
2825 * @param layout layout type 2754 * @param layout layout type
2826 * @since 1.1 2755 * @since 1.1
2827 */ 2756 */
2828EAPI void edje_object_part_text_input_panel_layout_set (const Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout); 2757EAPI void edje_object_part_text_input_panel_layout_set (Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout);
2829 2758
2830/** 2759/**
2831 * @brief Get the layout of the input panel. 2760 * @brief Get the layout of the input panel.
@@ -2848,7 +2777,7 @@ EAPI Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get (const
2848 * @param autocapital_type The type of autocapitalization 2777 * @param autocapital_type The type of autocapitalization
2849 * @since 1.1.0 2778 * @since 1.1.0
2850 */ 2779 */
2851EAPI void edje_object_part_text_autocapital_type_set (const Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type); 2780EAPI void edje_object_part_text_autocapital_type_set (Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type);
2852 2781
2853/** 2782/**
2854 * @brief Retrieves the autocapitalization type 2783 * @brief Retrieves the autocapitalization type
@@ -2861,6 +2790,26 @@ EAPI void edje_object_part_text_autocapital_type_set (const Evas_
2861EAPI Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get (const Evas_Object *obj, const char *part); 2790EAPI Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get (const Evas_Object *obj, const char *part);
2862 2791
2863/** 2792/**
2793 * @brief Set whether the prediction is allowed or not.
2794 *
2795 * @param obj A valid Evas_Object handle
2796 * @param part The part name
2797 * @param prediction If true, the prediction feature is allowed.
2798 * @since 1.2.0
2799 */
2800EAPI void edje_object_part_text_prediction_allow_set (Evas_Object *obj, const char *part, Eina_Bool prediction);
2801
2802/**
2803 * @brief Get whether the prediction is allowed or not.
2804 *
2805 * @param obj A valid Evas_Object handle
2806 * @param part The part name
2807 * @return EINA_TRUE if prediction feature is allowed.
2808 * @since 1.2.0
2809 */
2810EAPI Eina_Bool edje_object_part_text_prediction_allow_get (const Evas_Object *obj, const char *part);
2811
2812/**
2864 * @brief Sets the attribute to show the input panel automatically. 2813 * @brief Sets the attribute to show the input panel automatically.
2865 * 2814 *
2866 * @param obj A valid Evas_Object handle 2815 * @param obj A valid Evas_Object handle
@@ -2868,7 +2817,7 @@ EAPI Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get (cons
2868 * @param enabled If true, the input panel is appeared when entry is clicked or has a focus 2817 * @param enabled If true, the input panel is appeared when entry is clicked or has a focus
2869 * @since 1.1.0 2818 * @since 1.1.0
2870 */ 2819 */
2871EAPI void edje_object_part_text_input_panel_enabled_set (const Evas_Object *obj, const char *part, Eina_Bool enabled); 2820EAPI void edje_object_part_text_input_panel_enabled_set (Evas_Object *obj, const char *part, Eina_Bool enabled);
2872 2821
2873/** 2822/**
2874 * @brief Retrieve the attribute to show the input panel automatically. 2823 * @brief Retrieve the attribute to show the input panel automatically.
@@ -2882,6 +2831,125 @@ EAPI void edje_object_part_text_input_panel_enabled_set (const Evas_
2882EAPI Eina_Bool edje_object_part_text_input_panel_enabled_get (const Evas_Object *obj, const char *part); 2831EAPI Eina_Bool edje_object_part_text_input_panel_enabled_get (const Evas_Object *obj, const char *part);
2883 2832
2884/** 2833/**
2834 * @brief Show the input panel (virtual keyboard) based on the input panel property such as layout, autocapital types, and so on.
2835 *
2836 * Note that input panel is shown or hidden automatically according to the focus state.
2837 * This API can be used in the case of manually controlling by using edje_object_part_text_input_panel_enabled_set.
2838 *
2839 * @param obj A valid Evas_Object handle
2840 * @param part The part name
2841 * @since 1.2.0
2842 */
2843EAPI void edje_object_part_text_input_panel_show(const Evas_Object *obj, const char *part);
2844
2845/**
2846 * @brief Hide the input panel (virtual keyboard).
2847 * @see edje_object_part_text_input_panel_show
2848 *
2849 * Note that input panel is shown or hidden automatically according to the focus state.
2850 * This API can be used in the case of manually controlling by using edje_object_part_text_input_panel_enabled_set.
2851 *
2852 * @param obj A valid Evas_Object handle
2853 * @param part The part name
2854 * @since 1.2.0
2855 */
2856EAPI void edje_object_part_text_input_panel_hide(const Evas_Object *obj, const char *part);
2857
2858/**
2859 * Set the language mode of the input panel.
2860 *
2861 * This API can be used if you want to show the Alphabet keyboard.
2862 *
2863 * @param obj A valid Evas_Object handle
2864 * @param part The part name
2865 * @param lang the language to be set to the input panel.
2866 * @since 1.2.0
2867 */
2868EAPI void edje_object_part_text_input_panel_language_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Lang lang);
2869
2870/**
2871 * Get the language mode of the input panel.
2872 *
2873 * See @ref edje_object_part_text_input_panel_language_set for more details.
2874 *
2875 * @param obj A valid Evas_Object handle
2876 * @param part The part name
2877 * @return input panel language type
2878 * @since 1.2.0
2879 */
2880EAPI Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get(const Evas_Object *obj, const char *part);
2881
2882/**
2883 * Set the input panel-specific data to deliver to the input panel.
2884 *
2885 * This API is used by applications to deliver specific data to the input panel.
2886 * The data format MUST be negotiated by both application and the input panel.
2887 * The size and format of data are defined by the input panel.
2888 *
2889 * @param obj A valid Evas_Object handle
2890 * @param part The part name
2891 * @param data The specific data to be set to the input panel.
2892 * @param len the length of data, in bytes, to send to the input panel
2893 * @since 1.2.0
2894 */
2895EAPI void edje_object_part_text_input_panel_imdata_set(Evas_Object *obj, const char *part, const void *data, int len);
2896
2897/**
2898 * Get the specific data of the current active input panel.
2899 *
2900 * @param obj A valid Evas_Object handle
2901 * @param part The part name
2902 * @param data The specific data to be got from the input panel
2903 * @param len The length of data
2904 * @since 1.2.0
2905 */
2906EAPI void edje_object_part_text_input_panel_imdata_get(const Evas_Object *obj, const char *part, void *data, int *len);
2907
2908/**
2909 * Set the "return" key type. This type is used to set string or icon on the "return" key of the input panel.
2910 *
2911 * An input panel displays the string or icon associated with this type
2912 *
2913 * @param obj A valid Evas_Object handle
2914 * @param part The part name
2915 * @param return_key_type The type of "return" key on the input panel
2916 * @since 1.2.0
2917 */
2918EAPI void edje_object_part_text_input_panel_return_key_type_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type);
2919
2920/**
2921 * Get the "return" key type.
2922 *
2923 * @see edje_object_part_text_input_panel_return_key_type_set() for more details
2924 *
2925 * @param obj A valid Evas_Object handle
2926 * @param part The part name
2927 * @return The type of "return" key on the input panel
2928 * @since 1.2.0
2929 */
2930EAPI Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get(const Evas_Object *obj, const char *part);
2931
2932/**
2933 * Set the return key on the input panel to be disabled.
2934 *
2935 * @param obj A valid Evas_Object handle
2936 * @param part The part name
2937 * @param disabled The state
2938 * @since 1.2.0
2939 */
2940EAPI void edje_object_part_text_input_panel_return_key_disabled_set(Evas_Object *obj, const char *part, Eina_Bool disabled);
2941
2942/**
2943 * Get whether the return key on the input panel should be disabled or not.
2944 *
2945 * @param obj A valid Evas_Object handle
2946 * @param part The part name
2947 * @return EINA_TRUE if it should be disabled
2948 * @since 1.2.0
2949 */
2950EAPI Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get(const Evas_Object *obj, const char *part);
2951
2952/**
2885 * Add a filter function for newly inserted text. 2953 * Add a filter function for newly inserted text.
2886 * 2954 *
2887 * Whenever text is inserted (not the same as set) into the given @p part, 2955 * Whenever text is inserted (not the same as set) into the given @p part,
@@ -2897,8 +2965,20 @@ EAPI Eina_Bool edje_object_part_text_input_panel_enabled_get (const Evas_
2897 * will make Edje break out of the filter cycle and reject the inserted 2965 * will make Edje break out of the filter cycle and reject the inserted
2898 * text. 2966 * text.
2899 * 2967 *
2968 * @warning This function will be deprecated because of difficulty in use.
2969 * The type(format, text, or markup) of text should be always
2970 * checked in the filter function for correct filtering.
2971 * Please use edje_object_text_markup_filter_callback_add() instead. There
2972 * is no need to check the type of text in the filter function
2973 * because the text is always markup.
2974 * @warning If you use this function with
2975 * edje_object_text_markup_filter_callback_add() together, all
2976 * Edje_Text_Filter_Cb functions and Edje_Markup_Filter_Cb functions
2977 * will be executed, and then filtered text will be inserted.
2978 *
2900 * @see edje_object_text_insert_filter_callback_del 2979 * @see edje_object_text_insert_filter_callback_del
2901 * @see edje_object_text_insert_filter_callback_del_full 2980 * @see edje_object_text_insert_filter_callback_del_full
2981 * @see edje_object_text_markup_filter_callback_add
2902 * 2982 *
2903 * @param obj A valid Evas_Object handle 2983 * @param obj A valid Evas_Object handle
2904 * @param part The part name 2984 * @param part The part name
@@ -2920,7 +3000,7 @@ EAPI void edje_object_text_insert_filter_callback_add (Evas_Ob
2920 * @param part The part name 3000 * @param part The part name
2921 * @param func The function callback to remove 3001 * @param func The function callback to remove
2922 * 3002 *
2923 * @return The user data pointer if succesful, or NULL otherwise 3003 * @return The user data pointer if successful, or NULL otherwise
2924 */ 3004 */
2925EAPI void *edje_object_text_insert_filter_callback_del (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func); 3005EAPI void *edje_object_text_insert_filter_callback_del (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func);
2926 3006
@@ -2939,11 +3019,82 @@ EAPI void *edje_object_text_insert_filter_callback_del (Evas_Ob
2939 * @param func The function callback to remove 3019 * @param func The function callback to remove
2940 * @param data The data passed to the callback function 3020 * @param data The data passed to the callback function
2941 * 3021 *
2942 * @return The same data pointer if succesful, or NULL otherwise 3022 * @return The same data pointer if successful, or NULL otherwise
2943 */ 3023 */
2944EAPI void *edje_object_text_insert_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); 3024EAPI void *edje_object_text_insert_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data);
2945 3025
2946/** 3026/**
3027 * Add a markup filter function for newly inserted text.
3028 *
3029 * Whenever text is inserted (not the same as set) into the given @p part,
3030 * the list of markup filter functions will be called to decide if and how
3031 * the new text will be accepted.
3032 * The text parameter in the @p func filter is always markup. It can be
3033 * modified by the user and it's up to him to free the one passed if he's to
3034 * change the pointer. If doing so, the newly set text should be malloc'ed,
3035 * as once all the filters are called Edje will free it.
3036 * If the text is to be rejected, freeing it and setting the pointer to NULL
3037 * will make Edje break out of the filter cycle and reject the inserted
3038 * text.
3039 * This function is different from edje_object_text_insert_filter_callback_add()
3040 * in that the text parameter in the @p fucn filter is always markup.
3041 *
3042 * @warning If you use this function with
3043 * edje_object_text_insert_filter_callback_add() togehter, all
3044 * Edje_Text_Filter_Cb functions and Edje_Markup_Filter_Cb functions
3045 * will be executed, and then filtered text will be inserted.
3046 *
3047 * @see edje_object_text_markup_filter_callback_del
3048 * @see edje_object_text_markup_filter_callback_del_full
3049 * @see edje_object_text_insert_filter_callback_add
3050 *
3051 * @param obj A valid Evas_Object handle
3052 * @param part The part name
3053 * @param func The callback function that will act as markup filter
3054 * @param data User provided data to pass to the filter function
3055 * @since 1.2.0
3056 */
3057EAPI void edje_object_text_markup_filter_callback_add(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data);
3058
3059/**
3060 * Delete a function from the markup filter list.
3061 *
3062 * Delete the given @p func filter from the list in @p part. Returns
3063 * the user data pointer given when added.
3064 *
3065 * @see edje_object_text_markup_filter_callback_add
3066 * @see edje_object_text_markup_filter_callback_del_full
3067 *
3068 * @param obj A valid Evas_Object handle
3069 * @param part The part name
3070 * @param func The function callback to remove
3071 *
3072 * @return The user data pointer if successful, or NULL otherwise
3073 * @since 1.2.0
3074 */
3075EAPI void *edje_object_text_markup_filter_callback_del(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func);
3076
3077/**
3078 * Delete a function and matching user data from the markup filter list.
3079 *
3080 * Delete the given @p func filter and @p data user data from the list
3081 * in @p part.
3082 * Returns the user data pointer given when added.
3083 *
3084 * @see edje_object_text_markup_filter_callback_add
3085 * @see edje_object_text_markup_filter_callback_del
3086 *
3087 * @param obj A valid Evas_Object handle
3088 * @param part The part name
3089 * @param func The function callback to remove
3090 * @param data The data passed to the callback function
3091 *
3092 * @return The same data pointer if successful, or NULL otherwise
3093 * @since 1.2.0
3094 */
3095EAPI void *edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data);
3096
3097/**
2947 * @brief Swallows an object into the edje. 3098 * @brief Swallows an object into the edje.
2948 * 3099 *
2949 * @param obj A valid Evas_Object handle 3100 * @param obj A valid Evas_Object handle
@@ -3244,7 +3395,7 @@ EAPI Eina_Bool edje_object_part_external_param_set (Evas_Ob
3244 * 3395 *
3245 * Parts of type external may carry extra properties that have 3396 * Parts of type external may carry extra properties that have
3246 * meanings defined by the external plugin. For instance, it may be a 3397 * meanings defined by the external plugin. For instance, it may be a
3247 * string that defines a button label. This property can be modifed by 3398 * string that defines a button label. This property can be modified by
3248 * state parameters, by explicit calls to 3399 * state parameters, by explicit calls to
3249 * edje_object_part_external_param_set() or getting the actual object 3400 * edje_object_part_external_param_set() or getting the actual object
3250 * with edje_object_part_external_object_get() and calling native 3401 * with edje_object_part_external_object_get() and calling native
@@ -3850,8 +4001,8 @@ EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char
3850 * This sets the parameters of the perspective transformation. X, Y and Z 4001 * This sets the parameters of the perspective transformation. X, Y and Z
3851 * values are used. The px and py points specify the "infinite distance" point 4002 * values are used. The px and py points specify the "infinite distance" point
3852 * in the 3D conversion (where all lines converge to like when artists draw 4003 * in the 3D conversion (where all lines converge to like when artists draw
3853 * 3D by hand). The @p z0 value specifis the z value at which there is a 1:1 4004 * 3D by hand). The @p z0 value specifies the z value at which there is a 1:1
3854 * mapping between spatial coorinates and screen coordinates. Any points 4005 * mapping between spatial coordinates and screen coordinates. Any points
3855 * on this z value will not have their X and Y values modified in the transform. 4006 * on this z value will not have their X and Y values modified in the transform.
3856 * Those further away (Z value higher) will shrink into the distance, and 4007 * Those further away (Z value higher) will shrink into the distance, and
3857 * those less than this value will expand and become bigger. The @p foc value 4008 * those less than this value will expand and become bigger. The @p foc value
@@ -3861,8 +4012,8 @@ EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char
3861 * control and @p foc must be greater than 0. 4012 * control and @p foc must be greater than 0.
3862 * 4013 *
3863 * @param m map to change. 4014 * @param m map to change.
3864 * @param px The pespective distance X coordinate 4015 * @param px The perspective distance X coordinate
3865 * @param py The pespective distance Y coordinate 4016 * @param py The perspective distance Y coordinate
3866 * @param z0 The "0" z plane value 4017 * @param z0 The "0" z plane value
3867 * @param foc The focal distance 4018 * @param foc The focal distance
3868 */ 4019 */
diff --git a/libraries/edje/src/lib/Makefile.in b/libraries/edje/src/lib/Makefile.in
index e67d90c..cf73390 100644
--- a/libraries/edje/src/lib/Makefile.in
+++ b/libraries/edje/src/lib/Makefile.in
@@ -230,6 +230,8 @@ PACKAGE_URL = @PACKAGE_URL@
230PACKAGE_VERSION = @PACKAGE_VERSION@ 230PACKAGE_VERSION = @PACKAGE_VERSION@
231PATH_SEPARATOR = @PATH_SEPARATOR@ 231PATH_SEPARATOR = @PATH_SEPARATOR@
232PKG_CONFIG = @PKG_CONFIG@ 232PKG_CONFIG = @PKG_CONFIG@
233PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
234PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
233PYTHON = @PYTHON@ 235PYTHON = @PYTHON@
234PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 236PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
235PYTHON_PLATFORM = @PYTHON_PLATFORM@ 237PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/lib/edje_cache.c b/libraries/edje/src/lib/edje_cache.c
index 0ce6b30..02d16b5 100644
--- a/libraries/edje/src/lib/edje_cache.c
+++ b/libraries/edje/src/lib/edje_cache.c
@@ -76,12 +76,16 @@ _edje_file_coll_open(Edje_File *edf, const char *coll)
76 edc->references = 1; 76 edc->references = 1;
77 edc->part = ce->entry; 77 edc->part = ce->entry;
78 78
79 /* For Edje file build with Edje 1.0, people expect text.align to be 0.0 0.0 */ 79 /* For Edje file build with Edje 1.0 */
80 if (edf->version <= 3 && edf->minor <= 1) 80 if (edf->version <= 3 && edf->minor <= 1)
81 { 81 {
82 /* This will preserve previous rendering */ 82 /* This will preserve previous rendering */
83 unsigned int i; 83 unsigned int i;
84 84
85 /* people expect signal to not be broadcasted */
86 edc->broadcast_signal = EINA_FALSE;
87
88 /* people expect text.align to be 0.0 0.0 */
85 for (i = 0; i < edc->parts_count; ++i) 89 for (i = 0; i < edc->parts_count; ++i)
86 { 90 {
87 if (edc->parts[i]->type == EDJE_PART_TYPE_TEXTBLOCK) 91 if (edc->parts[i]->type == EDJE_PART_TYPE_TEXTBLOCK)
diff --git a/libraries/edje/src/lib/edje_calc.c b/libraries/edje/src/lib/edje_calc.c
index 213e266..6aa6336 100644
--- a/libraries/edje/src/lib/edje_calc.c
+++ b/libraries/edje/src/lib/edje_calc.c
@@ -66,7 +66,7 @@ _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, FLOAT_T pos, FLOAT_T
66 break; 66 break;
67 case EDJE_TWEEN_MODE_DECELERATE: 67 case EDJE_TWEEN_MODE_DECELERATE:
68 npos = FROM_DOUBLE(ecore_animator_pos_map(TO_DOUBLE(pos), 68 npos = FROM_DOUBLE(ecore_animator_pos_map(TO_DOUBLE(pos),
69 ECORE_POS_MAP_DECELERATE, 69 ECORE_POS_MAP_DECELERATE,
70 0.0, 0.0)); 70 0.0, 0.0));
71 break; 71 break;
72 case EDJE_TWEEN_MODE_LINEAR: 72 case EDJE_TWEEN_MODE_LINEAR:
@@ -110,7 +110,7 @@ _edje_part_pos_set(Edje *ed, Edje_Real_Part *ep, int mode, FLOAT_T pos, FLOAT_T
110 npos = fp_pos; 110 npos = fp_pos;
111 break; 111 break;
112 } 112 }
113#endif 113#endif
114 if (npos == ep->description_pos) return; 114 if (npos == ep->description_pos) return;
115 115
116 ep->description_pos = npos; 116 ep->description_pos = npos;
@@ -564,7 +564,7 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
564 564
565 _edje_real_part_rel_to_apply(ed, ep, ep->param2); 565 _edje_real_part_rel_to_apply(ed, ep, ep->param2);
566 566
567 if (ep->description_pos != 0.0) 567 if (ep->description_pos > FROM_DOUBLE(0.0))
568 ep->chosen_description = epd2; 568 ep->chosen_description = epd2;
569 } 569 }
570 570
@@ -572,6 +572,7 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
572 ep->part->type == EDJE_PART_TYPE_EXTERNAL) 572 ep->part->type == EDJE_PART_TYPE_EXTERNAL)
573 _edje_external_recalc_apply(ed, ep, NULL, chosen_desc); 573 _edje_external_recalc_apply(ed, ep, NULL, chosen_desc);
574 574
575 ed->recalc_hints = 1;
575 ed->dirty = 1; 576 ed->dirty = 1;
576 ed->recalc_call = 1; 577 ed->recalc_call = 1;
577#ifdef EDJE_CALC_CACHE 578#ifdef EDJE_CALC_CACHE
@@ -650,6 +651,16 @@ _edje_recalc_do(Edje *ed)
650 else 651 else
651 evas_object_smart_need_recalculate_set(ed->obj, need_calc); 652 evas_object_smart_need_recalculate_set(ed->obj, need_calc);
652 ed->recalc_call = 0; 653 ed->recalc_call = 0;
654
655 if (ed->update_hints && ed->recalc_hints && !ed->calc_only)
656 {
657 Evas_Coord w, h;
658
659 ed->recalc_hints = 0;
660
661 edje_object_size_min_calc(ed->obj, &w, &h);
662 evas_object_size_hint_min_set(ed->obj, w, h);
663 }
653} 664}
654 665
655void 666void
@@ -1746,7 +1757,6 @@ _edje_part_recalc_single_min_max(FLOAT_T sc,
1746 } 1757 }
1747 } 1758 }
1748 1759
1749
1750 /* XXX TODO: remove need of EDJE_INF_MAX_H, see edje_util.c */ 1760 /* XXX TODO: remove need of EDJE_INF_MAX_H, see edje_util.c */
1751 if ((ep->swallow_params.max.h <= 0) || 1761 if ((ep->swallow_params.max.h <= 0) ||
1752 (ep->swallow_params.max.h == EDJE_INF_MAX_H)) 1762 (ep->swallow_params.max.h == EDJE_INF_MAX_H))
@@ -1810,9 +1820,9 @@ _edje_part_recalc_single_map(Edje *ed,
1810 } 1820 }
1811 params->map.center.z = 0; 1821 params->map.center.z = 0;
1812 1822
1813 params->map.rotation.x = TO_DOUBLE(desc->map.rot.x); 1823 params->map.rotation.x = desc->map.rot.x;
1814 params->map.rotation.y = TO_DOUBLE(desc->map.rot.y); 1824 params->map.rotation.y = desc->map.rot.y;
1815 params->map.rotation.z = TO_DOUBLE(desc->map.rot.z); 1825 params->map.rotation.z = desc->map.rot.z;
1816 1826
1817 if (light) 1827 if (light)
1818 { 1828 {
@@ -1907,7 +1917,7 @@ _edje_part_recalc_single(Edje *ed,
1907 sc = ed->scale; 1917 sc = ed->scale;
1908 if (sc == ZERO) sc = _edje_scale; 1918 if (sc == ZERO) sc = _edje_scale;
1909 _edje_part_recalc_single_min_max(sc, ep, desc, &minw, &minh, &maxw, &maxh); 1919 _edje_part_recalc_single_min_max(sc, ep, desc, &minw, &minh, &maxw, &maxh);
1910 1920
1911 /* relative coords of top left & bottom right */ 1921 /* relative coords of top left & bottom right */
1912 _edje_part_recalc_single_rel(ed, ep, desc, rel1_to_x, rel1_to_y, rel2_to_x, rel2_to_y, params); 1922 _edje_part_recalc_single_rel(ed, ep, desc, rel1_to_x, rel1_to_y, rel2_to_x, rel2_to_y, params);
1913 1923
@@ -1959,6 +1969,29 @@ _edje_part_recalc_single(Edje *ed,
1959 if (lminh > minh) minh = lminh; 1969 if (lminh > minh) minh = lminh;
1960 } 1970 }
1961 } 1971 }
1972 else if ((ep->part->type == EDJE_PART_TYPE_IMAGE) &&
1973 (chosen_desc->min.limit || chosen_desc->max.limit))
1974 {
1975 Evas_Coord w, h;
1976
1977 /* We only need pos to find the right image that would be displayed */
1978 /* Yes, if someone set aspect preference to SOURCE and also max,min
1979 to SOURCE, it will be under efficient, but who cares at the
1980 moment. */
1981 _edje_real_part_image_set(ed, ep, pos);
1982 evas_object_image_size_get(ep->object, &w, &h);
1983
1984 if (chosen_desc->min.limit)
1985 {
1986 if (w > minw) minw = w;
1987 if (h > minh) minh = h;
1988 }
1989 if (chosen_desc->max.limit)
1990 {
1991 if ((maxw <= 0) || (w < maxw)) maxw = w;
1992 if ((maxh <= 0) || (h < maxh)) maxh = h;
1993 }
1994 }
1962 1995
1963 /* remember what our size is BEFORE we go limit it */ 1996 /* remember what our size is BEFORE we go limit it */
1964 params->req.x = params->x; 1997 params->req.x = params->x;
@@ -2259,6 +2292,23 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
2259#endif 2292#endif
2260 return; 2293 return;
2261 } 2294 }
2295
2296 if (ep->part->scale &&
2297 ep->part->type == EDJE_PART_TYPE_GROUP &&
2298 ep->swallowed_object)
2299 {
2300 edje_object_scale_set(ep->swallowed_object, TO_DOUBLE(ed->scale));
2301
2302 if (ep->description_pos > FROM_DOUBLE(0.5) && ep->param2)
2303 {
2304 edje_object_update_hints_set(ep->swallowed_object, ep->param2->description->min.limit);
2305 }
2306 else
2307 {
2308 edje_object_update_hints_set(ep->swallowed_object, ep->param1.description->min.limit);
2309 }
2310 }
2311
2262#ifdef EDJE_CALC_CACHE 2312#ifdef EDJE_CALC_CACHE
2263 if (ep->state == ed->state && !state) 2313 if (ep->state == ed->state && !state)
2264 return ; 2314 return ;
@@ -2426,7 +2476,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
2426 p1, pos); 2476 p1, pos);
2427 2477
2428#ifdef EDJE_CALC_CACHE 2478#ifdef EDJE_CALC_CACHE
2429 ep->param1.state = ed->state; 2479 if (flags == FLAG_XY)
2480 ep->param1.state = ed->state;
2430#endif 2481#endif
2431 } 2482 }
2432 } 2483 }
@@ -2478,7 +2529,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
2478 confine_to, 2529 confine_to,
2479 p2, pos); 2530 p2, pos);
2480#ifdef EDJE_CALC_CACHE 2531#ifdef EDJE_CALC_CACHE
2481 ep->param2->state = ed->state; 2532 if (flags == FLAG_XY)
2533 ep->param2->state = ed->state;
2482#endif 2534#endif
2483 } 2535 }
2484 2536
@@ -2806,7 +2858,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
2806 } 2858 }
2807 2859
2808 evas_map_util_3d_rotate(map, 2860 evas_map_util_3d_rotate(map,
2809 pf->map.rotation.x, pf->map.rotation.y, pf->map.rotation.z, 2861 TO_DOUBLE(pf->map.rotation.x), TO_DOUBLE(pf->map.rotation.y), TO_DOUBLE(pf->map.rotation.z),
2810 pf->map.center.x, pf->map.center.y, pf->map.center.z); 2862 pf->map.center.x, pf->map.center.y, pf->map.center.z);
2811 2863
2812 // calculate light color & position etc. if there is one 2864 // calculate light color & position etc. if there is one
diff --git a/libraries/edje/src/lib/edje_data.c b/libraries/edje/src/lib/edje_data.c
index 32b17b6..46fd521 100644
--- a/libraries/edje/src/lib/edje_data.c
+++ b/libraries/edje/src/lib/edje_data.c
@@ -456,8 +456,10 @@ _edje_edd_init(void)
456 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "minmul.h", minmul.h, EDJE_T_FLOAT); \ 456 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "minmul.h", minmul.h, EDJE_T_FLOAT); \
457 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "min.w", min.w, EET_T_INT); \ 457 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "min.w", min.w, EET_T_INT); \
458 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "min.h", min.h, EET_T_INT); \ 458 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "min.h", min.h, EET_T_INT); \
459 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "min.limit", min.limit, EET_T_UCHAR); \
459 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "max.w", max.w, EET_T_INT); \ 460 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "max.w", max.w, EET_T_INT); \
460 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "max.h", max.h, EET_T_INT); \ 461 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "max.h", max.h, EET_T_INT); \
462 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "max.limit", max.limit, EET_T_UCHAR); \
461 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "step.x", step.x, EET_T_INT); \ 463 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "step.x", step.x, EET_T_INT); \
462 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "step.y", step.y, EET_T_INT); \ 464 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "step.y", step.y, EET_T_INT); \
463 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "aspect.min", aspect.min, EDJE_T_FLOAT); \ 465 EET_DATA_DESCRIPTOR_ADD_BASIC(Edd, Type, "aspect.min", aspect.min, EDJE_T_FLOAT); \
@@ -877,4 +879,5 @@ _edje_edd_init(void)
877 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "script_only", script_only, EET_T_UCHAR); 879 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "script_only", script_only, EET_T_UCHAR);
878 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "lua_script_only", lua_script_only, EET_T_UCHAR); 880 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "lua_script_only", lua_script_only, EET_T_UCHAR);
879 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "prop.orientation", prop.orientation, EET_T_INT); 881 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "prop.orientation", prop.orientation, EET_T_INT);
882 EET_DATA_DESCRIPTOR_ADD_BASIC(_edje_edd_edje_part_collection, Edje_Part_Collection, "broadcast_signal", broadcast_signal, EET_T_UCHAR);
880} 883}
diff --git a/libraries/edje/src/lib/edje_entry.c b/libraries/edje/src/lib/edje_entry.c
index 563497d..f94883f 100644
--- a/libraries/edje/src/lib/edje_entry.c
+++ b/libraries/edje/src/lib/edje_entry.c
@@ -12,7 +12,6 @@ typedef struct _Sel Sel;
12typedef struct _Anchor Anchor; 12typedef struct _Anchor Anchor;
13 13
14static void _edje_entry_imf_cursor_info_set(Entry *en); 14static void _edje_entry_imf_cursor_info_set(Entry *en);
15static void _edje_entry_imf_context_reset(Entry *en);
16 15
17struct _Entry 16struct _Entry
18{ 17{
@@ -29,12 +28,15 @@ struct _Entry
29 Eina_List *anchorlist; 28 Eina_List *anchorlist;
30 Eina_List *itemlist; 29 Eina_List *itemlist;
31 char *selection; 30 char *selection;
31 Edje_Input_Panel_Lang input_panel_lang;
32 Eina_Bool selecting : 1; 32 Eina_Bool selecting : 1;
33 Eina_Bool have_selection : 1; 33 Eina_Bool have_selection : 1;
34 Eina_Bool select_allow : 1; 34 Eina_Bool select_allow : 1;
35 Eina_Bool select_mod_start : 1; 35 Eina_Bool select_mod_start : 1;
36 Eina_Bool select_mod_end : 1; 36 Eina_Bool select_mod_end : 1;
37 Eina_Bool had_sel : 1; 37 Eina_Bool had_sel : 1;
38 Eina_Bool input_panel_enable : 1;
39 Eina_Bool prediction_allow : 1;
38 40
39#ifdef HAVE_ECORE_IMF 41#ifdef HAVE_ECORE_IMF
40 Eina_Bool have_preedit : 1; 42 Eina_Bool have_preedit : 1;
@@ -179,6 +181,27 @@ _edje_focus_out_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
179} 181}
180 182
181static void 183static void
184_text_filter_markup_prepend_internal(Entry *en, Evas_Textblock_Cursor *c, char *text)
185{
186 Edje_Markup_Filter_Callback *cb;
187 Eina_List *l;
188
189 EINA_LIST_FOREACH(en->rp->edje->markup_filter_callbacks, l, cb)
190 {
191 if (!strcmp(cb->part, en->rp->part->name))
192 {
193 cb->func(cb->data, en->rp->edje->obj, cb->part, &text);
194 if (!text) break;
195 }
196 }
197 if (text)
198 {
199 evas_object_textblock_text_markup_prepend(c, text);
200 free(text);
201 }
202}
203
204static void
182_text_filter_text_prepend(Entry *en, Evas_Textblock_Cursor *c, const char *text) 205_text_filter_text_prepend(Entry *en, Evas_Textblock_Cursor *c, const char *text)
183{ 206{
184 char *text2; 207 char *text2;
@@ -196,8 +219,11 @@ _text_filter_text_prepend(Entry *en, Evas_Textblock_Cursor *c, const char *text)
196 } 219 }
197 if (text2) 220 if (text2)
198 { 221 {
199 evas_textblock_cursor_text_prepend(c, text2); 222 char *markup_text;
223 markup_text = evas_textblock_text_utf8_to_markup(NULL, text2);
200 free(text2); 224 free(text2);
225 if (markup_text)
226 _text_filter_markup_prepend_internal(en, c, markup_text);
201 } 227 }
202} 228}
203 229
@@ -219,8 +245,61 @@ _text_filter_format_prepend(Entry *en, Evas_Textblock_Cursor *c, const char *tex
219 } 245 }
220 if (text2) 246 if (text2)
221 { 247 {
222 evas_textblock_cursor_format_prepend(c, text2); 248 char *s, *markup_text;
249
250 s = text2;
251 if (*s == '+')
252 {
253 s++;
254 while (*s == ' ') s++;
255 if (!s)
256 {
257 free(text2);
258 return;
259 }
260 markup_text = (char*) malloc(strlen(s) + 3);
261 if (markup_text)
262 {
263 *(markup_text) = '<';
264 strncpy((markup_text + 1), s, strlen(s));
265 *(markup_text + strlen(s) + 1) = '>';
266 *(markup_text + strlen(s) + 2) = '\0';
267 }
268 }
269 else if (s[0] == '-')
270 {
271 s++;
272 while (*s == ' ') s++;
273 if (!s)
274 {
275 free(text2);
276 return;
277 }
278 markup_text = (char*) malloc(strlen(s) + 4);
279 if (markup_text)
280 {
281 *(markup_text) = '<';
282 *(markup_text + 1) = '/';
283 strncpy((markup_text + 2), s, strlen(s));
284 *(markup_text + strlen(s) + 2) = '>';
285 *(markup_text + strlen(s) + 3) = '\0';
286 }
287 }
288 else
289 {
290 markup_text = (char*) malloc(strlen(s) + 4);
291 if (markup_text)
292 {
293 *(markup_text) = '<';
294 strncpy((markup_text + 1), s, strlen(s));
295 *(markup_text + strlen(s) + 1) = '/';
296 *(markup_text + strlen(s) + 2) = '>';
297 *(markup_text + strlen(s) + 3) = '\0';
298 }
299 }
223 free(text2); 300 free(text2);
301 if (markup_text)
302 _text_filter_markup_prepend_internal(en, c, markup_text);
224 } 303 }
225} 304}
226 305
@@ -241,10 +320,7 @@ _text_filter_markup_prepend(Entry *en, Evas_Textblock_Cursor *c, const char *tex
241 } 320 }
242 } 321 }
243 if (text2) 322 if (text2)
244 { 323 _text_filter_markup_prepend_internal(en, c, text2);
245 evas_object_textblock_text_markup_prepend(c, text2);
246 free(text2);
247 }
248} 324}
249 325
250static void 326static void
@@ -397,7 +473,7 @@ static void
397_sel_extend(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en) 473_sel_extend(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
398{ 474{
399 if (!en->sel_end) return; 475 if (!en->sel_end) return;
400 _edje_entry_imf_context_reset(en); 476 _edje_entry_imf_context_reset(en->rp);
401 _sel_enable(c, o, en); 477 _sel_enable(c, o, en);
402 if (!evas_textblock_cursor_compare(c, en->sel_end)) return; 478 if (!evas_textblock_cursor_compare(c, en->sel_end)) return;
403 evas_textblock_cursor_copy(c, en->sel_end); 479 evas_textblock_cursor_copy(c, en->sel_end);
@@ -413,7 +489,7 @@ static void
413_sel_preextend(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en) 489_sel_preextend(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
414{ 490{
415 if (!en->sel_end) return; 491 if (!en->sel_end) return;
416 _edje_entry_imf_context_reset(en); 492 _edje_entry_imf_context_reset(en->rp);
417 _sel_enable(c, o, en); 493 _sel_enable(c, o, en);
418 if (!evas_textblock_cursor_compare(c, en->sel_start)) return; 494 if (!evas_textblock_cursor_compare(c, en->sel_start)) return;
419 evas_textblock_cursor_copy(c, en->sel_start); 495 evas_textblock_cursor_copy(c, en->sel_start);
@@ -882,7 +958,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
882 char *p; 958 char *p;
883 an = calloc(1, sizeof(Anchor)); 959 an = calloc(1, sizeof(Anchor));
884 if (!an) 960 if (!an)
885 break; 961 break;
886 962
887 an->en = en; 963 an->en = en;
888 p = strstr(s, "href="); 964 p = strstr(s, "href=");
@@ -903,7 +979,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
903 { 979 {
904 s = evas_textblock_node_format_text_get(node); 980 s = evas_textblock_node_format_text_get(node);
905 if ((!strcmp(s, "- a")) || (!strcmp(s, "-a"))) 981 if ((!strcmp(s, "- a")) || (!strcmp(s, "-a")))
906 break; 982 break;
907 } 983 }
908 984
909 if (node) 985 if (node)
@@ -932,7 +1008,7 @@ _anchors_get(Evas_Textblock_Cursor *c, Evas_Object *o, Entry *en)
932 char *p; 1008 char *p;
933 an = calloc(1, sizeof(Anchor)); 1009 an = calloc(1, sizeof(Anchor));
934 if (!an) 1010 if (!an)
935 break; 1011 break;
936 1012
937 an->en = en; 1013 an->en = en;
938 an->item = 1; 1014 an->item = 1;
@@ -986,12 +1062,14 @@ _range_del_emit(Edje *ed, Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o __
986 _edje_emit(ed, "entry,changed", en->rp->part->name); 1062 _edje_emit(ed, "entry,changed", en->rp->part->name);
987 _edje_emit_full(ed, "entry,changed,user", en->rp->part->name, info, 1063 _edje_emit_full(ed, "entry,changed,user", en->rp->part->name, info,
988 _free_entry_change_info); 1064 _free_entry_change_info);
1065 _sel_clear(en->cursor, en->rp->object, en);
989} 1066}
990 1067
991static void 1068static void
992_range_del(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o __UNUSED__, Entry *en) 1069_range_del(Evas_Textblock_Cursor *c __UNUSED__, Evas_Object *o __UNUSED__, Entry *en)
993{ 1070{
994 evas_textblock_cursor_range_delete(en->sel_start, en->sel_end); 1071 evas_textblock_cursor_range_delete(en->sel_start, en->sel_end);
1072 _sel_clear(en->cursor, en->rp->object, en);
995} 1073}
996 1074
997static void 1075static void
@@ -1041,7 +1119,7 @@ _edje_entry_hide_visible_password(Edje_Real_Part *rp)
1041 if (!strcmp(text, "+ password=off")) 1119 if (!strcmp(text, "+ password=off"))
1042 { 1120 {
1043 evas_textblock_node_format_remove_pair(rp->object, 1121 evas_textblock_node_format_remove_pair(rp->object,
1044 (Evas_Object_Textblock_Node_Format *) node); 1122 (Evas_Object_Textblock_Node_Format *) node);
1045 break; 1123 break;
1046 } 1124 }
1047 } 1125 }
@@ -1075,7 +1153,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1075 if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) || 1153 if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) ||
1076 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_EDITABLE)) 1154 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_EDITABLE))
1077 return; 1155 return;
1078 if (!ev->key) return; 1156 if (!ev->keyname) return;
1079 1157
1080#ifdef HAVE_ECORE_IMF 1158#ifdef HAVE_ECORE_IMF
1081 if (en->imf_context) 1159 if (en->imf_context)
@@ -1089,9 +1167,9 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1089 } 1167 }
1090#endif 1168#endif
1091 1169
1092 if ((!strcmp(ev->key, "Escape")) || 1170 if ((!strcmp(ev->keyname, "Escape")) ||
1093 (!strcmp(ev->key, "Return")) || (!strcmp(ev->key, "KP_Enter"))) 1171 (!strcmp(ev->keyname, "Return")) || (!strcmp(ev->keyname, "KP_Enter")))
1094 _edje_entry_imf_context_reset(en); 1172 _edje_entry_imf_context_reset(rp);
1095 1173
1096 old_cur_pos = evas_textblock_cursor_pos_get(en->cursor); 1174 old_cur_pos = evas_textblock_cursor_pos_get(en->cursor);
1097 1175
@@ -1100,13 +1178,13 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1100 shift = evas_key_modifier_is_set(ev->modifiers, "Shift"); 1178 shift = evas_key_modifier_is_set(ev->modifiers, "Shift");
1101 multiline = rp->part->multiline; 1179 multiline = rp->part->multiline;
1102 cursor_changed = EINA_FALSE; 1180 cursor_changed = EINA_FALSE;
1103 if (!strcmp(ev->key, "Escape")) 1181 if (!strcmp(ev->keyname, "Escape"))
1104 { 1182 {
1105 // dead keys here. Escape for now (should emit these) 1183 // dead keys here. Escape for now (should emit these)
1106 _edje_emit(ed, "entry,key,escape", rp->part->name); 1184 _edje_emit(ed, "entry,key,escape", rp->part->name);
1107 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1185 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1108 } 1186 }
1109 else if (!strcmp(ev->key, "Up") || !strcmp(ev->key, "KP_Up")) 1187 else if (!strcmp(ev->keyname, "Up") || !strcmp(ev->keyname, "KP_Up"))
1110 { 1188 {
1111 if (multiline) 1189 if (multiline)
1112 { 1190 {
@@ -1119,14 +1197,14 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1119 if (en->select_allow) 1197 if (en->select_allow)
1120 { 1198 {
1121 if (shift) _sel_extend(en->cursor, rp->object, en); 1199 if (shift) _sel_extend(en->cursor, rp->object, en);
1200 else _sel_clear(en->cursor, rp->object, en);
1122 } 1201 }
1123 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1202 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1124 } 1203 }
1125 _sel_clear(en->cursor, rp->object, en);
1126 _edje_emit(ed, "entry,key,up", rp->part->name); 1204 _edje_emit(ed, "entry,key,up", rp->part->name);
1127 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name); 1205 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
1128 } 1206 }
1129 else if (!strcmp(ev->key, "Down") || !strcmp(ev->key, "KP_Down")) 1207 else if (!strcmp(ev->keyname, "Down") || !strcmp(ev->keyname, "KP_Down"))
1130 { 1208 {
1131 if (multiline) 1209 if (multiline)
1132 { 1210 {
@@ -1139,14 +1217,14 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1139 if (en->select_allow) 1217 if (en->select_allow)
1140 { 1218 {
1141 if (shift) _sel_extend(en->cursor, rp->object, en); 1219 if (shift) _sel_extend(en->cursor, rp->object, en);
1220 else _sel_clear(en->cursor, rp->object, en);
1142 } 1221 }
1143 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1222 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1144 } 1223 }
1145 _sel_clear(en->cursor, rp->object, en);
1146 _edje_emit(ed, "entry,key,down", rp->part->name); 1224 _edje_emit(ed, "entry,key,down", rp->part->name);
1147 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name); 1225 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
1148 } 1226 }
1149 else if (!strcmp(ev->key, "Left") || !strcmp(ev->key, "KP_Left")) 1227 else if (!strcmp(ev->keyname, "Left") || !strcmp(ev->keyname, "KP_Left"))
1150 { 1228 {
1151 if (en->select_allow) 1229 if (en->select_allow)
1152 { 1230 {
@@ -1159,13 +1237,13 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1159 if (en->select_allow) 1237 if (en->select_allow)
1160 { 1238 {
1161 if (shift) _sel_extend(en->cursor, rp->object, en); 1239 if (shift) _sel_extend(en->cursor, rp->object, en);
1240 else _sel_clear(en->cursor, rp->object, en);
1162 } 1241 }
1163 _sel_clear(en->cursor, rp->object, en);
1164 _edje_emit(ed, "entry,key,left", rp->part->name); 1242 _edje_emit(ed, "entry,key,left", rp->part->name);
1165 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name); 1243 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
1166 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1244 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1167 } 1245 }
1168 else if (!strcmp(ev->key, "Right") || !strcmp(ev->key, "KP_Right")) 1246 else if (!strcmp(ev->keyname, "Right") || !strcmp(ev->keyname, "KP_Right"))
1169 { 1247 {
1170 if (en->select_allow) 1248 if (en->select_allow)
1171 { 1249 {
@@ -1178,13 +1256,13 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1178 if (en->select_allow) 1256 if (en->select_allow)
1179 { 1257 {
1180 if (shift) _sel_extend(en->cursor, rp->object, en); 1258 if (shift) _sel_extend(en->cursor, rp->object, en);
1259 else _sel_clear(en->cursor, rp->object, en);
1181 } 1260 }
1182 _sel_clear(en->cursor, rp->object, en);
1183 _edje_emit(ed, "entry,key,right", rp->part->name); 1261 _edje_emit(ed, "entry,key,right", rp->part->name);
1184 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name); 1262 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
1185 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1263 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1186 } 1264 }
1187 else if (!strcmp(ev->key, "BackSpace")) 1265 else if (!strcmp(ev->keyname, "BackSpace"))
1188 { 1266 {
1189 if (control && !en->have_selection) 1267 if (control && !en->have_selection)
1190 { 1268 {
@@ -1221,7 +1299,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1221 _edje_emit(ed, "entry,key,backspace", rp->part->name); 1299 _edje_emit(ed, "entry,key,backspace", rp->part->name);
1222 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1300 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1223 } 1301 }
1224 else if (!strcmp(ev->key, "Delete") || !strcmp(ev->key, "KP_Delete")) 1302 else if (!strcmp(ev->keyname, "Delete") || !strcmp(ev->keyname, "KP_Delete"))
1225 { 1303 {
1226 if (control) 1304 if (control)
1227 { 1305 {
@@ -1255,7 +1333,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1255 _edje_emit(ed, "entry,key,delete", rp->part->name); 1333 _edje_emit(ed, "entry,key,delete", rp->part->name);
1256 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1334 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1257 } 1335 }
1258 else if (!strcmp(ev->key, "Home") || !strcmp(ev->key, "KP_Home")) 1336 else if (!strcmp(ev->keyname, "Home") || !strcmp(ev->keyname, "KP_Home"))
1259 { 1337 {
1260 if (en->select_allow) 1338 if (en->select_allow)
1261 { 1339 {
@@ -1273,7 +1351,7 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1273 _edje_emit(ed, "entry,key,home", rp->part->name); 1351 _edje_emit(ed, "entry,key,home", rp->part->name);
1274 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1352 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1275 } 1353 }
1276 else if (!strcmp(ev->key, "End") || !strcmp(ev->key, "KP_End")) 1354 else if (!strcmp(ev->keyname, "End") || !strcmp(ev->keyname, "KP_End"))
1277 { 1355 {
1278 if (en->select_allow) 1356 if (en->select_allow)
1279 { 1357 {
@@ -1291,33 +1369,36 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1291 _edje_emit(ed, "entry,key,end", rp->part->name); 1369 _edje_emit(ed, "entry,key,end", rp->part->name);
1292 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1370 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1293 } 1371 }
1294 else if ((control) && (!strcmp(ev->key, "v"))) 1372 else if ((control) && (!shift) && (!strcmp(ev->keyname, "v")))
1295 { 1373 {
1296 _edje_emit(ed, "entry,paste,request", rp->part->name); 1374 _edje_emit(ed, "entry,paste,request", rp->part->name);
1297 _edje_emit(ed, "entry,paste,request,3", rp->part->name); 1375 _edje_emit(ed, "entry,paste,request,3", rp->part->name);
1298 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1376 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1299 } 1377 }
1300 else if ((control) && (!strcmp(ev->key, "a"))) 1378 else if ((control) && (!strcmp(ev->keyname, "a")))
1301 { 1379 {
1302 _edje_emit(ed, "entry,selection,all,request", rp->part->name); 1380 if (shift)
1303 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1381 {
1304 } 1382 _edje_emit(ed, "entry,selection,none,request", rp->part->name);
1305 else if ((control) && (!strcmp(ev->key, "A"))) 1383 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1306 { 1384 }
1307 _edje_emit(ed, "entry,selection,none,request", rp->part->name); 1385 else
1308 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1386 {
1387 _edje_emit(ed, "entry,selection,all,request", rp->part->name);
1388 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1389 }
1309 } 1390 }
1310 else if ((control) && ((!strcmp(ev->key, "c") || (!strcmp(ev->key, "Insert"))))) 1391 else if ((control) && (((!shift) && !strcmp(ev->keyname, "c")) || !strcmp(ev->keyname, "Insert")))
1311 { 1392 {
1312 _edje_emit(ed, "entry,copy,notify", rp->part->name); 1393 _edje_emit(ed, "entry,copy,notify", rp->part->name);
1313 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1394 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1314 } 1395 }
1315 else if ((control) && ((!strcmp(ev->key, "x") || (!strcmp(ev->key, "m"))))) 1396 else if ((control) && (!shift) && ((!strcmp(ev->keyname, "x") || (!strcmp(ev->keyname, "m")))))
1316 { 1397 {
1317 _edje_emit(ed, "entry,cut,notify", rp->part->name); 1398 _edje_emit(ed, "entry,cut,notify", rp->part->name);
1318 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1399 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1319 } 1400 }
1320 else if ((control) && (!strcmp(ev->key, "z"))) 1401 else if ((control) && (!strcmp(ev->keyname, "z")))
1321 { 1402 {
1322 if (shift) 1403 if (shift)
1323 { 1404 {
@@ -1331,19 +1412,19 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1331 } 1412 }
1332 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1413 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1333 } 1414 }
1334 else if ((control) && (!strcmp(ev->key, "y"))) 1415 else if ((control) && (!shift) && (!strcmp(ev->keyname, "y")))
1335 { 1416 {
1336 // redo 1417 // redo
1337 _edje_emit(ed, "entry,redo,request", rp->part->name); 1418 _edje_emit(ed, "entry,redo,request", rp->part->name);
1338 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1419 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1339 } 1420 }
1340 else if ((control) && (!strcmp(ev->key, "w"))) 1421 else if ((control) && (!shift) && (!strcmp(ev->keyname, "w")))
1341 { 1422 {
1342 _sel_clear(en->cursor, rp->object, en); 1423 _sel_clear(en->cursor, rp->object, en);
1343 // select current word? 1424 // select current word?
1344 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1425 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1345 } 1426 }
1346 else if (!strcmp(ev->key, "Tab")) 1427 else if (!strcmp(ev->keyname, "Tab"))
1347 { 1428 {
1348 if (multiline) 1429 if (multiline)
1349 { 1430 {
@@ -1362,7 +1443,6 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1362 _range_del_emit(ed, en->cursor, rp->object, en); 1443 _range_del_emit(ed, en->cursor, rp->object, en);
1363 info->merge = EINA_TRUE; 1444 info->merge = EINA_TRUE;
1364 } 1445 }
1365 _sel_clear(en->cursor, rp->object, en);
1366 info->change.insert.pos = 1446 info->change.insert.pos =
1367 evas_textblock_cursor_pos_get(en->cursor); 1447 evas_textblock_cursor_pos_get(en->cursor);
1368 info->change.insert.content = eina_stringshare_add("<tab/>"); 1448 info->change.insert.content = eina_stringshare_add("<tab/>");
@@ -1378,12 +1458,12 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1378 } 1458 }
1379 _edje_emit(ed, "entry,key,tab", rp->part->name); 1459 _edje_emit(ed, "entry,key,tab", rp->part->name);
1380 } 1460 }
1381 else if ((!strcmp(ev->key, "ISO_Left_Tab")) && (multiline)) 1461 else if ((!strcmp(ev->keyname, "ISO_Left_Tab")) && (multiline))
1382 { 1462 {
1383 // remove a tab 1463 // remove a tab
1384 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1464 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1385 } 1465 }
1386 else if (!strcmp(ev->key, "Prior") || !strcmp(ev->key, "KP_Prior")) 1466 else if (!strcmp(ev->keyname, "Prior") || !strcmp(ev->keyname, "KP_Prior"))
1387 { 1467 {
1388 if (en->select_allow) 1468 if (en->select_allow)
1389 { 1469 {
@@ -1394,12 +1474,12 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1394 if (en->select_allow) 1474 if (en->select_allow)
1395 { 1475 {
1396 if (shift) _sel_extend(en->cursor, rp->object, en); 1476 if (shift) _sel_extend(en->cursor, rp->object, en);
1477 else _sel_clear(en->cursor, rp->object, en);
1397 } 1478 }
1398 _sel_clear(en->cursor, rp->object, en);
1399 _edje_emit(ed, "entry,key,pgup", rp->part->name); 1479 _edje_emit(ed, "entry,key,pgup", rp->part->name);
1400 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1480 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1401 } 1481 }
1402 else if (!strcmp(ev->key, "Next") || !strcmp(ev->key, "KP_Next")) 1482 else if (!strcmp(ev->keyname, "Next") || !strcmp(ev->keyname, "KP_Next"))
1403 { 1483 {
1404 if (en->select_allow) 1484 if (en->select_allow)
1405 { 1485 {
@@ -1410,12 +1490,12 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1410 if (en->select_allow) 1490 if (en->select_allow)
1411 { 1491 {
1412 if (shift) _sel_extend(en->cursor, rp->object, en); 1492 if (shift) _sel_extend(en->cursor, rp->object, en);
1493 else _sel_clear(en->cursor, rp->object, en);
1413 } 1494 }
1414 _sel_clear(en->cursor, rp->object, en);
1415 _edje_emit(ed, "entry,key,pgdn", rp->part->name); 1495 _edje_emit(ed, "entry,key,pgdn", rp->part->name);
1416 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 1496 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
1417 } 1497 }
1418 else if ((!strcmp(ev->key, "Return")) || (!strcmp(ev->key, "KP_Enter"))) 1498 else if ((!strcmp(ev->keyname, "Return")) || (!strcmp(ev->keyname, "KP_Enter")))
1419 { 1499 {
1420 if (multiline) 1500 if (multiline)
1421 { 1501 {
@@ -1427,7 +1507,6 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1427 _range_del_emit(ed, en->cursor, rp->object, en); 1507 _range_del_emit(ed, en->cursor, rp->object, en);
1428 info->merge = EINA_TRUE; 1508 info->merge = EINA_TRUE;
1429 } 1509 }
1430 _sel_clear(en->cursor, rp->object, en);
1431 1510
1432 info->change.insert.pos = 1511 info->change.insert.pos =
1433 evas_textblock_cursor_pos_get(en->cursor); 1512 evas_textblock_cursor_pos_get(en->cursor);
@@ -1470,7 +1549,6 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v
1470 _range_del_emit(ed, en->cursor, rp->object, en); 1549 _range_del_emit(ed, en->cursor, rp->object, en);
1471 info->merge = EINA_TRUE; 1550 info->merge = EINA_TRUE;
1472 } 1551 }
1473 _sel_clear(en->cursor, rp->object, en);
1474 1552
1475 info->change.insert.pos = 1553 info->change.insert.pos =
1476 evas_textblock_cursor_pos_get(en->cursor); 1554 evas_textblock_cursor_pos_get(en->cursor);
@@ -1580,7 +1658,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
1580 } 1658 }
1581#endif 1659#endif
1582 1660
1583 _edje_entry_imf_context_reset(en); 1661 _edje_entry_imf_context_reset(rp);
1584 1662
1585 en->select_mod_start = EINA_FALSE; 1663 en->select_mod_start = EINA_FALSE;
1586 en->select_mod_end = EINA_FALSE; 1664 en->select_mod_end = EINA_FALSE;
@@ -1593,8 +1671,35 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
1593 if (ev->button == 2) dosel = EINA_FALSE; 1671 if (ev->button == 2) dosel = EINA_FALSE;
1594 if (dosel) 1672 if (dosel)
1595 { 1673 {
1596 // double click -> select word 1674 if (ev->flags & EVAS_BUTTON_TRIPLE_CLICK)
1597 // triple click -> select line 1675 {
1676 en->have_selection = EINA_FALSE;
1677 en->selecting = EINA_FALSE;
1678 _sel_clear(en->cursor, rp->object, en);
1679 tc = evas_object_textblock_cursor_new(rp->object);
1680 evas_textblock_cursor_copy(en->cursor, tc);
1681 evas_textblock_cursor_line_char_first(en->cursor);
1682 _sel_start(en->cursor, rp->object, en);
1683 evas_textblock_cursor_line_char_last(en->cursor);
1684 _sel_extend(en->cursor, rp->object, en);
1685
1686 goto end;
1687 }
1688 else if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK)
1689 {
1690 en->have_selection = EINA_FALSE;
1691 en->selecting = EINA_FALSE;
1692 _sel_clear(en->cursor, rp->object, en);
1693 tc = evas_object_textblock_cursor_new(rp->object);
1694 evas_textblock_cursor_copy(en->cursor, tc);
1695 evas_textblock_cursor_word_start(en->cursor);
1696 _sel_start(en->cursor, rp->object, en);
1697 evas_textblock_cursor_word_end(en->cursor);
1698 evas_textblock_cursor_char_next(en->cursor);
1699 _sel_extend(en->cursor, rp->object, en);
1700
1701 goto end;
1702 }
1598 } 1703 }
1599 tc = evas_object_textblock_cursor_new(rp->object); 1704 tc = evas_object_textblock_cursor_new(rp->object);
1600 evas_textblock_cursor_copy(en->cursor, tc); 1705 evas_textblock_cursor_copy(en->cursor, tc);
@@ -1695,13 +1800,14 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
1695 } 1800 }
1696 } 1801 }
1697 } 1802 }
1803 end:
1698 if (evas_textblock_cursor_compare(tc, en->cursor)) 1804 if (evas_textblock_cursor_compare(tc, en->cursor))
1699 { 1805 {
1700 _edje_emit(rp->edje, "cursor,changed", rp->part->name); 1806 _edje_emit(rp->edje, "cursor,changed", rp->part->name);
1701 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name); 1807 _edje_emit(rp->edje, "cursor,changed,manual", rp->part->name);
1702 } 1808 }
1703 evas_textblock_cursor_free(tc); 1809 evas_textblock_cursor_free(tc);
1704 1810
1705 _edje_entry_imf_cursor_info_set(en); 1811 _edje_entry_imf_cursor_info_set(en);
1706 1812
1707 _edje_entry_real_part_configure(rp); 1813 _edje_entry_real_part_configure(rp);
@@ -1724,6 +1830,8 @@ _edje_part_mouse_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED
1724 if (ev->button != 1) return; 1830 if (ev->button != 1) return;
1725 if (!rp) return; 1831 if (!rp) return;
1726 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; 1832 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
1833 if (ev->flags & EVAS_BUTTON_TRIPLE_CLICK) return;
1834 if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) return;
1727 en = rp->entry_data; 1835 en = rp->entry_data;
1728 if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) || 1836 if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) ||
1729 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE)) 1837 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
@@ -1741,7 +1849,7 @@ _edje_part_mouse_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED
1741 } 1849 }
1742#endif 1850#endif
1743 1851
1744 _edje_entry_imf_context_reset(en); 1852 _edje_entry_imf_context_reset(rp);
1745 1853
1746 tc = evas_object_textblock_cursor_new(rp->object); 1854 tc = evas_object_textblock_cursor_new(rp->object);
1747 evas_textblock_cursor_copy(en->cursor, tc); 1855 evas_textblock_cursor_copy(en->cursor, tc);
@@ -1911,7 +2019,7 @@ _edje_part_mouse_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
1911 } 2019 }
1912 evas_textblock_cursor_free(tc); 2020 evas_textblock_cursor_free(tc);
1913 2021
1914 _edje_entry_imf_context_reset(en); 2022 _edje_entry_imf_context_reset(rp);
1915 _edje_entry_imf_cursor_info_set(en); 2023 _edje_entry_imf_cursor_info_set(en);
1916 2024
1917 _edje_entry_real_part_configure(rp); 2025 _edje_entry_real_part_configure(rp);
@@ -2035,6 +2143,8 @@ _edje_entry_real_part_init(Edje_Real_Part *rp)
2035 { 2143 {
2036 evas_object_show(en->cursor_bg); 2144 evas_object_show(en->cursor_bg);
2037 evas_object_show(en->cursor_fg); 2145 evas_object_show(en->cursor_fg);
2146 en->input_panel_enable = EINA_TRUE;
2147
2038#ifdef HAVE_ECORE_IMF 2148#ifdef HAVE_ECORE_IMF
2039 ecore_imf_init(); 2149 ecore_imf_init();
2040 2150
@@ -2078,6 +2188,9 @@ _edje_entry_real_part_init(Edje_Real_Part *rp)
2078 ecore_imf_context_input_mode_set(en->imf_context, 2188 ecore_imf_context_input_mode_set(en->imf_context,
2079 rp->part->entry_mode == EDJE_ENTRY_EDIT_MODE_PASSWORD ? 2189 rp->part->entry_mode == EDJE_ENTRY_EDIT_MODE_PASSWORD ?
2080 ECORE_IMF_INPUT_MODE_INVISIBLE : ECORE_IMF_INPUT_MODE_FULL); 2190 ECORE_IMF_INPUT_MODE_INVISIBLE : ECORE_IMF_INPUT_MODE_FULL);
2191
2192 if (rp->part->entry_mode == EDJE_ENTRY_EDIT_MODE_PASSWORD)
2193 ecore_imf_context_input_panel_language_set(en->imf_context, ECORE_IMF_INPUT_PANEL_LANG_ALPHABET);
2081#endif 2194#endif
2082 } 2195 }
2083#ifdef HAVE_ECORE_IMF 2196#ifdef HAVE_ECORE_IMF
@@ -2111,9 +2224,9 @@ _edje_entry_real_part_shutdown(Edje_Real_Part *rp)
2111 { 2224 {
2112 if (en->imf_context) 2225 if (en->imf_context)
2113 { 2226 {
2114 ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_COMMIT, _edje_entry_imf_event_commit_cb); 2227 ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_COMMIT, _edje_entry_imf_event_commit_cb);
2115 ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, _edje_entry_imf_event_delete_surrounding_cb); 2228 ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_DELETE_SURROUNDING, _edje_entry_imf_event_delete_surrounding_cb);
2116 ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, _edje_entry_imf_event_preedit_changed_cb); 2229 ecore_imf_context_event_callback_del(en->imf_context, ECORE_IMF_CALLBACK_PREEDIT_CHANGED, _edje_entry_imf_event_preedit_changed_cb);
2117 2230
2118 ecore_imf_context_del(en->imf_context); 2231 ecore_imf_context_del(en->imf_context);
2119 en->imf_context = NULL; 2232 en->imf_context = NULL;
@@ -2192,7 +2305,7 @@ _edje_entry_text_markup_set(Edje_Real_Part *rp, const char *text)
2192{ 2305{
2193 Entry *en = rp->entry_data; 2306 Entry *en = rp->entry_data;
2194 if (!en) return; 2307 if (!en) return;
2195 _edje_entry_imf_context_reset(en); 2308 _edje_entry_imf_context_reset(rp);
2196 // set text as markup 2309 // set text as markup
2197 _sel_clear(en->cursor, rp->object, en); 2310 _sel_clear(en->cursor, rp->object, en);
2198 evas_object_textblock_text_markup_set(rp->object, text); 2311 evas_object_textblock_text_markup_set(rp->object, text);
@@ -2231,12 +2344,11 @@ _edje_entry_text_markup_insert(Edje_Real_Part *rp, const char *text)
2231{ 2344{
2232 Entry *en = rp->entry_data; 2345 Entry *en = rp->entry_data;
2233 if (!en) return; 2346 if (!en) return;
2234 _edje_entry_imf_context_reset(en); 2347 _edje_entry_imf_context_reset(rp);
2235 2348
2236 // prepend markup @ cursor pos 2349 // prepend markup @ cursor pos
2237 if (en->have_selection) 2350 if (en->have_selection)
2238 _range_del(en->cursor, rp->object, en); 2351 _range_del(en->cursor, rp->object, en);
2239 _sel_clear(en->cursor, rp->object, en);
2240 //xx 2352 //xx
2241// evas_object_textblock_text_markup_prepend(en->cursor, text); 2353// evas_object_textblock_text_markup_prepend(en->cursor, text);
2242 _text_filter_markup_prepend(en, en->cursor, text); 2354 _text_filter_markup_prepend(en, en->cursor, text);
@@ -2282,7 +2394,7 @@ _edje_entry_select_all(Edje_Real_Part *rp)
2282 Entry *en = rp->entry_data; 2394 Entry *en = rp->entry_data;
2283 if (!en) return; 2395 if (!en) return;
2284 2396
2285 _edje_entry_imf_context_reset(en); 2397 _edje_entry_imf_context_reset(rp);
2286 2398
2287 _sel_clear(en->cursor, rp->object, en); 2399 _sel_clear(en->cursor, rp->object, en);
2288 _curs_start(en->cursor, rp->object, en); 2400 _curs_start(en->cursor, rp->object, en);
@@ -2301,7 +2413,7 @@ _edje_entry_select_begin(Edje_Real_Part *rp)
2301 Entry *en = rp->entry_data; 2413 Entry *en = rp->entry_data;
2302 if (!en) return; 2414 if (!en) return;
2303 2415
2304 _edje_entry_imf_context_reset(en); 2416 _edje_entry_imf_context_reset(rp);
2305 2417
2306 _sel_clear(en->cursor, rp->object, en); 2418 _sel_clear(en->cursor, rp->object, en);
2307 _sel_enable(en->cursor, rp->object, en); 2419 _sel_enable(en->cursor, rp->object, en);
@@ -2318,7 +2430,7 @@ _edje_entry_select_extend(Edje_Real_Part *rp)
2318{ 2430{
2319 Entry *en = rp->entry_data; 2431 Entry *en = rp->entry_data;
2320 if (!en) return; 2432 if (!en) return;
2321 _edje_entry_imf_context_reset(en); 2433 _edje_entry_imf_context_reset(rp);
2322 _sel_extend(en->cursor, rp->object, en); 2434 _sel_extend(en->cursor, rp->object, en);
2323 2435
2324 _edje_entry_imf_cursor_info_set(en); 2436 _edje_entry_imf_cursor_info_set(en);
@@ -2440,6 +2552,35 @@ _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord *
2440} 2552}
2441 2553
2442void 2554void
2555_edje_entry_user_insert(Edje_Real_Part *rp, const char *text)
2556{
2557 Entry *en = rp->entry_data;
2558 Edje_Entry_Change_Info *info = calloc(1, sizeof(*info));
2559 info->insert = EINA_TRUE;
2560 info->change.insert.plain_length = 1;
2561 info->change.insert.content = eina_stringshare_add(text);
2562 {
2563 char *tmp;
2564 tmp = evas_textblock_text_markup_to_utf8(rp->object,
2565 info->change.insert.content);
2566 info->change.insert.plain_length = eina_unicode_utf8_get_len(tmp);
2567 free(tmp);
2568 }
2569
2570 if (en->have_selection)
2571 {
2572 _range_del_emit(rp->edje, en->cursor, rp->object, en);
2573 info->merge = EINA_TRUE;
2574 }
2575 info->change.insert.pos = evas_textblock_cursor_pos_get(en->cursor);
2576 _text_filter_text_prepend(en, en->cursor, text);
2577 _edje_emit(rp->edje, "entry,changed", rp->part->name);
2578 _edje_emit_full(rp->edje, "entry,changed,user", rp->part->name,
2579 info, _free_entry_change_info);
2580 _edje_emit(rp->edje, "cursor,changed", rp->part->name);
2581}
2582
2583void
2443_edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow) 2584_edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow)
2444{ 2585{
2445 Entry *en = rp->entry_data; 2586 Entry *en = rp->entry_data;
@@ -2463,12 +2604,25 @@ _edje_entry_select_abort(Edje_Real_Part *rp)
2463 { 2604 {
2464 en->selecting = EINA_FALSE; 2605 en->selecting = EINA_FALSE;
2465 2606
2466 _edje_entry_imf_context_reset(en); 2607 _edje_entry_imf_context_reset(rp);
2467 _edje_entry_imf_cursor_info_set(en); 2608 _edje_entry_imf_cursor_info_set(en);
2468 _edje_entry_real_part_configure(rp); 2609 _edje_entry_real_part_configure(rp);
2469 } 2610 }
2470} 2611}
2471 2612
2613void *
2614_edje_entry_imf_context_get(Edje_Real_Part *rp)
2615{
2616 Entry *en = rp->entry_data;
2617 if (!en) return NULL;
2618
2619#ifdef HAVE_ECORE_IMF
2620 return en->imf_context;
2621#else
2622 return NULL;
2623#endif
2624}
2625
2472void 2626void
2473_edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type) 2627_edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type)
2474{ 2628{
@@ -2499,16 +2653,37 @@ _edje_entry_autocapital_type_get(Edje_Real_Part *rp)
2499} 2653}
2500 2654
2501void 2655void
2656_edje_entry_prediction_allow_set(Edje_Real_Part *rp, Eina_Bool prediction)
2657{
2658 Entry *en = rp->entry_data;
2659
2660 if (!en) return;
2661 en->prediction_allow = prediction;
2662#ifdef HAVE_ECORE_IMF
2663 if (en->imf_context)
2664 ecore_imf_context_prediction_allow_set(en->imf_context, prediction);
2665#endif
2666}
2667
2668Eina_Bool
2669_edje_entry_prediction_allow_get(Edje_Real_Part *rp)
2670{
2671 Entry *en = rp->entry_data;
2672 if (!en) return EINA_FALSE;
2673
2674 return en->prediction_allow;
2675}
2676
2677void
2502_edje_entry_input_panel_enabled_set(Edje_Real_Part *rp, Eina_Bool enabled) 2678_edje_entry_input_panel_enabled_set(Edje_Real_Part *rp, Eina_Bool enabled)
2503{ 2679{
2504 Entry *en = rp->entry_data; 2680 Entry *en = rp->entry_data;
2505 2681
2506 if (!en) return; 2682 if (!en) return;
2683 en->input_panel_enable = enabled;
2507#ifdef HAVE_ECORE_IMF 2684#ifdef HAVE_ECORE_IMF
2508 if (en->imf_context) 2685 if (en->imf_context)
2509 ecore_imf_context_input_panel_enabled_set(en->imf_context, enabled); 2686 ecore_imf_context_input_panel_enabled_set(en->imf_context, enabled);
2510#else
2511 (void) enabled;
2512#endif 2687#endif
2513} 2688}
2514 2689
@@ -2517,11 +2692,121 @@ _edje_entry_input_panel_enabled_get(Edje_Real_Part *rp)
2517{ 2692{
2518 Entry *en = rp->entry_data; 2693 Entry *en = rp->entry_data;
2519 if (!en) return EINA_FALSE; 2694 if (!en) return EINA_FALSE;
2695
2696 return en->input_panel_enable;
2697}
2698
2699void
2700_edje_entry_input_panel_show(Edje_Real_Part *rp)
2701{
2702 Entry *en = rp->entry_data;
2703
2704 if (!en) return;
2705#ifdef HAVE_ECORE_IMF
2706 if (en->imf_context)
2707 ecore_imf_context_input_panel_show(en->imf_context);
2708#endif
2709}
2710
2711void
2712_edje_entry_input_panel_hide(Edje_Real_Part *rp)
2713{
2714 Entry *en = rp->entry_data;
2715
2716 if (!en) return;
2520#ifdef HAVE_ECORE_IMF 2717#ifdef HAVE_ECORE_IMF
2521 if (en->imf_context) 2718 if (en->imf_context)
2522 return ecore_imf_context_input_panel_enabled_get(en->imf_context); 2719 ecore_imf_context_input_panel_hide(en->imf_context);
2523#endif 2720#endif
2721}
2722
2723void
2724_edje_entry_input_panel_language_set(Edje_Real_Part *rp, Edje_Input_Panel_Lang lang)
2725{
2726 Entry *en = rp->entry_data;
2524 2727
2728 if (!en) return;
2729 en->input_panel_lang = lang;
2730#ifdef HAVE_ECORE_IMF
2731 if (en->imf_context)
2732 ecore_imf_context_input_panel_language_set(en->imf_context, lang);
2733#endif
2734}
2735
2736Edje_Input_Panel_Lang
2737_edje_entry_input_panel_language_get(Edje_Real_Part *rp)
2738{
2739 Entry *en = rp->entry_data;
2740 if (!en) return EDJE_INPUT_PANEL_LANG_AUTOMATIC;
2741
2742 return en->input_panel_lang;
2743}
2744
2745void
2746_edje_entry_input_panel_imdata_set(Edje_Real_Part *rp, const void *data, int len)
2747{
2748 Entry *en = rp->entry_data;
2749 if (!en) return;
2750#ifdef HAVE_ECORE_IMF
2751 if (en->imf_context)
2752 ecore_imf_context_input_panel_imdata_set(en->imf_context, data, len);
2753#endif
2754}
2755
2756void
2757_edje_entry_input_panel_imdata_get(Edje_Real_Part *rp, void *data, int *len)
2758{
2759 Entry *en = rp->entry_data;
2760 if (!en) return;
2761#ifdef HAVE_ECORE_IMF
2762 if (en->imf_context)
2763 ecore_imf_context_input_panel_imdata_get(en->imf_context, data, len);
2764#endif
2765}
2766
2767void
2768_edje_entry_input_panel_return_key_type_set(Edje_Real_Part *rp, Edje_Input_Panel_Return_Key_Type return_key_type)
2769{
2770 Entry *en = rp->entry_data;
2771 if (!en) return;
2772#ifdef HAVE_ECORE_IMF
2773 if (en->imf_context)
2774 ecore_imf_context_input_panel_return_key_type_set(en->imf_context, return_key_type);
2775#endif
2776}
2777
2778Edje_Input_Panel_Return_Key_Type
2779_edje_entry_input_panel_return_key_type_get(Edje_Real_Part *rp)
2780{
2781 Entry *en = rp->entry_data;
2782 if (!en) return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
2783#ifdef HAVE_ECORE_IMF
2784 if (en->imf_context)
2785 return ecore_imf_context_input_panel_return_key_type_get(en->imf_context);
2786#endif
2787 return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
2788}
2789
2790void
2791_edje_entry_input_panel_return_key_disabled_set(Edje_Real_Part *rp, Eina_Bool disabled)
2792{
2793 Entry *en = rp->entry_data;
2794 if (!en) return;
2795#ifdef HAVE_ECORE_IMF
2796 if (en->imf_context)
2797 ecore_imf_context_input_panel_return_key_disabled_set(en->imf_context, disabled);
2798#endif
2799}
2800
2801Eina_Bool
2802_edje_entry_input_panel_return_key_disabled_get(Edje_Real_Part *rp)
2803{
2804 Entry *en = rp->entry_data;
2805 if (!en) return EINA_FALSE;
2806#ifdef HAVE_ECORE_IMF
2807 if (en->imf_context)
2808 return ecore_imf_context_input_panel_return_key_disabled_get(en->imf_context);
2809#endif
2525 return EINA_FALSE; 2810 return EINA_FALSE;
2526} 2811}
2527 2812
@@ -2568,7 +2853,7 @@ _edje_entry_cursor_next(Edje_Real_Part *rp, Edje_Cursor cur)
2568 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 2853 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
2569 if (!c) return EINA_FALSE; 2854 if (!c) return EINA_FALSE;
2570 2855
2571 _edje_entry_imf_context_reset(en); 2856 _edje_entry_imf_context_reset(rp);
2572 2857
2573 if (!evas_textblock_cursor_char_next(c)) 2858 if (!evas_textblock_cursor_char_next(c))
2574 { 2859 {
@@ -2589,7 +2874,7 @@ _edje_entry_cursor_prev(Edje_Real_Part *rp, Edje_Cursor cur)
2589 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 2874 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
2590 if (!c) return EINA_FALSE; 2875 if (!c) return EINA_FALSE;
2591 2876
2592 _edje_entry_imf_context_reset(en); 2877 _edje_entry_imf_context_reset(rp);
2593 2878
2594 if (!evas_textblock_cursor_char_prev(c)) 2879 if (!evas_textblock_cursor_char_prev(c))
2595 { 2880 {
@@ -2615,7 +2900,7 @@ _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur)
2615 int ln; 2900 int ln;
2616 if (!c) return EINA_FALSE; 2901 if (!c) return EINA_FALSE;
2617 2902
2618 _edje_entry_imf_context_reset(en); 2903 _edje_entry_imf_context_reset(rp);
2619 2904
2620 ln = evas_textblock_cursor_line_geometry_get(c, NULL, NULL, NULL, NULL); 2905 ln = evas_textblock_cursor_line_geometry_get(c, NULL, NULL, NULL, NULL);
2621 ln--; 2906 ln--;
@@ -2649,7 +2934,7 @@ _edje_entry_cursor_down(Edje_Real_Part *rp, Edje_Cursor cur)
2649 int ln; 2934 int ln;
2650 if (!c) return EINA_FALSE; 2935 if (!c) return EINA_FALSE;
2651 2936
2652 _edje_entry_imf_context_reset(en); 2937 _edje_entry_imf_context_reset(rp);
2653 2938
2654 ln = evas_textblock_cursor_line_geometry_get(c, NULL, NULL, NULL, NULL); 2939 ln = evas_textblock_cursor_line_geometry_get(c, NULL, NULL, NULL, NULL);
2655 ln++; 2940 ln++;
@@ -2679,7 +2964,7 @@ _edje_entry_cursor_begin(Edje_Real_Part *rp, Edje_Cursor cur)
2679 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 2964 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
2680 if (!c) return; 2965 if (!c) return;
2681 2966
2682 _edje_entry_imf_context_reset(en); 2967 _edje_entry_imf_context_reset(rp);
2683 2968
2684 evas_textblock_cursor_paragraph_first(c); 2969 evas_textblock_cursor_paragraph_first(c);
2685 _sel_update(c, rp->object, rp->entry_data); 2970 _sel_update(c, rp->object, rp->entry_data);
@@ -2696,7 +2981,7 @@ _edje_entry_cursor_end(Edje_Real_Part *rp, Edje_Cursor cur)
2696 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 2981 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
2697 if (!c) return; 2982 if (!c) return;
2698 2983
2699 _edje_entry_imf_context_reset(en); 2984 _edje_entry_imf_context_reset(rp);
2700 2985
2701 _curs_end(c, rp->object, rp->entry_data); 2986 _curs_end(c, rp->object, rp->entry_data);
2702 _sel_update(c, rp->object, rp->entry_data); 2987 _sel_update(c, rp->object, rp->entry_data);
@@ -2721,7 +3006,7 @@ _edje_entry_cursor_copy(Edje_Real_Part *rp, Edje_Cursor cur, Edje_Cursor dst)
2721 evas_textblock_cursor_copy(c, d); 3006 evas_textblock_cursor_copy(c, d);
2722 _sel_update(c, rp->object, rp->entry_data); 3007 _sel_update(c, rp->object, rp->entry_data);
2723 3008
2724 _edje_entry_imf_context_reset(en); 3009 _edje_entry_imf_context_reset(rp);
2725 _edje_entry_imf_cursor_info_set(en); 3010 _edje_entry_imf_cursor_info_set(en);
2726 _edje_emit(rp->edje, "cursor,changed", rp->part->name); 3011 _edje_emit(rp->edje, "cursor,changed", rp->part->name);
2727 _edje_entry_real_part_configure(rp); 3012 _edje_entry_real_part_configure(rp);
@@ -2733,7 +3018,7 @@ _edje_entry_cursor_line_begin(Edje_Real_Part *rp, Edje_Cursor cur)
2733 Entry *en = rp->entry_data; 3018 Entry *en = rp->entry_data;
2734 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3019 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
2735 if (!c) return; 3020 if (!c) return;
2736 _edje_entry_imf_context_reset(en); 3021 _edje_entry_imf_context_reset(rp);
2737 3022
2738 evas_textblock_cursor_line_char_first(c); 3023 evas_textblock_cursor_line_char_first(c);
2739 _sel_update(c, rp->object, rp->entry_data); 3024 _sel_update(c, rp->object, rp->entry_data);
@@ -2750,7 +3035,7 @@ _edje_entry_cursor_line_end(Edje_Real_Part *rp, Edje_Cursor cur)
2750 Entry *en = rp->entry_data; 3035 Entry *en = rp->entry_data;
2751 Evas_Textblock_Cursor *c = _cursor_get(rp, cur); 3036 Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
2752 if (!c) return; 3037 if (!c) return;
2753 _edje_entry_imf_context_reset(en); 3038 _edje_entry_imf_context_reset(rp);
2754 evas_textblock_cursor_line_char_last(c); 3039 evas_textblock_cursor_line_char_last(c);
2755 _sel_update(c, rp->object, rp->entry_data); 3040 _sel_update(c, rp->object, rp->entry_data);
2756 3041
@@ -2810,9 +3095,9 @@ _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos)
2810 if (!c) return; 3095 if (!c) return;
2811 /* Abort if cursor position didn't really change */ 3096 /* Abort if cursor position didn't really change */
2812 if (evas_textblock_cursor_pos_get(c) == pos) 3097 if (evas_textblock_cursor_pos_get(c) == pos)
2813 return; 3098 return;
2814 3099
2815 _edje_entry_imf_context_reset(en); 3100 _edje_entry_imf_context_reset(rp);
2816 evas_textblock_cursor_pos_set(c, pos); 3101 evas_textblock_cursor_pos_set(c, pos);
2817 _sel_update(c, rp->object, rp->entry_data); 3102 _sel_update(c, rp->object, rp->entry_data);
2818 3103
@@ -2855,14 +3140,14 @@ _edje_entry_input_panel_layout_get(Edje_Real_Part *rp)
2855 return EDJE_INPUT_PANEL_LAYOUT_INVALID; 3140 return EDJE_INPUT_PANEL_LAYOUT_INVALID;
2856} 3141}
2857 3142
2858static void 3143void
2859_edje_entry_imf_context_reset(Entry *en) 3144_edje_entry_imf_context_reset(Edje_Real_Part *rp)
2860{ 3145{
3146 Entry *en = rp->entry_data;
3147 if (!en) return;
2861#ifdef HAVE_ECORE_IMF 3148#ifdef HAVE_ECORE_IMF
2862 if (en->imf_context) 3149 if (en->imf_context)
2863 ecore_imf_context_reset(en->imf_context); 3150 ecore_imf_context_reset(en->imf_context);
2864#else
2865 (void) en;
2866#endif 3151#endif
2867} 3152}
2868 3153
@@ -3019,7 +3304,6 @@ _edje_entry_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx __UN
3019 { 3304 {
3020 /* delete selected characters */ 3305 /* delete selected characters */
3021 _range_del_emit(ed, en->cursor, rp->object, en); 3306 _range_del_emit(ed, en->cursor, rp->object, en);
3022 _sel_clear(en->cursor, rp->object, en);
3023 } 3307 }
3024 3308
3025 /* delete preedit characters */ 3309 /* delete preedit characters */
diff --git a/libraries/edje/src/lib/edje_load.c b/libraries/edje/src/lib/edje_load.c
index 8fe5842..b63cd88 100644
--- a/libraries/edje/src/lib/edje_load.c
+++ b/libraries/edje/src/lib/edje_load.c
@@ -132,7 +132,7 @@ edje_file_group_exists(const char *file, const char *glob)
132 edf = _edje_cache_file_coll_open(file, NULL, &error_ret, NULL); 132 edf = _edje_cache_file_coll_open(file, NULL, &error_ret, NULL);
133 if (!edf) 133 if (!edf)
134 return EINA_FALSE; 134 return EINA_FALSE;
135 135
136 for (p = glob; *p; p++) 136 for (p = glob; *p; p++)
137 { 137 {
138 if ((*p == '*') || (*p == '?') || (*p == '[')) 138 if ((*p == '*') || (*p == '?') || (*p == '['))
@@ -141,7 +141,7 @@ edje_file_group_exists(const char *file, const char *glob)
141 break; 141 break;
142 } 142 }
143 } 143 }
144 144
145 if (is_glob) 145 if (is_glob)
146 { 146 {
147 if (!edf->collection_patterns) 147 if (!edf->collection_patterns)
@@ -149,18 +149,18 @@ edje_file_group_exists(const char *file, const char *glob)
149 Edje_Part_Collection_Directory_Entry *ce; 149 Edje_Part_Collection_Directory_Entry *ce;
150 Eina_Iterator *i; 150 Eina_Iterator *i;
151 Eina_List *l = NULL; 151 Eina_List *l = NULL;
152 152
153 i = eina_hash_iterator_data_new(edf->collection); 153 i = eina_hash_iterator_data_new(edf->collection);
154 154
155 EINA_ITERATOR_FOREACH(i, ce) 155 EINA_ITERATOR_FOREACH(i, ce)
156 l = eina_list_append(l, ce); 156 l = eina_list_append(l, ce);
157 157
158 eina_iterator_free(i); 158 eina_iterator_free(i);
159 159
160 edf->collection_patterns = edje_match_collection_dir_init(l); 160 edf->collection_patterns = edje_match_collection_dir_init(l);
161 eina_list_free(l); 161 eina_list_free(l);
162 } 162 }
163 163
164 succeed = edje_match_collection_dir_exec(edf->collection_patterns, glob); 164 succeed = edje_match_collection_dir_exec(edf->collection_patterns, glob);
165 if (edf->collection_patterns) 165 if (edf->collection_patterns)
166 { 166 {
@@ -226,6 +226,20 @@ _edje_programs_patterns_init(Edje *ed)
226 if (ssp->signals_patterns) 226 if (ssp->signals_patterns)
227 return; 227 return;
228 228
229 if (getenv("EDJE_DUMP_PROGRAMS"))
230 {
231 INF("Group '%s' programs:", ed->group);
232#define EDJE_DUMP_PROGRAM(Section) \
233 for (i = 0; i < ed->collection->programs.Section##_count; i++) \
234 INF(#Section" for ('%s', '%s')", ed->collection->programs.Section[i]->signal, ed->collection->programs.Section[i]->source);
235
236 EDJE_DUMP_PROGRAM(strcmp);
237 EDJE_DUMP_PROGRAM(strncmp);
238 EDJE_DUMP_PROGRAM(strrncmp);
239 EDJE_DUMP_PROGRAM(fnmatch);
240 EDJE_DUMP_PROGRAM(nocmp);
241 }
242
229 edje_match_program_hash_build(ed->collection->programs.strcmp, 243 edje_match_program_hash_build(ed->collection->programs.strcmp,
230 ed->collection->programs.strcmp_count, 244 ed->collection->programs.strcmp_count,
231 &ssp->exact_match); 245 &ssp->exact_match);
@@ -294,6 +308,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g
294 308
295 ed->load_error = EDJE_LOAD_ERROR_NONE; 309 ed->load_error = EDJE_LOAD_ERROR_NONE;
296 _edje_file_add(ed); 310 _edje_file_add(ed);
311 ed->block_break = 0;
297 312
298 if (ed->file && ed->file->external_dir) 313 if (ed->file && ed->file->external_dir)
299 { 314 {
diff --git a/libraries/edje/src/lib/edje_lua2.c b/libraries/edje/src/lib/edje_lua2.c
index 1d167e9..fd88f31 100644
--- a/libraries/edje/src/lib/edje_lua2.c
+++ b/libraries/edje/src/lib/edje_lua2.c
@@ -6,11 +6,6 @@
6 6
7#define RASTER_FORGOT_WHY "this is here." 7#define RASTER_FORGOT_WHY "this is here."
8 8
9#ifdef _WIN32
10# define FMT_SIZE_T "%Iu"
11#else
12# define FMT_SIZE_T "%zu"
13#endif
14 9
15//--------------------------------------------------------------------------// 10//--------------------------------------------------------------------------//
16#define MAX_LUA_MEM (4 * (1024 * 1024)) 11#define MAX_LUA_MEM (4 * (1024 * 1024))
@@ -216,7 +211,7 @@ _elua_alloc(void *ud, void *ptr, size_t osize, size_t nsize)
216 ela->cur += nsize - osize; 211 ela->cur += nsize - osize;
217 if (ela->cur > ela->max) 212 if (ela->cur > ela->max)
218 { 213 {
219 ERR("Lua memory limit of " FMT_SIZE_T " bytes reached (" FMT_SIZE_T " allocated)", 214 ERR("Lua memory limit of %zu bytes reached (%zu allocated)",
220 ela->max, ela->cur); 215 ela->max, ela->cur);
221 return NULL; 216 return NULL;
222 } 217 }
@@ -228,7 +223,7 @@ _elua_alloc(void *ud, void *ptr, size_t osize, size_t nsize)
228 223
229 ptr2 = realloc(ptr, nsize); 224 ptr2 = realloc(ptr, nsize);
230 if (ptr2) return ptr2; 225 if (ptr2) return ptr2;
231 ERR("Lua cannot re-allocate " FMT_SIZE_T " bytes", nsize); 226 ERR("Lua cannot re-allocate %zu bytes", nsize);
232 return ptr2; 227 return ptr2;
233} 228}
234 229
@@ -698,7 +693,7 @@ static int
698_elua_echo(lua_State *L) // Stack usage [-0, +0, v] 693_elua_echo(lua_State *L) // Stack usage [-0, +0, v]
699{ 694{
700 const char *string = luaL_checkstring(L, 1); // Stack usage [-0, +0, v] 695 const char *string = luaL_checkstring(L, 1); // Stack usage [-0, +0, v]
701 LD("%s\n", string); 696 LD("%s", string);
702 return 0; 697 return 0;
703} 698}
704 699
@@ -2657,16 +2652,16 @@ _elua_edje_file(lua_State *L) // Stack usage [
2657 2652
2658 switch (err) 2653 switch (err)
2659 { 2654 {
2660 case EDJE_LOAD_ERROR_NONE : LE("Edje file loading errer %s %s - no error happened, but you should not see this.\n", obj->ed->file->path, group); break; 2655 case EDJE_LOAD_ERROR_NONE : LE("Edje file loading errer %s %s - no error happened, but you should not see this.", obj->ed->file->path, group); break;
2661 case EDJE_LOAD_ERROR_GENERIC : LE("Edje file loading errer %s %s - generic error.\n", obj->ed->file->path, group); break; 2656 case EDJE_LOAD_ERROR_GENERIC : LE("Edje file loading errer %s %s - generic error.", obj->ed->file->path, group); break;
2662 case EDJE_LOAD_ERROR_DOES_NOT_EXIST : LE("Edje file loading errer %s %s - file does not exist.\n", obj->ed->file->path, group); break; 2657 case EDJE_LOAD_ERROR_DOES_NOT_EXIST : LE("Edje file loading errer %s %s - file does not exist.", obj->ed->file->path, group); break;
2663 case EDJE_LOAD_ERROR_PERMISSION_DENIED : LE("Edje file loading errer %s %s - permission denied reading the file.\n", obj->ed->file->path, group); break; 2658 case EDJE_LOAD_ERROR_PERMISSION_DENIED : LE("Edje file loading errer %s %s - permission denied reading the file.", obj->ed->file->path, group); break;
2664 case EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED : LE("Edje file loading errer %s %s - resource allocation failed.\n", obj->ed->file->path, group); break; 2659 case EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED : LE("Edje file loading errer %s %s - resource allocation failed.", obj->ed->file->path, group); break;
2665 case EDJE_LOAD_ERROR_CORRUPT_FILE : LE("Edje file loading errer %s %s - corrupt file.\n", obj->ed->file->path, group); break; 2660 case EDJE_LOAD_ERROR_CORRUPT_FILE : LE("Edje file loading errer %s %s - corrupt file.", obj->ed->file->path, group); break;
2666 case EDJE_LOAD_ERROR_UNKNOWN_FORMAT : LE("Edje file loading errer %s %s - unknown file format.\n", obj->ed->file->path, group); break; 2661 case EDJE_LOAD_ERROR_UNKNOWN_FORMAT : LE("Edje file loading errer %s %s - unknown file format.", obj->ed->file->path, group); break;
2667 case EDJE_LOAD_ERROR_INCOMPATIBLE_FILE : LE("Edje file loading errer %s %s - incompatible file.\n", obj->ed->file->path, group); break; 2662 case EDJE_LOAD_ERROR_INCOMPATIBLE_FILE : LE("Edje file loading errer %s %s - incompatible file.", obj->ed->file->path, group); break;
2668 case EDJE_LOAD_ERROR_UNKNOWN_COLLECTION : LE("Edje file loading errer %s %s - unknown group.\n", obj->ed->file->path, group); break; 2663 case EDJE_LOAD_ERROR_UNKNOWN_COLLECTION : LE("Edje file loading errer %s %s - unknown group.", obj->ed->file->path, group); break;
2669 case EDJE_LOAD_ERROR_RECURSIVE_REFERENCE : LE("Edje file loading errer %s %s - recursive reference in group.\n", obj->ed->file->path, group); break; 2664 case EDJE_LOAD_ERROR_RECURSIVE_REFERENCE : LE("Edje file loading errer %s %s - recursive reference in group.", obj->ed->file->path, group); break;
2670 } 2665 }
2671 } 2666 }
2672 } 2667 }
@@ -2865,13 +2860,14 @@ _elua_image_image(lua_State *L) // Stack usage [
2865 } 2860 }
2866 } 2861 }
2867 2862
2868 /* Sandbox lua - Only allow access to images within the same edje file. I'm not so sure we need this level of sandboxing though. So leaving it here, just in case.
2869 if (-1 == id) 2863 if (-1 == id)
2870 { 2864 {
2871 LI("Image %s not found in our edje file, trying external image file %s.\n", key, file); 2865 LE("Image %s not found in our edje file.", key);
2866 /* Sandbox lua - Only allow access to images within the same edje file. I'm not so sure we need this level of sandboxing though. So leaving it here, just in case.
2867 LI("Image %s not found in our edje file, trying external image file %s.", key, file);
2872 evas_object_image_file_set(elo->evas_obj, file, key); 2868 evas_object_image_file_set(elo->evas_obj, file, key);
2869 */
2873 } 2870 }
2874 */
2875 } 2871 }
2876 evas_object_image_file_get(elo->evas_obj, &file, &key); 2872 evas_object_image_file_get(elo->evas_obj, &file, &key);
2877 _elua_ret(L, "$file $key", file, key); 2873 _elua_ret(L, "$file $key", file, key);
diff --git a/libraries/edje/src/lib/edje_main.c b/libraries/edje/src/lib/edje_main.c
index 5d011ad..f70efb9 100644
--- a/libraries/edje/src/lib/edje_main.c
+++ b/libraries/edje/src/lib/edje_main.c
@@ -233,6 +233,11 @@ _edje_del(Edje *ed)
233 eina_stringshare_del(cb->part); 233 eina_stringshare_del(cb->part);
234 free(cb); 234 free(cb);
235 } 235 }
236 EINA_LIST_FREE(ed->markup_filter_callbacks, cb)
237 {
238 eina_stringshare_del(cb->part);
239 free(cb);
240 }
236 241
237 if (ed->members.text_class) 242 if (ed->members.text_class)
238 { 243 {
diff --git a/libraries/edje/src/lib/edje_multisense.c b/libraries/edje/src/lib/edje_multisense.c
index f3324e7..a35b223 100644
--- a/libraries/edje/src/lib/edje_multisense.c
+++ b/libraries/edje/src/lib/edje_multisense.c
@@ -1,8 +1,3 @@
1#include "config.h"
2#include <string.h>
3#include <fcntl.h>
4#include <Eina.h>
5#include <Edje.h>
6#include "edje_private.h" 1#include "edje_private.h"
7 2
8typedef struct _Multisense_Data 3typedef struct _Multisense_Data
diff --git a/libraries/edje/src/lib/edje_private.h b/libraries/edje/src/lib/edje_private.h
index 8bf18eb..1d5aee9 100644
--- a/libraries/edje/src/lib/edje_private.h
+++ b/libraries/edje/src/lib/edje_private.h
@@ -9,18 +9,30 @@
9# define _GNU_SOURCE 9# define _GNU_SOURCE
10#endif 10#endif
11 11
12#ifdef STDC_HEADERS
13# include <stdlib.h>
14# include <stddef.h>
15#else
16# ifdef HAVE_STDLIB_H
17# include <stdlib.h>
18# endif
19#endif
12#ifdef HAVE_ALLOCA_H 20#ifdef HAVE_ALLOCA_H
13# include <alloca.h> 21# include <alloca.h>
14#elif defined __GNUC__ 22#elif !defined alloca
15# define alloca __builtin_alloca 23# ifdef __GNUC__
16#elif defined _AIX 24# define alloca __builtin_alloca
17# define alloca __alloca 25# elif defined _AIX
18#elif defined _MSC_VER 26# define alloca __alloca
19# include <malloc.h> 27# elif defined _MSC_VER
20# define alloca _alloca 28# include <malloc.h>
21#else 29# define alloca _alloca
22# include <stddef.h> 30# elif !defined HAVE_ALLOCA
31# ifdef __cplusplus
32extern "C"
33# endif
23void *alloca (size_t); 34void *alloca (size_t);
35# endif
24#endif 36#endif
25 37
26#include <string.h> 38#include <string.h>
@@ -35,6 +47,8 @@ void *alloca (size_t);
35# include <unistd.h> 47# include <unistd.h>
36#endif 48#endif
37 49
50#include <fcntl.h>
51
38#include <lua.h> 52#include <lua.h>
39#include <lualib.h> 53#include <lualib.h>
40#include <lauxlib.h> 54#include <lauxlib.h>
@@ -62,7 +76,7 @@ void *alloca (size_t);
62 76
63#include "Edje.h" 77#include "Edje.h"
64 78
65EAPI extern int _edje_default_log_dom ; 79EAPI extern int _edje_default_log_dom ;
66 80
67#ifdef EDJE_DEFAULT_LOG_COLOR 81#ifdef EDJE_DEFAULT_LOG_COLOR
68# undef EDJE_DEFAULT_LOG_COLOR 82# undef EDJE_DEFAULT_LOG_COLOR
@@ -84,6 +98,10 @@ EAPI extern int _edje_default_log_dom ;
84# undef CRIT 98# undef CRIT
85#endif 99#endif
86#define CRIT(...) EINA_LOG_DOM_CRIT(_edje_default_log_dom, __VA_ARGS__) 100#define CRIT(...) EINA_LOG_DOM_CRIT(_edje_default_log_dom, __VA_ARGS__)
101#ifdef DBG
102# undef DBG
103#endif
104#define DBG(...) EINA_LOG_DOM_DBG(_edje_default_log_dom, __VA_ARGS__)
87#ifdef __GNUC__ 105#ifdef __GNUC__
88# if __GNUC__ >= 4 106# if __GNUC__ >= 4
89// BROKEN in gcc 4 on amd64 107// BROKEN in gcc 4 on amd64
@@ -173,7 +191,7 @@ struct _Edje_Smart_Api
173/* increment this when you add new feature to edje file format without 191/* increment this when you add new feature to edje file format without
174 * breaking backward compatibility. 192 * breaking backward compatibility.
175 */ 193 */
176#define EDJE_FILE_MINOR 2 194#define EDJE_FILE_MINOR 3
177 195
178/* FIXME: 196/* FIXME:
179 * 197 *
@@ -218,6 +236,7 @@ struct _Edje_Position
218struct _Edje_Size 236struct _Edje_Size
219{ 237{
220 int w, h; 238 int w, h;
239 Eina_Bool limit; /* should we limit ourself to the size of the source */
221}; 240};
222 241
223struct _Edje_Rectangle 242struct _Edje_Rectangle
@@ -322,6 +341,7 @@ typedef struct _Edje_Var_Timer Edje_Var_Timer;
322typedef struct _Edje_Var_Pool Edje_Var_Pool; 341typedef struct _Edje_Var_Pool Edje_Var_Pool;
323typedef struct _Edje_Signal_Source_Char Edje_Signal_Source_Char; 342typedef struct _Edje_Signal_Source_Char Edje_Signal_Source_Char;
324typedef struct _Edje_Text_Insert_Filter_Callback Edje_Text_Insert_Filter_Callback; 343typedef struct _Edje_Text_Insert_Filter_Callback Edje_Text_Insert_Filter_Callback;
344typedef struct _Edje_Markup_Filter_Callback Edje_Markup_Filter_Callback;
325 345
326#define EDJE_INF_MAX_W 100000 346#define EDJE_INF_MAX_W 100000
327#define EDJE_INF_MAX_H 100000 347#define EDJE_INF_MAX_H 100000
@@ -612,6 +632,8 @@ struct _Edje_Program /* a conditional program to be run */
612 int src; /* part where parameter is being retrieved */ 632 int src; /* part where parameter is being retrieved */
613 int dst; /* part where parameter is being stored */ 633 int dst; /* part where parameter is being stored */
614 } param; 634 } param;
635
636 Eina_Bool exec : 1;
615}; 637};
616 638
617struct _Edje_Program_Target /* the target of an action */ 639struct _Edje_Program_Target /* the target of an action */
@@ -752,6 +774,8 @@ struct _Edje_Part_Collection
752 774
753 unsigned char lua_script_only; 775 unsigned char lua_script_only;
754 776
777 unsigned char broadcast_signal;
778
755 unsigned char checked : 1; 779 unsigned char checked : 1;
756}; 780};
757 781
@@ -839,7 +863,7 @@ struct _Edje_Part_Description_Common
839 unsigned char have; 863 unsigned char have;
840 FLOAT_T w, h; 864 FLOAT_T w, h;
841 } minmul; 865 } minmul;
842 866
843 Edje_Size min, max; 867 Edje_Size min, max;
844 Edje_Position step; /* size stepping by n pixels, 0 = none */ 868 Edje_Position step; /* size stepping by n pixels, 0 = none */
845 Edje_Aspect_Prefer aspect; 869 Edje_Aspect_Prefer aspect;
@@ -1074,6 +1098,7 @@ struct _Edje
1074 Edje_Real_Part *focused_part; 1098 Edje_Real_Part *focused_part;
1075 Eina_List *subobjs; 1099 Eina_List *subobjs;
1076 Eina_List *text_insert_filter_callbacks; 1100 Eina_List *text_insert_filter_callbacks;
1101 Eina_List *markup_filter_callbacks;
1077 void *script_only_data; 1102 void *script_only_data;
1078 1103
1079 int table_programs_size; 1104 int table_programs_size;
@@ -1145,6 +1170,8 @@ struct _Edje
1145#endif 1170#endif
1146 unsigned int have_mapped_part : 1; 1171 unsigned int have_mapped_part : 1;
1147 unsigned int recalc_call : 1; 1172 unsigned int recalc_call : 1;
1173 unsigned int update_hints : 1;
1174 unsigned int recalc_hints : 1;
1148}; 1175};
1149 1176
1150struct _Edje_Calc_Params 1177struct _Edje_Calc_Params
@@ -1179,7 +1206,7 @@ struct _Edje_Calc_Params
1179 int x, y, z; 1206 int x, y, z;
1180 } center; // 12 1207 } center; // 12
1181 struct { 1208 struct {
1182 double x, y, z; 1209 FLOAT_T x, y, z;
1183 } rotation; // 24 1210 } rotation; // 24
1184 struct { 1211 struct {
1185 int x, y, z; 1212 int x, y, z;
@@ -1334,6 +1361,13 @@ struct _Edje_Text_Insert_Filter_Callback
1334 void *data; 1361 void *data;
1335}; 1362};
1336 1363
1364struct _Edje_Markup_Filter_Callback
1365{
1366 const char *part;
1367 Edje_Markup_Filter_Cb func;
1368 void *data;
1369};
1370
1337struct _Edje_Pending_Program 1371struct _Edje_Pending_Program
1338{ 1372{
1339 Edje *edje; 1373 Edje *edje;
@@ -1907,10 +1941,11 @@ const Eina_List *_edje_entry_anchors_list(Edje_Real_Part *rp);
1907Eina_Bool _edje_entry_item_geometry_get(Edje_Real_Part *rp, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); 1941Eina_Bool _edje_entry_item_geometry_get(Edje_Real_Part *rp, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
1908const Eina_List *_edje_entry_items_list(Edje_Real_Part *rp); 1942const Eina_List *_edje_entry_items_list(Edje_Real_Part *rp);
1909void _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); 1943void _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
1944void _edje_entry_user_insert(Edje_Real_Part *rp, const char *text);
1910void _edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow); 1945void _edje_entry_select_allow_set(Edje_Real_Part *rp, Eina_Bool allow);
1911Eina_Bool _edje_entry_select_allow_get(const Edje_Real_Part *rp); 1946Eina_Bool _edje_entry_select_allow_get(const Edje_Real_Part *rp);
1912void _edje_entry_select_abort(Edje_Real_Part *rp); 1947void _edje_entry_select_abort(Edje_Real_Part *rp);
1913 1948void *_edje_entry_imf_context_get(Edje_Real_Part *rp);
1914Eina_Bool _edje_entry_cursor_next(Edje_Real_Part *rp, Edje_Cursor cur); 1949Eina_Bool _edje_entry_cursor_next(Edje_Real_Part *rp, Edje_Cursor cur);
1915Eina_Bool _edje_entry_cursor_prev(Edje_Real_Part *rp, Edje_Cursor cur); 1950Eina_Bool _edje_entry_cursor_prev(Edje_Real_Part *rp, Edje_Cursor cur);
1916Eina_Bool _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur); 1951Eina_Bool _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor cur);
@@ -1925,12 +1960,25 @@ Eina_Bool _edje_entry_cursor_is_visible_format_get(Edje_Real_Part *rp, Edje_Curs
1925char *_edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur); 1960char *_edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur);
1926void _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos); 1961void _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos);
1927int _edje_entry_cursor_pos_get(Edje_Real_Part *rp, Edje_Cursor cur); 1962int _edje_entry_cursor_pos_get(Edje_Real_Part *rp, Edje_Cursor cur);
1963void _edje_entry_imf_context_reset(Edje_Real_Part *rp);
1928void _edje_entry_input_panel_layout_set(Edje_Real_Part *rp, Edje_Input_Panel_Layout layout); 1964void _edje_entry_input_panel_layout_set(Edje_Real_Part *rp, Edje_Input_Panel_Layout layout);
1929Edje_Input_Panel_Layout _edje_entry_input_panel_layout_get(Edje_Real_Part *rp); 1965Edje_Input_Panel_Layout _edje_entry_input_panel_layout_get(Edje_Real_Part *rp);
1930void _edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type); 1966void _edje_entry_autocapital_type_set(Edje_Real_Part *rp, Edje_Text_Autocapital_Type autocapital_type);
1931Edje_Text_Autocapital_Type _edje_entry_autocapital_type_get(Edje_Real_Part *rp); 1967Edje_Text_Autocapital_Type _edje_entry_autocapital_type_get(Edje_Real_Part *rp);
1968void _edje_entry_prediction_allow_set(Edje_Real_Part *rp, Eina_Bool prediction);
1969Eina_Bool _edje_entry_prediction_allow_get(Edje_Real_Part *rp);
1932void _edje_entry_input_panel_enabled_set(Edje_Real_Part *rp, Eina_Bool enabled); 1970void _edje_entry_input_panel_enabled_set(Edje_Real_Part *rp, Eina_Bool enabled);
1933Eina_Bool _edje_entry_input_panel_enabled_get(Edje_Real_Part *rp); 1971Eina_Bool _edje_entry_input_panel_enabled_get(Edje_Real_Part *rp);
1972void _edje_entry_input_panel_show(Edje_Real_Part *rp);
1973void _edje_entry_input_panel_hide(Edje_Real_Part *rp);
1974void _edje_entry_input_panel_language_set(Edje_Real_Part *rp, Edje_Input_Panel_Lang lang);
1975Edje_Input_Panel_Lang _edje_entry_input_panel_language_get(Edje_Real_Part *rp);
1976void _edje_entry_input_panel_imdata_set(Edje_Real_Part *rp, const void *data, int len);
1977void _edje_entry_input_panel_imdata_get(Edje_Real_Part *rp, void *data, int *len);
1978void _edje_entry_input_panel_return_key_type_set(Edje_Real_Part *rp, Edje_Input_Panel_Return_Key_Type return_key_type);
1979Edje_Input_Panel_Return_Key_Type _edje_entry_input_panel_return_key_type_get(Edje_Real_Part *rp);
1980void _edje_entry_input_panel_return_key_disabled_set(Edje_Real_Part *rp, Eina_Bool disabled);
1981Eina_Bool _edje_entry_input_panel_return_key_disabled_get(Edje_Real_Part *rp);
1934 1982
1935void _edje_external_init(); 1983void _edje_external_init();
1936void _edje_external_shutdown(); 1984void _edje_external_shutdown();
diff --git a/libraries/edje/src/lib/edje_program.c b/libraries/edje/src/lib/edje_program.c
index d80c7c9..d631364 100644
--- a/libraries/edje/src/lib/edje_program.c
+++ b/libraries/edje/src/lib/edje_program.c
@@ -531,7 +531,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr, Eina_Bool force, const char *ssig,
531 } 531 }
532 532
533 if (rp->program) 533 if (rp->program)
534 _edje_program_end(ed, rp->program); 534 _edje_program_end(ed, rp->program);
535 _edje_part_description_apply(ed, rp, 535 _edje_part_description_apply(ed, rp,
536 rp->param1.description->state.name, 536 rp->param1.description->state.name,
537 rp->param1.description->state.value, 537 rp->param1.description->state.value,
@@ -570,7 +570,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr, Eina_Bool force, const char *ssig,
570 if (rp) 570 if (rp)
571 { 571 {
572 if (rp->program) 572 if (rp->program)
573 _edje_program_end(ed, rp->program); 573 _edje_program_end(ed, rp->program);
574 _edje_part_description_apply(ed, rp, 574 _edje_part_description_apply(ed, rp,
575 pr->state, 575 pr->state,
576 pr->value, 576 pr->value,
@@ -873,8 +873,11 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f
873{ 873{
874 Edje_Message_Signal emsg; 874 Edje_Message_Signal emsg;
875 const char *sep; 875 const char *sep;
876 Eina_Bool broadcast;
876 877
878 if (!ed->collection) return;
877 if (ed->delete_me) return; 879 if (ed->delete_me) return;
880 broadcast = ed->collection->broadcast_signal;
878 881
879 sep = strchr(sig, EDJE_PART_PATH_SEPARATOR); 882 sep = strchr(sig, EDJE_PART_PATH_SEPARATOR);
880 883
@@ -958,6 +961,7 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f
958 if (!ed2) goto end; 961 if (!ed2) goto end;
959 962
960 _edje_emit(ed2, newsig, src); 963 _edje_emit(ed2, newsig, src);
964 broadcast = EINA_FALSE;
961 break; 965 break;
962 966
963 case EDJE_PART_TYPE_EXTERNAL: 967 case EDJE_PART_TYPE_EXTERNAL:
@@ -976,6 +980,7 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f
976 if (!ed2) goto end; 980 if (!ed2) goto end;
977 _edje_emit(ed2, newsig, src); 981 _edje_emit(ed2, newsig, src);
978 } 982 }
983 broadcast = EINA_FALSE;
979 break ; 984 break ;
980 985
981 case EDJE_PART_TYPE_BOX: 986 case EDJE_PART_TYPE_BOX:
@@ -988,6 +993,7 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f
988 ed2 = _edje_fetch(child); 993 ed2 = _edje_fetch(child);
989 if (!ed2) goto end; 994 if (!ed2) goto end;
990 _edje_emit(ed2, newsig, src); 995 _edje_emit(ed2, newsig, src);
996 broadcast = EINA_FALSE;
991 } 997 }
992 break ; 998 break ;
993 999
@@ -1012,7 +1018,10 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f
1012 emsg.data = NULL; 1018 emsg.data = NULL;
1013 } 1019 }
1014/* new sends code */ 1020/* new sends code */
1015 edje_object_message_send(ed->obj, EDJE_MESSAGE_SIGNAL, 0, &emsg); 1021 if (broadcast)
1022 edje_object_message_send(ed->obj, EDJE_MESSAGE_SIGNAL, 0, &emsg);
1023 else
1024 _edje_message_send(ed, EDJE_QUEUE_SCRIPT, EDJE_MESSAGE_SIGNAL, 0, &emsg);
1016/* old send code - use api now 1025/* old send code - use api now
1017 _edje_message_send(ed, EDJE_QUEUE_SCRIPT, EDJE_MESSAGE_SIGNAL, 0, &emsg); 1026 _edje_message_send(ed, EDJE_QUEUE_SCRIPT, EDJE_MESSAGE_SIGNAL, 0, &emsg);
1018 EINA_LIST_FOREACH(ed->subobjs, l, obj) 1027 EINA_LIST_FOREACH(ed->subobjs, l, obj)
@@ -1037,12 +1046,8 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f
1037 1046
1038struct _Edje_Program_Data 1047struct _Edje_Program_Data
1039{ 1048{
1040#ifdef EDJE_PROGRAM_CACHE
1041 Eina_List *matches; 1049 Eina_List *matches;
1042 int matched;
1043#endif
1044 Edje *ed; 1050 Edje *ed;
1045 const char *signal;
1046 const char *source; 1051 const char *source;
1047}; 1052};
1048 1053
@@ -1056,33 +1061,16 @@ static Eina_Bool _edje_glob_callback(Edje_Program *pr, void *dt)
1056 { 1061 {
1057 rp = _edje_real_part_get(data->ed, pr->filter.part ? pr->filter.part : data->source); 1062 rp = _edje_real_part_get(data->ed, pr->filter.part ? pr->filter.part : data->source);
1058 if (rp) 1063 if (rp)
1059 exec = (rp->chosen_description->state.name == pr->filter.state); 1064 exec = (rp->chosen_description->state.name == pr->filter.state);
1060 } 1065 }
1061 1066
1062#ifdef EDJE_PROGRAM_CACHE 1067 pr->exec = exec;
1063 data->matched++;
1064#endif
1065
1066 if (exec)
1067 _edje_program_run(data->ed, pr, 0, data->signal, data->source);
1068 1068
1069 if (_edje_block_break(data->ed))
1070 {
1071#ifdef EDJE_PROGRAM_CACHE
1072 eina_list_free(data->matches);
1073 data->matches = NULL;
1074#endif
1075 return EINA_TRUE;
1076 }
1077
1078#ifdef EDJE_PROGRAM_CACHE
1079 data->matches = eina_list_append(data->matches, pr); 1069 data->matches = eina_list_append(data->matches, pr);
1080#endif
1081 1070
1082 return EINA_FALSE; 1071 return EINA_FALSE;
1083} 1072}
1084 1073
1085
1086void 1074void
1087_edje_callbacks_patterns_clean(Edje *ed) 1075_edje_callbacks_patterns_clean(Edje *ed)
1088{ 1076{
@@ -1127,7 +1115,7 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
1127 1115
1128 if (ed->collection && ed->L) 1116 if (ed->collection && ed->L)
1129 _edje_lua2_script_func_signal(ed, sig, src); 1117 _edje_lua2_script_func_signal(ed, sig, src);
1130 1118
1131 if (ed->collection) 1119 if (ed->collection)
1132 { 1120 {
1133#ifdef EDJE_PROGRAM_CACHE 1121#ifdef EDJE_PROGRAM_CACHE
@@ -1156,11 +1144,11 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
1156 1144
1157 if (eina_hash_find(ec->prog_cache.no_matches, tmps)) 1145 if (eina_hash_find(ec->prog_cache.no_matches, tmps))
1158 { 1146 {
1159 done = 1; 1147 done = 1;
1160 } 1148 }
1161 else if ((matches = eina_hash_find(ec->prog_cache.matches, tmps))) 1149 else if ((matches = eina_hash_find(ec->prog_cache.matches, tmps)))
1162 { 1150 {
1163 EINA_LIST_FOREACH(matches, l, pr) 1151 EINA_LIST_FOREACH(matches, l, pr)
1164 { 1152 {
1165 Eina_Bool exec = EINA_TRUE; 1153 Eina_Bool exec = EINA_TRUE;
1166 1154
@@ -1169,10 +1157,12 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
1169 Edje_Real_Part *rp; 1157 Edje_Real_Part *rp;
1170 1158
1171 rp = _edje_real_part_get(ed, pr->filter.part ? pr->filter.part : src); 1159 rp = _edje_real_part_get(ed, pr->filter.part ? pr->filter.part : src);
1172 if (rp) 1160 if (rp && !rp->program)
1173 exec = (rp->chosen_description->state.name == pr->filter.state); 1161 exec = (rp->chosen_description->state.name == pr->filter.state);
1174 } 1162 }
1175 1163
1164 pr->exec = exec;
1165#if 0
1176 if (exec) 1166 if (exec)
1177 { 1167 {
1178 _edje_program_run(ed, pr, 0, sig, src); 1168 _edje_program_run(ed, pr, 0, sig, src);
@@ -1181,7 +1171,19 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
1181 goto break_prog; 1171 goto break_prog;
1182 } 1172 }
1183 } 1173 }
1174#endif
1184 } 1175 }
1176
1177 EINA_LIST_FOREACH(matches, l, pr)
1178 if (pr->exec)
1179 {
1180 _edje_program_run(ed, pr, 0, sig, src);
1181 if (_edje_block_break(ed))
1182 {
1183 goto break_prog;
1184 }
1185 }
1186
1185 done = 1; 1187 done = 1;
1186 } 1188 }
1187 } 1189 }
@@ -1192,11 +1194,8 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
1192 1194
1193 data.ed = ed; 1195 data.ed = ed;
1194 data.source = src; 1196 data.source = src;
1195 data.signal = sig;
1196#ifdef EDJE_PROGRAM_CACHE
1197 data.matched = 0;
1198 data.matches = NULL; 1197 data.matches = NULL;
1199#endif 1198
1200 if (ed->table_programs_size > 0) 1199 if (ed->table_programs_size > 0)
1201 { 1200 {
1202 const Eina_List *match; 1201 const Eina_List *match;
@@ -1218,12 +1217,29 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
1218 ed->patterns.programs.exact_match); 1217 ed->patterns.programs.exact_match);
1219 EINA_LIST_FOREACH(match, l, pr) 1218 EINA_LIST_FOREACH(match, l, pr)
1220 _edje_glob_callback(pr, &data); 1219 _edje_glob_callback(pr, &data);
1220
1221#ifdef EDJE_PROGRAM_CACHE
1222 EINA_LIST_FOREACH(data.matches, l, pr)
1223#else
1224 EINA_LIST_FREE(data.matches, pr)
1225#endif
1226 {
1227 if (pr->exec)
1228 _edje_program_run(ed, pr, 0, sig, src);
1229
1230 if (_edje_block_break(ed))
1231 {
1232 eina_list_free(data.matches);
1233 data.matches = NULL;
1234 goto break_prog;
1235 }
1236 }
1221 } 1237 }
1222 1238
1223#ifdef EDJE_PROGRAM_CACHE 1239#ifdef EDJE_PROGRAM_CACHE
1224 if (tmps) 1240 if (tmps)
1225 { 1241 {
1226 if (data.matched == 0) 1242 if (data.matches == NULL)
1227 { 1243 {
1228 if (!ec->prog_cache.no_matches) 1244 if (!ec->prog_cache.no_matches)
1229 ec->prog_cache.no_matches = eina_hash_string_superfast_new(NULL); 1245 ec->prog_cache.no_matches = eina_hash_string_superfast_new(NULL);
diff --git a/libraries/edje/src/lib/edje_util.c b/libraries/edje/src/lib/edje_util.c
index 2205ba3..4ce22b5 100644
--- a/libraries/edje/src/lib/edje_util.c
+++ b/libraries/edje/src/lib/edje_util.c
@@ -905,7 +905,7 @@ edje_object_part_exists(const Evas_Object *obj, const char *part)
905 905
906 ed = _edje_fetch(obj); 906 ed = _edje_fetch(obj);
907 if ((!ed) || (!part)) return EINA_FALSE; 907 if ((!ed) || (!part)) return EINA_FALSE;
908 rp = _edje_real_part_recursive_get(ed, (char *)part); 908 rp = _edje_real_part_recursive_get(ed, part);
909 if (!rp) return EINA_FALSE; 909 if (!rp) return EINA_FALSE;
910 return EINA_TRUE; 910 return EINA_TRUE;
911} 911}
@@ -922,7 +922,7 @@ edje_object_part_object_get(const Evas_Object *obj, const char *part)
922 /* Need to recalc before providing the object. */ 922 /* Need to recalc before providing the object. */
923 _edje_recalc_do(ed); 923 _edje_recalc_do(ed);
924 924
925 rp = _edje_real_part_recursive_get(ed, (char *)part); 925 rp = _edje_real_part_recursive_get(ed, part);
926 if (!rp) return NULL; 926 if (!rp) return NULL;
927 return rp->object; 927 return rp->object;
928} 928}
@@ -946,7 +946,7 @@ edje_object_part_geometry_get(const Evas_Object *obj, const char *part, Evas_Coo
946 /* Need to recalc before providing the object. */ 946 /* Need to recalc before providing the object. */
947 _edje_recalc_do(ed); 947 _edje_recalc_do(ed);
948 948
949 rp = _edje_real_part_recursive_get(ed, (char *)part); 949 rp = _edje_real_part_recursive_get(ed, part);
950 if (!rp) 950 if (!rp)
951 { 951 {
952 if (x) *x = 0; 952 if (x) *x = 0;
@@ -1014,6 +1014,7 @@ _edje_object_part_text_raw_set(Evas_Object *obj, Edje_Real_Part *rp, const char
1014 if (text) rp->text.text = eina_stringshare_add(text); 1014 if (text) rp->text.text = eina_stringshare_add(text);
1015 rp->edje->dirty = 1; 1015 rp->edje->dirty = 1;
1016 rp->edje->recalc_call = 1; 1016 rp->edje->recalc_call = 1;
1017 rp->edje->recalc_hints = 1;
1017#ifdef EDJE_CALC_CACHE 1018#ifdef EDJE_CALC_CACHE
1018 rp->invalidate = 1; 1019 rp->invalidate = 1;
1019#endif 1020#endif
@@ -1058,6 +1059,63 @@ _edje_object_part_text_raw_append(Evas_Object *obj, Edje_Real_Part *rp, const ch
1058 return EINA_TRUE; 1059 return EINA_TRUE;
1059} 1060}
1060 1061
1062EAPI void
1063edje_object_part_text_style_user_push(Evas_Object *obj, const char *part,
1064 const char *style)
1065{
1066 Edje *ed;
1067 Edje_Real_Part *rp;
1068 Evas_Textblock_Style *ts;
1069
1070 ed = _edje_fetch(obj);
1071 if ((!ed) || (!part) || (!style)) return;
1072 rp = _edje_real_part_recursive_get(ed, part);
1073 if (!rp) return;
1074 if (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) return;
1075
1076 ts = evas_textblock_style_new();
1077 evas_textblock_style_set(ts, style);
1078 evas_object_textblock_style_user_push(rp->object, ts);
1079 evas_textblock_style_free(ts);
1080 ed->recalc_hints = 1;
1081}
1082
1083EAPI void
1084edje_object_part_text_style_user_pop(Evas_Object *obj, const char *part)
1085{
1086 Edje *ed;
1087 Edje_Real_Part *rp;
1088
1089 ed = _edje_fetch(obj);
1090 if ((!ed) || (!part)) return;
1091 rp = _edje_real_part_recursive_get(ed, part);
1092 if (!rp) return;
1093 if (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) return;
1094
1095 evas_object_textblock_style_user_pop(rp->object);
1096 ed->recalc_hints = 1;
1097}
1098
1099EAPI const char *
1100edje_object_part_text_style_user_peek(const Evas_Object *obj, const char *part)
1101{
1102 Edje *ed;
1103 Edje_Real_Part *rp;
1104 const Evas_Textblock_Style *ts;
1105
1106 ed = _edje_fetch(obj);
1107 if ((!ed) || (!part)) return NULL;
1108 rp = _edje_real_part_recursive_get(ed, part);
1109 if (!rp) return NULL;
1110 if (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) return NULL;
1111
1112 ts = evas_object_textblock_style_user_peek(rp->object);
1113 if (ts)
1114 return evas_textblock_style_get(ts);
1115 else
1116 return NULL;
1117}
1118
1061EAPI Eina_Bool 1119EAPI Eina_Bool
1062edje_object_part_text_set(Evas_Object *obj, const char *part, const char *text) 1120edje_object_part_text_set(Evas_Object *obj, const char *part, const char *text)
1063{ 1121{
@@ -1066,7 +1124,7 @@ edje_object_part_text_set(Evas_Object *obj, const char *part, const char *text)
1066 1124
1067 ed = _edje_fetch(obj); 1125 ed = _edje_fetch(obj);
1068 if ((!ed) || (!part)) return EINA_FALSE; 1126 if ((!ed) || (!part)) return EINA_FALSE;
1069 rp = _edje_real_part_recursive_get(ed, (char *)part); 1127 rp = _edje_real_part_recursive_get(ed, part);
1070 if (!rp) return EINA_FALSE; 1128 if (!rp) return EINA_FALSE;
1071 if ((rp->part->type != EDJE_PART_TYPE_TEXT) && 1129 if ((rp->part->type != EDJE_PART_TYPE_TEXT) &&
1072 (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK)) return EINA_FALSE; 1130 (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK)) return EINA_FALSE;
@@ -1085,7 +1143,7 @@ edje_object_part_text_get(const Evas_Object *obj, const char *part)
1085 /* Need to recalc before providing the object. */ 1143 /* Need to recalc before providing the object. */
1086 _edje_recalc_do(ed); 1144 _edje_recalc_do(ed);
1087 1145
1088 rp = _edje_real_part_recursive_get(ed, (char *)part); 1146 rp = _edje_real_part_recursive_get(ed, part);
1089 if (!rp) return NULL; 1147 if (!rp) return NULL;
1090 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1148 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1091 return _edje_entry_text_get(rp); 1149 return _edje_entry_text_get(rp);
@@ -1241,7 +1299,7 @@ edje_object_part_text_unescaped_get(const Evas_Object *obj, const char *part)
1241 /* Need to recalc before providing the object. */ 1299 /* Need to recalc before providing the object. */
1242 _edje_recalc_do(ed); 1300 _edje_recalc_do(ed);
1243 1301
1244 rp = _edje_real_part_recursive_get(ed, (char *)part); 1302 rp = _edje_real_part_recursive_get(ed, part);
1245 if (!rp) return NULL; 1303 if (!rp) return NULL;
1246 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1304 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1247 { 1305 {
@@ -1268,7 +1326,7 @@ edje_object_part_text_selection_get(const Evas_Object *obj, const char *part)
1268 1326
1269 ed = _edje_fetch(obj); 1327 ed = _edje_fetch(obj);
1270 if ((!ed) || (!part)) return NULL; 1328 if ((!ed) || (!part)) return NULL;
1271 rp = _edje_real_part_recursive_get(ed, (char *)part); 1329 rp = _edje_real_part_recursive_get(ed, part);
1272 if (!rp) return NULL; 1330 if (!rp) return NULL;
1273 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1331 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1274 return _edje_entry_selection_get(rp); 1332 return _edje_entry_selection_get(rp);
@@ -1283,7 +1341,7 @@ edje_object_part_text_select_none(const Evas_Object *obj, const char *part)
1283 1341
1284 ed = _edje_fetch(obj); 1342 ed = _edje_fetch(obj);
1285 if ((!ed) || (!part)) return; 1343 if ((!ed) || (!part)) return;
1286 rp = _edje_real_part_recursive_get(ed, (char *)part); 1344 rp = _edje_real_part_recursive_get(ed, part);
1287 if (!rp) return; 1345 if (!rp) return;
1288 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1346 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1289 _edje_entry_select_none(rp); 1347 _edje_entry_select_none(rp);
@@ -1297,7 +1355,7 @@ edje_object_part_text_select_all(const Evas_Object *obj, const char *part)
1297 1355
1298 ed = _edje_fetch(obj); 1356 ed = _edje_fetch(obj);
1299 if ((!ed) || (!part)) return; 1357 if ((!ed) || (!part)) return;
1300 rp = _edje_real_part_recursive_get(ed, (char *)part); 1358 rp = _edje_real_part_recursive_get(ed, part);
1301 if (!rp) return; 1359 if (!rp) return;
1302 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1360 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1303 _edje_entry_select_all(rp); 1361 _edje_entry_select_all(rp);
@@ -1311,13 +1369,14 @@ edje_object_part_text_insert(Evas_Object *obj, const char *part, const char *tex
1311 1369
1312 ed = _edje_fetch(obj); 1370 ed = _edje_fetch(obj);
1313 if ((!ed) || (!part)) return; 1371 if ((!ed) || (!part)) return;
1314 rp = _edje_real_part_recursive_get(ed, (char *)part); 1372 rp = _edje_real_part_recursive_get(ed, part);
1315 if (!rp) return; 1373 if (!rp) return;
1316 if ((rp->part->type != EDJE_PART_TYPE_TEXTBLOCK)) return; 1374 if ((rp->part->type != EDJE_PART_TYPE_TEXTBLOCK)) return;
1317 if (rp->part->entry_mode <= EDJE_ENTRY_EDIT_MODE_NONE) return; 1375 if (rp->part->entry_mode <= EDJE_ENTRY_EDIT_MODE_NONE) return;
1318 _edje_entry_text_markup_insert(rp, text); 1376 _edje_entry_text_markup_insert(rp, text);
1319 rp->edje->dirty = 1; 1377 rp->edje->dirty = 1;
1320 rp->edje->recalc_call = 1; 1378 rp->edje->recalc_call = 1;
1379 rp->edje->recalc_hints = 1;
1321#ifdef EDJE_CALC_CACHE 1380#ifdef EDJE_CALC_CACHE
1322 rp->invalidate = 1; 1381 rp->invalidate = 1;
1323#endif 1382#endif
@@ -1334,12 +1393,13 @@ edje_object_part_text_append(Evas_Object *obj, const char *part, const char *tex
1334 1393
1335 ed = _edje_fetch(obj); 1394 ed = _edje_fetch(obj);
1336 if ((!ed) || (!part)) return; 1395 if ((!ed) || (!part)) return;
1337 rp = _edje_real_part_recursive_get(ed, (char *)part); 1396 rp = _edje_real_part_recursive_get(ed, part);
1338 if (!rp) return; 1397 if (!rp) return;
1339 if ((rp->part->type != EDJE_PART_TYPE_TEXTBLOCK)) return; 1398 if ((rp->part->type != EDJE_PART_TYPE_TEXTBLOCK)) return;
1340 _edje_object_part_text_raw_append(obj, rp, part, text); 1399 _edje_object_part_text_raw_append(obj, rp, part, text);
1341 rp->edje->dirty = 1; 1400 rp->edje->dirty = 1;
1342 rp->edje->recalc_call = 1; 1401 rp->edje->recalc_call = 1;
1402 rp->edje->recalc_hints = 1;
1343#ifdef EDJE_CALC_CACHE 1403#ifdef EDJE_CALC_CACHE
1344 rp->invalidate = 1; 1404 rp->invalidate = 1;
1345#endif 1405#endif
@@ -1356,7 +1416,7 @@ edje_object_part_text_anchor_list_get(const Evas_Object *obj, const char *part)
1356 1416
1357 ed = _edje_fetch(obj); 1417 ed = _edje_fetch(obj);
1358 if ((!ed) || (!part)) return NULL; 1418 if ((!ed) || (!part)) return NULL;
1359 rp = _edje_real_part_recursive_get(ed, (char *)part); 1419 rp = _edje_real_part_recursive_get(ed, part);
1360 if (!rp) return NULL; 1420 if (!rp) return NULL;
1361 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1421 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1362 return _edje_entry_anchors_list(rp); 1422 return _edje_entry_anchors_list(rp);
@@ -1371,7 +1431,7 @@ edje_object_part_text_anchor_geometry_get(const Evas_Object *obj, const char *pa
1371 1431
1372 ed = _edje_fetch(obj); 1432 ed = _edje_fetch(obj);
1373 if ((!ed) || (!part)) return NULL; 1433 if ((!ed) || (!part)) return NULL;
1374 rp = _edje_real_part_recursive_get(ed, (char *)part); 1434 rp = _edje_real_part_recursive_get(ed, part);
1375 if (!rp) return NULL; 1435 if (!rp) return NULL;
1376 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1436 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1377 return _edje_entry_anchor_geometry_get(rp, anchor); 1437 return _edje_entry_anchor_geometry_get(rp, anchor);
@@ -1386,7 +1446,7 @@ edje_object_part_text_item_list_get(const Evas_Object *obj, const char *part)
1386 1446
1387 ed = _edje_fetch(obj); 1447 ed = _edje_fetch(obj);
1388 if ((!ed) || (!part)) return NULL; 1448 if ((!ed) || (!part)) return NULL;
1389 rp = _edje_real_part_recursive_get(ed, (char *)part); 1449 rp = _edje_real_part_recursive_get(ed, part);
1390 if (!rp) return NULL; 1450 if (!rp) return NULL;
1391 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1451 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1392 return _edje_entry_items_list(rp); 1452 return _edje_entry_items_list(rp);
@@ -1401,7 +1461,7 @@ edje_object_part_text_item_geometry_get(const Evas_Object *obj, const char *part
1401 1461
1402 ed = _edje_fetch(obj); 1462 ed = _edje_fetch(obj);
1403 if ((!ed) || (!part)) return EINA_FALSE; 1463 if ((!ed) || (!part)) return EINA_FALSE;
1404 rp = _edje_real_part_recursive_get(ed, (char *)part); 1464 rp = _edje_real_part_recursive_get(ed, part);
1405 if (!rp) return EINA_FALSE; 1465 if (!rp) return EINA_FALSE;
1406 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1466 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1407 return _edje_entry_item_geometry_get(rp, item, cx, cy, cw, ch); 1467 return _edje_entry_item_geometry_get(rp, item, cx, cy, cw, ch);
@@ -1420,7 +1480,7 @@ edje_object_part_text_cursor_geometry_get(const Evas_Object *obj, const char *pa
1420 if (w) *w = 0; 1480 if (w) *w = 0;
1421 if (h) *h = 0; 1481 if (h) *h = 0;
1422 if ((!ed) || (!part)) return; 1482 if ((!ed) || (!part)) return;
1423 rp = _edje_real_part_recursive_get(ed, (char *)part); 1483 rp = _edje_real_part_recursive_get(ed, part);
1424 if (!rp) return; 1484 if (!rp) return;
1425 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1485 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1426 { 1486 {
@@ -1432,6 +1492,20 @@ edje_object_part_text_cursor_geometry_get(const Evas_Object *obj, const char *pa
1432} 1492}
1433 1493
1434EAPI void 1494EAPI void
1495edje_object_part_text_user_insert(const Evas_Object *obj, const char *part, const char *text)
1496{
1497 Edje *ed;
1498 Edje_Real_Part *rp;
1499
1500 ed = _edje_fetch(obj);
1501 if ((!ed) || (!part)) return;
1502 rp = _edje_real_part_recursive_get(ed, part);
1503 if (!rp) return;
1504 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1505 _edje_entry_user_insert(rp, text);
1506}
1507
1508EAPI void
1435edje_object_part_text_select_allow_set(const Evas_Object *obj, const char *part, Eina_Bool allow) 1509edje_object_part_text_select_allow_set(const Evas_Object *obj, const char *part, Eina_Bool allow)
1436{ 1510{
1437 Edje *ed; 1511 Edje *ed;
@@ -1439,7 +1513,7 @@ edje_object_part_text_select_allow_set(const Evas_Object *obj, const char *part,
1439 1513
1440 ed = _edje_fetch(obj); 1514 ed = _edje_fetch(obj);
1441 if ((!ed) || (!part)) return; 1515 if ((!ed) || (!part)) return;
1442 rp = _edje_real_part_recursive_get(ed, (char *)part); 1516 rp = _edje_real_part_recursive_get(ed, part);
1443 if (!rp) return; 1517 if (!rp) return;
1444 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1518 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1445 _edje_entry_select_allow_set(rp, allow); 1519 _edje_entry_select_allow_set(rp, allow);
@@ -1453,7 +1527,7 @@ edje_object_part_text_select_abort(const Evas_Object *obj, const char *part)
1453 1527
1454 ed = _edje_fetch(obj); 1528 ed = _edje_fetch(obj);
1455 if ((!ed) || (!part)) return; 1529 if ((!ed) || (!part)) return;
1456 rp = _edje_real_part_recursive_get(ed, (char *)part); 1530 rp = _edje_real_part_recursive_get(ed, part);
1457 if (!rp) return; 1531 if (!rp) return;
1458 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1532 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1459 _edje_entry_select_abort(rp); 1533 _edje_entry_select_abort(rp);
@@ -1467,7 +1541,7 @@ edje_object_part_text_select_begin(const Evas_Object *obj, const char *part)
1467 1541
1468 ed = _edje_fetch(obj); 1542 ed = _edje_fetch(obj);
1469 if ((!ed) || (!part)) return; 1543 if ((!ed) || (!part)) return;
1470 rp = _edje_real_part_recursive_get(ed, (char *)part); 1544 rp = _edje_real_part_recursive_get(ed, part);
1471 if (!rp) return; 1545 if (!rp) return;
1472 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1546 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1473 _edje_entry_select_begin(rp); 1547 _edje_entry_select_begin(rp);
@@ -1481,12 +1555,30 @@ edje_object_part_text_select_extend(const Evas_Object *obj, const char *part)
1481 1555
1482 ed = _edje_fetch(obj); 1556 ed = _edje_fetch(obj);
1483 if ((!ed) || (!part)) return; 1557 if ((!ed) || (!part)) return;
1484 rp = _edje_real_part_recursive_get(ed, (char *)part); 1558 rp = _edje_real_part_recursive_get(ed, part);
1485 if (!rp) return; 1559 if (!rp) return;
1486 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1560 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1487 _edje_entry_select_extend(rp); 1561 _edje_entry_select_extend(rp);
1488} 1562}
1489 1563
1564EAPI void *
1565edje_object_part_text_imf_context_get(const Evas_Object *obj, const char *part)
1566{
1567 Edje *ed;
1568 Edje_Real_Part *rp;
1569
1570 ed = _edje_fetch(obj);
1571 if ((!ed) || (!part)) return NULL;
1572
1573 rp = _edje_real_part_recursive_get(ed, (char *)part);
1574 if (!rp) return NULL;
1575
1576 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1577 return _edje_entry_imf_context_get(rp);
1578 else
1579 return NULL;
1580}
1581
1490EAPI Eina_Bool 1582EAPI Eina_Bool
1491edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Cursor cur) 1583edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Cursor cur)
1492{ 1584{
@@ -1495,7 +1587,7 @@ edje_object_part_text_cursor_next(Evas_Object *obj, const char *part, Edje_Curso
1495 1587
1496 ed = _edje_fetch(obj); 1588 ed = _edje_fetch(obj);
1497 if ((!ed) || (!part)) return EINA_FALSE; 1589 if ((!ed) || (!part)) return EINA_FALSE;
1498 rp = _edje_real_part_recursive_get(ed, (char *)part); 1590 rp = _edje_real_part_recursive_get(ed, part);
1499 if (!rp) return EINA_FALSE; 1591 if (!rp) return EINA_FALSE;
1500 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1592 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1501 { 1593 {
@@ -1512,7 +1604,7 @@ edje_object_part_text_cursor_prev(Evas_Object *obj, const char *part, Edje_Curso
1512 1604
1513 ed = _edje_fetch(obj); 1605 ed = _edje_fetch(obj);
1514 if ((!ed) || (!part)) return EINA_FALSE; 1606 if ((!ed) || (!part)) return EINA_FALSE;
1515 rp = _edje_real_part_recursive_get(ed, (char *)part); 1607 rp = _edje_real_part_recursive_get(ed, part);
1516 if (!rp) return EINA_FALSE; 1608 if (!rp) return EINA_FALSE;
1517 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1609 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1518 { 1610 {
@@ -1529,7 +1621,7 @@ edje_object_part_text_cursor_up(Evas_Object *obj, const char *part, Edje_Cursor
1529 1621
1530 ed = _edje_fetch(obj); 1622 ed = _edje_fetch(obj);
1531 if ((!ed) || (!part)) return EINA_FALSE; 1623 if ((!ed) || (!part)) return EINA_FALSE;
1532 rp = _edje_real_part_recursive_get(ed, (char *)part); 1624 rp = _edje_real_part_recursive_get(ed, part);
1533 if (!rp) return EINA_FALSE; 1625 if (!rp) return EINA_FALSE;
1534 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1626 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1535 { 1627 {
@@ -1546,7 +1638,7 @@ edje_object_part_text_cursor_down(Evas_Object *obj, const char *part, Edje_Curso
1546 1638
1547 ed = _edje_fetch(obj); 1639 ed = _edje_fetch(obj);
1548 if ((!ed) || (!part)) return EINA_FALSE; 1640 if ((!ed) || (!part)) return EINA_FALSE;
1549 rp = _edje_real_part_recursive_get(ed, (char *)part); 1641 rp = _edje_real_part_recursive_get(ed, part);
1550 if (!rp) return EINA_FALSE; 1642 if (!rp) return EINA_FALSE;
1551 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1643 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1552 { 1644 {
@@ -1563,7 +1655,7 @@ edje_object_part_text_cursor_begin_set(Evas_Object *obj, const char *part, Edje_
1563 1655
1564 ed = _edje_fetch(obj); 1656 ed = _edje_fetch(obj);
1565 if ((!ed) || (!part)) return; 1657 if ((!ed) || (!part)) return;
1566 rp = _edje_real_part_recursive_get(ed, (char *)part); 1658 rp = _edje_real_part_recursive_get(ed, part);
1567 if (!rp) return; 1659 if (!rp) return;
1568 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1660 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1569 { 1661 {
@@ -1579,7 +1671,7 @@ edje_object_part_text_cursor_end_set(Evas_Object *obj, const char *part, Edje_Cu
1579 1671
1580 ed = _edje_fetch(obj); 1672 ed = _edje_fetch(obj);
1581 if ((!ed) || (!part)) return; 1673 if ((!ed) || (!part)) return;
1582 rp = _edje_real_part_recursive_get(ed, (char *)part); 1674 rp = _edje_real_part_recursive_get(ed, part);
1583 if (!rp) return; 1675 if (!rp) return;
1584 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1676 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1585 { 1677 {
@@ -1595,7 +1687,7 @@ edje_object_part_text_cursor_copy(Evas_Object *obj, const char *part, Edje_Curso
1595 1687
1596 ed = _edje_fetch(obj); 1688 ed = _edje_fetch(obj);
1597 if ((!ed) || (!part)) return; 1689 if ((!ed) || (!part)) return;
1598 rp = _edje_real_part_recursive_get(ed, (char *)part); 1690 rp = _edje_real_part_recursive_get(ed, part);
1599 if (!rp) return; 1691 if (!rp) return;
1600 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1692 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1601 { 1693 {
@@ -1611,7 +1703,7 @@ edje_object_part_text_cursor_line_begin_set(Evas_Object *obj, const char *part,
1611 1703
1612 ed = _edje_fetch(obj); 1704 ed = _edje_fetch(obj);
1613 if ((!ed) || (!part)) return; 1705 if ((!ed) || (!part)) return;
1614 rp = _edje_real_part_recursive_get(ed, (char *)part); 1706 rp = _edje_real_part_recursive_get(ed, part);
1615 if (!rp) return; 1707 if (!rp) return;
1616 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1708 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1617 { 1709 {
@@ -1627,7 +1719,7 @@ edje_object_part_text_cursor_line_end_set(Evas_Object *obj, const char *part, Ed
1627 1719
1628 ed = _edje_fetch(obj); 1720 ed = _edje_fetch(obj);
1629 if ((!ed) || (!part)) return; 1721 if ((!ed) || (!part)) return;
1630 rp = _edje_real_part_recursive_get(ed, (char *)part); 1722 rp = _edje_real_part_recursive_get(ed, part);
1631 if (!rp) return; 1723 if (!rp) return;
1632 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1724 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1633 { 1725 {
@@ -1644,7 +1736,7 @@ edje_object_part_text_cursor_coord_set(Evas_Object *obj, const char *part,
1644 1736
1645 ed = _edje_fetch(obj); 1737 ed = _edje_fetch(obj);
1646 if ((!ed) || (!part)) return EINA_FALSE; 1738 if ((!ed) || (!part)) return EINA_FALSE;
1647 rp = _edje_real_part_recursive_get(ed, (char *)part); 1739 rp = _edje_real_part_recursive_get(ed, part);
1648 if (!rp) return EINA_FALSE; 1740 if (!rp) return EINA_FALSE;
1649 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1741 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1650 { 1742 {
@@ -1661,7 +1753,7 @@ edje_object_part_text_cursor_is_format_get(const Evas_Object *obj, const char *p
1661 1753
1662 ed = _edje_fetch(obj); 1754 ed = _edje_fetch(obj);
1663 if ((!ed) || (!part)) return EINA_FALSE; 1755 if ((!ed) || (!part)) return EINA_FALSE;
1664 rp = _edje_real_part_recursive_get(ed, (char *)part); 1756 rp = _edje_real_part_recursive_get(ed, part);
1665 if (!rp) return EINA_FALSE; 1757 if (!rp) return EINA_FALSE;
1666 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1758 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1667 { 1759 {
@@ -1678,7 +1770,7 @@ edje_object_part_text_cursor_is_visible_format_get(const Evas_Object *obj, const
1678 1770
1679 ed = _edje_fetch(obj); 1771 ed = _edje_fetch(obj);
1680 if ((!ed) || (!part)) return 0; 1772 if ((!ed) || (!part)) return 0;
1681 rp = _edje_real_part_recursive_get(ed, (char *)part); 1773 rp = _edje_real_part_recursive_get(ed, part);
1682 if (!rp) return 0; 1774 if (!rp) return 0;
1683 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1775 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1684 { 1776 {
@@ -1738,7 +1830,7 @@ edje_object_part_text_cursor_pos_get(const Evas_Object *obj, const char *part, E
1738} 1830}
1739 1831
1740EAPI void 1832EAPI void
1741edje_object_part_text_input_panel_layout_set(const Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout) 1833edje_object_part_text_imf_context_reset(const Evas_Object *obj, const char *part)
1742{ 1834{
1743 Edje *ed; 1835 Edje *ed;
1744 Edje_Real_Part *rp; 1836 Edje_Real_Part *rp;
@@ -1749,7 +1841,23 @@ edje_object_part_text_input_panel_layout_set(const Evas_Object *obj, const char
1749 if (!rp) return; 1841 if (!rp) return;
1750 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1842 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1751 { 1843 {
1752 return _edje_entry_input_panel_layout_set(rp, layout); 1844 _edje_entry_imf_context_reset(rp);
1845 }
1846}
1847
1848EAPI void
1849edje_object_part_text_input_panel_layout_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout)
1850{
1851 Edje *ed;
1852 Edje_Real_Part *rp;
1853
1854 ed = _edje_fetch(obj);
1855 if ((!ed) || (!part)) return;
1856 rp = _edje_real_part_recursive_get(ed, part);
1857 if (!rp) return;
1858 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1859 {
1860 _edje_entry_input_panel_layout_set(rp, layout);
1753 } 1861 }
1754} 1862}
1755 1863
@@ -1771,14 +1879,14 @@ edje_object_part_text_input_panel_layout_get(const Evas_Object *obj, const char
1771} 1879}
1772 1880
1773EAPI void 1881EAPI void
1774edje_object_part_text_autocapital_type_set(const Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type) 1882edje_object_part_text_autocapital_type_set(Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type)
1775{ 1883{
1776 Edje *ed; 1884 Edje *ed;
1777 Edje_Real_Part *rp; 1885 Edje_Real_Part *rp;
1778 1886
1779 ed = _edje_fetch(obj); 1887 ed = _edje_fetch(obj);
1780 if ((!ed) || (!part)) return; 1888 if ((!ed) || (!part)) return;
1781 rp = _edje_real_part_recursive_get(ed, (char *)part); 1889 rp = _edje_real_part_recursive_get(ed, part);
1782 if (!rp) return; 1890 if (!rp) return;
1783 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1891 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1784 { 1892 {
@@ -1794,7 +1902,7 @@ edje_object_part_text_autocapital_type_get(const Evas_Object *obj, const char *p
1794 1902
1795 ed = _edje_fetch(obj); 1903 ed = _edje_fetch(obj);
1796 if ((!ed) || (!part)) return EDJE_TEXT_AUTOCAPITAL_TYPE_NONE; 1904 if ((!ed) || (!part)) return EDJE_TEXT_AUTOCAPITAL_TYPE_NONE;
1797 rp = _edje_real_part_recursive_get(ed, (char *)part); 1905 rp = _edje_real_part_recursive_get(ed, part);
1798 if (!rp) return EDJE_TEXT_AUTOCAPITAL_TYPE_NONE; 1906 if (!rp) return EDJE_TEXT_AUTOCAPITAL_TYPE_NONE;
1799 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1907 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1800 { 1908 {
@@ -1804,7 +1912,40 @@ edje_object_part_text_autocapital_type_get(const Evas_Object *obj, const char *p
1804} 1912}
1805 1913
1806EAPI void 1914EAPI void
1807edje_object_part_text_input_panel_enabled_set(const Evas_Object *obj, const char *part, Eina_Bool enabled) 1915edje_object_part_text_prediction_allow_set(Evas_Object *obj, const char *part, Eina_Bool prediction)
1916{
1917 Edje *ed;
1918 Edje_Real_Part *rp;
1919
1920 ed = _edje_fetch(obj);
1921 if ((!ed) || (!part)) return;
1922 rp = _edje_real_part_recursive_get(ed, part);
1923 if (!rp) return;
1924 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1925 {
1926 _edje_entry_prediction_allow_set(rp, prediction);
1927 }
1928}
1929
1930EAPI Eina_Bool
1931edje_object_part_text_prediction_allow_get(const Evas_Object *obj, const char *part)
1932{
1933 Edje *ed;
1934 Edje_Real_Part *rp;
1935
1936 ed = _edje_fetch(obj);
1937 if ((!ed) || (!part)) return EINA_FALSE;
1938 rp = _edje_real_part_recursive_get(ed, part);
1939 if (!rp) return EINA_FALSE;
1940 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1941 {
1942 return _edje_entry_prediction_allow_get(rp);
1943 }
1944 return EINA_FALSE;
1945}
1946
1947EAPI void
1948edje_object_part_text_input_panel_enabled_set(Evas_Object *obj, const char *part, Eina_Bool enabled)
1808{ 1949{
1809 Edje *ed; 1950 Edje *ed;
1810 Edje_Real_Part *rp; 1951 Edje_Real_Part *rp;
@@ -1815,7 +1956,7 @@ edje_object_part_text_input_panel_enabled_set(const Evas_Object *obj, const char
1815 if (!rp) return; 1956 if (!rp) return;
1816 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE) 1957 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1817 { 1958 {
1818 return _edje_entry_input_panel_enabled_set(rp, enabled); 1959 _edje_entry_input_panel_enabled_set(rp, enabled);
1819 } 1960 }
1820} 1961}
1821 1962
@@ -1837,6 +1978,165 @@ edje_object_part_text_input_panel_enabled_get(const Evas_Object *obj, const char
1837} 1978}
1838 1979
1839EAPI void 1980EAPI void
1981edje_object_part_text_input_panel_show(const Evas_Object *obj, const char *part)
1982{
1983 Edje *ed;
1984 Edje_Real_Part *rp;
1985
1986 ed = _edje_fetch(obj);
1987 if ((!ed) || (!part)) return;
1988 rp = _edje_real_part_recursive_get(ed, part);
1989 if (!rp) return;
1990 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
1991 _edje_entry_input_panel_show(rp);
1992}
1993
1994EAPI void
1995edje_object_part_text_input_panel_hide(const Evas_Object *obj, const char *part)
1996{
1997 Edje *ed;
1998 Edje_Real_Part *rp;
1999
2000 ed = _edje_fetch(obj);
2001 if ((!ed) || (!part)) return;
2002 rp = _edje_real_part_recursive_get(ed, part);
2003 if (!rp) return;
2004 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2005 _edje_entry_input_panel_hide(rp);
2006}
2007
2008EAPI void
2009edje_object_part_text_input_panel_language_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Lang lang)
2010{
2011 Edje *ed;
2012 Edje_Real_Part *rp;
2013
2014 ed = _edje_fetch(obj);
2015 if ((!ed) || (!part)) return;
2016 rp = _edje_real_part_recursive_get(ed, part);
2017 if (!rp) return;
2018 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2019 {
2020 _edje_entry_input_panel_language_set(rp, lang);
2021 }
2022}
2023
2024EAPI Edje_Input_Panel_Lang
2025edje_object_part_text_input_panel_language_get(const Evas_Object *obj, const char *part)
2026{
2027 Edje *ed;
2028 Edje_Real_Part *rp;
2029
2030 ed = _edje_fetch(obj);
2031 if ((!ed) || (!part)) return EDJE_INPUT_PANEL_LANG_AUTOMATIC;
2032 rp = _edje_real_part_recursive_get(ed, part);
2033 if (!rp) return EDJE_INPUT_PANEL_LANG_AUTOMATIC;
2034 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2035 {
2036 return _edje_entry_input_panel_language_get(rp);
2037 }
2038 return EDJE_INPUT_PANEL_LANG_AUTOMATIC;
2039}
2040
2041EAPI void
2042edje_object_part_text_input_panel_imdata_set(Evas_Object *obj, const char *part, const void *data, int len)
2043{
2044 Edje *ed;
2045 Edje_Real_Part *rp;
2046
2047 ed = _edje_fetch(obj);
2048 if ((!ed) || (!part)) return;
2049 rp = _edje_real_part_recursive_get(ed, part);
2050 if (!rp) return;
2051 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2052 {
2053 _edje_entry_input_panel_imdata_set(rp, data, len);
2054 }
2055}
2056
2057EAPI void
2058edje_object_part_text_input_panel_imdata_get(const Evas_Object *obj, const char *part, void *data, int *len)
2059{
2060 Edje *ed;
2061 Edje_Real_Part *rp;
2062
2063 ed = _edje_fetch(obj);
2064 if ((!ed) || (!part)) return;
2065 rp = _edje_real_part_recursive_get(ed, part);
2066 if (!rp) return;
2067 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2068 {
2069 _edje_entry_input_panel_imdata_get(rp, data, len);
2070 }
2071}
2072
2073EAPI void
2074edje_object_part_text_input_panel_return_key_type_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type)
2075{
2076 Edje *ed;
2077 Edje_Real_Part *rp;
2078
2079 ed = _edje_fetch(obj);
2080 if ((!ed) || (!part)) return;
2081 rp = _edje_real_part_recursive_get(ed, part);
2082 if (!rp) return;
2083 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2084 {
2085 _edje_entry_input_panel_return_key_type_set(rp, return_key_type);
2086 }
2087}
2088
2089EAPI Edje_Input_Panel_Return_Key_Type
2090edje_object_part_text_input_panel_return_key_type_get(const Evas_Object *obj, const char *part)
2091{
2092 Edje *ed;
2093 Edje_Real_Part *rp;
2094
2095 ed = _edje_fetch(obj);
2096 if ((!ed) || (!part)) return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
2097 rp = _edje_real_part_recursive_get(ed, part);
2098 if (!rp) return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
2099 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2100 {
2101 return _edje_entry_input_panel_return_key_type_get(rp);
2102 }
2103 return EDJE_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT;
2104}
2105
2106EAPI void
2107edje_object_part_text_input_panel_return_key_disabled_set(Evas_Object *obj, const char *part, Eina_Bool disabled)
2108{
2109 Edje *ed;
2110 Edje_Real_Part *rp;
2111
2112 ed = _edje_fetch(obj);
2113 if ((!ed) || (!part)) return;
2114 rp = _edje_real_part_recursive_get(ed, part);
2115 if (!rp) return;
2116 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2117 {
2118 _edje_entry_input_panel_return_key_disabled_set(rp, disabled);
2119 }
2120}
2121
2122EAPI Eina_Bool
2123edje_object_part_text_input_panel_return_key_disabled_get(const Evas_Object *obj, const char *part)
2124{
2125 Edje *ed;
2126 Edje_Real_Part *rp;
2127
2128 ed = _edje_fetch(obj);
2129 if ((!ed) || (!part)) return EINA_FALSE;
2130 rp = _edje_real_part_recursive_get(ed, part);
2131 if (!rp) return EINA_FALSE;
2132 if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
2133 {
2134 return _edje_entry_input_panel_return_key_disabled_get(rp);
2135 }
2136 return EINA_FALSE;
2137}
2138
2139EAPI void
1840edje_object_text_insert_filter_callback_add(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data) 2140edje_object_text_insert_filter_callback_add(Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
1841{ 2141{
1842 Edje *ed; 2142 Edje *ed;
@@ -1901,6 +2201,71 @@ edje_object_text_insert_filter_callback_del_full(Evas_Object *obj, const char *p
1901 return NULL; 2201 return NULL;
1902} 2202}
1903 2203
2204EAPI void
2205edje_object_text_markup_filter_callback_add(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data)
2206{
2207 Edje *ed;
2208 Edje_Markup_Filter_Callback *cb;
2209
2210 ed = _edje_fetch(obj);
2211 if ((!ed) || (!part)) return;
2212 cb = calloc(1, sizeof(Edje_Markup_Filter_Callback));
2213 cb->part = eina_stringshare_add(part);
2214 cb->func = func;
2215 cb->data = (void *)data;
2216 ed->markup_filter_callbacks =
2217 eina_list_append(ed->markup_filter_callbacks, cb);
2218}
2219
2220EAPI void *
2221edje_object_text_markup_filter_callback_del(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func)
2222{
2223 Edje *ed;
2224 Edje_Markup_Filter_Callback *cb;
2225 Eina_List *l;
2226
2227 ed = _edje_fetch(obj);
2228 if ((!ed) || (!part)) return NULL;
2229 EINA_LIST_FOREACH(ed->markup_filter_callbacks, l, cb)
2230 {
2231 if ((!strcmp(cb->part, part)) && (cb->func == func))
2232 {
2233 void *data = cb->data;
2234 ed->markup_filter_callbacks =
2235 eina_list_remove_list(ed->markup_filter_callbacks, l);
2236 eina_stringshare_del(cb->part);
2237 free(cb);
2238 return data;
2239 }
2240 }
2241 return NULL;
2242}
2243
2244EAPI void *
2245edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data)
2246{
2247 Edje *ed;
2248 Edje_Markup_Filter_Callback *cb;
2249 Eina_List *l;
2250
2251 ed = _edje_fetch(obj);
2252 if ((!ed) || (!part)) return NULL;
2253 EINA_LIST_FOREACH(ed->markup_filter_callbacks, l, cb)
2254 {
2255 if ((!strcmp(cb->part, part)) && (cb->func == func) &&
2256 (cb->data == data))
2257 {
2258 void *tmp = cb->data;
2259 ed->markup_filter_callbacks =
2260 eina_list_remove_list(ed->markup_filter_callbacks, l);
2261 eina_stringshare_del(cb->part);
2262 free(cb);
2263 return tmp;
2264 }
2265 }
2266 return NULL;
2267}
2268
1904EAPI Eina_Bool 2269EAPI Eina_Bool
1905edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_swallow) 2270edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_swallow)
1906{ 2271{
@@ -1927,8 +2292,12 @@ edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_sw
1927 edje_object_part_unswallow(rp->edje->obj, obj_swallow); 2292 edje_object_part_unswallow(rp->edje->obj, obj_swallow);
1928 } 2293 }
1929 2294
1930 rp = _edje_real_part_recursive_get(ed, (char *)part); 2295 rp = _edje_real_part_recursive_get(ed, part);
1931 if (!rp) return EINA_FALSE; 2296 if (!rp)
2297 {
2298 DBG("cannot swallow part %s: part not exist!", part);
2299 return EINA_FALSE;
2300 }
1932 if (rp->part->type != EDJE_PART_TYPE_SWALLOW) 2301 if (rp->part->type != EDJE_PART_TYPE_SWALLOW)
1933 { 2302 {
1934 ERR("cannot swallow part %s: not swallow type!", rp->part->name); 2303 ERR("cannot swallow part %s: not swallow type!", rp->part->name);
@@ -2261,7 +2630,7 @@ edje_object_part_swallow_get(const Evas_Object *obj, const char *part)
2261 /* Need to recalc before providing the object. */ 2630 /* Need to recalc before providing the object. */
2262 _edje_recalc_do(ed); 2631 _edje_recalc_do(ed);
2263 2632
2264 rp = _edje_real_part_recursive_get(ed, (char *)part); 2633 rp = _edje_real_part_recursive_get(ed, part);
2265 if (!rp) return NULL; 2634 if (!rp) return NULL;
2266 return rp->swallowed_object; 2635 return rp->swallowed_object;
2267} 2636}
@@ -2353,8 +2722,8 @@ EAPI Eina_Bool
2353edje_object_parts_extends_calc(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) 2722edje_object_parts_extends_calc(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
2354{ 2723{
2355 Edje *ed; 2724 Edje *ed;
2356 Evas_Coord x1 = INT_MAX, y1 = INT_MAX; 2725 Evas_Coord xx1 = INT_MAX, yy1 = INT_MAX;
2357 Evas_Coord x2 = 0, y2 = 0; 2726 Evas_Coord xx2 = 0, yy2 = 0;
2358 unsigned int i; 2727 unsigned int i;
2359 2728
2360 ed = _edje_fetch(obj); 2729 ed = _edje_fetch(obj);
@@ -2386,18 +2755,18 @@ edje_object_parts_extends_calc(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, E
2386 rpx2 = rpx1 + rp->w; 2755 rpx2 = rpx1 + rp->w;
2387 rpy2 = rpy1 + rp->h; 2756 rpy2 = rpy1 + rp->h;
2388 2757
2389 if (x1 > rpx1) x1 = rpx1; 2758 if (xx1 > rpx1) xx1 = rpx1;
2390 if (y1 > rpy1) y1 = rpy1; 2759 if (yy1 > rpy1) yy1 = rpy1;
2391 if (x2 < rpx2) x2 = rpx2; 2760 if (xx2 < rpx2) xx2 = rpx2;
2392 if (y2 < rpy2) y2 = rpy2; 2761 if (yy2 < rpy2) yy2 = rpy2;
2393 } 2762 }
2394 2763
2395 ed->calc_only = 0; 2764 ed->calc_only = 0;
2396 2765
2397 if (x) *x = x1; 2766 if (x) *x = xx1;
2398 if (y) *y = y1; 2767 if (y) *y = yy1;
2399 if (w) *w = x2 - x1; 2768 if (w) *w = xx2 - xx1;
2400 if (h) *h = y2 - y1; 2769 if (h) *h = yy2 - yy1;
2401 2770
2402 return EINA_TRUE; 2771 return EINA_TRUE;
2403} 2772}
@@ -2448,6 +2817,7 @@ edje_object_size_min_restricted_calc(Evas_Object *obj, Evas_Coord *minw, Evas_Co
2448 maxh = 0; 2817 maxh = 0;
2449 } 2818 }
2450 pep = NULL; 2819 pep = NULL;
2820 has_non_fixed_tb = EINA_FALSE;
2451 for (i = 0; i < ed->table_parts_size; i++) 2821 for (i = 0; i < ed->table_parts_size; i++)
2452 { 2822 {
2453 Edje_Real_Part *ep; 2823 Edje_Real_Part *ep;
@@ -2569,7 +2939,7 @@ edje_object_part_state_get(const Evas_Object *obj, const char *part, double *val
2569 /* Need to recalc before providing the object. */ 2939 /* Need to recalc before providing the object. */
2570 _edje_recalc_do(ed); 2940 _edje_recalc_do(ed);
2571 2941
2572 rp = _edje_real_part_recursive_get(ed, (char *)part); 2942 rp = _edje_real_part_recursive_get(ed, part);
2573 if (!rp) 2943 if (!rp)
2574 { 2944 {
2575 if (val_ret) *val_ret = 0; 2945 if (val_ret) *val_ret = 0;
@@ -2609,7 +2979,7 @@ edje_object_part_drag_dir_get(const Evas_Object *obj, const char *part)
2609 /* Need to recalc before providing the object. */ 2979 /* Need to recalc before providing the object. */
2610 _edje_recalc_do(ed); 2980 _edje_recalc_do(ed);
2611 2981
2612 rp = _edje_real_part_recursive_get(ed, (char *)part); 2982 rp = _edje_real_part_recursive_get(ed, part);
2613 if (!rp) return EDJE_DRAG_DIR_NONE; 2983 if (!rp) return EDJE_DRAG_DIR_NONE;
2614 if ((rp->part->dragable.x) && (rp->part->dragable.y)) return EDJE_DRAG_DIR_XY; 2984 if ((rp->part->dragable.x) && (rp->part->dragable.y)) return EDJE_DRAG_DIR_XY;
2615 else if (rp->part->dragable.x) return EDJE_DRAG_DIR_X; 2985 else if (rp->part->dragable.x) return EDJE_DRAG_DIR_X;
@@ -2625,7 +2995,7 @@ edje_object_part_drag_value_set(Evas_Object *obj, const char *part, double dx, d
2625 2995
2626 ed = _edje_fetch(obj); 2996 ed = _edje_fetch(obj);
2627 if ((!ed) || (!part)) return EINA_FALSE; 2997 if ((!ed) || (!part)) return EINA_FALSE;
2628 rp = _edje_real_part_recursive_get(ed, (char *)part); 2998 rp = _edje_real_part_recursive_get(ed, part);
2629 if (!rp) return EINA_FALSE; 2999 if (!rp) return EINA_FALSE;
2630 if (!rp->drag) return EINA_FALSE; 3000 if (!rp->drag) return EINA_FALSE;
2631 if (rp->drag->down.count > 0) return EINA_FALSE; 3001 if (rp->drag->down.count > 0) return EINA_FALSE;
@@ -2666,7 +3036,7 @@ edje_object_part_drag_value_get(const Evas_Object *obj, const char *part, double
2666 /* Need to recalc before providing the object. */ 3036 /* Need to recalc before providing the object. */
2667 _edje_recalc_do(ed); 3037 _edje_recalc_do(ed);
2668 3038
2669 rp = _edje_real_part_recursive_get(ed, (char *)part); 3039 rp = _edje_real_part_recursive_get(ed, part);
2670 if (!rp || !rp->drag) 3040 if (!rp || !rp->drag)
2671 { 3041 {
2672 if (dx) *dx = 0; 3042 if (dx) *dx = 0;
@@ -2690,7 +3060,7 @@ edje_object_part_drag_size_set(Evas_Object *obj, const char *part, double dw, do
2690 3060
2691 ed = _edje_fetch(obj); 3061 ed = _edje_fetch(obj);
2692 if ((!ed) || (!part)) return EINA_FALSE; 3062 if ((!ed) || (!part)) return EINA_FALSE;
2693 rp = _edje_real_part_recursive_get(ed, (char *)part); 3063 rp = _edje_real_part_recursive_get(ed, part);
2694 if (!rp) return EINA_FALSE; 3064 if (!rp) return EINA_FALSE;
2695 if (!rp->drag) return EINA_FALSE; 3065 if (!rp->drag) return EINA_FALSE;
2696 if (dw < 0.0) dw = 0.0; 3066 if (dw < 0.0) dw = 0.0;
@@ -2726,7 +3096,7 @@ edje_object_part_drag_size_get(const Evas_Object *obj, const char *part, double
2726 /* Need to recalc before providing the object. */ 3096 /* Need to recalc before providing the object. */
2727 _edje_recalc_do(ed); 3097 _edje_recalc_do(ed);
2728 3098
2729 rp = _edje_real_part_recursive_get(ed, (char *)part); 3099 rp = _edje_real_part_recursive_get(ed, part);
2730 if (!rp || !rp->drag) 3100 if (!rp || !rp->drag)
2731 { 3101 {
2732 if (dw) *dw = 0; 3102 if (dw) *dw = 0;
@@ -2746,7 +3116,7 @@ edje_object_part_drag_step_set(Evas_Object *obj, const char *part, double dx, do
2746 3116
2747 ed = _edje_fetch(obj); 3117 ed = _edje_fetch(obj);
2748 if ((!ed) || (!part)) return EINA_FALSE; 3118 if ((!ed) || (!part)) return EINA_FALSE;
2749 rp = _edje_real_part_recursive_get(ed, (char *)part); 3119 rp = _edje_real_part_recursive_get(ed, part);
2750 if (!rp) return EINA_FALSE; 3120 if (!rp) return EINA_FALSE;
2751 if (!rp->drag) return EINA_FALSE; 3121 if (!rp->drag) return EINA_FALSE;
2752 if (dx < 0.0) dx = 0.0; 3122 if (dx < 0.0) dx = 0.0;
@@ -2778,7 +3148,7 @@ edje_object_part_drag_step_get(const Evas_Object *obj, const char *part, double
2778 /* Need to recalc before providing the object. */ 3148 /* Need to recalc before providing the object. */
2779 _edje_recalc_do(ed); 3149 _edje_recalc_do(ed);
2780 3150
2781 rp = _edje_real_part_recursive_get(ed, (char *)part); 3151 rp = _edje_real_part_recursive_get(ed, part);
2782 if (!rp || !rp->drag) 3152 if (!rp || !rp->drag)
2783 { 3153 {
2784 if (dx) *dx = 0; 3154 if (dx) *dx = 0;
@@ -2798,7 +3168,7 @@ edje_object_part_drag_page_set(Evas_Object *obj, const char *part, double dx, do
2798 3168
2799 ed = _edje_fetch(obj); 3169 ed = _edje_fetch(obj);
2800 if ((!ed) || (!part)) return EINA_FALSE; 3170 if ((!ed) || (!part)) return EINA_FALSE;
2801 rp = _edje_real_part_recursive_get(ed, (char *)part); 3171 rp = _edje_real_part_recursive_get(ed, part);
2802 if (!rp) return EINA_FALSE; 3172 if (!rp) return EINA_FALSE;
2803 if (!rp->drag) return EINA_FALSE; 3173 if (!rp->drag) return EINA_FALSE;
2804 if (dx < 0.0) dx = 0.0; 3174 if (dx < 0.0) dx = 0.0;
@@ -2830,7 +3200,7 @@ edje_object_part_drag_page_get(const Evas_Object *obj, const char *part, double
2830 /* Need to recalc before providing the object. */ 3200 /* Need to recalc before providing the object. */
2831 _edje_recalc_do(ed); 3201 _edje_recalc_do(ed);
2832 3202
2833 rp = _edje_real_part_recursive_get(ed, (char *)part); 3203 rp = _edje_real_part_recursive_get(ed, part);
2834 if (!rp || !rp->drag) 3204 if (!rp || !rp->drag)
2835 { 3205 {
2836 if (dx) *dx = 0; 3206 if (dx) *dx = 0;
@@ -2851,7 +3221,7 @@ edje_object_part_drag_step(Evas_Object *obj, const char *part, double dx, double
2851 3221
2852 ed = _edje_fetch(obj); 3222 ed = _edje_fetch(obj);
2853 if ((!ed) || (!part)) return EINA_FALSE; 3223 if ((!ed) || (!part)) return EINA_FALSE;
2854 rp = _edje_real_part_recursive_get(ed, (char *)part); 3224 rp = _edje_real_part_recursive_get(ed, part);
2855 if (!rp) return EINA_FALSE; 3225 if (!rp) return EINA_FALSE;
2856 if (!rp->drag) return EINA_FALSE; 3226 if (!rp->drag) return EINA_FALSE;
2857 if (rp->drag->down.count > 0) return EINA_FALSE; 3227 if (rp->drag->down.count > 0) return EINA_FALSE;
@@ -2881,7 +3251,7 @@ edje_object_part_drag_page(Evas_Object *obj, const char *part, double dx, double
2881 3251
2882 ed = _edje_fetch(obj); 3252 ed = _edje_fetch(obj);
2883 if ((!ed) || (!part)) return EINA_FALSE; 3253 if ((!ed) || (!part)) return EINA_FALSE;
2884 rp = _edje_real_part_recursive_get(ed, (char *)part); 3254 rp = _edje_real_part_recursive_get(ed, part);
2885 if (!rp) return EINA_FALSE; 3255 if (!rp) return EINA_FALSE;
2886 if (!rp->drag) return EINA_FALSE; 3256 if (!rp->drag) return EINA_FALSE;
2887 if (rp->drag->down.count > 0) return EINA_FALSE; 3257 if (rp->drag->down.count > 0) return EINA_FALSE;
@@ -3557,9 +3927,21 @@ edje_object_preload(Evas_Object *obj, Eina_Bool cancel)
3557 else if (ep->type == EDJE_PART_TYPE_GROUP) 3927 else if (ep->type == EDJE_PART_TYPE_GROUP)
3558 { 3928 {
3559 if (rp->swallowed_object) { 3929 if (rp->swallowed_object) {
3560 edje_object_signal_callback_del(rp->swallowed_object, EDJE_PRELOAD_EMISSION, EDJE_PRELOAD_SOURCE, _edje_object_signal_preload_cb); 3930 char *tmp;
3561 edje_object_signal_callback_add(rp->swallowed_object, EDJE_PRELOAD_EMISSION, EDJE_PRELOAD_SOURCE, _edje_object_signal_preload_cb, ed); 3931
3562 edje_object_preload(rp->swallowed_object, cancel); 3932 if (rp->part->name)
3933 {
3934 tmp = alloca(strlen(rp->part->name) + 2);
3935 sprintf(tmp, "%s:", rp->part->name);
3936
3937 edje_object_signal_callback_del(obj, EDJE_PRELOAD_EMISSION, tmp, _edje_object_signal_preload_cb);
3938 edje_object_signal_callback_add(obj, EDJE_PRELOAD_EMISSION, tmp, _edje_object_signal_preload_cb, ed);
3939 edje_object_preload(rp->swallowed_object, cancel);
3940 }
3941 else
3942 {
3943 ed->preload_count--;
3944 }
3563 3945
3564 count--; 3946 count--;
3565 } 3947 }
@@ -3574,6 +3956,30 @@ edje_object_preload(Evas_Object *obj, Eina_Bool cancel)
3574 return EINA_TRUE; 3956 return EINA_TRUE;
3575} 3957}
3576 3958
3959EAPI void
3960edje_object_update_hints_set(Evas_Object *obj, Eina_Bool update)
3961{
3962 Edje *ed;
3963
3964 ed = _edje_fetch(obj);
3965 if (!ed) return ;
3966 if (ed->update_hints == !!update) return ;
3967
3968 ed->update_hints = !!update;
3969 if (update) ed->recalc_hints = 1;
3970}
3971
3972EAPI Eina_Bool
3973edje_object_update_hints_get(Evas_Object *obj)
3974{
3975 Edje *ed;
3976
3977 ed = _edje_fetch(obj);
3978 if (!ed) return EINA_FALSE;
3979
3980 return ed->update_hints;
3981}
3982
3577Eina_Bool 3983Eina_Bool
3578_edje_real_part_table_pack(Edje_Real_Part *rp, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) 3984_edje_real_part_table_pack(Edje_Real_Part *rp, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan)
3579{ 3985{
@@ -4037,9 +4443,11 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
4037 { 4443 {
4038 Evas_Coord w, h; 4444 Evas_Coord w, h;
4039 4445
4446#if 0
4040 edje_object_size_min_get(rp->swallowed_object, &w, &h); 4447 edje_object_size_min_get(rp->swallowed_object, &w, &h);
4041 rp->swallow_params.min.w = w; 4448 rp->swallow_params.min.w = w;
4042 rp->swallow_params.min.h = h; 4449 rp->swallow_params.min.h = h;
4450#endif
4043 edje_object_size_max_get(rp->swallowed_object, &w, &h); 4451 edje_object_size_max_get(rp->swallowed_object, &w, &h);
4044 rp->swallow_params.max.w = w; 4452 rp->swallow_params.max.w = w;
4045 rp->swallow_params.max.h = h; 4453 rp->swallow_params.max.h = h;
@@ -4050,8 +4458,10 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
4050 Evas_Coord w, h; 4458 Evas_Coord w, h;
4051 4459
4052 evas_object_geometry_get(rp->swallowed_object, NULL, NULL, &w, &h); 4460 evas_object_geometry_get(rp->swallowed_object, NULL, NULL, &w, &h);
4461#if 0
4053 rp->swallow_params.min.w = w; 4462 rp->swallow_params.min.w = w;
4054 rp->swallow_params.min.h = h; 4463 rp->swallow_params.min.h = h;
4464#endif
4055 rp->swallow_params.max.w = w; 4465 rp->swallow_params.max.w = w;
4056 rp->swallow_params.max.h = h; 4466 rp->swallow_params.max.h = h;
4057 } 4467 }
@@ -4127,6 +4537,7 @@ _edje_real_part_swallow(Edje_Real_Part *rp,
4127 _edje_real_part_swallow_hints_update(rp); 4537 _edje_real_part_swallow_hints_update(rp);
4128 rp->edje->dirty = 1; 4538 rp->edje->dirty = 1;
4129 rp->edje->recalc_call = 1; 4539 rp->edje->recalc_call = 1;
4540 rp->edje->recalc_hints = 1;
4130 _edje_recalc(rp->edje); 4541 _edje_recalc(rp->edje);
4131 return; 4542 return;
4132 } 4543 }
@@ -4171,6 +4582,7 @@ _edje_real_part_swallow(Edje_Real_Part *rp,
4171 4582
4172 rp->edje->dirty = 1; 4583 rp->edje->dirty = 1;
4173 rp->edje->recalc_call = 1; 4584 rp->edje->recalc_call = 1;
4585 rp->edje->recalc_hints = 1;
4174 _edje_recalc(rp->edje); 4586 _edje_recalc(rp->edje);
4175} 4587}
4176 4588
diff --git a/libraries/edje/src/modules/Makefile.in b/libraries/edje/src/modules/Makefile.in
index 5e81050..55c47d6 100644
--- a/libraries/edje/src/modules/Makefile.in
+++ b/libraries/edje/src/modules/Makefile.in
@@ -193,6 +193,8 @@ PACKAGE_URL = @PACKAGE_URL@
193PACKAGE_VERSION = @PACKAGE_VERSION@ 193PACKAGE_VERSION = @PACKAGE_VERSION@
194PATH_SEPARATOR = @PATH_SEPARATOR@ 194PATH_SEPARATOR = @PATH_SEPARATOR@
195PKG_CONFIG = @PKG_CONFIG@ 195PKG_CONFIG = @PKG_CONFIG@
196PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
197PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
196PYTHON = @PYTHON@ 198PYTHON = @PYTHON@
197PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 199PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
198PYTHON_PLATFORM = @PYTHON_PLATFORM@ 200PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/modules/alsa_snd_player/Makefile.in b/libraries/edje/src/modules/alsa_snd_player/Makefile.in
index 1fe2fb1..ce68f41 100644
--- a/libraries/edje/src/modules/alsa_snd_player/Makefile.in
+++ b/libraries/edje/src/modules/alsa_snd_player/Makefile.in
@@ -210,6 +210,8 @@ PACKAGE_URL = @PACKAGE_URL@
210PACKAGE_VERSION = @PACKAGE_VERSION@ 210PACKAGE_VERSION = @PACKAGE_VERSION@
211PATH_SEPARATOR = @PATH_SEPARATOR@ 211PATH_SEPARATOR = @PATH_SEPARATOR@
212PKG_CONFIG = @PKG_CONFIG@ 212PKG_CONFIG = @PKG_CONFIG@
213PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
214PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
213PYTHON = @PYTHON@ 215PYTHON = @PYTHON@
214PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 216PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
215PYTHON_PLATFORM = @PYTHON_PLATFORM@ 217PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/modules/eet_snd_reader/Makefile.in b/libraries/edje/src/modules/eet_snd_reader/Makefile.in
index 12d0487..f4d99bb 100644
--- a/libraries/edje/src/modules/eet_snd_reader/Makefile.in
+++ b/libraries/edje/src/modules/eet_snd_reader/Makefile.in
@@ -211,6 +211,8 @@ PACKAGE_URL = @PACKAGE_URL@
211PACKAGE_VERSION = @PACKAGE_VERSION@ 211PACKAGE_VERSION = @PACKAGE_VERSION@
212PATH_SEPARATOR = @PATH_SEPARATOR@ 212PATH_SEPARATOR = @PATH_SEPARATOR@
213PKG_CONFIG = @PKG_CONFIG@ 213PKG_CONFIG = @PKG_CONFIG@
214PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
215PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214PYTHON = @PYTHON@ 216PYTHON = @PYTHON@
215PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 217PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
216PYTHON_PLATFORM = @PYTHON_PLATFORM@ 218PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/modules/multisense_factory/Makefile.in b/libraries/edje/src/modules/multisense_factory/Makefile.in
index 8fbc0aa..ed0c3e4 100644
--- a/libraries/edje/src/modules/multisense_factory/Makefile.in
+++ b/libraries/edje/src/modules/multisense_factory/Makefile.in
@@ -208,6 +208,8 @@ PACKAGE_URL = @PACKAGE_URL@
208PACKAGE_VERSION = @PACKAGE_VERSION@ 208PACKAGE_VERSION = @PACKAGE_VERSION@
209PATH_SEPARATOR = @PATH_SEPARATOR@ 209PATH_SEPARATOR = @PATH_SEPARATOR@
210PKG_CONFIG = @PKG_CONFIG@ 210PKG_CONFIG = @PKG_CONFIG@
211PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
211PYTHON = @PYTHON@ 213PYTHON = @PYTHON@
212PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 214PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
213PYTHON_PLATFORM = @PYTHON_PLATFORM@ 215PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/src/tests/Makefile.in b/libraries/edje/src/tests/Makefile.in
index ff5193e..f610548 100644
--- a/libraries/edje/src/tests/Makefile.in
+++ b/libraries/edje/src/tests/Makefile.in
@@ -189,6 +189,8 @@ PACKAGE_URL = @PACKAGE_URL@
189PACKAGE_VERSION = @PACKAGE_VERSION@ 189PACKAGE_VERSION = @PACKAGE_VERSION@
190PATH_SEPARATOR = @PATH_SEPARATOR@ 190PATH_SEPARATOR = @PATH_SEPARATOR@
191PKG_CONFIG = @PKG_CONFIG@ 191PKG_CONFIG = @PKG_CONFIG@
192PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
193PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
192PYTHON = @PYTHON@ 194PYTHON = @PYTHON@
193PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 195PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
194PYTHON_PLATFORM = @PYTHON_PLATFORM@ 196PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/edje/utils/Makefile.in b/libraries/edje/utils/Makefile.in
index 4df8fbd..4c05fe5 100644
--- a/libraries/edje/utils/Makefile.in
+++ b/libraries/edje/utils/Makefile.in
@@ -177,6 +177,8 @@ PACKAGE_URL = @PACKAGE_URL@
177PACKAGE_VERSION = @PACKAGE_VERSION@ 177PACKAGE_VERSION = @PACKAGE_VERSION@
178PATH_SEPARATOR = @PATH_SEPARATOR@ 178PATH_SEPARATOR = @PATH_SEPARATOR@
179PKG_CONFIG = @PKG_CONFIG@ 179PKG_CONFIG = @PKG_CONFIG@
180PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
181PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
180PYTHON = @PYTHON@ 182PYTHON = @PYTHON@
181PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 183PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
182PYTHON_PLATFORM = @PYTHON_PLATFORM@ 184PYTHON_PLATFORM = @PYTHON_PLATFORM@
diff --git a/libraries/eet/AUTHORS b/libraries/eet/AUTHORS
index ebdd15f..260b216 100644
--- a/libraries/eet/AUTHORS
+++ b/libraries/eet/AUTHORS
@@ -11,3 +11,4 @@ Mathieu Taillefumier <mathieu.taillefumier@free.fr>
11Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com> 11Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>
12Adam Simpkins <adam@adamsimpkins.net> 12Adam Simpkins <adam@adamsimpkins.net>
13Mike Blumenkrantz <michael.blumenkrantz@gmail.com> 13Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
14Lionel Orry <lionel.orry@gmail.com>
diff --git a/libraries/eet/ChangeLog b/libraries/eet/ChangeLog
index 795d102..4de0f82 100644
--- a/libraries/eet/ChangeLog
+++ b/libraries/eet/ChangeLog
@@ -547,21 +547,29 @@
547 noticable quality losses in the chase for speed. It will use 547 noticable quality losses in the chase for speed. It will use
548 IFAST for quality less than 60 when encoding 548 IFAST for quality less than 60 when encoding
549 549
5502011-12-02 Carsten Haitzler (The Rasterman) 5502011-12-02 Carsten Haitzler (The Rasterman)
551 551
552 1.1.0 release 552 1.1.0 release
553 553
5542011-12-02 Mike Blumenkrantz 5542011-12-02 Mike Blumenkrantz
555 555
556 * added eet_file_get to return the filename of an Eet_File 556 * added eet_file_get to return the filename of an Eet_File
557 * Eet_File filenames are now stringshared 557 * Eet_File filenames are now stringshared
558 * added mempool allocators 558 * added mempool allocators
559 559
5602011-12-29 Carsten Haitzler (The Rasterman) 5602011-12-29 Carsten Haitzler (The Rasterman)
561 561
562 * increase eet_connection packet size to 1Mb - more reasonable. 562 * increase eet_connection packet size to 1Mb - more reasonable.
563 563
5642012-01-07 Boris Faure (billiob) 5642012-01-07 Boris Faure (billiob)
565 565
566 * make eet tool write to standard output if no output file given. 566 * make eet tool write to standard output if no output file given.
567 567
5682012-02-09 Cedric Bail
569
570 * add support for GNUTLS 3.x.
571
5722012-02-10 Cedric Bail
573
574 * add eet_dictionary_count.
575 * add "eet -t FILE.EET".
diff --git a/libraries/eet/Makefile.am b/libraries/eet/Makefile.am
index 34a5762..d3622dc 100644
--- a/libraries/eet/Makefile.am
+++ b/libraries/eet/Makefile.am
@@ -69,18 +69,16 @@ endif
69 69
70if EFL_ENABLE_COVERAGE 70if EFL_ENABLE_COVERAGE
71lcov-reset: 71lcov-reset:
72 @rm -rf coverage 72 @rm -rf $(top_builddir)/coverage
73 @find . -name "*.gcda" -exec rm {} \; 73 @find $(top_builddir) -name "*.gcda" -delete
74 @lcov --directory . --zerocounters 74 @lcov --zerocounters --directory $(top_builddir)
75 75
76lcov-report: 76lcov-report:
77 @mkdir coverage 77 @mkdir $(top_builddir)/coverage
78 @lcov --compat-libtool --directory . --capture --output-file coverage/coverage.info 78 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
79 @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 79 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
80 @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 80 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
81 @rm coverage/remove 81 @echo "Coverage Report at $(top_builddir)/coverage/html"
82 @mv coverage/coverage.cleaned.info coverage/coverage.info
83 @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
84 82
85coverage: 83coverage:
86 @$(MAKE) lcov-reset 84 @$(MAKE) lcov-reset
diff --git a/libraries/eet/Makefile.in b/libraries/eet/Makefile.in
index b865027..fb2955c 100644
--- a/libraries/eet/Makefile.in
+++ b/libraries/eet/Makefile.in
@@ -184,6 +184,8 @@ EINA_LIBS = @EINA_LIBS@
184EVIL_CFLAGS = @EVIL_CFLAGS@ 184EVIL_CFLAGS = @EVIL_CFLAGS@
185EVIL_LIBS = @EVIL_LIBS@ 185EVIL_LIBS = @EVIL_LIBS@
186EXEEXT = @EXEEXT@ 186EXEEXT = @EXEEXT@
187EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
188EXOTIC_LIBS = @EXOTIC_LIBS@
187FGREP = @FGREP@ 189FGREP = @FGREP@
188GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 190GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
189GNUTLS_LIBS = @GNUTLS_LIBS@ 191GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -223,6 +225,8 @@ PACKAGE_URL = @PACKAGE_URL@
223PACKAGE_VERSION = @PACKAGE_VERSION@ 225PACKAGE_VERSION = @PACKAGE_VERSION@
224PATH_SEPARATOR = @PATH_SEPARATOR@ 226PATH_SEPARATOR = @PATH_SEPARATOR@
225PKG_CONFIG = @PKG_CONFIG@ 227PKG_CONFIG = @PKG_CONFIG@
228PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
229PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
226RANLIB = @RANLIB@ 230RANLIB = @RANLIB@
227SED = @SED@ 231SED = @SED@
228SET_MAKE = @SET_MAKE@ 232SET_MAKE = @SET_MAKE@
@@ -878,18 +882,16 @@ doc:
878# Coverage report 882# Coverage report
879 883
880@EFL_ENABLE_COVERAGE_TRUE@lcov-reset: 884@EFL_ENABLE_COVERAGE_TRUE@lcov-reset:
881@EFL_ENABLE_COVERAGE_TRUE@ @rm -rf coverage 885@EFL_ENABLE_COVERAGE_TRUE@ @rm -rf $(top_builddir)/coverage
882@EFL_ENABLE_COVERAGE_TRUE@ @find . -name "*.gcda" -exec rm {} \; 886@EFL_ENABLE_COVERAGE_TRUE@ @find $(top_builddir) -name "*.gcda" -delete
883@EFL_ENABLE_COVERAGE_TRUE@ @lcov --directory . --zerocounters 887@EFL_ENABLE_COVERAGE_TRUE@ @lcov --zerocounters --directory $(top_builddir)
884 888
885@EFL_ENABLE_COVERAGE_TRUE@lcov-report: 889@EFL_ENABLE_COVERAGE_TRUE@lcov-report:
886@EFL_ENABLE_COVERAGE_TRUE@ @mkdir coverage 890@EFL_ENABLE_COVERAGE_TRUE@ @mkdir $(top_builddir)/coverage
887@EFL_ENABLE_COVERAGE_TRUE@ @lcov --compat-libtool --directory . --capture --output-file coverage/coverage.info 891@EFL_ENABLE_COVERAGE_TRUE@ lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
888@EFL_ENABLE_COVERAGE_TRUE@ @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 892@EFL_ENABLE_COVERAGE_TRUE@ lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
889@EFL_ENABLE_COVERAGE_TRUE@ @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 893@EFL_ENABLE_COVERAGE_TRUE@ genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
890@EFL_ENABLE_COVERAGE_TRUE@ @rm coverage/remove 894@EFL_ENABLE_COVERAGE_TRUE@ @echo "Coverage Report at $(top_builddir)/coverage/html"
891@EFL_ENABLE_COVERAGE_TRUE@ @mv coverage/coverage.cleaned.info coverage/coverage.info
892@EFL_ENABLE_COVERAGE_TRUE@ @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
893 895
894@EFL_ENABLE_COVERAGE_TRUE@coverage: 896@EFL_ENABLE_COVERAGE_TRUE@coverage:
895@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) lcov-reset 897@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) lcov-reset
diff --git a/libraries/eet/NEWS b/libraries/eet/NEWS
index cccda15..1abe36e 100644
--- a/libraries/eet/NEWS
+++ b/libraries/eet/NEWS
@@ -9,6 +9,8 @@ Additions:
9Improvements: 9Improvements:
10 10
11 * most allocations moved to mempools 11 * most allocations moved to mempools
12 * support GNUTLS 3.x
13 * add "eet -t FILE.EET" to get some stat out of an eet file
12 14
13Eet 1.5.0 15Eet 1.5.0
14 16
diff --git a/libraries/eet/README b/libraries/eet/README
index 48be3e5..416214b 100644
--- a/libraries/eet/README
+++ b/libraries/eet/README
@@ -1,4 +1,4 @@
1Eet 1.1.0 1Eet 1.6.0
2 2
3****************************************************************************** 3******************************************************************************
4 4
@@ -11,7 +11,6 @@ Requirements:
11------------- 11-------------
12Must have: 12Must have:
13 libc 13 libc
14 libm
15 zlib 14 zlib
16 libjpeg 15 libjpeg
17 eina (1.1.0 or better) 16 eina (1.1.0 or better)
diff --git a/libraries/eet/aclocal.m4 b/libraries/eet/aclocal.m4
index 6d7b012..1d329e5 100644
--- a/libraries/eet/aclocal.m4
+++ b/libraries/eet/aclocal.m4
@@ -13,13 +13,14 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23# serial 1 (pkg-config-0.24)
23# 24#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 25# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25# 26#
@@ -47,7 +48,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
47AC_DEFUN([PKG_PROG_PKG_CONFIG], 48AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 49[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 50m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 51AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
54
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 55if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 56 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi 57fi
@@ -60,7 +64,6 @@ if test -n "$PKG_CONFIG"; then
60 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
61 PKG_CONFIG="" 65 PKG_CONFIG=""
62 fi 66 fi
63
64fi[]dnl 67fi[]dnl
65])# PKG_PROG_PKG_CONFIG 68])# PKG_PROG_PKG_CONFIG
66 69
@@ -69,34 +72,31 @@ fi[]dnl
69# Check to see whether a particular set of modules exists. Similar 72# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors. 73# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71# 74#
72# 75# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of 76# only at the first occurence in configure.ac, so if the first place
74# this or PKG_CHECK_MODULES is called, or make sure to call 77# it's called might be skipped (such as if it is within an "if", you
75# PKG_CHECK_EXISTS manually 78# have to call PKG_CHECK_EXISTS manually
76# -------------------------------------------------------------- 79# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS], 80AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 81[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \ 82if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 83 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:]) 84 m4_default([$2], [:])
82m4_ifvaln([$3], [else 85m4_ifvaln([$3], [else
83 $3])dnl 86 $3])dnl
84fi]) 87fi])
85 88
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 89# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# --------------------------------------------- 90# ---------------------------------------------
89m4_define([_PKG_CONFIG], 91m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then 92[if test -n "$$1"; then
91 if test -n "$$1"; then 93 pkg_cv_[]$1="$$1"
92 pkg_cv_[]$1="$$1" 94 elif test -n "$PKG_CONFIG"; then
93 else 95 PKG_CHECK_EXISTS([$3],
94 PKG_CHECK_EXISTS([$3], 96 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 97 [pkg_failed=yes])
96 [pkg_failed=yes]) 98 else
97 fi 99 pkg_failed=untried
98else
99 pkg_failed=untried
100fi[]dnl 100fi[]dnl
101])# _PKG_CONFIG 101])# _PKG_CONFIG
102 102
@@ -138,16 +138,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.]) 138See the pkg-config man page for more details.])
139 139
140if test $pkg_failed = yes; then 140if test $pkg_failed = yes; then
141 AC_MSG_RESULT([no])
141 _PKG_SHORT_ERRORS_SUPPORTED 142 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then 143 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 144 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
144 else 145 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 146 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
146 fi 147 fi
147 # Put the nasty error message in config.log where it belongs 148 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 149 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149 150
150 ifelse([$4], , [AC_MSG_ERROR(dnl 151 m4_default([$4], [AC_MSG_ERROR(
151[Package requirements ($2) were not met: 152[Package requirements ($2) were not met:
152 153
153$$1_PKG_ERRORS 154$$1_PKG_ERRORS
@@ -155,25 +156,24 @@ $$1_PKG_ERRORS
155Consider adjusting the PKG_CONFIG_PATH environment variable if you 156Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix. 157installed software in a non-standard prefix.
157 158
158_PKG_TEXT 159_PKG_TEXT])[]dnl
159])], 160 ])
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then 161elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl 162 AC_MSG_RESULT([no])
163 m4_default([$4], [AC_MSG_FAILURE(
164[The pkg-config script could not be found or is too old. Make sure it 164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full 165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config. 166path to pkg-config.
167 167
168_PKG_TEXT 168_PKG_TEXT
169 169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
171 [$4]) 171 ])
172else 172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes]) 175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3]) 176 $3
177fi[]dnl 177fi[]dnl
178])# PKG_CHECK_MODULES 178])# PKG_CHECK_MODULES
179 179
diff --git a/libraries/eet/config.guess b/libraries/eet/config.guess
index e3a2116..c2246a4 100755
--- a/libraries/eet/config.guess
+++ b/libraries/eet/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-10' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
27# the same distribution terms that you use for the rest of that program. 27# the same distribution terms that you use for the rest of that program.
28 28
29 29
30# Originally written by Per Bothner <per@bothner.com>. 30# Originally written by Per Bothner. Please send patches (context
31# Please send patches to <config-patches@gnu.org>. Submit a context 31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# diff and a properly formatted ChangeLog entry. 32# entry.
33# 33#
34# This script attempts to guess a canonical system name similar to 34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and 35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1. 36# exits with 0. Otherwise, it exits with 1.
37# 37#
38# The plan is that this can be called by configure scripts if you 38# You can get the latest version of this script from:
39# don't specify an explicit build system type. 39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40 40
41me=`echo "$0" | sed -e 's,.*/,,'` 41me=`echo "$0" | sed -e 's,.*/,,'`
42 42
@@ -56,8 +56,9 @@ version="\
56GNU config.guess ($timestamp) 56GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
61 62
62This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
333 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
336 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 eval $set_cc_for_build 341 eval $set_cc_for_build
338 SUN_ARCH="i386" 342 SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
807 i*:PW*:*) 811 i*:PW*:*)
808 echo ${UNAME_MACHINE}-pc-pw32 812 echo ${UNAME_MACHINE}-pc-pw32
809 exit ;; 813 exit ;;
810 *:Interix*:[3456]*) 814 *:Interix*:*)
811 case ${UNAME_MACHINE} in 815 case ${UNAME_MACHINE} in
812 x86) 816 x86)
813 echo i586-pc-interix${UNAME_RELEASE} 817 echo i586-pc-interix${UNAME_RELEASE}
814 exit ;; 818 exit ;;
815 EM64T | authenticamd | genuineintel) 819 authenticamd | genuineintel | EM64T)
816 echo x86_64-unknown-interix${UNAME_RELEASE} 820 echo x86_64-unknown-interix${UNAME_RELEASE}
817 exit ;; 821 exit ;;
818 IA64) 822 IA64)
@@ -854,6 +858,20 @@ EOF
854 i*86:Minix:*:*) 858 i*86:Minix:*:*)
855 echo ${UNAME_MACHINE}-pc-minix 859 echo ${UNAME_MACHINE}-pc-minix
856 exit ;; 860 exit ;;
861 alpha:Linux:*:*)
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
863 EV5) UNAME_MACHINE=alphaev5 ;;
864 EV56) UNAME_MACHINE=alphaev56 ;;
865 PCA56) UNAME_MACHINE=alphapca56 ;;
866 PCA57) UNAME_MACHINE=alphapca56 ;;
867 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
874 exit ;;
857 arm*:Linux:*:*) 875 arm*:Linux:*:*)
858 eval $set_cc_for_build 876 eval $set_cc_for_build
859 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 877 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
876 frv:Linux:*:*) 894 frv:Linux:*:*)
877 echo frv-unknown-linux-gnu 895 echo frv-unknown-linux-gnu
878 exit ;; 896 exit ;;
897 i*86:Linux:*:*)
898 LIBC=gnu
899 eval $set_cc_for_build
900 sed 's/^ //' << EOF >$dummy.c
901 #ifdef __dietlibc__
902 LIBC=dietlibc
903 #endif
904EOF
905 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
906 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
907 exit ;;
879 ia64:Linux:*:*) 908 ia64:Linux:*:*)
880 echo ${UNAME_MACHINE}-unknown-linux-gnu 909 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 exit ;; 910 exit ;;
@@ -901,39 +930,18 @@ EOF
901 #endif 930 #endif
902 #endif 931 #endif
903EOF 932EOF
904 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 933 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
905 /^CPU/{
906 s: ::g
907 p
908 }'`"
909 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 934 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910 ;; 935 ;;
911 or32:Linux:*:*) 936 or32:Linux:*:*)
912 echo or32-unknown-linux-gnu 937 echo or32-unknown-linux-gnu
913 exit ;; 938 exit ;;
914 ppc:Linux:*:*)
915 echo powerpc-unknown-linux-gnu
916 exit ;;
917 ppc64:Linux:*:*)
918 echo powerpc64-unknown-linux-gnu
919 exit ;;
920 alpha:Linux:*:*)
921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922 EV5) UNAME_MACHINE=alphaev5 ;;
923 EV56) UNAME_MACHINE=alphaev56 ;;
924 PCA56) UNAME_MACHINE=alphapca56 ;;
925 PCA57) UNAME_MACHINE=alphapca56 ;;
926 EV6) UNAME_MACHINE=alphaev6 ;;
927 EV67) UNAME_MACHINE=alphaev67 ;;
928 EV68*) UNAME_MACHINE=alphaev68 ;;
929 esac
930 objdump --private-headers /bin/sh | grep -q ld.so.1
931 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 exit ;;
934 padre:Linux:*:*) 939 padre:Linux:*:*)
935 echo sparc-unknown-linux-gnu 940 echo sparc-unknown-linux-gnu
936 exit ;; 941 exit ;;
942 parisc64:Linux:*:* | hppa64:Linux:*:*)
943 echo hppa64-unknown-linux-gnu
944 exit ;;
937 parisc:Linux:*:* | hppa:Linux:*:*) 945 parisc:Linux:*:* | hppa:Linux:*:*)
938 # Look for CPU level 946 # Look for CPU level
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
942 *) echo hppa-unknown-linux-gnu ;; 950 *) echo hppa-unknown-linux-gnu ;;
943 esac 951 esac
944 exit ;; 952 exit ;;
945 parisc64:Linux:*:* | hppa64:Linux:*:*) 953 ppc64:Linux:*:*)
946 echo hppa64-unknown-linux-gnu 954 echo powerpc64-unknown-linux-gnu
955 exit ;;
956 ppc:Linux:*:*)
957 echo powerpc-unknown-linux-gnu
947 exit ;; 958 exit ;;
948 s390:Linux:*:* | s390x:Linux:*:*) 959 s390:Linux:*:* | s390x:Linux:*:*)
949 echo ${UNAME_MACHINE}-ibm-linux 960 echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
966 xtensa*:Linux:*:*) 977 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 echo ${UNAME_MACHINE}-unknown-linux-gnu
968 exit ;; 979 exit ;;
969 i*86:Linux:*:*)
970 # The BFD linker knows what the default object file format is, so
971 # first see if it will tell us. cd to the root directory to prevent
972 # problems with other programs or directories called `ld' in the path.
973 # Set LC_ALL=C to ensure ld outputs messages in English.
974 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
975 | sed -ne '/supported targets:/!d
976 s/[ ][ ]*/ /g
977 s/.*supported targets: *//
978 s/ .*//
979 p'`
980 case "$ld_supported_targets" in
981 elf32-i386)
982 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 ;;
984 esac
985 # Determine whether the default compiler is a.out or elf
986 eval $set_cc_for_build
987 sed 's/^ //' << EOF >$dummy.c
988 #include <features.h>
989 #ifdef __ELF__
990 # ifdef __GLIBC__
991 # if __GLIBC__ >= 2
992 LIBC=gnu
993 # else
994 LIBC=gnulibc1
995 # endif
996 # else
997 LIBC=gnulibc1
998 # endif
999 #else
1000 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1001 LIBC=gnu
1002 #else
1003 LIBC=gnuaout
1004 #endif
1005 #endif
1006 #ifdef __dietlibc__
1007 LIBC=dietlibc
1008 #endif
1009EOF
1010 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1011 /^LIBC/{
1012 s: ::g
1013 p
1014 }'`"
1015 test x"${LIBC}" != x && {
1016 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1017 exit
1018 }
1019 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1020 ;;
1021 i*86:DYNIX/ptx:4*:*) 980 i*86:DYNIX/ptx:4*:*)
1022 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023 # earlier versions are messed up and put the nodename in both 982 # earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
1247 *:Darwin:*:*) 1206 *:Darwin:*:*)
1248 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1207 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249 case $UNAME_PROCESSOR in 1208 case $UNAME_PROCESSOR in
1209 i386)
1210 eval $set_cc_for_build
1211 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1212 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1213 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1214 grep IS_64BIT_ARCH >/dev/null
1215 then
1216 UNAME_PROCESSOR="x86_64"
1217 fi
1218 fi ;;
1250 unknown) UNAME_PROCESSOR=powerpc ;; 1219 unknown) UNAME_PROCESSOR=powerpc ;;
1251 esac 1220 esac
1252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/libraries/eet/config.h.in b/libraries/eet/config.h.in
index 02ec411..76da120 100644
--- a/libraries/eet/config.h.in
+++ b/libraries/eet/config.h.in
@@ -19,6 +19,12 @@
19/* use gnutls_x509_crt_verify_hash */ 19/* use gnutls_x509_crt_verify_hash */
20#undef EET_USE_NEW_GNUTLS_API 20#undef EET_USE_NEW_GNUTLS_API
21 21
22/* use gnutls_privkey_sign_data */
23#undef EET_USE_NEW_PRIVKEY_SIGN_DATA
24
25/* use gnutls_pubkey_verify_hash */
26#undef EET_USE_NEW_PUBKEY_VERIFY_HASH
27
22/* Define to 1 if you have `alloca', as a function or macro. */ 28/* Define to 1 if you have `alloca', as a function or macro. */
23#undef HAVE_ALLOCA 29#undef HAVE_ALLOCA
24 30
@@ -35,6 +41,9 @@
35/* Set to 1 if Evil library is installed */ 41/* Set to 1 if Evil library is installed */
36#undef HAVE_EVIL 42#undef HAVE_EVIL
37 43
44/* Define to 1 if you have Exotic. */
45#undef HAVE_EXOTIC_H
46
38/* Define to 1 if you have the `fmemopen' function. */ 47/* Define to 1 if you have the `fmemopen' function. */
39#undef HAVE_FMEMOPEN 48#undef HAVE_FMEMOPEN
40 49
diff --git a/libraries/eet/config.sub b/libraries/eet/config.sub
index eb0389a..c2d1257 100755
--- a/libraries/eet/config.sub
+++ b/libraries/eet/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-11' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 39# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 40# Otherwise, we print the canonical config type on stdout and succeed.
41 41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
153 os= 157 os=
154 basic_machine=$1 158 basic_machine=$1
155 ;; 159 ;;
@@ -284,6 +288,7 @@ case $basic_machine in
284 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
285 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286 | pyramid \ 290 | pyramid \
291 | rx \
287 | score \ 292 | score \
288 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289 | sh64 | sh64le \ 294 | sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
291 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292 | spu | strongarm \ 297 | spu | strongarm \
293 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
294 | v850 | v850e \ 300 | v850 | v850e \
295 | we32k \ 301 | we32k \
296 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297 | z8k | z80) 303 | z8k | z80)
298 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
299 ;; 305 ;;
300 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
302 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
303 os=-none 309 os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
340 | lm32-* \ 346 | lm32-* \
341 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
342 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345 | mips16-* \ 351 | mips16-* \
346 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
368 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370 | pyramid-* \ 376 | pyramid-* \
371 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
372 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375 | sparclite-* \ 381 | sparclite-* \
376 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
378 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
379 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
380 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
381 | we32k-* \ 389 | we32k-* \
382 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
726 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
727 os=-sysv 735 os=-sysv
728 ;; 736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
739 ;;
729 mingw32) 740 mingw32)
730 basic_machine=i386-pc 741 basic_machine=i386-pc
731 os=-mingw32 742 os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
1076 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1077 os=-coff 1088 os=-coff
1078 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1079 tile*) 1095 tile*)
1080 basic_machine=tile-unknown 1096 basic_machine=tile-unknown
1081 os=-linux-gnu 1097 os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
1247 # First match some system type aliases 1263 # First match some system type aliases
1248 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1249 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1250 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1251 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252 ;; 1271 ;;
@@ -1268,8 +1287,8 @@ case $os in
1268 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1269 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1272 | -kopensolaris* \ 1291 | -sym* | -kopensolaris* \
1273 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274 | -aos* | -aros* \ 1293 | -aos* | -aros* \
1275 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
1290 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1295 ;; 1314 ;;
1296 -qnx*) 1315 -qnx*)
@@ -1423,6 +1442,8 @@ case $os in
1423 -dicos*) 1442 -dicos*)
1424 os=-dicos 1443 os=-dicos
1425 ;; 1444 ;;
1445 -nacl*)
1446 ;;
1426 -none) 1447 -none)
1427 ;; 1448 ;;
1428 *) 1449 *)
diff --git a/libraries/eet/configure b/libraries/eet/configure
index b02c1c4..0687ffe 100755
--- a/libraries/eet/configure
+++ b/libraries/eet/configure
@@ -1,13 +1,13 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for eet 1.5.99.67344. 3# Generated by GNU Autoconf 2.67 for eet 1.6.0-alpha.
4# 4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>. 5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@ $as_echo X"$as_dir" |
319 test -d "$as_dir" && break 319 test -d "$as_dir" && break
320 done 320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 323
324 324
325} # as_fn_mkdir_p 325} # as_fn_mkdir_p
@@ -359,19 +359,19 @@ else
359fi # as_fn_arith 359fi # as_fn_arith
360 360
361 361
362# as_fn_error ERROR [LINENO LOG_FD] 362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 366# script with STATUS, using 1 if that was 0.
367as_fn_error () 367as_fn_error ()
368{ 368{
369 as_status=$?; test $as_status -eq 0 && as_status=1 369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 370 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 373 fi
374 $as_echo "$as_me: error: $1" >&2 374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 375 as_fn_exit $as_status
376} # as_fn_error 376} # as_fn_error
377 377
@@ -682,7 +682,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1 682exec 6>&1
683 683
684# Name of the host. 684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too. 686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688 688
@@ -701,8 +701,8 @@ MAKEFLAGS=
701# Identity of this package. 701# Identity of this package.
702PACKAGE_NAME='eet' 702PACKAGE_NAME='eet'
703PACKAGE_TARNAME='eet' 703PACKAGE_TARNAME='eet'
704PACKAGE_VERSION='1.5.99.67344' 704PACKAGE_VERSION='1.6.0-alpha'
705PACKAGE_STRING='eet 1.5.99.67344' 705PACKAGE_STRING='eet 1.6.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' 706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL='' 707PACKAGE_URL=''
708 708
@@ -760,6 +760,8 @@ LIBGCRYPT_CFLAGS
760LIBGCRYPT_CONFIG 760LIBGCRYPT_CONFIG
761GNUTLS_LIBS 761GNUTLS_LIBS
762GNUTLS_CFLAGS 762GNUTLS_CFLAGS
763EXOTIC_LIBS
764EXOTIC_CFLAGS
763EINA_LIBS 765EINA_LIBS
764EINA_CFLAGS 766EINA_CFLAGS
765EET_LIBS 767EET_LIBS
@@ -781,6 +783,8 @@ EFL_ENABLE_TESTS_FALSE
781EFL_ENABLE_TESTS_TRUE 783EFL_ENABLE_TESTS_TRUE
782CHECK_LIBS 784CHECK_LIBS
783CHECK_CFLAGS 785CHECK_CFLAGS
786PKG_CONFIG_LIBDIR
787PKG_CONFIG_PATH
784PKG_CONFIG 788PKG_CONFIG
785BUILD_EXAMPLES_FALSE 789BUILD_EXAMPLES_FALSE
786BUILD_EXAMPLES_TRUE 790BUILD_EXAMPLES_TRUE
@@ -917,8 +921,6 @@ enable_libtool_lock
917enable_amalgamation 921enable_amalgamation
918enable_eet 922enable_eet
919enable_old_eet_file_format 923enable_old_eet_file_format
920enable_gnutls
921enable_new_gnutls_api
922enable_openssl 924enable_openssl
923enable_cipher 925enable_cipher
924enable_signature 926enable_signature
@@ -929,8 +931,10 @@ enable_tests
929enable_coverage 931enable_coverage
930enable_doc 932enable_doc
931with_doxygen 933with_doxygen
934enable_gnutls
932with_libgcrypt_prefix 935with_libgcrypt_prefix
933with_libgcrypt_exec_prefix 936with_libgcrypt_exec_prefix
937enable_new_gnutls_api
934' 938'
935 ac_precious_vars='build_alias 939 ac_precious_vars='build_alias
936host_alias 940host_alias
@@ -942,12 +946,16 @@ LIBS
942CPPFLAGS 946CPPFLAGS
943CPP 947CPP
944PKG_CONFIG 948PKG_CONFIG
949PKG_CONFIG_PATH
950PKG_CONFIG_LIBDIR
945CHECK_CFLAGS 951CHECK_CFLAGS
946CHECK_LIBS 952CHECK_LIBS
947EVIL_CFLAGS 953EVIL_CFLAGS
948EVIL_LIBS 954EVIL_LIBS
949EINA_CFLAGS 955EINA_CFLAGS
950EINA_LIBS 956EINA_LIBS
957EXOTIC_CFLAGS
958EXOTIC_LIBS
951GNUTLS_CFLAGS 959GNUTLS_CFLAGS
952GNUTLS_LIBS 960GNUTLS_LIBS
953OPENSSL_CFLAGS 961OPENSSL_CFLAGS
@@ -1014,8 +1022,9 @@ do
1014 fi 1022 fi
1015 1023
1016 case $ac_option in 1024 case $ac_option in
1017 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1025 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1018 *) ac_optarg=yes ;; 1026 *=) ac_optarg= ;;
1027 *) ac_optarg=yes ;;
1019 esac 1028 esac
1020 1029
1021 # Accept the important Cygnus configure options, so we can diagnose typos. 1030 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1060,7 +1069,7 @@ do
1060 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1069 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1061 # Reject names that are not valid shell variable names. 1070 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error "invalid feature name: $ac_useropt" 1072 as_fn_error $? "invalid feature name: $ac_useropt"
1064 ac_useropt_orig=$ac_useropt 1073 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in 1075 case $ac_user_opts in
@@ -1086,7 +1095,7 @@ do
1086 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1095 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names. 1096 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error "invalid feature name: $ac_useropt" 1098 as_fn_error $? "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt 1099 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in 1101 case $ac_user_opts in
@@ -1290,7 +1299,7 @@ do
1290 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1299 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1291 # Reject names that are not valid shell variable names. 1300 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1293 as_fn_error "invalid package name: $ac_useropt" 1302 as_fn_error $? "invalid package name: $ac_useropt"
1294 ac_useropt_orig=$ac_useropt 1303 ac_useropt_orig=$ac_useropt
1295 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1304 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 case $ac_user_opts in 1305 case $ac_user_opts in
@@ -1306,7 +1315,7 @@ do
1306 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1315 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1307 # Reject names that are not valid shell variable names. 1316 # Reject names that are not valid shell variable names.
1308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1309 as_fn_error "invalid package name: $ac_useropt" 1318 as_fn_error $? "invalid package name: $ac_useropt"
1310 ac_useropt_orig=$ac_useropt 1319 ac_useropt_orig=$ac_useropt
1311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1320 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in 1321 case $ac_user_opts in
@@ -1336,8 +1345,8 @@ do
1336 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1345 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1337 x_libraries=$ac_optarg ;; 1346 x_libraries=$ac_optarg ;;
1338 1347
1339 -*) as_fn_error "unrecognized option: \`$ac_option' 1348 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1340Try \`$0 --help' for more information." 1349Try \`$0 --help' for more information"
1341 ;; 1350 ;;
1342 1351
1343 *=*) 1352 *=*)
@@ -1345,7 +1354,7 @@ Try \`$0 --help' for more information."
1345 # Reject names that are not valid shell variable names. 1354 # Reject names that are not valid shell variable names.
1346 case $ac_envvar in #( 1355 case $ac_envvar in #(
1347 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1356 '' | [0-9]* | *[!_$as_cr_alnum]* )
1348 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1357 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1349 esac 1358 esac
1350 eval $ac_envvar=\$ac_optarg 1359 eval $ac_envvar=\$ac_optarg
1351 export $ac_envvar ;; 1360 export $ac_envvar ;;
@@ -1363,13 +1372,13 @@ done
1363 1372
1364if test -n "$ac_prev"; then 1373if test -n "$ac_prev"; then
1365 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1374 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1366 as_fn_error "missing argument to $ac_option" 1375 as_fn_error $? "missing argument to $ac_option"
1367fi 1376fi
1368 1377
1369if test -n "$ac_unrecognized_opts"; then 1378if test -n "$ac_unrecognized_opts"; then
1370 case $enable_option_checking in 1379 case $enable_option_checking in
1371 no) ;; 1380 no) ;;
1372 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1381 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1373 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1382 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1374 esac 1383 esac
1375fi 1384fi
@@ -1392,7 +1401,7 @@ do
1392 [\\/$]* | ?:[\\/]* ) continue;; 1401 [\\/$]* | ?:[\\/]* ) continue;;
1393 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1402 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1394 esac 1403 esac
1395 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1404 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1396done 1405done
1397 1406
1398# There might be people who depend on the old broken behavior: `$host' 1407# There might be people who depend on the old broken behavior: `$host'
@@ -1406,8 +1415,8 @@ target=$target_alias
1406if test "x$host_alias" != x; then 1415if test "x$host_alias" != x; then
1407 if test "x$build_alias" = x; then 1416 if test "x$build_alias" = x; then
1408 cross_compiling=maybe 1417 cross_compiling=maybe
1409 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1418 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1410 If a cross compiler is detected then cross compile mode will be used." >&2 1419 If a cross compiler is detected then cross compile mode will be used" >&2
1411 elif test "x$build_alias" != "x$host_alias"; then 1420 elif test "x$build_alias" != "x$host_alias"; then
1412 cross_compiling=yes 1421 cross_compiling=yes
1413 fi 1422 fi
@@ -1422,9 +1431,9 @@ test "$silent" = yes && exec 6>/dev/null
1422ac_pwd=`pwd` && test -n "$ac_pwd" && 1431ac_pwd=`pwd` && test -n "$ac_pwd" &&
1423ac_ls_di=`ls -di .` && 1432ac_ls_di=`ls -di .` &&
1424ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1433ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1425 as_fn_error "working directory cannot be determined" 1434 as_fn_error $? "working directory cannot be determined"
1426test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1435test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1427 as_fn_error "pwd does not report name of working directory" 1436 as_fn_error $? "pwd does not report name of working directory"
1428 1437
1429 1438
1430# Find the source files, if location was not specified. 1439# Find the source files, if location was not specified.
@@ -1463,11 +1472,11 @@ else
1463fi 1472fi
1464if test ! -r "$srcdir/$ac_unique_file"; then 1473if test ! -r "$srcdir/$ac_unique_file"; then
1465 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1474 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1466 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1475 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1467fi 1476fi
1468ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1477ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1469ac_abs_confdir=`( 1478ac_abs_confdir=`(
1470 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1479 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1471 pwd)` 1480 pwd)`
1472# When building in place, set srcdir=. 1481# When building in place, set srcdir=.
1473if test "$ac_abs_confdir" = "$ac_pwd"; then 1482if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1493,7 +1502,7 @@ if test "$ac_init_help" = "long"; then
1493 # Omit some internal or obsolete options to make the list less imposing. 1502 # Omit some internal or obsolete options to make the list less imposing.
1494 # This message is too long to be a string in the A/UX 3.1 sh. 1503 # This message is too long to be a string in the A/UX 3.1 sh.
1495 cat <<_ACEOF 1504 cat <<_ACEOF
1496\`configure' configures eet 1.5.99.67344 to adapt to many kinds of systems. 1505\`configure' configures eet 1.6.0-alpha to adapt to many kinds of systems.
1497 1506
1498Usage: $0 [OPTION]... [VAR=VALUE]... 1507Usage: $0 [OPTION]... [VAR=VALUE]...
1499 1508
@@ -1507,7 +1516,7 @@ Configuration:
1507 --help=short display options specific to this package 1516 --help=short display options specific to this package
1508 --help=recursive display the short help of all the included packages 1517 --help=recursive display the short help of all the included packages
1509 -V, --version display version information and exit 1518 -V, --version display version information and exit
1510 -q, --quiet, --silent do not print \`checking...' messages 1519 -q, --quiet, --silent do not print \`checking ...' messages
1511 --cache-file=FILE cache test results in FILE [disabled] 1520 --cache-file=FILE cache test results in FILE [disabled]
1512 -C, --config-cache alias for \`--cache-file=config.cache' 1521 -C, --config-cache alias for \`--cache-file=config.cache'
1513 -n, --no-create do not create output files 1522 -n, --no-create do not create output files
@@ -1563,7 +1572,7 @@ fi
1563 1572
1564if test -n "$ac_init_help"; then 1573if test -n "$ac_init_help"; then
1565 case $ac_init_help in 1574 case $ac_init_help in
1566 short | recursive ) echo "Configuration of eet 1.5.99.67344:";; 1575 short | recursive ) echo "Configuration of eet 1.6.0-alpha:";;
1567 esac 1576 esac
1568 cat <<\_ACEOF 1577 cat <<\_ACEOF
1569 1578
@@ -1586,10 +1595,6 @@ Optional Features:
1586 --disable-old-eet-file-format 1595 --disable-old-eet-file-format
1587 disable old eet file format support. 1596 disable old eet file format support.
1588 [[default=enabled]] 1597 [[default=enabled]]
1589 --disable-gnutls disable gnutls eet support
1590 --disable-new-gnutls-api
1591 enable use of gnutls_x509_crt_verify_hash.
1592 [[default=enable]]
1593 --disable-openssl disable openssl eet support 1598 --disable-openssl disable openssl eet support
1594 --disable-cipher disable cipher support for eet API 1599 --disable-cipher disable cipher support for eet API
1595 --disable-signature disable signature file support for eet 1600 --disable-signature disable signature file support for eet
@@ -1602,6 +1607,10 @@ Optional Features:
1602 --enable-coverage enable coverage profiling instrumentation 1607 --enable-coverage enable coverage profiling instrumentation
1603 [default=disabled] 1608 [default=disabled]
1604 --disable-doc Disable documentation build [default=enabled] 1609 --disable-doc Disable documentation build [default=enabled]
1610 --disable-gnutls disable gnutls eet support
1611 --disable-new-gnutls-api
1612 enable use of gnutls_x509_crt_verify_hash.
1613 [[default=enable]]
1605 1614
1606Optional Packages: 1615Optional Packages:
1607 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1623,6 +1632,10 @@ Some influential environment variables:
1623 you have headers in a nonstandard directory <include dir> 1632 you have headers in a nonstandard directory <include dir>
1624 CPP C preprocessor 1633 CPP C preprocessor
1625 PKG_CONFIG path to pkg-config utility 1634 PKG_CONFIG path to pkg-config utility
1635 PKG_CONFIG_PATH
1636 directories to add to pkg-config's search path
1637 PKG_CONFIG_LIBDIR
1638 path overriding pkg-config's built-in search path
1626 CHECK_CFLAGS 1639 CHECK_CFLAGS
1627 C compiler flags for CHECK, overriding pkg-config 1640 C compiler flags for CHECK, overriding pkg-config
1628 CHECK_LIBS linker flags for CHECK, overriding pkg-config 1641 CHECK_LIBS linker flags for CHECK, overriding pkg-config
@@ -1630,6 +1643,9 @@ Some influential environment variables:
1630 EVIL_LIBS linker flags for EVIL, overriding pkg-config 1643 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1631 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config 1644 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1632 EINA_LIBS linker flags for EINA, overriding pkg-config 1645 EINA_LIBS linker flags for EINA, overriding pkg-config
1646 EXOTIC_CFLAGS
1647 C compiler flags for EXOTIC, overriding pkg-config
1648 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1633 GNUTLS_CFLAGS 1649 GNUTLS_CFLAGS
1634 C compiler flags for GNUTLS, overriding pkg-config 1650 C compiler flags for GNUTLS, overriding pkg-config
1635 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config 1651 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
@@ -1704,10 +1720,10 @@ fi
1704test -n "$ac_init_help" && exit $ac_status 1720test -n "$ac_init_help" && exit $ac_status
1705if $ac_init_version; then 1721if $ac_init_version; then
1706 cat <<\_ACEOF 1722 cat <<\_ACEOF
1707eet configure 1.5.99.67344 1723eet configure 1.6.0-alpha
1708generated by GNU Autoconf 2.65 1724generated by GNU Autoconf 2.67
1709 1725
1710Copyright (C) 2009 Free Software Foundation, Inc. 1726Copyright (C) 2010 Free Software Foundation, Inc.
1711This configure script is free software; the Free Software Foundation 1727This configure script is free software; the Free Software Foundation
1712gives unlimited permission to copy, distribute and modify it. 1728gives unlimited permission to copy, distribute and modify it.
1713_ACEOF 1729_ACEOF
@@ -1811,7 +1827,7 @@ ac_fn_c_check_header_compile ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813$as_echo_n "checking for $2... " >&6; } 1829$as_echo_n "checking for $2... " >&6; }
1814if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1830if eval "test \"\${$3+set}\"" = set; then :
1815 $as_echo_n "(cached) " >&6 1831 $as_echo_n "(cached) " >&6
1816else 1832else
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1854,7 +1870,7 @@ $as_echo "$ac_try_echo"; } >&5
1854 mv -f conftest.er1 conftest.err 1870 mv -f conftest.er1 conftest.err
1855 fi 1871 fi
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } >/dev/null && { 1873 test $ac_status = 0; } > conftest.i && {
1858 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1859 test ! -s conftest.err 1875 test ! -s conftest.err
1860 }; then : 1876 }; then :
@@ -1920,7 +1936,7 @@ ac_fn_c_check_func ()
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922$as_echo_n "checking for $2... " >&6; } 1938$as_echo_n "checking for $2... " >&6; }
1923if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1939if eval "test \"\${$3+set}\"" = set; then :
1924 $as_echo_n "(cached) " >&6 1940 $as_echo_n "(cached) " >&6
1925else 1941else
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1987,10 +2003,10 @@ $as_echo "$ac_res" >&6; }
1987ac_fn_c_check_header_mongrel () 2003ac_fn_c_check_header_mongrel ()
1988{ 2004{
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2006 if eval "test \"\${$3+set}\"" = set; then :
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992$as_echo_n "checking for $2... " >&6; } 2008$as_echo_n "checking for $2... " >&6; }
1993if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2009if eval "test \"\${$3+set}\"" = set; then :
1994 $as_echo_n "(cached) " >&6 2010 $as_echo_n "(cached) " >&6
1995fi 2011fi
1996eval ac_res=\$$3 2012eval ac_res=\$$3
@@ -2026,7 +2042,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
2026else 2042else
2027 ac_header_preproc=no 2043 ac_header_preproc=no
2028fi 2044fi
2029rm -f conftest.err conftest.$ac_ext 2045rm -f conftest.err conftest.i conftest.$ac_ext
2030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2031$as_echo "$ac_header_preproc" >&6; } 2047$as_echo "$ac_header_preproc" >&6; }
2032 2048
@@ -2049,17 +2065,15 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2049$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2065$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2051$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2067$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2052( cat <<\_ASBOX 2068( $as_echo "## -------------------------------------------------------- ##
2053## -------------------------------------------------------- ##
2054## Report this to enlightenment-devel@lists.sourceforge.net ## 2069## Report this to enlightenment-devel@lists.sourceforge.net ##
2055## -------------------------------------------------------- ## 2070## -------------------------------------------------------- ##"
2056_ASBOX
2057 ) | sed "s/^/$as_me: WARNING: /" >&2 2071 ) | sed "s/^/$as_me: WARNING: /" >&2
2058 ;; 2072 ;;
2059esac 2073esac
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061$as_echo_n "checking for $2... " >&6; } 2075$as_echo_n "checking for $2... " >&6; }
2062if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2076if eval "test \"\${$3+set}\"" = set; then :
2063 $as_echo_n "(cached) " >&6 2077 $as_echo_n "(cached) " >&6
2064else 2078else
2065 eval "$3=\$ac_header_compiler" 2079 eval "$3=\$ac_header_compiler"
@@ -2075,8 +2089,8 @@ cat >config.log <<_ACEOF
2075This file contains any messages produced by compilers while 2089This file contains any messages produced by compilers while
2076running configure, to aid debugging if configure makes a mistake. 2090running configure, to aid debugging if configure makes a mistake.
2077 2091
2078It was created by eet $as_me 1.5.99.67344, which was 2092It was created by eet $as_me 1.6.0-alpha, which was
2079generated by GNU Autoconf 2.65. Invocation command line was 2093generated by GNU Autoconf 2.67. Invocation command line was
2080 2094
2081 $ $0 $@ 2095 $ $0 $@
2082 2096
@@ -2186,11 +2200,9 @@ trap 'exit_status=$?
2186 { 2200 {
2187 echo 2201 echo
2188 2202
2189 cat <<\_ASBOX 2203 $as_echo "## ---------------- ##
2190## ---------------- ##
2191## Cache variables. ## 2204## Cache variables. ##
2192## ---------------- ## 2205## ---------------- ##"
2193_ASBOX
2194 echo 2206 echo
2195 # The following way of writing the cache mishandles newlines in values, 2207 # The following way of writing the cache mishandles newlines in values,
2196( 2208(
@@ -2224,11 +2236,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2224) 2236)
2225 echo 2237 echo
2226 2238
2227 cat <<\_ASBOX 2239 $as_echo "## ----------------- ##
2228## ----------------- ##
2229## Output variables. ## 2240## Output variables. ##
2230## ----------------- ## 2241## ----------------- ##"
2231_ASBOX
2232 echo 2242 echo
2233 for ac_var in $ac_subst_vars 2243 for ac_var in $ac_subst_vars
2234 do 2244 do
@@ -2241,11 +2251,9 @@ _ASBOX
2241 echo 2251 echo
2242 2252
2243 if test -n "$ac_subst_files"; then 2253 if test -n "$ac_subst_files"; then
2244 cat <<\_ASBOX 2254 $as_echo "## ------------------- ##
2245## ------------------- ##
2246## File substitutions. ## 2255## File substitutions. ##
2247## ------------------- ## 2256## ------------------- ##"
2248_ASBOX
2249 echo 2257 echo
2250 for ac_var in $ac_subst_files 2258 for ac_var in $ac_subst_files
2251 do 2259 do
@@ -2259,11 +2267,9 @@ _ASBOX
2259 fi 2267 fi
2260 2268
2261 if test -s confdefs.h; then 2269 if test -s confdefs.h; then
2262 cat <<\_ASBOX 2270 $as_echo "## ----------- ##
2263## ----------- ##
2264## confdefs.h. ## 2271## confdefs.h. ##
2265## ----------- ## 2272## ----------- ##"
2266_ASBOX
2267 echo 2273 echo
2268 cat confdefs.h 2274 cat confdefs.h
2269 echo 2275 echo
@@ -2318,7 +2324,12 @@ _ACEOF
2318ac_site_file1=NONE 2324ac_site_file1=NONE
2319ac_site_file2=NONE 2325ac_site_file2=NONE
2320if test -n "$CONFIG_SITE"; then 2326if test -n "$CONFIG_SITE"; then
2321 ac_site_file1=$CONFIG_SITE 2327 # We do not want a PATH search for config.site.
2328 case $CONFIG_SITE in #((
2329 -*) ac_site_file1=./$CONFIG_SITE;;
2330 */*) ac_site_file1=$CONFIG_SITE;;
2331 *) ac_site_file1=./$CONFIG_SITE;;
2332 esac
2322elif test "x$prefix" != xNONE; then 2333elif test "x$prefix" != xNONE; then
2323 ac_site_file1=$prefix/share/config.site 2334 ac_site_file1=$prefix/share/config.site
2324 ac_site_file2=$prefix/etc/config.site 2335 ac_site_file2=$prefix/etc/config.site
@@ -2333,7 +2344,11 @@ do
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2334$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2345$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2335 sed 's/^/| /' "$ac_site_file" >&5 2346 sed 's/^/| /' "$ac_site_file" >&5
2336 . "$ac_site_file" 2347 . "$ac_site_file" \
2348 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350as_fn_error $? "failed to load site script $ac_site_file
2351See \`config.log' for more details" "$LINENO" 5 ; }
2337 fi 2352 fi
2338done 2353done
2339 2354
@@ -2409,7 +2424,7 @@ if $ac_cache_corrupted; then
2409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2424$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2426$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2427 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2413fi 2428fi
2414## -------------------- ## 2429## -------------------- ##
2415## Main body of script. ## 2430## Main body of script. ##
@@ -2435,16 +2450,22 @@ am__api_version='1.11'
2435 2450
2436ac_aux_dir= 2451ac_aux_dir=
2437for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2452for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2438 for ac_t in install-sh install.sh shtool; do 2453 if test -f "$ac_dir/install-sh"; then
2439 if test -f "$ac_dir/$ac_t"; then 2454 ac_aux_dir=$ac_dir
2440 ac_aux_dir=$ac_dir 2455 ac_install_sh="$ac_aux_dir/install-sh -c"
2441 ac_install_sh="$ac_aux_dir/$ac_t -c" 2456 break
2442 break 2 2457 elif test -f "$ac_dir/install.sh"; then
2443 fi 2458 ac_aux_dir=$ac_dir
2444 done 2459 ac_install_sh="$ac_aux_dir/install.sh -c"
2460 break
2461 elif test -f "$ac_dir/shtool"; then
2462 ac_aux_dir=$ac_dir
2463 ac_install_sh="$ac_aux_dir/shtool install -c"
2464 break
2465 fi
2445done 2466done
2446if test -z "$ac_aux_dir"; then 2467if test -z "$ac_aux_dir"; then
2447 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2468 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2448fi 2469fi
2449 2470
2450# These three variables are undocumented and unsupported, 2471# These three variables are undocumented and unsupported,
@@ -2560,11 +2581,11 @@ am_lf='
2560' 2581'
2561case `pwd` in 2582case `pwd` in
2562 *[\\\"\#\$\&\'\`$am_lf]*) 2583 *[\\\"\#\$\&\'\`$am_lf]*)
2563 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2584 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2564esac 2585esac
2565case $srcdir in 2586case $srcdir in
2566 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2587 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2567 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2588 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2568esac 2589esac
2569 2590
2570# Do `set' in a subshell so we don't clobber the current shell's 2591# Do `set' in a subshell so we don't clobber the current shell's
@@ -2586,7 +2607,7 @@ if (
2586 # if, for instance, CONFIG_SHELL is bash and it inherits a 2607 # if, for instance, CONFIG_SHELL is bash and it inherits a
2587 # broken ls alias from the environment. This has actually 2608 # broken ls alias from the environment. This has actually
2588 # happened. Such a system could not be considered "sane". 2609 # happened. Such a system could not be considered "sane".
2589 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2610 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2590alias in your environment" "$LINENO" 5 2611alias in your environment" "$LINENO" 5
2591 fi 2612 fi
2592 2613
@@ -2596,7 +2617,7 @@ then
2596 # Ok. 2617 # Ok.
2597 : 2618 :
2598else 2619else
2599 as_fn_error "newly created file is older than distributed files! 2620 as_fn_error $? "newly created file is older than distributed files!
2600Check your system clock" "$LINENO" 5 2621Check your system clock" "$LINENO" 5
2601fi 2622fi
2602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -2834,7 +2855,7 @@ done
2834$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2855$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2835set x ${MAKE-make} 2856set x ${MAKE-make}
2836ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2857ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2837if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2858if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2838 $as_echo_n "(cached) " >&6 2859 $as_echo_n "(cached) " >&6
2839else 2860else
2840 cat >conftest.make <<\_ACEOF 2861 cat >conftest.make <<\_ACEOF
@@ -2842,7 +2863,7 @@ SHELL = /bin/sh
2842all: 2863all:
2843 @echo '@@@%%%=$(MAKE)=@@@%%%' 2864 @echo '@@@%%%=$(MAKE)=@@@%%%'
2844_ACEOF 2865_ACEOF
2845# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2866# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2846case `${MAKE-make} -f conftest.make 2>/dev/null` in 2867case `${MAKE-make} -f conftest.make 2>/dev/null` in
2847 *@@@%%%=?*=@@@%%%*) 2868 *@@@%%%=?*=@@@%%%*)
2848 eval ac_cv_prog_make_${ac_make}_set=yes;; 2869 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -2876,7 +2897,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
2876 am__isrc=' -I$(srcdir)' 2897 am__isrc=' -I$(srcdir)'
2877 # test to see if srcdir already configured 2898 # test to see if srcdir already configured
2878 if test -f $srcdir/config.status; then 2899 if test -f $srcdir/config.status; then
2879 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2900 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2880 fi 2901 fi
2881fi 2902fi
2882 2903
@@ -2892,7 +2913,7 @@ fi
2892 2913
2893# Define the identity of the package. 2914# Define the identity of the package.
2894 PACKAGE='eet' 2915 PACKAGE='eet'
2895 VERSION='1.5.99.67344' 2916 VERSION='1.6.0-alpha'
2896 2917
2897 2918
2898cat >>confdefs.h <<_ACEOF 2919cat >>confdefs.h <<_ACEOF
@@ -2947,7 +2968,7 @@ AM_BACKSLASH='\'
2947 2968
2948# Make sure we can run config.sub. 2969# Make sure we can run config.sub.
2949$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2970$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2950 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2971 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2951 2972
2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2953$as_echo_n "checking build system type... " >&6; } 2974$as_echo_n "checking build system type... " >&6; }
@@ -2958,16 +2979,16 @@ else
2958test "x$ac_build_alias" = x && 2979test "x$ac_build_alias" = x &&
2959 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2980 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2960test "x$ac_build_alias" = x && 2981test "x$ac_build_alias" = x &&
2961 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2982 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2962ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2983ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2963 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2984 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2964 2985
2965fi 2986fi
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2967$as_echo "$ac_cv_build" >&6; } 2988$as_echo "$ac_cv_build" >&6; }
2968case $ac_cv_build in 2989case $ac_cv_build in
2969*-*-*) ;; 2990*-*-*) ;;
2970*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2991*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2971esac 2992esac
2972build=$ac_cv_build 2993build=$ac_cv_build
2973ac_save_IFS=$IFS; IFS='-' 2994ac_save_IFS=$IFS; IFS='-'
@@ -2992,7 +3013,7 @@ else
2992 ac_cv_host=$ac_cv_build 3013 ac_cv_host=$ac_cv_build
2993else 3014else
2994 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3015 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2995 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3016 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2996fi 3017fi
2997 3018
2998fi 3019fi
@@ -3000,7 +3021,7 @@ fi
3000$as_echo "$ac_cv_host" >&6; } 3021$as_echo "$ac_cv_host" >&6; }
3001case $ac_cv_host in 3022case $ac_cv_host in
3002*-*-*) ;; 3023*-*-*) ;;
3003*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3024*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3004esac 3025esac
3005host=$ac_cv_host 3026host=$ac_cv_host
3006ac_save_IFS=$IFS; IFS='-' 3027ac_save_IFS=$IFS; IFS='-'
@@ -3706,8 +3727,8 @@ fi
3706 3727
3707test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3728test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709as_fn_error "no acceptable C compiler found in \$PATH 3730as_fn_error $? "no acceptable C compiler found in \$PATH
3710See \`config.log' for more details." "$LINENO" 5; } 3731See \`config.log' for more details" "$LINENO" 5 ; }
3711 3732
3712# Provide some information about the compiler. 3733# Provide some information about the compiler.
3713$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3734$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3821,9 +3842,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3821 3842
3822{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3843{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3844$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824{ as_fn_set_status 77 3845as_fn_error 77 "C compiler cannot create executables
3825as_fn_error "C compiler cannot create executables 3846See \`config.log' for more details" "$LINENO" 5 ; }
3826See \`config.log' for more details." "$LINENO" 5; }; }
3827else 3847else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3829$as_echo "yes" >&6; } 3849$as_echo "yes" >&6; }
@@ -3865,8 +3885,8 @@ done
3865else 3885else
3866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3867$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3887$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3868as_fn_error "cannot compute suffix of executables: cannot compile and link 3888as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3869See \`config.log' for more details." "$LINENO" 5; } 3889See \`config.log' for more details" "$LINENO" 5 ; }
3870fi 3890fi
3871rm -f conftest conftest$ac_cv_exeext 3891rm -f conftest conftest$ac_cv_exeext
3872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3923,9 +3943,9 @@ $as_echo "$ac_try_echo"; } >&5
3923 else 3943 else
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3945$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926as_fn_error "cannot run C compiled programs. 3946as_fn_error $? "cannot run C compiled programs.
3927If you meant to cross compile, use \`--host'. 3947If you meant to cross compile, use \`--host'.
3928See \`config.log' for more details." "$LINENO" 5; } 3948See \`config.log' for more details" "$LINENO" 5 ; }
3929 fi 3949 fi
3930 fi 3950 fi
3931fi 3951fi
@@ -3976,8 +3996,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3976 3996
3977{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3997{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3998$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979as_fn_error "cannot compute suffix of object files: cannot compile 3999as_fn_error $? "cannot compute suffix of object files: cannot compile
3980See \`config.log' for more details." "$LINENO" 5; } 4000See \`config.log' for more details" "$LINENO" 5 ; }
3981fi 4001fi
3982rm -f conftest.$ac_cv_objext conftest.$ac_ext 4002rm -f conftest.$ac_cv_objext conftest.$ac_ext
3983fi 4003fi
@@ -4381,7 +4401,7 @@ esac
4381 done 4401 done
4382IFS=$as_save_IFS 4402IFS=$as_save_IFS
4383 if test -z "$ac_cv_path_SED"; then 4403 if test -z "$ac_cv_path_SED"; then
4384 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4404 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4385 fi 4405 fi
4386else 4406else
4387 ac_cv_path_SED=$SED 4407 ac_cv_path_SED=$SED
@@ -4457,7 +4477,7 @@ esac
4457 done 4477 done
4458IFS=$as_save_IFS 4478IFS=$as_save_IFS
4459 if test -z "$ac_cv_path_GREP"; then 4479 if test -z "$ac_cv_path_GREP"; then
4460 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4480 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4461 fi 4481 fi
4462else 4482else
4463 ac_cv_path_GREP=$GREP 4483 ac_cv_path_GREP=$GREP
@@ -4523,7 +4543,7 @@ esac
4523 done 4543 done
4524IFS=$as_save_IFS 4544IFS=$as_save_IFS
4525 if test -z "$ac_cv_path_EGREP"; then 4545 if test -z "$ac_cv_path_EGREP"; then
4526 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4546 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4527 fi 4547 fi
4528else 4548else
4529 ac_cv_path_EGREP=$EGREP 4549 ac_cv_path_EGREP=$EGREP
@@ -4590,7 +4610,7 @@ esac
4590 done 4610 done
4591IFS=$as_save_IFS 4611IFS=$as_save_IFS
4592 if test -z "$ac_cv_path_FGREP"; then 4612 if test -z "$ac_cv_path_FGREP"; then
4593 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4613 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4594 fi 4614 fi
4595else 4615else
4596 ac_cv_path_FGREP=$FGREP 4616 ac_cv_path_FGREP=$FGREP
@@ -4706,7 +4726,7 @@ else
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707$as_echo "no" >&6; } 4727$as_echo "no" >&6; }
4708fi 4728fi
4709test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 4729test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4711$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4731$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4712if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4732if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -4908,13 +4928,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
4908else 4928else
4909 lt_cv_nm_interface="BSD nm" 4929 lt_cv_nm_interface="BSD nm"
4910 echo "int some_variable = 0;" > conftest.$ac_ext 4930 echo "int some_variable = 0;" > conftest.$ac_ext
4911 (eval echo "\"\$as_me:4911: $ac_compile\"" >&5) 4931 (eval echo "\"\$as_me:4931: $ac_compile\"" >&5)
4912 (eval "$ac_compile" 2>conftest.err) 4932 (eval "$ac_compile" 2>conftest.err)
4913 cat conftest.err >&5 4933 cat conftest.err >&5
4914 (eval echo "\"\$as_me:4914: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4934 (eval echo "\"\$as_me:4934: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4915 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4935 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4916 cat conftest.err >&5 4936 cat conftest.err >&5
4917 (eval echo "\"\$as_me:4917: output\"" >&5) 4937 (eval echo "\"\$as_me:4937: output\"" >&5)
4918 cat conftest.out >&5 4938 cat conftest.out >&5
4919 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4939 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4920 lt_cv_nm_interface="MS dumpbin" 4940 lt_cv_nm_interface="MS dumpbin"
@@ -6117,7 +6137,7 @@ ia64-*-hpux*)
6117 ;; 6137 ;;
6118*-*-irix6*) 6138*-*-irix6*)
6119 # Find out which ABI we are using. 6139 # Find out which ABI we are using.
6120 echo '#line 6120 "configure"' > conftest.$ac_ext 6140 echo '#line 6140 "configure"' > conftest.$ac_ext
6121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6122 (eval $ac_compile) 2>&5 6142 (eval $ac_compile) 2>&5
6123 ac_status=$? 6143 ac_status=$?
@@ -6906,7 +6926,7 @@ else
6906 # Broken: fails on valid input. 6926 # Broken: fails on valid input.
6907continue 6927continue
6908fi 6928fi
6909rm -f conftest.err conftest.$ac_ext 6929rm -f conftest.err conftest.i conftest.$ac_ext
6910 6930
6911 # OK, works on sane cases. Now check whether nonexistent headers 6931 # OK, works on sane cases. Now check whether nonexistent headers
6912 # can be detected and how. 6932 # can be detected and how.
@@ -6922,11 +6942,11 @@ else
6922ac_preproc_ok=: 6942ac_preproc_ok=:
6923break 6943break
6924fi 6944fi
6925rm -f conftest.err conftest.$ac_ext 6945rm -f conftest.err conftest.i conftest.$ac_ext
6926 6946
6927done 6947done
6928# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6948# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6929rm -f conftest.err conftest.$ac_ext 6949rm -f conftest.i conftest.err conftest.$ac_ext
6930if $ac_preproc_ok; then : 6950if $ac_preproc_ok; then :
6931 break 6951 break
6932fi 6952fi
@@ -6965,7 +6985,7 @@ else
6965 # Broken: fails on valid input. 6985 # Broken: fails on valid input.
6966continue 6986continue
6967fi 6987fi
6968rm -f conftest.err conftest.$ac_ext 6988rm -f conftest.err conftest.i conftest.$ac_ext
6969 6989
6970 # OK, works on sane cases. Now check whether nonexistent headers 6990 # OK, works on sane cases. Now check whether nonexistent headers
6971 # can be detected and how. 6991 # can be detected and how.
@@ -6981,18 +7001,18 @@ else
6981ac_preproc_ok=: 7001ac_preproc_ok=:
6982break 7002break
6983fi 7003fi
6984rm -f conftest.err conftest.$ac_ext 7004rm -f conftest.err conftest.i conftest.$ac_ext
6985 7005
6986done 7006done
6987# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7007# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6988rm -f conftest.err conftest.$ac_ext 7008rm -f conftest.i conftest.err conftest.$ac_ext
6989if $ac_preproc_ok; then : 7009if $ac_preproc_ok; then :
6990 7010
6991else 7011else
6992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6993$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6994as_fn_error "C preprocessor \"$CPP\" fails sanity check 7014as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6995See \`config.log' for more details." "$LINENO" 5; } 7015See \`config.log' for more details" "$LINENO" 5 ; }
6996fi 7016fi
6997 7017
6998ac_ext=c 7018ac_ext=c
@@ -7121,8 +7141,7 @@ do :
7121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7141 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7122ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7142ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7123" 7143"
7124eval as_val=\$$as_ac_Header 7144if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7125 if test "x$as_val" = x""yes; then :
7126 cat >>confdefs.h <<_ACEOF 7145 cat >>confdefs.h <<_ACEOF
7127#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7146#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7128_ACEOF 7147_ACEOF
@@ -7645,11 +7664,11 @@ else
7645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7647 -e 's:$: $lt_compiler_flag:'` 7666 -e 's:$: $lt_compiler_flag:'`
7648 (eval echo "\"\$as_me:7648: $lt_compile\"" >&5) 7667 (eval echo "\"\$as_me:7667: $lt_compile\"" >&5)
7649 (eval "$lt_compile" 2>conftest.err) 7668 (eval "$lt_compile" 2>conftest.err)
7650 ac_status=$? 7669 ac_status=$?
7651 cat conftest.err >&5 7670 cat conftest.err >&5
7652 echo "$as_me:7652: \$? = $ac_status" >&5 7671 echo "$as_me:7671: \$? = $ac_status" >&5
7653 if (exit $ac_status) && test -s "$ac_outfile"; then 7672 if (exit $ac_status) && test -s "$ac_outfile"; then
7654 # The compiler can only warn and ignore the option if not recognized 7673 # The compiler can only warn and ignore the option if not recognized
7655 # So say no if there are warnings other than the usual output. 7674 # So say no if there are warnings other than the usual output.
@@ -7984,11 +8003,11 @@ else
7984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7986 -e 's:$: $lt_compiler_flag:'` 8005 -e 's:$: $lt_compiler_flag:'`
7987 (eval echo "\"\$as_me:7987: $lt_compile\"" >&5) 8006 (eval echo "\"\$as_me:8006: $lt_compile\"" >&5)
7988 (eval "$lt_compile" 2>conftest.err) 8007 (eval "$lt_compile" 2>conftest.err)
7989 ac_status=$? 8008 ac_status=$?
7990 cat conftest.err >&5 8009 cat conftest.err >&5
7991 echo "$as_me:7991: \$? = $ac_status" >&5 8010 echo "$as_me:8010: \$? = $ac_status" >&5
7992 if (exit $ac_status) && test -s "$ac_outfile"; then 8011 if (exit $ac_status) && test -s "$ac_outfile"; then
7993 # The compiler can only warn and ignore the option if not recognized 8012 # The compiler can only warn and ignore the option if not recognized
7994 # So say no if there are warnings other than the usual output. 8013 # So say no if there are warnings other than the usual output.
@@ -8089,11 +8108,11 @@ else
8089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8091 -e 's:$: $lt_compiler_flag:'` 8110 -e 's:$: $lt_compiler_flag:'`
8092 (eval echo "\"\$as_me:8092: $lt_compile\"" >&5) 8111 (eval echo "\"\$as_me:8111: $lt_compile\"" >&5)
8093 (eval "$lt_compile" 2>out/conftest.err) 8112 (eval "$lt_compile" 2>out/conftest.err)
8094 ac_status=$? 8113 ac_status=$?
8095 cat out/conftest.err >&5 8114 cat out/conftest.err >&5
8096 echo "$as_me:8096: \$? = $ac_status" >&5 8115 echo "$as_me:8115: \$? = $ac_status" >&5
8097 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8116 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8098 then 8117 then
8099 # The compiler can only warn and ignore the option if not recognized 8118 # The compiler can only warn and ignore the option if not recognized
@@ -8144,11 +8163,11 @@ else
8144 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8146 -e 's:$: $lt_compiler_flag:'` 8165 -e 's:$: $lt_compiler_flag:'`
8147 (eval echo "\"\$as_me:8147: $lt_compile\"" >&5) 8166 (eval echo "\"\$as_me:8166: $lt_compile\"" >&5)
8148 (eval "$lt_compile" 2>out/conftest.err) 8167 (eval "$lt_compile" 2>out/conftest.err)
8149 ac_status=$? 8168 ac_status=$?
8150 cat out/conftest.err >&5 8169 cat out/conftest.err >&5
8151 echo "$as_me:8151: \$? = $ac_status" >&5 8170 echo "$as_me:8170: \$? = $ac_status" >&5
8152 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8171 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8153 then 8172 then
8154 # The compiler can only warn and ignore the option if not recognized 8173 # The compiler can only warn and ignore the option if not recognized
@@ -10528,7 +10547,7 @@ else
10528 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10547 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10529 lt_status=$lt_dlunknown 10548 lt_status=$lt_dlunknown
10530 cat > conftest.$ac_ext <<_LT_EOF 10549 cat > conftest.$ac_ext <<_LT_EOF
10531#line 10531 "configure" 10550#line 10550 "configure"
10532#include "confdefs.h" 10551#include "confdefs.h"
10533 10552
10534#if HAVE_DLFCN_H 10553#if HAVE_DLFCN_H
@@ -10624,7 +10643,7 @@ else
10624 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10643 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10625 lt_status=$lt_dlunknown 10644 lt_status=$lt_dlunknown
10626 cat > conftest.$ac_ext <<_LT_EOF 10645 cat > conftest.$ac_ext <<_LT_EOF
10627#line 10627 "configure" 10646#line 10646 "configure"
10628#include "confdefs.h" 10647#include "confdefs.h"
10629 10648
10630#if HAVE_DLFCN_H 10649#if HAVE_DLFCN_H
@@ -10863,20 +10882,20 @@ _ACEOF
10863 10882
10864 10883
10865cat >>confdefs.h <<_ACEOF 10884cat >>confdefs.h <<_ACEOF
10866#define VMIN 5 10885#define VMIN 6
10867_ACEOF 10886_ACEOF
10868 10887
10869 10888
10870cat >>confdefs.h <<_ACEOF 10889cat >>confdefs.h <<_ACEOF
10871#define VMIC 99 10890#define VMIC 0
10872_ACEOF 10891_ACEOF
10873 10892
10874 10893
10875cat >>confdefs.h <<_ACEOF 10894cat >>confdefs.h <<_ACEOF
10876#define VREV 67344 10895#define VREV 0
10877_ACEOF 10896_ACEOF
10878 10897
10879version_info="6:99:5" 10898version_info="7:0:6"
10880release_info="" 10899release_info=""
10881 10900
10882 10901
@@ -10995,85 +11014,6 @@ $as_echo "#define EET_OLD_EET_FILE_FORMAT 0" >>confdefs.h
10995 11014
10996fi 11015fi
10997 11016
10998# Gnutls support
10999
11000# Check whether --enable-gnutls was given.
11001if test "${enable_gnutls+set}" = set; then :
11002 enableval=$enable_gnutls; want_gnutls=$enableval
11003
11004fi
11005
11006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use Gnutls" >&5
11007$as_echo_n "checking whether to use Gnutls... " >&6; }
11008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_gnutls}" >&5
11009$as_echo "${want_gnutls}" >&6; }
11010
11011# Specific GNUTLS improvement
11012
11013new_gnutls_api="yes"
11014# Check whether --enable-new-gnutls-api was given.
11015if test "${enable_new_gnutls_api+set}" = set; then :
11016 enableval=$enable_new_gnutls_api; new_gnutls_api=$enableval
11017
11018fi
11019
11020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use gnutls_x509_crt_verify_hash" >&5
11021$as_echo_n "checking whether to use gnutls_x509_crt_verify_hash... " >&6; }
11022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${new_gnutls_api}" >&5
11023$as_echo "${new_gnutls_api}" >&6; }
11024
11025if test "x${new_gnutls_api}" = "xyes" ; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_verify_hash in -lgnutls" >&5
11027$as_echo_n "checking for gnutls_x509_crt_verify_hash in -lgnutls... " >&6; }
11028if test "${ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash+set}" = set; then :
11029 $as_echo_n "(cached) " >&6
11030else
11031 ac_check_lib_save_LIBS=$LIBS
11032LIBS="-lgnutls $LIBS"
11033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034/* end confdefs.h. */
11035
11036/* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039#ifdef __cplusplus
11040extern "C"
11041#endif
11042char gnutls_x509_crt_verify_hash ();
11043int
11044main ()
11045{
11046return gnutls_x509_crt_verify_hash ();
11047 ;
11048 return 0;
11049}
11050_ACEOF
11051if ac_fn_c_try_link "$LINENO"; then :
11052 ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash=yes
11053else
11054 ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash=no
11055fi
11056rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext
11058LIBS=$ac_check_lib_save_LIBS
11059fi
11060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash" >&5
11061$as_echo "$ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash" >&6; }
11062if test "x$ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash" = x""yes; then :
11063 new_gnutls_api="yes"
11064else
11065 new_gnutls_api="no"
11066
11067fi
11068
11069
11070 if test "x${new_gnutls_api}" = "xyes"; then
11071
11072$as_echo "#define EET_USE_NEW_GNUTLS_API 1" >>confdefs.h
11073
11074 fi
11075fi
11076
11077# Openssl support 11017# Openssl support
11078 11018
11079# Check whether --enable-openssl was given. 11019# Check whether --enable-openssl was given.
@@ -11170,6 +11110,10 @@ fi
11170 11110
11171 11111
11172 11112
11113
11114
11115
11116
11173if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11117if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11174 if test -n "$ac_tool_prefix"; then 11118 if test -n "$ac_tool_prefix"; then
11175 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11119 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -11282,7 +11226,6 @@ $as_echo "yes" >&6; }
11282$as_echo "no" >&6; } 11226$as_echo "no" >&6; }
11283 PKG_CONFIG="" 11227 PKG_CONFIG=""
11284 fi 11228 fi
11285
11286fi 11229fi
11287 11230
11288 11231
@@ -11314,11 +11257,10 @@ pkg_failed=no
11314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 11257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11315$as_echo_n "checking for CHECK... " >&6; } 11258$as_echo_n "checking for CHECK... " >&6; }
11316 11259
11317if test -n "$PKG_CONFIG"; then 11260if test -n "$CHECK_CFLAGS"; then
11318 if test -n "$CHECK_CFLAGS"; then 11261 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11319 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" 11262 elif test -n "$PKG_CONFIG"; then
11320 else 11263 if test -n "$PKG_CONFIG" && \
11321 if test -n "$PKG_CONFIG" && \
11322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 11264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
11323 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 11265 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
11324 ac_status=$? 11266 ac_status=$?
@@ -11328,15 +11270,13 @@ if test -n "$PKG_CONFIG"; then
11328else 11270else
11329 pkg_failed=yes 11271 pkg_failed=yes
11330fi 11272fi
11331 fi 11273 else
11332else 11274 pkg_failed=untried
11333 pkg_failed=untried
11334fi 11275fi
11335if test -n "$PKG_CONFIG"; then 11276if test -n "$CHECK_LIBS"; then
11336 if test -n "$CHECK_LIBS"; then 11277 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11337 pkg_cv_CHECK_LIBS="$CHECK_LIBS" 11278 elif test -n "$PKG_CONFIG"; then
11338 else 11279 if test -n "$PKG_CONFIG" && \
11339 if test -n "$PKG_CONFIG" && \
11340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 11280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
11341 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 11281 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
11342 ac_status=$? 11282 ac_status=$?
@@ -11346,14 +11286,15 @@ if test -n "$PKG_CONFIG"; then
11346else 11286else
11347 pkg_failed=yes 11287 pkg_failed=yes
11348fi 11288fi
11349 fi 11289 else
11350else 11290 pkg_failed=untried
11351 pkg_failed=untried
11352fi 11291fi
11353 11292
11354 11293
11355 11294
11356if test $pkg_failed = yes; then 11295if test $pkg_failed = yes; then
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11297$as_echo "no" >&6; }
11357 11298
11358if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11299if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11359 _pkg_short_errors_supported=yes 11300 _pkg_short_errors_supported=yes
@@ -11361,17 +11302,17 @@ else
11361 _pkg_short_errors_supported=no 11302 _pkg_short_errors_supported=no
11362fi 11303fi
11363 if test $_pkg_short_errors_supported = yes; then 11304 if test $_pkg_short_errors_supported = yes; then
11364 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "check >= 0.9.5"` 11305 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
11365 else 11306 else
11366 CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "check >= 0.9.5"` 11307 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
11367 fi 11308 fi
11368 # Put the nasty error message in config.log where it belongs 11309 # Put the nasty error message in config.log where it belongs
11369 echo "$CHECK_PKG_ERRORS" >&5 11310 echo "$CHECK_PKG_ERRORS" >&5
11370 11311
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11312 _efl_enable_tests="no"
11372$as_echo "no" >&6; }
11373 _efl_enable_tests="no"
11374elif test $pkg_failed = untried; then 11313elif test $pkg_failed = untried; then
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11315$as_echo "no" >&6; }
11375 _efl_enable_tests="no" 11316 _efl_enable_tests="no"
11376else 11317else
11377 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS 11318 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
@@ -11808,8 +11749,8 @@ fi
11808 11749
11809test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11750test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11811as_fn_error "no acceptable C compiler found in \$PATH 11752as_fn_error $? "no acceptable C compiler found in \$PATH
11812See \`config.log' for more details." "$LINENO" 5; } 11753See \`config.log' for more details" "$LINENO" 5 ; }
11813 11754
11814# Provide some information about the compiler. 11755# Provide some information about the compiler.
11815$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 11756$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -12179,6 +12120,10 @@ fi
12179# pkg-config 12120# pkg-config
12180 12121
12181 12122
12123
12124
12125
12126
12182if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12127if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12183 if test -n "$ac_tool_prefix"; then 12128 if test -n "$ac_tool_prefix"; then
12184 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -12291,7 +12236,6 @@ $as_echo "yes" >&6; }
12291$as_echo "no" >&6; } 12236$as_echo "no" >&6; }
12292 PKG_CONFIG="" 12237 PKG_CONFIG=""
12293 fi 12238 fi
12294
12295fi 12239fi
12296 12240
12297# Check whether pkg-config supports Requires.private 12241# Check whether pkg-config supports Requires.private
@@ -12476,11 +12420,10 @@ pkg_failed=no
12476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5 12420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12477$as_echo_n "checking for EVIL... " >&6; } 12421$as_echo_n "checking for EVIL... " >&6; }
12478 12422
12479if test -n "$PKG_CONFIG"; then 12423if test -n "$EVIL_CFLAGS"; then
12480 if test -n "$EVIL_CFLAGS"; then 12424 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12481 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS" 12425 elif test -n "$PKG_CONFIG"; then
12482 else 12426 if test -n "$PKG_CONFIG" && \
12483 if test -n "$PKG_CONFIG" && \
12484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 12427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
12485 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 12428 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
12486 ac_status=$? 12429 ac_status=$?
@@ -12490,15 +12433,13 @@ if test -n "$PKG_CONFIG"; then
12490else 12433else
12491 pkg_failed=yes 12434 pkg_failed=yes
12492fi 12435fi
12493 fi 12436 else
12494else 12437 pkg_failed=untried
12495 pkg_failed=untried
12496fi 12438fi
12497if test -n "$PKG_CONFIG"; then 12439if test -n "$EVIL_LIBS"; then
12498 if test -n "$EVIL_LIBS"; then 12440 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12499 pkg_cv_EVIL_LIBS="$EVIL_LIBS" 12441 elif test -n "$PKG_CONFIG"; then
12500 else 12442 if test -n "$PKG_CONFIG" && \
12501 if test -n "$PKG_CONFIG" && \
12502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 12443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
12503 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 12444 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
12504 ac_status=$? 12445 ac_status=$?
@@ -12508,14 +12449,15 @@ if test -n "$PKG_CONFIG"; then
12508else 12449else
12509 pkg_failed=yes 12450 pkg_failed=yes
12510fi 12451fi
12511 fi 12452 else
12512else 12453 pkg_failed=untried
12513 pkg_failed=untried
12514fi 12454fi
12515 12455
12516 12456
12517 12457
12518if test $pkg_failed = yes; then 12458if test $pkg_failed = yes; then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460$as_echo "no" >&6; }
12519 12461
12520if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12462if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12521 _pkg_short_errors_supported=yes 12463 _pkg_short_errors_supported=yes
@@ -12523,14 +12465,14 @@ else
12523 _pkg_short_errors_supported=no 12465 _pkg_short_errors_supported=no
12524fi 12466fi
12525 if test $_pkg_short_errors_supported = yes; then 12467 if test $_pkg_short_errors_supported = yes; then
12526 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil >= 1.0.0"` 12468 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
12527 else 12469 else
12528 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil >= 1.0.0"` 12470 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
12529 fi 12471 fi
12530 # Put the nasty error message in config.log where it belongs 12472 # Put the nasty error message in config.log where it belongs
12531 echo "$EVIL_PKG_ERRORS" >&5 12473 echo "$EVIL_PKG_ERRORS" >&5
12532 12474
12533 as_fn_error "Package requirements (evil >= 1.0.0) were not met: 12475 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
12534 12476
12535$EVIL_PKG_ERRORS 12477$EVIL_PKG_ERRORS
12536 12478
@@ -12539,12 +12481,13 @@ installed software in a non-standard prefix.
12539 12481
12540Alternatively, you may set the environment variables EVIL_CFLAGS 12482Alternatively, you may set the environment variables EVIL_CFLAGS
12541and EVIL_LIBS to avoid the need to call pkg-config. 12483and EVIL_LIBS to avoid the need to call pkg-config.
12542See the pkg-config man page for more details. 12484See the pkg-config man page for more details." "$LINENO" 5
12543" "$LINENO" 5
12544elif test $pkg_failed = untried; then 12485elif test $pkg_failed = untried; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487$as_echo "no" >&6; }
12545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12547as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12490as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12548is in your PATH or set the PKG_CONFIG environment variable to the full 12491is in your PATH or set the PKG_CONFIG environment variable to the full
12549path to pkg-config. 12492path to pkg-config.
12550 12493
@@ -12553,13 +12496,13 @@ and EVIL_LIBS to avoid the need to call pkg-config.
12553See the pkg-config man page for more details. 12496See the pkg-config man page for more details.
12554 12497
12555To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12498To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12556See \`config.log' for more details." "$LINENO" 5; } 12499See \`config.log' for more details" "$LINENO" 5 ; }
12557else 12500else
12558 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS 12501 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12559 EVIL_LIBS=$pkg_cv_EVIL_LIBS 12502 EVIL_LIBS=$pkg_cv_EVIL_LIBS
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12561$as_echo "yes" >&6; } 12504$as_echo "yes" >&6; }
12562 : 12505
12563fi 12506fi
12564 12507
12565$as_echo "#define HAVE_EVIL 1" >>confdefs.h 12508$as_echo "#define HAVE_EVIL 1" >>confdefs.h
@@ -12588,46 +12531,44 @@ pkg_failed=no
12588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5 12531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
12589$as_echo_n "checking for EINA... " >&6; } 12532$as_echo_n "checking for EINA... " >&6; }
12590 12533
12591if test -n "$PKG_CONFIG"; then 12534if test -n "$EINA_CFLAGS"; then
12592 if test -n "$EINA_CFLAGS"; then 12535 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
12593 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS" 12536 elif test -n "$PKG_CONFIG"; then
12594 else 12537 if test -n "$PKG_CONFIG" && \
12595 if test -n "$PKG_CONFIG" && \ 12538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
12596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 12539 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
12597 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
12598 ac_status=$? 12540 ac_status=$?
12599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12600 test $ac_status = 0; }; then 12542 test $ac_status = 0; }; then
12601 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.1.0" 2>/dev/null` 12543 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
12602else 12544else
12603 pkg_failed=yes 12545 pkg_failed=yes
12604fi 12546fi
12605 fi 12547 else
12606else 12548 pkg_failed=untried
12607 pkg_failed=untried
12608fi 12549fi
12609if test -n "$PKG_CONFIG"; then 12550if test -n "$EINA_LIBS"; then
12610 if test -n "$EINA_LIBS"; then 12551 pkg_cv_EINA_LIBS="$EINA_LIBS"
12611 pkg_cv_EINA_LIBS="$EINA_LIBS" 12552 elif test -n "$PKG_CONFIG"; then
12612 else 12553 if test -n "$PKG_CONFIG" && \
12613 if test -n "$PKG_CONFIG" && \ 12554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
12614 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 12555 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
12615 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
12616 ac_status=$? 12556 ac_status=$?
12617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12618 test $ac_status = 0; }; then 12558 test $ac_status = 0; }; then
12619 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.1.0" 2>/dev/null` 12559 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
12620else 12560else
12621 pkg_failed=yes 12561 pkg_failed=yes
12622fi 12562fi
12623 fi 12563 else
12624else 12564 pkg_failed=untried
12625 pkg_failed=untried
12626fi 12565fi
12627 12566
12628 12567
12629 12568
12630if test $pkg_failed = yes; then 12569if test $pkg_failed = yes; then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12571$as_echo "no" >&6; }
12631 12572
12632if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12573if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12633 _pkg_short_errors_supported=yes 12574 _pkg_short_errors_supported=yes
@@ -12635,14 +12576,14 @@ else
12635 _pkg_short_errors_supported=no 12576 _pkg_short_errors_supported=no
12636fi 12577fi
12637 if test $_pkg_short_errors_supported = yes; then 12578 if test $_pkg_short_errors_supported = yes; then
12638 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eina >= 1.1.0"` 12579 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
12639 else 12580 else
12640 EINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eina >= 1.1.0"` 12581 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
12641 fi 12582 fi
12642 # Put the nasty error message in config.log where it belongs 12583 # Put the nasty error message in config.log where it belongs
12643 echo "$EINA_PKG_ERRORS" >&5 12584 echo "$EINA_PKG_ERRORS" >&5
12644 12585
12645 as_fn_error "Package requirements (eina >= 1.1.0) were not met: 12586 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
12646 12587
12647$EINA_PKG_ERRORS 12588$EINA_PKG_ERRORS
12648 12589
@@ -12651,12 +12592,13 @@ installed software in a non-standard prefix.
12651 12592
12652Alternatively, you may set the environment variables EINA_CFLAGS 12593Alternatively, you may set the environment variables EINA_CFLAGS
12653and EINA_LIBS to avoid the need to call pkg-config. 12594and EINA_LIBS to avoid the need to call pkg-config.
12654See the pkg-config man page for more details. 12595See the pkg-config man page for more details." "$LINENO" 5
12655" "$LINENO" 5
12656elif test $pkg_failed = untried; then 12596elif test $pkg_failed = untried; then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12598$as_echo "no" >&6; }
12657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12658$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12659as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12601as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12660is in your PATH or set the PKG_CONFIG environment variable to the full 12602is in your PATH or set the PKG_CONFIG environment variable to the full
12661path to pkg-config. 12603path to pkg-config.
12662 12604
@@ -12665,15 +12607,108 @@ and EINA_LIBS to avoid the need to call pkg-config.
12665See the pkg-config man page for more details. 12607See the pkg-config man page for more details.
12666 12608
12667To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12609To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12668See \`config.log' for more details." "$LINENO" 5; } 12610See \`config.log' for more details" "$LINENO" 5 ; }
12669else 12611else
12670 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS 12612 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12671 EINA_LIBS=$pkg_cv_EINA_LIBS 12613 EINA_LIBS=$pkg_cv_EINA_LIBS
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12673$as_echo "yes" >&6; } 12615$as_echo "yes" >&6; }
12674 : 12616
12617fi
12618requirement_eet="eina >= 1.2.0 ${requirement_eet}"
12619
12620### Checks for portability layer
12621
12622
12623pkg_failed=no
12624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
12625$as_echo_n "checking for EXOTIC... " >&6; }
12626
12627if test -n "$EXOTIC_CFLAGS"; then
12628 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
12629 elif test -n "$PKG_CONFIG"; then
12630 if test -n "$PKG_CONFIG" && \
12631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12632 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12633 ac_status=$?
12634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12635 test $ac_status = 0; }; then
12636 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
12637else
12638 pkg_failed=yes
12639fi
12640 else
12641 pkg_failed=untried
12642fi
12643if test -n "$EXOTIC_LIBS"; then
12644 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
12645 elif test -n "$PKG_CONFIG"; then
12646 if test -n "$PKG_CONFIG" && \
12647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12648 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12649 ac_status=$?
12650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12651 test $ac_status = 0; }; then
12652 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
12653else
12654 pkg_failed=yes
12655fi
12656 else
12657 pkg_failed=untried
12658fi
12659
12660
12661
12662if test $pkg_failed = yes; then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664$as_echo "no" >&6; }
12665
12666if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12667 _pkg_short_errors_supported=yes
12668else
12669 _pkg_short_errors_supported=no
12670fi
12671 if test $_pkg_short_errors_supported = yes; then
12672 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
12673 else
12674 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
12675 fi
12676 # Put the nasty error message in config.log where it belongs
12677 echo "$EXOTIC_PKG_ERRORS" >&5
12678
12679 enable_exotic="no"
12680elif test $pkg_failed = untried; then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12682$as_echo "no" >&6; }
12683 enable_exotic="no"
12684else
12685 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
12686 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12688$as_echo "yes" >&6; }
12689 enable_exotic="yes"
12690fi
12691
12692if test "x${enable_exotic}" = "xyes"; then
12693 requirement_eet="exotic ${requirement_eet}"
12694
12695
12696$as_echo "#define HAVE_EXOTIC_H 1" >>confdefs.h
12697
12675fi 12698fi
12676requirement_eet="eina >= 1.1.0 ${requirement_eet}" 12699
12700# Gnutls support
12701
12702# Check whether --enable-gnutls was given.
12703if test "${enable_gnutls+set}" = set; then :
12704 enableval=$enable_gnutls; want_gnutls=$enableval
12705
12706fi
12707
12708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use Gnutls" >&5
12709$as_echo_n "checking whether to use Gnutls... " >&6; }
12710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_gnutls}" >&5
12711$as_echo "${want_gnutls}" >&6; }
12677 12712
12678# Gnutls library 12713# Gnutls library
12679have_gnutls="no" 12714have_gnutls="no"
@@ -12683,11 +12718,10 @@ pkg_failed=no
12683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 12718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
12684$as_echo_n "checking for GNUTLS... " >&6; } 12719$as_echo_n "checking for GNUTLS... " >&6; }
12685 12720
12686if test -n "$PKG_CONFIG"; then 12721if test -n "$GNUTLS_CFLAGS"; then
12687 if test -n "$GNUTLS_CFLAGS"; then 12722 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
12688 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" 12723 elif test -n "$PKG_CONFIG"; then
12689 else 12724 if test -n "$PKG_CONFIG" && \
12690 if test -n "$PKG_CONFIG" && \
12691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.7.6\""; } >&5 12725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.7.6\""; } >&5
12692 ($PKG_CONFIG --exists --print-errors "gnutls >= 1.7.6") 2>&5 12726 ($PKG_CONFIG --exists --print-errors "gnutls >= 1.7.6") 2>&5
12693 ac_status=$? 12727 ac_status=$?
@@ -12697,15 +12731,13 @@ if test -n "$PKG_CONFIG"; then
12697else 12731else
12698 pkg_failed=yes 12732 pkg_failed=yes
12699fi 12733fi
12700 fi 12734 else
12701else 12735 pkg_failed=untried
12702 pkg_failed=untried
12703fi 12736fi
12704if test -n "$PKG_CONFIG"; then 12737if test -n "$GNUTLS_LIBS"; then
12705 if test -n "$GNUTLS_LIBS"; then 12738 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
12706 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" 12739 elif test -n "$PKG_CONFIG"; then
12707 else 12740 if test -n "$PKG_CONFIG" && \
12708 if test -n "$PKG_CONFIG" && \
12709 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.7.6\""; } >&5 12741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.7.6\""; } >&5
12710 ($PKG_CONFIG --exists --print-errors "gnutls >= 1.7.6") 2>&5 12742 ($PKG_CONFIG --exists --print-errors "gnutls >= 1.7.6") 2>&5
12711 ac_status=$? 12743 ac_status=$?
@@ -12715,14 +12747,15 @@ if test -n "$PKG_CONFIG"; then
12715else 12747else
12716 pkg_failed=yes 12748 pkg_failed=yes
12717fi 12749fi
12718 fi 12750 else
12719else 12751 pkg_failed=untried
12720 pkg_failed=untried
12721fi 12752fi
12722 12753
12723 12754
12724 12755
12725if test $pkg_failed = yes; then 12756if test $pkg_failed = yes; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758$as_echo "no" >&6; }
12726 12759
12727if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12760if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12728 _pkg_short_errors_supported=yes 12761 _pkg_short_errors_supported=yes
@@ -12730,17 +12763,17 @@ else
12730 _pkg_short_errors_supported=no 12763 _pkg_short_errors_supported=no
12731fi 12764fi
12732 if test $_pkg_short_errors_supported = yes; then 12765 if test $_pkg_short_errors_supported = yes; then
12733 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnutls >= 1.7.6"` 12766 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 1.7.6" 2>&1`
12734 else 12767 else
12735 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= 1.7.6"` 12768 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 1.7.6" 2>&1`
12736 fi 12769 fi
12737 # Put the nasty error message in config.log where it belongs 12770 # Put the nasty error message in config.log where it belongs
12738 echo "$GNUTLS_PKG_ERRORS" >&5 12771 echo "$GNUTLS_PKG_ERRORS" >&5
12739 12772
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12773 have_gnutls="no"
12741$as_echo "no" >&6; }
12742 have_gnutls="no"
12743elif test $pkg_failed = untried; then 12774elif test $pkg_failed = untried; then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776$as_echo "no" >&6; }
12744 have_gnutls="no" 12777 have_gnutls="no"
12745else 12778else
12746 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS 12779 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
@@ -12869,6 +12902,204 @@ $as_echo "no" >&6; }
12869 fi 12902 fi
12870fi 12903fi
12871 12904
12905# Specific GNUTLS improvement
12906
12907new_gnutls_api="yes"
12908# Check whether --enable-new-gnutls-api was given.
12909if test "${enable_new_gnutls_api+set}" = set; then :
12910 enableval=$enable_new_gnutls_api; new_gnutls_api=$enableval
12911
12912fi
12913
12914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use gnutls_x509_crt_verify_hash" >&5
12915$as_echo_n "checking whether to use gnutls_x509_crt_verify_hash... " >&6; }
12916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${new_gnutls_api}" >&5
12917$as_echo "${new_gnutls_api}" >&6; }
12918
12919if test "x${new_gnutls_api}" = "xyes" ; then
12920 tmp_CFLAGS="${CFLAGS}"
12921 tmp_LIBS="${LIBS}"
12922 CFLAGS="${GNUTLS_CFLAGS}"
12923 LIBS="${GNUTLS_LIBS}"
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_verify_hash in -lgnutls" >&5
12925$as_echo_n "checking for gnutls_x509_crt_verify_hash in -lgnutls... " >&6; }
12926if test "${ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash+set}" = set; then :
12927 $as_echo_n "(cached) " >&6
12928else
12929 ac_check_lib_save_LIBS=$LIBS
12930LIBS="-lgnutls $LIBS"
12931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932/* end confdefs.h. */
12933
12934/* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937#ifdef __cplusplus
12938extern "C"
12939#endif
12940char gnutls_x509_crt_verify_hash ();
12941int
12942main ()
12943{
12944return gnutls_x509_crt_verify_hash ();
12945 ;
12946 return 0;
12947}
12948_ACEOF
12949if ac_fn_c_try_link "$LINENO"; then :
12950 ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash=yes
12951else
12952 ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash=no
12953fi
12954rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956LIBS=$ac_check_lib_save_LIBS
12957fi
12958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash" >&5
12959$as_echo "$ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash" >&6; }
12960if test "x$ac_cv_lib_gnutls_gnutls_x509_crt_verify_hash" = x""yes; then :
12961 new_gnutls_api="yes"
12962else
12963 new_gnutls_api="no"
12964
12965fi
12966
12967 CFLAGS="${tmp_CFLAGS}"
12968 LIBS="${tmp_LIBS}"
12969
12970 if test "x${new_gnutls_api}" = "xyes"; then
12971
12972$as_echo "#define EET_USE_NEW_GNUTLS_API 1" >>confdefs.h
12973
12974 fi
12975fi
12976
12977use_gnutls_privkey_sign_data="no"
12978if test "x${want_gnutls}" = "xyes" -o "x${want_gnutls}" = "xauto"; then
12979 tmp_CFLAGS="${CFLAGS}"
12980 tmp_LIBS="${LIBS}"
12981 CFLAGS="${GNUTLS_CFLAGS}"
12982 LIBS="${GNUTLS_LIBS}"
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_privkey_sign_data in -lgnutls" >&5
12984$as_echo_n "checking for gnutls_privkey_sign_data in -lgnutls... " >&6; }
12985if test "${ac_cv_lib_gnutls_gnutls_privkey_sign_data+set}" = set; then :
12986 $as_echo_n "(cached) " >&6
12987else
12988 ac_check_lib_save_LIBS=$LIBS
12989LIBS="-lgnutls $LIBS"
12990cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991/* end confdefs.h. */
12992
12993/* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12996#ifdef __cplusplus
12997extern "C"
12998#endif
12999char gnutls_privkey_sign_data ();
13000int
13001main ()
13002{
13003return gnutls_privkey_sign_data ();
13004 ;
13005 return 0;
13006}
13007_ACEOF
13008if ac_fn_c_try_link "$LINENO"; then :
13009 ac_cv_lib_gnutls_gnutls_privkey_sign_data=yes
13010else
13011 ac_cv_lib_gnutls_gnutls_privkey_sign_data=no
13012fi
13013rm -f core conftest.err conftest.$ac_objext \
13014 conftest$ac_exeext conftest.$ac_ext
13015LIBS=$ac_check_lib_save_LIBS
13016fi
13017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_privkey_sign_data" >&5
13018$as_echo "$ac_cv_lib_gnutls_gnutls_privkey_sign_data" >&6; }
13019if test "x$ac_cv_lib_gnutls_gnutls_privkey_sign_data" = x""yes; then :
13020 use_gnutls_privkey_sign_data="yes"
13021else
13022 use_gnutls_privkey_sign_data="no"
13023
13024fi
13025
13026 CFLAGS="${tmp_CFLAGS}"
13027 LIBS="${tmp_LIBS}"
13028
13029 if test "x${use_gnutls_privkey_sign_data}" = "xyes"; then
13030
13031$as_echo "#define EET_USE_NEW_PRIVKEY_SIGN_DATA 1" >>confdefs.h
13032
13033 fi
13034fi
13035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use gnutls_privkey_sign_data" >&5
13036$as_echo_n "checking whether to use gnutls_privkey_sign_data... " >&6; }
13037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${use_gnutls_privkey_sign_data}" >&5
13038$as_echo "${use_gnutls_privkey_sign_data}" >&6; }
13039
13040use_gnutls_pubkey_verify_hash="no"
13041if test "x${want_gnutls}" = "xyes" -o "x${want_gnutls}" = "xauto"; then
13042 tmp_CFLAGS="${CFLAGS}"
13043 tmp_LIBS="${LIBS}"
13044 CFLAGS="${GNUTLS_CFLAGS}"
13045 LIBS="${GNUTLS_LIBS}"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_pubkey_verify_hash in -lgnutls" >&5
13047$as_echo_n "checking for gnutls_pubkey_verify_hash in -lgnutls... " >&6; }
13048if test "${ac_cv_lib_gnutls_gnutls_pubkey_verify_hash+set}" = set; then :
13049 $as_echo_n "(cached) " >&6
13050else
13051 ac_check_lib_save_LIBS=$LIBS
13052LIBS="-lgnutls $LIBS"
13053cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054/* end confdefs.h. */
13055
13056/* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13059#ifdef __cplusplus
13060extern "C"
13061#endif
13062char gnutls_pubkey_verify_hash ();
13063int
13064main ()
13065{
13066return gnutls_pubkey_verify_hash ();
13067 ;
13068 return 0;
13069}
13070_ACEOF
13071if ac_fn_c_try_link "$LINENO"; then :
13072 ac_cv_lib_gnutls_gnutls_pubkey_verify_hash=yes
13073else
13074 ac_cv_lib_gnutls_gnutls_pubkey_verify_hash=no
13075fi
13076rm -f core conftest.err conftest.$ac_objext \
13077 conftest$ac_exeext conftest.$ac_ext
13078LIBS=$ac_check_lib_save_LIBS
13079fi
13080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_pubkey_verify_hash" >&5
13081$as_echo "$ac_cv_lib_gnutls_gnutls_pubkey_verify_hash" >&6; }
13082if test "x$ac_cv_lib_gnutls_gnutls_pubkey_verify_hash" = x""yes; then :
13083 use_gnutls_pubkey_verify_hash="yes"
13084else
13085 use_gnutls_pubkey_verify_hash="no"
13086
13087fi
13088
13089 CFLAGS="${tmp_CFLAGS}"
13090 LIBS="${tmp_LIBS}"
13091
13092 if test "x${use_gnutls_pubkey_verify_hash}" = "xyes"; then
13093
13094$as_echo "#define EET_USE_NEW_PUBKEY_VERIFY_HASH 1" >>confdefs.h
13095
13096 fi
13097fi
13098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use gnutls_pubkey_verify_hash" >&5
13099$as_echo_n "checking whether to use gnutls_pubkey_verify_hash... " >&6; }
13100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${use_gnutls_pubkey_verify_hash}" >&5
13101$as_echo "${use_gnutls_pubkey_verify_hash}" >&6; }
13102
12872# Openssl library 13103# Openssl library
12873have_openssl="no" 13104have_openssl="no"
12874if test "x${want_openssl}" = "xyes" || test "x${want_openssl}" = "xauto" ; then 13105if test "x${want_openssl}" = "xyes" || test "x${want_openssl}" = "xauto" ; then
@@ -12877,11 +13108,10 @@ pkg_failed=no
12877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5 13108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
12878$as_echo_n "checking for OPENSSL... " >&6; } 13109$as_echo_n "checking for OPENSSL... " >&6; }
12879 13110
12880if test -n "$PKG_CONFIG"; then 13111if test -n "$OPENSSL_CFLAGS"; then
12881 if test -n "$OPENSSL_CFLAGS"; then 13112 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
12882 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" 13113 elif test -n "$PKG_CONFIG"; then
12883 else 13114 if test -n "$PKG_CONFIG" && \
12884 if test -n "$PKG_CONFIG" && \
12885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 13115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
12886 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 13116 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
12887 ac_status=$? 13117 ac_status=$?
@@ -12891,15 +13121,13 @@ if test -n "$PKG_CONFIG"; then
12891else 13121else
12892 pkg_failed=yes 13122 pkg_failed=yes
12893fi 13123fi
12894 fi 13124 else
12895else 13125 pkg_failed=untried
12896 pkg_failed=untried
12897fi 13126fi
12898if test -n "$PKG_CONFIG"; then 13127if test -n "$OPENSSL_LIBS"; then
12899 if test -n "$OPENSSL_LIBS"; then 13128 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
12900 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" 13129 elif test -n "$PKG_CONFIG"; then
12901 else 13130 if test -n "$PKG_CONFIG" && \
12902 if test -n "$PKG_CONFIG" && \
12903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5 13131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
12904 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5 13132 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
12905 ac_status=$? 13133 ac_status=$?
@@ -12909,14 +13137,15 @@ if test -n "$PKG_CONFIG"; then
12909else 13137else
12910 pkg_failed=yes 13138 pkg_failed=yes
12911fi 13139fi
12912 fi 13140 else
12913else 13141 pkg_failed=untried
12914 pkg_failed=untried
12915fi 13142fi
12916 13143
12917 13144
12918 13145
12919if test $pkg_failed = yes; then 13146if test $pkg_failed = yes; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148$as_echo "no" >&6; }
12920 13149
12921if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13150if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12922 _pkg_short_errors_supported=yes 13151 _pkg_short_errors_supported=yes
@@ -12924,17 +13153,17 @@ else
12924 _pkg_short_errors_supported=no 13153 _pkg_short_errors_supported=no
12925fi 13154fi
12926 if test $_pkg_short_errors_supported = yes; then 13155 if test $_pkg_short_errors_supported = yes; then
12927 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl"` 13156 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
12928 else 13157 else
12929 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl"` 13158 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl" 2>&1`
12930 fi 13159 fi
12931 # Put the nasty error message in config.log where it belongs 13160 # Put the nasty error message in config.log where it belongs
12932 echo "$OPENSSL_PKG_ERRORS" >&5 13161 echo "$OPENSSL_PKG_ERRORS" >&5
12933 13162
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13163 have_openssl="no"
12935$as_echo "no" >&6; }
12936 have_openssl="no"
12937elif test $pkg_failed = untried; then 13164elif test $pkg_failed = untried; then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166$as_echo "no" >&6; }
12938 have_openssl="no" 13167 have_openssl="no"
12939else 13168else
12940 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS 13169 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
@@ -13001,7 +13230,7 @@ ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inclu
13001if test "x$ac_cv_header_zlib_h" = x""yes; then : 13230if test "x$ac_cv_header_zlib_h" = x""yes; then :
13002 dummy="yes" 13231 dummy="yes"
13003else 13232else
13004 as_fn_error "\"Cannot find zlib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file\"" "$LINENO" 5 13233 as_fn_error $? "\"Cannot find zlib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file\"" "$LINENO" 5
13005fi 13234fi
13006 13235
13007 13236
@@ -13010,7 +13239,7 @@ ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac
13010if test "x$ac_cv_header_jpeglib_h" = x""yes; then : 13239if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
13011 dummy="yes" 13240 dummy="yes"
13012else 13241else
13013 as_fn_error "\"Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file\"" "$LINENO" 5 13242 as_fn_error $? "\"Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file\"" "$LINENO" 5
13014fi 13243fi
13015 13244
13016 13245
@@ -13019,8 +13248,7 @@ for ac_header in netinet/in.h unistd.h
13019do : 13248do :
13020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13021ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13250ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13022eval as_val=\$$as_ac_Header 13251if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13023 if test "x$as_val" = x""yes; then :
13024 cat >>confdefs.h <<_ACEOF 13252 cat >>confdefs.h <<_ACEOF
13025#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13253#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13026_ACEOF 13254_ACEOF
@@ -13097,7 +13325,7 @@ $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13097fi 13325fi
13098set dummy $CC; ac_cc=`$as_echo "$2" | 13326set dummy $CC; ac_cc=`$as_echo "$2" |
13099 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 13327 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13100if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : 13328if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
13101 $as_echo_n "(cached) " >&6 13329 $as_echo_n "(cached) " >&6
13102else 13330else
13103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13992,8 +14220,7 @@ if test $ac_cv_os_cray = yes; then
13992 for ac_func in _getb67 GETB67 getb67; do 14220 for ac_func in _getb67 GETB67 getb67; do
13993 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13994ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14222ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13995eval as_val=\$$as_ac_var 14223if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13996 if test "x$as_val" = x""yes; then :
13997 14224
13998cat >>confdefs.h <<_ACEOF 14225cat >>confdefs.h <<_ACEOF
13999#define CRAY_STACKSEG_END $ac_func 14226#define CRAY_STACKSEG_END $ac_func
@@ -14060,8 +14287,7 @@ for ac_func in fmemopen open_memstream realpath
14060do : 14287do :
14061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14062ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14289ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14063eval as_val=\$$as_ac_var 14290if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14064 if test "x$as_val" = x""yes; then :
14065 cat >>confdefs.h <<_ACEOF 14291 cat >>confdefs.h <<_ACEOF
14066#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14292#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14067_ACEOF 14293_ACEOF
@@ -14148,12 +14374,63 @@ if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_s
14148 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch} 14374 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
14149fi 14375fi
14150 14376
14377if test "x${_efl_have_fnmatch}" != "xyes" -a "x${enable_exotic}" = "xyes"; then
14378 LDFLAGS_SAVE="$LDFLAGS"
14379 LDFLAGS="$LDFLAGS $EXOTIC_LIBS"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fnmatch in -lexotic" >&5
14381$as_echo_n "checking for fnmatch in -lexotic... " >&6; }
14382if test "${ac_cv_lib_exotic_fnmatch+set}" = set; then :
14383 $as_echo_n "(cached) " >&6
14384else
14385 ac_check_lib_save_LIBS=$LIBS
14386LIBS="-lexotic $LIBS"
14387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388/* end confdefs.h. */
14389
14390/* Override any GCC internal prototype to avoid an error.
14391 Use char because int might match the return type of a GCC
14392 builtin and then its argument prototype would still apply. */
14393#ifdef __cplusplus
14394extern "C"
14395#endif
14396char fnmatch ();
14397int
14398main ()
14399{
14400return fnmatch ();
14401 ;
14402 return 0;
14403}
14404_ACEOF
14405if ac_fn_c_try_link "$LINENO"; then :
14406 ac_cv_lib_exotic_fnmatch=yes
14407else
14408 ac_cv_lib_exotic_fnmatch=no
14409fi
14410rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412LIBS=$ac_check_lib_save_LIBS
14413fi
14414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_exotic_fnmatch" >&5
14415$as_echo "$ac_cv_lib_exotic_fnmatch" >&6; }
14416if test "x$ac_cv_lib_exotic_fnmatch" = x""yes; then :
14417 _efl_have_fnmatch="yes"
14418else
14419 _efl_have_fnmatch="no"
14420fi
14421
14422
14423 if test "x${_efl_have_fnmatch}" = "xyes"; then
14424 EFL_FNMATCH_LIBS="exotic"
14425 fi
14426fi
14427
14151 14428
14152 14429
14153if test "x$_efl_have_fnmatch" = "xyes"; then : 14430if test "x$_efl_have_fnmatch" = "xyes"; then :
14154 14431
14155else 14432else
14156 as_fn_error "Cannot find fnmatch()" "$LINENO" 5 14433 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
14157fi 14434fi
14158 14435
14159 14436
@@ -14246,6 +14523,7 @@ DEFS=-DHAVE_CONFIG_H
14246 14523
14247ac_libobjs= 14524ac_libobjs=
14248ac_ltlibobjs= 14525ac_ltlibobjs=
14526U=
14249for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14527for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14250 # 1. Remove the extension, and $U if already installed. 14528 # 1. Remove the extension, and $U if already installed.
14251 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14529 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -14269,43 +14547,43 @@ else
14269fi 14547fi
14270 14548
14271if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14549if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14272 as_fn_error "conditional \"AMDEP\" was never defined. 14550 as_fn_error $? "conditional \"AMDEP\" was never defined.
14273Usually this means the macro was only invoked conditionally." "$LINENO" 5 14551Usually this means the macro was only invoked conditionally." "$LINENO" 5
14274fi 14552fi
14275if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14553if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14276 as_fn_error "conditional \"am__fastdepCC\" was never defined. 14554 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14277Usually this means the macro was only invoked conditionally." "$LINENO" 5 14555Usually this means the macro was only invoked conditionally." "$LINENO" 5
14278fi 14556fi
14279if test -z "${EET_AMALGAMATION_TRUE}" && test -z "${EET_AMALGAMATION_FALSE}"; then 14557if test -z "${EET_AMALGAMATION_TRUE}" && test -z "${EET_AMALGAMATION_FALSE}"; then
14280 as_fn_error "conditional \"EET_AMALGAMATION\" was never defined. 14558 as_fn_error $? "conditional \"EET_AMALGAMATION\" was never defined.
14281Usually this means the macro was only invoked conditionally." "$LINENO" 5 14559Usually this means the macro was only invoked conditionally." "$LINENO" 5
14282fi 14560fi
14283if test -z "${BUILD_EET_TRUE}" && test -z "${BUILD_EET_FALSE}"; then 14561if test -z "${BUILD_EET_TRUE}" && test -z "${BUILD_EET_FALSE}"; then
14284 as_fn_error "conditional \"BUILD_EET\" was never defined. 14562 as_fn_error $? "conditional \"BUILD_EET\" was never defined.
14285Usually this means the macro was only invoked conditionally." "$LINENO" 5 14563Usually this means the macro was only invoked conditionally." "$LINENO" 5
14286fi 14564fi
14287if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then 14565if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
14288 as_fn_error "conditional \"INSTALL_EXAMPLES\" was never defined. 14566 as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
14289Usually this means the macro was only invoked conditionally." "$LINENO" 5 14567Usually this means the macro was only invoked conditionally." "$LINENO" 5
14290fi 14568fi
14291if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 14569if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
14292 as_fn_error "conditional \"BUILD_EXAMPLES\" was never defined. 14570 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
14293Usually this means the macro was only invoked conditionally." "$LINENO" 5 14571Usually this means the macro was only invoked conditionally." "$LINENO" 5
14294fi 14572fi
14295if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then 14573if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
14296 as_fn_error "conditional \"EFL_ENABLE_TESTS\" was never defined. 14574 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
14297Usually this means the macro was only invoked conditionally." "$LINENO" 5 14575Usually this means the macro was only invoked conditionally." "$LINENO" 5
14298fi 14576fi
14299if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then 14577if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
14300 as_fn_error "conditional \"EFL_ENABLE_COVERAGE\" was never defined. 14578 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
14301Usually this means the macro was only invoked conditionally." "$LINENO" 5 14579Usually this means the macro was only invoked conditionally." "$LINENO" 5
14302fi 14580fi
14303if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14581if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14304 as_fn_error "conditional \"am__fastdepCC\" was never defined. 14582 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14305Usually this means the macro was only invoked conditionally." "$LINENO" 5 14583Usually this means the macro was only invoked conditionally." "$LINENO" 5
14306fi 14584fi
14307if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then 14585if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14308 as_fn_error "conditional \"EFL_BUILD_DOC\" was never defined. 14586 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14309Usually this means the macro was only invoked conditionally." "$LINENO" 5 14587Usually this means the macro was only invoked conditionally." "$LINENO" 5
14310fi 14588fi
14311 14589
@@ -14455,19 +14733,19 @@ export LANGUAGE
14455(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14733(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14456 14734
14457 14735
14458# as_fn_error ERROR [LINENO LOG_FD] 14736# as_fn_error STATUS ERROR [LINENO LOG_FD]
14459# --------------------------------- 14737# ----------------------------------------
14460# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14738# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14461# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14739# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14462# script with status $?, using 1 if that was 0. 14740# script with STATUS, using 1 if that was 0.
14463as_fn_error () 14741as_fn_error ()
14464{ 14742{
14465 as_status=$?; test $as_status -eq 0 && as_status=1 14743 as_status=$1; test $as_status -eq 0 && as_status=1
14466 if test "$3"; then 14744 if test "$4"; then
14467 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14745 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14468 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 14746 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14469 fi 14747 fi
14470 $as_echo "$as_me: error: $1" >&2 14748 $as_echo "$as_me: error: $2" >&2
14471 as_fn_exit $as_status 14749 as_fn_exit $as_status
14472} # as_fn_error 14750} # as_fn_error
14473 14751
@@ -14663,7 +14941,7 @@ $as_echo X"$as_dir" |
14663 test -d "$as_dir" && break 14941 test -d "$as_dir" && break
14664 done 14942 done
14665 test -z "$as_dirs" || eval "mkdir $as_dirs" 14943 test -z "$as_dirs" || eval "mkdir $as_dirs"
14666 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 14944 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14667 14945
14668 14946
14669} # as_fn_mkdir_p 14947} # as_fn_mkdir_p
@@ -14716,8 +14994,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14716# report actual input values of CONFIG_FILES etc. instead of their 14994# report actual input values of CONFIG_FILES etc. instead of their
14717# values after options handling. 14995# values after options handling.
14718ac_log=" 14996ac_log="
14719This file was extended by eet $as_me 1.5.99.67344, which was 14997This file was extended by eet $as_me 1.6.0-alpha, which was
14720generated by GNU Autoconf 2.65. Invocation command line was 14998generated by GNU Autoconf 2.67. Invocation command line was
14721 14999
14722 CONFIG_FILES = $CONFIG_FILES 15000 CONFIG_FILES = $CONFIG_FILES
14723 CONFIG_HEADERS = $CONFIG_HEADERS 15001 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -14782,11 +15060,11 @@ _ACEOF
14782cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15060cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14783ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 15061ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14784ac_cs_version="\\ 15062ac_cs_version="\\
14785eet config.status 1.5.99.67344 15063eet config.status 1.6.0-alpha
14786configured by $0, generated by GNU Autoconf 2.65, 15064configured by $0, generated by GNU Autoconf 2.67,
14787 with options \\"\$ac_cs_config\\" 15065 with options \\"\$ac_cs_config\\"
14788 15066
14789Copyright (C) 2009 Free Software Foundation, Inc. 15067Copyright (C) 2010 Free Software Foundation, Inc.
14790This config.status script is free software; the Free Software Foundation 15068This config.status script is free software; the Free Software Foundation
14791gives unlimited permission to copy, distribute and modify it." 15069gives unlimited permission to copy, distribute and modify it."
14792 15070
@@ -14804,11 +15082,16 @@ ac_need_defaults=:
14804while test $# != 0 15082while test $# != 0
14805do 15083do
14806 case $1 in 15084 case $1 in
14807 --*=*) 15085 --*=?*)
14808 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15086 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14809 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15087 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14810 ac_shift=: 15088 ac_shift=:
14811 ;; 15089 ;;
15090 --*=)
15091 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15092 ac_optarg=
15093 ac_shift=:
15094 ;;
14812 *) 15095 *)
14813 ac_option=$1 15096 ac_option=$1
14814 ac_optarg=$2 15097 ac_optarg=$2
@@ -14830,6 +15113,7 @@ do
14830 $ac_shift 15113 $ac_shift
14831 case $ac_optarg in 15114 case $ac_optarg in
14832 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15115 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15116 '') as_fn_error $? "missing file argument" ;;
14833 esac 15117 esac
14834 as_fn_append CONFIG_FILES " '$ac_optarg'" 15118 as_fn_append CONFIG_FILES " '$ac_optarg'"
14835 ac_need_defaults=false;; 15119 ac_need_defaults=false;;
@@ -14842,7 +15126,7 @@ do
14842 ac_need_defaults=false;; 15126 ac_need_defaults=false;;
14843 --he | --h) 15127 --he | --h)
14844 # Conflict between --help and --header 15128 # Conflict between --help and --header
14845 as_fn_error "ambiguous option: \`$1' 15129 as_fn_error $? "ambiguous option: \`$1'
14846Try \`$0 --help' for more information.";; 15130Try \`$0 --help' for more information.";;
14847 --help | --hel | -h ) 15131 --help | --hel | -h )
14848 $as_echo "$ac_cs_usage"; exit ;; 15132 $as_echo "$ac_cs_usage"; exit ;;
@@ -14851,7 +15135,7 @@ Try \`$0 --help' for more information.";;
14851 ac_cs_silent=: ;; 15135 ac_cs_silent=: ;;
14852 15136
14853 # This is an error. 15137 # This is an error.
14854 -*) as_fn_error "unrecognized option: \`$1' 15138 -*) as_fn_error $? "unrecognized option: \`$1'
14855Try \`$0 --help' for more information." ;; 15139Try \`$0 --help' for more information." ;;
14856 15140
14857 *) as_fn_append ac_config_targets " $1" 15141 *) as_fn_append ac_config_targets " $1"
@@ -15176,7 +15460,7 @@ do
15176 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;; 15460 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
15177 "eet.spec") CONFIG_FILES="$CONFIG_FILES eet.spec" ;; 15461 "eet.spec") CONFIG_FILES="$CONFIG_FILES eet.spec" ;;
15178 15462
15179 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15463 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15180 esac 15464 esac
15181done 15465done
15182 15466
@@ -15214,7 +15498,7 @@ $debug ||
15214{ 15498{
15215 tmp=./conf$$-$RANDOM 15499 tmp=./conf$$-$RANDOM
15216 (umask 077 && mkdir "$tmp") 15500 (umask 077 && mkdir "$tmp")
15217} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 15501} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15218 15502
15219# Set up the scripts for CONFIG_FILES section. 15503# Set up the scripts for CONFIG_FILES section.
15220# No need to generate them if there are no CONFIG_FILES. 15504# No need to generate them if there are no CONFIG_FILES.
@@ -15231,7 +15515,7 @@ if test "x$ac_cr" = x; then
15231fi 15515fi
15232ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15516ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15233if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15517if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15234 ac_cs_awk_cr='\r' 15518 ac_cs_awk_cr='\\r'
15235else 15519else
15236 ac_cs_awk_cr=$ac_cr 15520 ac_cs_awk_cr=$ac_cr
15237fi 15521fi
@@ -15245,18 +15529,18 @@ _ACEOF
15245 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15529 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15246 echo "_ACEOF" 15530 echo "_ACEOF"
15247} >conf$$subs.sh || 15531} >conf$$subs.sh ||
15248 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15532 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15249ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15533ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15250ac_delim='%!_!# ' 15534ac_delim='%!_!# '
15251for ac_last_try in false false false false false :; do 15535for ac_last_try in false false false false false :; do
15252 . ./conf$$subs.sh || 15536 . ./conf$$subs.sh ||
15253 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15537 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15254 15538
15255 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15539 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15256 if test $ac_delim_n = $ac_delim_num; then 15540 if test $ac_delim_n = $ac_delim_num; then
15257 break 15541 break
15258 elif $ac_last_try; then 15542 elif $ac_last_try; then
15259 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 15543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15260 else 15544 else
15261 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15545 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15262 fi 15546 fi
@@ -15345,20 +15629,28 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15345else 15629else
15346 cat 15630 cat
15347fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15631fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15348 || as_fn_error "could not setup config files machinery" "$LINENO" 5 15632 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15349_ACEOF 15633_ACEOF
15350 15634
15351# VPATH may cause trouble with some makes, so we remove $(srcdir), 15635# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15352# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15636# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15353# trailing colons and then remove the whole line if VPATH becomes empty 15637# trailing colons and then remove the whole line if VPATH becomes empty
15354# (actually we leave an empty line to preserve line numbers). 15638# (actually we leave an empty line to preserve line numbers).
15355if test "x$srcdir" = x.; then 15639if test "x$srcdir" = x.; then
15356 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15640 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15357s/:*\$(srcdir):*/:/ 15641h
15358s/:*\${srcdir}:*/:/ 15642s///
15359s/:*@srcdir@:*/:/ 15643s/^/:/
15360s/^\([^=]*=[ ]*\):*/\1/ 15644s/[ ]*$/:/
15645s/:\$(srcdir):/:/g
15646s/:\${srcdir}:/:/g
15647s/:@srcdir@:/:/g
15648s/^:*//
15361s/:*$// 15649s/:*$//
15650x
15651s/\(=[ ]*\).*/\1/
15652G
15653s/\n//
15362s/^[^=]*=[ ]*$// 15654s/^[^=]*=[ ]*$//
15363}' 15655}'
15364fi 15656fi
@@ -15386,7 +15678,7 @@ for ac_last_try in false false :; do
15386 if test -z "$ac_t"; then 15678 if test -z "$ac_t"; then
15387 break 15679 break
15388 elif $ac_last_try; then 15680 elif $ac_last_try; then
15389 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 15681 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15390 else 15682 else
15391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15683 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15392 fi 15684 fi
@@ -15471,7 +15763,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15471_ACAWK 15763_ACAWK
15472_ACEOF 15764_ACEOF
15473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15474 as_fn_error "could not setup config headers machinery" "$LINENO" 5 15766 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15475fi # test -n "$CONFIG_HEADERS" 15767fi # test -n "$CONFIG_HEADERS"
15476 15768
15477 15769
@@ -15484,7 +15776,7 @@ do
15484 esac 15776 esac
15485 case $ac_mode$ac_tag in 15777 case $ac_mode$ac_tag in
15486 :[FHL]*:*);; 15778 :[FHL]*:*);;
15487 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 15779 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15488 :[FH]-) ac_tag=-:-;; 15780 :[FH]-) ac_tag=-:-;;
15489 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15781 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15490 esac 15782 esac
@@ -15512,7 +15804,7 @@ do
15512 [\\/$]*) false;; 15804 [\\/$]*) false;;
15513 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15805 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15514 esac || 15806 esac ||
15515 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15807 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15516 esac 15808 esac
15517 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15809 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15518 as_fn_append ac_file_inputs " '$ac_f'" 15810 as_fn_append ac_file_inputs " '$ac_f'"
@@ -15539,7 +15831,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
15539 15831
15540 case $ac_tag in 15832 case $ac_tag in
15541 *:-:* | *:-) cat >"$tmp/stdin" \ 15833 *:-:* | *:-) cat >"$tmp/stdin" \
15542 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 15834 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15543 esac 15835 esac
15544 ;; 15836 ;;
15545 esac 15837 esac
@@ -15676,22 +15968,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
15676$ac_datarootdir_hack 15968$ac_datarootdir_hack
15677" 15969"
15678eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 15970eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15679 || as_fn_error "could not create $ac_file" "$LINENO" 5 15971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15680 15972
15681test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15973test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15682 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15974 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15683 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15975 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15685which seems to be undefined. Please make sure it is defined." >&5 15977which seems to be undefined. Please make sure it is defined" >&5
15686$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15978$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15687which seems to be undefined. Please make sure it is defined." >&2;} 15979which seems to be undefined. Please make sure it is defined" >&2;}
15688 15980
15689 rm -f "$tmp/stdin" 15981 rm -f "$tmp/stdin"
15690 case $ac_file in 15982 case $ac_file in
15691 -) cat "$tmp/out" && rm -f "$tmp/out";; 15983 -) cat "$tmp/out" && rm -f "$tmp/out";;
15692 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 15984 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15693 esac \ 15985 esac \
15694 || as_fn_error "could not create $ac_file" "$LINENO" 5 15986 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15695 ;; 15987 ;;
15696 :H) 15988 :H)
15697 # 15989 #
@@ -15702,19 +15994,19 @@ which seems to be undefined. Please make sure it is defined." >&2;}
15702 $as_echo "/* $configure_input */" \ 15994 $as_echo "/* $configure_input */" \
15703 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 15995 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15704 } >"$tmp/config.h" \ 15996 } >"$tmp/config.h" \
15705 || as_fn_error "could not create $ac_file" "$LINENO" 5 15997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15706 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 15998 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15999 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15708$as_echo "$as_me: $ac_file is unchanged" >&6;} 16000$as_echo "$as_me: $ac_file is unchanged" >&6;}
15709 else 16001 else
15710 rm -f "$ac_file" 16002 rm -f "$ac_file"
15711 mv "$tmp/config.h" "$ac_file" \ 16003 mv "$tmp/config.h" "$ac_file" \
15712 || as_fn_error "could not create $ac_file" "$LINENO" 5 16004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15713 fi 16005 fi
15714 else 16006 else
15715 $as_echo "/* $configure_input */" \ 16007 $as_echo "/* $configure_input */" \
15716 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16008 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15717 || as_fn_error "could not create -" "$LINENO" 5 16009 || as_fn_error $? "could not create -" "$LINENO" 5
15718 fi 16010 fi
15719# Compute "$ac_file"'s index in $config_headers. 16011# Compute "$ac_file"'s index in $config_headers.
15720_am_arg="$ac_file" 16012_am_arg="$ac_file"
@@ -16505,7 +16797,7 @@ _ACEOF
16505ac_clean_files=$ac_clean_files_save 16797ac_clean_files=$ac_clean_files_save
16506 16798
16507test $ac_write_fail = 0 || 16799test $ac_write_fail = 0 ||
16508 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 16800 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16509 16801
16510 16802
16511# configure is writing to config.log, and then calls config.status. 16803# configure is writing to config.log, and then calls config.status.
@@ -16526,7 +16818,7 @@ if test "$no_create" != yes; then
16526 exec 5>>config.log 16818 exec 5>>config.log
16527 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16819 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16528 # would make configure fail if this is the last instruction. 16820 # would make configure fail if this is the last instruction.
16529 $ac_cs_success || as_fn_exit $? 16821 $ac_cs_success || as_fn_exit 1
16530fi 16822fi
16531if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16823if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/libraries/eet/configure.ac b/libraries/eet/configure.ac
index 220e2a1..eb3c7e5 100644
--- a/libraries/eet/configure.ac
+++ b/libraries/eet/configure.ac
@@ -1,12 +1,12 @@
1y##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [5]) 4m4_define([v_min], [6])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-05]) 11dnl m4_define([relname], [ver-pre-svn-05])
12dnl m4_define([v_rel], [-release relname]) 12dnl m4_define([v_rel], [-release relname])
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 20
21AC_INIT([eet], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([eet], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52]) 22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -110,39 +110,6 @@ else
110 AC_DEFINE(EET_OLD_EET_FILE_FORMAT, 0, [support old eet file format]) 110 AC_DEFINE(EET_OLD_EET_FILE_FORMAT, 0, [support old eet file format])
111fi 111fi
112 112
113# Gnutls support
114
115AC_ARG_ENABLE([gnutls],
116 [AC_HELP_STRING([--disable-gnutls], [disable gnutls eet support])],
117 [want_gnutls=$enableval]
118)
119AC_MSG_CHECKING([whether to use Gnutls])
120AC_MSG_RESULT([${want_gnutls}])
121
122# Specific GNUTLS improvement
123
124new_gnutls_api="yes"
125AC_ARG_ENABLE(new-gnutls-api,
126 [AC_HELP_STRING(
127 [--disable-new-gnutls-api],
128 [enable use of gnutls_x509_crt_verify_hash. [[default=enable]]]
129 )],
130 [new_gnutls_api=$enableval]
131)
132AC_MSG_CHECKING([whether to use gnutls_x509_crt_verify_hash])
133AC_MSG_RESULT([${new_gnutls_api}])
134
135if test "x${new_gnutls_api}" = "xyes" ; then
136 AC_CHECK_LIB(gnutls, gnutls_x509_crt_verify_hash,
137 [ new_gnutls_api="yes" ],
138 [ new_gnutls_api="no" ]
139 )
140
141 if test "x${new_gnutls_api}" = "xyes"; then
142 AC_DEFINE(EET_USE_NEW_GNUTLS_API, 1, [use gnutls_x509_crt_verify_hash])
143 fi
144fi
145
146# Openssl support 113# Openssl support
147 114
148AC_ARG_ENABLE([openssl], 115AC_ARG_ENABLE([openssl],
@@ -264,8 +231,30 @@ AC_SUBST(EET_LIBS)
264 231
265# Eina library 232# Eina library
266 233
267PKG_CHECK_MODULES(EINA, [eina >= 1.1.0]) 234PKG_CHECK_MODULES(EINA, [eina >= 1.2.0])
268requirement_eet="eina >= 1.1.0 ${requirement_eet}" 235requirement_eet="eina >= 1.2.0 ${requirement_eet}"
236
237### Checks for portability layer
238
239PKG_CHECK_MODULES([EXOTIC],
240 [exotic],
241 [enable_exotic="yes"],
242 [enable_exotic="no"])
243
244if test "x${enable_exotic}" = "xyes"; then
245 requirement_eet="exotic ${requirement_eet}"
246
247 AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
248fi
249
250# Gnutls support
251
252AC_ARG_ENABLE([gnutls],
253 [AC_HELP_STRING([--disable-gnutls], [disable gnutls eet support])],
254 [want_gnutls=$enableval]
255)
256AC_MSG_CHECKING([whether to use Gnutls])
257AC_MSG_RESULT([${want_gnutls}])
269 258
270# Gnutls library 259# Gnutls library
271have_gnutls="no" 260have_gnutls="no"
@@ -287,6 +276,76 @@ if test "x${want_gnutls}" = "xyes" || test "x${want_gnutls}" = "xauto" ; then
287 fi 276 fi
288fi 277fi
289 278
279# Specific GNUTLS improvement
280
281new_gnutls_api="yes"
282AC_ARG_ENABLE(new-gnutls-api,
283 [AC_HELP_STRING(
284 [--disable-new-gnutls-api],
285 [enable use of gnutls_x509_crt_verify_hash. [[default=enable]]]
286 )],
287 [new_gnutls_api=$enableval]
288)
289AC_MSG_CHECKING([whether to use gnutls_x509_crt_verify_hash])
290AC_MSG_RESULT([${new_gnutls_api}])
291
292if test "x${new_gnutls_api}" = "xyes" ; then
293 tmp_CFLAGS="${CFLAGS}"
294 tmp_LIBS="${LIBS}"
295 CFLAGS="${GNUTLS_CFLAGS}"
296 LIBS="${GNUTLS_LIBS}"
297 AC_CHECK_LIB(gnutls, gnutls_x509_crt_verify_hash,
298 [ new_gnutls_api="yes" ],
299 [ new_gnutls_api="no" ]
300 )
301 CFLAGS="${tmp_CFLAGS}"
302 LIBS="${tmp_LIBS}"
303
304 if test "x${new_gnutls_api}" = "xyes"; then
305 AC_DEFINE(EET_USE_NEW_GNUTLS_API, 1, [use gnutls_x509_crt_verify_hash])
306 fi
307fi
308
309use_gnutls_privkey_sign_data="no"
310if test "x${want_gnutls}" = "xyes" -o "x${want_gnutls}" = "xauto"; then
311 tmp_CFLAGS="${CFLAGS}"
312 tmp_LIBS="${LIBS}"
313 CFLAGS="${GNUTLS_CFLAGS}"
314 LIBS="${GNUTLS_LIBS}"
315 AC_CHECK_LIB(gnutls, gnutls_privkey_sign_data,
316 [ use_gnutls_privkey_sign_data="yes" ],
317 [ use_gnutls_privkey_sign_data="no" ]
318 )
319 CFLAGS="${tmp_CFLAGS}"
320 LIBS="${tmp_LIBS}"
321
322 if test "x${use_gnutls_privkey_sign_data}" = "xyes"; then
323 AC_DEFINE(EET_USE_NEW_PRIVKEY_SIGN_DATA, 1, [use gnutls_privkey_sign_data])
324 fi
325fi
326AC_MSG_CHECKING([whether to use gnutls_privkey_sign_data])
327AC_MSG_RESULT([${use_gnutls_privkey_sign_data}])
328
329use_gnutls_pubkey_verify_hash="no"
330if test "x${want_gnutls}" = "xyes" -o "x${want_gnutls}" = "xauto"; then
331 tmp_CFLAGS="${CFLAGS}"
332 tmp_LIBS="${LIBS}"
333 CFLAGS="${GNUTLS_CFLAGS}"
334 LIBS="${GNUTLS_LIBS}"
335 AC_CHECK_LIB(gnutls, gnutls_pubkey_verify_hash,
336 [ use_gnutls_pubkey_verify_hash="yes" ],
337 [ use_gnutls_pubkey_verify_hash="no" ]
338 )
339 CFLAGS="${tmp_CFLAGS}"
340 LIBS="${tmp_LIBS}"
341
342 if test "x${use_gnutls_pubkey_verify_hash}" = "xyes"; then
343 AC_DEFINE(EET_USE_NEW_PUBKEY_VERIFY_HASH, 1, [use gnutls_pubkey_verify_hash])
344 fi
345fi
346AC_MSG_CHECKING([whether to use gnutls_pubkey_verify_hash])
347AC_MSG_RESULT([${use_gnutls_pubkey_verify_hash}])
348
290# Openssl library 349# Openssl library
291have_openssl="no" 350have_openssl="no"
292if test "x${want_openssl}" = "xyes" || test "x${want_openssl}" = "xauto" ; then 351if test "x${want_openssl}" = "xyes" || test "x${want_openssl}" = "xauto" ; then
diff --git a/libraries/eet/doc/Doxyfile b/libraries/eet/doc/Doxyfile
index f6e3026..26a32a7 100644
--- a/libraries/eet/doc/Doxyfile
+++ b/libraries/eet/doc/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME = Eet
31# This could be handy for archiving the generated documentation or 31# This could be handy for archiving the generated documentation or
32# if some version control system is used. 32# if some version control system is used.
33 33
34PROJECT_NUMBER = 1.5.99.67344 34PROJECT_NUMBER = 1.6.0-alpha
35 35
36# Using the PROJECT_BRIEF tag one can provide an optional one line description for a project that appears at the top of each page and should give viewer a quick idea about the purpose of the project. Keep the description short. 36# Using the PROJECT_BRIEF tag one can provide an optional one line description for a project that appears at the top of each page and should give viewer a quick idea about the purpose of the project. Keep the description short.
37 37
@@ -1267,7 +1267,7 @@ RTF_EXTENSIONS_FILE =
1267# If the GENERATE_MAN tag is set to YES (the default) Doxygen will 1267# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
1268# generate man pages 1268# generate man pages
1269 1269
1270GENERATE_MAN = YES 1270GENERATE_MAN = NO
1271 1271
1272# The MAN_OUTPUT tag is used to specify where the man pages will be put. 1272# The MAN_OUTPUT tag is used to specify where the man pages will be put.
1273# If a relative path is entered the value of OUTPUT_DIRECTORY will be 1273# If a relative path is entered the value of OUTPUT_DIRECTORY will be
diff --git a/libraries/eet/doc/Doxyfile.in b/libraries/eet/doc/Doxyfile.in
index eadf82a..8c427f8 100644
--- a/libraries/eet/doc/Doxyfile.in
+++ b/libraries/eet/doc/Doxyfile.in
@@ -1267,7 +1267,7 @@ RTF_EXTENSIONS_FILE =
1267# If the GENERATE_MAN tag is set to YES (the default) Doxygen will 1267# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
1268# generate man pages 1268# generate man pages
1269 1269
1270GENERATE_MAN = YES 1270GENERATE_MAN = NO
1271 1271
1272# The MAN_OUTPUT tag is used to specify where the man pages will be put. 1272# The MAN_OUTPUT tag is used to specify where the man pages will be put.
1273# If a relative path is entered the value of OUTPUT_DIRECTORY will be 1273# If a relative path is entered the value of OUTPUT_DIRECTORY will be
diff --git a/libraries/eet/doc/Makefile.am b/libraries/eet/doc/Makefile.am
index 145376f..4eeb438 100644
--- a/libraries/eet/doc/Makefile.am
+++ b/libraries/eet/doc/Makefile.am
@@ -8,19 +8,20 @@ PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
8if EFL_BUILD_DOC 8if EFL_BUILD_DOC
9 9
10doc-clean: 10doc-clean:
11 rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar* 11 rm -rf html/ latex/ xml/ $(PACKAGE_DOCNAME).tar*
12 12
13doc: doc-clean 13doc: doc-clean
14 $(efl_doxygen) 14 $(efl_doxygen)
15 cp $(srcdir)/img/* html/ 15 cp $(srcdir)/img/* html/
16 rm -rf $(PACKAGE_DOCNAME).tar* 16 rm -rf $(PACKAGE_DOCNAME).tar*
17 mkdir -p $(PACKAGE_DOCNAME)/doc 17 mkdir -p $(PACKAGE_DOCNAME)/doc
18 cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc 18 cp -R html/ latex/ $(PACKAGE_DOCNAME)/doc
19 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/ 19 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
20 bzip2 -9 $(PACKAGE_DOCNAME).tar 20 bzip2 -9 $(PACKAGE_DOCNAME).tar
21 rm -rf $(PACKAGE_DOCNAME)/ 21 rm -rf $(PACKAGE_DOCNAME)/
22 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir) 22 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
23 @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2" 23 @echo "Documentation Package: $(PACKAGE_DOCNAME).tar.bz2"
24 @echo "Documentation HTML: doc/html"
24 25
25clean-local: doc-clean 26clean-local: doc-clean
26 27
diff --git a/libraries/eet/doc/Makefile.in b/libraries/eet/doc/Makefile.in
index e285740..25de7ec 100644
--- a/libraries/eet/doc/Makefile.in
+++ b/libraries/eet/doc/Makefile.in
@@ -104,6 +104,8 @@ EINA_LIBS = @EINA_LIBS@
104EVIL_CFLAGS = @EVIL_CFLAGS@ 104EVIL_CFLAGS = @EVIL_CFLAGS@
105EVIL_LIBS = @EVIL_LIBS@ 105EVIL_LIBS = @EVIL_LIBS@
106EXEEXT = @EXEEXT@ 106EXEEXT = @EXEEXT@
107EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
108EXOTIC_LIBS = @EXOTIC_LIBS@
107FGREP = @FGREP@ 109FGREP = @FGREP@
108GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 110GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
109GNUTLS_LIBS = @GNUTLS_LIBS@ 111GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -143,6 +145,8 @@ PACKAGE_URL = @PACKAGE_URL@
143PACKAGE_VERSION = @PACKAGE_VERSION@ 145PACKAGE_VERSION = @PACKAGE_VERSION@
144PATH_SEPARATOR = @PATH_SEPARATOR@ 146PATH_SEPARATOR = @PATH_SEPARATOR@
145PKG_CONFIG = @PKG_CONFIG@ 147PKG_CONFIG = @PKG_CONFIG@
148PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
149PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
146RANLIB = @RANLIB@ 150RANLIB = @RANLIB@
147SED = @SED@ 151SED = @SED@
148SET_MAKE = @SET_MAKE@ 152SET_MAKE = @SET_MAKE@
@@ -414,19 +418,20 @@ uninstall-am:
414.PHONY: doc 418.PHONY: doc
415 419
416@EFL_BUILD_DOC_TRUE@doc-clean: 420@EFL_BUILD_DOC_TRUE@doc-clean:
417@EFL_BUILD_DOC_TRUE@ rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar* 421@EFL_BUILD_DOC_TRUE@ rm -rf html/ latex/ xml/ $(PACKAGE_DOCNAME).tar*
418 422
419@EFL_BUILD_DOC_TRUE@doc: doc-clean 423@EFL_BUILD_DOC_TRUE@doc: doc-clean
420@EFL_BUILD_DOC_TRUE@ $(efl_doxygen) 424@EFL_BUILD_DOC_TRUE@ $(efl_doxygen)
421@EFL_BUILD_DOC_TRUE@ cp $(srcdir)/img/* html/ 425@EFL_BUILD_DOC_TRUE@ cp $(srcdir)/img/* html/
422@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME).tar* 426@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME).tar*
423@EFL_BUILD_DOC_TRUE@ mkdir -p $(PACKAGE_DOCNAME)/doc 427@EFL_BUILD_DOC_TRUE@ mkdir -p $(PACKAGE_DOCNAME)/doc
424@EFL_BUILD_DOC_TRUE@ cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc 428@EFL_BUILD_DOC_TRUE@ cp -R html/ latex/ $(PACKAGE_DOCNAME)/doc
425@EFL_BUILD_DOC_TRUE@ tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/ 429@EFL_BUILD_DOC_TRUE@ tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
426@EFL_BUILD_DOC_TRUE@ bzip2 -9 $(PACKAGE_DOCNAME).tar 430@EFL_BUILD_DOC_TRUE@ bzip2 -9 $(PACKAGE_DOCNAME).tar
427@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME)/ 431@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME)/
428@EFL_BUILD_DOC_TRUE@ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir) 432@EFL_BUILD_DOC_TRUE@ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
429@EFL_BUILD_DOC_TRUE@ @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2" 433@EFL_BUILD_DOC_TRUE@ @echo "Documentation Package: $(PACKAGE_DOCNAME).tar.bz2"
434@EFL_BUILD_DOC_TRUE@ @echo "Documentation HTML: doc/html"
430 435
431@EFL_BUILD_DOC_TRUE@clean-local: doc-clean 436@EFL_BUILD_DOC_TRUE@clean-local: doc-clean
432 437
diff --git a/libraries/eet/eet.spec b/libraries/eet/eet.spec
index 4b7994b..a357773 100644
--- a/libraries/eet/eet.spec
+++ b/libraries/eet/eet.spec
@@ -3,7 +3,7 @@
3 3
4Summary: Library for speedy data storage, retrieval, and compression. 4Summary: Library for speedy data storage, retrieval, and compression.
5Name: eet 5Name: eet
6Version: 1.5.99.67344 6Version: 1.6.0-alpha
7Release: %{_rel} 7Release: %{_rel}
8License: BSD 8License: BSD
9Group: System Environment/Libraries 9Group: System Environment/Libraries
diff --git a/libraries/eet/ltmain.sh b/libraries/eet/ltmain.sh
index 7ed280b..fa4b1e1 100755
--- a/libraries/eet/ltmain.sh
+++ b/libraries/eet/ltmain.sh
@@ -65,7 +65,7 @@
65# compiler: $LTCC 65# compiler: $LTCC
66# compiler flags: $LTCFLAGS 66# compiler flags: $LTCFLAGS
67# linker: $LD (gnu? $with_gnu_ld) 67# linker: $LD (gnu? $with_gnu_ld)
68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
69# automake: $automake_version 69# automake: $automake_version
70# autoconf: $autoconf_version 70# autoconf: $autoconf_version
71# 71#
@@ -73,7 +73,7 @@
73 73
74PROGRAM=ltmain.sh 74PROGRAM=ltmain.sh
75PACKAGE=libtool 75PACKAGE=libtool
76VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" 76VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
77TIMESTAMP="" 77TIMESTAMP=""
78package_revision=1.3017 78package_revision=1.3017
79 79
diff --git a/libraries/eet/m4/efl_fnmatch.m4 b/libraries/eet/m4/efl_fnmatch.m4
index a92ac6b..b5555ee 100644
--- a/libraries/eet/m4/efl_fnmatch.m4
+++ b/libraries/eet/m4/efl_fnmatch.m4
@@ -24,6 +24,18 @@ if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_s
24 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch} 24 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
25fi 25fi
26 26
27if test "x${_efl_have_fnmatch}" != "xyes" -a "x${enable_exotic}" = "xyes"; then
28 LDFLAGS_SAVE="$LDFLAGS"
29 LDFLAGS="$LDFLAGS $EXOTIC_LIBS"
30 AC_CHECK_LIB([exotic], [fnmatch],
31 [_efl_have_fnmatch="yes"],
32 [_efl_have_fnmatch="no"])
33
34 if test "x${_efl_have_fnmatch}" = "xyes"; then
35 EFL_FNMATCH_LIBS="exotic"
36 fi
37fi
38
27AC_SUBST(EFL_FNMATCH_LIBS) 39AC_SUBST(EFL_FNMATCH_LIBS)
28 40
29AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2]) 41AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2])
diff --git a/libraries/eet/src/Makefile.in b/libraries/eet/src/Makefile.in
index 8b2aa37..bfdc4f6 100644
--- a/libraries/eet/src/Makefile.in
+++ b/libraries/eet/src/Makefile.in
@@ -143,6 +143,8 @@ EINA_LIBS = @EINA_LIBS@
143EVIL_CFLAGS = @EVIL_CFLAGS@ 143EVIL_CFLAGS = @EVIL_CFLAGS@
144EVIL_LIBS = @EVIL_LIBS@ 144EVIL_LIBS = @EVIL_LIBS@
145EXEEXT = @EXEEXT@ 145EXEEXT = @EXEEXT@
146EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
147EXOTIC_LIBS = @EXOTIC_LIBS@
146FGREP = @FGREP@ 148FGREP = @FGREP@
147GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 149GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
148GNUTLS_LIBS = @GNUTLS_LIBS@ 150GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -182,6 +184,8 @@ PACKAGE_URL = @PACKAGE_URL@
182PACKAGE_VERSION = @PACKAGE_VERSION@ 184PACKAGE_VERSION = @PACKAGE_VERSION@
183PATH_SEPARATOR = @PATH_SEPARATOR@ 185PATH_SEPARATOR = @PATH_SEPARATOR@
184PKG_CONFIG = @PKG_CONFIG@ 186PKG_CONFIG = @PKG_CONFIG@
187PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
188PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
185RANLIB = @RANLIB@ 189RANLIB = @RANLIB@
186SED = @SED@ 190SED = @SED@
187SET_MAKE = @SET_MAKE@ 191SET_MAKE = @SET_MAKE@
diff --git a/libraries/eet/src/bin/Makefile.am b/libraries/eet/src/bin/Makefile.am
index ba7d67e..89c68f1 100644
--- a/libraries/eet/src/bin/Makefile.am
+++ b/libraries/eet/src/bin/Makefile.am
@@ -17,5 +17,5 @@ EXTRA_PROGRAMS = eet
17 17
18eet_SOURCES = eet_main.c 18eet_SOURCES = eet_main.c
19eet_CFLAGS = @EET_CFLAGS@ 19eet_CFLAGS = @EET_CFLAGS@
20eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ 20eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ @EXOTIC_LIBS@
21eet_LDFLAGS = @lt_enable_auto_import@ 21eet_LDFLAGS = @lt_enable_auto_import@
diff --git a/libraries/eet/src/bin/Makefile.in b/libraries/eet/src/bin/Makefile.in
index 4a899f5..a7e94cb 100644
--- a/libraries/eet/src/bin/Makefile.in
+++ b/libraries/eet/src/bin/Makefile.in
@@ -138,6 +138,8 @@ EINA_LIBS = @EINA_LIBS@
138EVIL_CFLAGS = @EVIL_CFLAGS@ 138EVIL_CFLAGS = @EVIL_CFLAGS@
139EVIL_LIBS = @EVIL_LIBS@ 139EVIL_LIBS = @EVIL_LIBS@
140EXEEXT = @EXEEXT@ 140EXEEXT = @EXEEXT@
141EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
142EXOTIC_LIBS = @EXOTIC_LIBS@
141FGREP = @FGREP@ 143FGREP = @FGREP@
142GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 144GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
143GNUTLS_LIBS = @GNUTLS_LIBS@ 145GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -177,6 +179,8 @@ PACKAGE_URL = @PACKAGE_URL@
177PACKAGE_VERSION = @PACKAGE_VERSION@ 179PACKAGE_VERSION = @PACKAGE_VERSION@
178PATH_SEPARATOR = @PATH_SEPARATOR@ 180PATH_SEPARATOR = @PATH_SEPARATOR@
179PKG_CONFIG = @PKG_CONFIG@ 181PKG_CONFIG = @PKG_CONFIG@
182PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
183PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
180RANLIB = @RANLIB@ 184RANLIB = @RANLIB@
181SED = @SED@ 185SED = @SED@
182SET_MAKE = @SET_MAKE@ 186SET_MAKE = @SET_MAKE@
@@ -259,7 +263,7 @@ AM_CPPFLAGS = \
259bin_PROGRAMS = @EET_PRG@ 263bin_PROGRAMS = @EET_PRG@
260eet_SOURCES = eet_main.c 264eet_SOURCES = eet_main.c
261eet_CFLAGS = @EET_CFLAGS@ 265eet_CFLAGS = @EET_CFLAGS@
262eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ 266eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ @EXOTIC_LIBS@
263eet_LDFLAGS = @lt_enable_auto_import@ 267eet_LDFLAGS = @lt_enable_auto_import@
264all: all-am 268all: all-am
265 269
diff --git a/libraries/eet/src/bin/eet_main.c b/libraries/eet/src/bin/eet_main.c
index 0d577ad..8a93d11 100644
--- a/libraries/eet/src/bin/eet_main.c
+++ b/libraries/eet/src/bin/eet_main.c
@@ -69,6 +69,63 @@ do_eet_list(const char *file)
69} /* do_eet_list */ 69} /* do_eet_list */
70 70
71static void 71static void
72do_eet_stats(const char *file)
73{
74 int i, num;
75 int count[2] = { 0, 0 };
76 int size[2] = { 0, 0 };
77 char **list;
78 Eet_File *ef;
79 Eet_Dictionary *ed;
80
81 ef = eet_open(file, EET_FILE_MODE_READ);
82 if (!ef)
83 {
84 ERR("cannot open for reading: %s", file);
85 exit(-1);
86 }
87
88 printf("*** sections stats ***\n");
89 list = eet_list(ef, "*", &num);
90 if (list)
91 {
92 for (i = 0; i < num; i++)
93 {
94 const void *ro = NULL;
95 void *rw = NULL;
96 int tsize;
97
98 ro = eet_read_direct(ef, list[i], &tsize);
99 if (!ro) rw = eet_read(ef, list[i], &tsize);
100 printf(rw ? "%s of size %i is compressed.\n" : "%s of size %i is not compressed.\n", list[i], tsize);
101 count[rw ? 0 : 1]++;
102 size[rw ? 0 : 1] += tsize;
103 free(rw);
104 }
105 free(list);
106 }
107
108 printf("*** dictionary ***\n");
109 ed = eet_dictionary_get(ef);
110 if (ed)
111 {
112 printf("%i strings inside the dictionary.\n", eet_dictionary_count(ed));
113 }
114 else
115 {
116 printf("no dictionary in this file.\n");
117 }
118 printf("*** global ***\n");
119 printf("%i sections\n", num);
120 printf("- %i of them are compressed (%02.2f%%) expanding in %i bytes.\n",
121 count[0], (float) count[0] * 100 / (float) num, size[0]);
122 printf("- %i of them are directly mappable in memory (%02.2f%%) representing %i bytes.\n",
123 count[1], (float) count[1] * 100 / (float) num, size[1]);
124
125 eet_close(ef);
126}
127
128static void
72do_eet_extract(const char *file, 129do_eet_extract(const char *file,
73 const char *key, 130 const char *key,
74 const char *out, 131 const char *out,
@@ -366,6 +423,7 @@ help:
366 " eet -r FILE.EET KEY remove KEY in FILE.EET\n" 423 " eet -r FILE.EET KEY remove KEY in FILE.EET\n"
367 " eet -c FILE.EET report and check the signature information of an eet file\n" 424 " eet -c FILE.EET report and check the signature information of an eet file\n"
368 " eet -s FILE.EET PRIVATE_KEY PUBLIC_KEY sign FILE.EET with PRIVATE_KEY and attach PUBLIC_KEY as it's certificate\n" 425 " eet -s FILE.EET PRIVATE_KEY PUBLIC_KEY sign FILE.EET with PRIVATE_KEY and attach PUBLIC_KEY as it's certificate\n"
426 " eet -t FILE.EET give some statistic about a file\n"
369 ); 427 );
370 eet_shutdown(); 428 eet_shutdown();
371 return -1; 429 return -1;
@@ -437,6 +495,8 @@ help:
437 do_eet_check(argv[2]); 495 do_eet_check(argv[2]);
438 else if ((!strcmp(argv[1], "-s")) && (argc > 4)) 496 else if ((!strcmp(argv[1], "-s")) && (argc > 4))
439 do_eet_sign(argv[2], argv[3], argv[4]); 497 do_eet_sign(argv[2], argv[3], argv[4]);
498 else if ((!strcmp(argv[1], "-t")) && (argc > 2))
499 do_eet_stats(argv[2]);
440 else 500 else
441 goto help; 501 goto help;
442 502
diff --git a/libraries/eet/src/examples/Makefile.in b/libraries/eet/src/examples/Makefile.in
index 5830132..1e979ab 100644
--- a/libraries/eet/src/examples/Makefile.in
+++ b/libraries/eet/src/examples/Makefile.in
@@ -226,6 +226,8 @@ EINA_LIBS = @EINA_LIBS@
226EVIL_CFLAGS = @EVIL_CFLAGS@ 226EVIL_CFLAGS = @EVIL_CFLAGS@
227EVIL_LIBS = @EVIL_LIBS@ 227EVIL_LIBS = @EVIL_LIBS@
228EXEEXT = @EXEEXT@ 228EXEEXT = @EXEEXT@
229EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
230EXOTIC_LIBS = @EXOTIC_LIBS@
229FGREP = @FGREP@ 231FGREP = @FGREP@
230GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 232GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
231GNUTLS_LIBS = @GNUTLS_LIBS@ 233GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -265,6 +267,8 @@ PACKAGE_URL = @PACKAGE_URL@
265PACKAGE_VERSION = @PACKAGE_VERSION@ 267PACKAGE_VERSION = @PACKAGE_VERSION@
266PATH_SEPARATOR = @PATH_SEPARATOR@ 268PATH_SEPARATOR = @PATH_SEPARATOR@
267PKG_CONFIG = @PKG_CONFIG@ 269PKG_CONFIG = @PKG_CONFIG@
270PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
271PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
268RANLIB = @RANLIB@ 272RANLIB = @RANLIB@
269SED = @SED@ 273SED = @SED@
270SET_MAKE = @SET_MAKE@ 274SET_MAKE = @SET_MAKE@
diff --git a/libraries/eet/src/lib/Eet.h b/libraries/eet/src/lib/Eet.h
index 2df7fbf..7495090 100644
--- a/libraries/eet/src/lib/Eet.h
+++ b/libraries/eet/src/lib/Eet.h
@@ -6,7 +6,7 @@
6 @mainpage Eet Library Documentation 6 @mainpage Eet Library Documentation
7 7
8 @version 1.5.0 8 @version 1.5.0
9 @date 2000-2011 9 @date 2000-2012
10 10
11 Please see the @ref authors page for contact details. 11 Please see the @ref authors page for contact details.
12 12
@@ -30,7 +30,7 @@
30 Eet is extremely fast, small and simple. Eet files can be very small and 30 Eet is extremely fast, small and simple. Eet files can be very small and
31 highly compressed, making them very optimal for just sending across the 31 highly compressed, making them very optimal for just sending across the
32 internet without having to archive, compress or decompress and install them. 32 internet without having to archive, compress or decompress and install them.
33 They allow for lightning-fast random-acess reads once created, making them 33 They allow for lightning-fast random-access reads once created, making them
34 perfect for storing data that is written once (or rarely) and read many 34 perfect for storing data that is written once (or rarely) and read many
35 times, but the program does not want to have to read it all in at once. 35 times, but the program does not want to have to read it all in at once.
36 36
@@ -577,7 +577,7 @@ EAPI Eet_File_Mode
577eet_mode_get(Eet_File *ef); 577eet_mode_get(Eet_File *ef);
578 578
579/** 579/**
580 * Close an eet file handle and flush and writes pending. 580 * Close an eet file handle and flush pending writes.
581 * @param ef A valid eet file handle. 581 * @param ef A valid eet file handle.
582 * 582 *
583 * This function will flush any pending writes to disk if the eet file 583 * This function will flush any pending writes to disk if the eet file
@@ -645,6 +645,17 @@ eet_dictionary_string_check(Eet_Dictionary *ed,
645 const char *string); 645 const char *string);
646 646
647/** 647/**
648 * Return the number of strings inside a dictionary
649 * @param ed A valid dictionary handle
650 * @return the number of strings inside a dictionary
651 *
652 * @since 1.6.0
653 * @ingroup Eet_File_Group
654 */
655EAPI int
656eet_dictionary_count(const Eet_Dictionary *ed);
657
658/**
648 * Read a specified entry from an eet file and return data 659 * Read a specified entry from an eet file and return data
649 * @param ef A valid eet file handle opened for reading. 660 * @param ef A valid eet file handle opened for reading.
650 * @param name Name of the entry. eg: "/base/file_i_want". 661 * @param name Name of the entry. eg: "/base/file_i_want".
diff --git a/libraries/eet/src/lib/Makefile.in b/libraries/eet/src/lib/Makefile.in
index 2a3fec0..c0367b3 100644
--- a/libraries/eet/src/lib/Makefile.in
+++ b/libraries/eet/src/lib/Makefile.in
@@ -172,6 +172,8 @@ EINA_LIBS = @EINA_LIBS@
172EVIL_CFLAGS = @EVIL_CFLAGS@ 172EVIL_CFLAGS = @EVIL_CFLAGS@
173EVIL_LIBS = @EVIL_LIBS@ 173EVIL_LIBS = @EVIL_LIBS@
174EXEEXT = @EXEEXT@ 174EXEEXT = @EXEEXT@
175EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
176EXOTIC_LIBS = @EXOTIC_LIBS@
175FGREP = @FGREP@ 177FGREP = @FGREP@
176GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 178GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
177GNUTLS_LIBS = @GNUTLS_LIBS@ 179GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -211,6 +213,8 @@ PACKAGE_URL = @PACKAGE_URL@
211PACKAGE_VERSION = @PACKAGE_VERSION@ 213PACKAGE_VERSION = @PACKAGE_VERSION@
212PATH_SEPARATOR = @PATH_SEPARATOR@ 214PATH_SEPARATOR = @PATH_SEPARATOR@
213PKG_CONFIG = @PKG_CONFIG@ 215PKG_CONFIG = @PKG_CONFIG@
216PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214RANLIB = @RANLIB@ 218RANLIB = @RANLIB@
215SED = @SED@ 219SED = @SED@
216SET_MAKE = @SET_MAKE@ 220SET_MAKE = @SET_MAKE@
diff --git a/libraries/eet/src/lib/eet_alloc.c b/libraries/eet/src/lib/eet_alloc.c
index 85351ad..29e276c 100644
--- a/libraries/eet/src/lib/eet_alloc.c
+++ b/libraries/eet/src/lib/eet_alloc.c
@@ -3,6 +3,7 @@
3#endif 3#endif
4 4
5#include <Eina.h> 5#include <Eina.h>
6
6#include "Eet.h" 7#include "Eet.h"
7#include "Eet_private.h" 8#include "Eet_private.h"
8 9
@@ -90,4 +91,3 @@ eet_mempool_shutdown(void)
90 mempool_array[i]->mp = NULL; 91 mempool_array[i]->mp = NULL;
91 } 92 }
92} 93}
93
diff --git a/libraries/eet/src/lib/eet_cipher.c b/libraries/eet/src/lib/eet_cipher.c
index 37a0899..2425e22 100644
--- a/libraries/eet/src/lib/eet_cipher.c
+++ b/libraries/eet/src/lib/eet_cipher.c
@@ -56,6 +56,9 @@ void *alloca(size_t);
56 56
57#ifdef HAVE_CIPHER 57#ifdef HAVE_CIPHER
58# ifdef HAVE_GNUTLS 58# ifdef HAVE_GNUTLS
59# if defined EET_USE_NEW_PUBKEY_VERIFY_HASH || defined EET_USE_NEW_PRIVKEY_SIGN_DATA
60# include <gnutls/abstract.h>
61# endif
59# include <gnutls/x509.h> 62# include <gnutls/x509.h>
60# include <gcrypt.h> 63# include <gcrypt.h>
61# else /* ifdef HAVE_GNUTLS */ 64# else /* ifdef HAVE_GNUTLS */
@@ -497,6 +500,10 @@ eet_identity_sign(FILE *fp,
497 gnutls_datum_t datum = { NULL, 0 }; 500 gnutls_datum_t datum = { NULL, 0 };
498 size_t sign_len = 0; 501 size_t sign_len = 0;
499 size_t cert_len = 0; 502 size_t cert_len = 0;
503#ifdef EET_USE_NEW_PRIVKEY_SIGN_DATA
504 gnutls_datum_t signum = { NULL, 0 };
505 gnutls_privkey_t privkey;
506#endif
500# else /* ifdef HAVE_GNUTLS */ 507# else /* ifdef HAVE_GNUTLS */
501 EVP_MD_CTX md_ctx; 508 EVP_MD_CTX md_ctx;
502 unsigned int sign_len = 0; 509 unsigned int sign_len = 0;
@@ -528,6 +535,28 @@ eet_identity_sign(FILE *fp,
528 datum.size = st_buf.st_size; 535 datum.size = st_buf.st_size;
529 536
530 /* Get the signature length */ 537 /* Get the signature length */
538#ifdef EET_USE_NEW_PRIVKEY_SIGN_DATA
539 if (gnutls_privkey_init(&privkey) < 0)
540 {
541 err = EET_ERROR_SIGNATURE_FAILED;
542 goto on_error;
543 }
544
545 if (gnutls_privkey_import_x509(privkey, key->private_key, 0) < 0)
546 {
547 err = EET_ERROR_SIGNATURE_FAILED;
548 goto on_error;
549 }
550
551 if (gnutls_privkey_sign_data(privkey, GNUTLS_DIG_SHA1, 0, &datum, &signum) < 0)
552 {
553 err = EET_ERROR_SIGNATURE_FAILED;
554 goto on_error;
555 }
556
557 sign = signum.data;
558 sign_len = signum.size;
559#else
531 if (gnutls_x509_privkey_sign_data(key->private_key, GNUTLS_DIG_SHA1, 0, 560 if (gnutls_x509_privkey_sign_data(key->private_key, GNUTLS_DIG_SHA1, 0,
532 &datum, sign, &sign_len) && 561 &datum, sign, &sign_len) &&
533 !sign_len) 562 !sign_len)
@@ -550,6 +579,7 @@ eet_identity_sign(FILE *fp,
550 579
551 goto on_error; 580 goto on_error;
552 } 581 }
582#endif
553 583
554 /* Get the certificate length */ 584 /* Get the certificate length */
555 if (gnutls_x509_crt_export(key->certificate, GNUTLS_X509_FMT_DER, cert, 585 if (gnutls_x509_crt_export(key->certificate, GNUTLS_X509_FMT_DER, cert,
@@ -696,6 +726,10 @@ eet_identity_check(const void *data_base,
696 gnutls_datum_t datum; 726 gnutls_datum_t datum;
697 gnutls_datum_t signature; 727 gnutls_datum_t signature;
698# if EET_USE_NEW_GNUTLS_API 728# if EET_USE_NEW_GNUTLS_API
729# if EET_USE_NEW_PUBKEY_VERIFY_HASH
730 gnutls_pubkey_t pubkey;
731 gnutls_digest_algorithm_t hash_algo;
732# endif
699 unsigned char *hash; 733 unsigned char *hash;
700 gcry_md_hd_t md; 734 gcry_md_hd_t md;
701 int err; 735 int err;
@@ -724,28 +758,32 @@ eet_identity_check(const void *data_base,
724 758
725 hash = gcry_md_read(md, GCRY_MD_SHA1); 759 hash = gcry_md_read(md, GCRY_MD_SHA1);
726 if (!hash) 760 if (!hash)
727 { 761 goto on_error;
728 gcry_md_close(md);
729 return NULL;
730 }
731 762
732 datum.size = gcry_md_get_algo_dlen(GCRY_MD_SHA1); 763 datum.size = gcry_md_get_algo_dlen(GCRY_MD_SHA1);
733 datum.data = hash; 764 datum.data = hash;
734 765
766# ifdef EET_USE_NEW_PUBKEY_VERIFY_HASH
767 if (gnutls_pubkey_init(&pubkey) < 0)
768 goto on_error;
769
770 if (gnutls_pubkey_import_x509(pubkey, cert, 0) < 0)
771 goto on_error;
772
773 if (gnutls_pubkey_get_verify_algorithm(pubkey, &signature, &hash_algo) < 0)
774 goto on_error;
775
776 if (gnutls_pubkey_verify_hash(pubkey, 0, &datum, &signature) < 0)
777 goto on_error;
778# else
735 if (!gnutls_x509_crt_verify_hash(cert, 0, &datum, &signature)) 779 if (!gnutls_x509_crt_verify_hash(cert, 0, &datum, &signature))
736 { 780 goto on_error;
737 gcry_md_close(md); 781# endif
738 return NULL;
739 }
740 782
741 if (sha1) 783 if (sha1)
742 { 784 {
743 *sha1 = malloc(datum.size); 785 *sha1 = malloc(datum.size);
744 if (!*sha1) 786 if (!*sha1) goto on_error;
745 {
746 gcry_md_close(md);
747 return NULL;
748 }
749 787
750 memcpy(*sha1, hash, datum.size); 788 memcpy(*sha1, hash, datum.size);
751 *sha1_length = datum.size; 789 *sha1_length = datum.size;
@@ -818,6 +856,13 @@ eet_identity_check(const void *data_base,
818 *raw_signature_length = sign_len; 856 *raw_signature_length = sign_len;
819 857
820 return cert_der; 858 return cert_der;
859# ifdef HAVE_GNUTLS
860# if EET_USE_NEW_GNUTLS_API
861 on_error:
862 gcry_md_close(md);
863 return NULL;
864# endif
865# endif
821#else /* ifdef HAVE_SIGNATURE */ 866#else /* ifdef HAVE_SIGNATURE */
822 data_base = NULL; 867 data_base = NULL;
823 data_length = 0; 868 data_length = 0;
diff --git a/libraries/eet/src/lib/eet_data.c b/libraries/eet/src/lib/eet_data.c
index 56b9ee0..d502f44 100644
--- a/libraries/eet/src/lib/eet_data.c
+++ b/libraries/eet/src/lib/eet_data.c
@@ -21,18 +21,6 @@
21#include "Eet.h" 21#include "Eet.h"
22#include "Eet_private.h" 22#include "Eet_private.h"
23 23
24#ifdef _WIN32
25# define FMT_CHAR "%c"
26# define FMT_UCHAR "%c"
27# define FMT_LONG_LONG "%I64i"
28# define FMT_ULONG_LONG "%I64u"
29#else
30# define FMT_CHAR "%hhi"
31# define FMT_UCHAR "%hhu"
32# define FMT_LONG_LONG "%lli"
33# define FMT_ULONG_LONG "%llu"
34#endif
35
36/* 24/*
37 * routines for doing data -> struct and struct -> data conversion 25 * routines for doing data -> struct and struct -> data conversion
38 * 26 *
@@ -3108,7 +3096,7 @@ _eet_data_dump_parse(Eet_Dictionary *ed,
3108 if (!strcmp(tok3, "char:")) 3096 if (!strcmp(tok3, "char:"))
3109 { 3097 {
3110 n->type = EET_T_CHAR; 3098 n->type = EET_T_CHAR;
3111 sscanf(tok4, FMT_CHAR, 3099 sscanf(tok4, "%hhi",
3112 &(n->data.value.c)); 3100 &(n->data.value.c));
3113 } 3101 }
3114 else if (!strcmp(tok3, "short:")) 3102 else if (!strcmp(tok3, "short:"))
@@ -3126,7 +3114,7 @@ _eet_data_dump_parse(Eet_Dictionary *ed,
3126 else if (!strcmp(tok3, "long_long:")) 3114 else if (!strcmp(tok3, "long_long:"))
3127 { 3115 {
3128 n->type = EET_T_LONG_LONG; 3116 n->type = EET_T_LONG_LONG;
3129 sscanf(tok4, FMT_LONG_LONG, 3117 sscanf(tok4, "%lli",
3130 &(n->data.value.l)); 3118 &(n->data.value.l));
3131 } 3119 }
3132 else if (!strcmp(tok3, "float:")) 3120 else if (!strcmp(tok3, "float:"))
@@ -3144,7 +3132,7 @@ _eet_data_dump_parse(Eet_Dictionary *ed,
3144 else if (!strcmp(tok3, "uchar:")) 3132 else if (!strcmp(tok3, "uchar:"))
3145 { 3133 {
3146 n->type = EET_T_UCHAR; 3134 n->type = EET_T_UCHAR;
3147 sscanf(tok4, FMT_UCHAR, 3135 sscanf(tok4, "%hhu",
3148 &(n->data.value.uc)); 3136 &(n->data.value.uc));
3149 } 3137 }
3150 else if (!strcmp(tok3, "ushort:")) 3138 else if (!strcmp(tok3, "ushort:"))
@@ -3162,7 +3150,7 @@ _eet_data_dump_parse(Eet_Dictionary *ed,
3162 else if (!strcmp(tok3, "ulong_long:")) 3150 else if (!strcmp(tok3, "ulong_long:"))
3163 { 3151 {
3164 n->type = EET_T_ULONG_LONG; 3152 n->type = EET_T_ULONG_LONG;
3165 sscanf(tok4, FMT_ULONG_LONG, 3153 sscanf(tok4, "%llu",
3166 &(n->data.value.ul)); 3154 &(n->data.value.ul));
3167 } 3155 }
3168 else if (!strcmp(tok3, "string:")) 3156 else if (!strcmp(tok3, "string:"))
@@ -4996,4 +4984,3 @@ eet_data_xattr_cipher_set(const char *filename,
4996 4984
4997 return ret; 4985 return ret;
4998} 4986}
4999
diff --git a/libraries/eet/src/lib/eet_dictionary.c b/libraries/eet/src/lib/eet_dictionary.c
index 287860d..c79239b 100644
--- a/libraries/eet/src/lib/eet_dictionary.c
+++ b/libraries/eet/src/lib/eet_dictionary.c
@@ -169,6 +169,12 @@ eet_dictionary_string_get_size(const Eet_Dictionary *ed,
169 return 0; 169 return 0;
170} 170}
171 171
172EAPI int
173eet_dictionary_count(const Eet_Dictionary *ed)
174{
175 return ed->count;
176}
177
172int 178int
173eet_dictionary_string_get_hash(const Eet_Dictionary *ed, 179eet_dictionary_string_get_hash(const Eet_Dictionary *ed,
174 int idx) 180 int idx)
diff --git a/libraries/eet/src/lib/eet_image.c b/libraries/eet/src/lib/eet_image.c
index 8c6c03c..b622236 100644
--- a/libraries/eet/src/lib/eet_image.c
+++ b/libraries/eet/src/lib/eet_image.c
@@ -246,7 +246,7 @@ eet_data_image_jpeg_rgb_decode(const void *data,
246 unsigned int w, 246 unsigned int w,
247 unsigned int h, 247 unsigned int h,
248 unsigned int row_stride); 248 unsigned int row_stride);
249static void * 249static int
250eet_data_image_jpeg_alpha_decode(const void *data, 250eet_data_image_jpeg_alpha_decode(const void *data,
251 int size, 251 int size,
252 unsigned int src_x, 252 unsigned int src_x,
@@ -560,7 +560,7 @@ eet_data_image_jpeg_rgb_decode(const void *data,
560 return 1; 560 return 1;
561} 561}
562 562
563static void * 563static int
564eet_data_image_jpeg_alpha_decode(const void *data, 564eet_data_image_jpeg_alpha_decode(const void *data,
565 int size, 565 int size,
566 unsigned int src_x, 566 unsigned int src_x,
@@ -577,6 +577,10 @@ eet_data_image_jpeg_alpha_decode(const void *data,
577 unsigned int x, y, l, scans; 577 unsigned int x, y, l, scans;
578 unsigned int i, iw; 578 unsigned int i, iw;
579 579
580 /* FIXME: handle src_x, src_y and row_stride correctly */
581 if (!d)
582 return 0;
583
580 memset(&cinfo, 0, sizeof (struct jpeg_decompress_struct)); 584 memset(&cinfo, 0, sizeof (struct jpeg_decompress_struct));
581 585
582 cinfo.err = jpeg_std_error(&(jerr.pub)); 586 cinfo.err = jpeg_std_error(&(jerr.pub));
@@ -584,14 +588,14 @@ eet_data_image_jpeg_alpha_decode(const void *data,
584 jerr.pub.emit_message = _JPEGErrorHandler2; 588 jerr.pub.emit_message = _JPEGErrorHandler2;
585 jerr.pub.output_message = _JPEGErrorHandler; 589 jerr.pub.output_message = _JPEGErrorHandler;
586 if (setjmp(jerr.setjmp_buffer)) 590 if (setjmp(jerr.setjmp_buffer))
587 return NULL; 591 return 0;
588 592
589 jpeg_create_decompress(&cinfo); 593 jpeg_create_decompress(&cinfo);
590 594
591 if (eet_jpeg_membuf_src(&cinfo, data, (size_t)size)) 595 if (eet_jpeg_membuf_src(&cinfo, data, (size_t)size))
592 { 596 {
593 jpeg_destroy_decompress(&cinfo); 597 jpeg_destroy_decompress(&cinfo);
594 return NULL; 598 return 0;
595 } 599 }
596 600
597 jpeg_read_header(&cinfo, TRUE); 601 jpeg_read_header(&cinfo, TRUE);
@@ -609,7 +613,7 @@ eet_data_image_jpeg_alpha_decode(const void *data,
609 cinfo.src = NULL; 613 cinfo.src = NULL;
610 614
611 jpeg_destroy_decompress(&cinfo); 615 jpeg_destroy_decompress(&cinfo);
612 return NULL; 616 return 0;
613 } 617 }
614 618
615 /* end head decoding */ 619 /* end head decoding */
@@ -620,11 +624,12 @@ eet_data_image_jpeg_alpha_decode(const void *data,
620 cinfo.src = NULL; 624 cinfo.src = NULL;
621 625
622 jpeg_destroy_decompress(&cinfo); 626 jpeg_destroy_decompress(&cinfo);
623 return NULL; 627 return 0;
624 } 628 }
625 629
626 tdata = alloca(w * 16 * 3); 630 tdata = alloca(w * 16 * 3);
627 ptr2 = d; 631 ptr2 = d;
632
628 if (cinfo.output_components == 1) 633 if (cinfo.output_components == 1)
629 { 634 {
630 for (i = 0; i < (unsigned int)cinfo.rec_outbuf_height; i++) 635 for (i = 0; i < (unsigned int)cinfo.rec_outbuf_height; i++)
@@ -666,7 +671,7 @@ eet_data_image_jpeg_alpha_decode(const void *data,
666 /* end data decoding */ 671 /* end data decoding */
667 jpeg_finish_decompress(&cinfo); 672 jpeg_finish_decompress(&cinfo);
668 jpeg_destroy_decompress(&cinfo); 673 jpeg_destroy_decompress(&cinfo);
669 return d; 674 return 1;
670} 675}
671 676
672static void * 677static void *
diff --git a/libraries/eet/src/tests/Makefile.in b/libraries/eet/src/tests/Makefile.in
index 791f9fd..e17a54e 100644
--- a/libraries/eet/src/tests/Makefile.in
+++ b/libraries/eet/src/tests/Makefile.in
@@ -135,6 +135,8 @@ EINA_LIBS = @EINA_LIBS@
135EVIL_CFLAGS = @EVIL_CFLAGS@ 135EVIL_CFLAGS = @EVIL_CFLAGS@
136EVIL_LIBS = @EVIL_LIBS@ 136EVIL_LIBS = @EVIL_LIBS@
137EXEEXT = @EXEEXT@ 137EXEEXT = @EXEEXT@
138EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
139EXOTIC_LIBS = @EXOTIC_LIBS@
138FGREP = @FGREP@ 140FGREP = @FGREP@
139GNUTLS_CFLAGS = @GNUTLS_CFLAGS@ 141GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
140GNUTLS_LIBS = @GNUTLS_LIBS@ 142GNUTLS_LIBS = @GNUTLS_LIBS@
@@ -174,6 +176,8 @@ PACKAGE_URL = @PACKAGE_URL@
174PACKAGE_VERSION = @PACKAGE_VERSION@ 176PACKAGE_VERSION = @PACKAGE_VERSION@
175PATH_SEPARATOR = @PATH_SEPARATOR@ 177PATH_SEPARATOR = @PATH_SEPARATOR@
176PKG_CONFIG = @PKG_CONFIG@ 178PKG_CONFIG = @PKG_CONFIG@
179PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
180PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
177RANLIB = @RANLIB@ 181RANLIB = @RANLIB@
178SED = @SED@ 182SED = @SED@
179SET_MAKE = @SET_MAKE@ 183SET_MAKE = @SET_MAKE@
diff --git a/libraries/eet/src/tests/eet_suite.c b/libraries/eet/src/tests/eet_suite.c
index 3bbc912..91ef2a7 100644
--- a/libraries/eet/src/tests/eet_suite.c
+++ b/libraries/eet/src/tests/eet_suite.c
@@ -1933,7 +1933,7 @@ START_TEST(eet_cache_concurrency)
1933 thread = _beginthreadex(NULL, 0, open_close_worker, file, 0, &thread_id); 1933 thread = _beginthreadex(NULL, 0, open_close_worker, file, 0, &thread_id);
1934# endif /* ifdef _EET_INCLUDED_PTHREAD */ 1934# endif /* ifdef _EET_INCLUDED_PTHREAD */
1935 /* clear the cache repeatedly in this thread */ 1935 /* clear the cache repeatedly in this thread */
1936 for (n = 0; n < 50000; ++n) 1936 for (n = 0; n < 20000; ++n)
1937 { 1937 {
1938 eet_clearcache(); 1938 eet_clearcache();
1939 } 1939 }
diff --git a/libraries/eina/AUTHORS b/libraries/eina/AUTHORS
index c146e20..6091910 100644
--- a/libraries/eina/AUTHORS
+++ b/libraries/eina/AUTHORS
@@ -21,3 +21,5 @@ Youness Alaoui <kakaroto@kakaroto.homelinux.net>
21billiob (Boris Faure) <billiob@gmail.com> 21billiob (Boris Faure) <billiob@gmail.com>
22Sung W. Park <sungwoo@gmail.com> 22Sung W. Park <sungwoo@gmail.com>
23Guillaume Friloux <guillaume.friloux@asp64.com> 23Guillaume Friloux <guillaume.friloux@asp64.com>
24Jonas M. Gastal <jgastal@profusion.mobi>
25Raphael Kubo da Costa <rakuco@freebsd.org>
diff --git a/libraries/eina/ChangeLog b/libraries/eina/ChangeLog
index dfecb61..1237697 100644
--- a/libraries/eina/ChangeLog
+++ b/libraries/eina/ChangeLog
@@ -198,3 +198,46 @@
1982012-01-19 Shinwoo Kim 1982012-01-19 Shinwoo Kim
199 199
200 * Fix compilation of eina_semaphore_lock() (Windows port) 200 * Fix compilation of eina_semaphore_lock() (Windows port)
201
2022012-01-20 Gustavo Barbieri
203
204 * Add eina_model data type (generic hierarchy data access).
205
2062011-12-30 Vincent Torri
207
208 * Fix Eina_RWLock code on Windows > XP.
209
2102012-01-29 Tom Hacohen
211
212 * Added EINA_C_ARRAY_LENGTH, a macro that returns the length of a
213 standard C array.
214
2152012-01-31 Tom Hacohen
216
217 * Added an Eina_Stringshare type. It's just a typedef of "const char"
218 this is a same kind of visual hint for the purpose of the pointer,
219 but again, the two types are interchangeable.
220
2212012-02-17 Cedric Bail
222
223 * Fix forgotten initialization of eina list count during eina_list_split_list.
224
2252012-02-22 Cedric Bail
226
227 * Add eina_file_stat.
228
2292012-02-27 Alexandre Becoulet
230
231 * Add faster implementation of Eina_Rbtree.
232
2332012-03-07 Cedric Bail
234
235 * Fix leak of Eina_File.
236
2372012-03-14 Cedric Bail
238
239 * Fix a dead lock in Eina_File.
240
2412012-03-16 Raphael Kubo da Costa
242
243 * Adjust Valgrind's CFLAGS to fix the build when it is in a non-default location.
diff --git a/libraries/eina/Makefile.am b/libraries/eina/Makefile.am
index 7778fd8..501653c 100644
--- a/libraries/eina/Makefile.am
+++ b/libraries/eina/Makefile.am
@@ -1,6 +1,6 @@
1## Process this file with automake to produce Makefile.in 1## Process this file with automake to produce Makefile.in
2 2
3ACLOCAL_AMFLAGS = -I m4 3ACLOCAL_AMFLAGS = -I m4 -I m4/common -I m4/eina
4 4
5SUBDIRS = src doc 5SUBDIRS = src doc
6 6
@@ -38,18 +38,18 @@ autogen.sh \
38eina.pc.in \ 38eina.pc.in \
39eina.spec \ 39eina.spec \
40eina.spec.in \ 40eina.spec.in \
41m4/efl_attribute.m4 \ 41m4/common/efl_attribute.m4 \
42m4/efl_benchmark.m4 \ 42m4/common/efl_benchmark.m4 \
43m4/efl_compiler_flag.m4 \ 43m4/common/efl_compiler_flag.m4 \
44m4/efl_coverage.m4 \ 44m4/common/efl_coverage.m4 \
45m4/efl_cpu.m4 \ 45m4/common/efl_cpu.m4 \
46m4/efl_doxygen.m4 \ 46m4/common/efl_doxygen.m4 \
47m4/efl_fnmatch.m4 \ 47m4/common/efl_fnmatch.m4 \
48m4/efl_tests.m4 \ 48m4/common/efl_tests.m4 \
49m4/efl_threads.m4 \ 49m4/common/efl_threads.m4 \
50m4/eina_bench.m4 \ 50m4/common/efl_path_max.m4 \
51m4/eina_check.m4 \ 51m4/eina/eina_bench.m4 \
52m4/efl_path_max.m4 52m4/eina/eina_check.m4
53 53
54.PHONY: doc coverage benchmark 54.PHONY: doc coverage benchmark
55 55
@@ -77,18 +77,16 @@ endif
77 77
78if EFL_ENABLE_COVERAGE 78if EFL_ENABLE_COVERAGE
79lcov-reset: 79lcov-reset:
80 @rm -rf coverage 80 @rm -rf $(top_builddir)/coverage
81 @find . -name "*.gcda" -exec rm {} \; 81 @find $(top_builddir) -name "*.gcda" -delete
82 @lcov --directory . --zerocounters 82 @lcov --zerocounters --directory $(top_builddir)
83 83
84lcov-report: 84lcov-report:
85 @mkdir coverage 85 @mkdir $(top_builddir)/coverage
86 @lcov --compat-libtool --directory $(top_srcdir)/src --capture --output-file coverage/coverage.info 86 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
87 @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 87 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
88 @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 88 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
89 @rm coverage/remove 89 @echo "Coverage Report at $(top_builddir)/coverage/html"
90 @mv coverage/coverage.cleaned.info coverage/coverage.info
91 @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
92 90
93coverage: 91coverage:
94 @$(MAKE) lcov-reset 92 @$(MAKE) lcov-reset
diff --git a/libraries/eina/Makefile.in b/libraries/eina/Makefile.in
index 423f4da..f72c62f 100644
--- a/libraries/eina/Makefile.in
+++ b/libraries/eina/Makefile.in
@@ -42,20 +42,24 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
42 INSTALL NEWS config.guess config.sub depcomp install-sh \ 42 INSTALL NEWS config.guess config.sub depcomp install-sh \
43 ltmain.sh missing 43 ltmain.sh missing
44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 45am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
46 $(top_srcdir)/m4/efl_benchmark.m4 \ 46 $(top_srcdir)/m4/eina/eina_check.m4 \
47 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 47 $(top_srcdir)/m4/common/efl_attribute.m4 \
48 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 48 $(top_srcdir)/m4/common/efl_benchmark.m4 \
49 $(top_srcdir)/m4/efl_doxygen.m4 \ 49 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
50 $(top_srcdir)/m4/efl_examples.m4 \ 50 $(top_srcdir)/m4/common/efl_coverage.m4 \
51 $(top_srcdir)/m4/efl_fnmatch.m4 \ 51 $(top_srcdir)/m4/common/efl_cpu.m4 \
52 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 52 $(top_srcdir)/m4/common/efl_doxygen.m4 \
53 $(top_srcdir)/m4/efl_threads.m4 \ 53 $(top_srcdir)/m4/common/efl_examples.m4 \
54 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 54 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
55 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 55 $(top_srcdir)/m4/common/efl_path_max.m4 \
56 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 56 $(top_srcdir)/m4/common/efl_tests.m4 \
57 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 57 $(top_srcdir)/m4/common/efl_threads.m4 \
58 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 58 $(top_srcdir)/m4/common/efl_voltron.m4 \
59 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
60 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
61 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
62 $(top_srcdir)/configure.ac
59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 63am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4) 64 $(ACLOCAL_M4)
61am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 65am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -191,13 +195,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
191EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 195EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
192EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 196EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
193EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 197EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
198EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
194EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 199EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
195EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 200EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
196EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 201EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
197EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 202EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
198EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 203EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
199EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 204EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
200EINA_CPPFLAGS = @EINA_CPPFLAGS@
201EINA_LIBS = @EINA_LIBS@ 205EINA_LIBS = @EINA_LIBS@
202EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 206EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
203EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 207EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -207,6 +211,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
207EVIL_CFLAGS = @EVIL_CFLAGS@ 211EVIL_CFLAGS = @EVIL_CFLAGS@
208EVIL_LIBS = @EVIL_LIBS@ 212EVIL_LIBS = @EVIL_LIBS@
209EXEEXT = @EXEEXT@ 213EXEEXT = @EXEEXT@
214EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
215EXOTIC_LIBS = @EXOTIC_LIBS@
210FGREP = @FGREP@ 216FGREP = @FGREP@
211GLIB_CFLAGS = @GLIB_CFLAGS@ 217GLIB_CFLAGS = @GLIB_CFLAGS@
212GLIB_LIBS = @GLIB_LIBS@ 218GLIB_LIBS = @GLIB_LIBS@
@@ -242,6 +248,8 @@ PACKAGE_URL = @PACKAGE_URL@
242PACKAGE_VERSION = @PACKAGE_VERSION@ 248PACKAGE_VERSION = @PACKAGE_VERSION@
243PATH_SEPARATOR = @PATH_SEPARATOR@ 249PATH_SEPARATOR = @PATH_SEPARATOR@
244PKG_CONFIG = @PKG_CONFIG@ 250PKG_CONFIG = @PKG_CONFIG@
251PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
252PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
245RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
246SED = @SED@ 254SED = @SED@
247SET_MAKE = @SET_MAKE@ 255SET_MAKE = @SET_MAKE@
@@ -315,7 +323,7 @@ top_build_prefix = @top_build_prefix@
315top_builddir = @top_builddir@ 323top_builddir = @top_builddir@
316top_srcdir = @top_srcdir@ 324top_srcdir = @top_srcdir@
317version_info = @version_info@ 325version_info = @version_info@
318ACLOCAL_AMFLAGS = -I m4 326ACLOCAL_AMFLAGS = -I m4 -I m4/common -I m4/eina
319SUBDIRS = src doc 327SUBDIRS = src doc
320MAINTAINERCLEANFILES = \ 328MAINTAINERCLEANFILES = \
321Makefile.in \ 329Makefile.in \
@@ -350,18 +358,18 @@ autogen.sh \
350eina.pc.in \ 358eina.pc.in \
351eina.spec \ 359eina.spec \
352eina.spec.in \ 360eina.spec.in \
353m4/efl_attribute.m4 \ 361m4/common/efl_attribute.m4 \
354m4/efl_benchmark.m4 \ 362m4/common/efl_benchmark.m4 \
355m4/efl_compiler_flag.m4 \ 363m4/common/efl_compiler_flag.m4 \
356m4/efl_coverage.m4 \ 364m4/common/efl_coverage.m4 \
357m4/efl_cpu.m4 \ 365m4/common/efl_cpu.m4 \
358m4/efl_doxygen.m4 \ 366m4/common/efl_doxygen.m4 \
359m4/efl_fnmatch.m4 \ 367m4/common/efl_fnmatch.m4 \
360m4/efl_tests.m4 \ 368m4/common/efl_tests.m4 \
361m4/efl_threads.m4 \ 369m4/common/efl_threads.m4 \
362m4/eina_bench.m4 \ 370m4/common/efl_path_max.m4 \
363m4/eina_check.m4 \ 371m4/eina/eina_bench.m4 \
364m4/efl_path_max.m4 372m4/eina/eina_check.m4
365 373
366all: config.h 374all: config.h
367 $(MAKE) $(AM_MAKEFLAGS) all-recursive 375 $(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -908,18 +916,16 @@ doc:
908# Coverage report 916# Coverage report
909 917
910@EFL_ENABLE_COVERAGE_TRUE@lcov-reset: 918@EFL_ENABLE_COVERAGE_TRUE@lcov-reset:
911@EFL_ENABLE_COVERAGE_TRUE@ @rm -rf coverage 919@EFL_ENABLE_COVERAGE_TRUE@ @rm -rf $(top_builddir)/coverage
912@EFL_ENABLE_COVERAGE_TRUE@ @find . -name "*.gcda" -exec rm {} \; 920@EFL_ENABLE_COVERAGE_TRUE@ @find $(top_builddir) -name "*.gcda" -delete
913@EFL_ENABLE_COVERAGE_TRUE@ @lcov --directory . --zerocounters 921@EFL_ENABLE_COVERAGE_TRUE@ @lcov --zerocounters --directory $(top_builddir)
914 922
915@EFL_ENABLE_COVERAGE_TRUE@lcov-report: 923@EFL_ENABLE_COVERAGE_TRUE@lcov-report:
916@EFL_ENABLE_COVERAGE_TRUE@ @mkdir coverage 924@EFL_ENABLE_COVERAGE_TRUE@ @mkdir $(top_builddir)/coverage
917@EFL_ENABLE_COVERAGE_TRUE@ @lcov --compat-libtool --directory $(top_srcdir)/src --capture --output-file coverage/coverage.info 925@EFL_ENABLE_COVERAGE_TRUE@ lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
918@EFL_ENABLE_COVERAGE_TRUE@ @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 926@EFL_ENABLE_COVERAGE_TRUE@ lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
919@EFL_ENABLE_COVERAGE_TRUE@ @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 927@EFL_ENABLE_COVERAGE_TRUE@ genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
920@EFL_ENABLE_COVERAGE_TRUE@ @rm coverage/remove 928@EFL_ENABLE_COVERAGE_TRUE@ @echo "Coverage Report at $(top_builddir)/coverage/html"
921@EFL_ENABLE_COVERAGE_TRUE@ @mv coverage/coverage.cleaned.info coverage/coverage.info
922@EFL_ENABLE_COVERAGE_TRUE@ @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
923 929
924@EFL_ENABLE_COVERAGE_TRUE@coverage: 930@EFL_ENABLE_COVERAGE_TRUE@coverage:
925@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) lcov-reset 931@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) lcov-reset
diff --git a/libraries/eina/NEWS b/libraries/eina/NEWS
index 8669aa7..b118535 100644
--- a/libraries/eina/NEWS
+++ b/libraries/eina/NEWS
@@ -14,8 +14,20 @@ Additions:
14 * Deprecated eina_array_count_get(), use eina_array_count() instead. 14 * Deprecated eina_array_count_get(), use eina_array_count() instead.
15 * Added eina_inarray data type 15 * Added eina_inarray data type
16 * Added eina_value data type (generic value storage) 16 * Added eina_value data type (generic value storage)
17 * Added eina_model data type (generic hierarchy data access)
18 * Add eina_file_stat.
17 19
18Eina 1.1.0 20Fixes:
21
22 * compilation errors in Eina_RWLock code when building code on Windows > XP
23 * stop leaking Eina_File.
24 * remove dead lock in Eina_File.
25
26Improvements:
27
28 * faster implementation of Eina_Rbtree.
29
30Eina 1.1.0 (2011-12-02)
19 31
20Changes since Eina 1.0.0: 32Changes since Eina 1.0.0:
21------------------------- 33-------------------------
diff --git a/libraries/eina/README b/libraries/eina/README
index 6ff84c8..cb8b0c6 100644
--- a/libraries/eina/README
+++ b/libraries/eina/README
@@ -1,4 +1,4 @@
1Eina 1.1.0 1Eina 1.2.0
2 2
3****************************************************************************** 3******************************************************************************
4 4
@@ -11,7 +11,6 @@ Requirements:
11------------- 11-------------
12Must have: 12Must have:
13 libc (pthread or windows threading support, iconv support) 13 libc (pthread or windows threading support, iconv support)
14 libm
15 14
16Eina is a library providing data structure utilities for EFL that are meant 15Eina is a library providing data structure utilities for EFL that are meant
17to be lean, efficient and tailored to EFL's needs. This saves each 16to be lean, efficient and tailored to EFL's needs. This saves each
diff --git a/libraries/eina/aclocal.m4 b/libraries/eina/aclocal.m4
index f26e3d1..d87f7d0 100644
--- a/libraries/eina/aclocal.m4
+++ b/libraries/eina/aclocal.m4
@@ -13,13 +13,14 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23# serial 1 (pkg-config-0.24)
23# 24#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 25# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25# 26#
@@ -47,7 +48,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
47AC_DEFUN([PKG_PROG_PKG_CONFIG], 48AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 49[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 50m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 51AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
54
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 55if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 56 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi 57fi
@@ -60,7 +64,6 @@ if test -n "$PKG_CONFIG"; then
60 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
61 PKG_CONFIG="" 65 PKG_CONFIG=""
62 fi 66 fi
63
64fi[]dnl 67fi[]dnl
65])# PKG_PROG_PKG_CONFIG 68])# PKG_PROG_PKG_CONFIG
66 69
@@ -69,34 +72,31 @@ fi[]dnl
69# Check to see whether a particular set of modules exists. Similar 72# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors. 73# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71# 74#
72# 75# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of 76# only at the first occurence in configure.ac, so if the first place
74# this or PKG_CHECK_MODULES is called, or make sure to call 77# it's called might be skipped (such as if it is within an "if", you
75# PKG_CHECK_EXISTS manually 78# have to call PKG_CHECK_EXISTS manually
76# -------------------------------------------------------------- 79# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS], 80AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 81[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \ 82if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 83 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:]) 84 m4_default([$2], [:])
82m4_ifvaln([$3], [else 85m4_ifvaln([$3], [else
83 $3])dnl 86 $3])dnl
84fi]) 87fi])
85 88
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 89# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# --------------------------------------------- 90# ---------------------------------------------
89m4_define([_PKG_CONFIG], 91m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then 92[if test -n "$$1"; then
91 if test -n "$$1"; then 93 pkg_cv_[]$1="$$1"
92 pkg_cv_[]$1="$$1" 94 elif test -n "$PKG_CONFIG"; then
93 else 95 PKG_CHECK_EXISTS([$3],
94 PKG_CHECK_EXISTS([$3], 96 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 97 [pkg_failed=yes])
96 [pkg_failed=yes]) 98 else
97 fi 99 pkg_failed=untried
98else
99 pkg_failed=untried
100fi[]dnl 100fi[]dnl
101])# _PKG_CONFIG 101])# _PKG_CONFIG
102 102
@@ -138,16 +138,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.]) 138See the pkg-config man page for more details.])
139 139
140if test $pkg_failed = yes; then 140if test $pkg_failed = yes; then
141 AC_MSG_RESULT([no])
141 _PKG_SHORT_ERRORS_SUPPORTED 142 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then 143 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 144 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
144 else 145 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 146 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
146 fi 147 fi
147 # Put the nasty error message in config.log where it belongs 148 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 149 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149 150
150 ifelse([$4], , [AC_MSG_ERROR(dnl 151 m4_default([$4], [AC_MSG_ERROR(
151[Package requirements ($2) were not met: 152[Package requirements ($2) were not met:
152 153
153$$1_PKG_ERRORS 154$$1_PKG_ERRORS
@@ -155,25 +156,24 @@ $$1_PKG_ERRORS
155Consider adjusting the PKG_CONFIG_PATH environment variable if you 156Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix. 157installed software in a non-standard prefix.
157 158
158_PKG_TEXT 159_PKG_TEXT])[]dnl
159])], 160 ])
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then 161elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl 162 AC_MSG_RESULT([no])
163 m4_default([$4], [AC_MSG_FAILURE(
164[The pkg-config script could not be found or is too old. Make sure it 164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full 165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config. 166path to pkg-config.
167 167
168_PKG_TEXT 168_PKG_TEXT
169 169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
171 [$4]) 171 ])
172else 172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes]) 175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3]) 176 $3
177fi[]dnl 177fi[]dnl
178])# PKG_CHECK_MODULES 178])# PKG_CHECK_MODULES
179 179
@@ -1134,20 +1134,20 @@ AC_SUBST([am__tar])
1134AC_SUBST([am__untar]) 1134AC_SUBST([am__untar])
1135]) # _AM_PROG_TAR 1135]) # _AM_PROG_TAR
1136 1136
1137m4_include([m4/efl_attribute.m4]) 1137m4_include([m4/eina/eina_bench.m4])
1138m4_include([m4/efl_benchmark.m4]) 1138m4_include([m4/eina/eina_check.m4])
1139m4_include([m4/efl_compiler_flag.m4]) 1139m4_include([m4/common/efl_attribute.m4])
1140m4_include([m4/efl_coverage.m4]) 1140m4_include([m4/common/efl_benchmark.m4])
1141m4_include([m4/efl_cpu.m4]) 1141m4_include([m4/common/efl_compiler_flag.m4])
1142m4_include([m4/efl_doxygen.m4]) 1142m4_include([m4/common/efl_coverage.m4])
1143m4_include([m4/efl_examples.m4]) 1143m4_include([m4/common/efl_cpu.m4])
1144m4_include([m4/efl_fnmatch.m4]) 1144m4_include([m4/common/efl_doxygen.m4])
1145m4_include([m4/efl_path_max.m4]) 1145m4_include([m4/common/efl_examples.m4])
1146m4_include([m4/efl_tests.m4]) 1146m4_include([m4/common/efl_fnmatch.m4])
1147m4_include([m4/efl_threads.m4]) 1147m4_include([m4/common/efl_path_max.m4])
1148m4_include([m4/efl_voltron.m4]) 1148m4_include([m4/common/efl_tests.m4])
1149m4_include([m4/eina_bench.m4]) 1149m4_include([m4/common/efl_threads.m4])
1150m4_include([m4/eina_check.m4]) 1150m4_include([m4/common/efl_voltron.m4])
1151m4_include([m4/libtool.m4]) 1151m4_include([m4/libtool.m4])
1152m4_include([m4/ltoptions.m4]) 1152m4_include([m4/ltoptions.m4])
1153m4_include([m4/ltsugar.m4]) 1153m4_include([m4/ltsugar.m4])
diff --git a/libraries/eina/autogen.sh b/libraries/eina/autogen.sh
index 00116ea..25b7c2f 100755
--- a/libraries/eina/autogen.sh
+++ b/libraries/eina/autogen.sh
@@ -6,7 +6,7 @@ rm -f aclocal.m4 ltmain.sh
6touch README 6touch README
7touch ABOUT-NLS 7touch ABOUT-NLS
8 8
9echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 9echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 -I m4/common -I m4/eina || exit 1
10echo "Running autoheader..." ; autoheader || exit 1 10echo "Running autoheader..." ; autoheader || exit 1
11echo "Running autoconf..." ; autoconf || exit 1 11echo "Running autoconf..." ; autoconf || exit 1
12echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 12echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
diff --git a/libraries/eina/config.guess b/libraries/eina/config.guess
index e3a2116..c2246a4 100755
--- a/libraries/eina/config.guess
+++ b/libraries/eina/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-10' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
27# the same distribution terms that you use for the rest of that program. 27# the same distribution terms that you use for the rest of that program.
28 28
29 29
30# Originally written by Per Bothner <per@bothner.com>. 30# Originally written by Per Bothner. Please send patches (context
31# Please send patches to <config-patches@gnu.org>. Submit a context 31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# diff and a properly formatted ChangeLog entry. 32# entry.
33# 33#
34# This script attempts to guess a canonical system name similar to 34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and 35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1. 36# exits with 0. Otherwise, it exits with 1.
37# 37#
38# The plan is that this can be called by configure scripts if you 38# You can get the latest version of this script from:
39# don't specify an explicit build system type. 39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40 40
41me=`echo "$0" | sed -e 's,.*/,,'` 41me=`echo "$0" | sed -e 's,.*/,,'`
42 42
@@ -56,8 +56,9 @@ version="\
56GNU config.guess ($timestamp) 56GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
61 62
62This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
333 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
336 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 eval $set_cc_for_build 341 eval $set_cc_for_build
338 SUN_ARCH="i386" 342 SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
807 i*:PW*:*) 811 i*:PW*:*)
808 echo ${UNAME_MACHINE}-pc-pw32 812 echo ${UNAME_MACHINE}-pc-pw32
809 exit ;; 813 exit ;;
810 *:Interix*:[3456]*) 814 *:Interix*:*)
811 case ${UNAME_MACHINE} in 815 case ${UNAME_MACHINE} in
812 x86) 816 x86)
813 echo i586-pc-interix${UNAME_RELEASE} 817 echo i586-pc-interix${UNAME_RELEASE}
814 exit ;; 818 exit ;;
815 EM64T | authenticamd | genuineintel) 819 authenticamd | genuineintel | EM64T)
816 echo x86_64-unknown-interix${UNAME_RELEASE} 820 echo x86_64-unknown-interix${UNAME_RELEASE}
817 exit ;; 821 exit ;;
818 IA64) 822 IA64)
@@ -854,6 +858,20 @@ EOF
854 i*86:Minix:*:*) 858 i*86:Minix:*:*)
855 echo ${UNAME_MACHINE}-pc-minix 859 echo ${UNAME_MACHINE}-pc-minix
856 exit ;; 860 exit ;;
861 alpha:Linux:*:*)
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
863 EV5) UNAME_MACHINE=alphaev5 ;;
864 EV56) UNAME_MACHINE=alphaev56 ;;
865 PCA56) UNAME_MACHINE=alphapca56 ;;
866 PCA57) UNAME_MACHINE=alphapca56 ;;
867 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
874 exit ;;
857 arm*:Linux:*:*) 875 arm*:Linux:*:*)
858 eval $set_cc_for_build 876 eval $set_cc_for_build
859 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 877 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
876 frv:Linux:*:*) 894 frv:Linux:*:*)
877 echo frv-unknown-linux-gnu 895 echo frv-unknown-linux-gnu
878 exit ;; 896 exit ;;
897 i*86:Linux:*:*)
898 LIBC=gnu
899 eval $set_cc_for_build
900 sed 's/^ //' << EOF >$dummy.c
901 #ifdef __dietlibc__
902 LIBC=dietlibc
903 #endif
904EOF
905 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
906 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
907 exit ;;
879 ia64:Linux:*:*) 908 ia64:Linux:*:*)
880 echo ${UNAME_MACHINE}-unknown-linux-gnu 909 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 exit ;; 910 exit ;;
@@ -901,39 +930,18 @@ EOF
901 #endif 930 #endif
902 #endif 931 #endif
903EOF 932EOF
904 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 933 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
905 /^CPU/{
906 s: ::g
907 p
908 }'`"
909 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 934 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910 ;; 935 ;;
911 or32:Linux:*:*) 936 or32:Linux:*:*)
912 echo or32-unknown-linux-gnu 937 echo or32-unknown-linux-gnu
913 exit ;; 938 exit ;;
914 ppc:Linux:*:*)
915 echo powerpc-unknown-linux-gnu
916 exit ;;
917 ppc64:Linux:*:*)
918 echo powerpc64-unknown-linux-gnu
919 exit ;;
920 alpha:Linux:*:*)
921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922 EV5) UNAME_MACHINE=alphaev5 ;;
923 EV56) UNAME_MACHINE=alphaev56 ;;
924 PCA56) UNAME_MACHINE=alphapca56 ;;
925 PCA57) UNAME_MACHINE=alphapca56 ;;
926 EV6) UNAME_MACHINE=alphaev6 ;;
927 EV67) UNAME_MACHINE=alphaev67 ;;
928 EV68*) UNAME_MACHINE=alphaev68 ;;
929 esac
930 objdump --private-headers /bin/sh | grep -q ld.so.1
931 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 exit ;;
934 padre:Linux:*:*) 939 padre:Linux:*:*)
935 echo sparc-unknown-linux-gnu 940 echo sparc-unknown-linux-gnu
936 exit ;; 941 exit ;;
942 parisc64:Linux:*:* | hppa64:Linux:*:*)
943 echo hppa64-unknown-linux-gnu
944 exit ;;
937 parisc:Linux:*:* | hppa:Linux:*:*) 945 parisc:Linux:*:* | hppa:Linux:*:*)
938 # Look for CPU level 946 # Look for CPU level
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
942 *) echo hppa-unknown-linux-gnu ;; 950 *) echo hppa-unknown-linux-gnu ;;
943 esac 951 esac
944 exit ;; 952 exit ;;
945 parisc64:Linux:*:* | hppa64:Linux:*:*) 953 ppc64:Linux:*:*)
946 echo hppa64-unknown-linux-gnu 954 echo powerpc64-unknown-linux-gnu
955 exit ;;
956 ppc:Linux:*:*)
957 echo powerpc-unknown-linux-gnu
947 exit ;; 958 exit ;;
948 s390:Linux:*:* | s390x:Linux:*:*) 959 s390:Linux:*:* | s390x:Linux:*:*)
949 echo ${UNAME_MACHINE}-ibm-linux 960 echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
966 xtensa*:Linux:*:*) 977 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 echo ${UNAME_MACHINE}-unknown-linux-gnu
968 exit ;; 979 exit ;;
969 i*86:Linux:*:*)
970 # The BFD linker knows what the default object file format is, so
971 # first see if it will tell us. cd to the root directory to prevent
972 # problems with other programs or directories called `ld' in the path.
973 # Set LC_ALL=C to ensure ld outputs messages in English.
974 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
975 | sed -ne '/supported targets:/!d
976 s/[ ][ ]*/ /g
977 s/.*supported targets: *//
978 s/ .*//
979 p'`
980 case "$ld_supported_targets" in
981 elf32-i386)
982 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 ;;
984 esac
985 # Determine whether the default compiler is a.out or elf
986 eval $set_cc_for_build
987 sed 's/^ //' << EOF >$dummy.c
988 #include <features.h>
989 #ifdef __ELF__
990 # ifdef __GLIBC__
991 # if __GLIBC__ >= 2
992 LIBC=gnu
993 # else
994 LIBC=gnulibc1
995 # endif
996 # else
997 LIBC=gnulibc1
998 # endif
999 #else
1000 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1001 LIBC=gnu
1002 #else
1003 LIBC=gnuaout
1004 #endif
1005 #endif
1006 #ifdef __dietlibc__
1007 LIBC=dietlibc
1008 #endif
1009EOF
1010 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1011 /^LIBC/{
1012 s: ::g
1013 p
1014 }'`"
1015 test x"${LIBC}" != x && {
1016 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1017 exit
1018 }
1019 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1020 ;;
1021 i*86:DYNIX/ptx:4*:*) 980 i*86:DYNIX/ptx:4*:*)
1022 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023 # earlier versions are messed up and put the nodename in both 982 # earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
1247 *:Darwin:*:*) 1206 *:Darwin:*:*)
1248 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1207 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249 case $UNAME_PROCESSOR in 1208 case $UNAME_PROCESSOR in
1209 i386)
1210 eval $set_cc_for_build
1211 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1212 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1213 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1214 grep IS_64BIT_ARCH >/dev/null
1215 then
1216 UNAME_PROCESSOR="x86_64"
1217 fi
1218 fi ;;
1250 unknown) UNAME_PROCESSOR=powerpc ;; 1219 unknown) UNAME_PROCESSOR=powerpc ;;
1251 esac 1220 esac
1252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/libraries/eina/config.h.in b/libraries/eina/config.h.in
index 9bd97a1..09db082 100644
--- a/libraries/eina/config.h.in
+++ b/libraries/eina/config.h.in
@@ -110,6 +110,12 @@
110 */ 110 */
111#undef HAVE_ALLOCA_H 111#undef HAVE_ALLOCA_H
112 112
113/* Define to 1 if you have the `backtrace' function. */
114#undef HAVE_BACKTRACE
115
116/* Define to 1 if you have the `backtrace_symbols' function. */
117#undef HAVE_BACKTRACE_SYMBOLS
118
113/* Define to 1 if you have a valid <dirent.h> header file. */ 119/* Define to 1 if you have a valid <dirent.h> header file. */
114#undef HAVE_DIRENT_H 120#undef HAVE_DIRENT_H
115 121
@@ -125,15 +131,21 @@
125/* Define to 1 if you have the `dlopen' function. */ 131/* Define to 1 if you have the `dlopen' function. */
126#undef HAVE_DLOPEN 132#undef HAVE_DLOPEN
127 133
128/* Set to 1 if evil package is installed */ 134/* Set to 1 if Escape package is installed */
129#undef HAVE_ESCAPE 135#undef HAVE_ESCAPE
130 136
131/* Set to 1 if evil package is installed */ 137/* Set to 1 if evil package is installed */
132#undef HAVE_EVIL 138#undef HAVE_EVIL
133 139
140/* Define to 1 if you have the <execinfo.h> header file. */
141#undef HAVE_EXECINFO_H
142
134/* Define to 1 if you have the `execvp' function. */ 143/* Define to 1 if you have the `execvp' function. */
135#undef HAVE_EXECVP 144#undef HAVE_EXECVP
136 145
146/* Define to 1 if you have Exotic. */
147#undef HAVE_EXOTIC_H
148
137/* Define to 1 if you have the `fpathconf' function. */ 149/* Define to 1 if you have the `fpathconf' function. */
138#undef HAVE_FPATHCONF 150#undef HAVE_FPATHCONF
139 151
diff --git a/libraries/eina/config.sub b/libraries/eina/config.sub
index eb0389a..c2d1257 100755
--- a/libraries/eina/config.sub
+++ b/libraries/eina/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-11' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 39# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 40# Otherwise, we print the canonical config type on stdout and succeed.
41 41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
153 os= 157 os=
154 basic_machine=$1 158 basic_machine=$1
155 ;; 159 ;;
@@ -284,6 +288,7 @@ case $basic_machine in
284 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
285 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286 | pyramid \ 290 | pyramid \
291 | rx \
287 | score \ 292 | score \
288 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289 | sh64 | sh64le \ 294 | sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
291 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292 | spu | strongarm \ 297 | spu | strongarm \
293 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
294 | v850 | v850e \ 300 | v850 | v850e \
295 | we32k \ 301 | we32k \
296 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297 | z8k | z80) 303 | z8k | z80)
298 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
299 ;; 305 ;;
300 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
302 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
303 os=-none 309 os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
340 | lm32-* \ 346 | lm32-* \
341 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
342 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345 | mips16-* \ 351 | mips16-* \
346 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
368 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370 | pyramid-* \ 376 | pyramid-* \
371 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
372 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375 | sparclite-* \ 381 | sparclite-* \
376 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
378 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
379 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
380 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
381 | we32k-* \ 389 | we32k-* \
382 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
726 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
727 os=-sysv 735 os=-sysv
728 ;; 736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
739 ;;
729 mingw32) 740 mingw32)
730 basic_machine=i386-pc 741 basic_machine=i386-pc
731 os=-mingw32 742 os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
1076 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1077 os=-coff 1088 os=-coff
1078 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1079 tile*) 1095 tile*)
1080 basic_machine=tile-unknown 1096 basic_machine=tile-unknown
1081 os=-linux-gnu 1097 os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
1247 # First match some system type aliases 1263 # First match some system type aliases
1248 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1249 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1250 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1251 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252 ;; 1271 ;;
@@ -1268,8 +1287,8 @@ case $os in
1268 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1269 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1272 | -kopensolaris* \ 1291 | -sym* | -kopensolaris* \
1273 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274 | -aos* | -aros* \ 1293 | -aos* | -aros* \
1275 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
1290 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1295 ;; 1314 ;;
1296 -qnx*) 1315 -qnx*)
@@ -1423,6 +1442,8 @@ case $os in
1423 -dicos*) 1442 -dicos*)
1424 os=-dicos 1443 os=-dicos
1425 ;; 1444 ;;
1445 -nacl*)
1446 ;;
1426 -none) 1447 -none)
1427 ;; 1448 ;;
1428 *) 1449 *)
diff --git a/libraries/eina/configure b/libraries/eina/configure
index d3c2f30..ef62c1d 100755
--- a/libraries/eina/configure
+++ b/libraries/eina/configure
@@ -1,13 +1,13 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for eina 1.1.99.67344. 3# Generated by GNU Autoconf 2.67 for eina 1.2.0-alpha.
4# 4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>. 5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@ $as_echo X"$as_dir" |
319 test -d "$as_dir" && break 319 test -d "$as_dir" && break
320 done 320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 323
324 324
325} # as_fn_mkdir_p 325} # as_fn_mkdir_p
@@ -359,19 +359,19 @@ else
359fi # as_fn_arith 359fi # as_fn_arith
360 360
361 361
362# as_fn_error ERROR [LINENO LOG_FD] 362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 366# script with STATUS, using 1 if that was 0.
367as_fn_error () 367as_fn_error ()
368{ 368{
369 as_status=$?; test $as_status -eq 0 && as_status=1 369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 370 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 373 fi
374 $as_echo "$as_me: error: $1" >&2 374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 375 as_fn_exit $as_status
376} # as_fn_error 376} # as_fn_error
377 377
@@ -682,7 +682,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1 682exec 6>&1
683 683
684# Name of the host. 684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too. 686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688 688
@@ -701,8 +701,8 @@ MAKEFLAGS=
701# Identity of this package. 701# Identity of this package.
702PACKAGE_NAME='eina' 702PACKAGE_NAME='eina'
703PACKAGE_TARNAME='eina' 703PACKAGE_TARNAME='eina'
704PACKAGE_VERSION='1.1.99.67344' 704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='eina 1.1.99.67344' 705PACKAGE_STRING='eina 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' 706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL='' 707PACKAGE_URL=''
708 708
@@ -810,9 +810,13 @@ EINA_CONFIGURE_HAVE_INTTYPES_H
810lt_enable_auto_import 810lt_enable_auto_import
811EINA_LIBS 811EINA_LIBS
812EINA_CFLAGS 812EINA_CFLAGS
813EINA_CPPFLAGS
814ESCAPE_LIBS 813ESCAPE_LIBS
815ESCAPE_CFLAGS 814ESCAPE_CFLAGS
815EINA_CONFIGURE_HAVE_EXOTIC
816EINA_HAVE_EXOTIC_FALSE
817EINA_HAVE_EXOTIC_TRUE
818EXOTIC_LIBS
819EXOTIC_CFLAGS
816EINA_HAVE_WIN32_FALSE 820EINA_HAVE_WIN32_FALSE
817EINA_HAVE_WIN32_TRUE 821EINA_HAVE_WIN32_TRUE
818EINA_HAVE_WINCE_FALSE 822EINA_HAVE_WINCE_FALSE
@@ -833,6 +837,8 @@ EFL_BUILD_DOC_TRUE
833efl_doxygen 837efl_doxygen
834efl_have_doxygen 838efl_have_doxygen
835pkgconfig_requires_private 839pkgconfig_requires_private
840PKG_CONFIG_LIBDIR
841PKG_CONFIG_PATH
836PKG_CONFIG 842PKG_CONFIG
837CXXCPP 843CXXCPP
838am__fastdepCXX_FALSE 844am__fastdepCXX_FALSE
@@ -1039,6 +1045,8 @@ CXXFLAGS
1039CCC 1045CCC
1040CXXCPP 1046CXXCPP
1041PKG_CONFIG 1047PKG_CONFIG
1048PKG_CONFIG_PATH
1049PKG_CONFIG_LIBDIR
1042VALGRIND_CFLAGS 1050VALGRIND_CFLAGS
1043VALGRIND_LIBS 1051VALGRIND_LIBS
1044EVIL_CFLAGS 1052EVIL_CFLAGS
@@ -1047,6 +1055,8 @@ EMEMOA_CFLAGS
1047EMEMOA_LIBS 1055EMEMOA_LIBS
1048ECORE_EVAS_CFLAGS 1056ECORE_EVAS_CFLAGS
1049ECORE_EVAS_LIBS 1057ECORE_EVAS_LIBS
1058EXOTIC_CFLAGS
1059EXOTIC_LIBS
1050ESCAPE_CFLAGS 1060ESCAPE_CFLAGS
1051ESCAPE_LIBS 1061ESCAPE_LIBS
1052CHECK_CFLAGS 1062CHECK_CFLAGS
@@ -1115,8 +1125,9 @@ do
1115 fi 1125 fi
1116 1126
1117 case $ac_option in 1127 case $ac_option in
1118 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1128 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1119 *) ac_optarg=yes ;; 1129 *=) ac_optarg= ;;
1130 *) ac_optarg=yes ;;
1120 esac 1131 esac
1121 1132
1122 # Accept the important Cygnus configure options, so we can diagnose typos. 1133 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1161,7 +1172,7 @@ do
1161 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1172 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1162 # Reject names that are not valid shell variable names. 1173 # Reject names that are not valid shell variable names.
1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1164 as_fn_error "invalid feature name: $ac_useropt" 1175 as_fn_error $? "invalid feature name: $ac_useropt"
1165 ac_useropt_orig=$ac_useropt 1176 ac_useropt_orig=$ac_useropt
1166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1167 case $ac_user_opts in 1178 case $ac_user_opts in
@@ -1187,7 +1198,7 @@ do
1187 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1198 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names. 1199 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error "invalid feature name: $ac_useropt" 1201 as_fn_error $? "invalid feature name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt 1202 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1203 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in 1204 case $ac_user_opts in
@@ -1391,7 +1402,7 @@ do
1391 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1402 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1392 # Reject names that are not valid shell variable names. 1403 # Reject names that are not valid shell variable names.
1393 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1404 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1394 as_fn_error "invalid package name: $ac_useropt" 1405 as_fn_error $? "invalid package name: $ac_useropt"
1395 ac_useropt_orig=$ac_useropt 1406 ac_useropt_orig=$ac_useropt
1396 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1407 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1397 case $ac_user_opts in 1408 case $ac_user_opts in
@@ -1407,7 +1418,7 @@ do
1407 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1418 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names. 1419 # Reject names that are not valid shell variable names.
1409 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1420 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1410 as_fn_error "invalid package name: $ac_useropt" 1421 as_fn_error $? "invalid package name: $ac_useropt"
1411 ac_useropt_orig=$ac_useropt 1422 ac_useropt_orig=$ac_useropt
1412 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1423 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413 case $ac_user_opts in 1424 case $ac_user_opts in
@@ -1437,8 +1448,8 @@ do
1437 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1438 x_libraries=$ac_optarg ;; 1449 x_libraries=$ac_optarg ;;
1439 1450
1440 -*) as_fn_error "unrecognized option: \`$ac_option' 1451 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1441Try \`$0 --help' for more information." 1452Try \`$0 --help' for more information"
1442 ;; 1453 ;;
1443 1454
1444 *=*) 1455 *=*)
@@ -1446,7 +1457,7 @@ Try \`$0 --help' for more information."
1446 # Reject names that are not valid shell variable names. 1457 # Reject names that are not valid shell variable names.
1447 case $ac_envvar in #( 1458 case $ac_envvar in #(
1448 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1459 '' | [0-9]* | *[!_$as_cr_alnum]* )
1449 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1460 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1450 esac 1461 esac
1451 eval $ac_envvar=\$ac_optarg 1462 eval $ac_envvar=\$ac_optarg
1452 export $ac_envvar ;; 1463 export $ac_envvar ;;
@@ -1464,13 +1475,13 @@ done
1464 1475
1465if test -n "$ac_prev"; then 1476if test -n "$ac_prev"; then
1466 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1467 as_fn_error "missing argument to $ac_option" 1478 as_fn_error $? "missing argument to $ac_option"
1468fi 1479fi
1469 1480
1470if test -n "$ac_unrecognized_opts"; then 1481if test -n "$ac_unrecognized_opts"; then
1471 case $enable_option_checking in 1482 case $enable_option_checking in
1472 no) ;; 1483 no) ;;
1473 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1484 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1474 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1485 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1475 esac 1486 esac
1476fi 1487fi
@@ -1493,7 +1504,7 @@ do
1493 [\\/$]* | ?:[\\/]* ) continue;; 1504 [\\/$]* | ?:[\\/]* ) continue;;
1494 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1505 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1495 esac 1506 esac
1496 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1507 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1497done 1508done
1498 1509
1499# There might be people who depend on the old broken behavior: `$host' 1510# There might be people who depend on the old broken behavior: `$host'
@@ -1507,8 +1518,8 @@ target=$target_alias
1507if test "x$host_alias" != x; then 1518if test "x$host_alias" != x; then
1508 if test "x$build_alias" = x; then 1519 if test "x$build_alias" = x; then
1509 cross_compiling=maybe 1520 cross_compiling=maybe
1510 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1521 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1511 If a cross compiler is detected then cross compile mode will be used." >&2 1522 If a cross compiler is detected then cross compile mode will be used" >&2
1512 elif test "x$build_alias" != "x$host_alias"; then 1523 elif test "x$build_alias" != "x$host_alias"; then
1513 cross_compiling=yes 1524 cross_compiling=yes
1514 fi 1525 fi
@@ -1523,9 +1534,9 @@ test "$silent" = yes && exec 6>/dev/null
1523ac_pwd=`pwd` && test -n "$ac_pwd" && 1534ac_pwd=`pwd` && test -n "$ac_pwd" &&
1524ac_ls_di=`ls -di .` && 1535ac_ls_di=`ls -di .` &&
1525ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1536ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1526 as_fn_error "working directory cannot be determined" 1537 as_fn_error $? "working directory cannot be determined"
1527test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1538test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1528 as_fn_error "pwd does not report name of working directory" 1539 as_fn_error $? "pwd does not report name of working directory"
1529 1540
1530 1541
1531# Find the source files, if location was not specified. 1542# Find the source files, if location was not specified.
@@ -1564,11 +1575,11 @@ else
1564fi 1575fi
1565if test ! -r "$srcdir/$ac_unique_file"; then 1576if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1577 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1578 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1568fi 1579fi
1569ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1580ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1570ac_abs_confdir=`( 1581ac_abs_confdir=`(
1571 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1582 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1572 pwd)` 1583 pwd)`
1573# When building in place, set srcdir=. 1584# When building in place, set srcdir=.
1574if test "$ac_abs_confdir" = "$ac_pwd"; then 1585if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1594,7 +1605,7 @@ if test "$ac_init_help" = "long"; then
1594 # Omit some internal or obsolete options to make the list less imposing. 1605 # Omit some internal or obsolete options to make the list less imposing.
1595 # This message is too long to be a string in the A/UX 3.1 sh. 1606 # This message is too long to be a string in the A/UX 3.1 sh.
1596 cat <<_ACEOF 1607 cat <<_ACEOF
1597\`configure' configures eina 1.1.99.67344 to adapt to many kinds of systems. 1608\`configure' configures eina 1.2.0-alpha to adapt to many kinds of systems.
1598 1609
1599Usage: $0 [OPTION]... [VAR=VALUE]... 1610Usage: $0 [OPTION]... [VAR=VALUE]...
1600 1611
@@ -1608,7 +1619,7 @@ Configuration:
1608 --help=short display options specific to this package 1619 --help=short display options specific to this package
1609 --help=recursive display the short help of all the included packages 1620 --help=recursive display the short help of all the included packages
1610 -V, --version display version information and exit 1621 -V, --version display version information and exit
1611 -q, --quiet, --silent do not print \`checking...' messages 1622 -q, --quiet, --silent do not print \`checking ...' messages
1612 --cache-file=FILE cache test results in FILE [disabled] 1623 --cache-file=FILE cache test results in FILE [disabled]
1613 -C, --config-cache alias for \`--cache-file=config.cache' 1624 -C, --config-cache alias for \`--cache-file=config.cache'
1614 -n, --no-create do not create output files 1625 -n, --no-create do not create output files
@@ -1664,7 +1675,7 @@ fi
1664 1675
1665if test -n "$ac_init_help"; then 1676if test -n "$ac_init_help"; then
1666 case $ac_init_help in 1677 case $ac_init_help in
1667 short | recursive ) echo "Configuration of eina 1.1.99.67344:";; 1678 short | recursive ) echo "Configuration of eina 1.2.0-alpha:";;
1668 esac 1679 esac
1669 cat <<\_ACEOF 1680 cat <<\_ACEOF
1670 1681
@@ -1772,6 +1783,10 @@ Some influential environment variables:
1772 CXXFLAGS C++ compiler flags 1783 CXXFLAGS C++ compiler flags
1773 CXXCPP C++ preprocessor 1784 CXXCPP C++ preprocessor
1774 PKG_CONFIG path to pkg-config utility 1785 PKG_CONFIG path to pkg-config utility
1786 PKG_CONFIG_PATH
1787 directories to add to pkg-config's search path
1788 PKG_CONFIG_LIBDIR
1789 path overriding pkg-config's built-in search path
1775 VALGRIND_CFLAGS 1790 VALGRIND_CFLAGS
1776 C compiler flags for VALGRIND, overriding pkg-config 1791 C compiler flags for VALGRIND, overriding pkg-config
1777 VALGRIND_LIBS 1792 VALGRIND_LIBS
@@ -1785,6 +1800,9 @@ Some influential environment variables:
1785 C compiler flags for ECORE_EVAS, overriding pkg-config 1800 C compiler flags for ECORE_EVAS, overriding pkg-config
1786 ECORE_EVAS_LIBS 1801 ECORE_EVAS_LIBS
1787 linker flags for ECORE_EVAS, overriding pkg-config 1802 linker flags for ECORE_EVAS, overriding pkg-config
1803 EXOTIC_CFLAGS
1804 C compiler flags for EXOTIC, overriding pkg-config
1805 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1788 ESCAPE_CFLAGS 1806 ESCAPE_CFLAGS
1789 C compiler flags for ESCAPE, overriding pkg-config 1807 C compiler flags for ESCAPE, overriding pkg-config
1790 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config 1808 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
@@ -1860,10 +1878,10 @@ fi
1860test -n "$ac_init_help" && exit $ac_status 1878test -n "$ac_init_help" && exit $ac_status
1861if $ac_init_version; then 1879if $ac_init_version; then
1862 cat <<\_ACEOF 1880 cat <<\_ACEOF
1863eina configure 1.1.99.67344 1881eina configure 1.2.0-alpha
1864generated by GNU Autoconf 2.65 1882generated by GNU Autoconf 2.67
1865 1883
1866Copyright (C) 2009 Free Software Foundation, Inc. 1884Copyright (C) 2010 Free Software Foundation, Inc.
1867This configure script is free software; the Free Software Foundation 1885This configure script is free software; the Free Software Foundation
1868gives unlimited permission to copy, distribute and modify it. 1886gives unlimited permission to copy, distribute and modify it.
1869_ACEOF 1887_ACEOF
@@ -1933,7 +1951,7 @@ $as_echo "$ac_try_echo"; } >&5
1933 mv -f conftest.er1 conftest.err 1951 mv -f conftest.er1 conftest.err
1934 fi 1952 fi
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } >/dev/null && { 1954 test $ac_status = 0; } > conftest.i && {
1937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1938 test ! -s conftest.err 1956 test ! -s conftest.err
1939 }; then : 1957 }; then :
@@ -1957,10 +1975,10 @@ fi
1957ac_fn_c_check_header_mongrel () 1975ac_fn_c_check_header_mongrel ()
1958{ 1976{
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1978 if eval "test \"\${$3+set}\"" = set; then :
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962$as_echo_n "checking for $2... " >&6; } 1980$as_echo_n "checking for $2... " >&6; }
1963if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1981if eval "test \"\${$3+set}\"" = set; then :
1964 $as_echo_n "(cached) " >&6 1982 $as_echo_n "(cached) " >&6
1965fi 1983fi
1966eval ac_res=\$$3 1984eval ac_res=\$$3
@@ -1996,7 +2014,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1996else 2014else
1997 ac_header_preproc=no 2015 ac_header_preproc=no
1998fi 2016fi
1999rm -f conftest.err conftest.$ac_ext 2017rm -f conftest.err conftest.i conftest.$ac_ext
2000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2001$as_echo "$ac_header_preproc" >&6; } 2019$as_echo "$ac_header_preproc" >&6; }
2002 2020
@@ -2019,17 +2037,15 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2019$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2037$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2039$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022( cat <<\_ASBOX 2040( $as_echo "## -------------------------------------------------------- ##
2023## -------------------------------------------------------- ##
2024## Report this to enlightenment-devel@lists.sourceforge.net ## 2041## Report this to enlightenment-devel@lists.sourceforge.net ##
2025## -------------------------------------------------------- ## 2042## -------------------------------------------------------- ##"
2026_ASBOX
2027 ) | sed "s/^/$as_me: WARNING: /" >&2 2043 ) | sed "s/^/$as_me: WARNING: /" >&2
2028 ;; 2044 ;;
2029esac 2045esac
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2031$as_echo_n "checking for $2... " >&6; } 2047$as_echo_n "checking for $2... " >&6; }
2032if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2048if eval "test \"\${$3+set}\"" = set; then :
2033 $as_echo_n "(cached) " >&6 2049 $as_echo_n "(cached) " >&6
2034else 2050else
2035 eval "$3=\$ac_header_compiler" 2051 eval "$3=\$ac_header_compiler"
@@ -2093,7 +2109,7 @@ ac_fn_c_check_header_compile ()
2093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095$as_echo_n "checking for $2... " >&6; } 2111$as_echo_n "checking for $2... " >&6; }
2096if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2112if eval "test \"\${$3+set}\"" = set; then :
2097 $as_echo_n "(cached) " >&6 2113 $as_echo_n "(cached) " >&6
2098else 2114else
2099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2169,7 +2185,7 @@ ac_fn_c_check_func ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171$as_echo_n "checking for $2... " >&6; } 2187$as_echo_n "checking for $2... " >&6; }
2172if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2188if eval "test \"\${$3+set}\"" = set; then :
2173 $as_echo_n "(cached) " >&6 2189 $as_echo_n "(cached) " >&6
2174else 2190else
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2287,7 +2303,7 @@ $as_echo "$ac_try_echo"; } >&5
2287 mv -f conftest.er1 conftest.err 2303 mv -f conftest.er1 conftest.err
2288 fi 2304 fi
2289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290 test $ac_status = 0; } >/dev/null && { 2306 test $ac_status = 0; } > conftest.i && {
2291 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2307 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2292 test ! -s conftest.err 2308 test ! -s conftest.err
2293 }; then : 2309 }; then :
@@ -2536,7 +2552,7 @@ ac_fn_c_check_type ()
2536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2538$as_echo_n "checking for $2... " >&6; } 2554$as_echo_n "checking for $2... " >&6; }
2539if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2555if eval "test \"\${$3+set}\"" = set; then :
2540 $as_echo_n "(cached) " >&6 2556 $as_echo_n "(cached) " >&6
2541else 2557else
2542 eval "$3=no" 2558 eval "$3=no"
@@ -2584,8 +2600,8 @@ cat >config.log <<_ACEOF
2584This file contains any messages produced by compilers while 2600This file contains any messages produced by compilers while
2585running configure, to aid debugging if configure makes a mistake. 2601running configure, to aid debugging if configure makes a mistake.
2586 2602
2587It was created by eina $as_me 1.1.99.67344, which was 2603It was created by eina $as_me 1.2.0-alpha, which was
2588generated by GNU Autoconf 2.65. Invocation command line was 2604generated by GNU Autoconf 2.67. Invocation command line was
2589 2605
2590 $ $0 $@ 2606 $ $0 $@
2591 2607
@@ -2695,11 +2711,9 @@ trap 'exit_status=$?
2695 { 2711 {
2696 echo 2712 echo
2697 2713
2698 cat <<\_ASBOX 2714 $as_echo "## ---------------- ##
2699## ---------------- ##
2700## Cache variables. ## 2715## Cache variables. ##
2701## ---------------- ## 2716## ---------------- ##"
2702_ASBOX
2703 echo 2717 echo
2704 # The following way of writing the cache mishandles newlines in values, 2718 # The following way of writing the cache mishandles newlines in values,
2705( 2719(
@@ -2733,11 +2747,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2733) 2747)
2734 echo 2748 echo
2735 2749
2736 cat <<\_ASBOX 2750 $as_echo "## ----------------- ##
2737## ----------------- ##
2738## Output variables. ## 2751## Output variables. ##
2739## ----------------- ## 2752## ----------------- ##"
2740_ASBOX
2741 echo 2753 echo
2742 for ac_var in $ac_subst_vars 2754 for ac_var in $ac_subst_vars
2743 do 2755 do
@@ -2750,11 +2762,9 @@ _ASBOX
2750 echo 2762 echo
2751 2763
2752 if test -n "$ac_subst_files"; then 2764 if test -n "$ac_subst_files"; then
2753 cat <<\_ASBOX 2765 $as_echo "## ------------------- ##
2754## ------------------- ##
2755## File substitutions. ## 2766## File substitutions. ##
2756## ------------------- ## 2767## ------------------- ##"
2757_ASBOX
2758 echo 2768 echo
2759 for ac_var in $ac_subst_files 2769 for ac_var in $ac_subst_files
2760 do 2770 do
@@ -2768,11 +2778,9 @@ _ASBOX
2768 fi 2778 fi
2769 2779
2770 if test -s confdefs.h; then 2780 if test -s confdefs.h; then
2771 cat <<\_ASBOX 2781 $as_echo "## ----------- ##
2772## ----------- ##
2773## confdefs.h. ## 2782## confdefs.h. ##
2774## ----------- ## 2783## ----------- ##"
2775_ASBOX
2776 echo 2784 echo
2777 cat confdefs.h 2785 cat confdefs.h
2778 echo 2786 echo
@@ -2827,7 +2835,12 @@ _ACEOF
2827ac_site_file1=NONE 2835ac_site_file1=NONE
2828ac_site_file2=NONE 2836ac_site_file2=NONE
2829if test -n "$CONFIG_SITE"; then 2837if test -n "$CONFIG_SITE"; then
2830 ac_site_file1=$CONFIG_SITE 2838 # We do not want a PATH search for config.site.
2839 case $CONFIG_SITE in #((
2840 -*) ac_site_file1=./$CONFIG_SITE;;
2841 */*) ac_site_file1=$CONFIG_SITE;;
2842 *) ac_site_file1=./$CONFIG_SITE;;
2843 esac
2831elif test "x$prefix" != xNONE; then 2844elif test "x$prefix" != xNONE; then
2832 ac_site_file1=$prefix/share/config.site 2845 ac_site_file1=$prefix/share/config.site
2833 ac_site_file2=$prefix/etc/config.site 2846 ac_site_file2=$prefix/etc/config.site
@@ -2842,7 +2855,11 @@ do
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2855 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2843$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2856$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2844 sed 's/^/| /' "$ac_site_file" >&5 2857 sed 's/^/| /' "$ac_site_file" >&5
2845 . "$ac_site_file" 2858 . "$ac_site_file" \
2859 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2861as_fn_error $? "failed to load site script $ac_site_file
2862See \`config.log' for more details" "$LINENO" 5 ; }
2846 fi 2863 fi
2847done 2864done
2848 2865
@@ -2918,7 +2935,7 @@ if $ac_cache_corrupted; then
2918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2920$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2937$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2921 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2938 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2922fi 2939fi
2923## -------------------- ## 2940## -------------------- ##
2924## Main body of script. ## 2941## Main body of script. ##
@@ -2944,16 +2961,22 @@ am__api_version='1.11'
2944 2961
2945ac_aux_dir= 2962ac_aux_dir=
2946for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2963for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2947 for ac_t in install-sh install.sh shtool; do 2964 if test -f "$ac_dir/install-sh"; then
2948 if test -f "$ac_dir/$ac_t"; then 2965 ac_aux_dir=$ac_dir
2949 ac_aux_dir=$ac_dir 2966 ac_install_sh="$ac_aux_dir/install-sh -c"
2950 ac_install_sh="$ac_aux_dir/$ac_t -c" 2967 break
2951 break 2 2968 elif test -f "$ac_dir/install.sh"; then
2952 fi 2969 ac_aux_dir=$ac_dir
2953 done 2970 ac_install_sh="$ac_aux_dir/install.sh -c"
2971 break
2972 elif test -f "$ac_dir/shtool"; then
2973 ac_aux_dir=$ac_dir
2974 ac_install_sh="$ac_aux_dir/shtool install -c"
2975 break
2976 fi
2954done 2977done
2955if test -z "$ac_aux_dir"; then 2978if test -z "$ac_aux_dir"; then
2956 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2979 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2957fi 2980fi
2958 2981
2959# These three variables are undocumented and unsupported, 2982# These three variables are undocumented and unsupported,
@@ -3069,11 +3092,11 @@ am_lf='
3069' 3092'
3070case `pwd` in 3093case `pwd` in
3071 *[\\\"\#\$\&\'\`$am_lf]*) 3094 *[\\\"\#\$\&\'\`$am_lf]*)
3072 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 3095 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3073esac 3096esac
3074case $srcdir in 3097case $srcdir in
3075 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3098 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3076 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3099 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3077esac 3100esac
3078 3101
3079# Do `set' in a subshell so we don't clobber the current shell's 3102# Do `set' in a subshell so we don't clobber the current shell's
@@ -3095,7 +3118,7 @@ if (
3095 # if, for instance, CONFIG_SHELL is bash and it inherits a 3118 # if, for instance, CONFIG_SHELL is bash and it inherits a
3096 # broken ls alias from the environment. This has actually 3119 # broken ls alias from the environment. This has actually
3097 # happened. Such a system could not be considered "sane". 3120 # happened. Such a system could not be considered "sane".
3098 as_fn_error "ls -t appears to fail. Make sure there is not a broken 3121 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3099alias in your environment" "$LINENO" 5 3122alias in your environment" "$LINENO" 5
3100 fi 3123 fi
3101 3124
@@ -3105,7 +3128,7 @@ then
3105 # Ok. 3128 # Ok.
3106 : 3129 :
3107else 3130else
3108 as_fn_error "newly created file is older than distributed files! 3131 as_fn_error $? "newly created file is older than distributed files!
3109Check your system clock" "$LINENO" 5 3132Check your system clock" "$LINENO" 5
3110fi 3133fi
3111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -3343,7 +3366,7 @@ done
3343$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3366$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3344set x ${MAKE-make} 3367set x ${MAKE-make}
3345ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3368ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3346if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3369if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3347 $as_echo_n "(cached) " >&6 3370 $as_echo_n "(cached) " >&6
3348else 3371else
3349 cat >conftest.make <<\_ACEOF 3372 cat >conftest.make <<\_ACEOF
@@ -3351,7 +3374,7 @@ SHELL = /bin/sh
3351all: 3374all:
3352 @echo '@@@%%%=$(MAKE)=@@@%%%' 3375 @echo '@@@%%%=$(MAKE)=@@@%%%'
3353_ACEOF 3376_ACEOF
3354# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3377# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3355case `${MAKE-make} -f conftest.make 2>/dev/null` in 3378case `${MAKE-make} -f conftest.make 2>/dev/null` in
3356 *@@@%%%=?*=@@@%%%*) 3379 *@@@%%%=?*=@@@%%%*)
3357 eval ac_cv_prog_make_${ac_make}_set=yes;; 3380 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -3385,7 +3408,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
3385 am__isrc=' -I$(srcdir)' 3408 am__isrc=' -I$(srcdir)'
3386 # test to see if srcdir already configured 3409 # test to see if srcdir already configured
3387 if test -f $srcdir/config.status; then 3410 if test -f $srcdir/config.status; then
3388 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3411 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3389 fi 3412 fi
3390fi 3413fi
3391 3414
@@ -3401,7 +3424,7 @@ fi
3401 3424
3402# Define the identity of the package. 3425# Define the identity of the package.
3403 PACKAGE='eina' 3426 PACKAGE='eina'
3404 VERSION='1.1.99.67344' 3427 VERSION='1.2.0-alpha'
3405 3428
3406 3429
3407cat >>confdefs.h <<_ACEOF 3430cat >>confdefs.h <<_ACEOF
@@ -3816,8 +3839,8 @@ fi
3816 3839
3817test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3840test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3818$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3841$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3819as_fn_error "no acceptable C compiler found in \$PATH 3842as_fn_error $? "no acceptable C compiler found in \$PATH
3820See \`config.log' for more details." "$LINENO" 5; } 3843See \`config.log' for more details" "$LINENO" 5 ; }
3821 3844
3822# Provide some information about the compiler. 3845# Provide some information about the compiler.
3823$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3846$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3931,9 +3954,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3931 3954
3932{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3955{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934{ as_fn_set_status 77 3957as_fn_error 77 "C compiler cannot create executables
3935as_fn_error "C compiler cannot create executables 3958See \`config.log' for more details" "$LINENO" 5 ; }
3936See \`config.log' for more details." "$LINENO" 5; }; }
3937else 3959else
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3939$as_echo "yes" >&6; } 3961$as_echo "yes" >&6; }
@@ -3975,8 +3997,8 @@ done
3975else 3997else
3976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978as_fn_error "cannot compute suffix of executables: cannot compile and link 4000as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3979See \`config.log' for more details." "$LINENO" 5; } 4001See \`config.log' for more details" "$LINENO" 5 ; }
3980fi 4002fi
3981rm -f conftest conftest$ac_cv_exeext 4003rm -f conftest conftest$ac_cv_exeext
3982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4033,9 +4055,9 @@ $as_echo "$ac_try_echo"; } >&5
4033 else 4055 else
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4057$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036as_fn_error "cannot run C compiled programs. 4058as_fn_error $? "cannot run C compiled programs.
4037If you meant to cross compile, use \`--host'. 4059If you meant to cross compile, use \`--host'.
4038See \`config.log' for more details." "$LINENO" 5; } 4060See \`config.log' for more details" "$LINENO" 5 ; }
4039 fi 4061 fi
4040 fi 4062 fi
4041fi 4063fi
@@ -4086,8 +4108,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4086 4108
4087{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4109{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4110$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089as_fn_error "cannot compute suffix of object files: cannot compile 4111as_fn_error $? "cannot compute suffix of object files: cannot compile
4090See \`config.log' for more details." "$LINENO" 5; } 4112See \`config.log' for more details" "$LINENO" 5 ; }
4091fi 4113fi
4092rm -f conftest.$ac_cv_objext conftest.$ac_ext 4114rm -f conftest.$ac_cv_objext conftest.$ac_ext
4093fi 4115fi
@@ -4477,7 +4499,7 @@ else
4477 # Broken: fails on valid input. 4499 # Broken: fails on valid input.
4478continue 4500continue
4479fi 4501fi
4480rm -f conftest.err conftest.$ac_ext 4502rm -f conftest.err conftest.i conftest.$ac_ext
4481 4503
4482 # OK, works on sane cases. Now check whether nonexistent headers 4504 # OK, works on sane cases. Now check whether nonexistent headers
4483 # can be detected and how. 4505 # can be detected and how.
@@ -4493,11 +4515,11 @@ else
4493ac_preproc_ok=: 4515ac_preproc_ok=:
4494break 4516break
4495fi 4517fi
4496rm -f conftest.err conftest.$ac_ext 4518rm -f conftest.err conftest.i conftest.$ac_ext
4497 4519
4498done 4520done
4499# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4521# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4500rm -f conftest.err conftest.$ac_ext 4522rm -f conftest.i conftest.err conftest.$ac_ext
4501if $ac_preproc_ok; then : 4523if $ac_preproc_ok; then :
4502 break 4524 break
4503fi 4525fi
@@ -4536,7 +4558,7 @@ else
4536 # Broken: fails on valid input. 4558 # Broken: fails on valid input.
4537continue 4559continue
4538fi 4560fi
4539rm -f conftest.err conftest.$ac_ext 4561rm -f conftest.err conftest.i conftest.$ac_ext
4540 4562
4541 # OK, works on sane cases. Now check whether nonexistent headers 4563 # OK, works on sane cases. Now check whether nonexistent headers
4542 # can be detected and how. 4564 # can be detected and how.
@@ -4552,18 +4574,18 @@ else
4552ac_preproc_ok=: 4574ac_preproc_ok=:
4553break 4575break
4554fi 4576fi
4555rm -f conftest.err conftest.$ac_ext 4577rm -f conftest.err conftest.i conftest.$ac_ext
4556 4578
4557done 4579done
4558# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4580# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4559rm -f conftest.err conftest.$ac_ext 4581rm -f conftest.i conftest.err conftest.$ac_ext
4560if $ac_preproc_ok; then : 4582if $ac_preproc_ok; then :
4561 4583
4562else 4584else
4563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4564$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4565as_fn_error "C preprocessor \"$CPP\" fails sanity check 4587as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4566See \`config.log' for more details." "$LINENO" 5; } 4588See \`config.log' for more details" "$LINENO" 5 ; }
4567fi 4589fi
4568 4590
4569ac_ext=c 4591ac_ext=c
@@ -4624,7 +4646,7 @@ esac
4624 done 4646 done
4625IFS=$as_save_IFS 4647IFS=$as_save_IFS
4626 if test -z "$ac_cv_path_GREP"; then 4648 if test -z "$ac_cv_path_GREP"; then
4627 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4649 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628 fi 4650 fi
4629else 4651else
4630 ac_cv_path_GREP=$GREP 4652 ac_cv_path_GREP=$GREP
@@ -4690,7 +4712,7 @@ esac
4690 done 4712 done
4691IFS=$as_save_IFS 4713IFS=$as_save_IFS
4692 if test -z "$ac_cv_path_EGREP"; then 4714 if test -z "$ac_cv_path_EGREP"; then
4693 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4715 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4694 fi 4716 fi
4695else 4717else
4696 ac_cv_path_EGREP=$EGREP 4718 ac_cv_path_EGREP=$EGREP
@@ -4822,8 +4844,7 @@ do :
4822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4823ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4845ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4824" 4846"
4825eval as_val=\$$as_ac_Header 4847if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4826 if test "x$as_val" = x""yes; then :
4827 cat >>confdefs.h <<_ACEOF 4848 cat >>confdefs.h <<_ACEOF
4828#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4849#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4829_ACEOF 4850_ACEOF
@@ -5096,7 +5117,7 @@ fi
5096 5117
5097# Make sure we can run config.sub. 5118# Make sure we can run config.sub.
5098$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5119$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5099 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5120 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5100 5121
5101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5102$as_echo_n "checking build system type... " >&6; } 5123$as_echo_n "checking build system type... " >&6; }
@@ -5107,16 +5128,16 @@ else
5107test "x$ac_build_alias" = x && 5128test "x$ac_build_alias" = x &&
5108 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5109test "x$ac_build_alias" = x && 5130test "x$ac_build_alias" = x &&
5110 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 5131 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5111ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5132ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5112 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5133 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5113 5134
5114fi 5135fi
5115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5116$as_echo "$ac_cv_build" >&6; } 5137$as_echo "$ac_cv_build" >&6; }
5117case $ac_cv_build in 5138case $ac_cv_build in
5118*-*-*) ;; 5139*-*-*) ;;
5119*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 5140*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5120esac 5141esac
5121build=$ac_cv_build 5142build=$ac_cv_build
5122ac_save_IFS=$IFS; IFS='-' 5143ac_save_IFS=$IFS; IFS='-'
@@ -5141,7 +5162,7 @@ else
5141 ac_cv_host=$ac_cv_build 5162 ac_cv_host=$ac_cv_build
5142else 5163else
5143 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5164 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5144 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5165 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5145fi 5166fi
5146 5167
5147fi 5168fi
@@ -5149,7 +5170,7 @@ fi
5149$as_echo "$ac_cv_host" >&6; } 5170$as_echo "$ac_cv_host" >&6; }
5150case $ac_cv_host in 5171case $ac_cv_host in
5151*-*-*) ;; 5172*-*-*) ;;
5152*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 5173*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5153esac 5174esac
5154host=$ac_cv_host 5175host=$ac_cv_host
5155ac_save_IFS=$IFS; IFS='-' 5176ac_save_IFS=$IFS; IFS='-'
@@ -5550,7 +5571,7 @@ esac
5550 done 5571 done
5551IFS=$as_save_IFS 5572IFS=$as_save_IFS
5552 if test -z "$ac_cv_path_SED"; then 5573 if test -z "$ac_cv_path_SED"; then
5553 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 5574 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5554 fi 5575 fi
5555else 5576else
5556 ac_cv_path_SED=$SED 5577 ac_cv_path_SED=$SED
@@ -5629,7 +5650,7 @@ esac
5629 done 5650 done
5630IFS=$as_save_IFS 5651IFS=$as_save_IFS
5631 if test -z "$ac_cv_path_FGREP"; then 5652 if test -z "$ac_cv_path_FGREP"; then
5632 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5653 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5633 fi 5654 fi
5634else 5655else
5635 ac_cv_path_FGREP=$FGREP 5656 ac_cv_path_FGREP=$FGREP
@@ -5745,7 +5766,7 @@ else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746$as_echo "no" >&6; } 5767$as_echo "no" >&6; }
5747fi 5768fi
5748test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 5769test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5750$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5771$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5751if test "${lt_cv_prog_gnu_ld+set}" = set; then : 5772if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -5947,13 +5968,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
5947else 5968else
5948 lt_cv_nm_interface="BSD nm" 5969 lt_cv_nm_interface="BSD nm"
5949 echo "int some_variable = 0;" > conftest.$ac_ext 5970 echo "int some_variable = 0;" > conftest.$ac_ext
5950 (eval echo "\"\$as_me:5950: $ac_compile\"" >&5) 5971 (eval echo "\"\$as_me:5971: $ac_compile\"" >&5)
5951 (eval "$ac_compile" 2>conftest.err) 5972 (eval "$ac_compile" 2>conftest.err)
5952 cat conftest.err >&5 5973 cat conftest.err >&5
5953 (eval echo "\"\$as_me:5953: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5974 (eval echo "\"\$as_me:5974: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5954 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5975 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5955 cat conftest.err >&5 5976 cat conftest.err >&5
5956 (eval echo "\"\$as_me:5956: output\"" >&5) 5977 (eval echo "\"\$as_me:5977: output\"" >&5)
5957 cat conftest.out >&5 5978 cat conftest.out >&5
5958 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5979 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5959 lt_cv_nm_interface="MS dumpbin" 5980 lt_cv_nm_interface="MS dumpbin"
@@ -7155,7 +7176,7 @@ ia64-*-hpux*)
7155 ;; 7176 ;;
7156*-*-irix6*) 7177*-*-irix6*)
7157 # Find out which ABI we are using. 7178 # Find out which ABI we are using.
7158 echo '#line 7158 "configure"' > conftest.$ac_ext 7179 echo '#line 7179 "configure"' > conftest.$ac_ext
7159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7160 (eval $ac_compile) 2>&5 7181 (eval $ac_compile) 2>&5
7161 ac_status=$? 7182 ac_status=$?
@@ -8415,11 +8436,11 @@ else
8415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8417 -e 's:$: $lt_compiler_flag:'` 8438 -e 's:$: $lt_compiler_flag:'`
8418 (eval echo "\"\$as_me:8418: $lt_compile\"" >&5) 8439 (eval echo "\"\$as_me:8439: $lt_compile\"" >&5)
8419 (eval "$lt_compile" 2>conftest.err) 8440 (eval "$lt_compile" 2>conftest.err)
8420 ac_status=$? 8441 ac_status=$?
8421 cat conftest.err >&5 8442 cat conftest.err >&5
8422 echo "$as_me:8422: \$? = $ac_status" >&5 8443 echo "$as_me:8443: \$? = $ac_status" >&5
8423 if (exit $ac_status) && test -s "$ac_outfile"; then 8444 if (exit $ac_status) && test -s "$ac_outfile"; then
8424 # The compiler can only warn and ignore the option if not recognized 8445 # The compiler can only warn and ignore the option if not recognized
8425 # So say no if there are warnings other than the usual output. 8446 # So say no if there are warnings other than the usual output.
@@ -8754,11 +8775,11 @@ else
8754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8756 -e 's:$: $lt_compiler_flag:'` 8777 -e 's:$: $lt_compiler_flag:'`
8757 (eval echo "\"\$as_me:8757: $lt_compile\"" >&5) 8778 (eval echo "\"\$as_me:8778: $lt_compile\"" >&5)
8758 (eval "$lt_compile" 2>conftest.err) 8779 (eval "$lt_compile" 2>conftest.err)
8759 ac_status=$? 8780 ac_status=$?
8760 cat conftest.err >&5 8781 cat conftest.err >&5
8761 echo "$as_me:8761: \$? = $ac_status" >&5 8782 echo "$as_me:8782: \$? = $ac_status" >&5
8762 if (exit $ac_status) && test -s "$ac_outfile"; then 8783 if (exit $ac_status) && test -s "$ac_outfile"; then
8763 # The compiler can only warn and ignore the option if not recognized 8784 # The compiler can only warn and ignore the option if not recognized
8764 # So say no if there are warnings other than the usual output. 8785 # So say no if there are warnings other than the usual output.
@@ -8859,11 +8880,11 @@ else
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'` 8882 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:8862: $lt_compile\"" >&5) 8883 (eval echo "\"\$as_me:8883: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>out/conftest.err) 8884 (eval "$lt_compile" 2>out/conftest.err)
8864 ac_status=$? 8885 ac_status=$?
8865 cat out/conftest.err >&5 8886 cat out/conftest.err >&5
8866 echo "$as_me:8866: \$? = $ac_status" >&5 8887 echo "$as_me:8887: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8868 then 8889 then
8869 # The compiler can only warn and ignore the option if not recognized 8890 # The compiler can only warn and ignore the option if not recognized
@@ -8914,11 +8935,11 @@ else
8914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8916 -e 's:$: $lt_compiler_flag:'` 8937 -e 's:$: $lt_compiler_flag:'`
8917 (eval echo "\"\$as_me:8917: $lt_compile\"" >&5) 8938 (eval echo "\"\$as_me:8938: $lt_compile\"" >&5)
8918 (eval "$lt_compile" 2>out/conftest.err) 8939 (eval "$lt_compile" 2>out/conftest.err)
8919 ac_status=$? 8940 ac_status=$?
8920 cat out/conftest.err >&5 8941 cat out/conftest.err >&5
8921 echo "$as_me:8921: \$? = $ac_status" >&5 8942 echo "$as_me:8942: \$? = $ac_status" >&5
8922 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8943 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8923 then 8944 then
8924 # The compiler can only warn and ignore the option if not recognized 8945 # The compiler can only warn and ignore the option if not recognized
@@ -11298,7 +11319,7 @@ else
11298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11319 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11299 lt_status=$lt_dlunknown 11320 lt_status=$lt_dlunknown
11300 cat > conftest.$ac_ext <<_LT_EOF 11321 cat > conftest.$ac_ext <<_LT_EOF
11301#line 11301 "configure" 11322#line 11322 "configure"
11302#include "confdefs.h" 11323#include "confdefs.h"
11303 11324
11304#if HAVE_DLFCN_H 11325#if HAVE_DLFCN_H
@@ -11394,7 +11415,7 @@ else
11394 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11415 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11395 lt_status=$lt_dlunknown 11416 lt_status=$lt_dlunknown
11396 cat > conftest.$ac_ext <<_LT_EOF 11417 cat > conftest.$ac_ext <<_LT_EOF
11397#line 11397 "configure" 11418#line 11418 "configure"
11398#include "confdefs.h" 11419#include "confdefs.h"
11399 11420
11400#if HAVE_DLFCN_H 11421#if HAVE_DLFCN_H
@@ -11633,20 +11654,20 @@ _ACEOF
11633 11654
11634 11655
11635cat >>confdefs.h <<_ACEOF 11656cat >>confdefs.h <<_ACEOF
11636#define VMIN 1 11657#define VMIN 2
11637_ACEOF 11658_ACEOF
11638 11659
11639 11660
11640cat >>confdefs.h <<_ACEOF 11661cat >>confdefs.h <<_ACEOF
11641#define VMIC 99 11662#define VMIC 0
11642_ACEOF 11663_ACEOF
11643 11664
11644 11665
11645cat >>confdefs.h <<_ACEOF 11666cat >>confdefs.h <<_ACEOF
11646#define VREV 67344 11667#define VREV 0
11647_ACEOF 11668_ACEOF
11648 11669
11649version_info="2:99:1" 11670version_info="3:0:2"
11650release_info="" 11671release_info=""
11651 11672
11652 11673
@@ -11668,7 +11689,7 @@ case "$host_os" in
11668 MODULE_ARCH="$host_os-$host_cpu" 11689 MODULE_ARCH="$host_os-$host_cpu"
11669 ;; 11690 ;;
11670 *) 11691 *)
11671 MODULE_ARCH="$host_os-$host_cpu-1.1.99" 11692 MODULE_ARCH="$host_os-$host_cpu-1.2.0"
11672 ;; 11693 ;;
11673esac 11694esac
11674 11695
@@ -12166,7 +12187,7 @@ if test "x${_efl_enable_win32_threads}" = "xyes" ; then
12166 mingw*) 12187 mingw*)
12167 ;; 12188 ;;
12168 *) 12189 *)
12169 as_fn_error "Win32 threads support requested but non Windows system found." "$LINENO" 5 12190 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
12170 ;; 12191 ;;
12171 esac 12192 esac
12172fi 12193fi
@@ -12174,7 +12195,7 @@ fi
12174if test "x${_efl_enable_posix_threads}" = "xyes" ; then 12195if test "x${_efl_enable_posix_threads}" = "xyes" ; then
12175 case "$host_os" in 12196 case "$host_os" in
12176 mingw*) 12197 mingw*)
12177 as_fn_error "POSIX threads support requested but Windows system found." "$LINENO" 5 12198 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
12178 ;; 12199 ;;
12179 *) 12200 *)
12180 ;; 12201 ;;
@@ -12237,7 +12258,7 @@ $as_echo_n "checking whether system support POSIX threads... " >&6; }
12237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5 12258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
12238$as_echo "${_efl_have_posix_threads}" >&6; } 12259$as_echo "${_efl_have_posix_threads}" >&6; }
12239if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then 12260if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
12240 as_fn_error "POSIX threads support requested but not found." "$LINENO" 5 12261 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
12241fi 12262fi
12242 12263
12243EFL_PTHREAD_CFLAGS="" 12264EFL_PTHREAD_CFLAGS=""
@@ -12498,7 +12519,7 @@ _ACEOF
12498 12519
12499 with_max_log_level="${withval}" 12520 with_max_log_level="${withval}"
12500 else 12521 else
12501 as_fn_error "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5 12522 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
12502 fi 12523 fi
12503 fi 12524 fi
12504 12525
@@ -12912,8 +12933,8 @@ fi
12912 12933
12913test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12934test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12914$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12915as_fn_error "no acceptable C compiler found in \$PATH 12936as_fn_error $? "no acceptable C compiler found in \$PATH
12916See \`config.log' for more details." "$LINENO" 5; } 12937See \`config.log' for more details" "$LINENO" 5 ; }
12917 12938
12918# Provide some information about the compiler. 12939# Provide some information about the compiler.
12919$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 12940$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -14089,7 +14110,7 @@ else
14089 # Broken: fails on valid input. 14110 # Broken: fails on valid input.
14090continue 14111continue
14091fi 14112fi
14092rm -f conftest.err conftest.$ac_ext 14113rm -f conftest.err conftest.i conftest.$ac_ext
14093 14114
14094 # OK, works on sane cases. Now check whether nonexistent headers 14115 # OK, works on sane cases. Now check whether nonexistent headers
14095 # can be detected and how. 14116 # can be detected and how.
@@ -14105,11 +14126,11 @@ else
14105ac_preproc_ok=: 14126ac_preproc_ok=:
14106break 14127break
14107fi 14128fi
14108rm -f conftest.err conftest.$ac_ext 14129rm -f conftest.err conftest.i conftest.$ac_ext
14109 14130
14110done 14131done
14111# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14132# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14112rm -f conftest.err conftest.$ac_ext 14133rm -f conftest.i conftest.err conftest.$ac_ext
14113if $ac_preproc_ok; then : 14134if $ac_preproc_ok; then :
14114 break 14135 break
14115fi 14136fi
@@ -14148,7 +14169,7 @@ else
14148 # Broken: fails on valid input. 14169 # Broken: fails on valid input.
14149continue 14170continue
14150fi 14171fi
14151rm -f conftest.err conftest.$ac_ext 14172rm -f conftest.err conftest.i conftest.$ac_ext
14152 14173
14153 # OK, works on sane cases. Now check whether nonexistent headers 14174 # OK, works on sane cases. Now check whether nonexistent headers
14154 # can be detected and how. 14175 # can be detected and how.
@@ -14164,11 +14185,11 @@ else
14164ac_preproc_ok=: 14185ac_preproc_ok=:
14165break 14186break
14166fi 14187fi
14167rm -f conftest.err conftest.$ac_ext 14188rm -f conftest.err conftest.i conftest.$ac_ext
14168 14189
14169done 14190done
14170# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14191# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14171rm -f conftest.err conftest.$ac_ext 14192rm -f conftest.i conftest.err conftest.$ac_ext
14172if $ac_preproc_ok; then : 14193if $ac_preproc_ok; then :
14173 14194
14174else 14195else
@@ -14397,7 +14418,7 @@ else
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14398$as_echo "no" >&6; } 14419$as_echo "no" >&6; }
14399fi 14420fi
14400test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 14421test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14402$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14423$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14403if test "${lt_cv_prog_gnu_ld+set}" = set; then : 14424if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -15938,11 +15959,11 @@ else
15938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15940 -e 's:$: $lt_compiler_flag:'` 15961 -e 's:$: $lt_compiler_flag:'`
15941 (eval echo "\"\$as_me:15941: $lt_compile\"" >&5) 15962 (eval echo "\"\$as_me:15962: $lt_compile\"" >&5)
15942 (eval "$lt_compile" 2>conftest.err) 15963 (eval "$lt_compile" 2>conftest.err)
15943 ac_status=$? 15964 ac_status=$?
15944 cat conftest.err >&5 15965 cat conftest.err >&5
15945 echo "$as_me:15945: \$? = $ac_status" >&5 15966 echo "$as_me:15966: \$? = $ac_status" >&5
15946 if (exit $ac_status) && test -s "$ac_outfile"; then 15967 if (exit $ac_status) && test -s "$ac_outfile"; then
15947 # The compiler can only warn and ignore the option if not recognized 15968 # The compiler can only warn and ignore the option if not recognized
15948 # So say no if there are warnings other than the usual output. 15969 # So say no if there are warnings other than the usual output.
@@ -16037,11 +16058,11 @@ else
16037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16039 -e 's:$: $lt_compiler_flag:'` 16060 -e 's:$: $lt_compiler_flag:'`
16040 (eval echo "\"\$as_me:16040: $lt_compile\"" >&5) 16061 (eval echo "\"\$as_me:16061: $lt_compile\"" >&5)
16041 (eval "$lt_compile" 2>out/conftest.err) 16062 (eval "$lt_compile" 2>out/conftest.err)
16042 ac_status=$? 16063 ac_status=$?
16043 cat out/conftest.err >&5 16064 cat out/conftest.err >&5
16044 echo "$as_me:16044: \$? = $ac_status" >&5 16065 echo "$as_me:16065: \$? = $ac_status" >&5
16045 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16066 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16046 then 16067 then
16047 # The compiler can only warn and ignore the option if not recognized 16068 # The compiler can only warn and ignore the option if not recognized
@@ -16089,11 +16110,11 @@ else
16089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 16110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16091 -e 's:$: $lt_compiler_flag:'` 16112 -e 's:$: $lt_compiler_flag:'`
16092 (eval echo "\"\$as_me:16092: $lt_compile\"" >&5) 16113 (eval echo "\"\$as_me:16113: $lt_compile\"" >&5)
16093 (eval "$lt_compile" 2>out/conftest.err) 16114 (eval "$lt_compile" 2>out/conftest.err)
16094 ac_status=$? 16115 ac_status=$?
16095 cat out/conftest.err >&5 16116 cat out/conftest.err >&5
16096 echo "$as_me:16096: \$? = $ac_status" >&5 16117 echo "$as_me:16117: \$? = $ac_status" >&5
16097 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16118 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16098 then 16119 then
16099 # The compiler can only warn and ignore the option if not recognized 16120 # The compiler can only warn and ignore the option if not recognized
@@ -17041,6 +17062,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
17041# pkg-config 17062# pkg-config
17042 17063
17043 17064
17065
17066
17067
17068
17044if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 17069if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17045 if test -n "$ac_tool_prefix"; then 17070 if test -n "$ac_tool_prefix"; then
17046 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 17071 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -17153,7 +17178,6 @@ $as_echo "yes" >&6; }
17153$as_echo "no" >&6; } 17178$as_echo "no" >&6; }
17154 PKG_CONFIG="" 17179 PKG_CONFIG=""
17155 fi 17180 fi
17156
17157fi 17181fi
17158 17182
17159# Check whether pkg-config supports Requires.private 17183# Check whether pkg-config supports Requires.private
@@ -17349,11 +17373,10 @@ pkg_failed=no
17349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 17373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
17350$as_echo_n "checking for VALGRIND... " >&6; } 17374$as_echo_n "checking for VALGRIND... " >&6; }
17351 17375
17352if test -n "$PKG_CONFIG"; then 17376if test -n "$VALGRIND_CFLAGS"; then
17353 if test -n "$VALGRIND_CFLAGS"; then 17377 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
17354 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" 17378 elif test -n "$PKG_CONFIG"; then
17355 else 17379 if test -n "$PKG_CONFIG" && \
17356 if test -n "$PKG_CONFIG" && \
17357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5 17380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
17358 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5 17381 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
17359 ac_status=$? 17382 ac_status=$?
@@ -17363,15 +17386,13 @@ if test -n "$PKG_CONFIG"; then
17363else 17386else
17364 pkg_failed=yes 17387 pkg_failed=yes
17365fi 17388fi
17366 fi 17389 else
17367else 17390 pkg_failed=untried
17368 pkg_failed=untried
17369fi 17391fi
17370if test -n "$PKG_CONFIG"; then 17392if test -n "$VALGRIND_LIBS"; then
17371 if test -n "$VALGRIND_LIBS"; then 17393 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
17372 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" 17394 elif test -n "$PKG_CONFIG"; then
17373 else 17395 if test -n "$PKG_CONFIG" && \
17374 if test -n "$PKG_CONFIG" && \
17375 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5 17396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
17376 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5 17397 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
17377 ac_status=$? 17398 ac_status=$?
@@ -17381,14 +17402,15 @@ if test -n "$PKG_CONFIG"; then
17381else 17402else
17382 pkg_failed=yes 17403 pkg_failed=yes
17383fi 17404fi
17384 fi 17405 else
17385else 17406 pkg_failed=untried
17386 pkg_failed=untried
17387fi 17407fi
17388 17408
17389 17409
17390 17410
17391if test $pkg_failed = yes; then 17411if test $pkg_failed = yes; then
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17413$as_echo "no" >&6; }
17392 17414
17393if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17415if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17394 _pkg_short_errors_supported=yes 17416 _pkg_short_errors_supported=yes
@@ -17396,30 +17418,30 @@ else
17396 _pkg_short_errors_supported=no 17418 _pkg_short_errors_supported=no
17397fi 17419fi
17398 if test $_pkg_short_errors_supported = yes; then 17420 if test $_pkg_short_errors_supported = yes; then
17399 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= 2.4.0"` 17421 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
17400 else 17422 else
17401 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= 2.4.0"` 17423 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
17402 fi 17424 fi
17403 # Put the nasty error message in config.log where it belongs 17425 # Put the nasty error message in config.log where it belongs
17404 echo "$VALGRIND_PKG_ERRORS" >&5 17426 echo "$VALGRIND_PKG_ERRORS" >&5
17405 17427
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17407$as_echo "no" >&6; }
17408 17428
17409 17429
17410$as_echo "#define NVALGRIND 1" >>confdefs.h 17430$as_echo "#define NVALGRIND 1" >>confdefs.h
17411 17431
17412 if test "x${want_valgrind}" = "xyes"; then 17432 if test "x${want_valgrind}" = "xyes"; then
17413 as_fn_error "Valgrind >= 2.4.0 is required" "$LINENO" 5 17433 as_fn_error $? "Valgrind >= 2.4.0 is required" "$LINENO" 5
17414 fi 17434 fi
17415 17435
17416elif test $pkg_failed = untried; then 17436elif test $pkg_failed = untried; then
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17438$as_echo "no" >&6; }
17417 17439
17418 17440
17419$as_echo "#define NVALGRIND 1" >>confdefs.h 17441$as_echo "#define NVALGRIND 1" >>confdefs.h
17420 17442
17421 if test "x${want_valgrind}" = "xyes"; then 17443 if test "x${want_valgrind}" = "xyes"; then
17422 as_fn_error "Valgrind >= 2.4.0 is required" "$LINENO" 5 17444 as_fn_error $? "Valgrind >= 2.4.0 is required" "$LINENO" 5
17423 fi 17445 fi
17424 17446
17425else 17447else
@@ -17449,11 +17471,10 @@ pkg_failed=no
17449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5 17471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
17450$as_echo_n "checking for EVIL... " >&6; } 17472$as_echo_n "checking for EVIL... " >&6; }
17451 17473
17452if test -n "$PKG_CONFIG"; then 17474if test -n "$EVIL_CFLAGS"; then
17453 if test -n "$EVIL_CFLAGS"; then 17475 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
17454 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS" 17476 elif test -n "$PKG_CONFIG"; then
17455 else 17477 if test -n "$PKG_CONFIG" && \
17456 if test -n "$PKG_CONFIG" && \
17457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 17478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17458 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 17479 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17459 ac_status=$? 17480 ac_status=$?
@@ -17463,15 +17484,13 @@ if test -n "$PKG_CONFIG"; then
17463else 17484else
17464 pkg_failed=yes 17485 pkg_failed=yes
17465fi 17486fi
17466 fi 17487 else
17467else 17488 pkg_failed=untried
17468 pkg_failed=untried
17469fi 17489fi
17470if test -n "$PKG_CONFIG"; then 17490if test -n "$EVIL_LIBS"; then
17471 if test -n "$EVIL_LIBS"; then 17491 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
17472 pkg_cv_EVIL_LIBS="$EVIL_LIBS" 17492 elif test -n "$PKG_CONFIG"; then
17473 else 17493 if test -n "$PKG_CONFIG" && \
17474 if test -n "$PKG_CONFIG" && \
17475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 17494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17476 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 17495 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17477 ac_status=$? 17496 ac_status=$?
@@ -17481,14 +17500,15 @@ if test -n "$PKG_CONFIG"; then
17481else 17500else
17482 pkg_failed=yes 17501 pkg_failed=yes
17483fi 17502fi
17484 fi 17503 else
17485else 17504 pkg_failed=untried
17486 pkg_failed=untried
17487fi 17505fi
17488 17506
17489 17507
17490 17508
17491if test $pkg_failed = yes; then 17509if test $pkg_failed = yes; then
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17511$as_echo "no" >&6; }
17492 17512
17493if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17513if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17494 _pkg_short_errors_supported=yes 17514 _pkg_short_errors_supported=yes
@@ -17496,14 +17516,14 @@ else
17496 _pkg_short_errors_supported=no 17516 _pkg_short_errors_supported=no
17497fi 17517fi
17498 if test $_pkg_short_errors_supported = yes; then 17518 if test $_pkg_short_errors_supported = yes; then
17499 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil >= 1.0.0"` 17519 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
17500 else 17520 else
17501 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil >= 1.0.0"` 17521 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
17502 fi 17522 fi
17503 # Put the nasty error message in config.log where it belongs 17523 # Put the nasty error message in config.log where it belongs
17504 echo "$EVIL_PKG_ERRORS" >&5 17524 echo "$EVIL_PKG_ERRORS" >&5
17505 17525
17506 as_fn_error "Package requirements (evil >= 1.0.0) were not met: 17526 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
17507 17527
17508$EVIL_PKG_ERRORS 17528$EVIL_PKG_ERRORS
17509 17529
@@ -17512,12 +17532,13 @@ installed software in a non-standard prefix.
17512 17532
17513Alternatively, you may set the environment variables EVIL_CFLAGS 17533Alternatively, you may set the environment variables EVIL_CFLAGS
17514and EVIL_LIBS to avoid the need to call pkg-config. 17534and EVIL_LIBS to avoid the need to call pkg-config.
17515See the pkg-config man page for more details. 17535See the pkg-config man page for more details." "$LINENO" 5
17516" "$LINENO" 5
17517elif test $pkg_failed = untried; then 17536elif test $pkg_failed = untried; then
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17538$as_echo "no" >&6; }
17518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17519$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17520as_fn_error "The pkg-config script could not be found or is too old. Make sure it 17541as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17521is in your PATH or set the PKG_CONFIG environment variable to the full 17542is in your PATH or set the PKG_CONFIG environment variable to the full
17522path to pkg-config. 17543path to pkg-config.
17523 17544
@@ -17526,18 +17547,18 @@ and EVIL_LIBS to avoid the need to call pkg-config.
17526See the pkg-config man page for more details. 17547See the pkg-config man page for more details.
17527 17548
17528To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17549To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17529See \`config.log' for more details." "$LINENO" 5; } 17550See \`config.log' for more details" "$LINENO" 5 ; }
17530else 17551else
17531 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS 17552 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
17532 EVIL_LIBS=$pkg_cv_EVIL_LIBS 17553 EVIL_LIBS=$pkg_cv_EVIL_LIBS
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17534$as_echo "yes" >&6; } 17555$as_echo "yes" >&6; }
17535 : 17556
17536fi 17557fi
17537 17558
17538$as_echo "#define HAVE_EVIL 1" >>confdefs.h 17559$as_echo "#define HAVE_EVIL 1" >>confdefs.h
17539 17560
17540 requirement_eina="evil" 17561 requirement_eina="${requirement_eina} evil"
17541 EFL_EINA_BUILD="-DEFL_EINA_BUILD" 17562 EFL_EINA_BUILD="-DEFL_EINA_BUILD"
17542 ;; 17563 ;;
17543esac 17564esac
@@ -17570,11 +17591,10 @@ pkg_failed=no
17570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMEMOA" >&5 17591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMEMOA" >&5
17571$as_echo_n "checking for EMEMOA... " >&6; } 17592$as_echo_n "checking for EMEMOA... " >&6; }
17572 17593
17573if test -n "$PKG_CONFIG"; then 17594if test -n "$EMEMOA_CFLAGS"; then
17574 if test -n "$EMEMOA_CFLAGS"; then 17595 pkg_cv_EMEMOA_CFLAGS="$EMEMOA_CFLAGS"
17575 pkg_cv_EMEMOA_CFLAGS="$EMEMOA_CFLAGS" 17596 elif test -n "$PKG_CONFIG"; then
17576 else 17597 if test -n "$PKG_CONFIG" && \
17577 if test -n "$PKG_CONFIG" && \
17578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ememoa >= 0.0.26 \""; } >&5 17598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ememoa >= 0.0.26 \""; } >&5
17579 ($PKG_CONFIG --exists --print-errors "ememoa >= 0.0.26 ") 2>&5 17599 ($PKG_CONFIG --exists --print-errors "ememoa >= 0.0.26 ") 2>&5
17580 ac_status=$? 17600 ac_status=$?
@@ -17584,15 +17604,13 @@ if test -n "$PKG_CONFIG"; then
17584else 17604else
17585 pkg_failed=yes 17605 pkg_failed=yes
17586fi 17606fi
17587 fi 17607 else
17588else 17608 pkg_failed=untried
17589 pkg_failed=untried
17590fi 17609fi
17591if test -n "$PKG_CONFIG"; then 17610if test -n "$EMEMOA_LIBS"; then
17592 if test -n "$EMEMOA_LIBS"; then 17611 pkg_cv_EMEMOA_LIBS="$EMEMOA_LIBS"
17593 pkg_cv_EMEMOA_LIBS="$EMEMOA_LIBS" 17612 elif test -n "$PKG_CONFIG"; then
17594 else 17613 if test -n "$PKG_CONFIG" && \
17595 if test -n "$PKG_CONFIG" && \
17596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ememoa >= 0.0.26 \""; } >&5 17614 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ememoa >= 0.0.26 \""; } >&5
17597 ($PKG_CONFIG --exists --print-errors "ememoa >= 0.0.26 ") 2>&5 17615 ($PKG_CONFIG --exists --print-errors "ememoa >= 0.0.26 ") 2>&5
17598 ac_status=$? 17616 ac_status=$?
@@ -17602,14 +17620,15 @@ if test -n "$PKG_CONFIG"; then
17602else 17620else
17603 pkg_failed=yes 17621 pkg_failed=yes
17604fi 17622fi
17605 fi 17623 else
17606else 17624 pkg_failed=untried
17607 pkg_failed=untried
17608fi 17625fi
17609 17626
17610 17627
17611 17628
17612if test $pkg_failed = yes; then 17629if test $pkg_failed = yes; then
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17631$as_echo "no" >&6; }
17613 17632
17614if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17633if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17615 _pkg_short_errors_supported=yes 17634 _pkg_short_errors_supported=yes
@@ -17617,17 +17636,17 @@ else
17617 _pkg_short_errors_supported=no 17636 _pkg_short_errors_supported=no
17618fi 17637fi
17619 if test $_pkg_short_errors_supported = yes; then 17638 if test $_pkg_short_errors_supported = yes; then
17620 EMEMOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ememoa >= 0.0.26 "` 17639 EMEMOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ememoa >= 0.0.26 " 2>&1`
17621 else 17640 else
17622 EMEMOA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ememoa >= 0.0.26 "` 17641 EMEMOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "ememoa >= 0.0.26 " 2>&1`
17623 fi 17642 fi
17624 # Put the nasty error message in config.log where it belongs 17643 # Put the nasty error message in config.log where it belongs
17625 echo "$EMEMOA_PKG_ERRORS" >&5 17644 echo "$EMEMOA_PKG_ERRORS" >&5
17626 17645
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17646 enable_ememoa="no"
17628$as_echo "no" >&6; }
17629 enable_ememoa="no"
17630elif test $pkg_failed = untried; then 17647elif test $pkg_failed = untried; then
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17649$as_echo "no" >&6; }
17631 enable_ememoa="no" 17650 enable_ememoa="no"
17632else 17651else
17633 EMEMOA_CFLAGS=$pkg_cv_EMEMOA_CFLAGS 17652 EMEMOA_CFLAGS=$pkg_cv_EMEMOA_CFLAGS
@@ -17643,11 +17662,10 @@ pkg_failed=no
17643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5 17662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
17644$as_echo_n "checking for ECORE_EVAS... " >&6; } 17663$as_echo_n "checking for ECORE_EVAS... " >&6; }
17645 17664
17646if test -n "$PKG_CONFIG"; then 17665if test -n "$ECORE_EVAS_CFLAGS"; then
17647 if test -n "$ECORE_EVAS_CFLAGS"; then 17666 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
17648 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS" 17667 elif test -n "$PKG_CONFIG"; then
17649 else 17668 if test -n "$PKG_CONFIG" && \
17650 if test -n "$PKG_CONFIG" && \
17651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore evas\""; } >&5 17669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore evas\""; } >&5
17652 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore evas") 2>&5 17670 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore evas") 2>&5
17653 ac_status=$? 17671 ac_status=$?
@@ -17657,15 +17675,13 @@ if test -n "$PKG_CONFIG"; then
17657else 17675else
17658 pkg_failed=yes 17676 pkg_failed=yes
17659fi 17677fi
17660 fi 17678 else
17661else 17679 pkg_failed=untried
17662 pkg_failed=untried
17663fi 17680fi
17664if test -n "$PKG_CONFIG"; then 17681if test -n "$ECORE_EVAS_LIBS"; then
17665 if test -n "$ECORE_EVAS_LIBS"; then 17682 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
17666 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS" 17683 elif test -n "$PKG_CONFIG"; then
17667 else 17684 if test -n "$PKG_CONFIG" && \
17668 if test -n "$PKG_CONFIG" && \
17669 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore evas\""; } >&5 17685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore evas\""; } >&5
17670 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore evas") 2>&5 17686 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore evas") 2>&5
17671 ac_status=$? 17687 ac_status=$?
@@ -17675,14 +17691,15 @@ if test -n "$PKG_CONFIG"; then
17675else 17691else
17676 pkg_failed=yes 17692 pkg_failed=yes
17677fi 17693fi
17678 fi 17694 else
17679else 17695 pkg_failed=untried
17680 pkg_failed=untried
17681fi 17696fi
17682 17697
17683 17698
17684 17699
17685if test $pkg_failed = yes; then 17700if test $pkg_failed = yes; then
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17702$as_echo "no" >&6; }
17686 17703
17687if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17704if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17688 _pkg_short_errors_supported=yes 17705 _pkg_short_errors_supported=yes
@@ -17690,17 +17707,17 @@ else
17690 _pkg_short_errors_supported=no 17707 _pkg_short_errors_supported=no
17691fi 17708fi
17692 if test $_pkg_short_errors_supported = yes; then 17709 if test $_pkg_short_errors_supported = yes; then
17693 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore-evas ecore evas"` 17710 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore evas" 2>&1`
17694 else 17711 else
17695 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore-evas ecore evas"` 17712 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore evas" 2>&1`
17696 fi 17713 fi
17697 # Put the nasty error message in config.log where it belongs 17714 # Put the nasty error message in config.log where it belongs
17698 echo "$ECORE_EVAS_PKG_ERRORS" >&5 17715 echo "$ECORE_EVAS_PKG_ERRORS" >&5
17699 17716
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17717 build_tiler_example="no"
17701$as_echo "no" >&6; }
17702 build_tiler_example="no"
17703elif test $pkg_failed = untried; then 17718elif test $pkg_failed = untried; then
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17720$as_echo "no" >&6; }
17704 build_tiler_example="no" 17721 build_tiler_example="no"
17705else 17722else
17706 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS 17723 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
@@ -18020,8 +18037,8 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18020 18037
18021 ;; #( 18038 ;; #(
18022 *) 18039 *)
18023 as_fn_error "unknown endianness 18040 as_fn_error $? "unknown endianness
18024 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 18041 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18025 esac 18042 esac
18026 18043
18027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 18044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
@@ -18398,17 +18415,14 @@ fi
18398 18415
18399have_wince="no" 18416have_wince="no"
18400have_win32="no" 18417have_win32="no"
18401EINA_CPPFLAGS=""
18402EINA_CFLAGS="" 18418EINA_CFLAGS=""
18403case "$host_os" in 18419case "$host_os" in
18404 mingw32ce*) 18420 mingw32ce*)
18405 EINA_CPPFLAGS="-D_WIN32_WCE=0x0420"
18406 EINA_CFLAGS="${EVIL_CFLAGS}" 18421 EINA_CFLAGS="${EVIL_CFLAGS}"
18407 have_win32="yes" 18422 have_win32="yes"
18408 have_wince="yes" 18423 have_wince="yes"
18409 ;; 18424 ;;
18410 mingw*) 18425 mingw*)
18411 EINA_CPPFLAGS="-D_WIN32_WINNT=0x0501"
18412 EINA_CFLAGS="${EVIL_CFLAGS}" 18426 EINA_CFLAGS="${EVIL_CFLAGS}"
18413 have_win32="yes" 18427 have_win32="yes"
18414 ;; 18428 ;;
@@ -18569,6 +18583,98 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
18569 18583
18570 18584
18571 18585
18586### Checks for portability layer
18587
18588
18589pkg_failed=no
18590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18591$as_echo_n "checking for EXOTIC... " >&6; }
18592
18593if test -n "$EXOTIC_CFLAGS"; then
18594 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18595 elif test -n "$PKG_CONFIG"; then
18596 if test -n "$PKG_CONFIG" && \
18597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18598 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18599 ac_status=$?
18600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18601 test $ac_status = 0; }; then
18602 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18603else
18604 pkg_failed=yes
18605fi
18606 else
18607 pkg_failed=untried
18608fi
18609if test -n "$EXOTIC_LIBS"; then
18610 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18611 elif test -n "$PKG_CONFIG"; then
18612 if test -n "$PKG_CONFIG" && \
18613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18614 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18615 ac_status=$?
18616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18617 test $ac_status = 0; }; then
18618 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18619else
18620 pkg_failed=yes
18621fi
18622 else
18623 pkg_failed=untried
18624fi
18625
18626
18627
18628if test $pkg_failed = yes; then
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18630$as_echo "no" >&6; }
18631
18632if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18633 _pkg_short_errors_supported=yes
18634else
18635 _pkg_short_errors_supported=no
18636fi
18637 if test $_pkg_short_errors_supported = yes; then
18638 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
18639 else
18640 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
18641 fi
18642 # Put the nasty error message in config.log where it belongs
18643 echo "$EXOTIC_PKG_ERRORS" >&5
18644
18645 enable_exotic="no"
18646elif test $pkg_failed = untried; then
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18648$as_echo "no" >&6; }
18649 enable_exotic="no"
18650else
18651 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18652 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18654$as_echo "yes" >&6; }
18655 enable_exotic="yes"
18656fi
18657
18658if test "x${enable_exotic}" = "xyes"; then
18659 requirement_eina="exotic ${requirement_eina}"
18660 EINA_CFLAGS="${EINA_CFLAGS} ${EXOTIC_CFLAGS}"
18661 EINA_LIBS="${EXOTIC_LIBS}"
18662
18663 EINA_CONFIGURE_HAVE_EXOTIC="#define EINA_HAVE_EXOTIC"
18664
18665$as_echo "#define HAVE_EXOTIC_H 1" >>confdefs.h
18666
18667fi
18668 if test "x${enable_exotic}" = "xyes"; then
18669 EINA_HAVE_EXOTIC_TRUE=
18670 EINA_HAVE_EXOTIC_FALSE='#'
18671else
18672 EINA_HAVE_EXOTIC_TRUE='#'
18673 EINA_HAVE_EXOTIC_FALSE=
18674fi
18675
18676
18677
18572case "$host_vendor" in 18678case "$host_vendor" in
18573 ps3*) 18679 ps3*)
18574 18680
@@ -18576,11 +18682,10 @@ pkg_failed=no
18576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5 18682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
18577$as_echo_n "checking for ESCAPE... " >&6; } 18683$as_echo_n "checking for ESCAPE... " >&6; }
18578 18684
18579if test -n "$PKG_CONFIG"; then 18685if test -n "$ESCAPE_CFLAGS"; then
18580 if test -n "$ESCAPE_CFLAGS"; then 18686 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
18581 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS" 18687 elif test -n "$PKG_CONFIG"; then
18582 else 18688 if test -n "$PKG_CONFIG" && \
18583 if test -n "$PKG_CONFIG" && \
18584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5 18689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
18585 ($PKG_CONFIG --exists --print-errors "escape") 2>&5 18690 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
18586 ac_status=$? 18691 ac_status=$?
@@ -18590,15 +18695,13 @@ if test -n "$PKG_CONFIG"; then
18590else 18695else
18591 pkg_failed=yes 18696 pkg_failed=yes
18592fi 18697fi
18593 fi 18698 else
18594else 18699 pkg_failed=untried
18595 pkg_failed=untried
18596fi 18700fi
18597if test -n "$PKG_CONFIG"; then 18701if test -n "$ESCAPE_LIBS"; then
18598 if test -n "$ESCAPE_LIBS"; then 18702 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
18599 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS" 18703 elif test -n "$PKG_CONFIG"; then
18600 else 18704 if test -n "$PKG_CONFIG" && \
18601 if test -n "$PKG_CONFIG" && \
18602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5 18705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
18603 ($PKG_CONFIG --exists --print-errors "escape") 2>&5 18706 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
18604 ac_status=$? 18707 ac_status=$?
@@ -18608,14 +18711,15 @@ if test -n "$PKG_CONFIG"; then
18608else 18711else
18609 pkg_failed=yes 18712 pkg_failed=yes
18610fi 18713fi
18611 fi 18714 else
18612else 18715 pkg_failed=untried
18613 pkg_failed=untried
18614fi 18716fi
18615 18717
18616 18718
18617 18719
18618if test $pkg_failed = yes; then 18720if test $pkg_failed = yes; then
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18722$as_echo "no" >&6; }
18619 18723
18620if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18724if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18621 _pkg_short_errors_supported=yes 18725 _pkg_short_errors_supported=yes
@@ -18623,14 +18727,14 @@ else
18623 _pkg_short_errors_supported=no 18727 _pkg_short_errors_supported=no
18624fi 18728fi
18625 if test $_pkg_short_errors_supported = yes; then 18729 if test $_pkg_short_errors_supported = yes; then
18626 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "escape"` 18730 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "escape" 2>&1`
18627 else 18731 else
18628 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "escape"` 18732 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "escape" 2>&1`
18629 fi 18733 fi
18630 # Put the nasty error message in config.log where it belongs 18734 # Put the nasty error message in config.log where it belongs
18631 echo "$ESCAPE_PKG_ERRORS" >&5 18735 echo "$ESCAPE_PKG_ERRORS" >&5
18632 18736
18633 as_fn_error "Package requirements (escape) were not met: 18737 as_fn_error $? "Package requirements (escape) were not met:
18634 18738
18635$ESCAPE_PKG_ERRORS 18739$ESCAPE_PKG_ERRORS
18636 18740
@@ -18639,12 +18743,13 @@ installed software in a non-standard prefix.
18639 18743
18640Alternatively, you may set the environment variables ESCAPE_CFLAGS 18744Alternatively, you may set the environment variables ESCAPE_CFLAGS
18641and ESCAPE_LIBS to avoid the need to call pkg-config. 18745and ESCAPE_LIBS to avoid the need to call pkg-config.
18642See the pkg-config man page for more details. 18746See the pkg-config man page for more details." "$LINENO" 5
18643" "$LINENO" 5
18644elif test $pkg_failed = untried; then 18747elif test $pkg_failed = untried; then
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18749$as_echo "no" >&6; }
18645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18647as_fn_error "The pkg-config script could not be found or is too old. Make sure it 18752as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18648is in your PATH or set the PKG_CONFIG environment variable to the full 18753is in your PATH or set the PKG_CONFIG environment variable to the full
18649path to pkg-config. 18754path to pkg-config.
18650 18755
@@ -18653,48 +18758,46 @@ and ESCAPE_LIBS to avoid the need to call pkg-config.
18653See the pkg-config man page for more details. 18758See the pkg-config man page for more details.
18654 18759
18655To get pkg-config, see <http://pkg-config.freedesktop.org/>. 18760To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18656See \`config.log' for more details." "$LINENO" 5; } 18761See \`config.log' for more details" "$LINENO" 5 ; }
18657else 18762else
18658 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS 18763 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
18659 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS 18764 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18661$as_echo "yes" >&6; } 18766$as_echo "yes" >&6; }
18662 : 18767
18663fi 18768fi
18664 18769
18665$as_echo "#define HAVE_ESCAPE 1" >>confdefs.h 18770$as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
18666 18771
18667 requirement_eina="escape" 18772 requirement_eina="${requirement_eina} escape"
18668 EINA_CFLAGS="${ESCAPE_CFLAGS} ${EINA_CFLAGS}" 18773 EINA_CFLAGS="${ESCAPE_CFLAGS} ${EINA_CFLAGS}"
18669 ;; 18774 ;;
18670esac 18775esac
18671 18776
18672 18777
18673 18778
18674
18675
18676### Checks for linker characteristics 18779### Checks for linker characteristics
18677EINA_LIBS= 18780EINA_LIBS=
18678lt_enable_auto_import="" 18781lt_enable_auto_import=""
18679case "${host_os}" in 18782case "${host_os}" in
18680 mingw*) 18783 mingw*)
18681 EINA_LIBS="-ldl ${EVIL_LIBS} -lm" 18784 EINA_LIBS="${EINA_LIBS} -ldl ${EVIL_LIBS} -lm"
18682 lt_enable_auto_import="-Wl,--enable-auto-import" 18785 lt_enable_auto_import="-Wl,--enable-auto-import"
18683 ;; 18786 ;;
18684 dragonfly*|openbsd*) 18787 dragonfly*|openbsd*)
18685 EINA_LIBS="-lm" 18788 EINA_LIBS="${EINA_LIBS} -lm"
18686 ;; 18789 ;;
18687 freebsd*|netbsd*) 18790 freebsd*|netbsd*)
18688 EINA_LIBS="-lrt -lm" 18791 EINA_LIBS="${EINA_LIBS} -lrt -lm"
18689 ;; 18792 ;;
18690 darwin*) 18793 darwin*)
18691 EINA_LIBS="-lm" 18794 EINA_LIBS="${EINA_LIBS} -lm"
18692 ;; 18795 ;;
18693 cygwin*) 18796 cygwin*)
18694 EINA_LIBS="-ldl -lm" 18797 EINA_LIBS="${EINA_LIBS} -ldl -lm"
18695 ;; 18798 ;;
18696 *) 18799 *)
18697 EINA_LIBS="-ldl -lrt -lm" 18800 EINA_LIBS="${EINA_LIBS} -lrt -ldl -lm"
18698 ;; 18801 ;;
18699esac 18802esac
18700case "$host_vendor" in 18803case "$host_vendor" in
@@ -18866,12 +18969,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
18866 18969
18867 18970
18868 18971
18869for ac_header in unistd.h libgen.h inttypes.h stdint.h sys/types.h siginfo.h strings.h sys/mman.h 18972for ac_header in unistd.h libgen.h inttypes.h stdint.h sys/types.h siginfo.h strings.h sys/mman.h execinfo.h
18870do : 18973do :
18871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18872ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 18975ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18873eval as_val=\$$as_ac_Header 18976if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18874 if test "x$as_val" = x""yes; then :
18875 cat >>confdefs.h <<_ACEOF 18977 cat >>confdefs.h <<_ACEOF
18876#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18978#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18877_ACEOF 18979_ACEOF
@@ -18914,9 +19016,8 @@ else
18914 if test "$ac_cv_type_wchar_t" = yes; then 19016 if test "$ac_cv_type_wchar_t" = yes; then
18915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18917{ as_fn_set_status 77 19019as_fn_error 77 "cannot compute sizeof (wchar_t)
18918as_fn_error "cannot compute sizeof (wchar_t) 19020See \`config.log' for more details" "$LINENO" 5 ; }
18919See \`config.log' for more details." "$LINENO" 5; }; }
18920 else 19021 else
18921 ac_cv_sizeof_wchar_t=0 19022 ac_cv_sizeof_wchar_t=0
18922 fi 19023 fi
@@ -19160,8 +19261,7 @@ if test $ac_cv_os_cray = yes; then
19160 for ac_func in _getb67 GETB67 getb67; do 19261 for ac_func in _getb67 GETB67 getb67; do
19161 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19162ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19263ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19163eval as_val=\$$as_ac_var 19264if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19164 if test "x$as_val" = x""yes; then :
19165 19265
19166cat >>confdefs.h <<_ACEOF 19266cat >>confdefs.h <<_ACEOF
19167#define CRAY_STACKSEG_END $ac_func 19267#define CRAY_STACKSEG_END $ac_func
@@ -19223,12 +19323,11 @@ _ACEOF
19223 19323
19224fi 19324fi
19225 19325
19226for ac_func in strlcpy openat fstatat fpathconf execvp 19326for ac_func in strlcpy openat fstatat fpathconf execvp backtrace backtrace_symbols
19227do : 19327do :
19228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19229ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19329ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19230eval as_val=\$$as_ac_var 19330if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19231 if test "x$as_val" = x""yes; then :
19232 cat >>confdefs.h <<_ACEOF 19331 cat >>confdefs.h <<_ACEOF
19233#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19332#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19234_ACEOF 19333_ACEOF
@@ -20366,11 +20465,10 @@ pkg_failed=no
20366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 20465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
20367$as_echo_n "checking for CHECK... " >&6; } 20466$as_echo_n "checking for CHECK... " >&6; }
20368 20467
20369if test -n "$PKG_CONFIG"; then 20468if test -n "$CHECK_CFLAGS"; then
20370 if test -n "$CHECK_CFLAGS"; then 20469 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
20371 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" 20470 elif test -n "$PKG_CONFIG"; then
20372 else 20471 if test -n "$PKG_CONFIG" && \
20373 if test -n "$PKG_CONFIG" && \
20374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 20472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
20375 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 20473 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
20376 ac_status=$? 20474 ac_status=$?
@@ -20380,15 +20478,13 @@ if test -n "$PKG_CONFIG"; then
20380else 20478else
20381 pkg_failed=yes 20479 pkg_failed=yes
20382fi 20480fi
20383 fi 20481 else
20384else 20482 pkg_failed=untried
20385 pkg_failed=untried
20386fi 20483fi
20387if test -n "$PKG_CONFIG"; then 20484if test -n "$CHECK_LIBS"; then
20388 if test -n "$CHECK_LIBS"; then 20485 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
20389 pkg_cv_CHECK_LIBS="$CHECK_LIBS" 20486 elif test -n "$PKG_CONFIG"; then
20390 else 20487 if test -n "$PKG_CONFIG" && \
20391 if test -n "$PKG_CONFIG" && \
20392 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 20488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
20393 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 20489 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
20394 ac_status=$? 20490 ac_status=$?
@@ -20398,14 +20494,15 @@ if test -n "$PKG_CONFIG"; then
20398else 20494else
20399 pkg_failed=yes 20495 pkg_failed=yes
20400fi 20496fi
20401 fi 20497 else
20402else 20498 pkg_failed=untried
20403 pkg_failed=untried
20404fi 20499fi
20405 20500
20406 20501
20407 20502
20408if test $pkg_failed = yes; then 20503if test $pkg_failed = yes; then
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20505$as_echo "no" >&6; }
20409 20506
20410if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20507if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20411 _pkg_short_errors_supported=yes 20508 _pkg_short_errors_supported=yes
@@ -20413,17 +20510,17 @@ else
20413 _pkg_short_errors_supported=no 20510 _pkg_short_errors_supported=no
20414fi 20511fi
20415 if test $_pkg_short_errors_supported = yes; then 20512 if test $_pkg_short_errors_supported = yes; then
20416 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "check >= 0.9.5"` 20513 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
20417 else 20514 else
20418 CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "check >= 0.9.5"` 20515 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
20419 fi 20516 fi
20420 # Put the nasty error message in config.log where it belongs 20517 # Put the nasty error message in config.log where it belongs
20421 echo "$CHECK_PKG_ERRORS" >&5 20518 echo "$CHECK_PKG_ERRORS" >&5
20422 20519
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20520 _efl_enable_tests="no"
20424$as_echo "no" >&6; }
20425 _efl_enable_tests="no"
20426elif test $pkg_failed = untried; then 20521elif test $pkg_failed = untried; then
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20523$as_echo "no" >&6; }
20427 _efl_enable_tests="no" 20524 _efl_enable_tests="no"
20428else 20525else
20429 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS 20526 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
@@ -20618,11 +20715,10 @@ pkg_failed=no
20618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 20715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20619$as_echo_n "checking for GLIB... " >&6; } 20716$as_echo_n "checking for GLIB... " >&6; }
20620 20717
20621if test -n "$PKG_CONFIG"; then 20718if test -n "$GLIB_CFLAGS"; then
20622 if test -n "$GLIB_CFLAGS"; then 20719 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20623 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 20720 elif test -n "$PKG_CONFIG"; then
20624 else 20721 if test -n "$PKG_CONFIG" && \
20625 if test -n "$PKG_CONFIG" && \
20626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 20722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20627 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 20723 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20628 ac_status=$? 20724 ac_status=$?
@@ -20632,15 +20728,13 @@ if test -n "$PKG_CONFIG"; then
20632else 20728else
20633 pkg_failed=yes 20729 pkg_failed=yes
20634fi 20730fi
20635 fi 20731 else
20636else 20732 pkg_failed=untried
20637 pkg_failed=untried
20638fi 20733fi
20639if test -n "$PKG_CONFIG"; then 20734if test -n "$GLIB_LIBS"; then
20640 if test -n "$GLIB_LIBS"; then 20735 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20641 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 20736 elif test -n "$PKG_CONFIG"; then
20642 else 20737 if test -n "$PKG_CONFIG" && \
20643 if test -n "$PKG_CONFIG" && \
20644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 20738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20645 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 20739 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20646 ac_status=$? 20740 ac_status=$?
@@ -20650,14 +20744,15 @@ if test -n "$PKG_CONFIG"; then
20650else 20744else
20651 pkg_failed=yes 20745 pkg_failed=yes
20652fi 20746fi
20653 fi 20747 else
20654else 20748 pkg_failed=untried
20655 pkg_failed=untried
20656fi 20749fi
20657 20750
20658 20751
20659 20752
20660if test $pkg_failed = yes; then 20753if test $pkg_failed = yes; then
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20755$as_echo "no" >&6; }
20661 20756
20662if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20757if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20663 _pkg_short_errors_supported=yes 20758 _pkg_short_errors_supported=yes
@@ -20665,17 +20760,17 @@ else
20665 _pkg_short_errors_supported=no 20760 _pkg_short_errors_supported=no
20666fi 20761fi
20667 if test $_pkg_short_errors_supported = yes; then 20762 if test $_pkg_short_errors_supported = yes; then
20668 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` 20763 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
20669 else 20764 else
20670 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` 20765 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
20671 fi 20766 fi
20672 # Put the nasty error message in config.log where it belongs 20767 # Put the nasty error message in config.log where it belongs
20673 echo "$GLIB_PKG_ERRORS" >&5 20768 echo "$GLIB_PKG_ERRORS" >&5
20674 20769
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20770 have_module="no"
20676$as_echo "no" >&6; }
20677 have_module="no"
20678elif test $pkg_failed = untried; then 20771elif test $pkg_failed = untried; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20773$as_echo "no" >&6; }
20679 have_module="no" 20774 have_module="no"
20680else 20775else
20681 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 20776 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
@@ -20884,6 +20979,7 @@ DEFS=-DHAVE_CONFIG_H
20884 20979
20885ac_libobjs= 20980ac_libobjs=
20886ac_ltlibobjs= 20981ac_ltlibobjs=
20982U=
20887for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 20983for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20888 # 1. Remove the extension, and $U if already installed. 20984 # 1. Remove the extension, and $U if already installed.
20889 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 20985 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -20907,148 +21003,152 @@ else
20907fi 21003fi
20908 21004
20909if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 21005if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20910 as_fn_error "conditional \"AMDEP\" was never defined. 21006 as_fn_error $? "conditional \"AMDEP\" was never defined.
20911Usually this means the macro was only invoked conditionally." "$LINENO" 5 21007Usually this means the macro was only invoked conditionally." "$LINENO" 5
20912fi 21008fi
20913if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 21009if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20914 as_fn_error "conditional \"am__fastdepCC\" was never defined. 21010 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20915Usually this means the macro was only invoked conditionally." "$LINENO" 5 21011Usually this means the macro was only invoked conditionally." "$LINENO" 5
20916fi 21012fi
20917if test -z "${EINA_HAVE_THREADS_TRUE}" && test -z "${EINA_HAVE_THREADS_FALSE}"; then 21013if test -z "${EINA_HAVE_THREADS_TRUE}" && test -z "${EINA_HAVE_THREADS_FALSE}"; then
20918 as_fn_error "conditional \"EINA_HAVE_THREADS\" was never defined. 21014 as_fn_error $? "conditional \"EINA_HAVE_THREADS\" was never defined.
20919Usually this means the macro was only invoked conditionally." "$LINENO" 5 21015Usually this means the macro was only invoked conditionally." "$LINENO" 5
20920fi 21016fi
20921if test -z "${EINA_DEBUG_THREADS_TRUE}" && test -z "${EINA_DEBUG_THREADS_FALSE}"; then 21017if test -z "${EINA_DEBUG_THREADS_TRUE}" && test -z "${EINA_DEBUG_THREADS_FALSE}"; then
20922 as_fn_error "conditional \"EINA_DEBUG_THREADS\" was never defined. 21018 as_fn_error $? "conditional \"EINA_DEBUG_THREADS\" was never defined.
20923Usually this means the macro was only invoked conditionally." "$LINENO" 5 21019Usually this means the macro was only invoked conditionally." "$LINENO" 5
20924fi 21020fi
20925if test -z "${EINA_ON_OFF_THREADS_TRUE}" && test -z "${EINA_ON_OFF_THREADS_FALSE}"; then 21021if test -z "${EINA_ON_OFF_THREADS_TRUE}" && test -z "${EINA_ON_OFF_THREADS_FALSE}"; then
20926 as_fn_error "conditional \"EINA_ON_OFF_THREADS\" was never defined. 21022 as_fn_error $? "conditional \"EINA_ON_OFF_THREADS\" was never defined.
20927Usually this means the macro was only invoked conditionally." "$LINENO" 5 21023Usually this means the macro was only invoked conditionally." "$LINENO" 5
20928fi 21024fi
20929if test -z "${SAFETY_CHECKS_TRUE}" && test -z "${SAFETY_CHECKS_FALSE}"; then 21025if test -z "${SAFETY_CHECKS_TRUE}" && test -z "${SAFETY_CHECKS_FALSE}"; then
20930 as_fn_error "conditional \"SAFETY_CHECKS\" was never defined. 21026 as_fn_error $? "conditional \"SAFETY_CHECKS\" was never defined.
20931Usually this means the macro was only invoked conditionally." "$LINENO" 5 21027Usually this means the macro was only invoked conditionally." "$LINENO" 5
20932fi 21028fi
20933if test -z "${EINA_AMALGAMATION_TRUE}" && test -z "${EINA_AMALGAMATION_FALSE}"; then 21029if test -z "${EINA_AMALGAMATION_TRUE}" && test -z "${EINA_AMALGAMATION_FALSE}"; then
20934 as_fn_error "conditional \"EINA_AMALGAMATION\" was never defined. 21030 as_fn_error $? "conditional \"EINA_AMALGAMATION\" was never defined.
20935Usually this means the macro was only invoked conditionally." "$LINENO" 5 21031Usually this means the macro was only invoked conditionally." "$LINENO" 5
20936fi 21032fi
20937if test -z "${EINA_ENABLE_BENCHMARK_E17_TRUE}" && test -z "${EINA_ENABLE_BENCHMARK_E17_FALSE}"; then 21033if test -z "${EINA_ENABLE_BENCHMARK_E17_TRUE}" && test -z "${EINA_ENABLE_BENCHMARK_E17_FALSE}"; then
20938 as_fn_error "conditional \"EINA_ENABLE_BENCHMARK_E17\" was never defined. 21034 as_fn_error $? "conditional \"EINA_ENABLE_BENCHMARK_E17\" was never defined.
20939Usually this means the macro was only invoked conditionally." "$LINENO" 5 21035Usually this means the macro was only invoked conditionally." "$LINENO" 5
20940fi 21036fi
20941if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 21037if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20942 as_fn_error "conditional \"am__fastdepCC\" was never defined. 21038 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20943Usually this means the macro was only invoked conditionally." "$LINENO" 5 21039Usually this means the macro was only invoked conditionally." "$LINENO" 5
20944fi 21040fi
20945if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 21041if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20946 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 21042 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20947Usually this means the macro was only invoked conditionally." "$LINENO" 5 21043Usually this means the macro was only invoked conditionally." "$LINENO" 5
20948fi 21044fi
20949if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 21045if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20950 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 21046 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20951Usually this means the macro was only invoked conditionally." "$LINENO" 5 21047Usually this means the macro was only invoked conditionally." "$LINENO" 5
20952fi 21048fi
20953if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then 21049if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
20954 as_fn_error "conditional \"EFL_BUILD_DOC\" was never defined. 21050 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
20955Usually this means the macro was only invoked conditionally." "$LINENO" 5 21051Usually this means the macro was only invoked conditionally." "$LINENO" 5
20956fi 21052fi
20957if test -z "${BUILD_TILER_EXAMPLE_TRUE}" && test -z "${BUILD_TILER_EXAMPLE_FALSE}"; then 21053if test -z "${BUILD_TILER_EXAMPLE_TRUE}" && test -z "${BUILD_TILER_EXAMPLE_FALSE}"; then
20958 as_fn_error "conditional \"BUILD_TILER_EXAMPLE\" was never defined. 21054 as_fn_error $? "conditional \"BUILD_TILER_EXAMPLE\" was never defined.
20959Usually this means the macro was only invoked conditionally." "$LINENO" 5 21055Usually this means the macro was only invoked conditionally." "$LINENO" 5
20960fi 21056fi
20961 21057
20962if test -z "${EINA_HAVE_WINCE_TRUE}" && test -z "${EINA_HAVE_WINCE_FALSE}"; then 21058if test -z "${EINA_HAVE_WINCE_TRUE}" && test -z "${EINA_HAVE_WINCE_FALSE}"; then
20963 as_fn_error "conditional \"EINA_HAVE_WINCE\" was never defined. 21059 as_fn_error $? "conditional \"EINA_HAVE_WINCE\" was never defined.
20964Usually this means the macro was only invoked conditionally." "$LINENO" 5 21060Usually this means the macro was only invoked conditionally." "$LINENO" 5
20965fi 21061fi
20966if test -z "${EINA_HAVE_WIN32_TRUE}" && test -z "${EINA_HAVE_WIN32_FALSE}"; then 21062if test -z "${EINA_HAVE_WIN32_TRUE}" && test -z "${EINA_HAVE_WIN32_FALSE}"; then
20967 as_fn_error "conditional \"EINA_HAVE_WIN32\" was never defined. 21063 as_fn_error $? "conditional \"EINA_HAVE_WIN32\" was never defined.
21064Usually this means the macro was only invoked conditionally." "$LINENO" 5
21065fi
21066if test -z "${EINA_HAVE_EXOTIC_TRUE}" && test -z "${EINA_HAVE_EXOTIC_FALSE}"; then
21067 as_fn_error $? "conditional \"EINA_HAVE_EXOTIC\" was never defined.
20968Usually this means the macro was only invoked conditionally." "$LINENO" 5 21068Usually this means the macro was only invoked conditionally." "$LINENO" 5
20969fi 21069fi
20970if test -z "${EINA_BUILD_CHAINED_POOL_TRUE}" && test -z "${EINA_BUILD_CHAINED_POOL_FALSE}"; then 21070if test -z "${EINA_BUILD_CHAINED_POOL_TRUE}" && test -z "${EINA_BUILD_CHAINED_POOL_FALSE}"; then
20971 as_fn_error "conditional \"EINA_BUILD_CHAINED_POOL\" was never defined. 21071 as_fn_error $? "conditional \"EINA_BUILD_CHAINED_POOL\" was never defined.
20972Usually this means the macro was only invoked conditionally." "$LINENO" 5 21072Usually this means the macro was only invoked conditionally." "$LINENO" 5
20973fi 21073fi
20974if test -z "${EINA_STATIC_BUILD_CHAINED_POOL_TRUE}" && test -z "${EINA_STATIC_BUILD_CHAINED_POOL_FALSE}"; then 21074if test -z "${EINA_STATIC_BUILD_CHAINED_POOL_TRUE}" && test -z "${EINA_STATIC_BUILD_CHAINED_POOL_FALSE}"; then
20975 as_fn_error "conditional \"EINA_STATIC_BUILD_CHAINED_POOL\" was never defined. 21075 as_fn_error $? "conditional \"EINA_STATIC_BUILD_CHAINED_POOL\" was never defined.
20976Usually this means the macro was only invoked conditionally." "$LINENO" 5 21076Usually this means the macro was only invoked conditionally." "$LINENO" 5
20977fi 21077fi
20978if test -z "${EINA_BUILD_EMEMOA_FIXED_TRUE}" && test -z "${EINA_BUILD_EMEMOA_FIXED_FALSE}"; then 21078if test -z "${EINA_BUILD_EMEMOA_FIXED_TRUE}" && test -z "${EINA_BUILD_EMEMOA_FIXED_FALSE}"; then
20979 as_fn_error "conditional \"EINA_BUILD_EMEMOA_FIXED\" was never defined. 21079 as_fn_error $? "conditional \"EINA_BUILD_EMEMOA_FIXED\" was never defined.
20980Usually this means the macro was only invoked conditionally." "$LINENO" 5 21080Usually this means the macro was only invoked conditionally." "$LINENO" 5
20981fi 21081fi
20982if test -z "${EINA_STATIC_BUILD_EMEMOA_FIXED_TRUE}" && test -z "${EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE}"; then 21082if test -z "${EINA_STATIC_BUILD_EMEMOA_FIXED_TRUE}" && test -z "${EINA_STATIC_BUILD_EMEMOA_FIXED_FALSE}"; then
20983 as_fn_error "conditional \"EINA_STATIC_BUILD_EMEMOA_FIXED\" was never defined. 21083 as_fn_error $? "conditional \"EINA_STATIC_BUILD_EMEMOA_FIXED\" was never defined.
20984Usually this means the macro was only invoked conditionally." "$LINENO" 5 21084Usually this means the macro was only invoked conditionally." "$LINENO" 5
20985fi 21085fi
20986if test -z "${EINA_BUILD_EMEMOA_UNKNOWN_TRUE}" && test -z "${EINA_BUILD_EMEMOA_UNKNOWN_FALSE}"; then 21086if test -z "${EINA_BUILD_EMEMOA_UNKNOWN_TRUE}" && test -z "${EINA_BUILD_EMEMOA_UNKNOWN_FALSE}"; then
20987 as_fn_error "conditional \"EINA_BUILD_EMEMOA_UNKNOWN\" was never defined. 21087 as_fn_error $? "conditional \"EINA_BUILD_EMEMOA_UNKNOWN\" was never defined.
20988Usually this means the macro was only invoked conditionally." "$LINENO" 5 21088Usually this means the macro was only invoked conditionally." "$LINENO" 5
20989fi 21089fi
20990if test -z "${EINA_STATIC_BUILD_EMEMOA_UNKNOWN_TRUE}" && test -z "${EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE}"; then 21090if test -z "${EINA_STATIC_BUILD_EMEMOA_UNKNOWN_TRUE}" && test -z "${EINA_STATIC_BUILD_EMEMOA_UNKNOWN_FALSE}"; then
20991 as_fn_error "conditional \"EINA_STATIC_BUILD_EMEMOA_UNKNOWN\" was never defined. 21091 as_fn_error $? "conditional \"EINA_STATIC_BUILD_EMEMOA_UNKNOWN\" was never defined.
20992Usually this means the macro was only invoked conditionally." "$LINENO" 5 21092Usually this means the macro was only invoked conditionally." "$LINENO" 5
20993fi 21093fi
20994if test -z "${EINA_BUILD_FIXED_BITMAP_TRUE}" && test -z "${EINA_BUILD_FIXED_BITMAP_FALSE}"; then 21094if test -z "${EINA_BUILD_FIXED_BITMAP_TRUE}" && test -z "${EINA_BUILD_FIXED_BITMAP_FALSE}"; then
20995 as_fn_error "conditional \"EINA_BUILD_FIXED_BITMAP\" was never defined. 21095 as_fn_error $? "conditional \"EINA_BUILD_FIXED_BITMAP\" was never defined.
20996Usually this means the macro was only invoked conditionally." "$LINENO" 5 21096Usually this means the macro was only invoked conditionally." "$LINENO" 5
20997fi 21097fi
20998if test -z "${EINA_STATIC_BUILD_FIXED_BITMAP_TRUE}" && test -z "${EINA_STATIC_BUILD_FIXED_BITMAP_FALSE}"; then 21098if test -z "${EINA_STATIC_BUILD_FIXED_BITMAP_TRUE}" && test -z "${EINA_STATIC_BUILD_FIXED_BITMAP_FALSE}"; then
20999 as_fn_error "conditional \"EINA_STATIC_BUILD_FIXED_BITMAP\" was never defined. 21099 as_fn_error $? "conditional \"EINA_STATIC_BUILD_FIXED_BITMAP\" was never defined.
21000Usually this means the macro was only invoked conditionally." "$LINENO" 5 21100Usually this means the macro was only invoked conditionally." "$LINENO" 5
21001fi 21101fi
21002if test -z "${EINA_BUILD_PASS_THROUGH_TRUE}" && test -z "${EINA_BUILD_PASS_THROUGH_FALSE}"; then 21102if test -z "${EINA_BUILD_PASS_THROUGH_TRUE}" && test -z "${EINA_BUILD_PASS_THROUGH_FALSE}"; then
21003 as_fn_error "conditional \"EINA_BUILD_PASS_THROUGH\" was never defined. 21103 as_fn_error $? "conditional \"EINA_BUILD_PASS_THROUGH\" was never defined.
21004Usually this means the macro was only invoked conditionally." "$LINENO" 5 21104Usually this means the macro was only invoked conditionally." "$LINENO" 5
21005fi 21105fi
21006if test -z "${EINA_STATIC_BUILD_PASS_THROUGH_TRUE}" && test -z "${EINA_STATIC_BUILD_PASS_THROUGH_FALSE}"; then 21106if test -z "${EINA_STATIC_BUILD_PASS_THROUGH_TRUE}" && test -z "${EINA_STATIC_BUILD_PASS_THROUGH_FALSE}"; then
21007 as_fn_error "conditional \"EINA_STATIC_BUILD_PASS_THROUGH\" was never defined. 21107 as_fn_error $? "conditional \"EINA_STATIC_BUILD_PASS_THROUGH\" was never defined.
21008Usually this means the macro was only invoked conditionally." "$LINENO" 5 21108Usually this means the macro was only invoked conditionally." "$LINENO" 5
21009fi 21109fi
21010if test -z "${EINA_BUILD_BUDDY_TRUE}" && test -z "${EINA_BUILD_BUDDY_FALSE}"; then 21110if test -z "${EINA_BUILD_BUDDY_TRUE}" && test -z "${EINA_BUILD_BUDDY_FALSE}"; then
21011 as_fn_error "conditional \"EINA_BUILD_BUDDY\" was never defined. 21111 as_fn_error $? "conditional \"EINA_BUILD_BUDDY\" was never defined.
21012Usually this means the macro was only invoked conditionally." "$LINENO" 5 21112Usually this means the macro was only invoked conditionally." "$LINENO" 5
21013fi 21113fi
21014if test -z "${EINA_STATIC_BUILD_BUDDY_TRUE}" && test -z "${EINA_STATIC_BUILD_BUDDY_FALSE}"; then 21114if test -z "${EINA_STATIC_BUILD_BUDDY_TRUE}" && test -z "${EINA_STATIC_BUILD_BUDDY_FALSE}"; then
21015 as_fn_error "conditional \"EINA_STATIC_BUILD_BUDDY\" was never defined. 21115 as_fn_error $? "conditional \"EINA_STATIC_BUILD_BUDDY\" was never defined.
21016Usually this means the macro was only invoked conditionally." "$LINENO" 5 21116Usually this means the macro was only invoked conditionally." "$LINENO" 5
21017fi 21117fi
21018if test -z "${EINA_BUILD_ONE_BIG_TRUE}" && test -z "${EINA_BUILD_ONE_BIG_FALSE}"; then 21118if test -z "${EINA_BUILD_ONE_BIG_TRUE}" && test -z "${EINA_BUILD_ONE_BIG_FALSE}"; then
21019 as_fn_error "conditional \"EINA_BUILD_ONE_BIG\" was never defined. 21119 as_fn_error $? "conditional \"EINA_BUILD_ONE_BIG\" was never defined.
21020Usually this means the macro was only invoked conditionally." "$LINENO" 5 21120Usually this means the macro was only invoked conditionally." "$LINENO" 5
21021fi 21121fi
21022if test -z "${EINA_STATIC_BUILD_ONE_BIG_TRUE}" && test -z "${EINA_STATIC_BUILD_ONE_BIG_FALSE}"; then 21122if test -z "${EINA_STATIC_BUILD_ONE_BIG_TRUE}" && test -z "${EINA_STATIC_BUILD_ONE_BIG_FALSE}"; then
21023 as_fn_error "conditional \"EINA_STATIC_BUILD_ONE_BIG\" was never defined. 21123 as_fn_error $? "conditional \"EINA_STATIC_BUILD_ONE_BIG\" was never defined.
21024Usually this means the macro was only invoked conditionally." "$LINENO" 5 21124Usually this means the macro was only invoked conditionally." "$LINENO" 5
21025fi 21125fi
21026if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then 21126if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
21027 as_fn_error "conditional \"EFL_ENABLE_TESTS\" was never defined. 21127 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
21028Usually this means the macro was only invoked conditionally." "$LINENO" 5 21128Usually this means the macro was only invoked conditionally." "$LINENO" 5
21029fi 21129fi
21030if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then 21130if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
21031 as_fn_error "conditional \"EFL_ENABLE_COVERAGE\" was never defined. 21131 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
21032Usually this means the macro was only invoked conditionally." "$LINENO" 5 21132Usually this means the macro was only invoked conditionally." "$LINENO" 5
21033fi 21133fi
21034if test -z "${EFL_ENABLE_BENCHMARK_TRUE}" && test -z "${EFL_ENABLE_BENCHMARK_FALSE}"; then 21134if test -z "${EFL_ENABLE_BENCHMARK_TRUE}" && test -z "${EFL_ENABLE_BENCHMARK_FALSE}"; then
21035 as_fn_error "conditional \"EFL_ENABLE_BENCHMARK\" was never defined. 21135 as_fn_error $? "conditional \"EFL_ENABLE_BENCHMARK\" was never defined.
21036Usually this means the macro was only invoked conditionally." "$LINENO" 5 21136Usually this means the macro was only invoked conditionally." "$LINENO" 5
21037fi 21137fi
21038if test -z "${EINA_HAVE_GLIB_TRUE}" && test -z "${EINA_HAVE_GLIB_FALSE}"; then 21138if test -z "${EINA_HAVE_GLIB_TRUE}" && test -z "${EINA_HAVE_GLIB_FALSE}"; then
21039 as_fn_error "conditional \"EINA_HAVE_GLIB\" was never defined. 21139 as_fn_error $? "conditional \"EINA_HAVE_GLIB\" was never defined.
21040Usually this means the macro was only invoked conditionally." "$LINENO" 5 21140Usually this means the macro was only invoked conditionally." "$LINENO" 5
21041fi 21141fi
21042if test -z "${CITYHASH_BENCH_TRUE}" && test -z "${CITYHASH_BENCH_FALSE}"; then 21142if test -z "${CITYHASH_BENCH_TRUE}" && test -z "${CITYHASH_BENCH_FALSE}"; then
21043 as_fn_error "conditional \"CITYHASH_BENCH\" was never defined. 21143 as_fn_error $? "conditional \"CITYHASH_BENCH\" was never defined.
21044Usually this means the macro was only invoked conditionally." "$LINENO" 5 21144Usually this means the macro was only invoked conditionally." "$LINENO" 5
21045fi 21145fi
21046if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then 21146if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
21047 as_fn_error "conditional \"EFL_BUILD_EXAMPLES\" was never defined. 21147 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
21048Usually this means the macro was only invoked conditionally." "$LINENO" 5 21148Usually this means the macro was only invoked conditionally." "$LINENO" 5
21049fi 21149fi
21050if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then 21150if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
21051 as_fn_error "conditional \"EFL_INSTALL_EXAMPLES\" was never defined. 21151 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
21052Usually this means the macro was only invoked conditionally." "$LINENO" 5 21152Usually this means the macro was only invoked conditionally." "$LINENO" 5
21053fi 21153fi
21054 21154
@@ -21198,19 +21298,19 @@ export LANGUAGE
21198(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 21298(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21199 21299
21200 21300
21201# as_fn_error ERROR [LINENO LOG_FD] 21301# as_fn_error STATUS ERROR [LINENO LOG_FD]
21202# --------------------------------- 21302# ----------------------------------------
21203# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 21303# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21204# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 21304# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21205# script with status $?, using 1 if that was 0. 21305# script with STATUS, using 1 if that was 0.
21206as_fn_error () 21306as_fn_error ()
21207{ 21307{
21208 as_status=$?; test $as_status -eq 0 && as_status=1 21308 as_status=$1; test $as_status -eq 0 && as_status=1
21209 if test "$3"; then 21309 if test "$4"; then
21210 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 21310 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21211 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 21311 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21212 fi 21312 fi
21213 $as_echo "$as_me: error: $1" >&2 21313 $as_echo "$as_me: error: $2" >&2
21214 as_fn_exit $as_status 21314 as_fn_exit $as_status
21215} # as_fn_error 21315} # as_fn_error
21216 21316
@@ -21406,7 +21506,7 @@ $as_echo X"$as_dir" |
21406 test -d "$as_dir" && break 21506 test -d "$as_dir" && break
21407 done 21507 done
21408 test -z "$as_dirs" || eval "mkdir $as_dirs" 21508 test -z "$as_dirs" || eval "mkdir $as_dirs"
21409 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 21509 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21410 21510
21411 21511
21412} # as_fn_mkdir_p 21512} # as_fn_mkdir_p
@@ -21459,8 +21559,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21459# report actual input values of CONFIG_FILES etc. instead of their 21559# report actual input values of CONFIG_FILES etc. instead of their
21460# values after options handling. 21560# values after options handling.
21461ac_log=" 21561ac_log="
21462This file was extended by eina $as_me 1.1.99.67344, which was 21562This file was extended by eina $as_me 1.2.0-alpha, which was
21463generated by GNU Autoconf 2.65. Invocation command line was 21563generated by GNU Autoconf 2.67. Invocation command line was
21464 21564
21465 CONFIG_FILES = $CONFIG_FILES 21565 CONFIG_FILES = $CONFIG_FILES
21466 CONFIG_HEADERS = $CONFIG_HEADERS 21566 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -21525,11 +21625,11 @@ _ACEOF
21525cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21625cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21526ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 21626ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21527ac_cs_version="\\ 21627ac_cs_version="\\
21528eina config.status 1.1.99.67344 21628eina config.status 1.2.0-alpha
21529configured by $0, generated by GNU Autoconf 2.65, 21629configured by $0, generated by GNU Autoconf 2.67,
21530 with options \\"\$ac_cs_config\\" 21630 with options \\"\$ac_cs_config\\"
21531 21631
21532Copyright (C) 2009 Free Software Foundation, Inc. 21632Copyright (C) 2010 Free Software Foundation, Inc.
21533This config.status script is free software; the Free Software Foundation 21633This config.status script is free software; the Free Software Foundation
21534gives unlimited permission to copy, distribute and modify it." 21634gives unlimited permission to copy, distribute and modify it."
21535 21635
@@ -21547,11 +21647,16 @@ ac_need_defaults=:
21547while test $# != 0 21647while test $# != 0
21548do 21648do
21549 case $1 in 21649 case $1 in
21550 --*=*) 21650 --*=?*)
21551 ac_option=`expr "X$1" : 'X\([^=]*\)='` 21651 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21552 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 21652 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21553 ac_shift=: 21653 ac_shift=:
21554 ;; 21654 ;;
21655 --*=)
21656 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21657 ac_optarg=
21658 ac_shift=:
21659 ;;
21555 *) 21660 *)
21556 ac_option=$1 21661 ac_option=$1
21557 ac_optarg=$2 21662 ac_optarg=$2
@@ -21573,6 +21678,7 @@ do
21573 $ac_shift 21678 $ac_shift
21574 case $ac_optarg in 21679 case $ac_optarg in
21575 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 21680 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21681 '') as_fn_error $? "missing file argument" ;;
21576 esac 21682 esac
21577 as_fn_append CONFIG_FILES " '$ac_optarg'" 21683 as_fn_append CONFIG_FILES " '$ac_optarg'"
21578 ac_need_defaults=false;; 21684 ac_need_defaults=false;;
@@ -21585,7 +21691,7 @@ do
21585 ac_need_defaults=false;; 21691 ac_need_defaults=false;;
21586 --he | --h) 21692 --he | --h)
21587 # Conflict between --help and --header 21693 # Conflict between --help and --header
21588 as_fn_error "ambiguous option: \`$1' 21694 as_fn_error $? "ambiguous option: \`$1'
21589Try \`$0 --help' for more information.";; 21695Try \`$0 --help' for more information.";;
21590 --help | --hel | -h ) 21696 --help | --hel | -h )
21591 $as_echo "$ac_cs_usage"; exit ;; 21697 $as_echo "$ac_cs_usage"; exit ;;
@@ -21594,7 +21700,7 @@ Try \`$0 --help' for more information.";;
21594 ac_cs_silent=: ;; 21700 ac_cs_silent=: ;;
21595 21701
21596 # This is an error. 21702 # This is an error.
21597 -*) as_fn_error "unrecognized option: \`$1' 21703 -*) as_fn_error $? "unrecognized option: \`$1'
21598Try \`$0 --help' for more information." ;; 21704Try \`$0 --help' for more information." ;;
21599 21705
21600 *) as_fn_append ac_config_targets " $1" 21706 *) as_fn_append ac_config_targets " $1"
@@ -22024,7 +22130,7 @@ do
22024 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; 22130 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
22025 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;; 22131 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
22026 22132
22027 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 22133 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
22028 esac 22134 esac
22029done 22135done
22030 22136
@@ -22062,7 +22168,7 @@ $debug ||
22062{ 22168{
22063 tmp=./conf$$-$RANDOM 22169 tmp=./conf$$-$RANDOM
22064 (umask 077 && mkdir "$tmp") 22170 (umask 077 && mkdir "$tmp")
22065} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 22171} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22066 22172
22067# Set up the scripts for CONFIG_FILES section. 22173# Set up the scripts for CONFIG_FILES section.
22068# No need to generate them if there are no CONFIG_FILES. 22174# No need to generate them if there are no CONFIG_FILES.
@@ -22079,7 +22185,7 @@ if test "x$ac_cr" = x; then
22079fi 22185fi
22080ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 22186ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22081if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 22187if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22082 ac_cs_awk_cr='\r' 22188 ac_cs_awk_cr='\\r'
22083else 22189else
22084 ac_cs_awk_cr=$ac_cr 22190 ac_cs_awk_cr=$ac_cr
22085fi 22191fi
@@ -22093,18 +22199,18 @@ _ACEOF
22093 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 22199 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22094 echo "_ACEOF" 22200 echo "_ACEOF"
22095} >conf$$subs.sh || 22201} >conf$$subs.sh ||
22096 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 22202 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22097ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 22203ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22098ac_delim='%!_!# ' 22204ac_delim='%!_!# '
22099for ac_last_try in false false false false false :; do 22205for ac_last_try in false false false false false :; do
22100 . ./conf$$subs.sh || 22206 . ./conf$$subs.sh ||
22101 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 22207 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22102 22208
22103 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 22209 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22104 if test $ac_delim_n = $ac_delim_num; then 22210 if test $ac_delim_n = $ac_delim_num; then
22105 break 22211 break
22106 elif $ac_last_try; then 22212 elif $ac_last_try; then
22107 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 22213 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22108 else 22214 else
22109 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22215 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22110 fi 22216 fi
@@ -22193,20 +22299,28 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22193else 22299else
22194 cat 22300 cat
22195fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 22301fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22196 || as_fn_error "could not setup config files machinery" "$LINENO" 5 22302 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22197_ACEOF 22303_ACEOF
22198 22304
22199# VPATH may cause trouble with some makes, so we remove $(srcdir), 22305# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22200# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 22306# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22201# trailing colons and then remove the whole line if VPATH becomes empty 22307# trailing colons and then remove the whole line if VPATH becomes empty
22202# (actually we leave an empty line to preserve line numbers). 22308# (actually we leave an empty line to preserve line numbers).
22203if test "x$srcdir" = x.; then 22309if test "x$srcdir" = x.; then
22204 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 22310 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22205s/:*\$(srcdir):*/:/ 22311h
22206s/:*\${srcdir}:*/:/ 22312s///
22207s/:*@srcdir@:*/:/ 22313s/^/:/
22208s/^\([^=]*=[ ]*\):*/\1/ 22314s/[ ]*$/:/
22315s/:\$(srcdir):/:/g
22316s/:\${srcdir}:/:/g
22317s/:@srcdir@:/:/g
22318s/^:*//
22209s/:*$// 22319s/:*$//
22320x
22321s/\(=[ ]*\).*/\1/
22322G
22323s/\n//
22210s/^[^=]*=[ ]*$// 22324s/^[^=]*=[ ]*$//
22211}' 22325}'
22212fi 22326fi
@@ -22234,7 +22348,7 @@ for ac_last_try in false false :; do
22234 if test -z "$ac_t"; then 22348 if test -z "$ac_t"; then
22235 break 22349 break
22236 elif $ac_last_try; then 22350 elif $ac_last_try; then
22237 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 22351 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22238 else 22352 else
22239 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22353 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22240 fi 22354 fi
@@ -22319,7 +22433,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22319_ACAWK 22433_ACAWK
22320_ACEOF 22434_ACEOF
22321cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22322 as_fn_error "could not setup config headers machinery" "$LINENO" 5 22436 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22323fi # test -n "$CONFIG_HEADERS" 22437fi # test -n "$CONFIG_HEADERS"
22324 22438
22325 22439
@@ -22332,7 +22446,7 @@ do
22332 esac 22446 esac
22333 case $ac_mode$ac_tag in 22447 case $ac_mode$ac_tag in
22334 :[FHL]*:*);; 22448 :[FHL]*:*);;
22335 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 22449 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
22336 :[FH]-) ac_tag=-:-;; 22450 :[FH]-) ac_tag=-:-;;
22337 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 22451 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22338 esac 22452 esac
@@ -22360,7 +22474,7 @@ do
22360 [\\/$]*) false;; 22474 [\\/$]*) false;;
22361 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 22475 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22362 esac || 22476 esac ||
22363 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 22477 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
22364 esac 22478 esac
22365 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 22479 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22366 as_fn_append ac_file_inputs " '$ac_f'" 22480 as_fn_append ac_file_inputs " '$ac_f'"
@@ -22387,7 +22501,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
22387 22501
22388 case $ac_tag in 22502 case $ac_tag in
22389 *:-:* | *:-) cat >"$tmp/stdin" \ 22503 *:-:* | *:-) cat >"$tmp/stdin" \
22390 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 22504 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22391 esac 22505 esac
22392 ;; 22506 ;;
22393 esac 22507 esac
@@ -22524,22 +22638,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
22524$ac_datarootdir_hack 22638$ac_datarootdir_hack
22525" 22639"
22526eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 22640eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22527 || as_fn_error "could not create $ac_file" "$LINENO" 5 22641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22528 22642
22529test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 22643test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22530 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 22644 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22531 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 22645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 22646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22533which seems to be undefined. Please make sure it is defined." >&5 22647which seems to be undefined. Please make sure it is defined" >&5
22534$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 22648$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22535which seems to be undefined. Please make sure it is defined." >&2;} 22649which seems to be undefined. Please make sure it is defined" >&2;}
22536 22650
22537 rm -f "$tmp/stdin" 22651 rm -f "$tmp/stdin"
22538 case $ac_file in 22652 case $ac_file in
22539 -) cat "$tmp/out" && rm -f "$tmp/out";; 22653 -) cat "$tmp/out" && rm -f "$tmp/out";;
22540 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 22654 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22541 esac \ 22655 esac \
22542 || as_fn_error "could not create $ac_file" "$LINENO" 5 22656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22543 ;; 22657 ;;
22544 :H) 22658 :H)
22545 # 22659 #
@@ -22550,19 +22664,19 @@ which seems to be undefined. Please make sure it is defined." >&2;}
22550 $as_echo "/* $configure_input */" \ 22664 $as_echo "/* $configure_input */" \
22551 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 22665 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22552 } >"$tmp/config.h" \ 22666 } >"$tmp/config.h" \
22553 || as_fn_error "could not create $ac_file" "$LINENO" 5 22667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22554 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 22668 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 22669 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22556$as_echo "$as_me: $ac_file is unchanged" >&6;} 22670$as_echo "$as_me: $ac_file is unchanged" >&6;}
22557 else 22671 else
22558 rm -f "$ac_file" 22672 rm -f "$ac_file"
22559 mv "$tmp/config.h" "$ac_file" \ 22673 mv "$tmp/config.h" "$ac_file" \
22560 || as_fn_error "could not create $ac_file" "$LINENO" 5 22674 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22561 fi 22675 fi
22562 else 22676 else
22563 $as_echo "/* $configure_input */" \ 22677 $as_echo "/* $configure_input */" \
22564 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 22678 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22565 || as_fn_error "could not create -" "$LINENO" 5 22679 || as_fn_error $? "could not create -" "$LINENO" 5
22566 fi 22680 fi
22567# Compute "$ac_file"'s index in $config_headers. 22681# Compute "$ac_file"'s index in $config_headers.
22568_am_arg="$ac_file" 22682_am_arg="$ac_file"
@@ -23520,7 +23634,7 @@ _ACEOF
23520ac_clean_files=$ac_clean_files_save 23634ac_clean_files=$ac_clean_files_save
23521 23635
23522test $ac_write_fail = 0 || 23636test $ac_write_fail = 0 ||
23523 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 23637 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23524 23638
23525 23639
23526# configure is writing to config.log, and then calls config.status. 23640# configure is writing to config.log, and then calls config.status.
@@ -23541,7 +23655,7 @@ if test "$no_create" != yes; then
23541 exec 5>>config.log 23655 exec 5>>config.log
23542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 23656 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23543 # would make configure fail if this is the last instruction. 23657 # would make configure fail if this is the last instruction.
23544 $ac_cs_success || as_fn_exit $? 23658 $ac_cs_success || as_fn_exit 1
23545fi 23659fi
23546if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 23660if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 23661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/libraries/eina/configure.ac b/libraries/eina/configure.ac
index 367ffe1..38fb13d 100644
--- a/libraries/eina/configure.ac
+++ b/libraries/eina/configure.ac
@@ -1,12 +1,12 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [1]) 4m4_define([v_min], [2])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-07]) 11dnl m4_define([relname], [ver-pre-svn-07])
12dnl m4_define([v_rel], [-release relname]) 12dnl m4_define([v_rel], [-release relname])
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 20
21AC_INIT([eina], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([eina], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.59]) 22AC_PREREQ([2.59])
23AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -316,7 +316,7 @@ case "$host_os" in
316 mingw*) 316 mingw*)
317 PKG_CHECK_MODULES([EVIL], [evil >= 1.0.0]) 317 PKG_CHECK_MODULES([EVIL], [evil >= 1.0.0])
318 AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if evil package is installed]) 318 AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if evil package is installed])
319 requirement_eina="evil" 319 requirement_eina="${requirement_eina} evil"
320 EFL_EINA_BUILD="-DEFL_EINA_BUILD" 320 EFL_EINA_BUILD="-DEFL_EINA_BUILD"
321 ;; 321 ;;
322esac 322esac
@@ -361,17 +361,14 @@ EFL_ATTRIBUTE_UNUSED
361 361
362have_wince="no" 362have_wince="no"
363have_win32="no" 363have_win32="no"
364EINA_CPPFLAGS=""
365EINA_CFLAGS="" 364EINA_CFLAGS=""
366case "$host_os" in 365case "$host_os" in
367 mingw32ce*) 366 mingw32ce*)
368 EINA_CPPFLAGS="-D_WIN32_WCE=0x0420"
369 EINA_CFLAGS="${EVIL_CFLAGS}" 367 EINA_CFLAGS="${EVIL_CFLAGS}"
370 have_win32="yes" 368 have_win32="yes"
371 have_wince="yes" 369 have_wince="yes"
372 ;; 370 ;;
373 mingw*) 371 mingw*)
374 EINA_CPPFLAGS="-D_WIN32_WINNT=0x0501"
375 EINA_CFLAGS="${EVIL_CFLAGS}" 372 EINA_CFLAGS="${EVIL_CFLAGS}"
376 have_win32="yes" 373 have_win32="yes"
377 ;; 374 ;;
@@ -387,41 +384,57 @@ m4_ifdef([v_mic],
387 384
388EFL_COMPILER_FLAG([-Wshadow]) 385EFL_COMPILER_FLAG([-Wshadow])
389 386
387### Checks for portability layer
388
389PKG_CHECK_MODULES([EXOTIC],
390 [exotic],
391 [enable_exotic="yes"],
392 [enable_exotic="no"])
393
394if test "x${enable_exotic}" = "xyes"; then
395 requirement_eina="exotic ${requirement_eina}"
396 EINA_CFLAGS="${EINA_CFLAGS} ${EXOTIC_CFLAGS}"
397 EINA_LIBS="${EXOTIC_LIBS}"
398
399 EINA_CONFIGURE_HAVE_EXOTIC="#define EINA_HAVE_EXOTIC"
400 AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
401fi
402AM_CONDITIONAL([EINA_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
403AC_SUBST([EINA_CONFIGURE_HAVE_EXOTIC])
404
390case "$host_vendor" in 405case "$host_vendor" in
391 ps3*) 406 ps3*)
392 PKG_CHECK_MODULES([ESCAPE], [escape]) 407 PKG_CHECK_MODULES([ESCAPE], [escape])
393 AC_DEFINE(HAVE_ESCAPE, 1, [Set to 1 if evil package is installed]) 408 AC_DEFINE(HAVE_ESCAPE, 1, [Set to 1 if Escape package is installed])
394 requirement_eina="escape" 409 requirement_eina="${requirement_eina} escape"
395 EINA_CFLAGS="${ESCAPE_CFLAGS} ${EINA_CFLAGS}" 410 EINA_CFLAGS="${ESCAPE_CFLAGS} ${EINA_CFLAGS}"
396 ;; 411 ;;
397esac 412esac
398 413
399AC_SUBST([EINA_CPPFLAGS])
400AC_SUBST([EINA_CFLAGS]) 414AC_SUBST([EINA_CFLAGS])
401 415
402
403### Checks for linker characteristics 416### Checks for linker characteristics
404EINA_LIBS= 417EINA_LIBS=
405lt_enable_auto_import="" 418lt_enable_auto_import=""
406case "${host_os}" in 419case "${host_os}" in
407 mingw*) 420 mingw*)
408 EINA_LIBS="-ldl ${EVIL_LIBS} -lm" 421 EINA_LIBS="${EINA_LIBS} -ldl ${EVIL_LIBS} -lm"
409 lt_enable_auto_import="-Wl,--enable-auto-import" 422 lt_enable_auto_import="-Wl,--enable-auto-import"
410 ;; 423 ;;
411 dragonfly*|openbsd*) 424 dragonfly*|openbsd*)
412 EINA_LIBS="-lm" 425 EINA_LIBS="${EINA_LIBS} -lm"
413 ;; 426 ;;
414 freebsd*|netbsd*) 427 freebsd*|netbsd*)
415 EINA_LIBS="-lrt -lm" 428 EINA_LIBS="${EINA_LIBS} -lrt -lm"
416 ;; 429 ;;
417 darwin*) 430 darwin*)
418 EINA_LIBS="-lm" 431 EINA_LIBS="${EINA_LIBS} -lm"
419 ;; 432 ;;
420 cygwin*) 433 cygwin*)
421 EINA_LIBS="-ldl -lm" 434 EINA_LIBS="${EINA_LIBS} -ldl -lm"
422 ;; 435 ;;
423 *) 436 *)
424 EINA_LIBS="-ldl -lrt -lm" 437 EINA_LIBS="${EINA_LIBS} -lrt -ldl -lm"
425 ;; 438 ;;
426esac 439esac
427case "$host_vendor" in 440case "$host_vendor" in
@@ -443,7 +456,7 @@ LIBS="${LIBS} ${EINA_LIBS}"
443AC_HEADER_ASSERT 456AC_HEADER_ASSERT
444AC_HEADER_TIME 457AC_HEADER_TIME
445EFL_CHECK_PATH_MAX 458EFL_CHECK_PATH_MAX
446AC_CHECK_HEADERS([unistd.h libgen.h inttypes.h stdint.h sys/types.h siginfo.h strings.h sys/mman.h]) 459AC_CHECK_HEADERS([unistd.h libgen.h inttypes.h stdint.h sys/types.h siginfo.h strings.h sys/mman.h execinfo.h])
447 460
448if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then 461if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
449 EINA_CONFIGURE_HAVE_INTTYPES_H="#define EINA_HAVE_INTTYPES_H" 462 EINA_CONFIGURE_HAVE_INTTYPES_H="#define EINA_HAVE_INTTYPES_H"
@@ -484,7 +497,7 @@ AC_SUBST([EINA_CONFIGURE_HAVE_DIRENT_H])
484### Checks for library functions 497### Checks for library functions
485AC_ISC_POSIX 498AC_ISC_POSIX
486AC_FUNC_ALLOCA 499AC_FUNC_ALLOCA
487AC_CHECK_FUNCS([strlcpy openat fstatat fpathconf execvp]) 500AC_CHECK_FUNCS([strlcpy openat fstatat fpathconf execvp backtrace backtrace_symbols])
488 501
489AC_MSG_CHECKING([for dirfd]) 502AC_MSG_CHECKING([for dirfd])
490AC_LINK_IFELSE( 503AC_LINK_IFELSE(
@@ -785,7 +798,7 @@ if test -n "$CXX" && test "x$enable_benchmark" = "xyes" ; then
785fi 798fi
786AM_CONDITIONAL([CITYHASH_BENCH], [test -n "$CXX" && test "x$enable_benchmark" = "xyes"]) 799AM_CONDITIONAL([CITYHASH_BENCH], [test -n "$CXX" && test "x$enable_benchmark" = "xyes"])
787 800
788AC_SUBST(requirement_eina) 801AC_SUBST([requirement_eina])
789 802
790### Build and install examples 803### Build and install examples
791EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"]) 804EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
diff --git a/libraries/eina/doc/Makefile.am b/libraries/eina/doc/Makefile.am
index 7856c13..33a2c9b 100644
--- a/libraries/eina/doc/Makefile.am
+++ b/libraries/eina/doc/Makefile.am
@@ -20,7 +20,8 @@ doc: all
20 bzip2 -9 $(PACKAGE_DOCNAME).tar 20 bzip2 -9 $(PACKAGE_DOCNAME).tar
21 rm -rf $(PACKAGE_DOCNAME)/ 21 rm -rf $(PACKAGE_DOCNAME)/
22 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir) 22 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
23 @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2" 23 @echo "Documentation Package: doc/$(PACKAGE_DOCNAME).tar.bz2"
24 @echo "Documentation HTML: doc/html"
24 25
25clean-local: doc-clean 26clean-local: doc-clean
26 27
diff --git a/libraries/eina/doc/Makefile.in b/libraries/eina/doc/Makefile.in
index 7331cf1..d2de754 100644
--- a/libraries/eina/doc/Makefile.in
+++ b/libraries/eina/doc/Makefile.in
@@ -37,20 +37,24 @@ subdir = doc
37DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \ 37DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in 38 $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -111,13 +115,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
111EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 115EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
112EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 116EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
113EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 117EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
118EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
114EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 119EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
115EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 120EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
116EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 121EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
117EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 122EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
118EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 123EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
119EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 124EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
120EINA_CPPFLAGS = @EINA_CPPFLAGS@
121EINA_LIBS = @EINA_LIBS@ 125EINA_LIBS = @EINA_LIBS@
122EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 126EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
123EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 127EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -127,6 +131,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
127EVIL_CFLAGS = @EVIL_CFLAGS@ 131EVIL_CFLAGS = @EVIL_CFLAGS@
128EVIL_LIBS = @EVIL_LIBS@ 132EVIL_LIBS = @EVIL_LIBS@
129EXEEXT = @EXEEXT@ 133EXEEXT = @EXEEXT@
134EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
135EXOTIC_LIBS = @EXOTIC_LIBS@
130FGREP = @FGREP@ 136FGREP = @FGREP@
131GLIB_CFLAGS = @GLIB_CFLAGS@ 137GLIB_CFLAGS = @GLIB_CFLAGS@
132GLIB_LIBS = @GLIB_LIBS@ 138GLIB_LIBS = @GLIB_LIBS@
@@ -162,6 +168,8 @@ PACKAGE_URL = @PACKAGE_URL@
162PACKAGE_VERSION = @PACKAGE_VERSION@ 168PACKAGE_VERSION = @PACKAGE_VERSION@
163PATH_SEPARATOR = @PATH_SEPARATOR@ 169PATH_SEPARATOR = @PATH_SEPARATOR@
164PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
165RANLIB = @RANLIB@ 173RANLIB = @RANLIB@
166SED = @SED@ 174SED = @SED@
167SET_MAKE = @SET_MAKE@ 175SET_MAKE = @SET_MAKE@
@@ -449,7 +457,8 @@ uninstall-am:
449@EFL_BUILD_DOC_TRUE@ bzip2 -9 $(PACKAGE_DOCNAME).tar 457@EFL_BUILD_DOC_TRUE@ bzip2 -9 $(PACKAGE_DOCNAME).tar
450@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME)/ 458@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME)/
451@EFL_BUILD_DOC_TRUE@ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir) 459@EFL_BUILD_DOC_TRUE@ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
452@EFL_BUILD_DOC_TRUE@ @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2" 460@EFL_BUILD_DOC_TRUE@ @echo "Documentation Package: doc/$(PACKAGE_DOCNAME).tar.bz2"
461@EFL_BUILD_DOC_TRUE@ @echo "Documentation HTML: doc/html"
453 462
454@EFL_BUILD_DOC_TRUE@clean-local: doc-clean 463@EFL_BUILD_DOC_TRUE@clean-local: doc-clean
455 464
diff --git a/libraries/eina/eina.pc b/libraries/eina/eina.pc
index 0ca596f..68f77e4 100644
--- a/libraries/eina/eina.pc
+++ b/libraries/eina/eina.pc
@@ -1,4 +1,4 @@
1prefix=/opt/e17 1prefix=/usr/local
2exec_prefix=${prefix} 2exec_prefix=${prefix}
3libdir=${exec_prefix}/lib 3libdir=${exec_prefix}/lib
4includedir=${prefix}/include 4includedir=${prefix}/include
@@ -6,7 +6,7 @@ includedir=${prefix}/include
6Name: Eina 6Name: Eina
7Description: A Library that implements fast data types and miscellaneous tools 7Description: A Library that implements fast data types and miscellaneous tools
8Requires.private: valgrind 8Requires.private: valgrind
9Version: 1.1.99.67344 9Version: 1.2.0-alpha
10Libs: -L${libdir} -leina -pthread 10Libs: -L${libdir} -leina -pthread
11Libs.private: -pthread -lrt -ldl -lrt -lm 11Libs.private: -pthread -lrt -lrt -ldl -lm
12Cflags: -I${includedir}/eina-1 -I${includedir}/eina-1/eina 12Cflags: -I${includedir}/eina-1 -I${includedir}/eina-1/eina
diff --git a/libraries/eina/eina.spec b/libraries/eina/eina.spec
index 0ad6732..fc564c6 100644
--- a/libraries/eina/eina.spec
+++ b/libraries/eina/eina.spec
@@ -3,7 +3,7 @@
3 3
4Summary: Data Type Library 4Summary: Data Type Library
5Name: eina 5Name: eina
6Version: 1.1.99.67344 6Version: 1.2.0-alpha
7Release: %{_rel} 7Release: %{_rel}
8License: LGPLv2.1 8License: LGPLv2.1
9Group: System Environment/Libraries 9Group: System Environment/Libraries
diff --git a/libraries/eina/ltmain.sh b/libraries/eina/ltmain.sh
index 7ed280b..fa4b1e1 100755
--- a/libraries/eina/ltmain.sh
+++ b/libraries/eina/ltmain.sh
@@ -65,7 +65,7 @@
65# compiler: $LTCC 65# compiler: $LTCC
66# compiler flags: $LTCFLAGS 66# compiler flags: $LTCFLAGS
67# linker: $LD (gnu? $with_gnu_ld) 67# linker: $LD (gnu? $with_gnu_ld)
68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
69# automake: $automake_version 69# automake: $automake_version
70# autoconf: $autoconf_version 70# autoconf: $autoconf_version
71# 71#
@@ -73,7 +73,7 @@
73 73
74PROGRAM=ltmain.sh 74PROGRAM=ltmain.sh
75PACKAGE=libtool 75PACKAGE=libtool
76VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" 76VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
77TIMESTAMP="" 77TIMESTAMP=""
78package_revision=1.3017 78package_revision=1.3017
79 79
diff --git a/libraries/eina/src/Makefile.in b/libraries/eina/src/Makefile.in
index eb3a2c0..9076215 100644
--- a/libraries/eina/src/Makefile.in
+++ b/libraries/eina/src/Makefile.in
@@ -36,20 +36,24 @@ host_triplet = @host@
36subdir = src 36subdir = src
37DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 37DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
38ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 38ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 39am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
40 $(top_srcdir)/m4/efl_benchmark.m4 \ 40 $(top_srcdir)/m4/eina/eina_check.m4 \
41 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 41 $(top_srcdir)/m4/common/efl_attribute.m4 \
42 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 42 $(top_srcdir)/m4/common/efl_benchmark.m4 \
43 $(top_srcdir)/m4/efl_doxygen.m4 \ 43 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
44 $(top_srcdir)/m4/efl_examples.m4 \ 44 $(top_srcdir)/m4/common/efl_coverage.m4 \
45 $(top_srcdir)/m4/efl_fnmatch.m4 \ 45 $(top_srcdir)/m4/common/efl_cpu.m4 \
46 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 46 $(top_srcdir)/m4/common/efl_doxygen.m4 \
47 $(top_srcdir)/m4/efl_threads.m4 \ 47 $(top_srcdir)/m4/common/efl_examples.m4 \
48 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 48 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
49 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 49 $(top_srcdir)/m4/common/efl_path_max.m4 \
50 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 50 $(top_srcdir)/m4/common/efl_tests.m4 \
51 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 51 $(top_srcdir)/m4/common/efl_threads.m4 \
52 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 52 $(top_srcdir)/m4/common/efl_voltron.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
56 $(top_srcdir)/configure.ac
53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
55mkinstalldirs = $(install_sh) -d 59mkinstalldirs = $(install_sh) -d
@@ -150,13 +154,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
150EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 154EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
151EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 155EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
152EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 156EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
157EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
153EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 158EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
154EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 159EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
155EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 160EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
156EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 161EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
157EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 162EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
158EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 163EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
159EINA_CPPFLAGS = @EINA_CPPFLAGS@
160EINA_LIBS = @EINA_LIBS@ 164EINA_LIBS = @EINA_LIBS@
161EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 165EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
162EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 166EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -166,6 +170,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
166EVIL_CFLAGS = @EVIL_CFLAGS@ 170EVIL_CFLAGS = @EVIL_CFLAGS@
167EVIL_LIBS = @EVIL_LIBS@ 171EVIL_LIBS = @EVIL_LIBS@
168EXEEXT = @EXEEXT@ 172EXEEXT = @EXEEXT@
173EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
174EXOTIC_LIBS = @EXOTIC_LIBS@
169FGREP = @FGREP@ 175FGREP = @FGREP@
170GLIB_CFLAGS = @GLIB_CFLAGS@ 176GLIB_CFLAGS = @GLIB_CFLAGS@
171GLIB_LIBS = @GLIB_LIBS@ 177GLIB_LIBS = @GLIB_LIBS@
@@ -201,6 +207,8 @@ PACKAGE_URL = @PACKAGE_URL@
201PACKAGE_VERSION = @PACKAGE_VERSION@ 207PACKAGE_VERSION = @PACKAGE_VERSION@
202PATH_SEPARATOR = @PATH_SEPARATOR@ 208PATH_SEPARATOR = @PATH_SEPARATOR@
203PKG_CONFIG = @PKG_CONFIG@ 209PKG_CONFIG = @PKG_CONFIG@
210PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
211PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204RANLIB = @RANLIB@ 212RANLIB = @RANLIB@
205SED = @SED@ 213SED = @SED@
206SET_MAKE = @SET_MAKE@ 214SET_MAKE = @SET_MAKE@
diff --git a/libraries/eina/src/examples/Makefile.am b/libraries/eina/src/examples/Makefile.am
index 45b72f0..c8d80f9 100644
--- a/libraries/eina/src/examples/Makefile.am
+++ b/libraries/eina/src/examples/Makefile.am
@@ -37,7 +37,14 @@ SRCS = \
37 eina_inlist_03.c \ 37 eina_inlist_03.c \
38 eina_str_01.c \ 38 eina_str_01.c \
39 eina_strbuf_01.c \ 39 eina_strbuf_01.c \
40 eina_tiler_01.c 40 eina_tiler_01.c \
41 eina_model_01.c \
42 eina_model_02.c \
43 eina_model_03.c \
44 eina_value_01.c \
45 eina_value_02.c \
46 eina_value_03.c \
47 eina_inarray_01.c
41 48
42examples_PROGRAMS = 49examples_PROGRAMS =
43 50
@@ -73,7 +80,24 @@ examples_PROGRAMS += \
73 eina_inlist_02 \ 80 eina_inlist_02 \
74 eina_inlist_03 \ 81 eina_inlist_03 \
75 eina_str_01 \ 82 eina_str_01 \
76 eina_strbuf_01 83 eina_strbuf_01 \
84 eina_model_01 \
85 eina_model_02 \
86 eina_model_03 \
87 eina_model_04 \
88 eina_value_01 \
89 eina_value_02 \
90 eina_value_03 \
91 eina_inarray_01
92
93eina_model_04_SOURCES = \
94 eina_model_04_animal.c \
95 eina_model_04_child.c \
96 eina_model_04_human.c \
97 eina_model_04_main.c \
98 eina_model_04_parrot.c \
99 eina_model_04_whistler.c
100
77 101
78if BUILD_TILER_EXAMPLE 102if BUILD_TILER_EXAMPLE
79AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@ 103AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
diff --git a/libraries/eina/src/examples/Makefile.in b/libraries/eina/src/examples/Makefile.in
index 6e432bb..fba8439 100644
--- a/libraries/eina/src/examples/Makefile.in
+++ b/libraries/eina/src/examples/Makefile.in
@@ -62,27 +62,39 @@ examples_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2)
62@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_02 \ 62@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_02 \
63@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_03 \ 63@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_03 \
64@EFL_BUILD_EXAMPLES_TRUE@ eina_str_01 \ 64@EFL_BUILD_EXAMPLES_TRUE@ eina_str_01 \
65@EFL_BUILD_EXAMPLES_TRUE@ eina_strbuf_01 65@EFL_BUILD_EXAMPLES_TRUE@ eina_strbuf_01 \
66@EFL_BUILD_EXAMPLES_TRUE@ eina_model_01 \
67@EFL_BUILD_EXAMPLES_TRUE@ eina_model_02 \
68@EFL_BUILD_EXAMPLES_TRUE@ eina_model_03 \
69@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04 \
70@EFL_BUILD_EXAMPLES_TRUE@ eina_value_01 \
71@EFL_BUILD_EXAMPLES_TRUE@ eina_value_02 \
72@EFL_BUILD_EXAMPLES_TRUE@ eina_value_03 \
73@EFL_BUILD_EXAMPLES_TRUE@ eina_inarray_01
66 74
67@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@am__append_2 = @ECORE_EVAS_CFLAGS@ 75@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@am__append_2 = @ECORE_EVAS_CFLAGS@
68@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@am__append_3 = eina_tiler_01 76@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@am__append_3 = eina_tiler_01
69subdir = src/examples 77subdir = src/examples
70DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 78DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
71ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 79ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
72am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 80am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
73 $(top_srcdir)/m4/efl_benchmark.m4 \ 81 $(top_srcdir)/m4/eina/eina_check.m4 \
74 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 82 $(top_srcdir)/m4/common/efl_attribute.m4 \
75 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 83 $(top_srcdir)/m4/common/efl_benchmark.m4 \
76 $(top_srcdir)/m4/efl_doxygen.m4 \ 84 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
77 $(top_srcdir)/m4/efl_examples.m4 \ 85 $(top_srcdir)/m4/common/efl_coverage.m4 \
78 $(top_srcdir)/m4/efl_fnmatch.m4 \ 86 $(top_srcdir)/m4/common/efl_cpu.m4 \
79 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 87 $(top_srcdir)/m4/common/efl_doxygen.m4 \
80 $(top_srcdir)/m4/efl_threads.m4 \ 88 $(top_srcdir)/m4/common/efl_examples.m4 \
81 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 89 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
82 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 90 $(top_srcdir)/m4/common/efl_path_max.m4 \
83 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 91 $(top_srcdir)/m4/common/efl_tests.m4 \
84 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 92 $(top_srcdir)/m4/common/efl_threads.m4 \
85 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 93 $(top_srcdir)/m4/common/efl_voltron.m4 \
94 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
95 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
96 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
97 $(top_srcdir)/configure.ac
86am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 98am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87 $(ACLOCAL_M4) 99 $(ACLOCAL_M4)
88mkinstalldirs = $(install_sh) -d 100mkinstalldirs = $(install_sh) -d
@@ -114,7 +126,15 @@ CONFIG_CLEAN_VPATH_FILES =
114@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_02$(EXEEXT) \ 126@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_02$(EXEEXT) \
115@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_03$(EXEEXT) \ 127@EFL_BUILD_EXAMPLES_TRUE@ eina_inlist_03$(EXEEXT) \
116@EFL_BUILD_EXAMPLES_TRUE@ eina_str_01$(EXEEXT) \ 128@EFL_BUILD_EXAMPLES_TRUE@ eina_str_01$(EXEEXT) \
117@EFL_BUILD_EXAMPLES_TRUE@ eina_strbuf_01$(EXEEXT) 129@EFL_BUILD_EXAMPLES_TRUE@ eina_strbuf_01$(EXEEXT) \
130@EFL_BUILD_EXAMPLES_TRUE@ eina_model_01$(EXEEXT) \
131@EFL_BUILD_EXAMPLES_TRUE@ eina_model_02$(EXEEXT) \
132@EFL_BUILD_EXAMPLES_TRUE@ eina_model_03$(EXEEXT) \
133@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04$(EXEEXT) \
134@EFL_BUILD_EXAMPLES_TRUE@ eina_value_01$(EXEEXT) \
135@EFL_BUILD_EXAMPLES_TRUE@ eina_value_02$(EXEEXT) \
136@EFL_BUILD_EXAMPLES_TRUE@ eina_value_03$(EXEEXT) \
137@EFL_BUILD_EXAMPLES_TRUE@ eina_inarray_01$(EXEEXT)
118@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@am__EXEEXT_2 = eina_tiler_01$(EXEEXT) 138@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@am__EXEEXT_2 = eina_tiler_01$(EXEEXT)
119am__installdirs = "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(filesdir)" 139am__installdirs = "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(filesdir)"
120PROGRAMS = $(examples_PROGRAMS) 140PROGRAMS = $(examples_PROGRAMS)
@@ -173,6 +193,10 @@ eina_hash_08_SOURCES = eina_hash_08.c
173eina_hash_08_OBJECTS = eina_hash_08.$(OBJEXT) 193eina_hash_08_OBJECTS = eina_hash_08.$(OBJEXT)
174eina_hash_08_LDADD = $(LDADD) 194eina_hash_08_LDADD = $(LDADD)
175eina_hash_08_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la 195eina_hash_08_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
196eina_inarray_01_SOURCES = eina_inarray_01.c
197eina_inarray_01_OBJECTS = eina_inarray_01.$(OBJEXT)
198eina_inarray_01_LDADD = $(LDADD)
199eina_inarray_01_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
176eina_inlist_01_SOURCES = eina_inlist_01.c 200eina_inlist_01_SOURCES = eina_inlist_01.c
177eina_inlist_01_OBJECTS = eina_inlist_01.$(OBJEXT) 201eina_inlist_01_OBJECTS = eina_inlist_01.$(OBJEXT)
178eina_inlist_01_LDADD = $(LDADD) 202eina_inlist_01_LDADD = $(LDADD)
@@ -217,6 +241,32 @@ eina_log_03_SOURCES = eina_log_03.c
217eina_log_03_OBJECTS = eina_log_03.$(OBJEXT) 241eina_log_03_OBJECTS = eina_log_03.$(OBJEXT)
218eina_log_03_LDADD = $(LDADD) 242eina_log_03_LDADD = $(LDADD)
219eina_log_03_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la 243eina_log_03_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
244eina_model_01_SOURCES = eina_model_01.c
245eina_model_01_OBJECTS = eina_model_01.$(OBJEXT)
246eina_model_01_LDADD = $(LDADD)
247eina_model_01_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
248eina_model_02_SOURCES = eina_model_02.c
249eina_model_02_OBJECTS = eina_model_02.$(OBJEXT)
250eina_model_02_LDADD = $(LDADD)
251eina_model_02_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
252eina_model_03_SOURCES = eina_model_03.c
253eina_model_03_OBJECTS = eina_model_03.$(OBJEXT)
254eina_model_03_LDADD = $(LDADD)
255eina_model_03_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
256am__eina_model_04_SOURCES_DIST = eina_model_04_animal.c \
257 eina_model_04_child.c eina_model_04_human.c \
258 eina_model_04_main.c eina_model_04_parrot.c \
259 eina_model_04_whistler.c
260@EFL_BUILD_EXAMPLES_TRUE@am_eina_model_04_OBJECTS = \
261@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_animal.$(OBJEXT) \
262@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_child.$(OBJEXT) \
263@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_human.$(OBJEXT) \
264@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_main.$(OBJEXT) \
265@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_parrot.$(OBJEXT) \
266@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_whistler.$(OBJEXT)
267eina_model_04_OBJECTS = $(am_eina_model_04_OBJECTS)
268eina_model_04_LDADD = $(LDADD)
269eina_model_04_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
220eina_str_01_SOURCES = eina_str_01.c 270eina_str_01_SOURCES = eina_str_01.c
221eina_str_01_OBJECTS = eina_str_01.$(OBJEXT) 271eina_str_01_OBJECTS = eina_str_01.$(OBJEXT)
222eina_str_01_LDADD = $(LDADD) 272eina_str_01_LDADD = $(LDADD)
@@ -228,6 +278,18 @@ eina_strbuf_01_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
228eina_tiler_01_SOURCES = eina_tiler_01.c 278eina_tiler_01_SOURCES = eina_tiler_01.c
229eina_tiler_01_OBJECTS = eina_tiler_01.$(OBJEXT) 279eina_tiler_01_OBJECTS = eina_tiler_01.$(OBJEXT)
230@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@eina_tiler_01_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la 280@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@eina_tiler_01_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
281eina_value_01_SOURCES = eina_value_01.c
282eina_value_01_OBJECTS = eina_value_01.$(OBJEXT)
283eina_value_01_LDADD = $(LDADD)
284eina_value_01_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
285eina_value_02_SOURCES = eina_value_02.c
286eina_value_02_OBJECTS = eina_value_02.$(OBJEXT)
287eina_value_02_LDADD = $(LDADD)
288eina_value_02_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
289eina_value_03_SOURCES = eina_value_03.c
290eina_value_03_OBJECTS = eina_value_03.$(OBJEXT)
291eina_value_03_LDADD = $(LDADD)
292eina_value_03_DEPENDENCIES = $(top_builddir)/src/lib/libeina.la
231DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 293DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
232depcomp = $(SHELL) $(top_srcdir)/depcomp 294depcomp = $(SHELL) $(top_srcdir)/depcomp
233am__depfiles_maybe = depfiles 295am__depfiles_maybe = depfiles
@@ -257,19 +319,25 @@ am__v_GEN_0 = @echo " GEN " $@;
257SOURCES = eina_accessor_01.c eina_array_01.c eina_array_02.c \ 319SOURCES = eina_accessor_01.c eina_array_01.c eina_array_02.c \
258 eina_error_01.c eina_file_01.c eina_hash_01.c eina_hash_02.c \ 320 eina_error_01.c eina_file_01.c eina_hash_01.c eina_hash_02.c \
259 eina_hash_03.c eina_hash_04.c eina_hash_05.c eina_hash_06.c \ 321 eina_hash_03.c eina_hash_04.c eina_hash_05.c eina_hash_06.c \
260 eina_hash_07.c eina_hash_08.c eina_inlist_01.c \ 322 eina_hash_07.c eina_hash_08.c eina_inarray_01.c \
261 eina_inlist_02.c eina_inlist_03.c eina_iterator_01.c \ 323 eina_inlist_01.c eina_inlist_02.c eina_inlist_03.c \
262 eina_list_01.c eina_list_02.c eina_list_03.c eina_list_04.c \ 324 eina_iterator_01.c eina_list_01.c eina_list_02.c \
263 eina_log_01.c eina_log_02.c eina_log_03.c eina_str_01.c \ 325 eina_list_03.c eina_list_04.c eina_log_01.c eina_log_02.c \
264 eina_strbuf_01.c eina_tiler_01.c 326 eina_log_03.c eina_model_01.c eina_model_02.c eina_model_03.c \
327 $(eina_model_04_SOURCES) eina_str_01.c eina_strbuf_01.c \
328 eina_tiler_01.c eina_value_01.c eina_value_02.c \
329 eina_value_03.c
265DIST_SOURCES = eina_accessor_01.c eina_array_01.c eina_array_02.c \ 330DIST_SOURCES = eina_accessor_01.c eina_array_01.c eina_array_02.c \
266 eina_error_01.c eina_file_01.c eina_hash_01.c eina_hash_02.c \ 331 eina_error_01.c eina_file_01.c eina_hash_01.c eina_hash_02.c \
267 eina_hash_03.c eina_hash_04.c eina_hash_05.c eina_hash_06.c \ 332 eina_hash_03.c eina_hash_04.c eina_hash_05.c eina_hash_06.c \
268 eina_hash_07.c eina_hash_08.c eina_inlist_01.c \ 333 eina_hash_07.c eina_hash_08.c eina_inarray_01.c \
269 eina_inlist_02.c eina_inlist_03.c eina_iterator_01.c \ 334 eina_inlist_01.c eina_inlist_02.c eina_inlist_03.c \
270 eina_list_01.c eina_list_02.c eina_list_03.c eina_list_04.c \ 335 eina_iterator_01.c eina_list_01.c eina_list_02.c \
271 eina_log_01.c eina_log_02.c eina_log_03.c eina_str_01.c \ 336 eina_list_03.c eina_list_04.c eina_log_01.c eina_log_02.c \
272 eina_strbuf_01.c eina_tiler_01.c 337 eina_log_03.c eina_model_01.c eina_model_02.c eina_model_03.c \
338 $(am__eina_model_04_SOURCES_DIST) eina_str_01.c \
339 eina_strbuf_01.c eina_tiler_01.c eina_value_01.c \
340 eina_value_02.c eina_value_03.c
273am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 341am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
274am__vpath_adj = case $$p in \ 342am__vpath_adj = case $$p in \
275 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 343 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -340,13 +408,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
340EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 408EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
341EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 409EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
342EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 410EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
411EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
343EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 412EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
344EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 413EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
345EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 414EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
346EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 415EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
347EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 416EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
348EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 417EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
349EINA_CPPFLAGS = @EINA_CPPFLAGS@
350EINA_LIBS = @EINA_LIBS@ 418EINA_LIBS = @EINA_LIBS@
351EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 419EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
352EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 420EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -356,6 +424,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
356EVIL_CFLAGS = @EVIL_CFLAGS@ 424EVIL_CFLAGS = @EVIL_CFLAGS@
357EVIL_LIBS = @EVIL_LIBS@ 425EVIL_LIBS = @EVIL_LIBS@
358EXEEXT = @EXEEXT@ 426EXEEXT = @EXEEXT@
427EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
428EXOTIC_LIBS = @EXOTIC_LIBS@
359FGREP = @FGREP@ 429FGREP = @FGREP@
360GLIB_CFLAGS = @GLIB_CFLAGS@ 430GLIB_CFLAGS = @GLIB_CFLAGS@
361GLIB_LIBS = @GLIB_LIBS@ 431GLIB_LIBS = @GLIB_LIBS@
@@ -391,6 +461,8 @@ PACKAGE_URL = @PACKAGE_URL@
391PACKAGE_VERSION = @PACKAGE_VERSION@ 461PACKAGE_VERSION = @PACKAGE_VERSION@
392PATH_SEPARATOR = @PATH_SEPARATOR@ 462PATH_SEPARATOR = @PATH_SEPARATOR@
393PKG_CONFIG = @PKG_CONFIG@ 463PKG_CONFIG = @PKG_CONFIG@
464PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
465PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
394RANLIB = @RANLIB@ 466RANLIB = @RANLIB@
395SED = @SED@ 467SED = @SED@
396SET_MAKE = @SET_MAKE@ 468SET_MAKE = @SET_MAKE@
@@ -498,10 +570,25 @@ SRCS = \
498 eina_inlist_03.c \ 570 eina_inlist_03.c \
499 eina_str_01.c \ 571 eina_str_01.c \
500 eina_strbuf_01.c \ 572 eina_strbuf_01.c \
501 eina_tiler_01.c 573 eina_tiler_01.c \
574 eina_model_01.c \
575 eina_model_02.c \
576 eina_model_03.c \
577 eina_value_01.c \
578 eina_value_02.c \
579 eina_value_03.c \
580 eina_inarray_01.c
502 581
503@EFL_INSTALL_EXAMPLES_TRUE@filesdir = $(datadir)/$(PACKAGE)/examples 582@EFL_INSTALL_EXAMPLES_TRUE@filesdir = $(datadir)/$(PACKAGE)/examples
504@EFL_INSTALL_EXAMPLES_TRUE@files_DATA = $(SRCS) 583@EFL_INSTALL_EXAMPLES_TRUE@files_DATA = $(SRCS)
584@EFL_BUILD_EXAMPLES_TRUE@eina_model_04_SOURCES = \
585@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_animal.c \
586@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_child.c \
587@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_human.c \
588@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_main.c \
589@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_parrot.c \
590@EFL_BUILD_EXAMPLES_TRUE@ eina_model_04_whistler.c
591
505@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@eina_tiler_01_LDADD = $(top_builddir)/src/lib/libeina.la @ECORE_EVAS_LIBS@ 592@BUILD_TILER_EXAMPLE_TRUE@@EFL_BUILD_EXAMPLES_TRUE@eina_tiler_01_LDADD = $(top_builddir)/src/lib/libeina.la @ECORE_EVAS_LIBS@
506all: all-am 593all: all-am
507 594
@@ -619,6 +706,9 @@ eina_hash_07$(EXEEXT): $(eina_hash_07_OBJECTS) $(eina_hash_07_DEPENDENCIES)
619eina_hash_08$(EXEEXT): $(eina_hash_08_OBJECTS) $(eina_hash_08_DEPENDENCIES) 706eina_hash_08$(EXEEXT): $(eina_hash_08_OBJECTS) $(eina_hash_08_DEPENDENCIES)
620 @rm -f eina_hash_08$(EXEEXT) 707 @rm -f eina_hash_08$(EXEEXT)
621 $(AM_V_CCLD)$(LINK) $(eina_hash_08_OBJECTS) $(eina_hash_08_LDADD) $(LIBS) 708 $(AM_V_CCLD)$(LINK) $(eina_hash_08_OBJECTS) $(eina_hash_08_LDADD) $(LIBS)
709eina_inarray_01$(EXEEXT): $(eina_inarray_01_OBJECTS) $(eina_inarray_01_DEPENDENCIES)
710 @rm -f eina_inarray_01$(EXEEXT)
711 $(AM_V_CCLD)$(LINK) $(eina_inarray_01_OBJECTS) $(eina_inarray_01_LDADD) $(LIBS)
622eina_inlist_01$(EXEEXT): $(eina_inlist_01_OBJECTS) $(eina_inlist_01_DEPENDENCIES) 712eina_inlist_01$(EXEEXT): $(eina_inlist_01_OBJECTS) $(eina_inlist_01_DEPENDENCIES)
623 @rm -f eina_inlist_01$(EXEEXT) 713 @rm -f eina_inlist_01$(EXEEXT)
624 $(AM_V_CCLD)$(LINK) $(eina_inlist_01_OBJECTS) $(eina_inlist_01_LDADD) $(LIBS) 714 $(AM_V_CCLD)$(LINK) $(eina_inlist_01_OBJECTS) $(eina_inlist_01_LDADD) $(LIBS)
@@ -652,6 +742,18 @@ eina_log_02$(EXEEXT): $(eina_log_02_OBJECTS) $(eina_log_02_DEPENDENCIES)
652eina_log_03$(EXEEXT): $(eina_log_03_OBJECTS) $(eina_log_03_DEPENDENCIES) 742eina_log_03$(EXEEXT): $(eina_log_03_OBJECTS) $(eina_log_03_DEPENDENCIES)
653 @rm -f eina_log_03$(EXEEXT) 743 @rm -f eina_log_03$(EXEEXT)
654 $(AM_V_CCLD)$(LINK) $(eina_log_03_OBJECTS) $(eina_log_03_LDADD) $(LIBS) 744 $(AM_V_CCLD)$(LINK) $(eina_log_03_OBJECTS) $(eina_log_03_LDADD) $(LIBS)
745eina_model_01$(EXEEXT): $(eina_model_01_OBJECTS) $(eina_model_01_DEPENDENCIES)
746 @rm -f eina_model_01$(EXEEXT)
747 $(AM_V_CCLD)$(LINK) $(eina_model_01_OBJECTS) $(eina_model_01_LDADD) $(LIBS)
748eina_model_02$(EXEEXT): $(eina_model_02_OBJECTS) $(eina_model_02_DEPENDENCIES)
749 @rm -f eina_model_02$(EXEEXT)
750 $(AM_V_CCLD)$(LINK) $(eina_model_02_OBJECTS) $(eina_model_02_LDADD) $(LIBS)
751eina_model_03$(EXEEXT): $(eina_model_03_OBJECTS) $(eina_model_03_DEPENDENCIES)
752 @rm -f eina_model_03$(EXEEXT)
753 $(AM_V_CCLD)$(LINK) $(eina_model_03_OBJECTS) $(eina_model_03_LDADD) $(LIBS)
754eina_model_04$(EXEEXT): $(eina_model_04_OBJECTS) $(eina_model_04_DEPENDENCIES)
755 @rm -f eina_model_04$(EXEEXT)
756 $(AM_V_CCLD)$(LINK) $(eina_model_04_OBJECTS) $(eina_model_04_LDADD) $(LIBS)
655eina_str_01$(EXEEXT): $(eina_str_01_OBJECTS) $(eina_str_01_DEPENDENCIES) 757eina_str_01$(EXEEXT): $(eina_str_01_OBJECTS) $(eina_str_01_DEPENDENCIES)
656 @rm -f eina_str_01$(EXEEXT) 758 @rm -f eina_str_01$(EXEEXT)
657 $(AM_V_CCLD)$(LINK) $(eina_str_01_OBJECTS) $(eina_str_01_LDADD) $(LIBS) 759 $(AM_V_CCLD)$(LINK) $(eina_str_01_OBJECTS) $(eina_str_01_LDADD) $(LIBS)
@@ -661,6 +763,15 @@ eina_strbuf_01$(EXEEXT): $(eina_strbuf_01_OBJECTS) $(eina_strbuf_01_DEPENDENCIES
661eina_tiler_01$(EXEEXT): $(eina_tiler_01_OBJECTS) $(eina_tiler_01_DEPENDENCIES) 763eina_tiler_01$(EXEEXT): $(eina_tiler_01_OBJECTS) $(eina_tiler_01_DEPENDENCIES)
662 @rm -f eina_tiler_01$(EXEEXT) 764 @rm -f eina_tiler_01$(EXEEXT)
663 $(AM_V_CCLD)$(LINK) $(eina_tiler_01_OBJECTS) $(eina_tiler_01_LDADD) $(LIBS) 765 $(AM_V_CCLD)$(LINK) $(eina_tiler_01_OBJECTS) $(eina_tiler_01_LDADD) $(LIBS)
766eina_value_01$(EXEEXT): $(eina_value_01_OBJECTS) $(eina_value_01_DEPENDENCIES)
767 @rm -f eina_value_01$(EXEEXT)
768 $(AM_V_CCLD)$(LINK) $(eina_value_01_OBJECTS) $(eina_value_01_LDADD) $(LIBS)
769eina_value_02$(EXEEXT): $(eina_value_02_OBJECTS) $(eina_value_02_DEPENDENCIES)
770 @rm -f eina_value_02$(EXEEXT)
771 $(AM_V_CCLD)$(LINK) $(eina_value_02_OBJECTS) $(eina_value_02_LDADD) $(LIBS)
772eina_value_03$(EXEEXT): $(eina_value_03_OBJECTS) $(eina_value_03_DEPENDENCIES)
773 @rm -f eina_value_03$(EXEEXT)
774 $(AM_V_CCLD)$(LINK) $(eina_value_03_OBJECTS) $(eina_value_03_LDADD) $(LIBS)
664 775
665mostlyclean-compile: 776mostlyclean-compile:
666 -rm -f *.$(OBJEXT) 777 -rm -f *.$(OBJEXT)
@@ -681,6 +792,7 @@ distclean-compile:
681@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_hash_06.Po@am__quote@ 792@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_hash_06.Po@am__quote@
682@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_hash_07.Po@am__quote@ 793@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_hash_07.Po@am__quote@
683@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_hash_08.Po@am__quote@ 794@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_hash_08.Po@am__quote@
795@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inarray_01.Po@am__quote@
684@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inlist_01.Po@am__quote@ 796@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inlist_01.Po@am__quote@
685@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inlist_02.Po@am__quote@ 797@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inlist_02.Po@am__quote@
686@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inlist_03.Po@am__quote@ 798@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_inlist_03.Po@am__quote@
@@ -692,9 +804,21 @@ distclean-compile:
692@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_log_01.Po@am__quote@ 804@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_log_01.Po@am__quote@
693@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_log_02.Po@am__quote@ 805@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_log_02.Po@am__quote@
694@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_log_03.Po@am__quote@ 806@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_log_03.Po@am__quote@
807@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_01.Po@am__quote@
808@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_02.Po@am__quote@
809@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_03.Po@am__quote@
810@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_04_animal.Po@am__quote@
811@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_04_child.Po@am__quote@
812@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_04_human.Po@am__quote@
813@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_04_main.Po@am__quote@
814@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_04_parrot.Po@am__quote@
815@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_model_04_whistler.Po@am__quote@
695@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_str_01.Po@am__quote@ 816@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_str_01.Po@am__quote@
696@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_strbuf_01.Po@am__quote@ 817@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_strbuf_01.Po@am__quote@
697@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_tiler_01.Po@am__quote@ 818@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_tiler_01.Po@am__quote@
819@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_value_01.Po@am__quote@
820@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_value_02.Po@am__quote@
821@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_value_03.Po@am__quote@
698 822
699.c.o: 823.c.o:
700@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 824@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff --git a/libraries/eina/src/examples/eina_accessor_01.c b/libraries/eina/src/examples/eina_accessor_01.c
index c48fdc6..da413c6 100644
--- a/libraries/eina/src/examples/eina_accessor_01.c
+++ b/libraries/eina/src/examples/eina_accessor_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_accessor_01.c -o eina_accessor_01 2//gcc -g eina_accessor_01.c -o eina_accessor_01 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5 5
diff --git a/libraries/eina/src/examples/eina_array_01.c b/libraries/eina/src/examples/eina_array_01.c
index d93eb35..1bae809 100644
--- a/libraries/eina/src/examples/eina_array_01.c
+++ b/libraries/eina/src/examples/eina_array_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_array_01.c -o eina_array_01 2//gcc -g eina_array_01.c -o eina_array_01 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <string.h> 5#include <string.h>
diff --git a/libraries/eina/src/examples/eina_array_02.c b/libraries/eina/src/examples/eina_array_02.c
index e897321..6b2903b 100644
--- a/libraries/eina/src/examples/eina_array_02.c
+++ b/libraries/eina/src/examples/eina_array_02.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_array_02.c -o eina_array_02 2//gcc -g eina_array_02.c -o eina_array_02 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <string.h> 5#include <string.h>
diff --git a/libraries/eina/src/examples/eina_error_01.c b/libraries/eina/src/examples/eina_error_01.c
index 90e845d..e264aee 100644
--- a/libraries/eina/src/examples/eina_error_01.c
+++ b/libraries/eina/src/examples/eina_error_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_error_01.c -o eina_error_01 2//gcc -g eina_error_01.c -o eina_error_01 `pkg-config --cflags --libs eina`
3 3
4#include <stdlib.h> 4#include <stdlib.h>
5#include <stdio.h> 5#include <stdio.h>
@@ -77,4 +77,4 @@ int main(void)
77 eina_shutdown(); 77 eina_shutdown();
78 78
79 return EXIT_SUCCESS; 79 return EXIT_SUCCESS;
80} \ No newline at end of file 80}
diff --git a/libraries/eina/src/examples/eina_file_01.c b/libraries/eina/src/examples/eina_file_01.c
index 6490b62..2c945b3 100644
--- a/libraries/eina/src/examples/eina_file_01.c
+++ b/libraries/eina/src/examples/eina_file_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_file_01.c -o eina_file_01 2//gcc -g eina_file_01.c -o eina_file_01 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <Eina.h> 5#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_01.c b/libraries/eina/src/examples/eina_hash_01.c
index 549ca80..16418fe 100644
--- a/libraries/eina/src/examples/eina_hash_01.c
+++ b/libraries/eina/src/examples/eina_hash_01.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_01.c -o eina_hash_01 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_02.c b/libraries/eina/src/examples/eina_hash_02.c
index d43d7a3..7baec93 100644
--- a/libraries/eina/src/examples/eina_hash_02.c
+++ b/libraries/eina/src/examples/eina_hash_02.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_02.c -o eina_hash_02 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_03.c b/libraries/eina/src/examples/eina_hash_03.c
index 719d0d7..ba543d4 100644
--- a/libraries/eina/src/examples/eina_hash_03.c
+++ b/libraries/eina/src/examples/eina_hash_03.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_03.c -o eina_hash_03 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_04.c b/libraries/eina/src/examples/eina_hash_04.c
index e900475..da73e04 100644
--- a/libraries/eina/src/examples/eina_hash_04.c
+++ b/libraries/eina/src/examples/eina_hash_04.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_04.c -o eina_hash_04 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_05.c b/libraries/eina/src/examples/eina_hash_05.c
index f8dbf78..6666ce2 100644
--- a/libraries/eina/src/examples/eina_hash_05.c
+++ b/libraries/eina/src/examples/eina_hash_05.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_05.c -o eina_hash_05 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_06.c b/libraries/eina/src/examples/eina_hash_06.c
index 99a2bd7..6e3c451 100644
--- a/libraries/eina/src/examples/eina_hash_06.c
+++ b/libraries/eina/src/examples/eina_hash_06.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_06.c -o eina_hash_06 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_07.c b/libraries/eina/src/examples/eina_hash_07.c
index b3e486a..1464e6b 100644
--- a/libraries/eina/src/examples/eina_hash_07.c
+++ b/libraries/eina/src/examples/eina_hash_07.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_07.c -o eina_hash_07 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_hash_08.c b/libraries/eina/src/examples/eina_hash_08.c
index 368a2fb..ed45f7f 100644
--- a/libraries/eina/src/examples/eina_hash_08.c
+++ b/libraries/eina/src/examples/eina_hash_08.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g eina_hash_08.c -o eina_hash_08 `pkg-config --cflags --libs eina`
3
1#include <stdio.h> 4#include <stdio.h>
2#include <string.h> 5#include <string.h>
3#include <Eina.h> 6#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_inlist_01.c b/libraries/eina/src/examples/eina_inlist_01.c
index fa51553..6c6c794 100644
--- a/libraries/eina/src/examples/eina_inlist_01.c
+++ b/libraries/eina/src/examples/eina_inlist_01.c
@@ -1,5 +1,6 @@
1// Compile with: 1// Compile with:
2// gcc -g `pkg-config --cflags --libs eina` eina_inlist_01.c -o eina_inlist_01 2// gcc -g eina_inlist_01.c -o eina_inlist_01 `pkg-config --cflags --libs eina`
3
3#include <Eina.h> 4#include <Eina.h>
4#include <stdio.h> 5#include <stdio.h>
5 6
diff --git a/libraries/eina/src/examples/eina_inlist_02.c b/libraries/eina/src/examples/eina_inlist_02.c
index 7d23f13..4c16ec6 100644
--- a/libraries/eina/src/examples/eina_inlist_02.c
+++ b/libraries/eina/src/examples/eina_inlist_02.c
@@ -1,5 +1,6 @@
1// Compile with: 1// Compile with:
2// gcc -g `pkg-config --cflags --libs eina` eina_inlist_01.c -o eina_inlist_01 2// gcc -g eina_inlist_02.c -o eina_inlist_02 `pkg-config --cflags --libs eina`
3
3#include <Eina.h> 4#include <Eina.h>
4#include <stdio.h> 5#include <stdio.h>
5 6
diff --git a/libraries/eina/src/examples/eina_inlist_03.c b/libraries/eina/src/examples/eina_inlist_03.c
index a39a784..28706d5 100644
--- a/libraries/eina/src/examples/eina_inlist_03.c
+++ b/libraries/eina/src/examples/eina_inlist_03.c
@@ -1,5 +1,6 @@
1// Compile with: 1// Compile with:
2// gcc -g `pkg-config --cflags --libs eina` eina_inlist_01.c -o eina_inlist_01 2// gcc -g eina_inlist_03.c -o eina_inlist_03 `pkg-config --cflags --libs eina`
3
3#include <Eina.h> 4#include <Eina.h>
4#include <stdio.h> 5#include <stdio.h>
5 6
diff --git a/libraries/eina/src/examples/eina_iterator_01.c b/libraries/eina/src/examples/eina_iterator_01.c
index f467f90..88c40cc 100644
--- a/libraries/eina/src/examples/eina_iterator_01.c
+++ b/libraries/eina/src/examples/eina_iterator_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_iterator_01.c -o eina_iterator_01 2//gcc -g eina_iterator_01.c -o eina_iterator_01 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5 5
diff --git a/libraries/eina/src/examples/eina_list_01.c b/libraries/eina/src/examples/eina_list_01.c
index 7807791..4fcb020 100644
--- a/libraries/eina/src/examples/eina_list_01.c
+++ b/libraries/eina/src/examples/eina_list_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_list_01.c -o eina_list_01 2//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <Eina.h> 5#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_list_02.c b/libraries/eina/src/examples/eina_list_02.c
index 7def475..5fe31e8 100644
--- a/libraries/eina/src/examples/eina_list_02.c
+++ b/libraries/eina/src/examples/eina_list_02.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_list_02.c -o eina_list_02 2//gcc -g eina_list_02.c -o eina_list_02 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <string.h> 5#include <string.h>
diff --git a/libraries/eina/src/examples/eina_list_03.c b/libraries/eina/src/examples/eina_list_03.c
index 8e15b91..db53148 100644
--- a/libraries/eina/src/examples/eina_list_03.c
+++ b/libraries/eina/src/examples/eina_list_03.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_list_03.c -o eina_list_03 2//gcc -g eina_list_03.c -o eina_list_03 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <Eina.h> 5#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_list_04.c b/libraries/eina/src/examples/eina_list_04.c
index c153c06..d92a607 100644
--- a/libraries/eina/src/examples/eina_list_04.c
+++ b/libraries/eina/src/examples/eina_list_04.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc -g `pkg-config --cflags --libs eina` eina_list_04.c -o eina_list_04 2//gcc -g eina_list_04.c -o eina_list_04 `pkg-config --cflags --libs eina`
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <Eina.h> 5#include <Eina.h>
diff --git a/libraries/eina/src/examples/eina_tiler_01.c b/libraries/eina/src/examples/eina_tiler_01.c
index b2ff8be..6202a88 100644
--- a/libraries/eina/src/examples/eina_tiler_01.c
+++ b/libraries/eina/src/examples/eina_tiler_01.c
@@ -1,5 +1,5 @@
1//Compile with: 1//Compile with:
2//gcc `pkg-config --cflags --libs ecore-evas ecore evas` eina_tiler_01.c -o eina_tiler_01 2//gcc eina_tiler_01.c -o eina_tiler_01 `pkg-config --cflags --libs ecore-evas ecore evas eina`
3 3
4#include <Ecore_Evas.h> 4#include <Ecore_Evas.h>
5#include <Ecore.h> 5#include <Ecore.h>
diff --git a/libraries/eina/src/include/Eina.h b/libraries/eina/src/include/Eina.h
index 721a991..d99b129 100644
--- a/libraries/eina/src/include/Eina.h
+++ b/libraries/eina/src/include/Eina.h
@@ -1,5 +1,5 @@
1/* EINA - EFL data type library 1/* EINA - EFL data type library
2 * Copyright (C) 2008-2011 Enlightenment Developers: 2 * Copyright (C) 2008-2012 Enlightenment Developers:
3 * Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com> 3 * Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>
4 * Alexandre "diaxen" Becoulet <diaxen@free.fr> 4 * Alexandre "diaxen" Becoulet <diaxen@free.fr>
5 * Andre Dieb <andre.dieb@gmail.com> 5 * Andre Dieb <andre.dieb@gmail.com>
@@ -16,6 +16,7 @@
16 * Tilman Sauerbeck <tilman@code-monkey.de> 16 * Tilman Sauerbeck <tilman@code-monkey.de>
17 * Vincent "caro" Torri <vtorri at univ-evry dot fr> 17 * Vincent "caro" Torri <vtorri at univ-evry dot fr>
18 * Tom Hacohen <tom@stosb.com> 18 * Tom Hacohen <tom@stosb.com>
19 * Jonas M. Gastal <jgastal@profusion.mobi>
19 * 20 *
20 * This library is free software; you can redistribute it and/or 21 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public 22 * modify it under the terms of the GNU Lesser General Public
@@ -46,7 +47,7 @@
46 * @mainpage Eina 47 * @mainpage Eina
47 * 48 *
48 * @version 1.1 49 * @version 1.1
49 * @date 2008-2011 50 * @date 2008-2012
50 * 51 *
51 * @section eina_intro_sec Introduction 52 * @section eina_intro_sec Introduction
52 * 53 *
@@ -72,6 +73,8 @@
72 * @li @ref Eina_Stringshare_Group saves memory by sharing read-only string references. 73 * @li @ref Eina_Stringshare_Group saves memory by sharing read-only string references.
73 * @li @ref Eina_Tiler_Group split, merge and navigates into 2D tiled regions. 74 * @li @ref Eina_Tiler_Group split, merge and navigates into 2D tiled regions.
74 * @li @ref Eina_Trash_Group container of unused but allocated data. 75 * @li @ref Eina_Trash_Group container of unused but allocated data.
76 * @li @ref Eina_Value_Group container for generic value storage and access.
77 * @li @ref Eina_Model_Group container for data with user defined hierarchy/structure.
75 * 78 *
76 * The tools that are available are (see @ref Eina_Tools_Group): 79 * The tools that are available are (see @ref Eina_Tools_Group):
77 * @li @ref Eina_Benchmark_Group helper to write benchmarks. 80 * @li @ref Eina_Benchmark_Group helper to write benchmarks.
@@ -101,6 +104,31 @@
101 * their elements with an @ref Eina_Iterator_Group, or eventually an 104 * their elements with an @ref Eina_Iterator_Group, or eventually an
102 * @ref Eina_Accessor_Group. 105 * @ref Eina_Accessor_Group.
103 * 106 *
107 * The containers in eina are designed with performance in mind, one consequence
108 * of this is that they @b don't check the validity of data structures given to
109 * them(@ref Eina_Magic_Group).
110 *
111 * The choice of which container to use in each situation is very important in
112 * achieving good performance and readable code. The most common container types
113 * to be used are:
114 * @li List
115 * @li Inline list
116 * @li Array
117 * @li Inline array
118 * @li Hash
119 *
120 * All types have virtues and vices. The following considerations are good
121 * starting point in deciding which container to use:
122 * @li Hashes are appropriate for datasets which will be searched often;
123 * @li arrays are good when accessing members by position;
124 * @li lists provide good versatility for adding elements in any position with
125 * minimal overhead;
126 * @li inline arrays use very little memory and don't cause fragmentation and
127 * therefore are a good option in memory constrained systems;
128 * @li inline lists are the appropriate type to use when the flexibility of a
129 * list is required but the overhead of pointer indirection is not acceptable.
130 * @warning These are general considerations, every situation is different,
131 * don't follow these recommendations blindly.
104 * 132 *
105 * @defgroup Eina_Tools_Group Tools 133 * @defgroup Eina_Tools_Group Tools
106 * 134 *
@@ -120,15 +148,22 @@
120 * @author Carsten Haitzler <raster@@rasterman.com> 148 * @author Carsten Haitzler <raster@@rasterman.com>
121 * @author Cedric Bail <cedric.bail@@free.fr> 149 * @author Cedric Bail <cedric.bail@@free.fr>
122 * @author Corey "atmos" Donohoe <atmos@@atmos.org> 150 * @author Corey "atmos" Donohoe <atmos@@atmos.org>
151 * @author Vincent "caro" Torri <vtorri at univ-evry dot fr>
123 * @author Fabiano Fidêncio <fidencio@@profusion.mobi> 152 * @author Fabiano Fidêncio <fidencio@@profusion.mobi>
124 * @author Gustavo Chaves <glima@@profusion.mobi> 153 * @author Gustavo Chaves <glima@@profusion.mobi>
125 * @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi> 154 * @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
126 * @author Jorge Luis "turran" Zapata <jorgeluis.zapata@@gmail.com> 155 * @author Jorge Luis "turran" Zapata <jorgeluis.zapata@@gmail.com>
156 * @author Tilman Sauerbeck <tilman@@code-monkey.de>
127 * @author Peter "pfritz" Wehrfritz <peter.wehrfritz@@web.de> 157 * @author Peter "pfritz" Wehrfritz <peter.wehrfritz@@web.de>
128 * @author Raphael Kubo da Costa <kubo@@profusion.mobi> 158 * @author Raphael Kubo da Costa <kubo@@profusion.mobi>
129 * @author Tilman Sauerbeck <tilman@@code-monkey.de>
130 * @author Vincent "caro" Torri <vtorri at univ-evry dot fr>
131 * @author Tom Hacohen <tom@@stosb.com> 159 * @author Tom Hacohen <tom@@stosb.com>
160 * @author Brett Nash <nash@@nash.id.au>
161 * @author Sebastian Dransfeld <sd@@tango.flipp.net>
162 * @author Myungjae Lee <mjae.lee@@samsung.com>
163 * @author Youness Alaoui <kakaroto@@kakaroto.homelinux.net>
164 * @author Boris "billiob" Faure <billiob@@gmail.com>
165 * @author Sung W. Park <sungwoo@@gmail.com>
166 * @author Guillaume Friloux <guillaume.friloux@@asp64.com>
132 * 167 *
133 * Please contact <enlightenment-devel@lists.sourceforge.net> to get in 168 * Please contact <enlightenment-devel@lists.sourceforge.net> to get in
134 * contact with the developers and maintainers. 169 * contact with the developers and maintainers.
@@ -189,6 +224,7 @@ extern "C" {
189#include "eina_mmap.h" 224#include "eina_mmap.h"
190#include "eina_xattr.h" 225#include "eina_xattr.h"
191#include "eina_value.h" 226#include "eina_value.h"
227#include "eina_model.h"
192 228
193#ifdef __cplusplus 229#ifdef __cplusplus
194} 230}
diff --git a/libraries/eina/src/include/Makefile.am b/libraries/eina/src/include/Makefile.am
index a818d5f..31ef71e 100644
--- a/libraries/eina/src/include/Makefile.am
+++ b/libraries/eina/src/include/Makefile.am
@@ -64,7 +64,8 @@ eina_refcount.h \
64eina_mmap.h \ 64eina_mmap.h \
65eina_xattr.h \ 65eina_xattr.h \
66eina_value.h \ 66eina_value.h \
67eina_inline_value.x 67eina_inline_value.x \
68eina_model.h
68 69
69# Will be back for developper after 1.1. 70# Will be back for developper after 1.1.
70# eina_object.h 71# eina_object.h
diff --git a/libraries/eina/src/include/Makefile.in b/libraries/eina/src/include/Makefile.in
index ea922e5..7e819b8 100644
--- a/libraries/eina/src/include/Makefile.in
+++ b/libraries/eina/src/include/Makefile.in
@@ -46,20 +46,24 @@ DIST_COMMON = $(am__dist_installed_headers_DATA_DIST) \
46 $(dist_installed_mainheader_DATA) $(srcdir)/Makefile.am \ 46 $(dist_installed_mainheader_DATA) $(srcdir)/Makefile.am \
47 $(srcdir)/Makefile.in $(srcdir)/eina_config.h.in 47 $(srcdir)/Makefile.in $(srcdir)/eina_config.h.in
48ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 48ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 49am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
50 $(top_srcdir)/m4/efl_benchmark.m4 \ 50 $(top_srcdir)/m4/eina/eina_check.m4 \
51 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 51 $(top_srcdir)/m4/common/efl_attribute.m4 \
52 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 52 $(top_srcdir)/m4/common/efl_benchmark.m4 \
53 $(top_srcdir)/m4/efl_doxygen.m4 \ 53 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
54 $(top_srcdir)/m4/efl_examples.m4 \ 54 $(top_srcdir)/m4/common/efl_coverage.m4 \
55 $(top_srcdir)/m4/efl_fnmatch.m4 \ 55 $(top_srcdir)/m4/common/efl_cpu.m4 \
56 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 56 $(top_srcdir)/m4/common/efl_doxygen.m4 \
57 $(top_srcdir)/m4/efl_threads.m4 \ 57 $(top_srcdir)/m4/common/efl_examples.m4 \
58 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 58 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
59 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 59 $(top_srcdir)/m4/common/efl_path_max.m4 \
60 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 60 $(top_srcdir)/m4/common/efl_tests.m4 \
61 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 61 $(top_srcdir)/m4/common/efl_threads.m4 \
62 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 62 $(top_srcdir)/m4/common/efl_voltron.m4 \
63 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
64 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
65 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
66 $(top_srcdir)/configure.ac
63am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 67am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64 $(ACLOCAL_M4) 68 $(ACLOCAL_M4)
65mkinstalldirs = $(install_sh) -d 69mkinstalldirs = $(install_sh) -d
@@ -93,9 +97,9 @@ am__dist_installed_headers_DATA_DIST = eina_safety_checks.h \
93 eina_inline_str.x eina_strbuf.h eina_ustrbuf.h eina_unicode.h \ 97 eina_inline_str.x eina_strbuf.h eina_ustrbuf.h eina_unicode.h \
94 eina_quadtree.h eina_simple_xml_parser.h eina_lock.h \ 98 eina_quadtree.h eina_simple_xml_parser.h eina_lock.h \
95 eina_prefix.h eina_refcount.h eina_mmap.h eina_xattr.h \ 99 eina_prefix.h eina_refcount.h eina_mmap.h eina_xattr.h \
96 eina_value.h eina_inline_value.x eina_inline_lock_wince.x \ 100 eina_value.h eina_inline_value.x eina_model.h \
97 eina_inline_lock_win32.x eina_inline_lock_posix.x \ 101 eina_inline_lock_wince.x eina_inline_lock_win32.x \
98 eina_inline_lock_void.x 102 eina_inline_lock_posix.x eina_inline_lock_void.x
99am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 103am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
100am__vpath_adj = case $$p in \ 104am__vpath_adj = case $$p in \
101 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 105 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@@ -167,13 +171,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
167EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 171EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
168EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 172EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
169EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 173EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
174EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
170EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 175EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
171EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 176EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
172EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 177EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
173EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 178EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
174EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 179EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
175EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 180EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
176EINA_CPPFLAGS = @EINA_CPPFLAGS@
177EINA_LIBS = @EINA_LIBS@ 181EINA_LIBS = @EINA_LIBS@
178EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 182EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
179EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 183EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -183,6 +187,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
183EVIL_CFLAGS = @EVIL_CFLAGS@ 187EVIL_CFLAGS = @EVIL_CFLAGS@
184EVIL_LIBS = @EVIL_LIBS@ 188EVIL_LIBS = @EVIL_LIBS@
185EXEEXT = @EXEEXT@ 189EXEEXT = @EXEEXT@
190EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
191EXOTIC_LIBS = @EXOTIC_LIBS@
186FGREP = @FGREP@ 192FGREP = @FGREP@
187GLIB_CFLAGS = @GLIB_CFLAGS@ 193GLIB_CFLAGS = @GLIB_CFLAGS@
188GLIB_LIBS = @GLIB_LIBS@ 194GLIB_LIBS = @GLIB_LIBS@
@@ -218,6 +224,8 @@ PACKAGE_URL = @PACKAGE_URL@
218PACKAGE_VERSION = @PACKAGE_VERSION@ 224PACKAGE_VERSION = @PACKAGE_VERSION@
219PATH_SEPARATOR = @PATH_SEPARATOR@ 225PATH_SEPARATOR = @PATH_SEPARATOR@
220PKG_CONFIG = @PKG_CONFIG@ 226PKG_CONFIG = @PKG_CONFIG@
227PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
228PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
221RANLIB = @RANLIB@ 229RANLIB = @RANLIB@
222SED = @SED@ 230SED = @SED@
223SET_MAKE = @SET_MAKE@ 231SET_MAKE = @SET_MAKE@
@@ -311,8 +319,8 @@ EINAHEADERS = eina_safety_checks.h eina_error.h eina_log.h \
311 eina_ustrbuf.h eina_unicode.h eina_quadtree.h \ 319 eina_ustrbuf.h eina_unicode.h eina_quadtree.h \
312 eina_simple_xml_parser.h eina_lock.h eina_prefix.h \ 320 eina_simple_xml_parser.h eina_lock.h eina_prefix.h \
313 eina_refcount.h eina_mmap.h eina_xattr.h eina_value.h \ 321 eina_refcount.h eina_mmap.h eina_xattr.h eina_value.h \
314 eina_inline_value.x $(am__append_1) $(am__append_2) \ 322 eina_inline_value.x eina_model.h $(am__append_1) \
315 $(am__append_3) $(am__append_4) 323 $(am__append_2) $(am__append_3) $(am__append_4)
316installed_mainheaderdir = $(includedir)/eina-@VMAJ@ 324installed_mainheaderdir = $(includedir)/eina-@VMAJ@
317dist_installed_mainheader_DATA = Eina.h eina_config.h 325dist_installed_mainheader_DATA = Eina.h eina_config.h
318installed_headersdir = $(includedir)/eina-@VMAJ@/eina 326installed_headersdir = $(includedir)/eina-@VMAJ@/eina
diff --git a/libraries/eina/src/include/eina_array.h b/libraries/eina/src/include/eina_array.h
index 53183b4..4ab3b50 100644
--- a/libraries/eina/src/include/eina_array.h
+++ b/libraries/eina/src/include/eina_array.h
@@ -351,7 +351,7 @@ static inline void *eina_array_data_get(const Eina_Array *array,
351static inline void eina_array_data_set(const Eina_Array *array, 351static inline void eina_array_data_set(const Eina_Array *array,
352 unsigned int idx, 352 unsigned int idx,
353 const void *data) EINA_ARG_NONNULL(1); 353 const void *data) EINA_ARG_NONNULL(1);
354static inline unsigned int eina_array_count_get(const Eina_Array *array) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT EINA_DEPRECATED; 354static inline unsigned int eina_array_count_get(const Eina_Array *array) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
355static inline unsigned int eina_array_count(const Eina_Array *array) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; 355static inline unsigned int eina_array_count(const Eina_Array *array) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
356 356
357/** 357/**
diff --git a/libraries/eina/src/include/eina_config.h b/libraries/eina/src/include/eina_config.h
index 474edaa..b1108b6 100644
--- a/libraries/eina/src/include/eina_config.h
+++ b/libraries/eina/src/include/eina_config.h
@@ -19,6 +19,15 @@
19#ifndef EINA_CONFIG_H_ 19#ifndef EINA_CONFIG_H_
20#define EINA_CONFIG_H_ 20#define EINA_CONFIG_H_
21 21
22#ifdef EINA_HAVE_EXOTIC_H
23# undef EINA_HAVE_EXOTIC_H
24#endif
25
26
27#ifdef EINA_HAVE_EXOTIC
28# include <Exotic.h>
29#endif
30
22#ifdef EINA_MAGIC_DEBUG 31#ifdef EINA_MAGIC_DEBUG
23# undef EINA_MAGIC_DEBUG 32# undef EINA_MAGIC_DEBUG
24#endif 33#endif
diff --git a/libraries/eina/src/include/eina_config.h.in b/libraries/eina/src/include/eina_config.h.in
index 2459ace..937d208 100644
--- a/libraries/eina/src/include/eina_config.h.in
+++ b/libraries/eina/src/include/eina_config.h.in
@@ -19,6 +19,15 @@
19#ifndef EINA_CONFIG_H_ 19#ifndef EINA_CONFIG_H_
20#define EINA_CONFIG_H_ 20#define EINA_CONFIG_H_
21 21
22#ifdef EINA_HAVE_EXOTIC_H
23# undef EINA_HAVE_EXOTIC_H
24#endif
25@EINA_CONFIGURE_HAVE_EXOTIC@
26
27#ifdef EINA_HAVE_EXOTIC
28# include <Exotic.h>
29#endif
30
22#ifdef EINA_MAGIC_DEBUG 31#ifdef EINA_MAGIC_DEBUG
23# undef EINA_MAGIC_DEBUG 32# undef EINA_MAGIC_DEBUG
24#endif 33#endif
diff --git a/libraries/eina/src/include/eina_error.h b/libraries/eina/src/include/eina_error.h
index 2b0ae77..dd87edf 100644
--- a/libraries/eina/src/include/eina_error.h
+++ b/libraries/eina/src/include/eina_error.h
@@ -180,7 +180,7 @@ EAPI const char *eina_error_msg_get(Eina_Error error) EINA_PURE;
180 180
181/** 181/**
182 * @brief Find the #Eina_Error corresponding to a message string 182 * @brief Find the #Eina_Error corresponding to a message string
183 * @param msg The error message string to match (NOT #NULL) 183 * @param msg The error message string to match (NOT @c NULL)
184 * @return The #Eina_Error matching @p msg, or 0 on failure 184 * @return The #Eina_Error matching @p msg, or 0 on failure
185 * This function attempts to match @p msg with its corresponding #Eina_Error value. 185 * This function attempts to match @p msg with its corresponding #Eina_Error value.
186 * If no such value is found, 0 is returned. 186 * If no such value is found, 0 is returned.
diff --git a/libraries/eina/src/include/eina_file.h b/libraries/eina/src/include/eina_file.h
index 422fb65..1af22af 100644
--- a/libraries/eina/src/include/eina_file.h
+++ b/libraries/eina/src/include/eina_file.h
@@ -22,6 +22,7 @@
22 22
23#include <limits.h> 23#include <limits.h>
24#include <time.h> 24#include <time.h>
25#include <sys/stat.h>
25 26
26#include "eina_types.h" 27#include "eina_types.h"
27#include "eina_array.h" 28#include "eina_array.h"
@@ -91,6 +92,13 @@
91typedef struct _Eina_File_Direct_Info Eina_File_Direct_Info; 92typedef struct _Eina_File_Direct_Info Eina_File_Direct_Info;
92 93
93/** 94/**
95 * @typedef Eina_Stat
96 * A typedef to #_Eina_Stat.
97 * @since 1.2
98 */
99typedef struct _Eina_Stat Eina_Stat;
100
101/**
94 * @typedef Eina_File_Dir_List_Cb 102 * @typedef Eina_File_Dir_List_Cb
95 * Type for a callback to be called when iterating over the files of a 103 * Type for a callback to be called when iterating over the files of a
96 * directory. 104 * directory.
@@ -149,6 +157,31 @@ struct _Eina_File_Direct_Info
149}; 157};
150 158
151/** 159/**
160 * @struct _Eina_Stat
161 * A structure to store informations of a path.
162 * @since 1.2
163 */
164struct _Eina_Stat
165{
166 unsigned long int dev;
167 unsigned long int ino;
168 unsigned int mode;
169 unsigned int nlink;
170 unsigned int uid;
171 unsigned int gid;
172 unsigned long int rdev;
173 unsigned long int size;
174 unsigned long int blksize;
175 unsigned long int blocks;
176 unsigned long int atime;
177 unsigned long int atimensec;
178 unsigned long int mtime;
179 unsigned long int mtimensec;
180 unsigned long int ctime;
181 unsigned long int ctimensec;
182};
183
184/**
152 * @def EINA_FILE_DIR_LIST_CB 185 * @def EINA_FILE_DIR_LIST_CB
153 * @brief cast to an #Eina_File_Dir_List_Cb. 186 * @brief cast to an #Eina_File_Dir_List_Cb.
154 * 187 *
@@ -247,6 +280,24 @@ EAPI Eina_Iterator *eina_file_ls(const char *dir) EINA_WARN_UNUSED_RESULT EINA_A
247EAPI Eina_Iterator *eina_file_stat_ls(const char *dir) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC; 280EAPI Eina_Iterator *eina_file_stat_ls(const char *dir) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
248 281
249/** 282/**
283 * @brief Use information provided by Eina_Iterator of eina_file_stat_ls or eina_file_direct_ls
284 * to call stat in the most efficient way on your system.
285 *
286 * @param container The container returned by the Eina_Iterator using eina_iterator_container_get().
287 * @param info The content of the current Eina_File_Direct_Info provided by the Eina_Iterator
288 * @param buf Where to put the result of the stat
289 * @return On success 0 is returned, On error -1 is returned and errno is set appropriately.
290 *
291 * This function calls fstatat or stat depending on what your system supports. This makes it efficient and simple
292 * to use on your side without complex detection already done inside Eina on what the system can do.
293 *
294 * @see eina_file_direct_ls()
295 * @see eina_file_stat_ls()
296 * @since 1.2
297 */
298EAPI int eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat *buf) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1, 2, 3);
299
300/**
250 * @brief Get an iterator to list the content of a directory, with direct 301 * @brief Get an iterator to list the content of a directory, with direct
251 * information. 302 * information.
252 * 303 *
diff --git a/libraries/eina/src/include/eina_inarray.h b/libraries/eina/src/include/eina_inarray.h
index d37c76b..079f1e3 100644
--- a/libraries/eina/src/include/eina_inarray.h
+++ b/libraries/eina/src/include/eina_inarray.h
@@ -24,6 +24,131 @@
24#include "eina_accessor.h" 24#include "eina_accessor.h"
25 25
26/** 26/**
27 * @page eina_inarray_example_01 Eina inline array usage
28 * @dontinclude eina_inarray_01.c
29 *
30 * This example will create an inline array of chars, add some elements, print
31 * it, re-purpose the array to store ints, add some elements and print that.
32 *
33 * We'll start with a function to compare ints we need this because the '>'
34 * operator is not a function and can't be used where Eina_Compare_Cb is needed.
35 * @skip int
36 * @until }
37 *
38 * And then move on to the code we actually care about, starting with variable
39 * declarations and eina initialization:
40 * @until eina_init
41 *
42 * Creating an inline array is very simple, we just need to know what type we
43 * want to store:
44 * @until inarray_new
45 * @note The second parameter(the step) is left at zero which means that eina
46 * will choose an appropriate value, this should @b only be changed if it's
47 * known, beforehand, how many elements the array will have.
48 *
49 * Once we have an array we can start adding elements to it. Because the
50 * insertion function expect a memory address we have to put the value we want
51 * to store in a variable(this should be no problem since in real world usage
52 * that's usually where the value will be anyways):
53 * @until append
54 * @note Because the inline array copies the value given to it we can later
55 * change @c ch, which we do, without affecting the contents of the array.
56 *
57 * So let's add some more elements:
58 * @until append
59 * @until append
60 * @until append
61 *
62 * We will then iterate over our array and print every position of it. The thing
63 * to note here is not so much the values which will be the expected 'a', 'b',
64 * 'c' and 'd', but rather the memory address of these values, they are
65 * sequential:
66 * @until printf
67 * @until printf
68 *
69 * We'll now use our array to store ints, so we need to first erase every member
70 * currently on the array:
71 * @until _flush
72 *
73 * And then to be able to store a different type on the same array we use the
74 * eina_array_setup() function, which is just like the eina_inarray_new()
75 * function except it receives already allocated memory. This time we're going
76 * to ask eina to use a step of size 4 because that's how many elements we'll be
77 * putting on the array:
78 * @until _setup
79 * @note Strictly speaking the reason to call eina_inarray_setup() is not
80 * because we're storing different type, but rather because our types have
81 * different sizes. Eina inline arrays don't actually know anything about types,
82 * they only deal in blocks of memory of a given size.
83 * @note Since eina_array_setup() receives already allocated memory you can(and
84 * it is in fact good practice) use inline arrays not declared as pointers:
85 * @code
86 * Eina_Inarray arr;
87 * eina_inarray_setup(&arr, sizeof(int), 4);
88 * @endcode
89 *
90 * And now to add our integer values to the array:
91 * @until append
92 * @until append
93 * @until append
94 *
95 * Just to change things up a bit we've left out the 99 value, but will still
96 * add it in such a way to keep the array ordered. There are many ways to do
97 * this, we could use eina_inarray_insert_at(), or we could change the value
98 * of the last member using eina_inarray_replace_at() and then append the values
99 * in the right order, but for no particular reason we're going to use
100 * eina_inarray_insert_sorted() instead:
101 * @until insert_sorted
102 *
103 * We then print the size of our array, and the array itself, much like last
104 * time the values are not surprising, and neither should it be that the memory
105 * addresses are contiguous:
106 * @until printf
107 * @until printf
108 *
109 * Once done we free our array and shutdown eina:
110 * @until }
111 *
112 * The source for this example: @ref eina_inarray_01_c
113 */
114
115/**
116 * @page eina_inarray_01_c eina_inarray_01.c
117 * @include eina_inarray_01.c
118 * @example eina_inarray_01.c
119 */
120
121/**
122 * @page eina_inarray_example_02 Eina inline array of strings
123 * @dontinclude eina_inarray_02.c
124 *
125 * This example will create an inline array of strings, add some elements and
126 * then print them. This example is based on @ref eina_array_01_example_page and
127 * @ref eina_inarray_example_01.
128 *
129 * We start with some variable declarations and eina initialization:
130 * @skip int
131 * @until eina_init
132 *
133 * We then create the array much like we did on @ref eina_inarray_example_01:
134 * @until inarray_new
135 *
136 * The point were this example significantly differs from the first eina inline
137 * array example. We'll not be adding the strings themselves to the array since
138 * their size varies, we'll store pointer to the strings instead. We therefore
139 * use @c char** to populate our inline array:
140 * @until }
141 *
142 * The source for this example: @ref eina_inarray_02_c
143 */
144
145/**
146 * @page eina_inarray_02_c eina_inarray_02.c
147 * @include eina_inarray_02.c
148 * @example eina_inarray_02.c
149 */
150
151/**
27 * @addtogroup Eina_Data_Types_Group Data Types 152 * @addtogroup Eina_Data_Types_Group Data Types
28 * 153 *
29 * @since 1.2 154 * @since 1.2
@@ -40,6 +165,19 @@
40/** 165/**
41 * @defgroup Eina_Inline_Array_Group Inline Array 166 * @defgroup Eina_Inline_Array_Group Inline Array
42 * 167 *
168 * Inline array is a container that stores the data itself not pointers to data,
169 * this means there is no memory fragmentation, also for small data types(such
170 * as char, short, int, etc.) it's more memory efficient.
171 *
172 * Usage of the inline array is very similar to that of other
173 * @ref Eina_Containers_Group, like all arrays adding elements to the beginning
174 * of the array is a lot more costly than appending, so those operations should
175 * be minimized.
176 *
177 * Examples:
178 * @li @ref eina_inarray_example_01
179 * @li @ref eina_inarray_example_02
180 *
43 * @{ 181 * @{
44 */ 182 */
45 183
@@ -531,8 +669,8 @@ EAPI Eina_Accessor *eina_inarray_accessor_new(const Eina_Inarray *array) EINA_MA
531 * @since 1.2 669 * @since 1.2
532 */ 670 */
533#define EINA_INARRAY_FOREACH(array, itr) \ 671#define EINA_INARRAY_FOREACH(array, itr) \
534 for ((itr) = array->members; \ 672 for ((itr) = (array)->members; \
535 (itr) < (((typeof(*itr)*)array->members) + array->len); \ 673 (itr) < (((typeof(*itr)*)(array)->members) + (array)->len); \
536 (itr)++) 674 (itr)++)
537 675
538/** 676/**
@@ -552,9 +690,9 @@ EAPI Eina_Accessor *eina_inarray_accessor_new(const Eina_Inarray *array) EINA_MA
552 * @since 1.2 690 * @since 1.2
553 */ 691 */
554#define EINA_INARRAY_REVERSE_FOREACH(array, itr) \ 692#define EINA_INARRAY_REVERSE_FOREACH(array, itr) \
555 for ((itr) = ((((typeof(*(itr))*)array->members) + array->len) - 1); \ 693 for ((itr) = ((((typeof(*(itr))*)(array)->members) + (array)->len) - 1); \
556 (((itr) >= (typeof(*(itr))*)array->members) \ 694 (((itr) >= (typeof(*(itr))*)(array)->members) \
557 && (array->members != NULL)); \ 695 && ((array)->members != NULL)); \
558 (itr)--) 696 (itr)--)
559 697
560/** 698/**
diff --git a/libraries/eina/src/include/eina_inline_lock_win32.x b/libraries/eina/src/include/eina_inline_lock_win32.x
index e8363d5..1988724 100644
--- a/libraries/eina/src/include/eina_inline_lock_win32.x
+++ b/libraries/eina/src/include/eina_inline_lock_win32.x
@@ -23,6 +23,9 @@
23 23
24typedef CRITICAL_SECTION Eina_Lock; 24typedef CRITICAL_SECTION Eina_Lock;
25typedef struct _Eina_Condition Eina_Condition; 25typedef struct _Eina_Condition Eina_Condition;
26typedef struct _Eina_RWLock Eina_RWLock;
27typedef DWORD Eina_TLS;
28typedef HANDLE Eina_Semaphore;
26 29
27#if _WIN32_WINNT >= 0x0600 30#if _WIN32_WINNT >= 0x0600
28struct _Eina_Condition 31struct _Eina_Condition
@@ -30,6 +33,13 @@ struct _Eina_Condition
30 CRITICAL_SECTION *mutex; 33 CRITICAL_SECTION *mutex;
31 CONDITION_VARIABLE condition; 34 CONDITION_VARIABLE condition;
32}; 35};
36
37struct _Eina_RWLock
38{
39 SRWLOCK mutex;
40
41 Eina_Bool is_read_mode : 1;
42};
33#else 43#else
34struct _Eina_Condition 44struct _Eina_Condition
35{ 45{
@@ -40,28 +50,24 @@ struct _Eina_Condition
40 HANDLE waiters_done; 50 HANDLE waiters_done;
41 Eina_Bool was_broadcast; 51 Eina_Bool was_broadcast;
42}; 52};
43#endif
44 53
45typedef struct _Eina_Win32_RWLock Eina_RWLock; 54struct _Eina_RWLock
46
47struct _Eina_Win32_RWLock
48{ 55{
49 LONG readers_count; 56 LONG readers_count;
50 LONG writers_count; 57 LONG writers_count;
51 int readers; 58 int readers;
52 int writers; 59 int writers;
53 60
54 Eina_Lock mutex; 61 Eina_Lock mutex;
55 Eina_Condition cond_read; 62 Eina_Condition cond_read;
56 Eina_Condition cond_write; 63 Eina_Condition cond_write;
57}; 64};
65#endif
58 66
59typedef DWORD Eina_TLS;
60
61typedef HANDLE Eina_Semaphore;
62 67
63EAPI extern Eina_Bool _eina_threads_activated; 68EAPI extern Eina_Bool _eina_threads_activated;
64 69
70
65static inline Eina_Bool 71static inline Eina_Bool
66eina_lock_new(Eina_Lock *mutex) 72eina_lock_new(Eina_Lock *mutex)
67{ 73{
@@ -143,9 +149,9 @@ eina_condition_new(Eina_Condition *cond, Eina_Lock *mutex)
143 CloseHandle(cond->semaphore); 149 CloseHandle(cond->semaphore);
144 return EINA_FALSE; 150 return EINA_FALSE;
145 } 151 }
152#endif
146 153
147 return EINA_TRUE; 154 return EINA_TRUE;
148#endif
149} 155}
150 156
151static inline void 157static inline void
@@ -153,6 +159,7 @@ eina_condition_free(Eina_Condition *cond)
153{ 159{
154#if _WIN32_WINNT >= 0x0600 160#if _WIN32_WINNT >= 0x0600
155 /* Nothing to do */ 161 /* Nothing to do */
162 (void)cond;
156#else 163#else
157 CloseHandle(cond->waiters_done); 164 CloseHandle(cond->waiters_done);
158 DeleteCriticalSection(&cond->waiters_count_lock); 165 DeleteCriticalSection(&cond->waiters_count_lock);
@@ -309,20 +316,29 @@ eina_condition_signal(Eina_Condition *cond)
309 if (!ReleaseSemaphore(cond->semaphore, 1, 0)) 316 if (!ReleaseSemaphore(cond->semaphore, 1, 0))
310 return EINA_FALSE; 317 return EINA_FALSE;
311 } 318 }
319#endif
312 320
313 return EINA_TRUE; 321 return EINA_TRUE;
314#endif
315} 322}
316 323
317static inline Eina_Bool 324static inline Eina_Bool
318eina_rwlock_new(Eina_RWLock *mutex) 325eina_rwlock_new(Eina_RWLock *mutex)
319{ 326{
327#if _WIN32_WINNT >= 0x0600
328 InitializeSRWLock(&mutex->mutex);
329 return EINA_TRUE;
330#else
320 if (!eina_lock_new(&(mutex->mutex))) return EINA_FALSE; 331 if (!eina_lock_new(&(mutex->mutex))) return EINA_FALSE;
321 if (!eina_condition_new(&(mutex->cond_read), &(mutex->mutex))) 332 if (!eina_condition_new(&(mutex->cond_read), &(mutex->mutex)))
322 goto on_error1; 333 goto on_error1;
323 if (!eina_condition_new(&(mutex->cond_write), &(mutex->mutex))) 334 if (!eina_condition_new(&(mutex->cond_write), &(mutex->mutex)))
324 goto on_error2; 335 goto on_error2;
325 336
337 mutex->readers_count = 0;
338 mutex->writers_count = 0;
339 mutex->readers = 0;
340 mutex->writers = 0;
341
326 return EINA_TRUE; 342 return EINA_TRUE;
327 343
328 on_error2: 344 on_error2:
@@ -330,20 +346,29 @@ eina_rwlock_new(Eina_RWLock *mutex)
330 on_error1: 346 on_error1:
331 eina_lock_free(&(mutex->mutex)); 347 eina_lock_free(&(mutex->mutex));
332 return EINA_FALSE; 348 return EINA_FALSE;
349#endif
333} 350}
334 351
335static inline void 352static inline void
336eina_rwlock_free(Eina_RWLock *mutex) 353eina_rwlock_free(Eina_RWLock *mutex)
337{ 354{
355#if _WIN32_WINNT >= 0x0600
356 (void)mutex;
357#else
338 eina_condition_free(&(mutex->cond_read)); 358 eina_condition_free(&(mutex->cond_read));
339 eina_condition_free(&(mutex->cond_write)); 359 eina_condition_free(&(mutex->cond_write));
340 eina_lock_free(&(mutex->mutex)); 360 eina_lock_free(&(mutex->mutex));
361#endif
341} 362}
342 363
343static inline Eina_Lock_Result 364static inline Eina_Lock_Result
344eina_rwlock_take_read(Eina_RWLock *mutex) 365eina_rwlock_take_read(Eina_RWLock *mutex)
345{ 366{
346 DWORD res; 367#if _WIN32_WINNT >= 0x0600
368 AcquireSRWLockShared(&mutex->mutex);
369 mutex->is_read_mode = EINA_TRUE;
370#else
371 DWORD res = 0;
347 372
348 if (eina_lock_take(&(mutex->mutex)) == EINA_LOCK_FAIL) 373 if (eina_lock_take(&(mutex->mutex)) == EINA_LOCK_FAIL)
349 return EINA_LOCK_FAIL; 374 return EINA_LOCK_FAIL;
@@ -364,6 +389,7 @@ eina_rwlock_take_read(Eina_RWLock *mutex)
364 if (res == 0) 389 if (res == 0)
365 mutex->readers++; 390 mutex->readers++;
366 eina_lock_release(&(mutex->mutex)); 391 eina_lock_release(&(mutex->mutex));
392#endif
367 393
368 return EINA_LOCK_SUCCEED; 394 return EINA_LOCK_SUCCEED;
369} 395}
@@ -371,7 +397,11 @@ eina_rwlock_take_read(Eina_RWLock *mutex)
371static inline Eina_Lock_Result 397static inline Eina_Lock_Result
372eina_rwlock_take_write(Eina_RWLock *mutex) 398eina_rwlock_take_write(Eina_RWLock *mutex)
373{ 399{
374 DWORD res; 400#if _WIN32_WINNT >= 0x0600
401 AcquireSRWLockExclusive(&mutex->mutex);
402 mutex->is_read_mode = EINA_FALSE;
403#else
404 DWORD res = 0;
375 405
376 if (eina_lock_take(&(mutex->mutex)) == EINA_LOCK_FAIL) 406 if (eina_lock_take(&(mutex->mutex)) == EINA_LOCK_FAIL)
377 return EINA_LOCK_FAIL; 407 return EINA_LOCK_FAIL;
@@ -389,8 +419,9 @@ eina_rwlock_take_write(Eina_RWLock *mutex)
389 } 419 }
390 mutex->writers_count--; 420 mutex->writers_count--;
391 } 421 }
392 if (res == 0) mutex->writers_count = 1; 422 if (res == 0) mutex->writers = 1;
393 eina_lock_release(&(mutex->mutex)); 423 eina_lock_release(&(mutex->mutex));
424#endif
394 425
395 return EINA_LOCK_SUCCEED; 426 return EINA_LOCK_SUCCEED;
396} 427}
@@ -398,6 +429,12 @@ eina_rwlock_take_write(Eina_RWLock *mutex)
398static inline Eina_Lock_Result 429static inline Eina_Lock_Result
399eina_rwlock_release(Eina_RWLock *mutex) 430eina_rwlock_release(Eina_RWLock *mutex)
400{ 431{
432#if _WIN32_WINNT >= 0x0600
433 if (mutex->is_read_mode)
434 ReleaseSRWLockShared(&mutex->mutex);
435 else
436 ReleaseSRWLockExclusive(&mutex->mutex);
437#else
401 if (eina_lock_take(&(mutex->mutex)) == EINA_LOCK_FAIL) 438 if (eina_lock_take(&(mutex->mutex)) == EINA_LOCK_FAIL)
402 return EINA_LOCK_FAIL; 439 return EINA_LOCK_FAIL;
403 440
@@ -433,6 +470,7 @@ eina_rwlock_release(Eina_RWLock *mutex)
433 } 470 }
434 } 471 }
435 eina_lock_release(&(mutex->mutex)); 472 eina_lock_release(&(mutex->mutex));
473#endif
436 474
437 return EINA_LOCK_SUCCEED; 475 return EINA_LOCK_SUCCEED;
438} 476}
diff --git a/libraries/eina/src/include/eina_inline_stringshare.x b/libraries/eina/src/include/eina_inline_stringshare.x
index bfd7677..19827c5 100644
--- a/libraries/eina/src/include/eina_inline_stringshare.x
+++ b/libraries/eina/src/include/eina_inline_stringshare.x
@@ -43,7 +43,7 @@
43 * #EINA_FALSE if the strings were the same after shared. 43 * #EINA_FALSE if the strings were the same after shared.
44 */ 44 */
45static inline Eina_Bool 45static inline Eina_Bool
46eina_stringshare_replace(const char **p_str, const char *news) 46eina_stringshare_replace(Eina_Stringshare **p_str, const char *news)
47{ 47{
48 if (*p_str == news) return EINA_FALSE; 48 if (*p_str == news) return EINA_FALSE;
49 49
@@ -72,7 +72,7 @@ eina_stringshare_replace(const char **p_str, const char *news)
72 * #EINA_FALSE if the strings were the same after shared. 72 * #EINA_FALSE if the strings were the same after shared.
73 */ 73 */
74static inline Eina_Bool 74static inline Eina_Bool
75eina_stringshare_replace_length(const char **p_str, const char *news, unsigned int slen) 75eina_stringshare_replace_length(Eina_Stringshare **p_str, const char *news, unsigned int slen)
76{ 76{
77 if (*p_str == news) return EINA_FALSE; 77 if (*p_str == news) return EINA_FALSE;
78 78
diff --git a/libraries/eina/src/include/eina_inline_value.x b/libraries/eina/src/include/eina_inline_value.x
index 59ec315..33c83f5 100644
--- a/libraries/eina/src/include/eina_inline_value.x
+++ b/libraries/eina/src/include/eina_inline_value.x
@@ -19,8 +19,8 @@
19#ifndef EINA_INLINE_VALUE_X_ 19#ifndef EINA_INLINE_VALUE_X_
20#define EINA_INLINE_VALUE_X_ 20#define EINA_INLINE_VALUE_X_
21 21
22#include <stdlib.h>
22#include <string.h> 23#include <string.h>
23#include <alloca.h>
24 24
25#include "eina_stringshare.h" 25#include "eina_stringshare.h"
26 26
@@ -210,7 +210,7 @@ eina_value_compare(const Eina_Value *a, const Eina_Value *b)
210 return 1; 210 return 1;
211 return 0; 211 return 0;
212 } 212 }
213 else if (type == EINA_VALUE_TYPE_ULONG) 213 else if ((type == EINA_VALUE_TYPE_ULONG) || (type == EINA_VALUE_TYPE_TIMESTAMP))
214 { 214 {
215 unsigned long *ta = (unsigned long *) pa, *tb = (unsigned long *) pb; 215 unsigned long *ta = (unsigned long *) pa, *tb = (unsigned long *) pb;
216 if (*ta < *tb) 216 if (*ta < *tb)
@@ -362,7 +362,7 @@ eina_value_vset(Eina_Value *value, va_list args)
362 *tmem = va_arg(args, unsigned int); 362 *tmem = va_arg(args, unsigned int);
363 return EINA_TRUE; 363 return EINA_TRUE;
364 } 364 }
365 else if (type == EINA_VALUE_TYPE_ULONG) 365 else if ((type == EINA_VALUE_TYPE_ULONG) || (type == EINA_VALUE_TYPE_TIMESTAMP))
366 { 366 {
367 unsigned long *tmem = (unsigned long *) mem; 367 unsigned long *tmem = (unsigned long *) mem;
368 *tmem = va_arg(args, unsigned long); 368 *tmem = va_arg(args, unsigned long);
@@ -424,17 +424,22 @@ eina_value_vset(Eina_Value *value, va_list args)
424 else if (type == EINA_VALUE_TYPE_STRING) 424 else if (type == EINA_VALUE_TYPE_STRING)
425 { 425 {
426 const char *str = (const char *) va_arg(args, const char *); 426 const char *str = (const char *) va_arg(args, const char *);
427 free(value->value.ptr); 427 if (value->value.ptr == str) return EINA_TRUE;
428 if (!str) 428 if (!str)
429 value->value.ptr = NULL; 429 {
430 free(value->value.ptr);
431 value->value.ptr = NULL;
432 }
430 else 433 else
431 { 434 {
432 value->value.ptr = strdup(str); 435 char *tmp = strdup(str);
433 if (!value->value.ptr) 436 if (!tmp)
434 { 437 {
435 eina_error_set(EINA_ERROR_OUT_OF_MEMORY); 438 eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
436 return EINA_FALSE; 439 return EINA_FALSE;
437 } 440 }
441 free(value->value.ptr);
442 value->value.ptr = tmp;
438 } 443 }
439 return EINA_TRUE; 444 return EINA_TRUE;
440 } 445 }
@@ -494,18 +499,22 @@ eina_value_pset(Eina_Value *value, const void *ptr)
494 { 499 {
495 const char * const * pstr = (const char * const *) ptr; 500 const char * const * pstr = (const char * const *) ptr;
496 const char *str = *pstr; 501 const char *str = *pstr;
497 502 if (value->value.ptr == str) return EINA_TRUE;
498 free(value->value.ptr);
499 if (!str) 503 if (!str)
500 value->value.ptr = NULL; 504 {
505 free(value->value.ptr);
506 value->value.ptr = NULL;
507 }
501 else 508 else
502 { 509 {
503 value->value.ptr = strdup(str); 510 char *tmp = strdup(str);
504 if (!value->value.ptr) 511 if (!tmp)
505 { 512 {
506 eina_error_set(EINA_ERROR_OUT_OF_MEMORY); 513 eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
507 return EINA_FALSE; 514 return EINA_FALSE;
508 } 515 }
516 free(value->value.ptr);
517 value->value.ptr = tmp;
509 } 518 }
510 return EINA_TRUE; 519 return EINA_TRUE;
511 } 520 }
@@ -607,16 +616,7 @@ eina_value_array_vset(Eina_Value *value, unsigned int position, va_list args)
607 if (!mem) 616 if (!mem)
608 return EINA_FALSE; 617 return EINA_FALSE;
609 618
610 eina_value_type_flush(desc.subtype, mem); 619 return eina_value_type_vset(desc.subtype, mem, args);
611
612 if (!eina_value_type_setup(desc.subtype, mem)) goto error_setup;
613 if (!eina_value_type_vset(desc.subtype, mem, args)) goto error_set;
614 return EINA_TRUE;
615
616 error_set:
617 eina_value_type_flush(desc.subtype, mem);
618 error_setup:
619 return EINA_FALSE;
620} 620}
621 621
622static inline Eina_Bool 622static inline Eina_Bool
@@ -749,16 +749,7 @@ eina_value_array_pset(Eina_Value *value, unsigned int position, const void *ptr)
749 if (!mem) 749 if (!mem)
750 return EINA_FALSE; 750 return EINA_FALSE;
751 751
752 eina_value_type_flush(desc.subtype, mem); 752 return eina_value_type_pset(desc.subtype, mem, ptr);
753
754 if (!eina_value_type_setup(desc.subtype, mem)) goto error_setup;
755 if (!eina_value_type_pset(desc.subtype, mem, ptr)) goto error_set;
756 return EINA_TRUE;
757
758 error_set:
759 eina_value_type_flush(desc.subtype, mem);
760 error_setup:
761 return EINA_FALSE;
762} 753}
763 754
764static inline Eina_Bool 755static inline Eina_Bool
@@ -832,6 +823,29 @@ eina_value_array_pappend(Eina_Value *value, const void *ptr)
832 return EINA_FALSE; 823 return EINA_FALSE;
833} 824}
834 825
826static inline Eina_Bool
827eina_value_array_value_get(const Eina_Value *src, unsigned int position, Eina_Value *dst)
828{
829 Eina_Value_Array desc;
830
831 EINA_VALUE_TYPE_ARRAY_CHECK_RETURN_VAL(src, EINA_FALSE);
832 EINA_SAFETY_ON_NULL_RETURN_VAL(dst, EINA_FALSE);
833
834 if (!eina_value_pget(src, &desc))
835 return EINA_FALSE;
836 if (position >= eina_inarray_count(desc.array))
837 return EINA_FALSE;
838 if (!eina_value_setup(dst, desc.subtype))
839 return EINA_FALSE;
840 if (!eina_value_pset(dst, eina_inarray_nth(desc.array, position)))
841 {
842 eina_value_flush(dst);
843 return EINA_FALSE;
844 }
845
846 return EINA_TRUE;
847}
848
835#undef EINA_VALUE_TYPE_ARRAY_CHECK_RETURN_VAL 849#undef EINA_VALUE_TYPE_ARRAY_CHECK_RETURN_VAL
836 850
837#define EINA_VALUE_TYPE_LIST_CHECK_RETURN_VAL(value, retval) \ 851#define EINA_VALUE_TYPE_LIST_CHECK_RETURN_VAL(value, retval) \
@@ -929,16 +943,7 @@ eina_value_list_vset(Eina_Value *value, unsigned int position, va_list args)
929 if (!mem) 943 if (!mem)
930 return EINA_FALSE; 944 return EINA_FALSE;
931 945
932 eina_value_type_flush(desc->subtype, mem); 946 return eina_value_type_vset(desc->subtype, mem, args);
933
934 if (!eina_value_type_setup(desc->subtype, mem)) goto error_setup;
935 if (!eina_value_type_vset(desc->subtype, mem, args)) goto error_set;
936 return EINA_TRUE;
937
938 error_set:
939 eina_value_type_flush(desc->subtype, mem);
940 error_setup:
941 return EINA_FALSE;
942} 947}
943 948
944static inline Eina_Bool 949static inline Eina_Bool
@@ -1105,16 +1110,7 @@ eina_value_list_pset(Eina_Value *value, unsigned int position, const void *ptr)
1105 if (!mem) 1110 if (!mem)
1106 return EINA_FALSE; 1111 return EINA_FALSE;
1107 1112
1108 eina_value_type_flush(desc->subtype, mem); 1113 return eina_value_type_pset(desc->subtype, mem, ptr);
1109
1110 if (!eina_value_type_setup(desc->subtype, mem)) goto error_setup;
1111 if (!eina_value_type_pset(desc->subtype, mem, ptr)) goto error_set;
1112 return EINA_TRUE;
1113
1114 error_set:
1115 eina_value_type_flush(desc->subtype, mem);
1116 error_setup:
1117 return EINA_FALSE;
1118} 1114}
1119 1115
1120static inline Eina_Bool 1116static inline Eina_Bool
@@ -1284,9 +1280,7 @@ eina_value_hash_vset(Eina_Value *value, const char *key, va_list args)
1284 return EINA_FALSE; 1280 return EINA_FALSE;
1285 1281
1286 mem = eina_hash_find(desc->hash, key); 1282 mem = eina_hash_find(desc->hash, key);
1287 if (mem) 1283 if (!mem)
1288 eina_value_type_flush(desc->subtype, mem);
1289 else
1290 { 1284 {
1291 mem = malloc(desc->subtype->value_size); 1285 mem = malloc(desc->subtype->value_size);
1292 if (!mem) 1286 if (!mem)
@@ -1299,18 +1293,15 @@ eina_value_hash_vset(Eina_Value *value, const char *key, va_list args)
1299 free(mem); 1293 free(mem);
1300 return EINA_FALSE; 1294 return EINA_FALSE;
1301 } 1295 }
1296 if (!eina_value_type_setup(desc->subtype, mem))
1297 {
1298 eina_value_type_flush(desc->subtype, mem);
1299 eina_hash_del_by_key(desc->hash, key);
1300 free(mem);
1301 }
1302 } 1302 }
1303 1303
1304 if (!eina_value_type_setup(desc->subtype, mem)) goto error_setup; 1304 return eina_value_type_vset(desc->subtype, mem, args);
1305 if (!eina_value_type_vset(desc->subtype, mem, args)) goto error_set;
1306 return EINA_TRUE;
1307
1308 error_set:
1309 eina_value_type_flush(desc->subtype, mem);
1310 error_setup:
1311 eina_hash_del_by_key(desc->hash, key);
1312 free(mem);
1313 return EINA_FALSE;
1314} 1305}
1315 1306
1316static inline Eina_Bool 1307static inline Eina_Bool
@@ -1371,9 +1362,7 @@ eina_value_hash_pset(Eina_Value *value, const char *key, const void *ptr)
1371 return EINA_FALSE; 1362 return EINA_FALSE;
1372 1363
1373 mem = eina_hash_find(desc->hash, key); 1364 mem = eina_hash_find(desc->hash, key);
1374 if (mem) 1365 if (!mem)
1375 eina_value_type_flush(desc->subtype, mem);
1376 else
1377 { 1366 {
1378 mem = malloc(desc->subtype->value_size); 1367 mem = malloc(desc->subtype->value_size);
1379 if (!mem) 1368 if (!mem)
@@ -1386,18 +1375,15 @@ eina_value_hash_pset(Eina_Value *value, const char *key, const void *ptr)
1386 free(mem); 1375 free(mem);
1387 return EINA_FALSE; 1376 return EINA_FALSE;
1388 } 1377 }
1378 if (!eina_value_type_setup(desc->subtype, mem))
1379 {
1380 eina_value_type_flush(desc->subtype, mem);
1381 eina_hash_del_by_key(desc->hash, key);
1382 free(mem);
1383 }
1389 } 1384 }
1390 1385
1391 if (!eina_value_type_setup(desc->subtype, mem)) goto error_setup; 1386 return eina_value_type_pset(desc->subtype, mem, ptr);
1392 if (!eina_value_type_pset(desc->subtype, mem, ptr)) goto error_set;
1393 return EINA_TRUE;
1394
1395 error_set:
1396 eina_value_type_flush(desc->subtype, mem);
1397 error_setup:
1398 eina_hash_del_by_key(desc->hash, key);
1399 free(mem);
1400 return EINA_FALSE;
1401} 1387}
1402 1388
1403static inline Eina_Bool 1389static inline Eina_Bool
@@ -1474,15 +1460,7 @@ eina_value_struct_vset(Eina_Value *value, const char *name, va_list args)
1474 if (!mem) 1460 if (!mem)
1475 return EINA_FALSE; 1461 return EINA_FALSE;
1476 1462
1477 eina_value_type_flush(member->type, mem); 1463 return eina_value_type_vset(member->type, mem, args);
1478 if (!eina_value_type_setup(member->type, mem)) goto error_setup;
1479 if (!eina_value_type_vset(member->type, mem, args)) goto error_set;
1480 return EINA_TRUE;
1481
1482 error_set:
1483 eina_value_type_flush(member->type, mem);
1484 error_setup:
1485 return EINA_FALSE;
1486} 1464}
1487 1465
1488static inline Eina_Bool 1466static inline Eina_Bool
@@ -1540,8 +1518,9 @@ eina_value_struct_pset(Eina_Value *value, const char *name, const void *ptr)
1540 Eina_Value_Struct *st; 1518 Eina_Value_Struct *st;
1541 void *mem; 1519 void *mem;
1542 1520
1543 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(value, 0); 1521 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(value, EINA_FALSE);
1544 EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE); 1522 EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE);
1523 EINA_SAFETY_ON_NULL_RETURN_VAL(ptr, EINA_FALSE);
1545 st = (Eina_Value_Struct *)eina_value_memory_get(value); 1524 st = (Eina_Value_Struct *)eina_value_memory_get(value);
1546 if (!st) 1525 if (!st)
1547 return EINA_FALSE; 1526 return EINA_FALSE;
@@ -1552,15 +1531,7 @@ eina_value_struct_pset(Eina_Value *value, const char *name, const void *ptr)
1552 if (!mem) 1531 if (!mem)
1553 return EINA_FALSE; 1532 return EINA_FALSE;
1554 1533
1555 eina_value_type_flush(member->type, mem); 1534 return eina_value_type_pset(member->type, mem, ptr);
1556 if (!eina_value_type_setup(member->type, mem)) goto error_setup;
1557 if (!eina_value_type_pset(member->type, mem, ptr)) goto error_set;
1558 return EINA_TRUE;
1559
1560 error_set:
1561 eina_value_type_flush(member->type, mem);
1562 error_setup:
1563 return EINA_FALSE;
1564} 1535}
1565 1536
1566static inline Eina_Bool 1537static inline Eina_Bool
@@ -1571,8 +1542,9 @@ eina_value_struct_pget(const Eina_Value *value, const char *name, void *ptr)
1571 const void *mem; 1542 const void *mem;
1572 Eina_Bool ret; 1543 Eina_Bool ret;
1573 1544
1574 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(value, 0); 1545 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(value, EINA_FALSE);
1575 EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE); 1546 EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE);
1547 EINA_SAFETY_ON_NULL_RETURN_VAL(ptr, EINA_FALSE);
1576 st = (const Eina_Value_Struct *)eina_value_memory_get(value); 1548 st = (const Eina_Value_Struct *)eina_value_memory_get(value);
1577 if (!st) 1549 if (!st)
1578 return EINA_FALSE; 1550 return EINA_FALSE;
@@ -1586,6 +1558,119 @@ eina_value_struct_pget(const Eina_Value *value, const char *name, void *ptr)
1586 ret = eina_value_type_pget(member->type, mem, ptr); 1558 ret = eina_value_type_pget(member->type, mem, ptr);
1587 return ret; 1559 return ret;
1588} 1560}
1561
1562static inline Eina_Bool
1563eina_value_struct_value_get(const Eina_Value *src, const char *name, Eina_Value *dst)
1564{
1565 const Eina_Value_Struct_Member *member;
1566 const Eina_Value_Struct *st;
1567 const void *mem;
1568
1569 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(src, EINA_FALSE);
1570 EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE);
1571 EINA_SAFETY_ON_NULL_RETURN_VAL(dst, EINA_FALSE);
1572 st = (const Eina_Value_Struct *)eina_value_memory_get(src);
1573 if (!st)
1574 return EINA_FALSE;
1575 member = eina_value_struct_member_find(st, name);
1576 if (!member)
1577 return EINA_FALSE;
1578 mem = eina_value_struct_member_memory_get(st, member);
1579 if (!mem)
1580 return EINA_FALSE;
1581 if (!eina_value_setup(dst, member->type))
1582 return EINA_FALSE;
1583 if (!eina_value_pset(dst, mem))
1584 {
1585 eina_value_flush(dst);
1586 return EINA_FALSE;
1587 }
1588 return EINA_TRUE;
1589}
1590
1591static inline Eina_Bool
1592eina_value_struct_value_set(Eina_Value *dst, const char *name, const Eina_Value *src)
1593{
1594 const Eina_Value_Struct_Member *member;
1595 Eina_Value_Struct *st;
1596 void *mem;
1597 const void *ptr;
1598
1599 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(dst, EINA_FALSE);
1600 EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE);
1601 EINA_SAFETY_ON_NULL_RETURN_VAL(src, EINA_FALSE);
1602
1603 st = (Eina_Value_Struct *)eina_value_memory_get(dst);
1604 if (!st)
1605 return EINA_FALSE;
1606 member = eina_value_struct_member_find(st, name);
1607 if (!member)
1608 return EINA_FALSE;
1609 EINA_SAFETY_ON_FALSE_RETURN_VAL(src->type == member->type, EINA_FALSE);
1610
1611 mem = eina_value_struct_member_memory_get(st, member);
1612 if (!mem)
1613 return EINA_FALSE;
1614
1615 ptr = eina_value_memory_get(src);
1616 if (!ptr)
1617 return EINA_FALSE;
1618
1619 return eina_value_type_pset(member->type, mem, ptr);
1620}
1621
1622static inline Eina_Bool
1623eina_value_struct_member_value_get(const Eina_Value *src, const Eina_Value_Struct_Member *member, Eina_Value *dst)
1624{
1625 const Eina_Value_Struct *st;
1626 const void *mem;
1627
1628 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(src, EINA_FALSE);
1629 EINA_SAFETY_ON_NULL_RETURN_VAL(member, EINA_FALSE);
1630 EINA_SAFETY_ON_NULL_RETURN_VAL(dst, EINA_FALSE);
1631 st = (const Eina_Value_Struct *)eina_value_memory_get(src);
1632 if (!st)
1633 return EINA_FALSE;
1634 mem = eina_value_struct_member_memory_get(st, member);
1635 if (!mem)
1636 return EINA_FALSE;
1637 if (!eina_value_setup(dst, member->type))
1638 return EINA_FALSE;
1639 if (!eina_value_pset(dst, mem))
1640 {
1641 eina_value_flush(dst);
1642 return EINA_FALSE;
1643 }
1644 return EINA_TRUE;
1645}
1646
1647static inline Eina_Bool
1648eina_value_struct_member_value_set(Eina_Value *dst, const Eina_Value_Struct_Member *member, const Eina_Value *src)
1649{
1650 Eina_Value_Struct *st;
1651 void *mem;
1652 const void *ptr;
1653
1654 EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL(dst, EINA_FALSE);
1655 EINA_SAFETY_ON_NULL_RETURN_VAL(member, EINA_FALSE);
1656 EINA_SAFETY_ON_NULL_RETURN_VAL(src, EINA_FALSE);
1657
1658 st = (Eina_Value_Struct *)eina_value_memory_get(dst);
1659 if (!st)
1660 return EINA_FALSE;
1661 EINA_SAFETY_ON_FALSE_RETURN_VAL(src->type == member->type, EINA_FALSE);
1662
1663 mem = eina_value_struct_member_memory_get(st, member);
1664 if (!mem)
1665 return EINA_FALSE;
1666
1667 ptr = eina_value_memory_get(src);
1668 if (!ptr)
1669 return EINA_FALSE;
1670
1671 return eina_value_type_pset(member->type, mem, ptr);
1672}
1673
1589#undef EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL 1674#undef EINA_VALUE_TYPE_STRUCT_CHECK_RETURN_VAL
1590 1675
1591 1676
diff --git a/libraries/eina/src/include/eina_list.h b/libraries/eina/src/include/eina_list.h
index db65e17..c8ef06d 100644
--- a/libraries/eina/src/include/eina_list.h
+++ b/libraries/eina/src/include/eina_list.h
@@ -881,13 +881,13 @@ EAPI Eina_List *eina_list_clone(const Eina_List *list) EINA_WARN_UNUS
881 * @brief Sort a list according to the ordering func will return. 881 * @brief Sort a list according to the ordering func will return.
882 * 882 *
883 * @param list The list handle to sort. 883 * @param list The list handle to sort.
884 * @param size The length of the list to sort. 884 * @param limit The maximum number of list elements to sort.
885 * @param func A function pointer that can handle comparing the list data 885 * @param func A function pointer that can handle comparing the list data
886 * nodes. 886 * nodes.
887 * @return the new head of list. 887 * @return the new head of list.
888 * 888 *
889 * This function sorts @p list. @p size if the number of the first 889 * This function sorts @p list. @p size if the number of the first
890 * element to sort. If @p size is 0 or greater than the number of 890 * element to sort. If @p limit is 0 or greater than the number of
891 * elements in @p list, all the elements are sorted. @p func is used to 891 * elements in @p list, all the elements are sorted. @p func is used to
892 * compare two elements of @p list. If @p list or @p func are @c NULL, 892 * compare two elements of @p list. If @p list or @p func are @c NULL,
893 * this function returns @c NULL. 893 * this function returns @c NULL.
@@ -920,7 +920,7 @@ EAPI Eina_List *eina_list_clone(const Eina_List *list) EINA_WARN_UNUS
920 * 920 *
921 * @warning @p list must be a pointer to the first element of the list. 921 * @warning @p list must be a pointer to the first element of the list.
922 */ 922 */
923EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int size, Eina_Compare_Cb func) EINA_ARG_NONNULL(3) EINA_WARN_UNUSED_RESULT; 923EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int limit, Eina_Compare_Cb func) EINA_ARG_NONNULL(3) EINA_WARN_UNUSED_RESULT;
924 924
925 925
926/** 926/**
diff --git a/libraries/eina/src/include/eina_stringshare.h b/libraries/eina/src/include/eina_stringshare.h
index 862b2b2..8edadd2 100644
--- a/libraries/eina/src/include/eina_stringshare.h
+++ b/libraries/eina/src/include/eina_stringshare.h
@@ -126,6 +126,20 @@
126 * string creation/destruction speed, reduces memory use and decreases 126 * string creation/destruction speed, reduces memory use and decreases
127 * memory fragmentation, so a win all-around. 127 * memory fragmentation, so a win all-around.
128 * 128 *
129 * Using eina stringshares usually boils down to:
130 * @code
131 * const char *str = eina_stringshare_add("My string");
132 * ...
133 * //Use str
134 * ...
135 * eina_stringshare_del(str);
136 * @endcode
137 * @note It's very important to note that string shares are @b @c const,
138 * changing them will result in undefined behavior.
139 * @note eina_stringshare_del() @b doesn't guarantee the string share will be
140 * freed, it releases a reference to it, but if other references to it still
141 * exist the string share will live until those are released.
142 *
129 * The following diagram gives an idea of what happens as you create strings 143 * The following diagram gives an idea of what happens as you create strings
130 * with eina_stringshare_add(): 144 * with eina_stringshare_add():
131 * 145 *
@@ -148,6 +162,15 @@
148 * @{ 162 * @{
149 */ 163 */
150 164
165/**
166 * @typedef Eina_Stringshare
167 *
168 * Interchangeable with "const char *" but still a good visual hint for the
169 * purpose. Maybe in the far far future we'll even add strict type checking.
170 *
171 * @since 1.2.0
172 */
173typedef const char Eina_Stringshare;
151 174
152/** 175/**
153 * @brief Retrieve an instance of a string for use in a program. 176 * @brief Retrieve an instance of a string for use in a program.
@@ -168,7 +191,7 @@
168 * 191 *
169 * @see eina_share_common_add() 192 * @see eina_share_common_add()
170 */ 193 */
171EAPI const char *eina_stringshare_add_length(const char *str, unsigned int slen) EINA_WARN_UNUSED_RESULT; 194EAPI Eina_Stringshare *eina_stringshare_add_length(const char *str, unsigned int slen) EINA_WARN_UNUSED_RESULT;
172 195
173/** 196/**
174 * @brief Retrieve an instance of a string for use in a program. 197 * @brief Retrieve an instance of a string for use in a program.
@@ -188,7 +211,7 @@ EAPI const char *eina_stringshare_add_length(const char *str, unsigned in
188 * 211 *
189 * @see eina_stringshare_add_length() 212 * @see eina_stringshare_add_length()
190 */ 213 */
191EAPI const char *eina_stringshare_add(const char *str) EINA_WARN_UNUSED_RESULT; 214EAPI Eina_Stringshare *eina_stringshare_add(const char *str) EINA_WARN_UNUSED_RESULT;
192 215
193/** 216/**
194 * @brief Retrieve an instance of a string for use in a program 217 * @brief Retrieve an instance of a string for use in a program
@@ -209,7 +232,7 @@ EAPI const char *eina_stringshare_add(const char *str) EINA_WARN_UNUSED_R
209 * 232 *
210 * @see eina_stringshare_nprintf() 233 * @see eina_stringshare_nprintf()
211 */ 234 */
212EAPI const char *eina_stringshare_printf(const char *fmt, ...) EINA_WARN_UNUSED_RESULT EINA_PRINTF(1, 2); 235EAPI Eina_Stringshare *eina_stringshare_printf(const char *fmt, ...) EINA_WARN_UNUSED_RESULT EINA_PRINTF(1, 2);
213 236
214/** 237/**
215 * @brief Retrieve an instance of a string for use in a program 238 * @brief Retrieve an instance of a string for use in a program
@@ -231,7 +254,7 @@ EAPI const char *eina_stringshare_printf(const char *fmt, ...) EINA_WARN_
231 * 254 *
232 * @see eina_stringshare_nprintf() 255 * @see eina_stringshare_nprintf()
233 */ 256 */
234EAPI const char *eina_stringshare_vprintf(const char *fmt, va_list args) EINA_WARN_UNUSED_RESULT; 257EAPI Eina_Stringshare *eina_stringshare_vprintf(const char *fmt, va_list args) EINA_WARN_UNUSED_RESULT;
235 258
236/** 259/**
237 * @brief Retrieve an instance of a string for use in a program 260 * @brief Retrieve an instance of a string for use in a program
@@ -251,7 +274,7 @@ EAPI const char *eina_stringshare_vprintf(const char *fmt, va_list args)
251 * 274 *
252 * @see eina_stringshare_printf() 275 * @see eina_stringshare_printf()
253 */ 276 */
254EAPI const char *eina_stringshare_nprintf(unsigned int len, const char *fmt, ...) EINA_WARN_UNUSED_RESULT EINA_PRINTF(2, 3); 277EAPI Eina_Stringshare *eina_stringshare_nprintf(unsigned int len, const char *fmt, ...) EINA_WARN_UNUSED_RESULT EINA_PRINTF(2, 3);
255 278
256/** 279/**
257 * Increment references of the given shared string. 280 * Increment references of the given shared string.
@@ -267,7 +290,7 @@ EAPI const char *eina_stringshare_nprintf(unsigned int len, const char *f
267 * 290 *
268 * There is no unref since this is the work of eina_share_common_del(). 291 * There is no unref since this is the work of eina_share_common_del().
269 */ 292 */
270EAPI const char *eina_stringshare_ref(const char *str); 293EAPI Eina_Stringshare *eina_stringshare_ref(Eina_Stringshare *str);
271 294
272/** 295/**
273 * @brief Note that the given string has lost an instance. 296 * @brief Note that the given string has lost an instance.
@@ -282,7 +305,7 @@ EAPI const char *eina_stringshare_ref(const char *str);
282 * Note that if the given pointer is not shared or NULL, bad things 305 * Note that if the given pointer is not shared or NULL, bad things
283 * will happen, likely a segmentation fault. 306 * will happen, likely a segmentation fault.
284 */ 307 */
285EAPI void eina_stringshare_del(const char *str); 308EAPI void eina_stringshare_del(Eina_Stringshare *str);
286 309
287/** 310/**
288 * @brief Note that the given string @b must be shared. 311 * @brief Note that the given string @b must be shared.
@@ -296,7 +319,7 @@ EAPI void eina_stringshare_del(const char *str);
296 * things will happen, likely a segmentation fault. If in doubt, try 319 * things will happen, likely a segmentation fault. If in doubt, try
297 * strlen(). 320 * strlen().
298 */ 321 */
299EAPI int eina_stringshare_strlen(const char *str) EINA_PURE EINA_WARN_UNUSED_RESULT; 322EAPI int eina_stringshare_strlen(Eina_Stringshare *str) EINA_PURE EINA_WARN_UNUSED_RESULT;
300 323
301/** 324/**
302 * @brief Dump the contents of the share_common. 325 * @brief Dump the contents of the share_common.
@@ -306,8 +329,8 @@ EAPI int eina_stringshare_strlen(const char *str) EINA_PURE EINA_
306 */ 329 */
307EAPI void eina_stringshare_dump(void); 330EAPI void eina_stringshare_dump(void);
308 331
309static inline Eina_Bool eina_stringshare_replace(const char **p_str, const char *news) EINA_ARG_NONNULL(1); 332static inline Eina_Bool eina_stringshare_replace(Eina_Stringshare **p_str, const char *news) EINA_ARG_NONNULL(1);
310static inline Eina_Bool eina_stringshare_replace_length(const char **p_str, const char *news, unsigned int slen) EINA_ARG_NONNULL(1); 333static inline Eina_Bool eina_stringshare_replace_length(Eina_Stringshare **p_str, const char *news, unsigned int slen) EINA_ARG_NONNULL(1);
311 334
312#include "eina_inline_stringshare.x" 335#include "eina_inline_stringshare.x"
313 336
diff --git a/libraries/eina/src/include/eina_types.h b/libraries/eina/src/include/eina_types.h
index 1653949..b0a7cf8 100644
--- a/libraries/eina/src/include/eina_types.h
+++ b/libraries/eina/src/include/eina_types.h
@@ -98,13 +98,13 @@
98 98
99#ifdef __GNUC__ 99#ifdef __GNUC__
100# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 100# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
101# define EINA_WARN_UNUSED_RESULT __attribute__ ((warn_unused_result)) 101# define EINA_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))
102# else 102# else
103# define EINA_WARN_UNUSED_RESULT 103# define EINA_WARN_UNUSED_RESULT
104# endif 104# endif
105 105
106# if (!defined(EINA_SAFETY_CHECKS)) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) 106# if (!defined(EINA_SAFETY_CHECKS)) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
107# define EINA_ARG_NONNULL(idx, ...) __attribute__ ((nonnull(idx, ## __VA_ARGS__))) 107# define EINA_ARG_NONNULL(idx, ...) __attribute__ ((__nonnull__(idx, ## __VA_ARGS__)))
108# else 108# else
109# define EINA_ARG_NONNULL(idx, ...) 109# define EINA_ARG_NONNULL(idx, ...)
110# endif 110# endif
@@ -116,19 +116,23 @@
116# endif 116# endif
117 117
118# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) 118# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
119# define EINA_MALLOC __attribute__ ((malloc)) 119# define EINA_MALLOC __attribute__ ((__malloc__))
120# define EINA_PURE __attribute__ ((pure)) 120# define EINA_PURE __attribute__ ((__pure__))
121# else 121# else
122# define EINA_MALLOC 122# define EINA_MALLOC
123# define EINA_PURE 123# define EINA_PURE
124# endif 124# endif
125 125
126# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) 126# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
127# define EINA_PRINTF(fmt, arg) __attribute__((format (printf, fmt, arg))) 127# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3)
128# define EINA_SCANF(fmt, arg) __attribute__((format (scanf, fmt, arg))) 128# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__gnu_printf__, fmt, arg)))
129# define EINA_FORMAT(fmt) __attribute__((format_arg(fmt))) 129# else
130# define EINA_CONST __attribute__((const)) 130# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__printf__, fmt, arg)))
131# define EINA_NOINSTRUMENT __attribute__((no_instrument_function)) 131# endif
132# define EINA_SCANF(fmt, arg) __attribute__((__format__ (__scanf__, fmt, arg)))
133# define EINA_FORMAT(fmt) __attribute__((__format_arg__(fmt)))
134# define EINA_CONST __attribute__((__const__))
135# define EINA_NOINSTRUMENT __attribute__((__no_instrument_function__))
132# define EINA_UNLIKELY(exp) __builtin_expect((exp), 0) 136# define EINA_UNLIKELY(exp) __builtin_expect((exp), 0)
133# define EINA_LIKELY(exp) __builtin_expect((exp), 1) 137# define EINA_LIKELY(exp) __builtin_expect((exp), 1)
134# else 138# else
@@ -276,6 +280,16 @@ typedef void (*Eina_Free_Cb)(void *data);
276#define EINA_FREE_CB(Function) ((Eina_Free_Cb)Function) 280#define EINA_FREE_CB(Function) ((Eina_Free_Cb)Function)
277 281
278/** 282/**
283 * @def EINA_C_ARRAY_LENGTH
284 * Macro to return the array length of a standard c array.
285 * For example:
286 * int foo[] = { 0, 1, 2, 3 };
287 * would return 4 and not 4 * sizeof(int).
288 * @since 1.2.0
289 */
290#define EINA_C_ARRAY_LENGTH(arr) (sizeof(arr) / sizeof((arr)[0]))
291
292/**
279 * @} 293 * @}
280 */ 294 */
281 295
diff --git a/libraries/eina/src/include/eina_value.h b/libraries/eina/src/include/eina_value.h
index 846c4ef..341781f 100644
--- a/libraries/eina/src/include/eina_value.h
+++ b/libraries/eina/src/include/eina_value.h
@@ -19,12 +19,244 @@
19#ifndef EINA_VALUE_H_ 19#ifndef EINA_VALUE_H_
20#define EINA_VALUE_H_ 20#define EINA_VALUE_H_
21 21
22#include <stdarg.h>
23
22#include "eina_types.h" 24#include "eina_types.h"
23#include "eina_fp.h" /* defines int64_t and uint64_t */ 25#include "eina_fp.h" /* defines int64_t and uint64_t */
24#include "eina_inarray.h" 26#include "eina_inarray.h"
25#include "eina_list.h" 27#include "eina_list.h"
26#include "eina_hash.h" 28#include "eina_hash.h"
27#include <stdarg.h> 29
30/**
31 * @page eina_value_example_01_page Eina_Value usage
32 * @dontinclude eina_value_01.c
33 *
34 * This very simple example shows how to use some of the basic features of eina
35 * value: setting and getting values, converting between types and printing a
36 * value as a string.
37 *
38 * Our main function starts out with the basic, declaring some variables and
39 * initializing eina:
40 * @until eina_init
41 *
42 * Now we can jump into using eina value. We set a value, get this value and
43 * then print it:
44 * @until printf
45 *
46 * In the above snippet of code we printed an @c int value, we can however print
47 * the value as a string:
48 * @until free
49 *
50 * And once done with a value it's good practice to destroy it:
51 * @until eina_value_flush
52 *
53 * We now reuse @c v to store a string, get its value and print it:
54 * @until printf
55 * @note Since @c s is the value and not returned by @c eina_value_to_string()
56 * we don't need to free it.
57 *
58 * Just because we stored a string doesn't mean we can't use the @c
59 * eina_value_to_string() function, we can and it's important to note that it
60 * will return not the stored string but rather a copy of it(one we have to
61 * free):
62 * @until eina_value_flush
63 *
64 * And now to explore conversions between two type we'll create another value:
65 * @until eina_value_setup
66 *
67 * And make sure @c v and @c otherv have different types:
68 * @until eina_value_setup
69 *
70 * We then set a value to @c v and have it converted, to do this we don't need
71 * to tell to which type we want to convert, we just say were we want to store
72 * the converted value and eina value will figure out what to convert to, and
73 * how:
74 * @until eina_value_convert
75 *
76 * And now let's check the conversion worked:
77 * @until printf
78 *
79 * But converting to strings is not particularly exciting, @c
80 * eina_value_to_string() already did that, so now let's make the conversion the
81 * other way around, from string to @c int:
82 * @until printf
83 *
84 * And once done, destroy the values:
85 * @until }
86 *
87 * Full source code: @ref eina_value_01_c
88 */
89
90/**
91 * @page eina_value_01_c eina_value_01.c
92 * @include eina_value_01.c
93 * @example eina_value_01.c
94 */
95
96/**
97 * @page eina_value_example_02_page Eina_Value struct usage
98 * @dontinclude eina_value_02.c
99 *
100 * This example will examine a hypothetical situation in which we had a
101 * structure(which represented parameters) with two fields, and then need to add
102 * a third field to our structure. If using structs directly we'd need to
103 * rewrite every piece of code that touches the struct, by using eina value, and
104 * thus having the compiler not even know the struct, we can reduce the amount
105 * of changes needed and retain interoperability between the old and new format.
106 *
107 * Our example will start with a function that creates descriptions of both of
108 * our structs for eina value usage. The first step is to create a struct and
109 * describe its members:
110 * @until v1_members[1]
111 * @note We can't pass the types of the members to EINA_VALUE_STRUCT_MEMBER
112 * macro because they are not constant initializers.
113 *
114 * So far it should be pretty easy to understand, we said @c My_Struct_V1 has
115 * two members, one of type @c int and another of type @c char. We now create
116 * the description of the actual struct, again nothing overly complex, we signal
117 * which version of EINA_VALUE_STRUCT we're using, we declare no special
118 * operations, our members and our size:
119 * @until V1_DESC
120 *
121 * We now repeat the process for the second version of our struct, the only
122 * difference is the addition of a third parameter of type @c int :
123 * @until V2_DESC
124 * @until }
125 *
126 * We'll now look at a function that sets the values of our structs. For
127 * simplicity's sake we initialize it we random values, a real world case would
128 * read these values from a file, a database or even from the network. The
129 * fundamental detail here is that this function works for both V1 and V2
130 * structs, this is because setting a parameter that a struct that doesn't have
131 * does nothing without throwing any errors:
132 * @until }
133 * @note While using eina_value_struct_set() with an in-existing parameter
134 * causes no error, it does return #EINA_FALSE, to notify it was not possible
135 * to set the value. This could be used to determine that we're handling a V1
136 * struct and take some action based on that.
137 *
138 * The next thing is to do is see what a function that uses the values of the
139 * struct looks like. We'll again be very simplistic in our usage, we'll just
140 * print the values, but a real world case, might send these values to another
141 * process use them to open a network/database connection or anything else.
142 * Since all versions of the struct have @c param1 and @c param2 we'll
143 * unconditionally use them:
144 * @until printf
145 *
146 * The next step is to conditionally use @c param3, which can fortunately be
147 * done in the same step in which we get it's value:
148 * @until }
149 *
150 * There we've now got functions that can both populate and use values from both
151 * our structs, so now let's actually use them in our main function by creating
152 * a struct of each type, initializing them and them using them:
153 * @until }
154 *
155 * This concludes our example. For the full source code see @ref
156 * eina_value_02_c.
157 */
158
159/**
160 * @page eina_value_02_c eina_value_02.c
161 * @include eina_value_02.c
162 * @example eina_value_02.c
163 */
164
165/**
166 * @page eina_value_example_03_page Eina value custom type example
167 * @dontinclude eina_value_03.c
168 *
169 * For this example we'll be creating our own custom type of eina value. Eina
170 * value can already store struct timeval(man gettimeofday for more information)
171 * but it has no type to store struct timezone, so that's what this example will
172 * do.
173 * @note struct timezone is actually obsolete, so using it in real world
174 * programs is probably not a good idea, but this is an example so, bear with
175 * us.
176 *
177 * To create our own custom eina value type we need to define functions to
178 * do the following operations on it:
179 * @li Setup
180 * @li Flush
181 * @li Copy
182 * @li Compare
183 * @li Set
184 * @li Get
185 * @li Conversion
186 *
187 * Most of this functions are very simple, so let's look at them, starting with
188 * setup which only clear the memory so that we can be certain we won't be using
189 * stale data:
190 * @until }
191 *
192 * Now the flush function, which is even simpler, it does nothing, that's
193 * because there is nothing we need to do, all the necessary steps are taken by
194 * eina value itself:
195 * @until }
196 *
197 * Our next function, copy, is a bit more interesting, but not much, it just
198 * casts our void pointers to struct timezone pointers and does the copy:
199 * @until }
200 * @note By now you might be wondering why our functions receive void pointers
201 * instead of pointers to struct timezone, and this is a good point. The reason
202 * for this is that eina value doesn't know anything about our type so it must
203 * use a generic void pointer, casting that pointer into a proper value is the
204 * job of the implementor of the new type.
205 *
206 * Next we have the comparison function, which compares the @c tz_minuteswest
207 * field of struct timezone, we don't compare @c tz_dsttime because that field
208 * is not used in linux:
209 * @until }
210 *
211 * Next we have setting, this however requires not one but rather two functions,
212 * the reason for this is because to be able to receive arguments of any type
213 * eina value uses @ref https://wikipedia.org/wiki/Variadic_functions "variadic
214 * functions", so we need a function to get the argument from a va_list and
215 * another to actually to the setting.
216 *
217 * Lets first look at the pset function which sets the received value to a
218 * pointer:
219 * @until }
220 *
221 * Next we have the vset function which get the argument from the va_list and
222 * passes it to the pset function:
223 * @until }
224 *
225 * And now the function to get the value, a very simple copying of the value to
226 * the given pointer:
227 * @until }
228 *
229 * And finally our conversion function, this is our longest and most interesting
230 * one. For numeric type we simply assign the value of @c tz_minuteswest to the
231 * new type and call a set function using it:
232 * @until EINA_VALUE_TYPE_DOUBLE
233 * @until return
234 * @note It would be a good idea to add checks for over and underflow for these
235 * types and return #EINA_FALSE in thoses cases, we omit this here for brevity.
236 *
237 * For string types we use @c snprintf() to format our @c tz_minuteswest field
238 * and put it in a string(again @c tz_dsttime is ignored because it's not used):
239 * @until }
240 *
241 * Finally we handle any other types by returning an error in that case:
242 * @until }
243 *
244 * Now that we have all the functions, we can populate an @c Eina_Value_Type to
245 * later use it with @c eina_value_setup():
246 * @until }
247 *
248 * We can now finally use our new TZ_TYPE with eina value, so lets conclude our
249 * example by practicing that by setting its value and printing it:
250 * @until }
251 *
252 * For the full source code see @ref eina_value_03_c.
253 */
254
255/**
256 * @page eina_value_03_c eina_value_03.c
257 * @include eina_value_03.c
258 * @example eina_value_03.c
259 */
28 260
29/** 261/**
30 * @addtogroup Eina_Data_Types_Group Data Types 262 * @addtogroup Eina_Data_Types_Group Data Types
@@ -43,6 +275,24 @@
43/** 275/**
44 * @defgroup Eina_Value_Group Generic Value Storage 276 * @defgroup Eina_Value_Group Generic Value Storage
45 * 277 *
278 * Abstracts generic data storage and access to it in an extensible
279 * and efficient way.
280 *
281 * It comes with pre-defined types for numbers, array, list, hash,
282 * blob and structs. It is able to convert between data types,
283 * including to string.
284 *
285 * It is meant for simple data types, providing uniform access and
286 * release functions, useful to exchange data preserving their
287 * types. For more complex hierarchical data, with properties and
288 * children, reference counting, inheritance and interfaces, see @ref
289 * Eina_Model_Group.
290 *
291 * Examples of usage of the Eina_Value API:
292 * @li @ref eina_value_example_01_page
293 * @li @ref eina_value_example_02_page
294 * @li @ref eina_value_example_03_page
295 *
46 * @{ 296 * @{
47 */ 297 */
48 298
@@ -67,6 +317,9 @@ typedef struct _Eina_Value_Type Eina_Value_Type;
67 * @typedef Eina_Value_Union 317 * @typedef Eina_Value_Union
68 * Union of all known value types. 318 * Union of all known value types.
69 * 319 *
320 * This is only used to specify the minimum payload memory for #Eina_Value.
321 *
322 * @internal
70 * @since 1.2 323 * @since 1.2
71 */ 324 */
72typedef union _Eina_Value_Union Eina_Value_Union; 325typedef union _Eina_Value_Union Eina_Value_Union;
@@ -75,6 +328,9 @@ typedef union _Eina_Value_Union Eina_Value_Union;
75 * @union _Eina_Value_Union 328 * @union _Eina_Value_Union
76 * All possible value types. 329 * All possible value types.
77 * 330 *
331 * This is only used to specify the minimum payload memory for #Eina_Value.
332 *
333 * @internal
78 * @since 1.2 334 * @since 1.2
79 */ 335 */
80union _Eina_Value_Union 336union _Eina_Value_Union
@@ -117,6 +373,15 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_UINT;
117EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_ULONG; 373EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_ULONG;
118 374
119/** 375/**
376 * @var EINA_VALUE_TYPE_TIMESTAMP
377 * manages unsigned long type used for timestamps.
378 * @note this is identical in function to EINA_VALUE_TYPE_ULONG
379 *
380 * @since 1.2
381 */
382EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_TIMESTAMP;
383
384/**
120 * @var EINA_VALUE_TYPE_UINT64 385 * @var EINA_VALUE_TYPE_UINT64
121 * manages unsigned integer of 64 bits type. 386 * manages unsigned integer of 64 bits type.
122 * 387 *
@@ -206,10 +471,11 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_STRING;
206 * @li eina_value_array_pget() and eina_value_array_pset() 471 * @li eina_value_array_pget() and eina_value_array_pset()
207 * 472 *
208 * eina_value_set() takes an #Eina_Value_Array where just @c subtype 473 * eina_value_set() takes an #Eina_Value_Array where just @c subtype
209 * and @c step are used. If there is an @c array, it will be adopted 474 * and @c step are used. If there is an @c array, it will be copied
210 * and its contents must be properly configurable as @c subtype 475 * (including each item) and its contents must be properly
211 * expects. eina_value_pset() takes a pointer to an #Eina_Value_Array. 476 * configurable as @c subtype expects. eina_value_pset() takes a
212 * For your convenience, use eina_value_array_setup(). 477 * pointer to an #Eina_Value_Array. For your convenience, use
478 * eina_value_array_setup().
213 * 479 *
214 * eina_value_get() and eina_value_pget() takes a pointer to 480 * eina_value_get() and eina_value_pget() takes a pointer to
215 * #Eina_Value_Array, it's an exact copy of the current structure in 481 * #Eina_Value_Array, it's an exact copy of the current structure in
@@ -228,10 +494,11 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_ARRAY;
228 * @li eina_value_list_pget() and eina_value_list_pset() 494 * @li eina_value_list_pget() and eina_value_list_pset()
229 * 495 *
230 * eina_value_set() takes an #Eina_Value_List where just @c subtype is 496 * eina_value_set() takes an #Eina_Value_List where just @c subtype is
231 * used. If there is an @c list, it will be adopted and its contents 497 * used. If there is an @c list, it will be copied (including each
232 * must be properly configurable as @c subtype 498 * item) and its contents must be properly configurable as @c
233 * expects. eina_value_pset() takes a pointer to an #Eina_Value_List. 499 * subtype expects. eina_value_pset() takes a pointer to an
234 * For your convenience, use eina_value_list_setup(). 500 * #Eina_Value_List. For your convenience, use
501 * eina_value_list_setup().
235 * 502 *
236 * eina_value_get() and eina_value_pget() takes a pointer to 503 * eina_value_get() and eina_value_pget() takes a pointer to
237 * #Eina_Value_List, it's an exact copy of the current structure in 504 * #Eina_Value_List, it's an exact copy of the current structure in
@@ -251,9 +518,9 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_LIST;
251 * 518 *
252 * eina_value_set() takes an #Eina_Value_Hash where just @c subtype 519 * eina_value_set() takes an #Eina_Value_Hash where just @c subtype
253 * and @c buckets_power_size are used. If there is an @c hash, it will 520 * and @c buckets_power_size are used. If there is an @c hash, it will
254 * be adopted and its contents must be properly configurable as @c 521 * be copied (including each item) and its contents must be
255 * subtype expects. eina_value_pset() takes a pointer to an 522 * properly configurable as @c subtype expects. eina_value_pset()
256 * #Eina_Value_Hash. For your convenience, use 523 * takes a pointer to an #Eina_Value_Hash. For your convenience, use
257 * eina_value_hash_setup(). 524 * eina_value_hash_setup().
258 * 525 *
259 * eina_value_get() and eina_value_pget() takes a pointer to 526 * eina_value_get() and eina_value_pget() takes a pointer to
@@ -310,9 +577,10 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_BLOB;
310 * @li eina_value_struct_pget() and eina_value_struct_pset() 577 * @li eina_value_struct_pget() and eina_value_struct_pset()
311 * 578 *
312 * eina_value_set() takes an #Eina_Value_Struct where just @c desc is 579 * eina_value_set() takes an #Eina_Value_Struct where just @c desc is
313 * used. If there is an @c memory, it will be adopted and its contents 580 * used. If there is an @c memory, it will be copied (including each
314 * must be properly configurable as @c desc expects. eina_value_pset() 581 * member) and its contents must be properly configurable as @c desc
315 * takes a pointer to an #Eina_Value_Struct. For your convenience, use 582 * expects. eina_value_pset() takes a pointer to an
583 * #Eina_Value_Struct. For your convenience, use
316 * eina_value_struct_setup(). 584 * eina_value_struct_setup().
317 * 585 *
318 * eina_value_get() and eina_value_pget() takes a pointer to 586 * eina_value_get() and eina_value_pget() takes a pointer to
@@ -324,6 +592,23 @@ EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_BLOB;
324EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT; 592EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT;
325 593
326/** 594/**
595 * @var EINA_VALUE_TYPE_MODEL
596 *
597 * manages Eina_Model type. Use the value get/set to change the model
598 * in use, it will increase the reference while in use by the value.
599 *
600 * eina_value_set() takes a pointer to #Eina_Model, increasing the
601 * reference.
602 *
603 * eina_value_get() takes a pointer to pointer to #Eina_Model, it's an
604 * exact copy of the current model, no copies are done, no references
605 * are increased.
606 *
607 * @since 1.2
608 */
609EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_MODEL;
610
611/**
327 * @var EINA_ERROR_VALUE_FAILED 612 * @var EINA_ERROR_VALUE_FAILED
328 * Error identifier corresponding to value check failure. 613 * Error identifier corresponding to value check failure.
329 * 614 *
@@ -435,7 +720,7 @@ static inline void eina_value_flush(Eina_Value *value) EINA_ARG_NONNULL(1);
435 * @param copy destination value object 720 * @param copy destination value object
436 * @return #EINA_TRUE on success, #EINA_FALSE otherwise. 721 * @return #EINA_TRUE on success, #EINA_FALSE otherwise.
437 * 722 *
438 * The @a copy object is considered internalized and its existing 723 * The @a copy object is considered uninitialized and its existing
439 * contents are overwritten (just as if eina_value_flush() was called on 724 * contents are overwritten (just as if eina_value_flush() was called on
440 * it). 725 * it).
441 * 726 *
@@ -812,8 +1097,9 @@ static inline const Eina_Value_Type *eina_value_type_get(const Eina_Value *value
812 1097
813/** 1098/**
814 * @typedef Eina_Value_Array 1099 * @typedef Eina_Value_Array
815 * Value type for #EINA_VALUE_TYPE_ARRAY 1100 * Value type for #EINA_VALUE_TYPE_ARRAY.
816 * 1101 *
1102 * @see #_Eina_Value_Array explains fields.
817 * @since 1.2 1103 * @since 1.2
818 */ 1104 */
819typedef struct _Eina_Value_Array Eina_Value_Array; 1105typedef struct _Eina_Value_Array Eina_Value_Array;
@@ -821,6 +1107,7 @@ typedef struct _Eina_Value_Array Eina_Value_Array;
821/** 1107/**
822 * @struct _Eina_Value_Array 1108 * @struct _Eina_Value_Array
823 * Used to store the array and its subtype. 1109 * Used to store the array and its subtype.
1110 * @since 1.2
824 */ 1111 */
825struct _Eina_Value_Array 1112struct _Eina_Value_Array
826{ 1113{
@@ -1433,6 +1720,22 @@ static inline Eina_Bool eina_value_array_pappend(Eina_Value *value,
1433 const void *ptr) EINA_ARG_NONNULL(1); 1720 const void *ptr) EINA_ARG_NONNULL(1);
1434 1721
1435/** 1722/**
1723 * @brief Retrieves a value from the array as an Eina_Value copy.
1724 * @param value source value object
1725 * @param position index of the member
1726 * @param dst where to return the array member
1727 * @return #EINA_TRUE on success, #EINA_FALSE otherwise.
1728 *
1729 * The argument @a dst is considered uninitialized and it's setup to
1730 * the type of the member.
1731 *
1732 * @since 1.2
1733 */
1734static inline Eina_Bool eina_value_array_value_get(const Eina_Value *src,
1735 unsigned int position,
1736 Eina_Value *dst) EINA_ARG_NONNULL(1, 3);
1737
1738/**
1436 * @} 1739 * @}
1437 */ 1740 */
1438 1741
@@ -1446,8 +1749,9 @@ static inline Eina_Bool eina_value_array_pappend(Eina_Value *value,
1446 1749
1447/** 1750/**
1448 * @typedef Eina_Value_List 1751 * @typedef Eina_Value_List
1449 * Value type for #EINA_VALUE_TYPE_LIST 1752 * Value type for #EINA_VALUE_TYPE_LIST.
1450 * 1753 *
1754 * @see #_Eina_Value_List explains fields.
1451 * @since 1.2 1755 * @since 1.2
1452 */ 1756 */
1453typedef struct _Eina_Value_List Eina_Value_List; 1757typedef struct _Eina_Value_List Eina_Value_List;
@@ -1455,6 +1759,7 @@ typedef struct _Eina_Value_List Eina_Value_List;
1455/** 1759/**
1456 * @struct _Eina_Value_List 1760 * @struct _Eina_Value_List
1457 * Used to store the list and its subtype. 1761 * Used to store the list and its subtype.
1762 * @since 1.2
1458 */ 1763 */
1459struct _Eina_Value_List 1764struct _Eina_Value_List
1460{ 1765{
@@ -2067,8 +2372,9 @@ static inline Eina_Bool eina_value_list_pappend(Eina_Value *value,
2067 2372
2068/** 2373/**
2069 * @typedef Eina_Value_Hash 2374 * @typedef Eina_Value_Hash
2070 * Value type for #EINA_VALUE_TYPE_HASH 2375 * Value type for #EINA_VALUE_TYPE_HASH.
2071 * 2376 *
2377 * @see #_Eina_Value_Hash explains fields.
2072 * @since 1.2 2378 * @since 1.2
2073 */ 2379 */
2074typedef struct _Eina_Value_Hash Eina_Value_Hash; 2380typedef struct _Eina_Value_Hash Eina_Value_Hash;
@@ -2076,6 +2382,7 @@ typedef struct _Eina_Value_Hash Eina_Value_Hash;
2076/** 2382/**
2077 * @struct _Eina_Value_Hash 2383 * @struct _Eina_Value_Hash
2078 * Used to store the hash and its subtype. 2384 * Used to store the hash and its subtype.
2385 * @since 1.2
2079 */ 2386 */
2080struct _Eina_Value_Hash 2387struct _Eina_Value_Hash
2081{ 2388{
@@ -2409,19 +2716,25 @@ static inline Eina_Bool eina_value_hash_pget(const Eina_Value *value,
2409/** 2716/**
2410 * @typedef Eina_Value_Blob_Operations 2717 * @typedef Eina_Value_Blob_Operations
2411 * How to manage blob. Any @c NULL callback is ignored. 2718 * How to manage blob. Any @c NULL callback is ignored.
2719 * @see #_Eina_Value_Blob_Operations explains fields.
2412 * @since 1.2 2720 * @since 1.2
2413 */ 2721 */
2414typedef struct _Eina_Value_Blob_Operations Eina_Value_Blob_Operations; 2722typedef struct _Eina_Value_Blob_Operations Eina_Value_Blob_Operations;
2415 2723
2416/** 2724/**
2725 * @def EINA_VALUE_BLOB_OPERATIONS_VERSION
2726 * Current API version, used to validate #_Eina_Value_Blob_Operations.
2727 */
2728#define EINA_VALUE_BLOB_OPERATIONS_VERSION (1)
2729
2730/**
2417 * @struct _Eina_Value_Blob_Operations 2731 * @struct _Eina_Value_Blob_Operations
2418 * How to manage blob. Any @c NULL callback is ignored. 2732 * How to manage blob. Any @c NULL callback is ignored.
2419 * @since 1.2 2733 * @since 1.2
2420 */ 2734 */
2421struct _Eina_Value_Blob_Operations 2735struct _Eina_Value_Blob_Operations
2422{ 2736{
2423#define EINA_VALUE_BLOB_OPERATIONS_VERSION (1) 2737 unsigned int version; /**< must be #EINA_VALUE_BLOB_OPERATIONS_VERSION */
2424 unsigned int version; /**< must be EINA_VALUE_BLOB_OPERATIONS_VERSION */
2425 void (*free)(const Eina_Value_Blob_Operations *ops, void *memory, size_t size); 2738 void (*free)(const Eina_Value_Blob_Operations *ops, void *memory, size_t size);
2426 void *(*copy)(const Eina_Value_Blob_Operations *ops, const void *memory, size_t size); 2739 void *(*copy)(const Eina_Value_Blob_Operations *ops, const void *memory, size_t size);
2427 int (*compare)(const Eina_Value_Blob_Operations *ops, const void *data1, size_t size_data1, const void *data2, size_t size_data2); 2740 int (*compare)(const Eina_Value_Blob_Operations *ops, const void *data1, size_t size_data1, const void *data2, size_t size_data2);
@@ -2441,12 +2754,16 @@ EAPI extern const Eina_Value_Blob_Operations *EINA_VALUE_BLOB_OPERATIONS_MALLOC;
2441 2754
2442/** 2755/**
2443 * @typedef Eina_Value_Blob 2756 * @typedef Eina_Value_Blob
2757 * Value type for #EINA_VALUE_TYPE_BLOB.
2758 *
2759 * @see #_Eina_Value_Blob explains fields.
2444 * @since 1.2 2760 * @since 1.2
2445 */ 2761 */
2446typedef struct _Eina_Value_Blob Eina_Value_Blob; 2762typedef struct _Eina_Value_Blob Eina_Value_Blob;
2447 2763
2448/** 2764/**
2449 * @struct _Eina_Value_Blob 2765 * @struct _Eina_Value_Blob
2766 * Used to store the blob information and management operations.
2450 * @since 1.2 2767 * @since 1.2
2451 */ 2768 */
2452struct _Eina_Value_Blob 2769struct _Eina_Value_Blob
@@ -2469,6 +2786,11 @@ struct _Eina_Value_Blob
2469/** 2786/**
2470 * @typedef Eina_Value_Struct_Operations 2787 * @typedef Eina_Value_Struct_Operations
2471 * How to manage struct. Any @c NULL callback is ignored. 2788 * How to manage struct. Any @c NULL callback is ignored.
2789 *
2790 * A structure can specify alternative methods to allocate, free and
2791 * copy itself. See structure definition for all methods.
2792 *
2793 * @see #_Eina_Value_Struct_Operations explains fields.
2472 * @since 1.2 2794 * @since 1.2
2473 */ 2795 */
2474typedef struct _Eina_Value_Struct_Operations Eina_Value_Struct_Operations; 2796typedef struct _Eina_Value_Struct_Operations Eina_Value_Struct_Operations;
@@ -2476,6 +2798,12 @@ typedef struct _Eina_Value_Struct_Operations Eina_Value_Struct_Operations;
2476/** 2798/**
2477 * @typedef Eina_Value_Struct_Member 2799 * @typedef Eina_Value_Struct_Member
2478 * Describes a single member of struct. 2800 * Describes a single member of struct.
2801 *
2802 * The member holds a name, type and its byte offset within the struct
2803 * memory. Most Eina_Value_Struct functions takes the member name as
2804 * parameter, as in eina_value_struct_set().
2805 *
2806 * @see #_Eina_Value_Struct_Member explains fields.
2479 * @since 1.2 2807 * @since 1.2
2480 */ 2808 */
2481typedef struct _Eina_Value_Struct_Member Eina_Value_Struct_Member; 2809typedef struct _Eina_Value_Struct_Member Eina_Value_Struct_Member;
@@ -2483,30 +2811,39 @@ typedef struct _Eina_Value_Struct_Member Eina_Value_Struct_Member;
2483/** 2811/**
2484 * @typedef Eina_Value_Struct_Desc 2812 * @typedef Eina_Value_Struct_Desc
2485 * Describes the struct by listing its size, members and operations. 2813 * Describes the struct by listing its size, members and operations.
2814 * @see #_Eina_Value_Struct_Desc explains fields.
2486 * @since 1.2 2815 * @since 1.2
2487 */ 2816 */
2488typedef struct _Eina_Value_Struct_Desc Eina_Value_Struct_Desc; 2817typedef struct _Eina_Value_Struct_Desc Eina_Value_Struct_Desc;
2489 2818
2490/** 2819/**
2491 * @typedef Eina_Value_Struct 2820 * @typedef Eina_Value_Struct
2821 * Value type for #EINA_VALUE_TYPE_STRUCT.
2822 *
2823 * @see #_Eina_Value_Struct explains fields.
2492 * @since 1.2 2824 * @since 1.2
2493 */ 2825 */
2494typedef struct _Eina_Value_Struct Eina_Value_Struct; 2826typedef struct _Eina_Value_Struct Eina_Value_Struct;
2495 2827
2496/** 2828/**
2829 * @def EINA_VALUE_STRUCT_OPERATIONS_VERSION
2830 * Current API version, used to validate #_Eina_Value_Struct_Operations.
2831 */
2832#define EINA_VALUE_STRUCT_OPERATIONS_VERSION (1)
2833
2834/**
2497 * @struct _Eina_Value_Struct_Operations 2835 * @struct _Eina_Value_Struct_Operations
2498 * How to manage struct. Any @c NULL callback is ignored. 2836 * How to manage struct. Any @c NULL callback is ignored.
2499 * @since 1.2 2837 * @since 1.2
2500 */ 2838 */
2501struct _Eina_Value_Struct_Operations 2839struct _Eina_Value_Struct_Operations
2502{ 2840{
2503#define EINA_VALUE_STRUCT_OPERATIONS_VERSION (1) 2841 unsigned int version; /**< must be #EINA_VALUE_STRUCT_OPERATIONS_VERSION */
2504 unsigned int version; /**< must be EINA_VALUE_STRUCT_OPERATIONS_VERSION */ 2842 void *(*alloc)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc); /**< How to allocate struct memory to be managed by the Eina_Value */
2505 void *(*alloc)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc); 2843 void (*free)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, void *memory); /**< How to release memory managed by the Eina_Value */
2506 void (*free)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, void *memory); 2844 void *(*copy)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, const void *memory); /**< How to copy struct memory from an existing Eina_Value, if not provided alloc() will be used, then every member is copied using eina_value_type_copy() with member's type. */
2507 void *(*copy)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, const void *memory); 2845 int (*compare)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, const void *data1, const void *data2); /**< How to compare two struct memories */
2508 int (*compare)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, const void *data1, const void *data2); 2846 const Eina_Value_Struct_Member *(*find_member)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, const char *name); /**< How to find description for member. For huge structures consider using binary search, stringshared, hash or gperf. The default function does linear search using strcmp(). */
2509 const Eina_Value_Struct_Member *(*find_member)(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, const char *name); /**< replace the function to find description for member. For huge structures consider using binary search, stringshared, hash or gperf. The default function does linear search using strcmp(). */
2510}; 2847};
2511 2848
2512/** 2849/**
@@ -2539,23 +2876,48 @@ EAPI extern const Eina_Value_Struct_Operations *EINA_VALUE_STRUCT_OPERATIONS_STR
2539 2876
2540/** 2877/**
2541 * @struct _Eina_Value_Struct_Member 2878 * @struct _Eina_Value_Struct_Member
2879 * Describes a single member of struct.
2880 *
2881 * The name is used to lookup the member description. This is done as
2882 * specified as _Eina_Value_Struct_Operations::find_member(). For
2883 * structures with huge number of members, consider using a better
2884 * find_member function to quickly finding it! There are two helper
2885 * operations provided to help this:
2886 * #EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH and
2887 * #EINA_VALUE_STRUCT_OPERATIONS_STRINGSHARE, both depend on properly
2888 * set #_Eina_Value_Struct_Desc and #_Eina_Value_Struct_Member.
2889 *
2890 * @see #EINA_VALUE_STRUCT_MEMBER
2891 * @see #EINA_VALUE_STRUCT_MEMBER_SENTINEL
2892 *
2542 * @since 1.2 2893 * @since 1.2
2543 */ 2894 */
2544struct _Eina_Value_Struct_Member 2895struct _Eina_Value_Struct_Member
2545{ 2896{
2546 const char *name; 2897 const char *name; /**< member name, used in lookups such as eina_value_struct_get() */
2547 const Eina_Value_Type *type; 2898 const Eina_Value_Type *type; /**< how to use this member */
2548 unsigned int offset; 2899 unsigned int offset; /**< where this member is located within the structure memory */
2549}; 2900};
2550 2901
2551/** 2902/**
2903 * @def EINA_VALUE_STRUCT_DESC_VERSION
2904 * Current API version, used to validate #_Eina_Value_Struct_Desc.
2905 */
2906#define EINA_VALUE_STRUCT_DESC_VERSION (1)
2907
2908/**
2552 * @struct _Eina_Value_Struct_Desc 2909 * @struct _Eina_Value_Struct_Desc
2910 * Describes the struct by listing its size, members and operations.
2911 *
2912 * This is the root of Eina_Value knowledge about the memory it's
2913 * handling as a structure. It adds introspection, saying the byte
2914 * size of the structure, its members and how to manage such members.
2915 *
2553 * @since 1.2 2916 * @since 1.2
2554 */ 2917 */
2555struct _Eina_Value_Struct_Desc 2918struct _Eina_Value_Struct_Desc
2556{ 2919{
2557#define EINA_VALUE_STRUCT_DESC_VERSION (1) 2920 unsigned int version; /**< must be #EINA_VALUE_STRUCT_DESC_VERSION */
2558 unsigned int version; /**< must be EINA_VALUE_STRUCT_DESC_VERSION */
2559 const Eina_Value_Struct_Operations *ops; /**< operations, if @c NULL defaults will be used. You may use operations to optimize member lookup using binary search or gperf hash. */ 2921 const Eina_Value_Struct_Operations *ops; /**< operations, if @c NULL defaults will be used. You may use operations to optimize member lookup using binary search or gperf hash. */
2560 const Eina_Value_Struct_Member *members; /**< array of member descriptions, if @c member_count is zero, then it must be @c NULL terminated. */ 2922 const Eina_Value_Struct_Member *members; /**< array of member descriptions, if @c member_count is zero, then it must be @c NULL terminated. */
2561 unsigned int member_count; /**< if > 0, specifies number of members. If zero then @c members must be NULL terminated. */ 2923 unsigned int member_count; /**< if > 0, specifies number of members. If zero then @c members must be NULL terminated. */
@@ -2586,12 +2948,13 @@ struct _Eina_Value_Struct_Desc
2586 2948
2587/** 2949/**
2588 * @struct _Eina_Value_Struct 2950 * @struct _Eina_Value_Struct
2951 * Used to store the memory and its description.
2589 * @since 1.2 2952 * @since 1.2
2590 */ 2953 */
2591struct _Eina_Value_Struct 2954struct _Eina_Value_Struct
2592{ 2955{
2593 const Eina_Value_Struct_Desc *desc; 2956 const Eina_Value_Struct_Desc *desc; /**< How to manage the structure */
2594 void *memory; 2957 void *memory; /**< The managed structure memory */
2595}; 2958};
2596 2959
2597/** 2960/**
@@ -2702,7 +3065,7 @@ static inline Eina_Bool eina_value_struct_setup(Eina_Value *value,
2702 */ 3065 */
2703static inline Eina_Bool eina_value_struct_set(Eina_Value *value, 3066static inline Eina_Bool eina_value_struct_set(Eina_Value *value,
2704 const char *name, 3067 const char *name,
2705 ...) EINA_ARG_NONNULL(1); 3068 ...) EINA_ARG_NONNULL(1, 2);
2706 3069
2707/** 3070/**
2708 * @brief Get the generic value from an struct member. 3071 * @brief Get the generic value from an struct member.
@@ -2770,7 +3133,7 @@ static inline Eina_Bool eina_value_struct_set(Eina_Value *value,
2770 */ 3133 */
2771static inline Eina_Bool eina_value_struct_get(const Eina_Value *value, 3134static inline Eina_Bool eina_value_struct_get(const Eina_Value *value,
2772 const char *name, 3135 const char *name,
2773 ...) EINA_ARG_NONNULL(1); 3136 ...) EINA_ARG_NONNULL(1, 2);
2774 3137
2775/** 3138/**
2776 * @brief Set the generic value in an struct member. 3139 * @brief Set the generic value in an struct member.
@@ -2786,7 +3149,7 @@ static inline Eina_Bool eina_value_struct_get(const Eina_Value *value,
2786 */ 3149 */
2787static inline Eina_Bool eina_value_struct_vset(Eina_Value *value, 3150static inline Eina_Bool eina_value_struct_vset(Eina_Value *value,
2788 const char *name, 3151 const char *name,
2789 va_list args) EINA_ARG_NONNULL(1); 3152 va_list args) EINA_ARG_NONNULL(1, 2);
2790 3153
2791/** 3154/**
2792 * @brief Get the generic value from an struct member. 3155 * @brief Get the generic value from an struct member.
@@ -2808,7 +3171,7 @@ static inline Eina_Bool eina_value_struct_vset(Eina_Value *value,
2808 */ 3171 */
2809static inline Eina_Bool eina_value_struct_vget(const Eina_Value *value, 3172static inline Eina_Bool eina_value_struct_vget(const Eina_Value *value,
2810 const char *name, 3173 const char *name,
2811 va_list args) EINA_ARG_NONNULL(1); 3174 va_list args) EINA_ARG_NONNULL(1, 2);
2812 3175
2813/** 3176/**
2814 * @brief Set the generic value in an struct member from pointer. 3177 * @brief Set the generic value in an struct member from pointer.
@@ -2875,7 +3238,7 @@ static inline Eina_Bool eina_value_struct_vget(const Eina_Value *value,
2875 */ 3238 */
2876static inline Eina_Bool eina_value_struct_pset(Eina_Value *value, 3239static inline Eina_Bool eina_value_struct_pset(Eina_Value *value,
2877 const char *name, 3240 const char *name,
2878 const void *ptr) EINA_ARG_NONNULL(1, 3); 3241 const void *ptr) EINA_ARG_NONNULL(1, 2, 3);
2879 3242
2880/** 3243/**
2881 * @brief Get the generic value to pointer from an struct member. 3244 * @brief Get the generic value to pointer from an struct member.
@@ -2944,7 +3307,62 @@ static inline Eina_Bool eina_value_struct_pset(Eina_Value *value,
2944 */ 3307 */
2945static inline Eina_Bool eina_value_struct_pget(const Eina_Value *value, 3308static inline Eina_Bool eina_value_struct_pget(const Eina_Value *value,
2946 const char *name, 3309 const char *name,
2947 void *ptr) EINA_ARG_NONNULL(1, 3); 3310 void *ptr) EINA_ARG_NONNULL(1, 2, 3);
3311
3312/**
3313 * @brief Get the member as Eina_Value copy
3314 * @param src source value object
3315 * @param name name to find the member
3316 * @param dst where to return the member value.
3317 *
3318 * The argument @a dst is considered uninitialized and it's setup to
3319 * the type of the member.
3320 *
3321 * @since 1.2
3322 */
3323static inline Eina_Bool eina_value_struct_value_get(const Eina_Value *src,
3324 const char *name,
3325 Eina_Value *dst) EINA_ARG_NONNULL(1, 2, 3);
3326
3327/**
3328 * @brief Set the member from Eina_Value source
3329 * @param dst destination value object
3330 * @param name name to find the member
3331 * @param src source value
3332 *
3333 * @since 1.2
3334 */
3335static inline Eina_Bool eina_value_struct_value_set(Eina_Value *dst,
3336 const char *name,
3337 const Eina_Value *src) EINA_ARG_NONNULL(1, 2, 3);
3338
3339/**
3340 * @brief Get the member as Eina_Value copy given its member description.
3341 * @param src source value object
3342 * @param member the member description to use
3343 * @param dst where to return the member value.
3344 *
3345 * The argument @a dst is considered uninitialized and it's setup to
3346 * the type of the member.
3347 *
3348 * @since 1.2
3349 */
3350static inline Eina_Bool eina_value_struct_member_value_get(const Eina_Value *src,
3351 const Eina_Value_Struct_Member *member,
3352 Eina_Value *dst) EINA_ARG_NONNULL(1, 2, 3);
3353
3354/**
3355 * @brief Set the member from Eina_Value source
3356 * @param dst destination value object
3357 * @param member the member description to use
3358 * @param src source value
3359 *
3360 * @since 1.2
3361 */
3362static inline Eina_Bool eina_value_struct_member_value_set(Eina_Value *dst,
3363 const Eina_Value_Struct_Member *member,
3364 const Eina_Value *src) EINA_ARG_NONNULL(1, 2, 3);
3365
2948 3366
2949/** 3367/**
2950 * @} 3368 * @}
@@ -2958,6 +3376,12 @@ static inline Eina_Bool eina_value_struct_pget(const Eina_Value *value,
2958 */ 3376 */
2959 3377
2960/** 3378/**
3379 * @def EINA_VALUE_TYPE_VERSION
3380 * Current API version, used to validate type.
3381 */
3382#define EINA_VALUE_TYPE_VERSION (1)
3383
3384/**
2961 * @struct _Eina_Value_Type 3385 * @struct _Eina_Value_Type
2962 * API to access values. 3386 * API to access values.
2963 * 3387 *
@@ -2965,11 +3389,6 @@ static inline Eina_Bool eina_value_struct_pget(const Eina_Value *value,
2965 */ 3389 */
2966struct _Eina_Value_Type 3390struct _Eina_Value_Type
2967{ 3391{
2968 /**
2969 * @def EINA_VALUE_TYPE_VERSION
2970 * Current API version, used to validate type.
2971 */
2972#define EINA_VALUE_TYPE_VERSION (1)
2973 unsigned int version; /**< must be #EINA_VALUE_TYPE_VERSION */ 3392 unsigned int version; /**< must be #EINA_VALUE_TYPE_VERSION */
2974 unsigned int value_size; /**< byte size of value */ 3393 unsigned int value_size; /**< byte size of value */
2975 const char *name; /**< name for debug and introspection */ 3394 const char *name; /**< name for debug and introspection */
diff --git a/libraries/eina/src/lib/Makefile.am b/libraries/eina/src/lib/Makefile.am
index d8c9d20..5de2848 100644
--- a/libraries/eina/src/lib/Makefile.am
+++ b/libraries/eina/src/lib/Makefile.am
@@ -6,8 +6,8 @@ AM_CPPFLAGS = \
6-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 6-DPACKAGE_BIN_DIR=\"$(bindir)\" \
7-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 7-DPACKAGE_LIB_DIR=\"$(libdir)\" \
8-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 8-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
9@EINA_CPPFLAGS@ \ 9@EFL_EINA_BUILD@ \
10@EFL_EINA_BUILD@ 10@VALGRIND_CFLAGS@
11 11
12base_sources = \ 12base_sources = \
13eina_accessor.c \ 13eina_accessor.c \
@@ -33,6 +33,7 @@ eina_main.c \
33eina_matrixsparse.c \ 33eina_matrixsparse.c \
34eina_mempool.c \ 34eina_mempool.c \
35eina_mmap.c \ 35eina_mmap.c \
36eina_model.c \
36eina_module.c \ 37eina_module.c \
37eina_prefix.c \ 38eina_prefix.c \
38eina_quadtree.c \ 39eina_quadtree.c \
diff --git a/libraries/eina/src/lib/Makefile.in b/libraries/eina/src/lib/Makefile.in
index 878bcbe..f15bb00 100644
--- a/libraries/eina/src/lib/Makefile.in
+++ b/libraries/eina/src/lib/Makefile.in
@@ -49,20 +49,24 @@ host_triplet = @host@
49subdir = src/lib 49subdir = src/lib
50DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 50DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 52am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
53 $(top_srcdir)/m4/efl_benchmark.m4 \ 53 $(top_srcdir)/m4/eina/eina_check.m4 \
54 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 54 $(top_srcdir)/m4/common/efl_attribute.m4 \
55 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 55 $(top_srcdir)/m4/common/efl_benchmark.m4 \
56 $(top_srcdir)/m4/efl_doxygen.m4 \ 56 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
57 $(top_srcdir)/m4/efl_examples.m4 \ 57 $(top_srcdir)/m4/common/efl_coverage.m4 \
58 $(top_srcdir)/m4/efl_fnmatch.m4 \ 58 $(top_srcdir)/m4/common/efl_cpu.m4 \
59 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 59 $(top_srcdir)/m4/common/efl_doxygen.m4 \
60 $(top_srcdir)/m4/efl_threads.m4 \ 60 $(top_srcdir)/m4/common/efl_examples.m4 \
61 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 61 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
62 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 62 $(top_srcdir)/m4/common/efl_path_max.m4 \
63 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 63 $(top_srcdir)/m4/common/efl_tests.m4 \
64 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 64 $(top_srcdir)/m4/common/efl_threads.m4 \
65 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 65 $(top_srcdir)/m4/common/efl_voltron.m4 \
66 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
67 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
68 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
69 $(top_srcdir)/configure.ac
66am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 70am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
67 $(ACLOCAL_M4) 71 $(ACLOCAL_M4)
68mkinstalldirs = $(install_sh) -d 72mkinstalldirs = $(install_sh) -d
@@ -99,13 +103,13 @@ am__libeina_la_SOURCES_DIST = eina_accessor.c eina_array.c \
99 eina_hamster.c eina_hash.c eina_inarray.c eina_inlist.c \ 103 eina_hamster.c eina_hash.c eina_inarray.c eina_inlist.c \
100 eina_iterator.c eina_lalloc.c eina_list.c eina_log.c \ 104 eina_iterator.c eina_lalloc.c eina_list.c eina_log.c \
101 eina_magic.c eina_main.c eina_matrixsparse.c eina_mempool.c \ 105 eina_magic.c eina_main.c eina_matrixsparse.c eina_mempool.c \
102 eina_mmap.c eina_module.c eina_prefix.c eina_quadtree.c \ 106 eina_mmap.c eina_model.c eina_module.c eina_prefix.c \
103 eina_rbtree.c eina_rectangle.c eina_safety_checks.c \ 107 eina_quadtree.c eina_rbtree.c eina_rectangle.c \
104 eina_sched.c eina_share_common.c eina_simple_xml_parser.c \ 108 eina_safety_checks.c eina_sched.c eina_share_common.c \
105 eina_str.c eina_strbuf.c eina_strbuf_common.c \ 109 eina_simple_xml_parser.c eina_str.c eina_strbuf.c \
106 eina_stringshare.c eina_tiler.c eina_unicode.c eina_ustrbuf.c \ 110 eina_strbuf_common.c eina_stringshare.c eina_tiler.c \
107 eina_ustringshare.c eina_value.c eina_xattr.c \ 111 eina_unicode.c eina_ustrbuf.c eina_ustringshare.c eina_value.c \
108 eina_file_win32.c eina_file.c \ 112 eina_xattr.c eina_file_win32.c eina_file.c \
109 $(top_srcdir)/src/modules/mp/buddy/eina_buddy.c \ 113 $(top_srcdir)/src/modules/mp/buddy/eina_buddy.c \
110 $(top_srcdir)/src/modules/mp/chained_pool/eina_chained_mempool.c \ 114 $(top_srcdir)/src/modules/mp/chained_pool/eina_chained_mempool.c \
111 $(top_srcdir)/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c \ 115 $(top_srcdir)/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c \
@@ -135,11 +139,11 @@ am__objects_10 = libeina_la-eina_accessor.lo libeina_la-eina_array.lo \
135 libeina_la-eina_list.lo libeina_la-eina_log.lo \ 139 libeina_la-eina_list.lo libeina_la-eina_log.lo \
136 libeina_la-eina_magic.lo libeina_la-eina_main.lo \ 140 libeina_la-eina_magic.lo libeina_la-eina_main.lo \
137 libeina_la-eina_matrixsparse.lo libeina_la-eina_mempool.lo \ 141 libeina_la-eina_matrixsparse.lo libeina_la-eina_mempool.lo \
138 libeina_la-eina_mmap.lo libeina_la-eina_module.lo \ 142 libeina_la-eina_mmap.lo libeina_la-eina_model.lo \
139 libeina_la-eina_prefix.lo libeina_la-eina_quadtree.lo \ 143 libeina_la-eina_module.lo libeina_la-eina_prefix.lo \
140 libeina_la-eina_rbtree.lo libeina_la-eina_rectangle.lo \ 144 libeina_la-eina_quadtree.lo libeina_la-eina_rbtree.lo \
141 libeina_la-eina_safety_checks.lo libeina_la-eina_sched.lo \ 145 libeina_la-eina_rectangle.lo libeina_la-eina_safety_checks.lo \
142 libeina_la-eina_share_common.lo \ 146 libeina_la-eina_sched.lo libeina_la-eina_share_common.lo \
143 libeina_la-eina_simple_xml_parser.lo libeina_la-eina_str.lo \ 147 libeina_la-eina_simple_xml_parser.lo libeina_la-eina_str.lo \
144 libeina_la-eina_strbuf.lo libeina_la-eina_strbuf_common.lo \ 148 libeina_la-eina_strbuf.lo libeina_la-eina_strbuf_common.lo \
145 libeina_la-eina_stringshare.lo libeina_la-eina_tiler.lo \ 149 libeina_la-eina_stringshare.lo libeina_la-eina_tiler.lo \
@@ -236,13 +240,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
236EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 240EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
237EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 241EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
238EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 242EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
243EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
239EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 244EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
240EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 245EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
241EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 246EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
242EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 247EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
243EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 248EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
244EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 249EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
245EINA_CPPFLAGS = @EINA_CPPFLAGS@
246EINA_LIBS = @EINA_LIBS@ 250EINA_LIBS = @EINA_LIBS@
247EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 251EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
248EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 252EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -252,6 +256,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
252EVIL_CFLAGS = @EVIL_CFLAGS@ 256EVIL_CFLAGS = @EVIL_CFLAGS@
253EVIL_LIBS = @EVIL_LIBS@ 257EVIL_LIBS = @EVIL_LIBS@
254EXEEXT = @EXEEXT@ 258EXEEXT = @EXEEXT@
259EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
260EXOTIC_LIBS = @EXOTIC_LIBS@
255FGREP = @FGREP@ 261FGREP = @FGREP@
256GLIB_CFLAGS = @GLIB_CFLAGS@ 262GLIB_CFLAGS = @GLIB_CFLAGS@
257GLIB_LIBS = @GLIB_LIBS@ 263GLIB_LIBS = @GLIB_LIBS@
@@ -287,6 +293,8 @@ PACKAGE_URL = @PACKAGE_URL@
287PACKAGE_VERSION = @PACKAGE_VERSION@ 293PACKAGE_VERSION = @PACKAGE_VERSION@
288PATH_SEPARATOR = @PATH_SEPARATOR@ 294PATH_SEPARATOR = @PATH_SEPARATOR@
289PKG_CONFIG = @PKG_CONFIG@ 295PKG_CONFIG = @PKG_CONFIG@
296PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
297PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
290RANLIB = @RANLIB@ 298RANLIB = @RANLIB@
291SED = @SED@ 299SED = @SED@
292SET_MAKE = @SET_MAKE@ 300SET_MAKE = @SET_MAKE@
@@ -367,23 +375,24 @@ AM_CPPFLAGS = \
367-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 375-DPACKAGE_BIN_DIR=\"$(bindir)\" \
368-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 376-DPACKAGE_LIB_DIR=\"$(libdir)\" \
369-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 377-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
370@EINA_CPPFLAGS@ \ 378@EFL_EINA_BUILD@ \
371@EFL_EINA_BUILD@ 379@VALGRIND_CFLAGS@
372 380
373base_sources = eina_accessor.c eina_array.c eina_benchmark.c \ 381base_sources = eina_accessor.c eina_array.c eina_benchmark.c \
374 eina_binbuf.c eina_binshare.c eina_convert.c eina_counter.c \ 382 eina_binbuf.c eina_binshare.c eina_convert.c eina_counter.c \
375 eina_cpu.c eina_error.c eina_fp.c eina_hamster.c eina_hash.c \ 383 eina_cpu.c eina_error.c eina_fp.c eina_hamster.c eina_hash.c \
376 eina_inarray.c eina_inlist.c eina_iterator.c eina_lalloc.c \ 384 eina_inarray.c eina_inlist.c eina_iterator.c eina_lalloc.c \
377 eina_list.c eina_log.c eina_magic.c eina_main.c \ 385 eina_list.c eina_log.c eina_magic.c eina_main.c \
378 eina_matrixsparse.c eina_mempool.c eina_mmap.c eina_module.c \ 386 eina_matrixsparse.c eina_mempool.c eina_mmap.c eina_model.c \
379 eina_prefix.c eina_quadtree.c eina_rbtree.c eina_rectangle.c \ 387 eina_module.c eina_prefix.c eina_quadtree.c eina_rbtree.c \
380 eina_safety_checks.c eina_sched.c eina_share_common.c \ 388 eina_rectangle.c eina_safety_checks.c eina_sched.c \
381 eina_simple_xml_parser.c eina_str.c eina_strbuf.c \ 389 eina_share_common.c eina_simple_xml_parser.c eina_str.c \
382 eina_strbuf_common.c eina_stringshare.c eina_tiler.c \ 390 eina_strbuf.c eina_strbuf_common.c eina_stringshare.c \
383 eina_unicode.c eina_ustrbuf.c eina_ustringshare.c eina_value.c \ 391 eina_tiler.c eina_unicode.c eina_ustrbuf.c eina_ustringshare.c \
384 eina_xattr.c $(am__append_1) $(am__append_2) $(am__append_3) \ 392 eina_value.c eina_xattr.c $(am__append_1) $(am__append_2) \
385 $(am__append_4) $(am__append_5) $(am__append_6) \ 393 $(am__append_3) $(am__append_4) $(am__append_5) \
386 $(am__append_7) $(am__append_8) $(am__append_9) 394 $(am__append_6) $(am__append_7) $(am__append_8) \
395 $(am__append_9)
387EXTRA_DIST = \ 396EXTRA_DIST = \
388eina_share_common.h \ 397eina_share_common.h \
389eina_private.h \ 398eina_private.h \
@@ -502,6 +511,7 @@ distclean-compile:
502@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_matrixsparse.Plo@am__quote@ 511@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_matrixsparse.Plo@am__quote@
503@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_mempool.Plo@am__quote@ 512@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_mempool.Plo@am__quote@
504@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_mmap.Plo@am__quote@ 513@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_mmap.Plo@am__quote@
514@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_model.Plo@am__quote@
505@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_module.Plo@am__quote@ 515@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_module.Plo@am__quote@
506@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_one_big.Plo@am__quote@ 516@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_one_big.Plo@am__quote@
507@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_pass_through.Plo@am__quote@ 517@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeina_la-eina_pass_through.Plo@am__quote@
@@ -732,6 +742,14 @@ libeina_la-eina_mmap.lo: eina_mmap.c
732@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 742@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
733@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeina_la_CFLAGS) $(CFLAGS) -c -o libeina_la-eina_mmap.lo `test -f 'eina_mmap.c' || echo '$(srcdir)/'`eina_mmap.c 743@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeina_la_CFLAGS) $(CFLAGS) -c -o libeina_la-eina_mmap.lo `test -f 'eina_mmap.c' || echo '$(srcdir)/'`eina_mmap.c
734 744
745libeina_la-eina_model.lo: eina_model.c
746@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeina_la_CFLAGS) $(CFLAGS) -MT libeina_la-eina_model.lo -MD -MP -MF $(DEPDIR)/libeina_la-eina_model.Tpo -c -o libeina_la-eina_model.lo `test -f 'eina_model.c' || echo '$(srcdir)/'`eina_model.c
747@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libeina_la-eina_model.Tpo $(DEPDIR)/libeina_la-eina_model.Plo
748@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
749@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='eina_model.c' object='libeina_la-eina_model.lo' libtool=yes @AMDEPBACKSLASH@
750@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
751@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeina_la_CFLAGS) $(CFLAGS) -c -o libeina_la-eina_model.lo `test -f 'eina_model.c' || echo '$(srcdir)/'`eina_model.c
752
735libeina_la-eina_module.lo: eina_module.c 753libeina_la-eina_module.lo: eina_module.c
736@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeina_la_CFLAGS) $(CFLAGS) -MT libeina_la-eina_module.lo -MD -MP -MF $(DEPDIR)/libeina_la-eina_module.Tpo -c -o libeina_la-eina_module.lo `test -f 'eina_module.c' || echo '$(srcdir)/'`eina_module.c 754@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libeina_la_CFLAGS) $(CFLAGS) -MT libeina_la-eina_module.lo -MD -MP -MF $(DEPDIR)/libeina_la-eina_module.Tpo -c -o libeina_la-eina_module.lo `test -f 'eina_module.c' || echo '$(srcdir)/'`eina_module.c
737@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libeina_la-eina_module.Tpo $(DEPDIR)/libeina_la-eina_module.Plo 755@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libeina_la-eina_module.Tpo $(DEPDIR)/libeina_la-eina_module.Plo
diff --git a/libraries/eina/src/lib/eina_binshare.c b/libraries/eina/src/lib/eina_binshare.c
index 68a82fc..01e8046 100644
--- a/libraries/eina/src/lib/eina_binshare.c
+++ b/libraries/eina/src/lib/eina_binshare.c
@@ -21,9 +21,18 @@
21 21
22 */ 22 */
23 23
24#include "eina_share_common.h" 24#ifdef HAVE_CONFIG_H
25#include "eina_unicode.h" 25# include "config.h"
26#endif
27
28#include "eina_config.h"
26#include "eina_private.h" 29#include "eina_private.h"
30#include "eina_unicode.h"
31#include "eina_log.h"
32#include "eina_share_common.h"
33
34/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
35#include "eina_safety_checks.h"
27#include "eina_binshare.h" 36#include "eina_binshare.h"
28 37
29/*============================================================================* 38/*============================================================================*
@@ -34,6 +43,23 @@
34 * @cond LOCAL 43 * @cond LOCAL
35 */ 44 */
36 45
46#ifdef CRITICAL
47#undef CRITICAL
48#endif
49#define CRITICAL(...) EINA_LOG_DOM_CRIT(_eina_share_binshare_log_dom, __VA_ARGS__)
50
51#ifdef ERR
52#undef ERR
53#endif
54#define ERR(...) EINA_LOG_DOM_ERR(_eina_share_binshare_log_dom, __VA_ARGS__)
55
56#ifdef DBG
57#undef DBG
58#endif
59#define DBG(...) EINA_LOG_DOM_DBG(_eina_share_binshare_log_dom, __VA_ARGS__)
60
61static int _eina_share_binshare_log_dom = -1;
62
37/* The actual share */ 63/* The actual share */
38static Eina_Share *binshare_share; 64static Eina_Share *binshare_share;
39static const char EINA_MAGIC_BINSHARE_NODE_STR[] = "Eina Binshare Node"; 65static const char EINA_MAGIC_BINSHARE_NODE_STR[] = "Eina Binshare Node";
@@ -42,7 +68,6 @@ static const char EINA_MAGIC_BINSHARE_NODE_STR[] = "Eina Binshare Node";
42 * @endcond 68 * @endcond
43 */ 69 */
44 70
45
46/*============================================================================* 71/*============================================================================*
47* Global * 72* Global *
48*============================================================================*/ 73*============================================================================*/
@@ -61,9 +86,31 @@ static const char EINA_MAGIC_BINSHARE_NODE_STR[] = "Eina Binshare Node";
61EAPI Eina_Bool 86EAPI Eina_Bool
62eina_binshare_init(void) 87eina_binshare_init(void)
63{ 88{
64 return eina_share_common_init(&binshare_share, 89 Eina_Bool ret;
65 EINA_MAGIC_BINSHARE_NODE, 90
66 EINA_MAGIC_BINSHARE_NODE_STR); 91 if (_eina_share_binshare_log_dom < 0)
92 {
93 _eina_share_binshare_log_dom = eina_log_domain_register
94 ("eina_binshare", EINA_LOG_COLOR_DEFAULT);
95
96 if (_eina_share_binshare_log_dom < 0)
97 {
98 EINA_LOG_ERR("Could not register log domain: eina_binshare");
99 return EINA_FALSE;
100 }
101 }
102
103 ret = eina_share_common_init(&binshare_share,
104 EINA_MAGIC_BINSHARE_NODE,
105 EINA_MAGIC_BINSHARE_NODE_STR);
106
107 if (!ret)
108 {
109 eina_log_domain_unregister(_eina_share_binshare_log_dom);
110 _eina_share_binshare_log_dom = -1;
111 }
112
113 return ret;
67} 114}
68 115
69/** 116/**
@@ -82,6 +129,13 @@ eina_binshare_shutdown(void)
82{ 129{
83 Eina_Bool ret; 130 Eina_Bool ret;
84 ret = eina_share_common_shutdown(&binshare_share); 131 ret = eina_share_common_shutdown(&binshare_share);
132
133 if (_eina_share_binshare_log_dom > 0)
134 {
135 eina_log_domain_unregister(_eina_share_binshare_log_dom);
136 _eina_share_binshare_log_dom = -1;
137 }
138
85 return ret; 139 return ret;
86} 140}
87 141
@@ -96,7 +150,8 @@ eina_binshare_del(const void *obj)
96 if (!obj) 150 if (!obj)
97 return; 151 return;
98 152
99 eina_share_common_del(binshare_share, obj); 153 if (!eina_share_common_del(binshare_share, obj))
154 CRITICAL("EEEK trying to del non-shared binshare %p", obj);
100} 155}
101 156
102EAPI const void * 157EAPI const void *
diff --git a/libraries/eina/src/lib/eina_file.c b/libraries/eina/src/lib/eina_file.c
index 0b836b3..c465301 100644
--- a/libraries/eina/src/lib/eina_file.c
+++ b/libraries/eina/src/lib/eina_file.c
@@ -362,41 +362,15 @@ _eina_file_direct_ls_iterator_free(Eina_File_Direct_Iterator *it)
362static Eina_Bool 362static Eina_Bool
363_eina_file_stat_ls_iterator_next(Eina_File_Direct_Iterator *it, void **data) 363_eina_file_stat_ls_iterator_next(Eina_File_Direct_Iterator *it, void **data)
364{ 364{
365 struct stat st; 365 Eina_Stat st;
366 366
367 if (!_eina_file_direct_ls_iterator_next(it, data)) 367 if (!_eina_file_direct_ls_iterator_next(it, data))
368 return EINA_FALSE; 368 return EINA_FALSE;
369 369
370 if (it->info.type == EINA_FILE_UNKNOWN) 370 if (it->info.type == EINA_FILE_UNKNOWN)
371 { 371 {
372#ifdef HAVE_FSTATAT 372 if (eina_file_statat(it->dirp, &it->info, &st) != 0)
373 int fd;
374
375 fd = dirfd(it->dirp);
376 if (fstatat(fd, it->info.path + it->info.name_start, &st, 0))
377#else
378 if (stat(it->info.path, &st))
379#endif
380 it->info.type = EINA_FILE_UNKNOWN; 373 it->info.type = EINA_FILE_UNKNOWN;
381 else
382 {
383 if (S_ISREG(st.st_mode))
384 it->info.type = EINA_FILE_REG;
385 else if (S_ISDIR(st.st_mode))
386 it->info.type = EINA_FILE_DIR;
387 else if (S_ISCHR(st.st_mode))
388 it->info.type = EINA_FILE_CHR;
389 else if (S_ISBLK(st.st_mode))
390 it->info.type = EINA_FILE_BLK;
391 else if (S_ISFIFO(st.st_mode))
392 it->info.type = EINA_FILE_FIFO;
393 else if (S_ISLNK(st.st_mode))
394 it->info.type = EINA_FILE_LNK;
395 else if (S_ISSOCK(st.st_mode))
396 it->info.type = EINA_FILE_SOCK;
397 else
398 it->info.type = EINA_FILE_UNKNOWN;
399 }
400 } 374 }
401 375
402 return EINA_TRUE; 376 return EINA_TRUE;
@@ -593,6 +567,14 @@ _eina_file_escape(const char *path, int *length)
593 return result; 567 return result;
594} 568}
595 569
570/**
571 * @endcond
572 */
573
574/*============================================================================*
575 * Global *
576 *============================================================================*/
577
596Eina_Bool 578Eina_Bool
597eina_file_init(void) 579eina_file_init(void)
598{ 580{
@@ -641,13 +623,60 @@ eina_file_shutdown(void)
641 return EINA_TRUE; 623 return EINA_TRUE;
642} 624}
643 625
644/** 626void
645 * @endcond 627eina_file_mmap_faulty(void *addr, long page_size)
646 */ 628{
629 Eina_File_Map *m;
630 Eina_File *f;
631 Eina_Iterator *itf;
632 Eina_Iterator *itm;
647 633
648/*============================================================================* 634 /* NOTE: I actually don't know if other thread are running, I will try to take the lock.
649 * Global * 635 It may be possible that if other thread are not running and they were in the middle of
650 *============================================================================*/ 636 accessing an Eina_File this lock are still taken and we will result as a deadlock. */
637 eina_lock_take(&_eina_file_lock_cache);
638
639 itf = eina_hash_iterator_data_new(_eina_file_cache);
640 EINA_ITERATOR_FOREACH(itf, f)
641 {
642 Eina_Bool faulty = EINA_FALSE;
643
644 eina_lock_take(&f->lock);
645
646 if (f->global_map)
647 {
648 if ((unsigned char *) addr < (((unsigned char *)f->global_map) + f->length) &&
649 (((unsigned char *) addr) + page_size) >= (unsigned char *) f->global_map)
650 {
651 f->global_faulty = EINA_TRUE;
652 faulty = EINA_TRUE;
653 }
654 }
655
656 if (!faulty)
657 {
658 itm = eina_hash_iterator_data_new(f->map);
659 EINA_ITERATOR_FOREACH(itm, m)
660 {
661 if ((unsigned char *) addr < (((unsigned char *)m->map) + m->length) &&
662 (((unsigned char *) addr) + page_size) >= (unsigned char *) m->map)
663 {
664 m->faulty = EINA_TRUE;
665 faulty = EINA_TRUE;
666 break;
667 }
668 }
669 eina_iterator_free(itm);
670 }
671
672 eina_lock_release(&f->lock);
673
674 if (faulty) break;
675 }
676 eina_iterator_free(itf);
677
678 eina_lock_release(&_eina_file_lock_cache);
679}
651 680
652/*============================================================================* 681/*============================================================================*
653 * API * 682 * API *
@@ -950,7 +979,7 @@ eina_file_open(const char *path, Eina_Bool shared)
950 eina_lock_take(&_eina_file_lock_cache); 979 eina_lock_take(&_eina_file_lock_cache);
951 980
952 file = eina_hash_find(_eina_file_cache, filename); 981 file = eina_hash_find(_eina_file_cache, filename);
953 if ((file) && _eina_file_timestamp_compare(file, &file_stat)) 982 if ((file) && !_eina_file_timestamp_compare(file, &file_stat))
954 { 983 {
955 file->delete_me = EINA_TRUE; 984 file->delete_me = EINA_TRUE;
956 eina_hash_del(_eina_file_cache, file->filename, file); 985 eina_hash_del(_eina_file_cache, file->filename, file);
@@ -1029,7 +1058,7 @@ eina_file_close(Eina_File *file)
1029 1058
1030 eina_hash_del(_eina_file_cache, file->filename, file); 1059 eina_hash_del(_eina_file_cache, file->filename, file);
1031 _eina_file_real_close(file); 1060 _eina_file_real_close(file);
1032 1061
1033 eina_lock_release(&_eina_file_lock_cache); 1062 eina_lock_release(&_eina_file_lock_cache);
1034} 1063}
1035 1064
@@ -1196,7 +1225,7 @@ eina_file_map_free(Eina_File *file, void *map)
1196 unsigned long int key[2]; 1225 unsigned long int key[2];
1197 1226
1198 em = eina_hash_find(file->rmap, &map); 1227 em = eina_hash_find(file->rmap, &map);
1199 if (!em) return ; 1228 if (!em) goto on_exit;
1200 1229
1201 em->refcount--; 1230 em->refcount--;
1202 1231
@@ -1217,17 +1246,25 @@ EAPI Eina_Bool
1217eina_file_map_faulted(Eina_File *file, void *map) 1246eina_file_map_faulted(Eina_File *file, void *map)
1218{ 1247{
1219 Eina_File_Map *em; 1248 Eina_File_Map *em;
1249 Eina_Bool r = EINA_FALSE;
1220 1250
1221 EINA_SAFETY_ON_NULL_RETURN_VAL(file, EINA_FALSE); 1251 EINA_SAFETY_ON_NULL_RETURN_VAL(file, EINA_FALSE);
1222 1252
1223 eina_lock_take(&file->lock); 1253 eina_lock_take(&file->lock);
1224 1254
1225 if (file->global_map == map) return file->global_faulty; 1255 if (file->global_map == map)
1256 {
1257 r = file->global_faulty;
1258 }
1259 else
1260 {
1261 em = eina_hash_find(file->rmap, &map);
1262 if (em) r = em->faulty;
1263 }
1226 1264
1227 em = eina_hash_find(file->rmap, &map); 1265 eina_lock_release(&file->lock);
1228 if (!em) return EINA_FALSE;
1229 1266
1230 return em->faulty; 1267 return r;
1231} 1268}
1232 1269
1233EAPI Eina_Iterator * 1270EAPI Eina_Iterator *
@@ -1246,58 +1283,77 @@ eina_file_xattr_value_get(Eina_File *file)
1246 return eina_xattr_value_fd_ls(file->fd); 1283 return eina_xattr_value_fd_ls(file->fd);
1247} 1284}
1248 1285
1249void 1286EAPI int
1250eina_file_mmap_faulty(void *addr, long page_size) 1287eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat *st)
1251{ 1288{
1252 Eina_File_Map *m; 1289 struct stat buf;
1253 Eina_File *f; 1290#ifdef HAVE_FSTATAT
1254 Eina_Iterator *itf; 1291 int fd;
1255 Eina_Iterator *itm; 1292#endif
1256 1293
1257 /* NOTE: I actually don't know if other thread are running, I will try to take the lock. 1294 EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
1258 It may be possible that if other thread are not running and they were in the middle of 1295 EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
1259 accessing an Eina_File this lock are still taken and we will result as a deadlock. */
1260 eina_lock_take(&_eina_file_lock_cache);
1261 1296
1262 itf = eina_hash_iterator_data_new(_eina_file_cache); 1297#ifdef HAVE_FSTATAT
1263 EINA_ITERATOR_FOREACH(itf, f) 1298 fd = dirfd((DIR*) container);
1299 if (fstatat(fd, info->path + info->name_start, &buf, 0))
1300#else
1301 (void)container;
1302 if (stat(info->path, &buf))
1303#endif
1264 { 1304 {
1265 Eina_Bool faulty = EINA_FALSE; 1305 if (info->type != EINA_FILE_LNK)
1266 1306 info->type = EINA_FILE_UNKNOWN;
1267 eina_lock_take(&f->lock); 1307 return -1;
1268 1308 }
1269 if (f->global_map)
1270 {
1271 if ((unsigned char *) addr < (((unsigned char *)f->global_map) + f->length) &&
1272 (((unsigned char *) addr) + page_size) >= (unsigned char *) f->global_map)
1273 {
1274 f->global_faulty = EINA_TRUE;
1275 faulty = EINA_TRUE;
1276 }
1277 }
1278
1279 if (!faulty)
1280 {
1281 itm = eina_hash_iterator_data_new(f->map);
1282 EINA_ITERATOR_FOREACH(itm, m)
1283 {
1284 if ((unsigned char *) addr < (((unsigned char *)m->map) + m->length) &&
1285 (((unsigned char *) addr) + page_size) >= (unsigned char *) m->map)
1286 {
1287 m->faulty = EINA_TRUE;
1288 faulty = EINA_TRUE;
1289 break;
1290 }
1291 }
1292 eina_iterator_free(itm);
1293 }
1294
1295 eina_lock_release(&f->lock);
1296 1309
1297 if (faulty) break; 1310 if (info->type == EINA_FILE_UNKNOWN)
1311 {
1312 if (S_ISREG(buf.st_mode))
1313 info->type = EINA_FILE_REG;
1314 else if (S_ISDIR(buf.st_mode))
1315 info->type = EINA_FILE_DIR;
1316 else if (S_ISCHR(buf.st_mode))
1317 info->type = EINA_FILE_CHR;
1318 else if (S_ISBLK(buf.st_mode))
1319 info->type = EINA_FILE_BLK;
1320 else if (S_ISFIFO(buf.st_mode))
1321 info->type = EINA_FILE_FIFO;
1322 else if (S_ISLNK(buf.st_mode))
1323 info->type = EINA_FILE_LNK;
1324 else if (S_ISSOCK(buf.st_mode))
1325 info->type = EINA_FILE_SOCK;
1326 else
1327 info->type = EINA_FILE_UNKNOWN;
1298 } 1328 }
1299 eina_iterator_free(itf);
1300 1329
1301 eina_lock_release(&_eina_file_lock_cache); 1330 st->dev = buf.st_dev;
1331 st->ino = buf.st_ino;
1332 st->mode = buf.st_mode;
1333 st->nlink = buf.st_nlink;
1334 st->uid = buf.st_uid;
1335 st->gid = buf.st_gid;
1336 st->rdev = buf.st_rdev;
1337 st->size = buf.st_size;
1338 st->blksize = buf.st_blksize;
1339 st->blocks = buf.st_blocks;
1340 st->atime = buf.st_atime;
1341 st->mtime = buf.st_mtime;
1342 st->ctime = buf.st_ctime;
1343#ifdef _STAT_VER_LINUX
1344# if (defined __USE_MISC && defined st_mtime)
1345 st->atimensec = buf.st_atim.tv_nsec;
1346 st->mtimensec = buf.st_mtim.tv_nsec;
1347 st->ctimensec = buf.st_ctim.tv_nsec;
1348# else
1349 st->atimensec = buf.st_atimensec;
1350 st->mtimensec = buf.st_mtimensec;
1351 st->ctimensec = buf.st_ctimensec;
1352# endif
1353#else
1354 st->atimensec = 0;
1355 st->mtimensec = 0;
1356 st->ctimensec = 0;
1357#endif
1358 return 0;
1302} 1359}
1303
diff --git a/libraries/eina/src/lib/eina_file_win32.c b/libraries/eina/src/lib/eina_file_win32.c
index 1cd8665..5c20fdd 100644
--- a/libraries/eina/src/lib/eina_file_win32.c
+++ b/libraries/eina/src/lib/eina_file_win32.c
@@ -1,1021 +1,1214 @@
1/* EINA - EFL data type library 1/* EINA - EFL data type library
2 * Copyright (C) 2010 Vincent Torri 2 * Copyright (C) 2010 Vincent Torri
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version. 7 * version 2.1 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details. 12 * Lesser General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Lesser General Public 14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; 15 * License along with this library;
16 * if not, see <http://www.gnu.org/licenses/>. 16 * if not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19#ifdef HAVE_CONFIG_H 19#ifdef HAVE_CONFIG_H
20# include "config.h" 20# include "config.h"
21#endif 21#endif
22 22
23#ifdef HAVE_ALLOCA_H 23#ifdef HAVE_ALLOCA_H
24# include <alloca.h> 24# include <alloca.h>
25#elif defined __GNUC__ 25#elif defined __GNUC__
26# define alloca __builtin_alloca 26# define alloca __builtin_alloca
27#elif defined _AIX 27#elif defined _AIX
28# define alloca __alloca 28# define alloca __alloca
29#elif defined _MSC_VER 29#elif defined _MSC_VER
30# include <malloc.h> 30# include <malloc.h>
31# define alloca _alloca 31# define alloca _alloca
32#else 32#else
33# include <stddef.h> 33# include <stddef.h>
34# ifdef __cplusplus 34# ifdef __cplusplus
35extern "C" 35extern "C"
36# endif 36# endif
37void *alloca (size_t); 37void *alloca (size_t);
38#endif 38#endif
39 39
40#define WIN32_LEAN_AND_MEAN 40#include <sys/types.h>
41#include <windows.h> 41#include <sys/stat.h>
42#undef WIN32_LEAN_AND_MEAN 42
43 43#define WIN32_LEAN_AND_MEAN
44//#include <Evil.h> 44#include <windows.h>
45 45#undef WIN32_LEAN_AND_MEAN
46#include "eina_config.h" 46
47#include "eina_private.h" 47#include <Evil.h>
48 48
49/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ 49#include "eina_config.h"
50#include "eina_safety_checks.h" 50#include "eina_private.h"
51#include "eina_file.h" 51
52#include "eina_stringshare.h" 52/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
53#include "eina_hash.h" 53#include "eina_safety_checks.h"
54#include "eina_list.h" 54#include "eina_file.h"
55 55#include "eina_stringshare.h"
56/*============================================================================* 56#include "eina_hash.h"
57 * Local * 57#include "eina_list.h"
58 *============================================================================*/ 58#include "eina_lock.h"
59 59#include "eina_log.h"
60/** 60
61 * @cond LOCAL 61/*============================================================================*
62 */ 62 * Local *
63 63 *============================================================================*/
64#ifndef EINA_LOG_COLOR_DEFAULT 64
65#define EINA_LOG_COLOR_DEFAULT EINA_COLOR_CYAN 65/**
66#endif 66 * @cond LOCAL
67 67 */
68#ifdef ERR 68
69#undef ERR 69#ifndef EINA_LOG_COLOR_DEFAULT
70#endif 70#define EINA_LOG_COLOR_DEFAULT EINA_COLOR_CYAN
71#define ERR(...) EINA_LOG_DOM_ERR(_eina_file_log_dom, __VA_ARGS__) 71#endif
72 72
73#ifdef WRN 73#ifdef ERR
74#undef WRN 74#undef ERR
75#endif 75#endif
76#define WRN(...) EINA_LOG_DOM_WARN(_eina_file_log_dom, __VA_ARGS__) 76#define ERR(...) EINA_LOG_DOM_ERR(_eina_file_log_dom, __VA_ARGS__)
77 77
78#ifdef DBG 78#ifdef WRN
79#undef DBG 79#undef WRN
80#endif 80#endif
81#define DBG(...) EINA_LOG_DOM_DBG(_eina_file_log_dom, __VA_ARGS__) 81#define WRN(...) EINA_LOG_DOM_WARN(_eina_file_log_dom, __VA_ARGS__)
82 82
83#ifdef MAP_FAILED 83#ifdef DBG
84# undef MAP_FAILED 84#undef DBG
85#endif 85#endif
86#define MAP_FAILED ((void *)-1) 86#define DBG(...) EINA_LOG_DOM_DBG(_eina_file_log_dom, __VA_ARGS__)
87 87
88typedef struct _Eina_File_Iterator Eina_File_Iterator; 88#ifdef MAP_FAILED
89typedef struct _Eina_File_Direct_Iterator Eina_File_Direct_Iterator; 89# undef MAP_FAILED
90typedef struct _Eina_File_Map Eina_File_Map; 90#endif
91 91#define MAP_FAILED ((void *)-1)
92struct _Eina_File_Iterator 92
93{ 93typedef struct _Eina_File_Iterator Eina_File_Iterator;
94 Eina_Iterator iterator; 94typedef struct _Eina_File_Direct_Iterator Eina_File_Direct_Iterator;
95 95typedef struct _Eina_File_Map Eina_File_Map;
96 WIN32_FIND_DATA data; 96
97 HANDLE handle; 97struct _Eina_File_Iterator
98 size_t length; 98{
99 Eina_Bool is_last : 1; 99 Eina_Iterator iterator;
100 100
101 char dir[1]; 101 WIN32_FIND_DATA data;
102}; 102 HANDLE handle;
103 103 size_t length;
104struct _Eina_File_Direct_Iterator 104 Eina_Bool is_last : 1;
105{ 105
106 Eina_Iterator iterator; 106 char dir[1];
107 107};
108 WIN32_FIND_DATA data; 108
109 HANDLE handle; 109struct _Eina_File_Direct_Iterator
110 size_t length; 110{
111 Eina_Bool is_last : 1; 111 Eina_Iterator iterator;
112 112
113 Eina_File_Direct_Info info; 113 WIN32_FIND_DATA data;
114 114 HANDLE handle;
115 char dir[1]; 115 size_t length;
116}; 116 Eina_Bool is_last : 1;
117 117
118struct _Eina_File 118 Eina_File_Direct_Info info;
119{ 119
120 const char *filename; 120 char dir[1];
121 121};
122 Eina_Hash *map; 122
123 Eina_Hash *rmap; 123struct _Eina_File
124 void *global_map; 124{
125 125 const char *filename;
126 ULONGLONG length; 126
127 ULONGLONG mtime; 127 Eina_Hash *map;
128 128 Eina_Hash *rmap;
129 int refcount; 129 void *global_map;
130 int global_refcount; 130
131 131 Eina_Lock lock;
132 HANDLE handle; 132
133 HANDLE fm; 133 ULONGLONG length;
134 134 ULONGLONG mtime;
135 Eina_Bool shared : 1; 135
136 Eina_Bool delete_me : 1; 136 int refcount;
137}; 137 int global_refcount;
138 138
139struct _Eina_File_Map 139 HANDLE handle;
140{ 140 HANDLE fm;
141 void *map; 141
142 142 Eina_Bool shared : 1;
143 unsigned long int offset; 143 Eina_Bool delete_me : 1;
144 unsigned long int length; 144};
145 145
146 int refcount; 146struct _Eina_File_Map
147}; 147{
148 148 void *map;
149static Eina_Hash *_eina_file_cache = NULL; 149
150static Eina_List *_eina_file_cache_lru = NULL; 150 unsigned long int offset;
151static Eina_List *_eina_file_cache_delete = NULL; 151 unsigned long int length;
152 152
153static int _eina_file_log_dom = -1; 153 int refcount;
154 154};
155static void 155
156_eina_file_win32_backslash_change(char *dir) 156static Eina_Hash *_eina_file_cache = NULL;
157{ 157static Eina_Lock _eina_file_lock_cache;
158 char *tmp; 158
159 159static int _eina_file_log_dom = -1;
160 tmp = dir; 160
161 while (*tmp) 161static void
162 { 162_eina_file_win32_backslash_change(char *dir)
163 if (*tmp == '/') *tmp = '\\'; 163{
164 tmp++; 164 char *tmp;
165 } 165
166} 166 tmp = dir;
167 167 while (*tmp)
168static Eina_Bool 168 {
169_eina_file_win32_is_dir(const char *dir) 169 if (*tmp == '/') *tmp = '\\';
170{ 170 tmp++;
171#ifdef UNICODE 171 }
172 wchar_t *wdir = NULL; 172}
173#endif 173
174 DWORD attr; 174static Eina_Bool
175 175_eina_file_win32_is_dir(const char *dir)
176 /* check if it's a directory */ 176{
177#ifdef UNICODE 177#ifdef UNICODE
178 wdir = evil_char_to_wchar(dir); 178 wchar_t *wdir = NULL;
179 if (!wdir) 179#endif
180 return EINA_FALSE; 180 DWORD attr;
181 181
182 attr = GetFileAttributes(wdir); 182 /* check if it's a directory */
183 free(wdir); 183#ifdef UNICODE
184#else 184 wdir = evil_char_to_wchar(dir);
185 attr = GetFileAttributes(dir); 185 if (!wdir)
186#endif 186 return EINA_FALSE;
187 187
188 if (attr == 0xFFFFFFFF) 188 attr = GetFileAttributes(wdir);
189 return EINA_FALSE; 189 free(wdir);
190 190#else
191 if (!(attr & FILE_ATTRIBUTE_DIRECTORY)) 191 attr = GetFileAttributes(dir);
192 return EINA_FALSE; 192#endif
193 193
194 return EINA_TRUE; 194 if (attr == 0xFFFFFFFF)
195} 195 return EINA_FALSE;
196 196
197static char * 197 if (!(attr & FILE_ATTRIBUTE_DIRECTORY))
198_eina_file_win32_dir_new(const char *dir) 198 return EINA_FALSE;
199{ 199
200 char *new_dir; 200 return EINA_TRUE;
201 size_t length; 201}
202 202
203 length = strlen(dir); 203static char *
204 204_eina_file_win32_dir_new(const char *dir)
205 new_dir = (char *)malloc(sizeof(char) * length + 5); 205{
206 if (!new_dir) 206 char *new_dir;
207 return NULL; 207 size_t length;
208 208
209 memcpy(new_dir, dir, length); 209 length = strlen(dir);
210 memcpy(new_dir + length, "\\*.*", 5); 210
211 _eina_file_win32_backslash_change(new_dir); 211 new_dir = (char *)malloc(sizeof(char) * length + 5);
212 212 if (!new_dir)
213 return new_dir; 213 return NULL;
214} 214
215 215 memcpy(new_dir, dir, length);
216static HANDLE 216 memcpy(new_dir + length, "\\*.*", 5);
217_eina_file_win32_first_file(const char *dir, WIN32_FIND_DATA *fd) 217 _eina_file_win32_backslash_change(new_dir);
218{ 218
219 HANDLE h; 219 return new_dir;
220#ifdef UNICODE 220}
221 wchar_t *wdir = NULL; 221
222 222static HANDLE
223 wdir = evil_char_to_wchar(dir); 223_eina_file_win32_first_file(const char *dir, WIN32_FIND_DATA *fd)
224 if (!wdir) 224{
225 return NULL; 225 HANDLE h;
226 226#ifdef UNICODE
227 h = FindFirstFile(wdir, fd); 227 wchar_t *wdir = NULL;
228 free(wdir); 228
229#else 229 wdir = evil_char_to_wchar(dir);
230 h = FindFirstFile(dir, fd); 230 if (!wdir)
231#endif 231 return NULL;
232 232
233 if (!h) 233 h = FindFirstFile(wdir, fd);
234 return NULL; 234 free(wdir);
235 235#else
236 while ((fd->cFileName[0] == '.') && 236 h = FindFirstFile(dir, fd);
237 ((fd->cFileName[1] == '\0') || 237#endif
238 ((fd->cFileName[1] == '.') && (fd->cFileName[2] == '\0')))) 238
239 { 239 if (!h)
240 if (!FindNextFile(h, fd)) 240 return NULL;
241 return NULL; 241
242 } 242 while ((fd->cFileName[0] == '.') &&
243 243 ((fd->cFileName[1] == '\0') ||
244 return h; 244 ((fd->cFileName[1] == '.') && (fd->cFileName[2] == '\0'))))
245} 245 {
246 246 if (!FindNextFile(h, fd))
247static Eina_Bool 247 return NULL;
248_eina_file_win32_ls_iterator_next(Eina_File_Iterator *it, void **data) 248 }
249{ 249
250#ifdef UNICODE 250 return h;
251 wchar_t *old_name; 251}
252#else 252
253 char *old_name; 253static Eina_Bool
254#endif 254_eina_file_win32_ls_iterator_next(Eina_File_Iterator *it, void **data)
255 char *name; 255{
256 char *cname; 256#ifdef UNICODE
257 size_t length; 257 wchar_t *old_name;
258 Eina_Bool is_last; 258#else
259 Eina_Bool res = EINA_TRUE; 259 char *old_name;
260 260#endif
261 if (it->handle == INVALID_HANDLE_VALUE) 261 char *name;
262 return EINA_FALSE; 262 char *cname;
263 263 size_t length;
264 is_last = it->is_last; 264 Eina_Bool is_last;
265#ifdef UNICODE 265 Eina_Bool res = EINA_TRUE;
266 old_name = _wcsdup(it->data.cFileName); 266
267#else 267 if (it->handle == INVALID_HANDLE_VALUE)
268 old_name = _strdup(it->data.cFileName); 268 return EINA_FALSE;
269#endif 269
270 if (!old_name) 270 is_last = it->is_last;
271 return EINA_FALSE; 271#ifdef UNICODE
272 272 old_name = _wcsdup(it->data.cFileName);
273 do { 273#else
274 if (!FindNextFile(it->handle, &it->data)) 274 old_name = _strdup(it->data.cFileName);
275 { 275#endif
276 if (GetLastError() == ERROR_NO_MORE_FILES) 276 if (!old_name)
277 it->is_last = EINA_TRUE; 277 return EINA_FALSE;
278 else 278
279 res = EINA_FALSE; 279 do {
280 } 280 if (!FindNextFile(it->handle, &it->data))
281 } while ((it->data.cFileName[0] == '.') && 281 {
282 ((it->data.cFileName[1] == '\0') || 282 if (GetLastError() == ERROR_NO_MORE_FILES)
283 ((it->data.cFileName[1] == '.') && (it->data.cFileName[2] == '\0')))); /* FIXME: what about UNICODE ? */ 283 it->is_last = EINA_TRUE;
284 284 else
285#ifdef UNICODE 285 res = EINA_FALSE;
286 cname = evil_wchar_to_char(old_name); 286 }
287 if (!cname) 287 } while ((it->data.cFileName[0] == '.') &&
288 return EINA_FALSE; 288 ((it->data.cFileName[1] == '\0') ||
289#else 289 ((it->data.cFileName[1] == '.') && (it->data.cFileName[2] == '\0')))); /* FIXME: what about UNICODE ? */
290 cname = old_name; 290
291#endif 291#ifdef UNICODE
292 292 cname = evil_wchar_to_char(old_name);
293 length = strlen(cname); 293 if (!cname)
294 name = alloca(length + 2 + it->length); 294 return EINA_FALSE;
295 295#else
296 memcpy(name, it->dir, it->length); 296 cname = old_name;
297 memcpy(name + it->length, "\\", 1); 297#endif
298 memcpy(name + it->length + 1, cname, length + 1); 298
299 299 length = strlen(cname);
300 *data = (char *)eina_stringshare_add(name); 300 name = alloca(length + 2 + it->length);
301 301
302#ifdef UNICODE 302 memcpy(name, it->dir, it->length);
303 free(cname); 303 memcpy(name + it->length, "\\", 1);
304#endif 304 memcpy(name + it->length + 1, cname, length + 1);
305 free(old_name); 305
306 306 *data = (char *)eina_stringshare_add(name);
307 if (is_last) 307
308 res = EINA_FALSE; 308#ifdef UNICODE
309 309 free(cname);
310 return res; 310#endif
311} 311 free(old_name);
312 312
313static HANDLE 313 if (is_last)
314_eina_file_win32_ls_iterator_container(Eina_File_Iterator *it) 314 res = EINA_FALSE;
315{ 315
316 return it->handle; 316 return res;
317} 317}
318 318
319static void 319static HANDLE
320_eina_file_win32_ls_iterator_free(Eina_File_Iterator *it) 320_eina_file_win32_ls_iterator_container(Eina_File_Iterator *it)
321{ 321{
322 if (it->handle != INVALID_HANDLE_VALUE) 322 return it->handle;
323 FindClose(it->handle); 323}
324 324
325 EINA_MAGIC_SET(&it->iterator, 0); 325static void
326 free(it); 326_eina_file_win32_ls_iterator_free(Eina_File_Iterator *it)
327} 327{
328 328 if (it->handle != INVALID_HANDLE_VALUE)
329static Eina_Bool 329 FindClose(it->handle);
330_eina_file_win32_direct_ls_iterator_next(Eina_File_Direct_Iterator *it, void **data) 330
331{ 331 EINA_MAGIC_SET(&it->iterator, 0);
332#ifdef UNICODE 332 free(it);
333 wchar_t *old_name; 333}
334#else 334
335 char *old_name; 335static Eina_Bool
336#endif 336_eina_file_win32_direct_ls_iterator_next(Eina_File_Direct_Iterator *it, void **data)
337 char *cname; 337{
338 size_t length; 338#ifdef UNICODE
339 DWORD attr; 339 wchar_t *old_name;
340 Eina_Bool is_last; 340#else
341 Eina_Bool res = EINA_TRUE; 341 char *old_name;
342 342#endif
343 if (it->handle == INVALID_HANDLE_VALUE) 343 char *cname;
344 return EINA_FALSE; 344 size_t length;
345 345 DWORD attr;
346 attr = it->data.dwFileAttributes; 346 Eina_Bool is_last;
347 is_last = it->is_last; 347 Eina_Bool res = EINA_TRUE;
348#ifdef UNICODE 348
349 old_name = _wcsdup(it->data.cFileName); 349 if (it->handle == INVALID_HANDLE_VALUE)
350#else 350 return EINA_FALSE;
351 old_name = _strdup(it->data.cFileName); 351
352#endif 352 attr = it->data.dwFileAttributes;
353 if (!old_name) 353 is_last = it->is_last;
354 return EINA_FALSE; 354#ifdef UNICODE
355 355 old_name = _wcsdup(it->data.cFileName);
356 do { 356#else
357 if (!FindNextFile(it->handle, &it->data)) 357 old_name = _strdup(it->data.cFileName);
358 { 358#endif
359 if (GetLastError() == ERROR_NO_MORE_FILES) 359 if (!old_name)
360 it->is_last = EINA_TRUE; 360 return EINA_FALSE;
361 else 361
362 res = EINA_FALSE; 362 do {
363 } 363 if (!FindNextFile(it->handle, &it->data))
364 364 {
365#ifdef UNICODE 365 if (GetLastError() == ERROR_NO_MORE_FILES)
366 length = wcslen(old_name); 366 it->is_last = EINA_TRUE;
367#else 367 else
368 length = strlen(old_name); 368 res = EINA_FALSE;
369#endif 369 }
370 if (it->info.name_start + length + 1 >= PATH_MAX) 370
371 { 371#ifdef UNICODE
372 free(old_name); 372 length = wcslen(old_name);
373#ifdef UNICODE 373#else
374 old_name = _wcsdup(it->data.cFileName); 374 length = strlen(old_name);
375#else 375#endif
376 old_name = _strdup(it->data.cFileName); 376 if (it->info.name_start + length + 1 >= PATH_MAX)
377#endif 377 {
378 continue; 378 free(old_name);
379 } 379#ifdef UNICODE
380 380 old_name = _wcsdup(it->data.cFileName);
381 } while ((it->data.cFileName[0] == '.') && 381#else
382 ((it->data.cFileName[1] == '\0') || 382 old_name = _strdup(it->data.cFileName);
383 ((it->data.cFileName[1] == '.') && (it->data.cFileName[2] == '\0')))); /* FIXME: what about UNICODE ? */ 383#endif
384 384 continue;
385#ifdef UNICODE 385 }
386 cname = evil_wchar_to_char(old_name); 386
387 if (!cname) 387 } while ((it->data.cFileName[0] == '.') &&
388 return EINA_FALSE; 388 ((it->data.cFileName[1] == '\0') ||
389#else 389 ((it->data.cFileName[1] == '.') && (it->data.cFileName[2] == '\0')))); /* FIXME: what about UNICODE ? */
390 cname = old_name; 390
391#endif 391#ifdef UNICODE
392 392 cname = evil_wchar_to_char(old_name);
393 memcpy(it->info.path + it->info.name_start, cname, length); 393 if (!cname)
394 it->info.name_length = length; 394 return EINA_FALSE;
395 it->info.path_length = it->info.name_start + length; 395#else
396 it->info.path[it->info.path_length] = '\0'; 396 cname = old_name;
397 397#endif
398 if (attr & FILE_ATTRIBUTE_DIRECTORY) 398
399 it->info.type = EINA_FILE_DIR; 399 memcpy(it->info.path + it->info.name_start, cname, length);
400 else if (attr & FILE_ATTRIBUTE_REPARSE_POINT) 400 it->info.name_length = length;
401 it->info.type = EINA_FILE_LNK; 401 it->info.path_length = it->info.name_start + length;
402 else if (attr & (FILE_ATTRIBUTE_ARCHIVE | 402 it->info.path[it->info.path_length] = '\0';
403 FILE_ATTRIBUTE_COMPRESSED | 403
404 FILE_ATTRIBUTE_COMPRESSED | 404 if (attr & FILE_ATTRIBUTE_DIRECTORY)
405 FILE_ATTRIBUTE_HIDDEN | 405 it->info.type = EINA_FILE_DIR;
406 FILE_ATTRIBUTE_NORMAL | 406 else if (attr & FILE_ATTRIBUTE_REPARSE_POINT)
407 FILE_ATTRIBUTE_SPARSE_FILE | 407 it->info.type = EINA_FILE_LNK;
408 FILE_ATTRIBUTE_TEMPORARY)) 408 else if (attr & (FILE_ATTRIBUTE_ARCHIVE |
409 it->info.type = EINA_FILE_REG; 409 FILE_ATTRIBUTE_COMPRESSED |
410 else 410 FILE_ATTRIBUTE_COMPRESSED |
411 it->info.type = EINA_FILE_UNKNOWN; 411 FILE_ATTRIBUTE_HIDDEN |
412 412 FILE_ATTRIBUTE_NORMAL |
413 *data = &it->info; 413 FILE_ATTRIBUTE_SPARSE_FILE |
414 414 FILE_ATTRIBUTE_TEMPORARY))
415#ifdef UNICODE 415 it->info.type = EINA_FILE_REG;
416 free(cname); 416 else
417#endif 417 it->info.type = EINA_FILE_UNKNOWN;
418 418
419 free(old_name); 419 *data = &it->info;
420 420
421 if (is_last) 421#ifdef UNICODE
422 res = EINA_FALSE; 422 free(cname);
423 423#endif
424 return res; 424
425} 425 free(old_name);
426 426
427static HANDLE 427 if (is_last)
428_eina_file_win32_direct_ls_iterator_container(Eina_File_Direct_Iterator *it) 428 res = EINA_FALSE;
429{ 429
430 return it->handle; 430 return res;
431} 431}
432 432
433static void 433static HANDLE
434_eina_file_win32_direct_ls_iterator_free(Eina_File_Direct_Iterator *it) 434_eina_file_win32_direct_ls_iterator_container(Eina_File_Direct_Iterator *it)
435{ 435{
436 if (it->handle != INVALID_HANDLE_VALUE) 436 return it->handle;
437 FindClose(it->handle); 437}
438 438
439 EINA_MAGIC_SET(&it->iterator, 0); 439static void
440 free(it); 440_eina_file_win32_direct_ls_iterator_free(Eina_File_Direct_Iterator *it)
441} 441{
442 442 if (it->handle != INVALID_HANDLE_VALUE)
443static void 443 FindClose(it->handle);
444_eina_file_real_close(Eina_File *file) 444
445{ 445 EINA_MAGIC_SET(&it->iterator, 0);
446 eina_hash_free(file->rmap); 446 free(it);
447 eina_hash_free(file->map); 447}
448 448
449 if (file->global_map != MAP_FAILED) 449static void
450 UnmapViewOfFile(file->global_map); 450_eina_file_real_close(Eina_File *file)
451 451{
452 CloseHandle(file->fm); 452 eina_hash_free(file->rmap);
453 CloseHandle(file->handle); 453 eina_hash_free(file->map);
454 454
455 eina_stringshare_del(file->filename); 455 if (file->global_map != MAP_FAILED)
456 456 UnmapViewOfFile(file->global_map);
457 free(file); 457
458} 458 CloseHandle(file->fm);
459 459 CloseHandle(file->handle);
460static void 460
461_eina_file_map_close(Eina_File_Map *map) 461 free(file);
462{ 462}
463 if (map->map != MAP_FAILED) 463
464 UnmapViewOfFile(map->map); 464static void
465 free(map); 465_eina_file_map_close(Eina_File_Map *map)
466} 466{
467 467 if (map->map != MAP_FAILED)
468static unsigned int 468 UnmapViewOfFile(map->map);
469_eina_file_map_key_length(const void *key __UNUSED__) 469 free(map);
470{ 470}
471 return sizeof (unsigned long int) * 2; 471
472} 472static unsigned int
473 473_eina_file_map_key_length(const void *key __UNUSED__)
474static int 474{
475_eina_file_map_key_cmp(const unsigned long int *key1, int key1_length __UNUSED__, 475 return sizeof (unsigned long int) * 2;
476 const unsigned long int *key2, int key2_length __UNUSED__) 476}
477{ 477
478 if (key1[0] - key2[0] == 0) return key1[1] - key2[1]; 478static int
479 return key1[0] - key2[0]; 479_eina_file_map_key_cmp(const unsigned long int *key1, int key1_length __UNUSED__,
480} 480 const unsigned long int *key2, int key2_length __UNUSED__)
481 481{
482static int 482 if (key1[0] - key2[0] == 0) return key1[1] - key2[1];
483_eina_file_map_key_hash(const unsigned long int *key, int key_length __UNUSED__) 483 return key1[0] - key2[0];
484{ 484}
485 return eina_hash_int64(&key[0], sizeof (unsigned long int)) 485
486 ^ eina_hash_int64(&key[1], sizeof (unsigned long int)); 486static int
487} 487_eina_file_map_key_hash(const unsigned long int *key, int key_length __UNUSED__)
488 488{
489Eina_Bool 489 return eina_hash_int64(&key[0], sizeof (unsigned long int))
490eina_file_init(void) 490 ^ eina_hash_int64(&key[1], sizeof (unsigned long int));
491{ 491}
492 _eina_file_log_dom = eina_log_domain_register("eina_file", 492
493 EINA_LOG_COLOR_DEFAULT); 493static char *
494 if (_eina_file_log_dom < 0) 494_eina_file_win32_escape(const char *path, size_t *length)
495 { 495{
496 EINA_LOG_ERR("Could not register log domain: eina_file"); 496 char *result = strdup(path ? path : "");
497 return EINA_FALSE; 497 char *p = result;
498 } 498 char *q = result;
499 499 size_t len;
500 _eina_file_cache = eina_hash_string_djb2_new(EINA_FREE_CB(_eina_file_real_close)); 500
501 if (!_eina_file_cache) 501 if (!result)
502 { 502 return NULL;
503 ERR("Could not create cache."); 503
504 eina_log_domain_unregister(_eina_file_log_dom); 504 if (length) len = *length;
505 _eina_file_log_dom = -1; 505 else len = strlen(result);
506 return EINA_FALSE; 506
507 } 507 while ((p = strchr(p, '/')))
508 508 {
509 return EINA_TRUE; 509 // remove double `/'
510} 510 if (p[1] == '/')
511 511 {
512Eina_Bool 512 memmove(p, p + 1, --len - (p - result));
513eina_file_shutdown(void) 513 result[len] = '\0';
514{ 514 }
515 Eina_File *f; 515 else
516 Eina_List *l; 516 if (p[1] == '.'
517 517 && p[2] == '.')
518 EINA_LIST_FREE(_eina_file_cache_delete, f) 518 {
519 _eina_file_real_close(f); 519 // remove `/../'
520 520 if (p[3] == '/')
521 EINA_LIST_FOREACH(_eina_file_cache_lru, l, f) 521 {
522 eina_hash_del(_eina_file_cache, f->filename, f); 522 char tmp;
523 523
524 if (eina_hash_population(_eina_file_cache) > 0) 524 len -= p + 3 - q;
525 { 525 memmove(q, p + 3, len - (q - result));
526 Eina_Iterator *it; 526 result[len] = '\0';
527 const char *key; 527 p = q;
528 528
529 it = eina_hash_iterator_key_new(_eina_file_cache); 529 /* Update q correctly. */
530 EINA_ITERATOR_FOREACH(it, key) 530 tmp = *p;
531 ERR("File [%s] still open !", key); 531 *p = '\0';
532 eina_iterator_free(it); 532 q = strrchr(result, '/');
533 } 533 if (!q) q = result;
534 534 *p = tmp;
535 eina_hash_free(_eina_file_cache); 535 }
536 536 else
537 eina_log_domain_unregister(_eina_file_log_dom); 537 // remove '/..$'
538 _eina_file_log_dom = -1; 538 if (p[3] == '\0')
539 return EINA_TRUE; 539 {
540} 540 len -= p + 2 - q;
541 541 result[len] = '\0';
542 542 q = p;
543/** 543 ++p;
544 * @endcond 544 }
545 */ 545 else
546 546 {
547/*============================================================================* 547 q = p;
548 * Global * 548 ++p;
549 *============================================================================*/ 549 }
550 550 }
551/*============================================================================* 551 else
552 * API * 552 {
553 *============================================================================*/ 553 q = p;
554 554 ++p;
555EAPI Eina_Bool 555 }
556eina_file_dir_list(const char *dir, 556 }
557 Eina_Bool recursive, 557
558 Eina_File_Dir_List_Cb cb, 558 if (length)
559 void *data) 559 *length = len;
560{ 560
561 WIN32_FIND_DATA file; 561 return result;
562 HANDLE h; 562}
563 char *new_dir; 563
564 564
565 EINA_SAFETY_ON_NULL_RETURN_VAL(cb, EINA_FALSE); 565/**
566 EINA_SAFETY_ON_NULL_RETURN_VAL(dir, EINA_FALSE); 566 * @endcond
567 EINA_SAFETY_ON_TRUE_RETURN_VAL(dir[0] == '\0', EINA_FALSE); 567 */
568 568
569 if (!_eina_file_win32_is_dir(dir)) 569/*============================================================================*
570 return EINA_FALSE; 570 * Global *
571 571 *============================================================================*/
572 new_dir = _eina_file_win32_dir_new(dir); 572
573 if (!new_dir) 573Eina_Bool
574 return EINA_FALSE; 574eina_file_init(void)
575 575{
576 h = _eina_file_win32_first_file(new_dir, &file); 576 _eina_file_log_dom = eina_log_domain_register("eina_file",
577 577 EINA_LOG_COLOR_DEFAULT);
578 if (h == INVALID_HANDLE_VALUE) 578 if (_eina_file_log_dom < 0)
579 return EINA_FALSE; 579 {
580 580 EINA_LOG_ERR("Could not register log domain: eina_file");
581 do 581 return EINA_FALSE;
582 { 582 }
583 char *filename; 583
584 584 _eina_file_cache = eina_hash_string_djb2_new(NULL);
585# ifdef UNICODE 585 if (!_eina_file_cache)
586 filename = evil_wchar_to_char(file.cFileName); 586 {
587# else 587 ERR("Could not create cache.");
588 filename = file.cFileName; 588 eina_log_domain_unregister(_eina_file_log_dom);
589# endif /* ! UNICODE */ 589 _eina_file_log_dom = -1;
590 if (!strcmp(filename, ".") || !strcmp(filename, "..")) 590 return EINA_FALSE;
591 continue; 591 }
592 592
593 cb(filename, dir, data); 593 eina_lock_new(&_eina_file_lock_cache);
594 594
595 if (recursive == EINA_TRUE) 595 return EINA_TRUE;
596 { 596}
597 char *path; 597
598 598Eina_Bool
599 path = alloca(strlen(dir) + strlen(filename) + 2); 599eina_file_shutdown(void)
600 strcpy(path, dir); 600{
601 strcat(path, "/"); 601 if (eina_hash_population(_eina_file_cache) > 0)
602 strcat(path, filename); 602 {
603 603 Eina_Iterator *it;
604 if (!(file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) 604 const char *key;
605 continue; 605
606 606 it = eina_hash_iterator_key_new(_eina_file_cache);
607 eina_file_dir_list(path, recursive, cb, data); 607 EINA_ITERATOR_FOREACH(it, key)
608 } 608 ERR("File [%s] still open !", key);
609 609 eina_iterator_free(it);
610# ifdef UNICODE 610 }
611 free(filename); 611
612# endif /* UNICODE */ 612 eina_hash_free(_eina_file_cache);
613 613
614 } while (FindNextFile(h, &file)); 614 eina_lock_free(&_eina_file_lock_cache);
615 FindClose(h); 615
616 616 eina_log_domain_unregister(_eina_file_log_dom);
617 return EINA_TRUE; 617 _eina_file_log_dom = -1;
618} 618 return EINA_TRUE;
619 619}
620EAPI Eina_Array * 620
621eina_file_split(char *path) 621/*============================================================================*
622{ 622 * API *
623 Eina_Array *ea; 623 *============================================================================*/
624 char *current; 624
625 size_t length; 625
626 626EAPI char *
627 EINA_SAFETY_ON_NULL_RETURN_VAL(path, NULL); 627eina_file_path_sanitize(const char *path)
628 628{
629 ea = eina_array_new(16); 629 char *result = NULL;
630 630 size_t len;
631 if (!ea) 631
632 return NULL; 632 if (!path) return NULL;
633 633
634 for (current = strchr(path, '\\'); 634 len = strlen(path);
635 current; 635 if (len < 3) return NULL;
636 path = current + 1, current = strchr(path, '\\')) 636
637 { 637 if (!evil_path_is_absolute(path))
638 length = current - path; 638 {
639 639 DWORD l;
640 if (length <= 0) 640
641 continue; 641 l = GetCurrentDirectory(0, NULL);
642 642 if (l > 0)
643 eina_array_push(ea, path); 643 {
644 *current = '\0'; 644 char *cwd;
645 } 645 DWORD l2;
646 646
647 if (*path != '\0') 647 cwd = alloca(sizeof(char) * (l + 1));
648 eina_array_push(ea, path); 648 l2 = GetCurrentDirectory(l + 1, cwd);
649 649 if (l2 == l)
650 return ea; 650 {
651} 651 char *tmp;
652 652
653EAPI Eina_Iterator * 653 len += l + 2;
654eina_file_ls(const char *dir) 654 tmp = alloca(sizeof (char) * len);
655{ 655 snprintf(tmp, len, "%s/%s", cwd, path);
656 Eina_File_Iterator *it; 656 tmp[len - 1] = '\0';
657 char *new_dir; 657 result = tmp;
658 size_t length; 658 }
659 659 }
660 if (!dir || !*dir) 660 }
661 return NULL; 661
662 662 return _eina_file_win32_escape(result ? result : path, &len);
663 if (!_eina_file_win32_is_dir(dir)) 663}
664 return NULL; 664
665 665EAPI Eina_Bool
666 length = strlen(dir); 666eina_file_dir_list(const char *dir,
667 667 Eina_Bool recursive,
668 it = calloc(1, sizeof (Eina_File_Iterator) + length); 668 Eina_File_Dir_List_Cb cb,
669 if (!it) 669 void *data)
670 return NULL; 670{
671 671 WIN32_FIND_DATA file;
672 EINA_MAGIC_SET(&it->iterator, EINA_MAGIC_ITERATOR); 672 HANDLE h;
673 673 char *new_dir;
674 new_dir = _eina_file_win32_dir_new(dir); 674
675 if (!new_dir) 675 EINA_SAFETY_ON_NULL_RETURN_VAL(cb, EINA_FALSE);
676 goto free_it; 676 EINA_SAFETY_ON_NULL_RETURN_VAL(dir, EINA_FALSE);
677 677 EINA_SAFETY_ON_TRUE_RETURN_VAL(dir[0] == '\0', EINA_FALSE);
678 it->handle = _eina_file_win32_first_file(new_dir, &it->data); 678
679 free(new_dir); 679 if (!_eina_file_win32_is_dir(dir))
680 if (it->handle == INVALID_HANDLE_VALUE) 680 return EINA_FALSE;
681 goto free_it; 681
682 682 new_dir = _eina_file_win32_dir_new(dir);
683 memcpy(it->dir, dir, length + 1); 683 if (!new_dir)
684 if (dir[length - 1] != '\\') 684 return EINA_FALSE;
685 it->length = length; 685
686 else 686 h = _eina_file_win32_first_file(new_dir, &file);
687 it->length = length - 1; 687
688 _eina_file_win32_backslash_change(it->dir); 688 if (h == INVALID_HANDLE_VALUE)
689 689 return EINA_FALSE;
690 it->iterator.version = EINA_ITERATOR_VERSION; 690
691 it->iterator.next = FUNC_ITERATOR_NEXT(_eina_file_win32_ls_iterator_next); 691 do
692 it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_eina_file_win32_ls_iterator_container); 692 {
693 it->iterator.free = FUNC_ITERATOR_FREE(_eina_file_win32_ls_iterator_free); 693 char *filename;
694 694
695 return &it->iterator; 695# ifdef UNICODE
696 696 filename = evil_wchar_to_char(file.cFileName);
697 free_it: 697# else
698 free(it); 698 filename = file.cFileName;
699 699# endif /* ! UNICODE */
700 return NULL; 700 if (!strcmp(filename, ".") || !strcmp(filename, ".."))
701} 701 continue;
702 702
703EAPI Eina_Iterator * 703 cb(filename, dir, data);
704eina_file_direct_ls(const char *dir) 704
705{ 705 if (recursive == EINA_TRUE)
706 Eina_File_Direct_Iterator *it; 706 {
707 char *new_dir; 707 char *path;
708 size_t length; 708
709 709 path = alloca(strlen(dir) + strlen(filename) + 2);
710 if (!dir || !*dir) 710 strcpy(path, dir);
711 return NULL; 711 strcat(path, "/");
712 712 strcat(path, filename);
713 length = strlen(dir); 713
714 714 if (!(file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
715 if (length + 12 + 2 >= MAX_PATH) 715 continue;
716 return NULL; 716
717 717 eina_file_dir_list(path, recursive, cb, data);
718 it = calloc(1, sizeof(Eina_File_Direct_Iterator) + length); 718 }
719 if (!it) 719
720 return NULL; 720# ifdef UNICODE
721 721 free(filename);
722 EINA_MAGIC_SET(&it->iterator, EINA_MAGIC_ITERATOR); 722# endif /* UNICODE */
723 723
724 new_dir = _eina_file_win32_dir_new(dir); 724 } while (FindNextFile(h, &file));
725 if (!new_dir) 725 FindClose(h);
726 goto free_it; 726
727 727 return EINA_TRUE;
728 it->handle = _eina_file_win32_first_file(new_dir, &it->data); 728}
729 free(new_dir); 729
730 if (it->handle == INVALID_HANDLE_VALUE) 730EAPI Eina_Array *
731 goto free_it; 731eina_file_split(char *path)
732 732{
733 memcpy(it->dir, dir, length + 1); 733 Eina_Array *ea;
734 it->length = length; 734 char *current;
735 _eina_file_win32_backslash_change(it->dir); 735 size_t length;
736 736
737 memcpy(it->info.path, dir, length); 737 EINA_SAFETY_ON_NULL_RETURN_VAL(path, NULL);
738 if (dir[length - 1] == '\\') 738
739 it->info.name_start = length; 739 ea = eina_array_new(16);
740 else 740
741 { 741 if (!ea)
742 it->info.path[length] = '\\'; 742 return NULL;
743 it->info.name_start = length + 1; 743
744 } 744 for (current = strchr(path, '\\');
745 _eina_file_win32_backslash_change(it->info.path); 745 current;
746 746 path = current + 1, current = strchr(path, '\\'))
747 it->iterator.version = EINA_ITERATOR_VERSION; 747 {
748 it->iterator.next = FUNC_ITERATOR_NEXT(_eina_file_win32_direct_ls_iterator_next); 748 length = current - path;
749 it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_eina_file_win32_direct_ls_iterator_container); 749
750 it->iterator.free = FUNC_ITERATOR_FREE(_eina_file_win32_direct_ls_iterator_free); 750 if (length <= 0)
751 751 continue;
752 return &it->iterator; 752
753 753 eina_array_push(ea, path);
754 free_it: 754 *current = '\0';
755 free(it); 755 }
756 756
757 return NULL; 757 if (*path != '\0')
758} 758 eina_array_push(ea, path);
759 759
760EAPI Eina_Iterator * 760 return ea;
761eina_file_stat_ls(const char *dir) 761}
762{ 762
763 return eina_file_direct_ls(dir); 763EAPI Eina_Iterator *
764} 764eina_file_ls(const char *dir)
765 765{
766EAPI Eina_File * 766 Eina_File_Iterator *it;
767eina_file_open(const char *filename, Eina_Bool shared) 767 char *new_dir;
768{ 768 size_t length;
769 Eina_File *file; 769
770 Eina_File *n; 770 EINA_SAFETY_ON_NULL_RETURN_VAL(dir, NULL);
771 HANDLE handle; 771
772 HANDLE fm; 772 if (!dir || !*dir)
773 WIN32_FILE_ATTRIBUTE_DATA fad; 773 return NULL;
774 ULARGE_INTEGER length; 774
775 ULARGE_INTEGER mtime; 775 if (!_eina_file_win32_is_dir(dir))
776 Eina_Bool create = EINA_FALSE; 776 return NULL;
777 777
778 /* FIXME: always open absolute path (need to fix filename according to current 778 length = strlen(dir);
779 directory) */ 779
780 780 it = calloc(1, sizeof (Eina_File_Iterator) + length);
781 /* FIXME: how to emulate shm_open ? Just OpenFileMapping ? */ 781 if (!it)
782#if 0 782 return NULL;
783 if (shared) 783
784 handle = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, 784 EINA_MAGIC_SET(&it->iterator, EINA_MAGIC_ITERATOR);
785 NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY, 785
786 NULL); 786 new_dir = _eina_file_win32_dir_new(dir);
787 else 787 if (!new_dir)
788#endif 788 goto free_it;
789 handle = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, 789
790 NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY, 790 it->handle = _eina_file_win32_first_file(new_dir, &it->data);
791 NULL); 791 free(new_dir);
792 792 if (it->handle == INVALID_HANDLE_VALUE)
793 if (handle == INVALID_HANDLE_VALUE) 793 goto free_it;
794 return NULL; 794
795 795 memcpy(it->dir, dir, length + 1);
796 fm = CreateFileMapping(handle, NULL, PAGE_READONLY, 0, 0, NULL); 796 if (dir[length - 1] != '\\')
797 if (!fm) 797 it->length = length;
798 goto close_handle; 798 else
799 799 it->length = length - 1;
800 if (!GetFileAttributesEx(filename, GetFileExInfoStandard, &fad)) 800 _eina_file_win32_backslash_change(it->dir);
801 goto close_fm; 801
802 802 it->iterator.version = EINA_ITERATOR_VERSION;
803 length.u.LowPart = fad.nFileSizeLow; 803 it->iterator.next = FUNC_ITERATOR_NEXT(_eina_file_win32_ls_iterator_next);
804 length.u.HighPart = fad.nFileSizeHigh; 804 it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_eina_file_win32_ls_iterator_container);
805 mtime.u.LowPart = fad.ftLastWriteTime.dwLowDateTime; 805 it->iterator.free = FUNC_ITERATOR_FREE(_eina_file_win32_ls_iterator_free);
806 mtime.u.HighPart = fad.ftLastWriteTime.dwHighDateTime; 806
807 807 return &it->iterator;
808 file = eina_hash_find(_eina_file_cache, filename); 808
809 if (file && 809 free_it:
810 (file->mtime != mtime.QuadPart || file->length != length.QuadPart)) 810 free(it);
811 { 811
812 create = EINA_TRUE; 812 return NULL;
813 813}
814 if (file->refcount == 0) 814
815 { 815EAPI Eina_Iterator *
816 _eina_file_cache_lru = eina_list_prepend(_eina_file_cache_lru, file); 816eina_file_direct_ls(const char *dir)
817 eina_hash_del(_eina_file_cache, file->filename, file); 817{
818 818 Eina_File_Direct_Iterator *it;
819 file = NULL; 819 char *new_dir;
820 } 820 size_t length;
821 else if (!file->delete_me) 821
822 { 822 EINA_SAFETY_ON_NULL_RETURN_VAL(dir, NULL);
823 file->delete_me = EINA_TRUE; 823
824 _eina_file_cache_delete = eina_list_prepend(_eina_file_cache_delete, file); 824 if (!dir || !*dir)
825 } 825 return NULL;
826 } 826
827 827 length = strlen(dir);
828 if (!file || create) 828
829 { 829 if (length + 12 + 2 >= MAX_PATH)
830 n = calloc(1, sizeof (Eina_File)); 830 return NULL;
831 if (!n) 831
832 goto close_fm; 832 it = calloc(1, sizeof(Eina_File_Direct_Iterator) + length);
833 833 if (!it)
834 n->filename = eina_stringshare_add(filename); 834 return NULL;
835 n->map = eina_hash_new(EINA_KEY_LENGTH(_eina_file_map_key_length), 835
836 EINA_KEY_CMP(_eina_file_map_key_cmp), 836 EINA_MAGIC_SET(&it->iterator, EINA_MAGIC_ITERATOR);
837 EINA_KEY_HASH(_eina_file_map_key_hash), 837
838 EINA_FREE_CB(_eina_file_map_close), 838 new_dir = _eina_file_win32_dir_new(dir);
839 3); 839 if (!new_dir)
840 n->rmap = eina_hash_pointer_new(NULL); 840 goto free_it;
841 n->global_map = MAP_FAILED; 841
842 n->length = length.QuadPart; 842 it->handle = _eina_file_win32_first_file(new_dir, &it->data);
843 n->mtime = mtime.QuadPart; 843 free(new_dir);
844 n->refcount = 0; 844 if (it->handle == INVALID_HANDLE_VALUE)
845 n->handle = handle; 845 goto free_it;
846 n->fm = fm; 846
847 n->shared = shared; 847 memcpy(it->dir, dir, length + 1);
848 n->delete_me = EINA_FALSE; 848 it->length = length;
849 849 _eina_file_win32_backslash_change(it->dir);
850 eina_hash_set(_eina_file_cache, filename, n); 850
851 } 851 memcpy(it->info.path, dir, length);
852 else 852 if (dir[length - 1] == '\\')
853 { 853 it->info.name_start = length;
854 CloseHandle(fm); 854 else
855 CloseHandle(handle); 855 {
856 856 it->info.path[length] = '\\';
857 n = file; 857 it->info.name_start = length + 1;
858 858 }
859 if (n->refcount == 0) 859 _eina_file_win32_backslash_change(it->info.path);
860 _eina_file_cache_lru = eina_list_remove(_eina_file_cache_lru, n); 860
861 } 861 it->iterator.version = EINA_ITERATOR_VERSION;
862 862 it->iterator.next = FUNC_ITERATOR_NEXT(_eina_file_win32_direct_ls_iterator_next);
863 n->refcount++; 863 it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_eina_file_win32_direct_ls_iterator_container);
864 864 it->iterator.free = FUNC_ITERATOR_FREE(_eina_file_win32_direct_ls_iterator_free);
865 return n; 865
866 866 return &it->iterator;
867 close_fm: 867
868 CloseHandle(fm); 868 free_it:
869 close_handle: 869 free(it);
870 CloseHandle(handle); 870
871 871 return NULL;
872 return NULL; 872}
873} 873
874 874EAPI Eina_Iterator *
875EAPI void 875eina_file_stat_ls(const char *dir)
876eina_file_close(Eina_File *file) 876{
877{ 877 return eina_file_direct_ls(dir);
878 file->refcount--; 878}
879 879
880 if (file->refcount != 0) return ; 880EAPI Eina_File *
881 881eina_file_open(const char *path, Eina_Bool shared)
882 if (file->delete_me) 882{
883 { 883 Eina_File *file;
884 _eina_file_cache_delete = eina_list_remove(_eina_file_cache_delete, file); 884 Eina_File *n;
885 _eina_file_real_close(file); 885 char *filename;
886 } 886 HANDLE handle;
887 else 887 HANDLE fm;
888 { 888 WIN32_FILE_ATTRIBUTE_DATA fad;
889 _eina_file_cache_lru = eina_list_prepend(_eina_file_cache_lru, file); 889 ULARGE_INTEGER length;
890 } 890 ULARGE_INTEGER mtime;
891} 891
892 892 EINA_SAFETY_ON_NULL_RETURN_VAL(path, NULL);
893EAPI size_t 893
894eina_file_size_get(Eina_File *file) 894 filename = eina_file_path_sanitize(path);
895{ 895 if (!filename) return NULL;
896 return file->length; 896
897} 897 /* FIXME: how to emulate shm_open ? Just OpenFileMapping ? */
898 898#if 0
899EAPI time_t 899 if (shared)
900eina_file_mtime_get(Eina_File *file) 900 handle = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ,
901{ 901 NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY,
902 return file->mtime; 902 NULL);
903} 903 else
904 904#endif
905EAPI const char * 905 handle = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ,
906eina_file_filename_get(Eina_File *file) 906 NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY,
907{ 907 NULL);
908 return file->filename; 908
909} 909 if (handle == INVALID_HANDLE_VALUE)
910 910 return NULL;
911EAPI void * 911
912eina_file_map_all(Eina_File *file, Eina_File_Populate rule __UNUSED__) 912 fm = CreateFileMapping(handle, NULL, PAGE_READONLY, 0, 0, NULL);
913{ 913 if (!fm)
914 if (file->global_map == MAP_FAILED) 914 goto close_handle;
915 { 915
916 void *data; 916 if (!GetFileAttributesEx(filename, GetFileExInfoStandard, &fad))
917 917 goto close_fm;
918 data = MapViewOfFile(file->fm, FILE_MAP_READ, 918
919 0, 0, file->length); 919 length.u.LowPart = fad.nFileSizeLow;
920 if (!data) 920 length.u.HighPart = fad.nFileSizeHigh;
921 file->global_map = MAP_FAILED; 921 mtime.u.LowPart = fad.ftLastWriteTime.dwLowDateTime;
922 else 922 mtime.u.HighPart = fad.ftLastWriteTime.dwHighDateTime;
923 file->global_map = data; 923
924 } 924 eina_lock_take(&_eina_file_lock_cache);
925 925
926 if (file->global_map != MAP_FAILED) 926 file = eina_hash_find(_eina_file_cache, filename);
927 { 927 if (file &&
928 file->global_refcount++; 928 (file->mtime != mtime.QuadPart || file->length != length.QuadPart))
929 return file->global_map; 929 {
930 } 930 file->delete_me = EINA_TRUE;
931 931 eina_hash_del(_eina_file_cache, file->filename, file);
932 return NULL; 932 _eina_file_real_close(file);
933} 933 file = NULL;
934 934 }
935EAPI void * 935
936eina_file_map_new(Eina_File *file, Eina_File_Populate rule, 936 if (!file)
937 unsigned long int offset, unsigned long int length) 937 {
938{ 938 n = malloc(sizeof (Eina_File) + strlen(filename) + 1);
939 Eina_File_Map *map; 939 if (!n)
940 unsigned long int key[2]; 940 {
941 941 eina_lock_release(&_eina_file_lock_cache);
942 if (offset > file->length) 942 goto close_fm;
943 return NULL; 943 }
944 if (offset + length > file->length) 944
945 return NULL; 945 n->filename = (char*) (n + 1);
946 946 strcpy((char*) n->filename, filename);
947 if (offset == 0 && length == file->length) 947 n->map = eina_hash_new(EINA_KEY_LENGTH(_eina_file_map_key_length),
948 return eina_file_map_all(file, rule); 948 EINA_KEY_CMP(_eina_file_map_key_cmp),
949 949 EINA_KEY_HASH(_eina_file_map_key_hash),
950 key[0] = offset; 950 EINA_FREE_CB(_eina_file_map_close),
951 key[1] = length; 951 3);
952 952 n->rmap = eina_hash_pointer_new(NULL);
953 map = eina_hash_find(file->map, &key); 953 n->global_map = MAP_FAILED;
954 if (!map) 954 n->global_refcount = 0;
955 { 955 n->length = length.QuadPart;
956 void *data; 956 n->mtime = mtime.QuadPart;
957 957 n->refcount = 0;
958 map = malloc(sizeof (Eina_File_Map)); 958 n->handle = handle;
959 if (!map) return NULL; 959 n->fm = fm;
960 960 n->shared = shared;
961 data = MapViewOfFile(file->fm, FILE_MAP_READ, 961 n->delete_me = EINA_FALSE;
962 offset & 0xffff0000, 962 eina_lock_new(&n->lock);
963 offset & 0x0000ffff, 963 eina_hash_direct_add(_eina_file_cache, n->filename, n);
964 length); 964 }
965 if (!data) 965 else
966 map->map = MAP_FAILED; 966 {
967 else 967 CloseHandle(fm);
968 map->map = data; 968 CloseHandle(handle);
969 969
970 map->offset = offset; 970 n = file;
971 map->length = length; 971 }
972 map->refcount = 0; 972 eina_lock_take(&n->lock);
973 973 n->refcount++;
974 if (map->map == MAP_FAILED) 974 eina_lock_release(&n->lock);
975 { 975
976 free(map); 976 eina_lock_release(&_eina_file_lock_cache);
977 return NULL; 977
978 } 978 free(filename);
979 979
980 eina_hash_add(file->map, &key, map); 980 return n;
981 eina_hash_direct_add(file->rmap, map->map, map); 981
982 } 982 close_fm:
983 983 CloseHandle(fm);
984 map->refcount++; 984 close_handle:
985 985 CloseHandle(handle);
986 return map->map; 986
987} 987 return NULL;
988 988}
989EAPI void 989
990eina_file_map_free(Eina_File *file, void *map) 990EAPI void
991{ 991eina_file_close(Eina_File *file)
992 if (file->global_map == map) 992{
993 { 993 EINA_SAFETY_ON_NULL_RETURN(file);
994 file->global_refcount--; 994
995 995 eina_lock_take(&file->lock);
996 if (file->global_refcount > 0) return ; 996 file->refcount--;
997 997 eina_lock_release(&file->lock);
998 /* FIXME: are we sure that file->global_map != MAP_FAILED ? */ 998
999 if (file->global_map != MAP_FAILED) 999 if (file->refcount != 0) return ;
1000 UnmapViewOfFile(file->global_map); 1000 eina_lock_take(&_eina_file_lock_cache);
1001 file->global_map = MAP_FAILED; 1001
1002 } 1002 eina_hash_del(_eina_file_cache, file->filename, file);
1003 else 1003 _eina_file_real_close(file);
1004 { 1004
1005 Eina_File_Map *em; 1005 eina_lock_release(&_eina_file_lock_cache);
1006 unsigned long int key[2]; 1006}
1007 1007
1008 em = eina_hash_find(file->rmap, &map); 1008EAPI size_t
1009 if (!em) return ; 1009eina_file_size_get(Eina_File *file)
1010 1010{
1011 em->refcount--; 1011 EINA_SAFETY_ON_NULL_RETURN_VAL(file, 0);
1012 1012 return file->length;
1013 if (em->refcount > 0) return ; 1013}
1014 1014
1015 key[0] = em->offset; 1015EAPI time_t
1016 key[1] = em->length; 1016eina_file_mtime_get(Eina_File *file)
1017 1017{
1018 eina_hash_del(file->rmap, &map, em); 1018 EINA_SAFETY_ON_NULL_RETURN_VAL(file, 0);
1019 eina_hash_del(file->map, &key, em); 1019 return file->mtime;
1020 } 1020}
1021} 1021
1022EAPI const char *
1023eina_file_filename_get(Eina_File *file)
1024{
1025 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL);
1026 return file->filename;
1027}
1028
1029EAPI Eina_Iterator *eina_file_xattr_get(Eina_File *file __UNUSED__)
1030{
1031 return NULL;
1032}
1033
1034EAPI Eina_Iterator *eina_file_xattr_value_get(Eina_File *file __UNUSED__)
1035{
1036 return NULL;
1037}
1038
1039EAPI void *
1040eina_file_map_all(Eina_File *file, Eina_File_Populate rule __UNUSED__)
1041{
1042 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL);
1043
1044 eina_lock_take(&file->lock);
1045 if (file->global_map == MAP_FAILED)
1046 {
1047 void *data;
1048
1049 data = MapViewOfFile(file->fm, FILE_MAP_READ,
1050 0, 0, file->length);
1051 if (!data)
1052 file->global_map = MAP_FAILED;
1053 else
1054 file->global_map = data;
1055 }
1056
1057 if (file->global_map != MAP_FAILED)
1058 {
1059 file->global_refcount++;
1060 return file->global_map;
1061 }
1062
1063 eina_lock_release(&file->lock);
1064 return NULL;
1065}
1066
1067EAPI void *
1068eina_file_map_new(Eina_File *file, Eina_File_Populate rule,
1069 unsigned long int offset, unsigned long int length)
1070{
1071 Eina_File_Map *map;
1072 unsigned long int key[2];
1073
1074 EINA_SAFETY_ON_NULL_RETURN_VAL(file, NULL);
1075
1076 if (offset > file->length)
1077 return NULL;
1078 if (offset + length > file->length)
1079 return NULL;
1080
1081 if (offset == 0 && length == file->length)
1082 return eina_file_map_all(file, rule);
1083
1084 key[0] = offset;
1085 key[1] = length;
1086
1087 eina_lock_take(&file->lock);
1088
1089 map = eina_hash_find(file->map, &key);
1090 if (!map)
1091 {
1092 void *data;
1093
1094 map = malloc(sizeof (Eina_File_Map));
1095 if (!map)
1096 {
1097 eina_lock_release(&file->lock);
1098 return NULL;
1099 }
1100
1101 data = MapViewOfFile(file->fm, FILE_MAP_READ,
1102 offset & 0xffff0000,
1103 offset & 0x0000ffff,
1104 length);
1105 if (!data)
1106 map->map = MAP_FAILED;
1107 else
1108 map->map = data;
1109
1110 map->offset = offset;
1111 map->length = length;
1112 map->refcount = 0;
1113
1114 if (map->map == MAP_FAILED)
1115 {
1116 free(map);
1117 eina_lock_release(&file->lock);
1118 return NULL;
1119 }
1120
1121 eina_hash_add(file->map, &key, map);
1122 eina_hash_direct_add(file->rmap, map->map, map);
1123 }
1124
1125 map->refcount++;
1126
1127 eina_lock_release(&file->lock);
1128
1129 return map->map;
1130}
1131
1132EAPI void
1133eina_file_map_free(Eina_File *file, void *map)
1134{
1135 EINA_SAFETY_ON_NULL_RETURN(file);
1136
1137 eina_lock_take(&file->lock);
1138
1139 if (file->global_map == map)
1140 {
1141 file->global_refcount--;
1142
1143 if (file->global_refcount > 0) goto on_exit;
1144
1145 UnmapViewOfFile(file->global_map);
1146 file->global_map = MAP_FAILED;
1147 }
1148 else
1149 {
1150 Eina_File_Map *em;
1151 unsigned long int key[2];
1152
1153 em = eina_hash_find(file->rmap, &map);
1154 if (!em) goto on_exit;
1155
1156 em->refcount--;
1157
1158 if (em->refcount > 0) goto on_exit;
1159
1160 key[0] = em->offset;
1161 key[1] = em->length;
1162
1163 eina_hash_del(file->rmap, &map, em);
1164 eina_hash_del(file->map, &key, em);
1165 }
1166
1167 on_exit:
1168 eina_lock_release(&file->lock);
1169}
1170
1171EAPI int
1172eina_file_statat(void *container __UNUSED__, Eina_File_Direct_Info *info, Eina_Stat *st)
1173{
1174 struct __stat64 buf;
1175
1176 EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
1177 EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
1178
1179 if (stat64(info->path, &buf))
1180 {
1181 if (info->type != EINA_FILE_LNK)
1182 info->type = EINA_FILE_UNKNOWN;
1183 return -1;
1184 }
1185
1186 if (info->type == EINA_FILE_UNKNOWN)
1187 {
1188 if (S_ISREG(buf.st_mode))
1189 info->type = EINA_FILE_REG;
1190 else if (S_ISDIR(buf.st_mode))
1191 info->type = EINA_FILE_DIR;
1192 else
1193 info->type = EINA_FILE_UNKNOWN;
1194 }
1195
1196 st->dev = buf.st_dev;
1197 st->ino = buf.st_ino;
1198 st->mode = buf.st_mode;
1199 st->nlink = buf.st_nlink;
1200 st->uid = buf.st_uid;
1201 st->gid = buf.st_gid;
1202 st->rdev = buf.st_rdev;
1203 st->size = buf.st_size;
1204 st->blksize = 0;
1205 st->blocks = 0;
1206 st->atime = buf.st_atime;
1207 st->mtime = buf.st_mtime;
1208 st->ctime = buf.st_ctime;
1209 st->atimensec = 0;
1210 st->mtimensec = 0;
1211 st->ctimensec = 0;
1212
1213 return 0;
1214}
diff --git a/libraries/eina/src/lib/eina_inlist.c b/libraries/eina/src/lib/eina_inlist.c
index 75a2cc1..c80f87b 100644
--- a/libraries/eina/src/lib/eina_inlist.c
+++ b/libraries/eina/src/lib/eina_inlist.c
@@ -430,6 +430,8 @@ eina_inlist_find(Eina_Inlist *list, Eina_Inlist *item)
430{ 430{
431 Eina_Inlist *l; 431 Eina_Inlist *l;
432 432
433 EINA_SAFETY_ON_NULL_RETURN_VAL(item, NULL);
434
433 for (l = list; l; l = l->next) { 435 for (l = list; l; l = l->next) {
434 if (l == item) 436 if (l == item)
435 return item; 437 return item;
@@ -559,6 +561,9 @@ eina_inlist_sorted_insert(Eina_Inlist *list,
559 int cur = 0; 561 int cur = 0;
560 int count; 562 int count;
561 563
564 EINA_SAFETY_ON_NULL_RETURN_VAL(item, list);
565 EINA_SAFETY_ON_NULL_RETURN_VAL(func, list);
566
562 if (!list) return eina_inlist_append(NULL, item); 567 if (!list) return eina_inlist_append(NULL, item);
563 568
564 if (!list->next) 569 if (!list->next)
diff --git a/libraries/eina/src/lib/eina_list.c b/libraries/eina/src/lib/eina_list.c
index d45cffd..c85855f 100644
--- a/libraries/eina/src/lib/eina_list.c
+++ b/libraries/eina/src/lib/eina_list.c
@@ -1026,7 +1026,7 @@ eina_list_clone(const Eina_List *list)
1026} 1026}
1027 1027
1028EAPI Eina_List * 1028EAPI Eina_List *
1029eina_list_sort(Eina_List *list, unsigned int size, Eina_Compare_Cb func) 1029eina_list_sort(Eina_List *list, unsigned int limit, Eina_Compare_Cb func)
1030{ 1030{
1031 unsigned int i = 0; 1031 unsigned int i = 0;
1032 unsigned int n = 0; 1032 unsigned int n = 0;
@@ -1040,14 +1040,14 @@ eina_list_sort(Eina_List *list, unsigned int size, Eina_Compare_Cb func)
1040 1040
1041 EINA_MAGIC_CHECK_LIST(list, NULL); 1041 EINA_MAGIC_CHECK_LIST(list, NULL);
1042 1042
1043 /* if the caller specified an invalid size, sort the whole list */ 1043 /* if the caller specified an invalid limit, sort the whole list */
1044 if ((size == 0) || 1044 if ((limit == 0) ||
1045 (size > list->accounting->count)) 1045 (limit > list->accounting->count))
1046 size = list->accounting->count; 1046 limit = list->accounting->count;
1047 1047
1048 if (size != list->accounting->count) 1048 if (limit != list->accounting->count)
1049 { 1049 {
1050 unsort = eina_list_nth_list(list, size); 1050 unsort = eina_list_nth_list(list, limit);
1051 if (unsort) 1051 if (unsort)
1052 unsort->prev->next = NULL; 1052 unsort->prev->next = NULL;
1053 } 1053 }
@@ -1172,6 +1172,7 @@ eina_list_split_list(Eina_List *list, Eina_List *relative, Eina_List **right)
1172 next->prev = NULL; 1172 next->prev = NULL;
1173 next->accounting = _eina_list_mempool_accounting_new(next); 1173 next->accounting = _eina_list_mempool_accounting_new(next);
1174 next->accounting->last = list->accounting->last; 1174 next->accounting->last = list->accounting->last;
1175 next->accounting->count = 0;
1175 *right = next; 1176 *right = next;
1176 1177
1177 itr = next; 1178 itr = next;
diff --git a/libraries/eina/src/lib/eina_magic.c b/libraries/eina/src/lib/eina_magic.c
index d1f71cc..a42db2d 100644
--- a/libraries/eina/src/lib/eina_magic.c
+++ b/libraries/eina/src/lib/eina_magic.c
@@ -102,13 +102,8 @@ _eina_magic_strings_alloc(void)
102 tmp = realloc(_eina_magic_strings, sizeof(Eina_Magic_String) * size); 102 tmp = realloc(_eina_magic_strings, sizeof(Eina_Magic_String) * size);
103 if (!tmp) 103 if (!tmp)
104 { 104 {
105#ifdef _WIN32
106 ERR("could not realloc magic_strings from %Iu to %Iu buckets.",
107 _eina_magic_strings_allocated, size);
108#else
109 ERR("could not realloc magic_strings from %zu to %zu buckets.", 105 ERR("could not realloc magic_strings from %zu to %zu buckets.",
110 _eina_magic_strings_allocated, size); 106 _eina_magic_strings_allocated, size);
111#endif
112 return NULL; 107 return NULL;
113 } 108 }
114 109
diff --git a/libraries/eina/src/lib/eina_main.c b/libraries/eina/src/lib/eina_main.c
index 79f8a36..f233929 100644
--- a/libraries/eina/src/lib/eina_main.c
+++ b/libraries/eina/src/lib/eina_main.c
@@ -69,6 +69,7 @@
69#include "eina_inlist.h" 69#include "eina_inlist.h"
70#include "eina_inarray.h" 70#include "eina_inarray.h"
71#include "eina_value.h" 71#include "eina_value.h"
72#include "eina_model.h"
72 73
73/*============================================================================* 74/*============================================================================*
74* Local * 75* Local *
@@ -153,6 +154,7 @@ EAPI Eina_Inlist *_eina_tracking = NULL;
153 S(file); 154 S(file);
154 S(prefix); 155 S(prefix);
155 S(value); 156 S(value);
157 S(model);
156#undef S 158#undef S
157 159
158struct eina_desc_setup 160struct eina_desc_setup
@@ -189,7 +191,8 @@ static const struct eina_desc_setup _eina_desc_setup[] = {
189 S(simple_xml), 191 S(simple_xml),
190 S(file), 192 S(file),
191 S(prefix), 193 S(prefix),
192 S(value) 194 S(value),
195 S(model)
193#undef S 196#undef S
194}; 197};
195static const size_t _eina_desc_setup_len = sizeof(_eina_desc_setup) / 198static const size_t _eina_desc_setup_len = sizeof(_eina_desc_setup) /
diff --git a/libraries/eina/src/lib/eina_matrixsparse.c b/libraries/eina/src/lib/eina_matrixsparse.c
index 3ac0439..59cd66b 100644
--- a/libraries/eina/src/lib/eina_matrixsparse.c
+++ b/libraries/eina/src/lib/eina_matrixsparse.c
@@ -1078,6 +1078,8 @@ eina_matrixsparse_size_set(Eina_Matrixsparse *m,
1078 1078
1079 r = r->next; 1079 r = r->next;
1080 _eina_matrixsparse_row_free(r_aux, free_func, user_data); 1080 _eina_matrixsparse_row_free(r_aux, free_func, user_data);
1081 if ((update_last_used_row) && (m->last_used == r_aux))
1082 m->last_used = r;
1081 } 1083 }
1082 else 1084 else
1083 { 1085 {
diff --git a/libraries/eina/src/lib/eina_module.c b/libraries/eina/src/lib/eina_module.c
index 26df980..f4f3242 100644
--- a/libraries/eina/src/lib/eina_module.c
+++ b/libraries/eina/src/lib/eina_module.c
@@ -58,6 +58,10 @@ void *alloca (size_t);
58# include <Escape.h> 58# include <Escape.h>
59#endif 59#endif
60 60
61#ifdef HAVE_EXOTIC_H
62# include <Exotic.h>
63#endif
64
61#include "eina_config.h" 65#include "eina_config.h"
62#include "eina_private.h" 66#include "eina_private.h"
63#include "eina_error.h" 67#include "eina_error.h"
diff --git a/libraries/eina/src/lib/eina_prefix.c b/libraries/eina/src/lib/eina_prefix.c
index 5b4b0c0..2322311 100644
--- a/libraries/eina/src/lib/eina_prefix.c
+++ b/libraries/eina/src/lib/eina_prefix.c
@@ -30,15 +30,15 @@
30#endif 30#endif
31#ifdef HAVE_ALLOCA_H 31#ifdef HAVE_ALLOCA_H
32# include <alloca.h> 32# include <alloca.h>
33#elif defined __GNUC__ 33#elif !defined alloca
34# define alloca __builtin_alloca 34# ifdef __GNUC__
35#elif defined _AIX 35# define alloca __builtin_alloca
36# define alloca __alloca 36# elif defined _AIX
37#elif defined _MSC_VER 37# define alloca __alloca
38# include <malloc.h> 38# elif defined _MSC_VER
39# define alloca _alloca 39# include <malloc.h>
40#else 40# define alloca _alloca
41# ifndef HAVE_ALLOCA 41# elif !defined HAVE_ALLOCA
42# ifdef __cplusplus 42# ifdef __cplusplus
43extern "C" 43extern "C"
44# endif 44# endif
@@ -237,7 +237,7 @@ _try_argv(Eina_Prefix *pfx, const char *argv0)
237 DBG("Try argv0 = %s", argv0); 237 DBG("Try argv0 = %s", argv0);
238 /* 1. is argv0 abs path? */ 238 /* 1. is argv0 abs path? */
239#ifdef _WIN32 239#ifdef _WIN32
240 if (argv0[0] && (argv0[1] == ':')) 240 if (evil_path_is_absolute(argv0))
241#else 241#else
242 if (argv0[0] == DSEP_C) 242 if (argv0[0] == DSEP_C)
243#endif 243#endif
@@ -533,7 +533,7 @@ eina_prefix_new(const char *argv0, void *symbol, const char *envprefix,
533 { 533 {
534 DBG("Dlinfo dli_fname = %s", info_dl.dli_fname); 534 DBG("Dlinfo dli_fname = %s", info_dl.dli_fname);
535# ifdef _WIN32 535# ifdef _WIN32
536 if (info_dl.dli_fname[0] && (info_dl.dli_fname[1] == ':')) 536 if (evil_path_is_absolute(info_dl.dli_fname))
537# else 537# else
538 if (info_dl.dli_fname[0] == DSEP_C) 538 if (info_dl.dli_fname[0] == DSEP_C)
539# endif 539# endif
diff --git a/libraries/eina/src/lib/eina_private.h b/libraries/eina/src/lib/eina_private.h
index e31ab47..49df565 100644
--- a/libraries/eina/src/lib/eina_private.h
+++ b/libraries/eina/src/lib/eina_private.h
@@ -95,6 +95,8 @@
95#define EINA_MAGIC_INARRAY_ITERATOR 0x98761271 95#define EINA_MAGIC_INARRAY_ITERATOR 0x98761271
96#define EINA_MAGIC_INARRAY_ACCESSOR 0x98761272 96#define EINA_MAGIC_INARRAY_ACCESSOR 0x98761272
97 97
98#define EINA_MAGIC_MODEL 0x98761280
99
98#define EINA_MAGIC_CLASS 0x9877CB30 100#define EINA_MAGIC_CLASS 0x9877CB30
99 101
100/* undef the following, we want out version */ 102/* undef the following, we want out version */
diff --git a/libraries/eina/src/lib/eina_rbtree.c b/libraries/eina/src/lib/eina_rbtree.c
index 5f1232c..a9d777a 100644
--- a/libraries/eina/src/lib/eina_rbtree.c
+++ b/libraries/eina/src/lib/eina_rbtree.c
@@ -1,5 +1,6 @@
1/* EINA - EFL data type library 1/* EINA - EFL data type library
2 * Copyright (C) 2008 Cedric Bail 2 * Copyright (C) 2008 Cedric Bail
3 * Copyright (C) 2011 Alexandre Becoulet
3 * 4 *
4 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
@@ -23,6 +24,7 @@
23#include <stdlib.h> 24#include <stdlib.h>
24#include <stdio.h> 25#include <stdio.h>
25#include <string.h> 26#include <string.h>
27#include <stdint.h>
26 28
27#include "eina_config.h" 29#include "eina_config.h"
28#include "eina_private.h" 30#include "eina_private.h"
@@ -244,9 +246,9 @@ static inline Eina_Rbtree *
244_eina_rbtree_inline_single_rotation(Eina_Rbtree *node, 246_eina_rbtree_inline_single_rotation(Eina_Rbtree *node,
245 Eina_Rbtree_Direction dir) 247 Eina_Rbtree_Direction dir)
246{ 248{
247 Eina_Rbtree *save = node->son[!dir]; 249 Eina_Rbtree *save = node->son[dir ^ 1];
248 250
249 node->son[!dir] = save->son[dir]; 251 node->son[dir ^ 1] = save->son[dir];
250 save->son[dir] = node; 252 save->son[dir] = node;
251 253
252 node->color = EINA_RBTREE_RED; 254 node->color = EINA_RBTREE_RED;
@@ -259,7 +261,7 @@ static inline Eina_Rbtree *
259_eina_rbtree_inline_double_rotation(Eina_Rbtree *node, 261_eina_rbtree_inline_double_rotation(Eina_Rbtree *node,
260 Eina_Rbtree_Direction dir) 262 Eina_Rbtree_Direction dir)
261{ 263{
262 node->son[!dir] = _eina_rbtree_inline_single_rotation(node->son[!dir], !dir); 264 node->son[dir ^ 1] = _eina_rbtree_inline_single_rotation(node->son[dir ^ 1], dir ^ 1);
263 return _eina_rbtree_inline_single_rotation(node, dir); 265 return _eina_rbtree_inline_single_rotation(node, dir);
264} 266}
265 267
@@ -277,87 +279,64 @@ eina_rbtree_inline_insert(Eina_Rbtree *root,
277 Eina_Rbtree_Cmp_Node_Cb cmp, 279 Eina_Rbtree_Cmp_Node_Cb cmp,
278 const void *data) 280 const void *data)
279{ 281{
280 Eina_Rbtree head; 282 Eina_Rbtree **r = &root;
281 Eina_Rbtree *g, *t; /* Grandparent & parent */ 283 Eina_Rbtree *q = root;
282 Eina_Rbtree *p, *q; /* Iterator & parent */ 284 uintptr_t stack[48];
283 /* WARNING: 285 unsigned int s = 0;
284 Compiler is not able to understand the underlying algorithm and don't know that
285 first top node is always black, so it will never use last before running the loop
286 one time.
287 */
288 Eina_Rbtree_Direction dir, last;
289 286
290 EINA_SAFETY_ON_NULL_RETURN_VAL(node, root); 287 EINA_SAFETY_ON_NULL_RETURN_VAL(node, root);
291 EINA_SAFETY_ON_NULL_RETURN_VAL( cmp, root); 288 EINA_SAFETY_ON_NULL_RETURN_VAL( cmp, root);
292 289
293 if (!node) 290 /* Find insertion leaf */
294 return root; 291 while (q != NULL)
295 292 {
296 _eina_rbtree_node_init(node); 293 Eina_Rbtree_Direction dir = cmp(q, node, (void *)data);
297
298 if (!root)
299 {
300 root = node;
301 goto end_add;
302 }
303
304 memset(&head, 0, sizeof (Eina_Rbtree));
305 last = dir = EINA_RBTREE_LEFT;
306
307 /* Set up helpers */
308 t = &head;
309 g = p = NULL;
310 q = t->son[1] = root;
311
312 /* Search down the tree */
313 for (;; )
314 {
315 if (!q)
316 /* Insert new node at the bottom */
317 p->son[dir] = q = node;
318 else if (_eina_rbtree_is_red(q->son[0])
319 && _eina_rbtree_is_red(q->son[1]))
320 {
321 /* Color flip */
322 q->color = EINA_RBTREE_RED;
323 q->son[0]->color = EINA_RBTREE_BLACK;
324 q->son[1]->color = EINA_RBTREE_BLACK;
325 }
326
327 /* Fix red violation */
328 if (_eina_rbtree_is_red(q) && _eina_rbtree_is_red(p))
329 {
330 Eina_Rbtree_Direction dir2;
331 294
332 dir2 = (t->son[1] == g) ? EINA_RBTREE_RIGHT : EINA_RBTREE_LEFT; 295 /* Keep path in stack */
296 stack[s++] = (uintptr_t)r | dir;
333 297
334 if (q == p->son[last]) 298 r = q->son + dir;
335 t->son[dir2] = _eina_rbtree_inline_single_rotation(g, !last); 299 q = *r;
336 else 300 }
337 t->son[dir2] = _eina_rbtree_inline_double_rotation(g, !last);
338 }
339
340 /* Stop if found */
341 if (q == node)
342 break;
343
344 last = dir;
345 dir = cmp(q, node, (void *)data);
346 301
347 /* Update helpers */ 302 /* Insert */
348 if ( g ) 303 *r = node;
349 t = g; 304 _eina_rbtree_node_init(node);
350
351 g = p, p = q;
352 q = q->son[dir];
353 }
354 305
355 root = head.son[1]; 306 /* Rebalance */
307 while (s > 0)
308 {
309 Eina_Rbtree *a, *b;
310 uintptr_t top = stack[--s]; /* Pop link pointer and direction */
311 Eina_Rbtree_Direction dir = top & 1;
312
313 r = (Eina_Rbtree **)(top & ~(uintptr_t)1);
314 q = *r;
315
316 a = q->son[dir];
317 /* Rebalance done ? */
318 if (a == NULL || a->color == EINA_RBTREE_BLACK)
319 break;
320
321 b = q->son[dir ^ 1];
322 if (b != NULL && b->color == EINA_RBTREE_RED)
323 {
324 q->color = EINA_RBTREE_RED;
325 b->color = a->color = EINA_RBTREE_BLACK;
326 }
327 else
328 {
329 Eina_Rbtree *c = a->son[dir];
330 Eina_Rbtree *d = a->son[dir ^ 1];
331
332 if (c != NULL && c->color == EINA_RBTREE_RED)
333 *r = _eina_rbtree_inline_single_rotation(*r, dir ^ 1);
334 else if (d != NULL && d->color == EINA_RBTREE_RED)
335 *r = _eina_rbtree_inline_double_rotation(*r, dir ^ 1);
336 }
337 }
356 338
357end_add:
358 /* Make root black */
359 root->color = EINA_RBTREE_BLACK; 339 root->color = EINA_RBTREE_BLACK;
360
361 return root; 340 return root;
362} 341}
363 342
@@ -367,122 +346,144 @@ eina_rbtree_inline_remove(Eina_Rbtree *root,
367 Eina_Rbtree_Cmp_Node_Cb cmp, 346 Eina_Rbtree_Cmp_Node_Cb cmp,
368 const void *data) 347 const void *data)
369{ 348{
370 Eina_Rbtree head; 349 Eina_Rbtree *l0, *l1, *r, **rt = &root;
371 Eina_Rbtree *q, *p;
372 Eina_Rbtree *f = NULL;
373 Eina_Rbtree_Direction dir; 350 Eina_Rbtree_Direction dir;
351 uintptr_t stack[48];
352 unsigned int s = 0;
374 353
375 EINA_SAFETY_ON_NULL_RETURN_VAL(node, root); 354 EINA_SAFETY_ON_NULL_RETURN_VAL(node, root);
376 EINA_SAFETY_ON_NULL_RETURN_VAL( cmp, root); 355 EINA_SAFETY_ON_NULL_RETURN_VAL( cmp, root);
377 356
378 if (!root || !node) 357 /* Item search loop */
379 return root; 358 for (r = *rt; r != NULL; r = *rt)
380 359 {
381 memset(&head, 0, sizeof(Eina_Rbtree)); 360 if (r == node)
382 361 goto found;
383 dir = EINA_RBTREE_RIGHT;
384 q = &head;
385 p = NULL;
386 q->son[EINA_RBTREE_RIGHT] = root;
387
388 /* Search and push a red down */
389 while (q->son[dir])
390 {
391 Eina_Rbtree_Direction last = dir;
392 Eina_Rbtree *g;
393
394 /* Update helpers */
395 g = p; p = q;
396 q = q->son[dir];
397 dir = cmp(q, node, (void *)data);
398
399 /* Save parent node found */
400 if (q == node)
401 f = p;
402 362
403 /* Push the red node down */ 363 dir = cmp(r, node, (void*)data);
404 if (!_eina_rbtree_is_red(q) 364 stack[s++] = (uintptr_t)rt | dir;
405 && !_eina_rbtree_is_red(q->son[dir])) 365 rt = r->son + dir;
406 { 366 }
407 if (_eina_rbtree_is_red(q->son[!dir])) 367 return root;
408 q = p->son[last] = _eina_rbtree_inline_single_rotation(q, dir);
409 else if (!_eina_rbtree_is_red(q->son[!dir]))
410 {
411 Eina_Rbtree *s = p->son[!last];
412
413 if (s)
414 {
415 if (!_eina_rbtree_is_red(s->son[EINA_RBTREE_LEFT])
416 && !_eina_rbtree_is_red(s->son[EINA_RBTREE_RIGHT]))
417 {
418/* Color flip */
419 p->color = EINA_RBTREE_BLACK;
420 p->son[EINA_RBTREE_LEFT]->color = EINA_RBTREE_RED;
421 p->son[EINA_RBTREE_RIGHT]->color = EINA_RBTREE_RED;
422 }
423 else
424 {
425 Eina_Rbtree_Direction dir2;
426
427 dir2 = g->son[1] ==
428 p ? EINA_RBTREE_RIGHT : EINA_RBTREE_LEFT;
429
430 if (_eina_rbtree_is_red(s->son[last]))
431 {
432 g->son[dir2] =
433 _eina_rbtree_inline_double_rotation(p, last);
434 if (f == g)
435 {
436 p = g->son[dir2]->son[last];
437 f = g->son[dir2];
438 }
439 }
440 else if (_eina_rbtree_is_red(s->son[!last]))
441 {
442 g->son[dir2] =
443 _eina_rbtree_inline_single_rotation(p, last);
444 if (f == g)
445 {
446 p = g->son[dir2]->son[last];
447 f = g->son[dir2];
448 }
449 }
450
451/* Ensure correct coloring */
452 q->color = g->son[dir2]->color = EINA_RBTREE_RED;
453 g->son[dir2]->son[EINA_RBTREE_LEFT]->color =
454 EINA_RBTREE_BLACK;
455 g->son[dir2]->son[EINA_RBTREE_RIGHT]->color =
456 EINA_RBTREE_BLACK;
457 }
458 }
459 }
460 }
461 }
462
463 /* Replace and remove if found */
464 if (f)
465 {
466 /* 'q' should take the place of 'node' parent */
467 f->son[f->son[1] == node] = q;
468
469 /* Switch the link from the parent to q's son */
470 p->son[p->son[1] == q] = q->son[!q->son[0]];
471
472 /* Put q at the place of node */
473 q->son[0] = node->son[0];
474 q->son[1] = node->son[1];
475 q->color = node->color;
476
477 /* Reset node link */
478 node->son[0] = NULL;
479 node->son[1] = NULL;
480 }
481 368
482 root = head.son[1]; 369 found:
483 if (root) 370 /* remove entry */
371 l0 = node->son[0];
372 l1 = node->son[1];
373
374 if (l0 != NULL && l1 != NULL) /* two links case */
375 {
376 Eina_Rbtree *q, **t, **p;
377 uintptr_t ss;
378
379 stack[s++] = (uintptr_t)rt | 1;
380 ss = s; /* keep predecessor right link stack index */
381
382 /* find predecessor */
383 p = node->son + 1;
384 q = *p;
385
386 while (1)
387 {
388 t = q->son;
389 q = *t;
390 if (q == NULL)
391 break;
392 stack[s++] = (uintptr_t)p | 0;
393 p = t;
394 }
395
396 /* detach predecessor */
397 q = *p;
398 *p = q->son[1];
399
400 int c = q->color;
401
402 /* replace entry by predecessor */
403 memcpy(q, node, sizeof(Eina_Rbtree));
404 *rt = q;
405
406 if (c == EINA_RBTREE_RED)
407 goto end;
408
409 /* fix stack for replaced entry */
410 if (s > ss)
411 stack[ss] = (uintptr_t)(q->son + 1) | 0;
412 }
413 else /* single link case */
414 {
415 if (l0 == NULL)
416 l0 = l1;
417
418 *rt = l0;
419
420 if (node->color == EINA_RBTREE_RED)
421 goto end; /* removed red */
422
423 if (l0 != NULL && l0->color == EINA_RBTREE_RED)
424 {
425 /* red child replace removed black */
426 l0->color = EINA_RBTREE_BLACK;
427 goto end;
428 }
429 }
430
431 /* rebalance */
432 while (s > 0)
433 {
434 Eina_Rbtree *q;
435 uintptr_t st = stack[--s];
436
437 rt = (Eina_Rbtree**)(st & ~(uintptr_t)1);
438 dir = st & 1;
439 r = *rt;
440 q = r->son[dir ^ 1];
441
442 if (q != NULL && q->color == EINA_RBTREE_RED)
443 {
444 *rt = _eina_rbtree_inline_single_rotation(*rt, dir);
445 q = r->son[dir ^ 1];
446 rt = (*rt)->son + dir;
447 }
448
449 if (q != NULL)
450 {
451 int r_color = r->color;
452 Eina_Rbtree *nd = q->son[dir ^ 1];
453
454 if (nd != NULL && nd->color == EINA_RBTREE_RED)
455 {
456 *rt = _eina_rbtree_inline_single_rotation(*rt, dir);
457 }
458 else
459 {
460 Eina_Rbtree *d = q->son[dir];
461
462 if (d != NULL && d->color == EINA_RBTREE_RED)
463 {
464 *rt = _eina_rbtree_inline_double_rotation(*rt, dir);
465 }
466 else
467 {
468 r->color = EINA_RBTREE_BLACK;
469 q->color = EINA_RBTREE_RED;
470 if (r_color == EINA_RBTREE_RED)
471 break;
472 continue;
473 }
474 }
475
476 r = *rt;
477 r->color = r_color;
478 r->son[1]->color = r->son[0]->color = EINA_RBTREE_BLACK;
479
480 break;
481 }
482 }
483
484 end:
485 if (root != NULL)
484 root->color = EINA_RBTREE_BLACK; 486 root->color = EINA_RBTREE_BLACK;
485
486 return root; 487 return root;
487} 488}
488 489
diff --git a/libraries/eina/src/lib/eina_sched.c b/libraries/eina/src/lib/eina_sched.c
index 8c7f7fe..b8e7000 100644
--- a/libraries/eina/src/lib/eina_sched.c
+++ b/libraries/eina/src/lib/eina_sched.c
@@ -41,7 +41,7 @@
41#include "eina_sched.h" 41#include "eina_sched.h"
42#include "eina_log.h" 42#include "eina_log.h"
43 43
44#define RTNICENESS 5 44#define RTNICENESS 1
45#define NICENESS 5 45#define NICENESS 5
46 46
47EAPI void 47EAPI void
@@ -62,10 +62,14 @@ eina_sched_prio_drop(void)
62 62
63 if (EINA_UNLIKELY(pol == SCHED_RR || pol == SCHED_FIFO)) 63 if (EINA_UNLIKELY(pol == SCHED_RR || pol == SCHED_FIFO))
64 { 64 {
65 prio = sched_get_priority_max(pol); 65 param.sched_priority -= RTNICENESS;
66 param.sched_priority += RTNICENESS; 66
67 if (prio > 0 && param.sched_priority > prio) 67 /* We don't change the policy */
68 param.sched_priority = prio; 68 if (param.sched_priority < 1)
69 {
70 EINA_LOG_INFO("RT prio < 1, setting to 1 instead");
71 param.sched_priority = 1;
72 }
69 73
70 pthread_setschedparam(pthread_id, pol, &param); 74 pthread_setschedparam(pthread_id, pol, &param);
71 } 75 }
@@ -78,7 +82,10 @@ eina_sched_prio_drop(void)
78 { 82 {
79 prio += NICENESS; 83 prio += NICENESS;
80 if (prio > 19) 84 if (prio > 19)
81 prio = 19; 85 {
86 EINA_LOG_INFO("Max niceness reached; keeping max (19)");
87 prio = 19;
88 }
82 89
83 setpriority(PRIO_PROCESS, 0, prio); 90 setpriority(PRIO_PROCESS, 0, prio);
84 } 91 }
diff --git a/libraries/eina/src/lib/eina_share_common.c b/libraries/eina/src/lib/eina_share_common.c
index 90e1868..776e429 100644
--- a/libraries/eina/src/lib/eina_share_common.c
+++ b/libraries/eina/src/lib/eina_share_common.c
@@ -76,7 +76,6 @@
76#include "eina_hash.h" 76#include "eina_hash.h"
77#include "eina_rbtree.h" 77#include "eina_rbtree.h"
78#include "eina_error.h" 78#include "eina_error.h"
79#include "eina_log.h"
80#include "eina_lock.h" 79#include "eina_lock.h"
81 80
82/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ 81/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
@@ -126,8 +125,6 @@ typedef struct _Eina_Share_Common Eina_Share_Common;
126typedef struct _Eina_Share_Common_Node Eina_Share_Common_Node; 125typedef struct _Eina_Share_Common_Node Eina_Share_Common_Node;
127typedef struct _Eina_Share_Common_Head Eina_Share_Common_Head; 126typedef struct _Eina_Share_Common_Head Eina_Share_Common_Head;
128 127
129int _eina_share_common_log_dom = -1;
130
131struct _Eina_Share 128struct _Eina_Share
132{ 129{
133 Eina_Share_Common *share; 130 Eina_Share_Common *share;
@@ -600,28 +597,8 @@ eina_share_common_init(Eina_Share **_share,
600 share = *_share = calloc(sizeof(Eina_Share), 1); 597 share = *_share = calloc(sizeof(Eina_Share), 1);
601 if (!share) goto on_error; 598 if (!share) goto on_error;
602 599
603 if (_eina_share_common_log_dom < 0) /*Only register if not already */
604 _eina_share_common_log_dom = eina_log_domain_register(
605 "eina_share",
606 EINA_LOG_COLOR_DEFAULT);
607
608 if (_eina_share_common_log_dom < 0)
609 {
610 EINA_LOG_ERR("Could not register log domain: eina_share_common");
611 goto on_error;
612 }
613
614 share->share = calloc(1, sizeof(Eina_Share_Common)); 600 share->share = calloc(1, sizeof(Eina_Share_Common));
615 if (!share->share) 601 if (!share->share) goto on_error;
616 {
617 if (_eina_share_common_log_dom > 0)
618 {
619 eina_log_domain_unregister(_eina_share_common_log_dom);
620 _eina_share_common_log_dom = -1;
621 }
622
623 goto on_error;
624 }
625 602
626 share->node_magic = node_magic; 603 share->node_magic = node_magic;
627#define EMS(n) eina_magic_string_static_set(n, n ## _STR) 604#define EMS(n) eina_magic_string_static_set(n, n ## _STR)
@@ -678,11 +655,6 @@ eina_share_common_shutdown(Eina_Share **_share)
678 MAGIC_FREE(share->share); 655 MAGIC_FREE(share->share);
679 656
680 _eina_share_common_population_shutdown(share); 657 _eina_share_common_population_shutdown(share);
681 if (_eina_share_common_log_dom > 0) /* Only free if necessary */
682 {
683 eina_log_domain_unregister(_eina_share_common_log_dom);
684 _eina_share_common_log_dom = -1;
685 }
686 658
687 eina_lock_release(&_mutex_big); 659 eina_lock_release(&_mutex_big);
688 660
@@ -833,7 +805,7 @@ eina_share_common_ref(Eina_Share *share, const char *str)
833} 805}
834 806
835 807
836void 808Eina_Bool
837eina_share_common_del(Eina_Share *share, const char *str) 809eina_share_common_del(Eina_Share *share, const char *str)
838{ 810{
839 unsigned int slen; 811 unsigned int slen;
@@ -843,7 +815,7 @@ eina_share_common_del(Eina_Share *share, const char *str)
843 int hash_num, hash; 815 int hash_num, hash;
844 816
845 if (!str) 817 if (!str)
846 return; 818 return EINA_TRUE;
847 819
848 eina_lock_take(&_mutex_big); 820 eina_lock_take(&_mutex_big);
849 821
@@ -857,7 +829,7 @@ eina_share_common_del(Eina_Share *share, const char *str)
857 { 829 {
858 node->references--; 830 node->references--;
859 eina_lock_release(&_mutex_big); 831 eina_lock_release(&_mutex_big);
860 return; 832 return EINA_TRUE;
861 } 833 }
862 834
863 node->references = 0; 835 node->references = 0;
@@ -871,7 +843,7 @@ eina_share_common_del(Eina_Share *share, const char *str)
871 if (!ed) 843 if (!ed)
872 goto on_error; 844 goto on_error;
873 845
874 EINA_MAGIC_CHECK_SHARE_COMMON_HEAD(ed, eina_lock_release(&_mutex_big)); 846 EINA_MAGIC_CHECK_SHARE_COMMON_HEAD(ed, eina_lock_release(&_mutex_big), EINA_FALSE);
875 847
876 if (!_eina_share_common_head_remove_node(ed, node)) 848 if (!_eina_share_common_head_remove_node(ed, node))
877 goto on_error; 849 goto on_error;
@@ -886,12 +858,12 @@ eina_share_common_del(Eina_Share *share, const char *str)
886 858
887 eina_lock_release(&_mutex_big); 859 eina_lock_release(&_mutex_big);
888 860
889 return; 861 return EINA_TRUE;
890 862
891on_error: 863on_error:
892 eina_lock_release(&_mutex_big); 864 eina_lock_release(&_mutex_big);
893 /* possible segfault happened before here, but... */ 865 /* possible segfault happened before here, but... */
894 CRITICAL("EEEK trying to del non-shared share_common \"%s\"", str); 866 return EINA_FALSE;
895} 867}
896 868
897int 869int
diff --git a/libraries/eina/src/lib/eina_share_common.h b/libraries/eina/src/lib/eina_share_common.h
index 002c652..6bc11ef 100644
--- a/libraries/eina/src/lib/eina_share_common.h
+++ b/libraries/eina/src/lib/eina_share_common.h
@@ -71,7 +71,7 @@ const char *eina_share_common_add_length(Eina_Share *share,
71 unsigned int null_size) 71 unsigned int null_size)
72EINA_WARN_UNUSED_RESULT; 72EINA_WARN_UNUSED_RESULT;
73const char *eina_share_common_ref(Eina_Share *share, const char *str); 73const char *eina_share_common_ref(Eina_Share *share, const char *str);
74void eina_share_common_del(Eina_Share *share, const char *str); 74Eina_Bool eina_share_common_del(Eina_Share *share, const char *str) EINA_WARN_UNUSED_RESULT;
75int eina_share_common_length(Eina_Share *share, 75int eina_share_common_length(Eina_Share *share,
76 const char *str) EINA_CONST 76 const char *str) EINA_CONST
77EINA_WARN_UNUSED_RESULT; 77EINA_WARN_UNUSED_RESULT;
@@ -83,21 +83,4 @@ void eina_share_common_dump(Eina_Share *share, void (*additional_dump)(
83void eina_share_common_population_add(Eina_Share *share, int slen); 83void eina_share_common_population_add(Eina_Share *share, int slen);
84void eina_share_common_population_del(Eina_Share *share, int slen); 84void eina_share_common_population_del(Eina_Share *share, int slen);
85 85
86/* Share logging */ 86#endif /* EINA_SHARE_COMMON_H_ */
87#ifdef CRITICAL
88#undef CRITICAL
89#endif
90#define CRITICAL(...) EINA_LOG_DOM_CRIT(_eina_share_common_log_dom, __VA_ARGS__)
91
92#ifdef ERR
93#undef ERR
94#endif
95#define ERR(...) EINA_LOG_DOM_ERR(_eina_share_common_log_dom, __VA_ARGS__)
96
97#ifdef DBG
98#undef DBG
99#endif
100#define DBG(...) EINA_LOG_DOM_DBG(_eina_share_common_log_dom, __VA_ARGS__)
101extern int _eina_share_common_log_dom;
102
103#endif /* EINA_STRINGSHARE_H_ */
diff --git a/libraries/eina/src/lib/eina_stringshare.c b/libraries/eina/src/lib/eina_stringshare.c
index 478b300..f371fcd 100644
--- a/libraries/eina/src/lib/eina_stringshare.c
+++ b/libraries/eina/src/lib/eina_stringshare.c
@@ -55,12 +55,30 @@ void *alloca (size_t);
55#include "eina_private.h" 55#include "eina_private.h"
56#include "eina_error.h" 56#include "eina_error.h"
57#include "eina_log.h" 57#include "eina_log.h"
58#include "eina_stringshare.h"
59#include "eina_lock.h" 58#include "eina_lock.h"
59#include "eina_share_common.h"
60 60
61/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ 61/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
62#include "eina_safety_checks.h" 62#include "eina_safety_checks.h"
63#include "eina_share_common.h" 63#include "eina_stringshare.h"
64
65
66#ifdef CRITICAL
67#undef CRITICAL
68#endif
69#define CRITICAL(...) EINA_LOG_DOM_CRIT(_eina_share_stringshare_log_dom, __VA_ARGS__)
70
71#ifdef ERR
72#undef ERR
73#endif
74#define ERR(...) EINA_LOG_DOM_ERR(_eina_share_stringshare_log_dom, __VA_ARGS__)
75
76#ifdef DBG
77#undef DBG
78#endif
79#define DBG(...) EINA_LOG_DOM_DBG(_eina_share_stringshare_log_dom, __VA_ARGS__)
80
81static int _eina_share_stringshare_log_dom = -1;
64 82
65/* The actual share */ 83/* The actual share */
66static Eina_Share *stringshare_share; 84static Eina_Share *stringshare_share;
@@ -447,11 +465,8 @@ _eina_stringshare_small_bucket_dump(Eina_Stringshare_Small_Bucket *bucket,
447 for (i = 0; i < bucket->count; i++, s++, l++, r++) 465 for (i = 0; i < bucket->count; i++, s++, l++, r++)
448 { 466 {
449 int dups; 467 int dups;
450#ifdef _WIN32 468
451 printf("DDD: %5hu %5hu '%s'\n", *l, *r, *s);
452#else
453 printf("DDD: %5hhu %5hu '%s'\n", *l, *r, *s); 469 printf("DDD: %5hhu %5hu '%s'\n", *l, *r, *s);
454#endif
455 470
456 dups = (*r - 1); 471 dups = (*r - 1);
457 472
@@ -500,11 +515,29 @@ Eina_Bool
500eina_stringshare_init(void) 515eina_stringshare_init(void)
501{ 516{
502 Eina_Bool ret; 517 Eina_Bool ret;
518
519 if (_eina_share_stringshare_log_dom < 0)
520 {
521 _eina_share_stringshare_log_dom = eina_log_domain_register
522 ("eina_stringshare", EINA_LOG_COLOR_DEFAULT);
523
524 if (_eina_share_stringshare_log_dom < 0)
525 {
526 EINA_LOG_ERR("Could not register log domain: eina_stringshare");
527 return EINA_FALSE;
528 }
529 }
530
503 ret = eina_share_common_init(&stringshare_share, 531 ret = eina_share_common_init(&stringshare_share,
504 EINA_MAGIC_STRINGSHARE_NODE, 532 EINA_MAGIC_STRINGSHARE_NODE,
505 EINA_MAGIC_STRINGSHARE_NODE_STR); 533 EINA_MAGIC_STRINGSHARE_NODE_STR);
506 if (ret) 534 if (ret)
507 _eina_stringshare_small_init(); 535 _eina_stringshare_small_init();
536 else
537 {
538 eina_log_domain_unregister(_eina_share_stringshare_log_dom);
539 _eina_share_stringshare_log_dom = -1;
540 }
508 541
509 return ret; 542 return ret;
510} 543}
@@ -526,6 +559,13 @@ eina_stringshare_shutdown(void)
526 Eina_Bool ret; 559 Eina_Bool ret;
527 _eina_stringshare_small_shutdown(); 560 _eina_stringshare_small_shutdown();
528 ret = eina_share_common_shutdown(&stringshare_share); 561 ret = eina_share_common_shutdown(&stringshare_share);
562
563 if (_eina_share_stringshare_log_dom >= 0)
564 {
565 eina_log_domain_unregister(_eina_share_stringshare_log_dom);
566 _eina_share_stringshare_log_dom = -1;
567 }
568
529 return ret; 569 return ret;
530} 570}
531 571
@@ -534,7 +574,7 @@ eina_stringshare_shutdown(void)
534*============================================================================*/ 574*============================================================================*/
535 575
536EAPI void 576EAPI void
537eina_stringshare_del(const char *str) 577eina_stringshare_del(Eina_Stringshare *str)
538{ 578{
539 int slen; 579 int slen;
540 580
@@ -564,16 +604,17 @@ eina_stringshare_del(const char *str)
564 return; 604 return;
565 } 605 }
566 606
567 eina_share_common_del(stringshare_share, str); 607 if (!eina_share_common_del(stringshare_share, str))
608 CRITICAL("EEEK trying to del non-shared stringshare \"%s\"", str);
568} 609}
569 610
570EAPI const char * 611EAPI Eina_Stringshare *
571eina_stringshare_add_length(const char *str, unsigned int slen) 612eina_stringshare_add_length(const char *str, unsigned int slen)
572{ 613{
573 if ((!str) || (slen <= 0)) 614 if ((!str) || (slen <= 0))
574 return ""; 615 return "";
575 else if (slen == 1) 616 else if (slen == 1)
576 return (const char *)_eina_stringshare_single + ((*str) << 1); 617 return (Eina_Stringshare *) _eina_stringshare_single + ((*str) << 1);
577 else if (slen < 4) 618 else if (slen < 4)
578 { 619 {
579 const char *s; 620 const char *s;
@@ -588,7 +629,7 @@ eina_stringshare_add_length(const char *str, unsigned int slen)
588 sizeof(char), sizeof(char)); 629 sizeof(char), sizeof(char));
589} 630}
590 631
591EAPI const char * 632EAPI Eina_Stringshare *
592eina_stringshare_add(const char *str) 633eina_stringshare_add(const char *str)
593{ 634{
594 int slen; 635 int slen;
@@ -609,7 +650,7 @@ eina_stringshare_add(const char *str)
609 return eina_stringshare_add_length(str, slen); 650 return eina_stringshare_add_length(str, slen);
610} 651}
611 652
612EAPI const char * 653EAPI Eina_Stringshare *
613eina_stringshare_printf(const char *fmt, ...) 654eina_stringshare_printf(const char *fmt, ...)
614{ 655{
615 va_list args; 656 va_list args;
@@ -633,7 +674,7 @@ eina_stringshare_printf(const char *fmt, ...)
633 return ret; 674 return ret;
634} 675}
635 676
636EAPI const char * 677EAPI Eina_Stringshare *
637eina_stringshare_vprintf(const char *fmt, va_list args) 678eina_stringshare_vprintf(const char *fmt, va_list args)
638{ 679{
639 char *tmp; 680 char *tmp;
@@ -654,7 +695,7 @@ eina_stringshare_vprintf(const char *fmt, va_list args)
654 return ret; 695 return ret;
655} 696}
656 697
657EAPI const char * 698EAPI Eina_Stringshare *
658eina_stringshare_nprintf(unsigned int len, const char *fmt, ...) 699eina_stringshare_nprintf(unsigned int len, const char *fmt, ...)
659{ 700{
660 va_list args; 701 va_list args;
@@ -679,8 +720,8 @@ eina_stringshare_nprintf(unsigned int len, const char *fmt, ...)
679 return eina_stringshare_add_length(tmp, len); 720 return eina_stringshare_add_length(tmp, len);
680} 721}
681 722
682EAPI const char * 723EAPI Eina_Stringshare *
683eina_stringshare_ref(const char *str) 724eina_stringshare_ref(Eina_Stringshare *str)
684{ 725{
685 int slen; 726 int slen;
686 727
@@ -721,7 +762,7 @@ eina_stringshare_ref(const char *str)
721} 762}
722 763
723EAPI int 764EAPI int
724eina_stringshare_strlen(const char *str) 765eina_stringshare_strlen(Eina_Stringshare *str)
725{ 766{
726 int len; 767 int len;
727 /* special cases */ 768 /* special cases */
@@ -737,7 +778,7 @@ eina_stringshare_strlen(const char *str)
737 if (str[3] == '\0') 778 if (str[3] == '\0')
738 return 3; 779 return 3;
739 780
740 len = eina_share_common_length(stringshare_share, (const char *)str); 781 len = eina_share_common_length(stringshare_share, (Eina_Stringshare *) str);
741 len = (len > 0) ? len / (int)sizeof(char) : -1; 782 len = (len > 0) ? len / (int)sizeof(char) : -1;
742 return len; 783 return len;
743} 784}
diff --git a/libraries/eina/src/lib/eina_unicode.c b/libraries/eina/src/lib/eina_unicode.c
index 342e3cb..7505906 100644
--- a/libraries/eina/src/lib/eina_unicode.c
+++ b/libraries/eina/src/lib/eina_unicode.c
@@ -15,10 +15,18 @@
15 * You should have received a copy of the GNU Lesser General Public 15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; 16 * License along with this library;
17 * if not, see <http://www.gnu.org/licenses/>. 17 * if not, see <http://www.gnu.org/licenses/>.
18
19 */ 18 */
20 19
21#include <Eina.h> 20#ifdef HAVE_CONFIG_H
21# include "config.h"
22#endif
23
24#include "eina_config.h"
25#include "eina_private.h"
26#include <string.h>
27
28/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
29#include "eina_safety_checks.h"
22#include "eina_unicode.h" 30#include "eina_unicode.h"
23 31
24/* FIXME: check if sizeof(wchar_t) == sizeof(Eina_Unicode) if so, 32/* FIXME: check if sizeof(wchar_t) == sizeof(Eina_Unicode) if so,
@@ -30,6 +38,9 @@ EAPI const Eina_Unicode *EINA_UNICODE_EMPTY_STRING = _EINA_UNICODE_EMPTY_STRING;
30EAPI int 38EAPI int
31eina_unicode_strcmp(const Eina_Unicode *a, const Eina_Unicode *b) 39eina_unicode_strcmp(const Eina_Unicode *a, const Eina_Unicode *b)
32{ 40{
41 EINA_SAFETY_ON_NULL_RETURN_VAL(a, -1);
42 EINA_SAFETY_ON_NULL_RETURN_VAL(b, -1);
43
33 for (; *a && *a == *b; a++, b++) 44 for (; *a && *a == *b; a++, b++)
34 ; 45 ;
35 if (*a == *b) 46 if (*a == *b)
@@ -45,6 +56,9 @@ eina_unicode_strcpy(Eina_Unicode *dest, const Eina_Unicode *source)
45{ 56{
46 Eina_Unicode *ret = dest; 57 Eina_Unicode *ret = dest;
47 58
59 EINA_SAFETY_ON_NULL_RETURN_VAL(dest, NULL);
60 EINA_SAFETY_ON_NULL_RETURN_VAL(source, NULL);
61
48 while (*source) 62 while (*source)
49 *dest++ = *source++; 63 *dest++ = *source++;
50 *dest = 0; 64 *dest = 0;
@@ -56,6 +70,9 @@ eina_unicode_strncpy(Eina_Unicode *dest, const Eina_Unicode *source, size_t n)
56{ 70{
57 Eina_Unicode *ret = dest; 71 Eina_Unicode *ret = dest;
58 72
73 EINA_SAFETY_ON_NULL_RETURN_VAL(dest, NULL);
74 EINA_SAFETY_ON_NULL_RETURN_VAL(source, NULL);
75
59 for ( ; n && *source ; n--) 76 for ( ; n && *source ; n--)
60 *dest++ = *source++; 77 *dest++ = *source++;
61 for (; n; n--) 78 for (; n; n--)
@@ -67,6 +84,9 @@ EAPI size_t
67eina_unicode_strlen(const Eina_Unicode *ustr) 84eina_unicode_strlen(const Eina_Unicode *ustr)
68{ 85{
69 const Eina_Unicode *end; 86 const Eina_Unicode *end;
87
88 EINA_SAFETY_ON_NULL_RETURN_VAL(ustr, 0);
89
70 for (end = ustr; *end; end++) 90 for (end = ustr; *end; end++)
71 ; 91 ;
72 return end - ustr; 92 return end - ustr;
@@ -77,6 +97,9 @@ eina_unicode_strnlen(const Eina_Unicode *ustr, int n)
77{ 97{
78 const Eina_Unicode *end; 98 const Eina_Unicode *end;
79 const Eina_Unicode *last = ustr + n; /* technically not portable ;-) */ 99 const Eina_Unicode *last = ustr + n; /* technically not portable ;-) */
100
101 EINA_SAFETY_ON_NULL_RETURN_VAL(ustr, 0);
102
80 for (end = ustr; end < last && *end; end++) 103 for (end = ustr; end < last && *end; end++)
81 ; 104 ;
82 return end - ustr; 105 return end - ustr;
@@ -90,7 +113,9 @@ eina_unicode_strndup(const Eina_Unicode *text, size_t n)
90{ 113{
91 Eina_Unicode *ustr; 114 Eina_Unicode *ustr;
92 115
93 ustr = (Eina_Unicode *) malloc((n + 1) * sizeof(Eina_Unicode)); 116 EINA_SAFETY_ON_NULL_RETURN_VAL(text, NULL);
117
118 ustr = malloc((n + 1) * sizeof(Eina_Unicode));
94 memcpy(ustr, text, n * sizeof(Eina_Unicode)); 119 memcpy(ustr, text, n * sizeof(Eina_Unicode));
95 ustr[n] = 0; 120 ustr[n] = 0;
96 return ustr; 121 return ustr;
@@ -101,6 +126,8 @@ eina_unicode_strdup(const Eina_Unicode *text)
101{ 126{
102 size_t len; 127 size_t len;
103 128
129 EINA_SAFETY_ON_NULL_RETURN_VAL(text, NULL);
130
104 len = eina_unicode_strlen(text); 131 len = eina_unicode_strlen(text);
105 return eina_unicode_strndup(text, len); 132 return eina_unicode_strndup(text, len);
106} 133}
@@ -110,6 +137,9 @@ eina_unicode_strstr(const Eina_Unicode *haystack, const Eina_Unicode *needle)
110{ 137{
111 const Eina_Unicode *i, *j; 138 const Eina_Unicode *i, *j;
112 139
140 EINA_SAFETY_ON_NULL_RETURN_VAL(haystack, NULL);
141 EINA_SAFETY_ON_NULL_RETURN_VAL(needle, NULL);
142
113 for (i = haystack; *i; i++) 143 for (i = haystack; *i; i++)
114 { 144 {
115 haystack = i; /* set this location as the base position */ 145 haystack = i; /* set this location as the base position */
@@ -131,6 +161,8 @@ eina_unicode_escape(const Eina_Unicode *str)
131 Eina_Unicode *s2, *d; 161 Eina_Unicode *s2, *d;
132 const Eina_Unicode *s; 162 const Eina_Unicode *s;
133 163
164 EINA_SAFETY_ON_NULL_RETURN_VAL(str, NULL);
165
134 s2 = malloc((eina_unicode_strlen(str) * 2) + 1); 166 s2 = malloc((eina_unicode_strlen(str) * 2) + 1);
135 if (!s2) 167 if (!s2)
136 return NULL; 168 return NULL;
@@ -165,6 +197,9 @@ eina_unicode_utf8_get_next(const char *buf, int *iindex)
165 Eina_Unicode r; 197 Eina_Unicode r;
166 unsigned char d; 198 unsigned char d;
167 199
200 EINA_SAFETY_ON_NULL_RETURN_VAL(buf, 0);
201 EINA_SAFETY_ON_NULL_RETURN_VAL(iindex, 0);
202
168 /* if this char is the null terminator, exit */ 203 /* if this char is the null terminator, exit */
169 if ((d = buf[ind++]) == 0) return 0; 204 if ((d = buf[ind++]) == 0) return 0;
170 205
@@ -266,8 +301,12 @@ error:
266EAPI Eina_Unicode 301EAPI Eina_Unicode
267eina_unicode_utf8_get_prev(const char *buf, int *iindex) 302eina_unicode_utf8_get_prev(const char *buf, int *iindex)
268{ 303{
269 int r; 304 int r, ind;
270 int ind = *iindex; 305
306 EINA_SAFETY_ON_NULL_RETURN_VAL(buf, 0);
307 EINA_SAFETY_ON_NULL_RETURN_VAL(iindex, 0);
308
309 ind = *iindex;
271 /* First obtain the codepoint at iindex */ 310 /* First obtain the codepoint at iindex */
272 r = eina_unicode_utf8_get_next(buf, &ind); 311 r = eina_unicode_utf8_get_next(buf, &ind);
273 312
@@ -292,6 +331,8 @@ eina_unicode_utf8_get_len(const char *buf)
292 /* returns the number of utf8 characters (not bytes) in the string */ 331 /* returns the number of utf8 characters (not bytes) in the string */
293 int i = 0, len = 0; 332 int i = 0, len = 0;
294 333
334 EINA_SAFETY_ON_NULL_RETURN_VAL(buf, 0);
335
295 while (eina_unicode_utf8_get_next(buf, &i)) 336 while (eina_unicode_utf8_get_next(buf, &i))
296 len++; 337 len++;
297 338
@@ -306,6 +347,8 @@ eina_unicode_utf8_to_unicode(const char *utf, int *_len)
306 int ind; 347 int ind;
307 Eina_Unicode *buf, *uind; 348 Eina_Unicode *buf, *uind;
308 349
350 EINA_SAFETY_ON_NULL_RETURN_VAL(utf, NULL);
351
309 len = eina_unicode_utf8_get_len(utf); 352 len = eina_unicode_utf8_get_len(utf);
310 if (_len) 353 if (_len)
311 *_len = len; 354 *_len = len;
@@ -328,6 +371,8 @@ eina_unicode_unicode_to_utf8(const Eina_Unicode *uni, int *_len)
328 char *ind; 371 char *ind;
329 int ulen, len; 372 int ulen, len;
330 373
374 EINA_SAFETY_ON_NULL_RETURN_VAL(uni, NULL);
375
331 ulen = eina_unicode_strlen(uni); 376 ulen = eina_unicode_strlen(uni);
332 buf = (char *) calloc(ulen + 1, EINA_UNICODE_UTF8_BYTES_PER_CHAR); 377 buf = (char *) calloc(ulen + 1, EINA_UNICODE_UTF8_BYTES_PER_CHAR);
333 378
diff --git a/libraries/eina/src/lib/eina_ustringshare.c b/libraries/eina/src/lib/eina_ustringshare.c
index 3992dc6..33be242 100644
--- a/libraries/eina/src/lib/eina_ustringshare.c
+++ b/libraries/eina/src/lib/eina_ustringshare.c
@@ -27,11 +27,38 @@
27 * 27 *
28 */ 28 */
29 29
30#include "eina_share_common.h" 30#ifdef HAVE_CONFIG_H
31#include "eina_unicode.h" 31# include "config.h"
32#endif
33
34#include "eina_config.h"
32#include "eina_private.h" 35#include "eina_private.h"
36#include "eina_unicode.h"
37#include "eina_log.h"
38#include "eina_share_common.h"
39
40/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
41#include "eina_safety_checks.h"
33#include "eina_ustringshare.h" 42#include "eina_ustringshare.h"
34 43
44
45#ifdef CRITICAL
46#undef CRITICAL
47#endif
48#define CRITICAL(...) EINA_LOG_DOM_CRIT(_eina_share_ustringshare_log_dom, __VA_ARGS__)
49
50#ifdef ERR
51#undef ERR
52#endif
53#define ERR(...) EINA_LOG_DOM_ERR(_eina_share_ustringshare_log_dom, __VA_ARGS__)
54
55#ifdef DBG
56#undef DBG
57#endif
58#define DBG(...) EINA_LOG_DOM_DBG(_eina_share_ustringshare_log_dom, __VA_ARGS__)
59
60static int _eina_share_ustringshare_log_dom = -1;
61
35/* The actual share */ 62/* The actual share */
36static Eina_Share *ustringshare_share; 63static Eina_Share *ustringshare_share;
37static const char EINA_MAGIC_USTRINGSHARE_NODE_STR[] = "Eina UStringshare Node"; 64static const char EINA_MAGIC_USTRINGSHARE_NODE_STR[] = "Eina UStringshare Node";
@@ -54,9 +81,31 @@ static const char EINA_MAGIC_USTRINGSHARE_NODE_STR[] = "Eina UStringshare Node";
54Eina_Bool 81Eina_Bool
55eina_ustringshare_init(void) 82eina_ustringshare_init(void)
56{ 83{
57 return eina_share_common_init(&ustringshare_share, 84 Eina_Bool ret;
58 EINA_MAGIC_USTRINGSHARE_NODE, 85
59 EINA_MAGIC_USTRINGSHARE_NODE_STR); 86 if (_eina_share_ustringshare_log_dom < 0)
87 {
88 _eina_share_ustringshare_log_dom = eina_log_domain_register
89 ("eina_ustringshare", EINA_LOG_COLOR_DEFAULT);
90
91 if (_eina_share_ustringshare_log_dom < 0)
92 {
93 EINA_LOG_ERR("Could not register log domain: eina_ustringshare");
94 return EINA_FALSE;
95 }
96 }
97
98 ret = eina_share_common_init(&ustringshare_share,
99 EINA_MAGIC_USTRINGSHARE_NODE,
100 EINA_MAGIC_USTRINGSHARE_NODE_STR);
101
102 if (!ret)
103 {
104 eina_log_domain_unregister(_eina_share_ustringshare_log_dom);
105 _eina_share_ustringshare_log_dom = -1;
106 }
107
108 return ret;
60} 109}
61 110
62/** 111/**
@@ -75,6 +124,13 @@ eina_ustringshare_shutdown(void)
75{ 124{
76 Eina_Bool ret; 125 Eina_Bool ret;
77 ret = eina_share_common_shutdown(&ustringshare_share); 126 ret = eina_share_common_shutdown(&ustringshare_share);
127
128 if (_eina_share_ustringshare_log_dom >= 0)
129 {
130 eina_log_domain_unregister(_eina_share_ustringshare_log_dom);
131 _eina_share_ustringshare_log_dom = -1;
132 }
133
78 return ret; 134 return ret;
79} 135}
80 136
@@ -88,7 +144,8 @@ eina_ustringshare_del(const Eina_Unicode *str)
88 if (!str) 144 if (!str)
89 return; 145 return;
90 146
91 eina_share_common_del(ustringshare_share,(const char *)str); 147 if (!eina_share_common_del(ustringshare_share, (const char *)str))
148 CRITICAL("EEEK trying to del non-shared ustringshare \"%s\"", (const char *)str);
92} 149}
93 150
94EAPI const Eina_Unicode * 151EAPI const Eina_Unicode *
diff --git a/libraries/eina/src/lib/eina_value.c b/libraries/eina/src/lib/eina_value.c
index ba8af52..b8df693 100644
--- a/libraries/eina/src/lib/eina_value.c
+++ b/libraries/eina/src/lib/eina_value.c
@@ -49,6 +49,10 @@ void *alloca (size_t);
49#include <inttypes.h> /* PRId64 and PRIu64 */ 49#include <inttypes.h> /* PRId64 and PRIu64 */
50#include <sys/time.h> /* struct timeval */ 50#include <sys/time.h> /* struct timeval */
51 51
52#ifdef HAVE_EVIL
53# include <Evil.h>
54#endif
55
52#include "eina_config.h" 56#include "eina_config.h"
53#include "eina_private.h" 57#include "eina_private.h"
54#include "eina_error.h" 58#include "eina_error.h"
@@ -60,6 +64,7 @@ void *alloca (size_t);
60/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ 64/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
61#include "eina_safety_checks.h" 65#include "eina_safety_checks.h"
62#include "eina_value.h" 66#include "eina_value.h"
67#include "eina_model.h" /* uses eina_value.h */
63 68
64/*============================================================================* 69/*============================================================================*
65* Local * 70* Local *
@@ -168,7 +173,7 @@ _eina_value_type_uchar_convert_to(const Eina_Value_Type *type __UNUSED__, const
168 unsigned int other_mem = v; 173 unsigned int other_mem = v;
169 return eina_value_type_pset(convert, convert_mem, &other_mem); 174 return eina_value_type_pset(convert, convert_mem, &other_mem);
170 } 175 }
171 else if (convert == EINA_VALUE_TYPE_ULONG) 176 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
172 { 177 {
173 unsigned long other_mem = v; 178 unsigned long other_mem = v;
174 return eina_value_type_pset(convert, convert_mem, &other_mem); 179 return eina_value_type_pset(convert, convert_mem, &other_mem);
@@ -317,7 +322,7 @@ _eina_value_type_ushort_convert_to(const Eina_Value_Type *type __UNUSED__, const
317 unsigned int other_mem = v; 322 unsigned int other_mem = v;
318 return eina_value_type_pset(convert, convert_mem, &other_mem); 323 return eina_value_type_pset(convert, convert_mem, &other_mem);
319 } 324 }
320 else if (convert == EINA_VALUE_TYPE_ULONG) 325 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
321 { 326 {
322 unsigned long other_mem = v; 327 unsigned long other_mem = v;
323 return eina_value_type_pset(convert, convert_mem, &other_mem); 328 return eina_value_type_pset(convert, convert_mem, &other_mem);
@@ -470,7 +475,7 @@ _eina_value_type_uint_convert_to(const Eina_Value_Type *type __UNUSED__, const E
470 unsigned int other_mem = v; 475 unsigned int other_mem = v;
471 return eina_value_type_pset(convert, convert_mem, &other_mem); 476 return eina_value_type_pset(convert, convert_mem, &other_mem);
472 } 477 }
473 else if (convert == EINA_VALUE_TYPE_ULONG) 478 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
474 { 479 {
475 unsigned long other_mem = v; 480 unsigned long other_mem = v;
476 return eina_value_type_pset(convert, convert_mem, &other_mem); 481 return eina_value_type_pset(convert, convert_mem, &other_mem);
@@ -627,7 +632,7 @@ _eina_value_type_ulong_convert_to(const Eina_Value_Type *type __UNUSED__, const
627 return EINA_FALSE; 632 return EINA_FALSE;
628 return eina_value_type_pset(convert, convert_mem, &other_mem); 633 return eina_value_type_pset(convert, convert_mem, &other_mem);
629 } 634 }
630 else if (convert == EINA_VALUE_TYPE_ULONG) 635 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
631 { 636 {
632 unsigned long other_mem = v; 637 unsigned long other_mem = v;
633 return eina_value_type_pset(convert, convert_mem, &other_mem); 638 return eina_value_type_pset(convert, convert_mem, &other_mem);
@@ -786,7 +791,7 @@ _eina_value_type_uint64_convert_to(const Eina_Value_Type *type __UNUSED__, const
786 return EINA_FALSE; 791 return EINA_FALSE;
787 return eina_value_type_pset(convert, convert_mem, &other_mem); 792 return eina_value_type_pset(convert, convert_mem, &other_mem);
788 } 793 }
789 else if (convert == EINA_VALUE_TYPE_ULONG) 794 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
790 { 795 {
791 unsigned long other_mem = v; 796 unsigned long other_mem = v;
792 if (EINA_UNLIKELY((sizeof(other_mem) != sizeof(v)) && 797 if (EINA_UNLIKELY((sizeof(other_mem) != sizeof(v)) &&
@@ -950,7 +955,7 @@ _eina_value_type_char_convert_to(const Eina_Value_Type *type __UNUSED__, const E
950 return EINA_FALSE; 955 return EINA_FALSE;
951 return eina_value_type_pset(convert, convert_mem, &other_mem); 956 return eina_value_type_pset(convert, convert_mem, &other_mem);
952 } 957 }
953 else if (convert == EINA_VALUE_TYPE_ULONG) 958 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
954 { 959 {
955 unsigned long other_mem = v; 960 unsigned long other_mem = v;
956 if (EINA_UNLIKELY(v < 0)) 961 if (EINA_UNLIKELY(v < 0))
@@ -1107,7 +1112,7 @@ _eina_value_type_short_convert_to(const Eina_Value_Type *type __UNUSED__, const
1107 return EINA_FALSE; 1112 return EINA_FALSE;
1108 return eina_value_type_pset(convert, convert_mem, &other_mem); 1113 return eina_value_type_pset(convert, convert_mem, &other_mem);
1109 } 1114 }
1110 else if (convert == EINA_VALUE_TYPE_ULONG) 1115 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
1111 { 1116 {
1112 unsigned long other_mem = v; 1117 unsigned long other_mem = v;
1113 if (EINA_UNLIKELY(v < 0)) 1118 if (EINA_UNLIKELY(v < 0))
@@ -1270,7 +1275,7 @@ _eina_value_type_int_convert_to(const Eina_Value_Type *type __UNUSED__, const Ei
1270 return EINA_FALSE; 1275 return EINA_FALSE;
1271 return eina_value_type_pset(convert, convert_mem, &other_mem); 1276 return eina_value_type_pset(convert, convert_mem, &other_mem);
1272 } 1277 }
1273 else if (convert == EINA_VALUE_TYPE_ULONG) 1278 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
1274 { 1279 {
1275 unsigned long other_mem = v; 1280 unsigned long other_mem = v;
1276 if (EINA_UNLIKELY(v < 0)) 1281 if (EINA_UNLIKELY(v < 0))
@@ -1439,7 +1444,7 @@ _eina_value_type_long_convert_to(const Eina_Value_Type *type __UNUSED__, const E
1439 return EINA_FALSE; 1444 return EINA_FALSE;
1440 return eina_value_type_pset(convert, convert_mem, &other_mem); 1445 return eina_value_type_pset(convert, convert_mem, &other_mem);
1441 } 1446 }
1442 else if (convert == EINA_VALUE_TYPE_ULONG) 1447 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
1443 { 1448 {
1444 unsigned long other_mem = v; 1449 unsigned long other_mem = v;
1445 if (EINA_UNLIKELY(v < 0)) 1450 if (EINA_UNLIKELY(v < 0))
@@ -1612,7 +1617,7 @@ _eina_value_type_int64_convert_to(const Eina_Value_Type *type __UNUSED__, const
1612 return EINA_FALSE; 1617 return EINA_FALSE;
1613 return eina_value_type_pset(convert, convert_mem, &other_mem); 1618 return eina_value_type_pset(convert, convert_mem, &other_mem);
1614 } 1619 }
1615 else if (convert == EINA_VALUE_TYPE_ULONG) 1620 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
1616 { 1621 {
1617 unsigned long other_mem = v; 1622 unsigned long other_mem = v;
1618 if (EINA_UNLIKELY(v < 0)) 1623 if (EINA_UNLIKELY(v < 0))
@@ -1792,7 +1797,7 @@ _eina_value_type_float_convert_to(const Eina_Value_Type *type __UNUSED__, const
1792 return EINA_FALSE; 1797 return EINA_FALSE;
1793 return eina_value_type_pset(convert, convert_mem, &other_mem); 1798 return eina_value_type_pset(convert, convert_mem, &other_mem);
1794 } 1799 }
1795 else if (convert == EINA_VALUE_TYPE_ULONG) 1800 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
1796 { 1801 {
1797 unsigned long other_mem = v; 1802 unsigned long other_mem = v;
1798 if (EINA_UNLIKELY(v < 0)) 1803 if (EINA_UNLIKELY(v < 0))
@@ -1978,7 +1983,7 @@ _eina_value_type_double_convert_to(const Eina_Value_Type *type __UNUSED__, const
1978 return EINA_FALSE; 1983 return EINA_FALSE;
1979 return eina_value_type_pset(convert, convert_mem, &other_mem); 1984 return eina_value_type_pset(convert, convert_mem, &other_mem);
1980 } 1985 }
1981 else if (convert == EINA_VALUE_TYPE_ULONG) 1986 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
1982 { 1987 {
1983 unsigned long other_mem = v; 1988 unsigned long other_mem = v;
1984 if (EINA_UNLIKELY(v < 0)) 1989 if (EINA_UNLIKELY(v < 0))
@@ -2146,7 +2151,7 @@ _eina_value_type_string_common_convert_to(const Eina_Value_Type *type __UNUSED__
2146 return EINA_FALSE; 2151 return EINA_FALSE;
2147 return eina_value_type_pset(convert, convert_mem, &other_mem); 2152 return eina_value_type_pset(convert, convert_mem, &other_mem);
2148 } 2153 }
2149 else if (convert == EINA_VALUE_TYPE_ULONG) 2154 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
2150 { 2155 {
2151 unsigned long other_mem; 2156 unsigned long other_mem;
2152 if ((sscanf(v, "%lu", &other_mem) != 1) && 2157 if ((sscanf(v, "%lu", &other_mem) != 1) &&
@@ -2248,7 +2253,11 @@ static Eina_Bool
2248_eina_value_type_stringshare_flush(const Eina_Value_Type *type __UNUSED__, void *mem) 2253_eina_value_type_stringshare_flush(const Eina_Value_Type *type __UNUSED__, void *mem)
2249{ 2254{
2250 const char **tmem = mem; 2255 const char **tmem = mem;
2251 if (*tmem) eina_stringshare_del(*tmem); 2256 if (*tmem)
2257 {
2258 eina_stringshare_del(*tmem);
2259 *tmem = NULL;
2260 }
2252 return EINA_TRUE; 2261 return EINA_TRUE;
2253} 2262}
2254 2263
@@ -2257,8 +2266,7 @@ _eina_value_type_stringshare_copy(const Eina_Value_Type *type __UNUSED__, const
2257{ 2266{
2258 const char * const*s = src; 2267 const char * const*s = src;
2259 const char **d = dst; 2268 const char **d = dst;
2260 *d = *s; 2269 *d = eina_stringshare_add(*s);
2261 eina_stringshare_ref(*d);
2262 return EINA_TRUE; 2270 return EINA_TRUE;
2263} 2271}
2264 2272
@@ -2280,7 +2288,11 @@ static Eina_Bool
2280_eina_value_type_string_flush(const Eina_Value_Type *type __UNUSED__, void *mem) 2288_eina_value_type_string_flush(const Eina_Value_Type *type __UNUSED__, void *mem)
2281{ 2289{
2282 char **tmem = mem; 2290 char **tmem = mem;
2283 if (*tmem) free(*tmem); 2291 if (*tmem)
2292 {
2293 free(*tmem);
2294 *tmem = NULL;
2295 }
2284 return EINA_TRUE; 2296 return EINA_TRUE;
2285} 2297}
2286 2298
@@ -2308,19 +2320,24 @@ _eina_value_type_string_vset(const Eina_Value_Type *type __UNUSED__, void *mem,
2308{ 2320{
2309 char **tmem = mem; 2321 char **tmem = mem;
2310 const char *str = va_arg(args, const char *); 2322 const char *str = va_arg(args, const char *);
2311 free(*tmem); 2323 eina_error_set(0);
2312 if (str == NULL) 2324 if (str == *tmem) return EINA_TRUE;
2313 *tmem = NULL; 2325 if (!str)
2326 {
2327 free(*tmem);
2328 *tmem = NULL;
2329 }
2314 else 2330 else
2315 { 2331 {
2316 *tmem = strdup(str); 2332 char *tmp = strdup(str);
2317 if (*tmem == NULL) 2333 if (!tmp)
2318 { 2334 {
2319 eina_error_set(EINA_ERROR_OUT_OF_MEMORY); 2335 eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
2320 return EINA_FALSE; 2336 return EINA_FALSE;
2321 } 2337 }
2338 free(*tmem);
2339 *tmem = tmp;
2322 } 2340 }
2323 eina_error_set(0);
2324 return EINA_TRUE; 2341 return EINA_TRUE;
2325} 2342}
2326 2343
@@ -2329,19 +2346,24 @@ _eina_value_type_string_pset(const Eina_Value_Type *type __UNUSED__, void *mem,
2329{ 2346{
2330 char **tmem = mem; 2347 char **tmem = mem;
2331 const char * const *str = ptr; 2348 const char * const *str = ptr;
2332 free(*tmem); 2349 eina_error_set(0);
2333 if (*str == NULL) 2350 if (*str == *tmem) return EINA_TRUE;
2334 *tmem = NULL; 2351 if (!*str)
2352 {
2353 free(*tmem);
2354 *tmem = NULL;
2355 }
2335 else 2356 else
2336 { 2357 {
2337 *tmem = strdup(*str); 2358 char *tmp = strdup(*str);
2338 if (*tmem == NULL) 2359 if (!tmp)
2339 { 2360 {
2340 eina_error_set(EINA_ERROR_OUT_OF_MEMORY); 2361 eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
2341 return EINA_FALSE; 2362 return EINA_FALSE;
2342 } 2363 }
2364 free(*tmem);
2365 *tmem = tmp;
2343 } 2366 }
2344 eina_error_set(0);
2345 return EINA_TRUE; 2367 return EINA_TRUE;
2346} 2368}
2347 2369
@@ -2505,12 +2527,13 @@ _eina_value_type_array_convert_to(const Eina_Value_Type *type __UNUSED__, const
2505 (convert == EINA_VALUE_TYPE_STRINGSHARE)) 2527 (convert == EINA_VALUE_TYPE_STRINGSHARE))
2506 { 2528 {
2507 Eina_Strbuf *str = eina_strbuf_new(); 2529 Eina_Strbuf *str = eina_strbuf_new();
2530 const char *ptr;
2508 if (!tmem->array) eina_strbuf_append(str, "[]"); 2531 if (!tmem->array) eina_strbuf_append(str, "[]");
2509 else 2532 else
2510 { 2533 {
2511 const Eina_Value_Type *subtype = tmem->subtype; 2534 const Eina_Value_Type *subtype = tmem->subtype;
2512 unsigned char sz; 2535 unsigned char sz;
2513 const char *ptr, *ptr_end; 2536 const char *ptr_end;
2514 Eina_Value tmp; 2537 Eina_Value tmp;
2515 Eina_Bool first = EINA_TRUE; 2538 Eina_Bool first = EINA_TRUE;
2516 2539
@@ -2551,10 +2574,10 @@ _eina_value_type_array_convert_to(const Eina_Value_Type *type __UNUSED__, const
2551 } 2574 }
2552 2575
2553 eina_strbuf_append_char(str, ']'); 2576 eina_strbuf_append_char(str, ']');
2554 ptr = eina_strbuf_string_get(str);
2555 ret = eina_value_type_pset(convert, convert_mem, &ptr);
2556 eina_strbuf_free(str);
2557 } 2577 }
2578 ptr = eina_strbuf_string_get(str);
2579 ret = eina_value_type_pset(convert, convert_mem, &ptr);
2580 eina_strbuf_free(str);
2558 } 2581 }
2559 else if ((tmem->array) && (tmem->array->len == 1)) 2582 else if ((tmem->array) && (tmem->array->len == 1))
2560 { 2583 {
@@ -2606,43 +2629,51 @@ _eina_value_type_array_convert_from(const Eina_Value_Type *type, const Eina_Valu
2606} 2629}
2607 2630
2608static Eina_Bool 2631static Eina_Bool
2609_eina_value_type_array_pset(const Eina_Value_Type *type __UNUSED__, void *mem, const void *ptr) 2632_eina_value_type_array_pset(const Eina_Value_Type *type, void *mem, const void *ptr)
2610{ 2633{
2611 Eina_Value_Array *tmem = mem; 2634 Eina_Value_Array *tmem = mem;
2612 const Eina_Value_Array *desc = ptr; 2635 const Eina_Value_Array *desc = ptr;
2613 Eina_Inarray *desc_array; 2636 Eina_Inarray *desc_array;
2614 2637
2638 eina_error_set(0);
2615 if ((!tmem->subtype) && (!desc->subtype)) 2639 if ((!tmem->subtype) && (!desc->subtype))
2616 return EINA_TRUE; 2640 return EINA_TRUE;
2617 2641
2618 desc_array = desc->array; 2642 desc_array = desc->array;
2619 if (desc_array) 2643 if (desc_array)
2620 { 2644 {
2645 Eina_Value_Array tmp;
2646
2621 EINA_SAFETY_ON_FALSE_RETURN_VAL 2647 EINA_SAFETY_ON_FALSE_RETURN_VAL
2622 (desc_array->member_size == desc->subtype->value_size, EINA_FALSE); 2648 (desc_array->member_size == desc->subtype->value_size, EINA_FALSE);
2649
2650 if (desc_array == tmem->array)
2651 {
2652 tmem->subtype = desc->subtype;
2653 return EINA_TRUE;
2654 }
2655
2656 if (!_eina_value_type_array_copy(type, desc, &tmp))
2657 return EINA_FALSE;
2658
2659 _eina_value_type_array_flush(type, tmem);
2660 memcpy(tmem, &tmp, sizeof(tmp));
2661 return EINA_TRUE;
2623 } 2662 }
2624 2663
2625 if (tmem->array) 2664 if (tmem->array)
2626 { 2665 {
2627 _eina_value_type_array_flush_elements(tmem); 2666 _eina_value_type_array_flush_elements(tmem);
2628 if (desc_array) 2667 eina_inarray_setup(tmem->array, desc->subtype->value_size, desc->step);
2629 eina_inarray_free(tmem->array);
2630 else
2631 eina_inarray_setup(tmem->array, desc->subtype->value_size,
2632 desc->step);
2633 } 2668 }
2634 else if (!desc_array) 2669 else
2635 { 2670 {
2636 tmem->array = eina_inarray_new(desc->subtype->value_size, desc->step); 2671 tmem->array = eina_inarray_new(desc->subtype->value_size, desc->step);
2637 if (!tmem->array) 2672 if (!tmem->array)
2638 return EINA_FALSE; 2673 return EINA_FALSE;
2639 } 2674 }
2640 2675
2641 if (desc_array)
2642 tmem->array = desc_array;
2643
2644 tmem->subtype = desc->subtype; 2676 tmem->subtype = desc->subtype;
2645
2646 return EINA_TRUE; 2677 return EINA_TRUE;
2647} 2678}
2648 2679
@@ -2821,13 +2852,13 @@ _eina_value_type_list_convert_to(const Eina_Value_Type *type __UNUSED__, const E
2821 (convert == EINA_VALUE_TYPE_STRINGSHARE)) 2852 (convert == EINA_VALUE_TYPE_STRINGSHARE))
2822 { 2853 {
2823 Eina_Strbuf *str = eina_strbuf_new(); 2854 Eina_Strbuf *str = eina_strbuf_new();
2855 const char *s;
2824 if (!tmem->list) eina_strbuf_append(str, "[]"); 2856 if (!tmem->list) eina_strbuf_append(str, "[]");
2825 else 2857 else
2826 { 2858 {
2827 const Eina_Value_Type *subtype = tmem->subtype; 2859 const Eina_Value_Type *subtype = tmem->subtype;
2828 const Eina_List *node; 2860 const Eina_List *node;
2829 Eina_Value tmp; 2861 Eina_Value tmp;
2830 const char *s;
2831 Eina_Bool first = EINA_TRUE; 2862 Eina_Bool first = EINA_TRUE;
2832 2863
2833 eina_value_setup(&tmp, EINA_VALUE_TYPE_STRING); 2864 eina_value_setup(&tmp, EINA_VALUE_TYPE_STRING);
@@ -2867,10 +2898,10 @@ _eina_value_type_list_convert_to(const Eina_Value_Type *type __UNUSED__, const E
2867 } 2898 }
2868 2899
2869 eina_strbuf_append_char(str, ']'); 2900 eina_strbuf_append_char(str, ']');
2870 s = eina_strbuf_string_get(str);
2871 ret = eina_value_type_pset(convert, convert_mem, &s);
2872 eina_strbuf_free(str);
2873 } 2901 }
2902 s = eina_strbuf_string_get(str);
2903 ret = eina_value_type_pset(convert, convert_mem, &s);
2904 eina_strbuf_free(str);
2874 } 2905 }
2875 else if ((tmem->list) && (tmem->list->next == NULL)) 2906 else if ((tmem->list) && (tmem->list->next == NULL))
2876 { 2907 {
@@ -2932,18 +2963,36 @@ _eina_value_type_list_convert_from(const Eina_Value_Type *type, const Eina_Value
2932} 2963}
2933 2964
2934static Eina_Bool 2965static Eina_Bool
2935_eina_value_type_list_pset(const Eina_Value_Type *type __UNUSED__, void *mem, const void *ptr) 2966_eina_value_type_list_pset(const Eina_Value_Type *type, void *mem, const void *ptr)
2936{ 2967{
2937 Eina_Value_List *tmem = mem; 2968 Eina_Value_List *tmem = mem;
2938 const Eina_Value_List *desc = ptr; 2969 const Eina_Value_List *desc = ptr;
2939 2970
2971 eina_error_set(0);
2940 if ((!tmem->subtype) && (!desc->subtype)) 2972 if ((!tmem->subtype) && (!desc->subtype))
2941 return EINA_TRUE; 2973 return EINA_TRUE;
2942 2974
2975 if ((tmem->list) && (tmem->list == desc->list))
2976 {
2977 tmem->subtype = desc->subtype;
2978 return EINA_TRUE;
2979 }
2980
2981 if (desc->list)
2982 {
2983 Eina_Value_List tmp;
2984
2985 if (!_eina_value_type_list_copy(type, desc, &tmp))
2986 return EINA_FALSE;
2987
2988 _eina_value_type_list_flush(type, tmem);
2989 memcpy(tmem, &tmp, sizeof(tmp));
2990 return EINA_TRUE;
2991 }
2992
2943 _eina_value_type_list_flush_elements(tmem); 2993 _eina_value_type_list_flush_elements(tmem);
2944 tmem->subtype = desc->subtype;
2945 tmem->list = desc->list;
2946 2994
2995 tmem->subtype = desc->subtype;
2947 return EINA_TRUE; 2996 return EINA_TRUE;
2948} 2997}
2949 2998
@@ -2995,6 +3044,7 @@ _eina_value_type_hash_flush_each(const Eina_Hash *hash __UNUSED__, const void *k
2995{ 3044{
2996 struct _eina_value_type_hash_flush_each_ctx *ctx = user_data; 3045 struct _eina_value_type_hash_flush_each_ctx *ctx = user_data;
2997 ctx->ret &= eina_value_type_flush(ctx->subtype, mem); 3046 ctx->ret &= eina_value_type_flush(ctx->subtype, mem);
3047 free(mem);
2998 return EINA_TRUE; 3048 return EINA_TRUE;
2999} 3049}
3000 3050
@@ -3239,11 +3289,11 @@ _eina_value_type_hash_convert_to(const Eina_Value_Type *type __UNUSED__, const E
3239 (convert == EINA_VALUE_TYPE_STRINGSHARE)) 3289 (convert == EINA_VALUE_TYPE_STRINGSHARE))
3240 { 3290 {
3241 Eina_Strbuf *str = eina_strbuf_new(); 3291 Eina_Strbuf *str = eina_strbuf_new();
3292 const char *s;
3242 if (!tmem->hash) eina_strbuf_append(str, "{}"); 3293 if (!tmem->hash) eina_strbuf_append(str, "{}");
3243 else 3294 else
3244 { 3295 {
3245 struct _eina_value_type_hash_convert_to_string_each_ctx ctx; 3296 struct _eina_value_type_hash_convert_to_string_each_ctx ctx;
3246 const char *s;
3247 3297
3248 ctx.subtype = tmem->subtype; 3298 ctx.subtype = tmem->subtype;
3249 ctx.str = str; 3299 ctx.str = str;
@@ -3257,10 +3307,10 @@ _eina_value_type_hash_convert_to(const Eina_Value_Type *type __UNUSED__, const E
3257 &ctx); 3307 &ctx);
3258 3308
3259 eina_strbuf_append_char(str, '}'); 3309 eina_strbuf_append_char(str, '}');
3260 s = eina_strbuf_string_get(str);
3261 ret = eina_value_type_pset(convert, convert_mem, &s);
3262 eina_strbuf_free(str);
3263 } 3310 }
3311 s = eina_strbuf_string_get(str);
3312 ret = eina_value_type_pset(convert, convert_mem, &s);
3313 eina_strbuf_free(str);
3264 } 3314 }
3265 else if ((tmem->hash) && (eina_hash_population(tmem->hash) == 1)) 3315 else if ((tmem->hash) && (eina_hash_population(tmem->hash) == 1))
3266 { 3316 {
@@ -3288,22 +3338,38 @@ _eina_value_type_hash_convert_to(const Eina_Value_Type *type __UNUSED__, const E
3288} 3338}
3289 3339
3290static Eina_Bool 3340static Eina_Bool
3291_eina_value_type_hash_pset(const Eina_Value_Type *type __UNUSED__, void *mem, const void *ptr) 3341_eina_value_type_hash_pset(const Eina_Value_Type *type, void *mem, const void *ptr)
3292{ 3342{
3293 Eina_Value_Hash *tmem = mem; 3343 Eina_Value_Hash *tmem = mem;
3294 const Eina_Value_Hash *desc = ptr; 3344 const Eina_Value_Hash *desc = ptr;
3295 3345
3346 eina_error_set(0);
3296 if ((!tmem->subtype) && (!desc->subtype)) 3347 if ((!tmem->subtype) && (!desc->subtype))
3297 return EINA_TRUE; 3348 return EINA_TRUE;
3298 3349
3299 if (tmem->hash) _eina_value_type_hash_flush_elements(tmem); 3350 if ((tmem->hash) && (tmem->hash == desc->hash))
3351 {
3352 tmem->subtype = desc->subtype;
3353 return EINA_TRUE;
3354 }
3300 3355
3301 if (desc->hash) 3356 if (desc->hash)
3302 tmem->hash = desc->hash; 3357 {
3303 else if (!_eina_value_type_hash_create(tmem)) 3358 Eina_Value_Hash tmp;
3304 return EINA_FALSE; 3359
3360 if (!_eina_value_type_hash_copy(type, desc, &tmp))
3361 return EINA_FALSE;
3362
3363 _eina_value_type_hash_flush(type, tmem);
3364 memcpy(tmem, &tmp, sizeof(tmp));
3365 return EINA_TRUE;
3366 }
3367
3368 if (tmem->hash) _eina_value_type_hash_flush_elements(tmem);
3305 3369
3306 tmem->subtype = desc->subtype; 3370 tmem->subtype = desc->subtype;
3371 if (!_eina_value_type_hash_create(tmem))
3372 return EINA_FALSE;
3307 3373
3308 return EINA_TRUE; 3374 return EINA_TRUE;
3309} 3375}
@@ -3424,7 +3490,7 @@ _eina_value_type_timeval_convert_to(const Eina_Value_Type *type __UNUSED__, cons
3424 return EINA_FALSE; 3490 return EINA_FALSE;
3425 return eina_value_type_pset(convert, convert_mem, &other_mem); 3491 return eina_value_type_pset(convert, convert_mem, &other_mem);
3426 } 3492 }
3427 else if (convert == EINA_VALUE_TYPE_ULONG) 3493 else if ((convert == EINA_VALUE_TYPE_ULONG) || (convert == EINA_VALUE_TYPE_TIMESTAMP))
3428 { 3494 {
3429 unsigned long other_mem = v.tv_sec; 3495 unsigned long other_mem = v.tv_sec;
3430 if (EINA_UNLIKELY(v.tv_sec < 0)) 3496 if (EINA_UNLIKELY(v.tv_sec < 0))
@@ -3570,6 +3636,8 @@ _eina_value_type_blob_flush(const Eina_Value_Type *type __UNUSED__, void *mem)
3570 Eina_Value_Blob *tmem = mem; 3636 Eina_Value_Blob *tmem = mem;
3571 if ((ops) && (ops->free)) 3637 if ((ops) && (ops->free))
3572 ops->free(ops, (void *)tmem->memory, tmem->size); 3638 ops->free(ops, (void *)tmem->memory, tmem->size);
3639 tmem->memory = NULL;
3640 tmem->size = 0;
3573 return EINA_TRUE; 3641 return EINA_TRUE;
3574} 3642}
3575 3643
@@ -3776,6 +3844,14 @@ _eina_value_type_blob_pset(const Eina_Value_Type *type __UNUSED__, void *mem, co
3776 Eina_Value_Blob *tmem = mem; 3844 Eina_Value_Blob *tmem = mem;
3777 const Eina_Value_Blob *desc = ptr; 3845 const Eina_Value_Blob *desc = ptr;
3778 3846
3847 eina_error_set(0);
3848 if ((tmem->memory) && (tmem->memory == desc->memory))
3849 {
3850 tmem->ops = desc->ops;
3851 tmem->size = desc->size;
3852 return EINA_TRUE;
3853 }
3854
3779 if ((ops) && (ops->free)) 3855 if ((ops) && (ops->free))
3780 ops->free(ops, (void *)tmem->memory, tmem->size); 3856 ops->free(ops, (void *)tmem->memory, tmem->size);
3781 3857
@@ -3872,6 +3948,7 @@ _eina_value_struct_operations_stringshare_find_member(const Eina_Value_Struct_Op
3872 return itr; 3948 return itr;
3873 } 3949 }
3874 3950
3951 itr = desc->members;
3875 name = eina_stringshare_add(name); 3952 name = eina_stringshare_add(name);
3876 eina_stringshare_del(name); /* we'll not use the contents, this is fine */ 3953 eina_stringshare_del(name); /* we'll not use the contents, this is fine */
3877 /* stringshare and look again */ 3954 /* stringshare and look again */
@@ -3955,6 +4032,13 @@ _eina_value_type_struct_setup(const Eina_Value_Type *type __UNUSED__, void *mem)
3955} 4032}
3956 4033
3957static Eina_Bool 4034static Eina_Bool
4035_eina_value_type_struct_setup_member(const Eina_Value_Struct_Member *member, Eina_Value_Struct *st)
4036{
4037 unsigned char *base = st->memory;
4038 return eina_value_type_setup(member->type, base + member->offset);
4039}
4040
4041static Eina_Bool
3958_eina_value_type_struct_flush_member(const Eina_Value_Struct_Member *member, Eina_Value_Struct *st) 4042_eina_value_type_struct_flush_member(const Eina_Value_Struct_Member *member, Eina_Value_Struct *st)
3959{ 4043{
3960 unsigned char *base = st->memory; 4044 unsigned char *base = st->memory;
@@ -3969,6 +4053,9 @@ _eina_value_type_struct_flush(const Eina_Value_Type *type __UNUSED__, void *mem)
3969 Eina_Value_Struct *tmem = mem; 4053 Eina_Value_Struct *tmem = mem;
3970 Eina_Bool ret = EINA_TRUE; 4054 Eina_Bool ret = EINA_TRUE;
3971 4055
4056 if ((!tmem->desc) || (!tmem->memory))
4057 return EINA_TRUE;
4058
3972 itr = tmem->desc->members; 4059 itr = tmem->desc->members;
3973 if (tmem->desc->member_count > 0) 4060 if (tmem->desc->member_count > 0)
3974 { 4061 {
@@ -3989,6 +4076,9 @@ _eina_value_type_struct_flush(const Eina_Value_Type *type __UNUSED__, void *mem)
3989 else 4076 else
3990 free(tmem->memory); 4077 free(tmem->memory);
3991 4078
4079 tmem->memory = NULL;
4080 tmem->desc = NULL;
4081
3992 return ret; 4082 return ret;
3993} 4083}
3994 4084
@@ -4012,6 +4102,9 @@ _eina_value_type_struct_copy(const Eina_Value_Type *type __UNUSED__, const void
4012 4102
4013 *d = *s; 4103 *d = *s;
4014 4104
4105 if ((!s->desc) || (!s->memory))
4106 return EINA_TRUE;
4107
4015 ops = _eina_value_type_struct_ops_get(src); 4108 ops = _eina_value_type_struct_ops_get(src);
4016 if ((ops) && (ops->copy)) 4109 if ((ops) && (ops->copy))
4017 { 4110 {
@@ -4021,7 +4114,10 @@ _eina_value_type_struct_copy(const Eina_Value_Type *type __UNUSED__, const void
4021 return EINA_TRUE; 4114 return EINA_TRUE;
4022 } 4115 }
4023 4116
4024 d->memory = malloc(s->desc->size); 4117 if ((ops) && (ops->alloc))
4118 d->memory = ops->alloc(ops, s->desc);
4119 else
4120 d->memory = malloc(s->desc->size);
4025 if (!d->memory) 4121 if (!d->memory)
4026 { 4122 {
4027 eina_error_set(EINA_ERROR_OUT_OF_MEMORY); 4123 eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
@@ -4043,14 +4139,17 @@ _eina_value_type_struct_copy(const Eina_Value_Type *type __UNUSED__, const void
4043 goto error; 4139 goto error;
4044 } 4140 }
4045 4141
4046
4047 return EINA_TRUE; 4142 return EINA_TRUE;
4048 4143
4049 error: 4144 error:
4050 itr--; 4145 itr--;
4051 for (; itr >= s->desc->members; itr--) 4146 for (; itr >= s->desc->members; itr--)
4052 _eina_value_type_struct_flush_member(itr, d); 4147 _eina_value_type_struct_flush_member(itr, d);
4053 free(d->memory); 4148
4149 if ((ops) && (ops->free))
4150 ops->free(ops, s->desc, d->memory);
4151 else
4152 free(d->memory);
4054 return EINA_FALSE; 4153 return EINA_FALSE;
4055} 4154}
4056 4155
@@ -4072,7 +4171,9 @@ _eina_value_type_struct_compare(const Eina_Value_Type *type __UNUSED__, const vo
4072 const Eina_Value_Struct_Member *itr; 4171 const Eina_Value_Struct_Member *itr;
4073 int cmp = 0; 4172 int cmp = 0;
4074 4173
4075 if (ta->desc != tb->desc) 4174 if ((!ta->desc) && (!tb->desc))
4175 return 0;
4176 else if (ta->desc != tb->desc)
4076 { 4177 {
4077 eina_error_set(EINA_ERROR_VALUE_FAILED); 4178 eina_error_set(EINA_ERROR_VALUE_FAILED);
4078 return -1; 4179 return -1;
@@ -4236,11 +4337,12 @@ _eina_value_type_struct_desc_check(const Eina_Value_Struct_Desc *desc)
4236} 4337}
4237 4338
4238static Eina_Bool 4339static Eina_Bool
4239_eina_value_type_struct_pset(const Eina_Value_Type *type __UNUSED__, void *mem, const void *ptr) 4340_eina_value_type_struct_pset(const Eina_Value_Type *type, void *mem, const void *ptr)
4240{ 4341{
4241 const Eina_Value_Struct_Operations *ops = _eina_value_type_struct_ops_get(mem); 4342 const Eina_Value_Struct_Operations *ops;
4242 Eina_Value_Struct *tmem = mem; 4343 Eina_Value_Struct *tmem = mem;
4243 const Eina_Value_Struct *desc = ptr; 4344 const Eina_Value_Struct *desc = ptr;
4345 const Eina_Value_Struct_Member *itr;
4244 4346
4245 if (!_eina_value_type_struct_desc_check(desc->desc)) 4347 if (!_eina_value_type_struct_desc_check(desc->desc))
4246 { 4348 {
@@ -4248,30 +4350,71 @@ _eina_value_type_struct_pset(const Eina_Value_Type *type __UNUSED__, void *mem,
4248 return EINA_FALSE; 4350 return EINA_FALSE;
4249 } 4351 }
4250 4352
4251 if ((ops) && (ops->free)) 4353 eina_error_set(0);
4252 ops->free(ops, tmem->desc, tmem->memory); 4354 if ((tmem->memory) && (tmem->memory == desc->memory))
4253 else 4355 {
4254 free(tmem->memory); 4356 tmem->desc = desc->desc;
4357 return EINA_TRUE;
4358 }
4255 4359
4256 *tmem = *desc; 4360 if (desc->memory)
4361 {
4362 Eina_Value_Struct tmp;
4363
4364 if (!_eina_value_type_struct_copy(type, desc, &tmp))
4365 return EINA_FALSE;
4366
4367 _eina_value_type_struct_flush(type, tmem);
4368 memcpy(tmem, &tmp, sizeof(tmp));
4369 return EINA_TRUE;
4370 }
4371
4372 if (tmem->memory) _eina_value_type_struct_flush(type, mem);
4373
4374 tmem->desc = desc->desc;
4257 4375
4258 ops = _eina_value_type_struct_ops_get(desc); 4376 ops = _eina_value_type_struct_ops_get(desc);
4377 if ((ops) && (ops->alloc))
4378 tmem->memory = ops->alloc(ops, tmem->desc);
4379 else
4380 tmem->memory = malloc(tmem->desc->size);
4381
4259 if (!tmem->memory) 4382 if (!tmem->memory)
4260 { 4383 {
4261 if ((ops) && (ops->alloc)) 4384 eina_error_set(EINA_ERROR_OUT_OF_MEMORY);
4262 tmem->memory = ops->alloc(ops, tmem->desc); 4385 return EINA_FALSE;
4263 else 4386 }
4264 tmem->memory = malloc(tmem->desc->size);
4265 4387
4266 if (!tmem->memory) 4388 itr = tmem->desc->members;
4267 { 4389 if (tmem->desc->member_count > 0)
4268 eina_error_set(EINA_ERROR_OUT_OF_MEMORY); 4390 {
4269 return EINA_FALSE; 4391 const Eina_Value_Struct_Member *itr_end;
4270 } 4392 itr_end = itr + tmem->desc->member_count;
4393 for (; itr < itr_end; itr++)
4394 if (!_eina_value_type_struct_setup_member(itr, tmem))
4395 goto error;
4396 }
4397 else
4398 {
4399 for (; itr->name != NULL; itr++)
4400 if (!_eina_value_type_struct_setup_member(itr, tmem))
4401 goto error;
4271 } 4402 }
4272 4403
4273 eina_error_set(0);
4274 return EINA_TRUE; 4404 return EINA_TRUE;
4405
4406 error:
4407 itr--;
4408 for (; itr >= tmem->desc->members; itr--)
4409 _eina_value_type_struct_flush_member(itr, tmem);
4410
4411 if ((ops) && (ops->free))
4412 ops->free(ops, tmem->desc, tmem->memory);
4413 else
4414 free(tmem->memory);
4415 tmem->memory = NULL;
4416 tmem->desc = NULL;
4417 return EINA_FALSE;
4275} 4418}
4276 4419
4277static Eina_Bool 4420static Eina_Bool
@@ -4304,6 +4447,130 @@ static const Eina_Value_Type _EINA_VALUE_TYPE_STRUCT = {
4304 _eina_value_type_struct_pget 4447 _eina_value_type_struct_pget
4305}; 4448};
4306 4449
4450static Eina_Bool
4451_eina_value_type_model_setup(const Eina_Value_Type *type __UNUSED__, void *mem)
4452{
4453 Eina_Model **tmem = mem;
4454 *tmem = NULL;
4455 return EINA_TRUE;
4456}
4457
4458static Eina_Bool
4459_eina_value_type_model_flush(const Eina_Value_Type *type __UNUSED__, void *mem)
4460{
4461 Eina_Model **tmem = mem;
4462 if (*tmem)
4463 {
4464 eina_model_unref(*tmem);
4465 *tmem = NULL;
4466 }
4467 return EINA_TRUE;
4468}
4469
4470static Eina_Bool
4471_eina_value_type_model_copy(const Eina_Value_Type *type __UNUSED__, const void *src, void *dst)
4472{
4473 const Eina_Model * const *s = src;
4474 Eina_Model **d = dst;
4475 if (*s)
4476 *d = eina_model_copy(*s); /* is it better to deep-copy? */
4477 else
4478 *d = NULL;
4479 return EINA_TRUE;
4480}
4481
4482static int
4483_eina_value_type_model_compare(const Eina_Value_Type *type __UNUSED__, const void *a, const void *b)
4484{
4485 const Eina_Model * const *ta = a;
4486 const Eina_Model * const *tb = b;
4487
4488 if ((!*ta) && (!*tb)) return 0;
4489 else if (!*ta) return 1;
4490 else if (!*tb) return -1;
4491 else return eina_model_compare(*ta, *tb);
4492}
4493
4494static Eina_Bool
4495_eina_value_type_model_convert_to(const Eina_Value_Type *type __UNUSED__, const Eina_Value_Type *convert, const void *type_mem, void *convert_mem)
4496{
4497 const Eina_Model *v = *(const Eina_Model **)type_mem;
4498
4499 eina_error_set(0);
4500
4501 if (convert == EINA_VALUE_TYPE_STRINGSHARE ||
4502 convert == EINA_VALUE_TYPE_STRING)
4503 {
4504 char *other_mem = v ? eina_model_to_string(v) : NULL;
4505 Eina_Bool ret = eina_value_type_pset(convert, convert_mem, &other_mem);
4506 free(other_mem);
4507 return ret;
4508 }
4509 else
4510 {
4511 eina_error_set(EINA_ERROR_VALUE_FAILED);
4512 return EINA_FALSE;
4513 }
4514
4515 return EINA_TRUE;
4516}
4517
4518static Eina_Bool
4519_eina_value_type_model_vset(const Eina_Value_Type *type __UNUSED__, void *mem, va_list args)
4520{
4521 Eina_Model **tmem = mem, *tmp;
4522
4523 tmp = va_arg(args, Eina_Model *);
4524
4525 if (tmp) eina_model_ref(tmp);
4526 if (*tmem) eina_model_unref(*tmem);
4527
4528 *tmem = tmp;
4529
4530 return EINA_TRUE;
4531}
4532
4533static Eina_Bool
4534_eina_value_type_model_pset(const Eina_Value_Type *type __UNUSED__, void *mem, const void *ptr)
4535{
4536 Eina_Model **tmem = mem;
4537 Eina_Model **p = (Eina_Model **)ptr;
4538
4539 eina_error_set(0);
4540 if (*tmem == *p) return EINA_TRUE;
4541
4542 if (*p) eina_model_ref(*p);
4543 if (*tmem) eina_model_unref(*tmem);
4544
4545 *tmem = *p;
4546
4547 return EINA_TRUE;
4548}
4549
4550static Eina_Bool
4551_eina_value_type_model_pget(const Eina_Value_Type *type __UNUSED__, const void *mem, void *ptr)
4552{
4553 Eina_Model **tmem = (Eina_Model **)mem;
4554 Eina_Model **p = ptr;
4555 *p = *tmem;
4556 return EINA_TRUE;
4557}
4558
4559static const Eina_Value_Type _EINA_VALUE_TYPE_MODEL = {
4560 EINA_VALUE_TYPE_VERSION,
4561 sizeof(Eina_Model *),
4562 "Eina_Model",
4563 _eina_value_type_model_setup,
4564 _eina_value_type_model_flush,
4565 _eina_value_type_model_copy,
4566 _eina_value_type_model_compare,
4567 _eina_value_type_model_convert_to,
4568 NULL, /* no convert from */
4569 _eina_value_type_model_vset,
4570 _eina_value_type_model_pset,
4571 _eina_value_type_model_pget
4572};
4573
4307/* keep all basic types inlined in an array so we can compare if it's 4574/* keep all basic types inlined in an array so we can compare if it's
4308 * a basic type using pointer arithmetic. 4575 * a basic type using pointer arithmetic.
4309 * 4576 *
@@ -4506,6 +4773,20 @@ static const Eina_Value_Type _EINA_VALUE_TYPE_BASICS[] = {
4506 _eina_value_type_string_vset, 4773 _eina_value_type_string_vset,
4507 _eina_value_type_string_pset, 4774 _eina_value_type_string_pset,
4508 _eina_value_type_string_common_pget 4775 _eina_value_type_string_common_pget
4776 },
4777 {
4778 EINA_VALUE_TYPE_VERSION,
4779 sizeof(unsigned long),
4780 "timestamp",
4781 _eina_value_type_ulong_setup,
4782 _eina_value_type_ulong_flush,
4783 _eina_value_type_ulong_copy,
4784 _eina_value_type_ulong_compare,
4785 _eina_value_type_ulong_convert_to,
4786 NULL, /* no convert from */
4787 _eina_value_type_ulong_vset,
4788 _eina_value_type_ulong_pset,
4789 _eina_value_type_ulong_pget
4509 } 4790 }
4510}; 4791};
4511 4792
@@ -4722,11 +5003,12 @@ eina_value_init(void)
4722 EINA_VALUE_TYPE_DOUBLE = _EINA_VALUE_TYPE_BASICS + 11; 5003 EINA_VALUE_TYPE_DOUBLE = _EINA_VALUE_TYPE_BASICS + 11;
4723 EINA_VALUE_TYPE_STRINGSHARE = _EINA_VALUE_TYPE_BASICS + 12; 5004 EINA_VALUE_TYPE_STRINGSHARE = _EINA_VALUE_TYPE_BASICS + 12;
4724 EINA_VALUE_TYPE_STRING = _EINA_VALUE_TYPE_BASICS + 13; 5005 EINA_VALUE_TYPE_STRING = _EINA_VALUE_TYPE_BASICS + 13;
5006 EINA_VALUE_TYPE_TIMESTAMP = _EINA_VALUE_TYPE_BASICS + 14;
4725 5007
4726 _EINA_VALUE_TYPE_BASICS_START = _EINA_VALUE_TYPE_BASICS + 0; 5008 _EINA_VALUE_TYPE_BASICS_START = _EINA_VALUE_TYPE_BASICS + 0;
4727 _EINA_VALUE_TYPE_BASICS_END = _EINA_VALUE_TYPE_BASICS + 13; 5009 _EINA_VALUE_TYPE_BASICS_END = _EINA_VALUE_TYPE_BASICS + 14;
4728 5010
4729 EINA_SAFETY_ON_FALSE_RETURN_VAL((sizeof(_EINA_VALUE_TYPE_BASICS)/sizeof(_EINA_VALUE_TYPE_BASICS[0])) == 14, EINA_FALSE); 5011 EINA_SAFETY_ON_FALSE_RETURN_VAL((sizeof(_EINA_VALUE_TYPE_BASICS)/sizeof(_EINA_VALUE_TYPE_BASICS[0])) == 15, EINA_FALSE);
4730 5012
4731 5013
4732 EINA_VALUE_TYPE_ARRAY = &_EINA_VALUE_TYPE_ARRAY; 5014 EINA_VALUE_TYPE_ARRAY = &_EINA_VALUE_TYPE_ARRAY;
@@ -4735,6 +5017,7 @@ eina_value_init(void)
4735 EINA_VALUE_TYPE_TIMEVAL = &_EINA_VALUE_TYPE_TIMEVAL; 5017 EINA_VALUE_TYPE_TIMEVAL = &_EINA_VALUE_TYPE_TIMEVAL;
4736 EINA_VALUE_TYPE_BLOB = &_EINA_VALUE_TYPE_BLOB; 5018 EINA_VALUE_TYPE_BLOB = &_EINA_VALUE_TYPE_BLOB;
4737 EINA_VALUE_TYPE_STRUCT = &_EINA_VALUE_TYPE_STRUCT; 5019 EINA_VALUE_TYPE_STRUCT = &_EINA_VALUE_TYPE_STRUCT;
5020 EINA_VALUE_TYPE_MODEL = &_EINA_VALUE_TYPE_MODEL;
4738 5021
4739 EINA_VALUE_BLOB_OPERATIONS_MALLOC = &_EINA_VALUE_BLOB_OPERATIONS_MALLOC; 5022 EINA_VALUE_BLOB_OPERATIONS_MALLOC = &_EINA_VALUE_BLOB_OPERATIONS_MALLOC;
4740 5023
@@ -4800,6 +5083,7 @@ EAPI const Eina_Value_Type *EINA_VALUE_TYPE_UCHAR = NULL;
4800EAPI const Eina_Value_Type *EINA_VALUE_TYPE_USHORT = NULL; 5083EAPI const Eina_Value_Type *EINA_VALUE_TYPE_USHORT = NULL;
4801EAPI const Eina_Value_Type *EINA_VALUE_TYPE_UINT = NULL; 5084EAPI const Eina_Value_Type *EINA_VALUE_TYPE_UINT = NULL;
4802EAPI const Eina_Value_Type *EINA_VALUE_TYPE_ULONG = NULL; 5085EAPI const Eina_Value_Type *EINA_VALUE_TYPE_ULONG = NULL;
5086EAPI const Eina_Value_Type *EINA_VALUE_TYPE_TIMESTAMP = NULL;
4803EAPI const Eina_Value_Type *EINA_VALUE_TYPE_UINT64 = NULL; 5087EAPI const Eina_Value_Type *EINA_VALUE_TYPE_UINT64 = NULL;
4804EAPI const Eina_Value_Type *EINA_VALUE_TYPE_CHAR = NULL; 5088EAPI const Eina_Value_Type *EINA_VALUE_TYPE_CHAR = NULL;
4805EAPI const Eina_Value_Type *EINA_VALUE_TYPE_SHORT = NULL; 5089EAPI const Eina_Value_Type *EINA_VALUE_TYPE_SHORT = NULL;
@@ -4816,6 +5100,7 @@ EAPI const Eina_Value_Type *EINA_VALUE_TYPE_HASH = NULL;
4816EAPI const Eina_Value_Type *EINA_VALUE_TYPE_TIMEVAL = NULL; 5100EAPI const Eina_Value_Type *EINA_VALUE_TYPE_TIMEVAL = NULL;
4817EAPI const Eina_Value_Type *EINA_VALUE_TYPE_BLOB = NULL; 5101EAPI const Eina_Value_Type *EINA_VALUE_TYPE_BLOB = NULL;
4818EAPI const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT = NULL; 5102EAPI const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT = NULL;
5103EAPI const Eina_Value_Type *EINA_VALUE_TYPE_MODEL = NULL;
4819 5104
4820EAPI const Eina_Value_Blob_Operations *EINA_VALUE_BLOB_OPERATIONS_MALLOC = NULL; 5105EAPI const Eina_Value_Blob_Operations *EINA_VALUE_BLOB_OPERATIONS_MALLOC = NULL;
4821 5106
diff --git a/libraries/eina/src/modules/Makefile.in b/libraries/eina/src/modules/Makefile.in
index 1ee8386..62d4a09 100644
--- a/libraries/eina/src/modules/Makefile.in
+++ b/libraries/eina/src/modules/Makefile.in
@@ -36,20 +36,24 @@ host_triplet = @host@
36subdir = src/modules 36subdir = src/modules
37DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 37DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
38ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 38ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 39am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
40 $(top_srcdir)/m4/efl_benchmark.m4 \ 40 $(top_srcdir)/m4/eina/eina_check.m4 \
41 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 41 $(top_srcdir)/m4/common/efl_attribute.m4 \
42 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 42 $(top_srcdir)/m4/common/efl_benchmark.m4 \
43 $(top_srcdir)/m4/efl_doxygen.m4 \ 43 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
44 $(top_srcdir)/m4/efl_examples.m4 \ 44 $(top_srcdir)/m4/common/efl_coverage.m4 \
45 $(top_srcdir)/m4/efl_fnmatch.m4 \ 45 $(top_srcdir)/m4/common/efl_cpu.m4 \
46 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 46 $(top_srcdir)/m4/common/efl_doxygen.m4 \
47 $(top_srcdir)/m4/efl_threads.m4 \ 47 $(top_srcdir)/m4/common/efl_examples.m4 \
48 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 48 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
49 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 49 $(top_srcdir)/m4/common/efl_path_max.m4 \
50 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 50 $(top_srcdir)/m4/common/efl_tests.m4 \
51 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 51 $(top_srcdir)/m4/common/efl_threads.m4 \
52 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 52 $(top_srcdir)/m4/common/efl_voltron.m4 \
53 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
54 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
55 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
56 $(top_srcdir)/configure.ac
53am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
54 $(ACLOCAL_M4) 58 $(ACLOCAL_M4)
55mkinstalldirs = $(install_sh) -d 59mkinstalldirs = $(install_sh) -d
@@ -150,13 +154,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
150EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 154EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
151EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 155EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
152EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 156EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
157EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
153EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 158EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
154EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 159EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
155EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 160EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
156EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 161EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
157EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 162EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
158EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 163EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
159EINA_CPPFLAGS = @EINA_CPPFLAGS@
160EINA_LIBS = @EINA_LIBS@ 164EINA_LIBS = @EINA_LIBS@
161EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 165EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
162EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 166EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -166,6 +170,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
166EVIL_CFLAGS = @EVIL_CFLAGS@ 170EVIL_CFLAGS = @EVIL_CFLAGS@
167EVIL_LIBS = @EVIL_LIBS@ 171EVIL_LIBS = @EVIL_LIBS@
168EXEEXT = @EXEEXT@ 172EXEEXT = @EXEEXT@
173EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
174EXOTIC_LIBS = @EXOTIC_LIBS@
169FGREP = @FGREP@ 175FGREP = @FGREP@
170GLIB_CFLAGS = @GLIB_CFLAGS@ 176GLIB_CFLAGS = @GLIB_CFLAGS@
171GLIB_LIBS = @GLIB_LIBS@ 177GLIB_LIBS = @GLIB_LIBS@
@@ -201,6 +207,8 @@ PACKAGE_URL = @PACKAGE_URL@
201PACKAGE_VERSION = @PACKAGE_VERSION@ 207PACKAGE_VERSION = @PACKAGE_VERSION@
202PATH_SEPARATOR = @PATH_SEPARATOR@ 208PATH_SEPARATOR = @PATH_SEPARATOR@
203PKG_CONFIG = @PKG_CONFIG@ 209PKG_CONFIG = @PKG_CONFIG@
210PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
211PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204RANLIB = @RANLIB@ 212RANLIB = @RANLIB@
205SED = @SED@ 213SED = @SED@
206SET_MAKE = @SET_MAKE@ 214SET_MAKE = @SET_MAKE@
diff --git a/libraries/eina/src/modules/mp/Makefile.in b/libraries/eina/src/modules/mp/Makefile.in
index d3a6dd9..7283b72 100644
--- a/libraries/eina/src/modules/mp/Makefile.in
+++ b/libraries/eina/src/modules/mp/Makefile.in
@@ -43,20 +43,24 @@ host_triplet = @host@
43subdir = src/modules/mp 43subdir = src/modules/mp
44DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 44DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 46am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
47 $(top_srcdir)/m4/efl_benchmark.m4 \ 47 $(top_srcdir)/m4/eina/eina_check.m4 \
48 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 48 $(top_srcdir)/m4/common/efl_attribute.m4 \
49 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 49 $(top_srcdir)/m4/common/efl_benchmark.m4 \
50 $(top_srcdir)/m4/efl_doxygen.m4 \ 50 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
51 $(top_srcdir)/m4/efl_examples.m4 \ 51 $(top_srcdir)/m4/common/efl_coverage.m4 \
52 $(top_srcdir)/m4/efl_fnmatch.m4 \ 52 $(top_srcdir)/m4/common/efl_cpu.m4 \
53 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 53 $(top_srcdir)/m4/common/efl_doxygen.m4 \
54 $(top_srcdir)/m4/efl_threads.m4 \ 54 $(top_srcdir)/m4/common/efl_examples.m4 \
55 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 55 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
56 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 56 $(top_srcdir)/m4/common/efl_path_max.m4 \
57 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 57 $(top_srcdir)/m4/common/efl_tests.m4 \
58 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 58 $(top_srcdir)/m4/common/efl_threads.m4 \
59 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 59 $(top_srcdir)/m4/common/efl_voltron.m4 \
60 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
61 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
62 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
63 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 65 $(ACLOCAL_M4)
62mkinstalldirs = $(install_sh) -d 66mkinstalldirs = $(install_sh) -d
@@ -158,13 +162,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
158EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 162EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
159EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 163EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
160EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 164EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
165EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
161EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 166EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
162EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 167EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
163EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 168EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
164EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 169EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
165EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 170EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
166EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 171EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
167EINA_CPPFLAGS = @EINA_CPPFLAGS@
168EINA_LIBS = @EINA_LIBS@ 172EINA_LIBS = @EINA_LIBS@
169EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 173EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
170EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 174EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -174,6 +178,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
174EVIL_CFLAGS = @EVIL_CFLAGS@ 178EVIL_CFLAGS = @EVIL_CFLAGS@
175EVIL_LIBS = @EVIL_LIBS@ 179EVIL_LIBS = @EVIL_LIBS@
176EXEEXT = @EXEEXT@ 180EXEEXT = @EXEEXT@
181EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
182EXOTIC_LIBS = @EXOTIC_LIBS@
177FGREP = @FGREP@ 183FGREP = @FGREP@
178GLIB_CFLAGS = @GLIB_CFLAGS@ 184GLIB_CFLAGS = @GLIB_CFLAGS@
179GLIB_LIBS = @GLIB_LIBS@ 185GLIB_LIBS = @GLIB_LIBS@
@@ -209,6 +215,8 @@ PACKAGE_URL = @PACKAGE_URL@
209PACKAGE_VERSION = @PACKAGE_VERSION@ 215PACKAGE_VERSION = @PACKAGE_VERSION@
210PATH_SEPARATOR = @PATH_SEPARATOR@ 216PATH_SEPARATOR = @PATH_SEPARATOR@
211PKG_CONFIG = @PKG_CONFIG@ 217PKG_CONFIG = @PKG_CONFIG@
218PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
219PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
212RANLIB = @RANLIB@ 220RANLIB = @RANLIB@
213SED = @SED@ 221SED = @SED@
214SET_MAKE = @SET_MAKE@ 222SET_MAKE = @SET_MAKE@
diff --git a/libraries/eina/src/modules/mp/buddy/Makefile.am b/libraries/eina/src/modules/mp/buddy/Makefile.am
index c699c9d..c0a6cd7 100644
--- a/libraries/eina/src/modules/mp/buddy/Makefile.am
+++ b/libraries/eina/src/modules/mp/buddy/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EFL_EINA_BUILD@ 9@EFL_EINA_BUILD@
11 10
12controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH) 11controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH)
diff --git a/libraries/eina/src/modules/mp/buddy/Makefile.in b/libraries/eina/src/modules/mp/buddy/Makefile.in
index 5619b2c..449c511 100644
--- a/libraries/eina/src/modules/mp/buddy/Makefile.in
+++ b/libraries/eina/src/modules/mp/buddy/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/buddy 37subdir = src/modules/mp/buddy
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EFL_EINA_BUILD@ 308@EFL_EINA_BUILD@
302 309
303controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH) 310controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH)
diff --git a/libraries/eina/src/modules/mp/chained_pool/Makefile.am b/libraries/eina/src/modules/mp/chained_pool/Makefile.am
index 815bab7..42d0d7e 100644
--- a/libraries/eina/src/modules/mp/chained_pool/Makefile.am
+++ b/libraries/eina/src/modules/mp/chained_pool/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EFL_EINA_BUILD@ \ 9@EFL_EINA_BUILD@ \
11@VALGRIND_CFLAGS@ 10@VALGRIND_CFLAGS@
12 11
diff --git a/libraries/eina/src/modules/mp/chained_pool/Makefile.in b/libraries/eina/src/modules/mp/chained_pool/Makefile.in
index 03b639f..78299a4 100644
--- a/libraries/eina/src/modules/mp/chained_pool/Makefile.in
+++ b/libraries/eina/src/modules/mp/chained_pool/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/chained_pool 37subdir = src/modules/mp/chained_pool
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EFL_EINA_BUILD@ \ 308@EFL_EINA_BUILD@ \
302@VALGRIND_CFLAGS@ 309@VALGRIND_CFLAGS@
303 310
diff --git a/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c b/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c
index 020d0ad..e56df4c 100644
--- a/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c
+++ b/libraries/eina/src/modules/mp/chained_pool/eina_chained_mempool.c
@@ -52,7 +52,7 @@
52#include "eina_private.h" 52#include "eina_private.h"
53 53
54#ifndef NVALGRIND 54#ifndef NVALGRIND
55# include <valgrind/memcheck.h> 55# include <memcheck.h>
56#endif 56#endif
57 57
58#if defined DEBUG || defined EINA_DEBUG_MALLOC 58#if defined DEBUG || defined EINA_DEBUG_MALLOC
diff --git a/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am
index 4a27b3e..242b446 100644
--- a/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am
+++ b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EMEMOA_CFLAGS@ \ 9@EMEMOA_CFLAGS@ \
11@EFL_EINA_BUILD@ 10@EFL_EINA_BUILD@
12 11
diff --git a/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in
index ccc4f1a..d16d123 100644
--- a/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in
+++ b/libraries/eina/src/modules/mp/ememoa_fixed/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/ememoa_fixed 37subdir = src/modules/mp/ememoa_fixed
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EMEMOA_CFLAGS@ \ 308@EMEMOA_CFLAGS@ \
302@EFL_EINA_BUILD@ 309@EFL_EINA_BUILD@
303 310
diff --git a/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am
index 2814e31..249541a 100644
--- a/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am
+++ b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EMEMOA_CFLAGS@ \ 9@EMEMOA_CFLAGS@ \
11@EFL_EINA_BUILD@ 10@EFL_EINA_BUILD@
12 11
diff --git a/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in
index 8b0ec6e..18a43a5 100644
--- a/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in
+++ b/libraries/eina/src/modules/mp/ememoa_unknown/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/ememoa_unknown 37subdir = src/modules/mp/ememoa_unknown
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EMEMOA_CFLAGS@ \ 308@EMEMOA_CFLAGS@ \
302@EFL_EINA_BUILD@ 309@EFL_EINA_BUILD@
303 310
diff --git a/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am
index caf239e..1f2527b 100644
--- a/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am
+++ b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EFL_EINA_BUILD@ 9@EFL_EINA_BUILD@
11 10
12controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH) 11controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH)
diff --git a/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in
index 337f820..2a6b782 100644
--- a/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in
+++ b/libraries/eina/src/modules/mp/fixed_bitmap/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/fixed_bitmap 37subdir = src/modules/mp/fixed_bitmap
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EFL_EINA_BUILD@ 308@EFL_EINA_BUILD@
302 309
303controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH) 310controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH)
diff --git a/libraries/eina/src/modules/mp/one_big/Makefile.am b/libraries/eina/src/modules/mp/one_big/Makefile.am
index 8ca1a62..35069a2 100644
--- a/libraries/eina/src/modules/mp/one_big/Makefile.am
+++ b/libraries/eina/src/modules/mp/one_big/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EFL_EINA_BUILD@ \ 9@EFL_EINA_BUILD@ \
11@VALGRIND_CFLAGS@ 10@VALGRIND_CFLAGS@
12 11
diff --git a/libraries/eina/src/modules/mp/one_big/Makefile.in b/libraries/eina/src/modules/mp/one_big/Makefile.in
index c8560c9..4a2c229 100644
--- a/libraries/eina/src/modules/mp/one_big/Makefile.in
+++ b/libraries/eina/src/modules/mp/one_big/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/one_big 37subdir = src/modules/mp/one_big
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EFL_EINA_BUILD@ \ 308@EFL_EINA_BUILD@ \
302@VALGRIND_CFLAGS@ 309@VALGRIND_CFLAGS@
303 310
diff --git a/libraries/eina/src/modules/mp/one_big/eina_one_big.c b/libraries/eina/src/modules/mp/one_big/eina_one_big.c
index dadec65..1159378 100644
--- a/libraries/eina/src/modules/mp/one_big/eina_one_big.c
+++ b/libraries/eina/src/modules/mp/one_big/eina_one_big.c
@@ -42,7 +42,7 @@
42#include "eina_lock.h" 42#include "eina_lock.h"
43 43
44#ifndef NVALGRIND 44#ifndef NVALGRIND
45# include <valgrind/memcheck.h> 45# include <memcheck.h>
46#endif 46#endif
47 47
48#include "eina_private.h" 48#include "eina_private.h"
diff --git a/libraries/eina/src/modules/mp/pass_through/Makefile.am b/libraries/eina/src/modules/mp/pass_through/Makefile.am
index 8f48974..33bd58c 100644
--- a/libraries/eina/src/modules/mp/pass_through/Makefile.am
+++ b/libraries/eina/src/modules/mp/pass_through/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS = \
6-I$(top_builddir)/src/include \ 6-I$(top_builddir)/src/include \
7-I$(top_srcdir)/src/lib \ 7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \ 8-I$(top_builddir)/src/lib \
9@EINA_CPPFLAGS@ \
10@EFL_EINA_BUILD@ 9@EFL_EINA_BUILD@
11 10
12controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH) 11controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH)
diff --git a/libraries/eina/src/modules/mp/pass_through/Makefile.in b/libraries/eina/src/modules/mp/pass_through/Makefile.in
index f5664be..5c84e6b 100644
--- a/libraries/eina/src/modules/mp/pass_through/Makefile.in
+++ b/libraries/eina/src/modules/mp/pass_through/Makefile.in
@@ -37,20 +37,24 @@ host_triplet = @host@
37subdir = src/modules/mp/pass_through 37subdir = src/modules/mp/pass_through
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
41 $(top_srcdir)/m4/efl_benchmark.m4 \ 41 $(top_srcdir)/m4/eina/eina_check.m4 \
42 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 42 $(top_srcdir)/m4/common/efl_attribute.m4 \
43 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 43 $(top_srcdir)/m4/common/efl_benchmark.m4 \
44 $(top_srcdir)/m4/efl_doxygen.m4 \ 44 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
45 $(top_srcdir)/m4/efl_examples.m4 \ 45 $(top_srcdir)/m4/common/efl_coverage.m4 \
46 $(top_srcdir)/m4/efl_fnmatch.m4 \ 46 $(top_srcdir)/m4/common/efl_cpu.m4 \
47 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 47 $(top_srcdir)/m4/common/efl_doxygen.m4 \
48 $(top_srcdir)/m4/efl_threads.m4 \ 48 $(top_srcdir)/m4/common/efl_examples.m4 \
49 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 49 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
50 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 50 $(top_srcdir)/m4/common/efl_path_max.m4 \
51 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 51 $(top_srcdir)/m4/common/efl_tests.m4 \
52 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 52 $(top_srcdir)/m4/common/efl_threads.m4 \
53 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 53 $(top_srcdir)/m4/common/efl_voltron.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
57 $(top_srcdir)/configure.ac
54am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 58am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55 $(ACLOCAL_M4) 59 $(ACLOCAL_M4)
56mkinstalldirs = $(install_sh) -d 60mkinstalldirs = $(install_sh) -d
@@ -166,13 +170,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
166EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 170EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
167EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 171EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
168EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 172EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
173EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
169EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 174EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
170EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 175EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
171EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 176EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
172EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 177EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
173EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 178EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
174EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 179EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
175EINA_CPPFLAGS = @EINA_CPPFLAGS@
176EINA_LIBS = @EINA_LIBS@ 180EINA_LIBS = @EINA_LIBS@
177EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 181EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
178EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 182EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -182,6 +186,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 191FGREP = @FGREP@
186GLIB_CFLAGS = @GLIB_CFLAGS@ 192GLIB_CFLAGS = @GLIB_CFLAGS@
187GLIB_LIBS = @GLIB_LIBS@ 193GLIB_LIBS = @GLIB_LIBS@
@@ -217,6 +223,8 @@ PACKAGE_URL = @PACKAGE_URL@
217PACKAGE_VERSION = @PACKAGE_VERSION@ 223PACKAGE_VERSION = @PACKAGE_VERSION@
218PATH_SEPARATOR = @PATH_SEPARATOR@ 224PATH_SEPARATOR = @PATH_SEPARATOR@
219PKG_CONFIG = @PKG_CONFIG@ 225PKG_CONFIG = @PKG_CONFIG@
226PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
227PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
220RANLIB = @RANLIB@ 228RANLIB = @RANLIB@
221SED = @SED@ 229SED = @SED@
222SET_MAKE = @SET_MAKE@ 230SET_MAKE = @SET_MAKE@
@@ -297,7 +305,6 @@ AM_CPPFLAGS = \
297-I$(top_builddir)/src/include \ 305-I$(top_builddir)/src/include \
298-I$(top_srcdir)/src/lib \ 306-I$(top_srcdir)/src/lib \
299-I$(top_builddir)/src/lib \ 307-I$(top_builddir)/src/lib \
300@EINA_CPPFLAGS@ \
301@EFL_EINA_BUILD@ 308@EFL_EINA_BUILD@
302 309
303controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH) 310controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH)
diff --git a/libraries/eina/src/tests/Makefile.am b/libraries/eina/src/tests/Makefile.am
index 7e05ba9..cf500f5 100644
--- a/libraries/eina/src/tests/Makefile.am
+++ b/libraries/eina/src/tests/Makefile.am
@@ -66,7 +66,8 @@ eina_test_strbuf.c \
66eina_test_str.c \ 66eina_test_str.c \
67eina_test_quadtree.c \ 67eina_test_quadtree.c \
68eina_test_simple_xml_parser.c \ 68eina_test_simple_xml_parser.c \
69eina_test_value.c 69eina_test_value.c \
70eina_test_model.c
70 71
71eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la -lm 72eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la -lm
72 73
diff --git a/libraries/eina/src/tests/Makefile.in b/libraries/eina/src/tests/Makefile.in
index c56211a..81e58ba 100644
--- a/libraries/eina/src/tests/Makefile.in
+++ b/libraries/eina/src/tests/Makefile.in
@@ -43,20 +43,24 @@ host_triplet = @host@
43subdir = src/tests 43subdir = src/tests
44DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 44DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 46am__aclocal_m4_deps = $(top_srcdir)/m4/eina/eina_bench.m4 \
47 $(top_srcdir)/m4/efl_benchmark.m4 \ 47 $(top_srcdir)/m4/eina/eina_check.m4 \
48 $(top_srcdir)/m4/efl_compiler_flag.m4 \ 48 $(top_srcdir)/m4/common/efl_attribute.m4 \
49 $(top_srcdir)/m4/efl_coverage.m4 $(top_srcdir)/m4/efl_cpu.m4 \ 49 $(top_srcdir)/m4/common/efl_benchmark.m4 \
50 $(top_srcdir)/m4/efl_doxygen.m4 \ 50 $(top_srcdir)/m4/common/efl_compiler_flag.m4 \
51 $(top_srcdir)/m4/efl_examples.m4 \ 51 $(top_srcdir)/m4/common/efl_coverage.m4 \
52 $(top_srcdir)/m4/efl_fnmatch.m4 \ 52 $(top_srcdir)/m4/common/efl_cpu.m4 \
53 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/efl_tests.m4 \ 53 $(top_srcdir)/m4/common/efl_doxygen.m4 \
54 $(top_srcdir)/m4/efl_threads.m4 \ 54 $(top_srcdir)/m4/common/efl_examples.m4 \
55 $(top_srcdir)/m4/efl_voltron.m4 $(top_srcdir)/m4/eina_bench.m4 \ 55 $(top_srcdir)/m4/common/efl_fnmatch.m4 \
56 $(top_srcdir)/m4/eina_check.m4 $(top_srcdir)/m4/libtool.m4 \ 56 $(top_srcdir)/m4/common/efl_path_max.m4 \
57 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 57 $(top_srcdir)/m4/common/efl_tests.m4 \
58 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 58 $(top_srcdir)/m4/common/efl_threads.m4 \
59 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac 59 $(top_srcdir)/m4/common/efl_voltron.m4 \
60 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
61 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
62 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
63 $(top_srcdir)/configure.ac
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 64am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61 $(ACLOCAL_M4) 65 $(ACLOCAL_M4)
62mkinstalldirs = $(install_sh) -d 66mkinstalldirs = $(install_sh) -d
@@ -159,7 +163,8 @@ am__eina_suite_SOURCES_DIST = eina_suite.c eina_test_fp.c \
159 eina_test_rectangle.c eina_test_list.c \ 163 eina_test_rectangle.c eina_test_list.c \
160 eina_test_matrixsparse.c eina_test_tiler.c eina_test_strbuf.c \ 164 eina_test_matrixsparse.c eina_test_tiler.c eina_test_strbuf.c \
161 eina_test_str.c eina_test_quadtree.c \ 165 eina_test_str.c eina_test_quadtree.c \
162 eina_test_simple_xml_parser.c eina_test_value.c 166 eina_test_simple_xml_parser.c eina_test_value.c \
167 eina_test_model.c
163@EFL_ENABLE_TESTS_TRUE@am_eina_suite_OBJECTS = eina_suite.$(OBJEXT) \ 168@EFL_ENABLE_TESTS_TRUE@am_eina_suite_OBJECTS = eina_suite.$(OBJEXT) \
164@EFL_ENABLE_TESTS_TRUE@ eina_test_fp.$(OBJEXT) \ 169@EFL_ENABLE_TESTS_TRUE@ eina_test_fp.$(OBJEXT) \
165@EFL_ENABLE_TESTS_TRUE@ eina_test_stringshare.$(OBJEXT) \ 170@EFL_ENABLE_TESTS_TRUE@ eina_test_stringshare.$(OBJEXT) \
@@ -195,7 +200,8 @@ am__eina_suite_SOURCES_DIST = eina_suite.c eina_test_fp.c \
195@EFL_ENABLE_TESTS_TRUE@ eina_test_str.$(OBJEXT) \ 200@EFL_ENABLE_TESTS_TRUE@ eina_test_str.$(OBJEXT) \
196@EFL_ENABLE_TESTS_TRUE@ eina_test_quadtree.$(OBJEXT) \ 201@EFL_ENABLE_TESTS_TRUE@ eina_test_quadtree.$(OBJEXT) \
197@EFL_ENABLE_TESTS_TRUE@ eina_test_simple_xml_parser.$(OBJEXT) \ 202@EFL_ENABLE_TESTS_TRUE@ eina_test_simple_xml_parser.$(OBJEXT) \
198@EFL_ENABLE_TESTS_TRUE@ eina_test_value.$(OBJEXT) 203@EFL_ENABLE_TESTS_TRUE@ eina_test_value.$(OBJEXT) \
204@EFL_ENABLE_TESTS_TRUE@ eina_test_model.$(OBJEXT)
199eina_suite_OBJECTS = $(am_eina_suite_OBJECTS) 205eina_suite_OBJECTS = $(am_eina_suite_OBJECTS)
200@EFL_ENABLE_TESTS_TRUE@eina_suite_DEPENDENCIES = \ 206@EFL_ENABLE_TESTS_TRUE@eina_suite_DEPENDENCIES = \
201@EFL_ENABLE_TESTS_TRUE@ $(top_builddir)/src/lib/libeina.la 207@EFL_ENABLE_TESTS_TRUE@ $(top_builddir)/src/lib/libeina.la
@@ -296,13 +302,13 @@ EINA_CONFIGURE_DEFAULT_MEMPOOL = @EINA_CONFIGURE_DEFAULT_MEMPOOL@
296EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@ 302EINA_CONFIGURE_ENABLE_LOG = @EINA_CONFIGURE_ENABLE_LOG@
297EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@ 303EINA_CONFIGURE_HAVE_DEBUG_THREADS = @EINA_CONFIGURE_HAVE_DEBUG_THREADS@
298EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@ 304EINA_CONFIGURE_HAVE_DIRENT_H = @EINA_CONFIGURE_HAVE_DIRENT_H@
305EINA_CONFIGURE_HAVE_EXOTIC = @EINA_CONFIGURE_HAVE_EXOTIC@
299EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@ 306EINA_CONFIGURE_HAVE_INTTYPES_H = @EINA_CONFIGURE_HAVE_INTTYPES_H@
300EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@ 307EINA_CONFIGURE_HAVE_ON_OFF_THREADS = @EINA_CONFIGURE_HAVE_ON_OFF_THREADS@
301EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@ 308EINA_CONFIGURE_HAVE_STDINT_H = @EINA_CONFIGURE_HAVE_STDINT_H@
302EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@ 309EINA_CONFIGURE_HAVE_THREADS = @EINA_CONFIGURE_HAVE_THREADS@
303EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@ 310EINA_CONFIGURE_MAGIC_DEBUG = @EINA_CONFIGURE_MAGIC_DEBUG@
304EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@ 311EINA_CONFIGURE_SAFETY_CHECKS = @EINA_CONFIGURE_SAFETY_CHECKS@
305EINA_CPPFLAGS = @EINA_CPPFLAGS@
306EINA_LIBS = @EINA_LIBS@ 312EINA_LIBS = @EINA_LIBS@
307EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@ 313EINA_SIZEOF_WCHAR_T = @EINA_SIZEOF_WCHAR_T@
308EMEMOA_CFLAGS = @EMEMOA_CFLAGS@ 314EMEMOA_CFLAGS = @EMEMOA_CFLAGS@
@@ -312,6 +318,8 @@ ESCAPE_LIBS = @ESCAPE_LIBS@
312EVIL_CFLAGS = @EVIL_CFLAGS@ 318EVIL_CFLAGS = @EVIL_CFLAGS@
313EVIL_LIBS = @EVIL_LIBS@ 319EVIL_LIBS = @EVIL_LIBS@
314EXEEXT = @EXEEXT@ 320EXEEXT = @EXEEXT@
321EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
322EXOTIC_LIBS = @EXOTIC_LIBS@
315FGREP = @FGREP@ 323FGREP = @FGREP@
316GLIB_CFLAGS = @GLIB_CFLAGS@ 324GLIB_CFLAGS = @GLIB_CFLAGS@
317GLIB_LIBS = @GLIB_LIBS@ 325GLIB_LIBS = @GLIB_LIBS@
@@ -347,6 +355,8 @@ PACKAGE_URL = @PACKAGE_URL@
347PACKAGE_VERSION = @PACKAGE_VERSION@ 355PACKAGE_VERSION = @PACKAGE_VERSION@
348PATH_SEPARATOR = @PATH_SEPARATOR@ 356PATH_SEPARATOR = @PATH_SEPARATOR@
349PKG_CONFIG = @PKG_CONFIG@ 357PKG_CONFIG = @PKG_CONFIG@
358PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
359PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
350RANLIB = @RANLIB@ 360RANLIB = @RANLIB@
351SED = @SED@ 361SED = @SED@
352SET_MAKE = @SET_MAKE@ 362SET_MAKE = @SET_MAKE@
@@ -465,7 +475,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/include \
465@EFL_ENABLE_TESTS_TRUE@eina_test_str.c \ 475@EFL_ENABLE_TESTS_TRUE@eina_test_str.c \
466@EFL_ENABLE_TESTS_TRUE@eina_test_quadtree.c \ 476@EFL_ENABLE_TESTS_TRUE@eina_test_quadtree.c \
467@EFL_ENABLE_TESTS_TRUE@eina_test_simple_xml_parser.c \ 477@EFL_ENABLE_TESTS_TRUE@eina_test_simple_xml_parser.c \
468@EFL_ENABLE_TESTS_TRUE@eina_test_value.c 478@EFL_ENABLE_TESTS_TRUE@eina_test_value.c \
479@EFL_ENABLE_TESTS_TRUE@eina_test_model.c
469 480
470@EFL_ENABLE_TESTS_TRUE@eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la -lm 481@EFL_ENABLE_TESTS_TRUE@eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la -lm
471@EFL_ENABLE_TESTS_TRUE@cxx_compile_test_SOURCES = cxx_compile_test.cxx 482@EFL_ENABLE_TESTS_TRUE@cxx_compile_test_SOURCES = cxx_compile_test.cxx
@@ -704,6 +715,7 @@ distclean-compile:
704@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_main.Po@am__quote@ 715@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_main.Po@am__quote@
705@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_matrixsparse.Po@am__quote@ 716@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_matrixsparse.Po@am__quote@
706@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_mempool.Po@am__quote@ 717@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_mempool.Po@am__quote@
718@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_model.Po@am__quote@
707@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_module.Po@am__quote@ 719@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_module.Po@am__quote@
708@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_quadtree.Po@am__quote@ 720@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_quadtree.Po@am__quote@
709@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_rbtree.Po@am__quote@ 721@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eina_test_rbtree.Po@am__quote@
diff --git a/libraries/eina/src/tests/eina_suite.c b/libraries/eina/src/tests/eina_suite.c
index 648a717..b34d016 100644
--- a/libraries/eina/src/tests/eina_suite.c
+++ b/libraries/eina/src/tests/eina_suite.c
@@ -68,6 +68,7 @@ static const Eina_Test_Case etc[] = {
68 { "Sched", eina_test_sched }, 68 { "Sched", eina_test_sched },
69 { "Simple Xml Parser", eina_test_simple_xml_parser}, 69 { "Simple Xml Parser", eina_test_simple_xml_parser},
70 { "Value", eina_test_value }, 70 { "Value", eina_test_value },
71 { "Model", eina_test_model },
71 { NULL, NULL } 72 { NULL, NULL }
72}; 73};
73 74
@@ -137,6 +138,8 @@ static void _mempool_init(void)
137static void _mempool_shutdown(void) 138static void _mempool_shutdown(void)
138{ 139{
139 eina_module_list_free(_modules); 140 eina_module_list_free(_modules);
141 if (_modules)
142 eina_array_free(_modules);
140 /* TODO delete the list */ 143 /* TODO delete the list */
141 eina_shutdown(); 144 eina_shutdown();
142} 145}
diff --git a/libraries/eina/src/tests/eina_suite.h b/libraries/eina/src/tests/eina_suite.h
index 6eaaec7..d399298 100644
--- a/libraries/eina/src/tests/eina_suite.h
+++ b/libraries/eina/src/tests/eina_suite.h
@@ -56,5 +56,6 @@ void eina_test_fp(TCase *tc);
56void eina_test_sched(TCase *tc); 56void eina_test_sched(TCase *tc);
57void eina_test_simple_xml_parser(TCase *tc); 57void eina_test_simple_xml_parser(TCase *tc);
58void eina_test_value(TCase *tc); 58void eina_test_value(TCase *tc);
59void eina_test_model(TCase *tc);
59 60
60#endif /* EINA_SUITE_H_ */ 61#endif /* EINA_SUITE_H_ */
diff --git a/libraries/eina/src/tests/eina_test_clist.c b/libraries/eina/src/tests/eina_test_clist.c
index 901c0e8..115afc2 100644
--- a/libraries/eina/src/tests/eina_test_clist.c
+++ b/libraries/eina/src/tests/eina_test_clist.c
@@ -6,7 +6,7 @@
6#include <string.h> 6#include <string.h>
7#include <assert.h> 7#include <assert.h>
8 8
9#include <Eina.h> 9#include "Eina.h"
10#include "eina_suite.h" 10#include "eina_suite.h"
11 11
12Eina_Clist string_list = EINA_CLIST_INIT(string_list); 12Eina_Clist string_list = EINA_CLIST_INIT(string_list);
diff --git a/libraries/eina/src/tests/eina_test_counter.c b/libraries/eina/src/tests/eina_test_counter.c
index 2a3f30d..4d956fd 100644
--- a/libraries/eina/src/tests/eina_test_counter.c
+++ b/libraries/eina/src/tests/eina_test_counter.c
@@ -27,6 +27,43 @@
27#include "Eina.h" 27#include "Eina.h"
28#include "eina_safety_checks.h" 28#include "eina_safety_checks.h"
29 29
30#ifdef EINA_SAFETY_CHECKS
31struct log_ctx {
32 const char *msg;
33 const char *fnc;
34 Eina_Bool did;
35};
36
37/* tests should not output on success, just uncomment this for debugging */
38//#define SHOW_LOG 1
39
40static void
41_eina_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
42{
43 struct log_ctx *ctx = data;
44 va_list cp_args;
45 const char *str;
46
47 va_copy(cp_args, args);
48 str = va_arg(cp_args, const char *);
49 va_end(cp_args);
50
51 ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR);
52 ck_assert_str_eq(fmt, "%s");
53 ck_assert_str_eq(ctx->msg, str);
54 ck_assert_str_eq(ctx->fnc, fnc);
55 ctx->did = EINA_TRUE;
56
57#ifdef SHOW_LOG
58 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
59#else
60 (void)d;
61 (void)file;
62 (void)line;
63#endif
64}
65#endif
66
30START_TEST(eina_counter_simple) 67START_TEST(eina_counter_simple)
31{ 68{
32 Eina_Counter *cnt; 69 Eina_Counter *cnt;
@@ -61,6 +98,7 @@ START_TEST(eina_counter_simple)
61 dump = eina_counter_dump(cnt); 98 dump = eina_counter_dump(cnt);
62 fail_if(!dump); 99 fail_if(!dump);
63 100
101 /* TODO: parse dump and check if it's right */
64 fprintf(stderr, "%s", dump); 102 fprintf(stderr, "%s", dump);
65 103
66 free(dump); 104 free(dump);
@@ -86,13 +124,65 @@ START_TEST(eina_counter_break)
86 124
87#ifdef EINA_SAFETY_CHECKS 125#ifdef EINA_SAFETY_CHECKS
88 { 126 {
127 struct log_ctx ctx;
89 char *dump; 128 char *dump;
90 129
130#define TEST_MAGIC_SAFETY(fn, _msg) \
131 ctx.msg = _msg; \
132 ctx.fnc = fn; \
133 ctx.did = EINA_FALSE
134
135 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
136
137#ifdef SHOW_LOG
91 fprintf(stderr, "you should have a safety check failure below:\n"); 138 fprintf(stderr, "you should have a safety check failure below:\n");
139#endif
140 TEST_MAGIC_SAFETY("eina_counter_new",
141 "safety check failed: name == NULL");
142 cnt = eina_counter_new(NULL);
143 fail_if(cnt);
144 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
145 fail_unless(ctx.did);
146
147#ifdef SHOW_LOG
148 fprintf(stderr, "you should have a safety check failure below:\n");
149#endif
150 TEST_MAGIC_SAFETY("eina_counter_free",
151 "safety check failed: counter == NULL");
152 eina_counter_free(NULL);
153 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
154 fail_unless(ctx.did);
155
156#ifdef SHOW_LOG
157 fprintf(stderr, "you should have a safety check failure below:\n");
158#endif
159 TEST_MAGIC_SAFETY("eina_counter_start",
160 "safety check failed: counter == NULL");
161 eina_counter_start(NULL);
162 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
163 fail_unless(ctx.did);
164
165#ifdef SHOW_LOG
166 fprintf(stderr, "you should have a safety check failure below:\n");
167#endif
168 TEST_MAGIC_SAFETY("eina_counter_stop",
169 "safety check failed: counter == NULL");
170 eina_counter_stop(NULL, 0);
171 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
172 fail_unless(ctx.did);
173
174
175#ifdef SHOW_LOG
176 fprintf(stderr, "you should have a safety check failure below:\n");
177#endif
178 TEST_MAGIC_SAFETY("eina_counter_dump",
179 "safety check failed: counter == NULL");
92 dump = eina_counter_dump(NULL); 180 dump = eina_counter_dump(NULL);
93 fail_if(dump); 181 fail_if(dump);
94 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED); 182 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
95 free(dump); 183 fail_unless(ctx.did);
184
185 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
96 } 186 }
97#endif 187#endif
98 188
diff --git a/libraries/eina/src/tests/eina_test_error.c b/libraries/eina/src/tests/eina_test_error.c
index 506f406..57f6950 100644
--- a/libraries/eina/src/tests/eina_test_error.c
+++ b/libraries/eina/src/tests/eina_test_error.c
@@ -33,6 +33,41 @@
33 33
34#define TEST_TEXT "The big test\n" 34#define TEST_TEXT "The big test\n"
35 35
36struct log_ctx {
37 const char *msg;
38 const char *fnc;
39 Eina_Bool did;
40};
41
42/* tests should not output on success, just uncomment this for debugging */
43//#define SHOW_LOG 1
44
45static void
46_eina_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
47{
48 struct log_ctx *ctx = data;
49 va_list cp_args;
50 const char *str;
51
52 va_copy(cp_args, args);
53 str = va_arg(cp_args, const char *);
54 va_end(cp_args);
55
56 ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR);
57 ck_assert_str_eq(fmt, "%s");
58 ck_assert_str_eq(ctx->msg, str);
59 ck_assert_str_eq(ctx->fnc, fnc);
60 ctx->did = EINA_TRUE;
61
62#ifdef SHOW_LOG
63 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
64#else
65 (void)d;
66 (void)file;
67 (void)line;
68#endif
69}
70
36START_TEST(eina_error_errno) 71START_TEST(eina_error_errno)
37{ 72{
38 int test; 73 int test;
@@ -52,8 +87,157 @@ START_TEST(eina_error_errno)
52} 87}
53END_TEST 88END_TEST
54 89
90START_TEST(eina_error_test_find)
91{
92 int test, r;
93 const char *str;
94
95 eina_init();
96
97 test = eina_error_msg_register(TEST_TEXT);
98 ck_assert_int_ne(test, 0);
99
100 str = eina_error_msg_get(test);
101 fail_unless(str != NULL);
102 ck_assert_str_eq(str, TEST_TEXT);
103
104 eina_error_set(test);
105 fail_if(eina_error_get() != test);
106
107 r = eina_error_find(TEST_TEXT);
108 ck_assert_int_eq(r, test);
109
110 eina_shutdown();
111}
112END_TEST
113
114START_TEST(eina_error_test_modify)
115{
116 int test, r;
117 const char *str, smsg[] = "Do not copy this string";
118
119 eina_init();
120
121 test = eina_error_msg_register("Some Test Error");
122 ck_assert_int_ne(test, 0);
123
124 str = eina_error_msg_get(test);
125 fail_unless(str != NULL);
126 ck_assert_str_eq(str, "Some Test Error");
127
128 eina_error_set(test);
129 fail_if(eina_error_get() != test);
130
131 fail_unless(eina_error_msg_modify(test, "ABCDE"));
132
133 r = eina_error_find("ABCDE");
134 ck_assert_int_eq(r, test);
135
136 test = eina_error_msg_static_register(smsg);
137 ck_assert_int_ne(test, 0);
138
139 str = eina_error_msg_get(test);
140 fail_unless(str != NULL);
141 fail_unless(str == smsg);
142
143 fail_unless(eina_error_msg_modify(test, "Change that!"));
144 r = eina_error_find("Change that!");
145 ck_assert_int_eq(r, test);
146
147 eina_shutdown();
148}
149END_TEST
150
151START_TEST(eina_error_test_lots)
152{
153 char buf[64];
154 int codes[512];
155 unsigned int i;
156
157 eina_init();
158
159 for (i = 0; i < sizeof(codes)/sizeof(codes[0]); i++)
160 {
161 snprintf(buf, sizeof(buf), "myerr-%d", i);
162 codes[i] = eina_error_msg_register(buf);
163 ck_assert_int_ne(codes[i], 0);
164 }
165
166 for (i = 0; i < sizeof(codes)/sizeof(codes[0]); i++)
167 {
168 int found;
169
170 snprintf(buf, sizeof(buf), "myerr-%d", i);
171
172 found = eina_error_find(buf);
173 ck_assert_int_eq(codes[i], found);
174 }
175
176 eina_shutdown();
177}
178END_TEST
179
180#ifdef EINA_SAFETY_CHECKS
181START_TEST(eina_error_test_failures)
182{
183 struct log_ctx ctx;
184
185 eina_init();
186
187 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
188
189#define TEST_MAGIC_SAFETY(fn, _msg) \
190 ctx.msg = _msg; \
191 ctx.fnc = fn; \
192 ctx.did = EINA_FALSE
193
194 TEST_MAGIC_SAFETY("eina_error_msg_register",
195 "safety check failed: msg == NULL");
196 ck_assert_int_eq(eina_error_msg_register(NULL), 0);
197 fail_unless(ctx.did);
198
199 TEST_MAGIC_SAFETY("eina_error_msg_static_register",
200 "safety check failed: msg == NULL");
201 ck_assert_int_eq(eina_error_msg_static_register(NULL), 0);
202 fail_unless(ctx.did);
203
204 ck_assert_int_eq(eina_error_msg_modify(0, "X"), EINA_FALSE);
205 ck_assert_int_eq(eina_error_msg_modify(4096, "X"), EINA_FALSE);
206
207 TEST_MAGIC_SAFETY("eina_error_msg_modify",
208 "safety check failed: msg == NULL");
209 ck_assert_int_eq(eina_error_msg_modify(EINA_ERROR_OUT_OF_MEMORY, NULL),
210 EINA_FALSE);
211 fail_unless(ctx.did);
212
213 ck_assert_str_eq(eina_error_msg_get(EINA_ERROR_OUT_OF_MEMORY),
214 "Out of memory");
215
216 TEST_MAGIC_SAFETY("eina_error_find",
217 "safety check failed: msg == NULL");
218 ck_assert_int_eq(eina_error_find(NULL), 0);
219 fail_unless(ctx.did);
220
221 ck_assert_int_eq(eina_error_find("Non-existent Error..."), 0);
222
223 fail_if(eina_error_msg_get(0));
224 fail_if(eina_error_msg_get(4096));
225
226 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
227
228 eina_shutdown();
229}
230END_TEST
231#endif
232
55void 233void
56eina_test_error(TCase *tc) 234eina_test_error(TCase *tc)
57{ 235{
58 tcase_add_test(tc, eina_error_errno); 236 tcase_add_test(tc, eina_error_errno);
237 tcase_add_test(tc, eina_error_test_find);
238 tcase_add_test(tc, eina_error_test_modify);
239 tcase_add_test(tc, eina_error_test_lots);
240#ifdef EINA_SAFETY_CHECKS
241 tcase_add_test(tc, eina_error_test_failures);
242#endif
59} 243}
diff --git a/libraries/eina/src/tests/eina_test_file.c b/libraries/eina/src/tests/eina_test_file.c
index 55e9976..a3ba998 100644
--- a/libraries/eina/src/tests/eina_test_file.c
+++ b/libraries/eina/src/tests/eina_test_file.c
@@ -28,6 +28,44 @@
28#include "Eina.h" 28#include "Eina.h"
29#include "eina_safety_checks.h" 29#include "eina_safety_checks.h"
30 30
31#ifdef EINA_SAFETY_CHECKS
32struct log_ctx {
33 const char *msg;
34 const char *fnc;
35 Eina_Bool did;
36};
37
38/* tests should not output on success, just uncomment this for debugging */
39//#define SHOW_LOG 1
40
41static void
42_eina_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
43{
44 struct log_ctx *ctx = data;
45 va_list cp_args;
46 const char *str;
47
48 va_copy(cp_args, args);
49 str = va_arg(cp_args, const char *);
50 va_end(cp_args);
51
52 ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR);
53 ck_assert_str_eq(fmt, "%s");
54 ck_assert_str_eq(ctx->msg, str);
55 ck_assert_str_eq(ctx->fnc, fnc);
56 ctx->did = EINA_TRUE;
57
58#ifdef SHOW_LOG
59 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
60#else
61 (void)d;
62 (void)file;
63 (void)line;
64#endif
65}
66#endif
67
68
31START_TEST(eina_file_split_simple) 69START_TEST(eina_file_split_simple)
32{ 70{
33 Eina_Array *ea; 71 Eina_Array *ea;
@@ -35,10 +73,26 @@ START_TEST(eina_file_split_simple)
35 eina_init(); 73 eina_init();
36 74
37#ifdef EINA_SAFETY_CHECKS 75#ifdef EINA_SAFETY_CHECKS
76#ifdef SHOW_LOG
38 fprintf(stderr, "you should have a safety check failure below:\n"); 77 fprintf(stderr, "you should have a safety check failure below:\n");
78#endif
79 struct log_ctx ctx;
80
81#define TEST_MAGIC_SAFETY(fn, _msg) \
82 ctx.msg = _msg; \
83 ctx.fnc = fn; \
84 ctx.did = EINA_FALSE
85
86 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
87
88 TEST_MAGIC_SAFETY("eina_file_split", "safety check failed: path == NULL");
39 ea = eina_file_split(NULL); 89 ea = eina_file_split(NULL);
40 fail_if(ea); 90 fail_if(ea);
41 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED); 91 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
92 fail_unless(ctx.did);
93
94 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
95#undef TEST_MAGIC_SAFETY
42#endif 96#endif
43 97
44#ifdef _WIN32 98#ifdef _WIN32
diff --git a/libraries/eina/src/tests/eina_test_inlist.c b/libraries/eina/src/tests/eina_test_inlist.c
index c27f393..a8631e7 100644
--- a/libraries/eina/src/tests/eina_test_inlist.c
+++ b/libraries/eina/src/tests/eina_test_inlist.c
@@ -34,6 +34,43 @@ struct _Eina_Test_Inlist
34 EINA_INLIST; 34 EINA_INLIST;
35}; 35};
36 36
37#ifdef EINA_SAFETY_CHECKS
38struct log_ctx {
39 const char *msg;
40 const char *fnc;
41 Eina_Bool did;
42};
43
44/* tests should not output on success, just uncomment this for debugging */
45//#define SHOW_LOG 1
46
47static void
48_eina_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
49{
50 struct log_ctx *ctx = data;
51 va_list cp_args;
52 const char *str;
53
54 va_copy(cp_args, args);
55 str = va_arg(cp_args, const char *);
56 va_end(cp_args);
57
58 ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR);
59 ck_assert_str_eq(fmt, "%s");
60 ck_assert_str_eq(ctx->msg, str);
61 ck_assert_str_eq(ctx->fnc, fnc);
62 ctx->did = EINA_TRUE;
63
64#ifdef SHOW_LOG
65 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
66#else
67 (void)d;
68 (void)file;
69 (void)line;
70#endif
71}
72#endif
73
37static Eina_Test_Inlist * 74static Eina_Test_Inlist *
38_eina_test_inlist_build(int i) 75_eina_test_inlist_build(int i)
39{ 76{
@@ -52,6 +89,10 @@ START_TEST(eina_inlist_simple)
52 Eina_Test_Inlist *tmp; 89 Eina_Test_Inlist *tmp;
53 Eina_Test_Inlist *prev; 90 Eina_Test_Inlist *prev;
54 int i = 0; 91 int i = 0;
92#ifdef EINA_SAFETY_CHECKS
93 Eina_Inlist *bkp;
94 struct log_ctx ctx;
95#endif
55 96
56 fail_if(!eina_init()); 97 fail_if(!eina_init());
57 98
@@ -106,16 +147,142 @@ START_TEST(eina_inlist_simple)
106 } 147 }
107 148
108#ifdef EINA_SAFETY_CHECKS 149#ifdef EINA_SAFETY_CHECKS
150 bkp = lst;
151 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
152
153#define TEST_MAGIC_SAFETY(fn, _msg) \
154 ctx.msg = _msg; \
155 ctx.fnc = fn; \
156 ctx.did = EINA_FALSE
157
158#ifdef SHOW_LOG
109 fprintf(stderr, "you should have a safety check failure below:\n"); 159 fprintf(stderr, "you should have a safety check failure below:\n");
160#endif
110 { 161 {
111 Eina_Inlist *tmp2 = eina_inlist_remove(NULL, EINA_INLIST_GET(tmp)); 162 Eina_Inlist *tmp2;
163
164 TEST_MAGIC_SAFETY("eina_inlist_remove",
165 "safety check failed: list == NULL");
166
167 tmp2 = eina_inlist_remove(NULL, EINA_INLIST_GET(tmp));
112 fail_if(tmp2 != NULL); 168 fail_if(tmp2 != NULL);
113 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED); 169 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
170 fail_unless(ctx.did);
114 } 171 }
115 172
116 fprintf(stderr, "you should have a safety check failure below:\n"); 173#ifdef SHOW_LOG
174 fprintf(stderr, "you should have a safety check failure below:\n");
175#endif
176 TEST_MAGIC_SAFETY("eina_inlist_remove",
177 "safety check failed: item == NULL");
117 lst = eina_inlist_remove(lst, NULL); 178 lst = eina_inlist_remove(lst, NULL);
118 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED); 179 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
180 fail_unless(ctx.did);
181
182#ifdef SHOW_LOG
183 fprintf(stderr, "you should have a safety check failure below:\n");
184#endif
185 TEST_MAGIC_SAFETY("eina_inlist_append",
186 "safety check failed: new_l == NULL");
187 lst = eina_inlist_append(lst, NULL);
188 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
189 fail_unless(ctx.did);
190
191#ifdef SHOW_LOG
192 fprintf(stderr, "you should have a safety check failure below:\n");
193#endif
194 TEST_MAGIC_SAFETY("eina_inlist_append_relative",
195 "safety check failed: new_l == NULL");
196 lst = eina_inlist_append_relative(lst, NULL, NULL);
197 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
198 fail_unless(ctx.did);
199
200#ifdef SHOW_LOG
201 fprintf(stderr, "you should have a safety check failure below:\n");
202#endif
203 TEST_MAGIC_SAFETY("eina_inlist_prepend",
204 "safety check failed: new_l == NULL");
205 lst = eina_inlist_prepend(lst, NULL);
206 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
207 fail_unless(ctx.did);
208
209#ifdef SHOW_LOG
210 fprintf(stderr, "you should have a safety check failure below:\n");
211#endif
212 TEST_MAGIC_SAFETY("eina_inlist_prepend_relative",
213 "safety check failed: new_l == NULL");
214 lst = eina_inlist_prepend_relative(lst, NULL, NULL);
215 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
216 fail_unless(ctx.did);
217
218#ifdef SHOW_LOG
219 fprintf(stderr, "you should have a safety check failure below:\n");
220#endif
221 TEST_MAGIC_SAFETY("eina_inlist_find",
222 "safety check failed: item == NULL");
223 lst = eina_inlist_find(lst, NULL);
224 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
225 fail_unless(ctx.did);
226
227#ifdef SHOW_LOG
228 fprintf(stderr, "you should have a safety check failure below:\n");
229#endif
230 TEST_MAGIC_SAFETY("eina_inlist_demote",
231 "safety check failed: list == NULL");
232 lst = eina_inlist_demote(NULL, NULL);
233 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
234 fail_unless(ctx.did);
235
236#ifdef SHOW_LOG
237 fprintf(stderr, "you should have a safety check failure below:\n");
238#endif
239 TEST_MAGIC_SAFETY("eina_inlist_demote",
240 "safety check failed: item == NULL");
241 lst = eina_inlist_demote((void*)1L, NULL);
242 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
243 fail_unless(ctx.did);
244 lst = NULL;
245
246#ifdef SHOW_LOG
247 fprintf(stderr, "you should have a safety check failure below:\n");
248#endif
249 TEST_MAGIC_SAFETY("eina_inlist_promote",
250 "safety check failed: list == NULL");
251 lst = eina_inlist_promote(NULL, NULL);
252 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
253 fail_unless(ctx.did);
254
255#ifdef SHOW_LOG
256 fprintf(stderr, "you should have a safety check failure below:\n");
257#endif
258 TEST_MAGIC_SAFETY("eina_inlist_promote",
259 "safety check failed: item == NULL");
260 lst = eina_inlist_promote((void*)1L, NULL);
261 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
262 fail_unless(ctx.did);
263 lst = NULL;
264
265#ifdef SHOW_LOG
266 fprintf(stderr, "you should have a safety check failure below:\n");
267#endif
268 TEST_MAGIC_SAFETY("eina_inlist_sorted_insert",
269 "safety check failed: item == NULL");
270 lst = eina_inlist_sorted_insert(NULL, NULL, NULL);
271 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
272 fail_unless(ctx.did);
273
274#ifdef SHOW_LOG
275 fprintf(stderr, "you should have a safety check failure below:\n");
276#endif
277 TEST_MAGIC_SAFETY("eina_inlist_sorted_insert",
278 "safety check failed: func == NULL");
279 lst = eina_inlist_sorted_insert(NULL, (void*)1L, NULL);
280 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
281 fail_unless(ctx.did);
282 lst = NULL;
283
284 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
285 lst = bkp;
119#endif 286#endif
120 287
121 tmp = EINA_INLIST_CONTAINER_GET(lst, Eina_Test_Inlist); 288 tmp = EINA_INLIST_CONTAINER_GET(lst, Eina_Test_Inlist);
diff --git a/libraries/eina/src/tests/eina_test_list.c b/libraries/eina/src/tests/eina_test_list.c
index 6e08847..ce70d03 100644
--- a/libraries/eina/src/tests/eina_test_list.c
+++ b/libraries/eina/src/tests/eina_test_list.c
@@ -338,10 +338,50 @@ START_TEST(eina_test_sorted_insert)
338} 338}
339END_TEST 339END_TEST
340 340
341START_TEST(eina_test_list_split)
342{
343 Eina_List *left = NULL, *right = NULL ;
344 Eina_List *list = NULL;
345 Eina_List *l;
346 void *list_data;
347 int i;
348
349 eina_init();
350
351 list = eina_list_append(list, "tigh");
352 list = eina_list_append(list, "adar");
353 list = eina_list_append(list, "baltar");
354 list = eina_list_append(list, "roslin");
355 list = eina_list_append(list, "baltar");
356 list = eina_list_append(list, "roslin");
357 list = eina_list_append(list, "baltar");
358 list = eina_list_append(list, "roslin");
359
360 fail_if(list == NULL);
361 fail_if(eina_list_count(list) != 8);
362
363 for ( i = 0; i < 200; i++)
364 {
365 left = eina_list_split_list(list, eina_list_nth_list(list, i % 2), &right);
366
367 if (i % 2 == 0)
368 fail_if(eina_list_count(left) == 1 && eina_list_count(right) + eina_list_count(left) == i + 7);
369 else
370 fail_if(eina_list_count(left) == 2 && eina_list_count(right) + eina_list_count(left) == i + 7);
371
372 list = eina_list_merge(left, right);
373 list = eina_list_append(list, "roslin");
374 }
375
376 eina_shutdown();
377}
378END_TEST
379
341void 380void
342eina_test_list(TCase *tc) 381eina_test_list(TCase *tc)
343{ 382{
344 tcase_add_test(tc, eina_test_simple); 383 tcase_add_test(tc, eina_test_simple);
345 tcase_add_test(tc, eina_test_merge); 384 tcase_add_test(tc, eina_test_merge);
346 tcase_add_test(tc, eina_test_sorted_insert); 385 tcase_add_test(tc, eina_test_sorted_insert);
386 tcase_add_test(tc, eina_test_list_split);
347} 387}
diff --git a/libraries/eina/src/tests/eina_test_log.c b/libraries/eina/src/tests/eina_test_log.c
index ba17d5f..e0f0363 100644
--- a/libraries/eina/src/tests/eina_test_log.c
+++ b/libraries/eina/src/tests/eina_test_log.c
@@ -27,18 +27,119 @@
27#include "eina_suite.h" 27#include "eina_suite.h"
28#include "Eina.h" 28#include "Eina.h"
29 29
30 START_TEST(eina_log_macro) 30struct log_ctx {
31 int level;
32 int line;
33 const char *msg;
34 const char *fnc;
35 const char *dom;
36 Eina_Bool did;
37};
38
39/* tests should not output on success, just uncomment this for debugging */
40//#define SHOW_LOG 1
41
42static void
43_eina_test_log(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
31{ 44{
45 struct log_ctx *ctx = data;
46 ck_assert_int_eq(ctx->level, level);
47 ck_assert_int_eq(ctx->line, line);
48 ck_assert_str_eq(ctx->msg, fmt);
49 ck_assert_str_eq(ctx->fnc, fnc);
50 ck_assert_str_eq(file, __FILE__);
51 ctx->did = EINA_TRUE;
52#ifdef SHOW_LOG
53 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
54#else
55 (void)d;
56#endif
57}
58
59static void
60_eina_test_log_domain(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
61{
62 struct log_ctx *ctx = data;
63 ck_assert_int_eq(ctx->level, level);
64 ck_assert_int_eq(ctx->line, line);
65 ck_assert_str_eq(ctx->msg, fmt);
66 ck_assert_str_eq(ctx->fnc, fnc);
67 ck_assert_str_eq(file, __FILE__);
68 ck_assert_str_eq(ctx->dom, d->name);
69 ctx->did = EINA_TRUE;
70#ifdef SHOW_LOG
71 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
72#endif
73}
74
75static void
76_eina_test_log_safety(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
77{
78 struct log_ctx *ctx = data;
79 va_list cp_args;
80 const char *str;
81
82 va_copy(cp_args, args);
83 str = va_arg(cp_args, const char *);
84 va_end(cp_args);
85
86 ck_assert_int_eq(ctx->level, level);
87 ck_assert_str_eq(fmt, "%s");
88 ck_assert_str_eq(ctx->msg, str);
89 ck_assert_str_eq(ctx->fnc, fnc);
90 ctx->did = EINA_TRUE;
91
92#ifdef SHOW_LOG
93 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
94#else
95 (void)d;
96 (void)file;
97 (void)line;
98#endif
99}
100
101START_TEST(eina_log_macro)
102{
103 struct log_ctx ctx;
104 int oldlevel;
105
32 fail_if(!eina_init()); 106 fail_if(!eina_init());
33 107
108 oldlevel = eina_log_level_get();
34 eina_log_level_set(EINA_LOG_LEVEL_DBG); 109 eina_log_level_set(EINA_LOG_LEVEL_DBG);
35 eina_log_print_cb_set(eina_log_print_cb_file, stderr); 110 eina_log_print_cb_set(_eina_test_log, &ctx);
111
112#define TEST_LOG_CTX(lvl, _msg) \
113 ctx.level = lvl; \
114 ctx.line = __LINE__ + 1; \
115 ctx.msg = _msg; \
116 ctx.fnc = __FUNCTION__; \
117 ctx.did = EINA_FALSE
118
119 TEST_LOG_CTX(EINA_LOG_LEVEL_CRITICAL, "Critical message");
120 EINA_LOG_CRIT("Critical message");
121 fail_unless(ctx.did);
122
123 TEST_LOG_CTX(EINA_LOG_LEVEL_ERR, "An error");
124 EINA_LOG_ERR("An error");
125 fail_unless(ctx.did);
36 126
37 EINA_LOG_CRIT("Critical message\n"); 127 TEST_LOG_CTX(EINA_LOG_LEVEL_WARN, "A warning");
38 EINA_LOG_ERR("An error\n"); 128 EINA_LOG_WARN("A warning");
39 EINA_LOG_INFO("An info\n"); 129 fail_unless(ctx.did);
40 EINA_LOG_WARN("A warning\n"); 130
41 EINA_LOG_DBG("A debug\n"); 131 TEST_LOG_CTX(EINA_LOG_LEVEL_INFO, "An info");
132 EINA_LOG_INFO("An info");
133 fail_unless(ctx.did);
134
135 TEST_LOG_CTX(EINA_LOG_LEVEL_DBG, "A debug");
136 EINA_LOG_DBG("A debug");
137 fail_unless(ctx.did);
138
139#undef TEST_LOG_CTX
140
141 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
142 eina_log_level_set(oldlevel);
42 143
43 eina_shutdown(); 144 eina_shutdown();
44} 145}
@@ -46,16 +147,54 @@ END_TEST
46 147
47START_TEST(eina_log_domains_macros) 148START_TEST(eina_log_domains_macros)
48{ 149{
150 struct log_ctx ctx;
151 int oldlevel;
152
49 fail_if(!eina_init()); 153 fail_if(!eina_init());
50 154
155 /* make global log level blocker */
156 oldlevel = eina_log_level_get();
157 eina_log_level_set(EINA_LOG_LEVEL_CRITICAL);
158 eina_log_print_cb_set(_eina_test_log_domain, &ctx);
159
51 int d = eina_log_domain_register("MyDomain", EINA_COLOR_GREEN); 160 int d = eina_log_domain_register("MyDomain", EINA_COLOR_GREEN);
52 fail_if(d < 0); 161 fail_if(d < 0);
53 162
54 EINA_LOG_DOM_CRIT(d, "A critical message\n"); 163 /* make specific domain permissive */
55 EINA_LOG_DOM_ERR(d, "An error\n"); 164 eina_log_domain_level_set("MyDomain", EINA_LOG_LEVEL_DBG);
56 EINA_LOG_DOM_WARN(d, "A warning\n"); 165
57 EINA_LOG_DOM_DBG(d, "A debug\n"); 166#define TEST_LOG_CTX(lvl, _msg) \
58 EINA_LOG_DOM_INFO(d, "An info\n"); 167 ctx.level = lvl; \
168 ctx.line = __LINE__ + 1; \
169 ctx.msg = _msg; \
170 ctx.fnc = __FUNCTION__; \
171 ctx.dom = "MyDomain"; \
172 ctx.did = EINA_FALSE
173
174 TEST_LOG_CTX(EINA_LOG_LEVEL_CRITICAL, "A critical message");
175 EINA_LOG_DOM_CRIT(d, "A critical message");
176 fail_unless(ctx.did);
177
178 TEST_LOG_CTX(EINA_LOG_LEVEL_ERR, "An error");
179 EINA_LOG_DOM_ERR(d, "An error");
180 fail_unless(ctx.did);
181
182 TEST_LOG_CTX(EINA_LOG_LEVEL_WARN, "A warning");
183 EINA_LOG_DOM_WARN(d, "A warning");
184 fail_unless(ctx.did);
185
186 TEST_LOG_CTX(EINA_LOG_LEVEL_INFO, "An info");
187 EINA_LOG_DOM_INFO(d, "An info");
188 fail_unless(ctx.did);
189
190 TEST_LOG_CTX(EINA_LOG_LEVEL_DBG, "A debug");
191 EINA_LOG_DOM_DBG(d, "A debug");
192 fail_unless(ctx.did);
193
194#undef TEST_LOG_CTX
195
196 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
197 eina_log_level_set(oldlevel);
59 198
60 eina_shutdown(); 199 eina_shutdown();
61} 200}
@@ -120,6 +259,8 @@ END_TEST
120 259
121START_TEST(eina_log_level_indexes) 260START_TEST(eina_log_level_indexes)
122{ 261{
262 struct log_ctx ctx;
263
123 fail_if(!eina_init()); 264 fail_if(!eina_init());
124 fail_if(!eina_threads_init()); 265 fail_if(!eina_threads_init());
125 fail_if(!eina_threads_init()); 266 fail_if(!eina_threads_init());
@@ -127,11 +268,41 @@ START_TEST(eina_log_level_indexes)
127 int d = eina_log_domain_register("Levels", EINA_COLOR_GREEN); 268 int d = eina_log_domain_register("Levels", EINA_COLOR_GREEN);
128 fail_if(d < 0); 269 fail_if(d < 0);
129 270
271 eina_log_print_cb_set(_eina_test_log_domain, &ctx);
272
273#define TEST_LOG_CTX(lvl, _msg) \
274 ctx.level = lvl; \
275 ctx.line = __LINE__ + 1; \
276 ctx.msg = _msg; \
277 ctx.fnc = __FUNCTION__; \
278 ctx.dom = "Levels"; \
279 ctx.did = EINA_FALSE;
280
130 // Displayed unless user sets level lower than -1 281 // Displayed unless user sets level lower than -1
131 EINA_LOG(d, -1, "Negative index message\n"); 282 eina_log_domain_level_set("Levels", -1);
283 TEST_LOG_CTX(-1, "Negative index message");
284 EINA_LOG(d, -1, "Negative index message");
285 fail_unless(ctx.did);
286
287 eina_log_domain_level_set("Levels", -2);
288 TEST_LOG_CTX(-1, "Negative index message");
289 EINA_LOG(d, -1, "Negative index message");
290 fail_if(ctx.did);
132 291
133 // Displayed only if user sets level 6 or higher 292 // Displayed only if user sets level 6 or higher
134 EINA_LOG(d, 6, "Higher level debug\n"); 293 eina_log_domain_level_set("Levels", 6);
294 TEST_LOG_CTX(6, "Higher level debug");
295 EINA_LOG(d, 6, "Higher level debug");
296 fail_unless(ctx.did);
297
298 eina_log_domain_level_set("Levels", 5);
299 TEST_LOG_CTX(6, "Higher level debug");
300 EINA_LOG(d, 6, "Higher level debug");
301 fail_if(ctx.did);
302
303#undef TEST_LOG_CTX
304
305 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
135 306
136 eina_threads_shutdown(); 307 eina_threads_shutdown();
137 eina_threads_shutdown(); 308 eina_threads_shutdown();
@@ -141,6 +312,7 @@ END_TEST
141 312
142START_TEST(eina_log_customize) 313START_TEST(eina_log_customize)
143{ 314{
315 struct log_ctx ctx;
144 int d; 316 int d;
145 317
146 /* please don't define EINA_LOG_LEVELS for it */ 318 /* please don't define EINA_LOG_LEVELS for it */
@@ -182,11 +354,28 @@ START_TEST(eina_log_customize)
182 fail_if(eina_log_domain_registered_level_get(d) != 890); 354 fail_if(eina_log_domain_registered_level_get(d) != 890);
183 355
184 eina_log_domain_unregister(d); 356 eina_log_domain_unregister(d);
357
358#ifdef EINA_SAFETY_CHECKS
359#ifdef SHOW_LOG
185 fputs("NOTE: You should see a failed safety check or " 360 fputs("NOTE: You should see a failed safety check or "
186 "a crash if compiled without safety checks support.\n", 361 "a crash if compiled without safety checks support.\n",
187 stderr); 362 stderr);
363#endif
188 eina_log_abort_on_critical_set(EINA_FALSE); 364 eina_log_abort_on_critical_set(EINA_FALSE);
365 eina_log_function_disable_set(EINA_FALSE);
366
367 eina_log_print_cb_set(_eina_test_log_safety, &ctx);
368 ctx.level = EINA_LOG_LEVEL_ERR;
369 ctx.msg = "safety check failed: _log_domains[domain].deleted is true";
370 ctx.fnc = "eina_log_domain_registered_level_get";
371 ctx.did = EINA_FALSE;
189 fail_if(eina_log_domain_registered_level_get(d) != EINA_LOG_LEVEL_UNKNOWN); 372 fail_if(eina_log_domain_registered_level_get(d) != EINA_LOG_LEVEL_UNKNOWN);
373 fail_unless(ctx.did);
374
375 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
376#else
377#warning "Compiled without safety checks"
378#endif
190 379
191#undef test_set_get_bool 380#undef test_set_get_bool
192#undef test_set_get 381#undef test_set_get
diff --git a/libraries/eina/src/tests/eina_test_magic.c b/libraries/eina/src/tests/eina_test_magic.c
index d2c3d49..d0a374e 100644
--- a/libraries/eina/src/tests/eina_test_magic.c
+++ b/libraries/eina/src/tests/eina_test_magic.c
@@ -40,21 +40,95 @@ struct _Eina_Magic_Struct
40 EINA_MAGIC 40 EINA_MAGIC
41}; 41};
42 42
43struct log_ctx {
44 const char *msg;
45 const char *fnc;
46 Eina_Bool did;
47};
48
49/* tests should not output on success, just uncomment this for debugging */
50//#define SHOW_LOG 1
51
52static void
53_eina_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
54{
55 struct log_ctx *ctx = data;
56 va_list cp_args;
57 const char *str;
58
59 va_copy(cp_args, args);
60 str = va_arg(cp_args, const char *);
61 va_end(cp_args);
62
63 ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR);
64 ck_assert_str_eq(fmt, "%s");
65 ck_assert_str_eq(ctx->msg, str);
66 ck_assert_str_eq(ctx->fnc, fnc);
67 ctx->did = EINA_TRUE;
68
69#ifdef SHOW_LOG
70 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
71#else
72 (void)d;
73 (void)file;
74 (void)line;
75#endif
76}
77
78static void
79_eina_test_magic_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
80{
81 struct log_ctx *ctx = data;
82
83 ck_assert_int_eq(level, EINA_LOG_LEVEL_CRITICAL);
84 ck_assert_str_eq(ctx->msg, fmt);
85 ck_assert_str_eq(ctx->fnc, fnc);
86 ctx->did = EINA_TRUE;
87
88#ifdef SHOW_LOG
89 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
90#else
91 (void)d;
92 (void)file;
93 (void)line;
94#endif
95}
96
97#ifdef EINA_SAFETY_CHECKS
98#define TEST_MAGIC_SAFETY(fn, _msg) \
99 ctx.msg = _msg; \
100 ctx.fnc = fn; \
101 ctx.did = EINA_FALSE
102#endif
103
43START_TEST(eina_magic_simple) 104START_TEST(eina_magic_simple)
44{ 105{
45 Eina_Magic_Struct *ems = NULL; 106 Eina_Magic_Struct *ems = NULL;
107 struct log_ctx ctx;
46 108
47 eina_init(); 109 eina_init();
48 110
111 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
112
49 eina_magic_string_set(EINA_MAGIC_TEST, EINA_MAGIC_STRING); 113 eina_magic_string_set(EINA_MAGIC_TEST, EINA_MAGIC_STRING);
50 114
51#ifdef EINA_SAFETY_CHECKS 115#ifdef EINA_SAFETY_CHECKS
116#ifdef SHOW_LOG
52 fprintf(stderr, "you should have a safety check failure below:\n"); 117 fprintf(stderr, "you should have a safety check failure below:\n");
118#endif
119 TEST_MAGIC_SAFETY("eina_magic_string_set",
120 "safety check failed: magic_name == NULL");
53 eina_magic_string_set(EINA_MAGIC_TEST2, NULL); 121 eina_magic_string_set(EINA_MAGIC_TEST2, NULL);
54 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED); 122 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
123 fail_unless(ctx.did);
55 124
125#ifdef SHOW_LOG
56 fprintf(stderr, "you should have a safety check failure below:\n"); 126 fprintf(stderr, "you should have a safety check failure below:\n");
127#endif
128 TEST_MAGIC_SAFETY("eina_magic_string_set",
129 "safety check failed: magic_name == NULL");
57 eina_magic_string_set(EINA_MAGIC_TEST2, NULL); 130 eina_magic_string_set(EINA_MAGIC_TEST2, NULL);
131 fail_unless(ctx.did);
58 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED); 132 fail_if(eina_error_get() != EINA_ERROR_SAFETY_FAILED);
59#endif 133#endif
60 134
@@ -64,10 +138,22 @@ START_TEST(eina_magic_simple)
64 fail_if(strcmp(eina_magic_string_get( 138 fail_if(strcmp(eina_magic_string_get(
65 EINA_MAGIC_TEST), EINA_MAGIC_STRING) != 0); 139 EINA_MAGIC_TEST), EINA_MAGIC_STRING) != 0);
66 140
141 eina_log_print_cb_set(_eina_test_magic_print_cb, &ctx);
142
67#ifdef EINA_MAGIC_DEBUG 143#ifdef EINA_MAGIC_DEBUG
68 fail_if(EINA_MAGIC_CHECK(ems, EINA_MAGIC_TEST)); 144 fail_if(EINA_MAGIC_CHECK(ems, EINA_MAGIC_TEST));
145#ifdef SHOW_LOG
69 fprintf(stderr, "you should see 'Input handle pointer is NULL' below\n"); 146 fprintf(stderr, "you should see 'Input handle pointer is NULL' below\n");
147#endif
148 TEST_MAGIC_SAFETY(__FUNCTION__,
149 "*** Eina Magic Check Failed !!!\n"
150 " Input handle pointer is NULL !\n"
151 "*** NAUGHTY PROGRAMMER!!!\n"
152 "*** SPANK SPANK SPANK!!!\n"
153 "*** Now go fix your code. Tut tut tut!\n"
154 "\n");
70 EINA_MAGIC_FAIL(ems, EINA_MAGIC_TEST); 155 EINA_MAGIC_FAIL(ems, EINA_MAGIC_TEST);
156 fail_unless(ctx.did);
71 157
72 ems = malloc(sizeof (Eina_Magic_Struct)); 158 ems = malloc(sizeof (Eina_Magic_Struct));
73 fail_if(!ems); 159 fail_if(!ems);
@@ -76,15 +162,39 @@ START_TEST(eina_magic_simple)
76 fail_if(!EINA_MAGIC_CHECK(ems, EINA_MAGIC_TEST)); 162 fail_if(!EINA_MAGIC_CHECK(ems, EINA_MAGIC_TEST));
77 163
78 EINA_MAGIC_SET(ems, EINA_MAGIC_NONE); 164 EINA_MAGIC_SET(ems, EINA_MAGIC_NONE);
165#ifdef SHOW_LOG
79 fprintf(stderr, 166 fprintf(stderr,
80 "you should see 'Input handle has already been freed' below\n"); 167 "you should see 'Input handle has already been freed' below\n");
168#endif
169 TEST_MAGIC_SAFETY(__FUNCTION__,
170 "*** Eina Magic Check Failed !!!\n"
171 " Input handle has already been freed!\n"
172 "*** NAUGHTY PROGRAMMER!!!\n"
173 "*** SPANK SPANK SPANK!!!\n"
174 "*** Now go fix your code. Tut tut tut!\n"
175 "\n");
81 EINA_MAGIC_FAIL(ems, EINA_MAGIC_TEST); 176 EINA_MAGIC_FAIL(ems, EINA_MAGIC_TEST);
177 fail_unless(ctx.did);
82 178
83 EINA_MAGIC_SET(ems, 42424242); 179 EINA_MAGIC_SET(ems, 42424242);
180#ifdef SHOW_LOG
84 fprintf(stderr, "you should see 'Input handle is wrong type' below\n"); 181 fprintf(stderr, "you should see 'Input handle is wrong type' below\n");
182#endif
183 TEST_MAGIC_SAFETY(__FUNCTION__,
184 "*** Eina Magic Check Failed !!!\n"
185 " Input handle is wrong type\n"
186 " Expected: %08x - %s\n"
187 " Supplied: %08x - %s\n"
188 "*** NAUGHTY PROGRAMMER!!!\n"
189 "*** SPANK SPANK SPANK!!!\n"
190 "*** Now go fix your code. Tut tut tut!\n"
191 "\n");
85 EINA_MAGIC_FAIL(ems, EINA_MAGIC_TEST); 192 EINA_MAGIC_FAIL(ems, EINA_MAGIC_TEST);
193 fail_unless(ctx.did);
86#endif 194#endif
87 195
196 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
197
88 eina_shutdown(); 198 eina_shutdown();
89} 199}
90END_TEST 200END_TEST
diff --git a/libraries/eina/src/tests/eina_test_simple_xml_parser.c b/libraries/eina/src/tests/eina_test_simple_xml_parser.c
index 94e6a2a..7093019 100644
--- a/libraries/eina/src/tests/eina_test_simple_xml_parser.c
+++ b/libraries/eina/src/tests/eina_test_simple_xml_parser.c
@@ -44,15 +44,17 @@ START_TEST(eina_simple_xml_parser_node_dump)
44 char *buf; 44 char *buf;
45 45
46 fseek(f, 0, SEEK_SET); 46 fseek(f, 0, SEEK_SET);
47 buf = malloc(sz); 47 buf = malloc(sz + 1);
48 if (buf) 48 if (buf)
49 { 49 {
50 if (fread(buf, 1, sz, f)) 50 if (fread(buf, 1, sz, f))
51 { 51 {
52 Eina_Simple_XML_Node_Root *root = eina_simple_xml_node_load 52 Eina_Simple_XML_Node_Root *root = eina_simple_xml_node_load
53 (buf, sz, EINA_TRUE); 53 (buf, sz, EINA_TRUE);
54 buf[sz] = '\0';
54 char *out = eina_simple_xml_node_dump(&root->base, " "); 55 char *out = eina_simple_xml_node_dump(&root->base, " ");
55 puts(out); 56 //puts(out);
57 ck_assert_str_eq(out, buf);
56 free(out); 58 free(out);
57 eina_simple_xml_node_root_free(root); 59 eina_simple_xml_node_root_free(root);
58 free(buf); 60 free(buf);
diff --git a/libraries/eina/src/tests/eina_test_ustr.c b/libraries/eina/src/tests/eina_test_ustr.c
index eaeba9d..75126cc 100644
--- a/libraries/eina/src/tests/eina_test_ustr.c
+++ b/libraries/eina/src/tests/eina_test_ustr.c
@@ -28,6 +28,43 @@
28#include "eina_suite.h" 28#include "eina_suite.h"
29#include "Eina.h" 29#include "Eina.h"
30 30
31#ifdef EINA_SAFETY_CHECKS
32struct log_ctx {
33 const char *msg;
34 const char *fnc;
35 Eina_Bool did;
36};
37
38/* tests should not output on success, just uncomment this for debugging */
39//#define SHOW_LOG 1
40
41static void
42_eina_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args __UNUSED__)
43{
44 struct log_ctx *ctx = data;
45 va_list cp_args;
46 const char *str;
47
48 va_copy(cp_args, args);
49 str = va_arg(cp_args, const char *);
50 va_end(cp_args);
51
52 ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR);
53 ck_assert_str_eq(fmt, "%s");
54 ck_assert_str_eq(ctx->msg, str);
55 ck_assert_str_eq(ctx->fnc, fnc);
56 ctx->did = EINA_TRUE;
57
58#ifdef SHOW_LOG
59 eina_log_print_cb_stderr(d, level, file, fnc, line, fmt, NULL, args);
60#else
61 (void)d;
62 (void)file;
63 (void)line;
64#endif
65}
66#endif
67
31static const Eina_Unicode STR1[] = {'P', 'a', 'n', 't', 's',' ', 'O', 'n', 0}; 68static const Eina_Unicode STR1[] = {'P', 'a', 'n', 't', 's',' ', 'O', 'n', 0};
32static const Eina_Unicode STR2[] = {'P', 'a', 'n', 't', 's',' ', 'O', 'f', 'f', 0}; 69static const Eina_Unicode STR2[] = {'P', 'a', 'n', 't', 's',' ', 'O', 'f', 'f', 0};
33static const Eina_Unicode STR3[] = {'P', 'a', 'n', 't', 's',' ', 'O', 'n', 0}; 70static const Eina_Unicode STR3[] = {'P', 'a', 'n', 't', 's',' ', 'O', 'n', 0};
@@ -126,14 +163,42 @@ START_TEST(eina_unicode_strncpy_test)
126 rv = eina_unicode_strncpy(buf, STR1, 0); 163 rv = eina_unicode_strncpy(buf, STR1, 0);
127 fail_if(buf[0] != '7'); 164 fail_if(buf[0] != '7');
128 165
129 /* may segfault */ 166#ifdef EINA_SAFETY_CHECKS
130 buf[0] = '7'; 167 {
131 rv = eina_unicode_strncpy(buf, NULL, 0); 168 struct log_ctx ctx;
132 fail_if(buf[0] != '7'); 169
170#define TEST_MAGIC_SAFETY(fn, _msg) \
171 ctx.msg = _msg; \
172 ctx.fnc = fn; \
173 ctx.did = EINA_FALSE
174
175 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
133 176
134 /* Hopefully won't segfault */ 177 /* may segfault */
135 rv = eina_unicode_strncpy(NULL, STR1, 0); 178 buf[0] = '7';
136 fail_if(rv != NULL); 179#ifdef SHOW_LOG
180 fprintf(stderr, "you should have a safety check failure below:\n");
181#endif
182 TEST_MAGIC_SAFETY("eina_unicode_strncpy",
183 "safety check failed: source == NULL");
184 rv = eina_unicode_strncpy(buf, NULL, 0);
185 fail_if(buf[0] != '7');
186 fail_unless(ctx.did);
187
188 /* Hopefully won't segfault */
189#ifdef SHOW_LOG
190 fprintf(stderr, "you should have a safety check failure below:\n");
191#endif
192 TEST_MAGIC_SAFETY("eina_unicode_strncpy",
193 "safety check failed: dest == NULL");
194 rv = eina_unicode_strncpy(NULL, STR1, 0);
195 fail_if(rv != NULL);
196 fail_unless(ctx.did);
197
198 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
199#undef TEST_MAGIC_SAFETY
200 }
201#endif
137 202
138 eina_shutdown(); 203 eina_shutdown();
139} 204}
@@ -151,8 +216,30 @@ START_TEST(eina_ustr_strlen_test)
151 fail_if(eina_unicode_strlen(STR3) != 8); 216 fail_if(eina_unicode_strlen(STR3) != 8);
152 fail_if(eina_unicode_strlen(STR4) != 1); 217 fail_if(eina_unicode_strlen(STR4) != 1);
153 fail_if(eina_unicode_strlen(EMPTYSTR) != 0); 218 fail_if(eina_unicode_strlen(EMPTYSTR) != 0);
154 /* Eina unicode doesn't take NULL */ 219
155 // fail_if(eina_unicode_strlen(NULL)); 220#ifdef EINA_SAFETY_CHECKS
221 {
222 struct log_ctx ctx;
223
224#define TEST_MAGIC_SAFETY(fn, _msg) \
225 ctx.msg = _msg; \
226 ctx.fnc = fn; \
227 ctx.did = EINA_FALSE
228
229 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
230
231#ifdef SHOW_LOG
232 fprintf(stderr, "you should have a safety check failure below:\n");
233#endif
234 TEST_MAGIC_SAFETY("eina_unicode_strlen",
235 "safety check failed: ustr == NULL");
236 fail_if(eina_unicode_strlen(NULL));
237 fail_unless(ctx.did);
238
239 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
240#undef TEST_MAGIC_SAFETY
241 }
242#endif
156 243
157 eina_shutdown(); 244 eina_shutdown();
158} 245}
@@ -174,7 +261,30 @@ START_TEST(eina_unicode_strnlen_test)
174 fail_if(eina_unicode_strnlen(STR2,3) != 3); 261 fail_if(eina_unicode_strnlen(STR2,3) != 3);
175 fail_if(eina_unicode_strnlen(STR3,3) != 3); 262 fail_if(eina_unicode_strnlen(STR3,3) != 3);
176 fail_if(eina_unicode_strnlen(EMPTYSTR,1) != 0); 263 fail_if(eina_unicode_strnlen(EMPTYSTR,1) != 0);
177 fail_if(eina_unicode_strnlen(NULL,0) != 0); 264
265#ifdef EINA_SAFETY_CHECKS
266 {
267 struct log_ctx ctx;
268
269#define TEST_MAGIC_SAFETY(fn, _msg) \
270 ctx.msg = _msg; \
271 ctx.fnc = fn; \
272 ctx.did = EINA_FALSE
273
274 eina_log_print_cb_set(_eina_test_safety_print_cb, &ctx);
275
276#ifdef SHOW_LOG
277 fprintf(stderr, "you should have a safety check failure below:\n");
278#endif
279 TEST_MAGIC_SAFETY("eina_unicode_strnlen",
280 "safety check failed: ustr == NULL");
281 fail_if(eina_unicode_strnlen(NULL,0) != 0);
282 fail_unless(ctx.did);
283
284 eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
285#undef TEST_MAGIC_SAFETY
286 }
287#endif
178 288
179 eina_shutdown(); 289 eina_shutdown();
180} 290}
diff --git a/libraries/eina/src/tests/eina_test_value.c b/libraries/eina/src/tests/eina_test_value.c
index 2d04c2f..94a5ab7 100644
--- a/libraries/eina/src/tests/eina_test_value.c
+++ b/libraries/eina/src/tests/eina_test_value.c
@@ -1140,8 +1140,10 @@ START_TEST(eina_value_test_array)
1140 fail_unless(eina_inarray_append(inarray, &c) >= 0); 1140 fail_unless(eina_inarray_append(inarray, &c) >= 0);
1141 desc.subtype = EINA_VALUE_TYPE_CHAR; 1141 desc.subtype = EINA_VALUE_TYPE_CHAR;
1142 desc.step = 0; 1142 desc.step = 0;
1143 desc.array = inarray; /* will be adopted and freed by value */ 1143 desc.array = inarray;
1144 fail_unless(eina_value_set(value, desc)); /* manually configure */ 1144 fail_unless(eina_value_set(value, desc)); /* manually configure */
1145 eina_inarray_free(inarray);
1146
1145 fail_unless(eina_value_array_get(value, 0, &c)); 1147 fail_unless(eina_value_array_get(value, 0, &c));
1146 fail_unless(c == 11); 1148 fail_unless(c == 11);
1147 fail_unless(eina_value_array_get(value, 1, &c)); 1149 fail_unless(eina_value_array_get(value, 1, &c));
@@ -1242,11 +1244,13 @@ START_TEST(eina_value_test_list)
1242 1244
1243 desc.subtype = EINA_VALUE_TYPE_STRING; 1245 desc.subtype = EINA_VALUE_TYPE_STRING;
1244 desc.list = NULL; 1246 desc.list = NULL;
1245 desc.list = eina_list_append(desc.list, strdup("hello")); 1247 desc.list = eina_list_append(desc.list, "hello");
1246 desc.list = eina_list_append(desc.list, strdup("world")); 1248 desc.list = eina_list_append(desc.list, "world");
1247 desc.list = eina_list_append(desc.list, strdup("eina")); 1249 desc.list = eina_list_append(desc.list, "eina");
1248 fail_unless(eina_list_count(desc.list) == 3); 1250 fail_unless(eina_list_count(desc.list) == 3);
1249 fail_unless(eina_value_set(value, desc)); 1251 fail_unless(eina_value_set(value, desc));
1252 eina_list_free(desc.list);
1253
1250 fail_unless(eina_value_list_get(value, 0, &s)); 1254 fail_unless(eina_value_list_get(value, 0, &s));
1251 fail_unless(s != NULL); 1255 fail_unless(s != NULL);
1252 fail_unless(strcmp(s, "hello") == 0); 1256 fail_unless(strcmp(s, "hello") == 0);
@@ -1351,14 +1355,17 @@ START_TEST(eina_value_test_hash)
1351 fail_unless(desc.hash != NULL); 1355 fail_unless(desc.hash != NULL);
1352 /* watch out hash pointer is to a size of subtype->value_size! */ 1356 /* watch out hash pointer is to a size of subtype->value_size! */
1353 ptr = malloc(sizeof(char *)); 1357 ptr = malloc(sizeof(char *));
1354 *ptr = strdup("there"); 1358 *ptr = "there";
1355 fail_unless(eina_hash_add(desc.hash, "hi", ptr)); 1359 fail_unless(eina_hash_add(desc.hash, "hi", ptr));
1356 ptr = malloc(sizeof(char *)); 1360 ptr = malloc(sizeof(char *));
1357 *ptr = strdup("y"); 1361 *ptr = "y";
1358 fail_unless(eina_hash_add(desc.hash, "x", ptr)); 1362 fail_unless(eina_hash_add(desc.hash, "x", ptr));
1359
1360 fail_unless(eina_value_set(value, desc)); 1363 fail_unless(eina_value_set(value, desc));
1361 1364
1365 free(eina_hash_find(desc.hash, "hi"));
1366 free(eina_hash_find(desc.hash, "x"));
1367 eina_hash_free(desc.hash);
1368
1362 fail_unless(eina_value_hash_get(value, "hi", &s)); 1369 fail_unless(eina_value_hash_get(value, "hi", &s));
1363 fail_unless(s != NULL); 1370 fail_unless(s != NULL);
1364 fail_unless(strcmp(s, "there") == 0); 1371 fail_unless(strcmp(s, "there") == 0);
@@ -1606,6 +1613,20 @@ START_TEST(eina_value_test_struct)
1606 fail_unless(eina_value_struct_get(value, "c", &c)); 1613 fail_unless(eina_value_struct_get(value, "c", &c));
1607 fail_unless(c == 0xf); 1614 fail_unless(c == 0xf);
1608 1615
1616 fail_unless(eina_value_struct_member_value_get
1617 (value, myst_members + 0, &other));
1618 fail_unless(other.type == EINA_VALUE_TYPE_INT);
1619 fail_unless(eina_value_get(&other, &i));
1620 fail_unless(i == 5678);
1621 eina_value_flush(&other);
1622
1623 fail_unless(eina_value_struct_member_value_get
1624 (value, myst_members + 1, &other));
1625 fail_unless(other.type == EINA_VALUE_TYPE_CHAR);
1626 fail_unless(eina_value_get(&other, &c));
1627 fail_unless(c = 0xf);
1628 eina_value_flush(&other);
1629
1609 str = eina_value_to_string(value); 1630 str = eina_value_to_string(value);
1610 fail_unless(str != NULL); 1631 fail_unless(str != NULL);
1611 fail_unless(strcmp(str, "{i: 5678, c: 15}") == 0); 1632 fail_unless(strcmp(str, "{i: 5678, c: 15}") == 0);
@@ -1704,6 +1725,7 @@ START_TEST(eina_value_test_struct)
1704 fail_unless(strcmp(str, "{a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7, h: 8, i: 9, j: 10, k: 12, l: 13, m: 14, n: 15, o: 16, p: 17, q: 18, r: 19, s: 20, t: 21, u: 22, v: 23, x: 24}") == 0); 1725 fail_unless(strcmp(str, "{a: 1, b: 2, c: 3, d: 4, e: 5, f: 6, g: 7, h: 8, i: 9, j: 10, k: 12, l: 13, m: 14, n: 15, o: 16, p: 17, q: 18, r: 19, s: 20, t: 21, u: 22, v: 23, x: 24}") == 0);
1705 free(str); 1726 free(str);
1706 1727
1728 eina_value_flush(&other);
1707 eina_value_free(value); 1729 eina_value_free(value);
1708 eina_shutdown(); 1730 eina_shutdown();
1709} 1731}
@@ -1728,7 +1750,7 @@ START_TEST(eina_value_test_array_of_struct)
1728 EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH, 1750 EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH,
1729 myst_members, 4, sizeof(struct myst) 1751 myst_members, 4, sizeof(struct myst)
1730 }; 1752 };
1731 Eina_Value *value; 1753 Eina_Value *value, array_item;
1732 char *str; 1754 char *str;
1733 int i; 1755 int i;
1734 1756
@@ -1740,20 +1762,17 @@ START_TEST(eina_value_test_array_of_struct)
1740 for (i = 0; i < 10; i++) 1762 for (i = 0; i < 10; i++)
1741 { 1763 {
1742 Eina_Value_Struct desc; 1764 Eina_Value_Struct desc;
1743 struct myst *st; 1765 struct myst st;
1744 char buf[64]; 1766 char buf[64];
1745 1767
1746 snprintf(buf, sizeof(buf), "item%02d", i); 1768 snprintf(buf, sizeof(buf), "item%02d", i);
1747 st = malloc(sizeof(struct myst)); 1769 st.a = i;
1748 fail_unless(st != NULL); 1770 st.b = i * 10;
1749 st->a = i; 1771 st.c = i * 100;
1750 st->b = i * 10; 1772 st.s = buf;
1751 st->c = i * 100;
1752 st->s = strdup(buf);
1753 fail_unless(st->s != NULL);
1754 1773
1755 desc.desc = &myst_desc; 1774 desc.desc = &myst_desc;
1756 desc.memory = st; 1775 desc.memory = &st;
1757 fail_unless(eina_value_array_append(value, desc)); 1776 fail_unless(eina_value_array_append(value, desc));
1758 } 1777 }
1759 1778
@@ -1773,11 +1792,66 @@ START_TEST(eina_value_test_array_of_struct)
1773 "]") == 0); 1792 "]") == 0);
1774 free(str); 1793 free(str);
1775 1794
1795 eina_value_array_value_get(value, 2, &array_item);
1796 eina_value_struct_get(&array_item, "a", &i);
1797 ck_assert_int_eq(i, 2);
1798 eina_value_struct_get(&array_item, "b", &i);
1799 ck_assert_int_eq(i, 20);
1800 eina_value_struct_get(&array_item, "c", &i);
1801 ck_assert_int_eq(i, 200);
1802 eina_value_struct_get(&array_item, "s", &str);
1803 ck_assert_str_eq(str, "item02");
1804 eina_value_flush(&array_item);
1805
1776 eina_value_free(value); 1806 eina_value_free(value);
1777 eina_shutdown(); 1807 eina_shutdown();
1778} 1808}
1779END_TEST 1809END_TEST
1780 1810
1811
1812START_TEST(eina_value_test_model)
1813{
1814 Eina_Value *value, inv;
1815 Eina_Model *model, *m;
1816 char *str;
1817
1818 eina_init();
1819
1820 value = eina_value_new(EINA_VALUE_TYPE_MODEL);
1821 fail_unless(value != NULL);
1822
1823 model = eina_model_new(EINA_MODEL_TYPE_GENERIC);
1824 fail_unless(model != NULL);
1825
1826 fail_unless(eina_value_setup(&inv, EINA_VALUE_TYPE_INT));
1827 fail_unless(eina_value_set(&inv, 1234));
1828 fail_unless(eina_model_property_set(model, "i", &inv));
1829 eina_value_flush(&inv);
1830
1831 fail_unless(eina_value_set(value, model));
1832 fail_unless(eina_model_refcount(model) == 2);
1833
1834 fail_unless(eina_value_get(value, &m));
1835 fail_unless(m == model);
1836 fail_unless(eina_model_refcount(m) == 2);
1837
1838 fail_unless(eina_value_pset(value, &model));
1839 fail_unless(eina_model_refcount(model) == 2);
1840
1841 str = eina_value_to_string(value);
1842 fail_unless(str != NULL);
1843 fail_unless(strcmp(str, "Eina_Model_Type_Generic({i: 1234}, [])") == 0);
1844 free(str);
1845
1846 eina_value_free(value);
1847
1848 fail_unless(eina_model_refcount(model) == 1);
1849 eina_model_unref(model);
1850
1851 eina_shutdown();
1852}
1853END_TEST
1854
1781void 1855void
1782eina_test_value(TCase *tc) 1856eina_test_value(TCase *tc)
1783{ 1857{
@@ -1796,4 +1870,5 @@ eina_test_value(TCase *tc)
1796 tcase_add_test(tc, eina_value_test_blob); 1870 tcase_add_test(tc, eina_value_test_blob);
1797 tcase_add_test(tc, eina_value_test_struct); 1871 tcase_add_test(tc, eina_value_test_struct);
1798 tcase_add_test(tc, eina_value_test_array_of_struct); 1872 tcase_add_test(tc, eina_value_test_array_of_struct);
1873 tcase_add_test(tc, eina_value_test_model);
1799} 1874}
diff --git a/libraries/embryo/ChangeLog b/libraries/embryo/ChangeLog
index a9a410a..297abf1 100644
--- a/libraries/embryo/ChangeLog
+++ b/libraries/embryo/ChangeLog
@@ -18,3 +18,12 @@
182011-12-02 Carsten Haitzler (The Rasterman) 182011-12-02 Carsten Haitzler (The Rasterman)
19 19
20 1.1.0 release 20 1.1.0 release
21
222012-02-24 Cedric Bail
23
24 * Add exotic support
25
262012-03-07 Vincent Torri
27
28 * Fix windows compilation issues
29
diff --git a/libraries/embryo/Makefile.in b/libraries/embryo/Makefile.in
index 4652fe5..b7f26fd 100644
--- a/libraries/embryo/Makefile.in
+++ b/libraries/embryo/Makefile.in
@@ -45,6 +45,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 45am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
46 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ 46 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \
47 $(top_srcdir)/m4/efl_fnmatch.m4 \ 47 $(top_srcdir)/m4/efl_fnmatch.m4 \
48 $(top_srcdir)/m4/efl_gettimeofday.m4 \
48 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ 49 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \
49 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 50 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
50 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 51 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
@@ -174,6 +175,8 @@ EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@
174EVIL_CFLAGS = @EVIL_CFLAGS@ 175EVIL_CFLAGS = @EVIL_CFLAGS@
175EVIL_LIBS = @EVIL_LIBS@ 176EVIL_LIBS = @EVIL_LIBS@
176EXEEXT = @EXEEXT@ 177EXEEXT = @EXEEXT@
178EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
179EXOTIC_LIBS = @EXOTIC_LIBS@
177FGREP = @FGREP@ 180FGREP = @FGREP@
178GREP = @GREP@ 181GREP = @GREP@
179INSTALL = @INSTALL@ 182INSTALL = @INSTALL@
@@ -206,6 +209,8 @@ PACKAGE_URL = @PACKAGE_URL@
206PACKAGE_VERSION = @PACKAGE_VERSION@ 209PACKAGE_VERSION = @PACKAGE_VERSION@
207PATH_SEPARATOR = @PATH_SEPARATOR@ 210PATH_SEPARATOR = @PATH_SEPARATOR@
208PKG_CONFIG = @PKG_CONFIG@ 211PKG_CONFIG = @PKG_CONFIG@
212PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
213PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209RANLIB = @RANLIB@ 214RANLIB = @RANLIB@
210SED = @SED@ 215SED = @SED@
211SET_MAKE = @SET_MAKE@ 216SET_MAKE = @SET_MAKE@
diff --git a/libraries/embryo/README b/libraries/embryo/README
index 36cfe09..f2cd749 100644
--- a/libraries/embryo/README
+++ b/libraries/embryo/README
@@ -1,4 +1,4 @@
1Embryo 1Embryo 1.2.0
2 2
3****************************************************************************** 3******************************************************************************
4 4
@@ -13,7 +13,6 @@ Requirements:
13Must: 13Must:
14 eina 14 eina
15 libc 15 libc
16 libm
17 16
18WARNING: gcc compatibility!!! 17WARNING: gcc compatibility!!!
19There seems to be some bug (or disagreement) between embryo and gcc 3.2.x 18There seems to be some bug (or disagreement) between embryo and gcc 3.2.x
diff --git a/libraries/embryo/aclocal.m4 b/libraries/embryo/aclocal.m4
index 14faac2..d3a77dd 100644
--- a/libraries/embryo/aclocal.m4
+++ b/libraries/embryo/aclocal.m4
@@ -13,13 +13,14 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23# serial 1 (pkg-config-0.24)
23# 24#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 25# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25# 26#
@@ -47,7 +48,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
47AC_DEFUN([PKG_PROG_PKG_CONFIG], 48AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 49[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 50m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 51AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
54
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 55if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 56 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi 57fi
@@ -60,7 +64,6 @@ if test -n "$PKG_CONFIG"; then
60 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
61 PKG_CONFIG="" 65 PKG_CONFIG=""
62 fi 66 fi
63
64fi[]dnl 67fi[]dnl
65])# PKG_PROG_PKG_CONFIG 68])# PKG_PROG_PKG_CONFIG
66 69
@@ -69,34 +72,31 @@ fi[]dnl
69# Check to see whether a particular set of modules exists. Similar 72# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors. 73# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71# 74#
72# 75# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of 76# only at the first occurence in configure.ac, so if the first place
74# this or PKG_CHECK_MODULES is called, or make sure to call 77# it's called might be skipped (such as if it is within an "if", you
75# PKG_CHECK_EXISTS manually 78# have to call PKG_CHECK_EXISTS manually
76# -------------------------------------------------------------- 79# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS], 80AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 81[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \ 82if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 83 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:]) 84 m4_default([$2], [:])
82m4_ifvaln([$3], [else 85m4_ifvaln([$3], [else
83 $3])dnl 86 $3])dnl
84fi]) 87fi])
85 88
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 89# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# --------------------------------------------- 90# ---------------------------------------------
89m4_define([_PKG_CONFIG], 91m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then 92[if test -n "$$1"; then
91 if test -n "$$1"; then 93 pkg_cv_[]$1="$$1"
92 pkg_cv_[]$1="$$1" 94 elif test -n "$PKG_CONFIG"; then
93 else 95 PKG_CHECK_EXISTS([$3],
94 PKG_CHECK_EXISTS([$3], 96 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 97 [pkg_failed=yes])
96 [pkg_failed=yes]) 98 else
97 fi 99 pkg_failed=untried
98else
99 pkg_failed=untried
100fi[]dnl 100fi[]dnl
101])# _PKG_CONFIG 101])# _PKG_CONFIG
102 102
@@ -138,16 +138,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.]) 138See the pkg-config man page for more details.])
139 139
140if test $pkg_failed = yes; then 140if test $pkg_failed = yes; then
141 AC_MSG_RESULT([no])
141 _PKG_SHORT_ERRORS_SUPPORTED 142 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then 143 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 144 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
144 else 145 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 146 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
146 fi 147 fi
147 # Put the nasty error message in config.log where it belongs 148 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 149 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149 150
150 ifelse([$4], , [AC_MSG_ERROR(dnl 151 m4_default([$4], [AC_MSG_ERROR(
151[Package requirements ($2) were not met: 152[Package requirements ($2) were not met:
152 153
153$$1_PKG_ERRORS 154$$1_PKG_ERRORS
@@ -155,25 +156,24 @@ $$1_PKG_ERRORS
155Consider adjusting the PKG_CONFIG_PATH environment variable if you 156Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix. 157installed software in a non-standard prefix.
157 158
158_PKG_TEXT 159_PKG_TEXT])[]dnl
159])], 160 ])
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then 161elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl 162 AC_MSG_RESULT([no])
163 m4_default([$4], [AC_MSG_FAILURE(
164[The pkg-config script could not be found or is too old. Make sure it 164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full 165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config. 166path to pkg-config.
167 167
168_PKG_TEXT 168_PKG_TEXT
169 169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
171 [$4]) 171 ])
172else 172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes]) 175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3]) 176 $3
177fi[]dnl 177fi[]dnl
178])# PKG_CHECK_MODULES 178])# PKG_CHECK_MODULES
179 179
@@ -1173,6 +1173,7 @@ m4_include([m4/ac_attribute.m4])
1173m4_include([m4/efl_binary.m4]) 1173m4_include([m4/efl_binary.m4])
1174m4_include([m4/efl_doxygen.m4]) 1174m4_include([m4/efl_doxygen.m4])
1175m4_include([m4/efl_fnmatch.m4]) 1175m4_include([m4/efl_fnmatch.m4])
1176m4_include([m4/efl_gettimeofday.m4])
1176m4_include([m4/efl_path_max.m4]) 1177m4_include([m4/efl_path_max.m4])
1177m4_include([m4/libtool.m4]) 1178m4_include([m4/libtool.m4])
1178m4_include([m4/ltoptions.m4]) 1179m4_include([m4/ltoptions.m4])
diff --git a/libraries/embryo/config.guess b/libraries/embryo/config.guess
index e3a2116..c2246a4 100755
--- a/libraries/embryo/config.guess
+++ b/libraries/embryo/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-10' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
27# the same distribution terms that you use for the rest of that program. 27# the same distribution terms that you use for the rest of that program.
28 28
29 29
30# Originally written by Per Bothner <per@bothner.com>. 30# Originally written by Per Bothner. Please send patches (context
31# Please send patches to <config-patches@gnu.org>. Submit a context 31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# diff and a properly formatted ChangeLog entry. 32# entry.
33# 33#
34# This script attempts to guess a canonical system name similar to 34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and 35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1. 36# exits with 0. Otherwise, it exits with 1.
37# 37#
38# The plan is that this can be called by configure scripts if you 38# You can get the latest version of this script from:
39# don't specify an explicit build system type. 39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40 40
41me=`echo "$0" | sed -e 's,.*/,,'` 41me=`echo "$0" | sed -e 's,.*/,,'`
42 42
@@ -56,8 +56,9 @@ version="\
56GNU config.guess ($timestamp) 56GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
61 62
62This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
333 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
336 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 eval $set_cc_for_build 341 eval $set_cc_for_build
338 SUN_ARCH="i386" 342 SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
807 i*:PW*:*) 811 i*:PW*:*)
808 echo ${UNAME_MACHINE}-pc-pw32 812 echo ${UNAME_MACHINE}-pc-pw32
809 exit ;; 813 exit ;;
810 *:Interix*:[3456]*) 814 *:Interix*:*)
811 case ${UNAME_MACHINE} in 815 case ${UNAME_MACHINE} in
812 x86) 816 x86)
813 echo i586-pc-interix${UNAME_RELEASE} 817 echo i586-pc-interix${UNAME_RELEASE}
814 exit ;; 818 exit ;;
815 EM64T | authenticamd | genuineintel) 819 authenticamd | genuineintel | EM64T)
816 echo x86_64-unknown-interix${UNAME_RELEASE} 820 echo x86_64-unknown-interix${UNAME_RELEASE}
817 exit ;; 821 exit ;;
818 IA64) 822 IA64)
@@ -854,6 +858,20 @@ EOF
854 i*86:Minix:*:*) 858 i*86:Minix:*:*)
855 echo ${UNAME_MACHINE}-pc-minix 859 echo ${UNAME_MACHINE}-pc-minix
856 exit ;; 860 exit ;;
861 alpha:Linux:*:*)
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
863 EV5) UNAME_MACHINE=alphaev5 ;;
864 EV56) UNAME_MACHINE=alphaev56 ;;
865 PCA56) UNAME_MACHINE=alphapca56 ;;
866 PCA57) UNAME_MACHINE=alphapca56 ;;
867 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
874 exit ;;
857 arm*:Linux:*:*) 875 arm*:Linux:*:*)
858 eval $set_cc_for_build 876 eval $set_cc_for_build
859 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 877 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
876 frv:Linux:*:*) 894 frv:Linux:*:*)
877 echo frv-unknown-linux-gnu 895 echo frv-unknown-linux-gnu
878 exit ;; 896 exit ;;
897 i*86:Linux:*:*)
898 LIBC=gnu
899 eval $set_cc_for_build
900 sed 's/^ //' << EOF >$dummy.c
901 #ifdef __dietlibc__
902 LIBC=dietlibc
903 #endif
904EOF
905 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
906 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
907 exit ;;
879 ia64:Linux:*:*) 908 ia64:Linux:*:*)
880 echo ${UNAME_MACHINE}-unknown-linux-gnu 909 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 exit ;; 910 exit ;;
@@ -901,39 +930,18 @@ EOF
901 #endif 930 #endif
902 #endif 931 #endif
903EOF 932EOF
904 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 933 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
905 /^CPU/{
906 s: ::g
907 p
908 }'`"
909 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 934 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910 ;; 935 ;;
911 or32:Linux:*:*) 936 or32:Linux:*:*)
912 echo or32-unknown-linux-gnu 937 echo or32-unknown-linux-gnu
913 exit ;; 938 exit ;;
914 ppc:Linux:*:*)
915 echo powerpc-unknown-linux-gnu
916 exit ;;
917 ppc64:Linux:*:*)
918 echo powerpc64-unknown-linux-gnu
919 exit ;;
920 alpha:Linux:*:*)
921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922 EV5) UNAME_MACHINE=alphaev5 ;;
923 EV56) UNAME_MACHINE=alphaev56 ;;
924 PCA56) UNAME_MACHINE=alphapca56 ;;
925 PCA57) UNAME_MACHINE=alphapca56 ;;
926 EV6) UNAME_MACHINE=alphaev6 ;;
927 EV67) UNAME_MACHINE=alphaev67 ;;
928 EV68*) UNAME_MACHINE=alphaev68 ;;
929 esac
930 objdump --private-headers /bin/sh | grep -q ld.so.1
931 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 exit ;;
934 padre:Linux:*:*) 939 padre:Linux:*:*)
935 echo sparc-unknown-linux-gnu 940 echo sparc-unknown-linux-gnu
936 exit ;; 941 exit ;;
942 parisc64:Linux:*:* | hppa64:Linux:*:*)
943 echo hppa64-unknown-linux-gnu
944 exit ;;
937 parisc:Linux:*:* | hppa:Linux:*:*) 945 parisc:Linux:*:* | hppa:Linux:*:*)
938 # Look for CPU level 946 # Look for CPU level
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
942 *) echo hppa-unknown-linux-gnu ;; 950 *) echo hppa-unknown-linux-gnu ;;
943 esac 951 esac
944 exit ;; 952 exit ;;
945 parisc64:Linux:*:* | hppa64:Linux:*:*) 953 ppc64:Linux:*:*)
946 echo hppa64-unknown-linux-gnu 954 echo powerpc64-unknown-linux-gnu
955 exit ;;
956 ppc:Linux:*:*)
957 echo powerpc-unknown-linux-gnu
947 exit ;; 958 exit ;;
948 s390:Linux:*:* | s390x:Linux:*:*) 959 s390:Linux:*:* | s390x:Linux:*:*)
949 echo ${UNAME_MACHINE}-ibm-linux 960 echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
966 xtensa*:Linux:*:*) 977 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 echo ${UNAME_MACHINE}-unknown-linux-gnu
968 exit ;; 979 exit ;;
969 i*86:Linux:*:*)
970 # The BFD linker knows what the default object file format is, so
971 # first see if it will tell us. cd to the root directory to prevent
972 # problems with other programs or directories called `ld' in the path.
973 # Set LC_ALL=C to ensure ld outputs messages in English.
974 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
975 | sed -ne '/supported targets:/!d
976 s/[ ][ ]*/ /g
977 s/.*supported targets: *//
978 s/ .*//
979 p'`
980 case "$ld_supported_targets" in
981 elf32-i386)
982 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 ;;
984 esac
985 # Determine whether the default compiler is a.out or elf
986 eval $set_cc_for_build
987 sed 's/^ //' << EOF >$dummy.c
988 #include <features.h>
989 #ifdef __ELF__
990 # ifdef __GLIBC__
991 # if __GLIBC__ >= 2
992 LIBC=gnu
993 # else
994 LIBC=gnulibc1
995 # endif
996 # else
997 LIBC=gnulibc1
998 # endif
999 #else
1000 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1001 LIBC=gnu
1002 #else
1003 LIBC=gnuaout
1004 #endif
1005 #endif
1006 #ifdef __dietlibc__
1007 LIBC=dietlibc
1008 #endif
1009EOF
1010 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1011 /^LIBC/{
1012 s: ::g
1013 p
1014 }'`"
1015 test x"${LIBC}" != x && {
1016 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1017 exit
1018 }
1019 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1020 ;;
1021 i*86:DYNIX/ptx:4*:*) 980 i*86:DYNIX/ptx:4*:*)
1022 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023 # earlier versions are messed up and put the nodename in both 982 # earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
1247 *:Darwin:*:*) 1206 *:Darwin:*:*)
1248 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1207 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249 case $UNAME_PROCESSOR in 1208 case $UNAME_PROCESSOR in
1209 i386)
1210 eval $set_cc_for_build
1211 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1212 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1213 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1214 grep IS_64BIT_ARCH >/dev/null
1215 then
1216 UNAME_PROCESSOR="x86_64"
1217 fi
1218 fi ;;
1250 unknown) UNAME_PROCESSOR=powerpc ;; 1219 unknown) UNAME_PROCESSOR=powerpc ;;
1251 esac 1220 esac
1252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/libraries/embryo/config.h.in b/libraries/embryo/config.h.in
index 331fd3f..cd3ce40 100644
--- a/libraries/embryo/config.h.in
+++ b/libraries/embryo/config.h.in
@@ -16,6 +16,9 @@
16/* Define to 1 if using `alloca.c'. */ 16/* Define to 1 if using `alloca.c'. */
17#undef C_ALLOCA 17#undef C_ALLOCA
18 18
19/* Defined if gettimeofday is available. */
20#undef EFL_HAVE_GETTIMEOFDAY
21
19/* Define to 1 if you have `alloca', as a function or macro. */ 22/* Define to 1 if you have `alloca', as a function or macro. */
20#undef HAVE_ALLOCA 23#undef HAVE_ALLOCA
21 24
@@ -29,8 +32,8 @@
29/* Set to 1 if Evil library is installed */ 32/* Set to 1 if Evil library is installed */
30#undef HAVE_EVIL 33#undef HAVE_EVIL
31 34
32/* Define to 1 if you have the `gettimeofday' function. */ 35/* Define to 1 if you have Exotic. */
33#undef HAVE_GETTIMEOFDAY 36#undef HAVE_EXOTIC
34 37
35/* Define to 1 if you have the <inttypes.h> header file. */ 38/* Define to 1 if you have the <inttypes.h> header file. */
36#undef HAVE_INTTYPES_H 39#undef HAVE_INTTYPES_H
diff --git a/libraries/embryo/config.sub b/libraries/embryo/config.sub
index eb0389a..c2d1257 100755
--- a/libraries/embryo/config.sub
+++ b/libraries/embryo/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-11' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 39# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 40# Otherwise, we print the canonical config type on stdout and succeed.
41 41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
153 os= 157 os=
154 basic_machine=$1 158 basic_machine=$1
155 ;; 159 ;;
@@ -284,6 +288,7 @@ case $basic_machine in
284 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
285 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286 | pyramid \ 290 | pyramid \
291 | rx \
287 | score \ 292 | score \
288 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289 | sh64 | sh64le \ 294 | sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
291 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292 | spu | strongarm \ 297 | spu | strongarm \
293 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
294 | v850 | v850e \ 300 | v850 | v850e \
295 | we32k \ 301 | we32k \
296 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297 | z8k | z80) 303 | z8k | z80)
298 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
299 ;; 305 ;;
300 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
302 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
303 os=-none 309 os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
340 | lm32-* \ 346 | lm32-* \
341 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
342 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345 | mips16-* \ 351 | mips16-* \
346 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
368 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370 | pyramid-* \ 376 | pyramid-* \
371 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
372 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375 | sparclite-* \ 381 | sparclite-* \
376 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
378 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
379 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
380 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
381 | we32k-* \ 389 | we32k-* \
382 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
726 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
727 os=-sysv 735 os=-sysv
728 ;; 736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
739 ;;
729 mingw32) 740 mingw32)
730 basic_machine=i386-pc 741 basic_machine=i386-pc
731 os=-mingw32 742 os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
1076 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1077 os=-coff 1088 os=-coff
1078 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1079 tile*) 1095 tile*)
1080 basic_machine=tile-unknown 1096 basic_machine=tile-unknown
1081 os=-linux-gnu 1097 os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
1247 # First match some system type aliases 1263 # First match some system type aliases
1248 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1249 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1250 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1251 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252 ;; 1271 ;;
@@ -1268,8 +1287,8 @@ case $os in
1268 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1269 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1272 | -kopensolaris* \ 1291 | -sym* | -kopensolaris* \
1273 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274 | -aos* | -aros* \ 1293 | -aos* | -aros* \
1275 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
1290 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1295 ;; 1314 ;;
1296 -qnx*) 1315 -qnx*)
@@ -1423,6 +1442,8 @@ case $os in
1423 -dicos*) 1442 -dicos*)
1424 os=-dicos 1443 os=-dicos
1425 ;; 1444 ;;
1445 -nacl*)
1446 ;;
1426 -none) 1447 -none)
1427 ;; 1448 ;;
1428 *) 1449 *)
diff --git a/libraries/embryo/configure b/libraries/embryo/configure
index 88e889b..7f04eec 100755
--- a/libraries/embryo/configure
+++ b/libraries/embryo/configure
@@ -1,13 +1,13 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for embryo 1.1.99.67344. 3# Generated by GNU Autoconf 2.67 for embryo 1.2.0-alpha.
4# 4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>. 5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@ $as_echo X"$as_dir" |
319 test -d "$as_dir" && break 319 test -d "$as_dir" && break
320 done 320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 323
324 324
325} # as_fn_mkdir_p 325} # as_fn_mkdir_p
@@ -359,19 +359,19 @@ else
359fi # as_fn_arith 359fi # as_fn_arith
360 360
361 361
362# as_fn_error ERROR [LINENO LOG_FD] 362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 366# script with STATUS, using 1 if that was 0.
367as_fn_error () 367as_fn_error ()
368{ 368{
369 as_status=$?; test $as_status -eq 0 && as_status=1 369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 370 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 373 fi
374 $as_echo "$as_me: error: $1" >&2 374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 375 as_fn_exit $as_status
376} # as_fn_error 376} # as_fn_error
377 377
@@ -682,7 +682,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1 682exec 6>&1
683 683
684# Name of the host. 684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too. 686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688 688
@@ -701,8 +701,8 @@ MAKEFLAGS=
701# Identity of this package. 701# Identity of this package.
702PACKAGE_NAME='embryo' 702PACKAGE_NAME='embryo'
703PACKAGE_TARNAME='embryo' 703PACKAGE_TARNAME='embryo'
704PACKAGE_VERSION='1.1.99.67344' 704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='embryo 1.1.99.67344' 705PACKAGE_STRING='embryo 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' 706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL='' 707PACKAGE_URL=''
708 708
@@ -754,12 +754,16 @@ ALLOCA
754lt_enable_auto_import 754lt_enable_auto_import
755EMBRYO_CFLAGS 755EMBRYO_CFLAGS
756EMBRYO_CPPFLAGS 756EMBRYO_CPPFLAGS
757EXOTIC_LIBS
758EXOTIC_CFLAGS
757EINA_LIBS 759EINA_LIBS
758EINA_CFLAGS 760EINA_CFLAGS
759EFL_EMBRYO_BUILD 761EFL_EMBRYO_BUILD
760EVIL_LIBS 762EVIL_LIBS
761EVIL_CFLAGS 763EVIL_CFLAGS
762pkgconfig_requires_private 764pkgconfig_requires_private
765PKG_CONFIG_LIBDIR
766PKG_CONFIG_PATH
763PKG_CONFIG 767PKG_CONFIG
764EFL_BUILD_DOC_FALSE 768EFL_BUILD_DOC_FALSE
765EFL_BUILD_DOC_TRUE 769EFL_BUILD_DOC_TRUE
@@ -905,10 +909,14 @@ LIBS
905CPPFLAGS 909CPPFLAGS
906CPP 910CPP
907PKG_CONFIG 911PKG_CONFIG
912PKG_CONFIG_PATH
913PKG_CONFIG_LIBDIR
908EVIL_CFLAGS 914EVIL_CFLAGS
909EVIL_LIBS 915EVIL_LIBS
910EINA_CFLAGS 916EINA_CFLAGS
911EINA_LIBS' 917EINA_LIBS
918EXOTIC_CFLAGS
919EXOTIC_LIBS'
912 920
913 921
914# Initialize some variables set by options. 922# Initialize some variables set by options.
@@ -971,8 +979,9 @@ do
971 fi 979 fi
972 980
973 case $ac_option in 981 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 982 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;; 983 *=) ac_optarg= ;;
984 *) ac_optarg=yes ;;
976 esac 985 esac
977 986
978 # Accept the important Cygnus configure options, so we can diagnose typos. 987 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1017,7 +1026,7 @@ do
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names. 1027 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt" 1029 as_fn_error $? "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt 1030 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in 1032 case $ac_user_opts in
@@ -1043,7 +1052,7 @@ do
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names. 1053 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt" 1055 as_fn_error $? "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt 1056 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in 1058 case $ac_user_opts in
@@ -1247,7 +1256,7 @@ do
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names. 1257 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt" 1259 as_fn_error $? "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt 1260 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in 1262 case $ac_user_opts in
@@ -1263,7 +1272,7 @@ do
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names. 1273 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt" 1275 as_fn_error $? "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt 1276 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in 1278 case $ac_user_opts in
@@ -1293,8 +1302,8 @@ do
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;; 1303 x_libraries=$ac_optarg ;;
1295 1304
1296 -*) as_fn_error "unrecognized option: \`$ac_option' 1305 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1297Try \`$0 --help' for more information." 1306Try \`$0 --help' for more information"
1298 ;; 1307 ;;
1299 1308
1300 *=*) 1309 *=*)
@@ -1302,7 +1311,7 @@ Try \`$0 --help' for more information."
1302 # Reject names that are not valid shell variable names. 1311 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #( 1312 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1314 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1306 esac 1315 esac
1307 eval $ac_envvar=\$ac_optarg 1316 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;; 1317 export $ac_envvar ;;
@@ -1320,13 +1329,13 @@ done
1320 1329
1321if test -n "$ac_prev"; then 1330if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option" 1332 as_fn_error $? "missing argument to $ac_option"
1324fi 1333fi
1325 1334
1326if test -n "$ac_unrecognized_opts"; then 1335if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in 1336 case $enable_option_checking in
1328 no) ;; 1337 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1338 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac 1340 esac
1332fi 1341fi
@@ -1349,7 +1358,7 @@ do
1349 [\\/$]* | ?:[\\/]* ) continue;; 1358 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac 1360 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1361 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1353done 1362done
1354 1363
1355# There might be people who depend on the old broken behavior: `$host' 1364# There might be people who depend on the old broken behavior: `$host'
@@ -1363,8 +1372,8 @@ target=$target_alias
1363if test "x$host_alias" != x; then 1372if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then 1373 if test "x$build_alias" = x; then
1365 cross_compiling=maybe 1374 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1375 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2 1376 If a cross compiler is detected then cross compile mode will be used" >&2
1368 elif test "x$build_alias" != "x$host_alias"; then 1377 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes 1378 cross_compiling=yes
1370 fi 1379 fi
@@ -1379,9 +1388,9 @@ test "$silent" = yes && exec 6>/dev/null
1379ac_pwd=`pwd` && test -n "$ac_pwd" && 1388ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380ac_ls_di=`ls -di .` && 1389ac_ls_di=`ls -di .` &&
1381ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1390ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined" 1391 as_fn_error $? "working directory cannot be determined"
1383test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1392test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory" 1393 as_fn_error $? "pwd does not report name of working directory"
1385 1394
1386 1395
1387# Find the source files, if location was not specified. 1396# Find the source files, if location was not specified.
@@ -1420,11 +1429,11 @@ else
1420fi 1429fi
1421if test ! -r "$srcdir/$ac_unique_file"; then 1430if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1432 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1424fi 1433fi
1425ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1434ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426ac_abs_confdir=`( 1435ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1428 pwd)` 1437 pwd)`
1429# When building in place, set srcdir=. 1438# When building in place, set srcdir=.
1430if test "$ac_abs_confdir" = "$ac_pwd"; then 1439if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1450,7 +1459,7 @@ if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing. 1459 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh. 1460 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF 1461 cat <<_ACEOF
1453\`configure' configures embryo 1.1.99.67344 to adapt to many kinds of systems. 1462\`configure' configures embryo 1.2.0-alpha to adapt to many kinds of systems.
1454 1463
1455Usage: $0 [OPTION]... [VAR=VALUE]... 1464Usage: $0 [OPTION]... [VAR=VALUE]...
1456 1465
@@ -1464,7 +1473,7 @@ Configuration:
1464 --help=short display options specific to this package 1473 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages 1474 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit 1475 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages 1476 -q, --quiet, --silent do not print \`checking ...' messages
1468 --cache-file=FILE cache test results in FILE [disabled] 1477 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache' 1478 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files 1479 -n, --no-create do not create output files
@@ -1520,7 +1529,7 @@ fi
1520 1529
1521if test -n "$ac_init_help"; then 1530if test -n "$ac_init_help"; then
1522 case $ac_init_help in 1531 case $ac_init_help in
1523 short | recursive ) echo "Configuration of embryo 1.1.99.67344:";; 1532 short | recursive ) echo "Configuration of embryo 1.2.0-alpha:";;
1524 esac 1533 esac
1525 cat <<\_ACEOF 1534 cat <<\_ACEOF
1526 1535
@@ -1558,10 +1567,17 @@ Some influential environment variables:
1558 you have headers in a nonstandard directory <include dir> 1567 you have headers in a nonstandard directory <include dir>
1559 CPP C preprocessor 1568 CPP C preprocessor
1560 PKG_CONFIG path to pkg-config utility 1569 PKG_CONFIG path to pkg-config utility
1570 PKG_CONFIG_PATH
1571 directories to add to pkg-config's search path
1572 PKG_CONFIG_LIBDIR
1573 path overriding pkg-config's built-in search path
1561 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config 1574 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1562 EVIL_LIBS linker flags for EVIL, overriding pkg-config 1575 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1563 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config 1576 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1564 EINA_LIBS linker flags for EINA, overriding pkg-config 1577 EINA_LIBS linker flags for EINA, overriding pkg-config
1578 EXOTIC_CFLAGS
1579 C compiler flags for EXOTIC, overriding pkg-config
1580 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1565 1581
1566Use these variables to override the choices made by `configure' or to help 1582Use these variables to override the choices made by `configure' or to help
1567it to find libraries and programs with nonstandard names/locations. 1583it to find libraries and programs with nonstandard names/locations.
@@ -1629,10 +1645,10 @@ fi
1629test -n "$ac_init_help" && exit $ac_status 1645test -n "$ac_init_help" && exit $ac_status
1630if $ac_init_version; then 1646if $ac_init_version; then
1631 cat <<\_ACEOF 1647 cat <<\_ACEOF
1632embryo configure 1.1.99.67344 1648embryo configure 1.2.0-alpha
1633generated by GNU Autoconf 2.65 1649generated by GNU Autoconf 2.67
1634 1650
1635Copyright (C) 2009 Free Software Foundation, Inc. 1651Copyright (C) 2010 Free Software Foundation, Inc.
1636This configure script is free software; the Free Software Foundation 1652This configure script is free software; the Free Software Foundation
1637gives unlimited permission to copy, distribute and modify it. 1653gives unlimited permission to copy, distribute and modify it.
1638_ACEOF 1654_ACEOF
@@ -1736,7 +1752,7 @@ ac_fn_c_check_header_compile ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738$as_echo_n "checking for $2... " >&6; } 1754$as_echo_n "checking for $2... " >&6; }
1739if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1755if eval "test \"\${$3+set}\"" = set; then :
1740 $as_echo_n "(cached) " >&6 1756 $as_echo_n "(cached) " >&6
1741else 1757else
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1779,7 +1795,7 @@ $as_echo "$ac_try_echo"; } >&5
1779 mv -f conftest.er1 conftest.err 1795 mv -f conftest.er1 conftest.err
1780 fi 1796 fi
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } >/dev/null && { 1798 test $ac_status = 0; } > conftest.i && {
1783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1799 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1784 test ! -s conftest.err 1800 test ! -s conftest.err
1785 }; then : 1801 }; then :
@@ -1845,7 +1861,7 @@ ac_fn_c_check_func ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847$as_echo_n "checking for $2... " >&6; } 1863$as_echo_n "checking for $2... " >&6; }
1848if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1864if eval "test \"\${$3+set}\"" = set; then :
1849 $as_echo_n "(cached) " >&6 1865 $as_echo_n "(cached) " >&6
1850else 1866else
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1912,10 +1928,10 @@ $as_echo "$ac_res" >&6; }
1912ac_fn_c_check_header_mongrel () 1928ac_fn_c_check_header_mongrel ()
1913{ 1929{
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1931 if eval "test \"\${$3+set}\"" = set; then :
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917$as_echo_n "checking for $2... " >&6; } 1933$as_echo_n "checking for $2... " >&6; }
1918if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1934if eval "test \"\${$3+set}\"" = set; then :
1919 $as_echo_n "(cached) " >&6 1935 $as_echo_n "(cached) " >&6
1920fi 1936fi
1921eval ac_res=\$$3 1937eval ac_res=\$$3
@@ -1951,7 +1967,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
1951else 1967else
1952 ac_header_preproc=no 1968 ac_header_preproc=no
1953fi 1969fi
1954rm -f conftest.err conftest.$ac_ext 1970rm -f conftest.err conftest.i conftest.$ac_ext
1955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1956$as_echo "$ac_header_preproc" >&6; } 1972$as_echo "$ac_header_preproc" >&6; }
1957 1973
@@ -1974,17 +1990,15 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1974$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1990$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1992$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977( cat <<\_ASBOX 1993( $as_echo "## -------------------------------------------------------- ##
1978## -------------------------------------------------------- ##
1979## Report this to enlightenment-devel@lists.sourceforge.net ## 1994## Report this to enlightenment-devel@lists.sourceforge.net ##
1980## -------------------------------------------------------- ## 1995## -------------------------------------------------------- ##"
1981_ASBOX
1982 ) | sed "s/^/$as_me: WARNING: /" >&2 1996 ) | sed "s/^/$as_me: WARNING: /" >&2
1983 ;; 1997 ;;
1984esac 1998esac
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986$as_echo_n "checking for $2... " >&6; } 2000$as_echo_n "checking for $2... " >&6; }
1987if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2001if eval "test \"\${$3+set}\"" = set; then :
1988 $as_echo_n "(cached) " >&6 2002 $as_echo_n "(cached) " >&6
1989else 2003else
1990 eval "$3=\$ac_header_compiler" 2004 eval "$3=\$ac_header_compiler"
@@ -2000,8 +2014,8 @@ cat >config.log <<_ACEOF
2000This file contains any messages produced by compilers while 2014This file contains any messages produced by compilers while
2001running configure, to aid debugging if configure makes a mistake. 2015running configure, to aid debugging if configure makes a mistake.
2002 2016
2003It was created by embryo $as_me 1.1.99.67344, which was 2017It was created by embryo $as_me 1.2.0-alpha, which was
2004generated by GNU Autoconf 2.65. Invocation command line was 2018generated by GNU Autoconf 2.67. Invocation command line was
2005 2019
2006 $ $0 $@ 2020 $ $0 $@
2007 2021
@@ -2111,11 +2125,9 @@ trap 'exit_status=$?
2111 { 2125 {
2112 echo 2126 echo
2113 2127
2114 cat <<\_ASBOX 2128 $as_echo "## ---------------- ##
2115## ---------------- ##
2116## Cache variables. ## 2129## Cache variables. ##
2117## ---------------- ## 2130## ---------------- ##"
2118_ASBOX
2119 echo 2131 echo
2120 # The following way of writing the cache mishandles newlines in values, 2132 # The following way of writing the cache mishandles newlines in values,
2121( 2133(
@@ -2149,11 +2161,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2149) 2161)
2150 echo 2162 echo
2151 2163
2152 cat <<\_ASBOX 2164 $as_echo "## ----------------- ##
2153## ----------------- ##
2154## Output variables. ## 2165## Output variables. ##
2155## ----------------- ## 2166## ----------------- ##"
2156_ASBOX
2157 echo 2167 echo
2158 for ac_var in $ac_subst_vars 2168 for ac_var in $ac_subst_vars
2159 do 2169 do
@@ -2166,11 +2176,9 @@ _ASBOX
2166 echo 2176 echo
2167 2177
2168 if test -n "$ac_subst_files"; then 2178 if test -n "$ac_subst_files"; then
2169 cat <<\_ASBOX 2179 $as_echo "## ------------------- ##
2170## ------------------- ##
2171## File substitutions. ## 2180## File substitutions. ##
2172## ------------------- ## 2181## ------------------- ##"
2173_ASBOX
2174 echo 2182 echo
2175 for ac_var in $ac_subst_files 2183 for ac_var in $ac_subst_files
2176 do 2184 do
@@ -2184,11 +2192,9 @@ _ASBOX
2184 fi 2192 fi
2185 2193
2186 if test -s confdefs.h; then 2194 if test -s confdefs.h; then
2187 cat <<\_ASBOX 2195 $as_echo "## ----------- ##
2188## ----------- ##
2189## confdefs.h. ## 2196## confdefs.h. ##
2190## ----------- ## 2197## ----------- ##"
2191_ASBOX
2192 echo 2198 echo
2193 cat confdefs.h 2199 cat confdefs.h
2194 echo 2200 echo
@@ -2243,7 +2249,12 @@ _ACEOF
2243ac_site_file1=NONE 2249ac_site_file1=NONE
2244ac_site_file2=NONE 2250ac_site_file2=NONE
2245if test -n "$CONFIG_SITE"; then 2251if test -n "$CONFIG_SITE"; then
2246 ac_site_file1=$CONFIG_SITE 2252 # We do not want a PATH search for config.site.
2253 case $CONFIG_SITE in #((
2254 -*) ac_site_file1=./$CONFIG_SITE;;
2255 */*) ac_site_file1=$CONFIG_SITE;;
2256 *) ac_site_file1=./$CONFIG_SITE;;
2257 esac
2247elif test "x$prefix" != xNONE; then 2258elif test "x$prefix" != xNONE; then
2248 ac_site_file1=$prefix/share/config.site 2259 ac_site_file1=$prefix/share/config.site
2249 ac_site_file2=$prefix/etc/config.site 2260 ac_site_file2=$prefix/etc/config.site
@@ -2258,7 +2269,11 @@ do
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2259$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2270$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2260 sed 's/^/| /' "$ac_site_file" >&5 2271 sed 's/^/| /' "$ac_site_file" >&5
2261 . "$ac_site_file" 2272 . "$ac_site_file" \
2273 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275as_fn_error $? "failed to load site script $ac_site_file
2276See \`config.log' for more details" "$LINENO" 5 ; }
2262 fi 2277 fi
2263done 2278done
2264 2279
@@ -2334,7 +2349,7 @@ if $ac_cache_corrupted; then
2334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2336$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2338fi 2353fi
2339## -------------------- ## 2354## -------------------- ##
2340## Main body of script. ## 2355## Main body of script. ##
@@ -2360,16 +2375,22 @@ am__api_version='1.11'
2360 2375
2361ac_aux_dir= 2376ac_aux_dir=
2362for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2377for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2363 for ac_t in install-sh install.sh shtool; do 2378 if test -f "$ac_dir/install-sh"; then
2364 if test -f "$ac_dir/$ac_t"; then 2379 ac_aux_dir=$ac_dir
2365 ac_aux_dir=$ac_dir 2380 ac_install_sh="$ac_aux_dir/install-sh -c"
2366 ac_install_sh="$ac_aux_dir/$ac_t -c" 2381 break
2367 break 2 2382 elif test -f "$ac_dir/install.sh"; then
2368 fi 2383 ac_aux_dir=$ac_dir
2369 done 2384 ac_install_sh="$ac_aux_dir/install.sh -c"
2385 break
2386 elif test -f "$ac_dir/shtool"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/shtool install -c"
2389 break
2390 fi
2370done 2391done
2371if test -z "$ac_aux_dir"; then 2392if test -z "$ac_aux_dir"; then
2372 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2393 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2373fi 2394fi
2374 2395
2375# These three variables are undocumented and unsupported, 2396# These three variables are undocumented and unsupported,
@@ -2485,11 +2506,11 @@ am_lf='
2485' 2506'
2486case `pwd` in 2507case `pwd` in
2487 *[\\\"\#\$\&\'\`$am_lf]*) 2508 *[\\\"\#\$\&\'\`$am_lf]*)
2488 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2509 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2489esac 2510esac
2490case $srcdir in 2511case $srcdir in
2491 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2512 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2492 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2513 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2493esac 2514esac
2494 2515
2495# Do `set' in a subshell so we don't clobber the current shell's 2516# Do `set' in a subshell so we don't clobber the current shell's
@@ -2511,7 +2532,7 @@ if (
2511 # if, for instance, CONFIG_SHELL is bash and it inherits a 2532 # if, for instance, CONFIG_SHELL is bash and it inherits a
2512 # broken ls alias from the environment. This has actually 2533 # broken ls alias from the environment. This has actually
2513 # happened. Such a system could not be considered "sane". 2534 # happened. Such a system could not be considered "sane".
2514 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2535 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2515alias in your environment" "$LINENO" 5 2536alias in your environment" "$LINENO" 5
2516 fi 2537 fi
2517 2538
@@ -2521,7 +2542,7 @@ then
2521 # Ok. 2542 # Ok.
2522 : 2543 :
2523else 2544else
2524 as_fn_error "newly created file is older than distributed files! 2545 as_fn_error $? "newly created file is older than distributed files!
2525Check your system clock" "$LINENO" 5 2546Check your system clock" "$LINENO" 5
2526fi 2547fi
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -2759,7 +2780,7 @@ done
2759$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2780$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2760set x ${MAKE-make} 2781set x ${MAKE-make}
2761ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2782ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2762if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2783if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2763 $as_echo_n "(cached) " >&6 2784 $as_echo_n "(cached) " >&6
2764else 2785else
2765 cat >conftest.make <<\_ACEOF 2786 cat >conftest.make <<\_ACEOF
@@ -2767,7 +2788,7 @@ SHELL = /bin/sh
2767all: 2788all:
2768 @echo '@@@%%%=$(MAKE)=@@@%%%' 2789 @echo '@@@%%%=$(MAKE)=@@@%%%'
2769_ACEOF 2790_ACEOF
2770# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2791# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2771case `${MAKE-make} -f conftest.make 2>/dev/null` in 2792case `${MAKE-make} -f conftest.make 2>/dev/null` in
2772 *@@@%%%=?*=@@@%%%*) 2793 *@@@%%%=?*=@@@%%%*)
2773 eval ac_cv_prog_make_${ac_make}_set=yes;; 2794 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -2801,7 +2822,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
2801 am__isrc=' -I$(srcdir)' 2822 am__isrc=' -I$(srcdir)'
2802 # test to see if srcdir already configured 2823 # test to see if srcdir already configured
2803 if test -f $srcdir/config.status; then 2824 if test -f $srcdir/config.status; then
2804 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2825 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2805 fi 2826 fi
2806fi 2827fi
2807 2828
@@ -2817,7 +2838,7 @@ fi
2817 2838
2818# Define the identity of the package. 2839# Define the identity of the package.
2819 PACKAGE='embryo' 2840 PACKAGE='embryo'
2820 VERSION='1.1.99.67344' 2841 VERSION='1.2.0-alpha'
2821 2842
2822 2843
2823cat >>confdefs.h <<_ACEOF 2844cat >>confdefs.h <<_ACEOF
@@ -2872,7 +2893,7 @@ AM_BACKSLASH='\'
2872 2893
2873# Make sure we can run config.sub. 2894# Make sure we can run config.sub.
2874$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2895$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2875 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2896 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2876 2897
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2878$as_echo_n "checking build system type... " >&6; } 2899$as_echo_n "checking build system type... " >&6; }
@@ -2883,16 +2904,16 @@ else
2883test "x$ac_build_alias" = x && 2904test "x$ac_build_alias" = x &&
2884 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2905 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2885test "x$ac_build_alias" = x && 2906test "x$ac_build_alias" = x &&
2886 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2907 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2887ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2908ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2888 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2909 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2889 2910
2890fi 2911fi
2891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2892$as_echo "$ac_cv_build" >&6; } 2913$as_echo "$ac_cv_build" >&6; }
2893case $ac_cv_build in 2914case $ac_cv_build in
2894*-*-*) ;; 2915*-*-*) ;;
2895*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2916*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2896esac 2917esac
2897build=$ac_cv_build 2918build=$ac_cv_build
2898ac_save_IFS=$IFS; IFS='-' 2919ac_save_IFS=$IFS; IFS='-'
@@ -2917,7 +2938,7 @@ else
2917 ac_cv_host=$ac_cv_build 2938 ac_cv_host=$ac_cv_build
2918else 2939else
2919 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2940 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2920 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2941 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2921fi 2942fi
2922 2943
2923fi 2944fi
@@ -2925,7 +2946,7 @@ fi
2925$as_echo "$ac_cv_host" >&6; } 2946$as_echo "$ac_cv_host" >&6; }
2926case $ac_cv_host in 2947case $ac_cv_host in
2927*-*-*) ;; 2948*-*-*) ;;
2928*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2949*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2929esac 2950esac
2930host=$ac_cv_host 2951host=$ac_cv_host
2931ac_save_IFS=$IFS; IFS='-' 2952ac_save_IFS=$IFS; IFS='-'
@@ -3631,8 +3652,8 @@ fi
3631 3652
3632test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3653test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634as_fn_error "no acceptable C compiler found in \$PATH 3655as_fn_error $? "no acceptable C compiler found in \$PATH
3635See \`config.log' for more details." "$LINENO" 5; } 3656See \`config.log' for more details" "$LINENO" 5 ; }
3636 3657
3637# Provide some information about the compiler. 3658# Provide some information about the compiler.
3638$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3659$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3746,9 +3767,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3746 3767
3747{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3768{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749{ as_fn_set_status 77 3770as_fn_error 77 "C compiler cannot create executables
3750as_fn_error "C compiler cannot create executables 3771See \`config.log' for more details" "$LINENO" 5 ; }
3751See \`config.log' for more details." "$LINENO" 5; }; }
3752else 3772else
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3754$as_echo "yes" >&6; } 3774$as_echo "yes" >&6; }
@@ -3790,8 +3810,8 @@ done
3790else 3810else
3791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793as_fn_error "cannot compute suffix of executables: cannot compile and link 3813as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3794See \`config.log' for more details." "$LINENO" 5; } 3814See \`config.log' for more details" "$LINENO" 5 ; }
3795fi 3815fi
3796rm -f conftest conftest$ac_cv_exeext 3816rm -f conftest conftest$ac_cv_exeext
3797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3848,9 +3868,9 @@ $as_echo "$ac_try_echo"; } >&5
3848 else 3868 else
3849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851as_fn_error "cannot run C compiled programs. 3871as_fn_error $? "cannot run C compiled programs.
3852If you meant to cross compile, use \`--host'. 3872If you meant to cross compile, use \`--host'.
3853See \`config.log' for more details." "$LINENO" 5; } 3873See \`config.log' for more details" "$LINENO" 5 ; }
3854 fi 3874 fi
3855 fi 3875 fi
3856fi 3876fi
@@ -3901,8 +3921,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
3901 3921
3902{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3922{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3923$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904as_fn_error "cannot compute suffix of object files: cannot compile 3924as_fn_error $? "cannot compute suffix of object files: cannot compile
3905See \`config.log' for more details." "$LINENO" 5; } 3925See \`config.log' for more details" "$LINENO" 5 ; }
3906fi 3926fi
3907rm -f conftest.$ac_cv_objext conftest.$ac_ext 3927rm -f conftest.$ac_cv_objext conftest.$ac_ext
3908fi 3928fi
@@ -4306,7 +4326,7 @@ esac
4306 done 4326 done
4307IFS=$as_save_IFS 4327IFS=$as_save_IFS
4308 if test -z "$ac_cv_path_SED"; then 4328 if test -z "$ac_cv_path_SED"; then
4309 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4329 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4310 fi 4330 fi
4311else 4331else
4312 ac_cv_path_SED=$SED 4332 ac_cv_path_SED=$SED
@@ -4382,7 +4402,7 @@ esac
4382 done 4402 done
4383IFS=$as_save_IFS 4403IFS=$as_save_IFS
4384 if test -z "$ac_cv_path_GREP"; then 4404 if test -z "$ac_cv_path_GREP"; then
4385 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4405 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4386 fi 4406 fi
4387else 4407else
4388 ac_cv_path_GREP=$GREP 4408 ac_cv_path_GREP=$GREP
@@ -4448,7 +4468,7 @@ esac
4448 done 4468 done
4449IFS=$as_save_IFS 4469IFS=$as_save_IFS
4450 if test -z "$ac_cv_path_EGREP"; then 4470 if test -z "$ac_cv_path_EGREP"; then
4451 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4471 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4452 fi 4472 fi
4453else 4473else
4454 ac_cv_path_EGREP=$EGREP 4474 ac_cv_path_EGREP=$EGREP
@@ -4515,7 +4535,7 @@ esac
4515 done 4535 done
4516IFS=$as_save_IFS 4536IFS=$as_save_IFS
4517 if test -z "$ac_cv_path_FGREP"; then 4537 if test -z "$ac_cv_path_FGREP"; then
4518 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4538 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4519 fi 4539 fi
4520else 4540else
4521 ac_cv_path_FGREP=$FGREP 4541 ac_cv_path_FGREP=$FGREP
@@ -4631,7 +4651,7 @@ else
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632$as_echo "no" >&6; } 4652$as_echo "no" >&6; }
4633fi 4653fi
4634test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 4654test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4636$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4656$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4637if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4657if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -4833,13 +4853,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
4833else 4853else
4834 lt_cv_nm_interface="BSD nm" 4854 lt_cv_nm_interface="BSD nm"
4835 echo "int some_variable = 0;" > conftest.$ac_ext 4855 echo "int some_variable = 0;" > conftest.$ac_ext
4836 (eval echo "\"\$as_me:4836: $ac_compile\"" >&5) 4856 (eval echo "\"\$as_me:4856: $ac_compile\"" >&5)
4837 (eval "$ac_compile" 2>conftest.err) 4857 (eval "$ac_compile" 2>conftest.err)
4838 cat conftest.err >&5 4858 cat conftest.err >&5
4839 (eval echo "\"\$as_me:4839: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4859 (eval echo "\"\$as_me:4859: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4840 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4860 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4841 cat conftest.err >&5 4861 cat conftest.err >&5
4842 (eval echo "\"\$as_me:4842: output\"" >&5) 4862 (eval echo "\"\$as_me:4862: output\"" >&5)
4843 cat conftest.out >&5 4863 cat conftest.out >&5
4844 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4864 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4845 lt_cv_nm_interface="MS dumpbin" 4865 lt_cv_nm_interface="MS dumpbin"
@@ -6042,7 +6062,7 @@ ia64-*-hpux*)
6042 ;; 6062 ;;
6043*-*-irix6*) 6063*-*-irix6*)
6044 # Find out which ABI we are using. 6064 # Find out which ABI we are using.
6045 echo '#line 6045 "configure"' > conftest.$ac_ext 6065 echo '#line 6065 "configure"' > conftest.$ac_ext
6046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6047 (eval $ac_compile) 2>&5 6067 (eval $ac_compile) 2>&5
6048 ac_status=$? 6068 ac_status=$?
@@ -6831,7 +6851,7 @@ else
6831 # Broken: fails on valid input. 6851 # Broken: fails on valid input.
6832continue 6852continue
6833fi 6853fi
6834rm -f conftest.err conftest.$ac_ext 6854rm -f conftest.err conftest.i conftest.$ac_ext
6835 6855
6836 # OK, works on sane cases. Now check whether nonexistent headers 6856 # OK, works on sane cases. Now check whether nonexistent headers
6837 # can be detected and how. 6857 # can be detected and how.
@@ -6847,11 +6867,11 @@ else
6847ac_preproc_ok=: 6867ac_preproc_ok=:
6848break 6868break
6849fi 6869fi
6850rm -f conftest.err conftest.$ac_ext 6870rm -f conftest.err conftest.i conftest.$ac_ext
6851 6871
6852done 6872done
6853# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6873# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6854rm -f conftest.err conftest.$ac_ext 6874rm -f conftest.i conftest.err conftest.$ac_ext
6855if $ac_preproc_ok; then : 6875if $ac_preproc_ok; then :
6856 break 6876 break
6857fi 6877fi
@@ -6890,7 +6910,7 @@ else
6890 # Broken: fails on valid input. 6910 # Broken: fails on valid input.
6891continue 6911continue
6892fi 6912fi
6893rm -f conftest.err conftest.$ac_ext 6913rm -f conftest.err conftest.i conftest.$ac_ext
6894 6914
6895 # OK, works on sane cases. Now check whether nonexistent headers 6915 # OK, works on sane cases. Now check whether nonexistent headers
6896 # can be detected and how. 6916 # can be detected and how.
@@ -6906,18 +6926,18 @@ else
6906ac_preproc_ok=: 6926ac_preproc_ok=:
6907break 6927break
6908fi 6928fi
6909rm -f conftest.err conftest.$ac_ext 6929rm -f conftest.err conftest.i conftest.$ac_ext
6910 6930
6911done 6931done
6912# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6932# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6913rm -f conftest.err conftest.$ac_ext 6933rm -f conftest.i conftest.err conftest.$ac_ext
6914if $ac_preproc_ok; then : 6934if $ac_preproc_ok; then :
6915 6935
6916else 6936else
6917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6938$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6919as_fn_error "C preprocessor \"$CPP\" fails sanity check 6939as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6920See \`config.log' for more details." "$LINENO" 5; } 6940See \`config.log' for more details" "$LINENO" 5 ; }
6921fi 6941fi
6922 6942
6923ac_ext=c 6943ac_ext=c
@@ -7046,8 +7066,7 @@ do :
7046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7067ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7048" 7068"
7049eval as_val=\$$as_ac_Header 7069if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7050 if test "x$as_val" = x""yes; then :
7051 cat >>confdefs.h <<_ACEOF 7070 cat >>confdefs.h <<_ACEOF
7052#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7071#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7053_ACEOF 7072_ACEOF
@@ -7570,11 +7589,11 @@ else
7570 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7572 -e 's:$: $lt_compiler_flag:'` 7591 -e 's:$: $lt_compiler_flag:'`
7573 (eval echo "\"\$as_me:7573: $lt_compile\"" >&5) 7592 (eval echo "\"\$as_me:7592: $lt_compile\"" >&5)
7574 (eval "$lt_compile" 2>conftest.err) 7593 (eval "$lt_compile" 2>conftest.err)
7575 ac_status=$? 7594 ac_status=$?
7576 cat conftest.err >&5 7595 cat conftest.err >&5
7577 echo "$as_me:7577: \$? = $ac_status" >&5 7596 echo "$as_me:7596: \$? = $ac_status" >&5
7578 if (exit $ac_status) && test -s "$ac_outfile"; then 7597 if (exit $ac_status) && test -s "$ac_outfile"; then
7579 # The compiler can only warn and ignore the option if not recognized 7598 # The compiler can only warn and ignore the option if not recognized
7580 # So say no if there are warnings other than the usual output. 7599 # So say no if there are warnings other than the usual output.
@@ -7909,11 +7928,11 @@ else
7909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7928 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7929 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7911 -e 's:$: $lt_compiler_flag:'` 7930 -e 's:$: $lt_compiler_flag:'`
7912 (eval echo "\"\$as_me:7912: $lt_compile\"" >&5) 7931 (eval echo "\"\$as_me:7931: $lt_compile\"" >&5)
7913 (eval "$lt_compile" 2>conftest.err) 7932 (eval "$lt_compile" 2>conftest.err)
7914 ac_status=$? 7933 ac_status=$?
7915 cat conftest.err >&5 7934 cat conftest.err >&5
7916 echo "$as_me:7916: \$? = $ac_status" >&5 7935 echo "$as_me:7935: \$? = $ac_status" >&5
7917 if (exit $ac_status) && test -s "$ac_outfile"; then 7936 if (exit $ac_status) && test -s "$ac_outfile"; then
7918 # The compiler can only warn and ignore the option if not recognized 7937 # The compiler can only warn and ignore the option if not recognized
7919 # So say no if there are warnings other than the usual output. 7938 # So say no if there are warnings other than the usual output.
@@ -8014,11 +8033,11 @@ else
8014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8016 -e 's:$: $lt_compiler_flag:'` 8035 -e 's:$: $lt_compiler_flag:'`
8017 (eval echo "\"\$as_me:8017: $lt_compile\"" >&5) 8036 (eval echo "\"\$as_me:8036: $lt_compile\"" >&5)
8018 (eval "$lt_compile" 2>out/conftest.err) 8037 (eval "$lt_compile" 2>out/conftest.err)
8019 ac_status=$? 8038 ac_status=$?
8020 cat out/conftest.err >&5 8039 cat out/conftest.err >&5
8021 echo "$as_me:8021: \$? = $ac_status" >&5 8040 echo "$as_me:8040: \$? = $ac_status" >&5
8022 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8041 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8023 then 8042 then
8024 # The compiler can only warn and ignore the option if not recognized 8043 # The compiler can only warn and ignore the option if not recognized
@@ -8069,11 +8088,11 @@ else
8069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8071 -e 's:$: $lt_compiler_flag:'` 8090 -e 's:$: $lt_compiler_flag:'`
8072 (eval echo "\"\$as_me:8072: $lt_compile\"" >&5) 8091 (eval echo "\"\$as_me:8091: $lt_compile\"" >&5)
8073 (eval "$lt_compile" 2>out/conftest.err) 8092 (eval "$lt_compile" 2>out/conftest.err)
8074 ac_status=$? 8093 ac_status=$?
8075 cat out/conftest.err >&5 8094 cat out/conftest.err >&5
8076 echo "$as_me:8076: \$? = $ac_status" >&5 8095 echo "$as_me:8095: \$? = $ac_status" >&5
8077 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8078 then 8097 then
8079 # The compiler can only warn and ignore the option if not recognized 8098 # The compiler can only warn and ignore the option if not recognized
@@ -10453,7 +10472,7 @@ else
10453 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10472 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10454 lt_status=$lt_dlunknown 10473 lt_status=$lt_dlunknown
10455 cat > conftest.$ac_ext <<_LT_EOF 10474 cat > conftest.$ac_ext <<_LT_EOF
10456#line 10456 "configure" 10475#line 10475 "configure"
10457#include "confdefs.h" 10476#include "confdefs.h"
10458 10477
10459#if HAVE_DLFCN_H 10478#if HAVE_DLFCN_H
@@ -10549,7 +10568,7 @@ else
10549 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10568 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10550 lt_status=$lt_dlunknown 10569 lt_status=$lt_dlunknown
10551 cat > conftest.$ac_ext <<_LT_EOF 10570 cat > conftest.$ac_ext <<_LT_EOF
10552#line 10552 "configure" 10571#line 10571 "configure"
10553#include "confdefs.h" 10572#include "confdefs.h"
10554 10573
10555#if HAVE_DLFCN_H 10574#if HAVE_DLFCN_H
@@ -10788,20 +10807,20 @@ _ACEOF
10788 10807
10789 10808
10790cat >>confdefs.h <<_ACEOF 10809cat >>confdefs.h <<_ACEOF
10791#define VMIN 1 10810#define VMIN 2
10792_ACEOF 10811_ACEOF
10793 10812
10794 10813
10795cat >>confdefs.h <<_ACEOF 10814cat >>confdefs.h <<_ACEOF
10796#define VMIC 99 10815#define VMIC 0
10797_ACEOF 10816_ACEOF
10798 10817
10799 10818
10800cat >>confdefs.h <<_ACEOF 10819cat >>confdefs.h <<_ACEOF
10801#define VREV 67344 10820#define VREV 0
10802_ACEOF 10821_ACEOF
10803 10822
10804version_info="2:99:1" 10823version_info="3:0:2"
10805release_info="" 10824release_info=""
10806 10825
10807 10826
@@ -11167,8 +11186,8 @@ fi
11167 11186
11168test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11187test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11170as_fn_error "no acceptable C compiler found in \$PATH 11189as_fn_error $? "no acceptable C compiler found in \$PATH
11171See \`config.log' for more details." "$LINENO" 5; } 11190See \`config.log' for more details" "$LINENO" 5 ; }
11172 11191
11173# Provide some information about the compiler. 11192# Provide some information about the compiler.
11174$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 11193$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -11699,6 +11718,10 @@ fi
11699 11718
11700 11719
11701 11720
11721
11722
11723
11724
11702if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11725if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11703 if test -n "$ac_tool_prefix"; then 11726 if test -n "$ac_tool_prefix"; then
11704 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11727 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -11811,7 +11834,6 @@ $as_echo "yes" >&6; }
11811$as_echo "no" >&6; } 11834$as_echo "no" >&6; }
11812 PKG_CONFIG="" 11835 PKG_CONFIG=""
11813 fi 11836 fi
11814
11815fi 11837fi
11816 11838
11817# Check whether pkg-config supports Requires.private 11839# Check whether pkg-config supports Requires.private
@@ -11835,11 +11857,10 @@ pkg_failed=no
11835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5 11857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
11836$as_echo_n "checking for EVIL... " >&6; } 11858$as_echo_n "checking for EVIL... " >&6; }
11837 11859
11838if test -n "$PKG_CONFIG"; then 11860if test -n "$EVIL_CFLAGS"; then
11839 if test -n "$EVIL_CFLAGS"; then 11861 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
11840 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS" 11862 elif test -n "$PKG_CONFIG"; then
11841 else 11863 if test -n "$PKG_CONFIG" && \
11842 if test -n "$PKG_CONFIG" && \
11843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 11864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
11844 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 11865 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
11845 ac_status=$? 11866 ac_status=$?
@@ -11849,15 +11870,13 @@ if test -n "$PKG_CONFIG"; then
11849else 11870else
11850 pkg_failed=yes 11871 pkg_failed=yes
11851fi 11872fi
11852 fi 11873 else
11853else 11874 pkg_failed=untried
11854 pkg_failed=untried
11855fi 11875fi
11856if test -n "$PKG_CONFIG"; then 11876if test -n "$EVIL_LIBS"; then
11857 if test -n "$EVIL_LIBS"; then 11877 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
11858 pkg_cv_EVIL_LIBS="$EVIL_LIBS" 11878 elif test -n "$PKG_CONFIG"; then
11859 else 11879 if test -n "$PKG_CONFIG" && \
11860 if test -n "$PKG_CONFIG" && \
11861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 11880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
11862 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 11881 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
11863 ac_status=$? 11882 ac_status=$?
@@ -11867,14 +11886,15 @@ if test -n "$PKG_CONFIG"; then
11867else 11886else
11868 pkg_failed=yes 11887 pkg_failed=yes
11869fi 11888fi
11870 fi 11889 else
11871else 11890 pkg_failed=untried
11872 pkg_failed=untried
11873fi 11891fi
11874 11892
11875 11893
11876 11894
11877if test $pkg_failed = yes; then 11895if test $pkg_failed = yes; then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897$as_echo "no" >&6; }
11878 11898
11879if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11899if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11880 _pkg_short_errors_supported=yes 11900 _pkg_short_errors_supported=yes
@@ -11882,14 +11902,14 @@ else
11882 _pkg_short_errors_supported=no 11902 _pkg_short_errors_supported=no
11883fi 11903fi
11884 if test $_pkg_short_errors_supported = yes; then 11904 if test $_pkg_short_errors_supported = yes; then
11885 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil >= 1.0.0"` 11905 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
11886 else 11906 else
11887 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil >= 1.0.0"` 11907 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
11888 fi 11908 fi
11889 # Put the nasty error message in config.log where it belongs 11909 # Put the nasty error message in config.log where it belongs
11890 echo "$EVIL_PKG_ERRORS" >&5 11910 echo "$EVIL_PKG_ERRORS" >&5
11891 11911
11892 as_fn_error "Package requirements (evil >= 1.0.0) were not met: 11912 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
11893 11913
11894$EVIL_PKG_ERRORS 11914$EVIL_PKG_ERRORS
11895 11915
@@ -11898,12 +11918,13 @@ installed software in a non-standard prefix.
11898 11918
11899Alternatively, you may set the environment variables EVIL_CFLAGS 11919Alternatively, you may set the environment variables EVIL_CFLAGS
11900and EVIL_LIBS to avoid the need to call pkg-config. 11920and EVIL_LIBS to avoid the need to call pkg-config.
11901See the pkg-config man page for more details. 11921See the pkg-config man page for more details." "$LINENO" 5
11902" "$LINENO" 5
11903elif test $pkg_failed = untried; then 11922elif test $pkg_failed = untried; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924$as_echo "no" >&6; }
11904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11906as_fn_error "The pkg-config script could not be found or is too old. Make sure it 11927as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11907is in your PATH or set the PKG_CONFIG environment variable to the full 11928is in your PATH or set the PKG_CONFIG environment variable to the full
11908path to pkg-config. 11929path to pkg-config.
11909 11930
@@ -11912,13 +11933,13 @@ and EVIL_LIBS to avoid the need to call pkg-config.
11912See the pkg-config man page for more details. 11933See the pkg-config man page for more details.
11913 11934
11914To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11935To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11915See \`config.log' for more details." "$LINENO" 5; } 11936See \`config.log' for more details" "$LINENO" 5 ; }
11916else 11937else
11917 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS 11938 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
11918 EVIL_LIBS=$pkg_cv_EVIL_LIBS 11939 EVIL_LIBS=$pkg_cv_EVIL_LIBS
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11920$as_echo "yes" >&6; } 11941$as_echo "yes" >&6; }
11921 : 11942
11922fi 11943fi
11923 11944
11924$as_echo "#define HAVE_EVIL 1" >>confdefs.h 11945$as_echo "#define HAVE_EVIL 1" >>confdefs.h
@@ -11935,46 +11956,44 @@ pkg_failed=no
11935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5 11956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
11936$as_echo_n "checking for EINA... " >&6; } 11957$as_echo_n "checking for EINA... " >&6; }
11937 11958
11938if test -n "$PKG_CONFIG"; then 11959if test -n "$EINA_CFLAGS"; then
11939 if test -n "$EINA_CFLAGS"; then 11960 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
11940 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS" 11961 elif test -n "$PKG_CONFIG"; then
11941 else 11962 if test -n "$PKG_CONFIG" && \
11942 if test -n "$PKG_CONFIG" && \ 11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
11943 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 11964 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
11944 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
11945 ac_status=$? 11965 ac_status=$?
11946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11947 test $ac_status = 0; }; then 11967 test $ac_status = 0; }; then
11948 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.1.0" 2>/dev/null` 11968 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
11949else 11969else
11950 pkg_failed=yes 11970 pkg_failed=yes
11951fi 11971fi
11952 fi 11972 else
11953else 11973 pkg_failed=untried
11954 pkg_failed=untried
11955fi 11974fi
11956if test -n "$PKG_CONFIG"; then 11975if test -n "$EINA_LIBS"; then
11957 if test -n "$EINA_LIBS"; then 11976 pkg_cv_EINA_LIBS="$EINA_LIBS"
11958 pkg_cv_EINA_LIBS="$EINA_LIBS" 11977 elif test -n "$PKG_CONFIG"; then
11959 else 11978 if test -n "$PKG_CONFIG" && \
11960 if test -n "$PKG_CONFIG" && \ 11979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
11961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 11980 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
11962 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
11963 ac_status=$? 11981 ac_status=$?
11964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11965 test $ac_status = 0; }; then 11983 test $ac_status = 0; }; then
11966 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.1.0" 2>/dev/null` 11984 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
11967else 11985else
11968 pkg_failed=yes 11986 pkg_failed=yes
11969fi 11987fi
11970 fi 11988 else
11971else 11989 pkg_failed=untried
11972 pkg_failed=untried
11973fi 11990fi
11974 11991
11975 11992
11976 11993
11977if test $pkg_failed = yes; then 11994if test $pkg_failed = yes; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996$as_echo "no" >&6; }
11978 11997
11979if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11998if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11980 _pkg_short_errors_supported=yes 11999 _pkg_short_errors_supported=yes
@@ -11982,14 +12001,14 @@ else
11982 _pkg_short_errors_supported=no 12001 _pkg_short_errors_supported=no
11983fi 12002fi
11984 if test $_pkg_short_errors_supported = yes; then 12003 if test $_pkg_short_errors_supported = yes; then
11985 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eina >= 1.1.0"` 12004 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
11986 else 12005 else
11987 EINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eina >= 1.1.0"` 12006 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
11988 fi 12007 fi
11989 # Put the nasty error message in config.log where it belongs 12008 # Put the nasty error message in config.log where it belongs
11990 echo "$EINA_PKG_ERRORS" >&5 12009 echo "$EINA_PKG_ERRORS" >&5
11991 12010
11992 as_fn_error "Package requirements (eina >= 1.1.0) were not met: 12011 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
11993 12012
11994$EINA_PKG_ERRORS 12013$EINA_PKG_ERRORS
11995 12014
@@ -11998,12 +12017,13 @@ installed software in a non-standard prefix.
11998 12017
11999Alternatively, you may set the environment variables EINA_CFLAGS 12018Alternatively, you may set the environment variables EINA_CFLAGS
12000and EINA_LIBS to avoid the need to call pkg-config. 12019and EINA_LIBS to avoid the need to call pkg-config.
12001See the pkg-config man page for more details. 12020See the pkg-config man page for more details." "$LINENO" 5
12002" "$LINENO" 5
12003elif test $pkg_failed = untried; then 12021elif test $pkg_failed = untried; then
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12023$as_echo "no" >&6; }
12004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12006as_fn_error "The pkg-config script could not be found or is too old. Make sure it 12026as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12007is in your PATH or set the PKG_CONFIG environment variable to the full 12027is in your PATH or set the PKG_CONFIG environment variable to the full
12008path to pkg-config. 12028path to pkg-config.
12009 12029
@@ -12012,13 +12032,93 @@ and EINA_LIBS to avoid the need to call pkg-config.
12012See the pkg-config man page for more details. 12032See the pkg-config man page for more details.
12013 12033
12014To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12034To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12015See \`config.log' for more details." "$LINENO" 5; } 12035See \`config.log' for more details" "$LINENO" 5 ; }
12016else 12036else
12017 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS 12037 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12018 EINA_LIBS=$pkg_cv_EINA_LIBS 12038 EINA_LIBS=$pkg_cv_EINA_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12020$as_echo "yes" >&6; } 12040$as_echo "yes" >&6; }
12021 : 12041
12042fi
12043
12044### Checks for portability layer
12045
12046
12047pkg_failed=no
12048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
12049$as_echo_n "checking for EXOTIC... " >&6; }
12050
12051if test -n "$EXOTIC_CFLAGS"; then
12052 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
12053 elif test -n "$PKG_CONFIG"; then
12054 if test -n "$PKG_CONFIG" && \
12055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12056 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12057 ac_status=$?
12058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12059 test $ac_status = 0; }; then
12060 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
12061else
12062 pkg_failed=yes
12063fi
12064 else
12065 pkg_failed=untried
12066fi
12067if test -n "$EXOTIC_LIBS"; then
12068 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
12069 elif test -n "$PKG_CONFIG"; then
12070 if test -n "$PKG_CONFIG" && \
12071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12072 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12073 ac_status=$?
12074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075 test $ac_status = 0; }; then
12076 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
12077else
12078 pkg_failed=yes
12079fi
12080 else
12081 pkg_failed=untried
12082fi
12083
12084
12085
12086if test $pkg_failed = yes; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088$as_echo "no" >&6; }
12089
12090if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12091 _pkg_short_errors_supported=yes
12092else
12093 _pkg_short_errors_supported=no
12094fi
12095 if test $_pkg_short_errors_supported = yes; then
12096 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
12097 else
12098 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
12099 fi
12100 # Put the nasty error message in config.log where it belongs
12101 echo "$EXOTIC_PKG_ERRORS" >&5
12102
12103 enable_exotic="no"
12104elif test $pkg_failed = untried; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106$as_echo "no" >&6; }
12107 enable_exotic="no"
12108else
12109 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
12110 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12112$as_echo "yes" >&6; }
12113 enable_exotic="yes"
12114fi
12115
12116if test "x${enable_exotic}" = "xyes"; then
12117 requirement_embryo="exotic ${requirement_embryo}"
12118
12119
12120$as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
12121
12022fi 12122fi
12023 12123
12024### Checks for header files 12124### Checks for header files
@@ -12315,8 +12415,8 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12315 12415
12316 ;; #( 12416 ;; #(
12317 *) 12417 *)
12318 as_fn_error "unknown endianness 12418 as_fn_error $? "unknown endianness
12319 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 12419 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12320 esac 12420 esac
12321 12421
12322if test "x$CC" != xcc; then 12422if test "x$CC" != xcc; then
@@ -12328,7 +12428,7 @@ $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12328fi 12428fi
12329set dummy $CC; ac_cc=`$as_echo "$2" | 12429set dummy $CC; ac_cc=`$as_echo "$2" |
12330 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 12430 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12331if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : 12431if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
12332 $as_echo_n "(cached) " >&6 12432 $as_echo_n "(cached) " >&6
12333else 12433else
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -13236,8 +13336,7 @@ if test $ac_cv_os_cray = yes; then
13236 for ac_func in _getb67 GETB67 getb67; do 13336 for ac_func in _getb67 GETB67 getb67; do
13237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13238ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13338ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13239eval as_val=\$$as_ac_var 13339if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13240 if test "x$as_val" = x""yes; then :
13241 13340
13242cat >>confdefs.h <<_ACEOF 13341cat >>confdefs.h <<_ACEOF
13243#define CRAY_STACKSEG_END $ac_func 13342#define CRAY_STACKSEG_END $ac_func
@@ -13337,7 +13436,7 @@ return fnmatch ();
13337 return 0; 13436 return 0;
13338} 13437}
13339_ACEOF 13438_ACEOF
13340for ac_lib in '' fnmatch evil iberty; do 13439for ac_lib in '' fnmatch evil exotic iberty; do
13341 if test -z "$ac_lib"; then 13440 if test -z "$ac_lib"; then
13342 ac_res="none required" 13441 ac_res="none required"
13343 else 13442 else
@@ -13384,31 +13483,83 @@ fi
13384if test "x$_efl_have_fnmatch" = "xyes"; then : 13483if test "x$_efl_have_fnmatch" = "xyes"; then :
13385 13484
13386else 13485else
13387 as_fn_error "Cannot find fnmatch()" "$LINENO" 5 13486 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
13388fi 13487fi
13389 13488
13390 13489
13391 13490
13392case "$host_os" in 13491# gettimeofday
13393 mingw*)
13394 13492
13395$as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
13396 13493
13397 ;; 13494_efl_have_gettimeofday="no"
13398 *) 13495
13399 for ac_func in gettimeofday 13496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400do : 13497/* end confdefs.h. */
13401 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 13498
13402if test "x$ac_cv_func_gettimeofday" = x""yes; then : 13499#include <stdlib.h>
13403 cat >>confdefs.h <<_ACEOF 13500#include <sys/time.h>
13404#define HAVE_GETTIMEOFDAY 1 13501
13502int
13503main ()
13504{
13505
13506int res;
13507res = gettimeofday(NULL, NULL);
13508
13509 ;
13510 return 0;
13511}
13405_ACEOF 13512_ACEOF
13513if ac_fn_c_try_link "$LINENO"; then :
13514 _efl_have_gettimeofday="yes"
13515else
13516 _efl_have_gettimeofday="no"
13517fi
13518rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520
13521if test "x${_efl_have_gettimeofday}" = "xno" -a "x${enable_exotic}" = "xyes"; then
13522 SAVE_LIBS="${LIBS}"
13523 SAVE_CFLAGS="${CFLAGS}"
13524 LIBS="${LIBS} ${EXOTIC_LIBS}"
13525 CFLAGS="${CFLAGS} ${EXOTIC_CFLAGS}"
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527/* end confdefs.h. */
13528
13529#include <Exotic.h>
13406 13530
13531int
13532main ()
13533{
13534
13535int res;
13536res = gettimeofday(NULL, NULL);
13537
13538 ;
13539 return 0;
13540}
13541_ACEOF
13542if ac_fn_c_try_link "$LINENO"; then :
13543 _efl_have_gettimeofday="yes"
13544else
13545 _efl_have_gettimeofday="no"
13546fi
13547rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549fi
13550
13551if test "x${_efl_have_gettimeofday}" = "xyes"; then
13552
13553$as_echo "#define EFL_HAVE_GETTIMEOFDAY 1" >>confdefs.h
13554
13555fi
13556
13557if test "x${_efl_have_gettimeofday}" = "xyes"; then :
13558
13559else
13560 as_fn_error $? "Cannot find gettimeofday()" "$LINENO" 5
13407fi 13561fi
13408done
13409 13562
13410 ;;
13411esac
13412 13563
13413 13564
13414 13565
@@ -13499,6 +13650,7 @@ DEFS=-DHAVE_CONFIG_H
13499 13650
13500ac_libobjs= 13651ac_libobjs=
13501ac_ltlibobjs= 13652ac_ltlibobjs=
13653U=
13502for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13654for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13503 # 1. Remove the extension, and $U if already installed. 13655 # 1. Remove the extension, and $U if already installed.
13504 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13656 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -13522,23 +13674,23 @@ else
13522fi 13674fi
13523 13675
13524if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13676if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13525 as_fn_error "conditional \"AMDEP\" was never defined. 13677 as_fn_error $? "conditional \"AMDEP\" was never defined.
13526Usually this means the macro was only invoked conditionally." "$LINENO" 5 13678Usually this means the macro was only invoked conditionally." "$LINENO" 5
13527fi 13679fi
13528if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13680if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13529 as_fn_error "conditional \"am__fastdepCC\" was never defined. 13681 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13530Usually this means the macro was only invoked conditionally." "$LINENO" 5 13682Usually this means the macro was only invoked conditionally." "$LINENO" 5
13531fi 13683fi
13532if test -z "${BUILD_EMBRYO_CC_TRUE}" && test -z "${BUILD_EMBRYO_CC_FALSE}"; then 13684if test -z "${BUILD_EMBRYO_CC_TRUE}" && test -z "${BUILD_EMBRYO_CC_FALSE}"; then
13533 as_fn_error "conditional \"BUILD_EMBRYO_CC\" was never defined. 13685 as_fn_error $? "conditional \"BUILD_EMBRYO_CC\" was never defined.
13534Usually this means the macro was only invoked conditionally." "$LINENO" 5 13686Usually this means the macro was only invoked conditionally." "$LINENO" 5
13535fi 13687fi
13536if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13688if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13537 as_fn_error "conditional \"am__fastdepCC\" was never defined. 13689 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13538Usually this means the macro was only invoked conditionally." "$LINENO" 5 13690Usually this means the macro was only invoked conditionally." "$LINENO" 5
13539fi 13691fi
13540if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then 13692if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
13541 as_fn_error "conditional \"EFL_BUILD_DOC\" was never defined. 13693 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
13542Usually this means the macro was only invoked conditionally." "$LINENO" 5 13694Usually this means the macro was only invoked conditionally." "$LINENO" 5
13543fi 13695fi
13544 13696
@@ -13689,19 +13841,19 @@ export LANGUAGE
13689(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13841(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13690 13842
13691 13843
13692# as_fn_error ERROR [LINENO LOG_FD] 13844# as_fn_error STATUS ERROR [LINENO LOG_FD]
13693# --------------------------------- 13845# ----------------------------------------
13694# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13846# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13695# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13847# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13696# script with status $?, using 1 if that was 0. 13848# script with STATUS, using 1 if that was 0.
13697as_fn_error () 13849as_fn_error ()
13698{ 13850{
13699 as_status=$?; test $as_status -eq 0 && as_status=1 13851 as_status=$1; test $as_status -eq 0 && as_status=1
13700 if test "$3"; then 13852 if test "$4"; then
13701 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13853 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13702 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13854 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13703 fi 13855 fi
13704 $as_echo "$as_me: error: $1" >&2 13856 $as_echo "$as_me: error: $2" >&2
13705 as_fn_exit $as_status 13857 as_fn_exit $as_status
13706} # as_fn_error 13858} # as_fn_error
13707 13859
@@ -13897,7 +14049,7 @@ $as_echo X"$as_dir" |
13897 test -d "$as_dir" && break 14049 test -d "$as_dir" && break
13898 done 14050 done
13899 test -z "$as_dirs" || eval "mkdir $as_dirs" 14051 test -z "$as_dirs" || eval "mkdir $as_dirs"
13900 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 14052 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13901 14053
13902 14054
13903} # as_fn_mkdir_p 14055} # as_fn_mkdir_p
@@ -13950,8 +14102,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13950# report actual input values of CONFIG_FILES etc. instead of their 14102# report actual input values of CONFIG_FILES etc. instead of their
13951# values after options handling. 14103# values after options handling.
13952ac_log=" 14104ac_log="
13953This file was extended by embryo $as_me 1.1.99.67344, which was 14105This file was extended by embryo $as_me 1.2.0-alpha, which was
13954generated by GNU Autoconf 2.65. Invocation command line was 14106generated by GNU Autoconf 2.67. Invocation command line was
13955 14107
13956 CONFIG_FILES = $CONFIG_FILES 14108 CONFIG_FILES = $CONFIG_FILES
13957 CONFIG_HEADERS = $CONFIG_HEADERS 14109 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -14016,11 +14168,11 @@ _ACEOF
14016cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14017ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14169ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14018ac_cs_version="\\ 14170ac_cs_version="\\
14019embryo config.status 1.1.99.67344 14171embryo config.status 1.2.0-alpha
14020configured by $0, generated by GNU Autoconf 2.65, 14172configured by $0, generated by GNU Autoconf 2.67,
14021 with options \\"\$ac_cs_config\\" 14173 with options \\"\$ac_cs_config\\"
14022 14174
14023Copyright (C) 2009 Free Software Foundation, Inc. 14175Copyright (C) 2010 Free Software Foundation, Inc.
14024This config.status script is free software; the Free Software Foundation 14176This config.status script is free software; the Free Software Foundation
14025gives unlimited permission to copy, distribute and modify it." 14177gives unlimited permission to copy, distribute and modify it."
14026 14178
@@ -14038,11 +14190,16 @@ ac_need_defaults=:
14038while test $# != 0 14190while test $# != 0
14039do 14191do
14040 case $1 in 14192 case $1 in
14041 --*=*) 14193 --*=?*)
14042 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14194 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14195 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14044 ac_shift=: 14196 ac_shift=:
14045 ;; 14197 ;;
14198 --*=)
14199 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14200 ac_optarg=
14201 ac_shift=:
14202 ;;
14046 *) 14203 *)
14047 ac_option=$1 14204 ac_option=$1
14048 ac_optarg=$2 14205 ac_optarg=$2
@@ -14064,6 +14221,7 @@ do
14064 $ac_shift 14221 $ac_shift
14065 case $ac_optarg in 14222 case $ac_optarg in
14066 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14223 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14224 '') as_fn_error $? "missing file argument" ;;
14067 esac 14225 esac
14068 as_fn_append CONFIG_FILES " '$ac_optarg'" 14226 as_fn_append CONFIG_FILES " '$ac_optarg'"
14069 ac_need_defaults=false;; 14227 ac_need_defaults=false;;
@@ -14076,7 +14234,7 @@ do
14076 ac_need_defaults=false;; 14234 ac_need_defaults=false;;
14077 --he | --h) 14235 --he | --h)
14078 # Conflict between --help and --header 14236 # Conflict between --help and --header
14079 as_fn_error "ambiguous option: \`$1' 14237 as_fn_error $? "ambiguous option: \`$1'
14080Try \`$0 --help' for more information.";; 14238Try \`$0 --help' for more information.";;
14081 --help | --hel | -h ) 14239 --help | --hel | -h )
14082 $as_echo "$ac_cs_usage"; exit ;; 14240 $as_echo "$ac_cs_usage"; exit ;;
@@ -14085,7 +14243,7 @@ Try \`$0 --help' for more information.";;
14085 ac_cs_silent=: ;; 14243 ac_cs_silent=: ;;
14086 14244
14087 # This is an error. 14245 # This is an error.
14088 -*) as_fn_error "unrecognized option: \`$1' 14246 -*) as_fn_error $? "unrecognized option: \`$1'
14089Try \`$0 --help' for more information." ;; 14247Try \`$0 --help' for more information." ;;
14090 14248
14091 *) as_fn_append ac_config_targets " $1" 14249 *) as_fn_append ac_config_targets " $1"
@@ -14409,7 +14567,7 @@ do
14409 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;; 14567 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14410 "embryo.spec") CONFIG_FILES="$CONFIG_FILES embryo.spec" ;; 14568 "embryo.spec") CONFIG_FILES="$CONFIG_FILES embryo.spec" ;;
14411 14569
14412 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14570 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
14413 esac 14571 esac
14414done 14572done
14415 14573
@@ -14447,7 +14605,7 @@ $debug ||
14447{ 14605{
14448 tmp=./conf$$-$RANDOM 14606 tmp=./conf$$-$RANDOM
14449 (umask 077 && mkdir "$tmp") 14607 (umask 077 && mkdir "$tmp")
14450} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 14608} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14451 14609
14452# Set up the scripts for CONFIG_FILES section. 14610# Set up the scripts for CONFIG_FILES section.
14453# No need to generate them if there are no CONFIG_FILES. 14611# No need to generate them if there are no CONFIG_FILES.
@@ -14464,7 +14622,7 @@ if test "x$ac_cr" = x; then
14464fi 14622fi
14465ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14623ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14466if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14624if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14467 ac_cs_awk_cr='\r' 14625 ac_cs_awk_cr='\\r'
14468else 14626else
14469 ac_cs_awk_cr=$ac_cr 14627 ac_cs_awk_cr=$ac_cr
14470fi 14628fi
@@ -14478,18 +14636,18 @@ _ACEOF
14478 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14636 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14479 echo "_ACEOF" 14637 echo "_ACEOF"
14480} >conf$$subs.sh || 14638} >conf$$subs.sh ||
14481 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14482ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14640ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14483ac_delim='%!_!# ' 14641ac_delim='%!_!# '
14484for ac_last_try in false false false false false :; do 14642for ac_last_try in false false false false false :; do
14485 . ./conf$$subs.sh || 14643 . ./conf$$subs.sh ||
14486 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14487 14645
14488 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14646 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14489 if test $ac_delim_n = $ac_delim_num; then 14647 if test $ac_delim_n = $ac_delim_num; then
14490 break 14648 break
14491 elif $ac_last_try; then 14649 elif $ac_last_try; then
14492 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 14650 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14493 else 14651 else
14494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14495 fi 14653 fi
@@ -14578,20 +14736,28 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14578else 14736else
14579 cat 14737 cat
14580fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14738fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14581 || as_fn_error "could not setup config files machinery" "$LINENO" 5 14739 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14582_ACEOF 14740_ACEOF
14583 14741
14584# VPATH may cause trouble with some makes, so we remove $(srcdir), 14742# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14585# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14743# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14586# trailing colons and then remove the whole line if VPATH becomes empty 14744# trailing colons and then remove the whole line if VPATH becomes empty
14587# (actually we leave an empty line to preserve line numbers). 14745# (actually we leave an empty line to preserve line numbers).
14588if test "x$srcdir" = x.; then 14746if test "x$srcdir" = x.; then
14589 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14747 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14590s/:*\$(srcdir):*/:/ 14748h
14591s/:*\${srcdir}:*/:/ 14749s///
14592s/:*@srcdir@:*/:/ 14750s/^/:/
14593s/^\([^=]*=[ ]*\):*/\1/ 14751s/[ ]*$/:/
14752s/:\$(srcdir):/:/g
14753s/:\${srcdir}:/:/g
14754s/:@srcdir@:/:/g
14755s/^:*//
14594s/:*$// 14756s/:*$//
14757x
14758s/\(=[ ]*\).*/\1/
14759G
14760s/\n//
14595s/^[^=]*=[ ]*$// 14761s/^[^=]*=[ ]*$//
14596}' 14762}'
14597fi 14763fi
@@ -14619,7 +14785,7 @@ for ac_last_try in false false :; do
14619 if test -z "$ac_t"; then 14785 if test -z "$ac_t"; then
14620 break 14786 break
14621 elif $ac_last_try; then 14787 elif $ac_last_try; then
14622 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 14788 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14623 else 14789 else
14624 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14790 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14625 fi 14791 fi
@@ -14704,7 +14870,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14704_ACAWK 14870_ACAWK
14705_ACEOF 14871_ACEOF
14706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14872cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14707 as_fn_error "could not setup config headers machinery" "$LINENO" 5 14873 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14708fi # test -n "$CONFIG_HEADERS" 14874fi # test -n "$CONFIG_HEADERS"
14709 14875
14710 14876
@@ -14717,7 +14883,7 @@ do
14717 esac 14883 esac
14718 case $ac_mode$ac_tag in 14884 case $ac_mode$ac_tag in
14719 :[FHL]*:*);; 14885 :[FHL]*:*);;
14720 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 14886 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14721 :[FH]-) ac_tag=-:-;; 14887 :[FH]-) ac_tag=-:-;;
14722 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14888 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14723 esac 14889 esac
@@ -14745,7 +14911,7 @@ do
14745 [\\/$]*) false;; 14911 [\\/$]*) false;;
14746 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14912 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14747 esac || 14913 esac ||
14748 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14914 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14749 esac 14915 esac
14750 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14916 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14751 as_fn_append ac_file_inputs " '$ac_f'" 14917 as_fn_append ac_file_inputs " '$ac_f'"
@@ -14772,7 +14938,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
14772 14938
14773 case $ac_tag in 14939 case $ac_tag in
14774 *:-:* | *:-) cat >"$tmp/stdin" \ 14940 *:-:* | *:-) cat >"$tmp/stdin" \
14775 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 14941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14776 esac 14942 esac
14777 ;; 14943 ;;
14778 esac 14944 esac
@@ -14909,22 +15075,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
14909$ac_datarootdir_hack 15075$ac_datarootdir_hack
14910" 15076"
14911eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 15077eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14912 || as_fn_error "could not create $ac_file" "$LINENO" 5 15078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14913 15079
14914test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15080test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14915 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 15081 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14916 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 15082 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14918which seems to be undefined. Please make sure it is defined." >&5 15084which seems to be undefined. Please make sure it is defined" >&5
14919$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15085$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14920which seems to be undefined. Please make sure it is defined." >&2;} 15086which seems to be undefined. Please make sure it is defined" >&2;}
14921 15087
14922 rm -f "$tmp/stdin" 15088 rm -f "$tmp/stdin"
14923 case $ac_file in 15089 case $ac_file in
14924 -) cat "$tmp/out" && rm -f "$tmp/out";; 15090 -) cat "$tmp/out" && rm -f "$tmp/out";;
14925 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 15091 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14926 esac \ 15092 esac \
14927 || as_fn_error "could not create $ac_file" "$LINENO" 5 15093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14928 ;; 15094 ;;
14929 :H) 15095 :H)
14930 # 15096 #
@@ -14935,19 +15101,19 @@ which seems to be undefined. Please make sure it is defined." >&2;}
14935 $as_echo "/* $configure_input */" \ 15101 $as_echo "/* $configure_input */" \
14936 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 15102 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14937 } >"$tmp/config.h" \ 15103 } >"$tmp/config.h" \
14938 || as_fn_error "could not create $ac_file" "$LINENO" 5 15104 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14939 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 15105 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15106 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14941$as_echo "$as_me: $ac_file is unchanged" >&6;} 15107$as_echo "$as_me: $ac_file is unchanged" >&6;}
14942 else 15108 else
14943 rm -f "$ac_file" 15109 rm -f "$ac_file"
14944 mv "$tmp/config.h" "$ac_file" \ 15110 mv "$tmp/config.h" "$ac_file" \
14945 || as_fn_error "could not create $ac_file" "$LINENO" 5 15111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14946 fi 15112 fi
14947 else 15113 else
14948 $as_echo "/* $configure_input */" \ 15114 $as_echo "/* $configure_input */" \
14949 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 15115 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14950 || as_fn_error "could not create -" "$LINENO" 5 15116 || as_fn_error $? "could not create -" "$LINENO" 5
14951 fi 15117 fi
14952# Compute "$ac_file"'s index in $config_headers. 15118# Compute "$ac_file"'s index in $config_headers.
14953_am_arg="$ac_file" 15119_am_arg="$ac_file"
@@ -15738,7 +15904,7 @@ _ACEOF
15738ac_clean_files=$ac_clean_files_save 15904ac_clean_files=$ac_clean_files_save
15739 15905
15740test $ac_write_fail = 0 || 15906test $ac_write_fail = 0 ||
15741 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 15907 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15742 15908
15743 15909
15744# configure is writing to config.log, and then calls config.status. 15910# configure is writing to config.log, and then calls config.status.
@@ -15759,7 +15925,7 @@ if test "$no_create" != yes; then
15759 exec 5>>config.log 15925 exec 5>>config.log
15760 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15926 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15761 # would make configure fail if this is the last instruction. 15927 # would make configure fail if this is the last instruction.
15762 $ac_cs_success || as_fn_exit $? 15928 $ac_cs_success || as_fn_exit 1
15763fi 15929fi
15764if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15930if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
diff --git a/libraries/embryo/configure.ac b/libraries/embryo/configure.ac
index 61c50b8..09bd04e 100644
--- a/libraries/embryo/configure.ac
+++ b/libraries/embryo/configure.ac
@@ -1,12 +1,12 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [1]) 4m4_define([v_min], [2])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-07]) 11dnl m4_define([relname], [ver-pre-svn-07])
12dnl m4_define([v_rel], [-release ver-pre-svn-07]) 12dnl m4_define([v_rel], [-release ver-pre-svn-07])
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 20
21AC_INIT([embryo], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([embryo], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52]) 22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -107,7 +107,20 @@ esac
107AC_SUBST(EFL_EMBRYO_BUILD) 107AC_SUBST(EFL_EMBRYO_BUILD)
108 108
109# For embryo_cc_prefix.c 109# For embryo_cc_prefix.c
110PKG_CHECK_MODULES([EINA], [eina >= 1.1.0]) 110PKG_CHECK_MODULES([EINA], [eina >= 1.2.0])
111
112### Checks for portability layer
113
114PKG_CHECK_MODULES([EXOTIC],
115 [exotic],
116 [enable_exotic="yes"],
117 [enable_exotic="no"])
118
119if test "x${enable_exotic}" = "xyes"; then
120 requirement_embryo="exotic ${requirement_embryo}"
121
122 AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.])
123fi
111 124
112### Checks for header files 125### Checks for header files
113 126
@@ -162,14 +175,8 @@ AC_FUNC_ALLOCA
162# fnmatch 175# fnmatch
163EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])]) 176EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
164 177
165case "$host_os" in 178# gettimeofday
166 mingw*) 179EFL_CHECK_GETTIMEOFDAY([], [AC_MSG_ERROR([Cannot find gettimeofday()])])
167 AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defined to 1 (MinGW platform)])
168 ;;
169 *)
170 AC_CHECK_FUNCS(gettimeofday)
171 ;;
172esac
173 180
174 181
175AC_SUBST(requirement_embryo) 182AC_SUBST(requirement_embryo)
diff --git a/libraries/embryo/doc/Makefile.in b/libraries/embryo/doc/Makefile.in
index 102cd2f..744e789 100644
--- a/libraries/embryo/doc/Makefile.in
+++ b/libraries/embryo/doc/Makefile.in
@@ -40,6 +40,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
41 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ 41 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \
42 $(top_srcdir)/m4/efl_fnmatch.m4 \ 42 $(top_srcdir)/m4/efl_fnmatch.m4 \
43 $(top_srcdir)/m4/efl_gettimeofday.m4 \
43 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ 44 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \
44 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 45 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
45 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 46 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
@@ -94,6 +95,8 @@ EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@
94EVIL_CFLAGS = @EVIL_CFLAGS@ 95EVIL_CFLAGS = @EVIL_CFLAGS@
95EVIL_LIBS = @EVIL_LIBS@ 96EVIL_LIBS = @EVIL_LIBS@
96EXEEXT = @EXEEXT@ 97EXEEXT = @EXEEXT@
98EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
99EXOTIC_LIBS = @EXOTIC_LIBS@
97FGREP = @FGREP@ 100FGREP = @FGREP@
98GREP = @GREP@ 101GREP = @GREP@
99INSTALL = @INSTALL@ 102INSTALL = @INSTALL@
@@ -126,6 +129,8 @@ PACKAGE_URL = @PACKAGE_URL@
126PACKAGE_VERSION = @PACKAGE_VERSION@ 129PACKAGE_VERSION = @PACKAGE_VERSION@
127PATH_SEPARATOR = @PATH_SEPARATOR@ 130PATH_SEPARATOR = @PATH_SEPARATOR@
128PKG_CONFIG = @PKG_CONFIG@ 131PKG_CONFIG = @PKG_CONFIG@
132PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
133PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
129RANLIB = @RANLIB@ 134RANLIB = @RANLIB@
130SED = @SED@ 135SED = @SED@
131SET_MAKE = @SET_MAKE@ 136SET_MAKE = @SET_MAKE@
diff --git a/libraries/embryo/doc/img/e.png b/libraries/embryo/doc/img/e.png
index b3884a5..b3884a5 100755..100644
--- a/libraries/embryo/doc/img/e.png
+++ b/libraries/embryo/doc/img/e.png
Binary files differ
diff --git a/libraries/embryo/doc/img/e_big.png b/libraries/embryo/doc/img/e_big.png
index d42aeb4..d42aeb4 100755..100644
--- a/libraries/embryo/doc/img/e_big.png
+++ b/libraries/embryo/doc/img/e_big.png
Binary files differ
diff --git a/libraries/embryo/doc/img/edoxy.css b/libraries/embryo/doc/img/edoxy.css
index 616a0c5..616a0c5 100755..100644
--- a/libraries/embryo/doc/img/edoxy.css
+++ b/libraries/embryo/doc/img/edoxy.css
diff --git a/libraries/embryo/doc/img/foot_bg.png b/libraries/embryo/doc/img/foot_bg.png
index b24f3a4..b24f3a4 100755..100644
--- a/libraries/embryo/doc/img/foot_bg.png
+++ b/libraries/embryo/doc/img/foot_bg.png
Binary files differ
diff --git a/libraries/embryo/doc/img/head_bg.png b/libraries/embryo/doc/img/head_bg.png
index 081dc13..081dc13 100755..100644
--- a/libraries/embryo/doc/img/head_bg.png
+++ b/libraries/embryo/doc/img/head_bg.png
Binary files differ
diff --git a/libraries/embryo/doc/img/menu_bg.png b/libraries/embryo/doc/img/menu_bg.png
index e978743..e978743 100755..100644
--- a/libraries/embryo/doc/img/menu_bg.png
+++ b/libraries/embryo/doc/img/menu_bg.png
Binary files differ
diff --git a/libraries/embryo/doc/img/menu_bg_current.png b/libraries/embryo/doc/img/menu_bg_current.png
index de97c92..de97c92 100755..100644
--- a/libraries/embryo/doc/img/menu_bg_current.png
+++ b/libraries/embryo/doc/img/menu_bg_current.png
Binary files differ
diff --git a/libraries/embryo/doc/img/menu_bg_hover.png b/libraries/embryo/doc/img/menu_bg_hover.png
index 3fd851d..3fd851d 100755..100644
--- a/libraries/embryo/doc/img/menu_bg_hover.png
+++ b/libraries/embryo/doc/img/menu_bg_hover.png
Binary files differ
diff --git a/libraries/embryo/doc/img/menu_bg_last.png b/libraries/embryo/doc/img/menu_bg_last.png
index 88c116c..88c116c 100755..100644
--- a/libraries/embryo/doc/img/menu_bg_last.png
+++ b/libraries/embryo/doc/img/menu_bg_last.png
Binary files differ
diff --git a/libraries/embryo/doc/img/menu_bg_unsel.png b/libraries/embryo/doc/img/menu_bg_unsel.png
index 50e5fd8..50e5fd8 100755..100644
--- a/libraries/embryo/doc/img/menu_bg_unsel.png
+++ b/libraries/embryo/doc/img/menu_bg_unsel.png
Binary files differ
diff --git a/libraries/embryo/embryo.spec b/libraries/embryo/embryo.spec
index 834f792..73de4de 100644
--- a/libraries/embryo/embryo.spec
+++ b/libraries/embryo/embryo.spec
@@ -4,7 +4,7 @@
4 4
5Summary: A small virtual machine engine (in a library) and bytecode compiler 5Summary: A small virtual machine engine (in a library) and bytecode compiler
6Name: embryo 6Name: embryo
7Version: 1.1.99.67344 7Version: 1.2.0-alpha
8Release: %{_rel} 8Release: %{_rel}
9License: BSD 9License: BSD
10Group: System Environment/Libraries 10Group: System Environment/Libraries
diff --git a/libraries/embryo/include/Makefile.in b/libraries/embryo/include/Makefile.in
index 0a96acd..f462b6c 100644
--- a/libraries/embryo/include/Makefile.in
+++ b/libraries/embryo/include/Makefile.in
@@ -40,6 +40,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 40am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
41 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ 41 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \
42 $(top_srcdir)/m4/efl_fnmatch.m4 \ 42 $(top_srcdir)/m4/efl_fnmatch.m4 \
43 $(top_srcdir)/m4/efl_gettimeofday.m4 \
43 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ 44 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \
44 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 45 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
45 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 46 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
@@ -117,6 +118,8 @@ EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@
117EVIL_CFLAGS = @EVIL_CFLAGS@ 118EVIL_CFLAGS = @EVIL_CFLAGS@
118EVIL_LIBS = @EVIL_LIBS@ 119EVIL_LIBS = @EVIL_LIBS@
119EXEEXT = @EXEEXT@ 120EXEEXT = @EXEEXT@
121EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
122EXOTIC_LIBS = @EXOTIC_LIBS@
120FGREP = @FGREP@ 123FGREP = @FGREP@
121GREP = @GREP@ 124GREP = @GREP@
122INSTALL = @INSTALL@ 125INSTALL = @INSTALL@
@@ -149,6 +152,8 @@ PACKAGE_URL = @PACKAGE_URL@
149PACKAGE_VERSION = @PACKAGE_VERSION@ 152PACKAGE_VERSION = @PACKAGE_VERSION@
150PATH_SEPARATOR = @PATH_SEPARATOR@ 153PATH_SEPARATOR = @PATH_SEPARATOR@
151PKG_CONFIG = @PKG_CONFIG@ 154PKG_CONFIG = @PKG_CONFIG@
155PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
156PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
152RANLIB = @RANLIB@ 157RANLIB = @RANLIB@
153SED = @SED@ 158SED = @SED@
154SET_MAKE = @SET_MAKE@ 159SET_MAKE = @SET_MAKE@
diff --git a/libraries/embryo/ltmain.sh b/libraries/embryo/ltmain.sh
index 7ed280b..fa4b1e1 100755
--- a/libraries/embryo/ltmain.sh
+++ b/libraries/embryo/ltmain.sh
@@ -65,7 +65,7 @@
65# compiler: $LTCC 65# compiler: $LTCC
66# compiler flags: $LTCFLAGS 66# compiler flags: $LTCFLAGS
67# linker: $LD (gnu? $with_gnu_ld) 67# linker: $LD (gnu? $with_gnu_ld)
68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
69# automake: $automake_version 69# automake: $automake_version
70# autoconf: $autoconf_version 70# autoconf: $autoconf_version
71# 71#
@@ -73,7 +73,7 @@
73 73
74PROGRAM=ltmain.sh 74PROGRAM=ltmain.sh
75PACKAGE=libtool 75PACKAGE=libtool
76VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" 76VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
77TIMESTAMP="" 77TIMESTAMP=""
78package_revision=1.3017 78package_revision=1.3017
79 79
diff --git a/libraries/embryo/m4/efl_fnmatch.m4 b/libraries/embryo/m4/efl_fnmatch.m4
index a92ac6b..c857046 100644
--- a/libraries/embryo/m4/efl_fnmatch.m4
+++ b/libraries/embryo/m4/efl_fnmatch.m4
@@ -13,7 +13,7 @@ AC_CHECK_HEADER([fnmatch.h], [_efl_have_fnmatch="yes"], [_efl_have_fnmatch="no"]
13 13
14if test "x${_efl_have_fnmatch}" = "xyes" ; then 14if test "x${_efl_have_fnmatch}" = "xyes" ; then
15 AC_SEARCH_LIBS([fnmatch], 15 AC_SEARCH_LIBS([fnmatch],
16 [fnmatch evil iberty], 16 [fnmatch evil exotic iberty],
17 [_efl_have_fnmatch="yes"], 17 [_efl_have_fnmatch="yes"],
18 [_efl_have_fnmatch="no"]) 18 [_efl_have_fnmatch="no"])
19fi 19fi
diff --git a/libraries/embryo/src/Makefile.in b/libraries/embryo/src/Makefile.in
index ff3d123..e060803 100644
--- a/libraries/embryo/src/Makefile.in
+++ b/libraries/embryo/src/Makefile.in
@@ -39,6 +39,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 39am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
40 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ 40 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \
41 $(top_srcdir)/m4/efl_fnmatch.m4 \ 41 $(top_srcdir)/m4/efl_fnmatch.m4 \
42 $(top_srcdir)/m4/efl_gettimeofday.m4 \
42 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ 43 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \
43 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 44 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
44 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 45 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
@@ -133,6 +134,8 @@ EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@
133EVIL_CFLAGS = @EVIL_CFLAGS@ 134EVIL_CFLAGS = @EVIL_CFLAGS@
134EVIL_LIBS = @EVIL_LIBS@ 135EVIL_LIBS = @EVIL_LIBS@
135EXEEXT = @EXEEXT@ 136EXEEXT = @EXEEXT@
137EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
138EXOTIC_LIBS = @EXOTIC_LIBS@
136FGREP = @FGREP@ 139FGREP = @FGREP@
137GREP = @GREP@ 140GREP = @GREP@
138INSTALL = @INSTALL@ 141INSTALL = @INSTALL@
@@ -165,6 +168,8 @@ PACKAGE_URL = @PACKAGE_URL@
165PACKAGE_VERSION = @PACKAGE_VERSION@ 168PACKAGE_VERSION = @PACKAGE_VERSION@
166PATH_SEPARATOR = @PATH_SEPARATOR@ 169PATH_SEPARATOR = @PATH_SEPARATOR@
167PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
168RANLIB = @RANLIB@ 173RANLIB = @RANLIB@
169SED = @SED@ 174SED = @SED@
170SET_MAKE = @SET_MAKE@ 175SET_MAKE = @SET_MAKE@
diff --git a/libraries/embryo/src/bin/Makefile.in b/libraries/embryo/src/bin/Makefile.in
index a6551be..4eaa4b2 100644
--- a/libraries/embryo/src/bin/Makefile.in
+++ b/libraries/embryo/src/bin/Makefile.in
@@ -41,6 +41,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 41am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
42 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ 42 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \
43 $(top_srcdir)/m4/efl_fnmatch.m4 \ 43 $(top_srcdir)/m4/efl_fnmatch.m4 \
44 $(top_srcdir)/m4/efl_gettimeofday.m4 \
44 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ 45 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \
45 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 46 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
46 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 47 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
@@ -138,6 +139,8 @@ EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@
138EVIL_CFLAGS = @EVIL_CFLAGS@ 139EVIL_CFLAGS = @EVIL_CFLAGS@
139EVIL_LIBS = @EVIL_LIBS@ 140EVIL_LIBS = @EVIL_LIBS@
140EXEEXT = @EXEEXT@ 141EXEEXT = @EXEEXT@
142EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
143EXOTIC_LIBS = @EXOTIC_LIBS@
141FGREP = @FGREP@ 144FGREP = @FGREP@
142GREP = @GREP@ 145GREP = @GREP@
143INSTALL = @INSTALL@ 146INSTALL = @INSTALL@
@@ -170,6 +173,8 @@ PACKAGE_URL = @PACKAGE_URL@
170PACKAGE_VERSION = @PACKAGE_VERSION@ 173PACKAGE_VERSION = @PACKAGE_VERSION@
171PATH_SEPARATOR = @PATH_SEPARATOR@ 174PATH_SEPARATOR = @PATH_SEPARATOR@
172PKG_CONFIG = @PKG_CONFIG@ 175PKG_CONFIG = @PKG_CONFIG@
176PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
177PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
173RANLIB = @RANLIB@ 178RANLIB = @RANLIB@
174SED = @SED@ 179SED = @SED@
175SET_MAKE = @SET_MAKE@ 180SET_MAKE = @SET_MAKE@
diff --git a/libraries/embryo/src/bin/embryo_cc_sc5.scp b/libraries/embryo/src/bin/embryo_cc_sc5.scp
index 8005f79..af3f352 100644
--- a/libraries/embryo/src/bin/embryo_cc_sc5.scp
+++ b/libraries/embryo/src/bin/embryo_cc_sc5.scp
@@ -18,7 +18,7 @@
18 * misrepresented as being the original software. 18 * misrepresented as being the original software.
19 * 3. This notice may not be removed or altered from any source distribution. 19 * 3. This notice may not be removed or altered from any source distribution.
20 * 20 *
21 * Version: $Id: embryo_cc_sc5.scp 14177 2005-04-13 19:37:01Z tsauerbeck $ 21 * Version: $Id: embryo_cc_sc5.scp 35497 2008-08-17 07:44:18Z raster $
22 */ 22 */
23 23
24int strexpand(char *dest, unsigned char *source, int maxlen, 24int strexpand(char *dest, unsigned char *source, int maxlen,
diff --git a/libraries/embryo/src/bin/embryo_cc_sc7.scp b/libraries/embryo/src/bin/embryo_cc_sc7.scp
index 83d49a1..15c80ac 100644
--- a/libraries/embryo/src/bin/embryo_cc_sc7.scp
+++ b/libraries/embryo/src/bin/embryo_cc_sc7.scp
@@ -19,7 +19,7 @@
19 * misrepresented as being the original software. 19 * misrepresented as being the original software.
20 * 3. This notice may not be removed or altered from any source distribution. 20 * 3. This notice may not be removed or altered from any source distribution.
21 * 21 *
22 * Version: $Id: embryo_cc_sc7.scp 14177 2005-04-13 19:37:01Z tsauerbeck $ 22 * Version: $Id: embryo_cc_sc7.scp 35497 2008-08-17 07:44:18Z raster $
23 */ 23 */
24 24
25int strexpand(char *dest, unsigned char *source, int maxlen, 25int strexpand(char *dest, unsigned char *source, int maxlen,
diff --git a/libraries/embryo/src/lib/Embryo.h b/libraries/embryo/src/lib/Embryo.h
index 74c872b..4003f6b 100644
--- a/libraries/embryo/src/lib/Embryo.h
+++ b/libraries/embryo/src/lib/Embryo.h
@@ -10,7 +10,7 @@ These routines are used for Embryo.
10@version 1.0.0 10@version 1.0.0
11@author Carsten Haitzler <raster\@rasterman.com> 11@author Carsten Haitzler <raster\@rasterman.com>
12@author Compuphase http://www.compuphase.com 12@author Compuphase http://www.compuphase.com
13@date 2004-2011 13@date 2004-2012
14 14
15@section intro What is Embryo? 15@section intro What is Embryo?
16 16
diff --git a/libraries/embryo/src/lib/Makefile.am b/libraries/embryo/src/lib/Makefile.am
index f5c78aa..d2ccb55 100644
--- a/libraries/embryo/src/lib/Makefile.am
+++ b/libraries/embryo/src/lib/Makefile.am
@@ -11,6 +11,7 @@ AM_CPPFLAGS = \
11-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
12-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 12-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
13@EVIL_CFLAGS@ \ 13@EVIL_CFLAGS@ \
14@EXOTIC_CFLAGS@ \
14@EMBRYO_CPPFLAGS@ \ 15@EMBRYO_CPPFLAGS@ \
15@EFL_EMBRYO_BUILD@ 16@EFL_EMBRYO_BUILD@
16 17
@@ -29,7 +30,7 @@ embryo_str.c \
29embryo_time.c 30embryo_time.c
30 31
31libembryo_la_CFLAGS = @EMBRYO_CFLAGS@ 32libembryo_la_CFLAGS = @EMBRYO_CFLAGS@
32libembryo_la_LIBADD = @EVIL_LIBS@ -lm 33libembryo_la_LIBADD = @EXOTIC_LIBS@ @EVIL_LIBS@ -lm
33libembryo_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ 34libembryo_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
34 35
35EXTRA_DIST = embryo_private.h 36EXTRA_DIST = embryo_private.h
diff --git a/libraries/embryo/src/lib/Makefile.in b/libraries/embryo/src/lib/Makefile.in
index 3fb5591..c46a03e 100644
--- a/libraries/embryo/src/lib/Makefile.in
+++ b/libraries/embryo/src/lib/Makefile.in
@@ -42,6 +42,7 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \ 42am__aclocal_m4_deps = $(top_srcdir)/m4/ac_attribute.m4 \
43 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \ 43 $(top_srcdir)/m4/efl_binary.m4 $(top_srcdir)/m4/efl_doxygen.m4 \
44 $(top_srcdir)/m4/efl_fnmatch.m4 \ 44 $(top_srcdir)/m4/efl_fnmatch.m4 \
45 $(top_srcdir)/m4/efl_gettimeofday.m4 \
45 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \ 46 $(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/libtool.m4 \
46 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 47 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
47 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 48 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
@@ -154,6 +155,8 @@ EMBRYO_CPPFLAGS = @EMBRYO_CPPFLAGS@
154EVIL_CFLAGS = @EVIL_CFLAGS@ 155EVIL_CFLAGS = @EVIL_CFLAGS@
155EVIL_LIBS = @EVIL_LIBS@ 156EVIL_LIBS = @EVIL_LIBS@
156EXEEXT = @EXEEXT@ 157EXEEXT = @EXEEXT@
158EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
159EXOTIC_LIBS = @EXOTIC_LIBS@
157FGREP = @FGREP@ 160FGREP = @FGREP@
158GREP = @GREP@ 161GREP = @GREP@
159INSTALL = @INSTALL@ 162INSTALL = @INSTALL@
@@ -186,6 +189,8 @@ PACKAGE_URL = @PACKAGE_URL@
186PACKAGE_VERSION = @PACKAGE_VERSION@ 189PACKAGE_VERSION = @PACKAGE_VERSION@
187PATH_SEPARATOR = @PATH_SEPARATOR@ 190PATH_SEPARATOR = @PATH_SEPARATOR@
188PKG_CONFIG = @PKG_CONFIG@ 191PKG_CONFIG = @PKG_CONFIG@
192PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
193PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
189RANLIB = @RANLIB@ 194RANLIB = @RANLIB@
190SED = @SED@ 195SED = @SED@
191SET_MAKE = @SET_MAKE@ 196SET_MAKE = @SET_MAKE@
@@ -264,6 +269,7 @@ AM_CPPFLAGS = \
264-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 269-DPACKAGE_LIB_DIR=\"$(libdir)\" \
265-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 270-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
266@EVIL_CFLAGS@ \ 271@EVIL_CFLAGS@ \
272@EXOTIC_CFLAGS@ \
267@EMBRYO_CPPFLAGS@ \ 273@EMBRYO_CPPFLAGS@ \
268@EFL_EMBRYO_BUILD@ 274@EFL_EMBRYO_BUILD@
269 275
@@ -280,7 +286,7 @@ embryo_str.c \
280embryo_time.c 286embryo_time.c
281 287
282libembryo_la_CFLAGS = @EMBRYO_CFLAGS@ 288libembryo_la_CFLAGS = @EMBRYO_CFLAGS@
283libembryo_la_LIBADD = @EVIL_LIBS@ -lm 289libembryo_la_LIBADD = @EXOTIC_LIBS@ @EVIL_LIBS@ -lm
284libembryo_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ 290libembryo_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
285EXTRA_DIST = embryo_private.h 291EXTRA_DIST = embryo_private.h
286all: all-am 292all: all-am
diff --git a/libraries/embryo/src/lib/embryo_amx.c b/libraries/embryo/src/lib/embryo_amx.c
index 4fa84c5..7a41111 100644
--- a/libraries/embryo/src/lib/embryo_amx.c
+++ b/libraries/embryo/src/lib/embryo_amx.c
@@ -29,6 +29,10 @@
29#include <stdio.h> 29#include <stdio.h>
30#include <string.h> 30#include <string.h>
31 31
32#ifdef HAVE_EXOTIC
33# include <Exotic.h>
34#endif
35
32#include "Embryo.h" 36#include "Embryo.h"
33#include "embryo_private.h" 37#include "embryo_private.h"
34 38
diff --git a/libraries/embryo/src/lib/embryo_str.c b/libraries/embryo/src/lib/embryo_str.c
index 46a3284..0c2faa2 100644
--- a/libraries/embryo/src/lib/embryo_str.c
+++ b/libraries/embryo/src/lib/embryo_str.c
@@ -2,28 +2,41 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#include <stdlib.h> 5#ifdef STDC_HEADERS
6#include <stdio.h> 6# include <stdlib.h>
7#include <string.h> 7# include <stddef.h>
8#include <fnmatch.h> 8#else
9 9# ifdef HAVE_STDLIB_H
10# include <stdlib.h>
11# endif
12#endif
10#ifdef HAVE_ALLOCA_H 13#ifdef HAVE_ALLOCA_H
11# include <alloca.h> 14# include <alloca.h>
12#elif defined __GNUC__ 15#elif !defined alloca
13# define alloca __builtin_alloca 16# ifdef __GNUC__
14#elif defined _AIX 17# define alloca __builtin_alloca
15# define alloca __alloca 18# elif defined _AIX
16#elif defined _MSC_VER 19# define alloca __alloca
17# include <malloc.h> 20# elif defined _MSC_VER
18# define alloca _alloca 21# include <malloc.h>
19#else 22# define alloca _alloca
20# include <stddef.h> 23# elif !defined HAVE_ALLOCA
21# ifdef __cplusplus 24# ifdef __cplusplus
22extern "C" 25extern "C"
23# endif 26# endif
24void *alloca (size_t); 27void *alloca (size_t);
28# endif
29#endif
30
31#ifdef HAVE_EXOTIC
32# include <Exotic.h>
25#endif 33#endif
26 34
35#include <stdlib.h>
36#include <stdio.h>
37#include <string.h>
38#include <fnmatch.h>
39
27#include "Embryo.h" 40#include "Embryo.h"
28#include "embryo_private.h" 41#include "embryo_private.h"
29 42
diff --git a/libraries/embryo/src/lib/embryo_time.c b/libraries/embryo/src/lib/embryo_time.c
index 8392ec3..90c14cf 100644
--- a/libraries/embryo/src/lib/embryo_time.c
+++ b/libraries/embryo/src/lib/embryo_time.c
@@ -2,7 +2,7 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#ifndef HAVE_GETTIMEOFDAY 5#ifndef EFL_HAVE_GETTIMEOFDAY
6# error "Your platform isn't supported yet" 6# error "Your platform isn't supported yet"
7#endif 7#endif
8 8
@@ -17,6 +17,10 @@
17# include <Evil.h> 17# include <Evil.h>
18#endif 18#endif
19 19
20#ifdef HAVE_EXOTIC
21# include <Exotic.h>
22#endif
23
20#include "Embryo.h" 24#include "Embryo.h"
21#include "embryo_private.h" 25#include "embryo_private.h"
22 26
diff --git a/libraries/evas/AUTHORS b/libraries/evas/AUTHORS
index 470dd6a..eee8e16 100644
--- a/libraries/evas/AUTHORS
+++ b/libraries/evas/AUTHORS
@@ -32,3 +32,4 @@ Youness Alaoui <kakaroto@kakaroto.homelinux.net>
32Jim Kukunas <james.t.kukunas@linux.intel.com> 32Jim Kukunas <james.t.kukunas@linux.intel.com>
33Nicolas Aguirre <aguirre.nicolas@gmail.com> 33Nicolas Aguirre <aguirre.nicolas@gmail.com>
34Rafal Krypa <r.krypa@samsung.com> 34Rafal Krypa <r.krypa@samsung.com>
35yoyoung Chang <hyoyoung@gmail.com>
diff --git a/libraries/evas/ChangeLog b/libraries/evas/ChangeLog
index fa77400..a413064 100644
--- a/libraries/evas/ChangeLog
+++ b/libraries/evas/ChangeLog
@@ -638,9 +638,48 @@
638 * Add evas_object_smart_callback_del_full() to allow users to 638 * Add evas_object_smart_callback_del_full() to allow users to
639 unregister a specific smart event callback instead of all 639 unregister a specific smart event callback instead of all
640 callbacks matching a given type and function pointer. 640 callbacks matching a given type and function pointer.
641 641
6422012-01-17 Carsten Haitzler (The Rasterman) 6422012-01-17 Carsten Haitzler (The Rasterman)
643 643
644 * Add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN pointer mode 644 * Add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN pointer mode
645 for some very specific behavior needed for accessibility. 645 for some very specific behavior needed for accessibility.
646 646
6472012-01-19 Cedric Bail
648
649 * Add double buffer support to buffer engine.
650
6512012-01-20 Sung W. Park (sung_)
652
653 * Add Direct Rendering to Evas' window optimization for Evas_GL. This
654 optimization can be significant since it avoids and extra copy from
655 an offscreen buffer. Normally, Evas_GL will render to a render
656 target using an FBO. This can be enabled by giving
657 EVAS_GL_OPTIONS_DIRECT hint in the config options_bits. Direct
658 rendering is actually done if the following conditions are met -
659 1) All GL rendering is done in the pixel_getter callback 2) No
660 rotation on the image object 3) Corresponding image
661 object has alpha disabled.
662
6632012-01-23 Tom Hacohen (TAsn)
664
665 * Textblock: Added evas_object_textblock_style_user_set/get.
666 This is used to override the default style set for an evas object.
667 For example, this can be used to nicely change the font and size
668 in a text editor.
669
6702012-02-23 Carsten Haitzler (The Rasterman)
671
672 * Fix rouding of update regions for image objects when scaled
673 (leaves trails without this).
674
6752012-02-23 Cedric Bail
676
677 * Remove Software SDL engine.
678
6792012-01-23 Tom Hacohen (TAsn)
680
681 * Textblock: Replaced evas_object_textblock_style_user_set/get
682 with evas_object_textblock_style_user_push/peek/pop.
683 This is used to override the default style set for an evas object.
684 For example, this can be used to nicely change the font and size
685 in a text editor.
diff --git a/libraries/evas/Makefile.am b/libraries/evas/Makefile.am
index b42e7f9..ee73e82 100644
--- a/libraries/evas/Makefile.am
+++ b/libraries/evas/Makefile.am
@@ -43,7 +43,6 @@ evas-software-ddraw.pc.in \
43evas-software-16-ddraw.pc.in \ 43evas-software-16-ddraw.pc.in \
44evas-direct3d.pc.in \ 44evas-direct3d.pc.in \
45evas-software-16-wince.pc.in \ 45evas-software-16-wince.pc.in \
46evas-software-sdl.pc.in \
47evas-psl1ght.pc.in \ 46evas-psl1ght.pc.in \
48evas-wayland-shm.pc.in \ 47evas-wayland-shm.pc.in \
49evas-wayland-egl.pc.in \ 48evas-wayland-egl.pc.in \
@@ -121,7 +120,7 @@ if BUILD_ENGINE_SOFTWARE_16_WINCE
121pkgconfig_DATA += evas-software-16-wince.pc 120pkgconfig_DATA += evas-software-16-wince.pc
122endif 121endif
123 122
124if BUILD_ENGINE_SOFTWARE_SDL 123if BUILD_ENGINE_SOFTWARE_16_SDL
125pkgconfig_DATA += evas-software-sdl.pc 124pkgconfig_DATA += evas-software-sdl.pc
126endif 125endif
127 126
@@ -161,23 +160,22 @@ endif
161 160
162if EFL_ENABLE_COVERAGE 161if EFL_ENABLE_COVERAGE
163lcov-reset: 162lcov-reset:
164 @rm -rf coverage 163 @rm -rf $(top_builddir)/coverage
165 @find . -name "*.gcda" -exec rm {} \; 164 @find $(top_builddir) -name "*.gcda" -delete
166 @lcov --directory . --zerocounters 165 @lcov --zerocounters --directory $(top_builddir)
167 166
168lcov-report: 167lcov-report:
169 @mkdir coverage 168 @mkdir $(top_builddir)/coverage
170 @lcov --compat-libtool --directory $(top_srcdir)/src --capture --output-file coverage/coverage.info 169 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
171 @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 170 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
172 @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 171 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
173 @rm coverage/remove 172 @echo "Coverage Report at $(top_builddir)/coverage/html"
174 @mv coverage/coverage.cleaned.info coverage/coverage.info 173
175 @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
176 174
177coverage: 175coverage:
178 @make lcov-reset 176 @$(MAKE) lcov-reset
179 @make check 177 @$(MAKE) check
180 @make lcov-report 178 @$(MAKE) lcov-report
181else 179else
182lcov-reset: 180lcov-reset:
183 @echo "reconfigure with --enable-coverage" 181 @echo "reconfigure with --enable-coverage"
diff --git a/libraries/evas/Makefile.in b/libraries/evas/Makefile.in
index 8fe20cb..4168e69 100644
--- a/libraries/evas/Makefile.in
+++ b/libraries/evas/Makefile.in
@@ -49,7 +49,7 @@ host_triplet = @host@
49@BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@am__append_12 = evas-software-16-ddraw.pc 49@BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE@am__append_12 = evas-software-16-ddraw.pc
50@BUILD_ENGINE_DIRECT3D_TRUE@am__append_13 = evas-direct3d.pc 50@BUILD_ENGINE_DIRECT3D_TRUE@am__append_13 = evas-direct3d.pc
51@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@am__append_14 = evas-software-16-wince.pc 51@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@am__append_14 = evas-software-16-wince.pc
52@BUILD_ENGINE_SOFTWARE_SDL_TRUE@am__append_15 = evas-software-sdl.pc 52@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@am__append_15 = evas-software-sdl.pc
53@BUILD_ENGINE_PSL1GHT_TRUE@am__append_16 = evas-psl1ght.pc 53@BUILD_ENGINE_PSL1GHT_TRUE@am__append_16 = evas-psl1ght.pc
54@BUILD_ENGINE_WAYLAND_SHM_TRUE@am__append_17 = evas-wayland-shm.pc 54@BUILD_ENGINE_WAYLAND_SHM_TRUE@am__append_17 = evas-wayland-shm.pc
55@BUILD_ENGINE_WAYLAND_EGL_TRUE@am__append_18 = evas-wayland-egl.pc 55@BUILD_ENGINE_WAYLAND_EGL_TRUE@am__append_18 = evas-wayland-egl.pc
@@ -72,8 +72,8 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
72 $(srcdir)/evas-wayland-egl.pc.in \ 72 $(srcdir)/evas-wayland-egl.pc.in \
73 $(srcdir)/evas-wayland-shm.pc.in $(srcdir)/evas.pc.in \ 73 $(srcdir)/evas-wayland-shm.pc.in $(srcdir)/evas.pc.in \
74 $(srcdir)/evas.spec.in $(top_srcdir)/configure ABOUT-NLS \ 74 $(srcdir)/evas.spec.in $(top_srcdir)/configure ABOUT-NLS \
75 AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \ 75 AUTHORS COPYING ChangeLog INSTALL NEWS compile config.guess \
76 depcomp install-sh ltmain.sh missing 76 config.sub depcomp install-sh ltmain.sh missing
77ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 77ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 78am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \
79 $(top_srcdir)/m4/efl_coverage.m4 \ 79 $(top_srcdir)/m4/efl_coverage.m4 \
@@ -238,6 +238,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
238EVIL_CFLAGS = @EVIL_CFLAGS@ 238EVIL_CFLAGS = @EVIL_CFLAGS@
239EVIL_LIBS = @EVIL_LIBS@ 239EVIL_LIBS = @EVIL_LIBS@
240EXEEXT = @EXEEXT@ 240EXEEXT = @EXEEXT@
241EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
242EXOTIC_LIBS = @EXOTIC_LIBS@
241FGREP = @FGREP@ 243FGREP = @FGREP@
242FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 244FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
243FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 245FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -288,6 +290,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
288PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 290PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
289PIXMAN_LIBS = @PIXMAN_LIBS@ 291PIXMAN_LIBS = @PIXMAN_LIBS@
290PKG_CONFIG = @PKG_CONFIG@ 292PKG_CONFIG = @PKG_CONFIG@
293PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
294PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
291PNG_CFLAGS = @PNG_CFLAGS@ 295PNG_CFLAGS = @PNG_CFLAGS@
292PNG_LIBS = @PNG_LIBS@ 296PNG_LIBS = @PNG_LIBS@
293RANLIB = @RANLIB@ 297RANLIB = @RANLIB@
@@ -306,8 +310,6 @@ VERSION = @VERSION@
306VMAJ = @VMAJ@ 310VMAJ = @VMAJ@
307WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 311WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
308WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 312WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
309WIN32_CFLAGS = @WIN32_CFLAGS@
310WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
311XCB_CFLAGS = @XCB_CFLAGS@ 313XCB_CFLAGS = @XCB_CFLAGS@
312XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 314XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
313XCB_GL_LIBS = @XCB_GL_LIBS@ 315XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -381,8 +383,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
381evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 383evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
382evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 384evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
383evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 385evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
384evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
385evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
386evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 386evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
387evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 387evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
388evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 388evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -507,7 +507,6 @@ evas-software-ddraw.pc.in \
507evas-software-16-ddraw.pc.in \ 507evas-software-16-ddraw.pc.in \
508evas-direct3d.pc.in \ 508evas-direct3d.pc.in \
509evas-software-16-wince.pc.in \ 509evas-software-16-wince.pc.in \
510evas-software-sdl.pc.in \
511evas-psl1ght.pc.in \ 510evas-psl1ght.pc.in \
512evas-wayland-shm.pc.in \ 511evas-wayland-shm.pc.in \
513evas-wayland-egl.pc.in \ 512evas-wayland-egl.pc.in \
@@ -1149,23 +1148,21 @@ doc:
1149# Coverage report 1148# Coverage report
1150 1149
1151@EFL_ENABLE_COVERAGE_TRUE@lcov-reset: 1150@EFL_ENABLE_COVERAGE_TRUE@lcov-reset:
1152@EFL_ENABLE_COVERAGE_TRUE@ @rm -rf coverage 1151@EFL_ENABLE_COVERAGE_TRUE@ @rm -rf $(top_builddir)/coverage
1153@EFL_ENABLE_COVERAGE_TRUE@ @find . -name "*.gcda" -exec rm {} \; 1152@EFL_ENABLE_COVERAGE_TRUE@ @find $(top_builddir) -name "*.gcda" -delete
1154@EFL_ENABLE_COVERAGE_TRUE@ @lcov --directory . --zerocounters 1153@EFL_ENABLE_COVERAGE_TRUE@ @lcov --zerocounters --directory $(top_builddir)
1155 1154
1156@EFL_ENABLE_COVERAGE_TRUE@lcov-report: 1155@EFL_ENABLE_COVERAGE_TRUE@lcov-report:
1157@EFL_ENABLE_COVERAGE_TRUE@ @mkdir coverage 1156@EFL_ENABLE_COVERAGE_TRUE@ @mkdir $(top_builddir)/coverage
1158@EFL_ENABLE_COVERAGE_TRUE@ @lcov --compat-libtool --directory $(top_srcdir)/src --capture --output-file coverage/coverage.info 1157@EFL_ENABLE_COVERAGE_TRUE@ lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
1159@EFL_ENABLE_COVERAGE_TRUE@ @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 1158@EFL_ENABLE_COVERAGE_TRUE@ lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
1160@EFL_ENABLE_COVERAGE_TRUE@ @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 1159@EFL_ENABLE_COVERAGE_TRUE@ genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
1161@EFL_ENABLE_COVERAGE_TRUE@ @rm coverage/remove 1160@EFL_ENABLE_COVERAGE_TRUE@ @echo "Coverage Report at $(top_builddir)/coverage/html"
1162@EFL_ENABLE_COVERAGE_TRUE@ @mv coverage/coverage.cleaned.info coverage/coverage.info
1163@EFL_ENABLE_COVERAGE_TRUE@ @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
1164 1161
1165@EFL_ENABLE_COVERAGE_TRUE@coverage: 1162@EFL_ENABLE_COVERAGE_TRUE@coverage:
1166@EFL_ENABLE_COVERAGE_TRUE@ @make lcov-reset 1163@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) lcov-reset
1167@EFL_ENABLE_COVERAGE_TRUE@ @make check 1164@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) check
1168@EFL_ENABLE_COVERAGE_TRUE@ @make lcov-report 1165@EFL_ENABLE_COVERAGE_TRUE@ @$(MAKE) lcov-report
1169@EFL_ENABLE_COVERAGE_FALSE@lcov-reset: 1166@EFL_ENABLE_COVERAGE_FALSE@lcov-reset:
1170@EFL_ENABLE_COVERAGE_FALSE@ @echo "reconfigure with --enable-coverage" 1167@EFL_ENABLE_COVERAGE_FALSE@ @echo "reconfigure with --enable-coverage"
1171 1168
diff --git a/libraries/evas/NEWS b/libraries/evas/NEWS
index 945fd96..3b19c66 100644
--- a/libraries/evas/NEWS
+++ b/libraries/evas/NEWS
@@ -8,11 +8,16 @@ Additions:
8 * Textblock now supports self-closing tags, i.e <br/>. Those should be used instead of the old <br> way. 8 * Textblock now supports self-closing tags, i.e <br/>. Those should be used instead of the old <br> way.
9 * Shm engine for drawing in Wayland. 9 * Shm engine for drawing in Wayland.
10 * evas_object_smart_callback_del_full API. 10 * evas_object_smart_callback_del_full API.
11 * Add double buffer support to the buffer engine.
11 12
12Improvements: 13Improvements:
13 14
14 * Use Eina_File mmap infrastructure for bmp, ico, pmaps, psd, wbmp and xpm file access. 15 * Use Eina_File mmap infrastructure for bmp, ico, pmaps, psd, wbmp and xpm file access.
15 16
17Removal:
18
19 * Software_SDL engine is gone, use buffer engine directly.
20
16Evas 1.1.0 21Evas 1.1.0
17 22
18Changes since Evas 1.0.0: 23Changes since Evas 1.0.0:
@@ -65,6 +70,9 @@ Additions:
65 * underline dashing suport to textblock 70 * underline dashing suport to textblock
66 * API to get largest image size 71 * API to get largest image size
67 * GL Cocoa engine 72 * GL Cocoa engine
73 * Evas GL support in software backend through OSMesa
74 * API to new/free Evas_GL_Config rather than user declaring it
75 * Evas GL Direct rendering option hint to allow rendering to evas' window when possible
68 76
69Fixes: 77Fixes:
70 78
diff --git a/libraries/evas/README b/libraries/evas/README
index dd87eef..e8da700 100644
--- a/libraries/evas/README
+++ b/libraries/evas/README
@@ -1,4 +1,4 @@
1Evas 1.1.0 1Evas 1.2.0
2 2
3****************************************************************************** 3******************************************************************************
4 4
@@ -12,7 +12,6 @@ Requirements:
12 12
13Must: 13Must:
14 libc 14 libc
15 libm
16 eina (1.1.0 or better) 15 eina (1.1.0 or better)
17 freetype (2.1.9 or better) 16 freetype (2.1.9 or better)
18 17
@@ -23,7 +22,7 @@ Recommended:
23 libpng 22 libpng
24 libjpeg (6.0 or better) 23 libjpeg (6.0 or better)
25 eet (1.5.0 or better) 24 eet (1.5.0 or better)
26 firbidi 25 fribidi
27 harfbuzz 26 harfbuzz
28 liblinebreak 27 liblinebreak
29 28
diff --git a/libraries/evas/aclocal.m4 b/libraries/evas/aclocal.m4
index a816a9b..f74cf11 100644
--- a/libraries/evas/aclocal.m4
+++ b/libraries/evas/aclocal.m4
@@ -13,13 +13,14 @@
13 13
14m4_ifndef([AC_AUTOCONF_VERSION], 14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.65. 17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to. 18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely. 19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])]) 20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 22# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
23# serial 1 (pkg-config-0.24)
23# 24#
24# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 25# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
25# 26#
@@ -47,7 +48,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
47AC_DEFUN([PKG_PROG_PKG_CONFIG], 48AC_DEFUN([PKG_PROG_PKG_CONFIG],
48[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 49[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
49m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 50m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
50AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 51AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
54
51if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 55if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
52 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 56 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
53fi 57fi
@@ -60,7 +64,6 @@ if test -n "$PKG_CONFIG"; then
60 AC_MSG_RESULT([no]) 64 AC_MSG_RESULT([no])
61 PKG_CONFIG="" 65 PKG_CONFIG=""
62 fi 66 fi
63
64fi[]dnl 67fi[]dnl
65])# PKG_PROG_PKG_CONFIG 68])# PKG_PROG_PKG_CONFIG
66 69
@@ -69,34 +72,31 @@ fi[]dnl
69# Check to see whether a particular set of modules exists. Similar 72# Check to see whether a particular set of modules exists. Similar
70# to PKG_CHECK_MODULES(), but does not set variables or print errors. 73# to PKG_CHECK_MODULES(), but does not set variables or print errors.
71# 74#
72# 75# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
73# Similar to PKG_CHECK_MODULES, make sure that the first instance of 76# only at the first occurence in configure.ac, so if the first place
74# this or PKG_CHECK_MODULES is called, or make sure to call 77# it's called might be skipped (such as if it is within an "if", you
75# PKG_CHECK_EXISTS manually 78# have to call PKG_CHECK_EXISTS manually
76# -------------------------------------------------------------- 79# --------------------------------------------------------------
77AC_DEFUN([PKG_CHECK_EXISTS], 80AC_DEFUN([PKG_CHECK_EXISTS],
78[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 81[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
79if test -n "$PKG_CONFIG" && \ 82if test -n "$PKG_CONFIG" && \
80 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 83 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
81 m4_ifval([$2], [$2], [:]) 84 m4_default([$2], [:])
82m4_ifvaln([$3], [else 85m4_ifvaln([$3], [else
83 $3])dnl 86 $3])dnl
84fi]) 87fi])
85 88
86
87# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 89# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
88# --------------------------------------------- 90# ---------------------------------------------
89m4_define([_PKG_CONFIG], 91m4_define([_PKG_CONFIG],
90[if test -n "$PKG_CONFIG"; then 92[if test -n "$$1"; then
91 if test -n "$$1"; then 93 pkg_cv_[]$1="$$1"
92 pkg_cv_[]$1="$$1" 94 elif test -n "$PKG_CONFIG"; then
93 else 95 PKG_CHECK_EXISTS([$3],
94 PKG_CHECK_EXISTS([$3], 96 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
95 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 97 [pkg_failed=yes])
96 [pkg_failed=yes]) 98 else
97 fi 99 pkg_failed=untried
98else
99 pkg_failed=untried
100fi[]dnl 100fi[]dnl
101])# _PKG_CONFIG 101])# _PKG_CONFIG
102 102
@@ -138,16 +138,17 @@ and $1[]_LIBS to avoid the need to call pkg-config.
138See the pkg-config man page for more details.]) 138See the pkg-config man page for more details.])
139 139
140if test $pkg_failed = yes; then 140if test $pkg_failed = yes; then
141 AC_MSG_RESULT([no])
141 _PKG_SHORT_ERRORS_SUPPORTED 142 _PKG_SHORT_ERRORS_SUPPORTED
142 if test $_pkg_short_errors_supported = yes; then 143 if test $_pkg_short_errors_supported = yes; then
143 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 144 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
144 else 145 else
145 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 146 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
146 fi 147 fi
147 # Put the nasty error message in config.log where it belongs 148 # Put the nasty error message in config.log where it belongs
148 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 149 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
149 150
150 ifelse([$4], , [AC_MSG_ERROR(dnl 151 m4_default([$4], [AC_MSG_ERROR(
151[Package requirements ($2) were not met: 152[Package requirements ($2) were not met:
152 153
153$$1_PKG_ERRORS 154$$1_PKG_ERRORS
@@ -155,25 +156,24 @@ $$1_PKG_ERRORS
155Consider adjusting the PKG_CONFIG_PATH environment variable if you 156Consider adjusting the PKG_CONFIG_PATH environment variable if you
156installed software in a non-standard prefix. 157installed software in a non-standard prefix.
157 158
158_PKG_TEXT 159_PKG_TEXT])[]dnl
159])], 160 ])
160 [AC_MSG_RESULT([no])
161 $4])
162elif test $pkg_failed = untried; then 161elif test $pkg_failed = untried; then
163 ifelse([$4], , [AC_MSG_FAILURE(dnl 162 AC_MSG_RESULT([no])
163 m4_default([$4], [AC_MSG_FAILURE(
164[The pkg-config script could not be found or is too old. Make sure it 164[The pkg-config script could not be found or is too old. Make sure it
165is in your PATH or set the PKG_CONFIG environment variable to the full 165is in your PATH or set the PKG_CONFIG environment variable to the full
166path to pkg-config. 166path to pkg-config.
167 167
168_PKG_TEXT 168_PKG_TEXT
169 169
170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 170To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
171 [$4]) 171 ])
172else 172else
173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 173 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 174 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
175 AC_MSG_RESULT([yes]) 175 AC_MSG_RESULT([yes])
176 ifelse([$3], , :, [$3]) 176 $3
177fi[]dnl 177fi[]dnl
178])# PKG_CHECK_MODULES 178])# PKG_CHECK_MODULES
179 179
diff --git a/libraries/evas/config.guess b/libraries/evas/config.guess
index e3a2116..c2246a4 100755
--- a/libraries/evas/config.guess
+++ b/libraries/evas/config.guess
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-10' 7timestamp='2009-12-30'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
27# the same distribution terms that you use for the rest of that program. 27# the same distribution terms that you use for the rest of that program.
28 28
29 29
30# Originally written by Per Bothner <per@bothner.com>. 30# Originally written by Per Bothner. Please send patches (context
31# Please send patches to <config-patches@gnu.org>. Submit a context 31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# diff and a properly formatted ChangeLog entry. 32# entry.
33# 33#
34# This script attempts to guess a canonical system name similar to 34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and 35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1. 36# exits with 0. Otherwise, it exits with 1.
37# 37#
38# The plan is that this can be called by configure scripts if you 38# You can get the latest version of this script from:
39# don't specify an explicit build system type. 39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40 40
41me=`echo "$0" | sed -e 's,.*/,,'` 41me=`echo "$0" | sed -e 's,.*/,,'`
42 42
@@ -56,8 +56,9 @@ version="\
56GNU config.guess ($timestamp) 56GNU config.guess ($timestamp)
57 57
58Originally written by Per Bothner. 58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
61 62
62This is free software; see the source for copying conditions. There is NO 63This is free software; see the source for copying conditions. There is NO
63warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
333 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
334 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
335 exit ;; 336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
336 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) 340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
337 eval $set_cc_for_build 341 eval $set_cc_for_build
338 SUN_ARCH="i386" 342 SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
807 i*:PW*:*) 811 i*:PW*:*)
808 echo ${UNAME_MACHINE}-pc-pw32 812 echo ${UNAME_MACHINE}-pc-pw32
809 exit ;; 813 exit ;;
810 *:Interix*:[3456]*) 814 *:Interix*:*)
811 case ${UNAME_MACHINE} in 815 case ${UNAME_MACHINE} in
812 x86) 816 x86)
813 echo i586-pc-interix${UNAME_RELEASE} 817 echo i586-pc-interix${UNAME_RELEASE}
814 exit ;; 818 exit ;;
815 EM64T | authenticamd | genuineintel) 819 authenticamd | genuineintel | EM64T)
816 echo x86_64-unknown-interix${UNAME_RELEASE} 820 echo x86_64-unknown-interix${UNAME_RELEASE}
817 exit ;; 821 exit ;;
818 IA64) 822 IA64)
@@ -854,6 +858,20 @@ EOF
854 i*86:Minix:*:*) 858 i*86:Minix:*:*)
855 echo ${UNAME_MACHINE}-pc-minix 859 echo ${UNAME_MACHINE}-pc-minix
856 exit ;; 860 exit ;;
861 alpha:Linux:*:*)
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
863 EV5) UNAME_MACHINE=alphaev5 ;;
864 EV56) UNAME_MACHINE=alphaev56 ;;
865 PCA56) UNAME_MACHINE=alphapca56 ;;
866 PCA57) UNAME_MACHINE=alphapca56 ;;
867 EV6) UNAME_MACHINE=alphaev6 ;;
868 EV67) UNAME_MACHINE=alphaev67 ;;
869 EV68*) UNAME_MACHINE=alphaev68 ;;
870 esac
871 objdump --private-headers /bin/sh | grep -q ld.so.1
872 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
873 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
874 exit ;;
857 arm*:Linux:*:*) 875 arm*:Linux:*:*)
858 eval $set_cc_for_build 876 eval $set_cc_for_build
859 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 877 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
876 frv:Linux:*:*) 894 frv:Linux:*:*)
877 echo frv-unknown-linux-gnu 895 echo frv-unknown-linux-gnu
878 exit ;; 896 exit ;;
897 i*86:Linux:*:*)
898 LIBC=gnu
899 eval $set_cc_for_build
900 sed 's/^ //' << EOF >$dummy.c
901 #ifdef __dietlibc__
902 LIBC=dietlibc
903 #endif
904EOF
905 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
906 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
907 exit ;;
879 ia64:Linux:*:*) 908 ia64:Linux:*:*)
880 echo ${UNAME_MACHINE}-unknown-linux-gnu 909 echo ${UNAME_MACHINE}-unknown-linux-gnu
881 exit ;; 910 exit ;;
@@ -901,39 +930,18 @@ EOF
901 #endif 930 #endif
902 #endif 931 #endif
903EOF 932EOF
904 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 933 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
905 /^CPU/{
906 s: ::g
907 p
908 }'`"
909 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 934 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910 ;; 935 ;;
911 or32:Linux:*:*) 936 or32:Linux:*:*)
912 echo or32-unknown-linux-gnu 937 echo or32-unknown-linux-gnu
913 exit ;; 938 exit ;;
914 ppc:Linux:*:*)
915 echo powerpc-unknown-linux-gnu
916 exit ;;
917 ppc64:Linux:*:*)
918 echo powerpc64-unknown-linux-gnu
919 exit ;;
920 alpha:Linux:*:*)
921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
922 EV5) UNAME_MACHINE=alphaev5 ;;
923 EV56) UNAME_MACHINE=alphaev56 ;;
924 PCA56) UNAME_MACHINE=alphapca56 ;;
925 PCA57) UNAME_MACHINE=alphapca56 ;;
926 EV6) UNAME_MACHINE=alphaev6 ;;
927 EV67) UNAME_MACHINE=alphaev67 ;;
928 EV68*) UNAME_MACHINE=alphaev68 ;;
929 esac
930 objdump --private-headers /bin/sh | grep -q ld.so.1
931 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 exit ;;
934 padre:Linux:*:*) 939 padre:Linux:*:*)
935 echo sparc-unknown-linux-gnu 940 echo sparc-unknown-linux-gnu
936 exit ;; 941 exit ;;
942 parisc64:Linux:*:* | hppa64:Linux:*:*)
943 echo hppa64-unknown-linux-gnu
944 exit ;;
937 parisc:Linux:*:* | hppa:Linux:*:*) 945 parisc:Linux:*:* | hppa:Linux:*:*)
938 # Look for CPU level 946 # Look for CPU level
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
942 *) echo hppa-unknown-linux-gnu ;; 950 *) echo hppa-unknown-linux-gnu ;;
943 esac 951 esac
944 exit ;; 952 exit ;;
945 parisc64:Linux:*:* | hppa64:Linux:*:*) 953 ppc64:Linux:*:*)
946 echo hppa64-unknown-linux-gnu 954 echo powerpc64-unknown-linux-gnu
955 exit ;;
956 ppc:Linux:*:*)
957 echo powerpc-unknown-linux-gnu
947 exit ;; 958 exit ;;
948 s390:Linux:*:* | s390x:Linux:*:*) 959 s390:Linux:*:* | s390x:Linux:*:*)
949 echo ${UNAME_MACHINE}-ibm-linux 960 echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
966 xtensa*:Linux:*:*) 977 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu 978 echo ${UNAME_MACHINE}-unknown-linux-gnu
968 exit ;; 979 exit ;;
969 i*86:Linux:*:*)
970 # The BFD linker knows what the default object file format is, so
971 # first see if it will tell us. cd to the root directory to prevent
972 # problems with other programs or directories called `ld' in the path.
973 # Set LC_ALL=C to ensure ld outputs messages in English.
974 ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
975 | sed -ne '/supported targets:/!d
976 s/[ ][ ]*/ /g
977 s/.*supported targets: *//
978 s/ .*//
979 p'`
980 case "$ld_supported_targets" in
981 elf32-i386)
982 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 ;;
984 esac
985 # Determine whether the default compiler is a.out or elf
986 eval $set_cc_for_build
987 sed 's/^ //' << EOF >$dummy.c
988 #include <features.h>
989 #ifdef __ELF__
990 # ifdef __GLIBC__
991 # if __GLIBC__ >= 2
992 LIBC=gnu
993 # else
994 LIBC=gnulibc1
995 # endif
996 # else
997 LIBC=gnulibc1
998 # endif
999 #else
1000 #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1001 LIBC=gnu
1002 #else
1003 LIBC=gnuaout
1004 #endif
1005 #endif
1006 #ifdef __dietlibc__
1007 LIBC=dietlibc
1008 #endif
1009EOF
1010 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1011 /^LIBC/{
1012 s: ::g
1013 p
1014 }'`"
1015 test x"${LIBC}" != x && {
1016 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1017 exit
1018 }
1019 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1020 ;;
1021 i*86:DYNIX/ptx:4*:*) 980 i*86:DYNIX/ptx:4*:*)
1022 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 981 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1023 # earlier versions are messed up and put the nodename in both 982 # earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
1247 *:Darwin:*:*) 1206 *:Darwin:*:*)
1248 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1207 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1249 case $UNAME_PROCESSOR in 1208 case $UNAME_PROCESSOR in
1209 i386)
1210 eval $set_cc_for_build
1211 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1212 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1213 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1214 grep IS_64BIT_ARCH >/dev/null
1215 then
1216 UNAME_PROCESSOR="x86_64"
1217 fi
1218 fi ;;
1250 unknown) UNAME_PROCESSOR=powerpc ;; 1219 unknown) UNAME_PROCESSOR=powerpc ;;
1251 esac 1220 esac
1252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1221 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/libraries/evas/config.h.in b/libraries/evas/config.h.in
index 84f6c88..adb24b6 100644
--- a/libraries/evas/config.h.in
+++ b/libraries/evas/config.h.in
@@ -170,9 +170,6 @@
170/* Software GDI rendering backend */ 170/* Software GDI rendering backend */
171#undef BUILD_ENGINE_SOFTWARE_GDI 171#undef BUILD_ENGINE_SOFTWARE_GDI
172 172
173/* Software SDL rendering backend */
174#undef BUILD_ENGINE_SOFTWARE_SDL
175
176/* Build software X11 engine */ 173/* Build software X11 engine */
177#undef BUILD_ENGINE_SOFTWARE_X11 174#undef BUILD_ENGINE_SOFTWARE_X11
178 175
@@ -395,9 +392,6 @@
395/* Build software generic engine as part of libevas */ 392/* Build software generic engine as part of libevas */
396#undef EVAS_STATIC_BUILD_SOFTWARE_GENERIC 393#undef EVAS_STATIC_BUILD_SOFTWARE_GENERIC
397 394
398/* Build software-sdl engine inside libevas */
399#undef EVAS_STATIC_BUILD_SOFTWARE_SDL
400
401/* Build software X11 engine as part of libevas */ 395/* Build software X11 engine as part of libevas */
402#undef EVAS_STATIC_BUILD_SOFTWARE_X11 396#undef EVAS_STATIC_BUILD_SOFTWARE_X11
403 397
@@ -459,6 +453,9 @@
459/* Set to 1 if evil package is installed */ 453/* Set to 1 if evil package is installed */
460#undef HAVE_EVIL 454#undef HAVE_EVIL
461 455
456/* Define to 1 if you have Exotic. */
457#undef HAVE_EXOTIC
458
462/* have fontconfig searching capabilities */ 459/* have fontconfig searching capabilities */
463#undef HAVE_FONTCONFIG 460#undef HAVE_FONTCONFIG
464 461
diff --git a/libraries/evas/config.sub b/libraries/evas/config.sub
index eb0389a..c2d1257 100755
--- a/libraries/evas/config.sub
+++ b/libraries/evas/config.sub
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc. 5# Free Software Foundation, Inc.
6 6
7timestamp='2009-06-11' 7timestamp='2010-01-22'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
32 32
33 33
34# Please send patches to <config-patches@gnu.org>. Submit a context 34# Please send patches to <config-patches@gnu.org>. Submit a context
35# diff and a properly formatted ChangeLog entry. 35# diff and a properly formatted GNU ChangeLog entry.
36# 36#
37# Configuration subroutine to validate and canonicalize a configuration type. 37# Configuration subroutine to validate and canonicalize a configuration type.
38# Supply the specified configuration type as an argument. 38# Supply the specified configuration type as an argument.
39# If it is invalid, we print an error message on stderr and exit with code 1. 39# If it is invalid, we print an error message on stderr and exit with code 1.
40# Otherwise, we print the canonical config type on stdout and succeed. 40# Otherwise, we print the canonical config type on stdout and succeed.
41 41
42# You can get the latest version of this script from:
43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
44
42# This file is supposed to be the same for all GNU packages 45# This file is supposed to be the same for all GNU packages
43# and recognize all the CPU types, system types and aliases 46# and recognize all the CPU types, system types and aliases
44# that are meaningful with *any* GNU software. 47# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
72version="\ 75version="\
73GNU config.sub ($timestamp) 76GNU config.sub ($timestamp)
74 77
75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 792001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80Software Foundation, Inc.
77 81
78This is free software; see the source for copying conditions. There is NO 82This is free software; see the source for copying conditions. There is NO
79warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 153 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 154 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 155 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
152 -apple | -axis | -knuth | -cray) 156 -apple | -axis | -knuth | -cray | -microblaze)
153 os= 157 os=
154 basic_machine=$1 158 basic_machine=$1
155 ;; 159 ;;
@@ -284,6 +288,7 @@ case $basic_machine in
284 | pdp10 | pdp11 | pj | pjl \ 288 | pdp10 | pdp11 | pj | pjl \
285 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 289 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
286 | pyramid \ 290 | pyramid \
291 | rx \
287 | score \ 292 | score \
288 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 293 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
289 | sh64 | sh64le \ 294 | sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
291 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 296 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
292 | spu | strongarm \ 297 | spu | strongarm \
293 | tahoe | thumb | tic4x | tic80 | tron \ 298 | tahoe | thumb | tic4x | tic80 | tron \
299 | ubicom32 \
294 | v850 | v850e \ 300 | v850 | v850e \
295 | we32k \ 301 | we32k \
296 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 302 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
297 | z8k | z80) 303 | z8k | z80)
298 basic_machine=$basic_machine-unknown 304 basic_machine=$basic_machine-unknown
299 ;; 305 ;;
300 m6811 | m68hc11 | m6812 | m68hc12) 306 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
301 # Motorola 68HC11/12. 307 # Motorola 68HC11/12.
302 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
303 os=-none 309 os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
340 | lm32-* \ 346 | lm32-* \
341 | m32c-* | m32r-* | m32rle-* \ 347 | m32c-* | m32r-* | m32rle-* \
342 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 348 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
343 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ 349 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
344 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 350 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
345 | mips16-* \ 351 | mips16-* \
346 | mips64-* | mips64el-* \ 352 | mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
368 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 374 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
369 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 375 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
370 | pyramid-* \ 376 | pyramid-* \
371 | romp-* | rs6000-* \ 377 | romp-* | rs6000-* | rx-* \
372 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 378 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
373 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 379 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
374 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ 380 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
375 | sparclite-* \ 381 | sparclite-* \
376 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 382 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
377 | tahoe-* | thumb-* \ 383 | tahoe-* | thumb-* \
378 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 384 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
385 | tile-* | tilegx-* \
379 | tron-* \ 386 | tron-* \
387 | ubicom32-* \
380 | v850-* | v850e-* | vax-* \ 388 | v850-* | v850e-* | vax-* \
381 | we32k-* \ 389 | we32k-* \
382 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 390 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
726 basic_machine=ns32k-utek 734 basic_machine=ns32k-utek
727 os=-sysv 735 os=-sysv
728 ;; 736 ;;
737 microblaze)
738 basic_machine=microblaze-xilinx
739 ;;
729 mingw32) 740 mingw32)
730 basic_machine=i386-pc 741 basic_machine=i386-pc
731 os=-mingw32 742 os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
1076 basic_machine=tic6x-unknown 1087 basic_machine=tic6x-unknown
1077 os=-coff 1088 os=-coff
1078 ;; 1089 ;;
1090 # This must be matched before tile*.
1091 tilegx*)
1092 basic_machine=tilegx-unknown
1093 os=-linux-gnu
1094 ;;
1079 tile*) 1095 tile*)
1080 basic_machine=tile-unknown 1096 basic_machine=tile-unknown
1081 os=-linux-gnu 1097 os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
1247 # First match some system type aliases 1263 # First match some system type aliases
1248 # that might get confused with valid system types. 1264 # that might get confused with valid system types.
1249 # -solaris* is a basic system type, with this one exception. 1265 # -solaris* is a basic system type, with this one exception.
1266 -auroraux)
1267 os=-auroraux
1268 ;;
1250 -solaris1 | -solaris1.*) 1269 -solaris1 | -solaris1.*)
1251 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1270 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1252 ;; 1271 ;;
@@ -1268,8 +1287,8 @@ case $os in
1268 # -sysv* is not here because it comes later, after sysvr4. 1287 # -sysv* is not here because it comes later, after sysvr4.
1269 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1288 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ 1289 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1271 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1290 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1272 | -kopensolaris* \ 1291 | -sym* | -kopensolaris* \
1273 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1292 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1274 | -aos* | -aros* \ 1293 | -aos* | -aros* \
1275 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1294 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
1290 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1309 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1291 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1310 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1292 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1311 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1293 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1312 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1294 # Remember, each alternative MUST END IN *, to match a version number. 1313 # Remember, each alternative MUST END IN *, to match a version number.
1295 ;; 1314 ;;
1296 -qnx*) 1315 -qnx*)
@@ -1423,6 +1442,8 @@ case $os in
1423 -dicos*) 1442 -dicos*)
1424 os=-dicos 1443 os=-dicos
1425 ;; 1444 ;;
1445 -nacl*)
1446 ;;
1426 -none) 1447 -none)
1427 ;; 1448 ;;
1428 *) 1449 *)
diff --git a/libraries/evas/configure b/libraries/evas/configure
index 8ab6964..f2e24f4 100755
--- a/libraries/evas/configure
+++ b/libraries/evas/configure
@@ -1,13 +1,13 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for evas 1.1.99.67344. 3# Generated by GNU Autoconf 2.67 for evas 1.2.0-alpha.
4# 4#
5# Report bugs to <enlightenment-devel@lists.sourceforge.net>. 5# Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
@@ -319,7 +319,7 @@ $as_echo X"$as_dir" |
319 test -d "$as_dir" && break 319 test -d "$as_dir" && break
320 done 320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 323
324 324
325} # as_fn_mkdir_p 325} # as_fn_mkdir_p
@@ -359,19 +359,19 @@ else
359fi # as_fn_arith 359fi # as_fn_arith
360 360
361 361
362# as_fn_error ERROR [LINENO LOG_FD] 362# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 363# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 366# script with STATUS, using 1 if that was 0.
367as_fn_error () 367as_fn_error ()
368{ 368{
369 as_status=$?; test $as_status -eq 0 && as_status=1 369 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 370 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 373 fi
374 $as_echo "$as_me: error: $1" >&2 374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 375 as_fn_exit $as_status
376} # as_fn_error 376} # as_fn_error
377 377
@@ -682,7 +682,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 6>&1 682exec 6>&1
683 683
684# Name of the host. 684# Name of the host.
685# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 685# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686# so uname gets run too. 686# so uname gets run too.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688 688
@@ -701,8 +701,8 @@ MAKEFLAGS=
701# Identity of this package. 701# Identity of this package.
702PACKAGE_NAME='evas' 702PACKAGE_NAME='evas'
703PACKAGE_TARNAME='evas' 703PACKAGE_TARNAME='evas'
704PACKAGE_VERSION='1.1.99.67344' 704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='evas 1.1.99.67344' 705PACKAGE_STRING='evas 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net' 706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL='' 707PACKAGE_URL=''
708 708
@@ -1016,20 +1016,14 @@ BUILD_ENGINE_GL_SDL_FALSE
1016BUILD_ENGINE_GL_SDL_TRUE 1016BUILD_ENGINE_GL_SDL_TRUE
1017evas_engine_gl_sdl_libs 1017evas_engine_gl_sdl_libs
1018evas_engine_gl_sdl_cflags 1018evas_engine_gl_sdl_cflags
1019SDL_LIBS
1020SDL_CFLAGS
1019EVAS_STATIC_BUILD_PSL1GHT_FALSE 1021EVAS_STATIC_BUILD_PSL1GHT_FALSE
1020EVAS_STATIC_BUILD_PSL1GHT_TRUE 1022EVAS_STATIC_BUILD_PSL1GHT_TRUE
1021BUILD_ENGINE_PSL1GHT_FALSE 1023BUILD_ENGINE_PSL1GHT_FALSE
1022BUILD_ENGINE_PSL1GHT_TRUE 1024BUILD_ENGINE_PSL1GHT_TRUE
1023evas_engine_psl1ght_libs 1025evas_engine_psl1ght_libs
1024evas_engine_psl1ght_cflags 1026evas_engine_psl1ght_cflags
1025EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE
1026EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE
1027BUILD_ENGINE_SOFTWARE_SDL_FALSE
1028BUILD_ENGINE_SOFTWARE_SDL_TRUE
1029evas_engine_software_sdl_libs
1030evas_engine_software_sdl_cflags
1031SDL_LIBS
1032SDL_CFLAGS
1033EVAS_STATIC_BUILD_DIRECT3D_FALSE 1027EVAS_STATIC_BUILD_DIRECT3D_FALSE
1034EVAS_STATIC_BUILD_DIRECT3D_TRUE 1028EVAS_STATIC_BUILD_DIRECT3D_TRUE
1035BUILD_ENGINE_DIRECT3D_FALSE 1029BUILD_ENGINE_DIRECT3D_FALSE
@@ -1061,8 +1055,6 @@ dlopen_libs
1061EFL_FNMATCH_LIBS 1055EFL_FNMATCH_LIBS
1062ALLOCA 1056ALLOCA
1063lt_enable_auto_import 1057lt_enable_auto_import
1064WIN32_CFLAGS
1065WIN32_CPPFLAGS
1066PIXMAN_LIBS 1058PIXMAN_LIBS
1067PIXMAN_CFLAGS 1059PIXMAN_CFLAGS
1068HARFBUZZ_LIBS 1060HARFBUZZ_LIBS
@@ -1079,6 +1071,10 @@ FREETYPE_LIBS
1079FREETYPE_CFLAGS 1071FREETYPE_CFLAGS
1080EINA_LIBS 1072EINA_LIBS
1081EINA_CFLAGS 1073EINA_CFLAGS
1074EVAS_HAVE_EXOTIC_FALSE
1075EVAS_HAVE_EXOTIC_TRUE
1076EXOTIC_LIBS
1077EXOTIC_CFLAGS
1082EVIL_LIBS 1078EVIL_LIBS
1083EVIL_CFLAGS 1079EVIL_CFLAGS
1084EFL_BUILD_DOC_FALSE 1080EFL_BUILD_DOC_FALSE
@@ -1086,6 +1082,8 @@ EFL_BUILD_DOC_TRUE
1086efl_doxygen 1082efl_doxygen
1087efl_have_doxygen 1083efl_have_doxygen
1088pkgconfig_requires_private 1084pkgconfig_requires_private
1085PKG_CONFIG_LIBDIR
1086PKG_CONFIG_PATH
1089PKG_CONFIG 1087PKG_CONFIG
1090CXXCPP 1088CXXCPP
1091am__fastdepCXX_FALSE 1089am__fastdepCXX_FALSE
@@ -1248,7 +1246,6 @@ enable_buffer
1248enable_software_gdi 1246enable_software_gdi
1249enable_software_ddraw 1247enable_software_ddraw
1250enable_direct3d 1248enable_direct3d
1251enable_software_sdl
1252enable_psl1ght 1249enable_psl1ght
1253enable_gl_sdl 1250enable_gl_sdl
1254enable_gl_cocoa 1251enable_gl_cocoa
@@ -1359,8 +1356,12 @@ CXXFLAGS
1359CCC 1356CCC
1360CXXCPP 1357CXXCPP
1361PKG_CONFIG 1358PKG_CONFIG
1359PKG_CONFIG_PATH
1360PKG_CONFIG_LIBDIR
1362EVIL_CFLAGS 1361EVIL_CFLAGS
1363EVIL_LIBS 1362EVIL_LIBS
1363EXOTIC_CFLAGS
1364EXOTIC_LIBS
1364EINA_CFLAGS 1365EINA_CFLAGS
1365EINA_LIBS 1366EINA_LIBS
1366FREETYPE_CFLAGS 1367FREETYPE_CFLAGS
@@ -1466,8 +1467,9 @@ do
1466 fi 1467 fi
1467 1468
1468 case $ac_option in 1469 case $ac_option in
1469 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1470 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1470 *) ac_optarg=yes ;; 1471 *=) ac_optarg= ;;
1472 *) ac_optarg=yes ;;
1471 esac 1473 esac
1472 1474
1473 # Accept the important Cygnus configure options, so we can diagnose typos. 1475 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1512,7 +1514,7 @@ do
1512 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1514 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1513 # Reject names that are not valid shell variable names. 1515 # Reject names that are not valid shell variable names.
1514 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1516 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1515 as_fn_error "invalid feature name: $ac_useropt" 1517 as_fn_error $? "invalid feature name: $ac_useropt"
1516 ac_useropt_orig=$ac_useropt 1518 ac_useropt_orig=$ac_useropt
1517 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1519 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1518 case $ac_user_opts in 1520 case $ac_user_opts in
@@ -1538,7 +1540,7 @@ do
1538 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1540 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1539 # Reject names that are not valid shell variable names. 1541 # Reject names that are not valid shell variable names.
1540 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1542 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1541 as_fn_error "invalid feature name: $ac_useropt" 1543 as_fn_error $? "invalid feature name: $ac_useropt"
1542 ac_useropt_orig=$ac_useropt 1544 ac_useropt_orig=$ac_useropt
1543 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1545 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544 case $ac_user_opts in 1546 case $ac_user_opts in
@@ -1742,7 +1744,7 @@ do
1742 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1744 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1743 # Reject names that are not valid shell variable names. 1745 # Reject names that are not valid shell variable names.
1744 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1745 as_fn_error "invalid package name: $ac_useropt" 1747 as_fn_error $? "invalid package name: $ac_useropt"
1746 ac_useropt_orig=$ac_useropt 1748 ac_useropt_orig=$ac_useropt
1747 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1749 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1748 case $ac_user_opts in 1750 case $ac_user_opts in
@@ -1758,7 +1760,7 @@ do
1758 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1760 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1759 # Reject names that are not valid shell variable names. 1761 # Reject names that are not valid shell variable names.
1760 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1761 as_fn_error "invalid package name: $ac_useropt" 1763 as_fn_error $? "invalid package name: $ac_useropt"
1762 ac_useropt_orig=$ac_useropt 1764 ac_useropt_orig=$ac_useropt
1763 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1765 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1764 case $ac_user_opts in 1766 case $ac_user_opts in
@@ -1788,8 +1790,8 @@ do
1788 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1790 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1789 x_libraries=$ac_optarg ;; 1791 x_libraries=$ac_optarg ;;
1790 1792
1791 -*) as_fn_error "unrecognized option: \`$ac_option' 1793 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1792Try \`$0 --help' for more information." 1794Try \`$0 --help' for more information"
1793 ;; 1795 ;;
1794 1796
1795 *=*) 1797 *=*)
@@ -1797,7 +1799,7 @@ Try \`$0 --help' for more information."
1797 # Reject names that are not valid shell variable names. 1799 # Reject names that are not valid shell variable names.
1798 case $ac_envvar in #( 1800 case $ac_envvar in #(
1799 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1801 '' | [0-9]* | *[!_$as_cr_alnum]* )
1800 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1802 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1801 esac 1803 esac
1802 eval $ac_envvar=\$ac_optarg 1804 eval $ac_envvar=\$ac_optarg
1803 export $ac_envvar ;; 1805 export $ac_envvar ;;
@@ -1815,13 +1817,13 @@ done
1815 1817
1816if test -n "$ac_prev"; then 1818if test -n "$ac_prev"; then
1817 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1819 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1818 as_fn_error "missing argument to $ac_option" 1820 as_fn_error $? "missing argument to $ac_option"
1819fi 1821fi
1820 1822
1821if test -n "$ac_unrecognized_opts"; then 1823if test -n "$ac_unrecognized_opts"; then
1822 case $enable_option_checking in 1824 case $enable_option_checking in
1823 no) ;; 1825 no) ;;
1824 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1826 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1825 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1827 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1826 esac 1828 esac
1827fi 1829fi
@@ -1844,7 +1846,7 @@ do
1844 [\\/$]* | ?:[\\/]* ) continue;; 1846 [\\/$]* | ?:[\\/]* ) continue;;
1845 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1847 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1846 esac 1848 esac
1847 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1849 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1848done 1850done
1849 1851
1850# There might be people who depend on the old broken behavior: `$host' 1852# There might be people who depend on the old broken behavior: `$host'
@@ -1858,8 +1860,8 @@ target=$target_alias
1858if test "x$host_alias" != x; then 1860if test "x$host_alias" != x; then
1859 if test "x$build_alias" = x; then 1861 if test "x$build_alias" = x; then
1860 cross_compiling=maybe 1862 cross_compiling=maybe
1861 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1863 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1862 If a cross compiler is detected then cross compile mode will be used." >&2 1864 If a cross compiler is detected then cross compile mode will be used" >&2
1863 elif test "x$build_alias" != "x$host_alias"; then 1865 elif test "x$build_alias" != "x$host_alias"; then
1864 cross_compiling=yes 1866 cross_compiling=yes
1865 fi 1867 fi
@@ -1874,9 +1876,9 @@ test "$silent" = yes && exec 6>/dev/null
1874ac_pwd=`pwd` && test -n "$ac_pwd" && 1876ac_pwd=`pwd` && test -n "$ac_pwd" &&
1875ac_ls_di=`ls -di .` && 1877ac_ls_di=`ls -di .` &&
1876ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1878ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1877 as_fn_error "working directory cannot be determined" 1879 as_fn_error $? "working directory cannot be determined"
1878test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1880test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1879 as_fn_error "pwd does not report name of working directory" 1881 as_fn_error $? "pwd does not report name of working directory"
1880 1882
1881 1883
1882# Find the source files, if location was not specified. 1884# Find the source files, if location was not specified.
@@ -1915,11 +1917,11 @@ else
1915fi 1917fi
1916if test ! -r "$srcdir/$ac_unique_file"; then 1918if test ! -r "$srcdir/$ac_unique_file"; then
1917 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1919 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1918 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1920 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1919fi 1921fi
1920ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1922ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1921ac_abs_confdir=`( 1923ac_abs_confdir=`(
1922 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1924 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1923 pwd)` 1925 pwd)`
1924# When building in place, set srcdir=. 1926# When building in place, set srcdir=.
1925if test "$ac_abs_confdir" = "$ac_pwd"; then 1927if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1945,7 +1947,7 @@ if test "$ac_init_help" = "long"; then
1945 # Omit some internal or obsolete options to make the list less imposing. 1947 # Omit some internal or obsolete options to make the list less imposing.
1946 # This message is too long to be a string in the A/UX 3.1 sh. 1948 # This message is too long to be a string in the A/UX 3.1 sh.
1947 cat <<_ACEOF 1949 cat <<_ACEOF
1948\`configure' configures evas 1.1.99.67344 to adapt to many kinds of systems. 1950\`configure' configures evas 1.2.0-alpha to adapt to many kinds of systems.
1949 1951
1950Usage: $0 [OPTION]... [VAR=VALUE]... 1952Usage: $0 [OPTION]... [VAR=VALUE]...
1951 1953
@@ -1959,7 +1961,7 @@ Configuration:
1959 --help=short display options specific to this package 1961 --help=short display options specific to this package
1960 --help=recursive display the short help of all the included packages 1962 --help=recursive display the short help of all the included packages
1961 -V, --version display version information and exit 1963 -V, --version display version information and exit
1962 -q, --quiet, --silent do not print \`checking...' messages 1964 -q, --quiet, --silent do not print \`checking ...' messages
1963 --cache-file=FILE cache test results in FILE [disabled] 1965 --cache-file=FILE cache test results in FILE [disabled]
1964 -C, --config-cache alias for \`--cache-file=config.cache' 1966 -C, --config-cache alias for \`--cache-file=config.cache'
1965 -n, --no-create do not create output files 1967 -n, --no-create do not create output files
@@ -2019,7 +2021,7 @@ fi
2019 2021
2020if test -n "$ac_init_help"; then 2022if test -n "$ac_init_help"; then
2021 case $ac_init_help in 2023 case $ac_init_help in
2022 short | recursive ) echo "Configuration of evas 1.1.99.67344:";; 2024 short | recursive ) echo "Configuration of evas 1.2.0-alpha:";;
2023 esac 2025 esac
2024 cat <<\_ACEOF 2026 cat <<\_ACEOF
2025 2027
@@ -2059,7 +2061,7 @@ Optional Features:
2059 --enable-tile-rotate Enable tiled rotate algorithm 2061 --enable-tile-rotate Enable tiled rotate algorithm
2060 --disable-evas-cserve disable shared cache server support. 2062 --disable-evas-cserve disable shared cache server support.
2061 [default=enabled] 2063 [default=enabled]
2062 --enable-gl-flavor-gles enable gles falvor of gl instead of standard 2064 --enable-gl-flavor-gles enable gles flavor of gl instead of standard
2063 --enable-gles-variety-sgx 2065 --enable-gles-variety-sgx
2064 GLES variety SGX 3D unit 2066 GLES variety SGX 3D unit
2065 --enable-gles-variety-s3c6410 2067 --enable-gles-variety-s3c6410
@@ -2068,7 +2070,6 @@ Optional Features:
2068 --enable-software-gdi enable Software GDI rendering backend 2070 --enable-software-gdi enable Software GDI rendering backend
2069 --enable-software-ddraw enable Software DirectDraw rendering backend 2071 --enable-software-ddraw enable Software DirectDraw rendering backend
2070 --enable-direct3d enable Direct3D rendering backend 2072 --enable-direct3d enable Direct3D rendering backend
2071 --enable-software-sdl enable Software SDL rendering backend
2072 --enable-psl1ght enable PSL1GHT rendering backend 2073 --enable-psl1ght enable PSL1GHT rendering backend
2073 --enable-gl-sdl enable OpenGL SDL rendering backend 2074 --enable-gl-sdl enable OpenGL SDL rendering backend
2074 --enable-gl-cocoa enable OpenGL Cocoa rendering backend 2075 --enable-gl-cocoa enable OpenGL Cocoa rendering backend
@@ -2259,8 +2260,15 @@ Some influential environment variables:
2259 CXXFLAGS C++ compiler flags 2260 CXXFLAGS C++ compiler flags
2260 CXXCPP C++ preprocessor 2261 CXXCPP C++ preprocessor
2261 PKG_CONFIG path to pkg-config utility 2262 PKG_CONFIG path to pkg-config utility
2263 PKG_CONFIG_PATH
2264 directories to add to pkg-config's search path
2265 PKG_CONFIG_LIBDIR
2266 path overriding pkg-config's built-in search path
2262 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config 2267 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2263 EVIL_LIBS linker flags for EVIL, overriding pkg-config 2268 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2269 EXOTIC_CFLAGS
2270 C compiler flags for EXOTIC, overriding pkg-config
2271 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2264 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config 2272 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2265 EINA_LIBS linker flags for EINA, overriding pkg-config 2273 EINA_LIBS linker flags for EINA, overriding pkg-config
2266 FREETYPE_CFLAGS 2274 FREETYPE_CFLAGS
@@ -2391,10 +2399,10 @@ fi
2391test -n "$ac_init_help" && exit $ac_status 2399test -n "$ac_init_help" && exit $ac_status
2392if $ac_init_version; then 2400if $ac_init_version; then
2393 cat <<\_ACEOF 2401 cat <<\_ACEOF
2394evas configure 1.1.99.67344 2402evas configure 1.2.0-alpha
2395generated by GNU Autoconf 2.65 2403generated by GNU Autoconf 2.67
2396 2404
2397Copyright (C) 2009 Free Software Foundation, Inc. 2405Copyright (C) 2010 Free Software Foundation, Inc.
2398This configure script is free software; the Free Software Foundation 2406This configure script is free software; the Free Software Foundation
2399gives unlimited permission to copy, distribute and modify it. 2407gives unlimited permission to copy, distribute and modify it.
2400_ACEOF 2408_ACEOF
@@ -2464,7 +2472,7 @@ $as_echo "$ac_try_echo"; } >&5
2464 mv -f conftest.er1 conftest.err 2472 mv -f conftest.er1 conftest.err
2465 fi 2473 fi
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; } >/dev/null && { 2475 test $ac_status = 0; } > conftest.i && {
2468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2469 test ! -s conftest.err 2477 test ! -s conftest.err
2470 }; then : 2478 }; then :
@@ -2488,10 +2496,10 @@ fi
2488ac_fn_c_check_header_mongrel () 2496ac_fn_c_check_header_mongrel ()
2489{ 2497{
2490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2491 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2499 if eval "test \"\${$3+set}\"" = set; then :
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2493$as_echo_n "checking for $2... " >&6; } 2501$as_echo_n "checking for $2... " >&6; }
2494if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2502if eval "test \"\${$3+set}\"" = set; then :
2495 $as_echo_n "(cached) " >&6 2503 $as_echo_n "(cached) " >&6
2496fi 2504fi
2497eval ac_res=\$$3 2505eval ac_res=\$$3
@@ -2527,7 +2535,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
2527else 2535else
2528 ac_header_preproc=no 2536 ac_header_preproc=no
2529fi 2537fi
2530rm -f conftest.err conftest.$ac_ext 2538rm -f conftest.err conftest.i conftest.$ac_ext
2531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2532$as_echo "$ac_header_preproc" >&6; } 2540$as_echo "$ac_header_preproc" >&6; }
2533 2541
@@ -2550,17 +2558,15 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2550$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2558$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2552$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2560$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2553( cat <<\_ASBOX 2561( $as_echo "## -------------------------------------------------------- ##
2554## -------------------------------------------------------- ##
2555## Report this to enlightenment-devel@lists.sourceforge.net ## 2562## Report this to enlightenment-devel@lists.sourceforge.net ##
2556## -------------------------------------------------------- ## 2563## -------------------------------------------------------- ##"
2557_ASBOX
2558 ) | sed "s/^/$as_me: WARNING: /" >&2 2564 ) | sed "s/^/$as_me: WARNING: /" >&2
2559 ;; 2565 ;;
2560esac 2566esac
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2562$as_echo_n "checking for $2... " >&6; } 2568$as_echo_n "checking for $2... " >&6; }
2563if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2569if eval "test \"\${$3+set}\"" = set; then :
2564 $as_echo_n "(cached) " >&6 2570 $as_echo_n "(cached) " >&6
2565else 2571else
2566 eval "$3=\$ac_header_compiler" 2572 eval "$3=\$ac_header_compiler"
@@ -2624,7 +2630,7 @@ ac_fn_c_check_header_compile ()
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2626$as_echo_n "checking for $2... " >&6; } 2632$as_echo_n "checking for $2... " >&6; }
2627if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2633if eval "test \"\${$3+set}\"" = set; then :
2628 $as_echo_n "(cached) " >&6 2634 $as_echo_n "(cached) " >&6
2629else 2635else
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2700,7 +2706,7 @@ ac_fn_c_check_func ()
2700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2702$as_echo_n "checking for $2... " >&6; } 2708$as_echo_n "checking for $2... " >&6; }
2703if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2709if eval "test \"\${$3+set}\"" = set; then :
2704 $as_echo_n "(cached) " >&6 2710 $as_echo_n "(cached) " >&6
2705else 2711else
2706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2902,7 +2908,7 @@ $as_echo "$ac_try_echo"; } >&5
2902 mv -f conftest.er1 conftest.err 2908 mv -f conftest.er1 conftest.err
2903 fi 2909 fi
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } >/dev/null && { 2911 test $ac_status = 0; } > conftest.i && {
2906 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2912 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2907 test ! -s conftest.err 2913 test ! -s conftest.err
2908 }; then : 2914 }; then :
@@ -3151,7 +3157,7 @@ ac_fn_c_check_type ()
3151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3153$as_echo_n "checking for $2... " >&6; } 3159$as_echo_n "checking for $2... " >&6; }
3154if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 3160if eval "test \"\${$3+set}\"" = set; then :
3155 $as_echo_n "(cached) " >&6 3161 $as_echo_n "(cached) " >&6
3156else 3162else
3157 eval "$3=no" 3163 eval "$3=no"
@@ -3196,15 +3202,18 @@ $as_echo "$ac_res" >&6; }
3196 3202
3197} # ac_fn_c_check_type 3203} # ac_fn_c_check_type
3198 3204
3199# ac_fn_c_check_decl LINENO SYMBOL VAR 3205# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3200# ------------------------------------ 3206# ---------------------------------------------
3201# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 3207# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3208# accordingly.
3202ac_fn_c_check_decl () 3209ac_fn_c_check_decl ()
3203{ 3210{
3204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 3212 as_decl_name=`echo $2|sed 's/ *(.*//'`
3206$as_echo_n "checking whether $2 is declared... " >&6; } 3213 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3207if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3215$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3216if eval "test \"\${$3+set}\"" = set; then :
3208 $as_echo_n "(cached) " >&6 3217 $as_echo_n "(cached) " >&6
3209else 3218else
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3213,8 +3222,12 @@ $4
3213int 3222int
3214main () 3223main ()
3215{ 3224{
3216#ifndef $2 3225#ifndef $as_decl_name
3217 (void) $2; 3226#ifdef __cplusplus
3227 (void) $as_decl_use;
3228#else
3229 (void) $as_decl_name;
3230#endif
3218#endif 3231#endif
3219 3232
3220 ; 3233 ;
@@ -3238,8 +3251,8 @@ cat >config.log <<_ACEOF
3238This file contains any messages produced by compilers while 3251This file contains any messages produced by compilers while
3239running configure, to aid debugging if configure makes a mistake. 3252running configure, to aid debugging if configure makes a mistake.
3240 3253
3241It was created by evas $as_me 1.1.99.67344, which was 3254It was created by evas $as_me 1.2.0-alpha, which was
3242generated by GNU Autoconf 2.65. Invocation command line was 3255generated by GNU Autoconf 2.67. Invocation command line was
3243 3256
3244 $ $0 $@ 3257 $ $0 $@
3245 3258
@@ -3349,11 +3362,9 @@ trap 'exit_status=$?
3349 { 3362 {
3350 echo 3363 echo
3351 3364
3352 cat <<\_ASBOX 3365 $as_echo "## ---------------- ##
3353## ---------------- ##
3354## Cache variables. ## 3366## Cache variables. ##
3355## ---------------- ## 3367## ---------------- ##"
3356_ASBOX
3357 echo 3368 echo
3358 # The following way of writing the cache mishandles newlines in values, 3369 # The following way of writing the cache mishandles newlines in values,
3359( 3370(
@@ -3387,11 +3398,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3387) 3398)
3388 echo 3399 echo
3389 3400
3390 cat <<\_ASBOX 3401 $as_echo "## ----------------- ##
3391## ----------------- ##
3392## Output variables. ## 3402## Output variables. ##
3393## ----------------- ## 3403## ----------------- ##"
3394_ASBOX
3395 echo 3404 echo
3396 for ac_var in $ac_subst_vars 3405 for ac_var in $ac_subst_vars
3397 do 3406 do
@@ -3404,11 +3413,9 @@ _ASBOX
3404 echo 3413 echo
3405 3414
3406 if test -n "$ac_subst_files"; then 3415 if test -n "$ac_subst_files"; then
3407 cat <<\_ASBOX 3416 $as_echo "## ------------------- ##
3408## ------------------- ##
3409## File substitutions. ## 3417## File substitutions. ##
3410## ------------------- ## 3418## ------------------- ##"
3411_ASBOX
3412 echo 3419 echo
3413 for ac_var in $ac_subst_files 3420 for ac_var in $ac_subst_files
3414 do 3421 do
@@ -3422,11 +3429,9 @@ _ASBOX
3422 fi 3429 fi
3423 3430
3424 if test -s confdefs.h; then 3431 if test -s confdefs.h; then
3425 cat <<\_ASBOX 3432 $as_echo "## ----------- ##
3426## ----------- ##
3427## confdefs.h. ## 3433## confdefs.h. ##
3428## ----------- ## 3434## ----------- ##"
3429_ASBOX
3430 echo 3435 echo
3431 cat confdefs.h 3436 cat confdefs.h
3432 echo 3437 echo
@@ -3481,7 +3486,12 @@ _ACEOF
3481ac_site_file1=NONE 3486ac_site_file1=NONE
3482ac_site_file2=NONE 3487ac_site_file2=NONE
3483if test -n "$CONFIG_SITE"; then 3488if test -n "$CONFIG_SITE"; then
3484 ac_site_file1=$CONFIG_SITE 3489 # We do not want a PATH search for config.site.
3490 case $CONFIG_SITE in #((
3491 -*) ac_site_file1=./$CONFIG_SITE;;
3492 */*) ac_site_file1=$CONFIG_SITE;;
3493 *) ac_site_file1=./$CONFIG_SITE;;
3494 esac
3485elif test "x$prefix" != xNONE; then 3495elif test "x$prefix" != xNONE; then
3486 ac_site_file1=$prefix/share/config.site 3496 ac_site_file1=$prefix/share/config.site
3487 ac_site_file2=$prefix/etc/config.site 3497 ac_site_file2=$prefix/etc/config.site
@@ -3496,7 +3506,11 @@ do
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3506 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3497$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3507$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3498 sed 's/^/| /' "$ac_site_file" >&5 3508 sed 's/^/| /' "$ac_site_file" >&5
3499 . "$ac_site_file" 3509 . "$ac_site_file" \
3510 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512as_fn_error $? "failed to load site script $ac_site_file
3513See \`config.log' for more details" "$LINENO" 5 ; }
3500 fi 3514 fi
3501done 3515done
3502 3516
@@ -3572,7 +3586,7 @@ if $ac_cache_corrupted; then
3572$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3574$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3588$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3575 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3589 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3576fi 3590fi
3577## -------------------- ## 3591## -------------------- ##
3578## Main body of script. ## 3592## Main body of script. ##
@@ -3598,16 +3612,22 @@ am__api_version='1.11'
3598 3612
3599ac_aux_dir= 3613ac_aux_dir=
3600for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3614for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3601 for ac_t in install-sh install.sh shtool; do 3615 if test -f "$ac_dir/install-sh"; then
3602 if test -f "$ac_dir/$ac_t"; then 3616 ac_aux_dir=$ac_dir
3603 ac_aux_dir=$ac_dir 3617 ac_install_sh="$ac_aux_dir/install-sh -c"
3604 ac_install_sh="$ac_aux_dir/$ac_t -c" 3618 break
3605 break 2 3619 elif test -f "$ac_dir/install.sh"; then
3606 fi 3620 ac_aux_dir=$ac_dir
3607 done 3621 ac_install_sh="$ac_aux_dir/install.sh -c"
3622 break
3623 elif test -f "$ac_dir/shtool"; then
3624 ac_aux_dir=$ac_dir
3625 ac_install_sh="$ac_aux_dir/shtool install -c"
3626 break
3627 fi
3608done 3628done
3609if test -z "$ac_aux_dir"; then 3629if test -z "$ac_aux_dir"; then
3610 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3630 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3611fi 3631fi
3612 3632
3613# These three variables are undocumented and unsupported, 3633# These three variables are undocumented and unsupported,
@@ -3723,11 +3743,11 @@ am_lf='
3723' 3743'
3724case `pwd` in 3744case `pwd` in
3725 *[\\\"\#\$\&\'\`$am_lf]*) 3745 *[\\\"\#\$\&\'\`$am_lf]*)
3726 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 3746 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3727esac 3747esac
3728case $srcdir in 3748case $srcdir in
3729 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3749 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3730 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 3750 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3731esac 3751esac
3732 3752
3733# Do `set' in a subshell so we don't clobber the current shell's 3753# Do `set' in a subshell so we don't clobber the current shell's
@@ -3749,7 +3769,7 @@ if (
3749 # if, for instance, CONFIG_SHELL is bash and it inherits a 3769 # if, for instance, CONFIG_SHELL is bash and it inherits a
3750 # broken ls alias from the environment. This has actually 3770 # broken ls alias from the environment. This has actually
3751 # happened. Such a system could not be considered "sane". 3771 # happened. Such a system could not be considered "sane".
3752 as_fn_error "ls -t appears to fail. Make sure there is not a broken 3772 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3753alias in your environment" "$LINENO" 5 3773alias in your environment" "$LINENO" 5
3754 fi 3774 fi
3755 3775
@@ -3759,7 +3779,7 @@ then
3759 # Ok. 3779 # Ok.
3760 : 3780 :
3761else 3781else
3762 as_fn_error "newly created file is older than distributed files! 3782 as_fn_error $? "newly created file is older than distributed files!
3763Check your system clock" "$LINENO" 5 3783Check your system clock" "$LINENO" 5
3764fi 3784fi
3765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
@@ -3997,7 +4017,7 @@ done
3997$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4017$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3998set x ${MAKE-make} 4018set x ${MAKE-make}
3999ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4019ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4000if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 4020if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4001 $as_echo_n "(cached) " >&6 4021 $as_echo_n "(cached) " >&6
4002else 4022else
4003 cat >conftest.make <<\_ACEOF 4023 cat >conftest.make <<\_ACEOF
@@ -4005,7 +4025,7 @@ SHELL = /bin/sh
4005all: 4025all:
4006 @echo '@@@%%%=$(MAKE)=@@@%%%' 4026 @echo '@@@%%%=$(MAKE)=@@@%%%'
4007_ACEOF 4027_ACEOF
4008# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 4028# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4009case `${MAKE-make} -f conftest.make 2>/dev/null` in 4029case `${MAKE-make} -f conftest.make 2>/dev/null` in
4010 *@@@%%%=?*=@@@%%%*) 4030 *@@@%%%=?*=@@@%%%*)
4011 eval ac_cv_prog_make_${ac_make}_set=yes;; 4031 eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -4039,7 +4059,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
4039 am__isrc=' -I$(srcdir)' 4059 am__isrc=' -I$(srcdir)'
4040 # test to see if srcdir already configured 4060 # test to see if srcdir already configured
4041 if test -f $srcdir/config.status; then 4061 if test -f $srcdir/config.status; then
4042 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 4062 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4043 fi 4063 fi
4044fi 4064fi
4045 4065
@@ -4055,7 +4075,7 @@ fi
4055 4075
4056# Define the identity of the package. 4076# Define the identity of the package.
4057 PACKAGE='evas' 4077 PACKAGE='evas'
4058 VERSION='1.1.99.67344' 4078 VERSION='1.2.0-alpha'
4059 4079
4060 4080
4061cat >>confdefs.h <<_ACEOF 4081cat >>confdefs.h <<_ACEOF
@@ -4470,8 +4490,8 @@ fi
4470 4490
4471test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4491test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473as_fn_error "no acceptable C compiler found in \$PATH 4493as_fn_error $? "no acceptable C compiler found in \$PATH
4474See \`config.log' for more details." "$LINENO" 5; } 4494See \`config.log' for more details" "$LINENO" 5 ; }
4475 4495
4476# Provide some information about the compiler. 4496# Provide some information about the compiler.
4477$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4497$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -4585,9 +4605,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4585 4605
4586{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4606{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4587$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4588{ as_fn_set_status 77 4608as_fn_error 77 "C compiler cannot create executables
4589as_fn_error "C compiler cannot create executables 4609See \`config.log' for more details" "$LINENO" 5 ; }
4590See \`config.log' for more details." "$LINENO" 5; }; }
4591else 4610else
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4593$as_echo "yes" >&6; } 4612$as_echo "yes" >&6; }
@@ -4629,8 +4648,8 @@ done
4629else 4648else
4630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4631$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4632as_fn_error "cannot compute suffix of executables: cannot compile and link 4651as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4633See \`config.log' for more details." "$LINENO" 5; } 4652See \`config.log' for more details" "$LINENO" 5 ; }
4634fi 4653fi
4635rm -f conftest conftest$ac_cv_exeext 4654rm -f conftest conftest$ac_cv_exeext
4636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -4687,9 +4706,9 @@ $as_echo "$ac_try_echo"; } >&5
4687 else 4706 else
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690as_fn_error "cannot run C compiled programs. 4709as_fn_error $? "cannot run C compiled programs.
4691If you meant to cross compile, use \`--host'. 4710If you meant to cross compile, use \`--host'.
4692See \`config.log' for more details." "$LINENO" 5; } 4711See \`config.log' for more details" "$LINENO" 5 ; }
4693 fi 4712 fi
4694 fi 4713 fi
4695fi 4714fi
@@ -4740,8 +4759,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
4740 4759
4741{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4760{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4743as_fn_error "cannot compute suffix of object files: cannot compile 4762as_fn_error $? "cannot compute suffix of object files: cannot compile
4744See \`config.log' for more details." "$LINENO" 5; } 4763See \`config.log' for more details" "$LINENO" 5 ; }
4745fi 4764fi
4746rm -f conftest.$ac_cv_objext conftest.$ac_ext 4765rm -f conftest.$ac_cv_objext conftest.$ac_ext
4747fi 4766fi
@@ -5131,7 +5150,7 @@ else
5131 # Broken: fails on valid input. 5150 # Broken: fails on valid input.
5132continue 5151continue
5133fi 5152fi
5134rm -f conftest.err conftest.$ac_ext 5153rm -f conftest.err conftest.i conftest.$ac_ext
5135 5154
5136 # OK, works on sane cases. Now check whether nonexistent headers 5155 # OK, works on sane cases. Now check whether nonexistent headers
5137 # can be detected and how. 5156 # can be detected and how.
@@ -5147,11 +5166,11 @@ else
5147ac_preproc_ok=: 5166ac_preproc_ok=:
5148break 5167break
5149fi 5168fi
5150rm -f conftest.err conftest.$ac_ext 5169rm -f conftest.err conftest.i conftest.$ac_ext
5151 5170
5152done 5171done
5153# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5172# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5154rm -f conftest.err conftest.$ac_ext 5173rm -f conftest.i conftest.err conftest.$ac_ext
5155if $ac_preproc_ok; then : 5174if $ac_preproc_ok; then :
5156 break 5175 break
5157fi 5176fi
@@ -5190,7 +5209,7 @@ else
5190 # Broken: fails on valid input. 5209 # Broken: fails on valid input.
5191continue 5210continue
5192fi 5211fi
5193rm -f conftest.err conftest.$ac_ext 5212rm -f conftest.err conftest.i conftest.$ac_ext
5194 5213
5195 # OK, works on sane cases. Now check whether nonexistent headers 5214 # OK, works on sane cases. Now check whether nonexistent headers
5196 # can be detected and how. 5215 # can be detected and how.
@@ -5206,18 +5225,18 @@ else
5206ac_preproc_ok=: 5225ac_preproc_ok=:
5207break 5226break
5208fi 5227fi
5209rm -f conftest.err conftest.$ac_ext 5228rm -f conftest.err conftest.i conftest.$ac_ext
5210 5229
5211done 5230done
5212# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5231# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5213rm -f conftest.err conftest.$ac_ext 5232rm -f conftest.i conftest.err conftest.$ac_ext
5214if $ac_preproc_ok; then : 5233if $ac_preproc_ok; then :
5215 5234
5216else 5235else
5217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5219as_fn_error "C preprocessor \"$CPP\" fails sanity check 5238as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5220See \`config.log' for more details." "$LINENO" 5; } 5239See \`config.log' for more details" "$LINENO" 5 ; }
5221fi 5240fi
5222 5241
5223ac_ext=c 5242ac_ext=c
@@ -5278,7 +5297,7 @@ esac
5278 done 5297 done
5279IFS=$as_save_IFS 5298IFS=$as_save_IFS
5280 if test -z "$ac_cv_path_GREP"; then 5299 if test -z "$ac_cv_path_GREP"; then
5281 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5300 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5282 fi 5301 fi
5283else 5302else
5284 ac_cv_path_GREP=$GREP 5303 ac_cv_path_GREP=$GREP
@@ -5344,7 +5363,7 @@ esac
5344 done 5363 done
5345IFS=$as_save_IFS 5364IFS=$as_save_IFS
5346 if test -z "$ac_cv_path_EGREP"; then 5365 if test -z "$ac_cv_path_EGREP"; then
5347 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5366 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5348 fi 5367 fi
5349else 5368else
5350 ac_cv_path_EGREP=$EGREP 5369 ac_cv_path_EGREP=$EGREP
@@ -5476,8 +5495,7 @@ do :
5476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5495 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5477ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5496ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5478" 5497"
5479eval as_val=\$$as_ac_Header 5498if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5480 if test "x$as_val" = x""yes; then :
5481 cat >>confdefs.h <<_ACEOF 5499 cat >>confdefs.h <<_ACEOF
5482#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5500#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5483_ACEOF 5501_ACEOF
@@ -5552,7 +5570,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5552 5570
5553# Make sure we can run config.sub. 5571# Make sure we can run config.sub.
5554$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5572$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5555 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5573 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5556 5574
5557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5558$as_echo_n "checking build system type... " >&6; } 5576$as_echo_n "checking build system type... " >&6; }
@@ -5563,16 +5581,16 @@ else
5563test "x$ac_build_alias" = x && 5581test "x$ac_build_alias" = x &&
5564 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5582 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5565test "x$ac_build_alias" = x && 5583test "x$ac_build_alias" = x &&
5566 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 5584 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5567ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5585ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5568 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5586 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5569 5587
5570fi 5588fi
5571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5572$as_echo "$ac_cv_build" >&6; } 5590$as_echo "$ac_cv_build" >&6; }
5573case $ac_cv_build in 5591case $ac_cv_build in
5574*-*-*) ;; 5592*-*-*) ;;
5575*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 5593*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5576esac 5594esac
5577build=$ac_cv_build 5595build=$ac_cv_build
5578ac_save_IFS=$IFS; IFS='-' 5596ac_save_IFS=$IFS; IFS='-'
@@ -5597,7 +5615,7 @@ else
5597 ac_cv_host=$ac_cv_build 5615 ac_cv_host=$ac_cv_build
5598else 5616else
5599 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5617 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5600 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5618 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5601fi 5619fi
5602 5620
5603fi 5621fi
@@ -5605,7 +5623,7 @@ fi
5605$as_echo "$ac_cv_host" >&6; } 5623$as_echo "$ac_cv_host" >&6; }
5606case $ac_cv_host in 5624case $ac_cv_host in
5607*-*-*) ;; 5625*-*-*) ;;
5608*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 5626*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5609esac 5627esac
5610host=$ac_cv_host 5628host=$ac_cv_host
5611ac_save_IFS=$IFS; IFS='-' 5629ac_save_IFS=$IFS; IFS='-'
@@ -6006,7 +6024,7 @@ esac
6006 done 6024 done
6007IFS=$as_save_IFS 6025IFS=$as_save_IFS
6008 if test -z "$ac_cv_path_SED"; then 6026 if test -z "$ac_cv_path_SED"; then
6009 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 6027 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6010 fi 6028 fi
6011else 6029else
6012 ac_cv_path_SED=$SED 6030 ac_cv_path_SED=$SED
@@ -6085,7 +6103,7 @@ esac
6085 done 6103 done
6086IFS=$as_save_IFS 6104IFS=$as_save_IFS
6087 if test -z "$ac_cv_path_FGREP"; then 6105 if test -z "$ac_cv_path_FGREP"; then
6088 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6106 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6089 fi 6107 fi
6090else 6108else
6091 ac_cv_path_FGREP=$FGREP 6109 ac_cv_path_FGREP=$FGREP
@@ -6201,7 +6219,7 @@ else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202$as_echo "no" >&6; } 6220$as_echo "no" >&6; }
6203fi 6221fi
6204test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 6222test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6206$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6224$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6207if test "${lt_cv_prog_gnu_ld+set}" = set; then : 6225if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -6403,13 +6421,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
6403else 6421else
6404 lt_cv_nm_interface="BSD nm" 6422 lt_cv_nm_interface="BSD nm"
6405 echo "int some_variable = 0;" > conftest.$ac_ext 6423 echo "int some_variable = 0;" > conftest.$ac_ext
6406 (eval echo "\"\$as_me:6406: $ac_compile\"" >&5) 6424 (eval echo "\"\$as_me:6424: $ac_compile\"" >&5)
6407 (eval "$ac_compile" 2>conftest.err) 6425 (eval "$ac_compile" 2>conftest.err)
6408 cat conftest.err >&5 6426 cat conftest.err >&5
6409 (eval echo "\"\$as_me:6409: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6427 (eval echo "\"\$as_me:6427: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6410 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6428 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6411 cat conftest.err >&5 6429 cat conftest.err >&5
6412 (eval echo "\"\$as_me:6412: output\"" >&5) 6430 (eval echo "\"\$as_me:6430: output\"" >&5)
6413 cat conftest.out >&5 6431 cat conftest.out >&5
6414 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6432 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6415 lt_cv_nm_interface="MS dumpbin" 6433 lt_cv_nm_interface="MS dumpbin"
@@ -7611,7 +7629,7 @@ ia64-*-hpux*)
7611 ;; 7629 ;;
7612*-*-irix6*) 7630*-*-irix6*)
7613 # Find out which ABI we are using. 7631 # Find out which ABI we are using.
7614 echo '#line 7614 "configure"' > conftest.$ac_ext 7632 echo '#line 7632 "configure"' > conftest.$ac_ext
7615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7616 (eval $ac_compile) 2>&5 7634 (eval $ac_compile) 2>&5
7617 ac_status=$? 7635 ac_status=$?
@@ -8871,11 +8889,11 @@ else
8871 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8872 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8873 -e 's:$: $lt_compiler_flag:'` 8891 -e 's:$: $lt_compiler_flag:'`
8874 (eval echo "\"\$as_me:8874: $lt_compile\"" >&5) 8892 (eval echo "\"\$as_me:8892: $lt_compile\"" >&5)
8875 (eval "$lt_compile" 2>conftest.err) 8893 (eval "$lt_compile" 2>conftest.err)
8876 ac_status=$? 8894 ac_status=$?
8877 cat conftest.err >&5 8895 cat conftest.err >&5
8878 echo "$as_me:8878: \$? = $ac_status" >&5 8896 echo "$as_me:8896: \$? = $ac_status" >&5
8879 if (exit $ac_status) && test -s "$ac_outfile"; then 8897 if (exit $ac_status) && test -s "$ac_outfile"; then
8880 # The compiler can only warn and ignore the option if not recognized 8898 # The compiler can only warn and ignore the option if not recognized
8881 # So say no if there are warnings other than the usual output. 8899 # So say no if there are warnings other than the usual output.
@@ -9210,11 +9228,11 @@ else
9210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9228 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9212 -e 's:$: $lt_compiler_flag:'` 9230 -e 's:$: $lt_compiler_flag:'`
9213 (eval echo "\"\$as_me:9213: $lt_compile\"" >&5) 9231 (eval echo "\"\$as_me:9231: $lt_compile\"" >&5)
9214 (eval "$lt_compile" 2>conftest.err) 9232 (eval "$lt_compile" 2>conftest.err)
9215 ac_status=$? 9233 ac_status=$?
9216 cat conftest.err >&5 9234 cat conftest.err >&5
9217 echo "$as_me:9217: \$? = $ac_status" >&5 9235 echo "$as_me:9235: \$? = $ac_status" >&5
9218 if (exit $ac_status) && test -s "$ac_outfile"; then 9236 if (exit $ac_status) && test -s "$ac_outfile"; then
9219 # The compiler can only warn and ignore the option if not recognized 9237 # The compiler can only warn and ignore the option if not recognized
9220 # So say no if there are warnings other than the usual output. 9238 # So say no if there are warnings other than the usual output.
@@ -9315,11 +9333,11 @@ else
9315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9317 -e 's:$: $lt_compiler_flag:'` 9335 -e 's:$: $lt_compiler_flag:'`
9318 (eval echo "\"\$as_me:9318: $lt_compile\"" >&5) 9336 (eval echo "\"\$as_me:9336: $lt_compile\"" >&5)
9319 (eval "$lt_compile" 2>out/conftest.err) 9337 (eval "$lt_compile" 2>out/conftest.err)
9320 ac_status=$? 9338 ac_status=$?
9321 cat out/conftest.err >&5 9339 cat out/conftest.err >&5
9322 echo "$as_me:9322: \$? = $ac_status" >&5 9340 echo "$as_me:9340: \$? = $ac_status" >&5
9323 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9341 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9324 then 9342 then
9325 # The compiler can only warn and ignore the option if not recognized 9343 # The compiler can only warn and ignore the option if not recognized
@@ -9370,11 +9388,11 @@ else
9370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9388 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9372 -e 's:$: $lt_compiler_flag:'` 9390 -e 's:$: $lt_compiler_flag:'`
9373 (eval echo "\"\$as_me:9373: $lt_compile\"" >&5) 9391 (eval echo "\"\$as_me:9391: $lt_compile\"" >&5)
9374 (eval "$lt_compile" 2>out/conftest.err) 9392 (eval "$lt_compile" 2>out/conftest.err)
9375 ac_status=$? 9393 ac_status=$?
9376 cat out/conftest.err >&5 9394 cat out/conftest.err >&5
9377 echo "$as_me:9377: \$? = $ac_status" >&5 9395 echo "$as_me:9395: \$? = $ac_status" >&5
9378 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9396 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9379 then 9397 then
9380 # The compiler can only warn and ignore the option if not recognized 9398 # The compiler can only warn and ignore the option if not recognized
@@ -11754,7 +11772,7 @@ else
11754 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11772 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11755 lt_status=$lt_dlunknown 11773 lt_status=$lt_dlunknown
11756 cat > conftest.$ac_ext <<_LT_EOF 11774 cat > conftest.$ac_ext <<_LT_EOF
11757#line 11757 "configure" 11775#line 11775 "configure"
11758#include "confdefs.h" 11776#include "confdefs.h"
11759 11777
11760#if HAVE_DLFCN_H 11778#if HAVE_DLFCN_H
@@ -11850,7 +11868,7 @@ else
11850 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11868 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11851 lt_status=$lt_dlunknown 11869 lt_status=$lt_dlunknown
11852 cat > conftest.$ac_ext <<_LT_EOF 11870 cat > conftest.$ac_ext <<_LT_EOF
11853#line 11853 "configure" 11871#line 11871 "configure"
11854#include "confdefs.h" 11872#include "confdefs.h"
11855 11873
11856#if HAVE_DLFCN_H 11874#if HAVE_DLFCN_H
@@ -12089,20 +12107,20 @@ _ACEOF
12089 12107
12090 12108
12091cat >>confdefs.h <<_ACEOF 12109cat >>confdefs.h <<_ACEOF
12092#define VMIN 1 12110#define VMIN 2
12093_ACEOF 12111_ACEOF
12094 12112
12095 12113
12096cat >>confdefs.h <<_ACEOF 12114cat >>confdefs.h <<_ACEOF
12097#define VMIC 99 12115#define VMIC 0
12098_ACEOF 12116_ACEOF
12099 12117
12100 12118
12101cat >>confdefs.h <<_ACEOF 12119cat >>confdefs.h <<_ACEOF
12102#define VREV 67344 12120#define VREV 0
12103_ACEOF 12121_ACEOF
12104 12122
12105version_info="2:99:1" 12123version_info="3:0:2"
12106release_info="" 12124release_info=""
12107 12125
12108 12126
@@ -12121,7 +12139,7 @@ case "$host_os" in
12121 MODULE_ARCH="$host_os-$host_cpu" 12139 MODULE_ARCH="$host_os-$host_cpu"
12122 ;; 12140 ;;
12123 *) 12141 *)
12124 MODULE_ARCH="$host_os-$host_cpu-1.1.99" 12142 MODULE_ARCH="$host_os-$host_cpu-1.2.0"
12125 ;; 12143 ;;
12126esac 12144esac
12127 12145
@@ -12142,7 +12160,6 @@ want_evas_engine_software_xlib="no"
12142want_evas_engine_software_xcb="no" 12160want_evas_engine_software_xcb="no"
12143want_evas_engine_software_gdi="no" 12161want_evas_engine_software_gdi="no"
12144want_evas_engine_software_ddraw="no" 12162want_evas_engine_software_ddraw="no"
12145want_evas_engine_software_sdl="no"
12146want_evas_engine_software_8_x11="no" 12163want_evas_engine_software_8_x11="no"
12147want_evas_engine_software_16_x11="no" 12164want_evas_engine_software_16_x11="no"
12148want_evas_engine_software_16_ddraw="no" 12165want_evas_engine_software_16_ddraw="no"
@@ -13606,7 +13623,7 @@ else
13606 # Broken: fails on valid input. 13623 # Broken: fails on valid input.
13607continue 13624continue
13608fi 13625fi
13609rm -f conftest.err conftest.$ac_ext 13626rm -f conftest.err conftest.i conftest.$ac_ext
13610 13627
13611 # OK, works on sane cases. Now check whether nonexistent headers 13628 # OK, works on sane cases. Now check whether nonexistent headers
13612 # can be detected and how. 13629 # can be detected and how.
@@ -13622,11 +13639,11 @@ else
13622ac_preproc_ok=: 13639ac_preproc_ok=:
13623break 13640break
13624fi 13641fi
13625rm -f conftest.err conftest.$ac_ext 13642rm -f conftest.err conftest.i conftest.$ac_ext
13626 13643
13627done 13644done
13628# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13645# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13629rm -f conftest.err conftest.$ac_ext 13646rm -f conftest.i conftest.err conftest.$ac_ext
13630if $ac_preproc_ok; then : 13647if $ac_preproc_ok; then :
13631 break 13648 break
13632fi 13649fi
@@ -13665,7 +13682,7 @@ else
13665 # Broken: fails on valid input. 13682 # Broken: fails on valid input.
13666continue 13683continue
13667fi 13684fi
13668rm -f conftest.err conftest.$ac_ext 13685rm -f conftest.err conftest.i conftest.$ac_ext
13669 13686
13670 # OK, works on sane cases. Now check whether nonexistent headers 13687 # OK, works on sane cases. Now check whether nonexistent headers
13671 # can be detected and how. 13688 # can be detected and how.
@@ -13681,11 +13698,11 @@ else
13681ac_preproc_ok=: 13698ac_preproc_ok=:
13682break 13699break
13683fi 13700fi
13684rm -f conftest.err conftest.$ac_ext 13701rm -f conftest.err conftest.i conftest.$ac_ext
13685 13702
13686done 13703done
13687# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13704# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13688rm -f conftest.err conftest.$ac_ext 13705rm -f conftest.i conftest.err conftest.$ac_ext
13689if $ac_preproc_ok; then : 13706if $ac_preproc_ok; then :
13690 13707
13691else 13708else
@@ -13914,7 +13931,7 @@ else
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13915$as_echo "no" >&6; } 13932$as_echo "no" >&6; }
13916fi 13933fi
13917test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 13934test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13919$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13936$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13920if test "${lt_cv_prog_gnu_ld+set}" = set; then : 13937if test "${lt_cv_prog_gnu_ld+set}" = set; then :
@@ -15455,11 +15472,11 @@ else
15455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15457 -e 's:$: $lt_compiler_flag:'` 15474 -e 's:$: $lt_compiler_flag:'`
15458 (eval echo "\"\$as_me:15458: $lt_compile\"" >&5) 15475 (eval echo "\"\$as_me:15475: $lt_compile\"" >&5)
15459 (eval "$lt_compile" 2>conftest.err) 15476 (eval "$lt_compile" 2>conftest.err)
15460 ac_status=$? 15477 ac_status=$?
15461 cat conftest.err >&5 15478 cat conftest.err >&5
15462 echo "$as_me:15462: \$? = $ac_status" >&5 15479 echo "$as_me:15479: \$? = $ac_status" >&5
15463 if (exit $ac_status) && test -s "$ac_outfile"; then 15480 if (exit $ac_status) && test -s "$ac_outfile"; then
15464 # The compiler can only warn and ignore the option if not recognized 15481 # The compiler can only warn and ignore the option if not recognized
15465 # So say no if there are warnings other than the usual output. 15482 # So say no if there are warnings other than the usual output.
@@ -15554,11 +15571,11 @@ else
15554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15556 -e 's:$: $lt_compiler_flag:'` 15573 -e 's:$: $lt_compiler_flag:'`
15557 (eval echo "\"\$as_me:15557: $lt_compile\"" >&5) 15574 (eval echo "\"\$as_me:15574: $lt_compile\"" >&5)
15558 (eval "$lt_compile" 2>out/conftest.err) 15575 (eval "$lt_compile" 2>out/conftest.err)
15559 ac_status=$? 15576 ac_status=$?
15560 cat out/conftest.err >&5 15577 cat out/conftest.err >&5
15561 echo "$as_me:15561: \$? = $ac_status" >&5 15578 echo "$as_me:15578: \$? = $ac_status" >&5
15562 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15579 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15563 then 15580 then
15564 # The compiler can only warn and ignore the option if not recognized 15581 # The compiler can only warn and ignore the option if not recognized
@@ -15606,11 +15623,11 @@ else
15606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15608 -e 's:$: $lt_compiler_flag:'` 15625 -e 's:$: $lt_compiler_flag:'`
15609 (eval echo "\"\$as_me:15609: $lt_compile\"" >&5) 15626 (eval echo "\"\$as_me:15626: $lt_compile\"" >&5)
15610 (eval "$lt_compile" 2>out/conftest.err) 15627 (eval "$lt_compile" 2>out/conftest.err)
15611 ac_status=$? 15628 ac_status=$?
15612 cat out/conftest.err >&5 15629 cat out/conftest.err >&5
15613 echo "$as_me:15613: \$? = $ac_status" >&5 15630 echo "$as_me:15630: \$? = $ac_status" >&5
15614 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15615 then 15632 then
15616 # The compiler can only warn and ignore the option if not recognized 15633 # The compiler can only warn and ignore the option if not recognized
@@ -16854,8 +16871,8 @@ fi
16854 16871
16855test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16872test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16856$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16857as_fn_error "no acceptable C compiler found in \$PATH 16874as_fn_error $? "no acceptable C compiler found in \$PATH
16858See \`config.log' for more details." "$LINENO" 5; } 16875See \`config.log' for more details" "$LINENO" 5 ; }
16859 16876
16860# Provide some information about the compiler. 16877# Provide some information about the compiler.
16861$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 16878$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -17225,6 +17242,10 @@ fi
17225# pkg-config 17242# pkg-config
17226 17243
17227 17244
17245
17246
17247
17248
17228if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 17249if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17229 if test -n "$ac_tool_prefix"; then 17250 if test -n "$ac_tool_prefix"; then
17230 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 17251 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -17337,7 +17358,6 @@ $as_echo "yes" >&6; }
17337$as_echo "no" >&6; } 17358$as_echo "no" >&6; }
17338 PKG_CONFIG="" 17359 PKG_CONFIG=""
17339 fi 17360 fi
17340
17341fi 17361fi
17342 17362
17343# Check whether pkg-config supports Requires.private 17363# Check whether pkg-config supports Requires.private
@@ -17519,11 +17539,10 @@ pkg_failed=no
17519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5 17539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
17520$as_echo_n "checking for EVIL... " >&6; } 17540$as_echo_n "checking for EVIL... " >&6; }
17521 17541
17522if test -n "$PKG_CONFIG"; then 17542if test -n "$EVIL_CFLAGS"; then
17523 if test -n "$EVIL_CFLAGS"; then 17543 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
17524 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS" 17544 elif test -n "$PKG_CONFIG"; then
17525 else 17545 if test -n "$PKG_CONFIG" && \
17526 if test -n "$PKG_CONFIG" && \
17527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 17546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17528 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 17547 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17529 ac_status=$? 17548 ac_status=$?
@@ -17533,15 +17552,13 @@ if test -n "$PKG_CONFIG"; then
17533else 17552else
17534 pkg_failed=yes 17553 pkg_failed=yes
17535fi 17554fi
17536 fi 17555 else
17537else 17556 pkg_failed=untried
17538 pkg_failed=untried
17539fi 17557fi
17540if test -n "$PKG_CONFIG"; then 17558if test -n "$EVIL_LIBS"; then
17541 if test -n "$EVIL_LIBS"; then 17559 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
17542 pkg_cv_EVIL_LIBS="$EVIL_LIBS" 17560 elif test -n "$PKG_CONFIG"; then
17543 else 17561 if test -n "$PKG_CONFIG" && \
17544 if test -n "$PKG_CONFIG" && \
17545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5 17562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17546 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5 17563 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17547 ac_status=$? 17564 ac_status=$?
@@ -17551,14 +17568,15 @@ if test -n "$PKG_CONFIG"; then
17551else 17568else
17552 pkg_failed=yes 17569 pkg_failed=yes
17553fi 17570fi
17554 fi 17571 else
17555else 17572 pkg_failed=untried
17556 pkg_failed=untried
17557fi 17573fi
17558 17574
17559 17575
17560 17576
17561if test $pkg_failed = yes; then 17577if test $pkg_failed = yes; then
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17579$as_echo "no" >&6; }
17562 17580
17563if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17581if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17564 _pkg_short_errors_supported=yes 17582 _pkg_short_errors_supported=yes
@@ -17566,14 +17584,14 @@ else
17566 _pkg_short_errors_supported=no 17584 _pkg_short_errors_supported=no
17567fi 17585fi
17568 if test $_pkg_short_errors_supported = yes; then 17586 if test $_pkg_short_errors_supported = yes; then
17569 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil >= 1.0.0"` 17587 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
17570 else 17588 else
17571 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil >= 1.0.0"` 17589 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
17572 fi 17590 fi
17573 # Put the nasty error message in config.log where it belongs 17591 # Put the nasty error message in config.log where it belongs
17574 echo "$EVIL_PKG_ERRORS" >&5 17592 echo "$EVIL_PKG_ERRORS" >&5
17575 17593
17576 as_fn_error "Package requirements (evil >= 1.0.0) were not met: 17594 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
17577 17595
17578$EVIL_PKG_ERRORS 17596$EVIL_PKG_ERRORS
17579 17597
@@ -17582,12 +17600,13 @@ installed software in a non-standard prefix.
17582 17600
17583Alternatively, you may set the environment variables EVIL_CFLAGS 17601Alternatively, you may set the environment variables EVIL_CFLAGS
17584and EVIL_LIBS to avoid the need to call pkg-config. 17602and EVIL_LIBS to avoid the need to call pkg-config.
17585See the pkg-config man page for more details. 17603See the pkg-config man page for more details." "$LINENO" 5
17586" "$LINENO" 5
17587elif test $pkg_failed = untried; then 17604elif test $pkg_failed = untried; then
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17606$as_echo "no" >&6; }
17588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17589$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17590as_fn_error "The pkg-config script could not be found or is too old. Make sure it 17609as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17591is in your PATH or set the PKG_CONFIG environment variable to the full 17610is in your PATH or set the PKG_CONFIG environment variable to the full
17592path to pkg-config. 17611path to pkg-config.
17593 17612
@@ -17596,13 +17615,13 @@ and EVIL_LIBS to avoid the need to call pkg-config.
17596See the pkg-config man page for more details. 17615See the pkg-config man page for more details.
17597 17616
17598To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17617To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17599See \`config.log' for more details." "$LINENO" 5; } 17618See \`config.log' for more details" "$LINENO" 5 ; }
17600else 17619else
17601 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS 17620 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
17602 EVIL_LIBS=$pkg_cv_EVIL_LIBS 17621 EVIL_LIBS=$pkg_cv_EVIL_LIBS
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17604$as_echo "yes" >&6; } 17623$as_echo "yes" >&6; }
17605 : 17624
17606fi 17625fi
17607 17626
17608$as_echo "#define HAVE_EVIL 1" >>confdefs.h 17627$as_echo "#define HAVE_EVIL 1" >>confdefs.h
@@ -17611,6 +17630,94 @@ $as_echo "#define HAVE_EVIL 1" >>confdefs.h
17611 ;; 17630 ;;
17612esac 17631esac
17613 17632
17633### Checks for portability layer
17634
17635
17636pkg_failed=no
17637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
17638$as_echo_n "checking for EXOTIC... " >&6; }
17639
17640if test -n "$EXOTIC_CFLAGS"; then
17641 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
17642 elif test -n "$PKG_CONFIG"; then
17643 if test -n "$PKG_CONFIG" && \
17644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17645 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17646 ac_status=$?
17647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17648 test $ac_status = 0; }; then
17649 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
17650else
17651 pkg_failed=yes
17652fi
17653 else
17654 pkg_failed=untried
17655fi
17656if test -n "$EXOTIC_LIBS"; then
17657 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
17658 elif test -n "$PKG_CONFIG"; then
17659 if test -n "$PKG_CONFIG" && \
17660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17661 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17662 ac_status=$?
17663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17664 test $ac_status = 0; }; then
17665 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
17666else
17667 pkg_failed=yes
17668fi
17669 else
17670 pkg_failed=untried
17671fi
17672
17673
17674
17675if test $pkg_failed = yes; then
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17677$as_echo "no" >&6; }
17678
17679if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17680 _pkg_short_errors_supported=yes
17681else
17682 _pkg_short_errors_supported=no
17683fi
17684 if test $_pkg_short_errors_supported = yes; then
17685 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
17686 else
17687 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
17688 fi
17689 # Put the nasty error message in config.log where it belongs
17690 echo "$EXOTIC_PKG_ERRORS" >&5
17691
17692 enable_exotic="no"
17693elif test $pkg_failed = untried; then
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17695$as_echo "no" >&6; }
17696 enable_exotic="no"
17697else
17698 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
17699 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17701$as_echo "yes" >&6; }
17702 enable_exotic="yes"
17703fi
17704
17705if test "x${enable_exotic}" = "xyes"; then
17706 requirement_evas="exotic ${requirement_evas}"
17707
17708
17709$as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
17710
17711fi
17712 if test "x${enable_exotic}" = "xyes"; then
17713 EVAS_HAVE_EXOTIC_TRUE=
17714 EVAS_HAVE_EXOTIC_FALSE='#'
17715else
17716 EVAS_HAVE_EXOTIC_TRUE='#'
17717 EVAS_HAVE_EXOTIC_FALSE=
17718fi
17719
17720
17614## strong dependencies 17721## strong dependencies
17615 17722
17616# Eina 17723# Eina
@@ -17619,46 +17726,44 @@ pkg_failed=no
17619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5 17726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
17620$as_echo_n "checking for EINA... " >&6; } 17727$as_echo_n "checking for EINA... " >&6; }
17621 17728
17622if test -n "$PKG_CONFIG"; then 17729if test -n "$EINA_CFLAGS"; then
17623 if test -n "$EINA_CFLAGS"; then 17730 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
17624 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS" 17731 elif test -n "$PKG_CONFIG"; then
17625 else 17732 if test -n "$PKG_CONFIG" && \
17626 if test -n "$PKG_CONFIG" && \ 17733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
17627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 17734 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
17628 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
17629 ac_status=$? 17735 ac_status=$?
17630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17631 test $ac_status = 0; }; then 17737 test $ac_status = 0; }; then
17632 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.1.0" 2>/dev/null` 17738 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
17633else 17739else
17634 pkg_failed=yes 17740 pkg_failed=yes
17635fi 17741fi
17636 fi 17742 else
17637else 17743 pkg_failed=untried
17638 pkg_failed=untried
17639fi 17744fi
17640if test -n "$PKG_CONFIG"; then 17745if test -n "$EINA_LIBS"; then
17641 if test -n "$EINA_LIBS"; then 17746 pkg_cv_EINA_LIBS="$EINA_LIBS"
17642 pkg_cv_EINA_LIBS="$EINA_LIBS" 17747 elif test -n "$PKG_CONFIG"; then
17643 else 17748 if test -n "$PKG_CONFIG" && \
17644 if test -n "$PKG_CONFIG" && \ 17749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
17645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.1.0\""; } >&5 17750 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
17646 ($PKG_CONFIG --exists --print-errors "eina >= 1.1.0") 2>&5
17647 ac_status=$? 17751 ac_status=$?
17648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 17752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17649 test $ac_status = 0; }; then 17753 test $ac_status = 0; }; then
17650 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.1.0" 2>/dev/null` 17754 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
17651else 17755else
17652 pkg_failed=yes 17756 pkg_failed=yes
17653fi 17757fi
17654 fi 17758 else
17655else 17759 pkg_failed=untried
17656 pkg_failed=untried
17657fi 17760fi
17658 17761
17659 17762
17660 17763
17661if test $pkg_failed = yes; then 17764if test $pkg_failed = yes; then
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17766$as_echo "no" >&6; }
17662 17767
17663if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17768if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17664 _pkg_short_errors_supported=yes 17769 _pkg_short_errors_supported=yes
@@ -17666,14 +17771,14 @@ else
17666 _pkg_short_errors_supported=no 17771 _pkg_short_errors_supported=no
17667fi 17772fi
17668 if test $_pkg_short_errors_supported = yes; then 17773 if test $_pkg_short_errors_supported = yes; then
17669 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eina >= 1.1.0"` 17774 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
17670 else 17775 else
17671 EINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eina >= 1.1.0"` 17776 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
17672 fi 17777 fi
17673 # Put the nasty error message in config.log where it belongs 17778 # Put the nasty error message in config.log where it belongs
17674 echo "$EINA_PKG_ERRORS" >&5 17779 echo "$EINA_PKG_ERRORS" >&5
17675 17780
17676 as_fn_error "Package requirements (eina >= 1.1.0) were not met: 17781 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
17677 17782
17678$EINA_PKG_ERRORS 17783$EINA_PKG_ERRORS
17679 17784
@@ -17682,12 +17787,13 @@ installed software in a non-standard prefix.
17682 17787
17683Alternatively, you may set the environment variables EINA_CFLAGS 17788Alternatively, you may set the environment variables EINA_CFLAGS
17684and EINA_LIBS to avoid the need to call pkg-config. 17789and EINA_LIBS to avoid the need to call pkg-config.
17685See the pkg-config man page for more details. 17790See the pkg-config man page for more details." "$LINENO" 5
17686" "$LINENO" 5
17687elif test $pkg_failed = untried; then 17791elif test $pkg_failed = untried; then
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17793$as_echo "no" >&6; }
17688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17689$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17690as_fn_error "The pkg-config script could not be found or is too old. Make sure it 17796as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17691is in your PATH or set the PKG_CONFIG environment variable to the full 17797is in your PATH or set the PKG_CONFIG environment variable to the full
17692path to pkg-config. 17798path to pkg-config.
17693 17799
@@ -17696,13 +17802,13 @@ and EINA_LIBS to avoid the need to call pkg-config.
17696See the pkg-config man page for more details. 17802See the pkg-config man page for more details.
17697 17803
17698To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17804To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17699See \`config.log' for more details." "$LINENO" 5; } 17805See \`config.log' for more details" "$LINENO" 5 ; }
17700else 17806else
17701 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS 17807 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
17702 EINA_LIBS=$pkg_cv_EINA_LIBS 17808 EINA_LIBS=$pkg_cv_EINA_LIBS
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17704$as_echo "yes" >&6; } 17810$as_echo "yes" >&6; }
17705 : 17811
17706fi 17812fi
17707CPPFLAGS_SAVE="$CPPFLAGS" 17813CPPFLAGS_SAVE="$CPPFLAGS"
17708CPPFLAGS="$CPPFLAGS $EINA_CFLAGS" 17814CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
@@ -17722,9 +17828,8 @@ else
17722 if test "$ac_cv_type_Eina_Unicode" = yes; then 17828 if test "$ac_cv_type_Eina_Unicode" = yes; then
17723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17830$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17725{ as_fn_set_status 77 17831as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
17726as_fn_error "cannot compute sizeof (Eina_Unicode) 17832See \`config.log' for more details" "$LINENO" 5 ; }
17727See \`config.log' for more details." "$LINENO" 5; }; }
17728 else 17833 else
17729 ac_cv_sizeof_Eina_Unicode=0 17834 ac_cv_sizeof_Eina_Unicode=0
17730 fi 17835 fi
@@ -17749,11 +17854,10 @@ pkg_failed=no
17749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5 17854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
17750$as_echo_n "checking for FREETYPE... " >&6; } 17855$as_echo_n "checking for FREETYPE... " >&6; }
17751 17856
17752if test -n "$PKG_CONFIG"; then 17857if test -n "$FREETYPE_CFLAGS"; then
17753 if test -n "$FREETYPE_CFLAGS"; then 17858 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
17754 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" 17859 elif test -n "$PKG_CONFIG"; then
17755 else 17860 if test -n "$PKG_CONFIG" && \
17756 if test -n "$PKG_CONFIG" && \
17757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5 17861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17758 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5 17862 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17759 ac_status=$? 17863 ac_status=$?
@@ -17763,15 +17867,13 @@ if test -n "$PKG_CONFIG"; then
17763else 17867else
17764 pkg_failed=yes 17868 pkg_failed=yes
17765fi 17869fi
17766 fi 17870 else
17767else 17871 pkg_failed=untried
17768 pkg_failed=untried
17769fi 17872fi
17770if test -n "$PKG_CONFIG"; then 17873if test -n "$FREETYPE_LIBS"; then
17771 if test -n "$FREETYPE_LIBS"; then 17874 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
17772 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" 17875 elif test -n "$PKG_CONFIG"; then
17773 else 17876 if test -n "$PKG_CONFIG" && \
17774 if test -n "$PKG_CONFIG" && \
17775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5 17877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17776 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5 17878 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17777 ac_status=$? 17879 ac_status=$?
@@ -17781,14 +17883,15 @@ if test -n "$PKG_CONFIG"; then
17781else 17883else
17782 pkg_failed=yes 17884 pkg_failed=yes
17783fi 17885fi
17784 fi 17886 else
17785else 17887 pkg_failed=untried
17786 pkg_failed=untried
17787fi 17888fi
17788 17889
17789 17890
17790 17891
17791if test $pkg_failed = yes; then 17892if test $pkg_failed = yes; then
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17894$as_echo "no" >&6; }
17792 17895
17793if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17896if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17794 _pkg_short_errors_supported=yes 17897 _pkg_short_errors_supported=yes
@@ -17796,14 +17899,14 @@ else
17796 _pkg_short_errors_supported=no 17899 _pkg_short_errors_supported=no
17797fi 17900fi
17798 if test $_pkg_short_errors_supported = yes; then 17901 if test $_pkg_short_errors_supported = yes; then
17799 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 9.3.0"` 17902 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= 9.3.0" 2>&1`
17800 else 17903 else
17801 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 9.3.0"` 17904 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= 9.3.0" 2>&1`
17802 fi 17905 fi
17803 # Put the nasty error message in config.log where it belongs 17906 # Put the nasty error message in config.log where it belongs
17804 echo "$FREETYPE_PKG_ERRORS" >&5 17907 echo "$FREETYPE_PKG_ERRORS" >&5
17805 17908
17806 as_fn_error "Package requirements (freetype2 >= 9.3.0) were not met: 17909 as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
17807 17910
17808$FREETYPE_PKG_ERRORS 17911$FREETYPE_PKG_ERRORS
17809 17912
@@ -17812,12 +17915,13 @@ installed software in a non-standard prefix.
17812 17915
17813Alternatively, you may set the environment variables FREETYPE_CFLAGS 17916Alternatively, you may set the environment variables FREETYPE_CFLAGS
17814and FREETYPE_LIBS to avoid the need to call pkg-config. 17917and FREETYPE_LIBS to avoid the need to call pkg-config.
17815See the pkg-config man page for more details. 17918See the pkg-config man page for more details." "$LINENO" 5
17816" "$LINENO" 5
17817elif test $pkg_failed = untried; then 17919elif test $pkg_failed = untried; then
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17921$as_echo "no" >&6; }
17818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17923$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17820as_fn_error "The pkg-config script could not be found or is too old. Make sure it 17924as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17821is in your PATH or set the PKG_CONFIG environment variable to the full 17925is in your PATH or set the PKG_CONFIG environment variable to the full
17822path to pkg-config. 17926path to pkg-config.
17823 17927
@@ -17826,16 +17930,16 @@ and FREETYPE_LIBS to avoid the need to call pkg-config.
17826See the pkg-config man page for more details. 17930See the pkg-config man page for more details.
17827 17931
17828To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17932To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17829See \`config.log' for more details." "$LINENO" 5; } 17933See \`config.log' for more details" "$LINENO" 5 ; }
17830else 17934else
17831 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS 17935 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
17832 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS 17936 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17834$as_echo "yes" >&6; } 17938$as_echo "yes" >&6; }
17835 : 17939
17836fi 17940fi
17837 17941
17838requirement_evas="freetype2 eina >= 1.1.0 ${requirement_evas}" 17942requirement_evas="freetype2 eina >= 1.2.0 ${requirement_evas}"
17839 17943
17840## optional dependencies 17944## optional dependencies
17841 17945
@@ -17860,11 +17964,10 @@ pkg_failed=no
17860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5 17964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
17861$as_echo_n "checking for FONTCONFIG... " >&6; } 17965$as_echo_n "checking for FONTCONFIG... " >&6; }
17862 17966
17863if test -n "$PKG_CONFIG"; then 17967if test -n "$FONTCONFIG_CFLAGS"; then
17864 if test -n "$FONTCONFIG_CFLAGS"; then 17968 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
17865 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS" 17969 elif test -n "$PKG_CONFIG"; then
17866 else 17970 if test -n "$PKG_CONFIG" && \
17867 if test -n "$PKG_CONFIG" && \
17868 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5 17971 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17869 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5 17972 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17870 ac_status=$? 17973 ac_status=$?
@@ -17874,15 +17977,13 @@ if test -n "$PKG_CONFIG"; then
17874else 17977else
17875 pkg_failed=yes 17978 pkg_failed=yes
17876fi 17979fi
17877 fi 17980 else
17878else 17981 pkg_failed=untried
17879 pkg_failed=untried
17880fi 17982fi
17881if test -n "$PKG_CONFIG"; then 17983if test -n "$FONTCONFIG_LIBS"; then
17882 if test -n "$FONTCONFIG_LIBS"; then 17984 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
17883 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS" 17985 elif test -n "$PKG_CONFIG"; then
17884 else 17986 if test -n "$PKG_CONFIG" && \
17885 if test -n "$PKG_CONFIG" && \
17886 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5 17987 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17887 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5 17988 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17888 ac_status=$? 17989 ac_status=$?
@@ -17892,14 +17993,15 @@ if test -n "$PKG_CONFIG"; then
17892else 17993else
17893 pkg_failed=yes 17994 pkg_failed=yes
17894fi 17995fi
17895 fi 17996 else
17896else 17997 pkg_failed=untried
17897 pkg_failed=untried
17898fi 17998fi
17899 17999
17900 18000
17901 18001
17902if test $pkg_failed = yes; then 18002if test $pkg_failed = yes; then
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18004$as_echo "no" >&6; }
17903 18005
17904if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18006if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17905 _pkg_short_errors_supported=yes 18007 _pkg_short_errors_supported=yes
@@ -17907,24 +18009,24 @@ else
17907 _pkg_short_errors_supported=no 18009 _pkg_short_errors_supported=no
17908fi 18010fi
17909 if test $_pkg_short_errors_supported = yes; then 18011 if test $_pkg_short_errors_supported = yes; then
17910 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fontconfig >= 2.5.0"` 18012 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
17911 else 18013 else
17912 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.5.0"` 18014 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
17913 fi 18015 fi
17914 # Put the nasty error message in config.log where it belongs 18016 # Put the nasty error message in config.log where it belongs
17915 echo "$FONTCONFIG_PKG_ERRORS" >&5 18017 echo "$FONTCONFIG_PKG_ERRORS" >&5
17916 18018
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17918$as_echo "no" >&6; }
17919 18019
17920 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then 18020 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
17921 as_fn_error "Fontconfig not found (strict dependencies checking)" "$LINENO" 5 18021 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
17922 fi 18022 fi
17923 18023
17924elif test $pkg_failed = untried; then 18024elif test $pkg_failed = untried; then
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18026$as_echo "no" >&6; }
17925 18027
17926 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then 18028 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
17927 as_fn_error "Fontconfig not found (strict dependencies checking)" "$LINENO" 5 18029 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
17928 fi 18030 fi
17929 18031
17930else 18032else
@@ -17999,11 +18101,10 @@ pkg_failed=no
17999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5 18101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18000$as_echo_n "checking for FRIBIDI... " >&6; } 18102$as_echo_n "checking for FRIBIDI... " >&6; }
18001 18103
18002if test -n "$PKG_CONFIG"; then 18104if test -n "$FRIBIDI_CFLAGS"; then
18003 if test -n "$FRIBIDI_CFLAGS"; then 18105 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18004 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS" 18106 elif test -n "$PKG_CONFIG"; then
18005 else 18107 if test -n "$PKG_CONFIG" && \
18006 if test -n "$PKG_CONFIG" && \
18007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5 18108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18008 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5 18109 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18009 ac_status=$? 18110 ac_status=$?
@@ -18013,15 +18114,13 @@ if test -n "$PKG_CONFIG"; then
18013else 18114else
18014 pkg_failed=yes 18115 pkg_failed=yes
18015fi 18116fi
18016 fi 18117 else
18017else 18118 pkg_failed=untried
18018 pkg_failed=untried
18019fi 18119fi
18020if test -n "$PKG_CONFIG"; then 18120if test -n "$FRIBIDI_LIBS"; then
18021 if test -n "$FRIBIDI_LIBS"; then 18121 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18022 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS" 18122 elif test -n "$PKG_CONFIG"; then
18023 else 18123 if test -n "$PKG_CONFIG" && \
18024 if test -n "$PKG_CONFIG" && \
18025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5 18124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18026 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5 18125 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18027 ac_status=$? 18126 ac_status=$?
@@ -18031,14 +18130,15 @@ if test -n "$PKG_CONFIG"; then
18031else 18130else
18032 pkg_failed=yes 18131 pkg_failed=yes
18033fi 18132fi
18034 fi 18133 else
18035else 18134 pkg_failed=untried
18036 pkg_failed=untried
18037fi 18135fi
18038 18136
18039 18137
18040 18138
18041if test $pkg_failed = yes; then 18139if test $pkg_failed = yes; then
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18141$as_echo "no" >&6; }
18042 18142
18043if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18143if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18044 _pkg_short_errors_supported=yes 18144 _pkg_short_errors_supported=yes
@@ -18046,24 +18146,24 @@ else
18046 _pkg_short_errors_supported=no 18146 _pkg_short_errors_supported=no
18047fi 18147fi
18048 if test $_pkg_short_errors_supported = yes; then 18148 if test $_pkg_short_errors_supported = yes; then
18049 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fribidi >= 0.19.2"` 18149 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi >= 0.19.2" 2>&1`
18050 else 18150 else
18051 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fribidi >= 0.19.2"` 18151 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi >= 0.19.2" 2>&1`
18052 fi 18152 fi
18053 # Put the nasty error message in config.log where it belongs 18153 # Put the nasty error message in config.log where it belongs
18054 echo "$FRIBIDI_PKG_ERRORS" >&5 18154 echo "$FRIBIDI_PKG_ERRORS" >&5
18055 18155
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18057$as_echo "no" >&6; }
18058 18156
18059 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then 18157 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18060 as_fn_error "Fribidi not found (strict dependencies checking)" "$LINENO" 5 18158 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18061 fi 18159 fi
18062 18160
18063elif test $pkg_failed = untried; then 18161elif test $pkg_failed = untried; then
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18163$as_echo "no" >&6; }
18064 18164
18065 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then 18165 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18066 as_fn_error "Fribidi not found (strict dependencies checking)" "$LINENO" 5 18166 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18067 fi 18167 fi
18068 18168
18069else 18169else
@@ -18095,9 +18195,8 @@ else
18095 if test "$ac_cv_type_FriBidiChar" = yes; then 18195 if test "$ac_cv_type_FriBidiChar" = yes; then
18096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18098{ as_fn_set_status 77 18198as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18099as_fn_error "cannot compute sizeof (FriBidiChar) 18199See \`config.log' for more details" "$LINENO" 5 ; }
18100See \`config.log' for more details." "$LINENO" 5; }; }
18101 else 18200 else
18102 ac_cv_sizeof_FriBidiChar=0 18201 ac_cv_sizeof_FriBidiChar=0
18103 fi 18202 fi
@@ -18144,11 +18243,10 @@ pkg_failed=no
18144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5 18243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18145$as_echo_n "checking for HARFBUZZ... " >&6; } 18244$as_echo_n "checking for HARFBUZZ... " >&6; }
18146 18245
18147if test -n "$PKG_CONFIG"; then 18246if test -n "$HARFBUZZ_CFLAGS"; then
18148 if test -n "$HARFBUZZ_CFLAGS"; then 18247 pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18149 pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS" 18248 elif test -n "$PKG_CONFIG"; then
18150 else 18249 if test -n "$PKG_CONFIG" && \
18151 if test -n "$PKG_CONFIG" && \
18152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.6.0\""; } >&5 18250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.6.0\""; } >&5
18153 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.6.0") 2>&5 18251 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.6.0") 2>&5
18154 ac_status=$? 18252 ac_status=$?
@@ -18158,15 +18256,13 @@ if test -n "$PKG_CONFIG"; then
18158else 18256else
18159 pkg_failed=yes 18257 pkg_failed=yes
18160fi 18258fi
18161 fi 18259 else
18162else 18260 pkg_failed=untried
18163 pkg_failed=untried
18164fi 18261fi
18165if test -n "$PKG_CONFIG"; then 18262if test -n "$HARFBUZZ_LIBS"; then
18166 if test -n "$HARFBUZZ_LIBS"; then 18263 pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18167 pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS" 18264 elif test -n "$PKG_CONFIG"; then
18168 else 18265 if test -n "$PKG_CONFIG" && \
18169 if test -n "$PKG_CONFIG" && \
18170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.6.0\""; } >&5 18266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.6.0\""; } >&5
18171 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.6.0") 2>&5 18267 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.6.0") 2>&5
18172 ac_status=$? 18268 ac_status=$?
@@ -18176,14 +18272,15 @@ if test -n "$PKG_CONFIG"; then
18176else 18272else
18177 pkg_failed=yes 18273 pkg_failed=yes
18178fi 18274fi
18179 fi 18275 else
18180else 18276 pkg_failed=untried
18181 pkg_failed=untried
18182fi 18277fi
18183 18278
18184 18279
18185 18280
18186if test $pkg_failed = yes; then 18281if test $pkg_failed = yes; then
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18283$as_echo "no" >&6; }
18187 18284
18188if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18285if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18189 _pkg_short_errors_supported=yes 18286 _pkg_short_errors_supported=yes
@@ -18191,24 +18288,24 @@ else
18191 _pkg_short_errors_supported=no 18288 _pkg_short_errors_supported=no
18192fi 18289fi
18193 if test $_pkg_short_errors_supported = yes; then 18290 if test $_pkg_short_errors_supported = yes; then
18194 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "harfbuzz >= 0.6.0"` 18291 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "harfbuzz >= 0.6.0" 2>&1`
18195 else 18292 else
18196 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "harfbuzz >= 0.6.0"` 18293 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "harfbuzz >= 0.6.0" 2>&1`
18197 fi 18294 fi
18198 # Put the nasty error message in config.log where it belongs 18295 # Put the nasty error message in config.log where it belongs
18199 echo "$HARFBUZZ_PKG_ERRORS" >&5 18296 echo "$HARFBUZZ_PKG_ERRORS" >&5
18200 18297
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18202$as_echo "no" >&6; }
18203 18298
18204 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then 18299 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18205 as_fn_error "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5 18300 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18206 fi 18301 fi
18207 18302
18208elif test $pkg_failed = untried; then 18303elif test $pkg_failed = untried; then
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18305$as_echo "no" >&6; }
18209 18306
18210 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then 18307 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18211 as_fn_error "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5 18308 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18212 fi 18309 fi
18213 18310
18214else 18311else
@@ -18239,7 +18336,7 @@ $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
18239else 18336else
18240 18337
18241 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then 18338 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18242 as_fn_error "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5 18339 as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
18243 fi 18340 fi
18244 have_harfbuzz="no" 18341 have_harfbuzz="no"
18245 18342
@@ -18275,11 +18372,10 @@ pkg_failed=no
18275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5 18372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
18276$as_echo_n "checking for PIXMAN... " >&6; } 18373$as_echo_n "checking for PIXMAN... " >&6; }
18277 18374
18278if test -n "$PKG_CONFIG"; then 18375if test -n "$PIXMAN_CFLAGS"; then
18279 if test -n "$PIXMAN_CFLAGS"; then 18376 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
18280 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS" 18377 elif test -n "$PKG_CONFIG"; then
18281 else 18378 if test -n "$PKG_CONFIG" && \
18282 if test -n "$PKG_CONFIG" && \
18283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 18379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18284 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 18380 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18285 ac_status=$? 18381 ac_status=$?
@@ -18289,15 +18385,13 @@ if test -n "$PKG_CONFIG"; then
18289else 18385else
18290 pkg_failed=yes 18386 pkg_failed=yes
18291fi 18387fi
18292 fi 18388 else
18293else 18389 pkg_failed=untried
18294 pkg_failed=untried
18295fi 18390fi
18296if test -n "$PKG_CONFIG"; then 18391if test -n "$PIXMAN_LIBS"; then
18297 if test -n "$PIXMAN_LIBS"; then 18392 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
18298 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS" 18393 elif test -n "$PKG_CONFIG"; then
18299 else 18394 if test -n "$PKG_CONFIG" && \
18300 if test -n "$PKG_CONFIG" && \
18301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 18395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18302 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 18396 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18303 ac_status=$? 18397 ac_status=$?
@@ -18307,14 +18401,15 @@ if test -n "$PKG_CONFIG"; then
18307else 18401else
18308 pkg_failed=yes 18402 pkg_failed=yes
18309fi 18403fi
18310 fi 18404 else
18311else 18405 pkg_failed=untried
18312 pkg_failed=untried
18313fi 18406fi
18314 18407
18315 18408
18316 18409
18317if test $pkg_failed = yes; then 18410if test $pkg_failed = yes; then
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18412$as_echo "no" >&6; }
18318 18413
18319if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18414if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18320 _pkg_short_errors_supported=yes 18415 _pkg_short_errors_supported=yes
@@ -18322,24 +18417,24 @@ else
18322 _pkg_short_errors_supported=no 18417 _pkg_short_errors_supported=no
18323fi 18418fi
18324 if test $_pkg_short_errors_supported = yes; then 18419 if test $_pkg_short_errors_supported = yes; then
18325 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pixman-1"` 18420 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
18326 else 18421 else
18327 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pixman-1"` 18422 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
18328 fi 18423 fi
18329 # Put the nasty error message in config.log where it belongs 18424 # Put the nasty error message in config.log where it belongs
18330 echo "$PIXMAN_PKG_ERRORS" >&5 18425 echo "$PIXMAN_PKG_ERRORS" >&5
18331 18426
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18333$as_echo "no" >&6; }
18334 18427
18335 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then 18428 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18336 as_fn_error "Pixman not found (strict dependencies checking)" "$LINENO" 5 18429 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18337 fi 18430 fi
18338 18431
18339elif test $pkg_failed = untried; then 18432elif test $pkg_failed = untried; then
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18434$as_echo "no" >&6; }
18340 18435
18341 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then 18436 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18342 as_fn_error "Pixman not found (strict dependencies checking)" "$LINENO" 5 18437 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18343 fi 18438 fi
18344 18439
18345else 18440else
@@ -18565,8 +18660,7 @@ for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
18565do : 18660do :
18566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18567ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 18662ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18568eval as_val=\$$as_ac_Header 18663if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18569 if test "x$as_val" = x""yes; then :
18570 cat >>confdefs.h <<_ACEOF 18664 cat >>confdefs.h <<_ACEOF
18571#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18665#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18572_ACEOF 18666_ACEOF
@@ -18945,8 +19039,8 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18945 19039
18946 ;; #( 19040 ;; #(
18947 *) 19041 *)
18948 as_fn_error "unknown endianness 19042 as_fn_error $? "unknown endianness
18949 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 19043 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18950 esac 19044 esac
18951 19045
18952 case $ac_cv_prog_cc_stdc in #( 19046 case $ac_cv_prog_cc_stdc in #(
@@ -19325,7 +19419,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325/* end confdefs.h. */ 19419/* end confdefs.h. */
19326 19420
19327#include <windows.h> 19421#include <windows.h>
19328__forceinline void foo(void) {} 19422static __forceinline void foo(void) {}
19329 19423
19330int 19424int
19331main () 19425main ()
@@ -19355,7 +19449,7 @@ $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356/* end confdefs.h. */ 19450/* end confdefs.h. */
19357 19451
19358__attribute__((__always_inline__)) inline void foo(void) {} 19452static __attribute__((__always_inline__)) inline void foo(void) {}
19359 19453
19360int 19454int
19361main () 19455main ()
@@ -19393,20 +19487,6 @@ $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
19393fi 19487fi
19394 19488
19395 19489
19396WIN32_CPPFLAGS=""
19397case "$host_os" in
19398 mingw32ce*)
19399 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
19400 ;;
19401 mingw*)
19402 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0500"
19403 ;;
19404esac
19405
19406
19407WIN32_CFLAGS=""
19408
19409
19410 19490
19411### Checks for linker characteristics 19491### Checks for linker characteristics
19412lt_enable_auto_import="" 19492lt_enable_auto_import=""
@@ -19619,8 +19699,7 @@ if test $ac_cv_os_cray = yes; then
19619 for ac_func in _getb67 GETB67 getb67; do 19699 for ac_func in _getb67 GETB67 getb67; do
19620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19621ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19701ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19622eval as_val=\$$as_ac_var 19702if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19623 if test "x$as_val" = x""yes; then :
19624 19703
19625cat >>confdefs.h <<_ACEOF 19704cat >>confdefs.h <<_ACEOF
19626#define CRAY_STACKSEG_END $ac_func 19705#define CRAY_STACKSEG_END $ac_func
@@ -19720,7 +19799,7 @@ return fnmatch ();
19720 return 0; 19799 return 0;
19721} 19800}
19722_ACEOF 19801_ACEOF
19723for ac_lib in '' fnmatch evil iberty; do 19802for ac_lib in '' fnmatch evil exotic iberty; do
19724 if test -z "$ac_lib"; then 19803 if test -z "$ac_lib"; then
19725 ac_res="none required" 19804 ac_res="none required"
19726 else 19805 else
@@ -19767,7 +19846,7 @@ fi
19767if test "x$_efl_have_fnmatch" = "xyes"; then : 19846if test "x$_efl_have_fnmatch" = "xyes"; then :
19768 19847
19769else 19848else
19770 as_fn_error "Cannot find fnmatch()" "$LINENO" 5 19849 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
19771fi 19850fi
19772 19851
19773 19852
@@ -20114,7 +20193,7 @@ if test "x$gl_flavor_gles" = "xyes"; then
20114 if test "x$eng" = "xx"; then 20193 if test "x$eng" = "xx"; then
20115 eng="" 20194 eng=""
20116 else 20195 else
20117 as_fn_error "Please enable just 1 OpenGL-ES flavor. Choices are: 20196 as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
20118 --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler) 20197 --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
20119 --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler) 20198 --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
20120 You will also need to enable the OpenGL engine for X11 with: 20199 You will also need to enable the OpenGL engine for X11 with:
@@ -20175,7 +20254,7 @@ fi
20175fi 20254fi
20176 20255
20177if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 20256if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20178 as_fn_error "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5 20257 as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
20179fi 20258fi
20180 20259
20181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5 20260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
@@ -20288,7 +20367,7 @@ fi
20288fi 20367fi
20289 20368
20290if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 20369if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20291 as_fn_error "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5 20370 as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
20292fi 20371fi
20293 20372
20294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5 20373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
@@ -20401,7 +20480,7 @@ fi
20401fi 20480fi
20402 20481
20403if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 20482if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20404 as_fn_error "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5 20483 as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
20405fi 20484fi
20406 20485
20407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5 20486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
@@ -20493,8 +20572,7 @@ for ac_header in d3d9.h d3dx9.h
20493do : 20572do :
20494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20495ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 20574ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20496eval as_val=\$$as_ac_Header 20575if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20497 if test "x$as_val" = x""yes; then :
20498 cat >>confdefs.h <<_ACEOF 20576 cat >>confdefs.h <<_ACEOF
20499#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20577#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20500_ACEOF 20578_ACEOF
@@ -20523,7 +20601,7 @@ fi
20523fi 20601fi
20524 20602
20525if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 20603if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20526 as_fn_error "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5 20604 as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
20527fi 20605fi
20528 20606
20529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5 20607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
@@ -20579,210 +20657,6 @@ fi
20579 20657
20580 20658
20581 20659
20582want_engine="${want_evas_engine_software_sdl}"
20583want_static_engine="no"
20584have_engine="no"
20585have_evas_engine_software_sdl="no"
20586
20587# Check whether --enable-software-sdl was given.
20588if test "${enable_software_sdl+set}" = set; then :
20589 enableval=$enable_software_sdl;
20590 if test "x${enableval}" = "xyes" ; then
20591 want_engine="yes"
20592 else
20593 if test "x${enableval}" = "xstatic" ; then
20594 want_engine="static"
20595 else
20596 want_engine="no"
20597 fi
20598 fi
20599
20600fi
20601
20602
20603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL rendering backend" >&5
20604$as_echo_n "checking whether to enable Software SDL rendering backend... " >&6; }
20605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20606$as_echo "${want_engine}" >&6; }
20607
20608if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20609
20610
20611requirement=""
20612have_dep="no"
20613evas_engine_software_sdl_cflags=""
20614evas_engine_software_sdl_libs=""
20615
20616
20617pkg_failed=no
20618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20619$as_echo_n "checking for SDL... " >&6; }
20620
20621if test -n "$PKG_CONFIG"; then
20622 if test -n "$SDL_CFLAGS"; then
20623 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20624 else
20625 if test -n "$PKG_CONFIG" && \
20626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20627 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20628 ac_status=$?
20629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20630 test $ac_status = 0; }; then
20631 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20632else
20633 pkg_failed=yes
20634fi
20635 fi
20636else
20637 pkg_failed=untried
20638fi
20639if test -n "$PKG_CONFIG"; then
20640 if test -n "$SDL_LIBS"; then
20641 pkg_cv_SDL_LIBS="$SDL_LIBS"
20642 else
20643 if test -n "$PKG_CONFIG" && \
20644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20645 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20646 ac_status=$?
20647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20648 test $ac_status = 0; }; then
20649 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20650else
20651 pkg_failed=yes
20652fi
20653 fi
20654else
20655 pkg_failed=untried
20656fi
20657
20658
20659
20660if test $pkg_failed = yes; then
20661
20662if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20663 _pkg_short_errors_supported=yes
20664else
20665 _pkg_short_errors_supported=no
20666fi
20667 if test $_pkg_short_errors_supported = yes; then
20668 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"`
20669 else
20670 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"`
20671 fi
20672 # Put the nasty error message in config.log where it belongs
20673 echo "$SDL_PKG_ERRORS" >&5
20674
20675 as_fn_error "Package requirements (sdl >= 1.2.0) were not met:
20676
20677$SDL_PKG_ERRORS
20678
20679Consider adjusting the PKG_CONFIG_PATH environment variable if you
20680installed software in a non-standard prefix.
20681
20682Alternatively, you may set the environment variables SDL_CFLAGS
20683and SDL_LIBS to avoid the need to call pkg-config.
20684See the pkg-config man page for more details.
20685" "$LINENO" 5
20686elif test $pkg_failed = untried; then
20687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20689as_fn_error "The pkg-config script could not be found or is too old. Make sure it
20690is in your PATH or set the PKG_CONFIG environment variable to the full
20691path to pkg-config.
20692
20693Alternatively, you may set the environment variables SDL_CFLAGS
20694and SDL_LIBS to avoid the need to call pkg-config.
20695See the pkg-config man page for more details.
20696
20697To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20698See \`config.log' for more details." "$LINENO" 5; }
20699else
20700 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
20701 SDL_LIBS=$pkg_cv_SDL_LIBS
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20703$as_echo "yes" >&6; }
20704
20705 have_dep="yes"
20706 requirement="sdl"
20707 evas_engine_software_sdl_cflags="${SDL_CFLAGS}"
20708 evas_engine_software_sdl_libs="${SDL_LIBS}"
20709
20710
20711fi
20712
20713
20714
20715
20716if test "x${want_engine}" = "xstatic" ; then
20717 requirement_evas="${requirement} ${requirement_evas}"
20718fi
20719
20720if test "x${have_dep}" = "xyes" ; then
20721 have_engine="yes"
20722else
20723 have_engine="no"
20724fi
20725
20726
20727fi
20728
20729if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20730 as_fn_error "Software SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
20731fi
20732
20733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL rendering backend will be built" >&5
20734$as_echo_n "checking whether Software SDL rendering backend will be built... " >&6; }
20735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20736$as_echo "${have_engine}" >&6; }
20737
20738if test "x${have_engine}" = "xyes" ; then
20739 if test "x${want_engine}" = "xstatic" ; then
20740 have_evas_engine_software_sdl="static"
20741 want_static_engine="yes"
20742 else
20743 have_evas_engine_software_sdl="yes"
20744 fi
20745fi
20746
20747if test "x${have_engine}" = "xyes" ; then
20748
20749$as_echo "#define BUILD_ENGINE_SOFTWARE_SDL 1" >>confdefs.h
20750
20751fi
20752
20753 if test "x${have_engine}" = "xyes"; then
20754 BUILD_ENGINE_SOFTWARE_SDL_TRUE=
20755 BUILD_ENGINE_SOFTWARE_SDL_FALSE='#'
20756else
20757 BUILD_ENGINE_SOFTWARE_SDL_TRUE='#'
20758 BUILD_ENGINE_SOFTWARE_SDL_FALSE=
20759fi
20760
20761
20762if test "x${want_static_engine}" = "xyes" ; then
20763
20764$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_SDL 1" >>confdefs.h
20765
20766 have_static_module="yes"
20767fi
20768
20769 if test "x${want_static_engine}" = "xyes"; then
20770 EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE=
20771 EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE='#'
20772else
20773 EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE='#'
20774 EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE=
20775fi
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786want_engine="${want_evas_engine_psl1ght}" 20660want_engine="${want_evas_engine_psl1ght}"
20787want_static_engine="no" 20661want_static_engine="no"
20788have_engine="no" 20662have_engine="no"
@@ -20836,7 +20710,7 @@ fi
20836fi 20710fi
20837 20711
20838if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 20712if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20839 as_fn_error "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5 20713 as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
20840fi 20714fi
20841 20715
20842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5 20716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
@@ -20931,11 +20805,10 @@ pkg_failed=no
20931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 20805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20932$as_echo_n "checking for SDL... " >&6; } 20806$as_echo_n "checking for SDL... " >&6; }
20933 20807
20934if test -n "$PKG_CONFIG"; then 20808if test -n "$SDL_CFLAGS"; then
20935 if test -n "$SDL_CFLAGS"; then 20809 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20936 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" 20810 elif test -n "$PKG_CONFIG"; then
20937 else 20811 if test -n "$PKG_CONFIG" && \
20938 if test -n "$PKG_CONFIG" && \
20939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5 20812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20940 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5 20813 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20941 ac_status=$? 20814 ac_status=$?
@@ -20945,15 +20818,13 @@ if test -n "$PKG_CONFIG"; then
20945else 20818else
20946 pkg_failed=yes 20819 pkg_failed=yes
20947fi 20820fi
20948 fi 20821 else
20949else 20822 pkg_failed=untried
20950 pkg_failed=untried
20951fi 20823fi
20952if test -n "$PKG_CONFIG"; then 20824if test -n "$SDL_LIBS"; then
20953 if test -n "$SDL_LIBS"; then 20825 pkg_cv_SDL_LIBS="$SDL_LIBS"
20954 pkg_cv_SDL_LIBS="$SDL_LIBS" 20826 elif test -n "$PKG_CONFIG"; then
20955 else 20827 if test -n "$PKG_CONFIG" && \
20956 if test -n "$PKG_CONFIG" && \
20957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5 20828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20958 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5 20829 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20959 ac_status=$? 20830 ac_status=$?
@@ -20963,14 +20834,15 @@ if test -n "$PKG_CONFIG"; then
20963else 20834else
20964 pkg_failed=yes 20835 pkg_failed=yes
20965fi 20836fi
20966 fi 20837 else
20967else 20838 pkg_failed=untried
20968 pkg_failed=untried
20969fi 20839fi
20970 20840
20971 20841
20972 20842
20973if test $pkg_failed = yes; then 20843if test $pkg_failed = yes; then
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20845$as_echo "no" >&6; }
20974 20846
20975if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20847if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20976 _pkg_short_errors_supported=yes 20848 _pkg_short_errors_supported=yes
@@ -20978,14 +20850,14 @@ else
20978 _pkg_short_errors_supported=no 20850 _pkg_short_errors_supported=no
20979fi 20851fi
20980 if test $_pkg_short_errors_supported = yes; then 20852 if test $_pkg_short_errors_supported = yes; then
20981 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"` 20853 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
20982 else 20854 else
20983 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"` 20855 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
20984 fi 20856 fi
20985 # Put the nasty error message in config.log where it belongs 20857 # Put the nasty error message in config.log where it belongs
20986 echo "$SDL_PKG_ERRORS" >&5 20858 echo "$SDL_PKG_ERRORS" >&5
20987 20859
20988 as_fn_error "Package requirements (sdl >= 1.2.0) were not met: 20860 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
20989 20861
20990$SDL_PKG_ERRORS 20862$SDL_PKG_ERRORS
20991 20863
@@ -20994,12 +20866,13 @@ installed software in a non-standard prefix.
20994 20866
20995Alternatively, you may set the environment variables SDL_CFLAGS 20867Alternatively, you may set the environment variables SDL_CFLAGS
20996and SDL_LIBS to avoid the need to call pkg-config. 20868and SDL_LIBS to avoid the need to call pkg-config.
20997See the pkg-config man page for more details. 20869See the pkg-config man page for more details." "$LINENO" 5
20998" "$LINENO" 5
20999elif test $pkg_failed = untried; then 20870elif test $pkg_failed = untried; then
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20872$as_echo "no" >&6; }
21000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21002as_fn_error "The pkg-config script could not be found or is too old. Make sure it 20875as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21003is in your PATH or set the PKG_CONFIG environment variable to the full 20876is in your PATH or set the PKG_CONFIG environment variable to the full
21004path to pkg-config. 20877path to pkg-config.
21005 20878
@@ -21008,7 +20881,7 @@ and SDL_LIBS to avoid the need to call pkg-config.
21008See the pkg-config man page for more details. 20881See the pkg-config man page for more details.
21009 20882
21010To get pkg-config, see <http://pkg-config.freedesktop.org/>. 20883To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21011See \`config.log' for more details." "$LINENO" 5; } 20884See \`config.log' for more details" "$LINENO" 5 ; }
21012else 20885else
21013 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS 20886 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21014 SDL_LIBS=$pkg_cv_SDL_LIBS 20887 SDL_LIBS=$pkg_cv_SDL_LIBS
@@ -21143,7 +21016,6 @@ fi
21143 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib" 21016 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21144 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 21017 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21145 have_dep="yes" 21018 have_dep="yes"
21146 gl_flavor_gles="no"
21147 21019
21148$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h 21020$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21149 21021
@@ -21169,7 +21041,7 @@ fi
21169fi 21041fi
21170 21042
21171if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21043if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21172 as_fn_error "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5 21044 as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21173fi 21045fi
21174 21046
21175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5 21047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
@@ -21313,46 +21185,44 @@ pkg_failed=no
21313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5 21185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
21314$as_echo_n "checking for GL_EET... " >&6; } 21186$as_echo_n "checking for GL_EET... " >&6; }
21315 21187
21316if test -n "$PKG_CONFIG"; then 21188if test -n "$GL_EET_CFLAGS"; then
21317 if test -n "$GL_EET_CFLAGS"; then 21189 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
21318 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS" 21190 elif test -n "$PKG_CONFIG"; then
21319 else 21191 if test -n "$PKG_CONFIG" && \
21320 if test -n "$PKG_CONFIG" && \ 21192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
21321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 21193 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
21322 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
21323 ac_status=$? 21194 ac_status=$?
21324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21325 test $ac_status = 0; }; then 21196 test $ac_status = 0; }; then
21326 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 21197 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
21327else 21198else
21328 pkg_failed=yes 21199 pkg_failed=yes
21329fi 21200fi
21330 fi 21201 else
21331else 21202 pkg_failed=untried
21332 pkg_failed=untried
21333fi 21203fi
21334if test -n "$PKG_CONFIG"; then 21204if test -n "$GL_EET_LIBS"; then
21335 if test -n "$GL_EET_LIBS"; then 21205 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
21336 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS" 21206 elif test -n "$PKG_CONFIG"; then
21337 else 21207 if test -n "$PKG_CONFIG" && \
21338 if test -n "$PKG_CONFIG" && \ 21208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
21339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 21209 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
21340 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
21341 ac_status=$? 21210 ac_status=$?
21342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21343 test $ac_status = 0; }; then 21212 test $ac_status = 0; }; then
21344 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 21213 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
21345else 21214else
21346 pkg_failed=yes 21215 pkg_failed=yes
21347fi 21216fi
21348 fi 21217 else
21349else 21218 pkg_failed=untried
21350 pkg_failed=untried
21351fi 21219fi
21352 21220
21353 21221
21354 21222
21355if test $pkg_failed = yes; then 21223if test $pkg_failed = yes; then
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21225$as_echo "no" >&6; }
21356 21226
21357if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21227if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21358 _pkg_short_errors_supported=yes 21228 _pkg_short_errors_supported=yes
@@ -21360,17 +21230,17 @@ else
21360 _pkg_short_errors_supported=no 21230 _pkg_short_errors_supported=no
21361fi 21231fi
21362 if test $_pkg_short_errors_supported = yes; then 21232 if test $_pkg_short_errors_supported = yes; then
21363 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 21233 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
21364 else 21234 else
21365 GL_EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 21235 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
21366 fi 21236 fi
21367 # Put the nasty error message in config.log where it belongs 21237 # Put the nasty error message in config.log where it belongs
21368 echo "$GL_EET_PKG_ERRORS" >&5 21238 echo "$GL_EET_PKG_ERRORS" >&5
21369 21239
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21240 have_dep="no"
21371$as_echo "no" >&6; }
21372 have_dep="no"
21373elif test $pkg_failed = untried; then 21241elif test $pkg_failed = untried; then
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21243$as_echo "no" >&6; }
21374 have_dep="no" 21244 have_dep="no"
21375else 21245else
21376 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS 21246 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
@@ -21394,7 +21264,7 @@ fi
21394fi 21264fi
21395 21265
21396if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21266if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21397 as_fn_error "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5 21267 as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
21398fi 21268fi
21399 21269
21400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5 21270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
@@ -21503,7 +21373,7 @@ fi
21503fi 21373fi
21504 21374
21505if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21375if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21506 as_fn_error "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5 21376 as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21507fi 21377fi
21508 21378
21509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5 21379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
@@ -21598,11 +21468,10 @@ pkg_failed=no
21598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 21468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
21599$as_echo_n "checking for DIRECTFB... " >&6; } 21469$as_echo_n "checking for DIRECTFB... " >&6; }
21600 21470
21601if test -n "$PKG_CONFIG"; then 21471if test -n "$DIRECTFB_CFLAGS"; then
21602 if test -n "$DIRECTFB_CFLAGS"; then 21472 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
21603 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS" 21473 elif test -n "$PKG_CONFIG"; then
21604 else 21474 if test -n "$PKG_CONFIG" && \
21605 if test -n "$PKG_CONFIG" && \
21606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5 21475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21607 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5 21476 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21608 ac_status=$? 21477 ac_status=$?
@@ -21612,15 +21481,13 @@ if test -n "$PKG_CONFIG"; then
21612else 21481else
21613 pkg_failed=yes 21482 pkg_failed=yes
21614fi 21483fi
21615 fi 21484 else
21616else 21485 pkg_failed=untried
21617 pkg_failed=untried
21618fi 21486fi
21619if test -n "$PKG_CONFIG"; then 21487if test -n "$DIRECTFB_LIBS"; then
21620 if test -n "$DIRECTFB_LIBS"; then 21488 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
21621 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS" 21489 elif test -n "$PKG_CONFIG"; then
21622 else 21490 if test -n "$PKG_CONFIG" && \
21623 if test -n "$PKG_CONFIG" && \
21624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5 21491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21625 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5 21492 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21626 ac_status=$? 21493 ac_status=$?
@@ -21630,14 +21497,15 @@ if test -n "$PKG_CONFIG"; then
21630else 21497else
21631 pkg_failed=yes 21498 pkg_failed=yes
21632fi 21499fi
21633 fi 21500 else
21634else 21501 pkg_failed=untried
21635 pkg_failed=untried
21636fi 21502fi
21637 21503
21638 21504
21639 21505
21640if test $pkg_failed = yes; then 21506if test $pkg_failed = yes; then
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21508$as_echo "no" >&6; }
21641 21509
21642if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21510if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21643 _pkg_short_errors_supported=yes 21511 _pkg_short_errors_supported=yes
@@ -21645,14 +21513,14 @@ else
21645 _pkg_short_errors_supported=no 21513 _pkg_short_errors_supported=no
21646fi 21514fi
21647 if test $_pkg_short_errors_supported = yes; then 21515 if test $_pkg_short_errors_supported = yes; then
21648 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.16"` 21516 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
21649 else 21517 else
21650 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.16"` 21518 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
21651 fi 21519 fi
21652 # Put the nasty error message in config.log where it belongs 21520 # Put the nasty error message in config.log where it belongs
21653 echo "$DIRECTFB_PKG_ERRORS" >&5 21521 echo "$DIRECTFB_PKG_ERRORS" >&5
21654 21522
21655 as_fn_error "Package requirements (directfb >= 0.9.16) were not met: 21523 as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
21656 21524
21657$DIRECTFB_PKG_ERRORS 21525$DIRECTFB_PKG_ERRORS
21658 21526
@@ -21661,12 +21529,13 @@ installed software in a non-standard prefix.
21661 21529
21662Alternatively, you may set the environment variables DIRECTFB_CFLAGS 21530Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21663and DIRECTFB_LIBS to avoid the need to call pkg-config. 21531and DIRECTFB_LIBS to avoid the need to call pkg-config.
21664See the pkg-config man page for more details. 21532See the pkg-config man page for more details." "$LINENO" 5
21665" "$LINENO" 5
21666elif test $pkg_failed = untried; then 21533elif test $pkg_failed = untried; then
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21535$as_echo "no" >&6; }
21667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21669as_fn_error "The pkg-config script could not be found or is too old. Make sure it 21538as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21670is in your PATH or set the PKG_CONFIG environment variable to the full 21539is in your PATH or set the PKG_CONFIG environment variable to the full
21671path to pkg-config. 21540path to pkg-config.
21672 21541
@@ -21675,7 +21544,7 @@ and DIRECTFB_LIBS to avoid the need to call pkg-config.
21675See the pkg-config man page for more details. 21544See the pkg-config man page for more details.
21676 21545
21677To get pkg-config, see <http://pkg-config.freedesktop.org/>. 21546To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21678See \`config.log' for more details." "$LINENO" 5; } 21547See \`config.log' for more details" "$LINENO" 5 ; }
21679else 21548else
21680 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS 21549 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
21681 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS 21550 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
@@ -21707,7 +21576,7 @@ fi
21707fi 21576fi
21708 21577
21709if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21578if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21710 as_fn_error "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5 21579 as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
21711fi 21580fi
21712 21581
21713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5 21582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
@@ -21801,11 +21670,10 @@ pkg_failed=no
21801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5 21670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
21802$as_echo_n "checking for XCB... " >&6; } 21671$as_echo_n "checking for XCB... " >&6; }
21803 21672
21804if test -n "$PKG_CONFIG"; then 21673if test -n "$XCB_CFLAGS"; then
21805 if test -n "$XCB_CFLAGS"; then 21674 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
21806 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS" 21675 elif test -n "$PKG_CONFIG"; then
21807 else 21676 if test -n "$PKG_CONFIG" && \
21808 if test -n "$PKG_CONFIG" && \
21809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5 21677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21810 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5 21678 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21811 ac_status=$? 21679 ac_status=$?
@@ -21815,15 +21683,13 @@ if test -n "$PKG_CONFIG"; then
21815else 21683else
21816 pkg_failed=yes 21684 pkg_failed=yes
21817fi 21685fi
21818 fi 21686 else
21819else 21687 pkg_failed=untried
21820 pkg_failed=untried
21821fi 21688fi
21822if test -n "$PKG_CONFIG"; then 21689if test -n "$XCB_LIBS"; then
21823 if test -n "$XCB_LIBS"; then 21690 pkg_cv_XCB_LIBS="$XCB_LIBS"
21824 pkg_cv_XCB_LIBS="$XCB_LIBS" 21691 elif test -n "$PKG_CONFIG"; then
21825 else 21692 if test -n "$PKG_CONFIG" && \
21826 if test -n "$PKG_CONFIG" && \
21827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5 21693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21828 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5 21694 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21829 ac_status=$? 21695 ac_status=$?
@@ -21833,14 +21699,15 @@ if test -n "$PKG_CONFIG"; then
21833else 21699else
21834 pkg_failed=yes 21700 pkg_failed=yes
21835fi 21701fi
21836 fi 21702 else
21837else 21703 pkg_failed=untried
21838 pkg_failed=untried
21839fi 21704fi
21840 21705
21841 21706
21842 21707
21843if test $pkg_failed = yes; then 21708if test $pkg_failed = yes; then
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21710$as_echo "no" >&6; }
21844 21711
21845if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21712if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21846 _pkg_short_errors_supported=yes 21713 _pkg_short_errors_supported=yes
@@ -21848,20 +21715,20 @@ else
21848 _pkg_short_errors_supported=no 21715 _pkg_short_errors_supported=no
21849fi 21716fi
21850 if test $_pkg_short_errors_supported = yes; then 21717 if test $_pkg_short_errors_supported = yes; then
21851 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1"` 21718 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21852 else 21719 else
21853 XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1"` 21720 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21854 fi 21721 fi
21855 # Put the nasty error message in config.log where it belongs 21722 # Put the nasty error message in config.log where it belongs
21856 echo "$XCB_PKG_ERRORS" >&5 21723 echo "$XCB_PKG_ERRORS" >&5
21857 21724
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21859$as_echo "no" >&6; }
21860 21725
21861 have_dep="no" 21726 have_dep="no"
21862 21727
21863 21728
21864elif test $pkg_failed = untried; then 21729elif test $pkg_failed = untried; then
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21731$as_echo "no" >&6; }
21865 21732
21866 have_dep="no" 21733 have_dep="no"
21867 21734
@@ -21896,7 +21763,7 @@ fi
21896fi 21763fi
21897 21764
21898if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 21765if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21899 as_fn_error "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5 21766 as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
21900fi 21767fi
21901 21768
21902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5 21769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
@@ -22000,7 +21867,7 @@ if test "x$with_x" = xno; then
22000 have_x=disabled 21867 have_x=disabled
22001else 21868else
22002 case $x_includes,$x_libraries in #( 21869 case $x_includes,$x_libraries in #(
22003 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 21870 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
22004 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 21871 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
22005 $as_echo_n "(cached) " >&6 21872 $as_echo_n "(cached) " >&6
22006else 21873else
@@ -22018,7 +21885,7 @@ libdir:
22018 @echo libdir='${LIBDIR}' 21885 @echo libdir='${LIBDIR}'
22019_ACEOF 21886_ACEOF
22020 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 21887 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 21888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22022 for ac_var in incroot usrlibdir libdir; do 21889 for ac_var in incroot usrlibdir libdir; do
22023 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 21890 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22024 done 21891 done
@@ -22104,7 +21971,7 @@ else
22104 fi 21971 fi
22105done 21972done
22106fi 21973fi
22107rm -f conftest.err conftest.$ac_ext 21974rm -f conftest.err conftest.i conftest.$ac_ext
22108fi # $ac_x_includes = no 21975fi # $ac_x_includes = no
22109 21976
22110if test "$ac_x_libraries" = no; then 21977if test "$ac_x_libraries" = no; then
@@ -22791,7 +22658,7 @@ fi
22791fi 22658fi
22792 22659
22793if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 22660if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22794 as_fn_error "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5 22661 as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22795fi 22662fi
22796 22663
22797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5 22664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
@@ -22904,7 +22771,7 @@ fi
22904fi 22771fi
22905 22772
22906if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 22773if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22907 as_fn_error "Software DirectDraw 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5 22774 as_fn_error $? "Software DirectDraw 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22908fi 22775fi
22909 22776
22910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw 16 bits rendering backend will be built" >&5 22777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw 16 bits rendering backend will be built" >&5
@@ -23006,7 +22873,7 @@ fi
23006fi 22873fi
23007 22874
23008if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 22875if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23009 as_fn_error "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5 22876 as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23010fi 22877fi
23011 22878
23012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5 22879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
@@ -23101,11 +22968,10 @@ pkg_failed=no
23101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 22968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23102$as_echo_n "checking for SDL... " >&6; } 22969$as_echo_n "checking for SDL... " >&6; }
23103 22970
23104if test -n "$PKG_CONFIG"; then 22971if test -n "$SDL_CFLAGS"; then
23105 if test -n "$SDL_CFLAGS"; then 22972 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23106 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" 22973 elif test -n "$PKG_CONFIG"; then
23107 else 22974 if test -n "$PKG_CONFIG" && \
23108 if test -n "$PKG_CONFIG" && \
23109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5 22975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23110 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5 22976 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23111 ac_status=$? 22977 ac_status=$?
@@ -23115,15 +22981,13 @@ if test -n "$PKG_CONFIG"; then
23115else 22981else
23116 pkg_failed=yes 22982 pkg_failed=yes
23117fi 22983fi
23118 fi 22984 else
23119else 22985 pkg_failed=untried
23120 pkg_failed=untried
23121fi 22986fi
23122if test -n "$PKG_CONFIG"; then 22987if test -n "$SDL_LIBS"; then
23123 if test -n "$SDL_LIBS"; then 22988 pkg_cv_SDL_LIBS="$SDL_LIBS"
23124 pkg_cv_SDL_LIBS="$SDL_LIBS" 22989 elif test -n "$PKG_CONFIG"; then
23125 else 22990 if test -n "$PKG_CONFIG" && \
23126 if test -n "$PKG_CONFIG" && \
23127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5 22991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23128 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5 22992 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23129 ac_status=$? 22993 ac_status=$?
@@ -23133,14 +22997,15 @@ if test -n "$PKG_CONFIG"; then
23133else 22997else
23134 pkg_failed=yes 22998 pkg_failed=yes
23135fi 22999fi
23136 fi 23000 else
23137else 23001 pkg_failed=untried
23138 pkg_failed=untried
23139fi 23002fi
23140 23003
23141 23004
23142 23005
23143if test $pkg_failed = yes; then 23006if test $pkg_failed = yes; then
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23008$as_echo "no" >&6; }
23144 23009
23145if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23010if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23146 _pkg_short_errors_supported=yes 23011 _pkg_short_errors_supported=yes
@@ -23148,14 +23013,14 @@ else
23148 _pkg_short_errors_supported=no 23013 _pkg_short_errors_supported=no
23149fi 23014fi
23150 if test $_pkg_short_errors_supported = yes; then 23015 if test $_pkg_short_errors_supported = yes; then
23151 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"` 23016 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
23152 else 23017 else
23153 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"` 23018 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
23154 fi 23019 fi
23155 # Put the nasty error message in config.log where it belongs 23020 # Put the nasty error message in config.log where it belongs
23156 echo "$SDL_PKG_ERRORS" >&5 23021 echo "$SDL_PKG_ERRORS" >&5
23157 23022
23158 as_fn_error "Package requirements (sdl >= 1.2.0) were not met: 23023 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23159 23024
23160$SDL_PKG_ERRORS 23025$SDL_PKG_ERRORS
23161 23026
@@ -23164,12 +23029,13 @@ installed software in a non-standard prefix.
23164 23029
23165Alternatively, you may set the environment variables SDL_CFLAGS 23030Alternatively, you may set the environment variables SDL_CFLAGS
23166and SDL_LIBS to avoid the need to call pkg-config. 23031and SDL_LIBS to avoid the need to call pkg-config.
23167See the pkg-config man page for more details. 23032See the pkg-config man page for more details." "$LINENO" 5
23168" "$LINENO" 5
23169elif test $pkg_failed = untried; then 23033elif test $pkg_failed = untried; then
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23035$as_echo "no" >&6; }
23170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23172as_fn_error "The pkg-config script could not be found or is too old. Make sure it 23038as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23173is in your PATH or set the PKG_CONFIG environment variable to the full 23039is in your PATH or set the PKG_CONFIG environment variable to the full
23174path to pkg-config. 23040path to pkg-config.
23175 23041
@@ -23178,7 +23044,7 @@ and SDL_LIBS to avoid the need to call pkg-config.
23178See the pkg-config man page for more details. 23044See the pkg-config man page for more details.
23179 23045
23180To get pkg-config, see <http://pkg-config.freedesktop.org/>. 23046To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23181See \`config.log' for more details." "$LINENO" 5; } 23047See \`config.log' for more details" "$LINENO" 5 ; }
23182else 23048else
23183 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS 23049 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23184 SDL_LIBS=$pkg_cv_SDL_LIBS 23050 SDL_LIBS=$pkg_cv_SDL_LIBS
@@ -23210,7 +23076,7 @@ fi
23210fi 23076fi
23211 23077
23212if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 23078if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23213 as_fn_error "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5 23079 as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23214fi 23080fi
23215 23081
23216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5 23082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
@@ -23312,7 +23178,7 @@ fi
23312fi 23178fi
23313 23179
23314if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 23180if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23315 as_fn_error "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5 23181 as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23316fi 23182fi
23317 23183
23318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5 23184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
@@ -23407,11 +23273,10 @@ pkg_failed=no
23407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 23273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
23408$as_echo_n "checking for WAYLAND_EGL... " >&6; } 23274$as_echo_n "checking for WAYLAND_EGL... " >&6; }
23409 23275
23410if test -n "$PKG_CONFIG"; then 23276if test -n "$WAYLAND_EGL_CFLAGS"; then
23411 if test -n "$WAYLAND_EGL_CFLAGS"; then 23277 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
23412 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS" 23278 elif test -n "$PKG_CONFIG"; then
23413 else 23279 if test -n "$PKG_CONFIG" && \
23414 if test -n "$PKG_CONFIG" && \
23415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5 23280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23416 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5 23281 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23417 ac_status=$? 23282 ac_status=$?
@@ -23421,15 +23286,13 @@ if test -n "$PKG_CONFIG"; then
23421else 23286else
23422 pkg_failed=yes 23287 pkg_failed=yes
23423fi 23288fi
23424 fi 23289 else
23425else 23290 pkg_failed=untried
23426 pkg_failed=untried
23427fi 23291fi
23428if test -n "$PKG_CONFIG"; then 23292if test -n "$WAYLAND_EGL_LIBS"; then
23429 if test -n "$WAYLAND_EGL_LIBS"; then 23293 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
23430 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS" 23294 elif test -n "$PKG_CONFIG"; then
23431 else 23295 if test -n "$PKG_CONFIG" && \
23432 if test -n "$PKG_CONFIG" && \
23433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5 23296 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23434 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5 23297 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23435 ac_status=$? 23298 ac_status=$?
@@ -23439,14 +23302,15 @@ if test -n "$PKG_CONFIG"; then
23439else 23302else
23440 pkg_failed=yes 23303 pkg_failed=yes
23441fi 23304fi
23442 fi 23305 else
23443else 23306 pkg_failed=untried
23444 pkg_failed=untried
23445fi 23307fi
23446 23308
23447 23309
23448 23310
23449if test $pkg_failed = yes; then 23311if test $pkg_failed = yes; then
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23313$as_echo "no" >&6; }
23450 23314
23451if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23315if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23452 _pkg_short_errors_supported=yes 23316 _pkg_short_errors_supported=yes
@@ -23454,20 +23318,20 @@ else
23454 _pkg_short_errors_supported=no 23318 _pkg_short_errors_supported=no
23455fi 23319fi
23456 if test $_pkg_short_errors_supported = yes; then 23320 if test $_pkg_short_errors_supported = yes; then
23457 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl"` 23321 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23458 else 23322 else
23459 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl"` 23323 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23460 fi 23324 fi
23461 # Put the nasty error message in config.log where it belongs 23325 # Put the nasty error message in config.log where it belongs
23462 echo "$WAYLAND_EGL_PKG_ERRORS" >&5 23326 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
23463 23327
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23465$as_echo "no" >&6; }
23466 23328
23467 have_dep="no" 23329 have_dep="no"
23468 23330
23469 23331
23470elif test $pkg_failed = untried; then 23332elif test $pkg_failed = untried; then
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23334$as_echo "no" >&6; }
23471 23335
23472 have_dep="no" 23336 have_dep="no"
23473 23337
@@ -23491,46 +23355,44 @@ pkg_failed=no
23491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5 23355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
23492$as_echo_n "checking for GL_EET... " >&6; } 23356$as_echo_n "checking for GL_EET... " >&6; }
23493 23357
23494if test -n "$PKG_CONFIG"; then 23358if test -n "$GL_EET_CFLAGS"; then
23495 if test -n "$GL_EET_CFLAGS"; then 23359 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
23496 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS" 23360 elif test -n "$PKG_CONFIG"; then
23497 else 23361 if test -n "$PKG_CONFIG" && \
23498 if test -n "$PKG_CONFIG" && \ 23362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
23499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 23363 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
23500 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
23501 ac_status=$? 23364 ac_status=$?
23502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23503 test $ac_status = 0; }; then 23366 test $ac_status = 0; }; then
23504 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 23367 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
23505else 23368else
23506 pkg_failed=yes 23369 pkg_failed=yes
23507fi 23370fi
23508 fi 23371 else
23509else 23372 pkg_failed=untried
23510 pkg_failed=untried
23511fi 23373fi
23512if test -n "$PKG_CONFIG"; then 23374if test -n "$GL_EET_LIBS"; then
23513 if test -n "$GL_EET_LIBS"; then 23375 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
23514 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS" 23376 elif test -n "$PKG_CONFIG"; then
23515 else 23377 if test -n "$PKG_CONFIG" && \
23516 if test -n "$PKG_CONFIG" && \ 23378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
23517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 23379 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
23518 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
23519 ac_status=$? 23380 ac_status=$?
23520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 23381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23521 test $ac_status = 0; }; then 23382 test $ac_status = 0; }; then
23522 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 23383 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
23523else 23384else
23524 pkg_failed=yes 23385 pkg_failed=yes
23525fi 23386fi
23526 fi 23387 else
23527else 23388 pkg_failed=untried
23528 pkg_failed=untried
23529fi 23389fi
23530 23390
23531 23391
23532 23392
23533if test $pkg_failed = yes; then 23393if test $pkg_failed = yes; then
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23395$as_echo "no" >&6; }
23534 23396
23535if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23397if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23536 _pkg_short_errors_supported=yes 23398 _pkg_short_errors_supported=yes
@@ -23538,17 +23400,17 @@ else
23538 _pkg_short_errors_supported=no 23400 _pkg_short_errors_supported=no
23539fi 23401fi
23540 if test $_pkg_short_errors_supported = yes; then 23402 if test $_pkg_short_errors_supported = yes; then
23541 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 23403 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
23542 else 23404 else
23543 GL_EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 23405 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
23544 fi 23406 fi
23545 # Put the nasty error message in config.log where it belongs 23407 # Put the nasty error message in config.log where it belongs
23546 echo "$GL_EET_PKG_ERRORS" >&5 23408 echo "$GL_EET_PKG_ERRORS" >&5
23547 23409
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 23410 have_dep="no"
23549$as_echo "no" >&6; }
23550 have_dep="no"
23551elif test $pkg_failed = untried; then 23411elif test $pkg_failed = untried; then
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23413$as_echo "no" >&6; }
23552 have_dep="no" 23414 have_dep="no"
23553else 23415else
23554 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS 23416 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
@@ -23557,20 +23419,50 @@ else
23557$as_echo "yes" >&6; } 23419$as_echo "yes" >&6; }
23558 have_dep="yes" 23420 have_dep="yes"
23559fi 23421fi
23560 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" " 23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
23423$as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
23424if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
23425 $as_echo_n "(cached) " >&6
23426else
23427 ac_check_lib_save_LIBS=$LIBS
23428LIBS="-lGLESv2 -lEGL -lm $LIBS"
23429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23430/* end confdefs.h. */
23561 23431
23562" 23432/* Override any GCC internal prototype to avoid an error.
23563if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then : 23433 Use char because int might match the return type of a GCC
23564 have_egl="yes" 23434 builtin and then its argument prototype would still apply. */
23435#ifdef __cplusplus
23436extern "C"
23437#endif
23438char glTexImage2D ();
23439int
23440main ()
23441{
23442return glTexImage2D ();
23443 ;
23444 return 0;
23445}
23446_ACEOF
23447if ac_fn_c_try_link "$LINENO"; then :
23448 ac_cv_lib_GLESv2_glTexImage2D=yes
23565else 23449else
23566 have_egl="no" 23450 ac_cv_lib_GLESv2_glTexImage2D=no
23451fi
23452rm -f core conftest.err conftest.$ac_objext \
23453 conftest$ac_exeext conftest.$ac_ext
23454LIBS=$ac_check_lib_save_LIBS
23455fi
23456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
23457$as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
23458if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
23459 have_glesv2="yes"
23567fi 23460fi
23568 23461
23569 23462 if test "x${have_glesv2}" = "xyes" ; then
23570 if test "x${have_egl}" = "xyes" ; then 23463 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23571 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}" 23464 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
23572 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL" 23465 fi
23573 fi
23574fi 23466fi
23575 23467
23576 23468
@@ -23590,7 +23482,7 @@ fi
23590fi 23482fi
23591 23483
23592if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 23484if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23593 as_fn_error "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5 23485 as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
23594fi 23486fi
23595 23487
23596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5 23488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
@@ -23756,11 +23648,10 @@ pkg_failed=no
23756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5 23648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
23757$as_echo_n "checking for XCB... " >&6; } 23649$as_echo_n "checking for XCB... " >&6; }
23758 23650
23759if test -n "$PKG_CONFIG"; then 23651if test -n "$XCB_CFLAGS"; then
23760 if test -n "$XCB_CFLAGS"; then 23652 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
23761 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS" 23653 elif test -n "$PKG_CONFIG"; then
23762 else 23654 if test -n "$PKG_CONFIG" && \
23763 if test -n "$PKG_CONFIG" && \
23764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5 23655 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23765 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5 23656 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23766 ac_status=$? 23657 ac_status=$?
@@ -23770,15 +23661,13 @@ if test -n "$PKG_CONFIG"; then
23770else 23661else
23771 pkg_failed=yes 23662 pkg_failed=yes
23772fi 23663fi
23773 fi 23664 else
23774else 23665 pkg_failed=untried
23775 pkg_failed=untried
23776fi 23666fi
23777if test -n "$PKG_CONFIG"; then 23667if test -n "$XCB_LIBS"; then
23778 if test -n "$XCB_LIBS"; then 23668 pkg_cv_XCB_LIBS="$XCB_LIBS"
23779 pkg_cv_XCB_LIBS="$XCB_LIBS" 23669 elif test -n "$PKG_CONFIG"; then
23780 else 23670 if test -n "$PKG_CONFIG" && \
23781 if test -n "$PKG_CONFIG" && \
23782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5 23671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23783 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5 23672 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23784 ac_status=$? 23673 ac_status=$?
@@ -23788,14 +23677,15 @@ if test -n "$PKG_CONFIG"; then
23788else 23677else
23789 pkg_failed=yes 23678 pkg_failed=yes
23790fi 23679fi
23791 fi 23680 else
23792else 23681 pkg_failed=untried
23793 pkg_failed=untried
23794fi 23682fi
23795 23683
23796 23684
23797 23685
23798if test $pkg_failed = yes; then 23686if test $pkg_failed = yes; then
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23688$as_echo "no" >&6; }
23799 23689
23800if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23690if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23801 _pkg_short_errors_supported=yes 23691 _pkg_short_errors_supported=yes
@@ -23803,20 +23693,20 @@ else
23803 _pkg_short_errors_supported=no 23693 _pkg_short_errors_supported=no
23804fi 23694fi
23805 if test $_pkg_short_errors_supported = yes; then 23695 if test $_pkg_short_errors_supported = yes; then
23806 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1"` 23696 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23807 else 23697 else
23808 XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1"` 23698 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23809 fi 23699 fi
23810 # Put the nasty error message in config.log where it belongs 23700 # Put the nasty error message in config.log where it belongs
23811 echo "$XCB_PKG_ERRORS" >&5 23701 echo "$XCB_PKG_ERRORS" >&5
23812 23702
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23814$as_echo "no" >&6; }
23815 23703
23816 have_dep="no" 23704 have_dep="no"
23817 23705
23818 23706
23819elif test $pkg_failed = untried; then 23707elif test $pkg_failed = untried; then
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23709$as_echo "no" >&6; }
23820 23710
23821 have_dep="no" 23711 have_dep="no"
23822 23712
@@ -23851,7 +23741,7 @@ fi
23851fi 23741fi
23852 23742
23853if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 23743if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23854 as_fn_error "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5 23744 as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
23855fi 23745fi
23856 23746
23857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5 23747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
@@ -23977,7 +23867,7 @@ if test "x$with_x" = xno; then
23977 have_x=disabled 23867 have_x=disabled
23978else 23868else
23979 case $x_includes,$x_libraries in #( 23869 case $x_includes,$x_libraries in #(
23980 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 23870 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
23981 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 23871 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
23982 $as_echo_n "(cached) " >&6 23872 $as_echo_n "(cached) " >&6
23983else 23873else
@@ -23995,7 +23885,7 @@ libdir:
23995 @echo libdir='${LIBDIR}' 23885 @echo libdir='${LIBDIR}'
23996_ACEOF 23886_ACEOF
23997 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 23887 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23998 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 23888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23999 for ac_var in incroot usrlibdir libdir; do 23889 for ac_var in incroot usrlibdir libdir; do
24000 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 23890 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24001 done 23891 done
@@ -24081,7 +23971,7 @@ else
24081 fi 23971 fi
24082done 23972done
24083fi 23973fi
24084rm -f conftest.err conftest.$ac_ext 23974rm -f conftest.err conftest.i conftest.$ac_ext
24085fi # $ac_x_includes = no 23975fi # $ac_x_includes = no
24086 23976
24087if test "$ac_x_libraries" = no; then 23977if test "$ac_x_libraries" = no; then
@@ -24768,7 +24658,7 @@ fi
24768fi 24658fi
24769 24659
24770if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 24660if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24771 as_fn_error "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5 24661 as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
24772fi 24662fi
24773 24663
24774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5 24664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
@@ -24968,7 +24858,7 @@ if test "x$with_x" = xno; then
24968 have_x=disabled 24858 have_x=disabled
24969else 24859else
24970 case $x_includes,$x_libraries in #( 24860 case $x_includes,$x_libraries in #(
24971 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 24861 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24972 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 24862 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24973 $as_echo_n "(cached) " >&6 24863 $as_echo_n "(cached) " >&6
24974else 24864else
@@ -24986,7 +24876,7 @@ libdir:
24986 @echo libdir='${LIBDIR}' 24876 @echo libdir='${LIBDIR}'
24987_ACEOF 24877_ACEOF
24988 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 24878 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24989 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 24879 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24990 for ac_var in incroot usrlibdir libdir; do 24880 for ac_var in incroot usrlibdir libdir; do
24991 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 24881 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24992 done 24882 done
@@ -25072,7 +24962,7 @@ else
25072 fi 24962 fi
25073done 24963done
25074fi 24964fi
25075rm -f conftest.err conftest.$ac_ext 24965rm -f conftest.err conftest.i conftest.$ac_ext
25076fi # $ac_x_includes = no 24966fi # $ac_x_includes = no
25077 24967
25078if test "$ac_x_libraries" = no; then 24968if test "$ac_x_libraries" = no; then
@@ -25831,11 +25721,10 @@ pkg_failed=no
25831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5 25721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
25832$as_echo_n "checking for XCB_GL... " >&6; } 25722$as_echo_n "checking for XCB_GL... " >&6; }
25833 25723
25834if test -n "$PKG_CONFIG"; then 25724if test -n "$XCB_GL_CFLAGS"; then
25835 if test -n "$XCB_GL_CFLAGS"; then 25725 pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
25836 pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS" 25726 elif test -n "$PKG_CONFIG"; then
25837 else 25727 if test -n "$PKG_CONFIG" && \
25838 if test -n "$PKG_CONFIG" && \
25839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5 25728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25840 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5 25729 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25841 ac_status=$? 25730 ac_status=$?
@@ -25845,15 +25734,13 @@ if test -n "$PKG_CONFIG"; then
25845else 25734else
25846 pkg_failed=yes 25735 pkg_failed=yes
25847fi 25736fi
25848 fi 25737 else
25849else 25738 pkg_failed=untried
25850 pkg_failed=untried
25851fi 25739fi
25852if test -n "$PKG_CONFIG"; then 25740if test -n "$XCB_GL_LIBS"; then
25853 if test -n "$XCB_GL_LIBS"; then 25741 pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
25854 pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS" 25742 elif test -n "$PKG_CONFIG"; then
25855 else 25743 if test -n "$PKG_CONFIG" && \
25856 if test -n "$PKG_CONFIG" && \
25857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5 25744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25858 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5 25745 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25859 ac_status=$? 25746 ac_status=$?
@@ -25863,14 +25750,15 @@ if test -n "$PKG_CONFIG"; then
25863else 25750else
25864 pkg_failed=yes 25751 pkg_failed=yes
25865fi 25752fi
25866 fi 25753 else
25867else 25754 pkg_failed=untried
25868 pkg_failed=untried
25869fi 25755fi
25870 25756
25871 25757
25872 25758
25873if test $pkg_failed = yes; then 25759if test $pkg_failed = yes; then
25760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25761$as_echo "no" >&6; }
25874 25762
25875if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25763if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25876 _pkg_short_errors_supported=yes 25764 _pkg_short_errors_supported=yes
@@ -25878,20 +25766,20 @@ else
25878 _pkg_short_errors_supported=no 25766 _pkg_short_errors_supported=no
25879fi 25767fi
25880 if test $_pkg_short_errors_supported = yes; then 25768 if test $_pkg_short_errors_supported = yes; then
25881 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil"` 25769 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25882 else 25770 else
25883 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil"` 25771 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25884 fi 25772 fi
25885 # Put the nasty error message in config.log where it belongs 25773 # Put the nasty error message in config.log where it belongs
25886 echo "$XCB_GL_PKG_ERRORS" >&5 25774 echo "$XCB_GL_PKG_ERRORS" >&5
25887 25775
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25889$as_echo "no" >&6; }
25890 25776
25891 have_dep="no" 25777 have_dep="no"
25892 25778
25893 25779
25894elif test $pkg_failed = untried; then 25780elif test $pkg_failed = untried; then
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25782$as_echo "no" >&6; }
25895 25783
25896 have_dep="no" 25784 have_dep="no"
25897 25785
@@ -25919,46 +25807,44 @@ pkg_failed=no
25919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5 25807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25920$as_echo_n "checking for GL_EET... " >&6; } 25808$as_echo_n "checking for GL_EET... " >&6; }
25921 25809
25922if test -n "$PKG_CONFIG"; then 25810if test -n "$GL_EET_CFLAGS"; then
25923 if test -n "$GL_EET_CFLAGS"; then 25811 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25924 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS" 25812 elif test -n "$PKG_CONFIG"; then
25925 else 25813 if test -n "$PKG_CONFIG" && \
25926 if test -n "$PKG_CONFIG" && \ 25814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
25927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 25815 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
25928 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
25929 ac_status=$? 25816 ac_status=$?
25930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25931 test $ac_status = 0; }; then 25818 test $ac_status = 0; }; then
25932 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 25819 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
25933else 25820else
25934 pkg_failed=yes 25821 pkg_failed=yes
25935fi 25822fi
25936 fi 25823 else
25937else 25824 pkg_failed=untried
25938 pkg_failed=untried
25939fi 25825fi
25940if test -n "$PKG_CONFIG"; then 25826if test -n "$GL_EET_LIBS"; then
25941 if test -n "$GL_EET_LIBS"; then 25827 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
25942 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS" 25828 elif test -n "$PKG_CONFIG"; then
25943 else 25829 if test -n "$PKG_CONFIG" && \
25944 if test -n "$PKG_CONFIG" && \ 25830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
25945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 25831 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
25946 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
25947 ac_status=$? 25832 ac_status=$?
25948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25949 test $ac_status = 0; }; then 25834 test $ac_status = 0; }; then
25950 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 25835 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
25951else 25836else
25952 pkg_failed=yes 25837 pkg_failed=yes
25953fi 25838fi
25954 fi 25839 else
25955else 25840 pkg_failed=untried
25956 pkg_failed=untried
25957fi 25841fi
25958 25842
25959 25843
25960 25844
25961if test $pkg_failed = yes; then 25845if test $pkg_failed = yes; then
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25847$as_echo "no" >&6; }
25962 25848
25963if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25849if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25964 _pkg_short_errors_supported=yes 25850 _pkg_short_errors_supported=yes
@@ -25966,17 +25852,17 @@ else
25966 _pkg_short_errors_supported=no 25852 _pkg_short_errors_supported=no
25967fi 25853fi
25968 if test $_pkg_short_errors_supported = yes; then 25854 if test $_pkg_short_errors_supported = yes; then
25969 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 25855 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
25970 else 25856 else
25971 GL_EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 25857 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
25972 fi 25858 fi
25973 # Put the nasty error message in config.log where it belongs 25859 # Put the nasty error message in config.log where it belongs
25974 echo "$GL_EET_PKG_ERRORS" >&5 25860 echo "$GL_EET_PKG_ERRORS" >&5
25975 25861
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 25862 have_dep="no"
25977$as_echo "no" >&6; }
25978 have_dep="no"
25979elif test $pkg_failed = untried; then 25863elif test $pkg_failed = untried; then
25864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25865$as_echo "no" >&6; }
25980 have_dep="no" 25866 have_dep="no"
25981else 25867else
25982 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS 25868 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
@@ -26065,46 +25951,44 @@ pkg_failed=no
26065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5 25951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26066$as_echo_n "checking for GL_EET... " >&6; } 25952$as_echo_n "checking for GL_EET... " >&6; }
26067 25953
26068if test -n "$PKG_CONFIG"; then 25954if test -n "$GL_EET_CFLAGS"; then
26069 if test -n "$GL_EET_CFLAGS"; then 25955 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26070 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS" 25956 elif test -n "$PKG_CONFIG"; then
26071 else 25957 if test -n "$PKG_CONFIG" && \
26072 if test -n "$PKG_CONFIG" && \ 25958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
26073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 25959 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
26074 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
26075 ac_status=$? 25960 ac_status=$?
26076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26077 test $ac_status = 0; }; then 25962 test $ac_status = 0; }; then
26078 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 25963 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
26079else 25964else
26080 pkg_failed=yes 25965 pkg_failed=yes
26081fi 25966fi
26082 fi 25967 else
26083else 25968 pkg_failed=untried
26084 pkg_failed=untried
26085fi 25969fi
26086if test -n "$PKG_CONFIG"; then 25970if test -n "$GL_EET_LIBS"; then
26087 if test -n "$GL_EET_LIBS"; then 25971 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26088 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS" 25972 elif test -n "$PKG_CONFIG"; then
26089 else 25973 if test -n "$PKG_CONFIG" && \
26090 if test -n "$PKG_CONFIG" && \ 25974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
26091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 25975 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
26092 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
26093 ac_status=$? 25976 ac_status=$?
26094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 25977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26095 test $ac_status = 0; }; then 25978 test $ac_status = 0; }; then
26096 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 25979 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
26097else 25980else
26098 pkg_failed=yes 25981 pkg_failed=yes
26099fi 25982fi
26100 fi 25983 else
26101else 25984 pkg_failed=untried
26102 pkg_failed=untried
26103fi 25985fi
26104 25986
26105 25987
26106 25988
26107if test $pkg_failed = yes; then 25989if test $pkg_failed = yes; then
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25991$as_echo "no" >&6; }
26108 25992
26109if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25993if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26110 _pkg_short_errors_supported=yes 25994 _pkg_short_errors_supported=yes
@@ -26112,17 +25996,17 @@ else
26112 _pkg_short_errors_supported=no 25996 _pkg_short_errors_supported=no
26113fi 25997fi
26114 if test $_pkg_short_errors_supported = yes; then 25998 if test $_pkg_short_errors_supported = yes; then
26115 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 25999 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
26116 else 26000 else
26117 GL_EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 26001 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
26118 fi 26002 fi
26119 # Put the nasty error message in config.log where it belongs 26003 # Put the nasty error message in config.log where it belongs
26120 echo "$GL_EET_PKG_ERRORS" >&5 26004 echo "$GL_EET_PKG_ERRORS" >&5
26121 26005
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 26006 have_dep="no"
26123$as_echo "no" >&6; }
26124 have_dep="no"
26125elif test $pkg_failed = untried; then 26007elif test $pkg_failed = untried; then
26008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26009$as_echo "no" >&6; }
26126 have_dep="no" 26010 have_dep="no"
26127else 26011else
26128 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS 26012 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
@@ -26136,7 +26020,6 @@ fi
26136 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib" 26020 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26137 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 26021 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26138 have_dep="yes" 26022 have_dep="yes"
26139 gl_flavor_gles="no"
26140 26023
26141$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h 26024$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26142 26025
@@ -26159,7 +26042,7 @@ fi
26159fi 26042fi
26160 26043
26161if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 26044if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26162 as_fn_error "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5 26045 as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26163fi 26046fi
26164 26047
26165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5 26048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
@@ -26286,7 +26169,7 @@ if test "x$with_x" = xno; then
26286 have_x=disabled 26169 have_x=disabled
26287else 26170else
26288 case $x_includes,$x_libraries in #( 26171 case $x_includes,$x_libraries in #(
26289 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 26172 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
26290 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 26173 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
26291 $as_echo_n "(cached) " >&6 26174 $as_echo_n "(cached) " >&6
26292else 26175else
@@ -26304,7 +26187,7 @@ libdir:
26304 @echo libdir='${LIBDIR}' 26187 @echo libdir='${LIBDIR}'
26305_ACEOF 26188_ACEOF
26306 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 26189 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26307 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 26190 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26308 for ac_var in incroot usrlibdir libdir; do 26191 for ac_var in incroot usrlibdir libdir; do
26309 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 26192 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26310 done 26193 done
@@ -26390,7 +26273,7 @@ else
26390 fi 26273 fi
26391done 26274done
26392fi 26275fi
26393rm -f conftest.err conftest.$ac_ext 26276rm -f conftest.err conftest.i conftest.$ac_ext
26394fi # $ac_x_includes = no 26277fi # $ac_x_includes = no
26395 26278
26396if test "$ac_x_libraries" = no; then 26279if test "$ac_x_libraries" = no; then
@@ -27159,46 +27042,44 @@ pkg_failed=no
27159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5 27042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27160$as_echo_n "checking for GL_EET... " >&6; } 27043$as_echo_n "checking for GL_EET... " >&6; }
27161 27044
27162if test -n "$PKG_CONFIG"; then 27045if test -n "$GL_EET_CFLAGS"; then
27163 if test -n "$GL_EET_CFLAGS"; then 27046 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27164 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS" 27047 elif test -n "$PKG_CONFIG"; then
27165 else 27048 if test -n "$PKG_CONFIG" && \
27166 if test -n "$PKG_CONFIG" && \ 27049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27050 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27168 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
27169 ac_status=$? 27051 ac_status=$?
27170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27171 test $ac_status = 0; }; then 27053 test $ac_status = 0; }; then
27172 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 27054 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27173else 27055else
27174 pkg_failed=yes 27056 pkg_failed=yes
27175fi 27057fi
27176 fi 27058 else
27177else 27059 pkg_failed=untried
27178 pkg_failed=untried
27179fi 27060fi
27180if test -n "$PKG_CONFIG"; then 27061if test -n "$GL_EET_LIBS"; then
27181 if test -n "$GL_EET_LIBS"; then 27062 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27182 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS" 27063 elif test -n "$PKG_CONFIG"; then
27183 else 27064 if test -n "$PKG_CONFIG" && \
27184 if test -n "$PKG_CONFIG" && \ 27065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27066 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27186 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
27187 ac_status=$? 27067 ac_status=$?
27188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27189 test $ac_status = 0; }; then 27069 test $ac_status = 0; }; then
27190 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 27070 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27191else 27071else
27192 pkg_failed=yes 27072 pkg_failed=yes
27193fi 27073fi
27194 fi 27074 else
27195else 27075 pkg_failed=untried
27196 pkg_failed=untried
27197fi 27076fi
27198 27077
27199 27078
27200 27079
27201if test $pkg_failed = yes; then 27080if test $pkg_failed = yes; then
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27082$as_echo "no" >&6; }
27202 27083
27203if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27204 _pkg_short_errors_supported=yes 27085 _pkg_short_errors_supported=yes
@@ -27206,17 +27087,17 @@ else
27206 _pkg_short_errors_supported=no 27087 _pkg_short_errors_supported=no
27207fi 27088fi
27208 if test $_pkg_short_errors_supported = yes; then 27089 if test $_pkg_short_errors_supported = yes; then
27209 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 27090 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27210 else 27091 else
27211 GL_EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 27092 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27212 fi 27093 fi
27213 # Put the nasty error message in config.log where it belongs 27094 # Put the nasty error message in config.log where it belongs
27214 echo "$GL_EET_PKG_ERRORS" >&5 27095 echo "$GL_EET_PKG_ERRORS" >&5
27215 27096
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27097 have_dep="no"
27217$as_echo "no" >&6; }
27218 have_dep="no"
27219elif test $pkg_failed = untried; then 27098elif test $pkg_failed = untried; then
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27100$as_echo "no" >&6; }
27220 have_dep="no" 27101 have_dep="no"
27221else 27102else
27222 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS 27103 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
@@ -27310,46 +27191,44 @@ pkg_failed=no
27310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5 27191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27311$as_echo_n "checking for GL_EET... " >&6; } 27192$as_echo_n "checking for GL_EET... " >&6; }
27312 27193
27313if test -n "$PKG_CONFIG"; then 27194if test -n "$GL_EET_CFLAGS"; then
27314 if test -n "$GL_EET_CFLAGS"; then 27195 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27315 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS" 27196 elif test -n "$PKG_CONFIG"; then
27316 else 27197 if test -n "$PKG_CONFIG" && \
27317 if test -n "$PKG_CONFIG" && \ 27198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27199 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27319 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
27320 ac_status=$? 27200 ac_status=$?
27321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27322 test $ac_status = 0; }; then 27202 test $ac_status = 0; }; then
27323 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 27203 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27324else 27204else
27325 pkg_failed=yes 27205 pkg_failed=yes
27326fi 27206fi
27327 fi 27207 else
27328else 27208 pkg_failed=untried
27329 pkg_failed=untried
27330fi 27209fi
27331if test -n "$PKG_CONFIG"; then 27210if test -n "$GL_EET_LIBS"; then
27332 if test -n "$GL_EET_LIBS"; then 27211 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27333 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS" 27212 elif test -n "$PKG_CONFIG"; then
27334 else 27213 if test -n "$PKG_CONFIG" && \
27335 if test -n "$PKG_CONFIG" && \ 27214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27215 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27337 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
27338 ac_status=$? 27216 ac_status=$?
27339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27340 test $ac_status = 0; }; then 27218 test $ac_status = 0; }; then
27341 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 27219 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27342else 27220else
27343 pkg_failed=yes 27221 pkg_failed=yes
27344fi 27222fi
27345 fi 27223 else
27346else 27224 pkg_failed=untried
27347 pkg_failed=untried
27348fi 27225fi
27349 27226
27350 27227
27351 27228
27352if test $pkg_failed = yes; then 27229if test $pkg_failed = yes; then
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27231$as_echo "no" >&6; }
27353 27232
27354if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27233if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27355 _pkg_short_errors_supported=yes 27234 _pkg_short_errors_supported=yes
@@ -27357,17 +27236,17 @@ else
27357 _pkg_short_errors_supported=no 27236 _pkg_short_errors_supported=no
27358fi 27237fi
27359 if test $_pkg_short_errors_supported = yes; then 27238 if test $_pkg_short_errors_supported = yes; then
27360 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 27239 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27361 else 27240 else
27362 GL_EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 27241 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27363 fi 27242 fi
27364 # Put the nasty error message in config.log where it belongs 27243 # Put the nasty error message in config.log where it belongs
27365 echo "$GL_EET_PKG_ERRORS" >&5 27244 echo "$GL_EET_PKG_ERRORS" >&5
27366 27245
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27246 have_dep="no"
27368$as_echo "no" >&6; }
27369 have_dep="no"
27370elif test $pkg_failed = untried; then 27247elif test $pkg_failed = untried; then
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27249$as_echo "no" >&6; }
27371 have_dep="no" 27250 have_dep="no"
27372else 27251else
27373 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS 27252 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
@@ -27381,7 +27260,6 @@ fi
27381 evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib" 27260 evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
27382 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 27261 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
27383 have_dep="yes" 27262 have_dep="yes"
27384 gl_flavor_gles="no"
27385 27263
27386$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h 27264$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
27387 27265
@@ -27405,7 +27283,7 @@ fi
27405fi 27283fi
27406 27284
27407if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then 27285if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27408 as_fn_error "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5 27286 as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
27409fi 27287fi
27410 27288
27411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5 27289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
@@ -27749,11 +27627,10 @@ pkg_failed=no
27749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5 27627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
27750$as_echo_n "checking for EDB... " >&6; } 27628$as_echo_n "checking for EDB... " >&6; }
27751 27629
27752if test -n "$PKG_CONFIG"; then 27630if test -n "$EDB_CFLAGS"; then
27753 if test -n "$EDB_CFLAGS"; then 27631 pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
27754 pkg_cv_EDB_CFLAGS="$EDB_CFLAGS" 27632 elif test -n "$PKG_CONFIG"; then
27755 else 27633 if test -n "$PKG_CONFIG" && \
27756 if test -n "$PKG_CONFIG" && \
27757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5 27634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27758 ($PKG_CONFIG --exists --print-errors "edb") 2>&5 27635 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27759 ac_status=$? 27636 ac_status=$?
@@ -27763,15 +27640,13 @@ if test -n "$PKG_CONFIG"; then
27763else 27640else
27764 pkg_failed=yes 27641 pkg_failed=yes
27765fi 27642fi
27766 fi 27643 else
27767else 27644 pkg_failed=untried
27768 pkg_failed=untried
27769fi 27645fi
27770if test -n "$PKG_CONFIG"; then 27646if test -n "$EDB_LIBS"; then
27771 if test -n "$EDB_LIBS"; then 27647 pkg_cv_EDB_LIBS="$EDB_LIBS"
27772 pkg_cv_EDB_LIBS="$EDB_LIBS" 27648 elif test -n "$PKG_CONFIG"; then
27773 else 27649 if test -n "$PKG_CONFIG" && \
27774 if test -n "$PKG_CONFIG" && \
27775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5 27650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27776 ($PKG_CONFIG --exists --print-errors "edb") 2>&5 27651 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27777 ac_status=$? 27652 ac_status=$?
@@ -27781,14 +27656,15 @@ if test -n "$PKG_CONFIG"; then
27781else 27656else
27782 pkg_failed=yes 27657 pkg_failed=yes
27783fi 27658fi
27784 fi 27659 else
27785else 27660 pkg_failed=untried
27786 pkg_failed=untried
27787fi 27661fi
27788 27662
27789 27663
27790 27664
27791if test $pkg_failed = yes; then 27665if test $pkg_failed = yes; then
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27667$as_echo "no" >&6; }
27792 27668
27793if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27669if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27794 _pkg_short_errors_supported=yes 27670 _pkg_short_errors_supported=yes
@@ -27796,17 +27672,17 @@ else
27796 _pkg_short_errors_supported=no 27672 _pkg_short_errors_supported=no
27797fi 27673fi
27798 if test $_pkg_short_errors_supported = yes; then 27674 if test $_pkg_short_errors_supported = yes; then
27799 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "edb"` 27675 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edb" 2>&1`
27800 else 27676 else
27801 EDB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "edb"` 27677 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "edb" 2>&1`
27802 fi 27678 fi
27803 # Put the nasty error message in config.log where it belongs 27679 # Put the nasty error message in config.log where it belongs
27804 echo "$EDB_PKG_ERRORS" >&5 27680 echo "$EDB_PKG_ERRORS" >&5
27805 27681
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27682 have_dep="no"
27807$as_echo "no" >&6; }
27808 have_dep="no"
27809elif test $pkg_failed = untried; then 27683elif test $pkg_failed = untried; then
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27685$as_echo "no" >&6; }
27810 have_dep="no" 27686 have_dep="no"
27811else 27687else
27812 EDB_CFLAGS=$pkg_cv_EDB_CFLAGS 27688 EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
@@ -27835,7 +27711,7 @@ fi
27835fi 27711fi
27836 27712
27837if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 27713if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27838 as_fn_error "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5 27714 as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
27839fi 27715fi
27840 27716
27841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5 27717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
@@ -27933,46 +27809,44 @@ pkg_failed=no
27933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5 27809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
27934$as_echo_n "checking for EET... " >&6; } 27810$as_echo_n "checking for EET... " >&6; }
27935 27811
27936if test -n "$PKG_CONFIG"; then 27812if test -n "$EET_CFLAGS"; then
27937 if test -n "$EET_CFLAGS"; then 27813 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
27938 pkg_cv_EET_CFLAGS="$EET_CFLAGS" 27814 elif test -n "$PKG_CONFIG"; then
27939 else 27815 if test -n "$PKG_CONFIG" && \
27940 if test -n "$PKG_CONFIG" && \ 27816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27817 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27942 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
27943 ac_status=$? 27818 ac_status=$?
27944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27945 test $ac_status = 0; }; then 27820 test $ac_status = 0; }; then
27946 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 27821 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27947else 27822else
27948 pkg_failed=yes 27823 pkg_failed=yes
27949fi 27824fi
27950 fi 27825 else
27951else 27826 pkg_failed=untried
27952 pkg_failed=untried
27953fi 27827fi
27954if test -n "$PKG_CONFIG"; then 27828if test -n "$EET_LIBS"; then
27955 if test -n "$EET_LIBS"; then 27829 pkg_cv_EET_LIBS="$EET_LIBS"
27956 pkg_cv_EET_LIBS="$EET_LIBS" 27830 elif test -n "$PKG_CONFIG"; then
27957 else 27831 if test -n "$PKG_CONFIG" && \
27958 if test -n "$PKG_CONFIG" && \ 27832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27959 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27833 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27960 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
27961 ac_status=$? 27834 ac_status=$?
27962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27963 test $ac_status = 0; }; then 27836 test $ac_status = 0; }; then
27964 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 27837 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27965else 27838else
27966 pkg_failed=yes 27839 pkg_failed=yes
27967fi 27840fi
27968 fi 27841 else
27969else 27842 pkg_failed=untried
27970 pkg_failed=untried
27971fi 27843fi
27972 27844
27973 27845
27974 27846
27975if test $pkg_failed = yes; then 27847if test $pkg_failed = yes; then
27848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27849$as_echo "no" >&6; }
27976 27850
27977if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27851if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27978 _pkg_short_errors_supported=yes 27852 _pkg_short_errors_supported=yes
@@ -27980,17 +27854,17 @@ else
27980 _pkg_short_errors_supported=no 27854 _pkg_short_errors_supported=no
27981fi 27855fi
27982 if test $_pkg_short_errors_supported = yes; then 27856 if test $_pkg_short_errors_supported = yes; then
27983 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 27857 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27984 else 27858 else
27985 EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 27859 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27986 fi 27860 fi
27987 # Put the nasty error message in config.log where it belongs 27861 # Put the nasty error message in config.log where it belongs
27988 echo "$EET_PKG_ERRORS" >&5 27862 echo "$EET_PKG_ERRORS" >&5
27989 27863
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27864 have_dep="no"
27991$as_echo "no" >&6; }
27992 have_dep="no"
27993elif test $pkg_failed = untried; then 27865elif test $pkg_failed = untried; then
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27867$as_echo "no" >&6; }
27994 have_dep="no" 27868 have_dep="no"
27995else 27869else
27996 EET_CFLAGS=$pkg_cv_EET_CFLAGS 27870 EET_CFLAGS=$pkg_cv_EET_CFLAGS
@@ -28019,7 +27893,7 @@ fi
28019fi 27893fi
28020 27894
28021if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 27895if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28022 as_fn_error "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5 27896 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28023fi 27897fi
28024 27898
28025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5 27899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
@@ -28095,46 +27969,44 @@ pkg_failed=no
28095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5 27969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28096$as_echo_n "checking for EET... " >&6; } 27970$as_echo_n "checking for EET... " >&6; }
28097 27971
28098if test -n "$PKG_CONFIG"; then 27972if test -n "$EET_CFLAGS"; then
28099 if test -n "$EET_CFLAGS"; then 27973 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28100 pkg_cv_EET_CFLAGS="$EET_CFLAGS" 27974 elif test -n "$PKG_CONFIG"; then
28101 else 27975 if test -n "$PKG_CONFIG" && \
28102 if test -n "$PKG_CONFIG" && \ 27976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27977 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28104 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
28105 ac_status=$? 27978 ac_status=$?
28106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28107 test $ac_status = 0; }; then 27980 test $ac_status = 0; }; then
28108 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.5.0" 2>/dev/null` 27981 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28109else 27982else
28110 pkg_failed=yes 27983 pkg_failed=yes
28111fi 27984fi
28112 fi 27985 else
28113else 27986 pkg_failed=untried
28114 pkg_failed=untried
28115fi 27987fi
28116if test -n "$PKG_CONFIG"; then 27988if test -n "$EET_LIBS"; then
28117 if test -n "$EET_LIBS"; then 27989 pkg_cv_EET_LIBS="$EET_LIBS"
28118 pkg_cv_EET_LIBS="$EET_LIBS" 27990 elif test -n "$PKG_CONFIG"; then
28119 else 27991 if test -n "$PKG_CONFIG" && \
28120 if test -n "$PKG_CONFIG" && \ 27992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.5.0\""; } >&5 27993 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28122 ($PKG_CONFIG --exists --print-errors "eet >= 1.5.0") 2>&5
28123 ac_status=$? 27994 ac_status=$?
28124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28125 test $ac_status = 0; }; then 27996 test $ac_status = 0; }; then
28126 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.5.0" 2>/dev/null` 27997 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28127else 27998else
28128 pkg_failed=yes 27999 pkg_failed=yes
28129fi 28000fi
28130 fi 28001 else
28131else 28002 pkg_failed=untried
28132 pkg_failed=untried
28133fi 28003fi
28134 28004
28135 28005
28136 28006
28137if test $pkg_failed = yes; then 28007if test $pkg_failed = yes; then
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28009$as_echo "no" >&6; }
28138 28010
28139if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28011if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28140 _pkg_short_errors_supported=yes 28012 _pkg_short_errors_supported=yes
@@ -28142,17 +28014,17 @@ else
28142 _pkg_short_errors_supported=no 28014 _pkg_short_errors_supported=no
28143fi 28015fi
28144 if test $_pkg_short_errors_supported = yes; then 28016 if test $_pkg_short_errors_supported = yes; then
28145 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eet >= 1.5.0"` 28017 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
28146 else 28018 else
28147 EET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eet >= 1.5.0"` 28019 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
28148 fi 28020 fi
28149 # Put the nasty error message in config.log where it belongs 28021 # Put the nasty error message in config.log where it belongs
28150 echo "$EET_PKG_ERRORS" >&5 28022 echo "$EET_PKG_ERRORS" >&5
28151 28023
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28024 have_evas_font_loader_eet="no"
28153$as_echo "no" >&6; }
28154 have_evas_font_loader_eet="no"
28155elif test $pkg_failed = untried; then 28025elif test $pkg_failed = untried; then
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28027$as_echo "no" >&6; }
28156 have_evas_font_loader_eet="no" 28028 have_evas_font_loader_eet="no"
28157else 28029else
28158 EET_CFLAGS=$pkg_cv_EET_CFLAGS 28030 EET_CFLAGS=$pkg_cv_EET_CFLAGS
@@ -28164,14 +28036,14 @@ fi
28164fi 28036fi
28165 28037
28166if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then 28038if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28167 as_fn_error "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5 28039 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28168fi 28040fi
28169 28041
28170if test "x$have_evas_font_loader_eet" = "xyes" ; then 28042if test "x$have_evas_font_loader_eet" = "xyes" ; then
28171 28043
28172$as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h 28044$as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28173 28045
28174 requirement_evas="eet >= 1.5.0 ${requirement_evas}" 28046 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28175fi 28047fi
28176 28048
28177 28049
@@ -28333,7 +28205,7 @@ fi
28333fi 28205fi
28334 28206
28335if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 28207if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28336 as_fn_error "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5 28208 as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
28337fi 28209fi
28338 28210
28339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5 28211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
@@ -28523,7 +28395,7 @@ fi
28523fi 28395fi
28524 28396
28525if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 28397if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28526 as_fn_error "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5 28398 as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
28527fi 28399fi
28528 28400
28529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5 28401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
@@ -28649,7 +28521,7 @@ fi
28649fi 28521fi
28650 28522
28651if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 28523if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28652 as_fn_error "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5 28524 as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
28653fi 28525fi
28654 28526
28655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5 28527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
@@ -28747,11 +28619,10 @@ pkg_failed=no
28747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 28619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28748$as_echo_n "checking for PNG... " >&6; } 28620$as_echo_n "checking for PNG... " >&6; }
28749 28621
28750if test -n "$PKG_CONFIG"; then 28622if test -n "$PNG_CFLAGS"; then
28751 if test -n "$PNG_CFLAGS"; then 28623 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28752 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 28624 elif test -n "$PKG_CONFIG"; then
28753 else 28625 if test -n "$PKG_CONFIG" && \
28754 if test -n "$PKG_CONFIG" && \
28755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5 28626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28756 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5 28627 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28757 ac_status=$? 28628 ac_status=$?
@@ -28761,15 +28632,13 @@ if test -n "$PKG_CONFIG"; then
28761else 28632else
28762 pkg_failed=yes 28633 pkg_failed=yes
28763fi 28634fi
28764 fi 28635 else
28765else 28636 pkg_failed=untried
28766 pkg_failed=untried
28767fi 28637fi
28768if test -n "$PKG_CONFIG"; then 28638if test -n "$PNG_LIBS"; then
28769 if test -n "$PNG_LIBS"; then 28639 pkg_cv_PNG_LIBS="$PNG_LIBS"
28770 pkg_cv_PNG_LIBS="$PNG_LIBS" 28640 elif test -n "$PKG_CONFIG"; then
28771 else 28641 if test -n "$PKG_CONFIG" && \
28772 if test -n "$PKG_CONFIG" && \
28773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5 28642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28774 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5 28643 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28775 ac_status=$? 28644 ac_status=$?
@@ -28779,14 +28648,15 @@ if test -n "$PKG_CONFIG"; then
28779else 28648else
28780 pkg_failed=yes 28649 pkg_failed=yes
28781fi 28650fi
28782 fi 28651 else
28783else 28652 pkg_failed=untried
28784 pkg_failed=untried
28785fi 28653fi
28786 28654
28787 28655
28788 28656
28789if test $pkg_failed = yes; then 28657if test $pkg_failed = yes; then
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28659$as_echo "no" >&6; }
28790 28660
28791if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28661if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28792 _pkg_short_errors_supported=yes 28662 _pkg_short_errors_supported=yes
@@ -28794,17 +28664,17 @@ else
28794 _pkg_short_errors_supported=no 28664 _pkg_short_errors_supported=no
28795fi 28665fi
28796 if test $_pkg_short_errors_supported = yes; then 28666 if test $_pkg_short_errors_supported = yes; then
28797 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng >= 1.2.10"` 28667 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng >= 1.2.10" 2>&1`
28798 else 28668 else
28799 PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng >= 1.2.10"` 28669 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng >= 1.2.10" 2>&1`
28800 fi 28670 fi
28801 # Put the nasty error message in config.log where it belongs 28671 # Put the nasty error message in config.log where it belongs
28802 echo "$PNG_PKG_ERRORS" >&5 28672 echo "$PNG_PKG_ERRORS" >&5
28803 28673
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28674 have_dep="no"
28805$as_echo "no" >&6; }
28806 have_dep="no"
28807elif test $pkg_failed = untried; then 28675elif test $pkg_failed = untried; then
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28677$as_echo "no" >&6; }
28808 have_dep="no" 28678 have_dep="no"
28809else 28679else
28810 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 28680 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
@@ -28820,11 +28690,10 @@ pkg_failed=no
28820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 28690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28821$as_echo_n "checking for PNG... " >&6; } 28691$as_echo_n "checking for PNG... " >&6; }
28822 28692
28823if test -n "$PKG_CONFIG"; then 28693if test -n "$PNG_CFLAGS"; then
28824 if test -n "$PNG_CFLAGS"; then 28694 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28825 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 28695 elif test -n "$PKG_CONFIG"; then
28826 else 28696 if test -n "$PKG_CONFIG" && \
28827 if test -n "$PKG_CONFIG" && \
28828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5 28697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28829 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5 28698 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28830 ac_status=$? 28699 ac_status=$?
@@ -28834,15 +28703,13 @@ if test -n "$PKG_CONFIG"; then
28834else 28703else
28835 pkg_failed=yes 28704 pkg_failed=yes
28836fi 28705fi
28837 fi 28706 else
28838else 28707 pkg_failed=untried
28839 pkg_failed=untried
28840fi 28708fi
28841if test -n "$PKG_CONFIG"; then 28709if test -n "$PNG_LIBS"; then
28842 if test -n "$PNG_LIBS"; then 28710 pkg_cv_PNG_LIBS="$PNG_LIBS"
28843 pkg_cv_PNG_LIBS="$PNG_LIBS" 28711 elif test -n "$PKG_CONFIG"; then
28844 else 28712 if test -n "$PKG_CONFIG" && \
28845 if test -n "$PKG_CONFIG" && \
28846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5 28713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28847 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5 28714 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28848 ac_status=$? 28715 ac_status=$?
@@ -28852,14 +28719,15 @@ if test -n "$PKG_CONFIG"; then
28852else 28719else
28853 pkg_failed=yes 28720 pkg_failed=yes
28854fi 28721fi
28855 fi 28722 else
28856else 28723 pkg_failed=untried
28857 pkg_failed=untried
28858fi 28724fi
28859 28725
28860 28726
28861 28727
28862if test $pkg_failed = yes; then 28728if test $pkg_failed = yes; then
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28730$as_echo "no" >&6; }
28863 28731
28864if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28732if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28865 _pkg_short_errors_supported=yes 28733 _pkg_short_errors_supported=yes
@@ -28867,17 +28735,17 @@ else
28867 _pkg_short_errors_supported=no 28735 _pkg_short_errors_supported=no
28868fi 28736fi
28869 if test $_pkg_short_errors_supported = yes; then 28737 if test $_pkg_short_errors_supported = yes; then
28870 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng15"` 28738 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng15" 2>&1`
28871 else 28739 else
28872 PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng15"` 28740 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng15" 2>&1`
28873 fi 28741 fi
28874 # Put the nasty error message in config.log where it belongs 28742 # Put the nasty error message in config.log where it belongs
28875 echo "$PNG_PKG_ERRORS" >&5 28743 echo "$PNG_PKG_ERRORS" >&5
28876 28744
28877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28745 have_dep="no"
28878$as_echo "no" >&6; }
28879 have_dep="no"
28880elif test $pkg_failed = untried; then 28746elif test $pkg_failed = untried; then
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28748$as_echo "no" >&6; }
28881 have_dep="no" 28749 have_dep="no"
28882else 28750else
28883 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 28751 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
@@ -28894,11 +28762,10 @@ pkg_failed=no
28894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 28762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28895$as_echo_n "checking for PNG... " >&6; } 28763$as_echo_n "checking for PNG... " >&6; }
28896 28764
28897if test -n "$PKG_CONFIG"; then 28765if test -n "$PNG_CFLAGS"; then
28898 if test -n "$PNG_CFLAGS"; then 28766 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28899 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 28767 elif test -n "$PKG_CONFIG"; then
28900 else 28768 if test -n "$PKG_CONFIG" && \
28901 if test -n "$PKG_CONFIG" && \
28902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5 28769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28903 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5 28770 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28904 ac_status=$? 28771 ac_status=$?
@@ -28908,15 +28775,13 @@ if test -n "$PKG_CONFIG"; then
28908else 28775else
28909 pkg_failed=yes 28776 pkg_failed=yes
28910fi 28777fi
28911 fi 28778 else
28912else 28779 pkg_failed=untried
28913 pkg_failed=untried
28914fi 28780fi
28915if test -n "$PKG_CONFIG"; then 28781if test -n "$PNG_LIBS"; then
28916 if test -n "$PNG_LIBS"; then 28782 pkg_cv_PNG_LIBS="$PNG_LIBS"
28917 pkg_cv_PNG_LIBS="$PNG_LIBS" 28783 elif test -n "$PKG_CONFIG"; then
28918 else 28784 if test -n "$PKG_CONFIG" && \
28919 if test -n "$PKG_CONFIG" && \
28920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5 28785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28921 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5 28786 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28922 ac_status=$? 28787 ac_status=$?
@@ -28926,14 +28791,15 @@ if test -n "$PKG_CONFIG"; then
28926else 28791else
28927 pkg_failed=yes 28792 pkg_failed=yes
28928fi 28793fi
28929 fi 28794 else
28930else 28795 pkg_failed=untried
28931 pkg_failed=untried
28932fi 28796fi
28933 28797
28934 28798
28935 28799
28936if test $pkg_failed = yes; then 28800if test $pkg_failed = yes; then
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28802$as_echo "no" >&6; }
28937 28803
28938if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28804if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28939 _pkg_short_errors_supported=yes 28805 _pkg_short_errors_supported=yes
@@ -28941,17 +28807,17 @@ else
28941 _pkg_short_errors_supported=no 28807 _pkg_short_errors_supported=no
28942fi 28808fi
28943 if test $_pkg_short_errors_supported = yes; then 28809 if test $_pkg_short_errors_supported = yes; then
28944 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng14"` 28810 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng14" 2>&1`
28945 else 28811 else
28946 PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng14"` 28812 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng14" 2>&1`
28947 fi 28813 fi
28948 # Put the nasty error message in config.log where it belongs 28814 # Put the nasty error message in config.log where it belongs
28949 echo "$PNG_PKG_ERRORS" >&5 28815 echo "$PNG_PKG_ERRORS" >&5
28950 28816
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28817 have_dep="no"
28952$as_echo "no" >&6; }
28953 have_dep="no"
28954elif test $pkg_failed = untried; then 28818elif test $pkg_failed = untried; then
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28820$as_echo "no" >&6; }
28955 have_dep="no" 28821 have_dep="no"
28956else 28822else
28957 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 28823 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
@@ -28968,11 +28834,10 @@ pkg_failed=no
28968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 28834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28969$as_echo_n "checking for PNG... " >&6; } 28835$as_echo_n "checking for PNG... " >&6; }
28970 28836
28971if test -n "$PKG_CONFIG"; then 28837if test -n "$PNG_CFLAGS"; then
28972 if test -n "$PNG_CFLAGS"; then 28838 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28973 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 28839 elif test -n "$PKG_CONFIG"; then
28974 else 28840 if test -n "$PKG_CONFIG" && \
28975 if test -n "$PKG_CONFIG" && \
28976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5 28841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28977 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5 28842 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28978 ac_status=$? 28843 ac_status=$?
@@ -28982,15 +28847,13 @@ if test -n "$PKG_CONFIG"; then
28982else 28847else
28983 pkg_failed=yes 28848 pkg_failed=yes
28984fi 28849fi
28985 fi 28850 else
28986else 28851 pkg_failed=untried
28987 pkg_failed=untried
28988fi 28852fi
28989if test -n "$PKG_CONFIG"; then 28853if test -n "$PNG_LIBS"; then
28990 if test -n "$PNG_LIBS"; then 28854 pkg_cv_PNG_LIBS="$PNG_LIBS"
28991 pkg_cv_PNG_LIBS="$PNG_LIBS" 28855 elif test -n "$PKG_CONFIG"; then
28992 else 28856 if test -n "$PKG_CONFIG" && \
28993 if test -n "$PKG_CONFIG" && \
28994 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5 28857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28995 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5 28858 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28996 ac_status=$? 28859 ac_status=$?
@@ -29000,14 +28863,15 @@ if test -n "$PKG_CONFIG"; then
29000else 28863else
29001 pkg_failed=yes 28864 pkg_failed=yes
29002fi 28865fi
29003 fi 28866 else
29004else 28867 pkg_failed=untried
29005 pkg_failed=untried
29006fi 28868fi
29007 28869
29008 28870
29009 28871
29010if test $pkg_failed = yes; then 28872if test $pkg_failed = yes; then
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28874$as_echo "no" >&6; }
29011 28875
29012if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28876if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29013 _pkg_short_errors_supported=yes 28877 _pkg_short_errors_supported=yes
@@ -29015,17 +28879,17 @@ else
29015 _pkg_short_errors_supported=no 28879 _pkg_short_errors_supported=no
29016fi 28880fi
29017 if test $_pkg_short_errors_supported = yes; then 28881 if test $_pkg_short_errors_supported = yes; then
29018 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng12 >= 1.2.10"` 28882 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng12 >= 1.2.10" 2>&1`
29019 else 28883 else
29020 PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng12 >= 1.2.10"` 28884 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng12 >= 1.2.10" 2>&1`
29021 fi 28885 fi
29022 # Put the nasty error message in config.log where it belongs 28886 # Put the nasty error message in config.log where it belongs
29023 echo "$PNG_PKG_ERRORS" >&5 28887 echo "$PNG_PKG_ERRORS" >&5
29024 28888
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28889 have_dep="no"
29026$as_echo "no" >&6; }
29027 have_dep="no"
29028elif test $pkg_failed = untried; then 28890elif test $pkg_failed = untried; then
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28892$as_echo "no" >&6; }
29029 have_dep="no" 28893 have_dep="no"
29030else 28894else
29031 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 28895 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
@@ -29056,7 +28920,7 @@ fi
29056fi 28920fi
29057 28921
29058if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 28922if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29059 as_fn_error "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5 28923 as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
29060fi 28924fi
29061 28925
29062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5 28926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
@@ -29154,11 +29018,10 @@ pkg_failed=no
29154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5 29018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29155$as_echo_n "checking for SVG... " >&6; } 29019$as_echo_n "checking for SVG... " >&6; }
29156 29020
29157if test -n "$PKG_CONFIG"; then 29021if test -n "$SVG_CFLAGS"; then
29158 if test -n "$SVG_CFLAGS"; then 29022 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29159 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS" 29023 elif test -n "$PKG_CONFIG"; then
29160 else 29024 if test -n "$PKG_CONFIG" && \
29161 if test -n "$PKG_CONFIG" && \
29162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14.0 29025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14.0
29163 cairo >= 1.0.0\""; } >&5 29026 cairo >= 1.0.0\""; } >&5
29164 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14.0 29027 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14.0
@@ -29171,15 +29034,13 @@ if test -n "$PKG_CONFIG"; then
29171else 29034else
29172 pkg_failed=yes 29035 pkg_failed=yes
29173fi 29036fi
29174 fi 29037 else
29175else 29038 pkg_failed=untried
29176 pkg_failed=untried
29177fi 29039fi
29178if test -n "$PKG_CONFIG"; then 29040if test -n "$SVG_LIBS"; then
29179 if test -n "$SVG_LIBS"; then 29041 pkg_cv_SVG_LIBS="$SVG_LIBS"
29180 pkg_cv_SVG_LIBS="$SVG_LIBS" 29042 elif test -n "$PKG_CONFIG"; then
29181 else 29043 if test -n "$PKG_CONFIG" && \
29182 if test -n "$PKG_CONFIG" && \
29183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14.0 29044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14.0
29184 cairo >= 1.0.0\""; } >&5 29045 cairo >= 1.0.0\""; } >&5
29185 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14.0 29046 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14.0
@@ -29192,14 +29053,15 @@ if test -n "$PKG_CONFIG"; then
29192else 29053else
29193 pkg_failed=yes 29054 pkg_failed=yes
29194fi 29055fi
29195 fi 29056 else
29196else 29057 pkg_failed=untried
29197 pkg_failed=untried
29198fi 29058fi
29199 29059
29200 29060
29201 29061
29202if test $pkg_failed = yes; then 29062if test $pkg_failed = yes; then
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29064$as_echo "no" >&6; }
29203 29065
29204if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29066if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29205 _pkg_short_errors_supported=yes 29067 _pkg_short_errors_supported=yes
@@ -29207,20 +29069,20 @@ else
29207 _pkg_short_errors_supported=no 29069 _pkg_short_errors_supported=no
29208fi 29070fi
29209 if test $_pkg_short_errors_supported = yes; then 29071 if test $_pkg_short_errors_supported = yes; then
29210 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librsvg-2.0 >= 2.14.0 29072 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librsvg-2.0 >= 2.14.0
29211 cairo >= 1.0.0"` 29073 cairo >= 1.0.0" 2>&1`
29212 else 29074 else
29213 SVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librsvg-2.0 >= 2.14.0 29075 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "librsvg-2.0 >= 2.14.0
29214 cairo >= 1.0.0"` 29076 cairo >= 1.0.0" 2>&1`
29215 fi 29077 fi
29216 # Put the nasty error message in config.log where it belongs 29078 # Put the nasty error message in config.log where it belongs
29217 echo "$SVG_PKG_ERRORS" >&5 29079 echo "$SVG_PKG_ERRORS" >&5
29218 29080
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29081 have_svg="no"
29220$as_echo "no" >&6; }
29221 have_svg="no"
29222 29082
29223elif test $pkg_failed = untried; then 29083elif test $pkg_failed = untried; then
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29085$as_echo "no" >&6; }
29224 have_svg="no" 29086 have_svg="no"
29225 29087
29226else 29088else
@@ -29253,7 +29115,7 @@ fi
29253fi 29115fi
29254 29116
29255if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29117if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29256 as_fn_error "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5 29118 as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29257fi 29119fi
29258 29120
29259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5 29121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
@@ -29507,7 +29369,7 @@ fi
29507fi 29369fi
29508 29370
29509if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29371if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29510 as_fn_error "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5 29372 as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
29511fi 29373fi
29512 29374
29513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5 29375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
@@ -29612,7 +29474,7 @@ fi
29612fi 29474fi
29613 29475
29614if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29476if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29615 as_fn_error "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5 29477 as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
29616fi 29478fi
29617 29479
29618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5 29480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
@@ -29717,7 +29579,7 @@ fi
29717fi 29579fi
29718 29580
29719if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29581if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29720 as_fn_error "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5 29582 as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29721fi 29583fi
29722 29584
29723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5 29585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
@@ -29822,7 +29684,7 @@ fi
29822fi 29684fi
29823 29685
29824if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29686if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29825 as_fn_error "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5 29687 as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
29826fi 29688fi
29827 29689
29828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5 29690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
@@ -29927,7 +29789,7 @@ fi
29927fi 29789fi
29928 29790
29929if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29791if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29930 as_fn_error "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5 29792 as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29931fi 29793fi
29932 29794
29933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5 29795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
@@ -30032,7 +29894,7 @@ fi
30032fi 29894fi
30033 29895
30034if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 29896if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30035 as_fn_error "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5 29897 as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
30036fi 29898fi
30037 29899
30038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5 29900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
@@ -30137,7 +29999,7 @@ fi
30137fi 29999fi
30138 30000
30139if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 30001if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30140 as_fn_error "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5 30002 as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30141fi 30003fi
30142 30004
30143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5 30005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
@@ -30242,7 +30104,7 @@ fi
30242fi 30104fi
30243 30105
30244if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then 30106if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30245 as_fn_error "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5 30107 as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30246fi 30108fi
30247 30109
30248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5 30110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
@@ -30325,8 +30187,7 @@ for ac_header in pthread.h sched.h
30325do : 30187do :
30326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 30188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30327ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 30189ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30328eval as_val=\$$as_ac_Header 30190if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30329 if test "x$as_val" = x""yes; then :
30330 cat >>confdefs.h <<_ACEOF 30191 cat >>confdefs.h <<_ACEOF
30331#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 30192#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30332_ACEOF 30193_ACEOF
@@ -30392,7 +30253,7 @@ $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30392 need_pthreads="yes" 30253 need_pthreads="yes"
30393 else 30254 else
30394 if "x$use_strict" = "xyes"; then 30255 if "x$use_strict" = "xyes"; then
30395 as_fn_error "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5 30256 as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
30396 else 30257 else
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5 30258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
30398$as_echo "no: pthread headers or functions not found" >&6; } 30259$as_echo "no: pthread headers or functions not found" >&6; }
@@ -30485,11 +30346,10 @@ pkg_failed=no
30485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5 30346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
30486$as_echo_n "checking for XEXT... " >&6; } 30347$as_echo_n "checking for XEXT... " >&6; }
30487 30348
30488if test -n "$PKG_CONFIG"; then 30349if test -n "$XEXT_CFLAGS"; then
30489 if test -n "$XEXT_CFLAGS"; then 30350 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
30490 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS" 30351 elif test -n "$PKG_CONFIG"; then
30491 else 30352 if test -n "$PKG_CONFIG" && \
30492 if test -n "$PKG_CONFIG" && \
30493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext < 1.1.1\""; } >&5 30353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext < 1.1.1\""; } >&5
30494 ($PKG_CONFIG --exists --print-errors "xext < 1.1.1") 2>&5 30354 ($PKG_CONFIG --exists --print-errors "xext < 1.1.1") 2>&5
30495 ac_status=$? 30355 ac_status=$?
@@ -30499,15 +30359,13 @@ if test -n "$PKG_CONFIG"; then
30499else 30359else
30500 pkg_failed=yes 30360 pkg_failed=yes
30501fi 30361fi
30502 fi 30362 else
30503else 30363 pkg_failed=untried
30504 pkg_failed=untried
30505fi 30364fi
30506if test -n "$PKG_CONFIG"; then 30365if test -n "$XEXT_LIBS"; then
30507 if test -n "$XEXT_LIBS"; then 30366 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
30508 pkg_cv_XEXT_LIBS="$XEXT_LIBS" 30367 elif test -n "$PKG_CONFIG"; then
30509 else 30368 if test -n "$PKG_CONFIG" && \
30510 if test -n "$PKG_CONFIG" && \
30511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext < 1.1.1\""; } >&5 30369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext < 1.1.1\""; } >&5
30512 ($PKG_CONFIG --exists --print-errors "xext < 1.1.1") 2>&5 30370 ($PKG_CONFIG --exists --print-errors "xext < 1.1.1") 2>&5
30513 ac_status=$? 30371 ac_status=$?
@@ -30517,14 +30375,15 @@ if test -n "$PKG_CONFIG"; then
30517else 30375else
30518 pkg_failed=yes 30376 pkg_failed=yes
30519fi 30377fi
30520 fi 30378 else
30521else 30379 pkg_failed=untried
30522 pkg_failed=untried
30523fi 30380fi
30524 30381
30525 30382
30526 30383
30527if test $pkg_failed = yes; then 30384if test $pkg_failed = yes; then
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30386$as_echo "no" >&6; }
30528 30387
30529if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30388if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30530 _pkg_short_errors_supported=yes 30389 _pkg_short_errors_supported=yes
@@ -30532,18 +30391,18 @@ else
30532 _pkg_short_errors_supported=no 30391 _pkg_short_errors_supported=no
30533fi 30392fi
30534 if test $_pkg_short_errors_supported = yes; then 30393 if test $_pkg_short_errors_supported = yes; then
30535 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xext < 1.1.1"` 30394 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xext < 1.1.1" 2>&1`
30536 else 30395 else
30537 XEXT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xext < 1.1.1"` 30396 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xext < 1.1.1" 2>&1`
30538 fi 30397 fi
30539 # Put the nasty error message in config.log where it belongs 30398 # Put the nasty error message in config.log where it belongs
30540 echo "$XEXT_PKG_ERRORS" >&5 30399 echo "$XEXT_PKG_ERRORS" >&5
30541 30400
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30401 build_avoid_libXext_bug=no
30543$as_echo "no" >&6; }
30544 build_avoid_libXext_bug=no
30545 30402
30546elif test $pkg_failed = untried; then 30403elif test $pkg_failed = untried; then
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30405$as_echo "no" >&6; }
30547 build_avoid_libXext_bug=no 30406 build_avoid_libXext_bug=no
30548 30407
30549else 30408else
@@ -30886,7 +30745,7 @@ $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30886else 30745else
30887 30746
30888 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then 30747 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
30889 as_fn_error "Altivec not found (strict dependencies checking)" "$LINENO" 5 30748 as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
30890 fi 30749 fi
30891 build_cpu_altivec="no" 30750 build_cpu_altivec="no"
30892 30751
@@ -32354,11 +32213,10 @@ pkg_failed=no
32354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 32213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32355$as_echo_n "checking for VALGRIND... " >&6; } 32214$as_echo_n "checking for VALGRIND... " >&6; }
32356 32215
32357if test -n "$PKG_CONFIG"; then 32216if test -n "$VALGRIND_CFLAGS"; then
32358 if test -n "$VALGRIND_CFLAGS"; then 32217 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32359 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" 32218 elif test -n "$PKG_CONFIG"; then
32360 else 32219 if test -n "$PKG_CONFIG" && \
32361 if test -n "$PKG_CONFIG" && \
32362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5 32220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32363 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5 32221 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32364 ac_status=$? 32222 ac_status=$?
@@ -32368,15 +32226,13 @@ if test -n "$PKG_CONFIG"; then
32368else 32226else
32369 pkg_failed=yes 32227 pkg_failed=yes
32370fi 32228fi
32371 fi 32229 else
32372else 32230 pkg_failed=untried
32373 pkg_failed=untried
32374fi 32231fi
32375if test -n "$PKG_CONFIG"; then 32232if test -n "$VALGRIND_LIBS"; then
32376 if test -n "$VALGRIND_LIBS"; then 32233 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32377 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" 32234 elif test -n "$PKG_CONFIG"; then
32378 else 32235 if test -n "$PKG_CONFIG" && \
32379 if test -n "$PKG_CONFIG" && \
32380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5 32236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32381 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5 32237 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32382 ac_status=$? 32238 ac_status=$?
@@ -32386,14 +32242,15 @@ if test -n "$PKG_CONFIG"; then
32386else 32242else
32387 pkg_failed=yes 32243 pkg_failed=yes
32388fi 32244fi
32389 fi 32245 else
32390else 32246 pkg_failed=untried
32391 pkg_failed=untried
32392fi 32247fi
32393 32248
32394 32249
32395 32250
32396if test $pkg_failed = yes; then 32251if test $pkg_failed = yes; then
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32253$as_echo "no" >&6; }
32397 32254
32398if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 32255if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32399 _pkg_short_errors_supported=yes 32256 _pkg_short_errors_supported=yes
@@ -32401,25 +32258,25 @@ else
32401 _pkg_short_errors_supported=no 32258 _pkg_short_errors_supported=no
32402fi 32259fi
32403 if test $_pkg_short_errors_supported = yes; then 32260 if test $_pkg_short_errors_supported = yes; then
32404 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= 2.4.0"` 32261 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
32405 else 32262 else
32406 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= 2.4.0"` 32263 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
32407 fi 32264 fi
32408 # Put the nasty error message in config.log where it belongs 32265 # Put the nasty error message in config.log where it belongs
32409 echo "$VALGRIND_PKG_ERRORS" >&5 32266 echo "$VALGRIND_PKG_ERRORS" >&5
32410 32267
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32412$as_echo "no" >&6; }
32413 32268
32414 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then 32269 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32415 as_fn_error "Valgrind not found (strict dependencies checking)" "$LINENO" 5 32270 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32416 fi 32271 fi
32417 32272
32418 32273
32419elif test $pkg_failed = untried; then 32274elif test $pkg_failed = untried; then
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32276$as_echo "no" >&6; }
32420 32277
32421 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then 32278 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32422 as_fn_error "Valgrind not found (strict dependencies checking)" "$LINENO" 5 32279 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32423 fi 32280 fi
32424 32281
32425 32282
@@ -32477,11 +32334,10 @@ pkg_failed=no
32477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5 32334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32478$as_echo_n "checking for ECORE_EVAS... " >&6; } 32335$as_echo_n "checking for ECORE_EVAS... " >&6; }
32479 32336
32480if test -n "$PKG_CONFIG"; then 32337if test -n "$ECORE_EVAS_CFLAGS"; then
32481 if test -n "$ECORE_EVAS_CFLAGS"; then 32338 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32482 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS" 32339 elif test -n "$PKG_CONFIG"; then
32483 else 32340 if test -n "$PKG_CONFIG" && \
32484 if test -n "$PKG_CONFIG" && \
32485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5 32341 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32486 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5 32342 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32487 ac_status=$? 32343 ac_status=$?
@@ -32491,15 +32347,13 @@ if test -n "$PKG_CONFIG"; then
32491else 32347else
32492 pkg_failed=yes 32348 pkg_failed=yes
32493fi 32349fi
32494 fi 32350 else
32495else 32351 pkg_failed=untried
32496 pkg_failed=untried
32497fi 32352fi
32498if test -n "$PKG_CONFIG"; then 32353if test -n "$ECORE_EVAS_LIBS"; then
32499 if test -n "$ECORE_EVAS_LIBS"; then 32354 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32500 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS" 32355 elif test -n "$PKG_CONFIG"; then
32501 else 32356 if test -n "$PKG_CONFIG" && \
32502 if test -n "$PKG_CONFIG" && \
32503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5 32357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32504 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5 32358 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32505 ac_status=$? 32359 ac_status=$?
@@ -32509,14 +32363,15 @@ if test -n "$PKG_CONFIG"; then
32509else 32363else
32510 pkg_failed=yes 32364 pkg_failed=yes
32511fi 32365fi
32512 fi 32366 else
32513else 32367 pkg_failed=untried
32514 pkg_failed=untried
32515fi 32368fi
32516 32369
32517 32370
32518 32371
32519if test $pkg_failed = yes; then 32372if test $pkg_failed = yes; then
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32374$as_echo "no" >&6; }
32520 32375
32521if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 32376if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32522 _pkg_short_errors_supported=yes 32377 _pkg_short_errors_supported=yes
@@ -32524,35 +32379,34 @@ else
32524 _pkg_short_errors_supported=no 32379 _pkg_short_errors_supported=no
32525fi 32380fi
32526 if test $_pkg_short_errors_supported = yes; then 32381 if test $_pkg_short_errors_supported = yes; then
32527 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ecore-evas ecore"` 32382 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore" 2>&1`
32528 else 32383 else
32529 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ecore-evas ecore"` 32384 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore" 2>&1`
32530 fi 32385 fi
32531 # Put the nasty error message in config.log where it belongs 32386 # Put the nasty error message in config.log where it belongs
32532 echo "$ECORE_EVAS_PKG_ERRORS" >&5 32387 echo "$ECORE_EVAS_PKG_ERRORS" >&5
32533 32388
32534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 32389 build_examples="no"
32535$as_echo "no" >&6; }
32536 build_examples="no"
32537elif test $pkg_failed = untried; then 32390elif test $pkg_failed = untried; then
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32392$as_echo "no" >&6; }
32538 build_examples="no" 32393 build_examples="no"
32539else 32394else
32540 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS 32395 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
32541 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS 32396 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
32542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 32397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32543$as_echo "yes" >&6; } 32398$as_echo "yes" >&6; }
32544 : 32399
32545fi 32400fi
32546 32401
32547pkg_failed=no 32402pkg_failed=no
32548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5 32403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
32549$as_echo_n "checking for EDJE... " >&6; } 32404$as_echo_n "checking for EDJE... " >&6; }
32550 32405
32551if test -n "$PKG_CONFIG"; then 32406if test -n "$EDJE_CFLAGS"; then
32552 if test -n "$EDJE_CFLAGS"; then 32407 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
32553 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS" 32408 elif test -n "$PKG_CONFIG"; then
32554 else 32409 if test -n "$PKG_CONFIG" && \
32555 if test -n "$PKG_CONFIG" && \
32556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5 32410 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32557 ($PKG_CONFIG --exists --print-errors "edje") 2>&5 32411 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32558 ac_status=$? 32412 ac_status=$?
@@ -32562,15 +32416,13 @@ if test -n "$PKG_CONFIG"; then
32562else 32416else
32563 pkg_failed=yes 32417 pkg_failed=yes
32564fi 32418fi
32565 fi 32419 else
32566else 32420 pkg_failed=untried
32567 pkg_failed=untried
32568fi 32421fi
32569if test -n "$PKG_CONFIG"; then 32422if test -n "$EDJE_LIBS"; then
32570 if test -n "$EDJE_LIBS"; then 32423 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
32571 pkg_cv_EDJE_LIBS="$EDJE_LIBS" 32424 elif test -n "$PKG_CONFIG"; then
32572 else 32425 if test -n "$PKG_CONFIG" && \
32573 if test -n "$PKG_CONFIG" && \
32574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5 32426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32575 ($PKG_CONFIG --exists --print-errors "edje") 2>&5 32427 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32576 ac_status=$? 32428 ac_status=$?
@@ -32580,14 +32432,15 @@ if test -n "$PKG_CONFIG"; then
32580else 32432else
32581 pkg_failed=yes 32433 pkg_failed=yes
32582fi 32434fi
32583 fi 32435 else
32584else 32436 pkg_failed=untried
32585 pkg_failed=untried
32586fi 32437fi
32587 32438
32588 32439
32589 32440
32590if test $pkg_failed = yes; then 32441if test $pkg_failed = yes; then
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32443$as_echo "no" >&6; }
32591 32444
32592if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 32445if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32593 _pkg_short_errors_supported=yes 32446 _pkg_short_errors_supported=yes
@@ -32595,17 +32448,17 @@ else
32595 _pkg_short_errors_supported=no 32448 _pkg_short_errors_supported=no
32596fi 32449fi
32597 if test $_pkg_short_errors_supported = yes; then 32450 if test $_pkg_short_errors_supported = yes; then
32598 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "edje"` 32451 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje" 2>&1`
32599 else 32452 else
32600 EDJE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "edje"` 32453 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje" 2>&1`
32601 fi 32454 fi
32602 # Put the nasty error message in config.log where it belongs 32455 # Put the nasty error message in config.log where it belongs
32603 echo "$EDJE_PKG_ERRORS" >&5 32456 echo "$EDJE_PKG_ERRORS" >&5
32604 32457
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 32458 build_examples="no"
32606$as_echo "no" >&6; }
32607 build_examples="no"
32608elif test $pkg_failed = untried; then 32459elif test $pkg_failed = untried; then
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32461$as_echo "no" >&6; }
32609 build_examples="no" 32462 build_examples="no"
32610else 32463else
32611 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS 32464 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
@@ -32664,11 +32517,10 @@ pkg_failed=no
32664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5 32517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
32665$as_echo_n "checking for CHECK... " >&6; } 32518$as_echo_n "checking for CHECK... " >&6; }
32666 32519
32667if test -n "$PKG_CONFIG"; then 32520if test -n "$CHECK_CFLAGS"; then
32668 if test -n "$CHECK_CFLAGS"; then 32521 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
32669 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS" 32522 elif test -n "$PKG_CONFIG"; then
32670 else 32523 if test -n "$PKG_CONFIG" && \
32671 if test -n "$PKG_CONFIG" && \
32672 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 32524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32673 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 32525 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32674 ac_status=$? 32526 ac_status=$?
@@ -32678,15 +32530,13 @@ if test -n "$PKG_CONFIG"; then
32678else 32530else
32679 pkg_failed=yes 32531 pkg_failed=yes
32680fi 32532fi
32681 fi 32533 else
32682else 32534 pkg_failed=untried
32683 pkg_failed=untried
32684fi 32535fi
32685if test -n "$PKG_CONFIG"; then 32536if test -n "$CHECK_LIBS"; then
32686 if test -n "$CHECK_LIBS"; then 32537 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
32687 pkg_cv_CHECK_LIBS="$CHECK_LIBS" 32538 elif test -n "$PKG_CONFIG"; then
32688 else 32539 if test -n "$PKG_CONFIG" && \
32689 if test -n "$PKG_CONFIG" && \
32690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5 32540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32691 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5 32541 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32692 ac_status=$? 32542 ac_status=$?
@@ -32696,14 +32546,15 @@ if test -n "$PKG_CONFIG"; then
32696else 32546else
32697 pkg_failed=yes 32547 pkg_failed=yes
32698fi 32548fi
32699 fi 32549 else
32700else 32550 pkg_failed=untried
32701 pkg_failed=untried
32702fi 32551fi
32703 32552
32704 32553
32705 32554
32706if test $pkg_failed = yes; then 32555if test $pkg_failed = yes; then
32556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32557$as_echo "no" >&6; }
32707 32558
32708if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 32559if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32709 _pkg_short_errors_supported=yes 32560 _pkg_short_errors_supported=yes
@@ -32711,17 +32562,17 @@ else
32711 _pkg_short_errors_supported=no 32562 _pkg_short_errors_supported=no
32712fi 32563fi
32713 if test $_pkg_short_errors_supported = yes; then 32564 if test $_pkg_short_errors_supported = yes; then
32714 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "check >= 0.9.5"` 32565 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
32715 else 32566 else
32716 CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "check >= 0.9.5"` 32567 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
32717 fi 32568 fi
32718 # Put the nasty error message in config.log where it belongs 32569 # Put the nasty error message in config.log where it belongs
32719 echo "$CHECK_PKG_ERRORS" >&5 32570 echo "$CHECK_PKG_ERRORS" >&5
32720 32571
32721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 32572 _efl_enable_tests="no"
32722$as_echo "no" >&6; }
32723 _efl_enable_tests="no"
32724elif test $pkg_failed = untried; then 32573elif test $pkg_failed = untried; then
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32575$as_echo "no" >&6; }
32725 _efl_enable_tests="no" 32576 _efl_enable_tests="no"
32726else 32577else
32727 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS 32578 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
@@ -32853,8 +32704,8 @@ else
32853 enable_coverage="no" 32704 enable_coverage="no"
32854fi 32705fi
32855 32706
32856EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS}" 32707EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
32857EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS}" 32708EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
32858if test "x$enable_coverage" = "xyes" ; then 32709if test "x$enable_coverage" = "xyes" ; then
32859 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}" 32710 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
32860fi 32711fi
@@ -32874,7 +32725,7 @@ fi
32874##################################################################### 32725#####################################################################
32875## Output 32726## Output
32876 32727
32877ac_config_files="$ac_config_files Makefile evas-directfb.pc evas-fb.pc evas-opengl-x11.pc evas-opengl-sdl.pc evas-opengl-cocoa.pc evas-software-buffer.pc evas-software-x11.pc evas-software-8-x11.pc evas-software-16-x11.pc evas-software-gdi.pc evas-software-ddraw.pc evas-software-16-ddraw.pc evas-direct3d.pc evas-software-16-wince.pc evas-software-sdl.pc evas-psl1ght.pc evas-wayland-shm.pc evas-wayland-egl.pc evas.pc doc/evas.dox doc/Makefile doc/Doxyfile src/Makefile src/bin/Makefile src/lib/Makefile src/lib/canvas/Makefile src/lib/file/Makefile src/lib/cache/Makefile src/lib/cserve/Makefile src/lib/engines/Makefile src/lib/engines/common/Makefile src/lib/engines/common/evas_op_add/Makefile src/lib/engines/common/evas_op_blend/Makefile src/lib/engines/common/evas_op_copy/Makefile src/lib/engines/common/evas_op_mask/Makefile src/lib/engines/common/evas_op_mul/Makefile src/lib/engines/common/evas_op_sub/Makefile src/lib/engines/common_8/Makefile src/lib/engines/common_16/Makefile src/modules/Makefile src/modules/engines/Makefile src/modules/engines/software_generic/Makefile src/modules/engines/software_gdi/Makefile src/modules/engines/software_ddraw/Makefile src/modules/engines/direct3d/Makefile src/modules/engines/software_16_wince/Makefile src/modules/engines/software_x11/Makefile src/modules/engines/fb/Makefile src/modules/engines/buffer/Makefile src/modules/engines/directfb/Makefile src/modules/engines/gl_common/Makefile src/modules/engines/gl_x11/Makefile src/modules/engines/gl_sdl/Makefile src/modules/engines/gl_cocoa/Makefile src/modules/engines/psl1ght/Makefile src/modules/engines/software_sdl/Makefile src/modules/engines/software_8/Makefile src/modules/engines/software_8_x11/Makefile src/modules/engines/software_16/Makefile src/modules/engines/software_16_x11/Makefile src/modules/engines/software_16_ddraw/Makefile src/modules/engines/software_16_sdl/Makefile src/modules/engines/wayland_shm/Makefile src/modules/engines/wayland_egl/Makefile src/modules/loaders/Makefile src/modules/loaders/edb/Makefile src/modules/loaders/eet/Makefile src/modules/loaders/gif/Makefile src/modules/loaders/jpeg/Makefile src/modules/loaders/png/Makefile src/modules/loaders/tiff/Makefile src/modules/loaders/xpm/Makefile src/modules/loaders/bmp/Makefile src/modules/loaders/ico/Makefile src/modules/loaders/tga/Makefile src/modules/loaders/svg/Makefile src/modules/loaders/pmaps/Makefile src/modules/loaders/wbmp/Makefile src/modules/loaders/psd/Makefile src/modules/loaders/generic/Makefile src/modules/savers/Makefile src/modules/savers/edb/Makefile src/modules/savers/eet/Makefile src/modules/savers/jpeg/Makefile src/modules/savers/png/Makefile src/modules/savers/tiff/Makefile src/static_deps/Makefile src/static_deps/liblinebreak/Makefile src/lib/include/Makefile src/examples/Makefile src/tests/Makefile evas.spec" 32728ac_config_files="$ac_config_files Makefile evas-directfb.pc evas-fb.pc evas-opengl-x11.pc evas-opengl-sdl.pc evas-opengl-cocoa.pc evas-software-buffer.pc evas-software-x11.pc evas-software-8-x11.pc evas-software-16-x11.pc evas-software-gdi.pc evas-software-ddraw.pc evas-software-16-ddraw.pc evas-direct3d.pc evas-software-16-wince.pc evas-software-sdl.pc evas-psl1ght.pc evas-wayland-shm.pc evas-wayland-egl.pc evas.pc doc/evas.dox doc/Makefile doc/Doxyfile src/Makefile src/bin/Makefile src/lib/Makefile src/lib/canvas/Makefile src/lib/file/Makefile src/lib/cache/Makefile src/lib/cserve/Makefile src/lib/engines/Makefile src/lib/engines/common/Makefile src/lib/engines/common/evas_op_add/Makefile src/lib/engines/common/evas_op_blend/Makefile src/lib/engines/common/evas_op_copy/Makefile src/lib/engines/common/evas_op_mask/Makefile src/lib/engines/common/evas_op_mul/Makefile src/lib/engines/common/evas_op_sub/Makefile src/lib/engines/common_8/Makefile src/lib/engines/common_16/Makefile src/modules/Makefile src/modules/engines/Makefile src/modules/engines/software_generic/Makefile src/modules/engines/software_gdi/Makefile src/modules/engines/software_ddraw/Makefile src/modules/engines/direct3d/Makefile src/modules/engines/software_16_wince/Makefile src/modules/engines/software_x11/Makefile src/modules/engines/fb/Makefile src/modules/engines/buffer/Makefile src/modules/engines/directfb/Makefile src/modules/engines/gl_common/Makefile src/modules/engines/gl_x11/Makefile src/modules/engines/gl_sdl/Makefile src/modules/engines/gl_cocoa/Makefile src/modules/engines/psl1ght/Makefile src/modules/engines/software_8/Makefile src/modules/engines/software_8_x11/Makefile src/modules/engines/software_16/Makefile src/modules/engines/software_16_x11/Makefile src/modules/engines/software_16_ddraw/Makefile src/modules/engines/software_16_sdl/Makefile src/modules/engines/wayland_shm/Makefile src/modules/engines/wayland_egl/Makefile src/modules/loaders/Makefile src/modules/loaders/edb/Makefile src/modules/loaders/eet/Makefile src/modules/loaders/gif/Makefile src/modules/loaders/jpeg/Makefile src/modules/loaders/png/Makefile src/modules/loaders/tiff/Makefile src/modules/loaders/xpm/Makefile src/modules/loaders/bmp/Makefile src/modules/loaders/ico/Makefile src/modules/loaders/tga/Makefile src/modules/loaders/svg/Makefile src/modules/loaders/pmaps/Makefile src/modules/loaders/wbmp/Makefile src/modules/loaders/psd/Makefile src/modules/loaders/generic/Makefile src/modules/savers/Makefile src/modules/savers/edb/Makefile src/modules/savers/eet/Makefile src/modules/savers/jpeg/Makefile src/modules/savers/png/Makefile src/modules/savers/tiff/Makefile src/static_deps/Makefile src/static_deps/liblinebreak/Makefile src/lib/include/Makefile src/examples/Makefile src/tests/Makefile evas.spec"
32878 32729
32879cat >confcache <<\_ACEOF 32730cat >confcache <<\_ACEOF
32880# This file is a shell script that caches the results of configure 32731# This file is a shell script that caches the results of configure
@@ -32959,6 +32810,7 @@ DEFS=-DHAVE_CONFIG_H
32959 32810
32960ac_libobjs= 32811ac_libobjs=
32961ac_ltlibobjs= 32812ac_ltlibobjs=
32813U=
32962for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 32814for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32963 # 1. Remove the extension, and $U if already installed. 32815 # 1. Remove the extension, and $U if already installed.
32964 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 32816 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -32982,440 +32834,436 @@ else
32982fi 32834fi
32983 32835
32984if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 32836if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32985 as_fn_error "conditional \"AMDEP\" was never defined. 32837 as_fn_error $? "conditional \"AMDEP\" was never defined.
32986Usually this means the macro was only invoked conditionally." "$LINENO" 5 32838Usually this means the macro was only invoked conditionally." "$LINENO" 5
32987fi 32839fi
32988if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 32840if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32989 as_fn_error "conditional \"am__fastdepCC\" was never defined. 32841 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32990Usually this means the macro was only invoked conditionally." "$LINENO" 5 32842Usually this means the macro was only invoked conditionally." "$LINENO" 5
32991fi 32843fi
32992if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 32844if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32993 as_fn_error "conditional \"am__fastdepOBJC\" was never defined. 32845 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32994Usually this means the macro was only invoked conditionally." "$LINENO" 5 32846Usually this means the macro was only invoked conditionally." "$LINENO" 5
32995fi 32847fi
32996if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 32848if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32997 as_fn_error "conditional \"am__fastdepOBJC\" was never defined. 32849 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32998Usually this means the macro was only invoked conditionally." "$LINENO" 5 32850Usually this means the macro was only invoked conditionally." "$LINENO" 5
32999fi 32851fi
33000if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 32852if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33001 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 32853 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33002Usually this means the macro was only invoked conditionally." "$LINENO" 5 32854Usually this means the macro was only invoked conditionally." "$LINENO" 5
33003fi 32855fi
33004if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 32856if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33005 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 32857 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33006Usually this means the macro was only invoked conditionally." "$LINENO" 5 32858Usually this means the macro was only invoked conditionally." "$LINENO" 5
33007fi 32859fi
33008if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 32860if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33009 as_fn_error "conditional \"am__fastdepCC\" was never defined. 32861 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33010Usually this means the macro was only invoked conditionally." "$LINENO" 5 32862Usually this means the macro was only invoked conditionally." "$LINENO" 5
33011fi 32863fi
33012if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then 32864if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
33013 as_fn_error "conditional \"EFL_BUILD_DOC\" was never defined. 32865 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
32866Usually this means the macro was only invoked conditionally." "$LINENO" 5
32867fi
32868if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
32869 as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
33014Usually this means the macro was only invoked conditionally." "$LINENO" 5 32870Usually this means the macro was only invoked conditionally." "$LINENO" 5
33015fi 32871fi
33016if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then 32872if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
33017 as_fn_error "conditional \"EVAS_USE_LINEBREAK\" was never defined. 32873 as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
33018Usually this means the macro was only invoked conditionally." "$LINENO" 5 32874Usually this means the macro was only invoked conditionally." "$LINENO" 5
33019fi 32875fi
33020 32876
33021if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then 32877if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
33022 as_fn_error "conditional \"EVAS_CSERVE\" was never defined. 32878 as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
33023Usually this means the macro was only invoked conditionally." "$LINENO" 5 32879Usually this means the macro was only invoked conditionally." "$LINENO" 5
33024fi 32880fi
33025if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then 32881if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
33026 as_fn_error "conditional \"BUILD_ENGINE_BUFFER\" was never defined. 32882 as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
33027Usually this means the macro was only invoked conditionally." "$LINENO" 5 32883Usually this means the macro was only invoked conditionally." "$LINENO" 5
33028fi 32884fi
33029if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then 32885if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
33030 as_fn_error "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined. 32886 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
33031Usually this means the macro was only invoked conditionally." "$LINENO" 5 32887Usually this means the macro was only invoked conditionally." "$LINENO" 5
33032fi 32888fi
33033if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then 32889if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
33034 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined. 32890 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
33035Usually this means the macro was only invoked conditionally." "$LINENO" 5 32891Usually this means the macro was only invoked conditionally." "$LINENO" 5
33036fi 32892fi
33037if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then 32893if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
33038 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined. 32894 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
33039Usually this means the macro was only invoked conditionally." "$LINENO" 5 32895Usually this means the macro was only invoked conditionally." "$LINENO" 5
33040fi 32896fi
33041if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then 32897if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
33042 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined. 32898 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
33043Usually this means the macro was only invoked conditionally." "$LINENO" 5 32899Usually this means the macro was only invoked conditionally." "$LINENO" 5
33044fi 32900fi
33045if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then 32901if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
33046 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined. 32902 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
33047Usually this means the macro was only invoked conditionally." "$LINENO" 5 32903Usually this means the macro was only invoked conditionally." "$LINENO" 5
33048fi 32904fi
33049if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then 32905if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
33050 as_fn_error "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined. 32906 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
33051Usually this means the macro was only invoked conditionally." "$LINENO" 5 32907Usually this means the macro was only invoked conditionally." "$LINENO" 5
33052fi 32908fi
33053if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then 32909if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
33054 as_fn_error "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined. 32910 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
33055Usually this means the macro was only invoked conditionally." "$LINENO" 5
33056fi
33057if test -z "${BUILD_ENGINE_SOFTWARE_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_SDL_FALSE}"; then
33058 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_SDL\" was never defined.
33059Usually this means the macro was only invoked conditionally." "$LINENO" 5
33060fi
33061if test -z "${EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE}"; then
33062 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_SDL\" was never defined.
33063Usually this means the macro was only invoked conditionally." "$LINENO" 5 32911Usually this means the macro was only invoked conditionally." "$LINENO" 5
33064fi 32912fi
33065if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then 32913if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
33066 as_fn_error "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined. 32914 as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
33067Usually this means the macro was only invoked conditionally." "$LINENO" 5 32915Usually this means the macro was only invoked conditionally." "$LINENO" 5
33068fi 32916fi
33069if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then 32917if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
33070 as_fn_error "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined. 32918 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
33071Usually this means the macro was only invoked conditionally." "$LINENO" 5 32919Usually this means the macro was only invoked conditionally." "$LINENO" 5
33072fi 32920fi
33073if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then 32921if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
33074 as_fn_error "conditional \"BUILD_ENGINE_GL_SDL\" was never defined. 32922 as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
33075Usually this means the macro was only invoked conditionally." "$LINENO" 5 32923Usually this means the macro was only invoked conditionally." "$LINENO" 5
33076fi 32924fi
33077if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then 32925if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
33078 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined. 32926 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
33079Usually this means the macro was only invoked conditionally." "$LINENO" 5 32927Usually this means the macro was only invoked conditionally." "$LINENO" 5
33080fi 32928fi
33081if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then 32929if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
33082 as_fn_error "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined. 32930 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
33083Usually this means the macro was only invoked conditionally." "$LINENO" 5 32931Usually this means the macro was only invoked conditionally." "$LINENO" 5
33084fi 32932fi
33085if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then 32933if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
33086 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined. 32934 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
33087Usually this means the macro was only invoked conditionally." "$LINENO" 5 32935Usually this means the macro was only invoked conditionally." "$LINENO" 5
33088fi 32936fi
33089if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then 32937if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
33090 as_fn_error "conditional \"BUILD_ENGINE_FB\" was never defined. 32938 as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
33091Usually this means the macro was only invoked conditionally." "$LINENO" 5 32939Usually this means the macro was only invoked conditionally." "$LINENO" 5
33092fi 32940fi
33093if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then 32941if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
33094 as_fn_error "conditional \"EVAS_STATIC_BUILD_FB\" was never defined. 32942 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
33095Usually this means the macro was only invoked conditionally." "$LINENO" 5 32943Usually this means the macro was only invoked conditionally." "$LINENO" 5
33096fi 32944fi
33097if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then 32945if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
33098 as_fn_error "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined. 32946 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
33099Usually this means the macro was only invoked conditionally." "$LINENO" 5 32947Usually this means the macro was only invoked conditionally." "$LINENO" 5
33100fi 32948fi
33101if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then 32949if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
33102 as_fn_error "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined. 32950 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
33103Usually this means the macro was only invoked conditionally." "$LINENO" 5 32951Usually this means the macro was only invoked conditionally." "$LINENO" 5
33104fi 32952fi
33105if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then 32953if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
33106 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined. 32954 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
33107Usually this means the macro was only invoked conditionally." "$LINENO" 5 32955Usually this means the macro was only invoked conditionally." "$LINENO" 5
33108fi 32956fi
33109if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then 32957if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
33110 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined. 32958 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
33111Usually this means the macro was only invoked conditionally." "$LINENO" 5 32959Usually this means the macro was only invoked conditionally." "$LINENO" 5
33112fi 32960fi
33113if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then 32961if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
33114 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined. 32962 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
33115Usually this means the macro was only invoked conditionally." "$LINENO" 5 32963Usually this means the macro was only invoked conditionally." "$LINENO" 5
33116fi 32964fi
33117if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then 32965if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
33118 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined. 32966 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
33119Usually this means the macro was only invoked conditionally." "$LINENO" 5 32967Usually this means the macro was only invoked conditionally." "$LINENO" 5
33120fi 32968fi
33121if test -z "${BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_DDRAW_FALSE}"; then 32969if test -z "${BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_DDRAW_FALSE}"; then
33122 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_16_DDRAW\" was never defined. 32970 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_DDRAW\" was never defined.
33123Usually this means the macro was only invoked conditionally." "$LINENO" 5 32971Usually this means the macro was only invoked conditionally." "$LINENO" 5
33124fi 32972fi
33125if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE}"; then 32973if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE}"; then
33126 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW\" was never defined. 32974 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW\" was never defined.
33127Usually this means the macro was only invoked conditionally." "$LINENO" 5 32975Usually this means the macro was only invoked conditionally." "$LINENO" 5
33128fi 32976fi
33129if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then 32977if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
33130 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined. 32978 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
33131Usually this means the macro was only invoked conditionally." "$LINENO" 5 32979Usually this means the macro was only invoked conditionally." "$LINENO" 5
33132fi 32980fi
33133if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then 32981if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
33134 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined. 32982 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
33135Usually this means the macro was only invoked conditionally." "$LINENO" 5 32983Usually this means the macro was only invoked conditionally." "$LINENO" 5
33136fi 32984fi
33137if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then 32985if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
33138 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined. 32986 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
33139Usually this means the macro was only invoked conditionally." "$LINENO" 5 32987Usually this means the macro was only invoked conditionally." "$LINENO" 5
33140fi 32988fi
33141if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then 32989if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
33142 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined. 32990 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
33143Usually this means the macro was only invoked conditionally." "$LINENO" 5 32991Usually this means the macro was only invoked conditionally." "$LINENO" 5
33144fi 32992fi
33145if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then 32993if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
33146 as_fn_error "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined. 32994 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
33147Usually this means the macro was only invoked conditionally." "$LINENO" 5 32995Usually this means the macro was only invoked conditionally." "$LINENO" 5
33148fi 32996fi
33149if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then 32997if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
33150 as_fn_error "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined. 32998 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
33151Usually this means the macro was only invoked conditionally." "$LINENO" 5 32999Usually this means the macro was only invoked conditionally." "$LINENO" 5
33152fi 33000fi
33153if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then 33001if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33154 as_fn_error "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined. 33002 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33155Usually this means the macro was only invoked conditionally." "$LINENO" 5 33003Usually this means the macro was only invoked conditionally." "$LINENO" 5
33156fi 33004fi
33157if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then 33005if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33158 as_fn_error "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined. 33006 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33159Usually this means the macro was only invoked conditionally." "$LINENO" 5 33007Usually this means the macro was only invoked conditionally." "$LINENO" 5
33160fi 33008fi
33161if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then 33009if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33162 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined. 33010 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33163Usually this means the macro was only invoked conditionally." "$LINENO" 5 33011Usually this means the macro was only invoked conditionally." "$LINENO" 5
33164fi 33012fi
33165if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then 33013if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33166 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined. 33014 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33167Usually this means the macro was only invoked conditionally." "$LINENO" 5 33015Usually this means the macro was only invoked conditionally." "$LINENO" 5
33168fi 33016fi
33169if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then 33017if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33170 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined. 33018 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33171Usually this means the macro was only invoked conditionally." "$LINENO" 5 33019Usually this means the macro was only invoked conditionally." "$LINENO" 5
33172fi 33020fi
33173if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then 33021if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33174 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined. 33022 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33175Usually this means the macro was only invoked conditionally." "$LINENO" 5 33023Usually this means the macro was only invoked conditionally." "$LINENO" 5
33176fi 33024fi
33177if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then 33025if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33178 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined. 33026 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33179Usually this means the macro was only invoked conditionally." "$LINENO" 5 33027Usually this means the macro was only invoked conditionally." "$LINENO" 5
33180fi 33028fi
33181if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then 33029if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33182 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined. 33030 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33183Usually this means the macro was only invoked conditionally." "$LINENO" 5 33031Usually this means the macro was only invoked conditionally." "$LINENO" 5
33184fi 33032fi
33185if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then 33033if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33186 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined. 33034 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33187Usually this means the macro was only invoked conditionally." "$LINENO" 5 33035Usually this means the macro was only invoked conditionally." "$LINENO" 5
33188fi 33036fi
33189if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then 33037if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33190 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined. 33038 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33191Usually this means the macro was only invoked conditionally." "$LINENO" 5 33039Usually this means the macro was only invoked conditionally." "$LINENO" 5
33192fi 33040fi
33193if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then 33041if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33194 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined. 33042 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33195Usually this means the macro was only invoked conditionally." "$LINENO" 5 33043Usually this means the macro was only invoked conditionally." "$LINENO" 5
33196fi 33044fi
33197if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then 33045if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33198 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined. 33046 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33199Usually this means the macro was only invoked conditionally." "$LINENO" 5 33047Usually this means the macro was only invoked conditionally." "$LINENO" 5
33200fi 33048fi
33201if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then 33049if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33202 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined. 33050 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33203Usually this means the macro was only invoked conditionally." "$LINENO" 5 33051Usually this means the macro was only invoked conditionally." "$LINENO" 5
33204fi 33052fi
33205if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then 33053if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33206 as_fn_error "conditional \"BUILD_ENGINE_GL_XCB\" was never defined. 33054 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33207Usually this means the macro was only invoked conditionally." "$LINENO" 5 33055Usually this means the macro was only invoked conditionally." "$LINENO" 5
33208fi 33056fi
33209if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then 33057if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33210 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined. 33058 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33211Usually this means the macro was only invoked conditionally." "$LINENO" 5 33059Usually this means the macro was only invoked conditionally." "$LINENO" 5
33212fi 33060fi
33213if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then 33061if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33214 as_fn_error "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined. 33062 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33215Usually this means the macro was only invoked conditionally." "$LINENO" 5 33063Usually this means the macro was only invoked conditionally." "$LINENO" 5
33216fi 33064fi
33217if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then 33065if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33218 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined. 33066 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33219Usually this means the macro was only invoked conditionally." "$LINENO" 5 33067Usually this means the macro was only invoked conditionally." "$LINENO" 5
33220fi 33068fi
33221if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then 33069if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33222 as_fn_error "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined. 33070 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33223Usually this means the macro was only invoked conditionally." "$LINENO" 5 33071Usually this means the macro was only invoked conditionally." "$LINENO" 5
33224fi 33072fi
33225if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then 33073if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33226 as_fn_error "conditional \"BUILD_ENGINE_GL_XCB\" was never defined. 33074 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33227Usually this means the macro was only invoked conditionally." "$LINENO" 5 33075Usually this means the macro was only invoked conditionally." "$LINENO" 5
33228fi 33076fi
33229if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then 33077if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33230 as_fn_error "conditional \"BUILD_ENGINE_GL_X11\" was never defined. 33078 as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33231Usually this means the macro was only invoked conditionally." "$LINENO" 5 33079Usually this means the macro was only invoked conditionally." "$LINENO" 5
33232fi 33080fi
33233if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then 33081if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33234 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined. 33082 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33235Usually this means the macro was only invoked conditionally." "$LINENO" 5 33083Usually this means the macro was only invoked conditionally." "$LINENO" 5
33236fi 33084fi
33237if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then 33085if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33238 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined. 33086 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33239Usually this means the macro was only invoked conditionally." "$LINENO" 5 33087Usually this means the macro was only invoked conditionally." "$LINENO" 5
33240fi 33088fi
33241if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then 33089if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33242 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined. 33090 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33243Usually this means the macro was only invoked conditionally." "$LINENO" 5 33091Usually this means the macro was only invoked conditionally." "$LINENO" 5
33244fi 33092fi
33245if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then 33093if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33246 as_fn_error "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined. 33094 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33247Usually this means the macro was only invoked conditionally." "$LINENO" 5 33095Usually this means the macro was only invoked conditionally." "$LINENO" 5
33248fi 33096fi
33249if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then 33097if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33250 as_fn_error "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined. 33098 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33251Usually this means the macro was only invoked conditionally." "$LINENO" 5 33099Usually this means the macro was only invoked conditionally." "$LINENO" 5
33252fi 33100fi
33253if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then 33101if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33254 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined. 33102 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33255Usually this means the macro was only invoked conditionally." "$LINENO" 5 33103Usually this means the macro was only invoked conditionally." "$LINENO" 5
33256fi 33104fi
33257if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then 33105if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33258 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined. 33106 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33259Usually this means the macro was only invoked conditionally." "$LINENO" 5 33107Usually this means the macro was only invoked conditionally." "$LINENO" 5
33260fi 33108fi
33261if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then 33109if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33262 as_fn_error "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined. 33110 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33263Usually this means the macro was only invoked conditionally." "$LINENO" 5 33111Usually this means the macro was only invoked conditionally." "$LINENO" 5
33264fi 33112fi
33265if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then 33113if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33266 as_fn_error "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined. 33114 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33267Usually this means the macro was only invoked conditionally." "$LINENO" 5 33115Usually this means the macro was only invoked conditionally." "$LINENO" 5
33268fi 33116fi
33269if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then 33117if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33270 as_fn_error "conditional \"BUILD_LOADER_EDB\" was never defined. 33118 as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33271Usually this means the macro was only invoked conditionally." "$LINENO" 5 33119Usually this means the macro was only invoked conditionally." "$LINENO" 5
33272fi 33120fi
33273if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then 33121if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33274 as_fn_error "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined. 33122 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33275Usually this means the macro was only invoked conditionally." "$LINENO" 5 33123Usually this means the macro was only invoked conditionally." "$LINENO" 5
33276fi 33124fi
33277if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then 33125if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33278 as_fn_error "conditional \"BUILD_LOADER_EET\" was never defined. 33126 as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33279Usually this means the macro was only invoked conditionally." "$LINENO" 5 33127Usually this means the macro was only invoked conditionally." "$LINENO" 5
33280fi 33128fi
33281if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then 33129if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33282 as_fn_error "conditional \"EVAS_STATIC_BUILD_EET\" was never defined. 33130 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33283Usually this means the macro was only invoked conditionally." "$LINENO" 5 33131Usually this means the macro was only invoked conditionally." "$LINENO" 5
33284fi 33132fi
33285if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then 33133if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33286 as_fn_error "conditional \"BUILD_LOADER_GIF\" was never defined. 33134 as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33287Usually this means the macro was only invoked conditionally." "$LINENO" 5 33135Usually this means the macro was only invoked conditionally." "$LINENO" 5
33288fi 33136fi
33289if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then 33137if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33290 as_fn_error "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined. 33138 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33291Usually this means the macro was only invoked conditionally." "$LINENO" 5 33139Usually this means the macro was only invoked conditionally." "$LINENO" 5
33292fi 33140fi
33293if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then 33141if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33294 as_fn_error "conditional \"BUILD_LOADER_JPEG\" was never defined. 33142 as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33295Usually this means the macro was only invoked conditionally." "$LINENO" 5 33143Usually this means the macro was only invoked conditionally." "$LINENO" 5
33296fi 33144fi
33297if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then 33145if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33298 as_fn_error "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined. 33146 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33299Usually this means the macro was only invoked conditionally." "$LINENO" 5 33147Usually this means the macro was only invoked conditionally." "$LINENO" 5
33300fi 33148fi
33301if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then 33149if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33302 as_fn_error "conditional \"BUILD_SAVER_JPEG\" was never defined. 33150 as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33303Usually this means the macro was only invoked conditionally." "$LINENO" 5 33151Usually this means the macro was only invoked conditionally." "$LINENO" 5
33304fi 33152fi
33305if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then 33153if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33306 as_fn_error "conditional \"BUILD_LOADER_PMAPS\" was never defined. 33154 as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33307Usually this means the macro was only invoked conditionally." "$LINENO" 5 33155Usually this means the macro was only invoked conditionally." "$LINENO" 5
33308fi 33156fi
33309if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then 33157if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33310 as_fn_error "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined. 33158 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33311Usually this means the macro was only invoked conditionally." "$LINENO" 5 33159Usually this means the macro was only invoked conditionally." "$LINENO" 5
33312fi 33160fi
33313if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then 33161if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33314 as_fn_error "conditional \"BUILD_LOADER_PNG\" was never defined. 33162 as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33315Usually this means the macro was only invoked conditionally." "$LINENO" 5 33163Usually this means the macro was only invoked conditionally." "$LINENO" 5
33316fi 33164fi
33317if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then 33165if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33318 as_fn_error "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined. 33166 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33319Usually this means the macro was only invoked conditionally." "$LINENO" 5 33167Usually this means the macro was only invoked conditionally." "$LINENO" 5
33320fi 33168fi
33321if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then 33169if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33322 as_fn_error "conditional \"BUILD_LOADER_SVG\" was never defined. 33170 as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33323Usually this means the macro was only invoked conditionally." "$LINENO" 5 33171Usually this means the macro was only invoked conditionally." "$LINENO" 5
33324fi 33172fi
33325if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then 33173if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33326 as_fn_error "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined. 33174 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33327Usually this means the macro was only invoked conditionally." "$LINENO" 5 33175Usually this means the macro was only invoked conditionally." "$LINENO" 5
33328fi 33176fi
33329if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then 33177if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33330 as_fn_error "conditional \"BUILD_LOADER_TIFF\" was never defined. 33178 as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33331Usually this means the macro was only invoked conditionally." "$LINENO" 5 33179Usually this means the macro was only invoked conditionally." "$LINENO" 5
33332fi 33180fi
33333if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then 33181if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33334 as_fn_error "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined. 33182 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33335Usually this means the macro was only invoked conditionally." "$LINENO" 5 33183Usually this means the macro was only invoked conditionally." "$LINENO" 5
33336fi 33184fi
33337if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then 33185if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33338 as_fn_error "conditional \"BUILD_LOADER_XPM\" was never defined. 33186 as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33339Usually this means the macro was only invoked conditionally." "$LINENO" 5 33187Usually this means the macro was only invoked conditionally." "$LINENO" 5
33340fi 33188fi
33341if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then 33189if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33342 as_fn_error "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined. 33190 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33343Usually this means the macro was only invoked conditionally." "$LINENO" 5 33191Usually this means the macro was only invoked conditionally." "$LINENO" 5
33344fi 33192fi
33345if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then 33193if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33346 as_fn_error "conditional \"BUILD_LOADER_BMP\" was never defined. 33194 as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33347Usually this means the macro was only invoked conditionally." "$LINENO" 5 33195Usually this means the macro was only invoked conditionally." "$LINENO" 5
33348fi 33196fi
33349if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then 33197if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33350 as_fn_error "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined. 33198 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33351Usually this means the macro was only invoked conditionally." "$LINENO" 5 33199Usually this means the macro was only invoked conditionally." "$LINENO" 5
33352fi 33200fi
33353if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then 33201if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33354 as_fn_error "conditional \"BUILD_LOADER_TGA\" was never defined. 33202 as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33355Usually this means the macro was only invoked conditionally." "$LINENO" 5 33203Usually this means the macro was only invoked conditionally." "$LINENO" 5
33356fi 33204fi
33357if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then 33205if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33358 as_fn_error "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined. 33206 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33359Usually this means the macro was only invoked conditionally." "$LINENO" 5 33207Usually this means the macro was only invoked conditionally." "$LINENO" 5
33360fi 33208fi
33361if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then 33209if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33362 as_fn_error "conditional \"BUILD_LOADER_WBMP\" was never defined. 33210 as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33363Usually this means the macro was only invoked conditionally." "$LINENO" 5 33211Usually this means the macro was only invoked conditionally." "$LINENO" 5
33364fi 33212fi
33365if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then 33213if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33366 as_fn_error "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined. 33214 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33367Usually this means the macro was only invoked conditionally." "$LINENO" 5 33215Usually this means the macro was only invoked conditionally." "$LINENO" 5
33368fi 33216fi
33369if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then 33217if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33370 as_fn_error "conditional \"BUILD_LOADER_ICO\" was never defined. 33218 as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33371Usually this means the macro was only invoked conditionally." "$LINENO" 5 33219Usually this means the macro was only invoked conditionally." "$LINENO" 5
33372fi 33220fi
33373if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then 33221if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33374 as_fn_error "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined. 33222 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33375Usually this means the macro was only invoked conditionally." "$LINENO" 5 33223Usually this means the macro was only invoked conditionally." "$LINENO" 5
33376fi 33224fi
33377if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then 33225if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33378 as_fn_error "conditional \"BUILD_LOADER_PSD\" was never defined. 33226 as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33379Usually this means the macro was only invoked conditionally." "$LINENO" 5 33227Usually this means the macro was only invoked conditionally." "$LINENO" 5
33380fi 33228fi
33381if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then 33229if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33382 as_fn_error "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined. 33230 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33383Usually this means the macro was only invoked conditionally." "$LINENO" 5 33231Usually this means the macro was only invoked conditionally." "$LINENO" 5
33384fi 33232fi
33385if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then 33233if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33386 as_fn_error "conditional \"BUILD_LOADER_GENERIC\" was never defined. 33234 as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33387Usually this means the macro was only invoked conditionally." "$LINENO" 5 33235Usually this means the macro was only invoked conditionally." "$LINENO" 5
33388fi 33236fi
33389if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then 33237if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33390 as_fn_error "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined. 33238 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33391Usually this means the macro was only invoked conditionally." "$LINENO" 5 33239Usually this means the macro was only invoked conditionally." "$LINENO" 5
33392fi 33240fi
33393if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then 33241if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33394 as_fn_error "conditional \"EVAS_MAGIC_DEBUG\" was never defined. 33242 as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33395Usually this means the macro was only invoked conditionally." "$LINENO" 5 33243Usually this means the macro was only invoked conditionally." "$LINENO" 5
33396fi 33244fi
33397if test -z "${WORD_CACHE_TRUE}" && test -z "${WORD_CACHE_FALSE}"; then 33245if test -z "${WORD_CACHE_TRUE}" && test -z "${WORD_CACHE_FALSE}"; then
33398 as_fn_error "conditional \"WORD_CACHE\" was never defined. 33246 as_fn_error $? "conditional \"WORD_CACHE\" was never defined.
33399Usually this means the macro was only invoked conditionally." "$LINENO" 5 33247Usually this means the macro was only invoked conditionally." "$LINENO" 5
33400fi 33248fi
33401if test -z "${METRIC_CACHE_TRUE}" && test -z "${METRIC_CACHE_FALSE}"; then 33249if test -z "${METRIC_CACHE_TRUE}" && test -z "${METRIC_CACHE_FALSE}"; then
33402 as_fn_error "conditional \"METRIC_CACHE\" was never defined. 33250 as_fn_error $? "conditional \"METRIC_CACHE\" was never defined.
33403Usually this means the macro was only invoked conditionally." "$LINENO" 5 33251Usually this means the macro was only invoked conditionally." "$LINENO" 5
33404fi 33252fi
33405if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then 33253if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33406 as_fn_error "conditional \"INSTALL_EXAMPLES\" was never defined. 33254 as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33407Usually this means the macro was only invoked conditionally." "$LINENO" 5 33255Usually this means the macro was only invoked conditionally." "$LINENO" 5
33408fi 33256fi
33409if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 33257if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33410 as_fn_error "conditional \"BUILD_EXAMPLES\" was never defined. 33258 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33411Usually this means the macro was only invoked conditionally." "$LINENO" 5 33259Usually this means the macro was only invoked conditionally." "$LINENO" 5
33412fi 33260fi
33413if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then 33261if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33414 as_fn_error "conditional \"EFL_ENABLE_TESTS\" was never defined. 33262 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33415Usually this means the macro was only invoked conditionally." "$LINENO" 5 33263Usually this means the macro was only invoked conditionally." "$LINENO" 5
33416fi 33264fi
33417if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then 33265if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33418 as_fn_error "conditional \"EFL_ENABLE_COVERAGE\" was never defined. 33266 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33419Usually this means the macro was only invoked conditionally." "$LINENO" 5 33267Usually this means the macro was only invoked conditionally." "$LINENO" 5
33420fi 33268fi
33421 33269
@@ -33565,19 +33413,19 @@ export LANGUAGE
33565(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 33413(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33566 33414
33567 33415
33568# as_fn_error ERROR [LINENO LOG_FD] 33416# as_fn_error STATUS ERROR [LINENO LOG_FD]
33569# --------------------------------- 33417# ----------------------------------------
33570# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 33418# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
33571# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 33419# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
33572# script with status $?, using 1 if that was 0. 33420# script with STATUS, using 1 if that was 0.
33573as_fn_error () 33421as_fn_error ()
33574{ 33422{
33575 as_status=$?; test $as_status -eq 0 && as_status=1 33423 as_status=$1; test $as_status -eq 0 && as_status=1
33576 if test "$3"; then 33424 if test "$4"; then
33577 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 33425 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
33578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 33426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
33579 fi 33427 fi
33580 $as_echo "$as_me: error: $1" >&2 33428 $as_echo "$as_me: error: $2" >&2
33581 as_fn_exit $as_status 33429 as_fn_exit $as_status
33582} # as_fn_error 33430} # as_fn_error
33583 33431
@@ -33773,7 +33621,7 @@ $as_echo X"$as_dir" |
33773 test -d "$as_dir" && break 33621 test -d "$as_dir" && break
33774 done 33622 done
33775 test -z "$as_dirs" || eval "mkdir $as_dirs" 33623 test -z "$as_dirs" || eval "mkdir $as_dirs"
33776 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 33624 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
33777 33625
33778 33626
33779} # as_fn_mkdir_p 33627} # as_fn_mkdir_p
@@ -33826,8 +33674,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33826# report actual input values of CONFIG_FILES etc. instead of their 33674# report actual input values of CONFIG_FILES etc. instead of their
33827# values after options handling. 33675# values after options handling.
33828ac_log=" 33676ac_log="
33829This file was extended by evas $as_me 1.1.99.67344, which was 33677This file was extended by evas $as_me 1.2.0-alpha, which was
33830generated by GNU Autoconf 2.65. Invocation command line was 33678generated by GNU Autoconf 2.67. Invocation command line was
33831 33679
33832 CONFIG_FILES = $CONFIG_FILES 33680 CONFIG_FILES = $CONFIG_FILES
33833 CONFIG_HEADERS = $CONFIG_HEADERS 33681 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -33892,11 +33740,11 @@ _ACEOF
33892cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 33740cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33893ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 33741ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
33894ac_cs_version="\\ 33742ac_cs_version="\\
33895evas config.status 1.1.99.67344 33743evas config.status 1.2.0-alpha
33896configured by $0, generated by GNU Autoconf 2.65, 33744configured by $0, generated by GNU Autoconf 2.67,
33897 with options \\"\$ac_cs_config\\" 33745 with options \\"\$ac_cs_config\\"
33898 33746
33899Copyright (C) 2009 Free Software Foundation, Inc. 33747Copyright (C) 2010 Free Software Foundation, Inc.
33900This config.status script is free software; the Free Software Foundation 33748This config.status script is free software; the Free Software Foundation
33901gives unlimited permission to copy, distribute and modify it." 33749gives unlimited permission to copy, distribute and modify it."
33902 33750
@@ -33914,11 +33762,16 @@ ac_need_defaults=:
33914while test $# != 0 33762while test $# != 0
33915do 33763do
33916 case $1 in 33764 case $1 in
33917 --*=*) 33765 --*=?*)
33918 ac_option=`expr "X$1" : 'X\([^=]*\)='` 33766 ac_option=`expr "X$1" : 'X\([^=]*\)='`
33919 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 33767 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33920 ac_shift=: 33768 ac_shift=:
33921 ;; 33769 ;;
33770 --*=)
33771 ac_option=`expr "X$1" : 'X\([^=]*\)='`
33772 ac_optarg=
33773 ac_shift=:
33774 ;;
33922 *) 33775 *)
33923 ac_option=$1 33776 ac_option=$1
33924 ac_optarg=$2 33777 ac_optarg=$2
@@ -33940,6 +33793,7 @@ do
33940 $ac_shift 33793 $ac_shift
33941 case $ac_optarg in 33794 case $ac_optarg in
33942 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 33795 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33796 '') as_fn_error $? "missing file argument" ;;
33943 esac 33797 esac
33944 as_fn_append CONFIG_FILES " '$ac_optarg'" 33798 as_fn_append CONFIG_FILES " '$ac_optarg'"
33945 ac_need_defaults=false;; 33799 ac_need_defaults=false;;
@@ -33952,7 +33806,7 @@ do
33952 ac_need_defaults=false;; 33806 ac_need_defaults=false;;
33953 --he | --h) 33807 --he | --h)
33954 # Conflict between --help and --header 33808 # Conflict between --help and --header
33955 as_fn_error "ambiguous option: \`$1' 33809 as_fn_error $? "ambiguous option: \`$1'
33956Try \`$0 --help' for more information.";; 33810Try \`$0 --help' for more information.";;
33957 --help | --hel | -h ) 33811 --help | --hel | -h )
33958 $as_echo "$ac_cs_usage"; exit ;; 33812 $as_echo "$ac_cs_usage"; exit ;;
@@ -33961,7 +33815,7 @@ Try \`$0 --help' for more information.";;
33961 ac_cs_silent=: ;; 33815 ac_cs_silent=: ;;
33962 33816
33963 # This is an error. 33817 # This is an error.
33964 -*) as_fn_error "unrecognized option: \`$1' 33818 -*) as_fn_error $? "unrecognized option: \`$1'
33965Try \`$0 --help' for more information." ;; 33819Try \`$0 --help' for more information." ;;
33966 33820
33967 *) as_fn_append ac_config_targets " $1" 33821 *) as_fn_append ac_config_targets " $1"
@@ -34426,7 +34280,6 @@ do
34426 "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;; 34280 "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34427 "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;; 34281 "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34428 "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;; 34282 "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34429 "src/modules/engines/software_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_sdl/Makefile" ;;
34430 "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;; 34283 "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34431 "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;; 34284 "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34432 "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;; 34285 "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
@@ -34464,7 +34317,7 @@ do
34464 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; 34317 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
34465 "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;; 34318 "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
34466 34319
34467 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 34320 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
34468 esac 34321 esac
34469done 34322done
34470 34323
@@ -34502,7 +34355,7 @@ $debug ||
34502{ 34355{
34503 tmp=./conf$$-$RANDOM 34356 tmp=./conf$$-$RANDOM
34504 (umask 077 && mkdir "$tmp") 34357 (umask 077 && mkdir "$tmp")
34505} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 34358} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
34506 34359
34507# Set up the scripts for CONFIG_FILES section. 34360# Set up the scripts for CONFIG_FILES section.
34508# No need to generate them if there are no CONFIG_FILES. 34361# No need to generate them if there are no CONFIG_FILES.
@@ -34519,7 +34372,7 @@ if test "x$ac_cr" = x; then
34519fi 34372fi
34520ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 34373ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34521if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 34374if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34522 ac_cs_awk_cr='\r' 34375 ac_cs_awk_cr='\\r'
34523else 34376else
34524 ac_cs_awk_cr=$ac_cr 34377 ac_cs_awk_cr=$ac_cr
34525fi 34378fi
@@ -34533,18 +34386,18 @@ _ACEOF
34533 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 34386 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34534 echo "_ACEOF" 34387 echo "_ACEOF"
34535} >conf$$subs.sh || 34388} >conf$$subs.sh ||
34536 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 34389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34537ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 34390ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
34538ac_delim='%!_!# ' 34391ac_delim='%!_!# '
34539for ac_last_try in false false false false false :; do 34392for ac_last_try in false false false false false :; do
34540 . ./conf$$subs.sh || 34393 . ./conf$$subs.sh ||
34541 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 34394 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34542 34395
34543 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 34396 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34544 if test $ac_delim_n = $ac_delim_num; then 34397 if test $ac_delim_n = $ac_delim_num; then
34545 break 34398 break
34546 elif $ac_last_try; then 34399 elif $ac_last_try; then
34547 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 34400 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34548 else 34401 else
34549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 34402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34550 fi 34403 fi
@@ -34633,20 +34486,28 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34633else 34486else
34634 cat 34487 cat
34635fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 34488fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
34636 || as_fn_error "could not setup config files machinery" "$LINENO" 5 34489 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34637_ACEOF 34490_ACEOF
34638 34491
34639# VPATH may cause trouble with some makes, so we remove $(srcdir), 34492# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
34640# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 34493# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
34641# trailing colons and then remove the whole line if VPATH becomes empty 34494# trailing colons and then remove the whole line if VPATH becomes empty
34642# (actually we leave an empty line to preserve line numbers). 34495# (actually we leave an empty line to preserve line numbers).
34643if test "x$srcdir" = x.; then 34496if test "x$srcdir" = x.; then
34644 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 34497 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
34645s/:*\$(srcdir):*/:/ 34498h
34646s/:*\${srcdir}:*/:/ 34499s///
34647s/:*@srcdir@:*/:/ 34500s/^/:/
34648s/^\([^=]*=[ ]*\):*/\1/ 34501s/[ ]*$/:/
34502s/:\$(srcdir):/:/g
34503s/:\${srcdir}:/:/g
34504s/:@srcdir@:/:/g
34505s/^:*//
34649s/:*$// 34506s/:*$//
34507x
34508s/\(=[ ]*\).*/\1/
34509G
34510s/\n//
34650s/^[^=]*=[ ]*$// 34511s/^[^=]*=[ ]*$//
34651}' 34512}'
34652fi 34513fi
@@ -34674,7 +34535,7 @@ for ac_last_try in false false :; do
34674 if test -z "$ac_t"; then 34535 if test -z "$ac_t"; then
34675 break 34536 break
34676 elif $ac_last_try; then 34537 elif $ac_last_try; then
34677 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 34538 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
34678 else 34539 else
34679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 34540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34680 fi 34541 fi
@@ -34759,7 +34620,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34759_ACAWK 34620_ACAWK
34760_ACEOF 34621_ACEOF
34761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 34622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34762 as_fn_error "could not setup config headers machinery" "$LINENO" 5 34623 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
34763fi # test -n "$CONFIG_HEADERS" 34624fi # test -n "$CONFIG_HEADERS"
34764 34625
34765 34626
@@ -34772,7 +34633,7 @@ do
34772 esac 34633 esac
34773 case $ac_mode$ac_tag in 34634 case $ac_mode$ac_tag in
34774 :[FHL]*:*);; 34635 :[FHL]*:*);;
34775 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 34636 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
34776 :[FH]-) ac_tag=-:-;; 34637 :[FH]-) ac_tag=-:-;;
34777 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 34638 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34778 esac 34639 esac
@@ -34800,7 +34661,7 @@ do
34800 [\\/$]*) false;; 34661 [\\/$]*) false;;
34801 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 34662 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34802 esac || 34663 esac ||
34803 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 34664 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
34804 esac 34665 esac
34805 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 34666 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34806 as_fn_append ac_file_inputs " '$ac_f'" 34667 as_fn_append ac_file_inputs " '$ac_f'"
@@ -34827,7 +34688,7 @@ $as_echo "$as_me: creating $ac_file" >&6;}
34827 34688
34828 case $ac_tag in 34689 case $ac_tag in
34829 *:-:* | *:-) cat >"$tmp/stdin" \ 34690 *:-:* | *:-) cat >"$tmp/stdin" \
34830 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 34691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
34831 esac 34692 esac
34832 ;; 34693 ;;
34833 esac 34694 esac
@@ -34964,22 +34825,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
34964$ac_datarootdir_hack 34825$ac_datarootdir_hack
34965" 34826"
34966eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 34827eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
34967 || as_fn_error "could not create $ac_file" "$LINENO" 5 34828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34968 34829
34969test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 34830test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34970 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 34831 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34971 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 34832 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34973which seems to be undefined. Please make sure it is defined." >&5 34834which seems to be undefined. Please make sure it is defined" >&5
34974$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 34835$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34975which seems to be undefined. Please make sure it is defined." >&2;} 34836which seems to be undefined. Please make sure it is defined" >&2;}
34976 34837
34977 rm -f "$tmp/stdin" 34838 rm -f "$tmp/stdin"
34978 case $ac_file in 34839 case $ac_file in
34979 -) cat "$tmp/out" && rm -f "$tmp/out";; 34840 -) cat "$tmp/out" && rm -f "$tmp/out";;
34980 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 34841 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
34981 esac \ 34842 esac \
34982 || as_fn_error "could not create $ac_file" "$LINENO" 5 34843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34983 ;; 34844 ;;
34984 :H) 34845 :H)
34985 # 34846 #
@@ -34990,19 +34851,19 @@ which seems to be undefined. Please make sure it is defined." >&2;}
34990 $as_echo "/* $configure_input */" \ 34851 $as_echo "/* $configure_input */" \
34991 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 34852 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
34992 } >"$tmp/config.h" \ 34853 } >"$tmp/config.h" \
34993 || as_fn_error "could not create $ac_file" "$LINENO" 5 34854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34994 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 34855 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 34856 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
34996$as_echo "$as_me: $ac_file is unchanged" >&6;} 34857$as_echo "$as_me: $ac_file is unchanged" >&6;}
34997 else 34858 else
34998 rm -f "$ac_file" 34859 rm -f "$ac_file"
34999 mv "$tmp/config.h" "$ac_file" \ 34860 mv "$tmp/config.h" "$ac_file" \
35000 || as_fn_error "could not create $ac_file" "$LINENO" 5 34861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35001 fi 34862 fi
35002 else 34863 else
35003 $as_echo "/* $configure_input */" \ 34864 $as_echo "/* $configure_input */" \
35004 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 34865 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
35005 || as_fn_error "could not create -" "$LINENO" 5 34866 || as_fn_error $? "could not create -" "$LINENO" 5
35006 fi 34867 fi
35007# Compute "$ac_file"'s index in $config_headers. 34868# Compute "$ac_file"'s index in $config_headers.
35008_am_arg="$ac_file" 34869_am_arg="$ac_file"
@@ -35960,7 +35821,7 @@ _ACEOF
35960ac_clean_files=$ac_clean_files_save 35821ac_clean_files=$ac_clean_files_save
35961 35822
35962test $ac_write_fail = 0 || 35823test $ac_write_fail = 0 ||
35963 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 35824 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35964 35825
35965 35826
35966# configure is writing to config.log, and then calls config.status. 35827# configure is writing to config.log, and then calls config.status.
@@ -35981,7 +35842,7 @@ if test "$no_create" != yes; then
35981 exec 5>>config.log 35842 exec 5>>config.log
35982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 35843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35983 # would make configure fail if this is the last instruction. 35844 # would make configure fail if this is the last instruction.
35984 $ac_cs_success || as_fn_exit $? 35845 $ac_cs_success || as_fn_exit 1
35985fi 35846fi
35986if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 35847if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 35848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
@@ -36037,8 +35898,7 @@ fi
36037echo " Software GDI...............: $have_evas_engine_software_gdi" 35898echo " Software GDI...............: $have_evas_engine_software_gdi"
36038echo " Software DirectDraw........: $have_evas_engine_software_ddraw" 35899echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
36039echo " Direct3d...................: $have_evas_engine_direct3d" 35900echo " Direct3d...................: $have_evas_engine_direct3d"
36040echo " Software SDL...............: $have_evas_engine_software_sdl (primitive: $sdl_primitive)" 35901echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36041echo $ECHO_N " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36042if test "x$have_evas_engine_gl_sdl" = "xyes"; then 35902if test "x$have_evas_engine_gl_sdl" = "xyes"; then
36043 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)" 35903 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36044else 35904else
diff --git a/libraries/evas/configure.ac b/libraries/evas/configure.ac
index 5424e31..c832384 100644
--- a/libraries/evas/configure.ac
+++ b/libraries/evas/configure.ac
@@ -1,12 +1,12 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [1]) 4m4_define([v_min], [2])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) 7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-07]) 11dnl m4_define([relname], [ver-pre-svn-07])
12dnl m4_define([v_rel], [-release relname]) 12dnl m4_define([v_rel], [-release relname])
@@ -31,7 +31,7 @@ AC_CACHE_CHECK([whether the Objective C compiler works],
31 AC_LANG_POP([Objective C])])], [rw_cv_prog_objc_works=no]) 31 AC_LANG_POP([Objective C])])], [rw_cv_prog_objc_works=no])
32]) 32])
33 33
34AC_INIT([evas], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 34AC_INIT([evas], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
35AC_PREREQ([2.52]) 35AC_PREREQ([2.52])
36AC_CONFIG_SRCDIR([configure.ac]) 36AC_CONFIG_SRCDIR([configure.ac])
37AC_CONFIG_MACRO_DIR([m4]) 37AC_CONFIG_MACRO_DIR([m4])
@@ -98,7 +98,6 @@ want_evas_engine_software_xlib="no"
98want_evas_engine_software_xcb="no" 98want_evas_engine_software_xcb="no"
99want_evas_engine_software_gdi="no" 99want_evas_engine_software_gdi="no"
100want_evas_engine_software_ddraw="no" 100want_evas_engine_software_ddraw="no"
101want_evas_engine_software_sdl="no"
102want_evas_engine_software_8_x11="no" 101want_evas_engine_software_8_x11="no"
103want_evas_engine_software_16_x11="no" 102want_evas_engine_software_16_x11="no"
104want_evas_engine_software_16_ddraw="no" 103want_evas_engine_software_16_ddraw="no"
@@ -244,10 +243,24 @@ case "$host_os" in
244 ;; 243 ;;
245esac 244esac
246 245
246### Checks for portability layer
247
248PKG_CHECK_MODULES([EXOTIC],
249 [exotic],
250 [enable_exotic="yes"],
251 [enable_exotic="no"])
252
253if test "x${enable_exotic}" = "xyes"; then
254 requirement_evas="exotic ${requirement_evas}"
255
256 AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.])
257fi
258AM_CONDITIONAL([EVAS_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
259
247## strong dependencies 260## strong dependencies
248 261
249# Eina 262# Eina
250PKG_CHECK_MODULES([EINA], [eina >= 1.1.0]) 263PKG_CHECK_MODULES([EINA], [eina >= 1.2.0])
251CPPFLAGS_SAVE="$CPPFLAGS" 264CPPFLAGS_SAVE="$CPPFLAGS"
252CPPFLAGS="$CPPFLAGS $EINA_CFLAGS" 265CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
253AC_CHECK_SIZEOF(Eina_Unicode,, [#include <Eina.h>]) 266AC_CHECK_SIZEOF(Eina_Unicode,, [#include <Eina.h>])
@@ -256,7 +269,7 @@ CPPFLAGS="$CPPFLAGS_SAVE"
256# Freetype 269# Freetype
257PKG_CHECK_MODULES([FREETYPE], [freetype2 >= 9.3.0]) 270PKG_CHECK_MODULES([FREETYPE], [freetype2 >= 9.3.0])
258 271
259requirement_evas="freetype2 eina >= 1.1.0 ${requirement_evas}" 272requirement_evas="freetype2 eina >= 1.2.0 ${requirement_evas}"
260 273
261## optional dependencies 274## optional dependencies
262 275
@@ -517,20 +530,6 @@ EFL_ATTRIBUTE_UNUSED
517EFL_ATTRIBUTE_VECTOR 530EFL_ATTRIBUTE_VECTOR
518EFL_ATTRIBUTE_ALWAYS_INLINE 531EFL_ATTRIBUTE_ALWAYS_INLINE
519 532
520WIN32_CPPFLAGS=""
521case "$host_os" in
522 mingw32ce*)
523 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
524 ;;
525 mingw*)
526 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0500"
527 ;;
528esac
529AC_SUBST(WIN32_CPPFLAGS)
530
531WIN32_CFLAGS=""
532AC_SUBST(WIN32_CFLAGS)
533
534 533
535### Checks for linker characteristics 534### Checks for linker characteristics
536lt_enable_auto_import="" 535lt_enable_auto_import=""
@@ -663,7 +662,7 @@ AM_CONDITIONAL([EVAS_CSERVE], [test "x${want_evas_cserve}" = "xyes"])
663gl_flavor_gles="no" 662gl_flavor_gles="no"
664AC_MSG_CHECKING(whether to build GLES flavor of GL) 663AC_MSG_CHECKING(whether to build GLES flavor of GL)
665AC_ARG_ENABLE(gl-flavor-gles, 664AC_ARG_ENABLE(gl-flavor-gles,
666 AC_HELP_STRING([--enable-gl-flavor-gles], [enable gles falvor of gl instead of standard]), 665 AC_HELP_STRING([--enable-gl-flavor-gles], [enable gles flavor of gl instead of standard]),
667 [ 666 [
668 if test "x$enableval" = "xyes" ; then 667 if test "x$enableval" = "xyes" ; then
669 AC_MSG_RESULT(yes) 668 AC_MSG_RESULT(yes)
@@ -748,8 +747,6 @@ EVAS_CHECK_ENGINE([software-ddraw], [${want_evas_engine_software_ddraw}], [no],
748 747
749EVAS_CHECK_ENGINE([direct3d], [${want_evas_engine_direct3d}], [no], [Direct3D]) 748EVAS_CHECK_ENGINE([direct3d], [${want_evas_engine_direct3d}], [no], [Direct3D])
750 749
751EVAS_CHECK_ENGINE([software-sdl], [${want_evas_engine_software_sdl}], [no], [Software SDL])
752
753EVAS_CHECK_ENGINE([psl1ght], [${want_evas_engine_psl1ght}], [no], [PSL1GHT]) 750EVAS_CHECK_ENGINE([psl1ght], [${want_evas_engine_psl1ght}], [no], [PSL1GHT])
754 751
755EVAS_CHECK_ENGINE([gl-sdl], [${want_evas_engine_gl_sdl}], [no], [OpenGL SDL]) 752EVAS_CHECK_ENGINE([gl-sdl], [${want_evas_engine_gl_sdl}], [no], [OpenGL SDL])
@@ -1854,8 +1851,8 @@ AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
1854EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"]) 1851EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
1855 1852
1856EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"]) 1853EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
1857EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS}" 1854EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
1858EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS}" 1855EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
1859if test "x$enable_coverage" = "xyes" ; then 1856if test "x$enable_coverage" = "xyes" ; then
1860 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}" 1857 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
1861fi 1858fi
@@ -1932,7 +1929,6 @@ src/modules/engines/gl_x11/Makefile
1932src/modules/engines/gl_sdl/Makefile 1929src/modules/engines/gl_sdl/Makefile
1933src/modules/engines/gl_cocoa/Makefile 1930src/modules/engines/gl_cocoa/Makefile
1934src/modules/engines/psl1ght/Makefile 1931src/modules/engines/psl1ght/Makefile
1935src/modules/engines/software_sdl/Makefile
1936src/modules/engines/software_8/Makefile 1932src/modules/engines/software_8/Makefile
1937src/modules/engines/software_8_x11/Makefile 1933src/modules/engines/software_8_x11/Makefile
1938src/modules/engines/software_16/Makefile 1934src/modules/engines/software_16/Makefile
@@ -2019,8 +2015,7 @@ fi
2019echo " Software GDI...............: $have_evas_engine_software_gdi" 2015echo " Software GDI...............: $have_evas_engine_software_gdi"
2020echo " Software DirectDraw........: $have_evas_engine_software_ddraw" 2016echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
2021echo " Direct3d...................: $have_evas_engine_direct3d" 2017echo " Direct3d...................: $have_evas_engine_direct3d"
2022echo " Software SDL...............: $have_evas_engine_software_sdl (primitive: $sdl_primitive)" 2018echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
2023echo $ECHO_N " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
2024if test "x$have_evas_engine_gl_sdl" = "xyes"; then 2019if test "x$have_evas_engine_gl_sdl" = "xyes"; then
2025 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)" 2020 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
2026else 2021else
diff --git a/libraries/evas/doc/Makefile.am b/libraries/evas/doc/Makefile.am
index e06ec9d..900c3d9 100644
--- a/libraries/evas/doc/Makefile.am
+++ b/libraries/evas/doc/Makefile.am
@@ -20,6 +20,8 @@ doc: all doc-clean
20 bzip2 -9 $(PACKAGE_DOCNAME).tar 20 bzip2 -9 $(PACKAGE_DOCNAME).tar
21 rm -rf $(PACKAGE_DOCNAME)/ 21 rm -rf $(PACKAGE_DOCNAME)/
22 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir) 22 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
23 @echo "Documentation Package: doc/$(PACKAGE_DOCNAME).tar.bz2"
24 @echo "Documentation HTML: doc/html"
23 25
24clean-local: doc-clean 26clean-local: doc-clean
25 27
diff --git a/libraries/evas/doc/Makefile.in b/libraries/evas/doc/Makefile.in
index 20f2693..a0500c9 100644
--- a/libraries/evas/doc/Makefile.in
+++ b/libraries/evas/doc/Makefile.in
@@ -117,6 +117,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
117EVIL_CFLAGS = @EVIL_CFLAGS@ 117EVIL_CFLAGS = @EVIL_CFLAGS@
118EVIL_LIBS = @EVIL_LIBS@ 118EVIL_LIBS = @EVIL_LIBS@
119EXEEXT = @EXEEXT@ 119EXEEXT = @EXEEXT@
120EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
121EXOTIC_LIBS = @EXOTIC_LIBS@
120FGREP = @FGREP@ 122FGREP = @FGREP@
121FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 123FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
122FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 124FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -167,6 +169,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
167PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 169PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
168PIXMAN_LIBS = @PIXMAN_LIBS@ 170PIXMAN_LIBS = @PIXMAN_LIBS@
169PKG_CONFIG = @PKG_CONFIG@ 171PKG_CONFIG = @PKG_CONFIG@
172PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
173PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
170PNG_CFLAGS = @PNG_CFLAGS@ 174PNG_CFLAGS = @PNG_CFLAGS@
171PNG_LIBS = @PNG_LIBS@ 175PNG_LIBS = @PNG_LIBS@
172RANLIB = @RANLIB@ 176RANLIB = @RANLIB@
@@ -185,8 +189,6 @@ VERSION = @VERSION@
185VMAJ = @VMAJ@ 189VMAJ = @VMAJ@
186WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 190WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
187WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 191WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
188WIN32_CFLAGS = @WIN32_CFLAGS@
189WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
190XCB_CFLAGS = @XCB_CFLAGS@ 192XCB_CFLAGS = @XCB_CFLAGS@
191XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 193XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
192XCB_GL_LIBS = @XCB_GL_LIBS@ 194XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -260,8 +262,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
260evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 262evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
261evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 263evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
262evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 264evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
263evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
264evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
265evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 265evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
266evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 266evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
267evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 267evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -561,6 +561,8 @@ uninstall-am:
561@EFL_BUILD_DOC_TRUE@ bzip2 -9 $(PACKAGE_DOCNAME).tar 561@EFL_BUILD_DOC_TRUE@ bzip2 -9 $(PACKAGE_DOCNAME).tar
562@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME)/ 562@EFL_BUILD_DOC_TRUE@ rm -rf $(PACKAGE_DOCNAME)/
563@EFL_BUILD_DOC_TRUE@ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir) 563@EFL_BUILD_DOC_TRUE@ mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
564@EFL_BUILD_DOC_TRUE@ @echo "Documentation Package: doc/$(PACKAGE_DOCNAME).tar.bz2"
565@EFL_BUILD_DOC_TRUE@ @echo "Documentation HTML: doc/html"
564 566
565@EFL_BUILD_DOC_TRUE@clean-local: doc-clean 567@EFL_BUILD_DOC_TRUE@clean-local: doc-clean
566 568
diff --git a/libraries/evas/doc/img/e_big.png b/libraries/evas/doc/img/e_big.png
index d42aeb4..d42aeb4 100755..100644
--- a/libraries/evas/doc/img/e_big.png
+++ b/libraries/evas/doc/img/e_big.png
Binary files differ
diff --git a/libraries/evas/doc/img/foot_bg.png b/libraries/evas/doc/img/foot_bg.png
index b24f3a4..b24f3a4 100755..100644
--- a/libraries/evas/doc/img/foot_bg.png
+++ b/libraries/evas/doc/img/foot_bg.png
Binary files differ
diff --git a/libraries/evas/doc/img/head_bg.png b/libraries/evas/doc/img/head_bg.png
index 081dc13..081dc13 100755..100644
--- a/libraries/evas/doc/img/head_bg.png
+++ b/libraries/evas/doc/img/head_bg.png
Binary files differ
diff --git a/libraries/evas/doc/img/menu_bg.png b/libraries/evas/doc/img/menu_bg.png
index e978743..e978743 100755..100644
--- a/libraries/evas/doc/img/menu_bg.png
+++ b/libraries/evas/doc/img/menu_bg.png
Binary files differ
diff --git a/libraries/evas/doc/img/menu_bg_current.png b/libraries/evas/doc/img/menu_bg_current.png
index de97c92..de97c92 100755..100644
--- a/libraries/evas/doc/img/menu_bg_current.png
+++ b/libraries/evas/doc/img/menu_bg_current.png
Binary files differ
diff --git a/libraries/evas/doc/img/menu_bg_hover.png b/libraries/evas/doc/img/menu_bg_hover.png
index 3fd851d..3fd851d 100755..100644
--- a/libraries/evas/doc/img/menu_bg_hover.png
+++ b/libraries/evas/doc/img/menu_bg_hover.png
Binary files differ
diff --git a/libraries/evas/doc/img/menu_bg_last.png b/libraries/evas/doc/img/menu_bg_last.png
index 88c116c..88c116c 100755..100644
--- a/libraries/evas/doc/img/menu_bg_last.png
+++ b/libraries/evas/doc/img/menu_bg_last.png
Binary files differ
diff --git a/libraries/evas/doc/img/menu_bg_unsel.png b/libraries/evas/doc/img/menu_bg_unsel.png
index 50e5fd8..50e5fd8 100755..100644
--- a/libraries/evas/doc/img/menu_bg_unsel.png
+++ b/libraries/evas/doc/img/menu_bg_unsel.png
Binary files differ
diff --git a/libraries/evas/evas.pc.in b/libraries/evas/evas.pc.in
index 70755ed..b0d3150 100644
--- a/libraries/evas/evas.pc.in
+++ b/libraries/evas/evas.pc.in
@@ -7,6 +7,6 @@ Name: evas
7Description: Evas canvas display library 7Description: Evas canvas display library
8@pkgconfig_requires_private@: @requirement_evas@ 8@pkgconfig_requires_private@: @requirement_evas@
9Version: @VERSION@ 9Version: @VERSION@
10Libs: -L${libdir} -levas 10Libs: -L${libdir} -levas @EINA_LIBS@
11Libs.private: @EFL_FNMATCH_LIBS@ @pthread_libs@ 11Libs.private: @EFL_FNMATCH_LIBS@ @pthread_libs@
12Cflags: -I${includedir}/evas-@VMAJ@ 12Cflags: -I${includedir}/evas-@VMAJ@ @EINA_CFLAGS@
diff --git a/libraries/evas/evas.spec b/libraries/evas/evas.spec
index fe04f2e..2939060 100644
--- a/libraries/evas/evas.spec
+++ b/libraries/evas/evas.spec
@@ -85,7 +85,7 @@
85 85
86Summary: Multi-platform Canvas Library 86Summary: Multi-platform Canvas Library
87Name: evas 87Name: evas
88Version: 1.1.99.67344 88Version: 1.2.0-alpha
89Release: %{_rel} 89Release: %{_rel}
90License: BSD 90License: BSD
91Group: System Environment/Libraries 91Group: System Environment/Libraries
diff --git a/libraries/evas/ltmain.sh b/libraries/evas/ltmain.sh
index 7ed280b..fa4b1e1 100755
--- a/libraries/evas/ltmain.sh
+++ b/libraries/evas/ltmain.sh
@@ -65,7 +65,7 @@
65# compiler: $LTCC 65# compiler: $LTCC
66# compiler flags: $LTCFLAGS 66# compiler flags: $LTCFLAGS
67# linker: $LD (gnu? $with_gnu_ld) 67# linker: $LD (gnu? $with_gnu_ld)
68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1 68# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
69# automake: $automake_version 69# automake: $automake_version
70# autoconf: $autoconf_version 70# autoconf: $autoconf_version
71# 71#
@@ -73,7 +73,7 @@
73 73
74PROGRAM=ltmain.sh 74PROGRAM=ltmain.sh
75PACKAGE=libtool 75PACKAGE=libtool
76VERSION="2.2.6b Debian-2.2.6b-2ubuntu1" 76VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
77TIMESTAMP="" 77TIMESTAMP=""
78package_revision=1.3017 78package_revision=1.3017
79 79
diff --git a/libraries/evas/m4/efl_attribute.m4 b/libraries/evas/m4/efl_attribute.m4
index aeb6a68..1f3a040 100644
--- a/libraries/evas/m4/efl_attribute.m4
+++ b/libraries/evas/m4/efl_attribute.m4
@@ -67,7 +67,7 @@ AC_COMPILE_IFELSE(
67 [AC_LANG_PROGRAM( 67 [AC_LANG_PROGRAM(
68 [[ 68 [[
69#include <windows.h> 69#include <windows.h>
70__forceinline void foo(void) {} 70static __forceinline void foo(void) {}
71 ]], 71 ]],
72 [[ 72 [[
73 ]])], 73 ]])],
@@ -84,7 +84,7 @@ if test "x${have_attribute_always_inline}" = "xno" ; then
84 AC_COMPILE_IFELSE( 84 AC_COMPILE_IFELSE(
85 [AC_LANG_PROGRAM( 85 [AC_LANG_PROGRAM(
86 [[ 86 [[
87__attribute__((__always_inline__)) inline void foo(void) {} 87static __attribute__((__always_inline__)) inline void foo(void) {}
88 ]], 88 ]],
89 [[ 89 [[
90 ]])], 90 ]])],
diff --git a/libraries/evas/m4/efl_fnmatch.m4 b/libraries/evas/m4/efl_fnmatch.m4
index a92ac6b..c857046 100644
--- a/libraries/evas/m4/efl_fnmatch.m4
+++ b/libraries/evas/m4/efl_fnmatch.m4
@@ -13,7 +13,7 @@ AC_CHECK_HEADER([fnmatch.h], [_efl_have_fnmatch="yes"], [_efl_have_fnmatch="no"]
13 13
14if test "x${_efl_have_fnmatch}" = "xyes" ; then 14if test "x${_efl_have_fnmatch}" = "xyes" ; then
15 AC_SEARCH_LIBS([fnmatch], 15 AC_SEARCH_LIBS([fnmatch],
16 [fnmatch evil iberty], 16 [fnmatch evil exotic iberty],
17 [_efl_have_fnmatch="yes"], 17 [_efl_have_fnmatch="yes"],
18 [_efl_have_fnmatch="no"]) 18 [_efl_have_fnmatch="no"])
19fi 19fi
diff --git a/libraries/evas/m4/evas_check_engine.m4 b/libraries/evas/m4/evas_check_engine.m4
index 4fc13a9..6275795 100644
--- a/libraries/evas/m4/evas_check_engine.m4
+++ b/libraries/evas/m4/evas_check_engine.m4
@@ -131,7 +131,7 @@ if test "x$gl_flavor_gles" = "xyes" ; then
131fi 131fi
132 132
133if test "x${have_dep}" = "xyes" ; then 133if test "x${have_dep}" = "xyes" ; then
134 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 134 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
135 if test "x${have_dep}" = "xyes" ; then 135 if test "x${have_dep}" = "xyes" ; then
136 if test "x$2" = "xyes" ; then 136 if test "x$2" = "xyes" ; then
137 x_libs="${x_libs} -lX11 -lXext -lXrender" 137 x_libs="${x_libs} -lX11 -lXext -lXrender"
@@ -168,13 +168,12 @@ else
168 if test "x${have_egl}" = "xyes" ; then 168 if test "x${have_egl}" = "xyes" ; then
169 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib) 169 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib)
170 if test "x${have_glesv2}" = "xyes" ; then 170 if test "x${have_glesv2}" = "xyes" ; then
171 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 171 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
172 if test "x${have_dep}" = "xyes" ; then 172 if test "x${have_dep}" = "xyes" ; then
173 evas_engine_[]$1[]_cflags="${x_cflags}" 173 evas_engine_[]$1[]_cflags="${x_cflags}"
174 evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib" 174 evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
175 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 175 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
176 have_dep="yes" 176 have_dep="yes"
177 gl_flavor_gles="no"
178 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support]) 177 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
179 gles_variety_sgx="yes" 178 gles_variety_sgx="yes"
180 fi 179 fi
@@ -306,7 +305,7 @@ if test "x$gl_flavor_gles" = "xyes" ; then
306fi 305fi
307 306
308if test "x${have_dep}" = "xyes" ; then 307if test "x${have_dep}" = "xyes" ; then
309 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 308 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
310 if test "x${have_dep}" = "xyes" ; then 309 if test "x${have_dep}" = "xyes" ; then
311 if test "x$2" = "xyes" ; then 310 if test "x$2" = "xyes" ; then
312 x_libs="${x_libs} -lX11 -lXext -lXrender" 311 x_libs="${x_libs} -lX11 -lXext -lXrender"
@@ -338,13 +337,12 @@ else
338 if test "x${have_egl}" = "xyes" ; then 337 if test "x${have_egl}" = "xyes" ; then
339 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib) 338 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib)
340 if test "x${have_glesv2}" = "xyes" ; then 339 if test "x${have_glesv2}" = "xyes" ; then
341 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 340 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
342 if test "x${have_dep}" = "xyes" ; then 341 if test "x${have_dep}" = "xyes" ; then
343 evas_engine_[]$1[]_cflags="${XCB_GL_CFLAGS} ${x_cflags}" 342 evas_engine_[]$1[]_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
344 evas_engine_[]$1[]_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib" 343 evas_engine_[]$1[]_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
345 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 344 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
346 have_dep="yes" 345 have_dep="yes"
347 gl_flavor_gles="no"
348 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support]) 346 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
349 gles_variety_sgx="yes" 347 gles_variety_sgx="yes"
350 fi 348 fi
@@ -483,7 +481,7 @@ LIBS="$LIBS_save"
483AC_LANG_POP([Objective C]) 481AC_LANG_POP([Objective C])
484 482
485if test "x${have_dep}" = "xyes" ; then 483if test "x${have_dep}" = "xyes" ; then
486 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 484 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
487fi 485fi
488 486
489AC_SUBST([evas_engine_$1_cflags]) 487AC_SUBST([evas_engine_$1_cflags])
@@ -497,43 +495,6 @@ fi
497 495
498]) 496])
499 497
500
501dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
502
503AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_SDL],
504[
505
506requirement=""
507have_dep="no"
508evas_engine_[]$1[]_cflags=""
509evas_engine_[]$1[]_libs=""
510
511PKG_CHECK_MODULES([SDL],
512 [sdl >= 1.2.0],
513 [
514 have_dep="yes"
515 requirement="sdl"
516 evas_engine_[]$1[]_cflags="${SDL_CFLAGS}"
517 evas_engine_[]$1[]_libs="${SDL_LIBS}"
518 ]
519)
520
521AC_SUBST([evas_engine_$1_cflags])
522AC_SUBST([evas_engine_$1_libs])
523
524if test "x$3" = "xstatic" ; then
525 requirement_evas="${requirement} ${requirement_evas}"
526fi
527
528if test "x${have_dep}" = "xyes" ; then
529 m4_default([$4], [:])
530else
531 m4_default([$5], [:])
532fi
533
534])
535
536
537dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 498dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
538 499
539AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL], 500AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL],
@@ -645,7 +606,6 @@ else
645 evas_engine_[]$1[]_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib" 606 evas_engine_[]$1[]_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
646 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 607 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
647 have_dep="yes" 608 have_dep="yes"
648 gl_flavor_gles="no"
649 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support]) 609 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
650 gles_variety_sgx="yes" 610 gles_variety_sgx="yes"
651 fi 611 fi
@@ -918,16 +878,12 @@ PKG_CHECK_MODULES([WAYLAND_EGL],
918) 878)
919 879
920if test "x${have_dep}" = "xyes" ; then 880if test "x${have_dep}" = "xyes" ; then
921 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 881 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
922 AC_CHECK_HEADER([GLES2/gl2.h], 882 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL -lm)
923 [have_egl="yes"], 883 if test "x${have_glesv2}" = "xyes" ; then
924 [have_egl="no"], 884 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
925 [ 885 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
926 ]) 886 fi
927 if test "x${have_egl}" = "xyes" ; then
928 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
929 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
930 fi
931fi 887fi
932 888
933AC_SUBST([evas_engine_$1_cflags]) 889AC_SUBST([evas_engine_$1_cflags])
diff --git a/libraries/evas/m4/evas_check_loader.m4 b/libraries/evas/m4/evas_check_loader.m4
index e1fb5a9..a265094 100644
--- a/libraries/evas/m4/evas_check_loader.m4
+++ b/libraries/evas/m4/evas_check_loader.m4
@@ -37,7 +37,7 @@ have_dep="no"
37evas_image_loader_[]$1[]_cflags="" 37evas_image_loader_[]$1[]_cflags=""
38evas_image_loader_[]$1[]_libs="" 38evas_image_loader_[]$1[]_libs=""
39 39
40PKG_CHECK_MODULES([EET], [eet >= 1.5.0], [have_dep="yes" requirement="eet >= 1.4.0"], [have_dep="no"]) 40PKG_CHECK_MODULES([EET], [eet >= 1.6.0], [have_dep="yes" requirement="eet >= 1.4.0"], [have_dep="no"])
41evas_image_loader_[]$1[]_cflags="${EET_CFLAGS}" 41evas_image_loader_[]$1[]_cflags="${EET_CFLAGS}"
42evas_image_loader_[]$1[]_libs="${EET_LIBS}" 42evas_image_loader_[]$1[]_libs="${EET_LIBS}"
43 43
@@ -542,7 +542,7 @@ AC_MSG_CHECKING([whether to enable Eet font loader])
542AC_MSG_RESULT([${want_loader}]) 542AC_MSG_RESULT([${want_loader}])
543 543
544if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then 544if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
545 PKG_CHECK_MODULES([EET], [eet >= 1.5.0], [have_evas_font_loader_eet="yes"], [have_evas_font_loader_eet="no"]) 545 PKG_CHECK_MODULES([EET], [eet >= 1.6.0], [have_evas_font_loader_eet="yes"], [have_evas_font_loader_eet="no"])
546fi 546fi
547 547
548if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then 548if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
@@ -551,7 +551,7 @@ fi
551 551
552if test "x$have_evas_font_loader_eet" = "xyes" ; then 552if test "x$have_evas_font_loader_eet" = "xyes" ; then
553 AC_DEFINE([BUILD_FONT_LOADER_EET], [1], [EET Font Loader Support]) 553 AC_DEFINE([BUILD_FONT_LOADER_EET], [1], [EET Font Loader Support])
554 requirement_evas="eet >= 1.5.0 ${requirement_evas}" 554 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
555fi 555fi
556 556
557popdef([UP]) 557popdef([UP])
diff --git a/libraries/evas/src/Makefile.in b/libraries/evas/src/Makefile.in
index 68cdb12..a40ffc2 100644
--- a/libraries/evas/src/Makefile.in
+++ b/libraries/evas/src/Makefile.in
@@ -156,6 +156,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
156EVIL_CFLAGS = @EVIL_CFLAGS@ 156EVIL_CFLAGS = @EVIL_CFLAGS@
157EVIL_LIBS = @EVIL_LIBS@ 157EVIL_LIBS = @EVIL_LIBS@
158EXEEXT = @EXEEXT@ 158EXEEXT = @EXEEXT@
159EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
160EXOTIC_LIBS = @EXOTIC_LIBS@
159FGREP = @FGREP@ 161FGREP = @FGREP@
160FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 162FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
161FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 163FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -206,6 +208,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
206PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 208PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
207PIXMAN_LIBS = @PIXMAN_LIBS@ 209PIXMAN_LIBS = @PIXMAN_LIBS@
208PKG_CONFIG = @PKG_CONFIG@ 210PKG_CONFIG = @PKG_CONFIG@
211PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209PNG_CFLAGS = @PNG_CFLAGS@ 213PNG_CFLAGS = @PNG_CFLAGS@
210PNG_LIBS = @PNG_LIBS@ 214PNG_LIBS = @PNG_LIBS@
211RANLIB = @RANLIB@ 215RANLIB = @RANLIB@
@@ -224,8 +228,6 @@ VERSION = @VERSION@
224VMAJ = @VMAJ@ 228VMAJ = @VMAJ@
225WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 229WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
226WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 230WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
227WIN32_CFLAGS = @WIN32_CFLAGS@
228WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
229XCB_CFLAGS = @XCB_CFLAGS@ 231XCB_CFLAGS = @XCB_CFLAGS@
230XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 232XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
231XCB_GL_LIBS = @XCB_GL_LIBS@ 233XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -299,8 +301,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
299evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 301evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
300evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 302evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
301evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 303evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
302evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
303evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/bin/Makefile.am b/libraries/evas/src/bin/Makefile.am
index 987e14b..7159eaa 100644
--- a/libraries/evas/src/bin/Makefile.am
+++ b/libraries/evas/src/bin/Makefile.am
@@ -18,8 +18,6 @@ AM_CPPFLAGS = \
18@pthread_cflags@ \ 18@pthread_cflags@ \
19@PIXMAN_CFLAGS@ 19@PIXMAN_CFLAGS@
20 20
21AM_CFLAGS = @WIN32_CFLAGS@
22
23bin_PROGRAMS = evas_cserve evas_cserve_tool 21bin_PROGRAMS = evas_cserve evas_cserve_tool
24 22
25evas_cserve_SOURCES = \ 23evas_cserve_SOURCES = \
diff --git a/libraries/evas/src/bin/Makefile.in b/libraries/evas/src/bin/Makefile.in
index 136b34c..1a23abe 100644
--- a/libraries/evas/src/bin/Makefile.in
+++ b/libraries/evas/src/bin/Makefile.in
@@ -162,6 +162,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
162EVIL_CFLAGS = @EVIL_CFLAGS@ 162EVIL_CFLAGS = @EVIL_CFLAGS@
163EVIL_LIBS = @EVIL_LIBS@ 163EVIL_LIBS = @EVIL_LIBS@
164EXEEXT = @EXEEXT@ 164EXEEXT = @EXEEXT@
165EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
166EXOTIC_LIBS = @EXOTIC_LIBS@
165FGREP = @FGREP@ 167FGREP = @FGREP@
166FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 168FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
167FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 169FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -212,6 +214,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
212PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 214PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
213PIXMAN_LIBS = @PIXMAN_LIBS@ 215PIXMAN_LIBS = @PIXMAN_LIBS@
214PKG_CONFIG = @PKG_CONFIG@ 216PKG_CONFIG = @PKG_CONFIG@
217PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
218PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
215PNG_CFLAGS = @PNG_CFLAGS@ 219PNG_CFLAGS = @PNG_CFLAGS@
216PNG_LIBS = @PNG_LIBS@ 220PNG_LIBS = @PNG_LIBS@
217RANLIB = @RANLIB@ 221RANLIB = @RANLIB@
@@ -230,8 +234,6 @@ VERSION = @VERSION@
230VMAJ = @VMAJ@ 234VMAJ = @VMAJ@
231WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 235WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
232WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 236WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
233WIN32_CFLAGS = @WIN32_CFLAGS@
234WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
235XCB_CFLAGS = @XCB_CFLAGS@ 237XCB_CFLAGS = @XCB_CFLAGS@
236XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 238XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
237XCB_GL_LIBS = @XCB_GL_LIBS@ 239XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -305,8 +307,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
305evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 307evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
306evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 308evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
307evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 309evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
308evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
309evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
310evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 310evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
311evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 311evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
312evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 312evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -406,7 +406,6 @@ MAINTAINERCLEANFILES = Makefile.in
406@EVAS_CSERVE_TRUE@@pthread_cflags@ \ 406@EVAS_CSERVE_TRUE@@pthread_cflags@ \
407@EVAS_CSERVE_TRUE@@PIXMAN_CFLAGS@ 407@EVAS_CSERVE_TRUE@@PIXMAN_CFLAGS@
408 408
409@EVAS_CSERVE_TRUE@AM_CFLAGS = @WIN32_CFLAGS@
410@EVAS_CSERVE_TRUE@evas_cserve_SOURCES = \ 409@EVAS_CSERVE_TRUE@evas_cserve_SOURCES = \
411@EVAS_CSERVE_TRUE@evas_cserve_main.c 410@EVAS_CSERVE_TRUE@evas_cserve_main.c
412 411
diff --git a/libraries/evas/src/bin/evas_cserve_main.c b/libraries/evas/src/bin/evas_cserve_main.c
index 7d4d95a..92718da 100644
--- a/libraries/evas/src/bin/evas_cserve_main.c
+++ b/libraries/evas/src/bin/evas_cserve_main.c
@@ -642,10 +642,9 @@ mem_cache_adjust(void)
642{ 642{
643 int pval = cache_max_adjust; 643 int pval = cache_max_adjust;
644 int max = 0; 644 int max = 0;
645 int mem_used;
646 645
647 if (mem_total <= 0) return; 646 if (mem_total <= 0) return;
648 mem_used = mem_total - mem_free - mem_cached - mem_buffers; 647 //int mem_used = mem_total - mem_free - mem_cached - mem_buffers;
649#if 0 // this lets the image cache to grow to fill all real free ram, if 648#if 0 // this lets the image cache to grow to fill all real free ram, if
650 // there is any (ie ram unused by disk cache) 649 // there is any (ie ram unused by disk cache)
651 if (mem_free < mem_total) 650 if (mem_free < mem_total)
diff --git a/libraries/evas/src/examples/Makefile.am b/libraries/evas/src/examples/Makefile.am
index ffa9274..a52e3f8 100644
--- a/libraries/evas/src/examples/Makefile.am
+++ b/libraries/evas/src/examples/Makefile.am
@@ -26,8 +26,6 @@ AM_CPPFLAGS = \
26@FONTCONFIG_CFLAGS@ \ 26@FONTCONFIG_CFLAGS@ \
27@pthread_cflags@ 27@pthread_cflags@
28 28
29AM_CFLAGS = @WIN32_CFLAGS@
30
31examples_PROGRAMS = 29examples_PROGRAMS =
32 30
33if BUILD_ENGINE_BUFFER 31if BUILD_ENGINE_BUFFER
diff --git a/libraries/evas/src/examples/Makefile.in b/libraries/evas/src/examples/Makefile.in
index f58d297..1cc1108 100644
--- a/libraries/evas/src/examples/Makefile.in
+++ b/libraries/evas/src/examples/Makefile.in
@@ -289,6 +289,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
289EVIL_CFLAGS = @EVIL_CFLAGS@ 289EVIL_CFLAGS = @EVIL_CFLAGS@
290EVIL_LIBS = @EVIL_LIBS@ 290EVIL_LIBS = @EVIL_LIBS@
291EXEEXT = @EXEEXT@ 291EXEEXT = @EXEEXT@
292EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
293EXOTIC_LIBS = @EXOTIC_LIBS@
292FGREP = @FGREP@ 294FGREP = @FGREP@
293FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 295FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
294FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 296FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -339,6 +341,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
339PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 341PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
340PIXMAN_LIBS = @PIXMAN_LIBS@ 342PIXMAN_LIBS = @PIXMAN_LIBS@
341PKG_CONFIG = @PKG_CONFIG@ 343PKG_CONFIG = @PKG_CONFIG@
344PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
345PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
342PNG_CFLAGS = @PNG_CFLAGS@ 346PNG_CFLAGS = @PNG_CFLAGS@
343PNG_LIBS = @PNG_LIBS@ 347PNG_LIBS = @PNG_LIBS@
344RANLIB = @RANLIB@ 348RANLIB = @RANLIB@
@@ -357,8 +361,6 @@ VERSION = @VERSION@
357VMAJ = @VMAJ@ 361VMAJ = @VMAJ@
358WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 362WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
359WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 363WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
360WIN32_CFLAGS = @WIN32_CFLAGS@
361WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
362XCB_CFLAGS = @XCB_CFLAGS@ 364XCB_CFLAGS = @XCB_CFLAGS@
363XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 365XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
364XCB_GL_LIBS = @XCB_GL_LIBS@ 366XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -432,8 +434,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
432evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 434evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
433evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 435evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
434evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 436evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
435evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
436evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
437evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 437evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
438evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 438evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
439evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 439evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -539,7 +539,6 @@ files_DATA = $(am__append_3) $(am__append_4)
539@BUILD_EXAMPLES_TRUE@ @pthread_cflags@ $(am__append_1) \ 539@BUILD_EXAMPLES_TRUE@ @pthread_cflags@ $(am__append_1) \
540@BUILD_EXAMPLES_TRUE@ @ECORE_EVAS_CFLAGS@ @EDJE_CFLAGS@ \ 540@BUILD_EXAMPLES_TRUE@ @ECORE_EVAS_CFLAGS@ @EDJE_CFLAGS@ \
541@BUILD_EXAMPLES_TRUE@ $(am__empty) 541@BUILD_EXAMPLES_TRUE@ $(am__empty)
542@BUILD_EXAMPLES_TRUE@AM_CFLAGS = @WIN32_CFLAGS@
543@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_SOURCES = evas-buffer-simple.c 542@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_SOURCES = evas-buffer-simple.c
544@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_LDADD = $(top_builddir)/src/lib/libevas.la 543@BUILD_ENGINE_BUFFER_TRUE@@BUILD_EXAMPLES_TRUE@evas_buffer_simple_LDADD = $(top_builddir)/src/lib/libevas.la
545@BUILD_EXAMPLES_TRUE@evas_init_shutdown_SOURCES = evas-init-shutdown.c 544@BUILD_EXAMPLES_TRUE@evas_init_shutdown_SOURCES = evas-init-shutdown.c
diff --git a/libraries/evas/src/examples/evas-box.c b/libraries/evas/src/examples/evas-box.c
index 13f12cf..ec79535 100644
--- a/libraries/evas/src/examples/evas-box.c
+++ b/libraries/evas/src/examples/evas-box.c
@@ -5,7 +5,7 @@
5 * one). See stdout/stderr for output. 5 * one). See stdout/stderr for output.
6 * 6 *
7 * @verbatim 7 * @verbatim
8 * gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas` 8 * gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina`
9 * @endverbatim 9 * @endverbatim
10 */ 10 */
11 11
diff --git a/libraries/evas/src/examples/evas-hints.c b/libraries/evas/src/examples/evas-hints.c
index c42444c..78c09ba 100644
--- a/libraries/evas/src/examples/evas-hints.c
+++ b/libraries/evas/src/examples/evas-hints.c
@@ -16,6 +16,8 @@
16 16
17#ifdef HAVE_CONFIG_H 17#ifdef HAVE_CONFIG_H
18#include "config.h" 18#include "config.h"
19#else
20#define __UNUSED__
19#endif 21#endif
20 22
21#include <Ecore.h> 23#include <Ecore.h>
@@ -27,6 +29,7 @@
27 29
28#define WIDTH 320 30#define WIDTH 320
29#define HEIGHT 480 31#define HEIGHT 480
32#define PACKAGE_EXAMPLES_DIR "."
30 33
31static const char commands[] = \ 34static const char commands[] = \
32 "commands are:\n" 35 "commands are:\n"
diff --git a/libraries/evas/src/lib/Evas.h b/libraries/evas/src/lib/Evas.h
index b85bbeb..67d3018 100644
--- a/libraries/evas/src/lib/Evas.h
+++ b/libraries/evas/src/lib/Evas.h
@@ -2,9 +2,10 @@
2@mainpage Evas 2@mainpage Evas
3 3
4@version 1.1 4@version 1.1
5@date 2000-2011 5@date 2000-2012
6 6
7Please see the @ref authors page for contact details. 7Please see the @ref authors page for contact details.
8@link Evas.h Evas API @endlink
8 9
9@link Evas.h Evas API @endlink 10@link Evas.h Evas API @endlink
10 11
@@ -489,7 +490,7 @@ typedef enum _Evas_Event_Flags
489{ 490{
490 EVAS_EVENT_FLAG_NONE = 0, /**< No fancy flags set */ 491 EVAS_EVENT_FLAG_NONE = 0, /**< No fancy flags set */
491 EVAS_EVENT_FLAG_ON_HOLD = (1 << 0), /**< This event is being delivered but should be put "on hold" until the on hold flag is unset. the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */ 492 EVAS_EVENT_FLAG_ON_HOLD = (1 << 0), /**< This event is being delivered but should be put "on hold" until the on hold flag is unset. the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */
492 EVAS_EVENT_FLAG_ON_SCROLL = (1 << 1) /**< This event flag indicates the event occurs while scrolling; for exameple, DOWN event occurs during scrolling; the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */ 493 EVAS_EVENT_FLAG_ON_SCROLL = (1 << 1) /**< This event flag indicates the event occurs while scrolling; for example, DOWN event occurs during scrolling; the event should be used for informational purposes and maybe some indications visually, but not actually perform anything */
493} Evas_Event_Flags; /**< Flags for Events */ 494} Evas_Event_Flags; /**< Flags for Events */
494 495
495/** 496/**
@@ -501,7 +502,7 @@ typedef enum _Evas_Touch_Point_State
501 EVAS_TOUCH_POINT_UP, /**< Touch point is released */ 502 EVAS_TOUCH_POINT_UP, /**< Touch point is released */
502 EVAS_TOUCH_POINT_MOVE, /**< Touch point is moved */ 503 EVAS_TOUCH_POINT_MOVE, /**< Touch point is moved */
503 EVAS_TOUCH_POINT_STILL, /**< Touch point is not moved after pressed */ 504 EVAS_TOUCH_POINT_STILL, /**< Touch point is not moved after pressed */
504 EVAS_TOUCH_POINT_CANCEL /**< Touch point is calcelled */ 505 EVAS_TOUCH_POINT_CANCEL /**< Touch point is cancelled */
505} Evas_Touch_Point_State; 506} Evas_Touch_Point_State;
506 507
507/** 508/**
@@ -527,7 +528,7 @@ typedef enum _Evas_Colorspace
527 EVAS_COLORSPACE_YCBCR422P709_PL,/**< YCbCr 4:2:2 Planar, ITU.BT-709 specifications. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb, then Cr rows */ 528 EVAS_COLORSPACE_YCBCR422P709_PL,/**< YCbCr 4:2:2 Planar, ITU.BT-709 specifications. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb, then Cr rows */
528 EVAS_COLORSPACE_RGB565_A5P, /**< 16bit rgb565 + Alpha plane at end - 5 bits of the 8 being used per alpha byte */ 529 EVAS_COLORSPACE_RGB565_A5P, /**< 16bit rgb565 + Alpha plane at end - 5 bits of the 8 being used per alpha byte */
529 EVAS_COLORSPACE_GRY8, /**< 8bit grayscale */ 530 EVAS_COLORSPACE_GRY8, /**< 8bit grayscale */
530 EVAS_COLORSPACE_YCBCR422601_PL, /**< YCbCr 4:2:2, ITU.BT-601 specifications. The data poitned to is just an array of row pointer, pointing to line of Y,Cb,Y,Cr bytes */ 531 EVAS_COLORSPACE_YCBCR422601_PL, /**< YCbCr 4:2:2, ITU.BT-601 specifications. The data pointed to is just an array of row pointer, pointing to line of Y,Cb,Y,Cr bytes */
531 EVAS_COLORSPACE_YCBCR420NV12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb,Cr rows. */ 532 EVAS_COLORSPACE_YCBCR420NV12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of row pointer, pointing to the Y rows, then the Cb,Cr rows. */
532 EVAS_COLORSPACE_YCBCR420TM12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of tiled row pointer, pointing to the Y rows, then the Cb,Cr rows. */ 533 EVAS_COLORSPACE_YCBCR420TM12601_PL, /**< YCbCr 4:2:0, ITU.BT-601 specification. The data pointed to is just an array of tiled row pointer, pointing to the Y rows, then the Cb,Cr rows. */
533} Evas_Colorspace; /**< Colorspaces for pixel data supported by Evas */ 534} Evas_Colorspace; /**< Colorspaces for pixel data supported by Evas */
@@ -536,7 +537,7 @@ typedef enum _Evas_Colorspace
536 * How to pack items into cells in a table. 537 * How to pack items into cells in a table.
537 * @ingroup Evas_Object_Table 538 * @ingroup Evas_Object_Table
538 * 539 *
539 * @see evas_object_table_homogeneous_set() for an explanation of the funcion of 540 * @see evas_object_table_homogeneous_set() for an explanation of the function of
540 * each one. 541 * each one.
541 */ 542 */
542typedef enum _Evas_Object_Table_Homogeneous_Mode 543typedef enum _Evas_Object_Table_Homogeneous_Mode
@@ -693,7 +694,7 @@ typedef enum _Evas_Load_Error
693 EVAS_LOAD_ERROR_NONE = 0, /**< No error on load */ 694 EVAS_LOAD_ERROR_NONE = 0, /**< No error on load */
694 EVAS_LOAD_ERROR_GENERIC = 1, /**< A non-specific error occurred */ 695 EVAS_LOAD_ERROR_GENERIC = 1, /**< A non-specific error occurred */
695 EVAS_LOAD_ERROR_DOES_NOT_EXIST = 2, /**< File (or file path) does not exist */ 696 EVAS_LOAD_ERROR_DOES_NOT_EXIST = 2, /**< File (or file path) does not exist */
696 EVAS_LOAD_ERROR_PERMISSION_DENIED = 3, /**< Permission deinied to an existing file (or path) */ 697 EVAS_LOAD_ERROR_PERMISSION_DENIED = 3, /**< Permission denied to an existing file (or path) */
697 EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 4, /**< Allocation of resources failure prevented load */ 698 EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 4, /**< Allocation of resources failure prevented load */
698 EVAS_LOAD_ERROR_CORRUPT_FILE = 5, /**< File corrupt (but was detected as a known format) */ 699 EVAS_LOAD_ERROR_CORRUPT_FILE = 5, /**< File corrupt (but was detected as a known format) */
699 EVAS_LOAD_ERROR_UNKNOWN_FORMAT = 6 /**< File is not a known format */ 700 EVAS_LOAD_ERROR_UNKNOWN_FORMAT = 6 /**< File is not a known format */
@@ -721,7 +722,7 @@ typedef enum _Evas_Pixel_Import_Pixel_Format
721{ 722{
722 EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */ 723 EVAS_PIXEL_FORMAT_NONE = 0, /**< No pixel format */
723 EVAS_PIXEL_FORMAT_ARGB32 = 1, /**< ARGB 32bit pixel format with A in the high byte per 32bit pixel word */ 724 EVAS_PIXEL_FORMAT_ARGB32 = 1, /**< ARGB 32bit pixel format with A in the high byte per 32bit pixel word */
724 EVAS_PIXEL_FORMAT_YUV420P_601 = 2 /**< YUV 420 Planar format with CCIR 601 color encoding wuth contiguous planes in the order Y, U and V */ 725 EVAS_PIXEL_FORMAT_YUV420P_601 = 2 /**< YUV 420 Planar format with CCIR 601 color encoding with contiguous planes in the order Y, U and V */
725} Evas_Pixel_Import_Pixel_Format; /**< Pixel format for import call. See evas_object_image_pixels_import() */ 726} Evas_Pixel_Import_Pixel_Format; /**< Pixel format for import call. See evas_object_image_pixels_import() */
726 727
727struct _Evas_Pixel_Import_Source 728struct _Evas_Pixel_Import_Source
@@ -809,10 +810,10 @@ typedef enum _Evas_Render_Op
809 EVAS_RENDER_BLEND_REL = 1, /**< d = d*(1 - sa) + s*da */ 810 EVAS_RENDER_BLEND_REL = 1, /**< d = d*(1 - sa) + s*da */
810 EVAS_RENDER_COPY = 2, /**< d = s */ 811 EVAS_RENDER_COPY = 2, /**< d = s */
811 EVAS_RENDER_COPY_REL = 3, /**< d = s*da */ 812 EVAS_RENDER_COPY_REL = 3, /**< d = s*da */
812 EVAS_RENDER_ADD = 4, /**< d = d + s */ 813 EVAS_RENDER_ADD = 4, /* d = d + s */
813 EVAS_RENDER_ADD_REL = 5, /**< d = d + s*da */ 814 EVAS_RENDER_ADD_REL = 5, /**< d = d + s*da */
814 EVAS_RENDER_SUB = 6, /**< d = d - s */ 815 EVAS_RENDER_SUB = 6, /**< d = d - s */
815 EVAS_RENDER_SUB_REL = 7, /**< d = d - s*da */ 816 EVAS_RENDER_SUB_REL = 7, /* d = d - s*da */
816 EVAS_RENDER_TINT = 8, /**< d = d*s + d*(1 - sa) + s*(1 - da) */ 817 EVAS_RENDER_TINT = 8, /**< d = d*s + d*(1 - sa) + s*(1 - da) */
817 EVAS_RENDER_TINT_REL = 9, /**< d = d*(1 - sa + s) */ 818 EVAS_RENDER_TINT_REL = 9, /**< d = d*(1 - sa + s) */
818 EVAS_RENDER_MASK = 10, /**< d = d*sa */ 819 EVAS_RENDER_MASK = 10, /**< d = d*sa */
@@ -1280,7 +1281,7 @@ EAPI Eina_Bool evas_async_events_put (const void *target, Ev
1280 * directly, too, and not yet with its @b objects. They are the 1281 * directly, too, and not yet with its @b objects. They are the
1281 * functions you need to use at a minimum to get a working canvas. 1282 * functions you need to use at a minimum to get a working canvas.
1282 * 1283 *
1283 * Some of the funcions in this group are exemplified @ref 1284 * Some of the functions in this group are exemplified @ref
1284 * Example_Evas_Events "here". 1285 * Example_Evas_Events "here".
1285 */ 1286 */
1286 1287
@@ -1422,13 +1423,13 @@ EAPI void evas_damage_rectangle_add (Evas *e, int x, int y,
1422 * was just after this function took place. 1423 * was just after this function took place.
1423 * 1424 *
1424 * We call it "obscured region" because the most common use case for 1425 * We call it "obscured region" because the most common use case for
1425 * this rendering (partial) freeze is something else (most problaby 1426 * this rendering (partial) freeze is something else (most probably
1426 * other canvas) being on top of the specified rectangular region, 1427 * other canvas) being on top of the specified rectangular region,
1427 * thus shading it completely from the user's final scene in a 1428 * thus shading it completely from the user's final scene in a
1428 * display. To avoid unnecessary processing, one should indicate to the 1429 * display. To avoid unnecessary processing, one should indicate to the
1429 * obscured canvas not to bother about the non-important area. 1430 * obscured canvas not to bother about the non-important area.
1430 * 1431 *
1431 * The majority of users won't have to worry about this funcion, as 1432 * The majority of users won't have to worry about this function, as
1432 * they'll be using just one canvas in their applications, with 1433 * they'll be using just one canvas in their applications, with
1433 * nothing inset or on top of it in any form. 1434 * nothing inset or on top of it in any form.
1434 * 1435 *
@@ -2077,7 +2078,7 @@ EAPI void evas_pointer_canvas_xy_get (const Evas *e, Evas_Co
2077 * Returns a bitmask with the mouse buttons currently pressed, set to 1 2078 * Returns a bitmask with the mouse buttons currently pressed, set to 1
2078 * 2079 *
2079 * @param e The pointer to the Evas Canvas 2080 * @param e The pointer to the Evas Canvas
2080 * @return A bitmask of the currently depressed buttons on the cavas 2081 * @return A bitmask of the currently depressed buttons on the canvas
2081 * @ingroup Evas_Pointer_Group 2082 * @ingroup Evas_Pointer_Group
2082 * 2083 *
2083 * Calling this function will return a 32-bit integer with the 2084 * Calling this function will return a 32-bit integer with the
@@ -2150,7 +2151,7 @@ EAPI Eina_Bool evas_pointer_inside_get (const Evas *e) EINA_WA
2150 * its internal states changing (an object got focused, the rendering 2151 * its internal states changing (an object got focused, the rendering
2151 * is updated, etc). 2152 * is updated, etc).
2152 * 2153 *
2153 * Some of the funcions in this group are exemplified @ref 2154 * Some of the functions in this group are exemplified @ref
2154 * Example_Evas_Events "here". 2155 * Example_Evas_Events "here".
2155 * 2156 *
2156 * @ingroup Evas_Canvas 2157 * @ingroup Evas_Canvas
@@ -2308,14 +2309,14 @@ EAPI void *evas_event_callback_del_full (Evas *e, Evas_Callb
2308 * @param data The data pointer to be passed to the callback 2309 * @param data The data pointer to be passed to the callback
2309 * 2310 *
2310 * Evas has a stack of callbacks that get called after all the callbacks for 2311 * Evas has a stack of callbacks that get called after all the callbacks for
2311 * an event have triggered (all the objects it triggers on and al the callbacks 2312 * an event have triggered (all the objects it triggers on and all the callbacks
2312 * in each object triggered). When all these have been called, the stack is 2313 * in each object triggered). When all these have been called, the stack is
2313 * unwond from most recently to least recently pushed item and removed from the 2314 * unwond from most recently to least recently pushed item and removed from the
2314 * stack calling the callback set for it. 2315 * stack calling the callback set for it.
2315 * 2316 *
2316 * This is intended for doing reverse logic-like processing, example - when a 2317 * This is intended for doing reverse logic-like processing, example - when a
2317 * child object that happens to get the event later is meant to be able to 2318 * child object that happens to get the event later is meant to be able to
2318 * "steal" functions from a parent and thus on unwind of this stack hav its 2319 * "steal" functions from a parent and thus on unwind of this stack have its
2319 * function called first, thus being able to set flags, or return 0 from the 2320 * function called first, thus being able to set flags, or return 0 from the
2320 * post-callback that stops all other post-callbacks in the current stack from 2321 * post-callback that stops all other post-callbacks in the current stack from
2321 * being called (thus basically allowing a child to take control, if the event 2322 * being called (thus basically allowing a child to take control, if the event
@@ -2359,7 +2360,7 @@ EAPI void evas_post_event_callback_remove_full (Evas *e, Evas_Objec
2359 * an Evas canvas. 2360 * an Evas canvas.
2360 * 2361 *
2361 * There might be scenarios during a graphical user interface 2362 * There might be scenarios during a graphical user interface
2362 * program's use when the developer whishes the users wouldn't be able 2363 * program's use when the developer wishes the users wouldn't be able
2363 * to deliver input events to this application. It may, for example, 2364 * to deliver input events to this application. It may, for example,
2364 * be the time for it to populate a view or to change some 2365 * be the time for it to populate a view or to change some
2365 * layout. Assuming proper behavior with user interaction during this 2366 * layout. Assuming proper behavior with user interaction during this
@@ -2367,7 +2368,14 @@ EAPI void evas_post_event_callback_remove_full (Evas *e, Evas_Objec
2367 * programmer can then tell the canvas to ignore input events, 2368 * programmer can then tell the canvas to ignore input events,
2368 * bringing it back to normal behavior when he/she wants. 2369 * bringing it back to normal behavior when he/she wants.
2369 * 2370 *
2370 * Some of the funcions in this group are exemplified @ref 2371 * Most of the time use of freezing events is done like this:
2372 * @code
2373 * evas_event_freeze(my_evas_canvas);
2374 * function_that_does_work_which_cant_be_interrupted_by_events();
2375 * evas_event_thaw(my_evas_canvas);
2376 * @endcode
2377 *
2378 * Some of the functions in this group are exemplified @ref
2371 * Example_Evas_Events "here". 2379 * Example_Evas_Events "here".
2372 * 2380 *
2373 * @ingroup Evas_Canvas_Events 2381 * @ingroup Evas_Canvas_Events
@@ -2416,7 +2424,7 @@ EAPI Evas_Event_Flags evas_event_default_flags_get (const Evas *e) EINA_AR
2416 * of this kind during the freeze will get @b discarded. Every freeze 2424 * of this kind during the freeze will get @b discarded. Every freeze
2417 * call must be matched by a thaw call in order to completely thaw out 2425 * call must be matched by a thaw call in order to completely thaw out
2418 * a canvas (i.e. these calls may be nested). The most common use is 2426 * a canvas (i.e. these calls may be nested). The most common use is
2419 * when you don't want the user to interect with your user interface 2427 * when you don't want the user to interact with your user interface
2420 * when you're populating a view or changing the layout. 2428 * when you're populating a view or changing the layout.
2421 * 2429 *
2422 * Example: 2430 * Example:
@@ -2494,13 +2502,18 @@ EAPI void evas_event_thaw_eval (Evas *e) EINA_ARG_NONN
2494 * Functions to tell Evas that input events happened and should be 2502 * Functions to tell Evas that input events happened and should be
2495 * processed. 2503 * processed.
2496 * 2504 *
2505 * @warning Most of the time these functions are @b not what you're looking for.
2506 * These functions should only be used if you're not working with ecore evas(or
2507 * another input handling system). If you're not using ecore evas please
2508 * consider using it, in most situation it will make life a lot easier.
2509 *
2497 * As explained in @ref intro_not_evas, Evas does not know how to poll 2510 * As explained in @ref intro_not_evas, Evas does not know how to poll
2498 * for input events, so the developer should do it and then feed such 2511 * for input events, so the developer should do it and then feed such
2499 * events to the canvas to be processed. This is only required if 2512 * events to the canvas to be processed. This is only required if
2500 * operating Evas directly. Modules such as Ecore_Evas do that for 2513 * operating Evas directly. Modules such as Ecore_Evas do that for
2501 * you. 2514 * you.
2502 * 2515 *
2503 * Some of the funcions in this group are exemplified @ref 2516 * Some of the functions in this group are exemplified @ref
2504 * Example_Evas_Events "here". 2517 * Example_Evas_Events "here".
2505 * 2518 *
2506 * @ingroup Evas_Canvas_Events 2519 * @ingroup Evas_Canvas_Events
@@ -2928,7 +2941,7 @@ EAPI const Eina_List *evas_font_path_list (const Evas *e) EINA_WA
2928 * - textblock and 2941 * - textblock and
2929 * - image. 2942 * - image.
2930 * 2943 *
2931 * These functions apply to @b any Evas object, whichever type thay 2944 * These functions apply to @b any Evas object, whichever type that
2932 * may have. 2945 * may have.
2933 * 2946 *
2934 * @note The built-in types which are most used are rectangles, text 2947 * @note The built-in types which are most used are rectangles, text
@@ -2939,14 +2952,21 @@ EAPI const Eina_List *evas_font_path_list (const Evas *e) EINA_WA
2939/** 2952/**
2940 * @defgroup Evas_Object_Group_Basic Basic Object Manipulation 2953 * @defgroup Evas_Object_Group_Basic Basic Object Manipulation
2941 * 2954 *
2942 * Methods that are broadly used, like those that change the color, 2955 * Almost every evas object created will have some generic function used to
2943 * clippers and geometry of an Evas object. 2956 * manipulate it. That's because there are a number of basic actions to be done
2944 * 2957 * to objects that are irrespective of the object's type, things like:
2945 * An example on the most used functions in this group can be seen @ref 2958 * @li Showing/Hiding
2946 * Example_Evas_Object_Manipulation "here". 2959 * @li Setting(and getting) geometry
2947 * 2960 * @li Bring up or down a layer
2948 * For function dealing with stacking, the examples are gathered @ref 2961 * @li Color management
2949 * Example_Evas_Stacking "here". 2962 * @li Handling focus
2963 * @li Clipping
2964 * @li Reference counting
2965 *
2966 * All of this issues are handled through the functions here grouped. Examples
2967 * of these function can be seen in @ref Example_Evas_Object_Manipulation(which
2968 * deals with the most common ones) and in @ref Example_Evas_Stacking(which
2969 * deals with stacking functions).
2950 * 2970 *
2951 * @ingroup Evas_Object_Group 2971 * @ingroup Evas_Object_Group
2952 */ 2972 */
@@ -3444,7 +3464,7 @@ EAPI void evas_object_hide (Evas_Object *obj) EINA
3444 * @return @c EINA_TRUE if the object is visible, @c EINA_FALSE 3464 * @return @c EINA_TRUE if the object is visible, @c EINA_FALSE
3445 * otherwise. 3465 * otherwise.
3446 * 3466 *
3447 * This retrieves an object's visibily as the one enforced by 3467 * This retrieves an object's visibility as the one enforced by
3448 * evas_object_show() and evas_object_hide(). 3468 * evas_object_show() and evas_object_hide().
3449 * 3469 *
3450 * @note The value returned isn't, by any means, influenced by 3470 * @note The value returned isn't, by any means, influenced by
@@ -3492,7 +3512,7 @@ EAPI void evas_object_color_set (Evas_Object *obj, int
3492 * Retrieves the “main” color's RGB component (and alpha channel) 3512 * Retrieves the “main” color's RGB component (and alpha channel)
3493 * values, <b>which range from 0 to 255</b>. For the alpha channel, 3513 * values, <b>which range from 0 to 255</b>. For the alpha channel,
3494 * which defines the object's transparency level, 0 means totally 3514 * which defines the object's transparency level, 0 means totally
3495 * trasparent, while 255 means opaque. These color values are 3515 * transparent, while 255 means opaque. These color values are
3496 * premultiplied by the alpha value. 3516 * premultiplied by the alpha value.
3497 * 3517 *
3498 * Usually you’ll use this attribute for text and rectangle objects, 3518 * Usually you’ll use this attribute for text and rectangle objects,
@@ -4406,7 +4426,7 @@ EAPI Eina_Bool evas_object_freeze_events_get(const Evas_Object *obj) EIN
4406 * @image rtf map-uv-mapping-1.png 4426 * @image rtf map-uv-mapping-1.png
4407 * @image latex map-uv-mapping-1.eps 4427 * @image latex map-uv-mapping-1.eps
4408 * 4428 *
4409 * Images need some special handlign when mapped. Evas can easily take care 4429 * Images need some special handling when mapped. Evas can easily take care
4410 * of objects and do almost anything with them, but it's completely oblivious 4430 * of objects and do almost anything with them, but it's completely oblivious
4411 * to the content of images, so each point in the map needs to be told to what 4431 * to the content of images, so each point in the map needs to be told to what
4412 * pixel in the source image it belongs. Failing to do may sometimes result 4432 * pixel in the source image it belongs. Failing to do may sometimes result
@@ -4572,7 +4592,7 @@ EAPI void evas_object_map_set (Evas_Object *obj, cons
4572 * Get current object transformation map. 4592 * Get current object transformation map.
4573 * 4593 *
4574 * This returns the current internal map set on the indicated object. It is 4594 * This returns the current internal map set on the indicated object. It is
4575 * intended for read-only acces and is only valid as long as the object is 4595 * intended for read-only access and is only valid as long as the object is
4576 * not deleted or the map on the object is not changed. If you wish to modify 4596 * not deleted or the map on the object is not changed. If you wish to modify
4577 * the map and set it back do the following: 4597 * the map and set it back do the following:
4578 * 4598 *
@@ -4678,7 +4698,7 @@ EAPI void evas_map_util_points_color_set (Evas_Map *
4678 * 4698 *
4679 * This rotates the indicated map's coordinates around the center coordinate 4699 * This rotates the indicated map's coordinates around the center coordinate
4680 * given by @p cx and @p cy as the rotation center. The points will have their 4700 * given by @p cx and @p cy as the rotation center. The points will have their
4681 * X and Y coordinates rotated clockwise by @p degrees degress (360.0 is a 4701 * X and Y coordinates rotated clockwise by @p degrees degrees (360.0 is a
4682 * full rotation). Negative values for degrees will rotate counter-clockwise 4702 * full rotation). Negative values for degrees will rotate counter-clockwise
4683 * by that amount. All coordinates are canvas global coordinates. 4703 * by that amount. All coordinates are canvas global coordinates.
4684 * 4704 *
@@ -4698,7 +4718,7 @@ EAPI void evas_map_util_rotate (Evas_Map *
4698 * Like evas_map_util_rotate(), this zooms the points of the map from a center 4718 * Like evas_map_util_rotate(), this zooms the points of the map from a center
4699 * point. That center is defined by @p cx and @p cy. The @p zoomx and @p zoomy 4719 * point. That center is defined by @p cx and @p cy. The @p zoomx and @p zoomy
4700 * parameters specify how much to zoom in the X and Y direction respectively. 4720 * parameters specify how much to zoom in the X and Y direction respectively.
4701 * A value of 1.0 means "don't zoom". 2.0 means "dobule the size". 0.5 is 4721 * A value of 1.0 means "don't zoom". 2.0 means "double the size". 0.5 is
4702 * "half the size" etc. All coordinates are canvas global coordinates. 4722 * "half the size" etc. All coordinates are canvas global coordinates.
4703 * 4723 *
4704 * @param m map to change. 4724 * @param m map to change.
@@ -4723,9 +4743,9 @@ EAPI void evas_map_util_zoom (Evas_Map *
4723 * evas_map_util_rotate() you provide a center point to rotate around (in 3D). 4743 * evas_map_util_rotate() you provide a center point to rotate around (in 3D).
4724 * 4744 *
4725 * @param m map to change. 4745 * @param m map to change.
4726 * @param dx amount of degrees from 0.0 to 360.0 to rotate arount X axis. 4746 * @param dx amount of degrees from 0.0 to 360.0 to rotate around X axis.
4727 * @param dy amount of degrees from 0.0 to 360.0 to rotate arount Y axis. 4747 * @param dy amount of degrees from 0.0 to 360.0 to rotate around Y axis.
4728 * @param dz amount of degrees from 0.0 to 360.0 to rotate arount Z axis. 4748 * @param dz amount of degrees from 0.0 to 360.0 to rotate around Z axis.
4729 * @param cx rotation's center horizontal position. 4749 * @param cx rotation's center horizontal position.
4730 * @param cy rotation's center vertical position. 4750 * @param cy rotation's center vertical position.
4731 * @param cz rotation's center vertical position. 4751 * @param cz rotation's center vertical position.
@@ -4794,8 +4814,8 @@ EAPI void evas_map_util_3d_lighting (Evas_Map *
4794 * This applies a given perspective (3D) to the map coordinates. X, Y and Z 4814 * This applies a given perspective (3D) to the map coordinates. X, Y and Z
4795 * values are used. The px and py points specify the "infinite distance" point 4815 * values are used. The px and py points specify the "infinite distance" point
4796 * in the 3D conversion (where all lines converge to like when artists draw 4816 * in the 3D conversion (where all lines converge to like when artists draw
4797 * 3D by hand). The @p z0 value specifis the z value at which there is a 1:1 4817 * 3D by hand). The @p z0 value specifies the z value at which there is a 1:1
4798 * mapping between spatial coorinates and screen coordinates. Any points 4818 * mapping between spatial coordinates and screen coordinates. Any points
4799 * on this z value will not have their X and Y values modified in the transform. 4819 * on this z value will not have their X and Y values modified in the transform.
4800 * Those further away (Z value higher) will shrink into the distance, and 4820 * Those further away (Z value higher) will shrink into the distance, and
4801 * those less than this value will expand and become bigger. The @p foc value 4821 * those less than this value will expand and become bigger. The @p foc value
@@ -4805,8 +4825,8 @@ EAPI void evas_map_util_3d_lighting (Evas_Map *
4805 * control and @p foc must be greater than 0. 4825 * control and @p foc must be greater than 0.
4806 * 4826 *
4807 * @param m map to change. 4827 * @param m map to change.
4808 * @param px The pespective distance X coordinate 4828 * @param px The perspective distance X coordinate
4809 * @param py The pespective distance Y coordinate 4829 * @param py The perspective distance Y coordinate
4810 * @param z0 The "0" z plane value 4830 * @param z0 The "0" z plane value
4811 * @param foc The focal distance 4831 * @param foc The focal distance
4812 */ 4832 */
@@ -4885,7 +4905,7 @@ EAPI void evas_map_alpha_set (Evas_Map *m, Eina_Bool
4885/** 4905/**
4886 * get the alpha flag for map rendering 4906 * get the alpha flag for map rendering
4887 * 4907 *
4888 * This gets the alph flag for map rendering. 4908 * This gets the alpha flag for map rendering.
4889 * 4909 *
4890 * @param m map to get the alpha from. Must not be NULL. 4910 * @param m map to get the alpha from. Must not be NULL.
4891 */ 4911 */
@@ -4926,17 +4946,17 @@ EAPI int evas_map_count_get (const Evas_Map *m) EINA
4926 * 4946 *
4927 * This sets the fixed point's coordinate in the map. Note that points 4947 * This sets the fixed point's coordinate in the map. Note that points
4928 * describe the outline of a quadrangle and are ordered either clockwise 4948 * describe the outline of a quadrangle and are ordered either clockwise
4929 * or anit-clock-wise. It is suggested to keep your quadrangles concave and 4949 * or anti-clock-wise. It is suggested to keep your quadrangles concave and
4930 * non-complex, though these polygon modes may work, they may not render 4950 * non-complex, though these polygon modes may work, they may not render
4931 * a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 4951 * a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2,
4932 * 2 and 3, and 3 and 0 to describe the edges of the quandrangle. 4952 * 2 and 3, and 3 and 0 to describe the edges of the quadrangle.
4933 * 4953 *
4934 * The X and Y and Z coordinates are in canvas units. Z is optional and may 4954 * The X and Y and Z coordinates are in canvas units. Z is optional and may
4935 * or may not be honored in drawing. Z is a hint and does not affect the 4955 * or may not be honored in drawing. Z is a hint and does not affect the
4936 * X and Y rendered coordinates. It may be used for calculating fills with 4956 * X and Y rendered coordinates. It may be used for calculating fills with
4937 * perspective correct rendering. 4957 * perspective correct rendering.
4938 * 4958 *
4939 * Remember all coordinates are canvas global ones like with move and reize 4959 * Remember all coordinates are canvas global ones like with move and resize
4940 * in evas. 4960 * in evas.
4941 * 4961 *
4942 * @param m map to change point. Must not be @c NULL. 4962 * @param m map to change point. Must not be @c NULL.
@@ -5466,7 +5486,7 @@ EAPI void evas_object_size_hint_padding_set (Evas_Object *obj, Evas
5466 * 5486 *
5467 * @param obj The object to attach the data pointer to 5487 * @param obj The object to attach the data pointer to
5468 * @param key The string key for the data to access it 5488 * @param key The string key for the data to access it
5469 * @param data The ponter to the data to be attached 5489 * @param data The pointer to the data to be attached
5470 * 5490 *
5471 * This attaches the pointer @p data to the object @p obj, given the 5491 * This attaches the pointer @p data to the object @p obj, given the
5472 * access string @p key. This pointer will stay "hooked" to the object 5492 * access string @p key. This pointer will stay "hooked" to the object
@@ -6124,13 +6144,99 @@ EAPI void *evas_object_intercept_move_callback_del (Evas_Obje
6124 * 6144 *
6125 * @brief Function to create evas rectangle objects. 6145 * @brief Function to create evas rectangle objects.
6126 * 6146 *
6127 * This function may seem useless given there are no functions to manipulate 6147 * There is only one function to deal with rectangle objects, this may make this
6128 * the created rectangle, however the rectangle is actually very useful and can 6148 * function seem useless given there are no functions to manipulate the created
6129 * be manipulate using the generic @ref Evas_Object_Group 6149 * rectangle, however the rectangle is actually very useful and should be
6130 * "evas object functions". 6150 * manipulated using the generic @ref Evas_Object_Group "evas object functions".
6151 *
6152 * The evas rectangle server a number of key functions when working on evas
6153 * programs:
6154 * @li Background
6155 * @li Debugging
6156 * @li Clipper
6157 *
6158 * @section Background
6131 * 6159 *
6132 * For an example of use of an evas_object_rectangle see @ref 6160 * One extremely common requirement of evas programs is to have a solid color
6133 * Example_Evas_Object_Manipulation "here". 6161 * background, this can be accomplished with the following very simple code:
6162 * @code
6163 * Evas_Object *bg = evas_object_rectangle_add(evas_canvas);
6164 * //Here we set the rectangles red, green, blue and opacity levels
6165 * evas_object_color_set(bg, 255, 255, 255, 255); // opaque white background
6166 * evas_object_resize(bg, WIDTH, HEIGHT); // covers full canvas
6167 * evas_object_show(bg);
6168 * @endcode
6169 *
6170 * This however will have issues if the @c evas_canvas is resized, however most
6171 * windows are created using ecore evas and that has a solution to using the
6172 * rectangle as a background:
6173 * @code
6174 * Evas_Object *bg = evas_object_rectangle_add(ecore_evas_get(ee));
6175 * //Here we set the rectangles red, green, blue and opacity levels
6176 * evas_object_color_set(bg, 255, 255, 255, 255); // opaque white background
6177 * evas_object_resize(bg, WIDTH, HEIGHT); // covers full canvas
6178 * evas_object_show(bg);
6179 * ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
6180 * @endcode
6181 * So this gives us a white background to our window that will be resized
6182 * together with it.
6183 *
6184 * @section Debugging
6185 *
6186 * Debugging is a major part of any programmers task and when debugging visual
6187 * issues with evas programs the rectangle is an extremely useful tool. The
6188 * rectangle's simplicity means that it's easier to pinpoint issues with it than
6189 * with more complex objects. Therefore a common technique to use when writing
6190 * an evas program and not getting the desired visual result is to replace the
6191 * misbehaving object for a solid color rectangle and seeing how it interacts
6192 * with the other elements, this often allows us to notice clipping, parenting
6193 * or positioning issues. Once the issues have been identified and corrected the
6194 * rectangle can be replaced for the original part and in all likelihood any
6195 * remaining issues will be specific to that object's type.
6196 *
6197 * @section clipping Clipping
6198 *
6199 * Clipping serves two main functions:
6200 * @li Limiting visibility(i.e. hiding portions of an object).
6201 * @li Applying a layer of color to an object.
6202 *
6203 * @subsection hiding Limiting visibility
6204 *
6205 * It is often necessary to show only parts of an object, while it may be
6206 * possible to create an object that corresponds only to the part that must be
6207 * shown(and it isn't always possible) it's usually easier to use a a clipper. A
6208 * clipper is a rectangle that defines what's visible and what is not. The way
6209 * to do this is to create a solid white rectangle(which is the default, no need
6210 * to call evas_object_color_set()) and give it a position and size of what
6211 * should be visible. The following code exemplifies showing the center half of
6212 * @c my_evas_object:
6213 * @code
6214 * Evas_Object *clipper = evas_object_rectangle_add(evas_canvas);
6215 * evas_object_move(clipper, my_evas_object_x / 4, my_evas_object_y / 4);
6216 * evas_object_resize(clipper, my_evas_object_width / 2, my_evas_object_height / 2);
6217 * evas_object_clip_set(my_evas_object, clipper);
6218 * evas_object_show(clipper);
6219 * @endcode
6220 *
6221 * @subsection color Layer of color
6222 *
6223 * In the @ref clipping section we used a solid white clipper, which produced no
6224 * change in the color of the clipped object, it just hid what was outside the
6225 * clippers area. It is however sometimes desirable to change the of color an
6226 * object, this can be accomplished using a clipper that has a non-white color.
6227 * Clippers with color work by multiplying the colors of clipped object. The
6228 * following code will show how to remove all the red from an object:
6229 * @code
6230 * Evas_Object *clipper = evas_object_rectangle_add(evas);
6231 * evas_object_move(clipper, my_evas_object_x, my_evas_object_y);
6232 * evas_object_resize(clipper, my_evas_object_width, my_evas_object_height);
6233 * evas_object_color_set(clipper, 0, 255, 255, 255);
6234 * evas_object_clip_set(obj, clipper);
6235 * evas_object_show(clipper);
6236 * @endcode
6237 *
6238 * For an example that more fully exercise the use of an evas object rectangle
6239 * see @ref Example_Evas_Object_Manipulation.
6134 * 6240 *
6135 * @ingroup Evas_Object_Specific 6241 * @ingroup Evas_Object_Specific
6136 */ 6242 */
@@ -6172,7 +6278,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6172 * object's area</b> with that given pixel data. One could use just a 6278 * object's area</b> with that given pixel data. One could use just a
6173 * sub-region of the original image or even have it tiled repeatedly 6279 * sub-region of the original image or even have it tiled repeatedly
6174 * on the image object. For the common case of having the whole source 6280 * on the image object. For the common case of having the whole source
6175 * image to be displayed on the image object, streched to the 6281 * image to be displayed on the image object, stretched to the
6176 * destination's size, there's also a function helper, to be used 6282 * destination's size, there's also a function helper, to be used
6177 * instead of evas_object_image_fill_set(): 6283 * instead of evas_object_image_fill_set():
6178 * @code 6284 * @code
@@ -6208,7 +6314,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6208 * at a given image, at full size, and will desire that the navigation 6314 * at a given image, at full size, and will desire that the navigation
6209 * to the adjacent images on his/her album be fluid and fast. Thus, 6315 * to the adjacent images on his/her album be fluid and fast. Thus,
6210 * while displaying a given image, the program can be on the 6316 * while displaying a given image, the program can be on the
6211 * background loading the next and previous imagens already, so that 6317 * background loading the next and previous images already, so that
6212 * displaying them on the sequence is just a matter of repainting the 6318 * displaying them on the sequence is just a matter of repainting the
6213 * screen (and not decoding image data). 6319 * screen (and not decoding image data).
6214 * 6320 *
@@ -6247,7 +6353,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6247 * are also some tips on how to boost the performance of your 6353 * are also some tips on how to boost the performance of your
6248 * application. If the animation involves resizing of an image (thus, 6354 * application. If the animation involves resizing of an image (thus,
6249 * re-scaling), you'd better turn off smooth scaling on it @b during 6355 * re-scaling), you'd better turn off smooth scaling on it @b during
6250 * the animation, turning it back on afterwrads, for less 6356 * the animation, turning it back on afterwards, for less
6251 * computations. Also, in this case you'd better flag the image object 6357 * computations. Also, in this case you'd better flag the image object
6252 * in question not to cache scaled versions of it: 6358 * in question not to cache scaled versions of it:
6253 * @code 6359 * @code
@@ -6290,7 +6396,7 @@ EAPI Evas_Object *evas_object_rectangle_add (Evas *e) EINA_WARN_UNU
6290 * your own data as an image's pixel data, fetch an image's pixel data 6396 * your own data as an image's pixel data, fetch an image's pixel data
6291 * for saving/altering, convert images between different color spaces 6397 * for saving/altering, convert images between different color spaces
6292 * and even advanced operations like setting a native surface as image 6398 * and even advanced operations like setting a native surface as image
6293 * objecs' data. 6399 * objects' data.
6294 * 6400 *
6295 * @section Evas_Object_Image_Color_Spaces Color spaces 6401 * @section Evas_Object_Image_Color_Spaces Color spaces
6296 * 6402 *
@@ -6679,7 +6785,7 @@ EAPI double evas_object_image_border_scale_get (const Ev
6679 * 6785 *
6680 * See the following image to better understand the effects of this 6786 * See the following image to better understand the effects of this
6681 * call. On this diagram, both image object and original image source 6787 * call. On this diagram, both image object and original image source
6682 * have @c a x @c a dimentions and the image itself is a circle, with 6788 * have @c a x @c a dimensions and the image itself is a circle, with
6683 * empty space around it: 6789 * empty space around it:
6684 * 6790 *
6685 * @image html image-fill.png 6791 * @image html image-fill.png
@@ -6689,7 +6795,7 @@ EAPI double evas_object_image_border_scale_get (const Ev
6689 * @warning The default values for the fill parameters are @p x = 0, 6795 * @warning The default values for the fill parameters are @p x = 0,
6690 * @p y = 0, @p w = 0 and @p h = 0. Thus, if you're not using the 6796 * @p y = 0, @p w = 0 and @p h = 0. Thus, if you're not using the
6691 * evas_object_image_filled_add() helper and want your image 6797 * evas_object_image_filled_add() helper and want your image
6692 * displayed, you'll have to set valid values with this fuction on 6798 * displayed, you'll have to set valid values with this function on
6693 * your object. 6799 * your object.
6694 * 6800 *
6695 * @note evas_object_image_filled_set() is a helper function which 6801 * @note evas_object_image_filled_set() is a helper function which
@@ -6823,7 +6929,7 @@ EAPI void evas_object_image_data_set (Evas_Obj
6823 * This is best suited for when you want to modify an existing image, 6929 * This is best suited for when you want to modify an existing image,
6824 * without changing its dimensions. 6930 * without changing its dimensions.
6825 * 6931 *
6826 * @note The contents' formart returned by it depend on the color 6932 * @note The contents' format returned by it depend on the color
6827 * space of the given image object. 6933 * space of the given image object.
6828 * 6934 *
6829 * @note You may want to use evas_object_image_data_update_add() to 6935 * @note You may want to use evas_object_image_data_update_add() to
@@ -7022,7 +7128,7 @@ EAPI Eina_Bool evas_object_image_save (const Ev
7022EAPI Eina_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels) EINA_ARG_NONNULL(1, 2); 7128EAPI Eina_Bool evas_object_image_pixels_import (Evas_Object *obj, Evas_Pixel_Import_Source *pixels) EINA_ARG_NONNULL(1, 2);
7023 7129
7024/** 7130/**
7025 * Set the callback function to get pixels from a canva's image. 7131 * Set the callback function to get pixels from a canvas' image.
7026 * 7132 *
7027 * @param obj The given canvas pointer. 7133 * @param obj The given canvas pointer.
7028 * @param func The callback function. 7134 * @param func The callback function.
@@ -7403,7 +7509,7 @@ EAPI Eina_Bool evas_object_image_extension_can_load_get(const char *file);
7403 * Check if a file extension may be supported by @ref Evas_Object_Image. 7509 * Check if a file extension may be supported by @ref Evas_Object_Image.
7404 * 7510 *
7405 * @param file The file to check, it should be an Eina_Stringshare. 7511 * @param file The file to check, it should be an Eina_Stringshare.
7406 * @return EINA_TRUE if we may be able to opeen it, EINA_FALSE if it's unlikely. 7512 * @return EINA_TRUE if we may be able to open it, EINA_FALSE if it's unlikely.
7407 * @since 1.1.0 7513 * @since 1.1.0
7408 * 7514 *
7409 * This functions is threadsafe. 7515 * This functions is threadsafe.
@@ -7607,7 +7713,7 @@ EAPI void evas_object_image_animated_frame_set(Evas_Object *obj, int frame_num);
7607/** 7713/**
7608 * Text style type creation macro. This one will impose shadow 7714 * Text style type creation macro. This one will impose shadow
7609 * directions on the style type variable -- use the @c 7715 * directions on the style type variable -- use the @c
7610 * EVAS_TEXT_STYLE_SHADOW_DIRECTION_* values on 's', incremmentally. 7716 * EVAS_TEXT_STYLE_SHADOW_DIRECTION_* values on 's', incrementally.
7611 */ 7717 */
7612#define EVAS_TEXT_STYLE_SHADOW_DIRECTION_SET(x, s) \ 7718#define EVAS_TEXT_STYLE_SHADOW_DIRECTION_SET(x, s) \
7613 do { x = ((x) & ~EVAS_TEXT_STYLE_MASK_SHADOW_DIRECTION) | (s); } while (0) 7719 do { x = ((x) & ~EVAS_TEXT_STYLE_MASK_SHADOW_DIRECTION) | (s); } while (0)
@@ -7686,7 +7792,7 @@ EAPI const char *evas_object_text_font_source_get (const Evas_Object *obj
7686 * 7792 *
7687 * This function allows the font name and size of a text object to be 7793 * This function allows the font name and size of a text object to be
7688 * set. The @p font string has to follow fontconfig's convention on 7794 * set. The @p font string has to follow fontconfig's convention on
7689 * naming fonts, as it's the underlying lybrary used to query system 7795 * naming fonts, as it's the underlying library used to query system
7690 * fonts by Evas (see the @c fc-list command's output, on your system, 7796 * fonts by Evas (see the @c fc-list command's output, on your system,
7691 * to get an idea). 7797 * to get an idea).
7692 * 7798 *
@@ -8286,6 +8392,40 @@ EAPI void evas_object_textblock_style_set(Evas_Object *o
8286EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 8392EAPI const Evas_Textblock_Style *evas_object_textblock_style_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
8287 8393
8288/** 8394/**
8395 * Push ts to the top of the user style stack.
8396 *
8397 * FIXME: API is solid but currently only supports 1 style in the stack.
8398 *
8399 * The user style overrides the corresponding elements of the regular style.
8400 * This is the proper way to do theme overrides in code.
8401 * @param obj the Evas object to set the style to.
8402 * @param ts the style to set.
8403 * @return Returns no value.
8404 * @see evas_object_textblock_style_set
8405 * @since 1.2.0
8406 */
8407EAPI void evas_object_textblock_style_user_push(Evas_Object *obj, Evas_Textblock_Style *ts) EINA_ARG_NONNULL(1);
8408
8409/**
8410 * Del the from the top of the user style stack.
8411 *
8412 * @param obj the object to get the style from.
8413 * @see evas_object_textblock_style_get
8414 * @since 1.2.0
8415 */
8416EAPI void evas_object_textblock_style_user_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
8417
8418/**
8419 * Get (don't remove) the style at the top of the user style stack.
8420 *
8421 * @param obj the object to get the style from.
8422 * @return the style of the object.
8423 * @see evas_object_textblock_style_get
8424 * @since 1.2.0
8425 */
8426EAPI const Evas_Textblock_Style *evas_object_textblock_style_user_peek(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
8427
8428/**
8289 * @brief Set the "replacement character" to use for the given textblock object. 8429 * @brief Set the "replacement character" to use for the given textblock object.
8290 * 8430 *
8291 * @param obj The given textblock object. 8431 * @param obj The given textblock object.
@@ -8320,7 +8460,7 @@ EAPI void evas_object_textblock_valign_set(Evas_Object *
8320 * @brief Gets the vertical alignment of a textblock 8460 * @brief Gets the vertical alignment of a textblock
8321 * 8461 *
8322 * @param obj The given textblock object. 8462 * @param obj The given textblock object.
8323 * @return The elignment set for the object 8463 * @return The alignment set for the object
8324 * @since 1.1.0 8464 * @since 1.1.0
8325 */ 8465 */
8326EAPI double evas_object_textblock_valign_get(const Evas_Object *obj); 8466EAPI double evas_object_textblock_valign_get(const Evas_Object *obj);
@@ -8524,7 +8664,7 @@ EAPI void evas_textblock_node_format_remove_pair(Evas_Ob
8524 * @param n the format node to update according. 8664 * @param n the format node to update according.
8525 * @deprecated duplicate of evas_textblock_cursor_at_format_set 8665 * @deprecated duplicate of evas_textblock_cursor_at_format_set
8526 */ 8666 */
8527EINA_DEPRECATED EAPI void evas_textblock_cursor_set_at_format(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *n) EINA_ARG_NONNULL(1, 2); 8667EAPI void evas_textblock_cursor_set_at_format(Evas_Textblock_Cursor *cur, const Evas_Object_Textblock_Node_Format *n) EINA_ARG_NONNULL(1, 2);
8528 8668
8529/** 8669/**
8530 * Return the format node at the position pointed by cur. 8670 * Return the format node at the position pointed by cur.
@@ -8847,7 +8987,7 @@ EAPI char *evas_textblock_cursor_content_get(const Evas_T
8847 * get, except for the case of the last char of a line which depends on the 8987 * get, except for the case of the last char of a line which depends on the
8848 * paragraph direction. 8988 * paragraph direction.
8849 * 8989 *
8850 * in '|' cursor mode (i.e a line between two chars) it is very varyable. 8990 * in '|' cursor mode (i.e a line between two chars) it is very variable.
8851 * For example consider the following visual string: 8991 * For example consider the following visual string:
8852 * "abcCBA" (ABC are rtl chars), a cursor pointing on A should actually draw 8992 * "abcCBA" (ABC are rtl chars), a cursor pointing on A should actually draw
8853 * a '|' between the c and the C. 8993 * a '|' between the c and the C.
@@ -9348,7 +9488,7 @@ struct _Evas_Smart_Cb_Description
9348 return; \ 9488 return; \
9349 if (!prefix##_parent_sc) \ 9489 if (!prefix##_parent_sc) \
9350 prefix##_parent_sc = parent_func(); \ 9490 prefix##_parent_sc = parent_func(); \
9351 evas_smart_class_inherit(sc, (const Evas_Smart_Class *)prefix##_parent_sc); \ 9491 evas_smart_class_inherit(sc, prefix##_parent_sc); \
9352 prefix##_smart_set_user(api); \ 9492 prefix##_smart_set_user(api); \
9353 } \ 9493 } \
9354 static Evas_Smart * prefix##_smart_class_new(void) \ 9494 static Evas_Smart * prefix##_smart_class_new(void) \
@@ -9557,7 +9697,7 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s);
9557 * @return 1 on success, 0 on failure. 9697 * @return 1 on success, 0 on failure.
9558 * @ingroup Evas_Smart_Group 9698 * @ingroup Evas_Smart_Group
9559 */ 9699 */
9560#define evas_smart_class_inherit(sc, parent_sc) evas_smart_class_inherit_full(sc, parent_sc, sizeof(*parent_sc)) 9700#define evas_smart_class_inherit(sc, parent_sc) evas_smart_class_inherit_full(sc, (Evas_Smart_Class *)parent_sc, sizeof(*parent_sc))
9561 9701
9562/** 9702/**
9563 * @} 9703 * @}
@@ -9576,13 +9716,13 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s);
9576 * used on the icon object. 9716 * used on the icon object.
9577 * 9717 *
9578 * Besides that, generally smart objects implement a <b>specific 9718 * Besides that, generally smart objects implement a <b>specific
9579 * API</b>, so that users interect with its own custom features. The 9719 * API</b>, so that users interact with its own custom features. The
9580 * API takes form of explicit exported functions one may call and 9720 * API takes form of explicit exported functions one may call and
9581 * <b>smart callbacks</b>. 9721 * <b>smart callbacks</b>.
9582 * 9722 *
9583 * @section Evas_Smart_Object_Group_Callbacks Smart events and callbacks 9723 * @section Evas_Smart_Object_Group_Callbacks Smart events and callbacks
9584 * 9724 *
9585 * Smart objects can elect events (smart events, from now on) ocurring 9725 * Smart objects can elect events (smart events, from now on) occurring
9586 * inside of them to be reported back to their users via callback 9726 * inside of them to be reported back to their users via callback
9587 * functions (smart callbacks). This way, you can extend Evas' own 9727 * functions (smart callbacks). This way, you can extend Evas' own
9588 * object events. They are defined by an <b>event string</b>, which 9728 * object events. They are defined by an <b>event string</b>, which
@@ -9590,7 +9730,7 @@ EAPI int evas_smart_usage_get(const Evas_Smart *s);
9590 * definition for the callback functions: #Evas_Smart_Cb. 9730 * definition for the callback functions: #Evas_Smart_Cb.
9591 * 9731 *
9592 * When defining an #Evas_Smart_Class, smart object implementors are 9732 * When defining an #Evas_Smart_Class, smart object implementors are
9593 * strongly encorauged to properly set the Evas_Smart_Class::callbacks 9733 * strongly encouraged to properly set the Evas_Smart_Class::callbacks
9594 * callbacks description array, so that the users of the smart object 9734 * callbacks description array, so that the users of the smart object
9595 * can have introspection on its events API <b>at run time</b>. 9735 * can have introspection on its events API <b>at run time</b>.
9596 * 9736 *
@@ -9890,7 +10030,7 @@ EAPI void *evas_object_smart_callback_del_full(Evas_Object *obj, con
9890 * object should include a list of possible events and what type of @p 10030 * object should include a list of possible events and what type of @p
9891 * event_info to expect for each of them. Also, when defining an 10031 * event_info to expect for each of them. Also, when defining an
9892 * #Evas_Smart_Class, smart object implementors are strongly 10032 * #Evas_Smart_Class, smart object implementors are strongly
9893 * encorauged to properly set the Evas_Smart_Class::callbacks 10033 * encouraged to properly set the Evas_Smart_Class::callbacks
9894 * callbacks description array, so that the users of the smart object 10034 * callbacks description array, so that the users of the smart object
9895 * can have introspection on its events API <b>at run time</b>. 10035 * can have introspection on its events API <b>at run time</b>.
9896 * 10036 *
@@ -9949,7 +10089,7 @@ EAPI Eina_Bool evas_object_smart_callbacks_descriptions_set(Evas_Object
9949 * @param instance_count Returns how many instance callbacks 10089 * @param instance_count Returns how many instance callbacks
9950 * descriptions are known. 10090 * descriptions are known.
9951 * 10091 *
9952 * This call searchs for registered callback descriptions for both 10092 * This call searches for registered callback descriptions for both
9953 * instance and class of the given smart object. These arrays will be 10093 * instance and class of the given smart object. These arrays will be
9954 * sorted by Evas_Smart_Cb_Description::name and also @c NULL 10094 * sorted by Evas_Smart_Cb_Description::name and also @c NULL
9955 * terminated, so both @a class_count and @a instance_count can be 10095 * terminated, so both @a class_count and @a instance_count can be
@@ -10052,7 +10192,7 @@ EAPI void evas_object_smart_need_recalculate_set(Evas_Object *obj,
10052EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 10192EAPI Eina_Bool evas_object_smart_need_recalculate_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
10053 10193
10054/** 10194/**
10055 * Call the @b calculate() smart function immediataly on a given smart 10195 * Call the @b calculate() smart function immediately on a given smart
10056 * object. 10196 * object.
10057 * 10197 *
10058 * @param obj the smart object's handle 10198 * @param obj the smart object's handle
@@ -10091,7 +10231,7 @@ EAPI void evas_smart_objects_calculate (Evas *e);
10091 * that this function returns the value of. It starts at the value of 0 and 10231 * that this function returns the value of. It starts at the value of 0 and
10092 * will increase (and eventually wrap around to negative values and so on) by 10232 * will increase (and eventually wrap around to negative values and so on) by
10093 * 1 every time objects are calculated. You can use this counter to ensure 10233 * 1 every time objects are calculated. You can use this counter to ensure
10094 * you dont re-do calculations withint the same calculation generation/run 10234 * you don't re-do calculations withint the same calculation generation/run
10095 * if the calculations maybe cause self-feeding effects. 10235 * if the calculations maybe cause self-feeding effects.
10096 * 10236 *
10097 * @ingroup Evas_Smart_Object_Group 10237 * @ingroup Evas_Smart_Object_Group
@@ -10348,7 +10488,7 @@ EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get (void) EINA
10348 Evas_Object_Box_Option *(*prepend) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to prepend child elements in boxes */ 10488 Evas_Object_Box_Option *(*prepend) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to prepend child elements in boxes */
10349 Evas_Object_Box_Option *(*insert_before) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element before another in boxes */ 10489 Evas_Object_Box_Option *(*insert_before) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element before another in boxes */
10350 Evas_Object_Box_Option *(*insert_after) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element after another in boxes */ 10490 Evas_Object_Box_Option *(*insert_after) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, const Evas_Object *reference); /**< Smart function to insert a child element after another in boxes */
10351 Evas_Object_Box_Option *(*insert_at) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, unsigned int pos); /**< Smart function to insert a child element at a given positon on boxes */ 10491 Evas_Object_Box_Option *(*insert_at) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child, unsigned int pos); /**< Smart function to insert a child element at a given position on boxes */
10352 Evas_Object *(*remove) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to remove a child element from boxes */ 10492 Evas_Object *(*remove) (Evas_Object *o, Evas_Object_Box_Data *priv, Evas_Object *child); /**< Smart function to remove a child element from boxes */
10353 Evas_Object *(*remove_at) (Evas_Object *o, Evas_Object_Box_Data *priv, unsigned int pos); /**< Smart function to remove a child element from boxes, by its position */ 10493 Evas_Object *(*remove_at) (Evas_Object *o, Evas_Object_Box_Data *priv, unsigned int pos); /**< Smart function to remove a child element from boxes, by its position */
10354 Eina_Bool (*property_set) (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args); /**< Smart function to set a custom property on a box child */ 10494 Eina_Bool (*property_set) (Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args); /**< Smart function to set a custom property on a box child */
@@ -10472,7 +10612,7 @@ EAPI const Evas_Smart_Class *evas_object_smart_clipped_class_get (void) EINA
10472 * with the default values. May be used to extend that API. 10612 * with the default values. May be used to extend that API.
10473 * 10613 *
10474 * @param api The box API struct to set back, most probably with 10614 * @param api The box API struct to set back, most probably with
10475 * overriden fields (on class extensions scenarios) 10615 * overridden fields (on class extensions scenarios)
10476 */ 10616 */
10477EAPI void evas_object_box_smart_set (Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1); 10617EAPI void evas_object_box_smart_set (Evas_Object_Box_Api *api) EINA_ARG_NONNULL(1);
10478 10618
@@ -10697,7 +10837,7 @@ EAPI void evas_object_box_layout_homogeneous_horizontal
10697 * of this overall child width in its allocated cell (@c 0.0 to 10837 * of this overall child width in its allocated cell (@c 0.0 to
10698 * extreme left, @c 1.0 to extreme right). A value of @c -1.0 to 10838 * extreme left, @c 1.0 to extreme right). A value of @c -1.0 to
10699 * @c align_x makes the box try to resize this child element to the exact 10839 * @c align_x makes the box try to resize this child element to the exact
10700 * width of its cell (respecting the minimun and maximum size hints on 10840 * width of its cell (respecting the minimum and maximum size hints on
10701 * the child's width and accounting for its horizontal padding 10841 * the child's width and accounting for its horizontal padding
10702 * hints). The child's @c padding_t, @c padding_b and @c align_y 10842 * hints). The child's @c padding_t, @c padding_b and @c align_y
10703 * properties apply for padding/alignment relative to the overall 10843 * properties apply for padding/alignment relative to the overall
@@ -10978,7 +11118,7 @@ EAPI Evas_Object_Box_Option *evas_object_box_insert_at
10978 * On removal, you'll get an unparented object again, just as it was 11118 * On removal, you'll get an unparented object again, just as it was
10979 * before you inserted it in the box. The 11119 * before you inserted it in the box. The
10980 * _Evas_Object_Box_Api::option_free box smart callback will be called 11120 * _Evas_Object_Box_Api::option_free box smart callback will be called
10981 * automatilly for you and, also, the @c "child,removed" smart event 11121 * automatically for you and, also, the @c "child,removed" smart event
10982 * will take place. 11122 * will take place.
10983 * 11123 *
10984 * @note This call will trigger the box's _Evas_Object_Box_Api::remove 11124 * @note This call will trigger the box's _Evas_Object_Box_Api::remove
@@ -10997,7 +11137,7 @@ EAPI Eina_Bool evas_object_box_remove
10997 * 11137 *
10998 * On removal, you'll get an unparented object again, just as it was 11138 * On removal, you'll get an unparented object again, just as it was
10999 * before you inserted it in the box. The @c option_free() box smart 11139 * before you inserted it in the box. The @c option_free() box smart
11000 * callback will be called automatilly for you and, also, the 11140 * callback will be called automatically for you and, also, the
11001 * @c "child,removed" smart event will take place. 11141 * @c "child,removed" smart event will take place.
11002 * 11142 *
11003 * @note This function will fail if the given position is invalid, 11143 * @note This function will fail if the given position is invalid,
@@ -11589,8 +11729,8 @@ EAPI Eina_List *evas_object_grid_children_get (const
11589 { 11729 {
11590 int saved_memory; /**< current amount of saved memory, in bytes */ 11730 int saved_memory; /**< current amount of saved memory, in bytes */
11591 int wasted_memory; /**< current amount of wasted memory, in bytes */ 11731 int wasted_memory; /**< current amount of wasted memory, in bytes */
11592 int saved_memory_peak; /**< peak ammount of saved memory, in bytes */ 11732 int saved_memory_peak; /**< peak amount of saved memory, in bytes */
11593 int wasted_memory_peak; /**< peak ammount of wasted memory, in bytes */ 11733 int wasted_memory_peak; /**< peak amount of wasted memory, in bytes */
11594 double saved_time_image_header_load; /**< time, in seconds, saved in header loads by sharing cached loads instead */ 11734 double saved_time_image_header_load; /**< time, in seconds, saved in header loads by sharing cached loads instead */
11595 double saved_time_image_data_load; /**< time, in seconds, saved in data loads by sharing cached loads instead */ 11735 double saved_time_image_data_load; /**< time, in seconds, saved in data loads by sharing cached loads instead */
11596 }; 11736 };
@@ -11803,7 +11943,7 @@ EAPI void evas_color_rgb_to_hsv (int r, int g, int b, f
11803 * @param g The Green component of the color. 11943 * @param g The Green component of the color.
11804 * @param b The Blue component of the color. 11944 * @param b The Blue component of the color.
11805 * 11945 *
11806 * This function pre-multiplies a given rbg triplet by an alpha 11946 * This function pre-multiplies a given rgb triplet by an alpha
11807 * factor. Alpha factor is used to define transparency. 11947 * factor. Alpha factor is used to define transparency.
11808 * 11948 *
11809 * @ingroup Evas_Utils 11949 * @ingroup Evas_Utils
@@ -12233,7 +12373,7 @@ EAPI Evas_Modifier_Mask evas_key_modifier_mask_get (const Evas *e, const c
12233 * modifiers that must and mustn't, respectively, be pressed along 12373 * modifiers that must and mustn't, respectively, be pressed along
12234 * with @p keyname key in order to trigger this new key 12374 * with @p keyname key in order to trigger this new key
12235 * grab. Modifiers can be things such as Shift and Ctrl as well as 12375 * grab. Modifiers can be things such as Shift and Ctrl as well as
12236 * user defigned types via evas_key_modifier_add(). Retrieve them with 12376 * user defined types via evas_key_modifier_add(). Retrieve them with
12237 * evas_key_modifier_mask_get() or use @c 0 for empty masks. 12377 * evas_key_modifier_mask_get() or use @c 0 for empty masks.
12238 * 12378 *
12239 * @p exclusive will make the given object the only one permitted to 12379 * @p exclusive will make the given object the only one permitted to
diff --git a/libraries/evas/src/lib/Evas_GL.h b/libraries/evas/src/lib/Evas_GL.h
index fdfbaad..76937eb 100644
--- a/libraries/evas/src/lib/Evas_GL.h
+++ b/libraries/evas/src/lib/Evas_GL.h
@@ -404,7 +404,7 @@ EAPI void evas_gl_free (Evas_GL *evas_gl) EINA
404 * As long as the Evas creates a config object for the user, it takes care 404 * As long as the Evas creates a config object for the user, it takes care
405 * of the backward compatibility issue. 405 * of the backward compatibility issue.
406 */ 406 */
407EAPI Evas_GL_Config *evas_gl_config_new (); 407EAPI Evas_GL_Config *evas_gl_config_new (void);
408 408
409/** 409/**
410 * Frees a config object created from evas_gl_config_new. 410 * Frees a config object created from evas_gl_config_new.
diff --git a/libraries/evas/src/lib/Makefile.am b/libraries/evas/src/lib/Makefile.am
index 2a1a92d..1240b2b 100644
--- a/libraries/evas/src/lib/Makefile.am
+++ b/libraries/evas/src/lib/Makefile.am
@@ -76,13 +76,11 @@ SUBDIRS += ../modules/engines/software_8_x11/
76EVAS_STATIC_MODULE += ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la 76EVAS_STATIC_MODULE += ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la
77EVAS_STATIC_LIBADD += @evas_engine_software_8_x11_libs@ 77EVAS_STATIC_LIBADD += @evas_engine_software_8_x11_libs@
78endif 78endif
79if EVAS_STATIC_BUILD_SOFTWARE_SDL 79if EVAS_STATIC_BUILD_SOFTWARE_16_SDL
80SUBDIRS += \ 80SUBDIRS += \
81 ../modules/engines/software_16_sdl/ \ 81 ../modules/engines/software_16_sdl/
82 ../modules/engines/software_sdl/
83EVAS_STATIC_MODULE += \ 82EVAS_STATIC_MODULE += \
84 ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la \ 83 ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la
85 ../modules/engines/software_sdl/libevas_engine_software_sdl.la
86EVAS_STATIC_LIBADD += @SDL_LIBS@ 84EVAS_STATIC_LIBADD += @SDL_LIBS@
87endif 85endif
88if EVAS_STATIC_BUILD_SOFTWARE_DDRAW 86if EVAS_STATIC_BUILD_SOFTWARE_DDRAW
@@ -201,8 +199,6 @@ AM_CPPFLAGS = \
201@pthread_cflags@ \ 199@pthread_cflags@ \
202@PIXMAN_CFLAGS@ 200@PIXMAN_CFLAGS@
203 201
204AM_CFLAGS = @WIN32_CFLAGS@
205
206lib_LTLIBRARIES = libevas.la 202lib_LTLIBRARIES = libevas.la
207 203
208includes_HEADERS = Evas.h Evas_GL.h 204includes_HEADERS = Evas.h Evas_GL.h
diff --git a/libraries/evas/src/lib/Makefile.in b/libraries/evas/src/lib/Makefile.in
index ffe71d1..cb04330 100644
--- a/libraries/evas/src/lib/Makefile.in
+++ b/libraries/evas/src/lib/Makefile.in
@@ -83,15 +83,13 @@ host_triplet = @host@
83@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_36 = ../modules/engines/software_8_x11/ 83@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_36 = ../modules/engines/software_8_x11/
84@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_37 = ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la 84@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_37 = ../modules/engines/software_8_x11/libevas_engine_software_8_x11.la
85@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_38 = @evas_engine_software_8_x11_libs@ 85@EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE@am__append_38 = @evas_engine_software_8_x11_libs@
86@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am__append_39 = \ 86@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am__append_39 = \
87@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_16_sdl/ \ 87@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@ ../modules/engines/software_16_sdl/
88@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_sdl/
89 88
90@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am__append_40 = \ 89@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am__append_40 = \
91@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la \ 90@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@ ../modules/engines/software_16_sdl/libevas_engine_software_16_sdl.la
92@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@ ../modules/engines/software_sdl/libevas_engine_software_sdl.la
93 91
94@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am__append_41 = @SDL_LIBS@ 92@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am__append_41 = @SDL_LIBS@
95@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_42 = ../modules/engines/software_ddraw/ 93@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_42 = ../modules/engines/software_ddraw/
96@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_43 = ../modules/engines/software_ddraw/libevas_engine_software_ddraw.la 94@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_43 = ../modules/engines/software_ddraw/libevas_engine_software_ddraw.la
97@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_44 = @evas_engine_software_ddraw_libs@ 95@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE@am__append_44 = @evas_engine_software_ddraw_libs@
@@ -346,6 +344,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
346EVIL_CFLAGS = @EVIL_CFLAGS@ 344EVIL_CFLAGS = @EVIL_CFLAGS@
347EVIL_LIBS = @EVIL_LIBS@ 345EVIL_LIBS = @EVIL_LIBS@
348EXEEXT = @EXEEXT@ 346EXEEXT = @EXEEXT@
347EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
348EXOTIC_LIBS = @EXOTIC_LIBS@
349FGREP = @FGREP@ 349FGREP = @FGREP@
350FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 350FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
351FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 351FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -396,6 +396,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
396PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 396PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
397PIXMAN_LIBS = @PIXMAN_LIBS@ 397PIXMAN_LIBS = @PIXMAN_LIBS@
398PKG_CONFIG = @PKG_CONFIG@ 398PKG_CONFIG = @PKG_CONFIG@
399PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
400PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
399PNG_CFLAGS = @PNG_CFLAGS@ 401PNG_CFLAGS = @PNG_CFLAGS@
400PNG_LIBS = @PNG_LIBS@ 402PNG_LIBS = @PNG_LIBS@
401RANLIB = @RANLIB@ 403RANLIB = @RANLIB@
@@ -414,8 +416,6 @@ VERSION = @VERSION@
414VMAJ = @VMAJ@ 416VMAJ = @VMAJ@
415WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 417WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
416WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 418WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
417WIN32_CFLAGS = @WIN32_CFLAGS@
418WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
419XCB_CFLAGS = @XCB_CFLAGS@ 419XCB_CFLAGS = @XCB_CFLAGS@
420XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 420XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
421XCB_GL_LIBS = @XCB_GL_LIBS@ 421XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -489,8 +489,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
489evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 489evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
490evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 490evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
491evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 491evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
492evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
493evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
494evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 492evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
495evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 493evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
496evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 494evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -625,7 +623,6 @@ AM_CPPFLAGS = \
625@pthread_cflags@ \ 623@pthread_cflags@ \
626@PIXMAN_CFLAGS@ 624@PIXMAN_CFLAGS@
627 625
628AM_CFLAGS = @WIN32_CFLAGS@
629lib_LTLIBRARIES = libevas.la 626lib_LTLIBRARIES = libevas.la
630includes_HEADERS = Evas.h Evas_GL.h 627includes_HEADERS = Evas.h Evas_GL.h
631includesdir = $(includedir)/evas-@VMAJ@ 628includesdir = $(includedir)/evas-@VMAJ@
diff --git a/libraries/evas/src/lib/cache/Makefile.am b/libraries/evas/src/lib/cache/Makefile.am
index d417262..78d58d2 100644
--- a/libraries/evas/src/lib/cache/Makefile.am
+++ b/libraries/evas/src/lib/cache/Makefile.am
@@ -7,7 +7,6 @@ AM_CPPFLAGS = -I. \
7 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 7 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
8 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 8 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
9 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 9 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
10 @WIN32_CPPFLAGS@ \
11 @EVIL_CFLAGS@ \ 10 @EVIL_CFLAGS@ \
12 @FREETYPE_CFLAGS@ \ 11 @FREETYPE_CFLAGS@ \
13 @PIXMAN_CFLAGS@ \ 12 @PIXMAN_CFLAGS@ \
diff --git a/libraries/evas/src/lib/cache/Makefile.in b/libraries/evas/src/lib/cache/Makefile.in
index 2b50c81..fce77cc 100644
--- a/libraries/evas/src/lib/cache/Makefile.in
+++ b/libraries/evas/src/lib/cache/Makefile.in
@@ -147,6 +147,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
147EVIL_CFLAGS = @EVIL_CFLAGS@ 147EVIL_CFLAGS = @EVIL_CFLAGS@
148EVIL_LIBS = @EVIL_LIBS@ 148EVIL_LIBS = @EVIL_LIBS@
149EXEEXT = @EXEEXT@ 149EXEEXT = @EXEEXT@
150EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
151EXOTIC_LIBS = @EXOTIC_LIBS@
150FGREP = @FGREP@ 152FGREP = @FGREP@
151FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 153FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
152FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 154FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -197,6 +199,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
197PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 199PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
198PIXMAN_LIBS = @PIXMAN_LIBS@ 200PIXMAN_LIBS = @PIXMAN_LIBS@
199PKG_CONFIG = @PKG_CONFIG@ 201PKG_CONFIG = @PKG_CONFIG@
202PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
203PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
200PNG_CFLAGS = @PNG_CFLAGS@ 204PNG_CFLAGS = @PNG_CFLAGS@
201PNG_LIBS = @PNG_LIBS@ 205PNG_LIBS = @PNG_LIBS@
202RANLIB = @RANLIB@ 206RANLIB = @RANLIB@
@@ -215,8 +219,6 @@ VERSION = @VERSION@
215VMAJ = @VMAJ@ 219VMAJ = @VMAJ@
216WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 220WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
217WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 221WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
218WIN32_CFLAGS = @WIN32_CFLAGS@
219WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
220XCB_CFLAGS = @XCB_CFLAGS@ 222XCB_CFLAGS = @XCB_CFLAGS@
221XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 223XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
222XCB_GL_LIBS = @XCB_GL_LIBS@ 224XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -290,8 +292,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
290evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 292evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
291evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 293evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
292evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 294evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
293evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
294evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
295evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 295evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
296evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 296evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
297evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 297evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -381,7 +381,6 @@ AM_CPPFLAGS = -I. \
381 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 381 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
382 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 382 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
383 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 383 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
384 @WIN32_CPPFLAGS@ \
385 @EVIL_CFLAGS@ \ 384 @EVIL_CFLAGS@ \
386 @FREETYPE_CFLAGS@ \ 385 @FREETYPE_CFLAGS@ \
387 @PIXMAN_CFLAGS@ \ 386 @PIXMAN_CFLAGS@ \
diff --git a/libraries/evas/src/lib/cache/evas_cache_image.c b/libraries/evas/src/lib/cache/evas_cache_image.c
index 73e4f8a..d5b72c5 100644
--- a/libraries/evas/src/lib/cache/evas_cache_image.c
+++ b/libraries/evas/src/lib/cache/evas_cache_image.c
@@ -42,10 +42,10 @@ static void _evas_cache_image_entry_preload_remove(Image_Entry *ie, const void *
42 42
43#define FREESTRC(Var) \ 43#define FREESTRC(Var) \
44 if (Var) \ 44 if (Var) \
45 { \ 45{ \
46 eina_stringshare_del(Var); \ 46 eina_stringshare_del(Var); \
47 Var = NULL; \ 47 Var = NULL; \
48 } 48}
49 49
50static void _evas_cache_image_dirty_add(Image_Entry *im); 50static void _evas_cache_image_dirty_add(Image_Entry *im);
51static void _evas_cache_image_dirty_del(Image_Entry *im); 51static void _evas_cache_image_dirty_del(Image_Entry *im);
@@ -210,9 +210,9 @@ _evas_cache_image_entry_delete(Evas_Cache_Image *cache, Image_Entry *ie)
210 if (ie->flags.delete_me == 1) return; 210 if (ie->flags.delete_me == 1) return;
211 if (ie->preload) 211 if (ie->preload)
212 { 212 {
213 ie->flags.delete_me = 1; 213 ie->flags.delete_me = 1;
214 _evas_cache_image_entry_preload_remove(ie, NULL); 214 _evas_cache_image_entry_preload_remove(ie, NULL);
215 return; 215 return;
216 } 216 }
217#endif 217#endif
218 218
@@ -247,10 +247,10 @@ _timestamp_compare(Image_Timestamp *tstamp, struct stat *st)
247#ifdef _STAT_VER_LINUX 247#ifdef _STAT_VER_LINUX
248#if (defined __USE_MISC && defined st_mtime) 248#if (defined __USE_MISC && defined st_mtime)
249 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtim.tv_nsec) 249 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtim.tv_nsec)
250 return EINA_FALSE; 250 return EINA_FALSE;
251#else 251#else
252 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtimensec) 252 if (tstamp->mtime_nsec != (unsigned long int)st->st_mtimensec)
253 return EINA_FALSE; 253 return EINA_FALSE;
254#endif 254#endif
255#endif 255#endif
256 return EINA_TRUE; 256 return EINA_TRUE;
@@ -285,8 +285,8 @@ _evas_cache_image_entry_new(Evas_Cache_Image *cache,
285 ie = cache->func.alloc(); 285 ie = cache->func.alloc();
286 if (!ie) 286 if (!ie)
287 { 287 {
288 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED; 288 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
289 return NULL; 289 return NULL;
290 } 290 }
291 ie->cache = cache; 291 ie->cache = cache;
292 if (hkey) ie->cache_key = eina_stringshare_add(hkey); 292 if (hkey) ie->cache_key = eina_stringshare_add(hkey);
@@ -307,7 +307,7 @@ _evas_cache_image_entry_new(Evas_Cache_Image *cache,
307 LKI(ie->lock); 307 LKI(ie->lock);
308 LKI(ie->lock_cancel); 308 LKI(ie->lock_cancel);
309#endif 309#endif
310 310
311 if (lo) ie->load_opts = *lo; 311 if (lo) ie->load_opts = *lo;
312 if (ie->file) 312 if (ie->file)
313 { 313 {
@@ -326,8 +326,8 @@ _evas_cache_image_entry_new(Evas_Cache_Image *cache,
326 326
327static void 327static void
328_evas_cache_image_entry_surface_alloc__locked(Evas_Cache_Image *cache, 328_evas_cache_image_entry_surface_alloc__locked(Evas_Cache_Image *cache,
329 Image_Entry *ie, 329 Image_Entry *ie,
330 unsigned int wmin, 330 unsigned int wmin,
331 unsigned int hmin) 331 unsigned int hmin)
332{ 332{
333 if ((ie->allocated.w == wmin) && (ie->allocated.h == hmin)) return; 333 if ((ie->allocated.w == wmin) && (ie->allocated.h == hmin)) return;
@@ -376,16 +376,16 @@ _evas_cache_image_async_heavy(void *data)
376 if ((!current->flags.loaded) && 376 if ((!current->flags.loaded) &&
377 ((Evas_Image_Load_Func*) current->info.module)->threadable) 377 ((Evas_Image_Load_Func*) current->info.module)->threadable)
378 { 378 {
379 error = cache->func.load(current); 379 error = cache->func.load(current);
380 if (cache->func.debug) cache->func.debug("load", current); 380 if (cache->func.debug) cache->func.debug("load", current);
381 current->load_error = error; 381 current->load_error = error;
382 if (error != EVAS_LOAD_ERROR_NONE) 382 if (error != EVAS_LOAD_ERROR_NONE)
383 { 383 {
384 current->flags.loaded = 0; 384 current->flags.loaded = 0;
385 _evas_cache_image_entry_surface_alloc(cache, current, 385 _evas_cache_image_entry_surface_alloc(cache, current,
386 current->w, current->h); 386 current->w, current->h);
387 } 387 }
388 else 388 else
389 { 389 {
390 current->flags.loaded = 1; 390 current->flags.loaded = 1;
391 } 391 }
@@ -416,11 +416,11 @@ _evas_cache_image_async_end(void *data)
416 ie->flags.preload_done = ie->flags.loaded; 416 ie->flags.preload_done = ie->flags.loaded;
417 while ((tmp = ie->targets)) 417 while ((tmp = ie->targets))
418 { 418 {
419 evas_object_inform_call_image_preloaded((Evas_Object*) tmp->target); 419 evas_object_inform_call_image_preloaded((Evas_Object*) tmp->target);
420 ie->targets = (Evas_Cache_Target *) 420 ie->targets = (Evas_Cache_Target *)
421 eina_inlist_remove(EINA_INLIST_GET(ie->targets), 421 eina_inlist_remove(EINA_INLIST_GET(ie->targets),
422 EINA_INLIST_GET(ie->targets)); 422 EINA_INLIST_GET(ie->targets));
423 free(tmp); 423 free(tmp);
424 } 424 }
425} 425}
426 426
@@ -429,14 +429,14 @@ _evas_cache_image_async_cancel(void *data)
429{ 429{
430 Evas_Cache_Image *cache = NULL; 430 Evas_Cache_Image *cache = NULL;
431 Image_Entry *ie = (Image_Entry *)data; 431 Image_Entry *ie = (Image_Entry *)data;
432 432
433 ie->preload = NULL; 433 ie->preload = NULL;
434 ie->cache->pending = eina_list_remove(ie->cache->pending, ie); 434 ie->cache->pending = eina_list_remove(ie->cache->pending, ie);
435 if ((ie->flags.delete_me) || (ie->flags.dirty)) 435 if ((ie->flags.delete_me) || (ie->flags.dirty))
436 { 436 {
437 ie->flags.delete_me = 0; 437 ie->flags.delete_me = 0;
438 _evas_cache_image_entry_delete(ie->cache, ie); 438 _evas_cache_image_entry_delete(ie->cache, ie);
439 return; 439 return;
440 } 440 }
441 if (ie->flags.loaded) _evas_cache_image_async_end(ie); 441 if (ie->flags.loaded) _evas_cache_image_async_end(ie);
442#ifdef EVAS_FRAME_QUEUING 442#ifdef EVAS_FRAME_QUEUING
@@ -485,41 +485,41 @@ _evas_cache_image_entry_preload_remove(Image_Entry *ie, const void *target)
485{ 485{
486 if (target) 486 if (target)
487 { 487 {
488 Evas_Cache_Target *tg; 488 Evas_Cache_Target *tg;
489 489
490 EINA_INLIST_FOREACH(ie->targets, tg) 490 EINA_INLIST_FOREACH(ie->targets, tg)
491 { 491 {
492 if (tg->target == target) 492 if (tg->target == target)
493 { 493 {
494 // FIXME: No callback when we cancel only for one target ? 494 // FIXME: No callback when we cancel only for one target ?
495 ie->targets = (Evas_Cache_Target *) 495 ie->targets = (Evas_Cache_Target *)
496 eina_inlist_remove(EINA_INLIST_GET(ie->targets), 496 eina_inlist_remove(EINA_INLIST_GET(ie->targets),
497 EINA_INLIST_GET(tg)); 497 EINA_INLIST_GET(tg));
498 free(tg); 498 free(tg);
499 break; 499 break;
500 } 500 }
501 } 501 }
502 } 502 }
503 else 503 else
504 { 504 {
505 Evas_Cache_Target *tg; 505 Evas_Cache_Target *tg;
506 506
507 while (ie->targets) 507 while (ie->targets)
508 { 508 {
509 tg = ie->targets; 509 tg = ie->targets;
510 ie->targets = (Evas_Cache_Target *) 510 ie->targets = (Evas_Cache_Target *)
511 eina_inlist_remove(EINA_INLIST_GET(ie->targets), 511 eina_inlist_remove(EINA_INLIST_GET(ie->targets),
512 EINA_INLIST_GET(tg)); 512 EINA_INLIST_GET(tg));
513 free(tg); 513 free(tg);
514 } 514 }
515 } 515 }
516 516
517 if ((!ie->targets) && (ie->preload) && (!ie->flags.pending)) 517 if ((!ie->targets) && (ie->preload) && (!ie->flags.pending))
518 { 518 {
519 ie->cache->preload = eina_list_remove(ie->cache->preload, ie); 519 ie->cache->preload = eina_list_remove(ie->cache->preload, ie);
520 ie->cache->pending = eina_list_append(ie->cache->pending, ie); 520 ie->cache->pending = eina_list_append(ie->cache->pending, ie);
521 ie->flags.pending = 1; 521 ie->flags.pending = 1;
522 evas_preload_thread_cancel(ie->preload); 522 evas_preload_thread_cancel(ie->preload);
523 } 523 }
524} 524}
525#endif 525#endif
@@ -566,7 +566,7 @@ evas_cache_image_init(const Evas_Cache_Image_Func *cb)
566 { 566 {
567 LKI(engine_lock); 567 LKI(engine_lock);
568 LKI(wakeup); 568 LKI(wakeup);
569 eina_condition_new(&cond_wakeup, &wakeup); 569 eina_condition_new(&cond_wakeup, &wakeup);
570 } 570 }
571#endif 571#endif
572 572
@@ -616,9 +616,9 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
616#ifdef BUILD_ASYNC_PRELOAD 616#ifdef BUILD_ASYNC_PRELOAD
617 EINA_LIST_FREE(cache->preload, im) 617 EINA_LIST_FREE(cache->preload, im)
618 { 618 {
619 /* By doing that we are protecting us from destroying image when the cache is no longer available. */ 619 /* By doing that we are protecting us from destroying image when the cache is no longer available. */
620 im->flags.delete_me = 1; 620 im->flags.delete_me = 1;
621 _evas_cache_image_entry_preload_remove(im, NULL); 621 _evas_cache_image_entry_preload_remove(im, NULL);
622 } 622 }
623 evas_async_events_process(); 623 evas_async_events_process();
624#endif 624#endif
@@ -642,21 +642,21 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
642 eina_hash_foreach(cache->activ, _evas_cache_image_free_cb, &delete_list); 642 eina_hash_foreach(cache->activ, _evas_cache_image_free_cb, &delete_list);
643 while (delete_list) 643 while (delete_list)
644 { 644 {
645 _evas_cache_image_entry_delete(cache, eina_list_data_get(delete_list)); 645 _evas_cache_image_entry_delete(cache, eina_list_data_get(delete_list));
646 delete_list = eina_list_remove_list(delete_list, delete_list); 646 delete_list = eina_list_remove_list(delete_list, delete_list);
647 } 647 }
648 648
649#ifdef BUILD_ASYNC_PRELOAD 649#ifdef BUILD_ASYNC_PRELOAD
650 /* Now wait for all pending image to die */ 650 /* Now wait for all pending image to die */
651 while (cache->pending) 651 while (cache->pending)
652 { 652 {
653 evas_async_events_process(); 653 evas_async_events_process();
654 LKL(wakeup); 654 LKL(wakeup);
655 // the lazy bum who did eain threads and converted this code 655 // the lazy bum who did eain threads and converted this code
656 // didn't bother to worry about Eina_Lock being a different type 656 // didn't bother to worry about Eina_Lock being a different type
657 // to a pthread mutex. 657 // to a pthread mutex.
658 if (cache->pending) eina_condition_wait(&cond_wakeup); 658 if (cache->pending) eina_condition_wait(&cond_wakeup);
659 LKU(wakeup); 659 LKU(wakeup);
660 } 660 }
661#endif 661#endif
662 eina_hash_free(cache->activ); 662 eina_hash_free(cache->activ);
@@ -666,7 +666,7 @@ evas_cache_image_shutdown(Evas_Cache_Image *cache)
666#ifdef BUILD_ASYNC_PRELOAD 666#ifdef BUILD_ASYNC_PRELOAD
667 if (--_evas_cache_mutex_init == 0) 667 if (--_evas_cache_mutex_init == 0)
668 { 668 {
669 eina_condition_free(&cond_wakeup); 669 eina_condition_free(&cond_wakeup);
670 LKD(engine_lock); 670 LKD(engine_lock);
671 LKD(wakeup); 671 LKD(wakeup);
672 } 672 }
@@ -690,8 +690,8 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
690 690
691 if ((!file) || ((!file) && (!key))) 691 if ((!file) || ((!file) && (!key)))
692 { 692 {
693 *error = EVAS_LOAD_ERROR_GENERIC; 693 *error = EVAS_LOAD_ERROR_GENERIC;
694 return NULL; 694 return NULL;
695 } 695 }
696 696
697 /* generate hkey from file+key+load opts */ 697 /* generate hkey from file+key+load opts */
@@ -712,45 +712,45 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
712 (lo->dpi == 0.0) && 712 (lo->dpi == 0.0) &&
713 ((lo->w == 0) || (lo->h == 0)) && 713 ((lo->w == 0) || (lo->h == 0)) &&
714 ((lo->region.w == 0) || (lo->region.h == 0)) && 714 ((lo->region.w == 0) || (lo->region.h == 0)) &&
715 (lo->orientation == 0) 715 (lo->orientation == 0)
716 )) 716 ))
717 { 717 {
718 lo = &prevent; 718 lo = &prevent;
719 } 719 }
720 else 720 else
721 { 721 {
722 memcpy(hkey + size, "//@/", 4); 722 memcpy(hkey + size, "//@/", 4);
723 size += 4; 723 size += 4;
724 size += eina_convert_xtoa(lo->scale_down_by, hkey + size); 724 size += eina_convert_xtoa(lo->scale_down_by, hkey + size);
725 hkey[size] = '/'; 725 hkey[size] = '/';
726 size += 1; 726 size += 1;
727 size += eina_convert_dtoa(lo->dpi, hkey + size); 727 size += eina_convert_dtoa(lo->dpi, hkey + size);
728 hkey[size] = '/'; 728 hkey[size] = '/';
729 size += 1; 729 size += 1;
730 size += eina_convert_xtoa(lo->w, hkey + size); 730 size += eina_convert_xtoa(lo->w, hkey + size);
731 hkey[size] = 'x'; 731 hkey[size] = 'x';
732 size += 1; 732 size += 1;
733 size += eina_convert_xtoa(lo->h, hkey + size); 733 size += eina_convert_xtoa(lo->h, hkey + size);
734 hkey[size] = '/'; 734 hkey[size] = '/';
735 size += 1; 735 size += 1;
736 size += eina_convert_xtoa(lo->region.x, hkey + size); 736 size += eina_convert_xtoa(lo->region.x, hkey + size);
737 hkey[size] = '+'; 737 hkey[size] = '+';
738 size += 1; 738 size += 1;
739 size += eina_convert_xtoa(lo->region.y, hkey + size); 739 size += eina_convert_xtoa(lo->region.y, hkey + size);
740 hkey[size] = '.'; 740 hkey[size] = '.';
741 size += 1; 741 size += 1;
742 size += eina_convert_xtoa(lo->region.w, hkey + size); 742 size += eina_convert_xtoa(lo->region.w, hkey + size);
743 hkey[size] = 'x'; 743 hkey[size] = 'x';
744 size += 1; 744 size += 1;
745 size += eina_convert_xtoa(lo->region.h, hkey + size); 745 size += eina_convert_xtoa(lo->region.h, hkey + size);
746 746
747 if (lo->orientation) 747 if (lo->orientation)
748 { 748 {
749 hkey[size] = '/'; 749 hkey[size] = '/';
750 size += 1; 750 size += 1;
751 hkey[size] = 'o'; 751 hkey[size] = 'o';
752 size += 1; 752 size += 1;
753 } 753 }
754 } 754 }
755 hkey[size] = '\0'; 755 hkey[size] = '\0';
756 756
@@ -768,10 +768,10 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
768 768
769 stat_done = 1; 769 stat_done = 1;
770 if (stat(file, &st) < 0) 770 if (stat(file, &st) < 0)
771 { 771 {
772 stat_failed = 1; 772 stat_failed = 1;
773 ok = 0; 773 ok = 0;
774 } 774 }
775 else if (!_timestamp_compare(&(im->tstamp), &st)) ok = 0; 775 else if (!_timestamp_compare(&(im->tstamp), &st)) ok = 0;
776 if (ok) goto on_ok; 776 if (ok) goto on_ok;
777 /* image we found doesn't match what's on disk (stat info wise) 777 /* image we found doesn't match what's on disk (stat info wise)
@@ -816,10 +816,12 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
816 } 816 }
817 /* as avtive cache find - if we match in lru and its invalid, dirty */ 817 /* as avtive cache find - if we match in lru and its invalid, dirty */
818 _evas_cache_image_dirty_add(im); 818 _evas_cache_image_dirty_add(im);
819 /* this image never used, so it have to be deleted */
820 _evas_cache_image_entry_delete(cache, im);
819 im = NULL; 821 im = NULL;
820 } 822 }
821 if (stat_failed) goto on_stat_error; 823 if (stat_failed) goto on_stat_error;
822 824
823 if (!stat_done) 825 if (!stat_done)
824 { 826 {
825 if (stat(file, &st) < 0) goto on_stat_error; 827 if (stat(file, &st) < 0) goto on_stat_error;
@@ -830,7 +832,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
830 if (!im) goto on_stat_error; 832 if (!im) goto on_stat_error;
831 if (cache->func.debug) cache->func.debug("request", im); 833 if (cache->func.debug) cache->func.debug("request", im);
832 834
833 on_ok: 835on_ok:
834 *error = EVAS_LOAD_ERROR_NONE; 836 *error = EVAS_LOAD_ERROR_NONE;
835#ifdef EVAS_FRAME_QUEUING 837#ifdef EVAS_FRAME_QUEUING
836 LKL(im->lock_references); 838 LKL(im->lock_references);
@@ -841,24 +843,24 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
841#endif 843#endif
842 return im; 844 return im;
843 845
844 on_stat_error: 846on_stat_error:
845#ifndef _WIN32 847#ifndef _WIN32
846 if ((errno == ENOENT) || (errno == ENOTDIR) || 848 if ((errno == ENOENT) || (errno == ENOTDIR) ||
847 (errno == ENAMETOOLONG) || (errno == ELOOP)) 849 (errno == ENAMETOOLONG) || (errno == ELOOP))
848#else 850#else
849 if (errno == ENOENT) 851 if (errno == ENOENT)
850#endif 852#endif
851 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; 853 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
852#ifndef _WIN32 854#ifndef _WIN32
853 else if ((errno == ENOMEM) || (errno == EOVERFLOW)) 855 else if ((errno == ENOMEM) || (errno == EOVERFLOW))
854#else 856#else
855 else if (errno == ENOMEM) 857 else if (errno == ENOMEM)
856#endif 858#endif
857 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED; 859 *error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
858 else if (errno == EACCES) 860 else if (errno == EACCES)
859 *error = EVAS_LOAD_ERROR_PERMISSION_DENIED; 861 *error = EVAS_LOAD_ERROR_PERMISSION_DENIED;
860 else 862 else
861 *error = EVAS_LOAD_ERROR_GENERIC; 863 *error = EVAS_LOAD_ERROR_GENERIC;
862 864
863 if (im) _evas_cache_image_entry_delete(cache, im); 865 if (im) _evas_cache_image_entry_delete(cache, im);
864 return NULL; 866 return NULL;
@@ -879,7 +881,7 @@ evas_cache_image_drop(Image_Entry *im)
879#ifdef EVAS_FRAME_QUEUING 881#ifdef EVAS_FRAME_QUEUING
880 LKU(im->lock_references); 882 LKU(im->lock_references);
881#endif 883#endif
882 884
883 cache = im->cache; 885 cache = im->cache;
884 886
885 if (references == 0) 887 if (references == 0)
@@ -893,25 +895,25 @@ evas_cache_image_drop(Image_Entry *im)
893 LKU(im->ref_fq_del); 895 LKU(im->ref_fq_del);
894 return; 896 return;
895 } 897 }
896 LKU(im->ref_fq_add); 898 LKU(im->ref_fq_add);
897 LKU(im->ref_fq_del); 899 LKU(im->ref_fq_del);
898#endif 900#endif
899 901
900#ifdef BUILD_ASYNC_PRELOAD 902#ifdef BUILD_ASYNC_PRELOAD
901 if (im->preload) 903 if (im->preload)
902 { 904 {
903 _evas_cache_image_entry_preload_remove(im, NULL); 905 _evas_cache_image_entry_preload_remove(im, NULL);
904 return; 906 return;
905 } 907 }
906#endif 908#endif
907 909
908 if (im->flags.dirty) 910 if (im->flags.dirty)
909 { 911 {
910 _evas_cache_image_entry_delete(cache, im); 912 _evas_cache_image_entry_delete(cache, im);
911 return; 913 return;
912 } 914 }
913 _evas_cache_image_lru_add(im); 915 _evas_cache_image_lru_add(im);
914 if (cache) evas_cache_image_flush(cache); 916 if (cache) evas_cache_image_flush(cache);
915 } 917 }
916} 918}
917 919
@@ -974,10 +976,10 @@ evas_cache_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigned
974 } 976 }
975 _evas_cache_image_dirty_add(im_dirty); 977 _evas_cache_image_dirty_add(im_dirty);
976 } 978 }
977 979
978 if (cache->func.debug) cache->func.debug("dirty-region", im_dirty); 980 if (cache->func.debug) cache->func.debug("dirty-region", im_dirty);
979 if (cache->func.dirty_region) 981 if (cache->func.dirty_region)
980 cache->func.dirty_region(im_dirty, x, y, w, h); 982 cache->func.dirty_region(im_dirty, x, y, w, h);
981 return im_dirty; 983 return im_dirty;
982 984
983on_error: 985on_error:
@@ -1026,7 +1028,7 @@ evas_cache_image_alone(Image_Entry *im)
1026 evas_cache_image_drop(im); 1028 evas_cache_image_drop(im);
1027 } 1029 }
1028 return im_dirty; 1030 return im_dirty;
1029 1031
1030on_error: 1032on_error:
1031 if (im_dirty) _evas_cache_image_entry_delete(cache, im_dirty); 1033 if (im_dirty) _evas_cache_image_entry_delete(cache, im_dirty);
1032 evas_cache_image_drop(im); 1034 evas_cache_image_drop(im);
@@ -1039,12 +1041,12 @@ evas_cache_image_copied_data(Evas_Cache_Image *cache,
1039 DATA32 *image_data, int alpha, int cspace) 1041 DATA32 *image_data, int alpha, int cspace)
1040{ 1042{
1041 Image_Entry *im; 1043 Image_Entry *im;
1042 1044
1043 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) || 1045 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) ||
1044 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) || 1046 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) ||
1045 (cspace == EVAS_COLORSPACE_YCBCR422601_PL)) 1047 (cspace == EVAS_COLORSPACE_YCBCR422601_PL))
1046 w &= ~0x1; 1048 w &= ~0x1;
1047 1049
1048 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL); 1050 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL);
1049 if (!im) return NULL; 1051 if (!im) return NULL;
1050 im->space = cspace; 1052 im->space = cspace;
@@ -1074,8 +1076,8 @@ evas_cache_image_data(Evas_Cache_Image *cache, unsigned int w, unsigned int h, D
1074 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) || 1076 if ((cspace == EVAS_COLORSPACE_YCBCR422P601_PL) ||
1075 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) || 1077 (cspace == EVAS_COLORSPACE_YCBCR422P709_PL) ||
1076 (cspace == EVAS_COLORSPACE_YCBCR422601_PL)) 1078 (cspace == EVAS_COLORSPACE_YCBCR422601_PL))
1077 w &= ~0x1; 1079 w &= ~0x1;
1078 1080
1079 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL); 1081 im = _evas_cache_image_entry_new(cache, NULL, NULL, NULL, NULL, NULL, NULL);
1080 if (!im) return NULL; 1082 if (!im) return NULL;
1081 im->w = w; 1083 im->w = w;
@@ -1101,7 +1103,7 @@ EAPI void
1101evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h) 1103evas_cache_image_surface_alloc(Image_Entry *im, unsigned int w, unsigned int h)
1102{ 1104{
1103 Evas_Cache_Image *cache = im->cache; 1105 Evas_Cache_Image *cache = im->cache;
1104 1106
1105 if ((im->space == EVAS_COLORSPACE_YCBCR422P601_PL) || 1107 if ((im->space == EVAS_COLORSPACE_YCBCR422P601_PL) ||
1106 (im->space == EVAS_COLORSPACE_YCBCR422P709_PL) || 1108 (im->space == EVAS_COLORSPACE_YCBCR422P709_PL) ||
1107 (im->space == EVAS_COLORSPACE_YCBCR422601_PL)) 1109 (im->space == EVAS_COLORSPACE_YCBCR422601_PL))
@@ -1145,7 +1147,7 @@ evas_cache_image_size_set(Image_Entry *im, unsigned int w, unsigned int h)
1145 if (cache->func.debug) cache->func.debug("size_set", im2); 1147 if (cache->func.debug) cache->func.debug("size_set", im2);
1146 return im2; 1148 return im2;
1147 1149
1148 on_error: 1150on_error:
1149 if (im2) _evas_cache_image_entry_delete(cache, im2); 1151 if (im2) _evas_cache_image_entry_delete(cache, im2);
1150 evas_cache_image_drop(im); 1152 evas_cache_image_drop(im);
1151 return NULL; 1153 return NULL;
@@ -1163,26 +1165,26 @@ evas_cache_image_load_data(Image_Entry *im)
1163#ifdef BUILD_ASYNC_PRELOAD 1165#ifdef BUILD_ASYNC_PRELOAD
1164 if (im->preload) 1166 if (im->preload)
1165 { 1167 {
1166 preload = EINA_TRUE; 1168 preload = EINA_TRUE;
1167 if (!im->flags.pending) 1169 if (!im->flags.pending)
1168 { 1170 {
1169 im->cache->preload = eina_list_remove(im->cache->preload, im); 1171 im->cache->preload = eina_list_remove(im->cache->preload, im);
1170 im->cache->pending = eina_list_append(im->cache->pending, im); 1172 im->cache->pending = eina_list_append(im->cache->pending, im);
1171 im->flags.pending = 1; 1173 im->flags.pending = 1;
1172 evas_preload_thread_cancel(im->preload); 1174 evas_preload_thread_cancel(im->preload);
1173 } 1175 }
1174 evas_async_events_process(); 1176 evas_async_events_process();
1175 LKL(wakeup); 1177 LKL(wakeup);
1176 while (im->preload) 1178 while (im->preload)
1177 { 1179 {
1178 eina_condition_wait(&cond_wakeup); 1180 eina_condition_wait(&cond_wakeup);
1179 LKU(wakeup); 1181 LKU(wakeup);
1180 evas_async_events_process(); 1182 evas_async_events_process();
1181 LKL(wakeup); 1183 LKL(wakeup);
1182 } 1184 }
1183 LKU(wakeup); 1185 LKU(wakeup);
1184 } 1186 }
1185 1187
1186 if ((im->flags.loaded) && (!im->flags.animated)) return error; 1188 if ((im->flags.loaded) && (!im->flags.animated)) return error;
1187 LKL(im->lock); 1189 LKL(im->lock);
1188#endif 1190#endif
@@ -1226,7 +1228,7 @@ evas_cache_image_unload_data(Image_Entry *im)
1226#ifdef BUILD_ASYNC_PRELOAD 1228#ifdef BUILD_ASYNC_PRELOAD
1227 LKU(im->lock); 1229 LKU(im->lock);
1228#endif 1230#endif
1229 return; 1231 return;
1230 } 1232 }
1231 im->cache->func.destructor(im); 1233 im->cache->func.destructor(im);
1232#ifdef BUILD_ASYNC_PRELOAD 1234#ifdef BUILD_ASYNC_PRELOAD
@@ -1256,8 +1258,8 @@ evas_cache_image_unload_all(Evas_Cache_Image *cache)
1256EAPI Eina_Bool 1258EAPI Eina_Bool
1257evas_cache_image_is_loaded(Image_Entry *im) 1259evas_cache_image_is_loaded(Image_Entry *im)
1258{ 1260{
1259 if (im->flags.loaded) return EINA_TRUE; 1261 if (im->flags.loaded) return EINA_TRUE;
1260 return EINA_FALSE; 1262 return EINA_FALSE;
1261} 1263}
1262 1264
1263EAPI void 1265EAPI void
@@ -1265,15 +1267,15 @@ evas_cache_image_preload_data(Image_Entry *im, const void *target)
1265{ 1267{
1266#ifdef BUILD_ASYNC_PRELOAD 1268#ifdef BUILD_ASYNC_PRELOAD
1267 RGBA_Image *img = (RGBA_Image *)im; 1269 RGBA_Image *img = (RGBA_Image *)im;
1268 1270
1269 if ((im->flags.loaded) && (img->image.data)) 1271 if ((im->flags.loaded) && (img->image.data))
1270 { 1272 {
1271 evas_object_inform_call_image_preloaded((Evas_Object *)target); 1273 evas_object_inform_call_image_preloaded((Evas_Object *)target);
1272 return; 1274 return;
1273 } 1275 }
1274 im->flags.loaded = 0; 1276 im->flags.loaded = 0;
1275 if (!_evas_cache_image_entry_preload_add(im, target)) 1277 if (!_evas_cache_image_entry_preload_add(im, target))
1276 evas_object_inform_call_image_preloaded((Evas_Object *)target); 1278 evas_object_inform_call_image_preloaded((Evas_Object *)target);
1277#else 1279#else
1278 evas_cache_image_load_data(im); 1280 evas_cache_image_load_data(im);
1279 evas_object_inform_call_image_preloaded((Evas_Object *)target); 1281 evas_object_inform_call_image_preloaded((Evas_Object *)target);
@@ -1319,7 +1321,7 @@ static void
1319_dump_cache(Evas_Cache_Image *cache) 1321_dump_cache(Evas_Cache_Image *cache)
1320{ 1322{
1321 Image_Entry *im; 1323 Image_Entry *im;
1322 1324
1323 printf("--CACHE DUMP----------------------------------------------------\n"); 1325 printf("--CACHE DUMP----------------------------------------------------\n");
1324 printf("cache: %ikb / %ikb\n", 1326 printf("cache: %ikb / %ikb\n",
1325 cache->usage / 1024, 1327 cache->usage / 1024,
@@ -1342,22 +1344,22 @@ EAPI int
1342evas_cache_image_flush(Evas_Cache_Image *cache) 1344evas_cache_image_flush(Evas_Cache_Image *cache)
1343{ 1345{
1344#ifdef CACHEDUMP 1346#ifdef CACHEDUMP
1345 _dump_cache(cache); 1347 _dump_cache(cache);
1346#endif 1348#endif
1347 if (cache->limit == (unsigned int)-1) return -1; 1349 if (cache->limit == (unsigned int)-1) return -1;
1348 1350
1349 while ((cache->lru) && (cache->limit < (unsigned int)cache->usage)) 1351 while ((cache->lru) && (cache->limit < (unsigned int)cache->usage))
1350 { 1352 {
1351 Image_Entry *im; 1353 Image_Entry *im;
1352 1354
1353 im = (Image_Entry *)cache->lru->last; 1355 im = (Image_Entry *)cache->lru->last;
1354 _evas_cache_image_entry_delete(cache, im); 1356 _evas_cache_image_entry_delete(cache, im);
1355 } 1357 }
1356 1358
1357 while ((cache->lru_nodata) && (cache->limit < (unsigned int)cache->usage)) 1359 while ((cache->lru_nodata) && (cache->limit < (unsigned int)cache->usage))
1358 { 1360 {
1359 Image_Entry *im; 1361 Image_Entry *im;
1360 1362
1361 im = (Image_Entry *) cache->lru_nodata->last; 1363 im = (Image_Entry *) cache->lru_nodata->last;
1362 _evas_cache_image_lru_nodata_del(im); 1364 _evas_cache_image_lru_nodata_del(im);
1363 cache->func.surface_delete(im); 1365 cache->func.surface_delete(im);
diff --git a/libraries/evas/src/lib/canvas/Makefile.am b/libraries/evas/src/lib/canvas/Makefile.am
index 79544aa..e302668 100644
--- a/libraries/evas/src/lib/canvas/Makefile.am
+++ b/libraries/evas/src/lib/canvas/Makefile.am
@@ -8,7 +8,6 @@ AM_CPPFLAGS = \
8-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 8-DPACKAGE_BIN_DIR=\"$(bindir)\" \
9-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 9-DPACKAGE_LIB_DIR=\"$(libdir)\" \
10-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 10-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
11@WIN32_CPPFLAGS@ \
12@FREETYPE_CFLAGS@ \ 11@FREETYPE_CFLAGS@ \
13@EET_CFLAGS@ \ 12@EET_CFLAGS@ \
14@FONTCONFIG_CFLAGS@ \ 13@FONTCONFIG_CFLAGS@ \
diff --git a/libraries/evas/src/lib/canvas/Makefile.in b/libraries/evas/src/lib/canvas/Makefile.in
index 75da67a..c7e48bc 100644
--- a/libraries/evas/src/lib/canvas/Makefile.in
+++ b/libraries/evas/src/lib/canvas/Makefile.in
@@ -161,6 +161,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
161EVIL_CFLAGS = @EVIL_CFLAGS@ 161EVIL_CFLAGS = @EVIL_CFLAGS@
162EVIL_LIBS = @EVIL_LIBS@ 162EVIL_LIBS = @EVIL_LIBS@
163EXEEXT = @EXEEXT@ 163EXEEXT = @EXEEXT@
164EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
165EXOTIC_LIBS = @EXOTIC_LIBS@
164FGREP = @FGREP@ 166FGREP = @FGREP@
165FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 167FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
166FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 168FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -211,6 +213,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
211PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 213PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
212PIXMAN_LIBS = @PIXMAN_LIBS@ 214PIXMAN_LIBS = @PIXMAN_LIBS@
213PKG_CONFIG = @PKG_CONFIG@ 215PKG_CONFIG = @PKG_CONFIG@
216PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214PNG_CFLAGS = @PNG_CFLAGS@ 218PNG_CFLAGS = @PNG_CFLAGS@
215PNG_LIBS = @PNG_LIBS@ 219PNG_LIBS = @PNG_LIBS@
216RANLIB = @RANLIB@ 220RANLIB = @RANLIB@
@@ -229,8 +233,6 @@ VERSION = @VERSION@
229VMAJ = @VMAJ@ 233VMAJ = @VMAJ@
230WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 234WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
231WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 235WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
232WIN32_CFLAGS = @WIN32_CFLAGS@
233WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
234XCB_CFLAGS = @XCB_CFLAGS@ 236XCB_CFLAGS = @XCB_CFLAGS@
235XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 237XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
236XCB_GL_LIBS = @XCB_GL_LIBS@ 238XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -304,8 +306,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
304evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 306evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
305evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 307evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
306evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 308evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
307evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
308evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -393,10 +393,9 @@ AM_CPPFLAGS = -I. -I$(top_srcdir)/src/lib \
393 -I$(top_srcdir)/src/lib/include -I$(top_srcdir)/src/lib/cserve \ 393 -I$(top_srcdir)/src/lib/include -I$(top_srcdir)/src/lib/cserve \
394 -DPACKAGE_BIN_DIR=\"$(bindir)\" \ 394 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
395 -DPACKAGE_LIB_DIR=\"$(libdir)\" \ 395 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
396 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" @WIN32_CPPFLAGS@ \ 396 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" @FREETYPE_CFLAGS@ \
397 @FREETYPE_CFLAGS@ @EET_CFLAGS@ @FONTCONFIG_CFLAGS@ \ 397 @EET_CFLAGS@ @FONTCONFIG_CFLAGS@ @EVAS_CFLAGS@ @EINA_CFLAGS@ \
398 @EVAS_CFLAGS@ @EINA_CFLAGS@ @EVIL_CFLAGS@ @PIXMAN_CFLAGS@ \ 398 @EVIL_CFLAGS@ @PIXMAN_CFLAGS@ $(am__append_1)
399 $(am__append_1)
400noinst_LTLIBRARIES = libevas_canvas.la 399noinst_LTLIBRARIES = libevas_canvas.la
401libevas_canvas_la_SOURCES = \ 400libevas_canvas_la_SOURCES = \
402evas_callbacks.c \ 401evas_callbacks.c \
diff --git a/libraries/evas/src/lib/canvas/evas_callbacks.c b/libraries/evas/src/lib/canvas/evas_callbacks.c
index 93f34f2..47cfb0c 100644
--- a/libraries/evas/src/lib/canvas/evas_callbacks.c
+++ b/libraries/evas/src/lib/canvas/evas_callbacks.c
@@ -172,6 +172,15 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
172 if ((obj->delete_me) || (!obj->layer)) return; 172 if ((obj->delete_me) || (!obj->layer)) return;
173 if ((obj->last_event == event_id) && 173 if ((obj->last_event == event_id) &&
174 (obj->last_event_type == type)) return; 174 (obj->last_event_type == type)) return;
175 if (obj->last_event > event_id)
176 {
177 if ((obj->last_event_type == EVAS_CALLBACK_MOUSE_OUT) &&
178 ((type >= EVAS_CALLBACK_MOUSE_DOWN) &&
179 (type <= EVAS_CALLBACK_MULTI_MOVE)))
180 {
181 return;
182 }
183 }
175 obj->last_event = event_id; 184 obj->last_event = event_id;
176 obj->last_event_type = type; 185 obj->last_event_type = type;
177 if (!(e = obj->layer->evas)) return; 186 if (!(e = obj->layer->evas)) return;
diff --git a/libraries/evas/src/lib/canvas/evas_events.c b/libraries/evas/src/lib/canvas/evas_events.c
index 9b7077e..1ee8388 100644
--- a/libraries/evas/src/lib/canvas/evas_events.c
+++ b/libraries/evas/src/lib/canvas/evas_events.c
@@ -486,8 +486,9 @@ evas_event_feed_mouse_up(Evas *e, int b, Evas_Button_Flags flags, unsigned int t
486 } 486 }
487 if (!obj->delete_me) 487 if (!obj->delete_me)
488 { 488 {
489 if (e->events_frozen <= 0) 489 if ((e->events_frozen <= 0) &&
490 evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_UP, &ev, event_id); 490 (!evas_event_freezes_through(obj)))
491 evas_object_event_callback_call(obj, EVAS_CALLBACK_MOUSE_UP, &ev, event_id);
491 } 492 }
492 if (e->delete_me) break; 493 if (e->delete_me) break;
493 if (obj->pointer_mode == EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN) 494 if (obj->pointer_mode == EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN)
@@ -1668,18 +1669,6 @@ evas_object_freeze_events_set(Evas_Object *obj, Eina_Bool freeze)
1668 if (obj->freeze_events == freeze) return; 1669 if (obj->freeze_events == freeze) return;
1669 obj->freeze_events = freeze; 1670 obj->freeze_events = freeze;
1670 evas_object_smart_member_cache_invalidate(obj, EINA_FALSE, EINA_TRUE); 1671 evas_object_smart_member_cache_invalidate(obj, EINA_FALSE, EINA_TRUE);
1671 if (evas_object_is_in_output_rect(obj,
1672 obj->layer->evas->pointer.x,
1673 obj->layer->evas->pointer.y, 1, 1) &&
1674 ((!obj->precise_is_inside) ||
1675 (evas_object_is_inside(obj,
1676 obj->layer->evas->pointer.x,
1677 obj->layer->evas->pointer.y))))
1678 evas_event_feed_mouse_move(obj->layer->evas,
1679 obj->layer->evas->pointer.x,
1680 obj->layer->evas->pointer.y,
1681 obj->layer->evas->last_timestamp,
1682 NULL);
1683} 1672}
1684 1673
1685EAPI Eina_Bool 1674EAPI Eina_Bool
diff --git a/libraries/evas/src/lib/canvas/evas_map.c b/libraries/evas/src/lib/canvas/evas_map.c
index 2359d5a..5dcb760 100644
--- a/libraries/evas/src/lib/canvas/evas_map.c
+++ b/libraries/evas/src/lib/canvas/evas_map.c
@@ -35,7 +35,7 @@ _evas_map_calc_geom_change(Evas_Object *obj)
35static void 35static void
36_evas_map_calc_map_geometry(Evas_Object *obj) 36_evas_map_calc_map_geometry(Evas_Object *obj)
37{ 37{
38 Evas_Coord x1, x2, y1, y2; 38 Evas_Coord x1, x2, yy1, yy2;
39 const Evas_Map_Point *p, *p_end; 39 const Evas_Map_Point *p, *p_end;
40 Eina_Bool ch = EINA_FALSE; 40 Eina_Bool ch = EINA_FALSE;
41 41
@@ -82,7 +82,7 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
82 p = obj->cur.map->points; 82 p = obj->cur.map->points;
83 p_end = p + obj->cur.map->count; 83 p_end = p + obj->cur.map->count;
84 x1 = x2 = lround(p->x); 84 x1 = x2 = lround(p->x);
85 y1 = y2 = lround(p->y); 85 yy1 = yy2 = lround(p->y);
86 p++; 86 p++;
87 for (; p < p_end; p++) 87 for (; p < p_end; p++)
88 { 88 {
@@ -92,21 +92,21 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
92 y = lround(p->y); 92 y = lround(p->y);
93 if (x < x1) x1 = x; 93 if (x < x1) x1 = x;
94 if (x > x2) x2 = x; 94 if (x > x2) x2 = x;
95 if (y < y1) y1 = y; 95 if (y < yy1) yy1 = y;
96 if (y > y2) y2 = y; 96 if (y > yy2) yy2 = y;
97 } 97 }
98// this causes clip-out bugs now mapped objs canbe opaque!!! 98// this causes clip-out bugs now mapped objs canbe opaque!!!
99// // add 1 pixel of fuzz around the map region to ensure updates are correct 99// // add 1 pixel of fuzz around the map region to ensure updates are correct
100// x1 -= 1; y1 -= 1; 100// x1 -= 1; yy1 -= 1;
101// x2 += 1; y2 += 1; 101// x2 += 1; yy2 += 1;
102 if (obj->cur.map->normal_geometry.x != x1) ch = 1; 102 if (obj->cur.map->normal_geometry.x != x1) ch = 1;
103 if (obj->cur.map->normal_geometry.y != y1) ch = 1; 103 if (obj->cur.map->normal_geometry.y != yy1) ch = 1;
104 if (obj->cur.map->normal_geometry.w != (x2 - x1)) ch = 1; 104 if (obj->cur.map->normal_geometry.w != (x2 - x1)) ch = 1;
105 if (obj->cur.map->normal_geometry.h != (y2 - y1)) ch = 1; 105 if (obj->cur.map->normal_geometry.h != (yy2 - yy1)) ch = 1;
106 obj->cur.map->normal_geometry.x = x1; 106 obj->cur.map->normal_geometry.x = x1;
107 obj->cur.map->normal_geometry.y = y1; 107 obj->cur.map->normal_geometry.y = yy1;
108 obj->cur.map->normal_geometry.w = (x2 - x1); 108 obj->cur.map->normal_geometry.w = (x2 - x1);
109 obj->cur.map->normal_geometry.h = (y2 - y1); 109 obj->cur.map->normal_geometry.h = (yy2 - yy1);
110 if (ch) _evas_map_calc_geom_change(obj); 110 if (ch) _evas_map_calc_geom_change(obj);
111} 111}
112 112
@@ -374,9 +374,11 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
374 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); 374 MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
375 return; 375 return;
376 MAGIC_CHECK_END(); 376 MAGIC_CHECK_END();
377 Eina_Bool pchange = EINA_FALSE;
377 378
378 enabled = !!enabled; 379 enabled = !!enabled;
379 if (obj->cur.usemap == enabled) return; 380 if (obj->cur.usemap == enabled) return;
381 pchange = obj->changed;
380 obj->cur.usemap = enabled; 382 obj->cur.usemap = enabled;
381 if (enabled) 383 if (enabled)
382 { 384 {
@@ -405,6 +407,8 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
405 /* This is a bit heavy handed, but it fixes the case of same geometry, but 407 /* This is a bit heavy handed, but it fixes the case of same geometry, but
406 * changed colour or UV settings. */ 408 * changed colour or UV settings. */
407 evas_object_change(obj); 409 evas_object_change(obj);
410 if (!obj->changed_pchange) obj->changed_pchange = pchange;
411 obj->changed_map = EINA_TRUE;
408} 412}
409 413
410EAPI Eina_Bool 414EAPI Eina_Bool
@@ -896,7 +900,7 @@ evas_map_util_3d_lighting(Evas_Map *m,
896 for (i = 0; i < m->count; i++) 900 for (i = 0; i < m->count; i++)
897 { 901 {
898 double x, y, z; 902 double x, y, z;
899 double nx, ny, nz, x1, y1, z1, x2, y2, z2, ln, br; 903 double nx, ny, nz, x1, yy1, z1, x2, yy2, z2, ln, br;
900 int h, j, mr, mg, mb; 904 int h, j, mr, mg, mb;
901 905
902 x = m->points[i].x; 906 x = m->points[i].x;
@@ -907,15 +911,15 @@ evas_map_util_3d_lighting(Evas_Map *m,
907 j = (i + 1) % 4 + (i & ~0x3); // next point 911 j = (i + 1) % 4 + (i & ~0x3); // next point
908 912
909 x1 = m->points[h].x - x; 913 x1 = m->points[h].x - x;
910 y1 = m->points[h].y - y; 914 yy1 = m->points[h].y - y;
911 z1 = m->points[h].z - z; 915 z1 = m->points[h].z - z;
912 916
913 x2 = m->points[j].x - x; 917 x2 = m->points[j].x - x;
914 y2 = m->points[j].y - y; 918 yy2 = m->points[j].y - y;
915 z2 = m->points[j].z - z; 919 z2 = m->points[j].z - z;
916 nx = (y1 * z2) - (z1 * y2); 920 nx = (yy1 * z2) - (z1 * yy2);
917 ny = (z1 * x2) - (x1 * z2); 921 ny = (z1 * x2) - (x1 * z2);
918 nz = (x1 * y2) - (y1 * x2); 922 nz = (x1 * yy2) - (yy1 * x2);
919 923
920 ln = (nx * nx) + (ny * ny) + (nz * nz); 924 ln = (nx * nx) + (ny * ny) + (nz * nz);
921 ln = sqrt(ln); 925 ln = sqrt(ln);
diff --git a/libraries/evas/src/lib/canvas/evas_object_image.c b/libraries/evas/src/lib/canvas/evas_object_image.c
index d9f6378..4ebea08 100644
--- a/libraries/evas/src/lib/canvas/evas_object_image.c
+++ b/libraries/evas/src/lib/canvas/evas_object_image.c
@@ -2908,11 +2908,31 @@ evas_object_image_render(Evas_Object *obj, void *output, void *context, void *su
2908 { 2908 {
2909 Evas_Coord idw, idh, idx, idy; 2909 Evas_Coord idw, idh, idx, idy;
2910 int ix, iy, iw, ih; 2910 int ix, iy, iw, ih;
2911 int img_set = 0;
2911 2912
2912 if (o->dirty_pixels) 2913 if (o->dirty_pixels)
2913 { 2914 {
2914 if (o->func.get_pixels) 2915 if (o->func.get_pixels)
2915 { 2916 {
2917 // Set img object for direct rendering optimization
2918 // Check for image w/h against image geometry w/h
2919 // Check for image color r,g,b,a = {255,255,255,255}
2920 // Check and make sure that there are no maps.
2921 if ( (obj->cur.geometry.w == o->cur.image.w) &&
2922 (obj->cur.geometry.h == o->cur.image.h) &&
2923 (obj->cur.color.r == 255) &&
2924 (obj->cur.color.g == 255) &&
2925 (obj->cur.color.b == 255) &&
2926 (obj->cur.color.a == 255) &&
2927 (!obj->cur.map) )
2928 {
2929 if (obj->layer->evas->engine.func->gl_img_obj_set)
2930 {
2931 obj->layer->evas->engine.func->gl_img_obj_set(output, obj, o->cur.has_alpha);
2932 img_set = 1;
2933 }
2934 }
2935
2916 o->func.get_pixels(o->func.get_pixels_data, obj); 2936 o->func.get_pixels(o->func.get_pixels_data, obj);
2917 if (o->engine_data != pixels) 2937 if (o->engine_data != pixels)
2918 pixels = o->engine_data; 2938 pixels = o->engine_data;
@@ -3152,7 +3172,17 @@ evas_object_image_render(Evas_Object *obj, void *output, void *context, void *su
3152 idy = ydy; 3172 idy = ydy;
3153 if (dobreak_w) break; 3173 if (dobreak_w) break;
3154 } 3174 }
3155 } 3175 }
3176
3177 // Unset img object
3178 if (img_set)
3179 {
3180 if (obj->layer->evas->engine.func->gl_img_obj_set)
3181 {
3182 obj->layer->evas->engine.func->gl_img_obj_set(output, NULL, 0);
3183 img_set = 0;
3184 }
3185 }
3156 } 3186 }
3157} 3187}
3158 3188
@@ -3371,10 +3401,10 @@ evas_object_image_render_pre(Evas_Object *obj)
3371 y = idy; 3401 y = idy;
3372 h = ((int)(idy + idh)) - y; 3402 h = ((int)(idy + idh)) - y;
3373 3403
3374 r.x = ((rr->x - 1) * w) / o->cur.image.w; 3404 r.x = (rr->x * w) / o->cur.image.w;
3375 r.y = ((rr->y - 1) * h) / o->cur.image.h; 3405 r.y = (rr->y * h) / o->cur.image.h;
3376 r.w = ((rr->w + 2) * w) / o->cur.image.w; 3406 r.w = ((rr->w * w) + (o->cur.image.w * 2) - 1) / o->cur.image.w;
3377 r.h = ((rr->h + 2) * h) / o->cur.image.h; 3407 r.h = ((rr->h * h) + (o->cur.image.h * 2) - 1) / o->cur.image.h;
3378 r.x += obj->cur.geometry.x + x; 3408 r.x += obj->cur.geometry.x + x;
3379 r.y += obj->cur.geometry.y + y; 3409 r.y += obj->cur.geometry.y + y;
3380 RECTS_CLIP_TO_RECT(r.x, r.y, r.w, r.h, 3410 RECTS_CLIP_TO_RECT(r.x, r.y, r.w, r.h,
diff --git a/libraries/evas/src/lib/canvas/evas_object_main.c b/libraries/evas/src/lib/canvas/evas_object_main.c
index 86ab498..81fc858 100644
--- a/libraries/evas/src/lib/canvas/evas_object_main.c
+++ b/libraries/evas/src/lib/canvas/evas_object_main.c
@@ -230,7 +230,7 @@ evas_object_clip_changes_clean(Evas_Object *obj)
230} 230}
231 231
232void 232void
233evas_object_render_pre_effect_updates(Eina_Array *rects, Evas_Object *obj, int is_v, int was_v) 233evas_object_render_pre_effect_updates(Eina_Array *rects, Evas_Object *obj, int is_v, int was_v __UNUSED__)
234{ 234{
235 Eina_Rectangle *r; 235 Eina_Rectangle *r;
236 Evas_Object *clipper; 236 Evas_Object *clipper;
@@ -241,7 +241,6 @@ evas_object_render_pre_effect_updates(Eina_Array *rects, Evas_Object *obj, int i
241 241
242 if (obj->smart.smart) goto end; 242 if (obj->smart.smart) goto end;
243 /* FIXME: was_v isn't used... why? */ 243 /* FIXME: was_v isn't used... why? */
244 was_v = 0;
245 if (!obj->clip.clipees) 244 if (!obj->clip.clipees)
246 { 245 {
247 EINA_ARRAY_ITER_NEXT(rects, i, r, it) 246 EINA_ARRAY_ITER_NEXT(rects, i, r, it)
@@ -1042,6 +1041,22 @@ evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a)
1042 if (g > 255) g = 255; if (g < 0) g = 0; 1041 if (g > 255) g = 255; if (g < 0) g = 0;
1043 if (b > 255) b = 255; if (b < 0) b = 0; 1042 if (b > 255) b = 255; if (b < 0) b = 0;
1044 if (a > 255) a = 255; if (a < 0) a = 0; 1043 if (a > 255) a = 255; if (a < 0) a = 0;
1044 if (r > a)
1045 {
1046 r = a;
1047 ERR("Evas only handle pre multiplied color !");
1048 }
1049 if (g > a)
1050 {
1051 g = a;
1052 ERR("Evas only handle pre multiplied color !");
1053 }
1054 if (b > a)
1055 {
1056 b = a;
1057 ERR("Evas only handle pre multiplied color !");
1058 }
1059
1045 if (evas_object_intercept_call_color_set(obj, r, g, b, a)) return; 1060 if (evas_object_intercept_call_color_set(obj, r, g, b, a)) return;
1046 if (obj->smart.smart) 1061 if (obj->smart.smart)
1047 { 1062 {
diff --git a/libraries/evas/src/lib/canvas/evas_object_textblock.c b/libraries/evas/src/lib/canvas/evas_object_textblock.c
index 568911c..ee07e20 100644
--- a/libraries/evas/src/lib/canvas/evas_object_textblock.c
+++ b/libraries/evas/src/lib/canvas/evas_object_textblock.c
@@ -430,6 +430,7 @@ struct _Evas_Object_Textblock
430{ 430{
431 DATA32 magic; 431 DATA32 magic;
432 Evas_Textblock_Style *style; 432 Evas_Textblock_Style *style;
433 Evas_Textblock_Style *style_user;
433 Evas_Textblock_Cursor *cursor; 434 Evas_Textblock_Cursor *cursor;
434 Eina_List *cursors; 435 Eina_List *cursors;
435 Evas_Object_Textblock_Node_Text *text_nodes; 436 Evas_Object_Textblock_Node_Text *text_nodes;
@@ -4185,11 +4186,27 @@ _layout(const Evas_Object *obj, int w, int h, int *w_ret, int *h_ret)
4185 4186
4186 /* Start of logical layout creation */ 4187 /* Start of logical layout creation */
4187 /* setup default base style */ 4188 /* setup default base style */
4188 if ((c->o->style) && (c->o->style->default_tag))
4189 { 4189 {
4190 c->fmt = _layout_format_push(c, NULL, NULL); 4190 Eina_Bool finalize = EINA_FALSE;
4191 _format_fill(c->obj, c->fmt, c->o->style->default_tag); 4191 if ((c->o->style) && (c->o->style->default_tag))
4192 _format_finalize(c->obj, c->fmt); 4192 {
4193 c->fmt = _layout_format_push(c, NULL, NULL);
4194 _format_fill(c->obj, c->fmt, c->o->style->default_tag);
4195 finalize = EINA_TRUE;
4196 }
4197
4198 if ((c->o->style_user) && (c->o->style_user->default_tag))
4199 {
4200 if (!c->fmt)
4201 {
4202 c->fmt = _layout_format_push(c, NULL, NULL);
4203 }
4204 _format_fill(c->obj, c->fmt, c->o->style_user->default_tag);
4205 finalize = EINA_TRUE;
4206 }
4207
4208 if (finalize)
4209 _format_finalize(c->obj, c->fmt);
4193 } 4210 }
4194 if (!c->fmt) 4211 if (!c->fmt)
4195 { 4212 {
@@ -4485,9 +4502,9 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4485 { 4502 {
4486 // format MUST be KEY='VALUE'[KEY='VALUE']... 4503 // format MUST be KEY='VALUE'[KEY='VALUE']...
4487 const char *p; 4504 const char *p;
4488 const char *key_start, *key_stop, *val_start, *val_stop; 4505 const char *key_start, *key_stop, *val_start;
4489 4506
4490 key_start = key_stop = val_start = val_stop = NULL; 4507 key_start = key_stop = val_start = NULL;
4491 p = ts->style_text; 4508 p = ts->style_text;
4492 while (*p) 4509 while (*p)
4493 { 4510 {
@@ -4504,19 +4521,54 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4504 else if (!val_start) 4521 else if (!val_start)
4505 { 4522 {
4506 if (((*p) == '\'') && (*(p + 1))) 4523 if (((*p) == '\'') && (*(p + 1)))
4507 val_start = p + 1; 4524 {
4508 } 4525 val_start = ++p;
4509 else if (!val_stop) 4526 }
4510 {
4511 if (((*p) == '\'') && (p > ts->style_text) && (p[-1] != '\\'))
4512 val_stop = p;
4513 } 4527 }
4514 if ((key_start) && (key_stop) && (val_start) && (val_stop)) 4528 if ((key_start) && (key_stop) && (val_start))
4515 { 4529 {
4516 char *tags, *replaces; 4530 char *tags, *replaces = NULL;
4517 Evas_Object_Style_Tag *tag; 4531 Evas_Object_Style_Tag *tag;
4518 size_t tag_len = key_stop - key_start; 4532 const char *val_stop = NULL;
4519 size_t replace_len = val_stop - val_start; 4533 size_t tag_len;
4534 size_t replace_len;
4535
4536 {
4537 Eina_Strbuf *buf = eina_strbuf_new();
4538 val_stop = val_start;
4539 while(*p)
4540 {
4541 if (*p == '\'')
4542 {
4543 /* Break if we found the tag end */
4544 if (p[-1] != '\\')
4545 {
4546 eina_strbuf_append_length(buf, val_stop,
4547 p - val_stop);
4548 break;
4549 }
4550 else
4551 {
4552 eina_strbuf_append_length(buf, val_stop,
4553 p - val_stop - 1);
4554 eina_strbuf_append_char(buf, '\'');
4555 val_stop = p + 1;
4556 }
4557 }
4558 p++;
4559 }
4560 replaces = eina_strbuf_string_steal(buf);
4561 eina_strbuf_free(buf);
4562 }
4563 /* If we didn't find an end, just aboart. */
4564 if (!*p)
4565 {
4566 if (replaces) free(replaces);
4567 break;
4568 }
4569
4570 tag_len = key_stop - key_start;
4571 replace_len = val_stop - val_start;
4520 4572
4521 tags = malloc(tag_len + 1); 4573 tags = malloc(tag_len + 1);
4522 if (tags) 4574 if (tags)
@@ -4525,12 +4577,6 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4525 tags[tag_len] = 0; 4577 tags[tag_len] = 0;
4526 } 4578 }
4527 4579
4528 replaces = malloc(replace_len + 1);
4529 if (replaces)
4530 {
4531 memcpy(replaces, val_start, replace_len);
4532 replaces[replace_len] = 0;
4533 }
4534 if ((tags) && (replaces)) 4580 if ((tags) && (replaces))
4535 { 4581 {
4536 if (!strcmp(tags, "DEFAULT")) 4582 if (!strcmp(tags, "DEFAULT"))
@@ -4561,7 +4607,7 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
4561 if (tags) free(tags); 4607 if (tags) free(tags);
4562 if (replaces) free(replaces); 4608 if (replaces) free(replaces);
4563 } 4609 }
4564 key_start = key_stop = val_start = val_stop = NULL; 4610 key_start = key_stop = val_start = NULL;
4565 } 4611 }
4566 p++; 4612 p++;
4567 } 4613 }
@@ -4576,13 +4622,15 @@ evas_textblock_style_get(const Evas_Textblock_Style *ts)
4576} 4622}
4577 4623
4578/* textblock styles */ 4624/* textblock styles */
4579EAPI void 4625
4580evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts) 4626static void
4627_textblock_style_generic_set(Evas_Object *obj, Evas_Textblock_Style *ts,
4628 Evas_Textblock_Style **obj_ts)
4581{ 4629{
4582 TB_HEAD(); 4630 TB_HEAD();
4583 if (ts == o->style) return; 4631 if (ts == *obj_ts) return;
4584 if ((ts) && (ts->delete_me)) return; 4632 if ((ts) && (ts->delete_me)) return;
4585 if (o->style) 4633 if (*obj_ts)
4586 { 4634 {
4587 Evas_Textblock_Style *old_ts; 4635 Evas_Textblock_Style *old_ts;
4588 if (o->markup_text) 4636 if (o->markup_text)
@@ -4591,7 +4639,7 @@ evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
4591 o->markup_text = NULL; 4639 o->markup_text = NULL;
4592 } 4640 }
4593 4641
4594 old_ts = o->style; 4642 old_ts = *obj_ts;
4595 old_ts->objects = eina_list_remove(old_ts->objects, obj); 4643 old_ts->objects = eina_list_remove(old_ts->objects, obj);
4596 if ((old_ts->delete_me) && (!old_ts->objects)) 4644 if ((old_ts->delete_me) && (!old_ts->objects))
4597 evas_textblock_style_free(old_ts); 4645 evas_textblock_style_free(old_ts);
@@ -4600,12 +4648,19 @@ evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
4600 { 4648 {
4601 ts->objects = eina_list_append(ts->objects, obj); 4649 ts->objects = eina_list_append(ts->objects, obj);
4602 } 4650 }
4603 o->style = ts; 4651 *obj_ts = ts;
4604 4652
4605 _evas_textblock_invalidate_all(o); 4653 _evas_textblock_invalidate_all(o);
4606 _evas_textblock_changed(o, obj); 4654 _evas_textblock_changed(o, obj);
4607} 4655}
4608 4656
4657EAPI void
4658evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
4659{
4660 TB_HEAD();
4661 _textblock_style_generic_set(obj, ts, &(o->style));
4662}
4663
4609EAPI const Evas_Textblock_Style * 4664EAPI const Evas_Textblock_Style *
4610evas_object_textblock_style_get(const Evas_Object *obj) 4665evas_object_textblock_style_get(const Evas_Object *obj)
4611{ 4666{
@@ -4614,6 +4669,27 @@ evas_object_textblock_style_get(const Evas_Object *obj)
4614} 4669}
4615 4670
4616EAPI void 4671EAPI void
4672evas_object_textblock_style_user_push(Evas_Object *obj, Evas_Textblock_Style *ts)
4673{
4674 TB_HEAD();
4675 _textblock_style_generic_set(obj, ts, &(o->style_user));
4676}
4677
4678EAPI const Evas_Textblock_Style *
4679evas_object_textblock_style_user_peek(const Evas_Object *obj)
4680{
4681 TB_HEAD_RETURN(NULL);
4682 return o->style_user;
4683}
4684
4685EAPI void
4686evas_object_textblock_style_user_pop(Evas_Object *obj)
4687{
4688 TB_HEAD();
4689 _textblock_style_generic_set(obj, NULL, &(o->style_user));
4690}
4691
4692EAPI void
4617evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch) 4693evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch)
4618{ 4694{
4619 TB_HEAD(); 4695 TB_HEAD();
@@ -4902,7 +4978,7 @@ evas_object_textblock_text_markup_set(Evas_Object *obj, const char *text)
4902 o->markup_text = NULL; 4978 o->markup_text = NULL;
4903 } 4979 }
4904 _nodes_clear(obj); 4980 _nodes_clear(obj);
4905 if (!o->style) 4981 if (!o->style && !o->style_user)
4906 { 4982 {
4907 if (text != o->markup_text) 4983 if (text != o->markup_text)
4908 { 4984 {
@@ -5244,7 +5320,7 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text)
5244 const char *escape; 5320 const char *escape;
5245 5321
5246 escape = _escaped_char_get(esc_start, esc_end + 1); 5322 escape = _escaped_char_get(esc_start, esc_end + 1);
5247 eina_strbuf_append(sbuf, escape); 5323 if (escape) eina_strbuf_append(sbuf, escape);
5248 esc_start = esc_end = NULL; 5324 esc_start = esc_end = NULL;
5249 } 5325 }
5250 else if (*p == 0) 5326 else if (*p == 0)
@@ -5650,7 +5726,6 @@ EAPI Eina_Bool
5650evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur) 5726evas_textblock_cursor_is_format(const Evas_Textblock_Cursor *cur)
5651{ 5727{
5652 if (!cur || !cur->node) return EINA_FALSE; 5728 if (!cur || !cur->node) return EINA_FALSE;
5653 if (evas_textblock_cursor_format_is_visible_get(cur)) return EINA_TRUE;
5654 return (_evas_textblock_cursor_node_format_at_pos_get(cur)) ? 5729 return (_evas_textblock_cursor_node_format_at_pos_get(cur)) ?
5655 EINA_TRUE : EINA_FALSE; 5730 EINA_TRUE : EINA_FALSE;
5656} 5731}
@@ -5977,9 +6052,9 @@ evas_textblock_cursor_format_prev(Evas_Textblock_Cursor *cur)
5977#else 6052#else
5978 6053
5979#define BREAK_AFTER(i) \ 6054#define BREAK_AFTER(i) \
5980 ((!str[i + 1]) || \ 6055 ((!text[i + 1]) || \
5981 (_is_white(str[i]) && !_is_white(str[i + 1])) || \ 6056 (_is_white(text[i]) && !_is_white(text[i + 1])) || \
5982 (!_is_white(str[i]) && _is_white(str[i + 1]))) 6057 (!_is_white(text[i]) && _is_white(text[i + 1])))
5983 6058
5984#endif 6059#endif
5985 6060
@@ -7241,7 +7316,13 @@ _evas_textblock_node_format_new(Evas_Object_Textblock *o, const char *_format)
7241 } 7316 }
7242 } 7317 }
7243 7318
7244 match = _style_match_tag(o->style, format, format_len, &replace_len); 7319 if (!o->style_user || !(match = _style_match_tag(o->style_user, format,
7320 format_len, &replace_len)))
7321 {
7322 match = _style_match_tag(o->style, format, format_len,
7323 &replace_len);
7324 }
7325
7245 if (match) 7326 if (match)
7246 { 7327 {
7247 if (match[0] != '-') 7328 if (match[0] != '-')
@@ -7633,6 +7714,7 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
7633 } 7714 }
7634 fnode = _evas_textblock_cursor_node_format_at_pos_get(cur1); 7715 fnode = _evas_textblock_cursor_node_format_at_pos_get(cur1);
7635 7716
7717 n1->dirty = n2->dirty = EINA_TRUE;
7636 if (should_merge) 7718 if (should_merge)
7637 { 7719 {
7638 /* We call this function instead of the cursor one because we already 7720 /* We call this function instead of the cursor one because we already
@@ -7646,7 +7728,6 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
7646 evas_textblock_cursor_copy(cur1, o->cursor); 7728 evas_textblock_cursor_copy(cur1, o->cursor);
7647 7729
7648 _evas_textblock_changed(o, cur1->obj); 7730 _evas_textblock_changed(o, cur1->obj);
7649 n1->dirty = n2->dirty = EINA_TRUE;
7650} 7731}
7651 7732
7652 7733
@@ -8022,6 +8103,7 @@ evas_textblock_cursor_format_is_visible_get(const Evas_Textblock_Cursor *cur)
8022 8103
8023 if (!cur) return EINA_FALSE; 8104 if (!cur) return EINA_FALSE;
8024 if (!cur->node) return EINA_FALSE; 8105 if (!cur->node) return EINA_FALSE;
8106 if (!evas_textblock_cursor_is_format(cur)) return EINA_FALSE;
8025 text = eina_ustrbuf_string_get(cur->node->unicode); 8107 text = eina_ustrbuf_string_get(cur->node->unicode);
8026 return EVAS_TEXTBLOCK_IS_VISIBLE_FORMAT_CHAR(text[cur->pos]); 8108 return EVAS_TEXTBLOCK_IS_VISIBLE_FORMAT_CHAR(text[cur->pos]);
8027} 8109}
@@ -9016,12 +9098,22 @@ _size_native_calc_line_finalize(const Evas_Object *obj, Eina_List *items,
9016 Eina_List *i; 9098 Eina_List *i;
9017 9099
9018 it = eina_list_data_get(items); 9100 it = eina_list_data_get(items);
9019 /* If there are no text items yet, calc ascent/descent
9020 * according to the current format. */
9021 if (it && (*ascent + *descent == 0))
9022 _layout_format_ascent_descent_adjust(obj, ascent, descent, it->format);
9023
9024 *w = 0; 9101 *w = 0;
9102
9103 if (it)
9104 {
9105 /* If there are no text items yet, calc ascent/descent
9106 * according to the current format. */
9107 if (*ascent + *descent == 0)
9108 _layout_format_ascent_descent_adjust(obj, ascent, descent,
9109 it->format);
9110
9111 /* Add margins. */
9112 if (it->format)
9113 *w = it->format->margin.l + it->format->margin.r;
9114 }
9115
9116
9025 /* Adjust all the item sizes according to the final line size, 9117 /* Adjust all the item sizes according to the final line size,
9026 * and update the x positions of all the items of the line. */ 9118 * and update the x positions of all the items of the line. */
9027 EINA_LIST_FOREACH(items, i, it) 9119 EINA_LIST_FOREACH(items, i, it)
@@ -9226,6 +9318,10 @@ evas_object_textblock_free(Evas_Object *obj)
9226 9318
9227 evas_object_textblock_clear(obj); 9319 evas_object_textblock_clear(obj);
9228 evas_object_textblock_style_set(obj, NULL); 9320 evas_object_textblock_style_set(obj, NULL);
9321 while (evas_object_textblock_style_user_peek(obj))
9322 {
9323 evas_object_textblock_style_user_pop(obj);
9324 }
9229 o = (Evas_Object_Textblock *)(obj->object_data); 9325 o = (Evas_Object_Textblock *)(obj->object_data);
9230 free(o->cursor); 9326 free(o->cursor);
9231 while (o->cursors) 9327 while (o->cursors)
diff --git a/libraries/evas/src/lib/canvas/evas_render.c b/libraries/evas/src/lib/canvas/evas_render.c
index cdedaec..32ce988 100644
--- a/libraries/evas/src/lib/canvas/evas_render.c
+++ b/libraries/evas/src/lib/canvas/evas_render.c
@@ -612,6 +612,8 @@ pending_change(void *data, void *gdata __UNUSED__)
612 obj->changed_move_only = 0; 612 obj->changed_move_only = 0;
613 obj->changed_nomove = 0; 613 obj->changed_nomove = 0;
614 obj->changed_move = 0; 614 obj->changed_move = 0;
615 obj->changed_map = 0;
616 obj->changed_pchange = 0;
615 } 617 }
616 return obj->changed ? EINA_TRUE : EINA_FALSE; 618 return obj->changed ? EINA_TRUE : EINA_FALSE;
617} 619}
@@ -984,6 +986,8 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
984 o2->changed_move_only = 0; 986 o2->changed_move_only = 0;
985 o2->changed_nomove = 0; 987 o2->changed_nomove = 0;
986 o2->changed_move = 0; 988 o2->changed_move = 0;
989 o2->changed_map = 0;
990 o2->changed_pchange = 0;
987 continue; 991 continue;
988 } 992 }
989 if (o2->changed) 993 if (o2->changed)
@@ -994,6 +998,8 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
994 o2->changed_move_only = 0; 998 o2->changed_move_only = 0;
995 o2->changed_nomove = 0; 999 o2->changed_nomove = 0;
996 o2->changed_move = 0; 1000 o2->changed_move = 0;
1001 o2->changed_map = 0;
1002 o2->changed_pchange = 0;
997 break; 1003 break;
998 } 1004 }
999 } 1005 }
@@ -1002,16 +1008,21 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
1002 obj->changed_move_only = 0; 1008 obj->changed_move_only = 0;
1003 obj->changed_nomove = 0; 1009 obj->changed_nomove = 0;
1004 obj->changed_move = 0; 1010 obj->changed_move = 0;
1011 obj->changed_map = 0;
1012 obj->changed_pchange = 0;
1005 } 1013 }
1006 else 1014 else
1007 { 1015 {
1008 if (obj->changed) 1016 if (obj->changed)
1009 { 1017 {
1010 changed = 1; 1018 if ((obj->changed_pchange) && (obj->changed_map))
1019 changed = 1;
1011 obj->changed = 0; 1020 obj->changed = 0;
1012 obj->changed_move_only = 0; 1021 obj->changed_move_only = 0;
1013 obj->changed_nomove = 0; 1022 obj->changed_nomove = 0;
1014 obj->changed_move = 0; 1023 obj->changed_move = 0;
1024 obj->changed_map = 0;
1025 obj->changed_pchange = 0;
1015 } 1026 }
1016 } 1027 }
1017 1028
@@ -1144,10 +1155,12 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface,
1144 e->engine.data.context, 1155 e->engine.data.context,
1145 ecx, ecy, ecw, ech); 1156 ecx, ecy, ecw, ech);
1146 if (obj->cur.cache.clip.visible) 1157 if (obj->cur.cache.clip.visible)
1147 obj->layer->evas->engine.func->image_map_draw 1158 {
1148 (e->engine.data.output, e->engine.data.context, surface, 1159 obj->layer->evas->engine.func->image_map_draw
1149 obj->cur.map->surface, obj->cur.map->count, pts, 1160 (e->engine.data.output, e->engine.data.context, surface,
1150 obj->cur.map->smooth, 0); 1161 obj->cur.map->surface, obj->cur.map->count, pts,
1162 obj->cur.map->smooth, 0);
1163 }
1151 // FIXME: needs to cache these maps and 1164 // FIXME: needs to cache these maps and
1152 // keep them only rendering updates 1165 // keep them only rendering updates
1153 // obj->layer->evas->engine.func->image_map_surface_free 1166 // obj->layer->evas->engine.func->image_map_surface_free
@@ -1500,6 +1513,12 @@ evas_render_updates_internal(Evas *e,
1500 off_x = cx - ux; 1513 off_x = cx - ux;
1501 off_y = cy - uy; 1514 off_y = cy - uy;
1502 /* build obscuring objects list (in order from bottom to top) */ 1515 /* build obscuring objects list (in order from bottom to top) */
1516 if (alpha)
1517 {
1518 e->engine.func->context_clip_set(e->engine.data.output,
1519 e->engine.data.context,
1520 ux + off_x, uy + off_y, uw, uh);
1521 }
1503 for (i = 0; i < e->obscuring_objects.count; ++i) 1522 for (i = 0; i < e->obscuring_objects.count; ++i)
1504 { 1523 {
1505 obj = (Evas_Object *)eina_array_data_get 1524 obj = (Evas_Object *)eina_array_data_get
@@ -1515,9 +1534,6 @@ evas_render_updates_internal(Evas *e,
1515 } 1534 }
1516 if (alpha) 1535 if (alpha)
1517 { 1536 {
1518 e->engine.func->context_clip_set(e->engine.data.output,
1519 e->engine.data.context,
1520 ux + off_x, uy + off_y, uw, uh);
1521 e->engine.func->context_color_set(e->engine.data.output, 1537 e->engine.func->context_color_set(e->engine.data.output,
1522 e->engine.data.context, 1538 e->engine.data.context,
1523 0, 0, 0, 0); 1539 0, 0, 0, 0);
@@ -1548,7 +1564,7 @@ evas_render_updates_internal(Evas *e,
1548 (obj->cur.visible) && 1564 (obj->cur.visible) &&
1549 (!obj->delete_me) && 1565 (!obj->delete_me) &&
1550 (obj->cur.cache.clip.visible) && 1566 (obj->cur.cache.clip.visible) &&
1551 // (!obj->smart.smart) && 1567// (!obj->smart.smart) &&
1552 ((obj->cur.color.a > 0 || obj->cur.render_op != EVAS_RENDER_BLEND))) 1568 ((obj->cur.color.a > 0 || obj->cur.render_op != EVAS_RENDER_BLEND)))
1553 { 1569 {
1554 int x, y, w, h; 1570 int x, y, w, h;
@@ -1579,6 +1595,9 @@ evas_render_updates_internal(Evas *e,
1579 else 1595 else
1580 e->engine.func->context_mask_unset(e->engine.data.output, 1596 e->engine.func->context_mask_unset(e->engine.data.output,
1581 e->engine.data.context); 1597 e->engine.data.context);
1598 e->engine.func->context_clip_set(e->engine.data.output,
1599 e->engine.data.context,
1600 x, y, w, h);
1582#if 1 /* FIXME: this can slow things down... figure out optimum... coverage */ 1601#if 1 /* FIXME: this can slow things down... figure out optimum... coverage */
1583 for (j = offset; j < e->temporary_objects.count; ++j) 1602 for (j = offset; j < e->temporary_objects.count; ++j)
1584 { 1603 {
@@ -1589,9 +1608,6 @@ evas_render_updates_internal(Evas *e,
1589 _evas_render_cutout_add(e, obj2, off_x, off_y); 1608 _evas_render_cutout_add(e, obj2, off_x, off_y);
1590 } 1609 }
1591#endif 1610#endif
1592 e->engine.func->context_clip_set(e->engine.data.output,
1593 e->engine.data.context,
1594 x, y, w, h);
1595 clean_them |= evas_render_mapped(e, obj, e->engine.data.context, 1611 clean_them |= evas_render_mapped(e, obj, e->engine.data.context,
1596 surface, off_x, off_y, 0, 1612 surface, off_x, off_y, 0,
1597 cx, cy, cw, ch 1613 cx, cy, cw, ch
@@ -1637,6 +1653,8 @@ evas_render_updates_internal(Evas *e,
1637 obj->changed_move_only = 0; 1653 obj->changed_move_only = 0;
1638 obj->changed_nomove = 0; 1654 obj->changed_nomove = 0;
1639 obj->changed_move = 0; 1655 obj->changed_move = 0;
1656 obj->changed_map = 0;
1657 obj->changed_pchange = 0;
1640 } 1658 }
1641 else if ((obj->cur.map != obj->prev.map) || 1659 else if ((obj->cur.map != obj->prev.map) ||
1642 (obj->cur.usemap != obj->prev.usemap)) 1660 (obj->cur.usemap != obj->prev.usemap))
@@ -1648,6 +1666,8 @@ evas_render_updates_internal(Evas *e,
1648 obj->changed_move_only = 0; 1666 obj->changed_move_only = 0;
1649 obj->changed_nomove = 0; 1667 obj->changed_nomove = 0;
1650 obj->changed_move = 0; 1668 obj->changed_move = 0;
1669 obj->changed_map = 0;
1670 obj->changed_pchange = 0;
1651 } 1671 }
1652 /* moved to other pre-process phase 1 1672 /* moved to other pre-process phase 1
1653 if (obj->delete_me == 2) 1673 if (obj->delete_me == 2)
@@ -1684,6 +1704,7 @@ evas_render_updates_internal(Evas *e,
1684 e->framespace.changed = 0; 1704 e->framespace.changed = 0;
1685 e->invalidate = 0; 1705 e->invalidate = 0;
1686 1706
1707 // always clean... lots of mem waste!
1687 /* If their are some object to restack or some object to delete, 1708 /* If their are some object to restack or some object to delete,
1688 * it's useless to keep the render object list around. */ 1709 * it's useless to keep the render object list around. */
1689 if (clean_them) 1710 if (clean_them)
@@ -1693,6 +1714,17 @@ evas_render_updates_internal(Evas *e,
1693 eina_array_clean(&e->restack_objects); 1714 eina_array_clean(&e->restack_objects);
1694 eina_array_clean(&e->delete_objects); 1715 eina_array_clean(&e->delete_objects);
1695 eina_array_clean(&e->obscuring_objects); 1716 eina_array_clean(&e->obscuring_objects);
1717 eina_array_clean(&e->temporary_objects);
1718 eina_array_clean(&e->clip_changes);
1719/* we should flush here and have a mempool system for this
1720 eina_array_flush(&e->active_objects);
1721 eina_array_flush(&e->render_objects);
1722 eina_array_flush(&e->restack_objects);
1723 eina_array_flush(&e->delete_objects);
1724 eina_array_flush(&e->obscuring_objects);
1725 eina_array_flush(&e->temporary_objects);
1726 eina_array_flush(&e->clip_changes);
1727 */
1696 e->invalidate = 1; 1728 e->invalidate = 1;
1697 } 1729 }
1698 1730
@@ -1768,11 +1800,14 @@ evas_render_idle_flush(Evas *e)
1768 (e->engine.data.output)) 1800 (e->engine.data.output))
1769 e->engine.func->output_idle_flush(e->engine.data.output); 1801 e->engine.func->output_idle_flush(e->engine.data.output);
1770 1802
1771 eina_array_flush(&e->delete_objects);
1772 eina_array_flush(&e->active_objects); 1803 eina_array_flush(&e->active_objects);
1773 eina_array_flush(&e->restack_objects);
1774 eina_array_flush(&e->render_objects); 1804 eina_array_flush(&e->render_objects);
1805 eina_array_flush(&e->restack_objects);
1806 eina_array_flush(&e->delete_objects);
1807 eina_array_flush(&e->obscuring_objects);
1808 eina_array_flush(&e->temporary_objects);
1775 eina_array_flush(&e->clip_changes); 1809 eina_array_flush(&e->clip_changes);
1810 eina_array_flush(&e->temporary_objects);
1776 1811
1777 e->invalidate = 1; 1812 e->invalidate = 1;
1778} 1813}
diff --git a/libraries/evas/src/lib/cserve/Makefile.in b/libraries/evas/src/lib/cserve/Makefile.in
index 7599ca2..caff4d6 100644
--- a/libraries/evas/src/lib/cserve/Makefile.in
+++ b/libraries/evas/src/lib/cserve/Makefile.in
@@ -148,6 +148,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
148EVIL_CFLAGS = @EVIL_CFLAGS@ 148EVIL_CFLAGS = @EVIL_CFLAGS@
149EVIL_LIBS = @EVIL_LIBS@ 149EVIL_LIBS = @EVIL_LIBS@
150EXEEXT = @EXEEXT@ 150EXEEXT = @EXEEXT@
151EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
152EXOTIC_LIBS = @EXOTIC_LIBS@
151FGREP = @FGREP@ 153FGREP = @FGREP@
152FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 154FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
153FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 155FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -198,6 +200,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
198PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 200PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
199PIXMAN_LIBS = @PIXMAN_LIBS@ 201PIXMAN_LIBS = @PIXMAN_LIBS@
200PKG_CONFIG = @PKG_CONFIG@ 202PKG_CONFIG = @PKG_CONFIG@
203PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
204PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
201PNG_CFLAGS = @PNG_CFLAGS@ 205PNG_CFLAGS = @PNG_CFLAGS@
202PNG_LIBS = @PNG_LIBS@ 206PNG_LIBS = @PNG_LIBS@
203RANLIB = @RANLIB@ 207RANLIB = @RANLIB@
@@ -216,8 +220,6 @@ VERSION = @VERSION@
216VMAJ = @VMAJ@ 220VMAJ = @VMAJ@
217WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 221WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
218WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 222WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
219WIN32_CFLAGS = @WIN32_CFLAGS@
220WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
221XCB_CFLAGS = @XCB_CFLAGS@ 223XCB_CFLAGS = @XCB_CFLAGS@
222XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 224XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
223XCB_GL_LIBS = @XCB_GL_LIBS@ 225XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -291,8 +293,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
291evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 293evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
292evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 294evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
293evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 295evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
294evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
295evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
296evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 296evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
297evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 297evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
298evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 298evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/Makefile.in b/libraries/evas/src/lib/engines/Makefile.in
index 4c3c1da..b5cf292 100644
--- a/libraries/evas/src/lib/engines/Makefile.in
+++ b/libraries/evas/src/lib/engines/Makefile.in
@@ -158,6 +158,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
158EVIL_CFLAGS = @EVIL_CFLAGS@ 158EVIL_CFLAGS = @EVIL_CFLAGS@
159EVIL_LIBS = @EVIL_LIBS@ 159EVIL_LIBS = @EVIL_LIBS@
160EXEEXT = @EXEEXT@ 160EXEEXT = @EXEEXT@
161EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
162EXOTIC_LIBS = @EXOTIC_LIBS@
161FGREP = @FGREP@ 163FGREP = @FGREP@
162FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 164FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
163FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 165FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -208,6 +210,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
208PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 210PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
209PIXMAN_LIBS = @PIXMAN_LIBS@ 211PIXMAN_LIBS = @PIXMAN_LIBS@
210PKG_CONFIG = @PKG_CONFIG@ 212PKG_CONFIG = @PKG_CONFIG@
213PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
214PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
211PNG_CFLAGS = @PNG_CFLAGS@ 215PNG_CFLAGS = @PNG_CFLAGS@
212PNG_LIBS = @PNG_LIBS@ 216PNG_LIBS = @PNG_LIBS@
213RANLIB = @RANLIB@ 217RANLIB = @RANLIB@
@@ -226,8 +230,6 @@ VERSION = @VERSION@
226VMAJ = @VMAJ@ 230VMAJ = @VMAJ@
227WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 231WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
228WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 232WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
229WIN32_CFLAGS = @WIN32_CFLAGS@
230WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
231XCB_CFLAGS = @XCB_CFLAGS@ 233XCB_CFLAGS = @XCB_CFLAGS@
232XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 234XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
233XCB_GL_LIBS = @XCB_GL_LIBS@ 235XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -301,8 +303,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
301evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 303evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
302evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 304evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
303evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 305evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
304evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
305evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
306evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 306evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
307evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 307evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
308evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 308evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/Makefile.am b/libraries/evas/src/lib/engines/common/Makefile.am
index 9c9918d..0937394 100644
--- a/libraries/evas/src/lib/engines/common/Makefile.am
+++ b/libraries/evas/src/lib/engines/common/Makefile.am
@@ -13,7 +13,7 @@ AM_CPPFLAGS = -I. \
13 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 13 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
14 @PIXMAN_CFLAGS@ \ 14 @PIXMAN_CFLAGS@ \
15 @EET_CFLAGS@ @pthread_cflags@ \ 15 @EET_CFLAGS@ @pthread_cflags@ \
16 @WIN32_CFLAGS@ @EINA_CFLAGS@ \ 16 @EINA_CFLAGS@ \
17 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 17 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
18 @PIXMAN_CFLAGS@ 18 @PIXMAN_CFLAGS@
19 19
diff --git a/libraries/evas/src/lib/engines/common/Makefile.in b/libraries/evas/src/lib/engines/common/Makefile.in
index 7d1f20a..08526cd 100644
--- a/libraries/evas/src/lib/engines/common/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/Makefile.in
@@ -202,6 +202,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
202EVIL_CFLAGS = @EVIL_CFLAGS@ 202EVIL_CFLAGS = @EVIL_CFLAGS@
203EVIL_LIBS = @EVIL_LIBS@ 203EVIL_LIBS = @EVIL_LIBS@
204EXEEXT = @EXEEXT@ 204EXEEXT = @EXEEXT@
205EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
206EXOTIC_LIBS = @EXOTIC_LIBS@
205FGREP = @FGREP@ 207FGREP = @FGREP@
206FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 208FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
207FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 209FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -252,6 +254,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
252PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 254PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
253PIXMAN_LIBS = @PIXMAN_LIBS@ 255PIXMAN_LIBS = @PIXMAN_LIBS@
254PKG_CONFIG = @PKG_CONFIG@ 256PKG_CONFIG = @PKG_CONFIG@
257PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
258PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
255PNG_CFLAGS = @PNG_CFLAGS@ 259PNG_CFLAGS = @PNG_CFLAGS@
256PNG_LIBS = @PNG_LIBS@ 260PNG_LIBS = @PNG_LIBS@
257RANLIB = @RANLIB@ 261RANLIB = @RANLIB@
@@ -270,8 +274,6 @@ VERSION = @VERSION@
270VMAJ = @VMAJ@ 274VMAJ = @VMAJ@
271WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 275WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
272WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 276WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
273WIN32_CFLAGS = @WIN32_CFLAGS@
274WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
275XCB_CFLAGS = @XCB_CFLAGS@ 277XCB_CFLAGS = @XCB_CFLAGS@
276XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 278XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
277XCB_GL_LIBS = @XCB_GL_LIBS@ 279XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -345,8 +347,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
345evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 347evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
346evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 348evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
347evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 349evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
348evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
349evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
350evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 350evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
351evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 351evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
352evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 352evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -441,7 +441,7 @@ AM_CPPFLAGS = -I. \
441 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 441 @FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
442 @PIXMAN_CFLAGS@ \ 442 @PIXMAN_CFLAGS@ \
443 @EET_CFLAGS@ @pthread_cflags@ \ 443 @EET_CFLAGS@ @pthread_cflags@ \
444 @WIN32_CFLAGS@ @EINA_CFLAGS@ \ 444 @EINA_CFLAGS@ \
445 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 445 @FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
446 @PIXMAN_CFLAGS@ 446 @PIXMAN_CFLAGS@
447 447
diff --git a/libraries/evas/src/lib/engines/common/evas_draw_main.c b/libraries/evas/src/lib/engines/common/evas_draw_main.c
index def19a8..d08e788 100644
--- a/libraries/evas/src/lib/engines/common/evas_draw_main.c
+++ b/libraries/evas/src/lib/engines/common/evas_draw_main.c
@@ -559,7 +559,7 @@ evas_common_draw_context_cutout_split(Cutout_Rects* res, int idx, Cutout_Rect *s
559EAPI Cutout_Rects* 559EAPI Cutout_Rects*
560evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc) 560evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc)
561{ 561{
562 Cutout_Rects* res; 562 Cutout_Rects* res, *res2;
563 int i; 563 int i;
564 int j; 564 int j;
565 565
@@ -583,6 +583,69 @@ evas_common_draw_context_apply_cutouts(RGBA_Draw_Context *dc)
583 active--; 583 active--;
584 } 584 }
585 } 585 }
586 /* merge rects */
587#define RI res->rects[i]
588#define RJ res->rects[j]
589 if (res->active > 1)
590 {
591 int found = 1;
592
593 while (found)
594 {
595 found = 0;
596 for (i = 0; i < res->active; i++)
597 {
598 for (j = i + 1; j < res->active; j++)
599 {
600 /* skip empty rects we are removing */
601 if (RJ.w == 0) continue;
602 /* check if its same width, immediately above or below */
603 if ((RJ.w == RI.w) && (RJ.x == RI.x))
604 {
605 if ((RJ.y + RJ.h) == RI.y) /* above */
606 {
607 RI.y = RJ.y;
608 RI.h += RJ.h;
609 RJ.w = 0;
610 found = 1;
611 }
612 else if ((RI.y + RI.h) == RJ.y) /* below */
613 {
614 RI.h += RJ.h;
615 RJ.w = 0;
616 found = 1;
617 }
618 }
619 /* check if its same height, immediately left or right */
620 else if ((RJ.h == RI.h) && (RJ.y == RI.y))
621 {
622 if ((RJ.x + RJ.w) == RI.x) /* left */
623 {
624 RI.x = RJ.x;
625 RI.w += RJ.w;
626 RJ.w = 0;
627 found = 1;
628 }
629 else if ((RI.x + RI.w) == RJ.x) /* right */
630 {
631 RI.w += RJ.w;
632 RJ.w = 0;
633 found = 1;
634 }
635 }
636 }
637 }
638 }
639 res2 = evas_common_draw_context_cutouts_new();
640 for (i = 0; i < res->active; i++)
641 {
642 if (RI.w == 0) continue;
643 evas_common_draw_context_cutouts_add(res2, RI.x, RI.y, RI.w, RI.h);
644 }
645 free(res->rects);
646 free(res);
647 return res2;
648 }
586 return res; 649 return res;
587} 650}
588 651
diff --git a/libraries/evas/src/lib/engines/common/evas_font_load.c b/libraries/evas/src/lib/engines/common/evas_font_load.c
index 3fc4521..abba9e3 100644
--- a/libraries/evas/src/lib/engines/common/evas_font_load.c
+++ b/libraries/evas/src/lib/engines/common/evas_font_load.c
@@ -71,9 +71,7 @@ _evas_common_font_int_free(RGBA_Font_Int *fi)
71 _evas_common_font_int_clear(fi); 71 _evas_common_font_int_clear(fi);
72 eina_hash_free(fi->kerning); 72 eina_hash_free(fi->kerning);
73 73
74#ifdef HAVE_PTHREAD 74 LKD(fi->ft_mutex);
75 pthread_mutex_destroy(&fi->ft_mutex);
76#endif
77#ifdef USE_HARFBUZZ 75#ifdef USE_HARFBUZZ
78 hb_font_destroy(fi->ft.hb_font); 76 hb_font_destroy(fi->ft.hb_font);
79#endif 77#endif
@@ -301,9 +299,7 @@ _evas_common_font_int_cache_init(RGBA_Font_Int *fi)
301 EINA_KEY_CMP(_evas_common_font_double_int_cmp), 299 EINA_KEY_CMP(_evas_common_font_double_int_cmp),
302 EINA_KEY_HASH(_evas_common_font_double_int_hash), 300 EINA_KEY_HASH(_evas_common_font_double_int_hash),
303 free, 3); 301 free, 3);
304#ifdef HAVE_PTHREAD 302 LKI(fi->ft_mutex);
305 pthread_mutex_init(&fi->ft_mutex, NULL);
306#endif
307} 303}
308 304
309EAPI RGBA_Font_Int * 305EAPI RGBA_Font_Int *
diff --git a/libraries/evas/src/lib/engines/common/evas_image_main.c b/libraries/evas/src/lib/engines/common/evas_image_main.c
index d2f8c0b..9c233b3 100644
--- a/libraries/evas/src/lib/engines/common/evas_image_main.c
+++ b/libraries/evas/src/lib/engines/common/evas_image_main.c
@@ -16,6 +16,8 @@
16# include <memcheck.h> 16# include <memcheck.h>
17#endif 17#endif
18 18
19//#define SURFDBG 1
20
19static Evas_Cache_Image * eci = NULL; 21static Evas_Cache_Image * eci = NULL;
20static int reference = 0; 22static int reference = 0;
21 23
@@ -212,6 +214,30 @@ evas_common_rgba_image_free(Image_Entry *ie)
212 _evas_common_rgba_image_delete(ie); 214 _evas_common_rgba_image_delete(ie);
213} 215}
214 216
217#ifdef SURFDBG
218static Eina_List *surfs = NULL;
219
220static void
221surf_debug(void)
222{
223 Eina_List *l;
224 Image_Entry *ie;
225 RGBA_Image *im;
226 int i = 0;
227
228 printf("----SURFS----\n");
229 EINA_LIST_FOREACH(surfs, l, ie)
230 {
231 im = ie;
232 printf("%i - %p - %ix%i [%s][%s]\n",
233 i, im->image.data, ie->allocated.w, ie->allocated.h,
234 ie->file, ie->key
235 );
236 i++;
237 }
238}
239#endif
240
215EAPI void 241EAPI void
216evas_common_rgba_image_unload(Image_Entry *ie) 242evas_common_rgba_image_unload(Image_Entry *ie)
217{ 243{
@@ -252,7 +278,12 @@ evas_common_rgba_image_unload(Image_Entry *ie)
252#endif 278#endif
253 279
254 if (im->image.data && !im->image.no_free) 280 if (im->image.data && !im->image.no_free)
255 free(im->image.data); 281 {
282 free(im->image.data);
283#ifdef SURFDBG
284 surfs = eina_list_remove(surfs, ie);
285#endif
286 }
256 im->image.data = NULL; 287 im->image.data = NULL;
257 ie->allocated.w = 0; 288 ie->allocated.w = 0;
258 ie->allocated.h = 0; 289 ie->allocated.h = 0;
@@ -260,6 +291,9 @@ evas_common_rgba_image_unload(Image_Entry *ie)
260#ifdef BUILD_ASYNC_PRELOAD 291#ifdef BUILD_ASYNC_PRELOAD
261 ie->flags.preload_done = 0; 292 ie->flags.preload_done = 0;
262#endif 293#endif
294#ifdef SURFDBG
295 surf_debug();
296#endif
263} 297}
264 298
265void 299void
@@ -318,10 +352,20 @@ _evas_common_rgba_image_surface_alloc(Image_Entry *ie, unsigned int w, unsigned
318 else 352 else
319 siz = w * h * sizeof(DATA32); 353 siz = w * h * sizeof(DATA32);
320 354
321 if (im->image.data) free(im->image.data); 355 if (im->image.data)
356 {
357 free(im->image.data);
358#ifdef SURFDBG
359 surfs = eina_list_remove(surfs, ie);
360#endif
361 }
322 im->image.data = malloc(siz); 362 im->image.data = malloc(siz);
323 if (!im->image.data) return -1; 363 if (!im->image.data) return -1;
324 364 ie->allocated.w = w;
365 ie->allocated.h = h;
366#ifdef SURFDBG
367 surfs = eina_list_append(surfs, ie);
368#endif
325#ifdef HAVE_VALGRIND 369#ifdef HAVE_VALGRIND
326# ifdef VALGRIND_MAKE_READABLE 370# ifdef VALGRIND_MAKE_READABLE
327 VALGRIND_MAKE_READABLE(im->image.data, siz); 371 VALGRIND_MAKE_READABLE(im->image.data, siz);
@@ -332,7 +376,9 @@ _evas_common_rgba_image_surface_alloc(Image_Entry *ie, unsigned int w, unsigned
332# endif 376# endif
333#endif 377#endif
334 _evas_common_rgba_image_post_surface(ie); 378 _evas_common_rgba_image_post_surface(ie);
335 379#ifdef SURFDBG
380 surf_debug();
381#endif
336 return 0; 382 return 0;
337} 383}
338 384
@@ -366,7 +412,12 @@ _evas_common_rgba_image_surface_delete(Image_Entry *ie)
366 im->cs.data = NULL; 412 im->cs.data = NULL;
367 413
368 if (im->image.data && !im->image.no_free) 414 if (im->image.data && !im->image.no_free)
369 free(im->image.data); 415 {
416 free(im->image.data);
417#ifdef SURFDBG
418 surfs = eina_list_remove(surfs, ie);
419#endif
420 }
370#ifdef EVAS_CSERVE 421#ifdef EVAS_CSERVE
371 else if (ie->data1) 422 else if (ie->data1)
372 evas_cserve_image_free(ie); 423 evas_cserve_image_free(ie);
@@ -380,6 +431,9 @@ _evas_common_rgba_image_surface_delete(Image_Entry *ie)
380#endif 431#endif
381 ie->flags.loaded = 0; 432 ie->flags.loaded = 0;
382 evas_common_rgba_image_scalecache_dirty(&im->cache_entry); 433 evas_common_rgba_image_scalecache_dirty(&im->cache_entry);
434#ifdef SURFDBG
435 surf_debug();
436#endif
383} 437}
384 438
385static void 439static void
@@ -597,7 +651,15 @@ evas_common_image_colorspace_normalize(RGBA_Image *im)
597#ifdef EVAS_CSERVE 651#ifdef EVAS_CSERVE
598 if (((Image_Entry *)im)->data1) evas_cserve_image_free(&im->cache_entry); 652 if (((Image_Entry *)im)->data1) evas_cserve_image_free(&im->cache_entry);
599#endif 653#endif
600 if (!im->image.no_free) free(im->image.data); 654 if (!im->image.no_free)
655 {
656 free(im->image.data);
657#ifdef SURFDBG
658 surfs = eina_list_remove(surfs, im);
659#endif
660 ((Image_Entry *)im)->allocated.w = 0;
661 ((Image_Entry *)im)->allocated.h = 0;
662 }
601 im->image.data = im->cs.data; 663 im->image.data = im->cs.data;
602 im->cs.no_free = im->image.no_free; 664 im->cs.no_free = im->image.no_free;
603 } 665 }
@@ -634,6 +696,9 @@ evas_common_image_colorspace_normalize(RGBA_Image *im)
634 break; 696 break;
635 } 697 }
636 im->cs.dirty = 0; 698 im->cs.dirty = 0;
699#ifdef SURFDBG
700 surf_debug();
701#endif
637} 702}
638 703
639EAPI void 704EAPI void
diff --git a/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in
index 78e893d..61d3479 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_add/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am
index 84add38..77435c4 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am
+++ b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.am
@@ -40,11 +40,7 @@ libevas_engine_common_op_blend_master_sse3_la_CFLAGS = \
40@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 40@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
41@PIXMAN_CFLAGS@ \ 41@PIXMAN_CFLAGS@ \
42@EET_CFLAGS@ @pthread_cflags@ \ 42@EET_CFLAGS@ @pthread_cflags@ \
43@WIN32_CFLAGS@ @EINA_CFLAGS@ \ 43@EINA_CFLAGS@ \
44@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 44@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
45@PIXMAN_CFLAGS@ \ 45@PIXMAN_CFLAGS@ \
46@EVAS_SSE3_CFLAGS@ 46@EVAS_SSE3_CFLAGS@
47
48libevas_engine_common_op_blend_master_sse3_la_DEPENENCIES = \
49$(top_builddir)/config.h
50
diff --git a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in
index e00dac8..016b49c 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_blend/Makefile.in
@@ -153,6 +153,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
153EVIL_CFLAGS = @EVIL_CFLAGS@ 153EVIL_CFLAGS = @EVIL_CFLAGS@
154EVIL_LIBS = @EVIL_LIBS@ 154EVIL_LIBS = @EVIL_LIBS@
155EXEEXT = @EXEEXT@ 155EXEEXT = @EXEEXT@
156EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
157EXOTIC_LIBS = @EXOTIC_LIBS@
156FGREP = @FGREP@ 158FGREP = @FGREP@
157FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 159FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
158FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 160FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -203,6 +205,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
203PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 205PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
204PIXMAN_LIBS = @PIXMAN_LIBS@ 206PIXMAN_LIBS = @PIXMAN_LIBS@
205PKG_CONFIG = @PKG_CONFIG@ 207PKG_CONFIG = @PKG_CONFIG@
208PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
209PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
206PNG_CFLAGS = @PNG_CFLAGS@ 210PNG_CFLAGS = @PNG_CFLAGS@
207PNG_LIBS = @PNG_LIBS@ 211PNG_LIBS = @PNG_LIBS@
208RANLIB = @RANLIB@ 212RANLIB = @RANLIB@
@@ -221,8 +225,6 @@ VERSION = @VERSION@
221VMAJ = @VMAJ@ 225VMAJ = @VMAJ@
222WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 226WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
223WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 227WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
224WIN32_CFLAGS = @WIN32_CFLAGS@
225WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
226XCB_CFLAGS = @XCB_CFLAGS@ 228XCB_CFLAGS = @XCB_CFLAGS@
227XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 229XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
228XCB_GL_LIBS = @XCB_GL_LIBS@ 230XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -296,8 +298,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
296evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 298evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
297evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 299evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
298evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 300evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
299evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
300evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -420,14 +420,11 @@ libevas_engine_common_op_blend_master_sse3_la_CFLAGS = \
420@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \ 420@FREETYPE_CFLAGS@ @VALGRIND_CFLAGS@ \
421@PIXMAN_CFLAGS@ \ 421@PIXMAN_CFLAGS@ \
422@EET_CFLAGS@ @pthread_cflags@ \ 422@EET_CFLAGS@ @pthread_cflags@ \
423@WIN32_CFLAGS@ @EINA_CFLAGS@ \ 423@EINA_CFLAGS@ \
424@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \ 424@FRIBIDI_CFLAGS@ @HARFBUZZ_CFLAGS@ \
425@PIXMAN_CFLAGS@ \ 425@PIXMAN_CFLAGS@ \
426@EVAS_SSE3_CFLAGS@ 426@EVAS_SSE3_CFLAGS@
427 427
428libevas_engine_common_op_blend_master_sse3_la_DEPENENCIES = \
429$(top_builddir)/config.h
430
431all: all-am 428all: all-am
432 429
433.SUFFIXES: 430.SUFFIXES:
diff --git a/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in
index 40536c0..687f34d 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_copy/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in
index d5764b1..00b536a 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_mask/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in
index d5452fe..849983e 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_mul/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in b/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in
index 4b93b1b..885465a 100644
--- a/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in
+++ b/libraries/evas/src/lib/engines/common/evas_op_sub/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common/evas_polygon_main.c b/libraries/evas/src/lib/engines/common/evas_polygon_main.c
index ea0bf13..6840d60 100644
--- a/libraries/evas/src/lib/engines/common/evas_polygon_main.c
+++ b/libraries/evas/src/lib/engines/common/evas_polygon_main.c
@@ -133,7 +133,7 @@ evas_common_polygon_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Polygon_Po
133 int num_active_edges; 133 int num_active_edges;
134 int n; 134 int n;
135 int i, j, k; 135 int i, j, k;
136 int y0, y1, yi; 136 int yy0, yy1, yi;
137 int ext_x, ext_y, ext_w, ext_h; 137 int ext_x, ext_y, ext_w, ext_h;
138 int *sorted_index; 138 int *sorted_index;
139 139
@@ -211,14 +211,14 @@ evas_common_polygon_draw(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Polygon_Po
211 k++; 211 k++;
212 } 212 }
213 213
214 y0 = MAX(ext_y, ceil(point[sorted_index[0]].y - 0.5)); 214 yy0 = MAX(ext_y, ceil(point[sorted_index[0]].y - 0.5));
215 y1 = MIN(ext_y + ext_h - 1, floor(point[sorted_index[n - 1]].y - 0.5)); 215 yy1 = MIN(ext_y + ext_h - 1, floor(point[sorted_index[n - 1]].y - 0.5));
216 216
217 k = 0; 217 k = 0;
218 num_active_edges = 0; 218 num_active_edges = 0;
219 spans = NULL; 219 spans = NULL;
220 220
221 for (yi = y0; yi <= y1; yi++) 221 for (yi = yy0; yi <= yy1; yi++)
222 { 222 {
223 for (; (k < n) && (point[sorted_index[k]].y <= ((double)yi + 0.5)); k++) 223 for (; (k < n) && (point[sorted_index[k]].y <= ((double)yi + 0.5)); k++)
224 { 224 {
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_sample.c b/libraries/evas/src/lib/engines/common/evas_scale_sample.c
index a8951b8..c721c5e 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_sample.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_sample.c
@@ -90,7 +90,6 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
90 DATA32 *buf, *dptr; 90 DATA32 *buf, *dptr;
91 DATA32 **row_ptr; 91 DATA32 **row_ptr;
92 DATA32 *ptr, *dst_ptr, *src_data, *dst_data; 92 DATA32 *ptr, *dst_ptr, *src_data, *dst_data;
93 int dst_jump;
94 int dst_clip_x, dst_clip_y, dst_clip_w, dst_clip_h; 93 int dst_clip_x, dst_clip_y, dst_clip_w, dst_clip_h;
95 int m_clip_x = 0, m_clip_y = 0, m_clip_w = 0, m_clip_h = 0, mdx = 0, mdy = 0; 94 int m_clip_x = 0, m_clip_y = 0, m_clip_w = 0, m_clip_h = 0, mdx = 0, mdy = 0;
96 int src_w, src_h, dst_w, dst_h; 95 int src_w, src_h, dst_w, dst_h;
@@ -248,7 +247,7 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
248 row_ptr = alloca(dst_clip_h * sizeof(DATA32 *)); 247 row_ptr = alloca(dst_clip_h * sizeof(DATA32 *));
249 248
250 /* figure out dst jump */ 249 /* figure out dst jump */
251 dst_jump = dst_w - dst_clip_w; 250 //dst_jump = dst_w - dst_clip_w;
252 251
253 /* figure out dest start ptr */ 252 /* figure out dest start ptr */
254 dst_ptr = dst_data + dst_clip_x + (dst_clip_y * dst_w); 253 dst_ptr = dst_data + dst_clip_x + (dst_clip_y * dst_w);
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c
index 50b2e5c..a443c85 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx.c
@@ -3,7 +3,7 @@
3 DATA32 *pix, *dptr, *pbuf, **yp; 3 DATA32 *pix, *dptr, *pbuf, **yp;
4 int r, g, b, a, rr, gg, bb, aa; 4 int r, g, b, a, rr, gg, bb, aa;
5 int *xp, xap, yap, pos; 5 int *xp, xap, yap, pos;
6 int dyy, dxx; 6 //int dyy, dxx;
7 int w = dst_clip_w; 7 int w = dst_clip_w;
8#ifdef EVAS_SLI 8#ifdef EVAS_SLI
9 int ysli = dst_clip_y; 9 int ysli = dst_clip_y;
@@ -11,8 +11,8 @@
11 11
12 dptr = dst_ptr; 12 dptr = dst_ptr;
13 pos = (src_region_y * src_w) + src_region_x; 13 pos = (src_region_y * src_w) + src_region_x;
14 dyy = dst_clip_y - dst_region_y; 14 //dyy = dst_clip_y - dst_region_y;
15 dxx = dst_clip_x - dst_region_x; 15 //dxx = dst_clip_x - dst_region_x;
16 16
17 xp = xpoints;// + dxx; 17 xp = xpoints;// + dxx;
18 yp = ypoints;// + dyy; 18 yp = ypoints;// + dyy;
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c
index ab0c74e..73da3a0 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downx_downy.c
@@ -3,7 +3,7 @@
3 DATA32 *dptr, *sptr, *pix, *pbuf; 3 DATA32 *dptr, *sptr, *pix, *pbuf;
4 int a, r, g, b, rx, gx, bx, ax; 4 int a, r, g, b, rx, gx, bx, ax;
5 int xap, yap, pos; 5 int xap, yap, pos;
6 int dyy, dxx; 6 //int dyy, dxx;
7#ifdef EVAS_SLI 7#ifdef EVAS_SLI
8 int ysli = dst_clip_y; 8 int ysli = dst_clip_y;
9#endif 9#endif
@@ -14,8 +14,8 @@
14 14
15 dptr = dst_ptr; 15 dptr = dst_ptr;
16 pos = (src_region_y * src_w) + src_region_x; 16 pos = (src_region_y * src_w) + src_region_x;
17 dyy = dst_clip_y - dst_region_y; 17 //dyy = dst_clip_y - dst_region_y;
18 dxx = dst_clip_x - dst_region_x; 18 //dxx = dst_clip_x - dst_region_x;
19 19
20 xp = xpoints;// + dxx; 20 xp = xpoints;// + dxx;
21 yp = ypoints;// + dyy; 21 yp = ypoints;// + dyy;
diff --git a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c
index 4c5448e..3b7585d 100644
--- a/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c
+++ b/libraries/evas/src/lib/engines/common/evas_scale_smooth_scaler_downy.c
@@ -3,7 +3,7 @@
3 DATA32 *dptr, *pix, *pbuf, **yp; 3 DATA32 *dptr, *pix, *pbuf, **yp;
4 int r, g, b, a, rr, gg, bb, aa; 4 int r, g, b, a, rr, gg, bb, aa;
5 int *xp, xap, yap, pos; 5 int *xp, xap, yap, pos;
6 int dyy, dxx; 6 //int dyy, dxx;
7 int w = dst_clip_w; 7 int w = dst_clip_w;
8#ifdef EVAS_SLI 8#ifdef EVAS_SLI
9 int ysli = dst_clip_y; 9 int ysli = dst_clip_y;
@@ -11,8 +11,8 @@
11 11
12 dptr = dst_ptr; 12 dptr = dst_ptr;
13 pos = (src_region_y * src_w) + src_region_x; 13 pos = (src_region_y * src_w) + src_region_x;
14 dyy = dst_clip_y - dst_region_y; 14 //dyy = dst_clip_y - dst_region_y;
15 dxx = dst_clip_x - dst_region_x; 15 //dxx = dst_clip_x - dst_region_x;
16 16
17 xp = xpoints;// + dxx; 17 xp = xpoints;// + dxx;
18 yp = ypoints;// + dyy; 18 yp = ypoints;// + dyy;
diff --git a/libraries/evas/src/lib/engines/common/evas_tiler.c b/libraries/evas/src/lib/engines/common/evas_tiler.c
index ff359a4..bc5e99c 100644
--- a/libraries/evas/src/lib/engines/common/evas_tiler.c
+++ b/libraries/evas/src/lib/engines/common/evas_tiler.c
@@ -1167,40 +1167,84 @@ evas_common_tilebuf_get_render_rects(Tilebuf *tb)
1167#elif defined(EVAS_RECT_SPLIT) 1167#elif defined(EVAS_RECT_SPLIT)
1168 list_node_t *n; 1168 list_node_t *n;
1169 Tilebuf_Rect *rects = NULL; 1169 Tilebuf_Rect *rects = NULL;
1170 int bx1 = 0, bx2 = 0, by1 = 0, by2 = 0, num = 0;
1170 1171
1171 if (tb->need_merge) { 1172 if (tb->need_merge)
1172 list_t to_merge; 1173 {
1173 to_merge = tb->rects; 1174 list_t to_merge;
1174 tb->rects = list_zeroed; 1175 to_merge = tb->rects;
1175 rect_list_merge_rects(&tb->rects, &to_merge, FUZZ * FUZZ); 1176 tb->rects = list_zeroed;
1176 tb->need_merge = 0; 1177 rect_list_merge_rects(&tb->rects, &to_merge, FUZZ * FUZZ);
1177 } 1178 tb->need_merge = 0;
1178 1179 }
1179 for (n = tb->rects.head; n; n = n->next) { 1180
1180 rect_t cur; 1181 n = tb->rects.head;
1182 if (n)
1183 {
1184 bx1 = ((rect_node_t *)n)->rect.left;
1185 bx2 = bx1 + ((rect_node_t *)n)->rect.width;
1186 by1 = ((rect_node_t *)n)->rect.top;
1187 by2 = by1 + ((rect_node_t *)n)->rect.height;
1188 n = n->next;
1189 for (; n; n = n->next)
1190 {
1191
1192 int x1, x2, y1, y2;
1193
1194 x1 = ((rect_node_t *)n)->rect.left;
1195 if (x1 < bx1) bx1 = x1;
1196 x2 = x1 + ((rect_node_t *)n)->rect.width;
1197 if (x2 > bx2) bx2 = x2;
1198
1199 y1 = ((rect_node_t *)n)->rect.top;
1200 if (y1 < by1) by1 = y1;
1201 y2 = y1 + ((rect_node_t *)n)->rect.height;
1202 if (y2 > by2) by2 = y2;
1203 num++;
1204 }
1205 }
1206#define MAXREG 24
1207 /* magic number - but if we have > MAXREG regions to update, take bounding box */
1208 if (num > MAXREG)
1209 {
1210 Tilebuf_Rect *r;
1211
1212 r = malloc(sizeof(Tilebuf_Rect));
1213 r->x = bx1;
1214 r->y = by1;
1215 r->w = bx2 - bx1;
1216 r->h = by2 - by1;
1217
1218 rects = (Tilebuf_Rect *)eina_inlist_append(EINA_INLIST_GET(rects), EINA_INLIST_GET(r));
1219 return rects;
1220 }
1181 1221
1182 cur = ((rect_node_t *)n)->rect; 1222 for (n = tb->rects.head; n; n = n->next)
1223 {
1224 rect_t cur;
1225
1226 cur = ((rect_node_t *)n)->rect;
1183/* disable fuzz - created bugs. 1227/* disable fuzz - created bugs.
1184 cur.left <<= 1; 1228 cur.left <<= 1;
1185 cur.top <<= 1; 1229 cur.top <<= 1;
1186 cur.width <<= 1; 1230 cur.width <<= 1;
1187 cur.height <<= 1; 1231 cur.height <<= 1;
1188 */ 1232 */
1189 RECTS_CLIP_TO_RECT(cur.left, cur.top, cur.width, cur.height, 1233 RECTS_CLIP_TO_RECT(cur.left, cur.top, cur.width, cur.height,
1190 0, 0, tb->outbuf_w, tb->outbuf_h); 1234 0, 0, tb->outbuf_w, tb->outbuf_h);
1191 if ((cur.width > 0) && (cur.height > 0)) 1235 if ((cur.width > 0) && (cur.height > 0))
1192 { 1236 {
1193 Tilebuf_Rect *r; 1237 Tilebuf_Rect *r;
1194 1238
1195 r = malloc(sizeof(Tilebuf_Rect)); 1239 r = malloc(sizeof(Tilebuf_Rect));
1196 r->x = cur.left; 1240 r->x = cur.left;
1197 r->y = cur.top; 1241 r->y = cur.top;
1198 r->w = cur.width; 1242 r->w = cur.width;
1199 r->h = cur.height; 1243 r->h = cur.height;
1200 1244
1201 rects = (Tilebuf_Rect *)eina_inlist_append(EINA_INLIST_GET(rects), EINA_INLIST_GET(r)); 1245 rects = (Tilebuf_Rect *)eina_inlist_append(EINA_INLIST_GET(rects), EINA_INLIST_GET(r));
1202 } 1246 }
1203 } 1247 }
1204 return rects; 1248 return rects;
1205 1249
1206#else 1250#else
diff --git a/libraries/evas/src/lib/engines/common_16/Makefile.in b/libraries/evas/src/lib/engines/common_16/Makefile.in
index 313cbda..196395d 100644
--- a/libraries/evas/src/lib/engines/common_16/Makefile.in
+++ b/libraries/evas/src/lib/engines/common_16/Makefile.in
@@ -151,6 +151,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
151EVIL_CFLAGS = @EVIL_CFLAGS@ 151EVIL_CFLAGS = @EVIL_CFLAGS@
152EVIL_LIBS = @EVIL_LIBS@ 152EVIL_LIBS = @EVIL_LIBS@
153EXEEXT = @EXEEXT@ 153EXEEXT = @EXEEXT@
154EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
155EXOTIC_LIBS = @EXOTIC_LIBS@
154FGREP = @FGREP@ 156FGREP = @FGREP@
155FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 157FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
156FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 158FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -201,6 +203,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
201PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 203PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
202PIXMAN_LIBS = @PIXMAN_LIBS@ 204PIXMAN_LIBS = @PIXMAN_LIBS@
203PKG_CONFIG = @PKG_CONFIG@ 205PKG_CONFIG = @PKG_CONFIG@
206PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
207PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
204PNG_CFLAGS = @PNG_CFLAGS@ 208PNG_CFLAGS = @PNG_CFLAGS@
205PNG_LIBS = @PNG_LIBS@ 209PNG_LIBS = @PNG_LIBS@
206RANLIB = @RANLIB@ 210RANLIB = @RANLIB@
@@ -219,8 +223,6 @@ VERSION = @VERSION@
219VMAJ = @VMAJ@ 223VMAJ = @VMAJ@
220WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 224WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
221WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 225WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
222WIN32_CFLAGS = @WIN32_CFLAGS@
223WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
224XCB_CFLAGS = @XCB_CFLAGS@ 226XCB_CFLAGS = @XCB_CFLAGS@
225XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 227XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
226XCB_GL_LIBS = @XCB_GL_LIBS@ 228XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -294,8 +296,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
294evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 296evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
295evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 297evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
296evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 298evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
297evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
298evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
299evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 299evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
300evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 300evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
301evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 301evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/engines/common_8/Makefile.in b/libraries/evas/src/lib/engines/common_8/Makefile.in
index 7fa4fbb..11b2454 100644
--- a/libraries/evas/src/lib/engines/common_8/Makefile.in
+++ b/libraries/evas/src/lib/engines/common_8/Makefile.in
@@ -150,6 +150,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
150EVIL_CFLAGS = @EVIL_CFLAGS@ 150EVIL_CFLAGS = @EVIL_CFLAGS@
151EVIL_LIBS = @EVIL_LIBS@ 151EVIL_LIBS = @EVIL_LIBS@
152EXEEXT = @EXEEXT@ 152EXEEXT = @EXEEXT@
153EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
154EXOTIC_LIBS = @EXOTIC_LIBS@
153FGREP = @FGREP@ 155FGREP = @FGREP@
154FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 156FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
155FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 157FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -200,6 +202,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
200PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 202PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
201PIXMAN_LIBS = @PIXMAN_LIBS@ 203PIXMAN_LIBS = @PIXMAN_LIBS@
202PKG_CONFIG = @PKG_CONFIG@ 204PKG_CONFIG = @PKG_CONFIG@
205PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
206PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
203PNG_CFLAGS = @PNG_CFLAGS@ 207PNG_CFLAGS = @PNG_CFLAGS@
204PNG_LIBS = @PNG_LIBS@ 208PNG_LIBS = @PNG_LIBS@
205RANLIB = @RANLIB@ 209RANLIB = @RANLIB@
@@ -218,8 +222,6 @@ VERSION = @VERSION@
218VMAJ = @VMAJ@ 222VMAJ = @VMAJ@
219WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 223WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
220WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 224WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
221WIN32_CFLAGS = @WIN32_CFLAGS@
222WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
223XCB_CFLAGS = @XCB_CFLAGS@ 225XCB_CFLAGS = @XCB_CFLAGS@
224XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 226XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
225XCB_GL_LIBS = @XCB_GL_LIBS@ 227XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -293,8 +295,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
293evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 295evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
294evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 296evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
295evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 297evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
296evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
297evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/file/Makefile.am b/libraries/evas/src/lib/file/Makefile.am
index 7875fbe..84b12d9 100644
--- a/libraries/evas/src/lib/file/Makefile.am
+++ b/libraries/evas/src/lib/file/Makefile.am
@@ -11,10 +11,7 @@ AM_CPPFLAGS = \
11@FREETYPE_CFLAGS@ \ 11@FREETYPE_CFLAGS@ \
12@EINA_CFLAGS@ \ 12@EINA_CFLAGS@ \
13@EVIL_CFLAGS@ \ 13@EVIL_CFLAGS@ \
14@WIN32_CPPFLAGS@ \
15@PIXMAN_CFLAGS@ 14@PIXMAN_CFLAGS@
16
17AM_CFLAGS = @WIN32_CFLAGS@
18 15
19noinst_LTLIBRARIES = libevas_file.la 16noinst_LTLIBRARIES = libevas_file.la
20libevas_file_la_SOURCES = \ 17libevas_file_la_SOURCES = \
diff --git a/libraries/evas/src/lib/file/Makefile.in b/libraries/evas/src/lib/file/Makefile.in
index 2ac89b1..52d3608 100644
--- a/libraries/evas/src/lib/file/Makefile.in
+++ b/libraries/evas/src/lib/file/Makefile.in
@@ -146,6 +146,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
146EVIL_CFLAGS = @EVIL_CFLAGS@ 146EVIL_CFLAGS = @EVIL_CFLAGS@
147EVIL_LIBS = @EVIL_LIBS@ 147EVIL_LIBS = @EVIL_LIBS@
148EXEEXT = @EXEEXT@ 148EXEEXT = @EXEEXT@
149EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
150EXOTIC_LIBS = @EXOTIC_LIBS@
149FGREP = @FGREP@ 151FGREP = @FGREP@
150FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 152FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
151FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 153FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -196,6 +198,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
196PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 198PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
197PIXMAN_LIBS = @PIXMAN_LIBS@ 199PIXMAN_LIBS = @PIXMAN_LIBS@
198PKG_CONFIG = @PKG_CONFIG@ 200PKG_CONFIG = @PKG_CONFIG@
201PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
202PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
199PNG_CFLAGS = @PNG_CFLAGS@ 203PNG_CFLAGS = @PNG_CFLAGS@
200PNG_LIBS = @PNG_LIBS@ 204PNG_LIBS = @PNG_LIBS@
201RANLIB = @RANLIB@ 205RANLIB = @RANLIB@
@@ -214,8 +218,6 @@ VERSION = @VERSION@
214VMAJ = @VMAJ@ 218VMAJ = @VMAJ@
215WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 219WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
216WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 220WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
217WIN32_CFLAGS = @WIN32_CFLAGS@
218WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
219XCB_CFLAGS = @XCB_CFLAGS@ 221XCB_CFLAGS = @XCB_CFLAGS@
220XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 222XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
221XCB_GL_LIBS = @XCB_GL_LIBS@ 223XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -289,8 +291,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
289evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 291evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
290evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 292evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
291evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 293evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
292evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
293evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
294evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 294evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
295evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 295evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
296evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 296evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -384,10 +384,8 @@ AM_CPPFLAGS = \
384@FREETYPE_CFLAGS@ \ 384@FREETYPE_CFLAGS@ \
385@EINA_CFLAGS@ \ 385@EINA_CFLAGS@ \
386@EVIL_CFLAGS@ \ 386@EVIL_CFLAGS@ \
387@WIN32_CPPFLAGS@ \
388@PIXMAN_CFLAGS@ 387@PIXMAN_CFLAGS@
389 388
390AM_CFLAGS = @WIN32_CFLAGS@
391noinst_LTLIBRARIES = libevas_file.la 389noinst_LTLIBRARIES = libevas_file.la
392libevas_file_la_SOURCES = \ 390libevas_file_la_SOURCES = \
393evas_path.c \ 391evas_path.c \
diff --git a/libraries/evas/src/lib/file/evas_module.c b/libraries/evas/src/lib/file/evas_module.c
index 21d5cd0..dc0d26b 100644
--- a/libraries/evas/src/lib/file/evas_module.c
+++ b/libraries/evas/src/lib/file/evas_module.c
@@ -98,7 +98,6 @@ EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_8_x11);
98EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_ddraw); 98EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_ddraw);
99EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_gdi); 99EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_gdi);
100EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_generic); 100EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_generic);
101EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_sdl);
102EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_x11); 101EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_x11);
103EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, bmp); 102EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, bmp);
104EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, edb); 103EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, edb);
@@ -176,9 +175,6 @@ static const struct {
176#ifdef EVAS_STATIC_BUILD_SOFTWARE_GENERIC 175#ifdef EVAS_STATIC_BUILD_SOFTWARE_GENERIC
177 EVAS_EINA_STATIC_MODULE_USE(engine, software_generic), 176 EVAS_EINA_STATIC_MODULE_USE(engine, software_generic),
178#endif 177#endif
179#ifdef EVAS_STATIC_BUILD_SOFTWARE_SDL
180 EVAS_EINA_STATIC_MODULE_USE(engine, software_sdl),
181#endif
182#ifdef EVAS_STATIC_BUILD_SOFTWARE_X11 178#ifdef EVAS_STATIC_BUILD_SOFTWARE_X11
183 EVAS_EINA_STATIC_MODULE_USE(engine, software_x11), 179 EVAS_EINA_STATIC_MODULE_USE(engine, software_x11),
184#endif 180#endif
diff --git a/libraries/evas/src/lib/file/evas_path.c b/libraries/evas/src/lib/file/evas_path.c
index c663c16..2ff646d 100644
--- a/libraries/evas/src/lib/file/evas_path.c
+++ b/libraries/evas/src/lib/file/evas_path.c
@@ -38,9 +38,7 @@ evas_file_path_is_full_path(const char *path)
38#if defined _WIN32_WCE 38#if defined _WIN32_WCE
39 if (path[0] == '\\') return 1; 39 if (path[0] == '\\') return 1;
40#elif defined _WIN32 40#elif defined _WIN32
41 if ((path[0] == '\0') || (path[1] == '\0')) 41 if (evil_path_is_absolute(path)) return 1;
42 return 0;
43 if (path[1] == ':') return 1;
44#else 42#else
45 if (path[0] == '/') return 1; 43 if (path[0] == '/') return 1;
46#endif 44#endif
diff --git a/libraries/evas/src/lib/include/Makefile.in b/libraries/evas/src/lib/include/Makefile.in
index 21f0099..8060178 100644
--- a/libraries/evas/src/lib/include/Makefile.in
+++ b/libraries/evas/src/lib/include/Makefile.in
@@ -116,6 +116,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
116EVIL_CFLAGS = @EVIL_CFLAGS@ 116EVIL_CFLAGS = @EVIL_CFLAGS@
117EVIL_LIBS = @EVIL_LIBS@ 117EVIL_LIBS = @EVIL_LIBS@
118EXEEXT = @EXEEXT@ 118EXEEXT = @EXEEXT@
119EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
120EXOTIC_LIBS = @EXOTIC_LIBS@
119FGREP = @FGREP@ 121FGREP = @FGREP@
120FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 122FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
121FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 123FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -166,6 +168,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
166PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 168PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
167PIXMAN_LIBS = @PIXMAN_LIBS@ 169PIXMAN_LIBS = @PIXMAN_LIBS@
168PKG_CONFIG = @PKG_CONFIG@ 170PKG_CONFIG = @PKG_CONFIG@
171PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
172PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
169PNG_CFLAGS = @PNG_CFLAGS@ 173PNG_CFLAGS = @PNG_CFLAGS@
170PNG_LIBS = @PNG_LIBS@ 174PNG_LIBS = @PNG_LIBS@
171RANLIB = @RANLIB@ 175RANLIB = @RANLIB@
@@ -184,8 +188,6 @@ VERSION = @VERSION@
184VMAJ = @VMAJ@ 188VMAJ = @VMAJ@
185WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 189WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
186WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 190WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
187WIN32_CFLAGS = @WIN32_CFLAGS@
188WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
189XCB_CFLAGS = @XCB_CFLAGS@ 191XCB_CFLAGS = @XCB_CFLAGS@
190XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 192XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
191XCB_GL_LIBS = @XCB_GL_LIBS@ 193XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -259,8 +261,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
259evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 261evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
260evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 262evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
261evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 263evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
262evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
263evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 264evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 265evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 266evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/lib/include/evas_blend_ops.h b/libraries/evas/src/lib/include/evas_blend_ops.h
index 1ada384..6bd1f16 100644
--- a/libraries/evas/src/lib/include/evas_blend_ops.h
+++ b/libraries/evas/src/lib/include/evas_blend_ops.h
@@ -200,7 +200,7 @@ static __m128i RGB_MASK_SSE3;
200 200
201static __m128i ALPHA_SSE3; 201static __m128i ALPHA_SSE3;
202 202
203EFL_ALWAYS_INLINE __m128i 203static EFL_ALWAYS_INLINE __m128i
204mul_256_sse3(__m128i a, __m128i c) { 204mul_256_sse3(__m128i a, __m128i c) {
205 205
206 /* prepare alpha for word multiplication */ 206 /* prepare alpha for word multiplication */
@@ -228,7 +228,7 @@ mul_256_sse3(__m128i a, __m128i c) {
228 return _mm_add_epi32(c0, c1); 228 return _mm_add_epi32(c0, c1);
229} 229}
230 230
231EFL_ALWAYS_INLINE __m128i 231static EFL_ALWAYS_INLINE __m128i
232sub4_alpha_sse3(__m128i c) { 232sub4_alpha_sse3(__m128i c) {
233 233
234 __m128i c0 = c; 234 __m128i c0 = c;
@@ -237,7 +237,7 @@ sub4_alpha_sse3(__m128i c) {
237 return _mm_sub_epi32(ALPHA_SSE3, c0); 237 return _mm_sub_epi32(ALPHA_SSE3, c0);
238} 238}
239 239
240EFL_ALWAYS_INLINE __m128i 240static EFL_ALWAYS_INLINE __m128i
241interp4_256_sse3(__m128i a, __m128i c0, __m128i c1) 241interp4_256_sse3(__m128i a, __m128i c0, __m128i c1)
242{ 242{
243 const __m128i zero = _mm_setzero_si128(); 243 const __m128i zero = _mm_setzero_si128();
@@ -289,7 +289,7 @@ interp4_256_sse3(__m128i a, __m128i c0, __m128i c1)
289 return (__m128i) _mm_shuffle_ps( (__m128)cl_sub, (__m128)ch_sub, 0x44); 289 return (__m128i) _mm_shuffle_ps( (__m128)cl_sub, (__m128)ch_sub, 0x44);
290} 290}
291 291
292EFL_ALWAYS_INLINE __m128i 292static EFL_ALWAYS_INLINE __m128i
293mul_sym_sse3(__m128i a, __m128i c) { 293mul_sym_sse3(__m128i a, __m128i c) {
294 294
295 /* Prepare alpha for word mult */ 295 /* Prepare alpha for word mult */
@@ -318,7 +318,7 @@ mul_sym_sse3(__m128i a, __m128i c) {
318 return _mm_add_epi32(c0, c1); 318 return _mm_add_epi32(c0, c1);
319} 319}
320 320
321EFL_ALWAYS_INLINE __m128i 321static EFL_ALWAYS_INLINE __m128i
322mul4_sym_sse3(__m128i x, __m128i y) { 322mul4_sym_sse3(__m128i x, __m128i y) {
323 323
324 const __m128i zero = _mm_setzero_si128(); 324 const __m128i zero = _mm_setzero_si128();
@@ -341,7 +341,7 @@ mul4_sym_sse3(__m128i x, __m128i y) {
341 return _mm_packus_epi16(r_l, r_h); 341 return _mm_packus_epi16(r_l, r_h);
342} 342}
343 343
344EFL_ALWAYS_INLINE __m128i 344static EFL_ALWAYS_INLINE __m128i
345mul3_sym_sse3(__m128i x, __m128i y) { 345mul3_sym_sse3(__m128i x, __m128i y) {
346 346
347 __m128i res = mul4_sym_sse3(x, y); 347 __m128i res = mul4_sym_sse3(x, y);
diff --git a/libraries/evas/src/lib/include/evas_common.h b/libraries/evas/src/lib/include/evas_common.h
index a9063e6..e853064 100644
--- a/libraries/evas/src/lib/include/evas_common.h
+++ b/libraries/evas/src/lib/include/evas_common.h
@@ -5,6 +5,45 @@
5#include "config.h" /* so that EAPI in Evas.h is correctly defined */ 5#include "config.h" /* so that EAPI in Evas.h is correctly defined */
6//#endif 6//#endif
7 7
8#ifdef STDC_HEADERS
9# include <stdlib.h>
10# include <stddef.h>
11#else
12# ifdef HAVE_STDLIB_H
13# include <stdlib.h>
14# endif
15#endif
16#ifdef HAVE_ALLOCA_H
17# include <alloca.h>
18#elif !defined alloca
19# ifdef __GNUC__
20# define alloca __builtin_alloca
21# elif defined _AIX
22# define alloca __alloca
23# elif defined _MSC_VER
24# include <malloc.h>
25# define alloca _alloca
26# elif !defined HAVE_ALLOCA
27# ifdef __cplusplus
28extern "C"
29# endif
30void *alloca (size_t);
31# endif
32#endif
33
34#include <stdio.h>
35#include <stdlib.h>
36#include <string.h>
37#include <sys/types.h>
38#include <sys/stat.h>
39#include <time.h>
40#include <ctype.h>
41
42#ifndef _MSC_VER
43# include <stdint.h>
44#include <unistd.h>
45#endif
46
8#ifdef HAVE_EVIL 47#ifdef HAVE_EVIL
9# include <Evil.h> 48# include <Evil.h>
10#endif 49#endif
@@ -13,10 +52,6 @@
13# include <Escape.h> 52# include <Escape.h>
14#endif 53#endif
15 54
16#include <Eina.h>
17#include "Evas.h"
18//#include "Evas_GL.h"
19
20#ifdef HAVE_PIXMAN 55#ifdef HAVE_PIXMAN
21#include <pixman.h> 56#include <pixman.h>
22#endif 57#endif
@@ -25,6 +60,14 @@
25#include <sys/stat.h> 60#include <sys/stat.h>
26#include <unistd.h> 61#include <unistd.h>
27 62
63#ifdef HAVE_EXOTIC
64# include <Exotic.h>
65#endif
66
67#include <Eina.h>
68#include "Evas.h"
69//#include "Evas_GL.h"
70
28#ifndef HAVE_LROUND 71#ifndef HAVE_LROUND
29/* right now i dont care about rendering bugs on platforms without lround 72/* right now i dont care about rendering bugs on platforms without lround
30 (e.g. windows/vc++... yay!) 73 (e.g. windows/vc++... yay!)
@@ -171,35 +214,6 @@ extern EAPI int _evas_log_dom_global;
171 214
172#endif 215#endif
173 216
174#ifdef HAVE_ALLOCA_H
175# include <alloca.h>
176#elif defined __GNUC__
177# define alloca __builtin_alloca
178#elif defined _AIX
179# define alloca __alloca
180#elif defined _MSC_VER
181# include <malloc.h>
182# define alloca _alloca
183#else
184# include <stddef.h>
185# ifdef __cplusplus
186extern "C"
187# endif
188void *alloca (size_t);
189#endif
190
191#include <stdio.h>
192#include <stdlib.h>
193#include <string.h>
194#include <sys/types.h>
195#include <sys/stat.h>
196#include <time.h>
197#include <ctype.h>
198
199#ifndef _MSC_VER
200# include <stdint.h>
201#endif
202
203#include <ft2build.h> 217#include <ft2build.h>
204#include FT_FREETYPE_H 218#include FT_FREETYPE_H
205#include FT_GLYPH_H 219#include FT_GLYPH_H
@@ -1005,12 +1019,12 @@ struct list
1005 1019
1006struct rect 1020struct rect
1007{ 1021{
1008 short left; 1022 int left;
1009 short top; 1023 int top;
1010 short right; 1024 int right;
1011 short bottom; 1025 int bottom;
1012 short width; 1026 int width;
1013 short height; 1027 int height;
1014 int area; 1028 int area;
1015}; 1029};
1016 1030
diff --git a/libraries/evas/src/lib/include/evas_private.h b/libraries/evas/src/lib/include/evas_private.h
index 84c1d36..bf0cfc5 100644
--- a/libraries/evas/src/lib/include/evas_private.h
+++ b/libraries/evas/src/lib/include/evas_private.h
@@ -615,6 +615,8 @@ struct _Evas_Object
615 Eina_Bool changed_move : 1; 615 Eina_Bool changed_move : 1;
616 Eina_Bool changed_move_only : 1; 616 Eina_Bool changed_move_only : 1;
617 Eina_Bool changed_nomove : 1; 617 Eina_Bool changed_nomove : 1;
618 Eina_Bool changed_map : 1;
619 Eina_Bool changed_pchange : 1;
618 Eina_Bool del_ref : 1; 620 Eina_Bool del_ref : 1;
619 621
620 Eina_Bool is_frame : 1; 622 Eina_Bool is_frame : 1;
@@ -850,6 +852,7 @@ struct _Evas_Func
850 void *(*gl_proc_address_get) (void *data, const char *name); 852 void *(*gl_proc_address_get) (void *data, const char *name);
851 int (*gl_native_surface_get) (void *data, void *surface, void *native_surface); 853 int (*gl_native_surface_get) (void *data, void *surface, void *native_surface);
852 void *(*gl_api_get) (void *data); 854 void *(*gl_api_get) (void *data);
855 void (*gl_img_obj_set) (void *data, void *image, int has_alpha);
853 856
854 int (*image_load_error_get) (void *data, void *image); 857 int (*image_load_error_get) (void *data, void *image);
855 int (*font_run_end_get) (void *data, Evas_Font_Set *font, Evas_Font_Instance **script_fi, Evas_Font_Instance **cur_fi, Evas_Script_Type script, const Eina_Unicode *text, int run_len); 858 int (*font_run_end_get) (void *data, Evas_Font_Set *font, Evas_Font_Instance **script_fi, Evas_Font_Instance **cur_fi, Evas_Script_Type script, const Eina_Unicode *text, int run_len);
diff --git a/libraries/evas/src/modules/Makefile.in b/libraries/evas/src/modules/Makefile.in
index e4f1cbc..68865f3 100644
--- a/libraries/evas/src/modules/Makefile.in
+++ b/libraries/evas/src/modules/Makefile.in
@@ -156,6 +156,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
156EVIL_CFLAGS = @EVIL_CFLAGS@ 156EVIL_CFLAGS = @EVIL_CFLAGS@
157EVIL_LIBS = @EVIL_LIBS@ 157EVIL_LIBS = @EVIL_LIBS@
158EXEEXT = @EXEEXT@ 158EXEEXT = @EXEEXT@
159EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
160EXOTIC_LIBS = @EXOTIC_LIBS@
159FGREP = @FGREP@ 161FGREP = @FGREP@
160FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 162FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
161FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 163FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -206,6 +208,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
206PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 208PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
207PIXMAN_LIBS = @PIXMAN_LIBS@ 209PIXMAN_LIBS = @PIXMAN_LIBS@
208PKG_CONFIG = @PKG_CONFIG@ 210PKG_CONFIG = @PKG_CONFIG@
211PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
212PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209PNG_CFLAGS = @PNG_CFLAGS@ 213PNG_CFLAGS = @PNG_CFLAGS@
210PNG_LIBS = @PNG_LIBS@ 214PNG_LIBS = @PNG_LIBS@
211RANLIB = @RANLIB@ 215RANLIB = @RANLIB@
@@ -224,8 +228,6 @@ VERSION = @VERSION@
224VMAJ = @VMAJ@ 228VMAJ = @VMAJ@
225WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 229WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
226WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 230WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
227WIN32_CFLAGS = @WIN32_CFLAGS@
228WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
229XCB_CFLAGS = @XCB_CFLAGS@ 231XCB_CFLAGS = @XCB_CFLAGS@
230XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 232XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
231XCB_GL_LIBS = @XCB_GL_LIBS@ 233XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -299,8 +301,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
299evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 301evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
300evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 302evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
301evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 303evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
302evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
303evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 304evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 305evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 306evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/Makefile.am b/libraries/evas/src/modules/engines/Makefile.am
index 42585cc..e29fb98 100644
--- a/libraries/evas/src/modules/engines/Makefile.am
+++ b/libraries/evas/src/modules/engines/Makefile.am
@@ -53,9 +53,6 @@ endif
53if !EVAS_STATIC_BUILD_SOFTWARE_16_X11 53if !EVAS_STATIC_BUILD_SOFTWARE_16_X11
54SUBDIRS += software_16_x11 54SUBDIRS += software_16_x11
55endif 55endif
56if !EVAS_STATIC_BUILD_SOFTWARE_SDL
57SUBDIRS += software_sdl
58endif
59if !EVAS_STATIC_BUILD_SOFTWARE_16_SDL 56if !EVAS_STATIC_BUILD_SOFTWARE_16_SDL
60SUBDIRS += software_16_sdl 57SUBDIRS += software_16_sdl
61endif 58endif
diff --git a/libraries/evas/src/modules/engines/Makefile.in b/libraries/evas/src/modules/engines/Makefile.in
index 5820026..7388a48 100644
--- a/libraries/evas/src/modules/engines/Makefile.in
+++ b/libraries/evas/src/modules/engines/Makefile.in
@@ -49,13 +49,12 @@ host_triplet = @host@
49@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@am__append_14 = software_16_ddraw 49@EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE@am__append_14 = software_16_ddraw
50@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@am__append_15 = software_16_wince 50@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@am__append_15 = software_16_wince
51@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@am__append_16 = software_16_x11 51@EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE@am__append_16 = software_16_x11
52@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am__append_17 = software_sdl 52@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am__append_17 = software_16_sdl
53@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am__append_18 = software_16_sdl 53@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE@am__append_18 = software_ddraw
54@EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE@am__append_19 = software_ddraw 54@EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE@am__append_19 = software_gdi
55@EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE@am__append_20 = software_gdi 55@EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE@am__append_20 = software_x11
56@EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE@am__append_21 = software_x11 56@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@am__append_21 = wayland_shm
57@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@am__append_22 = wayland_shm 57@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@am__append_22 = wayland_egl
58@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@am__append_23 = wayland_egl
59subdir = src/modules/engines 58subdir = src/modules/engines
60DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 59DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
61ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 60ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -103,8 +102,8 @@ CTAGS = ctags
103DIST_SUBDIRS = software_generic buffer direct3d directfb fb psl1ght \ 102DIST_SUBDIRS = software_generic buffer direct3d directfb fb psl1ght \
104 gl_common gl_x11 gl_sdl gl_cocoa software_8 software_8_x11 \ 103 gl_common gl_x11 gl_sdl gl_cocoa software_8 software_8_x11 \
105 software_16 software_16_ddraw software_16_wince \ 104 software_16 software_16_ddraw software_16_wince \
106 software_16_x11 software_sdl software_16_sdl software_ddraw \ 105 software_16_x11 software_16_sdl software_ddraw software_gdi \
107 software_gdi software_x11 wayland_shm wayland_egl 106 software_x11 wayland_shm wayland_egl
108DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 107DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
109am__relativize = \ 108am__relativize = \
110 dir0=`pwd`; \ 109 dir0=`pwd`; \
@@ -183,6 +182,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
183EVIL_CFLAGS = @EVIL_CFLAGS@ 182EVIL_CFLAGS = @EVIL_CFLAGS@
184EVIL_LIBS = @EVIL_LIBS@ 183EVIL_LIBS = @EVIL_LIBS@
185EXEEXT = @EXEEXT@ 184EXEEXT = @EXEEXT@
185EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
186EXOTIC_LIBS = @EXOTIC_LIBS@
186FGREP = @FGREP@ 187FGREP = @FGREP@
187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 188FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 189FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -233,6 +234,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 234PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
234PIXMAN_LIBS = @PIXMAN_LIBS@ 235PIXMAN_LIBS = @PIXMAN_LIBS@
235PKG_CONFIG = @PKG_CONFIG@ 236PKG_CONFIG = @PKG_CONFIG@
237PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
238PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
236PNG_CFLAGS = @PNG_CFLAGS@ 239PNG_CFLAGS = @PNG_CFLAGS@
237PNG_LIBS = @PNG_LIBS@ 240PNG_LIBS = @PNG_LIBS@
238RANLIB = @RANLIB@ 241RANLIB = @RANLIB@
@@ -251,8 +254,6 @@ VERSION = @VERSION@
251VMAJ = @VMAJ@ 254VMAJ = @VMAJ@
252WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 255WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
253WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 256WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
254WIN32_CFLAGS = @WIN32_CFLAGS@
255WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
256XCB_CFLAGS = @XCB_CFLAGS@ 257XCB_CFLAGS = @XCB_CFLAGS@
257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 258XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
258XCB_GL_LIBS = @XCB_GL_LIBS@ 259XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -326,8 +327,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 327evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 328evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 329evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
329evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
330evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
331evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 330evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
332evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 331evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
333evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 332evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +417,7 @@ SUBDIRS = $(am__append_1) $(am__append_2) $(am__append_3) \
418 $(am__append_13) $(am__append_14) $(am__append_15) \ 417 $(am__append_13) $(am__append_14) $(am__append_15) \
419 $(am__append_16) $(am__append_17) $(am__append_18) \ 418 $(am__append_16) $(am__append_17) $(am__append_18) \
420 $(am__append_19) $(am__append_20) $(am__append_21) \ 419 $(am__append_19) $(am__append_20) $(am__append_21) \
421 $(am__append_22) $(am__append_23) 420 $(am__append_22)
422all: all-recursive 421all: all-recursive
423 422
424.SUFFIXES: 423.SUFFIXES:
diff --git a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
index e6d11d1..a9cbbfb 100644
--- a/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
+++ b/libraries/evas/src/modules/engines/buffer/Evas_Engine_Buffer.h
@@ -29,7 +29,10 @@ struct _Evas_Engine_Info_Buffer
29 struct { 29 struct {
30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 30 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
31 void (*free_update_region) (int x, int y, int w, int h, void *data); 31 void (*free_update_region) (int x, int y, int w, int h, void *data);
32 void * (*switch_buffer) (void *data, void *dest_buffer);
32 } func; 33 } func;
34
35 void *switch_data;
33 } info; 36 } info;
34 37
35 /* non-blocking or blocking mode */ 38 /* non-blocking or blocking mode */
diff --git a/libraries/evas/src/modules/engines/buffer/Makefile.am b/libraries/evas/src/modules/engines/buffer/Makefile.am
index 19ac5a7..4090b6f 100644
--- a/libraries/evas/src/modules/engines/buffer/Makefile.am
+++ b/libraries/evas/src/modules/engines/buffer/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@FREETYPE_CFLAGS@ \ 10@FREETYPE_CFLAGS@ \
11@PIXMAN_CFLAGS@ 11@PIXMAN_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_ENGINE_BUFFER 13if BUILD_ENGINE_BUFFER
16 14
17BUFFER_SOURCES = \ 15BUFFER_SOURCES = \
diff --git a/libraries/evas/src/modules/engines/buffer/Makefile.in b/libraries/evas/src/modules/engines/buffer/Makefile.in
index ec9c0b8..bd9818e 100644
--- a/libraries/evas/src/modules/engines/buffer/Makefile.in
+++ b/libraries/evas/src/modules/engines/buffer/Makefile.in
@@ -190,6 +190,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -240,6 +242,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
241PIXMAN_LIBS = @PIXMAN_LIBS@ 243PIXMAN_LIBS = @PIXMAN_LIBS@
242PKG_CONFIG = @PKG_CONFIG@ 244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
243PNG_CFLAGS = @PNG_CFLAGS@ 247PNG_CFLAGS = @PNG_CFLAGS@
244PNG_LIBS = @PNG_LIBS@ 248PNG_LIBS = @PNG_LIBS@
245RANLIB = @RANLIB@ 249RANLIB = @RANLIB@
@@ -258,8 +262,6 @@ VERSION = @VERSION@
258VMAJ = @VMAJ@ 262VMAJ = @VMAJ@
259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
261WIN32_CFLAGS = @WIN32_CFLAGS@
262WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
263XCB_CFLAGS = @XCB_CFLAGS@ 265XCB_CFLAGS = @XCB_CFLAGS@
264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
265XCB_GL_LIBS = @XCB_GL_LIBS@ 267XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -333,8 +335,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
336evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
337evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -427,7 +427,6 @@ AM_CPPFLAGS = \
427@FREETYPE_CFLAGS@ \ 427@FREETYPE_CFLAGS@ \
428@PIXMAN_CFLAGS@ 428@PIXMAN_CFLAGS@
429 429
430AM_CFLAGS = @WIN32_CFLAGS@
431@BUILD_ENGINE_BUFFER_TRUE@BUFFER_SOURCES = \ 430@BUILD_ENGINE_BUFFER_TRUE@BUFFER_SOURCES = \
432@BUILD_ENGINE_BUFFER_TRUE@evas_engine.c \ 431@BUILD_ENGINE_BUFFER_TRUE@evas_engine.c \
433@BUILD_ENGINE_BUFFER_TRUE@evas_outbuf.c 432@BUILD_ENGINE_BUFFER_TRUE@evas_outbuf.c
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.c b/libraries/evas/src/modules/engines/buffer/evas_engine.c
index e8dff7a..758ef10 100644
--- a/libraries/evas/src/modules/engines/buffer/evas_engine.c
+++ b/libraries/evas/src/modules/engines/buffer/evas_engine.c
@@ -25,11 +25,12 @@ struct _Render_Engine
25 Outbuf *ob; 25 Outbuf *ob;
26 Tilebuf_Rect *rects; 26 Tilebuf_Rect *rects;
27 Eina_Inlist *cur_rect; 27 Eina_Inlist *cur_rect;
28 Eina_Inarray previous_rects;
28 int end : 1; 29 int end : 1;
29}; 30};
30 31
31/* prototypes we will use here */ 32/* prototypes we will use here */
32static void *_output_setup(int w, int h, void *dest_buffer, int dest_buffer_row_bytes, int depth_type, int use_color_key, int alpha_threshold, int color_key_r, int color_key_g, int color_key_b, void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes), void (*free_update_region) (int x, int y, int w, int h, void *data)); 33static void *_output_setup(int w, int h, void *dest_buffer, int dest_buffer_row_bytes, int depth_type, int use_color_key, int alpha_threshold, int color_key_r, int color_key_g, int color_key_b, void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes), void (*free_update_region) (int x, int y, int w, int h, void *data), void *(*switch_buffer) (void *data, void *dest_buffer), void *switch_data);
33 34
34static void *eng_info(Evas *e __UNUSED__); 35static void *eng_info(Evas *e __UNUSED__);
35static void eng_info_free(Evas *e __UNUSED__, void *info); 36static void eng_info_free(Evas *e __UNUSED__, void *info);
@@ -58,7 +59,9 @@ _output_setup(int w,
58 int color_key_g, 59 int color_key_g,
59 int color_key_b, 60 int color_key_b,
60 void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes), 61 void *(*new_update_region) (int x, int y, int w, int h, int *row_bytes),
61 void (*free_update_region) (int x, int y, int w, int h, void *data) 62 void (*free_update_region) (int x, int y, int w, int h, void *data),
63 void *(*switch_buffer) (void *data, void *dest_buffer),
64 void *switch_data
62 ) 65 )
63{ 66{
64 Render_Engine *re; 67 Render_Engine *re;
@@ -81,7 +84,7 @@ _output_setup(int w,
81 evas_common_tilebuf_init(); 84 evas_common_tilebuf_init();
82 85
83 evas_buffer_outbuf_buf_init(); 86 evas_buffer_outbuf_buf_init();
84 87
85 { 88 {
86 Outbuf_Depth dep; 89 Outbuf_Depth dep;
87 DATA32 color_key = 0; 90 DATA32 color_key = 0;
@@ -110,10 +113,13 @@ _output_setup(int w,
110 color_key, 113 color_key,
111 alpha_threshold, 114 alpha_threshold,
112 new_update_region, 115 new_update_region,
113 free_update_region); 116 free_update_region,
117 switch_buffer,
118 switch_data);
114 } 119 }
115 re->tb = evas_common_tilebuf_new(w, h); 120 re->tb = evas_common_tilebuf_new(w, h);
116 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); 121 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
122 eina_inarray_setup(&re->previous_rects, sizeof (Eina_Rectangle), 8);
117 return re; 123 return re;
118} 124}
119 125
@@ -155,7 +161,9 @@ eng_setup(Evas *e, void *in)
155 info->info.color_key_g, 161 info->info.color_key_g,
156 info->info.color_key_b, 162 info->info.color_key_b,
157 info->info.func.new_update_region, 163 info->info.func.new_update_region,
158 info->info.func.free_update_region); 164 info->info.func.free_update_region,
165 info->info.func.switch_buffer,
166 info->info.switch_data);
159 if (e->engine.data.output) 167 if (e->engine.data.output)
160 eng_output_free(e->engine.data.output); 168 eng_output_free(e->engine.data.output);
161 e->engine.data.output = re; 169 e->engine.data.output = re;
@@ -195,6 +203,8 @@ eng_output_resize(void *data, int w, int h)
195 char use_color_key; 203 char use_color_key;
196 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 204 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
197 void (*free_update_region) (int x, int y, int w, int h, void *data); 205 void (*free_update_region) (int x, int y, int w, int h, void *data);
206 void * (*switch_buffer) (void *switch_data, void *dest);
207 void *switch_data;
198 208
199 depth = re->ob->depth; 209 depth = re->ob->depth;
200 dest = re->ob->dest; 210 dest = re->ob->dest;
@@ -204,6 +214,8 @@ eng_output_resize(void *data, int w, int h)
204 use_color_key = re->ob->use_color_key; 214 use_color_key = re->ob->use_color_key;
205 new_update_region = re->ob->func.new_update_region; 215 new_update_region = re->ob->func.new_update_region;
206 free_update_region = re->ob->func.free_update_region; 216 free_update_region = re->ob->func.free_update_region;
217 switch_buffer = re->ob->func.switch_buffer;
218 switch_data = re->ob->switch_data;
207 evas_buffer_outbuf_buf_free(re->ob); 219 evas_buffer_outbuf_buf_free(re->ob);
208 re->ob = evas_buffer_outbuf_buf_setup_fb(w, 220 re->ob = evas_buffer_outbuf_buf_setup_fb(w,
209 h, 221 h,
@@ -214,7 +226,9 @@ eng_output_resize(void *data, int w, int h)
214 color_key, 226 color_key,
215 alpha_level, 227 alpha_level,
216 new_update_region, 228 new_update_region,
217 free_update_region); 229 free_update_region,
230 switch_buffer,
231 switch_data);
218 } 232 }
219 evas_common_tilebuf_free(re->tb); 233 evas_common_tilebuf_free(re->tb);
220 re->tb = evas_common_tilebuf_new(w, h); 234 re->tb = evas_common_tilebuf_new(w, h);
@@ -275,6 +289,37 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
275 if (!re->rects) 289 if (!re->rects)
276 { 290 {
277 re->rects = evas_common_tilebuf_get_render_rects(re->tb); 291 re->rects = evas_common_tilebuf_get_render_rects(re->tb);
292
293 /* handle double buffering */
294 if (re->ob->func.switch_buffer)
295 {
296 Eina_Rectangle *pushing;
297
298 if (re->ob->first_frame && !re->previous_rects.len)
299 {
300 evas_common_tilebuf_add_redraw(re->tb, 0, 0, re->ob->w, re->ob->h);
301 re->ob->first_frame = 0;
302 }
303
304 /* push previous frame */
305 EINA_INARRAY_FOREACH(&re->previous_rects, pushing)
306 evas_common_tilebuf_add_redraw(re->tb, pushing->x, pushing->y, pushing->w, pushing->h);
307 eina_inarray_flush(&re->previous_rects);
308
309 /* save current list of damage */
310 EINA_INLIST_FOREACH(re->rects, rect)
311 {
312 Eina_Rectangle local;
313
314 EINA_RECTANGLE_SET(&local, rect->x, rect->y, rect->w, rect->h);
315 eina_inarray_append(&re->previous_rects, &local);
316 }
317
318 /* and regenerate the damage list by tacking into account the damage over two frames */
319 evas_common_tilebuf_free_render_rects(re->rects);
320 re->rects = evas_common_tilebuf_get_render_rects(re->tb);
321 }
322
278 re->cur_rect = EINA_INLIST_GET(re->rects); 323 re->cur_rect = EINA_INLIST_GET(re->rects);
279 } 324 }
280 if (!re->cur_rect) return NULL; 325 if (!re->cur_rect) return NULL;
@@ -306,7 +351,7 @@ eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int
306 re = (Render_Engine *)data; 351 re = (Render_Engine *)data;
307#ifdef BUILD_PIPE_RENDER 352#ifdef BUILD_PIPE_RENDER
308 evas_common_pipe_map_begin(surface); 353 evas_common_pipe_map_begin(surface);
309#endif 354#endif
310 evas_buffer_outbuf_buf_push_updated_region(re->ob, surface, x, y, w, h); 355 evas_buffer_outbuf_buf_push_updated_region(re->ob, surface, x, y, w, h);
311 evas_buffer_outbuf_buf_free_region_for_update(re->ob, surface); 356 evas_buffer_outbuf_buf_free_region_for_update(re->ob, surface);
312 evas_common_cpu_end_opt(); 357 evas_common_cpu_end_opt();
@@ -315,17 +360,13 @@ eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int
315static void 360static void
316eng_output_flush(void *data) 361eng_output_flush(void *data)
317{ 362{
318 Render_Engine *re; 363 Render_Engine *re = (Render_Engine *)data;
319 364 evas_buffer_outbuf_buf_switch_buffer(re->ob);
320 re = (Render_Engine *)data;
321} 365}
322 366
323static void 367static void
324eng_output_idle_flush(void *data) 368eng_output_idle_flush(void *data __UNUSED__)
325{ 369{
326 Render_Engine *re;
327
328 re = (Render_Engine *)data;
329} 370}
330 371
331static Eina_Bool 372static Eina_Bool
diff --git a/libraries/evas/src/modules/engines/buffer/evas_engine.h b/libraries/evas/src/modules/engines/buffer/evas_engine.h
index 21c988c..af82477 100644
--- a/libraries/evas/src/modules/engines/buffer/evas_engine.h
+++ b/libraries/evas/src/modules/engines/buffer/evas_engine.h
@@ -52,14 +52,17 @@ struct _Outbuf
52 52
53 void *dest; 53 void *dest;
54 unsigned int dest_row_bytes; 54 unsigned int dest_row_bytes;
55 void *switch_data;
55 56
56 int alpha_level; 57 int alpha_level;
57 DATA32 color_key; 58 DATA32 color_key;
58 char use_color_key : 1; 59 char use_color_key : 1;
60 char first_frame : 1;
59 61
60 struct { 62 struct {
61 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes); 63 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
62 void (*free_update_region) (int x, int y, int w, int h, void *data); 64 void (*free_update_region) (int x, int y, int w, int h, void *data);
65 void * (*switch_buffer) (void *data, void *dest_buffer);
63 } func; 66 } func;
64 67
65 struct { 68 struct {
@@ -74,12 +77,15 @@ void evas_buffer_outbuf_buf_free (Outbuf *buf);
74 77
75Outbuf *evas_buffer_outbuf_buf_setup_fb (int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level, 78Outbuf *evas_buffer_outbuf_buf_setup_fb (int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level,
76 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes), 79 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes),
77 void (*free_update_region) (int x, int y, int w, int h, void *data)); 80 void (*free_update_region) (int x, int y, int w, int h, void *data),
81 void * (*switch_buffer)(void *switch_data, void *dest),
82 void *switch_data);
78 83
79 84
80RGBA_Image *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 85RGBA_Image *evas_buffer_outbuf_buf_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
81void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update); 86void evas_buffer_outbuf_buf_free_region_for_update (Outbuf *buf, RGBA_Image *update);
82void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h); 87void evas_buffer_outbuf_buf_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h);
88void evas_buffer_outbuf_buf_switch_buffer (Outbuf *buf);
83 89
84#endif 90#endif
85 91
diff --git a/libraries/evas/src/modules/engines/buffer/evas_outbuf.c b/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
index 27f7a2c..0fa1842 100644
--- a/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/buffer/evas_outbuf.c
@@ -19,11 +19,12 @@ evas_buffer_outbuf_buf_free(Outbuf *buf)
19Outbuf * 19Outbuf *
20evas_buffer_outbuf_buf_setup_fb(int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level, 20evas_buffer_outbuf_buf_setup_fb(int w, int h, Outbuf_Depth depth, void *dest, int dest_row_bytes, int use_color_key, DATA32 color_key, int alpha_level,
21 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes), 21 void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes),
22 void (*free_update_region) (int x, int y, int w, int h, void *data) 22 void (*free_update_region) (int x, int y, int w, int h, void *data),
23 void * (*switch_buffer) (void *data, void *dest_buffer),
24 void *switch_data
23 ) 25 )
24{ 26{
25 Outbuf *buf; 27 Outbuf *buf;
26 int bpp;
27 28
28 buf = calloc(1, sizeof(Outbuf)); 29 buf = calloc(1, sizeof(Outbuf));
29 if (!buf) return NULL; 30 if (!buf) return NULL;
@@ -38,14 +39,12 @@ evas_buffer_outbuf_buf_setup_fb(int w, int h, Outbuf_Depth depth, void *dest, in
38 buf->alpha_level = alpha_level; 39 buf->alpha_level = alpha_level;
39 buf->color_key = color_key; 40 buf->color_key = color_key;
40 buf->use_color_key = use_color_key; 41 buf->use_color_key = use_color_key;
42 buf->first_frame = 1;
41 43
42 buf->func.new_update_region = new_update_region; 44 buf->func.new_update_region = new_update_region;
43 buf->func.free_update_region = free_update_region; 45 buf->func.free_update_region = free_update_region;
44 46 buf->func.switch_buffer = switch_buffer;
45 bpp = sizeof(DATA32); 47 buf->switch_data = switch_data;
46 if ((buf->depth == OUTBUF_DEPTH_RGB_24BPP_888_888) ||
47 (buf->depth == OUTBUF_DEPTH_BGR_24BPP_888_888))
48 bpp = 3;
49 48
50 if ((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888) && 49 if ((buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888) &&
51 (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32)))) 50 (buf->dest) && (buf->dest_row_bytes == (buf->w * sizeof(DATA32))))
@@ -102,6 +101,24 @@ evas_buffer_outbuf_buf_free_region_for_update(Outbuf *buf, RGBA_Image *update)
102} 101}
103 102
104void 103void
104evas_buffer_outbuf_buf_switch_buffer(Outbuf *buf)
105{
106 if (buf->func.switch_buffer)
107 {
108 buf->dest = buf->func.switch_buffer(buf->switch_data, buf->dest);
109 if (buf->priv.back_buf)
110 {
111 evas_cache_image_drop(&buf->priv.back_buf->cache_entry);
112 buf->priv.back_buf = (RGBA_Image *) evas_cache_image_data(evas_common_image_cache_get(),
113 buf->w, buf->h,
114 buf->dest,
115 buf->depth == OUTBUF_DEPTH_ARGB_32BPP_8888_8888 ? 1 : 0,
116 EVAS_COLORSPACE_ARGB8888);
117 }
118 }
119}
120
121void
105evas_buffer_outbuf_buf_push_updated_region(Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h) 122evas_buffer_outbuf_buf_push_updated_region(Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h)
106{ 123{
107 /* copy update image to out buf & convert */ 124 /* copy update image to out buf & convert */
diff --git a/libraries/evas/src/modules/engines/direct3d/Makefile.in b/libraries/evas/src/modules/engines/direct3d/Makefile.in
index 85baff8..fe979a8 100644
--- a/libraries/evas/src/modules/engines/direct3d/Makefile.in
+++ b/libraries/evas/src/modules/engines/direct3d/Makefile.in
@@ -243,6 +243,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
243EVIL_CFLAGS = @EVIL_CFLAGS@ 243EVIL_CFLAGS = @EVIL_CFLAGS@
244EVIL_LIBS = @EVIL_LIBS@ 244EVIL_LIBS = @EVIL_LIBS@
245EXEEXT = @EXEEXT@ 245EXEEXT = @EXEEXT@
246EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
247EXOTIC_LIBS = @EXOTIC_LIBS@
246FGREP = @FGREP@ 248FGREP = @FGREP@
247FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 249FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
248FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 250FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -293,6 +295,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
293PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 295PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
294PIXMAN_LIBS = @PIXMAN_LIBS@ 296PIXMAN_LIBS = @PIXMAN_LIBS@
295PKG_CONFIG = @PKG_CONFIG@ 297PKG_CONFIG = @PKG_CONFIG@
298PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
299PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
296PNG_CFLAGS = @PNG_CFLAGS@ 300PNG_CFLAGS = @PNG_CFLAGS@
297PNG_LIBS = @PNG_LIBS@ 301PNG_LIBS = @PNG_LIBS@
298RANLIB = @RANLIB@ 302RANLIB = @RANLIB@
@@ -311,8 +315,6 @@ VERSION = @VERSION@
311VMAJ = @VMAJ@ 315VMAJ = @VMAJ@
312WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 316WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
313WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 317WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
314WIN32_CFLAGS = @WIN32_CFLAGS@
315WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
316XCB_CFLAGS = @XCB_CFLAGS@ 318XCB_CFLAGS = @XCB_CFLAGS@
317XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 319XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
318XCB_GL_LIBS = @XCB_GL_LIBS@ 320XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -386,8 +388,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
386evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 388evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
387evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 389evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
388evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 390evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
389evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
390evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
391evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 391evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
392evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 392evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
393evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 393evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/directfb/Makefile.am b/libraries/evas/src/modules/engines/directfb/Makefile.am
index 5b00166..967e594 100644
--- a/libraries/evas/src/modules/engines/directfb/Makefile.am
+++ b/libraries/evas/src/modules/engines/directfb/Makefile.am
@@ -11,8 +11,6 @@ AM_CPPFLAGS = \
11@EINA_CFLAGS@ \ 11@EINA_CFLAGS@ \
12@evas_engine_directfb_cflags@ 12@evas_engine_directfb_cflags@
13 13
14AM_CFLAGS = @WIN32_CFLAGS@
15
16if BUILD_ENGINE_DIRECTFB 14if BUILD_ENGINE_DIRECTFB
17 15
18DIRECTFB_SOURCES = evas_engine.c polygon.c 16DIRECTFB_SOURCES = evas_engine.c polygon.c
diff --git a/libraries/evas/src/modules/engines/directfb/Makefile.in b/libraries/evas/src/modules/engines/directfb/Makefile.in
index df2f63b..7d642c9 100644
--- a/libraries/evas/src/modules/engines/directfb/Makefile.in
+++ b/libraries/evas/src/modules/engines/directfb/Makefile.in
@@ -190,6 +190,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -240,6 +242,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
241PIXMAN_LIBS = @PIXMAN_LIBS@ 243PIXMAN_LIBS = @PIXMAN_LIBS@
242PKG_CONFIG = @PKG_CONFIG@ 244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
243PNG_CFLAGS = @PNG_CFLAGS@ 247PNG_CFLAGS = @PNG_CFLAGS@
244PNG_LIBS = @PNG_LIBS@ 248PNG_LIBS = @PNG_LIBS@
245RANLIB = @RANLIB@ 249RANLIB = @RANLIB@
@@ -258,8 +262,6 @@ VERSION = @VERSION@
258VMAJ = @VMAJ@ 262VMAJ = @VMAJ@
259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
261WIN32_CFLAGS = @WIN32_CFLAGS@
262WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
263XCB_CFLAGS = @XCB_CFLAGS@ 265XCB_CFLAGS = @XCB_CFLAGS@
264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
265XCB_GL_LIBS = @XCB_GL_LIBS@ 267XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -333,8 +335,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
336evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
337evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -428,7 +428,6 @@ AM_CPPFLAGS = \
428@EINA_CFLAGS@ \ 428@EINA_CFLAGS@ \
429@evas_engine_directfb_cflags@ 429@evas_engine_directfb_cflags@
430 430
431AM_CFLAGS = @WIN32_CFLAGS@
432@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_SOURCES = evas_engine.c polygon.c 431@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_SOURCES = evas_engine.c polygon.c
433@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_LIBADD = @evas_engine_directfb_libs@ 432@BUILD_ENGINE_DIRECTFB_TRUE@DIRECTFB_LIBADD = @evas_engine_directfb_libs@
434@BUILD_ENGINE_DIRECTFB_TRUE@includes_HEADERS = Evas_Engine_DirectFB.h 433@BUILD_ENGINE_DIRECTFB_TRUE@includes_HEADERS = Evas_Engine_DirectFB.h
diff --git a/libraries/evas/src/modules/engines/directfb/evas_engine.c b/libraries/evas/src/modules/engines/directfb/evas_engine.c
index 17914ab..5347d2d 100644
--- a/libraries/evas/src/modules/engines/directfb/evas_engine.c
+++ b/libraries/evas/src/modules/engines/directfb/evas_engine.c
@@ -1138,7 +1138,8 @@ evas_engine_dfb_rectangle_draw(void *data, void *context, void *surface, int x,
1138static void 1138static void
1139evas_engine_dfb_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y) 1139evas_engine_dfb_polygon_draw(void *data __UNUSED__, void *context, void *surface, void *polygon, int x, int y)
1140{ 1140{
1141 _dfb_polygon_draw(surface, context, polygon, x, y); 1141 DirectFB_Engine_Image_Entry *eim = surface;
1142 _dfb_polygon_draw(eim->surface, context, polygon, x, y);
1142} 1143}
1143#else 1144#else
1144static void 1145static void
diff --git a/libraries/evas/src/modules/engines/fb/Makefile.in b/libraries/evas/src/modules/engines/fb/Makefile.in
index 1e82b34..31d222a 100644
--- a/libraries/evas/src/modules/engines/fb/Makefile.in
+++ b/libraries/evas/src/modules/engines/fb/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/fb/evas_engine.c b/libraries/evas/src/modules/engines/fb/evas_engine.c
index 7681b00..e15c02b 100644
--- a/libraries/evas/src/modules/engines/fb/evas_engine.c
+++ b/libraries/evas/src/modules/engines/fb/evas_engine.c
@@ -74,7 +74,7 @@ _output_setup(int w, int h, int rot, int vt, int dev, int refresh)
74 74
75/* engine api this module provides */ 75/* engine api this module provides */
76static void * 76static void *
77eng_info(Evas *e) 77eng_info(Evas *e __UNUSED__)
78{ 78{
79 Evas_Engine_Info_FB *info; 79 Evas_Engine_Info_FB *info;
80 info = calloc(1, sizeof(Evas_Engine_Info_FB)); 80 info = calloc(1, sizeof(Evas_Engine_Info_FB));
@@ -82,7 +82,6 @@ eng_info(Evas *e)
82 info->magic.magic = rand(); 82 info->magic.magic = rand();
83 info->render_mode = EVAS_RENDER_MODE_BLOCKING; 83 info->render_mode = EVAS_RENDER_MODE_BLOCKING;
84 return info; 84 return info;
85 e = NULL;
86} 85}
87 86
88static void 87static void
@@ -231,19 +230,13 @@ eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int
231} 230}
232 231
233static void 232static void
234eng_output_flush(void *data) 233eng_output_flush(void *data __UNUSED__)
235{ 234{
236 Render_Engine *re;
237
238 re = (Render_Engine *)data;
239} 235}
240 236
241static void 237static void
242eng_output_idle_flush(void *data) 238eng_output_idle_flush(void *data __UNUSED__)
243{ 239{
244 Render_Engine *re;
245
246 re = (Render_Engine *)data;
247} 240}
248 241
249static Eina_Bool 242static Eina_Bool
diff --git a/libraries/evas/src/modules/engines/fb/evas_outbuf.c b/libraries/evas/src/modules/engines/fb/evas_outbuf.c
index 57cf7a6..7ae24c5 100644
--- a/libraries/evas/src/modules/engines/fb/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/fb/evas_outbuf.c
@@ -25,7 +25,7 @@ evas_fb_outbuf_fb_setup_fb(int w, int h, int rot, Outbuf_Depth depth, int vt_no,
25 /* setup window and/or fb */ 25 /* setup window and/or fb */
26 /* if (dithered) create backbuf */ 26 /* if (dithered) create backbuf */
27 Outbuf *buf; 27 Outbuf *buf;
28 int fb_fd = -1; 28 int fb_fd;
29 int fb_depth; 29 int fb_depth;
30 30
31 fb_depth = -1; 31 fb_depth = -1;
@@ -51,6 +51,11 @@ evas_fb_outbuf_fb_setup_fb(int w, int h, int rot, Outbuf_Depth depth, int vt_no,
51 return NULL; 51 return NULL;
52 } 52 }
53 fb_fd = fb_postinit(buf->priv.fb.fb); 53 fb_fd = fb_postinit(buf->priv.fb.fb);
54 if (fb_fd < 1)
55 {
56 free(buf);
57 return NULL;
58 }
54 59
55 if (rot == 0 || rot == 180) 60 if (rot == 0 || rot == 180)
56 { 61 {
diff --git a/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in b/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in
index 6e616f4..049acb2 100644
--- a/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_cocoa/Makefile.in
@@ -208,6 +208,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
208EVIL_CFLAGS = @EVIL_CFLAGS@ 208EVIL_CFLAGS = @EVIL_CFLAGS@
209EVIL_LIBS = @EVIL_LIBS@ 209EVIL_LIBS = @EVIL_LIBS@
210EXEEXT = @EXEEXT@ 210EXEEXT = @EXEEXT@
211EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
212EXOTIC_LIBS = @EXOTIC_LIBS@
211FGREP = @FGREP@ 213FGREP = @FGREP@
212FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 214FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
213FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 215FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -258,6 +260,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
258PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 260PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
259PIXMAN_LIBS = @PIXMAN_LIBS@ 261PIXMAN_LIBS = @PIXMAN_LIBS@
260PKG_CONFIG = @PKG_CONFIG@ 262PKG_CONFIG = @PKG_CONFIG@
263PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
264PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
261PNG_CFLAGS = @PNG_CFLAGS@ 265PNG_CFLAGS = @PNG_CFLAGS@
262PNG_LIBS = @PNG_LIBS@ 266PNG_LIBS = @PNG_LIBS@
263RANLIB = @RANLIB@ 267RANLIB = @RANLIB@
@@ -276,8 +280,6 @@ VERSION = @VERSION@
276VMAJ = @VMAJ@ 280VMAJ = @VMAJ@
277WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 281WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
278WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 282WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
279WIN32_CFLAGS = @WIN32_CFLAGS@
280WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
281XCB_CFLAGS = @XCB_CFLAGS@ 283XCB_CFLAGS = @XCB_CFLAGS@
282XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 284XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
283XCB_GL_LIBS = @XCB_GL_LIBS@ 285XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -351,8 +353,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
351evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 353evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
352evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 354evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
353evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 355evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
354evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
355evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
356evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 356evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
357evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 357evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
358evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 358evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_common/Makefile.in b/libraries/evas/src/modules/engines/gl_common/Makefile.in
index 27284f9..5a9a1ef 100644
--- a/libraries/evas/src/modules/engines/gl_common/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_common/Makefile.in
@@ -195,6 +195,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
195EVIL_CFLAGS = @EVIL_CFLAGS@ 195EVIL_CFLAGS = @EVIL_CFLAGS@
196EVIL_LIBS = @EVIL_LIBS@ 196EVIL_LIBS = @EVIL_LIBS@
197EXEEXT = @EXEEXT@ 197EXEEXT = @EXEEXT@
198EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
199EXOTIC_LIBS = @EXOTIC_LIBS@
198FGREP = @FGREP@ 200FGREP = @FGREP@
199FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 201FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
200FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 202FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -245,6 +247,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
245PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 247PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
246PIXMAN_LIBS = @PIXMAN_LIBS@ 248PIXMAN_LIBS = @PIXMAN_LIBS@
247PKG_CONFIG = @PKG_CONFIG@ 249PKG_CONFIG = @PKG_CONFIG@
250PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
251PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
248PNG_CFLAGS = @PNG_CFLAGS@ 252PNG_CFLAGS = @PNG_CFLAGS@
249PNG_LIBS = @PNG_LIBS@ 253PNG_LIBS = @PNG_LIBS@
250RANLIB = @RANLIB@ 254RANLIB = @RANLIB@
@@ -263,8 +267,6 @@ VERSION = @VERSION@
263VMAJ = @VMAJ@ 267VMAJ = @VMAJ@
264WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 268WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
265WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 269WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
266WIN32_CFLAGS = @WIN32_CFLAGS@
267WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
268XCB_CFLAGS = @XCB_CFLAGS@ 270XCB_CFLAGS = @XCB_CFLAGS@
269XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 271XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
270XCB_GL_LIBS = @XCB_GL_LIBS@ 272XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -338,8 +340,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
338evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 340evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
339evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 341evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
340evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 342evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
341evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
342evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
343evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 343evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
344evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 344evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
345evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 345evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c b/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c
index 48499ea..f8ace2e 100644
--- a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c
+++ b/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c
@@ -17,7 +17,10 @@ evas_gl_common_line_draw(Evas_Engine_GL_Context *gc, int x1, int y1, int x2, int
17 } 17 }
18 else 18 else
19 { 19 {
20 r = g = b = a = 255; 20 a = (dc->col.col >> 24) & 0xff;
21 r = (dc->col.col >> 16) & 0xff;
22 g = (dc->col.col >> 8 ) & 0xff;
23 b = (dc->col.col ) & 0xff;
21 } 24 }
22 25
23 glFlush(); 26 glFlush();
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h
index de9acf8..87f4095 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.h
@@ -10,11 +10,15 @@
10"varying vec2 tex_c, tex_c2, tex_c3;\n" 10"varying vec2 tex_c, tex_c2, tex_c3;\n"
11"void main()\n" 11"void main()\n"
12"{\n" 12"{\n"
13" const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000,\n" 13" float r, g, b, y, u, v;\n"
14" 0.00000, -0.34410, 1.77200, 0.00000,\n" 14" y = texture2D(tex, tex_c.xy).r;\n"
15" 1.40200, -0.71410, 0.00000, 0.00000,\n" 15" u = texture2D(texu, tex_c2.xy).r;\n"
16" -0.77380, 0.45630, -0.95880, 1.00000);\n" 16" v = texture2D(texv, tex_c3.xy).r;\n"
17" gl_FragColor = (yuv2rgb * vec4(texture2D(tex, tex_c.xy).r,\n" 17" y = (y - 0.0625) * 1.164;\n"
18" texture2D(texu, tex_c2.xy).r,\n" 18" u = u - 0.5;\n"
19" texture2D(texv, tex_c3.xy).r, 1.0)) * col;\n" 19" v = v - 0.5;\n"
20" r = y + (1.402 * v);\n"
21" g = y - (0.34414 * u) - (0.71414 * v);\n"
22" b = y + (1.772 * u);\n"
23" gl_FragColor = vec4(r, g, b, 1.0) * col;\n"
20"}\n" 24"}\n"
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd
index 8e55d14..367fb55 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_frag.shd
@@ -10,11 +10,15 @@ varying vec4 col;
10varying vec2 tex_c, tex_c2, tex_c3; 10varying vec2 tex_c, tex_c2, tex_c3;
11void main() 11void main()
12{ 12{
13 const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000, 13 float r, g, b, y, u, v;
14 0.00000, -0.34410, 1.77200, 0.00000, 14 y = texture2D(tex, tex_c.xy).r;
15 1.40200, -0.71410, 0.00000, 0.00000, 15 u = texture2D(texu, tex_c2.xy).r;
16 -0.77380, 0.45630, -0.95880, 1.00000); 16 v = texture2D(texv, tex_c3.xy).r;
17 gl_FragColor = (yuv2rgb * vec4(texture2D(tex, tex_c.xy).r, 17 y = (y - 0.0625) * 1.164;
18 texture2D(texu, tex_c2.xy).r, 18 u = u - 0.5;
19 texture2D(texv, tex_c3.xy).r, 1.0)) * col; 19 v = v - 0.5;
20 r = y + (1.402 * v);
21 g = y - (0.34414 * u) - (0.71414 * v);
22 b = y + (1.772 * u);
23 gl_FragColor = vec4(r, g, b, 1.0) * col;
20} 24}
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h
index ee5855c..0df4b97 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.h
@@ -9,11 +9,15 @@
9"varying vec2 tex_c, tex_c2, tex_c3;\n" 9"varying vec2 tex_c, tex_c2, tex_c3;\n"
10"void main()\n" 10"void main()\n"
11"{\n" 11"{\n"
12" const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000,\n" 12" float r, g, b, y, u, v;\n"
13" 0.00000, -0.34410, 1.77200, 0.00000,\n" 13" y = texture2D(tex, tex_c.xy).r;\n"
14" 1.40200, -0.71410, 0.00000, 0.00000,\n" 14" u = texture2D(texu, tex_c2.xy).r;\n"
15" -0.77380, 0.45630, -0.95880, 1.00000);\n" 15" v = texture2D(texv, tex_c3.xy).r;\n"
16" gl_FragColor = yuv2rgb * vec4(texture2D(tex, tex_c.xy).r,\n" 16" y = (y - 0.0625) * 1.164;\n"
17" texture2D(texu, tex_c2.xy).r,\n" 17" u = u - 0.5;\n"
18" texture2D(texv, tex_c3.xy).r, 1.0);\n" 18" v = v - 0.5;\n"
19" r = y + (1.402 * v);\n"
20" g = y - (0.34414 * u) - (0.71414 * v);\n"
21" b = y + (1.772 * u);\n"
22" gl_FragColor = vec4(r, g, b, 1.0);\n"
19"}\n" 23"}\n"
diff --git a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
index 3ec4311..ce24622 100644
--- a/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
+++ b/libraries/evas/src/modules/engines/gl_common/shader/yuv_nomul_frag.shd
@@ -9,11 +9,15 @@ uniform sampler2D tex, texu, texv;
9varying vec2 tex_c, tex_c2, tex_c3; 9varying vec2 tex_c, tex_c2, tex_c3;
10void main() 10void main()
11{ 11{
12 const mat4 yuv2rgb = mat4( 1.16400, 1.16400, 1.16400, 0.00000, 12 float r, g, b, y, u, v;
13 0.00000, -0.34410, 1.77200, 0.00000, 13 y = texture2D(tex, tex_c.xy).r;
14 1.40200, -0.71410, 0.00000, 0.00000, 14 u = texture2D(texu, tex_c2.xy).r;
15 -0.77380, 0.45630, -0.95880, 1.00000); 15 v = texture2D(texv, tex_c3.xy).r;
16 gl_FragColor = yuv2rgb * vec4(texture2D(tex, tex_c.xy).r, 16 y = (y - 0.0625) * 1.164;
17 texture2D(texu, tex_c2.xy).r, 17 u = u - 0.5;
18 texture2D(texv, tex_c3.xy).r, 1.0); 18 v = v - 0.5;
19 r = y + (1.402 * v);
20 g = y - (0.34414 * u) - (0.71414 * v);
21 b = y + (1.772 * u);
22 gl_FragColor = vec4(r, g, b, 1.0);
19} 23}
diff --git a/libraries/evas/src/modules/engines/gl_sdl/Makefile.in b/libraries/evas/src/modules/engines/gl_sdl/Makefile.in
index bfb29ac..4bc9d59 100644
--- a/libraries/evas/src/modules/engines/gl_sdl/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_sdl/Makefile.in
@@ -189,6 +189,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
189EVIL_CFLAGS = @EVIL_CFLAGS@ 189EVIL_CFLAGS = @EVIL_CFLAGS@
190EVIL_LIBS = @EVIL_LIBS@ 190EVIL_LIBS = @EVIL_LIBS@
191EXEEXT = @EXEEXT@ 191EXEEXT = @EXEEXT@
192EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
193EXOTIC_LIBS = @EXOTIC_LIBS@
192FGREP = @FGREP@ 194FGREP = @FGREP@
193FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 195FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
194FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 196FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -239,6 +241,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
239PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 241PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
240PIXMAN_LIBS = @PIXMAN_LIBS@ 242PIXMAN_LIBS = @PIXMAN_LIBS@
241PKG_CONFIG = @PKG_CONFIG@ 243PKG_CONFIG = @PKG_CONFIG@
244PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
245PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
242PNG_CFLAGS = @PNG_CFLAGS@ 246PNG_CFLAGS = @PNG_CFLAGS@
243PNG_LIBS = @PNG_LIBS@ 247PNG_LIBS = @PNG_LIBS@
244RANLIB = @RANLIB@ 248RANLIB = @RANLIB@
@@ -257,8 +261,6 @@ VERSION = @VERSION@
257VMAJ = @VMAJ@ 261VMAJ = @VMAJ@
258WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 262WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
259WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 263WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
260WIN32_CFLAGS = @WIN32_CFLAGS@
261WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
262XCB_CFLAGS = @XCB_CFLAGS@ 264XCB_CFLAGS = @XCB_CFLAGS@
263XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 265XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
264XCB_GL_LIBS = @XCB_GL_LIBS@ 266XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -332,8 +334,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
332evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 334evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
333evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 335evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
334evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 336evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
335evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
336evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
337evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 337evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
338evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 338evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
339evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 339evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_x11/Makefile.in b/libraries/evas/src/modules/engines/gl_x11/Makefile.in
index ad4944e..3ac8dff 100644
--- a/libraries/evas/src/modules/engines/gl_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/gl_x11/Makefile.in
@@ -192,6 +192,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
192EVIL_CFLAGS = @EVIL_CFLAGS@ 192EVIL_CFLAGS = @EVIL_CFLAGS@
193EVIL_LIBS = @EVIL_LIBS@ 193EVIL_LIBS = @EVIL_LIBS@
194EXEEXT = @EXEEXT@ 194EXEEXT = @EXEEXT@
195EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
196EXOTIC_LIBS = @EXOTIC_LIBS@
195FGREP = @FGREP@ 197FGREP = @FGREP@
196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -242,6 +244,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
243PIXMAN_LIBS = @PIXMAN_LIBS@ 245PIXMAN_LIBS = @PIXMAN_LIBS@
244PKG_CONFIG = @PKG_CONFIG@ 246PKG_CONFIG = @PKG_CONFIG@
247PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
248PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
245PNG_CFLAGS = @PNG_CFLAGS@ 249PNG_CFLAGS = @PNG_CFLAGS@
246PNG_LIBS = @PNG_LIBS@ 250PNG_LIBS = @PNG_LIBS@
247RANLIB = @RANLIB@ 251RANLIB = @RANLIB@
@@ -260,8 +264,6 @@ VERSION = @VERSION@
260VMAJ = @VMAJ@ 264VMAJ = @VMAJ@
261WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 265WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
262WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 266WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
263WIN32_CFLAGS = @WIN32_CFLAGS@
264WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
265XCB_CFLAGS = @XCB_CFLAGS@ 267XCB_CFLAGS = @XCB_CFLAGS@
266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
267XCB_GL_LIBS = @XCB_GL_LIBS@ 269XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -335,8 +337,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
338evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
339evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
340evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 340evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
341evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 341evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
342evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 342evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/gl_x11/evas_engine.c b/libraries/evas/src/modules/engines/gl_x11/evas_engine.c
index fbbd1a2..06348b4 100644
--- a/libraries/evas/src/modules/engines/gl_x11/evas_engine.c
+++ b/libraries/evas/src/modules/engines/gl_x11/evas_engine.c
@@ -41,6 +41,17 @@ struct _Render_Engine
41 int w, h; 41 int w, h;
42 int vsync; 42 int vsync;
43 43
44 // Shader used for Evas_GL_Direct Optimization
45 GLuint df_program;
46 GLuint df_vtx_shader;
47 GLuint df_fgmt_shader;
48 GLuint df_col_attrib;
49 GLuint df_pos_attrib;
50
51 GLfloat df_clear_color[4];
52 GLfloat df_depth_value;
53
54 int df_initialized;
44}; 55};
45 56
46struct _Render_Engine_GL_Surface 57struct _Render_Engine_GL_Surface
@@ -51,6 +62,8 @@ struct _Render_Engine_GL_Surface
51 int depth_bits; 62 int depth_bits;
52 int stencil_bits; 63 int stencil_bits;
53 64
65 int direct_fb_opt;
66
54 // Render target texture/buffers 67 // Render target texture/buffers
55 GLuint rt_tex; 68 GLuint rt_tex;
56 GLint rt_internal_fmt; 69 GLint rt_internal_fmt;
@@ -60,6 +73,12 @@ struct _Render_Engine_GL_Surface
60 GLuint rb_stencil; 73 GLuint rb_stencil;
61 GLenum rb_stencil_fmt; 74 GLenum rb_stencil_fmt;
62 75
76#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
77 EGLSurface direct_sfc;
78#else
79 Window direct_sfc;
80#endif
81
63 Render_Engine_GL_Context *current_ctx; 82 Render_Engine_GL_Context *current_ctx;
64}; 83};
65 84
@@ -74,6 +93,10 @@ struct _Render_Engine_GL_Context
74 GLuint context_fbo; 93 GLuint context_fbo;
75 GLuint current_fbo; 94 GLuint current_fbo;
76 95
96
97 int scissor_enabled;
98 int scissor_upated;
99
77 Render_Engine_GL_Surface *current_sfc; 100 Render_Engine_GL_Surface *current_sfc;
78}; 101};
79 102
@@ -99,8 +122,11 @@ struct _Extension_Entry
99 122
100static int initted = 0; 123static int initted = 0;
101static int gl_wins = 0; 124static int gl_wins = 0;
102static Render_Engine_GL_Context *current_evgl_ctx; 125static int gl_direct_override = 0;
103static Render_Engine *current_engine; 126static int gl_direct_enabled = 0;
127static Render_Engine_GL_Context *current_evgl_ctx = NULL;
128static Render_Engine *current_engine = NULL;
129static Evas_Object *gl_direct_img_obj = NULL;
104 130
105static char _gl_ext_string[1024]; 131static char _gl_ext_string[1024];
106static char _evasgl_ext_string[1024]; 132static char _evasgl_ext_string[1024];
@@ -2514,11 +2540,15 @@ eng_image_data_put(void *data, void *image, DATA32 *image_data)
2514 2540
2515 if (im->tex->pt->dyn.data == image_data) 2541 if (im->tex->pt->dyn.data == image_data)
2516 { 2542 {
2517 im->tex->pt->dyn.checked_out--; 2543 if (im->tex->pt->dyn.checked_out > 0)
2544 {
2545 im->tex->pt->dyn.checked_out--;
2518#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 2546#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
2519 if (im->tex->pt->dyn.checked_out == 0) 2547 if (im->tex->pt->dyn.checked_out == 0)
2520 glsym_eglUnmapImageSEC(re->win->egl_disp, im->tex->pt->dyn.img); 2548 glsym_eglUnmapImageSEC(re->win->egl_disp, im->tex->pt->dyn.img);
2521#endif 2549#endif
2550 }
2551
2522 return image; 2552 return image;
2523 } 2553 }
2524 2554
@@ -2605,13 +2635,22 @@ eng_image_draw(void *data, void *context, void *surface, void *image, int src_x,
2605 2635
2606 re = (Render_Engine *)data; 2636 re = (Render_Engine *)data;
2607 if (!image) return; 2637 if (!image) return;
2608 eng_window_use(re->win); 2638
2609 evas_gl_common_context_target_surface_set(re->win->gl_context, surface); 2639 if ((gl_direct_img_obj) && (gl_direct_enabled))
2610 re->win->gl_context->dc = context; 2640 {
2611 evas_gl_common_image_draw(re->win->gl_context, image, 2641 DBG("Rendering Directly to the window");
2612 src_x, src_y, src_w, src_h, 2642 evas_object_image_pixels_dirty_set(gl_direct_img_obj, EINA_TRUE);
2613 dst_x, dst_y, dst_w, dst_h, 2643 }
2614 smooth); 2644 else
2645 {
2646 eng_window_use(re->win);
2647 evas_gl_common_context_target_surface_set(re->win->gl_context, surface);
2648 re->win->gl_context->dc = context;
2649 evas_gl_common_image_draw(re->win->gl_context, image,
2650 src_x, src_y, src_w, src_h,
2651 dst_x, dst_y, dst_w, dst_h,
2652 smooth);
2653 }
2615} 2654}
2616 2655
2617static void 2656static void
@@ -2794,7 +2833,7 @@ static int
2794_set_internal_config(Render_Engine_GL_Surface *sfc, Evas_GL_Config *cfg) 2833_set_internal_config(Render_Engine_GL_Surface *sfc, Evas_GL_Config *cfg)
2795{ 2834{
2796 // Also initialize pixel format here as well... 2835 // Also initialize pixel format here as well...
2797 switch(cfg->color_format) 2836 switch((int)cfg->color_format)
2798 { 2837 {
2799 case EVAS_GL_RGB_888: 2838 case EVAS_GL_RGB_888:
2800 sfc->rt_fmt = GL_RGB; 2839 sfc->rt_fmt = GL_RGB;
@@ -2849,7 +2888,12 @@ _set_internal_config(Render_Engine_GL_Surface *sfc, Evas_GL_Config *cfg)
2849 return 0; 2888 return 0;
2850 } 2889 }
2851 2890
2852 // Do Packed Depth24_Stencil8 Later... 2891 if (cfg->options_bits)
2892 {
2893 if (cfg->options_bits & EVAS_GL_OPTIONS_DIRECT)
2894 sfc->direct_fb_opt = 1;
2895 // Add other options here...
2896 }
2853 2897
2854 return 1; 2898 return 1;
2855} 2899}
@@ -2954,6 +2998,11 @@ eng_gl_surface_create(void *data, void *config, int w, int h)
2954 sfc->rb_depth = 0; 2998 sfc->rb_depth = 0;
2955 sfc->rb_stencil = 0; 2999 sfc->rb_stencil = 0;
2956 3000
3001 /* Allow alpha for evas gl direct rendering */
3002 // FIXME!!!: A little out of place for for now...
3003 if (!gl_direct_override)
3004 if (getenv("EVAS_GL_DIRECT_OVERRIDE")) gl_direct_override = 1;
3005
2957 // Set the internal format based on the config 3006 // Set the internal format based on the config
2958 if (!_set_internal_config(sfc, cfg)) 3007 if (!_set_internal_config(sfc, cfg))
2959 { 3008 {
@@ -2962,6 +3011,16 @@ eng_gl_surface_create(void *data, void *config, int w, int h)
2962 return NULL; 3011 return NULL;
2963 } 3012 }
2964 3013
3014 if (sfc->direct_fb_opt)
3015 {
3016 DBG("Enabling Direct rendering to the Evas' window.");
3017#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3018 sfc->direct_sfc = re->win->egl_surface[0];
3019#else
3020 sfc->direct_sfc = re->win->win;
3021#endif
3022 }
3023
2965 // Create internal resource context if it hasn't been created already 3024 // Create internal resource context if it hasn't been created already
2966 if ((rsc = eina_tls_get(resource_key)) == NULL) 3025 if ((rsc = eina_tls_get(resource_key)) == NULL)
2967 { 3026 {
@@ -3039,6 +3098,17 @@ eng_gl_surface_destroy(void *data, void *surface)
3039 return 0; 3098 return 0;
3040 } 3099 }
3041 3100
3101 // Reset the Framebuffer binding point
3102 if ((current_evgl_ctx) && (current_evgl_ctx->current_fbo == current_evgl_ctx->context_fbo))
3103 {
3104 //glBindFramebuffer(GL_FRAMEBUFFER, 0);
3105 current_evgl_ctx->current_fbo = 0;
3106 current_evgl_ctx->current_sfc = NULL;
3107 }
3108
3109 // Clear direct rendering flag
3110 gl_direct_enabled = 0;
3111
3042 // Delete FBO/RBO and Texture here 3112 // Delete FBO/RBO and Texture here
3043 if (sfc->rt_tex) 3113 if (sfc->rt_tex)
3044 glDeleteTextures(1, &sfc->rt_tex); 3114 glDeleteTextures(1, &sfc->rt_tex);
@@ -3049,6 +3119,8 @@ eng_gl_surface_destroy(void *data, void *surface)
3049 if (sfc->rb_stencil) 3119 if (sfc->rb_stencil)
3050 glDeleteRenderbuffers(1, &sfc->rb_stencil); 3120 glDeleteRenderbuffers(1, &sfc->rb_stencil);
3051 3121
3122
3123
3052#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3124#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3053 ret = eglMakeCurrent(re->win->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 3125 ret = eglMakeCurrent(re->win->egl_disp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
3054#else 3126#else
@@ -3158,7 +3230,7 @@ eng_gl_context_destroy(void *data, void *context)
3158 3230
3159 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0; 3231 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0;
3160 3232
3161 // 1. Do a make current with the given context 3233 // Do a make current with the given context
3162#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3234#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3163 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface, 3235 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface,
3164 rsc->surface, ctx->context); 3236 rsc->surface, ctx->context);
@@ -3172,11 +3244,11 @@ eng_gl_context_destroy(void *data, void *context)
3172 return 0; 3244 return 0;
3173 } 3245 }
3174 3246
3175 // 2. Delete the FBO 3247 // Delete the FBO
3176 if (ctx->context_fbo) 3248 if (ctx->context_fbo)
3177 glDeleteFramebuffers(1, &ctx->context_fbo); 3249 glDeleteFramebuffers(1, &ctx->context_fbo);
3178 3250
3179 // 3. Destroy the Context 3251 // Destroy the Context
3180#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3252#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3181 eglDestroyContext(re->win->egl_disp, ctx->context); 3253 eglDestroyContext(re->win->egl_disp, ctx->context);
3182 3254
@@ -3239,67 +3311,127 @@ eng_gl_make_current(void *data __UNUSED__, void *surface, void *context)
3239 return 1; 3311 return 1;
3240 } 3312 }
3241 3313
3242 // Do a make current only if it's not already current 3314 // Check if direct rendering is possible:
3243#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 3315 // It's possible when direct_fb_opt is on and either current image
3244 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0; 3316 // object is valid or gl_direct_override is on. Override allows
3317 // rendering outside of pixel getter but it doesn't guarantee
3318 // correct rendering.
3319 if ((sfc->direct_fb_opt) && (gl_direct_img_obj || gl_direct_override))
3320 gl_direct_enabled = 1;
3321 else
3322 gl_direct_enabled = 0;
3245 3323
3246 if ((eglGetCurrentContext() != ctx->context) || 3324 if (gl_direct_enabled)
3247 (eglGetCurrentSurface(EGL_READ) != rsc->surface) ||
3248 (eglGetCurrentSurface(EGL_DRAW) != rsc->surface) )
3249 { 3325 {
3250 // Flush remainder of what's in Evas' pipeline 3326 // Do a make current only if it's not already current
3251 if (re->win) eng_window_use(NULL); 3327#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3328 if ((eglGetCurrentContext() != ctx->context) ||
3329 (eglGetCurrentSurface(EGL_READ) != sfc->direct_sfc) ||
3330 (eglGetCurrentSurface(EGL_DRAW) != sfc->direct_sfc) )
3331 {
3332 int curr_fbo = 0;
3333 DBG("Rendering Directly to the window\n");
3252 3334
3253 // Do a make current 3335 // Flush remainder of what's in Evas' pipeline
3254 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface, 3336 if (re->win) eng_window_use(NULL);
3255 rsc->surface, ctx->context); 3337
3256 if (!ret) 3338 // Do a make current
3339 ret = eglMakeCurrent(re->win->egl_disp, sfc->direct_sfc,
3340 sfc->direct_sfc, ctx->context);
3341 if (!ret)
3342 {
3343 ERR("xxxMakeCurrent() failed! code=%#x", eglGetError());
3344 //ERR("xxxMakeCurrent() failed!");
3345 return 0;
3346 }
3347
3348 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &curr_fbo);
3349 if (ctx->context_fbo == curr_fbo)
3350 {
3351 ctx->current_fbo = 0;
3352 glBindFramebuffer(GL_FRAMEBUFFER, 0);
3353 }
3354 }
3355#else
3356 if ((glXGetCurrentContext() != ctx->context))
3257 { 3357 {
3258 ERR("xxxMakeCurrent() failed!"); 3358 // Flush remainder of what's in Evas' pipeline
3259 return 0; 3359 if (re->win) eng_window_use(NULL);
3360
3361 // Do a make current
3362 ret = glXMakeCurrent(re->info->info.display, sfc->direct_sfc, ctx->context);
3363 if (!ret)
3364 {
3365 ERR("xxxMakeCurrent() failed!");
3366 return 0;
3367 }
3260 } 3368 }
3369#endif
3261 } 3370 }
3262#else 3371 else
3263 if ((glXGetCurrentContext() != ctx->context) ||
3264 (glXGetCurrentDrawable() != re->win->win) )
3265 { 3372 {
3266 // Flush remainder of what's in Evas' pipeline 3373 // Do a make current only if it's not already current
3267 if (re->win) eng_window_use(NULL); 3374#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
3375 if ((rsc = eina_tls_get(resource_key)) == EINA_FALSE) return 0;
3268 3376
3269 // Do a make current 3377 if ((eglGetCurrentContext() != ctx->context) ||
3270 ret = glXMakeCurrent(re->info->info.display, re->win->win, ctx->context); 3378 (eglGetCurrentSurface(EGL_READ) != rsc->surface) ||
3271 if (!ret) 3379 (eglGetCurrentSurface(EGL_DRAW) != rsc->surface) )
3272 { 3380 {
3273 ERR("xxxMakeCurrent() failed!"); 3381 // Flush remainder of what's in Evas' pipeline
3274 return 0; 3382 if (re->win) eng_window_use(NULL);
3383
3384 // Do a make current
3385 ret = eglMakeCurrent(re->win->egl_disp, rsc->surface,
3386 rsc->surface, ctx->context);
3387 if (!ret)
3388 {
3389 ERR("xxxMakeCurrent() failed!");
3390 return 0;
3391 }
3275 } 3392 }
3276 } 3393#else
3277#endif 3394 if ((glXGetCurrentContext() != ctx->context) ||
3395 (glXGetCurrentDrawable() != re->win->win) )
3396 {
3397 // Flush remainder of what's in Evas' pipeline
3398 if (re->win) eng_window_use(NULL);
3278 3399
3279 // Create FBO if not already created 3400 // Do a make current
3280 if (!ctx->initialized) 3401 ret = glXMakeCurrent(re->info->info.display, re->win->win, ctx->context);
3281 { 3402 if (!ret)
3282 glGenFramebuffers(1, &ctx->context_fbo); 3403 {
3283 ctx->initialized = 1; 3404 ERR("xxxMakeCurrent() failed!");
3284 } 3405 return 0;
3406 }
3407 }
3408#endif
3285 3409
3286 // Attach FBO if it hasn't been attached or if surface changed 3410 // Create FBO if not already created
3287 if ((!sfc->fbo_attached) || (ctx->current_sfc != sfc)) 3411 if (!ctx->initialized)
3288 {
3289 if (!_attach_fbo_surface(re, sfc, ctx))
3290 { 3412 {
3291 ERR("_attach_fbo_surface() failed."); 3413 glGenFramebuffers(1, &ctx->context_fbo);
3292 return 0; 3414 ctx->initialized = 1;
3293 } 3415 }
3294 3416
3295 if (ctx->current_fbo) 3417 // Attach FBO if it hasn't been attached or if surface changed
3296 // Bind to the previously bound buffer 3418 if ((!sfc->fbo_attached) || (ctx->current_sfc != sfc))
3297 glBindFramebuffer(GL_FRAMEBUFFER, ctx->current_fbo); 3419 {
3298 else 3420 if (!_attach_fbo_surface(re, sfc, ctx))
3299 // Bind FBO 3421 {
3300 glBindFramebuffer(GL_FRAMEBUFFER, ctx->context_fbo); 3422 ERR("_attach_fbo_surface() failed.");
3423 return 0;
3424 }
3301 3425
3302 sfc->fbo_attached = 1; 3426 if (ctx->current_fbo)
3427 // Bind to the previously bound buffer
3428 glBindFramebuffer(GL_FRAMEBUFFER, ctx->current_fbo);
3429 else
3430 // Bind FBO
3431 glBindFramebuffer(GL_FRAMEBUFFER, ctx->context_fbo);
3432
3433 sfc->fbo_attached = 1;
3434 }
3303 } 3435 }
3304 3436
3305 // Set the current surface/context 3437 // Set the current surface/context
@@ -3345,13 +3477,28 @@ eng_gl_native_surface_get(void *data, void *surface, void *native_surface)
3345 sfc = (Render_Engine_GL_Surface*)surface; 3477 sfc = (Render_Engine_GL_Surface*)surface;
3346 ns = (Evas_Native_Surface*)native_surface; 3478 ns = (Evas_Native_Surface*)native_surface;
3347 3479
3348 ns->type = EVAS_NATIVE_SURFACE_OPENGL; 3480 if (sfc->direct_fb_opt)
3349 ns->version = EVAS_NATIVE_SURFACE_VERSION; 3481 {
3350 ns->data.opengl.texture_id = sfc->rt_tex; 3482 ns->type = EVAS_NATIVE_SURFACE_OPENGL;
3351 ns->data.opengl.x = 0; 3483 ns->version = EVAS_NATIVE_SURFACE_VERSION;
3352 ns->data.opengl.y = 0; 3484 ns->data.opengl.texture_id = sfc->rt_tex;
3353 ns->data.opengl.w = sfc->w; 3485 ns->data.opengl.framebuffer_id = 0;
3354 ns->data.opengl.h = sfc->h; 3486 ns->data.opengl.x = 0;
3487 ns->data.opengl.y = 0;
3488 ns->data.opengl.w = sfc->w;
3489 ns->data.opengl.h = sfc->h;
3490 }
3491 else
3492 {
3493 ns->type = EVAS_NATIVE_SURFACE_OPENGL;
3494 ns->version = EVAS_NATIVE_SURFACE_VERSION;
3495 ns->data.opengl.texture_id = sfc->rt_tex;
3496 ns->data.opengl.framebuffer_id = sfc->rt_tex;
3497 ns->data.opengl.x = 0;
3498 ns->data.opengl.y = 0;
3499 ns->data.opengl.w = sfc->w;
3500 ns->data.opengl.h = sfc->h;
3501 }
3355 3502
3356 return 1; 3503 return 1;
3357} 3504}
@@ -3371,22 +3518,27 @@ evgl_glBindFramebuffer(GLenum target, GLuint framebuffer)
3371{ 3518{
3372 Render_Engine_GL_Context *ctx = current_evgl_ctx; 3519 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3373 3520
3521 if (!ctx)
3522 {
3523 ERR("No current context set.");
3524 return;
3525 }
3526
3374 // Take care of BindFramebuffer 0 issue 3527 // Take care of BindFramebuffer 0 issue
3375 if (framebuffer==0) 3528 if (framebuffer==0)
3376 { 3529 {
3377 if (ctx) 3530 if (gl_direct_enabled)
3378 { 3531 glBindFramebuffer(target, 0);
3379 glBindFramebuffer(target, ctx->context_fbo); 3532 else
3380 ctx->current_fbo = 0; 3533 glBindFramebuffer(target, ctx->context_fbo);
3381 } 3534 ctx->current_fbo = 0;
3382 } 3535 }
3383 else 3536 else
3384 { 3537 {
3385 glBindFramebuffer(target, framebuffer); 3538 glBindFramebuffer(target, framebuffer);
3386 3539
3387 // Save this for restore when doing make current 3540 // Save this for restore when doing make current
3388 if (ctx) 3541 ctx->current_fbo = framebuffer;
3389 ctx->current_fbo = framebuffer;
3390 } 3542 }
3391} 3543}
3392 3544
@@ -3398,6 +3550,225 @@ evgl_glBindRenderbuffer(GLenum target, GLuint renderbuffer)
3398 glBindRenderbuffer(target, renderbuffer); 3550 glBindRenderbuffer(target, renderbuffer);
3399} 3551}
3400 3552
3553// Transform from Evas Coordinat to GL Coordinate
3554// returns: oc[4] original image object dimension in gl coord
3555// returns: nc[4] tranformed (x, y, width, heigth) in gl coord
3556static void
3557compute_gl_coordinates(Evas_Object *obj, int rot, int clip,
3558 int x, int y, int width, int height,
3559 int imgc[4], int objc[4])
3560{
3561 if (rot == 0)
3562 {
3563 // oringinal image object coordinate in gl coordinate
3564 imgc[0] = obj->cur.geometry.x;
3565 imgc[1] = obj->layer->evas->output.h - obj->cur.geometry.y - obj->cur.geometry.h;
3566 imgc[2] = imgc[0] + obj->cur.geometry.w;
3567 imgc[3] = imgc[1] + obj->cur.geometry.h;
3568
3569 // transformed (x,y,width,height) in gl coordinate
3570 objc[0] = imgc[0] + x;
3571 objc[1] = imgc[1] + y;
3572 objc[2] = objc[0] + width;
3573 objc[3] = objc[1] + height;
3574 }
3575 else if (rot == 180)
3576 {
3577 // oringinal image object coordinate in gl coordinate
3578 imgc[0] = obj->layer->evas->output.w - obj->cur.geometry.x - obj->cur.geometry.w;
3579 imgc[1] = obj->cur.geometry.y;
3580 imgc[2] = imgc[0] + obj->cur.geometry.w;
3581 imgc[3] = imgc[1] + obj->cur.geometry.h;
3582
3583 // transformed (x,y,width,height) in gl coordinate
3584 objc[0] = imgc[0] + obj->cur.geometry.w - x - width;
3585 objc[1] = imgc[1] + obj->cur.geometry.h - y - height;
3586 objc[2] = objc[0] + width;
3587 objc[3] = objc[1] + height;
3588
3589 }
3590 else if (rot == 90)
3591 {
3592 // oringinal image object coordinate in gl coordinate
3593 imgc[0] = obj->cur.geometry.y;
3594 imgc[1] = obj->cur.geometry.x;
3595 imgc[2] = imgc[0] + obj->cur.geometry.h;
3596 imgc[3] = imgc[1] + obj->cur.geometry.w;
3597
3598 // transformed (x,y,width,height) in gl coordinate
3599 objc[0] = imgc[0] + obj->cur.geometry.h - y - height;
3600 objc[1] = imgc[1] + x;
3601 objc[2] = objc[0] + height;
3602 objc[3] = objc[1] + width;
3603 }
3604 else if (rot == 270)
3605 {
3606 // oringinal image object coordinate in gl coordinate
3607 imgc[0] = obj->layer->evas->output.h - obj->cur.geometry.y - obj->cur.geometry.h;
3608 imgc[1] = obj->layer->evas->output.w - obj->cur.geometry.x - obj->cur.geometry.w;
3609 imgc[2] = imgc[0] + obj->cur.geometry.h;
3610 imgc[3] = imgc[1] + obj->cur.geometry.w;
3611
3612 // transformed (x,y,width,height) in gl coordinate
3613 objc[0] = imgc[0] + y;
3614 objc[1] = imgc[1] + obj->cur.geometry.w - x - width;
3615 objc[2] = objc[0] + height;
3616 objc[3] = objc[1] + width;
3617 }
3618 else
3619 {
3620 ERR("Invalid rotation angle %d.", rot);
3621 return;
3622 }
3623
3624 if (clip)
3625 {
3626 // Clip against original image object
3627 if (objc[0] < imgc[0]) objc[0] = imgc[0];
3628 if (objc[0] > imgc[2]) objc[0] = 0;
3629
3630 if (objc[1] < imgc[1]) objc[1] = imgc[1];
3631 if (objc[1] > imgc[3]) objc[1] = 0;
3632
3633 if (objc[2] < imgc[0]) objc[0] = 0;
3634 if (objc[2] > imgc[2]) objc[2] = imgc[2];
3635
3636 if (objc[3] < imgc[1]) objc[1] = 0;
3637 if (objc[3] > imgc[3]) objc[3] = imgc[3];
3638 }
3639
3640 imgc[2] = imgc[2]-imgc[0]; // width
3641 imgc[3] = imgc[3]-imgc[1]; // height
3642
3643 objc[2] = objc[2]-objc[0]; // width
3644 objc[3] = objc[3]-objc[1]; // height
3645}
3646
3647static void
3648evgl_glClear(GLbitfield mask)
3649{
3650 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3651 int rot = 0;
3652 int oc[4], nc[4];
3653
3654 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3655 {
3656 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3657 rot = current_engine->win->gl_context->rot;
3658 else
3659 ERR("Unable to retrieve rotation angle: %d", rot);
3660
3661 compute_gl_coordinates(gl_direct_img_obj, rot, 0, 0, 0, 0, 0, oc, nc);
3662 glScissor(oc[0], oc[1], oc[2], oc[3]);
3663 glClear(mask);
3664 }
3665 else
3666 glClear(mask);
3667}
3668
3669static void
3670evgl_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
3671{
3672 current_engine->df_clear_color[0] = red;
3673 current_engine->df_clear_color[1] = green;
3674 current_engine->df_clear_color[2] = blue;
3675 current_engine->df_clear_color[3] = alpha;
3676
3677 glClearColor(red, green, blue, alpha);
3678
3679}
3680
3681static void
3682evgl_glEnable(GLenum cap)
3683{
3684 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3685
3686 if (cap == GL_SCISSOR_TEST)
3687 if (ctx) ctx->scissor_enabled = 1;
3688 glEnable(cap);
3689}
3690
3691static void
3692evgl_glDisable(GLenum cap)
3693{
3694 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3695
3696 if (cap == GL_SCISSOR_TEST)
3697 if (ctx) ctx->scissor_enabled = 0;
3698 glDisable(cap);
3699}
3700
3701
3702static void
3703evgl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels)
3704{
3705 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3706 int rot = 0;
3707 int oc[4], nc[4];
3708
3709 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3710 {
3711 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3712 rot = current_engine->win->gl_context->rot;
3713 else
3714 ERR("Unable to retrieve rotation angle: %d", rot);
3715
3716 compute_gl_coordinates(gl_direct_img_obj, rot, 1, x, y, width, height, oc, nc);
3717 glReadPixels(nc[0], nc[1], nc[2], nc[3], format, type, pixels);
3718 }
3719 else
3720 glReadPixels(x, y, width, height, format, type, pixels);
3721}
3722
3723static void
3724evgl_glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
3725{
3726 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3727 int rot = 0;
3728 int oc[4], nc[4];
3729
3730 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3731 {
3732 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3733 rot = current_engine->win->gl_context->rot;
3734 else
3735 ERR("Unable to retrieve rotation angle: %d", rot);
3736
3737 compute_gl_coordinates(gl_direct_img_obj, rot, 1, x, y, width, height, oc, nc);
3738 glScissor(nc[0], nc[1], nc[2], nc[3]);
3739 ctx->scissor_upated = 1;
3740 }
3741 else
3742 glScissor(x, y, width, height);
3743}
3744
3745static void
3746evgl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
3747{
3748 Render_Engine_GL_Context *ctx = current_evgl_ctx;
3749 int rot = 0;
3750 int oc[4], nc[4];
3751
3752 if ((gl_direct_img_obj) && (gl_direct_enabled) && (ctx) && (!ctx->current_fbo))
3753 {
3754 if ((current_engine) && (current_engine->win) && (current_engine->win->gl_context))
3755 rot = current_engine->win->gl_context->rot;
3756 else
3757 ERR("Unable to retrieve rotation angle: %d", rot);
3758
3759 compute_gl_coordinates(gl_direct_img_obj, rot, 0, x, y, width, height, oc, nc);
3760 glEnable(GL_SCISSOR_TEST);
3761 glScissor(oc[0], oc[1], oc[2], oc[3]);
3762 glViewport(nc[0], nc[1], nc[2], nc[3]);
3763 }
3764 else
3765 glViewport(x, y, width, height);
3766
3767}
3768
3769
3770//----------------------------------------------//
3771
3401static void 3772static void
3402evgl_glClearDepthf(GLclampf depth) 3773evgl_glClearDepthf(GLclampf depth)
3403{ 3774{
@@ -3531,8 +3902,8 @@ eng_gl_api_get(void *data)
3531 ORD(glBufferData); 3902 ORD(glBufferData);
3532 ORD(glBufferSubData); 3903 ORD(glBufferSubData);
3533 ORD(glCheckFramebufferStatus); 3904 ORD(glCheckFramebufferStatus);
3534 ORD(glClear); 3905// ORD(glClear);
3535 ORD(glClearColor); 3906// ORD(glClearColor);
3536// ORD(glClearDepthf); 3907// ORD(glClearDepthf);
3537 ORD(glClearStencil); 3908 ORD(glClearStencil);
3538 ORD(glColorMask); 3909 ORD(glColorMask);
@@ -3554,11 +3925,11 @@ eng_gl_api_get(void *data)
3554 ORD(glDepthMask); 3925 ORD(glDepthMask);
3555// ORD(glDepthRangef); 3926// ORD(glDepthRangef);
3556 ORD(glDetachShader); 3927 ORD(glDetachShader);
3557 ORD(glDisable); 3928// ORD(glDisable);
3558 ORD(glDisableVertexAttribArray); 3929 ORD(glDisableVertexAttribArray);
3559 ORD(glDrawArrays); 3930 ORD(glDrawArrays);
3560 ORD(glDrawElements); 3931 ORD(glDrawElements);
3561 ORD(glEnable); 3932// ORD(glEnable);
3562 ORD(glEnableVertexAttribArray); 3933 ORD(glEnableVertexAttribArray);
3563 ORD(glFinish); 3934 ORD(glFinish);
3564 ORD(glFlush); 3935 ORD(glFlush);
@@ -3612,7 +3983,7 @@ eng_gl_api_get(void *data)
3612// ORD(glReleaseShaderCompiler); 3983// ORD(glReleaseShaderCompiler);
3613 ORD(glRenderbufferStorage); 3984 ORD(glRenderbufferStorage);
3614 ORD(glSampleCoverage); 3985 ORD(glSampleCoverage);
3615 ORD(glScissor); 3986// ORD(glScissor);
3616// ORD(glShaderBinary); 3987// ORD(glShaderBinary);
3617 ORD(glShaderSource); 3988 ORD(glShaderSource);
3618 ORD(glStencilFunc); 3989 ORD(glStencilFunc);
@@ -3657,7 +4028,7 @@ eng_gl_api_get(void *data)
3657 ORD(glVertexAttrib4f); 4028 ORD(glVertexAttrib4f);
3658 ORD(glVertexAttrib4fv); 4029 ORD(glVertexAttrib4fv);
3659 ORD(glVertexAttribPointer); 4030 ORD(glVertexAttribPointer);
3660 ORD(glViewport); 4031// ORD(glViewport);
3661#undef ORD 4032#undef ORD
3662 4033
3663#define ORD(f) EVAS_API_OVERRIDE(f, &gl_funcs, glsym_) 4034#define ORD(f) EVAS_API_OVERRIDE(f, &gl_funcs, glsym_)
@@ -3717,6 +4088,14 @@ eng_gl_api_get(void *data)
3717 ORD(glBindFramebuffer); 4088 ORD(glBindFramebuffer);
3718 ORD(glBindRenderbuffer); 4089 ORD(glBindRenderbuffer);
3719 4090
4091 ORD(glClear);
4092 ORD(glClearColor);
4093 ORD(glEnable);
4094 ORD(glDisable);
4095 ORD(glReadPixels);
4096 ORD(glScissor);
4097 ORD(glViewport);
4098
3720 // GLES2.0 API compat on top of desktop gl 4099 // GLES2.0 API compat on top of desktop gl
3721 ORD(glClearDepthf); 4100 ORD(glClearDepthf);
3722 ORD(glDepthRangef); 4101 ORD(glDepthRangef);
@@ -3739,6 +4118,24 @@ eng_gl_api_get(void *data)
3739 return &gl_funcs; 4118 return &gl_funcs;
3740} 4119}
3741 4120
4121static void
4122eng_gl_img_obj_set(void *data, void *image, int has_alpha)
4123{
4124 Render_Engine *re = (Render_Engine *)data;
4125
4126 gl_direct_img_obj = NULL;
4127
4128 // Normally direct rendering isn't allowed if alpha is on and
4129 // rotation is not 0. BUT, if override is on, allow it.
4130 if ((has_alpha) || (re->win->gl_context->rot!=0))
4131 {
4132 if (gl_direct_override)
4133 gl_direct_img_obj = image;
4134 }
4135 else
4136 gl_direct_img_obj = image;
4137}
4138
3742static int 4139static int
3743eng_image_load_error_get(void *data __UNUSED__, void *image) 4140eng_image_load_error_get(void *data __UNUSED__, void *image)
3744{ 4141{
@@ -3877,6 +4274,9 @@ module_open(Evas_Module *em)
3877 EINA_LOG_ERR("Can not create a module log domain."); 4274 EINA_LOG_ERR("Can not create a module log domain.");
3878 return 0; 4275 return 0;
3879 } 4276 }
4277 /* Allow alpha for evas gl direct rendering */
4278 if (getenv("EVAS_GL_DIRECT_OVERRIDE")) gl_direct_override = 1;
4279
3880 /* store it for later use */ 4280 /* store it for later use */
3881 func = pfunc; 4281 func = pfunc;
3882 /* now to override methods */ 4282 /* now to override methods */
@@ -3961,6 +4361,7 @@ module_open(Evas_Module *em)
3961 ORD(gl_proc_address_get); 4361 ORD(gl_proc_address_get);
3962 ORD(gl_native_surface_get); 4362 ORD(gl_native_surface_get);
3963 ORD(gl_api_get); 4363 ORD(gl_api_get);
4364 ORD(gl_img_obj_set);
3964 4365
3965 ORD(image_load_error_get); 4366 ORD(image_load_error_get);
3966 4367
diff --git a/libraries/evas/src/modules/engines/psl1ght/Makefile.in b/libraries/evas/src/modules/engines/psl1ght/Makefile.in
index f8524a4..9593d02 100644
--- a/libraries/evas/src/modules/engines/psl1ght/Makefile.in
+++ b/libraries/evas/src/modules/engines/psl1ght/Makefile.in
@@ -190,6 +190,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
190EVIL_CFLAGS = @EVIL_CFLAGS@ 190EVIL_CFLAGS = @EVIL_CFLAGS@
191EVIL_LIBS = @EVIL_LIBS@ 191EVIL_LIBS = @EVIL_LIBS@
192EXEEXT = @EXEEXT@ 192EXEEXT = @EXEEXT@
193EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
194EXOTIC_LIBS = @EXOTIC_LIBS@
193FGREP = @FGREP@ 195FGREP = @FGREP@
194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 196FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 197FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -240,6 +242,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 242PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
241PIXMAN_LIBS = @PIXMAN_LIBS@ 243PIXMAN_LIBS = @PIXMAN_LIBS@
242PKG_CONFIG = @PKG_CONFIG@ 244PKG_CONFIG = @PKG_CONFIG@
245PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
246PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
243PNG_CFLAGS = @PNG_CFLAGS@ 247PNG_CFLAGS = @PNG_CFLAGS@
244PNG_LIBS = @PNG_LIBS@ 248PNG_LIBS = @PNG_LIBS@
245RANLIB = @RANLIB@ 249RANLIB = @RANLIB@
@@ -258,8 +262,6 @@ VERSION = @VERSION@
258VMAJ = @VMAJ@ 262VMAJ = @VMAJ@
259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
261WIN32_CFLAGS = @WIN32_CFLAGS@
262WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
263XCB_CFLAGS = @XCB_CFLAGS@ 265XCB_CFLAGS = @XCB_CFLAGS@
264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 266XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
265XCB_GL_LIBS = @XCB_GL_LIBS@ 267XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -333,8 +335,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 335evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 336evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 337evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
336evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
337evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 338evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 339evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 340evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_16/Makefile.am b/libraries/evas/src/modules/engines/software_16/Makefile.am
index 070d610..fec60ac 100644
--- a/libraries/evas/src/modules/engines/software_16/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_16/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@PIXMAN_CFLAGS@ \ 10@PIXMAN_CFLAGS@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_ENGINE_SOFTWARE_16 13if BUILD_ENGINE_SOFTWARE_16
16 14
17SOFTWARE_16_SOURCES = evas_engine.c 15SOFTWARE_16_SOURCES = evas_engine.c
diff --git a/libraries/evas/src/modules/engines/software_16/Makefile.in b/libraries/evas/src/modules/engines/software_16/Makefile.in
index 88164e1..bca2deb 100644
--- a/libraries/evas/src/modules/engines/software_16/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16/Makefile.in
@@ -185,6 +185,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
185EVIL_CFLAGS = @EVIL_CFLAGS@ 185EVIL_CFLAGS = @EVIL_CFLAGS@
186EVIL_LIBS = @EVIL_LIBS@ 186EVIL_LIBS = @EVIL_LIBS@
187EXEEXT = @EXEEXT@ 187EXEEXT = @EXEEXT@
188EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
189EXOTIC_LIBS = @EXOTIC_LIBS@
188FGREP = @FGREP@ 190FGREP = @FGREP@
189FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 191FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
190FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 192FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -235,6 +237,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
235PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 237PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
236PIXMAN_LIBS = @PIXMAN_LIBS@ 238PIXMAN_LIBS = @PIXMAN_LIBS@
237PKG_CONFIG = @PKG_CONFIG@ 239PKG_CONFIG = @PKG_CONFIG@
240PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
241PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
238PNG_CFLAGS = @PNG_CFLAGS@ 242PNG_CFLAGS = @PNG_CFLAGS@
239PNG_LIBS = @PNG_LIBS@ 243PNG_LIBS = @PNG_LIBS@
240RANLIB = @RANLIB@ 244RANLIB = @RANLIB@
@@ -253,8 +257,6 @@ VERSION = @VERSION@
253VMAJ = @VMAJ@ 257VMAJ = @VMAJ@
254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 258WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 259WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
256WIN32_CFLAGS = @WIN32_CFLAGS@
257WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
258XCB_CFLAGS = @XCB_CFLAGS@ 260XCB_CFLAGS = @XCB_CFLAGS@
259XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 261XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
260XCB_GL_LIBS = @XCB_GL_LIBS@ 262XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -328,8 +330,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
328evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 330evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
329evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 331evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
330evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 332evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
331evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
332evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
333evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 333evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
334evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 334evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
335evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 335evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -422,7 +422,6 @@ AM_CPPFLAGS = \
422@PIXMAN_CFLAGS@ \ 422@PIXMAN_CFLAGS@ \
423@EINA_CFLAGS@ 423@EINA_CFLAGS@
424 424
425AM_CFLAGS = @WIN32_CFLAGS@
426@BUILD_ENGINE_SOFTWARE_16_TRUE@SOFTWARE_16_SOURCES = evas_engine.c 425@BUILD_ENGINE_SOFTWARE_16_TRUE@SOFTWARE_16_SOURCES = evas_engine.c
427@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16/$(MODULE_ARCH) 426@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16/$(MODULE_ARCH)
428@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkg_LTLIBRARIES = module.la 427@BUILD_ENGINE_SOFTWARE_16_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in
index 0039410..014411c 100644
--- a/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_ddraw/Makefile.in
@@ -215,6 +215,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
215EVIL_CFLAGS = @EVIL_CFLAGS@ 215EVIL_CFLAGS = @EVIL_CFLAGS@
216EVIL_LIBS = @EVIL_LIBS@ 216EVIL_LIBS = @EVIL_LIBS@
217EXEEXT = @EXEEXT@ 217EXEEXT = @EXEEXT@
218EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
219EXOTIC_LIBS = @EXOTIC_LIBS@
218FGREP = @FGREP@ 220FGREP = @FGREP@
219FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 221FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
220FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 222FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -265,6 +267,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
265PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 267PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
266PIXMAN_LIBS = @PIXMAN_LIBS@ 268PIXMAN_LIBS = @PIXMAN_LIBS@
267PKG_CONFIG = @PKG_CONFIG@ 269PKG_CONFIG = @PKG_CONFIG@
270PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
271PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
268PNG_CFLAGS = @PNG_CFLAGS@ 272PNG_CFLAGS = @PNG_CFLAGS@
269PNG_LIBS = @PNG_LIBS@ 273PNG_LIBS = @PNG_LIBS@
270RANLIB = @RANLIB@ 274RANLIB = @RANLIB@
@@ -283,8 +287,6 @@ VERSION = @VERSION@
283VMAJ = @VMAJ@ 287VMAJ = @VMAJ@
284WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 288WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
285WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 289WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
286WIN32_CFLAGS = @WIN32_CFLAGS@
287WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
288XCB_CFLAGS = @XCB_CFLAGS@ 290XCB_CFLAGS = @XCB_CFLAGS@
289XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 291XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
290XCB_GL_LIBS = @XCB_GL_LIBS@ 292XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -358,8 +360,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
358evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 360evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
359evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 361evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
360evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 362evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
361evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
362evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
363evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 363evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
364evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 364evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
365evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 365evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am
index af0197d..88204c0 100644
--- a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.am
@@ -4,7 +4,7 @@ MAINTAINERCLEANFILES = Makefile.in
4 4
5INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@ 5INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@
6 6
7if BUILD_ENGINE_SOFTWARE_SDL 7if BUILD_ENGINE_SOFTWARE_16_SDL
8 8
9SOFTWARE_SDL_SOURCES = \ 9SOFTWARE_SDL_SOURCES = \
10evas_engine.c \ 10evas_engine.c \
@@ -14,7 +14,7 @@ evas_engine.h
14includes_HEADERS = Evas_Engine_SDL_16.h 14includes_HEADERS = Evas_Engine_SDL_16.h
15includesdir = $(includedir)/evas-@VMAJ@ 15includesdir = $(includedir)/evas-@VMAJ@
16 16
17if !EVAS_STATIC_BUILD_SOFTWARE_SDL 17if !EVAS_STATIC_BUILD_SOFTWARE_16_SDL
18 18
19pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH) 19pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH)
20pkg_LTLIBRARIES = module.la 20pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in
index 6ebf0db..a8f2cc9 100644
--- a/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_sdl/Makefile.in
@@ -84,23 +84,23 @@ LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES)
84libevas_engine_software_16_sdl_la_DEPENDENCIES = 84libevas_engine_software_16_sdl_la_DEPENDENCIES =
85am__libevas_engine_software_16_sdl_la_SOURCES_DIST = evas_engine.c \ 85am__libevas_engine_software_16_sdl_la_SOURCES_DIST = evas_engine.c \
86 evas_engine.h 86 evas_engine.h
87@BUILD_ENGINE_SOFTWARE_SDL_TRUE@am__objects_1 = evas_engine.lo 87@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@am__objects_1 = evas_engine.lo
88@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am_libevas_engine_software_16_sdl_la_OBJECTS = $(am__objects_1) 88@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am_libevas_engine_software_16_sdl_la_OBJECTS = $(am__objects_1)
89libevas_engine_software_16_sdl_la_OBJECTS = \ 89libevas_engine_software_16_sdl_la_OBJECTS = \
90 $(am_libevas_engine_software_16_sdl_la_OBJECTS) 90 $(am_libevas_engine_software_16_sdl_la_OBJECTS)
91AM_V_lt = $(am__v_lt_$(V)) 91AM_V_lt = $(am__v_lt_$(V))
92am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) 92am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
93am__v_lt_0 = --silent 93am__v_lt_0 = --silent
94@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@am_libevas_engine_software_16_sdl_la_rpath = 94@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@am_libevas_engine_software_16_sdl_la_rpath =
95@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la 95@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_DEPENDENCIES = $(top_builddir)/src/lib/libevas.la
96am__module_la_SOURCES_DIST = evas_engine.c evas_engine.h 96am__module_la_SOURCES_DIST = evas_engine.c evas_engine.h
97@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am_module_la_OBJECTS = $(am__objects_1) 97@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am_module_la_OBJECTS = $(am__objects_1)
98module_la_OBJECTS = $(am_module_la_OBJECTS) 98module_la_OBJECTS = $(am_module_la_OBJECTS)
99module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 99module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
100 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 100 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
101 $(module_la_LDFLAGS) $(LDFLAGS) -o $@ 101 $(module_la_LDFLAGS) $(LDFLAGS) -o $@
102@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@am_module_la_rpath = -rpath \ 102@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@am_module_la_rpath = -rpath \
103@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@ $(pkgdir) 103@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@ $(pkgdir)
104DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 104DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
105depcomp = $(SHELL) $(top_srcdir)/depcomp 105depcomp = $(SHELL) $(top_srcdir)/depcomp
106am__depfiles_maybe = depfiles 106am__depfiles_maybe = depfiles
@@ -188,6 +188,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
188EVIL_CFLAGS = @EVIL_CFLAGS@ 188EVIL_CFLAGS = @EVIL_CFLAGS@
189EVIL_LIBS = @EVIL_LIBS@ 189EVIL_LIBS = @EVIL_LIBS@
190EXEEXT = @EXEEXT@ 190EXEEXT = @EXEEXT@
191EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
192EXOTIC_LIBS = @EXOTIC_LIBS@
191FGREP = @FGREP@ 193FGREP = @FGREP@
192FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 194FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
193FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 195FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -238,6 +240,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
238PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 240PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
239PIXMAN_LIBS = @PIXMAN_LIBS@ 241PIXMAN_LIBS = @PIXMAN_LIBS@
240PKG_CONFIG = @PKG_CONFIG@ 242PKG_CONFIG = @PKG_CONFIG@
243PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
244PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
241PNG_CFLAGS = @PNG_CFLAGS@ 245PNG_CFLAGS = @PNG_CFLAGS@
242PNG_LIBS = @PNG_LIBS@ 246PNG_LIBS = @PNG_LIBS@
243RANLIB = @RANLIB@ 247RANLIB = @RANLIB@
@@ -256,8 +260,6 @@ VERSION = @VERSION@
256VMAJ = @VMAJ@ 260VMAJ = @VMAJ@
257WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 261WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
258WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 262WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
259WIN32_CFLAGS = @WIN32_CFLAGS@
260WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
261XCB_CFLAGS = @XCB_CFLAGS@ 263XCB_CFLAGS = @XCB_CFLAGS@
262XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 264XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
263XCB_GL_LIBS = @XCB_GL_LIBS@ 265XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -331,8 +333,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
331evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 333evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
332evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 334evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
333evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 335evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
334evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
335evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
336evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 336evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
337evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 337evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
338evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 338evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,20 +418,20 @@ version_info = @version_info@
418AUTOMAKE_OPTIONS = 1.4 foreign 418AUTOMAKE_OPTIONS = 1.4 foreign
419MAINTAINERCLEANFILES = Makefile.in 419MAINTAINERCLEANFILES = Makefile.in
420INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@ 420INCLUDES = -I. -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/include @FREETYPE_CFLAGS@ @PIXMAN_CFLAGS@ @SDL_CFLAGS@ @EINA_CFLAGS@
421@BUILD_ENGINE_SOFTWARE_SDL_TRUE@SOFTWARE_SDL_SOURCES = \ 421@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@SOFTWARE_SDL_SOURCES = \
422@BUILD_ENGINE_SOFTWARE_SDL_TRUE@evas_engine.c \ 422@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@evas_engine.c \
423@BUILD_ENGINE_SOFTWARE_SDL_TRUE@evas_engine.h 423@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@evas_engine.h
424 424
425@BUILD_ENGINE_SOFTWARE_SDL_TRUE@includes_HEADERS = Evas_Engine_SDL_16.h 425@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@includes_HEADERS = Evas_Engine_SDL_16.h
426@BUILD_ENGINE_SOFTWARE_SDL_TRUE@includesdir = $(includedir)/evas-@VMAJ@ 426@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@includesdir = $(includedir)/evas-@VMAJ@
427@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH) 427@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_sdl/$(MODULE_ARCH)
428@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@pkg_LTLIBRARIES = module.la 428@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@pkg_LTLIBRARIES = module.la
429@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_SOURCES = $(SOFTWARE_SDL_SOURCES) 429@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_SOURCES = $(SOFTWARE_SDL_SOURCES)
430@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_LIBADD = @EINA_LIBS@ @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la 430@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_LIBADD = @EINA_LIBS@ @SDL_LIBS@ $(top_builddir)/src/lib/libevas.la
431@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src/lib -L$(top_builddir)/src/lib/.libs 431@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE@module_la_LDFLAGS = -no-undefined -module -avoid-version -L$(top_builddir)/src/lib -L$(top_builddir)/src/lib/.libs
432@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_sdl.la 432@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@noinst_LTLIBRARIES = libevas_engine_software_16_sdl.la
433@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@libevas_engine_software_16_sdl_la_SOURCES = $(SOFTWARE_SDL_SOURCES) 433@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@libevas_engine_software_16_sdl_la_SOURCES = $(SOFTWARE_SDL_SOURCES)
434@BUILD_ENGINE_SOFTWARE_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_SDL_TRUE@libevas_engine_software_16_sdl_la_LIBADD = @SDL_LIBS@ 434@BUILD_ENGINE_SOFTWARE_16_SDL_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE@libevas_engine_software_16_sdl_la_LIBADD = @SDL_LIBS@
435EXTRA_DIST = \ 435EXTRA_DIST = \
436evas_engine.c \ 436evas_engine.c \
437evas_engine.h \ 437evas_engine.h \
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Makefile.am b/libraries/evas/src/modules/engines/software_16_wince/Makefile.am
index 7f0c666..fcd21b1 100644
--- a/libraries/evas/src/modules/engines/software_16_wince/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_16_wince/Makefile.am
@@ -33,7 +33,6 @@ pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH)
33pkg_LTLIBRARIES = module.la 33pkg_LTLIBRARIES = module.la
34 34
35module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) 35module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE)
36module_la_CFLAGS = @WIN32_CFLAGS@
37module_la_CXXFLAGS = -fno-rtti -fno-exceptions 36module_la_CXXFLAGS = -fno-rtti -fno-exceptions
38module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD) 37module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD)
39module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 38module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
diff --git a/libraries/evas/src/modules/engines/software_16_wince/Makefile.in b/libraries/evas/src/modules/engines/software_16_wince/Makefile.in
index 95c484e..d371be5 100644
--- a/libraries/evas/src/modules/engines/software_16_wince/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_wince/Makefile.in
@@ -221,6 +221,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
221EVIL_CFLAGS = @EVIL_CFLAGS@ 221EVIL_CFLAGS = @EVIL_CFLAGS@
222EVIL_LIBS = @EVIL_LIBS@ 222EVIL_LIBS = @EVIL_LIBS@
223EXEEXT = @EXEEXT@ 223EXEEXT = @EXEEXT@
224EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
225EXOTIC_LIBS = @EXOTIC_LIBS@
224FGREP = @FGREP@ 226FGREP = @FGREP@
225FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 227FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
226FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 228FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -271,6 +273,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
271PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 273PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
272PIXMAN_LIBS = @PIXMAN_LIBS@ 274PIXMAN_LIBS = @PIXMAN_LIBS@
273PKG_CONFIG = @PKG_CONFIG@ 275PKG_CONFIG = @PKG_CONFIG@
276PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
277PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
274PNG_CFLAGS = @PNG_CFLAGS@ 278PNG_CFLAGS = @PNG_CFLAGS@
275PNG_LIBS = @PNG_LIBS@ 279PNG_LIBS = @PNG_LIBS@
276RANLIB = @RANLIB@ 280RANLIB = @RANLIB@
@@ -289,8 +293,6 @@ VERSION = @VERSION@
289VMAJ = @VMAJ@ 293VMAJ = @VMAJ@
290WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 294WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
291WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 295WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
292WIN32_CFLAGS = @WIN32_CFLAGS@
293WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
294XCB_CFLAGS = @XCB_CFLAGS@ 296XCB_CFLAGS = @XCB_CFLAGS@
295XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 297XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
296XCB_GL_LIBS = @XCB_GL_LIBS@ 298XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -364,8 +366,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
364evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 366evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
365evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 367evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
366evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 368evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
367evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
368evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
369evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 369evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
370evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 370evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
371evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 371evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -473,7 +473,6 @@ AM_CPPFLAGS = \
473@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH) 473@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_16_wince/$(MODULE_ARCH)
474@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkg_LTLIBRARIES = module.la 474@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@pkg_LTLIBRARIES = module.la
475@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE) 475@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_SOURCES = $(SOFTWARE_16_WINCE_SOURCE)
476@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CFLAGS = @WIN32_CFLAGS@
477@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CXXFLAGS = -fno-rtti -fno-exceptions 476@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_CXXFLAGS = -fno-rtti -fno-exceptions
478@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD) 477@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la $(SOFTWARE_16_WINCE_LIBADD)
479@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 478@BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
@@ -603,36 +602,36 @@ distclean-compile:
603@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< 602@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
604 603
605module_la-evas_engine.lo: evas_engine.c 604module_la-evas_engine.lo: evas_engine.c
606@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_engine.lo -MD -MP -MF $(DEPDIR)/module_la-evas_engine.Tpo -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c 605@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_engine.lo -MD -MP -MF $(DEPDIR)/module_la-evas_engine.Tpo -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c
607@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo 606@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_engine.Tpo $(DEPDIR)/module_la-evas_engine.Plo
608@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 607@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
609@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@ 608@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_engine.c' object='module_la-evas_engine.lo' libtool=yes @AMDEPBACKSLASH@
610@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 609@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
611@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c 610@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo '$(srcdir)/'`evas_engine.c
612 611
613module_la-evas_wince_fb_buffer.lo: evas_wince_fb_buffer.c 612module_la-evas_wince_fb_buffer.lo: evas_wince_fb_buffer.c
614@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_fb_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c 613@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_fb_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c
615@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo $(DEPDIR)/module_la-evas_wince_fb_buffer.Plo 614@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_fb_buffer.Tpo $(DEPDIR)/module_la-evas_wince_fb_buffer.Plo
616@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 615@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
617@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_fb_buffer.c' object='module_la-evas_wince_fb_buffer.lo' libtool=yes @AMDEPBACKSLASH@ 616@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_fb_buffer.c' object='module_la-evas_wince_fb_buffer.lo' libtool=yes @AMDEPBACKSLASH@
618@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 617@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
619@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c 618@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_fb_buffer.lo `test -f 'evas_wince_fb_buffer.c' || echo '$(srcdir)/'`evas_wince_fb_buffer.c
620 619
621module_la-evas_wince_gapi_buffer.lo: evas_wince_gapi_buffer.c 620module_la-evas_wince_gapi_buffer.lo: evas_wince_gapi_buffer.c
622@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gapi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c 621@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gapi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c
623@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gapi_buffer.Plo 622@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gapi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gapi_buffer.Plo
624@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 623@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
625@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gapi_buffer.c' object='module_la-evas_wince_gapi_buffer.lo' libtool=yes @AMDEPBACKSLASH@ 624@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gapi_buffer.c' object='module_la-evas_wince_gapi_buffer.lo' libtool=yes @AMDEPBACKSLASH@
626@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 625@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
627@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c 626@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gapi_buffer.lo `test -f 'evas_wince_gapi_buffer.c' || echo '$(srcdir)/'`evas_wince_gapi_buffer.c
628 627
629module_la-evas_wince_gdi_buffer.lo: evas_wince_gdi_buffer.c 628module_la-evas_wince_gdi_buffer.lo: evas_wince_gdi_buffer.c
630@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gdi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c 629@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT module_la-evas_wince_gdi_buffer.lo -MD -MP -MF $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c
631@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gdi_buffer.Plo 630@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/module_la-evas_wince_gdi_buffer.Tpo $(DEPDIR)/module_la-evas_wince_gdi_buffer.Plo
632@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ 631@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
633@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gdi_buffer.c' object='module_la-evas_wince_gdi_buffer.lo' libtool=yes @AMDEPBACKSLASH@ 632@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='evas_wince_gdi_buffer.c' object='module_la-evas_wince_gdi_buffer.lo' libtool=yes @AMDEPBACKSLASH@
634@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 633@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
635@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(module_la_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c 634@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(module_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o module_la-evas_wince_gdi_buffer.lo `test -f 'evas_wince_gdi_buffer.c' || echo '$(srcdir)/'`evas_wince_gdi_buffer.c
636 635
637.cpp.o: 636.cpp.o:
638@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 637@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff --git a/libraries/evas/src/modules/engines/software_16_x11/Makefile.in b/libraries/evas/src/modules/engines/software_16_x11/Makefile.in
index 3232681..2ce18e6 100644
--- a/libraries/evas/src/modules/engines/software_16_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_16_x11/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_8/Makefile.am b/libraries/evas/src/modules/engines/software_8/Makefile.am
index 145b766..46637fb 100644
--- a/libraries/evas/src/modules/engines/software_8/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_8/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@PIXMAN_CFLAGS@ \ 10@PIXMAN_CFLAGS@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_ENGINE_SOFTWARE_8 13if BUILD_ENGINE_SOFTWARE_8
16 14
17SOFTWARE_8_SOURCES = evas_engine.c 15SOFTWARE_8_SOURCES = evas_engine.c
diff --git a/libraries/evas/src/modules/engines/software_8/Makefile.in b/libraries/evas/src/modules/engines/software_8/Makefile.in
index 3ee42fd..6da6bbb 100644
--- a/libraries/evas/src/modules/engines/software_8/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_8/Makefile.in
@@ -184,6 +184,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
184EVIL_CFLAGS = @EVIL_CFLAGS@ 184EVIL_CFLAGS = @EVIL_CFLAGS@
185EVIL_LIBS = @EVIL_LIBS@ 185EVIL_LIBS = @EVIL_LIBS@
186EXEEXT = @EXEEXT@ 186EXEEXT = @EXEEXT@
187EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
188EXOTIC_LIBS = @EXOTIC_LIBS@
187FGREP = @FGREP@ 189FGREP = @FGREP@
188FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 190FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
189FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 191FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -234,6 +236,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
234PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 236PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
235PIXMAN_LIBS = @PIXMAN_LIBS@ 237PIXMAN_LIBS = @PIXMAN_LIBS@
236PKG_CONFIG = @PKG_CONFIG@ 238PKG_CONFIG = @PKG_CONFIG@
239PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
240PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
237PNG_CFLAGS = @PNG_CFLAGS@ 241PNG_CFLAGS = @PNG_CFLAGS@
238PNG_LIBS = @PNG_LIBS@ 242PNG_LIBS = @PNG_LIBS@
239RANLIB = @RANLIB@ 243RANLIB = @RANLIB@
@@ -252,8 +256,6 @@ VERSION = @VERSION@
252VMAJ = @VMAJ@ 256VMAJ = @VMAJ@
253WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 257WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
254WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 258WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
255WIN32_CFLAGS = @WIN32_CFLAGS@
256WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
257XCB_CFLAGS = @XCB_CFLAGS@ 259XCB_CFLAGS = @XCB_CFLAGS@
258XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 260XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
259XCB_GL_LIBS = @XCB_GL_LIBS@ 261XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -327,8 +329,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
327evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 329evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
328evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 330evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
329evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 331evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
330evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
331evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
332evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 332evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
333evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 333evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
334evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 334evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -421,7 +421,6 @@ AM_CPPFLAGS = \
421@PIXMAN_CFLAGS@ \ 421@PIXMAN_CFLAGS@ \
422@EINA_CFLAGS@ 422@EINA_CFLAGS@
423 423
424AM_CFLAGS = @WIN32_CFLAGS@
425@BUILD_ENGINE_SOFTWARE_8_TRUE@SOFTWARE_8_SOURCES = evas_engine.c 424@BUILD_ENGINE_SOFTWARE_8_TRUE@SOFTWARE_8_SOURCES = evas_engine.c
426@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_8/$(MODULE_ARCH) 425@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_8/$(MODULE_ARCH)
427@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkg_LTLIBRARIES = module.la 426@BUILD_ENGINE_SOFTWARE_8_TRUE@@EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/engines/software_8_x11/Makefile.in b/libraries/evas/src/modules/engines/software_8_x11/Makefile.in
index 22577af..3231fd1 100644
--- a/libraries/evas/src/modules/engines/software_8_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_8_x11/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_ddraw/Makefile.in b/libraries/evas/src/modules/engines/software_ddraw/Makefile.in
index da65f92..629b413 100644
--- a/libraries/evas/src/modules/engines/software_ddraw/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_ddraw/Makefile.in
@@ -216,6 +216,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
216EVIL_CFLAGS = @EVIL_CFLAGS@ 216EVIL_CFLAGS = @EVIL_CFLAGS@
217EVIL_LIBS = @EVIL_LIBS@ 217EVIL_LIBS = @EVIL_LIBS@
218EXEEXT = @EXEEXT@ 218EXEEXT = @EXEEXT@
219EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
220EXOTIC_LIBS = @EXOTIC_LIBS@
219FGREP = @FGREP@ 221FGREP = @FGREP@
220FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 222FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
221FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 223FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -266,6 +268,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
266PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 268PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
267PIXMAN_LIBS = @PIXMAN_LIBS@ 269PIXMAN_LIBS = @PIXMAN_LIBS@
268PKG_CONFIG = @PKG_CONFIG@ 270PKG_CONFIG = @PKG_CONFIG@
271PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
272PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
269PNG_CFLAGS = @PNG_CFLAGS@ 273PNG_CFLAGS = @PNG_CFLAGS@
270PNG_LIBS = @PNG_LIBS@ 274PNG_LIBS = @PNG_LIBS@
271RANLIB = @RANLIB@ 275RANLIB = @RANLIB@
@@ -284,8 +288,6 @@ VERSION = @VERSION@
284VMAJ = @VMAJ@ 288VMAJ = @VMAJ@
285WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 289WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
286WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 290WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
287WIN32_CFLAGS = @WIN32_CFLAGS@
288WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
289XCB_CFLAGS = @XCB_CFLAGS@ 291XCB_CFLAGS = @XCB_CFLAGS@
290XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 292XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
291XCB_GL_LIBS = @XCB_GL_LIBS@ 293XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -359,8 +361,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
359evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 361evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
360evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 362evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
361evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 363evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
362evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
363evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
364evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 364evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
365evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 365evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
366evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 366evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_gdi/Makefile.in b/libraries/evas/src/modules/engines/software_gdi/Makefile.in
index a2421ef..507926d 100644
--- a/libraries/evas/src/modules/engines/software_gdi/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_gdi/Makefile.in
@@ -199,6 +199,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
199EVIL_CFLAGS = @EVIL_CFLAGS@ 199EVIL_CFLAGS = @EVIL_CFLAGS@
200EVIL_LIBS = @EVIL_LIBS@ 200EVIL_LIBS = @EVIL_LIBS@
201EXEEXT = @EXEEXT@ 201EXEEXT = @EXEEXT@
202EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
203EXOTIC_LIBS = @EXOTIC_LIBS@
202FGREP = @FGREP@ 204FGREP = @FGREP@
203FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 205FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
204FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 206FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -249,6 +251,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
249PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 251PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
250PIXMAN_LIBS = @PIXMAN_LIBS@ 252PIXMAN_LIBS = @PIXMAN_LIBS@
251PKG_CONFIG = @PKG_CONFIG@ 253PKG_CONFIG = @PKG_CONFIG@
254PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
255PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
252PNG_CFLAGS = @PNG_CFLAGS@ 256PNG_CFLAGS = @PNG_CFLAGS@
253PNG_LIBS = @PNG_LIBS@ 257PNG_LIBS = @PNG_LIBS@
254RANLIB = @RANLIB@ 258RANLIB = @RANLIB@
@@ -267,8 +271,6 @@ VERSION = @VERSION@
267VMAJ = @VMAJ@ 271VMAJ = @VMAJ@
268WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 272WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
269WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 273WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
270WIN32_CFLAGS = @WIN32_CFLAGS@
271WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
272XCB_CFLAGS = @XCB_CFLAGS@ 274XCB_CFLAGS = @XCB_CFLAGS@
273XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 275XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
274XCB_GL_LIBS = @XCB_GL_LIBS@ 276XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -342,8 +344,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
342evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 344evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
343evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 345evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
344evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 346evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
345evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
346evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
347evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 347evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
348evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 348evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
349evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 349evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/software_generic/Makefile.am b/libraries/evas/src/modules/engines/software_generic/Makefile.am
index d7986f1..e605dac 100644
--- a/libraries/evas/src/modules/engines/software_generic/Makefile.am
+++ b/libraries/evas/src/modules/engines/software_generic/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@FREETYPE_CFLAGS@ \ 10@FREETYPE_CFLAGS@ \
11@PIXMAN_CFLAGS@ 11@PIXMAN_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15SOFTWARE_GENERIC_SOURCES = evas_engine.c 13SOFTWARE_GENERIC_SOURCES = evas_engine.c
16 14
17 15
@@ -22,7 +20,7 @@ pkg_LTLIBRARIES = module.la
22 20
23module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES) 21module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES)
24 22
25module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la 23module_la_LIBADD = @EINA_LIBS@ @dlopen_libs@ $(top_builddir)/src/lib/libevas.la
26module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 24module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
27module_la_LIBTOOLFLAGS = --tag=disable-static 25module_la_LIBTOOLFLAGS = --tag=disable-static
28 26
diff --git a/libraries/evas/src/modules/engines/software_generic/Makefile.in b/libraries/evas/src/modules/engines/software_generic/Makefile.in
index 4f66536..fe0ac3d 100644
--- a/libraries/evas/src/modules/engines/software_generic/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_generic/Makefile.in
@@ -186,6 +186,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
186EVIL_CFLAGS = @EVIL_CFLAGS@ 186EVIL_CFLAGS = @EVIL_CFLAGS@
187EVIL_LIBS = @EVIL_LIBS@ 187EVIL_LIBS = @EVIL_LIBS@
188EXEEXT = @EXEEXT@ 188EXEEXT = @EXEEXT@
189EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
190EXOTIC_LIBS = @EXOTIC_LIBS@
189FGREP = @FGREP@ 191FGREP = @FGREP@
190FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 192FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
191FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 193FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -236,6 +238,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
236PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 238PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
237PIXMAN_LIBS = @PIXMAN_LIBS@ 239PIXMAN_LIBS = @PIXMAN_LIBS@
238PKG_CONFIG = @PKG_CONFIG@ 240PKG_CONFIG = @PKG_CONFIG@
241PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
242PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
239PNG_CFLAGS = @PNG_CFLAGS@ 243PNG_CFLAGS = @PNG_CFLAGS@
240PNG_LIBS = @PNG_LIBS@ 244PNG_LIBS = @PNG_LIBS@
241RANLIB = @RANLIB@ 245RANLIB = @RANLIB@
@@ -254,8 +258,6 @@ VERSION = @VERSION@
254VMAJ = @VMAJ@ 258VMAJ = @VMAJ@
255WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 259WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
256WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 260WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
257WIN32_CFLAGS = @WIN32_CFLAGS@
258WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
259XCB_CFLAGS = @XCB_CFLAGS@ 261XCB_CFLAGS = @XCB_CFLAGS@
260XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 262XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
261XCB_GL_LIBS = @XCB_GL_LIBS@ 263XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -329,8 +331,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
329evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 331evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
330evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 332evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
331evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 333evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
332evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
333evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
334evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 334evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
335evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 335evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
336evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 336evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -423,12 +423,11 @@ AM_CPPFLAGS = \
423@FREETYPE_CFLAGS@ \ 423@FREETYPE_CFLAGS@ \
424@PIXMAN_CFLAGS@ 424@PIXMAN_CFLAGS@
425 425
426AM_CFLAGS = @WIN32_CFLAGS@
427SOFTWARE_GENERIC_SOURCES = evas_engine.c 426SOFTWARE_GENERIC_SOURCES = evas_engine.c
428@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_generic/$(MODULE_ARCH) 427@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/engines/software_generic/$(MODULE_ARCH)
429@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkg_LTLIBRARIES = module.la 428@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@pkg_LTLIBRARIES = module.la
430@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES) 429@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_SOURCES = $(SOFTWARE_GENERIC_SOURCES)
431@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBADD = @EINA_LIBS@ $(top_builddir)/src/lib/libevas.la 430@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBADD = @EINA_LIBS@ @dlopen_libs@ $(top_builddir)/src/lib/libevas.la
432@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 431@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
433@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static 432@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static
434@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE@noinst_LTLIBRARIES = libevas_engine_software_generic.la 433@EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE@noinst_LTLIBRARIES = libevas_engine_software_generic.la
diff --git a/libraries/evas/src/modules/engines/software_generic/evas_engine.c b/libraries/evas/src/modules/engines/software_generic/evas_engine.c
index 48944dd..4667f6b 100644
--- a/libraries/evas/src/modules/engines/software_generic/evas_engine.c
+++ b/libraries/evas/src/modules/engines/software_generic/evas_engine.c
@@ -591,11 +591,8 @@ eng_image_border_set(void *data __UNUSED__, void *image, int l __UNUSED__, int r
591} 591}
592 592
593static void 593static void
594eng_image_border_get(void *data __UNUSED__, void *image, int *l __UNUSED__, int *r __UNUSED__, int *t __UNUSED__, int *b __UNUSED__) 594eng_image_border_get(void *data __UNUSED__, void *image __UNUSED__, int *l __UNUSED__, int *r __UNUSED__, int *t __UNUSED__, int *b __UNUSED__)
595{ 595{
596 RGBA_Image *im;
597
598 im = image;
599} 596}
600 597
601static char * 598static char *
@@ -704,18 +701,16 @@ eng_image_size_get(void *data __UNUSED__, void *image, int *w, int *h)
704static void * 701static void *
705eng_image_size_set(void *data __UNUSED__, void *image, int w, int h) 702eng_image_size_set(void *data __UNUSED__, void *image, int w, int h)
706{ 703{
707 Image_Entry *im; 704 Image_Entry *im = image;
708 705 if (!im) return NULL;
709 im = image; 706 return evas_cache_image_size_set(im, w, h);
710 return evas_cache_image_size_set(image, w, h);
711} 707}
712 708
713static void * 709static void *
714eng_image_dirty_region(void *data __UNUSED__, void *image, int x, int y, int w, int h) 710eng_image_dirty_region(void *data __UNUSED__, void *image, int x, int y, int w, int h)
715{ 711{
716 Image_Entry *im = image; 712 Image_Entry *im = image;
717 713 if (!im) return NULL;
718 if (!image) return NULL;
719 return evas_cache_image_dirty(im, x, y, w, h); 714 return evas_cache_image_dirty(im, x, y, w, h);
720} 715}
721 716
@@ -931,11 +926,10 @@ static void *
931eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha) 926eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha)
932{ 927{
933 void *surface; 928 void *surface;
934 DATA32 *pixels;
935 surface = evas_cache_image_copied_data(evas_common_image_cache_get(), 929 surface = evas_cache_image_copied_data(evas_common_image_cache_get(),
936 w, h, NULL, alpha, 930 w, h, NULL, alpha,
937 EVAS_COLORSPACE_ARGB8888); 931 EVAS_COLORSPACE_ARGB8888);
938 pixels = evas_cache_image_pixels(surface); 932 evas_cache_image_pixels(surface);
939 return surface; 933 return surface;
940} 934}
941 935
@@ -1784,6 +1778,7 @@ static Evas_Func func =
1784 NULL, // need software mesa for gl rendering <- gl_proc_address_get 1778 NULL, // need software mesa for gl rendering <- gl_proc_address_get
1785 NULL, // need software mesa for gl rendering <- gl_native_surface_get 1779 NULL, // need software mesa for gl rendering <- gl_native_surface_get
1786 NULL, // need software mesa for gl rendering <- gl_api_get 1780 NULL, // need software mesa for gl rendering <- gl_api_get
1781 NULL, // need software mesa for gl rendering <- gl_img_obj_set
1787 eng_image_load_error_get, 1782 eng_image_load_error_get,
1788 eng_font_run_font_end_get, 1783 eng_font_run_font_end_get,
1789 eng_image_animated_get, 1784 eng_image_animated_get,
@@ -2519,7 +2514,7 @@ evgl_glShaderSource(GLuint shader, GLsizei count, const char** string, const GLi
2519 2514
2520 2515
2521static void 2516static void
2522evgl_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) 2517evgl_glGetShaderPrecisionFormat(GLenum shadertype __UNUSED__, GLenum precisiontype __UNUSED__, GLint* range, GLint* precision)
2523{ 2518{
2524 if (range) 2519 if (range)
2525 { 2520 {
@@ -2531,7 +2526,6 @@ evgl_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint*
2531 precision[0] = 24; // floor(-log2((1.0/16777218.0))); 2526 precision[0] = 24; // floor(-log2((1.0/16777218.0)));
2532 } 2527 }
2533 return; 2528 return;
2534 shadertype = precisiontype = 0;
2535} 2529}
2536 2530
2537static void 2531static void
@@ -2567,6 +2561,8 @@ override_gl_apis(Evas_GL_API *api)
2567 ORD(glAttachShader); 2561 ORD(glAttachShader);
2568 ORD(glBindAttribLocation); 2562 ORD(glBindAttribLocation);
2569 ORD(glBindBuffer); 2563 ORD(glBindBuffer);
2564 ORD(glBindFramebuffer);
2565 ORD(glBindRenderbuffer);
2570 ORD(glBindTexture); 2566 ORD(glBindTexture);
2571 ORD(glBlendColor); 2567 ORD(glBlendColor);
2572 ORD(glBlendEquation); 2568 ORD(glBlendEquation);
diff --git a/libraries/evas/src/modules/engines/software_x11/Makefile.in b/libraries/evas/src/modules/engines/software_x11/Makefile.in
index 5fd2971..caab918 100644
--- a/libraries/evas/src/modules/engines/software_x11/Makefile.in
+++ b/libraries/evas/src/modules/engines/software_x11/Makefile.in
@@ -232,6 +232,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
232EVIL_CFLAGS = @EVIL_CFLAGS@ 232EVIL_CFLAGS = @EVIL_CFLAGS@
233EVIL_LIBS = @EVIL_LIBS@ 233EVIL_LIBS = @EVIL_LIBS@
234EXEEXT = @EXEEXT@ 234EXEEXT = @EXEEXT@
235EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
236EXOTIC_LIBS = @EXOTIC_LIBS@
235FGREP = @FGREP@ 237FGREP = @FGREP@
236FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 238FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
237FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 239FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -282,6 +284,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
282PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 284PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
283PIXMAN_LIBS = @PIXMAN_LIBS@ 285PIXMAN_LIBS = @PIXMAN_LIBS@
284PKG_CONFIG = @PKG_CONFIG@ 286PKG_CONFIG = @PKG_CONFIG@
287PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
288PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
285PNG_CFLAGS = @PNG_CFLAGS@ 289PNG_CFLAGS = @PNG_CFLAGS@
286PNG_LIBS = @PNG_LIBS@ 290PNG_LIBS = @PNG_LIBS@
287RANLIB = @RANLIB@ 291RANLIB = @RANLIB@
@@ -300,8 +304,6 @@ VERSION = @VERSION@
300VMAJ = @VMAJ@ 304VMAJ = @VMAJ@
301WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 305WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
302WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 306WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
303WIN32_CFLAGS = @WIN32_CFLAGS@
304WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
305XCB_CFLAGS = @XCB_CFLAGS@ 307XCB_CFLAGS = @XCB_CFLAGS@
306XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 308XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
307XCB_GL_LIBS = @XCB_GL_LIBS@ 309XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -375,8 +377,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
375evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 377evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
376evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 378evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
377evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 379evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
378evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
379evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
380evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 380evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
381evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 381evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
382evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 382evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/engines/wayland_egl/Makefile.am b/libraries/evas/src/modules/engines/wayland_egl/Makefile.am
index 100614f..9234b33 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/Makefile.am
+++ b/libraries/evas/src/modules/engines/wayland_egl/Makefile.am
@@ -18,7 +18,7 @@ WAYLAND_EGL_SOURCES = \
18evas_engine.c \ 18evas_engine.c \
19evas_wl_main.c 19evas_wl_main.c
20 20
21WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la 21WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ @dlopen_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la
22 22
23includes_HEADERS = Evas_Engine_Wayland_Egl.h 23includes_HEADERS = Evas_Engine_Wayland_Egl.h
24includesdir = $(includedir)/evas-@VMAJ@ 24includesdir = $(includedir)/evas-@VMAJ@
diff --git a/libraries/evas/src/modules/engines/wayland_egl/Makefile.in b/libraries/evas/src/modules/engines/wayland_egl/Makefile.in
index 0df0c63..90aa36b 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/Makefile.in
+++ b/libraries/evas/src/modules/engines/wayland_egl/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -437,7 +437,7 @@ AM_CPPFLAGS = \
437@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_engine.c \ 437@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_engine.c \
438@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_wl_main.c 438@BUILD_ENGINE_WAYLAND_EGL_TRUE@evas_wl_main.c
439 439
440@BUILD_ENGINE_WAYLAND_EGL_TRUE@WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la 440@BUILD_ENGINE_WAYLAND_EGL_TRUE@WAYLAND_EGL_LIBADD = @FREETYPE_LIBS@ @GL_EET_LIBS@ @EINA_LIBS@ @evas_engine_wayland_egl_libs@ @dlopen_libs@ $(top_builddir)/src/modules/engines/gl_common/libevas_engine_gl_common.la
441@BUILD_ENGINE_WAYLAND_EGL_TRUE@includes_HEADERS = Evas_Engine_Wayland_Egl.h 441@BUILD_ENGINE_WAYLAND_EGL_TRUE@includes_HEADERS = Evas_Engine_Wayland_Egl.h
442@BUILD_ENGINE_WAYLAND_EGL_TRUE@includesdir = $(includedir)/evas-@VMAJ@ 442@BUILD_ENGINE_WAYLAND_EGL_TRUE@includesdir = $(includedir)/evas-@VMAJ@
443@BUILD_ENGINE_WAYLAND_EGL_TRUE@@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_egl/$(MODULE_ARCH) 443@BUILD_ENGINE_WAYLAND_EGL_TRUE@@EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_egl/$(MODULE_ARCH)
diff --git a/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c b/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c
index d2a6a0d..4f5102e 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c
+++ b/libraries/evas/src/modules/engines/wayland_egl/evas_engine.c
@@ -25,7 +25,6 @@ struct _Render_Engine
25 int end; 25 int end;
26 int w, h; 26 int w, h;
27 int vsync; 27 int vsync;
28
29}; 28};
30 29
31struct _Render_Engine_GL_Surface 30struct _Render_Engine_GL_Surface
@@ -1320,76 +1319,6 @@ struct _Native
1320// 1319//
1321//#define GLX_TEX_PIXMAP_RECREATE 1 1320//#define GLX_TEX_PIXMAP_RECREATE 1
1322 1321
1323static void
1324_native_bind_cb(void *data, void *image)
1325{
1326 Evas_GL_Image *im = image;
1327 Native *n = im->native.data;
1328
1329 if (n->egl_surface)
1330 {
1331 if (glsym_glEGLImageTargetTexture2DOES)
1332 {
1333 glsym_glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, n->egl_surface);
1334 if (eglGetError() != EGL_SUCCESS)
1335 ERR("glEGLImageTargetTexture2DOES() failed.");
1336 }
1337 else
1338 ERR("Try glEGLImageTargetTexture2DOES on EGL with no support");
1339 }
1340 return;
1341 data = NULL;
1342}
1343
1344static void
1345_native_unbind_cb(void *data, void *image)
1346{
1347 Evas_GL_Image *im = image;
1348 /* Native *n = im->native.data; */
1349
1350 /* if (n->ns.type == EVAS_NATIVE_SURFACE_X11) */
1351 /* { */
1352 /* // nothing */
1353 /* } */
1354 /* else if (n->ns.type == EVAS_NATIVE_SURFACE_OPENGL) */
1355 /* { */
1356 /* glBindTexture(GL_TEXTURE_2D, 0); */
1357 /* GLERR(__FUNCTION__, __FILE__, __LINE__, ""); */
1358 /* } */
1359 return;
1360 data = NULL;
1361}
1362
1363static void
1364_native_free_cb(void *data, void *image)
1365{
1366 Render_Engine *re = data;
1367 Evas_GL_Image *im = image;
1368 Native *n = im->native.data;
1369 uint32_t texid;
1370// uint32_t pmid, texid;
1371
1372 /* eina_hash_del(re->win->gl_context->shared->native_pm_hash, &pmid, im); */
1373 if (n->egl_surface)
1374 {
1375 if (glsym_eglDestroyImage)
1376 {
1377 glsym_eglDestroyImage(re->win->egl_disp, n->egl_surface);
1378 if (eglGetError() != EGL_SUCCESS)
1379 ERR("eglDestroyImage() failed.");
1380 }
1381 else
1382 ERR("Try eglDestroyImage on EGL with no support");
1383 }
1384
1385 im->native.data = NULL;
1386 im->native.func.data = NULL;
1387 im->native.func.bind = NULL;
1388 im->native.func.unbind = NULL;
1389 im->native.func.free = NULL;
1390 free(n);
1391}
1392
1393static void * 1322static void *
1394eng_image_native_set(void *data, void *image, void *native) 1323eng_image_native_set(void *data, void *image, void *native)
1395{ 1324{
@@ -1397,10 +1326,6 @@ eng_image_native_set(void *data, void *image, void *native)
1397 Evas_Native_Surface *ns = native; 1326 Evas_Native_Surface *ns = native;
1398 Evas_GL_Image *im = image, *im2 = NULL; 1327 Evas_GL_Image *im = image, *im2 = NULL;
1399 Native *n = NULL; 1328 Native *n = NULL;
1400// uint32_t pmid;
1401// uint32_t texid;
1402 unsigned int tex = 0;
1403 unsigned int fbo = 0;
1404 1329
1405 if (!im) 1330 if (!im)
1406 { 1331 {
@@ -1418,15 +1343,7 @@ eng_image_native_set(void *data, void *image, void *native)
1418 1343
1419 if (ns) 1344 if (ns)
1420 { 1345 {
1421 /* vis = ns->data.x11.visual; */ 1346 if (im->native.data) return im;
1422 /* pm = ns->data.x11.pixmap; */
1423 if (im->native.data)
1424 {
1425 Evas_Native_Surface *ens = im->native.data;
1426 /* if ((ens->data.x11.visual == vis) && */
1427 /* (ens->data.x11.pixmap == pm)) */
1428 return im;
1429 }
1430 } 1347 }
1431 if ((!ns) && (!im->native.data)) return im; 1348 if ((!ns) && (!im->native.data)) return im;
1432 1349
@@ -1441,94 +1358,35 @@ eng_image_native_set(void *data, void *image, void *native)
1441 1358
1442 if (!ns) return im; 1359 if (!ns) return im;
1443 1360
1444 /* if (ns->type == EVAS_NATIVE_SURFACE_X11) */ 1361 if (im2 == im) return im;
1445 /* { */ 1362 if (im2)
1446 /* pmid = pm; */ 1363 {
1447 /* im2 = eina_hash_find(re->win->gl_context->shared->native_pm_hash, &pmid); */ 1364 n = im2->native.data;
1448 if (im2 == im) return im; 1365 if (n)
1449 if (im2) 1366 {
1450 { 1367 evas_gl_common_image_ref(im2);
1451 n = im2->native.data; 1368 evas_gl_common_image_free(im);
1452 if (n) 1369 return im2;
1453 { 1370 }
1454 evas_gl_common_image_ref(im2); 1371 }
1455 evas_gl_common_image_free(im);
1456 return im2;
1457 }
1458 }
1459 1372
1460 im2 = evas_gl_common_image_new_from_data(re->win->gl_context, 1373 im2 = evas_gl_common_image_new_from_data(re->win->gl_context,
1461 im->w, im->h, NULL, im->alpha, 1374 im->w, im->h, NULL, im->alpha,
1462 EVAS_COLORSPACE_ARGB8888); 1375 EVAS_COLORSPACE_ARGB8888);
1463 evas_gl_common_image_free(im); 1376 evas_gl_common_image_free(im);
1464 im = im2; 1377 im = im2;
1465 /* if (native) */ 1378
1466 /* { */
1467 /* n = calloc(1, sizeof(Native)); */
1468 /* if (n) */
1469 /* { */
1470 /* EGLConfig egl_config; */
1471 /* int config_attrs[20]; */
1472 /* int num_config, i = 0; */
1473
1474 /* eina_hash_add(re->win->gl_context->shared->native_pm_hash, &pmid, im); */
1475
1476 /* config_attrs[i++] = EGL_RED_SIZE; */
1477 /* config_attrs[i++] = 8; */
1478 /* config_attrs[i++] = EGL_GREEN_SIZE; */
1479 /* config_attrs[i++] = 8; */
1480 /* config_attrs[i++] = EGL_BLUE_SIZE; */
1481 /* config_attrs[i++] = 8; */
1482 /* config_attrs[i++] = EGL_ALPHA_SIZE; */
1483 /* config_attrs[i++] = 8; */
1484 /* config_attrs[i++] = EGL_DEPTH_SIZE; */
1485 /* config_attrs[i++] = 0; */
1486 /* config_attrs[i++] = EGL_STENCIL_SIZE; */
1487 /* config_attrs[i++] = 0; */
1488 /* config_attrs[i++] = EGL_RENDERABLE_TYPE; */
1489 /* config_attrs[i++] = EGL_OPENGL_ES2_BIT; */
1490 /* config_attrs[i++] = EGL_SURFACE_TYPE; */
1491 /* config_attrs[i++] = EGL_PIXMAP_BIT; */
1492 /* config_attrs[i++] = EGL_NONE; */
1493
1494 /* if (!eglChooseConfig(re->win->egl_disp, config_attrs, */
1495 /* &egl_config, 1, &num_config)) */
1496 /* ERR("eglChooseConfig() failed for, num_config = %i", num_config); */
1497 /* memcpy(&(n->ns), ns, sizeof(Evas_Native_Surface)); */
1498 /* n->pixmap = pm; */
1499 /* if (glsym_eglCreateImage) */
1500 /* n->egl_surface = glsym_eglCreateImage(re->win->egl_disp, */
1501 /* EGL_NO_CONTEXT, */
1502 /* EGL_NATIVE_PIXMAP_KHR, */
1503 /* (void *)pm, */
1504 /* NULL); */
1505 /* else */
1506 /* ERR("Try eglCreateImage on EGL with no support"); */
1507 /* if (!n->egl_surface) */
1508 /* ERR("eglCreatePixmapSurface() for 0x%x failed", (unsigned int)pm); */
1509 /* im->native.yinvert = 1; */
1510 /* im->native.loose = 0; */
1511 /* im->native.data = n; */
1512 /* im->native.func.data = re; */
1513 /* im->native.func.bind = _native_bind_cb; */
1514 /* im->native.func.unbind = _native_unbind_cb; */
1515 /* im->native.func.free = _native_free_cb; */
1516 /* im->native.target = GL_TEXTURE_2D; */
1517 /* im->native.mipmap = 0; */
1518 /* evas_gl_common_image_native_enable(im); */
1519 /* } */
1520 /* } */
1521 return im; 1379 return im;
1522} 1380}
1523 1381
1524static void * 1382static void *
1525eng_image_native_get(void *data __UNUSED__, void *image) 1383eng_image_native_get(void *data __UNUSED__, void *image)
1526{ 1384{
1527 Evas_GL_Image *im = image; 1385 Evas_GL_Image *im;
1528 Native *n; 1386 Native *n;
1529 if (!im) return NULL; 1387
1530 n = im->native.data; 1388 if (!(im = image)) return NULL;
1531 if (!n) return NULL; 1389 if (!(n = im->native.data)) return NULL;
1532 return &(n->ns); 1390 return &(n->ns);
1533} 1391}
1534 1392
diff --git a/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c b/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c
index 537fcc6..60a2371 100644
--- a/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c
+++ b/libraries/evas/src/modules/engines/wayland_egl/evas_wl_main.c
@@ -217,7 +217,9 @@ eng_window_free(Evas_GL_Wl_Window *gw)
217 { 217 {
218 if (context) eglDestroyContext(gw->egl_disp, context); 218 if (context) eglDestroyContext(gw->egl_disp, context);
219 context = EGL_NO_CONTEXT; 219 context = EGL_NO_CONTEXT;
220 eglTerminate(gw->egl_disp); 220 /* NB: This is causing an unknown hang when we run elm apps as
221 * wayland clients inside the weston compositor */
222 /* eglTerminate(gw->egl_disp); */
221 eglReleaseThread(); 223 eglReleaseThread();
222 } 224 }
223 free(gw); 225 free(gw);
diff --git a/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h b/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
index b34b2c1..2b5c2c7 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
+++ b/libraries/evas/src/modules/engines/wayland_shm/Evas_Engine_Wayland_Shm.h
@@ -11,7 +11,8 @@ struct _Evas_Engine_Info_Wayland_Shm
11 void *dest; 11 void *dest;
12 int rotation; 12 int rotation;
13 13
14 unsigned char debug : 1; 14 Eina_Bool destination_alpha : 1;
15 Eina_Bool debug : 1;
15 } info; 16 } info;
16 17
17 Evas_Engine_Render_Mode render_mode; 18 Evas_Engine_Render_Mode render_mode;
diff --git a/libraries/evas/src/modules/engines/wayland_shm/Makefile.am b/libraries/evas/src/modules/engines/wayland_shm/Makefile.am
index 455b82c..2a5901f 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/Makefile.am
+++ b/libraries/evas/src/modules/engines/wayland_shm/Makefile.am
@@ -7,6 +7,7 @@ AM_CPPFLAGS = \
7-I$(top_srcdir)/src/lib/include \ 7-I$(top_srcdir)/src/lib/include \
8-I$(top_srcdir)/src/modules/engines \ 8-I$(top_srcdir)/src/modules/engines \
9@FREETYPE_CFLAGS@ \ 9@FREETYPE_CFLAGS@ \
10@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 11@EINA_CFLAGS@ \
11@evas_engine_wayland_shm_cflags@ 12@evas_engine_wayland_shm_cflags@
12 13
@@ -16,7 +17,7 @@ WAYLAND_SHM_SOURCES = \
16evas_engine.c \ 17evas_engine.c \
17evas_outbuf.c 18evas_outbuf.c
18 19
19WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@ 20WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@
20 21
21includes_HEADERS = Evas_Engine_Wayland_Shm.h 22includes_HEADERS = Evas_Engine_Wayland_Shm.h
22includesdir = $(includedir)/evas-@VMAJ@ 23includesdir = $(includedir)/evas-@VMAJ@
diff --git a/libraries/evas/src/modules/engines/wayland_shm/Makefile.in b/libraries/evas/src/modules/engines/wayland_shm/Makefile.in
index 4d69209..e70210b 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/Makefile.in
+++ b/libraries/evas/src/modules/engines/wayland_shm/Makefile.in
@@ -194,6 +194,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
194EVIL_CFLAGS = @EVIL_CFLAGS@ 194EVIL_CFLAGS = @EVIL_CFLAGS@
195EVIL_LIBS = @EVIL_LIBS@ 195EVIL_LIBS = @EVIL_LIBS@
196EXEEXT = @EXEEXT@ 196EXEEXT = @EXEEXT@
197EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
198EXOTIC_LIBS = @EXOTIC_LIBS@
197FGREP = @FGREP@ 199FGREP = @FGREP@
198FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 200FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
199FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 201FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -244,6 +246,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
244PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 246PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
245PIXMAN_LIBS = @PIXMAN_LIBS@ 247PIXMAN_LIBS = @PIXMAN_LIBS@
246PKG_CONFIG = @PKG_CONFIG@ 248PKG_CONFIG = @PKG_CONFIG@
249PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
250PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247PNG_CFLAGS = @PNG_CFLAGS@ 251PNG_CFLAGS = @PNG_CFLAGS@
248PNG_LIBS = @PNG_LIBS@ 252PNG_LIBS = @PNG_LIBS@
249RANLIB = @RANLIB@ 253RANLIB = @RANLIB@
@@ -262,8 +266,6 @@ VERSION = @VERSION@
262VMAJ = @VMAJ@ 266VMAJ = @VMAJ@
263WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 267WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
264WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 268WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
265WIN32_CFLAGS = @WIN32_CFLAGS@
266WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
267XCB_CFLAGS = @XCB_CFLAGS@ 269XCB_CFLAGS = @XCB_CFLAGS@
268XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 270XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
269XCB_GL_LIBS = @XCB_GL_LIBS@ 271XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -337,8 +339,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
337evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 339evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
338evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 340evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
339evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 341evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
340evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
341evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 342evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 343evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 344evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -428,6 +428,7 @@ AM_CPPFLAGS = \
428-I$(top_srcdir)/src/lib/include \ 428-I$(top_srcdir)/src/lib/include \
429-I$(top_srcdir)/src/modules/engines \ 429-I$(top_srcdir)/src/modules/engines \
430@FREETYPE_CFLAGS@ \ 430@FREETYPE_CFLAGS@ \
431@PIXMAN_CFLAGS@ \
431@EINA_CFLAGS@ \ 432@EINA_CFLAGS@ \
432@evas_engine_wayland_shm_cflags@ 433@evas_engine_wayland_shm_cflags@
433 434
@@ -435,7 +436,7 @@ AM_CPPFLAGS = \
435@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_engine.c \ 436@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_engine.c \
436@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_outbuf.c 437@BUILD_ENGINE_WAYLAND_SHM_TRUE@evas_outbuf.c
437 438
438@BUILD_ENGINE_WAYLAND_SHM_TRUE@WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@ 439@BUILD_ENGINE_WAYLAND_SHM_TRUE@WAYLAND_SHM_LIBADD = @FREETYPE_LIBS@ @PIXMAN_LIBS@ @EINA_LIBS@ @evas_engine_wayland_shm_libs@
439@BUILD_ENGINE_WAYLAND_SHM_TRUE@includes_HEADERS = Evas_Engine_Wayland_Shm.h 440@BUILD_ENGINE_WAYLAND_SHM_TRUE@includes_HEADERS = Evas_Engine_Wayland_Shm.h
440@BUILD_ENGINE_WAYLAND_SHM_TRUE@includesdir = $(includedir)/evas-@VMAJ@ 441@BUILD_ENGINE_WAYLAND_SHM_TRUE@includesdir = $(includedir)/evas-@VMAJ@
441@BUILD_ENGINE_WAYLAND_SHM_TRUE@@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_shm/$(MODULE_ARCH) 442@BUILD_ENGINE_WAYLAND_SHM_TRUE@@EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE@pkgdir = $(libdir)/evas/modules/engines/wayland_shm/$(MODULE_ARCH)
diff --git a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c
index 7c55517..17b17bf 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c
+++ b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.c
@@ -28,7 +28,7 @@ static Evas_Func func, pfunc;
28int _evas_engine_way_shm_log_dom = -1; 28int _evas_engine_way_shm_log_dom = -1;
29 29
30/* local function prototypes */ 30/* local function prototypes */
31static void *_output_setup(int w, int h, int rotation, void *dest); 31static void *_output_setup(int w, int h, int rotation, Eina_Bool alpha, void *dest);
32 32
33/* engine function prototypes */ 33/* engine function prototypes */
34static void *eng_info(Evas *evas __UNUSED__); 34static void *eng_info(Evas *evas __UNUSED__);
@@ -48,7 +48,7 @@ static Eina_Bool eng_canvas_alpha_get(void *data, void *context __UNUSED__);
48 48
49/* local functions */ 49/* local functions */
50static void * 50static void *
51_output_setup(int w, int h, int rotation, void *dest) 51_output_setup(int w, int h, int rotation, Eina_Bool alpha, void *dest)
52{ 52{
53 Render_Engine *re = NULL; 53 Render_Engine *re = NULL;
54 54
@@ -56,7 +56,7 @@ _output_setup(int w, int h, int rotation, void *dest)
56 56
57 if (!(re = calloc(1, sizeof(Render_Engine)))) return NULL; 57 if (!(re = calloc(1, sizeof(Render_Engine)))) return NULL;
58 58
59 if (!(re->ob = evas_outbuf_setup(w, h, rotation, dest))) 59 if (!(re->ob = evas_outbuf_setup(w, h, rotation, alpha, dest)))
60 { 60 {
61 free(re); 61 free(re);
62 return NULL; 62 return NULL;
@@ -127,7 +127,8 @@ eng_setup(Evas *evas, void *info)
127 evas_common_tilebuf_init(); 127 evas_common_tilebuf_init();
128 128
129 re = _output_setup(evas->output.w, evas->output.h, 129 re = _output_setup(evas->output.w, evas->output.h,
130 in->info.rotation, in->info.dest); 130 in->info.rotation, in->info.destination_alpha,
131 in->info.dest);
131 if (!re) return 0; 132 if (!re) return 0;
132 133
133 re->outbuf_free = evas_outbuf_free; 134 re->outbuf_free = evas_outbuf_free;
@@ -141,7 +142,8 @@ eng_setup(Evas *evas, void *info)
141 if (!(re = evas->engine.data.output)) return 0; 142 if (!(re = evas->engine.data.output)) return 0;
142 if (re->ob) re->outbuf_free(re->ob); 143 if (re->ob) re->outbuf_free(re->ob);
143 re->ob = evas_outbuf_setup(evas->output.w, evas->output.h, 144 re->ob = evas_outbuf_setup(evas->output.w, evas->output.h,
144 in->info.rotation, in->info.dest); 145 in->info.rotation,
146 in->info.destination_alpha, in->info.dest);
145 if (re->tb) evas_common_tilebuf_free(re->tb); 147 if (re->tb) evas_common_tilebuf_free(re->tb);
146 if ((re->tb = evas_common_tilebuf_new(evas->output.w, evas->output.h))) 148 if ((re->tb = evas_common_tilebuf_new(evas->output.w, evas->output.h)))
147 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE); 149 evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
diff --git a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h
index 878851a..1869d16 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h
+++ b/libraries/evas/src/modules/engines/wayland_shm/evas_engine.h
@@ -47,12 +47,13 @@ struct _Outbuf
47 { 47 {
48 void *dest; 48 void *dest;
49 RGBA_Image *buffer; 49 RGBA_Image *buffer;
50 Eina_Bool destination_alpha : 1;
50 } priv; 51 } priv;
51}; 52};
52 53
53void evas_outbuf_free(Outbuf *ob); 54void evas_outbuf_free(Outbuf *ob);
54void evas_outbuf_resize(Outbuf *ob, int w, int h); 55void evas_outbuf_resize(Outbuf *ob, int w, int h);
55Outbuf *evas_outbuf_setup(int w, int h, int rot, void *dest); 56Outbuf *evas_outbuf_setup(int w, int h, int rot, Eina_Bool alpha, void *dest);
56RGBA_Image *evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 57RGBA_Image *evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
57void evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x __UNUSED__, int y, int w, int h); 58void evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x __UNUSED__, int y, int w, int h);
58void evas_outbuf_free_region_for_update(Outbuf *ob, RGBA_Image *update); 59void evas_outbuf_free_region_for_update(Outbuf *ob, RGBA_Image *update);
diff --git a/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c b/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c
index 490a978..4dee9a2 100644
--- a/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c
+++ b/libraries/evas/src/modules/engines/wayland_shm/evas_outbuf.c
@@ -21,7 +21,7 @@ evas_outbuf_resize(Outbuf *ob, int w, int h)
21} 21}
22 22
23Outbuf * 23Outbuf *
24evas_outbuf_setup(int w, int h, int rot, void *dest) 24evas_outbuf_setup(int w, int h, int rot, Eina_Bool alpha, void *dest)
25{ 25{
26 Outbuf *ob = NULL; 26 Outbuf *ob = NULL;
27 27
@@ -31,6 +31,7 @@ evas_outbuf_setup(int w, int h, int rot, void *dest)
31 ob->h = h; 31 ob->h = h;
32 ob->rotation = rot; 32 ob->rotation = rot;
33 ob->priv.dest = dest; 33 ob->priv.dest = dest;
34 ob->priv.destination_alpha = alpha;
34 35
35 ob->priv.buffer = 36 ob->priv.buffer =
36 (RGBA_Image *)evas_cache_image_data(evas_common_image_cache_get(), 37 (RGBA_Image *)evas_cache_image_data(evas_common_image_cache_get(),
@@ -56,7 +57,7 @@ evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *c
56 im = (RGBA_Image *)evas_cache_image_empty(evas_common_image_cache_get()); 57 im = (RGBA_Image *)evas_cache_image_empty(evas_common_image_cache_get());
57 if (im) 58 if (im)
58 { 59 {
59 im->cache_entry.flags.alpha = 1; 60 im->cache_entry.flags.alpha = ob->priv.destination_alpha;
60 im = (RGBA_Image *)evas_cache_image_size_set(&im->cache_entry, w, h); 61 im = (RGBA_Image *)evas_cache_image_size_set(&im->cache_entry, w, h);
61 } 62 }
62 63
diff --git a/libraries/evas/src/modules/loaders/Makefile.in b/libraries/evas/src/modules/loaders/Makefile.in
index 454dcd8..f37032a 100644
--- a/libraries/evas/src/modules/loaders/Makefile.in
+++ b/libraries/evas/src/modules/loaders/Makefile.in
@@ -49,7 +49,7 @@ host_triplet = @host@
49@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@am__append_14 = wbmp 49@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@am__append_14 = wbmp
50@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@am__append_15 = xpm 50@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@am__append_15 = xpm
51subdir = src/modules/loaders 51subdir = src/modules/loaders
52DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 52DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO
53ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 53ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
54am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \ 54am__aclocal_m4_deps = $(top_srcdir)/m4/efl_attribute.m4 \
55 $(top_srcdir)/m4/efl_coverage.m4 \ 55 $(top_srcdir)/m4/efl_coverage.m4 \
@@ -172,6 +172,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
172EVIL_CFLAGS = @EVIL_CFLAGS@ 172EVIL_CFLAGS = @EVIL_CFLAGS@
173EVIL_LIBS = @EVIL_LIBS@ 173EVIL_LIBS = @EVIL_LIBS@
174EXEEXT = @EXEEXT@ 174EXEEXT = @EXEEXT@
175EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
176EXOTIC_LIBS = @EXOTIC_LIBS@
175FGREP = @FGREP@ 177FGREP = @FGREP@
176FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 178FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
177FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 179FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -222,6 +224,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
222PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 224PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
223PIXMAN_LIBS = @PIXMAN_LIBS@ 225PIXMAN_LIBS = @PIXMAN_LIBS@
224PKG_CONFIG = @PKG_CONFIG@ 226PKG_CONFIG = @PKG_CONFIG@
227PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
228PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
225PNG_CFLAGS = @PNG_CFLAGS@ 229PNG_CFLAGS = @PNG_CFLAGS@
226PNG_LIBS = @PNG_LIBS@ 230PNG_LIBS = @PNG_LIBS@
227RANLIB = @RANLIB@ 231RANLIB = @RANLIB@
@@ -240,8 +244,6 @@ VERSION = @VERSION@
240VMAJ = @VMAJ@ 244VMAJ = @VMAJ@
241WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 245WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
242WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 246WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
243WIN32_CFLAGS = @WIN32_CFLAGS@
244WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
245XCB_CFLAGS = @XCB_CFLAGS@ 247XCB_CFLAGS = @XCB_CFLAGS@
246XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 248XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
247XCB_GL_LIBS = @XCB_GL_LIBS@ 249XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -315,8 +317,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
315evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 317evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
316evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 318evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
317evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 319evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
318evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
319evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
320evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 320evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
321evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 321evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
322evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 322evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/loaders/bmp/Makefile.am b/libraries/evas/src/modules/loaders/bmp/Makefile.am
index 857f3b9..0a04790 100644
--- a/libraries/evas/src/modules/loaders/bmp/Makefile.am
+++ b/libraries/evas/src/modules/loaders/bmp/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_BMP 13if BUILD_LOADER_BMP
15if !EVAS_STATIC_BUILD_BMP 14if !EVAS_STATIC_BUILD_BMP
@@ -19,7 +18,7 @@ pkg_LTLIBRARIES = module.la
19 18
20module_la_SOURCES = evas_image_load_bmp.c 19module_la_SOURCES = evas_image_load_bmp.c
21 20
22module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ $(top_builddir)/src/lib/libevas.la 21module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ -lm $(top_builddir)/src/lib/libevas.la
23module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 22module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
24module_la_LIBTOOLFLAGS = --tag=disable-static 23module_la_LIBTOOLFLAGS = --tag=disable-static
25 24
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_bmp.la 27noinst_LTLIBRARIES = libevas_loader_bmp.la
29libevas_loader_bmp_la_SOURCES = evas_image_load_bmp.c 28libevas_loader_bmp_la_SOURCES = evas_image_load_bmp.c
30libevas_loader_bmp_la_LIBADD = 29libevas_loader_bmp_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/bmp/Makefile.in b/libraries/evas/src/modules/loaders/bmp/Makefile.in
index 943fb74..40600cc 100644
--- a/libraries/evas/src/modules/loaders/bmp/Makefile.in
+++ b/libraries/evas/src/modules/loaders/bmp/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,13 +416,12 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/bmp/$(MODULE_ARCH) 421@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/bmp/$(MODULE_ARCH)
423@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_SOURCES = evas_image_load_bmp.c 423@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_SOURCES = evas_image_load_bmp.c
425@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ $(top_builddir)/src/lib/libevas.la 424@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBADD = @EINA_LIBS@ @EVIL_LIBS@ -lm $(top_builddir)/src/lib/libevas.la
426@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version 425@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
427@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static 426@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_FALSE@module_la_LIBTOOLFLAGS = --tag=disable-static
428@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_TRUE@noinst_LTLIBRARIES = libevas_loader_bmp.la 427@BUILD_LOADER_BMP_TRUE@@EVAS_STATIC_BUILD_BMP_TRUE@noinst_LTLIBRARIES = libevas_loader_bmp.la
diff --git a/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c b/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
index 6d15783..9453ceb 100644
--- a/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
+++ b/libraries/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
@@ -107,12 +107,8 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
107 void *map = NULL; 107 void *map = NULL;
108 size_t position = 0; 108 size_t position = 0;
109 char hasa = 0; 109 char hasa = 0;
110 int w = 0, h = 0, planes = 0, bit_count = 0, 110 int w = 0, h = 0, bit_count = 0, image_size = 0, comp = 0;
111 image_size = 0, comp = 0, hdpi = 0, vdpi = 0, 111 unsigned int offset, head_size, amask = 0;
112 palette_size = -1, important_colors = 0;
113 unsigned int offset, head_size, rmask = 0, gmask = 0, bmask = 0, amask = 0;
114 unsigned int pal_num = 0;
115 int right_way_up = 0;
116 int fsize = 0; 112 int fsize = 0;
117 unsigned int bmpsize; 113 unsigned int bmpsize;
118 unsigned short res1, res2; 114 unsigned short res1, res2;
@@ -148,7 +144,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
148 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 144 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
149 h = tmp; // height 145 h = tmp; // height
150 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 146 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
151 planes = tmp; // must be 1 147 //planes = tmp; // must be 1
152 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 148 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
153 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24 149 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24
154 } 150 }
@@ -162,7 +158,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
162 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 158 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
163 h = tmp2; // height 159 h = tmp2; // height
164 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 160 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
165 planes = tmp; // must be 1 161 //planes = tmp; // must be 1
166 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 162 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
167 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 163 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
168 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 164 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -170,13 +166,13 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
170 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 166 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
171 image_size = tmp2; // bitmap data size 167 image_size = tmp2; // bitmap data size
172 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 168 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
173 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 169 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
174 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 170 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
175 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 171 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
176 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 172 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
177 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 173 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
178 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 174 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
179 important_colors = tmp2; // number of important colors - 0 if all 175 //important_colors = tmp2; // number of important colors - 0 if all
180 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header 176 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header
181 if (image_size == 0) image_size = fsize - offset; 177 if (image_size == 0) image_size = fsize - offset;
182 } 178 }
@@ -190,7 +186,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
190 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 186 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
191 h = tmp2; // height 187 h = tmp2; // height
192 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 188 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
193 planes = tmp; // must be 1 189 //planes = tmp; // must be 1
194 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 190 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
195 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 191 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
196 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 192 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -198,13 +194,13 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
198 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 194 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
199 image_size = tmp2; // bitmap data size 195 image_size = tmp2; // bitmap data size
200 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 196 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
201 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 197 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
202 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 198 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
203 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 199 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
204 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 200 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
205 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 201 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
206 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 202 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
207 important_colors = tmp2; // number of important colors - 0 if all 203 //important_colors = tmp2; // number of important colors - 0 if all
208 if (image_size == 0) image_size = fsize - offset; 204 if (image_size == 0) image_size = fsize - offset;
209 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way 205 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way
210 } 206 }
@@ -218,7 +214,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
218 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 214 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
219 h = tmp2; // height 215 h = tmp2; // height
220 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 216 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
221 planes = tmp; // must be 1 217 //planes = tmp; // must be 1
222 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 218 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
223 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 219 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
224 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 220 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -226,19 +222,19 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
226 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 222 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
227 image_size = tmp2; // bitmap data size 223 image_size = tmp2; // bitmap data size
228 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 224 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
229 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 225 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
230 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 226 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
231 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 227 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
232 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 228 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
233 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 229 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
234 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 230 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
235 important_colors = tmp2; // number of important colors - 0 if all 231 //important_colors = tmp2; // number of important colors - 0 if all
236 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 232 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
237 rmask = tmp2; // red mask 233 //rmask = tmp2; // red mask
238 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 234 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
239 gmask = tmp2; // green mask 235 //gmask = tmp2; // green mask
240 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 236 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
241 bmask = tmp2; // blue mask 237 //bmask = tmp2; // blue mask
242 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 238 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
243 amask = tmp2; // alpha mask 239 amask = tmp2; // alpha mask
244 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie 240 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie
@@ -256,27 +252,27 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
256 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 252 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
257 h = tmp2; // height 253 h = tmp2; // height
258 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 254 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
259 planes = tmp; // must be 1 255 //planes = tmp; // must be 1
260 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 256 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
261 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 257 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
262 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 258 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
263 comp = tmp2; // compression method 259 comp = tmp2; // compression method
264 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 260 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
265 image_size = tmp2; // bitmap data size 261 //image_size = tmp2; // bitmap data size
266 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 262 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
267 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 263 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
268 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 264 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
269 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 265 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
270 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 266 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
271 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 267 //palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
272 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 268 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
273 important_colors = tmp2; // number of important colors - 0 if all 269 //important_colors = tmp2; // number of important colors - 0 if all
274 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 270 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
275 rmask = tmp2; // red mask 271 //rmask = tmp2; // red mask
276 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 272 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
277 gmask = tmp2; // green mask 273 //gmask = tmp2; // green mask
278 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 274 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
279 bmask = tmp2; // blue mask 275 //bmask = tmp2; // blue mask
280 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 276 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
281 amask = tmp2; // alpha mask 277 amask = tmp2; // alpha mask
282 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie 278 if (!read_skip(fsize, &position, 36)) goto close_file; // skip unused cie
@@ -291,7 +287,7 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
291 if (h < 0) 287 if (h < 0)
292 { 288 {
293 h = -h; 289 h = -h;
294 right_way_up = 1; 290 //right_way_up = 1;
295 } 291 }
296 292
297 if ((w < 1) || (h < 1) || (w > IMG_MAX_SIZE) || (h > IMG_MAX_SIZE) || 293 if ((w < 1) || (h < 1) || (w > IMG_MAX_SIZE) || (h > IMG_MAX_SIZE) ||
@@ -313,8 +309,8 @@ evas_image_load_file_head_bmp(Image_Entry *ie, const char *file, const char *key
313 309
314 if (bit_count < 16) 310 if (bit_count < 16)
315 { 311 {
316 if ((palette_size < 0) || (palette_size > 256)) pal_num = 256; 312 //if ((palette_size < 0) || (palette_size > 256)) pal_num = 256;
317 else pal_num = palette_size; 313 //else pal_num = palette_size;
318 if (bit_count == 1) 314 if (bit_count == 1)
319 { 315 {
320 if (comp == 0) // no compression 316 if (comp == 0) // no compression
@@ -389,8 +385,8 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
389 size_t position = 0; 385 size_t position = 0;
390 unsigned char *buffer = NULL, *buffer_end = NULL, *p; 386 unsigned char *buffer = NULL, *buffer_end = NULL, *p;
391 char hasa = 0; 387 char hasa = 0;
392 int x = 0, y = 0, w = 0, h = 0, planes = 0, bit_count = 0, image_size = 0, 388 int x = 0, y = 0, w = 0, h = 0, bit_count = 0, image_size = 0,
393 comp = 0, hdpi = 0, vdpi = 0, palette_size = -1, important_colors = 0; 389 comp = 0, palette_size = -1;
394 unsigned int offset = 0, head_size = 0; 390 unsigned int offset = 0, head_size = 0;
395 unsigned int *pal = NULL, pal_num = 0, *pix = NULL, *surface = NULL, fix, 391 unsigned int *pal = NULL, pal_num = 0, *pix = NULL, *surface = NULL, fix,
396 rmask = 0, gmask = 0, bmask = 0, amask = 0; 392 rmask = 0, gmask = 0, bmask = 0, amask = 0;
@@ -440,7 +436,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
440 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 436 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
441 h = tmp; // height 437 h = tmp; // height
442 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 438 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
443 planes = tmp; // must be 1 439 //planes = tmp; // must be 1
444 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 440 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
445 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24 441 bit_count = tmp; // bits per pixel: 1, 4, 8 & 24
446 } 442 }
@@ -454,7 +450,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
454 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 450 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
455 h = tmp2; // height 451 h = tmp2; // height
456 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 452 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
457 planes = tmp; // must be 1 453 //planes = tmp; // must be 1
458 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 454 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
459 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 455 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
460 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 456 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -462,13 +458,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
462 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 458 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
463 image_size = tmp2; // bitmap data size 459 image_size = tmp2; // bitmap data size
464 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 460 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
465 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 461 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
466 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 462 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
467 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 463 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
468 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 464 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
469 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 465 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
470 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 466 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
471 important_colors = tmp2; // number of important colors - 0 if all 467 //important_colors = tmp2; // number of important colors - 0 if all
472 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header 468 if (!read_skip(fsize, &position, 24)) goto close_file; // skip unused header
473 if (image_size == 0) image_size = fsize - offset; 469 if (image_size == 0) image_size = fsize - offset;
474 } 470 }
@@ -482,7 +478,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
482 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 478 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
483 h = tmp2; // height 479 h = tmp2; // height
484 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 480 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
485 planes = tmp; // must be 1 481 //planes = tmp; // must be 1
486 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 482 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
487 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 483 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
488 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 484 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -490,13 +486,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
490 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 486 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
491 image_size = tmp2; // bitmap data size 487 image_size = tmp2; // bitmap data size
492 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 488 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
493 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 489 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
494 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 490 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
495 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 491 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
496 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 492 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
497 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 493 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
498 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 494 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
499 important_colors = tmp2; // number of important colors - 0 if all 495 //important_colors = tmp2; // number of important colors - 0 if all
500 if (image_size == 0) image_size = fsize - offset; 496 if (image_size == 0) image_size = fsize - offset;
501 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way 497 if ((comp == 0) && (bit_count == 32)) hasa = 1; // GIMP seems to store it this way
502 } 498 }
@@ -510,7 +506,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
510 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 506 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
511 h = tmp2; // height 507 h = tmp2; // height
512 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 508 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
513 planes = tmp; // must be 1 509 //planes = tmp; // must be 1
514 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 510 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
515 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 511 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
516 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 512 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -518,13 +514,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
518 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 514 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
519 image_size = tmp2; // bitmap data size 515 image_size = tmp2; // bitmap data size
520 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 516 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
521 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 517 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
522 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 518 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
523 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 519 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
524 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 520 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
525 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 521 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
526 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 522 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
527 important_colors = tmp2; // number of important colors - 0 if all 523 //important_colors = tmp2; // number of important colors - 0 if all
528 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 524 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
529 rmask = tmp2; // red mask 525 rmask = tmp2; // red mask
530 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 526 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -548,7 +544,7 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
548 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 544 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
549 h = tmp2; // height 545 h = tmp2; // height
550 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 546 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
551 planes = tmp; // must be 1 547 //planes = tmp; // must be 1
552 if (!read_short(map, fsize, &position, &tmp)) goto close_file; 548 if (!read_short(map, fsize, &position, &tmp)) goto close_file;
553 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32 549 bit_count = tmp; // bits per pixel: 1, 4, 8, 16, 24 & 32
554 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 550 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
@@ -556,13 +552,13 @@ evas_image_load_file_data_bmp(Image_Entry *ie, const char *file, const char *key
556 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 552 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
557 image_size = tmp2; // bitmap data size 553 image_size = tmp2; // bitmap data size
558 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 554 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
559 hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter 555 //hdpi = (tmp2 * 254) / 10000; // horizontal pixels/meter
560 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 556 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
561 vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter 557 //vdpi = (tmp2 * 254) / 10000; // vertical pixles/meter
562 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 558 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
563 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8) 559 palette_size = tmp2; // number of palette colors power (2^n - so 0 - 8)
564 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 560 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
565 important_colors = tmp2; // number of important colors - 0 if all 561 //important_colors = tmp2; // number of important colors - 0 if all
566 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 562 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
567 rmask = tmp2; // red mask 563 rmask = tmp2; // red mask
568 if (!read_int(map, fsize, &position, &tmp2)) goto close_file; 564 if (!read_int(map, fsize, &position, &tmp2)) goto close_file;
diff --git a/libraries/evas/src/modules/loaders/edb/Makefile.in b/libraries/evas/src/modules/loaders/edb/Makefile.in
index 87356b4..19f906f 100644
--- a/libraries/evas/src/modules/loaders/edb/Makefile.in
+++ b/libraries/evas/src/modules/loaders/edb/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/loaders/eet/Makefile.am b/libraries/evas/src/modules/loaders/eet/Makefile.am
index c96a8d3..44270e5 100644
--- a/libraries/evas/src/modules/loaders/eet/Makefile.am
+++ b/libraries/evas/src/modules/loaders/eet/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@evas_image_loader_eet_cflags@ \ 10@evas_image_loader_eet_cflags@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15 13
16if BUILD_LOADER_EET 14if BUILD_LOADER_EET
17if !EVAS_STATIC_BUILD_EET 15if !EVAS_STATIC_BUILD_EET
diff --git a/libraries/evas/src/modules/loaders/eet/Makefile.in b/libraries/evas/src/modules/loaders/eet/Makefile.in
index 25a30cf..b144d3a 100644
--- a/libraries/evas/src/modules/loaders/eet/Makefile.in
+++ b/libraries/evas/src/modules/loaders/eet/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@evas_image_loader_eet_cflags@ \ 418@evas_image_loader_eet_cflags@ \
419@EINA_CFLAGS@ 419@EINA_CFLAGS@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH) 421@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH)
423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_load_eet.c 423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_load_eet.c
diff --git a/libraries/evas/src/modules/loaders/generic/Makefile.am b/libraries/evas/src/modules/loaders/generic/Makefile.am
index a9e522e..1f72bfc 100644
--- a/libraries/evas/src/modules/loaders/generic/Makefile.am
+++ b/libraries/evas/src/modules/loaders/generic/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@evas_image_loader_generic_cflags@ \ 10@evas_image_loader_generic_cflags@ \
11@EINA_CFLAGS@ \ 11@EINA_CFLAGS@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17 14
18if BUILD_LOADER_GENERIC 15if BUILD_LOADER_GENERIC
diff --git a/libraries/evas/src/modules/loaders/generic/Makefile.in b/libraries/evas/src/modules/loaders/generic/Makefile.in
index dfd5294..98bb45b 100644
--- a/libraries/evas/src/modules/loaders/generic/Makefile.in
+++ b/libraries/evas/src/modules/loaders/generic/Makefile.in
@@ -182,6 +182,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
182EVIL_CFLAGS = @EVIL_CFLAGS@ 182EVIL_CFLAGS = @EVIL_CFLAGS@
183EVIL_LIBS = @EVIL_LIBS@ 183EVIL_LIBS = @EVIL_LIBS@
184EXEEXT = @EXEEXT@ 184EXEEXT = @EXEEXT@
185EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
186EXOTIC_LIBS = @EXOTIC_LIBS@
185FGREP = @FGREP@ 187FGREP = @FGREP@
186FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 188FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
187FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 189FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -232,6 +234,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
232PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 234PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
233PIXMAN_LIBS = @PIXMAN_LIBS@ 235PIXMAN_LIBS = @PIXMAN_LIBS@
234PKG_CONFIG = @PKG_CONFIG@ 236PKG_CONFIG = @PKG_CONFIG@
237PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
238PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
235PNG_CFLAGS = @PNG_CFLAGS@ 239PNG_CFLAGS = @PNG_CFLAGS@
236PNG_LIBS = @PNG_LIBS@ 240PNG_LIBS = @PNG_LIBS@
237RANLIB = @RANLIB@ 241RANLIB = @RANLIB@
@@ -250,8 +254,6 @@ VERSION = @VERSION@
250VMAJ = @VMAJ@ 254VMAJ = @VMAJ@
251WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 255WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
252WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 256WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
253WIN32_CFLAGS = @WIN32_CFLAGS@
254WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
255XCB_CFLAGS = @XCB_CFLAGS@ 257XCB_CFLAGS = @XCB_CFLAGS@
256XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 258XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
257XCB_GL_LIBS = @XCB_GL_LIBS@ 259XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -325,8 +327,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
325evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 327evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
326evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 328evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
327evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 329evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
328evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
329evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
330evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 330evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
331evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 331evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
332evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 332evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,10 +418,8 @@ AM_CPPFLAGS = \
418@PIXMAN_CFLAGS@ \ 418@PIXMAN_CFLAGS@ \
419@evas_image_loader_generic_cflags@ \ 419@evas_image_loader_generic_cflags@ \
420@EINA_CFLAGS@ \ 420@EINA_CFLAGS@ \
421@EVIL_CFLAGS@ \ 421@EVIL_CFLAGS@
422@WIN32_CPPFLAGS@
423 422
424AM_CFLAGS = @WIN32_CFLAGS@
425@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/loaders/generic/$(MODULE_ARCH) 423@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkgdir = $(libdir)/evas/modules/loaders/generic/$(MODULE_ARCH)
426@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkg_LTLIBRARIES = module.la 424@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@pkg_LTLIBRARIES = module.la
427@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@module_la_SOURCES = evas_image_load_generic.c 425@BUILD_LOADER_GENERIC_TRUE@@EVAS_STATIC_BUILD_GENERIC_FALSE@module_la_SOURCES = evas_image_load_generic.c
diff --git a/libraries/evas/src/modules/loaders/gif/Makefile.am b/libraries/evas/src/modules/loaders/gif/Makefile.am
index 9234370..3ae57a0 100644
--- a/libraries/evas/src/modules/loaders/gif/Makefile.am
+++ b/libraries/evas/src/modules/loaders/gif/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@evas_image_loader_gif_cflags@ \ 10@evas_image_loader_gif_cflags@ \
11@EINA_CFLAGS@ 11@EINA_CFLAGS@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_GIF 13if BUILD_LOADER_GIF
16if !EVAS_STATIC_BUILD_GIF 14if !EVAS_STATIC_BUILD_GIF
17 15
diff --git a/libraries/evas/src/modules/loaders/gif/Makefile.in b/libraries/evas/src/modules/loaders/gif/Makefile.in
index f32fcf4..a7fae36 100644
--- a/libraries/evas/src/modules/loaders/gif/Makefile.in
+++ b/libraries/evas/src/modules/loaders/gif/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@evas_image_loader_gif_cflags@ \ 418@evas_image_loader_gif_cflags@ \
419@EINA_CFLAGS@ 419@EINA_CFLAGS@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/gif/$(MODULE_ARCH) 421@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/gif/$(MODULE_ARCH)
423@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@module_la_SOURCES = evas_image_load_gif.c 423@BUILD_LOADER_GIF_TRUE@@EVAS_STATIC_BUILD_GIF_FALSE@module_la_SOURCES = evas_image_load_gif.c
diff --git a/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c b/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c
index 9cd6f6e..dbb3584 100644
--- a/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c
+++ b/libraries/evas/src/modules/loaders/gif/evas_image_load_gif.c
@@ -483,10 +483,17 @@ _evas_image_load_frame_image_data(Image_Entry *ie, GifFileType *gif, Image_Entry
483 } 483 }
484 else 484 else
485 { 485 {
486 r = cmap->Colors[rows[i1][j1]].Red; 486 if (rows[i1][j1] == alpha)
487 g = cmap->Colors[rows[i1][j1]].Green; 487 {
488 b = cmap->Colors[rows[i1][j1]].Blue; 488 ptr++ ;
489 *ptr++ = ARGB_JOIN(0xff, r, g, b); 489 }
490 else
491 {
492 r = cmap->Colors[rows[i1][j1]].Red;
493 g = cmap->Colors[rows[i1][j1]].Green;
494 b = cmap->Colors[rows[i1][j1]].Blue;
495 *ptr++ = ARGB_JOIN(0xff, r, g, b);
496 }
490 } 497 }
491 } 498 }
492 } 499 }
diff --git a/libraries/evas/src/modules/loaders/ico/Makefile.am b/libraries/evas/src/modules/loaders/ico/Makefile.am
index 044dd0d..5f9b313 100644
--- a/libraries/evas/src/modules/loaders/ico/Makefile.am
+++ b/libraries/evas/src/modules/loaders/ico/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_ICO 13if BUILD_LOADER_ICO
15if !EVAS_STATIC_BUILD_ICO 14if !EVAS_STATIC_BUILD_ICO
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_ico.la 27noinst_LTLIBRARIES = libevas_loader_ico.la
29libevas_loader_ico_la_SOURCES = evas_image_load_ico.c 28libevas_loader_ico_la_SOURCES = evas_image_load_ico.c
30libevas_loader_ico_la_LIBADD = 29libevas_loader_ico_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/ico/Makefile.in b/libraries/evas/src/modules/loaders/ico/Makefile.in
index f65ace0..2c9c95f 100644
--- a/libraries/evas/src/modules/loaders/ico/Makefile.in
+++ b/libraries/evas/src/modules/loaders/ico/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkgdir = $(libdir)/evas/modules/loaders/ico/$(MODULE_ARCH) 421@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkgdir = $(libdir)/evas/modules/loaders/ico/$(MODULE_ARCH)
423@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_ICO_TRUE@@EVAS_STATIC_BUILD_ICO_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c b/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c
index 6e31191..4239407 100644
--- a/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c
+++ b/libraries/evas/src/modules/loaders/ico/evas_image_load_ico.c
@@ -88,7 +88,7 @@ evas_image_load_file_head_ico(Image_Entry *ie, const char *file, const char *key
88 unsigned short word; 88 unsigned short word;
89 unsigned char byte; 89 unsigned char byte;
90 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0, 90 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0,
91 hot_x = 0, hot_y = 0, bpp = 0, pdelta, search = -1, have_choice = 0, 91 bpp = 0, pdelta, search = -1, have_choice = 0,
92 hasa = 1; 92 hasa = 1;
93 unsigned int bmoffset, bmsize, fsize; 93 unsigned int bmoffset, bmsize, fsize;
94 unsigned short reserved, type, count; 94 unsigned short reserved, type, count;
@@ -182,10 +182,10 @@ evas_image_load_file_head_ico(Image_Entry *ie, const char *file, const char *key
182 if (!read_uchar(map, fsize, &position, &byte)) goto close_file; 182 if (!read_uchar(map, fsize, &position, &byte)) goto close_file;
183 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 183 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
184 if (type == CURSOR) planes = word; 184 if (type == CURSOR) planes = word;
185 else hot_x = word; 185 //else hot_x = word;
186 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 186 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
187 if (type == CURSOR) bpp = word; 187 if (type == CURSOR) bpp = word;
188 else hot_y = word; 188 //else hot_y = word;
189 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file; 189 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file;
190 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file; 190 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file;
191 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file; 191 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file;
@@ -315,11 +315,11 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
315 unsigned char byte; 315 unsigned char byte;
316 unsigned int dword; 316 unsigned int dword;
317 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0, 317 int wanted_w = 0, wanted_h = 0, w, h, cols, i, planes = 0,
318 hot_x = 0, hot_y = 0, bpp = 0, pdelta, search = -1, have_choice = 0, 318 bpp = 0, pdelta, search = -1, have_choice = 0,
319 stride, pstride, j, right_way_up = 0, diff_size = 0, cols2; 319 stride, pstride, j, right_way_up = 0, diff_size = 0, cols2;
320 unsigned int bmoffset, bmsize, bitcount, compression, imagesize, fsize, 320 unsigned int bmoffset, bmsize, bitcount, fsize,
321 colorsused, colorsimportant, *pal, *surface, *pix, none_zero_alpha = 0; 321 *pal, *surface, *pix, none_zero_alpha = 0;
322 unsigned short reserved, type, count, planes2; 322 unsigned short reserved, type, count;
323 unsigned char *maskbuf, *pixbuf, *p; 323 unsigned char *maskbuf, *pixbuf, *p;
324 struct { 324 struct {
325 int pdelta; 325 int pdelta;
@@ -411,10 +411,10 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
411 if (!read_uchar(map, fsize, &position, &byte)) goto close_file; 411 if (!read_uchar(map, fsize, &position, &byte)) goto close_file;
412 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 412 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
413 if (type == 1) planes = word; 413 if (type == 1) planes = word;
414 else hot_x = word; 414 //else hot_x = word;
415 if (!read_ushort(map, fsize, &position, &word)) goto close_file; 415 if (!read_ushort(map, fsize, &position, &word)) goto close_file;
416 if (type == 1) bpp = word; 416 if (type == 1) bpp = word;
417 else hot_y = word; 417 //else hot_y = word;
418 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file; 418 if (!read_uint(map, fsize, &position, &bmsize)) goto close_file;
419 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file; 419 if (!read_uint(map, fsize, &position, &bmoffset)) goto close_file;
420 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file; 420 if ((bmsize <= 0) || (bmoffset <= 0) || (bmoffset >= fsize)) goto close_file;
@@ -540,19 +540,19 @@ evas_image_load_file_data_ico(Image_Entry *ie, const char *file, const char *key
540 file, ie->w, ie->h, w, h); 540 file, ie->w, ie->h, w, h);
541 } 541 }
542 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // planes 542 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // planes
543 planes2 = word; 543 //planes2 = word;
544 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // bitcount 544 if (!read_ushort(map, fsize, &position, &word)) goto close_file; // bitcount
545 bitcount = word; 545 bitcount = word;
546 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // compression 546 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // compression
547 compression = dword; 547 //compression = dword;
548 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // imagesize 548 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // imagesize
549 imagesize = dword; 549 //imagesize = dword;
550 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // z pixels per m 550 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // z pixels per m
551 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // y pizels per m 551 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // y pizels per m
552 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors used 552 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors used
553 colorsused = dword; 553 //colorsused = dword;
554 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors important 554 if (!read_uint(map, fsize, &position, &dword)) goto close_file; // colors important
555 colorsimportant = dword; 555 //colorsimportant = dword;
556 556
557 evas_cache_image_surface_alloc(ie, ie->w, ie->h); 557 evas_cache_image_surface_alloc(ie, ie->w, ie->h);
558 surface = evas_cache_image_pixels(ie); 558 surface = evas_cache_image_pixels(ie);
diff --git a/libraries/evas/src/modules/loaders/jpeg/Makefile.am b/libraries/evas/src/modules/loaders/jpeg/Makefile.am
index 2088ba8..a7a19ab 100644
--- a/libraries/evas/src/modules/loaders/jpeg/Makefile.am
+++ b/libraries/evas/src/modules/loaders/jpeg/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_jpeg_cflags@ \ 11@evas_image_loader_jpeg_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_JPEG 14if BUILD_LOADER_JPEG
18if !EVAS_STATIC_BUILD_JPEG 15if !EVAS_STATIC_BUILD_JPEG
diff --git a/libraries/evas/src/modules/loaders/jpeg/Makefile.in b/libraries/evas/src/modules/loaders/jpeg/Makefile.in
index 7c0ca18..4945f85 100644
--- a/libraries/evas/src/modules/loaders/jpeg/Makefile.in
+++ b/libraries/evas/src/modules/loaders/jpeg/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_jpeg_cflags@ \ 419@evas_image_loader_jpeg_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH) 422@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH)
425@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_load_jpeg.c 424@BUILD_LOADER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_load_jpeg.c
diff --git a/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c b/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
index 797c76d..73a7310 100644
--- a/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
+++ b/libraries/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
@@ -272,7 +272,7 @@ evas_image_load_file_head_jpeg_internal(Image_Entry *ie,
272 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 272 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
273 return EINA_FALSE; 273 return EINA_FALSE;
274 } 274 }
275 jpeg_create_decompress(&cinfo); 275 jpeg_create_decompress(&cinfo);
276 276
277 if (_evas_jpeg_membuf_src(&cinfo, map, length)) 277 if (_evas_jpeg_membuf_src(&cinfo, map, length))
278 { 278 {
@@ -508,11 +508,11 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
508 unsigned int x, y, l, i, scans; 508 unsigned int x, y, l, i, scans;
509 int region = 0; 509 int region = 0;
510 /* rotation setting */ 510 /* rotation setting */
511 unsigned int tmp; 511 unsigned int ie_w = 0, ie_h = 0;
512 unsigned int load_region_x = 0, load_region_y = 0; 512 unsigned int load_region_x = 0, load_region_y = 0;
513 unsigned int load_region_w = 0, load_region_h = 0; 513 unsigned int load_region_w = 0, load_region_h = 0;
514 int degree = 0; 514 volatile int degree = 0;
515 Eina_Bool change_wh = EINA_FALSE; 515 volatile Eina_Bool change_wh = EINA_FALSE;
516 Eina_Bool line_done = EINA_FALSE; 516 Eina_Bool line_done = EINA_FALSE;
517 517
518 if (ie->flags.rotated) 518 if (ie->flags.rotated)
@@ -582,9 +582,13 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
582 582
583 if (change_wh) 583 if (change_wh)
584 { 584 {
585 tmp = ie->w; 585 ie_w = ie->h;
586 ie->w = ie->h; 586 ie_h = ie->w;
587 ie->h = tmp; 587 }
588 else
589 {
590 ie_w = ie->w;
591 ie_h = ie->h;
588 } 592 }
589 593
590 if ((ie->load_opts.region.w > 0) && (ie->load_opts.region.h > 0)) 594 if ((ie->load_opts.region.w > 0) && (ie->load_opts.region.h > 0))
@@ -629,20 +633,31 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
629 cinfo.region_h = ie->load_opts.region.h; 633 cinfo.region_h = ie->load_opts.region.h;
630#endif 634#endif
631 } 635 }
632 if ((!region) && ((w != ie->w) || (h != ie->h))) 636 if ((!region) && ((w != ie_w) || (h != ie_h)))
633 { 637 {
634 // race condition, the file could have change from when we call header 638 // race condition, the file could have change from when we call header
635 // this test will not solve the problem with region code. 639 // this test will not solve the problem with region code.
636 jpeg_destroy_decompress(&cinfo); 640 jpeg_destroy_decompress(&cinfo);
637 _evas_jpeg_membuf_src_term(&cinfo); 641 _evas_jpeg_membuf_src_term(&cinfo);
638 *error = EVAS_LOAD_ERROR_GENERIC; 642 *error = EVAS_LOAD_ERROR_GENERIC;
639 return EINA_FALSE; 643 return EINA_FALSE;
640 } 644 }
641 if ((region) && 645 if ((region) &&
642 ((ie->w != ie->load_opts.region.w) || (ie->h != ie->load_opts.region.h))) 646 ((ie_w != ie->load_opts.region.w) || (ie_h != ie->load_opts.region.h)))
643 { 647 {
644 ie->w = ie->load_opts.region.w; 648 ie_w = ie->load_opts.region.w;
645 ie->h = ie->load_opts.region.h; 649 ie_h = ie->load_opts.region.h;
650 if (change_wh)
651 {
652 ie->w = ie_h;
653 ie->h = ie_w;
654 }
655 else
656 {
657 ie->w = ie_w;
658 ie->h = ie_h;
659 }
660
646 } 661 }
647 662
648 if (!(((cinfo.out_color_space == JCS_RGB) && 663 if (!(((cinfo.out_color_space == JCS_RGB) &&
@@ -971,31 +986,24 @@ done:
971 if (ie->flags.rotated) 986 if (ie->flags.rotated)
972 { 987 {
973 DATA32 *data1, *data2, *to, *from; 988 DATA32 *data1, *data2, *to, *from;
974 int x, y, w, h, hw; 989 int lx, ly, lw, lh, hw;
975
976 if (change_wh)
977 {
978 tmp = ie->w;
979 ie->w = ie->h;
980 ie->h = tmp;
981 }
982 990
983 w = ie->w; 991 lw = ie->w;
984 h = ie->h; 992 lh = ie->h;
985 hw =w * h; 993 hw =lw * lh;
986 994
987 data1 = evas_cache_image_pixels(ie); 995 data1 = evas_cache_image_pixels(ie);
988 996
989 if (degree == 180) 997 if (degree == 180)
990 { 998 {
991 DATA32 tmp; 999 DATA32 tmpd;
992 1000
993 data2 = data1 + (h * w) -1; 1001 data2 = data1 + (lh * lw) -1;
994 for (x = (w * h) / 2; --x >= 0;) 1002 for (lx = (lw * lh) / 2; --lx >= 0;)
995 { 1003 {
996 tmp = *data1; 1004 tmpd = *data1;
997 *data1 = *data2; 1005 *data1 = *data2;
998 *data2 = tmp; 1006 *data2 = tmpd;
999 data1++; 1007 data1++;
1000 data2--; 1008 data2--;
1001 } 1009 }
@@ -1008,26 +1016,26 @@ done:
1008 1016
1009 if (degree == 90) 1017 if (degree == 90)
1010 { 1018 {
1011 to = data1 + w - 1; 1019 to = data1 + lw - 1;
1012 hw = -hw - 1; 1020 hw = -hw - 1;
1013 } 1021 }
1014 else if (degree == 270) 1022 else if (degree == 270)
1015 { 1023 {
1016 to = data1 + hw - w; 1024 to = data1 + hw - lw;
1017 w = -w; 1025 lw = -lw;
1018 hw = hw + 1; 1026 hw = hw + 1;
1019 } 1027 }
1020 1028
1021 if (to) 1029 if (to)
1022 { 1030 {
1023 from = data2; 1031 from = data2;
1024 for (x = ie->w; --x >= 0;) 1032 for (lx = ie->w; --lx >= 0;)
1025 { 1033 {
1026 for (y =ie->h; --y >= 0;) 1034 for (ly =ie->h; --ly >= 0;)
1027 { 1035 {
1028 *to = *from; 1036 *to = *from;
1029 from++; 1037 from++;
1030 to += w; 1038 to += lw;
1031 } 1039 }
1032 to += hw; 1040 to += hw;
1033 } 1041 }
@@ -1046,6 +1054,7 @@ done:
1046 ie->load_opts.region.h = load_region_h; 1054 ie->load_opts.region.h = load_region_h;
1047 } 1055 }
1048 } 1056 }
1057
1049 if (line_done) 1058 if (line_done)
1050 { 1059 {
1051 jpeg_destroy_decompress(&cinfo); 1060 jpeg_destroy_decompress(&cinfo);
diff --git a/libraries/evas/src/modules/loaders/pmaps/Makefile.am b/libraries/evas/src/modules/loaders/pmaps/Makefile.am
index dc07a32..6fc3d6d 100644
--- a/libraries/evas/src/modules/loaders/pmaps/Makefile.am
+++ b/libraries/evas/src/modules/loaders/pmaps/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_pmaps_cflags@ \ 11@evas_image_loader_pmaps_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_PMAPS 14if BUILD_LOADER_PMAPS
18if !EVAS_STATIC_BUILD_PMAPS 15if !EVAS_STATIC_BUILD_PMAPS
diff --git a/libraries/evas/src/modules/loaders/pmaps/Makefile.in b/libraries/evas/src/modules/loaders/pmaps/Makefile.in
index 745e79b..c44904a 100644
--- a/libraries/evas/src/modules/loaders/pmaps/Makefile.in
+++ b/libraries/evas/src/modules/loaders/pmaps/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_pmaps_cflags@ \ 419@evas_image_loader_pmaps_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH) 422@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH)
425@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_SOURCES = evas_image_load_pmaps.c 424@BUILD_LOADER_PMAPS_TRUE@@EVAS_STATIC_BUILD_PMAPS_FALSE@module_la_SOURCES = evas_image_load_pmaps.c
diff --git a/libraries/evas/src/modules/loaders/png/Makefile.am b/libraries/evas/src/modules/loaders/png/Makefile.am
index f9387a5..884cdec 100644
--- a/libraries/evas/src/modules/loaders/png/Makefile.am
+++ b/libraries/evas/src/modules/loaders/png/Makefile.am
@@ -9,8 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_png_cflags@ \ 11@evas_image_loader_png_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14 13
15if BUILD_LOADER_PNG 14if BUILD_LOADER_PNG
16if !EVAS_STATIC_BUILD_PNG 15if !EVAS_STATIC_BUILD_PNG
diff --git a/libraries/evas/src/modules/loaders/png/Makefile.in b/libraries/evas/src/modules/loaders/png/Makefile.in
index 3bd4919..13352bc 100644
--- a/libraries/evas/src/modules/loaders/png/Makefile.in
+++ b/libraries/evas/src/modules/loaders/png/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,8 +417,7 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_png_cflags@ \ 419@evas_image_loader_png_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH) 422@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH)
424@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/psd/Makefile.am b/libraries/evas/src/modules/loaders/psd/Makefile.am
index 8b06348..a87e492 100644
--- a/libraries/evas/src/modules/loaders/psd/Makefile.am
+++ b/libraries/evas/src/modules/loaders/psd/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_PSD 13if BUILD_LOADER_PSD
15if !EVAS_STATIC_BUILD_PSD 14if !EVAS_STATIC_BUILD_PSD
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_psd.la 27noinst_LTLIBRARIES = libevas_loader_psd.la
29libevas_loader_psd_la_SOURCES = evas_image_load_psd.c 28libevas_loader_psd_la_SOURCES = evas_image_load_psd.c
30libevas_loader_psd_la_LIBADD = 29libevas_loader_psd_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/psd/Makefile.in b/libraries/evas/src/modules/loaders/psd/Makefile.in
index 3dc9c38..b1987c6 100644
--- a/libraries/evas/src/modules/loaders/psd/Makefile.in
+++ b/libraries/evas/src/modules/loaders/psd/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkgdir = $(libdir)/evas/modules/loaders/psd/$(MODULE_ARCH) 421@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkgdir = $(libdir)/evas/modules/loaders/psd/$(MODULE_ARCH)
423@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_PSD_TRUE@@EVAS_STATIC_BUILD_PSD_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c b/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c
index 27f5f24..4449db0 100644
--- a/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c
+++ b/libraries/evas/src/modules/loaders/psd/evas_image_load_psd.c
@@ -509,12 +509,10 @@ get_single_channel(Image_Entry *ie __UNUSED__,
509 Eina_Bool compressed) 509 Eina_Bool compressed)
510{ 510{
511 unsigned int i, bpc; 511 unsigned int i, bpc;
512 unsigned short *tmp;
513 char headbyte; 512 char headbyte;
514 int c; 513 int c;
515 int pixels_count; 514 int pixels_count;
516 515
517 tmp = (unsigned short*)buffer;
518 bpc = (head->depth / 8); 516 bpc = (head->depth / 8);
519 pixels_count = head->width * head->height; 517 pixels_count = head->width * head->height;
520 518
@@ -569,7 +567,6 @@ read_psd_grey(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
569{ 567{
570 unsigned int color_mode, resource_size, misc_info; 568 unsigned int color_mode, resource_size, misc_info;
571 unsigned short compressed; 569 unsigned short compressed;
572 unsigned int type;
573 void *surface = NULL; 570 void *surface = NULL;
574 571
575 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 572 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
@@ -602,10 +599,7 @@ read_psd_grey(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
602 switch (head->depth) 599 switch (head->depth)
603 { 600 {
604 case 8: 601 case 8:
605 type = 1;
606 break;
607 case 16: 602 case 16:
608 type = 2;
609 break; 603 break;
610 default: 604 default:
611 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 605 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
@@ -697,7 +691,6 @@ read_psd_rgb(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t
697{ 691{
698 unsigned int color_mode, resource_size, misc_info; 692 unsigned int color_mode, resource_size, misc_info;
699 unsigned short compressed; 693 unsigned short compressed;
700 unsigned int type;
701 void *surface; 694 void *surface;
702 695
703#define CHECK_RET(Call) \ 696#define CHECK_RET(Call) \
@@ -721,10 +714,7 @@ read_psd_rgb(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t
721 switch (head->depth) 714 switch (head->depth)
722 { 715 {
723 case 8: 716 case 8:
724 type = 1;
725 break;
726 case 16: 717 case 16:
727 type = 2;
728 break; 718 break;
729 default: 719 default:
730 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 720 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
@@ -758,7 +748,7 @@ read_psd_rgb(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t
758Eina_Bool 748Eina_Bool
759read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t length, size_t *position, int *error) 749read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_t length, size_t *position, int *error)
760{ 750{
761 unsigned int color_mode, resource_size, misc_info, size, i, j, data_size; 751 unsigned int color_mode, resource_size, misc_info, size, j, data_size;
762 unsigned short compressed; 752 unsigned short compressed;
763 unsigned int format, type; 753 unsigned int format, type;
764 unsigned char *kchannel = NULL; 754 unsigned char *kchannel = NULL;
@@ -841,7 +831,7 @@ read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
841 unsigned char *tmp = surface; 831 unsigned char *tmp = surface;
842 const unsigned char *limit = tmp + data_size; 832 const unsigned char *limit = tmp + data_size;
843 833
844 for (i = 0, j = 0; tmp < limit; tmp++, j++) 834 for (j = 0; tmp < limit; tmp++, j++)
845 { 835 {
846 int k; 836 int k;
847 837
@@ -857,7 +847,7 @@ read_psd_cmyk(Image_Entry *ie, PSD_Header *head, const unsigned char *map, size_
857 const unsigned char *limit = tmp + data_size; 847 const unsigned char *limit = tmp + data_size;
858 848
859 // The KChannel array really holds the alpha channel on this one. 849 // The KChannel array really holds the alpha channel on this one.
860 for (i = 0, j = 0; tmp < limit; tmp += 4, j++) 850 for (j = 0; tmp < limit; tmp += 4, j++)
861 { 851 {
862 tmp[0] = (tmp[0] * tmp[3]) >> 8; 852 tmp[0] = (tmp[0] * tmp[3]) >> 8;
863 tmp[1] = (tmp[1] * tmp[3]) >> 8; 853 tmp[1] = (tmp[1] * tmp[3]) >> 8;
diff --git a/libraries/evas/src/modules/loaders/svg/Makefile.am b/libraries/evas/src/modules/loaders/svg/Makefile.am
index 4b8d1b5..65820ce 100644
--- a/libraries/evas/src/modules/loaders/svg/Makefile.am
+++ b/libraries/evas/src/modules/loaders/svg/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_svg_cflags@ 11@evas_image_loader_svg_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_SVG 13if BUILD_LOADER_SVG
16if !EVAS_STATIC_BUILD_SVG 14if !EVAS_STATIC_BUILD_SVG
17 15
diff --git a/libraries/evas/src/modules/loaders/svg/Makefile.in b/libraries/evas/src/modules/loaders/svg/Makefile.in
index b742842..4d23de1 100644
--- a/libraries/evas/src/modules/loaders/svg/Makefile.in
+++ b/libraries/evas/src/modules/loaders/svg/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_svg_cflags@ 419@evas_image_loader_svg_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/svg/$(MODULE_ARCH) 421@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkgdir = $(libdir)/evas/modules/loaders/svg/$(MODULE_ARCH)
423@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@module_la_SOURCES = evas_image_load_svg.c 423@BUILD_LOADER_SVG_TRUE@@EVAS_STATIC_BUILD_SVG_FALSE@module_la_SOURCES = evas_image_load_svg.c
diff --git a/libraries/evas/src/modules/loaders/tga/Makefile.am b/libraries/evas/src/modules/loaders/tga/Makefile.am
index 4d9e240..7cd8fed 100644
--- a/libraries/evas/src/modules/loaders/tga/Makefile.am
+++ b/libraries/evas/src/modules/loaders/tga/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_TGA 13if BUILD_LOADER_TGA
15if !EVAS_STATIC_BUILD_TGA 14if !EVAS_STATIC_BUILD_TGA
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_tga.la 27noinst_LTLIBRARIES = libevas_loader_tga.la
29libevas_loader_tga_la_SOURCES = evas_image_load_tga.c 28libevas_loader_tga_la_SOURCES = evas_image_load_tga.c
30libevas_loader_tga_la_LIBADD = 29libevas_loader_tga_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/tga/Makefile.in b/libraries/evas/src/modules/loaders/tga/Makefile.in
index 4d822d1..d2a9271 100644
--- a/libraries/evas/src/modules/loaders/tga/Makefile.in
+++ b/libraries/evas/src/modules/loaders/tga/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tga/$(MODULE_ARCH) 421@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tga/$(MODULE_ARCH)
423@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_TGA_TRUE@@EVAS_STATIC_BUILD_TGA_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c b/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c
index 9b4073c..bab169b 100644
--- a/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c
+++ b/libraries/evas/src/modules/loaders/tga/evas_image_load_tga.c
@@ -76,10 +76,9 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
76 unsigned char *seg = NULL, *filedata; 76 unsigned char *seg = NULL, *filedata;
77 tga_header *header; 77 tga_header *header;
78 tga_footer *footer, tfooter; 78 tga_footer *footer, tfooter;
79 char hasa = 0, footer_present = 0, vinverted = 0; 79 char hasa = 0;
80 int w = 0, h = 0, bpp; 80 int w = 0, h = 0, bpp;
81 int x, y; 81 int x, y;
82 int abits;
83 82
84 f = eina_file_open(file, EINA_FALSE); 83 f = eina_file_open(file, EINA_FALSE);
85 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST; 84 *error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
@@ -98,7 +97,7 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
98 memcpy((unsigned char *)(&tfooter), 97 memcpy((unsigned char *)(&tfooter),
99 (unsigned char *)footer, 98 (unsigned char *)footer,
100 sizeof(tga_footer)); 99 sizeof(tga_footer));
101 printf("0\n"); 100 //printf("0\n");
102 if (!memcmp(tfooter.signature, TGA_SIGNATURE, sizeof(tfooter.signature))) 101 if (!memcmp(tfooter.signature, TGA_SIGNATURE, sizeof(tfooter.signature)))
103 { 102 {
104 if ((tfooter.dot == '.') && (tfooter.null == 0)) 103 if ((tfooter.dot == '.') && (tfooter.null == 0))
@@ -106,14 +105,12 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
106 // footer is there and matches. this is a tga file - any problems now 105 // footer is there and matches. this is a tga file - any problems now
107 // are a corrupt file 106 // are a corrupt file
108 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 107 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
109 footer_present = 1;
110 } 108 }
111 } 109 }
112// else goto close_file; 110// else goto close_file;
113 printf("1\n"); 111 //printf("1\n");
114 112
115 filedata = (unsigned char *)filedata + sizeof(tga_header); 113 filedata = (unsigned char *)filedata + sizeof(tga_header);
116 vinverted = !(header->descriptor & TGA_DESC_VERTICAL);
117 switch (header->imageType) 114 switch (header->imageType)
118 { 115 {
119 case TGA_TYPE_COLOR_RLE: 116 case TGA_TYPE_COLOR_RLE:
@@ -131,7 +128,6 @@ evas_image_load_file_head_tga(Image_Entry *ie, const char *file, const char *key
131 if (!((bpp == 32) || (bpp == 24) || (bpp == 16) || (bpp == 8))) 128 if (!((bpp == 32) || (bpp == 24) || (bpp == 16) || (bpp == 8)))
132 goto close_file; 129 goto close_file;
133 if ((bpp == 32) && (header->descriptor & TGA_DESC_ABITS)) hasa = 1; 130 if ((bpp == 32) && (header->descriptor & TGA_DESC_ABITS)) hasa = 1;
134 abits = header->descriptor & TGA_DESC_ABITS;
135 // don't handle colormapped images 131 // don't handle colormapped images
136 if ((header->colorMapType) != 0) 132 if ((header->colorMapType) != 0)
137 goto close_file; 133 goto close_file;
diff --git a/libraries/evas/src/modules/loaders/tiff/Makefile.am b/libraries/evas/src/modules/loaders/tiff/Makefile.am
index f617c5e..1a53686 100644
--- a/libraries/evas/src/modules/loaders/tiff/Makefile.am
+++ b/libraries/evas/src/modules/loaders/tiff/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_tiff_cflags@ \ 11@evas_image_loader_tiff_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_TIFF 14if BUILD_LOADER_TIFF
18if !EVAS_STATIC_BUILD_TIFF 15if !EVAS_STATIC_BUILD_TIFF
diff --git a/libraries/evas/src/modules/loaders/tiff/Makefile.in b/libraries/evas/src/modules/loaders/tiff/Makefile.in
index 2b102a1..5976b63 100644
--- a/libraries/evas/src/modules/loaders/tiff/Makefile.in
+++ b/libraries/evas/src/modules/loaders/tiff/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_tiff_cflags@ \ 419@evas_image_loader_tiff_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tiff/$(MODULE_ARCH) 422@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/loaders/tiff/$(MODULE_ARCH)
425@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_load_tiff.c 424@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_load_tiff.c
diff --git a/libraries/evas/src/modules/loaders/wbmp/Makefile.am b/libraries/evas/src/modules/loaders/wbmp/Makefile.am
index eed287a..61a4def 100644
--- a/libraries/evas/src/modules/loaders/wbmp/Makefile.am
+++ b/libraries/evas/src/modules/loaders/wbmp/Makefile.am
@@ -8,8 +8,7 @@ AM_CPPFLAGS = \
8@FREETYPE_CFLAGS@ \ 8@FREETYPE_CFLAGS@ \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@EVIL_CFLAGS@ \ 11@EVIL_CFLAGS@
12@WIN32_CPPFLAGS@
13 12
14if BUILD_LOADER_WBMP 13if BUILD_LOADER_WBMP
15if !EVAS_STATIC_BUILD_WBMP 14if !EVAS_STATIC_BUILD_WBMP
@@ -27,7 +26,7 @@ else
27 26
28noinst_LTLIBRARIES = libevas_loader_wbmp.la 27noinst_LTLIBRARIES = libevas_loader_wbmp.la
29libevas_loader_wbmp_la_SOURCES = evas_image_load_wbmp.c 28libevas_loader_wbmp_la_SOURCES = evas_image_load_wbmp.c
30libevas_loader_wbmp_la_LIBADD = 29libevas_loader_wbmp_la_LIBADD =
31 30
32endif 31endif
33endif 32endif
diff --git a/libraries/evas/src/modules/loaders/wbmp/Makefile.in b/libraries/evas/src/modules/loaders/wbmp/Makefile.in
index 5c01e1c..aba23a2 100644
--- a/libraries/evas/src/modules/loaders/wbmp/Makefile.in
+++ b/libraries/evas/src/modules/loaders/wbmp/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -416,8 +416,7 @@ AM_CPPFLAGS = \
416@FREETYPE_CFLAGS@ \ 416@FREETYPE_CFLAGS@ \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@EVIL_CFLAGS@ \ 419@EVIL_CFLAGS@
420@WIN32_CPPFLAGS@
421 420
422@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/wbmp/$(MODULE_ARCH) 421@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkgdir = $(libdir)/evas/modules/loaders/wbmp/$(MODULE_ARCH)
423@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_WBMP_TRUE@@EVAS_STATIC_BUILD_WBMP_FALSE@pkg_LTLIBRARIES = module.la
diff --git a/libraries/evas/src/modules/loaders/xpm/Makefile.am b/libraries/evas/src/modules/loaders/xpm/Makefile.am
index b8cb1fa..83c9970 100644
--- a/libraries/evas/src/modules/loaders/xpm/Makefile.am
+++ b/libraries/evas/src/modules/loaders/xpm/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_xpm_cflags@ \ 11@evas_image_loader_xpm_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_XPM 14if BUILD_LOADER_XPM
18if !EVAS_STATIC_BUILD_XPM 15if !EVAS_STATIC_BUILD_XPM
diff --git a/libraries/evas/src/modules/loaders/xpm/Makefile.in b/libraries/evas/src/modules/loaders/xpm/Makefile.in
index 6383d9e..cfce4ad 100644
--- a/libraries/evas/src/modules/loaders/xpm/Makefile.in
+++ b/libraries/evas/src/modules/loaders/xpm/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_xpm_cflags@ \ 419@evas_image_loader_xpm_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH) 422@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
425@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_SOURCES = evas_image_load_xpm.c 424@BUILD_LOADER_XPM_TRUE@@EVAS_STATIC_BUILD_XPM_FALSE@module_la_SOURCES = evas_image_load_xpm.c
diff --git a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
index c764f6d..f00f92d 100644
--- a/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
+++ b/libraries/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
@@ -153,7 +153,7 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UN
153 position = 0; 153 position = 0;
154 if (length < 9) 154 if (length < 9)
155 { 155 {
156 ERR("XPM ERROR: file size, %i, is to small", length); 156 ERR("XPM ERROR: file size, %zd, is to small", length);
157 eina_file_close(f); 157 eina_file_close(f);
158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE; 158 *error = EVAS_LOAD_ERROR_CORRUPT_FILE;
159 return EINA_FALSE; 159 return EINA_FALSE;
@@ -170,7 +170,6 @@ evas_image_load_file_xpm(Image_Entry *ie, const char *file, const char *key __UN
170 170
171 if (strncmp("/* XPM */", map, 9)) 171 if (strncmp("/* XPM */", map, 9))
172 { 172 {
173 ERR("XPM ERROR: header not found");
174 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 173 *error = EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
175 goto on_error; 174 goto on_error;
176 } 175 }
diff --git a/libraries/evas/src/modules/savers/Makefile.in b/libraries/evas/src/modules/savers/Makefile.in
index 28236d9..629961c 100644
--- a/libraries/evas/src/modules/savers/Makefile.in
+++ b/libraries/evas/src/modules/savers/Makefile.in
@@ -161,6 +161,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
161EVIL_CFLAGS = @EVIL_CFLAGS@ 161EVIL_CFLAGS = @EVIL_CFLAGS@
162EVIL_LIBS = @EVIL_LIBS@ 162EVIL_LIBS = @EVIL_LIBS@
163EXEEXT = @EXEEXT@ 163EXEEXT = @EXEEXT@
164EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
165EXOTIC_LIBS = @EXOTIC_LIBS@
164FGREP = @FGREP@ 166FGREP = @FGREP@
165FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 167FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
166FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 168FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -211,6 +213,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
211PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 213PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
212PIXMAN_LIBS = @PIXMAN_LIBS@ 214PIXMAN_LIBS = @PIXMAN_LIBS@
213PKG_CONFIG = @PKG_CONFIG@ 215PKG_CONFIG = @PKG_CONFIG@
216PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
217PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214PNG_CFLAGS = @PNG_CFLAGS@ 218PNG_CFLAGS = @PNG_CFLAGS@
215PNG_LIBS = @PNG_LIBS@ 219PNG_LIBS = @PNG_LIBS@
216RANLIB = @RANLIB@ 220RANLIB = @RANLIB@
@@ -229,8 +233,6 @@ VERSION = @VERSION@
229VMAJ = @VMAJ@ 233VMAJ = @VMAJ@
230WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 234WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
231WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 235WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
232WIN32_CFLAGS = @WIN32_CFLAGS@
233WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
234XCB_CFLAGS = @XCB_CFLAGS@ 236XCB_CFLAGS = @XCB_CFLAGS@
235XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 237XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
236XCB_GL_LIBS = @XCB_GL_LIBS@ 238XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -304,8 +306,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
304evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 306evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
305evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 307evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
306evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 308evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
307evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
308evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 309evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 310evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 311evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/savers/edb/Makefile.in b/libraries/evas/src/modules/savers/edb/Makefile.in
index 2ed29ec..7637c35 100644
--- a/libraries/evas/src/modules/savers/edb/Makefile.in
+++ b/libraries/evas/src/modules/savers/edb/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/modules/savers/eet/Makefile.am b/libraries/evas/src/modules/savers/eet/Makefile.am
index 1c7f71c..ffa5bb5 100644
--- a/libraries/evas/src/modules/savers/eet/Makefile.am
+++ b/libraries/evas/src/modules/savers/eet/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_eet_cflags@ 11@evas_image_loader_eet_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_EET 13if BUILD_LOADER_EET
16if !EVAS_STATIC_BUILD_EET 14if !EVAS_STATIC_BUILD_EET
17 15
diff --git a/libraries/evas/src/modules/savers/eet/Makefile.in b/libraries/evas/src/modules/savers/eet/Makefile.in
index 6564c18..70c76d1 100644
--- a/libraries/evas/src/modules/savers/eet/Makefile.in
+++ b/libraries/evas/src/modules/savers/eet/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_eet_cflags@ 419@evas_image_loader_eet_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/savers/eet/$(MODULE_ARCH) 421@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkgdir = $(libdir)/evas/modules/savers/eet/$(MODULE_ARCH)
423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_save_eet.c 423@BUILD_LOADER_EET_TRUE@@EVAS_STATIC_BUILD_EET_FALSE@module_la_SOURCES = evas_image_save_eet.c
diff --git a/libraries/evas/src/modules/savers/jpeg/Makefile.am b/libraries/evas/src/modules/savers/jpeg/Makefile.am
index 82a40ac..fee6cc3 100644
--- a/libraries/evas/src/modules/savers/jpeg/Makefile.am
+++ b/libraries/evas/src/modules/savers/jpeg/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS= \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_jpeg_cflags@ 11@evas_image_loader_jpeg_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_SAVER_JPEG 13if BUILD_SAVER_JPEG
16if !EVAS_STATIC_BUILD_JPEG 14if !EVAS_STATIC_BUILD_JPEG
17 15
diff --git a/libraries/evas/src/modules/savers/jpeg/Makefile.in b/libraries/evas/src/modules/savers/jpeg/Makefile.in
index e57c4f9..3e17f5b 100644
--- a/libraries/evas/src/modules/savers/jpeg/Makefile.in
+++ b/libraries/evas/src/modules/savers/jpeg/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_jpeg_cflags@ 419@evas_image_loader_jpeg_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/savers/jpeg/$(MODULE_ARCH) 421@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkgdir = $(libdir)/evas/modules/savers/jpeg/$(MODULE_ARCH)
423@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_save_jpeg.c 423@BUILD_SAVER_JPEG_TRUE@@EVAS_STATIC_BUILD_JPEG_FALSE@module_la_SOURCES = evas_image_save_jpeg.c
diff --git a/libraries/evas/src/modules/savers/png/Makefile.am b/libraries/evas/src/modules/savers/png/Makefile.am
index 1429f2e..84b3325 100644
--- a/libraries/evas/src/modules/savers/png/Makefile.am
+++ b/libraries/evas/src/modules/savers/png/Makefile.am
@@ -9,10 +9,7 @@ AM_CPPFLAGS = \
9@PIXMAN_CFLAGS@ \ 9@PIXMAN_CFLAGS@ \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_png_cflags@ \ 11@evas_image_loader_png_cflags@ \
12@EVIL_CFLAGS@ \ 12@EVIL_CFLAGS@
13@WIN32_CPPFLAGS@
14
15AM_CFLAGS = @WIN32_CFLAGS@
16 13
17if BUILD_LOADER_PNG 14if BUILD_LOADER_PNG
18if !EVAS_STATIC_BUILD_PNG 15if !EVAS_STATIC_BUILD_PNG
diff --git a/libraries/evas/src/modules/savers/png/Makefile.in b/libraries/evas/src/modules/savers/png/Makefile.in
index da04ff2..e6f26ca 100644
--- a/libraries/evas/src/modules/savers/png/Makefile.in
+++ b/libraries/evas/src/modules/savers/png/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -417,10 +417,8 @@ AM_CPPFLAGS = \
417@PIXMAN_CFLAGS@ \ 417@PIXMAN_CFLAGS@ \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_png_cflags@ \ 419@evas_image_loader_png_cflags@ \
420@EVIL_CFLAGS@ \ 420@EVIL_CFLAGS@
421@WIN32_CPPFLAGS@
422 421
423AM_CFLAGS = @WIN32_CFLAGS@
424@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/savers/png/$(MODULE_ARCH) 422@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkgdir = $(libdir)/evas/modules/savers/png/$(MODULE_ARCH)
425@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la 423@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@pkg_LTLIBRARIES = module.la
426@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@module_la_SOURCES = evas_image_save_png.c 424@BUILD_LOADER_PNG_TRUE@@EVAS_STATIC_BUILD_PNG_FALSE@module_la_SOURCES = evas_image_save_png.c
diff --git a/libraries/evas/src/modules/savers/tiff/Makefile.am b/libraries/evas/src/modules/savers/tiff/Makefile.am
index 6d58d26..b75064f 100644
--- a/libraries/evas/src/modules/savers/tiff/Makefile.am
+++ b/libraries/evas/src/modules/savers/tiff/Makefile.am
@@ -10,8 +10,6 @@ AM_CPPFLAGS = \
10@EINA_CFLAGS@ \ 10@EINA_CFLAGS@ \
11@evas_image_loader_tiff_cflags@ 11@evas_image_loader_tiff_cflags@
12 12
13AM_CFLAGS = @WIN32_CFLAGS@
14
15if BUILD_LOADER_TIFF 13if BUILD_LOADER_TIFF
16if !EVAS_STATIC_BUILD_TIFF 14if !EVAS_STATIC_BUILD_TIFF
17 15
diff --git a/libraries/evas/src/modules/savers/tiff/Makefile.in b/libraries/evas/src/modules/savers/tiff/Makefile.in
index 8f4411f..3272ba9 100644
--- a/libraries/evas/src/modules/savers/tiff/Makefile.in
+++ b/libraries/evas/src/modules/savers/tiff/Makefile.in
@@ -181,6 +181,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
181EVIL_CFLAGS = @EVIL_CFLAGS@ 181EVIL_CFLAGS = @EVIL_CFLAGS@
182EVIL_LIBS = @EVIL_LIBS@ 182EVIL_LIBS = @EVIL_LIBS@
183EXEEXT = @EXEEXT@ 183EXEEXT = @EXEEXT@
184EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
185EXOTIC_LIBS = @EXOTIC_LIBS@
184FGREP = @FGREP@ 186FGREP = @FGREP@
185FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 187FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
186FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 188FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -231,6 +233,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
231PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 233PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
232PIXMAN_LIBS = @PIXMAN_LIBS@ 234PIXMAN_LIBS = @PIXMAN_LIBS@
233PKG_CONFIG = @PKG_CONFIG@ 235PKG_CONFIG = @PKG_CONFIG@
236PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
237PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234PNG_CFLAGS = @PNG_CFLAGS@ 238PNG_CFLAGS = @PNG_CFLAGS@
235PNG_LIBS = @PNG_LIBS@ 239PNG_LIBS = @PNG_LIBS@
236RANLIB = @RANLIB@ 240RANLIB = @RANLIB@
@@ -249,8 +253,6 @@ VERSION = @VERSION@
249VMAJ = @VMAJ@ 253VMAJ = @VMAJ@
250WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 254WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
251WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 255WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
252WIN32_CFLAGS = @WIN32_CFLAGS@
253WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
254XCB_CFLAGS = @XCB_CFLAGS@ 256XCB_CFLAGS = @XCB_CFLAGS@
255XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 257XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
256XCB_GL_LIBS = @XCB_GL_LIBS@ 258XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -324,8 +326,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
324evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 326evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
325evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 327evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
326evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 328evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
327evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
328evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 329evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 330evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 331evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
@@ -418,7 +418,6 @@ AM_CPPFLAGS = \
418@EINA_CFLAGS@ \ 418@EINA_CFLAGS@ \
419@evas_image_loader_tiff_cflags@ 419@evas_image_loader_tiff_cflags@
420 420
421AM_CFLAGS = @WIN32_CFLAGS@
422@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/savers/tiff/$(MODULE_ARCH) 421@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkgdir = $(libdir)/evas/modules/savers/tiff/$(MODULE_ARCH)
423@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la 422@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@pkg_LTLIBRARIES = module.la
424@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_save_tiff.c 423@BUILD_LOADER_TIFF_TRUE@@EVAS_STATIC_BUILD_TIFF_FALSE@module_la_SOURCES = evas_image_save_tiff.c
diff --git a/libraries/evas/src/static_deps/Makefile.in b/libraries/evas/src/static_deps/Makefile.in
index 514e79c..dd23c0c 100644
--- a/libraries/evas/src/static_deps/Makefile.in
+++ b/libraries/evas/src/static_deps/Makefile.in
@@ -157,6 +157,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
157EVIL_CFLAGS = @EVIL_CFLAGS@ 157EVIL_CFLAGS = @EVIL_CFLAGS@
158EVIL_LIBS = @EVIL_LIBS@ 158EVIL_LIBS = @EVIL_LIBS@
159EXEEXT = @EXEEXT@ 159EXEEXT = @EXEEXT@
160EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
161EXOTIC_LIBS = @EXOTIC_LIBS@
160FGREP = @FGREP@ 162FGREP = @FGREP@
161FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 163FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
162FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 164FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -207,6 +209,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
207PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 209PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
208PIXMAN_LIBS = @PIXMAN_LIBS@ 210PIXMAN_LIBS = @PIXMAN_LIBS@
209PKG_CONFIG = @PKG_CONFIG@ 211PKG_CONFIG = @PKG_CONFIG@
212PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
213PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
210PNG_CFLAGS = @PNG_CFLAGS@ 214PNG_CFLAGS = @PNG_CFLAGS@
211PNG_LIBS = @PNG_LIBS@ 215PNG_LIBS = @PNG_LIBS@
212RANLIB = @RANLIB@ 216RANLIB = @RANLIB@
@@ -225,8 +229,6 @@ VERSION = @VERSION@
225VMAJ = @VMAJ@ 229VMAJ = @VMAJ@
226WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 230WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
227WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 231WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
228WIN32_CFLAGS = @WIN32_CFLAGS@
229WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
230XCB_CFLAGS = @XCB_CFLAGS@ 232XCB_CFLAGS = @XCB_CFLAGS@
231XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 233XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
232XCB_GL_LIBS = @XCB_GL_LIBS@ 234XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -300,8 +302,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
300evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 302evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
301evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 303evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
302evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 304evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
303evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
304evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
305evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 305evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
306evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 306evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
307evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 307evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/static_deps/liblinebreak/Makefile.in b/libraries/evas/src/static_deps/liblinebreak/Makefile.in
index 9d44327..b26a9eb 100644
--- a/libraries/evas/src/static_deps/liblinebreak/Makefile.in
+++ b/libraries/evas/src/static_deps/liblinebreak/Makefile.in
@@ -150,6 +150,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
150EVIL_CFLAGS = @EVIL_CFLAGS@ 150EVIL_CFLAGS = @EVIL_CFLAGS@
151EVIL_LIBS = @EVIL_LIBS@ 151EVIL_LIBS = @EVIL_LIBS@
152EXEEXT = @EXEEXT@ 152EXEEXT = @EXEEXT@
153EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
154EXOTIC_LIBS = @EXOTIC_LIBS@
153FGREP = @FGREP@ 155FGREP = @FGREP@
154FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 156FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
155FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 157FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -200,6 +202,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
200PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 202PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
201PIXMAN_LIBS = @PIXMAN_LIBS@ 203PIXMAN_LIBS = @PIXMAN_LIBS@
202PKG_CONFIG = @PKG_CONFIG@ 204PKG_CONFIG = @PKG_CONFIG@
205PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
206PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
203PNG_CFLAGS = @PNG_CFLAGS@ 207PNG_CFLAGS = @PNG_CFLAGS@
204PNG_LIBS = @PNG_LIBS@ 208PNG_LIBS = @PNG_LIBS@
205RANLIB = @RANLIB@ 209RANLIB = @RANLIB@
@@ -218,8 +222,6 @@ VERSION = @VERSION@
218VMAJ = @VMAJ@ 222VMAJ = @VMAJ@
219WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 223WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
220WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 224WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
221WIN32_CFLAGS = @WIN32_CFLAGS@
222WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
223XCB_CFLAGS = @XCB_CFLAGS@ 225XCB_CFLAGS = @XCB_CFLAGS@
224XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 226XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
225XCB_GL_LIBS = @XCB_GL_LIBS@ 227XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -293,8 +295,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
293evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 295evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
294evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 296evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
295evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 297evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
296evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
297evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 298evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 299evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 300evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/tests/Makefile.in b/libraries/evas/src/tests/Makefile.in
index 8790c33..f3c46d3 100644
--- a/libraries/evas/src/tests/Makefile.in
+++ b/libraries/evas/src/tests/Makefile.in
@@ -153,6 +153,8 @@ EVAS_SSE3_CFLAGS = @EVAS_SSE3_CFLAGS@
153EVIL_CFLAGS = @EVIL_CFLAGS@ 153EVIL_CFLAGS = @EVIL_CFLAGS@
154EVIL_LIBS = @EVIL_LIBS@ 154EVIL_LIBS = @EVIL_LIBS@
155EXEEXT = @EXEEXT@ 155EXEEXT = @EXEEXT@
156EXOTIC_CFLAGS = @EXOTIC_CFLAGS@
157EXOTIC_LIBS = @EXOTIC_LIBS@
156FGREP = @FGREP@ 158FGREP = @FGREP@
157FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ 159FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
158FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ 160FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@@ -203,6 +205,8 @@ PATH_SEPARATOR = @PATH_SEPARATOR@
203PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ 205PIXMAN_CFLAGS = @PIXMAN_CFLAGS@
204PIXMAN_LIBS = @PIXMAN_LIBS@ 206PIXMAN_LIBS = @PIXMAN_LIBS@
205PKG_CONFIG = @PKG_CONFIG@ 207PKG_CONFIG = @PKG_CONFIG@
208PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
209PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
206PNG_CFLAGS = @PNG_CFLAGS@ 210PNG_CFLAGS = @PNG_CFLAGS@
207PNG_LIBS = @PNG_LIBS@ 211PNG_LIBS = @PNG_LIBS@
208RANLIB = @RANLIB@ 212RANLIB = @RANLIB@
@@ -221,8 +225,6 @@ VERSION = @VERSION@
221VMAJ = @VMAJ@ 225VMAJ = @VMAJ@
222WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@ 226WAYLAND_EGL_CFLAGS = @WAYLAND_EGL_CFLAGS@
223WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@ 227WAYLAND_EGL_LIBS = @WAYLAND_EGL_LIBS@
224WIN32_CFLAGS = @WIN32_CFLAGS@
225WIN32_CPPFLAGS = @WIN32_CPPFLAGS@
226XCB_CFLAGS = @XCB_CFLAGS@ 228XCB_CFLAGS = @XCB_CFLAGS@
227XCB_GL_CFLAGS = @XCB_GL_CFLAGS@ 229XCB_GL_CFLAGS = @XCB_GL_CFLAGS@
228XCB_GL_LIBS = @XCB_GL_LIBS@ 230XCB_GL_LIBS = @XCB_GL_LIBS@
@@ -296,8 +298,6 @@ evas_engine_software_ddraw_cflags = @evas_engine_software_ddraw_cflags@
296evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@ 298evas_engine_software_ddraw_libs = @evas_engine_software_ddraw_libs@
297evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@ 299evas_engine_software_gdi_cflags = @evas_engine_software_gdi_cflags@
298evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@ 300evas_engine_software_gdi_libs = @evas_engine_software_gdi_libs@
299evas_engine_software_sdl_cflags = @evas_engine_software_sdl_cflags@
300evas_engine_software_sdl_libs = @evas_engine_software_sdl_libs@
301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@ 301evas_engine_software_xcb_cflags = @evas_engine_software_xcb_cflags@
302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@ 302evas_engine_software_xcb_libs = @evas_engine_software_xcb_libs@
303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@ 303evas_engine_software_xlib_cflags = @evas_engine_software_xlib_cflags@
diff --git a/libraries/evas/src/tests/evas_test_textblock.c b/libraries/evas/src/tests/evas_test_textblock.c
index cf6a78b..983a2fc 100644
--- a/libraries/evas/src/tests/evas_test_textblock.c
+++ b/libraries/evas/src/tests/evas_test_textblock.c
@@ -1283,6 +1283,15 @@ START_TEST(evas_textblock_various)
1283 evas_object_textblock_text_markup_set(tb, "a<ps/>a<ps/>a"); 1283 evas_object_textblock_text_markup_set(tb, "a<ps/>a<ps/>a");
1284 fail_if(!_evas_textblock_check_item_node_link(tb)); 1284 fail_if(!_evas_textblock_check_item_node_link(tb));
1285 1285
1286 /* These shouldn't crash (although the desired outcome is not yet defined) */
1287 evas_object_textblock_text_markup_set(tb, "&#xfffc;");
1288 evas_textblock_cursor_pos_set(cur, 0);
1289 evas_textblock_cursor_char_delete(cur);
1290
1291 evas_object_textblock_text_markup_set(tb, "\xEF\xBF\xBC");
1292 evas_textblock_cursor_pos_set(cur, 0);
1293 evas_textblock_cursor_char_delete(cur);
1294
1286 END_TB_TEST(); 1295 END_TB_TEST();
1287} 1296}
1288END_TEST 1297END_TEST
@@ -2090,6 +2099,29 @@ START_TEST(evas_textblock_size)
2090 fail_if((w != nw) || (h != nh)); 2099 fail_if((w != nw) || (h != nh));
2091 fail_if(w <= 0); 2100 fail_if(w <= 0);
2092 2101
2102 /* This time with margins. */
2103 {
2104 Evas_Textblock_Style *newst;
2105 Evas_Coord oldw, oldh, oldnw, oldnh;
2106
2107 evas_object_textblock_text_markup_set(tb, buf);
2108 evas_object_textblock_size_formatted_get(tb, &oldw, &oldh);
2109 evas_object_textblock_size_native_get(tb, &oldnw, &oldnh);
2110
2111
2112 newst = evas_textblock_style_new();
2113 fail_if(!newst);
2114 evas_textblock_style_set(newst,
2115 "DEFAULT='left_margin=4 right_margin=4'");
2116 evas_object_textblock_style_user_push(tb, newst);
2117
2118 evas_object_textblock_size_formatted_get(tb, &w, &h);
2119 evas_object_textblock_size_native_get(tb, &nw, &nh);
2120
2121 fail_if((w != oldw + 8) || (h != oldh) ||
2122 (nw != oldnw + 8) || (nh != oldnh));
2123 }
2124
2093 /* FIXME: There is a lot more to be done. */ 2125 /* FIXME: There is a lot more to be done. */
2094 END_TB_TEST(); 2126 END_TB_TEST();
2095} 2127}